@lokalise/maestro-expert-tenant-lib 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -8560,322 +8560,70 @@ declare const SCHEDULED_TRIGGER_STEP_SETTINGS_SCHEMA: z$1.ZodObject<z$1.objectUt
8560
8560
  type ScheduledTriggerStepSettings = z$1.infer<typeof SCHEDULED_TRIGGER_STEP_SETTINGS_SCHEMA>;
8561
8561
  declare const DEFAULT_SCHEDULED_TRIGGER_STEP_SETTINGS: WorkflowLayoutStepSettings & Partial<ScheduledTriggerStepSettings>;
8562
8562
 
8563
- declare const AI_MT_TRANSLATION_STEP_FORM_SCHEMA: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObject<z$1.objectUtil.extendShape<Omit<z$1.objectUtil.extendShape<{
8564
- stepType: z$1.ZodString;
8565
- }, {
8566
- stepType: z$1.ZodEnum<["translate_task_step", "review_task_step"]>;
8563
+ declare const AI_MT_TRANSLATION_STEP_FORM_SCHEMA: z$1.ZodEffects<z$1.ZodEffects<z$1.ZodObject<{
8567
8564
  stepTitle: z$1.ZodString;
8568
- taskType: z$1.ZodEnum<["translation", "review"]>;
8569
- taskTitle: z$1.ZodOptional<z$1.ZodString>;
8570
- taskDescription: z$1.ZodOptional<z$1.ZodString>;
8571
- dueDate: z$1.ZodOptional<z$1.ZodNumber>;
8572
- languageAssignees: z$1.ZodArray<z$1.ZodEffects<z$1.ZodObject<{
8573
- languageId: z$1.ZodNumber;
8574
- userIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8575
- userGroupIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8576
- }, "strip", z$1.ZodTypeAny, {
8577
- languageId: number;
8578
- userIds?: number[] | undefined;
8579
- userGroupIds?: number[] | undefined;
8580
- }, {
8581
- languageId: number;
8582
- userIds?: number[] | undefined;
8583
- userGroupIds?: number[] | undefined;
8584
- }>, {
8585
- languageId: number;
8586
- userIds?: number[] | undefined;
8587
- userGroupIds?: number[] | undefined;
8588
- }, {
8589
- languageId: number;
8590
- userIds?: number[] | undefined;
8591
- userGroupIds?: number[] | undefined;
8592
- }>, "many">;
8593
- autoCloseItems: z$1.ZodOptional<z$1.ZodBoolean>;
8594
- autoCloseLanguages: z$1.ZodBoolean;
8595
- autoCloseTask: z$1.ZodBoolean;
8596
- lockTranslations: z$1.ZodBoolean;
8597
- hasCustomTranslationStatuses: z$1.ZodDefault<z$1.ZodBoolean>;
8598
- customTranslationStatusIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8599
- tagKeysAfterClose: z$1.ZodDefault<z$1.ZodBoolean>;
8600
- tagsToAddAfterClose: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
8601
- }>, "stepType" | "taskType">, {
8602
- translationEngine: z$1.ZodString;
8603
- taskTitle: z$1.ZodOptional<z$1.ZodString>;
8604
- aiInstructions: z$1.ZodOptional<z$1.ZodString>;
8605
- tagKeysAfterClose: z$1.ZodBoolean;
8606
- tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
8607
- customTranslationStatusIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8608
- }>, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<z$1.objectUtil.extendShape<Omit<z$1.objectUtil.extendShape<{
8609
- stepType: z$1.ZodString;
8610
- }, {
8611
- stepType: z$1.ZodEnum<["translate_task_step", "review_task_step"]>;
8612
- stepTitle: z$1.ZodString;
8613
- taskType: z$1.ZodEnum<["translation", "review"]>;
8614
- taskTitle: z$1.ZodOptional<z$1.ZodString>;
8615
- taskDescription: z$1.ZodOptional<z$1.ZodString>;
8616
- dueDate: z$1.ZodOptional<z$1.ZodNumber>;
8617
- languageAssignees: z$1.ZodArray<z$1.ZodEffects<z$1.ZodObject<{
8618
- languageId: z$1.ZodNumber;
8619
- userIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8620
- userGroupIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8621
- }, "strip", z$1.ZodTypeAny, {
8622
- languageId: number;
8623
- userIds?: number[] | undefined;
8624
- userGroupIds?: number[] | undefined;
8625
- }, {
8626
- languageId: number;
8627
- userIds?: number[] | undefined;
8628
- userGroupIds?: number[] | undefined;
8629
- }>, {
8630
- languageId: number;
8631
- userIds?: number[] | undefined;
8632
- userGroupIds?: number[] | undefined;
8633
- }, {
8634
- languageId: number;
8635
- userIds?: number[] | undefined;
8636
- userGroupIds?: number[] | undefined;
8637
- }>, "many">;
8638
- autoCloseItems: z$1.ZodOptional<z$1.ZodBoolean>;
8639
- autoCloseLanguages: z$1.ZodBoolean;
8640
- autoCloseTask: z$1.ZodBoolean;
8641
- lockTranslations: z$1.ZodBoolean;
8642
- hasCustomTranslationStatuses: z$1.ZodDefault<z$1.ZodBoolean>;
8643
- customTranslationStatusIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8644
- tagKeysAfterClose: z$1.ZodDefault<z$1.ZodBoolean>;
8645
- tagsToAddAfterClose: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
8646
- }>, "stepType" | "taskType">, {
8647
- translationEngine: z$1.ZodString;
8648
- taskTitle: z$1.ZodOptional<z$1.ZodString>;
8649
- aiInstructions: z$1.ZodOptional<z$1.ZodString>;
8650
- tagKeysAfterClose: z$1.ZodBoolean;
8651
- tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
8652
- customTranslationStatusIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8653
- }>, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<z$1.objectUtil.extendShape<Omit<z$1.objectUtil.extendShape<{
8654
- stepType: z$1.ZodString;
8655
- }, {
8656
- stepType: z$1.ZodEnum<["translate_task_step", "review_task_step"]>;
8657
- stepTitle: z$1.ZodString;
8658
- taskType: z$1.ZodEnum<["translation", "review"]>;
8659
- taskTitle: z$1.ZodOptional<z$1.ZodString>;
8660
- taskDescription: z$1.ZodOptional<z$1.ZodString>;
8661
- dueDate: z$1.ZodOptional<z$1.ZodNumber>;
8662
- languageAssignees: z$1.ZodArray<z$1.ZodEffects<z$1.ZodObject<{
8663
- languageId: z$1.ZodNumber;
8664
- userIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8665
- userGroupIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8666
- }, "strip", z$1.ZodTypeAny, {
8667
- languageId: number;
8668
- userIds?: number[] | undefined;
8669
- userGroupIds?: number[] | undefined;
8670
- }, {
8671
- languageId: number;
8672
- userIds?: number[] | undefined;
8673
- userGroupIds?: number[] | undefined;
8674
- }>, {
8675
- languageId: number;
8676
- userIds?: number[] | undefined;
8677
- userGroupIds?: number[] | undefined;
8678
- }, {
8679
- languageId: number;
8680
- userIds?: number[] | undefined;
8681
- userGroupIds?: number[] | undefined;
8682
- }>, "many">;
8683
- autoCloseItems: z$1.ZodOptional<z$1.ZodBoolean>;
8684
- autoCloseLanguages: z$1.ZodBoolean;
8685
- autoCloseTask: z$1.ZodBoolean;
8686
- lockTranslations: z$1.ZodBoolean;
8687
- hasCustomTranslationStatuses: z$1.ZodDefault<z$1.ZodBoolean>;
8688
- customTranslationStatusIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8689
- tagKeysAfterClose: z$1.ZodDefault<z$1.ZodBoolean>;
8690
- tagsToAddAfterClose: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
8691
- }>, "stepType" | "taskType">, {
8692
- translationEngine: z$1.ZodString;
8693
- taskTitle: z$1.ZodOptional<z$1.ZodString>;
8694
- aiInstructions: z$1.ZodOptional<z$1.ZodString>;
8695
- tagKeysAfterClose: z$1.ZodBoolean;
8696
- tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
8697
- customTranslationStatusIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8698
- }>, z$1.ZodTypeAny, "passthrough">>, z$1.objectOutputType<z$1.objectUtil.extendShape<Omit<z$1.objectUtil.extendShape<{
8699
- stepType: z$1.ZodString;
8700
- }, {
8701
- stepType: z$1.ZodEnum<["translate_task_step", "review_task_step"]>;
8702
- stepTitle: z$1.ZodString;
8703
- taskType: z$1.ZodEnum<["translation", "review"]>;
8704
- taskTitle: z$1.ZodOptional<z$1.ZodString>;
8705
- taskDescription: z$1.ZodOptional<z$1.ZodString>;
8706
- dueDate: z$1.ZodOptional<z$1.ZodNumber>;
8707
- languageAssignees: z$1.ZodArray<z$1.ZodEffects<z$1.ZodObject<{
8708
- languageId: z$1.ZodNumber;
8709
- userIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8710
- userGroupIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8711
- }, "strip", z$1.ZodTypeAny, {
8712
- languageId: number;
8713
- userIds?: number[] | undefined;
8714
- userGroupIds?: number[] | undefined;
8715
- }, {
8716
- languageId: number;
8717
- userIds?: number[] | undefined;
8718
- userGroupIds?: number[] | undefined;
8719
- }>, {
8720
- languageId: number;
8721
- userIds?: number[] | undefined;
8722
- userGroupIds?: number[] | undefined;
8723
- }, {
8724
- languageId: number;
8725
- userIds?: number[] | undefined;
8726
- userGroupIds?: number[] | undefined;
8727
- }>, "many">;
8728
- autoCloseItems: z$1.ZodOptional<z$1.ZodBoolean>;
8729
- autoCloseLanguages: z$1.ZodBoolean;
8730
- autoCloseTask: z$1.ZodBoolean;
8731
- lockTranslations: z$1.ZodBoolean;
8732
- hasCustomTranslationStatuses: z$1.ZodDefault<z$1.ZodBoolean>;
8733
- customTranslationStatusIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8734
- tagKeysAfterClose: z$1.ZodDefault<z$1.ZodBoolean>;
8735
- tagsToAddAfterClose: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
8736
- }>, "stepType" | "taskType">, {
8737
8565
  translationEngine: z$1.ZodString;
8738
8566
  taskTitle: z$1.ZodOptional<z$1.ZodString>;
8739
8567
  aiInstructions: z$1.ZodOptional<z$1.ZodString>;
8740
8568
  tagKeysAfterClose: z$1.ZodBoolean;
8741
8569
  tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
8742
8570
  customTranslationStatusIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8743
- }>, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<z$1.objectUtil.extendShape<Omit<z$1.objectUtil.extendShape<{
8744
- stepType: z$1.ZodString;
8571
+ hasCustomTranslationStatuses: z$1.ZodBoolean;
8572
+ }, "strip", z$1.ZodTypeAny, {
8573
+ stepTitle: string;
8574
+ hasCustomTranslationStatuses: boolean;
8575
+ tagKeysAfterClose: boolean;
8576
+ translationEngine: string;
8577
+ taskTitle?: string | undefined;
8578
+ customTranslationStatusIds?: number[] | undefined;
8579
+ aiInstructions?: string | undefined;
8580
+ tags?: string[] | undefined;
8745
8581
  }, {
8746
- stepType: z$1.ZodEnum<["translate_task_step", "review_task_step"]>;
8747
- stepTitle: z$1.ZodString;
8748
- taskType: z$1.ZodEnum<["translation", "review"]>;
8749
- taskTitle: z$1.ZodOptional<z$1.ZodString>;
8750
- taskDescription: z$1.ZodOptional<z$1.ZodString>;
8751
- dueDate: z$1.ZodOptional<z$1.ZodNumber>;
8752
- languageAssignees: z$1.ZodArray<z$1.ZodEffects<z$1.ZodObject<{
8753
- languageId: z$1.ZodNumber;
8754
- userIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8755
- userGroupIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8756
- }, "strip", z$1.ZodTypeAny, {
8757
- languageId: number;
8758
- userIds?: number[] | undefined;
8759
- userGroupIds?: number[] | undefined;
8760
- }, {
8761
- languageId: number;
8762
- userIds?: number[] | undefined;
8763
- userGroupIds?: number[] | undefined;
8764
- }>, {
8765
- languageId: number;
8766
- userIds?: number[] | undefined;
8767
- userGroupIds?: number[] | undefined;
8768
- }, {
8769
- languageId: number;
8770
- userIds?: number[] | undefined;
8771
- userGroupIds?: number[] | undefined;
8772
- }>, "many">;
8773
- autoCloseItems: z$1.ZodOptional<z$1.ZodBoolean>;
8774
- autoCloseLanguages: z$1.ZodBoolean;
8775
- autoCloseTask: z$1.ZodBoolean;
8776
- lockTranslations: z$1.ZodBoolean;
8777
- hasCustomTranslationStatuses: z$1.ZodDefault<z$1.ZodBoolean>;
8778
- customTranslationStatusIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8779
- tagKeysAfterClose: z$1.ZodDefault<z$1.ZodBoolean>;
8780
- tagsToAddAfterClose: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
8781
- }>, "stepType" | "taskType">, {
8782
- translationEngine: z$1.ZodString;
8783
- taskTitle: z$1.ZodOptional<z$1.ZodString>;
8784
- aiInstructions: z$1.ZodOptional<z$1.ZodString>;
8785
- tagKeysAfterClose: z$1.ZodBoolean;
8786
- tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
8787
- customTranslationStatusIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8788
- }>, z$1.ZodTypeAny, "passthrough">>, z$1.objectOutputType<z$1.objectUtil.extendShape<Omit<z$1.objectUtil.extendShape<{
8789
- stepType: z$1.ZodString;
8582
+ stepTitle: string;
8583
+ hasCustomTranslationStatuses: boolean;
8584
+ tagKeysAfterClose: boolean;
8585
+ translationEngine: string;
8586
+ taskTitle?: string | undefined;
8587
+ customTranslationStatusIds?: number[] | undefined;
8588
+ aiInstructions?: string | undefined;
8589
+ tags?: string[] | undefined;
8590
+ }>, {
8591
+ stepTitle: string;
8592
+ hasCustomTranslationStatuses: boolean;
8593
+ tagKeysAfterClose: boolean;
8594
+ translationEngine: string;
8595
+ taskTitle?: string | undefined;
8596
+ customTranslationStatusIds?: number[] | undefined;
8597
+ aiInstructions?: string | undefined;
8598
+ tags?: string[] | undefined;
8790
8599
  }, {
8791
- stepType: z$1.ZodEnum<["translate_task_step", "review_task_step"]>;
8792
- stepTitle: z$1.ZodString;
8793
- taskType: z$1.ZodEnum<["translation", "review"]>;
8794
- taskTitle: z$1.ZodOptional<z$1.ZodString>;
8795
- taskDescription: z$1.ZodOptional<z$1.ZodString>;
8796
- dueDate: z$1.ZodOptional<z$1.ZodNumber>;
8797
- languageAssignees: z$1.ZodArray<z$1.ZodEffects<z$1.ZodObject<{
8798
- languageId: z$1.ZodNumber;
8799
- userIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8800
- userGroupIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8801
- }, "strip", z$1.ZodTypeAny, {
8802
- languageId: number;
8803
- userIds?: number[] | undefined;
8804
- userGroupIds?: number[] | undefined;
8805
- }, {
8806
- languageId: number;
8807
- userIds?: number[] | undefined;
8808
- userGroupIds?: number[] | undefined;
8809
- }>, {
8810
- languageId: number;
8811
- userIds?: number[] | undefined;
8812
- userGroupIds?: number[] | undefined;
8813
- }, {
8814
- languageId: number;
8815
- userIds?: number[] | undefined;
8816
- userGroupIds?: number[] | undefined;
8817
- }>, "many">;
8818
- autoCloseItems: z$1.ZodOptional<z$1.ZodBoolean>;
8819
- autoCloseLanguages: z$1.ZodBoolean;
8820
- autoCloseTask: z$1.ZodBoolean;
8821
- lockTranslations: z$1.ZodBoolean;
8822
- hasCustomTranslationStatuses: z$1.ZodDefault<z$1.ZodBoolean>;
8823
- customTranslationStatusIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8824
- tagKeysAfterClose: z$1.ZodDefault<z$1.ZodBoolean>;
8825
- tagsToAddAfterClose: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
8826
- }>, "stepType" | "taskType">, {
8827
- translationEngine: z$1.ZodString;
8828
- taskTitle: z$1.ZodOptional<z$1.ZodString>;
8829
- aiInstructions: z$1.ZodOptional<z$1.ZodString>;
8830
- tagKeysAfterClose: z$1.ZodBoolean;
8831
- tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
8832
- customTranslationStatusIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8833
- }>, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<z$1.objectUtil.extendShape<Omit<z$1.objectUtil.extendShape<{
8834
- stepType: z$1.ZodString;
8600
+ stepTitle: string;
8601
+ hasCustomTranslationStatuses: boolean;
8602
+ tagKeysAfterClose: boolean;
8603
+ translationEngine: string;
8604
+ taskTitle?: string | undefined;
8605
+ customTranslationStatusIds?: number[] | undefined;
8606
+ aiInstructions?: string | undefined;
8607
+ tags?: string[] | undefined;
8608
+ }>, {
8609
+ stepTitle: string;
8610
+ hasCustomTranslationStatuses: boolean;
8611
+ tagKeysAfterClose: boolean;
8612
+ translationEngine: string;
8613
+ taskTitle?: string | undefined;
8614
+ customTranslationStatusIds?: number[] | undefined;
8615
+ aiInstructions?: string | undefined;
8616
+ tags?: string[] | undefined;
8835
8617
  }, {
8836
- stepType: z$1.ZodEnum<["translate_task_step", "review_task_step"]>;
8837
- stepTitle: z$1.ZodString;
8838
- taskType: z$1.ZodEnum<["translation", "review"]>;
8839
- taskTitle: z$1.ZodOptional<z$1.ZodString>;
8840
- taskDescription: z$1.ZodOptional<z$1.ZodString>;
8841
- dueDate: z$1.ZodOptional<z$1.ZodNumber>;
8842
- languageAssignees: z$1.ZodArray<z$1.ZodEffects<z$1.ZodObject<{
8843
- languageId: z$1.ZodNumber;
8844
- userIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8845
- userGroupIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8846
- }, "strip", z$1.ZodTypeAny, {
8847
- languageId: number;
8848
- userIds?: number[] | undefined;
8849
- userGroupIds?: number[] | undefined;
8850
- }, {
8851
- languageId: number;
8852
- userIds?: number[] | undefined;
8853
- userGroupIds?: number[] | undefined;
8854
- }>, {
8855
- languageId: number;
8856
- userIds?: number[] | undefined;
8857
- userGroupIds?: number[] | undefined;
8858
- }, {
8859
- languageId: number;
8860
- userIds?: number[] | undefined;
8861
- userGroupIds?: number[] | undefined;
8862
- }>, "many">;
8863
- autoCloseItems: z$1.ZodOptional<z$1.ZodBoolean>;
8864
- autoCloseLanguages: z$1.ZodBoolean;
8865
- autoCloseTask: z$1.ZodBoolean;
8866
- lockTranslations: z$1.ZodBoolean;
8867
- hasCustomTranslationStatuses: z$1.ZodDefault<z$1.ZodBoolean>;
8868
- customTranslationStatusIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8869
- tagKeysAfterClose: z$1.ZodDefault<z$1.ZodBoolean>;
8870
- tagsToAddAfterClose: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
8871
- }>, "stepType" | "taskType">, {
8872
- translationEngine: z$1.ZodString;
8873
- taskTitle: z$1.ZodOptional<z$1.ZodString>;
8874
- aiInstructions: z$1.ZodOptional<z$1.ZodString>;
8875
- tagKeysAfterClose: z$1.ZodBoolean;
8876
- tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
8877
- customTranslationStatusIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodNumber, "many">>;
8878
- }>, z$1.ZodTypeAny, "passthrough">>;
8618
+ stepTitle: string;
8619
+ hasCustomTranslationStatuses: boolean;
8620
+ tagKeysAfterClose: boolean;
8621
+ translationEngine: string;
8622
+ taskTitle?: string | undefined;
8623
+ customTranslationStatusIds?: number[] | undefined;
8624
+ aiInstructions?: string | undefined;
8625
+ tags?: string[] | undefined;
8626
+ }>;
8879
8627
  type AiMtTranslationStepForm = z$1.infer<typeof AI_MT_TRANSLATION_STEP_FORM_SCHEMA>;
8880
8628
  declare const AI_MT_TRANSLATION_STEP_SETTINGS_SCHEMA: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.objectUtil.extendShape<{
8881
8629
  stepType: z$1.ZodString;
package/dist/index.mjs CHANGED
@@ -230,16 +230,15 @@ var APPLY_TM_MESSAGE_CONTEXT = APPLY_TM_STEP_SETTINGS_SCHEMA.omit({
230
230
  });
231
231
 
232
232
  // src/workflow/steps/aiMtTranslationStep.ts
233
- var AI_MT_TRANSLATION_STEP_FORM_SCHEMA = CREATE_TASK_STEP_SETTINGS_SCHEMA.omit({
234
- stepType: true,
235
- taskType: true
236
- }).extend({
233
+ var AI_MT_TRANSLATION_STEP_FORM_SCHEMA = z4.object({
234
+ stepTitle: z4.string().min(1),
237
235
  translationEngine: z4.string().min(1),
238
236
  taskTitle: z4.string().optional(),
239
237
  aiInstructions: z4.string().optional(),
240
238
  tagKeysAfterClose: z4.boolean(),
241
239
  tags: z4.array(z4.string()).optional(),
242
- customTranslationStatusIds: z4.array(z4.number()).optional()
240
+ customTranslationStatusIds: z4.array(z4.number()).optional(),
241
+ hasCustomTranslationStatuses: z4.boolean()
243
242
  }).superRefine(({ tagKeysAfterClose, tags }, context) => {
244
243
  if (tagKeysAfterClose && tags?.length === 0) {
245
244
  context.addIssue({
@@ -282,7 +281,6 @@ var DEFAULT_AI_MT_TRANSLATION_STEP_SETTINGS = {
282
281
  aiInstructions: void 0,
283
282
  translationEngine: "",
284
283
  taskTitle: void 0,
285
- taskDescription: void 0,
286
284
  tagKeysAfterClose: false,
287
285
  tags: [],
288
286
  customTranslationStatusIds: [],