@axinom/mosaic-messages 0.40.0-rc.6 → 0.40.0-rc.7

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.
Files changed (44) hide show
  1. package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.d.ts +4 -0
  2. package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.d.ts.map +1 -1
  3. package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.js +4 -0
  4. package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.js.map +1 -1
  5. package/dist/generated/schemas/payloads/video/events/archive-videos-failed-event.json +30 -0
  6. package/dist/generated/schemas/payloads/video/events/import-custom-video-failed-event.json +44 -0
  7. package/dist/generated/schemas/payloads/video/events/import-custom-video-finished-event.json +39 -0
  8. package/dist/generated/schemas/payloads/video/events/index.d.ts +114 -0
  9. package/dist/generated/schemas/payloads/video/events/index.d.ts.map +1 -1
  10. package/dist/generated/schemas/payloads/video/events/index.js +9 -1
  11. package/dist/generated/schemas/payloads/video/events/index.js.map +1 -1
  12. package/dist/generated/schemas/payloads/video/events/unarchive-videos-failed-event.json +29 -0
  13. package/dist/generated/types/payloads/video/events/archive-videos-failed-event.d.ts +14 -0
  14. package/dist/generated/types/payloads/video/events/archive-videos-failed-event.d.ts.map +1 -0
  15. package/dist/generated/types/payloads/video/events/archive-videos-failed-event.js +3 -0
  16. package/dist/generated/types/payloads/video/events/archive-videos-failed-event.js.map +1 -0
  17. package/dist/generated/types/payloads/video/events/import-custom-video-failed-event.d.ts +26 -0
  18. package/dist/generated/types/payloads/video/events/import-custom-video-failed-event.d.ts.map +1 -0
  19. package/dist/generated/types/payloads/video/events/import-custom-video-failed-event.js +3 -0
  20. package/dist/generated/types/payloads/video/events/import-custom-video-failed-event.js.map +1 -0
  21. package/dist/generated/types/payloads/video/events/import-custom-video-finished-event.d.ts +22 -0
  22. package/dist/generated/types/payloads/video/events/import-custom-video-finished-event.d.ts.map +1 -0
  23. package/dist/generated/types/payloads/video/events/import-custom-video-finished-event.js +3 -0
  24. package/dist/generated/types/payloads/video/events/import-custom-video-finished-event.js.map +1 -0
  25. package/dist/generated/types/payloads/video/events/index.d.ts +12 -0
  26. package/dist/generated/types/payloads/video/events/index.d.ts.map +1 -1
  27. package/dist/generated/types/payloads/video/events/index.js +12 -0
  28. package/dist/generated/types/payloads/video/events/index.js.map +1 -1
  29. package/dist/generated/types/payloads/video/events/unarchive-videos-failed-event.d.ts +14 -0
  30. package/dist/generated/types/payloads/video/events/unarchive-videos-failed-event.d.ts.map +1 -0
  31. package/dist/generated/types/payloads/video/events/unarchive-videos-failed-event.js +3 -0
  32. package/dist/generated/types/payloads/video/events/unarchive-videos-failed-event.js.map +1 -0
  33. package/package.json +4 -4
  34. package/src/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.ts +28 -0
  35. package/src/generated/schemas/payloads/video/events/archive-videos-failed-event.json +30 -0
  36. package/src/generated/schemas/payloads/video/events/import-custom-video-failed-event.json +44 -0
  37. package/src/generated/schemas/payloads/video/events/import-custom-video-finished-event.json +39 -0
  38. package/src/generated/schemas/payloads/video/events/index.ts +8 -0
  39. package/src/generated/schemas/payloads/video/events/unarchive-videos-failed-event.json +29 -0
  40. package/src/generated/types/payloads/video/events/archive-videos-failed-event.ts +13 -0
  41. package/src/generated/types/payloads/video/events/import-custom-video-failed-event.ts +25 -0
  42. package/src/generated/types/payloads/video/events/import-custom-video-finished-event.ts +21 -0
  43. package/src/generated/types/payloads/video/events/index.ts +12 -0
  44. package/src/generated/types/payloads/video/events/unarchive-videos-failed-event.ts +13 -0
@@ -11,7 +11,11 @@ export declare class VideoServiceMultiTenantMessagingSettings extends MultiTenan
11
11
  static EnsureVideoExistsCreationStarted: VideoServiceMultiTenantMessagingSettings;
12
12
  static EnsureVideoExistsFailed: VideoServiceMultiTenantMessagingSettings;
13
13
  static ArchiveVideosFinished: VideoServiceMultiTenantMessagingSettings;
14
+ static ArchiveVideosFailed: VideoServiceMultiTenantMessagingSettings;
14
15
  static UnarchiveVideosFinished: VideoServiceMultiTenantMessagingSettings;
16
+ static UnarchiveVideosFailed: VideoServiceMultiTenantMessagingSettings;
17
+ static ImportCustomVideoFinished: VideoServiceMultiTenantMessagingSettings;
18
+ static ImportCustomVideoFailed: VideoServiceMultiTenantMessagingSettings;
15
19
  static VideoEncodingFinished: VideoServiceMultiTenantMessagingSettings;
16
20
  static VideoEncodingFailed: VideoServiceMultiTenantMessagingSettings;
17
21
  private constructor();
@@ -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,OAAc,oBAAoB,2CAM9B;IACJ,OAAc,iBAAiB,2CAM3B;IACJ,OAAc,aAAa,2CAMvB;IACJ,OAAc,eAAe,2CAMzB;IACJ,OAAc,iBAAiB,2CAM3B;IACJ,OAAc,qBAAqB,2CAM/B;IACJ,OAAc,0BAA0B,2CAMpC;IACJ,OAAc,+BAA+B,2CAMzC;IACJ,OAAc,gCAAgC,2CAM1C;IACJ,OAAc,uBAAuB,2CAMjC;IACJ,OAAc,qBAAqB,2CAM/B;IACJ,OAAc,uBAAuB,2CAMjC;IACJ,OAAc,qBAAqB,2CAM/B;IACJ,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,OAAc,oBAAoB,2CAM9B;IACJ,OAAc,iBAAiB,2CAM3B;IACJ,OAAc,aAAa,2CAMvB;IACJ,OAAc,eAAe,2CAMzB;IACJ,OAAc,iBAAiB,2CAM3B;IACJ,OAAc,qBAAqB,2CAM/B;IACJ,OAAc,0BAA0B,2CAMpC;IACJ,OAAc,+BAA+B,2CAMzC;IACJ,OAAc,gCAAgC,2CAM1C;IACJ,OAAc,uBAAuB,2CAMjC;IACJ,OAAc,qBAAqB,2CAM/B;IACJ,OAAc,mBAAmB,2CAM7B;IACJ,OAAc,uBAAuB,2CAMjC;IACJ,OAAc,qBAAqB,2CAM/B;IACJ,OAAc,yBAAyB,2CAMnC;IACJ,OAAc,uBAAuB,2CAMjC;IACJ,OAAc,qBAAqB,2CAM/B;IACJ,OAAc,mBAAmB,2CAM7B;IAEJ,OAAO;IAUS,QAAQ,QAAO,MAAM,CAEnC;CACH"}
@@ -21,7 +21,11 @@ VideoServiceMultiTenantMessagingSettings.EnsureVideoExistsAlreadyExisted = new V
21
21
  VideoServiceMultiTenantMessagingSettings.EnsureVideoExistsCreationStarted = new VideoServiceMultiTenantMessagingSettings('EnsureVideoExistsCreationStarted', 'video:ensure_exists_creation_started', '*.*.video.ensure_exists_creation_started', 'event', 'video');
22
22
  VideoServiceMultiTenantMessagingSettings.EnsureVideoExistsFailed = new VideoServiceMultiTenantMessagingSettings('EnsureVideoExistsFailed', 'video:ensure_exists_failed', '*.*.video.ensure_exists_failed', 'event', 'video');
23
23
  VideoServiceMultiTenantMessagingSettings.ArchiveVideosFinished = new VideoServiceMultiTenantMessagingSettings('ArchiveVideosFinished', 'videos:archive_finished', '*.*.videos.archive_finished', 'event', 'video');
24
+ VideoServiceMultiTenantMessagingSettings.ArchiveVideosFailed = new VideoServiceMultiTenantMessagingSettings('ArchiveVideosFailed', 'videos:archive_failed', '*.*.videos.archive_failed', 'event', 'video');
24
25
  VideoServiceMultiTenantMessagingSettings.UnarchiveVideosFinished = new VideoServiceMultiTenantMessagingSettings('UnarchiveVideosFinished', 'videos:unarchive_finished', '*.*.videos.unarchive_finished', 'event', 'video');
26
+ VideoServiceMultiTenantMessagingSettings.UnarchiveVideosFailed = new VideoServiceMultiTenantMessagingSettings('UnarchiveVideosFailed', 'videos:unarchive_failed', '*.*.videos.unarchive_failed', 'event', 'video');
27
+ VideoServiceMultiTenantMessagingSettings.ImportCustomVideoFinished = new VideoServiceMultiTenantMessagingSettings('ImportCustomVideoFinished', 'custom_video:import_finished', '*.*.custom_video.import_finished', 'event', 'video');
28
+ VideoServiceMultiTenantMessagingSettings.ImportCustomVideoFailed = new VideoServiceMultiTenantMessagingSettings('ImportCustomVideoFailed', 'custom_video:import_failed', '*.*.custom_video.import_failed', 'event', 'video');
25
29
  VideoServiceMultiTenantMessagingSettings.VideoEncodingFinished = new VideoServiceMultiTenantMessagingSettings('VideoEncodingFinished', 'video:encoding_finished', '*.*.video.encoding_finished', 'event', 'video');
26
30
  VideoServiceMultiTenantMessagingSettings.VideoEncodingFailed = new VideoServiceMultiTenantMessagingSettings('VideoEncodingFailed', 'video:encoding_failed', '*.*.video.encoding_failed', 'event', 'video');
27
31
  exports.VideoServiceMultiTenantMessagingSettings = VideoServiceMultiTenantMessagingSettings;
@@ -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;IAoGxF,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;;AA3Ga,6DAAoB,GAAG,IA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BAA6B,EAC7B,OAAO,EACP,OAAO,CACN,AANgC,CAM/B;AACU,gEAAuB,GAAG,IAAI,wCAAwC,CAClF,yBAAyB,EACzB,2BAA2B,EAC3B,+BAA+B,EAC/B,OAAO,EACP,OAAO,CACN,AANkC,CAMjC;AACU,8DAAqB,GAAG,IAAI,wCAAwC,CAChF,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,OAAO,EACP,OAAO,CACN,AANgC,CAM/B;AACU,4DAAmB,GAAG,IAAI,wCAAwC,CAC9E,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,OAAO,EACP,OAAO,CACN,AAN8B,CAM7B;AAlGO,4FAAwC"}
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;IAgIxF,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;;AAvIa,6DAAoB,GAAG,IAAI,wCAAwC,CAC/E,sBAAsB,EACtB,OAAO,EACP,6BAA6B,EAC7B,SAAS,EACT,gBAAgB,CACf,AAN+B,CAM9B;AACU,0DAAiB,GAAG,IAAI,wCAAwC,CAC5E,mBAAmB,EACnB,OAAO,EACP,yBAAyB,EACzB,SAAS,EACT,OAAO,CACN,AAN4B,CAM3B;AACU,sDAAa,GAAG,IAAI,wCAAwC,CACxE,eAAe,EACf,OAAO,EACP,oBAAoB,EACpB,SAAS,EACT,OAAO,CACN,AANwB,CAMvB;AACU,wDAAe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uB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,OAAO,EACP,OAAO,CACN,AANgC,CAM/B;AACU,kEAAyB,GAAG,IAAI,wCAAwC,CACpF,2BAA2B,EAC3B,8BAA8B,EAC9B,kCAAkC,EAClC,OAAO,EACP,OAAO,CACN,AANoC,CAMnC;AACU,gEAAuB,GAAG,IAAI,wCAAwC,CAClF,yBAAyB,EACzB,4BAA4B,EAC5B,gCAAgC,EAChC,OAAO,EACP,OAAO,CACN,AANkC,CAMjC;AACU,8DAAqB,GAAG,IAAI,wCAAwC,CAChF,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,OAAO,EACP,OAAO,CACN,AANgC,CAM/B;AACU,4DAAmB,GAAG,IAAI,wCAAwC,CAC9E,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,OAAO,EACP,OAAO,CACN,AAN8B,CAM7B;AA9HO,4FAAwC"}
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "archive_videos_failed_event",
5
+ "description": "Videos should have been archived as part of a background job but failed schema.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "asset_ids",
9
+ "message"
10
+ ],
11
+ "properties": {
12
+ "asset_ids": {
13
+ "type": "array",
14
+ "description": "An array of UUID video id values which should have been archived.",
15
+ "uniqueItems": true,
16
+ "additionalItems": false,
17
+ "items": {
18
+ "type": "string",
19
+ "minLength": 32,
20
+ "maxLength": 36,
21
+ "format": "uuid",
22
+ "description": "A UUID."
23
+ }
24
+ },
25
+ "message": {
26
+ "type": "string",
27
+ "description": "Message that describes the reason for the command processing failure."
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "import_custom_video_failed_event",
5
+ "description": "Import custom video failed event schema.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "source_location",
9
+ "message"
10
+ ],
11
+ "properties": {
12
+ "custom_id": {
13
+ "type": [
14
+ "string",
15
+ "null"
16
+ ],
17
+ "description": "An identifier for the custom video."
18
+ },
19
+ "source_file_name": {
20
+ "type": [
21
+ "string",
22
+ "null"
23
+ ],
24
+ "description": "Source file name of the custom video."
25
+ },
26
+ "source_file_extension": {
27
+ "type": [
28
+ "string",
29
+ "null"
30
+ ],
31
+ "description": "Source file extension of the custom video."
32
+ },
33
+ "source_location": {
34
+ "type": "string",
35
+ "minLength": 1,
36
+ "pattern": "^$|.*\\S.*",
37
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
38
+ },
39
+ "message": {
40
+ "type": "string",
41
+ "description": "Message that describes the reason for the command processing failure."
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "import_custom_video_finished_event",
5
+ "description": "Import custom video finished event schema.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "source_location"
9
+ ],
10
+ "properties": {
11
+ "custom_id": {
12
+ "type": [
13
+ "string",
14
+ "null"
15
+ ],
16
+ "description": "An identifier for the custom video."
17
+ },
18
+ "source_file_name": {
19
+ "type": [
20
+ "string",
21
+ "null"
22
+ ],
23
+ "description": "Source file name of the custom video."
24
+ },
25
+ "source_file_extension": {
26
+ "type": [
27
+ "string",
28
+ "null"
29
+ ],
30
+ "description": "Source file extension of the custom video."
31
+ },
32
+ "source_location": {
33
+ "type": "string",
34
+ "minLength": 1,
35
+ "pattern": "^$|.*\\S.*",
36
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
37
+ }
38
+ }
39
+ }
@@ -1,3 +1,30 @@
1
+ export declare const ArchiveVideosFailedEventSchema: {
2
+ $schema: string;
3
+ type: string;
4
+ title: string;
5
+ description: string;
6
+ additionalProperties: boolean;
7
+ required: string[];
8
+ properties: {
9
+ asset_ids: {
10
+ type: string;
11
+ description: string;
12
+ uniqueItems: boolean;
13
+ additionalItems: boolean;
14
+ items: {
15
+ type: string;
16
+ minLength: number;
17
+ maxLength: number;
18
+ format: string;
19
+ description: string;
20
+ };
21
+ };
22
+ message: {
23
+ type: string;
24
+ description: string;
25
+ };
26
+ };
27
+ };
1
28
  export declare const ArchiveVideosFinishedEventSchema: {
2
29
  $schema: string;
3
30
  type: string;
@@ -249,6 +276,93 @@ export declare const EnsureVideoExistsFailedEventSchema: {
249
276
  };
250
277
  };
251
278
  };
279
+ export declare const ImportCustomVideoFailedEventSchema: {
280
+ $schema: string;
281
+ type: string;
282
+ title: string;
283
+ description: string;
284
+ additionalProperties: boolean;
285
+ required: string[];
286
+ properties: {
287
+ custom_id: {
288
+ type: string[];
289
+ description: string;
290
+ };
291
+ source_file_name: {
292
+ type: string[];
293
+ description: string;
294
+ };
295
+ source_file_extension: {
296
+ type: string[];
297
+ description: string;
298
+ };
299
+ source_location: {
300
+ type: string;
301
+ minLength: number;
302
+ pattern: string;
303
+ description: string;
304
+ };
305
+ message: {
306
+ type: string;
307
+ description: string;
308
+ };
309
+ };
310
+ };
311
+ export declare const ImportCustomVideoFinishedEventSchema: {
312
+ $schema: string;
313
+ type: string;
314
+ title: string;
315
+ description: string;
316
+ additionalProperties: boolean;
317
+ required: string[];
318
+ properties: {
319
+ custom_id: {
320
+ type: string[];
321
+ description: string;
322
+ };
323
+ source_file_name: {
324
+ type: string[];
325
+ description: string;
326
+ };
327
+ source_file_extension: {
328
+ type: string[];
329
+ description: string;
330
+ };
331
+ source_location: {
332
+ type: string;
333
+ minLength: number;
334
+ pattern: string;
335
+ description: string;
336
+ };
337
+ };
338
+ };
339
+ export declare const UnarchiveVideosFailedEventSchema: {
340
+ $schema: string;
341
+ type: string;
342
+ title: string;
343
+ description: string;
344
+ additionalProperties: boolean;
345
+ required: string[];
346
+ properties: {
347
+ asset_ids: {
348
+ type: string;
349
+ description: string;
350
+ uniqueItems: boolean;
351
+ additionalItems: boolean;
352
+ items: {
353
+ type: string;
354
+ minLength: number;
355
+ maxLength: number;
356
+ format: string;
357
+ description: string;
358
+ };
359
+ };
360
+ message: {
361
+ type: string;
362
+ description: string;
363
+ };
364
+ };
365
+ };
252
366
  export declare const UnarchiveVideosFinishedEventSchema: {
253
367
  $schema: string;
254
368
  type: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/video/events/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;CAA6B,CAAC;AAC3E,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAkC,CAAC;AACrF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6B,CAAC;AAC3E,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAC;AAC/F,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;CAAwC,CAAC;AACjG,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+B,CAAC;AAC/E,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;CAA+B,CAAC;AAC/E,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAC;AACvE,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6B,CAAC;AAC3E,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiC,CAAC;AACnF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AACvF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgC,CAAC;AACjF,e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;;;;;;;CAAiC,CAAC;AACnF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AACvF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgC,CAAC;AACjF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;CAAkC,CAAC"}
@@ -1,12 +1,16 @@
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.EnsureVideoExistsFailedEventSchema = exports.EnsureVideoExistsCreationStartedEventSchema = exports.EnsureVideoExistsAlreadyExistedEventSchema = exports.CuePointTypesDeclaredEventSchema = exports.CuePointTypesDeclareFailedEventSchema = exports.ArchiveVideosFinishedEventSchema = 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.CuePointTypesDeclaredEventSchema = exports.CuePointTypesDeclareFailedEventSchema = exports.ArchiveVideosFinishedEventSchema = exports.ArchiveVideosFailedEventSchema = void 0;
4
+ const ArchiveVideosFailedEvent = require("./archive-videos-failed-event.json");
4
5
  const ArchiveVideosFinishedEvent = require("./archive-videos-finished-event.json");
5
6
  const CuePointTypesDeclareFailedEvent = require("./cue-point-types-declare-failed-event.json");
6
7
  const CuePointTypesDeclaredEvent = require("./cue-point-types-declared-event.json");
7
8
  const EnsureVideoExistsAlreadyExistedEvent = require("./ensure-video-exists-already-existed-event.json");
8
9
  const EnsureVideoExistsCreationStartedEvent = require("./ensure-video-exists-creation-started-event.json");
9
10
  const EnsureVideoExistsFailedEvent = require("./ensure-video-exists-failed-event.json");
11
+ const ImportCustomVideoFailedEvent = require("./import-custom-video-failed-event.json");
12
+ const ImportCustomVideoFinishedEvent = require("./import-custom-video-finished-event.json");
13
+ const UnarchiveVideosFailedEvent = require("./unarchive-videos-failed-event.json");
10
14
  const UnarchiveVideosFinishedEvent = require("./unarchive-videos-finished-event.json");
11
15
  const VideoEncodingFailedEvent = require("./video-encoding-failed-event.json");
12
16
  const VideoEncodingFinishedEvent = require("./video-encoding-finished-event.json");
@@ -14,12 +18,16 @@ const VideoServiceDisableFailedEvent = require("./video-service-disable-failed-e
14
18
  const VideoServiceDisableFinishedEvent = require("./video-service-disable-finished-event.json");
15
19
  const VideoServiceEnableFailedEvent = require("./video-service-enable-failed-event.json");
16
20
  const VideoServiceEnableFinishedEvent = require("./video-service-enable-finished-event.json");
21
+ exports.ArchiveVideosFailedEventSchema = ArchiveVideosFailedEvent;
17
22
  exports.ArchiveVideosFinishedEventSchema = ArchiveVideosFinishedEvent;
18
23
  exports.CuePointTypesDeclareFailedEventSchema = CuePointTypesDeclareFailedEvent;
19
24
  exports.CuePointTypesDeclaredEventSchema = CuePointTypesDeclaredEvent;
20
25
  exports.EnsureVideoExistsAlreadyExistedEventSchema = EnsureVideoExistsAlreadyExistedEvent;
21
26
  exports.EnsureVideoExistsCreationStartedEventSchema = EnsureVideoExistsCreationStartedEvent;
22
27
  exports.EnsureVideoExistsFailedEventSchema = EnsureVideoExistsFailedEvent;
28
+ exports.ImportCustomVideoFailedEventSchema = ImportCustomVideoFailedEvent;
29
+ exports.ImportCustomVideoFinishedEventSchema = ImportCustomVideoFinishedEvent;
30
+ exports.UnarchiveVideosFailedEventSchema = UnarchiveVideosFailedEvent;
23
31
  exports.UnarchiveVideosFinishedEventSchema = UnarchiveVideosFinishedEvent;
24
32
  exports.VideoEncodingFailedEventSchema = VideoEncodingFailedEvent;
25
33
  exports.VideoEncodingFinishedEventSchema = VideoEncodingFinishedEvent;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/video/events/index.ts"],"names":[],"mappings":";;;AAAA,mFAAmF;AACnF,+FAA+F;AAC/F,oFAAoF;AACpF,yGAAyG;AACzG,2GAA2G;AAC3G,wFAAwF;AACxF,uFAAuF;AACvF,+EAA+E;AAC/E,mFAAmF;AACnF,4FAA4F;AAC5F,gGAAgG;AAChG,0FAA0F;AAC1F,8FAA8F;AAEjF,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,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,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"}
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "unarchive_videos_failed_event",
5
+ "description": "Videos should have been unarchived as part of a background job but failed schema.",
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 which failed to be unarchived.",
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
+ "message": {
25
+ "type": "string",
26
+ "description": "Message that describes the reason for the command processing failure."
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Videos should have been archived as part of a background job but failed schema.
3
+ */
4
+ export interface ArchiveVideosFailedEvent {
5
+ /**
6
+ * An array of UUID video id values which should have been archived.
7
+ */
8
+ asset_ids: string[];
9
+ /**
10
+ * Message that describes the reason for the command processing failure.
11
+ */
12
+ message: string;
13
+ }
14
+ //# sourceMappingURL=archive-videos-failed-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"archive-videos-failed-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/archive-videos-failed-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=archive-videos-failed-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"archive-videos-failed-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/archive-videos-failed-event.ts"],"names":[],"mappings":""}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Import custom video failed event schema.
3
+ */
4
+ export interface ImportCustomVideoFailedEvent {
5
+ /**
6
+ * An identifier for the custom video.
7
+ */
8
+ custom_id?: string | null;
9
+ /**
10
+ * Source file name of the custom video.
11
+ */
12
+ source_file_name?: string | null;
13
+ /**
14
+ * Source file extension of the custom video.
15
+ */
16
+ source_file_extension?: string | null;
17
+ /**
18
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
19
+ */
20
+ source_location: string;
21
+ /**
22
+ * Message that describes the reason for the command processing failure.
23
+ */
24
+ message: string;
25
+ }
26
+ //# sourceMappingURL=import-custom-video-failed-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-custom-video-failed-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/import-custom-video-failed-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=import-custom-video-failed-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-custom-video-failed-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/import-custom-video-failed-event.ts"],"names":[],"mappings":""}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Import custom video finished event schema.
3
+ */
4
+ export interface ImportCustomVideoFinishedEvent {
5
+ /**
6
+ * An identifier for the custom video.
7
+ */
8
+ custom_id?: string | null;
9
+ /**
10
+ * Source file name of the custom video.
11
+ */
12
+ source_file_name?: string | null;
13
+ /**
14
+ * Source file extension of the custom video.
15
+ */
16
+ source_file_extension?: string | null;
17
+ /**
18
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
19
+ */
20
+ source_location: string;
21
+ }
22
+ //# sourceMappingURL=import-custom-video-finished-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-custom-video-finished-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/import-custom-video-finished-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=import-custom-video-finished-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-custom-video-finished-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/import-custom-video-finished-event.ts"],"names":[],"mappings":""}
@@ -1,9 +1,13 @@
1
+ export * from './archive-videos-failed-event';
1
2
  export * from './archive-videos-finished-event';
2
3
  export * from './cue-point-types-declare-failed-event';
3
4
  export * from './cue-point-types-declared-event';
4
5
  export * from './ensure-video-exists-already-existed-event';
5
6
  export * from './ensure-video-exists-creation-started-event';
6
7
  export * from './ensure-video-exists-failed-event';
8
+ export * from './import-custom-video-failed-event';
9
+ export * from './import-custom-video-finished-event';
10
+ export * from './unarchive-videos-failed-event';
7
11
  export * from './unarchive-videos-finished-event';
8
12
  export * from './video-encoding-failed-event';
9
13
  export * from './video-encoding-finished-event';
@@ -12,12 +16,16 @@ export * from './video-service-disable-finished-event';
12
16
  export * from './video-service-enable-failed-event';
13
17
  export * from './video-service-enable-finished-event';
14
18
  export declare enum VideoEventsSchemas {
19
+ ArchiveVideosFailedEvent = "payloads/video/events/archive-videos-failed-event.json",
15
20
  ArchiveVideosFinishedEvent = "payloads/video/events/archive-videos-finished-event.json",
16
21
  CuePointTypesDeclareFailedEvent = "payloads/video/events/cue-point-types-declare-failed-event.json",
17
22
  CuePointTypesDeclaredEvent = "payloads/video/events/cue-point-types-declared-event.json",
18
23
  EnsureVideoExistsAlreadyExistedEvent = "payloads/video/events/ensure-video-exists-already-existed-event.json",
19
24
  EnsureVideoExistsCreationStartedEvent = "payloads/video/events/ensure-video-exists-creation-started-event.json",
20
25
  EnsureVideoExistsFailedEvent = "payloads/video/events/ensure-video-exists-failed-event.json",
26
+ ImportCustomVideoFailedEvent = "payloads/video/events/import-custom-video-failed-event.json",
27
+ ImportCustomVideoFinishedEvent = "payloads/video/events/import-custom-video-finished-event.json",
28
+ UnarchiveVideosFailedEvent = "payloads/video/events/unarchive-videos-failed-event.json",
21
29
  UnarchiveVideosFinishedEvent = "payloads/video/events/unarchive-videos-finished-event.json",
22
30
  VideoEncodingFailedEvent = "payloads/video/events/video-encoding-failed-event.json",
23
31
  VideoEncodingFinishedEvent = "payloads/video/events/video-encoding-finished-event.json",
@@ -27,12 +35,16 @@ export declare enum VideoEventsSchemas {
27
35
  VideoServiceEnableFinishedEvent = "payloads/video/events/video-service-enable-finished-event.json"
28
36
  }
29
37
  export declare enum VideoEventsTypes {
38
+ ArchiveVideosFailedEvent = "ArchiveVideosFailedEvent",
30
39
  ArchiveVideosFinishedEvent = "ArchiveVideosFinishedEvent",
31
40
  CuePointTypesDeclareFailedEvent = "CuePointTypesDeclareFailedEvent",
32
41
  CuePointTypesDeclaredEvent = "CuePointTypesDeclaredEvent",
33
42
  EnsureVideoExistsAlreadyExistedEvent = "EnsureVideoExistsAlreadyExistedEvent",
34
43
  EnsureVideoExistsCreationStartedEvent = "EnsureVideoExistsCreationStartedEvent",
35
44
  EnsureVideoExistsFailedEvent = "EnsureVideoExistsFailedEvent",
45
+ ImportCustomVideoFailedEvent = "ImportCustomVideoFailedEvent",
46
+ ImportCustomVideoFinishedEvent = "ImportCustomVideoFinishedEvent",
47
+ UnarchiveVideosFailedEvent = "UnarchiveVideosFailedEvent",
36
48
  UnarchiveVideosFinishedEvent = "UnarchiveVideosFinishedEvent",
37
49
  VideoEncodingFailedEvent = "VideoEncodingFailedEvent",
38
50
  VideoEncodingFinishedEvent = "VideoEncodingFinishedEvent",
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/index.ts"],"names":[],"mappings":"AAAA,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,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,0BAA0B,6DAA6D;IACvF,+BAA+B,oEAAoE;IACnG,0BAA0B,8DAA8D;IACxF,oCAAoC,yEAAyE;IAC7G,qCAAqC,0EAA0E;IAC/G,4BAA4B,gEAAgE;IAC5F,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,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,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,cA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oC;CACpE"}
@@ -15,12 +15,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.VideoEventsTypes = exports.VideoEventsSchemas = void 0;
18
+ __exportStar(require("./archive-videos-failed-event"), exports);
18
19
  __exportStar(require("./archive-videos-finished-event"), exports);
19
20
  __exportStar(require("./cue-point-types-declare-failed-event"), exports);
20
21
  __exportStar(require("./cue-point-types-declared-event"), exports);
21
22
  __exportStar(require("./ensure-video-exists-already-existed-event"), exports);
22
23
  __exportStar(require("./ensure-video-exists-creation-started-event"), exports);
23
24
  __exportStar(require("./ensure-video-exists-failed-event"), exports);
25
+ __exportStar(require("./import-custom-video-failed-event"), exports);
26
+ __exportStar(require("./import-custom-video-finished-event"), exports);
27
+ __exportStar(require("./unarchive-videos-failed-event"), exports);
24
28
  __exportStar(require("./unarchive-videos-finished-event"), exports);
25
29
  __exportStar(require("./video-encoding-failed-event"), exports);
26
30
  __exportStar(require("./video-encoding-finished-event"), exports);
@@ -30,12 +34,16 @@ __exportStar(require("./video-service-enable-failed-event"), exports);
30
34
  __exportStar(require("./video-service-enable-finished-event"), exports);
31
35
  var VideoEventsSchemas;
32
36
  (function (VideoEventsSchemas) {
37
+ VideoEventsSchemas["ArchiveVideosFailedEvent"] = "payloads/video/events/archive-videos-failed-event.json";
33
38
  VideoEventsSchemas["ArchiveVideosFinishedEvent"] = "payloads/video/events/archive-videos-finished-event.json";
34
39
  VideoEventsSchemas["CuePointTypesDeclareFailedEvent"] = "payloads/video/events/cue-point-types-declare-failed-event.json";
35
40
  VideoEventsSchemas["CuePointTypesDeclaredEvent"] = "payloads/video/events/cue-point-types-declared-event.json";
36
41
  VideoEventsSchemas["EnsureVideoExistsAlreadyExistedEvent"] = "payloads/video/events/ensure-video-exists-already-existed-event.json";
37
42
  VideoEventsSchemas["EnsureVideoExistsCreationStartedEvent"] = "payloads/video/events/ensure-video-exists-creation-started-event.json";
38
43
  VideoEventsSchemas["EnsureVideoExistsFailedEvent"] = "payloads/video/events/ensure-video-exists-failed-event.json";
44
+ VideoEventsSchemas["ImportCustomVideoFailedEvent"] = "payloads/video/events/import-custom-video-failed-event.json";
45
+ VideoEventsSchemas["ImportCustomVideoFinishedEvent"] = "payloads/video/events/import-custom-video-finished-event.json";
46
+ VideoEventsSchemas["UnarchiveVideosFailedEvent"] = "payloads/video/events/unarchive-videos-failed-event.json";
39
47
  VideoEventsSchemas["UnarchiveVideosFinishedEvent"] = "payloads/video/events/unarchive-videos-finished-event.json";
40
48
  VideoEventsSchemas["VideoEncodingFailedEvent"] = "payloads/video/events/video-encoding-failed-event.json";
41
49
  VideoEventsSchemas["VideoEncodingFinishedEvent"] = "payloads/video/events/video-encoding-finished-event.json";
@@ -46,12 +54,16 @@ var VideoEventsSchemas;
46
54
  })(VideoEventsSchemas = exports.VideoEventsSchemas || (exports.VideoEventsSchemas = {}));
47
55
  var VideoEventsTypes;
48
56
  (function (VideoEventsTypes) {
57
+ VideoEventsTypes["ArchiveVideosFailedEvent"] = "ArchiveVideosFailedEvent";
49
58
  VideoEventsTypes["ArchiveVideosFinishedEvent"] = "ArchiveVideosFinishedEvent";
50
59
  VideoEventsTypes["CuePointTypesDeclareFailedEvent"] = "CuePointTypesDeclareFailedEvent";
51
60
  VideoEventsTypes["CuePointTypesDeclaredEvent"] = "CuePointTypesDeclaredEvent";
52
61
  VideoEventsTypes["EnsureVideoExistsAlreadyExistedEvent"] = "EnsureVideoExistsAlreadyExistedEvent";
53
62
  VideoEventsTypes["EnsureVideoExistsCreationStartedEvent"] = "EnsureVideoExistsCreationStartedEvent";
54
63
  VideoEventsTypes["EnsureVideoExistsFailedEvent"] = "EnsureVideoExistsFailedEvent";
64
+ VideoEventsTypes["ImportCustomVideoFailedEvent"] = "ImportCustomVideoFailedEvent";
65
+ VideoEventsTypes["ImportCustomVideoFinishedEvent"] = "ImportCustomVideoFinishedEvent";
66
+ VideoEventsTypes["UnarchiveVideosFailedEvent"] = "UnarchiveVideosFailedEvent";
55
67
  VideoEventsTypes["UnarchiveVideosFinishedEvent"] = "UnarchiveVideosFinishedEvent";
56
68
  VideoEventsTypes["VideoEncodingFailedEvent"] = "VideoEncodingFailedEvent";
57
69
  VideoEventsTypes["VideoEncodingFinishedEvent"] = "VideoEncodingFinishedEvent";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,yEAAuD;AACvD,mEAAiD;AACjD,8EAA4D;AAC5D,+EAA6D;AAC7D,qEAAmD;AACnD,oEAAkD;AAClD,gEAA8C;AAC9C,kEAAgD;AAChD,uEAAqD;AACrD,yEAAuD;AACvD,sEAAoD;AACpD,wEAAsD;AAEtD,IAAY,kBAcX;AAdD,WAAY,kBAAkB;IAC5B,6GAAuF,CAAA;IACvF,yHAAmG,CAAA;IACnG,8GAAwF,CAAA;IACxF,mIAA6G,CAAA;IAC7G,qIAA+G,CAAA;IAC/G,kHAA4F,CAAA;IAC5F,iHAA2F,CAAA;IAC3F,yGAAmF,CAAA;IACnF,6GAAuF,CAAA;IACvF,sHAAgG,CAAA;IAChG,0HAAoG,CAAA;IACpG,oHAA8F,CAAA;IAC9F,wHAAkG,CAAA;AACpG,CAAC,EAdW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAc7B;AAED,IAAY,gBAcX;AAdD,WAAY,gBAAgB;IAC1B,6EAAyD,CAAA;IACzD,uFAAmE,CAAA;IACnE,6EAAyD,CAAA;IACzD,iGAA6E,CAAA;IAC7E,mGAA+E,CAAA;IAC/E,iFAA6D,CAAA;IAC7D,iFAA6D,CAAA;IAC7D,yEAAqD,CAAA;IACrD,6EAAyD,CAAA;IACzD,qFAAiE,CAAA;IACjE,yFAAqE,CAAA;IACrE,mFAA+D,CAAA;IAC/D,uFAAmE,CAAA;AACrE,CAAC,EAdW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAc3B"}
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,kBAkBX;AAlBD,WAAY,kBAAkB;IAC5B,yGAAmF,CAAA;IACnF,6GAAuF,CAAA;IACvF,yHAAmG,CAAA;IACnG,8GAAwF,CAAA;IACxF,mIAA6G,CAAA;IAC7G,qIAA+G,CAAA;IAC/G,kHAA4F,CAAA;IAC5F,kHAA4F,CAAA;IAC5F,sHAAgG,CAAA;IAChG,6GAAuF,CAAA;IACvF,iHAA2F,CAAA;IAC3F,yGAAmF,CAAA;IACnF,6GAAuF,CAAA;IACvF,sHAAgG,CAAA;IAChG,0HAAoG,CAAA;IACpG,oHAA8F,CAAA;IAC9F,wHAAkG,CAAA;AACpG,CAAC,EAlBW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAkB7B;AAED,IAAY,gBAkBX;AAlBD,WAAY,gBAAgB;IAC1B,yEAAqD,CAAA;IACrD,6EAAyD,CAAA;IACzD,uFAAmE,CAAA;IACnE,6EAAyD,CAAA;IACzD,iGAA6E,CAAA;IAC7E,mGAA+E,CAAA;IAC/E,iFAA6D,CAAA;IAC7D,iFAA6D,CAAA;IAC7D,qFAAiE,CAAA;IACjE,6EAAyD,CAAA;IACzD,iFAA6D,CAAA;IAC7D,yEAAqD,CAAA;IACrD,6EAAyD,CAAA;IACzD,qFAAiE,CAAA;IACjE,yFAAqE,CAAA;IACrE,mFAA+D,CAAA;IAC/D,uFAAmE,CAAA;AACrE,CAAC,EAlBW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAkB3B"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Videos should have been unarchived as part of a background job but failed schema.
3
+ */
4
+ export interface UnarchiveVideosFailedEvent {
5
+ /**
6
+ * An array of UUID video id values which failed to be unarchived.
7
+ */
8
+ asset_ids: string[];
9
+ /**
10
+ * Message that describes the reason for the command processing failure.
11
+ */
12
+ message?: string;
13
+ }
14
+ //# sourceMappingURL=unarchive-videos-failed-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unarchive-videos-failed-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/unarchive-videos-failed-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=unarchive-videos-failed-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unarchive-videos-failed-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/video/events/unarchive-videos-failed-event.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-messages",
3
- "version": "0.40.0-rc.6",
3
+ "version": "0.40.0-rc.7",
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.30.0-rc.6",
33
- "@axinom/mosaic-message-bus-abstractions": "^0.11.0-rc.6",
32
+ "@axinom/mosaic-cli": "^0.30.0-rc.7",
33
+ "@axinom/mosaic-message-bus-abstractions": "^0.11.0-rc.7",
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": "f5079839099fb11e8c13e7a813a5565844525677"
46
+ "gitHead": "09d05a96cbc03be1a9559ab2d672319f96a4458d"
47
47
  }
@@ -78,6 +78,13 @@ export class VideoServiceMultiTenantMessagingSettings extends MultiTenantMessagi
78
78
  'event',
79
79
  'video'
80
80
  );
81
+ public static ArchiveVideosFailed = new VideoServiceMultiTenantMessagingSettings(
82
+ 'ArchiveVideosFailed',
83
+ 'videos:archive_failed',
84
+ '*.*.videos.archive_failed',
85
+ 'event',
86
+ 'video'
87
+ );
81
88
  public static UnarchiveVideosFinished = new VideoServiceMultiTenantMessagingSettings(
82
89
  'UnarchiveVideosFinished',
83
90
  'videos:unarchive_finished',
@@ -85,6 +92,27 @@ export class VideoServiceMultiTenantMessagingSettings extends MultiTenantMessagi
85
92
  'event',
86
93
  'video'
87
94
  );
95
+ public static UnarchiveVideosFailed = new VideoServiceMultiTenantMessagingSettings(
96
+ 'UnarchiveVideosFailed',
97
+ 'videos:unarchive_failed',
98
+ '*.*.videos.unarchive_failed',
99
+ 'event',
100
+ 'video'
101
+ );
102
+ public static ImportCustomVideoFinished = new VideoServiceMultiTenantMessagingSettings(
103
+ 'ImportCustomVideoFinished',
104
+ 'custom_video:import_finished',
105
+ '*.*.custom_video.import_finished',
106
+ 'event',
107
+ 'video'
108
+ );
109
+ public static ImportCustomVideoFailed = new VideoServiceMultiTenantMessagingSettings(
110
+ 'ImportCustomVideoFailed',
111
+ 'custom_video:import_failed',
112
+ '*.*.custom_video.import_failed',
113
+ 'event',
114
+ 'video'
115
+ );
88
116
  public static VideoEncodingFinished = new VideoServiceMultiTenantMessagingSettings(
89
117
  'VideoEncodingFinished',
90
118
  'video:encoding_finished',
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "archive_videos_failed_event",
5
+ "description": "Videos should have been archived as part of a background job but failed schema.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "asset_ids",
9
+ "message"
10
+ ],
11
+ "properties": {
12
+ "asset_ids": {
13
+ "type": "array",
14
+ "description": "An array of UUID video id values which should have been archived.",
15
+ "uniqueItems": true,
16
+ "additionalItems": false,
17
+ "items": {
18
+ "type": "string",
19
+ "minLength": 32,
20
+ "maxLength": 36,
21
+ "format": "uuid",
22
+ "description": "A UUID."
23
+ }
24
+ },
25
+ "message": {
26
+ "type": "string",
27
+ "description": "Message that describes the reason for the command processing failure."
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "import_custom_video_failed_event",
5
+ "description": "Import custom video failed event schema.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "source_location",
9
+ "message"
10
+ ],
11
+ "properties": {
12
+ "custom_id": {
13
+ "type": [
14
+ "string",
15
+ "null"
16
+ ],
17
+ "description": "An identifier for the custom video."
18
+ },
19
+ "source_file_name": {
20
+ "type": [
21
+ "string",
22
+ "null"
23
+ ],
24
+ "description": "Source file name of the custom video."
25
+ },
26
+ "source_file_extension": {
27
+ "type": [
28
+ "string",
29
+ "null"
30
+ ],
31
+ "description": "Source file extension of the custom video."
32
+ },
33
+ "source_location": {
34
+ "type": "string",
35
+ "minLength": 1,
36
+ "pattern": "^$|.*\\S.*",
37
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
38
+ },
39
+ "message": {
40
+ "type": "string",
41
+ "description": "Message that describes the reason for the command processing failure."
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "import_custom_video_finished_event",
5
+ "description": "Import custom video finished event schema.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "source_location"
9
+ ],
10
+ "properties": {
11
+ "custom_id": {
12
+ "type": [
13
+ "string",
14
+ "null"
15
+ ],
16
+ "description": "An identifier for the custom video."
17
+ },
18
+ "source_file_name": {
19
+ "type": [
20
+ "string",
21
+ "null"
22
+ ],
23
+ "description": "Source file name of the custom video."
24
+ },
25
+ "source_file_extension": {
26
+ "type": [
27
+ "string",
28
+ "null"
29
+ ],
30
+ "description": "Source file extension of the custom video."
31
+ },
32
+ "source_location": {
33
+ "type": "string",
34
+ "minLength": 1,
35
+ "pattern": "^$|.*\\S.*",
36
+ "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
37
+ }
38
+ }
39
+ }
@@ -1,9 +1,13 @@
1
+ import * as ArchiveVideosFailedEvent from './archive-videos-failed-event.json';
1
2
  import * as ArchiveVideosFinishedEvent from './archive-videos-finished-event.json';
2
3
  import * as CuePointTypesDeclareFailedEvent from './cue-point-types-declare-failed-event.json';
3
4
  import * as CuePointTypesDeclaredEvent from './cue-point-types-declared-event.json';
4
5
  import * as EnsureVideoExistsAlreadyExistedEvent from './ensure-video-exists-already-existed-event.json';
5
6
  import * as EnsureVideoExistsCreationStartedEvent from './ensure-video-exists-creation-started-event.json';
6
7
  import * as EnsureVideoExistsFailedEvent from './ensure-video-exists-failed-event.json';
8
+ import * as ImportCustomVideoFailedEvent from './import-custom-video-failed-event.json';
9
+ import * as ImportCustomVideoFinishedEvent from './import-custom-video-finished-event.json';
10
+ import * as UnarchiveVideosFailedEvent from './unarchive-videos-failed-event.json';
7
11
  import * as UnarchiveVideosFinishedEvent from './unarchive-videos-finished-event.json';
8
12
  import * as VideoEncodingFailedEvent from './video-encoding-failed-event.json';
9
13
  import * as VideoEncodingFinishedEvent from './video-encoding-finished-event.json';
@@ -12,12 +16,16 @@ import * as VideoServiceDisableFinishedEvent from './video-service-disable-finis
12
16
  import * as VideoServiceEnableFailedEvent from './video-service-enable-failed-event.json';
13
17
  import * as VideoServiceEnableFinishedEvent from './video-service-enable-finished-event.json';
14
18
 
19
+ export const ArchiveVideosFailedEventSchema = ArchiveVideosFailedEvent;
15
20
  export const ArchiveVideosFinishedEventSchema = ArchiveVideosFinishedEvent;
16
21
  export const CuePointTypesDeclareFailedEventSchema = CuePointTypesDeclareFailedEvent;
17
22
  export const CuePointTypesDeclaredEventSchema = CuePointTypesDeclaredEvent;
18
23
  export const EnsureVideoExistsAlreadyExistedEventSchema = EnsureVideoExistsAlreadyExistedEvent;
19
24
  export const EnsureVideoExistsCreationStartedEventSchema = EnsureVideoExistsCreationStartedEvent;
20
25
  export const EnsureVideoExistsFailedEventSchema = EnsureVideoExistsFailedEvent;
26
+ export const ImportCustomVideoFailedEventSchema = ImportCustomVideoFailedEvent;
27
+ export const ImportCustomVideoFinishedEventSchema = ImportCustomVideoFinishedEvent;
28
+ export const UnarchiveVideosFailedEventSchema = UnarchiveVideosFailedEvent;
21
29
  export const UnarchiveVideosFinishedEventSchema = UnarchiveVideosFinishedEvent;
22
30
  export const VideoEncodingFailedEventSchema = VideoEncodingFailedEvent;
23
31
  export const VideoEncodingFinishedEventSchema = VideoEncodingFinishedEvent;
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "unarchive_videos_failed_event",
5
+ "description": "Videos should have been unarchived as part of a background job but failed schema.",
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 which failed to be unarchived.",
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
+ "message": {
25
+ "type": "string",
26
+ "description": "Message that describes the reason for the command processing failure."
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Videos should have been archived as part of a background job but failed schema.
3
+ */
4
+ export interface ArchiveVideosFailedEvent {
5
+ /**
6
+ * An array of UUID video id values which should have been archived.
7
+ */
8
+ asset_ids: string[];
9
+ /**
10
+ * Message that describes the reason for the command processing failure.
11
+ */
12
+ message: string;
13
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Import custom video failed event schema.
3
+ */
4
+ export interface ImportCustomVideoFailedEvent {
5
+ /**
6
+ * An identifier for the custom video.
7
+ */
8
+ custom_id?: string | null;
9
+ /**
10
+ * Source file name of the custom video.
11
+ */
12
+ source_file_name?: string | null;
13
+ /**
14
+ * Source file extension of the custom video.
15
+ */
16
+ source_file_extension?: string | null;
17
+ /**
18
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
19
+ */
20
+ source_location: string;
21
+ /**
22
+ * Message that describes the reason for the command processing failure.
23
+ */
24
+ message: string;
25
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Import custom video finished event schema.
3
+ */
4
+ export interface ImportCustomVideoFinishedEvent {
5
+ /**
6
+ * An identifier for the custom video.
7
+ */
8
+ custom_id?: string | null;
9
+ /**
10
+ * Source file name of the custom video.
11
+ */
12
+ source_file_name?: string | null;
13
+ /**
14
+ * Source file extension of the custom video.
15
+ */
16
+ source_file_extension?: string | null;
17
+ /**
18
+ * The string has a minimum length of one character and it cannot consist of only whitespace characters.
19
+ */
20
+ source_location: string;
21
+ }
@@ -1,9 +1,13 @@
1
+ export * from './archive-videos-failed-event';
1
2
  export * from './archive-videos-finished-event';
2
3
  export * from './cue-point-types-declare-failed-event';
3
4
  export * from './cue-point-types-declared-event';
4
5
  export * from './ensure-video-exists-already-existed-event';
5
6
  export * from './ensure-video-exists-creation-started-event';
6
7
  export * from './ensure-video-exists-failed-event';
8
+ export * from './import-custom-video-failed-event';
9
+ export * from './import-custom-video-finished-event';
10
+ export * from './unarchive-videos-failed-event';
7
11
  export * from './unarchive-videos-finished-event';
8
12
  export * from './video-encoding-failed-event';
9
13
  export * from './video-encoding-finished-event';
@@ -13,12 +17,16 @@ export * from './video-service-enable-failed-event';
13
17
  export * from './video-service-enable-finished-event';
14
18
 
15
19
  export enum VideoEventsSchemas {
20
+ ArchiveVideosFailedEvent = 'payloads/video/events/archive-videos-failed-event.json',
16
21
  ArchiveVideosFinishedEvent = 'payloads/video/events/archive-videos-finished-event.json',
17
22
  CuePointTypesDeclareFailedEvent = 'payloads/video/events/cue-point-types-declare-failed-event.json',
18
23
  CuePointTypesDeclaredEvent = 'payloads/video/events/cue-point-types-declared-event.json',
19
24
  EnsureVideoExistsAlreadyExistedEvent = 'payloads/video/events/ensure-video-exists-already-existed-event.json',
20
25
  EnsureVideoExistsCreationStartedEvent = 'payloads/video/events/ensure-video-exists-creation-started-event.json',
21
26
  EnsureVideoExistsFailedEvent = 'payloads/video/events/ensure-video-exists-failed-event.json',
27
+ ImportCustomVideoFailedEvent = 'payloads/video/events/import-custom-video-failed-event.json',
28
+ ImportCustomVideoFinishedEvent = 'payloads/video/events/import-custom-video-finished-event.json',
29
+ UnarchiveVideosFailedEvent = 'payloads/video/events/unarchive-videos-failed-event.json',
22
30
  UnarchiveVideosFinishedEvent = 'payloads/video/events/unarchive-videos-finished-event.json',
23
31
  VideoEncodingFailedEvent = 'payloads/video/events/video-encoding-failed-event.json',
24
32
  VideoEncodingFinishedEvent = 'payloads/video/events/video-encoding-finished-event.json',
@@ -29,12 +37,16 @@ export enum VideoEventsSchemas {
29
37
  }
30
38
 
31
39
  export enum VideoEventsTypes {
40
+ ArchiveVideosFailedEvent = 'ArchiveVideosFailedEvent',
32
41
  ArchiveVideosFinishedEvent = 'ArchiveVideosFinishedEvent',
33
42
  CuePointTypesDeclareFailedEvent = 'CuePointTypesDeclareFailedEvent',
34
43
  CuePointTypesDeclaredEvent = 'CuePointTypesDeclaredEvent',
35
44
  EnsureVideoExistsAlreadyExistedEvent = 'EnsureVideoExistsAlreadyExistedEvent',
36
45
  EnsureVideoExistsCreationStartedEvent = 'EnsureVideoExistsCreationStartedEvent',
37
46
  EnsureVideoExistsFailedEvent = 'EnsureVideoExistsFailedEvent',
47
+ ImportCustomVideoFailedEvent = 'ImportCustomVideoFailedEvent',
48
+ ImportCustomVideoFinishedEvent = 'ImportCustomVideoFinishedEvent',
49
+ UnarchiveVideosFailedEvent = 'UnarchiveVideosFailedEvent',
38
50
  UnarchiveVideosFinishedEvent = 'UnarchiveVideosFinishedEvent',
39
51
  VideoEncodingFailedEvent = 'VideoEncodingFailedEvent',
40
52
  VideoEncodingFinishedEvent = 'VideoEncodingFinishedEvent',
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Videos should have been unarchived as part of a background job but failed schema.
3
+ */
4
+ export interface UnarchiveVideosFailedEvent {
5
+ /**
6
+ * An array of UUID video id values which failed to be unarchived.
7
+ */
8
+ asset_ids: string[];
9
+ /**
10
+ * Message that describes the reason for the command processing failure.
11
+ */
12
+ message?: string;
13
+ }