@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
package/dist/esm/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.
|
|
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
|
-
'
|
|
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
|
package/dist/esm/api.js
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.
|
|
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).
|
|
@@ -2008,6 +2008,10 @@ export var GetStreamSessionByIdChat200ResponseStatusEnum;
|
|
|
2008
2008
|
(function (GetStreamSessionByIdChat200ResponseStatusEnum) {
|
|
2009
2009
|
GetStreamSessionByIdChat200ResponseStatusEnum["Ok"] = "ok";
|
|
2010
2010
|
})(GetStreamSessionByIdChat200ResponseStatusEnum || (GetStreamSessionByIdChat200ResponseStatusEnum = {}));
|
|
2011
|
+
export var GetStreamSessionByIdReactions200ResponseStatusEnum;
|
|
2012
|
+
(function (GetStreamSessionByIdReactions200ResponseStatusEnum) {
|
|
2013
|
+
GetStreamSessionByIdReactions200ResponseStatusEnum["Ok"] = "ok";
|
|
2014
|
+
})(GetStreamSessionByIdReactions200ResponseStatusEnum || (GetStreamSessionByIdReactions200ResponseStatusEnum = {}));
|
|
2011
2015
|
export var GetStreamSessionByIdSubscriptions200ResponseStatusEnum;
|
|
2012
2016
|
(function (GetStreamSessionByIdSubscriptions200ResponseStatusEnum) {
|
|
2013
2017
|
GetStreamSessionByIdSubscriptions200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -2825,6 +2829,10 @@ export var SponsorshipBrandingProgressTypeEnum;
|
|
|
2825
2829
|
(function (SponsorshipBrandingProgressTypeEnum) {
|
|
2826
2830
|
SponsorshipBrandingProgressTypeEnum["Branding"] = "branding";
|
|
2827
2831
|
})(SponsorshipBrandingProgressTypeEnum || (SponsorshipBrandingProgressTypeEnum = {}));
|
|
2832
|
+
export var SponsorshipStaffPassesProgressTypeEnum;
|
|
2833
|
+
(function (SponsorshipStaffPassesProgressTypeEnum) {
|
|
2834
|
+
SponsorshipStaffPassesProgressTypeEnum["StaffPasses"] = "staffPasses";
|
|
2835
|
+
})(SponsorshipStaffPassesProgressTypeEnum || (SponsorshipStaffPassesProgressTypeEnum = {}));
|
|
2828
2836
|
export var SponsorshipSurveyProgressTypeEnum;
|
|
2829
2837
|
(function (SponsorshipSurveyProgressTypeEnum) {
|
|
2830
2838
|
SponsorshipSurveyProgressTypeEnum["Surveys"] = "surveys";
|
|
@@ -2847,12 +2855,6 @@ export var StreamInputDetailsRecordingModeEnum;
|
|
|
2847
2855
|
StreamInputDetailsRecordingModeEnum["Automatic"] = "automatic";
|
|
2848
2856
|
StreamInputDetailsRecordingModeEnum["Off"] = "off";
|
|
2849
2857
|
})(StreamInputDetailsRecordingModeEnum || (StreamInputDetailsRecordingModeEnum = {}));
|
|
2850
|
-
export var StreamReaction;
|
|
2851
|
-
(function (StreamReaction) {
|
|
2852
|
-
StreamReaction["Love"] = "love";
|
|
2853
|
-
StreamReaction["Applause"] = "applause";
|
|
2854
|
-
StreamReaction["Agree"] = "agree";
|
|
2855
|
-
})(StreamReaction || (StreamReaction = {}));
|
|
2856
2858
|
export var StreamSessionChatMessageRoleEnum;
|
|
2857
2859
|
(function (StreamSessionChatMessageRoleEnum) {
|
|
2858
2860
|
StreamSessionChatMessageRoleEnum["Host"] = "host";
|
|
@@ -107528,6 +107530,46 @@ export const StreamsSessionsApiAxiosParamCreator = function (configuration) {
|
|
|
107528
107530
|
options: localVarRequestOptions,
|
|
107529
107531
|
};
|
|
107530
107532
|
}),
|
|
107533
|
+
/**
|
|
107534
|
+
* 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.
|
|
107535
|
+
* @summary List a stream session\'s recent reactions by session id
|
|
107536
|
+
* @param {string} sessionId The session identifier
|
|
107537
|
+
* @param {number} since Filter by since
|
|
107538
|
+
* @param {*} [options] Override http request option.
|
|
107539
|
+
* @throws {RequiredError}
|
|
107540
|
+
*/
|
|
107541
|
+
getStreamSessionByIdReactions: (sessionId_1, since_1, ...args_1) => __awaiter(this, [sessionId_1, since_1, ...args_1], void 0, function* (sessionId, since, options = {}) {
|
|
107542
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
107543
|
+
assertParamExists('getStreamSessionByIdReactions', 'sessionId', sessionId);
|
|
107544
|
+
// verify required parameter 'since' is not null or undefined
|
|
107545
|
+
assertParamExists('getStreamSessionByIdReactions', 'since', since);
|
|
107546
|
+
const localVarPath = `/streams/sessions/{sessionId}/reactions`
|
|
107547
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
107548
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
107549
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
107550
|
+
let baseOptions;
|
|
107551
|
+
if (configuration) {
|
|
107552
|
+
baseOptions = configuration.baseOptions;
|
|
107553
|
+
}
|
|
107554
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
107555
|
+
const localVarHeaderParameter = {};
|
|
107556
|
+
const localVarQueryParameter = {};
|
|
107557
|
+
// authentication ApiKeyAuth required
|
|
107558
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
107559
|
+
// authentication OrganizationId required
|
|
107560
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
107561
|
+
if (since !== undefined) {
|
|
107562
|
+
localVarQueryParameter['since'] = since;
|
|
107563
|
+
}
|
|
107564
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
107565
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107566
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107567
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
107568
|
+
return {
|
|
107569
|
+
url: toPathString(localVarUrlObj),
|
|
107570
|
+
options: localVarRequestOptions,
|
|
107571
|
+
};
|
|
107572
|
+
}),
|
|
107531
107573
|
/**
|
|
107532
107574
|
* 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.
|
|
107533
107575
|
* @summary List a stream session\'s viewer connections by session id
|
|
@@ -107989,6 +108031,23 @@ export const StreamsSessionsApiFp = function (configuration) {
|
|
|
107989
108031
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
107990
108032
|
});
|
|
107991
108033
|
},
|
|
108034
|
+
/**
|
|
108035
|
+
* 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.
|
|
108036
|
+
* @summary List a stream session\'s recent reactions by session id
|
|
108037
|
+
* @param {string} sessionId The session identifier
|
|
108038
|
+
* @param {number} since Filter by since
|
|
108039
|
+
* @param {*} [options] Override http request option.
|
|
108040
|
+
* @throws {RequiredError}
|
|
108041
|
+
*/
|
|
108042
|
+
getStreamSessionByIdReactions(sessionId, since, options) {
|
|
108043
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
108044
|
+
var _a, _b, _c;
|
|
108045
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getStreamSessionByIdReactions(sessionId, since, options);
|
|
108046
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
108047
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsSessionsApi.getStreamSessionByIdReactions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
108048
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108049
|
+
});
|
|
108050
|
+
},
|
|
107992
108051
|
/**
|
|
107993
108052
|
* 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.
|
|
107994
108053
|
* @summary List a stream session\'s viewer connections by session id
|
|
@@ -108206,6 +108265,16 @@ export const StreamsSessionsApiFactory = function (configuration, basePath, axio
|
|
|
108206
108265
|
getStreamSessionByIdChat(requestParameters, options) {
|
|
108207
108266
|
return localVarFp.getStreamSessionByIdChat(requestParameters.sessionId, options).then((request) => request(axios, basePath));
|
|
108208
108267
|
},
|
|
108268
|
+
/**
|
|
108269
|
+
* 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.
|
|
108270
|
+
* @summary List a stream session\'s recent reactions by session id
|
|
108271
|
+
* @param {StreamsSessionsApiGetStreamSessionByIdReactionsRequest} requestParameters Request parameters.
|
|
108272
|
+
* @param {*} [options] Override http request option.
|
|
108273
|
+
* @throws {RequiredError}
|
|
108274
|
+
*/
|
|
108275
|
+
getStreamSessionByIdReactions(requestParameters, options) {
|
|
108276
|
+
return localVarFp.getStreamSessionByIdReactions(requestParameters.sessionId, requestParameters.since, options).then((request) => request(axios, basePath));
|
|
108277
|
+
},
|
|
108209
108278
|
/**
|
|
108210
108279
|
* 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.
|
|
108211
108280
|
* @summary List a stream session\'s viewer connections by session id
|
|
@@ -108362,6 +108431,16 @@ export class StreamsSessionsApi extends BaseAPI {
|
|
|
108362
108431
|
getStreamSessionByIdChat(requestParameters, options) {
|
|
108363
108432
|
return StreamsSessionsApiFp(this.configuration).getStreamSessionByIdChat(requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
108364
108433
|
}
|
|
108434
|
+
/**
|
|
108435
|
+
* 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.
|
|
108436
|
+
* @summary List a stream session\'s recent reactions by session id
|
|
108437
|
+
* @param {StreamsSessionsApiGetStreamSessionByIdReactionsRequest} requestParameters Request parameters.
|
|
108438
|
+
* @param {*} [options] Override http request option.
|
|
108439
|
+
* @throws {RequiredError}
|
|
108440
|
+
*/
|
|
108441
|
+
getStreamSessionByIdReactions(requestParameters, options) {
|
|
108442
|
+
return StreamsSessionsApiFp(this.configuration).getStreamSessionByIdReactions(requestParameters.sessionId, requestParameters.since, options).then((request) => request(this.axios, this.basePath));
|
|
108443
|
+
}
|
|
108365
108444
|
/**
|
|
108366
108445
|
* 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.
|
|
108367
108446
|
* @summary List a stream session\'s viewer connections by session id
|
package/dist/esm/base.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.
|
|
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).
|
package/dist/esm/base.js
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.
|
|
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/dist/esm/common.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.
|
|
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).
|
package/dist/esm/common.js
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.
|
|
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).
|
|
@@ -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.
|
|
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).
|
|
@@ -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.
|
|
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).
|
|
@@ -17,6 +17,8 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**postAllowance** | **number** | | [default to undefined]
|
|
18
18
|
**postWindowStart** | **string** | | [default to undefined]
|
|
19
19
|
**postWindowEnd** | **string** | | [default to undefined]
|
|
20
|
+
**staffPassAllowance** | **number** | | [default to undefined]
|
|
21
|
+
**staffPassTypeId** | **string** | | [default to undefined]
|
|
20
22
|
|
|
21
23
|
## Example
|
|
22
24
|
|
|
@@ -36,6 +38,8 @@ const instance: BaseEventSponsorshipLevel = {
|
|
|
36
38
|
postAllowance,
|
|
37
39
|
postWindowStart,
|
|
38
40
|
postWindowEnd,
|
|
41
|
+
staffPassAllowance,
|
|
42
|
+
staffPassTypeId,
|
|
39
43
|
};
|
|
40
44
|
```
|
|
41
45
|
|
package/docs/EventSponsorship.md
CHANGED
|
@@ -12,6 +12,8 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**url** | **string** | | [default to undefined]
|
|
13
13
|
**account** | [**BaseAccount**](BaseAccount.md) | | [default to undefined]
|
|
14
14
|
**image** | [**BaseImage**](BaseImage.md) | | [default to undefined]
|
|
15
|
+
**staffCouponId** | **string** | | [default to undefined]
|
|
16
|
+
**staffCoupon** | [**BaseCoupon**](BaseCoupon.md) | | [default to undefined]
|
|
15
17
|
**createdAt** | **string** | | [default to undefined]
|
|
16
18
|
**updatedAt** | **string** | | [default to undefined]
|
|
17
19
|
|
|
@@ -28,6 +30,8 @@ const instance: EventSponsorship = {
|
|
|
28
30
|
url,
|
|
29
31
|
account,
|
|
30
32
|
image,
|
|
33
|
+
staffCouponId,
|
|
34
|
+
staffCoupon,
|
|
31
35
|
createdAt,
|
|
32
36
|
updatedAt,
|
|
33
37
|
};
|
|
@@ -17,6 +17,9 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**postAllowance** | **number** | | [default to undefined]
|
|
18
18
|
**postWindowStart** | **string** | | [default to undefined]
|
|
19
19
|
**postWindowEnd** | **string** | | [default to undefined]
|
|
20
|
+
**staffPassAllowance** | **number** | | [default to undefined]
|
|
21
|
+
**staffPassTypeId** | **string** | | [default to undefined]
|
|
22
|
+
**staffPassType** | [**BaseEventPassType**](BaseEventPassType.md) | | [default to undefined]
|
|
20
23
|
**sortOrder** | **number** | | [default to undefined]
|
|
21
24
|
**sponsors** | [**Array<BaseEventSponsorship>**](BaseEventSponsorship.md) | | [default to undefined]
|
|
22
25
|
**createdAt** | **string** | | [default to undefined]
|
|
@@ -40,6 +43,9 @@ const instance: EventSponsorshipLevel = {
|
|
|
40
43
|
postAllowance,
|
|
41
44
|
postWindowStart,
|
|
42
45
|
postWindowEnd,
|
|
46
|
+
staffPassAllowance,
|
|
47
|
+
staffPassTypeId,
|
|
48
|
+
staffPassType,
|
|
43
49
|
sortOrder,
|
|
44
50
|
sponsors,
|
|
45
51
|
createdAt,
|
|
@@ -17,6 +17,8 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**postAllowance** | **number** | | [optional] [default to undefined]
|
|
18
18
|
**postWindowStart** | **string** | | [optional] [default to undefined]
|
|
19
19
|
**postWindowEnd** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**staffPassAllowance** | **number** | | [optional] [default to undefined]
|
|
21
|
+
**staffPassTypeId** | **string** | | [optional] [default to undefined]
|
|
20
22
|
|
|
21
23
|
## Example
|
|
22
24
|
|
|
@@ -36,6 +38,8 @@ const instance: EventSponsorshipLevelCreateInputs = {
|
|
|
36
38
|
postAllowance,
|
|
37
39
|
postWindowStart,
|
|
38
40
|
postWindowEnd,
|
|
41
|
+
staffPassAllowance,
|
|
42
|
+
staffPassTypeId,
|
|
39
43
|
};
|
|
40
44
|
```
|
|
41
45
|
|
|
@@ -17,6 +17,8 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**postAllowance** | **number** | | [optional] [default to undefined]
|
|
18
18
|
**postWindowStart** | **string** | | [optional] [default to undefined]
|
|
19
19
|
**postWindowEnd** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**staffPassAllowance** | **number** | | [optional] [default to undefined]
|
|
21
|
+
**staffPassTypeId** | **string** | | [optional] [default to undefined]
|
|
20
22
|
|
|
21
23
|
## Example
|
|
22
24
|
|
|
@@ -36,6 +38,8 @@ const instance: EventSponsorshipLevelUpdateInputs = {
|
|
|
36
38
|
postAllowance,
|
|
37
39
|
postWindowStart,
|
|
38
40
|
postWindowEnd,
|
|
41
|
+
staffPassAllowance,
|
|
42
|
+
staffPassTypeId,
|
|
39
43
|
};
|
|
40
44
|
```
|
|
41
45
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# GetStreamSessionByIdReactions200Response
|
|
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<StreamSessionRecentReaction>**](StreamSessionRecentReaction.md) | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { GetStreamSessionByIdReactions200Response } from '@connectedxm/admin-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: GetStreamSessionByIdReactions200Response = {
|
|
18
|
+
status,
|
|
19
|
+
message,
|
|
20
|
+
data,
|
|
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)
|
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**allowance** | **number** | | [default to undefined]
|
|
13
13
|
**submitted** | **number** | | [default to undefined]
|
|
14
14
|
**required** | **number** | | [default to undefined]
|
|
15
|
+
**used** | **number** | | [default to undefined]
|
|
15
16
|
|
|
16
17
|
## Example
|
|
17
18
|
|
|
@@ -26,6 +27,7 @@ const instance: SponsorshipProgressCheck = {
|
|
|
26
27
|
allowance,
|
|
27
28
|
submitted,
|
|
28
29
|
required,
|
|
30
|
+
used,
|
|
29
31
|
};
|
|
30
32
|
```
|
|
31
33
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# SponsorshipStaffPassesProgress
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**type** | **string** | | [default to undefined]
|
|
9
|
+
**complete** | **boolean** | | [default to undefined]
|
|
10
|
+
**used** | **number** | | [default to undefined]
|
|
11
|
+
**allowance** | **number** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { SponsorshipStaffPassesProgress } from '@connectedxm/admin-sdk';
|
|
17
|
+
|
|
18
|
+
const instance: SponsorshipStaffPassesProgress = {
|
|
19
|
+
type,
|
|
20
|
+
complete,
|
|
21
|
+
used,
|
|
22
|
+
allowance,
|
|
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)
|
package/docs/StreamSession.md
CHANGED
|
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
|
|
|
23
23
|
**event** | [**BaseEvent**](BaseEvent.md) | | [default to undefined]
|
|
24
24
|
**eventSession** | [**BaseEventSession**](BaseEventSession.md) | | [default to undefined]
|
|
25
25
|
**organization** | [**BaseOrganization**](BaseOrganization.md) | | [default to undefined]
|
|
26
|
-
**
|
|
26
|
+
**watching** | **number** | | [optional] [default to undefined]
|
|
27
27
|
|
|
28
28
|
## Example
|
|
29
29
|
|
|
@@ -49,7 +49,7 @@ const instance: StreamSession = {
|
|
|
49
49
|
event,
|
|
50
50
|
eventSession,
|
|
51
51
|
organization,
|
|
52
|
-
|
|
52
|
+
watching,
|
|
53
53
|
};
|
|
54
54
|
```
|
|
55
55
|
|
|
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**videoTime** | **number** | | [default to undefined]
|
|
17
17
|
**videoId** | **string** | | [default to undefined]
|
|
18
18
|
**role** | **string** | | [default to undefined]
|
|
19
|
+
**imageUri** | **string** | | [default to undefined]
|
|
19
20
|
|
|
20
21
|
## Example
|
|
21
22
|
|
|
@@ -34,6 +35,7 @@ const instance: StreamSessionChatMessage = {
|
|
|
34
35
|
videoTime,
|
|
35
36
|
videoId,
|
|
36
37
|
role,
|
|
38
|
+
imageUri,
|
|
37
39
|
};
|
|
38
40
|
```
|
|
39
41
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# StreamSessionRecentReaction
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**at** | **number** | | [default to undefined]
|
|
9
|
+
**reactions** | **{ [key: string]: any; }** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { StreamSessionRecentReaction } from '@connectedxm/admin-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: StreamSessionRecentReaction = {
|
|
17
|
+
at,
|
|
18
|
+
reactions,
|
|
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)
|