shred-api-client 2.2.4-rc.0 → 2.2.4-rc.2

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.mjs CHANGED
@@ -840,6 +840,7 @@ __export(project_exports, {
840
840
  FeedbackSchema: () => FeedbackSchema,
841
841
  ProjectSchema: () => ProjectSchema,
842
842
  Status: () => Status2,
843
+ StatusConfig: () => StatusConfig,
843
844
  Styles: () => Styles,
844
845
  TimelineItemSchema: () => TimelineItemSchema
845
846
  });
@@ -966,6 +967,226 @@ var Endpoints3 = {
966
967
  GetPoolSize: { uri: "/projects/pool/size/", method: "GET" }
967
968
  };
968
969
 
970
+ // src/model/project/StatusConfig.ts
971
+ var StatusConfig = {
972
+ [0 /* SUBMITTED */]: {
973
+ id: 0 /* SUBMITTED */,
974
+ label: "Submitted",
975
+ colors: {
976
+ text: "text-yellow-800",
977
+ bg: "bg-yellow-100",
978
+ border: "border-yellow-200",
979
+ dot: "bg-yellow-700"
980
+ },
981
+ thumbnail: {
982
+ primary: "bg-yellow-300",
983
+ secondary: "bg-yellow-50"
984
+ },
985
+ icons: {
986
+ mobile: { primary: "#FACC15", secondary: "#FEF9C3" },
987
+ web: {
988
+ name: "Share",
989
+ iconColor: "text-yellow-900",
990
+ bgColor: "bg-yellow-200"
991
+ }
992
+ },
993
+ progress: {
994
+ primary: "bg-yellow-400",
995
+ secondary: "bg-yellow-50",
996
+ border: "border-yellow-100"
997
+ }
998
+ },
999
+ [1 /* EDITING */]: {
1000
+ id: 1 /* EDITING */,
1001
+ label: "In Progress",
1002
+ colors: {
1003
+ text: "text-violet-600",
1004
+ bg: "bg-violet-50",
1005
+ border: "border-violet-200",
1006
+ dot: "bg-violet-600"
1007
+ },
1008
+ thumbnail: {
1009
+ primary: "bg-violet-300",
1010
+ secondary: "bg-violet-50"
1011
+ },
1012
+ icons: {
1013
+ mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1014
+ web: {
1015
+ name: "Hourglass",
1016
+ iconColor: "text-violet-600",
1017
+ bgColor: "bg-violet-200"
1018
+ }
1019
+ },
1020
+ progress: {
1021
+ primary: "bg-violet-300",
1022
+ secondary: "bg-violet-50",
1023
+ border: "border-violet-100"
1024
+ }
1025
+ },
1026
+ [3 /* WAITING_APPROVE */]: {
1027
+ id: 3 /* WAITING_APPROVE */,
1028
+ label: "Waiting Approval",
1029
+ colors: {
1030
+ text: "text-orange-700",
1031
+ bg: "bg-orange-100",
1032
+ border: "border-orange-200",
1033
+ dot: "bg-orange-600"
1034
+ },
1035
+ thumbnail: {
1036
+ primary: "bg-violet-300",
1037
+ secondary: "bg-violet-50"
1038
+ },
1039
+ icons: {
1040
+ mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1041
+ web: {
1042
+ name: "Clock",
1043
+ iconColor: "text-orange-700",
1044
+ bgColor: "bg-orange-200"
1045
+ }
1046
+ },
1047
+ progress: {
1048
+ primary: "bg-orange-300",
1049
+ secondary: "bg-orange-50",
1050
+ border: "border-orange-100"
1051
+ }
1052
+ },
1053
+ [4 /* DENIED */]: {
1054
+ id: 4 /* DENIED */,
1055
+ label: "Denied",
1056
+ colors: {
1057
+ text: "text-red-500",
1058
+ bg: "bg-red-100",
1059
+ border: "border-red-200",
1060
+ dot: "bg-red-500"
1061
+ },
1062
+ thumbnail: {
1063
+ primary: "bg-violet-300",
1064
+ secondary: "bg-violet-50"
1065
+ },
1066
+ icons: {
1067
+ mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1068
+ web: {
1069
+ name: "CircleX",
1070
+ iconColor: "text-red-500",
1071
+ bgColor: "bg-red-200"
1072
+ }
1073
+ },
1074
+ progress: {
1075
+ primary: "bg-red-300",
1076
+ secondary: "bg-red-50",
1077
+ border: "border-red-100"
1078
+ }
1079
+ },
1080
+ [7 /* SCHEDULED */]: {
1081
+ id: 7 /* SCHEDULED */,
1082
+ label: "Scheduled",
1083
+ colors: {
1084
+ text: "text-lime-800",
1085
+ bg: "bg-lime-100",
1086
+ border: "border-lime-200",
1087
+ dot: "bg-lime-700"
1088
+ },
1089
+ thumbnail: {
1090
+ primary: "bg-violet-300",
1091
+ secondary: "bg-violet-50"
1092
+ },
1093
+ icons: {
1094
+ mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1095
+ web: {
1096
+ name: "CalendarRange",
1097
+ iconColor: "text-lime-800",
1098
+ bgColor: "bg-lime-200"
1099
+ }
1100
+ },
1101
+ progress: {
1102
+ primary: "bg-lime-300",
1103
+ secondary: "bg-lime-50",
1104
+ border: "border-lime-100"
1105
+ }
1106
+ },
1107
+ [2 /* COMPLETED */]: {
1108
+ id: 2 /* COMPLETED */,
1109
+ label: "Completed",
1110
+ colors: {
1111
+ text: "text-green-600",
1112
+ bg: "bg-green-50",
1113
+ border: "border-green-100",
1114
+ dot: "bg-green-600"
1115
+ },
1116
+ thumbnail: {
1117
+ primary: "bg-green-300",
1118
+ secondary: "bg-green-50"
1119
+ },
1120
+ icons: {
1121
+ mobile: { primary: "#22C55E", secondary: "#BBF7D0" },
1122
+ web: {
1123
+ name: "CircleCheck",
1124
+ iconColor: "text-green-600",
1125
+ bgColor: "bg-green-100"
1126
+ }
1127
+ },
1128
+ progress: {
1129
+ primary: "bg-green-400",
1130
+ secondary: "bg-green-100",
1131
+ border: "border-green-200"
1132
+ }
1133
+ },
1134
+ [5 /* REVISIONING */]: {
1135
+ id: 5 /* REVISIONING */,
1136
+ label: "Revisioning",
1137
+ colors: {
1138
+ text: "text-sky-700",
1139
+ bg: "bg-sky-200",
1140
+ border: "border-sky-300",
1141
+ dot: "bg-sky-700"
1142
+ },
1143
+ thumbnail: {
1144
+ primary: "bg-sky-300",
1145
+ secondary: "bg-sky-100"
1146
+ },
1147
+ icons: {
1148
+ mobile: { primary: "#0EA5E9", secondary: "#7DD3FC" },
1149
+ web: {
1150
+ name: "FilePen",
1151
+ iconColor: "text-sky-700",
1152
+ bgColor: "bg-sky-300"
1153
+ }
1154
+ },
1155
+ progress: {
1156
+ primary: "bg-sky-300",
1157
+ secondary: "bg-sky-50",
1158
+ border: "border-sky-100"
1159
+ }
1160
+ },
1161
+ [6 /* CANCELLED */]: {
1162
+ id: 6 /* CANCELLED */,
1163
+ label: "Canceled",
1164
+ colors: {
1165
+ text: "text-neutral-400",
1166
+ bg: "bg-neutral-100",
1167
+ border: "border-neutral-200",
1168
+ dot: "bg-neutral-400"
1169
+ },
1170
+ thumbnail: {
1171
+ primary: "bg-gray-300",
1172
+ secondary: "bg-gray-50"
1173
+ },
1174
+ icons: {
1175
+ mobile: { primary: "#6B7280", secondary: "#D1D5DB" },
1176
+ web: {
1177
+ name: "Ban",
1178
+ iconColor: "text-neutral-400",
1179
+ bgColor: "bg-neutral-100"
1180
+ }
1181
+ },
1182
+ progress: {
1183
+ primary: "bg-gray-400",
1184
+ secondary: "bg-gray-50",
1185
+ border: "border-gray-200"
1186
+ }
1187
+ }
1188
+ };
1189
+
969
1190
  // src/api/Project.api.ts
970
1191
  var ProjectAPI = class {
971
1192
  constructor(env) {
@@ -1640,7 +1861,7 @@ var PreferencesSchema2 = z10.object({
1640
1861
  primaryColor: z10.string().optional(),
1641
1862
  secondaryColor: z10.string().optional(),
1642
1863
  facebookLink: z10.string().optional(),
1643
- isFeedbackEnabled: z10.boolean().default(true).optional(),
1864
+ isFeedbackEnabled: z10.boolean().optional().default(true),
1644
1865
  instagramLink: z10.string().optional(),
1645
1866
  bRoll: z10.boolean().optional(),
1646
1867
  logo: z10.string().optional()