@connectedxm/client 1.5.3 → 1.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -382,6 +382,11 @@ __export(index_exports, {
382
382
  GetSeriesList: () => GetSeriesList,
383
383
  GetSubscribedChannels: () => GetSubscribedChannels,
384
384
  GetSubscribedContents: () => GetSubscribedContents,
385
+ GetSurvey: () => GetSurvey,
386
+ GetSurveyQuestionSearchValues: () => GetSurveyQuestionSearchValues,
387
+ GetSurveySubmission: () => GetSurveySubmission,
388
+ GetSurveySubmissionSections: () => GetSurveySubmissionSections,
389
+ GetSurveySubmissions: () => GetSurveySubmissions,
385
390
  GetThread: () => GetThread,
386
391
  GetThreadEvent: () => GetThreadEvent,
387
392
  GetThreadEvents: () => GetThreadEvents,
@@ -629,9 +634,12 @@ __export(index_exports, {
629
634
  SET_SELF_EVENT_REGISTRATION_ROOM_TYPES_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_ROOM_TYPES_QUERY_DATA,
630
635
  SET_SELF_GROUP_MEMBERSHIP_QUERY_DATA: () => SET_SELF_GROUP_MEMBERSHIP_QUERY_DATA,
631
636
  SET_SELF_QUERY_DATA: () => SET_SELF_QUERY_DATA,
637
+ SET_SELF_SURVEY_SUBMISSION_QUERY_DATA: () => SET_SELF_SURVEY_SUBMISSION_QUERY_DATA,
632
638
  SET_SERIES_EVENTS_QUERY_DATA: () => SET_SERIES_EVENTS_QUERY_DATA,
633
639
  SET_SERIES_LIST_QUERY_DATA: () => SET_SERIES_LIST_QUERY_DATA,
634
640
  SET_SERIES_QUERY_DATA: () => SET_SERIES_QUERY_DATA,
641
+ SET_SURVEY_QUERY_DATA: () => SET_SURVEY_QUERY_DATA,
642
+ SET_SURVEY_SUBMISSION_SECTIONS_QUERY_DATA: () => SET_SURVEY_SUBMISSION_SECTIONS_QUERY_DATA,
635
643
  SET_THREADS_QUERY_DATA: () => SET_THREADS_QUERY_DATA,
636
644
  SET_THREAD_EVENTS_QUERY_DATA: () => SET_THREAD_EVENTS_QUERY_DATA,
637
645
  SET_THREAD_EVENT_QUERY_DATA: () => SET_THREAD_EVENT_QUERY_DATA,
@@ -645,15 +653,23 @@ __export(index_exports, {
645
653
  SET_THREAD_QUERY_DATA: () => SET_THREAD_QUERY_DATA,
646
654
  SUBSCRIBED_CHANNELS_QUERY_KEY: () => SUBSCRIBED_CHANNELS_QUERY_KEY,
647
655
  SUBSCRIBED_CONTENTS_QUERY_KEY: () => SUBSCRIBED_CONTENTS_QUERY_KEY,
656
+ SURVEY_QUERY_KEY: () => SURVEY_QUERY_KEY,
657
+ SURVEY_QUESTION_SEARCH_VALUES_QUERY_KEY: () => SURVEY_QUESTION_SEARCH_VALUES_QUERY_KEY,
658
+ SURVEY_SUBMISSIONS_QUERY_KEY: () => SURVEY_SUBMISSIONS_QUERY_KEY,
659
+ SURVEY_SUBMISSION_QUERY_KEY: () => SURVEY_SUBMISSION_QUERY_KEY,
660
+ SURVEY_SUBMISSION_SECTIONS_QUERY_KEY: () => SURVEY_SUBMISSION_SECTIONS_QUERY_KEY,
648
661
  SelectSelfEventRegistrationCoupon: () => SelectSelfEventRegistrationCoupon,
649
662
  SelfCreateActivity: () => SelfCreateActivity,
650
663
  SelfUpdateGroupMembership: () => SelfUpdateGroupMembership,
651
664
  SessionPassStatus: () => SessionPassStatus,
652
665
  SetContentPublishSchedule: () => SetContentPublishSchedule,
666
+ StartSurvey: () => StartSurvey,
653
667
  SubmitSelfEventRegistration: () => SubmitSelfEventRegistration,
654
668
  SubmitSelfEventRegistrationSessionPasses: () => SubmitSelfEventRegistrationSessionPasses,
669
+ SubmitSurvey: () => SubmitSurvey,
655
670
  SubscriptionStatus: () => SubscriptionStatus,
656
671
  SupportTicketType: () => SupportTicketType,
672
+ SurveyQuestionType: () => SurveyQuestionType,
657
673
  THREADS_QUERY_KEY: () => THREADS_QUERY_KEY,
658
674
  THREAD_EVENTS_QUERY_KEY: () => THREAD_EVENTS_QUERY_KEY,
659
675
  THREAD_EVENT_QUERY_KEY: () => THREAD_EVENT_QUERY_KEY,
@@ -702,11 +718,13 @@ __export(index_exports, {
702
718
  UpdateSelfNotificationPreferences: () => UpdateSelfNotificationPreferences,
703
719
  UpdateSelfPushDevice: () => UpdateSelfPushDevice,
704
720
  UpdateSubscriptionPaymentMethod: () => UpdateSubscriptionPaymentMethod,
721
+ UpdateSurveyResponse: () => UpdateSurveyResponse,
705
722
  UpdateThread: () => UpdateThread,
706
723
  UpdateThreadMember: () => UpdateThreadMember,
707
724
  UpdateThreadMessage: () => UpdateThreadMessage,
708
725
  UploadChannelContentImage: () => UploadChannelContentImage,
709
726
  UploadFile: () => UploadFile,
727
+ UploadSurveyResponseFile: () => UploadSurveyResponseFile,
710
728
  isListing: () => isListing,
711
729
  isManagedCoupon: () => isManagedCoupon,
712
730
  isRegistrationQuestion: () => isRegistrationQuestion,
@@ -996,6 +1014,11 @@ __export(index_exports, {
996
1014
  useGetSeriesList: () => useGetSeriesList,
997
1015
  useGetSubscribedChannels: () => useGetSubscribedChannels,
998
1016
  useGetSubscribedContents: () => useGetSubscribedContents,
1017
+ useGetSurvey: () => useGetSurvey,
1018
+ useGetSurveyQuestionSearchValues: () => useGetSurveyQuestionSearchValues,
1019
+ useGetSurveySubmission: () => useGetSurveySubmission,
1020
+ useGetSurveySubmissionSections: () => useGetSurveySubmissionSections,
1021
+ useGetSurveySubmissions: () => useGetSurveySubmissions,
999
1022
  useGetThread: () => useGetThread,
1000
1023
  useGetThreadEvent: () => useGetThreadEvent,
1001
1024
  useGetThreadEvents: () => useGetThreadEvents,
@@ -1036,8 +1059,10 @@ __export(index_exports, {
1036
1059
  useSelfCreateActivity: () => useSelfCreateActivity,
1037
1060
  useSelfUpdateGroupMembership: () => useSelfUpdateGroupMembership,
1038
1061
  useSetContentPublishSchedule: () => useSetContentPublishSchedule,
1062
+ useStartSurvey: () => useStartSurvey,
1039
1063
  useSubmitSelfEventRegistration: () => useSubmitSelfEventRegistration,
1040
1064
  useSubmitSelfEventRegistrationSessionPasses: () => useSubmitSelfEventRegistrationSessionPasses,
1065
+ useSubmitSurvey: () => useSubmitSurvey,
1041
1066
  useTransferPass: () => useTransferPass,
1042
1067
  useUndoCheckinListingAttendeePass: () => useUndoCheckinListingAttendeePass,
1043
1068
  useUnfollowAccount: () => useUnfollowAccount,
@@ -1069,11 +1094,13 @@ __export(index_exports, {
1069
1094
  useUpdateSelfNotificationPreferences: () => useUpdateSelfNotificationPreferences,
1070
1095
  useUpdateSelfPushDevice: () => useUpdateSelfPushDevice,
1071
1096
  useUpdateSubscriptionPaymentMethod: () => useUpdateSubscriptionPaymentMethod,
1097
+ useUpdateSurveyResponse: () => useUpdateSurveyResponse,
1072
1098
  useUpdateThread: () => useUpdateThread,
1073
1099
  useUpdateThreadMember: () => useUpdateThreadMember,
1074
1100
  useUpdateThreadMessage: () => useUpdateThreadMessage,
1075
1101
  useUploadChannelContentImage: () => useUploadChannelContentImage,
1076
- useUploadFile: () => useUploadFile
1102
+ useUploadFile: () => useUploadFile,
1103
+ useUploadSurveyResponseFile: () => useUploadSurveyResponseFile
1077
1104
  });
1078
1105
  module.exports = __toCommonJS(index_exports);
1079
1106
 
@@ -1521,6 +1548,7 @@ var OrganizationModuleType = /* @__PURE__ */ ((OrganizationModuleType2) => {
1521
1548
  OrganizationModuleType2["invoices"] = "invoices";
1522
1549
  OrganizationModuleType2["announcements"] = "announcements";
1523
1550
  OrganizationModuleType2["bookings"] = "bookings";
1551
+ OrganizationModuleType2["surveys"] = "surveys";
1524
1552
  return OrganizationModuleType2;
1525
1553
  })(OrganizationModuleType || {});
1526
1554
  var PaymentIntegrationType = /* @__PURE__ */ ((PaymentIntegrationType2) => {
@@ -1539,6 +1567,20 @@ var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
1539
1567
  DayOfWeek2["saturday"] = "saturday";
1540
1568
  return DayOfWeek2;
1541
1569
  })(DayOfWeek || {});
1570
+ var SurveyQuestionType = /* @__PURE__ */ ((SurveyQuestionType2) => {
1571
+ SurveyQuestionType2["text"] = "text";
1572
+ SurveyQuestionType2["textarea"] = "textarea";
1573
+ SurveyQuestionType2["number"] = "number";
1574
+ SurveyQuestionType2["time"] = "time";
1575
+ SurveyQuestionType2["date"] = "date";
1576
+ SurveyQuestionType2["toggle"] = "toggle";
1577
+ SurveyQuestionType2["select"] = "select";
1578
+ SurveyQuestionType2["radio"] = "radio";
1579
+ SurveyQuestionType2["checkbox"] = "checkbox";
1580
+ SurveyQuestionType2["search"] = "search";
1581
+ SurveyQuestionType2["file"] = "file";
1582
+ return SurveyQuestionType2;
1583
+ })(SurveyQuestionType || {});
1542
1584
 
1543
1585
  // src/utilities/AppendInfiniteQuery.ts
1544
1586
  var import_immer = require("immer");
@@ -9389,6 +9431,218 @@ var useGetIntegrationAuth = (integrationType, expiration, options = {}) => {
9389
9431
  );
9390
9432
  };
9391
9433
 
9434
+ // src/queries/surveys/useGetSurvey.ts
9435
+ var SURVEY_QUERY_KEY = (surveyId) => [
9436
+ "SURVEYS",
9437
+ surveyId
9438
+ ];
9439
+ var SET_SURVEY_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
9440
+ client.setQueryData(
9441
+ [...SURVEY_QUERY_KEY(...keyParams), ...GetBaseSingleQueryKeys(...baseKeys)],
9442
+ response
9443
+ );
9444
+ };
9445
+ var GetSurvey = async ({
9446
+ surveyId,
9447
+ clientApiParams
9448
+ }) => {
9449
+ const clientApi = await GetClientAPI(clientApiParams);
9450
+ const { data } = await clientApi.get(`/surveys/${surveyId}`);
9451
+ return data;
9452
+ };
9453
+ var useGetSurvey = (surveyId, options = {}) => {
9454
+ return useConnectedSingleQuery_default(
9455
+ SURVEY_QUERY_KEY(surveyId),
9456
+ (params) => GetSurvey({
9457
+ surveyId,
9458
+ ...params
9459
+ }),
9460
+ {
9461
+ ...options,
9462
+ staleTime: Infinity,
9463
+ refetchOnWindowFocus: false,
9464
+ refetchOnReconnect: false,
9465
+ enabled: !!surveyId && (options?.enabled ?? true)
9466
+ }
9467
+ );
9468
+ };
9469
+
9470
+ // src/queries/surveys/useGetSurveySubmissions.ts
9471
+ var SURVEY_SUBMISSIONS_QUERY_KEY = (surveyId, status) => {
9472
+ const key = [
9473
+ ...SELF_QUERY_KEY(),
9474
+ ...SURVEY_QUERY_KEY(surveyId),
9475
+ "SUBMISSIONS"
9476
+ ];
9477
+ if (status) key.push(status);
9478
+ return key;
9479
+ };
9480
+ var GetSurveySubmissions = async ({
9481
+ surveyId,
9482
+ status,
9483
+ pageParam,
9484
+ pageSize,
9485
+ orderBy,
9486
+ search,
9487
+ clientApiParams
9488
+ }) => {
9489
+ const clientApi = await GetClientAPI(clientApiParams);
9490
+ const { data } = await clientApi.get(`/surveys/${surveyId}/submissions`, {
9491
+ params: {
9492
+ page: pageParam || void 0,
9493
+ pageSize: pageSize || void 0,
9494
+ orderBy: orderBy || void 0,
9495
+ search: search || void 0,
9496
+ status: status || void 0
9497
+ }
9498
+ });
9499
+ return data;
9500
+ };
9501
+ var useGetSurveySubmissions = (surveyId = "", status, params = {}, options = {}) => {
9502
+ const { authenticated } = useConnectedXM();
9503
+ return useConnectedInfiniteQuery(
9504
+ SURVEY_SUBMISSIONS_QUERY_KEY(surveyId, status),
9505
+ (params2) => GetSurveySubmissions({
9506
+ surveyId,
9507
+ status,
9508
+ ...params2
9509
+ }),
9510
+ params,
9511
+ {
9512
+ ...options,
9513
+ enabled: !!authenticated && !!surveyId && (options?.enabled ?? true)
9514
+ }
9515
+ );
9516
+ };
9517
+
9518
+ // src/queries/surveys/useGetSurveySubmission.ts
9519
+ var SURVEY_SUBMISSION_QUERY_KEY = (surveyId, submissionId) => [
9520
+ ...SURVEY_SUBMISSIONS_QUERY_KEY(surveyId),
9521
+ "SUBMISSIONS",
9522
+ submissionId
9523
+ ];
9524
+ var SET_SELF_SURVEY_SUBMISSION_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
9525
+ client.setQueryData(
9526
+ [
9527
+ ...SURVEY_SUBMISSION_QUERY_KEY(...keyParams),
9528
+ ...GetBaseSingleQueryKeys(...baseKeys)
9529
+ ],
9530
+ response
9531
+ );
9532
+ };
9533
+ var GetSurveySubmission = async ({
9534
+ surveyId,
9535
+ submissionId,
9536
+ clientApiParams
9537
+ }) => {
9538
+ const clientApi = await GetClientAPI(clientApiParams);
9539
+ const { data } = await clientApi.get(
9540
+ `/surveys/${surveyId}/submissions/${submissionId}`
9541
+ );
9542
+ return data;
9543
+ };
9544
+ var useGetSurveySubmission = (surveyId, submissionId, options = {}) => {
9545
+ return useConnectedSingleQuery_default(
9546
+ SURVEY_SUBMISSION_QUERY_KEY(surveyId, submissionId),
9547
+ (params) => GetSurveySubmission({
9548
+ surveyId,
9549
+ submissionId,
9550
+ ...params
9551
+ }),
9552
+ {
9553
+ ...options,
9554
+ staleTime: Infinity,
9555
+ refetchOnWindowFocus: false,
9556
+ refetchOnReconnect: false,
9557
+ enabled: !!surveyId && !!submissionId && (options?.enabled ?? true)
9558
+ }
9559
+ );
9560
+ };
9561
+
9562
+ // src/queries/surveys/useGetSurveySubmissionSections.ts
9563
+ var SURVEY_SUBMISSION_SECTIONS_QUERY_KEY = (surveyId, submissionId) => [
9564
+ ...SURVEY_SUBMISSION_QUERY_KEY(surveyId, submissionId),
9565
+ "SECTIONS"
9566
+ ];
9567
+ var SET_SURVEY_SUBMISSION_SECTIONS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
9568
+ client.setQueryData(
9569
+ [
9570
+ ...SURVEY_SUBMISSION_SECTIONS_QUERY_KEY(...keyParams),
9571
+ ...GetBaseSingleQueryKeys(...baseKeys)
9572
+ ],
9573
+ response
9574
+ );
9575
+ };
9576
+ var GetSurveySubmissionSections = async ({
9577
+ surveyId,
9578
+ submissionId,
9579
+ clientApiParams
9580
+ }) => {
9581
+ const clientApi = await GetClientAPI(clientApiParams);
9582
+ const { data } = await clientApi.get(
9583
+ `/surveys/${surveyId}/submissions/${submissionId}/sections`
9584
+ );
9585
+ return data;
9586
+ };
9587
+ var useGetSurveySubmissionSections = (surveyId, submissionId, options = {}) => {
9588
+ return useConnectedSingleQuery_default(
9589
+ SURVEY_SUBMISSION_SECTIONS_QUERY_KEY(surveyId, submissionId),
9590
+ (params) => GetSurveySubmissionSections({
9591
+ surveyId,
9592
+ submissionId,
9593
+ ...params
9594
+ }),
9595
+ {
9596
+ ...options,
9597
+ staleTime: Infinity,
9598
+ refetchOnWindowFocus: false,
9599
+ refetchOnReconnect: false,
9600
+ enabled: !!surveyId && !!submissionId && (options?.enabled ?? true)
9601
+ }
9602
+ );
9603
+ };
9604
+
9605
+ // src/queries/surveys/useGetSurveyQuestionSearchValues.ts
9606
+ var SURVEY_QUESTION_SEARCH_VALUES_QUERY_KEY = (surveyId, questionId) => [...SURVEY_QUERY_KEY(surveyId), "QUESTIONS", questionId, "VALUES"];
9607
+ var GetSurveyQuestionSearchValues = async ({
9608
+ surveyId,
9609
+ questionId,
9610
+ pageParam,
9611
+ pageSize,
9612
+ orderBy,
9613
+ search,
9614
+ clientApiParams
9615
+ }) => {
9616
+ const clientApi = await GetClientAPI(clientApiParams);
9617
+ const { data } = await clientApi.get(
9618
+ `/surveys/${surveyId}/questions/${questionId}/values`,
9619
+ {
9620
+ params: {
9621
+ page: pageParam || void 0,
9622
+ pageSize: pageSize || void 0,
9623
+ orderBy: orderBy || void 0,
9624
+ search: search || void 0
9625
+ }
9626
+ }
9627
+ );
9628
+ return data;
9629
+ };
9630
+ var useGetSurveyQuestionSearchValues = (surveyId = "", questionId = "", params = {}, options = {}) => {
9631
+ return useConnectedInfiniteQuery(
9632
+ SURVEY_QUESTION_SEARCH_VALUES_QUERY_KEY(surveyId, questionId),
9633
+ (params2) => GetSurveyQuestionSearchValues({
9634
+ surveyId,
9635
+ questionId,
9636
+ ...params2
9637
+ }),
9638
+ params,
9639
+ {
9640
+ ...options,
9641
+ enabled: !!surveyId && !!questionId && (options?.enabled ?? true)
9642
+ }
9643
+ );
9644
+ };
9645
+
9392
9646
  // src/mutations/useConnectedMutation.ts
9393
9647
  var import_react_query4 = require("@tanstack/react-query");
9394
9648
  var useConnectedMutation = (mutation, options) => {
@@ -13237,6 +13491,86 @@ var EnableIntegration = async ({
13237
13491
  var useEnableIntegration = (options = {}) => {
13238
13492
  return useConnectedMutation_default(EnableIntegration, options);
13239
13493
  };
13494
+
13495
+ // src/mutations/surveys/useStartSurvey.ts
13496
+ var StartSurvey = async ({
13497
+ surveyId,
13498
+ clientApiParams
13499
+ }) => {
13500
+ const clientApi = await GetClientAPI(clientApiParams);
13501
+ const { data } = await clientApi.post(
13502
+ `/surveys/${surveyId}/submissions`
13503
+ );
13504
+ return data;
13505
+ };
13506
+ var useStartSurvey = (options = {}) => {
13507
+ return useConnectedMutation_default(StartSurvey, options);
13508
+ };
13509
+
13510
+ // src/mutations/surveys/useSubmitSurvey.ts
13511
+ var SubmitSurvey = async ({
13512
+ surveyId,
13513
+ submissionId,
13514
+ responses,
13515
+ clientApiParams,
13516
+ queryClient
13517
+ }) => {
13518
+ const clientApi = await GetClientAPI(clientApiParams);
13519
+ const { data } = await clientApi.post(
13520
+ `/surveys/${surveyId}/submissions/${submissionId}/submit`,
13521
+ responses
13522
+ );
13523
+ if (queryClient && data.status === "ok") {
13524
+ queryClient.invalidateQueries({
13525
+ queryKey: SURVEY_SUBMISSION_QUERY_KEY(surveyId, submissionId)
13526
+ });
13527
+ }
13528
+ return data;
13529
+ };
13530
+ var useSubmitSurvey = (options = {}) => {
13531
+ return useConnectedMutation_default(SubmitSurvey, options);
13532
+ };
13533
+
13534
+ // src/mutations/surveys/useUpdateSurveyResponse.ts
13535
+ var UpdateSurveyResponse = async ({
13536
+ surveyId,
13537
+ submissionId,
13538
+ questionId,
13539
+ response,
13540
+ clientApiParams
13541
+ }) => {
13542
+ const clientApi = await GetClientAPI(clientApiParams);
13543
+ const { data } = await clientApi.put(
13544
+ `/surveys/${surveyId}/submissions/${submissionId}/questions/${questionId}`,
13545
+ { response }
13546
+ );
13547
+ return data;
13548
+ };
13549
+ var useUpdateSurveyResponse = (options = {}) => {
13550
+ return useConnectedMutation_default(UpdateSurveyResponse, options);
13551
+ };
13552
+
13553
+ // src/mutations/surveys/useUploadSurveyResponseFile.ts
13554
+ var UploadSurveyResponseFile = async ({
13555
+ clientApiParams,
13556
+ surveyId,
13557
+ submissionId,
13558
+ dataUri,
13559
+ name
13560
+ }) => {
13561
+ const clientApi = await GetClientAPI(clientApiParams);
13562
+ const { data } = await clientApi.post(
13563
+ `/surveys/${surveyId}/submissions/${submissionId}/files`,
13564
+ {
13565
+ dataUri,
13566
+ name
13567
+ }
13568
+ );
13569
+ return data;
13570
+ };
13571
+ var useUploadSurveyResponseFile = (options = {}) => {
13572
+ return useConnectedMutation_default(UploadSurveyResponseFile, options);
13573
+ };
13240
13574
  // Annotate the CommonJS export names for ESM import in node:
13241
13575
  0 && (module.exports = {
13242
13576
  ACCOUNTS_POPULAR_QUERY_KEY,
@@ -13591,6 +13925,11 @@ var useEnableIntegration = (options = {}) => {
13591
13925
  GetSeriesList,
13592
13926
  GetSubscribedChannels,
13593
13927
  GetSubscribedContents,
13928
+ GetSurvey,
13929
+ GetSurveyQuestionSearchValues,
13930
+ GetSurveySubmission,
13931
+ GetSurveySubmissionSections,
13932
+ GetSurveySubmissions,
13594
13933
  GetThread,
13595
13934
  GetThreadEvent,
13596
13935
  GetThreadEvents,
@@ -13838,9 +14177,12 @@ var useEnableIntegration = (options = {}) => {
13838
14177
  SET_SELF_EVENT_REGISTRATION_ROOM_TYPES_QUERY_DATA,
13839
14178
  SET_SELF_GROUP_MEMBERSHIP_QUERY_DATA,
13840
14179
  SET_SELF_QUERY_DATA,
14180
+ SET_SELF_SURVEY_SUBMISSION_QUERY_DATA,
13841
14181
  SET_SERIES_EVENTS_QUERY_DATA,
13842
14182
  SET_SERIES_LIST_QUERY_DATA,
13843
14183
  SET_SERIES_QUERY_DATA,
14184
+ SET_SURVEY_QUERY_DATA,
14185
+ SET_SURVEY_SUBMISSION_SECTIONS_QUERY_DATA,
13844
14186
  SET_THREADS_QUERY_DATA,
13845
14187
  SET_THREAD_EVENTS_QUERY_DATA,
13846
14188
  SET_THREAD_EVENT_QUERY_DATA,
@@ -13854,15 +14196,23 @@ var useEnableIntegration = (options = {}) => {
13854
14196
  SET_THREAD_QUERY_DATA,
13855
14197
  SUBSCRIBED_CHANNELS_QUERY_KEY,
13856
14198
  SUBSCRIBED_CONTENTS_QUERY_KEY,
14199
+ SURVEY_QUERY_KEY,
14200
+ SURVEY_QUESTION_SEARCH_VALUES_QUERY_KEY,
14201
+ SURVEY_SUBMISSIONS_QUERY_KEY,
14202
+ SURVEY_SUBMISSION_QUERY_KEY,
14203
+ SURVEY_SUBMISSION_SECTIONS_QUERY_KEY,
13857
14204
  SelectSelfEventRegistrationCoupon,
13858
14205
  SelfCreateActivity,
13859
14206
  SelfUpdateGroupMembership,
13860
14207
  SessionPassStatus,
13861
14208
  SetContentPublishSchedule,
14209
+ StartSurvey,
13862
14210
  SubmitSelfEventRegistration,
13863
14211
  SubmitSelfEventRegistrationSessionPasses,
14212
+ SubmitSurvey,
13864
14213
  SubscriptionStatus,
13865
14214
  SupportTicketType,
14215
+ SurveyQuestionType,
13866
14216
  THREADS_QUERY_KEY,
13867
14217
  THREAD_EVENTS_QUERY_KEY,
13868
14218
  THREAD_EVENT_QUERY_KEY,
@@ -13911,11 +14261,13 @@ var useEnableIntegration = (options = {}) => {
13911
14261
  UpdateSelfNotificationPreferences,
13912
14262
  UpdateSelfPushDevice,
13913
14263
  UpdateSubscriptionPaymentMethod,
14264
+ UpdateSurveyResponse,
13914
14265
  UpdateThread,
13915
14266
  UpdateThreadMember,
13916
14267
  UpdateThreadMessage,
13917
14268
  UploadChannelContentImage,
13918
14269
  UploadFile,
14270
+ UploadSurveyResponseFile,
13919
14271
  isListing,
13920
14272
  isManagedCoupon,
13921
14273
  isRegistrationQuestion,
@@ -14205,6 +14557,11 @@ var useEnableIntegration = (options = {}) => {
14205
14557
  useGetSeriesList,
14206
14558
  useGetSubscribedChannels,
14207
14559
  useGetSubscribedContents,
14560
+ useGetSurvey,
14561
+ useGetSurveyQuestionSearchValues,
14562
+ useGetSurveySubmission,
14563
+ useGetSurveySubmissionSections,
14564
+ useGetSurveySubmissions,
14208
14565
  useGetThread,
14209
14566
  useGetThreadEvent,
14210
14567
  useGetThreadEvents,
@@ -14245,8 +14602,10 @@ var useEnableIntegration = (options = {}) => {
14245
14602
  useSelfCreateActivity,
14246
14603
  useSelfUpdateGroupMembership,
14247
14604
  useSetContentPublishSchedule,
14605
+ useStartSurvey,
14248
14606
  useSubmitSelfEventRegistration,
14249
14607
  useSubmitSelfEventRegistrationSessionPasses,
14608
+ useSubmitSurvey,
14250
14609
  useTransferPass,
14251
14610
  useUndoCheckinListingAttendeePass,
14252
14611
  useUnfollowAccount,
@@ -14278,9 +14637,11 @@ var useEnableIntegration = (options = {}) => {
14278
14637
  useUpdateSelfNotificationPreferences,
14279
14638
  useUpdateSelfPushDevice,
14280
14639
  useUpdateSubscriptionPaymentMethod,
14640
+ useUpdateSurveyResponse,
14281
14641
  useUpdateThread,
14282
14642
  useUpdateThreadMember,
14283
14643
  useUpdateThreadMessage,
14284
14644
  useUploadChannelContentImage,
14285
- useUploadFile
14645
+ useUploadFile,
14646
+ useUploadSurveyResponseFile
14286
14647
  });