@lokalise/content-type-app-engine-contracts 5.14.0 → 5.15.1

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.
Files changed (57) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index.js +41 -39
  3. package/dist/index.js.map +1 -1
  4. package/dist/schemas/auth/authApiSchemas.js +2 -2
  5. package/dist/schemas/auth/integrationAuthApiSchemas.d.ts +6 -6
  6. package/dist/schemas/auth/integrationAuthApiSchemas.js +2 -2
  7. package/dist/schemas/auth/integrationAuthSchemas.d.ts +6 -6
  8. package/dist/schemas/cache/cacheApiSchemas.d.ts +4 -4
  9. package/dist/schemas/cache/cacheApiSchemas.js +2 -2
  10. package/dist/schemas/cache/cacheSchemas.d.ts +6 -6
  11. package/dist/schemas/config/integrationConfigApiSchemas.js +2 -2
  12. package/dist/schemas/connector/connectorApiSchemas.d.ts +1 -1
  13. package/dist/schemas/connector/connectorApiSchemas.js +2 -2
  14. package/dist/schemas/connector/connectorSchemas.d.ts +2 -2
  15. package/dist/schemas/content/contentApiSchemas.d.ts +10 -10
  16. package/dist/schemas/content/contentApiSchemas.js +2 -2
  17. package/dist/schemas/content/contentExportApiSchemas.d.ts +56 -0
  18. package/dist/schemas/content/contentExportApiSchemas.js +21 -0
  19. package/dist/schemas/content/contentExportApiSchemas.js.map +1 -0
  20. package/dist/schemas/content/contentExportSchemas.d.ts +41 -0
  21. package/dist/schemas/content/contentExportSchemas.js +28 -0
  22. package/dist/schemas/content/contentExportSchemas.js.map +1 -0
  23. package/dist/schemas/content/contentSchemas.d.ts +21 -21
  24. package/dist/schemas/content/contentSchemas.js +1 -1
  25. package/dist/schemas/env/envApiSchemas.js +2 -2
  26. package/dist/schemas/env/envSchemas.js +1 -1
  27. package/dist/schemas/filter/filterApiSchemas.d.ts +12 -12
  28. package/dist/schemas/filter/filterApiSchemas.js +2 -2
  29. package/dist/schemas/filter/filterSchemas.d.ts +16 -16
  30. package/dist/schemas/filter/filterSchemas.js +1 -1
  31. package/dist/schemas/integration/integrationApiSchemas.d.ts +2 -2
  32. package/dist/schemas/integration/integrationApiSchemas.js +2 -2
  33. package/dist/schemas/integration/integrationSchemas.d.ts +9 -9
  34. package/dist/schemas/integration/integrationSchemas.js +1 -1
  35. package/dist/schemas/integrationProject/integrationProjectApiSchemas.js +2 -2
  36. package/dist/schemas/integrationProject/integrationProjectSchemas.d.ts +8 -8
  37. package/dist/schemas/integrationProject/integrationProjectSchemas.js +2 -2
  38. package/dist/schemas/itemGroup/integrationItemGroupApiSchemas.js +2 -2
  39. package/dist/schemas/itemGroup/linkItemGroupApiSchemas.js +1 -1
  40. package/dist/schemas/itemList/integrationItemListApiSchemas.js +2 -2
  41. package/dist/schemas/itemList/itemListContracts.js +1 -1
  42. package/dist/schemas/language/languageApiSchemas.js +2 -2
  43. package/dist/schemas/link/linkApiSchemas.js +2 -2
  44. package/dist/schemas/project/projectApiSchemas.d.ts +2 -2
  45. package/dist/schemas/project/projectApiSchemas.js +3 -3
  46. package/dist/schemas/project/projectSchemas.d.ts +7 -7
  47. package/dist/schemas/project/projectSchemas.js +1 -1
  48. package/dist/schemas/schedule/scheduleApiSchemas.d.ts +19 -19
  49. package/dist/schemas/schedule/scheduleApiSchemas.js +2 -2
  50. package/dist/schemas/schedule/scheduleSchemas.d.ts +23 -23
  51. package/dist/schemas/schedule/scheduleSchemas.js +1 -1
  52. package/dist/schemas/settings/settingsApiSchemas.js +2 -2
  53. package/dist/schemas/settings/settingsSchemas.js +1 -1
  54. package/dist/schemas/status/statusApiSchemas.d.ts +6 -6
  55. package/dist/schemas/status/statusApiSchemas.js +2 -2
  56. package/dist/schemas/status/statusSchemas.d.ts +6 -6
  57. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { CONTENT_UNIT_SOURCE } from '@lokalise/content-conversion-api-schemas';
2
2
  import { z } from 'zod/v4';
3
- import { COMMON_ERROR_RESPONSE_SCHEMA_V2 } from "../commonRequestSchemas.js";
3
+ import { COMMON_ERROR_RESPONSE_SCHEMA_V2 } from '../commonRequestSchemas.js';
4
4
  /**
5
5
  * Default maximum items to request from connectors per batch.
6
6
  * This prevents memory exhaustion on CTENG side.
@@ -1,7 +1,7 @@
1
1
  import { buildGetRoute } from '@lokalise/api-contracts';
2
2
  import { z } from 'zod/v4';
3
- import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from "../commonRequestSchemas.js";
4
- import { GET_ENV_RESPONSE_SCHEMA, GET_ENV_RESPONSE_SCHEMA_V2 } from "./envSchemas.js";
3
+ import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from '../commonRequestSchemas.js';
4
+ import { GET_ENV_RESPONSE_SCHEMA, GET_ENV_RESPONSE_SCHEMA_V2 } from './envSchemas.js';
5
5
  const tags = ['Env'];
6
6
  export const getEnvContract = buildGetRoute({
7
7
  pathResolver: () => '/v1/env',
@@ -1,6 +1,6 @@
1
1
  import { FIELD_DEFINITIONS } from '@lokalise/connector-api-contracts';
2
2
  import { z } from 'zod/v4';
3
- import { LOCALE_SCHEMA } from "../language/languageSchemas.js";
3
+ import { LOCALE_SCHEMA } from '../language/languageSchemas.js';
4
4
  export const IMPORT_TAG_SCHEMA = z.object({
5
5
  id: z.string().trim().min(1),
6
6
  title: z.string().trim().min(1),
@@ -9,14 +9,14 @@ export declare const getContentFiltersContract: import("@lokalise/api-contracts"
9
9
  }>;
10
10
  object: import("zod").ZodString;
11
11
  option: import("zod").ZodEnum<{
12
+ contains: "contains";
13
+ containsAll: "containsAll";
12
14
  endsWith: "endsWith";
13
- startsWith: "startsWith";
14
15
  equals: "equals";
15
- notEquals: "notEquals";
16
- contains: "contains";
17
16
  notContains: "notContains";
18
- containsAll: "containsAll";
19
17
  notContainsAll: "notContainsAll";
18
+ notEquals: "notEquals";
19
+ startsWith: "startsWith";
20
20
  }>;
21
21
  values: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
22
22
  }, import("zod/v4/core").$strip>>;
@@ -36,14 +36,14 @@ export declare const putContentFilterContract: import("@lokalise/api-contracts")
36
36
  }>;
37
37
  object: import("zod").ZodString;
38
38
  option: import("zod").ZodEnum<{
39
+ contains: "contains";
40
+ containsAll: "containsAll";
39
41
  endsWith: "endsWith";
40
- startsWith: "startsWith";
41
42
  equals: "equals";
42
- notEquals: "notEquals";
43
- contains: "contains";
44
43
  notContains: "notContains";
45
- containsAll: "containsAll";
46
44
  notContainsAll: "notContainsAll";
45
+ notEquals: "notEquals";
46
+ startsWith: "startsWith";
47
47
  }>;
48
48
  values: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
49
49
  }, import("zod/v4/core").$strip>>;
@@ -57,14 +57,14 @@ export declare const putContentFilterContract: import("@lokalise/api-contracts")
57
57
  }>;
58
58
  object: import("zod").ZodString;
59
59
  option: import("zod").ZodEnum<{
60
+ contains: "contains";
61
+ containsAll: "containsAll";
60
62
  endsWith: "endsWith";
61
- startsWith: "startsWith";
62
63
  equals: "equals";
63
- notEquals: "notEquals";
64
- contains: "contains";
65
64
  notContains: "notContains";
66
- containsAll: "containsAll";
67
65
  notContainsAll: "notContainsAll";
66
+ notEquals: "notEquals";
67
+ startsWith: "startsWith";
68
68
  }>;
69
69
  values: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
70
70
  }, import("zod/v4/core").$strip>>;
@@ -1,6 +1,6 @@
1
1
  import { buildRestContract } from '@lokalise/api-contracts';
2
- import { AUTHORIZATION_HEADER_SCHEMA } from "../commonRequestSchemas.js";
3
- import { CONTENT_FILTER_PATH_PARAMS, CONTENT_FILTER_SCHEMA, GET_CONTENT_FILTERS_RESPONSE, PUT_CONTENT_FILTER_REQUEST_BODY, } from "./filterSchemas.js";
2
+ import { AUTHORIZATION_HEADER_SCHEMA } from '../commonRequestSchemas.js';
3
+ import { CONTENT_FILTER_PATH_PARAMS, CONTENT_FILTER_SCHEMA, GET_CONTENT_FILTERS_RESPONSE, PUT_CONTENT_FILTER_REQUEST_BODY, } from './filterSchemas.js';
4
4
  export const getContentFiltersContract = buildRestContract({
5
5
  method: 'get',
6
6
  summary: 'List saved filters',
@@ -6,14 +6,14 @@ export declare const FILTER_ITEM_SCHEMA: z.ZodObject<{
6
6
  }>;
7
7
  object: z.ZodString;
8
8
  option: z.ZodEnum<{
9
+ contains: "contains";
10
+ containsAll: "containsAll";
9
11
  endsWith: "endsWith";
10
- startsWith: "startsWith";
11
12
  equals: "equals";
12
- notEquals: "notEquals";
13
- contains: "contains";
14
13
  notContains: "notContains";
15
- containsAll: "containsAll";
16
14
  notContainsAll: "notContainsAll";
15
+ notEquals: "notEquals";
16
+ startsWith: "startsWith";
17
17
  }>;
18
18
  values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
19
19
  }, z.core.$strip>;
@@ -27,14 +27,14 @@ export declare const CONTENT_FILTER_SCHEMA: z.ZodObject<{
27
27
  }>;
28
28
  object: z.ZodString;
29
29
  option: z.ZodEnum<{
30
+ contains: "contains";
31
+ containsAll: "containsAll";
30
32
  endsWith: "endsWith";
31
- startsWith: "startsWith";
32
33
  equals: "equals";
33
- notEquals: "notEquals";
34
- contains: "contains";
35
34
  notContains: "notContains";
36
- containsAll: "containsAll";
37
35
  notContainsAll: "notContainsAll";
36
+ notEquals: "notEquals";
37
+ startsWith: "startsWith";
38
38
  }>;
39
39
  values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
40
40
  }, z.core.$strip>>;
@@ -52,14 +52,14 @@ export declare const GET_CONTENT_FILTERS_RESPONSE: z.ZodObject<{
52
52
  }>;
53
53
  object: z.ZodString;
54
54
  option: z.ZodEnum<{
55
+ contains: "contains";
56
+ containsAll: "containsAll";
55
57
  endsWith: "endsWith";
56
- startsWith: "startsWith";
57
58
  equals: "equals";
58
- notEquals: "notEquals";
59
- contains: "contains";
60
59
  notContains: "notContains";
61
- containsAll: "containsAll";
62
60
  notContainsAll: "notContainsAll";
61
+ notEquals: "notEquals";
62
+ startsWith: "startsWith";
63
63
  }>;
64
64
  values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
65
65
  }, z.core.$strip>>;
@@ -77,14 +77,14 @@ export declare const PUT_CONTENT_FILTER_REQUEST_BODY: z.ZodObject<{
77
77
  }>;
78
78
  object: z.ZodString;
79
79
  option: z.ZodEnum<{
80
+ contains: "contains";
81
+ containsAll: "containsAll";
80
82
  endsWith: "endsWith";
81
- startsWith: "startsWith";
82
83
  equals: "equals";
83
- notEquals: "notEquals";
84
- contains: "contains";
85
84
  notContains: "notContains";
86
- containsAll: "containsAll";
87
85
  notContainsAll: "notContainsAll";
86
+ notEquals: "notEquals";
87
+ startsWith: "startsWith";
88
88
  }>;
89
89
  values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
90
90
  }, z.core.$strip>>;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod/v4';
2
- import { OPTIONS_ENUM_VALUES } from "../content/contentSchemas.js";
2
+ import { OPTIONS_ENUM_VALUES } from '../content/contentSchemas.js';
3
3
  export const FILTER_ITEM_SCHEMA = z.object({
4
4
  relation: z.enum(['AND', 'OR']),
5
5
  object: z.string().min(1),
@@ -7,8 +7,8 @@ export declare const postCreateIntegrationContract: import("@lokalise/api-contra
7
7
  baseLocale: z.ZodString;
8
8
  targetLocales: z.ZodArray<z.ZodString>;
9
9
  projectType: z.ZodEnum<{
10
- readonly contentIntegration: "content_integration";
11
- readonly marketingIntegrations: "marketing_integrations";
10
+ readonly contentIntegration: 'content_integration';
11
+ readonly marketingIntegrations: 'marketing_integrations';
12
12
  }>;
13
13
  }, z.core.$strip>, z.ZodObject<{
14
14
  config: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -1,7 +1,7 @@
1
1
  import { buildGetRoute, buildPayloadRoute } from '@lokalise/api-contracts';
2
2
  import { z } from 'zod/v4';
3
- import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from "../commonRequestSchemas.js";
4
- import { GET_INTEGRATION_MANIFEST_RESPONSE_SCHEMA, GET_LIST_INTEGRATION_PROJECTS_REQUEST_PATH_PARAMS_SCHEMA, GET_LIST_INTEGRATION_PROJECTS_RESPONSE_SCHEMA, POST_CREATE_INTEGRATION_PAYLOAD_SCHEMA, POST_CREATE_INTEGRATION_RESPONSE_SCHEMA, UNSUPPORTED_PROJECT_TYPE_ERROR_RESPONSE_SCHEMA, } from "./integrationSchemas.js";
3
+ import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from '../commonRequestSchemas.js';
4
+ import { GET_INTEGRATION_MANIFEST_RESPONSE_SCHEMA, GET_LIST_INTEGRATION_PROJECTS_REQUEST_PATH_PARAMS_SCHEMA, GET_LIST_INTEGRATION_PROJECTS_RESPONSE_SCHEMA, POST_CREATE_INTEGRATION_PAYLOAD_SCHEMA, POST_CREATE_INTEGRATION_RESPONSE_SCHEMA, UNSUPPORTED_PROJECT_TYPE_ERROR_RESPONSE_SCHEMA, } from './integrationSchemas.js';
5
5
  export const postCreateIntegrationContract = buildPayloadRoute({
6
6
  method: 'post',
7
7
  pathResolver: () => '/v1/integrations',
@@ -3,13 +3,13 @@ import { z } from 'zod/v4';
3
3
  Expert project type
4
4
  */
5
5
  export declare const ProjectEnum: {
6
- readonly contentIntegration: "content_integration";
7
- readonly marketingIntegrations: "marketing_integrations";
6
+ readonly contentIntegration: 'content_integration';
7
+ readonly marketingIntegrations: 'marketing_integrations';
8
8
  };
9
9
  export type ProjectEnumType = (typeof ProjectEnum)[keyof typeof ProjectEnum];
10
10
  export declare const IntegrationSystemTypeEnum: {
11
- readonly CLASSIC: "CLASSIC";
12
- readonly NEXTGEN: "NEXTGEN";
11
+ readonly CLASSIC: 'CLASSIC';
12
+ readonly NEXTGEN: 'NEXTGEN';
13
13
  };
14
14
  export type IntegrationSystemEnumType = (typeof IntegrationSystemTypeEnum)[keyof typeof IntegrationSystemTypeEnum];
15
15
  export declare const POST_CREATE_INTEGRATION_NEW_PROJECT_PAYLOAD_SCHEMA: z.ZodObject<{
@@ -20,8 +20,8 @@ export declare const POST_CREATE_INTEGRATION_NEW_PROJECT_PAYLOAD_SCHEMA: z.ZodOb
20
20
  baseLocale: z.ZodString;
21
21
  targetLocales: z.ZodArray<z.ZodString>;
22
22
  projectType: z.ZodEnum<{
23
- readonly contentIntegration: "content_integration";
24
- readonly marketingIntegrations: "marketing_integrations";
23
+ readonly contentIntegration: 'content_integration';
24
+ readonly marketingIntegrations: 'marketing_integrations';
25
25
  }>;
26
26
  }, z.core.$strip>;
27
27
  export type PostCreateIntegrationNewProjectPayload = z.infer<typeof POST_CREATE_INTEGRATION_NEW_PROJECT_PAYLOAD_SCHEMA>;
@@ -39,8 +39,8 @@ export declare const POST_CREATE_INTEGRATION_PAYLOAD_SCHEMA: z.ZodDiscriminatedU
39
39
  baseLocale: z.ZodString;
40
40
  targetLocales: z.ZodArray<z.ZodString>;
41
41
  projectType: z.ZodEnum<{
42
- readonly contentIntegration: "content_integration";
43
- readonly marketingIntegrations: "marketing_integrations";
42
+ readonly contentIntegration: 'content_integration';
43
+ readonly marketingIntegrations: 'marketing_integrations';
44
44
  }>;
45
45
  }, z.core.$strip>, z.ZodObject<{
46
46
  config: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -66,7 +66,7 @@ export declare const GET_LIST_INTEGRATION_PROJECTS_RESPONSE_SCHEMA: z.ZodObject<
66
66
  }, z.core.$strip>>;
67
67
  }, z.core.$strip>;
68
68
  export type GetListIntegrationProjectsResponse = z.infer<typeof GET_LIST_INTEGRATION_PROJECTS_RESPONSE_SCHEMA>;
69
- export declare const UNSUPPORTED_PROJECT_TYPE_ERROR_CODE: "UNSUPPORTED_PROJECT_TYPE";
69
+ export declare const UNSUPPORTED_PROJECT_TYPE_ERROR_CODE: 'UNSUPPORTED_PROJECT_TYPE';
70
70
  export declare const UNSUPPORTED_PROJECT_TYPE_ERROR_RESPONSE_SCHEMA: z.ZodObject<{
71
71
  message: z.ZodString;
72
72
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -1,6 +1,6 @@
1
1
  import { MANIFEST_SCHEMA } from '@lokalise/connector-api-contracts';
2
2
  import { z } from 'zod/v4';
3
- import { COMMON_ERROR_RESPONSE_SCHEMA_V2 } from "../commonRequestSchemas.js";
3
+ import { COMMON_ERROR_RESPONSE_SCHEMA_V2 } from '../commonRequestSchemas.js';
4
4
  /**
5
5
  Expert project type
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import { buildPayloadRoute } from '@lokalise/api-contracts';
2
- import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from "../commonRequestSchemas.js";
3
- import { INTEGRATION_PROJECT_ALREADY_EXISTS_ERROR_RESPONSE_SCHEMA, POST_CONNECT_INTEGRATION_PROJECT_BODY_SCHEMA, POST_CONNECT_INTEGRATION_PROJECT_PATH_PARAMS_SCHEMA, POST_CONNECT_INTEGRATION_PROJECT_RESPONSE_SCHEMA, POST_RETRIEVE_BATCH_INTEGRATIONS_BODY_SCHEMA, POST_RETRIEVE_BATCH_INTEGRATIONS_RESPONSE_SCHEMA, POST_TRIGGER_IMPORT_BODY_SCHEMA, POST_TRIGGER_IMPORT_PATH_PARAMS_SCHEMA, POST_TRIGGER_IMPORT_RESPONSE_SCHEMA, } from "./integrationProjectSchemas.js";
2
+ import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from '../commonRequestSchemas.js';
3
+ import { INTEGRATION_PROJECT_ALREADY_EXISTS_ERROR_RESPONSE_SCHEMA, POST_CONNECT_INTEGRATION_PROJECT_BODY_SCHEMA, POST_CONNECT_INTEGRATION_PROJECT_PATH_PARAMS_SCHEMA, POST_CONNECT_INTEGRATION_PROJECT_RESPONSE_SCHEMA, POST_RETRIEVE_BATCH_INTEGRATIONS_BODY_SCHEMA, POST_RETRIEVE_BATCH_INTEGRATIONS_RESPONSE_SCHEMA, POST_TRIGGER_IMPORT_BODY_SCHEMA, POST_TRIGGER_IMPORT_PATH_PARAMS_SCHEMA, POST_TRIGGER_IMPORT_RESPONSE_SCHEMA, } from './integrationProjectSchemas.js';
4
4
  /**
5
5
  * Contract for connecting an integration with a project
6
6
  * POST /v1/integrations/{integrationId}/projects/actions/connect
@@ -24,7 +24,7 @@ export type PostConnectIntegrationProjectResponse = z.infer<typeof POST_CONNECT_
24
24
  /**
25
25
  * Error code for when IntegrationProject already exists
26
26
  */
27
- export declare const INTEGRATION_PROJECT_ALREADY_EXISTS_ERROR_CODE: "INTEGRATION_PROJECT_ALREADY_EXISTS";
27
+ export declare const INTEGRATION_PROJECT_ALREADY_EXISTS_ERROR_CODE: 'INTEGRATION_PROJECT_ALREADY_EXISTS';
28
28
  /**
29
29
  * Error response schema for when IntegrationProject already exists (409 Conflict)
30
30
  */
@@ -59,7 +59,7 @@ export type PostTriggerImportResponse = z.infer<typeof POST_TRIGGER_IMPORT_RESPO
59
59
  /**
60
60
  * Error code for when IntegrationProject does not exist (project not connected)
61
61
  */
62
- export declare const INTEGRATION_PROJECT_NOT_FOUND_ERROR_CODE: "INTEGRATION_PROJECT_NOT_FOUND";
62
+ export declare const INTEGRATION_PROJECT_NOT_FOUND_ERROR_CODE: 'INTEGRATION_PROJECT_NOT_FOUND';
63
63
  /**
64
64
  * Error response schema for when IntegrationProject is not found (404 Not Found)
65
65
  */
@@ -76,12 +76,12 @@ export declare const POST_RETRIEVE_BATCH_INTEGRATIONS_BODY_SCHEMA: z.ZodObject<{
76
76
  export type PostRetrieveBatchIntegrationsBody = z.infer<typeof POST_RETRIEVE_BATCH_INTEGRATIONS_BODY_SCHEMA>;
77
77
  /** @deprecated Use return from getConnectorListForPlatformContract */
78
78
  export declare const ProjectIntegrationEnum: {
79
- readonly adobeExperienceManager: "adobe-experience-manager";
80
- readonly contentful: "contentful-native";
81
- readonly googleDrive: "google-drive";
82
- readonly strapi: "strapi";
83
- readonly webflowNew: "webflow-new";
84
- readonly sendgrid: "sendgrid";
79
+ readonly contentful: 'contentful-native';
80
+ readonly googleDrive: 'google-drive';
81
+ readonly strapi: 'strapi';
82
+ readonly webflowNew: 'webflow-new';
83
+ readonly sendgrid: 'sendgrid';
84
+ readonly adobeExperienceManager: 'adobe-experience-manager';
85
85
  };
86
86
  /** @deprecated Types should be a generic string from now on */
87
87
  export type ProjectIntegrationEnumType = (typeof ProjectIntegrationEnum)[keyof typeof ProjectIntegrationEnum];
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod/v4';
2
- import { COMMON_ERROR_RESPONSE_SCHEMA_V2 } from "../commonRequestSchemas.js";
3
- import { VantageProjectIntegrationEnum } from "../project/projectSchemas.js";
2
+ import { COMMON_ERROR_RESPONSE_SCHEMA_V2 } from '../commonRequestSchemas.js';
3
+ import { VantageProjectIntegrationEnum } from '../project/projectSchemas.js';
4
4
  // ============================================================================
5
5
  // Connect Integration Project Schemas
6
6
  // POST /v1/integrations/{integrationId}/projects/actions/connect
@@ -1,7 +1,7 @@
1
1
  import { buildGetRoute } from '@lokalise/api-contracts';
2
2
  import { itemGroupListRequestQueryString, itemGroupListResponseBody, } from '@lokalise/connector-api-contracts';
3
- import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from "../commonRequestSchemas.js";
4
- import { GET_INTEGRATION_ITEM_GROUPS_PATH_PARAMS_SCHEMA } from "./integrationItemGroupSchemas.js";
3
+ import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from '../commonRequestSchemas.js';
4
+ import { GET_INTEGRATION_ITEM_GROUPS_PATH_PARAMS_SCHEMA } from './integrationItemGroupSchemas.js';
5
5
  /**
6
6
  * Contract for getting item groups (e.g., drives in Google Drive) for an integration
7
7
  * GET /v1/integrations/{integrationId}/item-groups
@@ -1,6 +1,6 @@
1
1
  import { buildGetRoute } from '@lokalise/api-contracts';
2
2
  import { itemGroupListRequestQueryString, itemGroupListResponseBody, } from '@lokalise/connector-api-contracts';
3
- import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from "../commonRequestSchemas.js";
3
+ import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from '../commonRequestSchemas.js';
4
4
  export const getLinkItemGroupsContract = buildGetRoute({
5
5
  pathResolver: () => '/v1/link/item-groups',
6
6
  description: 'Get list of item groups (e.g., stories) for current link',
@@ -1,7 +1,7 @@
1
1
  import { buildGetRoute } from '@lokalise/api-contracts';
2
2
  import { itemListRequestQueryString, itemListResponseBody } from '@lokalise/connector-api-contracts';
3
- import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from "../commonRequestSchemas.js";
4
- import { GET_INTEGRATION_ITEMS_PATH_PARAMS_SCHEMA } from "./integrationItemListSchemas.js";
3
+ import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from '../commonRequestSchemas.js';
4
+ import { GET_INTEGRATION_ITEMS_PATH_PARAMS_SCHEMA } from './integrationItemListSchemas.js';
5
5
  /**
6
6
  * Contract for getting items (e.g., files in Google Drive) for an integration
7
7
  * GET /v1/integrations/{integrationId}/items
@@ -1,6 +1,6 @@
1
1
  import { buildGetRoute } from '@lokalise/api-contracts';
2
2
  import { itemListEntry, itemListRequestQueryString, itemListResponseBody, } from '@lokalise/connector-api-contracts';
3
- import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from "../commonRequestSchemas.js";
3
+ import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from '../commonRequestSchemas.js';
4
4
  /**
5
5
  * Re-export schemas from connector-api-contracts for backwards compatibility.
6
6
  * All item list schemas are now defined in @lokalise/connector-api-contracts.
@@ -1,7 +1,7 @@
1
1
  import { buildPayloadRoute } from '@lokalise/api-contracts';
2
2
  import { z } from 'zod/v4';
3
- import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA, } from "../commonRequestSchemas.js";
4
- import { PROJECT_LANGUAGES_DTO_SCHEMA } from "./languageSchemas.js";
3
+ import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA, } from '../commonRequestSchemas.js';
4
+ import { PROJECT_LANGUAGES_DTO_SCHEMA } from './languageSchemas.js';
5
5
  const tags = ['Languages'];
6
6
  export const postSetDefaultLocaleContract = buildPayloadRoute({
7
7
  method: 'post',
@@ -1,6 +1,6 @@
1
1
  import { buildGetRoute } from '@lokalise/api-contracts';
2
- import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from "../commonRequestSchemas.js";
3
- import { GET_LINK_MANIFEST_RESPONSE_SCHEMA } from "./linkSchemas.js";
2
+ import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from '../commonRequestSchemas.js';
3
+ import { GET_LINK_MANIFEST_RESPONSE_SCHEMA } from './linkSchemas.js';
4
4
  export const getLinkManifest = buildGetRoute({
5
5
  pathResolver: () => `/v1/link/manifest`,
6
6
  description: 'Get connector manifest for current link based on its saved mode with fallback to default manifest if no saved mode was found.',
@@ -40,8 +40,8 @@ export declare const postCreateIntegrationProjectContract: import("@lokalise/api
40
40
  baseLocale: z.ZodString;
41
41
  targetLocales: z.ZodArray<z.ZodString>;
42
42
  projectType: z.ZodEnum<{
43
- readonly contentIntegration: "content_integration";
44
- readonly marketingIntegrations: "marketing_integrations";
43
+ readonly contentIntegration: 'content_integration';
44
+ readonly marketingIntegrations: 'marketing_integrations';
45
45
  }>;
46
46
  config: z.ZodRecord<z.ZodString, z.ZodAny>;
47
47
  }, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
@@ -1,8 +1,8 @@
1
1
  import { buildGetRoute, buildPayloadRoute } from '@lokalise/api-contracts';
2
2
  import { z } from 'zod/v4';
3
- import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from "../commonRequestSchemas.js";
4
- import { UNSUPPORTED_PROJECT_TYPE_ERROR_RESPONSE_SCHEMA } from "../integration/integrationSchemas.js";
5
- import { GET_LIST_PROJECT_INTEGRATIONS_REQUEST_PATH_PARAMS_SCHEMA, GET_LIST_PROJECT_INTEGRATIONS_RESPONSE_SCHEMA, POST_CREATE_INTEGRATION_PROJECT_PARAMS_SCHEMA, POST_CREATE_INTEGRATION_PROJECT_PAYLOAD_SCHEMA, POST_CREATE_INTEGRATION_PROJECT_RESPONSE_SCHEMA, } from "./projectSchemas.js";
3
+ import { AUTHORIZATION_HEADER_SCHEMA, COMMON_ERROR_RESPONSE_SCHEMA_V2, } from '../commonRequestSchemas.js';
4
+ import { UNSUPPORTED_PROJECT_TYPE_ERROR_RESPONSE_SCHEMA } from '../integration/integrationSchemas.js';
5
+ import { GET_LIST_PROJECT_INTEGRATIONS_REQUEST_PATH_PARAMS_SCHEMA, GET_LIST_PROJECT_INTEGRATIONS_RESPONSE_SCHEMA, POST_CREATE_INTEGRATION_PROJECT_PARAMS_SCHEMA, POST_CREATE_INTEGRATION_PROJECT_PAYLOAD_SCHEMA, POST_CREATE_INTEGRATION_PROJECT_RESPONSE_SCHEMA, } from './projectSchemas.js';
6
6
  export const getListProjectIntegrationsContract = buildGetRoute({
7
7
  pathResolver: (params) => `/v1/projects/${params.projectId}/integrations`,
8
8
  description: "Get list of project's integrations",
@@ -5,11 +5,11 @@ export declare const GET_LIST_PROJECT_INTEGRATIONS_REQUEST_PATH_PARAMS_SCHEMA: z
5
5
  export type GetListProjectIntegrationsRequestPathParams = z.infer<typeof GET_LIST_PROJECT_INTEGRATIONS_REQUEST_PATH_PARAMS_SCHEMA>;
6
6
  /** @deprecated Use return from getConnectorListForPlatformContract */
7
7
  export declare const VantageProjectIntegrationEnum: {
8
- readonly contentful: "contentful-native";
9
- readonly googleDrive: "google-drive";
10
- readonly strapi: "strapi";
11
- readonly webflowNew: "webflow-new";
12
- readonly sendgrid: "sendgrid";
8
+ readonly contentful: 'contentful-native';
9
+ readonly googleDrive: 'google-drive';
10
+ readonly strapi: 'strapi';
11
+ readonly webflowNew: 'webflow-new';
12
+ readonly sendgrid: 'sendgrid';
13
13
  };
14
14
  /** @deprecated Types should be a generic string from now on */
15
15
  export type VantageProjectIntegrationEnumType = (typeof VantageProjectIntegrationEnum)[keyof typeof VantageProjectIntegrationEnum];
@@ -39,8 +39,8 @@ export declare const POST_CREATE_INTEGRATION_PROJECT_PAYLOAD_SCHEMA: z.ZodObject
39
39
  baseLocale: z.ZodString;
40
40
  targetLocales: z.ZodArray<z.ZodString>;
41
41
  projectType: z.ZodEnum<{
42
- readonly contentIntegration: "content_integration";
43
- readonly marketingIntegrations: "marketing_integrations";
42
+ readonly contentIntegration: 'content_integration';
43
+ readonly marketingIntegrations: 'marketing_integrations';
44
44
  }>;
45
45
  config: z.ZodRecord<z.ZodString, z.ZodAny>;
46
46
  }, z.core.$strip>;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod/v4';
2
- import { ProjectEnum } from "../integration/integrationSchemas.js";
2
+ import { ProjectEnum } from '../integration/integrationSchemas.js';
3
3
  export const GET_LIST_PROJECT_INTEGRATIONS_REQUEST_PATH_PARAMS_SCHEMA = z.object({
4
4
  projectId: z.guid(),
5
5
  });