@connectedxm/admin-sdk 16.12.0 → 16.14.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 +13 -0
- package/AdminApi.ts +3 -0
- package/README.md +2 -2
- package/api.ts +703 -11
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/AdminApi.d.ts +2 -1
- package/dist/AdminApi.js +1 -0
- package/dist/api.d.ts +412 -8
- package/dist/api.js +485 -39
- 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/AdminApi.d.ts +2 -1
- package/dist/esm/AdminApi.js +2 -1
- package/dist/esm/api.d.ts +412 -8
- package/dist/esm/api.js +452 -10
- 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/BaseEventSponsorshipPurchase.md +34 -0
- package/docs/BasePaymentIntent.md +2 -0
- package/docs/BasePaymentIntentLineItem.md +2 -0
- package/docs/BasePaymentLineItem.md +2 -0
- package/docs/BaseReplay.md +38 -0
- package/docs/BaseReplaySession.md +24 -0
- package/docs/BaseStreamInput.md +2 -0
- package/docs/BaseVideo.md +4 -0
- package/docs/CreateReplay200Response.md +24 -0
- package/docs/EventSession.md +4 -0
- package/docs/EventSessionAllOfCount.md +20 -0
- package/docs/EventSessionCreateInputs.md +2 -0
- package/docs/EventSessionUpdateInputs.md +2 -0
- package/docs/GetReplays200Response.md +26 -0
- package/docs/PaymentIntent.md +2 -0
- package/docs/PaymentIntentSource.md +6 -0
- package/docs/PaymentLineItem.md +4 -0
- package/docs/PaymentLineItemType.md +2 -0
- package/docs/Replay.md +40 -0
- package/docs/ReplayCreateInputs.md +26 -0
- package/docs/ReplayUpdateInputs.md +24 -0
- package/docs/ReplayVideo.md +50 -0
- package/docs/StreamInput.md +8 -0
- package/docs/StreamInputCreateInputs.md +2 -0
- package/docs/StreamInputUpdateInputs.md +2 -0
- package/docs/StreamsApi.md +7 -1
- package/docs/StreamsReplaysApi.md +293 -0
- package/docs/Video.md +10 -0
- package/docs/VideoAllOfStream.md +22 -0
- package/docs/VideoAllOfStreamSession.md +22 -0
- package/package.json +1 -1
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.14.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -546,6 +546,10 @@ export var CreatePreset200ResponseStatusEnum;
|
|
|
546
546
|
(function (CreatePreset200ResponseStatusEnum) {
|
|
547
547
|
CreatePreset200ResponseStatusEnum["Ok"] = "ok";
|
|
548
548
|
})(CreatePreset200ResponseStatusEnum || (CreatePreset200ResponseStatusEnum = {}));
|
|
549
|
+
export var CreateReplay200ResponseStatusEnum;
|
|
550
|
+
(function (CreateReplay200ResponseStatusEnum) {
|
|
551
|
+
CreateReplay200ResponseStatusEnum["Ok"] = "ok";
|
|
552
|
+
})(CreateReplay200ResponseStatusEnum || (CreateReplay200ResponseStatusEnum = {}));
|
|
549
553
|
export var CreateRoom200ResponseStatusEnum;
|
|
550
554
|
(function (CreateRoom200ResponseStatusEnum) {
|
|
551
555
|
CreateRoom200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -1920,6 +1924,10 @@ export var GetPushDevice200ResponseStatusEnum;
|
|
|
1920
1924
|
(function (GetPushDevice200ResponseStatusEnum) {
|
|
1921
1925
|
GetPushDevice200ResponseStatusEnum["Ok"] = "ok";
|
|
1922
1926
|
})(GetPushDevice200ResponseStatusEnum || (GetPushDevice200ResponseStatusEnum = {}));
|
|
1927
|
+
export var GetReplays200ResponseStatusEnum;
|
|
1928
|
+
(function (GetReplays200ResponseStatusEnum) {
|
|
1929
|
+
GetReplays200ResponseStatusEnum["Ok"] = "ok";
|
|
1930
|
+
})(GetReplays200ResponseStatusEnum || (GetReplays200ResponseStatusEnum = {}));
|
|
1923
1931
|
export var GetReport200ResponseStatusEnum;
|
|
1924
1932
|
(function (GetReport200ResponseStatusEnum) {
|
|
1925
1933
|
GetReport200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -2580,6 +2588,9 @@ export var PaymentIntentSource;
|
|
|
2580
2588
|
PaymentIntentSource["Booking"] = "booking";
|
|
2581
2589
|
PaymentIntentSource["Series"] = "series";
|
|
2582
2590
|
PaymentIntentSource["PlaceMembership"] = "placeMembership";
|
|
2591
|
+
PaymentIntentSource["Sponsorship"] = "sponsorship";
|
|
2592
|
+
PaymentIntentSource["Pass"] = "pass";
|
|
2593
|
+
PaymentIntentSource["Exchange"] = "exchange";
|
|
2583
2594
|
})(PaymentIntentSource || (PaymentIntentSource = {}));
|
|
2584
2595
|
export var PaymentLineItemType;
|
|
2585
2596
|
(function (PaymentLineItemType) {
|
|
@@ -2594,6 +2605,7 @@ export var PaymentLineItemType;
|
|
|
2594
2605
|
PaymentLineItemType["Coupon"] = "coupon";
|
|
2595
2606
|
PaymentLineItemType["Series"] = "series";
|
|
2596
2607
|
PaymentLineItemType["PlaceMembership"] = "placeMembership";
|
|
2608
|
+
PaymentLineItemType["Sponsorship"] = "sponsorship";
|
|
2597
2609
|
PaymentLineItemType["Refund"] = "refund";
|
|
2598
2610
|
})(PaymentLineItemType || (PaymentLineItemType = {}));
|
|
2599
2611
|
export var PaymentType;
|
|
@@ -106791,12 +106803,14 @@ export const StreamsApiAxiosParamCreator = function (configuration) {
|
|
|
106791
106803
|
};
|
|
106792
106804
|
}),
|
|
106793
106805
|
/**
|
|
106794
|
-
* Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, and by free-text search; requires read permission on streams.
|
|
106806
|
+
* Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity (a meeting-only input counts as not attached), and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
|
|
106795
106807
|
* @summary List an organization\'s stream inputs
|
|
106796
106808
|
* @param {string} [eventId] Filter by eventId
|
|
106797
106809
|
* @param {string} [sessionId] Filter by sessionId
|
|
106798
106810
|
* @param {string} [groupId] Filter by groupId
|
|
106799
106811
|
* @param {string} [meetingId] Filter by meetingId
|
|
106812
|
+
* @param {boolean} [connected] Filter by connected
|
|
106813
|
+
* @param {boolean} [attached] Filter by attached
|
|
106800
106814
|
* @param {number} [page] Page number
|
|
106801
106815
|
* @param {number} [pageSize] Number of items per page
|
|
106802
106816
|
* @param {string} [orderBy] Field to order by
|
|
@@ -106804,7 +106818,7 @@ export const StreamsApiAxiosParamCreator = function (configuration) {
|
|
|
106804
106818
|
* @param {*} [options] Override http request option.
|
|
106805
106819
|
* @throws {RequiredError}
|
|
106806
106820
|
*/
|
|
106807
|
-
getStreamInputs: (eventId_1, sessionId_1, groupId_1, meetingId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, groupId_1, meetingId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, sessionId, groupId, meetingId, page, pageSize, orderBy, search, options = {}) {
|
|
106821
|
+
getStreamInputs: (eventId_1, sessionId_1, groupId_1, meetingId_1, connected_1, attached_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, groupId_1, meetingId_1, connected_1, attached_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, sessionId, groupId, meetingId, connected, attached, page, pageSize, orderBy, search, options = {}) {
|
|
106808
106822
|
const localVarPath = `/streams`;
|
|
106809
106823
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
106810
106824
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -106831,6 +106845,12 @@ export const StreamsApiAxiosParamCreator = function (configuration) {
|
|
|
106831
106845
|
if (meetingId !== undefined) {
|
|
106832
106846
|
localVarQueryParameter['meetingId'] = meetingId;
|
|
106833
106847
|
}
|
|
106848
|
+
if (connected !== undefined) {
|
|
106849
|
+
localVarQueryParameter['connected'] = connected;
|
|
106850
|
+
}
|
|
106851
|
+
if (attached !== undefined) {
|
|
106852
|
+
localVarQueryParameter['attached'] = attached;
|
|
106853
|
+
}
|
|
106834
106854
|
if (page !== undefined) {
|
|
106835
106855
|
localVarQueryParameter['page'] = page;
|
|
106836
106856
|
}
|
|
@@ -107037,12 +107057,14 @@ export const StreamsApiFp = function (configuration) {
|
|
|
107037
107057
|
});
|
|
107038
107058
|
},
|
|
107039
107059
|
/**
|
|
107040
|
-
* Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, and by free-text search; requires read permission on streams.
|
|
107060
|
+
* Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity (a meeting-only input counts as not attached), and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
|
|
107041
107061
|
* @summary List an organization\'s stream inputs
|
|
107042
107062
|
* @param {string} [eventId] Filter by eventId
|
|
107043
107063
|
* @param {string} [sessionId] Filter by sessionId
|
|
107044
107064
|
* @param {string} [groupId] Filter by groupId
|
|
107045
107065
|
* @param {string} [meetingId] Filter by meetingId
|
|
107066
|
+
* @param {boolean} [connected] Filter by connected
|
|
107067
|
+
* @param {boolean} [attached] Filter by attached
|
|
107046
107068
|
* @param {number} [page] Page number
|
|
107047
107069
|
* @param {number} [pageSize] Number of items per page
|
|
107048
107070
|
* @param {string} [orderBy] Field to order by
|
|
@@ -107050,10 +107072,10 @@ export const StreamsApiFp = function (configuration) {
|
|
|
107050
107072
|
* @param {*} [options] Override http request option.
|
|
107051
107073
|
* @throws {RequiredError}
|
|
107052
107074
|
*/
|
|
107053
|
-
getStreamInputs(eventId, sessionId, groupId, meetingId, page, pageSize, orderBy, search, options) {
|
|
107075
|
+
getStreamInputs(eventId, sessionId, groupId, meetingId, connected, attached, page, pageSize, orderBy, search, options) {
|
|
107054
107076
|
return __awaiter(this, void 0, void 0, function* () {
|
|
107055
107077
|
var _a, _b, _c;
|
|
107056
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getStreamInputs(eventId, sessionId, groupId, meetingId, page, pageSize, orderBy, search, options);
|
|
107078
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getStreamInputs(eventId, sessionId, groupId, meetingId, connected, attached, page, pageSize, orderBy, search, options);
|
|
107057
107079
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
107058
107080
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsApi.getStreamInputs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
107059
107081
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -107152,14 +107174,14 @@ export const StreamsApiFactory = function (configuration, basePath, axios) {
|
|
|
107152
107174
|
return localVarFp.getStreamInput(requestParameters.streamId, options).then((request) => request(axios, basePath));
|
|
107153
107175
|
},
|
|
107154
107176
|
/**
|
|
107155
|
-
* Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, and by free-text search; requires read permission on streams.
|
|
107177
|
+
* Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity (a meeting-only input counts as not attached), and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
|
|
107156
107178
|
* @summary List an organization\'s stream inputs
|
|
107157
107179
|
* @param {StreamsApiGetStreamInputsRequest} requestParameters Request parameters.
|
|
107158
107180
|
* @param {*} [options] Override http request option.
|
|
107159
107181
|
* @throws {RequiredError}
|
|
107160
107182
|
*/
|
|
107161
107183
|
getStreamInputs(requestParameters = {}, options) {
|
|
107162
|
-
return localVarFp.getStreamInputs(requestParameters.eventId, requestParameters.sessionId, requestParameters.groupId, requestParameters.meetingId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
107184
|
+
return localVarFp.getStreamInputs(requestParameters.eventId, requestParameters.sessionId, requestParameters.groupId, requestParameters.meetingId, requestParameters.connected, requestParameters.attached, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
107163
107185
|
},
|
|
107164
107186
|
/**
|
|
107165
107187
|
* Returns a paginated list of recorded videos associated with the given stream, with optional search and ordering, and requires \"read\" permission on both streams and storage.
|
|
@@ -107228,14 +107250,14 @@ export class StreamsApi extends BaseAPI {
|
|
|
107228
107250
|
return StreamsApiFp(this.configuration).getStreamInput(requestParameters.streamId, options).then((request) => request(this.axios, this.basePath));
|
|
107229
107251
|
}
|
|
107230
107252
|
/**
|
|
107231
|
-
* Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, and by free-text search; requires read permission on streams.
|
|
107253
|
+
* Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity (a meeting-only input counts as not attached), and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
|
|
107232
107254
|
* @summary List an organization\'s stream inputs
|
|
107233
107255
|
* @param {StreamsApiGetStreamInputsRequest} requestParameters Request parameters.
|
|
107234
107256
|
* @param {*} [options] Override http request option.
|
|
107235
107257
|
* @throws {RequiredError}
|
|
107236
107258
|
*/
|
|
107237
107259
|
getStreamInputs(requestParameters = {}, options) {
|
|
107238
|
-
return StreamsApiFp(this.configuration).getStreamInputs(requestParameters.eventId, requestParameters.sessionId, requestParameters.groupId, requestParameters.meetingId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
107260
|
+
return StreamsApiFp(this.configuration).getStreamInputs(requestParameters.eventId, requestParameters.sessionId, requestParameters.groupId, requestParameters.meetingId, requestParameters.connected, requestParameters.attached, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
107239
107261
|
}
|
|
107240
107262
|
/**
|
|
107241
107263
|
* Returns a paginated list of recorded videos associated with the given stream, with optional search and ordering, and requires \"read\" permission on both streams and storage.
|
|
@@ -107693,6 +107715,426 @@ export class StreamsOutputsApi extends BaseAPI {
|
|
|
107693
107715
|
return StreamsOutputsApiFp(this.configuration).updateStreamInputOutput(requestParameters.streamId, requestParameters.outputId, requestParameters.streamInputOutputUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
107694
107716
|
}
|
|
107695
107717
|
}
|
|
107718
|
+
/**
|
|
107719
|
+
* StreamsReplaysApi - axios parameter creator
|
|
107720
|
+
*/
|
|
107721
|
+
export const StreamsReplaysApiAxiosParamCreator = function (configuration) {
|
|
107722
|
+
return {
|
|
107723
|
+
/**
|
|
107724
|
+
* Attaches a video from storage as a replay to exactly one session, event or group; a video can be a replay on several targets, but only once on each (a repeat returns 400 \"Replay already exists\"). Requires create permission on streams.
|
|
107725
|
+
* @summary Add a video as a replay
|
|
107726
|
+
* @param {ReplayCreateInputs} replayCreateInputs
|
|
107727
|
+
* @param {*} [options] Override http request option.
|
|
107728
|
+
* @throws {RequiredError}
|
|
107729
|
+
*/
|
|
107730
|
+
createReplay: (replayCreateInputs_1, ...args_1) => __awaiter(this, [replayCreateInputs_1, ...args_1], void 0, function* (replayCreateInputs, options = {}) {
|
|
107731
|
+
// verify required parameter 'replayCreateInputs' is not null or undefined
|
|
107732
|
+
assertParamExists('createReplay', 'replayCreateInputs', replayCreateInputs);
|
|
107733
|
+
const localVarPath = `/replays`;
|
|
107734
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
107735
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
107736
|
+
let baseOptions;
|
|
107737
|
+
if (configuration) {
|
|
107738
|
+
baseOptions = configuration.baseOptions;
|
|
107739
|
+
}
|
|
107740
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
107741
|
+
const localVarHeaderParameter = {};
|
|
107742
|
+
const localVarQueryParameter = {};
|
|
107743
|
+
// authentication ApiKeyAuth required
|
|
107744
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
107745
|
+
// authentication OrganizationId required
|
|
107746
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
107747
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
107748
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
107749
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107750
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107751
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
107752
|
+
localVarRequestOptions.data = serializeDataIfNeeded(replayCreateInputs, localVarRequestOptions, configuration);
|
|
107753
|
+
return {
|
|
107754
|
+
url: toPathString(localVarUrlObj),
|
|
107755
|
+
options: localVarRequestOptions,
|
|
107756
|
+
};
|
|
107757
|
+
}),
|
|
107758
|
+
/**
|
|
107759
|
+
* Detaches a replay from its session, event or group; the video stays in storage. Requires delete permission on streams.
|
|
107760
|
+
* @summary Remove a replay
|
|
107761
|
+
* @param {string} replayId The replay identifier
|
|
107762
|
+
* @param {*} [options] Override http request option.
|
|
107763
|
+
* @throws {RequiredError}
|
|
107764
|
+
*/
|
|
107765
|
+
deleteReplay: (replayId_1, ...args_1) => __awaiter(this, [replayId_1, ...args_1], void 0, function* (replayId, options = {}) {
|
|
107766
|
+
// verify required parameter 'replayId' is not null or undefined
|
|
107767
|
+
assertParamExists('deleteReplay', 'replayId', replayId);
|
|
107768
|
+
const localVarPath = `/replays/{replayId}`
|
|
107769
|
+
.replace('{replayId}', encodeURIComponent(String(replayId)));
|
|
107770
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
107771
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
107772
|
+
let baseOptions;
|
|
107773
|
+
if (configuration) {
|
|
107774
|
+
baseOptions = configuration.baseOptions;
|
|
107775
|
+
}
|
|
107776
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
107777
|
+
const localVarHeaderParameter = {};
|
|
107778
|
+
const localVarQueryParameter = {};
|
|
107779
|
+
// authentication ApiKeyAuth required
|
|
107780
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
107781
|
+
// authentication OrganizationId required
|
|
107782
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
107783
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
107784
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107785
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107786
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
107787
|
+
return {
|
|
107788
|
+
url: toPathString(localVarUrlObj),
|
|
107789
|
+
options: localVarRequestOptions,
|
|
107790
|
+
};
|
|
107791
|
+
}),
|
|
107792
|
+
/**
|
|
107793
|
+
* Returns a single replay with its video and the name of the session, event or group it is attached to; requires read permission on streams.
|
|
107794
|
+
* @summary Get a replay
|
|
107795
|
+
* @param {string} replayId The replay identifier
|
|
107796
|
+
* @param {*} [options] Override http request option.
|
|
107797
|
+
* @throws {RequiredError}
|
|
107798
|
+
*/
|
|
107799
|
+
getReplay: (replayId_1, ...args_1) => __awaiter(this, [replayId_1, ...args_1], void 0, function* (replayId, options = {}) {
|
|
107800
|
+
// verify required parameter 'replayId' is not null or undefined
|
|
107801
|
+
assertParamExists('getReplay', 'replayId', replayId);
|
|
107802
|
+
const localVarPath = `/replays/{replayId}`
|
|
107803
|
+
.replace('{replayId}', encodeURIComponent(String(replayId)));
|
|
107804
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
107805
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
107806
|
+
let baseOptions;
|
|
107807
|
+
if (configuration) {
|
|
107808
|
+
baseOptions = configuration.baseOptions;
|
|
107809
|
+
}
|
|
107810
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
107811
|
+
const localVarHeaderParameter = {};
|
|
107812
|
+
const localVarQueryParameter = {};
|
|
107813
|
+
// authentication ApiKeyAuth required
|
|
107814
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
107815
|
+
// authentication OrganizationId required
|
|
107816
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
107817
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
107818
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107819
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107820
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
107821
|
+
return {
|
|
107822
|
+
url: toPathString(localVarUrlObj),
|
|
107823
|
+
options: localVarRequestOptions,
|
|
107824
|
+
};
|
|
107825
|
+
}),
|
|
107826
|
+
/**
|
|
107827
|
+
* Returns a paginated list of the organization\'s replays, newest first, each with its video and the name of the session, event or group it is attached to, filterable by session, event, group or video; requires read permission on streams.
|
|
107828
|
+
* @summary List replays
|
|
107829
|
+
* @param {string} [sessionId] Filter by sessionId
|
|
107830
|
+
* @param {string} [eventId] Filter by eventId
|
|
107831
|
+
* @param {string} [groupId] Filter by groupId
|
|
107832
|
+
* @param {string} [videoId] Filter by videoId
|
|
107833
|
+
* @param {number} [page] Page number
|
|
107834
|
+
* @param {number} [pageSize] Number of items per page
|
|
107835
|
+
* @param {string} [orderBy] Field to order by
|
|
107836
|
+
* @param {string} [search] Search query
|
|
107837
|
+
* @param {*} [options] Override http request option.
|
|
107838
|
+
* @throws {RequiredError}
|
|
107839
|
+
*/
|
|
107840
|
+
getReplays: (sessionId_1, eventId_1, groupId_1, videoId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [sessionId_1, eventId_1, groupId_1, videoId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (sessionId, eventId, groupId, videoId, page, pageSize, orderBy, search, options = {}) {
|
|
107841
|
+
const localVarPath = `/replays`;
|
|
107842
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
107843
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
107844
|
+
let baseOptions;
|
|
107845
|
+
if (configuration) {
|
|
107846
|
+
baseOptions = configuration.baseOptions;
|
|
107847
|
+
}
|
|
107848
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
107849
|
+
const localVarHeaderParameter = {};
|
|
107850
|
+
const localVarQueryParameter = {};
|
|
107851
|
+
// authentication ApiKeyAuth required
|
|
107852
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
107853
|
+
// authentication OrganizationId required
|
|
107854
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
107855
|
+
if (sessionId !== undefined) {
|
|
107856
|
+
localVarQueryParameter['sessionId'] = sessionId;
|
|
107857
|
+
}
|
|
107858
|
+
if (eventId !== undefined) {
|
|
107859
|
+
localVarQueryParameter['eventId'] = eventId;
|
|
107860
|
+
}
|
|
107861
|
+
if (groupId !== undefined) {
|
|
107862
|
+
localVarQueryParameter['groupId'] = groupId;
|
|
107863
|
+
}
|
|
107864
|
+
if (videoId !== undefined) {
|
|
107865
|
+
localVarQueryParameter['videoId'] = videoId;
|
|
107866
|
+
}
|
|
107867
|
+
if (page !== undefined) {
|
|
107868
|
+
localVarQueryParameter['page'] = page;
|
|
107869
|
+
}
|
|
107870
|
+
if (pageSize !== undefined) {
|
|
107871
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
107872
|
+
}
|
|
107873
|
+
if (orderBy !== undefined) {
|
|
107874
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
107875
|
+
}
|
|
107876
|
+
if (search !== undefined) {
|
|
107877
|
+
localVarQueryParameter['search'] = search;
|
|
107878
|
+
}
|
|
107879
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
107880
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107881
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107882
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
107883
|
+
return {
|
|
107884
|
+
url: toPathString(localVarUrlObj),
|
|
107885
|
+
options: localVarRequestOptions,
|
|
107886
|
+
};
|
|
107887
|
+
}),
|
|
107888
|
+
/**
|
|
107889
|
+
* Moves a replay to exactly one other session, event or group in the organization; the video itself is unchanged. Requires update permission on streams.
|
|
107890
|
+
* @summary Move a replay
|
|
107891
|
+
* @param {string} replayId The replay identifier
|
|
107892
|
+
* @param {ReplayUpdateInputs} replayUpdateInputs
|
|
107893
|
+
* @param {*} [options] Override http request option.
|
|
107894
|
+
* @throws {RequiredError}
|
|
107895
|
+
*/
|
|
107896
|
+
updateReplay: (replayId_1, replayUpdateInputs_1, ...args_1) => __awaiter(this, [replayId_1, replayUpdateInputs_1, ...args_1], void 0, function* (replayId, replayUpdateInputs, options = {}) {
|
|
107897
|
+
// verify required parameter 'replayId' is not null or undefined
|
|
107898
|
+
assertParamExists('updateReplay', 'replayId', replayId);
|
|
107899
|
+
// verify required parameter 'replayUpdateInputs' is not null or undefined
|
|
107900
|
+
assertParamExists('updateReplay', 'replayUpdateInputs', replayUpdateInputs);
|
|
107901
|
+
const localVarPath = `/replays/{replayId}`
|
|
107902
|
+
.replace('{replayId}', encodeURIComponent(String(replayId)));
|
|
107903
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
107904
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
107905
|
+
let baseOptions;
|
|
107906
|
+
if (configuration) {
|
|
107907
|
+
baseOptions = configuration.baseOptions;
|
|
107908
|
+
}
|
|
107909
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
107910
|
+
const localVarHeaderParameter = {};
|
|
107911
|
+
const localVarQueryParameter = {};
|
|
107912
|
+
// authentication ApiKeyAuth required
|
|
107913
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
107914
|
+
// authentication OrganizationId required
|
|
107915
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
107916
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
107917
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
107918
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107919
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107920
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
107921
|
+
localVarRequestOptions.data = serializeDataIfNeeded(replayUpdateInputs, localVarRequestOptions, configuration);
|
|
107922
|
+
return {
|
|
107923
|
+
url: toPathString(localVarUrlObj),
|
|
107924
|
+
options: localVarRequestOptions,
|
|
107925
|
+
};
|
|
107926
|
+
}),
|
|
107927
|
+
};
|
|
107928
|
+
};
|
|
107929
|
+
/**
|
|
107930
|
+
* StreamsReplaysApi - functional programming interface
|
|
107931
|
+
*/
|
|
107932
|
+
export const StreamsReplaysApiFp = function (configuration) {
|
|
107933
|
+
const localVarAxiosParamCreator = StreamsReplaysApiAxiosParamCreator(configuration);
|
|
107934
|
+
return {
|
|
107935
|
+
/**
|
|
107936
|
+
* Attaches a video from storage as a replay to exactly one session, event or group; a video can be a replay on several targets, but only once on each (a repeat returns 400 \"Replay already exists\"). Requires create permission on streams.
|
|
107937
|
+
* @summary Add a video as a replay
|
|
107938
|
+
* @param {ReplayCreateInputs} replayCreateInputs
|
|
107939
|
+
* @param {*} [options] Override http request option.
|
|
107940
|
+
* @throws {RequiredError}
|
|
107941
|
+
*/
|
|
107942
|
+
createReplay(replayCreateInputs, options) {
|
|
107943
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107944
|
+
var _a, _b, _c;
|
|
107945
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createReplay(replayCreateInputs, options);
|
|
107946
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
107947
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsReplaysApi.createReplay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
107948
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
107949
|
+
});
|
|
107950
|
+
},
|
|
107951
|
+
/**
|
|
107952
|
+
* Detaches a replay from its session, event or group; the video stays in storage. Requires delete permission on streams.
|
|
107953
|
+
* @summary Remove a replay
|
|
107954
|
+
* @param {string} replayId The replay identifier
|
|
107955
|
+
* @param {*} [options] Override http request option.
|
|
107956
|
+
* @throws {RequiredError}
|
|
107957
|
+
*/
|
|
107958
|
+
deleteReplay(replayId, options) {
|
|
107959
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107960
|
+
var _a, _b, _c;
|
|
107961
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteReplay(replayId, options);
|
|
107962
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
107963
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsReplaysApi.deleteReplay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
107964
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
107965
|
+
});
|
|
107966
|
+
},
|
|
107967
|
+
/**
|
|
107968
|
+
* Returns a single replay with its video and the name of the session, event or group it is attached to; requires read permission on streams.
|
|
107969
|
+
* @summary Get a replay
|
|
107970
|
+
* @param {string} replayId The replay identifier
|
|
107971
|
+
* @param {*} [options] Override http request option.
|
|
107972
|
+
* @throws {RequiredError}
|
|
107973
|
+
*/
|
|
107974
|
+
getReplay(replayId, options) {
|
|
107975
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107976
|
+
var _a, _b, _c;
|
|
107977
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getReplay(replayId, options);
|
|
107978
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
107979
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsReplaysApi.getReplay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
107980
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
107981
|
+
});
|
|
107982
|
+
},
|
|
107983
|
+
/**
|
|
107984
|
+
* Returns a paginated list of the organization\'s replays, newest first, each with its video and the name of the session, event or group it is attached to, filterable by session, event, group or video; requires read permission on streams.
|
|
107985
|
+
* @summary List replays
|
|
107986
|
+
* @param {string} [sessionId] Filter by sessionId
|
|
107987
|
+
* @param {string} [eventId] Filter by eventId
|
|
107988
|
+
* @param {string} [groupId] Filter by groupId
|
|
107989
|
+
* @param {string} [videoId] Filter by videoId
|
|
107990
|
+
* @param {number} [page] Page number
|
|
107991
|
+
* @param {number} [pageSize] Number of items per page
|
|
107992
|
+
* @param {string} [orderBy] Field to order by
|
|
107993
|
+
* @param {string} [search] Search query
|
|
107994
|
+
* @param {*} [options] Override http request option.
|
|
107995
|
+
* @throws {RequiredError}
|
|
107996
|
+
*/
|
|
107997
|
+
getReplays(sessionId, eventId, groupId, videoId, page, pageSize, orderBy, search, options) {
|
|
107998
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107999
|
+
var _a, _b, _c;
|
|
108000
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getReplays(sessionId, eventId, groupId, videoId, page, pageSize, orderBy, search, options);
|
|
108001
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
108002
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsReplaysApi.getReplays']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
108003
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108004
|
+
});
|
|
108005
|
+
},
|
|
108006
|
+
/**
|
|
108007
|
+
* Moves a replay to exactly one other session, event or group in the organization; the video itself is unchanged. Requires update permission on streams.
|
|
108008
|
+
* @summary Move a replay
|
|
108009
|
+
* @param {string} replayId The replay identifier
|
|
108010
|
+
* @param {ReplayUpdateInputs} replayUpdateInputs
|
|
108011
|
+
* @param {*} [options] Override http request option.
|
|
108012
|
+
* @throws {RequiredError}
|
|
108013
|
+
*/
|
|
108014
|
+
updateReplay(replayId, replayUpdateInputs, options) {
|
|
108015
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
108016
|
+
var _a, _b, _c;
|
|
108017
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateReplay(replayId, replayUpdateInputs, options);
|
|
108018
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
108019
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsReplaysApi.updateReplay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
108020
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108021
|
+
});
|
|
108022
|
+
},
|
|
108023
|
+
};
|
|
108024
|
+
};
|
|
108025
|
+
/**
|
|
108026
|
+
* StreamsReplaysApi - factory interface
|
|
108027
|
+
*/
|
|
108028
|
+
export const StreamsReplaysApiFactory = function (configuration, basePath, axios) {
|
|
108029
|
+
const localVarFp = StreamsReplaysApiFp(configuration);
|
|
108030
|
+
return {
|
|
108031
|
+
/**
|
|
108032
|
+
* Attaches a video from storage as a replay to exactly one session, event or group; a video can be a replay on several targets, but only once on each (a repeat returns 400 \"Replay already exists\"). Requires create permission on streams.
|
|
108033
|
+
* @summary Add a video as a replay
|
|
108034
|
+
* @param {StreamsReplaysApiCreateReplayRequest} requestParameters Request parameters.
|
|
108035
|
+
* @param {*} [options] Override http request option.
|
|
108036
|
+
* @throws {RequiredError}
|
|
108037
|
+
*/
|
|
108038
|
+
createReplay(requestParameters, options) {
|
|
108039
|
+
return localVarFp.createReplay(requestParameters.replayCreateInputs, options).then((request) => request(axios, basePath));
|
|
108040
|
+
},
|
|
108041
|
+
/**
|
|
108042
|
+
* Detaches a replay from its session, event or group; the video stays in storage. Requires delete permission on streams.
|
|
108043
|
+
* @summary Remove a replay
|
|
108044
|
+
* @param {StreamsReplaysApiDeleteReplayRequest} requestParameters Request parameters.
|
|
108045
|
+
* @param {*} [options] Override http request option.
|
|
108046
|
+
* @throws {RequiredError}
|
|
108047
|
+
*/
|
|
108048
|
+
deleteReplay(requestParameters, options) {
|
|
108049
|
+
return localVarFp.deleteReplay(requestParameters.replayId, options).then((request) => request(axios, basePath));
|
|
108050
|
+
},
|
|
108051
|
+
/**
|
|
108052
|
+
* Returns a single replay with its video and the name of the session, event or group it is attached to; requires read permission on streams.
|
|
108053
|
+
* @summary Get a replay
|
|
108054
|
+
* @param {StreamsReplaysApiGetReplayRequest} requestParameters Request parameters.
|
|
108055
|
+
* @param {*} [options] Override http request option.
|
|
108056
|
+
* @throws {RequiredError}
|
|
108057
|
+
*/
|
|
108058
|
+
getReplay(requestParameters, options) {
|
|
108059
|
+
return localVarFp.getReplay(requestParameters.replayId, options).then((request) => request(axios, basePath));
|
|
108060
|
+
},
|
|
108061
|
+
/**
|
|
108062
|
+
* Returns a paginated list of the organization\'s replays, newest first, each with its video and the name of the session, event or group it is attached to, filterable by session, event, group or video; requires read permission on streams.
|
|
108063
|
+
* @summary List replays
|
|
108064
|
+
* @param {StreamsReplaysApiGetReplaysRequest} requestParameters Request parameters.
|
|
108065
|
+
* @param {*} [options] Override http request option.
|
|
108066
|
+
* @throws {RequiredError}
|
|
108067
|
+
*/
|
|
108068
|
+
getReplays(requestParameters = {}, options) {
|
|
108069
|
+
return localVarFp.getReplays(requestParameters.sessionId, requestParameters.eventId, requestParameters.groupId, requestParameters.videoId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
108070
|
+
},
|
|
108071
|
+
/**
|
|
108072
|
+
* Moves a replay to exactly one other session, event or group in the organization; the video itself is unchanged. Requires update permission on streams.
|
|
108073
|
+
* @summary Move a replay
|
|
108074
|
+
* @param {StreamsReplaysApiUpdateReplayRequest} requestParameters Request parameters.
|
|
108075
|
+
* @param {*} [options] Override http request option.
|
|
108076
|
+
* @throws {RequiredError}
|
|
108077
|
+
*/
|
|
108078
|
+
updateReplay(requestParameters, options) {
|
|
108079
|
+
return localVarFp.updateReplay(requestParameters.replayId, requestParameters.replayUpdateInputs, options).then((request) => request(axios, basePath));
|
|
108080
|
+
},
|
|
108081
|
+
};
|
|
108082
|
+
};
|
|
108083
|
+
/**
|
|
108084
|
+
* StreamsReplaysApi - object-oriented interface
|
|
108085
|
+
*/
|
|
108086
|
+
export class StreamsReplaysApi extends BaseAPI {
|
|
108087
|
+
/**
|
|
108088
|
+
* Attaches a video from storage as a replay to exactly one session, event or group; a video can be a replay on several targets, but only once on each (a repeat returns 400 \"Replay already exists\"). Requires create permission on streams.
|
|
108089
|
+
* @summary Add a video as a replay
|
|
108090
|
+
* @param {StreamsReplaysApiCreateReplayRequest} requestParameters Request parameters.
|
|
108091
|
+
* @param {*} [options] Override http request option.
|
|
108092
|
+
* @throws {RequiredError}
|
|
108093
|
+
*/
|
|
108094
|
+
createReplay(requestParameters, options) {
|
|
108095
|
+
return StreamsReplaysApiFp(this.configuration).createReplay(requestParameters.replayCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
108096
|
+
}
|
|
108097
|
+
/**
|
|
108098
|
+
* Detaches a replay from its session, event or group; the video stays in storage. Requires delete permission on streams.
|
|
108099
|
+
* @summary Remove a replay
|
|
108100
|
+
* @param {StreamsReplaysApiDeleteReplayRequest} requestParameters Request parameters.
|
|
108101
|
+
* @param {*} [options] Override http request option.
|
|
108102
|
+
* @throws {RequiredError}
|
|
108103
|
+
*/
|
|
108104
|
+
deleteReplay(requestParameters, options) {
|
|
108105
|
+
return StreamsReplaysApiFp(this.configuration).deleteReplay(requestParameters.replayId, options).then((request) => request(this.axios, this.basePath));
|
|
108106
|
+
}
|
|
108107
|
+
/**
|
|
108108
|
+
* Returns a single replay with its video and the name of the session, event or group it is attached to; requires read permission on streams.
|
|
108109
|
+
* @summary Get a replay
|
|
108110
|
+
* @param {StreamsReplaysApiGetReplayRequest} requestParameters Request parameters.
|
|
108111
|
+
* @param {*} [options] Override http request option.
|
|
108112
|
+
* @throws {RequiredError}
|
|
108113
|
+
*/
|
|
108114
|
+
getReplay(requestParameters, options) {
|
|
108115
|
+
return StreamsReplaysApiFp(this.configuration).getReplay(requestParameters.replayId, options).then((request) => request(this.axios, this.basePath));
|
|
108116
|
+
}
|
|
108117
|
+
/**
|
|
108118
|
+
* Returns a paginated list of the organization\'s replays, newest first, each with its video and the name of the session, event or group it is attached to, filterable by session, event, group or video; requires read permission on streams.
|
|
108119
|
+
* @summary List replays
|
|
108120
|
+
* @param {StreamsReplaysApiGetReplaysRequest} requestParameters Request parameters.
|
|
108121
|
+
* @param {*} [options] Override http request option.
|
|
108122
|
+
* @throws {RequiredError}
|
|
108123
|
+
*/
|
|
108124
|
+
getReplays(requestParameters = {}, options) {
|
|
108125
|
+
return StreamsReplaysApiFp(this.configuration).getReplays(requestParameters.sessionId, requestParameters.eventId, requestParameters.groupId, requestParameters.videoId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
108126
|
+
}
|
|
108127
|
+
/**
|
|
108128
|
+
* Moves a replay to exactly one other session, event or group in the organization; the video itself is unchanged. Requires update permission on streams.
|
|
108129
|
+
* @summary Move a replay
|
|
108130
|
+
* @param {StreamsReplaysApiUpdateReplayRequest} requestParameters Request parameters.
|
|
108131
|
+
* @param {*} [options] Override http request option.
|
|
108132
|
+
* @throws {RequiredError}
|
|
108133
|
+
*/
|
|
108134
|
+
updateReplay(requestParameters, options) {
|
|
108135
|
+
return StreamsReplaysApiFp(this.configuration).updateReplay(requestParameters.replayId, requestParameters.replayUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
108136
|
+
}
|
|
108137
|
+
}
|
|
107696
108138
|
/**
|
|
107697
108139
|
* StreamsSessionsApi - axios parameter creator
|
|
107698
108140
|
*/
|
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.14.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.14.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.14.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.14.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.14.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.14.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|