@spoketech/hub-client 0.1.13 → 0.1.15
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 +5 -2
- package/dist/index.d.ts +5439 -965
- package/dist/index.js +274 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23,6 +23,7 @@ var memberPreferredContactMethods = ["sms", "email"];
|
|
|
23
23
|
var memberCreatedOrigins = [
|
|
24
24
|
"hub_admin",
|
|
25
25
|
"service_api",
|
|
26
|
+
"seed",
|
|
26
27
|
"source_sync",
|
|
27
28
|
"source_create"
|
|
28
29
|
];
|
|
@@ -91,8 +92,10 @@ var organizationMemberSyncTransports = [
|
|
|
91
92
|
var organizationMemberSourceCommandKinds = [
|
|
92
93
|
"create_member",
|
|
93
94
|
"update_member",
|
|
95
|
+
"update_preferences",
|
|
94
96
|
"renew_member",
|
|
95
|
-
"lookup_member"
|
|
97
|
+
"lookup_member",
|
|
98
|
+
"list_custom_fields"
|
|
96
99
|
];
|
|
97
100
|
var organizationMemberSourceCommandStatuses = [
|
|
98
101
|
"requested",
|
|
@@ -205,12 +208,16 @@ var MarketingPreferencesSchema = Schema2.Struct({
|
|
|
205
208
|
email: Schema2.Boolean,
|
|
206
209
|
sms: Schema2.Boolean,
|
|
207
210
|
post: Schema2.Boolean,
|
|
211
|
+
gamingEmail: Schema2.Boolean,
|
|
212
|
+
gamingSms: Schema2.Boolean,
|
|
208
213
|
gamingOptOut: Schema2.Boolean
|
|
209
214
|
});
|
|
210
215
|
var MarketingPreferencesInputSchema = Schema2.Struct({
|
|
211
216
|
email: Schema2.optional(Schema2.Boolean),
|
|
212
217
|
sms: Schema2.optional(Schema2.Boolean),
|
|
213
218
|
post: Schema2.optional(Schema2.Boolean),
|
|
219
|
+
gamingEmail: Schema2.optional(Schema2.Boolean),
|
|
220
|
+
gamingSms: Schema2.optional(Schema2.Boolean),
|
|
214
221
|
gamingOptOut: Schema2.optional(Schema2.Boolean)
|
|
215
222
|
});
|
|
216
223
|
var OrganizationSchema = Schema2.Struct({
|
|
@@ -515,6 +522,14 @@ var UpsertMemberPointBalanceSchema = Schema2.Struct({
|
|
|
515
522
|
example: 1200
|
|
516
523
|
})
|
|
517
524
|
});
|
|
525
|
+
var SourceMembershipObservationFields = {
|
|
526
|
+
sourceStatus: NullableString.annotations({
|
|
527
|
+
description: "Latest normalized lifecycle status confirmed by the Member Source."
|
|
528
|
+
}),
|
|
529
|
+
sourceStatusObservedAt: Schema2.Union(TimestampSchema, Schema2.Null).annotations({
|
|
530
|
+
description: "Time Spoke Hub last observed a non-empty Source Membership Status."
|
|
531
|
+
})
|
|
532
|
+
};
|
|
518
533
|
var MemberSchema = Schema2.Struct({
|
|
519
534
|
id: Schema2.String,
|
|
520
535
|
organizationId: Schema2.String,
|
|
@@ -526,9 +541,13 @@ var MemberSchema = Schema2.Struct({
|
|
|
526
541
|
recordMode: Schema2.Literal(...memberRecordModes),
|
|
527
542
|
createdOrigin: Schema2.Literal(...memberCreatedOrigins),
|
|
528
543
|
createdOriginName: NullableString,
|
|
544
|
+
seedBatchId: NullableString.annotations({
|
|
545
|
+
description: "Seed batch identifier when this member was generated by an admin seed operation."
|
|
546
|
+
}),
|
|
529
547
|
archivedAt: Schema2.Union(TimestampSchema, Schema2.Null),
|
|
530
548
|
joinedAt: Schema2.Union(TimestampSchema, Schema2.Null),
|
|
531
549
|
sourceUpdatedAt: Schema2.Union(TimestampSchema, Schema2.Null),
|
|
550
|
+
...SourceMembershipObservationFields,
|
|
532
551
|
email: NullableString,
|
|
533
552
|
title: NullableString,
|
|
534
553
|
firstName: Schema2.String,
|
|
@@ -583,6 +602,7 @@ var MemberMedSchema = Schema2.Struct({
|
|
|
583
602
|
organizationId: Schema2.String,
|
|
584
603
|
status: Schema2.Literal(...memberComputedStatuses),
|
|
585
604
|
isSuspended: Schema2.Boolean,
|
|
605
|
+
...SourceMembershipObservationFields,
|
|
586
606
|
displayName: Schema2.String,
|
|
587
607
|
dob: Schema2.Union(DateOnlySchema, Schema2.Null),
|
|
588
608
|
email: NullableString,
|
|
@@ -608,6 +628,7 @@ var MemberBasicSchema = Schema2.Struct({
|
|
|
608
628
|
id: Schema2.String,
|
|
609
629
|
displayName: Schema2.String,
|
|
610
630
|
dob: Schema2.Union(DateOnlySchema, Schema2.Null),
|
|
631
|
+
...SourceMembershipObservationFields,
|
|
611
632
|
statusCredits: Schema2.Number,
|
|
612
633
|
memberNumber: NullableString
|
|
613
634
|
});
|
|
@@ -620,9 +641,11 @@ var MemberFullResponseSchema = Schema2.Struct({
|
|
|
620
641
|
recordMode: Schema2.Literal(...memberRecordModes),
|
|
621
642
|
createdOrigin: Schema2.Literal(...memberCreatedOrigins),
|
|
622
643
|
createdOriginName: NullableString,
|
|
644
|
+
seedBatchId: NullableString,
|
|
623
645
|
archivedAt: Schema2.Union(TimestampSchema, Schema2.Null),
|
|
624
646
|
joinedAt: Schema2.Union(TimestampSchema, Schema2.Null),
|
|
625
647
|
sourceUpdatedAt: Schema2.Union(TimestampSchema, Schema2.Null),
|
|
648
|
+
...SourceMembershipObservationFields,
|
|
626
649
|
email: NullableString,
|
|
627
650
|
title: NullableString,
|
|
628
651
|
firstName: Schema2.String,
|
|
@@ -664,6 +687,7 @@ var MemberMedResponseSchema = Schema2.Struct({
|
|
|
664
687
|
organizationId: Schema2.String,
|
|
665
688
|
status: Schema2.Literal(...memberComputedStatuses),
|
|
666
689
|
isSuspended: Schema2.Boolean,
|
|
690
|
+
...SourceMembershipObservationFields,
|
|
667
691
|
displayName: Schema2.String,
|
|
668
692
|
dob: Schema2.Union(DateOnlySchema, Schema2.Null),
|
|
669
693
|
email: NullableString,
|
|
@@ -690,6 +714,7 @@ var MemberBasicResponseSchema = Schema2.Struct({
|
|
|
690
714
|
id: Schema2.String,
|
|
691
715
|
displayName: Schema2.String,
|
|
692
716
|
dob: Schema2.Union(DateOnlySchema, Schema2.Null),
|
|
717
|
+
...SourceMembershipObservationFields,
|
|
693
718
|
statusCredits: Schema2.Number,
|
|
694
719
|
memberNumber: NullableString,
|
|
695
720
|
responseMode: Schema2.Literal("basic")
|
|
@@ -773,7 +798,7 @@ var OrganizationMembersListUrlParamsSchema = Schema2.Struct({
|
|
|
773
798
|
),
|
|
774
799
|
searchValue: Schema2.optional(
|
|
775
800
|
Schema2.String.annotations({
|
|
776
|
-
description: "
|
|
801
|
+
description: "Partial match used with searchField to filter members. Display-name searches match every whitespace-separated term in any order."
|
|
777
802
|
})
|
|
778
803
|
),
|
|
779
804
|
name: Schema2.optional(
|
|
@@ -1060,6 +1085,8 @@ var organizationMembersListExamples = {
|
|
|
1060
1085
|
createdOriginName: "Odyssey Gaming",
|
|
1061
1086
|
archivedAt: null,
|
|
1062
1087
|
sourceUpdatedAt: "2026-04-02T01:23:45.000Z",
|
|
1088
|
+
sourceStatus: "ACTIVE",
|
|
1089
|
+
sourceStatusObservedAt: "2026-04-02T01:25:00.000Z",
|
|
1063
1090
|
email: "jane@example.com",
|
|
1064
1091
|
title: "Ms",
|
|
1065
1092
|
firstName: "Jane",
|
|
@@ -1130,6 +1157,8 @@ var organizationMembersListExamples = {
|
|
|
1130
1157
|
organizationId: "org_1",
|
|
1131
1158
|
status: "active",
|
|
1132
1159
|
isSuspended: false,
|
|
1160
|
+
sourceStatus: "ACTIVE",
|
|
1161
|
+
sourceStatusObservedAt: "2026-04-02T01:25:00.000Z",
|
|
1133
1162
|
displayName: "Jane Smith",
|
|
1134
1163
|
dob: "1988-06-14",
|
|
1135
1164
|
email: "jane@example.com",
|
|
@@ -1174,6 +1203,8 @@ var organizationMembersListExamples = {
|
|
|
1174
1203
|
id: "mem_123",
|
|
1175
1204
|
displayName: "Jane Smith",
|
|
1176
1205
|
dob: "1988-06-14",
|
|
1206
|
+
sourceStatus: "ACTIVE",
|
|
1207
|
+
sourceStatusObservedAt: "2026-04-02T01:25:00.000Z",
|
|
1177
1208
|
memberNumber: "12345"
|
|
1178
1209
|
}
|
|
1179
1210
|
],
|
|
@@ -1226,6 +1257,8 @@ var memberExamples = {
|
|
|
1226
1257
|
createdOriginName: "Odyssey Gaming",
|
|
1227
1258
|
archivedAt: null,
|
|
1228
1259
|
sourceUpdatedAt: "2026-04-02T01:23:45.000Z",
|
|
1260
|
+
sourceStatus: "ACTIVE",
|
|
1261
|
+
sourceStatusObservedAt: "2026-04-02T01:25:00.000Z",
|
|
1229
1262
|
email: "jane@example.com",
|
|
1230
1263
|
title: "Ms",
|
|
1231
1264
|
firstName: "Jane",
|
|
@@ -1284,6 +1317,8 @@ var memberExamples = {
|
|
|
1284
1317
|
organizationId: "org_1",
|
|
1285
1318
|
status: "active",
|
|
1286
1319
|
isSuspended: false,
|
|
1320
|
+
sourceStatus: "ACTIVE",
|
|
1321
|
+
sourceStatusObservedAt: "2026-04-02T01:25:00.000Z",
|
|
1287
1322
|
displayName: "Jane Smith",
|
|
1288
1323
|
dob: "1988-06-14",
|
|
1289
1324
|
email: "jane@example.com",
|
|
@@ -1316,6 +1351,8 @@ var memberExamples = {
|
|
|
1316
1351
|
id: "mem_123",
|
|
1317
1352
|
displayName: "Jane Smith",
|
|
1318
1353
|
dob: "1988-06-14",
|
|
1354
|
+
sourceStatus: "ACTIVE",
|
|
1355
|
+
sourceStatusObservedAt: "2026-04-02T01:25:00.000Z",
|
|
1319
1356
|
memberNumber: "12345",
|
|
1320
1357
|
responseMode: "basic"
|
|
1321
1358
|
}
|
|
@@ -1343,6 +1380,8 @@ var bulkMemberExamples = {
|
|
|
1343
1380
|
organizationId: "org_1",
|
|
1344
1381
|
status: "active",
|
|
1345
1382
|
isSuspended: false,
|
|
1383
|
+
sourceStatus: "ACTIVE",
|
|
1384
|
+
sourceStatusObservedAt: "2026-04-02T01:25:00.000Z",
|
|
1346
1385
|
displayName: "Jane Smith",
|
|
1347
1386
|
dob: "1988-06-14",
|
|
1348
1387
|
email: "jane@example.com",
|
|
@@ -1372,6 +1411,8 @@ var bulkMemberExamples = {
|
|
|
1372
1411
|
organizationId: "org_1",
|
|
1373
1412
|
status: "expired",
|
|
1374
1413
|
isSuspended: false,
|
|
1414
|
+
sourceStatus: null,
|
|
1415
|
+
sourceStatusObservedAt: null,
|
|
1375
1416
|
displayName: "Howard Sorrell",
|
|
1376
1417
|
dob: "1967-05-09",
|
|
1377
1418
|
email: null,
|
|
@@ -1749,6 +1790,8 @@ var createMemberExamplesTransform = withOpenApiExamples({
|
|
|
1749
1790
|
createdOriginName: null,
|
|
1750
1791
|
archivedAt: null,
|
|
1751
1792
|
sourceUpdatedAt: null,
|
|
1793
|
+
sourceStatus: null,
|
|
1794
|
+
sourceStatusObservedAt: null,
|
|
1752
1795
|
email: "jane@example.com",
|
|
1753
1796
|
title: "Ms",
|
|
1754
1797
|
firstName: "Jane",
|
|
@@ -1833,6 +1876,8 @@ var updateMemberExamplesTransform = withOpenApiExamples({
|
|
|
1833
1876
|
createdOriginName: null,
|
|
1834
1877
|
archivedAt: null,
|
|
1835
1878
|
sourceUpdatedAt: null,
|
|
1879
|
+
sourceStatus: null,
|
|
1880
|
+
sourceStatusObservedAt: null,
|
|
1836
1881
|
email: "jane@example.com",
|
|
1837
1882
|
title: "Ms",
|
|
1838
1883
|
firstName: "Jane",
|
|
@@ -2503,7 +2548,7 @@ var OrganizationMemberSourceCommandSchema = Schema2.Struct({
|
|
|
2503
2548
|
organizationId: Schema2.String,
|
|
2504
2549
|
organizationMemberSourceId: Schema2.String,
|
|
2505
2550
|
organizationMemberSourceAgentId: Schema2.Union(Schema2.String, Schema2.Null),
|
|
2506
|
-
kind: Schema2.Literal(
|
|
2551
|
+
kind: Schema2.Literal(...organizationMemberSourceCommandKinds),
|
|
2507
2552
|
status: Schema2.Literal(...organizationMemberSourceCommandStatuses),
|
|
2508
2553
|
payload: JsonObjectSchema,
|
|
2509
2554
|
result: Schema2.Union(JsonObjectSchema, Schema2.Null),
|
|
@@ -2575,6 +2620,8 @@ var CsvMemberFieldMappingSchema = Schema2.Struct({
|
|
|
2575
2620
|
marketingEmail: OptionalNullableString,
|
|
2576
2621
|
marketingSms: OptionalNullableString,
|
|
2577
2622
|
marketingPost: OptionalNullableString,
|
|
2623
|
+
gamingEmail: OptionalNullableString,
|
|
2624
|
+
gamingSms: OptionalNullableString,
|
|
2578
2625
|
expiresAt: OptionalNullableString,
|
|
2579
2626
|
sourceUpdatedAt: OptionalNullableString
|
|
2580
2627
|
});
|
|
@@ -2649,6 +2696,15 @@ var CreateOrganizationSchema = Schema2.Struct({
|
|
|
2649
2696
|
description: "Number of days after membership expiry that members are still counted as active.",
|
|
2650
2697
|
example: 7
|
|
2651
2698
|
})
|
|
2699
|
+
),
|
|
2700
|
+
demo: Schema2.optional(
|
|
2701
|
+
Schema2.Struct({
|
|
2702
|
+
apiClient: Schema2.Literal("odyssey_nexus"),
|
|
2703
|
+
randomFailuresEnabled: Schema2.optional(Schema2.Boolean),
|
|
2704
|
+
timeZone: Schema2.optional(Schema2.String),
|
|
2705
|
+
minLatencyMs: Schema2.optional(Schema2.Number),
|
|
2706
|
+
maxLatencyMs: Schema2.optional(Schema2.Number)
|
|
2707
|
+
})
|
|
2652
2708
|
)
|
|
2653
2709
|
});
|
|
2654
2710
|
var UpdateOrganizationSchema = Schema2.Struct({
|
|
@@ -2730,6 +2786,19 @@ var CreateMemberSchema = Schema2.Struct({
|
|
|
2730
2786
|
cardId: OptionalNullableString,
|
|
2731
2787
|
customFields: Schema2.optional(JsonObjectSchema)
|
|
2732
2788
|
});
|
|
2789
|
+
var SeedOrganizationMembersSchema = Schema2.Struct({
|
|
2790
|
+
amount: Schema2.Number.annotations({
|
|
2791
|
+
description: "Number of synthetic members to create. Must be an integer between 1 and 1000.",
|
|
2792
|
+
example: 100
|
|
2793
|
+
})
|
|
2794
|
+
});
|
|
2795
|
+
var MemberSeedBatchSchema = Schema2.Struct({
|
|
2796
|
+
id: Schema2.String,
|
|
2797
|
+
organizationId: Schema2.String,
|
|
2798
|
+
amount: Schema2.Number,
|
|
2799
|
+
memberIds: Schema2.Array(Schema2.String),
|
|
2800
|
+
createdAt: TimestampSchema
|
|
2801
|
+
});
|
|
2733
2802
|
var UpdateMemberSchema = Schema2.Struct({
|
|
2734
2803
|
expectedUpdatedAt: TimestampSchema,
|
|
2735
2804
|
email: OptionalNullableString,
|
|
@@ -2830,6 +2899,14 @@ var UpsertOrganizationMemberSourceSchema = Schema2.Struct({
|
|
|
2830
2899
|
config: JsonObjectSchema,
|
|
2831
2900
|
secrets: Schema2.optional(Schema2.Array(OrganizationMemberSourceSecretInputSchema))
|
|
2832
2901
|
});
|
|
2902
|
+
var ConvertOrganizationToDemoSchema = Schema2.Struct({
|
|
2903
|
+
apiClient: Schema2.Literal("odyssey_nexus"),
|
|
2904
|
+
randomFailuresEnabled: Schema2.optional(Schema2.Boolean),
|
|
2905
|
+
failureRate: Schema2.optional(Schema2.Number),
|
|
2906
|
+
timeZone: Schema2.optional(Schema2.String),
|
|
2907
|
+
minLatencyMs: Schema2.optional(Schema2.Number),
|
|
2908
|
+
maxLatencyMs: Schema2.optional(Schema2.Number)
|
|
2909
|
+
});
|
|
2833
2910
|
var UpsertOrganizationMemberSourceWebhookSchema = Schema2.Struct({
|
|
2834
2911
|
url: Schema2.String.annotations({
|
|
2835
2912
|
description: "Destination URL to notify when source-managed create, update, renewal, or lookup commands reach a terminal state.",
|
|
@@ -2848,6 +2925,10 @@ var TriggerOrganizationMemberSyncSchema = Schema2.Struct({
|
|
|
2848
2925
|
});
|
|
2849
2926
|
var RequestSourceManagedMemberCreateSchema = CreateMemberSchema;
|
|
2850
2927
|
var RequestSourceManagedMemberUpdateSchema = UpdateMemberSchema;
|
|
2928
|
+
var RequestSourceManagedMemberPreferenceUpdateSchema = Schema2.Struct({
|
|
2929
|
+
expectedUpdatedAt: TimestampSchema,
|
|
2930
|
+
marketingPreferences: MarketingPreferencesInputSchema
|
|
2931
|
+
});
|
|
2851
2932
|
var RequestSourceManagedMemberRenewalSchema = Schema2.Struct({
|
|
2852
2933
|
expectedUpdatedAt: Schema2.optional(Schema2.Union(TimestampSchema, Schema2.Null))
|
|
2853
2934
|
});
|
|
@@ -2858,7 +2939,8 @@ var SourceManagedMemberLookupBySchema = Schema2.Literal(
|
|
|
2858
2939
|
);
|
|
2859
2940
|
var SourceManagedMemberLookupCommandPayloadSchema = Schema2.Struct({
|
|
2860
2941
|
lookupBy: SourceManagedMemberLookupBySchema,
|
|
2861
|
-
lookupValue: Schema2.String
|
|
2942
|
+
lookupValue: Schema2.String,
|
|
2943
|
+
refreshStoredMember: Schema2.optional(Schema2.Boolean)
|
|
2862
2944
|
});
|
|
2863
2945
|
var SourceManagedMemberRenewalCommandPayloadSchema = Schema2.Struct({
|
|
2864
2946
|
memberId: Schema2.String,
|
|
@@ -2866,6 +2948,13 @@ var SourceManagedMemberRenewalCommandPayloadSchema = Schema2.Struct({
|
|
|
2866
2948
|
memberNumber: OptionalNullableString,
|
|
2867
2949
|
previousExpiresAt: Schema2.optional(Schema2.Union(TimestampSchema, Schema2.Null))
|
|
2868
2950
|
});
|
|
2951
|
+
var SourceManagedMemberPreferenceUpdateCommandPayloadSchema = Schema2.Struct({
|
|
2952
|
+
memberId: Schema2.String,
|
|
2953
|
+
externalSystemMemberId: Schema2.String,
|
|
2954
|
+
sourceSiteId: OptionalNullableString,
|
|
2955
|
+
expectedUpdatedAt: TimestampSchema,
|
|
2956
|
+
marketingPreferences: MarketingPreferencesInputSchema
|
|
2957
|
+
});
|
|
2869
2958
|
var OnsiteResourceCallWaitMsSchema = Schema2.optional(
|
|
2870
2959
|
Schema2.Number.annotations({
|
|
2871
2960
|
description: "How long Hub should wait for the onsite client to complete the command before returning the accepted command.",
|
|
@@ -3038,6 +3127,17 @@ var ImportedMemberRecordSchema = Schema2.Struct({
|
|
|
3038
3127
|
expiresAt: Schema2.Union(TimestampSchema, Schema2.Null),
|
|
3039
3128
|
sourceUpdatedAt: Schema2.Union(TimestampSchema, Schema2.Null)
|
|
3040
3129
|
});
|
|
3130
|
+
var SourceContactPreferenceSchema = Schema2.Struct({
|
|
3131
|
+
externalSystemMemberId: Schema2.String,
|
|
3132
|
+
siteId: Schema2.String,
|
|
3133
|
+
email: Schema2.Boolean,
|
|
3134
|
+
sms: Schema2.Boolean,
|
|
3135
|
+
post: Schema2.Boolean,
|
|
3136
|
+
isDefaultSite: Schema2.optional(Schema2.Boolean),
|
|
3137
|
+
sourceCreatedAt: Schema2.optional(Schema2.Union(TimestampSchema, Schema2.Null)),
|
|
3138
|
+
sourceUpdatedAt: Schema2.optional(Schema2.Union(TimestampSchema, Schema2.Null)),
|
|
3139
|
+
metadata: Schema2.optional(JsonObjectSchema)
|
|
3140
|
+
});
|
|
3041
3141
|
var OnsiteAgentCommandSchema = Schema2.Struct({
|
|
3042
3142
|
runId: Schema2.String,
|
|
3043
3143
|
organizationId: Schema2.String,
|
|
@@ -3074,6 +3174,17 @@ var OnsiteAgentMemberUpdateCommandSchema = Schema2.Struct({
|
|
|
3074
3174
|
config: JsonObjectSchema,
|
|
3075
3175
|
secrets: Schema2.Array(OrganizationMemberSourceSecretInputSchema)
|
|
3076
3176
|
});
|
|
3177
|
+
var OnsiteAgentMemberPreferenceUpdateCommandSchema = Schema2.Struct({
|
|
3178
|
+
commandId: Schema2.String,
|
|
3179
|
+
organizationId: Schema2.String,
|
|
3180
|
+
organizationMemberSourceId: Schema2.String,
|
|
3181
|
+
vendor: Schema2.Literal(...organizationMemberSourceVendors),
|
|
3182
|
+
connectorType: Schema2.Literal(...organizationMemberSourceVendors),
|
|
3183
|
+
requestedAt: TimestampSchema,
|
|
3184
|
+
payload: SourceManagedMemberPreferenceUpdateCommandPayloadSchema,
|
|
3185
|
+
config: JsonObjectSchema,
|
|
3186
|
+
secrets: Schema2.Array(OrganizationMemberSourceSecretInputSchema)
|
|
3187
|
+
});
|
|
3077
3188
|
var OnsiteAgentMemberRenewalCommandSchema = Schema2.Struct({
|
|
3078
3189
|
commandId: Schema2.String,
|
|
3079
3190
|
organizationId: Schema2.String,
|
|
@@ -3096,6 +3207,17 @@ var OnsiteAgentMemberLookupCommandSchema = Schema2.Struct({
|
|
|
3096
3207
|
config: JsonObjectSchema,
|
|
3097
3208
|
secrets: Schema2.Array(OrganizationMemberSourceSecretInputSchema)
|
|
3098
3209
|
});
|
|
3210
|
+
var OnsiteAgentCustomFieldsCommandSchema = Schema2.Struct({
|
|
3211
|
+
commandId: Schema2.String,
|
|
3212
|
+
organizationId: Schema2.String,
|
|
3213
|
+
organizationMemberSourceId: Schema2.String,
|
|
3214
|
+
vendor: Schema2.Literal(...organizationMemberSourceVendors),
|
|
3215
|
+
connectorType: Schema2.Literal(...organizationMemberSourceVendors),
|
|
3216
|
+
requestedAt: TimestampSchema,
|
|
3217
|
+
payload: JsonObjectSchema,
|
|
3218
|
+
config: JsonObjectSchema,
|
|
3219
|
+
secrets: Schema2.Array(OrganizationMemberSourceSecretInputSchema)
|
|
3220
|
+
});
|
|
3099
3221
|
var OnsiteAgentHeartbeatSchema = Schema2.Struct({
|
|
3100
3222
|
version: Schema2.String,
|
|
3101
3223
|
pollingIntervalSeconds: Schema2.optional(Schema2.Number),
|
|
@@ -3142,17 +3264,26 @@ var OnsiteAgentCompleteRunErrorSchema = Schema2.Struct({
|
|
|
3142
3264
|
});
|
|
3143
3265
|
var OnsiteAgentCompleteRunSchema = Schema2.Struct({
|
|
3144
3266
|
records: Schema2.Array(ImportedMemberRecordSchema),
|
|
3267
|
+
contactPreferences: Schema2.optional(Schema2.Array(SourceContactPreferenceSchema)),
|
|
3145
3268
|
cursorAfter: Schema2.optional(Schema2.Union(JsonObjectSchema, Schema2.Null)),
|
|
3146
3269
|
rowErrors: Schema2.optional(Schema2.Array(OnsiteAgentCompleteRunErrorSchema)),
|
|
3147
3270
|
csvImportUploaded: Schema2.optional(Schema2.Boolean),
|
|
3148
3271
|
errorMessage: OptionalNullableString
|
|
3149
3272
|
});
|
|
3273
|
+
var OnsiteAgentMemberCreationResultSchema = Schema2.Literal(
|
|
3274
|
+
"created",
|
|
3275
|
+
"recovered_create",
|
|
3276
|
+
"matched_existing"
|
|
3277
|
+
);
|
|
3150
3278
|
var OnsiteAgentCompleteMemberCreateSchema = Schema2.Struct({
|
|
3151
3279
|
record: Schema2.optional(ImportedMemberRecordSchema),
|
|
3280
|
+
contactPreferences: Schema2.optional(Schema2.Array(SourceContactPreferenceSchema)),
|
|
3281
|
+
creationResult: Schema2.optional(OnsiteAgentMemberCreationResultSchema),
|
|
3152
3282
|
errorMessage: OptionalNullableString
|
|
3153
3283
|
});
|
|
3154
3284
|
var OnsiteAgentCompleteMemberUpdateSchema = Schema2.Struct({
|
|
3155
3285
|
record: Schema2.optional(ImportedMemberRecordSchema),
|
|
3286
|
+
contactPreferences: Schema2.optional(Schema2.Array(SourceContactPreferenceSchema)),
|
|
3156
3287
|
errorMessage: OptionalNullableString
|
|
3157
3288
|
});
|
|
3158
3289
|
var OnsiteAgentCompleteMemberRenewalSchema = Schema2.Struct({
|
|
@@ -3165,6 +3296,11 @@ var OnsiteAgentCompleteMemberLookupSchema = Schema2.Struct({
|
|
|
3165
3296
|
rawRecord: Schema2.optional(JsonObjectSchema),
|
|
3166
3297
|
errorMessage: OptionalNullableString
|
|
3167
3298
|
});
|
|
3299
|
+
var OnsiteAgentCompleteCustomFieldsSchema = Schema2.Struct({
|
|
3300
|
+
customFields: Schema2.optional(Schema2.Array(JsonObjectSchema)),
|
|
3301
|
+
rawRecord: Schema2.optional(JsonObjectSchema),
|
|
3302
|
+
errorMessage: OptionalNullableString
|
|
3303
|
+
});
|
|
3168
3304
|
var OnsiteAgentIngestLiveFbiBatchSchema = Schema2.Struct({
|
|
3169
3305
|
sourceFileName: OptionalNullableString,
|
|
3170
3306
|
metadata: Schema2.optional(JsonObjectSchema),
|
|
@@ -3180,6 +3316,15 @@ var OrganizationProductOptionParams = Schema2.Struct({
|
|
|
3180
3316
|
var OrganizationProductWebhookParams = Schema2.Struct({
|
|
3181
3317
|
organizationProductWebhookId: HttpApiSchema2.param("organizationProductWebhookId", Schema2.String)
|
|
3182
3318
|
});
|
|
3319
|
+
var OrganizationProductWebhookOperationParams = Schema2.Struct({
|
|
3320
|
+
organizationProductOptionId: HttpApiSchema2.param("organizationProductOptionId", Schema2.String),
|
|
3321
|
+
idempotencyKey: HttpApiSchema2.param("idempotencyKey", Schema2.String)
|
|
3322
|
+
});
|
|
3323
|
+
var RequiredWebhookOperationHeaders = Schema2.Struct({
|
|
3324
|
+
"idempotency-key": Schema2.String.annotations({
|
|
3325
|
+
description: "Requester-scoped operation key used to replay or recover the original one-time-secret response."
|
|
3326
|
+
})
|
|
3327
|
+
});
|
|
3183
3328
|
var OrganizationMemberSourceCommandParams = Schema2.Struct({
|
|
3184
3329
|
organizationId: HttpApiSchema2.param("organizationId", Schema2.String),
|
|
3185
3330
|
commandId: HttpApiSchema2.param("commandId", Schema2.String)
|
|
@@ -3266,7 +3411,7 @@ var organizationsGroup = HttpApiGroup.make("organizations").add(
|
|
|
3266
3411
|
HttpApiEndpoint.post(
|
|
3267
3412
|
"createOrganizationProductWebhook",
|
|
3268
3413
|
"/organization-products/:organizationProductOptionId/webhooks"
|
|
3269
|
-
).setPath(OrganizationProductOptionParams).setPayload(CreateOrganizationProductWebhookSchema).addSuccess(OrganizationProductWebhookUpsertResponseSchema, { status: 201 }).annotateContext(
|
|
3414
|
+
).setPath(OrganizationProductOptionParams).setHeaders(RequiredWebhookOperationHeaders).setPayload(CreateOrganizationProductWebhookSchema).addSuccess(OrganizationProductWebhookUpsertResponseSchema, { status: 201 }).annotateContext(
|
|
3270
3415
|
OpenApi.annotations({ summary: "Create a webhook for an organization product option" })
|
|
3271
3416
|
)
|
|
3272
3417
|
).add(
|
|
@@ -3278,11 +3423,20 @@ var organizationsGroup = HttpApiGroup.make("organizations").add(
|
|
|
3278
3423
|
summary: "Legacy single-webhook lookup for an organization product option"
|
|
3279
3424
|
})
|
|
3280
3425
|
)
|
|
3426
|
+
).add(
|
|
3427
|
+
HttpApiEndpoint.get(
|
|
3428
|
+
"getOrganizationProductWebhookOperationResult",
|
|
3429
|
+
"/organization-products/:organizationProductOptionId/webhook-operations/:idempotencyKey"
|
|
3430
|
+
).setPath(OrganizationProductWebhookOperationParams).addSuccess(Schema2.Union(OrganizationProductWebhookUpsertResponseSchema, Schema2.Null)).annotateContext(
|
|
3431
|
+
OpenApi.annotations({
|
|
3432
|
+
summary: "Recover an idempotent organization product webhook operation result"
|
|
3433
|
+
})
|
|
3434
|
+
)
|
|
3281
3435
|
).add(
|
|
3282
3436
|
HttpApiEndpoint.put(
|
|
3283
3437
|
"upsertOrganizationProductWebhook",
|
|
3284
3438
|
"/organization-products/:organizationProductOptionId/webhook"
|
|
3285
|
-
).setPath(OrganizationProductOptionParams).setPayload(UpsertOrganizationProductWebhookSchema).addSuccess(OrganizationProductWebhookUpsertResponseSchema).annotateContext(
|
|
3439
|
+
).setPath(OrganizationProductOptionParams).setHeaders(RequiredWebhookOperationHeaders).setPayload(UpsertOrganizationProductWebhookSchema).addSuccess(OrganizationProductWebhookUpsertResponseSchema).annotateContext(
|
|
3286
3440
|
OpenApi.annotations({
|
|
3287
3441
|
summary: "Legacy single-webhook create-or-update helper for an organization product option"
|
|
3288
3442
|
})
|
|
@@ -3291,7 +3445,7 @@ var organizationsGroup = HttpApiGroup.make("organizations").add(
|
|
|
3291
3445
|
HttpApiEndpoint.put(
|
|
3292
3446
|
"updateOrganizationProductWebhook",
|
|
3293
3447
|
"/organization-product-webhooks/:organizationProductWebhookId"
|
|
3294
|
-
).setPath(OrganizationProductWebhookParams).setPayload(UpdateOrganizationProductWebhookSchema).addSuccess(OrganizationProductWebhookUpsertResponseSchema).annotateContext(OpenApi.annotations({ summary: "Update an organization product webhook" }))
|
|
3448
|
+
).setPath(OrganizationProductWebhookParams).setHeaders(RequiredWebhookOperationHeaders).setPayload(UpdateOrganizationProductWebhookSchema).addSuccess(OrganizationProductWebhookUpsertResponseSchema).annotateContext(OpenApi.annotations({ summary: "Update an organization product webhook" }))
|
|
3295
3449
|
).add(
|
|
3296
3450
|
HttpApiEndpoint.del(
|
|
3297
3451
|
"deleteOrganizationProductWebhook",
|
|
@@ -3407,6 +3561,12 @@ var membersGroup = HttpApiGroup.make("members").add(
|
|
|
3407
3561
|
transform: createMemberExamplesTransform
|
|
3408
3562
|
})
|
|
3409
3563
|
)
|
|
3564
|
+
).add(
|
|
3565
|
+
HttpApiEndpoint.post("seedOrganizationMembers", "/organizations/:organizationId/members/seed").setPath(OrganizationIdParams).setPayload(SeedOrganizationMembersSchema).addSuccess(MemberSeedBatchSchema, { status: 201 }).annotateContext(
|
|
3566
|
+
OpenApi.annotations({
|
|
3567
|
+
summary: "Seed synthetic members for an organization"
|
|
3568
|
+
})
|
|
3569
|
+
)
|
|
3410
3570
|
).add(
|
|
3411
3571
|
HttpApiEndpoint.post(
|
|
3412
3572
|
"requestSourceManagedMemberCreate",
|
|
@@ -3437,6 +3597,15 @@ var membersGroup = HttpApiGroup.make("members").add(
|
|
|
3437
3597
|
transform: sourceManagedUpdateExamplesTransform
|
|
3438
3598
|
})
|
|
3439
3599
|
)
|
|
3600
|
+
).add(
|
|
3601
|
+
HttpApiEndpoint.post(
|
|
3602
|
+
"requestSourceManagedMemberPreferenceUpdate",
|
|
3603
|
+
"/organizations/:organizationId/members/:memberId/source-preferences"
|
|
3604
|
+
).setPath(OrganizationMemberParams).setPayload(RequestSourceManagedMemberPreferenceUpdateSchema).addSuccess(OrganizationMemberSourceCommandSchema, { status: 202 }).annotateContext(
|
|
3605
|
+
OpenApi.annotations({
|
|
3606
|
+
summary: "Request member marketing preference update via the configured upstream source"
|
|
3607
|
+
})
|
|
3608
|
+
)
|
|
3440
3609
|
).add(
|
|
3441
3610
|
HttpApiEndpoint.post(
|
|
3442
3611
|
"requestSourceManagedMemberLookupById",
|
|
@@ -3464,6 +3633,15 @@ var membersGroup = HttpApiGroup.make("members").add(
|
|
|
3464
3633
|
summary: "Request upstream member lookup by card number"
|
|
3465
3634
|
})
|
|
3466
3635
|
)
|
|
3636
|
+
).add(
|
|
3637
|
+
HttpApiEndpoint.post(
|
|
3638
|
+
"requestSourceManagedCustomFields",
|
|
3639
|
+
"/organizations/:organizationId/member-source/custom-fields"
|
|
3640
|
+
).setPath(OrganizationIdParams).addSuccess(OrganizationMemberSourceCommandSchema, { status: 202 }).annotateContext(
|
|
3641
|
+
OpenApi.annotations({
|
|
3642
|
+
summary: "Request upstream custom field definitions from the configured source"
|
|
3643
|
+
})
|
|
3644
|
+
)
|
|
3467
3645
|
).add(
|
|
3468
3646
|
HttpApiEndpoint.patch(
|
|
3469
3647
|
"updateOrganizationMember",
|
|
@@ -3674,6 +3852,15 @@ var memberSourcesGroup = HttpApiGroup.make("memberSources").add(
|
|
|
3674
3852
|
).setPath(OrganizationIdParams).setPayload(UpsertOrganizationMemberSourceSchema).addSuccess(OrganizationMemberSourceSchema).annotateContext(
|
|
3675
3853
|
OpenApi.annotations({ summary: "Create or update the member source for an organization" })
|
|
3676
3854
|
)
|
|
3855
|
+
).add(
|
|
3856
|
+
HttpApiEndpoint.post(
|
|
3857
|
+
"convertOrganizationToDemo",
|
|
3858
|
+
"/organizations/:organizationId/member-source/demo"
|
|
3859
|
+
).setPath(OrganizationIdParams).setPayload(ConvertOrganizationToDemoSchema).addSuccess(OrganizationMemberSourceSchema).annotateContext(
|
|
3860
|
+
OpenApi.annotations({
|
|
3861
|
+
summary: "Convert an existing organization to an Odyssey Nexus demo source"
|
|
3862
|
+
})
|
|
3863
|
+
)
|
|
3677
3864
|
).add(
|
|
3678
3865
|
HttpApiEndpoint.post(
|
|
3679
3866
|
"bootstrapOrganizationMemberSourceAgent",
|
|
@@ -3813,6 +4000,15 @@ var onsiteAgentsGroup = HttpApiGroup.make("onsiteAgents").add(
|
|
|
3813
4000
|
summary: "Poll for the next pending onsite member-renewal command"
|
|
3814
4001
|
})
|
|
3815
4002
|
)
|
|
4003
|
+
).add(
|
|
4004
|
+
HttpApiEndpoint.post(
|
|
4005
|
+
"pollOnsiteAgentMemberPreferenceUpdateCommand",
|
|
4006
|
+
"/onsite-agent/member-preference-commands/poll"
|
|
4007
|
+
).addSuccess(Schema2.Union(OnsiteAgentMemberPreferenceUpdateCommandSchema, Schema2.Null)).annotateContext(
|
|
4008
|
+
OpenApi.annotations({
|
|
4009
|
+
summary: "Poll for the next pending onsite member preference update command"
|
|
4010
|
+
})
|
|
4011
|
+
)
|
|
3816
4012
|
).add(
|
|
3817
4013
|
HttpApiEndpoint.post(
|
|
3818
4014
|
"pollOnsiteAgentMemberLookupCommand",
|
|
@@ -3822,6 +4018,21 @@ var onsiteAgentsGroup = HttpApiGroup.make("onsiteAgents").add(
|
|
|
3822
4018
|
summary: "Poll for the next pending onsite member-lookup command"
|
|
3823
4019
|
})
|
|
3824
4020
|
)
|
|
4021
|
+
).add(
|
|
4022
|
+
HttpApiEndpoint.post(
|
|
4023
|
+
"pollOnsiteAgentCustomFieldsCommand",
|
|
4024
|
+
"/onsite-agent/custom-fields-commands/poll"
|
|
4025
|
+
).addSuccess(Schema2.Union(OnsiteAgentCustomFieldsCommandSchema, Schema2.Null)).annotateContext(
|
|
4026
|
+
OpenApi.annotations({
|
|
4027
|
+
summary: "Poll for the next pending onsite custom-fields command"
|
|
4028
|
+
})
|
|
4029
|
+
)
|
|
4030
|
+
).add(
|
|
4031
|
+
HttpApiEndpoint.post("refreshOnsiteAgentRunCsvUpload", "/onsite-agent/runs/:runId/csv-upload").setPath(OrganizationMemberSyncRunParams).addSuccess(OnsiteAgentCsvUploadTargetSchema).annotateContext(
|
|
4032
|
+
OpenApi.annotations({
|
|
4033
|
+
summary: "Issue a fresh presigned CSV upload target for a claimed onsite sync run"
|
|
4034
|
+
})
|
|
4035
|
+
)
|
|
3825
4036
|
).add(
|
|
3826
4037
|
HttpApiEndpoint.post("completeOnsiteAgentRun", "/onsite-agent/runs/:runId/complete").setPath(OrganizationMemberSyncRunParams).setPayload(OnsiteAgentCompleteRunSchema).addSuccess(OrganizationMemberSyncRunSchema).annotateContext(
|
|
3827
4038
|
OpenApi.annotations({ summary: "Submit onsite agent sync results for a claimed run" })
|
|
@@ -3852,6 +4063,19 @@ var onsiteAgentsGroup = HttpApiGroup.make("onsiteAgents").add(
|
|
|
3852
4063
|
summary: "Submit onsite agent member-update results for a claimed command"
|
|
3853
4064
|
})
|
|
3854
4065
|
)
|
|
4066
|
+
).add(
|
|
4067
|
+
HttpApiEndpoint.post(
|
|
4068
|
+
"completeOnsiteAgentMemberPreferenceUpdate",
|
|
4069
|
+
"/onsite-agent/member-preference-commands/:commandId/complete"
|
|
4070
|
+
).setPath(
|
|
4071
|
+
Schema2.Struct({
|
|
4072
|
+
commandId: HttpApiSchema2.param("commandId", Schema2.String)
|
|
4073
|
+
})
|
|
4074
|
+
).setPayload(OnsiteAgentCompleteMemberUpdateSchema).addSuccess(OrganizationMemberSourceCommandSchema).annotateContext(
|
|
4075
|
+
OpenApi.annotations({
|
|
4076
|
+
summary: "Submit onsite agent member preference update results for a claimed command"
|
|
4077
|
+
})
|
|
4078
|
+
)
|
|
3855
4079
|
).add(
|
|
3856
4080
|
HttpApiEndpoint.post(
|
|
3857
4081
|
"completeOnsiteAgentMemberLookup",
|
|
@@ -3878,6 +4102,19 @@ var onsiteAgentsGroup = HttpApiGroup.make("onsiteAgents").add(
|
|
|
3878
4102
|
summary: "Submit onsite agent member-renewal results for a claimed command"
|
|
3879
4103
|
})
|
|
3880
4104
|
)
|
|
4105
|
+
).add(
|
|
4106
|
+
HttpApiEndpoint.post(
|
|
4107
|
+
"completeOnsiteAgentCustomFields",
|
|
4108
|
+
"/onsite-agent/custom-fields-commands/:commandId/complete"
|
|
4109
|
+
).setPath(
|
|
4110
|
+
Schema2.Struct({
|
|
4111
|
+
commandId: HttpApiSchema2.param("commandId", Schema2.String)
|
|
4112
|
+
})
|
|
4113
|
+
).setPayload(OnsiteAgentCompleteCustomFieldsSchema).addSuccess(OrganizationMemberSourceCommandSchema).annotateContext(
|
|
4114
|
+
OpenApi.annotations({
|
|
4115
|
+
summary: "Submit onsite agent custom field definitions for a claimed command"
|
|
4116
|
+
})
|
|
4117
|
+
)
|
|
3881
4118
|
);
|
|
3882
4119
|
var guestsGroup = HttpApiGroup.make("guests").add(
|
|
3883
4120
|
HttpApiEndpoint.get("listGuests", "/organizations/:organizationId/guests").setPath(OrganizationIdParams).setUrlParams(GuestsListUrlParamsSchema).addSuccess(PaginatedGuestsSchema).annotateContext(
|
|
@@ -4357,7 +4594,8 @@ function makeOnsiteResourceClient(client) {
|
|
|
4357
4594
|
operation: "member.lookup",
|
|
4358
4595
|
payload: {
|
|
4359
4596
|
lookupBy: input.lookupBy,
|
|
4360
|
-
lookupValue: input.lookupValue
|
|
4597
|
+
lookupValue: input.lookupValue,
|
|
4598
|
+
refreshStoredMember: input.refreshStoredMember === true ? true : void 0
|
|
4361
4599
|
}
|
|
4362
4600
|
})
|
|
4363
4601
|
},
|
|
@@ -4485,6 +4723,7 @@ function makeSpokeClient(hubClient) {
|
|
|
4485
4723
|
path: {
|
|
4486
4724
|
organizationProductOptionId: input.organizationProductOptionId
|
|
4487
4725
|
},
|
|
4726
|
+
headers: { "idempotency-key": input.idempotencyKey },
|
|
4488
4727
|
payload: input.payload
|
|
4489
4728
|
})
|
|
4490
4729
|
)
|
|
@@ -4613,6 +4852,15 @@ function makeSpokeClient(hubClient) {
|
|
|
4613
4852
|
payload: input.payload
|
|
4614
4853
|
})
|
|
4615
4854
|
),
|
|
4855
|
+
updatePreferences: (input) => unwrap(
|
|
4856
|
+
hubClient.members.requestSourceManagedMemberPreferenceUpdate({
|
|
4857
|
+
path: {
|
|
4858
|
+
organizationId: input.organizationId,
|
|
4859
|
+
memberId: input.memberId
|
|
4860
|
+
},
|
|
4861
|
+
payload: input.payload
|
|
4862
|
+
})
|
|
4863
|
+
),
|
|
4616
4864
|
renew: (input) => unwrap(
|
|
4617
4865
|
hubClient.members.requestSourceManagedMemberRenewal({
|
|
4618
4866
|
path: {
|
|
@@ -4651,7 +4899,14 @@ function makeSpokeClient(hubClient) {
|
|
|
4651
4899
|
}
|
|
4652
4900
|
})
|
|
4653
4901
|
);
|
|
4654
|
-
}
|
|
4902
|
+
},
|
|
4903
|
+
customFields: (input) => unwrap(
|
|
4904
|
+
hubClient.members.requestSourceManagedCustomFields({
|
|
4905
|
+
path: {
|
|
4906
|
+
organizationId: input.organizationId
|
|
4907
|
+
}
|
|
4908
|
+
})
|
|
4909
|
+
)
|
|
4655
4910
|
}
|
|
4656
4911
|
},
|
|
4657
4912
|
memberSources: {
|
|
@@ -4896,6 +5151,7 @@ export {
|
|
|
4896
5151
|
CompleteOnsitePointCommandSchema,
|
|
4897
5152
|
CompleteOnsiteVoucherCommandSchema,
|
|
4898
5153
|
ConflictErrorSchema,
|
|
5154
|
+
ConvertOrganizationToDemoSchema,
|
|
4899
5155
|
CreateGuestSchema,
|
|
4900
5156
|
CreateMemberSchema,
|
|
4901
5157
|
CreateOrganizationMemberSourceCsvUploadResponseSchema,
|
|
@@ -4927,10 +5183,12 @@ export {
|
|
|
4927
5183
|
MemberResponseModeSchema,
|
|
4928
5184
|
MemberResponseSchema,
|
|
4929
5185
|
MemberSchema,
|
|
5186
|
+
MemberSeedBatchSchema,
|
|
4930
5187
|
MemberSourceSecretNameSchema,
|
|
4931
5188
|
MemberStatusCreditsSchema,
|
|
4932
5189
|
NotFoundErrorSchema,
|
|
4933
5190
|
OnsiteAgentCommandSchema,
|
|
5191
|
+
OnsiteAgentCompleteCustomFieldsSchema,
|
|
4934
5192
|
OnsiteAgentCompleteMemberCreateSchema,
|
|
4935
5193
|
OnsiteAgentCompleteMemberLookupSchema,
|
|
4936
5194
|
OnsiteAgentCompleteMemberRenewalSchema,
|
|
@@ -4938,11 +5196,14 @@ export {
|
|
|
4938
5196
|
OnsiteAgentCompleteRunErrorSchema,
|
|
4939
5197
|
OnsiteAgentCompleteRunSchema,
|
|
4940
5198
|
OnsiteAgentCsvUploadTargetSchema,
|
|
5199
|
+
OnsiteAgentCustomFieldsCommandSchema,
|
|
4941
5200
|
OnsiteAgentHeartbeatResponseSchema,
|
|
4942
5201
|
OnsiteAgentHeartbeatSchema,
|
|
4943
5202
|
OnsiteAgentIngestLiveFbiBatchSchema,
|
|
4944
5203
|
OnsiteAgentMemberCreateCommandSchema,
|
|
5204
|
+
OnsiteAgentMemberCreationResultSchema,
|
|
4945
5205
|
OnsiteAgentMemberLookupCommandSchema,
|
|
5206
|
+
OnsiteAgentMemberPreferenceUpdateCommandSchema,
|
|
4946
5207
|
OnsiteAgentMemberRenewalCommandSchema,
|
|
4947
5208
|
OnsiteAgentMemberUpdateCommandSchema,
|
|
4948
5209
|
OnsitePointCommandSchema,
|
|
@@ -5006,14 +5267,18 @@ export {
|
|
|
5006
5267
|
RequestPointDebitSchema,
|
|
5007
5268
|
RequestPointLookupSchema,
|
|
5008
5269
|
RequestSourceManagedMemberCreateSchema,
|
|
5270
|
+
RequestSourceManagedMemberPreferenceUpdateSchema,
|
|
5009
5271
|
RequestSourceManagedMemberRenewalSchema,
|
|
5010
5272
|
RequestSourceManagedMemberUpdateSchema,
|
|
5011
5273
|
RequestVoucherIssueSchema,
|
|
5012
5274
|
RequestVoucherLookupSchema,
|
|
5275
|
+
SeedOrganizationMembersSchema,
|
|
5013
5276
|
ServiceClientSchema,
|
|
5014
5277
|
SortDirectionSchema,
|
|
5278
|
+
SourceContactPreferenceSchema,
|
|
5015
5279
|
SourceManagedMemberLookupBySchema,
|
|
5016
5280
|
SourceManagedMemberLookupCommandPayloadSchema,
|
|
5281
|
+
SourceManagedMemberPreferenceUpdateCommandPayloadSchema,
|
|
5017
5282
|
SourceManagedMemberRenewalCommandPayloadSchema,
|
|
5018
5283
|
SourceManagedMemberUpdateCommandPayloadSchema,
|
|
5019
5284
|
SpokeHubApiError,
|