shred-api-client 2.3.7 → 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 +213 -48
- package/dist/index.js +7 -23
- 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;
|
|
@@ -1103,6 +1251,8 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1103
1251
|
subscriptionItemId: string;
|
|
1104
1252
|
} | undefined;
|
|
1105
1253
|
}>>>;
|
|
1254
|
+
totalSubscriptions: z.ZodOptional<z.ZodNumber>;
|
|
1255
|
+
totalUsers: z.ZodOptional<z.ZodNumber>;
|
|
1106
1256
|
}, "strip", z.ZodTypeAny, {
|
|
1107
1257
|
id: string;
|
|
1108
1258
|
name: string;
|
|
@@ -1113,7 +1263,23 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1113
1263
|
logoUrl: string;
|
|
1114
1264
|
primaryColor: string;
|
|
1115
1265
|
secondaryColor: string;
|
|
1266
|
+
description?: string | undefined;
|
|
1116
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;
|
|
1117
1283
|
};
|
|
1118
1284
|
inviteCode: string;
|
|
1119
1285
|
totalUsersAllowed: number;
|
|
@@ -1161,6 +1327,8 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1161
1327
|
subscriptionItemId: string;
|
|
1162
1328
|
} | undefined;
|
|
1163
1329
|
} | undefined;
|
|
1330
|
+
totalSubscriptions?: number | undefined;
|
|
1331
|
+
totalUsers?: number | undefined;
|
|
1164
1332
|
}, {
|
|
1165
1333
|
id: string;
|
|
1166
1334
|
name: string;
|
|
@@ -1171,7 +1339,23 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1171
1339
|
logoUrl: string;
|
|
1172
1340
|
primaryColor: string;
|
|
1173
1341
|
secondaryColor: string;
|
|
1342
|
+
description?: string | undefined;
|
|
1174
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;
|
|
1175
1359
|
};
|
|
1176
1360
|
inviteCode: string;
|
|
1177
1361
|
totalUsersAllowed: number;
|
|
@@ -1219,19 +1403,8 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1219
1403
|
subscriptionItemId: string;
|
|
1220
1404
|
} | undefined;
|
|
1221
1405
|
} | undefined;
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
tenantId: z.ZodString;
|
|
1225
|
-
subscriptions: z.ZodNumber;
|
|
1226
|
-
users: z.ZodNumber;
|
|
1227
|
-
}, "strip", z.ZodTypeAny, {
|
|
1228
|
-
users: number;
|
|
1229
|
-
tenantId: string;
|
|
1230
|
-
subscriptions: number;
|
|
1231
|
-
}, {
|
|
1232
|
-
users: number;
|
|
1233
|
-
tenantId: string;
|
|
1234
|
-
subscriptions: number;
|
|
1406
|
+
totalSubscriptions?: number | undefined;
|
|
1407
|
+
totalUsers?: number | undefined;
|
|
1235
1408
|
}>;
|
|
1236
1409
|
declare const MemberSchema: z.ZodObject<{
|
|
1237
1410
|
name: z.ZodString;
|
|
@@ -1251,7 +1424,6 @@ declare const MemberSchema: z.ZodObject<{
|
|
|
1251
1424
|
}>;
|
|
1252
1425
|
type Tenant = z.infer<typeof TenantSchema>;
|
|
1253
1426
|
type Member = z.infer<typeof MemberSchema>;
|
|
1254
|
-
type Summary = z.infer<typeof SummarySchema>;
|
|
1255
1427
|
type Preferences = z.infer<typeof PreferencesSchema>;
|
|
1256
1428
|
|
|
1257
1429
|
interface IAPI$7 {
|
|
@@ -1259,7 +1431,6 @@ interface IAPI$7 {
|
|
|
1259
1431
|
create: (tenant: Tenant, context: Context) => Promise<boolean>;
|
|
1260
1432
|
list: (context: Context) => Promise<Tenant[]>;
|
|
1261
1433
|
getTenant: (context: Context, tenantId?: string) => Promise<Tenant | null>;
|
|
1262
|
-
getSummaries: (context: Context) => Promise<Summary[]>;
|
|
1263
1434
|
getMembers: (context: Context, tenantId: string) => Promise<Member[]>;
|
|
1264
1435
|
update: (tenantId: string, data: Pick<Tenant, "preferences">, context: Context) => Promise<boolean>;
|
|
1265
1436
|
}
|
|
@@ -1288,10 +1459,6 @@ declare const Endpoints$6: {
|
|
|
1288
1459
|
uri: string;
|
|
1289
1460
|
method: string;
|
|
1290
1461
|
};
|
|
1291
|
-
Summaries: {
|
|
1292
|
-
uri: string;
|
|
1293
|
-
method: string;
|
|
1294
|
-
};
|
|
1295
1462
|
Members: {
|
|
1296
1463
|
uri: string;
|
|
1297
1464
|
method: string;
|
|
@@ -1302,11 +1469,9 @@ type index$8_Member = Member;
|
|
|
1302
1469
|
declare const index$8_MemberSchema: typeof MemberSchema;
|
|
1303
1470
|
type index$8_Preferences = Preferences;
|
|
1304
1471
|
declare const index$8_PreferencesSchema: typeof PreferencesSchema;
|
|
1305
|
-
type index$8_Summary = Summary;
|
|
1306
|
-
declare const index$8_SummarySchema: typeof SummarySchema;
|
|
1307
1472
|
declare const index$8_TenantSchema: typeof TenantSchema;
|
|
1308
1473
|
declare namespace index$8 {
|
|
1309
|
-
export { Endpoints$6 as Endpoints, type Tenant as Entity, type IAPI$7 as IAPI, type index$8_Member as Member, index$8_MemberSchema as MemberSchema, type index$8_Preferences as Preferences, index$8_PreferencesSchema as PreferencesSchema,
|
|
1474
|
+
export { Endpoints$6 as Endpoints, type Tenant as Entity, type IAPI$7 as IAPI, type index$8_Member as Member, index$8_MemberSchema as MemberSchema, type index$8_Preferences as Preferences, index$8_PreferencesSchema as PreferencesSchema, index$8_TenantSchema as TenantSchema };
|
|
1310
1475
|
}
|
|
1311
1476
|
|
|
1312
1477
|
declare const TrackParamSchema: z.ZodObject<{
|
|
@@ -1606,19 +1771,7 @@ declare const ProjectSchema: z.ZodObject<{
|
|
|
1606
1771
|
}[];
|
|
1607
1772
|
submitTimestamp: number;
|
|
1608
1773
|
tenantId?: string | undefined;
|
|
1609
|
-
editorId?: string | undefined;
|
|
1610
1774
|
thumbnailUrl?: string | undefined;
|
|
1611
|
-
finalVideoId?: string | undefined;
|
|
1612
|
-
feedback?: {
|
|
1613
|
-
criteria: {
|
|
1614
|
-
id: string;
|
|
1615
|
-
label: string;
|
|
1616
|
-
score: number;
|
|
1617
|
-
comment?: string | undefined;
|
|
1618
|
-
}[];
|
|
1619
|
-
comment?: string | undefined;
|
|
1620
|
-
} | undefined;
|
|
1621
|
-
captionSuggestion?: string | undefined;
|
|
1622
1775
|
assets?: {
|
|
1623
1776
|
type: string;
|
|
1624
1777
|
assetId: string;
|
|
@@ -1633,6 +1786,18 @@ declare const ProjectSchema: z.ZodObject<{
|
|
|
1633
1786
|
duration?: number | undefined;
|
|
1634
1787
|
progress?: number | undefined;
|
|
1635
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;
|
|
1636
1801
|
isFree?: boolean | undefined;
|
|
1637
1802
|
}, {
|
|
1638
1803
|
id: string;
|
|
@@ -1653,19 +1818,7 @@ declare const ProjectSchema: z.ZodObject<{
|
|
|
1653
1818
|
}[];
|
|
1654
1819
|
submitTimestamp: number;
|
|
1655
1820
|
tenantId?: string | undefined;
|
|
1656
|
-
editorId?: string | undefined;
|
|
1657
1821
|
thumbnailUrl?: string | undefined;
|
|
1658
|
-
finalVideoId?: string | undefined;
|
|
1659
|
-
feedback?: {
|
|
1660
|
-
criteria: {
|
|
1661
|
-
id: string;
|
|
1662
|
-
label: string;
|
|
1663
|
-
score: number;
|
|
1664
|
-
comment?: string | undefined;
|
|
1665
|
-
}[];
|
|
1666
|
-
comment?: string | undefined;
|
|
1667
|
-
} | undefined;
|
|
1668
|
-
captionSuggestion?: string | undefined;
|
|
1669
1822
|
assets?: {
|
|
1670
1823
|
type: string;
|
|
1671
1824
|
assetId: string;
|
|
@@ -1680,6 +1833,18 @@ declare const ProjectSchema: z.ZodObject<{
|
|
|
1680
1833
|
duration?: number | undefined;
|
|
1681
1834
|
progress?: number | undefined;
|
|
1682
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;
|
|
1683
1848
|
isFree?: boolean | undefined;
|
|
1684
1849
|
}>;
|
|
1685
1850
|
type ProjectCreation = Pick<Project, "title" | "instructions" | "captionStyle" | "assets">;
|
|
@@ -1880,8 +2045,8 @@ declare const GoalSchema: z.ZodObject<{
|
|
|
1880
2045
|
}, "strip", z.ZodTypeAny, {
|
|
1881
2046
|
id: string;
|
|
1882
2047
|
createdAt: number;
|
|
1883
|
-
editorId: string;
|
|
1884
2048
|
progress: number;
|
|
2049
|
+
editorId: string;
|
|
1885
2050
|
target: number;
|
|
1886
2051
|
isoWeek: string;
|
|
1887
2052
|
dailyMilestones: {
|
|
@@ -1893,8 +2058,8 @@ declare const GoalSchema: z.ZodObject<{
|
|
|
1893
2058
|
}, {
|
|
1894
2059
|
id: string;
|
|
1895
2060
|
createdAt: number;
|
|
1896
|
-
editorId: string;
|
|
1897
2061
|
progress: number;
|
|
2062
|
+
editorId: string;
|
|
1898
2063
|
target: number;
|
|
1899
2064
|
isoWeek: string;
|
|
1900
2065
|
dailyMilestones: {
|
package/dist/index.js
CHANGED
|
@@ -4673,17 +4673,6 @@ var TenantAPI = class {
|
|
|
4673
4673
|
);
|
|
4674
4674
|
return data;
|
|
4675
4675
|
}
|
|
4676
|
-
async getSummaries(context) {
|
|
4677
|
-
const endpoint = tenant_exports.Endpoints.Summaries;
|
|
4678
|
-
const data = await this.clientHTTP.makeRequest(
|
|
4679
|
-
this.env,
|
|
4680
|
-
endpoint.uri,
|
|
4681
|
-
endpoint.method,
|
|
4682
|
-
null,
|
|
4683
|
-
context
|
|
4684
|
-
);
|
|
4685
|
-
return data;
|
|
4686
|
-
}
|
|
4687
4676
|
};
|
|
4688
4677
|
var Tenant_api_default = TenantAPI;
|
|
4689
4678
|
|
|
@@ -5820,7 +5809,6 @@ __export(tenant_exports, {
|
|
|
5820
5809
|
Endpoints: () => Endpoints8,
|
|
5821
5810
|
MemberSchema: () => MemberSchema,
|
|
5822
5811
|
PreferencesSchema: () => PreferencesSchema,
|
|
5823
|
-
SummarySchema: () => SummarySchema,
|
|
5824
5812
|
TenantSchema: () => TenantSchema
|
|
5825
5813
|
});
|
|
5826
5814
|
|
|
@@ -5882,7 +5870,10 @@ var PreferencesSchema = external_exports.object({
|
|
|
5882
5870
|
logoUrl: external_exports.string().url(),
|
|
5883
5871
|
primaryColor: external_exports.string(),
|
|
5884
5872
|
secondaryColor: external_exports.string(),
|
|
5885
|
-
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()
|
|
5886
5877
|
});
|
|
5887
5878
|
var TenantSchema = external_exports.object({
|
|
5888
5879
|
id: external_exports.string(),
|
|
@@ -5899,12 +5890,9 @@ var TenantSchema = external_exports.object({
|
|
|
5899
5890
|
defaultCoupomCode: external_exports.string().optional(),
|
|
5900
5891
|
allowedProducts: external_exports.array(external_exports.string()).optional(),
|
|
5901
5892
|
useOwnScripts: external_exports.boolean().optional(),
|
|
5902
|
-
subscription: external_exports.optional(external_exports.lazy(() => SubscriptionSchema))
|
|
5903
|
-
|
|
5904
|
-
|
|
5905
|
-
tenantId: external_exports.string(),
|
|
5906
|
-
subscriptions: external_exports.number(),
|
|
5907
|
-
users: external_exports.number()
|
|
5893
|
+
subscription: external_exports.optional(external_exports.lazy(() => SubscriptionSchema)),
|
|
5894
|
+
totalSubscriptions: external_exports.number().optional(),
|
|
5895
|
+
totalUsers: external_exports.number().optional()
|
|
5908
5896
|
});
|
|
5909
5897
|
var MemberSchema = external_exports.object({
|
|
5910
5898
|
name: external_exports.string(),
|
|
@@ -5939,10 +5927,6 @@ var Endpoints8 = {
|
|
|
5939
5927
|
uri: "/tenants/list",
|
|
5940
5928
|
method: "GET"
|
|
5941
5929
|
},
|
|
5942
|
-
Summaries: {
|
|
5943
|
-
uri: "/tenants/summary/",
|
|
5944
|
-
method: "GET"
|
|
5945
|
-
},
|
|
5946
5930
|
Members: {
|
|
5947
5931
|
uri: "/tenants/:tenantId/members",
|
|
5948
5932
|
method: "GET"
|