@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 +1 -1
- package/dist/streaming/types/webhooks.d.ts +19 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -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';
|