@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.
@@ -1129,6 +1129,7 @@ docs/GetStreamInputOutputs200Response.md
1129
1129
  docs/GetStreamInputs200Response.md
1130
1130
  docs/GetStreamSessionById200Response.md
1131
1131
  docs/GetStreamSessionByIdChat200Response.md
1132
+ docs/GetStreamSessionByIdReactions200Response.md
1132
1133
  docs/GetStreamSessionByIdSubscriptions200Response.md
1133
1134
  docs/GetStreamSessionViewers200Response.md
1134
1135
  docs/GetStreamVideos200Response.md
@@ -1549,6 +1550,7 @@ docs/SponsorshipBrandingProgress.md
1549
1550
  docs/SponsorshipLevelTranslation.md
1550
1551
  docs/SponsorshipProgress.md
1551
1552
  docs/SponsorshipProgressCheck.md
1553
+ docs/SponsorshipStaffPassesProgress.md
1552
1554
  docs/SponsorshipSurveyProgress.md
1553
1555
  docs/StandardReport.md
1554
1556
  docs/StandardReportAllOfNextCursor.md
@@ -1570,10 +1572,10 @@ docs/StreamInputOutputCreateInputs.md
1570
1572
  docs/StreamInputOutputUpdateInputs.md
1571
1573
  docs/StreamInputUpdateInputs.md
1572
1574
  docs/StreamOutputCreateInputs.md
1573
- docs/StreamReaction.md
1574
1575
  docs/StreamSession.md
1575
1576
  docs/StreamSessionChatMessage.md
1576
1577
  docs/StreamSessionChatMessageCreateInputs.md
1578
+ docs/StreamSessionRecentReaction.md
1577
1579
  docs/StreamSessionStatus.md
1578
1580
  docs/StreamSessionSubscription.md
1579
1581
  docs/StreamSessionUpdateInputs.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @connectedxm/admin-sdk@16.1.0
1
+ ## @connectedxm/admin-sdk@16.3.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @connectedxm/admin-sdk@16.1.0 --save
39
+ npm install @connectedxm/admin-sdk@16.3.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Connected Admin API
5
5
  * The Admin API allows you to manage your Connected community programmatically.
6
6
  *
7
- * The version of the OpenAPI document: 16.1.0
7
+ * The version of the OpenAPI document: 16.3.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2148,6 +2148,8 @@ export interface BaseEventSponsorshipLevel {
2148
2148
  'postAllowance': number;
2149
2149
  'postWindowStart': string | null;
2150
2150
  'postWindowEnd': string | null;
2151
+ 'staffPassAllowance': number;
2152
+ 'staffPassTypeId': string | null;
2151
2153
  }
2152
2154
  export interface BaseEventTrack {
2153
2155
  'id': string;
@@ -7334,6 +7336,8 @@ export interface EventSponsorship {
7334
7336
  'url': string | null;
7335
7337
  'account': BaseAccount | null;
7336
7338
  'image': BaseImage | null;
7339
+ 'staffCouponId': string | null;
7340
+ 'staffCoupon': BaseCoupon | null;
7337
7341
  'createdAt': string;
7338
7342
  'updatedAt': string;
7339
7343
  }
@@ -7359,6 +7363,9 @@ export interface EventSponsorshipLevel {
7359
7363
  'postAllowance': number;
7360
7364
  'postWindowStart': string | null;
7361
7365
  'postWindowEnd': string | null;
7366
+ 'staffPassAllowance': number;
7367
+ 'staffPassTypeId': string | null;
7368
+ 'staffPassType': BaseEventPassType | null;
7362
7369
  'sortOrder': number;
7363
7370
  'sponsors': Array<BaseEventSponsorship>;
7364
7371
  'createdAt': string;
@@ -7377,6 +7384,8 @@ export interface EventSponsorshipLevelCreateInputs {
7377
7384
  'postAllowance'?: number;
7378
7385
  'postWindowStart'?: string | null;
7379
7386
  'postWindowEnd'?: string | null;
7387
+ 'staffPassAllowance'?: number;
7388
+ 'staffPassTypeId'?: string | null;
7380
7389
  }
7381
7390
  export interface EventSponsorshipLevelSurvey {
7382
7391
  'id': string;
@@ -7416,6 +7425,8 @@ export interface EventSponsorshipLevelUpdateInputs {
7416
7425
  'postAllowance'?: number;
7417
7426
  'postWindowStart'?: string | null;
7418
7427
  'postWindowEnd'?: string | null;
7428
+ 'staffPassAllowance'?: number;
7429
+ 'staffPassTypeId'?: string | null;
7419
7430
  }
7420
7431
  export interface EventSponsorshipProgress {
7421
7432
  'id': string;
@@ -10976,6 +10987,16 @@ export enum GetStreamSessionByIdChat200ResponseStatusEnum {
10976
10987
  Ok = 'ok'
10977
10988
  }
10978
10989
 
10990
+ export interface GetStreamSessionByIdReactions200Response {
10991
+ 'status': GetStreamSessionByIdReactions200ResponseStatusEnum;
10992
+ 'message': string;
10993
+ 'data': Array<StreamSessionRecentReaction>;
10994
+ }
10995
+
10996
+ export enum GetStreamSessionByIdReactions200ResponseStatusEnum {
10997
+ Ok = 'ok'
10998
+ }
10999
+
10979
11000
  export interface GetStreamSessionByIdSubscriptions200Response {
10980
11001
  'status': GetStreamSessionByIdSubscriptions200ResponseStatusEnum;
10981
11002
  'message': string;
@@ -15019,7 +15040,18 @@ export interface SponsorshipProgress {
15019
15040
  /**
15020
15041
  * @type SponsorshipProgressCheck
15021
15042
  */
15022
- export type SponsorshipProgressCheck = SponsorshipAdvertisementProgress | SponsorshipBenefitProgress | SponsorshipBrandingProgress | SponsorshipSurveyProgress;
15043
+ export type SponsorshipProgressCheck = SponsorshipAdvertisementProgress | SponsorshipBenefitProgress | SponsorshipBrandingProgress | SponsorshipStaffPassesProgress | SponsorshipSurveyProgress;
15044
+
15045
+ export interface SponsorshipStaffPassesProgress {
15046
+ 'type': SponsorshipStaffPassesProgressTypeEnum;
15047
+ 'complete': boolean;
15048
+ 'used': number;
15049
+ 'allowance': number;
15050
+ }
15051
+
15052
+ export enum SponsorshipStaffPassesProgressTypeEnum {
15053
+ StaffPasses = 'staffPasses'
15054
+ }
15023
15055
 
15024
15056
  export interface SponsorshipSurveyProgress {
15025
15057
  'type': SponsorshipSurveyProgressTypeEnum;
@@ -15198,14 +15230,6 @@ export interface StreamOutputCreateInputs {
15198
15230
  'streamKey': string;
15199
15231
  'url': string;
15200
15232
  }
15201
-
15202
- export enum StreamReaction {
15203
- Love = 'love',
15204
- Applause = 'applause',
15205
- Agree = 'agree'
15206
- }
15207
-
15208
-
15209
15233
  export interface StreamSession {
15210
15234
  'id': string;
15211
15235
  'organizationId': string;
@@ -15225,7 +15249,7 @@ export interface StreamSession {
15225
15249
  'event': BaseEvent | null;
15226
15250
  'eventSession': BaseEventSession | null;
15227
15251
  'organization': BaseOrganization;
15228
- 'reactions'?: { [key: string]: any; };
15252
+ 'watching'?: number | null;
15229
15253
  }
15230
15254
 
15231
15255
 
@@ -15241,6 +15265,7 @@ export interface StreamSessionChatMessage {
15241
15265
  'videoTime': number | null;
15242
15266
  'videoId': string | null;
15243
15267
  'role': StreamSessionChatMessageRoleEnum | null;
15268
+ 'imageUri': string | null;
15244
15269
  }
15245
15270
 
15246
15271
  export enum StreamSessionChatMessageRoleEnum {
@@ -15252,6 +15277,10 @@ export interface StreamSessionChatMessageCreateInputs {
15252
15277
  'message': string;
15253
15278
  'name'?: string;
15254
15279
  }
15280
+ export interface StreamSessionRecentReaction {
15281
+ 'at': number;
15282
+ 'reactions': { [key: string]: any; };
15283
+ }
15255
15284
 
15256
15285
  export enum StreamSessionStatus {
15257
15286
  Active = 'ACTIVE',
@@ -152899,6 +152928,53 @@ export const StreamsSessionsApiAxiosParamCreator = function (configuration?: Con
152899
152928
  options: localVarRequestOptions,
152900
152929
  };
152901
152930
  },
152931
+ /**
152932
+ * 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.
152933
+ * @summary List a stream session\'s recent reactions by session id
152934
+ * @param {string} sessionId The session identifier
152935
+ * @param {number} since Filter by since
152936
+ * @param {*} [options] Override http request option.
152937
+ * @throws {RequiredError}
152938
+ */
152939
+ getStreamSessionByIdReactions: async (sessionId: string, since: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
152940
+ // verify required parameter 'sessionId' is not null or undefined
152941
+ assertParamExists('getStreamSessionByIdReactions', 'sessionId', sessionId)
152942
+ // verify required parameter 'since' is not null or undefined
152943
+ assertParamExists('getStreamSessionByIdReactions', 'since', since)
152944
+ const localVarPath = `/streams/sessions/{sessionId}/reactions`
152945
+ .replace('{sessionId}', encodeURIComponent(String(sessionId)));
152946
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
152947
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
152948
+ let baseOptions;
152949
+ if (configuration) {
152950
+ baseOptions = configuration.baseOptions;
152951
+ }
152952
+
152953
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
152954
+ const localVarHeaderParameter = {} as any;
152955
+ const localVarQueryParameter = {} as any;
152956
+
152957
+ // authentication ApiKeyAuth required
152958
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
152959
+
152960
+ // authentication OrganizationId required
152961
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
152962
+
152963
+ if (since !== undefined) {
152964
+ localVarQueryParameter['since'] = since;
152965
+ }
152966
+
152967
+ localVarHeaderParameter['Accept'] = 'application/json';
152968
+
152969
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
152970
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
152971
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
152972
+
152973
+ return {
152974
+ url: toPathString(localVarUrlObj),
152975
+ options: localVarRequestOptions,
152976
+ };
152977
+ },
152902
152978
  /**
152903
152979
  * Returns a paginated list of viewer WebSocket subscriptions for the given stream session, whether or not its stream input still exists, optionally filtered to only active (not yet disconnected) subscriptions, and searchable by the account\'s name, username, email, internal ref or id; requires read permission on streams.
152904
152980
  * @summary List a stream session\'s viewer connections by session id
@@ -153390,6 +153466,20 @@ export const StreamsSessionsApiFp = function(configuration?: Configuration) {
153390
153466
  const localVarOperationServerBasePath = operationServerMap['StreamsSessionsApi.getStreamSessionByIdChat']?.[localVarOperationServerIndex]?.url;
153391
153467
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
153392
153468
  },
153469
+ /**
153470
+ * 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.
153471
+ * @summary List a stream session\'s recent reactions by session id
153472
+ * @param {string} sessionId The session identifier
153473
+ * @param {number} since Filter by since
153474
+ * @param {*} [options] Override http request option.
153475
+ * @throws {RequiredError}
153476
+ */
153477
+ async getStreamSessionByIdReactions(sessionId: string, since: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStreamSessionByIdReactions200Response>> {
153478
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getStreamSessionByIdReactions(sessionId, since, options);
153479
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
153480
+ const localVarOperationServerBasePath = operationServerMap['StreamsSessionsApi.getStreamSessionByIdReactions']?.[localVarOperationServerIndex]?.url;
153481
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
153482
+ },
153393
153483
  /**
153394
153484
  * Returns a paginated list of viewer WebSocket subscriptions for the given stream session, whether or not its stream input still exists, optionally filtered to only active (not yet disconnected) subscriptions, and searchable by the account\'s name, username, email, internal ref or id; requires read permission on streams.
153395
153485
  * @summary List a stream session\'s viewer connections by session id
@@ -153590,6 +153680,16 @@ export const StreamsSessionsApiFactory = function (configuration?: Configuration
153590
153680
  getStreamSessionByIdChat(requestParameters: StreamsSessionsApiGetStreamSessionByIdChatRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamSessionByIdChat200Response> {
153591
153681
  return localVarFp.getStreamSessionByIdChat(requestParameters.sessionId, options).then((request) => request(axios, basePath));
153592
153682
  },
153683
+ /**
153684
+ * 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.
153685
+ * @summary List a stream session\'s recent reactions by session id
153686
+ * @param {StreamsSessionsApiGetStreamSessionByIdReactionsRequest} requestParameters Request parameters.
153687
+ * @param {*} [options] Override http request option.
153688
+ * @throws {RequiredError}
153689
+ */
153690
+ getStreamSessionByIdReactions(requestParameters: StreamsSessionsApiGetStreamSessionByIdReactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamSessionByIdReactions200Response> {
153691
+ return localVarFp.getStreamSessionByIdReactions(requestParameters.sessionId, requestParameters.since, options).then((request) => request(axios, basePath));
153692
+ },
153593
153693
  /**
153594
153694
  * Returns a paginated list of viewer WebSocket subscriptions for the given stream session, whether or not its stream input still exists, optionally filtered to only active (not yet disconnected) subscriptions, and searchable by the account\'s name, username, email, internal ref or id; requires read permission on streams.
153595
153695
  * @summary List a stream session\'s viewer connections by session id
@@ -153800,6 +153900,21 @@ export interface StreamsSessionsApiGetStreamSessionByIdChatRequest {
153800
153900
  readonly sessionId: string
153801
153901
  }
153802
153902
 
153903
+ /**
153904
+ * Request parameters for getStreamSessionByIdReactions operation in StreamsSessionsApi.
153905
+ */
153906
+ export interface StreamsSessionsApiGetStreamSessionByIdReactionsRequest {
153907
+ /**
153908
+ * The session identifier
153909
+ */
153910
+ readonly sessionId: string
153911
+
153912
+ /**
153913
+ * Filter by since
153914
+ */
153915
+ readonly since: number
153916
+ }
153917
+
153803
153918
  /**
153804
153919
  * Request parameters for getStreamSessionByIdSubscriptions operation in StreamsSessionsApi.
153805
153920
  */
@@ -154075,6 +154190,17 @@ export class StreamsSessionsApi extends BaseAPI {
154075
154190
  return StreamsSessionsApiFp(this.configuration).getStreamSessionByIdChat(requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
154076
154191
  }
154077
154192
 
154193
+ /**
154194
+ * 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.
154195
+ * @summary List a stream session\'s recent reactions by session id
154196
+ * @param {StreamsSessionsApiGetStreamSessionByIdReactionsRequest} requestParameters Request parameters.
154197
+ * @param {*} [options] Override http request option.
154198
+ * @throws {RequiredError}
154199
+ */
154200
+ public getStreamSessionByIdReactions(requestParameters: StreamsSessionsApiGetStreamSessionByIdReactionsRequest, options?: RawAxiosRequestConfig) {
154201
+ return StreamsSessionsApiFp(this.configuration).getStreamSessionByIdReactions(requestParameters.sessionId, requestParameters.since, options).then((request) => request(this.axios, this.basePath));
154202
+ }
154203
+
154078
154204
  /**
154079
154205
  * Returns a paginated list of viewer WebSocket subscriptions for the given stream session, whether or not its stream input still exists, optionally filtered to only active (not yet disconnected) subscriptions, and searchable by the account\'s name, username, email, internal ref or id; requires read permission on streams.
154080
154206
  * @summary List a stream session\'s viewer connections by session id
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Connected Admin API
5
5
  * The Admin API allows you to manage your Connected community programmatically.
6
6
  *
7
- * The version of the OpenAPI document: 16.1.0
7
+ * The version of the OpenAPI document: 16.3.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Connected Admin API
5
5
  * The Admin API allows you to manage your Connected community programmatically.
6
6
  *
7
- * The version of the OpenAPI document: 16.1.0
7
+ * The version of the OpenAPI document: 16.3.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Connected Admin API
4
4
  * The Admin API allows you to manage your Connected community programmatically.
5
5
  *
6
- * The version of the OpenAPI document: 16.1.0
6
+ * The version of the OpenAPI document: 16.3.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Connected Admin API
3
3
  * The Admin API allows you to manage your Connected community programmatically.
4
4
  *
5
- * The version of the OpenAPI document: 16.1.0
5
+ * The version of the OpenAPI document: 16.3.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1981,6 +1981,8 @@ export interface BaseEventSponsorshipLevel {
1981
1981
  'postAllowance': number;
1982
1982
  'postWindowStart': string | null;
1983
1983
  'postWindowEnd': string | null;
1984
+ 'staffPassAllowance': number;
1985
+ 'staffPassTypeId': string | null;
1984
1986
  }
1985
1987
  export interface BaseEventTrack {
1986
1988
  'id': string;
@@ -6715,6 +6717,8 @@ export interface EventSponsorship {
6715
6717
  'url': string | null;
6716
6718
  'account': BaseAccount | null;
6717
6719
  'image': BaseImage | null;
6720
+ 'staffCouponId': string | null;
6721
+ 'staffCoupon': BaseCoupon | null;
6718
6722
  'createdAt': string;
6719
6723
  'updatedAt': string;
6720
6724
  }
@@ -6740,6 +6744,9 @@ export interface EventSponsorshipLevel {
6740
6744
  'postAllowance': number;
6741
6745
  'postWindowStart': string | null;
6742
6746
  'postWindowEnd': string | null;
6747
+ 'staffPassAllowance': number;
6748
+ 'staffPassTypeId': string | null;
6749
+ 'staffPassType': BaseEventPassType | null;
6743
6750
  'sortOrder': number;
6744
6751
  'sponsors': Array<BaseEventSponsorship>;
6745
6752
  'createdAt': string;
@@ -6758,6 +6765,8 @@ export interface EventSponsorshipLevelCreateInputs {
6758
6765
  'postAllowance'?: number;
6759
6766
  'postWindowStart'?: string | null;
6760
6767
  'postWindowEnd'?: string | null;
6768
+ 'staffPassAllowance'?: number;
6769
+ 'staffPassTypeId'?: string | null;
6761
6770
  }
6762
6771
  export interface EventSponsorshipLevelSurvey {
6763
6772
  'id': string;
@@ -6795,6 +6804,8 @@ export interface EventSponsorshipLevelUpdateInputs {
6795
6804
  'postAllowance'?: number;
6796
6805
  'postWindowStart'?: string | null;
6797
6806
  'postWindowEnd'?: string | null;
6807
+ 'staffPassAllowance'?: number;
6808
+ 'staffPassTypeId'?: string | null;
6798
6809
  }
6799
6810
  export interface EventSponsorshipProgress {
6800
6811
  'id': string;
@@ -9719,6 +9730,14 @@ export interface GetStreamSessionByIdChat200Response {
9719
9730
  export declare enum GetStreamSessionByIdChat200ResponseStatusEnum {
9720
9731
  Ok = "ok"
9721
9732
  }
9733
+ export interface GetStreamSessionByIdReactions200Response {
9734
+ 'status': GetStreamSessionByIdReactions200ResponseStatusEnum;
9735
+ 'message': string;
9736
+ 'data': Array<StreamSessionRecentReaction>;
9737
+ }
9738
+ export declare enum GetStreamSessionByIdReactions200ResponseStatusEnum {
9739
+ Ok = "ok"
9740
+ }
9722
9741
  export interface GetStreamSessionByIdSubscriptions200Response {
9723
9742
  'status': GetStreamSessionByIdSubscriptions200ResponseStatusEnum;
9724
9743
  'message': string;
@@ -13346,7 +13365,16 @@ export interface SponsorshipProgress {
13346
13365
  /**
13347
13366
  * @type SponsorshipProgressCheck
13348
13367
  */
13349
- export type SponsorshipProgressCheck = SponsorshipAdvertisementProgress | SponsorshipBenefitProgress | SponsorshipBrandingProgress | SponsorshipSurveyProgress;
13368
+ export type SponsorshipProgressCheck = SponsorshipAdvertisementProgress | SponsorshipBenefitProgress | SponsorshipBrandingProgress | SponsorshipStaffPassesProgress | SponsorshipSurveyProgress;
13369
+ export interface SponsorshipStaffPassesProgress {
13370
+ 'type': SponsorshipStaffPassesProgressTypeEnum;
13371
+ 'complete': boolean;
13372
+ 'used': number;
13373
+ 'allowance': number;
13374
+ }
13375
+ export declare enum SponsorshipStaffPassesProgressTypeEnum {
13376
+ StaffPasses = "staffPasses"
13377
+ }
13350
13378
  export interface SponsorshipSurveyProgress {
13351
13379
  'type': SponsorshipSurveyProgressTypeEnum;
13352
13380
  'complete': boolean;
@@ -13517,11 +13545,6 @@ export interface StreamOutputCreateInputs {
13517
13545
  'streamKey': string;
13518
13546
  'url': string;
13519
13547
  }
13520
- export declare enum StreamReaction {
13521
- Love = "love",
13522
- Applause = "applause",
13523
- Agree = "agree"
13524
- }
13525
13548
  export interface StreamSession {
13526
13549
  'id': string;
13527
13550
  'organizationId': string;
@@ -13541,9 +13564,7 @@ export interface StreamSession {
13541
13564
  'event': BaseEvent | null;
13542
13565
  'eventSession': BaseEventSession | null;
13543
13566
  'organization': BaseOrganization;
13544
- 'reactions'?: {
13545
- [key: string]: any;
13546
- };
13567
+ 'watching'?: number | null;
13547
13568
  }
13548
13569
  export interface StreamSessionChatMessage {
13549
13570
  'messageId': string;
@@ -13557,6 +13578,7 @@ export interface StreamSessionChatMessage {
13557
13578
  'videoTime': number | null;
13558
13579
  'videoId': string | null;
13559
13580
  'role': StreamSessionChatMessageRoleEnum | null;
13581
+ 'imageUri': string | null;
13560
13582
  }
13561
13583
  export declare enum StreamSessionChatMessageRoleEnum {
13562
13584
  Host = "host",
@@ -13566,6 +13588,12 @@ export interface StreamSessionChatMessageCreateInputs {
13566
13588
  'message': string;
13567
13589
  'name'?: string;
13568
13590
  }
13591
+ export interface StreamSessionRecentReaction {
13592
+ 'at': number;
13593
+ 'reactions': {
13594
+ [key: string]: any;
13595
+ };
13596
+ }
13569
13597
  export declare enum StreamSessionStatus {
13570
13598
  Active = "ACTIVE",
13571
13599
  Ended = "ENDED"
@@ -83516,6 +83544,15 @@ export declare const StreamsSessionsApiAxiosParamCreator: (configuration?: Confi
83516
83544
  * @throws {RequiredError}
83517
83545
  */
83518
83546
  getStreamSessionByIdChat: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
83547
+ /**
83548
+ * 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.
83549
+ * @summary List a stream session\'s recent reactions by session id
83550
+ * @param {string} sessionId The session identifier
83551
+ * @param {number} since Filter by since
83552
+ * @param {*} [options] Override http request option.
83553
+ * @throws {RequiredError}
83554
+ */
83555
+ getStreamSessionByIdReactions: (sessionId: string, since: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
83519
83556
  /**
83520
83557
  * Returns a paginated list of viewer WebSocket subscriptions for the given stream session, whether or not its stream input still exists, optionally filtered to only active (not yet disconnected) subscriptions, and searchable by the account\'s name, username, email, internal ref or id; requires read permission on streams.
83521
83558
  * @summary List a stream session\'s viewer connections by session id
@@ -83676,6 +83713,15 @@ export declare const StreamsSessionsApiFp: (configuration?: Configuration) => {
83676
83713
  * @throws {RequiredError}
83677
83714
  */
83678
83715
  getStreamSessionByIdChat(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStreamSessionByIdChat200Response>>;
83716
+ /**
83717
+ * 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.
83718
+ * @summary List a stream session\'s recent reactions by session id
83719
+ * @param {string} sessionId The session identifier
83720
+ * @param {number} since Filter by since
83721
+ * @param {*} [options] Override http request option.
83722
+ * @throws {RequiredError}
83723
+ */
83724
+ getStreamSessionByIdReactions(sessionId: string, since: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStreamSessionByIdReactions200Response>>;
83679
83725
  /**
83680
83726
  * Returns a paginated list of viewer WebSocket subscriptions for the given stream session, whether or not its stream input still exists, optionally filtered to only active (not yet disconnected) subscriptions, and searchable by the account\'s name, username, email, internal ref or id; requires read permission on streams.
83681
83727
  * @summary List a stream session\'s viewer connections by session id
@@ -83824,6 +83870,14 @@ export declare const StreamsSessionsApiFactory: (configuration?: Configuration,
83824
83870
  * @throws {RequiredError}
83825
83871
  */
83826
83872
  getStreamSessionByIdChat(requestParameters: StreamsSessionsApiGetStreamSessionByIdChatRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamSessionByIdChat200Response>;
83873
+ /**
83874
+ * 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.
83875
+ * @summary List a stream session\'s recent reactions by session id
83876
+ * @param {StreamsSessionsApiGetStreamSessionByIdReactionsRequest} requestParameters Request parameters.
83877
+ * @param {*} [options] Override http request option.
83878
+ * @throws {RequiredError}
83879
+ */
83880
+ getStreamSessionByIdReactions(requestParameters: StreamsSessionsApiGetStreamSessionByIdReactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamSessionByIdReactions200Response>;
83827
83881
  /**
83828
83882
  * Returns a paginated list of viewer WebSocket subscriptions for the given stream session, whether or not its stream input still exists, optionally filtered to only active (not yet disconnected) subscriptions, and searchable by the account\'s name, username, email, internal ref or id; requires read permission on streams.
83829
83883
  * @summary List a stream session\'s viewer connections by session id
@@ -83999,6 +84053,19 @@ export interface StreamsSessionsApiGetStreamSessionByIdChatRequest {
83999
84053
  */
84000
84054
  readonly sessionId: string;
84001
84055
  }
84056
+ /**
84057
+ * Request parameters for getStreamSessionByIdReactions operation in StreamsSessionsApi.
84058
+ */
84059
+ export interface StreamsSessionsApiGetStreamSessionByIdReactionsRequest {
84060
+ /**
84061
+ * The session identifier
84062
+ */
84063
+ readonly sessionId: string;
84064
+ /**
84065
+ * Filter by since
84066
+ */
84067
+ readonly since: number;
84068
+ }
84002
84069
  /**
84003
84070
  * Request parameters for getStreamSessionByIdSubscriptions operation in StreamsSessionsApi.
84004
84071
  */
@@ -84218,6 +84285,14 @@ export declare class StreamsSessionsApi extends BaseAPI {
84218
84285
  * @throws {RequiredError}
84219
84286
  */
84220
84287
  getStreamSessionByIdChat(requestParameters: StreamsSessionsApiGetStreamSessionByIdChatRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStreamSessionByIdChat200Response, any, {}, any>>;
84288
+ /**
84289
+ * 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.
84290
+ * @summary List a stream session\'s recent reactions by session id
84291
+ * @param {StreamsSessionsApiGetStreamSessionByIdReactionsRequest} requestParameters Request parameters.
84292
+ * @param {*} [options] Override http request option.
84293
+ * @throws {RequiredError}
84294
+ */
84295
+ getStreamSessionByIdReactions(requestParameters: StreamsSessionsApiGetStreamSessionByIdReactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStreamSessionByIdReactions200Response, any, {}, any>>;
84221
84296
  /**
84222
84297
  * Returns a paginated list of viewer WebSocket subscriptions for the given stream session, whether or not its stream input still exists, optionally filtered to only active (not yet disconnected) subscriptions, and searchable by the account\'s name, username, email, internal ref or id; requires read permission on streams.
84223
84298
  * @summary List a stream session\'s viewer connections by session id