@lokalise/maestro-expert-tenant-lib 9.1.0 → 9.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/steps/StepRegistry.d.ts +5 -746
- package/dist/steps/StepRegistry.js +2 -20
- package/dist/steps/StepRegistry.js.map +1 -1
- package/dist/steps/resources/AiMtTranslationStep.d.ts +1 -1
- package/dist/steps/resources/AiMtTranslationStep.js +2 -2
- package/dist/steps/resources/AiMtTranslationStep.js.map +1 -1
- package/dist/steps/resources/AiMtTranslationWithAiScoringStep.d.ts +1 -1
- package/dist/steps/resources/AiMtTranslationWithAiScoringStep.js +2 -2
- package/dist/steps/resources/AiMtTranslationWithAiScoringStep.js.map +1 -1
- package/dist/steps/resources/ReviewTaskWithAiScoringStep.d.ts +1 -1
- package/dist/steps/resources/ReviewTaskWithAiScoringStep.js +2 -2
- package/dist/steps/resources/ReviewTaskWithAiScoringStep.js.map +1 -1
- package/dist/templates/resources/clear-translations-mt-ai-review-ai-scoring-task.template.js +3 -3
- package/dist/templates/resources/clear-translations-mt-ai-review-ai-scoring-task.template.js.map +1 -1
- package/dist/templates/resources/clear-translations-mt-ai-review-task.template.js +3 -3
- package/dist/templates/resources/clear-translations-mt-ai-review-task.template.js.map +1 -1
- package/dist/templates/resources/clear-translations-mt-ai-task.template.js +3 -3
- package/dist/templates/resources/clear-translations-mt-ai-task.template.js.map +1 -1
- package/dist/templates/resources/clear-translations-tm-mt-ai-review-ai-scoring-task.template.js +3 -3
- package/dist/templates/resources/clear-translations-tm-mt-ai-review-ai-scoring-task.template.js.map +1 -1
- package/dist/templates/resources/clear-translations-tm-mt-ai-review-task.template.js +3 -3
- package/dist/templates/resources/clear-translations-tm-mt-ai-review-task.template.js.map +1 -1
- package/dist/templates/resources/clear-translations-tm-mt-ai-task.template.js +3 -3
- package/dist/templates/resources/clear-translations-tm-mt-ai-task.template.js.map +1 -1
- package/dist/templates/schemas.d.ts +0 -1
- package/dist/templates/schemas.js +0 -28
- package/dist/templates/schemas.js.map +1 -1
- package/package.json +3 -3
- package/dist/steps/resources/rebranded/AiMtTranslationStep.d.ts +0 -78
- package/dist/steps/resources/rebranded/AiMtTranslationStep.js +0 -12
- package/dist/steps/resources/rebranded/AiMtTranslationStep.js.map +0 -1
- package/dist/steps/resources/rebranded/AiMtTranslationWithAiScoringStep.d.ts +0 -72
- package/dist/steps/resources/rebranded/AiMtTranslationWithAiScoringStep.js +0 -12
- package/dist/steps/resources/rebranded/AiMtTranslationWithAiScoringStep.js.map +0 -1
- package/dist/steps/resources/rebranded/ReviewTaskWithAiScoringStep.d.ts +0 -136
- package/dist/steps/resources/rebranded/ReviewTaskWithAiScoringStep.js +0 -12
- package/dist/steps/resources/rebranded/ReviewTaskWithAiScoringStep.js.map +0 -1
- package/dist/templates/resources/rebranded/clear-translations-mt-ai-review-ai-scoring-task.template.d.ts +0 -104
- package/dist/templates/resources/rebranded/clear-translations-mt-ai-review-ai-scoring-task.template.js +0 -16
- package/dist/templates/resources/rebranded/clear-translations-mt-ai-review-ai-scoring-task.template.js.map +0 -1
- package/dist/templates/resources/rebranded/clear-translations-mt-ai-review-task.template.d.ts +0 -104
- package/dist/templates/resources/rebranded/clear-translations-mt-ai-review-task.template.js +0 -13
- package/dist/templates/resources/rebranded/clear-translations-mt-ai-review-task.template.js.map +0 -1
- package/dist/templates/resources/rebranded/clear-translations-mt-ai-task.template.d.ts +0 -103
- package/dist/templates/resources/rebranded/clear-translations-mt-ai-task.template.js +0 -13
- package/dist/templates/resources/rebranded/clear-translations-mt-ai-task.template.js.map +0 -1
- package/dist/templates/resources/rebranded/clear-translations-tm-mt-ai-review-ai-scoring-task.template.d.ts +0 -105
- package/dist/templates/resources/rebranded/clear-translations-tm-mt-ai-review-ai-scoring-task.template.js +0 -16
- package/dist/templates/resources/rebranded/clear-translations-tm-mt-ai-review-ai-scoring-task.template.js.map +0 -1
- package/dist/templates/resources/rebranded/clear-translations-tm-mt-ai-review-task.template.d.ts +0 -105
- package/dist/templates/resources/rebranded/clear-translations-tm-mt-ai-review-task.template.js +0 -13
- package/dist/templates/resources/rebranded/clear-translations-tm-mt-ai-review-task.template.js.map +0 -1
- package/dist/templates/resources/rebranded/clear-translations-tm-mt-ai-task.template.d.ts +0 -104
- package/dist/templates/resources/rebranded/clear-translations-tm-mt-ai-task.template.js +0 -13
- package/dist/templates/resources/rebranded/clear-translations-tm-mt-ai-task.template.js.map +0 -1
|
@@ -323,7 +323,7 @@ declare const STEP_REGISTRY: readonly [Step<"trigger_step", "TriggerStep", "Trig
|
|
|
323
323
|
saveTranslationsToTm?: boolean | undefined;
|
|
324
324
|
markVerified?: boolean | undefined;
|
|
325
325
|
reviewLanguageType?: "target" | "source" | undefined;
|
|
326
|
-
}>, CommonStepToLayout>, Step<"ai_mt_translation_step", "AiMtTranslationStep", "Translate with AI
|
|
326
|
+
}>, CommonStepToLayout>, Step<"ai_mt_translation_step", "AiMtTranslationStep", "Translate with Pro/Standard AI", z.ZodObject<{
|
|
327
327
|
stepTitle: z.ZodString;
|
|
328
328
|
translationEngine: z.ZodEnum<{
|
|
329
329
|
ai: "ai";
|
|
@@ -396,7 +396,7 @@ declare const STEP_REGISTRY: readonly [Step<"trigger_step", "TriggerStep", "Trig
|
|
|
396
396
|
customTranslationStatusIds?: number[] | undefined;
|
|
397
397
|
saveTranslationsToTm?: boolean | undefined;
|
|
398
398
|
markVerified?: boolean | undefined;
|
|
399
|
-
}>, CommonStepToLayout>, Step<"ai_mt_translation_ai_scoring_step", "AiMtTranslationWithAiScoringStep", "Translate with AI", z.ZodObject<{
|
|
399
|
+
}>, CommonStepToLayout>, Step<"ai_mt_translation_ai_scoring_step", "AiMtTranslationWithAiScoringStep", "Translate with Pro AI", z.ZodObject<{
|
|
400
400
|
stepTitle: z.ZodString;
|
|
401
401
|
taskTitle: z.ZodOptional<z.ZodString>;
|
|
402
402
|
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
@@ -593,7 +593,7 @@ declare const STEP_REGISTRY: readonly [Step<"trigger_step", "TriggerStep", "Trig
|
|
|
593
593
|
saveTranslationsToTm?: boolean | undefined;
|
|
594
594
|
markVerified?: boolean | undefined;
|
|
595
595
|
reviewLanguageType?: "target" | "source" | undefined;
|
|
596
|
-
}>, CommonStepToLayout>, Step<"review_task_ai_scoring_step", "ReviewTaskWithAiScoringStep", "Review task with AI scoring", z.ZodObject<{
|
|
596
|
+
}>, CommonStepToLayout>, Step<"review_task_ai_scoring_step", "ReviewTaskWithAiScoringStep", "Review task with Pro AI scoring", z.ZodObject<{
|
|
597
597
|
stepTitle: z.ZodString;
|
|
598
598
|
taskTitle: z.ZodOptional<z.ZodString>;
|
|
599
599
|
taskDescription: z.ZodOptional<z.ZodString>;
|
|
@@ -1170,10 +1170,9 @@ export declare const DRAFT_WORKFLOW_STEP_DTO_SCHEMA: z.ZodDiscriminatedUnion<[z.
|
|
|
1170
1170
|
}, z.core.$strip>], "type">;
|
|
1171
1171
|
export declare const FRONTEND_TO_BACKEND_STEPS_MAP: Record<StepType, (targetId: CommonStepDto["id"] | undefined) => WorkflowLayoutStep>;
|
|
1172
1172
|
export declare const STEP_DEFAULT_VALUES: Record<StepType, StrictWorkflowLayoutStepSettings>;
|
|
1173
|
-
export declare const REBRANDED_STEP_DEFAULT_VALUES: Record<StepType, StrictWorkflowLayoutStepSettings>;
|
|
1174
1173
|
export declare const generateRandomHex: () => string;
|
|
1175
1174
|
export declare const buildStepId: (name: string) => string;
|
|
1176
|
-
export declare const AVAILABLE_STEPS: (Step<"trigger_step" | "clear_translations_step" | "apply_tm_step" | "translate_task_step" | "ai_mt_translation_step" | "ai_mt_translation_ai_scoring_step" | "review_task_step" | "review_task_ai_scoring_step" | "end_step", "TriggerStep" | "ClearTranslationsStep" | "ApplyTmStep" | "TranslateTaskStep" | "AiMtTranslationStep" | "AiMtTranslationWithAiScoringStep" | "ReviewTaskStep" | "ReviewTaskWithAiScoringStep" | "EndStep", "Trigger and scope" | "Clear existing translations" | "Apply TM" | "Translate by team member" | "Translate with AI
|
|
1175
|
+
export declare const AVAILABLE_STEPS: (Step<"trigger_step" | "clear_translations_step" | "apply_tm_step" | "translate_task_step" | "ai_mt_translation_step" | "ai_mt_translation_ai_scoring_step" | "review_task_step" | "review_task_ai_scoring_step" | "end_step", "TriggerStep" | "ClearTranslationsStep" | "ApplyTmStep" | "TranslateTaskStep" | "AiMtTranslationStep" | "AiMtTranslationWithAiScoringStep" | "ReviewTaskStep" | "ReviewTaskWithAiScoringStep" | "EndStep", "Trigger and scope" | "Clear existing translations" | "Apply TM" | "Translate by team member" | "Translate with Pro/Standard AI" | "Translate with Pro AI" | "Review task for contributors" | "Review task with Pro AI scoring" | "End", z.ZodObject<{
|
|
1177
1176
|
stepTitle: z.ZodString;
|
|
1178
1177
|
scheduleFrequencyExpression: z.ZodString;
|
|
1179
1178
|
scheduleStartingDate: z.ZodISODate;
|
|
@@ -1913,747 +1912,7 @@ export declare const AVAILABLE_STEPS: (Step<"trigger_step" | "clear_translations
|
|
|
1913
1912
|
}>), CommonStepToLayout> & {
|
|
1914
1913
|
id: string;
|
|
1915
1914
|
})[];
|
|
1916
|
-
export declare const
|
|
1917
|
-
stepTitle: z.ZodString;
|
|
1918
|
-
scheduleFrequencyExpression: z.ZodString;
|
|
1919
|
-
scheduleStartingDate: z.ZodISODate;
|
|
1920
|
-
frequency: z.ZodOptional<z.ZodEnum<{
|
|
1921
|
-
hourly: "hourly";
|
|
1922
|
-
daily: "daily";
|
|
1923
|
-
weekly: "weekly";
|
|
1924
|
-
monthly: "monthly";
|
|
1925
|
-
}>>;
|
|
1926
|
-
repeatEvery: z.ZodOptional<z.ZodNumber>;
|
|
1927
|
-
time: z.ZodOptional<z.ZodISOTime>;
|
|
1928
|
-
timeFrom: z.ZodOptional<z.ZodISOTime>;
|
|
1929
|
-
timeTo: z.ZodOptional<z.ZodISOTime>;
|
|
1930
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
1931
|
-
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1932
|
-
mo: "mo";
|
|
1933
|
-
tu: "tu";
|
|
1934
|
-
we: "we";
|
|
1935
|
-
th: "th";
|
|
1936
|
-
fr: "fr";
|
|
1937
|
-
sa: "sa";
|
|
1938
|
-
su: "su";
|
|
1939
|
-
}>>>;
|
|
1940
|
-
monthDayPosition: z.ZodOptional<z.ZodEnum<{
|
|
1941
|
-
first: "first";
|
|
1942
|
-
current: "current";
|
|
1943
|
-
last: "last";
|
|
1944
|
-
}>>;
|
|
1945
|
-
monitoredLanguageId: z.ZodNumber;
|
|
1946
|
-
targetLanguageIds: z.ZodArray<z.ZodNumber>;
|
|
1947
|
-
monitoredKeyType: z.ZodEnum<{
|
|
1948
|
-
new: "new";
|
|
1949
|
-
updated: "updated";
|
|
1950
|
-
both: "both";
|
|
1951
|
-
}>;
|
|
1952
|
-
projectFilterId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1953
|
-
}, z.core.$strip> | z.ZodObject<{}, z.core.$strip> | z.ZodObject<{
|
|
1954
|
-
stepTitle: z.ZodString;
|
|
1955
|
-
threshold: z.ZodNumber;
|
|
1956
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
1957
|
-
stepTitle: z.ZodString;
|
|
1958
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
1959
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
1960
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
1961
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
1962
|
-
languageId: z.ZodNumber;
|
|
1963
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1964
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1965
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
1966
|
-
}, z.core.$strip>>;
|
|
1967
|
-
autoCloseItems: z.ZodOptional<z.ZodBoolean>;
|
|
1968
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
1969
|
-
autoCloseTask: z.ZodBoolean;
|
|
1970
|
-
lockTranslations: z.ZodBoolean;
|
|
1971
|
-
tagKeysAfterClose: z.ZodBoolean;
|
|
1972
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1973
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1974
|
-
hasCustomTranslationStatuses: z.ZodBoolean;
|
|
1975
|
-
translationEngine: z.ZodOptional<z.ZodEnum<{
|
|
1976
|
-
ai: "ai";
|
|
1977
|
-
deepl: "deepl";
|
|
1978
|
-
google: "google";
|
|
1979
|
-
}>>;
|
|
1980
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
1981
|
-
saveTranslationsToTm: z.ZodOptional<z.ZodBoolean>;
|
|
1982
|
-
markVerified: z.ZodOptional<z.ZodBoolean>;
|
|
1983
|
-
reviewLanguageType: z.ZodOptional<z.ZodEnum<{
|
|
1984
|
-
target: "target";
|
|
1985
|
-
source: "source";
|
|
1986
|
-
}>>;
|
|
1987
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
1988
|
-
stepTitle: z.ZodString;
|
|
1989
|
-
translationEngine: z.ZodEnum<{
|
|
1990
|
-
ai: "ai";
|
|
1991
|
-
deepl: "deepl";
|
|
1992
|
-
google: "google";
|
|
1993
|
-
}>;
|
|
1994
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
1995
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
1996
|
-
tagKeysAfterClose: z.ZodDefault<z.ZodBoolean>;
|
|
1997
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1998
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1999
|
-
hasCustomTranslationStatuses: z.ZodDefault<z.ZodBoolean>;
|
|
2000
|
-
saveTranslationsToTm: z.ZodOptional<z.ZodBoolean>;
|
|
2001
|
-
markVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2002
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2003
|
-
stepTitle: z.ZodString;
|
|
2004
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
2005
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
2006
|
-
tagKeysAfterClose: z.ZodDefault<z.ZodBoolean>;
|
|
2007
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2008
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2009
|
-
hasCustomTranslationStatuses: z.ZodDefault<z.ZodBoolean>;
|
|
2010
|
-
saveTranslationsToTm: z.ZodOptional<z.ZodBoolean>;
|
|
2011
|
-
markVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2012
|
-
translationEngine: z.ZodEnum<{
|
|
2013
|
-
ai: "ai";
|
|
2014
|
-
}>;
|
|
2015
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2016
|
-
stepTitle: z.ZodString;
|
|
2017
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
2018
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
2019
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
2020
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
2021
|
-
languageId: z.ZodNumber;
|
|
2022
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2023
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2024
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
2025
|
-
}, z.core.$strip>>;
|
|
2026
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
2027
|
-
autoCloseTask: z.ZodBoolean;
|
|
2028
|
-
lockTranslations: z.ZodBoolean;
|
|
2029
|
-
tagKeysAfterClose: z.ZodBoolean;
|
|
2030
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2031
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2032
|
-
hasCustomTranslationStatuses: z.ZodBoolean;
|
|
2033
|
-
translationEngine: z.ZodOptional<z.ZodEnum<{
|
|
2034
|
-
ai: "ai";
|
|
2035
|
-
deepl: "deepl";
|
|
2036
|
-
google: "google";
|
|
2037
|
-
}>>;
|
|
2038
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
2039
|
-
saveTranslationsToTm: z.ZodOptional<z.ZodBoolean>;
|
|
2040
|
-
markVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2041
|
-
reviewLanguageType: z.ZodOptional<z.ZodEnum<{
|
|
2042
|
-
target: "target";
|
|
2043
|
-
source: "source";
|
|
2044
|
-
}>>;
|
|
2045
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2046
|
-
stepTitle: z.ZodString;
|
|
2047
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
2048
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
2049
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
2050
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
2051
|
-
languageId: z.ZodNumber;
|
|
2052
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2053
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2054
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
2055
|
-
}, z.core.$strip>>;
|
|
2056
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
2057
|
-
autoCloseTask: z.ZodBoolean;
|
|
2058
|
-
lockTranslations: z.ZodBoolean;
|
|
2059
|
-
tagKeysAfterClose: z.ZodBoolean;
|
|
2060
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2061
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2062
|
-
hasCustomTranslationStatuses: z.ZodBoolean;
|
|
2063
|
-
translationEngine: z.ZodOptional<z.ZodEnum<{
|
|
2064
|
-
ai: "ai";
|
|
2065
|
-
deepl: "deepl";
|
|
2066
|
-
google: "google";
|
|
2067
|
-
}>>;
|
|
2068
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
2069
|
-
saveTranslationsToTm: z.ZodOptional<z.ZodBoolean>;
|
|
2070
|
-
markVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2071
|
-
reviewLanguageType: z.ZodEnum<{
|
|
2072
|
-
target: "target";
|
|
2073
|
-
}>;
|
|
2074
|
-
threshold: z.ZodNumber;
|
|
2075
|
-
}, z.core.$strip> | z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
2076
|
-
stepTitle: z.ZodString;
|
|
2077
|
-
scheduleFrequencyExpression: z.ZodString;
|
|
2078
|
-
scheduleStartingDate: z.ZodISODate;
|
|
2079
|
-
frequency: z.ZodOptional<z.ZodEnum<{
|
|
2080
|
-
hourly: "hourly";
|
|
2081
|
-
daily: "daily";
|
|
2082
|
-
weekly: "weekly";
|
|
2083
|
-
monthly: "monthly";
|
|
2084
|
-
}>>;
|
|
2085
|
-
repeatEvery: z.ZodOptional<z.ZodNumber>;
|
|
2086
|
-
time: z.ZodOptional<z.ZodISOTime>;
|
|
2087
|
-
timeFrom: z.ZodOptional<z.ZodISOTime>;
|
|
2088
|
-
timeTo: z.ZodOptional<z.ZodISOTime>;
|
|
2089
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
2090
|
-
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2091
|
-
mo: "mo";
|
|
2092
|
-
tu: "tu";
|
|
2093
|
-
we: "we";
|
|
2094
|
-
th: "th";
|
|
2095
|
-
fr: "fr";
|
|
2096
|
-
sa: "sa";
|
|
2097
|
-
su: "su";
|
|
2098
|
-
}>>>;
|
|
2099
|
-
monthDayPosition: z.ZodOptional<z.ZodEnum<{
|
|
2100
|
-
first: "first";
|
|
2101
|
-
current: "current";
|
|
2102
|
-
last: "last";
|
|
2103
|
-
}>>;
|
|
2104
|
-
monitoredLanguageId: z.ZodNumber;
|
|
2105
|
-
targetLanguageIds: z.ZodArray<z.ZodNumber>;
|
|
2106
|
-
monitoredKeyType: z.ZodEnum<{
|
|
2107
|
-
new: "new";
|
|
2108
|
-
updated: "updated";
|
|
2109
|
-
both: "both";
|
|
2110
|
-
}>;
|
|
2111
|
-
projectFilterId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2112
|
-
stepType: z.ZodLiteral<"trigger_step">;
|
|
2113
|
-
triggerType: z.ZodLiteral<"Scheduled">;
|
|
2114
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2115
|
-
stepType: z.ZodLiteral<"clear_translations_step">;
|
|
2116
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2117
|
-
stepTitle: z.ZodString;
|
|
2118
|
-
threshold: z.ZodNumber;
|
|
2119
|
-
stepType: z.ZodLiteral<"apply_tm_step">;
|
|
2120
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2121
|
-
stepTitle: z.ZodString;
|
|
2122
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
2123
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
2124
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
2125
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
2126
|
-
languageId: z.ZodNumber;
|
|
2127
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2128
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2129
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
2130
|
-
}, z.core.$strip>>;
|
|
2131
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
2132
|
-
autoCloseTask: z.ZodBoolean;
|
|
2133
|
-
lockTranslations: z.ZodBoolean;
|
|
2134
|
-
tagKeysAfterClose: z.ZodBoolean;
|
|
2135
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2136
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2137
|
-
hasCustomTranslationStatuses: z.ZodBoolean;
|
|
2138
|
-
translationEngine: z.ZodOptional<z.ZodEnum<{
|
|
2139
|
-
ai: "ai";
|
|
2140
|
-
deepl: "deepl";
|
|
2141
|
-
google: "google";
|
|
2142
|
-
}>>;
|
|
2143
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
2144
|
-
saveTranslationsToTm: z.ZodOptional<z.ZodBoolean>;
|
|
2145
|
-
markVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2146
|
-
reviewLanguageType: z.ZodOptional<z.ZodEnum<{
|
|
2147
|
-
target: "target";
|
|
2148
|
-
source: "source";
|
|
2149
|
-
}>>;
|
|
2150
|
-
stepType: z.ZodLiteral<"translate_task_step">;
|
|
2151
|
-
taskType: z.ZodLiteral<"translation">;
|
|
2152
|
-
autoCloseItems: z.ZodBoolean;
|
|
2153
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2154
|
-
stepTitle: z.ZodString;
|
|
2155
|
-
translationEngine: z.ZodEnum<{
|
|
2156
|
-
ai: "ai";
|
|
2157
|
-
deepl: "deepl";
|
|
2158
|
-
google: "google";
|
|
2159
|
-
}>;
|
|
2160
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
2161
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
2162
|
-
tagKeysAfterClose: z.ZodDefault<z.ZodBoolean>;
|
|
2163
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2164
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2165
|
-
hasCustomTranslationStatuses: z.ZodDefault<z.ZodBoolean>;
|
|
2166
|
-
saveTranslationsToTm: z.ZodOptional<z.ZodBoolean>;
|
|
2167
|
-
markVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2168
|
-
stepType: z.ZodLiteral<"ai_mt_translation_step">;
|
|
2169
|
-
taskType: z.ZodLiteral<"translation">;
|
|
2170
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2171
|
-
stepTitle: z.ZodString;
|
|
2172
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
2173
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
2174
|
-
tagKeysAfterClose: z.ZodDefault<z.ZodBoolean>;
|
|
2175
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2176
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2177
|
-
hasCustomTranslationStatuses: z.ZodDefault<z.ZodBoolean>;
|
|
2178
|
-
saveTranslationsToTm: z.ZodOptional<z.ZodBoolean>;
|
|
2179
|
-
markVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2180
|
-
translationEngine: z.ZodEnum<{
|
|
2181
|
-
ai: "ai";
|
|
2182
|
-
}>;
|
|
2183
|
-
stepType: z.ZodLiteral<"ai_mt_translation_ai_scoring_step">;
|
|
2184
|
-
taskType: z.ZodLiteral<"translation">;
|
|
2185
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2186
|
-
stepTitle: z.ZodString;
|
|
2187
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
2188
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
2189
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
2190
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
2191
|
-
languageId: z.ZodNumber;
|
|
2192
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2193
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2194
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
2195
|
-
}, z.core.$strip>>;
|
|
2196
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
2197
|
-
autoCloseTask: z.ZodBoolean;
|
|
2198
|
-
lockTranslations: z.ZodBoolean;
|
|
2199
|
-
tagKeysAfterClose: z.ZodBoolean;
|
|
2200
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2201
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2202
|
-
hasCustomTranslationStatuses: z.ZodBoolean;
|
|
2203
|
-
translationEngine: z.ZodOptional<z.ZodEnum<{
|
|
2204
|
-
ai: "ai";
|
|
2205
|
-
deepl: "deepl";
|
|
2206
|
-
google: "google";
|
|
2207
|
-
}>>;
|
|
2208
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
2209
|
-
saveTranslationsToTm: z.ZodOptional<z.ZodBoolean>;
|
|
2210
|
-
markVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2211
|
-
reviewLanguageType: z.ZodOptional<z.ZodEnum<{
|
|
2212
|
-
target: "target";
|
|
2213
|
-
source: "source";
|
|
2214
|
-
}>>;
|
|
2215
|
-
stepType: z.ZodLiteral<"review_task_step">;
|
|
2216
|
-
taskType: z.ZodLiteral<"review">;
|
|
2217
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2218
|
-
stepTitle: z.ZodString;
|
|
2219
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
2220
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
2221
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
2222
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
2223
|
-
languageId: z.ZodNumber;
|
|
2224
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2225
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2226
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
2227
|
-
}, z.core.$strip>>;
|
|
2228
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
2229
|
-
autoCloseTask: z.ZodBoolean;
|
|
2230
|
-
lockTranslations: z.ZodBoolean;
|
|
2231
|
-
tagKeysAfterClose: z.ZodBoolean;
|
|
2232
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2233
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2234
|
-
hasCustomTranslationStatuses: z.ZodBoolean;
|
|
2235
|
-
translationEngine: z.ZodOptional<z.ZodEnum<{
|
|
2236
|
-
ai: "ai";
|
|
2237
|
-
deepl: "deepl";
|
|
2238
|
-
google: "google";
|
|
2239
|
-
}>>;
|
|
2240
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
2241
|
-
saveTranslationsToTm: z.ZodOptional<z.ZodBoolean>;
|
|
2242
|
-
markVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2243
|
-
reviewLanguageType: z.ZodEnum<{
|
|
2244
|
-
target: "target";
|
|
2245
|
-
}>;
|
|
2246
|
-
threshold: z.ZodNumber;
|
|
2247
|
-
stepType: z.ZodLiteral<"review_task_ai_scoring_step">;
|
|
2248
|
-
taskType: z.ZodLiteral<"review">;
|
|
2249
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2250
|
-
stepType: z.ZodLiteral<"end_step">;
|
|
2251
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2252
|
-
id: z.ZodLiteral<"TriggerStep">;
|
|
2253
|
-
values: z.ZodObject<{
|
|
2254
|
-
stepTitle: z.ZodString;
|
|
2255
|
-
scheduleFrequencyExpression: z.ZodString;
|
|
2256
|
-
scheduleStartingDate: z.ZodISODate;
|
|
2257
|
-
frequency: z.ZodOptional<z.ZodEnum<{
|
|
2258
|
-
hourly: "hourly";
|
|
2259
|
-
daily: "daily";
|
|
2260
|
-
weekly: "weekly";
|
|
2261
|
-
monthly: "monthly";
|
|
2262
|
-
}>>;
|
|
2263
|
-
repeatEvery: z.ZodOptional<z.ZodNumber>;
|
|
2264
|
-
time: z.ZodOptional<z.ZodISOTime>;
|
|
2265
|
-
timeFrom: z.ZodOptional<z.ZodISOTime>;
|
|
2266
|
-
timeTo: z.ZodOptional<z.ZodISOTime>;
|
|
2267
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
2268
|
-
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2269
|
-
mo: "mo";
|
|
2270
|
-
tu: "tu";
|
|
2271
|
-
we: "we";
|
|
2272
|
-
th: "th";
|
|
2273
|
-
fr: "fr";
|
|
2274
|
-
sa: "sa";
|
|
2275
|
-
su: "su";
|
|
2276
|
-
}>>>;
|
|
2277
|
-
monthDayPosition: z.ZodOptional<z.ZodEnum<{
|
|
2278
|
-
first: "first";
|
|
2279
|
-
current: "current";
|
|
2280
|
-
last: "last";
|
|
2281
|
-
}>>;
|
|
2282
|
-
monitoredLanguageId: z.ZodNumber;
|
|
2283
|
-
targetLanguageIds: z.ZodArray<z.ZodNumber>;
|
|
2284
|
-
monitoredKeyType: z.ZodEnum<{
|
|
2285
|
-
new: "new";
|
|
2286
|
-
updated: "updated";
|
|
2287
|
-
both: "both";
|
|
2288
|
-
}>;
|
|
2289
|
-
projectFilterId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2290
|
-
}, z.core.$strip>;
|
|
2291
|
-
type: z.ZodLiteral<"trigger_step">;
|
|
2292
|
-
triggerType: z.ZodLiteral<"Scheduled">;
|
|
2293
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2294
|
-
id: z.ZodString;
|
|
2295
|
-
values: z.ZodObject<{}, z.core.$strip>;
|
|
2296
|
-
type: z.ZodLiteral<"clear_translations_step">;
|
|
2297
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2298
|
-
id: z.ZodString;
|
|
2299
|
-
values: z.ZodObject<{
|
|
2300
|
-
stepTitle: z.ZodString;
|
|
2301
|
-
threshold: z.ZodNumber;
|
|
2302
|
-
}, z.core.$strip>;
|
|
2303
|
-
type: z.ZodLiteral<"apply_tm_step">;
|
|
2304
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2305
|
-
id: z.ZodString;
|
|
2306
|
-
values: z.ZodObject<{
|
|
2307
|
-
stepTitle: z.ZodString;
|
|
2308
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
2309
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
2310
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
2311
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
2312
|
-
languageId: z.ZodNumber;
|
|
2313
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2314
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2315
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
2316
|
-
}, z.core.$strip>>;
|
|
2317
|
-
autoCloseItems: z.ZodOptional<z.ZodBoolean>;
|
|
2318
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
2319
|
-
autoCloseTask: z.ZodBoolean;
|
|
2320
|
-
lockTranslations: z.ZodBoolean;
|
|
2321
|
-
tagKeysAfterClose: z.ZodBoolean;
|
|
2322
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2323
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2324
|
-
hasCustomTranslationStatuses: z.ZodBoolean;
|
|
2325
|
-
translationEngine: z.ZodOptional<z.ZodEnum<{
|
|
2326
|
-
ai: "ai";
|
|
2327
|
-
deepl: "deepl";
|
|
2328
|
-
google: "google";
|
|
2329
|
-
}>>;
|
|
2330
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
2331
|
-
saveTranslationsToTm: z.ZodOptional<z.ZodBoolean>;
|
|
2332
|
-
markVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2333
|
-
reviewLanguageType: z.ZodOptional<z.ZodEnum<{
|
|
2334
|
-
target: "target";
|
|
2335
|
-
source: "source";
|
|
2336
|
-
}>>;
|
|
2337
|
-
}, z.core.$strip>;
|
|
2338
|
-
type: z.ZodLiteral<"translate_task_step">;
|
|
2339
|
-
taskType: z.ZodLiteral<"translation">;
|
|
2340
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2341
|
-
id: z.ZodString;
|
|
2342
|
-
values: z.ZodObject<{
|
|
2343
|
-
stepTitle: z.ZodString;
|
|
2344
|
-
translationEngine: z.ZodEnum<{
|
|
2345
|
-
ai: "ai";
|
|
2346
|
-
deepl: "deepl";
|
|
2347
|
-
google: "google";
|
|
2348
|
-
}>;
|
|
2349
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
2350
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
2351
|
-
tagKeysAfterClose: z.ZodDefault<z.ZodBoolean>;
|
|
2352
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2353
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2354
|
-
hasCustomTranslationStatuses: z.ZodDefault<z.ZodBoolean>;
|
|
2355
|
-
saveTranslationsToTm: z.ZodOptional<z.ZodBoolean>;
|
|
2356
|
-
markVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2357
|
-
}, z.core.$strip>;
|
|
2358
|
-
type: z.ZodLiteral<"ai_mt_translation_step">;
|
|
2359
|
-
taskType: z.ZodLiteral<"translation">;
|
|
2360
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2361
|
-
id: z.ZodString;
|
|
2362
|
-
values: z.ZodObject<{
|
|
2363
|
-
stepTitle: z.ZodString;
|
|
2364
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
2365
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
2366
|
-
tagKeysAfterClose: z.ZodDefault<z.ZodBoolean>;
|
|
2367
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2368
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2369
|
-
hasCustomTranslationStatuses: z.ZodDefault<z.ZodBoolean>;
|
|
2370
|
-
saveTranslationsToTm: z.ZodOptional<z.ZodBoolean>;
|
|
2371
|
-
markVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2372
|
-
translationEngine: z.ZodEnum<{
|
|
2373
|
-
ai: "ai";
|
|
2374
|
-
}>;
|
|
2375
|
-
}, z.core.$strip>;
|
|
2376
|
-
type: z.ZodLiteral<"ai_mt_translation_ai_scoring_step">;
|
|
2377
|
-
taskType: z.ZodLiteral<"translation">;
|
|
2378
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2379
|
-
id: z.ZodString;
|
|
2380
|
-
values: z.ZodObject<{
|
|
2381
|
-
stepTitle: z.ZodString;
|
|
2382
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
2383
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
2384
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
2385
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
2386
|
-
languageId: z.ZodNumber;
|
|
2387
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2388
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2389
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
2390
|
-
}, z.core.$strip>>;
|
|
2391
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
2392
|
-
autoCloseTask: z.ZodBoolean;
|
|
2393
|
-
lockTranslations: z.ZodBoolean;
|
|
2394
|
-
tagKeysAfterClose: z.ZodBoolean;
|
|
2395
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2396
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2397
|
-
hasCustomTranslationStatuses: z.ZodBoolean;
|
|
2398
|
-
translationEngine: z.ZodOptional<z.ZodEnum<{
|
|
2399
|
-
ai: "ai";
|
|
2400
|
-
deepl: "deepl";
|
|
2401
|
-
google: "google";
|
|
2402
|
-
}>>;
|
|
2403
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
2404
|
-
saveTranslationsToTm: z.ZodOptional<z.ZodBoolean>;
|
|
2405
|
-
markVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2406
|
-
reviewLanguageType: z.ZodOptional<z.ZodEnum<{
|
|
2407
|
-
target: "target";
|
|
2408
|
-
source: "source";
|
|
2409
|
-
}>>;
|
|
2410
|
-
}, z.core.$strip>;
|
|
2411
|
-
type: z.ZodLiteral<"review_task_step">;
|
|
2412
|
-
taskType: z.ZodLiteral<"review">;
|
|
2413
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2414
|
-
id: z.ZodString;
|
|
2415
|
-
values: z.ZodObject<{
|
|
2416
|
-
stepTitle: z.ZodString;
|
|
2417
|
-
taskTitle: z.ZodOptional<z.ZodString>;
|
|
2418
|
-
taskDescription: z.ZodOptional<z.ZodString>;
|
|
2419
|
-
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
2420
|
-
languageAssignees: z.ZodArray<z.ZodObject<{
|
|
2421
|
-
languageId: z.ZodNumber;
|
|
2422
|
-
userIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2423
|
-
userGroupIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2424
|
-
isSource: z.ZodDefault<z.ZodBoolean>;
|
|
2425
|
-
}, z.core.$strip>>;
|
|
2426
|
-
autoCloseLanguages: z.ZodBoolean;
|
|
2427
|
-
autoCloseTask: z.ZodBoolean;
|
|
2428
|
-
lockTranslations: z.ZodBoolean;
|
|
2429
|
-
tagKeysAfterClose: z.ZodBoolean;
|
|
2430
|
-
tagsToAddAfterClose: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2431
|
-
customTranslationStatusIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2432
|
-
hasCustomTranslationStatuses: z.ZodBoolean;
|
|
2433
|
-
translationEngine: z.ZodOptional<z.ZodEnum<{
|
|
2434
|
-
ai: "ai";
|
|
2435
|
-
deepl: "deepl";
|
|
2436
|
-
google: "google";
|
|
2437
|
-
}>>;
|
|
2438
|
-
aiInstructions: z.ZodOptional<z.ZodString>;
|
|
2439
|
-
saveTranslationsToTm: z.ZodOptional<z.ZodBoolean>;
|
|
2440
|
-
markVerified: z.ZodOptional<z.ZodBoolean>;
|
|
2441
|
-
reviewLanguageType: z.ZodEnum<{
|
|
2442
|
-
target: "target";
|
|
2443
|
-
}>;
|
|
2444
|
-
threshold: z.ZodNumber;
|
|
2445
|
-
}, z.core.$strip>;
|
|
2446
|
-
type: z.ZodLiteral<"review_task_ai_scoring_step">;
|
|
2447
|
-
taskType: z.ZodLiteral<"review">;
|
|
2448
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2449
|
-
id: z.ZodLiteral<"EndStep">;
|
|
2450
|
-
values: z.ZodObject<{}, z.core.$strip>;
|
|
2451
|
-
type: z.ZodLiteral<"end_step">;
|
|
2452
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2453
|
-
id: z.ZodLiteral<"TriggerStep">;
|
|
2454
|
-
type: z.ZodLiteral<"trigger_step">;
|
|
2455
|
-
triggerType: z.ZodLiteral<"Scheduled">;
|
|
2456
|
-
values: z.ZodObject<{}, z.core.$loose>;
|
|
2457
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2458
|
-
id: z.ZodString;
|
|
2459
|
-
values: z.ZodObject<{}, z.core.$strip>;
|
|
2460
|
-
type: z.ZodLiteral<"clear_translations_step">;
|
|
2461
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2462
|
-
id: z.ZodString;
|
|
2463
|
-
type: z.ZodLiteral<"apply_tm_step">;
|
|
2464
|
-
values: z.ZodObject<{
|
|
2465
|
-
stepTitle: z.ZodOptional<z.ZodString>;
|
|
2466
|
-
threshold: z.ZodOptional<z.ZodNumber>;
|
|
2467
|
-
}, z.core.$strip>;
|
|
2468
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2469
|
-
id: z.ZodString;
|
|
2470
|
-
type: z.ZodLiteral<"translate_task_step">;
|
|
2471
|
-
taskType: z.ZodLiteral<"translation">;
|
|
2472
|
-
values: z.ZodObject<{}, z.core.$loose>;
|
|
2473
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2474
|
-
id: z.ZodString;
|
|
2475
|
-
type: z.ZodLiteral<"ai_mt_translation_step">;
|
|
2476
|
-
taskType: z.ZodLiteral<"translation">;
|
|
2477
|
-
values: z.ZodObject<{}, z.core.$loose>;
|
|
2478
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2479
|
-
id: z.ZodString;
|
|
2480
|
-
type: z.ZodLiteral<"ai_mt_translation_ai_scoring_step">;
|
|
2481
|
-
taskType: z.ZodLiteral<"translation">;
|
|
2482
|
-
values: z.ZodObject<{}, z.core.$loose>;
|
|
2483
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2484
|
-
id: z.ZodString;
|
|
2485
|
-
type: z.ZodLiteral<"review_task_step">;
|
|
2486
|
-
taskType: z.ZodLiteral<"review">;
|
|
2487
|
-
values: z.ZodObject<{}, z.core.$loose>;
|
|
2488
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2489
|
-
id: z.ZodString;
|
|
2490
|
-
type: z.ZodLiteral<"review_task_ai_scoring_step">;
|
|
2491
|
-
taskType: z.ZodLiteral<"review">;
|
|
2492
|
-
values: z.ZodObject<{}, z.core.$loose>;
|
|
2493
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
2494
|
-
id: z.ZodLiteral<"EndStep">;
|
|
2495
|
-
values: z.ZodObject<{}, z.core.$strip>;
|
|
2496
|
-
type: z.ZodLiteral<"end_step">;
|
|
2497
|
-
}, z.core.$strip>, ({
|
|
2498
|
-
[x: string]: unknown;
|
|
2499
|
-
stepType: string;
|
|
2500
|
-
} & Partial<{
|
|
2501
|
-
stepTitle: string;
|
|
2502
|
-
scheduleFrequencyExpression: string;
|
|
2503
|
-
scheduleStartingDate: string;
|
|
2504
|
-
monitoredLanguageId: number;
|
|
2505
|
-
targetLanguageIds: number[];
|
|
2506
|
-
monitoredKeyType: "new" | "updated" | "both";
|
|
2507
|
-
stepType: "trigger_step";
|
|
2508
|
-
triggerType: "Scheduled";
|
|
2509
|
-
frequency?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
|
|
2510
|
-
repeatEvery?: number | undefined;
|
|
2511
|
-
time?: string | undefined;
|
|
2512
|
-
timeFrom?: string | undefined;
|
|
2513
|
-
timeTo?: string | undefined;
|
|
2514
|
-
timezone?: string | undefined;
|
|
2515
|
-
weekdays?: ("mo" | "tu" | "we" | "th" | "fr" | "sa" | "su")[] | undefined;
|
|
2516
|
-
monthDayPosition?: "first" | "current" | "last" | undefined;
|
|
2517
|
-
projectFilterId?: string | null | undefined;
|
|
2518
|
-
}>) | ({
|
|
2519
|
-
[x: string]: unknown;
|
|
2520
|
-
stepType: string;
|
|
2521
|
-
} & Partial<{
|
|
2522
|
-
stepType: "clear_translations_step";
|
|
2523
|
-
}>) | ({
|
|
2524
|
-
[x: string]: unknown;
|
|
2525
|
-
stepType: string;
|
|
2526
|
-
} & Partial<{
|
|
2527
|
-
stepTitle: string;
|
|
2528
|
-
threshold: number;
|
|
2529
|
-
stepType: "apply_tm_step";
|
|
2530
|
-
}>) | ({
|
|
2531
|
-
[x: string]: unknown;
|
|
2532
|
-
stepType: string;
|
|
2533
|
-
} & Partial<{
|
|
2534
|
-
stepTitle: string;
|
|
2535
|
-
languageAssignees: {
|
|
2536
|
-
languageId: number;
|
|
2537
|
-
isSource: boolean;
|
|
2538
|
-
userIds?: number[] | undefined;
|
|
2539
|
-
userGroupIds?: number[] | undefined;
|
|
2540
|
-
}[];
|
|
2541
|
-
autoCloseLanguages: boolean;
|
|
2542
|
-
autoCloseTask: boolean;
|
|
2543
|
-
lockTranslations: boolean;
|
|
2544
|
-
tagKeysAfterClose: boolean;
|
|
2545
|
-
hasCustomTranslationStatuses: boolean;
|
|
2546
|
-
stepType: "translate_task_step";
|
|
2547
|
-
taskType: "translation";
|
|
2548
|
-
autoCloseItems: boolean;
|
|
2549
|
-
taskTitle?: string | undefined;
|
|
2550
|
-
taskDescription?: string | undefined;
|
|
2551
|
-
dueDate?: number | undefined;
|
|
2552
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
2553
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
2554
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
2555
|
-
aiInstructions?: string | undefined;
|
|
2556
|
-
saveTranslationsToTm?: boolean | undefined;
|
|
2557
|
-
markVerified?: boolean | undefined;
|
|
2558
|
-
reviewLanguageType?: "target" | "source" | undefined;
|
|
2559
|
-
}>) | ({
|
|
2560
|
-
[x: string]: unknown;
|
|
2561
|
-
stepType: string;
|
|
2562
|
-
} & Partial<{
|
|
2563
|
-
stepTitle: string;
|
|
2564
|
-
translationEngine: "ai" | "deepl" | "google";
|
|
2565
|
-
tagKeysAfterClose: boolean;
|
|
2566
|
-
hasCustomTranslationStatuses: boolean;
|
|
2567
|
-
stepType: "ai_mt_translation_step";
|
|
2568
|
-
taskType: "translation";
|
|
2569
|
-
taskTitle?: string | undefined;
|
|
2570
|
-
aiInstructions?: string | undefined;
|
|
2571
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
2572
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
2573
|
-
saveTranslationsToTm?: boolean | undefined;
|
|
2574
|
-
markVerified?: boolean | undefined;
|
|
2575
|
-
}>) | ({
|
|
2576
|
-
[x: string]: unknown;
|
|
2577
|
-
stepType: string;
|
|
2578
|
-
} & Partial<{
|
|
2579
|
-
stepTitle: string;
|
|
2580
|
-
tagKeysAfterClose: boolean;
|
|
2581
|
-
hasCustomTranslationStatuses: boolean;
|
|
2582
|
-
translationEngine: "ai";
|
|
2583
|
-
stepType: "ai_mt_translation_ai_scoring_step";
|
|
2584
|
-
taskType: "translation";
|
|
2585
|
-
taskTitle?: string | undefined;
|
|
2586
|
-
aiInstructions?: string | undefined;
|
|
2587
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
2588
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
2589
|
-
saveTranslationsToTm?: boolean | undefined;
|
|
2590
|
-
markVerified?: boolean | undefined;
|
|
2591
|
-
}>) | ({
|
|
2592
|
-
[x: string]: unknown;
|
|
2593
|
-
stepType: string;
|
|
2594
|
-
} & Partial<{
|
|
2595
|
-
stepTitle: string;
|
|
2596
|
-
languageAssignees: {
|
|
2597
|
-
languageId: number;
|
|
2598
|
-
isSource: boolean;
|
|
2599
|
-
userIds?: number[] | undefined;
|
|
2600
|
-
userGroupIds?: number[] | undefined;
|
|
2601
|
-
}[];
|
|
2602
|
-
autoCloseLanguages: boolean;
|
|
2603
|
-
autoCloseTask: boolean;
|
|
2604
|
-
lockTranslations: boolean;
|
|
2605
|
-
tagKeysAfterClose: boolean;
|
|
2606
|
-
hasCustomTranslationStatuses: boolean;
|
|
2607
|
-
stepType: "review_task_step";
|
|
2608
|
-
taskType: "review";
|
|
2609
|
-
taskTitle?: string | undefined;
|
|
2610
|
-
taskDescription?: string | undefined;
|
|
2611
|
-
dueDate?: number | undefined;
|
|
2612
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
2613
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
2614
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
2615
|
-
aiInstructions?: string | undefined;
|
|
2616
|
-
saveTranslationsToTm?: boolean | undefined;
|
|
2617
|
-
markVerified?: boolean | undefined;
|
|
2618
|
-
reviewLanguageType?: "target" | "source" | undefined;
|
|
2619
|
-
}>) | ({
|
|
2620
|
-
[x: string]: unknown;
|
|
2621
|
-
stepType: string;
|
|
2622
|
-
} & Partial<{
|
|
2623
|
-
stepTitle: string;
|
|
2624
|
-
languageAssignees: {
|
|
2625
|
-
languageId: number;
|
|
2626
|
-
isSource: boolean;
|
|
2627
|
-
userIds?: number[] | undefined;
|
|
2628
|
-
userGroupIds?: number[] | undefined;
|
|
2629
|
-
}[];
|
|
2630
|
-
autoCloseLanguages: boolean;
|
|
2631
|
-
autoCloseTask: boolean;
|
|
2632
|
-
lockTranslations: boolean;
|
|
2633
|
-
tagKeysAfterClose: boolean;
|
|
2634
|
-
hasCustomTranslationStatuses: boolean;
|
|
2635
|
-
reviewLanguageType: "target";
|
|
2636
|
-
threshold: number;
|
|
2637
|
-
stepType: "review_task_ai_scoring_step";
|
|
2638
|
-
taskType: "review";
|
|
2639
|
-
taskTitle?: string | undefined;
|
|
2640
|
-
taskDescription?: string | undefined;
|
|
2641
|
-
dueDate?: number | undefined;
|
|
2642
|
-
tagsToAddAfterClose?: string[] | undefined;
|
|
2643
|
-
customTranslationStatusIds?: number[] | undefined;
|
|
2644
|
-
translationEngine?: "ai" | "deepl" | "google" | undefined;
|
|
2645
|
-
aiInstructions?: string | undefined;
|
|
2646
|
-
saveTranslationsToTm?: boolean | undefined;
|
|
2647
|
-
markVerified?: boolean | undefined;
|
|
2648
|
-
}>) | ({
|
|
2649
|
-
[x: string]: unknown;
|
|
2650
|
-
stepType: string;
|
|
2651
|
-
} & Partial<{
|
|
2652
|
-
stepType: "end_step";
|
|
2653
|
-
}>), CommonStepToLayout> & {
|
|
2654
|
-
id: string;
|
|
2655
|
-
})[];
|
|
2656
|
-
export declare const buildStepDto: (stepType: StepType, values?: DraftWorkflowStepDto["values"], rebrandedValues?: boolean) => {
|
|
1915
|
+
export declare const buildStepDto: (stepType: StepType, values?: DraftWorkflowStepDto["values"]) => {
|
|
2657
1916
|
id: "TriggerStep";
|
|
2658
1917
|
type: "trigger_step";
|
|
2659
1918
|
triggerType: "Scheduled";
|