@connectedxm/admin 7.0.0 → 7.0.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.cjs +163 -13
- package/dist/index.d.cts +34 -10
- package/dist/index.d.ts +34 -10
- package/dist/index.js +151 -13
- package/openapi.json +308 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21526,6 +21526,132 @@ var useGetThreadMessageVideos = (threadId, messageId, params = {}, options = {})
|
|
|
21526
21526
|
);
|
|
21527
21527
|
};
|
|
21528
21528
|
|
|
21529
|
+
// src/queries/threads/storage/useGetThreadStorageFiles.ts
|
|
21530
|
+
var THREAD_STORAGE_FILES_QUERY_KEY = (threadId) => {
|
|
21531
|
+
return [...THREAD_QUERY_KEY(threadId), "STORAGE", "FILES"];
|
|
21532
|
+
};
|
|
21533
|
+
var SET_THREAD_STORAGE_FILES_QUERY_DATA = (client, keyParams, response, options) => {
|
|
21534
|
+
client.setQueryData(
|
|
21535
|
+
THREAD_STORAGE_FILES_QUERY_KEY(...keyParams),
|
|
21536
|
+
response,
|
|
21537
|
+
options
|
|
21538
|
+
);
|
|
21539
|
+
};
|
|
21540
|
+
var GetThreadStorageFiles = async ({
|
|
21541
|
+
threadId,
|
|
21542
|
+
pageParam,
|
|
21543
|
+
pageSize,
|
|
21544
|
+
orderBy,
|
|
21545
|
+
search,
|
|
21546
|
+
adminApiParams
|
|
21547
|
+
}) => {
|
|
21548
|
+
const adminApi = await GetAdminAPI(adminApiParams);
|
|
21549
|
+
const { data } = await adminApi.get(`/threads/${threadId}/storage/files`, {
|
|
21550
|
+
params: {
|
|
21551
|
+
page: pageParam || void 0,
|
|
21552
|
+
pageSize: pageSize || void 0,
|
|
21553
|
+
orderBy: orderBy || void 0,
|
|
21554
|
+
search: search || void 0
|
|
21555
|
+
}
|
|
21556
|
+
});
|
|
21557
|
+
return data;
|
|
21558
|
+
};
|
|
21559
|
+
var useGetThreadStorageFiles = (threadId, params = {}, options = {}) => {
|
|
21560
|
+
return useConnectedInfiniteQuery(
|
|
21561
|
+
THREAD_STORAGE_FILES_QUERY_KEY(threadId),
|
|
21562
|
+
(params2) => GetThreadStorageFiles({ threadId, ...params2 }),
|
|
21563
|
+
params,
|
|
21564
|
+
{
|
|
21565
|
+
...options,
|
|
21566
|
+
enabled: !!threadId && (options?.enabled ?? true)
|
|
21567
|
+
}
|
|
21568
|
+
);
|
|
21569
|
+
};
|
|
21570
|
+
|
|
21571
|
+
// src/queries/threads/storage/useGetThreadStorageImages.ts
|
|
21572
|
+
var THREAD_STORAGE_IMAGES_QUERY_KEY = (threadId) => {
|
|
21573
|
+
return [...THREAD_QUERY_KEY(threadId), "STORAGE", "IMAGES"];
|
|
21574
|
+
};
|
|
21575
|
+
var SET_THREAD_STORAGE_IMAGES_QUERY_DATA = (client, keyParams, response, options) => {
|
|
21576
|
+
client.setQueryData(
|
|
21577
|
+
THREAD_STORAGE_IMAGES_QUERY_KEY(...keyParams),
|
|
21578
|
+
response,
|
|
21579
|
+
options
|
|
21580
|
+
);
|
|
21581
|
+
};
|
|
21582
|
+
var GetThreadStorageImages = async ({
|
|
21583
|
+
threadId,
|
|
21584
|
+
pageParam,
|
|
21585
|
+
pageSize,
|
|
21586
|
+
orderBy,
|
|
21587
|
+
search,
|
|
21588
|
+
adminApiParams
|
|
21589
|
+
}) => {
|
|
21590
|
+
const adminApi = await GetAdminAPI(adminApiParams);
|
|
21591
|
+
const { data } = await adminApi.get(`/threads/${threadId}/storage/images`, {
|
|
21592
|
+
params: {
|
|
21593
|
+
page: pageParam || void 0,
|
|
21594
|
+
pageSize: pageSize || void 0,
|
|
21595
|
+
orderBy: orderBy || void 0,
|
|
21596
|
+
search: search || void 0
|
|
21597
|
+
}
|
|
21598
|
+
});
|
|
21599
|
+
return data;
|
|
21600
|
+
};
|
|
21601
|
+
var useGetThreadStorageImages = (threadId, params = {}, options = {}) => {
|
|
21602
|
+
return useConnectedInfiniteQuery(
|
|
21603
|
+
THREAD_STORAGE_IMAGES_QUERY_KEY(threadId),
|
|
21604
|
+
(params2) => GetThreadStorageImages({ threadId, ...params2 }),
|
|
21605
|
+
params,
|
|
21606
|
+
{
|
|
21607
|
+
...options,
|
|
21608
|
+
enabled: !!threadId && (options?.enabled ?? true)
|
|
21609
|
+
}
|
|
21610
|
+
);
|
|
21611
|
+
};
|
|
21612
|
+
|
|
21613
|
+
// src/queries/threads/storage/useGetThreadStorageVideos.ts
|
|
21614
|
+
var THREAD_STORAGE_VIDEOS_QUERY_KEY = (threadId) => {
|
|
21615
|
+
return [...THREAD_QUERY_KEY(threadId), "STORAGE", "VIDEOS"];
|
|
21616
|
+
};
|
|
21617
|
+
var SET_THREAD_STORAGE_VIDEOS_QUERY_DATA = (client, keyParams, response, options) => {
|
|
21618
|
+
client.setQueryData(
|
|
21619
|
+
THREAD_STORAGE_VIDEOS_QUERY_KEY(...keyParams),
|
|
21620
|
+
response,
|
|
21621
|
+
options
|
|
21622
|
+
);
|
|
21623
|
+
};
|
|
21624
|
+
var GetThreadStorageVideos = async ({
|
|
21625
|
+
threadId,
|
|
21626
|
+
pageParam,
|
|
21627
|
+
pageSize,
|
|
21628
|
+
orderBy,
|
|
21629
|
+
search,
|
|
21630
|
+
adminApiParams
|
|
21631
|
+
}) => {
|
|
21632
|
+
const adminApi = await GetAdminAPI(adminApiParams);
|
|
21633
|
+
const { data } = await adminApi.get(`/threads/${threadId}/storage/videos`, {
|
|
21634
|
+
params: {
|
|
21635
|
+
page: pageParam || void 0,
|
|
21636
|
+
pageSize: pageSize || void 0,
|
|
21637
|
+
orderBy: orderBy || void 0,
|
|
21638
|
+
search: search || void 0
|
|
21639
|
+
}
|
|
21640
|
+
});
|
|
21641
|
+
return data;
|
|
21642
|
+
};
|
|
21643
|
+
var useGetThreadStorageVideos = (threadId, params = {}, options = {}) => {
|
|
21644
|
+
return useConnectedInfiniteQuery(
|
|
21645
|
+
THREAD_STORAGE_VIDEOS_QUERY_KEY(threadId),
|
|
21646
|
+
(params2) => GetThreadStorageVideos({ threadId, ...params2 }),
|
|
21647
|
+
params,
|
|
21648
|
+
{
|
|
21649
|
+
...options,
|
|
21650
|
+
enabled: !!threadId && (options?.enabled ?? true)
|
|
21651
|
+
}
|
|
21652
|
+
);
|
|
21653
|
+
};
|
|
21654
|
+
|
|
21529
21655
|
// src/queries/tiers/useGetTiers.ts
|
|
21530
21656
|
var TIERS_QUERY_KEY = (type) => {
|
|
21531
21657
|
const keys = ["TIERS"];
|
|
@@ -24612,15 +24738,18 @@ var useAddEventActivationSession = (options = {}) => {
|
|
|
24612
24738
|
return useConnectedMutation(AddEventActivationSession, options);
|
|
24613
24739
|
};
|
|
24614
24740
|
|
|
24615
|
-
// src/mutations/events/activations/sessions/
|
|
24616
|
-
var
|
|
24741
|
+
// src/mutations/events/activations/sessions/useRemoveEventActivationSession.ts
|
|
24742
|
+
var RemoveEventActivationSession = async ({
|
|
24617
24743
|
eventId,
|
|
24618
24744
|
activationId,
|
|
24745
|
+
sessionId,
|
|
24619
24746
|
adminApiParams,
|
|
24620
24747
|
queryClient
|
|
24621
24748
|
}) => {
|
|
24622
24749
|
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24623
|
-
const { data } = await connectedXM.delete(
|
|
24750
|
+
const { data } = await connectedXM.delete(
|
|
24751
|
+
`/events/${eventId}/activations/${activationId}/sessions/${sessionId}`
|
|
24752
|
+
);
|
|
24624
24753
|
if (queryClient && data.status === "ok") {
|
|
24625
24754
|
queryClient.invalidateQueries({
|
|
24626
24755
|
queryKey: EVENT_ACTIVATION_SESSIONS_QUERY_KEY(eventId, activationId)
|
|
@@ -24629,22 +24758,19 @@ var RemoveEventActivationSessions = async ({
|
|
|
24629
24758
|
}
|
|
24630
24759
|
return data;
|
|
24631
24760
|
};
|
|
24632
|
-
var
|
|
24633
|
-
return useConnectedMutation(
|
|
24761
|
+
var useRemoveEventActivationSession = (options = {}) => {
|
|
24762
|
+
return useConnectedMutation(RemoveEventActivationSession, options);
|
|
24634
24763
|
};
|
|
24635
24764
|
|
|
24636
|
-
// src/mutations/events/activations/sessions/
|
|
24637
|
-
var
|
|
24765
|
+
// src/mutations/events/activations/sessions/useRemoveEventActivationSessions.ts
|
|
24766
|
+
var RemoveEventActivationSessions = async ({
|
|
24638
24767
|
eventId,
|
|
24639
24768
|
activationId,
|
|
24640
|
-
sessionId,
|
|
24641
24769
|
adminApiParams,
|
|
24642
24770
|
queryClient
|
|
24643
24771
|
}) => {
|
|
24644
24772
|
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24645
|
-
const { data } = await connectedXM.delete(
|
|
24646
|
-
`/events/${eventId}/activations/${activationId}/sessions/${sessionId}`
|
|
24647
|
-
);
|
|
24773
|
+
const { data } = await connectedXM.delete(`/events/${eventId}/activations/${activationId}/sessions`);
|
|
24648
24774
|
if (queryClient && data.status === "ok") {
|
|
24649
24775
|
queryClient.invalidateQueries({
|
|
24650
24776
|
queryKey: EVENT_ACTIVATION_SESSIONS_QUERY_KEY(eventId, activationId)
|
|
@@ -24653,8 +24779,8 @@ var RemoveEventActivationSession = async ({
|
|
|
24653
24779
|
}
|
|
24654
24780
|
return data;
|
|
24655
24781
|
};
|
|
24656
|
-
var
|
|
24657
|
-
return useConnectedMutation(
|
|
24782
|
+
var useRemoveEventActivationSessions = (options = {}) => {
|
|
24783
|
+
return useConnectedMutation(RemoveEventActivationSessions, options);
|
|
24658
24784
|
};
|
|
24659
24785
|
|
|
24660
24786
|
// src/mutations/events/activations/translations/useDeleteEventActivationTranslation.ts
|
|
@@ -40841,6 +40967,9 @@ export {
|
|
|
40841
40967
|
GetThreadMessageVideos,
|
|
40842
40968
|
GetThreadMessages,
|
|
40843
40969
|
GetThreadMessagesPoll,
|
|
40970
|
+
GetThreadStorageFiles,
|
|
40971
|
+
GetThreadStorageImages,
|
|
40972
|
+
GetThreadStorageVideos,
|
|
40844
40973
|
GetThreads,
|
|
40845
40974
|
GetTier,
|
|
40846
40975
|
GetTierAccounts,
|
|
@@ -41594,6 +41723,9 @@ export {
|
|
|
41594
41723
|
SET_THREAD_MESSAGE_REACTIONS_QUERY_DATA,
|
|
41595
41724
|
SET_THREAD_MESSAGE_VIDEOS_QUERY_DATA,
|
|
41596
41725
|
SET_THREAD_QUERY_DATA,
|
|
41726
|
+
SET_THREAD_STORAGE_FILES_QUERY_DATA,
|
|
41727
|
+
SET_THREAD_STORAGE_IMAGES_QUERY_DATA,
|
|
41728
|
+
SET_THREAD_STORAGE_VIDEOS_QUERY_DATA,
|
|
41597
41729
|
SET_TIERS_QUERY_DATA,
|
|
41598
41730
|
SET_TIER_ACCOUNTS_QUERY_DATA,
|
|
41599
41731
|
SET_TIER_IMPORT_QUERY_DATA,
|
|
@@ -41679,6 +41811,9 @@ export {
|
|
|
41679
41811
|
THREAD_MESSAGE_REACTIONS_QUERY_KEY,
|
|
41680
41812
|
THREAD_MESSAGE_VIDEOS_QUERY_KEY,
|
|
41681
41813
|
THREAD_QUERY_KEY,
|
|
41814
|
+
THREAD_STORAGE_FILES_QUERY_KEY,
|
|
41815
|
+
THREAD_STORAGE_IMAGES_QUERY_KEY,
|
|
41816
|
+
THREAD_STORAGE_VIDEOS_QUERY_KEY,
|
|
41682
41817
|
TIERS_QUERY_KEY,
|
|
41683
41818
|
TIER_ACCOUNTS_QUERY_KEY,
|
|
41684
41819
|
TIER_IMPORTS_QUERY_KEY,
|
|
@@ -42785,6 +42920,9 @@ export {
|
|
|
42785
42920
|
useGetThreadMessageVideos,
|
|
42786
42921
|
useGetThreadMessages,
|
|
42787
42922
|
useGetThreadMessagesPoll,
|
|
42923
|
+
useGetThreadStorageFiles,
|
|
42924
|
+
useGetThreadStorageImages,
|
|
42925
|
+
useGetThreadStorageVideos,
|
|
42788
42926
|
useGetThreads,
|
|
42789
42927
|
useGetTier,
|
|
42790
42928
|
useGetTierAccounts,
|
package/openapi.json
CHANGED
|
@@ -780,6 +780,10 @@
|
|
|
780
780
|
"name": "Threads::Messages::Videos",
|
|
781
781
|
"description": "Attach and manage videos within thread messages, sharing video content in conversation threads"
|
|
782
782
|
},
|
|
783
|
+
{
|
|
784
|
+
"name": "Threads::Storage",
|
|
785
|
+
"description": "List images, videos, and files shared across all messages in a thread, surfacing every attachment in one consolidated view"
|
|
786
|
+
},
|
|
783
787
|
{
|
|
784
788
|
"name": "Tiers",
|
|
785
789
|
"description": "Operations for managing membership tiers"
|
|
@@ -89068,7 +89072,7 @@
|
|
|
89068
89072
|
"data": {
|
|
89069
89073
|
"type": "array",
|
|
89070
89074
|
"items": {
|
|
89071
|
-
"$ref": "#/components/schemas/
|
|
89075
|
+
"$ref": "#/components/schemas/ThreadAccount"
|
|
89072
89076
|
}
|
|
89073
89077
|
},
|
|
89074
89078
|
"count": {
|
|
@@ -90426,6 +90430,309 @@
|
|
|
90426
90430
|
]
|
|
90427
90431
|
}
|
|
90428
90432
|
},
|
|
90433
|
+
"/threads/{threadId}/storage/files": {
|
|
90434
|
+
"get": {
|
|
90435
|
+
"operationId": "GetThreadStorageFiles",
|
|
90436
|
+
"summary": "Get Thread Storage Files",
|
|
90437
|
+
"description": "Get Thread Storage Files endpoint",
|
|
90438
|
+
"parameters": [
|
|
90439
|
+
{
|
|
90440
|
+
"in": "path",
|
|
90441
|
+
"name": "threadId",
|
|
90442
|
+
"schema": {
|
|
90443
|
+
"type": "string"
|
|
90444
|
+
},
|
|
90445
|
+
"description": "The thread identifier",
|
|
90446
|
+
"required": true
|
|
90447
|
+
},
|
|
90448
|
+
{
|
|
90449
|
+
"in": "query",
|
|
90450
|
+
"name": "page",
|
|
90451
|
+
"schema": {
|
|
90452
|
+
"type": "integer",
|
|
90453
|
+
"minimum": 1,
|
|
90454
|
+
"default": 1
|
|
90455
|
+
},
|
|
90456
|
+
"description": "Page number",
|
|
90457
|
+
"required": false
|
|
90458
|
+
},
|
|
90459
|
+
{
|
|
90460
|
+
"in": "query",
|
|
90461
|
+
"name": "pageSize",
|
|
90462
|
+
"schema": {
|
|
90463
|
+
"type": "integer",
|
|
90464
|
+
"minimum": 1,
|
|
90465
|
+
"maximum": 100,
|
|
90466
|
+
"default": 25
|
|
90467
|
+
},
|
|
90468
|
+
"description": "Number of items per page",
|
|
90469
|
+
"required": false
|
|
90470
|
+
},
|
|
90471
|
+
{
|
|
90472
|
+
"in": "query",
|
|
90473
|
+
"name": "orderBy",
|
|
90474
|
+
"schema": {
|
|
90475
|
+
"type": "string"
|
|
90476
|
+
},
|
|
90477
|
+
"description": "Field to order by",
|
|
90478
|
+
"required": false
|
|
90479
|
+
},
|
|
90480
|
+
{
|
|
90481
|
+
"in": "query",
|
|
90482
|
+
"name": "search",
|
|
90483
|
+
"schema": {
|
|
90484
|
+
"type": "string"
|
|
90485
|
+
},
|
|
90486
|
+
"description": "Search query",
|
|
90487
|
+
"required": false
|
|
90488
|
+
}
|
|
90489
|
+
],
|
|
90490
|
+
"responses": {
|
|
90491
|
+
"200": {
|
|
90492
|
+
"description": "Successful response",
|
|
90493
|
+
"content": {
|
|
90494
|
+
"application/json": {
|
|
90495
|
+
"schema": {
|
|
90496
|
+
"type": "object",
|
|
90497
|
+
"properties": {
|
|
90498
|
+
"status": {
|
|
90499
|
+
"type": "string",
|
|
90500
|
+
"enum": [
|
|
90501
|
+
"ok"
|
|
90502
|
+
]
|
|
90503
|
+
},
|
|
90504
|
+
"message": {
|
|
90505
|
+
"type": "string",
|
|
90506
|
+
"example": "Success message."
|
|
90507
|
+
},
|
|
90508
|
+
"data": {
|
|
90509
|
+
"type": "array",
|
|
90510
|
+
"items": {
|
|
90511
|
+
"$ref": "#/components/schemas/File"
|
|
90512
|
+
}
|
|
90513
|
+
},
|
|
90514
|
+
"count": {
|
|
90515
|
+
"type": "integer",
|
|
90516
|
+
"example": 100
|
|
90517
|
+
}
|
|
90518
|
+
},
|
|
90519
|
+
"required": [
|
|
90520
|
+
"status",
|
|
90521
|
+
"message",
|
|
90522
|
+
"data"
|
|
90523
|
+
]
|
|
90524
|
+
}
|
|
90525
|
+
}
|
|
90526
|
+
}
|
|
90527
|
+
}
|
|
90528
|
+
},
|
|
90529
|
+
"tags": [
|
|
90530
|
+
"Threads::Storage"
|
|
90531
|
+
]
|
|
90532
|
+
}
|
|
90533
|
+
},
|
|
90534
|
+
"/threads/{threadId}/storage/images": {
|
|
90535
|
+
"get": {
|
|
90536
|
+
"operationId": "GetThreadStorageImages",
|
|
90537
|
+
"summary": "Get Thread Storage Images",
|
|
90538
|
+
"description": "Get Thread Storage Images endpoint",
|
|
90539
|
+
"parameters": [
|
|
90540
|
+
{
|
|
90541
|
+
"in": "path",
|
|
90542
|
+
"name": "threadId",
|
|
90543
|
+
"schema": {
|
|
90544
|
+
"type": "string"
|
|
90545
|
+
},
|
|
90546
|
+
"description": "The thread identifier",
|
|
90547
|
+
"required": true
|
|
90548
|
+
},
|
|
90549
|
+
{
|
|
90550
|
+
"in": "query",
|
|
90551
|
+
"name": "page",
|
|
90552
|
+
"schema": {
|
|
90553
|
+
"type": "integer",
|
|
90554
|
+
"minimum": 1,
|
|
90555
|
+
"default": 1
|
|
90556
|
+
},
|
|
90557
|
+
"description": "Page number",
|
|
90558
|
+
"required": false
|
|
90559
|
+
},
|
|
90560
|
+
{
|
|
90561
|
+
"in": "query",
|
|
90562
|
+
"name": "pageSize",
|
|
90563
|
+
"schema": {
|
|
90564
|
+
"type": "integer",
|
|
90565
|
+
"minimum": 1,
|
|
90566
|
+
"maximum": 100,
|
|
90567
|
+
"default": 25
|
|
90568
|
+
},
|
|
90569
|
+
"description": "Number of items per page",
|
|
90570
|
+
"required": false
|
|
90571
|
+
},
|
|
90572
|
+
{
|
|
90573
|
+
"in": "query",
|
|
90574
|
+
"name": "orderBy",
|
|
90575
|
+
"schema": {
|
|
90576
|
+
"type": "string"
|
|
90577
|
+
},
|
|
90578
|
+
"description": "Field to order by",
|
|
90579
|
+
"required": false
|
|
90580
|
+
},
|
|
90581
|
+
{
|
|
90582
|
+
"in": "query",
|
|
90583
|
+
"name": "search",
|
|
90584
|
+
"schema": {
|
|
90585
|
+
"type": "string"
|
|
90586
|
+
},
|
|
90587
|
+
"description": "Search query",
|
|
90588
|
+
"required": false
|
|
90589
|
+
}
|
|
90590
|
+
],
|
|
90591
|
+
"responses": {
|
|
90592
|
+
"200": {
|
|
90593
|
+
"description": "Successful response",
|
|
90594
|
+
"content": {
|
|
90595
|
+
"application/json": {
|
|
90596
|
+
"schema": {
|
|
90597
|
+
"type": "object",
|
|
90598
|
+
"properties": {
|
|
90599
|
+
"status": {
|
|
90600
|
+
"type": "string",
|
|
90601
|
+
"enum": [
|
|
90602
|
+
"ok"
|
|
90603
|
+
]
|
|
90604
|
+
},
|
|
90605
|
+
"message": {
|
|
90606
|
+
"type": "string",
|
|
90607
|
+
"example": "Success message."
|
|
90608
|
+
},
|
|
90609
|
+
"data": {
|
|
90610
|
+
"type": "array",
|
|
90611
|
+
"items": {
|
|
90612
|
+
"$ref": "#/components/schemas/Image"
|
|
90613
|
+
}
|
|
90614
|
+
},
|
|
90615
|
+
"count": {
|
|
90616
|
+
"type": "integer",
|
|
90617
|
+
"example": 100
|
|
90618
|
+
}
|
|
90619
|
+
},
|
|
90620
|
+
"required": [
|
|
90621
|
+
"status",
|
|
90622
|
+
"message",
|
|
90623
|
+
"data"
|
|
90624
|
+
]
|
|
90625
|
+
}
|
|
90626
|
+
}
|
|
90627
|
+
}
|
|
90628
|
+
}
|
|
90629
|
+
},
|
|
90630
|
+
"tags": [
|
|
90631
|
+
"Threads::Storage"
|
|
90632
|
+
]
|
|
90633
|
+
}
|
|
90634
|
+
},
|
|
90635
|
+
"/threads/{threadId}/storage/videos": {
|
|
90636
|
+
"get": {
|
|
90637
|
+
"operationId": "GetThreadStorageVideos",
|
|
90638
|
+
"summary": "Get Thread Storage Videos",
|
|
90639
|
+
"description": "Get Thread Storage Videos endpoint",
|
|
90640
|
+
"parameters": [
|
|
90641
|
+
{
|
|
90642
|
+
"in": "path",
|
|
90643
|
+
"name": "threadId",
|
|
90644
|
+
"schema": {
|
|
90645
|
+
"type": "string"
|
|
90646
|
+
},
|
|
90647
|
+
"description": "The thread identifier",
|
|
90648
|
+
"required": true
|
|
90649
|
+
},
|
|
90650
|
+
{
|
|
90651
|
+
"in": "query",
|
|
90652
|
+
"name": "page",
|
|
90653
|
+
"schema": {
|
|
90654
|
+
"type": "integer",
|
|
90655
|
+
"minimum": 1,
|
|
90656
|
+
"default": 1
|
|
90657
|
+
},
|
|
90658
|
+
"description": "Page number",
|
|
90659
|
+
"required": false
|
|
90660
|
+
},
|
|
90661
|
+
{
|
|
90662
|
+
"in": "query",
|
|
90663
|
+
"name": "pageSize",
|
|
90664
|
+
"schema": {
|
|
90665
|
+
"type": "integer",
|
|
90666
|
+
"minimum": 1,
|
|
90667
|
+
"maximum": 100,
|
|
90668
|
+
"default": 25
|
|
90669
|
+
},
|
|
90670
|
+
"description": "Number of items per page",
|
|
90671
|
+
"required": false
|
|
90672
|
+
},
|
|
90673
|
+
{
|
|
90674
|
+
"in": "query",
|
|
90675
|
+
"name": "orderBy",
|
|
90676
|
+
"schema": {
|
|
90677
|
+
"type": "string"
|
|
90678
|
+
},
|
|
90679
|
+
"description": "Field to order by",
|
|
90680
|
+
"required": false
|
|
90681
|
+
},
|
|
90682
|
+
{
|
|
90683
|
+
"in": "query",
|
|
90684
|
+
"name": "search",
|
|
90685
|
+
"schema": {
|
|
90686
|
+
"type": "string"
|
|
90687
|
+
},
|
|
90688
|
+
"description": "Search query",
|
|
90689
|
+
"required": false
|
|
90690
|
+
}
|
|
90691
|
+
],
|
|
90692
|
+
"responses": {
|
|
90693
|
+
"200": {
|
|
90694
|
+
"description": "Successful response",
|
|
90695
|
+
"content": {
|
|
90696
|
+
"application/json": {
|
|
90697
|
+
"schema": {
|
|
90698
|
+
"type": "object",
|
|
90699
|
+
"properties": {
|
|
90700
|
+
"status": {
|
|
90701
|
+
"type": "string",
|
|
90702
|
+
"enum": [
|
|
90703
|
+
"ok"
|
|
90704
|
+
]
|
|
90705
|
+
},
|
|
90706
|
+
"message": {
|
|
90707
|
+
"type": "string",
|
|
90708
|
+
"example": "Success message."
|
|
90709
|
+
},
|
|
90710
|
+
"data": {
|
|
90711
|
+
"type": "array",
|
|
90712
|
+
"items": {
|
|
90713
|
+
"$ref": "#/components/schemas/Video"
|
|
90714
|
+
}
|
|
90715
|
+
},
|
|
90716
|
+
"count": {
|
|
90717
|
+
"type": "integer",
|
|
90718
|
+
"example": 100
|
|
90719
|
+
}
|
|
90720
|
+
},
|
|
90721
|
+
"required": [
|
|
90722
|
+
"status",
|
|
90723
|
+
"message",
|
|
90724
|
+
"data"
|
|
90725
|
+
]
|
|
90726
|
+
}
|
|
90727
|
+
}
|
|
90728
|
+
}
|
|
90729
|
+
}
|
|
90730
|
+
},
|
|
90731
|
+
"tags": [
|
|
90732
|
+
"Threads::Storage"
|
|
90733
|
+
]
|
|
90734
|
+
}
|
|
90735
|
+
},
|
|
90429
90736
|
"/tiers": {
|
|
90430
90737
|
"get": {
|
|
90431
90738
|
"operationId": "GetTiers",
|