swagger

package module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2020 License: MIT Imports: 21 Imported by: 0

README ¶

Go API client for Memsource

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: All
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "dragosv/memsource-api"

Documentation for API Endpoints

All URIs are relative to https://cloud.memsource.com/web

Class Method HTTP request Description
AnalysisApi AnalysesBatchEditV2 Put /api2/v2/analyses/bulk Edit analyses (batch)
AnalysisApi BatchEditAnalyses Put /api2/v1/analyses/bulk Edit analyses (batch)
AnalysisApi BulkDeleteAnalyses Delete /api2/v1/analyses/bulk Delete analyses (batch)
AnalysisApi CreateAnalyseAsync Post /api2/v1/analyses Create analysis
AnalysisApi CreateAnalyseAsync1 Post /api2/v2/analyses Create analysis
AnalysisApi CreateAnalysesForLangs Post /api2/v1/analyses/byLanguages Create analyses by languages
AnalysisApi CreateAnalysesForProviders Post /api2/v1/analyses/byProviders Create analyses by providers
AnalysisApi Delete Delete /api2/v1/analyses/{analyseId} Delete analysis
AnalysisApi DownloadAnalyse Get /api2/v1/analyses/{analyseId}/download Download analysis
AnalysisApi GetAnalyse Get /api2/v1/analyses/{analyseId} Get analysis
AnalysisApi GetAnalyseLanguagePart Get /api2/v1/analyses/{analyseId}/analyseLanguageParts/{analyseLanguagePartId} Get analysis language part
AnalysisApi GetAnalyseV2 Get /api2/v2/analyses/{analyseId} Get analysis
AnalysisApi GetAnalyseV3 Get /api2/v3/analyses/{analyseId} Get analysis
AnalysisApi GetJobPartAnalyse Get /api2/v1/analyses/{analyseId}/jobs/{jobUid} Get jobs analysis
AnalysisApi ListByProject Get /api2/v1/projects/{projectUid}/analyses List analyses by project
AnalysisApi ListByProjectV2 Get /api2/v2/projects/{projectUid}/analyses List analyses by project
AnalysisApi ListJobParts Get /api2/v1/analyses/{analyseId}/analyseLanguageParts/{analyseLanguagePartId}/jobs List jobs of analyses
AnalysisApi ListPartAnalyse Get /api2/v1/projects/{projectUid}/jobs/{jobUid}/analyses List analyses
AnalysisApi ListPartAnalyse1 Get /api2/v2/projects/{projectUid}/jobs/{jobUid}/analyses List analyses
AnalyticsApi Aggregate Post /api2/v1/analytics/{type} Run analytics aggregation
AsyncRequestApi GetAsyncRequest Get /api2/v1/async/{asyncRequestId} Get asynchronous request
AsyncRequestApi ListPendingRequests Get /api2/v1/async List pending requests
AuthenticationApi Login Post /api2/v1/auth/login Login
AuthenticationApi LoginByGoogle Post /api2/v1/auth/loginWithGoogle Login with Google
AuthenticationApi LoginOther Post /api2/v1/auth/loginOther Login as another user
AuthenticationApi LoginToSession Post /api2/v1/auth/loginToSession Login to session
AuthenticationApi Logout Post /api2/v1/auth/logout Logout
AuthenticationApi WhoAmI Get /api2/v1/auth/whoAmI Who am I
BilingualFileApi CompareBilingualFile Post /api2/v1/bilingualFiles/compare Compare bilingual file
BilingualFileApi ConvertBilingualFile Post /api2/v1/bilingualFiles/convert Convert bilingual file
BilingualFileApi GetBilingualFile Post /api2/v1/projects/{projectUid}/jobs/bilingualFile Download bilingual file
BilingualFileApi GetPreviewFile Post /api2/v1/bilingualFiles/preview Download preview
BilingualFileApi UploadBilingualFile Put /api2/v1/bilingualFiles Upload bilingual file
BusinessUnitApi CreateBusinessUnit Post /api2/v1/businessUnits Create business unit
BusinessUnitApi DeleteBusinessUnit Delete /api2/v1/businessUnits/{businessUnitId} Delete business unit
BusinessUnitApi GetBusinessUnit Get /api2/v1/businessUnits/{businessUnitId} Get business unit
BusinessUnitApi ListBusinessUnits Get /api2/v1/businessUnits List business units
BusinessUnitApi UpdateBusinessUnit Put /api2/v1/businessUnits/{businessUnitId} Edit business unit
ClientApi CreateClient Post /api2/v1/clients Create client
ClientApi DeleteClient Delete /api2/v1/clients/{clientId} Delete client
ClientApi GetClient Get /api2/v1/clients/{clientId} Get client
ClientApi ListClients Get /api2/v1/clients List clients
ClientApi UpdateClient Put /api2/v1/clients/{clientId} Edit client
ConnectorApi GetConnector Get /api2/v1/connectors/{connectorId} Get a connector
ConnectorApi GetConnectorList Get /api2/v1/connectors List connectors
ConnectorApi GetFile Get /api2/v1/connectors/{connectorId}/folders/{folder}/files/{file} Download file
ConnectorApi GetFolder Get /api2/v1/connectors/{connectorId}/folders/{folder} List files in a subfolder
ConnectorApi GetRootFolder Get /api2/v1/connectors/{connectorId}/folders List files in root
ConnectorApi UploadFile Post /api2/v1/connectors/{connectorId}/folders/{folder} Upload a file to a subfolder of the selected connector
ConversationsApi AddLQAComment Post /api2/v1/jobs/{jobUid}/conversations/lqas/{conversationId}/comments Add LQA comment
ConversationsApi AddPlainComment Post /api2/v1/jobs/{jobUid}/conversations/plains/{conversationId}/comments Add plain comment
ConversationsApi CreateLQAConversation Post /api2/v1/jobs/{jobUid}/conversations/lqas Create LQA conversation
ConversationsApi CreateSegmentTargetConversation Post /api2/v1/jobs/{jobUid}/conversations/plains Create plain conversation
ConversationsApi DeleteLQAComment Delete /api2/v1/jobs/{jobUid}/conversations/lqas/{conversationId}/comments/{commentId} Delete LQA comment
ConversationsApi DeleteLQAConversation Delete /api2/v1/jobs/{jobUid}/conversations/lqas/{conversationId} Delete conversation
ConversationsApi DeletePlainComment Delete /api2/v1/jobs/{jobUid}/conversations/plains/{conversationId}/comments/{commentId} Delete plain comment
ConversationsApi DeletePlainConversation Delete /api2/v1/jobs/{jobUid}/conversations/plains/{conversationId} Delete plain conversation
ConversationsApi FindConversations Post /api2/v1/jobs/conversations/find Find all conversation
ConversationsApi GetLQAConversation Get /api2/v1/jobs/{jobUid}/conversations/lqas/{conversationId} Get LQA conversation
ConversationsApi GetPlainConversation Get /api2/v1/jobs/{jobUid}/conversations/plains/{conversationId} Get plain conversation
ConversationsApi ListAllConversations Get /api2/v1/jobs/{jobUid}/conversations List all conversations
ConversationsApi ListLQAConversations Get /api2/v1/jobs/{jobUid}/conversations/lqas List LQA conversations
ConversationsApi ListPlainConversations Get /api2/v1/jobs/{jobUid}/conversations/plains List plain conversations
ConversationsApi UpdateLQAComment Put /api2/v1/jobs/{jobUid}/conversations/lqas/{conversationId}/comments/{commentId} Edit LQA comment
ConversationsApi UpdateLQAConversation Put /api2/v1/jobs/{jobUid}/conversations/lqas/{conversationId} Edit LQA conversation
ConversationsApi UpdatePlainComment Put /api2/v1/jobs/{jobUid}/conversations/plains/{conversationId}/comments/{commentId} Edit plain comment
ConversationsApi UpdatePlainConversation Put /api2/v1/jobs/{jobUid}/conversations/plains/{conversationId} Edit plain conversation
DomainApi CreateDomain Post /api2/v1/domains Create domain
DomainApi DeleteDomain Delete /api2/v1/domains/{domainId} Delete domain
DomainApi GetDomain Get /api2/v1/domains/{domainId} Get domain
DomainApi ListDomains Get /api2/v1/domains List of domains
DomainApi UpdateDomain Put /api2/v1/domains/{domainId} Edit domain
EmailTemplateApi GetOrgEmailTemplate Get /api2/v1/emailTemplates/{templateId} Get email template
EmailTemplateApi ListOrgEmailTemplates Get /api2/v1/emailTemplates List email templates
FileApi CreateUrlFile Post /api2/v1/files Upload file
FileApi DeletesFile Delete /api2/v1/files/{fileUid} Delete file
FileApi GetFileJson Get /api2/v1/files/{fileUid} Get file
FileApi GetFiles Get /api2/v1/files List files
ImportSettingsApi CreateImportSettings Post /api2/v1/importSettings Create import settings
ImportSettingsApi DeleteImportSettings Delete /api2/v1/importSettings/{uid} Delete import settings
ImportSettingsApi GetImportSettings Get /api2/v1/importSettings/{uid} Get import settings
ImportSettingsApi GetImportSettings1 Get /api2/v1/importSettings/default Get organization's default import settings
ImportSettingsApi ListImportSettings Get /api2/v1/importSettings List import settings
JobApi ComparePart Post /api2/v1/projects/{projectUid}/jobs/compare Compare jobs on workflow levels
JobApi CompletedFile Get /api2/v1/projects/{projectUid}/jobs/{jobUid}/targetFile Download target file
JobApi CreateJob Post /api2/v1/projects/{projectUid}/jobs Create job
JobApi CreateTermByJob Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/termBases/createByJob Create term in job's term bases
JobApi DeleteAllTranslations Delete /api2/v1/projects/{projectUid}/jobs/translations Delete all translations
JobApi DeleteParts Delete /api2/v1/projects/{projectUid}/jobs/batch Delete job (batch)
JobApi EditPart Put /api2/v1/projects/{projectUid}/jobs/{jobUid} Edit job
JobApi EditParts Put /api2/v1/projects/{projectUid}/jobs/batch Edit jobs (batch)
JobApi FilePreview Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/preview Download preview file
JobApi FilePreviewJob Get /api2/v1/projects/{projectUid}/jobs/{jobUid}/preview Download preview file
JobApi GetBilingualFile Post /api2/v1/projects/{projectUid}/jobs/bilingualFile Download bilingual file
JobApi GetCompletedFileWarnings Get /api2/v1/projects/{projectUid}/jobs/{jobUid}/targetFileWarnings Get target file's warnings
JobApi GetOriginalFile Get /api2/v1/projects/{projectUid}/jobs/{jobUid}/original Download original file
JobApi GetPart Get /api2/v1/projects/{projectUid}/jobs/{jobUid} Get job
JobApi GetPartsWorkflowStep Get /api2/v1/projects/{projectUid}/jobs/{jobUid}/workflowStep Get job's workflowStep
JobApi GetSegmentsCount Post /api2/v1/projects/{projectUid}/jobs/segmentsCount Get segments count
JobApi GetTranslationResources Get /api2/v1/projects/{projectUid}/jobs/{jobUid}/translationResources Get translation resources
JobApi ListPartAnalyse Get /api2/v1/projects/{projectUid}/jobs/{jobUid}/analyses List analyses
JobApi ListPartAnalyse1 Get /api2/v2/projects/{projectUid}/jobs/{jobUid}/analyses List analyses
JobApi ListParts Get /api2/v1/projects/{projectUid}/jobs List jobs
JobApi ListPartsV2 Get /api2/v2/projects/{projectUid}/jobs List jobs
JobApi ListProviders1 Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/providers/suggest Get suggested providers
JobApi ListSegments Get /api2/v1/projects/{projectUid}/jobs/{jobUid}/segments Get segments
JobApi NotifyAssigned Post /api2/v1/projects/{projectUid}/jobs/notifyAssigned Notify assigned users
JobApi PreviewUrls Get /api2/v1/projects/{projectUid}/jobs/{jobUid}/previewUrl Get PDF preview
JobApi PseudoTranslate Post /api2/v1/projects/{projectUid}/jobs/pseudoTranslate Pseudo-translate job
JobApi PseudoTranslateJobPart Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/pseudoTranslate Pseudo-translates job
JobApi SearchByJob Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/transMemories/search Search job's translation memories
JobApi SearchByJob2 Post /api2/v2/projects/{projectUid}/jobs/{jobUid}/transMemories/search Search job's translation memories
JobApi SearchByJob3 Post /api2/v3/projects/{projectUid}/jobs/{jobUid}/transMemories/search Search job's translation memories
JobApi SearchPartsInProject Post /api2/v1/projects/{projectUid}/jobs/search Search jobs in project
JobApi SearchSegmentByJob Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/transMemories/searchSegment Search translation memory for segment by job
JobApi SearchTermsByJob Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/termBases/searchByJob Search job's term bases
JobApi SearchTermsByJob1 Post /api2/v2/projects/{projectUid}/jobs/{jobUid}/termBases/searchByJob Search job's term bases
JobApi SearchTermsInTextByJob Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/termBases/searchInTextByJob Search terms in text
JobApi SearchTermsInTextByJobV2 Post /api2/v2/projects/{projectUid}/jobs/{jobUid}/termBases/searchInTextByJob Search terms in text
JobApi SetStatus Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/setStatus Edit job status
JobApi Split Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/split Split job
JobApi StatusChanges Get /api2/v1/projects/{projectUid}/jobs/{jobUid}/statusChanges Get status changes
JobApi UploadBilingualFile Put /api2/v1/bilingualFiles Upload bilingual file
JobApi WebEditorLink Post /api2/v1/projects/{projectUid}/jobs/webEditor Get Web Editor URL
JobApi WebEditorLinkV2 Post /api2/v2/projects/{projectUid}/jobs/webEditor Get Web Editor URL
JobApi WildCardSearchByJob Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/transMemories/wildCardSearch Wildcard search job's translation memories
JobApi WildCardSearchByJob2 Post /api2/v2/projects/{projectUid}/jobs/{jobUid}/transMemories/wildCardSearch Wildcard search job's translation memories
JobApi WildCardSearchByJob3 Post /api2/v3/projects/{projectUid}/jobs/{jobUid}/transMemories/wildCardSearch Wildcard search job's translation memories
MachineTranslationApi MachineTranslation Post /api2/v1/machineTranslations/{mtSettingsId}/translate Translate with MT
MachineTranslationSettingsApi GetList Get /api2/v1/machineTranslateSettings List machine translate settings
MachineTranslationSettingsApi GetMTSettings Get /api2/v1/machineTranslateSettings/{mtsUid} Get machine translate settings
MachineTranslationSettingsApi GetMachineTranslateSettingsForProjectTemplate Get /api2/v1/projectTemplates/{projectTemplateId}/mtSettings Get machine translate settings
MachineTranslationSettingsApi GetStatus Get /api2/v1/machineTranslateSettings/{mtsUid}/status Get status of machine translate engine
MachineTranslationSettingsApi GetTranslationResources Get /api2/v1/projects/{projectUid}/jobs/{jobUid}/translationResources Get translation resources
MappingApi GetMappingForTask Get /api2/v1/mappings/tasks/{id} Returns mapping for taskId (mxliff)
NetRateSchemeApi CreateDiscountScheme Post /api2/v1/netRateSchemes Create net rate scheme
NetRateSchemeApi GetDiscountScheme Get /api2/v1/netRateSchemes/{netRateSchemeId} Get net rate scheme
NetRateSchemeApi GetDiscountSchemeWorkflowStep Get /api2/v1/netRateSchemes/{netRateSchemeId}/workflowStepNetSchemes/{netRateSchemeWorkflowStepId} Get scheme for workflow step
NetRateSchemeApi GetDiscountSchemeWorkflowSteps Get /api2/v1/netRateSchemes/{netRateSchemeId}/workflowStepNetSchemes List schemes for workflow step
NetRateSchemeApi GetDiscountSchemes Get /api2/v1/netRateSchemes List net rate schemes
PriceListApi CreateLanguagePair Post /api2/v1/priceLists/{priceListId}/priceSets Add language pairs
PriceListApi CreatePriceList Post /api2/v1/priceLists Create price list
PriceListApi DeleteLanguagePair Delete /api2/v1/priceLists/{priceListId}/priceSets/{sourceLanguage}/{targetLanguage} Remove language pair
PriceListApi DeleteLanguagePairs Delete /api2/v1/priceLists/{priceListId}/priceSets Remove language pairs
PriceListApi DeletePriceList Delete /api2/v1/priceLists/{priceListId} Delete price list
PriceListApi GetListOfPriceList Get /api2/v1/priceLists List price lists
PriceListApi GetPriceList Get /api2/v1/priceLists/{priceListId} Get price list
PriceListApi GetPricesWithWorkflowSteps Get /api2/v1/priceLists/{priceListId}/priceSets List price sets
PriceListApi SetMinimumPriceForSet Post /api2/v1/priceLists/{priceListId}/priceSets/minimumPrices Edit minimum prices
PriceListApi SetPrices Post /api2/v1/priceLists/{priceListId}/priceSets/prices Edit prices
PriceListApi UpdatePriceList Put /api2/v1/priceLists/{priceListId} Update price list
ProjectApi AddTargetLanguageToProject Post /api2/v1/projects/{projectUid}/targetLangs Add target languages
ProjectApi AddWorkflowSteps Post /api2/v1/projects/{projectUid}/workflowSteps Add workflow steps
ProjectApi AssignLinguistsFromTemplate Post /api2/v1/projects/{projectUid}/applyTemplate/{templateId}/assignProviders Assigns providers from template
ProjectApi AssignLinguistsFromTemplateToJobParts Post /api2/v1/projects/{projectUid}/applyTemplate/{templateId}/assignProviders/forJobParts Assigns providers from template (specific jobs)
ProjectApi AssignVendorToProject Post /api2/v1/projects/{projectUid}/assignVendor Assign vendor
ProjectApi AssignableTemplates Get /api2/v1/projects/{projectUid}/assignableTemplates List assignable templates
ProjectApi CloneProject Post /api2/v1/projects/{projectUid}/clone Clone project
ProjectApi CreateNoteRef Post /api2/v1/projects/{projectUid}/references Create project reference file
ProjectApi CreateProject Post /api2/v1/projects Create project
ProjectApi CreateProjectFromTemplate Post /api2/v1/projects/applyTemplate/{templateId} Create project from template
ProjectApi CreateProjectFromTemplateV2 Post /api2/v2/projects/applyTemplate/{templateId} Create project from template
ProjectApi DeleteProject Delete /api2/v1/projects/{projectUid} Delete project
ProjectApi DownloadReference Get /api2/v1/projects/{projectUid}/references/{referenceFileId} Get project reference
ProjectApi EditProject Put /api2/v1/projects/{projectUid} Edit project
ProjectApi EditProjectAccessSettings Put /api2/v1/projects/{projectUid}/accessSettings Edit access and security settings
ProjectApi EditProjectQualityAssuranceSettings Put /api2/v1/projects/{projectUid}/qaSettings Edit quality assurance settings
ProjectApi EnabledQualityChecks Get /api2/v1/projects/{projectUid}/qaSettingsChecks Get QA checks
ProjectApi GetAnalyseSettingsForProject Get /api2/v1/projects/{projectUid}/analyseSettings Get analyse settings
ProjectApi GetFinancialSettings Get /api2/v1/projects/{projectUid}/financialSettings Get financial settings
ProjectApi GetImportSettings2 Get /api2/v1/projects/{projectUid}/importSettings Get projects's default import settings
ProjectApi GetMtSettingsForProject Get /api2/v1/projects/{projectUid}/mtSettings Get machine translate settings
ProjectApi GetPreTranslateSettingsForProject Get /api2/v1/projects/{projectUid}/preTranslateSettings Get Pre-translate settings
ProjectApi GetProject Get /api2/v1/projects/{projectUid} Get project
ProjectApi GetProjectAccessSettings Get /api2/v1/projects/{projectUid}/accessSettings Get access and security settings
ProjectApi GetProjectAssignments Get /api2/v1/projects/{projectUid}/providers List project providers
ProjectApi GetProjectQASettings Get /api2/v1/projects/{projectUid}/qaSettings Get quality assurance settings
ProjectApi GetProjectQASettingsV2 Get /api2/v2/projects/{projectUid}/qaSettings Get quality assurance settings
ProjectApi GetProjectSettings Get /api2/v1/projects/{projectUid}/lqaSettings Get LQA settings
ProjectApi GetProjectTermBases Get /api2/v1/projects/{projectUid}/termBases Get term bases
ProjectApi GetProjectTransMemories Get /api2/v1/projects/{projectUid}/transMemories Get translation memories
ProjectApi GetProjectWorkflowSteps Get /api2/v1/projects/{projectUid}/workflowSteps Get workflow steps
ProjectApi GetQuotesForProject Get /api2/v1/projects/{projectUid}/quotes List quotes
ProjectApi ListAssignedProjects Get /api2/v1/users/{userId}/projects List assigned projects
ProjectApi ListByProject Get /api2/v1/projects/{projectUid}/analyses List analyses by project
ProjectApi ListByProjectV2 Get /api2/v2/projects/{projectUid}/analyses List analyses by project
ProjectApi ListProjects Get /api2/v1/projects List projects
ProjectApi ListProviders Post /api2/v1/projects/{projectUid}/providers/suggest Get suggested providers
ProjectApi SearchSegment Post /api2/v1/projects/{projectUid}/transMemories/searchSegmentInProject Search translation memory for segment in the project
ProjectApi SetFinancialSettings Put /api2/v1/projects/{projectUid}/financialSettings Edit financial settings
ProjectApi SetMtSettingsForProject Put /api2/v1/projects/{projectUid}/mtSettings Edit machine translate settings
ProjectApi SetMtSettingsPerLanguageForProject Put /api2/v1/projects/{projectUid}/mtSettingsPerLanguage Edit machine translate settings per language
ProjectApi SetProjectQASettingsV2 Put /api2/v2/projects/{projectUid}/qaSettings Edit quality assurance settings
ProjectApi SetProjectStatus Post /api2/v1/projects/{projectUid}/setStatus Edit project status
ProjectApi SetProjectTermBases Put /api2/v1/projects/{projectUid}/termBases Edit term bases
ProjectApi SetProjectTransMemories Put /api2/v1/projects/{projectUid}/transMemories Edit translation memories
ProjectApi SetProjectTransMemoriesV2 Put /api2/v2/projects/{projectUid}/transMemories Edit translation memories
ProjectReferenceFileApi CreateNoteRef Post /api2/v1/projects/{projectUid}/references Create project reference file
ProjectReferenceFileApi DownloadReference Get /api2/v1/projects/{projectUid}/references/{referenceFileId} Get project reference
ProjectTemplateApi AssignLinguistsFromTemplate Post /api2/v1/projects/{projectUid}/applyTemplate/{templateId}/assignProviders Assigns providers from template
ProjectTemplateApi AssignLinguistsFromTemplateToJobParts Post /api2/v1/projects/{projectUid}/applyTemplate/{templateId}/assignProviders/forJobParts Assigns providers from template (specific jobs)
ProjectTemplateApi AssignableTemplates Get /api2/v1/projects/{projectUid}/assignableTemplates List assignable templates
ProjectTemplateApi CreateProjectFromTemplate Post /api2/v1/projects/applyTemplate/{templateId} Create project from template
ProjectTemplateApi CreateProjectFromTemplateV2 Post /api2/v2/projects/applyTemplate/{templateId} Create project from template
ProjectTemplateApi CreateProjectTemplate Post /api2/v1/projectTemplates Create project template
ProjectTemplateApi DeleteProjectTemplate Delete /api2/v1/projectTemplates/{projectTemplateId} Delete project template
ProjectTemplateApi EditProjectTemplate Put /api2/v1/projectTemplates/{projectTemplateId} Edit project template
ProjectTemplateApi GetAnalyseSettingsForProjectTemplate Get /api2/v1/projectTemplates/{projectTemplateId}/analyseSettings Get analyse settings
ProjectTemplateApi GetMachineTranslateSettingsForProjectTemplate Get /api2/v1/projectTemplates/{projectTemplateId}/mtSettings Get machine translate settings
ProjectTemplateApi GetPreTranslateSettingsForProjectTemplate Get /api2/v1/projectTemplates/{projectTemplateId}/preTranslateSettings Get Pre-translate settings
ProjectTemplateApi GetProjectTemplate Get /api2/v1/projectTemplates/{projectTemplateId} Get project template
ProjectTemplateApi GetProjectTemplateTermBases Get /api2/v1/projectTemplates/{projectTemplateId}/termBases Get term bases
ProjectTemplateApi GetProjectTemplateTransMemories Get /api2/v1/projectTemplates/{projectTemplateId}/transMemories Get translation memories
ProjectTemplateApi GetProjectTemplates Get /api2/v1/projectTemplates List project templates
ProjectTemplateApi SetProjectTemplateTermBases Put /api2/v1/projectTemplates/{projectTemplateId}/termBases Edit term bases in project template
ProjectTemplateApi SetProjectTemplateTransMemories Put /api2/v1/projectTemplates/{projectTemplateId}/transMemories Edit translation memories
ProviderApi GetProjectAssignments Get /api2/v1/projects/{projectUid}/providers List project providers
ProviderApi ListProviders Post /api2/v1/projects/{projectUid}/providers/suggest Get suggested providers
ProviderApi ListProviders1 Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/providers/suggest Get suggested providers
QualityAssuranceApi AddIgnoredWarnings Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/qualityAssurances/ignoredWarnings Add ignored warnings
QualityAssuranceApi DeleteIgnoredWarnings Delete /api2/v1/projects/{projectUid}/jobs/{jobUid}/qualityAssurances/ignoredWarnings Delete ignored warnings
QualityAssuranceApi EnabledQualityChecksForJob Get /api2/v2/projects/{projectUid}/jobs/qualityAssurances/settings Get QA settings
QualityAssuranceApi EnabledQualityChecksForJob1 Get /api2/v2/projects/{projectUid}/jobs/{jobUid}/qualityAssurances/settings Get QA settings for job
QualityAssuranceApi RunQaForJobPart Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/qualityAssurances/run Run quality assurance
QualityAssuranceApi RunQaForJobPartV2 Post /api2/v2/projects/{projectUid}/jobs/{jobUid}/qualityAssurances/run Run quality assurance
QualityAssuranceApi RunQaForJobPartV3 Post /api2/v3/projects/{projectUid}/jobs/{jobUid}/qualityAssurances/run Run quality assurance
QualityAssuranceApi RunQaForJobParts Post /api2/v1/projects/{projectUid}/jobs/qualityAssurances/run Run quality assurance (batch)
QualityAssuranceApi RunQaForJobPartsV2 Post /api2/v2/projects/{projectUid}/jobs/qualityAssurances/run Run quality assurance (batch)
QualityAssuranceApi RunQaForJobPartsV3 Post /api2/v3/projects/{projectUid}/jobs/qualityAssurances/run Run quality assurance (batch)
QualityAssuranceApi RunQaForSegments Post /api2/v2/projects/{projectUid}/jobs/qualityAssurances/segments/run Run quality assurance on selected segments
QualityAssuranceApi RunQaForSegmentsV3 Post /api2/v3/projects/{projectUid}/jobs/qualityAssurances/segments/run Run quality assurance on selected segments
QualityAssuranceApi UpdateIgnoredChecks Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/qualityAssurances/ignoreChecks Edit ignored checks
QuoteApi CreateQuote Post /api2/v1/quotes Create quote
QuoteApi CreateQuoteV2 Post /api2/v2/quotes Create quote
QuoteApi DeleteQuote Delete /api2/v1/quotes/{quoteId} Delete quote
QuoteApi Get1 Get /api2/v1/quotes/{quoteId} Get quote
SCIMApi CreateUserSCIM Post /api2/v1/scim/Users Create user using SCIM
SCIMApi DeleteUser Delete /api2/v1/scim/Users/{userId} Delete user using SCIM
SCIMApi EditUser Put /api2/v1/scim/Users/{userId} Edit user using SCIM
SCIMApi GetResourceTypes Get /api2/v1/scim/ResourceTypes List the types of SCIM Resources available
SCIMApi GetSchemaByUrn Get /api2/v1/scim/Schemas/{schemaUrn} Get supported SCIM Schema by urn
SCIMApi GetSchemas Get /api2/v1/scim/Schemas Get supported SCIM Schemas
SCIMApi GetScimUser Get /api2/v1/scim/Users/{userId} Get user
SCIMApi GetServiceProviderConfigDto Get /api2/v1/scim/ServiceProviderConfig Retrieve the Service Provider's Configuration
SCIMApi PatchUser Patch /api2/v1/scim/Users/{userId} Patch user using SCIM
SCIMApi SearchUsers Get /api2/v1/scim/Users Search users
SegmentApi GetSegmentsCount Post /api2/v1/projects/{projectUid}/jobs/segmentsCount Get segments count
SegmentApi ListSegments Get /api2/v1/projects/{projectUid}/jobs/{jobUid}/segments Get segments
SegmentationRulesApi CreateSegmentationRule Post /api2/v1/segmentationRules Create segmentation rule
SegmentationRulesApi DeletesSegmentationRule Delete /api2/v1/segmentationRules/{segRuleId} Delete segmentation rule
SegmentationRulesApi GetListOfSegmentationRules Get /api2/v1/segmentationRules List segmentation rules
SegmentationRulesApi GetSegmentationRule Get /api2/v1/segmentationRules/{segRuleId} Get segmentation rule
SegmentationRulesApi UpdatesSegmentationRule Put /api2/v1/segmentationRules/{segRuleId} Edit segmentation rule
SpellCheckApi AddWord Post /api2/v1/spellCheck/words Add word to dictionary
SpellCheckApi Check Post /api2/v1/spellCheck/check Spell check
SpellCheckApi CheckByJob Post /api2/v1/spellCheck/check/{jobUid} Spell check for job
SpellCheckApi Suggest Post /api2/v1/spellCheck/suggest Suggest a word
SubDomainApi CreateSubDomain Post /api2/v1/subDomains Create subdomain
SubDomainApi DeleteSubDomain Delete /api2/v1/subDomains/{subDomainId} Delete subdomain
SubDomainApi GetSubDomain Get /api2/v1/subDomains/{subDomainId} Get subdomain
SubDomainApi ListSubDomains Get /api2/v1/subDomains List subdomains
SubDomainApi UpdateSubDomain Put /api2/v1/subDomains/{subDomainId} Edit subdomain
SupportedLanguagesApi ListOfLanguages Get /api2/v1/languages List supported languages
TermBaseApi BrowseTerms Post /api2/v1/termBases/{termBaseId}/browse Browse term base
TermBaseApi ClearTermBase Delete /api2/v1/termBases/{termBaseId}/terms Clear term base
TermBaseApi CreateTerm Post /api2/v1/termBases/{termBaseId}/terms Create term
TermBaseApi CreateTermBase Post /api2/v1/termBases Create term base
TermBaseApi CreateTermByJob Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/termBases/createByJob Create term in job's term bases
TermBaseApi DeleteConcept Delete /api2/v1/termBases/{termBaseId}/concepts/{conceptId} Delete concept
TermBaseApi DeleteConcepts Delete /api2/v1/termBases/{termBaseId}/concepts Delete concepts
TermBaseApi DeleteTerm Delete /api2/v1/termBases/{termBaseId}/terms/{termId} Delete term
TermBaseApi DeleteTermBase Delete /api2/v1/termBases/{termBaseId} Delete term base
TermBaseApi ExportTermBase Get /api2/v1/termBases/{termBaseId}/export Export term base
TermBaseApi GetLastBackgroundTask Get /api2/v1/termBases/{termBaseId}/lastBackgroundTask Last import status
TermBaseApi GetProjectTemplateTermBases Get /api2/v1/projectTemplates/{projectTemplateId}/termBases Get term bases
TermBaseApi GetTerm Get /api2/v1/termBases/{termBaseId}/terms/{termId} Get term
TermBaseApi GetTermBase Get /api2/v1/termBases/{termBaseId} Get term base
TermBaseApi GetTermBaseMetadata Get /api2/v1/termBases/{termBaseId}/metadata Get term base metadata
TermBaseApi GetTranslationResources Get /api2/v1/projects/{projectUid}/jobs/{jobUid}/translationResources Get translation resources
TermBaseApi ImportTermBase Post /api2/v1/termBases/{termBaseId}/upload Upload term base
TermBaseApi ListTermBases Get /api2/v1/termBases List term bases
TermBaseApi ListTermsOfConcept Get /api2/v1/termBases/{termBaseId}/concepts/{conceptId}/terms Get terms of concept
TermBaseApi SearchTerms Post /api2/v1/termBases/{termBaseId}/search Search term base
TermBaseApi SearchTermsByJob Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/termBases/searchByJob Search job's term bases
TermBaseApi SearchTermsByJob1 Post /api2/v2/projects/{projectUid}/jobs/{jobUid}/termBases/searchByJob Search job's term bases
TermBaseApi SearchTermsInTextByJob Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/termBases/searchInTextByJob Search terms in text
TermBaseApi SearchTermsInTextByJobV2 Post /api2/v2/projects/{projectUid}/jobs/{jobUid}/termBases/searchInTextByJob Search terms in text
TermBaseApi SetProjectTemplateTermBases Put /api2/v1/projectTemplates/{projectTemplateId}/termBases Edit term bases in project template
TermBaseApi UpdateTerm Put /api2/v1/termBases/{termBaseId}/terms/{termId} Edit term
TermBaseApi UpdateTermBase Put /api2/v1/termBases/{termBaseId} Edit term base
TranslationApi HumanTranslate Post /api2/v1/projects/{projectUid}/jobs/humanTranslate Human translate (Gengo or Unbabel)
TranslationApi MachineTranslationJob Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/translations/translateWithMachineTranslation Translate using machine translation
TranslationApi PreTranslate Post /api2/v1/projects/{projectUid}/jobs/preTranslate Pre-translate job
TranslationMemoryApi AddTargetLangToTransMemory Post /api2/v1/transMemories/{transMemoryId}/targetLanguages Add target language to translation memory
TranslationMemoryApi ClearTransMemory Delete /api2/v1/transMemories/{transMemoryId}/segments Delete all segments
TranslationMemoryApi CreateTransMemory Post /api2/v1/transMemories Create translation memory
TranslationMemoryApi DeleteSourceAndTranslations Delete /api2/v1/transMemories/{transMemoryId}/segments/{segmentId} Delete both source and translation
TranslationMemoryApi DeleteTransMemory Delete /api2/v1/transMemories/{transMemoryId} Delete translation memory
TranslationMemoryApi DeleteTranslation Delete /api2/v1/transMemories/{transMemoryId}/segments/{segmentId}/lang/{lang} Delete segment of given language
TranslationMemoryApi DownloadSearchResult Get /api2/v1/transMemories/downloadExport/{asyncRequestId} Download export
TranslationMemoryApi EditTransMemory Put /api2/v1/transMemories/{transMemoryId} Edit translation memory
TranslationMemoryApi Export Get /api2/v1/transMemories/{transMemoryId}/export Export translation memory
TranslationMemoryApi ExportByQueryAsync Post /api2/v1/transMemories/{transMemoryId}/exportByQueryAsync Search translation memory
TranslationMemoryApi ExportV2 Post /api2/v2/transMemories/{transMemoryId}/export Export translation memory
TranslationMemoryApi GetBackgroundTasks Get /api2/v1/transMemories/{transMemoryId}/lastBackgroundTask Get last task information
TranslationMemoryApi GetMetadata Get /api2/v1/transMemories/{transMemoryId}/metadata Get translation memory metadata
TranslationMemoryApi GetProjectTemplateTransMemories Get /api2/v1/projectTemplates/{projectTemplateId}/transMemories Get translation memories
TranslationMemoryApi GetRelatedProjects Get /api2/v1/transMemories/{transMemoryId}/relatedProjects List related projects
TranslationMemoryApi GetTransMemory Get /api2/v1/transMemories/{transMemoryId} Get translation memory
TranslationMemoryApi GetTranslationResources Get /api2/v1/projects/{projectUid}/jobs/{jobUid}/translationResources Get translation resources
TranslationMemoryApi ImportTransMemory Post /api2/v1/transMemories/{transMemoryId}/import Import segments
TranslationMemoryApi InsertToTransMemory Post /api2/v1/transMemories/{transMemoryId}/segments Insert segment
TranslationMemoryApi ListTransMemories Get /api2/v1/transMemories List translation memories
TranslationMemoryApi Search Post /api2/v1/transMemories/{transMemoryId}/search Search translation memory (sync)
TranslationMemoryApi SearchByJob Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/transMemories/search Search job's translation memories
TranslationMemoryApi SearchByJob3 Post /api2/v3/projects/{projectUid}/jobs/{jobUid}/transMemories/search Search job's translation memories
TranslationMemoryApi SearchSegment Post /api2/v1/projects/{projectUid}/transMemories/searchSegmentInProject Search translation memory for segment in the project
TranslationMemoryApi SearchSegmentByJob Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/transMemories/searchSegment Search translation memory for segment by job
TranslationMemoryApi SetProjectTemplateTransMemories Put /api2/v1/projectTemplates/{projectTemplateId}/transMemories Edit translation memories
TranslationMemoryApi UpdateTranslation Put /api2/v1/transMemories/{transMemoryId}/segments/{segmentId} Edit segment
TranslationMemoryApi WildCardSearchByJob Post /api2/v1/projects/{projectUid}/jobs/{jobUid}/transMemories/wildCardSearch Wildcard search job's translation memories
TranslationMemoryApi WildCardSearchByJob2 Post /api2/v2/projects/{projectUid}/jobs/{jobUid}/transMemories/wildCardSearch Wildcard search job's translation memories
TranslationMemoryApi WildCardSearchByJob3 Post /api2/v3/projects/{projectUid}/jobs/{jobUid}/transMemories/wildCardSearch Wildcard search job's translation memories
TranslationMemoryApi WildcardSearch Post /api2/v1/transMemories/{transMemoryId}/wildCardSearch Wildcard search
UserApi CancelDeletion Post /api2/v1/users/{userId}/undelete Restore user
UserApi CreateUser Post /api2/v1/users Create user
UserApi CreateUserV2 Post /api2/v2/users Create user
UserApi DeleteUser1 Delete /api2/v1/users/{userId} Delete user
UserApi GetListOfUsersFiltered Get /api2/v1/users List users
UserApi GetUser Get /api2/v1/users/{userId} Get user
UserApi GetUserV2 Get /api2/v2/users/{userId} Get user
UserApi ListAssignedProjects Get /api2/v1/users/{userId}/projects List assigned projects
UserApi ListJobs Get /api2/v1/users/{userId}/jobs List assigned jobs
UserApi ListTargetLangs Get /api2/v1/users/{userId}/targetLangs List assigned target languages
UserApi ListWorkflowSteps Get /api2/v1/users/{userId}/workflowSteps List assigned workflow steps
UserApi LoginActivity Get /api2/v1/users/{userId}/loginStatistics Login statistics
UserApi SendLoginInfo Post /api2/v1/users/{userId}/emailLoginInformation Send login information
UserApi UpdatePassword Post /api2/v1/users/{userId}/updatePassword Update password
UserApi UpdateUser Put /api2/v1/users/{userId} Edit user
UserApi UpdateUserV2 Put /api2/v2/users/{userId} Edit user
UserApi UserLastLogins Get /api2/v1/users/lastLogins List last login dates
VendorApi GetVendor Get /api2/v1/vendors/{vendorId} Get vendor
VendorApi ListDiscovered Get /api2/v1/discoveredVendors List discovered vendors
VendorApi ListVendors Get /api2/v1/vendors List vendors
WebhookApi CreateWebHook Post /api2/v1/webhooks Create webhook
WebhookApi CreateWebHook1 Post /api2/v2/webhooks Create webhook
WebhookApi DeleteWebHook Delete /api2/v1/webhooks/{webHookId} Delete webhook
WebhookApi DeleteWebHook1 Delete /api2/v2/webhooks/{webHookId} Delete webhook
WebhookApi GetWebHook Get /api2/v1/webhooks/{webHookId} Get webhook
WebhookApi GetWebHook1 Get /api2/v2/webhooks/{webHookId} Get webhook
WebhookApi GetWebHookList Get /api2/v1/webhooks Lists webhooks
WebhookApi GetWebHookList1 Get /api2/v2/webhooks Lists webhooks
WebhookApi UpdateWebHook Put /api2/v1/webhooks/{webHookId} Edit webhook
WebhookApi UpdateWebHook1 Put /api2/v2/webhooks/{webHookId} Edit webhook
WorkflowChangesApi DownloadWorkflowChanges Post /api2/v2/jobs/workflowChanges Download workflow changes report
WorkflowStepApi ListWFSteps Get /api2/v1/workflowSteps List workflow steps
WorkflowStepApi ListWorkflowSteps Get /api2/v1/users/{userId}/workflowSteps List assigned workflow steps

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

View Source
var (
	// ContextOAuth2 takes a oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKey takes an APIKey as authentication for the request
	ContextAPIKey = contextKey("apikey")
)

Functions ¶

func CacheExpires ¶

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

Types ¶

type APIClient ¶

type APIClient struct {
	AnalysisApi *AnalysisApiService

	AnalyticsApi *AnalyticsApiService

	AsyncRequestApi *AsyncRequestApiService

	AuthenticationApi *AuthenticationApiService

	BilingualFileApi *BilingualFileApiService

	BusinessUnitApi *BusinessUnitApiService

	ClientApi *ClientApiService

	ConnectorApi *ConnectorApiService

	ConversationsApi *ConversationsApiService

	DomainApi *DomainApiService

	EmailTemplateApi *EmailTemplateApiService

	FileApi *FileApiService

	ImportSettingsApi *ImportSettingsApiService

	JobApi *JobApiService

	MachineTranslationApi *MachineTranslationApiService

	MachineTranslationSettingsApi *MachineTranslationSettingsApiService

	MappingApi *MappingApiService

	NetRateSchemeApi *NetRateSchemeApiService

	PriceListApi *PriceListApiService

	ProjectApi *ProjectApiService

	ProjectReferenceFileApi *ProjectReferenceFileApiService

	ProjectTemplateApi *ProjectTemplateApiService

	ProviderApi *ProviderApiService

	QualityAssuranceApi *QualityAssuranceApiService

	QuoteApi *QuoteApiService

	SCIMApi *SCIMApiService

	SegmentApi *SegmentApiService

	SegmentationRulesApi *SegmentationRulesApiService

	SpellCheckApi *SpellCheckApiService

	SubDomainApi *SubDomainApiService

	SupportedLanguagesApi *SupportedLanguagesApiService

	TermBaseApi *TermBaseApiService

	TranslationApi *TranslationApiService

	TranslationMemoryApi *TranslationMemoryApiService

	UserApi *UserApiService

	VendorApi *VendorApiService

	WebhookApi *WebhookApiService

	WorkflowChangesApi *WorkflowChangesApiService

	WorkflowStepApi *WorkflowStepApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Memsource REST API API vAll In most cases there should be only one, shared, APIClient.

func NewAPIClient ¶

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath ¶

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIKey ¶

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse ¶

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

func NewAPIResponse ¶

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError ¶

func NewAPIResponseWithError(errorMessage string) *APIResponse

type AbsoluteTranslationLengthWarningDto ¶

type AbsoluteTranslationLengthWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
	Limit             string `json:"limit,omitempty"`
}

type AbstractProjectDto ¶

type AbstractProjectDto struct {
	Uid         string                   `json:"uid,omitempty"`
	InternalId  int32                    `json:"internalId,omitempty"`
	Id          string                   `json:"id,omitempty"`
	Name        string                   `json:"name,omitempty"`
	DateCreated time.Time                `json:"dateCreated,omitempty"`
	Domain      *DomainReference         `json:"domain,omitempty"`
	SubDomain   *SubDomainReference      `json:"subDomain,omitempty"`
	Owner       *UserReference           `json:"owner,omitempty"`
	SourceLang  string                   `json:"sourceLang,omitempty"`
	TargetLangs []string                 `json:"targetLangs,omitempty"`
	References  []ReferenceFileReference `json:"references,omitempty"`
	// Response differs based on user's role
	UserRole string `json:"userRole,omitempty"`
}

Base projectDto

type AbstractProjectDtoV2 ¶

type AbstractProjectDtoV2 struct {
	Uid         string                   `json:"uid,omitempty"`
	InternalId  int32                    `json:"internalId,omitempty"`
	Id          string                   `json:"id,omitempty"`
	Name        string                   `json:"name,omitempty"`
	DateCreated time.Time                `json:"dateCreated,omitempty"`
	Domain      *DomainReference         `json:"domain,omitempty"`
	SubDomain   *SubDomainReference      `json:"subDomain,omitempty"`
	Owner       *UserReference           `json:"owner,omitempty"`
	SourceLang  string                   `json:"sourceLang,omitempty"`
	TargetLangs []string                 `json:"targetLangs,omitempty"`
	References  []ReferenceFileReference `json:"references,omitempty"`
	// Response differs based on user's role
	UserRole string `json:"userRole,omitempty"`
}

Base projectDto

type AddCommentDto ¶

type AddCommentDto struct {
	Text string `json:"text"`
}

type AddTargetLangDto ¶

type AddTargetLangDto struct {
	TargetLangs []string `json:"targetLangs"`
}

type AddWorkflowStepsDto ¶

type AddWorkflowStepsDto struct {
	WorkflowSteps []IdReference `json:"workflowSteps"`
}

type AdminProjectManager ¶

type AdminProjectManager struct {
	Uid         string                   `json:"uid,omitempty"`
	InternalId  int32                    `json:"internalId,omitempty"`
	Id          string                   `json:"id,omitempty"`
	Name        string                   `json:"name,omitempty"`
	DateCreated time.Time                `json:"dateCreated,omitempty"`
	Domain      *DomainReference         `json:"domain,omitempty"`
	SubDomain   *SubDomainReference      `json:"subDomain,omitempty"`
	Owner       *UserReference           `json:"owner,omitempty"`
	SourceLang  string                   `json:"sourceLang,omitempty"`
	TargetLangs []string                 `json:"targetLangs,omitempty"`
	References  []ReferenceFileReference `json:"references,omitempty"`
	// Response differs based on user's role
	UserRole string `json:"userRole,omitempty"`
	// Default: false
	Shared        bool                   `json:"shared,omitempty"`
	Progress      *ProgressDto           `json:"progress,omitempty"`
	Client        *ClientReference       `json:"client,omitempty"`
	CostCenter    *CostCenterReference   `json:"costCenter,omitempty"`
	BusinessUnit  *BusinessUnitReference `json:"businessUnit,omitempty"`
	DateDue       time.Time              `json:"dateDue,omitempty"`
	Status        string                 `json:"status,omitempty"`
	PurchaseOrder string                 `json:"purchaseOrder,omitempty"`
	// Default: false
	IsPublishedOnJobBoard     bool                             `json:"isPublishedOnJobBoard,omitempty"`
	Note                      string                           `json:"note,omitempty"`
	CreatedBy                 *UserReference                   `json:"createdBy,omitempty"`
	QualityAssuranceSettings  *IdReference                     `json:"qualityAssuranceSettings,omitempty"`
	WorkflowSteps             []ProjectWorkflowStepDto         `json:"workflowSteps,omitempty"`
	AnalyseSettings           *IdReference                     `json:"analyseSettings,omitempty"`
	AccessSettings            *IdReference                     `json:"accessSettings,omitempty"`
	FinancialSettings         *IdReference                     `json:"financialSettings,omitempty"`
	MtSettingsPerLanguageList []MtSettingsPerLanguageReference `json:"mtSettingsPerLanguageList,omitempty"`
}

type AdminProjectManagerV2 ¶

type AdminProjectManagerV2 struct {
	Uid         string                   `json:"uid,omitempty"`
	InternalId  int32                    `json:"internalId,omitempty"`
	Id          string                   `json:"id,omitempty"`
	Name        string                   `json:"name,omitempty"`
	DateCreated time.Time                `json:"dateCreated,omitempty"`
	Domain      *DomainReference         `json:"domain,omitempty"`
	SubDomain   *SubDomainReference      `json:"subDomain,omitempty"`
	Owner       *UserReference           `json:"owner,omitempty"`
	SourceLang  string                   `json:"sourceLang,omitempty"`
	TargetLangs []string                 `json:"targetLangs,omitempty"`
	References  []ReferenceFileReference `json:"references,omitempty"`
	// Response differs based on user's role
	UserRole string `json:"userRole,omitempty"`
	// Default: false
	Shared        bool                   `json:"shared,omitempty"`
	Progress      *ProgressDtoV2         `json:"progress,omitempty"`
	Client        *ClientReference       `json:"client,omitempty"`
	CostCenter    *CostCenterReference   `json:"costCenter,omitempty"`
	BusinessUnit  *BusinessUnitReference `json:"businessUnit,omitempty"`
	DateDue       time.Time              `json:"dateDue,omitempty"`
	Status        string                 `json:"status,omitempty"`
	PurchaseOrder string                 `json:"purchaseOrder,omitempty"`
	// Default: false
	IsPublishedOnJobBoard     bool                             `json:"isPublishedOnJobBoard,omitempty"`
	Note                      string                           `json:"note,omitempty"`
	CreatedBy                 *UserReference                   `json:"createdBy,omitempty"`
	QualityAssuranceSettings  *IdReference                     `json:"qualityAssuranceSettings,omitempty"`
	WorkflowSteps             []ProjectWorkflowStepDtoV2       `json:"workflowSteps,omitempty"`
	AnalyseSettings           *IdReference                     `json:"analyseSettings,omitempty"`
	AccessSettings            *IdReference                     `json:"accessSettings,omitempty"`
	FinancialSettings         *IdReference                     `json:"financialSettings,omitempty"`
	MtSettingsPerLanguageList []MtSettingsPerLanguageReference `json:"mtSettingsPerLanguageList,omitempty"`
}

type AnalyseDto ¶

type AnalyseDto struct {
	Id                   string                   `json:"id,omitempty"`
	Type_                string                   `json:"type,omitempty"`
	Name                 string                   `json:"name,omitempty"`
	AssignedLinguist     *UserReference           `json:"assignedLinguist,omitempty"`
	CreatedBy            *UserReference           `json:"createdBy,omitempty"`
	DateCreated          time.Time                `json:"dateCreated,omitempty"`
	NetRateScheme        *NetRateSchemeReference  `json:"netRateScheme,omitempty"`
	AnalyseLanguageParts []AnalyseLanguagePartDto `json:"analyseLanguageParts,omitempty"`
}

type AnalyseJobDto ¶

type AnalyseJobDto struct {
	Uid            string   `json:"uid,omitempty"`
	Filename       string   `json:"filename,omitempty"`
	Data           *DataDto `json:"data,omitempty"`
	DiscountedData *DataDto `json:"discountedData,omitempty"`
}

type AnalyseJobReference ¶

type AnalyseJobReference struct {
	Uid      string `json:"uid,omitempty"`
	Filename string `json:"filename,omitempty"`
}

type AnalyseLanguagePartDto ¶

type AnalyseLanguagePartDto struct {
	Id             string                `json:"id,omitempty"`
	SourceLang     string                `json:"sourceLang,omitempty"`
	TargetLang     string                `json:"targetLang,omitempty"`
	Data           *DataDto              `json:"data,omitempty"`
	DiscountedData *DataDto              `json:"discountedData,omitempty"`
	Jobs           []AnalyseJobReference `json:"jobs,omitempty"`
}

type AnalyseLanguagePartV2Dto ¶

type AnalyseLanguagePartV2Dto struct {
	Id             string                `json:"id,omitempty"`
	SourceLang     string                `json:"sourceLang,omitempty"`
	TargetLang     string                `json:"targetLang,omitempty"`
	Data           *DataDto              `json:"data,omitempty"`
	DiscountedData *DataDto              `json:"discountedData,omitempty"`
	Jobs           []AnalyseJobReference `json:"jobs,omitempty"`
}

type AnalyseLanguagePartV3Dto ¶

type AnalyseLanguagePartV3Dto struct {
	Id             string                `json:"id,omitempty"`
	SourceLang     string                `json:"sourceLang,omitempty"`
	TargetLang     string                `json:"targetLang,omitempty"`
	Data           *DataDto              `json:"data,omitempty"`
	DiscountedData *DataDto              `json:"discountedData,omitempty"`
	Jobs           []AnalyseJobReference `json:"jobs,omitempty"`
}

type AnalyseSettingsDto ¶

type AnalyseSettingsDto struct {
	Type_ string `json:"type,omitempty"`
	// Default: false
	IncludeFuzzyRepetitions bool `json:"includeFuzzyRepetitions,omitempty"`
	// Default: false
	IncludeNonTranslatables bool `json:"includeNonTranslatables,omitempty"`
	// Default: false
	IncludeMachineTranslationMatches bool `json:"includeMachineTranslationMatches,omitempty"`
	// Default: false
	IncludeConfirmedSegments bool `json:"includeConfirmedSegments,omitempty"`
	// Default: false
	IncludeNumbers bool `json:"includeNumbers,omitempty"`
	// Default: false
	IncludeLockedSegments bool `json:"includeLockedSegments,omitempty"`
	// Default: false
	CountSourceUnits bool `json:"countSourceUnits,omitempty"`
	// Default: false
	IncludeTransMemory bool   `json:"includeTransMemory,omitempty"`
	NamingPattern      string `json:"namingPattern,omitempty"`
	// Default: false
	AnalyzeByLanguage bool `json:"analyzeByLanguage,omitempty"`
	// Default: false
	AnalyzeByProvider bool `json:"analyzeByProvider,omitempty"`
}

type AnalyseV2Dto ¶

type AnalyseV2Dto struct {
	Id                   string                     `json:"id,omitempty"`
	Type_                string                     `json:"type,omitempty"`
	Name                 string                     `json:"name,omitempty"`
	Provider             *ProviderReference         `json:"provider,omitempty"`
	CreatedBy            *UserReference             `json:"createdBy,omitempty"`
	DateCreated          time.Time                  `json:"dateCreated,omitempty"`
	NetRateScheme        *NetRateSchemeReference    `json:"netRateScheme,omitempty"`
	AnalyseLanguageParts []AnalyseLanguagePartV2Dto `json:"analyseLanguageParts,omitempty"`
}

type AnalyseV3Dto ¶

type AnalyseV3Dto struct {
	Id                   string                     `json:"id,omitempty"`
	Type_                string                     `json:"type,omitempty"`
	Name                 string                     `json:"name,omitempty"`
	Provider             *ProviderReference         `json:"provider,omitempty"`
	CreatedBy            *UserReference             `json:"createdBy,omitempty"`
	DateCreated          time.Time                  `json:"dateCreated,omitempty"`
	NetRateScheme        *NetRateSchemeReference    `json:"netRateScheme,omitempty"`
	AnalyseLanguageParts []AnalyseLanguagePartV3Dto `json:"analyseLanguageParts,omitempty"`
}

type AnalysesV2Dto ¶

type AnalysesV2Dto struct {
	Analyses []AnalyseV2Dto `json:"analyses,omitempty"`
}

type AnalysisApiAnalysesBatchEditV2Opts ¶

type AnalysisApiAnalysesBatchEditV2Opts struct {
	Body optional.Interface
}

type AnalysisApiBatchEditAnalysesOpts ¶

type AnalysisApiBatchEditAnalysesOpts struct {
	Body optional.Interface
}

type AnalysisApiBulkDeleteAnalysesOpts ¶

type AnalysisApiBulkDeleteAnalysesOpts struct {
	Body optional.Interface
}

type AnalysisApiCreateAnalyseAsync1Opts ¶

type AnalysisApiCreateAnalyseAsync1Opts struct {
	Body optional.Interface
}

type AnalysisApiCreateAnalyseAsyncOpts ¶

type AnalysisApiCreateAnalyseAsyncOpts struct {
	Body optional.Interface
}

type AnalysisApiCreateAnalysesForLangsOpts ¶

type AnalysisApiCreateAnalysesForLangsOpts struct {
	Body optional.Interface
}

type AnalysisApiCreateAnalysesForProvidersOpts ¶

type AnalysisApiCreateAnalysesForProvidersOpts struct {
	Body optional.Interface
}

type AnalysisApiDeleteOpts ¶

type AnalysisApiDeleteOpts struct {
	Purge optional.Bool
}

type AnalysisApiListByProjectOpts ¶

type AnalysisApiListByProjectOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type AnalysisApiListByProjectV2Opts ¶

type AnalysisApiListByProjectV2Opts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type AnalysisApiListJobPartsOpts ¶

type AnalysisApiListJobPartsOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type AnalysisApiListPartAnalyse1Opts ¶

type AnalysisApiListPartAnalyse1Opts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type AnalysisApiListPartAnalyseOpts ¶

type AnalysisApiListPartAnalyseOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type AnalysisApiService ¶

type AnalysisApiService service

func (*AnalysisApiService) AnalysesBatchEditV2 ¶

func (a *AnalysisApiService) AnalysesBatchEditV2(ctx context.Context, localVarOptionals *AnalysisApiAnalysesBatchEditV2Opts) (AnalysesV2Dto, *http.Response, error)

func (*AnalysisApiService) BatchEditAnalyses ¶

func (a *AnalysisApiService) BatchEditAnalyses(ctx context.Context, localVarOptionals *AnalysisApiBatchEditAnalysesOpts) ([]AnalyseDto, *http.Response, error)

func (*AnalysisApiService) BulkDeleteAnalyses ¶

func (a *AnalysisApiService) BulkDeleteAnalyses(ctx context.Context, localVarOptionals *AnalysisApiBulkDeleteAnalysesOpts) (*http.Response, error)

func (*AnalysisApiService) CreateAnalyseAsync ¶

func (*AnalysisApiService) CreateAnalyseAsync1 ¶

func (*AnalysisApiService) CreateAnalysesForLangs ¶

func (*AnalysisApiService) CreateAnalysesForProviders ¶

func (*AnalysisApiService) Delete ¶

func (a *AnalysisApiService) Delete(ctx context.Context, analyseId string, localVarOptionals *AnalysisApiDeleteOpts) (*http.Response, error)

func (*AnalysisApiService) DownloadAnalyse ¶

func (a *AnalysisApiService) DownloadAnalyse(ctx context.Context, analyseId int64, format string) (*http.Response, error)

AnalysisApiService Download analysis

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param analyseId
  • @param format

func (*AnalysisApiService) GetAnalyse ¶

func (a *AnalysisApiService) GetAnalyse(ctx context.Context, analyseId int64) (AnalyseDto, *http.Response, error)

AnalysisApiService Get analysis

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param analyseId

@return AnalyseDto

func (*AnalysisApiService) GetAnalyseLanguagePart ¶

func (a *AnalysisApiService) GetAnalyseLanguagePart(ctx context.Context, analyseId int64, analyseLanguagePartId int64) (AnalyseLanguagePartDto, *http.Response, error)

AnalysisApiService Get analysis language part Returns analysis language pair

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param analyseId
  • @param analyseLanguagePartId

@return AnalyseLanguagePartDto

func (*AnalysisApiService) GetAnalyseV2 ¶

func (a *AnalysisApiService) GetAnalyseV2(ctx context.Context, analyseId int64) (AnalyseV2Dto, *http.Response, error)

AnalysisApiService Get analysis

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param analyseId

@return AnalyseV2Dto

func (*AnalysisApiService) GetAnalyseV3 ¶

func (a *AnalysisApiService) GetAnalyseV3(ctx context.Context, analyseId int64) (AnalyseV3Dto, *http.Response, error)

AnalysisApiService Get analysis

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param analyseId

@return AnalyseV3Dto

func (*AnalysisApiService) GetJobPartAnalyse ¶

func (a *AnalysisApiService) GetJobPartAnalyse(ctx context.Context, analyseId int64, jobUid string) (AnalyseJobDto, *http.Response, error)

AnalysisApiService Get jobs analysis Returns job's analyse

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param analyseId
  • @param jobUid

@return AnalyseJobDto

func (*AnalysisApiService) ListByProject ¶

func (a *AnalysisApiService) ListByProject(ctx context.Context, projectUid string, localVarOptionals *AnalysisApiListByProjectOpts) (PageDtoAnalyseDto, *http.Response, error)

func (*AnalysisApiService) ListByProjectV2 ¶

func (a *AnalysisApiService) ListByProjectV2(ctx context.Context, projectUid string, localVarOptionals *AnalysisApiListByProjectV2Opts) (PageDtoAnalyseV2Dto, *http.Response, error)

func (*AnalysisApiService) ListJobParts ¶

func (a *AnalysisApiService) ListJobParts(ctx context.Context, analyseId int64, analyseLanguagePartId int64, localVarOptionals *AnalysisApiListJobPartsOpts) (PageDtoAnalyseJobDto, *http.Response, error)

func (*AnalysisApiService) ListPartAnalyse ¶

func (a *AnalysisApiService) ListPartAnalyse(ctx context.Context, projectUid string, jobUid string, localVarOptionals *AnalysisApiListPartAnalyseOpts) (PageDtoAnalyseDto, *http.Response, error)

func (*AnalysisApiService) ListPartAnalyse1 ¶

func (a *AnalysisApiService) ListPartAnalyse1(ctx context.Context, projectUid string, jobUid string, localVarOptionals *AnalysisApiListPartAnalyse1Opts) (PageDtoAnalyseV2Dto, *http.Response, error)

type AnalyticsApiAggregateOpts ¶

type AnalyticsApiAggregateOpts struct {
	Body optional.Interface
}

type AnalyticsApiService ¶

type AnalyticsApiService service

func (*AnalyticsApiService) Aggregate ¶

type AnalyticsDto ¶

type AnalyticsDto struct {
	// JSONObject
	Aggregations map[string]interface{} `json:"aggregations,omitempty"`
	// JSONObject
	Filter map[string]interface{} `json:"filter,omitempty"`
}

type AnalyticsResponseDto ¶

type AnalyticsResponseDto struct {
	// JSONObject
	Hits map[string]interface{} `json:"hits,omitempty"`
	// JSONObject
	Aggregations map[string]interface{} `json:"aggregations,omitempty"`
}

type AndroidSettingsDto ¶

type AndroidSettingsDto struct {
	TagRegexp string `json:"tagRegexp,omitempty"`
}

type AssignVendorDto ¶

type AssignVendorDto struct {
	Vendor  *IdReference `json:"vendor,omitempty"`
	DateDue time.Time    `json:"dateDue,omitempty"`
}

type AssignableTemplatesDto ¶

type AssignableTemplatesDto struct {
	AssignableTemplates []ProjectTemplateDto `json:"assignableTemplates,omitempty"`
}

type AssignedJobDto ¶

type AssignedJobDto struct {
	Uid          string                        `json:"uid,omitempty"`
	Filename     string                        `json:"filename,omitempty"`
	DateDue      time.Time                     `json:"dateDue,omitempty"`
	DateCreated  time.Time                     `json:"dateCreated,omitempty"`
	Status       string                        `json:"status,omitempty"`
	TargetLang   string                        `json:"targetLang,omitempty"`
	SourceLang   string                        `json:"sourceLang,omitempty"`
	Project      *ProjectReference             `json:"project,omitempty"`
	WorkflowStep *ProjectWorkflowStepReference `json:"workflowStep,omitempty"`
	Imported     bool                          `json:"imported,omitempty"`
}

type AssignmentPerTargetLangDto ¶

type AssignmentPerTargetLangDto struct {
	TargetLang string              `json:"targetLang,omitempty"`
	Providers  []ProviderReference `json:"providers,omitempty"`
}

type AsyncAnalyseListResponseDto ¶

type AsyncAnalyseListResponseDto struct {
	Analyses []AsyncAnalyseResponseDto `json:"analyses,omitempty"`
}

type AsyncAnalyseListResponseV2Dto ¶

type AsyncAnalyseListResponseV2Dto struct {
	AsyncRequests []AsyncAnalyseResponseV2Dto `json:"asyncRequests,omitempty"`
}

type AsyncAnalyseResponseDto ¶

type AsyncAnalyseResponseDto struct {
	AsyncRequest *AsyncRequestDto `json:"asyncRequest,omitempty"`
	Analyse      *IdReference     `json:"analyse,omitempty"`
}

type AsyncAnalyseResponseV2Dto ¶

type AsyncAnalyseResponseV2Dto struct {
	AsyncRequest *AsyncRequestV2Dto `json:"asyncRequest,omitempty"`
	Analyse      *IdReference       `json:"analyse,omitempty"`
}

type AsyncExportTmByQueryDto ¶

type AsyncExportTmByQueryDto struct {
	AsyncRequest      *IdReference `json:"asyncRequest,omitempty"`
	TransMemory       *IdReference `json:"transMemory,omitempty"`
	ExportTargetLangs []string     `json:"exportTargetLangs,omitempty"`
	Queries           []Query      `json:"queries,omitempty"`
}

type AsyncExportTmByQueryResponseDto ¶

type AsyncExportTmByQueryResponseDto struct {
	AsyncRequest *AsyncRequestDto         `json:"asyncRequest,omitempty"`
	AsyncExport  *AsyncExportTmByQueryDto `json:"asyncExport,omitempty"`
}

type AsyncExportTmDto ¶

type AsyncExportTmDto struct {
	TransMemory       *IdReference `json:"transMemory,omitempty"`
	ExportTargetLangs []string     `json:"exportTargetLangs,omitempty"`
}

type AsyncExportTmResponseDto ¶

type AsyncExportTmResponseDto struct {
	AsyncRequest *AsyncRequestV2Dto `json:"asyncRequest,omitempty"`
	AsyncExport  *AsyncExportTmDto  `json:"asyncExport,omitempty"`
}

type AsyncRequestApiListPendingRequestsOpts ¶

type AsyncRequestApiListPendingRequestsOpts struct {
	All        optional.Bool
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type AsyncRequestApiService ¶

type AsyncRequestApiService service

func (*AsyncRequestApiService) GetAsyncRequest ¶

func (a *AsyncRequestApiService) GetAsyncRequest(ctx context.Context, asyncRequestId int64) (AsyncRequestDto, *http.Response, error)

AsyncRequestApiService Get asynchronous request

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param asyncRequestId

@return AsyncRequestDto

func (*AsyncRequestApiService) ListPendingRequests ¶

type AsyncRequestDto ¶

type AsyncRequestDto struct {
	Id            string            `json:"id,omitempty"`
	CreatedBy     *UserReference    `json:"createdBy,omitempty"`
	DateCreated   time.Time         `json:"dateCreated,omitempty"`
	Action        string            `json:"action,omitempty"`
	AsyncResponse *AsyncResponseDto `json:"asyncResponse,omitempty"`
	Parent        *AsyncRequestDto  `json:"parent,omitempty"`
	Project       *ProjectReference `json:"project,omitempty"`
}

type AsyncRequestReference ¶

type AsyncRequestReference struct {
	Id          string    `json:"id,omitempty"`
	DateCreated time.Time `json:"dateCreated,omitempty"`
	Action      string    `json:"action,omitempty"`
}

type AsyncRequestV2Dto ¶

type AsyncRequestV2Dto struct {
	Id            string              `json:"id,omitempty"`
	CreatedBy     *UserReference      `json:"createdBy,omitempty"`
	DateCreated   time.Time           `json:"dateCreated,omitempty"`
	Action        string              `json:"action,omitempty"`
	AsyncResponse *AsyncResponseV2Dto `json:"asyncResponse,omitempty"`
	Parent        *AsyncRequestV2Dto  `json:"parent,omitempty"`
	Project       *ProjectReference   `json:"project,omitempty"`
}

type AsyncRequestWrapperDto ¶

type AsyncRequestWrapperDto struct {
	AsyncRequest *AsyncRequestDto `json:"asyncRequest,omitempty"`
}

type AsyncResponseDto ¶

type AsyncResponseDto struct {
	DateCreated  time.Time        `json:"dateCreated,omitempty"`
	ErrorCode    string           `json:"errorCode,omitempty"`
	ErrorDesc    string           `json:"errorDesc,omitempty"`
	ErrorDetails []ErrorDetailDto `json:"errorDetails,omitempty"`
	Warnings     []ErrorDetailDto `json:"warnings,omitempty"`
}

type AsyncResponseV2Dto ¶

type AsyncResponseV2Dto struct {
	DateCreated  time.Time          `json:"dateCreated,omitempty"`
	ErrorCode    string             `json:"errorCode,omitempty"`
	ErrorDesc    string             `json:"errorDesc,omitempty"`
	ErrorDetails []ErrorDetailDtoV2 `json:"errorDetails,omitempty"`
	Warnings     []ErrorDetailDtoV2 `json:"warnings,omitempty"`
}

type Attribute ¶

type Attribute struct {
	Name          string      `json:"name,omitempty"`
	Type_         string      `json:"type,omitempty"`
	SubAttributes []Attribute `json:"subAttributes,omitempty"`
	MultiValued   bool        `json:"multiValued,omitempty"`
	Description   string      `json:"description,omitempty"`
	Required      bool        `json:"required,omitempty"`
	CaseExact     bool        `json:"caseExact,omitempty"`
	Mutability    string      `json:"mutability,omitempty"`
	Returned      string      `json:"returned,omitempty"`
	Uniqueness    string      `json:"uniqueness,omitempty"`
}

type AuthSchema ¶

type AuthSchema struct {
	Type_       string `json:"type,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	SpecUrl     string `json:"specUrl,omitempty"`
	Primary     bool   `json:"primary,omitempty"`
}

type AuthenticationApiLoginByGoogleOpts ¶

type AuthenticationApiLoginByGoogleOpts struct {
	Body optional.Interface
}

type AuthenticationApiLoginOpts ¶

type AuthenticationApiLoginOpts struct {
	Body optional.Interface
}

type AuthenticationApiLoginOtherOpts ¶

type AuthenticationApiLoginOtherOpts struct {
	Body optional.Interface
}

type AuthenticationApiLoginToSessionOpts ¶

type AuthenticationApiLoginToSessionOpts struct {
	Body optional.Interface
}

type AuthenticationApiLogoutOpts ¶

type AuthenticationApiLogoutOpts struct {
	Token optional.String
}

type AuthenticationApiService ¶

type AuthenticationApiService service

func (*AuthenticationApiService) Login ¶

func (*AuthenticationApiService) LoginByGoogle ¶

func (*AuthenticationApiService) LoginOther ¶

func (*AuthenticationApiService) LoginToSession ¶

func (*AuthenticationApiService) Logout ¶

func (*AuthenticationApiService) WhoAmI ¶

AuthenticationApiService Who am I

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return LoginUserDto

type AutomatedProjectSettingsDto ¶

type AutomatedProjectSettingsDto struct {
	Id           string   `json:"id,omitempty"`
	Name         string   `json:"name,omitempty"`
	Organization *NameDto `json:"organization,omitempty"`
	Active       bool     `json:"active,omitempty"`
	SourceLang   string   `json:"sourceLang,omitempty"`
	TargetLangs  []string `json:"targetLangs,omitempty"`
	Connector    *NameDto `json:"connector,omitempty"`
	RemoteFolder string   `json:"remoteFolder,omitempty"`
}

type BackgroundTasksTbDto ¶

type BackgroundTasksTbDto struct {
	Status            string            `json:"status,omitempty"`
	FinishedDataText  string            `json:"finishedDataText,omitempty"`
	AsyncRequest      *AsyncRequestDto  `json:"asyncRequest,omitempty"`
	LastTaskString    string            `json:"lastTaskString,omitempty"`
	Metadata          *MetadataResponse `json:"metadata,omitempty"`
	LastTaskOk        string            `json:"lastTaskOk,omitempty"`
	LastTaskError     string            `json:"lastTaskError,omitempty"`
	LastTaskErrorHtml string            `json:"lastTaskErrorHtml,omitempty"`
}

type BackgroundTasksTmDto ¶

type BackgroundTasksTmDto struct {
	Status            string            `json:"status,omitempty"`
	FinishedDataText  string            `json:"finishedDataText,omitempty"`
	AsyncRequest      *AsyncRequestDto  `json:"asyncRequest,omitempty"`
	LastTaskString    string            `json:"lastTaskString,omitempty"`
	Metadata          *MetadataResponse `json:"metadata,omitempty"`
	LastTaskOk        string            `json:"lastTaskOk,omitempty"`
	LastTaskError     string            `json:"lastTaskError,omitempty"`
	LastTaskErrorHtml string            `json:"lastTaskErrorHtml,omitempty"`
}

type BasicAuth ¶

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BilingualFileApiCompareBilingualFileOpts ¶

type BilingualFileApiCompareBilingualFileOpts struct {
	Body          optional.Interface
	WorkflowLevel optional.Int32
}

type BilingualFileApiConvertBilingualFileOpts ¶

type BilingualFileApiConvertBilingualFileOpts struct {
	Body optional.Interface
}

type BilingualFileApiGetBilingualFileOpts ¶

type BilingualFileApiGetBilingualFileOpts struct {
	Body   optional.Interface
	Format optional.String
}

type BilingualFileApiGetPreviewFileOpts ¶

type BilingualFileApiGetPreviewFileOpts struct {
	Body optional.Interface
}

type BilingualFileApiService ¶

type BilingualFileApiService service

func (*BilingualFileApiService) CompareBilingualFile ¶

func (*BilingualFileApiService) ConvertBilingualFile ¶

func (a *BilingualFileApiService) ConvertBilingualFile(ctx context.Context, from string, to string, localVarOptionals *BilingualFileApiConvertBilingualFileOpts) (*http.Response, error)

func (*BilingualFileApiService) GetBilingualFile ¶

func (a *BilingualFileApiService) GetBilingualFile(ctx context.Context, projectUid string, localVarOptionals *BilingualFileApiGetBilingualFileOpts) (*http.Response, error)

func (*BilingualFileApiService) GetPreviewFile ¶

func (a *BilingualFileApiService) GetPreviewFile(ctx context.Context, localVarOptionals *BilingualFileApiGetPreviewFileOpts) (*http.Response, error)

func (*BilingualFileApiService) UploadBilingualFile ¶

type BilingualFileApiUploadBilingualFileOpts ¶

type BilingualFileApiUploadBilingualFileOpts struct {
	Body              optional.Interface
	Format            optional.String
	SaveToTransMemory optional.String
	SetCompleted      optional.Bool
}

type BrowseRequestDto ¶

type BrowseRequestDto struct {
	QueryLang  string `json:"queryLang,omitempty"`
	Query      string `json:"query,omitempty"`
	Status     string `json:"status,omitempty"`
	PageNumber int32  `json:"pageNumber,omitempty"`
	PageSize   int32  `json:"pageSize,omitempty"`
}

type BrowseResponseListDto ¶

type BrowseResponseListDto struct {
	SearchResults []ConceptDto `json:"searchResults,omitempty"`
}

type BulkDeleteAnalyseDto ¶

type BulkDeleteAnalyseDto struct {
	Analyses []IdReference `json:"analyses"`
	// Default: false
	Purge bool `json:"purge,omitempty"`
}

type BulkEditAnalyseDto ¶

type BulkEditAnalyseDto struct {
	Analyses []IdReference `json:"analyses"`
	Name     string        `json:"name,omitempty"`
	Linguist *IdReference  `json:"linguist,omitempty"`
}

type BulkEditAnalyseV2Dto ¶

type BulkEditAnalyseV2Dto struct {
	Analyses []IdReference      `json:"analyses"`
	Name     string             `json:"name,omitempty"`
	Provider *ProviderReference `json:"provider,omitempty"`
}

type BusinessUnitApiCreateBusinessUnitOpts ¶

type BusinessUnitApiCreateBusinessUnitOpts struct {
	Body optional.Interface
}

type BusinessUnitApiListBusinessUnitsOpts ¶

type BusinessUnitApiListBusinessUnitsOpts struct {
	Name       optional.String
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type BusinessUnitApiService ¶

type BusinessUnitApiService service

func (*BusinessUnitApiService) CreateBusinessUnit ¶

func (*BusinessUnitApiService) DeleteBusinessUnit ¶

func (a *BusinessUnitApiService) DeleteBusinessUnit(ctx context.Context, businessUnitId int64) (*http.Response, error)

BusinessUnitApiService Delete business unit

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param businessUnitId

func (*BusinessUnitApiService) GetBusinessUnit ¶

func (a *BusinessUnitApiService) GetBusinessUnit(ctx context.Context, businessUnitId int64) (BusinessUnitDto, *http.Response, error)

BusinessUnitApiService Get business unit

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param businessUnitId

@return BusinessUnitDto

func (*BusinessUnitApiService) ListBusinessUnits ¶

func (*BusinessUnitApiService) UpdateBusinessUnit ¶

func (a *BusinessUnitApiService) UpdateBusinessUnit(ctx context.Context, businessUnitId int64, localVarOptionals *BusinessUnitApiUpdateBusinessUnitOpts) (BusinessUnitDto, *http.Response, error)

type BusinessUnitApiUpdateBusinessUnitOpts ¶

type BusinessUnitApiUpdateBusinessUnitOpts struct {
	Body optional.Interface
}

type BusinessUnitDto ¶

type BusinessUnitDto struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type BusinessUnitEditDto ¶

type BusinessUnitEditDto struct {
	Name string `json:"name"`
}

type BusinessUnitReference ¶

type BusinessUnitReference struct {
	Name string `json:"name,omitempty"`
	Id   string `json:"id,omitempty"`
}

type Buyer ¶

type Buyer struct {
	Uid         string                   `json:"uid,omitempty"`
	InternalId  int32                    `json:"internalId,omitempty"`
	Id          string                   `json:"id,omitempty"`
	Name        string                   `json:"name,omitempty"`
	DateCreated time.Time                `json:"dateCreated,omitempty"`
	Domain      *DomainReference         `json:"domain,omitempty"`
	SubDomain   *SubDomainReference      `json:"subDomain,omitempty"`
	Owner       *UserReference           `json:"owner,omitempty"`
	SourceLang  string                   `json:"sourceLang,omitempty"`
	TargetLangs []string                 `json:"targetLangs,omitempty"`
	References  []ReferenceFileReference `json:"references,omitempty"`
	// Response differs based on user's role
	UserRole string `json:"userRole,omitempty"`
	// Default: false
	Shared        bool                   `json:"shared,omitempty"`
	Progress      *ProgressDto           `json:"progress,omitempty"`
	Client        *ClientReference       `json:"client,omitempty"`
	CostCenter    *CostCenterReference   `json:"costCenter,omitempty"`
	BusinessUnit  *BusinessUnitReference `json:"businessUnit,omitempty"`
	DateDue       time.Time              `json:"dateDue,omitempty"`
	Status        string                 `json:"status,omitempty"`
	PurchaseOrder string                 `json:"purchaseOrder,omitempty"`
	// Default: false
	IsPublishedOnJobBoard     bool                             `json:"isPublishedOnJobBoard,omitempty"`
	Note                      string                           `json:"note,omitempty"`
	CreatedBy                 *UserReference                   `json:"createdBy,omitempty"`
	QualityAssuranceSettings  *IdReference                     `json:"qualityAssuranceSettings,omitempty"`
	WorkflowSteps             []ProjectWorkflowStepDto         `json:"workflowSteps,omitempty"`
	AnalyseSettings           *IdReference                     `json:"analyseSettings,omitempty"`
	AccessSettings            *IdReference                     `json:"accessSettings,omitempty"`
	FinancialSettings         *IdReference                     `json:"financialSettings,omitempty"`
	MtSettingsPerLanguageList []MtSettingsPerLanguageReference `json:"mtSettingsPerLanguageList,omitempty"`
	VendorOwner               *User                            `json:"vendorOwner,omitempty"`
	Vendor                    *VendorReference                 `json:"vendor,omitempty"`
}

type BuyerReference ¶

type BuyerReference struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type CheckResponse ¶

type CheckResponse struct {
	Text            string           `json:"text,omitempty"`
	MisspelledWords []MisspelledWord `json:"misspelledWords,omitempty"`
}

type ClientApiListClientsOpts ¶

type ClientApiListClientsOpts struct {
	Name       optional.String
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type ClientApiService ¶

type ClientApiService service

func (*ClientApiService) CreateClient ¶

func (a *ClientApiService) CreateClient(ctx context.Context, body ClientEditDto) (ClientDto, *http.Response, error)

ClientApiService Create client

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body

@return ClientDto

func (*ClientApiService) DeleteClient ¶

func (a *ClientApiService) DeleteClient(ctx context.Context, clientId int64) (*http.Response, error)

ClientApiService Delete client

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clientId

func (*ClientApiService) GetClient ¶

func (a *ClientApiService) GetClient(ctx context.Context, clientId int64) (ClientDto, *http.Response, error)

ClientApiService Get client

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clientId

@return ClientDto

func (*ClientApiService) ListClients ¶

func (a *ClientApiService) ListClients(ctx context.Context, localVarOptionals *ClientApiListClientsOpts) (PageDtoClientDto, *http.Response, error)

func (*ClientApiService) UpdateClient ¶

func (a *ClientApiService) UpdateClient(ctx context.Context, clientId int64, body ClientEditDto) (ClientDto, *http.Response, error)

ClientApiService Edit client

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clientId
  • @param body

@return ClientDto

type ClientDto ¶

type ClientDto struct {
	Id         string `json:"id,omitempty"`
	Name       string `json:"name,omitempty"`
	ExternalId string `json:"externalId,omitempty"`
	Note       string `json:"note,omitempty"`
	// Default: false
	DisplayNoteInProject bool                    `json:"displayNoteInProject,omitempty"`
	PriceList            *PriceListReference     `json:"priceList,omitempty"`
	NetRateScheme        *NetRateSchemeReference `json:"netRateScheme,omitempty"`
	CreatedBy            *UserReference          `json:"createdBy,omitempty"`
}

type ClientEditDto ¶

type ClientEditDto struct {
	Name       string `json:"name"`
	ExternalId string `json:"externalId,omitempty"`
	Note       string `json:"note,omitempty"`
	// Default: false
	DisplayNoteInProject bool         `json:"displayNoteInProject,omitempty"`
	PriceList            *IdReference `json:"priceList,omitempty"`
	NetRateScheme        *IdReference `json:"netRateScheme,omitempty"`
}

type ClientReference ¶

type ClientReference struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type CloneProjectDto ¶

type CloneProjectDto struct {
	Name string `json:"name"`
}

type CommentDto ¶

type CommentDto struct {
	Id           string         `json:"id,omitempty"`
	Text         string         `json:"text,omitempty"`
	CreatedBy    *UserReference `json:"createdBy,omitempty"`
	DateCreated  time.Time      `json:"dateCreated,omitempty"`
	DateModified time.Time      `json:"dateModified,omitempty"`
}

type CommonConversationDto ¶

type CommonConversationDto struct {
	Id           string       `json:"id,omitempty"`
	DateCreated  time.Time    `json:"dateCreated,omitempty"`
	DateModified time.Time    `json:"dateModified,omitempty"`
	Comments     []CommentDto `json:"comments,omitempty"`
	Status       *StatusDto   `json:"status,omitempty"`
	Deleted      bool         `json:"deleted,omitempty"`
}

type ComparedSegmentDto ¶

type ComparedSegmentDto struct {
	Uid   string `json:"uid,omitempty"`
	State string `json:"state,omitempty"`
}

type ComparedSegmentsDto ¶

type ComparedSegmentsDto struct {
	Segments []ComparedSegmentDto `json:"segments,omitempty"`
}

type ConceptDto ¶

type ConceptDto struct {
	Id       string      `json:"id,omitempty"`
	Writable bool        `json:"writable,omitempty"`
	Terms    [][]TermDto `json:"terms,omitempty"`
}

type ConceptDtov2 ¶

type ConceptDtov2 struct {
	Id         string   `json:"id,omitempty"`
	Definition string   `json:"definition,omitempty"`
	Domain     string   `json:"domain,omitempty"`
	SubDomains []string `json:"subDomains,omitempty"`
	Url        string   `json:"url,omitempty"`
	Note       string   `json:"note,omitempty"`
}

type ConceptListReference ¶

type ConceptListReference struct {
	Concepts []IdReference `json:"concepts"`
}

type Configuration ¶

type Configuration struct {
	BasePath      string            `json:"basePath,omitempty"`
	Host          string            `json:"host,omitempty"`
	Scheme        string            `json:"scheme,omitempty"`
	DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
	UserAgent     string            `json:"userAgent,omitempty"`
	HTTPClient    *http.Client
}

func NewConfiguration ¶

func NewConfiguration() *Configuration

func (*Configuration) AddDefaultHeader ¶

func (c *Configuration) AddDefaultHeader(key string, value string)

type ConnectorApiGetConnectorListOpts ¶

type ConnectorApiGetConnectorListOpts struct {
	Type_ optional.String
}

type ConnectorApiGetFolderOpts ¶

type ConnectorApiGetFolderOpts struct {
	FileType  optional.String
	Sort      optional.String
	Direction optional.String
}

type ConnectorApiGetRootFolderOpts ¶

type ConnectorApiGetRootFolderOpts struct {
	FileType  optional.String
	Sort      optional.String
	Direction optional.String
}

type ConnectorApiService ¶

type ConnectorApiService service

func (*ConnectorApiService) GetConnector ¶

func (a *ConnectorApiService) GetConnector(ctx context.Context, connectorId string) (ConnectorDto, *http.Response, error)

ConnectorApiService Get a connector

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param connectorId

@return ConnectorDto

func (*ConnectorApiService) GetConnectorList ¶

func (a *ConnectorApiService) GetConnectorList(ctx context.Context, localVarOptionals *ConnectorApiGetConnectorListOpts) (ConnectorListDto, *http.Response, error)

func (*ConnectorApiService) GetFile ¶

func (a *ConnectorApiService) GetFile(ctx context.Context, connectorId string, folder string, file string) (InputStreamLength, *http.Response, error)

ConnectorApiService Download file Download a file from a subfolder of the selected connector

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param connectorId
  • @param folder
  • @param file

@return InputStreamLength

func (*ConnectorApiService) GetFolder ¶

func (a *ConnectorApiService) GetFolder(ctx context.Context, connectorId string, folder string, localVarOptionals *ConnectorApiGetFolderOpts) (FileListDto, *http.Response, error)

func (*ConnectorApiService) GetRootFolder ¶

func (a *ConnectorApiService) GetRootFolder(ctx context.Context, connectorId string, localVarOptionals *ConnectorApiGetRootFolderOpts) (FileListDto, *http.Response, error)

func (*ConnectorApiService) UploadFile ¶

func (a *ConnectorApiService) UploadFile(ctx context.Context, connectorId string, folder string, contentType string, file *os.File, localVarOptionals *ConnectorApiUploadFileOpts) (UploadResultDto, *http.Response, error)

type ConnectorApiUploadFileOpts ¶

type ConnectorApiUploadFileOpts struct {
	SourceFileName optional.String
	SubfolderName  optional.String
	MimeType       optional.String
	CommitMessage  optional.String
}

type ConnectorDto ¶

type ConnectorDto struct {
	Id                       string                        `json:"id,omitempty"`
	Name                     string                        `json:"name,omitempty"`
	Type_                    string                        `json:"type,omitempty"`
	Organization             *NameDto                      `json:"organization,omitempty"`
	CreatedBy                *NameDto                      `json:"createdBy,omitempty"`
	CreatedAt                time.Time                     `json:"createdAt,omitempty"`
	LocalToken               string                        `json:"localToken,omitempty"`
	AutomatedProjectSettings []AutomatedProjectSettingsDto `json:"automatedProjectSettings,omitempty"`
}

type ConnectorListDto ¶

type ConnectorListDto struct {
	Connectors []ConnectorDto `json:"connectors,omitempty"`
	TotalCount int32          `json:"totalCount,omitempty"`
}

type ContinuousJobInfoDto ¶

type ContinuousJobInfoDto struct {
	DateUpdated time.Time `json:"dateUpdated,omitempty"`
}

type ConversationListDto ¶

type ConversationListDto struct {
	Conversations []CommonConversationDto `json:"conversations,omitempty"`
}

type ConversationsApiAddLQACommentOpts ¶

type ConversationsApiAddLQACommentOpts struct {
	Body optional.Interface
}

type ConversationsApiAddPlainCommentOpts ¶

type ConversationsApiAddPlainCommentOpts struct {
	Body optional.Interface
}

type ConversationsApiCreateLQAConversationOpts ¶

type ConversationsApiCreateLQAConversationOpts struct {
	Body optional.Interface
}

type ConversationsApiCreateSegmentTargetConversationOpts ¶

type ConversationsApiCreateSegmentTargetConversationOpts struct {
	Body optional.Interface
}

type ConversationsApiFindConversationsOpts ¶

type ConversationsApiFindConversationsOpts struct {
	Body optional.Interface
}

type ConversationsApiListAllConversationsOpts ¶

type ConversationsApiListAllConversationsOpts struct {
	IncludeDeleted optional.Bool
	Since          optional.String
}

type ConversationsApiListLQAConversationsOpts ¶

type ConversationsApiListLQAConversationsOpts struct {
	IncludeDeleted optional.Bool
	Since          optional.String
}

type ConversationsApiListPlainConversationsOpts ¶

type ConversationsApiListPlainConversationsOpts struct {
	IncludeDeleted optional.Bool
	Since          optional.String
}

type ConversationsApiService ¶

type ConversationsApiService service

func (*ConversationsApiService) AddLQAComment ¶

func (a *ConversationsApiService) AddLQAComment(ctx context.Context, jobUid string, conversationId string, localVarOptionals *ConversationsApiAddLQACommentOpts) (LqaConversationDto, *http.Response, error)

func (*ConversationsApiService) AddPlainComment ¶

func (a *ConversationsApiService) AddPlainComment(ctx context.Context, jobUid string, conversationId string, localVarOptionals *ConversationsApiAddPlainCommentOpts) (PlainConversationDto, *http.Response, error)

func (*ConversationsApiService) CreateLQAConversation ¶

func (a *ConversationsApiService) CreateLQAConversation(ctx context.Context, jobUid string, localVarOptionals *ConversationsApiCreateLQAConversationOpts) (LqaConversationDto, *http.Response, error)

func (*ConversationsApiService) CreateSegmentTargetConversation ¶

func (a *ConversationsApiService) CreateSegmentTargetConversation(ctx context.Context, jobUid string, localVarOptionals *ConversationsApiCreateSegmentTargetConversationOpts) (PlainConversationDto, *http.Response, error)

func (*ConversationsApiService) DeleteLQAComment ¶

func (a *ConversationsApiService) DeleteLQAComment(ctx context.Context, jobUid string, conversationId string, commentId string) (*http.Response, error)

ConversationsApiService Delete LQA comment

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobUid
  • @param conversationId
  • @param commentId

func (*ConversationsApiService) DeleteLQAConversation ¶

func (a *ConversationsApiService) DeleteLQAConversation(ctx context.Context, jobUid string, conversationId string) (*http.Response, error)

ConversationsApiService Delete conversation

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobUid
  • @param conversationId

func (*ConversationsApiService) DeletePlainComment ¶

func (a *ConversationsApiService) DeletePlainComment(ctx context.Context, jobUid string, conversationId string, commentId string) (*http.Response, error)

ConversationsApiService Delete plain comment

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobUid
  • @param conversationId
  • @param commentId

func (*ConversationsApiService) DeletePlainConversation ¶

func (a *ConversationsApiService) DeletePlainConversation(ctx context.Context, jobUid string, conversationId string) (*http.Response, error)

ConversationsApiService Delete plain conversation

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobUid
  • @param conversationId

func (*ConversationsApiService) FindConversations ¶

func (*ConversationsApiService) GetLQAConversation ¶

func (a *ConversationsApiService) GetLQAConversation(ctx context.Context, jobUid string, conversationId string) (LqaConversationDto, *http.Response, error)

ConversationsApiService Get LQA conversation

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobUid
  • @param conversationId

@return LqaConversationDto

func (*ConversationsApiService) GetPlainConversation ¶

func (a *ConversationsApiService) GetPlainConversation(ctx context.Context, jobUid string, conversationId string) (PlainConversationDto, *http.Response, error)

ConversationsApiService Get plain conversation

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobUid
  • @param conversationId

@return PlainConversationDto

func (*ConversationsApiService) ListAllConversations ¶

func (*ConversationsApiService) ListLQAConversations ¶

func (*ConversationsApiService) ListPlainConversations ¶

func (*ConversationsApiService) UpdateLQAComment ¶

func (a *ConversationsApiService) UpdateLQAComment(ctx context.Context, jobUid string, conversationId string, commentId string, localVarOptionals *ConversationsApiUpdateLQACommentOpts) (LqaConversationDto, *http.Response, error)

func (*ConversationsApiService) UpdateLQAConversation ¶

func (a *ConversationsApiService) UpdateLQAConversation(ctx context.Context, jobUid string, conversationId string, localVarOptionals *ConversationsApiUpdateLQAConversationOpts) (LqaConversationDto, *http.Response, error)

func (*ConversationsApiService) UpdatePlainComment ¶

func (a *ConversationsApiService) UpdatePlainComment(ctx context.Context, jobUid string, conversationId string, commentId string, localVarOptionals *ConversationsApiUpdatePlainCommentOpts) (PlainConversationDto, *http.Response, error)

func (*ConversationsApiService) UpdatePlainConversation ¶

func (a *ConversationsApiService) UpdatePlainConversation(ctx context.Context, jobUid string, conversationId string, localVarOptionals *ConversationsApiUpdatePlainConversationOpts) (PlainConversationDto, *http.Response, error)

type ConversationsApiUpdateLQACommentOpts ¶

type ConversationsApiUpdateLQACommentOpts struct {
	Body optional.Interface
}

type ConversationsApiUpdateLQAConversationOpts ¶

type ConversationsApiUpdateLQAConversationOpts struct {
	Body optional.Interface
}

type ConversationsApiUpdatePlainCommentOpts ¶

type ConversationsApiUpdatePlainCommentOpts struct {
	Body optional.Interface
}

type ConversationsApiUpdatePlainConversationOpts ¶

type ConversationsApiUpdatePlainConversationOpts struct {
	Body optional.Interface
}

type CostCenterReference ¶

type CostCenterReference struct {
	Name string `json:"name,omitempty"`
	Id   string `json:"id,omitempty"`
}

type CountsDto ¶

type CountsDto struct {
	Segments        float64 `json:"segments,omitempty"`
	Words           float64 `json:"words,omitempty"`
	Characters      float64 `json:"characters,omitempty"`
	NormalizedPages float64 `json:"normalizedPages,omitempty"`
	Percent         float64 `json:"percent,omitempty"`
}

type CreateAnalyseAsyncDto ¶

type CreateAnalyseAsyncDto struct {
	Jobs []UidReference `json:"jobs"`
	// default: PreAnalyse
	Type_ string `json:"type,omitempty"`
	// Default: true
	IncludeFuzzyRepetitions bool `json:"includeFuzzyRepetitions,omitempty"`
	// Default: true
	IncludeConfirmedSegments bool `json:"includeConfirmedSegments,omitempty"`
	// Default: true
	IncludeNumbers bool `json:"includeNumbers,omitempty"`
	// Default: true
	IncludeLockedSegments bool `json:"includeLockedSegments,omitempty"`
	// Default: true
	CountSourceUnits bool `json:"countSourceUnits,omitempty"`
	// Default: true
	IncludeTransMemory bool `json:"includeTransMemory,omitempty"`
	// Default: false. Works only for type=PreAnalyse.
	IncludeNonTranslatables bool `json:"includeNonTranslatables,omitempty"`
	// Default: false. Works only for type=PreAnalyse.
	IncludeMachineTranslationMatches bool `json:"includeMachineTranslationMatches,omitempty"`
	// Default: false. Works only for type=PostAnalyse.
	TransMemoryPostEditing bool `json:"transMemoryPostEditing,omitempty"`
	// Default: false. Works only for type=PostAnalyse.
	NonTranslatablePostEditing bool `json:"nonTranslatablePostEditing,omitempty"`
	// Default: false. Works only for type=PostAnalyse.
	MachineTranslatePostEditing bool         `json:"machineTranslatePostEditing,omitempty"`
	Name                        string       `json:"name,omitempty"`
	NetRateScheme               *IdReference `json:"netRateScheme,omitempty"`
	// Required for type=Compare
	CompareWorkflowLevel int32 `json:"compareWorkflowLevel,omitempty"`
	// Default: false. Use default project settings. Will be overwritten with setting sent         in the API call.
	UseProjectAnalysisSettings bool         `json:"useProjectAnalysisSettings,omitempty"`
	Linguist                   *IdReference `json:"linguist,omitempty"`
	CallbackUrl                string       `json:"callbackUrl,omitempty"`
}

type CreateAnalyseAsyncV2Dto ¶

type CreateAnalyseAsyncV2Dto struct {
	Jobs []UidReference `json:"jobs"`
	// default: PreAnalyse
	Type_ string `json:"type,omitempty"`
	// Default: true
	IncludeFuzzyRepetitions bool `json:"includeFuzzyRepetitions,omitempty"`
	// Default: true
	IncludeConfirmedSegments bool `json:"includeConfirmedSegments,omitempty"`
	// Default: true
	IncludeNumbers bool `json:"includeNumbers,omitempty"`
	// Default: true
	IncludeLockedSegments bool `json:"includeLockedSegments,omitempty"`
	// Default: true
	CountSourceUnits bool `json:"countSourceUnits,omitempty"`
	// Default: true
	IncludeTransMemory bool `json:"includeTransMemory,omitempty"`
	// Default: false. Works only for type=PreAnalyse.
	IncludeNonTranslatables bool `json:"includeNonTranslatables,omitempty"`
	// Default: false. Works only for type=PreAnalyse.
	IncludeMachineTranslationMatches bool `json:"includeMachineTranslationMatches,omitempty"`
	// Default: false. Works only for type=PostAnalyse.
	TransMemoryPostEditing bool `json:"transMemoryPostEditing,omitempty"`
	// Default: false. Works only for type=PostAnalyse.
	NonTranslatablePostEditing bool `json:"nonTranslatablePostEditing,omitempty"`
	// Default: false. Works only for type=PostAnalyse.
	MachineTranslatePostEditing bool         `json:"machineTranslatePostEditing,omitempty"`
	Name                        string       `json:"name,omitempty"`
	NetRateScheme               *IdReference `json:"netRateScheme,omitempty"`
	// Required for type=Compare
	CompareWorkflowLevel int32 `json:"compareWorkflowLevel,omitempty"`
	// Default: false. Use default project settings. Will be overwritten with setting sent         in the API call.
	UseProjectAnalysisSettings bool               `json:"useProjectAnalysisSettings,omitempty"`
	CallbackUrl                string             `json:"callbackUrl,omitempty"`
	Provider                   *ProviderReference `json:"provider,omitempty"`
}

type CreateAnalyseListAsyncDto ¶

type CreateAnalyseListAsyncDto struct {
	Jobs []UidReference `json:"jobs"`
	// default: PreAnalyse
	Type_ string `json:"type,omitempty"`
	// Default: true
	IncludeFuzzyRepetitions bool `json:"includeFuzzyRepetitions,omitempty"`
	// Default: true
	IncludeConfirmedSegments bool `json:"includeConfirmedSegments,omitempty"`
	// Default: true
	IncludeNumbers bool `json:"includeNumbers,omitempty"`
	// Default: true
	IncludeLockedSegments bool `json:"includeLockedSegments,omitempty"`
	// Default: true
	CountSourceUnits bool `json:"countSourceUnits,omitempty"`
	// Default: true
	IncludeTransMemory bool `json:"includeTransMemory,omitempty"`
	// Default: false. Works only for type=PreAnalyse.
	IncludeNonTranslatables bool `json:"includeNonTranslatables,omitempty"`
	// Default: false. Works only for type=PreAnalyse.
	IncludeMachineTranslationMatches bool `json:"includeMachineTranslationMatches,omitempty"`
	// Default: false. Works only for type=PostAnalyse.
	TransMemoryPostEditing bool `json:"transMemoryPostEditing,omitempty"`
	// Default: false. Works only for type=PostAnalyse.
	NonTranslatablePostEditing bool `json:"nonTranslatablePostEditing,omitempty"`
	// Default: false. Works only for type=PostAnalyse.
	MachineTranslatePostEditing bool         `json:"machineTranslatePostEditing,omitempty"`
	Name                        string       `json:"name,omitempty"`
	NetRateScheme               *IdReference `json:"netRateScheme,omitempty"`
	// Required for type=Compare
	CompareWorkflowLevel int32 `json:"compareWorkflowLevel,omitempty"`
	// Default: false. Use default project settings. Will be overwritten with setting sent         in the API call.
	UseProjectAnalysisSettings bool   `json:"useProjectAnalysisSettings,omitempty"`
	CallbackUrl                string `json:"callbackUrl,omitempty"`
}

type CreateLqaConversationDto ¶

type CreateLqaConversationDto struct {
	Comment    *AddCommentDto `json:"comment,omitempty"`
	References *LqaReferences `json:"references"`
}

type CreatePlainConversationDto ¶

type CreatePlainConversationDto struct {
	Comment    *AddCommentDto   `json:"comment,omitempty"`
	References *PlainReferences `json:"references"`
}

type CreateProjectDto ¶

type CreateProjectDto struct {
	Name        string   `json:"name"`
	SourceLang  string   `json:"sourceLang"`
	TargetLangs []string `json:"targetLangs"`
	// Client referenced by id
	Client       *IdReference `json:"client,omitempty"`
	BusinessUnit *IdReference `json:"businessUnit,omitempty"`
	Domain       *IdReference `json:"domain,omitempty"`
	SubDomain    *IdReference `json:"subDomain,omitempty"`
	// Default: false
	UseDefaultProjectSettings bool          `json:"useDefaultProjectSettings,omitempty"`
	PurchaseOrder             string        `json:"purchaseOrder,omitempty"`
	WorkflowSteps             []IdReference `json:"workflowSteps,omitempty"`
	DateDue                   time.Time     `json:"dateDue,omitempty"`
	Note                      string        `json:"note,omitempty"`
}

type CreateProjectFromTemplateDto ¶

type CreateProjectFromTemplateDto struct {
	Name          string        `json:"name"`
	SourceLang    string        `json:"sourceLang,omitempty"`
	TargetLangs   []string      `json:"targetLangs,omitempty"`
	WorkflowSteps []IdReference `json:"workflowSteps,omitempty"`
	DateDue       time.Time     `json:"dateDue,omitempty"`
	Note          string        `json:"note,omitempty"`
}

type CreateProjectFromTemplateV2Dto ¶

type CreateProjectFromTemplateV2Dto struct {
	Name          string        `json:"name"`
	SourceLang    string        `json:"sourceLang,omitempty"`
	TargetLangs   []string      `json:"targetLangs,omitempty"`
	WorkflowSteps []IdReference `json:"workflowSteps,omitempty"`
	DateDue       time.Time     `json:"dateDue,omitempty"`
	Note          string        `json:"note,omitempty"`
	Client        *IdReference  `json:"client,omitempty"`
	BusinessUnit  *IdReference  `json:"businessUnit,omitempty"`
	Domain        *IdReference  `json:"domain,omitempty"`
	SubDomain     *IdReference  `json:"subDomain,omitempty"`
}

type CreateReferenceFileNoteDto ¶

type CreateReferenceFileNoteDto struct {
	Note string `json:"note"`
}

type CreateTermsDto ¶

type CreateTermsDto struct {
	SourceTerm *TermCreateByJobDto `json:"sourceTerm"`
	TargetTerm *TermCreateByJobDto `json:"targetTerm"`
}

type CreateWebEditorLinkDto ¶

type CreateWebEditorLinkDto struct {
	Jobs []UidReference `json:"jobs"`
}

type CreateWebEditorLinkDtoV2 ¶

type CreateWebEditorLinkDtoV2 struct {
	Jobs []UidReference `json:"jobs"`
}

type CsvSettingsDto ¶

type CsvSettingsDto struct {
	// Default: ,
	Delimiter string `json:"delimiter,omitempty"`
	// Default: COMMA
	DelimiterType string `json:"delimiterType,omitempty"`
	// Default: false
	HtmlSubFilter      bool   `json:"htmlSubFilter,omitempty"`
	TagRegexp          string `json:"tagRegexp,omitempty"`
	ImportColumns      string `json:"importColumns,omitempty"`
	ContextNoteColumns string `json:"contextNoteColumns,omitempty"`
	ContextKeyColumn   string `json:"contextKeyColumn,omitempty"`
	MaxLenColumn       string `json:"maxLenColumn,omitempty"`
	ImportRows         string `json:"importRows,omitempty"`
}

type DataDto ¶

type DataDto struct {
	Available                 bool               `json:"available,omitempty"`
	All                       *CountsDto         `json:"all,omitempty"`
	Repetitions               *CountsDto         `json:"repetitions,omitempty"`
	TransMemoryMatches        *MatchCounts101Dto `json:"transMemoryMatches,omitempty"`
	MachineTranslationMatches *MatchCountsDto    `json:"machineTranslationMatches,omitempty"`
	NonTranslatablesMatches   *MatchCountsNtDto  `json:"nonTranslatablesMatches,omitempty"`
}

type DictionaryItemDto ¶

type DictionaryItemDto struct {
	Lang string `json:"lang"`
	Word string `json:"word"`
}

type DiscountSchemeCreateDto ¶

type DiscountSchemeCreateDto struct {
	Name                   string                            `json:"name"`
	Rates                  *DiscountSettingsDto              `json:"rates,omitempty"`
	WorkflowStepNetSchemes []NetRateSchemeWorkflowStepCreate `json:"workflowStepNetSchemes,omitempty"`
}

type DiscountSchemeReference ¶

type DiscountSchemeReference struct {
	Id          string         `json:"id,omitempty"`
	Name        string         `json:"name,omitempty"`
	DateCreated time.Time      `json:"dateCreated,omitempty"`
	CreatedBy   *UserReference `json:"createdBy,omitempty"`
}

type DiscountSettingsDto ¶

type DiscountSettingsDto struct {
	Repetition float64 `json:"repetition,omitempty"`
	Tm101      float64 `json:"tm101,omitempty"`
	Tm100      float64 `json:"tm100,omitempty"`
	Tm95       float64 `json:"tm95,omitempty"`
	Tm85       float64 `json:"tm85,omitempty"`
	Tm75       float64 `json:"tm75,omitempty"`
	Tm50       float64 `json:"tm50,omitempty"`
	Tm0        float64 `json:"tm0,omitempty"`
	Mt100      float64 `json:"mt100,omitempty"`
	Mt95       float64 `json:"mt95,omitempty"`
	Mt85       float64 `json:"mt85,omitempty"`
	Mt75       float64 `json:"mt75,omitempty"`
	Mt50       float64 `json:"mt50,omitempty"`
	Mt0        float64 `json:"mt0,omitempty"`
	Nt100      float64 `json:"nt100,omitempty"`
	Nt99       float64 `json:"nt99,omitempty"`
	Nt85       float64 `json:"nt85,omitempty"`
	Nt75       float64 `json:"nt75,omitempty"`
	Nt50       float64 `json:"nt50,omitempty"`
	Nt0        float64 `json:"nt0,omitempty"`
}

type DiscoveredVendorDto ¶

type DiscoveredVendorDto struct {
	Vendor         *VendorDto            `json:"vendor,omitempty"`
	Org            *OrganizationInfo     `json:"org,omitempty"`
	TotalResponses int64                 `json:"totalResponses,omitempty"`
	LastResponses  []JobBoardResponseDto `json:"lastResponses,omitempty"`
}

type DitaSettingsDto ¶

type DitaSettingsDto struct {
	IncludeTags               string `json:"includeTags,omitempty"`
	ExcludeTags               string `json:"excludeTags,omitempty"`
	InlineTags                string `json:"inlineTags,omitempty"`
	InlineTagsNonTranslatable string `json:"inlineTagsNonTranslatable,omitempty"`
}

type DocBookSettingsDto ¶

type DocBookSettingsDto struct {
	IncludeTags               string `json:"includeTags,omitempty"`
	ExcludeTags               string `json:"excludeTags,omitempty"`
	InlineTags                string `json:"inlineTags,omitempty"`
	InlineTagsNonTranslatable string `json:"inlineTagsNonTranslatable,omitempty"`
}

type DocSettingsDto ¶

type DocSettingsDto struct {
	// Default: false
	Comments bool `json:"comments,omitempty"`
	// Default: true
	Index bool `json:"index,omitempty"`
	// Default: false
	Other     bool   `json:"other,omitempty"`
	TagRegexp string `json:"tagRegexp,omitempty"`
	// Default: false
	HyperlinkTarget bool `json:"hyperlinkTarget,omitempty"`
	// Default: false
	JoinSimilarRuns bool   `json:"joinSimilarRuns,omitempty"`
	TargetFont      string `json:"targetFont,omitempty"`
	// Default: false
	Properties bool `json:"properties,omitempty"`
	// Default: false
	Hidden bool `json:"hidden,omitempty"`
}

type DomainApiCreateDomainOpts ¶

type DomainApiCreateDomainOpts struct {
	Body optional.Interface
}

type DomainApiListDomainsOpts ¶

type DomainApiListDomainsOpts struct {
	Name       optional.String
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type DomainApiService ¶

type DomainApiService service

func (*DomainApiService) CreateDomain ¶

func (a *DomainApiService) CreateDomain(ctx context.Context, localVarOptionals *DomainApiCreateDomainOpts) (DomainDto, *http.Response, error)

func (*DomainApiService) DeleteDomain ¶

func (a *DomainApiService) DeleteDomain(ctx context.Context, domainId int64) (*http.Response, error)

DomainApiService Delete domain

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param domainId

func (*DomainApiService) GetDomain ¶

func (a *DomainApiService) GetDomain(ctx context.Context, domainId int64) (DomainDto, *http.Response, error)

DomainApiService Get domain

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param domainId

@return DomainDto

func (*DomainApiService) ListDomains ¶

func (a *DomainApiService) ListDomains(ctx context.Context, localVarOptionals *DomainApiListDomainsOpts) (PageDtoDomainDto, *http.Response, error)

func (*DomainApiService) UpdateDomain ¶

func (a *DomainApiService) UpdateDomain(ctx context.Context, domainId int64, localVarOptionals *DomainApiUpdateDomainOpts) (DomainDto, *http.Response, error)

type DomainApiUpdateDomainOpts ¶

type DomainApiUpdateDomainOpts struct {
	Body optional.Interface
}

type DomainDto ¶

type DomainDto struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type DomainEditDto ¶

type DomainEditDto struct {
	Name string `json:"name,omitempty"`
}

type DomainReference ¶

type DomainReference struct {
	Name string `json:"name,omitempty"`
	Id   string `json:"id,omitempty"`
}

type EditLqaConversationDto ¶

type EditLqaConversationDto struct {
	Lqa    []LqaReference `json:"lqa"`
	Status string         `json:"status"`
}

type EditPlainConversationDto ¶

type EditPlainConversationDto struct {
	Status string `json:"status"`
}

type EditProjectDto ¶

type EditProjectDto struct {
	Name          string       `json:"name"`
	Status        string       `json:"status,omitempty"`
	Client        *IdReference `json:"client,omitempty"`
	BusinessUnit  *IdReference `json:"businessUnit,omitempty"`
	Domain        *IdReference `json:"domain,omitempty"`
	SubDomain     *IdReference `json:"subDomain,omitempty"`
	Owner         *IdReference `json:"owner,omitempty"`
	PurchaseOrder string       `json:"purchaseOrder,omitempty"`
	DateDue       time.Time    `json:"dateDue,omitempty"`
	Note          string       `json:"note,omitempty"`
}

type EditProjectMtSettPerLangDto ¶

type EditProjectMtSettPerLangDto struct {
	TargetLang               string       `json:"targetLang"`
	MachineTranslateSettings *IdReference `json:"machineTranslateSettings,omitempty"`
}

type EditProjectMtSettPerLangListDto ¶

type EditProjectMtSettPerLangListDto struct {
	MtSettingsPerLangList []EditProjectMtSettPerLangDto `json:"mtSettingsPerLangList,omitempty"`
}

type EditProjectMtSettingsDto ¶

type EditProjectMtSettingsDto struct {
	MachineTranslateSettings *IdReference `json:"machineTranslateSettings,omitempty"`
}

type EditProjectSecuritySettingsDto ¶

type EditProjectSecuritySettingsDto struct {
	// Default: false
	TranslationMemoryDownloadEnabled bool `json:"translationMemoryDownloadEnabled,omitempty"`
	// Default: false
	WebEditorEnabledForLinguists bool `json:"webEditorEnabledForLinguists,omitempty"`
	// Default: false
	ShowUserDataToLinguists bool `json:"showUserDataToLinguists,omitempty"`
	// Default: false
	EmailNotifications bool `json:"emailNotifications,omitempty"`
	// Default: false
	StrictWorkflowFinish bool `json:"strictWorkflowFinish,omitempty"`
	// Default: false
	UseVendors bool `json:"useVendors,omitempty"`
	// Default: false
	LinguistsMayEditLockedSegments bool `json:"linguistsMayEditLockedSegments,omitempty"`
	// Default: true
	LinguistsMaySetAutoPropagation bool `json:"linguistsMaySetAutoPropagation,omitempty"`
	// Default: true
	UsersMaySetAutoPropagation bool `json:"usersMaySetAutoPropagation,omitempty"`
}

type EditQaSettingsDto ¶

type EditQaSettingsDto struct {
	// Default: false
	EmptyTranslation bool `json:"emptyTranslation,omitempty"`
	// Default: false
	InconsistentTranslation bool `json:"inconsistentTranslation,omitempty"`
	// Default: false
	JoinTags bool `json:"joinTags,omitempty"`
	// Default: false
	MissingNumbers bool `json:"missingNumbers,omitempty"`
	// Default: false
	SegmentNotConfirmed bool `json:"segmentNotConfirmed,omitempty"`
	// Default: false
	Terminology bool `json:"terminology,omitempty"`
	// Default: false
	MultipleSpaces bool `json:"multipleSpaces,omitempty"`
	// Default: false
	TrailingSpace bool `json:"trailingSpace,omitempty"`
	// Default: false
	TrailingPunctuation bool  `json:"trailingPunctuation,omitempty"`
	TargetLengthMax     int32 `json:"targetLengthMax,omitempty"`
	// Default: false
	Formatting bool `json:"formatting,omitempty"`
	// Default: false
	UnresolvedComment bool `json:"unresolvedComment,omitempty"`
	// Default: false
	EmptyPairTags bool `json:"emptyPairTags,omitempty"`
	// Linguists may not set jobs with unresolved QA warnings to Completed. default value: false
	StrictJobStatus  bool     `json:"strictJobStatus,omitempty"`
	ForbiddenStrings []string `json:"forbiddenStrings,omitempty"`
	// Default: false
	ExcludeLockedSegments bool `json:"excludeLockedSegments,omitempty"`
	// Default: false
	IgnoreNotApprovedTerms bool `json:"ignoreNotApprovedTerms,omitempty"`
	// Default: false
	SpellCheck bool `json:"spellCheck,omitempty"`
	// Default: false
	RepeatedWords bool `json:"repeatedWords,omitempty"`
	// Default: false
	InconsistentTagContent bool `json:"inconsistentTagContent,omitempty"`
	// Default: false
	EmptyTagContent bool `json:"emptyTagContent,omitempty"`
	// Default: false
	XliffTags bool `json:"xliffTags,omitempty"`
	// Default: false
	ForbiddenTerms      bool    `json:"forbiddenTerms,omitempty"`
	TargetLengthPercent float64 `json:"targetLengthPercent,omitempty"`
	// Default: false
	TargetLengthPerSegment bool `json:"targetLengthPerSegment,omitempty"`
	// Default: false
	NewerAtPrecedingWorkflowStep bool `json:"newerAtPrecedingWorkflowStep,omitempty"`
	// Default: false
	LeadingAndTrailingSpaces bool            `json:"leadingAndTrailingSpaces,omitempty"`
	MoraviaQA                *MoraviaQaDto   `json:"moraviaQA,omitempty"`
	Regexp                   *RegexpCheckDto `json:"regexp,omitempty"`
}

type EditQaSettingsDtoV2 ¶

type EditQaSettingsDtoV2 struct {
	// checks
	Checks []map[string]interface{} `json:"checks,omitempty"`
}

type EditSegmentationRuleDto ¶

type EditSegmentationRuleDto struct {
	Name string `json:"name"`
	// Default: false
	Primary bool `json:"primary,omitempty"`
}

segmentation rule object for editing

type EditionDto ¶

type EditionDto struct {
	Id    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
	Title string `json:"title,omitempty"`
}

type Email ¶

type Email struct {
	Value string `json:"value,omitempty"`
	Type_ string `json:"type,omitempty"`
	// Default: false
	Primary bool `json:"primary,omitempty"`
}

type EmailTemplateApiListOrgEmailTemplatesOpts ¶

type EmailTemplateApiListOrgEmailTemplatesOpts struct {
	Type_      optional.String
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type EmailTemplateApiService ¶

type EmailTemplateApiService service

func (*EmailTemplateApiService) GetOrgEmailTemplate ¶

func (a *EmailTemplateApiService) GetOrgEmailTemplate(ctx context.Context, templateId int64) (OrganizationEmailTemplateDto, *http.Response, error)

EmailTemplateApiService Get email template

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param templateId

@return OrganizationEmailTemplateDto

func (*EmailTemplateApiService) ListOrgEmailTemplates ¶

type EmptyPairTagsWarningDto ¶

type EmptyPairTagsWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type EmptyTagContentWarningDto ¶

type EmptyTagContentWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type EmptyTranslationWarningDto ¶

type EmptyTranslationWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type EnabledCheckDto ¶

type EnabledCheckDto struct {
	CheckerType string `json:"checkerType,omitempty"`
}

type EnabledQualityChecksDto ¶

type EnabledQualityChecksDto struct {
	EnabledChecks []string `json:"enabledChecks,omitempty"`
}

type ErrorDetailDto ¶

type ErrorDetailDto struct {
	// Code, e.g. NOT_FOUND.
	Code string `json:"code,omitempty"`
	// Related arguments, e.g. number => \"hello world\"
	Args map[string]interface{} `json:"args,omitempty"`
	// Optional human-readable message.
	Message string `json:"message,omitempty"`
}

type ErrorDetailDtoV2 ¶

type ErrorDetailDtoV2 struct {
	// Code, e.g. NOT_FOUND.
	Code string `json:"code,omitempty"`
	// Related arguments, e.g. number => \"hello world\"
	Args map[string]interface{} `json:"args,omitempty"`
	// Optional human-readable message.
	Message string `json:"message,omitempty"`
}

type ErrorDto ¶

type ErrorDto struct {
	Code    string `json:"code,omitempty"`
	Message string `json:"message,omitempty"`
}

type ExportByQueryDto ¶

type ExportByQueryDto struct {
	ExportTargetLangs []string      `json:"exportTargetLangs"`
	Queries           []string      `json:"queries"`
	QueryLangs        []string      `json:"queryLangs"`
	CreatedAtMin      time.Time     `json:"createdAtMin,omitempty"`
	CreatedAtMax      time.Time     `json:"createdAtMax,omitempty"`
	ModifiedAtMin     time.Time     `json:"modifiedAtMin,omitempty"`
	ModifiedAtMax     time.Time     `json:"modifiedAtMax,omitempty"`
	CreatedBy         *IdReference  `json:"createdBy,omitempty"`
	ModifiedBy        *IdReference  `json:"modifiedBy,omitempty"`
	Filename          string        `json:"filename,omitempty"`
	Project           *UidReference `json:"project,omitempty"`
	CallbackUrl       string        `json:"callbackUrl,omitempty"`
}

type ExportTmDto ¶

type ExportTmDto struct {
	ExportTargetLangs []string `json:"exportTargetLangs,omitempty"`
	CallbackUrl       string   `json:"callbackUrl,omitempty"`
}

type ExtraNumbersWarningDto ¶

type ExtraNumbersWarningDto struct {
	Id                string   `json:"id,omitempty"`
	Ignored           bool     `json:"ignored,omitempty"`
	Type_             string   `json:"type,omitempty"`
	RepetitionGroupId string   `json:"repetitionGroupId,omitempty"`
	ExtraNumbers      []string `json:"extraNumbers,omitempty"`
}

type FeaturesDto ¶

type FeaturesDto struct {
	RejectJobs bool `json:"rejectJobs,omitempty"`
}

type FileApiGetFilesOpts ¶

type FileApiGetFilesOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
	Name       optional.String
	Types      optional.Interface
	CreatedBy  optional.Int64
	BiggerThan optional.Int64
}

type FileApiService ¶

type FileApiService service

func (*FileApiService) CreateUrlFile ¶

func (a *FileApiService) CreateUrlFile(ctx context.Context, body RemoteUploadedFileDto, contentDisposition string) (UploadedFileDto, *http.Response, error)

FileApiService Upload file Accepts multipart/form-data, application/octet-stream or application/json.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body file
  • @param contentDisposition must match pattern `((inline|attachment); )?filename\\*=UTF-8''(.+)`

@return UploadedFileDto

func (*FileApiService) DeletesFile ¶

func (a *FileApiService) DeletesFile(ctx context.Context, fileUid string) (*http.Response, error)

FileApiService Delete file

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param fileUid

func (*FileApiService) GetFileJson ¶

func (a *FileApiService) GetFileJson(ctx context.Context, fileUid string) (UploadedFileDto, *http.Response, error)

FileApiService Get file Get uploaded file as <b>octet-stream</b> or as <b>json</b> based on 'Accept' header

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param fileUid

@return UploadedFileDto

func (*FileApiService) GetFiles ¶

func (a *FileApiService) GetFiles(ctx context.Context, localVarOptionals *FileApiGetFilesOpts) (PageDtoUploadedFileDto, *http.Response, error)

type FileDto ¶

type FileDto struct {
	Id           string    `json:"id,omitempty"`
	Name         string    `json:"name,omitempty"`
	EncodedName  string    `json:"encodedName,omitempty"`
	ContentType  string    `json:"contentType,omitempty"`
	Size         int64     `json:"size,omitempty"`
	Directory    bool      `json:"directory,omitempty"`
	LastModified time.Time `json:"lastModified,omitempty"`
	Selected     bool      `json:"selected,omitempty"`
	Error_       *ErrorDto `json:"error,omitempty"`
	EscapedName  string    `json:"escapedName,omitempty"`
}

type FileImportSettingsCreateDto ¶

type FileImportSettingsCreateDto struct {
	InputCharset  string `json:"inputCharset,omitempty"`
	OutputCharset string `json:"outputCharset,omitempty"`
	ZipCharset    string `json:"zipCharset,omitempty"`
	// default: auto-detect
	FileFormat string `json:"fileFormat,omitempty"`
	// Default: false
	TargetLength bool `json:"targetLength,omitempty"`
	// default: 1000
	TargetLengthMax int32 `json:"targetLengthMax,omitempty"`
	// Default: false
	TargetLengthPercent bool `json:"targetLengthPercent,omitempty"`
	// default: 130
	TargetLengthPercentValue float64                     `json:"targetLengthPercentValue,omitempty"`
	SegmentationRuleId       int64                       `json:"segmentationRuleId,omitempty"`
	TargetSegmentationRuleId int64                       `json:"targetSegmentationRuleId,omitempty"`
	Android                  *AndroidSettingsDto         `json:"android,omitempty"`
	Csv                      *CsvSettingsDto             `json:"csv,omitempty"`
	Dita                     *DitaSettingsDto            `json:"dita,omitempty"`
	DocBook                  *DocBookSettingsDto         `json:"docBook,omitempty"`
	Doc                      *DocSettingsDto             `json:"doc,omitempty"`
	Html                     *HtmlSettingsDto            `json:"html,omitempty"`
	Idml                     *IdmlSettingsDto            `json:"idml,omitempty"`
	Json                     *JsonSettingsDto            `json:"json,omitempty"`
	Mac                      *MacSettingsDto             `json:"mac,omitempty"`
	Md                       *MdSettingsDto              `json:"md,omitempty"`
	Mif                      *MifSettingsDto             `json:"mif,omitempty"`
	MultilingualXls          *MultilingualXlsSettingsDto `json:"multilingualXls,omitempty"`
	MultilingualCsv          *MultilingualCsvSettingsDto `json:"multilingualCsv,omitempty"`
	MultilingualXml          *MultilingualXmlSettingsDto `json:"multilingualXml,omitempty"`
	Pdf                      *PdfSettingsDto             `json:"pdf,omitempty"`
	Php                      *PhpSettingsDto             `json:"php,omitempty"`
	Po                       *PoSettingsDto              `json:"po,omitempty"`
	Ppt                      *PptSettingsDto             `json:"ppt,omitempty"`
	Properties               *PropertiesSettingsDto      `json:"properties,omitempty"`
	Psd                      *PsdSettingsDto             `json:"psd,omitempty"`
	QuarkTag                 *QuarkTagSettingsDto        `json:"quarkTag,omitempty"`
	Resx                     *ResxSettingsDto            `json:"resx,omitempty"`
	SdlXlf                   *SdlXlfSettingsDto          `json:"sdlXlf,omitempty"`
	TmMatch                  *TmMatchSettingsDto         `json:"tmMatch,omitempty"`
	Ttx                      *TtxSettingsDto             `json:"ttx,omitempty"`
	Txt                      *TxtSettingsDto             `json:"txt,omitempty"`
	Xlf2                     *Xlf2SettingsDto            `json:"xlf2,omitempty"`
	Xlf                      *XlfSettingsDto             `json:"xlf,omitempty"`
	Xls                      *XlsSettingsDto             `json:"xls,omitempty"`
	Xml                      *XmlSettingsDto             `json:"xml,omitempty"`
	Yaml                     *YamlSettingsDto            `json:"yaml,omitempty"`
}

type FileImportSettingsDto ¶

type FileImportSettingsDto struct {
	InputCharset             string                      `json:"inputCharset,omitempty"`
	OutputCharset            string                      `json:"outputCharset,omitempty"`
	ZipCharset               string                      `json:"zipCharset,omitempty"`
	FileFormat               string                      `json:"fileFormat,omitempty"`
	TargetLength             bool                        `json:"targetLength,omitempty"`
	TargetLengthMax          int32                       `json:"targetLengthMax,omitempty"`
	TargetLengthPercent      bool                        `json:"targetLengthPercent,omitempty"`
	TargetLengthPercentValue float64                     `json:"targetLengthPercentValue,omitempty"`
	Android                  *AndroidSettingsDto         `json:"android,omitempty"`
	Idml                     *IdmlSettingsDto            `json:"idml,omitempty"`
	Xls                      *XlsSettingsDto             `json:"xls,omitempty"`
	MultilingualXml          *MultilingualXmlSettingsDto `json:"multilingualXml,omitempty"`
	Php                      *PhpSettingsDto             `json:"php,omitempty"`
	Resx                     *ResxSettingsDto            `json:"resx,omitempty"`
	Json                     *JsonSettingsDto            `json:"json,omitempty"`
	Html                     *HtmlSettingsDto            `json:"html,omitempty"`
	MultilingualXls          *MultilingualXlsSettingsDto `json:"multilingualXls,omitempty"`
	MultilingualCsv          *MultilingualCsvSettingsDto `json:"multilingualCsv,omitempty"`
	Csv                      *CsvSettingsDto             `json:"csv,omitempty"`
	Txt                      *TxtSettingsDto             `json:"txt,omitempty"`
	Xlf2                     *Xlf2SettingsDto            `json:"xlf2,omitempty"`
	QuarkTag                 *QuarkTagSettingsDto        `json:"quarkTag,omitempty"`
	Pdf                      *PdfSettingsDto             `json:"pdf,omitempty"`
	TmMatch                  *TmMatchSettingsDto         `json:"tmMatch,omitempty"`
	Xml                      *XmlSettingsDto             `json:"xml,omitempty"`
	Mif                      *MifSettingsDto             `json:"mif,omitempty"`
	Properties               *PropertiesSettingsDto      `json:"properties,omitempty"`
	Doc                      *DocSettingsDto             `json:"doc,omitempty"`
	Xlf                      *XlfSettingsDto             `json:"xlf,omitempty"`
	SdlXlf                   *SdlXlfSettingsDto          `json:"sdlXlf,omitempty"`
	Ttx                      *TtxSettingsDto             `json:"ttx,omitempty"`
	Ppt                      *PptSettingsDto             `json:"ppt,omitempty"`
	Yaml                     *YamlSettingsDto            `json:"yaml,omitempty"`
	Dita                     *DitaSettingsDto            `json:"dita,omitempty"`
	DocBook                  *DocBookSettingsDto         `json:"docBook,omitempty"`
	Po                       *PoSettingsDto              `json:"po,omitempty"`
	Mac                      *MacSettingsDto             `json:"mac,omitempty"`
	Md                       *MdSettingsDto              `json:"md,omitempty"`
	Psd                      *PsdSettingsDto             `json:"psd,omitempty"`
	SegRule                  *SegRuleReference           `json:"segRule,omitempty"`
	TargetSegRule            *SegRuleReference           `json:"targetSegRule,omitempty"`
}

type FileListDto ¶

type FileListDto struct {
	Files                []FileDto `json:"files,omitempty"`
	CurrentFolder        string    `json:"currentFolder,omitempty"`
	EncodedCurrentFolder string    `json:"encodedCurrentFolder,omitempty"`
	RootFolder           bool      `json:"rootFolder,omitempty"`
	LastChangedFiles     []FileDto `json:"lastChangedFiles,omitempty"`
}

type FinancialSettingsDto ¶

type FinancialSettingsDto struct {
	NetRateScheme *NetRateSchemeReference `json:"netRateScheme,omitempty"`
	PriceList     *PriceListReference     `json:"priceList,omitempty"`
}

type FindConversationsDto ¶

type FindConversationsDto struct {
	Jobs  []UidReference `json:"jobs"`
	Since string         `json:"since,omitempty"`
	// Default: false
	IncludeDeleted bool `json:"includeDeleted,omitempty"`
}

type ForbiddenStringWarningDto ¶

type ForbiddenStringWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
	ForbiddenString   string `json:"forbiddenString,omitempty"`
}

type ForbiddenStringsDto ¶

type ForbiddenStringsDto struct {
	Enabled bool     `json:"enabled,omitempty"`
	List    []string `json:"list,omitempty"`
}

type ForbiddenTermWarningDto ¶

type ForbiddenTermWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
	Term              string `json:"term,omitempty"`
}

type FormattingWarningDto ¶

type FormattingWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type GenericSwaggerError ¶

type GenericSwaggerError struct {
	// contains filtered or unexported fields
}

GenericSwaggerError Provides access to the body, error and model on returned errors.

func (GenericSwaggerError) Body ¶

func (e GenericSwaggerError) Body() []byte

Body returns the raw bytes of the response

func (GenericSwaggerError) Error ¶

func (e GenericSwaggerError) Error() string

Error returns non-empty string if there was an error.

func (GenericSwaggerError) Model ¶

func (e GenericSwaggerError) Model() interface{}

Model returns the unpacked model of the error

type HtmlSettingsDto ¶

type HtmlSettingsDto struct {
	// Default: true
	BreakTagCreatesSegment bool `json:"breakTagCreatesSegment,omitempty"`
	// Default: true
	UnknownTagCreatesTag bool `json:"unknownTagCreatesTag,omitempty"`
	// Default: false
	PreserveWhitespace bool `json:"preserveWhitespace,omitempty"`
	// Default: true
	ImportComments bool `json:"importComments,omitempty"`
	// Example: \"script,blockquote\"
	ExcludeElements        string `json:"excludeElements,omitempty"`
	TagRegexp              string `json:"tagRegexp,omitempty"`
	CharEntitiesToTags     string `json:"charEntitiesToTags,omitempty"`
	TranslateMetaTagRegexp string `json:"translateMetaTagRegexp,omitempty"`
}

type HumanTranslateJobsDto ¶

type HumanTranslateJobsDto struct {
	Jobs                    []UidReference `json:"jobs"`
	HumanTranslateSettings  *IdReference   `json:"humanTranslateSettings"`
	Comment                 string         `json:"comment,omitempty"`
	GlossaryId              string         `json:"glossaryId,omitempty"`
	UsePreferredTranslators bool           `json:"usePreferredTranslators,omitempty"`
	Level                   string         `json:"level,omitempty"`
	CallbackUrl             string         `json:"callbackUrl,omitempty"`
}

type IdReference ¶

type IdReference struct {
	Id string `json:"id"`
}

type IdmlSettingsDto ¶

type IdmlSettingsDto struct {
	// Default: false
	ExtractNotes bool `json:"extractNotes,omitempty"`
	// Default: true
	SimplifyCodes bool `json:"simplifyCodes,omitempty"`
	// Default: true
	ExtractMasterSpreads bool `json:"extractMasterSpreads,omitempty"`
	// Default: true
	ExtractLockedLayers bool `json:"extractLockedLayers,omitempty"`
	// Default: false
	ExtractInvisibleLayers bool `json:"extractInvisibleLayers,omitempty"`
	// Default: false
	ExtractHiddenConditionalText bool `json:"extractHiddenConditionalText,omitempty"`
	// Default: false
	ExtractHyperlinks bool `json:"extractHyperlinks,omitempty"`
	// Default: false
	KeepKerning bool `json:"keepKerning,omitempty"`
	// Default: false
	KeepTracking bool   `json:"keepTracking,omitempty"`
	TargetFont   string `json:"targetFont,omitempty"`
	// Default: true
	ReplaceFont bool `json:"replaceFont,omitempty"`
	// Default: false
	RemoveXmlElements bool   `json:"removeXmlElements,omitempty"`
	TagRegexp         string `json:"tagRegexp,omitempty"`
	// Default: true
	ExtractVariables bool `json:"extractVariables,omitempty"`
}

type ImportResponse ¶

type ImportResponse struct {
	AcceptedSegmentsCount int32 `json:"acceptedSegmentsCount,omitempty"`
	CreatedSegmentsCount  int32 `json:"createdSegmentsCount,omitempty"`
	UpdatedSegmentsCount  int32 `json:"updatedSegmentsCount,omitempty"`
	SkippedSegmentsCount  int32 `json:"skippedSegmentsCount,omitempty"`
	Empty                 bool  `json:"empty,omitempty"`
}

type ImportSettingsApiCreateImportSettingsOpts ¶

type ImportSettingsApiCreateImportSettingsOpts struct {
	Body optional.Interface
}

type ImportSettingsApiListImportSettingsOpts ¶

type ImportSettingsApiListImportSettingsOpts struct {
	Name       optional.String
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type ImportSettingsApiService ¶

type ImportSettingsApiService service

func (*ImportSettingsApiService) CreateImportSettings ¶

func (*ImportSettingsApiService) DeleteImportSettings ¶

func (a *ImportSettingsApiService) DeleteImportSettings(ctx context.Context, uid string) (*http.Response, error)

ImportSettingsApiService Delete import settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param uid

func (*ImportSettingsApiService) GetImportSettings ¶

func (a *ImportSettingsApiService) GetImportSettings(ctx context.Context, uid string) (ImportSettingsDto, *http.Response, error)

ImportSettingsApiService Get import settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param uid

@return ImportSettingsDto

func (*ImportSettingsApiService) GetImportSettings1 ¶

ImportSettingsApiService Get organization's default import settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ImportSettingsDto

func (*ImportSettingsApiService) ListImportSettings ¶

type ImportSettingsCreateDto ¶

type ImportSettingsCreateDto struct {
	Name               string                       `json:"name"`
	FileImportSettings *FileImportSettingsCreateDto `json:"fileImportSettings"`
}

type ImportSettingsDto ¶

type ImportSettingsDto struct {
	Uid                string                 `json:"uid,omitempty"`
	Name               string                 `json:"name,omitempty"`
	CreatedBy          *UserReference         `json:"createdBy,omitempty"`
	DateCreated        time.Time              `json:"dateCreated,omitempty"`
	FileImportSettings *FileImportSettingsDto `json:"fileImportSettings,omitempty"`
}

type ImportSettingsReference ¶

type ImportSettingsReference struct {
	Uid         string         `json:"uid,omitempty"`
	Name        string         `json:"name,omitempty"`
	CreatedBy   *UserReference `json:"createdBy,omitempty"`
	DateCreated time.Time      `json:"dateCreated,omitempty"`
}

type InconsistentTagContentWarningDto ¶

type InconsistentTagContentWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type InconsistentTranslationWarningDto ¶

type InconsistentTranslationWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
	SegmentId         string `json:"segmentId,omitempty"`
}

type InputStream ¶

type InputStream struct {
}

type InputStreamLength ¶

type InputStreamLength struct {
	Stream            *InputStream `json:"stream,omitempty"`
	Length            int64        `json:"length,omitempty"`
	Name              string       `json:"name,omitempty"`
	CharacterEncoding string       `json:"characterEncoding,omitempty"`
	Extension         string       `json:"extension,omitempty"`
}

type JobApiComparePartOpts ¶

type JobApiComparePartOpts struct {
	Body              optional.Interface
	AtWorkflowLevel   optional.Int32
	WithWorkflowLevel optional.Int32
}

type JobApiCompletedFileOpts ¶

type JobApiCompletedFileOpts struct {
	Format optional.String
}

type JobApiCreateJobOpts ¶

type JobApiCreateJobOpts struct {
	Memsource          optional.String
	ContentDisposition optional.String
	Body               optional.Interface
}

type JobApiCreateTermByJobOpts ¶

type JobApiCreateTermByJobOpts struct {
	Body optional.Interface
}

type JobApiDeleteAllTranslationsOpts ¶

type JobApiDeleteAllTranslationsOpts struct {
	Body optional.Interface
}

type JobApiDeletePartsOpts ¶

type JobApiDeletePartsOpts struct {
	Body  optional.Interface
	Purge optional.Bool
}

type JobApiEditPartOpts ¶

type JobApiEditPartOpts struct {
	Body optional.Interface
}

type JobApiEditPartsOpts ¶

type JobApiEditPartsOpts struct {
	Body optional.Interface
}

type JobApiFilePreviewOpts ¶

type JobApiFilePreviewOpts struct {
	Body optional.Interface
}

type JobApiGetBilingualFileOpts ¶

type JobApiGetBilingualFileOpts struct {
	Body   optional.Interface
	Format optional.String
}

type JobApiGetSegmentsCountOpts ¶

type JobApiGetSegmentsCountOpts struct {
	Body optional.Interface
}

type JobApiListPartAnalyse1Opts ¶

type JobApiListPartAnalyse1Opts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type JobApiListPartAnalyseOpts ¶

type JobApiListPartAnalyseOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type JobApiListPartsOpts ¶

type JobApiListPartsOpts struct {
	PageNumber       optional.Int32
	PageSize         optional.Int32
	Count            optional.Bool
	WorkflowLevel    optional.Int32
	Status           optional.Interface
	AssignedLinguist optional.Int64
	DueInHours       optional.Int32
	Filename         optional.String
	TargetLang       optional.String
}

type JobApiListPartsV2Opts ¶

type JobApiListPartsV2Opts struct {
	PageNumber     optional.Int32
	PageSize       optional.Int32
	Count          optional.Bool
	WorkflowLevel  optional.Int32
	Status         optional.Interface
	AssignedUser   optional.Int64
	DueInHours     optional.Int32
	Filename       optional.String
	TargetLang     optional.String
	AssignedVendor optional.Int64
}

type JobApiListSegmentsOpts ¶

type JobApiListSegmentsOpts struct {
	BeginIndex optional.Int32
	EndIndex   optional.Int32
}

type JobApiNotifyAssignedOpts ¶

type JobApiNotifyAssignedOpts struct {
	Body optional.Interface
}

type JobApiPreviewUrlsOpts ¶

type JobApiPreviewUrlsOpts struct {
	WorkflowLevel optional.Int32
}

type JobApiPseudoTranslateJobPartOpts ¶

type JobApiPseudoTranslateJobPartOpts struct {
	Body optional.Interface
}

type JobApiPseudoTranslateOpts ¶

type JobApiPseudoTranslateOpts struct {
	Body        optional.Interface
	Replacement optional.String
	Prefix      optional.String
	Suffix      optional.String
	Length      optional.Float64
}

type JobApiSearchByJob2Opts ¶

type JobApiSearchByJob2Opts struct {
	Body optional.Interface
}

type JobApiSearchByJob3Opts ¶

type JobApiSearchByJob3Opts struct {
	Body optional.Interface
}

type JobApiSearchByJobOpts ¶

type JobApiSearchByJobOpts struct {
	Body optional.Interface
}

type JobApiSearchPartsInProjectOpts ¶

type JobApiSearchPartsInProjectOpts struct {
	Body optional.Interface
}

type JobApiSearchSegmentByJobOpts ¶

type JobApiSearchSegmentByJobOpts struct {
	Body optional.Interface
}

type JobApiSearchTermsByJob1Opts ¶

type JobApiSearchTermsByJob1Opts struct {
	Body optional.Interface
}

type JobApiSearchTermsByJobOpts ¶

type JobApiSearchTermsByJobOpts struct {
	Body optional.Interface
}

type JobApiSearchTermsInTextByJobOpts ¶

type JobApiSearchTermsInTextByJobOpts struct {
	Body optional.Interface
}

type JobApiSearchTermsInTextByJobV2Opts ¶

type JobApiSearchTermsInTextByJobV2Opts struct {
	Body optional.Interface
}

type JobApiService ¶

type JobApiService service

func (*JobApiService) ComparePart ¶

func (a *JobApiService) ComparePart(ctx context.Context, projectUid string, localVarOptionals *JobApiComparePartOpts) (ComparedSegmentsDto, *http.Response, error)

func (*JobApiService) CompletedFile ¶

func (a *JobApiService) CompletedFile(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiCompletedFileOpts) (*http.Response, error)

func (*JobApiService) CreateJob ¶

func (a *JobApiService) CreateJob(ctx context.Context, projectUid string, localVarOptionals *JobApiCreateJobOpts) (JobListDto, *http.Response, error)

func (*JobApiService) CreateTermByJob ¶

func (a *JobApiService) CreateTermByJob(ctx context.Context, jobUid string, projectUid string, localVarOptionals *JobApiCreateTermByJobOpts) (TermPairDto, *http.Response, error)

func (*JobApiService) DeleteAllTranslations ¶

func (a *JobApiService) DeleteAllTranslations(ctx context.Context, projectUid string, localVarOptionals *JobApiDeleteAllTranslationsOpts) (*http.Response, error)

func (*JobApiService) DeleteParts ¶

func (a *JobApiService) DeleteParts(ctx context.Context, projectUid string, localVarOptionals *JobApiDeletePartsOpts) (*http.Response, error)

func (*JobApiService) EditPart ¶

func (a *JobApiService) EditPart(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiEditPartOpts) (JobPartExtendedDto, *http.Response, error)

func (*JobApiService) EditParts ¶

func (a *JobApiService) EditParts(ctx context.Context, projectUid string, localVarOptionals *JobApiEditPartsOpts) (JobPartsDto, *http.Response, error)

func (*JobApiService) FilePreview ¶

func (a *JobApiService) FilePreview(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiFilePreviewOpts) (*http.Response, error)

func (*JobApiService) FilePreviewJob ¶

func (a *JobApiService) FilePreviewJob(ctx context.Context, projectUid string, jobUid string) (*http.Response, error)

JobApiService Download preview file

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid
  • @param jobUid

func (*JobApiService) GetBilingualFile ¶

func (a *JobApiService) GetBilingualFile(ctx context.Context, projectUid string, localVarOptionals *JobApiGetBilingualFileOpts) (*http.Response, error)

func (*JobApiService) GetCompletedFileWarnings ¶

func (a *JobApiService) GetCompletedFileWarnings(ctx context.Context, projectUid string, jobUid string) (TargetFileWarningsDto, *http.Response, error)

JobApiService Get target file's warnings

This call will return target file's warnings. This means even for other jobs that were created via 'split jobs' etc.
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param projectUid
* @param jobUid

@return TargetFileWarningsDto

func (*JobApiService) GetOriginalFile ¶

func (a *JobApiService) GetOriginalFile(ctx context.Context, projectUid string, jobUid string) (*http.Response, error)

JobApiService Download original file

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid
  • @param jobUid

func (*JobApiService) GetPart ¶

func (a *JobApiService) GetPart(ctx context.Context, projectUid string, jobUid string) (JobPartExtendedDto, *http.Response, error)

JobApiService Get job

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid
  • @param jobUid

@return JobPartExtendedDto

func (*JobApiService) GetPartsWorkflowStep ¶

func (a *JobApiService) GetPartsWorkflowStep(ctx context.Context, projectUid string, jobUid string) (ProjectWorkflowStepDto, *http.Response, error)

JobApiService Get job's workflowStep

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid
  • @param jobUid

@return ProjectWorkflowStepDto

func (*JobApiService) GetSegmentsCount ¶

func (a *JobApiService) GetSegmentsCount(ctx context.Context, projectUid string, localVarOptionals *JobApiGetSegmentsCountOpts) (SegmentsCountsResponseListDto, *http.Response, error)

func (*JobApiService) GetTranslationResources ¶

func (a *JobApiService) GetTranslationResources(ctx context.Context, projectUid string, jobUid string) (TranslationResourcesDto, *http.Response, error)

JobApiService Get translation resources

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid
  • @param jobUid

@return TranslationResourcesDto

func (*JobApiService) ListPartAnalyse ¶

func (a *JobApiService) ListPartAnalyse(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiListPartAnalyseOpts) (PageDtoAnalyseDto, *http.Response, error)

func (*JobApiService) ListPartAnalyse1 ¶

func (a *JobApiService) ListPartAnalyse1(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiListPartAnalyse1Opts) (PageDtoAnalyseV2Dto, *http.Response, error)

func (*JobApiService) ListParts ¶

func (a *JobApiService) ListParts(ctx context.Context, projectUid string, localVarOptionals *JobApiListPartsOpts) (PageDtoJobPartReference, *http.Response, error)

func (*JobApiService) ListPartsV2 ¶

func (a *JobApiService) ListPartsV2(ctx context.Context, projectUid string, localVarOptionals *JobApiListPartsV2Opts) (PageDtoJobPartReferenceV2, *http.Response, error)

func (*JobApiService) ListProviders1 ¶

func (a *JobApiService) ListProviders1(ctx context.Context, projectUid string, jobUid string) (ProviderListDto, *http.Response, error)

JobApiService Get suggested providers

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid
  • @param jobUid

@return ProviderListDto

func (*JobApiService) ListSegments ¶

func (a *JobApiService) ListSegments(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiListSegmentsOpts) (SegmentListDto, *http.Response, error)

func (*JobApiService) NotifyAssigned ¶

func (a *JobApiService) NotifyAssigned(ctx context.Context, projectUid string, localVarOptionals *JobApiNotifyAssignedOpts) (*http.Response, error)

func (*JobApiService) PreviewUrls ¶

func (a *JobApiService) PreviewUrls(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiPreviewUrlsOpts) (PreviewUrlsDto, *http.Response, error)

func (*JobApiService) PseudoTranslate ¶

func (a *JobApiService) PseudoTranslate(ctx context.Context, projectUid string, localVarOptionals *JobApiPseudoTranslateOpts) (*http.Response, error)

func (*JobApiService) PseudoTranslateJobPart ¶

func (a *JobApiService) PseudoTranslateJobPart(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiPseudoTranslateJobPartOpts) (*http.Response, error)

func (*JobApiService) SearchByJob ¶

func (a *JobApiService) SearchByJob(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiSearchByJobOpts) (SearchResponseListTmDto, *http.Response, error)

func (*JobApiService) SearchByJob2 ¶

func (a *JobApiService) SearchByJob2(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiSearchByJob2Opts) (SearchResponseListTmDtoV2, *http.Response, error)

func (*JobApiService) SearchByJob3 ¶

func (a *JobApiService) SearchByJob3(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiSearchByJob3Opts) (SearchResponseListTmDtoV3, *http.Response, error)

func (*JobApiService) SearchPartsInProject ¶

func (a *JobApiService) SearchPartsInProject(ctx context.Context, projectUid string, localVarOptionals *JobApiSearchPartsInProjectOpts) (SearchJobsDto, *http.Response, error)

func (*JobApiService) SearchSegmentByJob ¶

func (a *JobApiService) SearchSegmentByJob(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiSearchSegmentByJobOpts) (SearchResponseListTmDto, *http.Response, error)

func (*JobApiService) SearchTermsByJob ¶

func (a *JobApiService) SearchTermsByJob(ctx context.Context, jobUid string, projectUid string, localVarOptionals *JobApiSearchTermsByJobOpts) (SearchResponseListTbDto, *http.Response, error)

func (*JobApiService) SearchTermsByJob1 ¶

func (a *JobApiService) SearchTermsByJob1(ctx context.Context, jobUid string, projectUid string, localVarOptionals *JobApiSearchTermsByJob1Opts) (SearchTbResponseListDto, *http.Response, error)

func (*JobApiService) SearchTermsInTextByJob ¶

func (a *JobApiService) SearchTermsInTextByJob(ctx context.Context, jobUid string, projectUid string, localVarOptionals *JobApiSearchTermsInTextByJobOpts) (SearchInTextResponseListDto, *http.Response, error)

func (*JobApiService) SearchTermsInTextByJobV2 ¶

func (a *JobApiService) SearchTermsInTextByJobV2(ctx context.Context, jobUid string, projectUid string, localVarOptionals *JobApiSearchTermsInTextByJobV2Opts) (SearchInTextResponseList2Dto, *http.Response, error)

func (*JobApiService) SetStatus ¶

func (a *JobApiService) SetStatus(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiSetStatusOpts) (*http.Response, error)

func (*JobApiService) Split ¶

func (a *JobApiService) Split(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiSplitOpts) (JobPartsDto, *http.Response, error)

func (*JobApiService) StatusChanges ¶

func (a *JobApiService) StatusChanges(ctx context.Context, projectUid string, jobUid string) (JobPartStatusChangesDto, *http.Response, error)

JobApiService Get status changes

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid
  • @param jobUid

@return JobPartStatusChangesDto

func (*JobApiService) UploadBilingualFile ¶

func (a *JobApiService) UploadBilingualFile(ctx context.Context, localVarOptionals *JobApiUploadBilingualFileOpts) (JobPartsDto, *http.Response, error)
func (a *JobApiService) WebEditorLink(ctx context.Context, projectUid string, localVarOptionals *JobApiWebEditorLinkOpts) (WebEditorLinkDto, *http.Response, error)

func (*JobApiService) WebEditorLinkV2 ¶

func (a *JobApiService) WebEditorLinkV2(ctx context.Context, projectUid string, localVarOptionals *JobApiWebEditorLinkV2Opts) (WebEditorLinkDtoV2, *http.Response, error)

func (*JobApiService) WildCardSearchByJob ¶

func (a *JobApiService) WildCardSearchByJob(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiWildCardSearchByJobOpts) (SearchResponseListTmDto, *http.Response, error)

func (*JobApiService) WildCardSearchByJob2 ¶

func (a *JobApiService) WildCardSearchByJob2(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiWildCardSearchByJob2Opts) (SearchResponseListTmDtoV2, *http.Response, error)

func (*JobApiService) WildCardSearchByJob3 ¶

func (a *JobApiService) WildCardSearchByJob3(ctx context.Context, projectUid string, jobUid string, localVarOptionals *JobApiWildCardSearchByJob3Opts) (SearchResponseListTmDtoV3, *http.Response, error)

type JobApiSetStatusOpts ¶

type JobApiSetStatusOpts struct {
	Body optional.Interface
}

type JobApiSplitOpts ¶

type JobApiSplitOpts struct {
	Body optional.Interface
}

type JobApiUploadBilingualFileOpts ¶

type JobApiUploadBilingualFileOpts struct {
	Body              optional.Interface
	Format            optional.String
	SaveToTransMemory optional.String
	SetCompleted      optional.Bool
}

type JobApiWebEditorLinkOpts ¶

type JobApiWebEditorLinkOpts struct {
	Body optional.Interface
}

type JobApiWebEditorLinkV2Opts ¶

type JobApiWebEditorLinkV2Opts struct {
	Body optional.Interface
}

type JobApiWildCardSearchByJob2Opts ¶

type JobApiWildCardSearchByJob2Opts struct {
	Body optional.Interface
}

type JobApiWildCardSearchByJob3Opts ¶

type JobApiWildCardSearchByJob3Opts struct {
	Body optional.Interface
}

type JobApiWildCardSearchByJobOpts ¶

type JobApiWildCardSearchByJobOpts struct {
	Body optional.Interface
}

type JobBoardResponseDto ¶

type JobBoardResponseDto struct {
	CreatedBy         *UserReference `json:"createdBy,omitempty"`
	DateCreated       time.Time      `json:"dateCreated,omitempty"`
	Name              string         `json:"name,omitempty"`
	Email             string         `json:"email,omitempty"`
	SampleTranslation string         `json:"sampleTranslation,omitempty"`
	WordRate          float64        `json:"wordRate,omitempty"`
	ProfileUrl        string         `json:"profileUrl,omitempty"`
	Note              string         `json:"note,omitempty"`
}

type JobListDto ¶

type JobListDto struct {
	UnsupportedFiles []string               `json:"unsupportedFiles,omitempty"`
	Jobs             []JobPartReference     `json:"jobs,omitempty"`
	AsyncRequest     *AsyncRequestReference `json:"asyncRequest,omitempty"`
}

type JobPartExtendedDto ¶

type JobPartExtendedDto struct {
	Uid                   string                        `json:"uid,omitempty"`
	Status                string                        `json:"status,omitempty"`
	Providers             []ProviderReference           `json:"providers,omitempty"`
	SourceLang            string                        `json:"sourceLang,omitempty"`
	TargetLang            string                        `json:"targetLang,omitempty"`
	WorkflowLevel         int32                         `json:"workflowLevel,omitempty"`
	WorkflowStep          *ProjectWorkflowStepReference `json:"workflowStep,omitempty"`
	Filename              string                        `json:"filename,omitempty"`
	DateDue               time.Time                     `json:"dateDue,omitempty"`
	WordsCount            int32                         `json:"wordsCount,omitempty"`
	BeginIndex            int32                         `json:"beginIndex,omitempty"`
	EndIndex              int32                         `json:"endIndex,omitempty"`
	IsParentJobSplit      bool                          `json:"isParentJobSplit,omitempty"`
	DateCreated           time.Time                     `json:"dateCreated,omitempty"`
	Project               *ProjectReference             `json:"project,omitempty"`
	LastWorkflowLevel     int32                         `json:"lastWorkflowLevel,omitempty"`
	WorkUnit              *IdReference                  `json:"workUnit,omitempty"`
	Imported              bool                          `json:"imported,omitempty"`
	Continuous            bool                          `json:"continuous,omitempty"`
	ContinuousJobInfo     *ContinuousJobInfoDto         `json:"continuousJobInfo,omitempty"`
	OriginalFileDirectory string                        `json:"originalFileDirectory,omitempty"`
}

type JobPartReadyReferences ¶

type JobPartReadyReferences struct {
	Jobs []UidReference `json:"jobs"`
}

type JobPartReference ¶

type JobPartReference struct {
	Uid                           string                 `json:"uid,omitempty"`
	Status                        string                 `json:"status,omitempty"`
	Providers                     []ProviderReference    `json:"providers,omitempty"`
	TargetLang                    string                 `json:"targetLang,omitempty"`
	WorkflowLevel                 int32                  `json:"workflowLevel,omitempty"`
	WorkflowStep                  *WorkflowStepReference `json:"workflowStep,omitempty"`
	Filename                      string                 `json:"filename,omitempty"`
	DateDue                       time.Time              `json:"dateDue,omitempty"`
	DateCreated                   time.Time              `json:"dateCreated,omitempty"`
	Imported                      bool                   `json:"imported,omitempty"`
	JobAssignedEmailTemplate      *ObjectReference       `json:"jobAssignedEmailTemplate,omitempty"`
	NotificationIntervalInMinutes int32                  `json:"notificationIntervalInMinutes,omitempty"`
	Continuous                    bool                   `json:"continuous,omitempty"`
}

type JobPartReferenceV2 ¶

type JobPartReferenceV2 struct {
	Uid          string                        `json:"uid,omitempty"`
	Status       string                        `json:"status,omitempty"`
	Providers    []ProviderReference           `json:"providers,omitempty"`
	TargetLang   string                        `json:"targetLang,omitempty"`
	WorkflowStep *ProjectWorkflowStepReference `json:"workflowStep,omitempty"`
	Filename     string                        `json:"filename,omitempty"`
	DateDue      time.Time                     `json:"dateDue,omitempty"`
	DateCreated  time.Time                     `json:"dateCreated,omitempty"`
	// Default: false
	Imported   bool `json:"imported,omitempty"`
	Continuous bool `json:"continuous,omitempty"`
}

type JobPartReferences ¶

type JobPartReferences struct {
	Jobs []UidReference `json:"jobs"`
}

type JobPartSegmentsDto ¶

type JobPartSegmentsDto struct {
	Job      *UidReference `json:"job"`
	Segments []string      `json:"segments"`
}

type JobPartSegmentsDtoV3 ¶

type JobPartSegmentsDtoV3 struct {
	Job      *UidReference `json:"job"`
	Segments []string      `json:"segments"`
}

type JobPartStatusChangeDto ¶

type JobPartStatusChangeDto struct {
	Status      string         `json:"status,omitempty"`
	ChangedDate time.Time      `json:"changedDate,omitempty"`
	ChangedBy   *UserReference `json:"changedBy,omitempty"`
}

type JobPartStatusChangesDto ¶

type JobPartStatusChangesDto struct {
	StatusChanges []JobPartStatusChangeDto `json:"statusChanges,omitempty"`
}

type JobPartUpdateBatchDto ¶

type JobPartUpdateBatchDto struct {
	Jobs      []UidReference      `json:"jobs"`
	Status    string              `json:"status"`
	DateDue   time.Time           `json:"dateDue,omitempty"`
	Providers []ProviderReference `json:"providers,omitempty"`
}

type JobPartUpdateSingleDto ¶

type JobPartUpdateSingleDto struct {
	Status    string              `json:"status"`
	DateDue   time.Time           `json:"dateDue,omitempty"`
	Providers []ProviderReference `json:"providers,omitempty"`
}

type JobPartsDto ¶

type JobPartsDto struct {
	Jobs []JobPartReference `json:"jobs,omitempty"`
}

type JobSegmentDto ¶

type JobSegmentDto struct {
	Id            string           `json:"id,omitempty"`
	Source        string           `json:"source,omitempty"`
	Translation   string           `json:"translation,omitempty"`
	CreatedAt     int64            `json:"createdAt,omitempty"`
	ModifiedAt    int64            `json:"modifiedAt,omitempty"`
	CreatedBy     *UserReference   `json:"createdBy,omitempty"`
	ModifiedBy    *UserReference   `json:"modifiedBy,omitempty"`
	WorkflowLevel int32            `json:"workflowLevel,omitempty"`
	WorkflowStep  *WorkflowStepDto `json:"workflowStep,omitempty"`
}

type JobStatusChangeActionDto ¶

type JobStatusChangeActionDto struct {
	RequestedStatus string `json:"requestedStatus,omitempty"`
	// Default: false; Both project owner and job owner are notified;                     the parameter is subordinated to notification settings in the project
	NotifyOwner bool `json:"notifyOwner,omitempty"`
	// Default: false;         Controls both job status and email notifications to previous/next provider
	PropagateStatus bool `json:"propagateStatus,omitempty"`
}

type JobWidgetReference ¶

type JobWidgetReference struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type JoinTagsWarningDto ¶

type JoinTagsWarningDto struct {
	Id                   string `json:"id,omitempty"`
	Ignored              bool   `json:"ignored,omitempty"`
	Type_                string `json:"type,omitempty"`
	RepetitionGroupId    string `json:"repetitionGroupId,omitempty"`
	SourceTagsCount      int32  `json:"sourceTagsCount,omitempty"`
	TranslationTagsCount int32  `json:"translationTagsCount,omitempty"`
}

type JsonSettingsDto ¶

type JsonSettingsDto struct {
	TagRegexp string `json:"tagRegexp,omitempty"`
	// Default: true
	HtmlSubFilter    bool   `json:"htmlSubFilter,omitempty"`
	ExcludeKeyRegexp string `json:"excludeKeyRegexp,omitempty"`
	IncludeKeyRegexp string `json:"includeKeyRegexp,omitempty"`
	ContextNotePath  string `json:"contextNotePath,omitempty"`
	MaxLenPath       string `json:"maxLenPath,omitempty"`
	ContextKeyPath   string `json:"contextKeyPath,omitempty"`
}

type LanguageDto ¶

type LanguageDto struct {
	Code string `json:"code,omitempty"`
	Name string `json:"name,omitempty"`
}

type LanguageListDto ¶

type LanguageListDto struct {
	Languages []LanguageDto `json:"languages"`
}

envelope for list of languages

type LanguageMetadata1 ¶

type LanguageMetadata1 struct {
	SegmentsCount int64 `json:"segmentsCount,omitempty"`
}

type LastLoginDto ¶

type LastLoginDto struct {
	User          *UserReference `json:"user,omitempty"`
	LastLoginDate time.Time      `json:"lastLoginDate,omitempty"`
}

type LeadingAndTrailingSpacesWarningDto ¶

type LeadingAndTrailingSpacesWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type Linguist ¶

type Linguist struct {
	Uid         string                   `json:"uid,omitempty"`
	InternalId  int32                    `json:"internalId,omitempty"`
	Id          string                   `json:"id,omitempty"`
	Name        string                   `json:"name,omitempty"`
	DateCreated time.Time                `json:"dateCreated,omitempty"`
	Domain      *DomainReference         `json:"domain,omitempty"`
	SubDomain   *SubDomainReference      `json:"subDomain,omitempty"`
	Owner       *UserReference           `json:"owner,omitempty"`
	SourceLang  string                   `json:"sourceLang,omitempty"`
	TargetLangs []string                 `json:"targetLangs,omitempty"`
	References  []ReferenceFileReference `json:"references,omitempty"`
	// Response differs based on user's role
	UserRole string `json:"userRole,omitempty"`
}

type LinguistV2 ¶

type LinguistV2 struct {
	Uid         string                   `json:"uid,omitempty"`
	InternalId  int32                    `json:"internalId,omitempty"`
	Id          string                   `json:"id,omitempty"`
	Name        string                   `json:"name,omitempty"`
	DateCreated time.Time                `json:"dateCreated,omitempty"`
	Domain      *DomainReference         `json:"domain,omitempty"`
	SubDomain   *SubDomainReference      `json:"subDomain,omitempty"`
	Owner       *UserReference           `json:"owner,omitempty"`
	SourceLang  string                   `json:"sourceLang,omitempty"`
	TargetLangs []string                 `json:"targetLangs,omitempty"`
	References  []ReferenceFileReference `json:"references,omitempty"`
	// Response differs based on user's role
	UserRole string `json:"userRole,omitempty"`
}

type LoginDto ¶

type LoginDto struct {
	UserName string `json:"userName"`
	Password string `json:"password"`
	// Required only for 2-factor authentication
	Code string `json:"code,omitempty"`
}

type LoginOtherDto ¶

type LoginOtherDto struct {
	UserName string `json:"userName"`
}

type LoginResponseDto ¶

type LoginResponseDto struct {
	User    *UserReference `json:"user,omitempty"`
	Token   string         `json:"token,omitempty"`
	Expires time.Time      `json:"expires,omitempty"`
}

type LoginToSessionDto ¶

type LoginToSessionDto struct {
	UserName string `json:"userName"`
	Password string `json:"password"`
}

type LoginToSessionResponseDto ¶

type LoginToSessionResponseDto struct {
	User      *UserReference `json:"user,omitempty"`
	Cookie    string         `json:"cookie,omitempty"`
	CsrfToken string         `json:"csrfToken,omitempty"`
}

type LoginUserDto ¶

type LoginUserDto struct {
	User         *UserReference         `json:"user,omitempty"`
	CsrfToken    string                 `json:"csrfToken,omitempty"`
	Organization *OrganizationReference `json:"organization,omitempty"`
	Edition      *EditionDto            `json:"edition,omitempty"`
	Features     *FeaturesDto           `json:"features,omitempty"`
}

type LoginWithGoogleDto ¶

type LoginWithGoogleDto struct {
	IdToken string `json:"idToken"`
}

type Lqa ¶

type Lqa struct {
	Id           string       `json:"id,omitempty"`
	DateCreated  time.Time    `json:"dateCreated,omitempty"`
	DateModified time.Time    `json:"dateModified,omitempty"`
	Comments     []CommentDto `json:"comments,omitempty"`
	Status       *StatusDto   `json:"status,omitempty"`
	Deleted      bool         `json:"deleted,omitempty"`
	// Field references differs based on the Conversation Type.
	Type_      string         `json:"type,omitempty"`
	References *LqaReferences `json:"references,omitempty"`
}

type LqaConversationDto ¶

type LqaConversationDto struct {
	Id           string         `json:"id,omitempty"`
	DateCreated  time.Time      `json:"dateCreated,omitempty"`
	DateModified time.Time      `json:"dateModified,omitempty"`
	Comments     []CommentDto   `json:"comments,omitempty"`
	Status       *StatusDto     `json:"status,omitempty"`
	Deleted      bool           `json:"deleted,omitempty"`
	Type_        string         `json:"type,omitempty"`
	References   *LqaReferences `json:"references,omitempty"`
}

type LqaConversationsListDto ¶

type LqaConversationsListDto struct {
	Conversations []LqaConversationDto `json:"conversations,omitempty"`
}

type LqaErrorCategoryDto ¶

type LqaErrorCategoryDto struct {
	ErrorCategoryId int32                 `json:"errorCategoryId,omitempty"`
	Name            string                `json:"name,omitempty"`
	Enabled         bool                  `json:"enabled,omitempty"`
	ErrorCategories []LqaErrorCategoryDto `json:"errorCategories,omitempty"`
}

type LqaReference ¶

type LqaReference struct {
	ErrorCategoryId int32        `json:"errorCategoryId"`
	SeverityId      int32        `json:"severityId"`
	User            *IdReference `json:"user,omitempty"`
}

type LqaReferences ¶

type LqaReferences struct {
	TaskId            string         `json:"taskId,omitempty"`
	TransGroupId      int32          `json:"transGroupId"`
	SegmentId         string         `json:"segmentId"`
	ConversationTitle string         `json:"conversationTitle,omitempty"`
	Lqa               []LqaReference `json:"lqa"`
}

type LqaSettingsDto ¶

type LqaSettingsDto struct {
	Enabled    bool                  `json:"enabled,omitempty"`
	Severities []LqaSeverityDto      `json:"severities,omitempty"`
	Categories []LqaErrorCategoryDto `json:"categories,omitempty"`
}

type LqaSeverityDto ¶

type LqaSeverityDto struct {
	SeverityId int32  `json:"severityId,omitempty"`
	Name       string `json:"name,omitempty"`
}

type MacSettingsDto ¶

type MacSettingsDto struct {
	// Default: false
	HtmlSubfilter bool   `json:"htmlSubfilter,omitempty"`
	TagRegexp     string `json:"tagRegexp,omitempty"`
}

type MachineTranslateResponse ¶

type MachineTranslateResponse struct {
	Translations []string `json:"translations,omitempty"`
}

type MachineTranslateSettingsDto ¶

type MachineTranslateSettingsDto struct {
	Id                  string            `json:"id,omitempty"`
	Uid                 string            `json:"uid,omitempty"`
	BaseName            string            `json:"baseName,omitempty"`
	Name                string            `json:"name,omitempty"`
	Type_               string            `json:"type,omitempty"`
	Default_            bool              `json:"default_,omitempty"`
	IncludeTags         bool              `json:"includeTags,omitempty"`
	MtQualityEstimation bool              `json:"mtQualityEstimation,omitempty"`
	Args                map[string]string `json:"args,omitempty"`
}

type MachineTranslateSettingsPbmDto ¶

type MachineTranslateSettingsPbmDto struct {
	Id                  string            `json:"id,omitempty"`
	Uid                 string            `json:"uid,omitempty"`
	BaseName            string            `json:"baseName,omitempty"`
	Name                string            `json:"name,omitempty"`
	Type_               string            `json:"type,omitempty"`
	Default_            bool              `json:"default_,omitempty"`
	IncludeTags         bool              `json:"includeTags,omitempty"`
	MtQualityEstimation bool              `json:"mtQualityEstimation,omitempty"`
	Args                map[string]string `json:"args,omitempty"`
	PayForMtPossible    bool              `json:"payForMtPossible,omitempty"`
	PayForMtActive      bool              `json:"payForMtActive,omitempty"`
	CharCount           int32             `json:"charCount,omitempty"`
	SharingSettings     int32             `json:"sharingSettings,omitempty"`
}

type MachineTranslateSettingsReference ¶

type MachineTranslateSettingsReference struct {
	Id    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
	Type_ string `json:"type,omitempty"`
}

type MachineTranslateStatusDto ¶

type MachineTranslateStatusDto struct {
	Ok     bool   `json:"ok,omitempty"`
	Error_ string `json:"error,omitempty"`
}

type MachineTranslationApiMachineTranslationOpts ¶

type MachineTranslationApiMachineTranslationOpts struct {
	Body optional.Interface
}

type MachineTranslationApiService ¶

type MachineTranslationApiService service

func (*MachineTranslationApiService) MachineTranslation ¶

type MachineTranslationSettingsApiGetListOpts ¶

type MachineTranslationSettingsApiGetListOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type MachineTranslationSettingsApiService ¶

type MachineTranslationSettingsApiService service

func (*MachineTranslationSettingsApiService) GetList ¶

func (*MachineTranslationSettingsApiService) GetMTSettings ¶

MachineTranslationSettingsApiService Get machine translate settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param mtsUid

@return MachineTranslateSettingsPbmDto

func (*MachineTranslationSettingsApiService) GetMachineTranslateSettingsForProjectTemplate ¶

func (a *MachineTranslationSettingsApiService) GetMachineTranslateSettingsForProjectTemplate(ctx context.Context, projectTemplateId string) (MtSettingsPerLanguageListDto, *http.Response, error)

MachineTranslationSettingsApiService Get machine translate settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectTemplateId

@return MtSettingsPerLanguageListDto

func (*MachineTranslationSettingsApiService) GetStatus ¶

MachineTranslationSettingsApiService Get status of machine translate engine

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param mtsUid

@return MachineTranslateStatusDto

func (*MachineTranslationSettingsApiService) GetTranslationResources ¶

func (a *MachineTranslationSettingsApiService) GetTranslationResources(ctx context.Context, projectUid string, jobUid string) (TranslationResourcesDto, *http.Response, error)

MachineTranslationSettingsApiService Get translation resources

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid
  • @param jobUid

@return TranslationResourcesDto

type MalformedWarningDto ¶

type MalformedWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
	Message           string `json:"message,omitempty"`
}

type MappingApiGetMappingForTaskOpts ¶

type MappingApiGetMappingForTaskOpts struct {
	WorkflowLevel optional.Int32
}

type MappingApiService ¶

type MappingApiService service

func (*MappingApiService) GetMappingForTask ¶

func (a *MappingApiService) GetMappingForTask(ctx context.Context, id string, localVarOptionals *MappingApiGetMappingForTaskOpts) (TaskMappingDto, *http.Response, error)

type Match ¶

type Match struct {
	BeginIndex int32  `json:"beginIndex,omitempty"`
	Text       string `json:"text,omitempty"`
}

type MatchCounts101Dto ¶

type MatchCounts101Dto struct {
	Match100 *CountsDto `json:"match100,omitempty"`
	Match95  *CountsDto `json:"match95,omitempty"`
	Match85  *CountsDto `json:"match85,omitempty"`
	Match75  *CountsDto `json:"match75,omitempty"`
	Match50  *CountsDto `json:"match50,omitempty"`
	Match0   *CountsDto `json:"match0,omitempty"`
	Match101 *CountsDto `json:"match101,omitempty"`
}

type MatchCountsDto ¶

type MatchCountsDto struct {
	Match100 *CountsDto `json:"match100,omitempty"`
	Match95  *CountsDto `json:"match95,omitempty"`
	Match85  *CountsDto `json:"match85,omitempty"`
	Match75  *CountsDto `json:"match75,omitempty"`
	Match50  *CountsDto `json:"match50,omitempty"`
	Match0   *CountsDto `json:"match0,omitempty"`
}

type MatchCountsNtDto ¶

type MatchCountsNtDto struct {
	Match100 *CountsDto `json:"match100,omitempty"`
	Match95  *CountsDto `json:"match95,omitempty"`
	Match85  *CountsDto `json:"match85,omitempty"`
	Match75  *CountsDto `json:"match75,omitempty"`
	Match50  *CountsDto `json:"match50,omitempty"`
	Match0   *CountsDto `json:"match0,omitempty"`
}

type MdSettingsDto ¶

type MdSettingsDto struct {
	// Default: true
	HardLineBreaksSegments bool `json:"hardLineBreaksSegments,omitempty"`
	// Default: false
	PreserveWhiteSpaces  bool   `json:"preserveWhiteSpaces,omitempty"`
	TagRegexp            string `json:"tagRegexp,omitempty"`
	CustomElements       string `json:"customElements,omitempty"`
	IgnoredBlockPrefixes string `json:"ignoredBlockPrefixes,omitempty"`
	// Default: PLAIN
	Flavor string `json:"flavor,omitempty"`
	// Default: false
	ProcessJekyllFrontMatter bool `json:"processJekyllFrontMatter,omitempty"`
	// Default: true
	ExtractCodeBlocks    bool   `json:"extractCodeBlocks,omitempty"`
	NotEscapedCharacters string `json:"notEscapedCharacters,omitempty"`
}

type MetadataResponse ¶

type MetadataResponse struct {
	SegmentsCount             int64                        `json:"segmentsCount,omitempty"`
	DeduplicatedSegmentsCount int64                        `json:"deduplicatedSegmentsCount,omitempty"`
	MetadataByLanguage        map[string]LanguageMetadata1 `json:"metadataByLanguage,omitempty"`
}

type MetadataTbDto ¶

type MetadataTbDto struct {
	TermsCount         int64            `json:"termsCount,omitempty"`
	MetadataByLanguage map[string]int64 `json:"metadataByLanguage,omitempty"`
}

type MifSettingsDto ¶

type MifSettingsDto struct {
	// Default: true
	ExtractBodyPages bool `json:"extractBodyPages,omitempty"`
	// Default: false
	ExtractReferencePages bool `json:"extractReferencePages,omitempty"`
	// Default: true
	ExtractMasterPages bool `json:"extractMasterPages,omitempty"`
	// Default: false
	ExtractHiddenPages bool `json:"extractHiddenPages,omitempty"`
	// Default: false
	ExtractVariables bool `json:"extractVariables,omitempty"`
	// Default: true
	ExtractIndexMarkers bool `json:"extractIndexMarkers,omitempty"`
	// Default: false
	ExtractLinks bool `json:"extractLinks,omitempty"`
	// Default: false
	ExtractXRefDef bool `json:"extractXRefDef,omitempty"`
	// Default: true
	ExtractPgfNumFormat bool `json:"extractPgfNumFormat,omitempty"`
	// Default: true
	ExtractCustomReferencePages bool `json:"extractCustomReferencePages,omitempty"`
	// Default: false
	ExtractDefaultReferencePages bool `json:"extractDefaultReferencePages,omitempty"`
	// Default: true
	ExtractUsedVariables bool `json:"extractUsedVariables,omitempty"`
	// Default: false
	ExtractHiddenCondText bool `json:"extractHiddenCondText,omitempty"`
	// Default: true
	ExtractUsedXRefDef bool `json:"extractUsedXRefDef,omitempty"`
	// Default: true
	ExtractUsedPgfNumFormat bool `json:"extractUsedPgfNumFormat,omitempty"`
}

type MissingNumbersWarningDto ¶

type MissingNumbersWarningDto struct {
	Id                string   `json:"id,omitempty"`
	Ignored           bool     `json:"ignored,omitempty"`
	Type_             string   `json:"type,omitempty"`
	RepetitionGroupId string   `json:"repetitionGroupId,omitempty"`
	MissingNumbers    []string `json:"missingNumbers,omitempty"`
}

type MisspelledWord ¶

type MisspelledWord struct {
	Word   string `json:"word,omitempty"`
	Offset int32  `json:"offset,omitempty"`
}

type MisspelledWordDto ¶

type MisspelledWordDto struct {
	Word   string `json:"word,omitempty"`
	Offset int32  `json:"offset,omitempty"`
}

type ModelString ¶

type ModelString struct {
	Type_     string `json:"type"`
	Name      string `json:"name"`
	Ignorable bool   `json:"ignorable,omitempty"`
	Enabled   bool   `json:"enabled,omitempty"`
	Value     string `json:"value,omitempty"`
}

type Moravia ¶

type Moravia struct {
	Type_     string `json:"type"`
	Name      string `json:"name"`
	Enabled   bool   `json:"enabled,omitempty"`
	Profile   string `json:"profile,omitempty"`
	Ignorable bool   `json:"ignorable,omitempty"`
}

type MoraviaQaDto ¶

type MoraviaQaDto struct {
	// Default: false
	Enabled bool   `json:"enabled,omitempty"`
	Profile string `json:"profile,omitempty"`
}

type MoraviaWarningDto ¶

type MoraviaWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
	Message           string `json:"message,omitempty"`
	SubType           string `json:"subType,omitempty"`
}

type MtSettingsPerLanguageDto ¶

type MtSettingsPerLanguageDto struct {
	// mtSettings is set for whole project if targetLang == null
	TargetLang               string                       `json:"targetLang"`
	MachineTranslateSettings *MachineTranslateSettingsDto `json:"machineTranslateSettings,omitempty"`
}

type MtSettingsPerLanguageListDto ¶

type MtSettingsPerLanguageListDto struct {
	MtSettingsPerLangList []MtSettingsPerLanguageDto `json:"mtSettingsPerLangList,omitempty"`
}

type MtSettingsPerLanguageReference ¶

type MtSettingsPerLanguageReference struct {
	// mtSettings is set for whole project if targetLang == null
	TargetLang               string                             `json:"targetLang"`
	MachineTranslateSettings *MachineTranslateSettingsReference `json:"machineTranslateSettings,omitempty"`
}

type MultilingualCsvSettingsDto ¶

type MultilingualCsvSettingsDto struct {
	SourceColumns string `json:"sourceColumns,omitempty"`
	// Format: \"language\":\"column\"; example: {\"en\": \"A\", \"sk\": \"B\"}
	TargetColumns      map[string]string `json:"targetColumns,omitempty"`
	ContextNoteColumns string            `json:"contextNoteColumns,omitempty"`
	ContextKeyColumns  string            `json:"contextKeyColumns,omitempty"`
	TagRegexp          string            `json:"tagRegexp,omitempty"`
	// Default: false
	HtmlSubFilter bool `json:"htmlSubFilter,omitempty"`
	// Default: true
	Segmentation bool `json:"segmentation,omitempty"`
	// Default: \",\"
	Delimiter string `json:"delimiter"`
	// Default: COMMA
	DelimiterType string `json:"delimiterType"`
	ImportRows    string `json:"importRows,omitempty"`
	MaxLenColumns string `json:"maxLenColumns,omitempty"`
}

type MultilingualXlsSettingsDto ¶

type MultilingualXlsSettingsDto struct {
	SourceColumn string `json:"sourceColumn,omitempty"`
	// Format: \"language\":\"column\"; example: {\"en\": \"A\", \"sk\": \"B\"}
	TargetColumns     map[string]string `json:"targetColumns,omitempty"`
	ContextNoteColumn string            `json:"contextNoteColumn,omitempty"`
	ContextKeyColumn  string            `json:"contextKeyColumn,omitempty"`
	TagRegexp         string            `json:"tagRegexp,omitempty"`
	// Default: false
	HtmlSubFilter bool `json:"htmlSubFilter,omitempty"`
	// Default: true
	Segmentation bool   `json:"segmentation,omitempty"`
	ImportRows   string `json:"importRows,omitempty"`
	MaxLenColumn string `json:"maxLenColumn,omitempty"`
}

type MultilingualXmlSettingsDto ¶

type MultilingualXmlSettingsDto struct {
	TranslatableElementsXPath string `json:"translatableElementsXPath,omitempty"`
	SourceElementsXPath       string `json:"sourceElementsXPath,omitempty"`
	// 'Format: \"language\":\"xpath\";             example = '{\"en\": \"tuv[@lang='en']/seg\", \"sk\": \"tuv[@lang='sk']/seg\"}
	TargetElementsXPaths               map[string]string `json:"targetElementsXPaths,omitempty"`
	InlineElementsNonTranslatableXPath string            `json:"inlineElementsNonTranslatableXPath,omitempty"`
	TagRegexp                          string            `json:"tagRegexp,omitempty"`
	// Default: true
	Segmentation bool `json:"segmentation,omitempty"`
	// Default: false
	HtmlSubFilter    bool   `json:"htmlSubFilter,omitempty"`
	ContextKeyXPath  string `json:"contextKeyXPath,omitempty"`
	ContextNoteXPath string `json:"contextNoteXPath,omitempty"`
	MaxLenXPath      string `json:"maxLenXPath,omitempty"`
	// Default: false
	PreserveWhitespace   bool   `json:"preserveWhitespace,omitempty"`
	PreserveCharEntities string `json:"preserveCharEntities,omitempty"`
	XslUrl               string `json:"xslUrl,omitempty"`
}

type MultipleSpacesWarningDto ¶

type MultipleSpacesWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type Name ¶

type Name struct {
	GivenName  string `json:"givenName"`
	FamilyName string `json:"familyName"`
}

type NameDto ¶

type NameDto struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type NestedTagsWarningDto ¶

type NestedTagsWarningDto struct {
	Id                 string `json:"id,omitempty"`
	Ignored            bool   `json:"ignored,omitempty"`
	Type_              string `json:"type,omitempty"`
	RepetitionGroupId  string `json:"repetitionGroupId,omitempty"`
	MisplacedTargetTag string `json:"misplacedTargetTag,omitempty"`
}

type NetRateScheme ¶

type NetRateScheme struct {
	Id                     string                               `json:"id,omitempty"`
	Name                   string                               `json:"name,omitempty"`
	Organization           *OrganizationReference               `json:"organization,omitempty"`
	DateCreated            time.Time                            `json:"dateCreated,omitempty"`
	CreatedBy              *UserReference                       `json:"createdBy,omitempty"`
	WorkflowStepNetSchemes []NetRateSchemeWorkflowStepReference `json:"workflowStepNetSchemes,omitempty"`
	Rates                  *DiscountSettingsDto                 `json:"rates,omitempty"`
}

type NetRateSchemeApiCreateDiscountSchemeOpts ¶

type NetRateSchemeApiCreateDiscountSchemeOpts struct {
	Body optional.Interface
}

type NetRateSchemeApiGetDiscountSchemeWorkflowStepsOpts ¶

type NetRateSchemeApiGetDiscountSchemeWorkflowStepsOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type NetRateSchemeApiGetDiscountSchemesOpts ¶

type NetRateSchemeApiGetDiscountSchemesOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type NetRateSchemeApiService ¶

type NetRateSchemeApiService service

func (*NetRateSchemeApiService) CreateDiscountScheme ¶

func (*NetRateSchemeApiService) GetDiscountScheme ¶

func (a *NetRateSchemeApiService) GetDiscountScheme(ctx context.Context, netRateSchemeId int64) (NetRateScheme, *http.Response, error)

NetRateSchemeApiService Get net rate scheme

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param netRateSchemeId

@return NetRateScheme

func (*NetRateSchemeApiService) GetDiscountSchemeWorkflowStep ¶

func (a *NetRateSchemeApiService) GetDiscountSchemeWorkflowStep(ctx context.Context, netRateSchemeId int64, netRateSchemeWorkflowStepId int64) (NetRateSchemeWorkflowStep, *http.Response, error)

NetRateSchemeApiService Get scheme for workflow step

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param netRateSchemeId
  • @param netRateSchemeWorkflowStepId

@return NetRateSchemeWorkflowStep

func (*NetRateSchemeApiService) GetDiscountSchemeWorkflowSteps ¶

func (*NetRateSchemeApiService) GetDiscountSchemes ¶

type NetRateSchemeReference ¶

type NetRateSchemeReference struct {
	Id          string         `json:"id,omitempty"`
	Name        string         `json:"name,omitempty"`
	DateCreated time.Time      `json:"dateCreated,omitempty"`
	CreatedBy   *UserReference `json:"createdBy,omitempty"`
}

type NetRateSchemeWorkflowStep ¶

type NetRateSchemeWorkflowStep struct {
	Id           string                 `json:"id,omitempty"`
	WorkflowStep *WorkflowStepReference `json:"workflowStep,omitempty"`
	Rates        *DiscountSettingsDto   `json:"rates,omitempty"`
}

type NetRateSchemeWorkflowStepCreate ¶

type NetRateSchemeWorkflowStepCreate struct {
	WorkflowStep *IdReference         `json:"workflowStep"`
	Rates        *DiscountSettingsDto `json:"rates,omitempty"`
}

type NetRateSchemeWorkflowStepReference ¶

type NetRateSchemeWorkflowStepReference struct {
	Id           string                 `json:"id,omitempty"`
	WorkflowStep *WorkflowStepReference `json:"workflowStep,omitempty"`
}

type NewerAtLowerLevelWarningDto ¶

type NewerAtLowerLevelWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type NonConformingTermWarningDto ¶

type NonConformingTermWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
	Term              string `json:"term,omitempty"`
}

type NotConfirmedWarningDto ¶

type NotConfirmedWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type NotifyJobPartsRequestDto ¶

type NotifyJobPartsRequestDto struct {
	Jobs          []UidReference `json:"jobs"`
	EmailTemplate *IdReference   `json:"emailTemplate"`
	Cc            []string       `json:"cc,omitempty"`
	Bcc           []string       `json:"bcc,omitempty"`
}

type Number ¶

type Number struct {
}

type ObjectReference ¶

type ObjectReference struct {
}

type OrganizationEmailTemplateDto ¶

type OrganizationEmailTemplateDto struct {
	Id         string `json:"id,omitempty"`
	Type_      string `json:"type,omitempty"`
	Name       string `json:"name,omitempty"`
	Subject    string `json:"subject,omitempty"`
	Body       string `json:"body,omitempty"`
	CcAddress  string `json:"ccAddress,omitempty"`
	BccAddress string `json:"bccAddress,omitempty"`
}

type OrganizationInfo ¶

type OrganizationInfo struct {
	Name    string `json:"name,omitempty"`
	Deleted bool   `json:"deleted,omitempty"`
}

type OrganizationReference ¶

type OrganizationReference struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type PageDtoAbstractProjectDto ¶

type PageDtoAbstractProjectDto struct {
	TotalElements    int32                `json:"totalElements,omitempty"`
	TotalPages       int32                `json:"totalPages,omitempty"`
	PageSize         int32                `json:"pageSize,omitempty"`
	PageNumber       int32                `json:"pageNumber,omitempty"`
	NumberOfElements int32                `json:"numberOfElements,omitempty"`
	Content          []AbstractProjectDto `json:"content,omitempty"`
}

type PageDtoAnalyseDto ¶

type PageDtoAnalyseDto struct {
	TotalElements    int32        `json:"totalElements,omitempty"`
	TotalPages       int32        `json:"totalPages,omitempty"`
	PageSize         int32        `json:"pageSize,omitempty"`
	PageNumber       int32        `json:"pageNumber,omitempty"`
	NumberOfElements int32        `json:"numberOfElements,omitempty"`
	Content          []AnalyseDto `json:"content,omitempty"`
}

type PageDtoAnalyseJobDto ¶

type PageDtoAnalyseJobDto struct {
	TotalElements    int32           `json:"totalElements,omitempty"`
	TotalPages       int32           `json:"totalPages,omitempty"`
	PageSize         int32           `json:"pageSize,omitempty"`
	PageNumber       int32           `json:"pageNumber,omitempty"`
	NumberOfElements int32           `json:"numberOfElements,omitempty"`
	Content          []AnalyseJobDto `json:"content,omitempty"`
}

type PageDtoAnalyseV2Dto ¶

type PageDtoAnalyseV2Dto struct {
	TotalElements    int32          `json:"totalElements,omitempty"`
	TotalPages       int32          `json:"totalPages,omitempty"`
	PageSize         int32          `json:"pageSize,omitempty"`
	PageNumber       int32          `json:"pageNumber,omitempty"`
	NumberOfElements int32          `json:"numberOfElements,omitempty"`
	Content          []AnalyseV2Dto `json:"content,omitempty"`
}

type PageDtoAssignedJobDto ¶

type PageDtoAssignedJobDto struct {
	TotalElements    int32            `json:"totalElements,omitempty"`
	TotalPages       int32            `json:"totalPages,omitempty"`
	PageSize         int32            `json:"pageSize,omitempty"`
	PageNumber       int32            `json:"pageNumber,omitempty"`
	NumberOfElements int32            `json:"numberOfElements,omitempty"`
	Content          []AssignedJobDto `json:"content,omitempty"`
}

type PageDtoAsyncRequestDto ¶

type PageDtoAsyncRequestDto struct {
	TotalElements    int32             `json:"totalElements,omitempty"`
	TotalPages       int32             `json:"totalPages,omitempty"`
	PageSize         int32             `json:"pageSize,omitempty"`
	PageNumber       int32             `json:"pageNumber,omitempty"`
	NumberOfElements int32             `json:"numberOfElements,omitempty"`
	Content          []AsyncRequestDto `json:"content,omitempty"`
}

type PageDtoBusinessUnitDto ¶

type PageDtoBusinessUnitDto struct {
	TotalElements    int32             `json:"totalElements,omitempty"`
	TotalPages       int32             `json:"totalPages,omitempty"`
	PageSize         int32             `json:"pageSize,omitempty"`
	PageNumber       int32             `json:"pageNumber,omitempty"`
	NumberOfElements int32             `json:"numberOfElements,omitempty"`
	Content          []BusinessUnitDto `json:"content,omitempty"`
}

type PageDtoClientDto ¶

type PageDtoClientDto struct {
	TotalElements    int32       `json:"totalElements,omitempty"`
	TotalPages       int32       `json:"totalPages,omitempty"`
	PageSize         int32       `json:"pageSize,omitempty"`
	PageNumber       int32       `json:"pageNumber,omitempty"`
	NumberOfElements int32       `json:"numberOfElements,omitempty"`
	Content          []ClientDto `json:"content,omitempty"`
}

type PageDtoDiscoveredVendorDto ¶

type PageDtoDiscoveredVendorDto struct {
	TotalElements    int32                 `json:"totalElements,omitempty"`
	TotalPages       int32                 `json:"totalPages,omitempty"`
	PageSize         int32                 `json:"pageSize,omitempty"`
	PageNumber       int32                 `json:"pageNumber,omitempty"`
	NumberOfElements int32                 `json:"numberOfElements,omitempty"`
	Content          []DiscoveredVendorDto `json:"content,omitempty"`
}

type PageDtoDomainDto ¶

type PageDtoDomainDto struct {
	TotalElements    int32       `json:"totalElements,omitempty"`
	TotalPages       int32       `json:"totalPages,omitempty"`
	PageSize         int32       `json:"pageSize,omitempty"`
	PageNumber       int32       `json:"pageNumber,omitempty"`
	NumberOfElements int32       `json:"numberOfElements,omitempty"`
	Content          []DomainDto `json:"content,omitempty"`
}

type PageDtoImportSettingsReference ¶

type PageDtoImportSettingsReference struct {
	TotalElements    int32                     `json:"totalElements,omitempty"`
	TotalPages       int32                     `json:"totalPages,omitempty"`
	PageSize         int32                     `json:"pageSize,omitempty"`
	PageNumber       int32                     `json:"pageNumber,omitempty"`
	NumberOfElements int32                     `json:"numberOfElements,omitempty"`
	Content          []ImportSettingsReference `json:"content,omitempty"`
}

type PageDtoJobPartReference ¶

type PageDtoJobPartReference struct {
	TotalElements    int32              `json:"totalElements,omitempty"`
	TotalPages       int32              `json:"totalPages,omitempty"`
	PageSize         int32              `json:"pageSize,omitempty"`
	PageNumber       int32              `json:"pageNumber,omitempty"`
	NumberOfElements int32              `json:"numberOfElements,omitempty"`
	Content          []JobPartReference `json:"content,omitempty"`
}

type PageDtoJobPartReferenceV2 ¶

type PageDtoJobPartReferenceV2 struct {
	TotalElements    int32                `json:"totalElements,omitempty"`
	TotalPages       int32                `json:"totalPages,omitempty"`
	PageSize         int32                `json:"pageSize,omitempty"`
	PageNumber       int32                `json:"pageNumber,omitempty"`
	NumberOfElements int32                `json:"numberOfElements,omitempty"`
	Content          []JobPartReferenceV2 `json:"content,omitempty"`
}

type PageDtoLastLoginDto ¶

type PageDtoLastLoginDto struct {
	TotalElements    int32          `json:"totalElements,omitempty"`
	TotalPages       int32          `json:"totalPages,omitempty"`
	PageSize         int32          `json:"pageSize,omitempty"`
	PageNumber       int32          `json:"pageNumber,omitempty"`
	NumberOfElements int32          `json:"numberOfElements,omitempty"`
	Content          []LastLoginDto `json:"content,omitempty"`
}

type PageDtoMachineTranslateSettingsPbmDto ¶

type PageDtoMachineTranslateSettingsPbmDto struct {
	TotalElements    int32                            `json:"totalElements,omitempty"`
	TotalPages       int32                            `json:"totalPages,omitempty"`
	PageSize         int32                            `json:"pageSize,omitempty"`
	PageNumber       int32                            `json:"pageNumber,omitempty"`
	NumberOfElements int32                            `json:"numberOfElements,omitempty"`
	Content          []MachineTranslateSettingsPbmDto `json:"content,omitempty"`
}

type PageDtoNetRateSchemeReference ¶

type PageDtoNetRateSchemeReference struct {
	TotalElements    int32                    `json:"totalElements,omitempty"`
	TotalPages       int32                    `json:"totalPages,omitempty"`
	PageSize         int32                    `json:"pageSize,omitempty"`
	PageNumber       int32                    `json:"pageNumber,omitempty"`
	NumberOfElements int32                    `json:"numberOfElements,omitempty"`
	Content          []NetRateSchemeReference `json:"content,omitempty"`
}

type PageDtoNetRateSchemeWorkflowStepReference ¶

type PageDtoNetRateSchemeWorkflowStepReference struct {
	TotalElements    int32                                `json:"totalElements,omitempty"`
	TotalPages       int32                                `json:"totalPages,omitempty"`
	PageSize         int32                                `json:"pageSize,omitempty"`
	PageNumber       int32                                `json:"pageNumber,omitempty"`
	NumberOfElements int32                                `json:"numberOfElements,omitempty"`
	Content          []NetRateSchemeWorkflowStepReference `json:"content,omitempty"`
}

type PageDtoOrganizationEmailTemplateDto ¶

type PageDtoOrganizationEmailTemplateDto struct {
	TotalElements    int32                          `json:"totalElements,omitempty"`
	TotalPages       int32                          `json:"totalPages,omitempty"`
	PageSize         int32                          `json:"pageSize,omitempty"`
	PageNumber       int32                          `json:"pageNumber,omitempty"`
	NumberOfElements int32                          `json:"numberOfElements,omitempty"`
	Content          []OrganizationEmailTemplateDto `json:"content,omitempty"`
}

type PageDtoProjectReference ¶

type PageDtoProjectReference struct {
	TotalElements    int32              `json:"totalElements,omitempty"`
	TotalPages       int32              `json:"totalPages,omitempty"`
	PageSize         int32              `json:"pageSize,omitempty"`
	PageNumber       int32              `json:"pageNumber,omitempty"`
	NumberOfElements int32              `json:"numberOfElements,omitempty"`
	Content          []ProjectReference `json:"content,omitempty"`
}

type PageDtoProjectTemplateReference ¶

type PageDtoProjectTemplateReference struct {
	TotalElements    int32                      `json:"totalElements,omitempty"`
	TotalPages       int32                      `json:"totalPages,omitempty"`
	PageSize         int32                      `json:"pageSize,omitempty"`
	PageNumber       int32                      `json:"pageNumber,omitempty"`
	NumberOfElements int32                      `json:"numberOfElements,omitempty"`
	Content          []ProjectTemplateReference `json:"content,omitempty"`
}

type PageDtoProviderReference ¶

type PageDtoProviderReference struct {
	TotalElements    int32               `json:"totalElements,omitempty"`
	TotalPages       int32               `json:"totalPages,omitempty"`
	PageSize         int32               `json:"pageSize,omitempty"`
	PageNumber       int32               `json:"pageNumber,omitempty"`
	NumberOfElements int32               `json:"numberOfElements,omitempty"`
	Content          []ProviderReference `json:"content,omitempty"`
}

type PageDtoQuoteDto ¶

type PageDtoQuoteDto struct {
	TotalElements    int32      `json:"totalElements,omitempty"`
	TotalPages       int32      `json:"totalPages,omitempty"`
	PageSize         int32      `json:"pageSize,omitempty"`
	PageNumber       int32      `json:"pageNumber,omitempty"`
	NumberOfElements int32      `json:"numberOfElements,omitempty"`
	Content          []QuoteDto `json:"content,omitempty"`
}

type PageDtoSegmentationRuleReference ¶

type PageDtoSegmentationRuleReference struct {
	TotalElements    int32                       `json:"totalElements,omitempty"`
	TotalPages       int32                       `json:"totalPages,omitempty"`
	PageSize         int32                       `json:"pageSize,omitempty"`
	PageNumber       int32                       `json:"pageNumber,omitempty"`
	NumberOfElements int32                       `json:"numberOfElements,omitempty"`
	Content          []SegmentationRuleReference `json:"content,omitempty"`
}

type PageDtoString ¶

type PageDtoString struct {
	TotalElements    int32    `json:"totalElements,omitempty"`
	TotalPages       int32    `json:"totalPages,omitempty"`
	PageSize         int32    `json:"pageSize,omitempty"`
	PageNumber       int32    `json:"pageNumber,omitempty"`
	NumberOfElements int32    `json:"numberOfElements,omitempty"`
	Content          []string `json:"content,omitempty"`
}

type PageDtoSubDomainDto ¶

type PageDtoSubDomainDto struct {
	TotalElements    int32          `json:"totalElements,omitempty"`
	TotalPages       int32          `json:"totalPages,omitempty"`
	PageSize         int32          `json:"pageSize,omitempty"`
	PageNumber       int32          `json:"pageNumber,omitempty"`
	NumberOfElements int32          `json:"numberOfElements,omitempty"`
	Content          []SubDomainDto `json:"content,omitempty"`
}

type PageDtoTermBaseDto ¶

type PageDtoTermBaseDto struct {
	TotalElements    int32         `json:"totalElements,omitempty"`
	TotalPages       int32         `json:"totalPages,omitempty"`
	PageSize         int32         `json:"pageSize,omitempty"`
	PageNumber       int32         `json:"pageNumber,omitempty"`
	NumberOfElements int32         `json:"numberOfElements,omitempty"`
	Content          []TermBaseDto `json:"content,omitempty"`
}

type PageDtoTransMemoryDto ¶

type PageDtoTransMemoryDto struct {
	TotalElements    int32            `json:"totalElements,omitempty"`
	TotalPages       int32            `json:"totalPages,omitempty"`
	PageSize         int32            `json:"pageSize,omitempty"`
	PageNumber       int32            `json:"pageNumber,omitempty"`
	NumberOfElements int32            `json:"numberOfElements,omitempty"`
	Content          []TransMemoryDto `json:"content,omitempty"`
}

type PageDtoTranslationPriceListDto ¶

type PageDtoTranslationPriceListDto struct {
	TotalElements    int32                     `json:"totalElements,omitempty"`
	TotalPages       int32                     `json:"totalPages,omitempty"`
	PageSize         int32                     `json:"pageSize,omitempty"`
	PageNumber       int32                     `json:"pageNumber,omitempty"`
	NumberOfElements int32                     `json:"numberOfElements,omitempty"`
	Content          []TranslationPriceListDto `json:"content,omitempty"`
}

type PageDtoTranslationPriceSetDto ¶

type PageDtoTranslationPriceSetDto struct {
	TotalElements    int32                    `json:"totalElements,omitempty"`
	TotalPages       int32                    `json:"totalPages,omitempty"`
	PageSize         int32                    `json:"pageSize,omitempty"`
	PageNumber       int32                    `json:"pageNumber,omitempty"`
	NumberOfElements int32                    `json:"numberOfElements,omitempty"`
	Content          []TranslationPriceSetDto `json:"content,omitempty"`
}

type PageDtoUploadedFileDto ¶

type PageDtoUploadedFileDto struct {
	TotalElements    int32             `json:"totalElements,omitempty"`
	TotalPages       int32             `json:"totalPages,omitempty"`
	PageSize         int32             `json:"pageSize,omitempty"`
	PageNumber       int32             `json:"pageNumber,omitempty"`
	NumberOfElements int32             `json:"numberOfElements,omitempty"`
	Content          []UploadedFileDto `json:"content,omitempty"`
}

type PageDtoUserDto ¶

type PageDtoUserDto struct {
	TotalElements    int32     `json:"totalElements,omitempty"`
	TotalPages       int32     `json:"totalPages,omitempty"`
	PageSize         int32     `json:"pageSize,omitempty"`
	PageNumber       int32     `json:"pageNumber,omitempty"`
	NumberOfElements int32     `json:"numberOfElements,omitempty"`
	Content          []UserDto `json:"content,omitempty"`
}

type PageDtoVendorDto ¶

type PageDtoVendorDto struct {
	TotalElements    int32       `json:"totalElements,omitempty"`
	TotalPages       int32       `json:"totalPages,omitempty"`
	PageSize         int32       `json:"pageSize,omitempty"`
	PageNumber       int32       `json:"pageNumber,omitempty"`
	NumberOfElements int32       `json:"numberOfElements,omitempty"`
	Content          []VendorDto `json:"content,omitempty"`
}

type PageDtoWebHookDto ¶

type PageDtoWebHookDto struct {
	TotalElements    int32        `json:"totalElements,omitempty"`
	TotalPages       int32        `json:"totalPages,omitempty"`
	PageSize         int32        `json:"pageSize,omitempty"`
	PageNumber       int32        `json:"pageNumber,omitempty"`
	NumberOfElements int32        `json:"numberOfElements,omitempty"`
	Content          []WebHookDto `json:"content,omitempty"`
}

type PageDtoWebHookDtoV2 ¶

type PageDtoWebHookDtoV2 struct {
	TotalElements    int32          `json:"totalElements,omitempty"`
	TotalPages       int32          `json:"totalPages,omitempty"`
	PageSize         int32          `json:"pageSize,omitempty"`
	PageNumber       int32          `json:"pageNumber,omitempty"`
	NumberOfElements int32          `json:"numberOfElements,omitempty"`
	Content          []WebHookDtoV2 `json:"content,omitempty"`
}

type PageDtoWorkflowStepDto ¶

type PageDtoWorkflowStepDto struct {
	TotalElements    int32             `json:"totalElements,omitempty"`
	TotalPages       int32             `json:"totalPages,omitempty"`
	PageSize         int32             `json:"pageSize,omitempty"`
	PageNumber       int32             `json:"pageNumber,omitempty"`
	NumberOfElements int32             `json:"numberOfElements,omitempty"`
	Content          []WorkflowStepDto `json:"content,omitempty"`
}

type PageDtoWorkflowStepReference ¶

type PageDtoWorkflowStepReference struct {
	TotalElements    int32                   `json:"totalElements,omitempty"`
	TotalPages       int32                   `json:"totalPages,omitempty"`
	PageSize         int32                   `json:"pageSize,omitempty"`
	PageNumber       int32                   `json:"pageNumber,omitempty"`
	NumberOfElements int32                   `json:"numberOfElements,omitempty"`
	Content          []WorkflowStepReference `json:"content,omitempty"`
}

type PdfSettingsDto ¶

type PdfSettingsDto struct {
	// Default: TRANS_PDF
	Filter string `json:"filter,omitempty"`
}

type PhpSettingsDto ¶

type PhpSettingsDto struct {
	TagRegexp string `json:"tagRegexp,omitempty"`
	// Default: false
	HtmlSubFilter bool `json:"htmlSubFilter,omitempty"`
}

type PlainConversationDto ¶

type PlainConversationDto struct {
	Id           string           `json:"id,omitempty"`
	DateCreated  time.Time        `json:"dateCreated,omitempty"`
	DateModified time.Time        `json:"dateModified,omitempty"`
	Comments     []CommentDto     `json:"comments,omitempty"`
	Status       *StatusDto       `json:"status,omitempty"`
	Deleted      bool             `json:"deleted,omitempty"`
	Type_        string           `json:"type,omitempty"`
	References   *PlainReferences `json:"references,omitempty"`
}

type PlainConversationsListDto ¶

type PlainConversationsListDto struct {
	Conversations []PlainConversationDto `json:"conversations,omitempty"`
}

type PlainReferences ¶

type PlainReferences struct {
	TaskId            string `json:"taskId,omitempty"`
	TransGroupId      int32  `json:"transGroupId"`
	SegmentId         string `json:"segmentId"`
	ConversationTitle string `json:"conversationTitle,omitempty"`
}

type PoSettingsDto ¶

type PoSettingsDto struct {
	TagRegexp string `json:"tagRegexp,omitempty"`
	// Default: true
	ExportMultiline                bool   `json:"exportMultiline,omitempty"`
	HtmlSubFilter                  bool   `json:"htmlSubFilter,omitempty"`
	Segment                        bool   `json:"segment,omitempty"`
	MarkupSubFilterTranslatable    string `json:"markupSubFilterTranslatable,omitempty"`
	MarkupSubFilterNonTranslatable string `json:"markupSubFilterNonTranslatable,omitempty"`
}

type PptSettingsDto ¶

type PptSettingsDto struct {
	// Default: false
	HiddenSlides bool `json:"hiddenSlides,omitempty"`
	// Default: false
	Other bool `json:"other,omitempty"`
	// Default: false
	Notes bool `json:"notes,omitempty"`
	// Default: false
	MasterSlides bool `json:"masterSlides,omitempty"`
}

type PreTranslateJobsDto ¶

type PreTranslateJobsDto struct {
	Jobs []UidReference `json:"jobs"`
	// Default: true
	UseTranslationMemory bool `json:"useTranslationMemory,omitempty"`
	// Default: true
	UseMachineTranslation bool `json:"useMachineTranslation,omitempty"`
	// default: 0.7
	TranslationMemoryTreshold float64 `json:"translationMemoryTreshold,omitempty"`
	// Default: false
	InsertMachineTranslationIntoTarget bool `json:"insertMachineTranslationIntoTarget,omitempty"`
	// Default: false
	PreTranslateNonTranslatables bool `json:"preTranslateNonTranslatables,omitempty"`
	// Default: false
	Confirm100NonTranslatableMatches bool `json:"confirm100NonTranslatableMatches,omitempty"`
	// Default: false
	Confirm100TranslationMemoryMatches bool `json:"confirm100TranslationMemoryMatches,omitempty"`
	// Default: false
	Confirm101TranslationMemoryMatches bool `json:"confirm101TranslationMemoryMatches,omitempty"`
	// Default: false
	Lock100NonTranslatableMatches bool `json:"lock100NonTranslatableMatches,omitempty"`
	// Default: false
	Lock100TranslationMemoryMatches bool `json:"lock100TranslationMemoryMatches,omitempty"`
	// Default: false
	Lock101TranslationMemoryMatches bool `json:"lock101TranslationMemoryMatches,omitempty"`
	// Default: false
	Overwrite      bool     `json:"overwrite,omitempty"`
	SegmentFilters []string `json:"segmentFilters,omitempty"`
	// Default: false
	UseProjectPreTranslateSettings bool   `json:"useProjectPreTranslateSettings,omitempty"`
	CallbackUrl                    string `json:"callbackUrl,omitempty"`
}

type PreTranslateSettingsDto ¶

type PreTranslateSettingsDto struct {
	// Pre-translate from translation memory. Default: false
	TranslationMemory bool `json:"translationMemory,omitempty"`
	// Pre-translation threshold percent
	TranslationMemoryThreshold float64 `json:"translationMemoryThreshold,omitempty"`
	// Propagate repetitions. Default: false
	AutoPropagateRepetitions bool `json:"autoPropagateRepetitions,omitempty"`
	// Pre-translate from machine translation. Default: false
	MachineTranslation bool `json:"machineTranslation,omitempty"`
	// Pre-translate non-translatables. Default: false
	NonTranslatables bool `json:"nonTranslatables,omitempty"`
	// Set segment status to confirmed for: Repetitions. Default: false
	RepetitionsAsConfirmed bool `json:"repetitionsAsConfirmed,omitempty"`
	// Set segment status to confirmed for: 100% translation memory matches. Default: false
	Matches100AsTranslated bool `json:"matches100AsTranslated,omitempty"`
	// Set segment status to confirmed for: 101% translation memory matches. Default: false
	Matches101AsTranslate bool `json:"matches101AsTranslate,omitempty"`
	// Set segment status to confirmed for: 100% non-translatable matches. Default: false
	NonTranslatablesAsTranslated bool `json:"nonTranslatablesAsTranslated,omitempty"`
	// Pre-translate & set job to completed: Pre-translate on job creation. Default: false
	PreTranslateOnJobCreation bool `json:"preTranslateOnJobCreation,omitempty"`
	// Pre-translate & set job to completed: Set job to completed once pre-translated. Default: false
	SetJobStatusCompleted bool `json:"setJobStatusCompleted,omitempty"`
	// Pre-translate & set job to completed when all segments confirmed: Set job to completed once pre-translated and all segments are confirmed. Default: false
	SetJobStatusCompletedWhenConfirmed bool `json:"setJobStatusCompletedWhenConfirmed,omitempty"`
	// Pre-translate & set job to completed: Set project to completed once all jobs pre-translated.         Default: false
	SetProjectStatusCompleted bool `json:"setProjectStatusCompleted,omitempty"`
	// Lock 100% non-translatable matches. Default: false
	LockNonTranslatables bool `json:"lockNonTranslatables,omitempty"`
	// Lock 100% translation memory matches. Default: false
	Lock100 bool `json:"lock100,omitempty"`
	// Lock 101% translation memory matches. Default: false
	Lock101 bool `json:"lock101,omitempty"`
	// Non translatables enabled in Editors. Default: false
	NonTranslatablesInEditors bool `json:"nonTranslatablesInEditors,omitempty"`
}

type PreviewUrlDto ¶

type PreviewUrlDto struct {
	Type_ string `json:"type,omitempty"`
	Url   string `json:"url,omitempty"`
}

type PreviewUrlsDto ¶

type PreviewUrlsDto struct {
	Previews []PreviewUrlDto `json:"previews,omitempty"`
}

type PreviousWorkflowDto ¶

type PreviousWorkflowDto struct {
	Completed bool               `json:"completed,omitempty"`
	Counts    *SegmentsCountsDto `json:"counts,omitempty"`
}

type PriceListApiCreateLanguagePairOpts ¶

type PriceListApiCreateLanguagePairOpts struct {
	Body optional.Interface
}

type PriceListApiCreatePriceListOpts ¶

type PriceListApiCreatePriceListOpts struct {
	Body optional.Interface
}

type PriceListApiDeleteLanguagePairsOpts ¶

type PriceListApiDeleteLanguagePairsOpts struct {
	Body optional.Interface
}

type PriceListApiGetListOfPriceListOpts ¶

type PriceListApiGetListOfPriceListOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type PriceListApiGetPricesWithWorkflowStepsOpts ¶

type PriceListApiGetPricesWithWorkflowStepsOpts struct {
	PageNumber      optional.Int32
	PageSize        optional.Int32
	SourceLanguages optional.Interface
	TargetLanguages optional.Interface
}

type PriceListApiService ¶

type PriceListApiService service

func (*PriceListApiService) CreateLanguagePair ¶

func (a *PriceListApiService) CreateLanguagePair(ctx context.Context, priceListId int64, localVarOptionals *PriceListApiCreateLanguagePairOpts) (TranslationPriceSetListDto, *http.Response, error)

func (*PriceListApiService) CreatePriceList ¶

func (*PriceListApiService) DeleteLanguagePair ¶

func (a *PriceListApiService) DeleteLanguagePair(ctx context.Context, priceListId int64, sourceLanguage string, targetLanguage string) (*http.Response, error)

PriceListApiService Remove language pair

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param priceListId
  • @param sourceLanguage
  • @param targetLanguage

func (*PriceListApiService) DeleteLanguagePairs ¶

func (a *PriceListApiService) DeleteLanguagePairs(ctx context.Context, priceListId int64, localVarOptionals *PriceListApiDeleteLanguagePairsOpts) (*http.Response, error)

func (*PriceListApiService) DeletePriceList ¶

func (a *PriceListApiService) DeletePriceList(ctx context.Context, priceListId int64) (*http.Response, error)

PriceListApiService Delete price list

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param priceListId

func (*PriceListApiService) GetListOfPriceList ¶

func (*PriceListApiService) GetPriceList ¶

func (a *PriceListApiService) GetPriceList(ctx context.Context, priceListId int64) (TranslationPriceListDto, *http.Response, error)

PriceListApiService Get price list

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param priceListId

@return TranslationPriceListDto

func (*PriceListApiService) GetPricesWithWorkflowSteps ¶

func (a *PriceListApiService) GetPricesWithWorkflowSteps(ctx context.Context, priceListId int64, localVarOptionals *PriceListApiGetPricesWithWorkflowStepsOpts) (PageDtoTranslationPriceSetDto, *http.Response, error)

func (*PriceListApiService) SetMinimumPriceForSet ¶

func (a *PriceListApiService) SetMinimumPriceForSet(ctx context.Context, priceListId int64, localVarOptionals *PriceListApiSetMinimumPriceForSetOpts) (TranslationPriceListDto, *http.Response, error)

func (*PriceListApiService) SetPrices ¶

func (a *PriceListApiService) SetPrices(ctx context.Context, priceListId int64, localVarOptionals *PriceListApiSetPricesOpts) (TranslationPriceListDto, *http.Response, error)

func (*PriceListApiService) UpdatePriceList ¶

func (a *PriceListApiService) UpdatePriceList(ctx context.Context, priceListId int64, localVarOptionals *PriceListApiUpdatePriceListOpts) (TranslationPriceListDto, *http.Response, error)

type PriceListApiSetMinimumPriceForSetOpts ¶

type PriceListApiSetMinimumPriceForSetOpts struct {
	Body optional.Interface
}

type PriceListApiSetPricesOpts ¶

type PriceListApiSetPricesOpts struct {
	Body optional.Interface
}

type PriceListApiUpdatePriceListOpts ¶

type PriceListApiUpdatePriceListOpts struct {
	Body optional.Interface
}

type PriceListReference ¶

type PriceListReference struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type ProgressDto ¶

type ProgressDto struct {
	TotalCount    int32 `json:"totalCount,omitempty"`
	FinishedCount int32 `json:"finishedCount,omitempty"`
	OverdueCount  int32 `json:"overdueCount,omitempty"`
}

type ProgressDtoV2 ¶

type ProgressDtoV2 struct {
	TotalCount    int32 `json:"totalCount,omitempty"`
	FinishedCount int32 `json:"finishedCount,omitempty"`
	OverdueCount  int32 `json:"overdueCount,omitempty"`
}

type ProjectApiAddTargetLanguageToProjectOpts ¶

type ProjectApiAddTargetLanguageToProjectOpts struct {
	Body optional.Interface
}

type ProjectApiAddWorkflowStepsOpts ¶

type ProjectApiAddWorkflowStepsOpts struct {
	Body optional.Interface
}

type ProjectApiAssignLinguistsFromTemplateToJobPartsOpts ¶

type ProjectApiAssignLinguistsFromTemplateToJobPartsOpts struct {
	Body optional.Interface
}

type ProjectApiAssignVendorToProjectOpts ¶

type ProjectApiAssignVendorToProjectOpts struct {
	Body optional.Interface
}

type ProjectApiCloneProjectOpts ¶

type ProjectApiCloneProjectOpts struct {
	Body optional.Interface
}

type ProjectApiCreateNoteRefOpts ¶

type ProjectApiCreateNoteRefOpts struct {
	Body               optional.Interface
	ContentDisposition optional.String
}

type ProjectApiCreateProjectFromTemplateOpts ¶

type ProjectApiCreateProjectFromTemplateOpts struct {
	Body optional.Interface
}

type ProjectApiCreateProjectFromTemplateV2Opts ¶

type ProjectApiCreateProjectFromTemplateV2Opts struct {
	Body optional.Interface
}

type ProjectApiCreateProjectOpts ¶

type ProjectApiCreateProjectOpts struct {
	Body optional.Interface
}

type ProjectApiDeleteProjectOpts ¶

type ProjectApiDeleteProjectOpts struct {
	Purge optional.Bool
}

type ProjectApiEditProjectAccessSettingsOpts ¶

type ProjectApiEditProjectAccessSettingsOpts struct {
	Body optional.Interface
}

type ProjectApiEditProjectOpts ¶

type ProjectApiEditProjectOpts struct {
	Body optional.Interface
}

type ProjectApiEditProjectQualityAssuranceSettingsOpts ¶

type ProjectApiEditProjectQualityAssuranceSettingsOpts struct {
	Body optional.Interface
}

type ProjectApiGetProjectAssignmentsOpts ¶

type ProjectApiGetProjectAssignmentsOpts struct {
	ProviderName optional.String
	PageNumber   optional.Int32
	PageSize     optional.Int32
}

type ProjectApiGetProjectSettingsOpts ¶

type ProjectApiGetProjectSettingsOpts struct {
	WorkflowLevel optional.Int32
}

type ProjectApiGetQuotesForProjectOpts ¶

type ProjectApiGetQuotesForProjectOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type ProjectApiListAssignedProjectsOpts ¶

type ProjectApiListAssignedProjectsOpts struct {
	Status         optional.Interface
	TargetLang     optional.Interface
	WorkflowStepId optional.Int64
	DueInHours     optional.Int32
	Filename       optional.String
	ProjectName    optional.String
	PageNumber     optional.Int32
	PageSize       optional.Int32
}

type ProjectApiListByProjectOpts ¶

type ProjectApiListByProjectOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type ProjectApiListByProjectV2Opts ¶

type ProjectApiListByProjectV2Opts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type ProjectApiListProjectsOpts ¶

type ProjectApiListProjectsOpts struct {
	Name               optional.String
	ClientId           optional.Int64
	ClientName         optional.String
	BusinessUnitName   optional.String
	Statuses           optional.Interface
	TargetLangs        optional.Interface
	DomainName         optional.String
	SubDomainName      optional.String
	CostCenterId       optional.Int64
	CostCenterName     optional.String
	DueInHours         optional.Int32
	CreatedInLastHours optional.Int32
	SourceLangs        optional.Interface
	OwnerId            optional.Int64
	JobStatuses        optional.Interface
	JobStatusGroup     optional.String
	BuyerId            optional.Int64
	PageNumber         optional.Int32
	PageSize           optional.Int32
}

type ProjectApiSearchSegmentOpts ¶

type ProjectApiSearchSegmentOpts struct {
	Body optional.Interface
}

type ProjectApiService ¶

type ProjectApiService service

func (*ProjectApiService) AddTargetLanguageToProject ¶

func (a *ProjectApiService) AddTargetLanguageToProject(ctx context.Context, projectUid string, localVarOptionals *ProjectApiAddTargetLanguageToProjectOpts) (*http.Response, error)

func (*ProjectApiService) AddWorkflowSteps ¶

func (a *ProjectApiService) AddWorkflowSteps(ctx context.Context, projectUid string, localVarOptionals *ProjectApiAddWorkflowStepsOpts) (*http.Response, error)

func (*ProjectApiService) AssignLinguistsFromTemplate ¶

func (a *ProjectApiService) AssignLinguistsFromTemplate(ctx context.Context, templateId int64, projectUid string) (JobPartsDto, *http.Response, error)

ProjectApiService Assigns providers from template

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param templateId
  • @param projectUid

@return JobPartsDto

func (*ProjectApiService) AssignLinguistsFromTemplateToJobParts ¶

func (a *ProjectApiService) AssignLinguistsFromTemplateToJobParts(ctx context.Context, templateId int64, projectUid string, localVarOptionals *ProjectApiAssignLinguistsFromTemplateToJobPartsOpts) (JobPartsDto, *http.Response, error)

func (*ProjectApiService) AssignVendorToProject ¶

func (a *ProjectApiService) AssignVendorToProject(ctx context.Context, projectUid string, localVarOptionals *ProjectApiAssignVendorToProjectOpts) (*http.Response, error)

func (*ProjectApiService) AssignableTemplates ¶

func (a *ProjectApiService) AssignableTemplates(ctx context.Context, projectUid string) (AssignableTemplatesDto, *http.Response, error)

ProjectApiService List assignable templates

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return AssignableTemplatesDto

func (*ProjectApiService) CloneProject ¶

func (a *ProjectApiService) CloneProject(ctx context.Context, projectUid string, localVarOptionals *ProjectApiCloneProjectOpts) (AbstractProjectDto, *http.Response, error)

func (*ProjectApiService) CreateNoteRef ¶

func (a *ProjectApiService) CreateNoteRef(ctx context.Context, projectUid string, localVarOptionals *ProjectApiCreateNoteRefOpts) (ReferenceFileReference, *http.Response, error)

func (*ProjectApiService) CreateProject ¶

func (a *ProjectApiService) CreateProject(ctx context.Context, localVarOptionals *ProjectApiCreateProjectOpts) (AbstractProjectDto, *http.Response, error)

func (*ProjectApiService) CreateProjectFromTemplate ¶

func (a *ProjectApiService) CreateProjectFromTemplate(ctx context.Context, templateId int64, localVarOptionals *ProjectApiCreateProjectFromTemplateOpts) (AbstractProjectDto, *http.Response, error)

func (*ProjectApiService) CreateProjectFromTemplateV2 ¶

func (a *ProjectApiService) CreateProjectFromTemplateV2(ctx context.Context, templateId int64, localVarOptionals *ProjectApiCreateProjectFromTemplateV2Opts) (AbstractProjectDtoV2, *http.Response, error)

func (*ProjectApiService) DeleteProject ¶

func (a *ProjectApiService) DeleteProject(ctx context.Context, projectUid string, localVarOptionals *ProjectApiDeleteProjectOpts) (*http.Response, error)

func (*ProjectApiService) DownloadReference ¶

func (a *ProjectApiService) DownloadReference(ctx context.Context, projectUid string, referenceFileId string) (*http.Response, error)

ProjectApiService Get project reference

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid
  • @param referenceFileId

func (*ProjectApiService) EditProject ¶

func (a *ProjectApiService) EditProject(ctx context.Context, projectUid string, localVarOptionals *ProjectApiEditProjectOpts) (AbstractProjectDto, *http.Response, error)

func (*ProjectApiService) EditProjectAccessSettings ¶

func (a *ProjectApiService) EditProjectAccessSettings(ctx context.Context, projectUid string, localVarOptionals *ProjectApiEditProjectAccessSettingsOpts) (ProjectSecuritySettingsDto, *http.Response, error)

func (*ProjectApiService) EditProjectQualityAssuranceSettings ¶

func (a *ProjectApiService) EditProjectQualityAssuranceSettings(ctx context.Context, projectUid string, localVarOptionals *ProjectApiEditProjectQualityAssuranceSettingsOpts) (QaSettingsDto, *http.Response, error)

func (*ProjectApiService) EnabledQualityChecks ¶

func (a *ProjectApiService) EnabledQualityChecks(ctx context.Context, projectUid string) (EnabledQualityChecksDto, *http.Response, error)

ProjectApiService Get QA checks Returns enabled quality assurance settings.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return EnabledQualityChecksDto

func (*ProjectApiService) GetAnalyseSettingsForProject ¶

func (a *ProjectApiService) GetAnalyseSettingsForProject(ctx context.Context, projectUid string) (AnalyseSettingsDto, *http.Response, error)

ProjectApiService Get analyse settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return AnalyseSettingsDto

func (*ProjectApiService) GetFinancialSettings ¶

func (a *ProjectApiService) GetFinancialSettings(ctx context.Context, projectUid string) (FinancialSettingsDto, *http.Response, error)

ProjectApiService Get financial settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return FinancialSettingsDto

func (*ProjectApiService) GetImportSettings2 ¶

func (a *ProjectApiService) GetImportSettings2(ctx context.Context, projectUid string) (FileImportSettingsDto, *http.Response, error)

ProjectApiService Get projects's default import settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return FileImportSettingsDto

func (*ProjectApiService) GetMtSettingsForProject ¶

func (a *ProjectApiService) GetMtSettingsForProject(ctx context.Context, projectUid string) (MtSettingsPerLanguageListDto, *http.Response, error)

ProjectApiService Get machine translate settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return MtSettingsPerLanguageListDto

func (*ProjectApiService) GetPreTranslateSettingsForProject ¶

func (a *ProjectApiService) GetPreTranslateSettingsForProject(ctx context.Context, projectUid string) (PreTranslateSettingsDto, *http.Response, error)

ProjectApiService Get Pre-translate settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return PreTranslateSettingsDto

func (*ProjectApiService) GetProject ¶

func (a *ProjectApiService) GetProject(ctx context.Context, projectUid string) (AbstractProjectDto, *http.Response, error)

ProjectApiService Get project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return AbstractProjectDto

func (*ProjectApiService) GetProjectAccessSettings ¶

func (a *ProjectApiService) GetProjectAccessSettings(ctx context.Context, projectUid string) (ProjectSecuritySettingsDto, *http.Response, error)

ProjectApiService Get access and security settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return ProjectSecuritySettingsDto

func (*ProjectApiService) GetProjectAssignments ¶

func (a *ProjectApiService) GetProjectAssignments(ctx context.Context, projectUid string, localVarOptionals *ProjectApiGetProjectAssignmentsOpts) (PageDtoProviderReference, *http.Response, error)

func (*ProjectApiService) GetProjectQASettings ¶

func (a *ProjectApiService) GetProjectQASettings(ctx context.Context, projectUid string) (QaSettingsDto, *http.Response, error)

ProjectApiService Get quality assurance settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return QaSettingsDto

func (*ProjectApiService) GetProjectQASettingsV2 ¶

func (a *ProjectApiService) GetProjectQASettingsV2(ctx context.Context, projectUid string) (QaSettingsDtoV2, *http.Response, error)

ProjectApiService Get quality assurance settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return QaSettingsDtoV2

func (*ProjectApiService) GetProjectSettings ¶

func (a *ProjectApiService) GetProjectSettings(ctx context.Context, projectUid string, localVarOptionals *ProjectApiGetProjectSettingsOpts) (LqaSettingsDto, *http.Response, error)

func (*ProjectApiService) GetProjectTermBases ¶

func (a *ProjectApiService) GetProjectTermBases(ctx context.Context, projectUid string) (ProjectTermBaseListDto, *http.Response, error)

ProjectApiService Get term bases

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return ProjectTermBaseListDto

func (*ProjectApiService) GetProjectTransMemories ¶

func (a *ProjectApiService) GetProjectTransMemories(ctx context.Context, projectUid string) (ProjectTransMemoryListDto, *http.Response, error)

ProjectApiService Get translation memories

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return ProjectTransMemoryListDto

func (*ProjectApiService) GetProjectWorkflowSteps ¶

func (a *ProjectApiService) GetProjectWorkflowSteps(ctx context.Context, projectUid string) (ProjectWorkflowStepListDto, *http.Response, error)

ProjectApiService Get workflow steps

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return ProjectWorkflowStepListDto

func (*ProjectApiService) GetQuotesForProject ¶

func (a *ProjectApiService) GetQuotesForProject(ctx context.Context, projectUid string, localVarOptionals *ProjectApiGetQuotesForProjectOpts) (PageDtoQuoteDto, *http.Response, error)

func (*ProjectApiService) ListAssignedProjects ¶

func (a *ProjectApiService) ListAssignedProjects(ctx context.Context, userId int64, localVarOptionals *ProjectApiListAssignedProjectsOpts) (PageDtoProjectReference, *http.Response, error)

func (*ProjectApiService) ListByProject ¶

func (a *ProjectApiService) ListByProject(ctx context.Context, projectUid string, localVarOptionals *ProjectApiListByProjectOpts) (PageDtoAnalyseDto, *http.Response, error)

func (*ProjectApiService) ListByProjectV2 ¶

func (a *ProjectApiService) ListByProjectV2(ctx context.Context, projectUid string, localVarOptionals *ProjectApiListByProjectV2Opts) (PageDtoAnalyseV2Dto, *http.Response, error)

func (*ProjectApiService) ListProjects ¶

func (*ProjectApiService) ListProviders ¶

func (a *ProjectApiService) ListProviders(ctx context.Context, projectUid string) (ProviderListDto, *http.Response, error)

ProjectApiService Get suggested providers

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return ProviderListDto

func (*ProjectApiService) SearchSegment ¶

func (a *ProjectApiService) SearchSegment(ctx context.Context, projectUid string, localVarOptionals *ProjectApiSearchSegmentOpts) (SearchResponseListTmDto, *http.Response, error)

func (*ProjectApiService) SetFinancialSettings ¶

func (a *ProjectApiService) SetFinancialSettings(ctx context.Context, projectUid string, localVarOptionals *ProjectApiSetFinancialSettingsOpts) (FinancialSettingsDto, *http.Response, error)

func (*ProjectApiService) SetMtSettingsForProject ¶

func (a *ProjectApiService) SetMtSettingsForProject(ctx context.Context, projectUid string, localVarOptionals *ProjectApiSetMtSettingsForProjectOpts) (MtSettingsPerLanguageListDto, *http.Response, error)

func (*ProjectApiService) SetMtSettingsPerLanguageForProject ¶

func (a *ProjectApiService) SetMtSettingsPerLanguageForProject(ctx context.Context, projectUid string, localVarOptionals *ProjectApiSetMtSettingsPerLanguageForProjectOpts) (MtSettingsPerLanguageListDto, *http.Response, error)

func (*ProjectApiService) SetProjectQASettingsV2 ¶

func (a *ProjectApiService) SetProjectQASettingsV2(ctx context.Context, projectUid string, localVarOptionals *ProjectApiSetProjectQASettingsV2Opts) (QaSettingsDtoV2, *http.Response, error)

func (*ProjectApiService) SetProjectStatus ¶

func (a *ProjectApiService) SetProjectStatus(ctx context.Context, projectUid string, localVarOptionals *ProjectApiSetProjectStatusOpts) (*http.Response, error)

func (*ProjectApiService) SetProjectTermBases ¶

func (a *ProjectApiService) SetProjectTermBases(ctx context.Context, projectUid string, localVarOptionals *ProjectApiSetProjectTermBasesOpts) (ProjectTermBaseListDto, *http.Response, error)

func (*ProjectApiService) SetProjectTransMemories ¶

func (a *ProjectApiService) SetProjectTransMemories(ctx context.Context, projectUid string, localVarOptionals *ProjectApiSetProjectTransMemoriesOpts) (ProjectTransMemoryListDto, *http.Response, error)

func (*ProjectApiService) SetProjectTransMemoriesV2 ¶

func (a *ProjectApiService) SetProjectTransMemoriesV2(ctx context.Context, projectUid string, localVarOptionals *ProjectApiSetProjectTransMemoriesV2Opts) (ProjectTransMemoryListDtoV2, *http.Response, error)

type ProjectApiSetFinancialSettingsOpts ¶

type ProjectApiSetFinancialSettingsOpts struct {
	Body optional.Interface
}

type ProjectApiSetMtSettingsForProjectOpts ¶

type ProjectApiSetMtSettingsForProjectOpts struct {
	Body optional.Interface
}

type ProjectApiSetMtSettingsPerLanguageForProjectOpts ¶

type ProjectApiSetMtSettingsPerLanguageForProjectOpts struct {
	Body optional.Interface
}

type ProjectApiSetProjectQASettingsV2Opts ¶

type ProjectApiSetProjectQASettingsV2Opts struct {
	Body optional.Interface
}

type ProjectApiSetProjectStatusOpts ¶

type ProjectApiSetProjectStatusOpts struct {
	Body optional.Interface
}

type ProjectApiSetProjectTermBasesOpts ¶

type ProjectApiSetProjectTermBasesOpts struct {
	Body optional.Interface
}

type ProjectApiSetProjectTransMemoriesOpts ¶

type ProjectApiSetProjectTransMemoriesOpts struct {
	Body optional.Interface
}

type ProjectApiSetProjectTransMemoriesV2Opts ¶

type ProjectApiSetProjectTransMemoriesV2Opts struct {
	Body optional.Interface
}

type ProjectReference ¶

type ProjectReference struct {
	Name string `json:"name,omitempty"`
	Uid  string `json:"uid,omitempty"`
}

type ProjectReferenceFileApiCreateNoteRefOpts ¶

type ProjectReferenceFileApiCreateNoteRefOpts struct {
	Body               optional.Interface
	ContentDisposition optional.String
}

type ProjectReferenceFileApiService ¶

type ProjectReferenceFileApiService service

func (*ProjectReferenceFileApiService) CreateNoteRef ¶

func (*ProjectReferenceFileApiService) DownloadReference ¶

func (a *ProjectReferenceFileApiService) DownloadReference(ctx context.Context, projectUid string, referenceFileId string) (*http.Response, error)

ProjectReferenceFileApiService Get project reference

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid
  • @param referenceFileId

type ProjectSecuritySettingsDto ¶

type ProjectSecuritySettingsDto struct {
	DownloadEnabled                bool `json:"downloadEnabled,omitempty"`
	WebEditorEnabledForLinguists   bool `json:"webEditorEnabledForLinguists,omitempty"`
	ShowUserDataToLinguists        bool `json:"showUserDataToLinguists,omitempty"`
	EmailNotifications             bool `json:"emailNotifications,omitempty"`
	StrictWorkflowFinish           bool `json:"strictWorkflowFinish,omitempty"`
	UseVendors                     bool `json:"useVendors,omitempty"`
	LinguistsMayEditLockedSegments bool `json:"linguistsMayEditLockedSegments,omitempty"`
	LinguistsMaySetAutoPropagation bool `json:"linguistsMaySetAutoPropagation,omitempty"`
}

type ProjectTemplateApiAssignLinguistsFromTemplateToJobPartsOpts ¶

type ProjectTemplateApiAssignLinguistsFromTemplateToJobPartsOpts struct {
	Body optional.Interface
}

type ProjectTemplateApiCreateProjectFromTemplateOpts ¶

type ProjectTemplateApiCreateProjectFromTemplateOpts struct {
	Body optional.Interface
}

type ProjectTemplateApiCreateProjectFromTemplateV2Opts ¶

type ProjectTemplateApiCreateProjectFromTemplateV2Opts struct {
	Body optional.Interface
}

type ProjectTemplateApiGetProjectTemplatesOpts ¶

type ProjectTemplateApiGetProjectTemplatesOpts struct {
	Name             optional.String
	ClientId         optional.Int64
	ClientName       optional.String
	OwnerUid         optional.String
	DomainName       optional.String
	SubDomainName    optional.String
	CostCenterId     optional.Int64
	CostCenterName   optional.String
	BusinessUnitName optional.String
	PageNumber       optional.Int32
	PageSize         optional.Int32
}

type ProjectTemplateApiService ¶

type ProjectTemplateApiService service

func (*ProjectTemplateApiService) AssignLinguistsFromTemplate ¶

func (a *ProjectTemplateApiService) AssignLinguistsFromTemplate(ctx context.Context, templateId int64, projectUid string) (JobPartsDto, *http.Response, error)

ProjectTemplateApiService Assigns providers from template

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param templateId
  • @param projectUid

@return JobPartsDto

func (*ProjectTemplateApiService) AssignLinguistsFromTemplateToJobParts ¶

func (a *ProjectTemplateApiService) AssignLinguistsFromTemplateToJobParts(ctx context.Context, templateId int64, projectUid string, localVarOptionals *ProjectTemplateApiAssignLinguistsFromTemplateToJobPartsOpts) (JobPartsDto, *http.Response, error)

func (*ProjectTemplateApiService) AssignableTemplates ¶

func (a *ProjectTemplateApiService) AssignableTemplates(ctx context.Context, projectUid string) (AssignableTemplatesDto, *http.Response, error)

ProjectTemplateApiService List assignable templates

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return AssignableTemplatesDto

func (*ProjectTemplateApiService) CreateProjectFromTemplate ¶

func (a *ProjectTemplateApiService) CreateProjectFromTemplate(ctx context.Context, templateId int64, localVarOptionals *ProjectTemplateApiCreateProjectFromTemplateOpts) (AbstractProjectDto, *http.Response, error)

func (*ProjectTemplateApiService) CreateProjectFromTemplateV2 ¶

func (a *ProjectTemplateApiService) CreateProjectFromTemplateV2(ctx context.Context, templateId int64, localVarOptionals *ProjectTemplateApiCreateProjectFromTemplateV2Opts) (AbstractProjectDtoV2, *http.Response, error)

func (*ProjectTemplateApiService) CreateProjectTemplate ¶

ProjectTemplateApiService Create project template

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body

@return ProjectTemplateDto

func (*ProjectTemplateApiService) DeleteProjectTemplate ¶

func (a *ProjectTemplateApiService) DeleteProjectTemplate(ctx context.Context, projectTemplateId int64) (*http.Response, error)

ProjectTemplateApiService Delete project template

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectTemplateId

func (*ProjectTemplateApiService) EditProjectTemplate ¶

func (a *ProjectTemplateApiService) EditProjectTemplate(ctx context.Context, projectTemplateId int64, body ProjectTemplateEditDto) (ProjectTemplateDto, *http.Response, error)

ProjectTemplateApiService Edit project template

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectTemplateId
  • @param body

@return ProjectTemplateDto

func (*ProjectTemplateApiService) GetAnalyseSettingsForProjectTemplate ¶

func (a *ProjectTemplateApiService) GetAnalyseSettingsForProjectTemplate(ctx context.Context, projectTemplateId string) (AnalyseSettingsDto, *http.Response, error)

ProjectTemplateApiService Get analyse settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectTemplateId

@return AnalyseSettingsDto

func (*ProjectTemplateApiService) GetMachineTranslateSettingsForProjectTemplate ¶

func (a *ProjectTemplateApiService) GetMachineTranslateSettingsForProjectTemplate(ctx context.Context, projectTemplateId string) (MtSettingsPerLanguageListDto, *http.Response, error)

ProjectTemplateApiService Get machine translate settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectTemplateId

@return MtSettingsPerLanguageListDto

func (*ProjectTemplateApiService) GetPreTranslateSettingsForProjectTemplate ¶

func (a *ProjectTemplateApiService) GetPreTranslateSettingsForProjectTemplate(ctx context.Context, projectTemplateId string) (PreTranslateSettingsDto, *http.Response, error)

ProjectTemplateApiService Get Pre-translate settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectTemplateId

@return PreTranslateSettingsDto

func (*ProjectTemplateApiService) GetProjectTemplate ¶

func (a *ProjectTemplateApiService) GetProjectTemplate(ctx context.Context, projectTemplateId int64) (ProjectTemplateDto, *http.Response, error)

ProjectTemplateApiService Get project template

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectTemplateId

@return ProjectTemplateDto

func (*ProjectTemplateApiService) GetProjectTemplateTermBases ¶

func (a *ProjectTemplateApiService) GetProjectTemplateTermBases(ctx context.Context, projectTemplateId string) (ProjectTemplateTermBaseListDto, *http.Response, error)

ProjectTemplateApiService Get term bases

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectTemplateId

@return ProjectTemplateTermBaseListDto

func (*ProjectTemplateApiService) GetProjectTemplateTransMemories ¶

func (a *ProjectTemplateApiService) GetProjectTemplateTransMemories(ctx context.Context, projectTemplateId string) (ProjectTemplateTransMemoryListDto, *http.Response, error)

ProjectTemplateApiService Get translation memories

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectTemplateId

@return ProjectTemplateTransMemoryListDto

func (*ProjectTemplateApiService) GetProjectTemplates ¶

func (*ProjectTemplateApiService) SetProjectTemplateTermBases ¶

func (a *ProjectTemplateApiService) SetProjectTemplateTermBases(ctx context.Context, projectTemplateId string, localVarOptionals *ProjectTemplateApiSetProjectTemplateTermBasesOpts) (ProjectTemplateTermBaseListDto, *http.Response, error)

func (*ProjectTemplateApiService) SetProjectTemplateTransMemories ¶

func (a *ProjectTemplateApiService) SetProjectTemplateTransMemories(ctx context.Context, projectTemplateId string, localVarOptionals *ProjectTemplateApiSetProjectTemplateTransMemoriesOpts) (ProjectTemplateTransMemoryListDto, *http.Response, error)

type ProjectTemplateApiSetProjectTemplateTermBasesOpts ¶

type ProjectTemplateApiSetProjectTemplateTermBasesOpts struct {
	Body optional.Interface
}

type ProjectTemplateApiSetProjectTemplateTransMemoriesOpts ¶

type ProjectTemplateApiSetProjectTemplateTransMemoriesOpts struct {
	Body optional.Interface
}

type ProjectTemplateCreateActionDto ¶

type ProjectTemplateCreateActionDto struct {
	Project *UidReference `json:"project"`
	Name    string        `json:"name"`
}

type ProjectTemplateDto ¶

type ProjectTemplateDto struct {
	Id               string                            `json:"id,omitempty"`
	TemplateName     string                            `json:"templateName,omitempty"`
	Name             string                            `json:"name,omitempty"`
	SourceLang       string                            `json:"sourceLang,omitempty"`
	TargetLangs      []string                          `json:"targetLangs,omitempty"`
	Note             string                            `json:"note,omitempty"`
	Owner            *UserReference                    `json:"owner,omitempty"`
	Client           *ClientReference                  `json:"client,omitempty"`
	Domain           *DomainReference                  `json:"domain,omitempty"`
	SubDomain        *SubDomainReference               `json:"subDomain,omitempty"`
	CreatedBy        *UserReference                    `json:"createdBy,omitempty"`
	DateCreated      time.Time                         `json:"dateCreated,omitempty"`
	WorkflowSteps    []WorkflowStepDto                 `json:"workflowSteps,omitempty"`
	WorkflowSettings []WorkflowStepSettingsDto         `json:"workflowSettings,omitempty"`
	BusinessUnit     *BusinessUnitReference            `json:"businessUnit,omitempty"`
	NotifyProviders  *ProjectTemplateNotifyProviderDto `json:"notifyProviders,omitempty"`
	AssignedTo       []AssignmentPerTargetLangDto      `json:"assignedTo,omitempty"`
}

type ProjectTemplateEditDto ¶

type ProjectTemplateEditDto struct {
	Name         string   `json:"name,omitempty"`
	TemplateName string   `json:"templateName"`
	SourceLang   string   `json:"sourceLang,omitempty"`
	TargetLangs  []string `json:"targetLangs,omitempty"`
	// use to notify assigned providers,         notificationIntervalInMinutes 0 or empty value means immediate notification to all providers
	NotifyProvider   *ProjectTemplateNotifyProviderDto `json:"notifyProvider,omitempty"`
	WorkFlowSettings []WorkflowStepSettingsEditDto     `json:"workFlowSettings,omitempty"`
	Client           *IdReference                      `json:"client,omitempty"`
	CostCenter       *IdReference                      `json:"costCenter,omitempty"`
	BusinessUnit     *IdReference                      `json:"businessUnit,omitempty"`
	Domain           *IdReference                      `json:"domain,omitempty"`
	SubDomain        *IdReference                      `json:"subDomain,omitempty"`
	Note             string                            `json:"note,omitempty"`
	// only use for projects without workflows; otherwise specify in the workflowSettings object
	AssignedTo []ProjectTemplateWorkflowSettingsAssignedToDto `json:"assignedTo,omitempty"`
}

type ProjectTemplateNotifyProviderDto ¶

type ProjectTemplateNotifyProviderDto struct {
	OrganizationEmailTemplate     *IdReference `json:"organizationEmailTemplate"`
	NotificationIntervalInMinutes int32        `json:"notificationIntervalInMinutes,omitempty"`
}

type ProjectTemplateReference ¶

type ProjectTemplateReference struct {
	TemplateName string                 `json:"templateName,omitempty"`
	SourceLang   string                 `json:"sourceLang,omitempty"`
	TargetLangs  []string               `json:"targetLangs,omitempty"`
	Id           string                 `json:"id,omitempty"`
	Owner        *UserReference         `json:"owner,omitempty"`
	Domain       *DomainReference       `json:"domain,omitempty"`
	SubDomain    *SubDomainReference    `json:"subDomain,omitempty"`
	CostCenter   *CostCenterReference   `json:"costCenter,omitempty"`
	BusinessUnit *BusinessUnitReference `json:"businessUnit,omitempty"`
	Note         string                 `json:"note,omitempty"`
	Client       *ClientReference       `json:"client,omitempty"`
}

type ProjectTemplateTermBaseDto ¶

type ProjectTemplateTermBaseDto struct {
	TargetLocale     string                 `json:"targetLocale,omitempty"`
	WorkflowStep     *WorkflowStepReference `json:"workflowStep,omitempty"`
	ReadMode         bool                   `json:"readMode,omitempty"`
	WriteMode        bool                   `json:"writeMode,omitempty"`
	TermBase         *TermBaseDto           `json:"termBase,omitempty"`
	QualityAssurance bool                   `json:"qualityAssurance,omitempty"`
}

type ProjectTemplateTermBaseListDto ¶

type ProjectTemplateTermBaseListDto struct {
	TermBases []ProjectTemplateTermBaseDto `json:"termBases,omitempty"`
}

type ProjectTemplateTransMemoryDto ¶

type ProjectTemplateTransMemoryDto struct {
	TargetLocale          string                 `json:"targetLocale,omitempty"`
	WorkflowStep          *WorkflowStepReference `json:"workflowStep,omitempty"`
	ReadMode              bool                   `json:"readMode,omitempty"`
	WriteMode             bool                   `json:"writeMode,omitempty"`
	TransMemory           *TransMemoryDto        `json:"transMemory,omitempty"`
	Penalty               float64                `json:"penalty,omitempty"`
	ApplyPenaltyTo101Only bool                   `json:"applyPenaltyTo101Only,omitempty"`
}

type ProjectTemplateTransMemoryListDto ¶

type ProjectTemplateTransMemoryListDto struct {
	TransMemories []ProjectTemplateTransMemoryDto `json:"transMemories,omitempty"`
}

type ProjectTemplateWorkflowSettingsAssignedToDto ¶

type ProjectTemplateWorkflowSettingsAssignedToDto struct {
	TargetLang string              `json:"targetLang,omitempty"`
	Providers  []ProviderReference `json:"providers,omitempty"`
}

type ProjectTermBaseDto ¶

type ProjectTermBaseDto struct {
	TargetLocale     string                 `json:"targetLocale,omitempty"`
	WorkflowStep     *WorkflowStepReference `json:"workflowStep,omitempty"`
	ReadMode         bool                   `json:"readMode,omitempty"`
	WriteMode        bool                   `json:"writeMode,omitempty"`
	TermBase         *TermBaseDto           `json:"termBase,omitempty"`
	QualityAssurance bool                   `json:"qualityAssurance,omitempty"`
}

type ProjectTermBaseListDto ¶

type ProjectTermBaseListDto struct {
	TermBases []ProjectTermBaseDto `json:"termBases,omitempty"`
}

type ProjectTermBaseReference ¶

type ProjectTermBaseReference struct {
	Id           string       `json:"id,omitempty"`
	TermBase     *IdReference `json:"termBase,omitempty"`
	Name         string       `json:"name,omitempty"`
	WriteMode    bool         `json:"writeMode,omitempty"`
	TargetLang   string       `json:"targetLang,omitempty"`
	ReadMode     bool         `json:"readMode,omitempty"`
	WorkflowStep *IdReference `json:"workflowStep,omitempty"`
}

type ProjectTransMemoryDto ¶

type ProjectTransMemoryDto struct {
	TargetLocale          string                 `json:"targetLocale,omitempty"`
	WorkflowStep          *WorkflowStepReference `json:"workflowStep,omitempty"`
	ReadMode              bool                   `json:"readMode,omitempty"`
	WriteMode             bool                   `json:"writeMode,omitempty"`
	TransMemory           *TransMemoryDto        `json:"transMemory,omitempty"`
	Penalty               float64                `json:"penalty,omitempty"`
	ApplyPenaltyTo101Only bool                   `json:"applyPenaltyTo101Only,omitempty"`
}

type ProjectTransMemoryDtoV2 ¶

type ProjectTransMemoryDtoV2 struct {
	TargetLocale          string                 `json:"targetLocale,omitempty"`
	WorkflowStep          *WorkflowStepReference `json:"workflowStep,omitempty"`
	ReadMode              bool                   `json:"readMode,omitempty"`
	WriteMode             bool                   `json:"writeMode,omitempty"`
	TransMemory           *TransMemoryDtoV2      `json:"transMemory,omitempty"`
	Penalty               float64                `json:"penalty,omitempty"`
	ApplyPenaltyTo101Only bool                   `json:"applyPenaltyTo101Only,omitempty"`
}

type ProjectTransMemoryListDto ¶

type ProjectTransMemoryListDto struct {
	TransMemories []ProjectTransMemoryDto `json:"transMemories,omitempty"`
}

type ProjectTransMemoryListDtoV2 ¶

type ProjectTransMemoryListDtoV2 struct {
	TransMemories []ProjectTransMemoryDtoV2 `json:"transMemories,omitempty"`
}

type ProjectTranslationMemoryReference ¶

type ProjectTranslationMemoryReference struct {
	Id           string       `json:"id,omitempty"`
	TransMem     *IdReference `json:"transMem,omitempty"`
	Name         string       `json:"name,omitempty"`
	WorkflowStep *IdReference `json:"workflowStep,omitempty"`
	TargetLang   string       `json:"targetLang,omitempty"`
	Penalty      float64      `json:"penalty,omitempty"`
	ReadMode     bool         `json:"readMode,omitempty"`
}

type ProjectWorkflowStepDto ¶

type ProjectWorkflowStepDto struct {
	Id            int32        `json:"id,omitempty"`
	Abbreviation  string       `json:"abbreviation,omitempty"`
	Name          string       `json:"name,omitempty"`
	WorkflowLevel int32        `json:"workflowLevel,omitempty"`
	WorkflowStep  *IdReference `json:"workflowStep,omitempty"`
}

type ProjectWorkflowStepDtoV2 ¶

type ProjectWorkflowStepDtoV2 struct {
	Id            int32        `json:"id,omitempty"`
	Abbreviation  string       `json:"abbreviation,omitempty"`
	Name          string       `json:"name,omitempty"`
	WorkflowLevel int32        `json:"workflowLevel,omitempty"`
	WorkflowStep  *IdReference `json:"workflowStep,omitempty"`
}

type ProjectWorkflowStepListDto ¶

type ProjectWorkflowStepListDto struct {
	ProjectWorkflowSteps []ProjectWorkflowStepDto `json:"projectWorkflowSteps,omitempty"`
}

type ProjectWorkflowStepReference ¶

type ProjectWorkflowStepReference struct {
	Name          string `json:"name,omitempty"`
	Id            string `json:"id,omitempty"`
	Order         int32  `json:"order,omitempty"`
	WorkflowLevel int32  `json:"workflowLevel,omitempty"`
}

type PropertiesSettingsDto ¶

type PropertiesSettingsDto struct {
	TagRegexp string `json:"tagRegexp,omitempty"`
}

type ProviderApiGetProjectAssignmentsOpts ¶

type ProviderApiGetProjectAssignmentsOpts struct {
	ProviderName optional.String
	PageNumber   optional.Int32
	PageSize     optional.Int32
}

type ProviderApiService ¶

type ProviderApiService service

func (*ProviderApiService) GetProjectAssignments ¶

func (a *ProviderApiService) GetProjectAssignments(ctx context.Context, projectUid string, localVarOptionals *ProviderApiGetProjectAssignmentsOpts) (PageDtoProviderReference, *http.Response, error)

func (*ProviderApiService) ListProviders ¶

func (a *ProviderApiService) ListProviders(ctx context.Context, projectUid string) (ProviderListDto, *http.Response, error)

ProviderApiService Get suggested providers

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return ProviderListDto

func (*ProviderApiService) ListProviders1 ¶

func (a *ProviderApiService) ListProviders1(ctx context.Context, projectUid string, jobUid string) (ProviderListDto, *http.Response, error)

ProviderApiService Get suggested providers

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid
  • @param jobUid

@return ProviderListDto

type ProviderListDto ¶

type ProviderListDto struct {
	Providers *Providers `json:"providers,omitempty"`
}

type ProviderReference ¶

type ProviderReference struct {
	Type_ string `json:"type"`
	Id    string `json:"id,omitempty"`
}

type Providers ¶

type Providers struct {
	All        []ProviderReference `json:"all,omitempty"`
	Discovered []ProviderReference `json:"discovered,omitempty"`
	Relevant   []ProviderReference `json:"relevant,omitempty"`
}

type PsdSettingsDto ¶

type PsdSettingsDto struct {
	// Default: true
	ExtractHiddenLayers bool `json:"extractHiddenLayers,omitempty"`
	// Default: true
	ExtractLockedLayers bool `json:"extractLockedLayers,omitempty"`
}

type PseudoTranslateActionDto ¶

type PseudoTranslateActionDto struct {
	Replacement string  `json:"replacement,omitempty"`
	Prefix      string  `json:"prefix,omitempty"`
	Suffix      string  `json:"suffix,omitempty"`
	Length      float64 `json:"length,omitempty"`
}

type QaCheckDtoV2 ¶

type QaCheckDtoV2 struct {
	Type_ string `json:"type"`
	Name  string `json:"name"`
}

type QaSettingsDto ¶

type QaSettingsDto struct {
	EmptyTranslation               bool                    `json:"emptyTranslation,omitempty"`
	InconsistentTranslation        bool                    `json:"inconsistentTranslation,omitempty"`
	JoinTags                       bool                    `json:"joinTags,omitempty"`
	MissingNumbers                 bool                    `json:"missingNumbers,omitempty"`
	SegmentNotConfirmed            bool                    `json:"segmentNotConfirmed,omitempty"`
	Terminology                    bool                    `json:"terminology,omitempty"`
	MultipleSpaces                 bool                    `json:"multipleSpaces,omitempty"`
	TrailingSpace                  bool                    `json:"trailingSpace,omitempty"`
	TrailingPunctuation            bool                    `json:"trailingPunctuation,omitempty"`
	TargetLength                   *TargetLengthDto        `json:"targetLength,omitempty"`
	Formatting                     bool                    `json:"formatting,omitempty"`
	UnresolvedComment              bool                    `json:"unresolvedComment,omitempty"`
	EmptyPairTags                  bool                    `json:"emptyPairTags,omitempty"`
	StrictJobStatus                bool                    `json:"strictJobStatus,omitempty"`
	ForbiddenStrings               *ForbiddenStringsDto    `json:"forbiddenStrings,omitempty"`
	ExcludeLockedSegments          bool                    `json:"excludeLockedSegments,omitempty"`
	IgnoreNotApprovedTerms         bool                    `json:"ignoreNotApprovedTerms,omitempty"`
	SpellCheck                     bool                    `json:"spellCheck,omitempty"`
	RepeatedWords                  bool                    `json:"repeatedWords,omitempty"`
	InconsistentTagContent         bool                    `json:"inconsistentTagContent,omitempty"`
	EmptyTagContent                bool                    `json:"emptyTagContent,omitempty"`
	XliffTags                      bool                    `json:"xliffTags,omitempty"`
	NestedTags                     bool                    `json:"nestedTags,omitempty"`
	ForbiddenTerms                 bool                    `json:"forbiddenTerms,omitempty"`
	TargetLengthPercent            *TargetLengthPercentDto `json:"targetLengthPercent,omitempty"`
	TargetLengthPerSegment         bool                    `json:"targetLengthPerSegment,omitempty"`
	NewerAtPrecedingWorkflowStep   bool                    `json:"newerAtPrecedingWorkflowStep,omitempty"`
	LeadingAndTrailingSpaces       bool                    `json:"leadingAndTrailingSpaces,omitempty"`
	IgnoreInAllWorkflowSteps       bool                    `json:"ignoreInAllWorkflowSteps,omitempty"`
	UnmodifiedFuzzyTranslation     bool                    `json:"unmodifiedFuzzyTranslation,omitempty"`
	UnmodifiedFuzzyTranslationTM   bool                    `json:"unmodifiedFuzzyTranslationTM,omitempty"`
	UnmodifiedFuzzyTranslationMTNT bool                    `json:"unmodifiedFuzzyTranslationMTNT,omitempty"`
	Regexp                         *RegexpCheckDto         `json:"regexp,omitempty"`
	ExtraNumbers                   bool                    `json:"extraNumbers,omitempty"`
	TargetSourceIdentical          bool                    `json:"targetSourceIdentical,omitempty"`
	Moravia                        *MoraviaQaDto           `json:"moravia,omitempty"`
}

type QaSettingsDtoV2 ¶

type QaSettingsDtoV2 struct {
	Checks []QaCheckDtoV2 `json:"checks,omitempty"`
}

type QualityAssuranceApiAddIgnoredWarningsOpts ¶

type QualityAssuranceApiAddIgnoredWarningsOpts struct {
	Body optional.Interface
}

type QualityAssuranceApiDeleteIgnoredWarningsOpts ¶

type QualityAssuranceApiDeleteIgnoredWarningsOpts struct {
	Body optional.Interface
}

type QualityAssuranceApiRunQaForJobPartOpts ¶

type QualityAssuranceApiRunQaForJobPartOpts struct {
	Body optional.Interface
}

type QualityAssuranceApiRunQaForJobPartV2Opts ¶

type QualityAssuranceApiRunQaForJobPartV2Opts struct {
	Body optional.Interface
}

type QualityAssuranceApiRunQaForJobPartV3Opts ¶

type QualityAssuranceApiRunQaForJobPartV3Opts struct {
	Body optional.Interface
}

type QualityAssuranceApiRunQaForJobPartsOpts ¶

type QualityAssuranceApiRunQaForJobPartsOpts struct {
	Body optional.Interface
}

type QualityAssuranceApiRunQaForJobPartsV2Opts ¶

type QualityAssuranceApiRunQaForJobPartsV2Opts struct {
	Body optional.Interface
}

type QualityAssuranceApiRunQaForJobPartsV3Opts ¶

type QualityAssuranceApiRunQaForJobPartsV3Opts struct {
	Body optional.Interface
}

type QualityAssuranceApiRunQaForSegmentsOpts ¶

type QualityAssuranceApiRunQaForSegmentsOpts struct {
	Body optional.Interface
}

type QualityAssuranceApiRunQaForSegmentsV3Opts ¶

type QualityAssuranceApiRunQaForSegmentsV3Opts struct {
	Body optional.Interface
}

type QualityAssuranceApiService ¶

type QualityAssuranceApiService service

func (*QualityAssuranceApiService) AddIgnoredWarnings ¶

func (a *QualityAssuranceApiService) AddIgnoredWarnings(ctx context.Context, projectUid string, jobUid string, localVarOptionals *QualityAssuranceApiAddIgnoredWarningsOpts) (UpdateIgnoredWarningsDto, *http.Response, error)

func (*QualityAssuranceApiService) DeleteIgnoredWarnings ¶

func (a *QualityAssuranceApiService) DeleteIgnoredWarnings(ctx context.Context, projectUid string, jobUid string, localVarOptionals *QualityAssuranceApiDeleteIgnoredWarningsOpts) (*http.Response, error)

func (*QualityAssuranceApiService) EnabledQualityChecksForJob ¶

func (a *QualityAssuranceApiService) EnabledQualityChecksForJob(ctx context.Context, projectUid string) (QualityAssuranceChecksDto, *http.Response, error)

QualityAssuranceApiService Get QA settings Returns enabled quality assurance checks and settings.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid

@return QualityAssuranceChecksDto

func (*QualityAssuranceApiService) EnabledQualityChecksForJob1 ¶

func (a *QualityAssuranceApiService) EnabledQualityChecksForJob1(ctx context.Context, projectUid string, jobUid string) (QualityAssuranceChecksDto, *http.Response, error)

QualityAssuranceApiService Get QA settings for job Returns enabled quality assurance checks and settings for job.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid
  • @param jobUid

@return QualityAssuranceChecksDto

func (*QualityAssuranceApiService) RunQaForJobPart ¶

func (*QualityAssuranceApiService) RunQaForJobPartV2 ¶

func (a *QualityAssuranceApiService) RunQaForJobPartV2(ctx context.Context, projectUid string, jobUid string, localVarOptionals *QualityAssuranceApiRunQaForJobPartV2Opts) (QualityAssuranceResponse, *http.Response, error)

func (*QualityAssuranceApiService) RunQaForJobPartV3 ¶

func (*QualityAssuranceApiService) RunQaForJobParts ¶

func (*QualityAssuranceApiService) RunQaForJobPartsV2 ¶

func (*QualityAssuranceApiService) RunQaForJobPartsV3 ¶

func (*QualityAssuranceApiService) RunQaForSegments ¶

func (*QualityAssuranceApiService) RunQaForSegmentsV3 ¶

func (*QualityAssuranceApiService) UpdateIgnoredChecks ¶

func (a *QualityAssuranceApiService) UpdateIgnoredChecks(ctx context.Context, projectUid string, jobUid string, localVarOptionals *QualityAssuranceApiUpdateIgnoredChecksOpts) (*http.Response, error)

type QualityAssuranceApiUpdateIgnoredChecksOpts ¶

type QualityAssuranceApiUpdateIgnoredChecksOpts struct {
	Body optional.Interface
}

type QualityAssuranceBatchRunDto ¶

type QualityAssuranceBatchRunDto struct {
	Jobs     []UidReference          `json:"jobs"`
	Settings *QualityAssuranceRunDto `json:"settings,omitempty"`
}

type QualityAssuranceBatchRunDtoV2 ¶

type QualityAssuranceBatchRunDtoV2 struct {
	Jobs     []UidReference            `json:"jobs"`
	Settings *QualityAssuranceRunDtoV2 `json:"settings,omitempty"`
	// Maximum number of QA warnings in result, default: 100. For efficiency reasons QA warnings are processed with minimum segments chunk size 10, therefore slightly more warnings are returned.
	MaxQaWarningsCount int32 `json:"maxQaWarningsCount,omitempty"`
}

type QualityAssuranceBatchRunDtoV3 ¶

type QualityAssuranceBatchRunDtoV3 struct {
	Jobs     []UidReference            `json:"jobs"`
	Settings *QualityAssuranceRunDtoV3 `json:"settings,omitempty"`
	// Maximum number of QA warnings in result, default: 100. For efficiency reasons QA warnings are processed with minimum segments chunk size 10, therefore slightly more warnings are returned.
	MaxQaWarningsCount int32 `json:"maxQaWarningsCount,omitempty"`
}

type QualityAssuranceChecksDto ¶

type QualityAssuranceChecksDto struct {
	ForbiddenStrings []string `json:"forbiddenStrings,omitempty"`
	// enabledChecks
	EnabledChecks         []EnabledCheckDto      `json:"enabledChecks,omitempty"`
	ExcludeLockedSegments bool                   `json:"excludeLockedSegments,omitempty"`
	UserCanSetInstantQA   bool                   `json:"userCanSetInstantQA,omitempty"`
	RegexpRules           []RegexpCheckRuleDtoV2 `json:"regexpRules,omitempty"`
}

type QualityAssuranceDto ¶

type QualityAssuranceDto struct {
	SegmentsCount        int64 `json:"segmentsCount,omitempty"`
	WarningsCount        int64 `json:"warningsCount,omitempty"`
	IgnoredWarningsCount int64 `json:"ignoredWarningsCount,omitempty"`
}

type QualityAssuranceResponse ¶

type QualityAssuranceResponse struct {
	SegmentWarnings []SegmentWarnings `json:"segmentWarnings,omitempty"`
	Finished        bool              `json:"finished,omitempty"`
}

type QualityAssuranceResponseDto ¶

type QualityAssuranceResponseDto struct {
	SegmentWarnings []SegmentWarningsDto `json:"segmentWarnings,omitempty"`
	Finished        bool                 `json:"finished,omitempty"`
}

type QualityAssuranceRunDto ¶

type QualityAssuranceRunDto struct {
	InitialSegment *SegmentReference `json:"initialSegment,omitempty"`
	WarningTypes   []string          `json:"warningTypes,omitempty"`
}

type QualityAssuranceRunDtoV2 ¶

type QualityAssuranceRunDtoV2 struct {
	InitialSegment *SegmentReference `json:"initialSegment,omitempty"`
	// Maximum number of QA warnings in result, default: 100. For efficiency reasons QA warnings are processed with minimum segments chunk size 10, therefore slightly more warnings are returned.
	MaxQaWarningsCount int32    `json:"maxQaWarningsCount,omitempty"`
	WarningTypes       []string `json:"warningTypes,omitempty"`
}

type QualityAssuranceRunDtoV3 ¶

type QualityAssuranceRunDtoV3 struct {
	InitialSegment *SegmentReference `json:"initialSegment,omitempty"`
	// Maximum number of QA warnings in result, default: 100. For efficiency reasons QA warnings are processed with minimum segments chunk size 10, therefore slightly more warnings are returned.
	MaxQaWarningsCount int32    `json:"maxQaWarningsCount,omitempty"`
	WarningTypes       []string `json:"warningTypes,omitempty"`
}

type QualityAssuranceSegmentsRunDto ¶

type QualityAssuranceSegmentsRunDto struct {
	JobsAndSegments []JobPartSegmentsDto `json:"jobsAndSegments"`
	WarningTypes    []string             `json:"warningTypes,omitempty"`
	// Maximum number of QA warnings in result, default: 100. For efficiency reasons QA warnings are processed with minimum segments chunk size 10, therefore slightly more warnings are returned.
	MaxQaWarningsCount int32 `json:"maxQaWarningsCount,omitempty"`
}

type QualityAssuranceSegmentsRunDtoV3 ¶

type QualityAssuranceSegmentsRunDtoV3 struct {
	JobsAndSegments []JobPartSegmentsDtoV3 `json:"jobsAndSegments"`
	// When empty only fast checks run
	WarningTypes []string `json:"warningTypes,omitempty"`
	// Maximum number of QA warnings in result, default: 100. For efficiency reasons QA warnings are processed with minimum segments chunk size 10, therefore slightly more warnings are returned.
	MaxQaWarningsCount int32 `json:"maxQaWarningsCount,omitempty"`
}

type QuarkTagSettingsDto ¶

type QuarkTagSettingsDto struct {
	// Default: false
	RemoveKerningTrackingTags bool `json:"removeKerningTrackingTags,omitempty"`
}

type Query ¶

type Query struct {
	Query string `json:"query,omitempty"`
	Lang  string `json:"lang,omitempty"`
}

type QuoteApiCreateQuoteOpts ¶

type QuoteApiCreateQuoteOpts struct {
	Body optional.Interface
}

type QuoteApiCreateQuoteV2Opts ¶

type QuoteApiCreateQuoteV2Opts struct {
	Body optional.Interface
}

type QuoteApiService ¶

type QuoteApiService service

func (*QuoteApiService) CreateQuote ¶

func (a *QuoteApiService) CreateQuote(ctx context.Context, localVarOptionals *QuoteApiCreateQuoteOpts) (QuoteDto, *http.Response, error)

func (*QuoteApiService) CreateQuoteV2 ¶

func (a *QuoteApiService) CreateQuoteV2(ctx context.Context, localVarOptionals *QuoteApiCreateQuoteV2Opts) (QuoteV2Dto, *http.Response, error)

func (*QuoteApiService) DeleteQuote ¶

func (a *QuoteApiService) DeleteQuote(ctx context.Context, quoteId int64) (*http.Response, error)

QuoteApiService Delete quote

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param quoteId

func (*QuoteApiService) Get1 ¶

func (a *QuoteApiService) Get1(ctx context.Context, quoteId int64) (QuoteDto, *http.Response, error)

QuoteApiService Get quote

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param quoteId

@return QuoteDto

type QuoteCreateDto ¶

type QuoteCreateDto struct {
	Name             string             `json:"name"`
	Project          *UidReference      `json:"project"`
	Analyse          *IdReference       `json:"analyse"`
	PriceList        *IdReference       `json:"priceList"`
	NetRateScheme    *IdReference       `json:"netRateScheme,omitempty"`
	WorkflowStepList []IdReference      `json:"workflowStepList,omitempty"`
	Provider         *ProviderReference `json:"provider,omitempty"`
}

type QuoteCreateV2Dto ¶

type QuoteCreateV2Dto struct {
	Name             string                    `json:"name"`
	Project          *UidReference             `json:"project"`
	Analyse          *IdReference              `json:"analyse"`
	PriceList        *IdReference              `json:"priceList"`
	NetRateScheme    *IdReference              `json:"netRateScheme,omitempty"`
	Provider         *ProviderReference        `json:"provider,omitempty"`
	WorkflowSettings []QuoteWorkflowSettingDto `json:"workflowSettings,omitempty"`
	Units            []QuoteUnitsDto           `json:"units,omitempty"`
}

type QuoteDto ¶

type QuoteDto struct {
	Id               int64                   `json:"id,omitempty"`
	Name             string                  `json:"name,omitempty"`
	Status           string                  `json:"status,omitempty"`
	Currency         string                  `json:"currency,omitempty"`
	BillingUnit      string                  `json:"billingUnit,omitempty"`
	CreatedBy        *UserReference          `json:"createdBy,omitempty"`
	DateCreated      time.Time               `json:"dateCreated,omitempty"`
	TotalPrice       float64                 `json:"totalPrice,omitempty"`
	NetRateScheme    *NetRateSchemeReference `json:"netRateScheme,omitempty"`
	PriceList        *PriceListReference     `json:"priceList,omitempty"`
	WorkflowStepList []WorkflowStepReference `json:"workflowStepList,omitempty"`
	Provider         *ProviderReference      `json:"provider,omitempty"`
	CustomerEmail    string                  `json:"customerEmail,omitempty"`
	QuoteType        string                  `json:"quoteType,omitempty"`
}

type QuoteUnitsDto ¶

type QuoteUnitsDto struct {
	AnalyseLanguagePart *IdReference `json:"analyseLanguagePart"`
	Value               float64      `json:"value,omitempty"`
}

type QuoteV2Dto ¶

type QuoteV2Dto struct {
	Id               int64                   `json:"id,omitempty"`
	Name             string                  `json:"name,omitempty"`
	Status           string                  `json:"status,omitempty"`
	Currency         string                  `json:"currency,omitempty"`
	BillingUnit      string                  `json:"billingUnit,omitempty"`
	CreatedBy        *UserReference          `json:"createdBy,omitempty"`
	DateCreated      time.Time               `json:"dateCreated,omitempty"`
	TotalPrice       float64                 `json:"totalPrice,omitempty"`
	NetRateScheme    *NetRateSchemeReference `json:"netRateScheme,omitempty"`
	PriceList        *PriceListReference     `json:"priceList,omitempty"`
	WorkflowStepList []WorkflowStepReference `json:"workflowStepList,omitempty"`
	Provider         *ProviderReference      `json:"provider,omitempty"`
	CustomerEmail    string                  `json:"customerEmail,omitempty"`
	QuoteType        string                  `json:"quoteType,omitempty"`
}

type QuoteWorkflowSettingDto ¶

type QuoteWorkflowSettingDto struct {
	WorkflowStep *IdReference    `json:"workflowStep"`
	Units        []QuoteUnitsDto `json:"units,omitempty"`
}

type ReferenceFileReference ¶

type ReferenceFileReference struct {
	Id       string `json:"id,omitempty"`
	Filename string `json:"filename,omitempty"`
	Note     string `json:"note,omitempty"`
}

type Regex ¶

type Regex struct {
	Type_ string                 `json:"type"`
	Name  string                 `json:"name"`
	Rules []RegexpCheckRuleDtoV2 `json:"rules,omitempty"`
}

type RegexpCheckDto ¶

type RegexpCheckDto struct {
	Rules []RegexpCheckRuleDto `json:"rules,omitempty"`
}

type RegexpCheckRuleDto ¶

type RegexpCheckRuleDto struct {
	Description  string `json:"description,omitempty"`
	SourceRegexp string `json:"sourceRegexp,omitempty"`
	TargetRegexp string `json:"targetRegexp,omitempty"`
}

type RegexpCheckRuleDtoV2 ¶

type RegexpCheckRuleDtoV2 struct {
	Description  string `json:"description,omitempty"`
	SourceRegexp string `json:"sourceRegexp,omitempty"`
	TargetRegexp string `json:"targetRegexp,omitempty"`
	Id           string `json:"id,omitempty"`
	Ignorable    bool   `json:"ignorable,omitempty"`
	Instant      bool   `json:"instant,omitempty"`
}

type RelativeTranslationLengthWarningDto ¶

type RelativeTranslationLengthWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
	Limit             string `json:"limit,omitempty"`
}

type RemoteUploadedFileDto ¶

type RemoteUploadedFileDto struct {
	Uid   string `json:"uid,omitempty"`
	Name  string `json:"name,omitempty"`
	Size  int64  `json:"size,omitempty"`
	Type_ string `json:"type,omitempty"`
	Url   string `json:"url,omitempty"`
}

type RepeatedWordsWarningDto ¶

type RepeatedWordsWarningDto struct {
	Id                string   `json:"id,omitempty"`
	Ignored           bool     `json:"ignored,omitempty"`
	Type_             string   `json:"type,omitempty"`
	RepetitionGroupId string   `json:"repetitionGroupId,omitempty"`
	RepeatedWords     []string `json:"repeatedWords,omitempty"`
}

type Response ¶

type Response struct {
	Context   map[string]interface{} `json:"context,omitempty"`
	Done      bool                   `json:"done,omitempty"`
	Cancelled bool                   `json:"cancelled,omitempty"`
}

type ResxSettingsDto ¶

type ResxSettingsDto struct {
	TagRegexp string `json:"tagRegexp,omitempty"`
}

type SCIMApiCreateUserSCIMOpts ¶

type SCIMApiCreateUserSCIMOpts struct {
	Body          optional.Interface
	Authorization optional.String
}

type SCIMApiDeleteUserOpts ¶

type SCIMApiDeleteUserOpts struct {
	Authorization optional.String
}

type SCIMApiEditUserOpts ¶

type SCIMApiEditUserOpts struct {
	Body          optional.Interface
	Authorization optional.String
}

type SCIMApiGetScimUserOpts ¶

type SCIMApiGetScimUserOpts struct {
	Authorization optional.String
}

type SCIMApiPatchUserOpts ¶

type SCIMApiPatchUserOpts struct {
	Body          optional.Interface
	Authorization optional.String
}

type SCIMApiSearchUsersOpts ¶

type SCIMApiSearchUsersOpts struct {
	Authorization optional.String
	Filter        optional.String
	Attributes    optional.String
	SortBy        optional.String
	SortOrder     optional.String
	StartIndex    optional.Int32
	Count         optional.Int32
}

type SCIMApiService ¶

type SCIMApiService service

func (*SCIMApiService) CreateUserSCIM ¶

func (a *SCIMApiService) CreateUserSCIM(ctx context.Context, localVarOptionals *SCIMApiCreateUserSCIMOpts) (ScimUserCoreDto, *http.Response, error)

func (*SCIMApiService) DeleteUser ¶

func (a *SCIMApiService) DeleteUser(ctx context.Context, userId int64, localVarOptionals *SCIMApiDeleteUserOpts) (*http.Response, error)

func (*SCIMApiService) EditUser ¶

func (a *SCIMApiService) EditUser(ctx context.Context, userId int64, localVarOptionals *SCIMApiEditUserOpts) (ScimUserCoreDto, *http.Response, error)

func (*SCIMApiService) GetResourceTypes ¶

func (a *SCIMApiService) GetResourceTypes(ctx context.Context) (ScimResourceTypeSchema, *http.Response, error)

SCIMApiService List the types of SCIM Resources available

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ScimResourceTypeSchema

func (*SCIMApiService) GetSchemaByUrn ¶

func (a *SCIMApiService) GetSchemaByUrn(ctx context.Context, schemaUrn string) (ScimResourceSchema, *http.Response, error)

SCIMApiService Get supported SCIM Schema by urn

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param schemaUrn

@return ScimResourceSchema

func (*SCIMApiService) GetSchemas ¶

SCIMApiService Get supported SCIM Schemas

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ScimResourceSchema

func (*SCIMApiService) GetScimUser ¶

func (a *SCIMApiService) GetScimUser(ctx context.Context, userId int64, localVarOptionals *SCIMApiGetScimUserOpts) (ScimUserCoreDto, *http.Response, error)

func (*SCIMApiService) GetServiceProviderConfigDto ¶

func (a *SCIMApiService) GetServiceProviderConfigDto(ctx context.Context) (ServiceProviderConfigDto, *http.Response, error)

SCIMApiService Retrieve the Service Provider's Configuration

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ServiceProviderConfigDto

func (*SCIMApiService) PatchUser ¶

func (a *SCIMApiService) PatchUser(ctx context.Context, userId int64, localVarOptionals *SCIMApiPatchUserOpts) (ScimUserCoreDto, *http.Response, error)

func (*SCIMApiService) SearchUsers ¶

func (a *SCIMApiService) SearchUsers(ctx context.Context, localVarOptionals *SCIMApiSearchUsersOpts) (ScimResourceDto, *http.Response, error)

type SchemaExtension ¶

type SchemaExtension struct {
	Schema   string `json:"schema,omitempty"`
	Required bool   `json:"required,omitempty"`
}

type ScimMeta ¶

type ScimMeta struct {
	Created  time.Time `json:"created,omitempty"`
	Location string    `json:"location,omitempty"`
}

type ScimResourceDto ¶

type ScimResourceDto struct {
	TotalResults int32         `json:"totalResults,omitempty"`
	ItemsPerPage int32         `json:"itemsPerPage,omitempty"`
	StartIndex   int32         `json:"startIndex,omitempty"`
	Schemas      []string      `json:"schemas,omitempty"`
	Resources    []interface{} `json:"resources,omitempty"`
}

type ScimResourceSchema ¶

type ScimResourceSchema struct {
	Id          string      `json:"id,omitempty"`
	Name        string      `json:"name,omitempty"`
	Description string      `json:"description,omitempty"`
	Attributes  []Attribute `json:"attributes,omitempty"`
}

type ScimResourceTypeSchema ¶

type ScimResourceTypeSchema struct {
	Schemas          []string          `json:"schemas,omitempty"`
	Id               string            `json:"id,omitempty"`
	Name             string            `json:"name,omitempty"`
	Endpoint         string            `json:"endpoint,omitempty"`
	Description      string            `json:"description,omitempty"`
	Schema           string            `json:"schema,omitempty"`
	SchemaExtensions []SchemaExtension `json:"schemaExtensions,omitempty"`
}

type ScimUserCoreDto ¶

type ScimUserCoreDto struct {
	Id       string `json:"id,omitempty"`
	UserName string `json:"userName"`
	Name     *Name  `json:"name"`
	// Default: true
	Active bool      `json:"active,omitempty"`
	Emails []Email   `json:"emails"`
	Meta   *ScimMeta `json:"meta,omitempty"`
}

type SdlXlfSettingsDto ¶

type SdlXlfSettingsDto struct {
	// Default: translate=no
	SkipImportRules        string `json:"skipImportRules,omitempty"`
	ImportAsConfirmedRules string `json:"importAsConfirmedRules,omitempty"`
	// Default: locked=true
	ImportAsLockedRules string `json:"importAsLockedRules,omitempty"`
	// Default: locked=true
	ExportAttrsWhenConfirmedAndLocked    string `json:"exportAttrsWhenConfirmedAndLocked,omitempty"`
	ExportAttrsWhenConfirmedAndNotLocked string `json:"exportAttrsWhenConfirmedAndNotLocked,omitempty"`
	// Default: locked=true
	ExportAttrsWhenNotConfirmedAndLocked    string `json:"exportAttrsWhenNotConfirmedAndLocked,omitempty"`
	ExportAttrsWhenNotConfirmedAndNotLocked string `json:"exportAttrsWhenNotConfirmedAndNotLocked,omitempty"`
	// Default: true
	SaveConfirmedSegments bool `json:"saveConfirmedSegments,omitempty"`
}

type SearchInTextByJobRequestDto ¶

type SearchInTextByJobRequestDto struct {
	Text string `json:"text"`
	// Default: false
	Reverse             bool   `json:"reverse,omitempty"`
	ZeroLengthSeparator string `json:"zeroLengthSeparator,omitempty"`
}

type SearchInTextResponse2Dto ¶

type SearchInTextResponse2Dto struct {
	TermBase         *TermBaseReference `json:"termBase,omitempty"`
	SourceTerm       *TermV2Dto         `json:"sourceTerm,omitempty"`
	Concept          *ConceptDtov2      `json:"concept,omitempty"`
	TranslationTerms []TermV2Dto        `json:"translationTerms,omitempty"`
	SubTerm          bool               `json:"subTerm,omitempty"`
	Matches          []Match            `json:"matches,omitempty"`
}

type SearchInTextResponseDto ¶

type SearchInTextResponseDto struct {
	TermBase         *TermBaseDto `json:"termBase,omitempty"`
	ConceptId        string       `json:"conceptId,omitempty"`
	SourceTerm       *TermDto     `json:"sourceTerm,omitempty"`
	TranslationTerms []TermDto    `json:"translationTerms,omitempty"`
	SubTerm          bool         `json:"subTerm,omitempty"`
	Matches          []Match      `json:"matches,omitempty"`
}

type SearchInTextResponseList2Dto ¶

type SearchInTextResponseList2Dto struct {
	SearchResults []SearchInTextResponse2Dto `json:"searchResults,omitempty"`
}

type SearchInTextResponseListDto ¶

type SearchInTextResponseListDto struct {
	SearchResults []SearchInTextResponseDto `json:"searchResults,omitempty"`
}

type SearchJobsDto ¶

type SearchJobsDto struct {
	Jobs []JobPartExtendedDto `json:"jobs,omitempty"`
}

type SearchJobsRequestDto ¶

type SearchJobsRequestDto struct {
	// Max: 50 records
	Jobs []UidReference `json:"jobs"`
}

type SearchRequestDto ¶

type SearchRequestDto struct {
	Query           string           `json:"query"`
	SourceLang      string           `json:"sourceLang"`
	TargetLangs     []string         `json:"targetLangs,omitempty"`
	PreviousSegment string           `json:"previousSegment,omitempty"`
	NextSegment     string           `json:"nextSegment,omitempty"`
	TagMetadata     []TagMetadataDto `json:"tagMetadata,omitempty"`
	// Remove leading and trailing whitespace from query. Default: true
	TrimQuery bool `json:"trimQuery,omitempty"`
	// Return both wildcard and exact search results. Default: true
	PhraseQuery bool `json:"phraseQuery,omitempty"`
}

type SearchResponseListTbDto ¶

type SearchResponseListTbDto struct {
	SearchResults []SearchResponseTbDto `json:"searchResults,omitempty"`
}

type SearchResponseListTmDto ¶

type SearchResponseListTmDto struct {
	SearchResults []SearchTmResponseDto `json:"searchResults,omitempty"`
}

type SearchResponseListTmDtoV2 ¶

type SearchResponseListTmDtoV2 struct {
	SearchResults []SearchTmResponseDtoV2 `json:"searchResults,omitempty"`
}

type SearchResponseListTmDtoV3 ¶

type SearchResponseListTmDtoV3 struct {
	SearchResults []SearchTmResponseDtoV3 `json:"searchResults,omitempty"`
}

type SearchResponseTbDto ¶

type SearchResponseTbDto struct {
	TermBase         *TermBaseDto `json:"termBase,omitempty"`
	ConceptId        string       `json:"conceptId,omitempty"`
	SourceTerm       *TermDto     `json:"sourceTerm,omitempty"`
	TranslationTerms []TermDto    `json:"translationTerms,omitempty"`
}

type SearchTbByJobRequestDto ¶

type SearchTbByJobRequestDto struct {
	Query string `json:"query"`
	// Default: 15
	Count int32 `json:"count,omitempty"`
	// Default: 0
	Offset int32 `json:"offset,omitempty"`
	// Default: false
	Reverse bool `json:"reverse,omitempty"`
}

type SearchTbInTextByJobRequestDto ¶

type SearchTbInTextByJobRequestDto struct {
	Text string `json:"text"`
	// Default: false
	Reverse             bool   `json:"reverse,omitempty"`
	ZeroLengthSeparator string `json:"zeroLengthSeparator,omitempty"`
}

type SearchTbResponseDto ¶

type SearchTbResponseDto struct {
	TermBase         *TermBaseReference `json:"termBase,omitempty"`
	Concept          *ConceptDtov2      `json:"concept,omitempty"`
	SourceTerm       *TermV2Dto         `json:"sourceTerm,omitempty"`
	TranslationTerms []TermV2Dto        `json:"translationTerms,omitempty"`
}

type SearchTbResponseListDto ¶

type SearchTbResponseListDto struct {
	SearchResults []SearchTbResponseDto `json:"searchResults,omitempty"`
}

type SearchTmByJobRequestDto ¶

type SearchTmByJobRequestDto struct {
	Segment         string  `json:"segment"`
	WorkflowLevel   int32   `json:"workflowLevel,omitempty"`
	ScoreThreshold  float64 `json:"scoreThreshold,omitempty"`
	PreviousSegment string  `json:"previousSegment,omitempty"`
	NextSegment     string  `json:"nextSegment,omitempty"`
	ContextKey      string  `json:"contextKey,omitempty"`
	// Default: 5
	MaxSegments int32 `json:"maxSegments,omitempty"`
	// Default: 5
	MaxSubSegments int32            `json:"maxSubSegments,omitempty"`
	TagMetadata    []TagMetadataDto `json:"tagMetadata,omitempty"`
}

type SearchTmByJobRequestDtoV2 ¶

type SearchTmByJobRequestDtoV2 struct {
	Query string `json:"query"`
	// Default: 0
	WorkflowLevel int32 `json:"workflowLevel,omitempty"`
	// Default: false
	Reverse bool `json:"reverse,omitempty"`
	// Default: 0.0
	ScoreThreshold float64 `json:"scoreThreshold,omitempty"`
	// Default: 15
	MaxResults int32 `json:"maxResults,omitempty"`
}

type SearchTmByJobRequestDtoV3 ¶

type SearchTmByJobRequestDtoV3 struct {
	Query string `json:"query"`
	// Default: false
	Reverse bool `json:"reverse,omitempty"`
	// Default: 0.0
	ScoreThreshold float64 `json:"scoreThreshold,omitempty"`
	// Default: 15
	MaxResults int32 `json:"maxResults,omitempty"`
}

type SearchTmClientDto ¶

type SearchTmClientDto struct {
	Id   int64  `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type SearchTmClientDtoV2 ¶

type SearchTmClientDtoV2 struct {
	Id   int64  `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type SearchTmClientDtoV3 ¶

type SearchTmClientDtoV3 struct {
	Id   int64  `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type SearchTmDomainDto ¶

type SearchTmDomainDto struct {
	Id   int64  `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type SearchTmDomainDtoV2 ¶

type SearchTmDomainDtoV2 struct {
	Id   int64  `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type SearchTmDomainDtoV3 ¶

type SearchTmDomainDtoV3 struct {
	Id   int64  `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type SearchTmProjectDto ¶

type SearchTmProjectDto struct {
	Id   int64  `json:"id,omitempty"`
	Uid  string `json:"uid,omitempty"`
	Name string `json:"name,omitempty"`
}

type SearchTmProjectDtoV2 ¶

type SearchTmProjectDtoV2 struct {
	Id   int64  `json:"id,omitempty"`
	Uid  string `json:"uid,omitempty"`
	Name string `json:"name,omitempty"`
}

type SearchTmProjectDtoV3 ¶

type SearchTmProjectDtoV3 struct {
	Id   int64  `json:"id,omitempty"`
	Uid  string `json:"uid,omitempty"`
	Name string `json:"name,omitempty"`
}

type SearchTmRequestDto ¶

type SearchTmRequestDto struct {
	Segment         string  `json:"segment"`
	WorkflowLevel   int32   `json:"workflowLevel,omitempty"`
	ScoreThreshold  float64 `json:"scoreThreshold,omitempty"`
	PreviousSegment string  `json:"previousSegment,omitempty"`
	NextSegment     string  `json:"nextSegment,omitempty"`
	ContextKey      string  `json:"contextKey,omitempty"`
	// Default: 5
	MaxSegments int32 `json:"maxSegments,omitempty"`
	// Default: 5
	MaxSubSegments int32            `json:"maxSubSegments,omitempty"`
	TagMetadata    []TagMetadataDto `json:"tagMetadata,omitempty"`
	TargetLangs    []string         `json:"targetLangs"`
}

type SearchTmResponseDto ¶

type SearchTmResponseDto struct {
	SegmentId    string                  `json:"segmentId,omitempty"`
	Source       *SearchTmSegmentDto     `json:"source,omitempty"`
	Translations []SearchTmSegmentDto    `json:"translations,omitempty"`
	TransMemory  *SearchTmTransMemoryDto `json:"transMemory,omitempty"`
	GrossScore   float64                 `json:"grossScore,omitempty"`
	Score        float64                 `json:"score,omitempty"`
	SubSegment   bool                    `json:"subSegment,omitempty"`
}

type SearchTmResponseDtoV2 ¶

type SearchTmResponseDtoV2 struct {
	SegmentId    string                    `json:"segmentId,omitempty"`
	Source       *SearchTmSegmentDtoV2     `json:"source,omitempty"`
	Translations []SearchTmSegmentDtoV2    `json:"translations,omitempty"`
	TransMemory  *SearchTmTransMemoryDtoV2 `json:"transMemory,omitempty"`
	GrossScore   float64                   `json:"grossScore,omitempty"`
	Score        float64                   `json:"score,omitempty"`
	SubSegment   bool                      `json:"subSegment,omitempty"`
}

type SearchTmResponseDtoV3 ¶

type SearchTmResponseDtoV3 struct {
	SegmentId    string                    `json:"segmentId,omitempty"`
	Source       *SearchTmSegmentDtoV3     `json:"source,omitempty"`
	Translations []SearchTmSegmentDtoV3    `json:"translations,omitempty"`
	TransMemory  *SearchTmTransMemoryDtoV3 `json:"transMemory,omitempty"`
	GrossScore   float64                   `json:"grossScore,omitempty"`
	Score        float64                   `json:"score,omitempty"`
	SubSegment   bool                      `json:"subSegment,omitempty"`
}

type SearchTmSegmentDto ¶

type SearchTmSegmentDto struct {
	Id              string                `json:"id,omitempty"`
	Text            string                `json:"text,omitempty"`
	Lang            string                `json:"lang,omitempty"`
	Rtl             bool                  `json:"rtl,omitempty"`
	ModifiedAt      int64                 `json:"modifiedAt,omitempty"`
	CreatedAt       int64                 `json:"createdAt,omitempty"`
	ModifiedBy      *UserReference        `json:"modifiedBy,omitempty"`
	CreatedBy       *UserReference        `json:"createdBy,omitempty"`
	Filename        string                `json:"filename,omitempty"`
	Project         *SearchTmProjectDto   `json:"project,omitempty"`
	Client          *SearchTmClientDto    `json:"client,omitempty"`
	Domain          *SearchTmDomainDto    `json:"domain,omitempty"`
	SubDomain       *SearchTmSubDomainDto `json:"subDomain,omitempty"`
	TagMetadata     []TagMetadata         `json:"tagMetadata,omitempty"`
	PreviousSegment string                `json:"previousSegment,omitempty"`
	NextSegment     string                `json:"nextSegment,omitempty"`
	Key             string                `json:"key,omitempty"`
}

type SearchTmSegmentDtoV2 ¶

type SearchTmSegmentDtoV2 struct {
	Id              string                  `json:"id,omitempty"`
	Text            string                  `json:"text,omitempty"`
	Lang            string                  `json:"lang,omitempty"`
	Rtl             bool                    `json:"rtl,omitempty"`
	ModifiedAt      int64                   `json:"modifiedAt,omitempty"`
	CreatedAt       int64                   `json:"createdAt,omitempty"`
	ModifiedBy      *UserReference          `json:"modifiedBy,omitempty"`
	CreatedBy       *UserReference          `json:"createdBy,omitempty"`
	Filename        string                  `json:"filename,omitempty"`
	Project         *SearchTmProjectDtoV2   `json:"project,omitempty"`
	Client          *SearchTmClientDtoV2    `json:"client,omitempty"`
	Domain          *SearchTmDomainDtoV2    `json:"domain,omitempty"`
	SubDomain       *SearchTmSubDomainDtoV2 `json:"subDomain,omitempty"`
	TagMetadata     []TagMetadata           `json:"tagMetadata,omitempty"`
	PreviousSegment string                  `json:"previousSegment,omitempty"`
	NextSegment     string                  `json:"nextSegment,omitempty"`
	Key             string                  `json:"key,omitempty"`
}

type SearchTmSegmentDtoV3 ¶

type SearchTmSegmentDtoV3 struct {
	Id              string                  `json:"id,omitempty"`
	Text            string                  `json:"text,omitempty"`
	Lang            string                  `json:"lang,omitempty"`
	Rtl             bool                    `json:"rtl,omitempty"`
	ModifiedAt      int64                   `json:"modifiedAt,omitempty"`
	CreatedAt       int64                   `json:"createdAt,omitempty"`
	ModifiedBy      *UserReference          `json:"modifiedBy,omitempty"`
	CreatedBy       *UserReference          `json:"createdBy,omitempty"`
	Filename        string                  `json:"filename,omitempty"`
	Project         *SearchTmProjectDtoV3   `json:"project,omitempty"`
	Client          *SearchTmClientDtoV3    `json:"client,omitempty"`
	Domain          *SearchTmDomainDtoV3    `json:"domain,omitempty"`
	SubDomain       *SearchTmSubDomainDtoV3 `json:"subDomain,omitempty"`
	TagMetadata     []TagMetadata           `json:"tagMetadata,omitempty"`
	PreviousSegment string                  `json:"previousSegment,omitempty"`
	NextSegment     string                  `json:"nextSegment,omitempty"`
	Key             string                  `json:"key,omitempty"`
}

type SearchTmSubDomainDto ¶

type SearchTmSubDomainDto struct {
	Id   int64  `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type SearchTmSubDomainDtoV2 ¶

type SearchTmSubDomainDtoV2 struct {
	Id   int64  `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type SearchTmSubDomainDtoV3 ¶

type SearchTmSubDomainDtoV3 struct {
	Id   int64  `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type SearchTmTransMemoryDto ¶

type SearchTmTransMemoryDto struct {
	Id      string `json:"id,omitempty"`
	Name    string `json:"name,omitempty"`
	Reverse bool   `json:"reverse,omitempty"`
}

type SearchTmTransMemoryDtoV2 ¶

type SearchTmTransMemoryDtoV2 struct {
	Id      string `json:"id,omitempty"`
	Name    string `json:"name,omitempty"`
	Reverse bool   `json:"reverse,omitempty"`
}

type SearchTmTransMemoryDtoV3 ¶

type SearchTmTransMemoryDtoV3 struct {
	Id      string `json:"id,omitempty"`
	Name    string `json:"name,omitempty"`
	Reverse bool   `json:"reverse,omitempty"`
}

type SegRuleReference ¶

type SegRuleReference struct {
	Language string `json:"language,omitempty"`
	Name     string `json:"name,omitempty"`
	Filename string `json:"filename,omitempty"`
	Primary  bool   `json:"primary,omitempty"`
}

type SegmentApiGetSegmentsCountOpts ¶

type SegmentApiGetSegmentsCountOpts struct {
	Body optional.Interface
}

type SegmentApiListSegmentsOpts ¶

type SegmentApiListSegmentsOpts struct {
	BeginIndex optional.Int32
	EndIndex   optional.Int32
}

type SegmentApiService ¶

type SegmentApiService service

func (*SegmentApiService) GetSegmentsCount ¶

func (a *SegmentApiService) GetSegmentsCount(ctx context.Context, projectUid string, localVarOptionals *SegmentApiGetSegmentsCountOpts) (SegmentsCountsResponseListDto, *http.Response, error)

func (*SegmentApiService) ListSegments ¶

func (a *SegmentApiService) ListSegments(ctx context.Context, projectUid string, jobUid string, localVarOptionals *SegmentApiListSegmentsOpts) (SegmentListDto, *http.Response, error)

type SegmentDto ¶

type SegmentDto struct {
	TargetLang            string           `json:"targetLang"`
	SourceSegment         string           `json:"sourceSegment"`
	TargetSegment         string           `json:"targetSegment"`
	PreviousSourceSegment string           `json:"previousSourceSegment,omitempty"`
	NextSourceSegment     string           `json:"nextSourceSegment,omitempty"`
	SourceTagMetadata     []TagMetadataDto `json:"sourceTagMetadata,omitempty"`
	TargetTagMetadata     []TagMetadataDto `json:"targetTagMetadata,omitempty"`
}

type SegmentListDto ¶

type SegmentListDto struct {
	Segments []JobSegmentDto `json:"segments,omitempty"`
}

type SegmentReference ¶

type SegmentReference struct {
	Uid string `json:"uid,omitempty"`
}

type SegmentTarget ¶

type SegmentTarget struct {
	Id           string       `json:"id,omitempty"`
	DateCreated  time.Time    `json:"dateCreated,omitempty"`
	DateModified time.Time    `json:"dateModified,omitempty"`
	Comments     []CommentDto `json:"comments,omitempty"`
	Status       *StatusDto   `json:"status,omitempty"`
	Deleted      bool         `json:"deleted,omitempty"`
	// Field references differs based on the Conversation Type.
	Type_      string           `json:"type,omitempty"`
	References *PlainReferences `json:"references,omitempty"`
}

type SegmentWarning ¶

type SegmentWarning struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type SegmentWarnings ¶

type SegmentWarnings struct {
	SegmentId     string    `json:"segmentId,omitempty"`
	Warnings      []Warning `json:"warnings,omitempty"`
	IgnoredChecks []string  `json:"ignoredChecks,omitempty"`
}

type SegmentWarningsDto ¶

type SegmentWarningsDto struct {
	SegmentId     string           `json:"segmentId,omitempty"`
	Warnings      []SegmentWarning `json:"warnings,omitempty"`
	IgnoredChecks []string         `json:"ignoredChecks,omitempty"`
}

type SegmentationRuleDto ¶

type SegmentationRuleDto struct {
	Id     string `json:"id,omitempty"`
	Name   string `json:"name"`
	Locale string `json:"locale,omitempty"`
	// Default: false
	Primary     bool      `json:"primary,omitempty"`
	Filename    string    `json:"filename"`
	DateCreated time.Time `json:"dateCreated,omitempty"`
	// created by user
	CreatedBy *UserReference `json:"createdBy,omitempty"`
}

segmentation rule object

type SegmentationRuleReference ¶

type SegmentationRuleReference struct {
	Id     string `json:"id,omitempty"`
	Name   string `json:"name"`
	Locale string `json:"locale,omitempty"`
	// Default: false
	Primary     bool      `json:"primary,omitempty"`
	Filename    string    `json:"filename"`
	DateCreated time.Time `json:"dateCreated,omitempty"`
}

type SegmentationRulesApiGetListOfSegmentationRulesOpts ¶

type SegmentationRulesApiGetListOfSegmentationRulesOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type SegmentationRulesApiService ¶

type SegmentationRulesApiService service

func (*SegmentationRulesApiService) CreateSegmentationRule ¶

func (a *SegmentationRulesApiService) CreateSegmentationRule(ctx context.Context, body InputStream, segRule string) (SegmentationRuleDto, *http.Response, error)

SegmentationRulesApiService Create segmentation rule Creates new Segmentation Rule with file and segRule JSON Object as header parameter. The same object is used for GET action.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body streamed file
  • @param segRule

@return SegmentationRuleDto

func (*SegmentationRulesApiService) DeletesSegmentationRule ¶

func (a *SegmentationRulesApiService) DeletesSegmentationRule(ctx context.Context, segRuleId int64) (*http.Response, error)

SegmentationRulesApiService Delete segmentation rule

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param segRuleId

func (*SegmentationRulesApiService) GetListOfSegmentationRules ¶

func (*SegmentationRulesApiService) GetSegmentationRule ¶

func (a *SegmentationRulesApiService) GetSegmentationRule(ctx context.Context, segRuleId int64) (SegmentationRuleDto, *http.Response, error)

SegmentationRulesApiService Get segmentation rule

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param segRuleId

@return SegmentationRuleDto

func (*SegmentationRulesApiService) UpdatesSegmentationRule ¶

type SegmentationRulesApiUpdatesSegmentationRuleOpts ¶

type SegmentationRulesApiUpdatesSegmentationRuleOpts struct {
	Body optional.Interface
}

type SegmentsCountsDto ¶

type SegmentsCountsDto struct {
	AllConfirmed                              bool                 `json:"allConfirmed,omitempty"`
	CharsCount                                int64                `json:"charsCount,omitempty"`
	CompletedCharsCount                       int64                `json:"completedCharsCount,omitempty"`
	ConfirmedCharsCount                       int64                `json:"confirmedCharsCount,omitempty"`
	ConfirmedLockedCharsCount                 int64                `json:"confirmedLockedCharsCount,omitempty"`
	LockedCharsCount                          int64                `json:"lockedCharsCount,omitempty"`
	SegmentsCount                             int64                `json:"segmentsCount,omitempty"`
	CompletedSegmentsCount                    int64                `json:"completedSegmentsCount,omitempty"`
	LockedSegmentsCount                       int64                `json:"lockedSegmentsCount,omitempty"`
	SegmentGroupsCount                        int64                `json:"segmentGroupsCount,omitempty"`
	TranslatedSegmentsCount                   int64                `json:"translatedSegmentsCount,omitempty"`
	TranslatedLockedSegmentsCount             int64                `json:"translatedLockedSegmentsCount,omitempty"`
	WordsCount                                int64                `json:"wordsCount,omitempty"`
	CompletedWordsCount                       int64                `json:"completedWordsCount,omitempty"`
	ConfirmedWordsCount                       int64                `json:"confirmedWordsCount,omitempty"`
	ConfirmedLockedWordsCount                 int64                `json:"confirmedLockedWordsCount,omitempty"`
	LockedWordsCount                          int64                `json:"lockedWordsCount,omitempty"`
	MachineTranslationPostEditedSegmentsCount int64                `json:"machineTranslationPostEditedSegmentsCount,omitempty"`
	MachineTranslationRelevantSegmentsCount   int64                `json:"machineTranslationRelevantSegmentsCount,omitempty"`
	QualityAssurance                          *QualityAssuranceDto `json:"qualityAssurance,omitempty"`
	QualityAssuranceResolved                  bool                 `json:"qualityAssuranceResolved,omitempty"`
}

type SegmentsCountsResponseDto ¶

type SegmentsCountsResponseDto struct {
	JobPartUid       string               `json:"jobPartUid,omitempty"`
	Counts           *SegmentsCountsDto   `json:"counts,omitempty"`
	PreviousWorkflow *PreviousWorkflowDto `json:"previousWorkflow,omitempty"`
}

type SegmentsCountsResponseListDto ¶

type SegmentsCountsResponseListDto struct {
	SegmentsCountsResults []SegmentsCountsResponseDto `json:"segmentsCountsResults,omitempty"`
}

type ServiceProviderConfigDto ¶

type ServiceProviderConfigDto struct {
	AuthenticationSchemes []AuthSchema `json:"authenticationSchemes,omitempty"`
	Schemas               []string     `json:"schemas,omitempty"`
	Patch                 *Supported   `json:"patch,omitempty"`
	Bulk                  *Supported   `json:"bulk,omitempty"`
	Filter                *Supported   `json:"filter,omitempty"`
	ChangePassword        *Supported   `json:"changePassword,omitempty"`
	Sort                  *Supported   `json:"sort,omitempty"`
	Etag                  *Supported   `json:"etag,omitempty"`
	XmlDataFormat         *Supported   `json:"xmlDataFormat,omitempty"`
}

type SetFinancialSettingsDto ¶

type SetFinancialSettingsDto struct {
	NetRateScheme *IdReference `json:"netRateScheme,omitempty"`
	PriceList     *IdReference `json:"priceList,omitempty"`
}

type SetProjectStatusDto ¶

type SetProjectStatusDto struct {
	Status string `json:"status"`
}

type SetProjectTemplateTermBaseDto ¶

type SetProjectTemplateTermBaseDto struct {
	ReadTermBases             []IdReference `json:"readTermBases,omitempty"`
	WriteTermBase             *IdReference  `json:"writeTermBase,omitempty"`
	QualityAssuranceTermBases []IdReference `json:"qualityAssuranceTermBases,omitempty"`
	TargetLang                string        `json:"targetLang,omitempty"`
	WorkflowStep              *IdReference  `json:"workflowStep,omitempty"`
}

type SetProjectTemplateTransMemoriesDto ¶

type SetProjectTemplateTransMemoriesDto struct {
	TransMemories []SetProjectTemplateTransMemoryDto `json:"transMemories,omitempty"`
	// Set translation memory only for the specific project template target language
	TargetLang string `json:"targetLang,omitempty"`
	// Set translation memory only for the specific workflow step
	WorkflowStep *IdReference `json:"workflowStep,omitempty"`
}

type SetProjectTemplateTransMemoryDto ¶

type SetProjectTemplateTransMemoryDto struct {
	TransMemory *IdReference `json:"transMemory"`
	// Default: false
	ReadMode bool `json:"readMode,omitempty"`
	// Can be set only for Translation Memory with read == true.<br/>         Max 2 write TMs allowed per project.<br/>         Default: false
	WriteMode bool    `json:"writeMode,omitempty"`
	Penalty   float64 `json:"penalty,omitempty"`
	// Can be set only for penalty == 1<br/>Default: false
	ApplyPenaltyTo101Only bool `json:"applyPenaltyTo101Only,omitempty"`
}

type SetProjectTransMemoriesDto ¶

type SetProjectTransMemoriesDto struct {
	ReadTransMemories []IdReference `json:"readTransMemories,omitempty"`
	// Write translation memory must be included in the read translation memories, too; max 2 write TMs allowed
	WriteTransMemories []IdReference `json:"writeTransMemories,omitempty"`
	// A list of penalties for each read translation memory
	Penalties []float64 `json:"penalties,omitempty"`
	// Set translation memories only for the specific project target language
	TargetLang string `json:"targetLang,omitempty"`
	// set translation memories only for the specific workflow step
	WorkflowStep *IdReference `json:"workflowStep,omitempty"`
}

type SetProjectTransMemoriesV2Dto ¶

type SetProjectTransMemoriesV2Dto struct {
	TransMemories []SetProjectTransMemoryDto `json:"transMemories,omitempty"`
	// Set translation memory only for the specific project target language
	TargetLang string `json:"targetLang,omitempty"`
	// Set translation memory only for the specific workflow step
	WorkflowStep *IdReference `json:"workflowStep,omitempty"`
}

type SetProjectTransMemoryDto ¶

type SetProjectTransMemoryDto struct {
	TransMemory *IdReference `json:"transMemory"`
	// Default: false
	ReadMode bool `json:"readMode,omitempty"`
	// Can be set only for Translation Memory with read == true.<br/>         Max 2 write TMs allowed per project.<br/>         Default: false
	WriteMode bool    `json:"writeMode,omitempty"`
	Penalty   float64 `json:"penalty,omitempty"`
	// Can be set only for penalty == 1<br/>Default: false
	ApplyPenaltyTo101Only bool `json:"applyPenaltyTo101Only,omitempty"`
}

type SetTermBaseDto ¶

type SetTermBaseDto struct {
	ReadTermBases             []IdReference `json:"readTermBases,omitempty"`
	WriteTermBase             *IdReference  `json:"writeTermBase,omitempty"`
	QualityAssuranceTermBases []IdReference `json:"qualityAssuranceTermBases,omitempty"`
	TargetLang                string        `json:"targetLang,omitempty"`
}

type SourceTargetRegexpWarningDto ¶

type SourceTargetRegexpWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
	Description       string `json:"description,omitempty"`
}

type SpellCheckApiAddWordOpts ¶

type SpellCheckApiAddWordOpts struct {
	Body optional.Interface
}

type SpellCheckApiCheckByJobOpts ¶

type SpellCheckApiCheckByJobOpts struct {
	Body optional.Interface
}

type SpellCheckApiCheckOpts ¶

type SpellCheckApiCheckOpts struct {
	Body optional.Interface
}

type SpellCheckApiService ¶

type SpellCheckApiService service

func (*SpellCheckApiService) AddWord ¶

func (a *SpellCheckApiService) AddWord(ctx context.Context, localVarOptionals *SpellCheckApiAddWordOpts) (*http.Response, error)

func (*SpellCheckApiService) Check ¶

func (*SpellCheckApiService) CheckByJob ¶

func (*SpellCheckApiService) Suggest ¶

type SpellCheckApiSuggestOpts ¶

type SpellCheckApiSuggestOpts struct {
	Body optional.Interface
}

type SpellCheckRequestDto ¶

type SpellCheckRequestDto struct {
	Lang                string   `json:"lang"`
	Texts               []string `json:"texts"`
	ReferenceTexts      []string `json:"referenceTexts,omitempty"`
	ZeroLengthSeparator string   `json:"zeroLengthSeparator,omitempty"`
}

type SpellCheckResponseDto ¶

type SpellCheckResponseDto struct {
	SpellCheckResults []CheckResponse `json:"spellCheckResults,omitempty"`
}

type SpellCheckWarningDto ¶

type SpellCheckWarningDto struct {
	Id                string              `json:"id,omitempty"`
	Ignored           bool                `json:"ignored,omitempty"`
	Type_             string              `json:"type,omitempty"`
	RepetitionGroupId string              `json:"repetitionGroupId,omitempty"`
	MisspelledWords   []MisspelledWordDto `json:"misspelledWords,omitempty"`
}

type SplitJobActionDto ¶

type SplitJobActionDto struct {
	SegmentOrdinals []int64 `json:"segmentOrdinals"`
	PartCount       int32   `json:"partCount,omitempty"`
	PartSize        int32   `json:"partSize,omitempty"`
	WordCount       int32   `json:"wordCount,omitempty"`
	// Can be used only for PowerPoint files
	ByDocumentPart bool `json:"byDocumentPart,omitempty"`
}

type StatusDto ¶

type StatusDto struct {
	Name string         `json:"name,omitempty"`
	By   *UserReference `json:"by,omitempty"`
	Date time.Time      `json:"date,omitempty"`
}

type SubDomainApiCreateSubDomainOpts ¶

type SubDomainApiCreateSubDomainOpts struct {
	Body optional.Interface
}

type SubDomainApiListSubDomainsOpts ¶

type SubDomainApiListSubDomainsOpts struct {
	Name       optional.String
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type SubDomainApiService ¶

type SubDomainApiService service

func (*SubDomainApiService) CreateSubDomain ¶

func (a *SubDomainApiService) CreateSubDomain(ctx context.Context, localVarOptionals *SubDomainApiCreateSubDomainOpts) (SubDomainDto, *http.Response, error)

func (*SubDomainApiService) DeleteSubDomain ¶

func (a *SubDomainApiService) DeleteSubDomain(ctx context.Context, subDomainId int64) (*http.Response, error)

SubDomainApiService Delete subdomain

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param subDomainId

func (*SubDomainApiService) GetSubDomain ¶

func (a *SubDomainApiService) GetSubDomain(ctx context.Context, subDomainId int64) (SubDomainDto, *http.Response, error)

SubDomainApiService Get subdomain

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param subDomainId

@return SubDomainDto

func (*SubDomainApiService) ListSubDomains ¶

func (*SubDomainApiService) UpdateSubDomain ¶

func (a *SubDomainApiService) UpdateSubDomain(ctx context.Context, subDomainId int64, localVarOptionals *SubDomainApiUpdateSubDomainOpts) (SubDomainDto, *http.Response, error)

type SubDomainApiUpdateSubDomainOpts ¶

type SubDomainApiUpdateSubDomainOpts struct {
	Body optional.Interface
}

type SubDomainDto ¶

type SubDomainDto struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type SubDomainEditDto ¶

type SubDomainEditDto struct {
	Name string `json:"name,omitempty"`
}

type SubDomainReference ¶

type SubDomainReference struct {
	Name string `json:"name,omitempty"`
	Id   string `json:"id,omitempty"`
}

type SuggestRequestDto ¶

type SuggestRequestDto struct {
	Lang           string   `json:"lang"`
	Words          []string `json:"words"`
	ReferenceTexts []string `json:"referenceTexts,omitempty"`
}

type SuggestResponse ¶

type SuggestResponse struct {
	Word        string       `json:"word,omitempty"`
	Suggestions []Suggestion `json:"suggestions,omitempty"`
}

type SuggestResponseDto ¶

type SuggestResponseDto struct {
	SuggestResults []SuggestResponse `json:"suggestResults,omitempty"`
}

type Suggestion ¶

type Suggestion struct {
	Word     string `json:"word,omitempty"`
	Distance int32  `json:"distance,omitempty"`
}

type Supported ¶

type Supported struct {
	Supported bool `json:"supported,omitempty"`
}

type SupportedLanguagesApiService ¶

type SupportedLanguagesApiService service

func (*SupportedLanguagesApiService) ListOfLanguages ¶

SupportedLanguagesApiService List supported languages

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return LanguageListDto

type TagMetadata ¶

type TagMetadata struct {
	Id              string `json:"id,omitempty"`
	Type_           string `json:"type,omitempty"`
	Content         string `json:"content,omitempty"`
	TransAttributes string `json:"transAttributes,omitempty"`
}

type TagMetadataDto ¶

type TagMetadataDto struct {
	Id              string `json:"id,omitempty"`
	Type_           string `json:"type,omitempty"`
	Content         string `json:"content,omitempty"`
	TransAttributes string `json:"transAttributes,omitempty"`
}

type TargetFileWarningsDto ¶

type TargetFileWarningsDto struct {
	Warnings []string `json:"warnings,omitempty"`
}

type TargetLanguageDto ¶

type TargetLanguageDto struct {
	Language string `json:"language"`
}

type TargetLengthDto ¶

type TargetLengthDto struct {
	Enabled bool  `json:"enabled,omitempty"`
	Max     int32 `json:"max,omitempty"`
}

type TargetLengthPercentDto ¶

type TargetLengthPercentDto struct {
	Enabled bool    `json:"enabled,omitempty"`
	Max     float64 `json:"max,omitempty"`
}

type TargetSourceIdenticalWarningDto ¶

type TargetSourceIdenticalWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type TaskMappingDto ¶

type TaskMappingDto struct {
	TaskId        string        `json:"taskId,omitempty"`
	WorkflowLevel string        `json:"workflowLevel,omitempty"`
	ResourcePath  string        `json:"resourcePath,omitempty"`
	Project       *UidReference `json:"project,omitempty"`
	Job           *UidReference `json:"job,omitempty"`
}

type TermBaseApiBrowseTermsOpts ¶

type TermBaseApiBrowseTermsOpts struct {
	Body optional.Interface
}

type TermBaseApiCreateTermBaseOpts ¶

type TermBaseApiCreateTermBaseOpts struct {
	Body optional.Interface
}

type TermBaseApiCreateTermByJobOpts ¶

type TermBaseApiCreateTermByJobOpts struct {
	Body optional.Interface
}

type TermBaseApiCreateTermOpts ¶

type TermBaseApiCreateTermOpts struct {
	Body optional.Interface
}

type TermBaseApiDeleteConceptsOpts ¶

type TermBaseApiDeleteConceptsOpts struct {
	Body optional.Interface
}

type TermBaseApiDeleteTermBaseOpts ¶

type TermBaseApiDeleteTermBaseOpts struct {
	Purge optional.Bool
}

type TermBaseApiExportTermBaseOpts ¶

type TermBaseApiExportTermBaseOpts struct {
	Format  optional.String
	Charset optional.String
}

type TermBaseApiImportTermBaseOpts ¶

type TermBaseApiImportTermBaseOpts struct {
	Body               optional.Interface
	Charset            optional.String
	StrictLangMatching optional.Bool
	UpdateTerms        optional.Bool
}

type TermBaseApiListTermBasesOpts ¶

type TermBaseApiListTermBasesOpts struct {
	Name        optional.String
	Lang        optional.Interface
	ClientId    optional.String
	DomainId    optional.String
	SubDomainId optional.String
	PageNumber  optional.Int32
	PageSize    optional.Int32
}

type TermBaseApiSearchTermsByJob1Opts ¶

type TermBaseApiSearchTermsByJob1Opts struct {
	Body optional.Interface
}

type TermBaseApiSearchTermsByJobOpts ¶

type TermBaseApiSearchTermsByJobOpts struct {
	Body optional.Interface
}

type TermBaseApiSearchTermsInTextByJobOpts ¶

type TermBaseApiSearchTermsInTextByJobOpts struct {
	Body optional.Interface
}

type TermBaseApiSearchTermsInTextByJobV2Opts ¶

type TermBaseApiSearchTermsInTextByJobV2Opts struct {
	Body optional.Interface
}

type TermBaseApiSearchTermsOpts ¶

type TermBaseApiSearchTermsOpts struct {
	Body optional.Interface
}

type TermBaseApiService ¶

type TermBaseApiService service

func (*TermBaseApiService) BrowseTerms ¶

func (a *TermBaseApiService) BrowseTerms(ctx context.Context, termBaseId int64, localVarOptionals *TermBaseApiBrowseTermsOpts) (BrowseResponseListDto, *http.Response, error)

func (*TermBaseApiService) ClearTermBase ¶

func (a *TermBaseApiService) ClearTermBase(ctx context.Context, termBaseId int64) (*http.Response, error)

TermBaseApiService Clear term base Deletes all terms

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param termBaseId

func (*TermBaseApiService) CreateTerm ¶

func (a *TermBaseApiService) CreateTerm(ctx context.Context, termBaseId int64, localVarOptionals *TermBaseApiCreateTermOpts) (TermDto, *http.Response, error)

func (*TermBaseApiService) CreateTermBase ¶

func (a *TermBaseApiService) CreateTermBase(ctx context.Context, localVarOptionals *TermBaseApiCreateTermBaseOpts) (TermBaseDto, *http.Response, error)

func (*TermBaseApiService) CreateTermByJob ¶

func (a *TermBaseApiService) CreateTermByJob(ctx context.Context, jobUid string, projectUid string, localVarOptionals *TermBaseApiCreateTermByJobOpts) (TermPairDto, *http.Response, error)

func (*TermBaseApiService) DeleteConcept ¶

func (a *TermBaseApiService) DeleteConcept(ctx context.Context, termBaseId int64, conceptId string) (*http.Response, error)

TermBaseApiService Delete concept

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param termBaseId
  • @param conceptId

func (*TermBaseApiService) DeleteConcepts ¶

func (a *TermBaseApiService) DeleteConcepts(ctx context.Context, termBaseId int64, localVarOptionals *TermBaseApiDeleteConceptsOpts) (*http.Response, error)

func (*TermBaseApiService) DeleteTerm ¶

func (a *TermBaseApiService) DeleteTerm(ctx context.Context, termBaseId int64, termId string) (*http.Response, error)

TermBaseApiService Delete term

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param termBaseId
  • @param termId

func (*TermBaseApiService) DeleteTermBase ¶

func (a *TermBaseApiService) DeleteTermBase(ctx context.Context, termBaseId int64, localVarOptionals *TermBaseApiDeleteTermBaseOpts) (*http.Response, error)

func (*TermBaseApiService) ExportTermBase ¶

func (a *TermBaseApiService) ExportTermBase(ctx context.Context, termBaseId int64, localVarOptionals *TermBaseApiExportTermBaseOpts) (*http.Response, error)

func (*TermBaseApiService) GetLastBackgroundTask ¶

func (a *TermBaseApiService) GetLastBackgroundTask(ctx context.Context, termBaseId int64) (BackgroundTasksTbDto, *http.Response, error)

TermBaseApiService Last import status

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param termBaseId

@return BackgroundTasksTbDto

func (*TermBaseApiService) GetProjectTemplateTermBases ¶

func (a *TermBaseApiService) GetProjectTemplateTermBases(ctx context.Context, projectTemplateId string) (ProjectTemplateTermBaseListDto, *http.Response, error)

TermBaseApiService Get term bases

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectTemplateId

@return ProjectTemplateTermBaseListDto

func (*TermBaseApiService) GetTerm ¶

func (a *TermBaseApiService) GetTerm(ctx context.Context, termBaseId int64, termId string) (TermDto, *http.Response, error)

TermBaseApiService Get term

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param termBaseId
  • @param termId

@return TermDto

func (*TermBaseApiService) GetTermBase ¶

func (a *TermBaseApiService) GetTermBase(ctx context.Context, termBaseId int64) (TermBaseDto, *http.Response, error)

TermBaseApiService Get term base

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param termBaseId

@return TermBaseDto

func (*TermBaseApiService) GetTermBaseMetadata ¶

func (a *TermBaseApiService) GetTermBaseMetadata(ctx context.Context, termBaseId int64) (MetadataTbDto, *http.Response, error)

TermBaseApiService Get term base metadata

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param termBaseId

@return MetadataTbDto

func (*TermBaseApiService) GetTranslationResources ¶

func (a *TermBaseApiService) GetTranslationResources(ctx context.Context, projectUid string, jobUid string) (TranslationResourcesDto, *http.Response, error)

TermBaseApiService Get translation resources

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid
  • @param jobUid

@return TranslationResourcesDto

func (*TermBaseApiService) ImportTermBase ¶

func (a *TermBaseApiService) ImportTermBase(ctx context.Context, contentDisposition string, termBaseId int64, localVarOptionals *TermBaseApiImportTermBaseOpts) (ImportResponse, *http.Response, error)

func (*TermBaseApiService) ListTermBases ¶

func (*TermBaseApiService) ListTermsOfConcept ¶

func (a *TermBaseApiService) ListTermsOfConcept(ctx context.Context, termBaseId int64, conceptId string) (ConceptDto, *http.Response, error)

TermBaseApiService Get terms of concept

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param termBaseId
  • @param conceptId

@return ConceptDto

func (*TermBaseApiService) SearchTerms ¶

func (a *TermBaseApiService) SearchTerms(ctx context.Context, termBaseId int64, localVarOptionals *TermBaseApiSearchTermsOpts) (SearchResponseListTbDto, *http.Response, error)

func (*TermBaseApiService) SearchTermsByJob ¶

func (a *TermBaseApiService) SearchTermsByJob(ctx context.Context, jobUid string, projectUid string, localVarOptionals *TermBaseApiSearchTermsByJobOpts) (SearchResponseListTbDto, *http.Response, error)

func (*TermBaseApiService) SearchTermsByJob1 ¶

func (a *TermBaseApiService) SearchTermsByJob1(ctx context.Context, jobUid string, projectUid string, localVarOptionals *TermBaseApiSearchTermsByJob1Opts) (SearchTbResponseListDto, *http.Response, error)

func (*TermBaseApiService) SearchTermsInTextByJob ¶

func (a *TermBaseApiService) SearchTermsInTextByJob(ctx context.Context, jobUid string, projectUid string, localVarOptionals *TermBaseApiSearchTermsInTextByJobOpts) (SearchInTextResponseListDto, *http.Response, error)

func (*TermBaseApiService) SearchTermsInTextByJobV2 ¶

func (a *TermBaseApiService) SearchTermsInTextByJobV2(ctx context.Context, jobUid string, projectUid string, localVarOptionals *TermBaseApiSearchTermsInTextByJobV2Opts) (SearchInTextResponseList2Dto, *http.Response, error)

func (*TermBaseApiService) SetProjectTemplateTermBases ¶

func (a *TermBaseApiService) SetProjectTemplateTermBases(ctx context.Context, projectTemplateId string, localVarOptionals *TermBaseApiSetProjectTemplateTermBasesOpts) (ProjectTemplateTermBaseListDto, *http.Response, error)

func (*TermBaseApiService) UpdateTerm ¶

func (a *TermBaseApiService) UpdateTerm(ctx context.Context, termBaseId int64, termId string, localVarOptionals *TermBaseApiUpdateTermOpts) (TermDto, *http.Response, error)

func (*TermBaseApiService) UpdateTermBase ¶

func (a *TermBaseApiService) UpdateTermBase(ctx context.Context, termBaseId int64, localVarOptionals *TermBaseApiUpdateTermBaseOpts) (TermBaseDto, *http.Response, error)

type TermBaseApiSetProjectTemplateTermBasesOpts ¶

type TermBaseApiSetProjectTemplateTermBasesOpts struct {
	Body optional.Interface
}

type TermBaseApiUpdateTermBaseOpts ¶

type TermBaseApiUpdateTermBaseOpts struct {
	Body optional.Interface
}

type TermBaseApiUpdateTermOpts ¶

type TermBaseApiUpdateTermOpts struct {
	Body optional.Interface
}

type TermBaseDto ¶

type TermBaseDto struct {
	Id           string                 `json:"id,omitempty"`
	InternalId   int64                  `json:"internalId,omitempty"`
	Name         string                 `json:"name"`
	Langs        []string               `json:"langs,omitempty"`
	Client       *ClientReference       `json:"client,omitempty"`
	Domain       *DomainReference       `json:"domain,omitempty"`
	SubDomain    *SubDomainReference    `json:"subDomain,omitempty"`
	BusinessUnit *BusinessUnitReference `json:"businessUnit,omitempty"`
	CreatedBy    *UserReference         `json:"createdBy,omitempty"`
	DateCreated  time.Time              `json:"dateCreated,omitempty"`
	Note         string                 `json:"note,omitempty"`
}

type TermBaseEditDto ¶

type TermBaseEditDto struct {
	Name         string       `json:"name"`
	Langs        []string     `json:"langs"`
	Client       *IdReference `json:"client,omitempty"`
	Domain       *IdReference `json:"domain,omitempty"`
	SubDomain    *IdReference `json:"subDomain,omitempty"`
	BusinessUnit *IdReference `json:"businessUnit,omitempty"`
	Note         string       `json:"note,omitempty"`
}

type TermBaseReference ¶

type TermBaseReference struct {
	Name string `json:"name,omitempty"`
	Id   string `json:"id,omitempty"`
}

type TermBaseSearchRequestDto ¶

type TermBaseSearchRequestDto struct {
	TargetLangs []string `json:"targetLangs"`
	SourceLang  string   `json:"sourceLang"`
	Query       string   `json:"query"`
	Status      string   `json:"status,omitempty"`
}

type TermCreateByJobDto ¶

type TermCreateByJobDto struct {
	Text string `json:"text"`
	// Default: false
	CaseSensitive bool `json:"caseSensitive,omitempty"`
	// Default: false
	ExactMatch bool `json:"exactMatch,omitempty"`
	// Default: false
	Forbidden bool `json:"forbidden,omitempty"`
	// Default: false
	Preferred        bool   `json:"preferred,omitempty"`
	Usage            string `json:"usage,omitempty"`
	Note             string `json:"note,omitempty"`
	ShortTranslation string `json:"shortTranslation,omitempty"`
	TermType         string `json:"termType,omitempty"`
	PartOfSpeech     string `json:"partOfSpeech,omitempty"`
	Gender           string `json:"gender,omitempty"`
	Number           string `json:"number,omitempty"`
}

type TermCreateDto ¶

type TermCreateDto struct {
	Text string `json:"text"`
	Lang string `json:"lang,omitempty"`
	// Default: false
	CaseSensitive bool `json:"caseSensitive,omitempty"`
	// Default: false
	ExactMatch bool `json:"exactMatch,omitempty"`
	// Default: false
	Forbidden bool `json:"forbidden,omitempty"`
	// Default: false
	Preferred        bool   `json:"preferred,omitempty"`
	Status           string `json:"status,omitempty"`
	ConceptId        string `json:"conceptId,omitempty"`
	Usage            string `json:"usage,omitempty"`
	Note             string `json:"note,omitempty"`
	ShortTranslation string `json:"shortTranslation,omitempty"`
	TermType         string `json:"termType,omitempty"`
	PartOfSpeech     string `json:"partOfSpeech,omitempty"`
	Gender           string `json:"gender,omitempty"`
	Number           string `json:"number,omitempty"`
}

type TermDto ¶

type TermDto struct {
	Id               string         `json:"id,omitempty"`
	Text             string         `json:"text"`
	Lang             string         `json:"lang,omitempty"`
	Rtl              bool           `json:"rtl,omitempty"`
	ModifiedAt       time.Time      `json:"modifiedAt,omitempty"`
	CreatedAt        time.Time      `json:"createdAt,omitempty"`
	ModifiedBy       *UserReference `json:"modifiedBy,omitempty"`
	CreatedBy        *UserReference `json:"createdBy,omitempty"`
	CaseSensitive    bool           `json:"caseSensitive,omitempty"`
	ExactMatch       bool           `json:"exactMatch,omitempty"`
	Forbidden        bool           `json:"forbidden,omitempty"`
	Preferred        bool           `json:"preferred,omitempty"`
	Status           string         `json:"status,omitempty"`
	ConceptId        string         `json:"conceptId,omitempty"`
	Usage            string         `json:"usage,omitempty"`
	Note             string         `json:"note,omitempty"`
	Writable         bool           `json:"writable,omitempty"`
	ShortTranslation string         `json:"shortTranslation,omitempty"`
	TermType         string         `json:"termType,omitempty"`
	PartOfSpeech     string         `json:"partOfSpeech,omitempty"`
	Gender           string         `json:"gender,omitempty"`
	Number           string         `json:"number,omitempty"`
	Definition       string         `json:"definition,omitempty"`
	Domain           string         `json:"domain,omitempty"`
	SubDomains       []string       `json:"subDomains,omitempty"`
	Url              string         `json:"url,omitempty"`
	ConceptNote      string         `json:"conceptNote,omitempty"`
}

type TermEditDto ¶

type TermEditDto struct {
	Text string `json:"text"`
	Lang string `json:"lang,omitempty"`
	// Default: false
	CaseSensitive bool `json:"caseSensitive,omitempty"`
	// Default: false
	ExactMatch bool `json:"exactMatch,omitempty"`
	// Default: false
	Forbidden bool `json:"forbidden,omitempty"`
	// Default: false
	Preferred        bool   `json:"preferred,omitempty"`
	Status           string `json:"status,omitempty"`
	Usage            string `json:"usage,omitempty"`
	Note             string `json:"note,omitempty"`
	ShortTranslation string `json:"shortTranslation,omitempty"`
	TermType         string `json:"termType,omitempty"`
	PartOfSpeech     string `json:"partOfSpeech,omitempty"`
	Gender           string `json:"gender,omitempty"`
	Number           string `json:"number,omitempty"`
}

type TermPairDto ¶

type TermPairDto struct {
	SourceTerm *TermDto `json:"sourceTerm"`
	TargetTerm *TermDto `json:"targetTerm"`
}

type TermV2Dto ¶

type TermV2Dto struct {
	Id               string         `json:"id,omitempty"`
	Text             string         `json:"text"`
	Lang             string         `json:"lang,omitempty"`
	Rtl              bool           `json:"rtl,omitempty"`
	ModifiedAt       time.Time      `json:"modifiedAt,omitempty"`
	CreatedAt        time.Time      `json:"createdAt,omitempty"`
	ModifiedBy       *UserReference `json:"modifiedBy,omitempty"`
	CreatedBy        *UserReference `json:"createdBy,omitempty"`
	CaseSensitive    bool           `json:"caseSensitive,omitempty"`
	ExactMatch       bool           `json:"exactMatch,omitempty"`
	Forbidden        bool           `json:"forbidden,omitempty"`
	Preferred        bool           `json:"preferred,omitempty"`
	Status           string         `json:"status,omitempty"`
	ConceptId        string         `json:"conceptId,omitempty"`
	Usage            string         `json:"usage,omitempty"`
	Note             string         `json:"note,omitempty"`
	Writable         bool           `json:"writable,omitempty"`
	ShortTranslation string         `json:"shortTranslation,omitempty"`
	TermType         string         `json:"termType,omitempty"`
	PartOfSpeech     string         `json:"partOfSpeech,omitempty"`
	Gender           string         `json:"gender,omitempty"`
	Number           string         `json:"number,omitempty"`
}

type TerminologyWarningDto ¶

type TerminologyWarningDto struct {
	Id                string   `json:"id,omitempty"`
	Ignored           bool     `json:"ignored,omitempty"`
	Type_             string   `json:"type,omitempty"`
	RepetitionGroupId string   `json:"repetitionGroupId,omitempty"`
	MissingTerms      []string `json:"missingTerms,omitempty"`
	ForbiddenTerms    []string `json:"forbiddenTerms,omitempty"`
}

type TmMatchSettingsDto ¶

type TmMatchSettingsDto struct {
	// Default: PREV_AND_NEXT_SEGMENT
	ContextType string `json:"contextType,omitempty"`
	// Default: false
	PrevOrNextSegment bool `json:"prevOrNextSegment,omitempty"`
	// Default: false
	PenalizeMultiContextMatch bool `json:"penalizeMultiContextMatch,omitempty"`
	// Default: true
	IgnoreTagMetadata bool `json:"ignoreTagMetadata,omitempty"`
}

type TrailingPunctuationWarningDto ¶

type TrailingPunctuationWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type TrailingSpaceWarningDto ¶

type TrailingSpaceWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type TransMemoryCreateDto ¶

type TransMemoryCreateDto struct {
	Name         string       `json:"name"`
	SourceLang   string       `json:"sourceLang"`
	TargetLangs  []string     `json:"targetLangs"`
	Client       *IdReference `json:"client,omitempty"`
	BusinessUnit *IdReference `json:"businessUnit,omitempty"`
	Domain       *IdReference `json:"domain,omitempty"`
	SubDomain    *IdReference `json:"subDomain,omitempty"`
	Note         string       `json:"note,omitempty"`
}

type TransMemoryDto ¶

type TransMemoryDto struct {
	Id           string                 `json:"id,omitempty"`
	InternalId   int32                  `json:"internalId,omitempty"`
	Name         string                 `json:"name,omitempty"`
	SourceLang   string                 `json:"sourceLang,omitempty"`
	TargetLangs  []string               `json:"targetLangs,omitempty"`
	Client       *ClientReference       `json:"client,omitempty"`
	BusinessUnit *BusinessUnitReference `json:"businessUnit,omitempty"`
	Domain       *DomainReference       `json:"domain,omitempty"`
	SubDomain    *SubDomainReference    `json:"subDomain,omitempty"`
	Note         string                 `json:"note,omitempty"`
	DateCreated  time.Time              `json:"dateCreated,omitempty"`
	CreatedBy    *UserReference         `json:"createdBy,omitempty"`
}

type TransMemoryDtoV2 ¶

type TransMemoryDtoV2 struct {
	Id           string                 `json:"id,omitempty"`
	InternalId   int32                  `json:"internalId,omitempty"`
	Name         string                 `json:"name,omitempty"`
	SourceLang   string                 `json:"sourceLang,omitempty"`
	TargetLangs  []string               `json:"targetLangs,omitempty"`
	Client       *ClientReference       `json:"client,omitempty"`
	BusinessUnit *BusinessUnitReference `json:"businessUnit,omitempty"`
	Domain       *DomainReference       `json:"domain,omitempty"`
	SubDomain    *SubDomainReference    `json:"subDomain,omitempty"`
	Note         string                 `json:"note,omitempty"`
	DateCreated  time.Time              `json:"dateCreated,omitempty"`
	CreatedBy    *UserReference         `json:"createdBy,omitempty"`
}

type TransMemoryEditDto ¶

type TransMemoryEditDto struct {
	Name string `json:"name"`
	// New target languages to add. No languages can be removed
	TargetLangs  []string     `json:"targetLangs"`
	Client       *IdReference `json:"client,omitempty"`
	BusinessUnit *IdReference `json:"businessUnit,omitempty"`
	Domain       *IdReference `json:"domain,omitempty"`
	SubDomain    *IdReference `json:"subDomain,omitempty"`
	Note         string       `json:"note,omitempty"`
}

type TranslationApiHumanTranslateOpts ¶

type TranslationApiHumanTranslateOpts struct {
	Body optional.Interface
}

type TranslationApiMachineTranslationJobOpts ¶

type TranslationApiMachineTranslationJobOpts struct {
	Body optional.Interface
}

type TranslationApiPreTranslateOpts ¶

type TranslationApiPreTranslateOpts struct {
	Body optional.Interface
}

type TranslationApiService ¶

type TranslationApiService service

func (*TranslationApiService) HumanTranslate ¶

func (a *TranslationApiService) HumanTranslate(ctx context.Context, projectUid string, localVarOptionals *TranslationApiHumanTranslateOpts) (AsyncRequestWrapperDto, *http.Response, error)

func (*TranslationApiService) MachineTranslationJob ¶

func (a *TranslationApiService) MachineTranslationJob(ctx context.Context, projectUid string, jobUid string, localVarOptionals *TranslationApiMachineTranslationJobOpts) (MachineTranslateResponse, *http.Response, error)

func (*TranslationApiService) PreTranslate ¶

func (a *TranslationApiService) PreTranslate(ctx context.Context, projectUid string, localVarOptionals *TranslationApiPreTranslateOpts) (AsyncRequestWrapperDto, *http.Response, error)

type TranslationDto ¶

type TranslationDto struct {
	Lang string `json:"lang"`
	Text string `json:"text"`
}

type TranslationLengthWarningDto ¶

type TranslationLengthWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type TranslationMemoryApiAddTargetLangToTransMemoryOpts ¶

type TranslationMemoryApiAddTargetLangToTransMemoryOpts struct {
	Body optional.Interface
}

type TranslationMemoryApiCreateTransMemoryOpts ¶

type TranslationMemoryApiCreateTransMemoryOpts struct {
	Body optional.Interface
}

type TranslationMemoryApiDeleteTransMemoryOpts ¶

type TranslationMemoryApiDeleteTransMemoryOpts struct {
	Purge optional.Bool
}

type TranslationMemoryApiDownloadSearchResultOpts ¶

type TranslationMemoryApiDownloadSearchResultOpts struct {
	Format optional.String
}

type TranslationMemoryApiEditTransMemoryOpts ¶

type TranslationMemoryApiEditTransMemoryOpts struct {
	Body optional.Interface
}

type TranslationMemoryApiExportByQueryAsyncOpts ¶

type TranslationMemoryApiExportByQueryAsyncOpts struct {
	Body optional.Interface
}

type TranslationMemoryApiExportOpts ¶

type TranslationMemoryApiExportOpts struct {
	Format     optional.String
	TargetLang optional.Interface
}

type TranslationMemoryApiExportV2Opts ¶

type TranslationMemoryApiExportV2Opts struct {
	Body optional.Interface
}

type TranslationMemoryApiGetMetadataOpts ¶

type TranslationMemoryApiGetMetadataOpts struct {
	ByLanguage optional.Bool
}

type TranslationMemoryApiGetRelatedProjectsOpts ¶

type TranslationMemoryApiGetRelatedProjectsOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type TranslationMemoryApiImportTransMemoryOpts ¶

type TranslationMemoryApiImportTransMemoryOpts struct {
	Body                        optional.Interface
	StrictLangMatching          optional.Bool
	StripNativeCodes            optional.Bool
	ExcludeNotConfirmedSegments optional.Bool
}

type TranslationMemoryApiInsertToTransMemoryOpts ¶

type TranslationMemoryApiInsertToTransMemoryOpts struct {
	Body optional.Interface
}

type TranslationMemoryApiListTransMemoriesOpts ¶

type TranslationMemoryApiListTransMemoriesOpts struct {
	Name           optional.String
	SourceLang     optional.String
	TargetLang     optional.String
	ClientId       optional.String
	DomainId       optional.String
	SubDomainId    optional.String
	BusinessUnitId optional.String
	PageNumber     optional.Int32
	PageSize       optional.Int32
}

type TranslationMemoryApiSearchByJob3Opts ¶

type TranslationMemoryApiSearchByJob3Opts struct {
	Body optional.Interface
}

type TranslationMemoryApiSearchByJobOpts ¶

type TranslationMemoryApiSearchByJobOpts struct {
	Body optional.Interface
}

type TranslationMemoryApiSearchOpts ¶

type TranslationMemoryApiSearchOpts struct {
	Body optional.Interface
}

type TranslationMemoryApiSearchSegmentByJobOpts ¶

type TranslationMemoryApiSearchSegmentByJobOpts struct {
	Body optional.Interface
}

type TranslationMemoryApiSearchSegmentOpts ¶

type TranslationMemoryApiSearchSegmentOpts struct {
	Body optional.Interface
}

type TranslationMemoryApiService ¶

type TranslationMemoryApiService service

func (*TranslationMemoryApiService) AddTargetLangToTransMemory ¶

func (a *TranslationMemoryApiService) AddTargetLangToTransMemory(ctx context.Context, transMemoryId int64, localVarOptionals *TranslationMemoryApiAddTargetLangToTransMemoryOpts) (TransMemoryDto, *http.Response, error)

func (*TranslationMemoryApiService) ClearTransMemory ¶

func (a *TranslationMemoryApiService) ClearTransMemory(ctx context.Context, transMemoryId int64) (*http.Response, error)

TranslationMemoryApiService Delete all segments

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param transMemoryId

func (*TranslationMemoryApiService) CreateTransMemory ¶

func (*TranslationMemoryApiService) DeleteSourceAndTranslations ¶

func (a *TranslationMemoryApiService) DeleteSourceAndTranslations(ctx context.Context, transMemoryId int64, segmentId string) (*http.Response, error)

TranslationMemoryApiService Delete both source and translation

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param transMemoryId
  • @param segmentId

func (*TranslationMemoryApiService) DeleteTransMemory ¶

func (a *TranslationMemoryApiService) DeleteTransMemory(ctx context.Context, transMemoryId int64, localVarOptionals *TranslationMemoryApiDeleteTransMemoryOpts) (*http.Response, error)

func (*TranslationMemoryApiService) DeleteTranslation ¶

func (a *TranslationMemoryApiService) DeleteTranslation(ctx context.Context, transMemoryId int64, segmentId string, lang string) (*http.Response, error)

TranslationMemoryApiService Delete segment of given language

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param transMemoryId
  • @param segmentId
  • @param lang

func (*TranslationMemoryApiService) DownloadSearchResult ¶

func (a *TranslationMemoryApiService) DownloadSearchResult(ctx context.Context, asyncRequestId string, localVarOptionals *TranslationMemoryApiDownloadSearchResultOpts) (*http.Response, error)

func (*TranslationMemoryApiService) EditTransMemory ¶

func (a *TranslationMemoryApiService) EditTransMemory(ctx context.Context, transMemoryId int64, localVarOptionals *TranslationMemoryApiEditTransMemoryOpts) (TransMemoryDto, *http.Response, error)

func (*TranslationMemoryApiService) Export ¶

func (a *TranslationMemoryApiService) Export(ctx context.Context, transMemoryId int64, localVarOptionals *TranslationMemoryApiExportOpts) (*http.Response, error)

func (*TranslationMemoryApiService) ExportByQueryAsync ¶

func (*TranslationMemoryApiService) ExportV2 ¶

func (*TranslationMemoryApiService) GetBackgroundTasks ¶

func (a *TranslationMemoryApiService) GetBackgroundTasks(ctx context.Context, transMemoryId int64) (BackgroundTasksTmDto, *http.Response, error)

TranslationMemoryApiService Get last task information

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param transMemoryId

@return BackgroundTasksTmDto

func (*TranslationMemoryApiService) GetMetadata ¶

func (a *TranslationMemoryApiService) GetMetadata(ctx context.Context, transMemoryId int64, localVarOptionals *TranslationMemoryApiGetMetadataOpts) (MetadataResponse, *http.Response, error)

func (*TranslationMemoryApiService) GetProjectTemplateTransMemories ¶

func (a *TranslationMemoryApiService) GetProjectTemplateTransMemories(ctx context.Context, projectTemplateId string) (ProjectTemplateTransMemoryListDto, *http.Response, error)

TranslationMemoryApiService Get translation memories

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectTemplateId

@return ProjectTemplateTransMemoryListDto

func (*TranslationMemoryApiService) GetRelatedProjects ¶

func (*TranslationMemoryApiService) GetTransMemory ¶

func (a *TranslationMemoryApiService) GetTransMemory(ctx context.Context, transMemoryId int64) (TransMemoryDto, *http.Response, error)

TranslationMemoryApiService Get translation memory

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param transMemoryId

@return TransMemoryDto

func (*TranslationMemoryApiService) GetTranslationResources ¶

func (a *TranslationMemoryApiService) GetTranslationResources(ctx context.Context, projectUid string, jobUid string) (TranslationResourcesDto, *http.Response, error)

TranslationMemoryApiService Get translation resources

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectUid
  • @param jobUid

@return TranslationResourcesDto

func (*TranslationMemoryApiService) ImportTransMemory ¶

func (a *TranslationMemoryApiService) ImportTransMemory(ctx context.Context, transMemoryId int64, contentDisposition string, localVarOptionals *TranslationMemoryApiImportTransMemoryOpts) (ImportResponse, *http.Response, error)

func (*TranslationMemoryApiService) InsertToTransMemory ¶

func (a *TranslationMemoryApiService) InsertToTransMemory(ctx context.Context, transMemoryId int64, localVarOptionals *TranslationMemoryApiInsertToTransMemoryOpts) (*http.Response, error)

func (*TranslationMemoryApiService) ListTransMemories ¶

func (*TranslationMemoryApiService) Search ¶

func (*TranslationMemoryApiService) SearchByJob ¶

func (*TranslationMemoryApiService) SearchByJob3 ¶

func (*TranslationMemoryApiService) SearchSegment ¶

func (*TranslationMemoryApiService) SearchSegmentByJob ¶

func (a *TranslationMemoryApiService) SearchSegmentByJob(ctx context.Context, projectUid string, jobUid string, localVarOptionals *TranslationMemoryApiSearchSegmentByJobOpts) (SearchResponseListTmDto, *http.Response, error)

func (*TranslationMemoryApiService) SetProjectTemplateTransMemories ¶

func (*TranslationMemoryApiService) UpdateTranslation ¶

func (a *TranslationMemoryApiService) UpdateTranslation(ctx context.Context, transMemoryId int64, segmentId string, localVarOptionals *TranslationMemoryApiUpdateTranslationOpts) (*http.Response, error)

func (*TranslationMemoryApiService) WildCardSearchByJob ¶

func (a *TranslationMemoryApiService) WildCardSearchByJob(ctx context.Context, projectUid string, jobUid string, localVarOptionals *TranslationMemoryApiWildCardSearchByJobOpts) (SearchResponseListTmDto, *http.Response, error)

func (*TranslationMemoryApiService) WildCardSearchByJob2 ¶

func (*TranslationMemoryApiService) WildCardSearchByJob3 ¶

func (*TranslationMemoryApiService) WildcardSearch ¶

type TranslationMemoryApiSetProjectTemplateTransMemoriesOpts ¶

type TranslationMemoryApiSetProjectTemplateTransMemoriesOpts struct {
	Body optional.Interface
}

type TranslationMemoryApiUpdateTranslationOpts ¶

type TranslationMemoryApiUpdateTranslationOpts struct {
	Body optional.Interface
}

type TranslationMemoryApiWildCardSearchByJob2Opts ¶

type TranslationMemoryApiWildCardSearchByJob2Opts struct {
	Body optional.Interface
}

type TranslationMemoryApiWildCardSearchByJob3Opts ¶

type TranslationMemoryApiWildCardSearchByJob3Opts struct {
	Body optional.Interface
}

type TranslationMemoryApiWildCardSearchByJobOpts ¶

type TranslationMemoryApiWildCardSearchByJobOpts struct {
	Body optional.Interface
}

type TranslationMemoryApiWildcardSearchOpts ¶

type TranslationMemoryApiWildcardSearchOpts struct {
	Body optional.Interface
}

type TranslationPriceDto ¶

type TranslationPriceDto struct {
	WorkflowStep *WorkflowStepDto `json:"workflowStep,omitempty"`
	Price        float64          `json:"price,omitempty"`
}

connection between language pair and workflow steps, contains price

type TranslationPriceListCreateDto ¶

type TranslationPriceListCreateDto struct {
	Name         string `json:"name"`
	CurrencyCode string `json:"currencyCode,omitempty"`
	// Default: Word
	BillingUnit string `json:"billingUnit,omitempty"`
}

type TranslationPriceListDto ¶

type TranslationPriceListDto struct {
	Id           string                   `json:"id,omitempty"`
	DateCreated  time.Time                `json:"dateCreated,omitempty"`
	Name         string                   `json:"name"`
	CurrencyCode string                   `json:"currencyCode,omitempty"`
	BillingUnit  string                   `json:"billingUnit,omitempty"`
	PriceSets    []TranslationPriceSetDto `json:"priceSets,omitempty"`
}

Price list with set of prices for language pairs

type TranslationPriceSetBulkDeleteDto ¶

type TranslationPriceSetBulkDeleteDto struct {
	SourceLanguages []string `json:"sourceLanguages,omitempty"`
	TargetLanguages []string `json:"targetLanguages,omitempty"`
}

type TranslationPriceSetBulkMinimumPricesDto ¶

type TranslationPriceSetBulkMinimumPricesDto struct {
	SourceLanguages []string `json:"sourceLanguages,omitempty"`
	TargetLanguages []string `json:"targetLanguages,omitempty"`
	MinimumPrice    float64  `json:"minimumPrice,omitempty"`
}

type TranslationPriceSetBulkPricesDto ¶

type TranslationPriceSetBulkPricesDto struct {
	SourceLanguages []string      `json:"sourceLanguages,omitempty"`
	TargetLanguages []string      `json:"targetLanguages,omitempty"`
	Price           float64       `json:"price,omitempty"`
	WorkflowSteps   []IdReference `json:"workflowSteps,omitempty"`
}

type TranslationPriceSetCreateDto ¶

type TranslationPriceSetCreateDto struct {
	SourceLanguages []string `json:"sourceLanguages"`
	TargetLanguages []string `json:"targetLanguages"`
}

type TranslationPriceSetDto ¶

type TranslationPriceSetDto struct {
	SourceLang   string                `json:"sourceLang,omitempty"`
	TargetLang   string                `json:"targetLang,omitempty"`
	MinimumPrice float64               `json:"minimumPrice,omitempty"`
	Prices       []TranslationPriceDto `json:"prices,omitempty"`
}

Language pair for translation price list, owns minimalPrice

type TranslationPriceSetListDto ¶

type TranslationPriceSetListDto struct {
	PriceSets []TranslationPriceSetDto `json:"priceSets,omitempty"`
}

type TranslationRequestDto ¶

type TranslationRequestDto struct {
	SourceTexts []string `json:"sourceTexts"`
}

type TranslationRequestExtendedDto ¶

type TranslationRequestExtendedDto struct {
	SourceTexts []string `json:"sourceTexts"`
	From        string   `json:"from"`
	To          string   `json:"to"`
	Filename    string   `json:"filename,omitempty"`
}

type TranslationResourcesDto ¶

type TranslationResourcesDto struct {
	MachineTranslateSettings *MachineTranslateSettingsReference  `json:"machineTranslateSettings,omitempty"`
	TranslationMemories      []ProjectTranslationMemoryReference `json:"translationMemories,omitempty"`
	TermBases                []ProjectTermBaseReference          `json:"termBases,omitempty"`
}

type TtxSettingsDto ¶

type TtxSettingsDto struct {
	// Default: true
	SaveConfirmedSegments bool `json:"saveConfirmedSegments,omitempty"`
}

type TxtSettingsDto ¶

type TxtSettingsDto struct {
	TagRegexp              string `json:"tagRegexp,omitempty"`
	TranslatableTextRegexp string `json:"translatableTextRegexp,omitempty"`
}

type UidReference ¶

type UidReference struct {
	Uid string `json:"uid,omitempty"`
}

type UnmodifiedFuzzyTranslationMtntWarningDto ¶

type UnmodifiedFuzzyTranslationMtntWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
	TransOrigin       string `json:"transOrigin,omitempty"`
}

type UnmodifiedFuzzyTranslationTmWarningDto ¶

type UnmodifiedFuzzyTranslationTmWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
	TransOrigin       string `json:"transOrigin,omitempty"`
}

type UnmodifiedFuzzyTranslationWarningDto ¶

type UnmodifiedFuzzyTranslationWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
	TransOrigin       string `json:"transOrigin,omitempty"`
}

type UnresolvedCommentWarningDto ¶

type UnresolvedCommentWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type UnresolvedConversationWarningDto ¶

type UnresolvedConversationWarningDto struct {
	Id                string `json:"id,omitempty"`
	Ignored           bool   `json:"ignored,omitempty"`
	Type_             string `json:"type,omitempty"`
	RepetitionGroupId string `json:"repetitionGroupId,omitempty"`
}

type UpdateIgnoredChecksDto ¶

type UpdateIgnoredChecksDto struct {
	Segment      *SegmentReference `json:"segment"`
	WarningTypes []string          `json:"warningTypes"`
}

type UpdateIgnoredSegment ¶

type UpdateIgnoredSegment struct {
	Uid      string                 `json:"uid"`
	Warnings []UpdateIgnoredWarning `json:"warnings"`
}

type UpdateIgnoredWarning ¶

type UpdateIgnoredWarning struct {
	Id string `json:"id"`
}

type UpdateIgnoredWarningsDto ¶

type UpdateIgnoredWarningsDto struct {
	Segments []UpdateIgnoredSegment `json:"segments"`
}

type UploadResultDto ¶

type UploadResultDto struct {
	Id          string `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	EncodedName string `json:"encodedName,omitempty"`
	Size        int64  `json:"size,omitempty"`
	Error_      string `json:"error,omitempty"`
}

type UploadedFileDto ¶

type UploadedFileDto struct {
	Uid   string `json:"uid,omitempty"`
	Name  string `json:"name,omitempty"`
	Size  int64  `json:"size,omitempty"`
	Type_ string `json:"type,omitempty"`
}

type User ¶

type User struct {
	Type_     string `json:"type"`
	Id        string `json:"id,omitempty"`
	UserName  string `json:"userName,omitempty"`
	FirstName string `json:"firstName,omitempty"`
	LastName  string `json:"lastName,omitempty"`
	Email     string `json:"email,omitempty"`
	Active    bool   `json:"active,omitempty"`
}

type UserApiCreateUserOpts ¶

type UserApiCreateUserOpts struct {
	Body optional.Interface
}

type UserApiCreateUserV2Opts ¶

type UserApiCreateUserV2Opts struct {
	Body optional.Interface
}

type UserApiGetListOfUsersFilteredOpts ¶

type UserApiGetListOfUsersFilteredOpts struct {
	FirstName      optional.String
	LastName       optional.String
	Name           optional.String
	UserName       optional.String
	Email          optional.String
	Role           optional.Interface
	IncludeDeleted optional.Bool
	PageNumber     optional.Int32
	PageSize       optional.Int32
	Sort           optional.Interface
	Order          optional.Interface
}

type UserApiListAssignedProjectsOpts ¶

type UserApiListAssignedProjectsOpts struct {
	Status         optional.Interface
	TargetLang     optional.Interface
	WorkflowStepId optional.Int64
	DueInHours     optional.Int32
	Filename       optional.String
	ProjectName    optional.String
	PageNumber     optional.Int32
	PageSize       optional.Int32
}

type UserApiListJobsOpts ¶

type UserApiListJobsOpts struct {
	Status         optional.Interface
	ProjectUid     optional.String
	TargetLang     optional.Interface
	WorkflowStepId optional.Int64
	DueInHours     optional.Int32
	Filename       optional.String
	PageNumber     optional.Int32
	PageSize       optional.Int32
}

type UserApiListTargetLangsOpts ¶

type UserApiListTargetLangsOpts struct {
	Status         optional.Interface
	ProjectUid     optional.String
	WorkflowStepId optional.Int64
	DueInHours     optional.Int32
	Filename       optional.String
	PageNumber     optional.Int32
	PageSize       optional.Int32
}

type UserApiListWorkflowStepsOpts ¶

type UserApiListWorkflowStepsOpts struct {
	Status     optional.Interface
	ProjectUid optional.String
	TargetLang optional.Interface
	DueInHours optional.Int32
	Filename   optional.String
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type UserApiService ¶

type UserApiService service

func (*UserApiService) CancelDeletion ¶

func (a *UserApiService) CancelDeletion(ctx context.Context, userId int64) (UserDto, *http.Response, error)

UserApiService Restore user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId

@return UserDto

func (*UserApiService) CreateUser ¶

func (a *UserApiService) CreateUser(ctx context.Context, localVarOptionals *UserApiCreateUserOpts) (UserDetailsDto, *http.Response, error)

func (*UserApiService) CreateUserV2 ¶

func (a *UserApiService) CreateUserV2(ctx context.Context, localVarOptionals *UserApiCreateUserV2Opts) (UserDetailsDtoV2, *http.Response, error)

func (*UserApiService) DeleteUser1 ¶

func (a *UserApiService) DeleteUser1(ctx context.Context, userId int64) (*http.Response, error)

UserApiService Delete user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId

func (*UserApiService) GetListOfUsersFiltered ¶

func (a *UserApiService) GetListOfUsersFiltered(ctx context.Context, localVarOptionals *UserApiGetListOfUsersFilteredOpts) (PageDtoUserDto, *http.Response, error)

func (*UserApiService) GetUser ¶

func (a *UserApiService) GetUser(ctx context.Context, userId int64) (UserDetailsDto, *http.Response, error)

UserApiService Get user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId

@return UserDetailsDto

func (*UserApiService) GetUserV2 ¶

func (a *UserApiService) GetUserV2(ctx context.Context, userId int64) (UserDetailsDtoV2, *http.Response, error)

UserApiService Get user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId

@return UserDetailsDtoV2

func (*UserApiService) ListAssignedProjects ¶

func (a *UserApiService) ListAssignedProjects(ctx context.Context, userId int64, localVarOptionals *UserApiListAssignedProjectsOpts) (PageDtoProjectReference, *http.Response, error)

func (*UserApiService) ListJobs ¶

func (a *UserApiService) ListJobs(ctx context.Context, userId int64, localVarOptionals *UserApiListJobsOpts) (PageDtoAssignedJobDto, *http.Response, error)

func (*UserApiService) ListTargetLangs ¶

func (a *UserApiService) ListTargetLangs(ctx context.Context, userId int64, localVarOptionals *UserApiListTargetLangsOpts) (PageDtoString, *http.Response, error)

func (*UserApiService) ListWorkflowSteps ¶

func (a *UserApiService) ListWorkflowSteps(ctx context.Context, userId int64, localVarOptionals *UserApiListWorkflowStepsOpts) (PageDtoWorkflowStepReference, *http.Response, error)

func (*UserApiService) LoginActivity ¶

func (a *UserApiService) LoginActivity(ctx context.Context, userId int64) (UserStatisticsListDto, *http.Response, error)

UserApiService Login statistics

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId

@return UserStatisticsListDto

func (*UserApiService) SendLoginInfo ¶

func (a *UserApiService) SendLoginInfo(ctx context.Context, userId int64) (*http.Response, error)

UserApiService Send login information

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId

func (*UserApiService) UpdatePassword ¶

func (a *UserApiService) UpdatePassword(ctx context.Context, userId int64, localVarOptionals *UserApiUpdatePasswordOpts) (*http.Response, error)

func (*UserApiService) UpdateUser ¶

func (a *UserApiService) UpdateUser(ctx context.Context, userId int64, localVarOptionals *UserApiUpdateUserOpts) (UserDetailsDto, *http.Response, error)

func (*UserApiService) UpdateUserV2 ¶

func (a *UserApiService) UpdateUserV2(ctx context.Context, userId int64, localVarOptionals *UserApiUpdateUserV2Opts) (UserDetailsDtoV2, *http.Response, error)

func (*UserApiService) UserLastLogins ¶

func (a *UserApiService) UserLastLogins(ctx context.Context, localVarOptionals *UserApiUserLastLoginsOpts) (PageDtoLastLoginDto, *http.Response, error)

type UserApiUpdatePasswordOpts ¶

type UserApiUpdatePasswordOpts struct {
	Body optional.Interface
}

type UserApiUpdateUserOpts ¶

type UserApiUpdateUserOpts struct {
	Body optional.Interface
}

type UserApiUpdateUserV2Opts ¶

type UserApiUpdateUserV2Opts struct {
	Body optional.Interface
}

type UserApiUserLastLoginsOpts ¶

type UserApiUserLastLoginsOpts struct {
	UserName   optional.String
	Role       optional.Interface
	Sort       optional.Interface
	Order      optional.Interface
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type UserCreateDto ¶

type UserCreateDto struct {
	UserName  string `json:"userName"`
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
	Email     string `json:"email"`
	Password  string `json:"password"`
	Role      string `json:"role"`
	Timezone  string `json:"timezone"`
	Note      string `json:"note,omitempty"`
	// Default: false
	Terminologist        bool          `json:"terminologist,omitempty"`
	SourceLangs          []string      `json:"sourceLangs,omitempty"`
	TargetLangs          []string      `json:"targetLangs,omitempty"`
	WorkflowSteps        []IdReference `json:"workflowSteps,omitempty"`
	Clients              []IdReference `json:"clients,omitempty"`
	Domains              []IdReference `json:"domains,omitempty"`
	SubDomains           []IdReference `json:"subDomains,omitempty"`
	ProjectBusinessUnits []IdReference `json:"projectBusinessUnits,omitempty"`
}

type UserCreateDtoV2 ¶

type UserCreateDtoV2 struct {
	UserName  string `json:"userName"`
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
	Email     string `json:"email"`
	Password  string `json:"password"`
	Role      string `json:"role"`
	Timezone  string `json:"timezone"`
	Note      string `json:"note,omitempty"`
	// In previous version as terminologist. Default: false
	MayEditApprovedTerms bool `json:"mayEditApprovedTerms,omitempty"`
	// Default: false
	MayRejectJobs bool `json:"mayRejectJobs,omitempty"`
	// Applies only to Linguist or Guest. Default: true
	EditorMachineTranslateEnabled bool `json:"editorMachineTranslateEnabled,omitempty"`
	// Default: true
	ReceiveNewsletter bool `json:"receiveNewsletter,omitempty"`
	// Default: false
	MayEditTranslationMemory bool          `json:"mayEditTranslationMemory,omitempty"`
	SourceLangs              []string      `json:"sourceLangs,omitempty"`
	TargetLangs              []string      `json:"targetLangs,omitempty"`
	WorkflowSteps            []IdReference `json:"workflowSteps,omitempty"`
	Clients                  []IdReference `json:"clients,omitempty"`
	Domains                  []IdReference `json:"domains,omitempty"`
	SubDomains               []IdReference `json:"subDomains,omitempty"`
	ProjectBusinessUnits     []IdReference `json:"projectBusinessUnits,omitempty"`
}

type UserDetailsDto ¶

type UserDetailsDto struct {
	Id          string         `json:"id,omitempty"`
	UserName    string         `json:"userName,omitempty"`
	FirstName   string         `json:"firstName,omitempty"`
	LastName    string         `json:"lastName,omitempty"`
	Email       string         `json:"email,omitempty"`
	DateCreated time.Time      `json:"dateCreated,omitempty"`
	DateDeleted time.Time      `json:"dateDeleted,omitempty"`
	CreatedBy   *UserReference `json:"createdBy,omitempty"`
	Role        string         `json:"role,omitempty"`
	Timezone    string         `json:"timezone,omitempty"`
	Note        string         `json:"note,omitempty"`
	// Default: false
	Terminologist        bool                     `json:"terminologist,omitempty"`
	SourceLangs          []string                 `json:"sourceLangs,omitempty"`
	TargetLangs          []string                 `json:"targetLangs,omitempty"`
	WorkflowSteps        []WorkflowStepReference  `json:"workflowSteps,omitempty"`
	Clients              []ClientReference        `json:"clients,omitempty"`
	Domains              []DomainReference        `json:"domains,omitempty"`
	SubDomains           []SubDomainReference     `json:"subDomains,omitempty"`
	ProjectBusinessUnits []BusinessUnitReference  `json:"projectBusinessUnits,omitempty"`
	Organization         *IdReference             `json:"organization,omitempty"`
	PriceList            *PriceListReference      `json:"priceList,omitempty"`
	NetRateScheme        *DiscountSchemeReference `json:"netRateScheme,omitempty"`
	Active               bool                     `json:"active,omitempty"`
}

User with all belonging objects

type UserDetailsDtoV2 ¶

type UserDetailsDtoV2 struct {
	Id          string         `json:"id,omitempty"`
	UserName    string         `json:"userName,omitempty"`
	FirstName   string         `json:"firstName,omitempty"`
	LastName    string         `json:"lastName,omitempty"`
	Email       string         `json:"email,omitempty"`
	DateCreated time.Time      `json:"dateCreated,omitempty"`
	DateDeleted time.Time      `json:"dateDeleted,omitempty"`
	CreatedBy   *UserReference `json:"createdBy,omitempty"`
	Role        string         `json:"role,omitempty"`
	Timezone    string         `json:"timezone,omitempty"`
	Note        string         `json:"note,omitempty"`
	// Default: false
	MayEditApprovedTerms bool `json:"mayEditApprovedTerms,omitempty"`
	// Default: false
	MayRejectJobs bool `json:"mayRejectJobs,omitempty"`
	// Default: true
	EditorMachineTranslateEnabled bool `json:"editorMachineTranslateEnabled,omitempty"`
	// Default: true
	ReceiveNewsletter bool `json:"receiveNewsletter,omitempty"`
	// Default: false
	MayEditTranslationMemory bool                     `json:"mayEditTranslationMemory,omitempty"`
	SourceLangs              []string                 `json:"sourceLangs,omitempty"`
	TargetLangs              []string                 `json:"targetLangs,omitempty"`
	WorkflowSteps            []WorkflowStepReference  `json:"workflowSteps,omitempty"`
	Clients                  []ClientReference        `json:"clients,omitempty"`
	Domains                  []DomainReference        `json:"domains,omitempty"`
	SubDomains               []SubDomainReference     `json:"subDomains,omitempty"`
	ProjectBusinessUnits     []BusinessUnitReference  `json:"projectBusinessUnits,omitempty"`
	Organization             *IdReference             `json:"organization,omitempty"`
	PriceList                *PriceListReference      `json:"priceList,omitempty"`
	NetRateScheme            *DiscountSchemeReference `json:"netRateScheme,omitempty"`
	AutomationWidgets        []JobWidgetReference     `json:"automationWidgets,omitempty"`
	Active                   bool                     `json:"active,omitempty"`
}

User with all belonging objects

type UserDto ¶

type UserDto struct {
	Id            string                   `json:"id,omitempty"`
	UserName      string                   `json:"userName,omitempty"`
	FirstName     string                   `json:"firstName,omitempty"`
	LastName      string                   `json:"lastName,omitempty"`
	Email         string                   `json:"email,omitempty"`
	DateCreated   time.Time                `json:"dateCreated,omitempty"`
	DateDeleted   time.Time                `json:"dateDeleted,omitempty"`
	CreatedBy     *UserReference           `json:"createdBy,omitempty"`
	Role          string                   `json:"role,omitempty"`
	Timezone      string                   `json:"timezone,omitempty"`
	Note          string                   `json:"note,omitempty"`
	Terminologist bool                     `json:"terminologist,omitempty"`
	SourceLangs   []string                 `json:"sourceLangs,omitempty"`
	TargetLangs   []string                 `json:"targetLangs,omitempty"`
	Active        bool                     `json:"active,omitempty"`
	PriceList     *PriceListReference      `json:"priceList,omitempty"`
	NetRateScheme *DiscountSchemeReference `json:"netRateScheme,omitempty"`
}

type UserEditDto ¶

type UserEditDto struct {
	UserName  string `json:"userName"`
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
	Email     string `json:"email"`
	Role      string `json:"role"`
	Timezone  string `json:"timezone"`
	Note      string `json:"note,omitempty"`
	// Default: false
	Terminologist bool     `json:"terminologist,omitempty"`
	SourceLangs   []string `json:"sourceLangs,omitempty"`
	TargetLangs   []string `json:"targetLangs,omitempty"`
	// Default: true
	Active               bool          `json:"active,omitempty"`
	WorkflowSteps        []IdReference `json:"workflowSteps,omitempty"`
	Clients              []IdReference `json:"clients,omitempty"`
	Domains              []IdReference `json:"domains,omitempty"`
	SubDomains           []IdReference `json:"subDomains,omitempty"`
	ProjectBusinessUnits []IdReference `json:"projectBusinessUnits,omitempty"`
}

User object to update. Optional empty fields will be set to null

type UserEditDtoV2 ¶

type UserEditDtoV2 struct {
	UserName  string `json:"userName"`
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
	Email     string `json:"email"`
	Role      string `json:"role"`
	Timezone  string `json:"timezone"`
	Note      string `json:"note,omitempty"`
	// In previous version as terminologist. Default: false
	MayEditApprovedTerms bool `json:"mayEditApprovedTerms,omitempty"`
	// Default: false
	MayRejectJobs bool `json:"mayRejectJobs,omitempty"`
	// Applies only to Linguist or Guest. Default: true
	EditorMachineTranslateEnabled bool `json:"editorMachineTranslateEnabled,omitempty"`
	// Default: true
	ReceiveNewsletter bool `json:"receiveNewsletter,omitempty"`
	// Default: false
	MayEditTranslationMemory bool     `json:"mayEditTranslationMemory,omitempty"`
	SourceLangs              []string `json:"sourceLangs,omitempty"`
	TargetLangs              []string `json:"targetLangs,omitempty"`
	// Default: true
	Active               bool          `json:"active,omitempty"`
	WorkflowSteps        []IdReference `json:"workflowSteps,omitempty"`
	Clients              []IdReference `json:"clients,omitempty"`
	Domains              []IdReference `json:"domains,omitempty"`
	SubDomains           []IdReference `json:"subDomains,omitempty"`
	ProjectBusinessUnits []IdReference `json:"projectBusinessUnits,omitempty"`
	// Applies only to Submitters, where it must contain at least one assigned automation widget
	AutomationWidgets []IdReference `json:"automationWidgets,omitempty"`
}

User object to update. Optional empty fields will be set to null

type UserPasswordEditDto ¶

type UserPasswordEditDto struct {
	Password string `json:"password"`
}

type UserReference ¶

type UserReference struct {
	FirstName string `json:"firstName,omitempty"`
	LastName  string `json:"lastName,omitempty"`
	UserName  string `json:"userName,omitempty"`
	Email     string `json:"email,omitempty"`
	Role      string `json:"role,omitempty"`
	Id        string `json:"id,omitempty"`
	Uid       string `json:"uid,omitempty"`
}

type UserStatisticsDto ¶

type UserStatisticsDto struct {
	Date      time.Time `json:"date,omitempty"`
	IpAddress string    `json:"ipAddress,omitempty"`
	IpCountry string    `json:"ipCountry,omitempty"`
	UserAgent string    `json:"userAgent,omitempty"`
}

user login statistics

type UserStatisticsListDto ¶

type UserStatisticsListDto struct {
	UserStatistics []UserStatisticsDto `json:"userStatistics"`
}

envelope for user statistics

type Vendor ¶

type Vendor struct {
	Uid         string                   `json:"uid,omitempty"`
	InternalId  int32                    `json:"internalId,omitempty"`
	Id          string                   `json:"id,omitempty"`
	Name        string                   `json:"name,omitempty"`
	DateCreated time.Time                `json:"dateCreated,omitempty"`
	Domain      *DomainReference         `json:"domain,omitempty"`
	SubDomain   *SubDomainReference      `json:"subDomain,omitempty"`
	Owner       *UserReference           `json:"owner,omitempty"`
	SourceLang  string                   `json:"sourceLang,omitempty"`
	TargetLangs []string                 `json:"targetLangs,omitempty"`
	References  []ReferenceFileReference `json:"references,omitempty"`
	// Response differs based on user's role
	UserRole string `json:"userRole,omitempty"`
	// Default: false
	Shared        bool                   `json:"shared,omitempty"`
	Progress      *ProgressDto           `json:"progress,omitempty"`
	Client        *ClientReference       `json:"client,omitempty"`
	CostCenter    *CostCenterReference   `json:"costCenter,omitempty"`
	BusinessUnit  *BusinessUnitReference `json:"businessUnit,omitempty"`
	DateDue       time.Time              `json:"dateDue,omitempty"`
	Status        string                 `json:"status,omitempty"`
	PurchaseOrder string                 `json:"purchaseOrder,omitempty"`
	// Default: false
	IsPublishedOnJobBoard     bool                             `json:"isPublishedOnJobBoard,omitempty"`
	Note                      string                           `json:"note,omitempty"`
	CreatedBy                 *UserReference                   `json:"createdBy,omitempty"`
	QualityAssuranceSettings  *IdReference                     `json:"qualityAssuranceSettings,omitempty"`
	WorkflowSteps             []ProjectWorkflowStepDto         `json:"workflowSteps,omitempty"`
	AnalyseSettings           *IdReference                     `json:"analyseSettings,omitempty"`
	AccessSettings            *IdReference                     `json:"accessSettings,omitempty"`
	FinancialSettings         *IdReference                     `json:"financialSettings,omitempty"`
	MtSettingsPerLanguageList []MtSettingsPerLanguageReference `json:"mtSettingsPerLanguageList,omitempty"`
	BuyerOwner                *User                            `json:"buyerOwner,omitempty"`
	Buyer                     *BuyerReference                  `json:"buyer,omitempty"`
}

type VendorApiListDiscoveredOpts ¶

type VendorApiListDiscoveredOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type VendorApiListVendorsOpts ¶

type VendorApiListVendorsOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type VendorApiService ¶

type VendorApiService service

func (*VendorApiService) GetVendor ¶

func (a *VendorApiService) GetVendor(ctx context.Context, vendorId int64) (VendorDto, *http.Response, error)

VendorApiService Get vendor

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vendorId

@return VendorDto

func (*VendorApiService) ListDiscovered ¶

func (*VendorApiService) ListVendors ¶

func (a *VendorApiService) ListVendors(ctx context.Context, localVarOptionals *VendorApiListVendorsOpts) (PageDtoVendorDto, *http.Response, error)

type VendorDto ¶

type VendorDto struct {
	Id            string                   `json:"id,omitempty"`
	Name          string                   `json:"name,omitempty"`
	VendorToken   string                   `json:"vendorToken,omitempty"`
	PriceList     *PriceListReference      `json:"priceList,omitempty"`
	NetRateScheme *DiscountSchemeReference `json:"netRateScheme,omitempty"`
}

type VendorReference ¶

type VendorReference struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type Void ¶

type Void struct {
	Type_     string `json:"type"`
	Name      string `json:"name"`
	Ignorable bool   `json:"ignorable,omitempty"`
	Enabled   bool   `json:"enabled,omitempty"`
}

type Warning ¶

type Warning struct {
	Id      string `json:"id,omitempty"`
	Ignored bool   `json:"ignored,omitempty"`
	Type_   string `json:"type,omitempty"`
}

type WebEditorLinkDto ¶

type WebEditorLinkDto struct {
	Url      string           `json:"url,omitempty"`
	Warnings []ErrorDetailDto `json:"warnings,omitempty"`
}

type WebEditorLinkDtoV2 ¶

type WebEditorLinkDtoV2 struct {
	Url      string             `json:"url,omitempty"`
	Warnings []ErrorDetailDtoV2 `json:"warnings,omitempty"`
}

type WebHookDto ¶

type WebHookDto struct {
	Id    string `json:"id,omitempty"`
	Url   string `json:"url"`
	Event string `json:"event,omitempty"`
	// Default: false
	Hidden bool `json:"hidden,omitempty"`
}

type WebHookDtoV2 ¶

type WebHookDtoV2 struct {
	Id     string   `json:"id,omitempty"`
	Url    string   `json:"url"`
	Events []string `json:"events,omitempty"`
	// Default: false
	Hidden bool `json:"hidden,omitempty"`
}

type WebhookApiCreateWebHook1Opts ¶

type WebhookApiCreateWebHook1Opts struct {
	Body optional.Interface
}

type WebhookApiCreateWebHookOpts ¶

type WebhookApiCreateWebHookOpts struct {
	Body optional.Interface
}

type WebhookApiGetWebHookList1Opts ¶

type WebhookApiGetWebHookList1Opts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type WebhookApiGetWebHookListOpts ¶

type WebhookApiGetWebHookListOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type WebhookApiService ¶

type WebhookApiService service

func (*WebhookApiService) CreateWebHook ¶

func (a *WebhookApiService) CreateWebHook(ctx context.Context, localVarOptionals *WebhookApiCreateWebHookOpts) (WebHookDto, *http.Response, error)

func (*WebhookApiService) CreateWebHook1 ¶

func (a *WebhookApiService) CreateWebHook1(ctx context.Context, localVarOptionals *WebhookApiCreateWebHook1Opts) (WebHookDtoV2, *http.Response, error)

func (*WebhookApiService) DeleteWebHook ¶

func (a *WebhookApiService) DeleteWebHook(ctx context.Context, webHookId int64) (*http.Response, error)

WebhookApiService Delete webhook

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param webHookId

func (*WebhookApiService) DeleteWebHook1 ¶

func (a *WebhookApiService) DeleteWebHook1(ctx context.Context, webHookId int64) (*http.Response, error)

WebhookApiService Delete webhook

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param webHookId

func (*WebhookApiService) GetWebHook ¶

func (a *WebhookApiService) GetWebHook(ctx context.Context, webHookId int64) (WebHookDto, *http.Response, error)

WebhookApiService Get webhook

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param webHookId

@return WebHookDto

func (*WebhookApiService) GetWebHook1 ¶

func (a *WebhookApiService) GetWebHook1(ctx context.Context, webHookId int64) (WebHookDtoV2, *http.Response, error)

WebhookApiService Get webhook

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param webHookId

@return WebHookDtoV2

func (*WebhookApiService) GetWebHookList ¶

func (a *WebhookApiService) GetWebHookList(ctx context.Context, localVarOptionals *WebhookApiGetWebHookListOpts) (PageDtoWebHookDto, *http.Response, error)

func (*WebhookApiService) GetWebHookList1 ¶

func (a *WebhookApiService) GetWebHookList1(ctx context.Context, localVarOptionals *WebhookApiGetWebHookList1Opts) (PageDtoWebHookDtoV2, *http.Response, error)

func (*WebhookApiService) UpdateWebHook ¶

func (a *WebhookApiService) UpdateWebHook(ctx context.Context, webHookId int64, localVarOptionals *WebhookApiUpdateWebHookOpts) (WebHookDto, *http.Response, error)

func (*WebhookApiService) UpdateWebHook1 ¶

func (a *WebhookApiService) UpdateWebHook1(ctx context.Context, webHookId int64, localVarOptionals *WebhookApiUpdateWebHook1Opts) (WebHookDtoV2, *http.Response, error)

type WebhookApiUpdateWebHook1Opts ¶

type WebhookApiUpdateWebHook1Opts struct {
	Body optional.Interface
}

type WebhookApiUpdateWebHookOpts ¶

type WebhookApiUpdateWebHookOpts struct {
	Body optional.Interface
}

type WildCardSearchByJobRequestDto ¶

type WildCardSearchByJobRequestDto struct {
	Query         string `json:"query"`
	WorkflowLevel int32  `json:"workflowLevel,omitempty"`
	// Default: false
	Reverse bool  `json:"reverse,omitempty"`
	Count   int32 `json:"count,omitempty"`
	Offset  int32 `json:"offset,omitempty"`
}

type WildCardSearchByJobRequestDtoV2 ¶

type WildCardSearchByJobRequestDtoV2 struct {
	Query         string `json:"query"`
	WorkflowLevel int32  `json:"workflowLevel,omitempty"`
	// Default: false
	Reverse bool  `json:"reverse,omitempty"`
	Count   int32 `json:"count,omitempty"`
	Offset  int32 `json:"offset,omitempty"`
}

type WildCardSearchByJobRequestDtoV3 ¶

type WildCardSearchByJobRequestDtoV3 struct {
	Query string `json:"query"`
	// Default: false
	Reverse bool  `json:"reverse,omitempty"`
	Count   int32 `json:"count,omitempty"`
	Offset  int32 `json:"offset,omitempty"`
}

type WildCardSearchRequestDto ¶

type WildCardSearchRequestDto struct {
	Query       string   `json:"query"`
	SourceLang  string   `json:"sourceLang"`
	TargetLangs []string `json:"targetLangs,omitempty"`
	Count       int32    `json:"count,omitempty"`
	Offset      int32    `json:"offset,omitempty"`
	SourceLangs []string `json:"sourceLangs,omitempty"`
}

type WorkflowChangesApiDownloadWorkflowChangesOpts ¶

type WorkflowChangesApiDownloadWorkflowChangesOpts struct {
	Body optional.Interface
}

type WorkflowChangesApiService ¶

type WorkflowChangesApiService service

func (*WorkflowChangesApiService) DownloadWorkflowChanges ¶

func (a *WorkflowChangesApiService) DownloadWorkflowChanges(ctx context.Context, localVarOptionals *WorkflowChangesApiDownloadWorkflowChangesOpts) (Response, *http.Response, error)

type WorkflowChangesDto ¶

type WorkflowChangesDto struct {
	Jobs []UidReference `json:"jobs"`
}

type WorkflowStepApiListWFStepsOpts ¶

type WorkflowStepApiListWFStepsOpts struct {
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type WorkflowStepApiListWorkflowStepsOpts ¶

type WorkflowStepApiListWorkflowStepsOpts struct {
	Status     optional.Interface
	ProjectUid optional.String
	TargetLang optional.Interface
	DueInHours optional.Int32
	Filename   optional.String
	PageNumber optional.Int32
	PageSize   optional.Int32
}

type WorkflowStepApiService ¶

type WorkflowStepApiService service

func (*WorkflowStepApiService) ListWFSteps ¶

func (*WorkflowStepApiService) ListWorkflowSteps ¶

type WorkflowStepDto ¶

type WorkflowStepDto struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
	Abbr string `json:"abbr,omitempty"`
}

type WorkflowStepReference ¶

type WorkflowStepReference struct {
	Name  string `json:"name,omitempty"`
	Id    string `json:"id,omitempty"`
	Order int32  `json:"order,omitempty"`
}

type WorkflowStepSettingsDto ¶

type WorkflowStepSettingsDto struct {
	WorkflowStep   *WorkflowStepReference                         `json:"workflowStep,omitempty"`
	AssignedTo     []ProjectTemplateWorkflowSettingsAssignedToDto `json:"assignedTo,omitempty"`
	NotifyProvider *ProjectTemplateNotifyProviderDto              `json:"notifyProvider,omitempty"`
}

type WorkflowStepSettingsEditDto ¶

type WorkflowStepSettingsEditDto struct {
	WorkflowStep   *IdReference                                   `json:"workflowStep,omitempty"`
	AssignedTo     []ProjectTemplateWorkflowSettingsAssignedToDto `json:"assignedTo,omitempty"`
	NotifyProvider *ProjectTemplateNotifyProviderDto              `json:"notifyProvider,omitempty"`
}

type Xlf2SettingsDto ¶

type Xlf2SettingsDto struct {
	// Default: true
	ImportNotes bool `json:"importNotes,omitempty"`
	// Default: true
	SaveConfirmedSegments bool `json:"saveConfirmedSegments,omitempty"`
	// Default: true
	Segmentation bool `json:"segmentation,omitempty"`
	// Default: false
	LineBreakTags bool `json:"lineBreakTags,omitempty"`
	// Default: true
	PreserveWhitespace bool `json:"preserveWhitespace,omitempty"`
	// Default: true
	CopySourceToTargetIfNotImported bool `json:"copySourceToTargetIfNotImported,omitempty"`
	// Default: true
	RespectTranslateAttr bool   `json:"respectTranslateAttr,omitempty"`
	SkipImportRules      string `json:"skipImportRules,omitempty"`
	// Default: state=final
	ImportAsConfirmedRules string `json:"importAsConfirmedRules,omitempty"`
	ImportAsLockedRules    string `json:"importAsLockedRules,omitempty"`
	// Default: state=final
	ExportAttrsWhenConfirmedAndLocked string `json:"exportAttrsWhenConfirmedAndLocked,omitempty"`
	// Default: state=final
	ExportAttrsWhenConfirmedAndNotLocked    string `json:"exportAttrsWhenConfirmedAndNotLocked,omitempty"`
	ExportAttrsWhenNotConfirmedAndLocked    string `json:"exportAttrsWhenNotConfirmedAndLocked,omitempty"`
	ExportAttrsWhenNotConfirmedAndNotLocked string `json:"exportAttrsWhenNotConfirmedAndNotLocked,omitempty"`
	ContextKeyXPath                         string `json:"contextKeyXPath,omitempty"`
}

type XlfSettingsDto ¶

type XlfSettingsDto struct {
	// Default: true
	ImportNotes bool `json:"importNotes,omitempty"`
	// Default: true
	Segmentation bool `json:"segmentation,omitempty"`
	// Default: translate=no; examples: translate=no;approved=no;state=needs-adaptation
	SkipImportRules string `json:"skipImportRules,omitempty"`
	// Multiple rules must be separated by semicolon
	ImportAsConfirmedRules                  string `json:"importAsConfirmedRules,omitempty"`
	ImportAsLockedRules                     string `json:"importAsLockedRules,omitempty"`
	ExportAttrsWhenConfirmedAndLocked       string `json:"exportAttrsWhenConfirmedAndLocked,omitempty"`
	ExportAttrsWhenConfirmedAndNotLocked    string `json:"exportAttrsWhenConfirmedAndNotLocked,omitempty"`
	ExportAttrsWhenNotConfirmedAndLocked    string `json:"exportAttrsWhenNotConfirmedAndLocked,omitempty"`
	ExportAttrsWhenNotConfirmedAndNotLocked string `json:"exportAttrsWhenNotConfirmedAndNotLocked,omitempty"`
	// Default: true
	SaveConfirmedSegments bool `json:"saveConfirmedSegments,omitempty"`
	// Default: false
	LineBreakTags bool `json:"lineBreakTags,omitempty"`
	// Default: true
	PreserveWhitespace bool   `json:"preserveWhitespace,omitempty"`
	ContextType        string `json:"contextType,omitempty"`
	// Default: true
	CopySourceToTargetIfNotImported bool   `json:"copySourceToTargetIfNotImported,omitempty"`
	ImportXPath                     string `json:"importXPath,omitempty"`
	ImportAsConfirmedXPath          string `json:"importAsConfirmedXPath,omitempty"`
	ImportAsLockedXPath             string `json:"importAsLockedXPath,omitempty"`
}

type XlsSettingsDto ¶

type XlsSettingsDto struct {
	// Default: false
	SheetNames bool `json:"sheetNames,omitempty"`
	// Default: false
	Hidden bool `json:"hidden,omitempty"`
	// Default: false
	Comments bool `json:"comments,omitempty"`
	// Default: false
	Other bool `json:"other,omitempty"`
	// Default: DownRight
	CellFlow string `json:"cellFlow,omitempty"`
	// Default: false
	HtmlSubfilter    bool   `json:"htmlSubfilter,omitempty"`
	TagRegexp        string `json:"tagRegexp,omitempty"`
	SpecifiedColumns string `json:"specifiedColumns,omitempty"`
}

type XmlSettingsDto ¶

type XmlSettingsDto struct {
	// Default: PLAIN
	RulesFormat string `json:"rulesFormat,omitempty"`
	// Default: *, example: \"para,heading\"
	IncludeElementsPlain string `json:"includeElementsPlain,omitempty"`
	// Example: \"script,par\"
	ExcludeElementsPlain string `json:"excludeElementsPlain,omitempty"`
	// Example: \"title\"
	IncludeAttributesPlain string `json:"includeAttributesPlain,omitempty"`
	// Example: \"lang,href\"
	ExcludeAttributesPlain string `json:"excludeAttributesPlain,omitempty"`
	// Example: \"tt,b\"
	InlineElementsNonTranslatablePlain string `json:"inlineElementsNonTranslatablePlain,omitempty"`
	InlineElementsPlain                string `json:"inlineElementsPlain,omitempty"`
	// Default: false
	InlineElementsAutoPlain bool `json:"inlineElementsAutoPlain,omitempty"`
	// Example: \"tt,b\"
	HtmlSubfilterElementsPlain         string `json:"htmlSubfilterElementsPlain,omitempty"`
	Entities                           bool   `json:"entities,omitempty"`
	LockElementsPlain                  string `json:"lockElementsPlain,omitempty"`
	LockAttributesPlain                string `json:"lockAttributesPlain,omitempty"`
	IncludeXPath                       string `json:"includeXPath,omitempty"`
	InlineElementsXpath                string `json:"inlineElementsXpath,omitempty"`
	InlineElementsNonTranslatableXPath string `json:"inlineElementsNonTranslatableXPath,omitempty"`
	InlineElementsAutoXPath            bool   `json:"inlineElementsAutoXPath,omitempty"`
	HtmlSubfilterElementsXpath         string `json:"htmlSubfilterElementsXpath,omitempty"`
	LockXPath                          string `json:"lockXPath,omitempty"`
	// Default: true
	Segmentation            bool   `json:"segmentation,omitempty"`
	TagRegexp               string `json:"tagRegexp,omitempty"`
	ContextNoteXpath        string `json:"contextNoteXpath,omitempty"`
	MaxLenXPath             string `json:"maxLenXPath,omitempty"`
	PreserveWhitespaceXPath string `json:"preserveWhitespaceXPath,omitempty"`
	PreserveCharEntities    string `json:"preserveCharEntities,omitempty"`
	ContextKeyXPath         string `json:"contextKeyXPath,omitempty"`
	XslUrl                  string `json:"xslUrl,omitempty"`
	// Default: true
	ImportComments bool `json:"importComments,omitempty"`
}

type YamlSettingsDto ¶

type YamlSettingsDto struct {
	// Default: false
	HtmlSubFilter      bool   `json:"htmlSubFilter,omitempty"`
	TagRegexp          string `json:"tagRegexp,omitempty"`
	IncludeKeyRegexp   string `json:"includeKeyRegexp,omitempty"`
	ExcludeValueRegexp string `json:"excludeValueRegexp,omitempty"`
	ContextPath        string `json:"contextPath,omitempty"`
	ContextKeyPath     string `json:"contextKeyPath,omitempty"`
}

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL