@connectedxm/admin 4.2.11 → 4.3.0-beta.1

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.cjs CHANGED
@@ -305,12 +305,15 @@ __export(index_exports, {
305
305
  CreateInvoiceLineItem: () => CreateInvoiceLineItem,
306
306
  CreateLevel: () => CreateLevel,
307
307
  CreateLevelTranslation: () => CreateLevelTranslation,
308
+ CreateMeeting: () => CreateMeeting,
309
+ CreateMeetingParticipant: () => CreateMeetingParticipant,
308
310
  CreateMembership: () => CreateMembership,
309
311
  CreateMembershipPrice: () => CreateMembershipPrice,
310
312
  CreateOrganizationPaymentIntegration: () => CreateOrganizationPaymentIntegration,
311
313
  CreateOrganizationSideEffect: () => CreateOrganizationSideEffect,
312
314
  CreateOrganizationTeamMember: () => CreateOrganizationTeamMember,
313
315
  CreateOrganizationWebhook: () => CreateOrganizationWebhook,
316
+ CreatePreset: () => CreatePreset,
314
317
  CreateSearchList: () => CreateSearchList,
315
318
  CreateSearchListValue: () => CreateSearchListValue,
316
319
  CreateSelfApiKey: () => CreateSelfApiKey,
@@ -452,6 +455,7 @@ __export(index_exports, {
452
455
  DeleteLogin: () => DeleteLogin,
453
456
  DeleteManyImages: () => DeleteManyImages,
454
457
  DeleteManyVideos: () => DeleteManyVideos,
458
+ DeleteMeetingParticipant: () => DeleteMeetingParticipant,
455
459
  DeleteMembership: () => DeleteMembership,
456
460
  DeleteMembershipPrice: () => DeleteMembershipPrice,
457
461
  DeleteOrganizationDomain: () => DeleteOrganizationDomain,
@@ -460,6 +464,7 @@ __export(index_exports, {
460
464
  DeleteOrganizationTeamMember: () => DeleteOrganizationTeamMember,
461
465
  DeleteOrganizationUser: () => DeleteOrganizationUser,
462
466
  DeleteOrganizationWebhook: () => DeleteOrganizationWebhook,
467
+ DeletePreset: () => DeletePreset,
463
468
  DeletePushDevice: () => DeletePushDevice,
464
469
  DeleteSearchList: () => DeleteSearchList,
465
470
  DeleteSearchListValue: () => DeleteSearchListValue,
@@ -730,6 +735,7 @@ __export(index_exports, {
730
735
  GROUP_THREADS_QUERY_KEY: () => GROUP_THREADS_QUERY_KEY,
731
736
  GROUP_TRANSLATIONS_QUERY_KEY: () => GROUP_TRANSLATIONS_QUERY_KEY,
732
737
  GROUP_TRANSLATION_QUERY_KEY: () => GROUP_TRANSLATION_QUERY_KEY,
738
+ GenerateMeetingSessionSummary: () => GenerateMeetingSessionSummary,
733
739
  GenerateVideoCaptions: () => GenerateVideoCaptions,
734
740
  GetAPILog: () => GetAPILog,
735
741
  GetAPILogs: () => GetAPILogs,
@@ -1081,6 +1087,20 @@ __export(index_exports, {
1081
1087
  GetLoginAuthSessions: () => GetLoginAuthSessions,
1082
1088
  GetLoginDevices: () => GetLoginDevices,
1083
1089
  GetLogins: () => GetLogins,
1090
+ GetMeeting: () => GetMeeting,
1091
+ GetMeetingActiveRecording: () => GetMeetingActiveRecording,
1092
+ GetMeetingParticipant: () => GetMeetingParticipant,
1093
+ GetMeetingParticipants: () => GetMeetingParticipants,
1094
+ GetMeetingRecording: () => GetMeetingRecording,
1095
+ GetMeetingRecordings: () => GetMeetingRecordings,
1096
+ GetMeetingSession: () => GetMeetingSession,
1097
+ GetMeetingSessionMessages: () => GetMeetingSessionMessages,
1098
+ GetMeetingSessionParticipant: () => GetMeetingSessionParticipant,
1099
+ GetMeetingSessionParticipants: () => GetMeetingSessionParticipants,
1100
+ GetMeetingSessionSummary: () => GetMeetingSessionSummary,
1101
+ GetMeetingSessionTranscript: () => GetMeetingSessionTranscript,
1102
+ GetMeetingSessions: () => GetMeetingSessions,
1103
+ GetMeetings: () => GetMeetings,
1084
1104
  GetMembership: () => GetMembership,
1085
1105
  GetMembershipPrice: () => GetMembershipPrice,
1086
1106
  GetMembershipPrices: () => GetMembershipPrices,
@@ -1110,6 +1130,8 @@ __export(index_exports, {
1110
1130
  GetOrganizationWebhooks: () => GetOrganizationWebhooks,
1111
1131
  GetPayment: () => GetPayment,
1112
1132
  GetPayments: () => GetPayments,
1133
+ GetPreset: () => GetPreset,
1134
+ GetPresets: () => GetPresets,
1113
1135
  GetPushDevice: () => GetPushDevice,
1114
1136
  GetPushDevices: () => GetPushDevices,
1115
1137
  GetReport: () => GetReport,
@@ -1239,6 +1261,20 @@ __export(index_exports, {
1239
1261
  LOGIN_QUERY_KEY: () => LOGIN_QUERY_KEY,
1240
1262
  LeadStatus: () => LeadStatus,
1241
1263
  LocationQuestionOption: () => LocationQuestionOption,
1264
+ MEETINGS_QUERY_KEY: () => MEETINGS_QUERY_KEY,
1265
+ MEETING_ACTIVE_RECORDING_QUERY_KEY: () => MEETING_ACTIVE_RECORDING_QUERY_KEY,
1266
+ MEETING_PARTICIPANTS_QUERY_KEY: () => MEETING_PARTICIPANTS_QUERY_KEY,
1267
+ MEETING_PARTICIPANT_QUERY_KEY: () => MEETING_PARTICIPANT_QUERY_KEY,
1268
+ MEETING_QUERY_KEY: () => MEETING_QUERY_KEY,
1269
+ MEETING_RECORDINGS_QUERY_KEY: () => MEETING_RECORDINGS_QUERY_KEY,
1270
+ MEETING_RECORDING_QUERY_KEY: () => MEETING_RECORDING_QUERY_KEY,
1271
+ MEETING_SESSIONS_QUERY_KEY: () => MEETING_SESSIONS_QUERY_KEY,
1272
+ MEETING_SESSION_MESSAGES_QUERY_KEY: () => MEETING_SESSION_MESSAGES_QUERY_KEY,
1273
+ MEETING_SESSION_PARTICIPANTS_QUERY_KEY: () => MEETING_SESSION_PARTICIPANTS_QUERY_KEY,
1274
+ MEETING_SESSION_PARTICIPANT_QUERY_KEY: () => MEETING_SESSION_PARTICIPANT_QUERY_KEY,
1275
+ MEETING_SESSION_QUERY_KEY: () => MEETING_SESSION_QUERY_KEY,
1276
+ MEETING_SESSION_SUMMARY_QUERY_KEY: () => MEETING_SESSION_SUMMARY_QUERY_KEY,
1277
+ MEETING_SESSION_TRANSCRIPT_QUERY_KEY: () => MEETING_SESSION_TRANSCRIPT_QUERY_KEY,
1242
1278
  MEMBERSHIPS_QUERY_KEY: () => MEMBERSHIPS_QUERY_KEY,
1243
1279
  MEMBERSHIP_PRICES_QUERY_KEY: () => MEMBERSHIP_PRICES_QUERY_KEY,
1244
1280
  MEMBERSHIP_PRICE_QUERY_KEY: () => MEMBERSHIP_PRICE_QUERY_KEY,
@@ -1277,6 +1313,8 @@ __export(index_exports, {
1277
1313
  OrganizationTriggerType: () => OrganizationTriggerType,
1278
1314
  PAYMENTS_QUERY_KEY: () => PAYMENTS_QUERY_KEY,
1279
1315
  PAYMENT_QUERY_KEY: () => PAYMENT_QUERY_KEY,
1316
+ PRESETS_QUERY_KEY: () => PRESETS_QUERY_KEY,
1317
+ PRESET_QUERY_KEY: () => PRESET_QUERY_KEY,
1280
1318
  PUSH_DEVICES_QUERY_KEY: () => PUSH_DEVICES_QUERY_KEY,
1281
1319
  PUSH_DEVICE_QUERY_KEY: () => PUSH_DEVICE_QUERY_KEY,
1282
1320
  PageType: () => PageType,
@@ -1292,6 +1330,7 @@ __export(index_exports, {
1292
1330
  REPORT_QUERY_KEY: () => REPORT_QUERY_KEY,
1293
1331
  REQUIRED_ATTRIBUTES_QUERY_KEY: () => REQUIRED_ATTRIBUTES_QUERY_KEY,
1294
1332
  RefundOrganizationPayment: () => RefundOrganizationPayment,
1333
+ RegenerateMeetingParticipantToken: () => RegenerateMeetingParticipantToken,
1295
1334
  RegistrationQuestionType: () => RegistrationQuestionType,
1296
1335
  ReinviteGroupInvitation: () => ReinviteGroupInvitation,
1297
1336
  RejectGroupRequest: () => RejectGroupRequest,
@@ -1368,6 +1407,7 @@ __export(index_exports, {
1368
1407
  ReorderSurveySectionQuestions: () => ReorderSurveySectionQuestions,
1369
1408
  ReportType: () => ReportType,
1370
1409
  ResendRegistrationConfirmationEmail: () => ResendRegistrationConfirmationEmail,
1410
+ RevertChannelContentToDraft: () => RevertChannelContentToDraft,
1371
1411
  SEARCHLISTS_QUERY_KEY: () => SEARCHLISTS_QUERY_KEY,
1372
1412
  SEARCHLIST_CONNECTED_QUESTIONS_QUERY_KEY: () => SEARCHLIST_CONNECTED_QUESTIONS_QUERY_KEY,
1373
1413
  SEARCHLIST_QUERY_KEY: () => SEARCHLIST_QUERY_KEY,
@@ -1720,6 +1760,20 @@ __export(index_exports, {
1720
1760
  SET_LEVEL_TRANSLATION_QUERY_DATA: () => SET_LEVEL_TRANSLATION_QUERY_DATA,
1721
1761
  SET_LINK_PREVIEW_QUERY_DATA: () => SET_LINK_PREVIEW_QUERY_DATA,
1722
1762
  SET_LOGIN_AUTH_SESSIONS_QUERY_DATA: () => SET_LOGIN_AUTH_SESSIONS_QUERY_DATA,
1763
+ SET_MEETINGS_QUERY_DATA: () => SET_MEETINGS_QUERY_DATA,
1764
+ SET_MEETING_ACTIVE_RECORDING_QUERY_DATA: () => SET_MEETING_ACTIVE_RECORDING_QUERY_DATA,
1765
+ SET_MEETING_PARTICIPANTS_QUERY_DATA: () => SET_MEETING_PARTICIPANTS_QUERY_DATA,
1766
+ SET_MEETING_PARTICIPANT_QUERY_DATA: () => SET_MEETING_PARTICIPANT_QUERY_DATA,
1767
+ SET_MEETING_QUERY_DATA: () => SET_MEETING_QUERY_DATA,
1768
+ SET_MEETING_RECORDINGS_QUERY_DATA: () => SET_MEETING_RECORDINGS_QUERY_DATA,
1769
+ SET_MEETING_RECORDING_QUERY_DATA: () => SET_MEETING_RECORDING_QUERY_DATA,
1770
+ SET_MEETING_SESSIONS_QUERY_DATA: () => SET_MEETING_SESSIONS_QUERY_DATA,
1771
+ SET_MEETING_SESSION_MESSAGES_QUERY_DATA: () => SET_MEETING_SESSION_MESSAGES_QUERY_DATA,
1772
+ SET_MEETING_SESSION_PARTICIPANTS_QUERY_DATA: () => SET_MEETING_SESSION_PARTICIPANTS_QUERY_DATA,
1773
+ SET_MEETING_SESSION_PARTICIPANT_QUERY_DATA: () => SET_MEETING_SESSION_PARTICIPANT_QUERY_DATA,
1774
+ SET_MEETING_SESSION_QUERY_DATA: () => SET_MEETING_SESSION_QUERY_DATA,
1775
+ SET_MEETING_SESSION_SUMMARY_QUERY_DATA: () => SET_MEETING_SESSION_SUMMARY_QUERY_DATA,
1776
+ SET_MEETING_SESSION_TRANSCRIPT_QUERY_DATA: () => SET_MEETING_SESSION_TRANSCRIPT_QUERY_DATA,
1723
1777
  SET_MEMBERSHIPS_QUERY_DATA: () => SET_MEMBERSHIPS_QUERY_DATA,
1724
1778
  SET_MEMBERSHIP_PRICES_QUERY_DATA: () => SET_MEMBERSHIP_PRICES_QUERY_DATA,
1725
1779
  SET_MEMBERSHIP_PRICE_QUERY_DATA: () => SET_MEMBERSHIP_PRICE_QUERY_DATA,
@@ -1750,6 +1804,8 @@ __export(index_exports, {
1750
1804
  SET_PASS_TYPE_COUPONS_QUERY_DATA: () => SET_PASS_TYPE_COUPONS_QUERY_DATA,
1751
1805
  SET_PAYMENTS_QUERY_DATA: () => SET_PAYMENTS_QUERY_DATA,
1752
1806
  SET_PAYMENT_QUERY_DATA: () => SET_PAYMENT_QUERY_DATA,
1807
+ SET_PRESETS_QUERY_DATA: () => SET_PRESETS_QUERY_DATA,
1808
+ SET_PRESET_QUERY_DATA: () => SET_PRESET_QUERY_DATA,
1753
1809
  SET_PUSH_DEVICE_QUERY_DATA: () => SET_PUSH_DEVICE_QUERY_DATA,
1754
1810
  SET_REPORTS_QUERY_DATA: () => SET_REPORTS_QUERY_DATA,
1755
1811
  SET_REPORT_QUERY_DATA: () => SET_REPORT_QUERY_DATA,
@@ -2041,6 +2097,8 @@ __export(index_exports, {
2041
2097
  UpdateLevelTranslation: () => UpdateLevelTranslation,
2042
2098
  UpdateLoginEmail: () => UpdateLoginEmail,
2043
2099
  UpdateLoginPassword: () => UpdateLoginPassword,
2100
+ UpdateMeeting: () => UpdateMeeting,
2101
+ UpdateMeetingParticipant: () => UpdateMeetingParticipant,
2044
2102
  UpdateMembership: () => UpdateMembership,
2045
2103
  UpdateMembershipPrice: () => UpdateMembershipPrice,
2046
2104
  UpdateOrganization: () => UpdateOrganization,
@@ -2051,6 +2109,7 @@ __export(index_exports, {
2051
2109
  UpdateOrganizationTeamMember: () => UpdateOrganizationTeamMember,
2052
2110
  UpdateOrganizationWebhook: () => UpdateOrganizationWebhook,
2053
2111
  UpdatePayment: () => UpdatePayment,
2112
+ UpdatePreset: () => UpdatePreset,
2054
2113
  UpdateSearchList: () => UpdateSearchList,
2055
2114
  UpdateSearchListValue: () => UpdateSearchListValue,
2056
2115
  UpdateSelf: () => UpdateSelf,
@@ -2271,12 +2330,15 @@ __export(index_exports, {
2271
2330
  useCreateInvoiceLineItem: () => useCreateInvoiceLineItem,
2272
2331
  useCreateLevel: () => useCreateLevel,
2273
2332
  useCreateLevelTranslation: () => useCreateLevelTranslation,
2333
+ useCreateMeeting: () => useCreateMeeting,
2334
+ useCreateMeetingParticipant: () => useCreateMeetingParticipant,
2274
2335
  useCreateMembership: () => useCreateMembership,
2275
2336
  useCreateMembershipPrice: () => useCreateMembershipPrice,
2276
2337
  useCreateOrganizationPaymentIntegration: () => useCreateOrganizationPaymentIntegration,
2277
2338
  useCreateOrganizationSideEffect: () => useCreateOrganizationSideEffect,
2278
2339
  useCreateOrganizationTeamMember: () => useCreateOrganizationTeamMember,
2279
2340
  useCreateOrganizationWebhook: () => useCreateOrganizationWebhook,
2341
+ useCreatePreset: () => useCreatePreset,
2280
2342
  useCreateSearchList: () => useCreateSearchList,
2281
2343
  useCreateSearchListValue: () => useCreateSearchListValue,
2282
2344
  useCreateSelfApiKey: () => useCreateSelfApiKey,
@@ -2409,6 +2471,7 @@ __export(index_exports, {
2409
2471
  useDeleteLogin: () => useDeleteLogin,
2410
2472
  useDeleteManyImages: () => useDeleteManyImages,
2411
2473
  useDeleteManyVideos: () => useDeleteManyVideos,
2474
+ useDeleteMeetingParticipant: () => useDeleteMeetingParticipant,
2412
2475
  useDeleteMembership: () => useDeleteMembership,
2413
2476
  useDeleteMembershipPrice: () => useDeleteMembershipPrice,
2414
2477
  useDeleteOrganizationDomain: () => useDeleteOrganizationDomain,
@@ -2417,6 +2480,7 @@ __export(index_exports, {
2417
2480
  useDeleteOrganizationTeamMember: () => useDeleteOrganizationTeamMember,
2418
2481
  useDeleteOrganizationUser: () => useDeleteOrganizationUser,
2419
2482
  useDeleteOrganizationWebhook: () => useDeleteOrganizationWebhook,
2483
+ useDeletePreset: () => useDeletePreset,
2420
2484
  useDeletePushDevice: () => useDeletePushDevice,
2421
2485
  useDeleteSearchList: () => useDeleteSearchList,
2422
2486
  useDeleteSearchListValue: () => useDeleteSearchListValue,
@@ -2454,6 +2518,7 @@ __export(index_exports, {
2454
2518
  useDownloadVideoCaption: () => useDownloadVideoCaption,
2455
2519
  useEventGetPassTypeCoupons: () => useEventGetPassTypeCoupons,
2456
2520
  useExportAccount: () => useExportAccount,
2521
+ useGenerateMeetingSessionSummary: () => useGenerateMeetingSessionSummary,
2457
2522
  useGenerateVideoCaptions: () => useGenerateVideoCaptions,
2458
2523
  useGetAPILog: () => useGetAPILog,
2459
2524
  useGetAPILogs: () => useGetAPILogs,
@@ -2801,6 +2866,20 @@ __export(index_exports, {
2801
2866
  useGetLoginAuthSessions: () => useGetLoginAuthSessions,
2802
2867
  useGetLoginDevices: () => useGetLoginDevices,
2803
2868
  useGetLogins: () => useGetLogins,
2869
+ useGetMeeting: () => useGetMeeting,
2870
+ useGetMeetingActiveRecording: () => useGetMeetingActiveRecording,
2871
+ useGetMeetingParticipant: () => useGetMeetingParticipant,
2872
+ useGetMeetingParticipants: () => useGetMeetingParticipants,
2873
+ useGetMeetingRecording: () => useGetMeetingRecording,
2874
+ useGetMeetingRecordings: () => useGetMeetingRecordings,
2875
+ useGetMeetingSession: () => useGetMeetingSession,
2876
+ useGetMeetingSessionMessages: () => useGetMeetingSessionMessages,
2877
+ useGetMeetingSessionParticipant: () => useGetMeetingSessionParticipant,
2878
+ useGetMeetingSessionParticipants: () => useGetMeetingSessionParticipants,
2879
+ useGetMeetingSessionSummary: () => useGetMeetingSessionSummary,
2880
+ useGetMeetingSessionTranscript: () => useGetMeetingSessionTranscript,
2881
+ useGetMeetingSessions: () => useGetMeetingSessions,
2882
+ useGetMeetings: () => useGetMeetings,
2804
2883
  useGetMembership: () => useGetMembership,
2805
2884
  useGetMembershipPrice: () => useGetMembershipPrice,
2806
2885
  useGetMembershipPrices: () => useGetMembershipPrices,
@@ -2830,6 +2909,8 @@ __export(index_exports, {
2830
2909
  useGetOrganizationWebhooks: () => useGetOrganizationWebhooks,
2831
2910
  useGetPayment: () => useGetPayment,
2832
2911
  useGetPayments: () => useGetPayments,
2912
+ useGetPreset: () => useGetPreset,
2913
+ useGetPresets: () => useGetPresets,
2833
2914
  useGetPushDevice: () => useGetPushDevice,
2834
2915
  useGetPushDevices: () => useGetPushDevices,
2835
2916
  useGetReport: () => useGetReport,
@@ -2919,6 +3000,7 @@ __export(index_exports, {
2919
3000
  useInitiateVideoDownload: () => useInitiateVideoDownload,
2920
3001
  usePublishActivity: () => usePublishActivity,
2921
3002
  useRefundOrganizationPayment: () => useRefundOrganizationPayment,
3003
+ useRegenerateMeetingParticipantToken: () => useRegenerateMeetingParticipantToken,
2922
3004
  useReinviteGroupInvitation: () => useReinviteGroupInvitation,
2923
3005
  useRejectGroupRequest: () => useRejectGroupRequest,
2924
3006
  useRemoveAccountFollower: () => useRemoveAccountFollower,
@@ -2993,6 +3075,7 @@ __export(index_exports, {
2993
3075
  useReorderSurveyQuestionChoices: () => useReorderSurveyQuestionChoices,
2994
3076
  useReorderSurveySectionQuestions: () => useReorderSurveySectionQuestions,
2995
3077
  useResendRegistrationConfirmationEmail: () => useResendRegistrationConfirmationEmail,
3078
+ useRevertChannelContentToDraft: () => useRevertChannelContentToDraft,
2996
3079
  useSearchOrganization: () => useSearchOrganization,
2997
3080
  useSelfLeaveOrganization: () => useSelfLeaveOrganization,
2998
3081
  useSendAnnouncementPreview: () => useSendAnnouncementPreview,
@@ -3125,6 +3208,8 @@ __export(index_exports, {
3125
3208
  useUpdateLevelTranslation: () => useUpdateLevelTranslation,
3126
3209
  useUpdateLoginEmail: () => useUpdateLoginEmail,
3127
3210
  useUpdateLoginPassword: () => useUpdateLoginPassword,
3211
+ useUpdateMeeting: () => useUpdateMeeting,
3212
+ useUpdateMeetingParticipant: () => useUpdateMeetingParticipant,
3128
3213
  useUpdateMembership: () => useUpdateMembership,
3129
3214
  useUpdateMembershipPrice: () => useUpdateMembershipPrice,
3130
3215
  useUpdateOrganization: () => useUpdateOrganization,
@@ -3135,6 +3220,7 @@ __export(index_exports, {
3135
3220
  useUpdateOrganizationTeamMember: () => useUpdateOrganizationTeamMember,
3136
3221
  useUpdateOrganizationWebhook: () => useUpdateOrganizationWebhook,
3137
3222
  useUpdatePayment: () => useUpdatePayment,
3223
+ useUpdatePreset: () => useUpdatePreset,
3138
3224
  useUpdateSearchList: () => useUpdateSearchList,
3139
3225
  useUpdateSearchListValue: () => useUpdateSearchListValue,
3140
3226
  useUpdateSelf: () => useUpdateSelf,
@@ -20279,6 +20365,520 @@ var useGetStreamVideos = (streamId, params = {}, options = {}) => {
20279
20365
  );
20280
20366
  };
20281
20367
 
20368
+ // src/queries/streamsV2/meetings/useGetMeetings.ts
20369
+ var MEETINGS_QUERY_KEY = () => {
20370
+ return ["STREAMS_V2", "MEETINGS"];
20371
+ };
20372
+ var SET_MEETINGS_QUERY_DATA = (client, keyParams, response) => {
20373
+ client.setQueryData(MEETINGS_QUERY_KEY(...keyParams), response);
20374
+ };
20375
+ var GetMeetings = async ({
20376
+ pageParam,
20377
+ pageSize,
20378
+ orderBy,
20379
+ search,
20380
+ adminApiParams
20381
+ }) => {
20382
+ const adminApi = await GetAdminAPI(adminApiParams);
20383
+ const { data } = await adminApi.get(`/streams/v2/meetings`, {
20384
+ params: {
20385
+ page: pageParam || void 0,
20386
+ pageSize: pageSize || void 0,
20387
+ orderBy: orderBy || void 0,
20388
+ search: search || void 0
20389
+ }
20390
+ });
20391
+ return data;
20392
+ };
20393
+ var useGetMeetings = (params = {}, options = {}) => {
20394
+ return useConnectedInfiniteQuery(
20395
+ MEETINGS_QUERY_KEY(),
20396
+ (params2) => GetMeetings(params2),
20397
+ params,
20398
+ options
20399
+ );
20400
+ };
20401
+
20402
+ // src/queries/streamsV2/meetings/useGetMeeting.ts
20403
+ var MEETING_QUERY_KEY = (meetingId) => [
20404
+ ...MEETINGS_QUERY_KEY(),
20405
+ meetingId
20406
+ ];
20407
+ var SET_MEETING_QUERY_DATA = (client, keyParams, response) => {
20408
+ client.setQueryData(MEETING_QUERY_KEY(...keyParams), response);
20409
+ };
20410
+ var GetMeeting = async ({
20411
+ meetingId,
20412
+ adminApiParams
20413
+ }) => {
20414
+ const adminApi = await GetAdminAPI(adminApiParams);
20415
+ const { data } = await adminApi.get(`/streams/v2/meetings/${meetingId}`);
20416
+ return data;
20417
+ };
20418
+ var useGetMeeting = (meetingId = "", options = {}) => {
20419
+ return useConnectedSingleQuery(
20420
+ MEETING_QUERY_KEY(meetingId),
20421
+ (params) => GetMeeting({ meetingId, ...params }),
20422
+ {
20423
+ ...options,
20424
+ enabled: !!meetingId && (options?.enabled ?? true)
20425
+ }
20426
+ );
20427
+ };
20428
+
20429
+ // src/queries/streamsV2/meetings/useGetMeetingActiveRecording.ts
20430
+ var MEETING_ACTIVE_RECORDING_QUERY_KEY = (meetingId) => [
20431
+ ...MEETING_QUERY_KEY(meetingId),
20432
+ "ACTIVE_RECORDING"
20433
+ ];
20434
+ var SET_MEETING_ACTIVE_RECORDING_QUERY_DATA = (client, keyParams, response) => {
20435
+ client.setQueryData(
20436
+ MEETING_ACTIVE_RECORDING_QUERY_KEY(...keyParams),
20437
+ response
20438
+ );
20439
+ };
20440
+ var GetMeetingActiveRecording = async ({
20441
+ meetingId,
20442
+ adminApiParams
20443
+ }) => {
20444
+ const adminApi = await GetAdminAPI(adminApiParams);
20445
+ const { data } = await adminApi.get(
20446
+ `/streams/v2/meetings/${meetingId}/recording`
20447
+ );
20448
+ return data;
20449
+ };
20450
+ var useGetMeetingActiveRecording = (meetingId = "", options = {}) => {
20451
+ return useConnectedSingleQuery(
20452
+ MEETING_ACTIVE_RECORDING_QUERY_KEY(meetingId),
20453
+ (params) => GetMeetingActiveRecording({ meetingId, ...params }),
20454
+ {
20455
+ ...options,
20456
+ enabled: !!meetingId && (options?.enabled ?? true)
20457
+ }
20458
+ );
20459
+ };
20460
+
20461
+ // src/queries/streamsV2/meetings/useGetMeetingParticipants.ts
20462
+ var MEETING_PARTICIPANTS_QUERY_KEY = (meetingId) => [
20463
+ ...MEETING_QUERY_KEY(meetingId),
20464
+ "PARTICIPANTS"
20465
+ ];
20466
+ var SET_MEETING_PARTICIPANTS_QUERY_DATA = (client, keyParams, response) => {
20467
+ client.setQueryData(MEETING_PARTICIPANTS_QUERY_KEY(...keyParams), response);
20468
+ };
20469
+ var GetMeetingParticipants = async ({
20470
+ meetingId,
20471
+ pageParam,
20472
+ pageSize,
20473
+ orderBy,
20474
+ adminApiParams
20475
+ }) => {
20476
+ const adminApi = await GetAdminAPI(adminApiParams);
20477
+ const { data } = await adminApi.get(
20478
+ `/streams/v2/meetings/${meetingId}/participants`,
20479
+ {
20480
+ params: {
20481
+ page: pageParam || void 0,
20482
+ pageSize: pageSize || void 0,
20483
+ orderBy: orderBy || void 0
20484
+ }
20485
+ }
20486
+ );
20487
+ return data;
20488
+ };
20489
+ var useGetMeetingParticipants = (meetingId = "", params = {}, options = {}) => {
20490
+ return useConnectedInfiniteQuery(
20491
+ MEETING_PARTICIPANTS_QUERY_KEY(meetingId),
20492
+ (params2) => GetMeetingParticipants({ ...params2, meetingId }),
20493
+ params,
20494
+ {
20495
+ ...options,
20496
+ enabled: !!meetingId && (options?.enabled ?? true)
20497
+ }
20498
+ );
20499
+ };
20500
+
20501
+ // src/queries/streamsV2/meetings/useGetMeetingParticipant.ts
20502
+ var MEETING_PARTICIPANT_QUERY_KEY = (meetingId, participantId) => [...MEETING_PARTICIPANTS_QUERY_KEY(meetingId), participantId];
20503
+ var SET_MEETING_PARTICIPANT_QUERY_DATA = (client, keyParams, response) => {
20504
+ client.setQueryData(MEETING_PARTICIPANT_QUERY_KEY(...keyParams), response);
20505
+ };
20506
+ var GetMeetingParticipant = async ({
20507
+ meetingId,
20508
+ participantId,
20509
+ adminApiParams
20510
+ }) => {
20511
+ const adminApi = await GetAdminAPI(adminApiParams);
20512
+ const { data } = await adminApi.get(
20513
+ `/streams/v2/meetings/${meetingId}/participants/${participantId}`
20514
+ );
20515
+ return data;
20516
+ };
20517
+ var useGetMeetingParticipant = (meetingId = "", participantId = "", options = {}) => {
20518
+ return useConnectedSingleQuery(
20519
+ MEETING_PARTICIPANT_QUERY_KEY(meetingId, participantId),
20520
+ (params) => GetMeetingParticipant({ meetingId, participantId, ...params }),
20521
+ {
20522
+ ...options,
20523
+ enabled: !!meetingId && !!participantId && (options?.enabled ?? true)
20524
+ }
20525
+ );
20526
+ };
20527
+
20528
+ // src/queries/streamsV2/presets/useGetPresets.ts
20529
+ var PRESETS_QUERY_KEY = () => {
20530
+ return ["STREAMS_V2", "PRESETS"];
20531
+ };
20532
+ var SET_PRESETS_QUERY_DATA = (client, keyParams, response) => {
20533
+ client.setQueryData(PRESETS_QUERY_KEY(...keyParams), response);
20534
+ };
20535
+ var GetPresets = async ({
20536
+ pageParam,
20537
+ pageSize,
20538
+ orderBy,
20539
+ adminApiParams
20540
+ }) => {
20541
+ const adminApi = await GetAdminAPI(adminApiParams);
20542
+ const { data } = await adminApi.get(`/streams/v2/presets`, {
20543
+ params: {
20544
+ page: pageParam || void 0,
20545
+ pageSize: pageSize || void 0,
20546
+ orderBy: orderBy || void 0
20547
+ }
20548
+ });
20549
+ return data;
20550
+ };
20551
+ var useGetPresets = (params = {}, options = {}) => {
20552
+ return useConnectedInfiniteQuery(
20553
+ PRESETS_QUERY_KEY(),
20554
+ (params2) => GetPresets(params2),
20555
+ params,
20556
+ options
20557
+ );
20558
+ };
20559
+
20560
+ // src/queries/streamsV2/presets/useGetPreset.ts
20561
+ var PRESET_QUERY_KEY = (presetId) => [
20562
+ ...PRESETS_QUERY_KEY(),
20563
+ presetId
20564
+ ];
20565
+ var SET_PRESET_QUERY_DATA = (client, keyParams, response) => {
20566
+ client.setQueryData(PRESET_QUERY_KEY(...keyParams), response);
20567
+ };
20568
+ var GetPreset = async ({
20569
+ presetId,
20570
+ adminApiParams
20571
+ }) => {
20572
+ const adminApi = await GetAdminAPI(adminApiParams);
20573
+ const { data } = await adminApi.get(`/streams/v2/presets/${presetId}`);
20574
+ return data;
20575
+ };
20576
+ var useGetPreset = (presetId = "", options = {}) => {
20577
+ return useConnectedSingleQuery(
20578
+ PRESET_QUERY_KEY(presetId),
20579
+ (params) => GetPreset({ presetId, ...params }),
20580
+ {
20581
+ ...options,
20582
+ enabled: !!presetId && (options?.enabled ?? true)
20583
+ }
20584
+ );
20585
+ };
20586
+
20587
+ // src/queries/streamsV2/recordings/useGetMeetingRecordings.ts
20588
+ var MEETING_RECORDINGS_QUERY_KEY = (meetingId) => {
20589
+ const key = ["RECORDINGS"];
20590
+ if (meetingId) {
20591
+ key.push(meetingId);
20592
+ }
20593
+ return key;
20594
+ };
20595
+ var SET_MEETING_RECORDINGS_QUERY_DATA = (client, keyParams, response) => {
20596
+ client.setQueryData(MEETING_RECORDINGS_QUERY_KEY(...keyParams), response);
20597
+ };
20598
+ var GetMeetingRecordings = async ({
20599
+ meetingId,
20600
+ pageParam,
20601
+ pageSize,
20602
+ orderBy,
20603
+ search,
20604
+ adminApiParams
20605
+ }) => {
20606
+ const adminApi = await GetAdminAPI(adminApiParams);
20607
+ const { data } = await adminApi.get(`/streams/v2/recordings`, {
20608
+ params: {
20609
+ page: pageParam || void 0,
20610
+ pageSize: pageSize || void 0,
20611
+ orderBy: orderBy || void 0,
20612
+ search: search || void 0,
20613
+ meetingId: meetingId || void 0
20614
+ }
20615
+ });
20616
+ return data;
20617
+ };
20618
+ var useGetMeetingRecordings = (meetingId = "", params = {}, options = {}) => {
20619
+ return useConnectedInfiniteQuery(
20620
+ MEETING_RECORDINGS_QUERY_KEY(meetingId),
20621
+ (params2) => GetMeetingRecordings({ ...params2, meetingId }),
20622
+ params,
20623
+ {
20624
+ ...options,
20625
+ enabled: options?.enabled ?? true
20626
+ }
20627
+ );
20628
+ };
20629
+
20630
+ // src/queries/streamsV2/recordings/useGetMeetingRecording.ts
20631
+ var MEETING_RECORDING_QUERY_KEY = (recordingId) => [
20632
+ ...MEETING_RECORDINGS_QUERY_KEY(),
20633
+ recordingId
20634
+ ];
20635
+ var SET_MEETING_RECORDING_QUERY_DATA = (client, keyParams, response) => {
20636
+ client.setQueryData(MEETING_RECORDING_QUERY_KEY(...keyParams), response);
20637
+ };
20638
+ var GetMeetingRecording = async ({
20639
+ recordingId,
20640
+ adminApiParams
20641
+ }) => {
20642
+ const adminApi = await GetAdminAPI(adminApiParams);
20643
+ const { data } = await adminApi.get(`/streams/v2/recordings/${recordingId}`);
20644
+ return data;
20645
+ };
20646
+ var useGetMeetingRecording = (recordingId = "", options = {}) => {
20647
+ return useConnectedSingleQuery(
20648
+ MEETING_RECORDING_QUERY_KEY(recordingId),
20649
+ (params) => GetMeetingRecording({ recordingId, ...params }),
20650
+ {
20651
+ ...options,
20652
+ enabled: !!recordingId && (options?.enabled ?? true)
20653
+ }
20654
+ );
20655
+ };
20656
+
20657
+ // src/queries/streamsV2/sessions/useGetMeetingSessions.ts
20658
+ var MEETING_SESSIONS_QUERY_KEY = (meetingId) => {
20659
+ const keys = ["STREAMS_V2", "MEETING_SESSIONS"];
20660
+ if (meetingId) {
20661
+ keys.push(meetingId);
20662
+ }
20663
+ return keys;
20664
+ };
20665
+ var SET_MEETING_SESSIONS_QUERY_DATA = (client, keyParams, response) => {
20666
+ client.setQueryData(MEETING_SESSIONS_QUERY_KEY(...keyParams), response);
20667
+ };
20668
+ var GetMeetingSessions = async ({
20669
+ meetingId,
20670
+ pageParam,
20671
+ pageSize,
20672
+ orderBy,
20673
+ search,
20674
+ adminApiParams
20675
+ }) => {
20676
+ const adminApi = await GetAdminAPI(adminApiParams);
20677
+ const { data } = await adminApi.get(`/streams/v2/sessions`, {
20678
+ params: {
20679
+ page: pageParam || void 0,
20680
+ pageSize: pageSize || void 0,
20681
+ orderBy: orderBy || void 0,
20682
+ search: search || void 0,
20683
+ meetingId: meetingId || void 0
20684
+ }
20685
+ });
20686
+ return data;
20687
+ };
20688
+ var useGetMeetingSessions = (meetingId = "", params = {}, options = {}) => {
20689
+ return useConnectedInfiniteQuery(
20690
+ MEETING_SESSIONS_QUERY_KEY(meetingId),
20691
+ (params2) => GetMeetingSessions({ ...params2, meetingId }),
20692
+ params,
20693
+ options
20694
+ );
20695
+ };
20696
+
20697
+ // src/queries/streamsV2/sessions/useGetMeetingSession.ts
20698
+ var MEETING_SESSION_QUERY_KEY = (sessionId) => [
20699
+ ...MEETING_SESSIONS_QUERY_KEY(),
20700
+ sessionId
20701
+ ];
20702
+ var SET_MEETING_SESSION_QUERY_DATA = (client, keyParams, response) => {
20703
+ client.setQueryData(MEETING_SESSION_QUERY_KEY(...keyParams), response);
20704
+ };
20705
+ var GetMeetingSession = async ({
20706
+ sessionId,
20707
+ adminApiParams
20708
+ }) => {
20709
+ const adminApi = await GetAdminAPI(adminApiParams);
20710
+ const { data } = await adminApi.get(`/streams/v2/sessions/${sessionId}`);
20711
+ return data;
20712
+ };
20713
+ var useGetMeetingSession = (sessionId = "", options = {}) => {
20714
+ return useConnectedSingleQuery(
20715
+ MEETING_SESSION_QUERY_KEY(sessionId),
20716
+ (params) => GetMeetingSession({ sessionId, ...params }),
20717
+ {
20718
+ ...options,
20719
+ enabled: !!sessionId && (options?.enabled ?? true)
20720
+ }
20721
+ );
20722
+ };
20723
+
20724
+ // src/queries/streamsV2/sessions/useGetMeetingSessionMessages.ts
20725
+ var MEETING_SESSION_MESSAGES_QUERY_KEY = (sessionId) => [
20726
+ ...MEETING_SESSION_QUERY_KEY(sessionId),
20727
+ "MESSAGES"
20728
+ ];
20729
+ var SET_MEETING_SESSION_MESSAGES_QUERY_DATA = (client, keyParams, response) => {
20730
+ client.setQueryData(
20731
+ MEETING_SESSION_MESSAGES_QUERY_KEY(...keyParams),
20732
+ response
20733
+ );
20734
+ };
20735
+ var GetMeetingSessionMessages = async ({
20736
+ sessionId,
20737
+ adminApiParams
20738
+ }) => {
20739
+ const adminApi = await GetAdminAPI(adminApiParams);
20740
+ const { data } = await adminApi.get(
20741
+ `/streams/v2/sessions/${sessionId}/messages`
20742
+ );
20743
+ return data;
20744
+ };
20745
+ var useGetMeetingSessionMessages = (sessionId = "", options = {}) => {
20746
+ return useConnectedSingleQuery(
20747
+ MEETING_SESSION_MESSAGES_QUERY_KEY(sessionId),
20748
+ (params) => GetMeetingSessionMessages({ sessionId, ...params }),
20749
+ {
20750
+ ...options,
20751
+ enabled: !!sessionId && (options?.enabled ?? true)
20752
+ }
20753
+ );
20754
+ };
20755
+
20756
+ // src/queries/streamsV2/sessions/useGetMeetingSessionParticipants.ts
20757
+ var MEETING_SESSION_PARTICIPANTS_QUERY_KEY = (sessionId) => [
20758
+ ...MEETING_SESSION_QUERY_KEY(sessionId),
20759
+ "PARTICIPANTS"
20760
+ ];
20761
+ var SET_MEETING_SESSION_PARTICIPANTS_QUERY_DATA = (client, keyParams, response) => {
20762
+ client.setQueryData(
20763
+ MEETING_SESSION_PARTICIPANTS_QUERY_KEY(...keyParams),
20764
+ response
20765
+ );
20766
+ };
20767
+ var GetMeetingSessionParticipants = async ({
20768
+ sessionId,
20769
+ adminApiParams
20770
+ }) => {
20771
+ const adminApi = await GetAdminAPI(adminApiParams);
20772
+ const { data } = await adminApi.get(
20773
+ `/streams/v2/sessions/${sessionId}/participants`
20774
+ );
20775
+ return data;
20776
+ };
20777
+ var useGetMeetingSessionParticipants = (sessionId = "", options = {}) => {
20778
+ return useConnectedSingleQuery(
20779
+ MEETING_SESSION_PARTICIPANTS_QUERY_KEY(sessionId),
20780
+ (params) => GetMeetingSessionParticipants({ sessionId, ...params }),
20781
+ {
20782
+ ...options,
20783
+ enabled: !!sessionId && (options?.enabled ?? true)
20784
+ }
20785
+ );
20786
+ };
20787
+
20788
+ // src/queries/streamsV2/sessions/useGetMeetingSessionParticipant.ts
20789
+ var MEETING_SESSION_PARTICIPANT_QUERY_KEY = (sessionId, participantId) => [...MEETING_SESSION_PARTICIPANTS_QUERY_KEY(sessionId), participantId];
20790
+ var SET_MEETING_SESSION_PARTICIPANT_QUERY_DATA = (client, keyParams, response) => {
20791
+ client.setQueryData(
20792
+ MEETING_SESSION_PARTICIPANT_QUERY_KEY(...keyParams),
20793
+ response
20794
+ );
20795
+ };
20796
+ var GetMeetingSessionParticipant = async ({
20797
+ sessionId,
20798
+ participantId,
20799
+ adminApiParams
20800
+ }) => {
20801
+ const adminApi = await GetAdminAPI(adminApiParams);
20802
+ const { data } = await adminApi.get(
20803
+ `/streams/v2/sessions/${sessionId}/participants/${participantId}`
20804
+ );
20805
+ return data;
20806
+ };
20807
+ var useGetMeetingSessionParticipant = (sessionId = "", participantId = "", options = {}) => {
20808
+ return useConnectedSingleQuery(
20809
+ MEETING_SESSION_PARTICIPANT_QUERY_KEY(sessionId, participantId),
20810
+ (params) => GetMeetingSessionParticipant({ sessionId, participantId, ...params }),
20811
+ {
20812
+ ...options,
20813
+ enabled: !!sessionId && !!participantId && (options?.enabled ?? true)
20814
+ }
20815
+ );
20816
+ };
20817
+
20818
+ // src/queries/streamsV2/sessions/useGetMeetingSessionSummary.ts
20819
+ var MEETING_SESSION_SUMMARY_QUERY_KEY = (sessionId) => [
20820
+ ...MEETING_SESSION_QUERY_KEY(sessionId),
20821
+ "SUMMARY"
20822
+ ];
20823
+ var SET_MEETING_SESSION_SUMMARY_QUERY_DATA = (client, keyParams, response) => {
20824
+ client.setQueryData(
20825
+ MEETING_SESSION_SUMMARY_QUERY_KEY(...keyParams),
20826
+ response
20827
+ );
20828
+ };
20829
+ var GetMeetingSessionSummary = async ({
20830
+ sessionId,
20831
+ adminApiParams
20832
+ }) => {
20833
+ const adminApi = await GetAdminAPI(adminApiParams);
20834
+ const { data } = await adminApi.get(
20835
+ `/streams/v2/sessions/${sessionId}/summary`
20836
+ );
20837
+ return data;
20838
+ };
20839
+ var useGetMeetingSessionSummary = (sessionId = "", options = {}) => {
20840
+ return useConnectedSingleQuery(
20841
+ MEETING_SESSION_SUMMARY_QUERY_KEY(sessionId),
20842
+ (params) => GetMeetingSessionSummary({ sessionId, ...params }),
20843
+ {
20844
+ ...options,
20845
+ enabled: !!sessionId && (options?.enabled ?? true)
20846
+ }
20847
+ );
20848
+ };
20849
+
20850
+ // src/queries/streamsV2/sessions/useGetMeetingSessionTranscript.ts
20851
+ var MEETING_SESSION_TRANSCRIPT_QUERY_KEY = (sessionId) => [
20852
+ ...MEETING_SESSION_QUERY_KEY(sessionId),
20853
+ "TRANSCRIPT"
20854
+ ];
20855
+ var SET_MEETING_SESSION_TRANSCRIPT_QUERY_DATA = (client, keyParams, response) => {
20856
+ client.setQueryData(
20857
+ MEETING_SESSION_TRANSCRIPT_QUERY_KEY(...keyParams),
20858
+ response
20859
+ );
20860
+ };
20861
+ var GetMeetingSessionTranscript = async ({
20862
+ sessionId,
20863
+ adminApiParams
20864
+ }) => {
20865
+ const adminApi = await GetAdminAPI(adminApiParams);
20866
+ const { data } = await adminApi.get(
20867
+ `/streams/v2/sessions/${sessionId}/transcript`
20868
+ );
20869
+ return data;
20870
+ };
20871
+ var useGetMeetingSessionTranscript = (sessionId = "", options = {}) => {
20872
+ return useConnectedSingleQuery(
20873
+ MEETING_SESSION_TRANSCRIPT_QUERY_KEY(sessionId),
20874
+ (params) => GetMeetingSessionTranscript({ sessionId, ...params }),
20875
+ {
20876
+ ...options,
20877
+ enabled: !!sessionId && (options?.enabled ?? true)
20878
+ }
20879
+ );
20880
+ };
20881
+
20282
20882
  // src/queries/supportTickets/useGetSupportTickets.ts
20283
20883
  var SUPPORT_TICKETS_QUERY_KEY = (state, type) => [
20284
20884
  "SUPPORT_TICKETS",
@@ -24487,6 +25087,32 @@ var useRemoveChannelSubscriber = (options = {}) => {
24487
25087
  return useConnectedMutation(RemoveChannelSubscriber, options);
24488
25088
  };
24489
25089
 
25090
+ // src/mutations/channels/useRevertChannelContentToDraft.ts
25091
+ var RevertChannelContentToDraft = async ({
25092
+ contentId,
25093
+ channelId,
25094
+ adminApiParams,
25095
+ queryClient
25096
+ }) => {
25097
+ const connectedXM = await GetAdminAPI(adminApiParams);
25098
+ const { data } = await connectedXM.put(
25099
+ `/channels/${channelId}/contents/${contentId}/revertToDraft`
25100
+ );
25101
+ if (queryClient && data.status === "ok") {
25102
+ queryClient.invalidateQueries({
25103
+ queryKey: CHANNEL_CONTENT_QUERY_KEY(channelId, contentId)
25104
+ });
25105
+ queryClient.invalidateQueries({
25106
+ queryKey: CHANNEL_CONTENTS_QUERY_KEY(channelId)
25107
+ });
25108
+ SET_CHANNEL_CONTENT_QUERY_DATA(queryClient, [channelId, contentId], data);
25109
+ }
25110
+ return data;
25111
+ };
25112
+ var useRevertChannelContentToDraft = (options = {}) => {
25113
+ return useConnectedMutation(RevertChannelContentToDraft, options);
25114
+ };
25115
+
24490
25116
  // src/mutations/channels/useUpdateChannel.ts
24491
25117
  var UpdateChannel = async ({
24492
25118
  channelId,
@@ -36519,6 +37145,242 @@ var useUpdateStreamInputOutput = (options = {}) => {
36519
37145
  return useConnectedMutation(UpdateStreamInputOutput, options);
36520
37146
  };
36521
37147
 
37148
+ // src/mutations/streamsV2/meetings/useCreateMeeting.ts
37149
+ var CreateMeeting = async ({
37150
+ meeting,
37151
+ adminApiParams,
37152
+ queryClient
37153
+ }) => {
37154
+ const connectedXM = await GetAdminAPI(adminApiParams);
37155
+ const { data } = await connectedXM.post(
37156
+ `/streams/v2/meetings`,
37157
+ meeting
37158
+ );
37159
+ if (queryClient && data.status === "ok") {
37160
+ queryClient.invalidateQueries({ queryKey: MEETINGS_QUERY_KEY() });
37161
+ SET_MEETING_QUERY_DATA(queryClient, [data?.data.id], data);
37162
+ }
37163
+ return data;
37164
+ };
37165
+ var useCreateMeeting = (options = {}) => {
37166
+ return useConnectedMutation(CreateMeeting, options);
37167
+ };
37168
+
37169
+ // src/mutations/streamsV2/meetings/useCreateMeetingParticipant.ts
37170
+ var CreateMeetingParticipant = async ({
37171
+ meetingId,
37172
+ participant,
37173
+ adminApiParams,
37174
+ queryClient
37175
+ }) => {
37176
+ const connectedXM = await GetAdminAPI(adminApiParams);
37177
+ const { data } = await connectedXM.post(
37178
+ `/streams/v2/meetings/${meetingId}/participants`,
37179
+ participant
37180
+ );
37181
+ if (queryClient && data.status === "ok") {
37182
+ queryClient.invalidateQueries({
37183
+ queryKey: MEETING_PARTICIPANTS_QUERY_KEY(meetingId)
37184
+ });
37185
+ SET_MEETING_PARTICIPANT_QUERY_DATA(
37186
+ queryClient,
37187
+ [meetingId, data?.data.id],
37188
+ data
37189
+ );
37190
+ }
37191
+ return data;
37192
+ };
37193
+ var useCreateMeetingParticipant = (options = {}) => {
37194
+ return useConnectedMutation(CreateMeetingParticipant, options);
37195
+ };
37196
+
37197
+ // src/mutations/streamsV2/meetings/useDeleteMeetingParticipant.ts
37198
+ var DeleteMeetingParticipant = async ({
37199
+ meetingId,
37200
+ participantId,
37201
+ adminApiParams,
37202
+ queryClient
37203
+ }) => {
37204
+ const connectedXM = await GetAdminAPI(adminApiParams);
37205
+ const { data } = await connectedXM.delete(
37206
+ `/streams/v2/meetings/${meetingId}/participants/${participantId}`
37207
+ );
37208
+ if (queryClient && data.status === "ok") {
37209
+ queryClient.invalidateQueries({
37210
+ queryKey: MEETING_PARTICIPANTS_QUERY_KEY(meetingId)
37211
+ });
37212
+ queryClient.removeQueries({
37213
+ queryKey: MEETING_PARTICIPANT_QUERY_KEY(meetingId, participantId)
37214
+ });
37215
+ }
37216
+ return data;
37217
+ };
37218
+ var useDeleteMeetingParticipant = (options = {}) => {
37219
+ return useConnectedMutation(DeleteMeetingParticipant, options);
37220
+ };
37221
+
37222
+ // src/mutations/streamsV2/meetings/useRegenerateMeetingParticipantToken.ts
37223
+ var RegenerateMeetingParticipantToken = async ({
37224
+ meetingId,
37225
+ participantId,
37226
+ adminApiParams,
37227
+ queryClient
37228
+ }) => {
37229
+ const connectedXM = await GetAdminAPI(adminApiParams);
37230
+ const { data } = await connectedXM.post(
37231
+ `/streams/v2/meetings/${meetingId}/participants/${participantId}/regenerate`
37232
+ );
37233
+ if (queryClient && data.status === "ok") {
37234
+ queryClient.invalidateQueries({
37235
+ queryKey: MEETING_PARTICIPANTS_QUERY_KEY(meetingId)
37236
+ });
37237
+ SET_MEETING_PARTICIPANT_QUERY_DATA(
37238
+ queryClient,
37239
+ [meetingId, participantId],
37240
+ data
37241
+ );
37242
+ }
37243
+ return data;
37244
+ };
37245
+ var useRegenerateMeetingParticipantToken = (options = {}) => {
37246
+ return useConnectedMutation(RegenerateMeetingParticipantToken, options);
37247
+ };
37248
+
37249
+ // src/mutations/streamsV2/meetings/useUpdateMeeting.ts
37250
+ var UpdateMeeting = async ({
37251
+ meetingId,
37252
+ meeting,
37253
+ adminApiParams,
37254
+ queryClient
37255
+ }) => {
37256
+ const connectedXM = await GetAdminAPI(adminApiParams);
37257
+ const { data } = await connectedXM.put(
37258
+ `/streams/v2/meetings/${meetingId}`,
37259
+ meeting
37260
+ );
37261
+ if (queryClient && data.status === "ok") {
37262
+ queryClient.invalidateQueries({ queryKey: MEETINGS_QUERY_KEY() });
37263
+ SET_MEETING_QUERY_DATA(queryClient, [meetingId], data);
37264
+ }
37265
+ return data;
37266
+ };
37267
+ var useUpdateMeeting = (options = {}) => {
37268
+ return useConnectedMutation(UpdateMeeting, options);
37269
+ };
37270
+
37271
+ // src/mutations/streamsV2/meetings/useUpdateMeetingParticipant.ts
37272
+ var UpdateMeetingParticipant = async ({
37273
+ meetingId,
37274
+ participantId,
37275
+ participant,
37276
+ adminApiParams,
37277
+ queryClient
37278
+ }) => {
37279
+ const connectedXM = await GetAdminAPI(adminApiParams);
37280
+ const { data } = await connectedXM.put(
37281
+ `/streams/v2/meetings/${meetingId}/participants/${participantId}`,
37282
+ participant
37283
+ );
37284
+ if (queryClient && data.status === "ok") {
37285
+ queryClient.invalidateQueries({
37286
+ queryKey: MEETING_PARTICIPANTS_QUERY_KEY(meetingId)
37287
+ });
37288
+ SET_MEETING_PARTICIPANT_QUERY_DATA(
37289
+ queryClient,
37290
+ [meetingId, participantId],
37291
+ data
37292
+ );
37293
+ }
37294
+ return data;
37295
+ };
37296
+ var useUpdateMeetingParticipant = (options = {}) => {
37297
+ return useConnectedMutation(UpdateMeetingParticipant, options);
37298
+ };
37299
+
37300
+ // src/mutations/streamsV2/presets/useCreatePreset.ts
37301
+ var CreatePreset = async ({
37302
+ preset,
37303
+ adminApiParams,
37304
+ queryClient
37305
+ }) => {
37306
+ const connectedXM = await GetAdminAPI(adminApiParams);
37307
+ const { data } = await connectedXM.post(
37308
+ `/streams/v2/presets`,
37309
+ preset
37310
+ );
37311
+ if (queryClient && data.status === "ok") {
37312
+ queryClient.invalidateQueries({ queryKey: PRESETS_QUERY_KEY() });
37313
+ SET_PRESET_QUERY_DATA(queryClient, [data?.data.id], data);
37314
+ }
37315
+ return data;
37316
+ };
37317
+ var useCreatePreset = (options = {}) => {
37318
+ return useConnectedMutation(CreatePreset, options);
37319
+ };
37320
+
37321
+ // src/mutations/streamsV2/presets/useDeletePreset.ts
37322
+ var DeletePreset = async ({
37323
+ presetId,
37324
+ adminApiParams,
37325
+ queryClient
37326
+ }) => {
37327
+ const connectedXM = await GetAdminAPI(adminApiParams);
37328
+ const { data } = await connectedXM.delete(
37329
+ `/streams/v2/presets/${presetId}`
37330
+ );
37331
+ if (queryClient && data.status === "ok") {
37332
+ queryClient.invalidateQueries({ queryKey: PRESETS_QUERY_KEY() });
37333
+ queryClient.removeQueries({ queryKey: PRESET_QUERY_KEY(presetId) });
37334
+ }
37335
+ return data;
37336
+ };
37337
+ var useDeletePreset = (options = {}) => {
37338
+ return useConnectedMutation(DeletePreset, options);
37339
+ };
37340
+
37341
+ // src/mutations/streamsV2/presets/useUpdatePreset.ts
37342
+ var UpdatePreset = async ({
37343
+ presetId,
37344
+ preset,
37345
+ adminApiParams,
37346
+ queryClient
37347
+ }) => {
37348
+ const connectedXM = await GetAdminAPI(adminApiParams);
37349
+ const { data } = await connectedXM.put(
37350
+ `/streams/v2/presets/${presetId}`,
37351
+ preset
37352
+ );
37353
+ if (queryClient && data.status === "ok") {
37354
+ queryClient.invalidateQueries({ queryKey: PRESETS_QUERY_KEY() });
37355
+ SET_PRESET_QUERY_DATA(queryClient, [presetId], data);
37356
+ }
37357
+ return data;
37358
+ };
37359
+ var useUpdatePreset = (options = {}) => {
37360
+ return useConnectedMutation(UpdatePreset, options);
37361
+ };
37362
+
37363
+ // src/mutations/streamsV2/sessions/useGenerateMeetingSessionSummary.ts
37364
+ var GenerateMeetingSessionSummary = async ({
37365
+ sessionId,
37366
+ adminApiParams,
37367
+ queryClient
37368
+ }) => {
37369
+ const connectedXM = await GetAdminAPI(adminApiParams);
37370
+ const { data } = await connectedXM.post(
37371
+ `/streams/v2/sessions/${sessionId}/summary`
37372
+ );
37373
+ if (queryClient && data.status === "ok") {
37374
+ queryClient.invalidateQueries({
37375
+ queryKey: MEETING_SESSION_SUMMARY_QUERY_KEY(sessionId)
37376
+ });
37377
+ }
37378
+ return data;
37379
+ };
37380
+ var useGenerateMeetingSessionSummary = (options = {}) => {
37381
+ return useConnectedMutation(GenerateMeetingSessionSummary, options);
37382
+ };
37383
+
36522
37384
  // src/mutations/supportTickets/useCreateSupportTicket.ts
36523
37385
  var CreateSupportTicket = async ({
36524
37386
  supportTicket,
@@ -38830,12 +39692,15 @@ var useUploadVideoCaptions = (options = {}) => {
38830
39692
  CreateInvoiceLineItem,
38831
39693
  CreateLevel,
38832
39694
  CreateLevelTranslation,
39695
+ CreateMeeting,
39696
+ CreateMeetingParticipant,
38833
39697
  CreateMembership,
38834
39698
  CreateMembershipPrice,
38835
39699
  CreateOrganizationPaymentIntegration,
38836
39700
  CreateOrganizationSideEffect,
38837
39701
  CreateOrganizationTeamMember,
38838
39702
  CreateOrganizationWebhook,
39703
+ CreatePreset,
38839
39704
  CreateSearchList,
38840
39705
  CreateSearchListValue,
38841
39706
  CreateSelfApiKey,
@@ -38977,6 +39842,7 @@ var useUploadVideoCaptions = (options = {}) => {
38977
39842
  DeleteLogin,
38978
39843
  DeleteManyImages,
38979
39844
  DeleteManyVideos,
39845
+ DeleteMeetingParticipant,
38980
39846
  DeleteMembership,
38981
39847
  DeleteMembershipPrice,
38982
39848
  DeleteOrganizationDomain,
@@ -38985,6 +39851,7 @@ var useUploadVideoCaptions = (options = {}) => {
38985
39851
  DeleteOrganizationTeamMember,
38986
39852
  DeleteOrganizationUser,
38987
39853
  DeleteOrganizationWebhook,
39854
+ DeletePreset,
38988
39855
  DeletePushDevice,
38989
39856
  DeleteSearchList,
38990
39857
  DeleteSearchListValue,
@@ -39255,6 +40122,7 @@ var useUploadVideoCaptions = (options = {}) => {
39255
40122
  GROUP_THREADS_QUERY_KEY,
39256
40123
  GROUP_TRANSLATIONS_QUERY_KEY,
39257
40124
  GROUP_TRANSLATION_QUERY_KEY,
40125
+ GenerateMeetingSessionSummary,
39258
40126
  GenerateVideoCaptions,
39259
40127
  GetAPILog,
39260
40128
  GetAPILogs,
@@ -39606,6 +40474,20 @@ var useUploadVideoCaptions = (options = {}) => {
39606
40474
  GetLoginAuthSessions,
39607
40475
  GetLoginDevices,
39608
40476
  GetLogins,
40477
+ GetMeeting,
40478
+ GetMeetingActiveRecording,
40479
+ GetMeetingParticipant,
40480
+ GetMeetingParticipants,
40481
+ GetMeetingRecording,
40482
+ GetMeetingRecordings,
40483
+ GetMeetingSession,
40484
+ GetMeetingSessionMessages,
40485
+ GetMeetingSessionParticipant,
40486
+ GetMeetingSessionParticipants,
40487
+ GetMeetingSessionSummary,
40488
+ GetMeetingSessionTranscript,
40489
+ GetMeetingSessions,
40490
+ GetMeetings,
39609
40491
  GetMembership,
39610
40492
  GetMembershipPrice,
39611
40493
  GetMembershipPrices,
@@ -39635,6 +40517,8 @@ var useUploadVideoCaptions = (options = {}) => {
39635
40517
  GetOrganizationWebhooks,
39636
40518
  GetPayment,
39637
40519
  GetPayments,
40520
+ GetPreset,
40521
+ GetPresets,
39638
40522
  GetPushDevice,
39639
40523
  GetPushDevices,
39640
40524
  GetReport,
@@ -39764,6 +40648,20 @@ var useUploadVideoCaptions = (options = {}) => {
39764
40648
  LOGIN_QUERY_KEY,
39765
40649
  LeadStatus,
39766
40650
  LocationQuestionOption,
40651
+ MEETINGS_QUERY_KEY,
40652
+ MEETING_ACTIVE_RECORDING_QUERY_KEY,
40653
+ MEETING_PARTICIPANTS_QUERY_KEY,
40654
+ MEETING_PARTICIPANT_QUERY_KEY,
40655
+ MEETING_QUERY_KEY,
40656
+ MEETING_RECORDINGS_QUERY_KEY,
40657
+ MEETING_RECORDING_QUERY_KEY,
40658
+ MEETING_SESSIONS_QUERY_KEY,
40659
+ MEETING_SESSION_MESSAGES_QUERY_KEY,
40660
+ MEETING_SESSION_PARTICIPANTS_QUERY_KEY,
40661
+ MEETING_SESSION_PARTICIPANT_QUERY_KEY,
40662
+ MEETING_SESSION_QUERY_KEY,
40663
+ MEETING_SESSION_SUMMARY_QUERY_KEY,
40664
+ MEETING_SESSION_TRANSCRIPT_QUERY_KEY,
39767
40665
  MEMBERSHIPS_QUERY_KEY,
39768
40666
  MEMBERSHIP_PRICES_QUERY_KEY,
39769
40667
  MEMBERSHIP_PRICE_QUERY_KEY,
@@ -39802,6 +40700,8 @@ var useUploadVideoCaptions = (options = {}) => {
39802
40700
  OrganizationTriggerType,
39803
40701
  PAYMENTS_QUERY_KEY,
39804
40702
  PAYMENT_QUERY_KEY,
40703
+ PRESETS_QUERY_KEY,
40704
+ PRESET_QUERY_KEY,
39805
40705
  PUSH_DEVICES_QUERY_KEY,
39806
40706
  PUSH_DEVICE_QUERY_KEY,
39807
40707
  PageType,
@@ -39817,6 +40717,7 @@ var useUploadVideoCaptions = (options = {}) => {
39817
40717
  REPORT_QUERY_KEY,
39818
40718
  REQUIRED_ATTRIBUTES_QUERY_KEY,
39819
40719
  RefundOrganizationPayment,
40720
+ RegenerateMeetingParticipantToken,
39820
40721
  RegistrationQuestionType,
39821
40722
  ReinviteGroupInvitation,
39822
40723
  RejectGroupRequest,
@@ -39893,6 +40794,7 @@ var useUploadVideoCaptions = (options = {}) => {
39893
40794
  ReorderSurveySectionQuestions,
39894
40795
  ReportType,
39895
40796
  ResendRegistrationConfirmationEmail,
40797
+ RevertChannelContentToDraft,
39896
40798
  SEARCHLISTS_QUERY_KEY,
39897
40799
  SEARCHLIST_CONNECTED_QUESTIONS_QUERY_KEY,
39898
40800
  SEARCHLIST_QUERY_KEY,
@@ -40245,6 +41147,20 @@ var useUploadVideoCaptions = (options = {}) => {
40245
41147
  SET_LEVEL_TRANSLATION_QUERY_DATA,
40246
41148
  SET_LINK_PREVIEW_QUERY_DATA,
40247
41149
  SET_LOGIN_AUTH_SESSIONS_QUERY_DATA,
41150
+ SET_MEETINGS_QUERY_DATA,
41151
+ SET_MEETING_ACTIVE_RECORDING_QUERY_DATA,
41152
+ SET_MEETING_PARTICIPANTS_QUERY_DATA,
41153
+ SET_MEETING_PARTICIPANT_QUERY_DATA,
41154
+ SET_MEETING_QUERY_DATA,
41155
+ SET_MEETING_RECORDINGS_QUERY_DATA,
41156
+ SET_MEETING_RECORDING_QUERY_DATA,
41157
+ SET_MEETING_SESSIONS_QUERY_DATA,
41158
+ SET_MEETING_SESSION_MESSAGES_QUERY_DATA,
41159
+ SET_MEETING_SESSION_PARTICIPANTS_QUERY_DATA,
41160
+ SET_MEETING_SESSION_PARTICIPANT_QUERY_DATA,
41161
+ SET_MEETING_SESSION_QUERY_DATA,
41162
+ SET_MEETING_SESSION_SUMMARY_QUERY_DATA,
41163
+ SET_MEETING_SESSION_TRANSCRIPT_QUERY_DATA,
40248
41164
  SET_MEMBERSHIPS_QUERY_DATA,
40249
41165
  SET_MEMBERSHIP_PRICES_QUERY_DATA,
40250
41166
  SET_MEMBERSHIP_PRICE_QUERY_DATA,
@@ -40275,6 +41191,8 @@ var useUploadVideoCaptions = (options = {}) => {
40275
41191
  SET_PASS_TYPE_COUPONS_QUERY_DATA,
40276
41192
  SET_PAYMENTS_QUERY_DATA,
40277
41193
  SET_PAYMENT_QUERY_DATA,
41194
+ SET_PRESETS_QUERY_DATA,
41195
+ SET_PRESET_QUERY_DATA,
40278
41196
  SET_PUSH_DEVICE_QUERY_DATA,
40279
41197
  SET_REPORTS_QUERY_DATA,
40280
41198
  SET_REPORT_QUERY_DATA,
@@ -40566,6 +41484,8 @@ var useUploadVideoCaptions = (options = {}) => {
40566
41484
  UpdateLevelTranslation,
40567
41485
  UpdateLoginEmail,
40568
41486
  UpdateLoginPassword,
41487
+ UpdateMeeting,
41488
+ UpdateMeetingParticipant,
40569
41489
  UpdateMembership,
40570
41490
  UpdateMembershipPrice,
40571
41491
  UpdateOrganization,
@@ -40576,6 +41496,7 @@ var useUploadVideoCaptions = (options = {}) => {
40576
41496
  UpdateOrganizationTeamMember,
40577
41497
  UpdateOrganizationWebhook,
40578
41498
  UpdatePayment,
41499
+ UpdatePreset,
40579
41500
  UpdateSearchList,
40580
41501
  UpdateSearchListValue,
40581
41502
  UpdateSelf,
@@ -40796,12 +41717,15 @@ var useUploadVideoCaptions = (options = {}) => {
40796
41717
  useCreateInvoiceLineItem,
40797
41718
  useCreateLevel,
40798
41719
  useCreateLevelTranslation,
41720
+ useCreateMeeting,
41721
+ useCreateMeetingParticipant,
40799
41722
  useCreateMembership,
40800
41723
  useCreateMembershipPrice,
40801
41724
  useCreateOrganizationPaymentIntegration,
40802
41725
  useCreateOrganizationSideEffect,
40803
41726
  useCreateOrganizationTeamMember,
40804
41727
  useCreateOrganizationWebhook,
41728
+ useCreatePreset,
40805
41729
  useCreateSearchList,
40806
41730
  useCreateSearchListValue,
40807
41731
  useCreateSelfApiKey,
@@ -40934,6 +41858,7 @@ var useUploadVideoCaptions = (options = {}) => {
40934
41858
  useDeleteLogin,
40935
41859
  useDeleteManyImages,
40936
41860
  useDeleteManyVideos,
41861
+ useDeleteMeetingParticipant,
40937
41862
  useDeleteMembership,
40938
41863
  useDeleteMembershipPrice,
40939
41864
  useDeleteOrganizationDomain,
@@ -40942,6 +41867,7 @@ var useUploadVideoCaptions = (options = {}) => {
40942
41867
  useDeleteOrganizationTeamMember,
40943
41868
  useDeleteOrganizationUser,
40944
41869
  useDeleteOrganizationWebhook,
41870
+ useDeletePreset,
40945
41871
  useDeletePushDevice,
40946
41872
  useDeleteSearchList,
40947
41873
  useDeleteSearchListValue,
@@ -40979,6 +41905,7 @@ var useUploadVideoCaptions = (options = {}) => {
40979
41905
  useDownloadVideoCaption,
40980
41906
  useEventGetPassTypeCoupons,
40981
41907
  useExportAccount,
41908
+ useGenerateMeetingSessionSummary,
40982
41909
  useGenerateVideoCaptions,
40983
41910
  useGetAPILog,
40984
41911
  useGetAPILogs,
@@ -41326,6 +42253,20 @@ var useUploadVideoCaptions = (options = {}) => {
41326
42253
  useGetLoginAuthSessions,
41327
42254
  useGetLoginDevices,
41328
42255
  useGetLogins,
42256
+ useGetMeeting,
42257
+ useGetMeetingActiveRecording,
42258
+ useGetMeetingParticipant,
42259
+ useGetMeetingParticipants,
42260
+ useGetMeetingRecording,
42261
+ useGetMeetingRecordings,
42262
+ useGetMeetingSession,
42263
+ useGetMeetingSessionMessages,
42264
+ useGetMeetingSessionParticipant,
42265
+ useGetMeetingSessionParticipants,
42266
+ useGetMeetingSessionSummary,
42267
+ useGetMeetingSessionTranscript,
42268
+ useGetMeetingSessions,
42269
+ useGetMeetings,
41329
42270
  useGetMembership,
41330
42271
  useGetMembershipPrice,
41331
42272
  useGetMembershipPrices,
@@ -41355,6 +42296,8 @@ var useUploadVideoCaptions = (options = {}) => {
41355
42296
  useGetOrganizationWebhooks,
41356
42297
  useGetPayment,
41357
42298
  useGetPayments,
42299
+ useGetPreset,
42300
+ useGetPresets,
41358
42301
  useGetPushDevice,
41359
42302
  useGetPushDevices,
41360
42303
  useGetReport,
@@ -41444,6 +42387,7 @@ var useUploadVideoCaptions = (options = {}) => {
41444
42387
  useInitiateVideoDownload,
41445
42388
  usePublishActivity,
41446
42389
  useRefundOrganizationPayment,
42390
+ useRegenerateMeetingParticipantToken,
41447
42391
  useReinviteGroupInvitation,
41448
42392
  useRejectGroupRequest,
41449
42393
  useRemoveAccountFollower,
@@ -41518,6 +42462,7 @@ var useUploadVideoCaptions = (options = {}) => {
41518
42462
  useReorderSurveyQuestionChoices,
41519
42463
  useReorderSurveySectionQuestions,
41520
42464
  useResendRegistrationConfirmationEmail,
42465
+ useRevertChannelContentToDraft,
41521
42466
  useSearchOrganization,
41522
42467
  useSelfLeaveOrganization,
41523
42468
  useSendAnnouncementPreview,
@@ -41650,6 +42595,8 @@ var useUploadVideoCaptions = (options = {}) => {
41650
42595
  useUpdateLevelTranslation,
41651
42596
  useUpdateLoginEmail,
41652
42597
  useUpdateLoginPassword,
42598
+ useUpdateMeeting,
42599
+ useUpdateMeetingParticipant,
41653
42600
  useUpdateMembership,
41654
42601
  useUpdateMembershipPrice,
41655
42602
  useUpdateOrganization,
@@ -41660,6 +42607,7 @@ var useUploadVideoCaptions = (options = {}) => {
41660
42607
  useUpdateOrganizationTeamMember,
41661
42608
  useUpdateOrganizationWebhook,
41662
42609
  useUpdatePayment,
42610
+ useUpdatePreset,
41663
42611
  useUpdateSearchList,
41664
42612
  useUpdateSearchListValue,
41665
42613
  useUpdateSelf,