@lokalise/translation-storage-api-schemas 13.2.0 → 13.4.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/api/contracts/editor/bulk-actions/get-editor-bulk-actions.d.ts +12 -0
- package/dist/api/contracts/editor/bulk-actions/get-editor-bulk-actions.d.ts.map +1 -1
- package/dist/api/contracts/editor/bulk-actions/post-editor-bulk-action-actions-cancel.d.ts +6 -0
- package/dist/api/contracts/editor/bulk-actions/post-editor-bulk-action-actions-cancel.d.ts.map +1 -1
- package/dist/api/contracts/editor/bulk-actions/post-editor-bulk-actions.d.ts +8 -0
- package/dist/api/contracts/editor/bulk-actions/post-editor-bulk-actions.d.ts.map +1 -1
- package/dist/api/contracts/translation-process/get-project-translation-settings.d.ts +6 -0
- package/dist/api/contracts/translation-process/get-project-translation-settings.d.ts.map +1 -1
- package/dist/api/contracts/translation-process/post-retrieve-batch-translation-settings.d.ts +6 -0
- package/dist/api/contracts/translation-process/post-retrieve-batch-translation-settings.d.ts.map +1 -1
- package/dist/api/contracts/translation-process/put-project-translation-settings.d.ts +8 -0
- package/dist/api/contracts/translation-process/put-project-translation-settings.d.ts.map +1 -1
- package/dist/api/objects/bulk-action.d.ts +3 -0
- package/dist/api/objects/bulk-action.d.ts.map +1 -1
- package/dist/api/objects/bulk-action.js +2 -0
- package/dist/api/objects/bulk-action.js.map +1 -1
- package/dist/api/objects/project-translation-settings.d.ts +8 -0
- package/dist/api/objects/project-translation-settings.d.ts.map +1 -1
- package/dist/api/objects/project-translation-settings.js +15 -0
- package/dist/api/objects/project-translation-settings.js.map +1 -1
- package/package.json +1 -1
|
@@ -23,6 +23,7 @@ declare const GET_EDITOR_BULK_ACTIONS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
23
23
|
operation: z.ZodEnum<{
|
|
24
24
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
25
25
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
26
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
26
27
|
}>;
|
|
27
28
|
status: z.ZodEnum<{
|
|
28
29
|
readonly PENDING: 'PENDING';
|
|
@@ -33,6 +34,7 @@ declare const GET_EDITOR_BULK_ACTIONS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
33
34
|
totalCount: z.ZodInt;
|
|
34
35
|
succeededCount: z.ZodInt;
|
|
35
36
|
failedCount: z.ZodInt;
|
|
37
|
+
skippedCount: z.ZodInt;
|
|
36
38
|
createdBy: z.ZodGUID;
|
|
37
39
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
38
40
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -46,6 +48,7 @@ export declare const BULK_ACTION_SSE_SCHEMA: z.ZodObject<{
|
|
|
46
48
|
operation: z.ZodEnum<{
|
|
47
49
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
48
50
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
51
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
49
52
|
}>;
|
|
50
53
|
status: z.ZodEnum<{
|
|
51
54
|
readonly PENDING: 'PENDING';
|
|
@@ -56,6 +59,7 @@ export declare const BULK_ACTION_SSE_SCHEMA: z.ZodObject<{
|
|
|
56
59
|
totalCount: z.ZodInt;
|
|
57
60
|
succeededCount: z.ZodInt;
|
|
58
61
|
failedCount: z.ZodInt;
|
|
62
|
+
skippedCount: z.ZodInt;
|
|
59
63
|
createdBy: z.ZodGUID;
|
|
60
64
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
61
65
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -81,6 +85,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
81
85
|
operation: z.ZodEnum<{
|
|
82
86
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
83
87
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
88
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
84
89
|
}>;
|
|
85
90
|
status: z.ZodEnum<{
|
|
86
91
|
readonly PENDING: 'PENDING';
|
|
@@ -91,6 +96,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
91
96
|
totalCount: z.ZodInt;
|
|
92
97
|
succeededCount: z.ZodInt;
|
|
93
98
|
failedCount: z.ZodInt;
|
|
99
|
+
skippedCount: z.ZodInt;
|
|
94
100
|
createdBy: z.ZodGUID;
|
|
95
101
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
96
102
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -103,6 +109,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
103
109
|
operation: z.ZodEnum<{
|
|
104
110
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
105
111
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
112
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
106
113
|
}>;
|
|
107
114
|
status: z.ZodEnum<{
|
|
108
115
|
readonly PENDING: 'PENDING';
|
|
@@ -113,6 +120,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
113
120
|
totalCount: z.ZodInt;
|
|
114
121
|
succeededCount: z.ZodInt;
|
|
115
122
|
failedCount: z.ZodInt;
|
|
123
|
+
skippedCount: z.ZodInt;
|
|
116
124
|
createdBy: z.ZodGUID;
|
|
117
125
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
118
126
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -125,6 +133,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
125
133
|
operation: z.ZodEnum<{
|
|
126
134
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
127
135
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
136
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
128
137
|
}>;
|
|
129
138
|
status: z.ZodEnum<{
|
|
130
139
|
readonly PENDING: 'PENDING';
|
|
@@ -135,6 +144,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
135
144
|
totalCount: z.ZodInt;
|
|
136
145
|
succeededCount: z.ZodInt;
|
|
137
146
|
failedCount: z.ZodInt;
|
|
147
|
+
skippedCount: z.ZodInt;
|
|
138
148
|
createdBy: z.ZodGUID;
|
|
139
149
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
140
150
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -163,6 +173,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
163
173
|
operation: z.ZodEnum<{
|
|
164
174
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
165
175
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
176
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
166
177
|
}>;
|
|
167
178
|
status: z.ZodEnum<{
|
|
168
179
|
readonly PENDING: 'PENDING';
|
|
@@ -173,6 +184,7 @@ export declare const getEditorBulkActionsContract: import("@lokalise/api-contrac
|
|
|
173
184
|
totalCount: z.ZodInt;
|
|
174
185
|
succeededCount: z.ZodInt;
|
|
175
186
|
failedCount: z.ZodInt;
|
|
187
|
+
skippedCount: z.ZodInt;
|
|
176
188
|
createdBy: z.ZodGUID;
|
|
177
189
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
178
190
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-editor-bulk-actions.d.ts","sourceRoot":"","sources":["../../../../../src/api/contracts/editor/bulk-actions/get-editor-bulk-actions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,QAAA,MAAM,6CAA6C;;iBAEjD,CAAA;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,6CAA6C,CACrD,CAAA;AAGD,QAAA,MAAM,4CAA4C;;;;;;;;;;iBAahD,CAAA;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,4CAA4C,CACpD,CAAA;AACD,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,4CAA4C,CACpD,CAAA;AAED,QAAA,MAAM,uCAAuC
|
|
1
|
+
{"version":3,"file":"get-editor-bulk-actions.d.ts","sourceRoot":"","sources":["../../../../../src/api/contracts/editor/bulk-actions/get-editor-bulk-actions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,QAAA,MAAM,6CAA6C;;iBAEjD,CAAA;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,6CAA6C,CACrD,CAAA;AAGD,QAAA,MAAM,4CAA4C;;;;;;;;;;iBAahD,CAAA;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,4CAA4C,CACpD,CAAA;AACD,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,4CAA4C,CACpD,CAAA;AAED,QAAA,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;iBAE3C,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAA;AAGlG,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;iBAEjC,CAAA;AACF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAElE,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBvC,CAAA"}
|
|
@@ -11,6 +11,7 @@ export declare const POST_EDITOR_BULK_ACTION_ACTIONS_CANCEL_RESPONSE_SCHEMA: z.Z
|
|
|
11
11
|
operation: z.ZodEnum<{
|
|
12
12
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
13
13
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
14
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
14
15
|
}>;
|
|
15
16
|
status: z.ZodEnum<{
|
|
16
17
|
readonly PENDING: 'PENDING';
|
|
@@ -21,6 +22,7 @@ export declare const POST_EDITOR_BULK_ACTION_ACTIONS_CANCEL_RESPONSE_SCHEMA: z.Z
|
|
|
21
22
|
totalCount: z.ZodInt;
|
|
22
23
|
succeededCount: z.ZodInt;
|
|
23
24
|
failedCount: z.ZodInt;
|
|
25
|
+
skippedCount: z.ZodInt;
|
|
24
26
|
createdBy: z.ZodGUID;
|
|
25
27
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
26
28
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -34,6 +36,7 @@ export declare const postEditorBulkActionActionsCancelContract: import("@lokalis
|
|
|
34
36
|
operation: z.ZodEnum<{
|
|
35
37
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
36
38
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
39
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
37
40
|
}>;
|
|
38
41
|
status: z.ZodEnum<{
|
|
39
42
|
readonly PENDING: 'PENDING';
|
|
@@ -44,6 +47,7 @@ export declare const postEditorBulkActionActionsCancelContract: import("@lokalis
|
|
|
44
47
|
totalCount: z.ZodInt;
|
|
45
48
|
succeededCount: z.ZodInt;
|
|
46
49
|
failedCount: z.ZodInt;
|
|
50
|
+
skippedCount: z.ZodInt;
|
|
47
51
|
createdBy: z.ZodGUID;
|
|
48
52
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
49
53
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -74,6 +78,7 @@ export declare const postEditorBulkActionActionsCancelContract: import("@lokalis
|
|
|
74
78
|
operation: z.ZodEnum<{
|
|
75
79
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
76
80
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
81
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
77
82
|
}>;
|
|
78
83
|
status: z.ZodEnum<{
|
|
79
84
|
readonly PENDING: 'PENDING';
|
|
@@ -84,6 +89,7 @@ export declare const postEditorBulkActionActionsCancelContract: import("@lokalis
|
|
|
84
89
|
totalCount: z.ZodInt;
|
|
85
90
|
succeededCount: z.ZodInt;
|
|
86
91
|
failedCount: z.ZodInt;
|
|
92
|
+
skippedCount: z.ZodInt;
|
|
87
93
|
createdBy: z.ZodGUID;
|
|
88
94
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
89
95
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
package/dist/api/contracts/editor/bulk-actions/post-editor-bulk-action-actions-cancel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-editor-bulk-action-actions-cancel.d.ts","sourceRoot":"","sources":["../../../../../src/api/contracts/editor/bulk-actions/post-editor-bulk-action-actions-cancel.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,QAAA,MAAM,4DAA4D;;;iBAGhE,CAAA;AACF,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAClE,OAAO,4DAA4D,CACpE,CAAA;AAED,eAAO,MAAM,sDAAsD
|
|
1
|
+
{"version":3,"file":"post-editor-bulk-action-actions-cancel.d.ts","sourceRoot":"","sources":["../../../../../src/api/contracts/editor/bulk-actions/post-editor-bulk-action-actions-cancel.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,QAAA,MAAM,4DAA4D;;;iBAGhE,CAAA;AACF,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAClE,OAAO,4DAA4D,CACpE,CAAA;AAED,eAAO,MAAM,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;iBAEjE,CAAA;AACF,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAC7D,OAAO,sDAAsD,CAC9D,CAAA;AAED,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBpD,CAAA"}
|
|
@@ -7,6 +7,7 @@ declare const POST_EDITOR_BULK_ACTIONS_REQUEST_BODY_SCHEMA: z.ZodObject<{
|
|
|
7
7
|
operation: z.ZodEnum<{
|
|
8
8
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
9
9
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
10
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
10
11
|
}>;
|
|
11
12
|
}, z.core.$strip>;
|
|
12
13
|
export type PostEditorBulkActionsRequestBody = z.infer<typeof POST_EDITOR_BULK_ACTIONS_REQUEST_BODY_SCHEMA>;
|
|
@@ -17,6 +18,7 @@ export declare const POST_EDITOR_BULK_ACTIONS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
17
18
|
operation: z.ZodEnum<{
|
|
18
19
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
19
20
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
21
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
20
22
|
}>;
|
|
21
23
|
status: z.ZodEnum<{
|
|
22
24
|
readonly PENDING: 'PENDING';
|
|
@@ -27,6 +29,7 @@ export declare const POST_EDITOR_BULK_ACTIONS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
27
29
|
totalCount: z.ZodInt;
|
|
28
30
|
succeededCount: z.ZodInt;
|
|
29
31
|
failedCount: z.ZodInt;
|
|
32
|
+
skippedCount: z.ZodInt;
|
|
30
33
|
createdBy: z.ZodGUID;
|
|
31
34
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
32
35
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -37,6 +40,7 @@ export declare const postEditorBulkActionsContract: import("@lokalise/api-contra
|
|
|
37
40
|
operation: z.ZodEnum<{
|
|
38
41
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
39
42
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
43
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
40
44
|
}>;
|
|
41
45
|
}, z.core.$strip>, z.ZodObject<{
|
|
42
46
|
data: z.ZodObject<{
|
|
@@ -45,6 +49,7 @@ export declare const postEditorBulkActionsContract: import("@lokalise/api-contra
|
|
|
45
49
|
operation: z.ZodEnum<{
|
|
46
50
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
47
51
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
52
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
48
53
|
}>;
|
|
49
54
|
status: z.ZodEnum<{
|
|
50
55
|
readonly PENDING: 'PENDING';
|
|
@@ -55,6 +60,7 @@ export declare const postEditorBulkActionsContract: import("@lokalise/api-contra
|
|
|
55
60
|
totalCount: z.ZodInt;
|
|
56
61
|
succeededCount: z.ZodInt;
|
|
57
62
|
failedCount: z.ZodInt;
|
|
63
|
+
skippedCount: z.ZodInt;
|
|
58
64
|
createdBy: z.ZodGUID;
|
|
59
65
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
60
66
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -84,6 +90,7 @@ export declare const postEditorBulkActionsContract: import("@lokalise/api-contra
|
|
|
84
90
|
operation: z.ZodEnum<{
|
|
85
91
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
86
92
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
93
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
87
94
|
}>;
|
|
88
95
|
status: z.ZodEnum<{
|
|
89
96
|
readonly PENDING: 'PENDING';
|
|
@@ -94,6 +101,7 @@ export declare const postEditorBulkActionsContract: import("@lokalise/api-contra
|
|
|
94
101
|
totalCount: z.ZodInt;
|
|
95
102
|
succeededCount: z.ZodInt;
|
|
96
103
|
failedCount: z.ZodInt;
|
|
104
|
+
skippedCount: z.ZodInt;
|
|
97
105
|
createdBy: z.ZodGUID;
|
|
98
106
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
99
107
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-editor-bulk-actions.d.ts","sourceRoot":"","sources":["../../../../../src/api/contracts/editor/bulk-actions/post-editor-bulk-actions.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,QAAA,MAAM,8CAA8C;;iBAElD,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,8CAA8C,CACtD,CAAA;AAED,QAAA,MAAM,4CAA4C
|
|
1
|
+
{"version":3,"file":"post-editor-bulk-actions.d.ts","sourceRoot":"","sources":["../../../../../src/api/contracts/editor/bulk-actions/post-editor-bulk-actions.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,QAAA,MAAM,8CAA8C;;iBAElD,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,8CAA8C,CACtD,CAAA;AAED,QAAA,MAAM,4CAA4C;;;;;;iBAEhD,CAAA;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,4CAA4C,CACpD,CAAA;AAED,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;iBAEnD,CAAA;AACF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAA;AAEpG,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaxC,CAAA"}
|
|
@@ -15,12 +15,14 @@ export declare const GET_PROJECT_TRANSLATION_SETTINGS_RESPONSE_SCHEMA: z.ZodObje
|
|
|
15
15
|
readonly CRITICAL_MAJOR: 'CRITICAL_MAJOR';
|
|
16
16
|
readonly CRITICAL: 'CRITICAL';
|
|
17
17
|
}>;
|
|
18
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
18
19
|
}, z.core.$strip>, z.ZodObject<{
|
|
19
20
|
workflowType: z.ZodIntersection<z.ZodEnum<{
|
|
20
21
|
readonly AI_ONLY: 'AI_ONLY';
|
|
21
22
|
readonly AI_HUMAN_REVIEW: 'AI_HUMAN_REVIEW';
|
|
22
23
|
}>, z.ZodLiteral<"AI_ONLY">>;
|
|
23
24
|
reviewThreshold: z.ZodNull;
|
|
25
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
24
26
|
}, z.core.$strip>]>;
|
|
25
27
|
}, z.core.$strip>;
|
|
26
28
|
export type GetProjectTranslationSettingsResponse = z.infer<typeof GET_PROJECT_TRANSLATION_SETTINGS_RESPONSE_SCHEMA>;
|
|
@@ -36,12 +38,14 @@ export declare const getProjectTranslationSettingsContract: import("@lokalise/ap
|
|
|
36
38
|
readonly CRITICAL_MAJOR: 'CRITICAL_MAJOR';
|
|
37
39
|
readonly CRITICAL: 'CRITICAL';
|
|
38
40
|
}>;
|
|
41
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
39
42
|
}, z.core.$strip>, z.ZodObject<{
|
|
40
43
|
workflowType: z.ZodIntersection<z.ZodEnum<{
|
|
41
44
|
readonly AI_ONLY: 'AI_ONLY';
|
|
42
45
|
readonly AI_HUMAN_REVIEW: 'AI_HUMAN_REVIEW';
|
|
43
46
|
}>, z.ZodLiteral<"AI_ONLY">>;
|
|
44
47
|
reviewThreshold: z.ZodNull;
|
|
48
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
45
49
|
}, z.core.$strip>]>;
|
|
46
50
|
}, z.core.$strip>, z.ZodObject<{
|
|
47
51
|
projectId: z.ZodGUID;
|
|
@@ -73,12 +77,14 @@ export declare const getProjectTranslationSettingsContract: import("@lokalise/ap
|
|
|
73
77
|
readonly CRITICAL_MAJOR: 'CRITICAL_MAJOR';
|
|
74
78
|
readonly CRITICAL: 'CRITICAL';
|
|
75
79
|
}>;
|
|
80
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
76
81
|
}, z.core.$strip>, z.ZodObject<{
|
|
77
82
|
workflowType: z.ZodIntersection<z.ZodEnum<{
|
|
78
83
|
readonly AI_ONLY: 'AI_ONLY';
|
|
79
84
|
readonly AI_HUMAN_REVIEW: 'AI_HUMAN_REVIEW';
|
|
80
85
|
}>, z.ZodLiteral<"AI_ONLY">>;
|
|
81
86
|
reviewThreshold: z.ZodNull;
|
|
87
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
82
88
|
}, z.core.$strip>]>;
|
|
83
89
|
}, z.core.$strip>;
|
|
84
90
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-translation-settings.d.ts","sourceRoot":"","sources":["../../../../src/api/contracts/translation-process/get-project-translation-settings.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,eAAO,MAAM,8CAA8C;;iBAEzD,CAAA;AACF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,8CAA8C,CACtD,CAAA;AAED,eAAO,MAAM,gDAAgD
|
|
1
|
+
{"version":3,"file":"get-project-translation-settings.d.ts","sourceRoot":"","sources":["../../../../src/api/contracts/translation-process/get-project-translation-settings.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,eAAO,MAAM,8CAA8C;;iBAEzD,CAAA;AACF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,8CAA8C,CACtD,CAAA;AAED,eAAO,MAAM,gDAAgD;;;;;;;;;;;;;;;;;;;;;iBAE3D,CAAA;AACF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,gDAAgD,CACxD,CAAA;AAED,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAahD,CAAA"}
|
package/dist/api/contracts/translation-process/post-retrieve-batch-translation-settings.d.ts
CHANGED
|
@@ -18,12 +18,14 @@ export declare const POST_RETRIEVE_BATCH_TRANSLATION_SETTINGS_RESPONSE_SCHEMA: z
|
|
|
18
18
|
readonly CRITICAL_MAJOR: 'CRITICAL_MAJOR';
|
|
19
19
|
readonly CRITICAL: 'CRITICAL';
|
|
20
20
|
}>;
|
|
21
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
21
22
|
}, z.core.$strip>, z.ZodObject<{
|
|
22
23
|
workflowType: z.ZodIntersection<z.ZodEnum<{
|
|
23
24
|
readonly AI_ONLY: 'AI_ONLY';
|
|
24
25
|
readonly AI_HUMAN_REVIEW: 'AI_HUMAN_REVIEW';
|
|
25
26
|
}>, z.ZodLiteral<"AI_ONLY">>;
|
|
26
27
|
reviewThreshold: z.ZodNull;
|
|
28
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
27
29
|
}, z.core.$strip>]>;
|
|
28
30
|
}, z.core.$strip>>;
|
|
29
31
|
}, z.core.$strip>;
|
|
@@ -56,12 +58,14 @@ export declare const postRetrieveBatchTranslationSettingsContract: import("@loka
|
|
|
56
58
|
readonly CRITICAL_MAJOR: 'CRITICAL_MAJOR';
|
|
57
59
|
readonly CRITICAL: 'CRITICAL';
|
|
58
60
|
}>;
|
|
61
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
59
62
|
}, z.core.$strip>, z.ZodObject<{
|
|
60
63
|
workflowType: z.ZodIntersection<z.ZodEnum<{
|
|
61
64
|
readonly AI_ONLY: 'AI_ONLY';
|
|
62
65
|
readonly AI_HUMAN_REVIEW: 'AI_HUMAN_REVIEW';
|
|
63
66
|
}>, z.ZodLiteral<"AI_ONLY">>;
|
|
64
67
|
reviewThreshold: z.ZodNull;
|
|
68
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
65
69
|
}, z.core.$strip>]>;
|
|
66
70
|
}, z.core.$strip>>;
|
|
67
71
|
}, z.core.$strip>, undefined, undefined, z.ZodOptional<z.ZodAny>, undefined, false, false, {
|
|
@@ -94,12 +98,14 @@ export declare const postRetrieveBatchTranslationSettingsContract: import("@loka
|
|
|
94
98
|
readonly CRITICAL_MAJOR: 'CRITICAL_MAJOR';
|
|
95
99
|
readonly CRITICAL: 'CRITICAL';
|
|
96
100
|
}>;
|
|
101
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
97
102
|
}, z.core.$strip>, z.ZodObject<{
|
|
98
103
|
workflowType: z.ZodIntersection<z.ZodEnum<{
|
|
99
104
|
readonly AI_ONLY: 'AI_ONLY';
|
|
100
105
|
readonly AI_HUMAN_REVIEW: 'AI_HUMAN_REVIEW';
|
|
101
106
|
}>, z.ZodLiteral<"AI_ONLY">>;
|
|
102
107
|
reviewThreshold: z.ZodNull;
|
|
108
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
103
109
|
}, z.core.$strip>]>;
|
|
104
110
|
}, z.core.$strip>>;
|
|
105
111
|
}, z.core.$strip>;
|
package/dist/api/contracts/translation-process/post-retrieve-batch-translation-settings.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-retrieve-batch-translation-settings.d.ts","sourceRoot":"","sources":["../../../../src/api/contracts/translation-process/post-retrieve-batch-translation-settings.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAO1B,eAAO,MAAM,mDAAmD,MAAM,CAAA;AAEtE,eAAO,MAAM,oDAAoD;;iBAE/D,CAAA;AAEF,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAC5D,OAAO,oDAAoD,CAC5D,CAAA;AAED,eAAO,MAAM,wDAAwD
|
|
1
|
+
{"version":3,"file":"post-retrieve-batch-translation-settings.d.ts","sourceRoot":"","sources":["../../../../src/api/contracts/translation-process/post-retrieve-batch-translation-settings.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAO1B,eAAO,MAAM,mDAAmD,MAAM,CAAA;AAEtE,eAAO,MAAM,oDAAoD;;iBAE/D,CAAA;AAEF,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAC5D,OAAO,oDAAoD,CAC5D,CAAA;AAED,eAAO,MAAM,wDAAwD;;;;;;;;;;;;;;;;;;;;;;;;iBAOnE,CAAA;AACF,MAAM,MAAM,4CAA4C,GAAG,CAAC,CAAC,KAAK,CAChE,OAAO,wDAAwD,CAChE,CAAA;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAevD,CAAA"}
|
|
@@ -34,12 +34,14 @@ export declare const PUT_UPSERT_TRANSLATION_SETTINGS_RESPONSE_SCHEMA: z.ZodObjec
|
|
|
34
34
|
readonly CRITICAL_MAJOR: 'CRITICAL_MAJOR';
|
|
35
35
|
readonly CRITICAL: 'CRITICAL';
|
|
36
36
|
}>;
|
|
37
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
37
38
|
}, z.core.$strip>, z.ZodObject<{
|
|
38
39
|
workflowType: z.ZodIntersection<z.ZodEnum<{
|
|
39
40
|
readonly AI_ONLY: 'AI_ONLY';
|
|
40
41
|
readonly AI_HUMAN_REVIEW: 'AI_HUMAN_REVIEW';
|
|
41
42
|
}>, z.ZodLiteral<"AI_ONLY">>;
|
|
42
43
|
reviewThreshold: z.ZodNull;
|
|
44
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
43
45
|
}, z.core.$strip>]>;
|
|
44
46
|
}, z.core.$strip>;
|
|
45
47
|
export type PutUpsertTranslationSettingsResponse = z.infer<typeof PUT_UPSERT_TRANSLATION_SETTINGS_RESPONSE_SCHEMA>;
|
|
@@ -72,12 +74,14 @@ export declare const putProjectTranslationSettingsContract: import("@lokalise/ap
|
|
|
72
74
|
readonly CRITICAL_MAJOR: 'CRITICAL_MAJOR';
|
|
73
75
|
readonly CRITICAL: 'CRITICAL';
|
|
74
76
|
}>;
|
|
77
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
75
78
|
}, z.core.$strip>, z.ZodObject<{
|
|
76
79
|
workflowType: z.ZodIntersection<z.ZodEnum<{
|
|
77
80
|
readonly AI_ONLY: 'AI_ONLY';
|
|
78
81
|
readonly AI_HUMAN_REVIEW: 'AI_HUMAN_REVIEW';
|
|
79
82
|
}>, z.ZodLiteral<"AI_ONLY">>;
|
|
80
83
|
reviewThreshold: z.ZodNull;
|
|
84
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
81
85
|
}, z.core.$strip>]>;
|
|
82
86
|
}, z.core.$strip>, z.ZodObject<{
|
|
83
87
|
projectId: z.ZodGUID;
|
|
@@ -109,12 +113,14 @@ export declare const putProjectTranslationSettingsContract: import("@lokalise/ap
|
|
|
109
113
|
readonly CRITICAL_MAJOR: 'CRITICAL_MAJOR';
|
|
110
114
|
readonly CRITICAL: 'CRITICAL';
|
|
111
115
|
}>;
|
|
116
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
112
117
|
}, z.core.$strip>, z.ZodObject<{
|
|
113
118
|
workflowType: z.ZodIntersection<z.ZodEnum<{
|
|
114
119
|
readonly AI_ONLY: 'AI_ONLY';
|
|
115
120
|
readonly AI_HUMAN_REVIEW: 'AI_HUMAN_REVIEW';
|
|
116
121
|
}>, z.ZodLiteral<"AI_ONLY">>;
|
|
117
122
|
reviewThreshold: z.ZodNull;
|
|
123
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
118
124
|
}, z.core.$strip>]>;
|
|
119
125
|
}, z.core.$strip>;
|
|
120
126
|
201: z.ZodObject<{
|
|
@@ -129,12 +135,14 @@ export declare const putProjectTranslationSettingsContract: import("@lokalise/ap
|
|
|
129
135
|
readonly CRITICAL_MAJOR: 'CRITICAL_MAJOR';
|
|
130
136
|
readonly CRITICAL: 'CRITICAL';
|
|
131
137
|
}>;
|
|
138
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
132
139
|
}, z.core.$strip>, z.ZodObject<{
|
|
133
140
|
workflowType: z.ZodIntersection<z.ZodEnum<{
|
|
134
141
|
readonly AI_ONLY: 'AI_ONLY';
|
|
135
142
|
readonly AI_HUMAN_REVIEW: 'AI_HUMAN_REVIEW';
|
|
136
143
|
}>, z.ZodLiteral<"AI_ONLY">>;
|
|
137
144
|
reviewThreshold: z.ZodNull;
|
|
145
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
138
146
|
}, z.core.$strip>]>;
|
|
139
147
|
}, z.core.$strip>;
|
|
140
148
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-project-translation-settings.d.ts","sourceRoot":"","sources":["../../../../src/api/contracts/translation-process/put-project-translation-settings.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAY1B,eAAO,MAAM,6CAA6C;;iBAIF,CAAA;AACxD,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,6CAA6C,CACrD,CAAA;AAED,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;mBA2BH,CAAA;AACrD,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,2CAA2C,CACnD,CAAA;AAED,eAAO,MAAM,+CAA+C
|
|
1
|
+
{"version":3,"file":"put-project-translation-settings.d.ts","sourceRoot":"","sources":["../../../../src/api/contracts/translation-process/put-project-translation-settings.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAY1B,eAAO,MAAM,6CAA6C;;iBAIF,CAAA;AACxD,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,6CAA6C,CACrD,CAAA;AAED,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;mBA2BH,CAAA;AACrD,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,2CAA2C,CACnD,CAAA;AAED,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;;;;;iBAE1D,CAAA;AACF,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,+CAA+C,CACvD,CAAA;AAED,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBhD,CAAA"}
|
|
@@ -10,6 +10,7 @@ export type BulkActionStatus = ObjectValues<typeof BulkActionStatusEnum>;
|
|
|
10
10
|
export declare const BulkActionOperationEnum: {
|
|
11
11
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
12
12
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
13
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
13
14
|
};
|
|
14
15
|
export type BulkActionOperation = ObjectValues<typeof BulkActionOperationEnum>;
|
|
15
16
|
export declare const BULK_ACTION_SCHEMA: z.ZodObject<{
|
|
@@ -18,6 +19,7 @@ export declare const BULK_ACTION_SCHEMA: z.ZodObject<{
|
|
|
18
19
|
operation: z.ZodEnum<{
|
|
19
20
|
readonly APPROVE_SEGMENT: 'APPROVE_SEGMENT';
|
|
20
21
|
readonly UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT';
|
|
22
|
+
readonly RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION';
|
|
21
23
|
}>;
|
|
22
24
|
status: z.ZodEnum<{
|
|
23
25
|
readonly PENDING: 'PENDING';
|
|
@@ -28,6 +30,7 @@ export declare const BULK_ACTION_SCHEMA: z.ZodObject<{
|
|
|
28
30
|
totalCount: z.ZodInt;
|
|
29
31
|
succeededCount: z.ZodInt;
|
|
30
32
|
failedCount: z.ZodInt;
|
|
33
|
+
skippedCount: z.ZodInt;
|
|
31
34
|
createdBy: z.ZodGUID;
|
|
32
35
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
33
36
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-action.d.ts","sourceRoot":"","sources":["../../../src/api/objects/bulk-action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,eAAO,MAAM,oBAAoB;aAC/B,OAAO,EAAE,SAAS;aAClB,WAAW,EAAE,aAAa;aAC1B,SAAS,EAAE,WAAW;aACtB,SAAS,EAAE,WAAW;CACd,CAAA;AACV,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAExE,eAAO,MAAM,uBAAuB;aAClC,eAAe,EAAE,iBAAiB;aAClC,iBAAiB,EAAE,mBAAmB;
|
|
1
|
+
{"version":3,"file":"bulk-action.d.ts","sourceRoot":"","sources":["../../../src/api/objects/bulk-action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,eAAO,MAAM,oBAAoB;aAC/B,OAAO,EAAE,SAAS;aAClB,WAAW,EAAE,aAAa;aAC1B,SAAS,EAAE,WAAW;aACtB,SAAS,EAAE,WAAW;CACd,CAAA;AACV,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAExE,eAAO,MAAM,uBAAuB;aAClC,eAAe,EAAE,iBAAiB;aAClC,iBAAiB,EAAE,mBAAmB;aACtC,uBAAuB,EAAE,yBAAyB;CAC1C,CAAA;AACV,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE9E,eAAO,MAAM,kBAAkB;;;;kCANZ,iBAAiB;oCACf,mBAAmB;0CACb,yBAAyB;;;0BAVzC,SAAS;8BACL,aAAa;4BACf,WAAW;4BACX,WAAW;;;;;;;;;iBAuBtB,CAAA;AACF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
|
|
@@ -11,6 +11,7 @@ export const BulkActionStatusEnum = {
|
|
|
11
11
|
export const BulkActionOperationEnum = {
|
|
12
12
|
APPROVE_SEGMENT: 'APPROVE_SEGMENT',
|
|
13
13
|
UNAPPROVE_SEGMENT: 'UNAPPROVE_SEGMENT',
|
|
14
|
+
RESTORE_SEGMENT_VERSION: 'RESTORE_SEGMENT_VERSION',
|
|
14
15
|
};
|
|
15
16
|
export const BULK_ACTION_SCHEMA = z.object({
|
|
16
17
|
id: z.guid(),
|
|
@@ -20,6 +21,7 @@ export const BULK_ACTION_SCHEMA = z.object({
|
|
|
20
21
|
totalCount: z.int().positive(),
|
|
21
22
|
succeededCount: z.int().nonnegative(),
|
|
22
23
|
failedCount: z.int().nonnegative(),
|
|
24
|
+
skippedCount: z.int().nonnegative(),
|
|
23
25
|
createdBy: z.guid(),
|
|
24
26
|
startedAt: z.iso.datetime().nullish(), // null means action processing didn't start yet
|
|
25
27
|
completedAt: z.iso.datetime().nullish(), // null means action didn't complete yet
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-action.js","sourceRoot":"","sources":["../../../src/api/objects/bulk-action.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,6CAA6C;AAC7C,cAAc;AACd,6CAA6C;AAE7C,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;CACd,CAAA;AAGV,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,eAAe,EAAE,iBAAiB;IAClC,iBAAiB,EAAE,mBAAmB;
|
|
1
|
+
{"version":3,"file":"bulk-action.js","sourceRoot":"","sources":["../../../src/api/objects/bulk-action.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,6CAA6C;AAC7C,cAAc;AACd,6CAA6C;AAE7C,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;CACd,CAAA;AAGV,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,eAAe,EAAE,iBAAiB;IAClC,iBAAiB,EAAE,mBAAmB;IACtC,uBAAuB,EAAE,yBAAyB;CAC1C,CAAA;AAGV,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE;IACZ,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;IACnB,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC;IAC1C,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;IACpC,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC9B,cAAc,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACrC,WAAW,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACnC,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;IACnB,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,gDAAgD;IACvF,WAAW,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,wCAAwC;CAClF,CAAC,CAAA"}
|
|
@@ -22,6 +22,12 @@ export declare const REVIEW_THRESHOLD_SCHEMA: z.ZodEnum<{
|
|
|
22
22
|
readonly CRITICAL_MAJOR: 'CRITICAL_MAJOR';
|
|
23
23
|
readonly CRITICAL: 'CRITICAL';
|
|
24
24
|
}>;
|
|
25
|
+
/**
|
|
26
|
+
* Default review turnaround in calendar days, used to compute task due dates when a project has no
|
|
27
|
+
* stored turnaround (the local store does not persist it; only projects-engine exposes it). Mirrors
|
|
28
|
+
* the projects-engine read-time default (MET-1923 / MET-1954).
|
|
29
|
+
*/
|
|
30
|
+
export declare const DEFAULT_REVIEW_TURNAROUND_DAYS = 5;
|
|
25
31
|
export declare const PROJECT_TRANSLATION_SETTINGS_SCHEMA: z.ZodUnion<readonly [z.ZodObject<{
|
|
26
32
|
workflowType: z.ZodIntersection<z.ZodEnum<{
|
|
27
33
|
readonly AI_ONLY: 'AI_ONLY';
|
|
@@ -33,12 +39,14 @@ export declare const PROJECT_TRANSLATION_SETTINGS_SCHEMA: z.ZodUnion<readonly [z
|
|
|
33
39
|
readonly CRITICAL_MAJOR: 'CRITICAL_MAJOR';
|
|
34
40
|
readonly CRITICAL: 'CRITICAL';
|
|
35
41
|
}>;
|
|
42
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
36
43
|
}, z.core.$strip>, z.ZodObject<{
|
|
37
44
|
workflowType: z.ZodIntersection<z.ZodEnum<{
|
|
38
45
|
readonly AI_ONLY: 'AI_ONLY';
|
|
39
46
|
readonly AI_HUMAN_REVIEW: 'AI_HUMAN_REVIEW';
|
|
40
47
|
}>, z.ZodLiteral<"AI_ONLY">>;
|
|
41
48
|
reviewThreshold: z.ZodNull;
|
|
49
|
+
reviewTurnaroundDays: z.ZodOptional<z.ZodNumber>;
|
|
42
50
|
}, z.core.$strip>]>;
|
|
43
51
|
export type ProjectTranslationSettings = z.infer<typeof PROJECT_TRANSLATION_SETTINGS_SCHEMA>;
|
|
44
52
|
//# sourceMappingURL=project-translation-settings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-translation-settings.d.ts","sourceRoot":"","sources":["../../../src/api/objects/project-translation-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gDAAgD,CAAA;AAClF,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,eAAO,MAAM,gBAAgB;aAC3B,OAAO,EAAE,SAAS;aAClB,eAAe,EAAE,iBAAiB;CAC1B,CAAA;AACV,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAChE,eAAO,MAAM,oBAAoB;sBAJtB,SAAS;8BACD,iBAAiB;EAGwB,CAAA;AAE5D,eAAO,MAAM,mBAAmB;aAC9B,WAAW,EAAE,aAAa;aAC1B,oBAAoB,EAAE,sBAAsB;aAC5C,cAAc,EAAE,gBAAgB;aAChC,QAAQ,EAAE,UAAU;CACZ,CAAA;AACV,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAA;AACtE,eAAO,MAAM,uBAAuB;0BANrB,aAAa;mCACJ,sBAAsB;6BAC5B,gBAAgB;uBACtB,UAAU;EAG4C,CAAA;AAElE,eAAO,MAAM,mCAAmC;;
|
|
1
|
+
{"version":3,"file":"project-translation-settings.d.ts","sourceRoot":"","sources":["../../../src/api/objects/project-translation-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gDAAgD,CAAA;AAClF,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,eAAO,MAAM,gBAAgB;aAC3B,OAAO,EAAE,SAAS;aAClB,eAAe,EAAE,iBAAiB;CAC1B,CAAA;AACV,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAChE,eAAO,MAAM,oBAAoB;sBAJtB,SAAS;8BACD,iBAAiB;EAGwB,CAAA;AAE5D,eAAO,MAAM,mBAAmB;aAC9B,WAAW,EAAE,aAAa;aAC1B,oBAAoB,EAAE,sBAAsB;aAC5C,cAAc,EAAE,gBAAgB;aAChC,QAAQ,EAAE,UAAU;CACZ,CAAA;AACV,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAA;AACtE,eAAO,MAAM,uBAAuB;0BANrB,aAAa;mCACJ,sBAAsB;6BAC5B,gBAAgB;uBACtB,UAAU;EAG4C,CAAA;AAElE;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,IAAI,CAAA;AAU/C,eAAO,MAAM,mCAAmC;;0BA9BrC,SAAS;kCACD,iBAAiB;;;8BAMrB,aAAa;uCACJ,sBAAsB;iCAC5B,gBAAgB;2BACtB,UAAU;;;;;;;;;;mBA+BpB,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA"}
|
|
@@ -11,14 +11,29 @@ export const ReviewThresholdEnum = {
|
|
|
11
11
|
CRITICAL: 'CRITICAL',
|
|
12
12
|
};
|
|
13
13
|
export const REVIEW_THRESHOLD_SCHEMA = z.enum(ReviewThresholdEnum);
|
|
14
|
+
/**
|
|
15
|
+
* Default review turnaround in calendar days, used to compute task due dates when a project has no
|
|
16
|
+
* stored turnaround (the local store does not persist it; only projects-engine exposes it). Mirrors
|
|
17
|
+
* the projects-engine read-time default (MET-1923 / MET-1954).
|
|
18
|
+
*/
|
|
19
|
+
export const DEFAULT_REVIEW_TURNAROUND_DAYS = 5;
|
|
20
|
+
/**
|
|
21
|
+
* Review turnaround in calendar days. Optional because it is only exposed via the projects-engine
|
|
22
|
+
* read (`@lokalise/projects-engine-contracts` >= 4.3); the local translation-settings store does not
|
|
23
|
+
* persist it, so reads from that path omit it and consumers fall back to
|
|
24
|
+
* {@link DEFAULT_REVIEW_TURNAROUND_DAYS}.
|
|
25
|
+
*/
|
|
26
|
+
const REVIEW_TURNAROUND_DAYS_SCHEMA = z.number().int().positive().optional();
|
|
14
27
|
export const PROJECT_TRANSLATION_SETTINGS_SCHEMA = z.union([
|
|
15
28
|
z.object({
|
|
16
29
|
workflowType: WORKFLOW_TYPE_SCHEMA.and(z.literal(WorkflowTypeEnum.AI_HUMAN_REVIEW)),
|
|
17
30
|
reviewThreshold: REVIEW_THRESHOLD_SCHEMA,
|
|
31
|
+
reviewTurnaroundDays: REVIEW_TURNAROUND_DAYS_SCHEMA,
|
|
18
32
|
}),
|
|
19
33
|
z.object({
|
|
20
34
|
workflowType: WORKFLOW_TYPE_SCHEMA.and(z.literal(WorkflowTypeEnum.AI_ONLY)),
|
|
21
35
|
reviewThreshold: z.null(),
|
|
36
|
+
reviewTurnaroundDays: REVIEW_TURNAROUND_DAYS_SCHEMA,
|
|
22
37
|
}),
|
|
23
38
|
]);
|
|
24
39
|
//# sourceMappingURL=project-translation-settings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-translation-settings.js","sourceRoot":"","sources":["../../../src/api/objects/project-translation-settings.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,SAAS;IAClB,eAAe,EAAE,iBAAiB;CAC1B,CAAA;AAEV,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;AAE5D,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,WAAW,EAAE,aAAa;IAC1B,oBAAoB,EAAE,sBAAsB;IAC5C,cAAc,EAAE,gBAAgB;IAChC,QAAQ,EAAE,UAAU;CACZ,CAAA;AAEV,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAA;AAElE,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC;IACzD,CAAC,CAAC,MAAM,CAAC;QACP,YAAY,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,eAAe,CAAC,CAAC;QACnF,eAAe,EAAE,uBAAuB;
|
|
1
|
+
{"version":3,"file":"project-translation-settings.js","sourceRoot":"","sources":["../../../src/api/objects/project-translation-settings.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,SAAS;IAClB,eAAe,EAAE,iBAAiB;CAC1B,CAAA;AAEV,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;AAE5D,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,WAAW,EAAE,aAAa;IAC1B,oBAAoB,EAAE,sBAAsB;IAC5C,cAAc,EAAE,gBAAgB;IAChC,QAAQ,EAAE,UAAU;CACZ,CAAA;AAEV,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAA;AAElE;;;;GAIG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAA;AAE/C;;;;;GAKG;AACH,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAA;AAE5E,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC;IACzD,CAAC,CAAC,MAAM,CAAC;QACP,YAAY,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,eAAe,CAAC,CAAC;QACnF,eAAe,EAAE,uBAAuB;QACxC,oBAAoB,EAAE,6BAA6B;KACpD,CAAC;IACF,CAAC,CAAC,MAAM,CAAC;QACP,YAAY,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QAC3E,eAAe,EAAE,CAAC,CAAC,IAAI,EAAE;QACzB,oBAAoB,EAAE,6BAA6B;KACpD,CAAC;CACH,CAAC,CAAA"}
|