@axinom/mosaic-messages 0.44.0-rc.2 → 0.44.0-rc.4
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/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.d.ts +24 -0
- package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.js +24 -0
- package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.js.map +1 -1
- package/dist/generated/schemas/payloads/video/commands/delete-video-command.json +22 -0
- package/dist/generated/schemas/payloads/video/commands/index.d.ts +45 -0
- package/dist/generated/schemas/payloads/video/commands/index.d.ts.map +1 -1
- package/dist/generated/schemas/payloads/video/commands/index.js +5 -1
- package/dist/generated/schemas/payloads/video/commands/index.js.map +1 -1
- package/dist/generated/schemas/payloads/video/commands/start-videos-deletion-command.json +25 -0
- package/dist/generated/schemas/payloads/video/events/delete-video-failed-event.json +29 -0
- package/dist/generated/schemas/payloads/video/events/delete-video-finished-event.json +36 -0
- package/dist/generated/schemas/payloads/video/events/index.d.ts +58 -0
- package/dist/generated/schemas/payloads/video/events/index.d.ts.map +1 -1
- package/dist/generated/schemas/payloads/video/events/index.js +5 -1
- package/dist/generated/schemas/payloads/video/events/index.js.map +1 -1
- package/dist/generated/types/payloads/video/commands/delete-video-command.d.ts +14 -0
- package/dist/generated/types/payloads/video/commands/delete-video-command.d.ts.map +1 -0
- package/dist/generated/types/payloads/video/commands/delete-video-command.js +3 -0
- package/dist/generated/types/payloads/video/commands/delete-video-command.js.map +1 -0
- package/dist/generated/types/payloads/video/commands/index.d.ts +6 -0
- package/dist/generated/types/payloads/video/commands/index.d.ts.map +1 -1
- package/dist/generated/types/payloads/video/commands/index.js +6 -0
- package/dist/generated/types/payloads/video/commands/index.js.map +1 -1
- package/dist/generated/types/payloads/video/commands/start-videos-deletion-command.d.ts +10 -0
- package/dist/generated/types/payloads/video/commands/start-videos-deletion-command.d.ts.map +1 -0
- package/dist/generated/types/payloads/video/commands/start-videos-deletion-command.js +3 -0
- package/dist/generated/types/payloads/video/commands/start-videos-deletion-command.js.map +1 -0
- package/dist/generated/types/payloads/video/events/delete-video-failed-event.d.ts +18 -0
- package/dist/generated/types/payloads/video/events/delete-video-failed-event.d.ts.map +1 -0
- package/dist/generated/types/payloads/video/events/delete-video-failed-event.js +3 -0
- package/dist/generated/types/payloads/video/events/delete-video-failed-event.js.map +1 -0
- package/dist/generated/types/payloads/video/events/delete-video-finished-event.d.ts +22 -0
- package/dist/generated/types/payloads/video/events/delete-video-finished-event.d.ts.map +1 -0
- package/dist/generated/types/payloads/video/events/delete-video-finished-event.js +3 -0
- package/dist/generated/types/payloads/video/events/delete-video-finished-event.js.map +1 -0
- package/dist/generated/types/payloads/video/events/index.d.ts +6 -0
- package/dist/generated/types/payloads/video/events/index.d.ts.map +1 -1
- package/dist/generated/types/payloads/video/events/index.js +6 -0
- package/dist/generated/types/payloads/video/events/index.js.map +1 -1
- package/package.json +4 -4
- package/src/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.ts +48 -0
- package/src/generated/schemas/payloads/video/commands/delete-video-command.json +22 -0
- package/src/generated/schemas/payloads/video/commands/index.ts +4 -0
- package/src/generated/schemas/payloads/video/commands/start-videos-deletion-command.json +25 -0
- package/src/generated/schemas/payloads/video/events/delete-video-failed-event.json +29 -0
- package/src/generated/schemas/payloads/video/events/delete-video-finished-event.json +36 -0
- package/src/generated/schemas/payloads/video/events/index.ts +4 -0
- package/src/generated/types/payloads/video/commands/delete-video-command.ts +13 -0
- package/src/generated/types/payloads/video/commands/index.ts +6 -0
- package/src/generated/types/payloads/video/commands/start-videos-deletion-command.ts +9 -0
- package/src/generated/types/payloads/video/events/delete-video-failed-event.ts +17 -0
- package/src/generated/types/payloads/video/events/delete-video-finished-event.ts +21 -0
- package/src/generated/types/payloads/video/events/index.ts +6 -0
package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.d.ts
CHANGED
|
@@ -30,6 +30,18 @@ export declare class VideoServiceMultiTenantMessagingSettings extends MultiTenan
|
|
|
30
30
|
* The aggregate ID is not known (yet) so the field must contain the value "UNDEFINED_ID".
|
|
31
31
|
*/
|
|
32
32
|
static ImportCustomVideo: VideoServiceMultiTenantMessagingSettings;
|
|
33
|
+
/**
|
|
34
|
+
* Defines the messaging settings for the command with message type
|
|
35
|
+
* "StartVideosDeletion" and aggregate type "video".
|
|
36
|
+
* The aggregate ID field must contain the value of the "video ID" field.
|
|
37
|
+
*/
|
|
38
|
+
static StartVideosDeletion: VideoServiceMultiTenantMessagingSettings;
|
|
39
|
+
/**
|
|
40
|
+
* Defines the messaging settings for the command with message type
|
|
41
|
+
* "DeleteVideo" and aggregate type "video".
|
|
42
|
+
* The aggregate ID field must contain the value of the "video ID" field.
|
|
43
|
+
*/
|
|
44
|
+
static DeleteVideo: VideoServiceMultiTenantMessagingSettings;
|
|
33
45
|
/**
|
|
34
46
|
* Defines the messaging settings for the event with message type
|
|
35
47
|
* "CuePointTypesDeclared" and aggregate type "cue-point-type".
|
|
@@ -108,6 +120,18 @@ export declare class VideoServiceMultiTenantMessagingSettings extends MultiTenan
|
|
|
108
120
|
* The aggregate ID field contains the value of the "video ID" field.
|
|
109
121
|
*/
|
|
110
122
|
static VideoEncodingFailed: VideoServiceMultiTenantMessagingSettings;
|
|
123
|
+
/**
|
|
124
|
+
* Defines the messaging settings for the event with message type
|
|
125
|
+
* "DeleteVideoFinished" and aggregate type "video".
|
|
126
|
+
* The aggregate ID field contains the value of the "video ID" field.
|
|
127
|
+
*/
|
|
128
|
+
static DeleteVideoFinished: VideoServiceMultiTenantMessagingSettings;
|
|
129
|
+
/**
|
|
130
|
+
* Defines the messaging settings for the event with message type
|
|
131
|
+
* "DeleteVideoFailed" and aggregate type "video".
|
|
132
|
+
* The aggregate ID field contains the value of the "video ID" field.
|
|
133
|
+
*/
|
|
134
|
+
static DeleteVideoFailed: VideoServiceMultiTenantMessagingSettings;
|
|
111
135
|
private constructor();
|
|
112
136
|
toString: () => string;
|
|
113
137
|
}
|
package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video-service-multi-tenant-messaging-settings.d.ts","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAEvF,qBAAa,wCAAyC,SAAQ,4BAA4B;IACxF;;;;OAIG;IACH,OAAc,oBAAoB,2CAM9B;IACJ;;;;OAIG;IACH,OAAc,iBAAiB,2CAM3B;IACJ;;;;OAIG;IACH,OAAc,aAAa,2CAMvB;IACJ;;;;OAIG;IACH,OAAc,eAAe,2CAMzB;IACJ;;;;OAIG;IACH,OAAc,iBAAiB,2CAM3B;IACJ;;;;OAIG;IACH,OAAc,qBAAqB,2CAM/B;IACJ;;;;OAIG;IACH,OAAc,0BAA0B,2CAMpC;IACJ;;;;OAIG;IACH,OAAc,+BAA+B,2CAMzC;IACJ;;;;OAIG;IACH,OAAc,gCAAgC,2CAM1C;IACJ;;;;OAIG;IACH,OAAc,uBAAuB,2CAMjC;IACJ;;;;OAIG;IACH,OAAc,qBAAqB,2CAM/B;IACJ;;;;OAIG;IACH,OAAc,mBAAmB,2CAM7B;IACJ;;;;OAIG;IACH,OAAc,uBAAuB,2CAMjC;IACJ;;;;OAIG;IACH,OAAc,qBAAqB,2CAM/B;IACJ;;;;OAIG;IACH,OAAc,yBAAyB,2CAMnC;IACJ;;;;OAIG;IACH,OAAc,uBAAuB,2CAMjC;IACJ;;;;OAIG;IACH,OAAc,qBAAqB,2CAM/B;IACJ;;;;OAIG;IACH,OAAc,mBAAmB,2CAM7B;IAEJ,OAAO;IAUS,QAAQ,QAAO,MAAM,CAEnC;CACH"}
|
|
1
|
+
{"version":3,"file":"video-service-multi-tenant-messaging-settings.d.ts","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAEvF,qBAAa,wCAAyC,SAAQ,4BAA4B;IACxF;;;;OAIG;IACH,OAAc,oBAAoB,2CAM9B;IACJ;;;;OAIG;IACH,OAAc,iBAAiB,2CAM3B;IACJ;;;;OAIG;IACH,OAAc,aAAa,2CAMvB;IACJ;;;;OAIG;IACH,OAAc,eAAe,2CAMzB;IACJ;;;;OAIG;IACH,OAAc,iBAAiB,2CAM3B;IACJ;;;;OAIG;IACH,OAAc,mBAAmB,2CAM7B;IACJ;;;;OAIG;IACH,OAAc,WAAW,2CAMrB;IACJ;;;;OAIG;IACH,OAAc,qBAAqB,2CAM/B;IACJ;;;;OAIG;IACH,OAAc,0BAA0B,2CAMpC;IACJ;;;;OAIG;IACH,OAAc,+BAA+B,2CAMzC;IACJ;;;;OAIG;IACH,OAAc,gCAAgC,2CAM1C;IACJ;;;;OAIG;IACH,OAAc,uBAAuB,2CAMjC;IACJ;;;;OAIG;IACH,OAAc,qBAAqB,2CAM/B;IACJ;;;;OAIG;IACH,OAAc,mBAAmB,2CAM7B;IACJ;;;;OAIG;IACH,OAAc,uBAAuB,2CAMjC;IACJ;;;;OAIG;IACH,OAAc,qBAAqB,2CAM/B;IACJ;;;;OAIG;IACH,OAAc,yBAAyB,2CAMnC;IACJ;;;;OAIG;IACH,OAAc,uBAAuB,2CAMjC;IACJ;;;;OAIG;IACH,OAAc,qBAAqB,2CAM/B;IACJ;;;;OAIG;IACH,OAAc,mBAAmB,2CAM7B;IACJ;;;;OAIG;IACH,OAAc,mBAAmB,2CAM7B;IACJ;;;;OAIG;IACH,OAAc,iBAAiB,2CAM3B;IAEJ,OAAO;IAUS,QAAQ,QAAO,MAAM,CAEnC;CACH"}
|
package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.js
CHANGED
|
@@ -40,6 +40,18 @@ VideoServiceMultiTenantMessagingSettings.UnarchiveVideos = new VideoServiceMulti
|
|
|
40
40
|
* The aggregate ID is not known (yet) so the field must contain the value "UNDEFINED_ID".
|
|
41
41
|
*/
|
|
42
42
|
VideoServiceMultiTenantMessagingSettings.ImportCustomVideo = new VideoServiceMultiTenantMessagingSettings('ImportCustomVideo', 'inbox', '*.*.custom_video.import', 'command', 'video');
|
|
43
|
+
/**
|
|
44
|
+
* Defines the messaging settings for the command with message type
|
|
45
|
+
* "StartVideosDeletion" and aggregate type "video".
|
|
46
|
+
* The aggregate ID field must contain the value of the "video ID" field.
|
|
47
|
+
*/
|
|
48
|
+
VideoServiceMultiTenantMessagingSettings.StartVideosDeletion = new VideoServiceMultiTenantMessagingSettings('StartVideosDeletion', 'inbox', '*.*.videos.start_deletion', 'command', 'video');
|
|
49
|
+
/**
|
|
50
|
+
* Defines the messaging settings for the command with message type
|
|
51
|
+
* "DeleteVideo" and aggregate type "video".
|
|
52
|
+
* The aggregate ID field must contain the value of the "video ID" field.
|
|
53
|
+
*/
|
|
54
|
+
VideoServiceMultiTenantMessagingSettings.DeleteVideo = new VideoServiceMultiTenantMessagingSettings('DeleteVideo', 'inbox', '*.*.video.delete', 'command', 'video');
|
|
43
55
|
/**
|
|
44
56
|
* Defines the messaging settings for the event with message type
|
|
45
57
|
* "CuePointTypesDeclared" and aggregate type "cue-point-type".
|
|
@@ -118,5 +130,17 @@ VideoServiceMultiTenantMessagingSettings.VideoEncodingFinished = new VideoServic
|
|
|
118
130
|
* The aggregate ID field contains the value of the "video ID" field.
|
|
119
131
|
*/
|
|
120
132
|
VideoServiceMultiTenantMessagingSettings.VideoEncodingFailed = new VideoServiceMultiTenantMessagingSettings('VideoEncodingFailed', 'video:encoding_failed', '*.*.video.encoding_failed', 'event', 'video');
|
|
133
|
+
/**
|
|
134
|
+
* Defines the messaging settings for the event with message type
|
|
135
|
+
* "DeleteVideoFinished" and aggregate type "video".
|
|
136
|
+
* The aggregate ID field contains the value of the "video ID" field.
|
|
137
|
+
*/
|
|
138
|
+
VideoServiceMultiTenantMessagingSettings.DeleteVideoFinished = new VideoServiceMultiTenantMessagingSettings('DeleteVideoFinished', 'video:delete_finished', '*.*.video.delete_finished', 'event', 'video');
|
|
139
|
+
/**
|
|
140
|
+
* Defines the messaging settings for the event with message type
|
|
141
|
+
* "DeleteVideoFailed" and aggregate type "video".
|
|
142
|
+
* The aggregate ID field contains the value of the "video ID" field.
|
|
143
|
+
*/
|
|
144
|
+
VideoServiceMultiTenantMessagingSettings.DeleteVideoFailed = new VideoServiceMultiTenantMessagingSettings('DeleteVideoFailed', 'video:delete_failed', '*.*.video.delete_failed', 'event', 'video');
|
|
121
145
|
exports.VideoServiceMultiTenantMessagingSettings = VideoServiceMultiTenantMessagingSettings;
|
|
122
146
|
//# sourceMappingURL=video-service-multi-tenant-messaging-settings.js.map
|
package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video-service-multi-tenant-messaging-settings.js","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.ts"],"names":[],"mappings":";;;AAAA,6FAAuF;AAEvF,MAAa,wCAAyC,SAAQ,8DAA4B;
|
|
1
|
+
{"version":3,"file":"video-service-multi-tenant-messaging-settings.js","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.ts"],"names":[],"mappings":";;;AAAA,6FAAuF;AAEvF,MAAa,wCAAyC,SAAQ,8DAA4B;IA0QxF,YACE,WAAmB,EACnB,KAAa,EACb,UAAkB,EAClB,MAA2B,EAC3B,aAAqB;QAErB,KAAK,CAAC,kBAAkB,EAAE,WAAW,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;QAGnE,aAAQ,GAAG,GAAW,EAAE;YACtC,OAAO,IAAI,CAAC,WAAW,C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G;AACW,8DAAqB,GAAG,IAAI,wCAAwC,CAChF,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,OAAO,EACP,OAAO,CACN,AANgC,CAM/B;AACJ;;;;GAIG;AACW,4DAAmB,GAAG,IAAI,wCAAwC,CAC9E,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,OAAO,EACP,OAAO,CACN,AAN8B,CAM7B;AACJ;;;;GAIG;AACW,4DAAmB,GAAG,IAAI,wCAAwC,CAC9E,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,OAAO,EACP,OAAO,CACN,AAN8B,CAM7B;AACJ;;;;GAIG;AACW,0DAAiB,GAAG,IAAI,wCAAwC,CAC5E,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EACzB,OAAO,EACP,OAAO,CACN,AAN4B,CAM3B;AAxQO,4FAAwC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "delete_video_command",
|
|
5
|
+
"description": "Command schema to delete a single video by either ID or the source location. At least one of them must be defined - the video ID takes precedence.",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"properties": {
|
|
8
|
+
"video_id": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"minLength": 32,
|
|
11
|
+
"maxLength": 36,
|
|
12
|
+
"format": "uuid",
|
|
13
|
+
"description": "A UUID."
|
|
14
|
+
},
|
|
15
|
+
"source_location": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1,
|
|
18
|
+
"pattern": "^$|.*\\S.*",
|
|
19
|
+
"description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -62,6 +62,28 @@ export declare const DeclareCuePointTypesCommandSchema: {
|
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
|
+
export declare const DeleteVideoCommandSchema: {
|
|
66
|
+
$schema: string;
|
|
67
|
+
type: string;
|
|
68
|
+
title: string;
|
|
69
|
+
description: string;
|
|
70
|
+
additionalProperties: boolean;
|
|
71
|
+
properties: {
|
|
72
|
+
video_id: {
|
|
73
|
+
type: string;
|
|
74
|
+
minLength: number;
|
|
75
|
+
maxLength: number;
|
|
76
|
+
format: string;
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
source_location: {
|
|
80
|
+
type: string;
|
|
81
|
+
minLength: number;
|
|
82
|
+
pattern: string;
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
65
87
|
export declare const EnsureVideoExistsCommandSchema: {
|
|
66
88
|
$schema: string;
|
|
67
89
|
type: string;
|
|
@@ -298,6 +320,29 @@ export declare const ImportCustomVideoCommandSchema: {
|
|
|
298
320
|
};
|
|
299
321
|
};
|
|
300
322
|
};
|
|
323
|
+
export declare const StartVideosDeletionCommandSchema: {
|
|
324
|
+
$schema: string;
|
|
325
|
+
type: string;
|
|
326
|
+
title: string;
|
|
327
|
+
description: string;
|
|
328
|
+
additionalProperties: boolean;
|
|
329
|
+
required: string[];
|
|
330
|
+
properties: {
|
|
331
|
+
asset_ids: {
|
|
332
|
+
type: string;
|
|
333
|
+
description: string;
|
|
334
|
+
uniqueItems: boolean;
|
|
335
|
+
additionalItems: boolean;
|
|
336
|
+
items: {
|
|
337
|
+
type: string;
|
|
338
|
+
minLength: number;
|
|
339
|
+
maxLength: number;
|
|
340
|
+
format: string;
|
|
341
|
+
description: string;
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
};
|
|
301
346
|
export declare const UnarchiveVideosCommandSchema: {
|
|
302
347
|
$schema: string;
|
|
303
348
|
type: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/video/commands/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/video/commands/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;CAAuB,CAAC;AAC/D,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA8B,CAAC;AAC7E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;CAAqB,CAAC;AAC3D,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAC;AACvE,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAC;AACvE,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;CAA6B,CAAC;AAC3E,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;CAAyB,CAAC;AACnE,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;CAA6B,CAAC;AAC3E,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;CAA4B,CAAC"}
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VideoServiceEnableCommandSchema = exports.VideoServiceDisableCommandSchema = exports.UnarchiveVideosCommandSchema = exports.ImportCustomVideoCommandSchema = exports.EnsureVideoExistsCommandSchema = exports.DeclareCuePointTypesCommandSchema = exports.ArchiveVideosCommandSchema = void 0;
|
|
3
|
+
exports.VideoServiceEnableCommandSchema = exports.VideoServiceDisableCommandSchema = exports.UnarchiveVideosCommandSchema = exports.StartVideosDeletionCommandSchema = exports.ImportCustomVideoCommandSchema = exports.EnsureVideoExistsCommandSchema = exports.DeleteVideoCommandSchema = exports.DeclareCuePointTypesCommandSchema = exports.ArchiveVideosCommandSchema = void 0;
|
|
4
4
|
const ArchiveVideosCommand = require("./archive-videos-command.json");
|
|
5
5
|
const DeclareCuePointTypesCommand = require("./declare-cue-point-types-command.json");
|
|
6
|
+
const DeleteVideoCommand = require("./delete-video-command.json");
|
|
6
7
|
const EnsureVideoExistsCommand = require("./ensure-video-exists-command.json");
|
|
7
8
|
const ImportCustomVideoCommand = require("./import-custom-video-command.json");
|
|
9
|
+
const StartVideosDeletionCommand = require("./start-videos-deletion-command.json");
|
|
8
10
|
const UnarchiveVideosCommand = require("./unarchive-videos-command.json");
|
|
9
11
|
const VideoServiceDisableCommand = require("./video-service-disable-command.json");
|
|
10
12
|
const VideoServiceEnableCommand = require("./video-service-enable-command.json");
|
|
11
13
|
exports.ArchiveVideosCommandSchema = ArchiveVideosCommand;
|
|
12
14
|
exports.DeclareCuePointTypesCommandSchema = DeclareCuePointTypesCommand;
|
|
15
|
+
exports.DeleteVideoCommandSchema = DeleteVideoCommand;
|
|
13
16
|
exports.EnsureVideoExistsCommandSchema = EnsureVideoExistsCommand;
|
|
14
17
|
exports.ImportCustomVideoCommandSchema = ImportCustomVideoCommand;
|
|
18
|
+
exports.StartVideosDeletionCommandSchema = StartVideosDeletionCommand;
|
|
15
19
|
exports.UnarchiveVideosCommandSchema = UnarchiveVideosCommand;
|
|
16
20
|
exports.VideoServiceDisableCommandSchema = VideoServiceDisableCommand;
|
|
17
21
|
exports.VideoServiceEnableCommandSchema = VideoServiceEnableCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/video/commands/index.ts"],"names":[],"mappings":";;;AAAA,sEAAsE;AACtE,sFAAsF;AACtF,+EAA+E;AAC/E,+EAA+E;AAC/E,0EAA0E;AAC1E,mFAAmF;AACnF,iFAAiF;AAEpE,QAAA,0BAA0B,GAAG,oBAAoB,CAAC;AAClD,QAAA,iCAAiC,GAAG,2BAA2B,CAAC;AAChE,QAAA,8BAA8B,GAAG,wBAAwB,CAAC;AAC1D,QAAA,8BAA8B,GAAG,wBAAwB,CAAC;AAC1D,QAAA,4BAA4B,GAAG,sBAAsB,CAAC;AACtD,QAAA,gCAAgC,GAAG,0BAA0B,CAAC;AAC9D,QAAA,+BAA+B,GAAG,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/video/commands/index.ts"],"names":[],"mappings":";;;AAAA,sEAAsE;AACtE,sFAAsF;AACtF,kEAAkE;AAClE,+EAA+E;AAC/E,+EAA+E;AAC/E,mFAAmF;AACnF,0EAA0E;AAC1E,mFAAmF;AACnF,iFAAiF;AAEpE,QAAA,0BAA0B,GAAG,oBAAoB,CAAC;AAClD,QAAA,iCAAiC,GAAG,2BAA2B,CAAC;AAChE,QAAA,wBAAwB,GAAG,kBAAkB,CAAC;AAC9C,QAAA,8BAA8B,GAAG,wBAAwB,CAAC;AAC1D,QAAA,8BAA8B,GAAG,wBAAwB,CAAC;AAC1D,QAAA,gCAAgC,GAAG,0BAA0B,CAAC;AAC9D,QAAA,4BAA4B,GAAG,sBAAsB,CAAC;AACtD,QAAA,gCAAgC,GAAG,0BAA0B,CAAC;AAC9D,QAAA,+BAA+B,GAAG,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "start_videos_deletion_command",
|
|
5
|
+
"description": "Command schema to start deletion of multiple videos by ids.",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"asset_ids"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"asset_ids": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"description": "An array of uuid video id values.",
|
|
14
|
+
"uniqueItems": true,
|
|
15
|
+
"additionalItems": false,
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"minLength": 32,
|
|
19
|
+
"maxLength": 36,
|
|
20
|
+
"format": "uuid",
|
|
21
|
+
"description": "A UUID."
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "delete_video_failed_event",
|
|
5
|
+
"description": "Delete video failed event schema.",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"message"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"video_id": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 32,
|
|
14
|
+
"maxLength": 36,
|
|
15
|
+
"format": "uuid",
|
|
16
|
+
"description": "A UUID."
|
|
17
|
+
},
|
|
18
|
+
"source_location": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"minLength": 1,
|
|
21
|
+
"pattern": "^$|.*\\S.*",
|
|
22
|
+
"description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
|
|
23
|
+
},
|
|
24
|
+
"message": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "Message that describes the reason for the command processing failure."
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "delete_video_finished_event",
|
|
5
|
+
"description": "Delete video finished event schema.",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"video_id",
|
|
9
|
+
"title",
|
|
10
|
+
"source_location",
|
|
11
|
+
"encoding_state"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"video_id": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"minLength": 32,
|
|
17
|
+
"maxLength": 36,
|
|
18
|
+
"format": "uuid",
|
|
19
|
+
"description": "A UUID."
|
|
20
|
+
},
|
|
21
|
+
"title": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 1,
|
|
24
|
+
"pattern": "^$|.*\\S.*",
|
|
25
|
+
"description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
|
|
26
|
+
},
|
|
27
|
+
"source_location": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "Original source location of the deleted video. Not set if video was uploaded via UI or GraphQL API."
|
|
30
|
+
},
|
|
31
|
+
"encoding_state": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "The state of the video encoding before it was deleted."
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -192,6 +192,64 @@ export declare const CuePointTypesDeclaredEventSchema: {
|
|
|
192
192
|
};
|
|
193
193
|
};
|
|
194
194
|
};
|
|
195
|
+
export declare const DeleteVideoFailedEventSchema: {
|
|
196
|
+
$schema: string;
|
|
197
|
+
type: string;
|
|
198
|
+
title: string;
|
|
199
|
+
description: string;
|
|
200
|
+
additionalProperties: boolean;
|
|
201
|
+
required: string[];
|
|
202
|
+
properties: {
|
|
203
|
+
video_id: {
|
|
204
|
+
type: string;
|
|
205
|
+
minLength: number;
|
|
206
|
+
maxLength: number;
|
|
207
|
+
format: string;
|
|
208
|
+
description: string;
|
|
209
|
+
};
|
|
210
|
+
source_location: {
|
|
211
|
+
type: string;
|
|
212
|
+
minLength: number;
|
|
213
|
+
pattern: string;
|
|
214
|
+
description: string;
|
|
215
|
+
};
|
|
216
|
+
message: {
|
|
217
|
+
type: string;
|
|
218
|
+
description: string;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
export declare const DeleteVideoFinishedEventSchema: {
|
|
223
|
+
$schema: string;
|
|
224
|
+
type: string;
|
|
225
|
+
title: string;
|
|
226
|
+
description: string;
|
|
227
|
+
additionalProperties: boolean;
|
|
228
|
+
required: string[];
|
|
229
|
+
properties: {
|
|
230
|
+
video_id: {
|
|
231
|
+
type: string;
|
|
232
|
+
minLength: number;
|
|
233
|
+
maxLength: number;
|
|
234
|
+
format: string;
|
|
235
|
+
description: string;
|
|
236
|
+
};
|
|
237
|
+
title: {
|
|
238
|
+
type: string;
|
|
239
|
+
minLength: number;
|
|
240
|
+
pattern: string;
|
|
241
|
+
description: string;
|
|
242
|
+
};
|
|
243
|
+
source_location: {
|
|
244
|
+
type: string;
|
|
245
|
+
description: string;
|
|
246
|
+
};
|
|
247
|
+
encoding_state: {
|
|
248
|
+
type: string;
|
|
249
|
+
description: string;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
};
|
|
195
253
|
export declare const EnsureVideoExistsAlreadyExistedEventSchema: {
|
|
196
254
|
$schema: string;
|
|
197
255
|
type: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/video/events/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/video/events/index.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAC;AACvE,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;CAA6B,CAAC;AAC3E,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAkC,CAAC;AACrF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;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Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VideoServiceEnableFinishedEventSchema = exports.VideoServiceEnableFailedEventSchema = exports.VideoServiceDisableFinishedEventSchema = exports.VideoServiceDisableFailedEventSchema = exports.VideoEncodingFinishedEventSchema = exports.VideoEncodingFailedEventSchema = exports.UnarchiveVideosFinishedEventSchema = exports.UnarchiveVideosFailedEventSchema = exports.ImportCustomVideoFinishedEventSchema = exports.ImportCustomVideoFailedEventSchema = exports.EnsureVideoExistsFailedEventSchema = exports.EnsureVideoExistsCreationStartedEventSchema = exports.EnsureVideoExistsAlreadyExistedEventSchema = exports.CuePointTypesDeclaredEventSchema = exports.CuePointTypesDeclareFailedEventSchema = exports.ArchiveVideosFinishedEventSchema = exports.ArchiveVideosFailedEventSchema = void 0;
|
|
3
|
+
exports.VideoServiceEnableFinishedEventSchema = exports.VideoServiceEnableFailedEventSchema = exports.VideoServiceDisableFinishedEventSchema = exports.VideoServiceDisableFailedEventSchema = exports.VideoEncodingFinishedEventSchema = exports.VideoEncodingFailedEventSchema = exports.UnarchiveVideosFinishedEventSchema = exports.UnarchiveVideosFailedEventSchema = exports.ImportCustomVideoFinishedEventSchema = exports.ImportCustomVideoFailedEventSchema = exports.EnsureVideoExistsFailedEventSchema = exports.EnsureVideoExistsCreationStartedEventSchema = exports.EnsureVideoExistsAlreadyExistedEventSchema = exports.DeleteVideoFinishedEventSchema = exports.DeleteVideoFailedEventSchema = exports.CuePointTypesDeclaredEventSchema = exports.CuePointTypesDeclareFailedEventSchema = exports.ArchiveVideosFinishedEventSchema = exports.ArchiveVideosFailedEventSchema = void 0;
|
|
4
4
|
const ArchiveVideosFailedEvent = require("./archive-videos-failed-event.json");
|
|
5
5
|
const ArchiveVideosFinishedEvent = require("./archive-videos-finished-event.json");
|
|
6
6
|
const CuePointTypesDeclareFailedEvent = require("./cue-point-types-declare-failed-event.json");
|
|
7
7
|
const CuePointTypesDeclaredEvent = require("./cue-point-types-declared-event.json");
|
|
8
|
+
const DeleteVideoFailedEvent = require("./delete-video-failed-event.json");
|
|
9
|
+
const DeleteVideoFinishedEvent = require("./delete-video-finished-event.json");
|
|
8
10
|
const EnsureVideoExistsAlreadyExistedEvent = require("./ensure-video-exists-already-existed-event.json");
|
|
9
11
|
const EnsureVideoExistsCreationStartedEvent = require("./ensure-video-exists-creation-started-event.json");
|
|
10
12
|
const EnsureVideoExistsFailedEvent = require("./ensure-video-exists-failed-event.json");
|
|
@@ -22,6 +24,8 @@ exports.ArchiveVideosFailedEventSchema = ArchiveVideosFailedEvent;
|
|
|
22
24
|
exports.ArchiveVideosFinishedEventSchema = ArchiveVideosFinishedEvent;
|
|
23
25
|
exports.CuePointTypesDeclareFailedEventSchema = CuePointTypesDeclareFailedEvent;
|
|
24
26
|
exports.CuePointTypesDeclaredEventSchema = CuePointTypesDeclaredEvent;
|
|
27
|
+
exports.DeleteVideoFailedEventSchema = DeleteVideoFailedEvent;
|
|
28
|
+
exports.DeleteVideoFinishedEventSchema = DeleteVideoFinishedEvent;
|
|
25
29
|
exports.EnsureVideoExistsAlreadyExistedEventSchema = EnsureVideoExistsAlreadyExistedEvent;
|
|
26
30
|
exports.EnsureVideoExistsCreationStartedEventSchema = EnsureVideoExistsCreationStartedEvent;
|
|
27
31
|
exports.EnsureVideoExistsFailedEventSchema = EnsureVideoExistsFailedEvent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/video/events/index.ts"],"names":[],"mappings":";;;AAAA,+EAA+E;AAC/E,mFAAmF;AACnF,+FAA+F;AAC/F,oFAAoF;AACpF,yGAAyG;AACzG,2GAA2G;AAC3G,wFAAwF;AACxF,wFAAwF;AACxF,4FAA4F;AAC5F,mFAAmF;AACnF,uFAAuF;AACvF,+EAA+E;AAC/E,mFAAmF;AACnF,4FAA4F;AAC5F,gGAAgG;AAChG,0FAA0F;AAC1F,8FAA8F;AAEjF,QAAA,8BAA8B,GAAG,wBAAwB,CAAC;AAC1D,QAAA,gCAAgC,GAAG,0BAA0B,CAAC;AAC9D,QAAA,qCAAqC,GAAG,+BAA+B,CAAC;AACxE,QAAA,gCAAgC,GAAG,0BAA0B,CAAC;AAC9D,QAAA,0CAA0C,GAAG,oCAAoC,CAAC;AAClF,QAAA,2CAA2C,GAAG,qCAAqC,CAAC;AACpF,QAAA,kCAAkC,GAAG,4BAA4B,CAAC;AAClE,QAAA,kCAAkC,GAAG,4BAA4B,CAAC;AAClE,QAAA,oCAAoC,GAAG,8BAA8B,CAAC;AACtE,QAAA,gCAAgC,GAAG,0BAA0B,CAAC;AAC9D,QAAA,kCAAkC,GAAG,4BAA4B,CAAC;AAClE,QAAA,8BAA8B,GAAG,wBAAwB,CAAC;AAC1D,QAAA,gCAAgC,GAAG,0BAA0B,CAAC;AAC9D,QAAA,oCAAoC,GAAG,8BAA8B,CAAC;AACtE,QAAA,sCAAsC,GAAG,gCAAgC,CAAC;AAC1E,QAAA,mCAAmC,GAAG,6BAA6B,CAAC;AACpE,QAAA,qCAAqC,GAAG,+BAA+B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/video/events/index.ts"],"names":[],"mappings":";;;AAAA,+EAA+E;AAC/E,mFAAmF;AACnF,+FAA+F;AAC/F,oFAAoF;AACpF,2EAA2E;AAC3E,+EAA+E;AAC/E,yGAAyG;AACzG,2GAA2G;AAC3G,wFAAwF;AACxF,wFAAwF;AACxF,4FAA4F;AAC5F,mFAAmF;AACnF,uFAAuF;AACvF,+EAA+E;AAC/E,mFAAmF;AACnF,4FAA4F;AAC5F,gGAAgG;AAChG,0FAA0F;AAC1F,8FAA8F;AAEjF,QAAA,8BAA8B,GAAG,wBAAwB,CAAC;AAC1D,QAAA,gCAAgC,GAAG,0BAA0B,CAAC;AAC9D,QAAA,qCAAqC,GAAG,+BAA+B,CAAC;AACxE,QAAA,gCAAgC,GAAG,0BAA0B,CAAC;AAC9D,QAAA,4BAA4B,GAAG,sBAAsB,CAAC;AACtD,QAAA,8BAA8B,GAAG,wBAAwB,CAAC;AAC1D,QAAA,0CAA0C,GAAG,oCAAoC,CAAC;AAClF,QAAA,2CAA2C,GAAG,qCAAqC,CAAC;AACpF,QAAA,kCAAkC,GAAG,4BAA4B,CAAC;AAClE,QAAA,kCAAkC,GAAG,4BAA4B,CAAC;AAClE,QAAA,oCAAoC,GAAG,8BAA8B,CAAC;AACtE,QAAA,gCAAgC,GAAG,0BAA0B,CAAC;AAC9D,QAAA,kCAAkC,GAAG,4BAA4B,CAAC;AAClE,QAAA,8BAA8B,GAAG,wBAAwB,CAAC;AAC1D,QAAA,gCAAgC,GAAG,0BAA0B,CAAC;AAC9D,QAAA,oCAAoC,GAAG,8BAA8B,CAAC;AACtE,QAAA,sCAAsC,GAAG,gCAAgC,CAAC;AAC1E,QAAA,mCAAmC,GAAG,6BAA6B,CAAC;AACpE,QAAA,qCAAqC,GAAG,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Command schema to delete a single video by either ID or the source location. At least one of them must be defined - the video ID takes precedence.
|
|
3
|
+
*/
|
|
4
|
+
export interface DeleteVideoCommand {
|
|
5
|
+
/**
|
|
6
|
+
* A UUID.
|
|
7
|
+
*/
|
|
8
|
+
video_id?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The string has a minimum length of one character and it cannot consist of only whitespace characters.
|
|
11
|
+
*/
|
|
12
|
+
source_location?: string;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=delete-video-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-video-command.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/commands/delete-video-command.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-video-command.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/commands/delete-video-command.ts"],"names":[],"mappings":""}
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
export * from './archive-videos-command';
|
|
2
2
|
export * from './declare-cue-point-types-command';
|
|
3
|
+
export * from './delete-video-command';
|
|
3
4
|
export * from './ensure-video-exists-command';
|
|
4
5
|
export * from './import-custom-video-command';
|
|
6
|
+
export * from './start-videos-deletion-command';
|
|
5
7
|
export * from './unarchive-videos-command';
|
|
6
8
|
export * from './video-service-disable-command';
|
|
7
9
|
export * from './video-service-enable-command';
|
|
8
10
|
export declare enum VideoCommandsSchemas {
|
|
9
11
|
ArchiveVideosCommand = "payloads/video/commands/archive-videos-command.json",
|
|
10
12
|
DeclareCuePointTypesCommand = "payloads/video/commands/declare-cue-point-types-command.json",
|
|
13
|
+
DeleteVideoCommand = "payloads/video/commands/delete-video-command.json",
|
|
11
14
|
EnsureVideoExistsCommand = "payloads/video/commands/ensure-video-exists-command.json",
|
|
12
15
|
ImportCustomVideoCommand = "payloads/video/commands/import-custom-video-command.json",
|
|
16
|
+
StartVideosDeletionCommand = "payloads/video/commands/start-videos-deletion-command.json",
|
|
13
17
|
UnarchiveVideosCommand = "payloads/video/commands/unarchive-videos-command.json",
|
|
14
18
|
VideoServiceDisableCommand = "payloads/video/commands/video-service-disable-command.json",
|
|
15
19
|
VideoServiceEnableCommand = "payloads/video/commands/video-service-enable-command.json"
|
|
@@ -17,8 +21,10 @@ export declare enum VideoCommandsSchemas {
|
|
|
17
21
|
export declare enum VideoCommandsTypes {
|
|
18
22
|
ArchiveVideosCommand = "ArchiveVideosCommand",
|
|
19
23
|
DeclareCuePointTypesCommand = "DeclareCuePointTypesCommand",
|
|
24
|
+
DeleteVideoCommand = "DeleteVideoCommand",
|
|
20
25
|
EnsureVideoExistsCommand = "EnsureVideoExistsCommand",
|
|
21
26
|
ImportCustomVideoCommand = "ImportCustomVideoCommand",
|
|
27
|
+
StartVideosDeletionCommand = "StartVideosDeletionCommand",
|
|
22
28
|
UnarchiveVideosCommand = "UnarchiveVideosCommand",
|
|
23
29
|
VideoServiceDisableCommand = "VideoServiceDisableCommand",
|
|
24
30
|
VideoServiceEnableCommand = "VideoServiceEnableCommand"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAE/C,oBAAY,oBAAoB;IAC9B,oBAAoB,wDAAwD;IAC5E,2BAA2B,iEAAiE;IAC5F,wBAAwB,6DAA6D;IACrF,wBAAwB,6DAA6D;IACrF,sBAAsB,0DAA0D;IAChF,0BAA0B,+DAA+D;IACzF,yBAAyB,8DAA8D;CACxF;AAED,oBAAY,kBAAkB;IAC5B,oBAAoB,yBAAyB;IAC7C,2BAA2B,gCAAgC;IAC3D,wBAAwB,6BAA6B;IACrD,wBAAwB,6BAA6B;IACrD,sBAAsB,2BAA2B;IACjD,0BAA0B,+BAA+B;IACzD,yBAAyB,8BAA8B;CACxD"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAE/C,oBAAY,oBAAoB;IAC9B,oBAAoB,wDAAwD;IAC5E,2BAA2B,iEAAiE;IAC5F,kBAAkB,sDAAsD;IACxE,wBAAwB,6DAA6D;IACrF,wBAAwB,6DAA6D;IACrF,0BAA0B,+DAA+D;IACzF,sBAAsB,0DAA0D;IAChF,0BAA0B,+DAA+D;IACzF,yBAAyB,8DAA8D;CACxF;AAED,oBAAY,kBAAkB;IAC5B,oBAAoB,yBAAyB;IAC7C,2BAA2B,gCAAgC;IAC3D,kBAAkB,uBAAuB;IACzC,wBAAwB,6BAA6B;IACrD,wBAAwB,6BAA6B;IACrD,0BAA0B,+BAA+B;IACzD,sBAAsB,2BAA2B;IACjD,0BAA0B,+BAA+B;IACzD,yBAAyB,8BAA8B;CACxD"}
|
|
@@ -17,8 +17,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
exports.VideoCommandsTypes = exports.VideoCommandsSchemas = void 0;
|
|
18
18
|
__exportStar(require("./archive-videos-command"), exports);
|
|
19
19
|
__exportStar(require("./declare-cue-point-types-command"), exports);
|
|
20
|
+
__exportStar(require("./delete-video-command"), exports);
|
|
20
21
|
__exportStar(require("./ensure-video-exists-command"), exports);
|
|
21
22
|
__exportStar(require("./import-custom-video-command"), exports);
|
|
23
|
+
__exportStar(require("./start-videos-deletion-command"), exports);
|
|
22
24
|
__exportStar(require("./unarchive-videos-command"), exports);
|
|
23
25
|
__exportStar(require("./video-service-disable-command"), exports);
|
|
24
26
|
__exportStar(require("./video-service-enable-command"), exports);
|
|
@@ -26,8 +28,10 @@ var VideoCommandsSchemas;
|
|
|
26
28
|
(function (VideoCommandsSchemas) {
|
|
27
29
|
VideoCommandsSchemas["ArchiveVideosCommand"] = "payloads/video/commands/archive-videos-command.json";
|
|
28
30
|
VideoCommandsSchemas["DeclareCuePointTypesCommand"] = "payloads/video/commands/declare-cue-point-types-command.json";
|
|
31
|
+
VideoCommandsSchemas["DeleteVideoCommand"] = "payloads/video/commands/delete-video-command.json";
|
|
29
32
|
VideoCommandsSchemas["EnsureVideoExistsCommand"] = "payloads/video/commands/ensure-video-exists-command.json";
|
|
30
33
|
VideoCommandsSchemas["ImportCustomVideoCommand"] = "payloads/video/commands/import-custom-video-command.json";
|
|
34
|
+
VideoCommandsSchemas["StartVideosDeletionCommand"] = "payloads/video/commands/start-videos-deletion-command.json";
|
|
31
35
|
VideoCommandsSchemas["UnarchiveVideosCommand"] = "payloads/video/commands/unarchive-videos-command.json";
|
|
32
36
|
VideoCommandsSchemas["VideoServiceDisableCommand"] = "payloads/video/commands/video-service-disable-command.json";
|
|
33
37
|
VideoCommandsSchemas["VideoServiceEnableCommand"] = "payloads/video/commands/video-service-enable-command.json";
|
|
@@ -36,8 +40,10 @@ var VideoCommandsTypes;
|
|
|
36
40
|
(function (VideoCommandsTypes) {
|
|
37
41
|
VideoCommandsTypes["ArchiveVideosCommand"] = "ArchiveVideosCommand";
|
|
38
42
|
VideoCommandsTypes["DeclareCuePointTypesCommand"] = "DeclareCuePointTypesCommand";
|
|
43
|
+
VideoCommandsTypes["DeleteVideoCommand"] = "DeleteVideoCommand";
|
|
39
44
|
VideoCommandsTypes["EnsureVideoExistsCommand"] = "EnsureVideoExistsCommand";
|
|
40
45
|
VideoCommandsTypes["ImportCustomVideoCommand"] = "ImportCustomVideoCommand";
|
|
46
|
+
VideoCommandsTypes["StartVideosDeletionCommand"] = "StartVideosDeletionCommand";
|
|
41
47
|
VideoCommandsTypes["UnarchiveVideosCommand"] = "UnarchiveVideosCommand";
|
|
42
48
|
VideoCommandsTypes["VideoServiceDisableCommand"] = "VideoServiceDisableCommand";
|
|
43
49
|
VideoCommandsTypes["VideoServiceEnableCommand"] = "VideoServiceEnableCommand";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,oEAAkD;AAClD,gEAA8C;AAC9C,gEAA8C;AAC9C,6DAA2C;AAC3C,kEAAgD;AAChD,iEAA+C;AAE/C,IAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,oEAAkD;AAClD,yDAAuC;AACvC,gEAA8C;AAC9C,gEAA8C;AAC9C,kEAAgD;AAChD,6DAA2C;AAC3C,kEAAgD;AAChD,iEAA+C;AAE/C,IAAY,oBAUX;AAVD,WAAY,oBAAoB;IAC9B,oGAA4E,CAAA;IAC5E,oHAA4F,CAAA;IAC5F,gGAAwE,CAAA;IACxE,6GAAqF,CAAA;IACrF,6GAAqF,CAAA;IACrF,iHAAyF,CAAA;IACzF,wGAAgF,CAAA;IAChF,iHAAyF,CAAA;IACzF,+GAAuF,CAAA;AACzF,CAAC,EAVW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAU/B;AAED,IAAY,kBAUX;AAVD,WAAY,kBAAkB;IAC5B,mEAA6C,CAAA;IAC7C,iFAA2D,CAAA;IAC3D,+DAAyC,CAAA;IACzC,2EAAqD,CAAA;IACrD,2EAAqD,CAAA;IACrD,+EAAyD,CAAA;IACzD,uEAAiD,CAAA;IACjD,+EAAyD,CAAA;IACzD,6EAAuD,CAAA;AACzD,CAAC,EAVW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAU7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-videos-deletion-command.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/commands/start-videos-deletion-command.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-videos-deletion-command.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/commands/start-videos-deletion-command.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delete video failed event schema.
|
|
3
|
+
*/
|
|
4
|
+
export interface DeleteVideoFailedEvent {
|
|
5
|
+
/**
|
|
6
|
+
* A UUID.
|
|
7
|
+
*/
|
|
8
|
+
video_id?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The string has a minimum length of one character and it cannot consist of only whitespace characters.
|
|
11
|
+
*/
|
|
12
|
+
source_location?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Message that describes the reason for the command processing failure.
|
|
15
|
+
*/
|
|
16
|
+
message: string;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=delete-video-failed-event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-video-failed-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/delete-video-failed-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-video-failed-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/delete-video-failed-event.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delete video finished event schema.
|
|
3
|
+
*/
|
|
4
|
+
export interface DeleteVideoFinishedEvent {
|
|
5
|
+
/**
|
|
6
|
+
* A UUID.
|
|
7
|
+
*/
|
|
8
|
+
video_id: string;
|
|
9
|
+
/**
|
|
10
|
+
* The string has a minimum length of one character and it cannot consist of only whitespace characters.
|
|
11
|
+
*/
|
|
12
|
+
title: string;
|
|
13
|
+
/**
|
|
14
|
+
* Original source location of the deleted video. Not set if video was uploaded via UI or GraphQL API.
|
|
15
|
+
*/
|
|
16
|
+
source_location: string;
|
|
17
|
+
/**
|
|
18
|
+
* The state of the video encoding before it was deleted.
|
|
19
|
+
*/
|
|
20
|
+
encoding_state: string;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=delete-video-finished-event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-video-finished-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/delete-video-finished-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-video-finished-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/delete-video-finished-event.ts"],"names":[],"mappings":""}
|
|
@@ -2,6 +2,8 @@ export * from './archive-videos-failed-event';
|
|
|
2
2
|
export * from './archive-videos-finished-event';
|
|
3
3
|
export * from './cue-point-types-declare-failed-event';
|
|
4
4
|
export * from './cue-point-types-declared-event';
|
|
5
|
+
export * from './delete-video-failed-event';
|
|
6
|
+
export * from './delete-video-finished-event';
|
|
5
7
|
export * from './ensure-video-exists-already-existed-event';
|
|
6
8
|
export * from './ensure-video-exists-creation-started-event';
|
|
7
9
|
export * from './ensure-video-exists-failed-event';
|
|
@@ -20,6 +22,8 @@ export declare enum VideoEventsSchemas {
|
|
|
20
22
|
ArchiveVideosFinishedEvent = "payloads/video/events/archive-videos-finished-event.json",
|
|
21
23
|
CuePointTypesDeclareFailedEvent = "payloads/video/events/cue-point-types-declare-failed-event.json",
|
|
22
24
|
CuePointTypesDeclaredEvent = "payloads/video/events/cue-point-types-declared-event.json",
|
|
25
|
+
DeleteVideoFailedEvent = "payloads/video/events/delete-video-failed-event.json",
|
|
26
|
+
DeleteVideoFinishedEvent = "payloads/video/events/delete-video-finished-event.json",
|
|
23
27
|
EnsureVideoExistsAlreadyExistedEvent = "payloads/video/events/ensure-video-exists-already-existed-event.json",
|
|
24
28
|
EnsureVideoExistsCreationStartedEvent = "payloads/video/events/ensure-video-exists-creation-started-event.json",
|
|
25
29
|
EnsureVideoExistsFailedEvent = "payloads/video/events/ensure-video-exists-failed-event.json",
|
|
@@ -39,6 +43,8 @@ export declare enum VideoEventsTypes {
|
|
|
39
43
|
ArchiveVideosFinishedEvent = "ArchiveVideosFinishedEvent",
|
|
40
44
|
CuePointTypesDeclareFailedEvent = "CuePointTypesDeclareFailedEvent",
|
|
41
45
|
CuePointTypesDeclaredEvent = "CuePointTypesDeclaredEvent",
|
|
46
|
+
DeleteVideoFailedEvent = "DeleteVideoFailedEvent",
|
|
47
|
+
DeleteVideoFinishedEvent = "DeleteVideoFinishedEvent",
|
|
42
48
|
EnsureVideoExistsAlreadyExistedEvent = "EnsureVideoExistsAlreadyExistedEvent",
|
|
43
49
|
EnsureVideoExistsCreationStartedEvent = "EnsureVideoExistsCreationStartedEvent",
|
|
44
50
|
EnsureVideoExistsFailedEvent = "EnsureVideoExistsFailedEvent",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AAEtD,oBAAY,kBAAkB;IAC5B,wBAAwB,2DAA2D;IACnF,0BAA0B,6DAA6D;IACvF,+BAA+B,oEAAoE;IACnG,0BAA0B,8DAA8D;IACxF,oCAAoC,yEAAyE;IAC7G,qCAAqC,0EAA0E;IAC/G,4BAA4B,gEAAgE;IAC5F,4BAA4B,gEAAgE;IAC5F,8BAA8B,kEAAkE;IAChG,0BAA0B,6DAA6D;IACvF,4BAA4B,+DAA+D;IAC3F,wBAAwB,2DAA2D;IACnF,0BAA0B,6DAA6D;IACvF,8BAA8B,kEAAkE;IAChG,gCAAgC,oEAAoE;IACpG,6BAA6B,iEAAiE;IAC9F,+BAA+B,mEAAmE;CACnG;AAED,oBAAY,gBAAgB;IAC1B,wBAAwB,6BAA6B;IACrD,0BAA0B,+BAA+B;IACzD,+BAA+B,oCAAoC;IACnE,0BAA0B,+BAA+B;IACzD,oCAAoC,yCAAyC;IAC7E,qCAAqC,0CAA0C;IAC/E,4BAA4B,iCAAiC;IAC7D,4BAA4B,iCAAiC;IAC7D,8BAA8B,mCAAmC;IACjE,0BAA0B,+BAA+B;IACzD,4BAA4B,iCAAiC;IAC7D,wBAAwB,6BAA6B;IACrD,0BAA0B,+BAA+B;IACzD,8BAA8B,mCAAmC;IACjE,gCAAgC,qCAAqC;IACrE,6BAA6B,kCAAkC;IAC/D,+BAA+B,oCAAoC;CACpE"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C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E,0BAA0B,+BAA+B;IACzD,4BAA4B,iCAAiC;IAC7D,wBAAwB,6BAA6B;IACrD,0BAA0B,+BAA+B;IACzD,8BAA8B,mCAAmC;IACjE,gCAAgC,qCAAqC;IACrE,6BAA6B,kCAAkC;IAC/D,+BAA+B,oCAAoC;CACpE"}
|
|
@@ -19,6 +19,8 @@ __exportStar(require("./archive-videos-failed-event"), exports);
|
|
|
19
19
|
__exportStar(require("./archive-videos-finished-event"), exports);
|
|
20
20
|
__exportStar(require("./cue-point-types-declare-failed-event"), exports);
|
|
21
21
|
__exportStar(require("./cue-point-types-declared-event"), exports);
|
|
22
|
+
__exportStar(require("./delete-video-failed-event"), exports);
|
|
23
|
+
__exportStar(require("./delete-video-finished-event"), exports);
|
|
22
24
|
__exportStar(require("./ensure-video-exists-already-existed-event"), exports);
|
|
23
25
|
__exportStar(require("./ensure-video-exists-creation-started-event"), exports);
|
|
24
26
|
__exportStar(require("./ensure-video-exists-failed-event"), exports);
|
|
@@ -38,6 +40,8 @@ var VideoEventsSchemas;
|
|
|
38
40
|
VideoEventsSchemas["ArchiveVideosFinishedEvent"] = "payloads/video/events/archive-videos-finished-event.json";
|
|
39
41
|
VideoEventsSchemas["CuePointTypesDeclareFailedEvent"] = "payloads/video/events/cue-point-types-declare-failed-event.json";
|
|
40
42
|
VideoEventsSchemas["CuePointTypesDeclaredEvent"] = "payloads/video/events/cue-point-types-declared-event.json";
|
|
43
|
+
VideoEventsSchemas["DeleteVideoFailedEvent"] = "payloads/video/events/delete-video-failed-event.json";
|
|
44
|
+
VideoEventsSchemas["DeleteVideoFinishedEvent"] = "payloads/video/events/delete-video-finished-event.json";
|
|
41
45
|
VideoEventsSchemas["EnsureVideoExistsAlreadyExistedEvent"] = "payloads/video/events/ensure-video-exists-already-existed-event.json";
|
|
42
46
|
VideoEventsSchemas["EnsureVideoExistsCreationStartedEvent"] = "payloads/video/events/ensure-video-exists-creation-started-event.json";
|
|
43
47
|
VideoEventsSchemas["EnsureVideoExistsFailedEvent"] = "payloads/video/events/ensure-video-exists-failed-event.json";
|
|
@@ -58,6 +62,8 @@ var VideoEventsTypes;
|
|
|
58
62
|
VideoEventsTypes["ArchiveVideosFinishedEvent"] = "ArchiveVideosFinishedEvent";
|
|
59
63
|
VideoEventsTypes["CuePointTypesDeclareFailedEvent"] = "CuePointTypesDeclareFailedEvent";
|
|
60
64
|
VideoEventsTypes["CuePointTypesDeclaredEvent"] = "CuePointTypesDeclaredEvent";
|
|
65
|
+
VideoEventsTypes["DeleteVideoFailedEvent"] = "DeleteVideoFailedEvent";
|
|
66
|
+
VideoEventsTypes["DeleteVideoFinishedEvent"] = "DeleteVideoFinishedEvent";
|
|
61
67
|
VideoEventsTypes["EnsureVideoExistsAlreadyExistedEvent"] = "EnsureVideoExistsAlreadyExistedEvent";
|
|
62
68
|
VideoEventsTypes["EnsureVideoExistsCreationStartedEvent"] = "EnsureVideoExistsCreationStartedEvent";
|
|
63
69
|
VideoEventsTypes["EnsureVideoExistsFailedEvent"] = "EnsureVideoExistsFailedEvent";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,kEAAgD;AAChD,yEAAuD;AACvD,mEAAiD;AACjD,8EAA4D;AAC5D,+EAA6D;AAC7D,qEAAmD;AACnD,qEAAmD;AACnD,uEAAqD;AACrD,kEAAgD;AAChD,oEAAkD;AAClD,gEAA8C;AAC9C,kEAAgD;AAChD,uEAAqD;AACrD,yEAAuD;AACvD,sEAAoD;AACpD,wEAAsD;AAEtD,IAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,kEAAgD;AAChD,yEAAuD;AACvD,mEAAiD;AACjD,8DAA4C;AAC5C,g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@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axinom/mosaic-messages",
|
|
3
|
-
"version": "0.44.0-rc.
|
|
3
|
+
"version": "0.44.0-rc.4",
|
|
4
4
|
"description": "Shared types for Axinom Mosaic service messages",
|
|
5
5
|
"author": "Axinom",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"dev": "concurrently --names \"codegen,tsc\" \"yarn codegen:watch\" \"yarn build:compile:watch\""
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@axinom/mosaic-cli": "^0.34.0-rc.
|
|
33
|
-
"@axinom/mosaic-message-bus-abstractions": "^0.15.0-rc.
|
|
32
|
+
"@axinom/mosaic-cli": "^0.34.0-rc.4",
|
|
33
|
+
"@axinom/mosaic-message-bus-abstractions": "^0.15.0-rc.4",
|
|
34
34
|
"@types/glob": "^7.1.3",
|
|
35
35
|
"@types/node": "^18.11.18",
|
|
36
36
|
"concurrently": "^5.3.0",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "6737982a21ba7ab40c2f337722cb7e1e41a53185"
|
|
47
47
|
}
|
package/src/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.ts
CHANGED
|
@@ -61,6 +61,30 @@ export class VideoServiceMultiTenantMessagingSettings extends MultiTenantMessagi
|
|
|
61
61
|
'command',
|
|
62
62
|
'video'
|
|
63
63
|
);
|
|
64
|
+
/**
|
|
65
|
+
* Defines the messaging settings for the command with message type
|
|
66
|
+
* "StartVideosDeletion" and aggregate type "video".
|
|
67
|
+
* The aggregate ID field must contain the value of the "video ID" field.
|
|
68
|
+
*/
|
|
69
|
+
public static StartVideosDeletion = new VideoServiceMultiTenantMessagingSettings(
|
|
70
|
+
'StartVideosDeletion',
|
|
71
|
+
'inbox',
|
|
72
|
+
'*.*.videos.start_deletion',
|
|
73
|
+
'command',
|
|
74
|
+
'video'
|
|
75
|
+
);
|
|
76
|
+
/**
|
|
77
|
+
* Defines the messaging settings for the command with message type
|
|
78
|
+
* "DeleteVideo" and aggregate type "video".
|
|
79
|
+
* The aggregate ID field must contain the value of the "video ID" field.
|
|
80
|
+
*/
|
|
81
|
+
public static DeleteVideo = new VideoServiceMultiTenantMessagingSettings(
|
|
82
|
+
'DeleteVideo',
|
|
83
|
+
'inbox',
|
|
84
|
+
'*.*.video.delete',
|
|
85
|
+
'command',
|
|
86
|
+
'video'
|
|
87
|
+
);
|
|
64
88
|
/**
|
|
65
89
|
* Defines the messaging settings for the event with message type
|
|
66
90
|
* "CuePointTypesDeclared" and aggregate type "cue-point-type".
|
|
@@ -217,6 +241,30 @@ export class VideoServiceMultiTenantMessagingSettings extends MultiTenantMessagi
|
|
|
217
241
|
'event',
|
|
218
242
|
'video'
|
|
219
243
|
);
|
|
244
|
+
/**
|
|
245
|
+
* Defines the messaging settings for the event with message type
|
|
246
|
+
* "DeleteVideoFinished" and aggregate type "video".
|
|
247
|
+
* The aggregate ID field contains the value of the "video ID" field.
|
|
248
|
+
*/
|
|
249
|
+
public static DeleteVideoFinished = new VideoServiceMultiTenantMessagingSettings(
|
|
250
|
+
'DeleteVideoFinished',
|
|
251
|
+
'video:delete_finished',
|
|
252
|
+
'*.*.video.delete_finished',
|
|
253
|
+
'event',
|
|
254
|
+
'video'
|
|
255
|
+
);
|
|
256
|
+
/**
|
|
257
|
+
* Defines the messaging settings for the event with message type
|
|
258
|
+
* "DeleteVideoFailed" and aggregate type "video".
|
|
259
|
+
* The aggregate ID field contains the value of the "video ID" field.
|
|
260
|
+
*/
|
|
261
|
+
public static DeleteVideoFailed = new VideoServiceMultiTenantMessagingSettings(
|
|
262
|
+
'DeleteVideoFailed',
|
|
263
|
+
'video:delete_failed',
|
|
264
|
+
'*.*.video.delete_failed',
|
|
265
|
+
'event',
|
|
266
|
+
'video'
|
|
267
|
+
);
|
|
220
268
|
|
|
221
269
|
private constructor(
|
|
222
270
|
messageType: string,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "delete_video_command",
|
|
5
|
+
"description": "Command schema to delete a single video by either ID or the source location. At least one of them must be defined - the video ID takes precedence.",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"properties": {
|
|
8
|
+
"video_id": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"minLength": 32,
|
|
11
|
+
"maxLength": 36,
|
|
12
|
+
"format": "uuid",
|
|
13
|
+
"description": "A UUID."
|
|
14
|
+
},
|
|
15
|
+
"source_location": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1,
|
|
18
|
+
"pattern": "^$|.*\\S.*",
|
|
19
|
+
"description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import * as ArchiveVideosCommand from './archive-videos-command.json';
|
|
2
2
|
import * as DeclareCuePointTypesCommand from './declare-cue-point-types-command.json';
|
|
3
|
+
import * as DeleteVideoCommand from './delete-video-command.json';
|
|
3
4
|
import * as EnsureVideoExistsCommand from './ensure-video-exists-command.json';
|
|
4
5
|
import * as ImportCustomVideoCommand from './import-custom-video-command.json';
|
|
6
|
+
import * as StartVideosDeletionCommand from './start-videos-deletion-command.json';
|
|
5
7
|
import * as UnarchiveVideosCommand from './unarchive-videos-command.json';
|
|
6
8
|
import * as VideoServiceDisableCommand from './video-service-disable-command.json';
|
|
7
9
|
import * as VideoServiceEnableCommand from './video-service-enable-command.json';
|
|
8
10
|
|
|
9
11
|
export const ArchiveVideosCommandSchema = ArchiveVideosCommand;
|
|
10
12
|
export const DeclareCuePointTypesCommandSchema = DeclareCuePointTypesCommand;
|
|
13
|
+
export const DeleteVideoCommandSchema = DeleteVideoCommand;
|
|
11
14
|
export const EnsureVideoExistsCommandSchema = EnsureVideoExistsCommand;
|
|
12
15
|
export const ImportCustomVideoCommandSchema = ImportCustomVideoCommand;
|
|
16
|
+
export const StartVideosDeletionCommandSchema = StartVideosDeletionCommand;
|
|
13
17
|
export const UnarchiveVideosCommandSchema = UnarchiveVideosCommand;
|
|
14
18
|
export const VideoServiceDisableCommandSchema = VideoServiceDisableCommand;
|
|
15
19
|
export const VideoServiceEnableCommandSchema = VideoServiceEnableCommand;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "start_videos_deletion_command",
|
|
5
|
+
"description": "Command schema to start deletion of multiple videos by ids.",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"asset_ids"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"asset_ids": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"description": "An array of uuid video id values.",
|
|
14
|
+
"uniqueItems": true,
|
|
15
|
+
"additionalItems": false,
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"minLength": 32,
|
|
19
|
+
"maxLength": 36,
|
|
20
|
+
"format": "uuid",
|
|
21
|
+
"description": "A UUID."
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "delete_video_failed_event",
|
|
5
|
+
"description": "Delete video failed event schema.",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"message"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"video_id": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 32,
|
|
14
|
+
"maxLength": 36,
|
|
15
|
+
"format": "uuid",
|
|
16
|
+
"description": "A UUID."
|
|
17
|
+
},
|
|
18
|
+
"source_location": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"minLength": 1,
|
|
21
|
+
"pattern": "^$|.*\\S.*",
|
|
22
|
+
"description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
|
|
23
|
+
},
|
|
24
|
+
"message": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "Message that describes the reason for the command processing failure."
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "delete_video_finished_event",
|
|
5
|
+
"description": "Delete video finished event schema.",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"video_id",
|
|
9
|
+
"title",
|
|
10
|
+
"source_location",
|
|
11
|
+
"encoding_state"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"video_id": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"minLength": 32,
|
|
17
|
+
"maxLength": 36,
|
|
18
|
+
"format": "uuid",
|
|
19
|
+
"description": "A UUID."
|
|
20
|
+
},
|
|
21
|
+
"title": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 1,
|
|
24
|
+
"pattern": "^$|.*\\S.*",
|
|
25
|
+
"description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
|
|
26
|
+
},
|
|
27
|
+
"source_location": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "Original source location of the deleted video. Not set if video was uploaded via UI or GraphQL API."
|
|
30
|
+
},
|
|
31
|
+
"encoding_state": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "The state of the video encoding before it was deleted."
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -2,6 +2,8 @@ import * as ArchiveVideosFailedEvent from './archive-videos-failed-event.json';
|
|
|
2
2
|
import * as ArchiveVideosFinishedEvent from './archive-videos-finished-event.json';
|
|
3
3
|
import * as CuePointTypesDeclareFailedEvent from './cue-point-types-declare-failed-event.json';
|
|
4
4
|
import * as CuePointTypesDeclaredEvent from './cue-point-types-declared-event.json';
|
|
5
|
+
import * as DeleteVideoFailedEvent from './delete-video-failed-event.json';
|
|
6
|
+
import * as DeleteVideoFinishedEvent from './delete-video-finished-event.json';
|
|
5
7
|
import * as EnsureVideoExistsAlreadyExistedEvent from './ensure-video-exists-already-existed-event.json';
|
|
6
8
|
import * as EnsureVideoExistsCreationStartedEvent from './ensure-video-exists-creation-started-event.json';
|
|
7
9
|
import * as EnsureVideoExistsFailedEvent from './ensure-video-exists-failed-event.json';
|
|
@@ -20,6 +22,8 @@ export const ArchiveVideosFailedEventSchema = ArchiveVideosFailedEvent;
|
|
|
20
22
|
export const ArchiveVideosFinishedEventSchema = ArchiveVideosFinishedEvent;
|
|
21
23
|
export const CuePointTypesDeclareFailedEventSchema = CuePointTypesDeclareFailedEvent;
|
|
22
24
|
export const CuePointTypesDeclaredEventSchema = CuePointTypesDeclaredEvent;
|
|
25
|
+
export const DeleteVideoFailedEventSchema = DeleteVideoFailedEvent;
|
|
26
|
+
export const DeleteVideoFinishedEventSchema = DeleteVideoFinishedEvent;
|
|
23
27
|
export const EnsureVideoExistsAlreadyExistedEventSchema = EnsureVideoExistsAlreadyExistedEvent;
|
|
24
28
|
export const EnsureVideoExistsCreationStartedEventSchema = EnsureVideoExistsCreationStartedEvent;
|
|
25
29
|
export const EnsureVideoExistsFailedEventSchema = EnsureVideoExistsFailedEvent;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Command schema to delete a single video by either ID or the source location. At least one of them must be defined - the video ID takes precedence.
|
|
3
|
+
*/
|
|
4
|
+
export interface DeleteVideoCommand {
|
|
5
|
+
/**
|
|
6
|
+
* A UUID.
|
|
7
|
+
*/
|
|
8
|
+
video_id?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The string has a minimum length of one character and it cannot consist of only whitespace characters.
|
|
11
|
+
*/
|
|
12
|
+
source_location?: string;
|
|
13
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export * from './archive-videos-command';
|
|
2
2
|
export * from './declare-cue-point-types-command';
|
|
3
|
+
export * from './delete-video-command';
|
|
3
4
|
export * from './ensure-video-exists-command';
|
|
4
5
|
export * from './import-custom-video-command';
|
|
6
|
+
export * from './start-videos-deletion-command';
|
|
5
7
|
export * from './unarchive-videos-command';
|
|
6
8
|
export * from './video-service-disable-command';
|
|
7
9
|
export * from './video-service-enable-command';
|
|
@@ -9,8 +11,10 @@ export * from './video-service-enable-command';
|
|
|
9
11
|
export enum VideoCommandsSchemas {
|
|
10
12
|
ArchiveVideosCommand = 'payloads/video/commands/archive-videos-command.json',
|
|
11
13
|
DeclareCuePointTypesCommand = 'payloads/video/commands/declare-cue-point-types-command.json',
|
|
14
|
+
DeleteVideoCommand = 'payloads/video/commands/delete-video-command.json',
|
|
12
15
|
EnsureVideoExistsCommand = 'payloads/video/commands/ensure-video-exists-command.json',
|
|
13
16
|
ImportCustomVideoCommand = 'payloads/video/commands/import-custom-video-command.json',
|
|
17
|
+
StartVideosDeletionCommand = 'payloads/video/commands/start-videos-deletion-command.json',
|
|
14
18
|
UnarchiveVideosCommand = 'payloads/video/commands/unarchive-videos-command.json',
|
|
15
19
|
VideoServiceDisableCommand = 'payloads/video/commands/video-service-disable-command.json',
|
|
16
20
|
VideoServiceEnableCommand = 'payloads/video/commands/video-service-enable-command.json'
|
|
@@ -19,8 +23,10 @@ export enum VideoCommandsSchemas {
|
|
|
19
23
|
export enum VideoCommandsTypes {
|
|
20
24
|
ArchiveVideosCommand = 'ArchiveVideosCommand',
|
|
21
25
|
DeclareCuePointTypesCommand = 'DeclareCuePointTypesCommand',
|
|
26
|
+
DeleteVideoCommand = 'DeleteVideoCommand',
|
|
22
27
|
EnsureVideoExistsCommand = 'EnsureVideoExistsCommand',
|
|
23
28
|
ImportCustomVideoCommand = 'ImportCustomVideoCommand',
|
|
29
|
+
StartVideosDeletionCommand = 'StartVideosDeletionCommand',
|
|
24
30
|
UnarchiveVideosCommand = 'UnarchiveVideosCommand',
|
|
25
31
|
VideoServiceDisableCommand = 'VideoServiceDisableCommand',
|
|
26
32
|
VideoServiceEnableCommand = 'VideoServiceEnableCommand'
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delete video failed event schema.
|
|
3
|
+
*/
|
|
4
|
+
export interface DeleteVideoFailedEvent {
|
|
5
|
+
/**
|
|
6
|
+
* A UUID.
|
|
7
|
+
*/
|
|
8
|
+
video_id?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The string has a minimum length of one character and it cannot consist of only whitespace characters.
|
|
11
|
+
*/
|
|
12
|
+
source_location?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Message that describes the reason for the command processing failure.
|
|
15
|
+
*/
|
|
16
|
+
message: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delete video finished event schema.
|
|
3
|
+
*/
|
|
4
|
+
export interface DeleteVideoFinishedEvent {
|
|
5
|
+
/**
|
|
6
|
+
* A UUID.
|
|
7
|
+
*/
|
|
8
|
+
video_id: string;
|
|
9
|
+
/**
|
|
10
|
+
* The string has a minimum length of one character and it cannot consist of only whitespace characters.
|
|
11
|
+
*/
|
|
12
|
+
title: string;
|
|
13
|
+
/**
|
|
14
|
+
* Original source location of the deleted video. Not set if video was uploaded via UI or GraphQL API.
|
|
15
|
+
*/
|
|
16
|
+
source_location: string;
|
|
17
|
+
/**
|
|
18
|
+
* The state of the video encoding before it was deleted.
|
|
19
|
+
*/
|
|
20
|
+
encoding_state: string;
|
|
21
|
+
}
|
|
@@ -2,6 +2,8 @@ export * from './archive-videos-failed-event';
|
|
|
2
2
|
export * from './archive-videos-finished-event';
|
|
3
3
|
export * from './cue-point-types-declare-failed-event';
|
|
4
4
|
export * from './cue-point-types-declared-event';
|
|
5
|
+
export * from './delete-video-failed-event';
|
|
6
|
+
export * from './delete-video-finished-event';
|
|
5
7
|
export * from './ensure-video-exists-already-existed-event';
|
|
6
8
|
export * from './ensure-video-exists-creation-started-event';
|
|
7
9
|
export * from './ensure-video-exists-failed-event';
|
|
@@ -21,6 +23,8 @@ export enum VideoEventsSchemas {
|
|
|
21
23
|
ArchiveVideosFinishedEvent = 'payloads/video/events/archive-videos-finished-event.json',
|
|
22
24
|
CuePointTypesDeclareFailedEvent = 'payloads/video/events/cue-point-types-declare-failed-event.json',
|
|
23
25
|
CuePointTypesDeclaredEvent = 'payloads/video/events/cue-point-types-declared-event.json',
|
|
26
|
+
DeleteVideoFailedEvent = 'payloads/video/events/delete-video-failed-event.json',
|
|
27
|
+
DeleteVideoFinishedEvent = 'payloads/video/events/delete-video-finished-event.json',
|
|
24
28
|
EnsureVideoExistsAlreadyExistedEvent = 'payloads/video/events/ensure-video-exists-already-existed-event.json',
|
|
25
29
|
EnsureVideoExistsCreationStartedEvent = 'payloads/video/events/ensure-video-exists-creation-started-event.json',
|
|
26
30
|
EnsureVideoExistsFailedEvent = 'payloads/video/events/ensure-video-exists-failed-event.json',
|
|
@@ -41,6 +45,8 @@ export enum VideoEventsTypes {
|
|
|
41
45
|
ArchiveVideosFinishedEvent = 'ArchiveVideosFinishedEvent',
|
|
42
46
|
CuePointTypesDeclareFailedEvent = 'CuePointTypesDeclareFailedEvent',
|
|
43
47
|
CuePointTypesDeclaredEvent = 'CuePointTypesDeclaredEvent',
|
|
48
|
+
DeleteVideoFailedEvent = 'DeleteVideoFailedEvent',
|
|
49
|
+
DeleteVideoFinishedEvent = 'DeleteVideoFinishedEvent',
|
|
44
50
|
EnsureVideoExistsAlreadyExistedEvent = 'EnsureVideoExistsAlreadyExistedEvent',
|
|
45
51
|
EnsureVideoExistsCreationStartedEvent = 'EnsureVideoExistsCreationStartedEvent',
|
|
46
52
|
EnsureVideoExistsFailedEvent = 'EnsureVideoExistsFailedEvent',
|