@bitmovin/api-sdk 1.180.0 → 1.182.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/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/account/organizations/OrganizationsApi.d.ts +2 -0
- package/dist/account/organizations/OrganizationsApi.js +2 -0
- package/dist/account/organizations/invitations/InvitationsApi.d.ts +20 -0
- package/dist/account/organizations/invitations/InvitationsApi.js +48 -0
- package/dist/bitmovin-api-sdk.browser.js +390 -67
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/configurations/CodecConfigurationListQueryParams.d.ts +11 -0
- package/dist/encoding/configurations/CodecConfigurationListQueryParams.js +8 -0
- package/dist/encoding/manifests/ManifestListQueryParams.d.ts +11 -0
- package/dist/encoding/manifests/ManifestListQueryParams.js +8 -0
- package/dist/encoding/manifests/dash/DashManifestListQueryParams.d.ts +11 -0
- package/dist/encoding/manifests/dash/DashManifestListQueryParams.js +8 -0
- package/dist/encoding/manifests/hls/HlsManifestListQueryParams.d.ts +11 -0
- package/dist/encoding/manifests/hls/HlsManifestListQueryParams.js +8 -0
- package/dist/encoding/manifests/smooth/SmoothStreamingManifestListQueryParams.d.ts +11 -0
- package/dist/encoding/manifests/smooth/SmoothStreamingManifestListQueryParams.js +8 -0
- package/dist/models/GenericS3Input.d.ts +13 -0
- package/dist/models/GenericS3Input.js +2 -0
- package/dist/models/GenericS3Output.d.ts +13 -0
- package/dist/models/GenericS3Output.js +2 -0
- package/dist/models/HlsManifestAdMarkerSettings.d.ts +15 -0
- package/dist/models/HlsManifestAdMarkerSettings.js +19 -0
- package/dist/models/HlsManifestAdMarkerType.d.ts +11 -0
- package/dist/models/HlsManifestAdMarkerType.js +15 -0
- package/dist/models/LiveHlsManifest.d.ts +7 -0
- package/dist/models/LiveHlsManifest.js +2 -0
- package/dist/models/OrganizationPendingInvitation.d.ts +32 -0
- package/dist/models/OrganizationPendingInvitation.js +22 -0
- package/dist/models/S3AccessStyle.d.ts +10 -0
- package/dist/models/S3AccessStyle.js +14 -0
- package/dist/models/StreamsLiveResponse.d.ts +5 -21
- package/dist/models/StreamsLiveResponse.js +36 -14
- package/dist/models/StreamsResponse.d.ts +46 -0
- package/dist/models/{StreamsSearchResponse.js → StreamsResponse.js} +12 -7
- package/dist/models/StreamsVideoResponse.d.ts +5 -21
- package/dist/models/StreamsVideoResponse.js +39 -17
- package/dist/models/index.d.ts +5 -1
- package/dist/models/index.js +5 -1
- package/dist/streams/StreamsApi.d.ts +2 -2
- package/dist/streams/StreamsApi.js +2 -2
- package/dist/streams/search/SearchApi.d.ts +3 -3
- package/dist/streams/search/SearchApi.js +4 -4
- package/dist/streams/search/StreamsResponseListQueryParams.d.ts +107 -0
- package/dist/streams/search/StreamsResponseListQueryParams.js +85 -0
- package/package.json +1 -1
- package/dist/models/StreamsSearchResponse.d.ts +0 -39
- package/dist/streams/search/StreamsSearchResponseListQueryParams.d.ts +0 -39
- package/dist/streams/search/StreamsSearchResponseListQueryParams.js +0 -37
|
@@ -1496,6 +1496,7 @@ var BaseAPI_1 = __webpack_require__(/*! ../../common/BaseAPI */ "./common/BaseAP
|
|
|
1496
1496
|
var Mapper_1 = __webpack_require__(/*! ../../common/Mapper */ "./common/Mapper.ts");
|
|
1497
1497
|
var SubOrganizationsApi_1 = __webpack_require__(/*! ./subOrganizations/SubOrganizationsApi */ "./account/organizations/subOrganizations/SubOrganizationsApi.ts");
|
|
1498
1498
|
var TenantsApi_1 = __webpack_require__(/*! ./tenants/TenantsApi */ "./account/organizations/tenants/TenantsApi.ts");
|
|
1499
|
+
var InvitationsApi_1 = __webpack_require__(/*! ./invitations/InvitationsApi */ "./account/organizations/invitations/InvitationsApi.ts");
|
|
1499
1500
|
var GroupsApi_1 = __webpack_require__(/*! ./groups/GroupsApi */ "./account/organizations/groups/GroupsApi.ts");
|
|
1500
1501
|
var Organization_1 = __webpack_require__(/*! ../../models/Organization */ "./models/Organization.ts");
|
|
1501
1502
|
var PaginationResponse_1 = __webpack_require__(/*! ../../models/PaginationResponse */ "./models/PaginationResponse.ts");
|
|
@@ -1511,6 +1512,7 @@ var OrganizationsApi = /** @class */ (function (_super) {
|
|
|
1511
1512
|
var _this = _super.call(this, configuration) || this;
|
|
1512
1513
|
_this.subOrganizations = new SubOrganizationsApi_1.default(configuration);
|
|
1513
1514
|
_this.tenants = new TenantsApi_1.default(configuration);
|
|
1515
|
+
_this.invitations = new InvitationsApi_1.default(configuration);
|
|
1514
1516
|
_this.groups = new GroupsApi_1.default(configuration);
|
|
1515
1517
|
return _this;
|
|
1516
1518
|
}
|
|
@@ -2112,6 +2114,65 @@ var TenantsApi = /** @class */ (function (_super) {
|
|
|
2112
2114
|
exports["default"] = TenantsApi;
|
|
2113
2115
|
|
|
2114
2116
|
|
|
2117
|
+
/***/ }),
|
|
2118
|
+
|
|
2119
|
+
/***/ "./account/organizations/invitations/InvitationsApi.ts":
|
|
2120
|
+
/*!*************************************************************!*\
|
|
2121
|
+
!*** ./account/organizations/invitations/InvitationsApi.ts ***!
|
|
2122
|
+
\*************************************************************/
|
|
2123
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2124
|
+
|
|
2125
|
+
"use strict";
|
|
2126
|
+
|
|
2127
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2128
|
+
var extendStatics = function (d, b) {
|
|
2129
|
+
extendStatics = Object.setPrototypeOf ||
|
|
2130
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2131
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
2132
|
+
return extendStatics(d, b);
|
|
2133
|
+
};
|
|
2134
|
+
return function (d, b) {
|
|
2135
|
+
if (typeof b !== "function" && b !== null)
|
|
2136
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
2137
|
+
extendStatics(d, b);
|
|
2138
|
+
function __() { this.constructor = d; }
|
|
2139
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2140
|
+
};
|
|
2141
|
+
})();
|
|
2142
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2143
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
2144
|
+
var OrganizationPendingInvitation_1 = __webpack_require__(/*! ../../../models/OrganizationPendingInvitation */ "./models/OrganizationPendingInvitation.ts");
|
|
2145
|
+
var PaginationResponse_1 = __webpack_require__(/*! ../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
|
|
2146
|
+
/**
|
|
2147
|
+
* InvitationsApi - object-oriented interface
|
|
2148
|
+
* @export
|
|
2149
|
+
* @class InvitationsApi
|
|
2150
|
+
* @extends {BaseAPI}
|
|
2151
|
+
*/
|
|
2152
|
+
var InvitationsApi = /** @class */ (function (_super) {
|
|
2153
|
+
__extends(InvitationsApi, _super);
|
|
2154
|
+
function InvitationsApi(configuration) {
|
|
2155
|
+
return _super.call(this, configuration) || this;
|
|
2156
|
+
}
|
|
2157
|
+
/**
|
|
2158
|
+
* @summary List all pending invitations of an org id
|
|
2159
|
+
* @param {string} organizationId Id of the organization
|
|
2160
|
+
* @throws {BitmovinError}
|
|
2161
|
+
* @memberof InvitationsApi
|
|
2162
|
+
*/
|
|
2163
|
+
InvitationsApi.prototype.list = function (organizationId) {
|
|
2164
|
+
var pathParamMap = {
|
|
2165
|
+
organization_id: organizationId
|
|
2166
|
+
};
|
|
2167
|
+
return this.restClient.get('/account/organizations/{organization_id}/invitations', pathParamMap).then(function (response) {
|
|
2168
|
+
return new PaginationResponse_1.default(response, OrganizationPendingInvitation_1.default);
|
|
2169
|
+
});
|
|
2170
|
+
};
|
|
2171
|
+
return InvitationsApi;
|
|
2172
|
+
}(BaseAPI_1.BaseAPI));
|
|
2173
|
+
exports["default"] = InvitationsApi;
|
|
2174
|
+
|
|
2175
|
+
|
|
2115
2176
|
/***/ }),
|
|
2116
2177
|
|
|
2117
2178
|
/***/ "./account/organizations/subOrganizations/OrganizationListQueryParams.ts":
|
|
@@ -6048,7 +6109,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
6048
6109
|
var headers = {
|
|
6049
6110
|
'X-Api-Key': apiKey,
|
|
6050
6111
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
6051
|
-
'X-Api-Client-Version': '1.
|
|
6112
|
+
'X-Api-Client-Version': '1.182.0',
|
|
6052
6113
|
'Content-Type': 'application/json'
|
|
6053
6114
|
};
|
|
6054
6115
|
if (tenantOrgId) {
|
|
@@ -6307,6 +6368,14 @@ var CodecConfigurationListQueryParamsBuilder = /** @class */ (function () {
|
|
|
6307
6368
|
this.internalParams.name = name;
|
|
6308
6369
|
return this;
|
|
6309
6370
|
};
|
|
6371
|
+
/**
|
|
6372
|
+
*
|
|
6373
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
6374
|
+
*/
|
|
6375
|
+
CodecConfigurationListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
6376
|
+
this.internalParams.sort = sort;
|
|
6377
|
+
return this;
|
|
6378
|
+
};
|
|
6310
6379
|
CodecConfigurationListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
6311
6380
|
return this.internalParams;
|
|
6312
6381
|
};
|
|
@@ -40251,6 +40320,14 @@ var ManifestListQueryParamsBuilder = /** @class */ (function () {
|
|
|
40251
40320
|
this.internalParams.limit = limit;
|
|
40252
40321
|
return this;
|
|
40253
40322
|
};
|
|
40323
|
+
/**
|
|
40324
|
+
*
|
|
40325
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
40326
|
+
*/
|
|
40327
|
+
ManifestListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
40328
|
+
this.internalParams.sort = sort;
|
|
40329
|
+
return this;
|
|
40330
|
+
};
|
|
40254
40331
|
ManifestListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
40255
40332
|
return this.internalParams;
|
|
40256
40333
|
};
|
|
@@ -40535,6 +40612,14 @@ var DashManifestListQueryParamsBuilder = /** @class */ (function () {
|
|
|
40535
40612
|
this.internalParams.limit = limit;
|
|
40536
40613
|
return this;
|
|
40537
40614
|
};
|
|
40615
|
+
/**
|
|
40616
|
+
*
|
|
40617
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
40618
|
+
*/
|
|
40619
|
+
DashManifestListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
40620
|
+
this.internalParams.sort = sort;
|
|
40621
|
+
return this;
|
|
40622
|
+
};
|
|
40538
40623
|
/**
|
|
40539
40624
|
*
|
|
40540
40625
|
* @param encodingId Get the manifests that belong to that encoding id
|
|
@@ -45110,6 +45195,14 @@ var HlsManifestListQueryParamsBuilder = /** @class */ (function () {
|
|
|
45110
45195
|
this.internalParams.limit = limit;
|
|
45111
45196
|
return this;
|
|
45112
45197
|
};
|
|
45198
|
+
/**
|
|
45199
|
+
*
|
|
45200
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
45201
|
+
*/
|
|
45202
|
+
HlsManifestListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
45203
|
+
this.internalParams.sort = sort;
|
|
45204
|
+
return this;
|
|
45205
|
+
};
|
|
45113
45206
|
/**
|
|
45114
45207
|
*
|
|
45115
45208
|
* @param encodingId Get the manifests that belong to that encoding id
|
|
@@ -47007,6 +47100,14 @@ var SmoothStreamingManifestListQueryParamsBuilder = /** @class */ (function () {
|
|
|
47007
47100
|
this.internalParams.limit = limit;
|
|
47008
47101
|
return this;
|
|
47009
47102
|
};
|
|
47103
|
+
/**
|
|
47104
|
+
*
|
|
47105
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
47106
|
+
*/
|
|
47107
|
+
SmoothStreamingManifestListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
47108
|
+
this.internalParams.sort = sort;
|
|
47109
|
+
return this;
|
|
47110
|
+
};
|
|
47010
47111
|
/**
|
|
47011
47112
|
*
|
|
47012
47113
|
* @param encodingId Get the manifests that belong to that encoding id
|
|
@@ -69609,9 +69710,11 @@ var GenericS3Input = /** @class */ (function (_super) {
|
|
|
69609
69710
|
_this.host = (0, Mapper_1.map)(obj.host);
|
|
69610
69711
|
_this.port = (0, Mapper_1.map)(obj.port);
|
|
69611
69712
|
_this.ssl = (0, Mapper_1.map)(obj.ssl);
|
|
69713
|
+
_this.signingRegion = (0, Mapper_1.map)(obj.signingRegion);
|
|
69612
69714
|
_this.signatureVersion = (0, Mapper_1.map)(obj.signatureVersion);
|
|
69613
69715
|
_this.accessKey = (0, Mapper_1.map)(obj.accessKey);
|
|
69614
69716
|
_this.secretKey = (0, Mapper_1.map)(obj.secretKey);
|
|
69717
|
+
_this.accessStyle = (0, Mapper_1.map)(obj.accessStyle);
|
|
69615
69718
|
return _this;
|
|
69616
69719
|
}
|
|
69617
69720
|
return GenericS3Input;
|
|
@@ -69673,7 +69776,9 @@ var GenericS3Output = /** @class */ (function (_super) {
|
|
|
69673
69776
|
_this.host = (0, Mapper_1.map)(obj.host);
|
|
69674
69777
|
_this.port = (0, Mapper_1.map)(obj.port);
|
|
69675
69778
|
_this.ssl = (0, Mapper_1.map)(obj.ssl);
|
|
69779
|
+
_this.signingRegion = (0, Mapper_1.map)(obj.signingRegion);
|
|
69676
69780
|
_this.signatureVersion = (0, Mapper_1.map)(obj.signatureVersion);
|
|
69781
|
+
_this.accessStyle = (0, Mapper_1.map)(obj.accessStyle);
|
|
69677
69782
|
return _this;
|
|
69678
69783
|
}
|
|
69679
69784
|
return GenericS3Output;
|
|
@@ -70915,6 +71020,62 @@ exports.HlsManifest = HlsManifest;
|
|
|
70915
71020
|
exports["default"] = HlsManifest;
|
|
70916
71021
|
|
|
70917
71022
|
|
|
71023
|
+
/***/ }),
|
|
71024
|
+
|
|
71025
|
+
/***/ "./models/HlsManifestAdMarkerSettings.ts":
|
|
71026
|
+
/*!***********************************************!*\
|
|
71027
|
+
!*** ./models/HlsManifestAdMarkerSettings.ts ***!
|
|
71028
|
+
\***********************************************/
|
|
71029
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
71030
|
+
|
|
71031
|
+
"use strict";
|
|
71032
|
+
|
|
71033
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
71034
|
+
exports.HlsManifestAdMarkerSettings = void 0;
|
|
71035
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
71036
|
+
/**
|
|
71037
|
+
* @export
|
|
71038
|
+
* @class HlsManifestAdMarkerSettings
|
|
71039
|
+
*/
|
|
71040
|
+
var HlsManifestAdMarkerSettings = /** @class */ (function () {
|
|
71041
|
+
function HlsManifestAdMarkerSettings(obj) {
|
|
71042
|
+
if (!obj) {
|
|
71043
|
+
return;
|
|
71044
|
+
}
|
|
71045
|
+
this.enabledMarkerTypes = (0, Mapper_1.mapArray)(obj.enabledMarkerTypes);
|
|
71046
|
+
}
|
|
71047
|
+
return HlsManifestAdMarkerSettings;
|
|
71048
|
+
}());
|
|
71049
|
+
exports.HlsManifestAdMarkerSettings = HlsManifestAdMarkerSettings;
|
|
71050
|
+
exports["default"] = HlsManifestAdMarkerSettings;
|
|
71051
|
+
|
|
71052
|
+
|
|
71053
|
+
/***/ }),
|
|
71054
|
+
|
|
71055
|
+
/***/ "./models/HlsManifestAdMarkerType.ts":
|
|
71056
|
+
/*!*******************************************!*\
|
|
71057
|
+
!*** ./models/HlsManifestAdMarkerType.ts ***!
|
|
71058
|
+
\*******************************************/
|
|
71059
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
71060
|
+
|
|
71061
|
+
"use strict";
|
|
71062
|
+
|
|
71063
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
71064
|
+
exports.HlsManifestAdMarkerType = void 0;
|
|
71065
|
+
/**
|
|
71066
|
+
* HLS Manifest ad marker types
|
|
71067
|
+
* @export
|
|
71068
|
+
* @enum {string}
|
|
71069
|
+
*/
|
|
71070
|
+
var HlsManifestAdMarkerType;
|
|
71071
|
+
(function (HlsManifestAdMarkerType) {
|
|
71072
|
+
HlsManifestAdMarkerType["EXT_X_CUE_OUT_IN"] = "EXT_X_CUE_OUT_IN";
|
|
71073
|
+
HlsManifestAdMarkerType["EXT_OATCLS_SCTE35"] = "EXT_OATCLS_SCTE35";
|
|
71074
|
+
HlsManifestAdMarkerType["EXT_X_SPLICEPOINT_SCTE35"] = "EXT_X_SPLICEPOINT_SCTE35";
|
|
71075
|
+
})(HlsManifestAdMarkerType || (exports.HlsManifestAdMarkerType = HlsManifestAdMarkerType = {}));
|
|
71076
|
+
exports["default"] = HlsManifestAdMarkerType;
|
|
71077
|
+
|
|
71078
|
+
|
|
70918
71079
|
/***/ }),
|
|
70919
71080
|
|
|
70920
71081
|
/***/ "./models/HlsManifestDefault.ts":
|
|
@@ -73024,6 +73185,7 @@ exports["default"] = LiveEncodingStatus;
|
|
|
73024
73185
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
73025
73186
|
exports.LiveHlsManifest = void 0;
|
|
73026
73187
|
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
73188
|
+
var HlsManifestAdMarkerSettings_1 = __webpack_require__(/*! ./HlsManifestAdMarkerSettings */ "./models/HlsManifestAdMarkerSettings.ts");
|
|
73027
73189
|
var ProgramDateTimeSettings_1 = __webpack_require__(/*! ./ProgramDateTimeSettings */ "./models/ProgramDateTimeSettings.ts");
|
|
73028
73190
|
/**
|
|
73029
73191
|
* @export
|
|
@@ -73039,6 +73201,7 @@ var LiveHlsManifest = /** @class */ (function () {
|
|
|
73039
73201
|
this.liveEdgeOffset = (0, Mapper_1.map)(obj.liveEdgeOffset);
|
|
73040
73202
|
this.insertProgramDateTime = (0, Mapper_1.map)(obj.insertProgramDateTime);
|
|
73041
73203
|
this.programDateTimeSettings = (0, Mapper_1.map)(obj.programDateTimeSettings, ProgramDateTimeSettings_1.default);
|
|
73204
|
+
this.adMarkerSettings = (0, Mapper_1.map)(obj.adMarkerSettings, HlsManifestAdMarkerSettings_1.default);
|
|
73042
73205
|
}
|
|
73043
73206
|
return LiveHlsManifest;
|
|
73044
73207
|
}());
|
|
@@ -75135,6 +75298,39 @@ exports.Organization = Organization;
|
|
|
75135
75298
|
exports["default"] = Organization;
|
|
75136
75299
|
|
|
75137
75300
|
|
|
75301
|
+
/***/ }),
|
|
75302
|
+
|
|
75303
|
+
/***/ "./models/OrganizationPendingInvitation.ts":
|
|
75304
|
+
/*!*************************************************!*\
|
|
75305
|
+
!*** ./models/OrganizationPendingInvitation.ts ***!
|
|
75306
|
+
\*************************************************/
|
|
75307
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
75308
|
+
|
|
75309
|
+
"use strict";
|
|
75310
|
+
|
|
75311
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
75312
|
+
exports.OrganizationPendingInvitation = void 0;
|
|
75313
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
75314
|
+
/**
|
|
75315
|
+
* @export
|
|
75316
|
+
* @class OrganizationPendingInvitation
|
|
75317
|
+
*/
|
|
75318
|
+
var OrganizationPendingInvitation = /** @class */ (function () {
|
|
75319
|
+
function OrganizationPendingInvitation(obj) {
|
|
75320
|
+
if (!obj) {
|
|
75321
|
+
return;
|
|
75322
|
+
}
|
|
75323
|
+
this.id = (0, Mapper_1.map)(obj.id);
|
|
75324
|
+
this.email = (0, Mapper_1.map)(obj.email);
|
|
75325
|
+
this.groupId = (0, Mapper_1.map)(obj.groupId);
|
|
75326
|
+
this.groupName = (0, Mapper_1.map)(obj.groupName);
|
|
75327
|
+
}
|
|
75328
|
+
return OrganizationPendingInvitation;
|
|
75329
|
+
}());
|
|
75330
|
+
exports.OrganizationPendingInvitation = OrganizationPendingInvitation;
|
|
75331
|
+
exports["default"] = OrganizationPendingInvitation;
|
|
75332
|
+
|
|
75333
|
+
|
|
75138
75334
|
/***/ }),
|
|
75139
75335
|
|
|
75140
75336
|
/***/ "./models/OrganizationType.ts":
|
|
@@ -77996,6 +78192,31 @@ exports.RtmpInput = RtmpInput;
|
|
|
77996
78192
|
exports["default"] = RtmpInput;
|
|
77997
78193
|
|
|
77998
78194
|
|
|
78195
|
+
/***/ }),
|
|
78196
|
+
|
|
78197
|
+
/***/ "./models/S3AccessStyle.ts":
|
|
78198
|
+
/*!*********************************!*\
|
|
78199
|
+
!*** ./models/S3AccessStyle.ts ***!
|
|
78200
|
+
\*********************************/
|
|
78201
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
78202
|
+
|
|
78203
|
+
"use strict";
|
|
78204
|
+
|
|
78205
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
78206
|
+
exports.S3AccessStyle = void 0;
|
|
78207
|
+
/**
|
|
78208
|
+
* Specifies whether to use path or virtual-hosted style access
|
|
78209
|
+
* @export
|
|
78210
|
+
* @enum {string}
|
|
78211
|
+
*/
|
|
78212
|
+
var S3AccessStyle;
|
|
78213
|
+
(function (S3AccessStyle) {
|
|
78214
|
+
S3AccessStyle["VIRTUAL_HOSTED"] = "VIRTUAL_HOSTED";
|
|
78215
|
+
S3AccessStyle["PATH"] = "PATH";
|
|
78216
|
+
})(S3AccessStyle || (exports.S3AccessStyle = S3AccessStyle = {}));
|
|
78217
|
+
exports["default"] = S3AccessStyle;
|
|
78218
|
+
|
|
78219
|
+
|
|
77999
78220
|
/***/ }),
|
|
78000
78221
|
|
|
78001
78222
|
/***/ "./models/S3Input.ts":
|
|
@@ -82642,39 +82863,61 @@ exports["default"] = StreamsLiveLifeCycle;
|
|
|
82642
82863
|
/*!***************************************!*\
|
|
82643
82864
|
!*** ./models/StreamsLiveResponse.ts ***!
|
|
82644
82865
|
\***************************************/
|
|
82645
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
82866
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
82646
82867
|
|
|
82647
82868
|
"use strict";
|
|
82648
82869
|
|
|
82870
|
+
var __extends = (this && this.__extends) || (function () {
|
|
82871
|
+
var extendStatics = function (d, b) {
|
|
82872
|
+
extendStatics = Object.setPrototypeOf ||
|
|
82873
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
82874
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
82875
|
+
return extendStatics(d, b);
|
|
82876
|
+
};
|
|
82877
|
+
return function (d, b) {
|
|
82878
|
+
if (typeof b !== "function" && b !== null)
|
|
82879
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
82880
|
+
extendStatics(d, b);
|
|
82881
|
+
function __() { this.constructor = d; }
|
|
82882
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
82883
|
+
};
|
|
82884
|
+
})();
|
|
82649
82885
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
82650
82886
|
exports.StreamsLiveResponse = void 0;
|
|
82651
82887
|
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
82652
82888
|
var StreamsAdConfigResponse_1 = __webpack_require__(/*! ./StreamsAdConfigResponse */ "./models/StreamsAdConfigResponse.ts");
|
|
82653
82889
|
var StreamsContentProtectionResponse_1 = __webpack_require__(/*! ./StreamsContentProtectionResponse */ "./models/StreamsContentProtectionResponse.ts");
|
|
82890
|
+
var StreamsResponse_1 = __webpack_require__(/*! ./StreamsResponse */ "./models/StreamsResponse.ts");
|
|
82654
82891
|
var StreamsStyleConfigResponse_1 = __webpack_require__(/*! ./StreamsStyleConfigResponse */ "./models/StreamsStyleConfigResponse.ts");
|
|
82892
|
+
var StreamsType_1 = __webpack_require__(/*! ./StreamsType */ "./models/StreamsType.ts");
|
|
82655
82893
|
/**
|
|
82656
82894
|
* @export
|
|
82657
82895
|
* @class StreamsLiveResponse
|
|
82658
82896
|
*/
|
|
82659
|
-
var StreamsLiveResponse = /** @class */ (function () {
|
|
82897
|
+
var StreamsLiveResponse = /** @class */ (function (_super) {
|
|
82898
|
+
__extends(StreamsLiveResponse, _super);
|
|
82660
82899
|
function StreamsLiveResponse(obj) {
|
|
82900
|
+
var _this = _super.call(this, obj) || this;
|
|
82901
|
+
/**
|
|
82902
|
+
* Discriminator property for StreamsResponse
|
|
82903
|
+
* @type {string}
|
|
82904
|
+
* @memberof StreamsLiveResponse
|
|
82905
|
+
*/
|
|
82906
|
+
_this.type = StreamsType_1.default.LIVE;
|
|
82661
82907
|
if (!obj) {
|
|
82662
|
-
return;
|
|
82908
|
+
return _this;
|
|
82663
82909
|
}
|
|
82664
|
-
|
|
82665
|
-
|
|
82666
|
-
|
|
82667
|
-
|
|
82668
|
-
|
|
82669
|
-
|
|
82670
|
-
|
|
82671
|
-
|
|
82672
|
-
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
82673
|
-
this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
82674
|
-
this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
82910
|
+
_this.streamKey = (0, Mapper_1.map)(obj.streamKey);
|
|
82911
|
+
_this.lifeCycle = (0, Mapper_1.map)(obj.lifeCycle);
|
|
82912
|
+
_this.styleConfig = (0, Mapper_1.map)(obj.styleConfig, StreamsStyleConfigResponse_1.default);
|
|
82913
|
+
_this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
82914
|
+
_this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
82915
|
+
_this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
82916
|
+
_this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
82917
|
+
return _this;
|
|
82675
82918
|
}
|
|
82676
82919
|
return StreamsLiveResponse;
|
|
82677
|
-
}());
|
|
82920
|
+
}(StreamsResponse_1.default));
|
|
82678
82921
|
exports.StreamsLiveResponse = StreamsLiveResponse;
|
|
82679
82922
|
exports["default"] = StreamsLiveResponse;
|
|
82680
82923
|
|
|
@@ -82775,23 +83018,23 @@ exports["default"] = StreamsPublicSigningKeyResponse;
|
|
|
82775
83018
|
|
|
82776
83019
|
/***/ }),
|
|
82777
83020
|
|
|
82778
|
-
/***/ "./models/
|
|
82779
|
-
|
|
82780
|
-
!*** ./models/
|
|
82781
|
-
|
|
83021
|
+
/***/ "./models/StreamsResponse.ts":
|
|
83022
|
+
/*!***********************************!*\
|
|
83023
|
+
!*** ./models/StreamsResponse.ts ***!
|
|
83024
|
+
\***********************************/
|
|
82782
83025
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
82783
83026
|
|
|
82784
83027
|
"use strict";
|
|
82785
83028
|
|
|
82786
83029
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
82787
|
-
exports.
|
|
83030
|
+
exports.StreamsResponse = void 0;
|
|
82788
83031
|
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
82789
83032
|
/**
|
|
82790
83033
|
* @export
|
|
82791
|
-
* @class
|
|
83034
|
+
* @class StreamsResponse
|
|
82792
83035
|
*/
|
|
82793
|
-
var
|
|
82794
|
-
function
|
|
83036
|
+
var StreamsResponse = /** @class */ (function () {
|
|
83037
|
+
function StreamsResponse(obj) {
|
|
82795
83038
|
if (!obj) {
|
|
82796
83039
|
return;
|
|
82797
83040
|
}
|
|
@@ -82801,10 +83044,15 @@ var StreamsSearchResponse = /** @class */ (function () {
|
|
|
82801
83044
|
this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
|
|
82802
83045
|
this.type = (0, Mapper_1.map)(obj.type);
|
|
82803
83046
|
}
|
|
82804
|
-
|
|
83047
|
+
StreamsResponse._discriminatorName = 'type';
|
|
83048
|
+
StreamsResponse._discriminatorMapping = {
|
|
83049
|
+
VIDEO: 'StreamsVideoResponse',
|
|
83050
|
+
LIVE: 'StreamsLiveResponse'
|
|
83051
|
+
};
|
|
83052
|
+
return StreamsResponse;
|
|
82805
83053
|
}());
|
|
82806
|
-
exports.
|
|
82807
|
-
exports["default"] =
|
|
83054
|
+
exports.StreamsResponse = StreamsResponse;
|
|
83055
|
+
exports["default"] = StreamsResponse;
|
|
82808
83056
|
|
|
82809
83057
|
|
|
82810
83058
|
/***/ }),
|
|
@@ -83083,43 +83331,65 @@ exports["default"] = StreamsVideoQuality;
|
|
|
83083
83331
|
/*!****************************************!*\
|
|
83084
83332
|
!*** ./models/StreamsVideoResponse.ts ***!
|
|
83085
83333
|
\****************************************/
|
|
83086
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
83334
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
83087
83335
|
|
|
83088
83336
|
"use strict";
|
|
83089
83337
|
|
|
83338
|
+
var __extends = (this && this.__extends) || (function () {
|
|
83339
|
+
var extendStatics = function (d, b) {
|
|
83340
|
+
extendStatics = Object.setPrototypeOf ||
|
|
83341
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
83342
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
83343
|
+
return extendStatics(d, b);
|
|
83344
|
+
};
|
|
83345
|
+
return function (d, b) {
|
|
83346
|
+
if (typeof b !== "function" && b !== null)
|
|
83347
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
83348
|
+
extendStatics(d, b);
|
|
83349
|
+
function __() { this.constructor = d; }
|
|
83350
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
83351
|
+
};
|
|
83352
|
+
})();
|
|
83090
83353
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
83091
83354
|
exports.StreamsVideoResponse = void 0;
|
|
83092
83355
|
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
83093
83356
|
var StreamsAdConfigResponse_1 = __webpack_require__(/*! ./StreamsAdConfigResponse */ "./models/StreamsAdConfigResponse.ts");
|
|
83094
83357
|
var StreamsContentProtectionResponse_1 = __webpack_require__(/*! ./StreamsContentProtectionResponse */ "./models/StreamsContentProtectionResponse.ts");
|
|
83358
|
+
var StreamsResponse_1 = __webpack_require__(/*! ./StreamsResponse */ "./models/StreamsResponse.ts");
|
|
83095
83359
|
var StreamsStyleConfigResponse_1 = __webpack_require__(/*! ./StreamsStyleConfigResponse */ "./models/StreamsStyleConfigResponse.ts");
|
|
83360
|
+
var StreamsType_1 = __webpack_require__(/*! ./StreamsType */ "./models/StreamsType.ts");
|
|
83096
83361
|
var StreamsVideoEncodingTask_1 = __webpack_require__(/*! ./StreamsVideoEncodingTask */ "./models/StreamsVideoEncodingTask.ts");
|
|
83097
83362
|
/**
|
|
83098
83363
|
* @export
|
|
83099
83364
|
* @class StreamsVideoResponse
|
|
83100
83365
|
*/
|
|
83101
|
-
var StreamsVideoResponse = /** @class */ (function () {
|
|
83366
|
+
var StreamsVideoResponse = /** @class */ (function (_super) {
|
|
83367
|
+
__extends(StreamsVideoResponse, _super);
|
|
83102
83368
|
function StreamsVideoResponse(obj) {
|
|
83369
|
+
var _this = _super.call(this, obj) || this;
|
|
83370
|
+
/**
|
|
83371
|
+
* Discriminator property for StreamsResponse
|
|
83372
|
+
* @type {string}
|
|
83373
|
+
* @memberof StreamsVideoResponse
|
|
83374
|
+
*/
|
|
83375
|
+
_this.type = StreamsType_1.default.VIDEO;
|
|
83103
83376
|
if (!obj) {
|
|
83104
|
-
return;
|
|
83377
|
+
return _this;
|
|
83105
83378
|
}
|
|
83106
|
-
|
|
83107
|
-
|
|
83108
|
-
|
|
83109
|
-
|
|
83110
|
-
|
|
83111
|
-
|
|
83112
|
-
|
|
83113
|
-
|
|
83114
|
-
|
|
83115
|
-
|
|
83116
|
-
|
|
83117
|
-
this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
83118
|
-
this.downloadUrl = (0, Mapper_1.map)(obj.downloadUrl);
|
|
83119
|
-
this.signed = (0, Mapper_1.map)(obj.signed);
|
|
83379
|
+
_this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
|
|
83380
|
+
_this.status = (0, Mapper_1.map)(obj.status);
|
|
83381
|
+
_this.styleConfig = (0, Mapper_1.map)(obj.styleConfig, StreamsStyleConfigResponse_1.default);
|
|
83382
|
+
_this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, StreamsVideoEncodingTask_1.default);
|
|
83383
|
+
_this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
83384
|
+
_this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
83385
|
+
_this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
83386
|
+
_this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
83387
|
+
_this.downloadUrl = (0, Mapper_1.map)(obj.downloadUrl);
|
|
83388
|
+
_this.signed = (0, Mapper_1.map)(obj.signed);
|
|
83389
|
+
return _this;
|
|
83120
83390
|
}
|
|
83121
83391
|
return StreamsVideoResponse;
|
|
83122
|
-
}());
|
|
83392
|
+
}(StreamsResponse_1.default));
|
|
83123
83393
|
exports.StreamsVideoResponse = StreamsVideoResponse;
|
|
83124
83394
|
exports["default"] = StreamsVideoResponse;
|
|
83125
83395
|
|
|
@@ -86883,6 +87153,8 @@ __exportStar(__webpack_require__(/*! ./HistoryEncoding */ "./models/HistoryEncod
|
|
|
86883
87153
|
__exportStar(__webpack_require__(/*! ./HistoryMuxing */ "./models/HistoryMuxing.ts"), exports);
|
|
86884
87154
|
__exportStar(__webpack_require__(/*! ./HistoryStream */ "./models/HistoryStream.ts"), exports);
|
|
86885
87155
|
__exportStar(__webpack_require__(/*! ./HlsManifest */ "./models/HlsManifest.ts"), exports);
|
|
87156
|
+
__exportStar(__webpack_require__(/*! ./HlsManifestAdMarkerSettings */ "./models/HlsManifestAdMarkerSettings.ts"), exports);
|
|
87157
|
+
__exportStar(__webpack_require__(/*! ./HlsManifestAdMarkerType */ "./models/HlsManifestAdMarkerType.ts"), exports);
|
|
86886
87158
|
__exportStar(__webpack_require__(/*! ./HlsManifestDefault */ "./models/HlsManifestDefault.ts"), exports);
|
|
86887
87159
|
__exportStar(__webpack_require__(/*! ./HlsManifestDefaultVersion */ "./models/HlsManifestDefaultVersion.ts"), exports);
|
|
86888
87160
|
__exportStar(__webpack_require__(/*! ./HlsTargetDurationRoundingMode */ "./models/HlsTargetDurationRoundingMode.ts"), exports);
|
|
@@ -86994,6 +87266,7 @@ __exportStar(__webpack_require__(/*! ./OpusAudioConfiguration */ "./models/OpusA
|
|
|
86994
87266
|
__exportStar(__webpack_require__(/*! ./OpusChannelLayout */ "./models/OpusChannelLayout.ts"), exports);
|
|
86995
87267
|
__exportStar(__webpack_require__(/*! ./OrConjunction */ "./models/OrConjunction.ts"), exports);
|
|
86996
87268
|
__exportStar(__webpack_require__(/*! ./Organization */ "./models/Organization.ts"), exports);
|
|
87269
|
+
__exportStar(__webpack_require__(/*! ./OrganizationPendingInvitation */ "./models/OrganizationPendingInvitation.ts"), exports);
|
|
86997
87270
|
__exportStar(__webpack_require__(/*! ./OrganizationType */ "./models/OrganizationType.ts"), exports);
|
|
86998
87271
|
__exportStar(__webpack_require__(/*! ./OttLoudnessMode */ "./models/OttLoudnessMode.ts"), exports);
|
|
86999
87272
|
__exportStar(__webpack_require__(/*! ./Output */ "./models/Output.ts"), exports);
|
|
@@ -87073,6 +87346,7 @@ __exportStar(__webpack_require__(/*! ./ReuploadSettings */ "./models/ReuploadSet
|
|
|
87073
87346
|
__exportStar(__webpack_require__(/*! ./RotateFilter */ "./models/RotateFilter.ts"), exports);
|
|
87074
87347
|
__exportStar(__webpack_require__(/*! ./RtmpIngestPoint */ "./models/RtmpIngestPoint.ts"), exports);
|
|
87075
87348
|
__exportStar(__webpack_require__(/*! ./RtmpInput */ "./models/RtmpInput.ts"), exports);
|
|
87349
|
+
__exportStar(__webpack_require__(/*! ./S3AccessStyle */ "./models/S3AccessStyle.ts"), exports);
|
|
87076
87350
|
__exportStar(__webpack_require__(/*! ./S3Input */ "./models/S3Input.ts"), exports);
|
|
87077
87351
|
__exportStar(__webpack_require__(/*! ./S3Output */ "./models/S3Output.ts"), exports);
|
|
87078
87352
|
__exportStar(__webpack_require__(/*! ./S3RoleBasedInput */ "./models/S3RoleBasedInput.ts"), exports);
|
|
@@ -87193,7 +87467,7 @@ __exportStar(__webpack_require__(/*! ./StreamsLiveResponse */ "./models/StreamsL
|
|
|
87193
87467
|
__exportStar(__webpack_require__(/*! ./StreamsLiveUpdateRequest */ "./models/StreamsLiveUpdateRequest.ts"), exports);
|
|
87194
87468
|
__exportStar(__webpack_require__(/*! ./StreamsPublicSigningKey */ "./models/StreamsPublicSigningKey.ts"), exports);
|
|
87195
87469
|
__exportStar(__webpack_require__(/*! ./StreamsPublicSigningKeyResponse */ "./models/StreamsPublicSigningKeyResponse.ts"), exports);
|
|
87196
|
-
__exportStar(__webpack_require__(/*! ./
|
|
87470
|
+
__exportStar(__webpack_require__(/*! ./StreamsResponse */ "./models/StreamsResponse.ts"), exports);
|
|
87197
87471
|
__exportStar(__webpack_require__(/*! ./StreamsSigningKeyResponse */ "./models/StreamsSigningKeyResponse.ts"), exports);
|
|
87198
87472
|
__exportStar(__webpack_require__(/*! ./StreamsStyleConfigPlayerStyle */ "./models/StreamsStyleConfigPlayerStyle.ts"), exports);
|
|
87199
87473
|
__exportStar(__webpack_require__(/*! ./StreamsStyleConfigResponse */ "./models/StreamsStyleConfigResponse.ts"), exports);
|
|
@@ -90897,9 +91171,9 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
90897
91171
|
})();
|
|
90898
91172
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
90899
91173
|
var BaseAPI_1 = __webpack_require__(/*! ../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
90900
|
-
var SearchApi_1 = __webpack_require__(/*! ./search/SearchApi */ "./streams/search/SearchApi.ts");
|
|
90901
91174
|
var VideoApi_1 = __webpack_require__(/*! ./video/VideoApi */ "./streams/video/VideoApi.ts");
|
|
90902
91175
|
var LiveApi_1 = __webpack_require__(/*! ./live/LiveApi */ "./streams/live/LiveApi.ts");
|
|
91176
|
+
var SearchApi_1 = __webpack_require__(/*! ./search/SearchApi */ "./streams/search/SearchApi.ts");
|
|
90903
91177
|
var SigningKeysApi_1 = __webpack_require__(/*! ./signingKeys/SigningKeysApi */ "./streams/signingKeys/SigningKeysApi.ts");
|
|
90904
91178
|
/**
|
|
90905
91179
|
* StreamsApi - object-oriented interface
|
|
@@ -90911,9 +91185,9 @@ var StreamsApi = /** @class */ (function (_super) {
|
|
|
90911
91185
|
__extends(StreamsApi, _super);
|
|
90912
91186
|
function StreamsApi(configuration) {
|
|
90913
91187
|
var _this = _super.call(this, configuration) || this;
|
|
90914
|
-
_this.search = new SearchApi_1.default(configuration);
|
|
90915
91188
|
_this.video = new VideoApi_1.default(configuration);
|
|
90916
91189
|
_this.live = new LiveApi_1.default(configuration);
|
|
91190
|
+
_this.search = new SearchApi_1.default(configuration);
|
|
90917
91191
|
_this.signingKeys = new SigningKeysApi_1.default(configuration);
|
|
90918
91192
|
return _this;
|
|
90919
91193
|
}
|
|
@@ -91237,9 +91511,9 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
91237
91511
|
})();
|
|
91238
91512
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
91239
91513
|
var BaseAPI_1 = __webpack_require__(/*! ../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
91240
|
-
var
|
|
91514
|
+
var StreamsResponse_1 = __webpack_require__(/*! ../../models/StreamsResponse */ "./models/StreamsResponse.ts");
|
|
91241
91515
|
var PaginationResponse_1 = __webpack_require__(/*! ../../models/PaginationResponse */ "./models/PaginationResponse.ts");
|
|
91242
|
-
var
|
|
91516
|
+
var StreamsResponseListQueryParams_1 = __webpack_require__(/*! ./StreamsResponseListQueryParams */ "./streams/search/StreamsResponseListQueryParams.ts");
|
|
91243
91517
|
/**
|
|
91244
91518
|
* SearchApi - object-oriented interface
|
|
91245
91519
|
* @export
|
|
@@ -91260,13 +91534,13 @@ var SearchApi = /** @class */ (function (_super) {
|
|
|
91260
91534
|
SearchApi.prototype.list = function (queryParameters) {
|
|
91261
91535
|
var queryParams = {};
|
|
91262
91536
|
if (typeof queryParameters === 'function') {
|
|
91263
|
-
queryParams = queryParameters(new
|
|
91537
|
+
queryParams = queryParameters(new StreamsResponseListQueryParams_1.StreamsResponseListQueryParamsBuilder()).buildQueryParams();
|
|
91264
91538
|
}
|
|
91265
91539
|
else if (queryParameters) {
|
|
91266
91540
|
queryParams = queryParameters;
|
|
91267
91541
|
}
|
|
91268
91542
|
return this.restClient.get('/streams/search', {}, queryParams).then(function (response) {
|
|
91269
|
-
return new PaginationResponse_1.default(response,
|
|
91543
|
+
return new PaginationResponse_1.default(response, StreamsResponse_1.default);
|
|
91270
91544
|
});
|
|
91271
91545
|
};
|
|
91272
91546
|
return SearchApi;
|
|
@@ -91276,25 +91550,25 @@ exports["default"] = SearchApi;
|
|
|
91276
91550
|
|
|
91277
91551
|
/***/ }),
|
|
91278
91552
|
|
|
91279
|
-
/***/ "./streams/search/
|
|
91280
|
-
|
|
91281
|
-
!*** ./streams/search/
|
|
91282
|
-
|
|
91553
|
+
/***/ "./streams/search/StreamsResponseListQueryParams.ts":
|
|
91554
|
+
/*!**********************************************************!*\
|
|
91555
|
+
!*** ./streams/search/StreamsResponseListQueryParams.ts ***!
|
|
91556
|
+
\**********************************************************/
|
|
91283
91557
|
/***/ ((__unused_webpack_module, exports) => {
|
|
91284
91558
|
|
|
91285
91559
|
"use strict";
|
|
91286
91560
|
|
|
91287
91561
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
91288
|
-
exports.
|
|
91289
|
-
var
|
|
91290
|
-
function
|
|
91562
|
+
exports.StreamsResponseListQueryParamsBuilder = void 0;
|
|
91563
|
+
var StreamsResponseListQueryParamsBuilder = /** @class */ (function () {
|
|
91564
|
+
function StreamsResponseListQueryParamsBuilder() {
|
|
91291
91565
|
this.internalParams = {};
|
|
91292
91566
|
}
|
|
91293
91567
|
/**
|
|
91294
91568
|
*
|
|
91295
91569
|
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
91296
91570
|
*/
|
|
91297
|
-
|
|
91571
|
+
StreamsResponseListQueryParamsBuilder.prototype.offset = function (offset) {
|
|
91298
91572
|
this.internalParams.offset = offset;
|
|
91299
91573
|
return this;
|
|
91300
91574
|
};
|
|
@@ -91302,24 +91576,72 @@ var StreamsSearchResponseListQueryParamsBuilder = /** @class */ (function () {
|
|
|
91302
91576
|
*
|
|
91303
91577
|
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
91304
91578
|
*/
|
|
91305
|
-
|
|
91579
|
+
StreamsResponseListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
91306
91580
|
this.internalParams.limit = limit;
|
|
91307
91581
|
return this;
|
|
91308
91582
|
};
|
|
91309
91583
|
/**
|
|
91310
91584
|
*
|
|
91311
|
-
* @param query Query to search
|
|
91585
|
+
* @param query Query to search for in a streams' title, description and ID
|
|
91312
91586
|
*/
|
|
91313
|
-
|
|
91587
|
+
StreamsResponseListQueryParamsBuilder.prototype.query = function (query) {
|
|
91314
91588
|
this.internalParams.query = query;
|
|
91315
91589
|
return this;
|
|
91316
91590
|
};
|
|
91317
|
-
|
|
91591
|
+
/**
|
|
91592
|
+
*
|
|
91593
|
+
* @param type Type of stream to search for
|
|
91594
|
+
*/
|
|
91595
|
+
StreamsResponseListQueryParamsBuilder.prototype.type = function (type) {
|
|
91596
|
+
this.internalParams.type = type;
|
|
91597
|
+
return this;
|
|
91598
|
+
};
|
|
91599
|
+
/**
|
|
91600
|
+
*
|
|
91601
|
+
* @param status Status of the streams to search for
|
|
91602
|
+
*/
|
|
91603
|
+
StreamsResponseListQueryParamsBuilder.prototype.status = function (status) {
|
|
91604
|
+
this.internalParams.status = status;
|
|
91605
|
+
return this;
|
|
91606
|
+
};
|
|
91607
|
+
/**
|
|
91608
|
+
*
|
|
91609
|
+
* @param createdBefore Upper limit for the creation date of found streams as UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
91610
|
+
*/
|
|
91611
|
+
StreamsResponseListQueryParamsBuilder.prototype.createdBefore = function (createdBefore) {
|
|
91612
|
+
this.internalParams.createdBefore = createdBefore;
|
|
91613
|
+
return this;
|
|
91614
|
+
};
|
|
91615
|
+
/**
|
|
91616
|
+
*
|
|
91617
|
+
* @param createdAfter Lower limit for the creation date of found streams as UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
91618
|
+
*/
|
|
91619
|
+
StreamsResponseListQueryParamsBuilder.prototype.createdAfter = function (createdAfter) {
|
|
91620
|
+
this.internalParams.createdAfter = createdAfter;
|
|
91621
|
+
return this;
|
|
91622
|
+
};
|
|
91623
|
+
/**
|
|
91624
|
+
*
|
|
91625
|
+
* @param signed Filter for token-protected/signed streams
|
|
91626
|
+
*/
|
|
91627
|
+
StreamsResponseListQueryParamsBuilder.prototype.signed = function (signed) {
|
|
91628
|
+
this.internalParams.signed = signed;
|
|
91629
|
+
return this;
|
|
91630
|
+
};
|
|
91631
|
+
/**
|
|
91632
|
+
*
|
|
91633
|
+
* @param domainRestricted Filter for domain-restricted streams
|
|
91634
|
+
*/
|
|
91635
|
+
StreamsResponseListQueryParamsBuilder.prototype.domainRestricted = function (domainRestricted) {
|
|
91636
|
+
this.internalParams.domainRestricted = domainRestricted;
|
|
91637
|
+
return this;
|
|
91638
|
+
};
|
|
91639
|
+
StreamsResponseListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
91318
91640
|
return this.internalParams;
|
|
91319
91641
|
};
|
|
91320
|
-
return
|
|
91642
|
+
return StreamsResponseListQueryParamsBuilder;
|
|
91321
91643
|
}());
|
|
91322
|
-
exports.
|
|
91644
|
+
exports.StreamsResponseListQueryParamsBuilder = StreamsResponseListQueryParamsBuilder;
|
|
91323
91645
|
|
|
91324
91646
|
|
|
91325
91647
|
/***/ }),
|
|
@@ -92173,6 +92495,7 @@ Response.prototype.clone = function() {
|
|
|
92173
92495
|
|
|
92174
92496
|
Response.error = function() {
|
|
92175
92497
|
var response = new Response(null, {status: 200, statusText: ''})
|
|
92498
|
+
response.ok = false
|
|
92176
92499
|
response.status = 0
|
|
92177
92500
|
response.type = 'error'
|
|
92178
92501
|
return response
|
|
@@ -92223,7 +92546,7 @@ function fetch(input, init) {
|
|
|
92223
92546
|
}
|
|
92224
92547
|
// This check if specifically for when a user fetches a file locally from the file system
|
|
92225
92548
|
// Only if the status is out of a normal range
|
|
92226
|
-
if (request.url.
|
|
92549
|
+
if (request.url.indexOf('file://') === 0 && (xhr.status < 200 || xhr.status > 599)) {
|
|
92227
92550
|
options.status = 200;
|
|
92228
92551
|
} else {
|
|
92229
92552
|
options.status = xhr.status;
|