@lokalise/translation-storage-api-schemas 20.0.2 → 20.1.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 (86) hide show
  1. package/dist/api/contracts/content/delete-item.d.ts +1 -1
  2. package/dist/api/contracts/content/get-content-unit-segments.d.ts +1 -1
  3. package/dist/api/contracts/content/get-content-units-character-usage-subscribe.d.ts +1 -1
  4. package/dist/api/contracts/content/get-content-units.d.ts +1 -1
  5. package/dist/api/contracts/content/get-items-lock-status.d.ts +1 -1
  6. package/dist/api/contracts/content/get-items.d.ts +1 -1
  7. package/dist/api/contracts/content/get-project-content-languages.d.ts +1 -1
  8. package/dist/api/contracts/content/get-segment-events-subscribe.d.ts +1 -1
  9. package/dist/api/contracts/content/patch-update-segment.d.ts +17 -3
  10. package/dist/api/contracts/content/patch-update-segment.d.ts.map +1 -1
  11. package/dist/api/contracts/content/patch-update-segment.js +27 -3
  12. package/dist/api/contracts/content/patch-update-segment.js.map +1 -1
  13. package/dist/api/contracts/content/post-bulk-update-segments.d.ts +1 -1
  14. package/dist/api/contracts/content/post-content-units-actions-get-character-usage.d.ts +1 -1
  15. package/dist/api/contracts/content/post-items-actions-get-filtered.d.ts +1 -1
  16. package/dist/api/contracts/content/post-items-bulk-delete.d.ts +1 -1
  17. package/dist/api/contracts/content-manager/get-content-manager-events-subscribe.d.ts +1 -1
  18. package/dist/api/contracts/content-manager/get-content-manager-items-summary.d.ts +4 -1
  19. package/dist/api/contracts/content-manager/get-content-manager-items-summary.d.ts.map +1 -1
  20. package/dist/api/contracts/content-manager/get-content-manager-items-summary.js +3 -0
  21. package/dist/api/contracts/content-manager/get-content-manager-items-summary.js.map +1 -1
  22. package/dist/api/contracts/content-manager/get-files.d.ts +1 -1
  23. package/dist/api/contracts/content-manager/get-import-details.d.ts +1 -1
  24. package/dist/api/contracts/content-manager/get-import-settings.d.ts +1 -1
  25. package/dist/api/contracts/content-manager/get-languages-summary.d.ts +1 -1
  26. package/dist/api/contracts/content-manager/get-languages.d.ts +1 -1
  27. package/dist/api/contracts/content-manager/get-translation-request.d.ts +1 -1
  28. package/dist/api/contracts/content-manager/patch-import-settings.d.ts +1 -1
  29. package/dist/api/contracts/content-manager/post-import-files.d.ts +1 -1
  30. package/dist/api/contracts/content-manager/post-import-settings.d.ts +2 -2
  31. package/dist/api/contracts/content-manager/post-request-import.d.ts +1 -1
  32. package/dist/api/contracts/content-manager/request-export-by-item-ids.d.ts +1 -1
  33. package/dist/api/contracts/content-manager/request-export-by-item-names.d.ts +1 -1
  34. package/dist/api/contracts/context/delete-glossary-term.d.ts +1 -1
  35. package/dist/api/contracts/context/delete-project-translation-memory-settings.d.ts +1 -1
  36. package/dist/api/contracts/context/delete-style-guide.d.ts +1 -1
  37. package/dist/api/contracts/context/delete-workspace-glossary.d.ts +1 -1
  38. package/dist/api/contracts/context/get-glossary-terms-recommendations.d.ts +1 -1
  39. package/dist/api/contracts/context/get-project-translation-memory-settings.d.ts +1 -1
  40. package/dist/api/contracts/context/get-recent-workspace-glossary-application.d.ts +1 -1
  41. package/dist/api/contracts/context/get-style-guide-for-project.d.ts +1 -1
  42. package/dist/api/contracts/context/get-style-guides-for-workspace.d.ts +1 -1
  43. package/dist/api/contracts/context/get-workspace-glossary-terms.d.ts +1 -1
  44. package/dist/api/contracts/context/get-workspace-glossary.d.ts +1 -1
  45. package/dist/api/contracts/context/get-workspace-translation-memories.d.ts +1 -1
  46. package/dist/api/contracts/context/post-apply-workspace-glossary.d.ts +1 -1
  47. package/dist/api/contracts/context/post-create-glossary-term.d.ts +1 -1
  48. package/dist/api/contracts/context/post-create-style-guide.d.ts +1 -1
  49. package/dist/api/contracts/context/post-create-workspace-glossary.d.ts +1 -1
  50. package/dist/api/contracts/context/post-mark-glossary-terms-recommendations-as-seen.d.ts +1 -1
  51. package/dist/api/contracts/context/put-update-glossary-term-recommendation.d.ts +1 -1
  52. package/dist/api/contracts/context/put-update-glossary-term.d.ts +1 -1
  53. package/dist/api/contracts/context/put-update-project-translation-memory-settings.d.ts +1 -1
  54. package/dist/api/contracts/context/put-update-style-guide-for-project.d.ts +1 -1
  55. package/dist/api/contracts/context/put-update-style-guide.d.ts +1 -1
  56. package/dist/api/contracts/editor/bulk-actions/get-editor-bulk-actions-selection-content.d.ts +1 -1
  57. package/dist/api/contracts/editor/bulk-actions/get-editor-bulk-actions-selection-get-count.d.ts +1 -1
  58. package/dist/api/contracts/editor/bulk-actions/get-editor-bulk-actions.d.ts +1 -1
  59. package/dist/api/contracts/editor/bulk-actions/post-editor-bulk-action-actions-cancel.d.ts +1 -1
  60. package/dist/api/contracts/editor/bulk-actions/post-editor-bulk-actions-selection-get-selected.d.ts +1 -1
  61. package/dist/api/contracts/editor/bulk-actions/post-editor-bulk-actions-selection.d.ts +1 -1
  62. package/dist/api/contracts/editor/bulk-actions/post-editor-bulk-actions.d.ts +1 -1
  63. package/dist/api/contracts/editor/get-editor-accessible-locales.d.ts +1 -1
  64. package/dist/api/contracts/editor/get-editor-content-segment-cursors.d.ts +1 -1
  65. package/dist/api/contracts/editor/get-editor-work-progress.d.ts +1 -1
  66. package/dist/api/contracts/editor/get-item-preview-content.d.ts +1 -1
  67. package/dist/api/contracts/editor/get-item-preview.d.ts +1 -1
  68. package/dist/api/contracts/editor/get-segment-duplicates.d.ts +1 -1
  69. package/dist/api/contracts/editor/post-editor-content-actions-get-filters.d.ts +1 -1
  70. package/dist/api/contracts/editor/post-editor-content-actions-search.d.ts +1 -1
  71. package/dist/api/contracts/editor/post-find-glossary-terms-matches.d.ts +1 -1
  72. package/dist/api/contracts/editor/post-item-preview.d.ts +1 -1
  73. package/dist/api/contracts/editor/post-segment-actions-lqa.d.ts +1 -1
  74. package/dist/api/contracts/editor/post-segment-actions-restore-version.d.ts +1 -1
  75. package/dist/api/contracts/editor/post-segment-actions-translate.d.ts +1 -1
  76. package/dist/api/contracts/editor/post-segment-actions-update-duplicates.d.ts +1 -1
  77. package/dist/api/contracts/leverage/get-task-leverage-report-export.d.ts +1 -1
  78. package/dist/api/contracts/leverage/get-task-leverage-report.d.ts +1 -1
  79. package/dist/api/contracts/translation-history/get-segment-history.d.ts +1 -1
  80. package/dist/api/contracts/translation-process/get-project-translation-process-by-id.d.ts +1 -1
  81. package/dist/api/contracts/translation-process/get-project-translation-process.d.ts +1 -1
  82. package/dist/api/contracts/translation-process/get-workspace-translation-status.d.ts +1 -1
  83. package/dist/api/contracts/translation-process/post-content-unit-quality-issues-actions-get-filtered.d.ts +1 -1
  84. package/dist/api/contracts/translation-process/post-segment-quality-issue-actions-resolve.d.ts +1 -1
  85. package/dist/api/contracts/translation-process/post-segment-quality-issues-actions-get-filtered.d.ts +1 -1
  86. package/package.json +4 -4
@@ -16,7 +16,7 @@ export declare const deleteItemContract: Omit<{
16
16
  readonly pathResolver: (params: {
17
17
  projectId: string;
18
18
  itemId: string;
19
- }) => string;
19
+ }) => `/v1/projects/${string}/items/${string}`;
20
20
  readonly summary: "Delete item";
21
21
  readonly description: "Delete an item and all of its content";
22
22
  readonly metadata: {
@@ -64,7 +64,7 @@ export declare const getContentUnitSegmentsContract: Omit<{
64
64
  readonly pathResolver: (params: {
65
65
  projectId: string;
66
66
  contentUnitId: string;
67
- }) => string;
67
+ }) => `/v1/projects/${string}/content-units/${string}/segments`;
68
68
  readonly summary: "List segments of a content unit";
69
69
  readonly description: string;
70
70
  readonly tags: readonly ["Segments"];
@@ -11,7 +11,7 @@ export declare const getCharacterUsageSubscribeContract: Omit<{
11
11
  }, z.core.$strip>;
12
12
  readonly pathResolver: (params: {
13
13
  projectId: string;
14
- }) => string;
14
+ }) => `/v1/projects/${string}/content-units/character-usage/actions/subscribe`;
15
15
  readonly summary: "Subscribe to character usage updates";
16
16
  readonly description: "Subscribe to live content unit character usage updates";
17
17
  readonly metadata: {
@@ -61,7 +61,7 @@ export declare const getContentUnitsContract: Omit<{
61
61
  readonly pathResolver: (params: {
62
62
  projectId: string;
63
63
  itemId: string;
64
- }) => string;
64
+ }) => `/v1/projects/${string}/items/${string}/content-units`;
65
65
  readonly summary: "List content units of an item";
66
66
  readonly description: "Get content units for an item, optionally filtered by key";
67
67
  readonly tags: readonly ["Content units"];
@@ -24,7 +24,7 @@ export declare const getItemLockStatusContract: Omit<{
24
24
  }, z.core.$strip>;
25
25
  readonly pathResolver: (params: {
26
26
  projectId: string;
27
- }) => string;
27
+ }) => `/v1/projects/${string}/items/lock-status`;
28
28
  readonly summary: "Get item lock status";
29
29
  readonly description: "Check if item name is locked for reimport";
30
30
  readonly metadata: {
@@ -91,7 +91,7 @@ export declare const getItemsContract: Omit<{
91
91
  }, z.core.$strip>;
92
92
  readonly pathResolver: (params: {
93
93
  projectId: string;
94
- }) => string;
94
+ }) => `/v1/projects/${string}/items`;
95
95
  readonly summary: "List project items";
96
96
  readonly description: "Get project items";
97
97
  readonly tags: readonly ["Items"];
@@ -43,7 +43,7 @@ export declare const getProjectContentLanguagesContract: Omit<{
43
43
  }, z.core.$strip>;
44
44
  readonly pathResolver: (params: {
45
45
  projectId: string;
46
- }) => string;
46
+ }) => `/v1/projects/${string}/content-languages`;
47
47
  readonly summary: "Get content languages";
48
48
  readonly description: "Get the content languages of a project, optionally filtered by id or locale";
49
49
  readonly responsesByStatusCode: {
@@ -51,7 +51,7 @@ export declare const getSegmentEventsSubscribeContract: Omit<{
51
51
  }, z.core.$strip>;
52
52
  readonly pathResolver: (params: {
53
53
  projectId: string;
54
- }) => string;
54
+ }) => `/v1/projects/${string}/segment-events/actions/subscribe`;
55
55
  readonly summary: "Subscribe to project segment events";
56
56
  readonly description: "Subscribe to live segment and segment set updates for a project";
57
57
  readonly metadata: {
@@ -13,6 +13,11 @@ export declare const PATCH_UPDATE_SEGMENT_BODY_SCHEMA: z.ZodObject<{
13
13
  elapsedTimeSinceLastReset: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
14
14
  }, z.core.$strip>;
15
15
  export type PatchUpdateSegmentBody = z.infer<typeof PATCH_UPDATE_SEGMENT_BODY_SCHEMA>;
16
+ declare const PATCH_UPDATE_SEGMENT_WARNING_SCHEMA: z.ZodObject<{
17
+ code: z.ZodString;
18
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19
+ }, z.core.$strip>;
20
+ export type PatchUpdateSegmentWarning = z.infer<typeof PATCH_UPDATE_SEGMENT_WARNING_SCHEMA>;
16
21
  declare const PATCH_UPDATE_SEGMENT_RESPONSE_SCHEMA: z.ZodObject<{
17
22
  data: z.ZodObject<{
18
23
  id: z.ZodGUID;
@@ -44,10 +49,14 @@ declare const PATCH_UPDATE_SEGMENT_RESPONSE_SCHEMA: z.ZodObject<{
44
49
  createdAt: z.ZodISODateTime;
45
50
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
46
51
  }, z.core.$strip>;
52
+ warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
53
+ code: z.ZodString;
54
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
55
+ }, z.core.$strip>>>;
47
56
  }, z.core.$strip>;
48
57
  export type PatchUpdateSegmentResponse = z.infer<typeof PATCH_UPDATE_SEGMENT_RESPONSE_SCHEMA>;
49
58
  export declare const patchUpdateSegmentContract: Omit<{
50
- readonly visibility: "internal";
59
+ readonly visibility: "public";
51
60
  readonly method: "patch";
52
61
  readonly requestPathParamsSchema: z.ZodObject<{
53
62
  projectId: z.ZodGUID;
@@ -64,9 +73,10 @@ export declare const patchUpdateSegmentContract: Omit<{
64
73
  readonly pathResolver: (params: {
65
74
  projectId: string;
66
75
  segmentId: string;
67
- }) => string;
76
+ }) => `/v1/projects/${string}/segments/${string}`;
68
77
  readonly summary: "Update segment";
69
- readonly description: "Update a segment";
78
+ readonly description: string;
79
+ readonly tags: readonly ["Segments"];
70
80
  readonly metadata: {
71
81
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
72
82
  };
@@ -117,6 +127,10 @@ export declare const patchUpdateSegmentContract: Omit<{
117
127
  createdAt: z.ZodISODateTime;
118
128
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
119
129
  }, z.core.$strip>;
130
+ warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
131
+ code: z.ZodString;
132
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
133
+ }, z.core.$strip>>>;
120
134
  }, z.core.$strip>;
121
135
  readonly 404: z.ZodObject<{
122
136
  message: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"patch-update-segment.d.ts","sourceRoot":"","sources":["../../../../src/api/contracts/content/patch-update-segment.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAO1B,QAAA,MAAM,kCAAkC;;;iBAGtC,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAA;AAEzF,eAAO,MAAM,gCAAgC;;;;;;;iBA2BzC,CAAA;AACJ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAErF,QAAA,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAExC,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAA;AAE7F,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;QASnC,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASvB,CAAA"}
1
+ {"version":3,"file":"patch-update-segment.d.ts","sourceRoot":"","sources":["../../../../src/api/contracts/content/patch-update-segment.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAO1B,QAAA,MAAM,kCAAkC;;;iBAGtC,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAA;AAEzF,eAAO,MAAM,gCAAgC;;;;;;;iBA2BzC,CAAA;AACJ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAErF,QAAA,MAAM,mCAAmC;;;iBAavC,CAAA;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA;AAE3F,QAAA,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAWxC,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAA;AAE7F,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;QAcnC,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASvB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { COMMON_ERROR_RESPONSE_SCHEMA } from '@lokalise/api-common';
2
2
  import { defineApiContract } from '@lokalise/api-contracts';
3
- import { DEFAULT_ALLOWED_ROLES } from '@lokalise/autopilot-common-api-schemas';
3
+ import { DEFAULT_ALLOWED_ROLES, OpenApiTags } from '@lokalise/autopilot-common-api-schemas';
4
4
  import { commonErrorResponses } from '@lokalise/common-api-schemas';
5
5
  import { z } from 'zod/v4';
6
6
  import { SEGMENT_SCHEMA, SegmentStatusEnum } from '../../objects/index.js';
@@ -38,17 +38,41 @@ export const PATCH_UPDATE_SEGMENT_BODY_SCHEMA = z
38
38
  .refine(({ value, status }) => value !== undefined || status !== undefined, {
39
39
  message: 'At least one of the fields must be defined',
40
40
  });
41
+ const PATCH_UPDATE_SEGMENT_WARNING_SCHEMA = z.object({
42
+ code: z
43
+ .string()
44
+ .describe([
45
+ 'The category of the warning, e.g. `NON_TRANSLATABLE_TAGS_MISMATCH` when the',
46
+ 'non-translatable content (NTC) of the segment does not match the NTC of its source segment',
47
+ ].join(' ')),
48
+ details: z
49
+ .record(z.string(), z.unknown())
50
+ .optional()
51
+ .describe('Additional information about the warning; its shape depends on the `code`'),
52
+ });
41
53
  const PATCH_UPDATE_SEGMENT_RESPONSE_SCHEMA = z.object({
42
54
  data: SEGMENT_SCHEMA,
55
+ warnings: z
56
+ .array(PATCH_UPDATE_SEGMENT_WARNING_SCHEMA)
57
+ .optional()
58
+ .describe([
59
+ 'Non-blocking problems detected on the `value` sent in the request. The update is applied',
60
+ 'regardless. Omitted when no problems were found',
61
+ ].join(' ')),
43
62
  });
44
63
  export const patchUpdateSegmentContract = defineApiContract({
45
- visibility: 'internal',
64
+ visibility: 'public',
46
65
  method: 'patch',
47
66
  requestPathParamsSchema: PATCH_UPDATE_SEGMENT_PARAMS_SCHEMA,
48
67
  requestBodySchema: PATCH_UPDATE_SEGMENT_BODY_SCHEMA,
49
68
  pathResolver: (params) => `/v1/projects/${params.projectId}/segments/${params.segmentId}`,
50
69
  summary: 'Update segment',
51
- description: 'Update a segment',
70
+ description: [
71
+ 'Update the value and/or the status of a segment. At least one of them must be provided.\n',
72
+ 'The value includes non-translatable content (NTC) wrapped between the Unicode characters',
73
+ '`U+E101` and `U+E102`; see the `value` field of `Segment`, for more info.',
74
+ ].join(' '),
75
+ tags: [OpenApiTags.Segments.name],
52
76
  metadata: {
53
77
  allowedWorkspaceRoles: DEFAULT_ALLOWED_ROLES,
54
78
  },
@@ -1 +1 @@
1
- {"version":3,"file":"patch-update-segment.js","sourceRoot":"","sources":["../../../../src/api/contracts/content/patch-update-segment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAA;AAC9E,OAAO,EAAE,o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GJ,MAAM,oCAAoC,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,IAAI,EAAE,cAAc;CACrB,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IAC1D,UAAU,EAAE,UAAU;IACtB,MAAM,EAAE,OAAO;IACf,uBAAuB,EAAE,kCAAkC;IAC3D,iBAAiB,EAAE,gCAAgC;IACnD,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,gBAAgB,MAAM,CAAC,SAAS,aAAa,MAAM,CAAC,SAAS,EAAE;IACzF,OAAO,EAAE,gBAAgB;IACzB,WAAW,EAAE,kBAAkB;IAC/B,QAAQ,EAAE;QACR,qBAAqB,EAAE,qBAAqB;KAC7C;IACD,qBAAqB,EAAE;QACrB,GAAG,oBAAoB;QACvB,GAAG,EAAE,oCAAoC;QACzC,GAAG,EAAE,4BAA4B;QACjC,GAAG,EAAE,4BAA4B;QACjC,GAAG,EAAE,4BAA4B;KAClC;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"patch-update-segment.js","sourceRoot":"","sources":["../../../../src/api/contracts/content/patch-update-segment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAC3F,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AACnE,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAA;AAE3D,6CAA6C;AAC7C,oDAAoD;AACpD,6CAA6C;AAC7C,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,SAAS,EA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AC,2EAA2E,CAAC;CACzF,CAAC,CAAA;AAGF,MAAM,oCAAoC,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,IAAI,EAAE,cAAc;IACpB,QAAQ,EAAE,CAAC;SACR,KAAK,CAAC,mCAAmC,CAAC;SAC1C,QAAQ,EAAE;SACV,QAAQ,CACP;QACE,0FAA0F;QAC1F,iDAAiD;KAClD,CAAC,IAAI,CAAC,GAAG,CAAC,CACZ;CACJ,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IAC1D,UAAU,EAAE,QAAQ;IACpB,MAAM,EAAE,OAAO;IACf,uBAAuB,EAAE,kCAAkC;IAC3D,iBAAiB,EAAE,gCAAgC;IACnD,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,gBAAgB,MAAM,CAAC,SAAS,aAAa,MAAM,CAAC,SAAS,EAAE;IACzF,OAAO,EAAE,gBAAgB;IACzB,WAAW,EAAE;QACX,2FAA2F;QAC3F,0FAA0F;QAC1F,2EAA2E;KAC5E,CAAC,IAAI,CAAC,GAAG,CAAC;IACX,IAAI,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC;IACjC,QAAQ,EAAE;QACR,qBAAqB,EAAE,qBAAqB;KAC7C;IACD,qBAAqB,EAAE;QACrB,GAAG,oBAAoB;QACvB,GAAG,EAAE,oCAAoC;QACzC,GAAG,EAAE,4BAA4B;QACjC,GAAG,EAAE,4BAA4B;QACjC,GAAG,EAAE,4BAA4B;KAClC;CACF,CAAC,CAAA"}
@@ -73,7 +73,7 @@ export declare const postBulkUpdateSegmentsContract: Omit<{
73
73
  }, z.core.$strip>;
74
74
  readonly pathResolver: (params: {
75
75
  projectId: string;
76
- }) => string;
76
+ }) => `/v1/projects/${string}/segments/actions/bulk-update`;
77
77
  readonly summary: "Bulk update segments";
78
78
  readonly description: "Update all segments of a content unit for the given languages";
79
79
  readonly metadata: {
@@ -39,7 +39,7 @@ export declare const postGetCharacterUsageContract: Omit<{
39
39
  }, z.core.$strip>;
40
40
  readonly pathResolver: (params: {
41
41
  projectId: string;
42
- }) => string;
42
+ }) => `/v1/projects/${string}/content-units/actions/get-character-usage`;
43
43
  readonly summary: "Get character usage";
44
44
  readonly description: "Get character usage and limit per content unit and language";
45
45
  readonly metadata: {
@@ -90,7 +90,7 @@ export declare const postGetFilteredItemsContract: Omit<{
90
90
  }, z.core.$strip>;
91
91
  readonly pathResolver: (params: {
92
92
  projectId: string;
93
- }) => string;
93
+ }) => `/v1/projects/${string}/items/actions/get-filtered`;
94
94
  readonly summary: "Get filtered items";
95
95
  readonly description: "Get project items filtered by id, sent as a body so the list can exceed a query string";
96
96
  readonly metadata: {
@@ -20,7 +20,7 @@ export declare const bulkDeleteItemsContract: Omit<{
20
20
  }, z.core.$strip>;
21
21
  readonly pathResolver: (params: {
22
22
  projectId: string;
23
- }) => string;
23
+ }) => `/v1/projects/${string}/items/bulk-delete`;
24
24
  readonly summary: "Bulk delete items";
25
25
  readonly description: "Delete several items of a project, with all of their content, in one request";
26
26
  readonly metadata: {
@@ -131,7 +131,7 @@ export declare const getContentManagerEventsSubscribeContract: Omit<{
131
131
  }, z.core.$strip>;
132
132
  readonly pathResolver: (params: {
133
133
  projectId: string;
134
- }) => string;
134
+ }) => `/v1/projects/${string}/content-manager/actions/subscribe`;
135
135
  readonly summary: "Subscribe to project content manager events";
136
136
  readonly description: "Subscribe to live content manager updates for a project";
137
137
  readonly metadata: {
@@ -25,6 +25,7 @@ export type GetContentManagerItemsSummaryRequestQueryInput = z.input<typeof GET_
25
25
  declare const CONTENT_MANAGER_ITEM_SUMMARY_SCHEMA: z.ZodObject<{
26
26
  id: z.ZodGUID;
27
27
  name: z.ZodString;
28
+ supportsPreview: z.ZodDefault<z.ZodBoolean>;
28
29
  itemStatus: z.ZodEnum<{
29
30
  readonly IMPORTING: 'IMPORTING';
30
31
  readonly IMPORTED: 'IMPORTED';
@@ -75,6 +76,7 @@ declare const GET_CONTENT_MANAGER_ITEMS_SUMMARY_RESPONSE_SCHEMA: z.ZodObject<{
75
76
  data: z.ZodArray<z.ZodObject<{
76
77
  id: z.ZodGUID;
77
78
  name: z.ZodString;
79
+ supportsPreview: z.ZodDefault<z.ZodBoolean>;
78
80
  itemStatus: z.ZodEnum<{
79
81
  readonly IMPORTING: 'IMPORTING';
80
82
  readonly IMPORTED: 'IMPORTED';
@@ -131,7 +133,7 @@ export declare const getContentManagerItemsSummaryContract: Omit<{
131
133
  }, z.core.$strip>;
132
134
  readonly pathResolver: (params: {
133
135
  projectId: string;
134
- }) => string;
136
+ }) => `/v1/projects/${string}/content-manager/items/summary`;
135
137
  readonly summary: "Get items summary";
136
138
  readonly description: "Get a lightweight summary of all items for the sidebar";
137
139
  readonly metadata: {
@@ -157,6 +159,7 @@ export declare const getContentManagerItemsSummaryContract: Omit<{
157
159
  data: z.ZodArray<z.ZodObject<{
158
160
  id: z.ZodGUID;
159
161
  name: z.ZodString;
162
+ supportsPreview: z.ZodDefault<z.ZodBoolean>;
160
163
  itemStatus: z.ZodEnum<{
161
164
  readonly IMPORTING: 'IMPORTING';
162
165
  readonly IMPORTED: 'IMPORTED';
@@ -1 +1 @@
1
- {"version":3,"file":"get-content-manager-items-summary.d.ts","sourceRoot":"","sources":["../../../../src/api/contracts/content-manager/get-content-manager-items-summary.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAG1B,eAAO,MAAM,sBAAsB;aACjC,WAAW,EAAE,aAAa;aAC1B,IAAI,EAAE,MAAM;CACJ,CAAA;AACV,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAA;AAKtE,QAAA,MAAM,uDAAuD;;iBAE3D,CAAA;AACF,MAAM,MAAM,0CAA0C,GAAG,CAAC,CAAC,KAAK,CAC9D,OAAO,uDAAuD,CAC/D,CAAA;AAID,QAAA,MAAM,sDAAsD;;;;;;;8BAlB7C,aAAa;uBACpB,MAAM;;;iBAiCX,CAAA;AACH,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAC7D,OAAO,sDAAsD,CAC9D,CAAA;AACD,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAClE,OAAO,sDAAsD,CAC9D,CAAA;AAED,QAAA,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;iBAiBvC,CAAA;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA;AAE3F,QAAA,MAAM,4CAA4C;;;;iBAOhD,CAAA;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,4CAA4C,CACpD,CAAA;AAED;;;;;;;;GAQG;AACH,QAAA,MAAM,2CAA2C;;;;;;;;;;iBAa7C,CAAA;AACJ,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,2CAA2C,CACnD,CAAA;AAED,QAAA,MAAM,iDAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKrD,CAAA;AACF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,iDAAiD,CACzD,CAAA;AAED,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;kCA/GnC,aAAa;2BACpB,MAAM;;;;;;;;;;QAuHV,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOvB,CAAA"}
1
+ {"version":3,"file":"get-content-manager-items-summary.d.ts","sourceRoot":"","sources":["../../../../src/api/contracts/content-manager/get-content-manager-items-summary.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAG1B,eAAO,MAAM,sBAAsB;aACjC,WAAW,EAAE,aAAa;aAC1B,IAAI,EAAE,MAAM;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;;;;;;;;;;;;;;;CAOvB,CAAA"}
@@ -34,6 +34,9 @@ const GET_CONTENT_MANAGER_ITEMS_SUMMARY_REQUEST_QUERY_SCHEMA = z
34
34
  const CONTENT_MANAGER_ITEM_SUMMARY_SCHEMA = z.object({
35
35
  id: z.guid(),
36
36
  name: z.string(),
37
+ // Defaults false while translation-storage rolls out. CEX-2251 removes the fallback
38
+ // once every deployed backend returns this field.
39
+ supportsPreview: z.boolean().default(false),
37
40
  itemStatus: z.enum(ItemStatusEnum),
38
41
  updatedAt: z.iso.datetime().nullable(),
39
42
  details: z
@@ -1 +1 @@
1
- {"version":3,"file":"get-content-manager-items-summary.js","sourceRoot":"","sources":["../../../../src/api/contracts/content-manager/get-content-manager-items-summary.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,EAC9B,4BAA4B,EAC5B,KAAK,GACN,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAA;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAEvD,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;CACJ,CAAA;AAIV,6CAA6C;AAC7C,4DAA4D;AAC5D,6CAA6C;AAC7C,MAAM,uDAAuD,GAAG,CAAC,CAAC,MAAM,CAAC;IACvE,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;CACpB,CAAC,CAAA;AAKF,MAAM,2BAA2B,GAAG,EAAE,CAAA;AAEtC,MAAM,sDAAsD,GAAG,CAAC;KAC7D,MAAM,CAAC;IACN,mBAA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,EAAE,UAAU;IACtB,uBAAuB,EAAE,uDAAuD;IAChF,kBAAkB,EAAE,sDAAsD;IAC1E,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,gBAAgB,MAAM,CAAC,SAAS,gCAAgC;IAC1F,OAAO,EAAE,mBAAmB;IAC5B,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE;QACR,qBAAqB,EAAE,qBAAqB;KAC7C;IACD,qBAAqB,EAAE;QACrB,GAAG,oBAAoB;QACvB,GAAG,EAAE,iDAAiD;QACtD,GAAG,EAAE,4BAA4B;KAClC;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"get-content-manager-items-summary.js","sourceRoot":"","sources":["../../../../src/api/contracts/content-manager/get-content-manager-items-summary.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,EAC9B,4BAA4B,EAC5B,KAAK,GACN,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAA;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAEvD,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;CACJ,CAAA;AAIV,6CAA6C;AAC7C,4DAA4D;AAC5D,6CAA6C;AAC7C,MAAM,uDAAuD,GAAG,CAAC,CAAC,MAAM,CAAC;IACvE,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;CACpB,CAAC,CAAA;AAKF,MAAM,2BAA2B,GAAG,EAAE,CAAA;AAEtC,MAAM,sDAAsD,GAAG,CAAC;KAC7D,MAAM,CAAC;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D,CAAC;CACH,CAAC,CAAA;AAKF,MAAM,CAAC,MAAM,qCAAqC,GAAG,iBAAiB,CAAC;IACrE,MAAM,EAAE,KAAK;IACb,UAAU,EAAE,UAAU;IACtB,uBAAuB,EAAE,uDAAuD;IAChF,kBAAkB,EAAE,sDAAsD;IAC1E,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,gBAAgB,MAAM,CAAC,SAAS,gCAAgC;IAC1F,OAAO,EAAE,mBAAmB;IAC5B,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE;QACR,qBAAqB,EAAE,qBAAqB;KAC7C;IACD,qBAAqB,EAAE;QACrB,GAAG,oBAAoB;QACvB,GAAG,EAAE,iDAAiD;QACtD,GAAG,EAAE,4BAA4B;KAClC;CACF,CAAC,CAAA"}
@@ -60,7 +60,7 @@ export declare const getContentManagerFilesContract: Omit<{
60
60
  }, z.core.$strip>;
61
61
  readonly pathResolver: (params: {
62
62
  projectId: string;
63
- }) => string;
63
+ }) => `/v1/projects/${string}/content-manager/files`;
64
64
  readonly summary: "Get files";
65
65
  readonly description: "Get content manager files";
66
66
  readonly metadata: {
@@ -36,7 +36,7 @@ export declare const getContentManagerImportDetailsContract: Omit<{
36
36
  }, z.core.$strip>;
37
37
  readonly pathResolver: (params: {
38
38
  projectId: string;
39
- }) => string;
39
+ }) => `/v1/projects/${string}/content-manager/import-details`;
40
40
  readonly summary: "Get import details";
41
41
  readonly description: "Get content manager import details";
42
42
  readonly metadata: {
@@ -21,7 +21,7 @@ export declare const getImportSettingsContract: Omit<{
21
21
  }, z.core.$strip>;
22
22
  readonly pathResolver: (params: {
23
23
  projectId: string;
24
- }) => string;
24
+ }) => `/v1/projects/${string}/content-manager/import-settings`;
25
25
  readonly summary: "Get import settings";
26
26
  readonly description: "Get content manager import settings for given project";
27
27
  readonly metadata: {
@@ -29,7 +29,7 @@ export declare const getContentManagerLanguagesSummaryContract: Omit<{
29
29
  }, z.core.$strip>;
30
30
  readonly pathResolver: (params: {
31
31
  projectId: string;
32
- }) => string;
32
+ }) => `/v1/projects/${string}/content-manager/languages/summary`;
33
33
  readonly summary: "Get languages summary";
34
34
  readonly description: "Get per-language counts of items that are ready to export";
35
35
  readonly metadata: {
@@ -48,7 +48,7 @@ export declare const getContentManagerLanguagesContract: Omit<{
48
48
  }, z.core.$strip>;
49
49
  readonly pathResolver: (params: {
50
50
  projectId: string;
51
- }) => string;
51
+ }) => `/v1/projects/${string}/content-manager/languages`;
52
52
  readonly summary: "Get languages";
53
53
  readonly description: "Get content manager language entries";
54
54
  readonly metadata: {
@@ -74,7 +74,7 @@ export declare const getTranslationRequestContract: Omit<{
74
74
  }, z.core.$strip>;
75
75
  readonly pathResolver: (params: {
76
76
  projectId: string;
77
- }) => string;
77
+ }) => `/v1/projects/${string}/content-manager/translation-request`;
78
78
  readonly summary: "Get translation request";
79
79
  readonly description: "Get translation requests by import request ID";
80
80
  readonly responsesByStatusCode: {
@@ -36,7 +36,7 @@ export declare const patchImportSettingsContract: Omit<{
36
36
  }, z.core.$strip>;
37
37
  readonly pathResolver: (params: {
38
38
  projectId: string;
39
- }) => string;
39
+ }) => `/v1/projects/${string}/content-manager/import-settings`;
40
40
  readonly summary: "Patch import settings";
41
41
  readonly description: "Patch content manager import settings for given project";
42
42
  readonly metadata: {
@@ -37,7 +37,7 @@ export declare const POST_CONTENT_MANAGER_IMPORT_FILES_CONTRACT: Omit<{
37
37
  }, z.core.$strip>;
38
38
  readonly pathResolver: (params: {
39
39
  projectId: string;
40
- }) => string;
40
+ }) => `/v1/projects/${string}/content-manager/actions/import-files`;
41
41
  readonly metadata: {
42
42
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
43
43
  };
@@ -26,7 +26,7 @@ export declare const postImportSettingsContract: Omit<{
26
26
  }, z.core.$strip>;
27
27
  readonly pathResolver: (params: {
28
28
  projectId: string;
29
- }) => string;
29
+ }) => `/v1/projects/${string}/content-manager/import-settings`;
30
30
  readonly summary: "Create import settings";
31
31
  readonly description: "Creates content manager import settings for given project";
32
32
  readonly metadata: {
@@ -85,7 +85,7 @@ export declare const createImportSettingsContract: Omit<{
85
85
  }, z.core.$strip>;
86
86
  readonly pathResolver: (params: {
87
87
  projectId: string;
88
- }) => string;
88
+ }) => `/v1/projects/${string}/content-manager/import-settings`;
89
89
  readonly summary: "Create import settings";
90
90
  readonly description: "Creates content manager import settings for given project";
91
91
  readonly metadata: {
@@ -35,7 +35,7 @@ export declare const postRequestImportContract: Omit<{
35
35
  readonly pathResolver: (params: {
36
36
  workspaceId: string;
37
37
  projectId: string;
38
- }) => string;
38
+ }) => `/v1/workspaces/${string}/projects/${string}/content-manager/actions/request-import`;
39
39
  readonly summary: "Request import";
40
40
  readonly description: "Trigger content manager import process for content-item-based project";
41
41
  readonly metadata: {
@@ -24,7 +24,7 @@ export declare const requestExportByItemIdsContract: Omit<{
24
24
  }, z.core.$strip>;
25
25
  readonly pathResolver: ({ projectId }: {
26
26
  projectId: string;
27
- }) => string;
27
+ }) => `/v1/projects/${string}/content-manager/actions/request-export-by-item-ids`;
28
28
  readonly requestBodySchema: z.ZodObject<{
29
29
  outputType: z.ZodEnum<{
30
30
  readonly CONTENT_TYPE_APP_ENGINE: 'CONTENT_TYPE_APP_ENGINE';
@@ -36,7 +36,7 @@ export declare const requestExportByItemNamesContract: Omit<{
36
36
  }, z.core.$strip>;
37
37
  readonly pathResolver: ({ projectId }: {
38
38
  projectId: string;
39
- }) => string;
39
+ }) => `/v1/projects/${string}/content-manager/actions/request-export-by-item-names`;
40
40
  readonly requestBodySchema: z.ZodObject<{
41
41
  outputType: z.ZodEnum<{
42
42
  readonly CONTENT_TYPE_APP_ENGINE: 'CONTENT_TYPE_APP_ENGINE';
@@ -10,7 +10,7 @@ export declare const deleteGlossaryTermContract: Omit<{
10
10
  readonly pathResolver: (params: {
11
11
  workspaceId: string;
12
12
  termId: string;
13
- }) => string;
13
+ }) => `/v1/workspaces/${string}/glossary/terms/${string}`;
14
14
  readonly requestPathParamsSchema: z.ZodObject<{
15
15
  workspaceId: z.ZodGUID;
16
16
  termId: z.ZodGUID;
@@ -10,7 +10,7 @@ export declare const deleteProjectTranslationMemorySettingsContract: Omit<{
10
10
  readonly pathResolver: (params: {
11
11
  workspaceId: string;
12
12
  projectId: string;
13
- }) => string;
13
+ }) => `/v1/workspaces/${string}/projects/${string}/translation-memory-settings`;
14
14
  readonly requestPathParamsSchema: z.ZodObject<{
15
15
  workspaceId: z.ZodGUID;
16
16
  projectId: z.ZodGUID;
@@ -10,7 +10,7 @@ export declare const deleteStyleGuideContract: Omit<{
10
10
  readonly pathResolver: (params: {
11
11
  workspaceId: string;
12
12
  styleGuideId: string;
13
- }) => string;
13
+ }) => `/v1/workspaces/${string}/style-guides/${string}`;
14
14
  readonly requestPathParamsSchema: z.ZodObject<{
15
15
  workspaceId: z.ZodGUID;
16
16
  styleGuideId: z.ZodGUID;
@@ -8,7 +8,7 @@ export declare const deleteWorkspaceGlossaryContract: Omit<{
8
8
  readonly method: "delete";
9
9
  readonly pathResolver: (params: {
10
10
  workspaceId: string;
11
- }) => string;
11
+ }) => `/v1/workspaces/${string}/glossary`;
12
12
  readonly requestPathParamsSchema: z.ZodObject<{
13
13
  workspaceId: z.ZodGUID;
14
14
  }, z.core.$strip>;
@@ -17,7 +17,7 @@ export declare const getGlossaryTermsRecommendationsContract: Omit<{
17
17
  readonly method: "get";
18
18
  readonly pathResolver: (params: {
19
19
  projectId: string;
20
- }) => string;
20
+ }) => `/v1/projects/${string}/glossary-terms-recommendations`;
21
21
  readonly requestPathParamsSchema: z.ZodObject<{
22
22
  projectId: z.ZodGUID;
23
23
  }, z.core.$strip>;
@@ -22,7 +22,7 @@ export declare const getProjectTranslationMemorySettingsContract: Omit<{
22
22
  readonly pathResolver: (params: {
23
23
  workspaceId: string;
24
24
  projectId: string;
25
- }) => string;
25
+ }) => `/v1/workspaces/${string}/projects/${string}/translation-memory-settings`;
26
26
  readonly requestPathParamsSchema: z.ZodObject<{
27
27
  workspaceId: z.ZodGUID;
28
28
  projectId: z.ZodGUID;
@@ -22,7 +22,7 @@ export declare const getRecentWorkspaceGlossaryApplicationContract: Omit<{
22
22
  readonly method: "get";
23
23
  readonly pathResolver: (params: {
24
24
  workspaceId: string;
25
- }) => string;
25
+ }) => `/v1/workspaces/${string}/glossary/applications/latest`;
26
26
  readonly requestPathParamsSchema: z.ZodObject<{
27
27
  workspaceId: z.ZodGUID;
28
28
  }, z.core.$strip>;
@@ -45,7 +45,7 @@ export declare const getStyleGuideForProjectContract: Omit<{
45
45
  readonly pathResolver: (params: {
46
46
  workspaceId: string;
47
47
  projectId: string;
48
- }) => string;
48
+ }) => `/v1/workspaces/${string}/projects/${string}/style-guide`;
49
49
  readonly requestPathParamsSchema: z.ZodObject<{
50
50
  workspaceId: z.ZodGUID;
51
51
  projectId: z.ZodGUID;
@@ -43,7 +43,7 @@ export declare const getStyleGuidesForWorkspaceContract: Omit<{
43
43
  readonly method: "get";
44
44
  readonly pathResolver: (params: {
45
45
  workspaceId: string;
46
- }) => string;
46
+ }) => `/v1/workspaces/${string}/style-guides`;
47
47
  readonly requestPathParamsSchema: z.ZodObject<{
48
48
  workspaceId: z.ZodGUID;
49
49
  }, z.core.$strip>;
@@ -85,7 +85,7 @@ export declare const getGlossaryTermsContract: Omit<{
85
85
  }, z.core.$strip>;
86
86
  readonly pathResolver: (params: {
87
87
  workspaceId: string;
88
- }) => string;
88
+ }) => `/v1/workspaces/${string}/glossary/terms`;
89
89
  readonly summary: "Get workspace glossary terms";
90
90
  readonly metadata: {
91
91
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -29,7 +29,7 @@ export declare const getWorkspaceGlossaryContract: Omit<{
29
29
  }, z.core.$strip>;
30
30
  readonly pathResolver: (params: {
31
31
  workspaceId: string;
32
- }) => string;
32
+ }) => `/v1/workspaces/${string}/glossary`;
33
33
  readonly summary: "Get workspace glossary";
34
34
  readonly metadata: {
35
35
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -22,7 +22,7 @@ export declare const getWorkspaceTranslationMemoriesContract: Omit<{
22
22
  readonly method: "get";
23
23
  readonly pathResolver: (params: {
24
24
  workspaceId: string;
25
- }) => string;
25
+ }) => `/v1/workspaces/${string}/translation-memories`;
26
26
  readonly requestPathParamsSchema: z.ZodObject<{
27
27
  workspaceId: z.ZodGUID;
28
28
  }, z.core.$strip>;
@@ -22,7 +22,7 @@ export declare const postApplyWorkspaceGlossaryContract: Omit<{
22
22
  readonly method: "post";
23
23
  readonly pathResolver: (params: {
24
24
  workspaceId: string;
25
- }) => string;
25
+ }) => `/v1/workspaces/${string}/glossary/applications`;
26
26
  readonly requestPathParamsSchema: z.ZodObject<{
27
27
  workspaceId: z.ZodGUID;
28
28
  }, z.core.$strip>;
@@ -53,7 +53,7 @@ export declare const postCreateGlossaryTermContract: Omit<{
53
53
  readonly method: "post";
54
54
  readonly pathResolver: (params: {
55
55
  workspaceId: string;
56
- }) => string;
56
+ }) => `/v1/workspaces/${string}/glossary/terms`;
57
57
  readonly requestPathParamsSchema: z.ZodObject<{
58
58
  workspaceId: z.ZodGUID;
59
59
  }, z.core.$strip>;
@@ -71,7 +71,7 @@ export declare const postCreateStyleGuideContract: Omit<{
71
71
  readonly method: "post";
72
72
  readonly pathResolver: (params: {
73
73
  workspaceId: string;
74
- }) => string;
74
+ }) => `/v1/workspaces/${string}/style-guides`;
75
75
  readonly requestPathParamsSchema: z.ZodObject<{
76
76
  workspaceId: z.ZodGUID;
77
77
  }, z.core.$strip>;
@@ -30,7 +30,7 @@ export declare const postCreateWorkspaceGlossaryContract: Omit<{
30
30
  readonly method: "post";
31
31
  readonly pathResolver: (params: {
32
32
  workspaceId: string;
33
- }) => string;
33
+ }) => `/v1/workspaces/${string}/glossary`;
34
34
  readonly requestPathParamsSchema: z.ZodObject<{
35
35
  workspaceId: z.ZodGUID;
36
36
  }, z.core.$strip>;
@@ -12,7 +12,7 @@ export declare const postMarkGlossaryTermsRecommendationsAsSeenContract: Omit<{
12
12
  readonly method: "post";
13
13
  readonly pathResolver: (params: {
14
14
  projectId: string;
15
- }) => string;
15
+ }) => `/v1/projects/${string}/glossary-terms-recommendations/actions/mark-seen`;
16
16
  readonly requestPathParamsSchema: z.ZodObject<{
17
17
  projectId: z.ZodGUID;
18
18
  }, z.core.$strip>;
@@ -17,7 +17,7 @@ export declare const putUpdateGlossaryTermRecommendationContract: Omit<{
17
17
  readonly pathResolver: (params: {
18
18
  projectId: string;
19
19
  termRecommendationId: string;
20
- }) => string;
20
+ }) => `/v1/projects/${string}/glossary-terms-recommendations/${string}`;
21
21
  readonly requestPathParamsSchema: z.ZodObject<{
22
22
  projectId: z.ZodGUID;
23
23
  termRecommendationId: z.ZodGUID;
@@ -55,7 +55,7 @@ export declare const putUpdateGlossaryTermContract: Omit<{
55
55
  readonly pathResolver: (params: {
56
56
  workspaceId: string;
57
57
  termId: string;
58
- }) => string;
58
+ }) => `/v1/workspaces/${string}/glossary/terms/${string}`;
59
59
  readonly requestPathParamsSchema: z.ZodObject<{
60
60
  workspaceId: z.ZodGUID;
61
61
  termId: z.ZodGUID;
@@ -33,7 +33,7 @@ export declare const putUpdateProjectTranslationMemorySettingsContract: Omit<{
33
33
  readonly pathResolver: (params: {
34
34
  workspaceId: string;
35
35
  projectId: string;
36
- }) => string;
36
+ }) => `/v1/workspaces/${string}/projects/${string}/translation-memory-settings`;
37
37
  readonly requestPathParamsSchema: z.ZodObject<{
38
38
  workspaceId: z.ZodGUID;
39
39
  projectId: z.ZodGUID;
@@ -14,7 +14,7 @@ export declare const putUpdateStyleGuideForProjectContract: Omit<{
14
14
  readonly pathResolver: (params: {
15
15
  workspaceId: string;
16
16
  projectId: string;
17
- }) => string;
17
+ }) => `/v1/workspaces/${string}/projects/${string}/style-guide`;
18
18
  readonly requestPathParamsSchema: z.ZodObject<{
19
19
  workspaceId: z.ZodGUID;
20
20
  projectId: z.ZodGUID;
@@ -71,7 +71,7 @@ export declare const putUpdateStyleGuideContract: Omit<{
71
71
  readonly pathResolver: (params: {
72
72
  workspaceId: string;
73
73
  styleGuideId: string;
74
- }) => string;
74
+ }) => `/v1/workspaces/${string}/style-guides/${string}`;
75
75
  readonly requestPathParamsSchema: z.ZodObject<{
76
76
  workspaceId: z.ZodGUID;
77
77
  styleGuideId: z.ZodGUID;
@@ -145,7 +145,7 @@ export declare const getEditorBulkActionsSelectionContentContract: Omit<{
145
145
  }, z.core.$strip>;
146
146
  readonly pathResolver: (params: {
147
147
  projectId: string;
148
- }) => string;
148
+ }) => `/v1/projects/${string}/editor/bulk-actions/selection/content`;
149
149
  readonly summary: "Get editor content for the segments in the current user's bulk-action selection";
150
150
  readonly metadata: {
151
151
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -17,7 +17,7 @@ export declare const getEditorBulkActionsSelectionGetCountContract: Omit<{
17
17
  }, z.core.$strip>;
18
18
  readonly pathResolver: (params: {
19
19
  projectId: string;
20
- }) => string;
20
+ }) => `/v1/projects/${string}/editor/bulk-actions/selection/actions/get-count`;
21
21
  readonly summary: "Get the size of the current user's bulk-action selection";
22
22
  readonly metadata: {
23
23
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -87,7 +87,7 @@ export declare const getEditorBulkActionsContract: Omit<{
87
87
  }, z.core.$strip>;
88
88
  readonly pathResolver: (params: {
89
89
  projectId: string;
90
- }) => string;
90
+ }) => `/v1/projects/${string}/editor/bulk-actions`;
91
91
  readonly summary: "Get editor bulk actions (sync JSON, or live updates over SSE)";
92
92
  readonly metadata: {
93
93
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -40,7 +40,7 @@ export declare const postEditorBulkActionActionsCancelContract: Omit<{
40
40
  readonly pathResolver: (params: {
41
41
  projectId: string;
42
42
  bulkActionId: string;
43
- }) => string;
43
+ }) => `/v1/projects/${string}/editor/bulk-actions/${string}/actions/cancel`;
44
44
  readonly summary: "Cancel an editor bulk action";
45
45
  readonly metadata: {
46
46
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -25,7 +25,7 @@ export declare const postEditorBulkActionsSelectionGetSelectedContract: Omit<{
25
25
  }, z.core.$strip>;
26
26
  readonly pathResolver: (params: {
27
27
  projectId: string;
28
- }) => string;
28
+ }) => `/v1/projects/${string}/editor/bulk-actions/selection/actions/get-selected`;
29
29
  readonly summary: "Get which of the provided unitIds are currently in the user's bulk-action selection";
30
30
  readonly metadata: {
31
31
  readonly allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -228,7 +228,7 @@ export declare const postEditorBulkActionsSelectionContract: Omit<{
228
228
  }, z.core.$strip>], "action">;
229
229
  readonly pathResolver: (params: {
230
230
  projectId: string;
231
- }) => string;
231
+ }) => `/v1/projects/${string}/editor/bulk-actions/selection`;
232
232
  readonly summary: "Update the current user's bulk-action selection";
233
233
  readonly metadata: {
234
234
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -51,7 +51,7 @@ export declare const postEditorBulkActionsContract: Omit<{
51
51
  }, z.core.$strip>;
52
52
  readonly pathResolver: (params: {
53
53
  projectId: string;
54
- }) => string;
54
+ }) => `/v1/projects/${string}/editor/bulk-actions`;
55
55
  readonly summary: "Create an editor bulk action";
56
56
  readonly metadata: {
57
57
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -17,7 +17,7 @@ export declare const getEditorAccessibleLocalesContract: Omit<{
17
17
  }, z.core.$strip>;
18
18
  readonly pathResolver: (params: {
19
19
  projectId: string;
20
- }) => string;
20
+ }) => `/v1/projects/${string}/editor/accessible-locales`;
21
21
  readonly summary: "Get the locales the current user is allowed to review in the given project";
22
22
  readonly metadata: {
23
23
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner" | "portal_member")[];
@@ -21,7 +21,7 @@ export declare const getEditorContentSegmentCursorsContract: Omit<{
21
21
  readonly pathResolver: (params: {
22
22
  projectId: string;
23
23
  segmentId: string;
24
- }) => string;
24
+ }) => `/v1/projects/${string}/editor/content/segments/${string}/cursors`;
25
25
  readonly summary: "Get before/after cursors that bracket a segment in the editor content list";
26
26
  readonly metadata: {
27
27
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -29,7 +29,7 @@ export declare const getEditorWorkProgressContract: Omit<{
29
29
  }, z.core.$strip>;
30
30
  readonly pathResolver: (params: {
31
31
  projectId: string;
32
- }) => string;
32
+ }) => `/v1/projects/${string}/editor/work-progress`;
33
33
  readonly summary: "Get work progress for the editor";
34
34
  readonly metadata: {
35
35
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -52,7 +52,7 @@ export declare const getItemPreviewContentContract: Omit<{
52
52
  readonly pathResolver: (params: {
53
53
  projectId: string;
54
54
  itemId: string;
55
- }) => string;
55
+ }) => `/v1/projects/${string}/editor/items/${string}/preview/content`;
56
56
  readonly summary: "Get item preview content for a language (defaults to the source language)";
57
57
  readonly metadata: {
58
58
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -36,7 +36,7 @@ export declare const getItemPreviewContract: Omit<{
36
36
  readonly pathResolver: (params: {
37
37
  projectId: string;
38
38
  itemId: string;
39
- }) => string;
39
+ }) => `/v1/projects/${string}/editor/items/${string}/preview`;
40
40
  readonly summary: "Get item preview";
41
41
  readonly metadata: {
42
42
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -78,7 +78,7 @@ export declare const getSegmentDuplicatesContract: Omit<{
78
78
  readonly pathResolver: (params: {
79
79
  projectId: string;
80
80
  segmentId: string;
81
- }) => string;
81
+ }) => `/v1/projects/${string}/editor/segments/${string}/duplicates`;
82
82
  readonly summary: "Get segment duplicates with related segments";
83
83
  readonly metadata: {
84
84
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -182,7 +182,7 @@ export declare const postEditorContentGetFiltersContract: Omit<{
182
182
  }, z.core.$strip>;
183
183
  readonly pathResolver: (params: {
184
184
  projectId: string;
185
- }) => string;
185
+ }) => `/v1/projects/${string}/editor/content/actions/get-filters`;
186
186
  readonly summary: "Get available editor filter values and counters for a given filter scope";
187
187
  readonly metadata: {
188
188
  readonly allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -207,7 +207,7 @@ export declare const postEditorContentSearchContract: Omit<{
207
207
  }, z.core.$strip>;
208
208
  readonly pathResolver: (params: {
209
209
  projectId: string;
210
- }) => string;
210
+ }) => `/v1/projects/${string}/editor/content/actions/search`;
211
211
  readonly summary: "Search content units with segments for the editor";
212
212
  readonly metadata: {
213
213
  readonly allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -73,7 +73,7 @@ export declare const postFindGlossaryTermsMatchesContract: Omit<{
73
73
  }, z.core.$strip>;
74
74
  readonly pathResolver: (params: {
75
75
  projectId: string;
76
- }) => string;
76
+ }) => `/v1/projects/${string}/editor/glossary-terms/actions/find-matches`;
77
77
  readonly summary: "Get glossary terms matching provided segment IDs";
78
78
  readonly metadata: {
79
79
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -43,7 +43,7 @@ export declare const postRequestOnDemandPreviewContract: Omit<{
43
43
  readonly pathResolver: (params: {
44
44
  projectId: string;
45
45
  itemId: string;
46
- }) => string;
46
+ }) => `/v1/projects/${string}/editor/items/${string}/preview`;
47
47
  readonly summary: "Request on-demand preview generation for an item";
48
48
  readonly metadata: {
49
49
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -47,7 +47,7 @@ export declare const postEditorSegmentActionsLqa: Omit<{
47
47
  readonly pathResolver: (params: {
48
48
  projectId: string;
49
49
  segmentId: string;
50
- }) => string;
50
+ }) => `/v1/projects/${string}/editor/segments/${string}/actions/lqa`;
51
51
  readonly requestBodySchema: z.ZodObject<{
52
52
  value: z.ZodString;
53
53
  assets: z.ZodOptional<z.ZodObject<{
@@ -65,7 +65,7 @@ export declare const postEditorSegmentActionsRestoreVersionContract: Omit<{
65
65
  readonly pathResolver: (params: {
66
66
  projectId: string;
67
67
  segmentId: string;
68
- }) => string;
68
+ }) => `/v1/projects/${string}/editor/segments/${string}/actions/restore-version`;
69
69
  readonly metadata: {
70
70
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
71
71
  };
@@ -56,7 +56,7 @@ export declare const postEditorSegmentActionsTranslate: Omit<{
56
56
  readonly pathResolver: (params: {
57
57
  projectId: string;
58
58
  segmentId: string;
59
- }) => string;
59
+ }) => `/v1/projects/${string}/editor/segments/${string}/actions/translate`;
60
60
  readonly requestBodySchema: z.ZodObject<{
61
61
  mode: z.ZodEnum<{
62
62
  readonly REPHRASE: 'REPHRASE';
@@ -19,7 +19,7 @@ export declare const applyValueToSegmentDuplicatesContract: Omit<{
19
19
  projectId: string;
20
20
  segmentId: string;
21
21
  targetLanguageId: string;
22
- }) => string;
22
+ }) => `/v1/projects/${string}/editor/segments/${string}/actions/update-duplicates/${string}`;
23
23
  readonly summary: "Apply target segment value to source segment duplicates";
24
24
  readonly metadata: {
25
25
  allowedWorkspaceRoles: ("admin" | "biller" | "member" | "owner")[];
@@ -22,7 +22,7 @@ export declare const getTaskLeverageReportExportContract: Omit<{
22
22
  workspaceId: string;
23
23
  projectId: string;
24
24
  taskId: string;
25
- }) => string;
25
+ }) => `/v1/workspaces/${string}/projects/${string}/tasks/${string}/reports/leverage/export`;
26
26
  readonly requestPathParamsSchema: z.ZodObject<{
27
27
  workspaceId: z.ZodGUID;
28
28
  projectId: z.ZodGUID;
@@ -23,7 +23,7 @@ export declare const getTaskLeverageReportContract: Omit<{
23
23
  workspaceId: string;
24
24
  projectId: string;
25
25
  taskId: string;
26
- }) => string;
26
+ }) => `/v1/workspaces/${string}/projects/${string}/tasks/${string}/reports/leverage`;
27
27
  readonly requestPathParamsSchema: z.ZodObject<{
28
28
  workspaceId: z.ZodGUID;
29
29
  projectId: z.ZodGUID;
@@ -87,7 +87,7 @@ export declare const getSegmentHistoryContract: Omit<{
87
87
  readonly pathResolver: (params: {
88
88
  projectId: string;
89
89
  segmentId: string;
90
- }) => string;
90
+ }) => `/v1/projects/${string}/segments/${string}/history`;
91
91
  readonly summary: "Get segment history";
92
92
  readonly description: "Get segment version history";
93
93
  readonly metadata: {
@@ -30,7 +30,7 @@ export declare const getProjectTranslationProcessByIdContract: Omit<{
30
30
  readonly pathResolver: (params: {
31
31
  projectId: string;
32
32
  processId: string;
33
- }) => string;
33
+ }) => `/v1/projects/${string}/translation-process/${string}`;
34
34
  readonly summary: "Get translation process by ID";
35
35
  readonly description: "Get translation process by ID";
36
36
  readonly metadata: {
@@ -49,7 +49,7 @@ export declare const getProjectTranslationProcessContract: Omit<{
49
49
  }, z.core.$strip>;
50
50
  readonly pathResolver: (params: {
51
51
  projectId: string;
52
- }) => string;
52
+ }) => `/v1/projects/${string}/translation-process`;
53
53
  readonly summary: "Get the translation process in progress (sync JSON, or live updates over SSE)";
54
54
  readonly description: "Get in progress translation process";
55
55
  readonly metadata: {
@@ -28,7 +28,7 @@ export declare const getWorkspaceTranslationStatusContract: Omit<{
28
28
  }, z.core.$strip>;
29
29
  readonly pathResolver: (params: {
30
30
  workspaceId: string;
31
- }) => string;
31
+ }) => `/v1/workspaces/${string}/translation-status`;
32
32
  readonly summary: "Get workspace translation status (sync JSON, or live updates over SSE)";
33
33
  readonly description: "Get workspace translation status - checks if any projects have translations in progress";
34
34
  readonly metadata: {
@@ -65,7 +65,7 @@ export declare const postGetFilteredContentUnitQualityIssuesContract: Omit<{
65
65
  }, z.core.$strip>;
66
66
  readonly pathResolver: (params: {
67
67
  projectId: string;
68
- }) => string;
68
+ }) => `/v1/projects/${string}/content-unit-quality-issues/actions/get-filtered`;
69
69
  readonly description: "Get filtered content unit quality issues";
70
70
  readonly summary: "List content unit quality issues";
71
71
  readonly tags: readonly ["Quality issues"];
@@ -39,7 +39,7 @@ export declare const postSegmentQualityIssueActionsResolveContract: Omit<{
39
39
  readonly pathResolver: (params: {
40
40
  projectId: string;
41
41
  segmentQualityIssueId: string;
42
- }) => string;
42
+ }) => `/v1/projects/${string}/segment-quality-issues/${string}/actions/resolve`;
43
43
  readonly summary: "Resolve a segment quality issue";
44
44
  readonly description: "Mark a quality issue as resolved";
45
45
  readonly metadata: {
@@ -68,7 +68,7 @@ export declare const postGetFilteredSegmentQualityIssuesContract: Omit<{
68
68
  }, z.core.$strip>;
69
69
  readonly pathResolver: (params: {
70
70
  projectId: string;
71
- }) => string;
71
+ }) => `/v1/projects/${string}/segment-quality-issues/actions/get-filtered`;
72
72
  readonly description: "Get filtered segment quality issues";
73
73
  readonly summary: "List segment quality issues";
74
74
  readonly tags: readonly ["Quality issues"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokalise/translation-storage-api-schemas",
3
- "version": "20.0.2",
3
+ "version": "20.1.1",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -16,12 +16,12 @@
16
16
  "@lokalise/supported-languages": "^3.4.0",
17
17
  "@lokalise/universal-ts-utils": "^4.11.0",
18
18
  "@lokalise/zod-extras": "^3.0.2",
19
- "@lokalise/autopilot-common-api-schemas": "3.1.2",
20
- "@lokalise/in-and-out-api-schemas": "8.0.1"
19
+ "@lokalise/autopilot-common-api-schemas": "3.2.0",
20
+ "@lokalise/in-and-out-api-schemas": "8.2.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@biomejs/biome": "^2.5.10",
24
- "@lokalise/api-contracts": "^8.1.0",
24
+ "@lokalise/api-contracts": "^9.0.1",
25
25
  "@lokalise/biome-config": "^3.1.1",
26
26
  "@lokalise/tsconfig": "^5.0.0",
27
27
  "@lokalise/zod-extras": "^3.0.2",