@connectedxm/admin 4.2.13 → 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,
@@ -1721,6 +1760,20 @@ __export(index_exports, {
1721
1760
  SET_LEVEL_TRANSLATION_QUERY_DATA: () => SET_LEVEL_TRANSLATION_QUERY_DATA,
1722
1761
  SET_LINK_PREVIEW_QUERY_DATA: () => SET_LINK_PREVIEW_QUERY_DATA,
1723
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,
1724
1777
  SET_MEMBERSHIPS_QUERY_DATA: () => SET_MEMBERSHIPS_QUERY_DATA,
1725
1778
  SET_MEMBERSHIP_PRICES_QUERY_DATA: () => SET_MEMBERSHIP_PRICES_QUERY_DATA,
1726
1779
  SET_MEMBERSHIP_PRICE_QUERY_DATA: () => SET_MEMBERSHIP_PRICE_QUERY_DATA,
@@ -1751,6 +1804,8 @@ __export(index_exports, {
1751
1804
  SET_PASS_TYPE_COUPONS_QUERY_DATA: () => SET_PASS_TYPE_COUPONS_QUERY_DATA,
1752
1805
  SET_PAYMENTS_QUERY_DATA: () => SET_PAYMENTS_QUERY_DATA,
1753
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,
1754
1809
  SET_PUSH_DEVICE_QUERY_DATA: () => SET_PUSH_DEVICE_QUERY_DATA,
1755
1810
  SET_REPORTS_QUERY_DATA: () => SET_REPORTS_QUERY_DATA,
1756
1811
  SET_REPORT_QUERY_DATA: () => SET_REPORT_QUERY_DATA,
@@ -2042,6 +2097,8 @@ __export(index_exports, {
2042
2097
  UpdateLevelTranslation: () => UpdateLevelTranslation,
2043
2098
  UpdateLoginEmail: () => UpdateLoginEmail,
2044
2099
  UpdateLoginPassword: () => UpdateLoginPassword,
2100
+ UpdateMeeting: () => UpdateMeeting,
2101
+ UpdateMeetingParticipant: () => UpdateMeetingParticipant,
2045
2102
  UpdateMembership: () => UpdateMembership,
2046
2103
  UpdateMembershipPrice: () => UpdateMembershipPrice,
2047
2104
  UpdateOrganization: () => UpdateOrganization,
@@ -2052,6 +2109,7 @@ __export(index_exports, {
2052
2109
  UpdateOrganizationTeamMember: () => UpdateOrganizationTeamMember,
2053
2110
  UpdateOrganizationWebhook: () => UpdateOrganizationWebhook,
2054
2111
  UpdatePayment: () => UpdatePayment,
2112
+ UpdatePreset: () => UpdatePreset,
2055
2113
  UpdateSearchList: () => UpdateSearchList,
2056
2114
  UpdateSearchListValue: () => UpdateSearchListValue,
2057
2115
  UpdateSelf: () => UpdateSelf,
@@ -2272,12 +2330,15 @@ __export(index_exports, {
2272
2330
  useCreateInvoiceLineItem: () => useCreateInvoiceLineItem,
2273
2331
  useCreateLevel: () => useCreateLevel,
2274
2332
  useCreateLevelTranslation: () => useCreateLevelTranslation,
2333
+ useCreateMeeting: () => useCreateMeeting,
2334
+ useCreateMeetingParticipant: () => useCreateMeetingParticipant,
2275
2335
  useCreateMembership: () => useCreateMembership,
2276
2336
  useCreateMembershipPrice: () => useCreateMembershipPrice,
2277
2337
  useCreateOrganizationPaymentIntegration: () => useCreateOrganizationPaymentIntegration,
2278
2338
  useCreateOrganizationSideEffect: () => useCreateOrganizationSideEffect,
2279
2339
  useCreateOrganizationTeamMember: () => useCreateOrganizationTeamMember,
2280
2340
  useCreateOrganizationWebhook: () => useCreateOrganizationWebhook,
2341
+ useCreatePreset: () => useCreatePreset,
2281
2342
  useCreateSearchList: () => useCreateSearchList,
2282
2343
  useCreateSearchListValue: () => useCreateSearchListValue,
2283
2344
  useCreateSelfApiKey: () => useCreateSelfApiKey,
@@ -2410,6 +2471,7 @@ __export(index_exports, {
2410
2471
  useDeleteLogin: () => useDeleteLogin,
2411
2472
  useDeleteManyImages: () => useDeleteManyImages,
2412
2473
  useDeleteManyVideos: () => useDeleteManyVideos,
2474
+ useDeleteMeetingParticipant: () => useDeleteMeetingParticipant,
2413
2475
  useDeleteMembership: () => useDeleteMembership,
2414
2476
  useDeleteMembershipPrice: () => useDeleteMembershipPrice,
2415
2477
  useDeleteOrganizationDomain: () => useDeleteOrganizationDomain,
@@ -2418,6 +2480,7 @@ __export(index_exports, {
2418
2480
  useDeleteOrganizationTeamMember: () => useDeleteOrganizationTeamMember,
2419
2481
  useDeleteOrganizationUser: () => useDeleteOrganizationUser,
2420
2482
  useDeleteOrganizationWebhook: () => useDeleteOrganizationWebhook,
2483
+ useDeletePreset: () => useDeletePreset,
2421
2484
  useDeletePushDevice: () => useDeletePushDevice,
2422
2485
  useDeleteSearchList: () => useDeleteSearchList,
2423
2486
  useDeleteSearchListValue: () => useDeleteSearchListValue,
@@ -2455,6 +2518,7 @@ __export(index_exports, {
2455
2518
  useDownloadVideoCaption: () => useDownloadVideoCaption,
2456
2519
  useEventGetPassTypeCoupons: () => useEventGetPassTypeCoupons,
2457
2520
  useExportAccount: () => useExportAccount,
2521
+ useGenerateMeetingSessionSummary: () => useGenerateMeetingSessionSummary,
2458
2522
  useGenerateVideoCaptions: () => useGenerateVideoCaptions,
2459
2523
  useGetAPILog: () => useGetAPILog,
2460
2524
  useGetAPILogs: () => useGetAPILogs,
@@ -2802,6 +2866,20 @@ __export(index_exports, {
2802
2866
  useGetLoginAuthSessions: () => useGetLoginAuthSessions,
2803
2867
  useGetLoginDevices: () => useGetLoginDevices,
2804
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,
2805
2883
  useGetMembership: () => useGetMembership,
2806
2884
  useGetMembershipPrice: () => useGetMembershipPrice,
2807
2885
  useGetMembershipPrices: () => useGetMembershipPrices,
@@ -2831,6 +2909,8 @@ __export(index_exports, {
2831
2909
  useGetOrganizationWebhooks: () => useGetOrganizationWebhooks,
2832
2910
  useGetPayment: () => useGetPayment,
2833
2911
  useGetPayments: () => useGetPayments,
2912
+ useGetPreset: () => useGetPreset,
2913
+ useGetPresets: () => useGetPresets,
2834
2914
  useGetPushDevice: () => useGetPushDevice,
2835
2915
  useGetPushDevices: () => useGetPushDevices,
2836
2916
  useGetReport: () => useGetReport,
@@ -2920,6 +3000,7 @@ __export(index_exports, {
2920
3000
  useInitiateVideoDownload: () => useInitiateVideoDownload,
2921
3001
  usePublishActivity: () => usePublishActivity,
2922
3002
  useRefundOrganizationPayment: () => useRefundOrganizationPayment,
3003
+ useRegenerateMeetingParticipantToken: () => useRegenerateMeetingParticipantToken,
2923
3004
  useReinviteGroupInvitation: () => useReinviteGroupInvitation,
2924
3005
  useRejectGroupRequest: () => useRejectGroupRequest,
2925
3006
  useRemoveAccountFollower: () => useRemoveAccountFollower,
@@ -3127,6 +3208,8 @@ __export(index_exports, {
3127
3208
  useUpdateLevelTranslation: () => useUpdateLevelTranslation,
3128
3209
  useUpdateLoginEmail: () => useUpdateLoginEmail,
3129
3210
  useUpdateLoginPassword: () => useUpdateLoginPassword,
3211
+ useUpdateMeeting: () => useUpdateMeeting,
3212
+ useUpdateMeetingParticipant: () => useUpdateMeetingParticipant,
3130
3213
  useUpdateMembership: () => useUpdateMembership,
3131
3214
  useUpdateMembershipPrice: () => useUpdateMembershipPrice,
3132
3215
  useUpdateOrganization: () => useUpdateOrganization,
@@ -3137,6 +3220,7 @@ __export(index_exports, {
3137
3220
  useUpdateOrganizationTeamMember: () => useUpdateOrganizationTeamMember,
3138
3221
  useUpdateOrganizationWebhook: () => useUpdateOrganizationWebhook,
3139
3222
  useUpdatePayment: () => useUpdatePayment,
3223
+ useUpdatePreset: () => useUpdatePreset,
3140
3224
  useUpdateSearchList: () => useUpdateSearchList,
3141
3225
  useUpdateSearchListValue: () => useUpdateSearchListValue,
3142
3226
  useUpdateSelf: () => useUpdateSelf,
@@ -20281,6 +20365,520 @@ var useGetStreamVideos = (streamId, params = {}, options = {}) => {
20281
20365
  );
20282
20366
  };
20283
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
+
20284
20882
  // src/queries/supportTickets/useGetSupportTickets.ts
20285
20883
  var SUPPORT_TICKETS_QUERY_KEY = (state, type) => [
20286
20884
  "SUPPORT_TICKETS",
@@ -36547,6 +37145,242 @@ var useUpdateStreamInputOutput = (options = {}) => {
36547
37145
  return useConnectedMutation(UpdateStreamInputOutput, options);
36548
37146
  };
36549
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
+
36550
37384
  // src/mutations/supportTickets/useCreateSupportTicket.ts
36551
37385
  var CreateSupportTicket = async ({
36552
37386
  supportTicket,
@@ -38858,12 +39692,15 @@ var useUploadVideoCaptions = (options = {}) => {
38858
39692
  CreateInvoiceLineItem,
38859
39693
  CreateLevel,
38860
39694
  CreateLevelTranslation,
39695
+ CreateMeeting,
39696
+ CreateMeetingParticipant,
38861
39697
  CreateMembership,
38862
39698
  CreateMembershipPrice,
38863
39699
  CreateOrganizationPaymentIntegration,
38864
39700
  CreateOrganizationSideEffect,
38865
39701
  CreateOrganizationTeamMember,
38866
39702
  CreateOrganizationWebhook,
39703
+ CreatePreset,
38867
39704
  CreateSearchList,
38868
39705
  CreateSearchListValue,
38869
39706
  CreateSelfApiKey,
@@ -39005,6 +39842,7 @@ var useUploadVideoCaptions = (options = {}) => {
39005
39842
  DeleteLogin,
39006
39843
  DeleteManyImages,
39007
39844
  DeleteManyVideos,
39845
+ DeleteMeetingParticipant,
39008
39846
  DeleteMembership,
39009
39847
  DeleteMembershipPrice,
39010
39848
  DeleteOrganizationDomain,
@@ -39013,6 +39851,7 @@ var useUploadVideoCaptions = (options = {}) => {
39013
39851
  DeleteOrganizationTeamMember,
39014
39852
  DeleteOrganizationUser,
39015
39853
  DeleteOrganizationWebhook,
39854
+ DeletePreset,
39016
39855
  DeletePushDevice,
39017
39856
  DeleteSearchList,
39018
39857
  DeleteSearchListValue,
@@ -39283,6 +40122,7 @@ var useUploadVideoCaptions = (options = {}) => {
39283
40122
  GROUP_THREADS_QUERY_KEY,
39284
40123
  GROUP_TRANSLATIONS_QUERY_KEY,
39285
40124
  GROUP_TRANSLATION_QUERY_KEY,
40125
+ GenerateMeetingSessionSummary,
39286
40126
  GenerateVideoCaptions,
39287
40127
  GetAPILog,
39288
40128
  GetAPILogs,
@@ -39634,6 +40474,20 @@ var useUploadVideoCaptions = (options = {}) => {
39634
40474
  GetLoginAuthSessions,
39635
40475
  GetLoginDevices,
39636
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,
39637
40491
  GetMembership,
39638
40492
  GetMembershipPrice,
39639
40493
  GetMembershipPrices,
@@ -39663,6 +40517,8 @@ var useUploadVideoCaptions = (options = {}) => {
39663
40517
  GetOrganizationWebhooks,
39664
40518
  GetPayment,
39665
40519
  GetPayments,
40520
+ GetPreset,
40521
+ GetPresets,
39666
40522
  GetPushDevice,
39667
40523
  GetPushDevices,
39668
40524
  GetReport,
@@ -39792,6 +40648,20 @@ var useUploadVideoCaptions = (options = {}) => {
39792
40648
  LOGIN_QUERY_KEY,
39793
40649
  LeadStatus,
39794
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,
39795
40665
  MEMBERSHIPS_QUERY_KEY,
39796
40666
  MEMBERSHIP_PRICES_QUERY_KEY,
39797
40667
  MEMBERSHIP_PRICE_QUERY_KEY,
@@ -39830,6 +40700,8 @@ var useUploadVideoCaptions = (options = {}) => {
39830
40700
  OrganizationTriggerType,
39831
40701
  PAYMENTS_QUERY_KEY,
39832
40702
  PAYMENT_QUERY_KEY,
40703
+ PRESETS_QUERY_KEY,
40704
+ PRESET_QUERY_KEY,
39833
40705
  PUSH_DEVICES_QUERY_KEY,
39834
40706
  PUSH_DEVICE_QUERY_KEY,
39835
40707
  PageType,
@@ -39845,6 +40717,7 @@ var useUploadVideoCaptions = (options = {}) => {
39845
40717
  REPORT_QUERY_KEY,
39846
40718
  REQUIRED_ATTRIBUTES_QUERY_KEY,
39847
40719
  RefundOrganizationPayment,
40720
+ RegenerateMeetingParticipantToken,
39848
40721
  RegistrationQuestionType,
39849
40722
  ReinviteGroupInvitation,
39850
40723
  RejectGroupRequest,
@@ -40274,6 +41147,20 @@ var useUploadVideoCaptions = (options = {}) => {
40274
41147
  SET_LEVEL_TRANSLATION_QUERY_DATA,
40275
41148
  SET_LINK_PREVIEW_QUERY_DATA,
40276
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,
40277
41164
  SET_MEMBERSHIPS_QUERY_DATA,
40278
41165
  SET_MEMBERSHIP_PRICES_QUERY_DATA,
40279
41166
  SET_MEMBERSHIP_PRICE_QUERY_DATA,
@@ -40304,6 +41191,8 @@ var useUploadVideoCaptions = (options = {}) => {
40304
41191
  SET_PASS_TYPE_COUPONS_QUERY_DATA,
40305
41192
  SET_PAYMENTS_QUERY_DATA,
40306
41193
  SET_PAYMENT_QUERY_DATA,
41194
+ SET_PRESETS_QUERY_DATA,
41195
+ SET_PRESET_QUERY_DATA,
40307
41196
  SET_PUSH_DEVICE_QUERY_DATA,
40308
41197
  SET_REPORTS_QUERY_DATA,
40309
41198
  SET_REPORT_QUERY_DATA,
@@ -40595,6 +41484,8 @@ var useUploadVideoCaptions = (options = {}) => {
40595
41484
  UpdateLevelTranslation,
40596
41485
  UpdateLoginEmail,
40597
41486
  UpdateLoginPassword,
41487
+ UpdateMeeting,
41488
+ UpdateMeetingParticipant,
40598
41489
  UpdateMembership,
40599
41490
  UpdateMembershipPrice,
40600
41491
  UpdateOrganization,
@@ -40605,6 +41496,7 @@ var useUploadVideoCaptions = (options = {}) => {
40605
41496
  UpdateOrganizationTeamMember,
40606
41497
  UpdateOrganizationWebhook,
40607
41498
  UpdatePayment,
41499
+ UpdatePreset,
40608
41500
  UpdateSearchList,
40609
41501
  UpdateSearchListValue,
40610
41502
  UpdateSelf,
@@ -40825,12 +41717,15 @@ var useUploadVideoCaptions = (options = {}) => {
40825
41717
  useCreateInvoiceLineItem,
40826
41718
  useCreateLevel,
40827
41719
  useCreateLevelTranslation,
41720
+ useCreateMeeting,
41721
+ useCreateMeetingParticipant,
40828
41722
  useCreateMembership,
40829
41723
  useCreateMembershipPrice,
40830
41724
  useCreateOrganizationPaymentIntegration,
40831
41725
  useCreateOrganizationSideEffect,
40832
41726
  useCreateOrganizationTeamMember,
40833
41727
  useCreateOrganizationWebhook,
41728
+ useCreatePreset,
40834
41729
  useCreateSearchList,
40835
41730
  useCreateSearchListValue,
40836
41731
  useCreateSelfApiKey,
@@ -40963,6 +41858,7 @@ var useUploadVideoCaptions = (options = {}) => {
40963
41858
  useDeleteLogin,
40964
41859
  useDeleteManyImages,
40965
41860
  useDeleteManyVideos,
41861
+ useDeleteMeetingParticipant,
40966
41862
  useDeleteMembership,
40967
41863
  useDeleteMembershipPrice,
40968
41864
  useDeleteOrganizationDomain,
@@ -40971,6 +41867,7 @@ var useUploadVideoCaptions = (options = {}) => {
40971
41867
  useDeleteOrganizationTeamMember,
40972
41868
  useDeleteOrganizationUser,
40973
41869
  useDeleteOrganizationWebhook,
41870
+ useDeletePreset,
40974
41871
  useDeletePushDevice,
40975
41872
  useDeleteSearchList,
40976
41873
  useDeleteSearchListValue,
@@ -41008,6 +41905,7 @@ var useUploadVideoCaptions = (options = {}) => {
41008
41905
  useDownloadVideoCaption,
41009
41906
  useEventGetPassTypeCoupons,
41010
41907
  useExportAccount,
41908
+ useGenerateMeetingSessionSummary,
41011
41909
  useGenerateVideoCaptions,
41012
41910
  useGetAPILog,
41013
41911
  useGetAPILogs,
@@ -41355,6 +42253,20 @@ var useUploadVideoCaptions = (options = {}) => {
41355
42253
  useGetLoginAuthSessions,
41356
42254
  useGetLoginDevices,
41357
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,
41358
42270
  useGetMembership,
41359
42271
  useGetMembershipPrice,
41360
42272
  useGetMembershipPrices,
@@ -41384,6 +42296,8 @@ var useUploadVideoCaptions = (options = {}) => {
41384
42296
  useGetOrganizationWebhooks,
41385
42297
  useGetPayment,
41386
42298
  useGetPayments,
42299
+ useGetPreset,
42300
+ useGetPresets,
41387
42301
  useGetPushDevice,
41388
42302
  useGetPushDevices,
41389
42303
  useGetReport,
@@ -41473,6 +42387,7 @@ var useUploadVideoCaptions = (options = {}) => {
41473
42387
  useInitiateVideoDownload,
41474
42388
  usePublishActivity,
41475
42389
  useRefundOrganizationPayment,
42390
+ useRegenerateMeetingParticipantToken,
41476
42391
  useReinviteGroupInvitation,
41477
42392
  useRejectGroupRequest,
41478
42393
  useRemoveAccountFollower,
@@ -41680,6 +42595,8 @@ var useUploadVideoCaptions = (options = {}) => {
41680
42595
  useUpdateLevelTranslation,
41681
42596
  useUpdateLoginEmail,
41682
42597
  useUpdateLoginPassword,
42598
+ useUpdateMeeting,
42599
+ useUpdateMeetingParticipant,
41683
42600
  useUpdateMembership,
41684
42601
  useUpdateMembershipPrice,
41685
42602
  useUpdateOrganization,
@@ -41690,6 +42607,7 @@ var useUploadVideoCaptions = (options = {}) => {
41690
42607
  useUpdateOrganizationTeamMember,
41691
42608
  useUpdateOrganizationWebhook,
41692
42609
  useUpdatePayment,
42610
+ useUpdatePreset,
41693
42611
  useUpdateSearchList,
41694
42612
  useUpdateSearchListValue,
41695
42613
  useUpdateSelf,