@purpleschool/gptbot-tools 0.2.54 → 0.2.56-stage2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai-proxy/routes/ai-proxy.routes.d.ts +1 -0
- package/build/ai-proxy/routes/ai-proxy.routes.js +1 -0
- package/build/index.d.ts +3 -0
- package/build/index.js +3 -0
- package/build/marketplace-card/models/marketplace-card-config.schema.d.ts +0 -1
- package/build/marketplace-card/models/marketplace-card-model.schema.d.ts +0 -1
- package/build/marketplace-card/models/marketplace-card-model.schema.js +0 -1
- package/build/marketplace-card/queries/get-marketplace-card-config.query.d.ts +0 -2
- package/build/paraphrase/models/paraphrase-tool-config.schema.d.ts +1 -0
- package/build/paraphrase/models/paraphrase-type.schema.d.ts +2 -1
- package/build/paraphrase/models/paraphrase-type.schema.js +1 -0
- package/build/paraphrase/queries/get-paraphrase-tool-config.query.d.ts +2 -0
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +58 -0
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +21 -0
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +14 -0
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +12 -0
- package/build/photo-sessions/commands/admin/index.d.ts +3 -0
- package/build/photo-sessions/commands/admin/index.js +19 -0
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +55 -0
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +28 -0
- package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts +17 -0
- package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +15 -0
- package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts +16 -0
- package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +14 -0
- package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +46 -0
- package/build/photo-sessions/commands/get-photo-sessions-price.command.js +30 -0
- package/build/photo-sessions/commands/index.d.ts +10 -0
- package/build/photo-sessions/commands/index.js +26 -0
- package/build/photo-sessions/commands/photo-sessions.command.d.ts +147 -0
- package/build/photo-sessions/commands/photo-sessions.command.js +41 -0
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +142 -0
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +23 -0
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +115 -0
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js +27 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +113 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +16 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +113 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +16 -0
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +118 -0
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +26 -0
- package/build/photo-sessions/enums/index.d.ts +2 -0
- package/build/photo-sessions/enums/index.js +18 -0
- package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +5 -0
- package/build/photo-sessions/enums/photo-session-look-type.enum.js +9 -0
- package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +4 -0
- package/build/photo-sessions/enums/photo-session-strategy.enum.js +8 -0
- package/build/photo-sessions/index.d.ts +5 -0
- package/build/photo-sessions/index.js +21 -0
- package/build/photo-sessions/models/index.d.ts +4 -0
- package/build/photo-sessions/models/index.js +20 -0
- package/build/photo-sessions/models/photo-session-config.schema.d.ts +72 -0
- package/build/photo-sessions/models/photo-session-config.schema.js +16 -0
- package/build/photo-sessions/models/photo-session-job.schema.d.ts +78 -0
- package/build/photo-sessions/models/photo-session-job.schema.js +46 -0
- package/build/photo-sessions/models/photo-session-model.schema.d.ts +69 -0
- package/build/photo-sessions/models/photo-session-model.schema.js +42 -0
- package/build/photo-sessions/models/photo-session-style.schema.d.ts +29 -0
- package/build/photo-sessions/models/photo-session-style.schema.js +22 -0
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +46 -0
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +10 -0
- package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +57 -0
- package/build/photo-sessions/queries/find-photo-session-styles.query.js +19 -0
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +110 -0
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +10 -0
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +130 -0
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +28 -0
- package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +142 -0
- package/build/photo-sessions/queries/get-photo-sessions-config.query.js +10 -0
- package/build/photo-sessions/queries/index.d.ts +5 -0
- package/build/photo-sessions/queries/index.js +21 -0
- package/build/photo-sessions/routes/index.d.ts +2 -0
- package/build/photo-sessions/routes/index.js +18 -0
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +19 -0
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +22 -0
- package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +1 -0
- package/build/photo-sessions/routes/photo-sessions.http.routes.js +4 -0
- package/build/spell-corrector/models/spell-corrector-model.schema.d.ts +2 -1
- package/build/spell-corrector/models/spell-corrector-model.schema.js +1 -0
- package/build/spell-corrector/models/spell-corrector-tool-config.schema.d.ts +1 -0
- package/build/spell-corrector/queries/get-spell-corrector-tool-config.query.d.ts +2 -0
- package/build/tools/enums/tool-content-type.enum.d.ts +1 -0
- package/build/tools/enums/tool-content-type.enum.js +1 -0
- package/build/tools/enums/tool-type.enum.d.ts +1 -0
- package/build/tools/enums/tool-type.enum.js +1 -0
- package/build/tools/models/global-tools-config.schema.d.ts +98 -1
- package/build/tools/models/global-tools-config.schema.js +2 -0
- package/build/tools/models/tools-with-configs.schema.d.ts +66 -2
- package/build/tools/queries/get-global-tools-config.query.d.ts +196 -2
- package/build/tools/queries/get-tools-with-configs.query.d.ts +66 -2
- package/build/video-editor/commands/edit-video.command.d.ts +57 -0
- package/build/video-editor/commands/edit-video.command.js +1 -1
- package/build/video-editor/commands/get-video-editor-price.command.d.ts +1 -0
- package/build/video-editor/commands/retry-video-editor-job.command.d.ts +57 -0
- package/build/video-editor/commands/set-reaction-to-video-editor-job.command.d.ts +38 -0
- package/build/video-editor/commands/update-published-status-video-editor-jobs.command.d.ts +38 -0
- package/build/video-editor/commands/update-video-editor-job-favorite.command.d.ts +38 -0
- package/build/video-editor/commands/update-video-editor-job-title.command.d.ts +38 -0
- package/build/video-editor/commands/video-editor-model/get-video-editor-model.command.d.ts +62 -0
- package/build/video-editor/enums/video-editor-model-limitation.enum.d.ts +2 -1
- package/build/video-editor/enums/video-editor-model-limitation.enum.js +1 -0
- package/build/video-editor/enums/video-editor-model-strategy.enum.d.ts +2 -5
- package/build/video-editor/enums/video-editor-model-strategy.enum.js +2 -5
- package/build/video-editor/models/video-editor-config.schema.d.ts +31 -0
- package/build/video-editor/models/video-editor-job.schema.d.ts +38 -0
- package/build/video-editor/models/video-editor-job.schema.js +9 -0
- package/build/video-editor/models/video-editor-model.schema.d.ts +64 -0
- package/build/video-editor/models/video-editor-model.schema.js +40 -0
- package/build/video-editor/queries/find-video-editor-job-by-id.query.d.ts +38 -0
- package/build/video-editor/queries/find-video-editor-jobs.query.d.ts +38 -0
- package/build/video-editor/queries/get-video-editor-config.query.d.ts +62 -0
- package/package.json +1 -1
|
@@ -385,6 +385,7 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
385
385
|
icon: string;
|
|
386
386
|
price: number;
|
|
387
387
|
aiModel: string;
|
|
388
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
388
389
|
reasoningEffort?: import("../..").REASONING_EFFORT | null | undefined;
|
|
389
390
|
order: number;
|
|
390
391
|
createdAt: Date;
|
|
@@ -471,18 +472,49 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
471
472
|
maxInputVideoDurationInSeconds: number;
|
|
472
473
|
supportedFormats: string[];
|
|
473
474
|
params: {
|
|
475
|
+
imageAttachment?: {
|
|
476
|
+
supported: boolean;
|
|
477
|
+
maxImages: number;
|
|
478
|
+
maxFileSizeMb?: number | undefined;
|
|
479
|
+
} | undefined;
|
|
480
|
+
referenceImageAttachment?: {
|
|
481
|
+
supported: boolean;
|
|
482
|
+
maxImages: number;
|
|
483
|
+
formats?: string[] | undefined;
|
|
484
|
+
minWidthToHeightRatio?: number | undefined;
|
|
485
|
+
maxWidthToHeightRatio?: number | undefined;
|
|
486
|
+
minWidthPx?: number | undefined;
|
|
487
|
+
maxWidthPx?: number | undefined;
|
|
488
|
+
minHeightPx?: number | undefined;
|
|
489
|
+
maxHeightPx?: number | undefined;
|
|
490
|
+
maxFileSizeMb?: number | undefined;
|
|
491
|
+
} | undefined;
|
|
492
|
+
audioAttachment?: {
|
|
493
|
+
supported: boolean;
|
|
494
|
+
maxAudios: number;
|
|
495
|
+
maxDurationSeconds: number;
|
|
496
|
+
minDurationSeconds?: number | undefined;
|
|
497
|
+
maxTotalDurationSeconds?: number | undefined;
|
|
498
|
+
maxFileSizeMb?: number | undefined;
|
|
499
|
+
formats?: string[] | undefined;
|
|
500
|
+
mimeTypes?: string[] | undefined;
|
|
501
|
+
} | undefined;
|
|
474
502
|
duration?: {
|
|
475
503
|
options: number[];
|
|
476
504
|
} | undefined;
|
|
477
505
|
resolution?: {
|
|
478
506
|
options: string[];
|
|
479
507
|
} | undefined;
|
|
508
|
+
aspectRatio?: {
|
|
509
|
+
options: string[];
|
|
510
|
+
} | undefined;
|
|
480
511
|
};
|
|
481
512
|
pricingRules: {
|
|
482
513
|
type: import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE;
|
|
483
514
|
condition: {
|
|
484
515
|
duration?: number | undefined;
|
|
485
516
|
resolution?: string | undefined;
|
|
517
|
+
aspectRatio?: string | undefined;
|
|
486
518
|
};
|
|
487
519
|
value: number;
|
|
488
520
|
}[];
|
|
@@ -680,7 +712,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
680
712
|
};
|
|
681
713
|
maxPromptLength: number;
|
|
682
714
|
supportsImageAttachment: boolean;
|
|
683
|
-
maxAttachedImages: number;
|
|
684
715
|
createdAt: Date;
|
|
685
716
|
updatedAt: Date;
|
|
686
717
|
}[];
|
|
@@ -786,6 +817,7 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
786
817
|
};
|
|
787
818
|
price: number;
|
|
788
819
|
aiModel: string;
|
|
820
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
789
821
|
reasoningEffort?: import("../..").REASONING_EFFORT | null | undefined;
|
|
790
822
|
order: number;
|
|
791
823
|
createdAt: Date;
|
|
@@ -874,6 +906,71 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
874
906
|
}[];
|
|
875
907
|
maxAttachmentsCount: number;
|
|
876
908
|
};
|
|
909
|
+
PHOTO_SESSIONS: {
|
|
910
|
+
models: {
|
|
911
|
+
uuid: string;
|
|
912
|
+
title: string;
|
|
913
|
+
description: string;
|
|
914
|
+
aiModel: string;
|
|
915
|
+
isNew: boolean;
|
|
916
|
+
tierLabel: string;
|
|
917
|
+
pricePerImage: number;
|
|
918
|
+
order: number;
|
|
919
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
920
|
+
icons: {
|
|
921
|
+
light: {
|
|
922
|
+
svg: string;
|
|
923
|
+
png: string;
|
|
924
|
+
};
|
|
925
|
+
dark: {
|
|
926
|
+
svg: string;
|
|
927
|
+
png: string;
|
|
928
|
+
};
|
|
929
|
+
};
|
|
930
|
+
strategy: import("../..").PHOTO_SESSION_STRATEGY;
|
|
931
|
+
maxInputLength: number;
|
|
932
|
+
params: {
|
|
933
|
+
imageAttachment: {
|
|
934
|
+
supported: boolean;
|
|
935
|
+
maxImages: number;
|
|
936
|
+
acceptedTypes: string[];
|
|
937
|
+
};
|
|
938
|
+
aspectRatio: Record<string, {
|
|
939
|
+
width: number;
|
|
940
|
+
height: number;
|
|
941
|
+
}>;
|
|
942
|
+
};
|
|
943
|
+
pricingRules: {
|
|
944
|
+
condition: {
|
|
945
|
+
withoutSub?: boolean | undefined;
|
|
946
|
+
};
|
|
947
|
+
value: number;
|
|
948
|
+
}[];
|
|
949
|
+
createdAt: Date;
|
|
950
|
+
updatedAt: Date;
|
|
951
|
+
}[];
|
|
952
|
+
styles: {
|
|
953
|
+
uuid: string;
|
|
954
|
+
code: string;
|
|
955
|
+
title: string;
|
|
956
|
+
description?: string | null | undefined;
|
|
957
|
+
references: {
|
|
958
|
+
uuid: string;
|
|
959
|
+
styleId: string;
|
|
960
|
+
photoUrl: string;
|
|
961
|
+
description?: string | null | undefined;
|
|
962
|
+
order: number;
|
|
963
|
+
createdAt: Date;
|
|
964
|
+
updatedAt: Date;
|
|
965
|
+
}[];
|
|
966
|
+
createdAt: Date;
|
|
967
|
+
updatedAt: Date;
|
|
968
|
+
}[];
|
|
969
|
+
looks: {
|
|
970
|
+
type: import("../..").PHOTO_SESSION_LOOK_TYPE;
|
|
971
|
+
maxPhotos: number;
|
|
972
|
+
}[];
|
|
973
|
+
};
|
|
877
974
|
IMAGE_RECOGNITION: {
|
|
878
975
|
models: {
|
|
879
976
|
uuid: string;
|
|
@@ -1304,6 +1401,7 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1304
1401
|
icon: string;
|
|
1305
1402
|
price: number;
|
|
1306
1403
|
aiModel: string;
|
|
1404
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
1307
1405
|
reasoningEffort?: import("../..").REASONING_EFFORT | null | undefined;
|
|
1308
1406
|
order: number;
|
|
1309
1407
|
createdAt: Date;
|
|
@@ -1390,18 +1488,49 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1390
1488
|
maxInputVideoDurationInSeconds: number;
|
|
1391
1489
|
supportedFormats: string[];
|
|
1392
1490
|
params: {
|
|
1491
|
+
imageAttachment?: {
|
|
1492
|
+
supported: boolean;
|
|
1493
|
+
maxImages: number;
|
|
1494
|
+
maxFileSizeMb?: number | undefined;
|
|
1495
|
+
} | undefined;
|
|
1496
|
+
referenceImageAttachment?: {
|
|
1497
|
+
supported: boolean;
|
|
1498
|
+
maxImages: number;
|
|
1499
|
+
formats?: string[] | undefined;
|
|
1500
|
+
minWidthToHeightRatio?: number | undefined;
|
|
1501
|
+
maxWidthToHeightRatio?: number | undefined;
|
|
1502
|
+
minWidthPx?: number | undefined;
|
|
1503
|
+
maxWidthPx?: number | undefined;
|
|
1504
|
+
minHeightPx?: number | undefined;
|
|
1505
|
+
maxHeightPx?: number | undefined;
|
|
1506
|
+
maxFileSizeMb?: number | undefined;
|
|
1507
|
+
} | undefined;
|
|
1508
|
+
audioAttachment?: {
|
|
1509
|
+
supported: boolean;
|
|
1510
|
+
maxAudios: number;
|
|
1511
|
+
maxDurationSeconds: number;
|
|
1512
|
+
minDurationSeconds?: number | undefined;
|
|
1513
|
+
maxTotalDurationSeconds?: number | undefined;
|
|
1514
|
+
maxFileSizeMb?: number | undefined;
|
|
1515
|
+
formats?: string[] | undefined;
|
|
1516
|
+
mimeTypes?: string[] | undefined;
|
|
1517
|
+
} | undefined;
|
|
1393
1518
|
duration?: {
|
|
1394
1519
|
options: number[];
|
|
1395
1520
|
} | undefined;
|
|
1396
1521
|
resolution?: {
|
|
1397
1522
|
options: string[];
|
|
1398
1523
|
} | undefined;
|
|
1524
|
+
aspectRatio?: {
|
|
1525
|
+
options: string[];
|
|
1526
|
+
} | undefined;
|
|
1399
1527
|
};
|
|
1400
1528
|
pricingRules: {
|
|
1401
1529
|
type: import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE;
|
|
1402
1530
|
condition: {
|
|
1403
1531
|
duration?: number | undefined;
|
|
1404
1532
|
resolution?: string | undefined;
|
|
1533
|
+
aspectRatio?: string | undefined;
|
|
1405
1534
|
};
|
|
1406
1535
|
value: number;
|
|
1407
1536
|
}[];
|
|
@@ -1599,7 +1728,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1599
1728
|
};
|
|
1600
1729
|
maxPromptLength: number;
|
|
1601
1730
|
supportsImageAttachment: boolean;
|
|
1602
|
-
maxAttachedImages: number;
|
|
1603
1731
|
createdAt: Date;
|
|
1604
1732
|
updatedAt: Date;
|
|
1605
1733
|
}[];
|
|
@@ -1705,6 +1833,7 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1705
1833
|
};
|
|
1706
1834
|
price: number;
|
|
1707
1835
|
aiModel: string;
|
|
1836
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
1708
1837
|
reasoningEffort?: import("../..").REASONING_EFFORT | null | undefined;
|
|
1709
1838
|
order: number;
|
|
1710
1839
|
createdAt: Date;
|
|
@@ -1793,6 +1922,71 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1793
1922
|
}[];
|
|
1794
1923
|
maxAttachmentsCount: number;
|
|
1795
1924
|
};
|
|
1925
|
+
PHOTO_SESSIONS: {
|
|
1926
|
+
models: {
|
|
1927
|
+
uuid: string;
|
|
1928
|
+
title: string;
|
|
1929
|
+
description: string;
|
|
1930
|
+
aiModel: string;
|
|
1931
|
+
isNew: boolean;
|
|
1932
|
+
tierLabel: string;
|
|
1933
|
+
pricePerImage: number;
|
|
1934
|
+
order: number;
|
|
1935
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
1936
|
+
icons: {
|
|
1937
|
+
light: {
|
|
1938
|
+
svg: string;
|
|
1939
|
+
png: string;
|
|
1940
|
+
};
|
|
1941
|
+
dark: {
|
|
1942
|
+
svg: string;
|
|
1943
|
+
png: string;
|
|
1944
|
+
};
|
|
1945
|
+
};
|
|
1946
|
+
strategy: import("../..").PHOTO_SESSION_STRATEGY;
|
|
1947
|
+
maxInputLength: number;
|
|
1948
|
+
params: {
|
|
1949
|
+
imageAttachment: {
|
|
1950
|
+
supported: boolean;
|
|
1951
|
+
maxImages: number;
|
|
1952
|
+
acceptedTypes: string[];
|
|
1953
|
+
};
|
|
1954
|
+
aspectRatio: Record<string, {
|
|
1955
|
+
width: number;
|
|
1956
|
+
height: number;
|
|
1957
|
+
}>;
|
|
1958
|
+
};
|
|
1959
|
+
pricingRules: {
|
|
1960
|
+
condition: {
|
|
1961
|
+
withoutSub?: boolean | undefined;
|
|
1962
|
+
};
|
|
1963
|
+
value: number;
|
|
1964
|
+
}[];
|
|
1965
|
+
createdAt: Date;
|
|
1966
|
+
updatedAt: Date;
|
|
1967
|
+
}[];
|
|
1968
|
+
styles: {
|
|
1969
|
+
uuid: string;
|
|
1970
|
+
code: string;
|
|
1971
|
+
title: string;
|
|
1972
|
+
description?: string | null | undefined;
|
|
1973
|
+
references: {
|
|
1974
|
+
uuid: string;
|
|
1975
|
+
styleId: string;
|
|
1976
|
+
photoUrl: string;
|
|
1977
|
+
description?: string | null | undefined;
|
|
1978
|
+
order: number;
|
|
1979
|
+
createdAt: Date;
|
|
1980
|
+
updatedAt: Date;
|
|
1981
|
+
}[];
|
|
1982
|
+
createdAt: Date;
|
|
1983
|
+
updatedAt: Date;
|
|
1984
|
+
}[];
|
|
1985
|
+
looks: {
|
|
1986
|
+
type: import("../..").PHOTO_SESSION_LOOK_TYPE;
|
|
1987
|
+
maxPhotos: number;
|
|
1988
|
+
}[];
|
|
1989
|
+
};
|
|
1796
1990
|
IMAGE_RECOGNITION: {
|
|
1797
1991
|
models: {
|
|
1798
1992
|
uuid: string;
|
|
@@ -456,6 +456,7 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
456
456
|
icon: string;
|
|
457
457
|
price: number;
|
|
458
458
|
aiModel: string;
|
|
459
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
459
460
|
reasoningEffort?: import("../..").REASONING_EFFORT | null | undefined;
|
|
460
461
|
order: number;
|
|
461
462
|
createdAt: Date;
|
|
@@ -566,18 +567,49 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
566
567
|
maxInputVideoDurationInSeconds: number;
|
|
567
568
|
supportedFormats: string[];
|
|
568
569
|
params: {
|
|
570
|
+
imageAttachment?: {
|
|
571
|
+
supported: boolean;
|
|
572
|
+
maxImages: number;
|
|
573
|
+
maxFileSizeMb?: number | undefined;
|
|
574
|
+
} | undefined;
|
|
575
|
+
referenceImageAttachment?: {
|
|
576
|
+
supported: boolean;
|
|
577
|
+
maxImages: number;
|
|
578
|
+
formats?: string[] | undefined;
|
|
579
|
+
minWidthToHeightRatio?: number | undefined;
|
|
580
|
+
maxWidthToHeightRatio?: number | undefined;
|
|
581
|
+
minWidthPx?: number | undefined;
|
|
582
|
+
maxWidthPx?: number | undefined;
|
|
583
|
+
minHeightPx?: number | undefined;
|
|
584
|
+
maxHeightPx?: number | undefined;
|
|
585
|
+
maxFileSizeMb?: number | undefined;
|
|
586
|
+
} | undefined;
|
|
587
|
+
audioAttachment?: {
|
|
588
|
+
supported: boolean;
|
|
589
|
+
maxAudios: number;
|
|
590
|
+
maxDurationSeconds: number;
|
|
591
|
+
minDurationSeconds?: number | undefined;
|
|
592
|
+
maxTotalDurationSeconds?: number | undefined;
|
|
593
|
+
maxFileSizeMb?: number | undefined;
|
|
594
|
+
formats?: string[] | undefined;
|
|
595
|
+
mimeTypes?: string[] | undefined;
|
|
596
|
+
} | undefined;
|
|
569
597
|
duration?: {
|
|
570
598
|
options: number[];
|
|
571
599
|
} | undefined;
|
|
572
600
|
resolution?: {
|
|
573
601
|
options: string[];
|
|
574
602
|
} | undefined;
|
|
603
|
+
aspectRatio?: {
|
|
604
|
+
options: string[];
|
|
605
|
+
} | undefined;
|
|
575
606
|
};
|
|
576
607
|
pricingRules: {
|
|
577
608
|
type: import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE;
|
|
578
609
|
condition: {
|
|
579
610
|
duration?: number | undefined;
|
|
580
611
|
resolution?: string | undefined;
|
|
612
|
+
aspectRatio?: string | undefined;
|
|
581
613
|
};
|
|
582
614
|
value: number;
|
|
583
615
|
}[];
|
|
@@ -811,7 +843,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
811
843
|
};
|
|
812
844
|
maxPromptLength: number;
|
|
813
845
|
supportsImageAttachment: boolean;
|
|
814
|
-
maxAttachedImages: number;
|
|
815
846
|
createdAt: Date;
|
|
816
847
|
updatedAt: Date;
|
|
817
848
|
}[];
|
|
@@ -953,6 +984,7 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
953
984
|
};
|
|
954
985
|
price: number;
|
|
955
986
|
aiModel: string;
|
|
987
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
956
988
|
reasoningEffort?: import("../..").REASONING_EFFORT | null | undefined;
|
|
957
989
|
order: number;
|
|
958
990
|
createdAt: Date;
|
|
@@ -1578,6 +1610,7 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1578
1610
|
icon: string;
|
|
1579
1611
|
price: number;
|
|
1580
1612
|
aiModel: string;
|
|
1613
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
1581
1614
|
reasoningEffort?: import("../..").REASONING_EFFORT | null | undefined;
|
|
1582
1615
|
order: number;
|
|
1583
1616
|
createdAt: Date;
|
|
@@ -1688,18 +1721,49 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1688
1721
|
maxInputVideoDurationInSeconds: number;
|
|
1689
1722
|
supportedFormats: string[];
|
|
1690
1723
|
params: {
|
|
1724
|
+
imageAttachment?: {
|
|
1725
|
+
supported: boolean;
|
|
1726
|
+
maxImages: number;
|
|
1727
|
+
maxFileSizeMb?: number | undefined;
|
|
1728
|
+
} | undefined;
|
|
1729
|
+
referenceImageAttachment?: {
|
|
1730
|
+
supported: boolean;
|
|
1731
|
+
maxImages: number;
|
|
1732
|
+
formats?: string[] | undefined;
|
|
1733
|
+
minWidthToHeightRatio?: number | undefined;
|
|
1734
|
+
maxWidthToHeightRatio?: number | undefined;
|
|
1735
|
+
minWidthPx?: number | undefined;
|
|
1736
|
+
maxWidthPx?: number | undefined;
|
|
1737
|
+
minHeightPx?: number | undefined;
|
|
1738
|
+
maxHeightPx?: number | undefined;
|
|
1739
|
+
maxFileSizeMb?: number | undefined;
|
|
1740
|
+
} | undefined;
|
|
1741
|
+
audioAttachment?: {
|
|
1742
|
+
supported: boolean;
|
|
1743
|
+
maxAudios: number;
|
|
1744
|
+
maxDurationSeconds: number;
|
|
1745
|
+
minDurationSeconds?: number | undefined;
|
|
1746
|
+
maxTotalDurationSeconds?: number | undefined;
|
|
1747
|
+
maxFileSizeMb?: number | undefined;
|
|
1748
|
+
formats?: string[] | undefined;
|
|
1749
|
+
mimeTypes?: string[] | undefined;
|
|
1750
|
+
} | undefined;
|
|
1691
1751
|
duration?: {
|
|
1692
1752
|
options: number[];
|
|
1693
1753
|
} | undefined;
|
|
1694
1754
|
resolution?: {
|
|
1695
1755
|
options: string[];
|
|
1696
1756
|
} | undefined;
|
|
1757
|
+
aspectRatio?: {
|
|
1758
|
+
options: string[];
|
|
1759
|
+
} | undefined;
|
|
1697
1760
|
};
|
|
1698
1761
|
pricingRules: {
|
|
1699
1762
|
type: import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE;
|
|
1700
1763
|
condition: {
|
|
1701
1764
|
duration?: number | undefined;
|
|
1702
1765
|
resolution?: string | undefined;
|
|
1766
|
+
aspectRatio?: string | undefined;
|
|
1703
1767
|
};
|
|
1704
1768
|
value: number;
|
|
1705
1769
|
}[];
|
|
@@ -1933,7 +1997,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1933
1997
|
};
|
|
1934
1998
|
maxPromptLength: number;
|
|
1935
1999
|
supportsImageAttachment: boolean;
|
|
1936
|
-
maxAttachedImages: number;
|
|
1937
2000
|
createdAt: Date;
|
|
1938
2001
|
updatedAt: Date;
|
|
1939
2002
|
}[];
|
|
@@ -2075,6 +2138,7 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
2075
2138
|
};
|
|
2076
2139
|
price: number;
|
|
2077
2140
|
aiModel: string;
|
|
2141
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
2078
2142
|
reasoningEffort?: import("../..").REASONING_EFFORT | null | undefined;
|
|
2079
2143
|
order: number;
|
|
2080
2144
|
createdAt: Date;
|
|
@@ -13,8 +13,27 @@ export declare namespace EditVideoCommand {
|
|
|
13
13
|
tokenReservationId: z.ZodString;
|
|
14
14
|
precalculatedPrice: z.ZodNumber;
|
|
15
15
|
params: z.ZodOptional<z.ZodObject<{
|
|
16
|
+
attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17
|
+
uuid: z.ZodString;
|
|
18
|
+
url: z.ZodString;
|
|
19
|
+
name: z.ZodString;
|
|
20
|
+
mimeType: z.ZodString;
|
|
21
|
+
type: z.ZodString;
|
|
22
|
+
size: z.ZodNumber;
|
|
23
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
24
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
25
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
26
|
+
}, z.core.$strip>>>;
|
|
27
|
+
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
+
imageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29
|
+
videoUrls: z.ZodOptional<z.ZodNever>;
|
|
30
|
+
referenceImages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
+
referenceImageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32
|
+
audioUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33
|
+
audioIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16
34
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
17
35
|
resolution: z.ZodOptional<z.ZodString>;
|
|
36
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
18
37
|
}, z.core.$strip>>;
|
|
19
38
|
}, z.core.$strip>;
|
|
20
39
|
type Request = z.infer<typeof RequestSchema>;
|
|
@@ -37,8 +56,27 @@ export declare namespace EditVideoCommand {
|
|
|
37
56
|
outputVideoId: string | null;
|
|
38
57
|
previewUrl: string | null;
|
|
39
58
|
params?: {
|
|
59
|
+
attachedFiles?: {
|
|
60
|
+
uuid: string;
|
|
61
|
+
url: string;
|
|
62
|
+
name: string;
|
|
63
|
+
mimeType: string;
|
|
64
|
+
type: string;
|
|
65
|
+
size: number;
|
|
66
|
+
duration?: number | null | undefined;
|
|
67
|
+
content?: string | null | undefined;
|
|
68
|
+
contentLength?: number | null | undefined;
|
|
69
|
+
}[] | undefined;
|
|
70
|
+
imageUrls?: string[] | undefined;
|
|
71
|
+
imageIds?: string[] | undefined;
|
|
72
|
+
videoUrls?: undefined;
|
|
73
|
+
referenceImages?: string[] | undefined;
|
|
74
|
+
referenceImageIds?: string[] | undefined;
|
|
75
|
+
audioUrls?: string[] | undefined;
|
|
76
|
+
audioIds?: string[] | undefined;
|
|
40
77
|
duration?: number | undefined;
|
|
41
78
|
resolution?: string | undefined;
|
|
79
|
+
aspectRatio?: string | undefined;
|
|
42
80
|
} | undefined;
|
|
43
81
|
duration: number;
|
|
44
82
|
attempts: any[];
|
|
@@ -69,8 +107,27 @@ export declare namespace EditVideoCommand {
|
|
|
69
107
|
outputVideoId: string | null;
|
|
70
108
|
previewUrl: string | null;
|
|
71
109
|
params?: {
|
|
110
|
+
attachedFiles?: {
|
|
111
|
+
uuid: string;
|
|
112
|
+
url: string;
|
|
113
|
+
name: string;
|
|
114
|
+
mimeType: string;
|
|
115
|
+
type: string;
|
|
116
|
+
size: number;
|
|
117
|
+
duration?: number | null | undefined;
|
|
118
|
+
content?: string | null | undefined;
|
|
119
|
+
contentLength?: number | null | undefined;
|
|
120
|
+
}[] | undefined;
|
|
121
|
+
imageUrls?: string[] | undefined;
|
|
122
|
+
imageIds?: string[] | undefined;
|
|
123
|
+
videoUrls?: undefined;
|
|
124
|
+
referenceImages?: string[] | undefined;
|
|
125
|
+
referenceImageIds?: string[] | undefined;
|
|
126
|
+
audioUrls?: string[] | undefined;
|
|
127
|
+
audioIds?: string[] | undefined;
|
|
72
128
|
duration?: number | undefined;
|
|
73
129
|
resolution?: string | undefined;
|
|
130
|
+
aspectRatio?: string | undefined;
|
|
74
131
|
} | undefined;
|
|
75
132
|
duration: number;
|
|
76
133
|
attempts: any[];
|
|
@@ -13,7 +13,7 @@ var EditVideoCommand;
|
|
|
13
13
|
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
14
14
|
prompt: zod_1.z.string(),
|
|
15
15
|
inputVideoId: zod_1.z.string().uuid(),
|
|
16
|
-
inputVideoUrl: zod_1.z.string(),
|
|
16
|
+
inputVideoUrl: zod_1.z.string().min(1),
|
|
17
17
|
duration: zod_1.z.number(),
|
|
18
18
|
modelId: zod_1.z.string().uuid(),
|
|
19
19
|
tokenReservationId: zod_1.z.string().uuid(),
|
|
@@ -5,6 +5,7 @@ export declare namespace GetVideoEditorPriceCommand {
|
|
|
5
5
|
params: z.ZodObject<{
|
|
6
6
|
duration: z.ZodNumber;
|
|
7
7
|
resolution: z.ZodOptional<z.ZodString>;
|
|
8
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
8
9
|
}, z.core.$strip>;
|
|
9
10
|
}, z.core.$strip>;
|
|
10
11
|
type Request = z.infer<typeof RequestSchema>;
|
|
@@ -12,8 +12,27 @@ export declare namespace RetryVideoEditorJobCommand {
|
|
|
12
12
|
tokenReservationId: z.ZodString;
|
|
13
13
|
precalculatedPrice: z.ZodNumber;
|
|
14
14
|
params: z.ZodOptional<z.ZodObject<{
|
|
15
|
+
attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16
|
+
uuid: z.ZodString;
|
|
17
|
+
url: z.ZodString;
|
|
18
|
+
name: z.ZodString;
|
|
19
|
+
mimeType: z.ZodString;
|
|
20
|
+
type: z.ZodString;
|
|
21
|
+
size: z.ZodNumber;
|
|
22
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
23
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
24
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
25
|
+
}, z.core.$strip>>>;
|
|
26
|
+
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
+
imageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
+
videoUrls: z.ZodOptional<z.ZodNever>;
|
|
29
|
+
referenceImages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30
|
+
referenceImageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
+
audioUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32
|
+
audioIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15
33
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
16
34
|
resolution: z.ZodOptional<z.ZodString>;
|
|
35
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
17
36
|
}, z.core.$strip>>;
|
|
18
37
|
}, z.core.$strip>;
|
|
19
38
|
type Request = z.infer<typeof RequestSchema>;
|
|
@@ -36,8 +55,27 @@ export declare namespace RetryVideoEditorJobCommand {
|
|
|
36
55
|
outputVideoId: string | null;
|
|
37
56
|
previewUrl: string | null;
|
|
38
57
|
params?: {
|
|
58
|
+
attachedFiles?: {
|
|
59
|
+
uuid: string;
|
|
60
|
+
url: string;
|
|
61
|
+
name: string;
|
|
62
|
+
mimeType: string;
|
|
63
|
+
type: string;
|
|
64
|
+
size: number;
|
|
65
|
+
duration?: number | null | undefined;
|
|
66
|
+
content?: string | null | undefined;
|
|
67
|
+
contentLength?: number | null | undefined;
|
|
68
|
+
}[] | undefined;
|
|
69
|
+
imageUrls?: string[] | undefined;
|
|
70
|
+
imageIds?: string[] | undefined;
|
|
71
|
+
videoUrls?: undefined;
|
|
72
|
+
referenceImages?: string[] | undefined;
|
|
73
|
+
referenceImageIds?: string[] | undefined;
|
|
74
|
+
audioUrls?: string[] | undefined;
|
|
75
|
+
audioIds?: string[] | undefined;
|
|
39
76
|
duration?: number | undefined;
|
|
40
77
|
resolution?: string | undefined;
|
|
78
|
+
aspectRatio?: string | undefined;
|
|
41
79
|
} | undefined;
|
|
42
80
|
duration: number;
|
|
43
81
|
attempts: any[];
|
|
@@ -68,8 +106,27 @@ export declare namespace RetryVideoEditorJobCommand {
|
|
|
68
106
|
outputVideoId: string | null;
|
|
69
107
|
previewUrl: string | null;
|
|
70
108
|
params?: {
|
|
109
|
+
attachedFiles?: {
|
|
110
|
+
uuid: string;
|
|
111
|
+
url: string;
|
|
112
|
+
name: string;
|
|
113
|
+
mimeType: string;
|
|
114
|
+
type: string;
|
|
115
|
+
size: number;
|
|
116
|
+
duration?: number | null | undefined;
|
|
117
|
+
content?: string | null | undefined;
|
|
118
|
+
contentLength?: number | null | undefined;
|
|
119
|
+
}[] | undefined;
|
|
120
|
+
imageUrls?: string[] | undefined;
|
|
121
|
+
imageIds?: string[] | undefined;
|
|
122
|
+
videoUrls?: undefined;
|
|
123
|
+
referenceImages?: string[] | undefined;
|
|
124
|
+
referenceImageIds?: string[] | undefined;
|
|
125
|
+
audioUrls?: string[] | undefined;
|
|
126
|
+
audioIds?: string[] | undefined;
|
|
71
127
|
duration?: number | undefined;
|
|
72
128
|
resolution?: string | undefined;
|
|
129
|
+
aspectRatio?: string | undefined;
|
|
73
130
|
} | undefined;
|
|
74
131
|
duration: number;
|
|
75
132
|
attempts: any[];
|
|
@@ -28,8 +28,27 @@ export declare namespace SetReactionToVideoEditorJobCommand {
|
|
|
28
28
|
outputVideoId: string | null;
|
|
29
29
|
previewUrl: string | null;
|
|
30
30
|
params?: {
|
|
31
|
+
attachedFiles?: {
|
|
32
|
+
uuid: string;
|
|
33
|
+
url: string;
|
|
34
|
+
name: string;
|
|
35
|
+
mimeType: string;
|
|
36
|
+
type: string;
|
|
37
|
+
size: number;
|
|
38
|
+
duration?: number | null | undefined;
|
|
39
|
+
content?: string | null | undefined;
|
|
40
|
+
contentLength?: number | null | undefined;
|
|
41
|
+
}[] | undefined;
|
|
42
|
+
imageUrls?: string[] | undefined;
|
|
43
|
+
imageIds?: string[] | undefined;
|
|
44
|
+
videoUrls?: undefined;
|
|
45
|
+
referenceImages?: string[] | undefined;
|
|
46
|
+
referenceImageIds?: string[] | undefined;
|
|
47
|
+
audioUrls?: string[] | undefined;
|
|
48
|
+
audioIds?: string[] | undefined;
|
|
31
49
|
duration?: number | undefined;
|
|
32
50
|
resolution?: string | undefined;
|
|
51
|
+
aspectRatio?: string | undefined;
|
|
33
52
|
} | undefined;
|
|
34
53
|
duration: number;
|
|
35
54
|
attempts: any[];
|
|
@@ -60,8 +79,27 @@ export declare namespace SetReactionToVideoEditorJobCommand {
|
|
|
60
79
|
outputVideoId: string | null;
|
|
61
80
|
previewUrl: string | null;
|
|
62
81
|
params?: {
|
|
82
|
+
attachedFiles?: {
|
|
83
|
+
uuid: string;
|
|
84
|
+
url: string;
|
|
85
|
+
name: string;
|
|
86
|
+
mimeType: string;
|
|
87
|
+
type: string;
|
|
88
|
+
size: number;
|
|
89
|
+
duration?: number | null | undefined;
|
|
90
|
+
content?: string | null | undefined;
|
|
91
|
+
contentLength?: number | null | undefined;
|
|
92
|
+
}[] | undefined;
|
|
93
|
+
imageUrls?: string[] | undefined;
|
|
94
|
+
imageIds?: string[] | undefined;
|
|
95
|
+
videoUrls?: undefined;
|
|
96
|
+
referenceImages?: string[] | undefined;
|
|
97
|
+
referenceImageIds?: string[] | undefined;
|
|
98
|
+
audioUrls?: string[] | undefined;
|
|
99
|
+
audioIds?: string[] | undefined;
|
|
63
100
|
duration?: number | undefined;
|
|
64
101
|
resolution?: string | undefined;
|
|
102
|
+
aspectRatio?: string | undefined;
|
|
65
103
|
} | undefined;
|
|
66
104
|
duration: number;
|
|
67
105
|
attempts: any[];
|