@ai-grator/api 0.2.66 → 0.3.66

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 (118) hide show
  1. package/build/errors/errors.d.ts +74 -0
  2. package/build/errors/errors.d.ts.map +1 -1
  3. package/build/errors/errors.js +74 -0
  4. package/build/generation-job/endpoints/commands/create-generation-job.command.d.ts +2 -2
  5. package/build/generation-job/endpoints/commands/update-generation-job.command.d.ts +2 -2
  6. package/build/generation-job/endpoints/queries/get-generation-job-by-uuid.query.d.ts +2 -2
  7. package/build/generation-job/endpoints/queries/get-generation-job-history.query.d.ts +3 -3
  8. package/build/generation-job/endpoints/queries/get-generation-jobs.query.d.ts +2 -2
  9. package/build/generation-job/models/generation-job-response.schema.d.ts +1 -1
  10. package/build/generation-job/models/generation-job-response.schema.js +1 -1
  11. package/build/index.d.ts +1 -0
  12. package/build/index.d.ts.map +1 -1
  13. package/build/index.js +1 -0
  14. package/build/referral/endpoints/referral.d.ts +3 -0
  15. package/build/referral/endpoints/referral.d.ts.map +1 -1
  16. package/build/referral/endpoints/referral.js +3 -0
  17. package/build/referral/models/index.d.ts +1 -0
  18. package/build/referral/models/index.d.ts.map +1 -1
  19. package/build/referral/models/index.js +1 -0
  20. package/build/referral/models/referral-advertising-stats.schema.d.ts +101 -0
  21. package/build/referral/models/referral-advertising-stats.schema.d.ts.map +1 -0
  22. package/build/referral/models/referral-advertising-stats.schema.js +62 -0
  23. package/build/tsconfig.tsbuildinfo +1 -1
  24. package/build/video-generation-chain/endpoints/commands/cancel-video-generation-chain.command.d.ts +112 -0
  25. package/build/video-generation-chain/endpoints/commands/cancel-video-generation-chain.command.d.ts.map +1 -0
  26. package/build/video-generation-chain/endpoints/commands/cancel-video-generation-chain.command.js +26 -0
  27. package/build/video-generation-chain/endpoints/commands/create-video-generation-chain.command.d.ts +120 -0
  28. package/build/video-generation-chain/endpoints/commands/create-video-generation-chain.command.d.ts.map +1 -0
  29. package/build/video-generation-chain/endpoints/commands/create-video-generation-chain.command.js +52 -0
  30. package/build/video-generation-chain/endpoints/commands/index.d.ts +6 -0
  31. package/build/video-generation-chain/endpoints/commands/index.d.ts.map +1 -0
  32. package/build/video-generation-chain/endpoints/commands/index.js +21 -0
  33. package/build/video-generation-chain/endpoints/commands/regenerate-video-generation-chain-scene.command.d.ts +114 -0
  34. package/build/video-generation-chain/endpoints/commands/regenerate-video-generation-chain-scene.command.d.ts.map +1 -0
  35. package/build/video-generation-chain/endpoints/commands/regenerate-video-generation-chain-scene.command.js +25 -0
  36. package/build/video-generation-chain/endpoints/commands/resume-video-generation-chain.command.d.ts +113 -0
  37. package/build/video-generation-chain/endpoints/commands/resume-video-generation-chain.command.d.ts.map +1 -0
  38. package/build/video-generation-chain/endpoints/commands/resume-video-generation-chain.command.js +27 -0
  39. package/build/video-generation-chain/endpoints/commands/update-video-generation-chain-scene.command.d.ts +127 -0
  40. package/build/video-generation-chain/endpoints/commands/update-video-generation-chain-scene.command.d.ts.map +1 -0
  41. package/build/video-generation-chain/endpoints/commands/update-video-generation-chain-scene.command.js +43 -0
  42. package/build/video-generation-chain/endpoints/index.d.ts +4 -0
  43. package/build/video-generation-chain/endpoints/index.d.ts.map +1 -0
  44. package/build/video-generation-chain/endpoints/index.js +19 -0
  45. package/build/video-generation-chain/endpoints/queries/get-video-generation-chain-by-uuid.query.d.ts +111 -0
  46. package/build/video-generation-chain/endpoints/queries/get-video-generation-chain-by-uuid.query.d.ts.map +1 -0
  47. package/build/video-generation-chain/endpoints/queries/get-video-generation-chain-by-uuid.query.js +25 -0
  48. package/build/video-generation-chain/endpoints/queries/get-video-generation-chain-config.query.d.ts +107 -0
  49. package/build/video-generation-chain/endpoints/queries/get-video-generation-chain-config.query.d.ts.map +1 -0
  50. package/build/video-generation-chain/endpoints/queries/get-video-generation-chain-config.query.js +22 -0
  51. package/build/video-generation-chain/endpoints/queries/get-video-generation-chains.query.d.ts +54 -0
  52. package/build/video-generation-chain/endpoints/queries/get-video-generation-chains.query.d.ts.map +1 -0
  53. package/build/video-generation-chain/endpoints/queries/get-video-generation-chains.query.js +26 -0
  54. package/build/video-generation-chain/endpoints/queries/index.d.ts +4 -0
  55. package/build/video-generation-chain/endpoints/queries/index.d.ts.map +1 -0
  56. package/build/video-generation-chain/endpoints/queries/index.js +19 -0
  57. package/build/video-generation-chain/endpoints/video-generation-chain.d.ts +12 -0
  58. package/build/video-generation-chain/endpoints/video-generation-chain.d.ts.map +1 -0
  59. package/build/video-generation-chain/endpoints/video-generation-chain.js +14 -0
  60. package/build/video-generation-chain/enums/index.d.ts +5 -0
  61. package/build/video-generation-chain/enums/index.d.ts.map +1 -0
  62. package/build/video-generation-chain/enums/index.js +20 -0
  63. package/build/video-generation-chain/enums/video-generation-chain-frame-slot.enum.d.ts +6 -0
  64. package/build/video-generation-chain/enums/video-generation-chain-frame-slot.enum.d.ts.map +1 -0
  65. package/build/video-generation-chain/enums/video-generation-chain-frame-slot.enum.js +13 -0
  66. package/build/video-generation-chain/enums/video-generation-chain-limits.d.ts +3 -0
  67. package/build/video-generation-chain/enums/video-generation-chain-limits.d.ts.map +1 -0
  68. package/build/video-generation-chain/enums/video-generation-chain-limits.js +5 -0
  69. package/build/video-generation-chain/enums/video-generation-chain-scene-status.enum.d.ts +7 -0
  70. package/build/video-generation-chain/enums/video-generation-chain-scene-status.enum.d.ts.map +1 -0
  71. package/build/video-generation-chain/enums/video-generation-chain-scene-status.enum.js +10 -0
  72. package/build/video-generation-chain/enums/video-generation-chain-status.enum.d.ts +9 -0
  73. package/build/video-generation-chain/enums/video-generation-chain-status.enum.d.ts.map +1 -0
  74. package/build/video-generation-chain/enums/video-generation-chain-status.enum.js +12 -0
  75. package/build/video-generation-chain/index.d.ts +4 -0
  76. package/build/video-generation-chain/index.d.ts.map +1 -0
  77. package/build/video-generation-chain/index.js +19 -0
  78. package/build/video-generation-chain/models/index.d.ts +4 -0
  79. package/build/video-generation-chain/models/index.d.ts.map +1 -0
  80. package/build/video-generation-chain/models/index.js +19 -0
  81. package/build/video-generation-chain/models/video-generation-chain-response.schema.d.ts +73 -0
  82. package/build/video-generation-chain/models/video-generation-chain-response.schema.d.ts.map +1 -0
  83. package/build/video-generation-chain/models/video-generation-chain-response.schema.js +24 -0
  84. package/build/video-generation-chain/models/video-generation-chain-scene-input.schema.d.ts +9 -0
  85. package/build/video-generation-chain/models/video-generation-chain-scene-input.schema.d.ts.map +1 -0
  86. package/build/video-generation-chain/models/video-generation-chain-scene-input.schema.js +15 -0
  87. package/build/video-generation-chain/models/video-generation-chain-scene-response.schema.d.ts +44 -0
  88. package/build/video-generation-chain/models/video-generation-chain-scene-response.schema.d.ts.map +1 -0
  89. package/build/video-generation-chain/models/video-generation-chain-scene-response.schema.js +24 -0
  90. package/errors/errors.ts +74 -0
  91. package/generation-job/models/generation-job-response.schema.ts +1 -1
  92. package/index.ts +1 -0
  93. package/package.json +1 -1
  94. package/referral/endpoints/referral.ts +3 -0
  95. package/referral/models/index.ts +1 -0
  96. package/referral/models/referral-advertising-stats.schema.ts +79 -0
  97. package/video-generation-chain/endpoints/commands/cancel-video-generation-chain.command.ts +26 -0
  98. package/video-generation-chain/endpoints/commands/create-video-generation-chain.command.ts +59 -0
  99. package/video-generation-chain/endpoints/commands/index.ts +5 -0
  100. package/video-generation-chain/endpoints/commands/regenerate-video-generation-chain-scene.command.ts +25 -0
  101. package/video-generation-chain/endpoints/commands/resume-video-generation-chain.command.ts +27 -0
  102. package/video-generation-chain/endpoints/commands/update-video-generation-chain-scene.command.ts +49 -0
  103. package/video-generation-chain/endpoints/index.ts +3 -0
  104. package/video-generation-chain/endpoints/queries/get-video-generation-chain-by-uuid.query.ts +25 -0
  105. package/video-generation-chain/endpoints/queries/get-video-generation-chain-config.query.ts +23 -0
  106. package/video-generation-chain/endpoints/queries/get-video-generation-chains.query.ts +26 -0
  107. package/video-generation-chain/endpoints/queries/index.ts +3 -0
  108. package/video-generation-chain/endpoints/video-generation-chain.ts +12 -0
  109. package/video-generation-chain/enums/index.ts +4 -0
  110. package/video-generation-chain/enums/video-generation-chain-frame-slot.enum.ts +10 -0
  111. package/video-generation-chain/enums/video-generation-chain-limits.ts +2 -0
  112. package/video-generation-chain/enums/video-generation-chain-scene-status.enum.ts +6 -0
  113. package/video-generation-chain/enums/video-generation-chain-status.enum.ts +8 -0
  114. package/video-generation-chain/index.ts +3 -0
  115. package/video-generation-chain/models/index.ts +3 -0
  116. package/video-generation-chain/models/video-generation-chain-response.schema.ts +28 -0
  117. package/video-generation-chain/models/video-generation-chain-scene-input.schema.ts +17 -0
  118. package/video-generation-chain/models/video-generation-chain-scene-response.schema.ts +26 -0
@@ -0,0 +1,127 @@
1
+ import { z } from 'zod';
2
+ import { HTTP_METHODS } from '../../../_common';
3
+ export declare const VideoGenerationChainSceneParams: z.ZodObject<{
4
+ uuid: z.ZodUUID;
5
+ index: z.ZodCoercedNumber<unknown>;
6
+ }, z.core.$strip>;
7
+ export declare const UpdateVideoGenerationChainSceneCommandParams: z.ZodObject<{
8
+ uuid: z.ZodUUID;
9
+ index: z.ZodCoercedNumber<unknown>;
10
+ }, z.core.$strip>;
11
+ export declare const UpdateVideoGenerationChainSceneCommandBody: z.ZodObject<{
12
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUUID>>>;
14
+ }, z.core.$strip>;
15
+ export declare const UpdateVideoGenerationChainSceneCommandResponse: z.ZodObject<{
16
+ uuid: z.ZodUUID;
17
+ modelId: z.ZodUUID;
18
+ status: z.ZodEnum<typeof import("../../enums").VIDEO_GENERATION_CHAIN_STATUS>;
19
+ errorCode: z.ZodNullable<z.ZodString>;
20
+ errorMessage: z.ZodNullable<z.ZodString>;
21
+ finishedAt: z.ZodNullable<z.ZodISODateTime>;
22
+ createdAt: z.ZodISODateTime;
23
+ updatedAt: z.ZodISODateTime;
24
+ scenes: z.ZodArray<z.ZodObject<{
25
+ index: z.ZodNumber;
26
+ status: z.ZodEnum<typeof import("../../enums").VIDEO_GENERATION_CHAIN_SCENE_STATUS>;
27
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
28
+ attachments: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
29
+ uuid: z.ZodString;
30
+ url: z.ZodString;
31
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
32
+ fileType: z.ZodString;
33
+ mimeType: z.ZodString;
34
+ fileName: z.ZodString;
35
+ size: z.ZodNumber;
36
+ source: z.ZodEnum<{
37
+ context: "context";
38
+ user: "user";
39
+ }>;
40
+ }, z.core.$strip>>>;
41
+ generationJobId: z.ZodNullable<z.ZodUUID>;
42
+ output: z.ZodNullable<z.ZodObject<{
43
+ uuid: z.ZodUUID;
44
+ url: z.ZodURL;
45
+ title: z.ZodOptional<z.ZodString>;
46
+ tags: z.ZodOptional<z.ZodString>;
47
+ duration: z.ZodOptional<z.ZodNumber>;
48
+ imageUrl: z.ZodOptional<z.ZodString>;
49
+ }, z.core.$strip>>;
50
+ lastFrame: z.ZodNullable<z.ZodObject<{
51
+ uuid: z.ZodUUID;
52
+ url: z.ZodURL;
53
+ }, z.core.$strip>>;
54
+ errorCode: z.ZodNullable<z.ZodString>;
55
+ errorMessage: z.ZodNullable<z.ZodString>;
56
+ startedAt: z.ZodNullable<z.ZodISODateTime>;
57
+ finishedAt: z.ZodNullable<z.ZodISODateTime>;
58
+ }, z.core.$strip>>;
59
+ }, z.core.$strip>;
60
+ export declare const UpdateVideoGenerationChainSceneCommand: {
61
+ method: HTTP_METHODS.PATCH;
62
+ path: string;
63
+ summary: string;
64
+ request: {
65
+ params: z.ZodObject<{
66
+ uuid: z.ZodUUID;
67
+ index: z.ZodCoercedNumber<unknown>;
68
+ }, z.core.$strip>;
69
+ body: z.ZodObject<{
70
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
71
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUUID>>>;
72
+ }, z.core.$strip>;
73
+ };
74
+ responses: {
75
+ 200: z.ZodObject<{
76
+ uuid: z.ZodUUID;
77
+ modelId: z.ZodUUID;
78
+ status: z.ZodEnum<typeof import("../../enums").VIDEO_GENERATION_CHAIN_STATUS>;
79
+ errorCode: z.ZodNullable<z.ZodString>;
80
+ errorMessage: z.ZodNullable<z.ZodString>;
81
+ finishedAt: z.ZodNullable<z.ZodISODateTime>;
82
+ createdAt: z.ZodISODateTime;
83
+ updatedAt: z.ZodISODateTime;
84
+ scenes: z.ZodArray<z.ZodObject<{
85
+ index: z.ZodNumber;
86
+ status: z.ZodEnum<typeof import("../../enums").VIDEO_GENERATION_CHAIN_SCENE_STATUS>;
87
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
88
+ attachments: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
89
+ uuid: z.ZodString;
90
+ url: z.ZodString;
91
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
92
+ fileType: z.ZodString;
93
+ mimeType: z.ZodString;
94
+ fileName: z.ZodString;
95
+ size: z.ZodNumber;
96
+ source: z.ZodEnum<{
97
+ context: "context";
98
+ user: "user";
99
+ }>;
100
+ }, z.core.$strip>>>;
101
+ generationJobId: z.ZodNullable<z.ZodUUID>;
102
+ output: z.ZodNullable<z.ZodObject<{
103
+ uuid: z.ZodUUID;
104
+ url: z.ZodURL;
105
+ title: z.ZodOptional<z.ZodString>;
106
+ tags: z.ZodOptional<z.ZodString>;
107
+ duration: z.ZodOptional<z.ZodNumber>;
108
+ imageUrl: z.ZodOptional<z.ZodString>;
109
+ }, z.core.$strip>>;
110
+ lastFrame: z.ZodNullable<z.ZodObject<{
111
+ uuid: z.ZodUUID;
112
+ url: z.ZodURL;
113
+ }, z.core.$strip>>;
114
+ errorCode: z.ZodNullable<z.ZodString>;
115
+ errorMessage: z.ZodNullable<z.ZodString>;
116
+ startedAt: z.ZodNullable<z.ZodISODateTime>;
117
+ finishedAt: z.ZodNullable<z.ZodISODateTime>;
118
+ }, z.core.$strip>>;
119
+ }, z.core.$strip>;
120
+ 400: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
121
+ 401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
122
+ 404: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
123
+ 409: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
124
+ 500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
125
+ };
126
+ };
127
+ //# sourceMappingURL=update-video-generation-chain-scene.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-video-generation-chain-scene.command.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/commands/update-video-generation-chain-scene.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AASzF,eAAO,MAAM,+BAA+B;;;iBAO1C,CAAC;AAEH,eAAO,MAAM,4CAA4C;;;iBAAkC,CAAC;AAE5F,eAAO,MAAM,0CAA0C;;;iBAOjD,CAAC;AAEP,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAqC,CAAC;AAEjG,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBjD,CAAC"}
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateVideoGenerationChainSceneCommand = exports.UpdateVideoGenerationChainSceneCommandResponse = exports.UpdateVideoGenerationChainSceneCommandBody = exports.UpdateVideoGenerationChainSceneCommandParams = exports.VideoGenerationChainSceneParams = void 0;
4
+ const zod_1 = require("zod");
5
+ const _common_1 = require("../../../_common");
6
+ const enums_1 = require("../../enums");
7
+ const models_1 = require("../../models");
8
+ const video_generation_chain_1 = require("../video-generation-chain");
9
+ exports.VideoGenerationChainSceneParams = zod_1.z.object({
10
+ uuid: zod_1.z.uuid(),
11
+ index: zod_1.z.coerce
12
+ .number()
13
+ .int()
14
+ .min(0)
15
+ .max(enums_1.VIDEO_GENERATION_CHAIN_MAX_SCENES - 1),
16
+ });
17
+ exports.UpdateVideoGenerationChainSceneCommandParams = exports.VideoGenerationChainSceneParams;
18
+ exports.UpdateVideoGenerationChainSceneCommandBody = zod_1.z
19
+ .object({
20
+ params: models_1.VideoGenerationChainSceneParamsSchema.optional(),
21
+ attachments: models_1.VideoGenerationChainSceneAttachmentsSchema.optional(),
22
+ })
23
+ .refine((body) => body.params !== undefined || body.attachments !== undefined, {
24
+ message: 'At least one of params or attachments is required',
25
+ });
26
+ exports.UpdateVideoGenerationChainSceneCommandResponse = models_1.VideoGenerationChainResponseSchema;
27
+ exports.UpdateVideoGenerationChainSceneCommand = (0, _common_1.defineContract)({
28
+ method: _common_1.HTTP_METHODS.PATCH,
29
+ path: video_generation_chain_1.VIDEO_GENERATION_CHAIN_ROUTES.UPDATE_SCENE(':uuid', ':index'),
30
+ summary: 'Update a pending or failed scene of a paused generation chain',
31
+ request: {
32
+ params: exports.UpdateVideoGenerationChainSceneCommandParams,
33
+ body: exports.UpdateVideoGenerationChainSceneCommandBody,
34
+ },
35
+ responses: {
36
+ 200: exports.UpdateVideoGenerationChainSceneCommandResponse,
37
+ 400: _common_1.HttpErrorResponseSchema,
38
+ 401: _common_1.HttpErrorResponseSchema,
39
+ 404: _common_1.HttpErrorResponseSchema,
40
+ 409: _common_1.HttpErrorResponseSchema,
41
+ 500: _common_1.HttpErrorResponseSchema,
42
+ },
43
+ });
@@ -0,0 +1,4 @@
1
+ export * from './video-generation-chain';
2
+ export * from './commands';
3
+ export * from './queries';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../video-generation-chain/endpoints/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./video-generation-chain"), exports);
18
+ __exportStar(require("./commands"), exports);
19
+ __exportStar(require("./queries"), exports);
@@ -0,0 +1,111 @@
1
+ import { z } from 'zod';
2
+ import { HTTP_METHODS } from '../../../_common';
3
+ export declare const GetVideoGenerationChainByUuidQueryParams: z.ZodObject<{
4
+ uuid: z.ZodUUID;
5
+ }, z.core.$strip>;
6
+ export declare const GetVideoGenerationChainByUuidQueryResponse: z.ZodObject<{
7
+ uuid: z.ZodUUID;
8
+ modelId: z.ZodUUID;
9
+ status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_STATUS>;
10
+ errorCode: z.ZodNullable<z.ZodString>;
11
+ errorMessage: z.ZodNullable<z.ZodString>;
12
+ finishedAt: z.ZodNullable<z.ZodISODateTime>;
13
+ createdAt: z.ZodISODateTime;
14
+ updatedAt: z.ZodISODateTime;
15
+ scenes: z.ZodArray<z.ZodObject<{
16
+ index: z.ZodNumber;
17
+ status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_SCENE_STATUS>;
18
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
19
+ attachments: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
20
+ uuid: z.ZodString;
21
+ url: z.ZodString;
22
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
23
+ fileType: z.ZodString;
24
+ mimeType: z.ZodString;
25
+ fileName: z.ZodString;
26
+ size: z.ZodNumber;
27
+ source: z.ZodEnum<{
28
+ context: "context";
29
+ user: "user";
30
+ }>;
31
+ }, z.core.$strip>>>;
32
+ generationJobId: z.ZodNullable<z.ZodUUID>;
33
+ output: z.ZodNullable<z.ZodObject<{
34
+ uuid: z.ZodUUID;
35
+ url: z.ZodURL;
36
+ title: z.ZodOptional<z.ZodString>;
37
+ tags: z.ZodOptional<z.ZodString>;
38
+ duration: z.ZodOptional<z.ZodNumber>;
39
+ imageUrl: z.ZodOptional<z.ZodString>;
40
+ }, z.core.$strip>>;
41
+ lastFrame: z.ZodNullable<z.ZodObject<{
42
+ uuid: z.ZodUUID;
43
+ url: z.ZodURL;
44
+ }, z.core.$strip>>;
45
+ errorCode: z.ZodNullable<z.ZodString>;
46
+ errorMessage: z.ZodNullable<z.ZodString>;
47
+ startedAt: z.ZodNullable<z.ZodISODateTime>;
48
+ finishedAt: z.ZodNullable<z.ZodISODateTime>;
49
+ }, z.core.$strip>>;
50
+ }, z.core.$strip>;
51
+ export declare const GetVideoGenerationChainByUuidQuery: {
52
+ method: HTTP_METHODS.GET;
53
+ path: string;
54
+ summary: string;
55
+ request: {
56
+ params: z.ZodObject<{
57
+ uuid: z.ZodUUID;
58
+ }, z.core.$strip>;
59
+ };
60
+ responses: {
61
+ 200: z.ZodObject<{
62
+ uuid: z.ZodUUID;
63
+ modelId: z.ZodUUID;
64
+ status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_STATUS>;
65
+ errorCode: z.ZodNullable<z.ZodString>;
66
+ errorMessage: z.ZodNullable<z.ZodString>;
67
+ finishedAt: z.ZodNullable<z.ZodISODateTime>;
68
+ createdAt: z.ZodISODateTime;
69
+ updatedAt: z.ZodISODateTime;
70
+ scenes: z.ZodArray<z.ZodObject<{
71
+ index: z.ZodNumber;
72
+ status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_SCENE_STATUS>;
73
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
74
+ attachments: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
75
+ uuid: z.ZodString;
76
+ url: z.ZodString;
77
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
78
+ fileType: z.ZodString;
79
+ mimeType: z.ZodString;
80
+ fileName: z.ZodString;
81
+ size: z.ZodNumber;
82
+ source: z.ZodEnum<{
83
+ context: "context";
84
+ user: "user";
85
+ }>;
86
+ }, z.core.$strip>>>;
87
+ generationJobId: z.ZodNullable<z.ZodUUID>;
88
+ output: z.ZodNullable<z.ZodObject<{
89
+ uuid: z.ZodUUID;
90
+ url: z.ZodURL;
91
+ title: z.ZodOptional<z.ZodString>;
92
+ tags: z.ZodOptional<z.ZodString>;
93
+ duration: z.ZodOptional<z.ZodNumber>;
94
+ imageUrl: z.ZodOptional<z.ZodString>;
95
+ }, z.core.$strip>>;
96
+ lastFrame: z.ZodNullable<z.ZodObject<{
97
+ uuid: z.ZodUUID;
98
+ url: z.ZodURL;
99
+ }, z.core.$strip>>;
100
+ errorCode: z.ZodNullable<z.ZodString>;
101
+ errorMessage: z.ZodNullable<z.ZodString>;
102
+ startedAt: z.ZodNullable<z.ZodISODateTime>;
103
+ finishedAt: z.ZodNullable<z.ZodISODateTime>;
104
+ }, z.core.$strip>>;
105
+ }, z.core.$strip>;
106
+ 401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
107
+ 404: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
108
+ 500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
109
+ };
110
+ };
111
+ //# sourceMappingURL=get-video-generation-chain-by-uuid.query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-video-generation-chain-by-uuid.query.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/queries/get-video-generation-chain-by-uuid.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,wCAAwC;;iBAEnD,CAAC;AAEH,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAqC,CAAC;AAE7F,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa7C,CAAC"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetVideoGenerationChainByUuidQuery = exports.GetVideoGenerationChainByUuidQueryResponse = exports.GetVideoGenerationChainByUuidQueryParams = void 0;
4
+ const zod_1 = require("zod");
5
+ const _common_1 = require("../../../_common");
6
+ const models_1 = require("../../models");
7
+ const video_generation_chain_1 = require("../video-generation-chain");
8
+ exports.GetVideoGenerationChainByUuidQueryParams = zod_1.z.object({
9
+ uuid: zod_1.z.uuid(),
10
+ });
11
+ exports.GetVideoGenerationChainByUuidQueryResponse = models_1.VideoGenerationChainResponseSchema;
12
+ exports.GetVideoGenerationChainByUuidQuery = (0, _common_1.defineContract)({
13
+ method: _common_1.HTTP_METHODS.GET,
14
+ path: video_generation_chain_1.VIDEO_GENERATION_CHAIN_ROUTES.GET_BY_UUID(':uuid'),
15
+ summary: 'Get generation chain with its scenes',
16
+ request: {
17
+ params: exports.GetVideoGenerationChainByUuidQueryParams,
18
+ },
19
+ responses: {
20
+ 200: exports.GetVideoGenerationChainByUuidQueryResponse,
21
+ 401: _common_1.HttpErrorResponseSchema,
22
+ 404: _common_1.HttpErrorResponseSchema,
23
+ 500: _common_1.HttpErrorResponseSchema,
24
+ },
25
+ });
@@ -0,0 +1,107 @@
1
+ import { z } from 'zod';
2
+ import { HTTP_METHODS } from '../../../_common';
3
+ export declare const GetVideoGenerationChainConfigResponse: z.ZodObject<{
4
+ models: z.ZodArray<z.ZodObject<{
5
+ uuid: z.ZodUUID;
6
+ titleModel: z.ZodString;
7
+ description: z.ZodNullable<z.ZodString>;
8
+ generationType: z.ZodEnum<typeof import("../../../generation-model").GENERATION_TYPE>;
9
+ icons: z.ZodObject<{
10
+ light: z.ZodString;
11
+ dark: z.ZodString;
12
+ }, z.core.$strip>;
13
+ provider: z.ZodString;
14
+ providerTitle: z.ZodString;
15
+ order: z.ZodInt;
16
+ isActive: z.ZodBoolean;
17
+ isNew: z.ZodBoolean;
18
+ attachmentPolicy: z.ZodRecord<z.ZodString, z.ZodObject<{
19
+ fileType: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
20
+ required: z.ZodBoolean;
21
+ maxCount: z.ZodInt;
22
+ allowedFormats: z.ZodObject<{
23
+ mimeTypes: z.ZodArray<z.ZodString>;
24
+ extensions: z.ZodArray<z.ZodString>;
25
+ maxSize: z.ZodInt;
26
+ }, z.core.$strip>;
27
+ }, z.core.$strip>>;
28
+ conflictingSlots: z.ZodArray<z.ZodTuple<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodString>], null>>;
29
+ dependentSlots: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
30
+ paramsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
31
+ pricingPolicy: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
32
+ type: z.ZodLiteral<"base">;
33
+ price: z.ZodNumber;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ type: z.ZodLiteral<"resolution_multiplier">;
36
+ field: z.ZodString;
37
+ rules: z.ZodRecord<z.ZodString, z.ZodNumber>;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ type: z.ZodLiteral<"param_multiplier">;
40
+ field: z.ZodString;
41
+ rules: z.ZodRecord<z.ZodString, z.ZodNumber>;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ type: z.ZodLiteral<"numeric_multiplier">;
44
+ field: z.ZodString;
45
+ }, z.core.$strip>], "type">>;
46
+ }, z.core.$strip>>;
47
+ minScenes: z.ZodInt;
48
+ maxScenes: z.ZodInt;
49
+ }, z.core.$strip>;
50
+ export type GetVideoGenerationChainConfigResponseType = z.infer<typeof GetVideoGenerationChainConfigResponse>;
51
+ export declare const GetVideoGenerationChainConfigQuery: {
52
+ method: HTTP_METHODS.GET;
53
+ path: "config";
54
+ summary: string;
55
+ responses: {
56
+ 200: z.ZodObject<{
57
+ models: z.ZodArray<z.ZodObject<{
58
+ uuid: z.ZodUUID;
59
+ titleModel: z.ZodString;
60
+ description: z.ZodNullable<z.ZodString>;
61
+ generationType: z.ZodEnum<typeof import("../../../generation-model").GENERATION_TYPE>;
62
+ icons: z.ZodObject<{
63
+ light: z.ZodString;
64
+ dark: z.ZodString;
65
+ }, z.core.$strip>;
66
+ provider: z.ZodString;
67
+ providerTitle: z.ZodString;
68
+ order: z.ZodInt;
69
+ isActive: z.ZodBoolean;
70
+ isNew: z.ZodBoolean;
71
+ attachmentPolicy: z.ZodRecord<z.ZodString, z.ZodObject<{
72
+ fileType: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
73
+ required: z.ZodBoolean;
74
+ maxCount: z.ZodInt;
75
+ allowedFormats: z.ZodObject<{
76
+ mimeTypes: z.ZodArray<z.ZodString>;
77
+ extensions: z.ZodArray<z.ZodString>;
78
+ maxSize: z.ZodInt;
79
+ }, z.core.$strip>;
80
+ }, z.core.$strip>>;
81
+ conflictingSlots: z.ZodArray<z.ZodTuple<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodString>], null>>;
82
+ dependentSlots: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
83
+ paramsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
84
+ pricingPolicy: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
85
+ type: z.ZodLiteral<"base">;
86
+ price: z.ZodNumber;
87
+ }, z.core.$strip>, z.ZodObject<{
88
+ type: z.ZodLiteral<"resolution_multiplier">;
89
+ field: z.ZodString;
90
+ rules: z.ZodRecord<z.ZodString, z.ZodNumber>;
91
+ }, z.core.$strip>, z.ZodObject<{
92
+ type: z.ZodLiteral<"param_multiplier">;
93
+ field: z.ZodString;
94
+ rules: z.ZodRecord<z.ZodString, z.ZodNumber>;
95
+ }, z.core.$strip>, z.ZodObject<{
96
+ type: z.ZodLiteral<"numeric_multiplier">;
97
+ field: z.ZodString;
98
+ }, z.core.$strip>], "type">>;
99
+ }, z.core.$strip>>;
100
+ minScenes: z.ZodInt;
101
+ maxScenes: z.ZodInt;
102
+ }, z.core.$strip>;
103
+ 401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
104
+ 500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
105
+ };
106
+ };
107
+ //# sourceMappingURL=get-video-generation-chain-config.query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-video-generation-chain-config.query.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/queries/get-video-generation-chain-config.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIhD,CAAC;AAEH,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAE9G,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS7C,CAAC"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetVideoGenerationChainConfigQuery = exports.GetVideoGenerationChainConfigResponse = void 0;
4
+ const zod_1 = require("zod");
5
+ const _common_1 = require("../../../_common");
6
+ const generation_model_1 = require("../../../generation-model");
7
+ const video_generation_chain_1 = require("../video-generation-chain");
8
+ exports.GetVideoGenerationChainConfigResponse = zod_1.z.object({
9
+ models: zod_1.z.array(generation_model_1.GenerationModelResponseSchema),
10
+ minScenes: zod_1.z.int().positive(),
11
+ maxScenes: zod_1.z.int().positive(),
12
+ });
13
+ exports.GetVideoGenerationChainConfigQuery = (0, _common_1.defineContract)({
14
+ method: _common_1.HTTP_METHODS.GET,
15
+ path: video_generation_chain_1.VIDEO_GENERATION_CHAIN_ROUTES.GET_CONFIG,
16
+ summary: 'Get generation chain config (available models and scene limits)',
17
+ responses: {
18
+ 200: exports.GetVideoGenerationChainConfigResponse,
19
+ 401: _common_1.HttpErrorResponseSchema,
20
+ 500: _common_1.HttpErrorResponseSchema,
21
+ },
22
+ });
@@ -0,0 +1,54 @@
1
+ import { z } from 'zod';
2
+ import { HTTP_METHODS } from '../../../_common';
3
+ export declare const GetVideoGenerationChainsQueryQuery: z.ZodObject<{
4
+ cursor: z.ZodOptional<z.ZodUUID>;
5
+ limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
6
+ }, z.core.$strip>;
7
+ export declare const GetVideoGenerationChainsQueryResponse: z.ZodObject<{
8
+ chains: z.ZodArray<z.ZodObject<{
9
+ uuid: z.ZodUUID;
10
+ modelId: z.ZodUUID;
11
+ status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_STATUS>;
12
+ errorCode: z.ZodNullable<z.ZodString>;
13
+ errorMessage: z.ZodNullable<z.ZodString>;
14
+ finishedAt: z.ZodNullable<z.ZodISODateTime>;
15
+ createdAt: z.ZodISODateTime;
16
+ updatedAt: z.ZodISODateTime;
17
+ scenesTotal: z.ZodNumber;
18
+ scenesSucceeded: z.ZodNumber;
19
+ }, z.core.$strip>>;
20
+ nextCursor: z.ZodNullable<z.ZodUUID>;
21
+ hasMore: z.ZodBoolean;
22
+ }, z.core.$strip>;
23
+ export declare const GetVideoGenerationChainsQuery: {
24
+ method: HTTP_METHODS.GET;
25
+ path: "";
26
+ summary: string;
27
+ request: {
28
+ query: z.ZodObject<{
29
+ cursor: z.ZodOptional<z.ZodUUID>;
30
+ limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
31
+ }, z.core.$strip>;
32
+ };
33
+ responses: {
34
+ 200: z.ZodObject<{
35
+ chains: z.ZodArray<z.ZodObject<{
36
+ uuid: z.ZodUUID;
37
+ modelId: z.ZodUUID;
38
+ status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_STATUS>;
39
+ errorCode: z.ZodNullable<z.ZodString>;
40
+ errorMessage: z.ZodNullable<z.ZodString>;
41
+ finishedAt: z.ZodNullable<z.ZodISODateTime>;
42
+ createdAt: z.ZodISODateTime;
43
+ updatedAt: z.ZodISODateTime;
44
+ scenesTotal: z.ZodNumber;
45
+ scenesSucceeded: z.ZodNumber;
46
+ }, z.core.$strip>>;
47
+ nextCursor: z.ZodNullable<z.ZodUUID>;
48
+ hasMore: z.ZodBoolean;
49
+ }, z.core.$strip>;
50
+ 401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
51
+ 500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
52
+ };
53
+ };
54
+ //# sourceMappingURL=get-video-generation-chains.query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-video-generation-chains.query.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/queries/get-video-generation-chains.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAA+C,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAItH,eAAO,MAAM,kCAAkC;;;iBAAwC,CAAC;AAExF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;iBAIhD,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYxC,CAAC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetVideoGenerationChainsQuery = exports.GetVideoGenerationChainsQueryResponse = exports.GetVideoGenerationChainsQueryQuery = void 0;
4
+ const zod_1 = require("zod");
5
+ const _common_1 = require("../../../_common");
6
+ const models_1 = require("../../models");
7
+ const video_generation_chain_1 = require("../video-generation-chain");
8
+ exports.GetVideoGenerationChainsQueryQuery = (0, _common_1.defineCursorPaginationQuery)(zod_1.z.uuid());
9
+ exports.GetVideoGenerationChainsQueryResponse = zod_1.z.object({
10
+ chains: zod_1.z.array(models_1.VideoGenerationChainListItemSchema),
11
+ nextCursor: zod_1.z.uuid().nullable(),
12
+ hasMore: zod_1.z.boolean(),
13
+ });
14
+ exports.GetVideoGenerationChainsQuery = (0, _common_1.defineContract)({
15
+ method: _common_1.HTTP_METHODS.GET,
16
+ path: video_generation_chain_1.VIDEO_GENERATION_CHAIN_ROUTES.GET_ALL,
17
+ summary: 'Get generation chains of the current user with cursor pagination',
18
+ request: {
19
+ query: exports.GetVideoGenerationChainsQueryQuery,
20
+ },
21
+ responses: {
22
+ 200: exports.GetVideoGenerationChainsQueryResponse,
23
+ 401: _common_1.HttpErrorResponseSchema,
24
+ 500: _common_1.HttpErrorResponseSchema,
25
+ },
26
+ });
@@ -0,0 +1,4 @@
1
+ export * from './get-video-generation-chain-by-uuid.query';
2
+ export * from './get-video-generation-chains.query';
3
+ export * from './get-video-generation-chain-config.query';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qCAAqC,CAAC;AACpD,cAAc,2CAA2C,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-video-generation-chain-by-uuid.query"), exports);
18
+ __exportStar(require("./get-video-generation-chains.query"), exports);
19
+ __exportStar(require("./get-video-generation-chain-config.query"), exports);
@@ -0,0 +1,12 @@
1
+ export declare const VIDEO_GENERATION_CHAIN_CONTROLLER: "video-generation-chains";
2
+ export declare const VIDEO_GENERATION_CHAIN_ROUTES: {
3
+ readonly CREATE: "";
4
+ readonly GET_ALL: "";
5
+ readonly GET_CONFIG: "config";
6
+ readonly GET_BY_UUID: (uuid: string) => string;
7
+ readonly RESUME: (uuid: string) => string;
8
+ readonly CANCEL: (uuid: string) => string;
9
+ readonly UPDATE_SCENE: (uuid: string, index: string) => string;
10
+ readonly REGENERATE_SCENE: (uuid: string, index: string) => string;
11
+ };
12
+ //# sourceMappingURL=video-generation-chain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video-generation-chain.d.ts","sourceRoot":"","sources":["../../../video-generation-chain/endpoints/video-generation-chain.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC,EAAG,yBAAkC,CAAC;AAEpF,eAAO,MAAM,6BAA6B;;;;iCAIlB,MAAM;4BACX,MAAM;4BACN,MAAM;kCACA,MAAM,SAAS,MAAM;sCACjB,MAAM,SAAS,MAAM;CACxC,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VIDEO_GENERATION_CHAIN_ROUTES = exports.VIDEO_GENERATION_CHAIN_CONTROLLER = void 0;
4
+ exports.VIDEO_GENERATION_CHAIN_CONTROLLER = 'video-generation-chains';
5
+ exports.VIDEO_GENERATION_CHAIN_ROUTES = {
6
+ CREATE: '',
7
+ GET_ALL: '',
8
+ GET_CONFIG: 'config',
9
+ GET_BY_UUID: (uuid) => `${uuid}`,
10
+ RESUME: (uuid) => `${uuid}/resume`,
11
+ CANCEL: (uuid) => `${uuid}/cancel`,
12
+ UPDATE_SCENE: (uuid, index) => `${uuid}/scenes/${index}`,
13
+ REGENERATE_SCENE: (uuid, index) => `${uuid}/scenes/${index}/regenerate`,
14
+ };
@@ -0,0 +1,5 @@
1
+ export * from './video-generation-chain-status.enum';
2
+ export * from './video-generation-chain-scene-status.enum';
3
+ export * from './video-generation-chain-limits';
4
+ export * from './video-generation-chain-frame-slot.enum';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../video-generation-chain/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,iCAAiC,CAAC;AAChD,cAAc,0CAA0C,CAAC"}