@spoketech/hub-client 0.1.5 → 0.1.8
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 +50 -7
- package/dist/index.d.ts +144 -121
- package/dist/index.js +138 -8
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/skills/spoke-hub-client/SKILL.md +2 -0
- package/skills/spoke-hub-client/references/workflows.md +22 -4
package/dist/index.d.ts
CHANGED
|
@@ -6528,8 +6528,9 @@ type DeletePayload = Schema.Schema.Type<typeof DeletePayloadSchema>;
|
|
|
6528
6528
|
type HubApiGroups = typeof HubApi extends HttpApi.HttpApi<any, infer Groups, any, any> ? Groups : never;
|
|
6529
6529
|
type HubApiError = typeof HubApi extends HttpApi.HttpApi<any, any, infer ApiError, any> ? ApiError : never;
|
|
6530
6530
|
type HubApiClient = HttpApiClient.Client<HubApiGroups, HubApiError, never>;
|
|
6531
|
+
type SpokeHubResult<T> = readonly [data: T, error: null] | readonly [data: null, error: SpokeHubClientError];
|
|
6531
6532
|
type PromiseClient<T> = {
|
|
6532
|
-
readonly [K in keyof T]: T[K] extends (...args: infer Args) => Effect.Effect<infer A, any, any> ? (...args: Args) => Promise<A
|
|
6533
|
+
readonly [K in keyof T]: T[K] extends (...args: infer Args) => Effect.Effect<infer A, any, any> ? (...args: Args) => Promise<SpokeHubResult<A>> : T[K] extends object ? PromiseClient<T[K]> : T[K];
|
|
6533
6534
|
};
|
|
6534
6535
|
type PromiseHubApiClient = PromiseClient<HubApiClient>;
|
|
6535
6536
|
interface HubApiClientOptions {
|
|
@@ -6543,6 +6544,28 @@ interface HubApiCredentialOptions extends HubApiClientOptions {
|
|
|
6543
6544
|
readonly clientId: string;
|
|
6544
6545
|
readonly privateKey: string;
|
|
6545
6546
|
}
|
|
6547
|
+
type SpokeHubApiErrorBody = {
|
|
6548
|
+
readonly code?: string;
|
|
6549
|
+
readonly message?: string;
|
|
6550
|
+
readonly [key: string]: unknown;
|
|
6551
|
+
};
|
|
6552
|
+
type SpokeHubErrorKind = "api" | "client" | "network" | "unknown";
|
|
6553
|
+
declare class SpokeHubClientError extends Error {
|
|
6554
|
+
readonly kind: SpokeHubErrorKind;
|
|
6555
|
+
readonly code?: string;
|
|
6556
|
+
readonly body?: SpokeHubApiErrorBody;
|
|
6557
|
+
readonly cause: unknown;
|
|
6558
|
+
constructor(input: {
|
|
6559
|
+
readonly kind: SpokeHubErrorKind;
|
|
6560
|
+
readonly message: string;
|
|
6561
|
+
readonly code?: string;
|
|
6562
|
+
readonly body?: SpokeHubApiErrorBody;
|
|
6563
|
+
readonly cause: unknown;
|
|
6564
|
+
});
|
|
6565
|
+
}
|
|
6566
|
+
declare class SpokeHubApiError extends SpokeHubClientError {
|
|
6567
|
+
constructor(body: SpokeHubApiErrorBody, cause: unknown);
|
|
6568
|
+
}
|
|
6546
6569
|
declare function resolveHubApiBaseUrl(baseUrl: string | URL, apiBasePath?: string): string;
|
|
6547
6570
|
declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<{
|
|
6548
6571
|
readonly auth: {
|
|
@@ -28187,54 +28210,54 @@ type VoucherCallResponse = Extract<OnsiteResourceCallResponse, {
|
|
|
28187
28210
|
}>;
|
|
28188
28211
|
type OnsiteResourceClient = ReturnType<typeof makeOnsiteResourceClient>;
|
|
28189
28212
|
declare function makeOnsiteResourceClient(client: PromiseHubApiClient): {
|
|
28190
|
-
readonly call: (input: OnsiteResourceCallInput) => Promise<OnsiteResourceCallResponse
|
|
28213
|
+
readonly call: (input: OnsiteResourceCallInput) => Promise<SpokeHubResult<OnsiteResourceCallResponse>>;
|
|
28191
28214
|
readonly members: {
|
|
28192
28215
|
readonly create: (input: WaitOptions & {
|
|
28193
28216
|
readonly payload: RequestSourceManagedMemberCreateInput;
|
|
28194
|
-
}) => Promise<MemberCallResponse
|
|
28217
|
+
}) => Promise<SpokeHubResult<MemberCallResponse>>;
|
|
28195
28218
|
readonly update: (input: WaitOptions & {
|
|
28196
28219
|
readonly memberId: string;
|
|
28197
28220
|
readonly payload: RequestSourceManagedMemberUpdateInput;
|
|
28198
|
-
}) => Promise<MemberCallResponse
|
|
28221
|
+
}) => Promise<SpokeHubResult<MemberCallResponse>>;
|
|
28199
28222
|
readonly renew: (input: WaitOptions & {
|
|
28200
28223
|
readonly memberId: string;
|
|
28201
28224
|
readonly payload: RequestSourceManagedMemberRenewalInput;
|
|
28202
|
-
}) => Promise<MemberCallResponse
|
|
28225
|
+
}) => Promise<SpokeHubResult<MemberCallResponse>>;
|
|
28203
28226
|
readonly lookup: (input: WaitOptions & {
|
|
28204
28227
|
readonly lookupBy: SourceManagedMemberLookupBy;
|
|
28205
28228
|
readonly lookupValue: string;
|
|
28206
|
-
}) => Promise<MemberCallResponse
|
|
28229
|
+
}) => Promise<SpokeHubResult<MemberCallResponse>>;
|
|
28207
28230
|
};
|
|
28208
28231
|
readonly vouchers: {
|
|
28209
28232
|
readonly issue: (input: WaitOptions & {
|
|
28210
28233
|
readonly payload: RequestVoucherIssueInput;
|
|
28211
|
-
}) => Promise<VoucherCallResponse
|
|
28234
|
+
}) => Promise<SpokeHubResult<VoucherCallResponse>>;
|
|
28212
28235
|
};
|
|
28213
28236
|
};
|
|
28214
28237
|
declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions) => Promise<{
|
|
28215
28238
|
readonly client: {
|
|
28216
|
-
readonly call: (input: OnsiteResourceCallInput) => Promise<OnsiteResourceCallResponse
|
|
28239
|
+
readonly call: (input: OnsiteResourceCallInput) => Promise<SpokeHubResult<OnsiteResourceCallResponse>>;
|
|
28217
28240
|
readonly members: {
|
|
28218
28241
|
readonly create: (input: WaitOptions & {
|
|
28219
28242
|
readonly payload: RequestSourceManagedMemberCreateInput;
|
|
28220
|
-
}) => Promise<MemberCallResponse
|
|
28243
|
+
}) => Promise<SpokeHubResult<MemberCallResponse>>;
|
|
28221
28244
|
readonly update: (input: WaitOptions & {
|
|
28222
28245
|
readonly memberId: string;
|
|
28223
28246
|
readonly payload: RequestSourceManagedMemberUpdateInput;
|
|
28224
|
-
}) => Promise<MemberCallResponse
|
|
28247
|
+
}) => Promise<SpokeHubResult<MemberCallResponse>>;
|
|
28225
28248
|
readonly renew: (input: WaitOptions & {
|
|
28226
28249
|
readonly memberId: string;
|
|
28227
28250
|
readonly payload: RequestSourceManagedMemberRenewalInput;
|
|
28228
|
-
}) => Promise<MemberCallResponse
|
|
28251
|
+
}) => Promise<SpokeHubResult<MemberCallResponse>>;
|
|
28229
28252
|
readonly lookup: (input: WaitOptions & {
|
|
28230
28253
|
readonly lookupBy: SourceManagedMemberLookupBy;
|
|
28231
28254
|
readonly lookupValue: string;
|
|
28232
|
-
}) => Promise<MemberCallResponse
|
|
28255
|
+
}) => Promise<SpokeHubResult<MemberCallResponse>>;
|
|
28233
28256
|
};
|
|
28234
28257
|
readonly vouchers: {
|
|
28235
28258
|
readonly issue: (input: WaitOptions & {
|
|
28236
28259
|
readonly payload: RequestVoucherIssueInput;
|
|
28237
|
-
}) => Promise<VoucherCallResponse
|
|
28260
|
+
}) => Promise<SpokeHubResult<VoucherCallResponse>>;
|
|
28238
28261
|
};
|
|
28239
28262
|
};
|
|
28240
28263
|
readonly hubClient: PromiseClient<{
|
|
@@ -35465,7 +35488,7 @@ type ListProductWebhooksInput = PageInput & {
|
|
|
35465
35488
|
type PromiseSpokeClient = ReturnType<typeof makeSpokeClient>;
|
|
35466
35489
|
declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
35467
35490
|
readonly organizations: {
|
|
35468
|
-
readonly list: (input?: ListOrganizationsInput) => Promise<{
|
|
35491
|
+
readonly list: (input?: ListOrganizationsInput) => Promise<SpokeHubResult<{
|
|
35469
35492
|
readonly name: string | null;
|
|
35470
35493
|
readonly items: readonly {
|
|
35471
35494
|
readonly status: "active" | "archived";
|
|
@@ -35485,8 +35508,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
35485
35508
|
readonly pageSize: number;
|
|
35486
35509
|
readonly total: number;
|
|
35487
35510
|
readonly totalPages: number;
|
|
35488
|
-
}
|
|
35489
|
-
readonly create: (input: CreateOrganizationInput) => Promise<{
|
|
35511
|
+
}>>;
|
|
35512
|
+
readonly create: (input: CreateOrganizationInput) => Promise<SpokeHubResult<{
|
|
35490
35513
|
readonly status: "active" | "archived";
|
|
35491
35514
|
readonly description: string | null;
|
|
35492
35515
|
readonly id: string;
|
|
@@ -35499,11 +35522,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
35499
35522
|
readonly createdAt: string;
|
|
35500
35523
|
readonly updatedAt: string;
|
|
35501
35524
|
readonly deletedAt: string | null;
|
|
35502
|
-
}
|
|
35525
|
+
}>>;
|
|
35503
35526
|
readonly update: (input: {
|
|
35504
35527
|
readonly organizationId: string;
|
|
35505
35528
|
readonly payload: UpdateOrganizationInput;
|
|
35506
|
-
}) => Promise<{
|
|
35529
|
+
}) => Promise<SpokeHubResult<{
|
|
35507
35530
|
readonly status: "active" | "archived";
|
|
35508
35531
|
readonly description: string | null;
|
|
35509
35532
|
readonly id: string;
|
|
@@ -35516,13 +35539,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
35516
35539
|
readonly createdAt: string;
|
|
35517
35540
|
readonly updatedAt: string;
|
|
35518
35541
|
readonly deletedAt: string | null;
|
|
35519
|
-
}
|
|
35542
|
+
}>>;
|
|
35520
35543
|
readonly delete: (input: {
|
|
35521
35544
|
readonly organizationId: string;
|
|
35522
35545
|
readonly payload: DeletePayload;
|
|
35523
|
-
}) => Promise<void
|
|
35546
|
+
}) => Promise<SpokeHubResult<void>>;
|
|
35524
35547
|
readonly productOptions: {
|
|
35525
|
-
readonly list: (input?: PageInput) => Promise<{
|
|
35548
|
+
readonly list: (input?: PageInput) => Promise<SpokeHubResult<{
|
|
35526
35549
|
readonly items: readonly {
|
|
35527
35550
|
readonly id: string;
|
|
35528
35551
|
readonly slug: string;
|
|
@@ -35535,20 +35558,20 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
35535
35558
|
readonly pageSize: number;
|
|
35536
35559
|
readonly total: number;
|
|
35537
35560
|
readonly totalPages: number;
|
|
35538
|
-
}
|
|
35561
|
+
}>>;
|
|
35539
35562
|
readonly create: (input: {
|
|
35540
35563
|
readonly slug: string;
|
|
35541
35564
|
readonly name: string;
|
|
35542
|
-
}) => Promise<{
|
|
35565
|
+
}) => Promise<SpokeHubResult<{
|
|
35543
35566
|
readonly id: string;
|
|
35544
35567
|
readonly slug: string;
|
|
35545
35568
|
readonly name: string;
|
|
35546
35569
|
readonly createdAt: string;
|
|
35547
35570
|
readonly updatedAt: string;
|
|
35548
35571
|
readonly deletedAt: string | null;
|
|
35549
|
-
}
|
|
35572
|
+
}>>;
|
|
35550
35573
|
readonly webhooks: {
|
|
35551
|
-
readonly list: (input?: ListProductWebhooksInput) => Promise<{
|
|
35574
|
+
readonly list: (input?: ListProductWebhooksInput) => Promise<SpokeHubResult<{
|
|
35552
35575
|
readonly organizationProductOptionId: string | null;
|
|
35553
35576
|
readonly items: readonly {
|
|
35554
35577
|
readonly status: "active" | "disabled";
|
|
@@ -35567,10 +35590,10 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
35567
35590
|
readonly pageSize: number;
|
|
35568
35591
|
readonly total: number;
|
|
35569
35592
|
readonly totalPages: number;
|
|
35570
|
-
}
|
|
35593
|
+
}>>;
|
|
35571
35594
|
readonly get: (input: {
|
|
35572
35595
|
readonly organizationProductOptionId: string;
|
|
35573
|
-
}) => Promise<{
|
|
35596
|
+
}) => Promise<SpokeHubResult<{
|
|
35574
35597
|
readonly status: "active" | "disabled";
|
|
35575
35598
|
readonly id: string;
|
|
35576
35599
|
readonly createdAt: string;
|
|
@@ -35582,11 +35605,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
35582
35605
|
readonly lastDeliveredAt: string | null;
|
|
35583
35606
|
readonly lastDeliveryStatus: "success" | "failure" | null;
|
|
35584
35607
|
readonly lastDeliveryError: string | null;
|
|
35585
|
-
} | null
|
|
35608
|
+
} | null>>;
|
|
35586
35609
|
readonly upsert: (input: {
|
|
35587
35610
|
readonly organizationProductOptionId: string;
|
|
35588
35611
|
readonly payload: UpsertOrganizationProductWebhookInput;
|
|
35589
|
-
}) => Promise<{
|
|
35612
|
+
}) => Promise<SpokeHubResult<{
|
|
35590
35613
|
readonly webhook: {
|
|
35591
35614
|
readonly status: "active" | "disabled";
|
|
35592
35615
|
readonly id: string;
|
|
@@ -35601,13 +35624,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
35601
35624
|
readonly lastDeliveryError: string | null;
|
|
35602
35625
|
};
|
|
35603
35626
|
readonly signingSecret: string | null;
|
|
35604
|
-
}
|
|
35627
|
+
}>>;
|
|
35605
35628
|
};
|
|
35606
35629
|
};
|
|
35607
35630
|
};
|
|
35608
35631
|
readonly members: {
|
|
35609
|
-
readonly list: (input: ListMembersInput) => Promise<OrganizationMembersListResponse
|
|
35610
|
-
readonly get: (input: GetMemberInput) => Promise<{
|
|
35632
|
+
readonly list: (input: ListMembersInput) => Promise<SpokeHubResult<OrganizationMembersListResponse>>;
|
|
35633
|
+
readonly get: (input: GetMemberInput) => Promise<SpokeHubResult<{
|
|
35611
35634
|
readonly email: string | null;
|
|
35612
35635
|
readonly status: "active" | "archived" | "suspended" | "expired";
|
|
35613
35636
|
readonly id: string;
|
|
@@ -35711,11 +35734,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
35711
35734
|
readonly dob: string | null;
|
|
35712
35735
|
readonly statusCredits: number;
|
|
35713
35736
|
readonly responseMode: "basic";
|
|
35714
|
-
}
|
|
35737
|
+
}>>;
|
|
35715
35738
|
readonly bulkGet: (input: {
|
|
35716
35739
|
readonly organizationId: string;
|
|
35717
35740
|
readonly payload: BulkGetOrganizationMembersInput;
|
|
35718
|
-
}) => Promise<{
|
|
35741
|
+
}) => Promise<SpokeHubResult<{
|
|
35719
35742
|
readonly items: readonly {
|
|
35720
35743
|
readonly email: string | null;
|
|
35721
35744
|
readonly status: "active" | "archived" | "suspended" | "expired";
|
|
@@ -35831,11 +35854,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
35831
35854
|
readonly responseMode: "basic";
|
|
35832
35855
|
readonly requestedIds: readonly string[];
|
|
35833
35856
|
readonly missingIds: readonly string[];
|
|
35834
|
-
}
|
|
35857
|
+
}>>;
|
|
35835
35858
|
readonly create: (input: {
|
|
35836
35859
|
readonly organizationId: string;
|
|
35837
35860
|
readonly payload: CreateMemberInput;
|
|
35838
|
-
}) => Promise<{
|
|
35861
|
+
}) => Promise<SpokeHubResult<{
|
|
35839
35862
|
readonly email: string | null;
|
|
35840
35863
|
readonly status: "active" | "archived" | "suspended" | "expired";
|
|
35841
35864
|
readonly id: string;
|
|
@@ -35898,12 +35921,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
35898
35921
|
readonly customFields: {
|
|
35899
35922
|
readonly [x: string]: unknown;
|
|
35900
35923
|
};
|
|
35901
|
-
}
|
|
35924
|
+
}>>;
|
|
35902
35925
|
readonly update: (input: {
|
|
35903
35926
|
readonly organizationId: string;
|
|
35904
35927
|
readonly memberId: string;
|
|
35905
35928
|
readonly payload: UpdateMemberInput;
|
|
35906
|
-
}) => Promise<{
|
|
35929
|
+
}) => Promise<SpokeHubResult<{
|
|
35907
35930
|
readonly email: string | null;
|
|
35908
35931
|
readonly status: "active" | "archived" | "suspended" | "expired";
|
|
35909
35932
|
readonly id: string;
|
|
@@ -35966,37 +35989,37 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
35966
35989
|
readonly customFields: {
|
|
35967
35990
|
readonly [x: string]: unknown;
|
|
35968
35991
|
};
|
|
35969
|
-
}
|
|
35992
|
+
}>>;
|
|
35970
35993
|
readonly delete: (input: {
|
|
35971
35994
|
readonly organizationId: string;
|
|
35972
35995
|
readonly memberId: string;
|
|
35973
35996
|
readonly payload: DeletePayload;
|
|
35974
|
-
}) => Promise<void
|
|
35997
|
+
}) => Promise<SpokeHubResult<void>>;
|
|
35975
35998
|
readonly statusCredits: {
|
|
35976
35999
|
readonly get: (input: {
|
|
35977
36000
|
readonly organizationId: string;
|
|
35978
36001
|
readonly memberId: string;
|
|
35979
|
-
}) => Promise<{
|
|
36002
|
+
}) => Promise<SpokeHubResult<{
|
|
35980
36003
|
readonly updatedAt: string;
|
|
35981
36004
|
readonly organizationId: string;
|
|
35982
36005
|
readonly memberId: string;
|
|
35983
36006
|
readonly statusCredits: number;
|
|
35984
|
-
}
|
|
36007
|
+
}>>;
|
|
35985
36008
|
readonly update: (input: {
|
|
35986
36009
|
readonly organizationId: string;
|
|
35987
36010
|
readonly memberId: string;
|
|
35988
36011
|
readonly payload: UpdateMemberStatusCreditsInput;
|
|
35989
|
-
}) => Promise<{
|
|
36012
|
+
}) => Promise<SpokeHubResult<{
|
|
35990
36013
|
readonly updatedAt: string;
|
|
35991
36014
|
readonly organizationId: string;
|
|
35992
36015
|
readonly memberId: string;
|
|
35993
36016
|
readonly statusCredits: number;
|
|
35994
|
-
}
|
|
36017
|
+
}>>;
|
|
35995
36018
|
};
|
|
35996
36019
|
readonly metadata: {
|
|
35997
36020
|
readonly ratingGrades: (input: PageInput & {
|
|
35998
36021
|
readonly organizationId: string;
|
|
35999
|
-
}) => Promise<{
|
|
36022
|
+
}) => Promise<SpokeHubResult<{
|
|
36000
36023
|
readonly items: readonly {
|
|
36001
36024
|
readonly ratingGrade: string | null;
|
|
36002
36025
|
readonly ratingGradeId: string | null;
|
|
@@ -36005,10 +36028,10 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36005
36028
|
readonly pageSize: number;
|
|
36006
36029
|
readonly total: number;
|
|
36007
36030
|
readonly totalPages: number;
|
|
36008
|
-
}
|
|
36031
|
+
}>>;
|
|
36009
36032
|
readonly membershipTypes: (input: PageInput & {
|
|
36010
36033
|
readonly organizationId: string;
|
|
36011
|
-
}) => Promise<{
|
|
36034
|
+
}) => Promise<SpokeHubResult<{
|
|
36012
36035
|
readonly items: readonly {
|
|
36013
36036
|
readonly membershipType: string | null;
|
|
36014
36037
|
readonly membershipTypeId: string | null;
|
|
@@ -36017,10 +36040,10 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36017
36040
|
readonly pageSize: number;
|
|
36018
36041
|
readonly total: number;
|
|
36019
36042
|
readonly totalPages: number;
|
|
36020
|
-
}
|
|
36043
|
+
}>>;
|
|
36021
36044
|
readonly titles: (input: PageInput & {
|
|
36022
36045
|
readonly organizationId: string;
|
|
36023
|
-
}) => Promise<{
|
|
36046
|
+
}) => Promise<SpokeHubResult<{
|
|
36024
36047
|
readonly items: readonly {
|
|
36025
36048
|
readonly title: string;
|
|
36026
36049
|
}[];
|
|
@@ -36028,10 +36051,10 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36028
36051
|
readonly pageSize: number;
|
|
36029
36052
|
readonly total: number;
|
|
36030
36053
|
readonly totalPages: number;
|
|
36031
|
-
}
|
|
36054
|
+
}>>;
|
|
36032
36055
|
readonly genders: (input: PageInput & {
|
|
36033
36056
|
readonly organizationId: string;
|
|
36034
|
-
}) => Promise<{
|
|
36057
|
+
}) => Promise<SpokeHubResult<{
|
|
36035
36058
|
readonly items: readonly {
|
|
36036
36059
|
readonly gender: string;
|
|
36037
36060
|
}[];
|
|
@@ -36039,13 +36062,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36039
36062
|
readonly pageSize: number;
|
|
36040
36063
|
readonly total: number;
|
|
36041
36064
|
readonly totalPages: number;
|
|
36042
|
-
}
|
|
36065
|
+
}>>;
|
|
36043
36066
|
};
|
|
36044
36067
|
readonly sourceRequests: {
|
|
36045
36068
|
readonly create: (input: {
|
|
36046
36069
|
readonly organizationId: string;
|
|
36047
36070
|
readonly payload: RequestSourceManagedMemberCreateInput;
|
|
36048
|
-
}) => Promise<{
|
|
36071
|
+
}) => Promise<SpokeHubResult<{
|
|
36049
36072
|
readonly status: "requested" | "accepted" | "completed" | "failed";
|
|
36050
36073
|
readonly id: string;
|
|
36051
36074
|
readonly createdAt: string;
|
|
@@ -36065,12 +36088,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36065
36088
|
readonly completedAt: string | null;
|
|
36066
36089
|
readonly organizationMemberSourceId: string;
|
|
36067
36090
|
readonly organizationMemberSourceAgentId: string | null;
|
|
36068
|
-
}
|
|
36091
|
+
}>>;
|
|
36069
36092
|
readonly update: (input: {
|
|
36070
36093
|
readonly organizationId: string;
|
|
36071
36094
|
readonly memberId: string;
|
|
36072
36095
|
readonly payload: RequestSourceManagedMemberUpdateInput;
|
|
36073
|
-
}) => Promise<{
|
|
36096
|
+
}) => Promise<SpokeHubResult<{
|
|
36074
36097
|
readonly status: "requested" | "accepted" | "completed" | "failed";
|
|
36075
36098
|
readonly id: string;
|
|
36076
36099
|
readonly createdAt: string;
|
|
@@ -36090,12 +36113,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36090
36113
|
readonly completedAt: string | null;
|
|
36091
36114
|
readonly organizationMemberSourceId: string;
|
|
36092
36115
|
readonly organizationMemberSourceAgentId: string | null;
|
|
36093
|
-
}
|
|
36116
|
+
}>>;
|
|
36094
36117
|
readonly renew: (input: {
|
|
36095
36118
|
readonly organizationId: string;
|
|
36096
36119
|
readonly memberId: string;
|
|
36097
36120
|
readonly payload: RequestSourceManagedMemberRenewalInput;
|
|
36098
|
-
}) => Promise<{
|
|
36121
|
+
}) => Promise<SpokeHubResult<{
|
|
36099
36122
|
readonly status: "requested" | "accepted" | "completed" | "failed";
|
|
36100
36123
|
readonly id: string;
|
|
36101
36124
|
readonly createdAt: string;
|
|
@@ -36115,12 +36138,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36115
36138
|
readonly completedAt: string | null;
|
|
36116
36139
|
readonly organizationMemberSourceId: string;
|
|
36117
36140
|
readonly organizationMemberSourceAgentId: string | null;
|
|
36118
|
-
}
|
|
36141
|
+
}>>;
|
|
36119
36142
|
readonly lookup: (input: {
|
|
36120
36143
|
readonly organizationId: string;
|
|
36121
36144
|
readonly lookupBy: SourceManagedMemberLookupBy;
|
|
36122
36145
|
readonly lookupValue: string;
|
|
36123
|
-
}) => Promise<{
|
|
36146
|
+
}) => Promise<SpokeHubResult<{
|
|
36124
36147
|
readonly status: "requested" | "accepted" | "completed" | "failed";
|
|
36125
36148
|
readonly id: string;
|
|
36126
36149
|
readonly createdAt: string;
|
|
@@ -36140,13 +36163,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36140
36163
|
readonly completedAt: string | null;
|
|
36141
36164
|
readonly organizationMemberSourceId: string;
|
|
36142
36165
|
readonly organizationMemberSourceAgentId: string | null;
|
|
36143
|
-
}
|
|
36166
|
+
}>>;
|
|
36144
36167
|
};
|
|
36145
36168
|
};
|
|
36146
36169
|
readonly memberSources: {
|
|
36147
36170
|
readonly get: (input: {
|
|
36148
36171
|
readonly organizationId: string;
|
|
36149
|
-
}) => Promise<{
|
|
36172
|
+
}) => Promise<SpokeHubResult<{
|
|
36150
36173
|
readonly status: "active" | "paused" | "disabled";
|
|
36151
36174
|
readonly id: string;
|
|
36152
36175
|
readonly createdAt: string;
|
|
@@ -36191,11 +36214,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36191
36214
|
readonly lastHeartbeatAt: string | null;
|
|
36192
36215
|
readonly lastVersion: string | null;
|
|
36193
36216
|
} | null;
|
|
36194
|
-
} | null
|
|
36217
|
+
} | null>>;
|
|
36195
36218
|
readonly upsert: (input: {
|
|
36196
36219
|
readonly organizationId: string;
|
|
36197
36220
|
readonly payload: UpsertOrganizationMemberSourceInput;
|
|
36198
|
-
}) => Promise<{
|
|
36221
|
+
}) => Promise<SpokeHubResult<{
|
|
36199
36222
|
readonly status: "active" | "paused" | "disabled";
|
|
36200
36223
|
readonly id: string;
|
|
36201
36224
|
readonly createdAt: string;
|
|
@@ -36240,11 +36263,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36240
36263
|
readonly lastHeartbeatAt: string | null;
|
|
36241
36264
|
readonly lastVersion: string | null;
|
|
36242
36265
|
} | null;
|
|
36243
|
-
}
|
|
36266
|
+
}>>;
|
|
36244
36267
|
readonly bootstrapAgent: (input: {
|
|
36245
36268
|
readonly organizationId: string;
|
|
36246
36269
|
readonly payload: BootstrapOrganizationMemberSourceAgentInput;
|
|
36247
|
-
}) => Promise<{
|
|
36270
|
+
}) => Promise<SpokeHubResult<{
|
|
36248
36271
|
readonly agent: {
|
|
36249
36272
|
readonly status: "active" | "paused" | "disabled";
|
|
36250
36273
|
readonly id: string;
|
|
@@ -36267,10 +36290,10 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36267
36290
|
readonly lastVersion: string | null;
|
|
36268
36291
|
};
|
|
36269
36292
|
readonly privateKey: string;
|
|
36270
|
-
}
|
|
36293
|
+
}>>;
|
|
36271
36294
|
readonly csvUploadReadiness: (input: {
|
|
36272
36295
|
readonly organizationId: string;
|
|
36273
|
-
}) => Promise<{
|
|
36296
|
+
}) => Promise<SpokeHubResult<{
|
|
36274
36297
|
readonly organizationId: string;
|
|
36275
36298
|
readonly organizationMemberSourceId: string | null;
|
|
36276
36299
|
readonly mapping: {
|
|
@@ -36337,11 +36360,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36337
36360
|
readonly bucketName: string | null;
|
|
36338
36361
|
readonly keyPrefix: string | null;
|
|
36339
36362
|
readonly reason: string | null;
|
|
36340
|
-
}
|
|
36363
|
+
}>>;
|
|
36341
36364
|
readonly csvMapping: {
|
|
36342
36365
|
readonly get: (input: {
|
|
36343
36366
|
readonly organizationId: string;
|
|
36344
|
-
}) => Promise<{
|
|
36367
|
+
}) => Promise<SpokeHubResult<{
|
|
36345
36368
|
readonly id: string;
|
|
36346
36369
|
readonly createdAt: string;
|
|
36347
36370
|
readonly updatedAt: string;
|
|
@@ -36398,11 +36421,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36398
36421
|
readonly marketingSms?: string | null | undefined;
|
|
36399
36422
|
readonly marketingPost?: string | null | undefined;
|
|
36400
36423
|
};
|
|
36401
|
-
} | null
|
|
36424
|
+
} | null>>;
|
|
36402
36425
|
readonly upsert: (input: {
|
|
36403
36426
|
readonly organizationId: string;
|
|
36404
36427
|
readonly payload: UpsertOrganizationMemberSourceCsvMappingInput;
|
|
36405
|
-
}) => Promise<{
|
|
36428
|
+
}) => Promise<SpokeHubResult<{
|
|
36406
36429
|
readonly id: string;
|
|
36407
36430
|
readonly createdAt: string;
|
|
36408
36431
|
readonly updatedAt: string;
|
|
@@ -36459,13 +36482,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36459
36482
|
readonly marketingSms?: string | null | undefined;
|
|
36460
36483
|
readonly marketingPost?: string | null | undefined;
|
|
36461
36484
|
};
|
|
36462
|
-
}
|
|
36485
|
+
}>>;
|
|
36463
36486
|
};
|
|
36464
36487
|
readonly csvUploads: {
|
|
36465
36488
|
readonly create: (input: {
|
|
36466
36489
|
readonly organizationId: string;
|
|
36467
36490
|
readonly payload: CreateOrganizationMemberSourceCsvUploadInput;
|
|
36468
|
-
}) => Promise<{
|
|
36491
|
+
}) => Promise<SpokeHubResult<{
|
|
36469
36492
|
readonly mapping: {
|
|
36470
36493
|
readonly id: string;
|
|
36471
36494
|
readonly createdAt: string;
|
|
@@ -36549,12 +36572,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36549
36572
|
readonly [x: string]: string;
|
|
36550
36573
|
};
|
|
36551
36574
|
};
|
|
36552
|
-
}
|
|
36575
|
+
}>>;
|
|
36553
36576
|
};
|
|
36554
36577
|
readonly webhooks: {
|
|
36555
36578
|
readonly get: (input: {
|
|
36556
36579
|
readonly organizationId: string;
|
|
36557
|
-
}) => Promise<{
|
|
36580
|
+
}) => Promise<SpokeHubResult<{
|
|
36558
36581
|
readonly status: "active" | "disabled";
|
|
36559
36582
|
readonly id: string;
|
|
36560
36583
|
readonly createdAt: string;
|
|
@@ -36567,11 +36590,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36567
36590
|
readonly lastDeliveryError: string | null;
|
|
36568
36591
|
readonly organizationId: string;
|
|
36569
36592
|
readonly organizationMemberSourceId: string;
|
|
36570
|
-
} | null
|
|
36593
|
+
} | null>>;
|
|
36571
36594
|
readonly upsert: (input: {
|
|
36572
36595
|
readonly organizationId: string;
|
|
36573
36596
|
readonly payload: UpsertOrganizationMemberSourceWebhookInput;
|
|
36574
|
-
}) => Promise<{
|
|
36597
|
+
}) => Promise<SpokeHubResult<{
|
|
36575
36598
|
readonly webhook: {
|
|
36576
36599
|
readonly status: "active" | "disabled";
|
|
36577
36600
|
readonly id: string;
|
|
@@ -36587,12 +36610,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36587
36610
|
readonly organizationMemberSourceId: string;
|
|
36588
36611
|
};
|
|
36589
36612
|
readonly signingSecret: string | null;
|
|
36590
|
-
}
|
|
36613
|
+
}>>;
|
|
36591
36614
|
};
|
|
36592
36615
|
readonly runs: {
|
|
36593
36616
|
readonly list: (input: PageInput & {
|
|
36594
36617
|
readonly organizationId: string;
|
|
36595
|
-
}) => Promise<{
|
|
36618
|
+
}) => Promise<SpokeHubResult<{
|
|
36596
36619
|
readonly items: readonly {
|
|
36597
36620
|
readonly status: "success" | "failure" | "pending" | "running" | "partial_failure";
|
|
36598
36621
|
readonly id: string;
|
|
@@ -36644,11 +36667,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36644
36667
|
readonly pageSize: number;
|
|
36645
36668
|
readonly total: number;
|
|
36646
36669
|
readonly totalPages: number;
|
|
36647
|
-
}
|
|
36670
|
+
}>>;
|
|
36648
36671
|
readonly trigger: (input: {
|
|
36649
36672
|
readonly organizationId: string;
|
|
36650
36673
|
readonly payload: TriggerOrganizationMemberSyncInput;
|
|
36651
|
-
}) => Promise<{
|
|
36674
|
+
}) => Promise<SpokeHubResult<{
|
|
36652
36675
|
readonly status: "success" | "failure" | "pending" | "running" | "partial_failure";
|
|
36653
36676
|
readonly id: string;
|
|
36654
36677
|
readonly createdAt: string;
|
|
@@ -36694,12 +36717,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36694
36717
|
readonly lineNumber: number | null;
|
|
36695
36718
|
readonly occurredAt: string;
|
|
36696
36719
|
}[];
|
|
36697
|
-
}
|
|
36720
|
+
}>>;
|
|
36698
36721
|
};
|
|
36699
36722
|
readonly commands: {
|
|
36700
36723
|
readonly list: (input: PageInput & {
|
|
36701
36724
|
readonly organizationId: string;
|
|
36702
|
-
}) => Promise<{
|
|
36725
|
+
}) => Promise<SpokeHubResult<{
|
|
36703
36726
|
readonly items: readonly {
|
|
36704
36727
|
readonly status: "requested" | "accepted" | "completed" | "failed";
|
|
36705
36728
|
readonly id: string;
|
|
@@ -36725,13 +36748,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36725
36748
|
readonly pageSize: number;
|
|
36726
36749
|
readonly total: number;
|
|
36727
36750
|
readonly totalPages: number;
|
|
36728
|
-
}
|
|
36751
|
+
}>>;
|
|
36729
36752
|
};
|
|
36730
36753
|
};
|
|
36731
36754
|
readonly points: {
|
|
36732
36755
|
readonly listTypes: (input: {
|
|
36733
36756
|
readonly organizationId: string;
|
|
36734
|
-
}) => Promise<{
|
|
36757
|
+
}) => Promise<SpokeHubResult<{
|
|
36735
36758
|
readonly items: readonly {
|
|
36736
36759
|
readonly code: string;
|
|
36737
36760
|
readonly status: "active" | "archived";
|
|
@@ -36745,7 +36768,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36745
36768
|
readonly externalSystemId: string | null;
|
|
36746
36769
|
readonly pointsPerDollar: number | null;
|
|
36747
36770
|
}[];
|
|
36748
|
-
}
|
|
36771
|
+
}>>;
|
|
36749
36772
|
readonly createType: (input: {
|
|
36750
36773
|
readonly organizationId: string;
|
|
36751
36774
|
readonly payload: {
|
|
@@ -36756,7 +36779,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36756
36779
|
readonly description?: string | null;
|
|
36757
36780
|
readonly status?: "active" | "archived";
|
|
36758
36781
|
};
|
|
36759
|
-
}) => Promise<{
|
|
36782
|
+
}) => Promise<SpokeHubResult<{
|
|
36760
36783
|
readonly code: string;
|
|
36761
36784
|
readonly status: "active" | "archived";
|
|
36762
36785
|
readonly description: string | null;
|
|
@@ -36768,12 +36791,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36768
36791
|
readonly organizationId: string;
|
|
36769
36792
|
readonly externalSystemId: string | null;
|
|
36770
36793
|
readonly pointsPerDollar: number | null;
|
|
36771
|
-
}
|
|
36794
|
+
}>>;
|
|
36772
36795
|
readonly balances: {
|
|
36773
36796
|
readonly list: (input: {
|
|
36774
36797
|
readonly organizationId: string;
|
|
36775
36798
|
readonly memberId: string;
|
|
36776
|
-
}) => Promise<{
|
|
36799
|
+
}) => Promise<SpokeHubResult<{
|
|
36777
36800
|
readonly organizationId: string;
|
|
36778
36801
|
readonly memberId: string;
|
|
36779
36802
|
readonly items: readonly {
|
|
@@ -36786,13 +36809,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36786
36809
|
readonly pointTypeId: string;
|
|
36787
36810
|
readonly balance: number;
|
|
36788
36811
|
}[];
|
|
36789
|
-
}
|
|
36812
|
+
}>>;
|
|
36790
36813
|
readonly upsert: (input: {
|
|
36791
36814
|
readonly organizationId: string;
|
|
36792
36815
|
readonly memberId: string;
|
|
36793
36816
|
readonly pointTypeId: string;
|
|
36794
36817
|
readonly payload: UpsertMemberPointBalanceInput;
|
|
36795
|
-
}) => Promise<{
|
|
36818
|
+
}) => Promise<SpokeHubResult<{
|
|
36796
36819
|
readonly code: string;
|
|
36797
36820
|
readonly description: string | null;
|
|
36798
36821
|
readonly name: string;
|
|
@@ -36801,13 +36824,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36801
36824
|
readonly memberId: string;
|
|
36802
36825
|
readonly pointTypeId: string;
|
|
36803
36826
|
readonly balance: number;
|
|
36804
|
-
}
|
|
36827
|
+
}>>;
|
|
36805
36828
|
};
|
|
36806
36829
|
};
|
|
36807
36830
|
readonly vouchers: {
|
|
36808
36831
|
readonly getProvider: (input: {
|
|
36809
36832
|
readonly organizationId: string;
|
|
36810
|
-
}) => Promise<{
|
|
36833
|
+
}) => Promise<SpokeHubResult<{
|
|
36811
36834
|
readonly status: "active" | "disabled";
|
|
36812
36835
|
readonly id: string;
|
|
36813
36836
|
readonly createdAt: string;
|
|
@@ -36824,11 +36847,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36824
36847
|
readonly name: string;
|
|
36825
36848
|
}[];
|
|
36826
36849
|
readonly lastError: string | null;
|
|
36827
|
-
} | null
|
|
36850
|
+
} | null>>;
|
|
36828
36851
|
readonly upsertProvider: (input: {
|
|
36829
36852
|
readonly organizationId: string;
|
|
36830
36853
|
readonly payload: UpsertOrganizationVoucherProviderInput;
|
|
36831
|
-
}) => Promise<{
|
|
36854
|
+
}) => Promise<SpokeHubResult<{
|
|
36832
36855
|
readonly status: "active" | "disabled";
|
|
36833
36856
|
readonly id: string;
|
|
36834
36857
|
readonly createdAt: string;
|
|
@@ -36845,11 +36868,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36845
36868
|
readonly name: string;
|
|
36846
36869
|
}[];
|
|
36847
36870
|
readonly lastError: string | null;
|
|
36848
|
-
}
|
|
36871
|
+
}>>;
|
|
36849
36872
|
readonly requestIssue: (input: {
|
|
36850
36873
|
readonly organizationId: string;
|
|
36851
36874
|
readonly payload: RequestVoucherIssueInput;
|
|
36852
|
-
}) => Promise<{
|
|
36875
|
+
}) => Promise<SpokeHubResult<{
|
|
36853
36876
|
readonly status: "requested" | "accepted" | "completed" | "failed";
|
|
36854
36877
|
readonly id: string;
|
|
36855
36878
|
readonly createdAt: string;
|
|
@@ -36869,10 +36892,10 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36869
36892
|
readonly requestedAt: string;
|
|
36870
36893
|
readonly acceptedAt: string | null;
|
|
36871
36894
|
readonly completedAt: string | null;
|
|
36872
|
-
}
|
|
36895
|
+
}>>;
|
|
36873
36896
|
};
|
|
36874
36897
|
readonly guests: {
|
|
36875
|
-
readonly list: (input: ListGuestsInput) => Promise<{
|
|
36898
|
+
readonly list: (input: ListGuestsInput) => Promise<SpokeHubResult<{
|
|
36876
36899
|
readonly email: string | null;
|
|
36877
36900
|
readonly name: string | null;
|
|
36878
36901
|
readonly items: readonly {
|
|
@@ -36901,11 +36924,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36901
36924
|
readonly pageSize: number;
|
|
36902
36925
|
readonly total: number;
|
|
36903
36926
|
readonly totalPages: number;
|
|
36904
|
-
}
|
|
36927
|
+
}>>;
|
|
36905
36928
|
readonly get: (input: {
|
|
36906
36929
|
readonly organizationId: string;
|
|
36907
36930
|
readonly guestId: string;
|
|
36908
|
-
}) => Promise<{
|
|
36931
|
+
}) => Promise<SpokeHubResult<{
|
|
36909
36932
|
readonly email: string | null;
|
|
36910
36933
|
readonly status: "active" | "archived" | "checked_out";
|
|
36911
36934
|
readonly id: string;
|
|
@@ -36925,11 +36948,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36925
36948
|
readonly meta: {
|
|
36926
36949
|
readonly [x: string]: unknown;
|
|
36927
36950
|
};
|
|
36928
|
-
}
|
|
36951
|
+
}>>;
|
|
36929
36952
|
readonly create: (input: {
|
|
36930
36953
|
readonly organizationId: string;
|
|
36931
36954
|
readonly payload: CreateGuestInput;
|
|
36932
|
-
}) => Promise<{
|
|
36955
|
+
}) => Promise<SpokeHubResult<{
|
|
36933
36956
|
readonly email: string | null;
|
|
36934
36957
|
readonly status: "active" | "archived" | "checked_out";
|
|
36935
36958
|
readonly id: string;
|
|
@@ -36949,12 +36972,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36949
36972
|
readonly meta: {
|
|
36950
36973
|
readonly [x: string]: unknown;
|
|
36951
36974
|
};
|
|
36952
|
-
}
|
|
36975
|
+
}>>;
|
|
36953
36976
|
readonly update: (input: {
|
|
36954
36977
|
readonly organizationId: string;
|
|
36955
36978
|
readonly guestId: string;
|
|
36956
36979
|
readonly payload: UpdateGuestInput;
|
|
36957
|
-
}) => Promise<{
|
|
36980
|
+
}) => Promise<SpokeHubResult<{
|
|
36958
36981
|
readonly email: string | null;
|
|
36959
36982
|
readonly status: "active" | "archived" | "checked_out";
|
|
36960
36983
|
readonly id: string;
|
|
@@ -36974,12 +36997,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
36974
36997
|
readonly meta: {
|
|
36975
36998
|
readonly [x: string]: unknown;
|
|
36976
36999
|
};
|
|
36977
|
-
}
|
|
37000
|
+
}>>;
|
|
36978
37001
|
readonly delete: (input: {
|
|
36979
37002
|
readonly organizationId: string;
|
|
36980
37003
|
readonly guestId: string;
|
|
36981
37004
|
readonly payload: DeletePayload;
|
|
36982
|
-
}) => Promise<void
|
|
37005
|
+
}) => Promise<SpokeHubResult<void>>;
|
|
36983
37006
|
};
|
|
36984
37007
|
readonly onsite: {
|
|
36985
37008
|
readonly call: (input: {
|
|
@@ -37114,14 +37137,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
37114
37137
|
};
|
|
37115
37138
|
readonly operation: "voucher.issue";
|
|
37116
37139
|
readonly waitMs?: number | undefined;
|
|
37117
|
-
})) => Promise<OnsiteResourceCallResponse
|
|
37140
|
+
})) => Promise<SpokeHubResult<OnsiteResourceCallResponse>>;
|
|
37118
37141
|
readonly members: {
|
|
37119
37142
|
readonly create: (input: {
|
|
37120
37143
|
readonly organizationId: string;
|
|
37121
37144
|
readonly waitMs?: number;
|
|
37122
37145
|
} & {
|
|
37123
37146
|
readonly payload: RequestSourceManagedMemberCreateInput;
|
|
37124
|
-
}) => Promise<{
|
|
37147
|
+
}) => Promise<SpokeHubResult<{
|
|
37125
37148
|
readonly kind: "member";
|
|
37126
37149
|
readonly operation: "member.create" | "member.update" | "member.renew" | "member.lookup";
|
|
37127
37150
|
readonly settled: boolean;
|
|
@@ -37147,14 +37170,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
37147
37170
|
readonly organizationMemberSourceId: string;
|
|
37148
37171
|
readonly organizationMemberSourceAgentId: string | null;
|
|
37149
37172
|
};
|
|
37150
|
-
}
|
|
37173
|
+
}>>;
|
|
37151
37174
|
readonly update: (input: {
|
|
37152
37175
|
readonly organizationId: string;
|
|
37153
37176
|
readonly waitMs?: number;
|
|
37154
37177
|
} & {
|
|
37155
37178
|
readonly memberId: string;
|
|
37156
37179
|
readonly payload: RequestSourceManagedMemberUpdateInput;
|
|
37157
|
-
}) => Promise<{
|
|
37180
|
+
}) => Promise<SpokeHubResult<{
|
|
37158
37181
|
readonly kind: "member";
|
|
37159
37182
|
readonly operation: "member.create" | "member.update" | "member.renew" | "member.lookup";
|
|
37160
37183
|
readonly settled: boolean;
|
|
@@ -37180,14 +37203,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
37180
37203
|
readonly organizationMemberSourceId: string;
|
|
37181
37204
|
readonly organizationMemberSourceAgentId: string | null;
|
|
37182
37205
|
};
|
|
37183
|
-
}
|
|
37206
|
+
}>>;
|
|
37184
37207
|
readonly renew: (input: {
|
|
37185
37208
|
readonly organizationId: string;
|
|
37186
37209
|
readonly waitMs?: number;
|
|
37187
37210
|
} & {
|
|
37188
37211
|
readonly memberId: string;
|
|
37189
37212
|
readonly payload: RequestSourceManagedMemberRenewalInput;
|
|
37190
|
-
}) => Promise<{
|
|
37213
|
+
}) => Promise<SpokeHubResult<{
|
|
37191
37214
|
readonly kind: "member";
|
|
37192
37215
|
readonly operation: "member.create" | "member.update" | "member.renew" | "member.lookup";
|
|
37193
37216
|
readonly settled: boolean;
|
|
@@ -37213,14 +37236,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
37213
37236
|
readonly organizationMemberSourceId: string;
|
|
37214
37237
|
readonly organizationMemberSourceAgentId: string | null;
|
|
37215
37238
|
};
|
|
37216
|
-
}
|
|
37239
|
+
}>>;
|
|
37217
37240
|
readonly lookup: (input: {
|
|
37218
37241
|
readonly organizationId: string;
|
|
37219
37242
|
readonly waitMs?: number;
|
|
37220
37243
|
} & {
|
|
37221
37244
|
readonly lookupBy: SourceManagedMemberLookupBy;
|
|
37222
37245
|
readonly lookupValue: string;
|
|
37223
|
-
}) => Promise<{
|
|
37246
|
+
}) => Promise<SpokeHubResult<{
|
|
37224
37247
|
readonly kind: "member";
|
|
37225
37248
|
readonly operation: "member.create" | "member.update" | "member.renew" | "member.lookup";
|
|
37226
37249
|
readonly settled: boolean;
|
|
@@ -37246,7 +37269,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
37246
37269
|
readonly organizationMemberSourceId: string;
|
|
37247
37270
|
readonly organizationMemberSourceAgentId: string | null;
|
|
37248
37271
|
};
|
|
37249
|
-
}
|
|
37272
|
+
}>>;
|
|
37250
37273
|
};
|
|
37251
37274
|
readonly vouchers: {
|
|
37252
37275
|
readonly issue: (input: {
|
|
@@ -37254,7 +37277,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
37254
37277
|
readonly waitMs?: number;
|
|
37255
37278
|
} & {
|
|
37256
37279
|
readonly payload: RequestVoucherIssueInput;
|
|
37257
|
-
}) => Promise<{
|
|
37280
|
+
}) => Promise<SpokeHubResult<{
|
|
37258
37281
|
readonly kind: "voucher";
|
|
37259
37282
|
readonly operation: "voucher.issue";
|
|
37260
37283
|
readonly settled: boolean;
|
|
@@ -37280,12 +37303,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
37280
37303
|
readonly acceptedAt: string | null;
|
|
37281
37304
|
readonly completedAt: string | null;
|
|
37282
37305
|
};
|
|
37283
|
-
}
|
|
37306
|
+
}>>;
|
|
37284
37307
|
};
|
|
37285
37308
|
};
|
|
37286
37309
|
readonly callOnsite: (input: {
|
|
37287
37310
|
readonly organizationId: string;
|
|
37288
|
-
} & OnsiteResourceCallRequest) => Promise<{
|
|
37311
|
+
} & OnsiteResourceCallRequest) => Promise<SpokeHubResult<{
|
|
37289
37312
|
readonly kind: "member";
|
|
37290
37313
|
readonly operation: "member.create" | "member.update" | "member.renew" | "member.lookup";
|
|
37291
37314
|
readonly settled: boolean;
|
|
@@ -37337,7 +37360,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
37337
37360
|
readonly acceptedAt: string | null;
|
|
37338
37361
|
readonly completedAt: string | null;
|
|
37339
37362
|
};
|
|
37340
|
-
}
|
|
37363
|
+
}>>;
|
|
37341
37364
|
};
|
|
37342
37365
|
declare const makePromiseSpokeClient: (options: HubApiCredentialOptions) => Promise<{
|
|
37343
37366
|
readonly client: PromiseSpokeClient;
|
|
@@ -37345,4 +37368,4 @@ declare const makePromiseSpokeClient: (options: HubApiCredentialOptions) => Prom
|
|
|
37345
37368
|
readonly hubClient: PromiseHubApiClient;
|
|
37346
37369
|
}>;
|
|
37347
37370
|
|
|
37348
|
-
export { AddressSchema, type AdminSession, AdminSessionSchema, 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 CompleteOnsiteVoucherCommandInput, CompleteOnsiteVoucherCommandSchema, type ConflictError, ConflictErrorSchema, type CreateGuestInput, CreateGuestSchema, type CreateMemberInput, CreateMemberSchema, 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 DeletePayload, DeletePayloadSchema, type DeleteServiceClientInput, DeleteServiceClientSchema, type ForbiddenError, ForbiddenErrorSchema, type Guest, type GuestContactMatch, GuestContactMatchSchema, GuestSchema, HubApi, type HubApiClient, type HubApiClientOptions, type HubApiCredentialOptions, type ImportedMemberRecord, ImportedMemberRecordSchema, IssuedPrivateKeySchema, MarketingPreferencesSchema, type Member, type MemberBasic, type MemberBasicResponse, MemberBasicResponseSchema, MemberBasicSchema, 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, MemberSourceSecretNameSchema, type MemberStatusCredits, MemberStatusCreditsSchema, type NotFoundError, NotFoundErrorSchema, type OnsiteAgentCommand, OnsiteAgentCommandSchema, type OnsiteAgentCompleteMemberCreateInput, OnsiteAgentCompleteMemberCreateSchema, type OnsiteAgentCompleteMemberLookupInput, OnsiteAgentCompleteMemberLookupSchema, type OnsiteAgentCompleteMemberRenewalInput, OnsiteAgentCompleteMemberRenewalSchema, type OnsiteAgentCompleteMemberUpdateInput, OnsiteAgentCompleteMemberUpdateSchema, OnsiteAgentCompleteRunErrorSchema, type OnsiteAgentCompleteRunInput, OnsiteAgentCompleteRunSchema, type OnsiteAgentCsvUploadTarget, OnsiteAgentCsvUploadTargetSchema, type OnsiteAgentHeartbeatInput, type OnsiteAgentHeartbeatResponse, OnsiteAgentHeartbeatResponseSchema, OnsiteAgentHeartbeatSchema, type OnsiteAgentIngestLiveFbiBatchInput, OnsiteAgentIngestLiveFbiBatchSchema, type OnsiteAgentMemberCreateCommand, OnsiteAgentMemberCreateCommandSchema, type OnsiteAgentMemberLookupCommand, OnsiteAgentMemberLookupCommandSchema, type OnsiteAgentMemberRenewalCommand, OnsiteAgentMemberRenewalCommandSchema, type OnsiteAgentMemberUpdateCommand, OnsiteAgentMemberUpdateCommandSchema, type OnsiteResourceCallRequest, OnsiteResourceCallRequestSchema, type OnsiteResourceCallResponse, OnsiteResourceCallResponseSchema, type OnsiteResourceClient, type OnsiteResourceMemberCallResponse, OnsiteResourceMemberCallResponseSchema, type OnsiteResourceVoucherCallResponse, OnsiteResourceVoucherCallResponseSchema, type OnsiteVoucherCommand, OnsiteVoucherCommandSchema, type Organization, type OrganizationMemberGender, OrganizationMemberGenderSchema, type OrganizationMemberMembershipType, OrganizationMemberMembershipTypeSchema, type OrganizationMemberRatingGrade, OrganizationMemberRatingGradeSchema, type OrganizationMemberSource, type OrganizationMemberSourceAgent, OrganizationMemberSourceAgentSchema, type OrganizationMemberSourceCommand, OrganizationMemberSourceCommandSchema, type OrganizationMemberSourceCsvImport, OrganizationMemberSourceCsvImportSchema, type OrganizationMemberSourceCsvMapping, OrganizationMemberSourceCsvMappingSchema, 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 OrganizationPointType, OrganizationPointTypeSchema, type OrganizationPointTypesResponse, OrganizationPointTypesResponseSchema, type OrganizationProductOption, OrganizationProductOptionSchema, type OrganizationProductWebhook, OrganizationProductWebhookSchema, type OrganizationProductWebhookUpsertResponse, OrganizationProductWebhookUpsertResponseSchema, OrganizationSchema, type OrganizationVoucherCommand, OrganizationVoucherCommandSchema, 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, PresignedPostSchema, type PromiseClient, type PromiseHubApiClient, type PromiseSpokeClient, type RequestSourceManagedMemberCreateInput, RequestSourceManagedMemberCreateSchema, type RequestSourceManagedMemberRenewalInput, RequestSourceManagedMemberRenewalSchema, type RequestSourceManagedMemberUpdateInput, RequestSourceManagedMemberUpdateSchema, type RequestVoucherIssueInput, RequestVoucherIssueSchema, type ServiceClient, ServiceClientSchema, type SortDirection, SortDirectionSchema, type SourceManagedMemberLookupBy, SourceManagedMemberLookupBySchema, type SourceManagedMemberLookupCommandPayload, SourceManagedMemberLookupCommandPayloadSchema, type SourceManagedMemberRenewalCommandPayload, SourceManagedMemberRenewalCommandPayloadSchema, SourceManagedMemberUpdateCommandPayloadSchema, 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 UpsertOrganizationProductWebhookInput, UpsertOrganizationProductWebhookSchema, type UpsertOrganizationVoucherProviderInput, UpsertOrganizationVoucherProviderSchema, adminRoles, guestStatuses, makeBadRequest, makeConflict, makeForbidden, makeHubApiClient, makeNotFound, makeOnsiteResourceClient, makePromiseHubApiClient, makePromiseOnsiteResourceClient, makePromiseServiceHubApiClient, makePromiseSpokeClient, makeServiceHubApiClient, makeSpokeClient, makeUnauthorized, memberComputedStatuses, memberCreatedOrigins, memberPreferredContactMethods, memberRecordModes, memberStatuses, organizationMemberSourceAgentStatuses, organizationMemberSourceBatchTransports, organizationMemberSourceCommandKinds, organizationMemberSourceCommandStatuses, organizationMemberSourceCsvImportStatuses, organizationMemberSourceLiveTransports, organizationMemberSourceManualTransports, organizationMemberSourceStatuses, organizationMemberSourceVendors, organizationMemberSourceWebhookDeliveryStatuses, organizationMemberSourceWebhookStatuses, organizationMemberSyncModes, organizationMemberSyncRunStatuses, organizationMemberSyncTransports, organizationMemberSyncTriggerKinds, organizationPointTypeStatuses, organizationProductWebhookDeliveryStatuses, organizationProductWebhookStatuses, organizationStatuses, organizationVoucherCommandKinds, organizationVoucherCommandStatuses, organizationVoucherProviderProviders, organizationVoucherProviderStatuses, organizationVoucherProviderTransports, resolveHubApiBaseUrl };
|
|
37371
|
+
export { AddressSchema, type AdminSession, AdminSessionSchema, 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 CompleteOnsiteVoucherCommandInput, CompleteOnsiteVoucherCommandSchema, type ConflictError, ConflictErrorSchema, type CreateGuestInput, CreateGuestSchema, type CreateMemberInput, CreateMemberSchema, 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 DeletePayload, DeletePayloadSchema, type DeleteServiceClientInput, DeleteServiceClientSchema, type ForbiddenError, ForbiddenErrorSchema, type Guest, type GuestContactMatch, GuestContactMatchSchema, GuestSchema, HubApi, type HubApiClient, type HubApiClientOptions, type HubApiCredentialOptions, type ImportedMemberRecord, ImportedMemberRecordSchema, IssuedPrivateKeySchema, MarketingPreferencesSchema, type Member, type MemberBasic, type MemberBasicResponse, MemberBasicResponseSchema, MemberBasicSchema, 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, MemberSourceSecretNameSchema, type MemberStatusCredits, MemberStatusCreditsSchema, type NotFoundError, NotFoundErrorSchema, type OnsiteAgentCommand, OnsiteAgentCommandSchema, type OnsiteAgentCompleteMemberCreateInput, OnsiteAgentCompleteMemberCreateSchema, type OnsiteAgentCompleteMemberLookupInput, OnsiteAgentCompleteMemberLookupSchema, type OnsiteAgentCompleteMemberRenewalInput, OnsiteAgentCompleteMemberRenewalSchema, type OnsiteAgentCompleteMemberUpdateInput, OnsiteAgentCompleteMemberUpdateSchema, OnsiteAgentCompleteRunErrorSchema, type OnsiteAgentCompleteRunInput, OnsiteAgentCompleteRunSchema, type OnsiteAgentCsvUploadTarget, OnsiteAgentCsvUploadTargetSchema, type OnsiteAgentHeartbeatInput, type OnsiteAgentHeartbeatResponse, OnsiteAgentHeartbeatResponseSchema, OnsiteAgentHeartbeatSchema, type OnsiteAgentIngestLiveFbiBatchInput, OnsiteAgentIngestLiveFbiBatchSchema, type OnsiteAgentMemberCreateCommand, OnsiteAgentMemberCreateCommandSchema, type OnsiteAgentMemberLookupCommand, OnsiteAgentMemberLookupCommandSchema, type OnsiteAgentMemberRenewalCommand, OnsiteAgentMemberRenewalCommandSchema, type OnsiteAgentMemberUpdateCommand, OnsiteAgentMemberUpdateCommandSchema, type OnsiteResourceCallRequest, OnsiteResourceCallRequestSchema, type OnsiteResourceCallResponse, OnsiteResourceCallResponseSchema, type OnsiteResourceClient, type OnsiteResourceMemberCallResponse, OnsiteResourceMemberCallResponseSchema, type OnsiteResourceVoucherCallResponse, OnsiteResourceVoucherCallResponseSchema, type OnsiteVoucherCommand, OnsiteVoucherCommandSchema, type Organization, type OrganizationMemberGender, OrganizationMemberGenderSchema, type OrganizationMemberMembershipType, OrganizationMemberMembershipTypeSchema, type OrganizationMemberRatingGrade, OrganizationMemberRatingGradeSchema, type OrganizationMemberSource, type OrganizationMemberSourceAgent, OrganizationMemberSourceAgentSchema, type OrganizationMemberSourceCommand, OrganizationMemberSourceCommandSchema, type OrganizationMemberSourceCsvImport, OrganizationMemberSourceCsvImportSchema, type OrganizationMemberSourceCsvMapping, OrganizationMemberSourceCsvMappingSchema, 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 OrganizationPointType, OrganizationPointTypeSchema, type OrganizationPointTypesResponse, OrganizationPointTypesResponseSchema, type OrganizationProductOption, OrganizationProductOptionSchema, type OrganizationProductWebhook, OrganizationProductWebhookSchema, type OrganizationProductWebhookUpsertResponse, OrganizationProductWebhookUpsertResponseSchema, OrganizationSchema, type OrganizationVoucherCommand, OrganizationVoucherCommandSchema, 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, PresignedPostSchema, type PromiseClient, type PromiseHubApiClient, type PromiseSpokeClient, type RequestSourceManagedMemberCreateInput, RequestSourceManagedMemberCreateSchema, type RequestSourceManagedMemberRenewalInput, RequestSourceManagedMemberRenewalSchema, type RequestSourceManagedMemberUpdateInput, RequestSourceManagedMemberUpdateSchema, type RequestVoucherIssueInput, RequestVoucherIssueSchema, type ServiceClient, ServiceClientSchema, type SortDirection, SortDirectionSchema, type SourceManagedMemberLookupBy, SourceManagedMemberLookupBySchema, type SourceManagedMemberLookupCommandPayload, SourceManagedMemberLookupCommandPayloadSchema, type SourceManagedMemberRenewalCommandPayload, SourceManagedMemberRenewalCommandPayloadSchema, SourceManagedMemberUpdateCommandPayloadSchema, SpokeHubApiError, type SpokeHubApiErrorBody, SpokeHubClientError, type SpokeHubErrorKind, 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 UpsertOrganizationProductWebhookInput, UpsertOrganizationProductWebhookSchema, type UpsertOrganizationVoucherProviderInput, UpsertOrganizationVoucherProviderSchema, adminRoles, guestStatuses, makeBadRequest, makeConflict, makeForbidden, makeHubApiClient, makeNotFound, makeOnsiteResourceClient, makePromiseHubApiClient, makePromiseOnsiteResourceClient, makePromiseServiceHubApiClient, makePromiseSpokeClient, makeServiceHubApiClient, makeSpokeClient, makeUnauthorized, memberComputedStatuses, memberCreatedOrigins, memberPreferredContactMethods, memberRecordModes, memberStatuses, organizationMemberSourceAgentStatuses, organizationMemberSourceBatchTransports, organizationMemberSourceCommandKinds, organizationMemberSourceCommandStatuses, organizationMemberSourceCsvImportStatuses, organizationMemberSourceLiveTransports, organizationMemberSourceManualTransports, organizationMemberSourceStatuses, organizationMemberSourceVendors, organizationMemberSourceWebhookDeliveryStatuses, organizationMemberSourceWebhookStatuses, organizationMemberSyncModes, organizationMemberSyncRunStatuses, organizationMemberSyncTransports, organizationMemberSyncTriggerKinds, organizationPointTypeStatuses, organizationProductWebhookDeliveryStatuses, organizationProductWebhookStatuses, organizationStatuses, organizationVoucherCommandKinds, organizationVoucherCommandStatuses, organizationVoucherProviderProviders, organizationVoucherProviderStatuses, organizationVoucherProviderTransports, resolveHubApiBaseUrl };
|