@tridion-sites/models 1.2.0 → 1.2.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/CHANGELOG.md +1 -1
- package/dist/index.d.ts +22 -448
- package/dist/index.js +244 -1401
- package/package.json +1 -1
- package/dist/dts/index.d.ts +0 -14
- package/dist/dts/locale.d.ts +0 -6
- package/dist/dts/mappings/access/accessControlEntryMapping.d.ts +0 -4
- package/dist/dts/mappings/access/accessControlListMapping.d.ts +0 -4
- package/dist/dts/mappings/access/index.d.ts +0 -4
- package/dist/dts/mappings/access/permissionMapping.d.ts +0 -3
- package/dist/dts/mappings/access/rightMapping.d.ts +0 -3
- package/dist/dts/mappings/access/securityDescriptorMapping.d.ts +0 -4
- package/dist/dts/mappings/access/stringSearchModeMapping.d.ts +0 -4
- package/dist/dts/mappings/baseType/contentMapping.d.ts +0 -2
- package/dist/dts/mappings/baseType/dateMapping.d.ts +0 -1
- package/dist/dts/mappings/baseType/index.d.ts +0 -2
- package/dist/dts/mappings/batch/batchMapping.d.ts +0 -7
- package/dist/dts/mappings/batch/batchOperationMapping.d.ts +0 -4
- package/dist/dts/mappings/batch/batchTypeMapping.d.ts +0 -2
- package/dist/dts/mappings/batch/index.d.ts +0 -3
- package/dist/dts/mappings/binaryContentMapping.d.ts +0 -7
- package/dist/dts/mappings/claimMappingMapping.d.ts +0 -5
- package/dist/dts/mappings/classificationDetailMapping.d.ts +0 -7
- package/dist/dts/mappings/classificationInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/component/componentBaseMapping.d.ts +0 -5
- package/dist/dts/mappings/component/componentMapping.d.ts +0 -5
- package/dist/dts/mappings/component/componentTypeMapping.d.ts +0 -3
- package/dist/dts/mappings/component/externalMultimediaComponentMapping.d.ts +0 -7
- package/dist/dts/mappings/component/externalVersionInfoMapping.d.ts +0 -5
- package/dist/dts/mappings/component/index.d.ts +0 -5
- package/dist/dts/mappings/component/multimediaComponentMapping.d.ts +0 -7
- package/dist/dts/mappings/component/registerComponentMappings.d.ts +0 -2
- package/dist/dts/mappings/createRegistry.d.ts +0 -2
- package/dist/dts/mappings/dependencyDirectionMapping.d.ts +0 -4
- package/dist/dts/mappings/dependencyGraphNodeMapping.d.ts +0 -7
- package/dist/dts/mappings/externalKeywordMapping.d.ts +0 -7
- package/dist/dts/mappings/identifiableObject/basicVersionInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/identifiableObject/errorTypeMapping.d.ts +0 -4
- package/dist/dts/mappings/identifiableObject/identifiableObjectMapping.d.ts +0 -5
- package/dist/dts/mappings/identifiableObject/index.d.ts +0 -7
- package/dist/dts/mappings/identifiableObject/loadInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/identifiableObject/loadInfoStateMapping.d.ts +0 -4
- package/dist/dts/mappings/identifiableObject/whereUsedCommentTokenMapping.d.ts +0 -3
- package/dist/dts/mappings/identifiableObject/whereUsedListInfoMappings.d.ts +0 -7
- package/dist/dts/mappings/index.d.ts +0 -17
- package/dist/dts/mappings/keywordMapping.d.ts +0 -7
- package/dist/dts/mappings/links/hateoasLinkMapping.d.ts +0 -4
- package/dist/dts/mappings/links/index.d.ts +0 -3
- package/dist/dts/mappings/links/linkMapping.d.ts +0 -8
- package/dist/dts/mappings/links/linkWithIsEditableMapping.d.ts +0 -5
- package/dist/dts/mappings/listDetailsLevelMapping.d.ts +0 -4
- package/dist/dts/mappings/mapToModel.d.ts +0 -1
- package/dist/dts/mappings/mapToModels.d.ts +0 -1
- package/dist/dts/mappings/mappingRegistry.d.ts +0 -9
- package/dist/dts/mappings/organizationalItems/bundleMapping.d.ts +0 -7
- package/dist/dts/mappings/organizationalItems/businessProcessTypeMapping.d.ts +0 -7
- package/dist/dts/mappings/organizationalItems/businessProcessTypesMapping.d.ts +0 -5
- package/dist/dts/mappings/organizationalItems/changeOrgItemToBusinessProcessTypes.d.ts +0 -2
- package/dist/dts/mappings/organizationalItems/changeOrgItemToTaxonomies.d.ts +0 -2
- package/dist/dts/mappings/organizationalItems/externalContainerMapping.d.ts +0 -5
- package/dist/dts/mappings/organizationalItems/externalKeywordCategoryMapping.d.ts +0 -5
- package/dist/dts/mappings/organizationalItems/folderMapping.d.ts +0 -7
- package/dist/dts/mappings/organizationalItems/index.d.ts +0 -14
- package/dist/dts/mappings/organizationalItems/keywordCategoryMapping.d.ts +0 -7
- package/dist/dts/mappings/organizationalItems/organizationalItemMapping.d.ts +0 -5
- package/dist/dts/mappings/organizationalItems/publishLocationInfoMapping.d.ts +0 -5
- package/dist/dts/mappings/organizationalItems/searchFolderMapping.d.ts +0 -5
- package/dist/dts/mappings/organizationalItems/structureGroupMapping.d.ts +0 -7
- package/dist/dts/mappings/organizationalItems/taxonomiesMapping.d.ts +0 -5
- package/dist/dts/mappings/organizationalItems/virtualFolderMapping.d.ts +0 -5
- package/dist/dts/mappings/page/componentPresentationMapping.d.ts +0 -7
- package/dist/dts/mappings/page/embeddedRegionMapping.d.ts +0 -7
- package/dist/dts/mappings/page/index.d.ts +0 -4
- package/dist/dts/mappings/page/pageMapping.d.ts +0 -7
- package/dist/dts/mappings/page/regionsMapping.d.ts +0 -4
- package/dist/dts/mappings/page/targetGroupConditionMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/deployerActionMapping.d.ts +0 -4
- package/dist/dts/mappings/publishing/index.d.ts +0 -15
- package/dist/dts/mappings/publishing/processedItemMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/publishActionMappings.d.ts +0 -3
- package/dist/dts/mappings/publishing/publishContextMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/publishInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/publishInstructionMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/publishTransactionListInfoMappings.d.ts +0 -7
- package/dist/dts/mappings/publishing/publishTransactionMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/publishTransactionStateMapping.d.ts +0 -4
- package/dist/dts/mappings/publishing/publishTransactionsCreationResultMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/publishUrlInfoMapping.d.ts +0 -4
- package/dist/dts/mappings/publishing/resolveInstructionBaseMapping.d.ts +0 -5
- package/dist/dts/mappings/publishing/resolveInstructionMapping.d.ts +0 -5
- package/dist/dts/mappings/publishing/resolvedItemMapping.d.ts +0 -7
- package/dist/dts/mappings/publishing/structureResolveOptionMapping.d.ts +0 -4
- package/dist/dts/mappings/publishing/unpublishInstructionMapping.d.ts +0 -7
- package/dist/dts/mappings/registerMappings.d.ts +0 -2
- package/dist/dts/mappings/repositoryLocalObject/blueprintInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/repositoryLocalObject/index.d.ts +0 -7
- package/dist/dts/mappings/repositoryLocalObject/limitedVersionInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/repositoryLocalObject/locationInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/repositoryLocalObject/lockInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/repositoryLocalObject/lockTypeMapping.d.ts +0 -4
- package/dist/dts/mappings/repositoryLocalObject/repositoryLocalObjectMapping.d.ts +0 -5
- package/dist/dts/mappings/repositoryLocalObject/rloItemTypeMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/fieldDefinitions/componentLinkFieldDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/dateFieldDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/dateListDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/embeddedSchemaFieldDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/fieldsDefinitionDictionaryMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/fieldDefinitions/index.d.ts +0 -11
- package/dist/dts/mappings/schema/fieldDefinitions/keywordFieldDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/listDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/listTypeMapping.d.ts +0 -3
- package/dist/dts/mappings/schema/fieldDefinitions/multimediaLinkFieldDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/numberFieldDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/fieldDefinitions/textFields/externalLinkFieldDefinitionMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/fieldDefinitions/textFields/formattingFeaturesMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/fieldDefinitions/textFields/index.d.ts +0 -6
- package/dist/dts/mappings/schema/fieldDefinitions/textFields/multilineTextFieldDefinitionMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/fieldDefinitions/textFields/singleLineTextFieldDefinitionMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/fieldDefinitions/textFields/singleLineTextListDefinitionMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/fieldDefinitions/textFields/xhtmlFieldDefinitionMapping.d.ts +0 -4
- package/dist/dts/mappings/schema/index.d.ts +0 -3
- package/dist/dts/mappings/schema/schemaMapping.d.ts +0 -7
- package/dist/dts/mappings/schema/schemaPurposeMapping.d.ts +0 -4
- package/dist/dts/mappings/search/index.d.ts +0 -1
- package/dist/dts/mappings/search/searchBlueprintStatusMapping.d.ts +0 -4
- package/dist/dts/mappings/synchronizationActionMapping.d.ts +0 -4
- package/dist/dts/mappings/synchronizationResultMapping.d.ts +0 -4
- package/dist/dts/mappings/synchronizeFlagsMapping.d.ts +0 -4
- package/dist/dts/mappings/systemPrivilegeMapping.d.ts +0 -4
- package/dist/dts/mappings/systemPrivilegesDictionaryMapping.d.ts +0 -4
- package/dist/dts/mappings/systemWideObjects/approvalStatusMapping.d.ts +0 -5
- package/dist/dts/mappings/systemWideObjects/index.d.ts +0 -7
- package/dist/dts/mappings/systemWideObjects/multimediaTypeMapping.d.ts +0 -5
- package/dist/dts/mappings/systemWideObjects/publicationMapping.d.ts +0 -7
- package/dist/dts/mappings/systemWideObjects/publishPriorityMapping.d.ts +0 -4
- package/dist/dts/mappings/systemWideObjects/repositoryMapping.d.ts +0 -7
- package/dist/dts/mappings/systemWideObjects/systemWideObjectMapping.d.ts +0 -1
- package/dist/dts/mappings/systemWideObjects/targetTypeMapping.d.ts +0 -4
- package/dist/dts/mappings/targetGroupMapping.d.ts +0 -5
- package/dist/dts/mappings/templates/componentTemplateMapping.d.ts +0 -7
- package/dist/dts/mappings/templates/index.d.ts +0 -3
- package/dist/dts/mappings/templates/pageTemplateMapping.d.ts +0 -7
- package/dist/dts/mappings/templates/templateBuildingBlockMapping.d.ts +0 -7
- package/dist/dts/mappings/templates/templateMapping.d.ts +0 -5
- package/dist/dts/mappings/translations/identifiableTranslationJobMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/index.d.ts +0 -22
- package/dist/dts/mappings/translations/resolveOptionsMapping.d.ts +0 -3
- package/dist/dts/mappings/translations/retrieveReasonMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/targetLanguageMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/tmsLanguageMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/tmsWorkflowMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/tmsWorkflowStepMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/translationDetailsMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationErrorDetailsMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationErrorSeverityMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/translationExceptionDetailsMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationJobDisplayStateMapping.d.ts +0 -3
- package/dist/dts/mappings/translations/translationJobInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationJobItemMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationJobMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationJobPriorityMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/translationJobStateMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/translationJobTypeMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/translationStatusMapping.d.ts +0 -4
- package/dist/dts/mappings/translations/translationTargetPublicationMapping.d.ts +0 -7
- package/dist/dts/mappings/translations/translationWorkflowStatusMapping.d.ts +0 -7
- package/dist/dts/mappings/tryMapToModel.d.ts +0 -1
- package/dist/dts/mappings/user/accessTokenMapping.d.ts +0 -7
- package/dist/dts/mappings/user/groupMembershipMapping.d.ts +0 -7
- package/dist/dts/mappings/user/index.d.ts +0 -10
- package/dist/dts/mappings/user/trusteeMapping.d.ts +0 -5
- package/dist/dts/mappings/user/userFavoriteLinkMapping.d.ts +0 -7
- package/dist/dts/mappings/user/userGroupMapping.d.ts +0 -7
- package/dist/dts/mappings/user/userLocaleInfoMapping.d.ts +0 -4
- package/dist/dts/mappings/user/userMapping.d.ts +0 -5
- package/dist/dts/mappings/user/userPreferencesMapping.d.ts +0 -7
- package/dist/dts/mappings/user/userProfileMapping.d.ts +0 -7
- package/dist/dts/mappings/user/userUserRuntimeInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/versionedItem/dynamicVersionInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/versionedItem/fullVersionInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/versionedItem/index.d.ts +0 -3
- package/dist/dts/mappings/versionedItem/versionedItemMapping.d.ts +0 -5
- package/dist/dts/mappings/workflow/activityConstraintsMapping.d.ts +0 -3
- package/dist/dts/mappings/workflow/activityDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/activityHistoryMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/activityInstanceMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/activityMapping.d.ts +0 -5
- package/dist/dts/mappings/workflow/activityStateMapping.d.ts +0 -4
- package/dist/dts/mappings/workflow/activityTypeMapping.d.ts +0 -3
- package/dist/dts/mappings/workflow/finishActivityResultMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/index.d.ts +0 -19
- package/dist/dts/mappings/workflow/processDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/processFinishReasonMapping.d.ts +0 -3
- package/dist/dts/mappings/workflow/processHistoryMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/processInstanceMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/processMapping.d.ts +0 -5
- package/dist/dts/mappings/workflow/tridionActivityDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/tridionProcessDefinitionMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/workItemMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/workflowInfoMapping.d.ts +0 -7
- package/dist/dts/mappings/workflow/workflowObjectMapping.d.ts +0 -5
- package/dist/dts/mappingsTests/data/bundleData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/businessProcessTypeData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/categoryData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/componentData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/folderData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/groupData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/groupMembershipData.d.ts +0 -14
- package/dist/dts/mappingsTests/data/identifiableObjectData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/index.d.ts +0 -27
- package/dist/dts/mappingsTests/data/keywordData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/multimediaComponentData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/multimediaTypeData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/organizationalItemData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/pageData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/processDefinitionData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/publishingTargetData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/repositoryData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/repositoryLocalObjectData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/schemaData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/searchFolderData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/structureGroupData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/systemWideObjectData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/targetGroupData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/targetTypeData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/trusteeData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/userData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/versionedItemData.d.ts +0 -2
- package/dist/dts/mappingsTests/data/virtualFolderData.d.ts +0 -2
- package/dist/dts/mappingsTests/tests/identifiableObject/identifiableObjectMapping.spec.d.ts +0 -1
- package/dist/dts/mappingsTests/tests/keyword.spec.d.ts +0 -1
- package/dist/dts/mappingsTests/tests/links/linkMapping.spec.d.ts +0 -1
- package/dist/dts/mappingsTests/tests/links/linkWithIsEditableMapping.spec.d.ts +0 -1
- package/dist/dts/mappingsTests/tests/repositoryLocalObject/repositoryLocalObject.spec.d.ts +0 -1
- package/dist/dts/mappingsTests/tests/user/groupMembershipMapping.spec.d.ts +0 -1
- package/dist/dts/mappingsTests/utils/createUserProfile.d.ts +0 -2
- package/dist/dts/mappingsTests/utils/expectArrayOfType.d.ts +0 -1
- package/dist/dts/models/access/accessControlEntry.d.ts +0 -45
- package/dist/dts/models/access/accessControlList.d.ts +0 -16
- package/dist/dts/models/access/index.d.ts +0 -6
- package/dist/dts/models/access/permission.d.ts +0 -12
- package/dist/dts/models/access/right.d.ts +0 -28
- package/dist/dts/models/access/securityDescriptor.d.ts +0 -39
- package/dist/dts/models/access/stringSearchMode.d.ts +0 -7
- package/dist/dts/models/api/apiError.d.ts +0 -13
- package/dist/dts/models/api/apiRequestOptions.d.ts +0 -14
- package/dist/dts/models/api/index.d.ts +0 -6
- package/dist/dts/models/api/validationApiError.d.ts +0 -29
- package/dist/dts/models/api/validationError.d.ts +0 -18
- package/dist/dts/models/api/validationResult.d.ts +0 -22
- package/dist/dts/models/api/validationWarning.d.ts +0 -10
- package/dist/dts/models/batch/batch.d.ts +0 -53
- package/dist/dts/models/batch/batchOperation.d.ts +0 -46
- package/dist/dts/models/batch/batchOperationState.d.ts +0 -14
- package/dist/dts/models/batch/batchStatus.d.ts +0 -3
- package/dist/dts/models/batch/batchType.d.ts +0 -1
- package/dist/dts/models/batch/index.d.ts +0 -6
- package/dist/dts/models/batch/parametersDictionary.d.ts +0 -4
- package/dist/dts/models/binaryContent.d.ts +0 -69
- package/dist/dts/models/blueprint/blueprintGraph.d.ts +0 -31
- package/dist/dts/models/blueprint/blueprintGraphNode.d.ts +0 -49
- package/dist/dts/models/blueprint/index.d.ts +0 -4
- package/dist/dts/models/blueprint/itemBlueprintHierarchy/constructItemGraph.d.ts +0 -4
- package/dist/dts/models/blueprint/itemBlueprintHierarchy/getPrimaryItem.d.ts +0 -3
- package/dist/dts/models/blueprint/itemBlueprintHierarchy/index.d.ts +0 -2
- package/dist/dts/models/blueprint/itemBlueprintHierarchy/itemBlueprintHierarchy.d.ts +0 -15
- package/dist/dts/models/blueprint/itemBlueprintHierarchy/itemBlueprintNodeData.d.ts +0 -25
- package/dist/dts/models/blueprint/publicationBlueprintHierarchy/constructPublicationGraph.d.ts +0 -4
- package/dist/dts/models/blueprint/publicationBlueprintHierarchy/index.d.ts +0 -1
- package/dist/dts/models/blueprint/publicationBlueprintHierarchy/publicationBlueprintHierarchy.d.ts +0 -13
- package/dist/dts/models/claimMapping.d.ts +0 -23
- package/dist/dts/models/classificationDetail.d.ts +0 -34
- package/dist/dts/models/classificationInfo.d.ts +0 -26
- package/dist/dts/models/component/component.d.ts +0 -16
- package/dist/dts/models/component/componentBase.d.ts +0 -51
- package/dist/dts/models/component/componentType.d.ts +0 -11
- package/dist/dts/models/component/externalMultimediaComponent.d.ts +0 -39
- package/dist/dts/models/component/externalVersionInfo.d.ts +0 -18
- package/dist/dts/models/component/index.d.ts +0 -6
- package/dist/dts/models/component/multimediaComponent.d.ts +0 -17
- package/dist/dts/models/dependencyDirection.d.ts +0 -1
- package/dist/dts/models/dependencyGraphNode.d.ts +0 -33
- package/dist/dts/models/externalKeyword.d.ts +0 -43
- package/dist/dts/models/identifiableObject/applicableActions.d.ts +0 -30
- package/dist/dts/models/identifiableObject/basicVersionInfo.d.ts +0 -24
- package/dist/dts/models/identifiableObject/extensionPropertyDictionary.d.ts +0 -4
- package/dist/dts/models/identifiableObject/identifiableObject.d.ts +0 -82
- package/dist/dts/models/identifiableObject/index.d.ts +0 -9
- package/dist/dts/models/identifiableObject/listInfo.d.ts +0 -1
- package/dist/dts/models/identifiableObject/listLink.d.ts +0 -15
- package/dist/dts/models/identifiableObject/loadInfo.d.ts +0 -38
- package/dist/dts/models/identifiableObject/whereUsedCommentToken.d.ts +0 -15
- package/dist/dts/models/identifiableObject/whereUsedListInfo.d.ts +0 -15
- package/dist/dts/models/index.d.ts +0 -36
- package/dist/dts/models/itemType.d.ts +0 -71
- package/dist/dts/models/itemUri/eclUri.d.ts +0 -54
- package/dist/dts/models/itemUri/eclUri.spec.d.ts +0 -1
- package/dist/dts/models/itemUri/eclUriItemType.d.ts +0 -4
- package/dist/dts/models/itemUri/index.d.ts +0 -5
- package/dist/dts/models/itemUri/itemUri.d.ts +0 -7
- package/dist/dts/models/itemUri/tcmUri.d.ts +0 -40
- package/dist/dts/models/itemUri/tcmUri.spec.d.ts +0 -1
- package/dist/dts/models/itemUri/tcmUriItemType.d.ts +0 -39
- package/dist/dts/models/itemUri/tmUri.d.ts +0 -37
- package/dist/dts/models/itemUri/tmUri.spec.d.ts +0 -1
- package/dist/dts/models/itemUri/uri.d.ts +0 -14
- package/dist/dts/models/itemUri/virtualUri.d.ts +0 -18
- package/dist/dts/models/keyword.d.ts +0 -55
- package/dist/dts/models/links/createBackendHateoasLink.d.ts +0 -2
- package/dist/dts/models/links/createBackendLink.d.ts +0 -2
- package/dist/dts/models/links/hateoasLink.d.ts +0 -21
- package/dist/dts/models/links/index.d.ts +0 -5
- package/dist/dts/models/links/link.d.ts +0 -41
- package/dist/dts/models/links/linkWithIsEditable.d.ts +0 -17
- package/dist/dts/models/listDetailsLevel.d.ts +0 -1
- package/dist/dts/models/organizationalItems/bundle.d.ts +0 -21
- package/dist/dts/models/organizationalItems/businessProcessType.d.ts +0 -68
- package/dist/dts/models/organizationalItems/businessProcessTypes.d.ts +0 -10
- package/dist/dts/models/organizationalItems/createBackendBusinessProcessTypes.d.ts +0 -3
- package/dist/dts/models/organizationalItems/createBackendTaxonomies.d.ts +0 -3
- package/dist/dts/models/organizationalItems/externalContainer.d.ts +0 -17
- package/dist/dts/models/organizationalItems/externalKeywordCategory.d.ts +0 -21
- package/dist/dts/models/organizationalItems/folder.d.ts +0 -41
- package/dist/dts/models/organizationalItems/index.d.ts +0 -15
- package/dist/dts/models/organizationalItems/keywordCategory.d.ts +0 -65
- package/dist/dts/models/organizationalItems/organizationalItem.d.ts +0 -37
- package/dist/dts/models/organizationalItems/publishLocationInfo.d.ts +0 -33
- package/dist/dts/models/organizationalItems/searchFolder.d.ts +0 -14
- package/dist/dts/models/organizationalItems/structureGroup.d.ts +0 -85
- package/dist/dts/models/organizationalItems/taxonomies.d.ts +0 -12
- package/dist/dts/models/organizationalItems/virtualFolder.d.ts +0 -42
- package/dist/dts/models/page/componentPresentation.d.ts +0 -28
- package/dist/dts/models/page/embeddedRegion.d.ts +0 -30
- package/dist/dts/models/page/index.d.ts +0 -5
- package/dist/dts/models/page/page.d.ts +0 -81
- package/dist/dts/models/page/region.d.ts +0 -10
- package/dist/dts/models/page/targetGroupCondition.d.ts +0 -23
- package/dist/dts/models/publishing/deployerAction.d.ts +0 -11
- package/dist/dts/models/publishing/index.d.ts +0 -17
- package/dist/dts/models/publishing/processedItem.d.ts +0 -33
- package/dist/dts/models/publishing/publishAction.d.ts +0 -4
- package/dist/dts/models/publishing/publishContext.d.ts +0 -36
- package/dist/dts/models/publishing/publishInfo.d.ts +0 -45
- package/dist/dts/models/publishing/publishInstruction.d.ts +0 -24
- package/dist/dts/models/publishing/publishInstructionBase.d.ts +0 -9
- package/dist/dts/models/publishing/publishTransaction.d.ts +0 -101
- package/dist/dts/models/publishing/publishTransactionListInfo.d.ts +0 -19
- package/dist/dts/models/publishing/publishTransactionState.d.ts +0 -1
- package/dist/dts/models/publishing/publishTransactionsCreationResult.d.ts +0 -13
- package/dist/dts/models/publishing/publishUrlInfo.d.ts +0 -8
- package/dist/dts/models/publishing/resolveInstruction.d.ts +0 -27
- package/dist/dts/models/publishing/resolveInstructionBase.d.ts +0 -31
- package/dist/dts/models/publishing/resolvedItem.d.ts +0 -38
- package/dist/dts/models/publishing/structureResolveOption.d.ts +0 -1
- package/dist/dts/models/publishing/unpublishInstruction.d.ts +0 -25
- package/dist/dts/models/repositoryLocalObject/blueprintInfo.d.ts +0 -33
- package/dist/dts/models/repositoryLocalObject/fieldsValueDictionary.d.ts +0 -4
- package/dist/dts/models/repositoryLocalObject/index.d.ts +0 -8
- package/dist/dts/models/repositoryLocalObject/limitedVersionInfo.d.ts +0 -21
- package/dist/dts/models/repositoryLocalObject/locationInfo.d.ts +0 -33
- package/dist/dts/models/repositoryLocalObject/lockInfo.d.ts +0 -33
- package/dist/dts/models/repositoryLocalObject/lockType.d.ts +0 -13
- package/dist/dts/models/repositoryLocalObject/repositoryLocalObject.d.ts +0 -53
- package/dist/dts/models/repositoryLocalObject/rloItemType.d.ts +0 -20
- package/dist/dts/models/schema/fieldDefinitions/componentLinkFieldDefinition.d.ts +0 -31
- package/dist/dts/models/schema/fieldDefinitions/dateFieldDefinition.d.ts +0 -45
- package/dist/dts/models/schema/fieldDefinitions/dateListDefinition.d.ts +0 -19
- package/dist/dts/models/schema/fieldDefinitions/embeddedSchemaFieldDefinition.d.ts +0 -27
- package/dist/dts/models/schema/fieldDefinitions/fieldsDefinitionDictionary.d.ts +0 -5
- package/dist/dts/models/schema/fieldDefinitions/index.d.ts +0 -14
- package/dist/dts/models/schema/fieldDefinitions/itemFieldDefinition.d.ts +0 -43
- package/dist/dts/models/schema/fieldDefinitions/itemPublishableFieldDefinition.d.ts +0 -18
- package/dist/dts/models/schema/fieldDefinitions/keywordFieldDefinition.d.ts +0 -34
- package/dist/dts/models/schema/fieldDefinitions/listDefinition.d.ts +0 -23
- package/dist/dts/models/schema/fieldDefinitions/listType.d.ts +0 -1
- package/dist/dts/models/schema/fieldDefinitions/multimediaLinkFieldDefinition.d.ts +0 -28
- package/dist/dts/models/schema/fieldDefinitions/numberFieldDefinition.d.ts +0 -49
- package/dist/dts/models/schema/fieldDefinitions/numberListDefinition.d.ts +0 -17
- package/dist/dts/models/schema/fieldDefinitions/textFields/externalLinkFieldDefinition.d.ts +0 -14
- package/dist/dts/models/schema/fieldDefinitions/textFields/formattingFeatures.d.ts +0 -26
- package/dist/dts/models/schema/fieldDefinitions/textFields/index.d.ts +0 -7
- package/dist/dts/models/schema/fieldDefinitions/textFields/multilineTextFieldDefinition.d.ts +0 -12
- package/dist/dts/models/schema/fieldDefinitions/textFields/singleLineTextFieldDefinition.d.ts +0 -33
- package/dist/dts/models/schema/fieldDefinitions/textFields/singleLineTextListDefinition.d.ts +0 -17
- package/dist/dts/models/schema/fieldDefinitions/textFields/textFieldDefinition.d.ts +0 -14
- package/dist/dts/models/schema/fieldDefinitions/textFields/xhtmlFieldDefinition.d.ts +0 -22
- package/dist/dts/models/schema/index.d.ts +0 -3
- package/dist/dts/models/schema/schema.d.ts +0 -67
- package/dist/dts/models/schema/schemaPurpose.d.ts +0 -18
- package/dist/dts/models/search/index.d.ts +0 -1
- package/dist/dts/models/search/searchBlueprintStatus.d.ts +0 -1
- package/dist/dts/models/synchronizationAction.d.ts +0 -35
- package/dist/dts/models/synchronizationResult.d.ts +0 -23
- package/dist/dts/models/synchronizeFlags.d.ts +0 -1
- package/dist/dts/models/systemPrivilege.d.ts +0 -21
- package/dist/dts/models/systemPrivilegesDictionary.d.ts +0 -6
- package/dist/dts/models/systemWideObjects/approvalStatus.d.ts +0 -24
- package/dist/dts/models/systemWideObjects/index.d.ts +0 -8
- package/dist/dts/models/systemWideObjects/multimediaType.d.ts +0 -21
- package/dist/dts/models/systemWideObjects/publication.d.ts +0 -93
- package/dist/dts/models/systemWideObjects/publishPriority.d.ts +0 -9
- package/dist/dts/models/systemWideObjects/publishingTarget.d.ts +0 -18
- package/dist/dts/models/systemWideObjects/repository.d.ts +0 -56
- package/dist/dts/models/systemWideObjects/systemWideObject.d.ts +0 -13
- package/dist/dts/models/systemWideObjects/targetType.d.ts +0 -63
- package/dist/dts/models/targetGroup.d.ts +0 -19
- package/dist/dts/models/templates/componentTemplate.d.ts +0 -93
- package/dist/dts/models/templates/index.d.ts +0 -4
- package/dist/dts/models/templates/pageTemplate.d.ts +0 -42
- package/dist/dts/models/templates/template.d.ts +0 -49
- package/dist/dts/models/templates/templateBuildingBlock.d.ts +0 -28
- package/dist/dts/models/translation/identifiableTranslationJob.d.ts +0 -156
- package/dist/dts/models/translation/index.d.ts +0 -22
- package/dist/dts/models/translation/resolveOptions.d.ts +0 -10
- package/dist/dts/models/translation/retrieveReason.d.ts +0 -19
- package/dist/dts/models/translation/targetLanguage.d.ts +0 -44
- package/dist/dts/models/translation/tmsLanguage.d.ts +0 -17
- package/dist/dts/models/translation/tmsWorkflow.d.ts +0 -15
- package/dist/dts/models/translation/tmsWorkflowStep.d.ts +0 -24
- package/dist/dts/models/translation/translationDetails.d.ts +0 -76
- package/dist/dts/models/translation/translationErrorDetails.d.ts +0 -75
- package/dist/dts/models/translation/translationErrorSeverity.d.ts +0 -11
- package/dist/dts/models/translation/translationExceptionDetails.d.ts +0 -17
- package/dist/dts/models/translation/translationInfo.d.ts +0 -32
- package/dist/dts/models/translation/translationJob.d.ts +0 -138
- package/dist/dts/models/translation/translationJobDisplayState.d.ts +0 -20
- package/dist/dts/models/translation/translationJobInfo.d.ts +0 -140
- package/dist/dts/models/translation/translationJobItem.d.ts +0 -34
- package/dist/dts/models/translation/translationJobPriority.d.ts +0 -12
- package/dist/dts/models/translation/translationJobState.d.ts +0 -17
- package/dist/dts/models/translation/translationJobType.d.ts +0 -11
- package/dist/dts/models/translation/translationStatus.d.ts +0 -13
- package/dist/dts/models/translation/translationTargetPublication.d.ts +0 -20
- package/dist/dts/models/translation/translationWorkflowStatus.d.ts +0 -24
- package/dist/dts/models/user/accessToken.d.ts +0 -27
- package/dist/dts/models/user/groupMembership.d.ts +0 -22
- package/dist/dts/models/user/index.d.ts +0 -11
- package/dist/dts/models/user/trustee.d.ts +0 -30
- package/dist/dts/models/user/user.d.ts +0 -26
- package/dist/dts/models/user/userFavoriteLink.d.ts +0 -27
- package/dist/dts/models/user/userGroup.d.ts +0 -43
- package/dist/dts/models/user/userLocaleInfo.d.ts +0 -61
- package/dist/dts/models/user/userPreferences.d.ts +0 -19
- package/dist/dts/models/user/userProfile.d.ts +0 -38
- package/dist/dts/models/user/userRuntimeInfo.d.ts +0 -31
- package/dist/dts/models/versionedItem/dynamicVersionInfo.d.ts +0 -29
- package/dist/dts/models/versionedItem/fullVersionInfo.d.ts +0 -57
- package/dist/dts/models/versionedItem/index.d.ts +0 -3
- package/dist/dts/models/versionedItem/versionedItem.d.ts +0 -28
- package/dist/dts/models/workflow/activity.d.ts +0 -98
- package/dist/dts/models/workflow/activityConstraints.d.ts +0 -11
- package/dist/dts/models/workflow/activityDefinition.d.ts +0 -43
- package/dist/dts/models/workflow/activityHistory.d.ts +0 -37
- package/dist/dts/models/workflow/activityInstance.d.ts +0 -67
- package/dist/dts/models/workflow/activityState.d.ts +0 -15
- package/dist/dts/models/workflow/activityType.d.ts +0 -6
- package/dist/dts/models/workflow/finishActivityResult.d.ts +0 -13
- package/dist/dts/models/workflow/index.d.ts +0 -19
- package/dist/dts/models/workflow/process.d.ts +0 -51
- package/dist/dts/models/workflow/processDefinition.d.ts +0 -23
- package/dist/dts/models/workflow/processFinishReason.d.ts +0 -12
- package/dist/dts/models/workflow/processHistory.d.ts +0 -31
- package/dist/dts/models/workflow/processInstance.d.ts +0 -26
- package/dist/dts/models/workflow/tridionActivityDefinition.d.ts +0 -76
- package/dist/dts/models/workflow/tridionProcessDefinition.d.ts +0 -19
- package/dist/dts/models/workflow/variablesDictionary.d.ts +0 -4
- package/dist/dts/models/workflow/workItem.d.ts +0 -60
- package/dist/dts/models/workflow/workflowInfo.d.ts +0 -91
- package/dist/dts/models/workflow/workflowObject.d.ts +0 -21
- package/dist/dts/utils/getItemContainerId.d.ts +0 -3
- package/dist/dts/utils/getItemLabelWithId.d.ts +0 -11
- package/dist/dts/utils/getItemLinkType.d.ts +0 -3
- package/dist/dts/utils/getItemType.d.ts +0 -3
- package/dist/dts/utils/index.d.ts +0 -4
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import type { TranslationJob as BackendTranslationJob } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { IdentifiableObjectConstructorArgs } from '../identifiableObject';
|
|
3
|
-
import { IdentifiableObject } from '../identifiableObject';
|
|
4
|
-
import type { ItemUri } from '../itemUri';
|
|
5
|
-
import type { Link } from '../links';
|
|
6
|
-
import type { FieldsValueDictionary } from '../repositoryLocalObject';
|
|
7
|
-
import type { TargetLanguage } from './targetLanguage';
|
|
8
|
-
import type { TmsLanguage } from './tmsLanguage';
|
|
9
|
-
import type { TranslationErrorDetails } from './translationErrorDetails';
|
|
10
|
-
import type { TranslationErrorSeverity } from './translationErrorSeverity';
|
|
11
|
-
import type { TranslationJobDisplayState } from './translationJobDisplayState';
|
|
12
|
-
import type { TranslationJobItem } from './translationJobItem';
|
|
13
|
-
import type { TranslationJobPriority } from './translationJobPriority';
|
|
14
|
-
import type { TranslationJobState } from './translationJobState';
|
|
15
|
-
import type { TranslationJobType } from './translationJobType';
|
|
16
|
-
import type { TranslationWorkflowStatus } from './translationWorkflowStatus';
|
|
17
|
-
export type BackendIdentifiableTranslationJob = BackendTranslationJob & {
|
|
18
|
-
Id: string;
|
|
19
|
-
};
|
|
20
|
-
export interface IdentifiableTranslationJobConstructorArgs extends IdentifiableObjectConstructorArgs {
|
|
21
|
-
backendModel: BackendIdentifiableTranslationJob;
|
|
22
|
-
id: ItemUri;
|
|
23
|
-
addedItems: ReadonlyArray<TranslationJobItem> | undefined;
|
|
24
|
-
configurationItemUri: ItemUri | undefined;
|
|
25
|
-
creationDate: Date | undefined;
|
|
26
|
-
creator: Link | undefined;
|
|
27
|
-
displayState: TranslationJobDisplayState | undefined;
|
|
28
|
-
errors: ReadonlyArray<TranslationErrorDetails> | undefined;
|
|
29
|
-
errorSeverityLevel: TranslationErrorSeverity | undefined;
|
|
30
|
-
language: TmsLanguage | undefined;
|
|
31
|
-
priority: TranslationJobPriority | undefined;
|
|
32
|
-
requiredDate: Date | undefined;
|
|
33
|
-
revisionDate: Date | undefined;
|
|
34
|
-
revisor: Link | undefined;
|
|
35
|
-
state: TranslationJobState | undefined;
|
|
36
|
-
targetLanguages: ReadonlyArray<TargetLanguage> | undefined;
|
|
37
|
-
type: ReadonlyArray<TranslationJobType> | undefined;
|
|
38
|
-
workflowStatus: ReadonlyArray<TranslationWorkflowStatus> | undefined;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* `TranslationJob` class that extends `IdentifiableObject`, that uses `ItemUri` instead of number as an id.
|
|
42
|
-
*
|
|
43
|
-
* @note
|
|
44
|
-
* Please note that the rest of `IdentifiableObject` props will be undefined always.
|
|
45
|
-
*
|
|
46
|
-
* To get original object use `getOriginalInternalModel()`, as `getInternalModel()` result will include `Id` in a format `tm:0-1234`.
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* TranslationJob.id: number | undefined;
|
|
50
|
-
* IdentifiableTranslationJob.id: ItemUri;
|
|
51
|
-
*/
|
|
52
|
-
export declare class IdentifiableTranslationJob extends IdentifiableObject {
|
|
53
|
-
protected _backendModel: BackendIdentifiableTranslationJob;
|
|
54
|
-
private _addedItems;
|
|
55
|
-
private _creator;
|
|
56
|
-
private _configurationItemUri;
|
|
57
|
-
private _displayState;
|
|
58
|
-
private _errors;
|
|
59
|
-
private _errorSeverityLevel;
|
|
60
|
-
private _language;
|
|
61
|
-
private _priority;
|
|
62
|
-
private _revisor;
|
|
63
|
-
private _state;
|
|
64
|
-
private _targetLanguages;
|
|
65
|
-
private _type;
|
|
66
|
-
private _workflowStatus;
|
|
67
|
-
private _creationDate;
|
|
68
|
-
private _requiredDate;
|
|
69
|
-
private _revisionDate;
|
|
70
|
-
constructor({ addedItems, backendModel, configurationItemUri, creationDate, creator, displayState, errors, errorSeverityLevel, language, priority, requiredDate, revisionDate, revisor, state, targetLanguages, type, workflowStatus, ...identifiableObjectArgs }: IdentifiableTranslationJobConstructorArgs);
|
|
71
|
-
get title(): string | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* Collection containing the `AddedItem`s that have been added to this Translation Job.
|
|
74
|
-
* The `AddedItem`s represent either an Item that will be translated (for example a Component) or
|
|
75
|
-
* an Item that contains the Items that will be translated (for example a Folder).
|
|
76
|
-
*/
|
|
77
|
-
get addedItems(): ReadonlyArray<TranslationJobItem> | undefined;
|
|
78
|
-
/**
|
|
79
|
-
* TCM URI of the item containing the `TranslationConfiguration` used for this Translation Job.
|
|
80
|
-
*/
|
|
81
|
-
get configurationItemUri(): ItemUri | undefined;
|
|
82
|
-
/**
|
|
83
|
-
* Title of the Publication containing the <seealso cref="P:Tridion.TranslationManager.OpenApi.V2.Dto.TranslationJob.ConfigurationItemUri" />.
|
|
84
|
-
*/
|
|
85
|
-
get contextPublicationTitle(): string | undefined;
|
|
86
|
-
/**
|
|
87
|
-
* The date the Translation Job was created (in UTC).
|
|
88
|
-
*/
|
|
89
|
-
get creationDate(): Date | undefined;
|
|
90
|
-
/**
|
|
91
|
-
* A link to the user who created the Translation Job.
|
|
92
|
-
*/
|
|
93
|
-
get creator(): Link | undefined;
|
|
94
|
-
get displayState(): TranslationJobDisplayState | undefined;
|
|
95
|
-
/**
|
|
96
|
-
* Collection of errors registered to this job.
|
|
97
|
-
*/
|
|
98
|
-
get errors(): ReadonlyArray<TranslationErrorDetails> | undefined;
|
|
99
|
-
get errorSeverityLevel(): TranslationErrorSeverity | undefined;
|
|
100
|
-
get hasError(): boolean;
|
|
101
|
-
/**
|
|
102
|
-
* Value indicating whether items that have already been translated should be included in the job.
|
|
103
|
-
*/
|
|
104
|
-
get includeItemsAlreadyTranslated(): boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Value indicating if the Translation Job currently have one or more `TranslationJobQuote`s awaiting authorization (see remarks).
|
|
107
|
-
*/
|
|
108
|
-
get isAwaitingAuthorization(): boolean;
|
|
109
|
-
get language(): TmsLanguage | undefined;
|
|
110
|
-
/**
|
|
111
|
-
* Metadata associated with the Translation Job.
|
|
112
|
-
*/
|
|
113
|
-
get metadata(): FieldsValueDictionary | undefined;
|
|
114
|
-
/**
|
|
115
|
-
* TCM URI of the metadata schema used for this Translation Job.
|
|
116
|
-
*/
|
|
117
|
-
get metadataSchemaUri(): string | undefined;
|
|
118
|
-
/**
|
|
119
|
-
* The priority of the Translation Job. This value will only have an affect if `SupportsPriority` returns true.
|
|
120
|
-
*/
|
|
121
|
-
get priority(): TranslationJobPriority | undefined;
|
|
122
|
-
get progressPercentage(): number | undefined;
|
|
123
|
-
/**
|
|
124
|
-
* The due date for this job.
|
|
125
|
-
*/
|
|
126
|
-
get requiredDate(): Date | undefined;
|
|
127
|
-
get revisionDate(): Date | undefined;
|
|
128
|
-
/**
|
|
129
|
-
* A link to the user who last modified the Translation Job.
|
|
130
|
-
*/
|
|
131
|
-
get revisor(): Link | undefined;
|
|
132
|
-
get state(): TranslationJobState | undefined;
|
|
133
|
-
/**
|
|
134
|
-
* Show if `TranslationJob` support setting of priority.
|
|
135
|
-
*/
|
|
136
|
-
get supportsPriority(): boolean;
|
|
137
|
-
/**
|
|
138
|
-
* Show if `TranslationJob` support setting required rate.
|
|
139
|
-
*/
|
|
140
|
-
get supportsRequiredDate(): boolean;
|
|
141
|
-
/**
|
|
142
|
-
* List of target languages available for this `TranslationJob`.
|
|
143
|
-
*/
|
|
144
|
-
get targetLanguages(): ReadonlyArray<TargetLanguage> | undefined;
|
|
145
|
-
/**
|
|
146
|
-
* Value indicating if the Translation Job is a translation to the Publication of the `ConfigurationItemUri`
|
|
147
|
-
* (Pull job) or from the Publication (Push job).
|
|
148
|
-
*/
|
|
149
|
-
get type(): ReadonlyArray<TranslationJobType> | undefined;
|
|
150
|
-
/**
|
|
151
|
-
* Item count of language/workflowstep pairs.
|
|
152
|
-
*/
|
|
153
|
-
get workflowStatus(): ReadonlyArray<TranslationWorkflowStatus> | undefined;
|
|
154
|
-
getOriginalInternalModel: () => BackendTranslationJob;
|
|
155
|
-
getInternalModel: () => BackendIdentifiableTranslationJob;
|
|
156
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export * from './resolveOptions';
|
|
2
|
-
export * from './retrieveReason';
|
|
3
|
-
export * from './targetLanguage';
|
|
4
|
-
export * from './tmsLanguage';
|
|
5
|
-
export * from './tmsWorkflow';
|
|
6
|
-
export * from './tmsWorkflowStep';
|
|
7
|
-
export * from './translationDetails';
|
|
8
|
-
export * from './translationErrorDetails';
|
|
9
|
-
export * from './translationErrorSeverity';
|
|
10
|
-
export * from './translationExceptionDetails';
|
|
11
|
-
export * from './translationInfo';
|
|
12
|
-
export * from './translationJob';
|
|
13
|
-
export * from './translationJobDisplayState';
|
|
14
|
-
export * from './translationJobInfo';
|
|
15
|
-
export * from './translationJobItem';
|
|
16
|
-
export * from './translationJobPriority';
|
|
17
|
-
export * from './translationJobState';
|
|
18
|
-
export * from './translationJobType';
|
|
19
|
-
export * from './translationStatus';
|
|
20
|
-
export * from './translationTargetPublication';
|
|
21
|
-
export * from './translationWorkflowStatus';
|
|
22
|
-
export * from './identifiableTranslationJob';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines which Items will be included in the Translation Job for an .
|
|
3
|
-
*
|
|
4
|
-
* Members:
|
|
5
|
-
* * `translateContainerItems` - Translate container items (Folders, Pages, Structure Groups, etc.)
|
|
6
|
-
* * `translateSubItems` - Translate the items inside of containers (Components, Keywords, etc.)
|
|
7
|
-
* * `unknownByClient` - Special reserved value used to notify an older API version client about the presence of an enumeration member added in a later API version.
|
|
8
|
-
* Explicitly setting this value by a client is not allowed, but client code should check it and be able to handle such cases.
|
|
9
|
-
*/
|
|
10
|
-
export type ResolveOptions = 'translateContainerItems' | 'translateSubItems' | 'unknownByClient';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Used in TranslationJobInfo to indicate why the item was retrieved.
|
|
3
|
-
*
|
|
4
|
-
* * `unknown` - The reason is not known.
|
|
5
|
-
* Most likely the item was retrieved by a previous version of Translation Manager
|
|
6
|
-
* that could only retrieve items when they were Completed.
|
|
7
|
-
* * `completed` - The item was completed in the Translation Management system.
|
|
8
|
-
* Translation Manager consider the Item completed and will complete the Translation Job once all items are in this stage.
|
|
9
|
-
* * `review` -The item was retrieved to allow review in Tridion Sites.
|
|
10
|
-
* The item remains in control of the translation management system's workflow
|
|
11
|
-
* and Translation Manager will attempt to retrieve the Item again.
|
|
12
|
-
* * `preview` - The item was retrieved to allow preview in Tridion Sites.
|
|
13
|
-
* The item remains in control of the translation management system's workflow
|
|
14
|
-
* and Translation Manager will attempt to retrieve the Item again.
|
|
15
|
-
* * `unknownByClient` - Special reserved value used to notify an older API version client about the presence
|
|
16
|
-
* of an enumeration member added in a later API version. Explicitly setting this value by a client is not allowed,
|
|
17
|
-
* but client code should check it and be able to handle such cases.
|
|
18
|
-
*/
|
|
19
|
-
export type RetrieveReason = 'unknown' | 'completed' | 'review' | 'preview' | 'unknownByClient';
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type { TargetLanguage as BackendTargetLanguage } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { TmsWorkflow } from './tmsWorkflow';
|
|
3
|
-
import type { TranslationTargetPublication } from './translationTargetPublication';
|
|
4
|
-
export interface TargetLanguageConstructorArgs {
|
|
5
|
-
backendModel: BackendTargetLanguage;
|
|
6
|
-
availableWorkflows: ReadonlyArray<TmsWorkflow> | undefined;
|
|
7
|
-
selectedWorkflow: TmsWorkflow | undefined;
|
|
8
|
-
targetPublications: ReadonlyArray<TranslationTargetPublication> | undefined;
|
|
9
|
-
}
|
|
10
|
-
export declare class TargetLanguage {
|
|
11
|
-
protected _backendModel: BackendTargetLanguage;
|
|
12
|
-
private _availableWorkflows;
|
|
13
|
-
private _selectedWorkflow;
|
|
14
|
-
private _targetPublications;
|
|
15
|
-
constructor({ backendModel, availableWorkflows, selectedWorkflow, targetPublications, }: TargetLanguageConstructorArgs);
|
|
16
|
-
/**
|
|
17
|
-
* The identifier of the language (LCID).
|
|
18
|
-
*/
|
|
19
|
-
get id(): string | undefined;
|
|
20
|
-
get availableWorkflows(): ReadonlyArray<TmsWorkflow> | undefined;
|
|
21
|
-
get friendlyName(): string | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* Indicates whether the current user can modify the `TargetLanguage`.
|
|
24
|
-
*/
|
|
25
|
-
get isReadOnly(): boolean | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Currently selected `TmsWorkflow`.
|
|
28
|
-
* Setting the workflow will select the workflow in `AvailableWorkflows` with a matching identifier. If unable to
|
|
29
|
-
* find a workflow with the matching identifier the `SelectedWorkflow` will be set to the first workflow
|
|
30
|
-
* in `AvailableWorkflows`.
|
|
31
|
-
*/
|
|
32
|
-
get selectedWorkflow(): TmsWorkflow | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Selected identifier of the `SelectedWorkflow`.
|
|
35
|
-
* If setting an identifier not present in `AvailableWorkflowIds` the `SelectedWorkflowId`
|
|
36
|
-
* will be set to the first entry in `AvailableWorkflowIds`.
|
|
37
|
-
*/
|
|
38
|
-
get selectedWorkflowId(): string | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* List of the `TargetPublication`s configured in Tridion for this `TargetLanguage`.
|
|
41
|
-
*/
|
|
42
|
-
get targetPublications(): ReadonlyArray<TranslationTargetPublication> | undefined;
|
|
43
|
-
getInternalModel: () => BackendTargetLanguage;
|
|
44
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { TmsLanguage as BackendTmsLanguage } from '@tridion-sites/open-api-client';
|
|
2
|
-
/**
|
|
3
|
-
* Represents a language on the translation management system.
|
|
4
|
-
*/
|
|
5
|
-
export declare class TmsLanguage {
|
|
6
|
-
protected _backendModel: BackendTmsLanguage;
|
|
7
|
-
constructor(backendModel: BackendTmsLanguage);
|
|
8
|
-
/**
|
|
9
|
-
* The identifier of the language (LCID).
|
|
10
|
-
*/
|
|
11
|
-
get id(): string | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* The friendly (display) name of the language.
|
|
14
|
-
*/
|
|
15
|
-
get friendlyName(): string | undefined;
|
|
16
|
-
getInternalModel: () => BackendTmsLanguage;
|
|
17
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { TmsWorkflow as BackendTmsWorkflow } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { TmsWorkflowStep } from './tmsWorkflowStep';
|
|
3
|
-
export interface TmsWorkflowConstructorArgs {
|
|
4
|
-
backendModel: BackendTmsWorkflow;
|
|
5
|
-
steps: ReadonlyArray<TmsWorkflowStep> | undefined;
|
|
6
|
-
}
|
|
7
|
-
export declare class TmsWorkflow {
|
|
8
|
-
protected _backendModel: BackendTmsWorkflow;
|
|
9
|
-
private _steps;
|
|
10
|
-
constructor({ backendModel, steps }: TmsWorkflowConstructorArgs);
|
|
11
|
-
get id(): string | undefined;
|
|
12
|
-
get title(): string | undefined;
|
|
13
|
-
get steps(): ReadonlyArray<TmsWorkflowStep> | undefined;
|
|
14
|
-
getInternalModel: () => BackendTmsWorkflow;
|
|
15
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { TmsWorkflowStep as BackendTmsWorkflowStep } from '@tridion-sites/open-api-client';
|
|
2
|
-
export declare class TmsWorkflowStep {
|
|
3
|
-
protected _backendModel: BackendTmsWorkflowStep;
|
|
4
|
-
constructor(backendModel: BackendTmsWorkflowStep);
|
|
5
|
-
get id(): string | undefined;
|
|
6
|
-
get title(): string | undefined;
|
|
7
|
-
/**
|
|
8
|
-
* Indicateswhether this step will only be executed after the content has been retrieved by Translation Manager.
|
|
9
|
-
*/
|
|
10
|
-
get isAfterTranslatedContentRetrieval(): boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Indicates whether the `TargetItem` has entered an error state requiring manual correction in the translation management system.
|
|
13
|
-
*/
|
|
14
|
-
get isErrorStep(): boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Indicates whether this step will be completed automatically by the system without human interaction.
|
|
17
|
-
*/
|
|
18
|
-
get isSystemStep(): boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Indicates whether this step represents a state where the item has been deleted or canceled on the translation management system.
|
|
21
|
-
*/
|
|
22
|
-
get isTerminated(): boolean;
|
|
23
|
-
getInternalModel: () => BackendTmsWorkflowStep;
|
|
24
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import type { TranslationDetails as BackendTranslationDetails } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { ItemUri } from '../itemUri';
|
|
3
|
-
import type { TranslationJobInfo } from './translationJobInfo';
|
|
4
|
-
import type { TranslationStatus } from './translationStatus';
|
|
5
|
-
export interface TranslationDetailsConstructorArgs {
|
|
6
|
-
backendModel: BackendTranslationDetails;
|
|
7
|
-
completedTranslationInfo: TranslationJobInfo | undefined;
|
|
8
|
-
inProgressTranslationInfo: ReadonlyArray<TranslationJobInfo> | undefined;
|
|
9
|
-
sourceItemUri: ItemUri | undefined;
|
|
10
|
-
sourcePublicationUri: ItemUri | undefined;
|
|
11
|
-
status: TranslationStatus | undefined;
|
|
12
|
-
targetItemUri: ItemUri | undefined;
|
|
13
|
-
targetPublicationUri: ItemUri | undefined;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Contains information about the translation state of the Item.
|
|
17
|
-
*/
|
|
18
|
-
export declare class TranslationDetails {
|
|
19
|
-
protected _backendModel: BackendTranslationDetails;
|
|
20
|
-
private _completedTranslationInfo;
|
|
21
|
-
private _inProgressTranslationInfo;
|
|
22
|
-
private _sourceItemUri;
|
|
23
|
-
private _sourcePublicationUri;
|
|
24
|
-
private _status;
|
|
25
|
-
private _targetItemUri;
|
|
26
|
-
private _targetPublicationUri;
|
|
27
|
-
constructor({ backendModel, completedTranslationInfo, inProgressTranslationInfo, sourceItemUri, sourcePublicationUri, status, targetItemUri, targetPublicationUri, }: TranslationDetailsConstructorArgs);
|
|
28
|
-
/**
|
|
29
|
-
* The `TranslationJobInfo`s containing information about the last completed translation
|
|
30
|
-
* with this Item as the target Item;
|
|
31
|
-
* null if no translation has been completed with this Item as a target Item.
|
|
32
|
-
*/
|
|
33
|
-
get completedTranslationInfo(): TranslationJobInfo | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* A list of `TranslationJobInfo`s containing information about the translations
|
|
36
|
-
* currently in progress where this Item is the target Item.
|
|
37
|
-
*/
|
|
38
|
-
get inProgressTranslationInfo(): ReadonlyArray<TranslationJobInfo> | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* The title of the source Item this `TranslationDetails` contains the translation information for.
|
|
41
|
-
*/
|
|
42
|
-
get sourceItemTitle(): string | undefined;
|
|
43
|
-
/**
|
|
44
|
-
* The TCM URI of the source Item this `TranslationDetails` contains the translation information for.
|
|
45
|
-
*/
|
|
46
|
-
get sourceItemUri(): ItemUri | undefined;
|
|
47
|
-
/**
|
|
48
|
-
* The title of the Source Publication from where Item translated.
|
|
49
|
-
*/
|
|
50
|
-
get sourcePublicationTitle(): string | undefined;
|
|
51
|
-
/**
|
|
52
|
-
* The TCM URI of the Source Publication from where Item translated.
|
|
53
|
-
*/
|
|
54
|
-
get sourcePublicationUri(): ItemUri | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* Aggregated status for particular item.
|
|
57
|
-
*/
|
|
58
|
-
get status(): TranslationStatus | undefined;
|
|
59
|
-
/**
|
|
60
|
-
* The title of the Item this `TranslationDetails` contains the translation information for.
|
|
61
|
-
*/
|
|
62
|
-
get targetItemTitle(): string | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* The TCM URI of the Item this `TranslationDetails` contains the translation information for.
|
|
65
|
-
*/
|
|
66
|
-
get targetItemUri(): ItemUri | undefined;
|
|
67
|
-
/**
|
|
68
|
-
* The title of the Publication containing the Item.
|
|
69
|
-
*/
|
|
70
|
-
get targetPublicationTitle(): string | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* The TCM URI of the Publication containing the Item.
|
|
73
|
-
*/
|
|
74
|
-
get targetPublicationUri(): ItemUri | undefined;
|
|
75
|
-
getInternalModel: () => BackendTranslationDetails;
|
|
76
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import type { ErrorDetails as BackendErrorDetails } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { ItemUri } from '../itemUri';
|
|
3
|
-
import type { TranslationErrorSeverity } from './translationErrorSeverity';
|
|
4
|
-
import type { TranslationExceptionDetails } from './translationExceptionDetails';
|
|
5
|
-
export interface TranslationErrorDetailsConstructorArgs {
|
|
6
|
-
backendModel: BackendErrorDetails;
|
|
7
|
-
exceptionDetails: TranslationExceptionDetails | undefined;
|
|
8
|
-
severity: TranslationErrorSeverity | undefined;
|
|
9
|
-
itemSourceUri: ItemUri | undefined;
|
|
10
|
-
itemTargetUri: ItemUri | undefined;
|
|
11
|
-
jobUri: ItemUri | undefined;
|
|
12
|
-
}
|
|
13
|
-
export declare class TranslationErrorDetails {
|
|
14
|
-
protected _backendModel: BackendErrorDetails;
|
|
15
|
-
private _exceptionDetails;
|
|
16
|
-
private _severity;
|
|
17
|
-
private _itemSourceUri;
|
|
18
|
-
private _itemTargetUri;
|
|
19
|
-
private _jobUri;
|
|
20
|
-
constructor({ backendModel, exceptionDetails, itemSourceUri, itemTargetUri, jobUri, severity, }: TranslationErrorDetailsConstructorArgs);
|
|
21
|
-
/**
|
|
22
|
-
* Exception details for the error.
|
|
23
|
-
*/
|
|
24
|
-
get exceptionDetails(): TranslationExceptionDetails | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Id of the Translation Job, or 0 if the error is not associated with a specific job.
|
|
27
|
-
*/
|
|
28
|
-
get jobId(): number;
|
|
29
|
-
/**
|
|
30
|
-
* Title of the Translation Job, or `undefined` if the error is not associated with a specific job.
|
|
31
|
-
*/
|
|
32
|
-
get jobTitle(): string | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Severity of the error.
|
|
35
|
-
*/
|
|
36
|
-
get severity(): TranslationErrorSeverity | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* Id of the source language, or `undefined` if the error is not associated with a specific source language.
|
|
39
|
-
*/
|
|
40
|
-
get sourceLanguageId(): string | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* Id of the target language, or `undefined` if the error is not associated with a specific target language.
|
|
43
|
-
*/
|
|
44
|
-
get targetLanguageId(): string | undefined;
|
|
45
|
-
/**
|
|
46
|
-
* Current title of the target Item, or `undefined` of the error is not associated with a specific target Item.
|
|
47
|
-
*/
|
|
48
|
-
get itemCurrentTargetTitle(): string | undefined;
|
|
49
|
-
/**
|
|
50
|
-
* Title the Item as it is retrieved by from the translation management system, or `undefined` if the error is not associated with a
|
|
51
|
-
* specific target Item.
|
|
52
|
-
*/
|
|
53
|
-
get itemNewTargetTitle(): string | undefined;
|
|
54
|
-
/**
|
|
55
|
-
* Title of the source Item, or `undefined` if the error is not associated with a specific source Item.
|
|
56
|
-
*/
|
|
57
|
-
get itemSourceTitle(): string | undefined;
|
|
58
|
-
/**
|
|
59
|
-
* TCM URI of the source Item, or `undefined` if the item is not associated with a specific source item.
|
|
60
|
-
*/
|
|
61
|
-
get itemSourceUri(): ItemUri | undefined;
|
|
62
|
-
/**
|
|
63
|
-
* TCM URI of the target Item, or `undefined` if the item is not associated with a specific source item.
|
|
64
|
-
*/
|
|
65
|
-
get itemTargetUri(): ItemUri | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* Id of the item in TMS, or `undefined` if the error is not associated with a specific TMS Job.
|
|
68
|
-
*/
|
|
69
|
-
get itemId(): string | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* Id of the TMS Translation Job, or `undefined` if the error is not associated with a specific TMS job.
|
|
72
|
-
*/
|
|
73
|
-
get jobUri(): ItemUri | undefined;
|
|
74
|
-
getInternalModel: () => BackendErrorDetails;
|
|
75
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Indicates the severity of an error sending or retrieving a Translation Job.
|
|
3
|
-
*
|
|
4
|
-
* Members:
|
|
5
|
-
* * `info` - Information.
|
|
6
|
-
* * `warning` - Errors that can impact usability but does not impact sending or retrieving Items (for example old jobs not being deleted)
|
|
7
|
-
* * `error` - Errors stopping Items from being send to translation or retrieved from translation.
|
|
8
|
-
* * `unknownByClient` - Special reserved value used to notify an older API version client about the presence of an enumeration member added in a later API version.
|
|
9
|
-
* Explicitly setting this value by a client is not allowed, but client code should check it and be able to handle such cases.
|
|
10
|
-
*/
|
|
11
|
-
export type TranslationErrorSeverity = 'info' | 'warning' | 'error' | 'unknownByClient';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ExceptionDetails as BackendTranslationExceptionDetails } from '@tridion-sites/open-api-client';
|
|
2
|
-
export interface TranslationExceptionDetailsConstructorArgs {
|
|
3
|
-
backendModel: BackendTranslationExceptionDetails;
|
|
4
|
-
innerException: TranslationExceptionDetails | undefined;
|
|
5
|
-
}
|
|
6
|
-
export declare class TranslationExceptionDetails {
|
|
7
|
-
protected _backendModel: BackendTranslationExceptionDetails;
|
|
8
|
-
private _innerException;
|
|
9
|
-
constructor({ backendModel, innerException }: TranslationExceptionDetailsConstructorArgs);
|
|
10
|
-
get exceptionTypeName(): string | undefined;
|
|
11
|
-
get innerException(): TranslationExceptionDetails | undefined;
|
|
12
|
-
get localizedMessages(): Record<string, string> | undefined;
|
|
13
|
-
get message(): string | undefined;
|
|
14
|
-
get originalException(): any | undefined;
|
|
15
|
-
get stackTrace(): string | undefined;
|
|
16
|
-
getInternalModel: () => BackendTranslationExceptionDetails;
|
|
17
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { TranslationInfo as BackendTranslationInfo } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { TmsLanguage } from './tmsLanguage';
|
|
3
|
-
import type { TranslationDetails } from './translationDetails';
|
|
4
|
-
export interface TranslationInfoConstructorArgs {
|
|
5
|
-
backendModel: BackendTranslationInfo;
|
|
6
|
-
contextLanguage: TmsLanguage | undefined;
|
|
7
|
-
translationFrom: TranslationDetails | undefined;
|
|
8
|
-
translationTo: ReadonlyArray<TranslationDetails> | undefined;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Contains information about the translation state of the Item.
|
|
12
|
-
*/
|
|
13
|
-
export declare class TranslationInfo {
|
|
14
|
-
protected _backendModel: BackendTranslationInfo;
|
|
15
|
-
private _contextLanguage;
|
|
16
|
-
private _translationFrom;
|
|
17
|
-
private _translationTo;
|
|
18
|
-
constructor({ backendModel, contextLanguage, translationFrom, translationTo }: TranslationInfoConstructorArgs);
|
|
19
|
-
/**
|
|
20
|
-
* The `TmsLanguage` of the context Publication (containing the current item).
|
|
21
|
-
*/
|
|
22
|
-
get contextLanguage(): TmsLanguage | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* The `TranslationDetails` for this Item as the target Item.
|
|
25
|
-
*/
|
|
26
|
-
get translationFrom(): TranslationDetails | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* The `TranslationDetails` for all Items that can be the target for a translation with this Item as the source Item.
|
|
29
|
-
*/
|
|
30
|
-
get translationTo(): ReadonlyArray<TranslationDetails> | undefined;
|
|
31
|
-
getInternalModel: () => BackendTranslationInfo;
|
|
32
|
-
}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import type { TranslationJob as BackendTranslationJob } from '@tridion-sites/open-api-client';
|
|
2
|
-
import type { ItemUri } from '../itemUri';
|
|
3
|
-
import type { Link } from '../links';
|
|
4
|
-
import type { FieldsValueDictionary } from '../repositoryLocalObject';
|
|
5
|
-
import type { TargetLanguage } from './targetLanguage';
|
|
6
|
-
import type { TmsLanguage } from './tmsLanguage';
|
|
7
|
-
import type { TranslationErrorDetails } from './translationErrorDetails';
|
|
8
|
-
import type { TranslationErrorSeverity } from './translationErrorSeverity';
|
|
9
|
-
import type { TranslationJobDisplayState } from './translationJobDisplayState';
|
|
10
|
-
import type { TranslationJobItem } from './translationJobItem';
|
|
11
|
-
import type { TranslationJobPriority } from './translationJobPriority';
|
|
12
|
-
import type { TranslationJobState } from './translationJobState';
|
|
13
|
-
import type { TranslationJobType } from './translationJobType';
|
|
14
|
-
import type { TranslationWorkflowStatus } from './translationWorkflowStatus';
|
|
15
|
-
export interface TranslationJobConstructorArgs {
|
|
16
|
-
backendModel: BackendTranslationJob;
|
|
17
|
-
addedItems: ReadonlyArray<TranslationJobItem> | undefined;
|
|
18
|
-
configurationItemUri: ItemUri | undefined;
|
|
19
|
-
creationDate: Date | undefined;
|
|
20
|
-
creator: Link | undefined;
|
|
21
|
-
displayState: TranslationJobDisplayState | undefined;
|
|
22
|
-
errors: ReadonlyArray<TranslationErrorDetails> | undefined;
|
|
23
|
-
errorSeverityLevel: TranslationErrorSeverity | undefined;
|
|
24
|
-
language: TmsLanguage | undefined;
|
|
25
|
-
priority: TranslationJobPriority | undefined;
|
|
26
|
-
requiredDate: Date | undefined;
|
|
27
|
-
revisionDate: Date | undefined;
|
|
28
|
-
revisor: Link | undefined;
|
|
29
|
-
state: TranslationJobState | undefined;
|
|
30
|
-
targetLanguages: ReadonlyArray<TargetLanguage> | undefined;
|
|
31
|
-
type: ReadonlyArray<TranslationJobType> | undefined;
|
|
32
|
-
workflowStatus: ReadonlyArray<TranslationWorkflowStatus> | undefined;
|
|
33
|
-
}
|
|
34
|
-
export declare class TranslationJob {
|
|
35
|
-
protected _backendModel: BackendTranslationJob;
|
|
36
|
-
private _addedItems;
|
|
37
|
-
private _creator;
|
|
38
|
-
private _configurationItemUri;
|
|
39
|
-
private _displayState;
|
|
40
|
-
private _errors;
|
|
41
|
-
private _errorSeverityLevel;
|
|
42
|
-
private _language;
|
|
43
|
-
private _priority;
|
|
44
|
-
private _revisor;
|
|
45
|
-
private _state;
|
|
46
|
-
private _targetLanguages;
|
|
47
|
-
private _type;
|
|
48
|
-
private _workflowStatus;
|
|
49
|
-
private _creationDate;
|
|
50
|
-
private _requiredDate;
|
|
51
|
-
private _revisionDate;
|
|
52
|
-
constructor({ addedItems, backendModel, configurationItemUri, creationDate, creator, displayState, errors, errorSeverityLevel, language, priority, requiredDate, revisionDate, revisor, state, targetLanguages, type, workflowStatus, }: TranslationJobConstructorArgs);
|
|
53
|
-
get id(): number | undefined;
|
|
54
|
-
get title(): string | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* Collection containing the `AddedItem`s that have been added to this Translation Job.
|
|
57
|
-
* The `AddedItem`s represent either an Item that will be translated (for example a Component) or
|
|
58
|
-
* an Item that contains the Items that will be translated (for example a Folder).
|
|
59
|
-
*/
|
|
60
|
-
get addedItems(): ReadonlyArray<TranslationJobItem> | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* TCM URI of the item containing the `TranslationConfiguration` used for this Translation Job.
|
|
63
|
-
*/
|
|
64
|
-
get configurationItemUri(): ItemUri | undefined;
|
|
65
|
-
/**
|
|
66
|
-
* Title of the Publication containing the <seealso cref="P:Tridion.TranslationManager.OpenApi.V2.Dto.TranslationJob.ConfigurationItemUri" />.
|
|
67
|
-
*/
|
|
68
|
-
get contextPublicationTitle(): string | undefined;
|
|
69
|
-
/**
|
|
70
|
-
* The date the Translation Job was created (in UTC).
|
|
71
|
-
*/
|
|
72
|
-
get creationDate(): Date | undefined;
|
|
73
|
-
/**
|
|
74
|
-
* A link to the user who created the Translation Job.
|
|
75
|
-
*/
|
|
76
|
-
get creator(): Link | undefined;
|
|
77
|
-
get displayState(): TranslationJobDisplayState | undefined;
|
|
78
|
-
/**
|
|
79
|
-
* Collection of errors registered to this job.
|
|
80
|
-
*/
|
|
81
|
-
get errors(): ReadonlyArray<TranslationErrorDetails> | undefined;
|
|
82
|
-
get errorSeverityLevel(): TranslationErrorSeverity | undefined;
|
|
83
|
-
get hasError(): boolean;
|
|
84
|
-
/**
|
|
85
|
-
* Value indicating whether items that have already been translated should be included in the job.
|
|
86
|
-
*/
|
|
87
|
-
get includeItemsAlreadyTranslated(): boolean;
|
|
88
|
-
/**
|
|
89
|
-
* Value indicating if the Translation Job currently have one or more `TranslationJobQuote`s awaiting authorization (see remarks).
|
|
90
|
-
*/
|
|
91
|
-
get isAwaitingAuthorization(): boolean;
|
|
92
|
-
get language(): TmsLanguage | undefined;
|
|
93
|
-
/**
|
|
94
|
-
* Metadata associated with the Translation Job.
|
|
95
|
-
*/
|
|
96
|
-
get metadata(): FieldsValueDictionary | undefined;
|
|
97
|
-
/**
|
|
98
|
-
* TCM URI of the metadata schema used for this Translation Job.
|
|
99
|
-
*/
|
|
100
|
-
get metadataSchemaUri(): string | undefined;
|
|
101
|
-
/**
|
|
102
|
-
* The priority of the Translation Job. This value will only have an affect if `SupportsPriority` returns true.
|
|
103
|
-
*/
|
|
104
|
-
get priority(): TranslationJobPriority | undefined;
|
|
105
|
-
get progressPercentage(): number | undefined;
|
|
106
|
-
/**
|
|
107
|
-
* The due date for this job.
|
|
108
|
-
*/
|
|
109
|
-
get requiredDate(): Date | undefined;
|
|
110
|
-
get revisionDate(): Date | undefined;
|
|
111
|
-
/**
|
|
112
|
-
* A link to the user who last modified the Translation Job.
|
|
113
|
-
*/
|
|
114
|
-
get revisor(): Link | undefined;
|
|
115
|
-
get state(): TranslationJobState | undefined;
|
|
116
|
-
/**
|
|
117
|
-
* Show if `TranslationJob` support setting of priority.
|
|
118
|
-
*/
|
|
119
|
-
get supportsPriority(): boolean;
|
|
120
|
-
/**
|
|
121
|
-
* Show if `TranslationJob` support setting required rate.
|
|
122
|
-
*/
|
|
123
|
-
get supportsRequiredDate(): boolean;
|
|
124
|
-
/**
|
|
125
|
-
* List of target languages available for this `TranslationJob`.
|
|
126
|
-
*/
|
|
127
|
-
get targetLanguages(): ReadonlyArray<TargetLanguage> | undefined;
|
|
128
|
-
/**
|
|
129
|
-
* Value indicating if the Translation Job is a translation to the Publication of the `ConfigurationItemUri`
|
|
130
|
-
* (Pull job) or from the Publication (Push job).
|
|
131
|
-
*/
|
|
132
|
-
get type(): ReadonlyArray<TranslationJobType> | undefined;
|
|
133
|
-
/**
|
|
134
|
-
* Item count of language/workflowstep pairs.
|
|
135
|
-
*/
|
|
136
|
-
get workflowStatus(): ReadonlyArray<TranslationWorkflowStatus> | undefined;
|
|
137
|
-
getInternalModel: () => BackendTranslationJob;
|
|
138
|
-
}
|