shred-api-client 2.6.0 → 2.6.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.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -886,7 +886,7 @@ interface IAPI$a {
|
|
|
886
886
|
confirmCode: (email: string, code: number, keepCode?: boolean) => Promise<boolean>;
|
|
887
887
|
changePassword: (email: string, pass: string, passConfirm: string, code: number) => Promise<boolean>;
|
|
888
888
|
changeEmail: (ctx: Context, email: string, code: number) => Promise<boolean>;
|
|
889
|
-
authenticate: (email: string, password: string, system: System) => Promise<string>;
|
|
889
|
+
authenticate: (email: string, password: string, system: System | System[]) => Promise<string>;
|
|
890
890
|
update: (context: Context, update: Partial<Update$1>) => Promise<boolean>;
|
|
891
891
|
setup: (context: Context) => Promise<boolean>;
|
|
892
892
|
getBindedUsers: (ctx: Context) => Promise<User[]>;
|
|
@@ -1778,7 +1778,7 @@ declare const ProjectSchema: z.ZodObject<{
|
|
|
1778
1778
|
finalVideoId: z.ZodOptional<z.ZodString>;
|
|
1779
1779
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
1780
1780
|
modified: z.ZodNumber;
|
|
1781
|
-
feedback: z.ZodOptional<z.ZodObject<{
|
|
1781
|
+
feedback: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1782
1782
|
criteria: z.ZodArray<z.ZodObject<{
|
|
1783
1783
|
id: z.ZodString;
|
|
1784
1784
|
label: z.ZodString;
|
|
@@ -1812,7 +1812,7 @@ declare const ProjectSchema: z.ZodObject<{
|
|
|
1812
1812
|
comment?: string | undefined;
|
|
1813
1813
|
}[];
|
|
1814
1814
|
comment?: string | undefined;
|
|
1815
|
-
}
|
|
1815
|
+
}>>>;
|
|
1816
1816
|
captionSuggestion: z.ZodOptional<z.ZodString>;
|
|
1817
1817
|
editorId: z.ZodOptional<z.ZodString>;
|
|
1818
1818
|
userId: z.ZodString;
|
|
@@ -1924,7 +1924,7 @@ declare const ProjectSchema: z.ZodObject<{
|
|
|
1924
1924
|
comment?: string | undefined;
|
|
1925
1925
|
}[];
|
|
1926
1926
|
comment?: string | undefined;
|
|
1927
|
-
} | undefined;
|
|
1927
|
+
} | null | undefined;
|
|
1928
1928
|
captionSuggestion?: string | undefined;
|
|
1929
1929
|
isFree?: boolean | undefined;
|
|
1930
1930
|
}, {
|
|
@@ -1971,7 +1971,7 @@ declare const ProjectSchema: z.ZodObject<{
|
|
|
1971
1971
|
comment?: string | undefined;
|
|
1972
1972
|
}[];
|
|
1973
1973
|
comment?: string | undefined;
|
|
1974
|
-
} | undefined;
|
|
1974
|
+
} | null | undefined;
|
|
1975
1975
|
captionSuggestion?: string | undefined;
|
|
1976
1976
|
isFree?: boolean | undefined;
|
|
1977
1977
|
}>;
|
|
@@ -1984,7 +1984,7 @@ type SendToApproval = {
|
|
|
1984
1984
|
type Approve = {
|
|
1985
1985
|
scheduleTime?: number;
|
|
1986
1986
|
captionSuggestion: string;
|
|
1987
|
-
feedback?: Feedback;
|
|
1987
|
+
feedback?: Feedback | null;
|
|
1988
1988
|
};
|
|
1989
1989
|
type Project = z.infer<typeof ProjectSchema>;
|
|
1990
1990
|
type TimelineItem = z.infer<typeof TimelineItemSchema>;
|
package/dist/index.js
CHANGED
|
@@ -5137,7 +5137,7 @@ var ProjectSchema = external_exports.object({
|
|
|
5137
5137
|
finalVideoId: external_exports.string().optional(),
|
|
5138
5138
|
thumbnailUrl: external_exports.string().optional(),
|
|
5139
5139
|
modified: external_exports.number(),
|
|
5140
|
-
feedback: FeedbackSchema.optional(),
|
|
5140
|
+
feedback: FeedbackSchema.nullable().optional(),
|
|
5141
5141
|
captionSuggestion: external_exports.string().optional(),
|
|
5142
5142
|
editorId: external_exports.string().optional(),
|
|
5143
5143
|
userId: external_exports.string(),
|