@purpleschool/gptbot-tools 0.2.55 → 0.2.56
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/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/tools/models/global-tools-config.schema.d.ts +31 -1
- package/build/tools/models/tools-with-configs.schema.d.ts +62 -2
- package/build/tools/queries/get-global-tools-config.query.d.ts +62 -2
- package/build/tools/queries/get-tools-with-configs.query.d.ts +62 -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
|
@@ -36,7 +36,6 @@ export declare const MarketplaceCardConfigSchema: z.ZodObject<{
|
|
|
36
36
|
}, z.core.$strip>;
|
|
37
37
|
maxPromptLength: z.ZodNumber;
|
|
38
38
|
supportsImageAttachment: z.ZodBoolean;
|
|
39
|
-
maxAttachedImages: z.ZodNumber;
|
|
40
39
|
createdAt: z.ZodDate;
|
|
41
40
|
updatedAt: z.ZodDate;
|
|
42
41
|
}, z.core.$strip>>;
|
|
@@ -38,7 +38,6 @@ export declare const MarketplaceCardModelSchema: z.ZodObject<{
|
|
|
38
38
|
}, z.core.$strip>;
|
|
39
39
|
maxPromptLength: z.ZodNumber;
|
|
40
40
|
supportsImageAttachment: z.ZodBoolean;
|
|
41
|
-
maxAttachedImages: z.ZodNumber;
|
|
42
41
|
createdAt: z.ZodDate;
|
|
43
42
|
updatedAt: z.ZodDate;
|
|
44
43
|
}, z.core.$strip>;
|
|
@@ -25,7 +25,6 @@ exports.MarketplaceCardModelSchema = zod_1.z.object({
|
|
|
25
25
|
iconVariants: common_1.IconVariantsSchema,
|
|
26
26
|
maxPromptLength: zod_1.z.number(),
|
|
27
27
|
supportsImageAttachment: zod_1.z.boolean(),
|
|
28
|
-
maxAttachedImages: zod_1.z.number(),
|
|
29
28
|
createdAt: zod_1.z.date(),
|
|
30
29
|
updatedAt: zod_1.z.date(),
|
|
31
30
|
});
|
|
@@ -43,7 +43,6 @@ export declare namespace GetMarketplaceCardConfigQuery {
|
|
|
43
43
|
};
|
|
44
44
|
maxPromptLength: number;
|
|
45
45
|
supportsImageAttachment: boolean;
|
|
46
|
-
maxAttachedImages: number;
|
|
47
46
|
createdAt: Date;
|
|
48
47
|
updatedAt: Date;
|
|
49
48
|
}[];
|
|
@@ -84,7 +83,6 @@ export declare namespace GetMarketplaceCardConfigQuery {
|
|
|
84
83
|
};
|
|
85
84
|
maxPromptLength: number;
|
|
86
85
|
supportsImageAttachment: boolean;
|
|
87
|
-
maxAttachedImages: number;
|
|
88
86
|
createdAt: Date;
|
|
89
87
|
updatedAt: Date;
|
|
90
88
|
}[];
|
|
@@ -465,18 +465,49 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
465
465
|
maxInputVideoDurationInSeconds: z.ZodNumber;
|
|
466
466
|
supportedFormats: z.ZodArray<z.ZodString>;
|
|
467
467
|
params: z.ZodObject<{
|
|
468
|
+
imageAttachment: z.ZodOptional<z.ZodObject<{
|
|
469
|
+
supported: z.ZodBoolean;
|
|
470
|
+
maxImages: z.ZodNumber;
|
|
471
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
472
|
+
}, z.core.$strip>>;
|
|
473
|
+
referenceImageAttachment: z.ZodOptional<z.ZodObject<{
|
|
474
|
+
supported: z.ZodBoolean;
|
|
475
|
+
maxImages: z.ZodNumber;
|
|
476
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
477
|
+
minWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
478
|
+
maxWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
479
|
+
minWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
480
|
+
maxWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
481
|
+
minHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
482
|
+
maxHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
483
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
484
|
+
}, z.core.$strip>>;
|
|
485
|
+
audioAttachment: z.ZodOptional<z.ZodObject<{
|
|
486
|
+
supported: z.ZodBoolean;
|
|
487
|
+
maxAudios: z.ZodNumber;
|
|
488
|
+
maxDurationSeconds: z.ZodNumber;
|
|
489
|
+
minDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
490
|
+
maxTotalDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
491
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
492
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
493
|
+
mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
494
|
+
}, z.core.$strip>>;
|
|
468
495
|
duration: z.ZodOptional<z.ZodObject<{
|
|
469
496
|
options: z.ZodArray<z.ZodNumber>;
|
|
470
497
|
}, z.core.$strip>>;
|
|
471
498
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
472
499
|
options: z.ZodArray<z.ZodString>;
|
|
473
500
|
}, z.core.$strip>>;
|
|
501
|
+
aspectRatio: z.ZodOptional<z.ZodObject<{
|
|
502
|
+
options: z.ZodArray<z.ZodString>;
|
|
503
|
+
}, z.core.$strip>>;
|
|
474
504
|
}, z.core.$strip>;
|
|
475
505
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
476
506
|
type: z.ZodEnum<typeof import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE>;
|
|
477
507
|
condition: z.ZodObject<{
|
|
478
508
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
479
509
|
resolution: z.ZodOptional<z.ZodString>;
|
|
510
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
480
511
|
}, z.core.$strip>;
|
|
481
512
|
value: z.ZodNumber;
|
|
482
513
|
}, z.core.$strip>>;
|
|
@@ -674,7 +705,6 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
674
705
|
}, z.core.$strip>;
|
|
675
706
|
maxPromptLength: z.ZodNumber;
|
|
676
707
|
supportsImageAttachment: z.ZodBoolean;
|
|
677
|
-
maxAttachedImages: z.ZodNumber;
|
|
678
708
|
createdAt: z.ZodDate;
|
|
679
709
|
updatedAt: z.ZodDate;
|
|
680
710
|
}, z.core.$strip>>;
|
|
@@ -561,18 +561,49 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
561
561
|
maxInputVideoDurationInSeconds: z.ZodNumber;
|
|
562
562
|
supportedFormats: z.ZodArray<z.ZodString>;
|
|
563
563
|
params: z.ZodObject<{
|
|
564
|
+
imageAttachment: z.ZodOptional<z.ZodObject<{
|
|
565
|
+
supported: z.ZodBoolean;
|
|
566
|
+
maxImages: z.ZodNumber;
|
|
567
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
568
|
+
}, z.core.$strip>>;
|
|
569
|
+
referenceImageAttachment: z.ZodOptional<z.ZodObject<{
|
|
570
|
+
supported: z.ZodBoolean;
|
|
571
|
+
maxImages: z.ZodNumber;
|
|
572
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
573
|
+
minWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
574
|
+
maxWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
575
|
+
minWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
576
|
+
maxWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
577
|
+
minHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
578
|
+
maxHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
579
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
580
|
+
}, z.core.$strip>>;
|
|
581
|
+
audioAttachment: z.ZodOptional<z.ZodObject<{
|
|
582
|
+
supported: z.ZodBoolean;
|
|
583
|
+
maxAudios: z.ZodNumber;
|
|
584
|
+
maxDurationSeconds: z.ZodNumber;
|
|
585
|
+
minDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
586
|
+
maxTotalDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
587
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
588
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
589
|
+
mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
590
|
+
}, z.core.$strip>>;
|
|
564
591
|
duration: z.ZodOptional<z.ZodObject<{
|
|
565
592
|
options: z.ZodArray<z.ZodNumber>;
|
|
566
593
|
}, z.core.$strip>>;
|
|
567
594
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
568
595
|
options: z.ZodArray<z.ZodString>;
|
|
569
596
|
}, z.core.$strip>>;
|
|
597
|
+
aspectRatio: z.ZodOptional<z.ZodObject<{
|
|
598
|
+
options: z.ZodArray<z.ZodString>;
|
|
599
|
+
}, z.core.$strip>>;
|
|
570
600
|
}, z.core.$strip>;
|
|
571
601
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
572
602
|
type: z.ZodEnum<typeof import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE>;
|
|
573
603
|
condition: z.ZodObject<{
|
|
574
604
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
575
605
|
resolution: z.ZodOptional<z.ZodString>;
|
|
606
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
576
607
|
}, z.core.$strip>;
|
|
577
608
|
value: z.ZodNumber;
|
|
578
609
|
}, z.core.$strip>>;
|
|
@@ -806,7 +837,6 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
806
837
|
}, z.core.$strip>;
|
|
807
838
|
maxPromptLength: z.ZodNumber;
|
|
808
839
|
supportsImageAttachment: z.ZodBoolean;
|
|
809
|
-
maxAttachedImages: z.ZodNumber;
|
|
810
840
|
createdAt: z.ZodDate;
|
|
811
841
|
updatedAt: z.ZodDate;
|
|
812
842
|
}, z.core.$strip>>;
|
|
@@ -1687,18 +1717,49 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
1687
1717
|
maxInputVideoDurationInSeconds: z.ZodNumber;
|
|
1688
1718
|
supportedFormats: z.ZodArray<z.ZodString>;
|
|
1689
1719
|
params: z.ZodObject<{
|
|
1720
|
+
imageAttachment: z.ZodOptional<z.ZodObject<{
|
|
1721
|
+
supported: z.ZodBoolean;
|
|
1722
|
+
maxImages: z.ZodNumber;
|
|
1723
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
1724
|
+
}, z.core.$strip>>;
|
|
1725
|
+
referenceImageAttachment: z.ZodOptional<z.ZodObject<{
|
|
1726
|
+
supported: z.ZodBoolean;
|
|
1727
|
+
maxImages: z.ZodNumber;
|
|
1728
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1729
|
+
minWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
1730
|
+
maxWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
1731
|
+
minWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
1732
|
+
maxWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
1733
|
+
minHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
1734
|
+
maxHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
1735
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
1736
|
+
}, z.core.$strip>>;
|
|
1737
|
+
audioAttachment: z.ZodOptional<z.ZodObject<{
|
|
1738
|
+
supported: z.ZodBoolean;
|
|
1739
|
+
maxAudios: z.ZodNumber;
|
|
1740
|
+
maxDurationSeconds: z.ZodNumber;
|
|
1741
|
+
minDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1742
|
+
maxTotalDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1743
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
1744
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1745
|
+
mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1746
|
+
}, z.core.$strip>>;
|
|
1690
1747
|
duration: z.ZodOptional<z.ZodObject<{
|
|
1691
1748
|
options: z.ZodArray<z.ZodNumber>;
|
|
1692
1749
|
}, z.core.$strip>>;
|
|
1693
1750
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
1694
1751
|
options: z.ZodArray<z.ZodString>;
|
|
1695
1752
|
}, z.core.$strip>>;
|
|
1753
|
+
aspectRatio: z.ZodOptional<z.ZodObject<{
|
|
1754
|
+
options: z.ZodArray<z.ZodString>;
|
|
1755
|
+
}, z.core.$strip>>;
|
|
1696
1756
|
}, z.core.$strip>;
|
|
1697
1757
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
1698
1758
|
type: z.ZodEnum<typeof import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE>;
|
|
1699
1759
|
condition: z.ZodObject<{
|
|
1700
1760
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
1701
1761
|
resolution: z.ZodOptional<z.ZodString>;
|
|
1762
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
1702
1763
|
}, z.core.$strip>;
|
|
1703
1764
|
value: z.ZodNumber;
|
|
1704
1765
|
}, z.core.$strip>>;
|
|
@@ -1932,7 +1993,6 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
1932
1993
|
}, z.core.$strip>;
|
|
1933
1994
|
maxPromptLength: z.ZodNumber;
|
|
1934
1995
|
supportsImageAttachment: z.ZodBoolean;
|
|
1935
|
-
maxAttachedImages: z.ZodNumber;
|
|
1936
1996
|
createdAt: z.ZodDate;
|
|
1937
1997
|
updatedAt: z.ZodDate;
|
|
1938
1998
|
}, z.core.$strip>>;
|
|
@@ -472,18 +472,49 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
472
472
|
maxInputVideoDurationInSeconds: number;
|
|
473
473
|
supportedFormats: string[];
|
|
474
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;
|
|
475
502
|
duration?: {
|
|
476
503
|
options: number[];
|
|
477
504
|
} | undefined;
|
|
478
505
|
resolution?: {
|
|
479
506
|
options: string[];
|
|
480
507
|
} | undefined;
|
|
508
|
+
aspectRatio?: {
|
|
509
|
+
options: string[];
|
|
510
|
+
} | undefined;
|
|
481
511
|
};
|
|
482
512
|
pricingRules: {
|
|
483
513
|
type: import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE;
|
|
484
514
|
condition: {
|
|
485
515
|
duration?: number | undefined;
|
|
486
516
|
resolution?: string | undefined;
|
|
517
|
+
aspectRatio?: string | undefined;
|
|
487
518
|
};
|
|
488
519
|
value: number;
|
|
489
520
|
}[];
|
|
@@ -681,7 +712,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
681
712
|
};
|
|
682
713
|
maxPromptLength: number;
|
|
683
714
|
supportsImageAttachment: boolean;
|
|
684
|
-
maxAttachedImages: number;
|
|
685
715
|
createdAt: Date;
|
|
686
716
|
updatedAt: Date;
|
|
687
717
|
}[];
|
|
@@ -1393,18 +1423,49 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1393
1423
|
maxInputVideoDurationInSeconds: number;
|
|
1394
1424
|
supportedFormats: string[];
|
|
1395
1425
|
params: {
|
|
1426
|
+
imageAttachment?: {
|
|
1427
|
+
supported: boolean;
|
|
1428
|
+
maxImages: number;
|
|
1429
|
+
maxFileSizeMb?: number | undefined;
|
|
1430
|
+
} | undefined;
|
|
1431
|
+
referenceImageAttachment?: {
|
|
1432
|
+
supported: boolean;
|
|
1433
|
+
maxImages: number;
|
|
1434
|
+
formats?: string[] | undefined;
|
|
1435
|
+
minWidthToHeightRatio?: number | undefined;
|
|
1436
|
+
maxWidthToHeightRatio?: number | undefined;
|
|
1437
|
+
minWidthPx?: number | undefined;
|
|
1438
|
+
maxWidthPx?: number | undefined;
|
|
1439
|
+
minHeightPx?: number | undefined;
|
|
1440
|
+
maxHeightPx?: number | undefined;
|
|
1441
|
+
maxFileSizeMb?: number | undefined;
|
|
1442
|
+
} | undefined;
|
|
1443
|
+
audioAttachment?: {
|
|
1444
|
+
supported: boolean;
|
|
1445
|
+
maxAudios: number;
|
|
1446
|
+
maxDurationSeconds: number;
|
|
1447
|
+
minDurationSeconds?: number | undefined;
|
|
1448
|
+
maxTotalDurationSeconds?: number | undefined;
|
|
1449
|
+
maxFileSizeMb?: number | undefined;
|
|
1450
|
+
formats?: string[] | undefined;
|
|
1451
|
+
mimeTypes?: string[] | undefined;
|
|
1452
|
+
} | undefined;
|
|
1396
1453
|
duration?: {
|
|
1397
1454
|
options: number[];
|
|
1398
1455
|
} | undefined;
|
|
1399
1456
|
resolution?: {
|
|
1400
1457
|
options: string[];
|
|
1401
1458
|
} | undefined;
|
|
1459
|
+
aspectRatio?: {
|
|
1460
|
+
options: string[];
|
|
1461
|
+
} | undefined;
|
|
1402
1462
|
};
|
|
1403
1463
|
pricingRules: {
|
|
1404
1464
|
type: import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE;
|
|
1405
1465
|
condition: {
|
|
1406
1466
|
duration?: number | undefined;
|
|
1407
1467
|
resolution?: string | undefined;
|
|
1468
|
+
aspectRatio?: string | undefined;
|
|
1408
1469
|
};
|
|
1409
1470
|
value: number;
|
|
1410
1471
|
}[];
|
|
@@ -1602,7 +1663,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1602
1663
|
};
|
|
1603
1664
|
maxPromptLength: number;
|
|
1604
1665
|
supportsImageAttachment: boolean;
|
|
1605
|
-
maxAttachedImages: number;
|
|
1606
1666
|
createdAt: Date;
|
|
1607
1667
|
updatedAt: Date;
|
|
1608
1668
|
}[];
|
|
@@ -567,18 +567,49 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
567
567
|
maxInputVideoDurationInSeconds: number;
|
|
568
568
|
supportedFormats: string[];
|
|
569
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;
|
|
570
597
|
duration?: {
|
|
571
598
|
options: number[];
|
|
572
599
|
} | undefined;
|
|
573
600
|
resolution?: {
|
|
574
601
|
options: string[];
|
|
575
602
|
} | undefined;
|
|
603
|
+
aspectRatio?: {
|
|
604
|
+
options: string[];
|
|
605
|
+
} | undefined;
|
|
576
606
|
};
|
|
577
607
|
pricingRules: {
|
|
578
608
|
type: import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE;
|
|
579
609
|
condition: {
|
|
580
610
|
duration?: number | undefined;
|
|
581
611
|
resolution?: string | undefined;
|
|
612
|
+
aspectRatio?: string | undefined;
|
|
582
613
|
};
|
|
583
614
|
value: number;
|
|
584
615
|
}[];
|
|
@@ -812,7 +843,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
812
843
|
};
|
|
813
844
|
maxPromptLength: number;
|
|
814
845
|
supportsImageAttachment: boolean;
|
|
815
|
-
maxAttachedImages: number;
|
|
816
846
|
createdAt: Date;
|
|
817
847
|
updatedAt: Date;
|
|
818
848
|
}[];
|
|
@@ -1691,18 +1721,49 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1691
1721
|
maxInputVideoDurationInSeconds: number;
|
|
1692
1722
|
supportedFormats: string[];
|
|
1693
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;
|
|
1694
1751
|
duration?: {
|
|
1695
1752
|
options: number[];
|
|
1696
1753
|
} | undefined;
|
|
1697
1754
|
resolution?: {
|
|
1698
1755
|
options: string[];
|
|
1699
1756
|
} | undefined;
|
|
1757
|
+
aspectRatio?: {
|
|
1758
|
+
options: string[];
|
|
1759
|
+
} | undefined;
|
|
1700
1760
|
};
|
|
1701
1761
|
pricingRules: {
|
|
1702
1762
|
type: import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE;
|
|
1703
1763
|
condition: {
|
|
1704
1764
|
duration?: number | undefined;
|
|
1705
1765
|
resolution?: string | undefined;
|
|
1766
|
+
aspectRatio?: string | undefined;
|
|
1706
1767
|
};
|
|
1707
1768
|
value: number;
|
|
1708
1769
|
}[];
|
|
@@ -1936,7 +1997,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1936
1997
|
};
|
|
1937
1998
|
maxPromptLength: number;
|
|
1938
1999
|
supportsImageAttachment: boolean;
|
|
1939
|
-
maxAttachedImages: number;
|
|
1940
2000
|
createdAt: Date;
|
|
1941
2001
|
updatedAt: Date;
|
|
1942
2002
|
}[];
|
|
@@ -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[];
|