@axinom/mosaic-messages 0.51.0 → 0.51.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.
- package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.d.ts +18 -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 +18 -0
- package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.js.map +1 -1
- package/dist/generated/schemas/payloads/video/commands/index.d.ts +51 -0
- package/dist/generated/schemas/payloads/video/commands/index.d.ts.map +1 -1
- package/dist/generated/schemas/payloads/video/commands/index.js +3 -1
- package/dist/generated/schemas/payloads/video/commands/index.js.map +1 -1
- package/dist/generated/schemas/payloads/video/commands/register-cue-points-command.json +57 -0
- package/dist/generated/schemas/payloads/video/events/index.d.ts +50 -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/schemas/payloads/video/events/register-cue-points-failed-event.json +24 -0
- package/dist/generated/schemas/payloads/video/events/register-cue-points-finished-event.json +32 -0
- package/dist/generated/types/payloads/video/commands/index.d.ts +3 -0
- package/dist/generated/types/payloads/video/commands/index.d.ts.map +1 -1
- package/dist/generated/types/payloads/video/commands/index.js +3 -0
- package/dist/generated/types/payloads/video/commands/index.js.map +1 -1
- package/dist/generated/types/payloads/video/commands/register-cue-points-command.d.ts +19 -0
- package/dist/generated/types/payloads/video/commands/register-cue-points-command.d.ts.map +1 -0
- package/dist/generated/types/payloads/video/commands/register-cue-points-command.js +3 -0
- package/dist/generated/types/payloads/video/commands/register-cue-points-command.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/dist/generated/types/payloads/video/events/register-cue-points-failed-event.d.ts +14 -0
- package/dist/generated/types/payloads/video/events/register-cue-points-failed-event.d.ts.map +1 -0
- package/dist/generated/types/payloads/video/events/register-cue-points-failed-event.js +3 -0
- package/dist/generated/types/payloads/video/events/register-cue-points-failed-event.js.map +1 -0
- package/dist/generated/types/payloads/video/events/register-cue-points-finished-event.d.ts +14 -0
- package/dist/generated/types/payloads/video/events/register-cue-points-finished-event.d.ts.map +1 -0
- package/dist/generated/types/payloads/video/events/register-cue-points-finished-event.js +3 -0
- package/dist/generated/types/payloads/video/events/register-cue-points-finished-event.js.map +1 -0
- package/dist/generated/types/payloads/video/types/cue-point.d.ts +15 -0
- package/dist/generated/types/payloads/video/types/cue-point.d.ts.map +1 -0
- package/dist/generated/types/payloads/video/types/cue-point.js +3 -0
- package/dist/generated/types/payloads/video/types/cue-point.js.map +1 -0
- package/dist/generated/types/payloads/video/types/index.d.ts +1 -0
- package/dist/generated/types/payloads/video/types/index.d.ts.map +1 -1
- package/dist/generated/types/payloads/video/types/index.js +1 -0
- package/dist/generated/types/payloads/video/types/index.js.map +1 -1
- package/package.json +2 -2
- package/src/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.ts +36 -0
- package/src/generated/schemas/payloads/video/commands/index.ts +2 -0
- package/src/generated/schemas/payloads/video/commands/register-cue-points-command.json +57 -0
- package/src/generated/schemas/payloads/video/events/index.ts +4 -0
- package/src/generated/schemas/payloads/video/events/register-cue-points-failed-event.json +24 -0
- package/src/generated/schemas/payloads/video/events/register-cue-points-finished-event.json +32 -0
- package/src/generated/types/payloads/video/commands/index.ts +3 -0
- package/src/generated/types/payloads/video/commands/register-cue-points-command.ts +18 -0
- package/src/generated/types/payloads/video/events/index.ts +6 -0
- package/src/generated/types/payloads/video/events/register-cue-points-failed-event.ts +13 -0
- package/src/generated/types/payloads/video/events/register-cue-points-finished-event.ts +13 -0
- package/src/generated/types/payloads/video/types/cue-point.ts +14 -0
- package/src/generated/types/payloads/video/types/index.ts +1 -0
package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.d.ts
CHANGED
|
@@ -42,6 +42,12 @@ export declare class VideoServiceMultiTenantMessagingSettings extends MultiTenan
|
|
|
42
42
|
* The aggregate ID field must contain the value of the "video ID" field.
|
|
43
43
|
*/
|
|
44
44
|
static DeleteVideo: VideoServiceMultiTenantMessagingSettings;
|
|
45
|
+
/**
|
|
46
|
+
* Defines the messaging settings for the command with message type
|
|
47
|
+
* "RegisterCuePoints" and aggregate type "video".
|
|
48
|
+
* The aggregate ID field must contain the value of the "video ID" field.
|
|
49
|
+
*/
|
|
50
|
+
static RegisterCuePoints: VideoServiceMultiTenantMessagingSettings;
|
|
45
51
|
/**
|
|
46
52
|
* Defines the messaging settings for the event with message type
|
|
47
53
|
* "CuePointTypesDeclared" and aggregate type "cue-point-type".
|
|
@@ -132,6 +138,18 @@ export declare class VideoServiceMultiTenantMessagingSettings extends MultiTenan
|
|
|
132
138
|
* The aggregate ID field contains the value of the "video ID" field.
|
|
133
139
|
*/
|
|
134
140
|
static DeleteVideoFailed: VideoServiceMultiTenantMessagingSettings;
|
|
141
|
+
/**
|
|
142
|
+
* Defines the messaging settings for the event with message type
|
|
143
|
+
* "RegisterCuePointsFinished" and aggregate type "video".
|
|
144
|
+
* The aggregate ID field contains the value of the "video ID" field.
|
|
145
|
+
*/
|
|
146
|
+
static RegisterCuePointsFinished: VideoServiceMultiTenantMessagingSettings;
|
|
147
|
+
/**
|
|
148
|
+
* Defines the messaging settings for the event with message type
|
|
149
|
+
* "RegisterCuePointsFailed" and aggregate type "video".
|
|
150
|
+
* The aggregate ID field contains the value of the "video ID" field.
|
|
151
|
+
*/
|
|
152
|
+
static RegisterCuePointsFailed: VideoServiceMultiTenantMessagingSettings;
|
|
135
153
|
private constructor();
|
|
136
154
|
toString: () => string;
|
|
137
155
|
}
|
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,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"}
|
|
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,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;IACJ;;;;OAIG;IACH,OAAc,mBAAmB,2CAM7B;IACJ;;;;OAIG;IACH,OAAc,iBAAiB,2CAM3B;IACJ;;;;OAIG;IACH,OAAc,yBAAyB,2CAMnC;IACJ;;;;OAIG;IACH,OAAc,uBAAuB,2CAMjC;IAEJ,OAAO;IAUS,QAAQ,QAAO,MAAM,CAEnC;CACH"}
|
package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.js
CHANGED
|
@@ -52,6 +52,12 @@ VideoServiceMultiTenantMessagingSettings.StartVideosDeletion = new VideoServiceM
|
|
|
52
52
|
* The aggregate ID field must contain the value of the "video ID" field.
|
|
53
53
|
*/
|
|
54
54
|
VideoServiceMultiTenantMessagingSettings.DeleteVideo = new VideoServiceMultiTenantMessagingSettings('DeleteVideo', 'inbox', '*.*.video.delete', 'command', 'video');
|
|
55
|
+
/**
|
|
56
|
+
* Defines the messaging settings for the command with message type
|
|
57
|
+
* "RegisterCuePoints" and aggregate type "video".
|
|
58
|
+
* The aggregate ID field must contain the value of the "video ID" field.
|
|
59
|
+
*/
|
|
60
|
+
VideoServiceMultiTenantMessagingSettings.RegisterCuePoints = new VideoServiceMultiTenantMessagingSettings('RegisterCuePoints', 'inbox', '*.*.cue_points.register', 'command', 'video');
|
|
55
61
|
/**
|
|
56
62
|
* Defines the messaging settings for the event with message type
|
|
57
63
|
* "CuePointTypesDeclared" and aggregate type "cue-point-type".
|
|
@@ -142,5 +148,17 @@ VideoServiceMultiTenantMessagingSettings.DeleteVideoFinished = new VideoServiceM
|
|
|
142
148
|
* The aggregate ID field contains the value of the "video ID" field.
|
|
143
149
|
*/
|
|
144
150
|
VideoServiceMultiTenantMessagingSettings.DeleteVideoFailed = new VideoServiceMultiTenantMessagingSettings('DeleteVideoFailed', 'video:delete_failed', '*.*.video.delete_failed', 'event', 'video');
|
|
151
|
+
/**
|
|
152
|
+
* Defines the messaging settings for the event with message type
|
|
153
|
+
* "RegisterCuePointsFinished" and aggregate type "video".
|
|
154
|
+
* The aggregate ID field contains the value of the "video ID" field.
|
|
155
|
+
*/
|
|
156
|
+
VideoServiceMultiTenantMessagingSettings.RegisterCuePointsFinished = new VideoServiceMultiTenantMessagingSettings('RegisterCuePointsFinished', 'cue_points:register_finished', '*.*.cue_points.register_finished', 'event', 'video');
|
|
157
|
+
/**
|
|
158
|
+
* Defines the messaging settings for the event with message type
|
|
159
|
+
* "RegisterCuePointsFailed" and aggregate type "video".
|
|
160
|
+
* The aggregate ID field contains the value of the "video ID" field.
|
|
161
|
+
*/
|
|
162
|
+
VideoServiceMultiTenantMessagingSettings.RegisterCuePointsFailed = new VideoServiceMultiTenantMessagingSettings('RegisterCuePointsFailed', 'cue_points:register_failed', '*.*.cue_points.register_failed', 'event', 'video');
|
|
145
163
|
exports.VideoServiceMultiTenantMessagingSettings = VideoServiceMultiTenantMessagingSettings;
|
|
146
164
|
//# 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;IA8SxF,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,CAAC;QAC1B,CAAC,CAAC;IAJF,CAAC;;AArTD;;;;GAIG;AACW,6DAAoB,G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,gCAAgC,EAChC,OAAO,EACP,OAAO,CACN,AANkC,CAMjC;AACJ;;;;GAIG;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;AACJ;;;;GAIG;AACW,kEAAyB,GAAG,IAAI,wCAAwC,CACpF,2BAA2B,EAC3B,8BAA8B,EAC9B,kCAAkC,EAClC,OAAO,EACP,OAAO,CACN,AANoC,CAMnC;AACJ;;;;GAIG;AACW,gEAAuB,GAAG,IAAI,wCAAwC,CAClF,yBAAyB,EACzB,4BAA4B,EAC5B,gCAAgC,EAChC,OAAO,EACP,OAAO,CACN,AANkC,CAMjC;AA5SO,4FAAwC"}
|
|
@@ -332,6 +332,57 @@ export declare const ImportCustomVideoCommandSchema: {
|
|
|
332
332
|
};
|
|
333
333
|
};
|
|
334
334
|
};
|
|
335
|
+
export declare const RegisterCuePointsCommandSchema: {
|
|
336
|
+
$schema: string;
|
|
337
|
+
type: string;
|
|
338
|
+
title: string;
|
|
339
|
+
description: string;
|
|
340
|
+
additionalProperties: boolean;
|
|
341
|
+
required: string[];
|
|
342
|
+
properties: {
|
|
343
|
+
video_id: {
|
|
344
|
+
type: string;
|
|
345
|
+
minLength: number;
|
|
346
|
+
maxLength: number;
|
|
347
|
+
format: string;
|
|
348
|
+
description: string;
|
|
349
|
+
};
|
|
350
|
+
cue_points: {
|
|
351
|
+
type: string;
|
|
352
|
+
description: string;
|
|
353
|
+
additionalItems: boolean;
|
|
354
|
+
minItems: number;
|
|
355
|
+
items: {
|
|
356
|
+
type: string;
|
|
357
|
+
title: string;
|
|
358
|
+
uniqueItems: boolean;
|
|
359
|
+
additionalProperties: boolean;
|
|
360
|
+
required: string[];
|
|
361
|
+
properties: {
|
|
362
|
+
cue_point_type: {
|
|
363
|
+
type: string;
|
|
364
|
+
title: string;
|
|
365
|
+
description: string;
|
|
366
|
+
};
|
|
367
|
+
time_in_seconds: {
|
|
368
|
+
type: string;
|
|
369
|
+
title: string;
|
|
370
|
+
description: string;
|
|
371
|
+
};
|
|
372
|
+
value: {
|
|
373
|
+
type: string;
|
|
374
|
+
title: string;
|
|
375
|
+
description: string;
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
skip_validation: {
|
|
381
|
+
type: string;
|
|
382
|
+
description: string;
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
};
|
|
335
386
|
export declare const StartVideosDeletionCommandSchema: {
|
|
336
387
|
$schema: string;
|
|
337
388
|
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":"AAWA,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,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,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VideoServiceEnableCommandSchema = exports.VideoServiceDisableCommandSchema = exports.UnarchiveVideosCommandSchema = exports.StartVideosDeletionCommandSchema = exports.ImportCustomVideoCommandSchema = exports.EnsureVideoExistsCommandSchema = exports.DeleteVideoCommandSchema = exports.DeclareCuePointTypesCommandSchema = exports.ArchiveVideosCommandSchema = void 0;
|
|
3
|
+
exports.VideoServiceEnableCommandSchema = exports.VideoServiceDisableCommandSchema = exports.UnarchiveVideosCommandSchema = exports.StartVideosDeletionCommandSchema = exports.RegisterCuePointsCommandSchema = 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
6
|
const DeleteVideoCommand = require("./delete-video-command.json");
|
|
7
7
|
const EnsureVideoExistsCommand = require("./ensure-video-exists-command.json");
|
|
8
8
|
const ImportCustomVideoCommand = require("./import-custom-video-command.json");
|
|
9
|
+
const RegisterCuePointsCommand = require("./register-cue-points-command.json");
|
|
9
10
|
const StartVideosDeletionCommand = require("./start-videos-deletion-command.json");
|
|
10
11
|
const UnarchiveVideosCommand = require("./unarchive-videos-command.json");
|
|
11
12
|
const VideoServiceDisableCommand = require("./video-service-disable-command.json");
|
|
@@ -15,6 +16,7 @@ exports.DeclareCuePointTypesCommandSchema = DeclareCuePointTypesCommand;
|
|
|
15
16
|
exports.DeleteVideoCommandSchema = DeleteVideoCommand;
|
|
16
17
|
exports.EnsureVideoExistsCommandSchema = EnsureVideoExistsCommand;
|
|
17
18
|
exports.ImportCustomVideoCommandSchema = ImportCustomVideoCommand;
|
|
19
|
+
exports.RegisterCuePointsCommandSchema = RegisterCuePointsCommand;
|
|
18
20
|
exports.StartVideosDeletionCommandSchema = StartVideosDeletionCommand;
|
|
19
21
|
exports.UnarchiveVideosCommandSchema = UnarchiveVideosCommand;
|
|
20
22
|
exports.VideoServiceDisableCommandSchema = VideoServiceDisableCommand;
|
|
@@ -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,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"}
|
|
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,+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,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,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "register_cue_points_command",
|
|
5
|
+
"description": "Register cue points command schema.",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"video_id",
|
|
9
|
+
"cue_points"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"video_id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 32,
|
|
15
|
+
"maxLength": 36,
|
|
16
|
+
"format": "uuid",
|
|
17
|
+
"description": "A UUID."
|
|
18
|
+
},
|
|
19
|
+
"cue_points": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"description": "An array of cue points to be registered.",
|
|
22
|
+
"additionalItems": false,
|
|
23
|
+
"minItems": 1,
|
|
24
|
+
"items": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"title": "Cue Point",
|
|
27
|
+
"uniqueItems": true,
|
|
28
|
+
"additionalProperties": false,
|
|
29
|
+
"required": [
|
|
30
|
+
"cue_point_type",
|
|
31
|
+
"time_in_seconds"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"cue_point_type": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"title": "Cue Point Type",
|
|
37
|
+
"description": "Cue point type."
|
|
38
|
+
},
|
|
39
|
+
"time_in_seconds": {
|
|
40
|
+
"type": "number",
|
|
41
|
+
"title": "Time in seconds",
|
|
42
|
+
"description": "Time in seconds when cue point should be registered."
|
|
43
|
+
},
|
|
44
|
+
"value": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"title": "Value",
|
|
47
|
+
"description": "A value/text associated with the cue point."
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"skip_validation": {
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"description": "If true, the cue point times will not be validated against the video duration."
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -406,6 +406,56 @@ export declare const ImportCustomVideoFinishedEventSchema: {
|
|
|
406
406
|
};
|
|
407
407
|
};
|
|
408
408
|
};
|
|
409
|
+
export declare const RegisterCuePointsFailedEventSchema: {
|
|
410
|
+
$schema: string;
|
|
411
|
+
type: string;
|
|
412
|
+
title: string;
|
|
413
|
+
description: string;
|
|
414
|
+
additionalProperties: boolean;
|
|
415
|
+
required: string[];
|
|
416
|
+
properties: {
|
|
417
|
+
video_id: {
|
|
418
|
+
type: string;
|
|
419
|
+
minLength: number;
|
|
420
|
+
maxLength: number;
|
|
421
|
+
format: string;
|
|
422
|
+
description: string;
|
|
423
|
+
};
|
|
424
|
+
message: {
|
|
425
|
+
type: string;
|
|
426
|
+
description: string;
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
export declare const RegisterCuePointsFinishedEventSchema: {
|
|
431
|
+
$schema: string;
|
|
432
|
+
type: string;
|
|
433
|
+
title: string;
|
|
434
|
+
description: string;
|
|
435
|
+
additionalProperties: boolean;
|
|
436
|
+
required: string[];
|
|
437
|
+
properties: {
|
|
438
|
+
video_id: {
|
|
439
|
+
type: string;
|
|
440
|
+
minLength: number;
|
|
441
|
+
maxLength: number;
|
|
442
|
+
format: string;
|
|
443
|
+
description: string;
|
|
444
|
+
};
|
|
445
|
+
cue_point_ids: {
|
|
446
|
+
type: string;
|
|
447
|
+
description: string;
|
|
448
|
+
additionalItems: boolean;
|
|
449
|
+
items: {
|
|
450
|
+
type: string;
|
|
451
|
+
minLength: number;
|
|
452
|
+
maxLength: number;
|
|
453
|
+
format: string;
|
|
454
|
+
description: string;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
};
|
|
409
459
|
export declare const UnarchiveVideosFailedEventSchema: {
|
|
410
460
|
$schema: string;
|
|
411
461
|
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":"AAsBA,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAC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;;;;;;;;;CAA6B,CAAC;AAC3E,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiC,CAAC;AACnF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AACvF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgC,CAAC;AACjF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;CAAkC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
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.DeleteVideoFinishedEventSchema = exports.DeleteVideoFailedEventSchema = 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.RegisterCuePointsFinishedEventSchema = exports.RegisterCuePointsFailedEventSchema = 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");
|
|
@@ -12,6 +12,8 @@ const EnsureVideoExistsCreationStartedEvent = require("./ensure-video-exists-cre
|
|
|
12
12
|
const EnsureVideoExistsFailedEvent = require("./ensure-video-exists-failed-event.json");
|
|
13
13
|
const ImportCustomVideoFailedEvent = require("./import-custom-video-failed-event.json");
|
|
14
14
|
const ImportCustomVideoFinishedEvent = require("./import-custom-video-finished-event.json");
|
|
15
|
+
const RegisterCuePointsFailedEvent = require("./register-cue-points-failed-event.json");
|
|
16
|
+
const RegisterCuePointsFinishedEvent = require("./register-cue-points-finished-event.json");
|
|
15
17
|
const UnarchiveVideosFailedEvent = require("./unarchive-videos-failed-event.json");
|
|
16
18
|
const UnarchiveVideosFinishedEvent = require("./unarchive-videos-finished-event.json");
|
|
17
19
|
const VideoEncodingFailedEvent = require("./video-encoding-failed-event.json");
|
|
@@ -31,6 +33,8 @@ exports.EnsureVideoExistsCreationStartedEventSchema = EnsureVideoExistsCreationS
|
|
|
31
33
|
exports.EnsureVideoExistsFailedEventSchema = EnsureVideoExistsFailedEvent;
|
|
32
34
|
exports.ImportCustomVideoFailedEventSchema = ImportCustomVideoFailedEvent;
|
|
33
35
|
exports.ImportCustomVideoFinishedEventSchema = ImportCustomVideoFinishedEvent;
|
|
36
|
+
exports.RegisterCuePointsFailedEventSchema = RegisterCuePointsFailedEvent;
|
|
37
|
+
exports.RegisterCuePointsFinishedEventSchema = RegisterCuePointsFinishedEvent;
|
|
34
38
|
exports.UnarchiveVideosFailedEventSchema = UnarchiveVideosFailedEvent;
|
|
35
39
|
exports.UnarchiveVideosFinishedEventSchema = UnarchiveVideosFinishedEvent;
|
|
36
40
|
exports.VideoEncodingFailedEventSchema = VideoEncodingFailedEvent;
|
|
@@ -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,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"}
|
|
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,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,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,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "register_cue_points_failed_event",
|
|
5
|
+
"description": "Register cue points failed event schema.",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"video_id",
|
|
9
|
+
"message"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"video_id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 32,
|
|
15
|
+
"maxLength": 36,
|
|
16
|
+
"format": "uuid",
|
|
17
|
+
"description": "A UUID."
|
|
18
|
+
},
|
|
19
|
+
"message": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "Message that describes the reason for cue point registration failure."
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "register_cue_points_finished_event",
|
|
5
|
+
"description": "Register cue points finished event schema.",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"video_id",
|
|
9
|
+
"cue_point_ids"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"video_id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 32,
|
|
15
|
+
"maxLength": 36,
|
|
16
|
+
"format": "uuid",
|
|
17
|
+
"description": "A UUID."
|
|
18
|
+
},
|
|
19
|
+
"cue_point_ids": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"description": "An array of cue point IDs.",
|
|
22
|
+
"additionalItems": false,
|
|
23
|
+
"items": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"minLength": 32,
|
|
26
|
+
"maxLength": 36,
|
|
27
|
+
"format": "uuid",
|
|
28
|
+
"description": "A UUID."
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -3,6 +3,7 @@ export * from './declare-cue-point-types-command';
|
|
|
3
3
|
export * from './delete-video-command';
|
|
4
4
|
export * from './ensure-video-exists-command';
|
|
5
5
|
export * from './import-custom-video-command';
|
|
6
|
+
export * from './register-cue-points-command';
|
|
6
7
|
export * from './start-videos-deletion-command';
|
|
7
8
|
export * from './unarchive-videos-command';
|
|
8
9
|
export * from './video-service-disable-command';
|
|
@@ -13,6 +14,7 @@ export declare enum VideoCommandsSchemas {
|
|
|
13
14
|
DeleteVideoCommand = "payloads/video/commands/delete-video-command.json",
|
|
14
15
|
EnsureVideoExistsCommand = "payloads/video/commands/ensure-video-exists-command.json",
|
|
15
16
|
ImportCustomVideoCommand = "payloads/video/commands/import-custom-video-command.json",
|
|
17
|
+
RegisterCuePointsCommand = "payloads/video/commands/register-cue-points-command.json",
|
|
16
18
|
StartVideosDeletionCommand = "payloads/video/commands/start-videos-deletion-command.json",
|
|
17
19
|
UnarchiveVideosCommand = "payloads/video/commands/unarchive-videos-command.json",
|
|
18
20
|
VideoServiceDisableCommand = "payloads/video/commands/video-service-disable-command.json",
|
|
@@ -24,6 +26,7 @@ export declare enum VideoCommandsTypes {
|
|
|
24
26
|
DeleteVideoCommand = "DeleteVideoCommand",
|
|
25
27
|
EnsureVideoExistsCommand = "EnsureVideoExistsCommand",
|
|
26
28
|
ImportCustomVideoCommand = "ImportCustomVideoCommand",
|
|
29
|
+
RegisterCuePointsCommand = "RegisterCuePointsCommand",
|
|
27
30
|
StartVideosDeletionCommand = "StartVideosDeletionCommand",
|
|
28
31
|
UnarchiveVideosCommand = "UnarchiveVideosCommand",
|
|
29
32
|
VideoServiceDisableCommand = "VideoServiceDisableCommand",
|
|
@@ -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,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"}
|
|
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,+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,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,wBAAwB,6BAA6B;IACrD,0BAA0B,+BAA+B;IACzD,sBAAsB,2BAA2B;IACjD,0BAA0B,+BAA+B;IACzD,yBAAyB,8BAA8B;CACxD"}
|
|
@@ -20,6 +20,7 @@ __exportStar(require("./declare-cue-point-types-command"), exports);
|
|
|
20
20
|
__exportStar(require("./delete-video-command"), exports);
|
|
21
21
|
__exportStar(require("./ensure-video-exists-command"), exports);
|
|
22
22
|
__exportStar(require("./import-custom-video-command"), exports);
|
|
23
|
+
__exportStar(require("./register-cue-points-command"), exports);
|
|
23
24
|
__exportStar(require("./start-videos-deletion-command"), exports);
|
|
24
25
|
__exportStar(require("./unarchive-videos-command"), exports);
|
|
25
26
|
__exportStar(require("./video-service-disable-command"), exports);
|
|
@@ -31,6 +32,7 @@ var VideoCommandsSchemas;
|
|
|
31
32
|
VideoCommandsSchemas["DeleteVideoCommand"] = "payloads/video/commands/delete-video-command.json";
|
|
32
33
|
VideoCommandsSchemas["EnsureVideoExistsCommand"] = "payloads/video/commands/ensure-video-exists-command.json";
|
|
33
34
|
VideoCommandsSchemas["ImportCustomVideoCommand"] = "payloads/video/commands/import-custom-video-command.json";
|
|
35
|
+
VideoCommandsSchemas["RegisterCuePointsCommand"] = "payloads/video/commands/register-cue-points-command.json";
|
|
34
36
|
VideoCommandsSchemas["StartVideosDeletionCommand"] = "payloads/video/commands/start-videos-deletion-command.json";
|
|
35
37
|
VideoCommandsSchemas["UnarchiveVideosCommand"] = "payloads/video/commands/unarchive-videos-command.json";
|
|
36
38
|
VideoCommandsSchemas["VideoServiceDisableCommand"] = "payloads/video/commands/video-service-disable-command.json";
|
|
@@ -43,6 +45,7 @@ var VideoCommandsTypes;
|
|
|
43
45
|
VideoCommandsTypes["DeleteVideoCommand"] = "DeleteVideoCommand";
|
|
44
46
|
VideoCommandsTypes["EnsureVideoExistsCommand"] = "EnsureVideoExistsCommand";
|
|
45
47
|
VideoCommandsTypes["ImportCustomVideoCommand"] = "ImportCustomVideoCommand";
|
|
48
|
+
VideoCommandsTypes["RegisterCuePointsCommand"] = "RegisterCuePointsCommand";
|
|
46
49
|
VideoCommandsTypes["StartVideosDeletionCommand"] = "StartVideosDeletionCommand";
|
|
47
50
|
VideoCommandsTypes["UnarchiveVideosCommand"] = "UnarchiveVideosCommand";
|
|
48
51
|
VideoCommandsTypes["VideoServiceDisableCommand"] = "VideoServiceDisableCommand";
|
|
@@ -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,yDAAuC;AACvC,gEAA8C;AAC9C,gEAA8C;AAC9C,kEAAgD;AAChD,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,gEAA8C;AAC9C,kEAAgD;AAChD,6DAA2C;AAC3C,kEAAgD;AAChD,iEAA+C;AAE/C,IAAY,oBAWX;AAXD,WAAY,oBAAoB;IAC9B,oGAA4E,CAAA;IAC5E,oHAA4F,CAAA;IAC5F,gGAAwE,CAAA;IACxE,6GAAqF,CAAA;IACrF,6GAAqF,CAAA;IACrF,6GAAqF,CAAA;IACrF,iHAAyF,CAAA;IACzF,wGAAgF,CAAA;IAChF,iHAAyF,CAAA;IACzF,+GAAuF,CAAA;AACzF,CAAC,EAXW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAW/B;AAED,IAAY,kBAWX;AAXD,WAAY,kBAAkB;IAC5B,mEAA6C,CAAA;IAC7C,iFAA2D,CAAA;IAC3D,+DAAyC,CAAA;IACzC,2EAAqD,CAAA;IACrD,2EAAqD,CAAA;IACrD,2EAAqD,CAAA;IACrD,+EAAyD,CAAA;IACzD,uEAAiD,CAAA;IACjD,+EAAyD,CAAA;IACzD,6EAAuD,CAAA;AACzD,CAAC,EAXW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAW7B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CuePoint } from '../types/cue-point';
|
|
2
|
+
/**
|
|
3
|
+
* Register cue points command schema.
|
|
4
|
+
*/
|
|
5
|
+
export interface RegisterCuePointsCommand {
|
|
6
|
+
/**
|
|
7
|
+
* A UUID.
|
|
8
|
+
*/
|
|
9
|
+
video_id: string;
|
|
10
|
+
/**
|
|
11
|
+
* An array of cue points to be registered.
|
|
12
|
+
*/
|
|
13
|
+
cue_points: CuePoint[];
|
|
14
|
+
/**
|
|
15
|
+
* If true, the cue point times will not be validated against the video duration.
|
|
16
|
+
*/
|
|
17
|
+
skip_validation?: boolean;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=register-cue-points-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register-cue-points-command.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/commands/register-cue-points-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register-cue-points-command.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/commands/register-cue-points-command.ts"],"names":[],"mappings":""}
|
|
@@ -9,6 +9,8 @@ export * from './ensure-video-exists-creation-started-event';
|
|
|
9
9
|
export * from './ensure-video-exists-failed-event';
|
|
10
10
|
export * from './import-custom-video-failed-event';
|
|
11
11
|
export * from './import-custom-video-finished-event';
|
|
12
|
+
export * from './register-cue-points-failed-event';
|
|
13
|
+
export * from './register-cue-points-finished-event';
|
|
12
14
|
export * from './unarchive-videos-failed-event';
|
|
13
15
|
export * from './unarchive-videos-finished-event';
|
|
14
16
|
export * from './video-encoding-failed-event';
|
|
@@ -29,6 +31,8 @@ export declare enum VideoEventsSchemas {
|
|
|
29
31
|
EnsureVideoExistsFailedEvent = "payloads/video/events/ensure-video-exists-failed-event.json",
|
|
30
32
|
ImportCustomVideoFailedEvent = "payloads/video/events/import-custom-video-failed-event.json",
|
|
31
33
|
ImportCustomVideoFinishedEvent = "payloads/video/events/import-custom-video-finished-event.json",
|
|
34
|
+
RegisterCuePointsFailedEvent = "payloads/video/events/register-cue-points-failed-event.json",
|
|
35
|
+
RegisterCuePointsFinishedEvent = "payloads/video/events/register-cue-points-finished-event.json",
|
|
32
36
|
UnarchiveVideosFailedEvent = "payloads/video/events/unarchive-videos-failed-event.json",
|
|
33
37
|
UnarchiveVideosFinishedEvent = "payloads/video/events/unarchive-videos-finished-event.json",
|
|
34
38
|
VideoEncodingFailedEvent = "payloads/video/events/video-encoding-failed-event.json",
|
|
@@ -50,6 +54,8 @@ export declare enum VideoEventsTypes {
|
|
|
50
54
|
EnsureVideoExistsFailedEvent = "EnsureVideoExistsFailedEvent",
|
|
51
55
|
ImportCustomVideoFailedEvent = "ImportCustomVideoFailedEvent",
|
|
52
56
|
ImportCustomVideoFinishedEvent = "ImportCustomVideoFinishedEvent",
|
|
57
|
+
RegisterCuePointsFailedEvent = "RegisterCuePointsFailedEvent",
|
|
58
|
+
RegisterCuePointsFinishedEvent = "RegisterCuePointsFinishedEvent",
|
|
53
59
|
UnarchiveVideosFailedEvent = "UnarchiveVideosFailedEvent",
|
|
54
60
|
UnarchiveVideosFinishedEvent = "UnarchiveVideosFinishedEvent",
|
|
55
61
|
VideoEncodingFailedEvent = "VideoEncodingFailedEvent",
|
|
@@ -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,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,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,sBAAsB,yDAAyD;IAC/E,wBAAwB,2DAA2D;IACnF,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,sBAAsB,2BAA2B;IACjD,wBAAwB,6BAA6B;IACrD,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,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,oCAAoC,CAAC;AACnD,cAAc,s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IAC/D,+BAA+B,oCAAoC;CACpE"}
|
|
@@ -26,6 +26,8 @@ __exportStar(require("./ensure-video-exists-creation-started-event"), exports);
|
|
|
26
26
|
__exportStar(require("./ensure-video-exists-failed-event"), exports);
|
|
27
27
|
__exportStar(require("./import-custom-video-failed-event"), exports);
|
|
28
28
|
__exportStar(require("./import-custom-video-finished-event"), exports);
|
|
29
|
+
__exportStar(require("./register-cue-points-failed-event"), exports);
|
|
30
|
+
__exportStar(require("./register-cue-points-finished-event"), exports);
|
|
29
31
|
__exportStar(require("./unarchive-videos-failed-event"), exports);
|
|
30
32
|
__exportStar(require("./unarchive-videos-finished-event"), exports);
|
|
31
33
|
__exportStar(require("./video-encoding-failed-event"), exports);
|
|
@@ -47,6 +49,8 @@ var VideoEventsSchemas;
|
|
|
47
49
|
VideoEventsSchemas["EnsureVideoExistsFailedEvent"] = "payloads/video/events/ensure-video-exists-failed-event.json";
|
|
48
50
|
VideoEventsSchemas["ImportCustomVideoFailedEvent"] = "payloads/video/events/import-custom-video-failed-event.json";
|
|
49
51
|
VideoEventsSchemas["ImportCustomVideoFinishedEvent"] = "payloads/video/events/import-custom-video-finished-event.json";
|
|
52
|
+
VideoEventsSchemas["RegisterCuePointsFailedEvent"] = "payloads/video/events/register-cue-points-failed-event.json";
|
|
53
|
+
VideoEventsSchemas["RegisterCuePointsFinishedEvent"] = "payloads/video/events/register-cue-points-finished-event.json";
|
|
50
54
|
VideoEventsSchemas["UnarchiveVideosFailedEvent"] = "payloads/video/events/unarchive-videos-failed-event.json";
|
|
51
55
|
VideoEventsSchemas["UnarchiveVideosFinishedEvent"] = "payloads/video/events/unarchive-videos-finished-event.json";
|
|
52
56
|
VideoEventsSchemas["VideoEncodingFailedEvent"] = "payloads/video/events/video-encoding-failed-event.json";
|
|
@@ -69,6 +73,8 @@ var VideoEventsTypes;
|
|
|
69
73
|
VideoEventsTypes["EnsureVideoExistsFailedEvent"] = "EnsureVideoExistsFailedEvent";
|
|
70
74
|
VideoEventsTypes["ImportCustomVideoFailedEvent"] = "ImportCustomVideoFailedEvent";
|
|
71
75
|
VideoEventsTypes["ImportCustomVideoFinishedEvent"] = "ImportCustomVideoFinishedEvent";
|
|
76
|
+
VideoEventsTypes["RegisterCuePointsFailedEvent"] = "RegisterCuePointsFailedEvent";
|
|
77
|
+
VideoEventsTypes["RegisterCuePointsFinishedEvent"] = "RegisterCuePointsFinishedEvent";
|
|
72
78
|
VideoEventsTypes["UnarchiveVideosFailedEvent"] = "UnarchiveVideosFailedEvent";
|
|
73
79
|
VideoEventsTypes["UnarchiveVideosFinishedEvent"] = "UnarchiveVideosFinishedEvent";
|
|
74
80
|
VideoEventsTypes["VideoEncodingFailedEvent"] = "VideoEncodingFailedEvent";
|
|
@@ -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,8DAA4C;AAC5C,gEAA8C;AAC9C,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,gEAA8C;AAC9C,8EAA4D;AAC5D,+EAA6D;AAC7D,qEAAmD;AACnD,qEAAmD;AACnD,uEAAqD;AACrD,qEAAmD;AACnD,uEAAqD;AACrD,kEAAgD;AAChD,oEAAkD;AAClD,gEAA8C;AAC9C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event schema.
|
|
3
|
+
*/
|
|
4
|
+
export interface RegisterCuePointsFailedEvent {
|
|
5
|
+
/**
|
|
6
|
+
* A UUID.
|
|
7
|
+
*/
|
|
8
|
+
video_id: string;
|
|
9
|
+
/**
|
|
10
|
+
* Message that describes the reason for cue point registration failure.
|
|
11
|
+
*/
|
|
12
|
+
message: string;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=register-cue-points-failed-event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register-cue-points-failed-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/register-cue-points-failed-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register-cue-points-failed-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/register-cue-points-failed-event.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Register cue points finished event schema.
|
|
3
|
+
*/
|
|
4
|
+
export interface RegisterCuePointsFinishedEvent {
|
|
5
|
+
/**
|
|
6
|
+
* A UUID.
|
|
7
|
+
*/
|
|
8
|
+
video_id: string;
|
|
9
|
+
/**
|
|
10
|
+
* An array of cue point IDs.
|
|
11
|
+
*/
|
|
12
|
+
cue_point_ids: string[];
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=register-cue-points-finished-event.d.ts.map
|
package/dist/generated/types/payloads/video/events/register-cue-points-finished-event.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register-cue-points-finished-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/register-cue-points-finished-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register-cue-points-finished-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/register-cue-points-finished-event.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface CuePoint {
|
|
2
|
+
/**
|
|
3
|
+
* Cue point type.
|
|
4
|
+
*/
|
|
5
|
+
cue_point_type: string;
|
|
6
|
+
/**
|
|
7
|
+
* Time in seconds when cue point should be registered.
|
|
8
|
+
*/
|
|
9
|
+
time_in_seconds: number;
|
|
10
|
+
/**
|
|
11
|
+
* A value/text associated with the cue point.
|
|
12
|
+
*/
|
|
13
|
+
value?: string;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=cue-point.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cue-point.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/types/cue-point.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cue-point.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/types/cue-point.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wCAAwC,CAAC;AACvD,cAAc,mBAAmB,CAAC;AAClC,cAAc,qCAAqC,CAAC;AACpD,cAAc,iBAAiB,CAAC;AAChC,cAAc,0CAA0C,CAAC;AACzD,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wCAAwC,CAAC;AACvD,cAAc,mBAAmB,CAAC;AAClC,cAAc,qCAAqC,CAAC;AACpD,cAAc,iBAAiB,CAAC;AAChC,cAAc,0CAA0C,CAAC;AACzD,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC"}
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./cue-point"), exports);
|
|
17
18
|
__exportStar(require("./cue-point-type"), exports);
|
|
18
19
|
__exportStar(require("./custom-video-stream"), exports);
|
|
19
20
|
__exportStar(require("./encoding-messages"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,wDAAsC;AACtC,sDAAoC;AACpC,mDAAiC;AACjC,yEAAuD;AACvD,oDAAkC;AAClC,sEAAoD;AACpD,kDAAgC;AAChC,2EAAyD;AACzD,mDAAiC;AACjC,iDAA+B;AAC/B,0CAAwB;AACxB,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,mDAAiC;AACjC,wDAAsC;AACtC,sDAAoC;AACpC,mDAAiC;AACjC,yEAAuD;AACvD,oDAAkC;AAClC,sEAAoD;AACpD,kDAAgC;AAChC,2EAAyD;AACzD,mDAAiC;AACjC,iDAA+B;AAC/B,0CAAwB;AACxB,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axinom/mosaic-messages",
|
|
3
|
-
"version": "0.51.
|
|
3
|
+
"version": "0.51.1",
|
|
4
4
|
"description": "Shared types for Axinom Mosaic service messages",
|
|
5
5
|
"author": "Axinom",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "cc73bea2cd27a4f2c4f7b51d688a18547251ac35"
|
|
47
47
|
}
|
package/src/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.ts
CHANGED
|
@@ -85,6 +85,18 @@ export class VideoServiceMultiTenantMessagingSettings extends MultiTenantMessagi
|
|
|
85
85
|
'command',
|
|
86
86
|
'video'
|
|
87
87
|
);
|
|
88
|
+
/**
|
|
89
|
+
* Defines the messaging settings for the command with message type
|
|
90
|
+
* "RegisterCuePoints" and aggregate type "video".
|
|
91
|
+
* The aggregate ID field must contain the value of the "video ID" field.
|
|
92
|
+
*/
|
|
93
|
+
public static RegisterCuePoints = new VideoServiceMultiTenantMessagingSettings(
|
|
94
|
+
'RegisterCuePoints',
|
|
95
|
+
'inbox',
|
|
96
|
+
'*.*.cue_points.register',
|
|
97
|
+
'command',
|
|
98
|
+
'video'
|
|
99
|
+
);
|
|
88
100
|
/**
|
|
89
101
|
* Defines the messaging settings for the event with message type
|
|
90
102
|
* "CuePointTypesDeclared" and aggregate type "cue-point-type".
|
|
@@ -265,6 +277,30 @@ export class VideoServiceMultiTenantMessagingSettings extends MultiTenantMessagi
|
|
|
265
277
|
'event',
|
|
266
278
|
'video'
|
|
267
279
|
);
|
|
280
|
+
/**
|
|
281
|
+
* Defines the messaging settings for the event with message type
|
|
282
|
+
* "RegisterCuePointsFinished" and aggregate type "video".
|
|
283
|
+
* The aggregate ID field contains the value of the "video ID" field.
|
|
284
|
+
*/
|
|
285
|
+
public static RegisterCuePointsFinished = new VideoServiceMultiTenantMessagingSettings(
|
|
286
|
+
'RegisterCuePointsFinished',
|
|
287
|
+
'cue_points:register_finished',
|
|
288
|
+
'*.*.cue_points.register_finished',
|
|
289
|
+
'event',
|
|
290
|
+
'video'
|
|
291
|
+
);
|
|
292
|
+
/**
|
|
293
|
+
* Defines the messaging settings for the event with message type
|
|
294
|
+
* "RegisterCuePointsFailed" and aggregate type "video".
|
|
295
|
+
* The aggregate ID field contains the value of the "video ID" field.
|
|
296
|
+
*/
|
|
297
|
+
public static RegisterCuePointsFailed = new VideoServiceMultiTenantMessagingSettings(
|
|
298
|
+
'RegisterCuePointsFailed',
|
|
299
|
+
'cue_points:register_failed',
|
|
300
|
+
'*.*.cue_points.register_failed',
|
|
301
|
+
'event',
|
|
302
|
+
'video'
|
|
303
|
+
);
|
|
268
304
|
|
|
269
305
|
private constructor(
|
|
270
306
|
messageType: string,
|
|
@@ -3,6 +3,7 @@ import * as DeclareCuePointTypesCommand from './declare-cue-point-types-command.
|
|
|
3
3
|
import * as DeleteVideoCommand from './delete-video-command.json';
|
|
4
4
|
import * as EnsureVideoExistsCommand from './ensure-video-exists-command.json';
|
|
5
5
|
import * as ImportCustomVideoCommand from './import-custom-video-command.json';
|
|
6
|
+
import * as RegisterCuePointsCommand from './register-cue-points-command.json';
|
|
6
7
|
import * as StartVideosDeletionCommand from './start-videos-deletion-command.json';
|
|
7
8
|
import * as UnarchiveVideosCommand from './unarchive-videos-command.json';
|
|
8
9
|
import * as VideoServiceDisableCommand from './video-service-disable-command.json';
|
|
@@ -13,6 +14,7 @@ export const DeclareCuePointTypesCommandSchema = DeclareCuePointTypesCommand;
|
|
|
13
14
|
export const DeleteVideoCommandSchema = DeleteVideoCommand;
|
|
14
15
|
export const EnsureVideoExistsCommandSchema = EnsureVideoExistsCommand;
|
|
15
16
|
export const ImportCustomVideoCommandSchema = ImportCustomVideoCommand;
|
|
17
|
+
export const RegisterCuePointsCommandSchema = RegisterCuePointsCommand;
|
|
16
18
|
export const StartVideosDeletionCommandSchema = StartVideosDeletionCommand;
|
|
17
19
|
export const UnarchiveVideosCommandSchema = UnarchiveVideosCommand;
|
|
18
20
|
export const VideoServiceDisableCommandSchema = VideoServiceDisableCommand;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "register_cue_points_command",
|
|
5
|
+
"description": "Register cue points command schema.",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"video_id",
|
|
9
|
+
"cue_points"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"video_id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 32,
|
|
15
|
+
"maxLength": 36,
|
|
16
|
+
"format": "uuid",
|
|
17
|
+
"description": "A UUID."
|
|
18
|
+
},
|
|
19
|
+
"cue_points": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"description": "An array of cue points to be registered.",
|
|
22
|
+
"additionalItems": false,
|
|
23
|
+
"minItems": 1,
|
|
24
|
+
"items": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"title": "Cue Point",
|
|
27
|
+
"uniqueItems": true,
|
|
28
|
+
"additionalProperties": false,
|
|
29
|
+
"required": [
|
|
30
|
+
"cue_point_type",
|
|
31
|
+
"time_in_seconds"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"cue_point_type": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"title": "Cue Point Type",
|
|
37
|
+
"description": "Cue point type."
|
|
38
|
+
},
|
|
39
|
+
"time_in_seconds": {
|
|
40
|
+
"type": "number",
|
|
41
|
+
"title": "Time in seconds",
|
|
42
|
+
"description": "Time in seconds when cue point should be registered."
|
|
43
|
+
},
|
|
44
|
+
"value": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"title": "Value",
|
|
47
|
+
"description": "A value/text associated with the cue point."
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"skip_validation": {
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"description": "If true, the cue point times will not be validated against the video duration."
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -9,6 +9,8 @@ import * as EnsureVideoExistsCreationStartedEvent from './ensure-video-exists-cr
|
|
|
9
9
|
import * as EnsureVideoExistsFailedEvent from './ensure-video-exists-failed-event.json';
|
|
10
10
|
import * as ImportCustomVideoFailedEvent from './import-custom-video-failed-event.json';
|
|
11
11
|
import * as ImportCustomVideoFinishedEvent from './import-custom-video-finished-event.json';
|
|
12
|
+
import * as RegisterCuePointsFailedEvent from './register-cue-points-failed-event.json';
|
|
13
|
+
import * as RegisterCuePointsFinishedEvent from './register-cue-points-finished-event.json';
|
|
12
14
|
import * as UnarchiveVideosFailedEvent from './unarchive-videos-failed-event.json';
|
|
13
15
|
import * as UnarchiveVideosFinishedEvent from './unarchive-videos-finished-event.json';
|
|
14
16
|
import * as VideoEncodingFailedEvent from './video-encoding-failed-event.json';
|
|
@@ -29,6 +31,8 @@ export const EnsureVideoExistsCreationStartedEventSchema = EnsureVideoExistsCrea
|
|
|
29
31
|
export const EnsureVideoExistsFailedEventSchema = EnsureVideoExistsFailedEvent;
|
|
30
32
|
export const ImportCustomVideoFailedEventSchema = ImportCustomVideoFailedEvent;
|
|
31
33
|
export const ImportCustomVideoFinishedEventSchema = ImportCustomVideoFinishedEvent;
|
|
34
|
+
export const RegisterCuePointsFailedEventSchema = RegisterCuePointsFailedEvent;
|
|
35
|
+
export const RegisterCuePointsFinishedEventSchema = RegisterCuePointsFinishedEvent;
|
|
32
36
|
export const UnarchiveVideosFailedEventSchema = UnarchiveVideosFailedEvent;
|
|
33
37
|
export const UnarchiveVideosFinishedEventSchema = UnarchiveVideosFinishedEvent;
|
|
34
38
|
export const VideoEncodingFailedEventSchema = VideoEncodingFailedEvent;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "register_cue_points_failed_event",
|
|
5
|
+
"description": "Register cue points failed event schema.",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"video_id",
|
|
9
|
+
"message"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"video_id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 32,
|
|
15
|
+
"maxLength": 36,
|
|
16
|
+
"format": "uuid",
|
|
17
|
+
"description": "A UUID."
|
|
18
|
+
},
|
|
19
|
+
"message": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "Message that describes the reason for cue point registration failure."
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "register_cue_points_finished_event",
|
|
5
|
+
"description": "Register cue points finished event schema.",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"video_id",
|
|
9
|
+
"cue_point_ids"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"video_id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 32,
|
|
15
|
+
"maxLength": 36,
|
|
16
|
+
"format": "uuid",
|
|
17
|
+
"description": "A UUID."
|
|
18
|
+
},
|
|
19
|
+
"cue_point_ids": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"description": "An array of cue point IDs.",
|
|
22
|
+
"additionalItems": false,
|
|
23
|
+
"items": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"minLength": 32,
|
|
26
|
+
"maxLength": 36,
|
|
27
|
+
"format": "uuid",
|
|
28
|
+
"description": "A UUID."
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -3,6 +3,7 @@ export * from './declare-cue-point-types-command';
|
|
|
3
3
|
export * from './delete-video-command';
|
|
4
4
|
export * from './ensure-video-exists-command';
|
|
5
5
|
export * from './import-custom-video-command';
|
|
6
|
+
export * from './register-cue-points-command';
|
|
6
7
|
export * from './start-videos-deletion-command';
|
|
7
8
|
export * from './unarchive-videos-command';
|
|
8
9
|
export * from './video-service-disable-command';
|
|
@@ -14,6 +15,7 @@ export enum VideoCommandsSchemas {
|
|
|
14
15
|
DeleteVideoCommand = 'payloads/video/commands/delete-video-command.json',
|
|
15
16
|
EnsureVideoExistsCommand = 'payloads/video/commands/ensure-video-exists-command.json',
|
|
16
17
|
ImportCustomVideoCommand = 'payloads/video/commands/import-custom-video-command.json',
|
|
18
|
+
RegisterCuePointsCommand = 'payloads/video/commands/register-cue-points-command.json',
|
|
17
19
|
StartVideosDeletionCommand = 'payloads/video/commands/start-videos-deletion-command.json',
|
|
18
20
|
UnarchiveVideosCommand = 'payloads/video/commands/unarchive-videos-command.json',
|
|
19
21
|
VideoServiceDisableCommand = 'payloads/video/commands/video-service-disable-command.json',
|
|
@@ -26,6 +28,7 @@ export enum VideoCommandsTypes {
|
|
|
26
28
|
DeleteVideoCommand = 'DeleteVideoCommand',
|
|
27
29
|
EnsureVideoExistsCommand = 'EnsureVideoExistsCommand',
|
|
28
30
|
ImportCustomVideoCommand = 'ImportCustomVideoCommand',
|
|
31
|
+
RegisterCuePointsCommand = 'RegisterCuePointsCommand',
|
|
29
32
|
StartVideosDeletionCommand = 'StartVideosDeletionCommand',
|
|
30
33
|
UnarchiveVideosCommand = 'UnarchiveVideosCommand',
|
|
31
34
|
VideoServiceDisableCommand = 'VideoServiceDisableCommand',
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CuePoint } from '../types/cue-point';
|
|
2
|
+
/**
|
|
3
|
+
* Register cue points command schema.
|
|
4
|
+
*/
|
|
5
|
+
export interface RegisterCuePointsCommand {
|
|
6
|
+
/**
|
|
7
|
+
* A UUID.
|
|
8
|
+
*/
|
|
9
|
+
video_id: string;
|
|
10
|
+
/**
|
|
11
|
+
* An array of cue points to be registered.
|
|
12
|
+
*/
|
|
13
|
+
cue_points: CuePoint[];
|
|
14
|
+
/**
|
|
15
|
+
* If true, the cue point times will not be validated against the video duration.
|
|
16
|
+
*/
|
|
17
|
+
skip_validation?: boolean;
|
|
18
|
+
}
|
|
@@ -9,6 +9,8 @@ export * from './ensure-video-exists-creation-started-event';
|
|
|
9
9
|
export * from './ensure-video-exists-failed-event';
|
|
10
10
|
export * from './import-custom-video-failed-event';
|
|
11
11
|
export * from './import-custom-video-finished-event';
|
|
12
|
+
export * from './register-cue-points-failed-event';
|
|
13
|
+
export * from './register-cue-points-finished-event';
|
|
12
14
|
export * from './unarchive-videos-failed-event';
|
|
13
15
|
export * from './unarchive-videos-finished-event';
|
|
14
16
|
export * from './video-encoding-failed-event';
|
|
@@ -30,6 +32,8 @@ export enum VideoEventsSchemas {
|
|
|
30
32
|
EnsureVideoExistsFailedEvent = 'payloads/video/events/ensure-video-exists-failed-event.json',
|
|
31
33
|
ImportCustomVideoFailedEvent = 'payloads/video/events/import-custom-video-failed-event.json',
|
|
32
34
|
ImportCustomVideoFinishedEvent = 'payloads/video/events/import-custom-video-finished-event.json',
|
|
35
|
+
RegisterCuePointsFailedEvent = 'payloads/video/events/register-cue-points-failed-event.json',
|
|
36
|
+
RegisterCuePointsFinishedEvent = 'payloads/video/events/register-cue-points-finished-event.json',
|
|
33
37
|
UnarchiveVideosFailedEvent = 'payloads/video/events/unarchive-videos-failed-event.json',
|
|
34
38
|
UnarchiveVideosFinishedEvent = 'payloads/video/events/unarchive-videos-finished-event.json',
|
|
35
39
|
VideoEncodingFailedEvent = 'payloads/video/events/video-encoding-failed-event.json',
|
|
@@ -52,6 +56,8 @@ export enum VideoEventsTypes {
|
|
|
52
56
|
EnsureVideoExistsFailedEvent = 'EnsureVideoExistsFailedEvent',
|
|
53
57
|
ImportCustomVideoFailedEvent = 'ImportCustomVideoFailedEvent',
|
|
54
58
|
ImportCustomVideoFinishedEvent = 'ImportCustomVideoFinishedEvent',
|
|
59
|
+
RegisterCuePointsFailedEvent = 'RegisterCuePointsFailedEvent',
|
|
60
|
+
RegisterCuePointsFinishedEvent = 'RegisterCuePointsFinishedEvent',
|
|
55
61
|
UnarchiveVideosFailedEvent = 'UnarchiveVideosFailedEvent',
|
|
56
62
|
UnarchiveVideosFinishedEvent = 'UnarchiveVideosFinishedEvent',
|
|
57
63
|
VideoEncodingFailedEvent = 'VideoEncodingFailedEvent',
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Register cue points failed event schema.
|
|
3
|
+
*/
|
|
4
|
+
export interface RegisterCuePointsFailedEvent {
|
|
5
|
+
/**
|
|
6
|
+
* A UUID.
|
|
7
|
+
*/
|
|
8
|
+
video_id: string;
|
|
9
|
+
/**
|
|
10
|
+
* Message that describes the reason for cue point registration failure.
|
|
11
|
+
*/
|
|
12
|
+
message: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface CuePoint {
|
|
2
|
+
/**
|
|
3
|
+
* Cue point type.
|
|
4
|
+
*/
|
|
5
|
+
cue_point_type: string;
|
|
6
|
+
/**
|
|
7
|
+
* Time in seconds when cue point should be registered.
|
|
8
|
+
*/
|
|
9
|
+
time_in_seconds: number;
|
|
10
|
+
/**
|
|
11
|
+
* A value/text associated with the cue point.
|
|
12
|
+
*/
|
|
13
|
+
value?: string;
|
|
14
|
+
}
|