shred-api-client 2.3.8 → 2.3.9
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 +206 -26
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -880,18 +880,92 @@ declare const PreferencesSchema: z.ZodObject<{
|
|
|
880
880
|
primaryColor: z.ZodString;
|
|
881
881
|
secondaryColor: z.ZodString;
|
|
882
882
|
guidelinesUrl: z.ZodOptional<z.ZodString>;
|
|
883
|
+
description: z.ZodOptional<z.ZodString>;
|
|
884
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
885
|
+
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
886
|
+
assetId: z.ZodString;
|
|
887
|
+
fileName: z.ZodString;
|
|
888
|
+
extension: z.ZodString;
|
|
889
|
+
fileSize: z.ZodNumber;
|
|
890
|
+
assetUrl: z.ZodString;
|
|
891
|
+
thumbnailUrl: z.ZodString;
|
|
892
|
+
type: z.ZodString;
|
|
893
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
894
|
+
progress: z.ZodOptional<z.ZodNumber>;
|
|
895
|
+
error: z.ZodOptional<z.ZodString>;
|
|
896
|
+
authorId: z.ZodString;
|
|
897
|
+
uploadedAt: z.ZodNumber;
|
|
898
|
+
}, "strip", z.ZodTypeAny, {
|
|
899
|
+
type: string;
|
|
900
|
+
assetId: string;
|
|
901
|
+
fileName: string;
|
|
902
|
+
extension: string;
|
|
903
|
+
fileSize: number;
|
|
904
|
+
assetUrl: string;
|
|
905
|
+
thumbnailUrl: string;
|
|
906
|
+
authorId: string;
|
|
907
|
+
uploadedAt: number;
|
|
908
|
+
error?: string | undefined;
|
|
909
|
+
duration?: number | undefined;
|
|
910
|
+
progress?: number | undefined;
|
|
911
|
+
}, {
|
|
912
|
+
type: string;
|
|
913
|
+
assetId: string;
|
|
914
|
+
fileName: string;
|
|
915
|
+
extension: string;
|
|
916
|
+
fileSize: number;
|
|
917
|
+
assetUrl: string;
|
|
918
|
+
thumbnailUrl: string;
|
|
919
|
+
authorId: string;
|
|
920
|
+
uploadedAt: number;
|
|
921
|
+
error?: string | undefined;
|
|
922
|
+
duration?: number | undefined;
|
|
923
|
+
progress?: number | undefined;
|
|
924
|
+
}>, "many">>;
|
|
883
925
|
}, "strip", z.ZodTypeAny, {
|
|
884
926
|
iconUrl: string;
|
|
885
927
|
logoUrl: string;
|
|
886
928
|
primaryColor: string;
|
|
887
929
|
secondaryColor: string;
|
|
930
|
+
description?: string | undefined;
|
|
888
931
|
guidelinesUrl?: string | undefined;
|
|
932
|
+
industry?: string | undefined;
|
|
933
|
+
assets?: {
|
|
934
|
+
type: string;
|
|
935
|
+
assetId: string;
|
|
936
|
+
fileName: string;
|
|
937
|
+
extension: string;
|
|
938
|
+
fileSize: number;
|
|
939
|
+
assetUrl: string;
|
|
940
|
+
thumbnailUrl: string;
|
|
941
|
+
authorId: string;
|
|
942
|
+
uploadedAt: number;
|
|
943
|
+
error?: string | undefined;
|
|
944
|
+
duration?: number | undefined;
|
|
945
|
+
progress?: number | undefined;
|
|
946
|
+
}[] | undefined;
|
|
889
947
|
}, {
|
|
890
948
|
iconUrl: string;
|
|
891
949
|
logoUrl: string;
|
|
892
950
|
primaryColor: string;
|
|
893
951
|
secondaryColor: string;
|
|
952
|
+
description?: string | undefined;
|
|
894
953
|
guidelinesUrl?: string | undefined;
|
|
954
|
+
industry?: string | undefined;
|
|
955
|
+
assets?: {
|
|
956
|
+
type: string;
|
|
957
|
+
assetId: string;
|
|
958
|
+
fileName: string;
|
|
959
|
+
extension: string;
|
|
960
|
+
fileSize: number;
|
|
961
|
+
assetUrl: string;
|
|
962
|
+
thumbnailUrl: string;
|
|
963
|
+
authorId: string;
|
|
964
|
+
uploadedAt: number;
|
|
965
|
+
error?: string | undefined;
|
|
966
|
+
duration?: number | undefined;
|
|
967
|
+
progress?: number | undefined;
|
|
968
|
+
}[] | undefined;
|
|
895
969
|
}>;
|
|
896
970
|
declare const TenantSchema: z.ZodObject<{
|
|
897
971
|
id: z.ZodString;
|
|
@@ -904,18 +978,92 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
904
978
|
primaryColor: z.ZodString;
|
|
905
979
|
secondaryColor: z.ZodString;
|
|
906
980
|
guidelinesUrl: z.ZodOptional<z.ZodString>;
|
|
981
|
+
description: z.ZodOptional<z.ZodString>;
|
|
982
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
983
|
+
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
984
|
+
assetId: z.ZodString;
|
|
985
|
+
fileName: z.ZodString;
|
|
986
|
+
extension: z.ZodString;
|
|
987
|
+
fileSize: z.ZodNumber;
|
|
988
|
+
assetUrl: z.ZodString;
|
|
989
|
+
thumbnailUrl: z.ZodString;
|
|
990
|
+
type: z.ZodString;
|
|
991
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
992
|
+
progress: z.ZodOptional<z.ZodNumber>;
|
|
993
|
+
error: z.ZodOptional<z.ZodString>;
|
|
994
|
+
authorId: z.ZodString;
|
|
995
|
+
uploadedAt: z.ZodNumber;
|
|
996
|
+
}, "strip", z.ZodTypeAny, {
|
|
997
|
+
type: string;
|
|
998
|
+
assetId: string;
|
|
999
|
+
fileName: string;
|
|
1000
|
+
extension: string;
|
|
1001
|
+
fileSize: number;
|
|
1002
|
+
assetUrl: string;
|
|
1003
|
+
thumbnailUrl: string;
|
|
1004
|
+
authorId: string;
|
|
1005
|
+
uploadedAt: number;
|
|
1006
|
+
error?: string | undefined;
|
|
1007
|
+
duration?: number | undefined;
|
|
1008
|
+
progress?: number | undefined;
|
|
1009
|
+
}, {
|
|
1010
|
+
type: string;
|
|
1011
|
+
assetId: string;
|
|
1012
|
+
fileName: string;
|
|
1013
|
+
extension: string;
|
|
1014
|
+
fileSize: number;
|
|
1015
|
+
assetUrl: string;
|
|
1016
|
+
thumbnailUrl: string;
|
|
1017
|
+
authorId: string;
|
|
1018
|
+
uploadedAt: number;
|
|
1019
|
+
error?: string | undefined;
|
|
1020
|
+
duration?: number | undefined;
|
|
1021
|
+
progress?: number | undefined;
|
|
1022
|
+
}>, "many">>;
|
|
907
1023
|
}, "strip", z.ZodTypeAny, {
|
|
908
1024
|
iconUrl: string;
|
|
909
1025
|
logoUrl: string;
|
|
910
1026
|
primaryColor: string;
|
|
911
1027
|
secondaryColor: string;
|
|
1028
|
+
description?: string | undefined;
|
|
912
1029
|
guidelinesUrl?: string | undefined;
|
|
1030
|
+
industry?: string | undefined;
|
|
1031
|
+
assets?: {
|
|
1032
|
+
type: string;
|
|
1033
|
+
assetId: string;
|
|
1034
|
+
fileName: string;
|
|
1035
|
+
extension: string;
|
|
1036
|
+
fileSize: number;
|
|
1037
|
+
assetUrl: string;
|
|
1038
|
+
thumbnailUrl: string;
|
|
1039
|
+
authorId: string;
|
|
1040
|
+
uploadedAt: number;
|
|
1041
|
+
error?: string | undefined;
|
|
1042
|
+
duration?: number | undefined;
|
|
1043
|
+
progress?: number | undefined;
|
|
1044
|
+
}[] | undefined;
|
|
913
1045
|
}, {
|
|
914
1046
|
iconUrl: string;
|
|
915
1047
|
logoUrl: string;
|
|
916
1048
|
primaryColor: string;
|
|
917
1049
|
secondaryColor: string;
|
|
1050
|
+
description?: string | undefined;
|
|
918
1051
|
guidelinesUrl?: string | undefined;
|
|
1052
|
+
industry?: string | undefined;
|
|
1053
|
+
assets?: {
|
|
1054
|
+
type: string;
|
|
1055
|
+
assetId: string;
|
|
1056
|
+
fileName: string;
|
|
1057
|
+
extension: string;
|
|
1058
|
+
fileSize: number;
|
|
1059
|
+
assetUrl: string;
|
|
1060
|
+
thumbnailUrl: string;
|
|
1061
|
+
authorId: string;
|
|
1062
|
+
uploadedAt: number;
|
|
1063
|
+
error?: string | undefined;
|
|
1064
|
+
duration?: number | undefined;
|
|
1065
|
+
progress?: number | undefined;
|
|
1066
|
+
}[] | undefined;
|
|
919
1067
|
}>;
|
|
920
1068
|
inviteCode: z.ZodString;
|
|
921
1069
|
totalUsersAllowed: z.ZodNumber;
|
|
@@ -1115,7 +1263,23 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1115
1263
|
logoUrl: string;
|
|
1116
1264
|
primaryColor: string;
|
|
1117
1265
|
secondaryColor: string;
|
|
1266
|
+
description?: string | undefined;
|
|
1118
1267
|
guidelinesUrl?: string | undefined;
|
|
1268
|
+
industry?: string | undefined;
|
|
1269
|
+
assets?: {
|
|
1270
|
+
type: string;
|
|
1271
|
+
assetId: string;
|
|
1272
|
+
fileName: string;
|
|
1273
|
+
extension: string;
|
|
1274
|
+
fileSize: number;
|
|
1275
|
+
assetUrl: string;
|
|
1276
|
+
thumbnailUrl: string;
|
|
1277
|
+
authorId: string;
|
|
1278
|
+
uploadedAt: number;
|
|
1279
|
+
error?: string | undefined;
|
|
1280
|
+
duration?: number | undefined;
|
|
1281
|
+
progress?: number | undefined;
|
|
1282
|
+
}[] | undefined;
|
|
1119
1283
|
};
|
|
1120
1284
|
inviteCode: string;
|
|
1121
1285
|
totalUsersAllowed: number;
|
|
@@ -1175,7 +1339,23 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1175
1339
|
logoUrl: string;
|
|
1176
1340
|
primaryColor: string;
|
|
1177
1341
|
secondaryColor: string;
|
|
1342
|
+
description?: string | undefined;
|
|
1178
1343
|
guidelinesUrl?: string | undefined;
|
|
1344
|
+
industry?: string | undefined;
|
|
1345
|
+
assets?: {
|
|
1346
|
+
type: string;
|
|
1347
|
+
assetId: string;
|
|
1348
|
+
fileName: string;
|
|
1349
|
+
extension: string;
|
|
1350
|
+
fileSize: number;
|
|
1351
|
+
assetUrl: string;
|
|
1352
|
+
thumbnailUrl: string;
|
|
1353
|
+
authorId: string;
|
|
1354
|
+
uploadedAt: number;
|
|
1355
|
+
error?: string | undefined;
|
|
1356
|
+
duration?: number | undefined;
|
|
1357
|
+
progress?: number | undefined;
|
|
1358
|
+
}[] | undefined;
|
|
1179
1359
|
};
|
|
1180
1360
|
inviteCode: string;
|
|
1181
1361
|
totalUsersAllowed: number;
|
|
@@ -1591,19 +1771,7 @@ declare const ProjectSchema: z.ZodObject<{
|
|
|
1591
1771
|
}[];
|
|
1592
1772
|
submitTimestamp: number;
|
|
1593
1773
|
tenantId?: string | undefined;
|
|
1594
|
-
editorId?: string | undefined;
|
|
1595
1774
|
thumbnailUrl?: string | undefined;
|
|
1596
|
-
finalVideoId?: string | undefined;
|
|
1597
|
-
feedback?: {
|
|
1598
|
-
criteria: {
|
|
1599
|
-
id: string;
|
|
1600
|
-
label: string;
|
|
1601
|
-
score: number;
|
|
1602
|
-
comment?: string | undefined;
|
|
1603
|
-
}[];
|
|
1604
|
-
comment?: string | undefined;
|
|
1605
|
-
} | undefined;
|
|
1606
|
-
captionSuggestion?: string | undefined;
|
|
1607
1775
|
assets?: {
|
|
1608
1776
|
type: string;
|
|
1609
1777
|
assetId: string;
|
|
@@ -1618,6 +1786,18 @@ declare const ProjectSchema: z.ZodObject<{
|
|
|
1618
1786
|
duration?: number | undefined;
|
|
1619
1787
|
progress?: number | undefined;
|
|
1620
1788
|
}[] | undefined;
|
|
1789
|
+
editorId?: string | undefined;
|
|
1790
|
+
finalVideoId?: string | undefined;
|
|
1791
|
+
feedback?: {
|
|
1792
|
+
criteria: {
|
|
1793
|
+
id: string;
|
|
1794
|
+
label: string;
|
|
1795
|
+
score: number;
|
|
1796
|
+
comment?: string | undefined;
|
|
1797
|
+
}[];
|
|
1798
|
+
comment?: string | undefined;
|
|
1799
|
+
} | undefined;
|
|
1800
|
+
captionSuggestion?: string | undefined;
|
|
1621
1801
|
isFree?: boolean | undefined;
|
|
1622
1802
|
}, {
|
|
1623
1803
|
id: string;
|
|
@@ -1638,19 +1818,7 @@ declare const ProjectSchema: z.ZodObject<{
|
|
|
1638
1818
|
}[];
|
|
1639
1819
|
submitTimestamp: number;
|
|
1640
1820
|
tenantId?: string | undefined;
|
|
1641
|
-
editorId?: string | undefined;
|
|
1642
1821
|
thumbnailUrl?: string | undefined;
|
|
1643
|
-
finalVideoId?: string | undefined;
|
|
1644
|
-
feedback?: {
|
|
1645
|
-
criteria: {
|
|
1646
|
-
id: string;
|
|
1647
|
-
label: string;
|
|
1648
|
-
score: number;
|
|
1649
|
-
comment?: string | undefined;
|
|
1650
|
-
}[];
|
|
1651
|
-
comment?: string | undefined;
|
|
1652
|
-
} | undefined;
|
|
1653
|
-
captionSuggestion?: string | undefined;
|
|
1654
1822
|
assets?: {
|
|
1655
1823
|
type: string;
|
|
1656
1824
|
assetId: string;
|
|
@@ -1665,6 +1833,18 @@ declare const ProjectSchema: z.ZodObject<{
|
|
|
1665
1833
|
duration?: number | undefined;
|
|
1666
1834
|
progress?: number | undefined;
|
|
1667
1835
|
}[] | undefined;
|
|
1836
|
+
editorId?: string | undefined;
|
|
1837
|
+
finalVideoId?: string | undefined;
|
|
1838
|
+
feedback?: {
|
|
1839
|
+
criteria: {
|
|
1840
|
+
id: string;
|
|
1841
|
+
label: string;
|
|
1842
|
+
score: number;
|
|
1843
|
+
comment?: string | undefined;
|
|
1844
|
+
}[];
|
|
1845
|
+
comment?: string | undefined;
|
|
1846
|
+
} | undefined;
|
|
1847
|
+
captionSuggestion?: string | undefined;
|
|
1668
1848
|
isFree?: boolean | undefined;
|
|
1669
1849
|
}>;
|
|
1670
1850
|
type ProjectCreation = Pick<Project, "title" | "instructions" | "captionStyle" | "assets">;
|
|
@@ -1865,8 +2045,8 @@ declare const GoalSchema: z.ZodObject<{
|
|
|
1865
2045
|
}, "strip", z.ZodTypeAny, {
|
|
1866
2046
|
id: string;
|
|
1867
2047
|
createdAt: number;
|
|
1868
|
-
editorId: string;
|
|
1869
2048
|
progress: number;
|
|
2049
|
+
editorId: string;
|
|
1870
2050
|
target: number;
|
|
1871
2051
|
isoWeek: string;
|
|
1872
2052
|
dailyMilestones: {
|
|
@@ -1878,8 +2058,8 @@ declare const GoalSchema: z.ZodObject<{
|
|
|
1878
2058
|
}, {
|
|
1879
2059
|
id: string;
|
|
1880
2060
|
createdAt: number;
|
|
1881
|
-
editorId: string;
|
|
1882
2061
|
progress: number;
|
|
2062
|
+
editorId: string;
|
|
1883
2063
|
target: number;
|
|
1884
2064
|
isoWeek: string;
|
|
1885
2065
|
dailyMilestones: {
|
package/dist/index.js
CHANGED
|
@@ -5870,7 +5870,10 @@ var PreferencesSchema = external_exports.object({
|
|
|
5870
5870
|
logoUrl: external_exports.string().url(),
|
|
5871
5871
|
primaryColor: external_exports.string(),
|
|
5872
5872
|
secondaryColor: external_exports.string(),
|
|
5873
|
-
guidelinesUrl: external_exports.string().url().optional()
|
|
5873
|
+
guidelinesUrl: external_exports.string().url().optional(),
|
|
5874
|
+
description: external_exports.string().optional(),
|
|
5875
|
+
industry: external_exports.string().optional(),
|
|
5876
|
+
assets: external_exports.array(AssetSchema).optional()
|
|
5874
5877
|
});
|
|
5875
5878
|
var TenantSchema = external_exports.object({
|
|
5876
5879
|
id: external_exports.string(),
|