@connectedxm/admin-sdk 16.1.0 → 16.3.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.
- package/.openapi-generator/FILES +3 -1
- package/README.md +2 -2
- package/api.ts +137 -11
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +85 -10
- package/dist/api.js +108 -28
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +85 -10
- package/dist/esm/api.js +86 -7
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/docs/BaseEventSponsorshipLevel.md +4 -0
- package/docs/EventSponsorship.md +4 -0
- package/docs/EventSponsorshipLevel.md +6 -0
- package/docs/EventSponsorshipLevelCreateInputs.md +4 -0
- package/docs/EventSponsorshipLevelUpdateInputs.md +4 -0
- package/docs/GetStreamSessionByIdReactions200Response.md +24 -0
- package/docs/SponsorshipProgressCheck.md +2 -0
- package/docs/SponsorshipStaffPassesProgress.md +26 -0
- package/docs/StreamSession.md +2 -2
- package/docs/StreamSessionChatMessage.md +2 -0
- package/docs/StreamSessionRecentReaction.md +22 -0
- package/docs/StreamsSessionsApi.md +55 -0
- package/package.json +1 -1
- package/docs/StreamReaction.md +0 -12
|
@@ -13,6 +13,7 @@ All URIs are relative to *https://admin-api.connected.dev*
|
|
|
13
13
|
|[**getStreamSession**](#getstreamsession) | **GET** /streams/{streamId}/sessions/{sessionId} | Get a single stream session|
|
|
14
14
|
|[**getStreamSessionById**](#getstreamsessionbyid) | **GET** /streams/sessions/{sessionId} | Get a stream session by id|
|
|
15
15
|
|[**getStreamSessionByIdChat**](#getstreamsessionbyidchat) | **GET** /streams/sessions/{sessionId}/chat | List a stream session\'s chat messages by session id|
|
|
16
|
+
|[**getStreamSessionByIdReactions**](#getstreamsessionbyidreactions) | **GET** /streams/sessions/{sessionId}/reactions | List a stream session\'s recent reactions by session id|
|
|
16
17
|
|[**getStreamSessionByIdSubscriptions**](#getstreamsessionbyidsubscriptions) | **GET** /streams/sessions/{sessionId}/subscriptions | List a stream session\'s viewer connections by session id|
|
|
17
18
|
|[**getStreamSessionChat**](#getstreamsessionchat) | **GET** /streams/{streamId}/sessions/{sessionId}/chat | List a stream session\'s chat messages|
|
|
18
19
|
|[**getStreamSessionSubscriptions**](#getstreamsessionsubscriptions) | **GET** /streams/{streamId}/sessions/{sessionId}/subscriptions | List a stream session\'s viewer connections|
|
|
@@ -509,6 +510,60 @@ const { status, data } = await apiInstance.getStreamSessionByIdChat(
|
|
|
509
510
|
- **Accept**: application/json
|
|
510
511
|
|
|
511
512
|
|
|
513
|
+
### HTTP response details
|
|
514
|
+
| Status code | Description | Response headers |
|
|
515
|
+
|-------------|-------------|------------------|
|
|
516
|
+
|**200** | Successful response | - |
|
|
517
|
+
|
|
518
|
+
[[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)
|
|
519
|
+
|
|
520
|
+
# **getStreamSessionByIdReactions**
|
|
521
|
+
> GetStreamSessionByIdReactions200Response getStreamSessionByIdReactions()
|
|
522
|
+
|
|
523
|
+
Returns the reaction counts each one-second tick sent viewers after since (ms), oldest first, from the last minute only; reactions are not kept beyond that. For animating reactions live; requires read permission on streams.
|
|
524
|
+
|
|
525
|
+
### Example
|
|
526
|
+
|
|
527
|
+
```typescript
|
|
528
|
+
import {
|
|
529
|
+
StreamsSessionsApi,
|
|
530
|
+
Configuration
|
|
531
|
+
} from '@connectedxm/admin-sdk';
|
|
532
|
+
|
|
533
|
+
const configuration = new Configuration();
|
|
534
|
+
const apiInstance = new StreamsSessionsApi(configuration);
|
|
535
|
+
|
|
536
|
+
let sessionId: string; //The session identifier (default to undefined)
|
|
537
|
+
let since: number; //Filter by since (default to undefined)
|
|
538
|
+
|
|
539
|
+
const { status, data } = await apiInstance.getStreamSessionByIdReactions(
|
|
540
|
+
sessionId,
|
|
541
|
+
since
|
|
542
|
+
);
|
|
543
|
+
```
|
|
544
|
+
|
|
545
|
+
### Parameters
|
|
546
|
+
|
|
547
|
+
|Name | Type | Description | Notes|
|
|
548
|
+
|------------- | ------------- | ------------- | -------------|
|
|
549
|
+
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
|
|
550
|
+
| **since** | [**number**] | Filter by since | defaults to undefined|
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
### Return type
|
|
554
|
+
|
|
555
|
+
**GetStreamSessionByIdReactions200Response**
|
|
556
|
+
|
|
557
|
+
### Authorization
|
|
558
|
+
|
|
559
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
560
|
+
|
|
561
|
+
### HTTP request headers
|
|
562
|
+
|
|
563
|
+
- **Content-Type**: Not defined
|
|
564
|
+
- **Accept**: application/json
|
|
565
|
+
|
|
566
|
+
|
|
512
567
|
### HTTP response details
|
|
513
568
|
| Status code | Description | Response headers |
|
|
514
569
|
|-------------|-------------|------------------|
|
package/package.json
CHANGED
package/docs/StreamReaction.md
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# StreamReaction
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Enum
|
|
5
|
-
|
|
6
|
-
* `Love` (value: `'love'`)
|
|
7
|
-
|
|
8
|
-
* `Applause` (value: `'applause'`)
|
|
9
|
-
|
|
10
|
-
* `Agree` (value: `'agree'`)
|
|
11
|
-
|
|
12
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|