shred-api-client 2.3.6 → 2.3.7-rc.0

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 CHANGED
@@ -896,6 +896,8 @@ declare const PreferencesSchema: z.ZodObject<{
896
896
  declare const TenantSchema: z.ZodObject<{
897
897
  id: z.ZodString;
898
898
  name: z.ZodString;
899
+ industry: z.ZodString;
900
+ description: z.ZodString;
899
901
  isActive: z.ZodBoolean;
900
902
  isSubscriptionActive: z.ZodBoolean;
901
903
  preferences: z.ZodObject<{
@@ -1103,9 +1105,51 @@ declare const TenantSchema: z.ZodObject<{
1103
1105
  subscriptionItemId: string;
1104
1106
  } | undefined;
1105
1107
  }>>>;
1108
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1109
+ assetId: z.ZodString;
1110
+ fileName: z.ZodString;
1111
+ extension: z.ZodString;
1112
+ fileSize: z.ZodNumber;
1113
+ assetUrl: z.ZodString;
1114
+ thumbnailUrl: z.ZodString;
1115
+ type: z.ZodString;
1116
+ duration: z.ZodOptional<z.ZodNumber>;
1117
+ progress: z.ZodOptional<z.ZodNumber>;
1118
+ error: z.ZodOptional<z.ZodString>;
1119
+ authorId: z.ZodString;
1120
+ uploadedAt: z.ZodNumber;
1121
+ }, "strip", z.ZodTypeAny, {
1122
+ type: string;
1123
+ assetId: string;
1124
+ fileName: string;
1125
+ extension: string;
1126
+ fileSize: number;
1127
+ assetUrl: string;
1128
+ thumbnailUrl: string;
1129
+ authorId: string;
1130
+ uploadedAt: number;
1131
+ error?: string | undefined;
1132
+ duration?: number | undefined;
1133
+ progress?: number | undefined;
1134
+ }, {
1135
+ type: string;
1136
+ assetId: string;
1137
+ fileName: string;
1138
+ extension: string;
1139
+ fileSize: number;
1140
+ assetUrl: string;
1141
+ thumbnailUrl: string;
1142
+ authorId: string;
1143
+ uploadedAt: number;
1144
+ error?: string | undefined;
1145
+ duration?: number | undefined;
1146
+ progress?: number | undefined;
1147
+ }>, "many">>;
1106
1148
  }, "strip", z.ZodTypeAny, {
1107
1149
  id: string;
1150
+ description: string;
1108
1151
  name: string;
1152
+ industry: string;
1109
1153
  isActive: boolean;
1110
1154
  isSubscriptionActive: boolean;
1111
1155
  preferences: {
@@ -1161,9 +1205,25 @@ declare const TenantSchema: z.ZodObject<{
1161
1205
  subscriptionItemId: string;
1162
1206
  } | undefined;
1163
1207
  } | undefined;
1208
+ assets?: {
1209
+ type: string;
1210
+ assetId: string;
1211
+ fileName: string;
1212
+ extension: string;
1213
+ fileSize: number;
1214
+ assetUrl: string;
1215
+ thumbnailUrl: string;
1216
+ authorId: string;
1217
+ uploadedAt: number;
1218
+ error?: string | undefined;
1219
+ duration?: number | undefined;
1220
+ progress?: number | undefined;
1221
+ }[] | undefined;
1164
1222
  }, {
1165
1223
  id: string;
1224
+ description: string;
1166
1225
  name: string;
1226
+ industry: string;
1167
1227
  isActive: boolean;
1168
1228
  isSubscriptionActive: boolean;
1169
1229
  preferences: {
@@ -1219,6 +1279,20 @@ declare const TenantSchema: z.ZodObject<{
1219
1279
  subscriptionItemId: string;
1220
1280
  } | undefined;
1221
1281
  } | undefined;
1282
+ assets?: {
1283
+ type: string;
1284
+ assetId: string;
1285
+ fileName: string;
1286
+ extension: string;
1287
+ fileSize: number;
1288
+ assetUrl: string;
1289
+ thumbnailUrl: string;
1290
+ authorId: string;
1291
+ uploadedAt: number;
1292
+ error?: string | undefined;
1293
+ duration?: number | undefined;
1294
+ progress?: number | undefined;
1295
+ }[] | undefined;
1222
1296
  }>;
1223
1297
  type Tenant = z.infer<typeof TenantSchema>;
1224
1298
  type Preferences = z.infer<typeof PreferencesSchema>;
@@ -1561,19 +1635,7 @@ declare const ProjectSchema: z.ZodObject<{
1561
1635
  }[];
1562
1636
  submitTimestamp: number;
1563
1637
  tenantId?: string | undefined;
1564
- editorId?: string | undefined;
1565
1638
  thumbnailUrl?: string | undefined;
1566
- finalVideoId?: string | undefined;
1567
- feedback?: {
1568
- criteria: {
1569
- id: string;
1570
- label: string;
1571
- score: number;
1572
- comment?: string | undefined;
1573
- }[];
1574
- comment?: string | undefined;
1575
- } | undefined;
1576
- captionSuggestion?: string | undefined;
1577
1639
  assets?: {
1578
1640
  type: string;
1579
1641
  assetId: string;
@@ -1588,6 +1650,18 @@ declare const ProjectSchema: z.ZodObject<{
1588
1650
  duration?: number | undefined;
1589
1651
  progress?: number | undefined;
1590
1652
  }[] | undefined;
1653
+ editorId?: string | undefined;
1654
+ finalVideoId?: string | undefined;
1655
+ feedback?: {
1656
+ criteria: {
1657
+ id: string;
1658
+ label: string;
1659
+ score: number;
1660
+ comment?: string | undefined;
1661
+ }[];
1662
+ comment?: string | undefined;
1663
+ } | undefined;
1664
+ captionSuggestion?: string | undefined;
1591
1665
  isFree?: boolean | undefined;
1592
1666
  }, {
1593
1667
  id: string;
@@ -1608,19 +1682,7 @@ declare const ProjectSchema: z.ZodObject<{
1608
1682
  }[];
1609
1683
  submitTimestamp: number;
1610
1684
  tenantId?: string | undefined;
1611
- editorId?: string | undefined;
1612
1685
  thumbnailUrl?: string | undefined;
1613
- finalVideoId?: string | undefined;
1614
- feedback?: {
1615
- criteria: {
1616
- id: string;
1617
- label: string;
1618
- score: number;
1619
- comment?: string | undefined;
1620
- }[];
1621
- comment?: string | undefined;
1622
- } | undefined;
1623
- captionSuggestion?: string | undefined;
1624
1686
  assets?: {
1625
1687
  type: string;
1626
1688
  assetId: string;
@@ -1635,6 +1697,18 @@ declare const ProjectSchema: z.ZodObject<{
1635
1697
  duration?: number | undefined;
1636
1698
  progress?: number | undefined;
1637
1699
  }[] | undefined;
1700
+ editorId?: string | undefined;
1701
+ finalVideoId?: string | undefined;
1702
+ feedback?: {
1703
+ criteria: {
1704
+ id: string;
1705
+ label: string;
1706
+ score: number;
1707
+ comment?: string | undefined;
1708
+ }[];
1709
+ comment?: string | undefined;
1710
+ } | undefined;
1711
+ captionSuggestion?: string | undefined;
1638
1712
  isFree?: boolean | undefined;
1639
1713
  }>;
1640
1714
  type ProjectCreation = Pick<Project, "title" | "instructions" | "captionStyle" | "assets">;
@@ -1835,8 +1909,8 @@ declare const GoalSchema: z.ZodObject<{
1835
1909
  }, "strip", z.ZodTypeAny, {
1836
1910
  id: string;
1837
1911
  createdAt: number;
1838
- editorId: string;
1839
1912
  progress: number;
1913
+ editorId: string;
1840
1914
  target: number;
1841
1915
  isoWeek: string;
1842
1916
  dailyMilestones: {
@@ -1848,8 +1922,8 @@ declare const GoalSchema: z.ZodObject<{
1848
1922
  }, {
1849
1923
  id: string;
1850
1924
  createdAt: number;
1851
- editorId: string;
1852
1925
  progress: number;
1926
+ editorId: string;
1853
1927
  target: number;
1854
1928
  isoWeek: string;
1855
1929
  dailyMilestones: {
package/dist/index.js CHANGED
@@ -5862,6 +5862,8 @@ var PreferencesSchema = external_exports.object({
5862
5862
  var TenantSchema = external_exports.object({
5863
5863
  id: external_exports.string(),
5864
5864
  name: external_exports.string(),
5865
+ industry: external_exports.string(),
5866
+ description: external_exports.string(),
5865
5867
  isActive: external_exports.boolean(),
5866
5868
  isSubscriptionActive: external_exports.boolean(),
5867
5869
  preferences: PreferencesSchema,
@@ -5874,7 +5876,8 @@ var TenantSchema = external_exports.object({
5874
5876
  defaultCoupomCode: external_exports.string().optional(),
5875
5877
  allowedProducts: external_exports.array(external_exports.string()).optional(),
5876
5878
  useOwnScripts: external_exports.boolean().optional(),
5877
- subscription: external_exports.optional(external_exports.lazy(() => SubscriptionSchema))
5879
+ subscription: external_exports.optional(external_exports.lazy(() => SubscriptionSchema)),
5880
+ assets: external_exports.array(AssetSchema).optional()
5878
5881
  });
5879
5882
 
5880
5883
  // src/model/tenant/Tenant.api.ts