@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,181 @@
1
+ # EventsInterestsApi
2
+
3
+ All URIs are relative to *https://admin-api.connected.dev*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**addEventInterest**](#addeventinterest) | **POST** /events/{eventId}/interests/{interestId} | Add an interest to an event|
8
+ |[**getEventInterests**](#geteventinterests) | **GET** /events/{eventId}/interests | List an event\'s interests|
9
+ |[**removeEventInterest**](#removeeventinterest) | **DELETE** /events/{eventId}/interests/{interestId} | Remove an interest from an event|
10
+
11
+ # **addEventInterest**
12
+ > CreateEvent200Response addEventInterest()
13
+
14
+ Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ EventsInterestsApi,
21
+ Configuration
22
+ } from '@connectedxm/admin-sdk';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new EventsInterestsApi(configuration);
26
+
27
+ let eventId: string; //The event identifier (default to undefined)
28
+ let interestId: string; //The interest identifier (default to undefined)
29
+
30
+ const { status, data } = await apiInstance.addEventInterest(
31
+ eventId,
32
+ interestId
33
+ );
34
+ ```
35
+
36
+ ### Parameters
37
+
38
+ |Name | Type | Description | Notes|
39
+ |------------- | ------------- | ------------- | -------------|
40
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
41
+ | **interestId** | [**string**] | The interest identifier | defaults to undefined|
42
+
43
+
44
+ ### Return type
45
+
46
+ **CreateEvent200Response**
47
+
48
+ ### Authorization
49
+
50
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
51
+
52
+ ### HTTP request headers
53
+
54
+ - **Content-Type**: Not defined
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
+ # **getEventInterests**
66
+ > GetAccountInterests200Response getEventInterests()
67
+
68
+ Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
69
+
70
+ ### Example
71
+
72
+ ```typescript
73
+ import {
74
+ EventsInterestsApi,
75
+ Configuration
76
+ } from '@connectedxm/admin-sdk';
77
+
78
+ const configuration = new Configuration();
79
+ const apiInstance = new EventsInterestsApi(configuration);
80
+
81
+ let eventId: string; //The event identifier (default to undefined)
82
+ let page: number; //Page number (optional) (default to 1)
83
+ let pageSize: number; //Number of items per page (optional) (default to 25)
84
+ let orderBy: string; //Field to order by (optional) (default to undefined)
85
+ let search: string; //Search query (optional) (default to undefined)
86
+
87
+ const { status, data } = await apiInstance.getEventInterests(
88
+ eventId,
89
+ page,
90
+ pageSize,
91
+ orderBy,
92
+ search
93
+ );
94
+ ```
95
+
96
+ ### Parameters
97
+
98
+ |Name | Type | Description | Notes|
99
+ |------------- | ------------- | ------------- | -------------|
100
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
101
+ | **page** | [**number**] | Page number | (optional) defaults to 1|
102
+ | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
103
+ | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
104
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
105
+
106
+
107
+ ### Return type
108
+
109
+ **GetAccountInterests200Response**
110
+
111
+ ### Authorization
112
+
113
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
114
+
115
+ ### HTTP request headers
116
+
117
+ - **Content-Type**: Not defined
118
+ - **Accept**: application/json
119
+
120
+
121
+ ### HTTP response details
122
+ | Status code | Description | Response headers |
123
+ |-------------|-------------|------------------|
124
+ |**200** | Successful response | - |
125
+
126
+ [[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)
127
+
128
+ # **removeEventInterest**
129
+ > CreateEvent200Response removeEventInterest()
130
+
131
+ Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
132
+
133
+ ### Example
134
+
135
+ ```typescript
136
+ import {
137
+ EventsInterestsApi,
138
+ Configuration
139
+ } from '@connectedxm/admin-sdk';
140
+
141
+ const configuration = new Configuration();
142
+ const apiInstance = new EventsInterestsApi(configuration);
143
+
144
+ let eventId: string; //The event identifier (default to undefined)
145
+ let interestId: string; //The interest identifier (default to undefined)
146
+
147
+ const { status, data } = await apiInstance.removeEventInterest(
148
+ eventId,
149
+ interestId
150
+ );
151
+ ```
152
+
153
+ ### Parameters
154
+
155
+ |Name | Type | Description | Notes|
156
+ |------------- | ------------- | ------------- | -------------|
157
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
158
+ | **interestId** | [**string**] | The interest identifier | defaults to undefined|
159
+
160
+
161
+ ### Return type
162
+
163
+ **CreateEvent200Response**
164
+
165
+ ### Authorization
166
+
167
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
168
+
169
+ ### HTTP request headers
170
+
171
+ - **Content-Type**: Not defined
172
+ - **Accept**: application/json
173
+
174
+
175
+ ### HTTP response details
176
+ | Status code | Description | Response headers |
177
+ |-------------|-------------|------------------|
178
+ |**200** | Successful response | - |
179
+
180
+ [[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)
181
+
@@ -0,0 +1,26 @@
1
+ # GetReplays200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **status** | **string** | | [default to undefined]
9
+ **message** | **string** | | [default to undefined]
10
+ **data** | [**Array<Replay>**](Replay.md) | | [default to undefined]
11
+ **count** | **number** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GetReplays200Response } from '@connectedxm/admin-sdk';
17
+
18
+ const instance: GetReplays200Response = {
19
+ status,
20
+ message,
21
+ data,
22
+ count,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -11,7 +11,7 @@ All URIs are relative to *https://admin-api.connected.dev*
11
11
  # **addGroupInterest**
12
12
  > CreateGroup200Response addGroupInterest()
13
13
 
14
- Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
14
+ Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
15
15
 
16
16
  ### Example
17
17
 
@@ -128,7 +128,7 @@ const { status, data } = await apiInstance.getGroupInterests(
128
128
  # **removeGroupInterest**
129
129
  > CreateGroup200Response removeGroupInterest()
130
130
 
131
- Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
131
+ Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
132
132
 
133
133
  ### Example
134
134
 
package/docs/Replay.md ADDED
@@ -0,0 +1,40 @@
1
+ # Replay
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **videoId** | **string** | | [default to undefined]
10
+ **sessionId** | **string** | | [default to undefined]
11
+ **eventId** | **string** | | [default to undefined]
12
+ **groupId** | **string** | | [default to undefined]
13
+ **session** | [**BaseReplaySession**](BaseReplaySession.md) | | [default to undefined]
14
+ **event** | [**VideoAllOfStream**](VideoAllOfStream.md) | | [default to undefined]
15
+ **group** | [**VideoAllOfStream**](VideoAllOfStream.md) | | [default to undefined]
16
+ **createdAt** | **string** | | [default to undefined]
17
+ **updatedAt** | **string** | | [default to undefined]
18
+ **video** | [**ReplayVideo**](ReplayVideo.md) | | [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { Replay } from '@connectedxm/admin-sdk';
24
+
25
+ const instance: Replay = {
26
+ id,
27
+ videoId,
28
+ sessionId,
29
+ eventId,
30
+ groupId,
31
+ session,
32
+ event,
33
+ group,
34
+ createdAt,
35
+ updatedAt,
36
+ video,
37
+ };
38
+ ```
39
+
40
+ [[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,26 @@
1
+ # ReplayCreateInputs
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **videoId** | **string** | | [default to undefined]
9
+ **sessionId** | **string** | | [optional] [default to undefined]
10
+ **eventId** | **string** | | [optional] [default to undefined]
11
+ **groupId** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { ReplayCreateInputs } from '@connectedxm/admin-sdk';
17
+
18
+ const instance: ReplayCreateInputs = {
19
+ videoId,
20
+ sessionId,
21
+ eventId,
22
+ groupId,
23
+ };
24
+ ```
25
+
26
+ [[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,24 @@
1
+ # ReplayUpdateInputs
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sessionId** | **string** | | [optional] [default to undefined]
9
+ **eventId** | **string** | | [optional] [default to undefined]
10
+ **groupId** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { ReplayUpdateInputs } from '@connectedxm/admin-sdk';
16
+
17
+ const instance: ReplayUpdateInputs = {
18
+ sessionId,
19
+ eventId,
20
+ groupId,
21
+ };
22
+ ```
23
+
24
+ [[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,50 @@
1
+ # ReplayVideo
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **name** | **string** | | [default to undefined]
10
+ **status** | **string** | | [default to undefined]
11
+ **source** | [**VideoSource**](VideoSource.md) | | [default to undefined]
12
+ **width** | **number** | | [default to undefined]
13
+ **height** | **number** | | [default to undefined]
14
+ **thumbnailUrl** | **string** | | [default to undefined]
15
+ **previewUrl** | **string** | | [default to undefined]
16
+ **readyToStream** | **boolean** | | [default to undefined]
17
+ **duration** | **number** | | [default to undefined]
18
+ **streamId** | **string** | | [default to undefined]
19
+ **streamSessionId** | **string** | | [default to undefined]
20
+ **createdAt** | **string** | | [default to undefined]
21
+ **hlsUrl** | **string** | | [default to undefined]
22
+ **stream** | [**VideoAllOfStream**](VideoAllOfStream.md) | | [default to undefined]
23
+ **streamSession** | [**VideoAllOfStreamSession**](VideoAllOfStreamSession.md) | | [default to undefined]
24
+
25
+ ## Example
26
+
27
+ ```typescript
28
+ import { ReplayVideo } from '@connectedxm/admin-sdk';
29
+
30
+ const instance: ReplayVideo = {
31
+ id,
32
+ name,
33
+ status,
34
+ source,
35
+ width,
36
+ height,
37
+ thumbnailUrl,
38
+ previewUrl,
39
+ readyToStream,
40
+ duration,
41
+ streamId,
42
+ streamSessionId,
43
+ createdAt,
44
+ hlsUrl,
45
+ stream,
46
+ streamSession,
47
+ };
48
+ ```
49
+
50
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -18,17 +18,21 @@ Name | Type | Description | Notes
18
18
  **webRTC** | **boolean** | | [default to undefined]
19
19
  **webRTCPlaybackUrl** | **string** | | [default to undefined]
20
20
  **dvrEnabled** | **boolean** | | [default to undefined]
21
+ **allowReplays** | **boolean** | | [default to undefined]
21
22
  **connected** | **boolean** | | [default to undefined]
22
23
  **event** | [**BaseEvent**](BaseEvent.md) | | [default to undefined]
23
24
  **session** | [**BaseEventSession**](BaseEventSession.md) | | [default to undefined]
24
25
  **group** | [**BaseGroup**](BaseGroup.md) | | [default to undefined]
25
26
  **meetingId** | **string** | | [default to undefined]
26
27
  **meeting** | [**BaseMeeting**](BaseMeeting.md) | | [default to undefined]
28
+ **activityId** | **string** | | [default to undefined]
29
+ **activity** | [**BaseActivity**](BaseActivity.md) | | [default to undefined]
27
30
  **streamInputId** | **string** | | [default to undefined]
28
31
  **streamInput** | [**BaseStreamInput**](BaseStreamInput.md) | | [default to undefined]
29
32
  **details** | [**StreamInputDetails**](StreamInputDetails.md) | | [optional] [default to undefined]
30
33
  **sortOrder** | **number** | | [default to undefined]
31
34
  **createdAt** | **string** | | [default to undefined]
35
+ **lastStreamSessionStartedAt** | **string** | | [optional] [default to undefined]
32
36
 
33
37
  ## Example
34
38
 
@@ -49,17 +53,21 @@ const instance: StreamInput = {
49
53
  webRTC,
50
54
  webRTCPlaybackUrl,
51
55
  dvrEnabled,
56
+ allowReplays,
52
57
  connected,
53
58
  event,
54
59
  session,
55
60
  group,
56
61
  meetingId,
57
62
  meeting,
63
+ activityId,
64
+ activity,
58
65
  streamInputId,
59
66
  streamInput,
60
67
  details,
61
68
  sortOrder,
62
69
  createdAt,
70
+ lastStreamSessionStartedAt,
63
71
  };
64
72
  ```
65
73
 
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
19
19
  **locale** | **string** | | [optional] [default to undefined]
20
20
  **webRTC** | **boolean** | | [optional] [default to undefined]
21
21
  **dvrEnabled** | **boolean** | | [optional] [default to undefined]
22
+ **allowReplays** | **boolean** | | [optional] [default to undefined]
22
23
 
23
24
  ## Example
24
25
 
@@ -40,6 +41,7 @@ const instance: StreamInputCreateInputs = {
40
41
  locale,
41
42
  webRTC,
42
43
  dvrEnabled,
44
+ allowReplays,
43
45
  };
44
46
  ```
45
47
 
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
19
19
  **locale** | **string** | | [optional] [default to undefined]
20
20
  **webRTC** | **boolean** | | [optional] [default to undefined]
21
21
  **dvrEnabled** | **boolean** | | [optional] [default to undefined]
22
+ **allowReplays** | **boolean** | | [optional] [default to undefined]
22
23
 
23
24
  ## Example
24
25
 
@@ -40,6 +41,7 @@ const instance: StreamInputUpdateInputs = {
40
41
  locale,
41
42
  webRTC,
42
43
  dvrEnabled,
44
+ allowReplays,
43
45
  };
44
46
  ```
45
47
 
@@ -169,7 +169,7 @@ const { status, data } = await apiInstance.getStreamInput(
169
169
  # **getStreamInputs**
170
170
  > GetStreamInputs200Response getStreamInputs()
171
171
 
172
- Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, and by free-text search; requires read permission on streams.
172
+ Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity (a meeting-only input counts as not attached), and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
173
173
 
174
174
  ### Example
175
175
 
@@ -186,6 +186,8 @@ let eventId: string; //Filter by eventId (optional) (default to undefined)
186
186
  let sessionId: string; //Filter by sessionId (optional) (default to undefined)
187
187
  let groupId: string; //Filter by groupId (optional) (default to undefined)
188
188
  let meetingId: string; //Filter by meetingId (optional) (default to undefined)
189
+ let connected: boolean; //Filter by connected (optional) (default to undefined)
190
+ let attached: boolean; //Filter by attached (optional) (default to undefined)
189
191
  let page: number; //Page number (optional) (default to 1)
190
192
  let pageSize: number; //Number of items per page (optional) (default to 25)
191
193
  let orderBy: string; //Field to order by (optional) (default to undefined)
@@ -196,6 +198,8 @@ const { status, data } = await apiInstance.getStreamInputs(
196
198
  sessionId,
197
199
  groupId,
198
200
  meetingId,
201
+ connected,
202
+ attached,
199
203
  page,
200
204
  pageSize,
201
205
  orderBy,
@@ -211,6 +215,8 @@ const { status, data } = await apiInstance.getStreamInputs(
211
215
  | **sessionId** | [**string**] | Filter by sessionId | (optional) defaults to undefined|
212
216
  | **groupId** | [**string**] | Filter by groupId | (optional) defaults to undefined|
213
217
  | **meetingId** | [**string**] | Filter by meetingId | (optional) defaults to undefined|
218
+ | **connected** | [**boolean**] | Filter by connected | (optional) defaults to undefined|
219
+ | **attached** | [**boolean**] | Filter by attached | (optional) defaults to undefined|
214
220
  | **page** | [**number**] | Page number | (optional) defaults to 1|
215
221
  | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
216
222
  | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|