@dolbyio/dolbyio-rest-apis-client 6.2.1 → 6.2.2

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/dist/index.js CHANGED
@@ -34,4 +34,4 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
34
34
  // Expose the logger to control when/where to log
35
35
 
36
36
  /** Gets the version of this library. */
37
- var version = exports.version = "6.2.1";
37
+ var version = exports.version = "6.2.2";
@@ -31,6 +31,12 @@ export interface Webhook {
31
31
  /** Reason why the webhook was disabled. */
32
32
  reason: string;
33
33
  };
34
+ /**
35
+ * A regular expression used to filter the events sent to this webhook based on StreamName or TranscoderName.
36
+ * For event types `feeds`, `media`, `recording`, `thumbnail` and `viewerConnection` the filter applies to the `StreamName` field.
37
+ * For event type `transcoder` the filter applies to the `TranscoderName` field.
38
+ */
39
+ filter?: string;
34
40
  }
35
41
  /** Represents a webhook update request. */
36
42
  export interface UpdateWebhookRequest {
@@ -52,6 +58,13 @@ export interface UpdateWebhookRequest {
52
58
  isViewerConnectionHooks?: boolean;
53
59
  /** Set to `true` to immediately re-enable the webhook if it has been temporarily disabled. */
54
60
  reEnable?: boolean;
61
+ /**
62
+ * A regular expression used to filter the events sent to this webhook based on StreamName or TranscoderName.
63
+ * For event types `feeds`, `media`, `recording`, `thumbnail` and `viewerConnection` the filter applies to the `StreamName` field.
64
+ * For event type `transcoder` the filter applies to the `TranscoderName` field.
65
+ * Set to `null` to clear value.
66
+ */
67
+ filter?: string;
55
68
  }
56
69
  /** Represents a webhook listing request. */
57
70
  export interface ListWebhooksRequest {
@@ -89,6 +102,12 @@ export interface AddWebhookRequest {
89
102
  * @defaultValue `false`.
90
103
  */
91
104
  isViewerConnectionHooks?: boolean;
105
+ /**
106
+ * A regular expression used to filter the events sent to this webhook based on StreamName or TranscoderName.
107
+ * For event types `feeds`, `media`, `recording`, `thumbnail` and `viewerConnection` the filter applies to the `StreamName` field.
108
+ * For event type `transcoder` the filter applies to the `TranscoderName` field.
109
+ */
110
+ filter?: string;
92
111
  }
93
112
  /** Types of webhook events. */
94
113
  export type WebhookType = 'Recordings' | 'Thumbnail' | 'Transcoder' | 'Media' | 'Feeds' | 'ViewerConnection';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolbyio/dolbyio-rest-apis-client",
3
- "version": "6.2.1",
3
+ "version": "6.2.2",
4
4
  "description": "Node.JS wrapper for the Dolby OptiView REST APIs",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {