shred-api-client 2.2.4 → 2.3.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.mjs CHANGED
@@ -143,7 +143,8 @@ var NotificationDetailSchema = NotificationItemSchema.pick({
143
143
  title: true,
144
144
  body: true,
145
145
  userId: true,
146
- metadata: true
146
+ metadata: true,
147
+ cta: true
147
148
  });
148
149
  var CriteriaSchema = z.object({
149
150
  type: z.nativeEnum(CriteriaType),
@@ -840,6 +841,7 @@ __export(project_exports, {
840
841
  FeedbackSchema: () => FeedbackSchema,
841
842
  ProjectSchema: () => ProjectSchema,
842
843
  Status: () => Status2,
844
+ StatusConfig: () => StatusConfig,
843
845
  Styles: () => Styles,
844
846
  TimelineItemSchema: () => TimelineItemSchema
845
847
  });
@@ -966,6 +968,226 @@ var Endpoints3 = {
966
968
  GetPoolSize: { uri: "/projects/pool/size/", method: "GET" }
967
969
  };
968
970
 
971
+ // src/model/project/StatusConfig.ts
972
+ var StatusConfig = {
973
+ [0 /* SUBMITTED */]: {
974
+ id: 0 /* SUBMITTED */,
975
+ label: "Submitted",
976
+ colors: {
977
+ text: "#854D0E",
978
+ bg: "#FEF9C3",
979
+ border: "#FEF08A",
980
+ dot: "#A16207"
981
+ },
982
+ thumbnail: {
983
+ primary: "#FDE047",
984
+ secondary: "#FEFCE8"
985
+ },
986
+ icons: {
987
+ mobile: { primary: "#EAB308", secondary: "#FACC15" },
988
+ web: {
989
+ name: "Share",
990
+ iconColor: "#713F12",
991
+ bgColor: "#FEF08A"
992
+ }
993
+ },
994
+ progress: {
995
+ primary: "#FACC15",
996
+ secondary: "#FEF08A",
997
+ border: "#FEF9C3"
998
+ }
999
+ },
1000
+ [1 /* EDITING */]: {
1001
+ id: 1 /* EDITING */,
1002
+ label: "In Progress",
1003
+ colors: {
1004
+ text: "#7C3AED",
1005
+ bg: "#F5F3FF",
1006
+ border: "#DDD6FE",
1007
+ dot: "#7C3AED"
1008
+ },
1009
+ thumbnail: {
1010
+ primary: "#C4B5FD",
1011
+ secondary: "#F5F3FF"
1012
+ },
1013
+ icons: {
1014
+ mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1015
+ web: {
1016
+ name: "Hourglass",
1017
+ iconColor: "#7C3AED",
1018
+ bgColor: "#DDD6FE"
1019
+ }
1020
+ },
1021
+ progress: {
1022
+ primary: "#C4B5FD",
1023
+ secondary: "#F5F3FF",
1024
+ border: "#EDE9FE"
1025
+ }
1026
+ },
1027
+ [3 /* WAITING_APPROVE */]: {
1028
+ id: 3 /* WAITING_APPROVE */,
1029
+ label: "Waiting Approval",
1030
+ colors: {
1031
+ text: "#C2410C",
1032
+ bg: "#FFEDD5",
1033
+ border: "#FED7AA",
1034
+ dot: "#EA580C"
1035
+ },
1036
+ thumbnail: {
1037
+ primary: "#C4B5FD",
1038
+ secondary: "#F5F3FF"
1039
+ },
1040
+ icons: {
1041
+ mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1042
+ web: {
1043
+ name: "Clock",
1044
+ iconColor: "#C2410C",
1045
+ bgColor: "#FED7AA"
1046
+ }
1047
+ },
1048
+ progress: {
1049
+ primary: "#FDBA74",
1050
+ secondary: "#FFF7ED",
1051
+ border: "#FFEDD5"
1052
+ }
1053
+ },
1054
+ [4 /* DENIED */]: {
1055
+ id: 4 /* DENIED */,
1056
+ label: "Denied",
1057
+ colors: {
1058
+ text: "#EF4444",
1059
+ bg: "#FEE2E2",
1060
+ border: "#FECACA",
1061
+ dot: "#EF4444"
1062
+ },
1063
+ thumbnail: {
1064
+ primary: "#C4B5FD",
1065
+ secondary: "#F5F3FF"
1066
+ },
1067
+ icons: {
1068
+ mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1069
+ web: {
1070
+ name: "CircleX",
1071
+ iconColor: "#EF4444",
1072
+ bgColor: "#FECACA"
1073
+ }
1074
+ },
1075
+ progress: {
1076
+ primary: "#FCA5A5",
1077
+ secondary: "#FEF2F2",
1078
+ border: "#FEE2E2"
1079
+ }
1080
+ },
1081
+ [7 /* SCHEDULED */]: {
1082
+ id: 7 /* SCHEDULED */,
1083
+ label: "Scheduled",
1084
+ colors: {
1085
+ text: "#3F6212",
1086
+ bg: "#ECFCCB",
1087
+ border: "#D9F99D",
1088
+ dot: "#4D7C0F"
1089
+ },
1090
+ thumbnail: {
1091
+ primary: "#C4B5FD",
1092
+ secondary: "#F5F3FF"
1093
+ },
1094
+ icons: {
1095
+ mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1096
+ web: {
1097
+ name: "CalendarRange",
1098
+ iconColor: "#3F6212",
1099
+ bgColor: "#D9F99D"
1100
+ }
1101
+ },
1102
+ progress: {
1103
+ primary: "#BEF264",
1104
+ secondary: "#F7FEE7",
1105
+ border: "#ECFCCB"
1106
+ }
1107
+ },
1108
+ [2 /* COMPLETED */]: {
1109
+ id: 2 /* COMPLETED */,
1110
+ label: "Completed",
1111
+ colors: {
1112
+ text: "#16A34A",
1113
+ bg: "#F0FDF4",
1114
+ border: "#DCFCE7",
1115
+ dot: "#16A34A"
1116
+ },
1117
+ thumbnail: {
1118
+ primary: "#86EFAC",
1119
+ secondary: "#F0FDF4"
1120
+ },
1121
+ icons: {
1122
+ mobile: { primary: "#22C55E", secondary: "#BBF7D0" },
1123
+ web: {
1124
+ name: "CircleCheck",
1125
+ iconColor: "#16A34A",
1126
+ bgColor: "#DCFCE7"
1127
+ }
1128
+ },
1129
+ progress: {
1130
+ primary: "#4ADE80",
1131
+ secondary: "#DCFCE7",
1132
+ border: "#BBF7D0"
1133
+ }
1134
+ },
1135
+ [5 /* REVISIONING */]: {
1136
+ id: 5 /* REVISIONING */,
1137
+ label: "Revisioning",
1138
+ colors: {
1139
+ text: "#0369A1",
1140
+ bg: "#BAE6FD",
1141
+ border: "#7DD3FC",
1142
+ dot: "#0369A1"
1143
+ },
1144
+ thumbnail: {
1145
+ primary: "#7DD3FC",
1146
+ secondary: "#E0F2FE"
1147
+ },
1148
+ icons: {
1149
+ mobile: { primary: "#0EA5E9", secondary: "#7DD3FC" },
1150
+ web: {
1151
+ name: "FilePen",
1152
+ iconColor: "#0369A1",
1153
+ bgColor: "#7DD3FC"
1154
+ }
1155
+ },
1156
+ progress: {
1157
+ primary: "#7DD3FC",
1158
+ secondary: "#F0F9FF",
1159
+ border: "#E0F2FE"
1160
+ }
1161
+ },
1162
+ [6 /* CANCELLED */]: {
1163
+ id: 6 /* CANCELLED */,
1164
+ label: "Canceled",
1165
+ colors: {
1166
+ text: "#A3A3A3",
1167
+ bg: "#F5F5F5",
1168
+ border: "#E5E5E5",
1169
+ dot: "#A3A3A3"
1170
+ },
1171
+ thumbnail: {
1172
+ primary: "#D4D4D4",
1173
+ secondary: "#FAFAFA"
1174
+ },
1175
+ icons: {
1176
+ mobile: { primary: "#6B7280", secondary: "#D1D5DB" },
1177
+ web: {
1178
+ name: "Ban",
1179
+ iconColor: "#A3A3A3",
1180
+ bgColor: "#F5F5F5"
1181
+ }
1182
+ },
1183
+ progress: {
1184
+ primary: "#A3A3A3",
1185
+ secondary: "#FAFAFA",
1186
+ border: "#E5E5E5"
1187
+ }
1188
+ }
1189
+ };
1190
+
969
1191
  // src/api/Project.api.ts
970
1192
  var ProjectAPI = class {
971
1193
  constructor(env) {