@lokalise/translation-storage-api-schemas 9.3.0 → 9.4.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.
@@ -0,0 +1,46 @@
1
+ import { z } from 'zod/v4';
2
+ declare const GET_EDITOR_ACCESSIBLE_LOCALES_REQUEST_PARAMS_SCHEMA: z.ZodObject<{
3
+ projectId: z.ZodGUID;
4
+ }, z.core.$strip>;
5
+ export type GetEditorAccessibleLocalesRequestParams = z.infer<typeof GET_EDITOR_ACCESSIBLE_LOCALES_REQUEST_PARAMS_SCHEMA>;
6
+ declare const GET_EDITOR_ACCESSIBLE_LOCALES_RESPONSE_SCHEMA: z.ZodObject<{
7
+ data: z.ZodObject<{
8
+ accessibleLocales: z.ZodArray<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ }, z.core.$strip>;
11
+ export type GetEditorAccessibleLocalesResponse = z.infer<typeof GET_EDITOR_ACCESSIBLE_LOCALES_RESPONSE_SCHEMA>;
12
+ export declare const getEditorAccessibleLocalesContract: import("@lokalise/api-contracts").GetRouteDefinition<z.ZodObject<{
13
+ data: z.ZodObject<{
14
+ accessibleLocales: z.ZodArray<z.ZodString>;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ projectId: z.ZodGUID;
18
+ }, z.core.$strip>, undefined, z.ZodAny, undefined, false, false, {
19
+ 200: z.ZodObject<{
20
+ data: z.ZodObject<{
21
+ accessibleLocales: z.ZodArray<z.ZodString>;
22
+ }, z.core.$strip>;
23
+ }, z.core.$strip>;
24
+ 404: z.ZodObject<{
25
+ message: z.ZodString;
26
+ errorCode: z.ZodString;
27
+ details: z.ZodOptional<z.ZodAny>;
28
+ }, z.core.$strip>;
29
+ 400: z.ZodObject<{
30
+ message: z.ZodString;
31
+ errorCode: z.ZodString;
32
+ details: z.ZodOptional<z.ZodAny>;
33
+ }, z.core.$strip>;
34
+ 401: z.ZodObject<{
35
+ message: z.ZodString;
36
+ errorCode: z.ZodString;
37
+ details: z.ZodOptional<z.ZodAny>;
38
+ }, z.core.$strip>;
39
+ 403: z.ZodObject<{
40
+ message: z.ZodString;
41
+ errorCode: z.ZodString;
42
+ details: z.ZodOptional<z.ZodAny>;
43
+ }, z.core.$strip>;
44
+ }>;
45
+ export {};
46
+ //# sourceMappingURL=get-editor-accessible-locales.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-editor-accessible-locales.d.ts","sourceRoot":"","sources":["../../../../src/api/contracts/editor/get-editor-accessible-locales.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAK1B,QAAA,MAAM,mDAAmD;;iBAEvD,CAAA;AACF,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAC3D,OAAO,mDAAmD,CAC3D,CAAA;AAED,QAAA,MAAM,6CAA6C;;;;iBAIjD,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,6CAA6C,CACrD,CAAA;AAED,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAe7C,CAAA"}
@@ -0,0 +1,33 @@
1
+ import { COMMON_ERROR_RESPONSE_SCHEMA } from '@lokalise/api-common';
2
+ import { buildRestContract } from '@lokalise/api-contracts';
3
+ import { ALL_ROLES } from '@lokalise/autopilot-common-api-schemas';
4
+ import { commonErrorResponses } from '@lokalise/common-api-schemas';
5
+ import { z } from 'zod/v4';
6
+ // ------------------------------------------
7
+ // GET /v1/projects/:projectId/editor/accessible-locales
8
+ // ------------------------------------------
9
+ const GET_EDITOR_ACCESSIBLE_LOCALES_REQUEST_PARAMS_SCHEMA = z.object({
10
+ projectId: z.guid(),
11
+ });
12
+ const GET_EDITOR_ACCESSIBLE_LOCALES_RESPONSE_SCHEMA = z.object({
13
+ data: z.object({
14
+ accessibleLocales: z.array(z.string()),
15
+ }),
16
+ });
17
+ export const getEditorAccessibleLocalesContract = buildRestContract({
18
+ method: 'get',
19
+ requestPathParamsSchema: GET_EDITOR_ACCESSIBLE_LOCALES_REQUEST_PARAMS_SCHEMA,
20
+ requestHeaderSchema: z.any(),
21
+ pathResolver: (params) => `/v1/projects/${params.projectId}/editor/accessible-locales`,
22
+ description: 'Get the locales the current user is allowed to review in the given project',
23
+ successResponseBodySchema: GET_EDITOR_ACCESSIBLE_LOCALES_RESPONSE_SCHEMA,
24
+ metadata: {
25
+ allowedWorkspaceRoles: ALL_ROLES,
26
+ },
27
+ responseSchemasByStatusCode: {
28
+ ...commonErrorResponses,
29
+ 200: GET_EDITOR_ACCESSIBLE_LOCALES_RESPONSE_SCHEMA,
30
+ 404: COMMON_ERROR_RESPONSE_SCHEMA,
31
+ },
32
+ });
33
+ //# sourceMappingURL=get-editor-accessible-locales.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-editor-accessible-locales.js","sourceRoot":"","sources":["../../../../src/api/contracts/editor/get-editor-accessible-locales.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAA;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AACnE,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,6CAA6C;AAC7C,wDAAwD;AACxD,6CAA6C;AAC7C,MAAM,mDAAmD,GAAG,CAAC,CAAC,MAAM,CAAC;IACnE,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;CACpB,CAAC,CAAA;AAKF,MAAM,6CAA6C,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7D,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;QACb,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;KACvC,CAAC;CACH,CAAC,CAAA;AAKF,MAAM,CAAC,MAAM,kCAAkC,GAAG,iBAAiB,CAAC;IAClE,MAAM,EAAE,KAAK;IACb,uBAAuB,EAAE,mDAAmD;IAC5E,mBAAmB,EAAE,CAAC,CAAC,GAAG,EAAE;IAC5B,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,gBAAgB,MAAM,CAAC,SAAS,4BAA4B;IACtF,WAAW,EAAE,4EAA4E;IACzF,yBAAyB,EAAE,6CAA6C;IACxE,QAAQ,EAAE;QACR,qBAAqB,EAAE,SAAS;KACjC;IACD,2BAA2B,EAAE;QAC3B,GAAG,oBAAoB;QACvB,GAAG,EAAE,6CAA6C;QAClD,GAAG,EAAE,4BAA4B;KAClC;CACF,CAAC,CAAA"}
@@ -0,0 +1,75 @@
1
+ import type { ObjectValues } from '@lokalise/universal-ts-utils/type/ObjectValues';
2
+ import { z } from 'zod/v4';
3
+ export declare const SegmentTranslateModeEnum: {
4
+ readonly REPHRASE: "REPHRASE";
5
+ readonly SHORTEN: "SHORTEN";
6
+ readonly TRANSLATE: "TRANSLATE";
7
+ };
8
+ export type SegmentTranslateMode = ObjectValues<typeof SegmentTranslateModeEnum>;
9
+ export declare const SEGMENT_TRANSLATE_HISTORY_SCHEMA: z.ZodObject<{
10
+ mode: z.ZodEnum<{
11
+ REPHRASE: "REPHRASE";
12
+ SHORTEN: "SHORTEN";
13
+ }>;
14
+ value: z.ZodString;
15
+ }, z.core.$strip>;
16
+ export type SegmentTranslateHistory = z.infer<typeof SEGMENT_TRANSLATE_HISTORY_SCHEMA>;
17
+ declare const POST_EDITOR_SEGMENT_ACTIONS_TRANSLATE_REQUEST_PARAMS_SCHEMA: z.ZodObject<{
18
+ projectId: z.ZodGUID;
19
+ segmentId: z.ZodGUID;
20
+ }, z.core.$strip>;
21
+ export type PostEditorSegmentActionsTranslateRequestParams = z.infer<typeof POST_EDITOR_SEGMENT_ACTIONS_TRANSLATE_REQUEST_PARAMS_SCHEMA>;
22
+ declare const POST_EDITOR_SEGMENT_ACTIONS_TRANSLATE_REQUEST_BODY_SCHEMA: z.ZodObject<{
23
+ mode: z.ZodEnum<{
24
+ readonly REPHRASE: "REPHRASE";
25
+ readonly SHORTEN: "SHORTEN";
26
+ readonly TRANSLATE: "TRANSLATE";
27
+ }>;
28
+ history: z.ZodOptional<z.ZodArray<z.ZodObject<{
29
+ values: z.ZodArray<z.ZodString>;
30
+ mode: z.ZodEnum<{
31
+ readonly REPHRASE: "REPHRASE";
32
+ readonly SHORTEN: "SHORTEN";
33
+ }>;
34
+ }, z.core.$strip>>>;
35
+ assets: z.ZodOptional<z.ZodObject<{
36
+ translationMemoryRecords: z.ZodOptional<z.ZodArray<z.ZodGUID>>;
37
+ glossaryTerms: z.ZodOptional<z.ZodArray<z.ZodGUID>>;
38
+ }, z.core.$strip>>;
39
+ }, z.core.$strip>;
40
+ export type PostEditorSegmentActionsTranslateRequestBody = z.infer<typeof POST_EDITOR_SEGMENT_ACTIONS_TRANSLATE_REQUEST_BODY_SCHEMA>;
41
+ declare const TRANSLATION_CHUNK_SSE_SCHEMA: z.ZodObject<{
42
+ id: z.ZodString;
43
+ isComplete: z.ZodBoolean;
44
+ content: z.ZodString;
45
+ }, z.core.$strip>;
46
+ export type TranslationChunkSSE = z.infer<typeof TRANSLATION_CHUNK_SSE_SCHEMA>;
47
+ export declare const postEditorSegmentActionsTranslate: import("@lokalise/api-contracts").SSEContractDefinition<"patch" | "post" | "put", z.ZodObject<{
48
+ projectId: z.ZodGUID;
49
+ segmentId: z.ZodGUID;
50
+ }, z.core.$strip>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodAny, z.ZodObject<{
51
+ mode: z.ZodEnum<{
52
+ readonly REPHRASE: "REPHRASE";
53
+ readonly SHORTEN: "SHORTEN";
54
+ readonly TRANSLATE: "TRANSLATE";
55
+ }>;
56
+ history: z.ZodOptional<z.ZodArray<z.ZodObject<{
57
+ values: z.ZodArray<z.ZodString>;
58
+ mode: z.ZodEnum<{
59
+ readonly REPHRASE: "REPHRASE";
60
+ readonly SHORTEN: "SHORTEN";
61
+ }>;
62
+ }, z.core.$strip>>>;
63
+ assets: z.ZodOptional<z.ZodObject<{
64
+ translationMemoryRecords: z.ZodOptional<z.ZodArray<z.ZodGUID>>;
65
+ glossaryTerms: z.ZodOptional<z.ZodArray<z.ZodGUID>>;
66
+ }, z.core.$strip>>;
67
+ }, z.core.$strip>, {
68
+ 'translation.chunk': z.ZodObject<{
69
+ id: z.ZodString;
70
+ isComplete: z.ZodBoolean;
71
+ content: z.ZodString;
72
+ }, z.core.$strip>;
73
+ }, undefined>;
74
+ export {};
75
+ //# sourceMappingURL=post-segment-actions-translate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-segment-actions-translate.d.ts","sourceRoot":"","sources":["../../../../src/api/contracts/editor/post-segment-actions-translate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gDAAgD,CAAA;AAClF,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAG1B,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAA;AACV,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEhF,eAAO,MAAM,gCAAgC;;;;;;iBAG3C,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAKtF,QAAA,MAAM,2DAA2D;;;iBAG/D,CAAA;AACF,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAClE,OAAO,2DAA2D,CACnE,CAAA;AAED,QAAA,MAAM,yDAAyD;;;;;;;;;;;;;;;;;iBAc5D,CAAA;AACH,MAAM,MAAM,4CAA4C,GAAG,CAAC,CAAC,KAAK,CAChE,OAAO,yDAAyD,CACjE,CAAA;AAED,QAAA,MAAM,4BAA4B;;;;iBAIhC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAE9E,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;aAS5C,CAAA"}
@@ -0,0 +1,47 @@
1
+ import { buildContract } from '@lokalise/api-contracts';
2
+ import { DEFAULT_ALLOWED_ROLES } from '@lokalise/autopilot-common-api-schemas';
3
+ import { z } from 'zod/v4';
4
+ import { SEGMENT_VARIANTS_HISTORY_SCHEMA } from "../../../schemas/api/editor.js";
5
+ export const SegmentTranslateModeEnum = {
6
+ REPHRASE: 'REPHRASE',
7
+ SHORTEN: 'SHORTEN',
8
+ TRANSLATE: 'TRANSLATE',
9
+ };
10
+ export const SEGMENT_TRANSLATE_HISTORY_SCHEMA = z.object({
11
+ mode: z.enum([SegmentTranslateModeEnum.REPHRASE, SegmentTranslateModeEnum.SHORTEN]),
12
+ value: z.string().nonempty(),
13
+ });
14
+ // ------------------------------------------
15
+ // GET /v1/projects/:projectId/editor/segments/:segmentId/actions/translate
16
+ // ------------------------------------------
17
+ const POST_EDITOR_SEGMENT_ACTIONS_TRANSLATE_REQUEST_PARAMS_SCHEMA = z.object({
18
+ projectId: z.guid(),
19
+ segmentId: z.guid(),
20
+ });
21
+ const POST_EDITOR_SEGMENT_ACTIONS_TRANSLATE_REQUEST_BODY_SCHEMA = z
22
+ .object({
23
+ mode: z.enum(SegmentTranslateModeEnum),
24
+ history: z.array(SEGMENT_VARIANTS_HISTORY_SCHEMA).optional(),
25
+ assets: z
26
+ .object({
27
+ translationMemoryRecords: z.array(z.guid()).optional(),
28
+ glossaryTerms: z.array(z.guid()).optional(),
29
+ })
30
+ .optional(),
31
+ })
32
+ .refine((body) => body.mode !== 'TRANSLATE' || body.history === undefined, 'History is not allowed for TRANSLATE mode');
33
+ const TRANSLATION_CHUNK_SSE_SCHEMA = z.object({
34
+ id: z.string(),
35
+ isComplete: z.boolean(),
36
+ content: z.string(),
37
+ });
38
+ export const postEditorSegmentActionsTranslate = buildContract({
39
+ method: 'post',
40
+ requestPathParamsSchema: POST_EDITOR_SEGMENT_ACTIONS_TRANSLATE_REQUEST_PARAMS_SCHEMA,
41
+ requestHeaderSchema: z.any(),
42
+ pathResolver: (params) => `/v1/projects/${params.projectId}/editor/segments/${params.segmentId}/actions/translate`,
43
+ requestBodySchema: POST_EDITOR_SEGMENT_ACTIONS_TRANSLATE_REQUEST_BODY_SCHEMA,
44
+ serverSentEventSchemas: { 'translation.chunk': TRANSLATION_CHUNK_SSE_SCHEMA },
45
+ metadata: { allowedWorkspaceRoles: DEFAULT_ALLOWED_ROLES },
46
+ });
47
+ //# sourceMappingURL=post-segment-actions-translate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-segment-actions-translate.js","sourceRoot":"","sources":["../../../../src/api/contracts/editor/post-segment-actions-translate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAA;AAE9E,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAA;AAEhF,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;CACd,CAAA;AAGV,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACvD,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,wBAAwB,CAAC,QAAQ,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC;IACnF,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAA;AAGF,6CAA6C;AAC7C,2EAA2E;AAC3E,6CAA6C;AAC7C,MAAM,2DAA2D,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3E,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;IACnB,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;CACpB,CAAC,CAAA;AAKF,MAAM,yDAAyD,GAAG,CAAC;KAChE,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC;IACtC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC,QAAQ,EAAE;IAC5D,MAAM,EAAE,CAAC;SACN,MAAM,CAAC;QACN,wBAAwB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;QACtD,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;KAC5C,CAAC;SACD,QAAQ,EAAE;CACd,CAAC;KACD,MAAM,CACL,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,WAAW,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,EACjE,2CAA2C,CAC5C,CAAA;AAKH,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,iCAAiC,GAAG,aAAa,CAAC;IAC7D,MAAM,EAAE,MAAM;IACd,uBAAuB,EAAE,2DAA2D;IACpF,mBAAmB,EAAE,CAAC,CAAC,GAAG,EAAE;IAC5B,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CACvB,gBAAgB,MAAM,CAAC,SAAS,oBAAoB,MAAM,CAAC,SAAS,oBAAoB;IAC1F,iBAAiB,EAAE,yDAAyD;IAC5E,sBAAsB,EAAE,EAAE,mBAAmB,EAAE,4BAA4B,EAAE;IAC7E,QAAQ,EAAE,EAAE,qBAAqB,EAAE,qBAAqB,EAAE;CAC3D,CAAC,CAAA"}
@@ -5,9 +5,11 @@ export * from './content-manager/patch-import-settings.ts';
5
5
  export * from './content-manager/post-import-settings.ts';
6
6
  export * from './default-reviewers/get-project-default-reviewers.ts';
7
7
  export * from './default-reviewers/post-project-default-reviewers.ts';
8
+ export * from './editor/get-editor-accessible-locales.ts';
8
9
  export * from './editor/get-editor-content.ts';
9
10
  export * from './editor/get-editor-content-filters.ts';
10
11
  export * from './editor/get-editor-items-summary.ts';
12
+ export * from './editor/post-segment-actions-translate.ts';
11
13
  export * from './translation-process/get-project-translation-process-by-id.ts';
12
14
  export * from './translation-process/post-create-translation-job.ts';
13
15
  export * from './translation-settings/post-retrieve-batch-translation-settings.ts';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAA;AAC1D,cAAc,0CAA0C,CAAA;AACxD,cAAc,8CAA8C,CAAA;AAC5D,cAAc,4CAA4C,CAAA;AAC1D,cAAc,2CAA2C,CAAA;AACzD,cAAc,sDAAsD,CAAA;AACpE,cAAc,uDAAuD,CAAA;AACrE,cAAc,gCAAgC,CAAA;AAC9C,cAAc,wCAAwC,CAAA;AACtD,cAAc,sCAAsC,CAAA;AACpD,cAAc,gEAAgE,CAAA;AAC9E,cAAc,sDAAsD,CAAA;AACpE,cAAc,oEAAoE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAA;AAC1D,cAAc,0CAA0C,CAAA;AACxD,cAAc,8CAA8C,CAAA;AAC5D,cAAc,4CAA4C,CAAA;AAC1D,cAAc,2CAA2C,CAAA;AACzD,cAAc,sDAAsD,CAAA;AACpE,cAAc,uDAAuD,CAAA;AACrE,cAAc,2CAA2C,CAAA;AACzD,cAAc,gCAAgC,CAAA;AAC9C,cAAc,wCAAwC,CAAA;AACtD,cAAc,sCAAsC,CAAA;AACpD,cAAc,4CAA4C,CAAA;AAC1D,cAAc,gEAAgE,CAAA;AAC9E,cAAc,sDAAsD,CAAA;AACpE,cAAc,oEAAoE,CAAA"}
@@ -5,9 +5,11 @@ export * from "./content-manager/patch-import-settings.js";
5
5
  export * from "./content-manager/post-import-settings.js";
6
6
  export * from "./default-reviewers/get-project-default-reviewers.js";
7
7
  export * from "./default-reviewers/post-project-default-reviewers.js";
8
+ export * from "./editor/get-editor-accessible-locales.js";
8
9
  export * from "./editor/get-editor-content.js";
9
10
  export * from "./editor/get-editor-content-filters.js";
10
11
  export * from "./editor/get-editor-items-summary.js";
12
+ export * from "./editor/post-segment-actions-translate.js";
11
13
  export * from "./translation-process/get-project-translation-process-by-id.js";
12
14
  export * from "./translation-process/post-create-translation-job.js";
13
15
  export * from "./translation-settings/post-retrieve-batch-translation-settings.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAA;AAC1D,cAAc,0CAA0C,CAAA;AACxD,cAAc,8CAA8C,CAAA;AAC5D,cAAc,4CAA4C,CAAA;AAC1D,cAAc,2CAA2C,CAAA;AACzD,cAAc,sDAAsD,CAAA;AACpE,cAAc,uDAAuD,CAAA;AACrE,cAAc,gCAAgC,CAAA;AAC9C,cAAc,wCAAwC,CAAA;AACtD,cAAc,sCAAsC,CAAA;AACpD,cAAc,gEAAgE,CAAA;AAC9E,cAAc,sDAAsD,CAAA;AACpE,cAAc,oEAAoE,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAA;AAC1D,cAAc,0CAA0C,CAAA;AACxD,cAAc,8CAA8C,CAAA;AAC5D,cAAc,4CAA4C,CAAA;AAC1D,cAAc,2CAA2C,CAAA;AACzD,cAAc,sDAAsD,CAAA;AACpE,cAAc,uDAAuD,CAAA;AACrE,cAAc,2CAA2C,CAAA;AACzD,cAAc,gCAAgC,CAAA;AAC9C,cAAc,wCAAwC,CAAA;AACtD,cAAc,sCAAsC,CAAA;AACpD,cAAc,4CAA4C,CAAA;AAC1D,cAAc,gEAAgE,CAAA;AAC9E,cAAc,sDAAsD,CAAA;AACpE,cAAc,oEAAoE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokalise/translation-storage-api-schemas",
3
- "version": "9.3.0",
3
+ "version": "9.4.1",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@lokalise/api-common": "^6.1.2",
23
- "@lokalise/api-contracts": "^6.6.0",
23
+ "@lokalise/api-contracts": "^6.9.0",
24
24
  "@lokalise/autopilot-common-api-schemas": "*",
25
25
  "@lokalise/common-api-schemas": "^2.1.1",
26
26
  "@lokalise/supported-languages": "^3.2.0",