@lokalise/maestro-expert-tenant-lib 6.5.0 → 6.6.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.
|
@@ -6843,2191 +6843,4 @@ export type StepTypeToLayoutSchema = {
|
|
|
6843
6843
|
}>['layoutSchema']>;
|
|
6844
6844
|
};
|
|
6845
6845
|
export type DraftWorkflowStepDto = z.infer<typeof DRAFT_WORKFLOW_STEP_DTO_SCHEMA>;
|
|
6846
|
-
export declare const WORKFLOW_EXTENDED_STEP_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
6847
|
-
id: z.ZodLiteral<"TriggerStep">;
|
|
6848
|
-
values: z.ZodObject<{
|
|
6849
|
-
stepTitle: z.ZodString;
|
|
6850
|
-
scheduleFrequencyExpression: z.ZodString;
|
|
6851
|
-
scheduleStartingDate: z.ZodString;
|
|
6852
|
-
monitoredLanguageId: z.ZodNumber;
|
|
6853
|
-
targetLanguageIds: z.ZodArray<z.ZodNumber, "many">;
|
|
6854
|
-
monitoredKeyType: z.ZodEnum<["new", "updated", "both"]>;
|
|
6855
|
-
projectFilterId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6856
|
-
}, "strip", z.ZodTypeAny, {
|
|
6857
|
-
stepTitle: string;
|
|
6858
|
-
scheduleFrequencyExpression: string;
|
|
6859
|
-
scheduleStartingDate: string;
|
|
6860
|
-
monitoredLanguageId: number;
|
|
6861
|
-
targetLanguageIds: number[];
|
|
6862
|
-
monitoredKeyType: "new" | "updated" | "both";
|
|
6863
|
-
projectFilterId?: string | null | undefined;
|
|
6864
|
-
}, {
|
|
6865
|
-
stepTitle: string;
|
|
6866
|
-
scheduleFrequencyExpression: string;
|
|
6867
|
-
scheduleStartingDate: string;
|
|
6868
|
-
monitoredLanguageId: number;
|
|
6869
|
-
targetLanguageIds: number[];
|
|
6870
|
-
monitoredKeyType: "new" | "updated" | "both";
|
|
6871
|
-
projectFilterId?: string | null | undefined;
|
|
6872
|
-
}>;
|
|
6873
|
-
type: z.ZodLiteral<"trigger_step">;
|
|
6874
|
-
triggerType: z.ZodLiteral<"Scheduled">;
|
|
6875
|
-
}, "strip", z.ZodTypeAny, {
|
|
6876
|
-
type: "trigger_step";
|
|
6877
|
-
values: {
|
|
6878
|
-
stepTitle: string;
|
|
6879
|
-
scheduleFrequencyExpression: string;
|
|
6880
|
-
scheduleStartingDate: string;
|
|
6881
|
-
monitoredLanguageId: number;
|
|
6882
|
-
targetLanguageIds: number[];
|
|
6883
|
-
monitoredKeyType: "new" | "updated" | "both";
|
|
6884
|
-
projectFilterId?: string | null | undefined;
|
|
6885
|
-
};
|
|
6886
|
-
id: "TriggerStep";
|
|
6887
|
-
triggerType: "Scheduled";
|
|
6888
|
-
}, {
|
|
6889
|
-
type: "trigger_step";
|
|
6890
|
-
values: {
|
|
6891
|
-
stepTitle: string;
|
|
6892
|
-
scheduleFrequencyExpression: string;
|
|
6893
|
-
scheduleStartingDate: string;
|
|
6894
|
-
monitoredLanguageId: number;
|
|
6895
|
-
targetLanguageIds: number[];
|
|
6896
|
-
monitoredKeyType: "new" | "updated" | "both";
|
|
6897
|
-
projectFilterId?: string | null | undefined;
|
|
6898
|
-
};
|
|
6899
|
-
id: "TriggerStep";
|
|
6900
|
-
triggerType: "Scheduled";
|
|
6901
|
-
}> | z.ZodObject<{
|
|
6902
|
-
id: z.ZodString;
|
|
6903
|
-
values: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
6904
|
-
type: z.ZodLiteral<"clear_translations_step">;
|
|
6905
|
-
}, "strip", z.ZodTypeAny, {
|
|
6906
|
-
type: "clear_translations_step";
|
|
6907
|
-
values: {};
|
|
6908
|
-
id: string;
|
|
6909
|
-
}, {
|
|
6910
|
-
type: "clear_translations_step";
|
|
6911
|
-
values: {};
|
|
6912
|
-
id: string;
|
|
6913
|
-
}> | z.ZodObject<{
|
|
6914
|
-
id: z.ZodString;
|
|
6915
|
-
values: z.ZodObject<{
|
|
6916
|
-
stepTitle: z.ZodString;
|
|
6917
|
-
threshold: z.ZodDefault<z.ZodNumber>;
|
|
6918
|
-
}, "strip", z.ZodTypeAny, {
|
|
6919
|
-
stepTitle: string;
|
|
6920
|
-
threshold: number;
|
|
6921
|
-
}, {
|
|
6922
|
-
stepTitle: string;
|
|
6923
|
-
threshold?: number | undefined;
|
|
6924
|
-
}>;
|
|
6925
|
-
type: z.ZodLiteral<"apply_tm_step">;
|
|
6926
|
-
}, "strip", z.ZodTypeAny, {
|
|
6927
|
-
type: "apply_tm_step";
|
|
6928
|
-
values: {
|
|
6929
|
-
stepTitle: string;
|
|
6930
|
-
threshold: number;
|
|
6931
|
-
};
|
|
6932
|
-
id: string;
|
|
6933
|
-
}, {
|
|
6934
|
-
type: "apply_tm_step";
|
|
6935
|
-
values: {
|
|
6936
|
-
stepTitle: string;
|
|
6937
|
-
threshold?: number | undefined;
|
|
6938
|
-
};
|
|
6939
|
-
id: string;
|
|
6940
|
-
}> | z.ZodObject<{
|
|
6941
|
-
id: z.ZodString;
|
|
6942
|
-
values: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
6943
|
-
stepTitle: z.ZodString;
|
|
6944
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
6945
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
6946
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
6947
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
6948
|
-
languageId: z.ZodNumber;
|
|
6949
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
6950
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
6951
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
6952
|
-
}, "strip", z.ZodTypeAny, {
|
|
6953
|
-
languageId: number;
|
|
6954
|
-
isSource: boolean;
|
|
6955
|
-
userIds?: number[] | undefined;
|
|
6956
|
-
userGroupIds?: number[] | undefined;
|
|
6957
|
-
}, {
|
|
6958
|
-
languageId: number;
|
|
6959
|
-
userIds?: number[] | undefined;
|
|
6960
|
-
userGroupIds?: number[] | undefined;
|
|
6961
|
-
isSource?: boolean | undefined;
|
|
6962
|
-
}>, "many">;
|
|
6963
|
-
autoCloseItems: z.ZodOptional<z.ZodBoolean>;
|
|
6964
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
6965
|
-
autoCloseTask: z.ZodBoolean;
|
|
6966
|
-
lockTranslations: z.ZodBoolean;
|
|
6967
|
-
hasCustomTranslationStatuses: z.ZodDefault<z.ZodBoolean>;
|
|
6968
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
6969
|
-
tagKeysAfterClose: z.ZodDefault<z.ZodBoolean>;
|
|
6970
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6971
|
-
translationEngine: z.ZodOptional<z.ZodEnum<["ai", "deepl", "google"]>>;
|
|
6972
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
6973
|
-
reviewLanguageType: z.ZodOptional<z.ZodEnum<["source", "target"]>>;
|
|
6974
|
-
}, "strip", z.ZodTypeAny, {
|
|
6975
|
-
stepTitle: string;
|
|
6976
|
-
languageAssignees: {
|
|
6977
|
-
languageId: number;
|
|
6978
|
-
isSource: boolean;
|
|
6979
|
-
userIds?: number[] | undefined;
|
|
6980
|
-
userGroupIds?: number[] | undefined;
|
|
6981
|
-
}[];
|
|
6982
|
-
autoCloseLanguages: boolean;
|
|
6983
|
-
autoCloseTask: boolean;
|
|
6984
|
-
lockTranslations: boolean;
|
|
6985
|
-
hasCustomTranslationStatuses: boolean;
|
|
6986
|
-
tagKeysAfterClose: boolean;
|
|
6987
|
-
taskTitle?: string | undefined;
|
|
6988
|
-
taskDescription?: string | undefined;
|
|
6989
|
-
dueDate?: number | undefined;
|
|
6990
|
-
autoCloseItems?: boolean | undefined;
|
|
6991
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
6992
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
6993
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
6994
|
-
aiInstructions?: string | undefined;
|
|
6995
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
6996
|
-
}, {
|
|
6997
|
-
stepTitle: string;
|
|
6998
|
-
languageAssignees: {
|
|
6999
|
-
languageId: number;
|
|
7000
|
-
userIds?: number[] | undefined;
|
|
7001
|
-
userGroupIds?: number[] | undefined;
|
|
7002
|
-
isSource?: boolean | undefined;
|
|
7003
|
-
}[];
|
|
7004
|
-
autoCloseLanguages: boolean;
|
|
7005
|
-
autoCloseTask: boolean;
|
|
7006
|
-
lockTranslations: boolean;
|
|
7007
|
-
taskTitle?: string | undefined;
|
|
7008
|
-
taskDescription?: string | undefined;
|
|
7009
|
-
dueDate?: number | undefined;
|
|
7010
|
-
autoCloseItems?: boolean | undefined;
|
|
7011
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
7012
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7013
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
7014
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7015
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7016
|
-
aiInstructions?: string | undefined;
|
|
7017
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7018
|
-
}>, {
|
|
7019
|
-
stepTitle: string;
|
|
7020
|
-
languageAssignees: {
|
|
7021
|
-
languageId: number;
|
|
7022
|
-
isSource: boolean;
|
|
7023
|
-
userIds?: number[] | undefined;
|
|
7024
|
-
userGroupIds?: number[] | undefined;
|
|
7025
|
-
}[];
|
|
7026
|
-
autoCloseLanguages: boolean;
|
|
7027
|
-
autoCloseTask: boolean;
|
|
7028
|
-
lockTranslations: boolean;
|
|
7029
|
-
hasCustomTranslationStatuses: boolean;
|
|
7030
|
-
tagKeysAfterClose: boolean;
|
|
7031
|
-
taskTitle?: string | undefined;
|
|
7032
|
-
taskDescription?: string | undefined;
|
|
7033
|
-
dueDate?: number | undefined;
|
|
7034
|
-
autoCloseItems?: boolean | undefined;
|
|
7035
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7036
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7037
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7038
|
-
aiInstructions?: string | undefined;
|
|
7039
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7040
|
-
}, {
|
|
7041
|
-
stepTitle: string;
|
|
7042
|
-
languageAssignees: {
|
|
7043
|
-
languageId: number;
|
|
7044
|
-
userIds?: number[] | undefined;
|
|
7045
|
-
userGroupIds?: number[] | undefined;
|
|
7046
|
-
isSource?: boolean | undefined;
|
|
7047
|
-
}[];
|
|
7048
|
-
autoCloseLanguages: boolean;
|
|
7049
|
-
autoCloseTask: boolean;
|
|
7050
|
-
lockTranslations: boolean;
|
|
7051
|
-
taskTitle?: string | undefined;
|
|
7052
|
-
taskDescription?: string | undefined;
|
|
7053
|
-
dueDate?: number | undefined;
|
|
7054
|
-
autoCloseItems?: boolean | undefined;
|
|
7055
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
7056
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7057
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
7058
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7059
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7060
|
-
aiInstructions?: string | undefined;
|
|
7061
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7062
|
-
}>, {
|
|
7063
|
-
stepTitle: string;
|
|
7064
|
-
languageAssignees: {
|
|
7065
|
-
languageId: number;
|
|
7066
|
-
isSource: boolean;
|
|
7067
|
-
userIds?: number[] | undefined;
|
|
7068
|
-
userGroupIds?: number[] | undefined;
|
|
7069
|
-
}[];
|
|
7070
|
-
autoCloseLanguages: boolean;
|
|
7071
|
-
autoCloseTask: boolean;
|
|
7072
|
-
lockTranslations: boolean;
|
|
7073
|
-
hasCustomTranslationStatuses: boolean;
|
|
7074
|
-
tagKeysAfterClose: boolean;
|
|
7075
|
-
taskTitle?: string | undefined;
|
|
7076
|
-
taskDescription?: string | undefined;
|
|
7077
|
-
dueDate?: number | undefined;
|
|
7078
|
-
autoCloseItems?: boolean | undefined;
|
|
7079
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7080
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7081
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7082
|
-
aiInstructions?: string | undefined;
|
|
7083
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7084
|
-
}, {
|
|
7085
|
-
stepTitle: string;
|
|
7086
|
-
languageAssignees: {
|
|
7087
|
-
languageId: number;
|
|
7088
|
-
userIds?: number[] | undefined;
|
|
7089
|
-
userGroupIds?: number[] | undefined;
|
|
7090
|
-
isSource?: boolean | undefined;
|
|
7091
|
-
}[];
|
|
7092
|
-
autoCloseLanguages: boolean;
|
|
7093
|
-
autoCloseTask: boolean;
|
|
7094
|
-
lockTranslations: boolean;
|
|
7095
|
-
taskTitle?: string | undefined;
|
|
7096
|
-
taskDescription?: string | undefined;
|
|
7097
|
-
dueDate?: number | undefined;
|
|
7098
|
-
autoCloseItems?: boolean | undefined;
|
|
7099
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
7100
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7101
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
7102
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7103
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7104
|
-
aiInstructions?: string | undefined;
|
|
7105
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7106
|
-
}>, {
|
|
7107
|
-
stepTitle: string;
|
|
7108
|
-
languageAssignees: {
|
|
7109
|
-
languageId: number;
|
|
7110
|
-
isSource: boolean;
|
|
7111
|
-
userIds?: number[] | undefined;
|
|
7112
|
-
userGroupIds?: number[] | undefined;
|
|
7113
|
-
}[];
|
|
7114
|
-
autoCloseLanguages: boolean;
|
|
7115
|
-
autoCloseTask: boolean;
|
|
7116
|
-
lockTranslations: boolean;
|
|
7117
|
-
hasCustomTranslationStatuses: boolean;
|
|
7118
|
-
tagKeysAfterClose: boolean;
|
|
7119
|
-
taskTitle?: string | undefined;
|
|
7120
|
-
taskDescription?: string | undefined;
|
|
7121
|
-
dueDate?: number | undefined;
|
|
7122
|
-
autoCloseItems?: boolean | undefined;
|
|
7123
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7124
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7125
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7126
|
-
aiInstructions?: string | undefined;
|
|
7127
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7128
|
-
}, {
|
|
7129
|
-
stepTitle: string;
|
|
7130
|
-
languageAssignees: {
|
|
7131
|
-
languageId: number;
|
|
7132
|
-
userIds?: number[] | undefined;
|
|
7133
|
-
userGroupIds?: number[] | undefined;
|
|
7134
|
-
isSource?: boolean | undefined;
|
|
7135
|
-
}[];
|
|
7136
|
-
autoCloseLanguages: boolean;
|
|
7137
|
-
autoCloseTask: boolean;
|
|
7138
|
-
lockTranslations: boolean;
|
|
7139
|
-
taskTitle?: string | undefined;
|
|
7140
|
-
taskDescription?: string | undefined;
|
|
7141
|
-
dueDate?: number | undefined;
|
|
7142
|
-
autoCloseItems?: boolean | undefined;
|
|
7143
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
7144
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7145
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
7146
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7147
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7148
|
-
aiInstructions?: string | undefined;
|
|
7149
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7150
|
-
}>;
|
|
7151
|
-
type: z.ZodLiteral<"translate_task_step">;
|
|
7152
|
-
taskType: z.ZodLiteral<"translation">;
|
|
7153
|
-
}, "strip", z.ZodTypeAny, {
|
|
7154
|
-
type: "translate_task_step";
|
|
7155
|
-
values: {
|
|
7156
|
-
stepTitle: string;
|
|
7157
|
-
languageAssignees: {
|
|
7158
|
-
languageId: number;
|
|
7159
|
-
isSource: boolean;
|
|
7160
|
-
userIds?: number[] | undefined;
|
|
7161
|
-
userGroupIds?: number[] | undefined;
|
|
7162
|
-
}[];
|
|
7163
|
-
autoCloseLanguages: boolean;
|
|
7164
|
-
autoCloseTask: boolean;
|
|
7165
|
-
lockTranslations: boolean;
|
|
7166
|
-
hasCustomTranslationStatuses: boolean;
|
|
7167
|
-
tagKeysAfterClose: boolean;
|
|
7168
|
-
taskTitle?: string | undefined;
|
|
7169
|
-
taskDescription?: string | undefined;
|
|
7170
|
-
dueDate?: number | undefined;
|
|
7171
|
-
autoCloseItems?: boolean | undefined;
|
|
7172
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7173
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7174
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7175
|
-
aiInstructions?: string | undefined;
|
|
7176
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7177
|
-
};
|
|
7178
|
-
id: string;
|
|
7179
|
-
taskType: "translation";
|
|
7180
|
-
}, {
|
|
7181
|
-
type: "translate_task_step";
|
|
7182
|
-
values: {
|
|
7183
|
-
stepTitle: string;
|
|
7184
|
-
languageAssignees: {
|
|
7185
|
-
languageId: number;
|
|
7186
|
-
userIds?: number[] | undefined;
|
|
7187
|
-
userGroupIds?: number[] | undefined;
|
|
7188
|
-
isSource?: boolean | undefined;
|
|
7189
|
-
}[];
|
|
7190
|
-
autoCloseLanguages: boolean;
|
|
7191
|
-
autoCloseTask: boolean;
|
|
7192
|
-
lockTranslations: boolean;
|
|
7193
|
-
taskTitle?: string | undefined;
|
|
7194
|
-
taskDescription?: string | undefined;
|
|
7195
|
-
dueDate?: number | undefined;
|
|
7196
|
-
autoCloseItems?: boolean | undefined;
|
|
7197
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
7198
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7199
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
7200
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7201
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7202
|
-
aiInstructions?: string | undefined;
|
|
7203
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7204
|
-
};
|
|
7205
|
-
id: string;
|
|
7206
|
-
taskType: "translation";
|
|
7207
|
-
}> | z.ZodObject<{
|
|
7208
|
-
id: z.ZodString;
|
|
7209
|
-
values: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
7210
|
-
stepTitle: z.ZodString;
|
|
7211
|
-
translationEngine: z.ZodEnum<["ai", "deepl", "google"]>;
|
|
7212
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
7213
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
7214
|
-
tagKeysAfterClose: z.ZodBoolean;
|
|
7215
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7216
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
7217
|
-
hasCustomTranslationStatuses: z.ZodBoolean;
|
|
7218
|
-
}, "strip", z.ZodTypeAny, {
|
|
7219
|
-
stepTitle: string;
|
|
7220
|
-
hasCustomTranslationStatuses: boolean;
|
|
7221
|
-
tagKeysAfterClose: boolean;
|
|
7222
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
7223
|
-
taskTitle?: string | undefined;
|
|
7224
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7225
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7226
|
-
aiInstructions?: string | undefined;
|
|
7227
|
-
}, {
|
|
7228
|
-
stepTitle: string;
|
|
7229
|
-
hasCustomTranslationStatuses: boolean;
|
|
7230
|
-
tagKeysAfterClose: boolean;
|
|
7231
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
7232
|
-
taskTitle?: string | undefined;
|
|
7233
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7234
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7235
|
-
aiInstructions?: string | undefined;
|
|
7236
|
-
}>, {
|
|
7237
|
-
stepTitle: string;
|
|
7238
|
-
hasCustomTranslationStatuses: boolean;
|
|
7239
|
-
tagKeysAfterClose: boolean;
|
|
7240
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
7241
|
-
taskTitle?: string | undefined;
|
|
7242
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7243
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7244
|
-
aiInstructions?: string | undefined;
|
|
7245
|
-
}, {
|
|
7246
|
-
stepTitle: string;
|
|
7247
|
-
hasCustomTranslationStatuses: boolean;
|
|
7248
|
-
tagKeysAfterClose: boolean;
|
|
7249
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
7250
|
-
taskTitle?: string | undefined;
|
|
7251
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7252
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7253
|
-
aiInstructions?: string | undefined;
|
|
7254
|
-
}>, {
|
|
7255
|
-
stepTitle: string;
|
|
7256
|
-
hasCustomTranslationStatuses: boolean;
|
|
7257
|
-
tagKeysAfterClose: boolean;
|
|
7258
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
7259
|
-
taskTitle?: string | undefined;
|
|
7260
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7261
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7262
|
-
aiInstructions?: string | undefined;
|
|
7263
|
-
}, {
|
|
7264
|
-
stepTitle: string;
|
|
7265
|
-
hasCustomTranslationStatuses: boolean;
|
|
7266
|
-
tagKeysAfterClose: boolean;
|
|
7267
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
7268
|
-
taskTitle?: string | undefined;
|
|
7269
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7270
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7271
|
-
aiInstructions?: string | undefined;
|
|
7272
|
-
}>;
|
|
7273
|
-
type: z.ZodLiteral<"ai_mt_translation_step">;
|
|
7274
|
-
taskType: z.ZodLiteral<"translation">;
|
|
7275
|
-
}, "strip", z.ZodTypeAny, {
|
|
7276
|
-
type: "ai_mt_translation_step";
|
|
7277
|
-
values: {
|
|
7278
|
-
stepTitle: string;
|
|
7279
|
-
hasCustomTranslationStatuses: boolean;
|
|
7280
|
-
tagKeysAfterClose: boolean;
|
|
7281
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
7282
|
-
taskTitle?: string | undefined;
|
|
7283
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7284
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7285
|
-
aiInstructions?: string | undefined;
|
|
7286
|
-
};
|
|
7287
|
-
id: string;
|
|
7288
|
-
taskType: "translation";
|
|
7289
|
-
}, {
|
|
7290
|
-
type: "ai_mt_translation_step";
|
|
7291
|
-
values: {
|
|
7292
|
-
stepTitle: string;
|
|
7293
|
-
hasCustomTranslationStatuses: boolean;
|
|
7294
|
-
tagKeysAfterClose: boolean;
|
|
7295
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
7296
|
-
taskTitle?: string | undefined;
|
|
7297
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7298
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7299
|
-
aiInstructions?: string | undefined;
|
|
7300
|
-
};
|
|
7301
|
-
id: string;
|
|
7302
|
-
taskType: "translation";
|
|
7303
|
-
}> | z.ZodObject<{
|
|
7304
|
-
id: z.ZodString;
|
|
7305
|
-
values: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
7306
|
-
stepTitle: z.ZodString;
|
|
7307
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
7308
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
7309
|
-
tagKeysAfterClose: z.ZodBoolean;
|
|
7310
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7311
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
7312
|
-
hasCustomTranslationStatuses: z.ZodBoolean;
|
|
7313
|
-
} & {
|
|
7314
|
-
translationEngine: z.ZodEnum<["ai"]>;
|
|
7315
|
-
}, "strip", z.ZodTypeAny, {
|
|
7316
|
-
stepTitle: string;
|
|
7317
|
-
hasCustomTranslationStatuses: boolean;
|
|
7318
|
-
tagKeysAfterClose: boolean;
|
|
7319
|
-
translationEngine: "ai";
|
|
7320
|
-
taskTitle?: string | undefined;
|
|
7321
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7322
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7323
|
-
aiInstructions?: string | undefined;
|
|
7324
|
-
}, {
|
|
7325
|
-
stepTitle: string;
|
|
7326
|
-
hasCustomTranslationStatuses: boolean;
|
|
7327
|
-
tagKeysAfterClose: boolean;
|
|
7328
|
-
translationEngine: "ai";
|
|
7329
|
-
taskTitle?: string | undefined;
|
|
7330
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7331
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7332
|
-
aiInstructions?: string | undefined;
|
|
7333
|
-
}>, {
|
|
7334
|
-
stepTitle: string;
|
|
7335
|
-
hasCustomTranslationStatuses: boolean;
|
|
7336
|
-
tagKeysAfterClose: boolean;
|
|
7337
|
-
translationEngine: "ai";
|
|
7338
|
-
taskTitle?: string | undefined;
|
|
7339
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7340
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7341
|
-
aiInstructions?: string | undefined;
|
|
7342
|
-
}, {
|
|
7343
|
-
stepTitle: string;
|
|
7344
|
-
hasCustomTranslationStatuses: boolean;
|
|
7345
|
-
tagKeysAfterClose: boolean;
|
|
7346
|
-
translationEngine: "ai";
|
|
7347
|
-
taskTitle?: string | undefined;
|
|
7348
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7349
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7350
|
-
aiInstructions?: string | undefined;
|
|
7351
|
-
}>, {
|
|
7352
|
-
stepTitle: string;
|
|
7353
|
-
hasCustomTranslationStatuses: boolean;
|
|
7354
|
-
tagKeysAfterClose: boolean;
|
|
7355
|
-
translationEngine: "ai";
|
|
7356
|
-
taskTitle?: string | undefined;
|
|
7357
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7358
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7359
|
-
aiInstructions?: string | undefined;
|
|
7360
|
-
}, {
|
|
7361
|
-
stepTitle: string;
|
|
7362
|
-
hasCustomTranslationStatuses: boolean;
|
|
7363
|
-
tagKeysAfterClose: boolean;
|
|
7364
|
-
translationEngine: "ai";
|
|
7365
|
-
taskTitle?: string | undefined;
|
|
7366
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7367
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7368
|
-
aiInstructions?: string | undefined;
|
|
7369
|
-
}>;
|
|
7370
|
-
type: z.ZodLiteral<"ai_mt_translation_ai_scoring_step">;
|
|
7371
|
-
taskType: z.ZodLiteral<"translation">;
|
|
7372
|
-
}, "strip", z.ZodTypeAny, {
|
|
7373
|
-
type: "ai_mt_translation_ai_scoring_step";
|
|
7374
|
-
values: {
|
|
7375
|
-
stepTitle: string;
|
|
7376
|
-
hasCustomTranslationStatuses: boolean;
|
|
7377
|
-
tagKeysAfterClose: boolean;
|
|
7378
|
-
translationEngine: "ai";
|
|
7379
|
-
taskTitle?: string | undefined;
|
|
7380
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7381
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7382
|
-
aiInstructions?: string | undefined;
|
|
7383
|
-
};
|
|
7384
|
-
id: string;
|
|
7385
|
-
taskType: "translation";
|
|
7386
|
-
}, {
|
|
7387
|
-
type: "ai_mt_translation_ai_scoring_step";
|
|
7388
|
-
values: {
|
|
7389
|
-
stepTitle: string;
|
|
7390
|
-
hasCustomTranslationStatuses: boolean;
|
|
7391
|
-
tagKeysAfterClose: boolean;
|
|
7392
|
-
translationEngine: "ai";
|
|
7393
|
-
taskTitle?: string | undefined;
|
|
7394
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7395
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7396
|
-
aiInstructions?: string | undefined;
|
|
7397
|
-
};
|
|
7398
|
-
id: string;
|
|
7399
|
-
taskType: "translation";
|
|
7400
|
-
}> | z.ZodObject<{
|
|
7401
|
-
id: z.ZodString;
|
|
7402
|
-
values: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<Omit<{
|
|
7403
|
-
stepTitle: z.ZodString;
|
|
7404
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
7405
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
7406
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
7407
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
7408
|
-
languageId: z.ZodNumber;
|
|
7409
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
7410
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
7411
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
7412
|
-
}, "strip", z.ZodTypeAny, {
|
|
7413
|
-
languageId: number;
|
|
7414
|
-
isSource: boolean;
|
|
7415
|
-
userIds?: number[] | undefined;
|
|
7416
|
-
userGroupIds?: number[] | undefined;
|
|
7417
|
-
}, {
|
|
7418
|
-
languageId: number;
|
|
7419
|
-
userIds?: number[] | undefined;
|
|
7420
|
-
userGroupIds?: number[] | undefined;
|
|
7421
|
-
isSource?: boolean | undefined;
|
|
7422
|
-
}>, "many">;
|
|
7423
|
-
autoCloseItems: z.ZodOptional<z.ZodBoolean>;
|
|
7424
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
7425
|
-
autoCloseTask: z.ZodBoolean;
|
|
7426
|
-
lockTranslations: z.ZodBoolean;
|
|
7427
|
-
hasCustomTranslationStatuses: z.ZodDefault<z.ZodBoolean>;
|
|
7428
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
7429
|
-
tagKeysAfterClose: z.ZodDefault<z.ZodBoolean>;
|
|
7430
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7431
|
-
translationEngine: z.ZodOptional<z.ZodEnum<["ai", "deepl", "google"]>>;
|
|
7432
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
7433
|
-
reviewLanguageType: z.ZodOptional<z.ZodEnum<["source", "target"]>>;
|
|
7434
|
-
}, "autoCloseItems">, "strip", z.ZodTypeAny, {
|
|
7435
|
-
stepTitle: string;
|
|
7436
|
-
languageAssignees: {
|
|
7437
|
-
languageId: number;
|
|
7438
|
-
isSource: boolean;
|
|
7439
|
-
userIds?: number[] | undefined;
|
|
7440
|
-
userGroupIds?: number[] | undefined;
|
|
7441
|
-
}[];
|
|
7442
|
-
autoCloseLanguages: boolean;
|
|
7443
|
-
autoCloseTask: boolean;
|
|
7444
|
-
lockTranslations: boolean;
|
|
7445
|
-
hasCustomTranslationStatuses: boolean;
|
|
7446
|
-
tagKeysAfterClose: boolean;
|
|
7447
|
-
taskTitle?: string | undefined;
|
|
7448
|
-
taskDescription?: string | undefined;
|
|
7449
|
-
dueDate?: number | undefined;
|
|
7450
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7451
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7452
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7453
|
-
aiInstructions?: string | undefined;
|
|
7454
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7455
|
-
}, {
|
|
7456
|
-
stepTitle: string;
|
|
7457
|
-
languageAssignees: {
|
|
7458
|
-
languageId: number;
|
|
7459
|
-
userIds?: number[] | undefined;
|
|
7460
|
-
userGroupIds?: number[] | undefined;
|
|
7461
|
-
isSource?: boolean | undefined;
|
|
7462
|
-
}[];
|
|
7463
|
-
autoCloseLanguages: boolean;
|
|
7464
|
-
autoCloseTask: boolean;
|
|
7465
|
-
lockTranslations: boolean;
|
|
7466
|
-
taskTitle?: string | undefined;
|
|
7467
|
-
taskDescription?: string | undefined;
|
|
7468
|
-
dueDate?: number | undefined;
|
|
7469
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
7470
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7471
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
7472
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7473
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7474
|
-
aiInstructions?: string | undefined;
|
|
7475
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7476
|
-
}>, {
|
|
7477
|
-
stepTitle: string;
|
|
7478
|
-
languageAssignees: {
|
|
7479
|
-
languageId: number;
|
|
7480
|
-
isSource: boolean;
|
|
7481
|
-
userIds?: number[] | undefined;
|
|
7482
|
-
userGroupIds?: number[] | undefined;
|
|
7483
|
-
}[];
|
|
7484
|
-
autoCloseLanguages: boolean;
|
|
7485
|
-
autoCloseTask: boolean;
|
|
7486
|
-
lockTranslations: boolean;
|
|
7487
|
-
hasCustomTranslationStatuses: boolean;
|
|
7488
|
-
tagKeysAfterClose: boolean;
|
|
7489
|
-
taskTitle?: string | undefined;
|
|
7490
|
-
taskDescription?: string | undefined;
|
|
7491
|
-
dueDate?: number | undefined;
|
|
7492
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7493
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7494
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7495
|
-
aiInstructions?: string | undefined;
|
|
7496
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7497
|
-
}, {
|
|
7498
|
-
stepTitle: string;
|
|
7499
|
-
languageAssignees: {
|
|
7500
|
-
languageId: number;
|
|
7501
|
-
userIds?: number[] | undefined;
|
|
7502
|
-
userGroupIds?: number[] | undefined;
|
|
7503
|
-
isSource?: boolean | undefined;
|
|
7504
|
-
}[];
|
|
7505
|
-
autoCloseLanguages: boolean;
|
|
7506
|
-
autoCloseTask: boolean;
|
|
7507
|
-
lockTranslations: boolean;
|
|
7508
|
-
taskTitle?: string | undefined;
|
|
7509
|
-
taskDescription?: string | undefined;
|
|
7510
|
-
dueDate?: number | undefined;
|
|
7511
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
7512
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7513
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
7514
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7515
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7516
|
-
aiInstructions?: string | undefined;
|
|
7517
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7518
|
-
}>, {
|
|
7519
|
-
stepTitle: string;
|
|
7520
|
-
languageAssignees: {
|
|
7521
|
-
languageId: number;
|
|
7522
|
-
isSource: boolean;
|
|
7523
|
-
userIds?: number[] | undefined;
|
|
7524
|
-
userGroupIds?: number[] | undefined;
|
|
7525
|
-
}[];
|
|
7526
|
-
autoCloseLanguages: boolean;
|
|
7527
|
-
autoCloseTask: boolean;
|
|
7528
|
-
lockTranslations: boolean;
|
|
7529
|
-
hasCustomTranslationStatuses: boolean;
|
|
7530
|
-
tagKeysAfterClose: boolean;
|
|
7531
|
-
taskTitle?: string | undefined;
|
|
7532
|
-
taskDescription?: string | undefined;
|
|
7533
|
-
dueDate?: number | undefined;
|
|
7534
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7535
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7536
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7537
|
-
aiInstructions?: string | undefined;
|
|
7538
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7539
|
-
}, {
|
|
7540
|
-
stepTitle: string;
|
|
7541
|
-
languageAssignees: {
|
|
7542
|
-
languageId: number;
|
|
7543
|
-
userIds?: number[] | undefined;
|
|
7544
|
-
userGroupIds?: number[] | undefined;
|
|
7545
|
-
isSource?: boolean | undefined;
|
|
7546
|
-
}[];
|
|
7547
|
-
autoCloseLanguages: boolean;
|
|
7548
|
-
autoCloseTask: boolean;
|
|
7549
|
-
lockTranslations: boolean;
|
|
7550
|
-
taskTitle?: string | undefined;
|
|
7551
|
-
taskDescription?: string | undefined;
|
|
7552
|
-
dueDate?: number | undefined;
|
|
7553
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
7554
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7555
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
7556
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7557
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7558
|
-
aiInstructions?: string | undefined;
|
|
7559
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7560
|
-
}>, {
|
|
7561
|
-
stepTitle: string;
|
|
7562
|
-
languageAssignees: {
|
|
7563
|
-
languageId: number;
|
|
7564
|
-
isSource: boolean;
|
|
7565
|
-
userIds?: number[] | undefined;
|
|
7566
|
-
userGroupIds?: number[] | undefined;
|
|
7567
|
-
}[];
|
|
7568
|
-
autoCloseLanguages: boolean;
|
|
7569
|
-
autoCloseTask: boolean;
|
|
7570
|
-
lockTranslations: boolean;
|
|
7571
|
-
hasCustomTranslationStatuses: boolean;
|
|
7572
|
-
tagKeysAfterClose: boolean;
|
|
7573
|
-
taskTitle?: string | undefined;
|
|
7574
|
-
taskDescription?: string | undefined;
|
|
7575
|
-
dueDate?: number | undefined;
|
|
7576
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7577
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7578
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7579
|
-
aiInstructions?: string | undefined;
|
|
7580
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7581
|
-
}, {
|
|
7582
|
-
stepTitle: string;
|
|
7583
|
-
languageAssignees: {
|
|
7584
|
-
languageId: number;
|
|
7585
|
-
userIds?: number[] | undefined;
|
|
7586
|
-
userGroupIds?: number[] | undefined;
|
|
7587
|
-
isSource?: boolean | undefined;
|
|
7588
|
-
}[];
|
|
7589
|
-
autoCloseLanguages: boolean;
|
|
7590
|
-
autoCloseTask: boolean;
|
|
7591
|
-
lockTranslations: boolean;
|
|
7592
|
-
taskTitle?: string | undefined;
|
|
7593
|
-
taskDescription?: string | undefined;
|
|
7594
|
-
dueDate?: number | undefined;
|
|
7595
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
7596
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7597
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
7598
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7599
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7600
|
-
aiInstructions?: string | undefined;
|
|
7601
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7602
|
-
}>;
|
|
7603
|
-
type: z.ZodLiteral<"review_task_step">;
|
|
7604
|
-
taskType: z.ZodLiteral<"review">;
|
|
7605
|
-
}, "strip", z.ZodTypeAny, {
|
|
7606
|
-
type: "review_task_step";
|
|
7607
|
-
values: {
|
|
7608
|
-
stepTitle: string;
|
|
7609
|
-
languageAssignees: {
|
|
7610
|
-
languageId: number;
|
|
7611
|
-
isSource: boolean;
|
|
7612
|
-
userIds?: number[] | undefined;
|
|
7613
|
-
userGroupIds?: number[] | undefined;
|
|
7614
|
-
}[];
|
|
7615
|
-
autoCloseLanguages: boolean;
|
|
7616
|
-
autoCloseTask: boolean;
|
|
7617
|
-
lockTranslations: boolean;
|
|
7618
|
-
hasCustomTranslationStatuses: boolean;
|
|
7619
|
-
tagKeysAfterClose: boolean;
|
|
7620
|
-
taskTitle?: string | undefined;
|
|
7621
|
-
taskDescription?: string | undefined;
|
|
7622
|
-
dueDate?: number | undefined;
|
|
7623
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7624
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7625
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7626
|
-
aiInstructions?: string | undefined;
|
|
7627
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7628
|
-
};
|
|
7629
|
-
id: string;
|
|
7630
|
-
taskType: "review";
|
|
7631
|
-
}, {
|
|
7632
|
-
type: "review_task_step";
|
|
7633
|
-
values: {
|
|
7634
|
-
stepTitle: string;
|
|
7635
|
-
languageAssignees: {
|
|
7636
|
-
languageId: number;
|
|
7637
|
-
userIds?: number[] | undefined;
|
|
7638
|
-
userGroupIds?: number[] | undefined;
|
|
7639
|
-
isSource?: boolean | undefined;
|
|
7640
|
-
}[];
|
|
7641
|
-
autoCloseLanguages: boolean;
|
|
7642
|
-
autoCloseTask: boolean;
|
|
7643
|
-
lockTranslations: boolean;
|
|
7644
|
-
taskTitle?: string | undefined;
|
|
7645
|
-
taskDescription?: string | undefined;
|
|
7646
|
-
dueDate?: number | undefined;
|
|
7647
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
7648
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7649
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
7650
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7651
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7652
|
-
aiInstructions?: string | undefined;
|
|
7653
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
7654
|
-
};
|
|
7655
|
-
id: string;
|
|
7656
|
-
taskType: "review";
|
|
7657
|
-
}> | z.ZodObject<{
|
|
7658
|
-
id: z.ZodString;
|
|
7659
|
-
values: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
7660
|
-
stepTitle: z.ZodString;
|
|
7661
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
7662
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
7663
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
7664
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
7665
|
-
languageId: z.ZodNumber;
|
|
7666
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
7667
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
7668
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
7669
|
-
}, "strip", z.ZodTypeAny, {
|
|
7670
|
-
languageId: number;
|
|
7671
|
-
isSource: boolean;
|
|
7672
|
-
userIds?: number[] | undefined;
|
|
7673
|
-
userGroupIds?: number[] | undefined;
|
|
7674
|
-
}, {
|
|
7675
|
-
languageId: number;
|
|
7676
|
-
userIds?: number[] | undefined;
|
|
7677
|
-
userGroupIds?: number[] | undefined;
|
|
7678
|
-
isSource?: boolean | undefined;
|
|
7679
|
-
}>, "many">;
|
|
7680
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
7681
|
-
autoCloseTask: z.ZodBoolean;
|
|
7682
|
-
lockTranslations: z.ZodBoolean;
|
|
7683
|
-
hasCustomTranslationStatuses: z.ZodDefault<z.ZodBoolean>;
|
|
7684
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
7685
|
-
tagKeysAfterClose: z.ZodDefault<z.ZodBoolean>;
|
|
7686
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7687
|
-
translationEngine: z.ZodOptional<z.ZodEnum<["ai", "deepl", "google"]>>;
|
|
7688
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
7689
|
-
} & {
|
|
7690
|
-
reviewLanguageType: z.ZodEnum<["target"]>;
|
|
7691
|
-
threshold: z.ZodNumber;
|
|
7692
|
-
}, "strip", z.ZodTypeAny, {
|
|
7693
|
-
stepTitle: string;
|
|
7694
|
-
threshold: number;
|
|
7695
|
-
languageAssignees: {
|
|
7696
|
-
languageId: number;
|
|
7697
|
-
isSource: boolean;
|
|
7698
|
-
userIds?: number[] | undefined;
|
|
7699
|
-
userGroupIds?: number[] | undefined;
|
|
7700
|
-
}[];
|
|
7701
|
-
autoCloseLanguages: boolean;
|
|
7702
|
-
autoCloseTask: boolean;
|
|
7703
|
-
lockTranslations: boolean;
|
|
7704
|
-
hasCustomTranslationStatuses: boolean;
|
|
7705
|
-
tagKeysAfterClose: boolean;
|
|
7706
|
-
reviewLanguageType: "target";
|
|
7707
|
-
taskTitle?: string | undefined;
|
|
7708
|
-
taskDescription?: string | undefined;
|
|
7709
|
-
dueDate?: number | undefined;
|
|
7710
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7711
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7712
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7713
|
-
aiInstructions?: string | undefined;
|
|
7714
|
-
}, {
|
|
7715
|
-
stepTitle: string;
|
|
7716
|
-
threshold: number;
|
|
7717
|
-
languageAssignees: {
|
|
7718
|
-
languageId: number;
|
|
7719
|
-
userIds?: number[] | undefined;
|
|
7720
|
-
userGroupIds?: number[] | undefined;
|
|
7721
|
-
isSource?: boolean | undefined;
|
|
7722
|
-
}[];
|
|
7723
|
-
autoCloseLanguages: boolean;
|
|
7724
|
-
autoCloseTask: boolean;
|
|
7725
|
-
lockTranslations: boolean;
|
|
7726
|
-
reviewLanguageType: "target";
|
|
7727
|
-
taskTitle?: string | undefined;
|
|
7728
|
-
taskDescription?: string | undefined;
|
|
7729
|
-
dueDate?: number | undefined;
|
|
7730
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
7731
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7732
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
7733
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7734
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7735
|
-
aiInstructions?: string | undefined;
|
|
7736
|
-
}>, {
|
|
7737
|
-
stepTitle: string;
|
|
7738
|
-
threshold: number;
|
|
7739
|
-
languageAssignees: {
|
|
7740
|
-
languageId: number;
|
|
7741
|
-
isSource: boolean;
|
|
7742
|
-
userIds?: number[] | undefined;
|
|
7743
|
-
userGroupIds?: number[] | undefined;
|
|
7744
|
-
}[];
|
|
7745
|
-
autoCloseLanguages: boolean;
|
|
7746
|
-
autoCloseTask: boolean;
|
|
7747
|
-
lockTranslations: boolean;
|
|
7748
|
-
hasCustomTranslationStatuses: boolean;
|
|
7749
|
-
tagKeysAfterClose: boolean;
|
|
7750
|
-
reviewLanguageType: "target";
|
|
7751
|
-
taskTitle?: string | undefined;
|
|
7752
|
-
taskDescription?: string | undefined;
|
|
7753
|
-
dueDate?: number | undefined;
|
|
7754
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7755
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7756
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7757
|
-
aiInstructions?: string | undefined;
|
|
7758
|
-
}, {
|
|
7759
|
-
stepTitle: string;
|
|
7760
|
-
threshold: number;
|
|
7761
|
-
languageAssignees: {
|
|
7762
|
-
languageId: number;
|
|
7763
|
-
userIds?: number[] | undefined;
|
|
7764
|
-
userGroupIds?: number[] | undefined;
|
|
7765
|
-
isSource?: boolean | undefined;
|
|
7766
|
-
}[];
|
|
7767
|
-
autoCloseLanguages: boolean;
|
|
7768
|
-
autoCloseTask: boolean;
|
|
7769
|
-
lockTranslations: boolean;
|
|
7770
|
-
reviewLanguageType: "target";
|
|
7771
|
-
taskTitle?: string | undefined;
|
|
7772
|
-
taskDescription?: string | undefined;
|
|
7773
|
-
dueDate?: number | undefined;
|
|
7774
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
7775
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7776
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
7777
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7778
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7779
|
-
aiInstructions?: string | undefined;
|
|
7780
|
-
}>, {
|
|
7781
|
-
stepTitle: string;
|
|
7782
|
-
threshold: number;
|
|
7783
|
-
languageAssignees: {
|
|
7784
|
-
languageId: number;
|
|
7785
|
-
isSource: boolean;
|
|
7786
|
-
userIds?: number[] | undefined;
|
|
7787
|
-
userGroupIds?: number[] | undefined;
|
|
7788
|
-
}[];
|
|
7789
|
-
autoCloseLanguages: boolean;
|
|
7790
|
-
autoCloseTask: boolean;
|
|
7791
|
-
lockTranslations: boolean;
|
|
7792
|
-
hasCustomTranslationStatuses: boolean;
|
|
7793
|
-
tagKeysAfterClose: boolean;
|
|
7794
|
-
reviewLanguageType: "target";
|
|
7795
|
-
taskTitle?: string | undefined;
|
|
7796
|
-
taskDescription?: string | undefined;
|
|
7797
|
-
dueDate?: number | undefined;
|
|
7798
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7799
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7800
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7801
|
-
aiInstructions?: string | undefined;
|
|
7802
|
-
}, {
|
|
7803
|
-
stepTitle: string;
|
|
7804
|
-
threshold: number;
|
|
7805
|
-
languageAssignees: {
|
|
7806
|
-
languageId: number;
|
|
7807
|
-
userIds?: number[] | undefined;
|
|
7808
|
-
userGroupIds?: number[] | undefined;
|
|
7809
|
-
isSource?: boolean | undefined;
|
|
7810
|
-
}[];
|
|
7811
|
-
autoCloseLanguages: boolean;
|
|
7812
|
-
autoCloseTask: boolean;
|
|
7813
|
-
lockTranslations: boolean;
|
|
7814
|
-
reviewLanguageType: "target";
|
|
7815
|
-
taskTitle?: string | undefined;
|
|
7816
|
-
taskDescription?: string | undefined;
|
|
7817
|
-
dueDate?: number | undefined;
|
|
7818
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
7819
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7820
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
7821
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7822
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7823
|
-
aiInstructions?: string | undefined;
|
|
7824
|
-
}>, {
|
|
7825
|
-
stepTitle: string;
|
|
7826
|
-
threshold: number;
|
|
7827
|
-
languageAssignees: {
|
|
7828
|
-
languageId: number;
|
|
7829
|
-
isSource: boolean;
|
|
7830
|
-
userIds?: number[] | undefined;
|
|
7831
|
-
userGroupIds?: number[] | undefined;
|
|
7832
|
-
}[];
|
|
7833
|
-
autoCloseLanguages: boolean;
|
|
7834
|
-
autoCloseTask: boolean;
|
|
7835
|
-
lockTranslations: boolean;
|
|
7836
|
-
hasCustomTranslationStatuses: boolean;
|
|
7837
|
-
tagKeysAfterClose: boolean;
|
|
7838
|
-
reviewLanguageType: "target";
|
|
7839
|
-
taskTitle?: string | undefined;
|
|
7840
|
-
taskDescription?: string | undefined;
|
|
7841
|
-
dueDate?: number | undefined;
|
|
7842
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7843
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7844
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7845
|
-
aiInstructions?: string | undefined;
|
|
7846
|
-
}, {
|
|
7847
|
-
stepTitle: string;
|
|
7848
|
-
threshold: number;
|
|
7849
|
-
languageAssignees: {
|
|
7850
|
-
languageId: number;
|
|
7851
|
-
userIds?: number[] | undefined;
|
|
7852
|
-
userGroupIds?: number[] | undefined;
|
|
7853
|
-
isSource?: boolean | undefined;
|
|
7854
|
-
}[];
|
|
7855
|
-
autoCloseLanguages: boolean;
|
|
7856
|
-
autoCloseTask: boolean;
|
|
7857
|
-
lockTranslations: boolean;
|
|
7858
|
-
reviewLanguageType: "target";
|
|
7859
|
-
taskTitle?: string | undefined;
|
|
7860
|
-
taskDescription?: string | undefined;
|
|
7861
|
-
dueDate?: number | undefined;
|
|
7862
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
7863
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7864
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
7865
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7866
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7867
|
-
aiInstructions?: string | undefined;
|
|
7868
|
-
}>;
|
|
7869
|
-
type: z.ZodLiteral<"review_task_ai_scoring_step">;
|
|
7870
|
-
taskType: z.ZodLiteral<"review">;
|
|
7871
|
-
}, "strip", z.ZodTypeAny, {
|
|
7872
|
-
type: "review_task_ai_scoring_step";
|
|
7873
|
-
values: {
|
|
7874
|
-
stepTitle: string;
|
|
7875
|
-
threshold: number;
|
|
7876
|
-
languageAssignees: {
|
|
7877
|
-
languageId: number;
|
|
7878
|
-
isSource: boolean;
|
|
7879
|
-
userIds?: number[] | undefined;
|
|
7880
|
-
userGroupIds?: number[] | undefined;
|
|
7881
|
-
}[];
|
|
7882
|
-
autoCloseLanguages: boolean;
|
|
7883
|
-
autoCloseTask: boolean;
|
|
7884
|
-
lockTranslations: boolean;
|
|
7885
|
-
hasCustomTranslationStatuses: boolean;
|
|
7886
|
-
tagKeysAfterClose: boolean;
|
|
7887
|
-
reviewLanguageType: "target";
|
|
7888
|
-
taskTitle?: string | undefined;
|
|
7889
|
-
taskDescription?: string | undefined;
|
|
7890
|
-
dueDate?: number | undefined;
|
|
7891
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7892
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7893
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7894
|
-
aiInstructions?: string | undefined;
|
|
7895
|
-
};
|
|
7896
|
-
id: string;
|
|
7897
|
-
taskType: "review";
|
|
7898
|
-
}, {
|
|
7899
|
-
type: "review_task_ai_scoring_step";
|
|
7900
|
-
values: {
|
|
7901
|
-
stepTitle: string;
|
|
7902
|
-
threshold: number;
|
|
7903
|
-
languageAssignees: {
|
|
7904
|
-
languageId: number;
|
|
7905
|
-
userIds?: number[] | undefined;
|
|
7906
|
-
userGroupIds?: number[] | undefined;
|
|
7907
|
-
isSource?: boolean | undefined;
|
|
7908
|
-
}[];
|
|
7909
|
-
autoCloseLanguages: boolean;
|
|
7910
|
-
autoCloseTask: boolean;
|
|
7911
|
-
lockTranslations: boolean;
|
|
7912
|
-
reviewLanguageType: "target";
|
|
7913
|
-
taskTitle?: string | undefined;
|
|
7914
|
-
taskDescription?: string | undefined;
|
|
7915
|
-
dueDate?: number | undefined;
|
|
7916
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
7917
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
7918
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
7919
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
7920
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
7921
|
-
aiInstructions?: string | undefined;
|
|
7922
|
-
};
|
|
7923
|
-
id: string;
|
|
7924
|
-
taskType: "review";
|
|
7925
|
-
}> | z.ZodObject<{
|
|
7926
|
-
id: z.ZodLiteral<"EndStep">;
|
|
7927
|
-
values: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
7928
|
-
type: z.ZodLiteral<"end_step">;
|
|
7929
|
-
}, "strip", z.ZodTypeAny, {
|
|
7930
|
-
type: "end_step";
|
|
7931
|
-
values: {};
|
|
7932
|
-
id: "EndStep";
|
|
7933
|
-
}, {
|
|
7934
|
-
type: "end_step";
|
|
7935
|
-
values: {};
|
|
7936
|
-
id: "EndStep";
|
|
7937
|
-
}>]>;
|
|
7938
|
-
export declare const WORKFLOW_EXTENDED_SCHEMA_SIMPLIFIED: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
7939
|
-
id: z.ZodLiteral<"TriggerStep">;
|
|
7940
|
-
type: z.ZodLiteral<"trigger_step">;
|
|
7941
|
-
triggerType: z.ZodLiteral<"Scheduled">;
|
|
7942
|
-
} & {
|
|
7943
|
-
values: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
7944
|
-
}, "strip", z.ZodTypeAny, {
|
|
7945
|
-
type: "trigger_step";
|
|
7946
|
-
values: {} & {
|
|
7947
|
-
[k: string]: unknown;
|
|
7948
|
-
};
|
|
7949
|
-
id: "TriggerStep";
|
|
7950
|
-
triggerType: "Scheduled";
|
|
7951
|
-
}, {
|
|
7952
|
-
type: "trigger_step";
|
|
7953
|
-
values: {} & {
|
|
7954
|
-
[k: string]: unknown;
|
|
7955
|
-
};
|
|
7956
|
-
id: "TriggerStep";
|
|
7957
|
-
triggerType: "Scheduled";
|
|
7958
|
-
}> | z.ZodObject<{
|
|
7959
|
-
id: z.ZodString;
|
|
7960
|
-
values: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
7961
|
-
type: z.ZodLiteral<"clear_translations_step">;
|
|
7962
|
-
}, "strip", z.ZodTypeAny, {
|
|
7963
|
-
type: "clear_translations_step";
|
|
7964
|
-
values: {};
|
|
7965
|
-
id: string;
|
|
7966
|
-
}, {
|
|
7967
|
-
type: "clear_translations_step";
|
|
7968
|
-
values: {};
|
|
7969
|
-
id: string;
|
|
7970
|
-
}> | z.ZodObject<{
|
|
7971
|
-
id: z.ZodString;
|
|
7972
|
-
type: z.ZodLiteral<"apply_tm_step">;
|
|
7973
|
-
} & {
|
|
7974
|
-
values: z.ZodObject<{
|
|
7975
|
-
stepTitle: z.ZodOptional<z.ZodString>;
|
|
7976
|
-
threshold: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7977
|
-
}, "strip", z.ZodTypeAny, {
|
|
7978
|
-
stepTitle?: string | undefined;
|
|
7979
|
-
threshold?: number | undefined;
|
|
7980
|
-
}, {
|
|
7981
|
-
stepTitle?: string | undefined;
|
|
7982
|
-
threshold?: number | undefined;
|
|
7983
|
-
}>;
|
|
7984
|
-
}, "strip", z.ZodTypeAny, {
|
|
7985
|
-
type: "apply_tm_step";
|
|
7986
|
-
values: {
|
|
7987
|
-
stepTitle?: string | undefined;
|
|
7988
|
-
threshold?: number | undefined;
|
|
7989
|
-
};
|
|
7990
|
-
id: string;
|
|
7991
|
-
}, {
|
|
7992
|
-
type: "apply_tm_step";
|
|
7993
|
-
values: {
|
|
7994
|
-
stepTitle?: string | undefined;
|
|
7995
|
-
threshold?: number | undefined;
|
|
7996
|
-
};
|
|
7997
|
-
id: string;
|
|
7998
|
-
}> | z.ZodObject<{
|
|
7999
|
-
id: z.ZodString;
|
|
8000
|
-
type: z.ZodLiteral<"translate_task_step">;
|
|
8001
|
-
taskType: z.ZodLiteral<"translation">;
|
|
8002
|
-
} & {
|
|
8003
|
-
values: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
8004
|
-
}, "strip", z.ZodTypeAny, {
|
|
8005
|
-
type: "translate_task_step";
|
|
8006
|
-
values: {} & {
|
|
8007
|
-
[k: string]: unknown;
|
|
8008
|
-
};
|
|
8009
|
-
id: string;
|
|
8010
|
-
taskType: "translation";
|
|
8011
|
-
}, {
|
|
8012
|
-
type: "translate_task_step";
|
|
8013
|
-
values: {} & {
|
|
8014
|
-
[k: string]: unknown;
|
|
8015
|
-
};
|
|
8016
|
-
id: string;
|
|
8017
|
-
taskType: "translation";
|
|
8018
|
-
}> | z.ZodObject<{
|
|
8019
|
-
id: z.ZodString;
|
|
8020
|
-
type: z.ZodLiteral<"ai_mt_translation_step">;
|
|
8021
|
-
taskType: z.ZodLiteral<"translation">;
|
|
8022
|
-
} & {
|
|
8023
|
-
values: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
8024
|
-
}, "strip", z.ZodTypeAny, {
|
|
8025
|
-
type: "ai_mt_translation_step";
|
|
8026
|
-
values: {} & {
|
|
8027
|
-
[k: string]: unknown;
|
|
8028
|
-
};
|
|
8029
|
-
id: string;
|
|
8030
|
-
taskType: "translation";
|
|
8031
|
-
}, {
|
|
8032
|
-
type: "ai_mt_translation_step";
|
|
8033
|
-
values: {} & {
|
|
8034
|
-
[k: string]: unknown;
|
|
8035
|
-
};
|
|
8036
|
-
id: string;
|
|
8037
|
-
taskType: "translation";
|
|
8038
|
-
}> | z.ZodObject<{
|
|
8039
|
-
id: z.ZodString;
|
|
8040
|
-
type: z.ZodLiteral<"ai_mt_translation_ai_scoring_step">;
|
|
8041
|
-
taskType: z.ZodLiteral<"translation">;
|
|
8042
|
-
} & {
|
|
8043
|
-
values: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
8044
|
-
}, "strip", z.ZodTypeAny, {
|
|
8045
|
-
type: "ai_mt_translation_ai_scoring_step";
|
|
8046
|
-
values: {} & {
|
|
8047
|
-
[k: string]: unknown;
|
|
8048
|
-
};
|
|
8049
|
-
id: string;
|
|
8050
|
-
taskType: "translation";
|
|
8051
|
-
}, {
|
|
8052
|
-
type: "ai_mt_translation_ai_scoring_step";
|
|
8053
|
-
values: {} & {
|
|
8054
|
-
[k: string]: unknown;
|
|
8055
|
-
};
|
|
8056
|
-
id: string;
|
|
8057
|
-
taskType: "translation";
|
|
8058
|
-
}> | z.ZodObject<{
|
|
8059
|
-
id: z.ZodString;
|
|
8060
|
-
type: z.ZodLiteral<"review_task_step">;
|
|
8061
|
-
taskType: z.ZodLiteral<"review">;
|
|
8062
|
-
} & {
|
|
8063
|
-
values: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
8064
|
-
}, "strip", z.ZodTypeAny, {
|
|
8065
|
-
type: "review_task_step";
|
|
8066
|
-
values: {} & {
|
|
8067
|
-
[k: string]: unknown;
|
|
8068
|
-
};
|
|
8069
|
-
id: string;
|
|
8070
|
-
taskType: "review";
|
|
8071
|
-
}, {
|
|
8072
|
-
type: "review_task_step";
|
|
8073
|
-
values: {} & {
|
|
8074
|
-
[k: string]: unknown;
|
|
8075
|
-
};
|
|
8076
|
-
id: string;
|
|
8077
|
-
taskType: "review";
|
|
8078
|
-
}> | z.ZodObject<{
|
|
8079
|
-
id: z.ZodString;
|
|
8080
|
-
type: z.ZodLiteral<"review_task_ai_scoring_step">;
|
|
8081
|
-
taskType: z.ZodLiteral<"review">;
|
|
8082
|
-
} & {
|
|
8083
|
-
values: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
8084
|
-
}, "strip", z.ZodTypeAny, {
|
|
8085
|
-
type: "review_task_ai_scoring_step";
|
|
8086
|
-
values: {} & {
|
|
8087
|
-
[k: string]: unknown;
|
|
8088
|
-
};
|
|
8089
|
-
id: string;
|
|
8090
|
-
taskType: "review";
|
|
8091
|
-
}, {
|
|
8092
|
-
type: "review_task_ai_scoring_step";
|
|
8093
|
-
values: {} & {
|
|
8094
|
-
[k: string]: unknown;
|
|
8095
|
-
};
|
|
8096
|
-
id: string;
|
|
8097
|
-
taskType: "review";
|
|
8098
|
-
}> | z.ZodObject<{
|
|
8099
|
-
id: z.ZodLiteral<"EndStep">;
|
|
8100
|
-
values: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
8101
|
-
type: z.ZodLiteral<"end_step">;
|
|
8102
|
-
}, "strip", z.ZodTypeAny, {
|
|
8103
|
-
type: "end_step";
|
|
8104
|
-
values: {};
|
|
8105
|
-
id: "EndStep";
|
|
8106
|
-
}, {
|
|
8107
|
-
type: "end_step";
|
|
8108
|
-
values: {};
|
|
8109
|
-
id: "EndStep";
|
|
8110
|
-
}>]>;
|
|
8111
|
-
export type FrontendLayoutStep = DraftWorkflowStepDto;
|
|
8112
|
-
export declare const SCHEDULED_TRIGGER_STEP_FORM_SCHEMA: z.ZodObject<{
|
|
8113
|
-
stepTitle: z.ZodString;
|
|
8114
|
-
scheduleFrequencyExpression: z.ZodString;
|
|
8115
|
-
scheduleStartingDate: z.ZodString;
|
|
8116
|
-
monitoredLanguageId: z.ZodNumber;
|
|
8117
|
-
targetLanguageIds: z.ZodArray<z.ZodNumber, "many">;
|
|
8118
|
-
monitoredKeyType: z.ZodEnum<["new", "updated", "both"]>;
|
|
8119
|
-
projectFilterId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8120
|
-
}, "strip", z.ZodTypeAny, {
|
|
8121
|
-
stepTitle: string;
|
|
8122
|
-
scheduleFrequencyExpression: string;
|
|
8123
|
-
scheduleStartingDate: string;
|
|
8124
|
-
monitoredLanguageId: number;
|
|
8125
|
-
targetLanguageIds: number[];
|
|
8126
|
-
monitoredKeyType: "new" | "updated" | "both";
|
|
8127
|
-
projectFilterId?: string | null | undefined;
|
|
8128
|
-
}, {
|
|
8129
|
-
stepTitle: string;
|
|
8130
|
-
scheduleFrequencyExpression: string;
|
|
8131
|
-
scheduleStartingDate: string;
|
|
8132
|
-
monitoredLanguageId: number;
|
|
8133
|
-
targetLanguageIds: number[];
|
|
8134
|
-
monitoredKeyType: "new" | "updated" | "both";
|
|
8135
|
-
projectFilterId?: string | null | undefined;
|
|
8136
|
-
}>;
|
|
8137
|
-
export declare const SCHEDULED_TRIGGER_STEP_SETTINGS_SCHEMA: z.ZodObject<{
|
|
8138
|
-
stepTitle: z.ZodString;
|
|
8139
|
-
scheduleFrequencyExpression: z.ZodString;
|
|
8140
|
-
scheduleStartingDate: z.ZodString;
|
|
8141
|
-
monitoredLanguageId: z.ZodNumber;
|
|
8142
|
-
targetLanguageIds: z.ZodArray<z.ZodNumber, "many">;
|
|
8143
|
-
monitoredKeyType: z.ZodEnum<["new", "updated", "both"]>;
|
|
8144
|
-
projectFilterId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8145
|
-
} & {
|
|
8146
|
-
stepType: z.ZodLiteral<"trigger_step">;
|
|
8147
|
-
triggerType: z.ZodLiteral<"Scheduled">;
|
|
8148
|
-
}, "strip", z.ZodTypeAny, {
|
|
8149
|
-
stepType: "trigger_step";
|
|
8150
|
-
stepTitle: string;
|
|
8151
|
-
scheduleFrequencyExpression: string;
|
|
8152
|
-
scheduleStartingDate: string;
|
|
8153
|
-
monitoredLanguageId: number;
|
|
8154
|
-
targetLanguageIds: number[];
|
|
8155
|
-
monitoredKeyType: "new" | "updated" | "both";
|
|
8156
|
-
triggerType: "Scheduled";
|
|
8157
|
-
projectFilterId?: string | null | undefined;
|
|
8158
|
-
}, {
|
|
8159
|
-
stepType: "trigger_step";
|
|
8160
|
-
stepTitle: string;
|
|
8161
|
-
scheduleFrequencyExpression: string;
|
|
8162
|
-
scheduleStartingDate: string;
|
|
8163
|
-
monitoredLanguageId: number;
|
|
8164
|
-
targetLanguageIds: number[];
|
|
8165
|
-
monitoredKeyType: "new" | "updated" | "both";
|
|
8166
|
-
triggerType: "Scheduled";
|
|
8167
|
-
projectFilterId?: string | null | undefined;
|
|
8168
|
-
}>;
|
|
8169
|
-
export declare const DEFAULT_SCHEDULED_TRIGGER_STEP_SETTINGS: {
|
|
8170
|
-
stepType: string;
|
|
8171
|
-
} & {
|
|
8172
|
-
[k: string]: unknown;
|
|
8173
|
-
} & Partial<{
|
|
8174
|
-
stepType: "trigger_step";
|
|
8175
|
-
stepTitle: string;
|
|
8176
|
-
scheduleFrequencyExpression: string;
|
|
8177
|
-
scheduleStartingDate: string;
|
|
8178
|
-
monitoredLanguageId: number;
|
|
8179
|
-
targetLanguageIds: number[];
|
|
8180
|
-
monitoredKeyType: "new" | "updated" | "both";
|
|
8181
|
-
triggerType: "Scheduled";
|
|
8182
|
-
projectFilterId?: string | null | undefined;
|
|
8183
|
-
}>;
|
|
8184
|
-
export type ScheduledTriggerStepForm = z.infer<typeof SCHEDULED_TRIGGER_STEP_FORM_SCHEMA>;
|
|
8185
|
-
export type ScheduledTriggerStepSettings = z.infer<typeof SCHEDULED_TRIGGER_STEP_SETTINGS_SCHEMA>;
|
|
8186
|
-
export declare const AI_MT_TRANSLATION_STEP_FORM_SCHEMA: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
8187
|
-
stepTitle: z.ZodString;
|
|
8188
|
-
translationEngine: z.ZodEnum<["ai", "deepl", "google"]>;
|
|
8189
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
8190
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
8191
|
-
tagKeysAfterClose: z.ZodBoolean;
|
|
8192
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8193
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
8194
|
-
hasCustomTranslationStatuses: z.ZodBoolean;
|
|
8195
|
-
}, "strip", z.ZodTypeAny, {
|
|
8196
|
-
stepTitle: string;
|
|
8197
|
-
hasCustomTranslationStatuses: boolean;
|
|
8198
|
-
tagKeysAfterClose: boolean;
|
|
8199
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
8200
|
-
taskTitle?: string | undefined;
|
|
8201
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8202
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8203
|
-
aiInstructions?: string | undefined;
|
|
8204
|
-
}, {
|
|
8205
|
-
stepTitle: string;
|
|
8206
|
-
hasCustomTranslationStatuses: boolean;
|
|
8207
|
-
tagKeysAfterClose: boolean;
|
|
8208
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
8209
|
-
taskTitle?: string | undefined;
|
|
8210
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8211
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8212
|
-
aiInstructions?: string | undefined;
|
|
8213
|
-
}>, {
|
|
8214
|
-
stepTitle: string;
|
|
8215
|
-
hasCustomTranslationStatuses: boolean;
|
|
8216
|
-
tagKeysAfterClose: boolean;
|
|
8217
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
8218
|
-
taskTitle?: string | undefined;
|
|
8219
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8220
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8221
|
-
aiInstructions?: string | undefined;
|
|
8222
|
-
}, {
|
|
8223
|
-
stepTitle: string;
|
|
8224
|
-
hasCustomTranslationStatuses: boolean;
|
|
8225
|
-
tagKeysAfterClose: boolean;
|
|
8226
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
8227
|
-
taskTitle?: string | undefined;
|
|
8228
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8229
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8230
|
-
aiInstructions?: string | undefined;
|
|
8231
|
-
}>, {
|
|
8232
|
-
stepTitle: string;
|
|
8233
|
-
hasCustomTranslationStatuses: boolean;
|
|
8234
|
-
tagKeysAfterClose: boolean;
|
|
8235
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
8236
|
-
taskTitle?: string | undefined;
|
|
8237
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8238
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8239
|
-
aiInstructions?: string | undefined;
|
|
8240
|
-
}, {
|
|
8241
|
-
stepTitle: string;
|
|
8242
|
-
hasCustomTranslationStatuses: boolean;
|
|
8243
|
-
tagKeysAfterClose: boolean;
|
|
8244
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
8245
|
-
taskTitle?: string | undefined;
|
|
8246
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8247
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8248
|
-
aiInstructions?: string | undefined;
|
|
8249
|
-
}>;
|
|
8250
|
-
export declare const AI_MT_TRANSLATION_STEP_SETTINGS_SCHEMA: z.ZodObject<{
|
|
8251
|
-
stepTitle: z.ZodString;
|
|
8252
|
-
translationEngine: z.ZodEnum<["ai", "deepl", "google"]>;
|
|
8253
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
8254
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
8255
|
-
tagKeysAfterClose: z.ZodBoolean;
|
|
8256
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8257
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
8258
|
-
hasCustomTranslationStatuses: z.ZodBoolean;
|
|
8259
|
-
} & {
|
|
8260
|
-
stepType: z.ZodLiteral<"ai_mt_translation_step">;
|
|
8261
|
-
taskType: z.ZodLiteral<"translation">;
|
|
8262
|
-
}, "strip", z.ZodTypeAny, {
|
|
8263
|
-
stepType: "ai_mt_translation_step";
|
|
8264
|
-
stepTitle: string;
|
|
8265
|
-
hasCustomTranslationStatuses: boolean;
|
|
8266
|
-
tagKeysAfterClose: boolean;
|
|
8267
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
8268
|
-
taskType: "translation";
|
|
8269
|
-
taskTitle?: string | undefined;
|
|
8270
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8271
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8272
|
-
aiInstructions?: string | undefined;
|
|
8273
|
-
}, {
|
|
8274
|
-
stepType: "ai_mt_translation_step";
|
|
8275
|
-
stepTitle: string;
|
|
8276
|
-
hasCustomTranslationStatuses: boolean;
|
|
8277
|
-
tagKeysAfterClose: boolean;
|
|
8278
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
8279
|
-
taskType: "translation";
|
|
8280
|
-
taskTitle?: string | undefined;
|
|
8281
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8282
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8283
|
-
aiInstructions?: string | undefined;
|
|
8284
|
-
}>;
|
|
8285
|
-
export declare const DEFAULT_AI_MT_TRANSLATION_STEP_SETTINGS: {
|
|
8286
|
-
stepType: string;
|
|
8287
|
-
} & {
|
|
8288
|
-
[k: string]: unknown;
|
|
8289
|
-
} & Partial<{
|
|
8290
|
-
stepType: "ai_mt_translation_step";
|
|
8291
|
-
stepTitle: string;
|
|
8292
|
-
hasCustomTranslationStatuses: boolean;
|
|
8293
|
-
tagKeysAfterClose: boolean;
|
|
8294
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
8295
|
-
taskType: "translation";
|
|
8296
|
-
taskTitle?: string | undefined;
|
|
8297
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8298
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8299
|
-
aiInstructions?: string | undefined;
|
|
8300
|
-
}>;
|
|
8301
|
-
export type AiMtTranslationStepForm = z.infer<typeof AI_MT_TRANSLATION_STEP_FORM_SCHEMA>;
|
|
8302
|
-
export type AiMtTranslationStepSettings = z.infer<typeof AI_MT_TRANSLATION_STEP_SETTINGS_SCHEMA>;
|
|
8303
|
-
export declare const TRANSLATE_TASK_STEP_FORM_SCHEMA: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
8304
|
-
stepTitle: z.ZodString;
|
|
8305
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
8306
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
8307
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
8308
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
8309
|
-
languageId: z.ZodNumber;
|
|
8310
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
8311
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
8312
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
8313
|
-
}, "strip", z.ZodTypeAny, {
|
|
8314
|
-
languageId: number;
|
|
8315
|
-
isSource: boolean;
|
|
8316
|
-
userIds?: number[] | undefined;
|
|
8317
|
-
userGroupIds?: number[] | undefined;
|
|
8318
|
-
}, {
|
|
8319
|
-
languageId: number;
|
|
8320
|
-
userIds?: number[] | undefined;
|
|
8321
|
-
userGroupIds?: number[] | undefined;
|
|
8322
|
-
isSource?: boolean | undefined;
|
|
8323
|
-
}>, "many">;
|
|
8324
|
-
autoCloseItems: z.ZodOptional<z.ZodBoolean>;
|
|
8325
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
8326
|
-
autoCloseTask: z.ZodBoolean;
|
|
8327
|
-
lockTranslations: z.ZodBoolean;
|
|
8328
|
-
hasCustomTranslationStatuses: z.ZodDefault<z.ZodBoolean>;
|
|
8329
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
8330
|
-
tagKeysAfterClose: z.ZodDefault<z.ZodBoolean>;
|
|
8331
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8332
|
-
translationEngine: z.ZodOptional<z.ZodEnum<["ai", "deepl", "google"]>>;
|
|
8333
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
8334
|
-
reviewLanguageType: z.ZodOptional<z.ZodEnum<["source", "target"]>>;
|
|
8335
|
-
}, "strip", z.ZodTypeAny, {
|
|
8336
|
-
stepTitle: string;
|
|
8337
|
-
languageAssignees: {
|
|
8338
|
-
languageId: number;
|
|
8339
|
-
isSource: boolean;
|
|
8340
|
-
userIds?: number[] | undefined;
|
|
8341
|
-
userGroupIds?: number[] | undefined;
|
|
8342
|
-
}[];
|
|
8343
|
-
autoCloseLanguages: boolean;
|
|
8344
|
-
autoCloseTask: boolean;
|
|
8345
|
-
lockTranslations: boolean;
|
|
8346
|
-
hasCustomTranslationStatuses: boolean;
|
|
8347
|
-
tagKeysAfterClose: boolean;
|
|
8348
|
-
taskTitle?: string | undefined;
|
|
8349
|
-
taskDescription?: string | undefined;
|
|
8350
|
-
dueDate?: number | undefined;
|
|
8351
|
-
autoCloseItems?: boolean | undefined;
|
|
8352
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8353
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8354
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8355
|
-
aiInstructions?: string | undefined;
|
|
8356
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8357
|
-
}, {
|
|
8358
|
-
stepTitle: string;
|
|
8359
|
-
languageAssignees: {
|
|
8360
|
-
languageId: number;
|
|
8361
|
-
userIds?: number[] | undefined;
|
|
8362
|
-
userGroupIds?: number[] | undefined;
|
|
8363
|
-
isSource?: boolean | undefined;
|
|
8364
|
-
}[];
|
|
8365
|
-
autoCloseLanguages: boolean;
|
|
8366
|
-
autoCloseTask: boolean;
|
|
8367
|
-
lockTranslations: boolean;
|
|
8368
|
-
taskTitle?: string | undefined;
|
|
8369
|
-
taskDescription?: string | undefined;
|
|
8370
|
-
dueDate?: number | undefined;
|
|
8371
|
-
autoCloseItems?: boolean | undefined;
|
|
8372
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
8373
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8374
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
8375
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8376
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8377
|
-
aiInstructions?: string | undefined;
|
|
8378
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8379
|
-
}>, {
|
|
8380
|
-
stepTitle: string;
|
|
8381
|
-
languageAssignees: {
|
|
8382
|
-
languageId: number;
|
|
8383
|
-
isSource: boolean;
|
|
8384
|
-
userIds?: number[] | undefined;
|
|
8385
|
-
userGroupIds?: number[] | undefined;
|
|
8386
|
-
}[];
|
|
8387
|
-
autoCloseLanguages: boolean;
|
|
8388
|
-
autoCloseTask: boolean;
|
|
8389
|
-
lockTranslations: boolean;
|
|
8390
|
-
hasCustomTranslationStatuses: boolean;
|
|
8391
|
-
tagKeysAfterClose: boolean;
|
|
8392
|
-
taskTitle?: string | undefined;
|
|
8393
|
-
taskDescription?: string | undefined;
|
|
8394
|
-
dueDate?: number | undefined;
|
|
8395
|
-
autoCloseItems?: boolean | undefined;
|
|
8396
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8397
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8398
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8399
|
-
aiInstructions?: string | undefined;
|
|
8400
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8401
|
-
}, {
|
|
8402
|
-
stepTitle: string;
|
|
8403
|
-
languageAssignees: {
|
|
8404
|
-
languageId: number;
|
|
8405
|
-
userIds?: number[] | undefined;
|
|
8406
|
-
userGroupIds?: number[] | undefined;
|
|
8407
|
-
isSource?: boolean | undefined;
|
|
8408
|
-
}[];
|
|
8409
|
-
autoCloseLanguages: boolean;
|
|
8410
|
-
autoCloseTask: boolean;
|
|
8411
|
-
lockTranslations: boolean;
|
|
8412
|
-
taskTitle?: string | undefined;
|
|
8413
|
-
taskDescription?: string | undefined;
|
|
8414
|
-
dueDate?: number | undefined;
|
|
8415
|
-
autoCloseItems?: boolean | undefined;
|
|
8416
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
8417
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8418
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
8419
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8420
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8421
|
-
aiInstructions?: string | undefined;
|
|
8422
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8423
|
-
}>, {
|
|
8424
|
-
stepTitle: string;
|
|
8425
|
-
languageAssignees: {
|
|
8426
|
-
languageId: number;
|
|
8427
|
-
isSource: boolean;
|
|
8428
|
-
userIds?: number[] | undefined;
|
|
8429
|
-
userGroupIds?: number[] | undefined;
|
|
8430
|
-
}[];
|
|
8431
|
-
autoCloseLanguages: boolean;
|
|
8432
|
-
autoCloseTask: boolean;
|
|
8433
|
-
lockTranslations: boolean;
|
|
8434
|
-
hasCustomTranslationStatuses: boolean;
|
|
8435
|
-
tagKeysAfterClose: boolean;
|
|
8436
|
-
taskTitle?: string | undefined;
|
|
8437
|
-
taskDescription?: string | undefined;
|
|
8438
|
-
dueDate?: number | undefined;
|
|
8439
|
-
autoCloseItems?: boolean | undefined;
|
|
8440
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8441
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8442
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8443
|
-
aiInstructions?: string | undefined;
|
|
8444
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8445
|
-
}, {
|
|
8446
|
-
stepTitle: string;
|
|
8447
|
-
languageAssignees: {
|
|
8448
|
-
languageId: number;
|
|
8449
|
-
userIds?: number[] | undefined;
|
|
8450
|
-
userGroupIds?: number[] | undefined;
|
|
8451
|
-
isSource?: boolean | undefined;
|
|
8452
|
-
}[];
|
|
8453
|
-
autoCloseLanguages: boolean;
|
|
8454
|
-
autoCloseTask: boolean;
|
|
8455
|
-
lockTranslations: boolean;
|
|
8456
|
-
taskTitle?: string | undefined;
|
|
8457
|
-
taskDescription?: string | undefined;
|
|
8458
|
-
dueDate?: number | undefined;
|
|
8459
|
-
autoCloseItems?: boolean | undefined;
|
|
8460
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
8461
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8462
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
8463
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8464
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8465
|
-
aiInstructions?: string | undefined;
|
|
8466
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8467
|
-
}>, {
|
|
8468
|
-
stepTitle: string;
|
|
8469
|
-
languageAssignees: {
|
|
8470
|
-
languageId: number;
|
|
8471
|
-
isSource: boolean;
|
|
8472
|
-
userIds?: number[] | undefined;
|
|
8473
|
-
userGroupIds?: number[] | undefined;
|
|
8474
|
-
}[];
|
|
8475
|
-
autoCloseLanguages: boolean;
|
|
8476
|
-
autoCloseTask: boolean;
|
|
8477
|
-
lockTranslations: boolean;
|
|
8478
|
-
hasCustomTranslationStatuses: boolean;
|
|
8479
|
-
tagKeysAfterClose: boolean;
|
|
8480
|
-
taskTitle?: string | undefined;
|
|
8481
|
-
taskDescription?: string | undefined;
|
|
8482
|
-
dueDate?: number | undefined;
|
|
8483
|
-
autoCloseItems?: boolean | undefined;
|
|
8484
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8485
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8486
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8487
|
-
aiInstructions?: string | undefined;
|
|
8488
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8489
|
-
}, {
|
|
8490
|
-
stepTitle: string;
|
|
8491
|
-
languageAssignees: {
|
|
8492
|
-
languageId: number;
|
|
8493
|
-
userIds?: number[] | undefined;
|
|
8494
|
-
userGroupIds?: number[] | undefined;
|
|
8495
|
-
isSource?: boolean | undefined;
|
|
8496
|
-
}[];
|
|
8497
|
-
autoCloseLanguages: boolean;
|
|
8498
|
-
autoCloseTask: boolean;
|
|
8499
|
-
lockTranslations: boolean;
|
|
8500
|
-
taskTitle?: string | undefined;
|
|
8501
|
-
taskDescription?: string | undefined;
|
|
8502
|
-
dueDate?: number | undefined;
|
|
8503
|
-
autoCloseItems?: boolean | undefined;
|
|
8504
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
8505
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8506
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
8507
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8508
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8509
|
-
aiInstructions?: string | undefined;
|
|
8510
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8511
|
-
}>;
|
|
8512
|
-
export declare const TRANSLATE_TASK_STEP_SETTINGS_SCHEMA: z.ZodObject<{
|
|
8513
|
-
stepTitle: z.ZodString;
|
|
8514
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
8515
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
8516
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
8517
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
8518
|
-
languageId: z.ZodNumber;
|
|
8519
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
8520
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
8521
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
8522
|
-
}, "strip", z.ZodTypeAny, {
|
|
8523
|
-
languageId: number;
|
|
8524
|
-
isSource: boolean;
|
|
8525
|
-
userIds?: number[] | undefined;
|
|
8526
|
-
userGroupIds?: number[] | undefined;
|
|
8527
|
-
}, {
|
|
8528
|
-
languageId: number;
|
|
8529
|
-
userIds?: number[] | undefined;
|
|
8530
|
-
userGroupIds?: number[] | undefined;
|
|
8531
|
-
isSource?: boolean | undefined;
|
|
8532
|
-
}>, "many">;
|
|
8533
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
8534
|
-
autoCloseTask: z.ZodBoolean;
|
|
8535
|
-
lockTranslations: z.ZodBoolean;
|
|
8536
|
-
hasCustomTranslationStatuses: z.ZodDefault<z.ZodBoolean>;
|
|
8537
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
8538
|
-
tagKeysAfterClose: z.ZodDefault<z.ZodBoolean>;
|
|
8539
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8540
|
-
translationEngine: z.ZodOptional<z.ZodEnum<["ai", "deepl", "google"]>>;
|
|
8541
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
8542
|
-
reviewLanguageType: z.ZodOptional<z.ZodEnum<["source", "target"]>>;
|
|
8543
|
-
} & {
|
|
8544
|
-
stepType: z.ZodLiteral<"translate_task_step">;
|
|
8545
|
-
taskType: z.ZodLiteral<"translation">;
|
|
8546
|
-
autoCloseItems: z.ZodBoolean;
|
|
8547
|
-
}, "strip", z.ZodTypeAny, {
|
|
8548
|
-
stepType: "translate_task_step";
|
|
8549
|
-
stepTitle: string;
|
|
8550
|
-
languageAssignees: {
|
|
8551
|
-
languageId: number;
|
|
8552
|
-
isSource: boolean;
|
|
8553
|
-
userIds?: number[] | undefined;
|
|
8554
|
-
userGroupIds?: number[] | undefined;
|
|
8555
|
-
}[];
|
|
8556
|
-
autoCloseItems: boolean;
|
|
8557
|
-
autoCloseLanguages: boolean;
|
|
8558
|
-
autoCloseTask: boolean;
|
|
8559
|
-
lockTranslations: boolean;
|
|
8560
|
-
hasCustomTranslationStatuses: boolean;
|
|
8561
|
-
tagKeysAfterClose: boolean;
|
|
8562
|
-
taskType: "translation";
|
|
8563
|
-
taskTitle?: string | undefined;
|
|
8564
|
-
taskDescription?: string | undefined;
|
|
8565
|
-
dueDate?: number | undefined;
|
|
8566
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8567
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8568
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8569
|
-
aiInstructions?: string | undefined;
|
|
8570
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8571
|
-
}, {
|
|
8572
|
-
stepType: "translate_task_step";
|
|
8573
|
-
stepTitle: string;
|
|
8574
|
-
languageAssignees: {
|
|
8575
|
-
languageId: number;
|
|
8576
|
-
userIds?: number[] | undefined;
|
|
8577
|
-
userGroupIds?: number[] | undefined;
|
|
8578
|
-
isSource?: boolean | undefined;
|
|
8579
|
-
}[];
|
|
8580
|
-
autoCloseItems: boolean;
|
|
8581
|
-
autoCloseLanguages: boolean;
|
|
8582
|
-
autoCloseTask: boolean;
|
|
8583
|
-
lockTranslations: boolean;
|
|
8584
|
-
taskType: "translation";
|
|
8585
|
-
taskTitle?: string | undefined;
|
|
8586
|
-
taskDescription?: string | undefined;
|
|
8587
|
-
dueDate?: number | undefined;
|
|
8588
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
8589
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8590
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
8591
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8592
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8593
|
-
aiInstructions?: string | undefined;
|
|
8594
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8595
|
-
}>;
|
|
8596
|
-
export declare const DEFAULT_TRANSLATE_TASK_STEP_SETTINGS: {
|
|
8597
|
-
stepType: string;
|
|
8598
|
-
} & {
|
|
8599
|
-
[k: string]: unknown;
|
|
8600
|
-
} & Partial<{
|
|
8601
|
-
stepType: "translate_task_step";
|
|
8602
|
-
stepTitle: string;
|
|
8603
|
-
languageAssignees: {
|
|
8604
|
-
languageId: number;
|
|
8605
|
-
isSource: boolean;
|
|
8606
|
-
userIds?: number[] | undefined;
|
|
8607
|
-
userGroupIds?: number[] | undefined;
|
|
8608
|
-
}[];
|
|
8609
|
-
autoCloseItems: boolean;
|
|
8610
|
-
autoCloseLanguages: boolean;
|
|
8611
|
-
autoCloseTask: boolean;
|
|
8612
|
-
lockTranslations: boolean;
|
|
8613
|
-
hasCustomTranslationStatuses: boolean;
|
|
8614
|
-
tagKeysAfterClose: boolean;
|
|
8615
|
-
taskType: "translation";
|
|
8616
|
-
taskTitle?: string | undefined;
|
|
8617
|
-
taskDescription?: string | undefined;
|
|
8618
|
-
dueDate?: number | undefined;
|
|
8619
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8620
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8621
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8622
|
-
aiInstructions?: string | undefined;
|
|
8623
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8624
|
-
}>;
|
|
8625
|
-
export type TranslateTaskStepForm = z.infer<typeof TRANSLATE_TASK_STEP_FORM_SCHEMA>;
|
|
8626
|
-
export type TranslateTaskStepSettings = z.infer<typeof TRANSLATE_TASK_STEP_SETTINGS_SCHEMA>;
|
|
8627
|
-
export declare const REVIEW_TASK_STEP_FORM_SCHEMA: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<Omit<{
|
|
8628
|
-
stepTitle: z.ZodString;
|
|
8629
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
8630
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
8631
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
8632
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
8633
|
-
languageId: z.ZodNumber;
|
|
8634
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
8635
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
8636
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
8637
|
-
}, "strip", z.ZodTypeAny, {
|
|
8638
|
-
languageId: number;
|
|
8639
|
-
isSource: boolean;
|
|
8640
|
-
userIds?: number[] | undefined;
|
|
8641
|
-
userGroupIds?: number[] | undefined;
|
|
8642
|
-
}, {
|
|
8643
|
-
languageId: number;
|
|
8644
|
-
userIds?: number[] | undefined;
|
|
8645
|
-
userGroupIds?: number[] | undefined;
|
|
8646
|
-
isSource?: boolean | undefined;
|
|
8647
|
-
}>, "many">;
|
|
8648
|
-
autoCloseItems: z.ZodOptional<z.ZodBoolean>;
|
|
8649
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
8650
|
-
autoCloseTask: z.ZodBoolean;
|
|
8651
|
-
lockTranslations: z.ZodBoolean;
|
|
8652
|
-
hasCustomTranslationStatuses: z.ZodDefault<z.ZodBoolean>;
|
|
8653
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
8654
|
-
tagKeysAfterClose: z.ZodDefault<z.ZodBoolean>;
|
|
8655
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8656
|
-
translationEngine: z.ZodOptional<z.ZodEnum<["ai", "deepl", "google"]>>;
|
|
8657
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
8658
|
-
reviewLanguageType: z.ZodOptional<z.ZodEnum<["source", "target"]>>;
|
|
8659
|
-
}, "autoCloseItems">, "strip", z.ZodTypeAny, {
|
|
8660
|
-
stepTitle: string;
|
|
8661
|
-
languageAssignees: {
|
|
8662
|
-
languageId: number;
|
|
8663
|
-
isSource: boolean;
|
|
8664
|
-
userIds?: number[] | undefined;
|
|
8665
|
-
userGroupIds?: number[] | undefined;
|
|
8666
|
-
}[];
|
|
8667
|
-
autoCloseLanguages: boolean;
|
|
8668
|
-
autoCloseTask: boolean;
|
|
8669
|
-
lockTranslations: boolean;
|
|
8670
|
-
hasCustomTranslationStatuses: boolean;
|
|
8671
|
-
tagKeysAfterClose: boolean;
|
|
8672
|
-
taskTitle?: string | undefined;
|
|
8673
|
-
taskDescription?: string | undefined;
|
|
8674
|
-
dueDate?: number | undefined;
|
|
8675
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8676
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8677
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8678
|
-
aiInstructions?: string | undefined;
|
|
8679
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8680
|
-
}, {
|
|
8681
|
-
stepTitle: string;
|
|
8682
|
-
languageAssignees: {
|
|
8683
|
-
languageId: number;
|
|
8684
|
-
userIds?: number[] | undefined;
|
|
8685
|
-
userGroupIds?: number[] | undefined;
|
|
8686
|
-
isSource?: boolean | undefined;
|
|
8687
|
-
}[];
|
|
8688
|
-
autoCloseLanguages: boolean;
|
|
8689
|
-
autoCloseTask: boolean;
|
|
8690
|
-
lockTranslations: boolean;
|
|
8691
|
-
taskTitle?: string | undefined;
|
|
8692
|
-
taskDescription?: string | undefined;
|
|
8693
|
-
dueDate?: number | undefined;
|
|
8694
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
8695
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8696
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
8697
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8698
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8699
|
-
aiInstructions?: string | undefined;
|
|
8700
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8701
|
-
}>, {
|
|
8702
|
-
stepTitle: string;
|
|
8703
|
-
languageAssignees: {
|
|
8704
|
-
languageId: number;
|
|
8705
|
-
isSource: boolean;
|
|
8706
|
-
userIds?: number[] | undefined;
|
|
8707
|
-
userGroupIds?: number[] | undefined;
|
|
8708
|
-
}[];
|
|
8709
|
-
autoCloseLanguages: boolean;
|
|
8710
|
-
autoCloseTask: boolean;
|
|
8711
|
-
lockTranslations: boolean;
|
|
8712
|
-
hasCustomTranslationStatuses: boolean;
|
|
8713
|
-
tagKeysAfterClose: boolean;
|
|
8714
|
-
taskTitle?: string | undefined;
|
|
8715
|
-
taskDescription?: string | undefined;
|
|
8716
|
-
dueDate?: number | undefined;
|
|
8717
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8718
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8719
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8720
|
-
aiInstructions?: string | undefined;
|
|
8721
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8722
|
-
}, {
|
|
8723
|
-
stepTitle: string;
|
|
8724
|
-
languageAssignees: {
|
|
8725
|
-
languageId: number;
|
|
8726
|
-
userIds?: number[] | undefined;
|
|
8727
|
-
userGroupIds?: number[] | undefined;
|
|
8728
|
-
isSource?: boolean | undefined;
|
|
8729
|
-
}[];
|
|
8730
|
-
autoCloseLanguages: boolean;
|
|
8731
|
-
autoCloseTask: boolean;
|
|
8732
|
-
lockTranslations: boolean;
|
|
8733
|
-
taskTitle?: string | undefined;
|
|
8734
|
-
taskDescription?: string | undefined;
|
|
8735
|
-
dueDate?: number | undefined;
|
|
8736
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
8737
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8738
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
8739
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8740
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8741
|
-
aiInstructions?: string | undefined;
|
|
8742
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8743
|
-
}>, {
|
|
8744
|
-
stepTitle: string;
|
|
8745
|
-
languageAssignees: {
|
|
8746
|
-
languageId: number;
|
|
8747
|
-
isSource: boolean;
|
|
8748
|
-
userIds?: number[] | undefined;
|
|
8749
|
-
userGroupIds?: number[] | undefined;
|
|
8750
|
-
}[];
|
|
8751
|
-
autoCloseLanguages: boolean;
|
|
8752
|
-
autoCloseTask: boolean;
|
|
8753
|
-
lockTranslations: boolean;
|
|
8754
|
-
hasCustomTranslationStatuses: boolean;
|
|
8755
|
-
tagKeysAfterClose: boolean;
|
|
8756
|
-
taskTitle?: string | undefined;
|
|
8757
|
-
taskDescription?: string | undefined;
|
|
8758
|
-
dueDate?: number | undefined;
|
|
8759
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8760
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8761
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8762
|
-
aiInstructions?: string | undefined;
|
|
8763
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8764
|
-
}, {
|
|
8765
|
-
stepTitle: string;
|
|
8766
|
-
languageAssignees: {
|
|
8767
|
-
languageId: number;
|
|
8768
|
-
userIds?: number[] | undefined;
|
|
8769
|
-
userGroupIds?: number[] | undefined;
|
|
8770
|
-
isSource?: boolean | undefined;
|
|
8771
|
-
}[];
|
|
8772
|
-
autoCloseLanguages: boolean;
|
|
8773
|
-
autoCloseTask: boolean;
|
|
8774
|
-
lockTranslations: boolean;
|
|
8775
|
-
taskTitle?: string | undefined;
|
|
8776
|
-
taskDescription?: string | undefined;
|
|
8777
|
-
dueDate?: number | undefined;
|
|
8778
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
8779
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8780
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
8781
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8782
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8783
|
-
aiInstructions?: string | undefined;
|
|
8784
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8785
|
-
}>, {
|
|
8786
|
-
stepTitle: string;
|
|
8787
|
-
languageAssignees: {
|
|
8788
|
-
languageId: number;
|
|
8789
|
-
isSource: boolean;
|
|
8790
|
-
userIds?: number[] | undefined;
|
|
8791
|
-
userGroupIds?: number[] | undefined;
|
|
8792
|
-
}[];
|
|
8793
|
-
autoCloseLanguages: boolean;
|
|
8794
|
-
autoCloseTask: boolean;
|
|
8795
|
-
lockTranslations: boolean;
|
|
8796
|
-
hasCustomTranslationStatuses: boolean;
|
|
8797
|
-
tagKeysAfterClose: boolean;
|
|
8798
|
-
taskTitle?: string | undefined;
|
|
8799
|
-
taskDescription?: string | undefined;
|
|
8800
|
-
dueDate?: number | undefined;
|
|
8801
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8802
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8803
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8804
|
-
aiInstructions?: string | undefined;
|
|
8805
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8806
|
-
}, {
|
|
8807
|
-
stepTitle: string;
|
|
8808
|
-
languageAssignees: {
|
|
8809
|
-
languageId: number;
|
|
8810
|
-
userIds?: number[] | undefined;
|
|
8811
|
-
userGroupIds?: number[] | undefined;
|
|
8812
|
-
isSource?: boolean | undefined;
|
|
8813
|
-
}[];
|
|
8814
|
-
autoCloseLanguages: boolean;
|
|
8815
|
-
autoCloseTask: boolean;
|
|
8816
|
-
lockTranslations: boolean;
|
|
8817
|
-
taskTitle?: string | undefined;
|
|
8818
|
-
taskDescription?: string | undefined;
|
|
8819
|
-
dueDate?: number | undefined;
|
|
8820
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
8821
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8822
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
8823
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8824
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8825
|
-
aiInstructions?: string | undefined;
|
|
8826
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8827
|
-
}>;
|
|
8828
|
-
export declare const REVIEW_TASK_STEP_SETTINGS_SCHEMA: z.ZodObject<Omit<{
|
|
8829
|
-
stepTitle: z.ZodString;
|
|
8830
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
8831
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
8832
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
8833
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
8834
|
-
languageId: z.ZodNumber;
|
|
8835
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
8836
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
8837
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
8838
|
-
}, "strip", z.ZodTypeAny, {
|
|
8839
|
-
languageId: number;
|
|
8840
|
-
isSource: boolean;
|
|
8841
|
-
userIds?: number[] | undefined;
|
|
8842
|
-
userGroupIds?: number[] | undefined;
|
|
8843
|
-
}, {
|
|
8844
|
-
languageId: number;
|
|
8845
|
-
userIds?: number[] | undefined;
|
|
8846
|
-
userGroupIds?: number[] | undefined;
|
|
8847
|
-
isSource?: boolean | undefined;
|
|
8848
|
-
}>, "many">;
|
|
8849
|
-
autoCloseItems: z.ZodOptional<z.ZodBoolean>;
|
|
8850
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
8851
|
-
autoCloseTask: z.ZodBoolean;
|
|
8852
|
-
lockTranslations: z.ZodBoolean;
|
|
8853
|
-
hasCustomTranslationStatuses: z.ZodDefault<z.ZodBoolean>;
|
|
8854
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
8855
|
-
tagKeysAfterClose: z.ZodDefault<z.ZodBoolean>;
|
|
8856
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8857
|
-
translationEngine: z.ZodOptional<z.ZodEnum<["ai", "deepl", "google"]>>;
|
|
8858
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
8859
|
-
reviewLanguageType: z.ZodOptional<z.ZodEnum<["source", "target"]>>;
|
|
8860
|
-
}, "autoCloseItems"> & {
|
|
8861
|
-
stepType: z.ZodLiteral<"review_task_step">;
|
|
8862
|
-
taskType: z.ZodLiteral<"review">;
|
|
8863
|
-
}, "strip", z.ZodTypeAny, {
|
|
8864
|
-
stepType: "review_task_step";
|
|
8865
|
-
stepTitle: string;
|
|
8866
|
-
languageAssignees: {
|
|
8867
|
-
languageId: number;
|
|
8868
|
-
isSource: boolean;
|
|
8869
|
-
userIds?: number[] | undefined;
|
|
8870
|
-
userGroupIds?: number[] | undefined;
|
|
8871
|
-
}[];
|
|
8872
|
-
autoCloseLanguages: boolean;
|
|
8873
|
-
autoCloseTask: boolean;
|
|
8874
|
-
lockTranslations: boolean;
|
|
8875
|
-
hasCustomTranslationStatuses: boolean;
|
|
8876
|
-
tagKeysAfterClose: boolean;
|
|
8877
|
-
taskType: "review";
|
|
8878
|
-
taskTitle?: string | undefined;
|
|
8879
|
-
taskDescription?: string | undefined;
|
|
8880
|
-
dueDate?: number | undefined;
|
|
8881
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8882
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8883
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8884
|
-
aiInstructions?: string | undefined;
|
|
8885
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8886
|
-
}, {
|
|
8887
|
-
stepType: "review_task_step";
|
|
8888
|
-
stepTitle: string;
|
|
8889
|
-
languageAssignees: {
|
|
8890
|
-
languageId: number;
|
|
8891
|
-
userIds?: number[] | undefined;
|
|
8892
|
-
userGroupIds?: number[] | undefined;
|
|
8893
|
-
isSource?: boolean | undefined;
|
|
8894
|
-
}[];
|
|
8895
|
-
autoCloseLanguages: boolean;
|
|
8896
|
-
autoCloseTask: boolean;
|
|
8897
|
-
lockTranslations: boolean;
|
|
8898
|
-
taskType: "review";
|
|
8899
|
-
taskTitle?: string | undefined;
|
|
8900
|
-
taskDescription?: string | undefined;
|
|
8901
|
-
dueDate?: number | undefined;
|
|
8902
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
8903
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8904
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
8905
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8906
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8907
|
-
aiInstructions?: string | undefined;
|
|
8908
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8909
|
-
}>;
|
|
8910
|
-
export declare const DEFAULT_REVIEW_TASK_STEP_SETTINGS: {
|
|
8911
|
-
stepType: string;
|
|
8912
|
-
} & {
|
|
8913
|
-
[k: string]: unknown;
|
|
8914
|
-
} & Partial<{
|
|
8915
|
-
stepType: "review_task_step";
|
|
8916
|
-
stepTitle: string;
|
|
8917
|
-
languageAssignees: {
|
|
8918
|
-
languageId: number;
|
|
8919
|
-
isSource: boolean;
|
|
8920
|
-
userIds?: number[] | undefined;
|
|
8921
|
-
userGroupIds?: number[] | undefined;
|
|
8922
|
-
}[];
|
|
8923
|
-
autoCloseLanguages: boolean;
|
|
8924
|
-
autoCloseTask: boolean;
|
|
8925
|
-
lockTranslations: boolean;
|
|
8926
|
-
hasCustomTranslationStatuses: boolean;
|
|
8927
|
-
tagKeysAfterClose: boolean;
|
|
8928
|
-
taskType: "review";
|
|
8929
|
-
taskTitle?: string | undefined;
|
|
8930
|
-
taskDescription?: string | undefined;
|
|
8931
|
-
dueDate?: number | undefined;
|
|
8932
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8933
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8934
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8935
|
-
aiInstructions?: string | undefined;
|
|
8936
|
-
reviewLanguageType?: "source" | "target" | undefined;
|
|
8937
|
-
}>;
|
|
8938
|
-
export declare const DEFAULT_REVIEW_TASK_STEP_SETTINGS_WITH_SOURCE: {
|
|
8939
|
-
reviewLanguageType: string;
|
|
8940
|
-
stepType: "review_task_step";
|
|
8941
|
-
stepTitle?: string | undefined;
|
|
8942
|
-
languageAssignees?: {
|
|
8943
|
-
languageId: number;
|
|
8944
|
-
isSource: boolean;
|
|
8945
|
-
userIds?: number[] | undefined;
|
|
8946
|
-
userGroupIds?: number[] | undefined;
|
|
8947
|
-
}[] | undefined;
|
|
8948
|
-
autoCloseLanguages?: boolean | undefined;
|
|
8949
|
-
autoCloseTask?: boolean | undefined;
|
|
8950
|
-
lockTranslations?: boolean | undefined;
|
|
8951
|
-
hasCustomTranslationStatuses?: boolean | undefined;
|
|
8952
|
-
tagKeysAfterClose?: boolean | undefined;
|
|
8953
|
-
taskType?: "review" | undefined;
|
|
8954
|
-
taskTitle?: string | undefined;
|
|
8955
|
-
taskDescription?: string | undefined;
|
|
8956
|
-
dueDate?: number | undefined;
|
|
8957
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
8958
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
8959
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
8960
|
-
aiInstructions?: string | undefined;
|
|
8961
|
-
};
|
|
8962
|
-
export type ReviewTaskStepForm = z.infer<typeof REVIEW_TASK_STEP_FORM_SCHEMA>;
|
|
8963
|
-
export type ReviewTaskStepSettings = z.infer<typeof REVIEW_TASK_STEP_SETTINGS_SCHEMA>;
|
|
8964
|
-
export declare const CLEAR_TRANSLATIONS_STEP_FORM_SCHEMA: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
8965
|
-
export declare const CLEAR_TRANSLATIONS_STEP_SETTINGS_SCHEMA: z.ZodObject<{
|
|
8966
|
-
stepType: z.ZodLiteral<"clear_translations_step">;
|
|
8967
|
-
}, "strip", z.ZodTypeAny, {
|
|
8968
|
-
stepType: "clear_translations_step";
|
|
8969
|
-
}, {
|
|
8970
|
-
stepType: "clear_translations_step";
|
|
8971
|
-
}>;
|
|
8972
|
-
export declare const DEFAULT_CLEAR_TRANSLATIONS_STEP_SETTINGS: {
|
|
8973
|
-
stepType: string;
|
|
8974
|
-
} & {
|
|
8975
|
-
[k: string]: unknown;
|
|
8976
|
-
} & Partial<{
|
|
8977
|
-
stepType: "clear_translations_step";
|
|
8978
|
-
}>;
|
|
8979
|
-
export type ClearTranslationsStepForm = z.infer<typeof CLEAR_TRANSLATIONS_STEP_FORM_SCHEMA>;
|
|
8980
|
-
export type ClearTranslationsStepSettings = z.infer<typeof CLEAR_TRANSLATIONS_STEP_SETTINGS_SCHEMA>;
|
|
8981
|
-
export declare const APPLY_TM_STEP_FORM_SCHEMA: z.ZodObject<{
|
|
8982
|
-
stepTitle: z.ZodString;
|
|
8983
|
-
threshold: z.ZodDefault<z.ZodNumber>;
|
|
8984
|
-
}, "strip", z.ZodTypeAny, {
|
|
8985
|
-
stepTitle: string;
|
|
8986
|
-
threshold: number;
|
|
8987
|
-
}, {
|
|
8988
|
-
stepTitle: string;
|
|
8989
|
-
threshold?: number | undefined;
|
|
8990
|
-
}>;
|
|
8991
|
-
export declare const APPLY_TM_STEP_SETTINGS_SCHEMA: z.ZodObject<{
|
|
8992
|
-
stepTitle: z.ZodString;
|
|
8993
|
-
threshold: z.ZodDefault<z.ZodNumber>;
|
|
8994
|
-
} & {
|
|
8995
|
-
stepType: z.ZodLiteral<"apply_tm_step">;
|
|
8996
|
-
}, "strip", z.ZodTypeAny, {
|
|
8997
|
-
stepType: "apply_tm_step";
|
|
8998
|
-
stepTitle: string;
|
|
8999
|
-
threshold: number;
|
|
9000
|
-
}, {
|
|
9001
|
-
stepType: "apply_tm_step";
|
|
9002
|
-
stepTitle: string;
|
|
9003
|
-
threshold?: number | undefined;
|
|
9004
|
-
}>;
|
|
9005
|
-
export declare const DEFAULT_APPLY_TM_STEP_SETTINGS: {
|
|
9006
|
-
stepType: string;
|
|
9007
|
-
} & {
|
|
9008
|
-
[k: string]: unknown;
|
|
9009
|
-
} & Partial<{
|
|
9010
|
-
stepType: "apply_tm_step";
|
|
9011
|
-
stepTitle: string;
|
|
9012
|
-
threshold: number;
|
|
9013
|
-
}>;
|
|
9014
|
-
export type ApplyTmStepForm = z.infer<typeof APPLY_TM_STEP_FORM_SCHEMA>;
|
|
9015
|
-
export type ApplyTmStepSettings = z.infer<typeof APPLY_TM_STEP_SETTINGS_SCHEMA>;
|
|
9016
|
-
export declare const END_STEP_FORM_SCHEMA: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
9017
|
-
export declare const END_STEP_SETTINGS_SCHEMA: z.ZodObject<{
|
|
9018
|
-
stepType: z.ZodLiteral<"end_step">;
|
|
9019
|
-
}, "strip", z.ZodTypeAny, {
|
|
9020
|
-
stepType: "end_step";
|
|
9021
|
-
}, {
|
|
9022
|
-
stepType: "end_step";
|
|
9023
|
-
}>;
|
|
9024
|
-
export declare const DEFAULT_END_STEP_SETTINGS: {
|
|
9025
|
-
stepType: string;
|
|
9026
|
-
} & {
|
|
9027
|
-
[k: string]: unknown;
|
|
9028
|
-
} & Partial<{
|
|
9029
|
-
stepType: "end_step";
|
|
9030
|
-
}>;
|
|
9031
|
-
export type EndStepForm = z.infer<typeof END_STEP_FORM_SCHEMA>;
|
|
9032
|
-
export type EndStepSettings = z.infer<typeof END_STEP_SETTINGS_SCHEMA>;
|
|
9033
6846
|
export {};
|