@connectedxm/admin 6.24.1 → 6.24.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -36125,6 +36125,21 @@ var useDeleteCustomReport = (options = {}) => {
36125
36125
  return useConnectedMutation(DeleteCustomReport, options);
36126
36126
  };
36127
36127
 
36128
+ // src/mutations/reports/useExportCustomReport.ts
36129
+ var ExportCustomReport = async ({
36130
+ reportId,
36131
+ adminApiParams
36132
+ }) => {
36133
+ const connectedXM = await GetAdminAPI(adminApiParams);
36134
+ const { data } = await connectedXM.post(
36135
+ `/reports/custom/${reportId}/export`
36136
+ );
36137
+ return data;
36138
+ };
36139
+ var useExportCustomReport = (options = {}) => {
36140
+ return useConnectedMutation(ExportCustomReport, options);
36141
+ };
36142
+
36128
36143
  // src/mutations/reports/useUpdateCustomReport.ts
36129
36144
  var UpdateCustomReport = async ({
36130
36145
  reportId,
@@ -40254,6 +40269,7 @@ export {
40254
40269
  EventSource,
40255
40270
  EventType,
40256
40271
  ExportAccount,
40272
+ ExportCustomReport,
40257
40273
  ExportStatus,
40258
40274
  ExportStreamSession,
40259
40275
  FEATURED_CHANNELS_QUERY_KEY,
@@ -42228,6 +42244,7 @@ export {
42228
42244
  useEnableLivestream,
42229
42245
  useEventGetPassTypeCoupons,
42230
42246
  useExportAccount,
42247
+ useExportCustomReport,
42231
42248
  useExportStreamSession,
42232
42249
  useGenerateMeetingSessionSummary,
42233
42250
  useGenerateVideoCaptions,
package/openapi.json CHANGED
@@ -76182,6 +76182,59 @@
76182
76182
  ]
76183
76183
  }
76184
76184
  },
76185
+ "/reports/custom/{reportId}/export": {
76186
+ "post": {
76187
+ "operationId": "ExportCustomReport",
76188
+ "summary": "Export Custom Report",
76189
+ "description": "Export Custom Report endpoint",
76190
+ "parameters": [
76191
+ {
76192
+ "in": "path",
76193
+ "name": "reportId",
76194
+ "schema": {
76195
+ "type": "string"
76196
+ },
76197
+ "description": "The report identifier",
76198
+ "required": true
76199
+ }
76200
+ ],
76201
+ "responses": {
76202
+ "200": {
76203
+ "description": "Successful response",
76204
+ "content": {
76205
+ "application/json": {
76206
+ "schema": {
76207
+ "type": "object",
76208
+ "properties": {
76209
+ "status": {
76210
+ "type": "string",
76211
+ "enum": [
76212
+ "ok"
76213
+ ]
76214
+ },
76215
+ "message": {
76216
+ "type": "string",
76217
+ "example": "Success message."
76218
+ },
76219
+ "data": {
76220
+ "nullable": true
76221
+ }
76222
+ },
76223
+ "required": [
76224
+ "status",
76225
+ "message",
76226
+ "data"
76227
+ ]
76228
+ }
76229
+ }
76230
+ }
76231
+ }
76232
+ },
76233
+ "tags": [
76234
+ "Reports"
76235
+ ]
76236
+ }
76237
+ },
76185
76238
  "/reports/custom/{reportId}/users": {
76186
76239
  "get": {
76187
76240
  "operationId": "GetCustomReportUsers",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "6.24.1",
3
+ "version": "6.24.2",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",