@connectedxm/admin-sdk 16.13.0 → 16.15.0

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.
Files changed (53) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/AdminApi.ts +9 -0
  3. package/README.md +2 -2
  4. package/api.ts +1768 -54
  5. package/base.ts +1 -1
  6. package/common.ts +1 -1
  7. package/configuration.ts +1 -1
  8. package/dist/AdminApi.d.ts +4 -1
  9. package/dist/AdminApi.js +3 -0
  10. package/dist/api.d.ts +934 -15
  11. package/dist/api.js +1288 -47
  12. package/dist/base.d.ts +1 -1
  13. package/dist/base.js +1 -1
  14. package/dist/common.d.ts +1 -1
  15. package/dist/common.js +1 -1
  16. package/dist/configuration.d.ts +1 -1
  17. package/dist/configuration.js +1 -1
  18. package/dist/esm/AdminApi.d.ts +4 -1
  19. package/dist/esm/AdminApi.js +4 -1
  20. package/dist/esm/api.d.ts +934 -15
  21. package/dist/esm/api.js +1247 -18
  22. package/dist/esm/base.d.ts +1 -1
  23. package/dist/esm/base.js +1 -1
  24. package/dist/esm/common.d.ts +1 -1
  25. package/dist/esm/common.js +1 -1
  26. package/dist/esm/configuration.d.ts +1 -1
  27. package/dist/esm/configuration.js +1 -1
  28. package/docs/BaseReplay.md +38 -0
  29. package/docs/BaseReplaySession.md +24 -0
  30. package/docs/BaseStreamInput.md +2 -0
  31. package/docs/BaseVideo.md +4 -0
  32. package/docs/ChannelsInterestsApi.md +364 -0
  33. package/docs/CreateReplay200Response.md +24 -0
  34. package/docs/EventSession.md +4 -0
  35. package/docs/EventSessionAllOfCount.md +20 -0
  36. package/docs/EventSessionCreateInputs.md +2 -0
  37. package/docs/EventSessionUpdateInputs.md +2 -0
  38. package/docs/EventsInterestsApi.md +181 -0
  39. package/docs/GetReplays200Response.md +26 -0
  40. package/docs/GroupsInterestsApi.md +2 -2
  41. package/docs/Replay.md +40 -0
  42. package/docs/ReplayCreateInputs.md +26 -0
  43. package/docs/ReplayUpdateInputs.md +24 -0
  44. package/docs/ReplayVideo.md +50 -0
  45. package/docs/StreamInput.md +8 -0
  46. package/docs/StreamInputCreateInputs.md +2 -0
  47. package/docs/StreamInputUpdateInputs.md +2 -0
  48. package/docs/StreamsApi.md +7 -1
  49. package/docs/StreamsReplaysApi.md +293 -0
  50. package/docs/Video.md +10 -0
  51. package/docs/VideoAllOfStream.md +22 -0
  52. package/docs/VideoAllOfStreamSession.md +22 -0
  53. package/package.json +1 -1
@@ -0,0 +1,293 @@
1
+ # StreamsReplaysApi
2
+
3
+ All URIs are relative to *https://admin-api.connected.dev*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createReplay**](#createreplay) | **POST** /replays | Add a video as a replay|
8
+ |[**deleteReplay**](#deletereplay) | **DELETE** /replays/{replayId} | Remove a replay|
9
+ |[**getReplay**](#getreplay) | **GET** /replays/{replayId} | Get a replay|
10
+ |[**getReplays**](#getreplays) | **GET** /replays | List replays|
11
+ |[**updateReplay**](#updatereplay) | **PUT** /replays/{replayId} | Move a replay|
12
+
13
+ # **createReplay**
14
+ > CreateReplay200Response createReplay(replayCreateInputs)
15
+
16
+ Attaches a video from storage as a replay to exactly one session, event or group; a video can be a replay on several targets, but only once on each (a repeat returns 400 \"Replay already exists\"). Requires create permission on streams.
17
+
18
+ ### Example
19
+
20
+ ```typescript
21
+ import {
22
+ StreamsReplaysApi,
23
+ Configuration,
24
+ ReplayCreateInputs
25
+ } from '@connectedxm/admin-sdk';
26
+
27
+ const configuration = new Configuration();
28
+ const apiInstance = new StreamsReplaysApi(configuration);
29
+
30
+ let replayCreateInputs: ReplayCreateInputs; //
31
+
32
+ const { status, data } = await apiInstance.createReplay(
33
+ replayCreateInputs
34
+ );
35
+ ```
36
+
37
+ ### Parameters
38
+
39
+ |Name | Type | Description | Notes|
40
+ |------------- | ------------- | ------------- | -------------|
41
+ | **replayCreateInputs** | **ReplayCreateInputs**| | |
42
+
43
+
44
+ ### Return type
45
+
46
+ **CreateReplay200Response**
47
+
48
+ ### Authorization
49
+
50
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
51
+
52
+ ### HTTP request headers
53
+
54
+ - **Content-Type**: application/json
55
+ - **Accept**: application/json
56
+
57
+
58
+ ### HTTP response details
59
+ | Status code | Description | Response headers |
60
+ |-------------|-------------|------------------|
61
+ |**200** | Successful response | - |
62
+
63
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
64
+
65
+ # **deleteReplay**
66
+ > CreateAccountInvitations200Response deleteReplay()
67
+
68
+ Detaches a replay from its session, event or group; the video stays in storage. Requires delete permission on streams.
69
+
70
+ ### Example
71
+
72
+ ```typescript
73
+ import {
74
+ StreamsReplaysApi,
75
+ Configuration
76
+ } from '@connectedxm/admin-sdk';
77
+
78
+ const configuration = new Configuration();
79
+ const apiInstance = new StreamsReplaysApi(configuration);
80
+
81
+ let replayId: string; //The replay identifier (default to undefined)
82
+
83
+ const { status, data } = await apiInstance.deleteReplay(
84
+ replayId
85
+ );
86
+ ```
87
+
88
+ ### Parameters
89
+
90
+ |Name | Type | Description | Notes|
91
+ |------------- | ------------- | ------------- | -------------|
92
+ | **replayId** | [**string**] | The replay identifier | defaults to undefined|
93
+
94
+
95
+ ### Return type
96
+
97
+ **CreateAccountInvitations200Response**
98
+
99
+ ### Authorization
100
+
101
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
102
+
103
+ ### HTTP request headers
104
+
105
+ - **Content-Type**: Not defined
106
+ - **Accept**: application/json
107
+
108
+
109
+ ### HTTP response details
110
+ | Status code | Description | Response headers |
111
+ |-------------|-------------|------------------|
112
+ |**200** | Successful response | - |
113
+
114
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
115
+
116
+ # **getReplay**
117
+ > CreateReplay200Response getReplay()
118
+
119
+ Returns a single replay with its video and the name of the session, event or group it is attached to; requires read permission on streams.
120
+
121
+ ### Example
122
+
123
+ ```typescript
124
+ import {
125
+ StreamsReplaysApi,
126
+ Configuration
127
+ } from '@connectedxm/admin-sdk';
128
+
129
+ const configuration = new Configuration();
130
+ const apiInstance = new StreamsReplaysApi(configuration);
131
+
132
+ let replayId: string; //The replay identifier (default to undefined)
133
+
134
+ const { status, data } = await apiInstance.getReplay(
135
+ replayId
136
+ );
137
+ ```
138
+
139
+ ### Parameters
140
+
141
+ |Name | Type | Description | Notes|
142
+ |------------- | ------------- | ------------- | -------------|
143
+ | **replayId** | [**string**] | The replay identifier | defaults to undefined|
144
+
145
+
146
+ ### Return type
147
+
148
+ **CreateReplay200Response**
149
+
150
+ ### Authorization
151
+
152
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
153
+
154
+ ### HTTP request headers
155
+
156
+ - **Content-Type**: Not defined
157
+ - **Accept**: application/json
158
+
159
+
160
+ ### HTTP response details
161
+ | Status code | Description | Response headers |
162
+ |-------------|-------------|------------------|
163
+ |**200** | Successful response | - |
164
+
165
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
166
+
167
+ # **getReplays**
168
+ > GetReplays200Response getReplays()
169
+
170
+ Returns a paginated list of the organization\'s replays, newest first, each with its video and the name of the session, event or group it is attached to, filterable by session, event, group or video; requires read permission on streams.
171
+
172
+ ### Example
173
+
174
+ ```typescript
175
+ import {
176
+ StreamsReplaysApi,
177
+ Configuration
178
+ } from '@connectedxm/admin-sdk';
179
+
180
+ const configuration = new Configuration();
181
+ const apiInstance = new StreamsReplaysApi(configuration);
182
+
183
+ let sessionId: string; //Filter by sessionId (optional) (default to undefined)
184
+ let eventId: string; //Filter by eventId (optional) (default to undefined)
185
+ let groupId: string; //Filter by groupId (optional) (default to undefined)
186
+ let videoId: string; //Filter by videoId (optional) (default to undefined)
187
+ let page: number; //Page number (optional) (default to 1)
188
+ let pageSize: number; //Number of items per page (optional) (default to 25)
189
+ let orderBy: string; //Field to order by (optional) (default to undefined)
190
+ let search: string; //Search query (optional) (default to undefined)
191
+
192
+ const { status, data } = await apiInstance.getReplays(
193
+ sessionId,
194
+ eventId,
195
+ groupId,
196
+ videoId,
197
+ page,
198
+ pageSize,
199
+ orderBy,
200
+ search
201
+ );
202
+ ```
203
+
204
+ ### Parameters
205
+
206
+ |Name | Type | Description | Notes|
207
+ |------------- | ------------- | ------------- | -------------|
208
+ | **sessionId** | [**string**] | Filter by sessionId | (optional) defaults to undefined|
209
+ | **eventId** | [**string**] | Filter by eventId | (optional) defaults to undefined|
210
+ | **groupId** | [**string**] | Filter by groupId | (optional) defaults to undefined|
211
+ | **videoId** | [**string**] | Filter by videoId | (optional) defaults to undefined|
212
+ | **page** | [**number**] | Page number | (optional) defaults to 1|
213
+ | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
214
+ | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
215
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
216
+
217
+
218
+ ### Return type
219
+
220
+ **GetReplays200Response**
221
+
222
+ ### Authorization
223
+
224
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
225
+
226
+ ### HTTP request headers
227
+
228
+ - **Content-Type**: Not defined
229
+ - **Accept**: application/json
230
+
231
+
232
+ ### HTTP response details
233
+ | Status code | Description | Response headers |
234
+ |-------------|-------------|------------------|
235
+ |**200** | Successful response | - |
236
+
237
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
238
+
239
+ # **updateReplay**
240
+ > CreateReplay200Response updateReplay(replayUpdateInputs)
241
+
242
+ Moves a replay to exactly one other session, event or group in the organization; the video itself is unchanged. Requires update permission on streams.
243
+
244
+ ### Example
245
+
246
+ ```typescript
247
+ import {
248
+ StreamsReplaysApi,
249
+ Configuration,
250
+ ReplayUpdateInputs
251
+ } from '@connectedxm/admin-sdk';
252
+
253
+ const configuration = new Configuration();
254
+ const apiInstance = new StreamsReplaysApi(configuration);
255
+
256
+ let replayId: string; //The replay identifier (default to undefined)
257
+ let replayUpdateInputs: ReplayUpdateInputs; //
258
+
259
+ const { status, data } = await apiInstance.updateReplay(
260
+ replayId,
261
+ replayUpdateInputs
262
+ );
263
+ ```
264
+
265
+ ### Parameters
266
+
267
+ |Name | Type | Description | Notes|
268
+ |------------- | ------------- | ------------- | -------------|
269
+ | **replayUpdateInputs** | **ReplayUpdateInputs**| | |
270
+ | **replayId** | [**string**] | The replay identifier | defaults to undefined|
271
+
272
+
273
+ ### Return type
274
+
275
+ **CreateReplay200Response**
276
+
277
+ ### Authorization
278
+
279
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
280
+
281
+ ### HTTP request headers
282
+
283
+ - **Content-Type**: application/json
284
+ - **Accept**: application/json
285
+
286
+
287
+ ### HTTP response details
288
+ | Status code | Description | Response headers |
289
+ |-------------|-------------|------------------|
290
+ |**200** | Successful response | - |
291
+
292
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
293
+
package/docs/Video.md CHANGED
@@ -15,11 +15,16 @@ Name | Type | Description | Notes
15
15
  **previewUrl** | **string** | | [default to undefined]
16
16
  **readyToStream** | **boolean** | | [default to undefined]
17
17
  **duration** | **number** | | [default to undefined]
18
+ **streamId** | **string** | | [default to undefined]
19
+ **streamSessionId** | **string** | | [default to undefined]
18
20
  **createdAt** | **string** | | [default to undefined]
19
21
  **downloadUrl** | **string** | | [default to undefined]
20
22
  **hlsUrl** | **string** | | [default to undefined]
21
23
  **dashUrl** | **string** | | [default to undefined]
22
24
  **thumbnailPct** | **number** | | [default to undefined]
25
+ **stream** | [**VideoAllOfStream**](VideoAllOfStream.md) | | [default to undefined]
26
+ **streamSession** | [**VideoAllOfStreamSession**](VideoAllOfStreamSession.md) | | [default to undefined]
27
+ **replays** | [**Array<BaseReplay>**](BaseReplay.md) | | [default to undefined]
23
28
 
24
29
  ## Example
25
30
 
@@ -37,11 +42,16 @@ const instance: Video = {
37
42
  previewUrl,
38
43
  readyToStream,
39
44
  duration,
45
+ streamId,
46
+ streamSessionId,
40
47
  createdAt,
41
48
  downloadUrl,
42
49
  hlsUrl,
43
50
  dashUrl,
44
51
  thumbnailPct,
52
+ stream,
53
+ streamSession,
54
+ replays,
45
55
  };
46
56
  ```
47
57
 
@@ -0,0 +1,22 @@
1
+ # VideoAllOfStream
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **name** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { VideoAllOfStream } from '@connectedxm/admin-sdk';
15
+
16
+ const instance: VideoAllOfStream = {
17
+ id,
18
+ name,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # VideoAllOfStreamSession
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **startedAt** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { VideoAllOfStreamSession } from '@connectedxm/admin-sdk';
15
+
16
+ const instance: VideoAllOfStreamSession = {
17
+ id,
18
+ startedAt,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "16.13.0",
3
+ "version": "16.15.0",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {