@spoketech/hub-client 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -4
- package/dist/index.d.ts +217 -7
- package/dist/index.js +156 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -283,6 +283,7 @@ All routes below are relative to `/api/v1`. The promise client and the Effect cl
|
|
|
283
283
|
| Client method | Route | Request | Returns |
|
|
284
284
|
| --- | --- | --- | --- |
|
|
285
285
|
| `client.organizations.listOrganizations({ query })` | `GET /organizations` | optional `page`, `pageSize`, `name` | `PaginatedOrganizations` |
|
|
286
|
+
| `client.organizations.getOrganization({ params })` | `GET /organizations/:organizationId` | `params.organizationId` (`organizations:read`) | `Organization` |
|
|
286
287
|
| `client.organizations.createOrganization({ payload })` | `POST /organizations` | `CreateOrganizationInput` | `Organization` |
|
|
287
288
|
| `client.organizations.updateOrganization({ params, payload })` | `PATCH /organizations/:organizationId` | `params.organizationId`, `UpdateOrganizationInput` | `Organization` |
|
|
288
289
|
| `client.organizations.deleteOrganization({ params, payload })` | `DELETE /organizations/:organizationId` | `params.organizationId`, `DeletePayload` | `void` |
|
|
@@ -292,6 +293,7 @@ All routes below are relative to `/api/v1`. The promise client and the Effect cl
|
|
|
292
293
|
| Client method | Route | Request | Returns |
|
|
293
294
|
| --- | --- | --- | --- |
|
|
294
295
|
| `client.members.listOrganizationMembers({ params, query })` | `GET /organizations/:organizationId/members` | `params.organizationId`, optional paging and search `query` | `OrganizationMembersListResponse` |
|
|
296
|
+
| `client.members.getOrganizationMemberSummary({ params })` | `GET /organizations/:organizationId/members/summary` | `params.organizationId` (`members:read`) | `OrganizationMemberSummary` |
|
|
295
297
|
| `client.members.getOrganizationMember({ params, query })` | `GET /organizations/:organizationId/members/:memberId` | `params.organizationId`, `params.memberId`, optional `responseMode` | `MemberResponse` |
|
|
296
298
|
| `client.members.getOrganizationMemberByExternalSystemId({ params, query })` | `GET /organizations/:organizationId/members/by-external-system-id/:externalSystemMemberId` | `params.organizationId`, `params.externalSystemMemberId`, optional `responseMode` | One `MemberResponse`; 404 when missing |
|
|
297
299
|
| `client.members.listOrganizationMemberMembershipTypes({ params, query })` | `GET /organizations/:organizationId/members/membership-types` | `params.organizationId`, optional `page`, `pageSize` | `PaginatedOrganizationMemberMembershipTypes` |
|
|
@@ -315,9 +317,49 @@ All routes below are relative to `/api/v1`. The promise client and the Effect cl
|
|
|
315
317
|
| `client.memberSources.upsertOrganizationMemberSourceCsvMapping({ params, payload })` | `PUT /organizations/:organizationId/member-source/csv-mapping` | `params.organizationId`, `UpsertOrganizationMemberSourceCsvMappingInput` | `OrganizationMemberSourceCsvMapping` |
|
|
316
318
|
| `client.memberSources.createOrganizationInitialMembershipUpload({ params, payload })` | `POST /organizations/:organizationId/initial-membership-uploads` | `params.organizationId`, `{ fileName: "members.xlsx" }` | `CreateOrganizationInitialMembershipUploadResponse` |
|
|
317
319
|
| `client.memberSources.createOrganizationMemberSourceCsvUpload({ params, payload })` | `POST /organizations/:organizationId/member-source/csv-uploads` | `params.organizationId`, `CreateOrganizationMemberSourceCsvUploadInput` | `CreateOrganizationMemberSourceCsvUploadResponse` |
|
|
318
|
-
| `client.memberSources.listOrganizationMemberSyncRuns({ params, query })` | `GET /organizations/:organizationId/member-source/runs` | `params.organizationId`, optional `page`, `pageSize` | `PaginatedOrganizationMemberSyncRuns` |
|
|
319
|
-
| `client.memberSources.listOrganizationMemberSourceCommands({ params, query })` | `GET /organizations/:organizationId/member-source/commands` | `params.organizationId`, optional `page`, `pageSize` | `PaginatedOrganizationMemberSourceCommands` |
|
|
320
|
-
| `client.memberSources.triggerOrganizationMemberSync({ params, payload })` | `POST /organizations/:organizationId/member-source/sync` | `params.organizationId`, `TriggerOrganizationMemberSyncInput` | `OrganizationMemberSyncRun` |
|
|
320
|
+
| `client.memberSources.listOrganizationMemberSyncRuns({ params, query })` | `GET /organizations/:organizationId/member-source/runs` | `params.organizationId`, optional `page`, `pageSize`, [history filters](#history-filters), `trigger`, `hideUnchanged` | `PaginatedOrganizationMemberSyncRuns` |
|
|
321
|
+
| `client.memberSources.listOrganizationMemberSourceCommands({ params, query })` | `GET /organizations/:organizationId/member-source/commands` | `params.organizationId`, optional `page`, `pageSize`, [history filters](#history-filters), `kind` | `PaginatedOrganizationMemberSourceCommands` |
|
|
322
|
+
| `client.memberSources.triggerOrganizationMemberSync({ params, payload })` | `POST /organizations/:organizationId/member-source/sync` | `params.organizationId`, `TriggerOrganizationMemberSyncInput` (optional `mode`, `inputReference`, `updatedAfter`) | `OrganizationMemberSyncRun` |
|
|
323
|
+
|
|
324
|
+
#### History filters
|
|
325
|
+
|
|
326
|
+
Sync runs, source commands and voucher commands accept the same optional query filters:
|
|
327
|
+
`status` (comma-separated), `from` and `to` (ISO-8601 instants, inclusive, matched against the
|
|
328
|
+
start or request time) and `sort` (`newest`, the default, or `oldest`). Sync runs also accept
|
|
329
|
+
`trigger` (`manual`, `scheduled`, `bucket`, `live_feed`) and `hideUnchanged=true`, which leaves
|
|
330
|
+
out successful runs that inserted, updated and archived nothing and reported no errors. Source and
|
|
331
|
+
voucher commands accept `kind`. Unknown values return `400`.
|
|
332
|
+
|
|
333
|
+
The convenience client takes arrays and `Date`s:
|
|
334
|
+
|
|
335
|
+
```ts
|
|
336
|
+
const [runs] = await spoke.memberSources.runs.list({
|
|
337
|
+
organizationId,
|
|
338
|
+
statuses: ["failure", "partial_failure"],
|
|
339
|
+
triggers: "scheduled",
|
|
340
|
+
from: new Date(Date.now() - 7 * 24 * 60 * 60 * 1000),
|
|
341
|
+
sort: "oldest",
|
|
342
|
+
hideUnchanged: true,
|
|
343
|
+
});
|
|
344
|
+
|
|
345
|
+
const [commands] = await spoke.memberSources.commands.list({
|
|
346
|
+
organizationId,
|
|
347
|
+
kinds: ["create_member", "update_member"],
|
|
348
|
+
statuses: "failed",
|
|
349
|
+
});
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
For a one-off delta sync from a specific time, pass `updatedAfter` as a venue wall time with no
|
|
353
|
+
offset (`YYYY-MM-DDTHH:mm[:ss[.SSS]]`). It applies to that run only, and the saved cursor advances
|
|
354
|
+
normally when the run succeeds. It is supported for Odyssey and eBet onsite agent delta syncs. eBet
|
|
355
|
+
requests are rejected while the member source settings pin a delta start override.
|
|
356
|
+
|
|
357
|
+
```ts
|
|
358
|
+
await spoke.memberSources.runs.trigger({
|
|
359
|
+
organizationId,
|
|
360
|
+
payload: { mode: "delta", updatedAfter: "2026-11-20T06:00" },
|
|
361
|
+
});
|
|
362
|
+
```
|
|
321
363
|
|
|
322
364
|
### Vouchers
|
|
323
365
|
|
|
@@ -326,7 +368,7 @@ All routes below are relative to `/api/v1`. The promise client and the Effect cl
|
|
|
326
368
|
| `client.vouchers.getOrganizationVoucherProvider({ params })` | `GET /organizations/:organizationId/voucher-provider` | `params.organizationId` | `OrganizationVoucherProvider \| null` |
|
|
327
369
|
| `client.vouchers.upsertOrganizationVoucherProvider({ params, payload })` | `PUT /organizations/:organizationId/voucher-provider` | `params.organizationId`, `UpsertOrganizationVoucherProviderInput` | `OrganizationVoucherProvider` |
|
|
328
370
|
| `client.vouchers.requestVoucherIssue({ params, payload })` | `POST /organizations/:organizationId/vouchers/issue` | `params.organizationId`, `RequestVoucherIssueInput` | `OrganizationVoucherCommand` |
|
|
329
|
-
| `client.vouchers.listOrganizationVoucherCommands({ params, query })` | `GET /organizations/:organizationId/voucher-commands` | `params.organizationId`, optional `query.page`, `query.pageSize` | `PaginatedOrganizationVoucherCommands` |
|
|
371
|
+
| `client.vouchers.listOrganizationVoucherCommands({ params, query })` | `GET /organizations/:organizationId/voucher-commands` | `params.organizationId`, optional `query.page`, `query.pageSize`, [history filters](#history-filters), `kind` | `PaginatedOrganizationVoucherCommands` |
|
|
330
372
|
| `client.vouchers.retryVoucherCommand({ params, payload })` | `POST /organizations/:organizationId/voucher-commands/:commandId/retry` | `params.organizationId`, `params.commandId`, `{ confirmedDuplicateRisk: true }` | `OrganizationVoucherCommand` |
|
|
331
373
|
| `client.vouchers.pollOnsiteVoucherCommand({ params })` | `POST /organizations/:organizationId/onsite-voucher-commands/poll` | `params.organizationId` | `OnsiteVoucherCommand \| null` |
|
|
332
374
|
| `client.vouchers.completeOnsiteVoucherCommand({ params, payload })` | `POST /organizations/:organizationId/onsite-voucher-commands/:commandId/complete` | `params.organizationId`, `params.commandId`, `CompleteOnsiteVoucherCommandInput` | `OrganizationVoucherCommand` |
|
|
@@ -423,6 +465,8 @@ const [capabilities, error] = await client.organizations.capabilities({ organiza
|
|
|
423
465
|
```
|
|
424
466
|
|
|
425
467
|
The raw client exposes `client.organizations.getOrganizationCapabilities({ params: { organizationId } })`.
|
|
468
|
+
`client.organizations.get({ organizationId })` returns the organization itself, and
|
|
469
|
+
`client.members.summary({ organizationId })` returns member counts by status.
|
|
426
470
|
The response contains `organizationId`, `points`, `vouchers`, `onsiteMemberLookup`,
|
|
427
471
|
and `memberCreation`. Each capability has `supported`, `enabled`, and a nullable
|
|
428
472
|
machine-readable `reason`. Member creation also has `mode`: `local` for Hub member
|
package/dist/index.d.ts
CHANGED
|
@@ -1622,6 +1622,11 @@ declare const MemberPointBalancesResponseSchema: Schema.Struct<{
|
|
|
1622
1622
|
declare const UpsertMemberPointBalanceSchema: Schema.Struct<{
|
|
1623
1623
|
readonly balance: Schema.Number;
|
|
1624
1624
|
}>;
|
|
1625
|
+
declare const MemberReplacementStatusSchema: Schema.Struct<{
|
|
1626
|
+
readonly replacementMemberId: Schema.String;
|
|
1627
|
+
readonly delivered: Schema.Boolean;
|
|
1628
|
+
}>;
|
|
1629
|
+
type MemberReplacementStatus = typeof MemberReplacementStatusSchema.Type;
|
|
1625
1630
|
declare const MemberSchema: Schema.Struct<{
|
|
1626
1631
|
readonly email: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1627
1632
|
readonly title: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2623,6 +2628,18 @@ declare const OrganizationMemberRatingGradeSchema: Schema.Struct<{
|
|
|
2623
2628
|
readonly ratingGrade: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2624
2629
|
readonly ratingGradeId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2625
2630
|
}>;
|
|
2631
|
+
declare const OrganizationMemberSummarySchema: Schema.Struct<{
|
|
2632
|
+
readonly organizationId: Schema.String;
|
|
2633
|
+
readonly total: Schema.Number;
|
|
2634
|
+
readonly notArchived: Schema.Number;
|
|
2635
|
+
readonly active: Schema.Number;
|
|
2636
|
+
readonly suspended: Schema.Number;
|
|
2637
|
+
readonly expired: Schema.Number;
|
|
2638
|
+
readonly archived: Schema.Number;
|
|
2639
|
+
readonly sourceManaged: Schema.Number;
|
|
2640
|
+
readonly joinedLast30Days: Schema.Number;
|
|
2641
|
+
readonly generatedAt: Schema.String;
|
|
2642
|
+
}>;
|
|
2626
2643
|
declare const PaginatedOrganizationMemberRatingGradesSchema: Schema.Struct<{
|
|
2627
2644
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
2628
2645
|
readonly ratingGrade: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -3663,6 +3680,7 @@ declare const UpsertOrganizationMemberSourceWebhookSchema: Schema.Struct<{
|
|
|
3663
3680
|
declare const TriggerOrganizationMemberSyncSchema: Schema.Struct<{
|
|
3664
3681
|
readonly mode: Schema.optional<Schema.Literals<readonly ["full_snapshot", "delta"]>>;
|
|
3665
3682
|
readonly inputReference: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3683
|
+
readonly updatedAfter: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3666
3684
|
}>;
|
|
3667
3685
|
declare const RequestSourceManagedMemberCreateSchema: Schema.Struct<{
|
|
3668
3686
|
readonly gamingPermissions: Schema.optional<Schema.Struct<{
|
|
@@ -6279,6 +6297,7 @@ declare const MailchimpSettingsInputSchema: Schema.Struct<{
|
|
|
6279
6297
|
readonly lastNameField: Schema.String;
|
|
6280
6298
|
readonly phoneField: Schema.optional<Schema.String>;
|
|
6281
6299
|
readonly dobField: Schema.optional<Schema.String>;
|
|
6300
|
+
readonly memberNumberField: Schema.optional<Schema.String>;
|
|
6282
6301
|
}>;
|
|
6283
6302
|
declare const MailchimpSettingsSchema: Schema.Struct<{
|
|
6284
6303
|
readonly connected: Schema.Boolean;
|
|
@@ -6289,6 +6308,7 @@ declare const MailchimpSettingsSchema: Schema.Struct<{
|
|
|
6289
6308
|
readonly lastNameField: Schema.String;
|
|
6290
6309
|
readonly phoneField: Schema.String;
|
|
6291
6310
|
readonly dobField: Schema.String;
|
|
6311
|
+
readonly memberNumberField: Schema.String;
|
|
6292
6312
|
readonly pending: Schema.Number;
|
|
6293
6313
|
readonly failed: Schema.Number;
|
|
6294
6314
|
readonly lastSuccessAt: Schema.NullOr<Schema.String>;
|
|
@@ -7671,6 +7691,41 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
7671
7691
|
}> | Schema.Struct<{
|
|
7672
7692
|
readonly code: Schema.Literal<"internal_error">;
|
|
7673
7693
|
readonly message: Schema.String;
|
|
7694
|
+
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getOrganization", "GET", "/v1/organizations/:organizationId", Schema.toCodecStringTree<Schema.Struct<{
|
|
7695
|
+
readonly organizationId: Schema.String;
|
|
7696
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
7697
|
+
readonly isDemo: Schema.Boolean;
|
|
7698
|
+
readonly id: Schema.String;
|
|
7699
|
+
readonly slug: Schema.String;
|
|
7700
|
+
readonly name: Schema.String;
|
|
7701
|
+
readonly legalName: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7702
|
+
readonly timeZone: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7703
|
+
readonly status: Schema.Literals<readonly ["active", "archived"]>;
|
|
7704
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7705
|
+
readonly externalReference: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7706
|
+
readonly products: Schema.$Array<Schema.String>;
|
|
7707
|
+
readonly memberExpiryGracePeriodDays: Schema.Number;
|
|
7708
|
+
readonly createdAt: Schema.String;
|
|
7709
|
+
readonly updatedAt: Schema.String;
|
|
7710
|
+
readonly deletedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7711
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
7712
|
+
readonly code: Schema.Literal<"unauthorized">;
|
|
7713
|
+
readonly message: Schema.String;
|
|
7714
|
+
}> | Schema.Struct<{
|
|
7715
|
+
readonly code: Schema.Literal<"forbidden">;
|
|
7716
|
+
readonly message: Schema.String;
|
|
7717
|
+
}> | Schema.Struct<{
|
|
7718
|
+
readonly code: Schema.Literal<"not_found">;
|
|
7719
|
+
readonly message: Schema.String;
|
|
7720
|
+
}> | Schema.Struct<{
|
|
7721
|
+
readonly code: Schema.Literal<"conflict">;
|
|
7722
|
+
readonly message: Schema.String;
|
|
7723
|
+
}> | Schema.Struct<{
|
|
7724
|
+
readonly code: Schema.Literal<"bad_request">;
|
|
7725
|
+
readonly message: Schema.String;
|
|
7726
|
+
}> | Schema.Struct<{
|
|
7727
|
+
readonly code: Schema.Literal<"internal_error">;
|
|
7728
|
+
readonly message: Schema.String;
|
|
7674
7729
|
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateOrganization", "PATCH", "/v1/organizations/:organizationId", Schema.toCodecStringTree<Schema.Struct<{
|
|
7675
7730
|
readonly organizationId: Schema.String;
|
|
7676
7731
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -8434,6 +8489,37 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
8434
8489
|
}> | Schema.Struct<{
|
|
8435
8490
|
readonly code: Schema.Literal<"internal_error">;
|
|
8436
8491
|
readonly message: Schema.String;
|
|
8492
|
+
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMemberSummary", "GET", "/v1/organizations/:organizationId/members/summary", Schema.toCodecStringTree<Schema.Struct<{
|
|
8493
|
+
readonly organizationId: Schema.String;
|
|
8494
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
8495
|
+
readonly organizationId: Schema.String;
|
|
8496
|
+
readonly total: Schema.Number;
|
|
8497
|
+
readonly notArchived: Schema.Number;
|
|
8498
|
+
readonly active: Schema.Number;
|
|
8499
|
+
readonly suspended: Schema.Number;
|
|
8500
|
+
readonly expired: Schema.Number;
|
|
8501
|
+
readonly archived: Schema.Number;
|
|
8502
|
+
readonly sourceManaged: Schema.Number;
|
|
8503
|
+
readonly joinedLast30Days: Schema.Number;
|
|
8504
|
+
readonly generatedAt: Schema.String;
|
|
8505
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
8506
|
+
readonly code: Schema.Literal<"unauthorized">;
|
|
8507
|
+
readonly message: Schema.String;
|
|
8508
|
+
}> | Schema.Struct<{
|
|
8509
|
+
readonly code: Schema.Literal<"forbidden">;
|
|
8510
|
+
readonly message: Schema.String;
|
|
8511
|
+
}> | Schema.Struct<{
|
|
8512
|
+
readonly code: Schema.Literal<"not_found">;
|
|
8513
|
+
readonly message: Schema.String;
|
|
8514
|
+
}> | Schema.Struct<{
|
|
8515
|
+
readonly code: Schema.Literal<"conflict">;
|
|
8516
|
+
readonly message: Schema.String;
|
|
8517
|
+
}> | Schema.Struct<{
|
|
8518
|
+
readonly code: Schema.Literal<"bad_request">;
|
|
8519
|
+
readonly message: Schema.String;
|
|
8520
|
+
}> | Schema.Struct<{
|
|
8521
|
+
readonly code: Schema.Literal<"internal_error">;
|
|
8522
|
+
readonly message: Schema.String;
|
|
8437
8523
|
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"listOrganizationMemberRatingGrades", "GET", "/v1/organizations/:organizationId/members/rating-grades", Schema.toCodecStringTree<Schema.Struct<{
|
|
8438
8524
|
readonly organizationId: Schema.String;
|
|
8439
8525
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -8698,6 +8784,59 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
8698
8784
|
}> | Schema.Struct<{
|
|
8699
8785
|
readonly code: Schema.Literal<"internal_error">;
|
|
8700
8786
|
readonly message: Schema.String;
|
|
8787
|
+
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getMemberReplacement", "GET", "/v1/organizations/:organizationId/members/:memberId/replacement", Schema.toCodecStringTree<Schema.Struct<{
|
|
8788
|
+
readonly organizationId: Schema.String;
|
|
8789
|
+
readonly memberId: Schema.String;
|
|
8790
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
8791
|
+
readonly replacementMemberId: Schema.String;
|
|
8792
|
+
readonly delivered: Schema.Boolean;
|
|
8793
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
8794
|
+
readonly code: Schema.Literal<"unauthorized">;
|
|
8795
|
+
readonly message: Schema.String;
|
|
8796
|
+
}> | Schema.Struct<{
|
|
8797
|
+
readonly code: Schema.Literal<"forbidden">;
|
|
8798
|
+
readonly message: Schema.String;
|
|
8799
|
+
}> | Schema.Struct<{
|
|
8800
|
+
readonly code: Schema.Literal<"not_found">;
|
|
8801
|
+
readonly message: Schema.String;
|
|
8802
|
+
}> | Schema.Struct<{
|
|
8803
|
+
readonly code: Schema.Literal<"conflict">;
|
|
8804
|
+
readonly message: Schema.String;
|
|
8805
|
+
}> | Schema.Struct<{
|
|
8806
|
+
readonly code: Schema.Literal<"bad_request">;
|
|
8807
|
+
readonly message: Schema.String;
|
|
8808
|
+
}> | Schema.Struct<{
|
|
8809
|
+
readonly code: Schema.Literal<"internal_error">;
|
|
8810
|
+
readonly message: Schema.String;
|
|
8811
|
+
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"replaceMember", "POST", "/v1/organizations/:organizationId/members/:memberId/replacement", Schema.toCodecStringTree<Schema.Struct<{
|
|
8812
|
+
readonly organizationId: Schema.String;
|
|
8813
|
+
readonly memberId: Schema.String;
|
|
8814
|
+
}>>, never, Schema.toCodecJson<Schema.Union<readonly [Schema.Struct<{
|
|
8815
|
+
readonly replacementMemberId: Schema.String;
|
|
8816
|
+
readonly expectedUpdatedAt: Schema.String;
|
|
8817
|
+
}>, Schema.Struct<{
|
|
8818
|
+
readonly retry: Schema.Literal<true>;
|
|
8819
|
+
}>]>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
8820
|
+
readonly replacementMemberId: Schema.String;
|
|
8821
|
+
readonly delivered: Schema.Boolean;
|
|
8822
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
8823
|
+
readonly code: Schema.Literal<"unauthorized">;
|
|
8824
|
+
readonly message: Schema.String;
|
|
8825
|
+
}> | Schema.Struct<{
|
|
8826
|
+
readonly code: Schema.Literal<"forbidden">;
|
|
8827
|
+
readonly message: Schema.String;
|
|
8828
|
+
}> | Schema.Struct<{
|
|
8829
|
+
readonly code: Schema.Literal<"not_found">;
|
|
8830
|
+
readonly message: Schema.String;
|
|
8831
|
+
}> | Schema.Struct<{
|
|
8832
|
+
readonly code: Schema.Literal<"conflict">;
|
|
8833
|
+
readonly message: Schema.String;
|
|
8834
|
+
}> | Schema.Struct<{
|
|
8835
|
+
readonly code: Schema.Literal<"bad_request">;
|
|
8836
|
+
readonly message: Schema.String;
|
|
8837
|
+
}> | Schema.Struct<{
|
|
8838
|
+
readonly code: Schema.Literal<"internal_error">;
|
|
8839
|
+
readonly message: Schema.String;
|
|
8701
8840
|
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"cleanupOrganizationMembers", "POST", "/v1/organizations/:organizationId/members/cleanup", Schema.toCodecStringTree<Schema.Struct<{
|
|
8702
8841
|
readonly organizationId: Schema.String;
|
|
8703
8842
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -9750,6 +9889,11 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
9750
9889
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
9751
9890
|
readonly page: Schema.optional<Schema.String>;
|
|
9752
9891
|
readonly pageSize: Schema.optional<Schema.String>;
|
|
9892
|
+
readonly status: Schema.optional<Schema.String>;
|
|
9893
|
+
readonly kind: Schema.optional<Schema.String>;
|
|
9894
|
+
readonly from: Schema.optional<Schema.String>;
|
|
9895
|
+
readonly to: Schema.optional<Schema.String>;
|
|
9896
|
+
readonly sort: Schema.optional<Schema.String>;
|
|
9753
9897
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
9754
9898
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
9755
9899
|
readonly id: Schema.String;
|
|
@@ -12189,6 +12333,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12189
12333
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
12190
12334
|
readonly page: Schema.optional<Schema.String>;
|
|
12191
12335
|
readonly pageSize: Schema.optional<Schema.String>;
|
|
12336
|
+
readonly status: Schema.optional<Schema.String>;
|
|
12337
|
+
readonly from: Schema.optional<Schema.String>;
|
|
12338
|
+
readonly to: Schema.optional<Schema.String>;
|
|
12339
|
+
readonly sort: Schema.optional<Schema.String>;
|
|
12340
|
+
readonly trigger: Schema.optional<Schema.String>;
|
|
12341
|
+
readonly hideUnchanged: Schema.optional<Schema.String>;
|
|
12192
12342
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
12193
12343
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
12194
12344
|
readonly id: Schema.String;
|
|
@@ -12344,6 +12494,11 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12344
12494
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
12345
12495
|
readonly page: Schema.optional<Schema.String>;
|
|
12346
12496
|
readonly pageSize: Schema.optional<Schema.String>;
|
|
12497
|
+
readonly status: Schema.optional<Schema.String>;
|
|
12498
|
+
readonly from: Schema.optional<Schema.String>;
|
|
12499
|
+
readonly to: Schema.optional<Schema.String>;
|
|
12500
|
+
readonly sort: Schema.optional<Schema.String>;
|
|
12501
|
+
readonly kind: Schema.optional<Schema.String>;
|
|
12347
12502
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
12348
12503
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
12349
12504
|
readonly id: Schema.String;
|
|
@@ -12678,6 +12833,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12678
12833
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
12679
12834
|
readonly mode: Schema.optional<Schema.Literals<readonly ["full_snapshot", "delta"]>>;
|
|
12680
12835
|
readonly inputReference: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
12836
|
+
readonly updatedAfter: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
12681
12837
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
12682
12838
|
readonly id: Schema.String;
|
|
12683
12839
|
readonly organizationId: Schema.String;
|
|
@@ -15185,6 +15341,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
15185
15341
|
readonly lastNameField: Schema.String;
|
|
15186
15342
|
readonly phoneField: Schema.String;
|
|
15187
15343
|
readonly dobField: Schema.String;
|
|
15344
|
+
readonly memberNumberField: Schema.String;
|
|
15188
15345
|
readonly pending: Schema.Number;
|
|
15189
15346
|
readonly failed: Schema.Number;
|
|
15190
15347
|
readonly lastSuccessAt: Schema.NullOr<Schema.String>;
|
|
@@ -15217,6 +15374,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
15217
15374
|
readonly lastNameField: Schema.String;
|
|
15218
15375
|
readonly phoneField: Schema.optional<Schema.String>;
|
|
15219
15376
|
readonly dobField: Schema.optional<Schema.String>;
|
|
15377
|
+
readonly memberNumberField: Schema.optional<Schema.String>;
|
|
15220
15378
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
15221
15379
|
readonly connected: Schema.Boolean;
|
|
15222
15380
|
readonly enabled: Schema.Boolean;
|
|
@@ -15226,6 +15384,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
15226
15384
|
readonly lastNameField: Schema.String;
|
|
15227
15385
|
readonly phoneField: Schema.String;
|
|
15228
15386
|
readonly dobField: Schema.String;
|
|
15387
|
+
readonly memberNumberField: Schema.String;
|
|
15229
15388
|
readonly pending: Schema.Number;
|
|
15230
15389
|
readonly failed: Schema.Number;
|
|
15231
15390
|
readonly lastSuccessAt: Schema.NullOr<Schema.String>;
|
|
@@ -15284,6 +15443,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
15284
15443
|
readonly lastNameField: Schema.String;
|
|
15285
15444
|
readonly phoneField: Schema.String;
|
|
15286
15445
|
readonly dobField: Schema.String;
|
|
15446
|
+
readonly memberNumberField: Schema.String;
|
|
15287
15447
|
readonly pending: Schema.Number;
|
|
15288
15448
|
readonly failed: Schema.Number;
|
|
15289
15449
|
readonly lastSuccessAt: Schema.NullOr<Schema.String>;
|
|
@@ -15532,6 +15692,7 @@ type PaginatedOrganizations = Schema.Schema.Type<typeof PaginatedOrganizationsSc
|
|
|
15532
15692
|
type OrganizationProductOption = Schema.Schema.Type<typeof OrganizationProductOptionSchema>;
|
|
15533
15693
|
type OrganizationProductWebhook = Schema.Schema.Type<typeof OrganizationProductWebhookSchema>;
|
|
15534
15694
|
type OrganizationMemberRatingGrade = Schema.Schema.Type<typeof OrganizationMemberRatingGradeSchema>;
|
|
15695
|
+
type OrganizationMemberSummary = Schema.Schema.Type<typeof OrganizationMemberSummarySchema>;
|
|
15535
15696
|
type PaginatedOrganizationMemberRatingGrades = Schema.Schema.Type<typeof PaginatedOrganizationMemberRatingGradesSchema>;
|
|
15536
15697
|
type OrganizationMemberMembershipType = Schema.Schema.Type<typeof OrganizationMemberMembershipTypeSchema>;
|
|
15537
15698
|
type PaginatedOrganizationMemberMembershipTypes = Schema.Schema.Type<typeof PaginatedOrganizationMemberMembershipTypesSchema>;
|
|
@@ -15974,6 +16135,26 @@ type ListGuestsInput = PageInput & {
|
|
|
15974
16135
|
type ListProductWebhooksInput = PageInput & {
|
|
15975
16136
|
readonly organizationProductOptionId?: string;
|
|
15976
16137
|
};
|
|
16138
|
+
type HistoryFilterInput<Status extends string> = {
|
|
16139
|
+
/** One status or several; omit for every status. */
|
|
16140
|
+
readonly statuses?: Status | ReadonlyArray<Status>;
|
|
16141
|
+
/** Only records started at or after this instant. */
|
|
16142
|
+
readonly from?: string | Date;
|
|
16143
|
+
/** Only records started at or before this instant. */
|
|
16144
|
+
readonly to?: string | Date;
|
|
16145
|
+
/** `newest` (default) or `oldest` first. */
|
|
16146
|
+
readonly sort?: "newest" | "oldest";
|
|
16147
|
+
};
|
|
16148
|
+
type ListSyncRunsInput = PageInput & HistoryFilterInput<OrganizationMemberSyncRun["status"]> & {
|
|
16149
|
+
readonly organizationId: string;
|
|
16150
|
+
readonly triggers?: OrganizationMemberSyncRun["triggerKind"] | ReadonlyArray<OrganizationMemberSyncRun["triggerKind"]>;
|
|
16151
|
+
/** Leave out successful runs that changed no members and reported no errors. */
|
|
16152
|
+
readonly hideUnchanged?: boolean;
|
|
16153
|
+
};
|
|
16154
|
+
type ListSourceCommandsInput = PageInput & HistoryFilterInput<OrganizationMemberSourceCommand["status"]> & {
|
|
16155
|
+
readonly organizationId: string;
|
|
16156
|
+
readonly kinds?: OrganizationMemberSourceCommand["kind"] | ReadonlyArray<OrganizationMemberSourceCommand["kind"]>;
|
|
16157
|
+
};
|
|
15977
16158
|
type PromiseSpokeClient = ReturnType<typeof makeSpokeClient>;
|
|
15978
16159
|
declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
15979
16160
|
readonly offers: {
|
|
@@ -16447,6 +16628,24 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
16447
16628
|
}>>;
|
|
16448
16629
|
};
|
|
16449
16630
|
readonly organizations: {
|
|
16631
|
+
readonly get: (input: {
|
|
16632
|
+
readonly organizationId: string;
|
|
16633
|
+
}) => Promise<SpokeHubResult<{
|
|
16634
|
+
readonly isDemo: boolean;
|
|
16635
|
+
readonly id: string;
|
|
16636
|
+
readonly slug: string;
|
|
16637
|
+
readonly name: string;
|
|
16638
|
+
readonly legalName: string | null;
|
|
16639
|
+
readonly timeZone: string | null;
|
|
16640
|
+
readonly status: "active" | "archived";
|
|
16641
|
+
readonly description: string | null;
|
|
16642
|
+
readonly externalReference: string | null;
|
|
16643
|
+
readonly products: readonly string[];
|
|
16644
|
+
readonly memberExpiryGracePeriodDays: number;
|
|
16645
|
+
readonly createdAt: string;
|
|
16646
|
+
readonly updatedAt: string;
|
|
16647
|
+
readonly deletedAt: string | null;
|
|
16648
|
+
}>>;
|
|
16450
16649
|
readonly capabilities: (input: {
|
|
16451
16650
|
readonly organizationId: string;
|
|
16452
16651
|
}) => Promise<SpokeHubResult<{
|
|
@@ -16622,6 +16821,21 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
16622
16821
|
};
|
|
16623
16822
|
readonly members: {
|
|
16624
16823
|
readonly list: (input: ListMembersInput) => Promise<SpokeHubResult<OrganizationMembersListResponse>>;
|
|
16824
|
+
/** Member counts for a venue, broken down by status. */
|
|
16825
|
+
readonly summary: (input: {
|
|
16826
|
+
readonly organizationId: string;
|
|
16827
|
+
}) => Promise<SpokeHubResult<{
|
|
16828
|
+
readonly organizationId: string;
|
|
16829
|
+
readonly total: number;
|
|
16830
|
+
readonly notArchived: number;
|
|
16831
|
+
readonly active: number;
|
|
16832
|
+
readonly suspended: number;
|
|
16833
|
+
readonly expired: number;
|
|
16834
|
+
readonly archived: number;
|
|
16835
|
+
readonly sourceManaged: number;
|
|
16836
|
+
readonly joinedLast30Days: number;
|
|
16837
|
+
readonly generatedAt: string;
|
|
16838
|
+
}>>;
|
|
16625
16839
|
readonly get: (input: GetMemberInput) => Promise<SpokeHubResult<{
|
|
16626
16840
|
readonly organizationId: string;
|
|
16627
16841
|
readonly status: "expired" | "active" | "archived" | "active-expired" | "suspended";
|
|
@@ -18004,9 +18218,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
18004
18218
|
}>>;
|
|
18005
18219
|
};
|
|
18006
18220
|
readonly runs: {
|
|
18007
|
-
readonly list: (input:
|
|
18008
|
-
readonly organizationId: string;
|
|
18009
|
-
}) => Promise<SpokeHubResult<{
|
|
18221
|
+
readonly list: (input: ListSyncRunsInput) => Promise<SpokeHubResult<{
|
|
18010
18222
|
readonly items: readonly {
|
|
18011
18223
|
readonly id: string;
|
|
18012
18224
|
readonly organizationId: string;
|
|
@@ -18137,9 +18349,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
18137
18349
|
}>>;
|
|
18138
18350
|
};
|
|
18139
18351
|
readonly commands: {
|
|
18140
|
-
readonly list: (input:
|
|
18141
|
-
readonly organizationId: string;
|
|
18142
|
-
}) => Promise<SpokeHubResult<{
|
|
18352
|
+
readonly list: (input: ListSourceCommandsInput) => Promise<SpokeHubResult<{
|
|
18143
18353
|
readonly items: readonly {
|
|
18144
18354
|
readonly id: string;
|
|
18145
18355
|
readonly organizationId: string;
|
|
@@ -20020,4 +20230,4 @@ declare const makePromiseSpokeClient: (options: HubApiCredentialOptions) => Prom
|
|
|
20020
20230
|
readonly hubClient: PromiseHubApiClient;
|
|
20021
20231
|
}>;
|
|
20022
20232
|
|
|
20023
|
-
export { AddressSchema, type AdminSession, AdminSessionSchema, type AuthorizeEnsureActiveMembershipRenewalInput, AuthorizeEnsureActiveMembershipRenewalSchema, type BadRequestError, BadRequestErrorSchema, type BootstrapOrganizationMemberSourceAgentInput, type BootstrapOrganizationMemberSourceAgentResponse, BootstrapOrganizationMemberSourceAgentResponseSchema, BootstrapOrganizationMemberSourceAgentSchema, type BulkGetOrganizationMembersInput, BulkGetOrganizationMembersSchema, type BulkOrganizationMembersBasicResponse, BulkOrganizationMembersBasicResponseSchema, type BulkOrganizationMembersMedResponse, BulkOrganizationMembersMedResponseSchema, type BulkOrganizationMembersResponse, BulkOrganizationMembersResponseSchema, type BulkOrganizationMembersResponseUnion, BulkOrganizationMembersResponseUnionSchema, type CatalogueOffer, type CatalogueOfferBenefit, CatalogueOfferBenefitSchema, CatalogueOfferSchema, type ClaimOfferInput, ClaimOfferSchema, type CleanupOrganizationMembersInput, CleanupOrganizationMembersSchema, type CompleteOnsitePointCommandInput, CompleteOnsitePointCommandSchema, type CompleteOnsiteVoucherCommandInput, CompleteOnsiteVoucherCommandSchema, type ConfirmRewardCollectionInput, ConfirmRewardCollectionSchema, type ConflictError, ConflictErrorSchema, type ConvertOrganizationToDemoInput, ConvertOrganizationToDemoSchema, type CreateGuestInput, CreateGuestSchema, type CreateMemberInput, CreateMemberSchema, type CreateOfferInput, CreateOfferSchema, type CreateOrganizationInitialMembershipUploadInput, type CreateOrganizationInitialMembershipUploadResponse, CreateOrganizationInitialMembershipUploadResponseSchema, CreateOrganizationInitialMembershipUploadSchema, type CreateOrganizationInput, type CreateOrganizationMemberSourceCsvUploadInput, type CreateOrganizationMemberSourceCsvUploadResponse, CreateOrganizationMemberSourceCsvUploadResponseSchema, CreateOrganizationMemberSourceCsvUploadSchema, type CreateOrganizationPointTypeInput, CreateOrganizationPointTypeSchema, type CreateOrganizationProductOptionInput, CreateOrganizationProductOptionSchema, type CreateOrganizationProductWebhookInput, CreateOrganizationProductWebhookSchema, CreateOrganizationSchema, type CreateRewardLocationInput, CreateRewardLocationSchema, type CreateServiceClientInput, CreateServiceClientSchema, type CsvUploadReadiness, CsvUploadReadinessSchema, DateOnlySchema, type DeleteOrganizationInitialMembershipUploadResponse, DeleteOrganizationInitialMembershipUploadResponseSchema, type DeletePayload, DeletePayloadSchema, type DeleteServiceClientInput, DeleteServiceClientSchema, type EnsureActiveMembershipCommand, type EnsureActiveMembershipCommandPayload, EnsureActiveMembershipCommandPayloadSchema, EnsureActiveMembershipCommandSchema, type EnsureActiveMembershipManualReviewItem, EnsureActiveMembershipManualReviewItemSchema, type EnsureActiveMembershipManualReviewQueue, EnsureActiveMembershipManualReviewQueueSchema, type EnsureActiveMembershipMemberInput, EnsureActiveMembershipMemberSchema, EnsureActiveMembershipNonSuccessOutcomeSchema, type EnsureActiveMembershipNonSuccessResult, EnsureActiveMembershipNonSuccessResultSchema, type EnsureActiveMembershipOutcome, EnsureActiveMembershipOutcomeSchema, type EnsureActiveMembershipResponse, EnsureActiveMembershipResponseSchema, type EnsureActiveMembershipResult, EnsureActiveMembershipResultSchema, EnsureActiveMembershipSuccessOutcomeSchema, type EnsureActiveMembershipSuccessResult, EnsureActiveMembershipSuccessResultSchema, type EnsureActiveMembershipWorkflowProgress, EnsureActiveMembershipWorkflowProgressSchema, EnsureActiveMembershipWorkflowStepSchema, type EnsureActiveMembershipWorkflowStepState, EnsureActiveMembershipWorkflowStepStateSchema, type ForbiddenError, ForbiddenErrorSchema, GamingPermissionsSchema, type GreengrassAgentDevice, GreengrassAgentDeviceSchema, type GreengrassAgentUpdate, GreengrassAgentUpdateSchema, type Guest, type GuestContactMatch, GuestContactMatchSchema, GuestSchema, HubApi, type HubApiClient, type HubApiClientOptions, type HubApiCredentialOptions, type ImportedMemberRecord, ImportedMemberRecordSchema, type InternalServerError, InternalServerErrorSchema, IssuedPrivateKeySchema, type MailchimpSettingsInput, MailchimpSettingsInputSchema, type MailchimpSettingsResponse, MailchimpSettingsSchema, MarketingPreferencesSchema, type Member, type MemberBasic, type MemberBasicResponse, MemberBasicResponseSchema, MemberBasicSchema, type MemberCleanupResult, MemberCleanupResultSchema, type MemberContactMatch, MemberContactMatchSchema, type MemberFullResponse, MemberFullResponseSchema, type MemberMed, type MemberMedResponse, MemberMedResponseSchema, MemberMedSchema, type MemberPointBalance, MemberPointBalanceSchema, type MemberPointBalancesResponse, MemberPointBalancesResponseSchema, type MemberResponse, type MemberResponseMode, MemberResponseModeSchema, MemberResponseSchema, type MemberReward, MemberRewardSchema, MemberSchema, type MemberSeedBatch, MemberSeedBatchSchema, MemberSourceSecretNameSchema, type MemberStatusCredits, MemberStatusCreditsSchema, type NexusReferenceDataRequest, NexusReferenceDataRequestSchema, type NotFoundError, NotFoundErrorSchema, type Offer, type OfferBenefit, OfferBenefitSchema, type OfferEligibility, OfferEligibilitySchema, OfferSchema, OfferStatusSchema, type OnsiteAgentCommand, OnsiteAgentCommandSchema, type OnsiteAgentCompleteCustomFieldsInput, OnsiteAgentCompleteCustomFieldsSchema, type OnsiteAgentCompleteEnsureActiveMembershipInput, OnsiteAgentCompleteEnsureActiveMembershipSchema, type OnsiteAgentCompleteMemberCreateInput, OnsiteAgentCompleteMemberCreateSchema, type OnsiteAgentCompleteMemberLookupInput, OnsiteAgentCompleteMemberLookupSchema, type OnsiteAgentCompleteMemberRenewalInput, OnsiteAgentCompleteMemberRenewalSchema, type OnsiteAgentCompleteMemberUpdateInput, OnsiteAgentCompleteMemberUpdateSchema, type OnsiteAgentCompleteReferenceDataInput, OnsiteAgentCompleteReferenceDataSchema, OnsiteAgentCompleteRunErrorSchema, type OnsiteAgentCompleteRunInput, OnsiteAgentCompleteRunSchema, type OnsiteAgentCsvUploadTarget, OnsiteAgentCsvUploadTargetSchema, type OnsiteAgentCustomFieldsCommand, OnsiteAgentCustomFieldsCommandSchema, type OnsiteAgentEnsureActiveMembershipAuditEvent, OnsiteAgentEnsureActiveMembershipAuditEventSchema, type OnsiteAgentEnsureActiveMembershipCommand, OnsiteAgentEnsureActiveMembershipCommandSchema, OnsiteAgentEnsureActiveMembershipCompletionResultSchema, type OnsiteAgentEnsureActiveMembershipProgressUpdate, OnsiteAgentEnsureActiveMembershipProgressUpdateSchema, type OnsiteAgentHeartbeatInput, type OnsiteAgentHeartbeatResponse, OnsiteAgentHeartbeatResponseSchema, OnsiteAgentHeartbeatSchema, type OnsiteAgentIngestLiveFbiBatchInput, OnsiteAgentIngestLiveFbiBatchSchema, type OnsiteAgentMemberCreateCommand, OnsiteAgentMemberCreateCommandSchema, type OnsiteAgentMemberCreationResult, OnsiteAgentMemberCreationResultSchema, type OnsiteAgentMemberLookupCommand, OnsiteAgentMemberLookupCommandSchema, type OnsiteAgentMemberPreferenceUpdateCommand, OnsiteAgentMemberPreferenceUpdateCommandSchema, type OnsiteAgentMemberRenewalCommand, OnsiteAgentMemberRenewalCommandSchema, type OnsiteAgentMemberUpdateCommand, OnsiteAgentMemberUpdateCommandSchema, type OnsiteAgentReferenceDataCommand, OnsiteAgentReferenceDataCommandSchema, type OnsiteAgentRunProgressInput, OnsiteAgentRunProgressSchema, type OnsitePointCommand, OnsitePointCommandSchema, type OnsiteResourceCallRequest, OnsiteResourceCallRequestSchema, type OnsiteResourceCallResponse, OnsiteResourceCallResponseSchema, type OnsiteResourceClient, type OnsiteResourceEnsureActiveMembershipCallResponse, OnsiteResourceEnsureActiveMembershipCallResponseSchema, type OnsiteResourceMemberCallResponse, OnsiteResourceMemberCallResponseSchema, type OnsiteResourcePointCallResponse, OnsiteResourcePointCallResponseSchema, type OnsiteResourceVoucherCallResponse, OnsiteResourceVoucherCallResponseSchema, type OnsiteVoucherCommand, OnsiteVoucherCommandSchema, type Organization, type OrganizationCapabilities, OrganizationCapabilitiesSchema, type OrganizationCapability, OrganizationCapabilitySchema, type OrganizationInitialMembershipUploadDownload, OrganizationInitialMembershipUploadDownloadSchema, type OrganizationInitialMembershipUploads, OrganizationInitialMembershipUploadsSchema, type OrganizationMemberGender, OrganizationMemberGenderSchema, type OrganizationMemberMembershipType, OrganizationMemberMembershipTypeSchema, type OrganizationMemberRatingGrade, OrganizationMemberRatingGradeSchema, type OrganizationMemberSource, type OrganizationMemberSourceAgent, OrganizationMemberSourceAgentSchema, type OrganizationMemberSourceCommand, OrganizationMemberSourceCommandSchema, type OrganizationMemberSourceCsvImport, OrganizationMemberSourceCsvImportSchema, type OrganizationMemberSourceCsvMapping, OrganizationMemberSourceCsvMappingSchema, type OrganizationMemberSourceEnsureActiveMembershipConfig, OrganizationMemberSourceEnsureActiveMembershipConfigSchema, OrganizationMemberSourceSchema, OrganizationMemberSourceSecretInputSchema, type OrganizationMemberSourceWebhook, OrganizationMemberSourceWebhookSchema, type OrganizationMemberSourceWebhookUpsertResponse, OrganizationMemberSourceWebhookUpsertResponseSchema, type OrganizationMemberSyncRun, type OrganizationMemberSyncRunError, OrganizationMemberSyncRunErrorSchema, OrganizationMemberSyncRunSchema, OrganizationMemberSyncRunSummarySchema, type OrganizationMemberTitle, OrganizationMemberTitleSchema, type OrganizationMembersListResponse, type OrganizationMembersSearchField, OrganizationMembersSearchFieldSchema, type OrganizationMembersSortField, OrganizationMembersSortFieldSchema, type OrganizationMembersStatusFilter, OrganizationMembersStatusFilterSchema, type OrganizationPeopleContactLookupResponse, OrganizationPeopleContactLookupResponseSchema, type OrganizationPointCommand, OrganizationPointCommandResultSchema, OrganizationPointCommandSchema, type OrganizationPointProvider, OrganizationPointProviderSchema, type OrganizationPointType, OrganizationPointTypeSchema, type OrganizationPointTypesResponse, OrganizationPointTypesResponseSchema, type OrganizationProductOption, OrganizationProductOptionSchema, type OrganizationProductWebhook, OrganizationProductWebhookSchema, type OrganizationProductWebhookUpsertResponse, OrganizationProductWebhookUpsertResponseSchema, OrganizationSchema, type OrganizationVoucherCommand, type OrganizationVoucherCommandResult, OrganizationVoucherCommandResultSchema, OrganizationVoucherCommandSchema, type OrganizationVoucherIssueCommandResult, OrganizationVoucherIssueCommandResultSchema, type OrganizationVoucherLookupCommandResult, OrganizationVoucherLookupCommandResultSchema, type OrganizationVoucherProvider, OrganizationVoucherProviderSchema, OrganizationVoucherProviderSecretInputSchema, OrganizationVoucherProviderSecretNameSchema, type PaginatedGuests, PaginatedGuestsSchema, type PaginatedOrganizationMemberGenders, PaginatedOrganizationMemberGendersSchema, type PaginatedOrganizationMemberMembershipTypes, PaginatedOrganizationMemberMembershipTypesSchema, type PaginatedOrganizationMemberRatingGrades, PaginatedOrganizationMemberRatingGradesSchema, type PaginatedOrganizationMemberSourceCommands, PaginatedOrganizationMemberSourceCommandsSchema, type PaginatedOrganizationMemberSyncRuns, PaginatedOrganizationMemberSyncRunsSchema, type PaginatedOrganizationMemberTitles, PaginatedOrganizationMemberTitlesSchema, type PaginatedOrganizationMembers, type PaginatedOrganizationMembersBasic, PaginatedOrganizationMembersBasicSchema, type PaginatedOrganizationMembersMed, PaginatedOrganizationMembersMedSchema, PaginatedOrganizationMembersResponseSchema, PaginatedOrganizationMembersSchema, type PaginatedOrganizationProductOptions, PaginatedOrganizationProductOptionsSchema, type PaginatedOrganizationProductWebhooks, PaginatedOrganizationProductWebhooksSchema, type PaginatedOrganizationVoucherCommands, PaginatedOrganizationVoucherCommandsSchema, type PaginatedOrganizations, PaginatedOrganizationsSchema, type PaginatedServiceClients, PaginatedServiceClientsSchema, PhysicalRewardBenefitSchema, PointExecutionEvidenceSchema, type PointExecutionState, PointExecutionStateSchema, PointReadinessSchema, type PointRequestMetadataInput, PointRequestMetadataSchema, PresignedPostSchema, type PromiseClient, type PromiseHubApiClient, type PromiseSpokeClient, type ReconcileEnsureActiveMembershipManualReviewInput, ReconcileEnsureActiveMembershipManualReviewSchema, type RequestEnsureActiveMembershipInput, RequestEnsureActiveMembershipSchema, type RequestPointDebitInput, RequestPointDebitSchema, type RequestPointLookupInput, RequestPointLookupSchema, type RequestSourceManagedMemberCreateInput, RequestSourceManagedMemberCreateSchema, type RequestSourceManagedMemberPreferenceUpdateInput, RequestSourceManagedMemberPreferenceUpdateSchema, type RequestSourceManagedMemberRenewalInput, RequestSourceManagedMemberRenewalSchema, type RequestSourceManagedMemberUpdateInput, RequestSourceManagedMemberUpdateSchema, type RequestVoucherIssueInput, RequestVoucherIssueSchema, type RequestVoucherLookupInput, RequestVoucherLookupSchema, RetryVoucherCommandSchema, type RevokeRewardInput, RevokeRewardSchema, type RewardCollectionLookup, RewardCollectionLookupSchema, type RewardLocation, RewardLocationSchema, type RewardMemberSession, type RewardMemberSessionInput, RewardMemberSessionInputSchema, RewardMemberSessionSchema, type RewardPresentation, RewardPresentationSchema, type SeedOrganizationMembersInput, SeedOrganizationMembersSchema, type ServiceClient, ServiceClientSchema, type SortDirection, SortDirectionSchema, type SourceContactPreference, SourceContactPreferenceSchema, type SourceManagedMemberLookupBy, SourceManagedMemberLookupBySchema, type SourceManagedMemberLookupCommandPayload, SourceManagedMemberLookupCommandPayloadSchema, SourceManagedMemberPreferenceUpdateCommandPayloadSchema, type SourceManagedMemberRenewalCommandPayload, SourceManagedMemberRenewalCommandPayloadSchema, SourceManagedMemberUpdateCommandPayloadSchema, SpokeHubApiError, type SpokeHubApiErrorBody, SpokeHubClientError, type SpokeHubErrorKind, type SpokeHubHttpErrorContext, type SpokeHubResult, type StaffReward, StaffRewardSchema, TimestampSchema, type TriggerOrganizationMemberSyncInput, TriggerOrganizationMemberSyncSchema, type UnauthorizedError, UnauthorizedErrorSchema, type UpdateGreengrassAgentInput, UpdateGreengrassAgentSchema, type UpdateGuestInput, UpdateGuestSchema, type UpdateMemberInput, UpdateMemberSchema, type UpdateMemberStatusCreditsInput, UpdateMemberStatusCreditsSchema, type UpdateOfferInput, UpdateOfferSchema, type UpdateOrganizationInput, type UpdateOrganizationPointTypeInput, UpdateOrganizationPointTypeSchema, type UpdateOrganizationProductWebhookInput, UpdateOrganizationProductWebhookSchema, UpdateOrganizationSchema, type UpdateRewardLocationInput, UpdateRewardLocationSchema, type UpdateServiceClientInput, UpdateServiceClientSchema, type UpsertMemberPointBalanceInput, UpsertMemberPointBalanceSchema, type UpsertOrganizationMemberSourceCsvMappingInput, UpsertOrganizationMemberSourceCsvMappingSchema, type UpsertOrganizationMemberSourceInput, UpsertOrganizationMemberSourceSchema, type UpsertOrganizationMemberSourceWebhookInput, UpsertOrganizationMemberSourceWebhookSchema, type UpsertOrganizationPointProviderInput, UpsertOrganizationPointProviderSchema, type UpsertOrganizationProductWebhookInput, UpsertOrganizationProductWebhookSchema, type UpsertOrganizationVoucherProviderInput, UpsertOrganizationVoucherProviderSchema, adminRoles, ensureActiveMembershipOutcomes, guestStatuses, isStaleAcceptedVoucherCommand, makeBadRequest, makeConflict, makeForbidden, makeHubApiClient, makeInternalServerError, makeNotFound, makeOnsiteResourceClient, makePromiseHubApiClient, makePromiseOnsiteResourceClient, makePromiseServiceHubApiClient, makePromiseSpokeClient, makeServiceHubApiClient, makeSpokeClient, makeUnauthorized, memberComputedStatuses, memberCreatedOrigins, memberPreferredContactMethods, memberRecordModes, memberSourceEnsureActiveMembershipEnabled, memberStatuses, offersGroup, organizationMemberSourceAgentCapabilities, organizationMemberSourceAgentStatuses, organizationMemberSourceBatchTransports, organizationMemberSourceCommandKinds, organizationMemberSourceCommandStatuses, organizationMemberSourceCsvImportStatuses, organizationMemberSourceLiveTransports, organizationMemberSourceManualTransports, organizationMemberSourceStatuses, organizationMemberSourceVendors, organizationMemberSourceWebhookDeliveryStatuses, organizationMemberSourceWebhookStatuses, organizationMemberSyncModes, organizationMemberSyncRunStatuses, organizationMemberSyncTransports, organizationMemberSyncTriggerKinds, organizationPointCommandKinds, organizationPointCommandStatuses, organizationPointProviderProviders, organizationPointProviderStatuses, organizationPointProviderTransports, organizationPointTypeStatuses, organizationProductWebhookDeliveryStatuses, organizationProductWebhookStatuses, organizationStatuses, organizationVoucherCommandKinds, organizationVoucherCommandStatuses, organizationVoucherProviderProviders, organizationVoucherProviderStatuses, organizationVoucherProviderTransports, resolveHubApiBaseUrl, rewardsGroup, voucherCommandRecoveryDelayMs };
|
|
20233
|
+
export { AddressSchema, type AdminSession, AdminSessionSchema, type AuthorizeEnsureActiveMembershipRenewalInput, AuthorizeEnsureActiveMembershipRenewalSchema, type BadRequestError, BadRequestErrorSchema, type BootstrapOrganizationMemberSourceAgentInput, type BootstrapOrganizationMemberSourceAgentResponse, BootstrapOrganizationMemberSourceAgentResponseSchema, BootstrapOrganizationMemberSourceAgentSchema, type BulkGetOrganizationMembersInput, BulkGetOrganizationMembersSchema, type BulkOrganizationMembersBasicResponse, BulkOrganizationMembersBasicResponseSchema, type BulkOrganizationMembersMedResponse, BulkOrganizationMembersMedResponseSchema, type BulkOrganizationMembersResponse, BulkOrganizationMembersResponseSchema, type BulkOrganizationMembersResponseUnion, BulkOrganizationMembersResponseUnionSchema, type CatalogueOffer, type CatalogueOfferBenefit, CatalogueOfferBenefitSchema, CatalogueOfferSchema, type ClaimOfferInput, ClaimOfferSchema, type CleanupOrganizationMembersInput, CleanupOrganizationMembersSchema, type CompleteOnsitePointCommandInput, CompleteOnsitePointCommandSchema, type CompleteOnsiteVoucherCommandInput, CompleteOnsiteVoucherCommandSchema, type ConfirmRewardCollectionInput, ConfirmRewardCollectionSchema, type ConflictError, ConflictErrorSchema, type ConvertOrganizationToDemoInput, ConvertOrganizationToDemoSchema, type CreateGuestInput, CreateGuestSchema, type CreateMemberInput, CreateMemberSchema, type CreateOfferInput, CreateOfferSchema, type CreateOrganizationInitialMembershipUploadInput, type CreateOrganizationInitialMembershipUploadResponse, CreateOrganizationInitialMembershipUploadResponseSchema, CreateOrganizationInitialMembershipUploadSchema, type CreateOrganizationInput, type CreateOrganizationMemberSourceCsvUploadInput, type CreateOrganizationMemberSourceCsvUploadResponse, CreateOrganizationMemberSourceCsvUploadResponseSchema, CreateOrganizationMemberSourceCsvUploadSchema, type CreateOrganizationPointTypeInput, CreateOrganizationPointTypeSchema, type CreateOrganizationProductOptionInput, CreateOrganizationProductOptionSchema, type CreateOrganizationProductWebhookInput, CreateOrganizationProductWebhookSchema, CreateOrganizationSchema, type CreateRewardLocationInput, CreateRewardLocationSchema, type CreateServiceClientInput, CreateServiceClientSchema, type CsvUploadReadiness, CsvUploadReadinessSchema, DateOnlySchema, type DeleteOrganizationInitialMembershipUploadResponse, DeleteOrganizationInitialMembershipUploadResponseSchema, type DeletePayload, DeletePayloadSchema, type DeleteServiceClientInput, DeleteServiceClientSchema, type EnsureActiveMembershipCommand, type EnsureActiveMembershipCommandPayload, EnsureActiveMembershipCommandPayloadSchema, EnsureActiveMembershipCommandSchema, type EnsureActiveMembershipManualReviewItem, EnsureActiveMembershipManualReviewItemSchema, type EnsureActiveMembershipManualReviewQueue, EnsureActiveMembershipManualReviewQueueSchema, type EnsureActiveMembershipMemberInput, EnsureActiveMembershipMemberSchema, EnsureActiveMembershipNonSuccessOutcomeSchema, type EnsureActiveMembershipNonSuccessResult, EnsureActiveMembershipNonSuccessResultSchema, type EnsureActiveMembershipOutcome, EnsureActiveMembershipOutcomeSchema, type EnsureActiveMembershipResponse, EnsureActiveMembershipResponseSchema, type EnsureActiveMembershipResult, EnsureActiveMembershipResultSchema, EnsureActiveMembershipSuccessOutcomeSchema, type EnsureActiveMembershipSuccessResult, EnsureActiveMembershipSuccessResultSchema, type EnsureActiveMembershipWorkflowProgress, EnsureActiveMembershipWorkflowProgressSchema, EnsureActiveMembershipWorkflowStepSchema, type EnsureActiveMembershipWorkflowStepState, EnsureActiveMembershipWorkflowStepStateSchema, type ForbiddenError, ForbiddenErrorSchema, GamingPermissionsSchema, type GreengrassAgentDevice, GreengrassAgentDeviceSchema, type GreengrassAgentUpdate, GreengrassAgentUpdateSchema, type Guest, type GuestContactMatch, GuestContactMatchSchema, GuestSchema, HubApi, type HubApiClient, type HubApiClientOptions, type HubApiCredentialOptions, type ImportedMemberRecord, ImportedMemberRecordSchema, type InternalServerError, InternalServerErrorSchema, IssuedPrivateKeySchema, type MailchimpSettingsInput, MailchimpSettingsInputSchema, type MailchimpSettingsResponse, MailchimpSettingsSchema, MarketingPreferencesSchema, type Member, type MemberBasic, type MemberBasicResponse, MemberBasicResponseSchema, MemberBasicSchema, type MemberCleanupResult, MemberCleanupResultSchema, type MemberContactMatch, MemberContactMatchSchema, type MemberFullResponse, MemberFullResponseSchema, type MemberMed, type MemberMedResponse, MemberMedResponseSchema, MemberMedSchema, type MemberPointBalance, MemberPointBalanceSchema, type MemberPointBalancesResponse, MemberPointBalancesResponseSchema, type MemberReplacementStatus, MemberReplacementStatusSchema, type MemberResponse, type MemberResponseMode, MemberResponseModeSchema, MemberResponseSchema, type MemberReward, MemberRewardSchema, MemberSchema, type MemberSeedBatch, MemberSeedBatchSchema, MemberSourceSecretNameSchema, type MemberStatusCredits, MemberStatusCreditsSchema, type NexusReferenceDataRequest, NexusReferenceDataRequestSchema, type NotFoundError, NotFoundErrorSchema, type Offer, type OfferBenefit, OfferBenefitSchema, type OfferEligibility, OfferEligibilitySchema, OfferSchema, OfferStatusSchema, type OnsiteAgentCommand, OnsiteAgentCommandSchema, type OnsiteAgentCompleteCustomFieldsInput, OnsiteAgentCompleteCustomFieldsSchema, type OnsiteAgentCompleteEnsureActiveMembershipInput, OnsiteAgentCompleteEnsureActiveMembershipSchema, type OnsiteAgentCompleteMemberCreateInput, OnsiteAgentCompleteMemberCreateSchema, type OnsiteAgentCompleteMemberLookupInput, OnsiteAgentCompleteMemberLookupSchema, type OnsiteAgentCompleteMemberRenewalInput, OnsiteAgentCompleteMemberRenewalSchema, type OnsiteAgentCompleteMemberUpdateInput, OnsiteAgentCompleteMemberUpdateSchema, type OnsiteAgentCompleteReferenceDataInput, OnsiteAgentCompleteReferenceDataSchema, OnsiteAgentCompleteRunErrorSchema, type OnsiteAgentCompleteRunInput, OnsiteAgentCompleteRunSchema, type OnsiteAgentCsvUploadTarget, OnsiteAgentCsvUploadTargetSchema, type OnsiteAgentCustomFieldsCommand, OnsiteAgentCustomFieldsCommandSchema, type OnsiteAgentEnsureActiveMembershipAuditEvent, OnsiteAgentEnsureActiveMembershipAuditEventSchema, type OnsiteAgentEnsureActiveMembershipCommand, OnsiteAgentEnsureActiveMembershipCommandSchema, OnsiteAgentEnsureActiveMembershipCompletionResultSchema, type OnsiteAgentEnsureActiveMembershipProgressUpdate, OnsiteAgentEnsureActiveMembershipProgressUpdateSchema, type OnsiteAgentHeartbeatInput, type OnsiteAgentHeartbeatResponse, OnsiteAgentHeartbeatResponseSchema, OnsiteAgentHeartbeatSchema, type OnsiteAgentIngestLiveFbiBatchInput, OnsiteAgentIngestLiveFbiBatchSchema, type OnsiteAgentMemberCreateCommand, OnsiteAgentMemberCreateCommandSchema, type OnsiteAgentMemberCreationResult, OnsiteAgentMemberCreationResultSchema, type OnsiteAgentMemberLookupCommand, OnsiteAgentMemberLookupCommandSchema, type OnsiteAgentMemberPreferenceUpdateCommand, OnsiteAgentMemberPreferenceUpdateCommandSchema, type OnsiteAgentMemberRenewalCommand, OnsiteAgentMemberRenewalCommandSchema, type OnsiteAgentMemberUpdateCommand, OnsiteAgentMemberUpdateCommandSchema, type OnsiteAgentReferenceDataCommand, OnsiteAgentReferenceDataCommandSchema, type OnsiteAgentRunProgressInput, OnsiteAgentRunProgressSchema, type OnsitePointCommand, OnsitePointCommandSchema, type OnsiteResourceCallRequest, OnsiteResourceCallRequestSchema, type OnsiteResourceCallResponse, OnsiteResourceCallResponseSchema, type OnsiteResourceClient, type OnsiteResourceEnsureActiveMembershipCallResponse, OnsiteResourceEnsureActiveMembershipCallResponseSchema, type OnsiteResourceMemberCallResponse, OnsiteResourceMemberCallResponseSchema, type OnsiteResourcePointCallResponse, OnsiteResourcePointCallResponseSchema, type OnsiteResourceVoucherCallResponse, OnsiteResourceVoucherCallResponseSchema, type OnsiteVoucherCommand, OnsiteVoucherCommandSchema, type Organization, type OrganizationCapabilities, OrganizationCapabilitiesSchema, type OrganizationCapability, OrganizationCapabilitySchema, type OrganizationInitialMembershipUploadDownload, OrganizationInitialMembershipUploadDownloadSchema, type OrganizationInitialMembershipUploads, OrganizationInitialMembershipUploadsSchema, type OrganizationMemberGender, OrganizationMemberGenderSchema, type OrganizationMemberMembershipType, OrganizationMemberMembershipTypeSchema, type OrganizationMemberRatingGrade, OrganizationMemberRatingGradeSchema, type OrganizationMemberSource, type OrganizationMemberSourceAgent, OrganizationMemberSourceAgentSchema, type OrganizationMemberSourceCommand, OrganizationMemberSourceCommandSchema, type OrganizationMemberSourceCsvImport, OrganizationMemberSourceCsvImportSchema, type OrganizationMemberSourceCsvMapping, OrganizationMemberSourceCsvMappingSchema, type OrganizationMemberSourceEnsureActiveMembershipConfig, OrganizationMemberSourceEnsureActiveMembershipConfigSchema, OrganizationMemberSourceSchema, OrganizationMemberSourceSecretInputSchema, type OrganizationMemberSourceWebhook, OrganizationMemberSourceWebhookSchema, type OrganizationMemberSourceWebhookUpsertResponse, OrganizationMemberSourceWebhookUpsertResponseSchema, type OrganizationMemberSummary, OrganizationMemberSummarySchema, type OrganizationMemberSyncRun, type OrganizationMemberSyncRunError, OrganizationMemberSyncRunErrorSchema, OrganizationMemberSyncRunSchema, OrganizationMemberSyncRunSummarySchema, type OrganizationMemberTitle, OrganizationMemberTitleSchema, type OrganizationMembersListResponse, type OrganizationMembersSearchField, OrganizationMembersSearchFieldSchema, type OrganizationMembersSortField, OrganizationMembersSortFieldSchema, type OrganizationMembersStatusFilter, OrganizationMembersStatusFilterSchema, type OrganizationPeopleContactLookupResponse, OrganizationPeopleContactLookupResponseSchema, type OrganizationPointCommand, OrganizationPointCommandResultSchema, OrganizationPointCommandSchema, type OrganizationPointProvider, OrganizationPointProviderSchema, type OrganizationPointType, OrganizationPointTypeSchema, type OrganizationPointTypesResponse, OrganizationPointTypesResponseSchema, type OrganizationProductOption, OrganizationProductOptionSchema, type OrganizationProductWebhook, OrganizationProductWebhookSchema, type OrganizationProductWebhookUpsertResponse, OrganizationProductWebhookUpsertResponseSchema, OrganizationSchema, type OrganizationVoucherCommand, type OrganizationVoucherCommandResult, OrganizationVoucherCommandResultSchema, OrganizationVoucherCommandSchema, type OrganizationVoucherIssueCommandResult, OrganizationVoucherIssueCommandResultSchema, type OrganizationVoucherLookupCommandResult, OrganizationVoucherLookupCommandResultSchema, type OrganizationVoucherProvider, OrganizationVoucherProviderSchema, OrganizationVoucherProviderSecretInputSchema, OrganizationVoucherProviderSecretNameSchema, type PaginatedGuests, PaginatedGuestsSchema, type PaginatedOrganizationMemberGenders, PaginatedOrganizationMemberGendersSchema, type PaginatedOrganizationMemberMembershipTypes, PaginatedOrganizationMemberMembershipTypesSchema, type PaginatedOrganizationMemberRatingGrades, PaginatedOrganizationMemberRatingGradesSchema, type PaginatedOrganizationMemberSourceCommands, PaginatedOrganizationMemberSourceCommandsSchema, type PaginatedOrganizationMemberSyncRuns, PaginatedOrganizationMemberSyncRunsSchema, type PaginatedOrganizationMemberTitles, PaginatedOrganizationMemberTitlesSchema, type PaginatedOrganizationMembers, type PaginatedOrganizationMembersBasic, PaginatedOrganizationMembersBasicSchema, type PaginatedOrganizationMembersMed, PaginatedOrganizationMembersMedSchema, PaginatedOrganizationMembersResponseSchema, PaginatedOrganizationMembersSchema, type PaginatedOrganizationProductOptions, PaginatedOrganizationProductOptionsSchema, type PaginatedOrganizationProductWebhooks, PaginatedOrganizationProductWebhooksSchema, type PaginatedOrganizationVoucherCommands, PaginatedOrganizationVoucherCommandsSchema, type PaginatedOrganizations, PaginatedOrganizationsSchema, type PaginatedServiceClients, PaginatedServiceClientsSchema, PhysicalRewardBenefitSchema, PointExecutionEvidenceSchema, type PointExecutionState, PointExecutionStateSchema, PointReadinessSchema, type PointRequestMetadataInput, PointRequestMetadataSchema, PresignedPostSchema, type PromiseClient, type PromiseHubApiClient, type PromiseSpokeClient, type ReconcileEnsureActiveMembershipManualReviewInput, ReconcileEnsureActiveMembershipManualReviewSchema, type RequestEnsureActiveMembershipInput, RequestEnsureActiveMembershipSchema, type RequestPointDebitInput, RequestPointDebitSchema, type RequestPointLookupInput, RequestPointLookupSchema, type RequestSourceManagedMemberCreateInput, RequestSourceManagedMemberCreateSchema, type RequestSourceManagedMemberPreferenceUpdateInput, RequestSourceManagedMemberPreferenceUpdateSchema, type RequestSourceManagedMemberRenewalInput, RequestSourceManagedMemberRenewalSchema, type RequestSourceManagedMemberUpdateInput, RequestSourceManagedMemberUpdateSchema, type RequestVoucherIssueInput, RequestVoucherIssueSchema, type RequestVoucherLookupInput, RequestVoucherLookupSchema, RetryVoucherCommandSchema, type RevokeRewardInput, RevokeRewardSchema, type RewardCollectionLookup, RewardCollectionLookupSchema, type RewardLocation, RewardLocationSchema, type RewardMemberSession, type RewardMemberSessionInput, RewardMemberSessionInputSchema, RewardMemberSessionSchema, type RewardPresentation, RewardPresentationSchema, type SeedOrganizationMembersInput, SeedOrganizationMembersSchema, type ServiceClient, ServiceClientSchema, type SortDirection, SortDirectionSchema, type SourceContactPreference, SourceContactPreferenceSchema, type SourceManagedMemberLookupBy, SourceManagedMemberLookupBySchema, type SourceManagedMemberLookupCommandPayload, SourceManagedMemberLookupCommandPayloadSchema, SourceManagedMemberPreferenceUpdateCommandPayloadSchema, type SourceManagedMemberRenewalCommandPayload, SourceManagedMemberRenewalCommandPayloadSchema, SourceManagedMemberUpdateCommandPayloadSchema, SpokeHubApiError, type SpokeHubApiErrorBody, SpokeHubClientError, type SpokeHubErrorKind, type SpokeHubHttpErrorContext, type SpokeHubResult, type StaffReward, StaffRewardSchema, TimestampSchema, type TriggerOrganizationMemberSyncInput, TriggerOrganizationMemberSyncSchema, type UnauthorizedError, UnauthorizedErrorSchema, type UpdateGreengrassAgentInput, UpdateGreengrassAgentSchema, type UpdateGuestInput, UpdateGuestSchema, type UpdateMemberInput, UpdateMemberSchema, type UpdateMemberStatusCreditsInput, UpdateMemberStatusCreditsSchema, type UpdateOfferInput, UpdateOfferSchema, type UpdateOrganizationInput, type UpdateOrganizationPointTypeInput, UpdateOrganizationPointTypeSchema, type UpdateOrganizationProductWebhookInput, UpdateOrganizationProductWebhookSchema, UpdateOrganizationSchema, type UpdateRewardLocationInput, UpdateRewardLocationSchema, type UpdateServiceClientInput, UpdateServiceClientSchema, type UpsertMemberPointBalanceInput, UpsertMemberPointBalanceSchema, type UpsertOrganizationMemberSourceCsvMappingInput, UpsertOrganizationMemberSourceCsvMappingSchema, type UpsertOrganizationMemberSourceInput, UpsertOrganizationMemberSourceSchema, type UpsertOrganizationMemberSourceWebhookInput, UpsertOrganizationMemberSourceWebhookSchema, type UpsertOrganizationPointProviderInput, UpsertOrganizationPointProviderSchema, type UpsertOrganizationProductWebhookInput, UpsertOrganizationProductWebhookSchema, type UpsertOrganizationVoucherProviderInput, UpsertOrganizationVoucherProviderSchema, adminRoles, ensureActiveMembershipOutcomes, guestStatuses, isStaleAcceptedVoucherCommand, makeBadRequest, makeConflict, makeForbidden, makeHubApiClient, makeInternalServerError, makeNotFound, makeOnsiteResourceClient, makePromiseHubApiClient, makePromiseOnsiteResourceClient, makePromiseServiceHubApiClient, makePromiseSpokeClient, makeServiceHubApiClient, makeSpokeClient, makeUnauthorized, memberComputedStatuses, memberCreatedOrigins, memberPreferredContactMethods, memberRecordModes, memberSourceEnsureActiveMembershipEnabled, memberStatuses, offersGroup, organizationMemberSourceAgentCapabilities, organizationMemberSourceAgentStatuses, organizationMemberSourceBatchTransports, organizationMemberSourceCommandKinds, organizationMemberSourceCommandStatuses, organizationMemberSourceCsvImportStatuses, organizationMemberSourceLiveTransports, organizationMemberSourceManualTransports, organizationMemberSourceStatuses, organizationMemberSourceVendors, organizationMemberSourceWebhookDeliveryStatuses, organizationMemberSourceWebhookStatuses, organizationMemberSyncModes, organizationMemberSyncRunStatuses, organizationMemberSyncTransports, organizationMemberSyncTriggerKinds, organizationPointCommandKinds, organizationPointCommandStatuses, organizationPointProviderProviders, organizationPointProviderStatuses, organizationPointProviderTransports, organizationPointTypeStatuses, organizationProductWebhookDeliveryStatuses, organizationProductWebhookStatuses, organizationStatuses, organizationVoucherCommandKinds, organizationVoucherCommandStatuses, organizationVoucherProviderProviders, organizationVoucherProviderStatuses, organizationVoucherProviderTransports, resolveHubApiBaseUrl, rewardsGroup, voucherCommandRecoveryDelayMs };
|