@bitmovin/api-sdk 1.258.0 → 1.259.1

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.
@@ -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.258.0',
243
+ 'X-Api-Client-Version': '1.259.1',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -0,0 +1,57 @@
1
+ import AgentChatDynamicToolState from './AgentChatDynamicToolState';
2
+ import AgentChatMessagePart from './AgentChatMessagePart';
3
+ import AgentChatMessagePartType from './AgentChatMessagePartType';
4
+ /**
5
+ * @export
6
+ * @class AgentChatDynamicToolPart
7
+ */
8
+ export declare class AgentChatDynamicToolPart extends AgentChatMessagePart {
9
+ /**
10
+ * Discriminator property for AgentChatMessagePart
11
+ * @type {string}
12
+ * @memberof AgentChatDynamicToolPart
13
+ */
14
+ readonly type: AgentChatMessagePartType;
15
+ /**
16
+ * Tool name (required)
17
+ * @type {string}
18
+ * @memberof AgentChatDynamicToolPart
19
+ */
20
+ toolName?: string;
21
+ /**
22
+ * Tool call identifier (required)
23
+ * @type {string}
24
+ * @memberof AgentChatDynamicToolPart
25
+ */
26
+ toolCallId?: string;
27
+ /**
28
+ * Tool invocation lifecycle state (required)
29
+ * @type {AgentChatDynamicToolState}
30
+ * @memberof AgentChatDynamicToolPart
31
+ */
32
+ state?: AgentChatDynamicToolState;
33
+ /**
34
+ * Tool input payload.
35
+ * @type {{ [key: string]: any; }}
36
+ * @memberof AgentChatDynamicToolPart
37
+ */
38
+ input?: {
39
+ [key: string]: any;
40
+ };
41
+ /**
42
+ * Tool output payload.
43
+ * @type {{ [key: string]: any; }}
44
+ * @memberof AgentChatDynamicToolPart
45
+ */
46
+ output?: {
47
+ [key: string]: any;
48
+ };
49
+ /**
50
+ * Error text for failed tool completion.
51
+ * @type {string}
52
+ * @memberof AgentChatDynamicToolPart
53
+ */
54
+ errorText?: string;
55
+ constructor(obj?: Partial<AgentChatDynamicToolPart>);
56
+ }
57
+ export default AgentChatDynamicToolPart;
@@ -0,0 +1,50 @@
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
+ exports.AgentChatDynamicToolPart = void 0;
19
+ var Mapper_1 = require("../common/Mapper");
20
+ var AgentChatMessagePart_1 = require("./AgentChatMessagePart");
21
+ var AgentChatMessagePartType_1 = require("./AgentChatMessagePartType");
22
+ /**
23
+ * @export
24
+ * @class AgentChatDynamicToolPart
25
+ */
26
+ var AgentChatDynamicToolPart = /** @class */ (function (_super) {
27
+ __extends(AgentChatDynamicToolPart, _super);
28
+ function AgentChatDynamicToolPart(obj) {
29
+ var _this = _super.call(this, obj) || this;
30
+ /**
31
+ * Discriminator property for AgentChatMessagePart
32
+ * @type {string}
33
+ * @memberof AgentChatDynamicToolPart
34
+ */
35
+ _this.type = AgentChatMessagePartType_1.default.DYNAMIC_TOOL;
36
+ if (!obj) {
37
+ return _this;
38
+ }
39
+ _this.toolName = (0, Mapper_1.map)(obj.toolName);
40
+ _this.toolCallId = (0, Mapper_1.map)(obj.toolCallId);
41
+ _this.state = (0, Mapper_1.map)(obj.state);
42
+ _this.input = (0, Mapper_1.map)(obj.input);
43
+ _this.output = (0, Mapper_1.map)(obj.output);
44
+ _this.errorText = (0, Mapper_1.map)(obj.errorText);
45
+ return _this;
46
+ }
47
+ return AgentChatDynamicToolPart;
48
+ }(AgentChatMessagePart_1.default));
49
+ exports.AgentChatDynamicToolPart = AgentChatDynamicToolPart;
50
+ exports.default = AgentChatDynamicToolPart;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum AgentChatDynamicToolState {
6
+ INPUT_STREAMING = "input-streaming",
7
+ INPUT_AVAILABLE = "input-available",
8
+ OUTPUT_AVAILABLE = "output-available",
9
+ OUTPUT_ERROR = "output-error"
10
+ }
11
+ export default AgentChatDynamicToolState;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentChatDynamicToolState = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var AgentChatDynamicToolState;
9
+ (function (AgentChatDynamicToolState) {
10
+ AgentChatDynamicToolState["INPUT_STREAMING"] = "input-streaming";
11
+ AgentChatDynamicToolState["INPUT_AVAILABLE"] = "input-available";
12
+ AgentChatDynamicToolState["OUTPUT_AVAILABLE"] = "output-available";
13
+ AgentChatDynamicToolState["OUTPUT_ERROR"] = "output-error";
14
+ })(AgentChatDynamicToolState || (exports.AgentChatDynamicToolState = AgentChatDynamicToolState = {}));
15
+ exports.default = AgentChatDynamicToolState;
@@ -1,6 +1,7 @@
1
1
  import AgentChatAttachmentsPart from './AgentChatAttachmentsPart';
2
+ import AgentChatDynamicToolPart from './AgentChatDynamicToolPart';
2
3
  import AgentChatTextPart from './AgentChatTextPart';
3
- export type AgentChatMessagePartUnion = AgentChatTextPart | AgentChatAttachmentsPart;
4
+ export type AgentChatMessagePartUnion = AgentChatTextPart | AgentChatAttachmentsPart | AgentChatDynamicToolPart;
4
5
  /**
5
6
  * @export
6
7
  * @class AgentChatMessagePart
@@ -14,7 +14,8 @@ var AgentChatMessagePart = /** @class */ (function () {
14
14
  AgentChatMessagePart._discriminatorName = 'type';
15
15
  AgentChatMessagePart._discriminatorMapping = {
16
16
  "text": 'AgentChatTextPart',
17
- "data-attachments": 'AgentChatAttachmentsPart'
17
+ "data-attachments": 'AgentChatAttachmentsPart',
18
+ "dynamic-tool": 'AgentChatDynamicToolPart'
18
19
  };
19
20
  return AgentChatMessagePart;
20
21
  }());
@@ -4,6 +4,7 @@
4
4
  */
5
5
  export declare enum AgentChatMessagePartType {
6
6
  TEXT = "text",
7
- DATA_ATTACHMENTS = "data-attachments"
7
+ DATA_ATTACHMENTS = "data-attachments",
8
+ DYNAMIC_TOOL = "dynamic-tool"
8
9
  }
9
10
  export default AgentChatMessagePartType;
@@ -9,5 +9,6 @@ var AgentChatMessagePartType;
9
9
  (function (AgentChatMessagePartType) {
10
10
  AgentChatMessagePartType["TEXT"] = "text";
11
11
  AgentChatMessagePartType["DATA_ATTACHMENTS"] = "data-attachments";
12
+ AgentChatMessagePartType["DYNAMIC_TOOL"] = "dynamic-tool";
12
13
  })(AgentChatMessagePartType || (exports.AgentChatMessagePartType = AgentChatMessagePartType = {}));
13
14
  exports.default = AgentChatMessagePartType;
@@ -2,6 +2,7 @@ import AwsCloudRegion from './AwsCloudRegion';
2
2
  import Output from './Output';
3
3
  import OutputType from './OutputType';
4
4
  import S3SignatureVersion from './S3SignatureVersion';
5
+ import S3StorageClass from './S3StorageClass';
5
6
  /**
6
7
  * @export
7
8
  * @class S3Output
@@ -49,6 +50,12 @@ export declare class S3Output extends Output {
49
50
  * @memberof S3Output
50
51
  */
51
52
  signatureVersion?: S3SignatureVersion;
53
+ /**
54
+ * Specifies the storage class used for the bucket. This depends on the requirements of workloads, like performance, data access, resiliency, and cost.
55
+ * @type {S3StorageClass}
56
+ * @memberof S3Output
57
+ */
58
+ storageClass?: S3StorageClass;
52
59
  constructor(obj?: Partial<S3Output>);
53
60
  }
54
61
  export default S3Output;
@@ -42,6 +42,7 @@ var S3Output = /** @class */ (function (_super) {
42
42
  _this.md5MetaTag = (0, Mapper_1.map)(obj.md5MetaTag);
43
43
  _this.cloudRegion = (0, Mapper_1.map)(obj.cloudRegion);
44
44
  _this.signatureVersion = (0, Mapper_1.map)(obj.signatureVersion);
45
+ _this.storageClass = (0, Mapper_1.map)(obj.storageClass);
45
46
  return _this;
46
47
  }
47
48
  return S3Output;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum S3StorageClass {
6
+ GLACIER_IR = "GLACIER_IR",
7
+ INTELLIGENT_TIERING = "INTELLIGENT_TIERING",
8
+ ONEZONE_IA = "ONEZONE_IA",
9
+ REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY",
10
+ STANDARD = "STANDARD",
11
+ STANDARD_IA = "STANDARD_IA"
12
+ }
13
+ export default S3StorageClass;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.S3StorageClass = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var S3StorageClass;
9
+ (function (S3StorageClass) {
10
+ S3StorageClass["GLACIER_IR"] = "GLACIER_IR";
11
+ S3StorageClass["INTELLIGENT_TIERING"] = "INTELLIGENT_TIERING";
12
+ S3StorageClass["ONEZONE_IA"] = "ONEZONE_IA";
13
+ S3StorageClass["REDUCED_REDUNDANCY"] = "REDUCED_REDUNDANCY";
14
+ S3StorageClass["STANDARD"] = "STANDARD";
15
+ S3StorageClass["STANDARD_IA"] = "STANDARD_IA";
16
+ })(S3StorageClass || (exports.S3StorageClass = S3StorageClass = {}));
17
+ exports.default = S3StorageClass;
@@ -46,6 +46,8 @@ export * from './AesEncryptionMethod';
46
46
  export * from './AgentChatAttachment';
47
47
  export * from './AgentChatAttachmentsData';
48
48
  export * from './AgentChatAttachmentsPart';
49
+ export * from './AgentChatDynamicToolPart';
50
+ export * from './AgentChatDynamicToolState';
49
51
  export * from './AgentChatMessage';
50
52
  export * from './AgentChatMessagePart';
51
53
  export * from './AgentChatMessagePartType';
@@ -693,6 +695,7 @@ export * from './S3Output';
693
695
  export * from './S3RoleBasedInput';
694
696
  export * from './S3RoleBasedOutput';
695
697
  export * from './S3SignatureVersion';
698
+ export * from './S3StorageClass';
696
699
  export * from './ScaleFilter';
697
700
  export * from './ScalingAlgorithm';
698
701
  export * from './SccCaption';
@@ -62,6 +62,8 @@ __exportStar(require("./AesEncryptionMethod"), exports);
62
62
  __exportStar(require("./AgentChatAttachment"), exports);
63
63
  __exportStar(require("./AgentChatAttachmentsData"), exports);
64
64
  __exportStar(require("./AgentChatAttachmentsPart"), exports);
65
+ __exportStar(require("./AgentChatDynamicToolPart"), exports);
66
+ __exportStar(require("./AgentChatDynamicToolState"), exports);
65
67
  __exportStar(require("./AgentChatMessage"), exports);
66
68
  __exportStar(require("./AgentChatMessagePart"), exports);
67
69
  __exportStar(require("./AgentChatMessagePartType"), exports);
@@ -709,6 +711,7 @@ __exportStar(require("./S3Output"), exports);
709
711
  __exportStar(require("./S3RoleBasedInput"), exports);
710
712
  __exportStar(require("./S3RoleBasedOutput"), exports);
711
713
  __exportStar(require("./S3SignatureVersion"), exports);
714
+ __exportStar(require("./S3StorageClass"), exports);
712
715
  __exportStar(require("./ScaleFilter"), exports);
713
716
  __exportStar(require("./ScalingAlgorithm"), exports);
714
717
  __exportStar(require("./SccCaption"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.258.0",
3
+ "version": "1.259.1",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [