shred-api-client 2.2.4-rc.9 → 2.3.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.mts CHANGED
@@ -617,15 +617,15 @@ declare const PreferencesSchema$1: z.ZodObject<{
617
617
  primaryColor: z.ZodOptional<z.ZodString>;
618
618
  secondaryColor: z.ZodOptional<z.ZodString>;
619
619
  facebookLink: z.ZodOptional<z.ZodString>;
620
- isFeedbackEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
620
+ isFeedbackEnabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
621
621
  instagramLink: z.ZodOptional<z.ZodString>;
622
622
  bRoll: z.ZodOptional<z.ZodBoolean>;
623
623
  logo: z.ZodOptional<z.ZodString>;
624
624
  }, "strip", z.ZodTypeAny, {
625
- isFeedbackEnabled: boolean;
626
625
  primaryColor?: string | undefined;
627
626
  secondaryColor?: string | undefined;
628
627
  facebookLink?: string | undefined;
628
+ isFeedbackEnabled?: boolean | undefined;
629
629
  instagramLink?: string | undefined;
630
630
  bRoll?: boolean | undefined;
631
631
  logo?: string | undefined;
@@ -649,15 +649,15 @@ declare const UserSchema: z.ZodObject<{
649
649
  primaryColor: z.ZodOptional<z.ZodString>;
650
650
  secondaryColor: z.ZodOptional<z.ZodString>;
651
651
  facebookLink: z.ZodOptional<z.ZodString>;
652
- isFeedbackEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
652
+ isFeedbackEnabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
653
653
  instagramLink: z.ZodOptional<z.ZodString>;
654
654
  bRoll: z.ZodOptional<z.ZodBoolean>;
655
655
  logo: z.ZodOptional<z.ZodString>;
656
656
  }, "strip", z.ZodTypeAny, {
657
- isFeedbackEnabled: boolean;
658
657
  primaryColor?: string | undefined;
659
658
  secondaryColor?: string | undefined;
660
659
  facebookLink?: string | undefined;
660
+ isFeedbackEnabled?: boolean | undefined;
661
661
  instagramLink?: string | undefined;
662
662
  bRoll?: boolean | undefined;
663
663
  logo?: string | undefined;
@@ -685,10 +685,10 @@ declare const UserSchema: z.ZodObject<{
685
685
  timezone?: string | undefined;
686
686
  tenantId?: string | undefined;
687
687
  preferences?: {
688
- isFeedbackEnabled: boolean;
689
688
  primaryColor?: string | undefined;
690
689
  secondaryColor?: string | undefined;
691
690
  facebookLink?: string | undefined;
691
+ isFeedbackEnabled?: boolean | undefined;
692
692
  instagramLink?: string | undefined;
693
693
  bRoll?: boolean | undefined;
694
694
  logo?: string | undefined;
package/dist/index.d.ts CHANGED
@@ -617,15 +617,15 @@ declare const PreferencesSchema$1: z.ZodObject<{
617
617
  primaryColor: z.ZodOptional<z.ZodString>;
618
618
  secondaryColor: z.ZodOptional<z.ZodString>;
619
619
  facebookLink: z.ZodOptional<z.ZodString>;
620
- isFeedbackEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
620
+ isFeedbackEnabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
621
621
  instagramLink: z.ZodOptional<z.ZodString>;
622
622
  bRoll: z.ZodOptional<z.ZodBoolean>;
623
623
  logo: z.ZodOptional<z.ZodString>;
624
624
  }, "strip", z.ZodTypeAny, {
625
- isFeedbackEnabled: boolean;
626
625
  primaryColor?: string | undefined;
627
626
  secondaryColor?: string | undefined;
628
627
  facebookLink?: string | undefined;
628
+ isFeedbackEnabled?: boolean | undefined;
629
629
  instagramLink?: string | undefined;
630
630
  bRoll?: boolean | undefined;
631
631
  logo?: string | undefined;
@@ -649,15 +649,15 @@ declare const UserSchema: z.ZodObject<{
649
649
  primaryColor: z.ZodOptional<z.ZodString>;
650
650
  secondaryColor: z.ZodOptional<z.ZodString>;
651
651
  facebookLink: z.ZodOptional<z.ZodString>;
652
- isFeedbackEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
652
+ isFeedbackEnabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
653
653
  instagramLink: z.ZodOptional<z.ZodString>;
654
654
  bRoll: z.ZodOptional<z.ZodBoolean>;
655
655
  logo: z.ZodOptional<z.ZodString>;
656
656
  }, "strip", z.ZodTypeAny, {
657
- isFeedbackEnabled: boolean;
658
657
  primaryColor?: string | undefined;
659
658
  secondaryColor?: string | undefined;
660
659
  facebookLink?: string | undefined;
660
+ isFeedbackEnabled?: boolean | undefined;
661
661
  instagramLink?: string | undefined;
662
662
  bRoll?: boolean | undefined;
663
663
  logo?: string | undefined;
@@ -685,10 +685,10 @@ declare const UserSchema: z.ZodObject<{
685
685
  timezone?: string | undefined;
686
686
  tenantId?: string | undefined;
687
687
  preferences?: {
688
- isFeedbackEnabled: boolean;
689
688
  primaryColor?: string | undefined;
690
689
  secondaryColor?: string | undefined;
691
690
  facebookLink?: string | undefined;
691
+ isFeedbackEnabled?: boolean | undefined;
692
692
  instagramLink?: string | undefined;
693
693
  bRoll?: boolean | undefined;
694
694
  logo?: string | undefined;
package/dist/index.js CHANGED
@@ -1022,210 +1022,210 @@ var StatusConfig = {
1022
1022
  dot: "#A16207"
1023
1023
  },
1024
1024
  thumbnail: {
1025
- primary: "bg-[#FDE047]",
1026
- secondary: "bg-[#FEFCE8]"
1025
+ primary: "#FDE047",
1026
+ secondary: "#FEFCE8"
1027
1027
  },
1028
1028
  icons: {
1029
- mobile: { primary: "#FACC15", secondary: "#FEF9C3" },
1029
+ mobile: { primary: "#EAB308", secondary: "#FACC15" },
1030
1030
  web: {
1031
1031
  name: "Share",
1032
- iconColor: "text-[#713F12]",
1033
- bgColor: "bg-[#FEF08A]"
1032
+ iconColor: "#713F12",
1033
+ bgColor: "#FEF08A"
1034
1034
  }
1035
1035
  },
1036
1036
  progress: {
1037
- primary: "bg-[#FACC15]",
1038
- secondary: "bg-[#FEFCE8]",
1039
- border: "border-[#FEF9C3]"
1037
+ primary: "#FACC15",
1038
+ secondary: "#FEF08A",
1039
+ border: "#FEF9C3"
1040
1040
  }
1041
1041
  },
1042
1042
  [1 /* EDITING */]: {
1043
1043
  id: 1 /* EDITING */,
1044
1044
  label: "In Progress",
1045
1045
  colors: {
1046
- text: "text-[#7C3AED]",
1047
- bg: "bg-[#F5F3FF]",
1048
- border: "border-[#DDD6FE]",
1049
- dot: "bg-[#7C3AED]"
1046
+ text: "#7C3AED",
1047
+ bg: "#F5F3FF",
1048
+ border: "#DDD6FE",
1049
+ dot: "#7C3AED"
1050
1050
  },
1051
1051
  thumbnail: {
1052
- primary: "bg-[#C4B5FD]",
1053
- secondary: "bg-[#F5F3FF]"
1052
+ primary: "#C4B5FD",
1053
+ secondary: "#F5F3FF"
1054
1054
  },
1055
1055
  icons: {
1056
1056
  mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1057
1057
  web: {
1058
1058
  name: "Hourglass",
1059
- iconColor: "text-[#7C3AED]",
1060
- bgColor: "bg-[#DDD6FE]"
1059
+ iconColor: "#7C3AED",
1060
+ bgColor: "#DDD6FE"
1061
1061
  }
1062
1062
  },
1063
1063
  progress: {
1064
- primary: "bg-[#C4B5FD]",
1065
- secondary: "bg-[#F5F3FF]",
1066
- border: "border-[#EDE9FE]"
1064
+ primary: "#C4B5FD",
1065
+ secondary: "#F5F3FF",
1066
+ border: "#EDE9FE"
1067
1067
  }
1068
1068
  },
1069
1069
  [3 /* WAITING_APPROVE */]: {
1070
1070
  id: 3 /* WAITING_APPROVE */,
1071
1071
  label: "Waiting Approval",
1072
1072
  colors: {
1073
- text: "text-[#C2410C]",
1074
- bg: "bg-[#FFEDD5]",
1075
- border: "border-[#FED7AA]",
1076
- dot: "bg-[#EA580C]"
1073
+ text: "#C2410C",
1074
+ bg: "#FFEDD5",
1075
+ border: "#FED7AA",
1076
+ dot: "#EA580C"
1077
1077
  },
1078
1078
  thumbnail: {
1079
- primary: "bg-[#C4B5FD]",
1080
- secondary: "bg-[#F5F3FF]"
1079
+ primary: "#C4B5FD",
1080
+ secondary: "#F5F3FF"
1081
1081
  },
1082
1082
  icons: {
1083
1083
  mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1084
1084
  web: {
1085
1085
  name: "Clock",
1086
- iconColor: "text-[#C2410C]",
1087
- bgColor: "bg-[#FED7AA]"
1086
+ iconColor: "#C2410C",
1087
+ bgColor: "#FED7AA"
1088
1088
  }
1089
1089
  },
1090
1090
  progress: {
1091
- primary: "bg-[#FDBA74]",
1092
- secondary: "bg-[#FFF7ED]",
1093
- border: "border-[#FFEDD5]"
1091
+ primary: "#FDBA74",
1092
+ secondary: "#FFF7ED",
1093
+ border: "#FFEDD5"
1094
1094
  }
1095
1095
  },
1096
1096
  [4 /* DENIED */]: {
1097
1097
  id: 4 /* DENIED */,
1098
1098
  label: "Denied",
1099
1099
  colors: {
1100
- text: "text-[#EF4444]",
1101
- bg: "bg-[#FEE2E2]",
1102
- border: "border-[#FECACA]",
1103
- dot: "bg-[#EF4444]"
1100
+ text: "#EF4444",
1101
+ bg: "#FEE2E2",
1102
+ border: "#FECACA",
1103
+ dot: "#EF4444"
1104
1104
  },
1105
1105
  thumbnail: {
1106
- primary: "bg-[#C4B5FD]",
1107
- secondary: "bg-[#F5F3FF]"
1106
+ primary: "#C4B5FD",
1107
+ secondary: "#F5F3FF"
1108
1108
  },
1109
1109
  icons: {
1110
1110
  mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1111
1111
  web: {
1112
1112
  name: "CircleX",
1113
- iconColor: "text-[#EF4444]",
1114
- bgColor: "bg-[#FECACA]"
1113
+ iconColor: "#EF4444",
1114
+ bgColor: "#FECACA"
1115
1115
  }
1116
1116
  },
1117
1117
  progress: {
1118
- primary: "bg-[#FCA5A5]",
1119
- secondary: "bg-[#FEF2F2]",
1120
- border: "border-[#FEE2E2]"
1118
+ primary: "#FCA5A5",
1119
+ secondary: "#FEF2F2",
1120
+ border: "#FEE2E2"
1121
1121
  }
1122
1122
  },
1123
1123
  [7 /* SCHEDULED */]: {
1124
1124
  id: 7 /* SCHEDULED */,
1125
1125
  label: "Scheduled",
1126
1126
  colors: {
1127
- text: "text-[#3F6212]",
1128
- bg: "bg-[#ECFCCB]",
1129
- border: "border-[#D9F99D]",
1130
- dot: "bg-[#4D7C0F]"
1127
+ text: "#3F6212",
1128
+ bg: "#ECFCCB",
1129
+ border: "#D9F99D",
1130
+ dot: "#4D7C0F"
1131
1131
  },
1132
1132
  thumbnail: {
1133
- primary: "bg-[#C4B5FD]",
1134
- secondary: "bg-[#F5F3FF]"
1133
+ primary: "#C4B5FD",
1134
+ secondary: "#F5F3FF"
1135
1135
  },
1136
1136
  icons: {
1137
1137
  mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1138
1138
  web: {
1139
1139
  name: "CalendarRange",
1140
- iconColor: "text-[#3F6212]",
1141
- bgColor: "bg-[#D9F99D]"
1140
+ iconColor: "#3F6212",
1141
+ bgColor: "#D9F99D"
1142
1142
  }
1143
1143
  },
1144
1144
  progress: {
1145
- primary: "bg-[#BEF264]",
1146
- secondary: "bg-[#F7FEE7]",
1147
- border: "border-[#ECFCCB]"
1145
+ primary: "#BEF264",
1146
+ secondary: "#F7FEE7",
1147
+ border: "#ECFCCB"
1148
1148
  }
1149
1149
  },
1150
1150
  [2 /* COMPLETED */]: {
1151
1151
  id: 2 /* COMPLETED */,
1152
1152
  label: "Completed",
1153
1153
  colors: {
1154
- text: "text-[#16A34A]",
1155
- bg: "bg-[#F0FDF4]",
1156
- border: "border-[#DCFCE7]",
1157
- dot: "bg-[#16A34A]"
1154
+ text: "#16A34A",
1155
+ bg: "#F0FDF4",
1156
+ border: "#DCFCE7",
1157
+ dot: "#16A34A"
1158
1158
  },
1159
1159
  thumbnail: {
1160
- primary: "bg-[#86EFAC]",
1161
- secondary: "bg-[#F0FDF4]"
1160
+ primary: "#86EFAC",
1161
+ secondary: "#F0FDF4"
1162
1162
  },
1163
1163
  icons: {
1164
1164
  mobile: { primary: "#22C55E", secondary: "#BBF7D0" },
1165
1165
  web: {
1166
1166
  name: "CircleCheck",
1167
- iconColor: "text-[#16A34A]",
1168
- bgColor: "bg-[#DCFCE7]"
1167
+ iconColor: "#16A34A",
1168
+ bgColor: "#DCFCE7"
1169
1169
  }
1170
1170
  },
1171
1171
  progress: {
1172
- primary: "bg-[#4ADE80]",
1173
- secondary: "bg-[#DCFCE7]",
1174
- border: "border-[#BBF7D0]"
1172
+ primary: "#4ADE80",
1173
+ secondary: "#DCFCE7",
1174
+ border: "#BBF7D0"
1175
1175
  }
1176
1176
  },
1177
1177
  [5 /* REVISIONING */]: {
1178
1178
  id: 5 /* REVISIONING */,
1179
1179
  label: "Revisioning",
1180
1180
  colors: {
1181
- text: "text-[#0369A1]",
1182
- bg: "bg-[#BAE6FD]",
1183
- border: "border-[#7DD3FC]",
1184
- dot: "bg-[#0369A1]"
1181
+ text: "#0369A1",
1182
+ bg: "#BAE6FD",
1183
+ border: "#7DD3FC",
1184
+ dot: "#0369A1"
1185
1185
  },
1186
1186
  thumbnail: {
1187
- primary: "bg-[#7DD3FC]",
1188
- secondary: "bg-[#E0F2FE]"
1187
+ primary: "#7DD3FC",
1188
+ secondary: "#E0F2FE"
1189
1189
  },
1190
1190
  icons: {
1191
1191
  mobile: { primary: "#0EA5E9", secondary: "#7DD3FC" },
1192
1192
  web: {
1193
1193
  name: "FilePen",
1194
- iconColor: "text-[#0369A1]",
1195
- bgColor: "bg-[#7DD3FC]"
1194
+ iconColor: "#0369A1",
1195
+ bgColor: "#7DD3FC"
1196
1196
  }
1197
1197
  },
1198
1198
  progress: {
1199
- primary: "bg-[#7DD3FC]",
1200
- secondary: "bg-[#F0F9FF]",
1201
- border: "border-[#E0F2FE]"
1199
+ primary: "#7DD3FC",
1200
+ secondary: "#F0F9FF",
1201
+ border: "#E0F2FE"
1202
1202
  }
1203
1203
  },
1204
1204
  [6 /* CANCELLED */]: {
1205
1205
  id: 6 /* CANCELLED */,
1206
1206
  label: "Canceled",
1207
1207
  colors: {
1208
- text: "text-[#A3A3A3]",
1209
- bg: "bg-[#F5F5F5]",
1210
- border: "border-[#E5E5E5]",
1211
- dot: "bg-[#A3A3A3]"
1208
+ text: "#A3A3A3",
1209
+ bg: "#F5F5F5",
1210
+ border: "#E5E5E5",
1211
+ dot: "#A3A3A3"
1212
1212
  },
1213
1213
  thumbnail: {
1214
- primary: "bg-[#D4D4D4]",
1215
- secondary: "bg-[#FAFAFA]"
1214
+ primary: "#D4D4D4",
1215
+ secondary: "#FAFAFA"
1216
1216
  },
1217
1217
  icons: {
1218
1218
  mobile: { primary: "#6B7280", secondary: "#D1D5DB" },
1219
1219
  web: {
1220
1220
  name: "Ban",
1221
- iconColor: "text-[#A3A3A3]",
1222
- bgColor: "bg-[#F5F5F5]"
1221
+ iconColor: "#A3A3A3",
1222
+ bgColor: "#F5F5F5"
1223
1223
  }
1224
1224
  },
1225
1225
  progress: {
1226
- primary: "bg-[#A3A3A3]",
1227
- secondary: "bg-[#FAFAFA]",
1228
- border: "border-[#E5E5E5]"
1226
+ primary: "#A3A3A3",
1227
+ secondary: "#FAFAFA",
1228
+ border: "#E5E5E5"
1229
1229
  }
1230
1230
  }
1231
1231
  };
@@ -1904,7 +1904,7 @@ var PreferencesSchema2 = import_zod10.z.object({
1904
1904
  primaryColor: import_zod10.z.string().optional(),
1905
1905
  secondaryColor: import_zod10.z.string().optional(),
1906
1906
  facebookLink: import_zod10.z.string().optional(),
1907
- isFeedbackEnabled: import_zod10.z.boolean().optional().default(true),
1907
+ isFeedbackEnabled: import_zod10.z.boolean().default(true).optional(),
1908
1908
  instagramLink: import_zod10.z.string().optional(),
1909
1909
  bRoll: import_zod10.z.boolean().optional(),
1910
1910
  logo: import_zod10.z.string().optional()