@jumoo/translate 17.9.3-prerelease.16 → 18.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/index.d.ts +2 -3
- package/dist/api/sdk.gen.d.ts +118 -122
- package/dist/api/types.gen.d.ts +146 -128
- package/dist/conditions/inplace-enabled.condition.d.ts +10 -0
- package/dist/connectors/repository/connector-repository.d.ts +5 -5
- package/dist/constants.d.ts +1 -0
- package/dist/content/actions/translate-element.footer-app.d.ts +18 -0
- package/dist/content/components/document-sets.element.d.ts +2 -1
- package/dist/content/components/document-stats.element.d.ts +2 -1
- package/dist/content/components/document-translations.element.d.ts +2 -1
- package/dist/content/components/simple-translate.element.d.ts +2 -0
- package/dist/content/translation-element-view.element.d.ts +15 -0
- package/dist/content/translation-view.context.d.ts +18 -8
- package/dist/content/translation-view.element.d.ts +1 -0
- package/dist/jobs/components/job-item-table.element.d.ts +1 -2
- package/dist/jobs/jobs.repository.d.ts +10 -10
- package/dist/jobs/workspace/translation-job-workspace.context.d.ts +1 -1
- package/dist/jobs/workspace/views/default-job-view.element.d.ts +0 -1
- package/dist/lang/files/da/da.d.ts +2 -0
- package/dist/lang/files/da/tmSettings.da.d.ts +2 -0
- package/dist/lang/files/de/de.d.ts +2 -0
- package/dist/lang/files/de/tmSettings.de.d.ts +2 -0
- package/dist/lang/files/en/en.d.ts +3 -0
- package/dist/lang/files/en/tm.en.d.ts +1 -0
- package/dist/lang/files/en/tmSettings.en.d.ts +2 -0
- package/dist/lang/files/es/es.d.ts +2 -0
- package/dist/lang/files/es/tmSettings.es.d.ts +2 -0
- package/dist/lang/files/fr/fr.d.ts +2 -0
- package/dist/lang/files/fr/tmSettings.fr.d.ts +2 -0
- package/dist/lang/files/nl/nl.d.ts +2 -0
- package/dist/lang/files/nl/tmSettings.nl.d.ts +2 -0
- package/dist/nodes/components/nodes-table.element.d.ts +0 -1
- package/dist/nodes/node.respository.d.ts +33 -18
- package/dist/section/tree/manifest.d.ts +1 -1
- package/dist/section/tree/types.d.ts +2 -5
- package/dist/sets/sets.context.d.ts +15 -9
- package/dist/sets/sets.repository.d.ts +26 -15
- package/dist/settings/memory/components/manifest.d.ts +2 -0
- package/dist/settings/memory/components/memory-copy.modal.d.ts +12 -0
- package/dist/settings/memory/components/memory-copy.modal.token.d.ts +10 -0
- package/dist/settings/memory/components/memory-edit.modal.d.ts +10 -0
- package/dist/settings/memory/components/memory-edit.modal.token.d.ts +11 -0
- package/dist/settings/memory/constants.d.ts +3 -0
- package/dist/settings/memory/manifest.d.ts +1 -0
- package/dist/settings/memory/menu/manifest.d.ts +2 -0
- package/dist/settings/memory/menu/memory-menu.element.d.ts +10 -0
- package/dist/settings/memory/repository/index.d.ts +2 -0
- package/dist/settings/memory/repository/memory.repository.d.ts +54 -0
- package/dist/settings/memory/workspace/manifest.d.ts +1 -0
- package/dist/settings/memory/workspace/views/default.element.d.ts +13 -0
- package/dist/settings/memory/workspace/views/source-detail.element.d.ts +16 -0
- package/dist/settings/memory/workspace/workspace.context.d.ts +48 -0
- package/dist/settings/memory/workspace/workspace.element.d.ts +7 -0
- package/dist/settings/respository/settings.repository.d.ts +12 -9
- package/dist/settings/sets/components/create-set-type.modal.d.ts +13 -0
- package/dist/settings/sets/components/create-set-type.modal.token.d.ts +7 -0
- package/dist/settings/sets/components/set-site-picker.element.d.ts +2 -1
- package/dist/settings/sets/components/set-site-picker.modal.d.ts +9 -3
- package/dist/settings/sets/components/set-site-picker.modal.token.d.ts +6 -1
- package/dist/settings/sets/entity/set-entity-context.d.ts +2 -1
- package/dist/settings/workspace/workspace.context.d.ts +3 -3
- package/dist/strategies/creation/actions/inplace.actions.d.ts +14 -0
- package/dist/strategies/creation/steps/inplace/inplace-config-step.element.d.ts +27 -0
- package/dist/strategies/creation/steps/inplace/inplace-job-result-step.element.d.ts +17 -0
- package/dist/strategies/creation/steps/inplace/manifest.d.ts +2 -0
- package/dist/strategies/creation/translation-creation.context.d.ts +2 -2
- package/package.json +46 -55
- package/dist/hey-api.d.ts +0 -11
- package/dist/section/tree/translations-tree.store.d.ts +0 -8
package/dist/api/types.gen.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
|
-
baseUrl: '
|
|
2
|
+
baseUrl: 'https://localhost:44380/' | (string & {});
|
|
3
3
|
};
|
|
4
4
|
export type BulkSelectionNode = {
|
|
5
5
|
key: string;
|
|
6
6
|
name: string;
|
|
7
7
|
friendlyPath: string;
|
|
8
|
-
setKey?:
|
|
9
|
-
setName?:
|
|
8
|
+
setKey?: null | string;
|
|
9
|
+
setName?: null | string;
|
|
10
10
|
hasChildren: boolean;
|
|
11
11
|
includeChildren: boolean;
|
|
12
12
|
descendantCount: number;
|
|
@@ -19,8 +19,8 @@ export type BulkSelectionResult = {
|
|
|
19
19
|
roots: Array<BulkSelectionNode>;
|
|
20
20
|
contentIds: Array<string>;
|
|
21
21
|
valid: boolean;
|
|
22
|
-
setKey?:
|
|
23
|
-
setName?:
|
|
22
|
+
setKey?: null | string;
|
|
23
|
+
setName?: null | string;
|
|
24
24
|
errors: Array<string>;
|
|
25
25
|
};
|
|
26
26
|
export type CloneNodeOptions = {
|
|
@@ -60,21 +60,22 @@ export type GlossaryLanguageStats = {
|
|
|
60
60
|
missingCount: number;
|
|
61
61
|
};
|
|
62
62
|
export type GlossaryTerm = {
|
|
63
|
-
id: number;
|
|
64
|
-
key: string;
|
|
65
63
|
sourceLanguage: string;
|
|
66
64
|
sourceText: string;
|
|
67
|
-
notes?:
|
|
65
|
+
notes?: null | string;
|
|
68
66
|
caseSensitive: boolean;
|
|
69
67
|
values: Array<GlossaryTermValue>;
|
|
68
|
+
key: string;
|
|
69
|
+
id: number;
|
|
70
70
|
};
|
|
71
71
|
export type GlossaryTermValue = {
|
|
72
|
-
id: number;
|
|
73
72
|
termKey: string;
|
|
74
73
|
language: string;
|
|
75
74
|
value: string;
|
|
76
75
|
doNotTranslate: boolean;
|
|
76
|
+
id: number;
|
|
77
77
|
};
|
|
78
|
+
export type IFormFile = Blob | File;
|
|
78
79
|
export declare enum JobApprovalStatus {
|
|
79
80
|
NONE = "None",
|
|
80
81
|
REVIEW = "Review",
|
|
@@ -110,13 +111,8 @@ export type JobStatusStats = {
|
|
|
110
111
|
nodeCount: number;
|
|
111
112
|
wordCount: number;
|
|
112
113
|
};
|
|
113
|
-
export type
|
|
114
|
-
|
|
115
|
-
parent?: JsonNode | null;
|
|
116
|
-
root: JsonNode;
|
|
117
|
-
};
|
|
118
|
-
export type JsonNodeOptions = {
|
|
119
|
-
propertyNameCaseInsensitive: boolean;
|
|
114
|
+
export type JsonObject = {
|
|
115
|
+
[key: string]: unknown;
|
|
120
116
|
};
|
|
121
117
|
export type LicenceInfo = {
|
|
122
118
|
name: string;
|
|
@@ -132,7 +128,7 @@ export type LicenceInfo = {
|
|
|
132
128
|
requiresKey: boolean;
|
|
133
129
|
message: string;
|
|
134
130
|
autoRenews: boolean;
|
|
135
|
-
checkedDomains?:
|
|
131
|
+
checkedDomains?: null | string;
|
|
136
132
|
licenceType: LicenceType;
|
|
137
133
|
providers: {
|
|
138
134
|
[key: string]: LicenceInfo;
|
|
@@ -192,18 +188,17 @@ export type PagedTranslationLanguageItemResponseModel = {
|
|
|
192
188
|
items: Array<TranslationLanguageItemResponseModel>;
|
|
193
189
|
};
|
|
194
190
|
export type ProblemDetails = {
|
|
195
|
-
type?:
|
|
196
|
-
title?:
|
|
197
|
-
status?: number |
|
|
198
|
-
detail?:
|
|
199
|
-
instance?:
|
|
200
|
-
[key: string]: unknown;
|
|
191
|
+
type?: null | string;
|
|
192
|
+
title?: null | string;
|
|
193
|
+
status?: null | number | string;
|
|
194
|
+
detail?: null | string;
|
|
195
|
+
instance?: null | string;
|
|
201
196
|
};
|
|
202
197
|
export type SaveGlossaryTermRequest = {
|
|
203
|
-
key?:
|
|
198
|
+
key?: null | string;
|
|
204
199
|
sourceLanguage: string;
|
|
205
200
|
sourceText: string;
|
|
206
|
-
notes?:
|
|
201
|
+
notes?: null | string;
|
|
207
202
|
caseSensitive: boolean;
|
|
208
203
|
values: Array<SaveGlossaryTermValueRequest>;
|
|
209
204
|
};
|
|
@@ -220,7 +215,7 @@ export type SiteDetail = {
|
|
|
220
215
|
export type SiteItemView = {
|
|
221
216
|
id: number;
|
|
222
217
|
icon: string;
|
|
223
|
-
name:
|
|
218
|
+
name: null | string;
|
|
224
219
|
cultureCode: string;
|
|
225
220
|
cultureName: string;
|
|
226
221
|
};
|
|
@@ -273,6 +268,7 @@ export type TranslateSettings = {
|
|
|
273
268
|
tagSettings: TagSettings;
|
|
274
269
|
backgroundApproval: boolean;
|
|
275
270
|
useLegacySubmit: boolean;
|
|
271
|
+
inPlaceTranslation: boolean;
|
|
276
272
|
};
|
|
277
273
|
export type TranslateSettingsLinks = {
|
|
278
274
|
updatePicked: boolean;
|
|
@@ -293,20 +289,24 @@ export type TranslateSetupInfo = {
|
|
|
293
289
|
};
|
|
294
290
|
};
|
|
295
291
|
export type TranslateUpdate = {
|
|
296
|
-
version: string;
|
|
297
|
-
message?: string | null;
|
|
298
|
-
link?: string | null;
|
|
299
292
|
isLatest: boolean;
|
|
293
|
+
version: string;
|
|
294
|
+
message?: null | string;
|
|
295
|
+
link?: null | string;
|
|
300
296
|
};
|
|
301
297
|
export type TranslationAuditItem = {
|
|
302
|
-
id: number;
|
|
303
298
|
jobId: number;
|
|
304
299
|
userKey: string;
|
|
305
300
|
username: string;
|
|
306
301
|
eventDate: string;
|
|
307
302
|
eventType: TranslationEventType;
|
|
308
303
|
comment: string;
|
|
304
|
+
id: number;
|
|
309
305
|
};
|
|
306
|
+
export declare enum TranslationEntityType {
|
|
307
|
+
DOCUMENT = "Document",
|
|
308
|
+
ELEMENT = "Element"
|
|
309
|
+
}
|
|
310
310
|
export declare enum TranslationEventType {
|
|
311
311
|
NONE = "None",
|
|
312
312
|
CREATED = "Created",
|
|
@@ -328,8 +328,7 @@ export declare enum TranslationEventType {
|
|
|
328
328
|
CUSTOM = "Custom"
|
|
329
329
|
}
|
|
330
330
|
export type TranslationJobView = {
|
|
331
|
-
|
|
332
|
-
key: string;
|
|
331
|
+
username: string;
|
|
333
332
|
name: string;
|
|
334
333
|
setKey: string;
|
|
335
334
|
sourceCulture: CultureInfoView;
|
|
@@ -337,9 +336,9 @@ export type TranslationJobView = {
|
|
|
337
336
|
nodeCount: number;
|
|
338
337
|
nodes: Array<TranslationNode>;
|
|
339
338
|
created: string;
|
|
340
|
-
submitted?:
|
|
341
|
-
received?:
|
|
342
|
-
|
|
339
|
+
submitted?: null | string;
|
|
340
|
+
received?: null | string;
|
|
341
|
+
statusIsDirty: boolean;
|
|
343
342
|
status: JobStatus;
|
|
344
343
|
providerKey: string;
|
|
345
344
|
providerName: string;
|
|
@@ -350,12 +349,13 @@ export type TranslationJobView = {
|
|
|
350
349
|
userKey: string;
|
|
351
350
|
options: JobOptions;
|
|
352
351
|
groupId: string;
|
|
353
|
-
|
|
352
|
+
key: string;
|
|
353
|
+
id: number;
|
|
354
354
|
};
|
|
355
355
|
export type TranslationLanguageItemResponseModel = {
|
|
356
356
|
id: string;
|
|
357
357
|
name: string;
|
|
358
|
-
parent?:
|
|
358
|
+
parent?: null | TranslationReferenceByNameModel;
|
|
359
359
|
flags: Array<FlagModel>;
|
|
360
360
|
hasChildren: boolean;
|
|
361
361
|
isFolder: boolean;
|
|
@@ -363,22 +363,21 @@ export type TranslationLanguageItemResponseModel = {
|
|
|
363
363
|
entityType: string;
|
|
364
364
|
};
|
|
365
365
|
export type TranslationMemory = {
|
|
366
|
-
id: number;
|
|
367
366
|
reference: string;
|
|
368
367
|
approved: boolean;
|
|
369
368
|
sourceLanguage: string;
|
|
370
369
|
targetLanguage: string;
|
|
371
|
-
translationSource:
|
|
370
|
+
translationSource: null | string;
|
|
372
371
|
sourceText: string;
|
|
373
372
|
translation: string;
|
|
373
|
+
id: number;
|
|
374
374
|
};
|
|
375
375
|
export type TranslationNode = {
|
|
376
|
-
id: number;
|
|
377
|
-
key: string;
|
|
378
376
|
setKey: string;
|
|
379
377
|
culture: CultureInfoView;
|
|
380
378
|
masterNodeId: number;
|
|
381
379
|
targetNodeId: number;
|
|
380
|
+
entityType: TranslationEntityType;
|
|
382
381
|
status: NodeStatus;
|
|
383
382
|
created: string;
|
|
384
383
|
updated: string;
|
|
@@ -392,6 +391,8 @@ export type TranslationNode = {
|
|
|
392
391
|
groups: Array<TranslationPropertyGroup>;
|
|
393
392
|
hasOpenSiblings: boolean;
|
|
394
393
|
targetNodePermissions: string;
|
|
394
|
+
key: string;
|
|
395
|
+
id: number;
|
|
395
396
|
};
|
|
396
397
|
export type TranslationNodeStatus = {
|
|
397
398
|
id: number;
|
|
@@ -418,39 +419,40 @@ export type TranslationProcessingOptions = {
|
|
|
418
419
|
primaryType: string;
|
|
419
420
|
runInBackground: boolean;
|
|
420
421
|
set: number;
|
|
421
|
-
sites?: Array<SiteDetail
|
|
422
|
-
cultures?: Array<string
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
422
|
+
sites?: null | Array<SiteDetail>;
|
|
423
|
+
cultures?: null | Array<string>;
|
|
424
|
+
inPlace: boolean;
|
|
425
|
+
sourceCulture?: null | string;
|
|
426
|
+
contentIds?: null | Array<string>;
|
|
427
|
+
nodeIds?: null | Array<string>;
|
|
428
|
+
contentNames?: null | Array<string>;
|
|
426
429
|
includeChildren: boolean;
|
|
427
430
|
includeUnpublished: boolean;
|
|
428
431
|
createJob: boolean;
|
|
429
432
|
lockProvider: boolean;
|
|
430
|
-
providerKey?:
|
|
433
|
+
providerKey?: null | string;
|
|
431
434
|
providerSettings?: unknown;
|
|
432
435
|
providerOptions?: unknown;
|
|
433
|
-
jobName?:
|
|
434
|
-
groupId?:
|
|
436
|
+
jobName?: null | string;
|
|
437
|
+
groupId?: null | string;
|
|
435
438
|
autoApprove: boolean;
|
|
436
439
|
replaceNodeName: boolean;
|
|
437
440
|
copyProperties: boolean;
|
|
438
|
-
clientId?:
|
|
441
|
+
clientId?: null | string;
|
|
439
442
|
backgroundApproval: boolean;
|
|
440
443
|
canApprove: boolean;
|
|
441
444
|
canPublish: boolean;
|
|
442
445
|
blockedPublishCount: number;
|
|
443
446
|
selectedCount: number;
|
|
444
|
-
[key: string]: unknown;
|
|
445
447
|
};
|
|
446
448
|
export type TranslationProperty = {
|
|
447
|
-
id: number;
|
|
448
449
|
nodeKey: string;
|
|
449
450
|
alias: string;
|
|
450
451
|
group: string;
|
|
451
452
|
sortOrder: number;
|
|
452
|
-
source?:
|
|
453
|
-
target?:
|
|
453
|
+
source?: null | TranslationValue;
|
|
454
|
+
target?: null | TranslationValue;
|
|
455
|
+
id: number;
|
|
454
456
|
};
|
|
455
457
|
export type TranslationPropertyGroup = {
|
|
456
458
|
name: string;
|
|
@@ -459,7 +461,7 @@ export type TranslationPropertyGroup = {
|
|
|
459
461
|
properties: Array<TranslationProperty>;
|
|
460
462
|
};
|
|
461
463
|
export type TranslationProviderInfo = {
|
|
462
|
-
icon?:
|
|
464
|
+
icon?: null | string;
|
|
463
465
|
supportsGlossary: boolean;
|
|
464
466
|
supportsTranslationMemory: boolean;
|
|
465
467
|
name: string;
|
|
@@ -483,12 +485,11 @@ export type TranslationReferenceByNameModel = {
|
|
|
483
485
|
id: string;
|
|
484
486
|
};
|
|
485
487
|
export type TranslationSet = {
|
|
486
|
-
id: number;
|
|
487
|
-
key: string;
|
|
488
488
|
icon: string;
|
|
489
489
|
name: string;
|
|
490
490
|
masterId: number;
|
|
491
|
-
|
|
491
|
+
entityType: TranslationEntityType;
|
|
492
|
+
culture?: null | CultureInfoView;
|
|
492
493
|
sites: Array<TranslationSetSite>;
|
|
493
494
|
copyOnCreate: boolean;
|
|
494
495
|
translateNodeName: boolean;
|
|
@@ -499,8 +500,8 @@ export type TranslationSet = {
|
|
|
499
500
|
alwaysSend: boolean;
|
|
500
501
|
properties: string;
|
|
501
502
|
useRegExProperties: boolean;
|
|
502
|
-
ignoreDocTypes?:
|
|
503
|
-
providerKey?:
|
|
503
|
+
ignoreDocTypes?: null | string;
|
|
504
|
+
providerKey?: null | string;
|
|
504
505
|
masterSite: Array<SiteUpdateValues>;
|
|
505
506
|
siteIds: Array<SiteUpdateValues>;
|
|
506
507
|
options: {
|
|
@@ -509,10 +510,10 @@ export type TranslationSet = {
|
|
|
509
510
|
providerOptions: {
|
|
510
511
|
[key: string]: unknown;
|
|
511
512
|
};
|
|
513
|
+
key: string;
|
|
514
|
+
id: number;
|
|
512
515
|
};
|
|
513
516
|
export type TranslationSetNotifications = {
|
|
514
|
-
id: number;
|
|
515
|
-
key: string;
|
|
516
517
|
setKey: string;
|
|
517
518
|
inherit: boolean;
|
|
518
519
|
pending: string;
|
|
@@ -520,6 +521,8 @@ export type TranslationSetNotifications = {
|
|
|
520
521
|
received: string;
|
|
521
522
|
approved: string;
|
|
522
523
|
notifyCreator: boolean;
|
|
524
|
+
key: string;
|
|
525
|
+
id: number;
|
|
523
526
|
};
|
|
524
527
|
export type TranslationSetSite = {
|
|
525
528
|
id: number;
|
|
@@ -543,7 +546,7 @@ export type TranslationValue = {
|
|
|
543
546
|
htmlControl: boolean;
|
|
544
547
|
translated: boolean;
|
|
545
548
|
sortOrder: number;
|
|
546
|
-
source?:
|
|
549
|
+
source?: null | string;
|
|
547
550
|
innerValues: {
|
|
548
551
|
[key: string]: TranslationValue;
|
|
549
552
|
};
|
|
@@ -559,37 +562,6 @@ export type WordCountInfo = {
|
|
|
559
562
|
properties: number;
|
|
560
563
|
message: string;
|
|
561
564
|
};
|
|
562
|
-
export type JsonNodeWritable = {
|
|
563
|
-
[key: string]: never;
|
|
564
|
-
};
|
|
565
|
-
export type PagedModelTranslationJobViewModelWritable = {
|
|
566
|
-
items: Array<TranslationJobViewWritable>;
|
|
567
|
-
total: number;
|
|
568
|
-
};
|
|
569
|
-
export type TranslationJobViewWritable = {
|
|
570
|
-
id: number;
|
|
571
|
-
key: string;
|
|
572
|
-
name: string;
|
|
573
|
-
setKey: string;
|
|
574
|
-
sourceCulture: CultureInfoView;
|
|
575
|
-
targetCulture: CultureInfoView;
|
|
576
|
-
nodeCount: number;
|
|
577
|
-
nodes: Array<TranslationNode>;
|
|
578
|
-
created: string;
|
|
579
|
-
submitted?: string | null;
|
|
580
|
-
received?: string | null;
|
|
581
|
-
status: JobStatus;
|
|
582
|
-
providerKey: string;
|
|
583
|
-
providerName: string;
|
|
584
|
-
providerProperties: string;
|
|
585
|
-
providerStatus: string;
|
|
586
|
-
note: string;
|
|
587
|
-
statusLocalName: string;
|
|
588
|
-
userKey: string;
|
|
589
|
-
options: JobOptions;
|
|
590
|
-
groupId: string;
|
|
591
|
-
username: string;
|
|
592
|
-
};
|
|
593
565
|
export type CulturesGetInfoData = {
|
|
594
566
|
body?: never;
|
|
595
567
|
path?: never;
|
|
@@ -671,7 +643,7 @@ export type GlossaryDeleteResponses = {
|
|
|
671
643
|
};
|
|
672
644
|
export type GlossaryDeleteResponse = GlossaryDeleteResponses[keyof GlossaryDeleteResponses];
|
|
673
645
|
export type GlossaryDeleteManyData = {
|
|
674
|
-
body
|
|
646
|
+
body: Array<string>;
|
|
675
647
|
path?: never;
|
|
676
648
|
query?: never;
|
|
677
649
|
url: '/umbraco/jumoo-translate/api/v1/glossary/DeleteMany';
|
|
@@ -762,7 +734,7 @@ export type GlossaryExportTbxErrors = {
|
|
|
762
734
|
/**
|
|
763
735
|
* Bad Request
|
|
764
736
|
*/
|
|
765
|
-
400:
|
|
737
|
+
400: Blob | File;
|
|
766
738
|
/**
|
|
767
739
|
* The resource is protected and requires an authentication token
|
|
768
740
|
*/
|
|
@@ -774,14 +746,16 @@ export type GlossaryExportTbxErrors = {
|
|
|
774
746
|
/**
|
|
775
747
|
* Not Found
|
|
776
748
|
*/
|
|
777
|
-
404:
|
|
749
|
+
404: Blob | File;
|
|
778
750
|
};
|
|
751
|
+
export type GlossaryExportTbxError = GlossaryExportTbxErrors[keyof GlossaryExportTbxErrors];
|
|
779
752
|
export type GlossaryExportTbxResponses = {
|
|
780
753
|
/**
|
|
781
754
|
* OK
|
|
782
755
|
*/
|
|
783
|
-
200:
|
|
756
|
+
200: Blob | File;
|
|
784
757
|
};
|
|
758
|
+
export type GlossaryExportTbxResponse = GlossaryExportTbxResponses[keyof GlossaryExportTbxResponses];
|
|
785
759
|
export type GlossaryGetData = {
|
|
786
760
|
body?: never;
|
|
787
761
|
path?: never;
|
|
@@ -846,10 +820,10 @@ export type GlossaryGetAllResponses = {
|
|
|
846
820
|
};
|
|
847
821
|
export type GlossaryGetAllResponse = GlossaryGetAllResponses[keyof GlossaryGetAllResponses];
|
|
848
822
|
export type GlossaryImportData = {
|
|
849
|
-
body
|
|
850
|
-
File
|
|
851
|
-
SourceLanguage
|
|
852
|
-
TargetLanguage
|
|
823
|
+
body: {
|
|
824
|
+
File?: IFormFile;
|
|
825
|
+
SourceLanguage?: string;
|
|
826
|
+
TargetLanguage?: string;
|
|
853
827
|
CreateMissingTerms?: boolean;
|
|
854
828
|
};
|
|
855
829
|
path?: never;
|
|
@@ -878,9 +852,9 @@ export type GlossaryImportResponses = {
|
|
|
878
852
|
};
|
|
879
853
|
export type GlossaryImportResponse = GlossaryImportResponses[keyof GlossaryImportResponses];
|
|
880
854
|
export type GlossaryImportTbxData = {
|
|
881
|
-
body
|
|
882
|
-
File
|
|
883
|
-
SourceLanguage
|
|
855
|
+
body: {
|
|
856
|
+
File?: IFormFile;
|
|
857
|
+
SourceLanguage?: string;
|
|
884
858
|
CreateMissingTerms?: boolean;
|
|
885
859
|
TargetLanguages?: Array<string>;
|
|
886
860
|
};
|
|
@@ -910,7 +884,7 @@ export type GlossaryImportTbxResponses = {
|
|
|
910
884
|
};
|
|
911
885
|
export type GlossaryImportTbxResponse = GlossaryImportTbxResponses[keyof GlossaryImportTbxResponses];
|
|
912
886
|
export type GlossarySaveData = {
|
|
913
|
-
body
|
|
887
|
+
body: SaveGlossaryTermRequest;
|
|
914
888
|
path?: never;
|
|
915
889
|
query?: never;
|
|
916
890
|
url: '/umbraco/jumoo-translate/api/v1/glossary/Save';
|
|
@@ -1049,7 +1023,7 @@ export type JobArchiveResponses = {
|
|
|
1049
1023
|
};
|
|
1050
1024
|
export type JobArchiveResponse = JobArchiveResponses[keyof JobArchiveResponses];
|
|
1051
1025
|
export type JobBulkCancelData = {
|
|
1052
|
-
body
|
|
1026
|
+
body: Array<string>;
|
|
1053
1027
|
path?: never;
|
|
1054
1028
|
query?: never;
|
|
1055
1029
|
url: '/umbraco/jumoo-translate/api/v1/jobs/BulkCancel';
|
|
@@ -1068,7 +1042,7 @@ export type JobBulkCancelResponses = {
|
|
|
1068
1042
|
};
|
|
1069
1043
|
export type JobBulkCancelResponse = JobBulkCancelResponses[keyof JobBulkCancelResponses];
|
|
1070
1044
|
export type JobBulkCheckData = {
|
|
1071
|
-
body
|
|
1045
|
+
body: Array<string>;
|
|
1072
1046
|
path?: never;
|
|
1073
1047
|
query?: never;
|
|
1074
1048
|
url: '/umbraco/jumoo-translate/api/v1/jobs/BulkCheck';
|
|
@@ -1087,7 +1061,7 @@ export type JobBulkCheckResponses = {
|
|
|
1087
1061
|
};
|
|
1088
1062
|
export type JobBulkCheckResponse = JobBulkCheckResponses[keyof JobBulkCheckResponses];
|
|
1089
1063
|
export type JobBulkRemoveData = {
|
|
1090
|
-
body
|
|
1064
|
+
body: Array<string>;
|
|
1091
1065
|
path?: never;
|
|
1092
1066
|
query?: never;
|
|
1093
1067
|
url: '/umbraco/jumoo-translate/api/v1/jobs/BulkRemove';
|
|
@@ -1730,7 +1704,7 @@ export type LicenceValidResponses = {
|
|
|
1730
1704
|
};
|
|
1731
1705
|
export type LicenceValidResponse = LicenceValidResponses[keyof LicenceValidResponses];
|
|
1732
1706
|
export type MemoryCopyData = {
|
|
1733
|
-
body
|
|
1707
|
+
body: CopyMemoryRequest;
|
|
1734
1708
|
path?: never;
|
|
1735
1709
|
query?: never;
|
|
1736
1710
|
url: '/umbraco/jumoo-translate/api/v1/memory/Copy';
|
|
@@ -2009,7 +1983,7 @@ export type MemorySourcesResponses = {
|
|
|
2009
1983
|
};
|
|
2010
1984
|
export type MemorySourcesResponse = MemorySourcesResponses[keyof MemorySourcesResponses];
|
|
2011
1985
|
export type MemoryUpdateData = {
|
|
2012
|
-
body
|
|
1986
|
+
body: UpdateMemoryRequest;
|
|
2013
1987
|
path?: never;
|
|
2014
1988
|
query?: never;
|
|
2015
1989
|
url: '/umbraco/jumoo-translate/api/v1/memory/Update';
|
|
@@ -2036,7 +2010,7 @@ export type MemoryUpdateResponses = {
|
|
|
2036
2010
|
};
|
|
2037
2011
|
export type MemoryUpdateResponse = MemoryUpdateResponses[keyof MemoryUpdateResponses];
|
|
2038
2012
|
export type NodeCloneData = {
|
|
2039
|
-
body
|
|
2013
|
+
body: CloneNodeOptions;
|
|
2040
2014
|
path?: never;
|
|
2041
2015
|
query?: {
|
|
2042
2016
|
id?: number;
|
|
@@ -2085,7 +2059,7 @@ export type NodeDeleteResponses = {
|
|
|
2085
2059
|
200: unknown;
|
|
2086
2060
|
};
|
|
2087
2061
|
export type NodeDeleteByKeyData = {
|
|
2088
|
-
body
|
|
2062
|
+
body: Array<string>;
|
|
2089
2063
|
path?: never;
|
|
2090
2064
|
query?: never;
|
|
2091
2065
|
url: '/umbraco/jumoo-translate/api/v1/nodes/DeleteByKey';
|
|
@@ -2166,7 +2140,7 @@ export type NodeGetAllCulturesResponses = {
|
|
|
2166
2140
|
};
|
|
2167
2141
|
export type NodeGetAllCulturesResponse = NodeGetAllCulturesResponses[keyof NodeGetAllCulturesResponses];
|
|
2168
2142
|
export type NodeGetBulkSelectionData = {
|
|
2169
|
-
body
|
|
2143
|
+
body: Array<BulkSelectionRequestItem>;
|
|
2170
2144
|
path?: never;
|
|
2171
2145
|
query?: never;
|
|
2172
2146
|
url: '/umbraco/jumoo-translate/api/v1/nodes/GetBulkSelection';
|
|
@@ -2299,7 +2273,7 @@ export type NodeGetByNodeAndStatusPagedResponses = {
|
|
|
2299
2273
|
};
|
|
2300
2274
|
export type NodeGetByNodeAndStatusPagedResponse = NodeGetByNodeAndStatusPagedResponses[keyof NodeGetByNodeAndStatusPagedResponses];
|
|
2301
2275
|
export type NodeGetPathsData = {
|
|
2302
|
-
body
|
|
2276
|
+
body: Array<number>;
|
|
2303
2277
|
path?: never;
|
|
2304
2278
|
query?: never;
|
|
2305
2279
|
url: '/umbraco/jumoo-translate/api/v1/nodes/GetPaths';
|
|
@@ -2367,6 +2341,7 @@ export type NodeGetWordCountInfoData = {
|
|
|
2367
2341
|
query?: {
|
|
2368
2342
|
contentKey?: string;
|
|
2369
2343
|
includeChildren?: boolean;
|
|
2344
|
+
entityType?: TranslationEntityType;
|
|
2370
2345
|
};
|
|
2371
2346
|
url: '/umbraco/jumoo-translate/api/v1/nodes/GetWordCountInfo';
|
|
2372
2347
|
};
|
|
@@ -2425,7 +2400,7 @@ export type NodeRemoveByCultureResponses = {
|
|
|
2425
2400
|
};
|
|
2426
2401
|
export type NodeRemoveByCultureResponse = NodeRemoveByCultureResponses[keyof NodeRemoveByCultureResponses];
|
|
2427
2402
|
export type NodeSavePropertyData = {
|
|
2428
|
-
body
|
|
2403
|
+
body: TranslationProperty;
|
|
2429
2404
|
path?: never;
|
|
2430
2405
|
query?: {
|
|
2431
2406
|
nodeId?: number;
|
|
@@ -2449,7 +2424,7 @@ export type NodeSavePropertyResponses = {
|
|
|
2449
2424
|
200: unknown;
|
|
2450
2425
|
};
|
|
2451
2426
|
export type NodeUpdatePropertiesData = {
|
|
2452
|
-
body
|
|
2427
|
+
body: Array<TranslationProperty>;
|
|
2453
2428
|
path?: never;
|
|
2454
2429
|
query?: {
|
|
2455
2430
|
nodeId?: number;
|
|
@@ -2478,7 +2453,7 @@ export type NodeUpdatePropertiesResponses = {
|
|
|
2478
2453
|
200: unknown;
|
|
2479
2454
|
};
|
|
2480
2455
|
export type NodeUpdateTranslationValueData = {
|
|
2481
|
-
body
|
|
2456
|
+
body: TranslationValue;
|
|
2482
2457
|
path?: never;
|
|
2483
2458
|
query?: {
|
|
2484
2459
|
id?: number;
|
|
@@ -2632,7 +2607,7 @@ export type ProviderGetSettingsByAliasResponses = {
|
|
|
2632
2607
|
};
|
|
2633
2608
|
export type ProviderGetSettingsByAliasResponse = ProviderGetSettingsByAliasResponses[keyof ProviderGetSettingsByAliasResponses];
|
|
2634
2609
|
export type ProviderSaveSettingsData = {
|
|
2635
|
-
body
|
|
2610
|
+
body: {
|
|
2636
2611
|
[key: string]: unknown;
|
|
2637
2612
|
};
|
|
2638
2613
|
path?: never;
|
|
@@ -2762,6 +2737,7 @@ export type SetGetByContentKeyData = {
|
|
|
2762
2737
|
path?: never;
|
|
2763
2738
|
query?: {
|
|
2764
2739
|
id?: string;
|
|
2740
|
+
entityType?: TranslationEntityType;
|
|
2765
2741
|
};
|
|
2766
2742
|
url: '/umbraco/jumoo-translate/api/v1/sets/GetByContentKey';
|
|
2767
2743
|
};
|
|
@@ -2879,6 +2855,7 @@ export type SetGetContentCultureInfoData = {
|
|
|
2879
2855
|
path?: never;
|
|
2880
2856
|
query?: {
|
|
2881
2857
|
key?: string;
|
|
2858
|
+
entityType?: TranslationEntityType;
|
|
2882
2859
|
};
|
|
2883
2860
|
url: '/umbraco/jumoo-translate/api/v1/sets/GetContentCultureInfo';
|
|
2884
2861
|
};
|
|
@@ -2933,6 +2910,27 @@ export type SetGetInstalledCulturesResponses = {
|
|
|
2933
2910
|
200: Array<CultureInfoView>;
|
|
2934
2911
|
};
|
|
2935
2912
|
export type SetGetInstalledCulturesResponse = SetGetInstalledCulturesResponses[keyof SetGetInstalledCulturesResponses];
|
|
2913
|
+
export type SetGetNewSetData = {
|
|
2914
|
+
body?: never;
|
|
2915
|
+
path?: never;
|
|
2916
|
+
query?: {
|
|
2917
|
+
entityType?: TranslationEntityType;
|
|
2918
|
+
};
|
|
2919
|
+
url: '/umbraco/jumoo-translate/api/v1/sets/GetNewSet';
|
|
2920
|
+
};
|
|
2921
|
+
export type SetGetNewSetErrors = {
|
|
2922
|
+
/**
|
|
2923
|
+
* The resource is protected and requires an authentication token
|
|
2924
|
+
*/
|
|
2925
|
+
401: unknown;
|
|
2926
|
+
};
|
|
2927
|
+
export type SetGetNewSetResponses = {
|
|
2928
|
+
/**
|
|
2929
|
+
* OK
|
|
2930
|
+
*/
|
|
2931
|
+
200: TranslationSet;
|
|
2932
|
+
};
|
|
2933
|
+
export type SetGetNewSetResponse = SetGetNewSetResponses[keyof SetGetNewSetResponses];
|
|
2936
2934
|
export type SetGetNotifySettingsData = {
|
|
2937
2935
|
body?: never;
|
|
2938
2936
|
path?: never;
|
|
@@ -2956,9 +2954,11 @@ export type SetGetNotifySettingsResponses = {
|
|
|
2956
2954
|
};
|
|
2957
2955
|
export type SetGetNotifySettingsResponse = SetGetNotifySettingsResponses[keyof SetGetNotifySettingsResponses];
|
|
2958
2956
|
export type SetGetSetNodesData = {
|
|
2959
|
-
body
|
|
2957
|
+
body: Array<SiteUpdateValues>;
|
|
2960
2958
|
path?: never;
|
|
2961
|
-
query?:
|
|
2959
|
+
query?: {
|
|
2960
|
+
entityType?: TranslationEntityType;
|
|
2961
|
+
};
|
|
2962
2962
|
url: '/umbraco/jumoo-translate/api/v1/sets/GetSetNodes';
|
|
2963
2963
|
};
|
|
2964
2964
|
export type SetGetSetNodesErrors = {
|
|
@@ -2975,7 +2975,7 @@ export type SetGetSetNodesResponses = {
|
|
|
2975
2975
|
};
|
|
2976
2976
|
export type SetGetSetNodesResponse = SetGetSetNodesResponses[keyof SetGetSetNodesResponses];
|
|
2977
2977
|
export type SetSaveNotifiySettingsData = {
|
|
2978
|
-
body
|
|
2978
|
+
body: TranslationSetNotifications;
|
|
2979
2979
|
path?: never;
|
|
2980
2980
|
query?: never;
|
|
2981
2981
|
url: '/umbraco/jumoo-translate/api/v1/sets/SaveNotifiySettings';
|
|
@@ -2999,7 +2999,7 @@ export type SetSaveNotifiySettingsResponses = {
|
|
|
2999
2999
|
};
|
|
3000
3000
|
export type SetSaveNotifiySettingsResponse = SetSaveNotifiySettingsResponses[keyof SetSaveNotifiySettingsResponses];
|
|
3001
3001
|
export type SetSaveSettingsData = {
|
|
3002
|
-
body
|
|
3002
|
+
body: TranslationSet;
|
|
3003
3003
|
path?: never;
|
|
3004
3004
|
query?: never;
|
|
3005
3005
|
url: '/umbraco/jumoo-translate/api/v1/sets/SaveSettings';
|
|
@@ -3157,9 +3157,7 @@ export type SettingsGetProvidersContentResponses = {
|
|
|
3157
3157
|
/**
|
|
3158
3158
|
* OK
|
|
3159
3159
|
*/
|
|
3160
|
-
200:
|
|
3161
|
-
[key: string]: JsonNode;
|
|
3162
|
-
};
|
|
3160
|
+
200: JsonObject;
|
|
3163
3161
|
};
|
|
3164
3162
|
export type SettingsGetProvidersContentResponse = SettingsGetProvidersContentResponses[keyof SettingsGetProvidersContentResponses];
|
|
3165
3163
|
export type SettingsGetSetupData = {
|
|
@@ -3201,7 +3199,7 @@ export type SettingsGetUpdateResponses = {
|
|
|
3201
3199
|
};
|
|
3202
3200
|
export type SettingsGetUpdateResponse = SettingsGetUpdateResponses[keyof SettingsGetUpdateResponses];
|
|
3203
3201
|
export type SettingsSaveData = {
|
|
3204
|
-
body
|
|
3202
|
+
body: TranslateSettings;
|
|
3205
3203
|
path?: never;
|
|
3206
3204
|
query?: never;
|
|
3207
3205
|
url: '/umbraco/jumoo-translate/api/v1/settings/Save';
|
|
@@ -3219,7 +3217,7 @@ export type SettingsSaveResponses = {
|
|
|
3219
3217
|
200: unknown;
|
|
3220
3218
|
};
|
|
3221
3219
|
export type SettingsSaveLicenceData = {
|
|
3222
|
-
body
|
|
3220
|
+
body: LicenceInfo;
|
|
3223
3221
|
path?: never;
|
|
3224
3222
|
query?: never;
|
|
3225
3223
|
url: '/umbraco/jumoo-translate/api/v1/settings/SaveLicence';
|
|
@@ -3241,6 +3239,7 @@ export type StatusGetStatusData = {
|
|
|
3241
3239
|
path?: never;
|
|
3242
3240
|
query?: {
|
|
3243
3241
|
key?: string;
|
|
3242
|
+
entityType?: TranslationEntityType;
|
|
3244
3243
|
};
|
|
3245
3244
|
url: '/umbraco/jumoo-translate/api/v1/status/GetStatus';
|
|
3246
3245
|
};
|
|
@@ -3257,3 +3256,22 @@ export type StatusGetStatusResponses = {
|
|
|
3257
3256
|
200: Array<TranslationNodeStatus>;
|
|
3258
3257
|
};
|
|
3259
3258
|
export type StatusGetStatusResponse = StatusGetStatusResponses[keyof StatusGetStatusResponses];
|
|
3259
|
+
export type StatusProcessingStatusData = {
|
|
3260
|
+
body?: never;
|
|
3261
|
+
path?: never;
|
|
3262
|
+
query?: never;
|
|
3263
|
+
url: '/umbraco/jumoo-translate/api/v1/status/ProcessingStatus';
|
|
3264
|
+
};
|
|
3265
|
+
export type StatusProcessingStatusErrors = {
|
|
3266
|
+
/**
|
|
3267
|
+
* The resource is protected and requires an authentication token
|
|
3268
|
+
*/
|
|
3269
|
+
401: unknown;
|
|
3270
|
+
};
|
|
3271
|
+
export type StatusProcessingStatusResponses = {
|
|
3272
|
+
/**
|
|
3273
|
+
* OK
|
|
3274
|
+
*/
|
|
3275
|
+
200: TranslationProcessingOptions;
|
|
3276
|
+
};
|
|
3277
|
+
export type StatusProcessingStatusResponse = StatusProcessingStatusResponses[keyof StatusProcessingStatusResponses];
|