@lokalise/content-type-app-engine-contracts 5.25.0 → 5.27.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.
@@ -1,14 +1,15 @@
1
- export declare const getContentFiltersContract: import("@lokalise/api-contracts").GetRouteDefinition<import("zod").ZodObject<{
2
- filters: import("zod").ZodArray<import("zod").ZodObject<{
3
- id: import("zod").ZodGUID;
4
- name: import("zod").ZodString;
5
- definition: import("zod").ZodArray<import("zod").ZodObject<{
6
- relation: import("zod").ZodEnum<{
1
+ import { z } from 'zod/v4';
2
+ export declare const getContentFiltersContract: import("@lokalise/api-contracts").GetRouteDefinition<z.ZodObject<{
3
+ filters: z.ZodArray<z.ZodObject<{
4
+ id: z.ZodGUID;
5
+ name: z.ZodString;
6
+ definition: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
7
+ relation: z.ZodEnum<{
7
8
  AND: "AND";
8
9
  OR: "OR";
9
10
  }>;
10
- object: import("zod").ZodString;
11
- option: import("zod").ZodEnum<{
11
+ object: z.ZodString;
12
+ option: z.ZodEnum<{
12
13
  contains: "contains";
13
14
  containsAll: "containsAll";
14
15
  endsWith: "endsWith";
@@ -19,31 +20,33 @@ export declare const getContentFiltersContract: import("@lokalise/api-contracts"
19
20
  startsWith: "startsWith";
20
21
  within: "within";
21
22
  }>;
22
- values: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodObject<{
23
- kind: import("zod").ZodLiteral<"relative">;
24
- amount: import("zod").ZodNumber;
25
- unit: import("zod").ZodEnum<{
23
+ values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
24
+ kind: z.ZodLiteral<"relative">;
25
+ amount: z.ZodNumber;
26
+ unit: z.ZodEnum<{
26
27
  days: "days";
27
28
  hours: "hours";
28
29
  }>;
29
- }, import("zod/v4/core").$strip>]>>;
30
- }, import("zod/v4/core").$strip>>;
31
- createdAt: import("zod").ZodString;
32
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
33
- }, import("zod/v4/core").$strip>>;
34
- }, import("zod/v4/core").$strip>, undefined, undefined, import("zod").ZodObject<{
35
- authorization: import("zod").ZodOptional<import("zod").ZodString>;
36
- }, import("zod/v4/core").$strip>, undefined, false, false, undefined>;
37
- export declare const putContentFilterContract: import("@lokalise/api-contracts").PayloadRouteDefinition<import("zod").ZodObject<{
38
- id: import("zod").ZodOptional<import("zod").ZodGUID>;
39
- name: import("zod").ZodString;
40
- definition: import("zod").ZodArray<import("zod").ZodObject<{
41
- relation: import("zod").ZodEnum<{
30
+ }, z.core.$strip>]>>;
31
+ }, z.core.$strip>>, z.ZodObject<{
32
+ filter: z.ZodString;
33
+ }, z.core.$strip>]>;
34
+ createdAt: z.ZodString;
35
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ }, z.core.$strip>>;
37
+ }, z.core.$strip>, undefined, undefined, z.ZodObject<{
38
+ authorization: z.ZodOptional<z.ZodString>;
39
+ }, z.core.$strip>, undefined, false, false, undefined>;
40
+ export declare const putContentFilterContract: import("@lokalise/api-contracts").PayloadRouteDefinition<z.ZodObject<{
41
+ id: z.ZodOptional<z.ZodGUID>;
42
+ name: z.ZodString;
43
+ definition: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
44
+ relation: z.ZodEnum<{
42
45
  AND: "AND";
43
46
  OR: "OR";
44
47
  }>;
45
- object: import("zod").ZodString;
46
- option: import("zod").ZodEnum<{
48
+ object: z.ZodString;
49
+ option: z.ZodEnum<{
47
50
  contains: "contains";
48
51
  containsAll: "containsAll";
49
52
  endsWith: "endsWith";
@@ -54,25 +57,27 @@ export declare const putContentFilterContract: import("@lokalise/api-contracts")
54
57
  startsWith: "startsWith";
55
58
  within: "within";
56
59
  }>;
57
- values: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodObject<{
58
- kind: import("zod").ZodLiteral<"relative">;
59
- amount: import("zod").ZodNumber;
60
- unit: import("zod").ZodEnum<{
60
+ values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
61
+ kind: z.ZodLiteral<"relative">;
62
+ amount: z.ZodNumber;
63
+ unit: z.ZodEnum<{
61
64
  days: "days";
62
65
  hours: "hours";
63
66
  }>;
64
- }, import("zod/v4/core").$strip>]>>;
65
- }, import("zod/v4/core").$strip>>;
66
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
67
- id: import("zod").ZodGUID;
68
- name: import("zod").ZodString;
69
- definition: import("zod").ZodArray<import("zod").ZodObject<{
70
- relation: import("zod").ZodEnum<{
67
+ }, z.core.$strip>]>>;
68
+ }, z.core.$strip>>, z.ZodObject<{
69
+ filter: z.ZodString;
70
+ }, z.core.$strip>]>;
71
+ }, z.core.$strip>, z.ZodObject<{
72
+ id: z.ZodGUID;
73
+ name: z.ZodString;
74
+ definition: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
75
+ relation: z.ZodEnum<{
71
76
  AND: "AND";
72
77
  OR: "OR";
73
78
  }>;
74
- object: import("zod").ZodString;
75
- option: import("zod").ZodEnum<{
79
+ object: z.ZodString;
80
+ option: z.ZodEnum<{
76
81
  contains: "contains";
77
82
  containsAll: "containsAll";
78
83
  endsWith: "endsWith";
@@ -83,22 +88,41 @@ export declare const putContentFilterContract: import("@lokalise/api-contracts")
83
88
  startsWith: "startsWith";
84
89
  within: "within";
85
90
  }>;
86
- values: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodObject<{
87
- kind: import("zod").ZodLiteral<"relative">;
88
- amount: import("zod").ZodNumber;
89
- unit: import("zod").ZodEnum<{
91
+ values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
92
+ kind: z.ZodLiteral<"relative">;
93
+ amount: z.ZodNumber;
94
+ unit: z.ZodEnum<{
90
95
  days: "days";
91
96
  hours: "hours";
92
97
  }>;
93
- }, import("zod/v4/core").$strip>]>>;
94
- }, import("zod/v4/core").$strip>>;
95
- createdAt: import("zod").ZodString;
96
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
97
- }, import("zod/v4/core").$strip>, undefined, undefined, import("zod").ZodObject<{
98
- authorization: import("zod").ZodOptional<import("zod").ZodString>;
99
- }, import("zod/v4/core").$strip>, undefined, false, false, undefined>;
100
- export declare const deleteContentFilterContract: import("@lokalise/api-contracts").DeleteRouteDefinition<undefined, import("zod").ZodObject<{
101
- filterId: import("zod").ZodGUID;
102
- }, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
103
- authorization: import("zod").ZodOptional<import("zod").ZodString>;
104
- }, import("zod/v4/core").$strip>, undefined, false, true, undefined>;
98
+ }, z.core.$strip>]>>;
99
+ }, z.core.$strip>>, z.ZodObject<{
100
+ filter: z.ZodString;
101
+ }, z.core.$strip>]>;
102
+ createdAt: z.ZodString;
103
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104
+ }, z.core.$strip>, undefined, undefined, z.ZodObject<{
105
+ authorization: z.ZodOptional<z.ZodString>;
106
+ }, z.core.$strip>, undefined, false, false, {
107
+ 400: z.ZodObject<{
108
+ message: z.ZodString;
109
+ errorCode: z.ZodString;
110
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
111
+ }, z.core.$strip>;
112
+ 409: z.ZodObject<{
113
+ message: z.ZodString;
114
+ errorCode: z.ZodString;
115
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
116
+ }, z.core.$strip>;
117
+ }>;
118
+ export declare const deleteContentFilterContract: import("@lokalise/api-contracts").DeleteRouteDefinition<z.ZodUndefined, z.ZodObject<{
119
+ filterId: z.ZodGUID;
120
+ }, z.core.$strip>, undefined, z.ZodObject<{
121
+ authorization: z.ZodOptional<z.ZodString>;
122
+ }, z.core.$strip>, undefined, false, true, {
123
+ 404: z.ZodObject<{
124
+ message: z.ZodString;
125
+ errorCode: z.ZodString;
126
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
127
+ }, z.core.$strip>;
128
+ }>;
@@ -1,5 +1,6 @@
1
1
  import { buildRestContract } from '@lokalise/api-contracts';
2
- import { AUTHORIZATION_HEADER_SCHEMA } from '../commonRequestSchemas.js';
2
+ import { z } from 'zod/v4';
3
+ import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from '../commonRequestSchemas.js';
3
4
  import { CONTENT_FILTER_PATH_PARAMS, CONTENT_FILTER_SCHEMA, GET_CONTENT_FILTERS_RESPONSE, PUT_CONTENT_FILTER_REQUEST_BODY, } from './filterSchemas.js';
4
5
  export const getContentFiltersContract = buildRestContract({
5
6
  method: 'get',
@@ -15,6 +16,10 @@ export const putContentFilterContract = buildRestContract({
15
16
  description: 'Upsert filter',
16
17
  requestBodySchema: PUT_CONTENT_FILTER_REQUEST_BODY,
17
18
  successResponseBodySchema: CONTENT_FILTER_SCHEMA,
19
+ responseSchemasByStatusCode: {
20
+ 400: COMMON_ERROR_RESPONSE_SCHEMA_V2,
21
+ 409: COMMON_ERROR_RESPONSE_SCHEMA_V2,
22
+ },
18
23
  requestHeaderSchema: AUTHORIZATION_HEADER_SCHEMA,
19
24
  pathResolver: () => `/v1/filters`,
20
25
  });
@@ -22,7 +27,11 @@ export const deleteContentFilterContract = buildRestContract({
22
27
  method: 'delete',
23
28
  summary: 'Delete existing filter',
24
29
  description: 'Delete existing filter by ID',
25
- successResponseBodySchema: undefined,
30
+ successResponseBodySchema: z.undefined(),
31
+ isEmptyResponseExpected: true,
32
+ responseSchemasByStatusCode: {
33
+ 404: COMMON_ERROR_RESPONSE_SCHEMA_V2,
34
+ },
26
35
  requestPathParamsSchema: CONTENT_FILTER_PATH_PARAMS,
27
36
  requestHeaderSchema: AUTHORIZATION_HEADER_SCHEMA,
28
37
  pathResolver: ({ filterId }) => `/v1/filters/${filterId}`,
@@ -1 +1 @@
1
- {"version":3,"file":"filterApiSchemas.js","sourceRoot":"","sources":["../../../src/schemas/filter/filterApiSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAA;AACxE,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,EACrB,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,oBAAoB,CAAA;AAE3B,MAAM,CAAC,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACzD,MAAM,EAAE,KAAK;IACb,OAAO,EAAE,oBAAoB;IAC7B,WAAW,EAAE,mDAAmD;IAChE,yBAAyB,EAAE,4BAA4B;IACvD,mBAAmB,EAAE,2BAA2B;IAChD,YAAY,EAAE,GAAG,EAAE,CAAC,aAAa;CAClC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACxD,MAAM,EAAE,KAAK;IACb,OAAO,EAAE,iCAAiC;IAC1C,WAAW,EAAE,eAAe;IAC5B,iBAAiB,EAAE,+BAA+B;IAClD,yBAAyB,EAAE,qBAAqB;IAChD,mBAAmB,EAAE,2BAA2B;IAChD,YAAY,EAAE,GAAG,EAAE,CAAC,aAAa;CAClC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC3D,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,wBAAwB;IACjC,WAAW,EAAE,8BAA8B;IAC3C,yBAAyB,EAAE,SAAS;IACpC,uBAAuB,EAAE,0BAA0B;IACnD,mBAAmB,EAAE,2BAA2B;IAChD,YAAY,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,eAAe,QAAQ,EAAE;CAC1D,CAAC,CAAA"}
1
+ {"version":3,"file":"filterApiSchemas.js","sourceRoot":"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BAA2B;IAChD,YAAY,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,eAAe,QAAQ,EAAE;CAC1D,CAAC,CAAA"}
@@ -25,10 +25,41 @@ export declare const FILTER_ITEM_SCHEMA: z.ZodObject<{
25
25
  }>;
26
26
  }, z.core.$strip>]>>;
27
27
  }, z.core.$strip>;
28
+ export declare const ODATA_FILTER_DEFINITION_SCHEMA: z.ZodObject<{
29
+ filter: z.ZodString;
30
+ }, z.core.$strip>;
31
+ export declare const FILTER_DEFINITION_SCHEMA: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
32
+ relation: z.ZodEnum<{
33
+ AND: "AND";
34
+ OR: "OR";
35
+ }>;
36
+ object: z.ZodString;
37
+ option: z.ZodEnum<{
38
+ contains: "contains";
39
+ containsAll: "containsAll";
40
+ endsWith: "endsWith";
41
+ equals: "equals";
42
+ notContains: "notContains";
43
+ notContainsAll: "notContainsAll";
44
+ notEquals: "notEquals";
45
+ startsWith: "startsWith";
46
+ within: "within";
47
+ }>;
48
+ values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
49
+ kind: z.ZodLiteral<"relative">;
50
+ amount: z.ZodNumber;
51
+ unit: z.ZodEnum<{
52
+ days: "days";
53
+ hours: "hours";
54
+ }>;
55
+ }, z.core.$strip>]>>;
56
+ }, z.core.$strip>>, z.ZodObject<{
57
+ filter: z.ZodString;
58
+ }, z.core.$strip>]>;
28
59
  export declare const CONTENT_FILTER_SCHEMA: z.ZodObject<{
29
60
  id: z.ZodGUID;
30
61
  name: z.ZodString;
31
- definition: z.ZodArray<z.ZodObject<{
62
+ definition: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
32
63
  relation: z.ZodEnum<{
33
64
  AND: "AND";
34
65
  OR: "OR";
@@ -53,7 +84,9 @@ export declare const CONTENT_FILTER_SCHEMA: z.ZodObject<{
53
84
  hours: "hours";
54
85
  }>;
55
86
  }, z.core.$strip>]>>;
56
- }, z.core.$strip>>;
87
+ }, z.core.$strip>>, z.ZodObject<{
88
+ filter: z.ZodString;
89
+ }, z.core.$strip>]>;
57
90
  createdAt: z.ZodString;
58
91
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
92
  }, z.core.$strip>;
@@ -61,7 +94,7 @@ export declare const GET_CONTENT_FILTERS_RESPONSE: z.ZodObject<{
61
94
  filters: z.ZodArray<z.ZodObject<{
62
95
  id: z.ZodGUID;
63
96
  name: z.ZodString;
64
- definition: z.ZodArray<z.ZodObject<{
97
+ definition: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
65
98
  relation: z.ZodEnum<{
66
99
  AND: "AND";
67
100
  OR: "OR";
@@ -86,7 +119,9 @@ export declare const GET_CONTENT_FILTERS_RESPONSE: z.ZodObject<{
86
119
  hours: "hours";
87
120
  }>;
88
121
  }, z.core.$strip>]>>;
89
- }, z.core.$strip>>;
122
+ }, z.core.$strip>>, z.ZodObject<{
123
+ filter: z.ZodString;
124
+ }, z.core.$strip>]>;
90
125
  createdAt: z.ZodString;
91
126
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
127
  }, z.core.$strip>>;
@@ -94,7 +129,7 @@ export declare const GET_CONTENT_FILTERS_RESPONSE: z.ZodObject<{
94
129
  export declare const PUT_CONTENT_FILTER_REQUEST_BODY: z.ZodObject<{
95
130
  id: z.ZodOptional<z.ZodGUID>;
96
131
  name: z.ZodString;
97
- definition: z.ZodArray<z.ZodObject<{
132
+ definition: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
98
133
  relation: z.ZodEnum<{
99
134
  AND: "AND";
100
135
  OR: "OR";
@@ -119,12 +154,16 @@ export declare const PUT_CONTENT_FILTER_REQUEST_BODY: z.ZodObject<{
119
154
  hours: "hours";
120
155
  }>;
121
156
  }, z.core.$strip>]>>;
122
- }, z.core.$strip>>;
157
+ }, z.core.$strip>>, z.ZodObject<{
158
+ filter: z.ZodString;
159
+ }, z.core.$strip>]>;
123
160
  }, z.core.$strip>;
124
161
  export declare const CONTENT_FILTER_PATH_PARAMS: z.ZodObject<{
125
162
  filterId: z.ZodGUID;
126
163
  }, z.core.$strip>;
127
164
  export type FilterItem = z.infer<typeof FILTER_ITEM_SCHEMA>;
165
+ export type ODataFilterDefinition = z.infer<typeof ODATA_FILTER_DEFINITION_SCHEMA>;
166
+ export type FilterDefinition = z.infer<typeof FILTER_DEFINITION_SCHEMA>;
128
167
  export type ContentFilter = z.infer<typeof CONTENT_FILTER_SCHEMA>;
129
168
  export type GetContentFiltersResponse = z.infer<typeof GET_CONTENT_FILTERS_RESPONSE>;
130
169
  export type PutContentFilterRequest = z.infer<typeof PUT_CONTENT_FILTER_REQUEST_BODY>;
@@ -8,10 +8,17 @@ export const FILTER_ITEM_SCHEMA = z
8
8
  values: z.array(FILTER_VALUE_SCHEMA).nonempty(),
9
9
  })
10
10
  .superRefine(refineFilterValueShape);
11
+ export const ODATA_FILTER_DEFINITION_SCHEMA = z.object({
12
+ filter: z.string().trim().min(1),
13
+ });
14
+ export const FILTER_DEFINITION_SCHEMA = z.union([
15
+ z.array(FILTER_ITEM_SCHEMA).nonempty(),
16
+ ODATA_FILTER_DEFINITION_SCHEMA,
17
+ ]);
11
18
  export const CONTENT_FILTER_SCHEMA = z.object({
12
19
  id: z.guid(),
13
20
  name: z.string().min(1),
14
- definition: z.array(FILTER_ITEM_SCHEMA),
21
+ definition: FILTER_DEFINITION_SCHEMA,
15
22
  createdAt: z.string(),
16
23
  updatedAt: z.string().nullish(),
17
24
  });
@@ -21,7 +28,7 @@ export const GET_CONTENT_FILTERS_RESPONSE = z.object({
21
28
  export const PUT_CONTENT_FILTER_REQUEST_BODY = z.object({
22
29
  id: z.guid().optional(),
23
30
  name: z.string().min(1).max(255),
24
- definition: z.array(FILTER_ITEM_SCHEMA).nonempty(),
31
+ definition: FILTER_DEFINITION_SCHEMA,
25
32
  });
26
33
  export const CONTENT_FILTER_PATH_PARAMS = z.object({
27
34
  filterId: z.gu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C,QAAQ,EAAE;IACtC,8BAA8B;CAC/B,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE;IACZ,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,UAAU,EAAE,wBAAwB;IACpC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;CAChC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC;CACxC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACvB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAChC,UAAU,EAAE,wBAAwB;CACrC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE;CACnB,CAAC,CAAA"}
@@ -18,7 +18,8 @@
18
18
  * - `selectedItems`: Array of item uniqueIds from the itemList endpoint
19
19
  * - Filters (`type: 'filters'`):
20
20
  * - `$filter`: OData filter expression (same language as the itemList
21
- * endpoint); imports every item matching the expression
21
+ * endpoint); imports every item matching the expression. An empty string
22
+ * means no filters, i.e. import everything
22
23
  *
23
24
  * ## Response
24
25
  *
@@ -101,7 +102,8 @@ export declare const postConnectIntegrationProjectContract: import("@lokalise/ap
101
102
  * - `selectedItems`: Array of item uniqueIds (file IDs) from the itemList endpoint
102
103
  * - Filters (`type: 'filters'`):
103
104
  * - `$filter`: OData filter expression (same language as the itemList
104
- * endpoint); imports every item matching the expression
105
+ * endpoint); imports every item matching the expression. An empty string
106
+ * means no filters, i.e. import everything
105
107
  *
106
108
  * ## Response
107
109
  *
@@ -21,7 +21,8 @@ import { INTEGRATION_PROJECT_ALREADY_EXISTS_ERROR_RESPONSE_SCHEMA, POST_CONNECT_
21
21
  * - `selectedItems`: Array of item uniqueIds from the itemList endpoint
22
22
  * - Filters (`type: 'filters'`):
23
23
  * - `$filter`: OData filter expression (same language as the itemList
24
- * endpoint); imports every item matching the expression
24
+ * endpoint); imports every item matching the expression. An empty string
25
+ * means no filters, i.e. import everything
25
26
  *
26
27
  * ## Response
27
28
  *
@@ -79,7 +80,8 @@ export const postConnectIntegrationProjectContract = buildPayloadRoute({
79
80
  * - `selectedItems`: Array of item uniqueIds (file IDs) from the itemList endpoint
80
81
  * - Filters (`type: 'filters'`):
81
82
  * - `$filter`: OData filter expression (same language as the itemList
82
- * endpoint); imports every item matching the expression
83
+ * endpoint); imports every item matching the expression. An empty string
84
+ * means no filters, i.e. import everything
83
85
  *
84
86
  * ## Response
85
87
  *
@@ -1 +1 @@
1
- {"version":3,"file":"integrationProjectApiSchemas.js","sourceRoot":"","sources":["../../../src/schemas/integrationProject/integrationProjectApiSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EACL,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,wDAAwD,EACxD,4CAA4C,EAC5C,mDAAmD,EACnD,gDAAgD,EAChD,4CAA4C,EAC5C,gDAAgD,EAChD,+BAA+B,EAC/B,sCAAsC,EACtC,mCAAmC,GACpC,MAAM,gCAAgC,CAAA;AAEvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAM,CAAC,MAAM,qCAAqC,GA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AAE,gDAAgD;IAC3E,2BAA2B,EAAE;QAC3B,GAAG,EAAE,gDAAgD;QACrD,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;KACrC;IACD,mBAAmB,EAAE,2BAA2B;CACjD,CAAC,CAAA"}
1
+ {"version":3,"file":"integrationProjectApiSchemas.js","sourceRoot":"","sources":["../../../src/schemas/integrationProject/integrationProjectApiSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EACL,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,wDAAwD,EACxD,4CAA4C,EAC5C,mDAAmD,EACnD,gDAAgD,EAChD,4CAA4C,EAC5C,gDAAgD,EAChD,+BAA+B,EAC/B,sCAAsC,EACtC,mCAAmC,GACpC,MAAM,gCAAgC,CAAA;AAEvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,iBAAiB,CAAC;IACrE,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,oBAAoB,MAAM,CAAC,aAAa,2BAA2B;IAC7F,WAAW,EAAE,4DAA4D;IACzE,uBAAuB,EAAE,mDAAmD;IAC5E,iBAAiB,EAAE,4CAA4C;IAC/D,yBAAyB,EAAE,gDAAgD;IAC3E,2BAA2B,EAAE;QAC3B,GAAG,EAAE,gDAAgD;QACrD,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,wDAAwD;KAC9D;IACD,mBAAmB,EAAE,2BAA2B;CACjD,CAAC,CAAA;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACzD,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CACvB,oBAAoB,MAAM,CAAC,aAAa,aAAa,MAAM,CAAC,SAAS,iBAAiB;IACxF,WAAW,EAAE,iEAAiE;IAC9E,uBAAuB,EAAE,sCAAsC;IAC/D,iBAAiB,EAAE,+BAA+B;IAClD,yBAAyB,EAAE,mCAAmC;IAC9D,2BAA2B,EAAE;QAC3B,GAAG,EAAE,mCAAmC;QACxC,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;KACrC;IACD,mBAAmB,EAAE,2BAA2B;CACjD,CAAC,CAAA;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,iBAAiB,CAAC;IACrE,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,GAAG,EAAE,CAAC,yCAAyC;IAC7D,WAAW,EAAE,uEAAuE;IACpF,iBAAiB,EAAE,4CAA4C;IAC/D,yBAAyB,EAAE,gDAAgD;IAC3E,2BAA2B,EAAE;QAC3B,GAAG,EAAE,gDAAgD;QACrD,GAAG,EAAE,+BAA+B;QACpC,GAAG,EAAE,+BAA+B;KACrC;IACD,mBAAmB,EAAE,2BAA2B;CACjD,CAAC,CAAA"}
@@ -23,7 +23,8 @@ export type PostConnectIntegrationProjectSelectionBody = z.infer<typeof POST_CON
23
23
  /**
24
24
  * Request body for connecting an integration and importing every item matching
25
25
  * an OData `$filter` expression. Used by "select all items matching filters"
26
- * flows, where enumerating item ids client-side is impractical.
26
+ * flows, where enumerating item ids client-side is impractical. An empty
27
+ * `$filter` imports everything.
27
28
  */
28
29
  export declare const POST_CONNECT_INTEGRATION_PROJECT_FILTERS_BODY_SCHEMA: z.ZodObject<{
29
30
  type: z.ZodLiteral<"filters">;
@@ -95,7 +96,8 @@ export type PostTriggerImportSelectionBody = z.infer<typeof POST_TRIGGER_IMPORT_
95
96
  /**
96
97
  * Request body for triggering import of every item matching an OData `$filter`
97
98
  * expression. Used by "select all items matching filters" flows, where
98
- * enumerating item ids client-side is impractical.
99
+ * enumerating item ids client-side is impractical. An empty `$filter` imports
100
+ * everything.
99
101
  */
100
102
  export declare const POST_TRIGGER_IMPORT_FILTERS_BODY_SCHEMA: z.ZodObject<{
101
103
  type: z.ZodLiteral<"filters">;
@@ -20,11 +20,12 @@ const SELECTED_ITEMS_FIELD = z
20
20
  /**
21
21
  * OData filter expression selecting the items to import — the same expression
22
22
  * language the itemList endpoint accepts.
23
- * Required: importing every item must be requested explicitly via a matching
24
- * expression, so an accidentally omitted filter cannot silently import the
25
- * whole space.
23
+ * An empty string is allowed and means "no filters": every item is imported,
24
+ * mirroring the unfiltered itemList behaviour. The key itself stays required,
25
+ * so importing everything is still an explicit choice rather than the result of
26
+ * an omitted field.
26
27
  */
27
- const IMPORT_FILTER_FIELD = z.string().min(1, { message: 'A filter expression must be provided' });
28
+ const IMPORT_FILTER_FIELD = z.string();
28
29
  // ============================================================================
29
30
  // Connect Integration Project Schemas
30
31
  // POST /v1/integrations/{integrationId}/projects/actions/connect
@@ -57,7 +58,8 @@ export const POST_CONNECT_INTEGRATION_PROJECT_SELECTION_BODY_SCHEMA = z.object({
57
58
  /**
58
59
  * Request body for connecting an integration and importing every item matching
59
60
  * an OData `$filter` expression. Used by "select all items matching filters"
60
- * flows, where enumerating item ids client-side is impractical.
61
+ * flows, where enumerating item ids client-side is impractical. An empty
62
+ * `$filter` imports everything.
61
63
  */
62
64
  export const POST_CONNECT_INTEGRATION_PROJECT_FILTERS_BODY_SCHEMA = z.object({
63
65
  type: z.literal('filters'),
@@ -130,7 +132,8 @@ export const POST_TRIGGER_IMPORT_SELECTION_BODY_SCHEMA = z.object({
130
132
  /**
131
133
  * Request body for triggering import of every item matching an OData `$filter`
132
134
  * expression. Used by "select all items matching filters" flows, where
133
- * enumerating item ids client-side is impractical.
135
+ * enumerating item ids client-side is impractical. An empty `$filter` imports
136
+ * everything.
134
137
  */
135
138
  export const POST_TRIGGER_IMPORT_FILTERS_BODY_SCHEMA = z.object({
136
139
  type: z.literal('filters'),
@@ -1 +1 @@
1
- {"version":3,"file":"integrationProjectSchemas.js","sourceRoot":"","sources":["../../../src/schemas/integrationProject/integrationProjectSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EAAE,+BAA+B,EAAE,MAAM,4BAA4B,CAAA;AAC5E,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAA;AAE5E;;;;GAIG;AACH,MAAM,gCAAgC,GAAG,CAAC;KACvC,OAAO,EAAE;KACT,QAAQ,EAAE;KACV,QAAQ,CACP,oIAAoI,CACrI,CAAA;AAEH;;;GAGG;AACH,MAAM,oBAAoB,GAAG,CAAC;KAC3B,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;KACxB,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,oCAAoC,EAAE,CAAC,CAAA;AAE5D;;;;;;GAMG;AACH,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC,CAAA;AAElG,+EAA+E;AAC/E,sCAAsC;AACtC,iEAAiE;AACjE,+EAA+E;AAE/E;;GAEG;AACH,MAAM,CAAC,MAAM,mDAAmD,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1E;;OAEG;IACH,aAAa,EAAE,CAAC,CAAC,IAAI,EAAE;CACxB,CAAC,CAAA;AAMF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,sDAAsD,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7E,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE;IACvC;;OAEG;IACH,SAAS,EAAE,CAAC,CAAC,IAAI,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;AACtE,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,GAAG,6BAA6B;IAChC,sBAAsB,EAAE,0BAA0B;CAC1C,CAAA;AAMV,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE;IACZ,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,gDAAgD,GAAG,CAAC,CAAC,MAAM,CAAC;IACvE,IAAI,EAAE,CAAC,CAAC,KAAK,CACX,CAAC,CAAC,MAAM,CAAC;QACP,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;QACnB,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,sCAAsC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;KACrE,CAAC,CACH;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"integrationProjectSchemas.js","sourceRoot":"","sources":["../../../src/schemas/integrationProject/integrationProjectSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EAAE,+BAA+B,EAAE,MAAM,4BAA4B,CAAA;AAC5E,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAA;AAE5E;;;;GAIG;AACH,MAAM,gCAAgC,GAAG,CAAC;KACvC,OAAO,EAAE;KACT,QAAQ,EAAE;KACV,QAAQ,CACP,oIAAoI,CACrI,CAAA;AAEH;;;GAGG;AACH,MAAM,oBAAoB,GAAG,CAAC;KAC3B,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;KACxB,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,oCAAoC,EAAE,CAAC,CAAA;AAE5D;;;;;;;GAOG;AACH,MAAM,mBAAm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