@connectedxm/admin-sdk 13.5.0 → 13.7.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 +2 -0
- package/README.md +2 -2
- package/api.ts +146 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +81 -1
- package/dist/api.js +116 -22
- 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 +81 -1
- package/dist/esm/api.js +95 -1
- 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/GetStreamSessionViewers200Response.md +26 -0
- package/docs/StreamSessionViewer.md +26 -0
- package/docs/StreamsSessionsApi.md +64 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -1124,6 +1124,7 @@ docs/GetStreamInputs200Response.md
|
|
|
1124
1124
|
docs/GetStreamSessionById200Response.md
|
|
1125
1125
|
docs/GetStreamSessionByIdChat200Response.md
|
|
1126
1126
|
docs/GetStreamSessionByIdSubscriptions200Response.md
|
|
1127
|
+
docs/GetStreamSessionViewers200Response.md
|
|
1127
1128
|
docs/GetStreamVideos200Response.md
|
|
1128
1129
|
docs/GetSupportTicketActivity200Response.md
|
|
1129
1130
|
docs/GetSupportTicketMessages200Response.md
|
|
@@ -1559,6 +1560,7 @@ docs/StreamSessionChatMessage.md
|
|
|
1559
1560
|
docs/StreamSessionStatus.md
|
|
1560
1561
|
docs/StreamSessionSubscription.md
|
|
1561
1562
|
docs/StreamSessionUpdateInputs.md
|
|
1563
|
+
docs/StreamSessionViewer.md
|
|
1562
1564
|
docs/StreamsApi.md
|
|
1563
1565
|
docs/StreamsOutputsApi.md
|
|
1564
1566
|
docs/StreamsSessionsApi.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @connectedxm/admin-sdk@13.
|
|
1
|
+
## @connectedxm/admin-sdk@13.7.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@13.
|
|
39
|
+
npm install @connectedxm/admin-sdk@13.7.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: 13.
|
|
7
|
+
* The version of the OpenAPI document: 13.7.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10954,6 +10954,17 @@ export enum GetStreamSessionByIdSubscriptions200ResponseStatusEnum {
|
|
|
10954
10954
|
Ok = 'ok'
|
|
10955
10955
|
}
|
|
10956
10956
|
|
|
10957
|
+
export interface GetStreamSessionViewers200Response {
|
|
10958
|
+
'status': GetStreamSessionViewers200ResponseStatusEnum;
|
|
10959
|
+
'message': string;
|
|
10960
|
+
'data': Array<StreamSessionViewer>;
|
|
10961
|
+
'count'?: number;
|
|
10962
|
+
}
|
|
10963
|
+
|
|
10964
|
+
export enum GetStreamSessionViewers200ResponseStatusEnum {
|
|
10965
|
+
Ok = 'ok'
|
|
10966
|
+
}
|
|
10967
|
+
|
|
10957
10968
|
export interface GetStreamVideos200Response {
|
|
10958
10969
|
'status': GetStreamVideos200ResponseStatusEnum;
|
|
10959
10970
|
'message': string;
|
|
@@ -15153,6 +15164,12 @@ export interface StreamSessionUpdateInputs {
|
|
|
15153
15164
|
'eventId'?: string | null;
|
|
15154
15165
|
'eventSessionId'?: string | null;
|
|
15155
15166
|
}
|
|
15167
|
+
export interface StreamSessionViewer {
|
|
15168
|
+
'accountId': string | null;
|
|
15169
|
+
'account': BaseAccount | null;
|
|
15170
|
+
'activeConnections': number;
|
|
15171
|
+
'connectedAt': string;
|
|
15172
|
+
}
|
|
15156
15173
|
export interface StripeActivationFormParams {
|
|
15157
15174
|
'clientPublicKey': string;
|
|
15158
15175
|
'clientSecret': string;
|
|
@@ -152343,6 +152360,66 @@ export const StreamsSessionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
152343
152360
|
options: localVarRequestOptions,
|
|
152344
152361
|
};
|
|
152345
152362
|
},
|
|
152363
|
+
/**
|
|
152364
|
+
* Returns a paginated list of the accounts currently watching the given stream session, one row per account with how many active connections it holds and when its earliest one connected; the count is the number of people watching, where the subscriptions list counts connections. Requires read permission on streams.
|
|
152365
|
+
* @summary List the people watching a stream session
|
|
152366
|
+
* @param {string} sessionId The session identifier
|
|
152367
|
+
* @param {number} [page] Page number
|
|
152368
|
+
* @param {number} [pageSize] Number of items per page
|
|
152369
|
+
* @param {string} [orderBy] Field to order by
|
|
152370
|
+
* @param {string} [search] Search query
|
|
152371
|
+
* @param {*} [options] Override http request option.
|
|
152372
|
+
* @throws {RequiredError}
|
|
152373
|
+
*/
|
|
152374
|
+
getStreamSessionViewers: async (sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
152375
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
152376
|
+
assertParamExists('getStreamSessionViewers', 'sessionId', sessionId)
|
|
152377
|
+
const localVarPath = `/streams/sessions/{sessionId}/viewers`
|
|
152378
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
152379
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
152380
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
152381
|
+
let baseOptions;
|
|
152382
|
+
if (configuration) {
|
|
152383
|
+
baseOptions = configuration.baseOptions;
|
|
152384
|
+
}
|
|
152385
|
+
|
|
152386
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
152387
|
+
const localVarHeaderParameter = {} as any;
|
|
152388
|
+
const localVarQueryParameter = {} as any;
|
|
152389
|
+
|
|
152390
|
+
// authentication ApiKeyAuth required
|
|
152391
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
152392
|
+
|
|
152393
|
+
// authentication OrganizationId required
|
|
152394
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
152395
|
+
|
|
152396
|
+
if (page !== undefined) {
|
|
152397
|
+
localVarQueryParameter['page'] = page;
|
|
152398
|
+
}
|
|
152399
|
+
|
|
152400
|
+
if (pageSize !== undefined) {
|
|
152401
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
152402
|
+
}
|
|
152403
|
+
|
|
152404
|
+
if (orderBy !== undefined) {
|
|
152405
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
152406
|
+
}
|
|
152407
|
+
|
|
152408
|
+
if (search !== undefined) {
|
|
152409
|
+
localVarQueryParameter['search'] = search;
|
|
152410
|
+
}
|
|
152411
|
+
|
|
152412
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
152413
|
+
|
|
152414
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
152415
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
152416
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
152417
|
+
|
|
152418
|
+
return {
|
|
152419
|
+
url: toPathString(localVarUrlObj),
|
|
152420
|
+
options: localVarRequestOptions,
|
|
152421
|
+
};
|
|
152422
|
+
},
|
|
152346
152423
|
/**
|
|
152347
152424
|
* Returns a paginated list of broadcast sessions for the given stream input, filterable by session status; requires read permission on streams.
|
|
152348
152425
|
* @summary List a stream\'s broadcast sessions
|
|
@@ -152614,6 +152691,23 @@ export const StreamsSessionsApiFp = function(configuration?: Configuration) {
|
|
|
152614
152691
|
const localVarOperationServerBasePath = operationServerMap['StreamsSessionsApi.getStreamSessionSubscriptions']?.[localVarOperationServerIndex]?.url;
|
|
152615
152692
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
152616
152693
|
},
|
|
152694
|
+
/**
|
|
152695
|
+
* Returns a paginated list of the accounts currently watching the given stream session, one row per account with how many active connections it holds and when its earliest one connected; the count is the number of people watching, where the subscriptions list counts connections. Requires read permission on streams.
|
|
152696
|
+
* @summary List the people watching a stream session
|
|
152697
|
+
* @param {string} sessionId The session identifier
|
|
152698
|
+
* @param {number} [page] Page number
|
|
152699
|
+
* @param {number} [pageSize] Number of items per page
|
|
152700
|
+
* @param {string} [orderBy] Field to order by
|
|
152701
|
+
* @param {string} [search] Search query
|
|
152702
|
+
* @param {*} [options] Override http request option.
|
|
152703
|
+
* @throws {RequiredError}
|
|
152704
|
+
*/
|
|
152705
|
+
async getStreamSessionViewers(sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStreamSessionViewers200Response>> {
|
|
152706
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStreamSessionViewers(sessionId, page, pageSize, orderBy, search, options);
|
|
152707
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
152708
|
+
const localVarOperationServerBasePath = operationServerMap['StreamsSessionsApi.getStreamSessionViewers']?.[localVarOperationServerIndex]?.url;
|
|
152709
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
152710
|
+
},
|
|
152617
152711
|
/**
|
|
152618
152712
|
* Returns a paginated list of broadcast sessions for the given stream input, filterable by session status; requires read permission on streams.
|
|
152619
152713
|
* @summary List a stream\'s broadcast sessions
|
|
@@ -152755,6 +152849,16 @@ export const StreamsSessionsApiFactory = function (configuration?: Configuration
|
|
|
152755
152849
|
getStreamSessionSubscriptions(requestParameters: StreamsSessionsApiGetStreamSessionSubscriptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamSessionByIdSubscriptions200Response> {
|
|
152756
152850
|
return localVarFp.getStreamSessionSubscriptions(requestParameters.streamId, requestParameters.sessionId, requestParameters.active, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
152757
152851
|
},
|
|
152852
|
+
/**
|
|
152853
|
+
* Returns a paginated list of the accounts currently watching the given stream session, one row per account with how many active connections it holds and when its earliest one connected; the count is the number of people watching, where the subscriptions list counts connections. Requires read permission on streams.
|
|
152854
|
+
* @summary List the people watching a stream session
|
|
152855
|
+
* @param {StreamsSessionsApiGetStreamSessionViewersRequest} requestParameters Request parameters.
|
|
152856
|
+
* @param {*} [options] Override http request option.
|
|
152857
|
+
* @throws {RequiredError}
|
|
152858
|
+
*/
|
|
152859
|
+
getStreamSessionViewers(requestParameters: StreamsSessionsApiGetStreamSessionViewersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamSessionViewers200Response> {
|
|
152860
|
+
return localVarFp.getStreamSessionViewers(requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
152861
|
+
},
|
|
152758
152862
|
/**
|
|
152759
152863
|
* Returns a paginated list of broadcast sessions for the given stream input, filterable by session status; requires read permission on streams.
|
|
152760
152864
|
* @summary List a stream\'s broadcast sessions
|
|
@@ -152988,6 +153092,36 @@ export interface StreamsSessionsApiGetStreamSessionSubscriptionsRequest {
|
|
|
152988
153092
|
readonly search?: string
|
|
152989
153093
|
}
|
|
152990
153094
|
|
|
153095
|
+
/**
|
|
153096
|
+
* Request parameters for getStreamSessionViewers operation in StreamsSessionsApi.
|
|
153097
|
+
*/
|
|
153098
|
+
export interface StreamsSessionsApiGetStreamSessionViewersRequest {
|
|
153099
|
+
/**
|
|
153100
|
+
* The session identifier
|
|
153101
|
+
*/
|
|
153102
|
+
readonly sessionId: string
|
|
153103
|
+
|
|
153104
|
+
/**
|
|
153105
|
+
* Page number
|
|
153106
|
+
*/
|
|
153107
|
+
readonly page?: number
|
|
153108
|
+
|
|
153109
|
+
/**
|
|
153110
|
+
* Number of items per page
|
|
153111
|
+
*/
|
|
153112
|
+
readonly pageSize?: number
|
|
153113
|
+
|
|
153114
|
+
/**
|
|
153115
|
+
* Field to order by
|
|
153116
|
+
*/
|
|
153117
|
+
readonly orderBy?: string
|
|
153118
|
+
|
|
153119
|
+
/**
|
|
153120
|
+
* Search query
|
|
153121
|
+
*/
|
|
153122
|
+
readonly search?: string
|
|
153123
|
+
}
|
|
153124
|
+
|
|
152991
153125
|
/**
|
|
152992
153126
|
* Request parameters for getStreamSessions operation in StreamsSessionsApi.
|
|
152993
153127
|
*/
|
|
@@ -153149,6 +153283,17 @@ export class StreamsSessionsApi extends BaseAPI {
|
|
|
153149
153283
|
return StreamsSessionsApiFp(this.configuration).getStreamSessionSubscriptions(requestParameters.streamId, requestParameters.sessionId, requestParameters.active, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
153150
153284
|
}
|
|
153151
153285
|
|
|
153286
|
+
/**
|
|
153287
|
+
* Returns a paginated list of the accounts currently watching the given stream session, one row per account with how many active connections it holds and when its earliest one connected; the count is the number of people watching, where the subscriptions list counts connections. Requires read permission on streams.
|
|
153288
|
+
* @summary List the people watching a stream session
|
|
153289
|
+
* @param {StreamsSessionsApiGetStreamSessionViewersRequest} requestParameters Request parameters.
|
|
153290
|
+
* @param {*} [options] Override http request option.
|
|
153291
|
+
* @throws {RequiredError}
|
|
153292
|
+
*/
|
|
153293
|
+
public getStreamSessionViewers(requestParameters: StreamsSessionsApiGetStreamSessionViewersRequest, options?: RawAxiosRequestConfig) {
|
|
153294
|
+
return StreamsSessionsApiFp(this.configuration).getStreamSessionViewers(requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
153295
|
+
}
|
|
153296
|
+
|
|
153152
153297
|
/**
|
|
153153
153298
|
* Returns a paginated list of broadcast sessions for the given stream input, filterable by session status; requires read permission on streams.
|
|
153154
153299
|
* @summary List a stream\'s broadcast sessions
|
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: 13.
|
|
7
|
+
* The version of the OpenAPI document: 13.7.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: 13.
|
|
7
|
+
* The version of the OpenAPI document: 13.7.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: 13.
|
|
6
|
+
* The version of the OpenAPI document: 13.7.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: 13.
|
|
5
|
+
* The version of the OpenAPI document: 13.7.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -9697,6 +9697,15 @@ export interface GetStreamSessionByIdSubscriptions200Response {
|
|
|
9697
9697
|
export declare enum GetStreamSessionByIdSubscriptions200ResponseStatusEnum {
|
|
9698
9698
|
Ok = "ok"
|
|
9699
9699
|
}
|
|
9700
|
+
export interface GetStreamSessionViewers200Response {
|
|
9701
|
+
'status': GetStreamSessionViewers200ResponseStatusEnum;
|
|
9702
|
+
'message': string;
|
|
9703
|
+
'data': Array<StreamSessionViewer>;
|
|
9704
|
+
'count'?: number;
|
|
9705
|
+
}
|
|
9706
|
+
export declare enum GetStreamSessionViewers200ResponseStatusEnum {
|
|
9707
|
+
Ok = "ok"
|
|
9708
|
+
}
|
|
9700
9709
|
export interface GetStreamVideos200Response {
|
|
9701
9710
|
'status': GetStreamVideos200ResponseStatusEnum;
|
|
9702
9711
|
'message': string;
|
|
@@ -13485,6 +13494,12 @@ export interface StreamSessionUpdateInputs {
|
|
|
13485
13494
|
'eventId'?: string | null;
|
|
13486
13495
|
'eventSessionId'?: string | null;
|
|
13487
13496
|
}
|
|
13497
|
+
export interface StreamSessionViewer {
|
|
13498
|
+
'accountId': string | null;
|
|
13499
|
+
'account': BaseAccount | null;
|
|
13500
|
+
'activeConnections': number;
|
|
13501
|
+
'connectedAt': string;
|
|
13502
|
+
}
|
|
13488
13503
|
export interface StripeActivationFormParams {
|
|
13489
13504
|
'clientPublicKey': string;
|
|
13490
13505
|
'clientSecret': string;
|
|
@@ -83160,6 +83175,18 @@ export declare const StreamsSessionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
83160
83175
|
* @throws {RequiredError}
|
|
83161
83176
|
*/
|
|
83162
83177
|
getStreamSessionSubscriptions: (streamId: string, sessionId: string, active?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
83178
|
+
/**
|
|
83179
|
+
* Returns a paginated list of the accounts currently watching the given stream session, one row per account with how many active connections it holds and when its earliest one connected; the count is the number of people watching, where the subscriptions list counts connections. Requires read permission on streams.
|
|
83180
|
+
* @summary List the people watching a stream session
|
|
83181
|
+
* @param {string} sessionId The session identifier
|
|
83182
|
+
* @param {number} [page] Page number
|
|
83183
|
+
* @param {number} [pageSize] Number of items per page
|
|
83184
|
+
* @param {string} [orderBy] Field to order by
|
|
83185
|
+
* @param {string} [search] Search query
|
|
83186
|
+
* @param {*} [options] Override http request option.
|
|
83187
|
+
* @throws {RequiredError}
|
|
83188
|
+
*/
|
|
83189
|
+
getStreamSessionViewers: (sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
83163
83190
|
/**
|
|
83164
83191
|
* Returns a paginated list of broadcast sessions for the given stream input, filterable by session status; requires read permission on streams.
|
|
83165
83192
|
* @summary List a stream\'s broadcast sessions
|
|
@@ -83289,6 +83316,18 @@ export declare const StreamsSessionsApiFp: (configuration?: Configuration) => {
|
|
|
83289
83316
|
* @throws {RequiredError}
|
|
83290
83317
|
*/
|
|
83291
83318
|
getStreamSessionSubscriptions(streamId: string, sessionId: string, active?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStreamSessionByIdSubscriptions200Response>>;
|
|
83319
|
+
/**
|
|
83320
|
+
* Returns a paginated list of the accounts currently watching the given stream session, one row per account with how many active connections it holds and when its earliest one connected; the count is the number of people watching, where the subscriptions list counts connections. Requires read permission on streams.
|
|
83321
|
+
* @summary List the people watching a stream session
|
|
83322
|
+
* @param {string} sessionId The session identifier
|
|
83323
|
+
* @param {number} [page] Page number
|
|
83324
|
+
* @param {number} [pageSize] Number of items per page
|
|
83325
|
+
* @param {string} [orderBy] Field to order by
|
|
83326
|
+
* @param {string} [search] Search query
|
|
83327
|
+
* @param {*} [options] Override http request option.
|
|
83328
|
+
* @throws {RequiredError}
|
|
83329
|
+
*/
|
|
83330
|
+
getStreamSessionViewers(sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStreamSessionViewers200Response>>;
|
|
83292
83331
|
/**
|
|
83293
83332
|
* Returns a paginated list of broadcast sessions for the given stream input, filterable by session status; requires read permission on streams.
|
|
83294
83333
|
* @summary List a stream\'s broadcast sessions
|
|
@@ -83396,6 +83435,14 @@ export declare const StreamsSessionsApiFactory: (configuration?: Configuration,
|
|
|
83396
83435
|
* @throws {RequiredError}
|
|
83397
83436
|
*/
|
|
83398
83437
|
getStreamSessionSubscriptions(requestParameters: StreamsSessionsApiGetStreamSessionSubscriptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamSessionByIdSubscriptions200Response>;
|
|
83438
|
+
/**
|
|
83439
|
+
* Returns a paginated list of the accounts currently watching the given stream session, one row per account with how many active connections it holds and when its earliest one connected; the count is the number of people watching, where the subscriptions list counts connections. Requires read permission on streams.
|
|
83440
|
+
* @summary List the people watching a stream session
|
|
83441
|
+
* @param {StreamsSessionsApiGetStreamSessionViewersRequest} requestParameters Request parameters.
|
|
83442
|
+
* @param {*} [options] Override http request option.
|
|
83443
|
+
* @throws {RequiredError}
|
|
83444
|
+
*/
|
|
83445
|
+
getStreamSessionViewers(requestParameters: StreamsSessionsApiGetStreamSessionViewersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamSessionViewers200Response>;
|
|
83399
83446
|
/**
|
|
83400
83447
|
* Returns a paginated list of broadcast sessions for the given stream input, filterable by session status; requires read permission on streams.
|
|
83401
83448
|
* @summary List a stream\'s broadcast sessions
|
|
@@ -83591,6 +83638,31 @@ export interface StreamsSessionsApiGetStreamSessionSubscriptionsRequest {
|
|
|
83591
83638
|
*/
|
|
83592
83639
|
readonly search?: string;
|
|
83593
83640
|
}
|
|
83641
|
+
/**
|
|
83642
|
+
* Request parameters for getStreamSessionViewers operation in StreamsSessionsApi.
|
|
83643
|
+
*/
|
|
83644
|
+
export interface StreamsSessionsApiGetStreamSessionViewersRequest {
|
|
83645
|
+
/**
|
|
83646
|
+
* The session identifier
|
|
83647
|
+
*/
|
|
83648
|
+
readonly sessionId: string;
|
|
83649
|
+
/**
|
|
83650
|
+
* Page number
|
|
83651
|
+
*/
|
|
83652
|
+
readonly page?: number;
|
|
83653
|
+
/**
|
|
83654
|
+
* Number of items per page
|
|
83655
|
+
*/
|
|
83656
|
+
readonly pageSize?: number;
|
|
83657
|
+
/**
|
|
83658
|
+
* Field to order by
|
|
83659
|
+
*/
|
|
83660
|
+
readonly orderBy?: string;
|
|
83661
|
+
/**
|
|
83662
|
+
* Search query
|
|
83663
|
+
*/
|
|
83664
|
+
readonly search?: string;
|
|
83665
|
+
}
|
|
83594
83666
|
/**
|
|
83595
83667
|
* Request parameters for getStreamSessions operation in StreamsSessionsApi.
|
|
83596
83668
|
*/
|
|
@@ -83714,6 +83786,14 @@ export declare class StreamsSessionsApi extends BaseAPI {
|
|
|
83714
83786
|
* @throws {RequiredError}
|
|
83715
83787
|
*/
|
|
83716
83788
|
getStreamSessionSubscriptions(requestParameters: StreamsSessionsApiGetStreamSessionSubscriptionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStreamSessionByIdSubscriptions200Response, any, {}, any>>;
|
|
83789
|
+
/**
|
|
83790
|
+
* Returns a paginated list of the accounts currently watching the given stream session, one row per account with how many active connections it holds and when its earliest one connected; the count is the number of people watching, where the subscriptions list counts connections. Requires read permission on streams.
|
|
83791
|
+
* @summary List the people watching a stream session
|
|
83792
|
+
* @param {StreamsSessionsApiGetStreamSessionViewersRequest} requestParameters Request parameters.
|
|
83793
|
+
* @param {*} [options] Override http request option.
|
|
83794
|
+
* @throws {RequiredError}
|
|
83795
|
+
*/
|
|
83796
|
+
getStreamSessionViewers(requestParameters: StreamsSessionsApiGetStreamSessionViewersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStreamSessionViewers200Response, any, {}, any>>;
|
|
83717
83797
|
/**
|
|
83718
83798
|
* Returns a paginated list of broadcast sessions for the given stream input, filterable by session status; requires read permission on streams.
|
|
83719
83799
|
* @summary List a stream\'s broadcast sessions
|