@lokalise/maestro-nextgen-tenant-lib 8.2.3 → 8.2.4
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.
|
@@ -1,206 +1,206 @@
|
|
|
1
|
-
export declare const getTaskListContract: import("@lokalise/api-contracts").GetRouteDefinition<import("zod
|
|
2
|
-
data: import("zod
|
|
3
|
-
id: import("zod
|
|
4
|
-
publicId: import("zod
|
|
5
|
-
title: import("zod
|
|
6
|
-
type: import("zod
|
|
1
|
+
export declare const getTaskListContract: import("@lokalise/api-contracts").GetRouteDefinition<import("zod").ZodObject<{
|
|
2
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3
|
+
id: import("zod").ZodString;
|
|
4
|
+
publicId: import("zod").ZodString;
|
|
5
|
+
title: import("zod").ZodString;
|
|
6
|
+
type: import("zod").ZodEnum<{
|
|
7
7
|
review: "review";
|
|
8
8
|
}>;
|
|
9
|
-
status: import("zod
|
|
9
|
+
status: import("zod").ZodEnum<{
|
|
10
10
|
created: "created";
|
|
11
11
|
in_progress: "in_progress";
|
|
12
12
|
closed: "closed";
|
|
13
13
|
}>;
|
|
14
|
-
taskAssignments: import("zod
|
|
15
|
-
languageId: import("zod
|
|
16
|
-
assignees: import("zod
|
|
17
|
-
contributorId: import("zod
|
|
18
|
-
type: import("zod
|
|
14
|
+
taskAssignments: import("zod").ZodArray<import("zod").ZodObject<{
|
|
15
|
+
languageId: import("zod").ZodString;
|
|
16
|
+
assignees: import("zod").ZodArray<import("zod").ZodObject<{
|
|
17
|
+
contributorId: import("zod").ZodUUID;
|
|
18
|
+
type: import("zod").ZodEnum<{
|
|
19
19
|
user: "user";
|
|
20
20
|
user_group: "user_group";
|
|
21
21
|
}>;
|
|
22
22
|
}, import("zod/v4/core").$strip>>;
|
|
23
|
-
progress: import("zod
|
|
24
|
-
completedUnits: import("zod
|
|
25
|
-
totalUnits: import("zod
|
|
26
|
-
completedWords: import("zod
|
|
27
|
-
totalWords: import("zod
|
|
23
|
+
progress: import("zod").ZodObject<{
|
|
24
|
+
completedUnits: import("zod").ZodNumber;
|
|
25
|
+
totalUnits: import("zod").ZodNumber;
|
|
26
|
+
completedWords: import("zod").ZodNumber;
|
|
27
|
+
totalWords: import("zod").ZodNumber;
|
|
28
28
|
}, import("zod/v4/core").$strip>;
|
|
29
|
-
segments: import("zod
|
|
30
|
-
id: import("zod
|
|
31
|
-
unitId: import("zod
|
|
32
|
-
status: import("zod
|
|
29
|
+
segments: import("zod").ZodArray<import("zod").ZodObject<{
|
|
30
|
+
id: import("zod").ZodString;
|
|
31
|
+
unitId: import("zod").ZodString;
|
|
32
|
+
status: import("zod").ZodEnum<{
|
|
33
33
|
pending: "pending";
|
|
34
34
|
completed: "completed";
|
|
35
35
|
}>;
|
|
36
|
-
createdAt: import("zod
|
|
37
|
-
completedAt: import("zod
|
|
36
|
+
createdAt: import("zod").ZodISODateTime;
|
|
37
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodISODateTime>>;
|
|
38
38
|
}, import("zod/v4/core").$strip>>;
|
|
39
39
|
}, import("zod/v4/core").$strip>>;
|
|
40
|
-
dueDate: import("zod
|
|
41
|
-
createdAt: import("zod
|
|
40
|
+
dueDate: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodISODateTime>>;
|
|
41
|
+
createdAt: import("zod").ZodISODateTime;
|
|
42
42
|
}, import("zod/v4/core").$strip>>;
|
|
43
|
-
meta: import("zod
|
|
44
|
-
count: import("zod
|
|
45
|
-
cursor: import("zod
|
|
46
|
-
hasMore: import("zod
|
|
43
|
+
meta: import("zod").ZodObject<{
|
|
44
|
+
count: import("zod").ZodNumber;
|
|
45
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
46
|
+
hasMore: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
47
47
|
}, import("zod/v4/core").$strip>;
|
|
48
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
49
|
-
groupId: import("zod
|
|
50
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
51
|
-
limit: import("zod
|
|
52
|
-
after: import("zod
|
|
53
|
-
'filter-ids': import("zod
|
|
54
|
-
'filter-item-ids': import("zod
|
|
55
|
-
'include-segments': import("zod
|
|
56
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
57
|
-
authorization: import("zod
|
|
48
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
49
|
+
groupId: import("zod").ZodString;
|
|
50
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
51
|
+
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
|
|
52
|
+
after: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
53
|
+
'filter-ids': import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
54
|
+
'filter-item-ids': import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodArray<import("zod").ZodGUID>>>;
|
|
55
|
+
'include-segments': import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedBoolean<unknown>>>;
|
|
56
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
57
|
+
authorization: import("zod").ZodString;
|
|
58
58
|
}, import("zod/v4/core").$strip>, undefined, false, false, {
|
|
59
|
-
200: import("zod
|
|
60
|
-
data: import("zod
|
|
61
|
-
id: import("zod
|
|
62
|
-
publicId: import("zod
|
|
63
|
-
title: import("zod
|
|
64
|
-
type: import("zod
|
|
59
|
+
200: import("zod").ZodObject<{
|
|
60
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
61
|
+
id: import("zod").ZodString;
|
|
62
|
+
publicId: import("zod").ZodString;
|
|
63
|
+
title: import("zod").ZodString;
|
|
64
|
+
type: import("zod").ZodEnum<{
|
|
65
65
|
review: "review";
|
|
66
66
|
}>;
|
|
67
|
-
status: import("zod
|
|
67
|
+
status: import("zod").ZodEnum<{
|
|
68
68
|
created: "created";
|
|
69
69
|
in_progress: "in_progress";
|
|
70
70
|
closed: "closed";
|
|
71
71
|
}>;
|
|
72
|
-
taskAssignments: import("zod
|
|
73
|
-
languageId: import("zod
|
|
74
|
-
assignees: import("zod
|
|
75
|
-
contributorId: import("zod
|
|
76
|
-
type: import("zod
|
|
72
|
+
taskAssignments: import("zod").ZodArray<import("zod").ZodObject<{
|
|
73
|
+
languageId: import("zod").ZodString;
|
|
74
|
+
assignees: import("zod").ZodArray<import("zod").ZodObject<{
|
|
75
|
+
contributorId: import("zod").ZodUUID;
|
|
76
|
+
type: import("zod").ZodEnum<{
|
|
77
77
|
user: "user";
|
|
78
78
|
user_group: "user_group";
|
|
79
79
|
}>;
|
|
80
80
|
}, import("zod/v4/core").$strip>>;
|
|
81
|
-
progress: import("zod
|
|
82
|
-
completedUnits: import("zod
|
|
83
|
-
totalUnits: import("zod
|
|
84
|
-
completedWords: import("zod
|
|
85
|
-
totalWords: import("zod
|
|
81
|
+
progress: import("zod").ZodObject<{
|
|
82
|
+
completedUnits: import("zod").ZodNumber;
|
|
83
|
+
totalUnits: import("zod").ZodNumber;
|
|
84
|
+
completedWords: import("zod").ZodNumber;
|
|
85
|
+
totalWords: import("zod").ZodNumber;
|
|
86
86
|
}, import("zod/v4/core").$strip>;
|
|
87
|
-
segments: import("zod
|
|
88
|
-
id: import("zod
|
|
89
|
-
unitId: import("zod
|
|
90
|
-
status: import("zod
|
|
87
|
+
segments: import("zod").ZodArray<import("zod").ZodObject<{
|
|
88
|
+
id: import("zod").ZodString;
|
|
89
|
+
unitId: import("zod").ZodString;
|
|
90
|
+
status: import("zod").ZodEnum<{
|
|
91
91
|
pending: "pending";
|
|
92
92
|
completed: "completed";
|
|
93
93
|
}>;
|
|
94
|
-
createdAt: import("zod
|
|
95
|
-
completedAt: import("zod
|
|
94
|
+
createdAt: import("zod").ZodISODateTime;
|
|
95
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodISODateTime>>;
|
|
96
96
|
}, import("zod/v4/core").$strip>>;
|
|
97
97
|
}, import("zod/v4/core").$strip>>;
|
|
98
|
-
dueDate: import("zod
|
|
99
|
-
createdAt: import("zod
|
|
98
|
+
dueDate: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodISODateTime>>;
|
|
99
|
+
createdAt: import("zod").ZodISODateTime;
|
|
100
100
|
}, import("zod/v4/core").$strip>>;
|
|
101
|
-
meta: import("zod
|
|
102
|
-
count: import("zod
|
|
103
|
-
cursor: import("zod
|
|
104
|
-
hasMore: import("zod
|
|
101
|
+
meta: import("zod").ZodObject<{
|
|
102
|
+
count: import("zod").ZodNumber;
|
|
103
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
104
|
+
hasMore: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
105
105
|
}, import("zod/v4/core").$strip>;
|
|
106
106
|
}, import("zod/v4/core").$strip>;
|
|
107
|
-
400: import("zod
|
|
108
|
-
message: import("zod
|
|
109
|
-
errorCode: import("zod
|
|
110
|
-
details: import("zod
|
|
107
|
+
400: import("zod").ZodObject<{
|
|
108
|
+
message: import("zod").ZodString;
|
|
109
|
+
errorCode: import("zod").ZodString;
|
|
110
|
+
details: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
111
111
|
}, import("zod/v4/core").$strip>;
|
|
112
|
-
403: import("zod
|
|
113
|
-
message: import("zod
|
|
114
|
-
errorCode: import("zod
|
|
115
|
-
details: import("zod
|
|
112
|
+
403: import("zod").ZodObject<{
|
|
113
|
+
message: import("zod").ZodString;
|
|
114
|
+
errorCode: import("zod").ZodString;
|
|
115
|
+
details: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
116
116
|
}, import("zod/v4/core").$strip>;
|
|
117
|
-
404: import("zod
|
|
118
|
-
message: import("zod
|
|
119
|
-
errorCode: import("zod
|
|
120
|
-
details: import("zod
|
|
117
|
+
404: import("zod").ZodObject<{
|
|
118
|
+
message: import("zod").ZodString;
|
|
119
|
+
errorCode: import("zod").ZodString;
|
|
120
|
+
details: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
121
121
|
}, import("zod/v4/core").$strip>;
|
|
122
122
|
}>;
|
|
123
|
-
export declare const getAccessibleTaskListContract: import("@lokalise/api-contracts").GetRouteDefinition<import("zod
|
|
124
|
-
data: import("zod
|
|
125
|
-
id: import("zod
|
|
126
|
-
title: import("zod
|
|
127
|
-
publicId: import("zod
|
|
123
|
+
export declare const getAccessibleTaskListContract: import("@lokalise/api-contracts").GetRouteDefinition<import("zod").ZodObject<{
|
|
124
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
125
|
+
id: import("zod").ZodString;
|
|
126
|
+
title: import("zod").ZodString;
|
|
127
|
+
publicId: import("zod").ZodString;
|
|
128
128
|
}, import("zod/v4/core").$strip>>;
|
|
129
|
-
meta: import("zod
|
|
130
|
-
count: import("zod
|
|
131
|
-
cursor: import("zod
|
|
132
|
-
hasMore: import("zod
|
|
129
|
+
meta: import("zod").ZodObject<{
|
|
130
|
+
count: import("zod").ZodNumber;
|
|
131
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
132
|
+
hasMore: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
133
133
|
}, import("zod/v4/core").$strip>;
|
|
134
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
135
|
-
groupId: import("zod
|
|
136
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
137
|
-
limit: import("zod
|
|
138
|
-
after: import("zod
|
|
139
|
-
'filter-ids': import("zod
|
|
140
|
-
}, import("zod/v4/core").$strip>, import("zod
|
|
141
|
-
authorization: import("zod
|
|
134
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
135
|
+
groupId: import("zod").ZodString;
|
|
136
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
137
|
+
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
|
|
138
|
+
after: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
139
|
+
'filter-ids': import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
140
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
141
|
+
authorization: import("zod").ZodString;
|
|
142
142
|
}, import("zod/v4/core").$strip>, undefined, false, false, {
|
|
143
|
-
200: import("zod
|
|
144
|
-
data: import("zod
|
|
145
|
-
id: import("zod
|
|
146
|
-
title: import("zod
|
|
147
|
-
publicId: import("zod
|
|
143
|
+
200: import("zod").ZodObject<{
|
|
144
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
145
|
+
id: import("zod").ZodString;
|
|
146
|
+
title: import("zod").ZodString;
|
|
147
|
+
publicId: import("zod").ZodString;
|
|
148
148
|
}, import("zod/v4/core").$strip>>;
|
|
149
|
-
meta: import("zod
|
|
150
|
-
count: import("zod
|
|
151
|
-
cursor: import("zod
|
|
152
|
-
hasMore: import("zod
|
|
149
|
+
meta: import("zod").ZodObject<{
|
|
150
|
+
count: import("zod").ZodNumber;
|
|
151
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
152
|
+
hasMore: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
153
153
|
}, import("zod/v4/core").$strip>;
|
|
154
154
|
}, import("zod/v4/core").$strip>;
|
|
155
|
-
400: import("zod
|
|
156
|
-
message: import("zod
|
|
157
|
-
errorCode: import("zod
|
|
158
|
-
details: import("zod
|
|
155
|
+
400: import("zod").ZodObject<{
|
|
156
|
+
message: import("zod").ZodString;
|
|
157
|
+
errorCode: import("zod").ZodString;
|
|
158
|
+
details: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
159
159
|
}, import("zod/v4/core").$strip>;
|
|
160
|
-
403: import("zod
|
|
161
|
-
message: import("zod
|
|
162
|
-
errorCode: import("zod
|
|
163
|
-
details: import("zod
|
|
160
|
+
403: import("zod").ZodObject<{
|
|
161
|
+
message: import("zod").ZodString;
|
|
162
|
+
errorCode: import("zod").ZodString;
|
|
163
|
+
details: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
164
164
|
}, import("zod/v4/core").$strip>;
|
|
165
|
-
404: import("zod
|
|
166
|
-
message: import("zod
|
|
167
|
-
errorCode: import("zod
|
|
168
|
-
details: import("zod
|
|
165
|
+
404: import("zod").ZodObject<{
|
|
166
|
+
message: import("zod").ZodString;
|
|
167
|
+
errorCode: import("zod").ZodString;
|
|
168
|
+
details: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
169
169
|
}, import("zod/v4/core").$strip>;
|
|
170
170
|
}>;
|
|
171
|
-
export declare const updateTaskContract: import("@lokalise/api-contracts").PayloadRouteDefinition<import("zod
|
|
172
|
-
title: import("zod
|
|
173
|
-
dueDate: import("zod
|
|
174
|
-
taskAssignments: import("zod
|
|
175
|
-
languageId: import("zod
|
|
176
|
-
assignees: import("zod
|
|
177
|
-
contributorId: import("zod
|
|
178
|
-
type: import("zod
|
|
171
|
+
export declare const updateTaskContract: import("@lokalise/api-contracts").PayloadRouteDefinition<import("zod").ZodObject<{
|
|
172
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
173
|
+
dueDate: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodISODateTime>>;
|
|
174
|
+
taskAssignments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
175
|
+
languageId: import("zod").ZodString;
|
|
176
|
+
assignees: import("zod").ZodArray<import("zod").ZodObject<{
|
|
177
|
+
contributorId: import("zod").ZodUUID;
|
|
178
|
+
type: import("zod").ZodEnum<{
|
|
179
179
|
user: "user";
|
|
180
180
|
user_group: "user_group";
|
|
181
181
|
}>;
|
|
182
182
|
}, import("zod/v4/core").$strip>>;
|
|
183
183
|
}, import("zod/v4/core").$strict>>>;
|
|
184
|
-
}, import("zod/v4/core").$strict>, import("zod
|
|
185
|
-
groupId: import("zod
|
|
186
|
-
taskId: import("zod
|
|
187
|
-
}, import("zod/v4/core").$strip>, undefined, import("zod
|
|
188
|
-
authorization: import("zod
|
|
184
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodVoid, import("zod").ZodObject<{
|
|
185
|
+
groupId: import("zod").ZodString;
|
|
186
|
+
taskId: import("zod").ZodString;
|
|
187
|
+
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
|
|
188
|
+
authorization: import("zod").ZodString;
|
|
189
189
|
}, import("zod/v4/core").$strip>, undefined, false, false, {
|
|
190
|
-
204: import("zod
|
|
191
|
-
400: import("zod
|
|
192
|
-
message: import("zod
|
|
193
|
-
errorCode: import("zod
|
|
194
|
-
details: import("zod
|
|
190
|
+
204: import("zod").ZodVoid;
|
|
191
|
+
400: import("zod").ZodObject<{
|
|
192
|
+
message: import("zod").ZodString;
|
|
193
|
+
errorCode: import("zod").ZodString;
|
|
194
|
+
details: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
195
195
|
}, import("zod/v4/core").$strip>;
|
|
196
|
-
403: import("zod
|
|
197
|
-
message: import("zod
|
|
198
|
-
errorCode: import("zod
|
|
199
|
-
details: import("zod
|
|
196
|
+
403: import("zod").ZodObject<{
|
|
197
|
+
message: import("zod").ZodString;
|
|
198
|
+
errorCode: import("zod").ZodString;
|
|
199
|
+
details: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
200
200
|
}, import("zod/v4/core").$strip>;
|
|
201
|
-
404: import("zod
|
|
202
|
-
message: import("zod
|
|
203
|
-
errorCode: import("zod
|
|
204
|
-
details: import("zod
|
|
201
|
+
404: import("zod").ZodObject<{
|
|
202
|
+
message: import("zod").ZodString;
|
|
203
|
+
errorCode: import("zod").ZodString;
|
|
204
|
+
details: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
205
205
|
}, import("zod/v4/core").$strip>;
|
|
206
206
|
}>;
|
|
@@ -8,8 +8,6 @@ export declare const AutopilotLastChangeSourceEnum: {
|
|
|
8
8
|
};
|
|
9
9
|
export declare const AutopilotSegmentEvents: {
|
|
10
10
|
'segment.bulk.updated': {
|
|
11
|
-
producedBy: string[];
|
|
12
|
-
snsTopic: string;
|
|
13
11
|
consumerSchema: z.ZodObject<{
|
|
14
12
|
id: z.ZodString;
|
|
15
13
|
timestamp: z.ZodISODateTime;
|
|
@@ -21,8 +19,8 @@ export declare const AutopilotSegmentEvents: {
|
|
|
21
19
|
userId: z.ZodOptional<z.ZodNullable<z.ZodGUID>>;
|
|
22
20
|
workspaceId: z.ZodGUID;
|
|
23
21
|
updatedFields: z.ZodArray<z.ZodEnum<{
|
|
24
|
-
value: "value";
|
|
25
22
|
status: "status";
|
|
23
|
+
value: "value";
|
|
26
24
|
}>>;
|
|
27
25
|
segments: z.ZodArray<z.ZodObject<{
|
|
28
26
|
id: z.ZodGUID;
|
|
@@ -67,6 +65,12 @@ export declare const AutopilotSegmentEvents: {
|
|
|
67
65
|
segmentId: z.ZodString;
|
|
68
66
|
polyglotRefId: z.ZodString;
|
|
69
67
|
}, z.core.$strip>>;
|
|
68
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
+
type: z.ZodLiteral<"HISTORY_RESTORE">;
|
|
70
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
71
|
+
segmentId: z.ZodString;
|
|
72
|
+
restoredFromVersionId: z.ZodString;
|
|
73
|
+
}, z.core.$strip>>;
|
|
70
74
|
}, z.core.$strip>], "type">>;
|
|
71
75
|
}, z.core.$strip>;
|
|
72
76
|
metadata: import("@message-queue-toolkit/schemas").MetadataObject;
|
|
@@ -82,8 +86,8 @@ export declare const AutopilotSegmentEvents: {
|
|
|
82
86
|
userId: z.ZodOptional<z.ZodNullable<z.ZodGUID>>;
|
|
83
87
|
workspaceId: z.ZodGUID;
|
|
84
88
|
updatedFields: z.ZodArray<z.ZodEnum<{
|
|
85
|
-
value: "value";
|
|
86
89
|
status: "status";
|
|
90
|
+
value: "value";
|
|
87
91
|
}>>;
|
|
88
92
|
segments: z.ZodArray<z.ZodObject<{
|
|
89
93
|
id: z.ZodGUID;
|
|
@@ -128,6 +132,12 @@ export declare const AutopilotSegmentEvents: {
|
|
|
128
132
|
segmentId: z.ZodString;
|
|
129
133
|
polyglotRefId: z.ZodString;
|
|
130
134
|
}, z.core.$strip>>;
|
|
135
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
136
|
+
type: z.ZodLiteral<"HISTORY_RESTORE">;
|
|
137
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
138
|
+
segmentId: z.ZodString;
|
|
139
|
+
restoredFromVersionId: z.ZodString;
|
|
140
|
+
}, z.core.$strip>>;
|
|
131
141
|
}, z.core.$strip>], "type">>;
|
|
132
142
|
}, z.core.$strip>;
|
|
133
143
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -137,10 +147,10 @@ export declare const AutopilotSegmentEvents: {
|
|
|
137
147
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
138
148
|
}>>;
|
|
139
149
|
}, z.core.$strip>;
|
|
140
|
-
};
|
|
141
|
-
'segment.bulk.transferred': {
|
|
142
150
|
producedBy: string[];
|
|
143
151
|
snsTopic: string;
|
|
152
|
+
};
|
|
153
|
+
'segment.bulk.transferred': {
|
|
144
154
|
consumerSchema: z.ZodObject<{
|
|
145
155
|
id: z.ZodString;
|
|
146
156
|
timestamp: z.ZodISODateTime;
|
|
@@ -176,6 +186,8 @@ export declare const AutopilotSegmentEvents: {
|
|
|
176
186
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
177
187
|
}>>;
|
|
178
188
|
}, z.core.$strip>;
|
|
189
|
+
producedBy: string[];
|
|
190
|
+
snsTopic: string;
|
|
179
191
|
};
|
|
180
192
|
};
|
|
181
193
|
export declare const TASK_PROGRESS_UPDATE_EVENT_PAYLOAD_SCHEMA: z.ZodObject<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokalise/maestro-nextgen-tenant-lib",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"homepage": "https://github.com/lokalise/maestro",
|
|
6
6
|
"description": "This library provides objects, types and zod schemas for NextGen tenant to work with Maestro",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"@lokalise/api-contracts": ">=6.9.0",
|
|
33
33
|
"@lokalise/common-api-schemas": ">=2.1.0",
|
|
34
34
|
"@lokalise/maestro-common": ">=6.0.0",
|
|
35
|
-
"@lokalise/translation-storage-api-schemas": ">=
|
|
36
|
-
"@lokalise/translation-storage-events-schemas": ">=
|
|
35
|
+
"@lokalise/translation-storage-api-schemas": ">=10.0.0",
|
|
36
|
+
"@lokalise/translation-storage-events-schemas": ">=8.0.0",
|
|
37
37
|
"zod": ">=4.3.6"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|