@bitmovin/api-sdk 1.223.0 → 1.224.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.
Files changed (43) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +719 -1
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +1 -1
  5. package/dist/encoding/infrastructure/InfrastructureApi.d.ts +2 -0
  6. package/dist/encoding/infrastructure/InfrastructureApi.js +2 -0
  7. package/dist/encoding/infrastructure/oci/OciAccountListQueryParams.d.ts +28 -0
  8. package/dist/encoding/infrastructure/oci/OciAccountListQueryParams.js +29 -0
  9. package/dist/encoding/infrastructure/oci/OciApi.d.ts +44 -0
  10. package/dist/encoding/infrastructure/oci/OciApi.js +96 -0
  11. package/dist/encoding/infrastructure/oci/regions/OciAccountRegionSettingsListQueryParams.d.ts +28 -0
  12. package/dist/encoding/infrastructure/oci/regions/OciAccountRegionSettingsListQueryParams.js +29 -0
  13. package/dist/encoding/infrastructure/oci/regions/RegionsApi.d.ts +48 -0
  14. package/dist/encoding/infrastructure/oci/regions/RegionsApi.js +107 -0
  15. package/dist/models/CacheControl.d.ts +14 -0
  16. package/dist/models/CacheControl.js +19 -0
  17. package/dist/models/CacheControlSettings.d.ts +29 -0
  18. package/dist/models/CacheControlSettings.js +24 -0
  19. package/dist/models/CacheControlSettingsDash.d.ts +21 -0
  20. package/dist/models/CacheControlSettingsDash.js +21 -0
  21. package/dist/models/CacheControlSettingsHls.d.ts +21 -0
  22. package/dist/models/CacheControlSettingsHls.js +21 -0
  23. package/dist/models/CacheControlSettingsSegments.d.ts +21 -0
  24. package/dist/models/CacheControlSettingsSegments.js +21 -0
  25. package/dist/models/EsamSettings.d.ts +39 -0
  26. package/dist/models/EsamSettings.js +24 -0
  27. package/dist/models/OciAccount.d.ts +21 -0
  28. package/dist/models/OciAccount.js +39 -0
  29. package/dist/models/OciAccountRegionSettings.d.ts +22 -0
  30. package/dist/models/OciAccountRegionSettings.js +39 -0
  31. package/dist/models/OciCloudRegion.d.ts +9 -0
  32. package/dist/models/OciCloudRegion.js +13 -0
  33. package/dist/models/PlayerLicenseUpdateRequest.d.ts +14 -0
  34. package/dist/models/PlayerLicenseUpdateRequest.js +19 -0
  35. package/dist/models/PoisEndpointCredentials.d.ts +20 -0
  36. package/dist/models/PoisEndpointCredentials.js +20 -0
  37. package/dist/models/StartLiveEncodingRequest.d.ts +14 -0
  38. package/dist/models/StartLiveEncodingRequest.js +4 -0
  39. package/dist/models/index.d.ts +11 -0
  40. package/dist/models/index.js +11 -0
  41. package/dist/player/licenses/LicensesApi.d.ts +9 -0
  42. package/dist/player/licenses/LicensesApi.js +15 -0
  43. package/package.json +1 -1
@@ -240,7 +240,7 @@ var HeaderHandler = /** @class */ (function (_super) {
240
240
  var headers = {
241
241
  'X-Api-Key': apiKey,
242
242
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
243
- 'X-Api-Client-Version': '1.223.0',
243
+ 'X-Api-Client-Version': '1.224.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -5,6 +5,7 @@ import StaticIpsApi from './staticIps/StaticIpsApi';
5
5
  import AzureApi from './azure/AzureApi';
6
6
  import GceApi from './gce/GceApi';
7
7
  import AkamaiApi from './akamai/AkamaiApi';
8
+ import OciApi from './oci/OciApi';
8
9
  import PrewarmedEncoderPoolsApi from './prewarmedEncoderPools/PrewarmedEncoderPoolsApi';
9
10
  /**
10
11
  * InfrastructureApi - object-oriented interface
@@ -18,6 +19,7 @@ export default class InfrastructureApi extends BaseAPI {
18
19
  azure: AzureApi;
19
20
  gce: GceApi;
20
21
  akamai: AkamaiApi;
22
+ oci: OciApi;
21
23
  prewarmedEncoderPools: PrewarmedEncoderPoolsApi;
22
24
  constructor(configuration: Configuration);
23
25
  }
@@ -21,6 +21,7 @@ var StaticIpsApi_1 = require("./staticIps/StaticIpsApi");
21
21
  var AzureApi_1 = require("./azure/AzureApi");
22
22
  var GceApi_1 = require("./gce/GceApi");
23
23
  var AkamaiApi_1 = require("./akamai/AkamaiApi");
24
+ var OciApi_1 = require("./oci/OciApi");
24
25
  var PrewarmedEncoderPoolsApi_1 = require("./prewarmedEncoderPools/PrewarmedEncoderPoolsApi");
25
26
  /**
26
27
  * InfrastructureApi - object-oriented interface
@@ -37,6 +38,7 @@ var InfrastructureApi = /** @class */ (function (_super) {
37
38
  _this.azure = new AzureApi_1.default(configuration);
38
39
  _this.gce = new GceApi_1.default(configuration);
39
40
  _this.akamai = new AkamaiApi_1.default(configuration);
41
+ _this.oci = new OciApi_1.default(configuration);
40
42
  _this.prewarmedEncoderPools = new PrewarmedEncoderPoolsApi_1.default(configuration);
41
43
  return _this;
42
44
  }
@@ -0,0 +1,28 @@
1
+ export interface OciAccountListQueryParams {
2
+ /**
3
+ * Index of the first item to return, starting at 0. Default is 0
4
+ * @type {number}
5
+ * @memberof OciAccountListQueryParams
6
+ */
7
+ offset?: number | undefined;
8
+ /**
9
+ * Maximum number of items to return. Default is 25, maximum is 100
10
+ * @type {number}
11
+ * @memberof OciAccountListQueryParams
12
+ */
13
+ limit?: number | undefined;
14
+ }
15
+ export declare class OciAccountListQueryParamsBuilder {
16
+ private internalParams;
17
+ /**
18
+ *
19
+ * @param offset Index of the first item to return, starting at 0. Default is 0
20
+ */
21
+ offset(offset: number): this;
22
+ /**
23
+ *
24
+ * @param limit Maximum number of items to return. Default is 25, maximum is 100
25
+ */
26
+ limit(limit: number): this;
27
+ buildQueryParams(): OciAccountListQueryParams;
28
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OciAccountListQueryParamsBuilder = void 0;
4
+ var OciAccountListQueryParamsBuilder = /** @class */ (function () {
5
+ function OciAccountListQueryParamsBuilder() {
6
+ this.internalParams = {};
7
+ }
8
+ /**
9
+ *
10
+ * @param offset Index of the first item to return, starting at 0. Default is 0
11
+ */
12
+ OciAccountListQueryParamsBuilder.prototype.offset = function (offset) {
13
+ this.internalParams.offset = offset;
14
+ return this;
15
+ };
16
+ /**
17
+ *
18
+ * @param limit Maximum number of items to return. Default is 25, maximum is 100
19
+ */
20
+ OciAccountListQueryParamsBuilder.prototype.limit = function (limit) {
21
+ this.internalParams.limit = limit;
22
+ return this;
23
+ };
24
+ OciAccountListQueryParamsBuilder.prototype.buildQueryParams = function () {
25
+ return this.internalParams;
26
+ };
27
+ return OciAccountListQueryParamsBuilder;
28
+ }());
29
+ exports.OciAccountListQueryParamsBuilder = OciAccountListQueryParamsBuilder;
@@ -0,0 +1,44 @@
1
+ import { BaseAPI } from '../../../common/BaseAPI';
2
+ import Configuration from '../../../common/Configuration';
3
+ import RegionsApi from './regions/RegionsApi';
4
+ import OciAccount from '../../../models/OciAccount';
5
+ import PaginationResponse from '../../../models/PaginationResponse';
6
+ import { OciAccountListQueryParams, OciAccountListQueryParamsBuilder } from './OciAccountListQueryParams';
7
+ /**
8
+ * OciApi - object-oriented interface
9
+ * @export
10
+ * @class OciApi
11
+ * @extends {BaseAPI}
12
+ */
13
+ export default class OciApi extends BaseAPI {
14
+ regions: RegionsApi;
15
+ constructor(configuration: Configuration);
16
+ /**
17
+ * @summary Add OCI account
18
+ * @param {OciAccount} ociAccount The OCI account to be added
19
+ * @throws {BitmovinError}
20
+ * @memberof OciApi
21
+ */
22
+ create(ociAccount?: OciAccount): Promise<OciAccount>;
23
+ /**
24
+ * @summary Delete OCI account
25
+ * @param {string} infrastructureId Id of the OCI account
26
+ * @throws {BitmovinError}
27
+ * @memberof OciApi
28
+ */
29
+ delete(infrastructureId: string): Promise<OciAccount>;
30
+ /**
31
+ * @summary OCI account details
32
+ * @param {string} infrastructureId Id of the OCI account
33
+ * @throws {BitmovinError}
34
+ * @memberof OciApi
35
+ */
36
+ get(infrastructureId: string): Promise<OciAccount>;
37
+ /**
38
+ * @summary List OCI accounts
39
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
40
+ * @throws {BitmovinError}
41
+ * @memberof OciApi
42
+ */
43
+ list(queryParameters?: OciAccountListQueryParams | ((q: OciAccountListQueryParamsBuilder) => OciAccountListQueryParamsBuilder)): Promise<PaginationResponse<OciAccount>>;
44
+ }
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ var BaseAPI_1 = require("../../../common/BaseAPI");
19
+ var Mapper_1 = require("../../../common/Mapper");
20
+ var RegionsApi_1 = require("./regions/RegionsApi");
21
+ var OciAccount_1 = require("../../../models/OciAccount");
22
+ var PaginationResponse_1 = require("../../../models/PaginationResponse");
23
+ var OciAccountListQueryParams_1 = require("./OciAccountListQueryParams");
24
+ /**
25
+ * OciApi - object-oriented interface
26
+ * @export
27
+ * @class OciApi
28
+ * @extends {BaseAPI}
29
+ */
30
+ var OciApi = /** @class */ (function (_super) {
31
+ __extends(OciApi, _super);
32
+ function OciApi(configuration) {
33
+ var _this = _super.call(this, configuration) || this;
34
+ _this.regions = new RegionsApi_1.default(configuration);
35
+ return _this;
36
+ }
37
+ /**
38
+ * @summary Add OCI account
39
+ * @param {OciAccount} ociAccount The OCI account to be added
40
+ * @throws {BitmovinError}
41
+ * @memberof OciApi
42
+ */
43
+ OciApi.prototype.create = function (ociAccount) {
44
+ return this.restClient.post('/encoding/infrastructure/oci', {}, ociAccount).then(function (response) {
45
+ return (0, Mapper_1.map)(response, OciAccount_1.default);
46
+ });
47
+ };
48
+ /**
49
+ * @summary Delete OCI account
50
+ * @param {string} infrastructureId Id of the OCI account
51
+ * @throws {BitmovinError}
52
+ * @memberof OciApi
53
+ */
54
+ OciApi.prototype.delete = function (infrastructureId) {
55
+ var pathParamMap = {
56
+ infrastructure_id: infrastructureId
57
+ };
58
+ return this.restClient.delete('/encoding/infrastructure/oci/{infrastructure_id}', pathParamMap).then(function (response) {
59
+ return (0, Mapper_1.map)(response, OciAccount_1.default);
60
+ });
61
+ };
62
+ /**
63
+ * @summary OCI account details
64
+ * @param {string} infrastructureId Id of the OCI account
65
+ * @throws {BitmovinError}
66
+ * @memberof OciApi
67
+ */
68
+ OciApi.prototype.get = function (infrastructureId) {
69
+ var pathParamMap = {
70
+ infrastructure_id: infrastructureId
71
+ };
72
+ return this.restClient.get('/encoding/infrastructure/oci/{infrastructure_id}', pathParamMap).then(function (response) {
73
+ return (0, Mapper_1.map)(response, OciAccount_1.default);
74
+ });
75
+ };
76
+ /**
77
+ * @summary List OCI accounts
78
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
79
+ * @throws {BitmovinError}
80
+ * @memberof OciApi
81
+ */
82
+ OciApi.prototype.list = function (queryParameters) {
83
+ var queryParams = {};
84
+ if (typeof queryParameters === 'function') {
85
+ queryParams = queryParameters(new OciAccountListQueryParams_1.OciAccountListQueryParamsBuilder()).buildQueryParams();
86
+ }
87
+ else if (queryParameters) {
88
+ queryParams = queryParameters;
89
+ }
90
+ return this.restClient.get('/encoding/infrastructure/oci', {}, queryParams).then(function (response) {
91
+ return new PaginationResponse_1.default(response, OciAccount_1.default);
92
+ });
93
+ };
94
+ return OciApi;
95
+ }(BaseAPI_1.BaseAPI));
96
+ exports.default = OciApi;
@@ -0,0 +1,28 @@
1
+ export interface OciAccountRegionSettingsListQueryParams {
2
+ /**
3
+ * Index of the first item to return, starting at 0. Default is 0
4
+ * @type {number}
5
+ * @memberof OciAccountRegionSettingsListQueryParams
6
+ */
7
+ offset?: number | undefined;
8
+ /**
9
+ * Maximum number of items to return. Default is 25, maximum is 100
10
+ * @type {number}
11
+ * @memberof OciAccountRegionSettingsListQueryParams
12
+ */
13
+ limit?: number | undefined;
14
+ }
15
+ export declare class OciAccountRegionSettingsListQueryParamsBuilder {
16
+ private internalParams;
17
+ /**
18
+ *
19
+ * @param offset Index of the first item to return, starting at 0. Default is 0
20
+ */
21
+ offset(offset: number): this;
22
+ /**
23
+ *
24
+ * @param limit Maximum number of items to return. Default is 25, maximum is 100
25
+ */
26
+ limit(limit: number): this;
27
+ buildQueryParams(): OciAccountRegionSettingsListQueryParams;
28
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OciAccountRegionSettingsListQueryParamsBuilder = void 0;
4
+ var OciAccountRegionSettingsListQueryParamsBuilder = /** @class */ (function () {
5
+ function OciAccountRegionSettingsListQueryParamsBuilder() {
6
+ this.internalParams = {};
7
+ }
8
+ /**
9
+ *
10
+ * @param offset Index of the first item to return, starting at 0. Default is 0
11
+ */
12
+ OciAccountRegionSettingsListQueryParamsBuilder.prototype.offset = function (offset) {
13
+ this.internalParams.offset = offset;
14
+ return this;
15
+ };
16
+ /**
17
+ *
18
+ * @param limit Maximum number of items to return. Default is 25, maximum is 100
19
+ */
20
+ OciAccountRegionSettingsListQueryParamsBuilder.prototype.limit = function (limit) {
21
+ this.internalParams.limit = limit;
22
+ return this;
23
+ };
24
+ OciAccountRegionSettingsListQueryParamsBuilder.prototype.buildQueryParams = function () {
25
+ return this.internalParams;
26
+ };
27
+ return OciAccountRegionSettingsListQueryParamsBuilder;
28
+ }());
29
+ exports.OciAccountRegionSettingsListQueryParamsBuilder = OciAccountRegionSettingsListQueryParamsBuilder;
@@ -0,0 +1,48 @@
1
+ import { BaseAPI } from '../../../../common/BaseAPI';
2
+ import Configuration from '../../../../common/Configuration';
3
+ import OciAccountRegionSettings from '../../../../models/OciAccountRegionSettings';
4
+ import OciCloudRegion from '../../../../models/OciCloudRegion';
5
+ import PaginationResponse from '../../../../models/PaginationResponse';
6
+ import { OciAccountRegionSettingsListQueryParams, OciAccountRegionSettingsListQueryParamsBuilder } from './OciAccountRegionSettingsListQueryParams';
7
+ /**
8
+ * RegionsApi - object-oriented interface
9
+ * @export
10
+ * @class RegionsApi
11
+ * @extends {BaseAPI}
12
+ */
13
+ export default class RegionsApi extends BaseAPI {
14
+ constructor(configuration: Configuration);
15
+ /**
16
+ * @summary Add OCI account region settings
17
+ * @param {string} infrastructureId Id of the OCI account
18
+ * @param {OciCloudRegion} region OCI region
19
+ * @param {OciAccountRegionSettings} ociAccountRegionSettings The OCI account region settings to be added
20
+ * @throws {BitmovinError}
21
+ * @memberof RegionsApi
22
+ */
23
+ create(infrastructureId: string, region: OciCloudRegion, ociAccountRegionSettings?: OciAccountRegionSettings): Promise<OciAccountRegionSettings>;
24
+ /**
25
+ * @summary Delete OCI account region settings
26
+ * @param {string} infrastructureId Id of the OCI account
27
+ * @param {OciCloudRegion} region OCI region
28
+ * @throws {BitmovinError}
29
+ * @memberof RegionsApi
30
+ */
31
+ delete(infrastructureId: string, region: OciCloudRegion): Promise<OciAccountRegionSettings>;
32
+ /**
33
+ * @summary OCI account region settings details
34
+ * @param {string} infrastructureId Id of the OCI account
35
+ * @param {OciCloudRegion} region OCI region
36
+ * @throws {BitmovinError}
37
+ * @memberof RegionsApi
38
+ */
39
+ get(infrastructureId: string, region: OciCloudRegion): Promise<OciAccountRegionSettings>;
40
+ /**
41
+ * @summary List OCI account region settings
42
+ * @param {string} infrastructureId Id of the OCI account
43
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
44
+ * @throws {BitmovinError}
45
+ * @memberof RegionsApi
46
+ */
47
+ list(infrastructureId: string, queryParameters?: OciAccountRegionSettingsListQueryParams | ((q: OciAccountRegionSettingsListQueryParamsBuilder) => OciAccountRegionSettingsListQueryParamsBuilder)): Promise<PaginationResponse<OciAccountRegionSettings>>;
48
+ }
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ var BaseAPI_1 = require("../../../../common/BaseAPI");
19
+ var Mapper_1 = require("../../../../common/Mapper");
20
+ var OciAccountRegionSettings_1 = require("../../../../models/OciAccountRegionSettings");
21
+ var PaginationResponse_1 = require("../../../../models/PaginationResponse");
22
+ var OciAccountRegionSettingsListQueryParams_1 = require("./OciAccountRegionSettingsListQueryParams");
23
+ /**
24
+ * RegionsApi - object-oriented interface
25
+ * @export
26
+ * @class RegionsApi
27
+ * @extends {BaseAPI}
28
+ */
29
+ var RegionsApi = /** @class */ (function (_super) {
30
+ __extends(RegionsApi, _super);
31
+ function RegionsApi(configuration) {
32
+ return _super.call(this, configuration) || this;
33
+ }
34
+ /**
35
+ * @summary Add OCI account region settings
36
+ * @param {string} infrastructureId Id of the OCI account
37
+ * @param {OciCloudRegion} region OCI region
38
+ * @param {OciAccountRegionSettings} ociAccountRegionSettings The OCI account region settings to be added
39
+ * @throws {BitmovinError}
40
+ * @memberof RegionsApi
41
+ */
42
+ RegionsApi.prototype.create = function (infrastructureId, region, ociAccountRegionSettings) {
43
+ var pathParamMap = {
44
+ infrastructure_id: infrastructureId,
45
+ region: region
46
+ };
47
+ return this.restClient.post('/encoding/infrastructure/oci/{infrastructure_id}/regions/{region}', pathParamMap, ociAccountRegionSettings).then(function (response) {
48
+ return (0, Mapper_1.map)(response, OciAccountRegionSettings_1.default);
49
+ });
50
+ };
51
+ /**
52
+ * @summary Delete OCI account region settings
53
+ * @param {string} infrastructureId Id of the OCI account
54
+ * @param {OciCloudRegion} region OCI region
55
+ * @throws {BitmovinError}
56
+ * @memberof RegionsApi
57
+ */
58
+ RegionsApi.prototype.delete = function (infrastructureId, region) {
59
+ var pathParamMap = {
60
+ infrastructure_id: infrastructureId,
61
+ region: region
62
+ };
63
+ return this.restClient.delete('/encoding/infrastructure/oci/{infrastructure_id}/regions/{region}', pathParamMap).then(function (response) {
64
+ return (0, Mapper_1.map)(response, OciAccountRegionSettings_1.default);
65
+ });
66
+ };
67
+ /**
68
+ * @summary OCI account region settings details
69
+ * @param {string} infrastructureId Id of the OCI account
70
+ * @param {OciCloudRegion} region OCI region
71
+ * @throws {BitmovinError}
72
+ * @memberof RegionsApi
73
+ */
74
+ RegionsApi.prototype.get = function (infrastructureId, region) {
75
+ var pathParamMap = {
76
+ infrastructure_id: infrastructureId,
77
+ region: region
78
+ };
79
+ return this.restClient.get('/encoding/infrastructure/oci/{infrastructure_id}/regions/{region}', pathParamMap).then(function (response) {
80
+ return (0, Mapper_1.map)(response, OciAccountRegionSettings_1.default);
81
+ });
82
+ };
83
+ /**
84
+ * @summary List OCI account region settings
85
+ * @param {string} infrastructureId Id of the OCI account
86
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
87
+ * @throws {BitmovinError}
88
+ * @memberof RegionsApi
89
+ */
90
+ RegionsApi.prototype.list = function (infrastructureId, queryParameters) {
91
+ var pathParamMap = {
92
+ infrastructure_id: infrastructureId
93
+ };
94
+ var queryParams = {};
95
+ if (typeof queryParameters === 'function') {
96
+ queryParams = queryParameters(new OciAccountRegionSettingsListQueryParams_1.OciAccountRegionSettingsListQueryParamsBuilder()).buildQueryParams();
97
+ }
98
+ else if (queryParameters) {
99
+ queryParams = queryParameters;
100
+ }
101
+ return this.restClient.get('/encoding/infrastructure/oci/{infrastructure_id}/regions', pathParamMap, queryParams).then(function (response) {
102
+ return new PaginationResponse_1.default(response, OciAccountRegionSettings_1.default);
103
+ });
104
+ };
105
+ return RegionsApi;
106
+ }(BaseAPI_1.BaseAPI));
107
+ exports.default = RegionsApi;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @export
3
+ * @class CacheControl
4
+ */
5
+ export declare class CacheControl {
6
+ /**
7
+ * Cache control for storing data on CDN. Example \"public, max-age=0, no-cache\".
8
+ * @type {string}
9
+ * @memberof CacheControl
10
+ */
11
+ cacheControl?: string;
12
+ constructor(obj?: Partial<CacheControl>);
13
+ }
14
+ export default CacheControl;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CacheControl = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class CacheControl
8
+ */
9
+ var CacheControl = /** @class */ (function () {
10
+ function CacheControl(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.cacheControl = (0, Mapper_1.map)(obj.cacheControl);
15
+ }
16
+ return CacheControl;
17
+ }());
18
+ exports.CacheControl = CacheControl;
19
+ exports.default = CacheControl;
@@ -0,0 +1,29 @@
1
+ import CacheControlSettingsDash from './CacheControlSettingsDash';
2
+ import CacheControlSettingsHls from './CacheControlSettingsHls';
3
+ import CacheControlSettingsSegments from './CacheControlSettingsSegments';
4
+ /**
5
+ * @export
6
+ * @class CacheControlSettings
7
+ */
8
+ export declare class CacheControlSettings {
9
+ /**
10
+ * Cache control settings for HLS manifest.
11
+ * @type {CacheControlSettingsHls}
12
+ * @memberof CacheControlSettings
13
+ */
14
+ hls?: CacheControlSettingsHls;
15
+ /**
16
+ * Cache control settings for DASH manifest.
17
+ * @type {CacheControlSettingsDash}
18
+ * @memberof CacheControlSettings
19
+ */
20
+ dash?: CacheControlSettingsDash;
21
+ /**
22
+ * Cache control settings for segments.
23
+ * @type {CacheControlSettingsSegments}
24
+ * @memberof CacheControlSettings
25
+ */
26
+ segments?: CacheControlSettingsSegments;
27
+ constructor(obj?: Partial<CacheControlSettings>);
28
+ }
29
+ export default CacheControlSettings;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CacheControlSettings = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var CacheControlSettingsDash_1 = require("./CacheControlSettingsDash");
6
+ var CacheControlSettingsHls_1 = require("./CacheControlSettingsHls");
7
+ var CacheControlSettingsSegments_1 = require("./CacheControlSettingsSegments");
8
+ /**
9
+ * @export
10
+ * @class CacheControlSettings
11
+ */
12
+ var CacheControlSettings = /** @class */ (function () {
13
+ function CacheControlSettings(obj) {
14
+ if (!obj) {
15
+ return;
16
+ }
17
+ this.hls = (0, Mapper_1.map)(obj.hls, CacheControlSettingsHls_1.default);
18
+ this.dash = (0, Mapper_1.map)(obj.dash, CacheControlSettingsDash_1.default);
19
+ this.segments = (0, Mapper_1.map)(obj.segments, CacheControlSettingsSegments_1.default);
20
+ }
21
+ return CacheControlSettings;
22
+ }());
23
+ exports.CacheControlSettings = CacheControlSettings;
24
+ exports.default = CacheControlSettings;
@@ -0,0 +1,21 @@
1
+ import CacheControl from './CacheControl';
2
+ /**
3
+ * @export
4
+ * @class CacheControlSettingsDash
5
+ */
6
+ export declare class CacheControlSettingsDash {
7
+ /**
8
+ * Cache control settings for DASH Timeline manifest.
9
+ * @type {CacheControl}
10
+ * @memberof CacheControlSettingsDash
11
+ */
12
+ timelineManifest?: CacheControl;
13
+ /**
14
+ * Cache control settings for DASH Template manifest.
15
+ * @type {CacheControl}
16
+ * @memberof CacheControlSettingsDash
17
+ */
18
+ templateManifest?: CacheControl;
19
+ constructor(obj?: Partial<CacheControlSettingsDash>);
20
+ }
21
+ export default CacheControlSettingsDash;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CacheControlSettingsDash = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var CacheControl_1 = require("./CacheControl");
6
+ /**
7
+ * @export
8
+ * @class CacheControlSettingsDash
9
+ */
10
+ var CacheControlSettingsDash = /** @class */ (function () {
11
+ function CacheControlSettingsDash(obj) {
12
+ if (!obj) {
13
+ return;
14
+ }
15
+ this.timelineManifest = (0, Mapper_1.map)(obj.timelineManifest, CacheControl_1.default);
16
+ this.templateManifest = (0, Mapper_1.map)(obj.templateManifest, CacheControl_1.default);
17
+ }
18
+ return CacheControlSettingsDash;
19
+ }());
20
+ exports.CacheControlSettingsDash = CacheControlSettingsDash;
21
+ exports.default = CacheControlSettingsDash;
@@ -0,0 +1,21 @@
1
+ import CacheControl from './CacheControl';
2
+ /**
3
+ * @export
4
+ * @class CacheControlSettingsHls
5
+ */
6
+ export declare class CacheControlSettingsHls {
7
+ /**
8
+ * Cache control settings for HLS Multivariant playlist.
9
+ * @type {CacheControl}
10
+ * @memberof CacheControlSettingsHls
11
+ */
12
+ multiVariantPlaylist?: CacheControl;
13
+ /**
14
+ * Cache control settings for HLS Media playlist.
15
+ * @type {CacheControl}
16
+ * @memberof CacheControlSettingsHls
17
+ */
18
+ variantPlaylist?: CacheControl;
19
+ constructor(obj?: Partial<CacheControlSettingsHls>);
20
+ }
21
+ export default CacheControlSettingsHls;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CacheControlSettingsHls = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var CacheControl_1 = require("./CacheControl");
6
+ /**
7
+ * @export
8
+ * @class CacheControlSettingsHls
9
+ */
10
+ var CacheControlSettingsHls = /** @class */ (function () {
11
+ function CacheControlSettingsHls(obj) {
12
+ if (!obj) {
13
+ return;
14
+ }
15
+ this.multiVariantPlaylist = (0, Mapper_1.map)(obj.multiVariantPlaylist, CacheControl_1.default);
16
+ this.variantPlaylist = (0, Mapper_1.map)(obj.variantPlaylist, CacheControl_1.default);
17
+ }
18
+ return CacheControlSettingsHls;
19
+ }());
20
+ exports.CacheControlSettingsHls = CacheControlSettingsHls;
21
+ exports.default = CacheControlSettingsHls;
@@ -0,0 +1,21 @@
1
+ import CacheControl from './CacheControl';
2
+ /**
3
+ * @export
4
+ * @class CacheControlSettingsSegments
5
+ */
6
+ export declare class CacheControlSettingsSegments {
7
+ /**
8
+ * Cache control settings for init segment.
9
+ * @type {CacheControl}
10
+ * @memberof CacheControlSettingsSegments
11
+ */
12
+ initSegment?: CacheControl;
13
+ /**
14
+ * Cache control settings for media segment.
15
+ * @type {CacheControl}
16
+ * @memberof CacheControlSettingsSegments
17
+ */
18
+ mediaSegment?: CacheControl;
19
+ constructor(obj?: Partial<CacheControlSettingsSegments>);
20
+ }
21
+ export default CacheControlSettingsSegments;