shred-api-client 2.3.5 → 2.3.6
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 +14 -6
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ declare const CategorySchema: z.ZodObject<{
|
|
|
27
27
|
pictureUrl: z.ZodString;
|
|
28
28
|
backgroundColor: z.ZodString;
|
|
29
29
|
active: z.ZodBoolean;
|
|
30
|
+
industries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30
31
|
scripts: z.ZodArray<z.ZodObject<{
|
|
31
32
|
id: z.ZodString;
|
|
32
33
|
title: z.ZodString;
|
|
@@ -59,6 +60,7 @@ declare const CategorySchema: z.ZodObject<{
|
|
|
59
60
|
userId?: string | undefined;
|
|
60
61
|
tags?: string[] | undefined;
|
|
61
62
|
}[];
|
|
63
|
+
industries?: string[] | undefined;
|
|
62
64
|
}, {
|
|
63
65
|
active: boolean;
|
|
64
66
|
id: string;
|
|
@@ -72,6 +74,7 @@ declare const CategorySchema: z.ZodObject<{
|
|
|
72
74
|
userId?: string | undefined;
|
|
73
75
|
tags?: string[] | undefined;
|
|
74
76
|
}[];
|
|
77
|
+
industries?: string[] | undefined;
|
|
75
78
|
}>;
|
|
76
79
|
declare const PromptSchema: z.ZodObject<{
|
|
77
80
|
id: z.ZodString;
|
|
@@ -82,6 +85,7 @@ declare const PromptSchema: z.ZodObject<{
|
|
|
82
85
|
pictureUrl: z.ZodString;
|
|
83
86
|
backgroundColor: z.ZodString;
|
|
84
87
|
active: z.ZodBoolean;
|
|
88
|
+
industries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
85
89
|
scripts: z.ZodArray<z.ZodObject<{
|
|
86
90
|
id: z.ZodString;
|
|
87
91
|
title: z.ZodString;
|
|
@@ -114,6 +118,7 @@ declare const PromptSchema: z.ZodObject<{
|
|
|
114
118
|
userId?: string | undefined;
|
|
115
119
|
tags?: string[] | undefined;
|
|
116
120
|
}[];
|
|
121
|
+
industries?: string[] | undefined;
|
|
117
122
|
}, {
|
|
118
123
|
active: boolean;
|
|
119
124
|
id: string;
|
|
@@ -127,6 +132,7 @@ declare const PromptSchema: z.ZodObject<{
|
|
|
127
132
|
userId?: string | undefined;
|
|
128
133
|
tags?: string[] | undefined;
|
|
129
134
|
}[];
|
|
135
|
+
industries?: string[] | undefined;
|
|
130
136
|
}>, "many">;
|
|
131
137
|
}, "strip", z.ZodTypeAny, {
|
|
132
138
|
id: string;
|
|
@@ -144,6 +150,7 @@ declare const PromptSchema: z.ZodObject<{
|
|
|
144
150
|
userId?: string | undefined;
|
|
145
151
|
tags?: string[] | undefined;
|
|
146
152
|
}[];
|
|
153
|
+
industries?: string[] | undefined;
|
|
147
154
|
}[];
|
|
148
155
|
}, {
|
|
149
156
|
id: string;
|
|
@@ -161,6 +168,7 @@ declare const PromptSchema: z.ZodObject<{
|
|
|
161
168
|
userId?: string | undefined;
|
|
162
169
|
tags?: string[] | undefined;
|
|
163
170
|
}[];
|
|
171
|
+
industries?: string[] | undefined;
|
|
164
172
|
}[];
|
|
165
173
|
}>;
|
|
166
174
|
type Script = z.infer<typeof ScriptSchema>;
|
|
@@ -623,21 +631,21 @@ declare const PreferencesSchema$1: z.ZodObject<{
|
|
|
623
631
|
bRoll: z.ZodOptional<z.ZodBoolean>;
|
|
624
632
|
logo: z.ZodOptional<z.ZodString>;
|
|
625
633
|
}, "strip", z.ZodTypeAny, {
|
|
634
|
+
industries?: string[] | undefined;
|
|
626
635
|
primaryColor?: string | undefined;
|
|
627
636
|
secondaryColor?: string | undefined;
|
|
628
637
|
facebookLink?: string | undefined;
|
|
629
638
|
isFeedbackEnabled?: boolean | undefined;
|
|
630
639
|
instagramLink?: string | undefined;
|
|
631
|
-
industries?: string[] | undefined;
|
|
632
640
|
bRoll?: boolean | undefined;
|
|
633
641
|
logo?: string | undefined;
|
|
634
642
|
}, {
|
|
643
|
+
industries?: string[] | undefined;
|
|
635
644
|
primaryColor?: string | undefined;
|
|
636
645
|
secondaryColor?: string | undefined;
|
|
637
646
|
facebookLink?: string | undefined;
|
|
638
647
|
isFeedbackEnabled?: boolean | undefined;
|
|
639
648
|
instagramLink?: string | undefined;
|
|
640
|
-
industries?: string[] | undefined;
|
|
641
649
|
bRoll?: boolean | undefined;
|
|
642
650
|
logo?: string | undefined;
|
|
643
651
|
}>;
|
|
@@ -658,21 +666,21 @@ declare const UserSchema: z.ZodObject<{
|
|
|
658
666
|
bRoll: z.ZodOptional<z.ZodBoolean>;
|
|
659
667
|
logo: z.ZodOptional<z.ZodString>;
|
|
660
668
|
}, "strip", z.ZodTypeAny, {
|
|
669
|
+
industries?: string[] | undefined;
|
|
661
670
|
primaryColor?: string | undefined;
|
|
662
671
|
secondaryColor?: string | undefined;
|
|
663
672
|
facebookLink?: string | undefined;
|
|
664
673
|
isFeedbackEnabled?: boolean | undefined;
|
|
665
674
|
instagramLink?: string | undefined;
|
|
666
|
-
industries?: string[] | undefined;
|
|
667
675
|
bRoll?: boolean | undefined;
|
|
668
676
|
logo?: string | undefined;
|
|
669
677
|
}, {
|
|
678
|
+
industries?: string[] | undefined;
|
|
670
679
|
primaryColor?: string | undefined;
|
|
671
680
|
secondaryColor?: string | undefined;
|
|
672
681
|
facebookLink?: string | undefined;
|
|
673
682
|
isFeedbackEnabled?: boolean | undefined;
|
|
674
683
|
instagramLink?: string | undefined;
|
|
675
|
-
industries?: string[] | undefined;
|
|
676
684
|
bRoll?: boolean | undefined;
|
|
677
685
|
logo?: string | undefined;
|
|
678
686
|
}>>;
|
|
@@ -691,12 +699,12 @@ declare const UserSchema: z.ZodObject<{
|
|
|
691
699
|
timezone?: string | undefined;
|
|
692
700
|
tenantId?: string | undefined;
|
|
693
701
|
preferences?: {
|
|
702
|
+
industries?: string[] | undefined;
|
|
694
703
|
primaryColor?: string | undefined;
|
|
695
704
|
secondaryColor?: string | undefined;
|
|
696
705
|
facebookLink?: string | undefined;
|
|
697
706
|
isFeedbackEnabled?: boolean | undefined;
|
|
698
707
|
instagramLink?: string | undefined;
|
|
699
|
-
industries?: string[] | undefined;
|
|
700
708
|
bRoll?: boolean | undefined;
|
|
701
709
|
logo?: string | undefined;
|
|
702
710
|
} | undefined;
|
|
@@ -714,12 +722,12 @@ declare const UserSchema: z.ZodObject<{
|
|
|
714
722
|
timezone?: string | undefined;
|
|
715
723
|
tenantId?: string | undefined;
|
|
716
724
|
preferences?: {
|
|
725
|
+
industries?: string[] | undefined;
|
|
717
726
|
primaryColor?: string | undefined;
|
|
718
727
|
secondaryColor?: string | undefined;
|
|
719
728
|
facebookLink?: string | undefined;
|
|
720
729
|
isFeedbackEnabled?: boolean | undefined;
|
|
721
730
|
instagramLink?: string | undefined;
|
|
722
|
-
industries?: string[] | undefined;
|
|
723
731
|
bRoll?: boolean | undefined;
|
|
724
732
|
logo?: string | undefined;
|
|
725
733
|
} | undefined;
|
package/dist/index.js
CHANGED
|
@@ -5758,6 +5758,7 @@ var CategorySchema = external_exports.object({
|
|
|
5758
5758
|
pictureUrl: external_exports.string().url(),
|
|
5759
5759
|
backgroundColor: external_exports.string(),
|
|
5760
5760
|
active: external_exports.boolean(),
|
|
5761
|
+
industries: external_exports.array(external_exports.string()).optional(),
|
|
5761
5762
|
scripts: external_exports.array(ScriptSchema)
|
|
5762
5763
|
});
|
|
5763
5764
|
var PromptSchema = external_exports.object({
|