@lokalise/content-type-app-engine-contracts 5.18.0 → 5.19.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.
@@ -169,13 +169,14 @@ export declare const getConnectorManifest: import("@lokalise/api-contracts").Get
169
169
  name: z.ZodString;
170
170
  }, z.core.$strip>>>;
171
171
  dataSource: z.ZodObject<{
172
+ type: z.ZodEnum<{
173
+ contentEngine: "contentEngine";
174
+ connector: "connector";
175
+ }>;
172
176
  query: z.ZodString;
173
- search: z.ZodDiscriminatedUnion<[z.ZodObject<{
174
- type: z.ZodLiteral<"local">;
175
- }, z.core.$strip>, z.ZodObject<{
176
- type: z.ZodLiteral<"external">;
177
+ search: z.ZodObject<{
177
178
  query: z.ZodString;
178
- }, z.core.$strip>], "type">;
179
+ }, z.core.$strip>;
179
180
  }, z.core.$strip>;
180
181
  dependsOn: z.ZodOptional<z.ZodString>;
181
182
  type: z.ZodLiteral<"async-multiselect">;
@@ -221,13 +222,14 @@ export declare const getConnectorManifest: import("@lokalise/api-contracts").Get
221
222
  name: z.ZodString;
222
223
  }, z.core.$strip>>>;
223
224
  dataSource: z.ZodObject<{
225
+ type: z.ZodEnum<{
226
+ contentEngine: "contentEngine";
227
+ connector: "connector";
228
+ }>;
224
229
  query: z.ZodString;
225
- search: z.ZodDiscriminatedUnion<[z.ZodObject<{
226
- type: z.ZodLiteral<"local">;
227
- }, z.core.$strip>, z.ZodObject<{
228
- type: z.ZodLiteral<"external">;
230
+ search: z.ZodObject<{
229
231
  query: z.ZodString;
230
- }, z.core.$strip>], "type">;
232
+ }, z.core.$strip>;
231
233
  }, z.core.$strip>;
232
234
  dependsOn: z.ZodOptional<z.ZodString>;
233
235
  type: z.ZodLiteral<"async-select">;
@@ -394,13 +396,14 @@ export declare const getConnectorManifest: import("@lokalise/api-contracts").Get
394
396
  name: z.ZodString;
395
397
  }, z.core.$strip>>>;
396
398
  dataSource: z.ZodObject<{
399
+ type: z.ZodEnum<{
400
+ contentEngine: "contentEngine";
401
+ connector: "connector";
402
+ }>;
397
403
  query: z.ZodString;
398
- search: z.ZodDiscriminatedUnion<[z.ZodObject<{
399
- type: z.ZodLiteral<"local">;
400
- }, z.core.$strip>, z.ZodObject<{
401
- type: z.ZodLiteral<"external">;
404
+ search: z.ZodObject<{
402
405
  query: z.ZodString;
403
- }, z.core.$strip>], "type">;
406
+ }, z.core.$strip>;
404
407
  }, z.core.$strip>;
405
408
  dependsOn: z.ZodOptional<z.ZodString>;
406
409
  type: z.ZodLiteral<"async-multiselect">;
@@ -446,13 +449,14 @@ export declare const getConnectorManifest: import("@lokalise/api-contracts").Get
446
449
  name: z.ZodString;
447
450
  }, z.core.$strip>>>;
448
451
  dataSource: z.ZodObject<{
452
+ type: z.ZodEnum<{
453
+ contentEngine: "contentEngine";
454
+ connector: "connector";
455
+ }>;
449
456
  query: z.ZodString;
450
- search: z.ZodDiscriminatedUnion<[z.ZodObject<{
451
- type: z.ZodLiteral<"local">;
452
- }, z.core.$strip>, z.ZodObject<{
453
- type: z.ZodLiteral<"external">;
457
+ search: z.ZodObject<{
454
458
  query: z.ZodString;
455
- }, z.core.$strip>], "type">;
459
+ }, z.core.$strip>;
456
460
  }, z.core.$strip>;
457
461
  dependsOn: z.ZodOptional<z.ZodString>;
458
462
  type: z.ZodLiteral<"async-select">;
@@ -139,13 +139,14 @@ export declare const GET_CONNECTOR_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
139
139
  name: z.ZodString;
140
140
  }, z.core.$strip>>>;
141
141
  dataSource: z.ZodObject<{
142
+ type: z.ZodEnum<{
143
+ contentEngine: "contentEngine";
144
+ connector: "connector";
145
+ }>;
142
146
  query: z.ZodString;
143
- search: z.ZodDiscriminatedUnion<[z.ZodObject<{
144
- type: z.ZodLiteral<"local">;
145
- }, z.core.$strip>, z.ZodObject<{
146
- type: z.ZodLiteral<"external">;
147
+ search: z.ZodObject<{
147
148
  query: z.ZodString;
148
- }, z.core.$strip>], "type">;
149
+ }, z.core.$strip>;
149
150
  }, z.core.$strip>;
150
151
  dependsOn: z.ZodOptional<z.ZodString>;
151
152
  type: z.ZodLiteral<"async-multiselect">;
@@ -191,13 +192,14 @@ export declare const GET_CONNECTOR_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
191
192
  name: z.ZodString;
192
193
  }, z.core.$strip>>>;
193
194
  dataSource: z.ZodObject<{
195
+ type: z.ZodEnum<{
196
+ contentEngine: "contentEngine";
197
+ connector: "connector";
198
+ }>;
194
199
  query: z.ZodString;
195
- search: z.ZodDiscriminatedUnion<[z.ZodObject<{
196
- type: z.ZodLiteral<"local">;
197
- }, z.core.$strip>, z.ZodObject<{
198
- type: z.ZodLiteral<"external">;
200
+ search: z.ZodObject<{
199
201
  query: z.ZodString;
200
- }, z.core.$strip>], "type">;
202
+ }, z.core.$strip>;
201
203
  }, z.core.$strip>;
202
204
  dependsOn: z.ZodOptional<z.ZodString>;
203
205
  type: z.ZodLiteral<"async-select">;
@@ -172,13 +172,14 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
172
172
  name: z.ZodString;
173
173
  }, z.core.$strip>>>;
174
174
  dataSource: z.ZodObject<{
175
+ type: z.ZodEnum<{
176
+ contentEngine: "contentEngine";
177
+ connector: "connector";
178
+ }>;
175
179
  query: z.ZodString;
176
- search: z.ZodDiscriminatedUnion<[z.ZodObject<{
177
- type: z.ZodLiteral<"local">;
178
- }, z.core.$strip>, z.ZodObject<{
179
- type: z.ZodLiteral<"external">;
180
+ search: z.ZodObject<{
180
181
  query: z.ZodString;
181
- }, z.core.$strip>], "type">;
182
+ }, z.core.$strip>;
182
183
  }, z.core.$strip>;
183
184
  dependsOn: z.ZodOptional<z.ZodString>;
184
185
  type: z.ZodLiteral<"async-multiselect">;
@@ -224,13 +225,14 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
224
225
  name: z.ZodString;
225
226
  }, z.core.$strip>>>;
226
227
  dataSource: z.ZodObject<{
228
+ type: z.ZodEnum<{
229
+ contentEngine: "contentEngine";
230
+ connector: "connector";
231
+ }>;
227
232
  query: z.ZodString;
228
- search: z.ZodDiscriminatedUnion<[z.ZodObject<{
229
- type: z.ZodLiteral<"local">;
230
- }, z.core.$strip>, z.ZodObject<{
231
- type: z.ZodLiteral<"external">;
233
+ search: z.ZodObject<{
232
234
  query: z.ZodString;
233
- }, z.core.$strip>], "type">;
235
+ }, z.core.$strip>;
234
236
  }, z.core.$strip>;
235
237
  dependsOn: z.ZodOptional<z.ZodString>;
236
238
  type: z.ZodLiteral<"async-select">;
@@ -394,13 +396,14 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
394
396
  name: z.ZodString;
395
397
  }, z.core.$strip>>>;
396
398
  dataSource: z.ZodObject<{
399
+ type: z.ZodEnum<{
400
+ contentEngine: "contentEngine";
401
+ connector: "connector";
402
+ }>;
397
403
  query: z.ZodString;
398
- search: z.ZodDiscriminatedUnion<[z.ZodObject<{
399
- type: z.ZodLiteral<"local">;
400
- }, z.core.$strip>, z.ZodObject<{
401
- type: z.ZodLiteral<"external">;
404
+ search: z.ZodObject<{
402
405
  query: z.ZodString;
403
- }, z.core.$strip>], "type">;
406
+ }, z.core.$strip>;
404
407
  }, z.core.$strip>;
405
408
  dependsOn: z.ZodOptional<z.ZodString>;
406
409
  type: z.ZodLiteral<"async-multiselect">;
@@ -446,13 +449,14 @@ export declare const getIntegrationManifestContract: import("@lokalise/api-contr
446
449
  name: z.ZodString;
447
450
  }, z.core.$strip>>>;
448
451
  dataSource: z.ZodObject<{
452
+ type: z.ZodEnum<{
453
+ contentEngine: "contentEngine";
454
+ connector: "connector";
455
+ }>;
449
456
  query: z.ZodString;
450
- search: z.ZodDiscriminatedUnion<[z.ZodObject<{
451
- type: z.ZodLiteral<"local">;
452
- }, z.core.$strip>, z.ZodObject<{
453
- type: z.ZodLiteral<"external">;
457
+ search: z.ZodObject<{
454
458
  query: z.ZodString;
455
- }, z.core.$strip>], "type">;
459
+ }, z.core.$strip>;
456
460
  }, z.core.$strip>;
457
461
  dependsOn: z.ZodOptional<z.ZodString>;
458
462
  type: z.ZodLiteral<"async-select">;
@@ -175,13 +175,14 @@ export declare const GET_INTEGRATION_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
175
175
  name: z.ZodString;
176
176
  }, z.core.$strip>>>;
177
177
  dataSource: z.ZodObject<{
178
+ type: z.ZodEnum<{
179
+ contentEngine: "contentEngine";
180
+ connector: "connector";
181
+ }>;
178
182
  query: z.ZodString;
179
- search: z.ZodDiscriminatedUnion<[z.ZodObject<{
180
- type: z.ZodLiteral<"local">;
181
- }, z.core.$strip>, z.ZodObject<{
182
- type: z.ZodLiteral<"external">;
183
+ search: z.ZodObject<{
183
184
  query: z.ZodString;
184
- }, z.core.$strip>], "type">;
185
+ }, z.core.$strip>;
185
186
  }, z.core.$strip>;
186
187
  dependsOn: z.ZodOptional<z.ZodString>;
187
188
  type: z.ZodLiteral<"async-multiselect">;
@@ -227,13 +228,14 @@ export declare const GET_INTEGRATION_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
227
228
  name: z.ZodString;
228
229
  }, z.core.$strip>>>;
229
230
  dataSource: z.ZodObject<{
231
+ type: z.ZodEnum<{
232
+ contentEngine: "contentEngine";
233
+ connector: "connector";
234
+ }>;
230
235
  query: z.ZodString;
231
- search: z.ZodDiscriminatedUnion<[z.ZodObject<{
232
- type: z.ZodLiteral<"local">;
233
- }, z.core.$strip>, z.ZodObject<{
234
- type: z.ZodLiteral<"external">;
236
+ search: z.ZodObject<{
235
237
  query: z.ZodString;
236
- }, z.core.$strip>], "type">;
238
+ }, z.core.$strip>;
237
239
  }, z.core.$strip>;
238
240
  dependsOn: z.ZodOptional<z.ZodString>;
239
241
  type: z.ZodLiteral<"async-select">;
@@ -1,38 +1,55 @@
1
- export declare const getLinkItemGroupsContract: import("@lokalise/api-contracts").GetRouteDefinition<import("zod").ZodObject<{
2
- items: import("zod").ZodArray<import("zod").ZodObject<{
3
- id: import("zod").ZodString;
4
- name: import("zod").ZodString;
5
- parentItemGroupId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
6
- details: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>;
7
- }, import("zod/v4/core").$strip>>;
8
- hasMore: import("zod").ZodOptional<import("zod").ZodBoolean>;
9
- nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
10
- }, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
11
- limit: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
12
- cursor: import("zod").ZodOptional<import("zod").ZodString>;
13
- defaultLocale: import("zod").ZodOptional<import("zod").ZodString>;
14
- $filter: import("zod").ZodOptional<import("zod").ZodString>;
15
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
16
- authorization: import("zod").ZodOptional<import("zod").ZodString>;
17
- }, import("zod/v4/core").$strip>, undefined, false, false, {
18
- 200: import("zod").ZodObject<{
19
- items: import("zod").ZodArray<import("zod").ZodObject<{
20
- id: import("zod").ZodString;
21
- name: import("zod").ZodString;
22
- parentItemGroupId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
23
- details: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>;
24
- }, import("zod/v4/core").$strip>>;
25
- hasMore: import("zod").ZodOptional<import("zod").ZodBoolean>;
26
- nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
27
- }, import("zod/v4/core").$strip>;
28
- 401: import("zod").ZodObject<{
29
- message: import("zod").ZodString;
30
- errorCode: import("zod").ZodString;
31
- details: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
32
- }, import("zod/v4/core").$strip>;
33
- 404: import("zod").ZodObject<{
34
- message: import("zod").ZodString;
35
- errorCode: import("zod").ZodString;
36
- details: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
37
- }, import("zod/v4/core").$strip>;
1
+ import type { z } from 'zod/v4';
2
+ declare const LINK_ITEM_GROUPS_QUERY_STRING: z.ZodObject<{
3
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
4
+ cursor: z.ZodOptional<z.ZodString>;
5
+ defaultLocale: z.ZodOptional<z.ZodString>;
6
+ $filter: z.ZodOptional<z.ZodString>;
7
+ dataSource: z.ZodOptional<z.ZodEnum<{
8
+ contentEngine: "contentEngine";
9
+ connector: "connector";
10
+ }>>;
11
+ }, z.core.$strip>;
12
+ export type LinkItemGroupsQueryString = z.infer<typeof LINK_ITEM_GROUPS_QUERY_STRING>;
13
+ export declare const getLinkItemGroupsContract: import("@lokalise/api-contracts").GetRouteDefinition<z.ZodObject<{
14
+ items: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodString;
16
+ name: z.ZodString;
17
+ parentItemGroupId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18
+ details: z.ZodRecord<z.ZodString, z.ZodAny>;
19
+ }, z.core.$strip>>;
20
+ hasMore: z.ZodOptional<z.ZodBoolean>;
21
+ nextCursor: z.ZodOptional<z.ZodString>;
22
+ }, z.core.$strip>, undefined, z.ZodObject<{
23
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
24
+ cursor: z.ZodOptional<z.ZodString>;
25
+ defaultLocale: z.ZodOptional<z.ZodString>;
26
+ $filter: z.ZodOptional<z.ZodString>;
27
+ dataSource: z.ZodOptional<z.ZodEnum<{
28
+ contentEngine: "contentEngine";
29
+ connector: "connector";
30
+ }>>;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ authorization: z.ZodOptional<z.ZodString>;
33
+ }, z.core.$strip>, undefined, false, false, {
34
+ 200: z.ZodObject<{
35
+ items: z.ZodArray<z.ZodObject<{
36
+ id: z.ZodString;
37
+ name: z.ZodString;
38
+ parentItemGroupId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
39
+ details: z.ZodRecord<z.ZodString, z.ZodAny>;
40
+ }, z.core.$strip>>;
41
+ hasMore: z.ZodOptional<z.ZodBoolean>;
42
+ nextCursor: z.ZodOptional<z.ZodString>;
43
+ }, z.core.$strip>;
44
+ 401: z.ZodObject<{
45
+ message: z.ZodString;
46
+ errorCode: z.ZodString;
47
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
48
+ }, z.core.$strip>;
49
+ 404: z.ZodObject<{
50
+ message: z.ZodString;
51
+ errorCode: z.ZodString;
52
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
53
+ }, z.core.$strip>;
38
54
  }>;
55
+ export {};
@@ -1,10 +1,13 @@
1
1
  import { buildGetRoute } from '@lokalise/api-contracts';
2
- import { itemGroupListRequestQueryString, itemGroupListResponseBody, } from '@lokalise/connector-api-contracts';
2
+ import { FILTER_DATA_SOURCE_TYPE, itemGroupListRequestQueryString, itemGroupListResponseBody, } from '@lokalise/connector-api-contracts';
3
3
  import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from '../commonRequestSchemas.js';
4
+ const LINK_ITEM_GROUPS_QUERY_STRING = itemGroupListRequestQueryString.extend({
5
+ dataSource: FILTER_DATA_SOURCE_TYPE.optional(),
6
+ });
4
7
  export const getLinkItemGroupsContract = buildGetRoute({
5
8
  pathResolver: () => '/v1/link/item-groups',
6
9
  description: 'Get list of item groups (e.g., stories) for current link',
7
- requestQuerySchema: itemGroupListRequestQueryString,
10
+ requestQuerySchema: LINK_ITEM_GROUPS_QUERY_STRING,
8
11
  successResponseBodySchema: itemGroupListResponseBody,
9
12
  responseSchemasByStatusCode: {
10
13
  200: itemGroupListResponseBody,
@@ -1 +1 @@
1
- {"version":3,"file":"linkItemGroupApiSchemas.js","sourceRoot":"","sources":["../../../src/schemas/itemGroup/linkItemGroupApiSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,GAC1B,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,4BAA4B,CAAA;AAEnC,MAAM,CAAC,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACrD,YAAY,EAAE,GAAG,EAAE,CAAC,sBAAsB;IAC1C,WAAW,EAAE,0DAA0D;IACvE,kBAAkB,EAAE,+BAA+B;IACnD,yBAAyB,EAAE,yBAAyB;IACpD,2BAA2B,EAAE;QAC3B,GAAG,EAAE,yBAAyB;QAC9B,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;KACrC;IACD,mBAAmB,EAAE,2BAA2B;CACjD,CAAC,CAAA"}
1
+ {"version":3,"file":"linkItemGroupApiSchemas.js","sourceRoot":"","sources":["../../../src/schemas/itemGroup/linkItemGroupApiSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,EACL,uBAAuB,EACvB,+BAA+B,EAC/B,yBAAyB,GAC1B,MAAM,mCAAmC,CAAA;AAE1C,OAAO,EACL,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,4BAA4B,CAAA;AAEnC,MAAM,6BAA6B,GAAG,+BAA+B,CAAC,MAAM,CAAC;IAC3E,UAAU,EAAE,uBAAuB,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACrD,YAAY,EAAE,GAAG,EAAE,CAAC,sBAAsB;IAC1C,WAAW,EAAE,0DAA0D;IACvE,kBAAkB,EAAE,6BAA6B;IACjD,yBAAyB,EAAE,yBAAyB;IACpD,2BAA2B,EAAE;QAC3B,GAAG,EAAE,yBAAyB;QAC9B,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;KACrC;IACD,mBAAmB,EAAE,2BAA2B;CACjD,CAAC,CAAA"}
@@ -100,13 +100,14 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
100
100
  name: import("zod").ZodString;
101
101
  }, import("zod/v4/core").$strip>>>;
102
102
  dataSource: import("zod").ZodObject<{
103
+ type: import("zod").ZodEnum<{
104
+ contentEngine: "contentEngine";
105
+ connector: "connector";
106
+ }>;
103
107
  query: import("zod").ZodString;
104
- search: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
105
- type: import("zod").ZodLiteral<"local">;
106
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
107
- type: import("zod").ZodLiteral<"external">;
108
+ search: import("zod").ZodObject<{
108
109
  query: import("zod").ZodString;
109
- }, import("zod/v4/core").$strip>], "type">;
110
+ }, import("zod/v4/core").$strip>;
110
111
  }, import("zod/v4/core").$strip>;
111
112
  dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
112
113
  type: import("zod").ZodLiteral<"async-multiselect">;
@@ -152,13 +153,14 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
152
153
  name: import("zod").ZodString;
153
154
  }, import("zod/v4/core").$strip>>>;
154
155
  dataSource: import("zod").ZodObject<{
156
+ type: import("zod").ZodEnum<{
157
+ contentEngine: "contentEngine";
158
+ connector: "connector";
159
+ }>;
155
160
  query: import("zod").ZodString;
156
- search: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
157
- type: import("zod").ZodLiteral<"local">;
158
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
159
- type: import("zod").ZodLiteral<"external">;
161
+ search: import("zod").ZodObject<{
160
162
  query: import("zod").ZodString;
161
- }, import("zod/v4/core").$strip>], "type">;
163
+ }, import("zod/v4/core").$strip>;
162
164
  }, import("zod/v4/core").$strip>;
163
165
  dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
164
166
  type: import("zod").ZodLiteral<"async-select">;
@@ -320,13 +322,14 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
320
322
  name: import("zod").ZodString;
321
323
  }, import("zod/v4/core").$strip>>>;
322
324
  dataSource: import("zod").ZodObject<{
325
+ type: import("zod").ZodEnum<{
326
+ contentEngine: "contentEngine";
327
+ connector: "connector";
328
+ }>;
323
329
  query: import("zod").ZodString;
324
- search: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
325
- type: import("zod").ZodLiteral<"local">;
326
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
327
- type: import("zod").ZodLiteral<"external">;
330
+ search: import("zod").ZodObject<{
328
331
  query: import("zod").ZodString;
329
- }, import("zod/v4/core").$strip>], "type">;
332
+ }, import("zod/v4/core").$strip>;
330
333
  }, import("zod/v4/core").$strip>;
331
334
  dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
332
335
  type: import("zod").ZodLiteral<"async-multiselect">;
@@ -372,13 +375,14 @@ export declare const getLinkManifest: import("@lokalise/api-contracts").GetRoute
372
375
  name: import("zod").ZodString;
373
376
  }, import("zod/v4/core").$strip>>>;
374
377
  dataSource: import("zod").ZodObject<{
378
+ type: import("zod").ZodEnum<{
379
+ contentEngine: "contentEngine";
380
+ connector: "connector";
381
+ }>;
375
382
  query: import("zod").ZodString;
376
- search: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
377
- type: import("zod").ZodLiteral<"local">;
378
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
379
- type: import("zod").ZodLiteral<"external">;
383
+ search: import("zod").ZodObject<{
380
384
  query: import("zod").ZodString;
381
- }, import("zod/v4/core").$strip>], "type">;
385
+ }, import("zod/v4/core").$strip>;
382
386
  }, import("zod/v4/core").$strip>;
383
387
  dependsOn: import("zod").ZodOptional<import("zod").ZodString>;
384
388
  type: import("zod").ZodLiteral<"async-select">;
@@ -101,13 +101,14 @@ export declare const GET_LINK_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
101
101
  name: z.ZodString;
102
102
  }, z.core.$strip>>>;
103
103
  dataSource: z.ZodObject<{
104
+ type: z.ZodEnum<{
105
+ contentEngine: "contentEngine";
106
+ connector: "connector";
107
+ }>;
104
108
  query: z.ZodString;
105
- search: z.ZodDiscriminatedUnion<[z.ZodObject<{
106
- type: z.ZodLiteral<"local">;
107
- }, z.core.$strip>, z.ZodObject<{
108
- type: z.ZodLiteral<"external">;
109
+ search: z.ZodObject<{
109
110
  query: z.ZodString;
110
- }, z.core.$strip>], "type">;
111
+ }, z.core.$strip>;
111
112
  }, z.core.$strip>;
112
113
  dependsOn: z.ZodOptional<z.ZodString>;
113
114
  type: z.ZodLiteral<"async-multiselect">;
@@ -153,13 +154,14 @@ export declare const GET_LINK_MANIFEST_RESPONSE_SCHEMA: z.ZodObject<{
153
154
  name: z.ZodString;
154
155
  }, z.core.$strip>>>;
155
156
  dataSource: z.ZodObject<{
157
+ type: z.ZodEnum<{
158
+ contentEngine: "contentEngine";
159
+ connector: "connector";
160
+ }>;
156
161
  query: z.ZodString;
157
- search: z.ZodDiscriminatedUnion<[z.ZodObject<{
158
- type: z.ZodLiteral<"local">;
159
- }, z.core.$strip>, z.ZodObject<{
160
- type: z.ZodLiteral<"external">;
162
+ search: z.ZodObject<{
161
163
  query: z.ZodString;
162
- }, z.core.$strip>], "type">;
164
+ }, z.core.$strip>;
163
165
  }, z.core.$strip>;
164
166
  dependsOn: z.ZodOptional<z.ZodString>;
165
167
  type: z.ZodLiteral<"async-select">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokalise/content-type-app-engine-contracts",
3
- "version": "5.18.0",
3
+ "version": "5.19.0",
4
4
  "description": "Content Type App Engine service contracts",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@lokalise/api-contracts": "^6.0.0",
20
- "@lokalise/connector-api-contracts": "^8.0.0",
20
+ "@lokalise/connector-api-contracts": "^10.0.0",
21
21
  "@lokalise/content-conversion-api-schemas": "^1.1.0"
22
22
  },
23
23
  "devDependencies": {