@cueframe/studio-contracts 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +610 -101
- package/dist/index.js +42 -21
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -18412,7 +18412,7 @@ declare const BrandKitListProjection: z.ZodObject<{
|
|
|
18412
18412
|
nextCursor: string | null;
|
|
18413
18413
|
done: boolean;
|
|
18414
18414
|
}>;
|
|
18415
|
-
declare const UpsertBrandKitInput: z.ZodObject<{
|
|
18415
|
+
declare const UpsertBrandKitInput: z.ZodEffects<z.ZodObject<{
|
|
18416
18416
|
commandId: z.ZodString;
|
|
18417
18417
|
brandKit: z.ZodObject<{
|
|
18418
18418
|
id: z.ZodString;
|
|
@@ -18608,6 +18608,74 @@ declare const UpsertBrandKitInput: z.ZodObject<{
|
|
|
18608
18608
|
secondaryTagline?: string | undefined;
|
|
18609
18609
|
captionProfile?: Record<string, JsonValue> | undefined;
|
|
18610
18610
|
};
|
|
18611
|
+
}>, {
|
|
18612
|
+
commandId: string;
|
|
18613
|
+
brandKit: {
|
|
18614
|
+
name: string;
|
|
18615
|
+
id: string;
|
|
18616
|
+
createdAt: number;
|
|
18617
|
+
colors: {
|
|
18618
|
+
text: string;
|
|
18619
|
+
primary: string;
|
|
18620
|
+
secondary: string;
|
|
18621
|
+
accent: string;
|
|
18622
|
+
background: string;
|
|
18623
|
+
};
|
|
18624
|
+
extraColors: {
|
|
18625
|
+
hex: string;
|
|
18626
|
+
label: string;
|
|
18627
|
+
usage?: string | undefined;
|
|
18628
|
+
}[];
|
|
18629
|
+
headingFont: {
|
|
18630
|
+
fontFamily: string;
|
|
18631
|
+
fontWeight: number;
|
|
18632
|
+
};
|
|
18633
|
+
bodyFont: {
|
|
18634
|
+
fontFamily: string;
|
|
18635
|
+
fontWeight: number;
|
|
18636
|
+
};
|
|
18637
|
+
voiceGuidelines: string;
|
|
18638
|
+
syncCaptions: boolean;
|
|
18639
|
+
modifiedAt: number;
|
|
18640
|
+
description?: string | undefined;
|
|
18641
|
+
tagline?: string | undefined;
|
|
18642
|
+
secondaryTagline?: string | undefined;
|
|
18643
|
+
captionProfile?: Record<string, JsonValue> | undefined;
|
|
18644
|
+
};
|
|
18645
|
+
}, {
|
|
18646
|
+
commandId: string;
|
|
18647
|
+
brandKit: {
|
|
18648
|
+
name: string;
|
|
18649
|
+
id: string;
|
|
18650
|
+
createdAt: number;
|
|
18651
|
+
colors: {
|
|
18652
|
+
text: string;
|
|
18653
|
+
primary: string;
|
|
18654
|
+
secondary: string;
|
|
18655
|
+
accent: string;
|
|
18656
|
+
background: string;
|
|
18657
|
+
};
|
|
18658
|
+
extraColors: {
|
|
18659
|
+
hex: string;
|
|
18660
|
+
label: string;
|
|
18661
|
+
usage?: string | undefined;
|
|
18662
|
+
}[];
|
|
18663
|
+
headingFont: {
|
|
18664
|
+
fontFamily: string;
|
|
18665
|
+
fontWeight: number;
|
|
18666
|
+
};
|
|
18667
|
+
bodyFont: {
|
|
18668
|
+
fontFamily: string;
|
|
18669
|
+
fontWeight: number;
|
|
18670
|
+
};
|
|
18671
|
+
voiceGuidelines: string;
|
|
18672
|
+
syncCaptions: boolean;
|
|
18673
|
+
modifiedAt: number;
|
|
18674
|
+
description?: string | undefined;
|
|
18675
|
+
tagline?: string | undefined;
|
|
18676
|
+
secondaryTagline?: string | undefined;
|
|
18677
|
+
captionProfile?: Record<string, JsonValue> | undefined;
|
|
18678
|
+
};
|
|
18611
18679
|
}>;
|
|
18612
18680
|
declare const BrandKitMutationProjection: z.ZodObject<{
|
|
18613
18681
|
commandId: z.ZodString;
|
|
@@ -19686,7 +19754,7 @@ declare const TimelineWordInput: z.ZodObject<{
|
|
|
19686
19754
|
sourceEnd: number;
|
|
19687
19755
|
speakerId: string | null;
|
|
19688
19756
|
}>;
|
|
19689
|
-
declare const AnalyzeTimelineInput: z.ZodObject<{
|
|
19757
|
+
declare const AnalyzeTimelineInput: z.ZodEffects<z.ZodObject<{
|
|
19690
19758
|
words: z.ZodArray<z.ZodObject<{
|
|
19691
19759
|
text: z.ZodString;
|
|
19692
19760
|
timelineStart: z.ZodNumber;
|
|
@@ -19737,6 +19805,28 @@ declare const AnalyzeTimelineInput: z.ZodObject<{
|
|
|
19737
19805
|
sourceEnd: number;
|
|
19738
19806
|
speakerId: string | null;
|
|
19739
19807
|
}[];
|
|
19808
|
+
}>, {
|
|
19809
|
+
words: {
|
|
19810
|
+
text: string;
|
|
19811
|
+
timelineStart: number;
|
|
19812
|
+
timelineEnd: number;
|
|
19813
|
+
clipId: string;
|
|
19814
|
+
poolItemId: string;
|
|
19815
|
+
sourceStart: number;
|
|
19816
|
+
sourceEnd: number;
|
|
19817
|
+
speakerId: string | null;
|
|
19818
|
+
}[];
|
|
19819
|
+
}, {
|
|
19820
|
+
words: {
|
|
19821
|
+
text: string;
|
|
19822
|
+
timelineStart: number;
|
|
19823
|
+
timelineEnd: number;
|
|
19824
|
+
clipId: string;
|
|
19825
|
+
poolItemId: string;
|
|
19826
|
+
sourceStart: number;
|
|
19827
|
+
sourceEnd: number;
|
|
19828
|
+
speakerId: string | null;
|
|
19829
|
+
}[];
|
|
19740
19830
|
}>;
|
|
19741
19831
|
declare const AnalyzeTimelineProjection: z.ZodObject<{
|
|
19742
19832
|
fillers: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -19805,7 +19895,7 @@ declare const MediaFactInput: z.ZodObject<{
|
|
|
19805
19895
|
};
|
|
19806
19896
|
mediaId: string;
|
|
19807
19897
|
}>;
|
|
19808
|
-
declare const MediaFactResolutionProjection: z.ZodObject<{
|
|
19898
|
+
declare const MediaFactResolutionProjection: z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
19809
19899
|
kind: z.ZodEnum<["subjectTrack", "matte"]>;
|
|
19810
19900
|
scope: z.ZodEffects<z.ZodObject<{
|
|
19811
19901
|
startSec: z.ZodNumber;
|
|
@@ -19823,8 +19913,8 @@ declare const MediaFactResolutionProjection: z.ZodObject<{
|
|
|
19823
19913
|
startSec: number;
|
|
19824
19914
|
endSec: number;
|
|
19825
19915
|
}>;
|
|
19826
|
-
state: z.ZodEnum<["pending", "ready", "failed"
|
|
19827
|
-
fact: z.
|
|
19916
|
+
state: z.ZodEnum<["pending", "ready", "failed"]>;
|
|
19917
|
+
fact: z.ZodObject<{
|
|
19828
19918
|
status: z.ZodEnum<["pending", "ready", "failed"]>;
|
|
19829
19919
|
summary: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodNumber>, Record<string, number>, Record<string, number>>>;
|
|
19830
19920
|
readyAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -19854,28 +19944,15 @@ declare const MediaFactResolutionProjection: z.ZodObject<{
|
|
|
19854
19944
|
} | undefined;
|
|
19855
19945
|
summary?: Record<string, number> | undefined;
|
|
19856
19946
|
readyAt?: number | undefined;
|
|
19857
|
-
}
|
|
19858
|
-
offer: z.ZodOptional<z.ZodObject<{
|
|
19859
|
-
quotedUsd: z.ZodNumber;
|
|
19860
|
-
available: z.ZodBoolean;
|
|
19861
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
19862
|
-
}, "strip", z.ZodTypeAny, {
|
|
19863
|
-
available: boolean;
|
|
19864
|
-
quotedUsd: number;
|
|
19865
|
-
reason?: string | undefined;
|
|
19866
|
-
}, {
|
|
19867
|
-
available: boolean;
|
|
19868
|
-
quotedUsd: number;
|
|
19869
|
-
reason?: string | undefined;
|
|
19870
|
-
}>>;
|
|
19947
|
+
}>;
|
|
19871
19948
|
}, "strip", z.ZodTypeAny, {
|
|
19872
19949
|
kind: "subjectTrack" | "matte";
|
|
19873
19950
|
scope: {
|
|
19874
19951
|
startSec: number;
|
|
19875
19952
|
endSec: number;
|
|
19876
19953
|
};
|
|
19877
|
-
state: "pending" | "ready" | "failed"
|
|
19878
|
-
fact
|
|
19954
|
+
state: "pending" | "ready" | "failed";
|
|
19955
|
+
fact: {
|
|
19879
19956
|
status: "pending" | "ready" | "failed";
|
|
19880
19957
|
error?: {
|
|
19881
19958
|
code: string;
|
|
@@ -19883,20 +19960,15 @@ declare const MediaFactResolutionProjection: z.ZodObject<{
|
|
|
19883
19960
|
} | undefined;
|
|
19884
19961
|
summary?: Record<string, number> | undefined;
|
|
19885
19962
|
readyAt?: number | undefined;
|
|
19886
|
-
}
|
|
19887
|
-
offer?: {
|
|
19888
|
-
available: boolean;
|
|
19889
|
-
quotedUsd: number;
|
|
19890
|
-
reason?: string | undefined;
|
|
19891
|
-
} | undefined;
|
|
19963
|
+
};
|
|
19892
19964
|
}, {
|
|
19893
19965
|
kind: "subjectTrack" | "matte";
|
|
19894
19966
|
scope: {
|
|
19895
19967
|
startSec: number;
|
|
19896
19968
|
endSec: number;
|
|
19897
19969
|
};
|
|
19898
|
-
state: "pending" | "ready" | "failed"
|
|
19899
|
-
fact
|
|
19970
|
+
state: "pending" | "ready" | "failed";
|
|
19971
|
+
fact: {
|
|
19900
19972
|
status: "pending" | "ready" | "failed";
|
|
19901
19973
|
error?: {
|
|
19902
19974
|
code: string;
|
|
@@ -19904,13 +19976,65 @@ declare const MediaFactResolutionProjection: z.ZodObject<{
|
|
|
19904
19976
|
} | undefined;
|
|
19905
19977
|
summary?: Record<string, number> | undefined;
|
|
19906
19978
|
readyAt?: number | undefined;
|
|
19907
|
-
}
|
|
19908
|
-
|
|
19979
|
+
};
|
|
19980
|
+
}>, z.ZodObject<{
|
|
19981
|
+
kind: z.ZodEnum<["subjectTrack", "matte"]>;
|
|
19982
|
+
scope: z.ZodEffects<z.ZodObject<{
|
|
19983
|
+
startSec: z.ZodNumber;
|
|
19984
|
+
endSec: z.ZodNumber;
|
|
19985
|
+
}, "strip", z.ZodTypeAny, {
|
|
19986
|
+
startSec: number;
|
|
19987
|
+
endSec: number;
|
|
19988
|
+
}, {
|
|
19989
|
+
startSec: number;
|
|
19990
|
+
endSec: number;
|
|
19991
|
+
}>, {
|
|
19992
|
+
startSec: number;
|
|
19993
|
+
endSec: number;
|
|
19994
|
+
}, {
|
|
19995
|
+
startSec: number;
|
|
19996
|
+
endSec: number;
|
|
19997
|
+
}>;
|
|
19998
|
+
state: z.ZodEnum<["available", "unavailable"]>;
|
|
19999
|
+
offer: z.ZodObject<{
|
|
20000
|
+
quotedUsd: z.ZodNumber;
|
|
20001
|
+
available: z.ZodBoolean;
|
|
20002
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
20003
|
+
}, "strip", z.ZodTypeAny, {
|
|
20004
|
+
quotedUsd: number;
|
|
20005
|
+
available: boolean;
|
|
20006
|
+
reason?: string | undefined;
|
|
20007
|
+
}, {
|
|
20008
|
+
quotedUsd: number;
|
|
19909
20009
|
available: boolean;
|
|
20010
|
+
reason?: string | undefined;
|
|
20011
|
+
}>;
|
|
20012
|
+
}, "strip", z.ZodTypeAny, {
|
|
20013
|
+
kind: "subjectTrack" | "matte";
|
|
20014
|
+
scope: {
|
|
20015
|
+
startSec: number;
|
|
20016
|
+
endSec: number;
|
|
20017
|
+
};
|
|
20018
|
+
state: "available" | "unavailable";
|
|
20019
|
+
offer: {
|
|
19910
20020
|
quotedUsd: number;
|
|
20021
|
+
available: boolean;
|
|
19911
20022
|
reason?: string | undefined;
|
|
19912
|
-
}
|
|
19913
|
-
}
|
|
20023
|
+
};
|
|
20024
|
+
}, {
|
|
20025
|
+
kind: "subjectTrack" | "matte";
|
|
20026
|
+
scope: {
|
|
20027
|
+
startSec: number;
|
|
20028
|
+
endSec: number;
|
|
20029
|
+
};
|
|
20030
|
+
state: "available" | "unavailable";
|
|
20031
|
+
offer: {
|
|
20032
|
+
quotedUsd: number;
|
|
20033
|
+
available: boolean;
|
|
20034
|
+
reason?: string | undefined;
|
|
20035
|
+
};
|
|
20036
|
+
}>]>;
|
|
20037
|
+
type MediaFactResolutionProjection = z.infer<typeof MediaFactResolutionProjection>;
|
|
19914
20038
|
declare const PurchaseMediaFactInput: z.ZodObject<{
|
|
19915
20039
|
mediaId: z.ZodString;
|
|
19916
20040
|
kind: z.ZodEnum<["subjectTrack", "matte"]>;
|
|
@@ -21033,6 +21157,17 @@ declare const STUDIO_OPERATIONS: {
|
|
|
21033
21157
|
items: z.ZodArray<z.ZodObject<{
|
|
21034
21158
|
id: z.ZodString;
|
|
21035
21159
|
name: z.ZodString;
|
|
21160
|
+
description: z.ZodOptional<z.ZodString>;
|
|
21161
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
21162
|
+
width: z.ZodNumber;
|
|
21163
|
+
height: z.ZodNumber;
|
|
21164
|
+
}, "strip", z.ZodTypeAny, {
|
|
21165
|
+
width: number;
|
|
21166
|
+
height: number;
|
|
21167
|
+
}, {
|
|
21168
|
+
width: number;
|
|
21169
|
+
height: number;
|
|
21170
|
+
}>>;
|
|
21036
21171
|
createdAt: z.ZodNumber;
|
|
21037
21172
|
updatedAt: z.ZodNumber;
|
|
21038
21173
|
} & {
|
|
@@ -21043,12 +21178,22 @@ declare const STUDIO_OPERATIONS: {
|
|
|
21043
21178
|
id: string;
|
|
21044
21179
|
createdAt: number;
|
|
21045
21180
|
updatedAt: number;
|
|
21181
|
+
description?: string | undefined;
|
|
21182
|
+
settings?: {
|
|
21183
|
+
width: number;
|
|
21184
|
+
height: number;
|
|
21185
|
+
} | undefined;
|
|
21046
21186
|
}, {
|
|
21047
21187
|
revision: number;
|
|
21048
21188
|
name: string;
|
|
21049
21189
|
id: string;
|
|
21050
21190
|
createdAt: number;
|
|
21051
21191
|
updatedAt: number;
|
|
21192
|
+
description?: string | undefined;
|
|
21193
|
+
settings?: {
|
|
21194
|
+
width: number;
|
|
21195
|
+
height: number;
|
|
21196
|
+
} | undefined;
|
|
21052
21197
|
}>, "many">;
|
|
21053
21198
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
21054
21199
|
done: z.ZodBoolean;
|
|
@@ -21059,6 +21204,11 @@ declare const STUDIO_OPERATIONS: {
|
|
|
21059
21204
|
id: string;
|
|
21060
21205
|
createdAt: number;
|
|
21061
21206
|
updatedAt: number;
|
|
21207
|
+
description?: string | undefined;
|
|
21208
|
+
settings?: {
|
|
21209
|
+
width: number;
|
|
21210
|
+
height: number;
|
|
21211
|
+
} | undefined;
|
|
21062
21212
|
}[];
|
|
21063
21213
|
nextCursor: string | null;
|
|
21064
21214
|
done: boolean;
|
|
@@ -21069,6 +21219,11 @@ declare const STUDIO_OPERATIONS: {
|
|
|
21069
21219
|
id: string;
|
|
21070
21220
|
createdAt: number;
|
|
21071
21221
|
updatedAt: number;
|
|
21222
|
+
description?: string | undefined;
|
|
21223
|
+
settings?: {
|
|
21224
|
+
width: number;
|
|
21225
|
+
height: number;
|
|
21226
|
+
} | undefined;
|
|
21072
21227
|
}[];
|
|
21073
21228
|
nextCursor: string | null;
|
|
21074
21229
|
done: boolean;
|
|
@@ -21092,6 +21247,17 @@ declare const STUDIO_OPERATIONS: {
|
|
|
21092
21247
|
project: z.ZodObject<{
|
|
21093
21248
|
id: z.ZodString;
|
|
21094
21249
|
name: z.ZodString;
|
|
21250
|
+
description: z.ZodOptional<z.ZodString>;
|
|
21251
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
21252
|
+
width: z.ZodNumber;
|
|
21253
|
+
height: z.ZodNumber;
|
|
21254
|
+
}, "strip", z.ZodTypeAny, {
|
|
21255
|
+
width: number;
|
|
21256
|
+
height: number;
|
|
21257
|
+
}, {
|
|
21258
|
+
width: number;
|
|
21259
|
+
height: number;
|
|
21260
|
+
}>>;
|
|
21095
21261
|
createdAt: z.ZodNumber;
|
|
21096
21262
|
updatedAt: z.ZodNumber;
|
|
21097
21263
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -21099,11 +21265,21 @@ declare const STUDIO_OPERATIONS: {
|
|
|
21099
21265
|
id: string;
|
|
21100
21266
|
createdAt: number;
|
|
21101
21267
|
updatedAt: number;
|
|
21268
|
+
description?: string | undefined;
|
|
21269
|
+
settings?: {
|
|
21270
|
+
width: number;
|
|
21271
|
+
height: number;
|
|
21272
|
+
} | undefined;
|
|
21102
21273
|
}, {
|
|
21103
21274
|
name: string;
|
|
21104
21275
|
id: string;
|
|
21105
21276
|
createdAt: number;
|
|
21106
21277
|
updatedAt: number;
|
|
21278
|
+
description?: string | undefined;
|
|
21279
|
+
settings?: {
|
|
21280
|
+
width: number;
|
|
21281
|
+
height: number;
|
|
21282
|
+
} | undefined;
|
|
21107
21283
|
}>;
|
|
21108
21284
|
activeComposition: z.ZodNullable<z.ZodObject<{
|
|
21109
21285
|
id: z.ZodString;
|
|
@@ -22818,6 +22994,11 @@ declare const STUDIO_OPERATIONS: {
|
|
|
22818
22994
|
id: string;
|
|
22819
22995
|
createdAt: number;
|
|
22820
22996
|
updatedAt: number;
|
|
22997
|
+
description?: string | undefined;
|
|
22998
|
+
settings?: {
|
|
22999
|
+
width: number;
|
|
23000
|
+
height: number;
|
|
23001
|
+
} | undefined;
|
|
22821
23002
|
};
|
|
22822
23003
|
activeComposition: {
|
|
22823
23004
|
composition: {
|
|
@@ -23110,6 +23291,11 @@ declare const STUDIO_OPERATIONS: {
|
|
|
23110
23291
|
id: string;
|
|
23111
23292
|
createdAt: number;
|
|
23112
23293
|
updatedAt: number;
|
|
23294
|
+
description?: string | undefined;
|
|
23295
|
+
settings?: {
|
|
23296
|
+
width: number;
|
|
23297
|
+
height: number;
|
|
23298
|
+
} | undefined;
|
|
23113
23299
|
};
|
|
23114
23300
|
activeComposition: {
|
|
23115
23301
|
composition: {
|
|
@@ -23297,6 +23483,17 @@ declare const STUDIO_OPERATIONS: {
|
|
|
23297
23483
|
project: z.ZodObject<{
|
|
23298
23484
|
id: z.ZodString;
|
|
23299
23485
|
name: z.ZodString;
|
|
23486
|
+
description: z.ZodOptional<z.ZodString>;
|
|
23487
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
23488
|
+
width: z.ZodNumber;
|
|
23489
|
+
height: z.ZodNumber;
|
|
23490
|
+
}, "strip", z.ZodTypeAny, {
|
|
23491
|
+
width: number;
|
|
23492
|
+
height: number;
|
|
23493
|
+
}, {
|
|
23494
|
+
width: number;
|
|
23495
|
+
height: number;
|
|
23496
|
+
}>>;
|
|
23300
23497
|
createdAt: z.ZodNumber;
|
|
23301
23498
|
updatedAt: z.ZodNumber;
|
|
23302
23499
|
} & {
|
|
@@ -23307,12 +23504,22 @@ declare const STUDIO_OPERATIONS: {
|
|
|
23307
23504
|
id: string;
|
|
23308
23505
|
createdAt: number;
|
|
23309
23506
|
updatedAt: number;
|
|
23507
|
+
description?: string | undefined;
|
|
23508
|
+
settings?: {
|
|
23509
|
+
width: number;
|
|
23510
|
+
height: number;
|
|
23511
|
+
} | undefined;
|
|
23310
23512
|
}, {
|
|
23311
23513
|
revision: number;
|
|
23312
23514
|
name: string;
|
|
23313
23515
|
id: string;
|
|
23314
23516
|
createdAt: number;
|
|
23315
23517
|
updatedAt: number;
|
|
23518
|
+
description?: string | undefined;
|
|
23519
|
+
settings?: {
|
|
23520
|
+
width: number;
|
|
23521
|
+
height: number;
|
|
23522
|
+
} | undefined;
|
|
23316
23523
|
}>;
|
|
23317
23524
|
revision: z.ZodNumber;
|
|
23318
23525
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -23324,6 +23531,11 @@ declare const STUDIO_OPERATIONS: {
|
|
|
23324
23531
|
id: string;
|
|
23325
23532
|
createdAt: number;
|
|
23326
23533
|
updatedAt: number;
|
|
23534
|
+
description?: string | undefined;
|
|
23535
|
+
settings?: {
|
|
23536
|
+
width: number;
|
|
23537
|
+
height: number;
|
|
23538
|
+
} | undefined;
|
|
23327
23539
|
};
|
|
23328
23540
|
}, {
|
|
23329
23541
|
commandId: string;
|
|
@@ -23334,6 +23546,11 @@ declare const STUDIO_OPERATIONS: {
|
|
|
23334
23546
|
id: string;
|
|
23335
23547
|
createdAt: number;
|
|
23336
23548
|
updatedAt: number;
|
|
23549
|
+
description?: string | undefined;
|
|
23550
|
+
settings?: {
|
|
23551
|
+
width: number;
|
|
23552
|
+
height: number;
|
|
23553
|
+
} | undefined;
|
|
23337
23554
|
};
|
|
23338
23555
|
}>;
|
|
23339
23556
|
readonly durable: true;
|
|
@@ -23406,6 +23623,17 @@ declare const STUDIO_OPERATIONS: {
|
|
|
23406
23623
|
project: z.ZodObject<{
|
|
23407
23624
|
id: z.ZodString;
|
|
23408
23625
|
name: z.ZodString;
|
|
23626
|
+
description: z.ZodOptional<z.ZodString>;
|
|
23627
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
23628
|
+
width: z.ZodNumber;
|
|
23629
|
+
height: z.ZodNumber;
|
|
23630
|
+
}, "strip", z.ZodTypeAny, {
|
|
23631
|
+
width: number;
|
|
23632
|
+
height: number;
|
|
23633
|
+
}, {
|
|
23634
|
+
width: number;
|
|
23635
|
+
height: number;
|
|
23636
|
+
}>>;
|
|
23409
23637
|
createdAt: z.ZodNumber;
|
|
23410
23638
|
updatedAt: z.ZodNumber;
|
|
23411
23639
|
} & {
|
|
@@ -23416,12 +23644,22 @@ declare const STUDIO_OPERATIONS: {
|
|
|
23416
23644
|
id: string;
|
|
23417
23645
|
createdAt: number;
|
|
23418
23646
|
updatedAt: number;
|
|
23647
|
+
description?: string | undefined;
|
|
23648
|
+
settings?: {
|
|
23649
|
+
width: number;
|
|
23650
|
+
height: number;
|
|
23651
|
+
} | undefined;
|
|
23419
23652
|
}, {
|
|
23420
23653
|
revision: number;
|
|
23421
23654
|
name: string;
|
|
23422
23655
|
id: string;
|
|
23423
23656
|
createdAt: number;
|
|
23424
23657
|
updatedAt: number;
|
|
23658
|
+
description?: string | undefined;
|
|
23659
|
+
settings?: {
|
|
23660
|
+
width: number;
|
|
23661
|
+
height: number;
|
|
23662
|
+
} | undefined;
|
|
23425
23663
|
}>;
|
|
23426
23664
|
revision: z.ZodNumber;
|
|
23427
23665
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -23433,6 +23671,11 @@ declare const STUDIO_OPERATIONS: {
|
|
|
23433
23671
|
id: string;
|
|
23434
23672
|
createdAt: number;
|
|
23435
23673
|
updatedAt: number;
|
|
23674
|
+
description?: string | undefined;
|
|
23675
|
+
settings?: {
|
|
23676
|
+
width: number;
|
|
23677
|
+
height: number;
|
|
23678
|
+
} | undefined;
|
|
23436
23679
|
};
|
|
23437
23680
|
}, {
|
|
23438
23681
|
commandId: string;
|
|
@@ -23443,6 +23686,11 @@ declare const STUDIO_OPERATIONS: {
|
|
|
23443
23686
|
id: string;
|
|
23444
23687
|
createdAt: number;
|
|
23445
23688
|
updatedAt: number;
|
|
23689
|
+
description?: string | undefined;
|
|
23690
|
+
settings?: {
|
|
23691
|
+
width: number;
|
|
23692
|
+
height: number;
|
|
23693
|
+
} | undefined;
|
|
23446
23694
|
};
|
|
23447
23695
|
}>;
|
|
23448
23696
|
readonly durable: true;
|
|
@@ -34500,7 +34748,7 @@ declare const STUDIO_OPERATIONS: {
|
|
|
34500
34748
|
};
|
|
34501
34749
|
readonly mediaAnalyzeTimeline: {
|
|
34502
34750
|
readonly kind: "action";
|
|
34503
|
-
readonly input: z.ZodObject<{
|
|
34751
|
+
readonly input: z.ZodEffects<z.ZodObject<{
|
|
34504
34752
|
words: z.ZodArray<z.ZodObject<{
|
|
34505
34753
|
text: z.ZodString;
|
|
34506
34754
|
timelineStart: z.ZodNumber;
|
|
@@ -34551,6 +34799,28 @@ declare const STUDIO_OPERATIONS: {
|
|
|
34551
34799
|
sourceEnd: number;
|
|
34552
34800
|
speakerId: string | null;
|
|
34553
34801
|
}[];
|
|
34802
|
+
}>, {
|
|
34803
|
+
words: {
|
|
34804
|
+
text: string;
|
|
34805
|
+
timelineStart: number;
|
|
34806
|
+
timelineEnd: number;
|
|
34807
|
+
clipId: string;
|
|
34808
|
+
poolItemId: string;
|
|
34809
|
+
sourceStart: number;
|
|
34810
|
+
sourceEnd: number;
|
|
34811
|
+
speakerId: string | null;
|
|
34812
|
+
}[];
|
|
34813
|
+
}, {
|
|
34814
|
+
words: {
|
|
34815
|
+
text: string;
|
|
34816
|
+
timelineStart: number;
|
|
34817
|
+
timelineEnd: number;
|
|
34818
|
+
clipId: string;
|
|
34819
|
+
poolItemId: string;
|
|
34820
|
+
sourceStart: number;
|
|
34821
|
+
sourceEnd: number;
|
|
34822
|
+
speakerId: string | null;
|
|
34823
|
+
}[];
|
|
34554
34824
|
}>;
|
|
34555
34825
|
readonly result: z.ZodObject<{
|
|
34556
34826
|
fillers: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -34607,9 +34877,91 @@ declare const STUDIO_OPERATIONS: {
|
|
|
34607
34877
|
startSec: number;
|
|
34608
34878
|
endSec: number;
|
|
34609
34879
|
};
|
|
34610
|
-
mediaId: string;
|
|
34611
|
-
}>;
|
|
34612
|
-
readonly result: z.ZodObject<{
|
|
34880
|
+
mediaId: string;
|
|
34881
|
+
}>;
|
|
34882
|
+
readonly result: z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
34883
|
+
kind: z.ZodEnum<["subjectTrack", "matte"]>;
|
|
34884
|
+
scope: z.ZodEffects<z.ZodObject<{
|
|
34885
|
+
startSec: z.ZodNumber;
|
|
34886
|
+
endSec: z.ZodNumber;
|
|
34887
|
+
}, "strip", z.ZodTypeAny, {
|
|
34888
|
+
startSec: number;
|
|
34889
|
+
endSec: number;
|
|
34890
|
+
}, {
|
|
34891
|
+
startSec: number;
|
|
34892
|
+
endSec: number;
|
|
34893
|
+
}>, {
|
|
34894
|
+
startSec: number;
|
|
34895
|
+
endSec: number;
|
|
34896
|
+
}, {
|
|
34897
|
+
startSec: number;
|
|
34898
|
+
endSec: number;
|
|
34899
|
+
}>;
|
|
34900
|
+
state: z.ZodEnum<["pending", "ready", "failed"]>;
|
|
34901
|
+
fact: z.ZodObject<{
|
|
34902
|
+
status: z.ZodEnum<["pending", "ready", "failed"]>;
|
|
34903
|
+
summary: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodNumber>, Record<string, number>, Record<string, number>>>;
|
|
34904
|
+
readyAt: z.ZodOptional<z.ZodNumber>;
|
|
34905
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
34906
|
+
code: z.ZodString;
|
|
34907
|
+
message: z.ZodString;
|
|
34908
|
+
}, "strip", z.ZodTypeAny, {
|
|
34909
|
+
code: string;
|
|
34910
|
+
message: string;
|
|
34911
|
+
}, {
|
|
34912
|
+
code: string;
|
|
34913
|
+
message: string;
|
|
34914
|
+
}>>;
|
|
34915
|
+
}, "strip", z.ZodTypeAny, {
|
|
34916
|
+
status: "pending" | "ready" | "failed";
|
|
34917
|
+
error?: {
|
|
34918
|
+
code: string;
|
|
34919
|
+
message: string;
|
|
34920
|
+
} | undefined;
|
|
34921
|
+
summary?: Record<string, number> | undefined;
|
|
34922
|
+
readyAt?: number | undefined;
|
|
34923
|
+
}, {
|
|
34924
|
+
status: "pending" | "ready" | "failed";
|
|
34925
|
+
error?: {
|
|
34926
|
+
code: string;
|
|
34927
|
+
message: string;
|
|
34928
|
+
} | undefined;
|
|
34929
|
+
summary?: Record<string, number> | undefined;
|
|
34930
|
+
readyAt?: number | undefined;
|
|
34931
|
+
}>;
|
|
34932
|
+
}, "strip", z.ZodTypeAny, {
|
|
34933
|
+
kind: "subjectTrack" | "matte";
|
|
34934
|
+
scope: {
|
|
34935
|
+
startSec: number;
|
|
34936
|
+
endSec: number;
|
|
34937
|
+
};
|
|
34938
|
+
state: "pending" | "ready" | "failed";
|
|
34939
|
+
fact: {
|
|
34940
|
+
status: "pending" | "ready" | "failed";
|
|
34941
|
+
error?: {
|
|
34942
|
+
code: string;
|
|
34943
|
+
message: string;
|
|
34944
|
+
} | undefined;
|
|
34945
|
+
summary?: Record<string, number> | undefined;
|
|
34946
|
+
readyAt?: number | undefined;
|
|
34947
|
+
};
|
|
34948
|
+
}, {
|
|
34949
|
+
kind: "subjectTrack" | "matte";
|
|
34950
|
+
scope: {
|
|
34951
|
+
startSec: number;
|
|
34952
|
+
endSec: number;
|
|
34953
|
+
};
|
|
34954
|
+
state: "pending" | "ready" | "failed";
|
|
34955
|
+
fact: {
|
|
34956
|
+
status: "pending" | "ready" | "failed";
|
|
34957
|
+
error?: {
|
|
34958
|
+
code: string;
|
|
34959
|
+
message: string;
|
|
34960
|
+
} | undefined;
|
|
34961
|
+
summary?: Record<string, number> | undefined;
|
|
34962
|
+
readyAt?: number | undefined;
|
|
34963
|
+
};
|
|
34964
|
+
}>, z.ZodObject<{
|
|
34613
34965
|
kind: z.ZodEnum<["subjectTrack", "matte"]>;
|
|
34614
34966
|
scope: z.ZodEffects<z.ZodObject<{
|
|
34615
34967
|
startSec: z.ZodNumber;
|
|
@@ -34627,94 +34979,45 @@ declare const STUDIO_OPERATIONS: {
|
|
|
34627
34979
|
startSec: number;
|
|
34628
34980
|
endSec: number;
|
|
34629
34981
|
}>;
|
|
34630
|
-
state: z.ZodEnum<["
|
|
34631
|
-
|
|
34632
|
-
status: z.ZodEnum<["pending", "ready", "failed"]>;
|
|
34633
|
-
summary: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodNumber>, Record<string, number>, Record<string, number>>>;
|
|
34634
|
-
readyAt: z.ZodOptional<z.ZodNumber>;
|
|
34635
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
34636
|
-
code: z.ZodString;
|
|
34637
|
-
message: z.ZodString;
|
|
34638
|
-
}, "strip", z.ZodTypeAny, {
|
|
34639
|
-
code: string;
|
|
34640
|
-
message: string;
|
|
34641
|
-
}, {
|
|
34642
|
-
code: string;
|
|
34643
|
-
message: string;
|
|
34644
|
-
}>>;
|
|
34645
|
-
}, "strip", z.ZodTypeAny, {
|
|
34646
|
-
status: "pending" | "ready" | "failed";
|
|
34647
|
-
error?: {
|
|
34648
|
-
code: string;
|
|
34649
|
-
message: string;
|
|
34650
|
-
} | undefined;
|
|
34651
|
-
summary?: Record<string, number> | undefined;
|
|
34652
|
-
readyAt?: number | undefined;
|
|
34653
|
-
}, {
|
|
34654
|
-
status: "pending" | "ready" | "failed";
|
|
34655
|
-
error?: {
|
|
34656
|
-
code: string;
|
|
34657
|
-
message: string;
|
|
34658
|
-
} | undefined;
|
|
34659
|
-
summary?: Record<string, number> | undefined;
|
|
34660
|
-
readyAt?: number | undefined;
|
|
34661
|
-
}>>;
|
|
34662
|
-
offer: z.ZodOptional<z.ZodObject<{
|
|
34982
|
+
state: z.ZodEnum<["available", "unavailable"]>;
|
|
34983
|
+
offer: z.ZodObject<{
|
|
34663
34984
|
quotedUsd: z.ZodNumber;
|
|
34664
34985
|
available: z.ZodBoolean;
|
|
34665
34986
|
reason: z.ZodOptional<z.ZodString>;
|
|
34666
34987
|
}, "strip", z.ZodTypeAny, {
|
|
34667
|
-
available: boolean;
|
|
34668
34988
|
quotedUsd: number;
|
|
34989
|
+
available: boolean;
|
|
34669
34990
|
reason?: string | undefined;
|
|
34670
34991
|
}, {
|
|
34671
|
-
available: boolean;
|
|
34672
34992
|
quotedUsd: number;
|
|
34993
|
+
available: boolean;
|
|
34673
34994
|
reason?: string | undefined;
|
|
34674
|
-
}
|
|
34995
|
+
}>;
|
|
34675
34996
|
}, "strip", z.ZodTypeAny, {
|
|
34676
34997
|
kind: "subjectTrack" | "matte";
|
|
34677
34998
|
scope: {
|
|
34678
34999
|
startSec: number;
|
|
34679
35000
|
endSec: number;
|
|
34680
35001
|
};
|
|
34681
|
-
state: "
|
|
34682
|
-
|
|
34683
|
-
status: "pending" | "ready" | "failed";
|
|
34684
|
-
error?: {
|
|
34685
|
-
code: string;
|
|
34686
|
-
message: string;
|
|
34687
|
-
} | undefined;
|
|
34688
|
-
summary?: Record<string, number> | undefined;
|
|
34689
|
-
readyAt?: number | undefined;
|
|
34690
|
-
} | undefined;
|
|
34691
|
-
offer?: {
|
|
34692
|
-
available: boolean;
|
|
35002
|
+
state: "available" | "unavailable";
|
|
35003
|
+
offer: {
|
|
34693
35004
|
quotedUsd: number;
|
|
35005
|
+
available: boolean;
|
|
34694
35006
|
reason?: string | undefined;
|
|
34695
|
-
}
|
|
35007
|
+
};
|
|
34696
35008
|
}, {
|
|
34697
35009
|
kind: "subjectTrack" | "matte";
|
|
34698
35010
|
scope: {
|
|
34699
35011
|
startSec: number;
|
|
34700
35012
|
endSec: number;
|
|
34701
35013
|
};
|
|
34702
|
-
state: "
|
|
34703
|
-
|
|
34704
|
-
status: "pending" | "ready" | "failed";
|
|
34705
|
-
error?: {
|
|
34706
|
-
code: string;
|
|
34707
|
-
message: string;
|
|
34708
|
-
} | undefined;
|
|
34709
|
-
summary?: Record<string, number> | undefined;
|
|
34710
|
-
readyAt?: number | undefined;
|
|
34711
|
-
} | undefined;
|
|
34712
|
-
offer?: {
|
|
34713
|
-
available: boolean;
|
|
35014
|
+
state: "available" | "unavailable";
|
|
35015
|
+
offer: {
|
|
34714
35016
|
quotedUsd: number;
|
|
35017
|
+
available: boolean;
|
|
34715
35018
|
reason?: string | undefined;
|
|
34716
|
-
}
|
|
34717
|
-
}>;
|
|
35019
|
+
};
|
|
35020
|
+
}>]>;
|
|
34718
35021
|
readonly durable: false;
|
|
34719
35022
|
readonly aggregate: "none";
|
|
34720
35023
|
} & {
|
|
@@ -35336,7 +35639,7 @@ declare const STUDIO_OPERATIONS: {
|
|
|
35336
35639
|
};
|
|
35337
35640
|
readonly brandKitsUpsert: {
|
|
35338
35641
|
readonly kind: "mutation";
|
|
35339
|
-
readonly input: z.ZodObject<{
|
|
35642
|
+
readonly input: z.ZodEffects<z.ZodObject<{
|
|
35340
35643
|
commandId: z.ZodString;
|
|
35341
35644
|
brandKit: z.ZodObject<{
|
|
35342
35645
|
id: z.ZodString;
|
|
@@ -35532,6 +35835,74 @@ declare const STUDIO_OPERATIONS: {
|
|
|
35532
35835
|
secondaryTagline?: string | undefined;
|
|
35533
35836
|
captionProfile?: Record<string, JsonValue> | undefined;
|
|
35534
35837
|
};
|
|
35838
|
+
}>, {
|
|
35839
|
+
commandId: string;
|
|
35840
|
+
brandKit: {
|
|
35841
|
+
name: string;
|
|
35842
|
+
id: string;
|
|
35843
|
+
createdAt: number;
|
|
35844
|
+
colors: {
|
|
35845
|
+
text: string;
|
|
35846
|
+
primary: string;
|
|
35847
|
+
secondary: string;
|
|
35848
|
+
accent: string;
|
|
35849
|
+
background: string;
|
|
35850
|
+
};
|
|
35851
|
+
extraColors: {
|
|
35852
|
+
hex: string;
|
|
35853
|
+
label: string;
|
|
35854
|
+
usage?: string | undefined;
|
|
35855
|
+
}[];
|
|
35856
|
+
headingFont: {
|
|
35857
|
+
fontFamily: string;
|
|
35858
|
+
fontWeight: number;
|
|
35859
|
+
};
|
|
35860
|
+
bodyFont: {
|
|
35861
|
+
fontFamily: string;
|
|
35862
|
+
fontWeight: number;
|
|
35863
|
+
};
|
|
35864
|
+
voiceGuidelines: string;
|
|
35865
|
+
syncCaptions: boolean;
|
|
35866
|
+
modifiedAt: number;
|
|
35867
|
+
description?: string | undefined;
|
|
35868
|
+
tagline?: string | undefined;
|
|
35869
|
+
secondaryTagline?: string | undefined;
|
|
35870
|
+
captionProfile?: Record<string, JsonValue> | undefined;
|
|
35871
|
+
};
|
|
35872
|
+
}, {
|
|
35873
|
+
commandId: string;
|
|
35874
|
+
brandKit: {
|
|
35875
|
+
name: string;
|
|
35876
|
+
id: string;
|
|
35877
|
+
createdAt: number;
|
|
35878
|
+
colors: {
|
|
35879
|
+
text: string;
|
|
35880
|
+
primary: string;
|
|
35881
|
+
secondary: string;
|
|
35882
|
+
accent: string;
|
|
35883
|
+
background: string;
|
|
35884
|
+
};
|
|
35885
|
+
extraColors: {
|
|
35886
|
+
hex: string;
|
|
35887
|
+
label: string;
|
|
35888
|
+
usage?: string | undefined;
|
|
35889
|
+
}[];
|
|
35890
|
+
headingFont: {
|
|
35891
|
+
fontFamily: string;
|
|
35892
|
+
fontWeight: number;
|
|
35893
|
+
};
|
|
35894
|
+
bodyFont: {
|
|
35895
|
+
fontFamily: string;
|
|
35896
|
+
fontWeight: number;
|
|
35897
|
+
};
|
|
35898
|
+
voiceGuidelines: string;
|
|
35899
|
+
syncCaptions: boolean;
|
|
35900
|
+
modifiedAt: number;
|
|
35901
|
+
description?: string | undefined;
|
|
35902
|
+
tagline?: string | undefined;
|
|
35903
|
+
secondaryTagline?: string | undefined;
|
|
35904
|
+
captionProfile?: Record<string, JsonValue> | undefined;
|
|
35905
|
+
};
|
|
35535
35906
|
}>;
|
|
35536
35907
|
readonly result: z.ZodObject<{
|
|
35537
35908
|
commandId: z.ZodString;
|
|
@@ -37462,15 +37833,18 @@ declare const STUDIO_LIMITS: {
|
|
|
37462
37833
|
readonly longText: 100000;
|
|
37463
37834
|
readonly conversationMessages: 1000000;
|
|
37464
37835
|
readonly componentBundle: 1000000;
|
|
37836
|
+
readonly componentBundleBatchBytes: 8000000;
|
|
37465
37837
|
readonly collection: 1000;
|
|
37466
37838
|
readonly componentIds: 100;
|
|
37467
37839
|
readonly timelineWords: 20000;
|
|
37840
|
+
readonly timelineCharacters: 2000000;
|
|
37468
37841
|
readonly commandOperations: 500;
|
|
37469
37842
|
readonly commandPayloadBytes: 2000000;
|
|
37470
37843
|
readonly jsonDepth: 8;
|
|
37471
37844
|
readonly jsonCollection: 100;
|
|
37472
37845
|
readonly pathSegment: 255;
|
|
37473
37846
|
readonly contentType: 255;
|
|
37847
|
+
readonly aspectRatio: 64;
|
|
37474
37848
|
readonly templateContent: 1000000;
|
|
37475
37849
|
readonly uploadBytes: number;
|
|
37476
37850
|
};
|
|
@@ -37479,6 +37853,17 @@ declare const STUDIO_LIMITS: {
|
|
|
37479
37853
|
declare const ProjectProjection: z.ZodObject<{
|
|
37480
37854
|
id: z.ZodString;
|
|
37481
37855
|
name: z.ZodString;
|
|
37856
|
+
description: z.ZodOptional<z.ZodString>;
|
|
37857
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
37858
|
+
width: z.ZodNumber;
|
|
37859
|
+
height: z.ZodNumber;
|
|
37860
|
+
}, "strip", z.ZodTypeAny, {
|
|
37861
|
+
width: number;
|
|
37862
|
+
height: number;
|
|
37863
|
+
}, {
|
|
37864
|
+
width: number;
|
|
37865
|
+
height: number;
|
|
37866
|
+
}>>;
|
|
37482
37867
|
createdAt: z.ZodNumber;
|
|
37483
37868
|
updatedAt: z.ZodNumber;
|
|
37484
37869
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -37486,16 +37871,37 @@ declare const ProjectProjection: z.ZodObject<{
|
|
|
37486
37871
|
id: string;
|
|
37487
37872
|
createdAt: number;
|
|
37488
37873
|
updatedAt: number;
|
|
37874
|
+
description?: string | undefined;
|
|
37875
|
+
settings?: {
|
|
37876
|
+
width: number;
|
|
37877
|
+
height: number;
|
|
37878
|
+
} | undefined;
|
|
37489
37879
|
}, {
|
|
37490
37880
|
name: string;
|
|
37491
37881
|
id: string;
|
|
37492
37882
|
createdAt: number;
|
|
37493
37883
|
updatedAt: number;
|
|
37884
|
+
description?: string | undefined;
|
|
37885
|
+
settings?: {
|
|
37886
|
+
width: number;
|
|
37887
|
+
height: number;
|
|
37888
|
+
} | undefined;
|
|
37494
37889
|
}>;
|
|
37495
37890
|
type ProjectProjection = z.infer<typeof ProjectProjection>;
|
|
37496
37891
|
declare const ProjectSummary: z.ZodObject<{
|
|
37497
37892
|
id: z.ZodString;
|
|
37498
37893
|
name: z.ZodString;
|
|
37894
|
+
description: z.ZodOptional<z.ZodString>;
|
|
37895
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
37896
|
+
width: z.ZodNumber;
|
|
37897
|
+
height: z.ZodNumber;
|
|
37898
|
+
}, "strip", z.ZodTypeAny, {
|
|
37899
|
+
width: number;
|
|
37900
|
+
height: number;
|
|
37901
|
+
}, {
|
|
37902
|
+
width: number;
|
|
37903
|
+
height: number;
|
|
37904
|
+
}>>;
|
|
37499
37905
|
createdAt: z.ZodNumber;
|
|
37500
37906
|
updatedAt: z.ZodNumber;
|
|
37501
37907
|
} & {
|
|
@@ -37506,12 +37912,22 @@ declare const ProjectSummary: z.ZodObject<{
|
|
|
37506
37912
|
id: string;
|
|
37507
37913
|
createdAt: number;
|
|
37508
37914
|
updatedAt: number;
|
|
37915
|
+
description?: string | undefined;
|
|
37916
|
+
settings?: {
|
|
37917
|
+
width: number;
|
|
37918
|
+
height: number;
|
|
37919
|
+
} | undefined;
|
|
37509
37920
|
}, {
|
|
37510
37921
|
revision: number;
|
|
37511
37922
|
name: string;
|
|
37512
37923
|
id: string;
|
|
37513
37924
|
createdAt: number;
|
|
37514
37925
|
updatedAt: number;
|
|
37926
|
+
description?: string | undefined;
|
|
37927
|
+
settings?: {
|
|
37928
|
+
width: number;
|
|
37929
|
+
height: number;
|
|
37930
|
+
} | undefined;
|
|
37515
37931
|
}>;
|
|
37516
37932
|
type ProjectSummary = z.infer<typeof ProjectSummary>;
|
|
37517
37933
|
declare const ActiveCompositionProjection: z.ZodObject<{
|
|
@@ -39224,6 +39640,17 @@ declare const ProjectSnapshotProjection: z.ZodObject<{
|
|
|
39224
39640
|
project: z.ZodObject<{
|
|
39225
39641
|
id: z.ZodString;
|
|
39226
39642
|
name: z.ZodString;
|
|
39643
|
+
description: z.ZodOptional<z.ZodString>;
|
|
39644
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
39645
|
+
width: z.ZodNumber;
|
|
39646
|
+
height: z.ZodNumber;
|
|
39647
|
+
}, "strip", z.ZodTypeAny, {
|
|
39648
|
+
width: number;
|
|
39649
|
+
height: number;
|
|
39650
|
+
}, {
|
|
39651
|
+
width: number;
|
|
39652
|
+
height: number;
|
|
39653
|
+
}>>;
|
|
39227
39654
|
createdAt: z.ZodNumber;
|
|
39228
39655
|
updatedAt: z.ZodNumber;
|
|
39229
39656
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -39231,11 +39658,21 @@ declare const ProjectSnapshotProjection: z.ZodObject<{
|
|
|
39231
39658
|
id: string;
|
|
39232
39659
|
createdAt: number;
|
|
39233
39660
|
updatedAt: number;
|
|
39661
|
+
description?: string | undefined;
|
|
39662
|
+
settings?: {
|
|
39663
|
+
width: number;
|
|
39664
|
+
height: number;
|
|
39665
|
+
} | undefined;
|
|
39234
39666
|
}, {
|
|
39235
39667
|
name: string;
|
|
39236
39668
|
id: string;
|
|
39237
39669
|
createdAt: number;
|
|
39238
39670
|
updatedAt: number;
|
|
39671
|
+
description?: string | undefined;
|
|
39672
|
+
settings?: {
|
|
39673
|
+
width: number;
|
|
39674
|
+
height: number;
|
|
39675
|
+
} | undefined;
|
|
39239
39676
|
}>;
|
|
39240
39677
|
activeComposition: z.ZodNullable<z.ZodObject<{
|
|
39241
39678
|
id: z.ZodString;
|
|
@@ -40950,6 +41387,11 @@ declare const ProjectSnapshotProjection: z.ZodObject<{
|
|
|
40950
41387
|
id: string;
|
|
40951
41388
|
createdAt: number;
|
|
40952
41389
|
updatedAt: number;
|
|
41390
|
+
description?: string | undefined;
|
|
41391
|
+
settings?: {
|
|
41392
|
+
width: number;
|
|
41393
|
+
height: number;
|
|
41394
|
+
} | undefined;
|
|
40953
41395
|
};
|
|
40954
41396
|
activeComposition: {
|
|
40955
41397
|
composition: {
|
|
@@ -41242,6 +41684,11 @@ declare const ProjectSnapshotProjection: z.ZodObject<{
|
|
|
41242
41684
|
id: string;
|
|
41243
41685
|
createdAt: number;
|
|
41244
41686
|
updatedAt: number;
|
|
41687
|
+
description?: string | undefined;
|
|
41688
|
+
settings?: {
|
|
41689
|
+
width: number;
|
|
41690
|
+
height: number;
|
|
41691
|
+
} | undefined;
|
|
41245
41692
|
};
|
|
41246
41693
|
activeComposition: {
|
|
41247
41694
|
composition: {
|
|
@@ -41401,6 +41848,17 @@ declare const ProjectListProjection: z.ZodObject<{
|
|
|
41401
41848
|
items: z.ZodArray<z.ZodObject<{
|
|
41402
41849
|
id: z.ZodString;
|
|
41403
41850
|
name: z.ZodString;
|
|
41851
|
+
description: z.ZodOptional<z.ZodString>;
|
|
41852
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
41853
|
+
width: z.ZodNumber;
|
|
41854
|
+
height: z.ZodNumber;
|
|
41855
|
+
}, "strip", z.ZodTypeAny, {
|
|
41856
|
+
width: number;
|
|
41857
|
+
height: number;
|
|
41858
|
+
}, {
|
|
41859
|
+
width: number;
|
|
41860
|
+
height: number;
|
|
41861
|
+
}>>;
|
|
41404
41862
|
createdAt: z.ZodNumber;
|
|
41405
41863
|
updatedAt: z.ZodNumber;
|
|
41406
41864
|
} & {
|
|
@@ -41411,12 +41869,22 @@ declare const ProjectListProjection: z.ZodObject<{
|
|
|
41411
41869
|
id: string;
|
|
41412
41870
|
createdAt: number;
|
|
41413
41871
|
updatedAt: number;
|
|
41872
|
+
description?: string | undefined;
|
|
41873
|
+
settings?: {
|
|
41874
|
+
width: number;
|
|
41875
|
+
height: number;
|
|
41876
|
+
} | undefined;
|
|
41414
41877
|
}, {
|
|
41415
41878
|
revision: number;
|
|
41416
41879
|
name: string;
|
|
41417
41880
|
id: string;
|
|
41418
41881
|
createdAt: number;
|
|
41419
41882
|
updatedAt: number;
|
|
41883
|
+
description?: string | undefined;
|
|
41884
|
+
settings?: {
|
|
41885
|
+
width: number;
|
|
41886
|
+
height: number;
|
|
41887
|
+
} | undefined;
|
|
41420
41888
|
}>, "many">;
|
|
41421
41889
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
41422
41890
|
done: z.ZodBoolean;
|
|
@@ -41427,6 +41895,11 @@ declare const ProjectListProjection: z.ZodObject<{
|
|
|
41427
41895
|
id: string;
|
|
41428
41896
|
createdAt: number;
|
|
41429
41897
|
updatedAt: number;
|
|
41898
|
+
description?: string | undefined;
|
|
41899
|
+
settings?: {
|
|
41900
|
+
width: number;
|
|
41901
|
+
height: number;
|
|
41902
|
+
} | undefined;
|
|
41430
41903
|
}[];
|
|
41431
41904
|
nextCursor: string | null;
|
|
41432
41905
|
done: boolean;
|
|
@@ -41437,6 +41910,11 @@ declare const ProjectListProjection: z.ZodObject<{
|
|
|
41437
41910
|
id: string;
|
|
41438
41911
|
createdAt: number;
|
|
41439
41912
|
updatedAt: number;
|
|
41913
|
+
description?: string | undefined;
|
|
41914
|
+
settings?: {
|
|
41915
|
+
width: number;
|
|
41916
|
+
height: number;
|
|
41917
|
+
} | undefined;
|
|
41440
41918
|
}[];
|
|
41441
41919
|
nextCursor: string | null;
|
|
41442
41920
|
done: boolean;
|
|
@@ -41455,6 +41933,17 @@ declare const ProjectMutationProjection: z.ZodObject<{
|
|
|
41455
41933
|
project: z.ZodObject<{
|
|
41456
41934
|
id: z.ZodString;
|
|
41457
41935
|
name: z.ZodString;
|
|
41936
|
+
description: z.ZodOptional<z.ZodString>;
|
|
41937
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
41938
|
+
width: z.ZodNumber;
|
|
41939
|
+
height: z.ZodNumber;
|
|
41940
|
+
}, "strip", z.ZodTypeAny, {
|
|
41941
|
+
width: number;
|
|
41942
|
+
height: number;
|
|
41943
|
+
}, {
|
|
41944
|
+
width: number;
|
|
41945
|
+
height: number;
|
|
41946
|
+
}>>;
|
|
41458
41947
|
createdAt: z.ZodNumber;
|
|
41459
41948
|
updatedAt: z.ZodNumber;
|
|
41460
41949
|
} & {
|
|
@@ -41465,12 +41954,22 @@ declare const ProjectMutationProjection: z.ZodObject<{
|
|
|
41465
41954
|
id: string;
|
|
41466
41955
|
createdAt: number;
|
|
41467
41956
|
updatedAt: number;
|
|
41957
|
+
description?: string | undefined;
|
|
41958
|
+
settings?: {
|
|
41959
|
+
width: number;
|
|
41960
|
+
height: number;
|
|
41961
|
+
} | undefined;
|
|
41468
41962
|
}, {
|
|
41469
41963
|
revision: number;
|
|
41470
41964
|
name: string;
|
|
41471
41965
|
id: string;
|
|
41472
41966
|
createdAt: number;
|
|
41473
41967
|
updatedAt: number;
|
|
41968
|
+
description?: string | undefined;
|
|
41969
|
+
settings?: {
|
|
41970
|
+
width: number;
|
|
41971
|
+
height: number;
|
|
41972
|
+
} | undefined;
|
|
41474
41973
|
}>;
|
|
41475
41974
|
revision: z.ZodNumber;
|
|
41476
41975
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -41482,6 +41981,11 @@ declare const ProjectMutationProjection: z.ZodObject<{
|
|
|
41482
41981
|
id: string;
|
|
41483
41982
|
createdAt: number;
|
|
41484
41983
|
updatedAt: number;
|
|
41984
|
+
description?: string | undefined;
|
|
41985
|
+
settings?: {
|
|
41986
|
+
width: number;
|
|
41987
|
+
height: number;
|
|
41988
|
+
} | undefined;
|
|
41485
41989
|
};
|
|
41486
41990
|
}, {
|
|
41487
41991
|
commandId: string;
|
|
@@ -41492,6 +41996,11 @@ declare const ProjectMutationProjection: z.ZodObject<{
|
|
|
41492
41996
|
id: string;
|
|
41493
41997
|
createdAt: number;
|
|
41494
41998
|
updatedAt: number;
|
|
41999
|
+
description?: string | undefined;
|
|
42000
|
+
settings?: {
|
|
42001
|
+
width: number;
|
|
42002
|
+
height: number;
|
|
42003
|
+
} | undefined;
|
|
41495
42004
|
};
|
|
41496
42005
|
}>;
|
|
41497
42006
|
type ProjectMutationProjection = z.infer<typeof ProjectMutationProjection>;
|
package/dist/index.js
CHANGED
|
@@ -537,15 +537,18 @@ var STUDIO_LIMITS = {
|
|
|
537
537
|
longText: 1e5,
|
|
538
538
|
conversationMessages: 1e6,
|
|
539
539
|
componentBundle: 1e6,
|
|
540
|
+
componentBundleBatchBytes: 8e6,
|
|
540
541
|
collection: 1e3,
|
|
541
542
|
componentIds: 100,
|
|
542
543
|
timelineWords: 2e4,
|
|
544
|
+
timelineCharacters: 2e6,
|
|
543
545
|
commandOperations: 500,
|
|
544
546
|
commandPayloadBytes: 2e6,
|
|
545
547
|
jsonDepth: 8,
|
|
546
548
|
jsonCollection: 100,
|
|
547
549
|
pathSegment: 255,
|
|
548
550
|
contentType: 255,
|
|
551
|
+
aspectRatio: 64,
|
|
549
552
|
templateContent: 1e6,
|
|
550
553
|
uploadBytes: 10 * 1024 * 1024 * 1024
|
|
551
554
|
};
|
|
@@ -699,7 +702,7 @@ var LongText = z11.string().max(STUDIO_LIMITS.longText);
|
|
|
699
702
|
var Name = z11.string().min(1).max(STUDIO_LIMITS.name);
|
|
700
703
|
var PathSegment = z11.string().min(1).max(STUDIO_LIMITS.pathSegment).regex(/^[^/\\\0]+$/);
|
|
701
704
|
var ContentType = z11.string().min(1).max(STUDIO_LIMITS.contentType);
|
|
702
|
-
var UploadSize = z11.number().int().
|
|
705
|
+
var UploadSize = z11.number().int().positive().max(STUDIO_LIMITS.uploadBytes);
|
|
703
706
|
var boundedRecord = (value, maxEntries = 100) => z11.record(z11.string().min(1).max(STUDIO_LIMITS.pathSegment), value).refine((record) => Object.keys(record).length <= maxEntries, `must contain at most ${maxEntries} entries`);
|
|
704
707
|
var JsonPrimitive = z11.union([
|
|
705
708
|
LongText,
|
|
@@ -867,7 +870,10 @@ var BrandKitListProjection = pageResult(BrandKitProjection);
|
|
|
867
870
|
var UpsertBrandKitInput = z11.object({
|
|
868
871
|
commandId: CommandId,
|
|
869
872
|
brandKit: BrandKitProjection
|
|
870
|
-
}).strict()
|
|
873
|
+
}).strict().refine(
|
|
874
|
+
(value) => new TextEncoder().encode(JSON.stringify(value.brandKit)).byteLength <= STUDIO_LIMITS.commandPayloadBytes,
|
|
875
|
+
`brandKit must not exceed ${STUDIO_LIMITS.commandPayloadBytes} bytes`
|
|
876
|
+
);
|
|
871
877
|
var BrandKitMutationProjection = z11.object({ commandId: CommandId, brandKit: BrandKitProjection });
|
|
872
878
|
var ComponentProjection = z11.object({
|
|
873
879
|
id: OpaqueId2,
|
|
@@ -955,7 +961,7 @@ var CreateRenderInput = z11.object({
|
|
|
955
961
|
commandId: CommandId,
|
|
956
962
|
expectedRevision: z11.number().int().nonnegative(),
|
|
957
963
|
format: z11.object({
|
|
958
|
-
aspectRatio: z11.string().max(
|
|
964
|
+
aspectRatio: z11.string().max(STUDIO_LIMITS.aspectRatio),
|
|
959
965
|
resolution: z11.enum(["fhd", "4k"])
|
|
960
966
|
}).optional()
|
|
961
967
|
}).strict();
|
|
@@ -996,8 +1002,11 @@ var TimelineWordInput = z11.object({
|
|
|
996
1002
|
speakerId: OpaqueId2.nullable()
|
|
997
1003
|
});
|
|
998
1004
|
var AnalyzeTimelineInput = z11.object({
|
|
999
|
-
words: z11.array(TimelineWordInput).max(STUDIO_LIMITS.timelineWords)
|
|
1000
|
-
}).strict()
|
|
1005
|
+
words: z11.array(TimelineWordInput).min(1).max(STUDIO_LIMITS.timelineWords)
|
|
1006
|
+
}).strict().refine(
|
|
1007
|
+
(value) => value.words.reduce((total, word) => total + word.text.length, 0) <= STUDIO_LIMITS.timelineCharacters,
|
|
1008
|
+
`timeline text must not exceed ${STUDIO_LIMITS.timelineCharacters} characters`
|
|
1009
|
+
);
|
|
1001
1010
|
var AnalyzeTimelineProjection = z11.object({
|
|
1002
1011
|
fillers: z11.array(z11.number()).max(STUDIO_LIMITS.timelineWords),
|
|
1003
1012
|
silenceGaps: z11.array(z11.number()).max(STUDIO_LIMITS.timelineWords),
|
|
@@ -1014,21 +1023,31 @@ var MediaFactInput = z11.object({
|
|
|
1014
1023
|
kind: MediaFactKind,
|
|
1015
1024
|
window: SourceWindow
|
|
1016
1025
|
}).strict();
|
|
1017
|
-
var
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
message: LongText
|
|
1028
|
-
}).optional()
|
|
1029
|
-
}).optional(),
|
|
1030
|
-
offer: z11.object({ quotedUsd: z11.number(), available: z11.boolean(), reason: ShortText.optional() }).optional()
|
|
1026
|
+
var MediaFactProjection = z11.object({
|
|
1027
|
+
status: z11.enum(["pending", "ready", "failed"]),
|
|
1028
|
+
summary: boundedRecord(z11.number(), 100).optional(),
|
|
1029
|
+
readyAt: z11.number().optional(),
|
|
1030
|
+
error: z11.object({ code: ShortText, message: LongText }).optional()
|
|
1031
|
+
});
|
|
1032
|
+
var MediaFactOfferProjection = z11.object({
|
|
1033
|
+
quotedUsd: z11.number(),
|
|
1034
|
+
available: z11.boolean(),
|
|
1035
|
+
reason: ShortText.optional()
|
|
1031
1036
|
});
|
|
1037
|
+
var MediaFactResolutionProjection = z11.discriminatedUnion("state", [
|
|
1038
|
+
z11.object({
|
|
1039
|
+
kind: MediaFactKind,
|
|
1040
|
+
scope: SourceWindow,
|
|
1041
|
+
state: z11.enum(["pending", "ready", "failed"]),
|
|
1042
|
+
fact: MediaFactProjection
|
|
1043
|
+
}),
|
|
1044
|
+
z11.object({
|
|
1045
|
+
kind: MediaFactKind,
|
|
1046
|
+
scope: SourceWindow,
|
|
1047
|
+
state: z11.enum(["available", "unavailable"]),
|
|
1048
|
+
offer: MediaFactOfferProjection
|
|
1049
|
+
})
|
|
1050
|
+
]);
|
|
1032
1051
|
var PurchaseMediaFactInput = MediaFactInput.extend({ commandId: CommandId });
|
|
1033
1052
|
var MediaFactPurchaseProjection = z11.object({
|
|
1034
1053
|
commandId: CommandId,
|
|
@@ -1411,7 +1430,7 @@ var STUDIO_OPERATION_FIXTURES = Object.freeze({
|
|
|
1411
1430
|
),
|
|
1412
1431
|
mediaAnalyzeTimeline: fixtures(
|
|
1413
1432
|
{ words: [{ text: "Hello", timelineStart: 0, timelineEnd: 1, clipId: "clip", poolItemId: "media", sourceStart: 0, sourceEnd: 1, speakerId: null }] },
|
|
1414
|
-
{ words:
|
|
1433
|
+
{ words: [] },
|
|
1415
1434
|
{ fillers: [], silenceGaps: [], emphasis: [0], model: "analysis-v1" },
|
|
1416
1435
|
{ fillers: [], silenceGaps: [], emphasis: [], model: 1 }
|
|
1417
1436
|
),
|
|
@@ -1419,7 +1438,7 @@ var STUDIO_OPERATION_FIXTURES = Object.freeze({
|
|
|
1419
1438
|
{ mediaId: "media", kind: "matte", window: { startSec: 0, endSec: 2 } },
|
|
1420
1439
|
{ mediaId: "media", kind: "matte", window: { startSec: 2, endSec: 1 } },
|
|
1421
1440
|
{ kind: "matte", scope: { startSec: 0, endSec: 2 }, state: "ready", fact: { status: "ready", readyAt: 2 } },
|
|
1422
|
-
{ kind: "matte", scope: { startSec: 0, endSec: 2 }, state: "
|
|
1441
|
+
{ kind: "matte", scope: { startSec: 0, endSec: 2 }, state: "ready" }
|
|
1423
1442
|
),
|
|
1424
1443
|
mediaPurchaseFact: fixtures(
|
|
1425
1444
|
{ commandId: "fact:purchase", mediaId: "media", kind: "subjectTrack", window: { startSec: 0, endSec: 2 } },
|
|
@@ -1656,6 +1675,8 @@ import { z as z13 } from "zod";
|
|
|
1656
1675
|
var ProjectProjection = z13.object({
|
|
1657
1676
|
id: ProjectId,
|
|
1658
1677
|
name: z13.string().min(1).max(STUDIO_LIMITS.name),
|
|
1678
|
+
description: z13.string().max(STUDIO_LIMITS.description).optional(),
|
|
1679
|
+
settings: z13.object({ width: z13.number().positive(), height: z13.number().positive() }).optional(),
|
|
1659
1680
|
createdAt: z13.number(),
|
|
1660
1681
|
updatedAt: z13.number()
|
|
1661
1682
|
});
|