@connectedxm/admin 6.24.2 → 6.24.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -1
- package/dist/index.d.cts +12 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.js +3 -1
- package/openapi.json +57 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36128,11 +36128,13 @@ var useDeleteCustomReport = (options = {}) => {
|
|
|
36128
36128
|
// src/mutations/reports/useExportCustomReport.ts
|
|
36129
36129
|
var ExportCustomReport = async ({
|
|
36130
36130
|
reportId,
|
|
36131
|
+
body,
|
|
36131
36132
|
adminApiParams
|
|
36132
36133
|
}) => {
|
|
36133
36134
|
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
36134
36135
|
const { data } = await connectedXM.post(
|
|
36135
|
-
`/reports/custom/${reportId}/export
|
|
36136
|
+
`/reports/custom/${reportId}/export`,
|
|
36137
|
+
body
|
|
36136
36138
|
);
|
|
36137
36139
|
return data;
|
|
36138
36140
|
};
|
package/openapi.json
CHANGED
|
@@ -76198,6 +76198,16 @@
|
|
|
76198
76198
|
"required": true
|
|
76199
76199
|
}
|
|
76200
76200
|
],
|
|
76201
|
+
"requestBody": {
|
|
76202
|
+
"required": true,
|
|
76203
|
+
"content": {
|
|
76204
|
+
"application/json": {
|
|
76205
|
+
"schema": {
|
|
76206
|
+
"$ref": "#/components/schemas/CustomReportExportInputs"
|
|
76207
|
+
}
|
|
76208
|
+
}
|
|
76209
|
+
}
|
|
76210
|
+
},
|
|
76201
76211
|
"responses": {
|
|
76202
76212
|
"200": {
|
|
76203
76213
|
"description": "Successful response",
|
|
@@ -101333,6 +101343,12 @@
|
|
|
101333
101343
|
"type": "string",
|
|
101334
101344
|
"nullable": true
|
|
101335
101345
|
},
|
|
101346
|
+
"registration": {
|
|
101347
|
+
"type": "boolean"
|
|
101348
|
+
},
|
|
101349
|
+
"featured": {
|
|
101350
|
+
"type": "boolean"
|
|
101351
|
+
},
|
|
101336
101352
|
"startDate": {
|
|
101337
101353
|
"type": "string",
|
|
101338
101354
|
"nullable": true
|
|
@@ -101360,6 +101376,8 @@
|
|
|
101360
101376
|
"name",
|
|
101361
101377
|
"description",
|
|
101362
101378
|
"longDescription",
|
|
101379
|
+
"registration",
|
|
101380
|
+
"featured",
|
|
101363
101381
|
"startDate",
|
|
101364
101382
|
"endDate",
|
|
101365
101383
|
"imageId",
|
|
@@ -116938,6 +116956,17 @@
|
|
|
116938
116956
|
}
|
|
116939
116957
|
]
|
|
116940
116958
|
},
|
|
116959
|
+
"CustomReportExportInputs": {
|
|
116960
|
+
"type": "object",
|
|
116961
|
+
"properties": {
|
|
116962
|
+
"email": {
|
|
116963
|
+
"type": "string"
|
|
116964
|
+
}
|
|
116965
|
+
},
|
|
116966
|
+
"required": [
|
|
116967
|
+
"email"
|
|
116968
|
+
]
|
|
116969
|
+
},
|
|
116941
116970
|
"CustomReportUpdateInputs": {
|
|
116942
116971
|
"type": "object",
|
|
116943
116972
|
"properties": {
|
|
@@ -117144,6 +117173,20 @@
|
|
|
117144
117173
|
"registration": {
|
|
117145
117174
|
"type": "boolean"
|
|
117146
117175
|
},
|
|
117176
|
+
"featured": {
|
|
117177
|
+
"type": "boolean"
|
|
117178
|
+
},
|
|
117179
|
+
"sortOrder": {
|
|
117180
|
+
"oneOf": [
|
|
117181
|
+
{
|
|
117182
|
+
"type": "number"
|
|
117183
|
+
},
|
|
117184
|
+
{
|
|
117185
|
+
"type": "string"
|
|
117186
|
+
}
|
|
117187
|
+
],
|
|
117188
|
+
"nullable": true
|
|
117189
|
+
},
|
|
117147
117190
|
"price": {
|
|
117148
117191
|
"type": "number"
|
|
117149
117192
|
},
|
|
@@ -117212,6 +117255,20 @@
|
|
|
117212
117255
|
"registration": {
|
|
117213
117256
|
"type": "boolean"
|
|
117214
117257
|
},
|
|
117258
|
+
"featured": {
|
|
117259
|
+
"type": "boolean"
|
|
117260
|
+
},
|
|
117261
|
+
"sortOrder": {
|
|
117262
|
+
"oneOf": [
|
|
117263
|
+
{
|
|
117264
|
+
"type": "number"
|
|
117265
|
+
},
|
|
117266
|
+
{
|
|
117267
|
+
"type": "string"
|
|
117268
|
+
}
|
|
117269
|
+
],
|
|
117270
|
+
"nullable": true
|
|
117271
|
+
},
|
|
117215
117272
|
"price": {
|
|
117216
117273
|
"type": "number"
|
|
117217
117274
|
},
|