@tolgee/web 4.9.3-rc.128edeb.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +31 -0
- package/dist/tolgee-backend-fetch.cjs.min.js +2 -0
- package/dist/tolgee-backend-fetch.cjs.min.js.map +1 -0
- package/dist/tolgee-backend-fetch.esm.min.mjs +2 -0
- package/dist/tolgee-backend-fetch.esm.min.mjs.map +1 -0
- package/dist/tolgee-backend-fetch.umd.min.js +2 -0
- package/dist/tolgee-backend-fetch.umd.min.js.map +1 -0
- package/dist/tolgee-context-ui.cjs.min.js +143 -0
- package/dist/tolgee-context-ui.cjs.min.js.map +1 -0
- package/dist/tolgee-context-ui.esm.min.mjs +143 -0
- package/dist/tolgee-context-ui.esm.min.mjs.map +1 -0
- package/dist/tolgee-context-ui.umd.min.js +143 -0
- package/dist/tolgee-context-ui.umd.min.js.map +1 -0
- package/dist/tolgee-in-context-tools.cjs.min.js +143 -0
- package/dist/tolgee-in-context-tools.cjs.min.js.map +1 -0
- package/dist/tolgee-in-context-tools.esm.min.mjs +143 -0
- package/dist/tolgee-in-context-tools.esm.min.mjs.map +1 -0
- package/dist/tolgee-in-context-tools.umd.min.js +143 -0
- package/dist/tolgee-in-context-tools.umd.min.js.map +1 -0
- package/dist/tolgee-invisible-observer.cjs.min.js +2 -0
- package/dist/tolgee-invisible-observer.cjs.min.js.map +1 -0
- package/dist/tolgee-invisible-observer.esm.min.mjs +2 -0
- package/dist/tolgee-invisible-observer.esm.min.mjs.map +1 -0
- package/dist/tolgee-invisible-observer.umd.min.js +2 -0
- package/dist/tolgee-invisible-observer.umd.min.js.map +1 -0
- package/dist/tolgee-language-detector.cjs.min.js +2 -0
- package/dist/tolgee-language-detector.cjs.min.js.map +1 -0
- package/dist/tolgee-language-detector.esm.min.mjs +2 -0
- package/dist/tolgee-language-detector.esm.min.mjs.map +1 -0
- package/dist/tolgee-language-detector.umd.min.js +2 -0
- package/dist/tolgee-language-detector.umd.min.js.map +1 -0
- package/dist/tolgee-language-storage.cjs.min.js +2 -0
- package/dist/tolgee-language-storage.cjs.min.js.map +1 -0
- package/dist/tolgee-language-storage.esm.min.mjs +2 -0
- package/dist/tolgee-language-storage.esm.min.mjs.map +1 -0
- package/dist/tolgee-language-storage.umd.min.js +2 -0
- package/dist/tolgee-language-storage.umd.min.js.map +1 -0
- package/dist/tolgee-text-observer.cjs.min.js +2 -0
- package/dist/tolgee-text-observer.cjs.min.js.map +1 -0
- package/dist/tolgee-text-observer.esm.min.mjs +2 -0
- package/dist/tolgee-text-observer.esm.min.mjs.map +1 -0
- package/dist/tolgee-text-observer.umd.min.js +2 -0
- package/dist/tolgee-text-observer.umd.min.js.map +1 -0
- package/dist/tolgee-web-tolgee.cjs.min.js +2 -0
- package/dist/tolgee-web-tolgee.cjs.min.js.map +1 -0
- package/dist/tolgee-web-tolgee.esm.min.mjs +2 -0
- package/dist/tolgee-web-tolgee.esm.min.mjs.map +1 -0
- package/dist/tolgee-web-tolgee.umd.min.js +2 -0
- package/dist/tolgee-web-tolgee.umd.min.js.map +1 -0
- package/dist/tolgee-web.cjs.js +27076 -0
- package/dist/tolgee-web.cjs.js.map +1 -0
- package/dist/tolgee-web.cjs.min.js +143 -0
- package/dist/tolgee-web.cjs.min.js.map +1 -0
- package/dist/tolgee-web.esm.js +27052 -0
- package/dist/tolgee-web.esm.js.map +1 -0
- package/dist/tolgee-web.esm.min.mjs +143 -0
- package/dist/tolgee-web.esm.min.mjs.map +1 -0
- package/dist/tolgee-web.umd.js +27082 -0
- package/dist/tolgee-web.umd.js.map +1 -0
- package/dist/tolgee-web.umd.min.js +143 -0
- package/dist/tolgee-web.umd.min.js.map +1 -0
- package/lib/BackendFetch.d.ts +4 -0
- package/lib/BrowserExtensionPlugin/BrowserExtensionPlugin.d.ts +8 -0
- package/lib/BrowserExtensionPlugin/constants.d.ts +3 -0
- package/lib/BrowserExtensionPlugin/loadInContextLib.d.ts +1 -0
- package/lib/ContextUi.d.ts +2 -0
- package/lib/DevBackend.d.ts +2 -0
- package/lib/DevTools.d.ts +3 -0
- package/lib/InContextTools.d.ts +2 -0
- package/lib/InvisibleObserver.d.ts +2 -0
- package/lib/LanguageDetector.d.ts +3 -0
- package/lib/LanguageStorage.d.ts +3 -0
- package/lib/TextObserver.d.ts +2 -0
- package/lib/WebTolgee.d.ts +3 -0
- package/lib/constants.d.ts +5 -0
- package/lib/index.d.ts +5 -0
- package/lib/observers/general/DomHelper.d.ts +4 -0
- package/lib/observers/general/ElementHighlighter.d.ts +10 -0
- package/lib/observers/general/ElementMeta.d.ts +3 -0
- package/lib/observers/general/ElementRegistry.d.ts +11 -0
- package/lib/observers/general/ElementStore.d.ts +10 -0
- package/lib/observers/general/GeneralObserver.d.ts +12 -0
- package/lib/observers/general/MouseEventHandler.d.ts +13 -0
- package/lib/observers/general/NodeHandler.d.ts +6 -0
- package/lib/observers/general/helpers.d.ts +7 -0
- package/lib/observers/invisible/InvisibleWrapper.d.ts +2 -0
- package/lib/observers/invisible/ValueMemory.d.ts +5 -0
- package/lib/observers/invisible/encoderPolyfill.d.ts +8 -0
- package/lib/observers/invisible/secret.d.ts +6 -0
- package/lib/observers/text/TextWrapper.d.ts +8 -0
- package/lib/observers/text/helpers.d.ts +3 -0
- package/lib/tools/decodeApiKey.d.ts +1 -0
- package/lib/tools/extension.d.ts +28 -0
- package/lib/typedIndex.d.ts +11 -0
- package/lib/types.d.ts +28 -0
- package/lib/ui/KeyContextMenu/KeyContextMenu.d.ts +19 -0
- package/lib/ui/KeyDialog/KeyDialog.d.ts +23 -0
- package/lib/ui/KeyDialog/KeyForm.d.ts +2 -0
- package/lib/ui/KeyDialog/LanguageSelect.d.ts +2 -0
- package/lib/ui/KeyDialog/NewWindow.d.ts +2 -0
- package/lib/ui/KeyDialog/NsSelect.d.ts +9 -0
- package/lib/ui/KeyDialog/ScreenshotGallery/ExtensionPrompt.d.ts +6 -0
- package/lib/ui/KeyDialog/ScreenshotGallery/ScreenshotDetail.d.ts +8 -0
- package/lib/ui/KeyDialog/ScreenshotGallery/ScreenshotDropzone.d.ts +6 -0
- package/lib/ui/KeyDialog/ScreenshotGallery/ScreenshotGallery.d.ts +2 -0
- package/lib/ui/KeyDialog/ScreenshotGallery/ScreenshotThumbnail.d.ts +8 -0
- package/lib/ui/KeyDialog/ScreenshotGallery/utils.d.ts +3 -0
- package/lib/ui/KeyDialog/TranslationDialog.d.ts +2 -0
- package/lib/ui/KeyDialog/TranslationDialogContextProvider.d.ts +128 -0
- package/lib/ui/KeyDialog/TranslationDialogWrapper.d.ts +2 -0
- package/lib/ui/KeyDialog/TranslationFields.d.ts +2 -0
- package/lib/ui/KeyDialog/languageHelpers.d.ts +12 -0
- package/lib/ui/KeyDialog/tools.d.ts +3 -0
- package/lib/ui/ThemeProvider.d.ts +2 -0
- package/lib/ui/client/QueryProvider.d.ts +12 -0
- package/lib/ui/client/apiSchema.generated.d.ts +3283 -0
- package/lib/ui/client/client.d.ts +5 -0
- package/lib/ui/client/types.d.ts +58 -0
- package/lib/ui/client/useQueryApi.d.ts +84 -0
- package/lib/ui/common/BodyEnd.d.ts +13 -0
- package/lib/ui/common/FieldTitle.d.ts +2 -0
- package/lib/ui/common/LoadingButton.d.ts +7 -0
- package/lib/ui/index.d.ts +13 -0
- package/lib/ui/tools/createProvider.d.ts +5 -0
- package/lib/ui/tools/isLanguagePermitted.d.ts +1 -0
- package/lib/ui/tools/sleep.d.ts +1 -0
- package/package.json +91 -0
- package/src/BackendFetch.ts +64 -0
- package/src/BrowserExtensionPlugin/BrowserExtensionPlugin.ts +98 -0
- package/src/BrowserExtensionPlugin/constants.ts +3 -0
- package/src/BrowserExtensionPlugin/loadInContextLib.ts +32 -0
- package/src/ContextUi.ts +7 -0
- package/src/DevBackend.ts +30 -0
- package/src/DevTools.ts +9 -0
- package/src/InContextTools.ts +20 -0
- package/src/InvisibleObserver.ts +16 -0
- package/src/LanguageDetector.test.ts +19 -0
- package/src/LanguageDetector.ts +32 -0
- package/src/LanguageStorage.ts +23 -0
- package/src/TextObserver.ts +45 -0
- package/src/WebTolgee.ts +8 -0
- package/src/__test__/browser.extension.test.ts +70 -0
- package/src/__test__/observer.test.ts +13 -0
- package/src/__test__/testObserver.ts +106 -0
- package/src/__test__/testRetranslate.ts +47 -0
- package/src/constants.ts +12 -0
- package/src/index.ts +8 -0
- package/src/observers/general/DomHelper.ts +46 -0
- package/src/observers/general/ElementHighlighter.ts +72 -0
- package/src/observers/general/ElementMeta.ts +17 -0
- package/src/observers/general/ElementRegistry.ts +159 -0
- package/src/observers/general/ElementStore.ts +34 -0
- package/src/observers/general/GeneralObserver.ts +133 -0
- package/src/observers/general/MouseEventHandler.ts +199 -0
- package/src/observers/general/NodeHandler.ts +39 -0
- package/src/observers/general/helpers.ts +65 -0
- package/src/observers/invisible/InvisibleWrapper.test.ts +17 -0
- package/src/observers/invisible/InvisibleWrapper.ts +96 -0
- package/src/observers/invisible/ValueMemory.test.ts +25 -0
- package/src/observers/invisible/ValueMemory.ts +20 -0
- package/src/observers/invisible/encoderPolyfill.ts +96 -0
- package/src/observers/invisible/secret.test.ts +61 -0
- package/src/observers/invisible/secret.ts +68 -0
- package/src/observers/text/TextWrapper.ts +258 -0
- package/src/observers/text/helpers.ts +56 -0
- package/src/tools/decodeApiKey.test.ts +14 -0
- package/src/tools/decodeApiKey.ts +74 -0
- package/src/tools/extension.test.ts +159 -0
- package/src/tools/extension.ts +119 -0
- package/src/typedIndex.ts +13 -0
- package/src/types.ts +33 -0
- package/src/ui/KeyContextMenu/KeyContextMenu.test.ts +51 -0
- package/src/ui/KeyContextMenu/KeyContextMenu.tsx +108 -0
- package/src/ui/KeyDialog/KeyDialog.tsx +67 -0
- package/src/ui/KeyDialog/KeyForm.tsx +208 -0
- package/src/ui/KeyDialog/LanguageSelect.tsx +78 -0
- package/src/ui/KeyDialog/NewWindow.tsx +106 -0
- package/src/ui/KeyDialog/NsSelect.tsx +67 -0
- package/src/ui/KeyDialog/ScreenshotGallery/ExtensionPrompt.tsx +97 -0
- package/src/ui/KeyDialog/ScreenshotGallery/ScreenshotDetail.tsx +33 -0
- package/src/ui/KeyDialog/ScreenshotGallery/ScreenshotDropzone.tsx +138 -0
- package/src/ui/KeyDialog/ScreenshotGallery/ScreenshotGallery.tsx +240 -0
- package/src/ui/KeyDialog/ScreenshotGallery/ScreenshotThumbnail.tsx +113 -0
- package/src/ui/KeyDialog/ScreenshotGallery/utils.ts +17 -0
- package/src/ui/KeyDialog/TranslationDialog.tsx +14 -0
- package/src/ui/KeyDialog/TranslationDialogContextProvider.tsx +464 -0
- package/src/ui/KeyDialog/TranslationDialogWrapper.tsx +44 -0
- package/src/ui/KeyDialog/TranslationFields.tsx +113 -0
- package/src/ui/KeyDialog/languageHelpers.ts +18 -0
- package/src/ui/KeyDialog/tools.ts +30 -0
- package/src/ui/ThemeProvider.tsx +71 -0
- package/src/ui/client/QueryProvider.tsx +38 -0
- package/src/ui/client/apiSchema.generated.ts +3281 -0
- package/src/ui/client/client.ts +155 -0
- package/src/ui/client/types.ts +113 -0
- package/src/ui/client/useQueryApi.ts +121 -0
- package/src/ui/common/BodyEnd.tsx +44 -0
- package/src/ui/common/FieldTitle.tsx +9 -0
- package/src/ui/common/LoadingButton.tsx +45 -0
- package/src/ui/index.ts +88 -0
- package/src/ui/screenshots/ScreenshotPreview.tsx +18 -0
- package/src/ui/tools/createProvider.tsx +54 -0
- package/src/ui/tools/isLanguagePermitted.ts +14 -0
- package/src/ui/tools/sleep.ts +2 -0
- package/types/index.d.ts +9 -0
|
@@ -0,0 +1,3283 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
"/v2/projects/keys/{keyId}/tags": {
|
|
7
|
+
put: operations["tagKey_1"];
|
|
8
|
+
};
|
|
9
|
+
"/v2/projects/keys/{id}/complex-update": {
|
|
10
|
+
put: operations["complexEdit_1"];
|
|
11
|
+
};
|
|
12
|
+
"/v2/projects/keys/{id}": {
|
|
13
|
+
put: operations["edit_1"];
|
|
14
|
+
};
|
|
15
|
+
"/v2/projects/import/result/languages/{languageId}/translations/{translationId}/resolve/set-override": {
|
|
16
|
+
/** Resolves translation conflict. The old translation will be overridden. */
|
|
17
|
+
put: operations["resolveTranslationSetOverride_1"];
|
|
18
|
+
};
|
|
19
|
+
"/v2/projects/import/result/languages/{languageId}/translations/{translationId}/resolve/set-keep-existing": {
|
|
20
|
+
/** Resolves translation conflict. The old translation will be kept. */
|
|
21
|
+
put: operations["resolveTranslationSetKeepExisting_1"];
|
|
22
|
+
};
|
|
23
|
+
"/v2/projects/import/result/languages/{languageId}/resolve-all/set-override": {
|
|
24
|
+
/** Resolves all translation conflicts for provided language. The old translations will be overridden. */
|
|
25
|
+
put: operations["resolveTranslationSetOverride_3"];
|
|
26
|
+
};
|
|
27
|
+
"/v2/projects/import/result/languages/{languageId}/resolve-all/set-keep-existing": {
|
|
28
|
+
/** Resolves all translation conflicts for provided language. The old translations will be kept. */
|
|
29
|
+
put: operations["resolveTranslationSetKeepExisting_3"];
|
|
30
|
+
};
|
|
31
|
+
"/v2/projects/import/result/languages/{importLanguageId}/select-existing/{existingLanguageId}": {
|
|
32
|
+
/** Sets existing language to pair with language to import. Data will be imported to selected existing language when applied. */
|
|
33
|
+
put: operations["selectExistingLanguage_1"];
|
|
34
|
+
};
|
|
35
|
+
"/v2/projects/import/result/languages/{importLanguageId}/reset-existing": {
|
|
36
|
+
/** Resets existing language paired with language to import. */
|
|
37
|
+
put: operations["resetExistingLanguage_1"];
|
|
38
|
+
};
|
|
39
|
+
"/v2/projects/import/apply": {
|
|
40
|
+
/** Imports the data prepared in previous step */
|
|
41
|
+
put: operations["applyImport_1"];
|
|
42
|
+
};
|
|
43
|
+
"/v2/projects/translations/{translationId}/set-state/{state}": {
|
|
44
|
+
put: operations["setTranslationState_1"];
|
|
45
|
+
};
|
|
46
|
+
"/v2/projects/translations/{translationId}/comments/{commentId}/set-state/{state}": {
|
|
47
|
+
put: operations["setState_1"];
|
|
48
|
+
};
|
|
49
|
+
"/v2/projects/translations/{translationId}/comments/{commentId}": {
|
|
50
|
+
get: operations["get_4"];
|
|
51
|
+
put: operations["update_1"];
|
|
52
|
+
delete: operations["delete_5"];
|
|
53
|
+
};
|
|
54
|
+
"/v2/projects/translations/{translationId}/dismiss-auto-translated-state": {
|
|
55
|
+
put: operations["dismissAutoTranslatedState_1"];
|
|
56
|
+
};
|
|
57
|
+
"/v2/projects/translations": {
|
|
58
|
+
get: operations["getTranslations_1"];
|
|
59
|
+
put: operations["setTranslations_1"];
|
|
60
|
+
post: operations["createOrUpdateTranslations_1"];
|
|
61
|
+
};
|
|
62
|
+
"/v2/projects/languages/{languageId}": {
|
|
63
|
+
put: operations["editLanguage_1"];
|
|
64
|
+
delete: operations["deleteLanguage_3"];
|
|
65
|
+
};
|
|
66
|
+
"/v2/projects/keys/{keyId}/auto-translate": {
|
|
67
|
+
/**
|
|
68
|
+
* Uses enabled auto-translation methods.
|
|
69
|
+
* You need to set at least one of useMachineTranslation or useTranslationMemory to true.
|
|
70
|
+
*
|
|
71
|
+
* This will replace the the existing translation with the result obtained from specified source!
|
|
72
|
+
*/
|
|
73
|
+
put: operations["autoTranslate_1"];
|
|
74
|
+
};
|
|
75
|
+
"/api/project/translations": {
|
|
76
|
+
put: operations["setTranslations_3"];
|
|
77
|
+
post: operations["createOrUpdateTranslations_3"];
|
|
78
|
+
};
|
|
79
|
+
"/v2/projects/keys/create": {
|
|
80
|
+
post: operations["create_2"];
|
|
81
|
+
};
|
|
82
|
+
"/v2/projects/keys": {
|
|
83
|
+
post: operations["create_3"];
|
|
84
|
+
delete: operations["delete_3"];
|
|
85
|
+
};
|
|
86
|
+
"/v2/projects/import": {
|
|
87
|
+
/** Prepares provided files to import. */
|
|
88
|
+
post: operations["addFiles_1"];
|
|
89
|
+
/** Deletes prepared import data. */
|
|
90
|
+
delete: operations["cancelImport_1"];
|
|
91
|
+
};
|
|
92
|
+
"/v2/projects/export": {
|
|
93
|
+
get: operations["export_1"];
|
|
94
|
+
post: operations["exportPost_1"];
|
|
95
|
+
};
|
|
96
|
+
"/v2/projects/translations/{translationId}/comments": {
|
|
97
|
+
get: operations["getAll_4"];
|
|
98
|
+
post: operations["create_5"];
|
|
99
|
+
};
|
|
100
|
+
"/v2/projects/translations/create-comment": {
|
|
101
|
+
post: operations["create_7"];
|
|
102
|
+
};
|
|
103
|
+
"/v2/projects/suggest/translation-memory": {
|
|
104
|
+
post: operations["suggestTranslationMemory_1"];
|
|
105
|
+
};
|
|
106
|
+
"/v2/projects/suggest/machine-translations": {
|
|
107
|
+
post: operations["suggestMachineTranslations_1"];
|
|
108
|
+
};
|
|
109
|
+
"/v2/projects/languages": {
|
|
110
|
+
get: operations["getAll_6"];
|
|
111
|
+
post: operations["createLanguage_1"];
|
|
112
|
+
};
|
|
113
|
+
"/v2/projects/keys/{keyId}/screenshots": {
|
|
114
|
+
get: operations["getKeyScreenshots_2"];
|
|
115
|
+
post: operations["uploadScreenshot"];
|
|
116
|
+
};
|
|
117
|
+
"/v2/image-upload": {
|
|
118
|
+
post: operations["upload"];
|
|
119
|
+
};
|
|
120
|
+
"/api/project/keys/translations/{languages}": {
|
|
121
|
+
/** Key name must be provided in method body, since it can be long and can contain characters hard to encode */
|
|
122
|
+
post: operations["getKeyTranslationsPost_2"];
|
|
123
|
+
};
|
|
124
|
+
"/v2/projects/tags": {
|
|
125
|
+
get: operations["getAll_2"];
|
|
126
|
+
};
|
|
127
|
+
"/v2/projects/stats/daily-activity": {
|
|
128
|
+
get: operations["getProjectDailyActivity_1"];
|
|
129
|
+
};
|
|
130
|
+
"/v2/projects/stats": {
|
|
131
|
+
get: operations["getProjectStats_1"];
|
|
132
|
+
};
|
|
133
|
+
"/v2/projects/activity": {
|
|
134
|
+
get: operations["getActivity_1"];
|
|
135
|
+
};
|
|
136
|
+
"/v2/projects/import/result/languages/{languageId}/translations": {
|
|
137
|
+
/** Returns translations prepared to import. */
|
|
138
|
+
get: operations["getImportTranslations_1"];
|
|
139
|
+
};
|
|
140
|
+
"/v2/projects/import/result/languages/{languageId}": {
|
|
141
|
+
/** Returns language prepared to import. */
|
|
142
|
+
get: operations["getImportLanguage_1"];
|
|
143
|
+
/** Deletes language prepared to import. */
|
|
144
|
+
delete: operations["deleteLanguage_1"];
|
|
145
|
+
};
|
|
146
|
+
"/v2/projects/import/result/files/{importFileId}/issues": {
|
|
147
|
+
/** Returns issues for uploaded file. */
|
|
148
|
+
get: operations["getImportFileIssues_1"];
|
|
149
|
+
};
|
|
150
|
+
"/v2/projects/import/result": {
|
|
151
|
+
/** Returns the result of preparation. */
|
|
152
|
+
get: operations["getImportResult_1"];
|
|
153
|
+
};
|
|
154
|
+
"/v2/projects/translations/{translationId}/history": {
|
|
155
|
+
get: operations["getTranslationHistory_1"];
|
|
156
|
+
};
|
|
157
|
+
"/v2/projects/translations/{languages}": {
|
|
158
|
+
get: operations["getAllTranslations_1"];
|
|
159
|
+
};
|
|
160
|
+
"/v2/projects/translations/select-all": {
|
|
161
|
+
get: operations["getSelectAllKeyIds_1"];
|
|
162
|
+
};
|
|
163
|
+
"/v2/api-keys/current": {
|
|
164
|
+
get: operations["getCurrent"];
|
|
165
|
+
};
|
|
166
|
+
"/api/project/keys/{id}": {
|
|
167
|
+
get: operations["getDeprecated_2"];
|
|
168
|
+
};
|
|
169
|
+
"/api/project/export/jsonZip": {
|
|
170
|
+
get: operations["doExportJsonZip_1"];
|
|
171
|
+
};
|
|
172
|
+
"/api/project/translations/{languages}": {
|
|
173
|
+
get: operations["getTranslations_3"];
|
|
174
|
+
};
|
|
175
|
+
"/api/apiKeys/scopes": {
|
|
176
|
+
get: operations["getApiKeyScopes"];
|
|
177
|
+
};
|
|
178
|
+
"/v2/projects/keys/{keyId}/tags/{tagId}": {
|
|
179
|
+
delete: operations["removeTag_1"];
|
|
180
|
+
};
|
|
181
|
+
"/v2/projects/keys/{ids}": {
|
|
182
|
+
delete: operations["delete_1"];
|
|
183
|
+
};
|
|
184
|
+
"/v2/projects/keys/{keyId}/screenshots/{ids}": {
|
|
185
|
+
delete: operations["deleteScreenshots"];
|
|
186
|
+
};
|
|
187
|
+
"/v2/image-upload/{ids}": {
|
|
188
|
+
delete: operations["delete_9"];
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
export interface components {
|
|
192
|
+
schemas: {
|
|
193
|
+
Avatar: {
|
|
194
|
+
large: string;
|
|
195
|
+
thumbnail: string;
|
|
196
|
+
};
|
|
197
|
+
UserAccountModel: {
|
|
198
|
+
/** Format: int64 */
|
|
199
|
+
id: number;
|
|
200
|
+
username: string;
|
|
201
|
+
name?: string;
|
|
202
|
+
emailAwaitingVerification?: string;
|
|
203
|
+
avatar?: components["schemas"]["Avatar"];
|
|
204
|
+
globalServerRole: "USER" | "ADMIN";
|
|
205
|
+
};
|
|
206
|
+
LanguageModel: {
|
|
207
|
+
/** Format: int64 */
|
|
208
|
+
id: number;
|
|
209
|
+
/**
|
|
210
|
+
* @description Language name in english
|
|
211
|
+
* @example Czech
|
|
212
|
+
*/
|
|
213
|
+
name: string;
|
|
214
|
+
/**
|
|
215
|
+
* @description Language tag according to BCP 47 definition
|
|
216
|
+
* @example cs-CZ
|
|
217
|
+
*/
|
|
218
|
+
tag: string;
|
|
219
|
+
/**
|
|
220
|
+
* @description Language name in this language
|
|
221
|
+
* @example čeština
|
|
222
|
+
*/
|
|
223
|
+
originalName?: string;
|
|
224
|
+
/**
|
|
225
|
+
* @description Language flag emoji as UTF-8 emoji
|
|
226
|
+
* @example 🇨🇿
|
|
227
|
+
*/
|
|
228
|
+
flagEmoji?: string;
|
|
229
|
+
/** @description Whether is base language of project */
|
|
230
|
+
base: boolean;
|
|
231
|
+
};
|
|
232
|
+
TagKeyDto: {
|
|
233
|
+
name: string;
|
|
234
|
+
};
|
|
235
|
+
TagModel: {
|
|
236
|
+
/** Format: int64 */
|
|
237
|
+
id: number;
|
|
238
|
+
name: string;
|
|
239
|
+
};
|
|
240
|
+
ComplexEditKeyDto: {
|
|
241
|
+
/** @description Name of the key */
|
|
242
|
+
name: string;
|
|
243
|
+
/** @description Translations to update */
|
|
244
|
+
translations?: {
|
|
245
|
+
[key: string]: string;
|
|
246
|
+
};
|
|
247
|
+
/** @description Tags of the key. If not provided tags won't be modified */
|
|
248
|
+
tags?: string[];
|
|
249
|
+
/** @description IDs of screenshots to delete */
|
|
250
|
+
screenshotIdsToDelete?: number[];
|
|
251
|
+
/** @description Ids of screenshots uploaded with /v2/image-upload endpoint */
|
|
252
|
+
screenshotUploadedImageIds?: number[];
|
|
253
|
+
};
|
|
254
|
+
KeyWithDataModel: {
|
|
255
|
+
/**
|
|
256
|
+
* Format: int64
|
|
257
|
+
* @description Id of key record
|
|
258
|
+
*/
|
|
259
|
+
id: number;
|
|
260
|
+
/**
|
|
261
|
+
* @description Name of key
|
|
262
|
+
* @example this_is_super_key
|
|
263
|
+
*/
|
|
264
|
+
name: string;
|
|
265
|
+
/**
|
|
266
|
+
* @description Translations object containing values updated in this request
|
|
267
|
+
* @example [object Object]
|
|
268
|
+
*/
|
|
269
|
+
translations: {
|
|
270
|
+
[key: string]: components["schemas"]["TranslationModel"];
|
|
271
|
+
};
|
|
272
|
+
/** @description Tags of key */
|
|
273
|
+
tags: components["schemas"]["TagModel"][];
|
|
274
|
+
/** @description Screenshots of the key */
|
|
275
|
+
screenshots: components["schemas"]["ScreenshotModel"][];
|
|
276
|
+
};
|
|
277
|
+
/** @description Screenshots of the key */
|
|
278
|
+
ScreenshotModel: {
|
|
279
|
+
/** Format: int64 */
|
|
280
|
+
id: number;
|
|
281
|
+
/**
|
|
282
|
+
* @description File name, which may be downloaded from the screenshot path.
|
|
283
|
+
*
|
|
284
|
+
* When images are secured. Encrypted timestamp is appended to the filename.
|
|
285
|
+
*/
|
|
286
|
+
filename: string;
|
|
287
|
+
/**
|
|
288
|
+
* @description Thumbnail file name, which may be downloaded from the screenshot path.
|
|
289
|
+
*
|
|
290
|
+
* When images are secured. Encrypted timestamp is appended to the filename.
|
|
291
|
+
*/
|
|
292
|
+
thumbnail: string;
|
|
293
|
+
fileUrl: string;
|
|
294
|
+
thumbnailUrl: string;
|
|
295
|
+
/** Format: date-time */
|
|
296
|
+
createdAt?: string;
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* @description Translations object containing values updated in this request
|
|
300
|
+
* @example [object Object]
|
|
301
|
+
*/
|
|
302
|
+
TranslationModel: {
|
|
303
|
+
/**
|
|
304
|
+
* Format: int64
|
|
305
|
+
* @description Id of translation record
|
|
306
|
+
*/
|
|
307
|
+
id: number;
|
|
308
|
+
/** @description Translation text */
|
|
309
|
+
text?: string;
|
|
310
|
+
/** @description State of translation */
|
|
311
|
+
state: "UNTRANSLATED" | "TRANSLATED" | "REVIEWED";
|
|
312
|
+
/** @description Was translated using Translation Memory or Machine translation service? */
|
|
313
|
+
auto: boolean;
|
|
314
|
+
/** @description Which machine translation service was used to auto translate this */
|
|
315
|
+
mtProvider?: "GOOGLE" | "AWS" | "DEEPL" | "AZURE";
|
|
316
|
+
};
|
|
317
|
+
EditKeyDto: {
|
|
318
|
+
name: string;
|
|
319
|
+
};
|
|
320
|
+
KeyModel: {
|
|
321
|
+
/**
|
|
322
|
+
* Format: int64
|
|
323
|
+
* @description Id of key record
|
|
324
|
+
*/
|
|
325
|
+
id: number;
|
|
326
|
+
/**
|
|
327
|
+
* @description Name of key
|
|
328
|
+
* @example this_is_super_key
|
|
329
|
+
*/
|
|
330
|
+
name: string;
|
|
331
|
+
};
|
|
332
|
+
TranslationCommentModel: {
|
|
333
|
+
/**
|
|
334
|
+
* Format: int64
|
|
335
|
+
* @description Id of translation comment record
|
|
336
|
+
*/
|
|
337
|
+
id: number;
|
|
338
|
+
/** @description Text of comment */
|
|
339
|
+
text: string;
|
|
340
|
+
/** @description State of translation */
|
|
341
|
+
state: "RESOLUTION_NOT_NEEDED" | "NEEDS_RESOLUTION" | "RESOLVED";
|
|
342
|
+
author: components["schemas"]["UserAccountModel"];
|
|
343
|
+
/**
|
|
344
|
+
* Format: date-time
|
|
345
|
+
* @description Date when it was created
|
|
346
|
+
*/
|
|
347
|
+
createdAt: string;
|
|
348
|
+
/**
|
|
349
|
+
* Format: date-time
|
|
350
|
+
* @description Date when it was updated
|
|
351
|
+
*/
|
|
352
|
+
updatedAt: string;
|
|
353
|
+
};
|
|
354
|
+
TranslationCommentDto: {
|
|
355
|
+
text: string;
|
|
356
|
+
state: "RESOLUTION_NOT_NEEDED" | "NEEDS_RESOLUTION" | "RESOLVED";
|
|
357
|
+
};
|
|
358
|
+
SetTranslationsWithKeyDto: {
|
|
359
|
+
/**
|
|
360
|
+
* @description Key name to set translations for
|
|
361
|
+
* @example what_a_key_to_translate
|
|
362
|
+
*/
|
|
363
|
+
key: string;
|
|
364
|
+
/**
|
|
365
|
+
* @description Object mapping language tag to translation
|
|
366
|
+
* @example [object Object]
|
|
367
|
+
*/
|
|
368
|
+
translations: {
|
|
369
|
+
[key: string]: string;
|
|
370
|
+
};
|
|
371
|
+
/**
|
|
372
|
+
* @description List of languages to return translations for.
|
|
373
|
+
*
|
|
374
|
+
* If not provided, only modified translation will be provided.
|
|
375
|
+
*
|
|
376
|
+
* @example en,de,fr
|
|
377
|
+
*/
|
|
378
|
+
languagesToReturn?: string[];
|
|
379
|
+
};
|
|
380
|
+
SetTranslationsResponseModel: {
|
|
381
|
+
/**
|
|
382
|
+
* Format: int64
|
|
383
|
+
* @description Id of key record
|
|
384
|
+
*/
|
|
385
|
+
keyId: number;
|
|
386
|
+
/**
|
|
387
|
+
* @description Name of key
|
|
388
|
+
* @example this_is_super_key
|
|
389
|
+
*/
|
|
390
|
+
keyName: string;
|
|
391
|
+
/**
|
|
392
|
+
* @description Translations object containing values updated in this request
|
|
393
|
+
* @example [object Object]
|
|
394
|
+
*/
|
|
395
|
+
translations: {
|
|
396
|
+
[key: string]: components["schemas"]["TranslationModel"];
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
LanguageDto: {
|
|
400
|
+
/**
|
|
401
|
+
* @description Language name in english
|
|
402
|
+
* @example Czech
|
|
403
|
+
*/
|
|
404
|
+
name: string;
|
|
405
|
+
/**
|
|
406
|
+
* @description Language tag according to BCP 47 definition
|
|
407
|
+
* @example cs-CZ
|
|
408
|
+
*/
|
|
409
|
+
originalName: string;
|
|
410
|
+
/**
|
|
411
|
+
* @description Language name in this language
|
|
412
|
+
* @example čeština
|
|
413
|
+
*/
|
|
414
|
+
tag: string;
|
|
415
|
+
/**
|
|
416
|
+
* @description Language flag emoji as UTF-8 emoji
|
|
417
|
+
* @example 🇨🇿
|
|
418
|
+
*/
|
|
419
|
+
flagEmoji?: string;
|
|
420
|
+
};
|
|
421
|
+
CreateKeyDto: {
|
|
422
|
+
/** @description Name of the key */
|
|
423
|
+
name: string;
|
|
424
|
+
translations?: {
|
|
425
|
+
[key: string]: string;
|
|
426
|
+
};
|
|
427
|
+
tags?: string[];
|
|
428
|
+
/** @description Ids of screenshots uploaded with /v2/image-upload endpoint */
|
|
429
|
+
screenshotUploadedImageIds?: number[];
|
|
430
|
+
};
|
|
431
|
+
StreamingResponseBody: {
|
|
432
|
+
[key: string]: unknown;
|
|
433
|
+
};
|
|
434
|
+
ErrorResponseBody: {
|
|
435
|
+
code: string;
|
|
436
|
+
params?: {
|
|
437
|
+
[key: string]: unknown;
|
|
438
|
+
}[];
|
|
439
|
+
};
|
|
440
|
+
ImportAddFilesResultModel: {
|
|
441
|
+
errors: components["schemas"]["ErrorResponseBody"][];
|
|
442
|
+
result?: components["schemas"]["PagedModelImportLanguageModel"];
|
|
443
|
+
};
|
|
444
|
+
ImportLanguageModel: {
|
|
445
|
+
/** Format: int64 */
|
|
446
|
+
id: number;
|
|
447
|
+
name: string;
|
|
448
|
+
/** Format: int64 */
|
|
449
|
+
existingLanguageId?: number;
|
|
450
|
+
existingLanguageTag?: string;
|
|
451
|
+
existingLanguageAbbreviation?: string;
|
|
452
|
+
existingLanguageName?: string;
|
|
453
|
+
importFileName: string;
|
|
454
|
+
/** Format: int64 */
|
|
455
|
+
importFileId: number;
|
|
456
|
+
/** Format: int32 */
|
|
457
|
+
importFileIssueCount: number;
|
|
458
|
+
/** Format: int32 */
|
|
459
|
+
totalCount: number;
|
|
460
|
+
/** Format: int32 */
|
|
461
|
+
conflictCount: number;
|
|
462
|
+
/** Format: int32 */
|
|
463
|
+
resolvedCount: number;
|
|
464
|
+
};
|
|
465
|
+
PageMetadata: {
|
|
466
|
+
/** Format: int64 */
|
|
467
|
+
size?: number;
|
|
468
|
+
/** Format: int64 */
|
|
469
|
+
totalElements?: number;
|
|
470
|
+
/** Format: int64 */
|
|
471
|
+
totalPages?: number;
|
|
472
|
+
/** Format: int64 */
|
|
473
|
+
number?: number;
|
|
474
|
+
};
|
|
475
|
+
PagedModelImportLanguageModel: {
|
|
476
|
+
_embedded?: {
|
|
477
|
+
languages?: components["schemas"]["ImportLanguageModel"][];
|
|
478
|
+
};
|
|
479
|
+
page?: components["schemas"]["PageMetadata"];
|
|
480
|
+
};
|
|
481
|
+
ExportParams: {
|
|
482
|
+
languages?: string[];
|
|
483
|
+
format: "JSON" | "XLIFF";
|
|
484
|
+
splitByScope: boolean;
|
|
485
|
+
splitByScopeDelimiter: string;
|
|
486
|
+
/** Format: int32 */
|
|
487
|
+
splitByScopeDepth: number;
|
|
488
|
+
filterKeyId?: number[];
|
|
489
|
+
filterKeyIdNot?: number[];
|
|
490
|
+
filterTag?: string;
|
|
491
|
+
filterKeyPrefix?: string;
|
|
492
|
+
filterState?: ("UNTRANSLATED" | "TRANSLATED" | "REVIEWED")[];
|
|
493
|
+
zip: boolean;
|
|
494
|
+
};
|
|
495
|
+
TranslationCommentWithLangKeyDto: {
|
|
496
|
+
/** Format: int64 */
|
|
497
|
+
keyId: number;
|
|
498
|
+
/** Format: int64 */
|
|
499
|
+
languageId: number;
|
|
500
|
+
text: string;
|
|
501
|
+
state: "RESOLUTION_NOT_NEEDED" | "NEEDS_RESOLUTION" | "RESOLVED";
|
|
502
|
+
};
|
|
503
|
+
TranslationWithCommentModel: {
|
|
504
|
+
translation: components["schemas"]["TranslationModel"];
|
|
505
|
+
comment: components["schemas"]["TranslationCommentModel"];
|
|
506
|
+
};
|
|
507
|
+
SuggestRequestDto: {
|
|
508
|
+
/**
|
|
509
|
+
* Format: int64
|
|
510
|
+
* @description Key Id to get results for. Use when key is stored already.
|
|
511
|
+
*/
|
|
512
|
+
keyId: number;
|
|
513
|
+
/** Format: int64 */
|
|
514
|
+
targetLanguageId: number;
|
|
515
|
+
/** @description Text value of base translation. Useful, when base translation is not stored yet. */
|
|
516
|
+
baseText?: string;
|
|
517
|
+
};
|
|
518
|
+
PagedModelTranslationMemoryItemModel: {
|
|
519
|
+
_embedded?: {
|
|
520
|
+
translationMemoryItems?: components["schemas"]["TranslationMemoryItemModel"][];
|
|
521
|
+
};
|
|
522
|
+
page?: components["schemas"]["PageMetadata"];
|
|
523
|
+
};
|
|
524
|
+
TranslationMemoryItemModel: {
|
|
525
|
+
targetText: string;
|
|
526
|
+
baseText: string;
|
|
527
|
+
keyName: string;
|
|
528
|
+
/** Format: float */
|
|
529
|
+
similarity: number;
|
|
530
|
+
};
|
|
531
|
+
SuggestResultModel: {
|
|
532
|
+
/**
|
|
533
|
+
* @description Results provided by enabled services
|
|
534
|
+
* @example [object Object]
|
|
535
|
+
*/
|
|
536
|
+
machineTranslations?: {
|
|
537
|
+
[key: string]: string;
|
|
538
|
+
};
|
|
539
|
+
/** Format: int64 */
|
|
540
|
+
translationCreditsBalanceBefore: number;
|
|
541
|
+
/** Format: int64 */
|
|
542
|
+
translationCreditsBalanceAfter: number;
|
|
543
|
+
/**
|
|
544
|
+
* Format: int64
|
|
545
|
+
* @description Extra credits are neither refilled nor reset every period. User's can refill them on Tolgee cloud.
|
|
546
|
+
*/
|
|
547
|
+
translationExtraCreditsBalanceBefore: number;
|
|
548
|
+
/**
|
|
549
|
+
* Format: int64
|
|
550
|
+
* @description Extra credits are neither refilled nor reset every period. User's can refill them on Tolgee cloud.
|
|
551
|
+
*/
|
|
552
|
+
translationExtraCreditsBalanceAfter: number;
|
|
553
|
+
};
|
|
554
|
+
UploadedImageModel: {
|
|
555
|
+
/** Format: int64 */
|
|
556
|
+
id: number;
|
|
557
|
+
filename: string;
|
|
558
|
+
fileUrl: string;
|
|
559
|
+
requestFilename: string;
|
|
560
|
+
/** Format: date-time */
|
|
561
|
+
createdAt: string;
|
|
562
|
+
};
|
|
563
|
+
GetKeyTranslationsReqDto: {
|
|
564
|
+
key?: string;
|
|
565
|
+
};
|
|
566
|
+
PagedModelTagModel: {
|
|
567
|
+
_embedded?: {
|
|
568
|
+
tags?: components["schemas"]["TagModel"][];
|
|
569
|
+
};
|
|
570
|
+
page?: components["schemas"]["PageMetadata"];
|
|
571
|
+
};
|
|
572
|
+
LanguageStatsModel: {
|
|
573
|
+
/** Format: int64 */
|
|
574
|
+
languageId?: number;
|
|
575
|
+
languageTag?: string;
|
|
576
|
+
languageName?: string;
|
|
577
|
+
languageOriginalName?: string;
|
|
578
|
+
languageFlagEmoji?: string;
|
|
579
|
+
/** Format: int64 */
|
|
580
|
+
translatedKeyCount: number;
|
|
581
|
+
/** Format: int64 */
|
|
582
|
+
translatedWordCount: number;
|
|
583
|
+
/** Format: double */
|
|
584
|
+
translatedPercentage: number;
|
|
585
|
+
/** Format: int64 */
|
|
586
|
+
reviewedKeyCount: number;
|
|
587
|
+
/** Format: int64 */
|
|
588
|
+
reviewedWordCount: number;
|
|
589
|
+
/** Format: double */
|
|
590
|
+
reviewedPercentage: number;
|
|
591
|
+
/** Format: int64 */
|
|
592
|
+
untranslatedKeyCount: number;
|
|
593
|
+
/** Format: int64 */
|
|
594
|
+
untranslatedWordCount: number;
|
|
595
|
+
/** Format: double */
|
|
596
|
+
untranslatedPercentage: number;
|
|
597
|
+
};
|
|
598
|
+
ProjectStatsModel: {
|
|
599
|
+
/** Format: int64 */
|
|
600
|
+
projectId: number;
|
|
601
|
+
/** Format: int32 */
|
|
602
|
+
languageCount: number;
|
|
603
|
+
/** Format: int64 */
|
|
604
|
+
keyCount: number;
|
|
605
|
+
/** Format: int64 */
|
|
606
|
+
baseWordsCount: number;
|
|
607
|
+
/** Format: double */
|
|
608
|
+
translatedPercentage: number;
|
|
609
|
+
/** Format: double */
|
|
610
|
+
reviewedPercentage: number;
|
|
611
|
+
/** Format: int64 */
|
|
612
|
+
membersCount: number;
|
|
613
|
+
/** Format: int64 */
|
|
614
|
+
tagCount: number;
|
|
615
|
+
languageStats: components["schemas"]["LanguageStatsModel"][];
|
|
616
|
+
};
|
|
617
|
+
EntityDescriptionWithRelations: {
|
|
618
|
+
entityClass: string;
|
|
619
|
+
/** Format: int64 */
|
|
620
|
+
entityId: number;
|
|
621
|
+
data: {
|
|
622
|
+
[key: string]: {
|
|
623
|
+
[key: string]: unknown;
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
ExistenceEntityDescription: {
|
|
628
|
+
entityClass: string;
|
|
629
|
+
/** Format: int64 */
|
|
630
|
+
entityId: number;
|
|
631
|
+
data: {
|
|
632
|
+
[key: string]: {
|
|
633
|
+
[key: string]: unknown;
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
relations: {
|
|
637
|
+
[key: string]: components["schemas"]["EntityDescriptionWithRelations"];
|
|
638
|
+
};
|
|
639
|
+
exists?: boolean;
|
|
640
|
+
};
|
|
641
|
+
ModifiedEntityModel: {
|
|
642
|
+
/** Format: int64 */
|
|
643
|
+
entityId: number;
|
|
644
|
+
description?: {
|
|
645
|
+
[key: string]: {
|
|
646
|
+
[key: string]: unknown;
|
|
647
|
+
};
|
|
648
|
+
};
|
|
649
|
+
modifications?: {
|
|
650
|
+
[key: string]: components["schemas"]["PropertyModification"];
|
|
651
|
+
};
|
|
652
|
+
relations?: {
|
|
653
|
+
[key: string]: components["schemas"]["ExistenceEntityDescription"];
|
|
654
|
+
};
|
|
655
|
+
exists?: boolean;
|
|
656
|
+
};
|
|
657
|
+
PagedModelProjectActivityModel: {
|
|
658
|
+
_embedded?: {
|
|
659
|
+
activities?: components["schemas"]["ProjectActivityModel"][];
|
|
660
|
+
};
|
|
661
|
+
page?: components["schemas"]["PageMetadata"];
|
|
662
|
+
};
|
|
663
|
+
ProjectActivityAuthorModel: {
|
|
664
|
+
/** Format: int64 */
|
|
665
|
+
id: number;
|
|
666
|
+
username?: string;
|
|
667
|
+
name?: string;
|
|
668
|
+
avatar?: components["schemas"]["Avatar"];
|
|
669
|
+
};
|
|
670
|
+
ProjectActivityModel: {
|
|
671
|
+
/** Format: int64 */
|
|
672
|
+
revisionId: number;
|
|
673
|
+
/** Format: int64 */
|
|
674
|
+
timestamp: number;
|
|
675
|
+
type: "UNKNOWN" | "SET_TRANSLATION_STATE" | "SET_TRANSLATIONS" | "DISMISS_AUTO_TRANSLATED_STATE" | "TRANSLATION_COMMENT_ADD" | "TRANSLATION_COMMENT_DELETE" | "TRANSLATION_COMMENT_EDIT" | "TRANSLATION_COMMENT_SET_STATE" | "SCREENSHOT_DELETE" | "SCREENSHOT_ADD" | "KEY_TAGS_EDIT" | "KEY_NAME_EDIT" | "KEY_DELETE" | "CREATE_KEY" | "COMPLEX_EDIT" | "IMPORT" | "CREATE_LANGUAGE" | "EDIT_LANGUAGE" | "DELETE_LANGUAGE" | "CREATE_PROJECT" | "EDIT_PROJECT";
|
|
676
|
+
author?: components["schemas"]["ProjectActivityAuthorModel"];
|
|
677
|
+
modifiedEntities?: {
|
|
678
|
+
[key: string]: components["schemas"]["ModifiedEntityModel"][];
|
|
679
|
+
};
|
|
680
|
+
meta?: {
|
|
681
|
+
[key: string]: {
|
|
682
|
+
[key: string]: unknown;
|
|
683
|
+
};
|
|
684
|
+
};
|
|
685
|
+
counts?: {
|
|
686
|
+
[key: string]: number;
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
PropertyModification: {
|
|
690
|
+
old?: {
|
|
691
|
+
[key: string]: unknown;
|
|
692
|
+
};
|
|
693
|
+
new?: {
|
|
694
|
+
[key: string]: unknown;
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
ImportTranslationModel: {
|
|
698
|
+
/** Format: int64 */
|
|
699
|
+
id: number;
|
|
700
|
+
text?: string;
|
|
701
|
+
keyName: string;
|
|
702
|
+
/** Format: int64 */
|
|
703
|
+
keyId: number;
|
|
704
|
+
/** Format: int64 */
|
|
705
|
+
conflictId?: number;
|
|
706
|
+
conflictText?: string;
|
|
707
|
+
override: boolean;
|
|
708
|
+
resolved: boolean;
|
|
709
|
+
};
|
|
710
|
+
PagedModelImportTranslationModel: {
|
|
711
|
+
_embedded?: {
|
|
712
|
+
translations?: components["schemas"]["ImportTranslationModel"][];
|
|
713
|
+
};
|
|
714
|
+
page?: components["schemas"]["PageMetadata"];
|
|
715
|
+
};
|
|
716
|
+
EntityModelImportFileIssueView: {
|
|
717
|
+
params: components["schemas"]["ImportFileIssueParamView"][];
|
|
718
|
+
/** Format: int64 */
|
|
719
|
+
id: number;
|
|
720
|
+
type: "KEY_IS_NOT_STRING" | "MULTIPLE_VALUES_FOR_KEY_AND_LANGUAGE" | "VALUE_IS_NOT_STRING" | "KEY_IS_EMPTY" | "VALUE_IS_EMPTY" | "PO_MSGCTXT_NOT_SUPPORTED" | "ID_ATTRIBUTE_NOT_PROVIDED" | "TARGET_NOT_PROVIDED" | "TRANSLATION_TOO_LONG";
|
|
721
|
+
};
|
|
722
|
+
ImportFileIssueParamView: {
|
|
723
|
+
value?: string;
|
|
724
|
+
type: "KEY_NAME" | "KEY_ID" | "LANGUAGE_ID" | "KEY_INDEX" | "VALUE" | "LINE" | "FILE_NODE_ORIGINAL";
|
|
725
|
+
};
|
|
726
|
+
PagedModelEntityModelImportFileIssueView: {
|
|
727
|
+
_embedded?: {
|
|
728
|
+
importFileIssueViews?: components["schemas"]["EntityModelImportFileIssueView"][];
|
|
729
|
+
};
|
|
730
|
+
page?: components["schemas"]["PageMetadata"];
|
|
731
|
+
};
|
|
732
|
+
PagedModelTranslationCommentModel: {
|
|
733
|
+
_embedded?: {
|
|
734
|
+
translationComments?: components["schemas"]["TranslationCommentModel"][];
|
|
735
|
+
};
|
|
736
|
+
page?: components["schemas"]["PageMetadata"];
|
|
737
|
+
};
|
|
738
|
+
PagedModelTranslationHistoryModel: {
|
|
739
|
+
_embedded?: {
|
|
740
|
+
revisions?: components["schemas"]["TranslationHistoryModel"][];
|
|
741
|
+
};
|
|
742
|
+
page?: components["schemas"]["PageMetadata"];
|
|
743
|
+
};
|
|
744
|
+
/** @description Author of the change */
|
|
745
|
+
SimpleUserAccountModel: {
|
|
746
|
+
/** Format: int64 */
|
|
747
|
+
id: number;
|
|
748
|
+
username: string;
|
|
749
|
+
name?: string;
|
|
750
|
+
avatar?: components["schemas"]["Avatar"];
|
|
751
|
+
};
|
|
752
|
+
TranslationHistoryModel: {
|
|
753
|
+
/** @description Modified fields */
|
|
754
|
+
modifications?: {
|
|
755
|
+
[key: string]: components["schemas"]["PropertyModification"];
|
|
756
|
+
};
|
|
757
|
+
/**
|
|
758
|
+
* Format: int64
|
|
759
|
+
* @description Unix timestamp of the revision
|
|
760
|
+
*/
|
|
761
|
+
timestamp: number;
|
|
762
|
+
author?: components["schemas"]["SimpleUserAccountModel"];
|
|
763
|
+
revisionType: "ADD" | "MOD" | "DEL";
|
|
764
|
+
};
|
|
765
|
+
SelectAllResponse: {
|
|
766
|
+
ids: number[];
|
|
767
|
+
};
|
|
768
|
+
KeyWithTranslationsModel: {
|
|
769
|
+
/**
|
|
770
|
+
* Format: int64
|
|
771
|
+
* @description Id of key record
|
|
772
|
+
*/
|
|
773
|
+
keyId: number;
|
|
774
|
+
/**
|
|
775
|
+
* @description Name of key
|
|
776
|
+
* @example this_is_super_key
|
|
777
|
+
*/
|
|
778
|
+
keyName: string;
|
|
779
|
+
/** @description Tags of key */
|
|
780
|
+
keyTags: components["schemas"]["TagModel"][];
|
|
781
|
+
/**
|
|
782
|
+
* Format: int64
|
|
783
|
+
* @description Count of screenshots provided for the key
|
|
784
|
+
* @example 1
|
|
785
|
+
*/
|
|
786
|
+
screenshotCount: number;
|
|
787
|
+
/** @description Key screenshots. Not provided when API key hasn't screenshots.view scope permission. */
|
|
788
|
+
screenshots?: components["schemas"]["ScreenshotModel"][];
|
|
789
|
+
/**
|
|
790
|
+
* @description Translations object
|
|
791
|
+
* @example
|
|
792
|
+
* {
|
|
793
|
+
* "en": {
|
|
794
|
+
* "id": 100000003,
|
|
795
|
+
* "text": "This is super translation!"
|
|
796
|
+
* "state": "TRANSLATED",
|
|
797
|
+
* "commentCount": 1
|
|
798
|
+
* }
|
|
799
|
+
* }
|
|
800
|
+
*/
|
|
801
|
+
translations: {
|
|
802
|
+
[key: string]: components["schemas"]["TranslationViewModel"];
|
|
803
|
+
};
|
|
804
|
+
};
|
|
805
|
+
KeysWithTranslationsPageModel: {
|
|
806
|
+
_embedded?: {
|
|
807
|
+
keys?: components["schemas"]["KeyWithTranslationsModel"][];
|
|
808
|
+
};
|
|
809
|
+
page?: components["schemas"]["PageMetadata"];
|
|
810
|
+
/** @description Provided languages data */
|
|
811
|
+
selectedLanguages: components["schemas"]["LanguageModel"][];
|
|
812
|
+
/**
|
|
813
|
+
* @description Cursor to get next data
|
|
814
|
+
* @example eyJrZXlJZCI6eyJkaXJlY3Rpb24iOiJBU0MiLCJ2YWx1ZSI6IjEwMDAwMDAxMjAifX0=
|
|
815
|
+
*/
|
|
816
|
+
nextCursor?: string;
|
|
817
|
+
};
|
|
818
|
+
/**
|
|
819
|
+
* @description Translations object
|
|
820
|
+
* @example
|
|
821
|
+
* {
|
|
822
|
+
* "en": {
|
|
823
|
+
* "id": 100000003,
|
|
824
|
+
* "text": "This is super translation!"
|
|
825
|
+
* "state": "TRANSLATED",
|
|
826
|
+
* "commentCount": 1
|
|
827
|
+
* }
|
|
828
|
+
* }
|
|
829
|
+
*/
|
|
830
|
+
TranslationViewModel: {
|
|
831
|
+
/**
|
|
832
|
+
* Format: int64
|
|
833
|
+
* @description Id of translation record
|
|
834
|
+
*/
|
|
835
|
+
id: number;
|
|
836
|
+
/** @description Translation text */
|
|
837
|
+
text?: string;
|
|
838
|
+
/** @description State of translation */
|
|
839
|
+
state: "UNTRANSLATED" | "TRANSLATED" | "REVIEWED";
|
|
840
|
+
/** @description Was translated using Translation Memory or Machine translation service? */
|
|
841
|
+
auto: boolean;
|
|
842
|
+
/** @description Which machine translation service was used to auto translate this */
|
|
843
|
+
mtProvider?: "GOOGLE" | "AWS" | "DEEPL" | "AZURE";
|
|
844
|
+
/**
|
|
845
|
+
* Format: int64
|
|
846
|
+
* @description Count of translation comments
|
|
847
|
+
*/
|
|
848
|
+
commentCount: number;
|
|
849
|
+
/**
|
|
850
|
+
* Format: int64
|
|
851
|
+
* @description Count of unresolved translation comments
|
|
852
|
+
*/
|
|
853
|
+
unresolvedCommentCount: number;
|
|
854
|
+
/** @description Was translation memory used to translate this? */
|
|
855
|
+
fromTranslationMemory: boolean;
|
|
856
|
+
};
|
|
857
|
+
PagedModelLanguageModel: {
|
|
858
|
+
_embedded?: {
|
|
859
|
+
languages?: components["schemas"]["LanguageModel"][];
|
|
860
|
+
};
|
|
861
|
+
page?: components["schemas"]["PageMetadata"];
|
|
862
|
+
};
|
|
863
|
+
CollectionModelScreenshotModel: {
|
|
864
|
+
_embedded?: {
|
|
865
|
+
screenshots?: components["schemas"]["ScreenshotModel"][];
|
|
866
|
+
};
|
|
867
|
+
};
|
|
868
|
+
ApiKeyWithLanguagesModel: {
|
|
869
|
+
/**
|
|
870
|
+
* @description Languages for which user has translate permission.
|
|
871
|
+
*
|
|
872
|
+
* If null, all languages are permitted.
|
|
873
|
+
*/
|
|
874
|
+
permittedLanguageIds?: number[];
|
|
875
|
+
/** Format: int64 */
|
|
876
|
+
id: number;
|
|
877
|
+
username?: string;
|
|
878
|
+
/** Format: int64 */
|
|
879
|
+
expiresAt?: number;
|
|
880
|
+
/** Format: int64 */
|
|
881
|
+
projectId: number;
|
|
882
|
+
/** Format: int64 */
|
|
883
|
+
lastUsedAt?: number;
|
|
884
|
+
description: string;
|
|
885
|
+
userFullName?: string;
|
|
886
|
+
projectName: string;
|
|
887
|
+
scopes: string[];
|
|
888
|
+
};
|
|
889
|
+
DeprecatedKeyDto: {
|
|
890
|
+
/** @description This means name of key. Will be renamed in v2 */
|
|
891
|
+
fullPathString: string;
|
|
892
|
+
};
|
|
893
|
+
DeleteKeysDto: {
|
|
894
|
+
/** @description IDs of keys to delete */
|
|
895
|
+
ids: number[];
|
|
896
|
+
};
|
|
897
|
+
};
|
|
898
|
+
}
|
|
899
|
+
export interface operations {
|
|
900
|
+
tagKey_1: {
|
|
901
|
+
parameters: {
|
|
902
|
+
path: {
|
|
903
|
+
keyId: number;
|
|
904
|
+
};
|
|
905
|
+
query: {
|
|
906
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
907
|
+
ak?: string;
|
|
908
|
+
};
|
|
909
|
+
header: {
|
|
910
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
911
|
+
"X-API-Key"?: string;
|
|
912
|
+
};
|
|
913
|
+
};
|
|
914
|
+
responses: {
|
|
915
|
+
/** OK */
|
|
916
|
+
200: {
|
|
917
|
+
content: {
|
|
918
|
+
"*/*": components["schemas"]["TagModel"];
|
|
919
|
+
};
|
|
920
|
+
};
|
|
921
|
+
/** Bad Request */
|
|
922
|
+
400: {
|
|
923
|
+
content: {
|
|
924
|
+
"*/*": string;
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
/** Not Found */
|
|
928
|
+
404: {
|
|
929
|
+
content: {
|
|
930
|
+
"*/*": string;
|
|
931
|
+
};
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
requestBody: {
|
|
935
|
+
content: {
|
|
936
|
+
"application/json": components["schemas"]["TagKeyDto"];
|
|
937
|
+
};
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
complexEdit_1: {
|
|
941
|
+
parameters: {
|
|
942
|
+
path: {
|
|
943
|
+
id: number;
|
|
944
|
+
};
|
|
945
|
+
query: {
|
|
946
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
947
|
+
ak?: string;
|
|
948
|
+
};
|
|
949
|
+
header: {
|
|
950
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
951
|
+
"X-API-Key"?: string;
|
|
952
|
+
};
|
|
953
|
+
};
|
|
954
|
+
responses: {
|
|
955
|
+
/** OK */
|
|
956
|
+
200: {
|
|
957
|
+
content: {
|
|
958
|
+
"*/*": components["schemas"]["KeyWithDataModel"];
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
/** Bad Request */
|
|
962
|
+
400: {
|
|
963
|
+
content: {
|
|
964
|
+
"*/*": string;
|
|
965
|
+
};
|
|
966
|
+
};
|
|
967
|
+
/** Not Found */
|
|
968
|
+
404: {
|
|
969
|
+
content: {
|
|
970
|
+
"*/*": string;
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
};
|
|
974
|
+
requestBody: {
|
|
975
|
+
content: {
|
|
976
|
+
"application/json": components["schemas"]["ComplexEditKeyDto"];
|
|
977
|
+
};
|
|
978
|
+
};
|
|
979
|
+
};
|
|
980
|
+
edit_1: {
|
|
981
|
+
parameters: {
|
|
982
|
+
path: {
|
|
983
|
+
id: number;
|
|
984
|
+
};
|
|
985
|
+
query: {
|
|
986
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
987
|
+
ak?: string;
|
|
988
|
+
};
|
|
989
|
+
header: {
|
|
990
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
991
|
+
"X-API-Key"?: string;
|
|
992
|
+
};
|
|
993
|
+
};
|
|
994
|
+
responses: {
|
|
995
|
+
/** OK */
|
|
996
|
+
200: {
|
|
997
|
+
content: {
|
|
998
|
+
"*/*": components["schemas"]["KeyModel"];
|
|
999
|
+
};
|
|
1000
|
+
};
|
|
1001
|
+
/** Bad Request */
|
|
1002
|
+
400: {
|
|
1003
|
+
content: {
|
|
1004
|
+
"*/*": string;
|
|
1005
|
+
};
|
|
1006
|
+
};
|
|
1007
|
+
/** Not Found */
|
|
1008
|
+
404: {
|
|
1009
|
+
content: {
|
|
1010
|
+
"*/*": string;
|
|
1011
|
+
};
|
|
1012
|
+
};
|
|
1013
|
+
};
|
|
1014
|
+
requestBody: {
|
|
1015
|
+
content: {
|
|
1016
|
+
"application/json": components["schemas"]["EditKeyDto"];
|
|
1017
|
+
};
|
|
1018
|
+
};
|
|
1019
|
+
};
|
|
1020
|
+
/** Resolves translation conflict. The old translation will be overridden. */
|
|
1021
|
+
resolveTranslationSetOverride_1: {
|
|
1022
|
+
parameters: {
|
|
1023
|
+
path: {
|
|
1024
|
+
languageId: number;
|
|
1025
|
+
translationId: number;
|
|
1026
|
+
};
|
|
1027
|
+
query: {
|
|
1028
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1029
|
+
ak?: string;
|
|
1030
|
+
};
|
|
1031
|
+
header: {
|
|
1032
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1033
|
+
"X-API-Key"?: string;
|
|
1034
|
+
};
|
|
1035
|
+
};
|
|
1036
|
+
responses: {
|
|
1037
|
+
/** OK */
|
|
1038
|
+
200: unknown;
|
|
1039
|
+
/** Bad Request */
|
|
1040
|
+
400: {
|
|
1041
|
+
content: {
|
|
1042
|
+
"*/*": string;
|
|
1043
|
+
};
|
|
1044
|
+
};
|
|
1045
|
+
/** Not Found */
|
|
1046
|
+
404: {
|
|
1047
|
+
content: {
|
|
1048
|
+
"*/*": string;
|
|
1049
|
+
};
|
|
1050
|
+
};
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1053
|
+
/** Resolves translation conflict. The old translation will be kept. */
|
|
1054
|
+
resolveTranslationSetKeepExisting_1: {
|
|
1055
|
+
parameters: {
|
|
1056
|
+
path: {
|
|
1057
|
+
languageId: number;
|
|
1058
|
+
translationId: number;
|
|
1059
|
+
};
|
|
1060
|
+
query: {
|
|
1061
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1062
|
+
ak?: string;
|
|
1063
|
+
};
|
|
1064
|
+
header: {
|
|
1065
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1066
|
+
"X-API-Key"?: string;
|
|
1067
|
+
};
|
|
1068
|
+
};
|
|
1069
|
+
responses: {
|
|
1070
|
+
/** OK */
|
|
1071
|
+
200: unknown;
|
|
1072
|
+
/** Bad Request */
|
|
1073
|
+
400: {
|
|
1074
|
+
content: {
|
|
1075
|
+
"*/*": string;
|
|
1076
|
+
};
|
|
1077
|
+
};
|
|
1078
|
+
/** Not Found */
|
|
1079
|
+
404: {
|
|
1080
|
+
content: {
|
|
1081
|
+
"*/*": string;
|
|
1082
|
+
};
|
|
1083
|
+
};
|
|
1084
|
+
};
|
|
1085
|
+
};
|
|
1086
|
+
/** Resolves all translation conflicts for provided language. The old translations will be overridden. */
|
|
1087
|
+
resolveTranslationSetOverride_3: {
|
|
1088
|
+
parameters: {
|
|
1089
|
+
path: {
|
|
1090
|
+
languageId: number;
|
|
1091
|
+
};
|
|
1092
|
+
query: {
|
|
1093
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1094
|
+
ak?: string;
|
|
1095
|
+
};
|
|
1096
|
+
header: {
|
|
1097
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1098
|
+
"X-API-Key"?: string;
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
responses: {
|
|
1102
|
+
/** OK */
|
|
1103
|
+
200: unknown;
|
|
1104
|
+
/** Bad Request */
|
|
1105
|
+
400: {
|
|
1106
|
+
content: {
|
|
1107
|
+
"*/*": string;
|
|
1108
|
+
};
|
|
1109
|
+
};
|
|
1110
|
+
/** Not Found */
|
|
1111
|
+
404: {
|
|
1112
|
+
content: {
|
|
1113
|
+
"*/*": string;
|
|
1114
|
+
};
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1118
|
+
/** Resolves all translation conflicts for provided language. The old translations will be kept. */
|
|
1119
|
+
resolveTranslationSetKeepExisting_3: {
|
|
1120
|
+
parameters: {
|
|
1121
|
+
path: {
|
|
1122
|
+
languageId: number;
|
|
1123
|
+
};
|
|
1124
|
+
query: {
|
|
1125
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1126
|
+
ak?: string;
|
|
1127
|
+
};
|
|
1128
|
+
header: {
|
|
1129
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1130
|
+
"X-API-Key"?: string;
|
|
1131
|
+
};
|
|
1132
|
+
};
|
|
1133
|
+
responses: {
|
|
1134
|
+
/** OK */
|
|
1135
|
+
200: unknown;
|
|
1136
|
+
/** Bad Request */
|
|
1137
|
+
400: {
|
|
1138
|
+
content: {
|
|
1139
|
+
"*/*": string;
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1142
|
+
/** Not Found */
|
|
1143
|
+
404: {
|
|
1144
|
+
content: {
|
|
1145
|
+
"*/*": string;
|
|
1146
|
+
};
|
|
1147
|
+
};
|
|
1148
|
+
};
|
|
1149
|
+
};
|
|
1150
|
+
/** Sets existing language to pair with language to import. Data will be imported to selected existing language when applied. */
|
|
1151
|
+
selectExistingLanguage_1: {
|
|
1152
|
+
parameters: {
|
|
1153
|
+
path: {
|
|
1154
|
+
importLanguageId: number;
|
|
1155
|
+
existingLanguageId: number;
|
|
1156
|
+
};
|
|
1157
|
+
query: {
|
|
1158
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1159
|
+
ak?: string;
|
|
1160
|
+
};
|
|
1161
|
+
header: {
|
|
1162
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1163
|
+
"X-API-Key"?: string;
|
|
1164
|
+
};
|
|
1165
|
+
};
|
|
1166
|
+
responses: {
|
|
1167
|
+
/** OK */
|
|
1168
|
+
200: unknown;
|
|
1169
|
+
/** Bad Request */
|
|
1170
|
+
400: {
|
|
1171
|
+
content: {
|
|
1172
|
+
"*/*": string;
|
|
1173
|
+
};
|
|
1174
|
+
};
|
|
1175
|
+
/** Not Found */
|
|
1176
|
+
404: {
|
|
1177
|
+
content: {
|
|
1178
|
+
"*/*": string;
|
|
1179
|
+
};
|
|
1180
|
+
};
|
|
1181
|
+
};
|
|
1182
|
+
};
|
|
1183
|
+
/** Resets existing language paired with language to import. */
|
|
1184
|
+
resetExistingLanguage_1: {
|
|
1185
|
+
parameters: {
|
|
1186
|
+
path: {
|
|
1187
|
+
importLanguageId: number;
|
|
1188
|
+
};
|
|
1189
|
+
query: {
|
|
1190
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1191
|
+
ak?: string;
|
|
1192
|
+
};
|
|
1193
|
+
header: {
|
|
1194
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1195
|
+
"X-API-Key"?: string;
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
responses: {
|
|
1199
|
+
/** OK */
|
|
1200
|
+
200: unknown;
|
|
1201
|
+
/** Bad Request */
|
|
1202
|
+
400: {
|
|
1203
|
+
content: {
|
|
1204
|
+
"*/*": string;
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
/** Not Found */
|
|
1208
|
+
404: {
|
|
1209
|
+
content: {
|
|
1210
|
+
"*/*": string;
|
|
1211
|
+
};
|
|
1212
|
+
};
|
|
1213
|
+
};
|
|
1214
|
+
};
|
|
1215
|
+
/** Imports the data prepared in previous step */
|
|
1216
|
+
applyImport_1: {
|
|
1217
|
+
parameters: {
|
|
1218
|
+
query: {
|
|
1219
|
+
forceMode?: "OVERRIDE" | "KEEP" | "NO_FORCE";
|
|
1220
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1221
|
+
ak?: string;
|
|
1222
|
+
};
|
|
1223
|
+
header: {
|
|
1224
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1225
|
+
"X-API-Key"?: string;
|
|
1226
|
+
};
|
|
1227
|
+
};
|
|
1228
|
+
responses: {
|
|
1229
|
+
/** OK */
|
|
1230
|
+
200: unknown;
|
|
1231
|
+
/** Bad Request */
|
|
1232
|
+
400: {
|
|
1233
|
+
content: {
|
|
1234
|
+
"*/*": string;
|
|
1235
|
+
};
|
|
1236
|
+
};
|
|
1237
|
+
/** Not Found */
|
|
1238
|
+
404: {
|
|
1239
|
+
content: {
|
|
1240
|
+
"*/*": string;
|
|
1241
|
+
};
|
|
1242
|
+
};
|
|
1243
|
+
};
|
|
1244
|
+
};
|
|
1245
|
+
setTranslationState_1: {
|
|
1246
|
+
parameters: {
|
|
1247
|
+
path: {
|
|
1248
|
+
translationId: number;
|
|
1249
|
+
state: "UNTRANSLATED" | "TRANSLATED" | "REVIEWED";
|
|
1250
|
+
};
|
|
1251
|
+
query: {
|
|
1252
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1253
|
+
ak?: string;
|
|
1254
|
+
};
|
|
1255
|
+
header: {
|
|
1256
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1257
|
+
"X-API-Key"?: string;
|
|
1258
|
+
};
|
|
1259
|
+
};
|
|
1260
|
+
responses: {
|
|
1261
|
+
/** OK */
|
|
1262
|
+
200: {
|
|
1263
|
+
content: {
|
|
1264
|
+
"*/*": components["schemas"]["TranslationModel"];
|
|
1265
|
+
};
|
|
1266
|
+
};
|
|
1267
|
+
/** Bad Request */
|
|
1268
|
+
400: {
|
|
1269
|
+
content: {
|
|
1270
|
+
"*/*": string;
|
|
1271
|
+
};
|
|
1272
|
+
};
|
|
1273
|
+
/** Not Found */
|
|
1274
|
+
404: {
|
|
1275
|
+
content: {
|
|
1276
|
+
"*/*": string;
|
|
1277
|
+
};
|
|
1278
|
+
};
|
|
1279
|
+
};
|
|
1280
|
+
};
|
|
1281
|
+
setState_1: {
|
|
1282
|
+
parameters: {
|
|
1283
|
+
path: {
|
|
1284
|
+
commentId: number;
|
|
1285
|
+
state: "RESOLUTION_NOT_NEEDED" | "NEEDS_RESOLUTION" | "RESOLVED";
|
|
1286
|
+
};
|
|
1287
|
+
query: {
|
|
1288
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1289
|
+
ak?: string;
|
|
1290
|
+
};
|
|
1291
|
+
header: {
|
|
1292
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1293
|
+
"X-API-Key"?: string;
|
|
1294
|
+
};
|
|
1295
|
+
};
|
|
1296
|
+
responses: {
|
|
1297
|
+
/** OK */
|
|
1298
|
+
200: {
|
|
1299
|
+
content: {
|
|
1300
|
+
"*/*": components["schemas"]["TranslationCommentModel"];
|
|
1301
|
+
};
|
|
1302
|
+
};
|
|
1303
|
+
/** Bad Request */
|
|
1304
|
+
400: {
|
|
1305
|
+
content: {
|
|
1306
|
+
"*/*": string;
|
|
1307
|
+
};
|
|
1308
|
+
};
|
|
1309
|
+
/** Not Found */
|
|
1310
|
+
404: {
|
|
1311
|
+
content: {
|
|
1312
|
+
"*/*": string;
|
|
1313
|
+
};
|
|
1314
|
+
};
|
|
1315
|
+
};
|
|
1316
|
+
};
|
|
1317
|
+
get_4: {
|
|
1318
|
+
parameters: {
|
|
1319
|
+
path: {
|
|
1320
|
+
translationId: number;
|
|
1321
|
+
commentId: number;
|
|
1322
|
+
};
|
|
1323
|
+
query: {
|
|
1324
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1325
|
+
ak?: string;
|
|
1326
|
+
};
|
|
1327
|
+
header: {
|
|
1328
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1329
|
+
"X-API-Key"?: string;
|
|
1330
|
+
};
|
|
1331
|
+
};
|
|
1332
|
+
responses: {
|
|
1333
|
+
/** OK */
|
|
1334
|
+
200: {
|
|
1335
|
+
content: {
|
|
1336
|
+
"*/*": components["schemas"]["TranslationCommentModel"];
|
|
1337
|
+
};
|
|
1338
|
+
};
|
|
1339
|
+
/** Bad Request */
|
|
1340
|
+
400: {
|
|
1341
|
+
content: {
|
|
1342
|
+
"*/*": string;
|
|
1343
|
+
};
|
|
1344
|
+
};
|
|
1345
|
+
/** Not Found */
|
|
1346
|
+
404: {
|
|
1347
|
+
content: {
|
|
1348
|
+
"*/*": string;
|
|
1349
|
+
};
|
|
1350
|
+
};
|
|
1351
|
+
};
|
|
1352
|
+
};
|
|
1353
|
+
update_1: {
|
|
1354
|
+
parameters: {
|
|
1355
|
+
path: {
|
|
1356
|
+
commentId: number;
|
|
1357
|
+
};
|
|
1358
|
+
query: {
|
|
1359
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1360
|
+
ak?: string;
|
|
1361
|
+
};
|
|
1362
|
+
header: {
|
|
1363
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1364
|
+
"X-API-Key"?: string;
|
|
1365
|
+
};
|
|
1366
|
+
};
|
|
1367
|
+
responses: {
|
|
1368
|
+
/** OK */
|
|
1369
|
+
200: {
|
|
1370
|
+
content: {
|
|
1371
|
+
"*/*": components["schemas"]["TranslationCommentModel"];
|
|
1372
|
+
};
|
|
1373
|
+
};
|
|
1374
|
+
/** Bad Request */
|
|
1375
|
+
400: {
|
|
1376
|
+
content: {
|
|
1377
|
+
"*/*": string;
|
|
1378
|
+
};
|
|
1379
|
+
};
|
|
1380
|
+
/** Not Found */
|
|
1381
|
+
404: {
|
|
1382
|
+
content: {
|
|
1383
|
+
"*/*": string;
|
|
1384
|
+
};
|
|
1385
|
+
};
|
|
1386
|
+
};
|
|
1387
|
+
requestBody: {
|
|
1388
|
+
content: {
|
|
1389
|
+
"application/json": components["schemas"]["TranslationCommentDto"];
|
|
1390
|
+
};
|
|
1391
|
+
};
|
|
1392
|
+
};
|
|
1393
|
+
delete_5: {
|
|
1394
|
+
parameters: {
|
|
1395
|
+
path: {
|
|
1396
|
+
commentId: number;
|
|
1397
|
+
};
|
|
1398
|
+
query: {
|
|
1399
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1400
|
+
ak?: string;
|
|
1401
|
+
};
|
|
1402
|
+
header: {
|
|
1403
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1404
|
+
"X-API-Key"?: string;
|
|
1405
|
+
};
|
|
1406
|
+
};
|
|
1407
|
+
responses: {
|
|
1408
|
+
/** OK */
|
|
1409
|
+
200: unknown;
|
|
1410
|
+
/** Bad Request */
|
|
1411
|
+
400: {
|
|
1412
|
+
content: {
|
|
1413
|
+
"*/*": string;
|
|
1414
|
+
};
|
|
1415
|
+
};
|
|
1416
|
+
/** Not Found */
|
|
1417
|
+
404: {
|
|
1418
|
+
content: {
|
|
1419
|
+
"*/*": string;
|
|
1420
|
+
};
|
|
1421
|
+
};
|
|
1422
|
+
};
|
|
1423
|
+
};
|
|
1424
|
+
dismissAutoTranslatedState_1: {
|
|
1425
|
+
parameters: {
|
|
1426
|
+
path: {
|
|
1427
|
+
translationId: number;
|
|
1428
|
+
};
|
|
1429
|
+
query: {
|
|
1430
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1431
|
+
ak?: string;
|
|
1432
|
+
};
|
|
1433
|
+
header: {
|
|
1434
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1435
|
+
"X-API-Key"?: string;
|
|
1436
|
+
};
|
|
1437
|
+
};
|
|
1438
|
+
responses: {
|
|
1439
|
+
/** OK */
|
|
1440
|
+
200: {
|
|
1441
|
+
content: {
|
|
1442
|
+
"*/*": components["schemas"]["TranslationModel"];
|
|
1443
|
+
};
|
|
1444
|
+
};
|
|
1445
|
+
/** Bad Request */
|
|
1446
|
+
400: {
|
|
1447
|
+
content: {
|
|
1448
|
+
"*/*": string;
|
|
1449
|
+
};
|
|
1450
|
+
};
|
|
1451
|
+
/** Not Found */
|
|
1452
|
+
404: {
|
|
1453
|
+
content: {
|
|
1454
|
+
"*/*": string;
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
};
|
|
1458
|
+
};
|
|
1459
|
+
getTranslations_1: {
|
|
1460
|
+
parameters: {
|
|
1461
|
+
query: {
|
|
1462
|
+
/** Cursor to get next data */
|
|
1463
|
+
cursor?: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* Translation state in the format: languageTag,state. You can use this parameter multiple times.
|
|
1466
|
+
*
|
|
1467
|
+
* When used with multiple states for same language it is applied with logical OR.
|
|
1468
|
+
*
|
|
1469
|
+
* When used with multiple languages, it is applied with logical AND.
|
|
1470
|
+
*/
|
|
1471
|
+
filterState?: string[];
|
|
1472
|
+
/**
|
|
1473
|
+
* Languages to be contained in response.
|
|
1474
|
+
*
|
|
1475
|
+
* To add multiple languages, repeat this param (eg. ?languages=en&languages=de)
|
|
1476
|
+
*/
|
|
1477
|
+
languages?: string[];
|
|
1478
|
+
/** String to search in key name or translation text */
|
|
1479
|
+
search?: string;
|
|
1480
|
+
/** Selects key with provided names. Use this param multiple times to fetch more keys. */
|
|
1481
|
+
filterKeyName?: string[];
|
|
1482
|
+
/** Selects key with provided ID. Use this param multiple times to fetch more keys. */
|
|
1483
|
+
filterKeyId?: number[];
|
|
1484
|
+
/** Selects only keys, where translation is missing in any language */
|
|
1485
|
+
filterUntranslatedAny?: boolean;
|
|
1486
|
+
/** Selects only keys, where translation is provided in any language */
|
|
1487
|
+
filterTranslatedAny?: boolean;
|
|
1488
|
+
/** Selects only keys, where translation is missing in specified language */
|
|
1489
|
+
filterUntranslatedInLang?: string;
|
|
1490
|
+
/** Selects only keys, where translation is provided in specified language */
|
|
1491
|
+
filterTranslatedInLang?: string;
|
|
1492
|
+
/** Selects only keys with screenshots */
|
|
1493
|
+
filterHasScreenshot?: boolean;
|
|
1494
|
+
/** Selects only keys without screenshots */
|
|
1495
|
+
filterHasNoScreenshot?: boolean;
|
|
1496
|
+
/** Selects only keys with provided tag */
|
|
1497
|
+
filterTag?: string[];
|
|
1498
|
+
/** Zero-based page index (0..N) */
|
|
1499
|
+
page?: number;
|
|
1500
|
+
/** The size of the page to be returned */
|
|
1501
|
+
size?: number;
|
|
1502
|
+
/** Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */
|
|
1503
|
+
sort?: string[];
|
|
1504
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1505
|
+
ak?: string;
|
|
1506
|
+
};
|
|
1507
|
+
header: {
|
|
1508
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1509
|
+
"X-API-Key"?: string;
|
|
1510
|
+
};
|
|
1511
|
+
};
|
|
1512
|
+
responses: {
|
|
1513
|
+
/** OK */
|
|
1514
|
+
200: {
|
|
1515
|
+
content: {
|
|
1516
|
+
"*/*": components["schemas"]["KeysWithTranslationsPageModel"];
|
|
1517
|
+
};
|
|
1518
|
+
};
|
|
1519
|
+
/** Bad Request */
|
|
1520
|
+
400: {
|
|
1521
|
+
content: {
|
|
1522
|
+
"*/*": string;
|
|
1523
|
+
};
|
|
1524
|
+
};
|
|
1525
|
+
/** Not Found */
|
|
1526
|
+
404: {
|
|
1527
|
+
content: {
|
|
1528
|
+
"*/*": string;
|
|
1529
|
+
};
|
|
1530
|
+
};
|
|
1531
|
+
};
|
|
1532
|
+
};
|
|
1533
|
+
setTranslations_1: {
|
|
1534
|
+
parameters: {
|
|
1535
|
+
query: {
|
|
1536
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1537
|
+
ak?: string;
|
|
1538
|
+
};
|
|
1539
|
+
header: {
|
|
1540
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1541
|
+
"X-API-Key"?: string;
|
|
1542
|
+
};
|
|
1543
|
+
};
|
|
1544
|
+
responses: {
|
|
1545
|
+
/** OK */
|
|
1546
|
+
200: {
|
|
1547
|
+
content: {
|
|
1548
|
+
"*/*": components["schemas"]["SetTranslationsResponseModel"];
|
|
1549
|
+
};
|
|
1550
|
+
};
|
|
1551
|
+
/** Bad Request */
|
|
1552
|
+
400: {
|
|
1553
|
+
content: {
|
|
1554
|
+
"*/*": string;
|
|
1555
|
+
};
|
|
1556
|
+
};
|
|
1557
|
+
/** Not Found */
|
|
1558
|
+
404: {
|
|
1559
|
+
content: {
|
|
1560
|
+
"*/*": string;
|
|
1561
|
+
};
|
|
1562
|
+
};
|
|
1563
|
+
};
|
|
1564
|
+
requestBody: {
|
|
1565
|
+
content: {
|
|
1566
|
+
"application/json": components["schemas"]["SetTranslationsWithKeyDto"];
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1569
|
+
};
|
|
1570
|
+
createOrUpdateTranslations_1: {
|
|
1571
|
+
parameters: {
|
|
1572
|
+
query: {
|
|
1573
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1574
|
+
ak?: string;
|
|
1575
|
+
};
|
|
1576
|
+
header: {
|
|
1577
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1578
|
+
"X-API-Key"?: string;
|
|
1579
|
+
};
|
|
1580
|
+
};
|
|
1581
|
+
responses: {
|
|
1582
|
+
/** OK */
|
|
1583
|
+
200: {
|
|
1584
|
+
content: {
|
|
1585
|
+
"*/*": components["schemas"]["SetTranslationsResponseModel"];
|
|
1586
|
+
};
|
|
1587
|
+
};
|
|
1588
|
+
/** Bad Request */
|
|
1589
|
+
400: {
|
|
1590
|
+
content: {
|
|
1591
|
+
"*/*": string;
|
|
1592
|
+
};
|
|
1593
|
+
};
|
|
1594
|
+
/** Not Found */
|
|
1595
|
+
404: {
|
|
1596
|
+
content: {
|
|
1597
|
+
"*/*": string;
|
|
1598
|
+
};
|
|
1599
|
+
};
|
|
1600
|
+
};
|
|
1601
|
+
requestBody: {
|
|
1602
|
+
content: {
|
|
1603
|
+
"application/json": components["schemas"]["SetTranslationsWithKeyDto"];
|
|
1604
|
+
};
|
|
1605
|
+
};
|
|
1606
|
+
};
|
|
1607
|
+
editLanguage_1: {
|
|
1608
|
+
parameters: {
|
|
1609
|
+
path: {
|
|
1610
|
+
languageId: number;
|
|
1611
|
+
};
|
|
1612
|
+
query: {
|
|
1613
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1614
|
+
ak?: string;
|
|
1615
|
+
};
|
|
1616
|
+
header: {
|
|
1617
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1618
|
+
"X-API-Key"?: string;
|
|
1619
|
+
};
|
|
1620
|
+
};
|
|
1621
|
+
responses: {
|
|
1622
|
+
/** OK */
|
|
1623
|
+
200: {
|
|
1624
|
+
content: {
|
|
1625
|
+
"*/*": components["schemas"]["LanguageModel"];
|
|
1626
|
+
};
|
|
1627
|
+
};
|
|
1628
|
+
/** Bad Request */
|
|
1629
|
+
400: {
|
|
1630
|
+
content: {
|
|
1631
|
+
"*/*": string;
|
|
1632
|
+
};
|
|
1633
|
+
};
|
|
1634
|
+
/** Not Found */
|
|
1635
|
+
404: {
|
|
1636
|
+
content: {
|
|
1637
|
+
"*/*": string;
|
|
1638
|
+
};
|
|
1639
|
+
};
|
|
1640
|
+
};
|
|
1641
|
+
requestBody: {
|
|
1642
|
+
content: {
|
|
1643
|
+
"application/json": components["schemas"]["LanguageDto"];
|
|
1644
|
+
};
|
|
1645
|
+
};
|
|
1646
|
+
};
|
|
1647
|
+
deleteLanguage_3: {
|
|
1648
|
+
parameters: {
|
|
1649
|
+
path: {
|
|
1650
|
+
languageId: number;
|
|
1651
|
+
};
|
|
1652
|
+
query: {
|
|
1653
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1654
|
+
ak?: string;
|
|
1655
|
+
};
|
|
1656
|
+
header: {
|
|
1657
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1658
|
+
"X-API-Key"?: string;
|
|
1659
|
+
};
|
|
1660
|
+
};
|
|
1661
|
+
responses: {
|
|
1662
|
+
/** OK */
|
|
1663
|
+
200: unknown;
|
|
1664
|
+
/** Bad Request */
|
|
1665
|
+
400: {
|
|
1666
|
+
content: {
|
|
1667
|
+
"*/*": string;
|
|
1668
|
+
};
|
|
1669
|
+
};
|
|
1670
|
+
/** Not Found */
|
|
1671
|
+
404: {
|
|
1672
|
+
content: {
|
|
1673
|
+
"*/*": string;
|
|
1674
|
+
};
|
|
1675
|
+
};
|
|
1676
|
+
};
|
|
1677
|
+
};
|
|
1678
|
+
/**
|
|
1679
|
+
* Uses enabled auto-translation methods.
|
|
1680
|
+
* You need to set at least one of useMachineTranslation or useTranslationMemory to true.
|
|
1681
|
+
*
|
|
1682
|
+
* This will replace the the existing translation with the result obtained from specified source!
|
|
1683
|
+
*/
|
|
1684
|
+
autoTranslate_1: {
|
|
1685
|
+
parameters: {
|
|
1686
|
+
path: {
|
|
1687
|
+
keyId: number;
|
|
1688
|
+
};
|
|
1689
|
+
query: {
|
|
1690
|
+
/**
|
|
1691
|
+
* Tags of languages to auto-translate.
|
|
1692
|
+
* When no languages provided, it translates only untranslated languages.
|
|
1693
|
+
*/
|
|
1694
|
+
languages?: string[];
|
|
1695
|
+
useMachineTranslation?: boolean;
|
|
1696
|
+
useTranslationMemory?: boolean;
|
|
1697
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1698
|
+
ak?: string;
|
|
1699
|
+
};
|
|
1700
|
+
header: {
|
|
1701
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1702
|
+
"X-API-Key"?: string;
|
|
1703
|
+
};
|
|
1704
|
+
};
|
|
1705
|
+
responses: {
|
|
1706
|
+
/** OK */
|
|
1707
|
+
200: unknown;
|
|
1708
|
+
/** Bad Request */
|
|
1709
|
+
400: {
|
|
1710
|
+
content: {
|
|
1711
|
+
"*/*": string;
|
|
1712
|
+
};
|
|
1713
|
+
};
|
|
1714
|
+
/** Not Found */
|
|
1715
|
+
404: {
|
|
1716
|
+
content: {
|
|
1717
|
+
"*/*": string;
|
|
1718
|
+
};
|
|
1719
|
+
};
|
|
1720
|
+
};
|
|
1721
|
+
};
|
|
1722
|
+
setTranslations_3: {
|
|
1723
|
+
parameters: {
|
|
1724
|
+
query: {
|
|
1725
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1726
|
+
ak?: string;
|
|
1727
|
+
};
|
|
1728
|
+
header: {
|
|
1729
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1730
|
+
"X-API-Key"?: string;
|
|
1731
|
+
};
|
|
1732
|
+
};
|
|
1733
|
+
responses: {
|
|
1734
|
+
/** OK */
|
|
1735
|
+
200: unknown;
|
|
1736
|
+
/** Bad Request */
|
|
1737
|
+
400: {
|
|
1738
|
+
content: {
|
|
1739
|
+
"*/*": string;
|
|
1740
|
+
};
|
|
1741
|
+
};
|
|
1742
|
+
/** Not Found */
|
|
1743
|
+
404: {
|
|
1744
|
+
content: {
|
|
1745
|
+
"*/*": string;
|
|
1746
|
+
};
|
|
1747
|
+
};
|
|
1748
|
+
};
|
|
1749
|
+
requestBody: {
|
|
1750
|
+
content: {
|
|
1751
|
+
"application/json": components["schemas"]["SetTranslationsWithKeyDto"];
|
|
1752
|
+
};
|
|
1753
|
+
};
|
|
1754
|
+
};
|
|
1755
|
+
createOrUpdateTranslations_3: {
|
|
1756
|
+
parameters: {
|
|
1757
|
+
query: {
|
|
1758
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1759
|
+
ak?: string;
|
|
1760
|
+
};
|
|
1761
|
+
header: {
|
|
1762
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1763
|
+
"X-API-Key"?: string;
|
|
1764
|
+
};
|
|
1765
|
+
};
|
|
1766
|
+
responses: {
|
|
1767
|
+
/** OK */
|
|
1768
|
+
200: unknown;
|
|
1769
|
+
/** Bad Request */
|
|
1770
|
+
400: {
|
|
1771
|
+
content: {
|
|
1772
|
+
"*/*": string;
|
|
1773
|
+
};
|
|
1774
|
+
};
|
|
1775
|
+
/** Not Found */
|
|
1776
|
+
404: {
|
|
1777
|
+
content: {
|
|
1778
|
+
"*/*": string;
|
|
1779
|
+
};
|
|
1780
|
+
};
|
|
1781
|
+
};
|
|
1782
|
+
requestBody: {
|
|
1783
|
+
content: {
|
|
1784
|
+
"application/json": components["schemas"]["SetTranslationsWithKeyDto"];
|
|
1785
|
+
};
|
|
1786
|
+
};
|
|
1787
|
+
};
|
|
1788
|
+
create_2: {
|
|
1789
|
+
parameters: {
|
|
1790
|
+
query: {
|
|
1791
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1792
|
+
ak?: string;
|
|
1793
|
+
};
|
|
1794
|
+
header: {
|
|
1795
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1796
|
+
"X-API-Key"?: string;
|
|
1797
|
+
};
|
|
1798
|
+
};
|
|
1799
|
+
responses: {
|
|
1800
|
+
/** Created */
|
|
1801
|
+
201: {
|
|
1802
|
+
content: {
|
|
1803
|
+
"*/*": components["schemas"]["KeyWithDataModel"];
|
|
1804
|
+
};
|
|
1805
|
+
};
|
|
1806
|
+
/** Bad Request */
|
|
1807
|
+
400: {
|
|
1808
|
+
content: {
|
|
1809
|
+
"*/*": string;
|
|
1810
|
+
};
|
|
1811
|
+
};
|
|
1812
|
+
/** Not Found */
|
|
1813
|
+
404: {
|
|
1814
|
+
content: {
|
|
1815
|
+
"*/*": string;
|
|
1816
|
+
};
|
|
1817
|
+
};
|
|
1818
|
+
};
|
|
1819
|
+
requestBody: {
|
|
1820
|
+
content: {
|
|
1821
|
+
"application/json": components["schemas"]["CreateKeyDto"];
|
|
1822
|
+
};
|
|
1823
|
+
};
|
|
1824
|
+
};
|
|
1825
|
+
create_3: {
|
|
1826
|
+
parameters: {
|
|
1827
|
+
query: {
|
|
1828
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1829
|
+
ak?: string;
|
|
1830
|
+
};
|
|
1831
|
+
header: {
|
|
1832
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1833
|
+
"X-API-Key"?: string;
|
|
1834
|
+
};
|
|
1835
|
+
};
|
|
1836
|
+
responses: {
|
|
1837
|
+
/** Created */
|
|
1838
|
+
201: {
|
|
1839
|
+
content: {
|
|
1840
|
+
"*/*": components["schemas"]["KeyWithDataModel"];
|
|
1841
|
+
};
|
|
1842
|
+
};
|
|
1843
|
+
/** Bad Request */
|
|
1844
|
+
400: {
|
|
1845
|
+
content: {
|
|
1846
|
+
"*/*": string;
|
|
1847
|
+
};
|
|
1848
|
+
};
|
|
1849
|
+
/** Not Found */
|
|
1850
|
+
404: {
|
|
1851
|
+
content: {
|
|
1852
|
+
"*/*": string;
|
|
1853
|
+
};
|
|
1854
|
+
};
|
|
1855
|
+
};
|
|
1856
|
+
requestBody: {
|
|
1857
|
+
content: {
|
|
1858
|
+
"application/json": components["schemas"]["CreateKeyDto"];
|
|
1859
|
+
};
|
|
1860
|
+
};
|
|
1861
|
+
};
|
|
1862
|
+
delete_3: {
|
|
1863
|
+
parameters: {
|
|
1864
|
+
query: {
|
|
1865
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1866
|
+
ak?: string;
|
|
1867
|
+
};
|
|
1868
|
+
header: {
|
|
1869
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1870
|
+
"X-API-Key"?: string;
|
|
1871
|
+
};
|
|
1872
|
+
};
|
|
1873
|
+
responses: {
|
|
1874
|
+
/** OK */
|
|
1875
|
+
200: unknown;
|
|
1876
|
+
/** Bad Request */
|
|
1877
|
+
400: {
|
|
1878
|
+
content: {
|
|
1879
|
+
"*/*": string;
|
|
1880
|
+
};
|
|
1881
|
+
};
|
|
1882
|
+
/** Not Found */
|
|
1883
|
+
404: {
|
|
1884
|
+
content: {
|
|
1885
|
+
"*/*": string;
|
|
1886
|
+
};
|
|
1887
|
+
};
|
|
1888
|
+
};
|
|
1889
|
+
requestBody: {
|
|
1890
|
+
content: {
|
|
1891
|
+
"application/json": components["schemas"]["DeleteKeysDto"];
|
|
1892
|
+
};
|
|
1893
|
+
};
|
|
1894
|
+
};
|
|
1895
|
+
/** Prepares provided files to import. */
|
|
1896
|
+
addFiles_1: {
|
|
1897
|
+
parameters: {
|
|
1898
|
+
query: {
|
|
1899
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1900
|
+
ak?: string;
|
|
1901
|
+
};
|
|
1902
|
+
header: {
|
|
1903
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1904
|
+
"X-API-Key"?: string;
|
|
1905
|
+
};
|
|
1906
|
+
};
|
|
1907
|
+
responses: {
|
|
1908
|
+
/** OK */
|
|
1909
|
+
200: {
|
|
1910
|
+
content: {
|
|
1911
|
+
"*/*": components["schemas"]["ImportAddFilesResultModel"];
|
|
1912
|
+
};
|
|
1913
|
+
};
|
|
1914
|
+
/** Bad Request */
|
|
1915
|
+
400: {
|
|
1916
|
+
content: {
|
|
1917
|
+
"*/*": string;
|
|
1918
|
+
};
|
|
1919
|
+
};
|
|
1920
|
+
/** Not Found */
|
|
1921
|
+
404: {
|
|
1922
|
+
content: {
|
|
1923
|
+
"*/*": string;
|
|
1924
|
+
};
|
|
1925
|
+
};
|
|
1926
|
+
};
|
|
1927
|
+
requestBody: {
|
|
1928
|
+
content: {
|
|
1929
|
+
"multipart/form-data": {
|
|
1930
|
+
files: string[];
|
|
1931
|
+
};
|
|
1932
|
+
};
|
|
1933
|
+
};
|
|
1934
|
+
};
|
|
1935
|
+
/** Deletes prepared import data. */
|
|
1936
|
+
cancelImport_1: {
|
|
1937
|
+
parameters: {
|
|
1938
|
+
query: {
|
|
1939
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
1940
|
+
ak?: string;
|
|
1941
|
+
};
|
|
1942
|
+
header: {
|
|
1943
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
1944
|
+
"X-API-Key"?: string;
|
|
1945
|
+
};
|
|
1946
|
+
};
|
|
1947
|
+
responses: {
|
|
1948
|
+
/** OK */
|
|
1949
|
+
200: unknown;
|
|
1950
|
+
/** Bad Request */
|
|
1951
|
+
400: {
|
|
1952
|
+
content: {
|
|
1953
|
+
"*/*": string;
|
|
1954
|
+
};
|
|
1955
|
+
};
|
|
1956
|
+
/** Not Found */
|
|
1957
|
+
404: {
|
|
1958
|
+
content: {
|
|
1959
|
+
"*/*": string;
|
|
1960
|
+
};
|
|
1961
|
+
};
|
|
1962
|
+
};
|
|
1963
|
+
};
|
|
1964
|
+
export_1: {
|
|
1965
|
+
parameters: {
|
|
1966
|
+
query: {
|
|
1967
|
+
/**
|
|
1968
|
+
* Languages to be contained in export.
|
|
1969
|
+
*
|
|
1970
|
+
* If null, all languages are exported
|
|
1971
|
+
*/
|
|
1972
|
+
languages?: string[];
|
|
1973
|
+
/** Format to export to */
|
|
1974
|
+
format?: "JSON" | "XLIFF";
|
|
1975
|
+
/** When true translations are split to directories by scopes */
|
|
1976
|
+
splitByScope?: boolean;
|
|
1977
|
+
/**
|
|
1978
|
+
* Scope delimiter.
|
|
1979
|
+
*
|
|
1980
|
+
* e.g. For key "home.header.title" scopes would result in "home" -> "header", when splitByScopeDepth is greater than 1.
|
|
1981
|
+
*/
|
|
1982
|
+
splitByScopeDelimiter?: string;
|
|
1983
|
+
/**
|
|
1984
|
+
* Maximum depth of scoping.
|
|
1985
|
+
*
|
|
1986
|
+
* e.g. For key "home.header.title" and depth 1, resulting scope is "home".
|
|
1987
|
+
*
|
|
1988
|
+
* For depth 2, resulting scopes are "home" -> "header".
|
|
1989
|
+
*/
|
|
1990
|
+
splitByScopeDepth?: number;
|
|
1991
|
+
/** Filter key IDs to be contained in export */
|
|
1992
|
+
filterKeyId?: number[];
|
|
1993
|
+
/** Filter key IDs not to be contained in export */
|
|
1994
|
+
filterKeyIdNot?: number[];
|
|
1995
|
+
/** Filter keys tagged by */
|
|
1996
|
+
filterTag?: string;
|
|
1997
|
+
/** Filter keys with prefix */
|
|
1998
|
+
filterKeyPrefix?: string;
|
|
1999
|
+
/** Filter translations with state. By default, everything except untranslated is exported. */
|
|
2000
|
+
filterState?: ("UNTRANSLATED" | "TRANSLATED" | "REVIEWED")[];
|
|
2001
|
+
/**
|
|
2002
|
+
* If false, it doesn't return zip of files, but it returns single file.
|
|
2003
|
+
*
|
|
2004
|
+
* This is possible only when single language is exported. Otherwise it returns "400 - Bad Request" response.
|
|
2005
|
+
*/
|
|
2006
|
+
zip?: boolean;
|
|
2007
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2008
|
+
ak?: string;
|
|
2009
|
+
};
|
|
2010
|
+
header: {
|
|
2011
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2012
|
+
"X-API-Key"?: string;
|
|
2013
|
+
};
|
|
2014
|
+
};
|
|
2015
|
+
responses: {
|
|
2016
|
+
/** OK */
|
|
2017
|
+
200: {
|
|
2018
|
+
content: {
|
|
2019
|
+
"*/*": components["schemas"]["StreamingResponseBody"];
|
|
2020
|
+
};
|
|
2021
|
+
};
|
|
2022
|
+
/** Bad Request */
|
|
2023
|
+
400: {
|
|
2024
|
+
content: {
|
|
2025
|
+
"*/*": string;
|
|
2026
|
+
};
|
|
2027
|
+
};
|
|
2028
|
+
/** Not Found */
|
|
2029
|
+
404: {
|
|
2030
|
+
content: {
|
|
2031
|
+
"*/*": string;
|
|
2032
|
+
};
|
|
2033
|
+
};
|
|
2034
|
+
};
|
|
2035
|
+
};
|
|
2036
|
+
exportPost_1: {
|
|
2037
|
+
parameters: {
|
|
2038
|
+
query: {
|
|
2039
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2040
|
+
ak?: string;
|
|
2041
|
+
};
|
|
2042
|
+
header: {
|
|
2043
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2044
|
+
"X-API-Key"?: string;
|
|
2045
|
+
};
|
|
2046
|
+
};
|
|
2047
|
+
responses: {
|
|
2048
|
+
/** OK */
|
|
2049
|
+
200: {
|
|
2050
|
+
content: {
|
|
2051
|
+
"*/*": components["schemas"]["StreamingResponseBody"];
|
|
2052
|
+
};
|
|
2053
|
+
};
|
|
2054
|
+
/** Bad Request */
|
|
2055
|
+
400: {
|
|
2056
|
+
content: {
|
|
2057
|
+
"*/*": string;
|
|
2058
|
+
};
|
|
2059
|
+
};
|
|
2060
|
+
/** Not Found */
|
|
2061
|
+
404: {
|
|
2062
|
+
content: {
|
|
2063
|
+
"*/*": string;
|
|
2064
|
+
};
|
|
2065
|
+
};
|
|
2066
|
+
};
|
|
2067
|
+
requestBody: {
|
|
2068
|
+
content: {
|
|
2069
|
+
"application/json": components["schemas"]["ExportParams"];
|
|
2070
|
+
};
|
|
2071
|
+
};
|
|
2072
|
+
};
|
|
2073
|
+
getAll_4: {
|
|
2074
|
+
parameters: {
|
|
2075
|
+
path: {
|
|
2076
|
+
translationId: number;
|
|
2077
|
+
};
|
|
2078
|
+
query: {
|
|
2079
|
+
/** Zero-based page index (0..N) */
|
|
2080
|
+
page?: number;
|
|
2081
|
+
/** The size of the page to be returned */
|
|
2082
|
+
size?: number;
|
|
2083
|
+
/** Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */
|
|
2084
|
+
sort?: string[];
|
|
2085
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2086
|
+
ak?: string;
|
|
2087
|
+
};
|
|
2088
|
+
header: {
|
|
2089
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2090
|
+
"X-API-Key"?: string;
|
|
2091
|
+
};
|
|
2092
|
+
};
|
|
2093
|
+
responses: {
|
|
2094
|
+
/** OK */
|
|
2095
|
+
200: {
|
|
2096
|
+
content: {
|
|
2097
|
+
"*/*": components["schemas"]["PagedModelTranslationCommentModel"];
|
|
2098
|
+
};
|
|
2099
|
+
};
|
|
2100
|
+
/** Bad Request */
|
|
2101
|
+
400: {
|
|
2102
|
+
content: {
|
|
2103
|
+
"*/*": string;
|
|
2104
|
+
};
|
|
2105
|
+
};
|
|
2106
|
+
/** Not Found */
|
|
2107
|
+
404: {
|
|
2108
|
+
content: {
|
|
2109
|
+
"*/*": string;
|
|
2110
|
+
};
|
|
2111
|
+
};
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2114
|
+
create_5: {
|
|
2115
|
+
parameters: {
|
|
2116
|
+
path: {
|
|
2117
|
+
translationId: number;
|
|
2118
|
+
};
|
|
2119
|
+
query: {
|
|
2120
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2121
|
+
ak?: string;
|
|
2122
|
+
};
|
|
2123
|
+
header: {
|
|
2124
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2125
|
+
"X-API-Key"?: string;
|
|
2126
|
+
};
|
|
2127
|
+
};
|
|
2128
|
+
responses: {
|
|
2129
|
+
/** Created */
|
|
2130
|
+
201: {
|
|
2131
|
+
content: {
|
|
2132
|
+
"*/*": components["schemas"]["TranslationCommentModel"];
|
|
2133
|
+
};
|
|
2134
|
+
};
|
|
2135
|
+
/** Bad Request */
|
|
2136
|
+
400: {
|
|
2137
|
+
content: {
|
|
2138
|
+
"*/*": string;
|
|
2139
|
+
};
|
|
2140
|
+
};
|
|
2141
|
+
/** Not Found */
|
|
2142
|
+
404: {
|
|
2143
|
+
content: {
|
|
2144
|
+
"*/*": string;
|
|
2145
|
+
};
|
|
2146
|
+
};
|
|
2147
|
+
};
|
|
2148
|
+
requestBody: {
|
|
2149
|
+
content: {
|
|
2150
|
+
"application/json": components["schemas"]["TranslationCommentDto"];
|
|
2151
|
+
};
|
|
2152
|
+
};
|
|
2153
|
+
};
|
|
2154
|
+
create_7: {
|
|
2155
|
+
parameters: {
|
|
2156
|
+
query: {
|
|
2157
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2158
|
+
ak?: string;
|
|
2159
|
+
};
|
|
2160
|
+
header: {
|
|
2161
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2162
|
+
"X-API-Key"?: string;
|
|
2163
|
+
};
|
|
2164
|
+
};
|
|
2165
|
+
responses: {
|
|
2166
|
+
/** Created */
|
|
2167
|
+
201: {
|
|
2168
|
+
content: {
|
|
2169
|
+
"*/*": components["schemas"]["TranslationWithCommentModel"];
|
|
2170
|
+
};
|
|
2171
|
+
};
|
|
2172
|
+
/** Bad Request */
|
|
2173
|
+
400: {
|
|
2174
|
+
content: {
|
|
2175
|
+
"*/*": string;
|
|
2176
|
+
};
|
|
2177
|
+
};
|
|
2178
|
+
/** Not Found */
|
|
2179
|
+
404: {
|
|
2180
|
+
content: {
|
|
2181
|
+
"*/*": string;
|
|
2182
|
+
};
|
|
2183
|
+
};
|
|
2184
|
+
};
|
|
2185
|
+
requestBody: {
|
|
2186
|
+
content: {
|
|
2187
|
+
"application/json": components["schemas"]["TranslationCommentWithLangKeyDto"];
|
|
2188
|
+
};
|
|
2189
|
+
};
|
|
2190
|
+
};
|
|
2191
|
+
suggestTranslationMemory_1: {
|
|
2192
|
+
parameters: {
|
|
2193
|
+
query: {
|
|
2194
|
+
/** Zero-based page index (0..N) */
|
|
2195
|
+
page?: number;
|
|
2196
|
+
/** The size of the page to be returned */
|
|
2197
|
+
size?: number;
|
|
2198
|
+
/** Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */
|
|
2199
|
+
sort?: string[];
|
|
2200
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2201
|
+
ak?: string;
|
|
2202
|
+
};
|
|
2203
|
+
header: {
|
|
2204
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2205
|
+
"X-API-Key"?: string;
|
|
2206
|
+
};
|
|
2207
|
+
};
|
|
2208
|
+
responses: {
|
|
2209
|
+
/** OK */
|
|
2210
|
+
200: {
|
|
2211
|
+
content: {
|
|
2212
|
+
"*/*": components["schemas"]["PagedModelTranslationMemoryItemModel"];
|
|
2213
|
+
};
|
|
2214
|
+
};
|
|
2215
|
+
/** Bad Request */
|
|
2216
|
+
400: {
|
|
2217
|
+
content: {
|
|
2218
|
+
"*/*": string;
|
|
2219
|
+
};
|
|
2220
|
+
};
|
|
2221
|
+
/** Not Found */
|
|
2222
|
+
404: {
|
|
2223
|
+
content: {
|
|
2224
|
+
"*/*": string;
|
|
2225
|
+
};
|
|
2226
|
+
};
|
|
2227
|
+
};
|
|
2228
|
+
requestBody: {
|
|
2229
|
+
content: {
|
|
2230
|
+
"application/json": components["schemas"]["SuggestRequestDto"];
|
|
2231
|
+
};
|
|
2232
|
+
};
|
|
2233
|
+
};
|
|
2234
|
+
suggestMachineTranslations_1: {
|
|
2235
|
+
parameters: {
|
|
2236
|
+
query: {
|
|
2237
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2238
|
+
ak?: string;
|
|
2239
|
+
};
|
|
2240
|
+
header: {
|
|
2241
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2242
|
+
"X-API-Key"?: string;
|
|
2243
|
+
};
|
|
2244
|
+
};
|
|
2245
|
+
responses: {
|
|
2246
|
+
/** OK */
|
|
2247
|
+
200: {
|
|
2248
|
+
content: {
|
|
2249
|
+
"*/*": components["schemas"]["SuggestResultModel"];
|
|
2250
|
+
};
|
|
2251
|
+
};
|
|
2252
|
+
/** Bad Request */
|
|
2253
|
+
400: {
|
|
2254
|
+
content: {
|
|
2255
|
+
"*/*": string;
|
|
2256
|
+
};
|
|
2257
|
+
};
|
|
2258
|
+
/** Not Found */
|
|
2259
|
+
404: {
|
|
2260
|
+
content: {
|
|
2261
|
+
"*/*": string;
|
|
2262
|
+
};
|
|
2263
|
+
};
|
|
2264
|
+
};
|
|
2265
|
+
requestBody: {
|
|
2266
|
+
content: {
|
|
2267
|
+
"application/json": components["schemas"]["SuggestRequestDto"];
|
|
2268
|
+
};
|
|
2269
|
+
};
|
|
2270
|
+
};
|
|
2271
|
+
getAll_6: {
|
|
2272
|
+
parameters: {
|
|
2273
|
+
query: {
|
|
2274
|
+
/** Zero-based page index (0..N) */
|
|
2275
|
+
page?: number;
|
|
2276
|
+
/** The size of the page to be returned */
|
|
2277
|
+
size?: number;
|
|
2278
|
+
/** Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */
|
|
2279
|
+
sort?: string[];
|
|
2280
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2281
|
+
ak?: string;
|
|
2282
|
+
};
|
|
2283
|
+
header: {
|
|
2284
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2285
|
+
"X-API-Key"?: string;
|
|
2286
|
+
};
|
|
2287
|
+
};
|
|
2288
|
+
responses: {
|
|
2289
|
+
/** OK */
|
|
2290
|
+
200: {
|
|
2291
|
+
content: {
|
|
2292
|
+
"*/*": components["schemas"]["PagedModelLanguageModel"];
|
|
2293
|
+
};
|
|
2294
|
+
};
|
|
2295
|
+
/** Bad Request */
|
|
2296
|
+
400: {
|
|
2297
|
+
content: {
|
|
2298
|
+
"*/*": string;
|
|
2299
|
+
};
|
|
2300
|
+
};
|
|
2301
|
+
/** Not Found */
|
|
2302
|
+
404: {
|
|
2303
|
+
content: {
|
|
2304
|
+
"*/*": string;
|
|
2305
|
+
};
|
|
2306
|
+
};
|
|
2307
|
+
};
|
|
2308
|
+
};
|
|
2309
|
+
createLanguage_1: {
|
|
2310
|
+
parameters: {
|
|
2311
|
+
query: {
|
|
2312
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2313
|
+
ak?: string;
|
|
2314
|
+
};
|
|
2315
|
+
header: {
|
|
2316
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2317
|
+
"X-API-Key"?: string;
|
|
2318
|
+
};
|
|
2319
|
+
};
|
|
2320
|
+
responses: {
|
|
2321
|
+
/** OK */
|
|
2322
|
+
200: {
|
|
2323
|
+
content: {
|
|
2324
|
+
"*/*": components["schemas"]["LanguageModel"];
|
|
2325
|
+
};
|
|
2326
|
+
};
|
|
2327
|
+
/** Bad Request */
|
|
2328
|
+
400: {
|
|
2329
|
+
content: {
|
|
2330
|
+
"*/*": string;
|
|
2331
|
+
};
|
|
2332
|
+
};
|
|
2333
|
+
/** Not Found */
|
|
2334
|
+
404: {
|
|
2335
|
+
content: {
|
|
2336
|
+
"*/*": string;
|
|
2337
|
+
};
|
|
2338
|
+
};
|
|
2339
|
+
};
|
|
2340
|
+
requestBody: {
|
|
2341
|
+
content: {
|
|
2342
|
+
"application/json": components["schemas"]["LanguageDto"];
|
|
2343
|
+
};
|
|
2344
|
+
};
|
|
2345
|
+
};
|
|
2346
|
+
getKeyScreenshots_2: {
|
|
2347
|
+
parameters: {
|
|
2348
|
+
path: {
|
|
2349
|
+
keyId: number;
|
|
2350
|
+
};
|
|
2351
|
+
query: {
|
|
2352
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2353
|
+
ak?: string;
|
|
2354
|
+
};
|
|
2355
|
+
header: {
|
|
2356
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2357
|
+
"X-API-Key"?: string;
|
|
2358
|
+
};
|
|
2359
|
+
};
|
|
2360
|
+
responses: {
|
|
2361
|
+
/** OK */
|
|
2362
|
+
200: {
|
|
2363
|
+
content: {
|
|
2364
|
+
"*/*": components["schemas"]["CollectionModelScreenshotModel"];
|
|
2365
|
+
};
|
|
2366
|
+
};
|
|
2367
|
+
/** Bad Request */
|
|
2368
|
+
400: {
|
|
2369
|
+
content: {
|
|
2370
|
+
"*/*": string;
|
|
2371
|
+
};
|
|
2372
|
+
};
|
|
2373
|
+
/** Not Found */
|
|
2374
|
+
404: {
|
|
2375
|
+
content: {
|
|
2376
|
+
"*/*": string;
|
|
2377
|
+
};
|
|
2378
|
+
};
|
|
2379
|
+
};
|
|
2380
|
+
};
|
|
2381
|
+
uploadScreenshot: {
|
|
2382
|
+
parameters: {
|
|
2383
|
+
path: {
|
|
2384
|
+
keyId: number;
|
|
2385
|
+
};
|
|
2386
|
+
query: {
|
|
2387
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2388
|
+
ak?: string;
|
|
2389
|
+
};
|
|
2390
|
+
header: {
|
|
2391
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2392
|
+
"X-API-Key"?: string;
|
|
2393
|
+
};
|
|
2394
|
+
};
|
|
2395
|
+
responses: {
|
|
2396
|
+
/** Created */
|
|
2397
|
+
201: {
|
|
2398
|
+
content: {
|
|
2399
|
+
"*/*": components["schemas"]["ScreenshotModel"];
|
|
2400
|
+
};
|
|
2401
|
+
};
|
|
2402
|
+
/** Bad Request */
|
|
2403
|
+
400: {
|
|
2404
|
+
content: {
|
|
2405
|
+
"*/*": string;
|
|
2406
|
+
};
|
|
2407
|
+
};
|
|
2408
|
+
/** Not Found */
|
|
2409
|
+
404: {
|
|
2410
|
+
content: {
|
|
2411
|
+
"*/*": string;
|
|
2412
|
+
};
|
|
2413
|
+
};
|
|
2414
|
+
};
|
|
2415
|
+
requestBody: {
|
|
2416
|
+
content: {
|
|
2417
|
+
"multipart/form-data": {
|
|
2418
|
+
/** Format: binary */
|
|
2419
|
+
screenshot: string;
|
|
2420
|
+
};
|
|
2421
|
+
};
|
|
2422
|
+
};
|
|
2423
|
+
};
|
|
2424
|
+
upload: {
|
|
2425
|
+
parameters: {
|
|
2426
|
+
query: {
|
|
2427
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2428
|
+
ak?: string;
|
|
2429
|
+
};
|
|
2430
|
+
header: {
|
|
2431
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2432
|
+
"X-API-Key"?: string;
|
|
2433
|
+
};
|
|
2434
|
+
};
|
|
2435
|
+
responses: {
|
|
2436
|
+
/** Created */
|
|
2437
|
+
201: {
|
|
2438
|
+
content: {
|
|
2439
|
+
"*/*": components["schemas"]["UploadedImageModel"];
|
|
2440
|
+
};
|
|
2441
|
+
};
|
|
2442
|
+
/** Bad Request */
|
|
2443
|
+
400: {
|
|
2444
|
+
content: {
|
|
2445
|
+
"*/*": string;
|
|
2446
|
+
};
|
|
2447
|
+
};
|
|
2448
|
+
/** Not Found */
|
|
2449
|
+
404: {
|
|
2450
|
+
content: {
|
|
2451
|
+
"*/*": string;
|
|
2452
|
+
};
|
|
2453
|
+
};
|
|
2454
|
+
};
|
|
2455
|
+
requestBody: {
|
|
2456
|
+
content: {
|
|
2457
|
+
"multipart/form-data": {
|
|
2458
|
+
/** Format: binary */
|
|
2459
|
+
image: string;
|
|
2460
|
+
};
|
|
2461
|
+
};
|
|
2462
|
+
};
|
|
2463
|
+
};
|
|
2464
|
+
/** Key name must be provided in method body, since it can be long and can contain characters hard to encode */
|
|
2465
|
+
getKeyTranslationsPost_2: {
|
|
2466
|
+
parameters: {
|
|
2467
|
+
path: {
|
|
2468
|
+
languages: string[];
|
|
2469
|
+
};
|
|
2470
|
+
query: {
|
|
2471
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2472
|
+
ak?: string;
|
|
2473
|
+
};
|
|
2474
|
+
header: {
|
|
2475
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2476
|
+
"X-API-Key"?: string;
|
|
2477
|
+
};
|
|
2478
|
+
};
|
|
2479
|
+
responses: {
|
|
2480
|
+
/** OK */
|
|
2481
|
+
200: {
|
|
2482
|
+
content: {
|
|
2483
|
+
"*/*": {
|
|
2484
|
+
[key: string]: string;
|
|
2485
|
+
};
|
|
2486
|
+
};
|
|
2487
|
+
};
|
|
2488
|
+
/** Bad Request */
|
|
2489
|
+
400: {
|
|
2490
|
+
content: {
|
|
2491
|
+
"*/*": string;
|
|
2492
|
+
};
|
|
2493
|
+
};
|
|
2494
|
+
/** Not Found */
|
|
2495
|
+
404: {
|
|
2496
|
+
content: {
|
|
2497
|
+
"*/*": string;
|
|
2498
|
+
};
|
|
2499
|
+
};
|
|
2500
|
+
};
|
|
2501
|
+
requestBody: {
|
|
2502
|
+
content: {
|
|
2503
|
+
"application/json": components["schemas"]["GetKeyTranslationsReqDto"];
|
|
2504
|
+
};
|
|
2505
|
+
};
|
|
2506
|
+
};
|
|
2507
|
+
getAll_2: {
|
|
2508
|
+
parameters: {
|
|
2509
|
+
query: {
|
|
2510
|
+
search?: string;
|
|
2511
|
+
/** Zero-based page index (0..N) */
|
|
2512
|
+
page?: number;
|
|
2513
|
+
/** The size of the page to be returned */
|
|
2514
|
+
size?: number;
|
|
2515
|
+
/** Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */
|
|
2516
|
+
sort?: string[];
|
|
2517
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2518
|
+
ak?: string;
|
|
2519
|
+
};
|
|
2520
|
+
header: {
|
|
2521
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2522
|
+
"X-API-Key"?: string;
|
|
2523
|
+
};
|
|
2524
|
+
};
|
|
2525
|
+
responses: {
|
|
2526
|
+
/** OK */
|
|
2527
|
+
200: {
|
|
2528
|
+
content: {
|
|
2529
|
+
"*/*": components["schemas"]["PagedModelTagModel"];
|
|
2530
|
+
};
|
|
2531
|
+
};
|
|
2532
|
+
/** Bad Request */
|
|
2533
|
+
400: {
|
|
2534
|
+
content: {
|
|
2535
|
+
"*/*": string;
|
|
2536
|
+
};
|
|
2537
|
+
};
|
|
2538
|
+
/** Not Found */
|
|
2539
|
+
404: {
|
|
2540
|
+
content: {
|
|
2541
|
+
"*/*": string;
|
|
2542
|
+
};
|
|
2543
|
+
};
|
|
2544
|
+
};
|
|
2545
|
+
};
|
|
2546
|
+
getProjectDailyActivity_1: {
|
|
2547
|
+
parameters: {
|
|
2548
|
+
query: {
|
|
2549
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2550
|
+
ak?: string;
|
|
2551
|
+
};
|
|
2552
|
+
header: {
|
|
2553
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2554
|
+
"X-API-Key"?: string;
|
|
2555
|
+
};
|
|
2556
|
+
};
|
|
2557
|
+
responses: {
|
|
2558
|
+
/** OK */
|
|
2559
|
+
200: {
|
|
2560
|
+
content: {
|
|
2561
|
+
"application/hal+json": {
|
|
2562
|
+
[key: string]: number;
|
|
2563
|
+
};
|
|
2564
|
+
};
|
|
2565
|
+
};
|
|
2566
|
+
/** Bad Request */
|
|
2567
|
+
400: {
|
|
2568
|
+
content: {
|
|
2569
|
+
"*/*": string;
|
|
2570
|
+
};
|
|
2571
|
+
};
|
|
2572
|
+
/** Not Found */
|
|
2573
|
+
404: {
|
|
2574
|
+
content: {
|
|
2575
|
+
"*/*": string;
|
|
2576
|
+
};
|
|
2577
|
+
};
|
|
2578
|
+
};
|
|
2579
|
+
};
|
|
2580
|
+
getProjectStats_1: {
|
|
2581
|
+
parameters: {
|
|
2582
|
+
query: {
|
|
2583
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2584
|
+
ak?: string;
|
|
2585
|
+
};
|
|
2586
|
+
header: {
|
|
2587
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2588
|
+
"X-API-Key"?: string;
|
|
2589
|
+
};
|
|
2590
|
+
};
|
|
2591
|
+
responses: {
|
|
2592
|
+
/** OK */
|
|
2593
|
+
200: {
|
|
2594
|
+
content: {
|
|
2595
|
+
"application/hal+json": components["schemas"]["ProjectStatsModel"];
|
|
2596
|
+
};
|
|
2597
|
+
};
|
|
2598
|
+
/** Bad Request */
|
|
2599
|
+
400: {
|
|
2600
|
+
content: {
|
|
2601
|
+
"*/*": string;
|
|
2602
|
+
};
|
|
2603
|
+
};
|
|
2604
|
+
/** Not Found */
|
|
2605
|
+
404: {
|
|
2606
|
+
content: {
|
|
2607
|
+
"*/*": string;
|
|
2608
|
+
};
|
|
2609
|
+
};
|
|
2610
|
+
};
|
|
2611
|
+
};
|
|
2612
|
+
getActivity_1: {
|
|
2613
|
+
parameters: {
|
|
2614
|
+
query: {
|
|
2615
|
+
/** Zero-based page index (0..N) */
|
|
2616
|
+
page?: number;
|
|
2617
|
+
/** The size of the page to be returned */
|
|
2618
|
+
size?: number;
|
|
2619
|
+
/** Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */
|
|
2620
|
+
sort?: string[];
|
|
2621
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2622
|
+
ak?: string;
|
|
2623
|
+
};
|
|
2624
|
+
header: {
|
|
2625
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2626
|
+
"X-API-Key"?: string;
|
|
2627
|
+
};
|
|
2628
|
+
};
|
|
2629
|
+
responses: {
|
|
2630
|
+
/** OK */
|
|
2631
|
+
200: {
|
|
2632
|
+
content: {
|
|
2633
|
+
"application/hal+json": components["schemas"]["PagedModelProjectActivityModel"];
|
|
2634
|
+
};
|
|
2635
|
+
};
|
|
2636
|
+
/** Bad Request */
|
|
2637
|
+
400: {
|
|
2638
|
+
content: {
|
|
2639
|
+
"*/*": string;
|
|
2640
|
+
};
|
|
2641
|
+
};
|
|
2642
|
+
/** Not Found */
|
|
2643
|
+
404: {
|
|
2644
|
+
content: {
|
|
2645
|
+
"*/*": string;
|
|
2646
|
+
};
|
|
2647
|
+
};
|
|
2648
|
+
};
|
|
2649
|
+
};
|
|
2650
|
+
/** Returns translations prepared to import. */
|
|
2651
|
+
getImportTranslations_1: {
|
|
2652
|
+
parameters: {
|
|
2653
|
+
path: {
|
|
2654
|
+
languageId: number;
|
|
2655
|
+
};
|
|
2656
|
+
query: {
|
|
2657
|
+
onlyConflicts?: boolean;
|
|
2658
|
+
onlyUnresolved?: boolean;
|
|
2659
|
+
search?: string;
|
|
2660
|
+
/** Zero-based page index (0..N) */
|
|
2661
|
+
page?: number;
|
|
2662
|
+
/** The size of the page to be returned */
|
|
2663
|
+
size?: number;
|
|
2664
|
+
/** Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */
|
|
2665
|
+
sort?: string[];
|
|
2666
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2667
|
+
ak?: string;
|
|
2668
|
+
};
|
|
2669
|
+
header: {
|
|
2670
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2671
|
+
"X-API-Key"?: string;
|
|
2672
|
+
};
|
|
2673
|
+
};
|
|
2674
|
+
responses: {
|
|
2675
|
+
/** OK */
|
|
2676
|
+
200: {
|
|
2677
|
+
content: {
|
|
2678
|
+
"*/*": components["schemas"]["PagedModelImportTranslationModel"];
|
|
2679
|
+
};
|
|
2680
|
+
};
|
|
2681
|
+
/** Bad Request */
|
|
2682
|
+
400: {
|
|
2683
|
+
content: {
|
|
2684
|
+
"*/*": string;
|
|
2685
|
+
};
|
|
2686
|
+
};
|
|
2687
|
+
/** Not Found */
|
|
2688
|
+
404: {
|
|
2689
|
+
content: {
|
|
2690
|
+
"*/*": string;
|
|
2691
|
+
};
|
|
2692
|
+
};
|
|
2693
|
+
};
|
|
2694
|
+
};
|
|
2695
|
+
/** Returns language prepared to import. */
|
|
2696
|
+
getImportLanguage_1: {
|
|
2697
|
+
parameters: {
|
|
2698
|
+
path: {
|
|
2699
|
+
languageId: number;
|
|
2700
|
+
};
|
|
2701
|
+
query: {
|
|
2702
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2703
|
+
ak?: string;
|
|
2704
|
+
};
|
|
2705
|
+
header: {
|
|
2706
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2707
|
+
"X-API-Key"?: string;
|
|
2708
|
+
};
|
|
2709
|
+
};
|
|
2710
|
+
responses: {
|
|
2711
|
+
/** OK */
|
|
2712
|
+
200: {
|
|
2713
|
+
content: {
|
|
2714
|
+
"*/*": components["schemas"]["ImportLanguageModel"];
|
|
2715
|
+
};
|
|
2716
|
+
};
|
|
2717
|
+
/** Bad Request */
|
|
2718
|
+
400: {
|
|
2719
|
+
content: {
|
|
2720
|
+
"*/*": string;
|
|
2721
|
+
};
|
|
2722
|
+
};
|
|
2723
|
+
/** Not Found */
|
|
2724
|
+
404: {
|
|
2725
|
+
content: {
|
|
2726
|
+
"*/*": string;
|
|
2727
|
+
};
|
|
2728
|
+
};
|
|
2729
|
+
};
|
|
2730
|
+
};
|
|
2731
|
+
/** Deletes language prepared to import. */
|
|
2732
|
+
deleteLanguage_1: {
|
|
2733
|
+
parameters: {
|
|
2734
|
+
path: {
|
|
2735
|
+
languageId: number;
|
|
2736
|
+
};
|
|
2737
|
+
query: {
|
|
2738
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2739
|
+
ak?: string;
|
|
2740
|
+
};
|
|
2741
|
+
header: {
|
|
2742
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2743
|
+
"X-API-Key"?: string;
|
|
2744
|
+
};
|
|
2745
|
+
};
|
|
2746
|
+
responses: {
|
|
2747
|
+
/** OK */
|
|
2748
|
+
200: unknown;
|
|
2749
|
+
/** Bad Request */
|
|
2750
|
+
400: {
|
|
2751
|
+
content: {
|
|
2752
|
+
"*/*": string;
|
|
2753
|
+
};
|
|
2754
|
+
};
|
|
2755
|
+
/** Not Found */
|
|
2756
|
+
404: {
|
|
2757
|
+
content: {
|
|
2758
|
+
"*/*": string;
|
|
2759
|
+
};
|
|
2760
|
+
};
|
|
2761
|
+
};
|
|
2762
|
+
};
|
|
2763
|
+
/** Returns issues for uploaded file. */
|
|
2764
|
+
getImportFileIssues_1: {
|
|
2765
|
+
parameters: {
|
|
2766
|
+
path: {
|
|
2767
|
+
importFileId: number;
|
|
2768
|
+
};
|
|
2769
|
+
query: {
|
|
2770
|
+
/** Zero-based page index (0..N) */
|
|
2771
|
+
page?: number;
|
|
2772
|
+
/** The size of the page to be returned */
|
|
2773
|
+
size?: number;
|
|
2774
|
+
/** Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */
|
|
2775
|
+
sort?: string[];
|
|
2776
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2777
|
+
ak?: string;
|
|
2778
|
+
};
|
|
2779
|
+
header: {
|
|
2780
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2781
|
+
"X-API-Key"?: string;
|
|
2782
|
+
};
|
|
2783
|
+
};
|
|
2784
|
+
responses: {
|
|
2785
|
+
/** OK */
|
|
2786
|
+
200: {
|
|
2787
|
+
content: {
|
|
2788
|
+
"*/*": components["schemas"]["PagedModelEntityModelImportFileIssueView"];
|
|
2789
|
+
};
|
|
2790
|
+
};
|
|
2791
|
+
/** Bad Request */
|
|
2792
|
+
400: {
|
|
2793
|
+
content: {
|
|
2794
|
+
"*/*": string;
|
|
2795
|
+
};
|
|
2796
|
+
};
|
|
2797
|
+
/** Not Found */
|
|
2798
|
+
404: {
|
|
2799
|
+
content: {
|
|
2800
|
+
"*/*": string;
|
|
2801
|
+
};
|
|
2802
|
+
};
|
|
2803
|
+
};
|
|
2804
|
+
};
|
|
2805
|
+
/** Returns the result of preparation. */
|
|
2806
|
+
getImportResult_1: {
|
|
2807
|
+
parameters: {
|
|
2808
|
+
query: {
|
|
2809
|
+
/** Zero-based page index (0..N) */
|
|
2810
|
+
page?: number;
|
|
2811
|
+
/** The size of the page to be returned */
|
|
2812
|
+
size?: number;
|
|
2813
|
+
/** Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */
|
|
2814
|
+
sort?: string[];
|
|
2815
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2816
|
+
ak?: string;
|
|
2817
|
+
};
|
|
2818
|
+
header: {
|
|
2819
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2820
|
+
"X-API-Key"?: string;
|
|
2821
|
+
};
|
|
2822
|
+
};
|
|
2823
|
+
responses: {
|
|
2824
|
+
/** OK */
|
|
2825
|
+
200: {
|
|
2826
|
+
content: {
|
|
2827
|
+
"*/*": components["schemas"]["PagedModelImportLanguageModel"];
|
|
2828
|
+
};
|
|
2829
|
+
};
|
|
2830
|
+
/** Bad Request */
|
|
2831
|
+
400: {
|
|
2832
|
+
content: {
|
|
2833
|
+
"*/*": string;
|
|
2834
|
+
};
|
|
2835
|
+
};
|
|
2836
|
+
/** Not Found */
|
|
2837
|
+
404: {
|
|
2838
|
+
content: {
|
|
2839
|
+
"*/*": string;
|
|
2840
|
+
};
|
|
2841
|
+
};
|
|
2842
|
+
};
|
|
2843
|
+
};
|
|
2844
|
+
getTranslationHistory_1: {
|
|
2845
|
+
parameters: {
|
|
2846
|
+
path: {
|
|
2847
|
+
translationId: number;
|
|
2848
|
+
};
|
|
2849
|
+
query: {
|
|
2850
|
+
/** Zero-based page index (0..N) */
|
|
2851
|
+
page?: number;
|
|
2852
|
+
/** The size of the page to be returned */
|
|
2853
|
+
size?: number;
|
|
2854
|
+
/** Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */
|
|
2855
|
+
sort?: string[];
|
|
2856
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2857
|
+
ak?: string;
|
|
2858
|
+
};
|
|
2859
|
+
header: {
|
|
2860
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2861
|
+
"X-API-Key"?: string;
|
|
2862
|
+
};
|
|
2863
|
+
};
|
|
2864
|
+
responses: {
|
|
2865
|
+
/** OK */
|
|
2866
|
+
200: {
|
|
2867
|
+
content: {
|
|
2868
|
+
"*/*": components["schemas"]["PagedModelTranslationHistoryModel"];
|
|
2869
|
+
};
|
|
2870
|
+
};
|
|
2871
|
+
/** Bad Request */
|
|
2872
|
+
400: {
|
|
2873
|
+
content: {
|
|
2874
|
+
"*/*": string;
|
|
2875
|
+
};
|
|
2876
|
+
};
|
|
2877
|
+
/** Not Found */
|
|
2878
|
+
404: {
|
|
2879
|
+
content: {
|
|
2880
|
+
"*/*": string;
|
|
2881
|
+
};
|
|
2882
|
+
};
|
|
2883
|
+
};
|
|
2884
|
+
};
|
|
2885
|
+
getAllTranslations_1: {
|
|
2886
|
+
parameters: {
|
|
2887
|
+
path: {
|
|
2888
|
+
languages: string[];
|
|
2889
|
+
};
|
|
2890
|
+
query: {
|
|
2891
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2892
|
+
ak?: string;
|
|
2893
|
+
};
|
|
2894
|
+
header: {
|
|
2895
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2896
|
+
"X-API-Key"?: string;
|
|
2897
|
+
};
|
|
2898
|
+
};
|
|
2899
|
+
responses: {
|
|
2900
|
+
/** OK */
|
|
2901
|
+
200: {
|
|
2902
|
+
content: {
|
|
2903
|
+
"*/*": string;
|
|
2904
|
+
};
|
|
2905
|
+
};
|
|
2906
|
+
/** Bad Request */
|
|
2907
|
+
400: {
|
|
2908
|
+
content: {
|
|
2909
|
+
"*/*": string;
|
|
2910
|
+
};
|
|
2911
|
+
};
|
|
2912
|
+
/** Not Found */
|
|
2913
|
+
404: {
|
|
2914
|
+
content: {
|
|
2915
|
+
"*/*": string;
|
|
2916
|
+
};
|
|
2917
|
+
};
|
|
2918
|
+
};
|
|
2919
|
+
};
|
|
2920
|
+
getSelectAllKeyIds_1: {
|
|
2921
|
+
parameters: {
|
|
2922
|
+
query: {
|
|
2923
|
+
/**
|
|
2924
|
+
* Translation state in the format: languageTag,state. You can use this parameter multiple times.
|
|
2925
|
+
*
|
|
2926
|
+
* When used with multiple states for same language it is applied with logical OR.
|
|
2927
|
+
*
|
|
2928
|
+
* When used with multiple languages, it is applied with logical AND.
|
|
2929
|
+
*/
|
|
2930
|
+
filterState?: string[];
|
|
2931
|
+
/**
|
|
2932
|
+
* Languages to be contained in response.
|
|
2933
|
+
*
|
|
2934
|
+
* To add multiple languages, repeat this param (eg. ?languages=en&languages=de)
|
|
2935
|
+
*/
|
|
2936
|
+
languages?: string[];
|
|
2937
|
+
/** String to search in key name or translation text */
|
|
2938
|
+
search?: string;
|
|
2939
|
+
/** Selects key with provided names. Use this param multiple times to fetch more keys. */
|
|
2940
|
+
filterKeyName?: string[];
|
|
2941
|
+
/** Selects key with provided ID. Use this param multiple times to fetch more keys. */
|
|
2942
|
+
filterKeyId?: number[];
|
|
2943
|
+
/** Selects only keys, where translation is missing in any language */
|
|
2944
|
+
filterUntranslatedAny?: boolean;
|
|
2945
|
+
/** Selects only keys, where translation is provided in any language */
|
|
2946
|
+
filterTranslatedAny?: boolean;
|
|
2947
|
+
/** Selects only keys, where translation is missing in specified language */
|
|
2948
|
+
filterUntranslatedInLang?: string;
|
|
2949
|
+
/** Selects only keys, where translation is provided in specified language */
|
|
2950
|
+
filterTranslatedInLang?: string;
|
|
2951
|
+
/** Selects only keys with screenshots */
|
|
2952
|
+
filterHasScreenshot?: boolean;
|
|
2953
|
+
/** Selects only keys without screenshots */
|
|
2954
|
+
filterHasNoScreenshot?: boolean;
|
|
2955
|
+
/** Selects only keys with provided tag */
|
|
2956
|
+
filterTag?: string[];
|
|
2957
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2958
|
+
ak?: string;
|
|
2959
|
+
};
|
|
2960
|
+
header: {
|
|
2961
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2962
|
+
"X-API-Key"?: string;
|
|
2963
|
+
};
|
|
2964
|
+
};
|
|
2965
|
+
responses: {
|
|
2966
|
+
/** OK */
|
|
2967
|
+
200: {
|
|
2968
|
+
content: {
|
|
2969
|
+
"*/*": components["schemas"]["SelectAllResponse"];
|
|
2970
|
+
};
|
|
2971
|
+
};
|
|
2972
|
+
/** Bad Request */
|
|
2973
|
+
400: {
|
|
2974
|
+
content: {
|
|
2975
|
+
"*/*": string;
|
|
2976
|
+
};
|
|
2977
|
+
};
|
|
2978
|
+
/** Not Found */
|
|
2979
|
+
404: {
|
|
2980
|
+
content: {
|
|
2981
|
+
"*/*": string;
|
|
2982
|
+
};
|
|
2983
|
+
};
|
|
2984
|
+
};
|
|
2985
|
+
};
|
|
2986
|
+
getCurrent: {
|
|
2987
|
+
parameters: {
|
|
2988
|
+
query: {
|
|
2989
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
2990
|
+
ak?: string;
|
|
2991
|
+
};
|
|
2992
|
+
header: {
|
|
2993
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
2994
|
+
"X-API-Key"?: string;
|
|
2995
|
+
};
|
|
2996
|
+
};
|
|
2997
|
+
responses: {
|
|
2998
|
+
/** OK */
|
|
2999
|
+
200: {
|
|
3000
|
+
content: {
|
|
3001
|
+
"*/*": components["schemas"]["ApiKeyWithLanguagesModel"];
|
|
3002
|
+
};
|
|
3003
|
+
};
|
|
3004
|
+
/** Bad Request */
|
|
3005
|
+
400: {
|
|
3006
|
+
content: {
|
|
3007
|
+
"*/*": string;
|
|
3008
|
+
};
|
|
3009
|
+
};
|
|
3010
|
+
/** Not Found */
|
|
3011
|
+
404: {
|
|
3012
|
+
content: {
|
|
3013
|
+
"*/*": string;
|
|
3014
|
+
};
|
|
3015
|
+
};
|
|
3016
|
+
};
|
|
3017
|
+
};
|
|
3018
|
+
getDeprecated_2: {
|
|
3019
|
+
parameters: {
|
|
3020
|
+
path: {
|
|
3021
|
+
id: number;
|
|
3022
|
+
};
|
|
3023
|
+
query: {
|
|
3024
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
3025
|
+
ak?: string;
|
|
3026
|
+
};
|
|
3027
|
+
header: {
|
|
3028
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
3029
|
+
"X-API-Key"?: string;
|
|
3030
|
+
};
|
|
3031
|
+
};
|
|
3032
|
+
responses: {
|
|
3033
|
+
/** OK */
|
|
3034
|
+
200: {
|
|
3035
|
+
content: {
|
|
3036
|
+
"*/*": components["schemas"]["DeprecatedKeyDto"];
|
|
3037
|
+
};
|
|
3038
|
+
};
|
|
3039
|
+
/** Bad Request */
|
|
3040
|
+
400: {
|
|
3041
|
+
content: {
|
|
3042
|
+
"*/*": string;
|
|
3043
|
+
};
|
|
3044
|
+
};
|
|
3045
|
+
/** Not Found */
|
|
3046
|
+
404: {
|
|
3047
|
+
content: {
|
|
3048
|
+
"*/*": string;
|
|
3049
|
+
};
|
|
3050
|
+
};
|
|
3051
|
+
};
|
|
3052
|
+
};
|
|
3053
|
+
doExportJsonZip_1: {
|
|
3054
|
+
parameters: {
|
|
3055
|
+
query: {
|
|
3056
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
3057
|
+
ak?: string;
|
|
3058
|
+
};
|
|
3059
|
+
header: {
|
|
3060
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
3061
|
+
"X-API-Key"?: string;
|
|
3062
|
+
};
|
|
3063
|
+
};
|
|
3064
|
+
responses: {
|
|
3065
|
+
/** OK */
|
|
3066
|
+
200: {
|
|
3067
|
+
content: {
|
|
3068
|
+
"application/zip": components["schemas"]["StreamingResponseBody"];
|
|
3069
|
+
};
|
|
3070
|
+
};
|
|
3071
|
+
/** Bad Request */
|
|
3072
|
+
400: {
|
|
3073
|
+
content: {
|
|
3074
|
+
"*/*": string;
|
|
3075
|
+
};
|
|
3076
|
+
};
|
|
3077
|
+
/** Not Found */
|
|
3078
|
+
404: {
|
|
3079
|
+
content: {
|
|
3080
|
+
"*/*": string;
|
|
3081
|
+
};
|
|
3082
|
+
};
|
|
3083
|
+
};
|
|
3084
|
+
};
|
|
3085
|
+
getTranslations_3: {
|
|
3086
|
+
parameters: {
|
|
3087
|
+
path: {
|
|
3088
|
+
languages: string[];
|
|
3089
|
+
};
|
|
3090
|
+
query: {
|
|
3091
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
3092
|
+
ak?: string;
|
|
3093
|
+
};
|
|
3094
|
+
header: {
|
|
3095
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
3096
|
+
"X-API-Key"?: string;
|
|
3097
|
+
};
|
|
3098
|
+
};
|
|
3099
|
+
responses: {
|
|
3100
|
+
/** OK */
|
|
3101
|
+
200: {
|
|
3102
|
+
content: {
|
|
3103
|
+
"*/*": {
|
|
3104
|
+
[key: string]: {
|
|
3105
|
+
[key: string]: unknown;
|
|
3106
|
+
};
|
|
3107
|
+
};
|
|
3108
|
+
};
|
|
3109
|
+
};
|
|
3110
|
+
/** Bad Request */
|
|
3111
|
+
400: {
|
|
3112
|
+
content: {
|
|
3113
|
+
"*/*": string;
|
|
3114
|
+
};
|
|
3115
|
+
};
|
|
3116
|
+
/** Not Found */
|
|
3117
|
+
404: {
|
|
3118
|
+
content: {
|
|
3119
|
+
"*/*": string;
|
|
3120
|
+
};
|
|
3121
|
+
};
|
|
3122
|
+
};
|
|
3123
|
+
};
|
|
3124
|
+
getApiKeyScopes: {
|
|
3125
|
+
parameters: {
|
|
3126
|
+
query: {
|
|
3127
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
3128
|
+
ak?: string;
|
|
3129
|
+
};
|
|
3130
|
+
header: {
|
|
3131
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
3132
|
+
"X-API-Key"?: string;
|
|
3133
|
+
};
|
|
3134
|
+
};
|
|
3135
|
+
responses: {
|
|
3136
|
+
/** OK */
|
|
3137
|
+
200: {
|
|
3138
|
+
content: {
|
|
3139
|
+
"*/*": string[];
|
|
3140
|
+
};
|
|
3141
|
+
};
|
|
3142
|
+
/** Bad Request */
|
|
3143
|
+
400: {
|
|
3144
|
+
content: {
|
|
3145
|
+
"*/*": string;
|
|
3146
|
+
};
|
|
3147
|
+
};
|
|
3148
|
+
/** Not Found */
|
|
3149
|
+
404: {
|
|
3150
|
+
content: {
|
|
3151
|
+
"*/*": string;
|
|
3152
|
+
};
|
|
3153
|
+
};
|
|
3154
|
+
};
|
|
3155
|
+
};
|
|
3156
|
+
removeTag_1: {
|
|
3157
|
+
parameters: {
|
|
3158
|
+
path: {
|
|
3159
|
+
keyId: number;
|
|
3160
|
+
tagId: number;
|
|
3161
|
+
};
|
|
3162
|
+
query: {
|
|
3163
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
3164
|
+
ak?: string;
|
|
3165
|
+
};
|
|
3166
|
+
header: {
|
|
3167
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
3168
|
+
"X-API-Key"?: string;
|
|
3169
|
+
};
|
|
3170
|
+
};
|
|
3171
|
+
responses: {
|
|
3172
|
+
/** OK */
|
|
3173
|
+
200: unknown;
|
|
3174
|
+
/** Bad Request */
|
|
3175
|
+
400: {
|
|
3176
|
+
content: {
|
|
3177
|
+
"*/*": string;
|
|
3178
|
+
};
|
|
3179
|
+
};
|
|
3180
|
+
/** Not Found */
|
|
3181
|
+
404: {
|
|
3182
|
+
content: {
|
|
3183
|
+
"*/*": string;
|
|
3184
|
+
};
|
|
3185
|
+
};
|
|
3186
|
+
};
|
|
3187
|
+
};
|
|
3188
|
+
delete_1: {
|
|
3189
|
+
parameters: {
|
|
3190
|
+
path: {
|
|
3191
|
+
ids: number[];
|
|
3192
|
+
};
|
|
3193
|
+
query: {
|
|
3194
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
3195
|
+
ak?: string;
|
|
3196
|
+
};
|
|
3197
|
+
header: {
|
|
3198
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
3199
|
+
"X-API-Key"?: string;
|
|
3200
|
+
};
|
|
3201
|
+
};
|
|
3202
|
+
responses: {
|
|
3203
|
+
/** OK */
|
|
3204
|
+
200: unknown;
|
|
3205
|
+
/** Bad Request */
|
|
3206
|
+
400: {
|
|
3207
|
+
content: {
|
|
3208
|
+
"*/*": string;
|
|
3209
|
+
};
|
|
3210
|
+
};
|
|
3211
|
+
/** Not Found */
|
|
3212
|
+
404: {
|
|
3213
|
+
content: {
|
|
3214
|
+
"*/*": string;
|
|
3215
|
+
};
|
|
3216
|
+
};
|
|
3217
|
+
};
|
|
3218
|
+
};
|
|
3219
|
+
deleteScreenshots: {
|
|
3220
|
+
parameters: {
|
|
3221
|
+
path: {
|
|
3222
|
+
ids: number[];
|
|
3223
|
+
};
|
|
3224
|
+
query: {
|
|
3225
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
3226
|
+
ak?: string;
|
|
3227
|
+
};
|
|
3228
|
+
header: {
|
|
3229
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
3230
|
+
"X-API-Key"?: string;
|
|
3231
|
+
};
|
|
3232
|
+
};
|
|
3233
|
+
responses: {
|
|
3234
|
+
/** OK */
|
|
3235
|
+
200: unknown;
|
|
3236
|
+
/** Bad Request */
|
|
3237
|
+
400: {
|
|
3238
|
+
content: {
|
|
3239
|
+
"*/*": string;
|
|
3240
|
+
};
|
|
3241
|
+
};
|
|
3242
|
+
/** Not Found */
|
|
3243
|
+
404: {
|
|
3244
|
+
content: {
|
|
3245
|
+
"*/*": string;
|
|
3246
|
+
};
|
|
3247
|
+
};
|
|
3248
|
+
};
|
|
3249
|
+
};
|
|
3250
|
+
delete_9: {
|
|
3251
|
+
parameters: {
|
|
3252
|
+
path: {
|
|
3253
|
+
ids: number[];
|
|
3254
|
+
};
|
|
3255
|
+
query: {
|
|
3256
|
+
/** API key provided via query parameter. Will be deprecated in the future. */
|
|
3257
|
+
ak?: string;
|
|
3258
|
+
};
|
|
3259
|
+
header: {
|
|
3260
|
+
/** API key provided via header. Safer since headers are not stored in server logs. */
|
|
3261
|
+
"X-API-Key"?: string;
|
|
3262
|
+
};
|
|
3263
|
+
};
|
|
3264
|
+
responses: {
|
|
3265
|
+
/** OK */
|
|
3266
|
+
200: unknown;
|
|
3267
|
+
/** Bad Request */
|
|
3268
|
+
400: {
|
|
3269
|
+
content: {
|
|
3270
|
+
"*/*": string;
|
|
3271
|
+
};
|
|
3272
|
+
};
|
|
3273
|
+
/** Not Found */
|
|
3274
|
+
404: {
|
|
3275
|
+
content: {
|
|
3276
|
+
"*/*": string;
|
|
3277
|
+
};
|
|
3278
|
+
};
|
|
3279
|
+
};
|
|
3280
|
+
};
|
|
3281
|
+
}
|
|
3282
|
+
export interface external {
|
|
3283
|
+
}
|