@connectedxm/admin 6.24.1 → 6.24.3

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,23 @@ 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
+ body,
36132
+ adminApiParams
36133
+ }) => {
36134
+ const connectedXM = await GetAdminAPI(adminApiParams);
36135
+ const { data } = await connectedXM.post(
36136
+ `/reports/custom/${reportId}/export`,
36137
+ body
36138
+ );
36139
+ return data;
36140
+ };
36141
+ var useExportCustomReport = (options = {}) => {
36142
+ return useConnectedMutation(ExportCustomReport, options);
36143
+ };
36144
+
36128
36145
  // src/mutations/reports/useUpdateCustomReport.ts
36129
36146
  var UpdateCustomReport = async ({
36130
36147
  reportId,
@@ -40254,6 +40271,7 @@ export {
40254
40271
  EventSource,
40255
40272
  EventType,
40256
40273
  ExportAccount,
40274
+ ExportCustomReport,
40257
40275
  ExportStatus,
40258
40276
  ExportStreamSession,
40259
40277
  FEATURED_CHANNELS_QUERY_KEY,
@@ -42228,6 +42246,7 @@ export {
42228
42246
  useEnableLivestream,
42229
42247
  useEventGetPassTypeCoupons,
42230
42248
  useExportAccount,
42249
+ useExportCustomReport,
42231
42250
  useExportStreamSession,
42232
42251
  useGenerateMeetingSessionSummary,
42233
42252
  useGenerateVideoCaptions,
package/openapi.json CHANGED
@@ -76182,6 +76182,69 @@
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
+ "requestBody": {
76202
+ "required": true,
76203
+ "content": {
76204
+ "application/json": {
76205
+ "schema": {
76206
+ "$ref": "#/components/schemas/CustomReportExportInputs"
76207
+ }
76208
+ }
76209
+ }
76210
+ },
76211
+ "responses": {
76212
+ "200": {
76213
+ "description": "Successful response",
76214
+ "content": {
76215
+ "application/json": {
76216
+ "schema": {
76217
+ "type": "object",
76218
+ "properties": {
76219
+ "status": {
76220
+ "type": "string",
76221
+ "enum": [
76222
+ "ok"
76223
+ ]
76224
+ },
76225
+ "message": {
76226
+ "type": "string",
76227
+ "example": "Success message."
76228
+ },
76229
+ "data": {
76230
+ "nullable": true
76231
+ }
76232
+ },
76233
+ "required": [
76234
+ "status",
76235
+ "message",
76236
+ "data"
76237
+ ]
76238
+ }
76239
+ }
76240
+ }
76241
+ }
76242
+ },
76243
+ "tags": [
76244
+ "Reports"
76245
+ ]
76246
+ }
76247
+ },
76185
76248
  "/reports/custom/{reportId}/users": {
76186
76249
  "get": {
76187
76250
  "operationId": "GetCustomReportUsers",
@@ -116885,6 +116948,17 @@
116885
116948
  }
116886
116949
  ]
116887
116950
  },
116951
+ "CustomReportExportInputs": {
116952
+ "type": "object",
116953
+ "properties": {
116954
+ "email": {
116955
+ "type": "string"
116956
+ }
116957
+ },
116958
+ "required": [
116959
+ "email"
116960
+ ]
116961
+ },
116888
116962
  "CustomReportUpdateInputs": {
116889
116963
  "type": "object",
116890
116964
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "6.24.1",
3
+ "version": "6.24.3",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",