UNPKG

@eddye68/studio-client

Version:

The AWS service Studio client

722 lines (689 loc) 20.8 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/model/wfl/index.ts var wfl_exports = {}; __export(wfl_exports, { Attachment: () => Attachment, BasicMetaData: () => BasicMetaData, Category: () => Category, ContentMetaData: () => ContentMetaData, Edition: () => Edition, EditionRenditionsInfo: () => EditionRenditionsInfo, Element: () => Element, ExtraMetaData: () => ExtraMetaData, InDesignArticle: () => InDesignArticle, Issue: () => Issue, Message: () => Message, MessageList: () => MessageList, MetaData: () => MetaData, MetaDataValue: () => MetaDataValue, ObjectInfo: () => ObjectInfo, ObjectLabel: () => ObjectLabel, ObjectOperation: () => ObjectOperation, Page: () => Page, Param: () => Param, Placement: () => Placement, PropertyValue: () => PropertyValue, PubChannel: () => PubChannel, Publication: () => Publication, Relation: () => Relation, RelationType: () => RelationType, RenditionTypeInfo: () => RenditionTypeInfo, RightsMetaData: () => RightsMetaData, SourceMetaData: () => SourceMetaData, State: () => State, StickyInfo: () => StickyInfo, Target: () => Target, WflObject: () => WflObject, WorkflowMetaData: () => WorkflowMetaData }); module.exports = __toCommonJS(wfl_exports); // src/model/wfl/attachment.ts var Attachment = class { constructor(params) { this.__classname__ = "Attachment"; this.Rendition = null; this.Type = null; this.Content = null; this.FilePath = null; this.FileUrl = null; this.EditionId = null; this.ContentSourceFileLink = null; this.ContentSourceProxyLink = null; this.Rendition = params.Rendition ?? null; this.Type = params.Type ?? null; this.Content = params.Content ?? null; this.FilePath = params.FilePath ?? null; this.FileUrl = params.FileUrl ?? null; this.EditionId = params.EditionId ?? null; this.ContentSourceFileLink = params.ContentSourceFileLink ?? null; this.ContentSourceProxyLink = params.ContentSourceProxyLink ?? null; } }; // src/model/wfl/basic-metadata.ts var BasicMetaData = class { constructor(params) { this.__classname__ = "BasicMetaData"; this.ID = null; this.DocumentID = null; this.Name = null; this.Type = null; this.Publication = null; this.Category = null; this.ContentSource = null; this.MasterId = null; this.StoryId = null; this.ID = params.ID ?? null; this.DocumentID = params.DocumentID ?? null; this.Name = params.Name ?? null; this.Type = params.Type ?? null; this.Publication = params.Publication ?? null; this.Category = params.Category ?? null; this.ContentSource = params.ContentSource ?? null; this.MasterId = params.MasterId ?? null; this.StoryId = params.StoryId ?? null; } }; // src/model/wfl/category.ts var Category = class { constructor(params) { this.__classname__ = "Category"; this.Id = null; this.Name = null; this.Id = params.Id ?? null; this.Name = params.Name ?? null; } }; // src/model/wfl/content-metadata.ts var ContentMetaData = class { constructor(params) { this.__classname__ = "ContentMetaData"; this.Description = null; this.DescriptionAuthor = null; this.Keywords = null; this.Slugline = null; this.Format = null; this.Columns = null; this.Width = null; this.Height = null; this.Dpi = null; this.LengthWords = null; this.LengthChars = null; this.LengthParas = null; this.LengthLines = null; this.PlainContent = null; this.FileSize = null; this.ColorSpace = null; this.HighResFile = null; this.Encoding = null; this.Compression = null; this.KeyFrameEveryFrames = null; this.Channels = null; this.AspectRatio = null; this.Orientation = null; this.Dimensions = null; this.Description = params.Description ?? null; this.DescriptionAuthor = params.DescriptionAuthor ?? null; this.Keywords = params.Keywords ?? null; this.Slugline = params.Slugline ?? null; this.Format = params.Format ?? null; this.Columns = params.Columns ?? null; this.Width = params.Width ?? null; this.Height = params.Height ?? null; this.Dpi = params.Dpi ?? null; this.LengthWords = params.LengthWords ?? null; this.LengthChars = params.LengthChars ?? null; this.LengthParas = params.LengthParas ?? null; this.LengthLines = params.LengthLines ?? null; this.PlainContent = params.PlainContent ?? null; this.FileSize = params.FileSize ?? null; this.ColorSpace = params.ColorSpace ?? null; this.HighResFile = params.HighResFile ?? null; this.Encoding = params.Encoding ?? null; this.Compression = params.Compression ?? null; this.KeyFrameEveryFrames = params.KeyFrameEveryFrames ?? null; this.Channels = params.Channels ?? null; this.AspectRatio = params.AspectRatio ?? null; this.Orientation = params.Orientation ?? null; this.Dimensions = params.Dimensions ?? null; } }; // src/model/wfl/edition-renditions-info.ts var EditionRenditionsInfo = class { constructor($Edition = null, $Renditions = null) { this.__classname__ = "EditionRenditionsInfo"; this.$Edition = null; this.$Renditions = null; this.$Edition = $Edition; this.$Renditions = $Renditions; } }; // src/model/wfl/edition.ts var Edition = class { constructor(Id = null, Name = null) { this.__classname__ = "Edition"; this.Id = null; this.Name = null; this.Id = Id; this.Name = Name; } }; // src/model/wfl/element.ts var Element = class { constructor(ID = null, Name = null, LengthWords = null, LengthChars = null, LengthParas = null, LengthLines = null, Snippet = null, Version = null, Content = null) { this.__classname__ = "Element"; this.ID = null; this.Name = null; this.LengthWords = null; this.LengthChars = null; this.LengthParas = null; this.LengthLines = null; this.Snippet = null; this.Version = null; this.Content = null; this.ID = ID; this.Name = Name; this.LengthWords = LengthWords; this.LengthChars = LengthChars; this.LengthParas = LengthParas; this.LengthLines = LengthLines; this.Snippet = Snippet; this.Version = Version; this.Content = Content; } }; // src/model/wfl/extra-metadata.ts var ExtraMetaData = class { constructor(params) { this.__classname__ = "ExtraMetaData"; this.Property = null; this.Values = null; this.Property = params.Property ?? null; this.Values = params.Values ?? null; } }; // src/model/wfl/indesign-article.ts var InDesignArticle = class { constructor(Id = null, Name = null, SplineIDs = null) { this.__classname__ = "InDesignArticle"; this.Id = null; this.Name = null; this.SplineIDs = null; this.Id = Id; this.Name = Name; this.SplineIDs = SplineIDs; } }; // src/model/wfl/issue.ts var Issue = class { constructor(Id = null, NameId = null, OverrulePublicationId = null) { this.__classname__ = "Issue"; this.Id = null; this.NameId = null; this.OverrulePublicationId = null; this.Id = Id; this.NameId = NameId; this.OverrulePublicationId = OverrulePublicationId; } }; // src/model/wfl/message-list.ts var MessageList = class { constructor(Messages = null, ReadMessageIDs = null, DeleteMessageIDs = null) { this.__classname__ = "MessageList"; this.Messages = null; this.ReadMessageIDs = null; this.DeleteMessageIDs = null; this.Messages = Messages; this.ReadMessageIDs = ReadMessageIDs; this.DeleteMessageIDs = DeleteMessageIDs; } }; // src/model/wfl/message.ts var Message = class { constructor(ObjectID = null, UserID = null, MessageID = null, MessageType = null, MessageTypeDetail = null, Message2 = null, TimeStamp = null, Expiration = null, MessageLevel = null, FromUser = null, StickyInfo2 = null, ThreadMessageID = null, ReplyToMessageID = null, MessageStatus = null, ObjectVersion = null) { this.__classname__ = "Message"; this.ObjectID = null; this.UserID = null; this.MessageID = null; this.MessageType = null; this.MessageTypeDetail = null; this.Message = null; this.TimeStamp = null; this.Expiration = null; this.MessageLevel = null; this.FromUser = null; this.StickyInfo = null; this.ThreadMessageID = null; this.ReplyToMessageID = null; this.MessageStatus = null; this.ObjectVersion = null; this.ObjectID = ObjectID; this.UserID = UserID; this.MessageID = MessageID; this.MessageType = MessageType; this.MessageTypeDetail = MessageTypeDetail; this.Message = Message2; this.TimeStamp = TimeStamp; this.Expiration = Expiration; this.MessageLevel = MessageLevel; this.FromUser = FromUser; this.StickyInfo = StickyInfo2; this.ThreadMessageID = ThreadMessageID; this.ReplyToMessageID = ReplyToMessageID; this.MessageStatus = MessageStatus; this.ObjectVersion = ObjectVersion; } }; // src/model/wfl/metadata-value.ts var MetaDataValue = class { constructor(params) { this.__classname__ = "MetaDataValue"; this.Property = params.Property; this.Values = params.Values ?? null; this.PropertyValues = params.PropertyValues ?? null; } }; // src/model/wfl/metadata.ts var MetaData = class { constructor(params) { this.__classname__ = "MetaData"; this.BasicMetaData = null; this.RightsMetaData = null; this.SourceMetaData = null; this.ContentMetaData = null; this.WorkflowMetaData = null; this.ExtraMetaData = null; this.BasicMetaData = params.BasicMetaData ?? null; this.RightsMetaData = params.RightsMetaData ?? null; this.SourceMetaData = params.SourceMetaData ?? null; this.ContentMetaData = params.ContentMetaData ?? null; this.WorkflowMetaData = params.WorkflowMetaData ?? null; this.ExtraMetaData = params.ExtraMetaData ?? null; } }; // src/model/wfl/object-info.ts var ObjectInfo = class { constructor(ID = null, Name = null, Type = null, Format = null) { this.__classname__ = "ObjectInfo"; this.ID = null; this.Name = null; this.Type = null; this.Format = null; this.ID = ID; this.Name = Name; this.Type = Type; this.Format = Format; } }; // src/model/wfl/object-label.ts var ObjectLabel = class { constructor(Id = null, Name = null) { this.__classname__ = "ObjectLabel"; this.Id = null; this.Name = null; this.Id = Id; this.Name = Name; } }; // src/model/wfl/object-operations.ts var ObjectOperation = class { constructor(Id = null, Name = null, Type = null, Params = null) { this.__classname__ = "ObjectOperation"; this.Id = null; this.Name = null; this.Type = null; this.Params = null; this.Id = Id; this.Name = Name; this.Type = Type; this.Params = Params; } }; // src/model/wfl/page.ts var Page = class { constructor(Width = null, Height = null, PageNumber = null, PageOrder = null, Files = null, Edition2 = null, Master = null, Instance = null, PageSequence = null, Renditions = null, Orientation = null) { this.__classname__ = "Page"; this.Width = null; this.Height = null; this.PageNumber = null; this.PageOrder = null; this.Files = null; this.Edition = null; this.Master = null; this.Instance = null; this.PageSequence = null; this.Renditions = null; this.Orientation = null; this.Width = Width; this.Height = Height; this.PageNumber = PageNumber; this.PageOrder = PageOrder; this.Files = Files; this.Edition = Edition2; this.Master = Master; this.Instance = Instance; this.PageSequence = PageSequence; this.Renditions = Renditions; this.Orientation = Orientation; } }; // src/model/wfl/param.ts var Param = class { constructor(Name = null, Value = null) { this.__classname__ = "Param"; this.Name = null; this.Value = null; this.Name = Name; this.Value = Value; } }; // src/model/wfl/placement.ts var Placement = class { constructor(Id = null, Left = null, Top = null, Width = null, Height = null) { this.__classname__ = "Placement"; this.Id = null; this.Left = null; this.Top = null; this.Width = null; this.Height = null; this.Id = Id; this.Left = Left; this.Top = Top; this.Width = Width; this.Height = Height; } }; // src/model/wfl/property-value.ts var PropertyValue = class { constructor(params) { this.__classname__ = "PropertyValue"; this.Value = params.Value; this.Display = params.Display ?? null; this.Entity = params.Entity ?? null; } }; // src/model/wfl/pub-channel.ts var PubChannel = class { constructor(Id = null, Name = null) { this.__classname__ = "PubChannel"; this.Id = null; this.Name = null; this.Id = Id; this.Name = Name; } }; // src/model/wfl/publication.ts var Publication = class { constructor(params) { this.__classname__ = "Publication"; this.Id = null; this.Name = null; this.Id = params.Id ?? null; this.Name = params.Name ?? null; } }; // src/model/wfl/relation.ts var RelationType = /* @__PURE__ */ ((RelationType2) => { RelationType2["Contained"] = "Contained"; RelationType2["Placed"] = "Placed"; RelationType2["DeletedContained"] = "DeletedContained"; return RelationType2; })(RelationType || {}); var Relation = class { constructor(params) { this.__classname__ = "Relation"; this.Parent = null; this.Child = null; this.Type = null; this.Placements = null; this.ParentVersion = null; this.ChildVersion = null; this.Rating = null; this.Targets = null; this.ParentInfo = null; this.ChildInfo = null; this.ObjectLabels = null; this.Parent = params.Parent ?? null; this.Child = params.Child ?? null; this.Type = params.Type ?? null; this.Placements = params.Placements ?? null; this.ParentVersion = params.ParentVersion ?? null; this.ChildVersion = params.ChildVersion ?? null; this.Rating = params.Rating ?? null; this.Targets = params.Targets ?? null; this.ParentInfo = params.ParentInfo ?? null; this.ChildInfo = params.ChildInfo ?? null; this.ObjectLabels = params.ObjectLabels ?? null; } }; // src/model/wfl/rendition-type-info.ts var RenditionTypeInfo = class { constructor(Rendition = null, Type = null) { this.__classname__ = "RenditionTypeInfo"; this.Rendition = null; this.Type = null; this.Rendition = Rendition; this.Type = Type; } }; // src/model/wfl/rights-metadata.ts var RightsMetaData = class { constructor(params) { this.__classname__ = "RightsMetaData"; this.CopyrightMarked = null; this.Copyright = null; this.CopyrightURL = null; this.CopyrightMarked = params.CopyrightMarked ?? null; this.Copyright = params.Copyright ?? null; this.CopyrightURL = params.CopyrightURL ?? null; } }; // src/model/wfl/source-metadata.ts var SourceMetaData = class { constructor(params) { this.__classname__ = "SourceMetaData"; this.Credit = null; this.Source = null; this.Author = null; this.Credit = params.Credit ?? null; this.Source = params.Source ?? null; this.Author = params.Author ?? null; } }; // src/model/wfl/state.ts var State = class { constructor(Id = null, Name = null, Type = null, Produce = null, Color = null, DefaultRouteTo = null) { this.__classname__ = "State"; this.Id = null; this.Name = null; this.Type = null; this.Produce = null; this.Color = null; this.DefaultRouteTo = null; this.Id = Id; this.Name = Name; this.Type = Type; this.Produce = Produce; this.Color = Color; this.DefaultRouteTo = DefaultRouteTo; } }; // src/model/wfl/sticky-info.ts var StickyInfo = class { constructor(AnchorX = null, AnchorY = null, Left = null, Top = null, Width = null, Height = null, Page2 = null, Version = null, Color = null, PageSequence = null) { this.__classname__ = "StickyInfo"; this.AnchorX = null; this.AnchorY = null; this.Left = null; this.Top = null; this.Width = null; this.Height = null; this.Page = null; this.Version = null; this.Color = null; this.PageSequence = null; this.AnchorX = AnchorX; this.AnchorY = AnchorY; this.Left = Left; this.Top = Top; this.Width = Width; this.Height = Height; this.Page = Page2; this.Version = Version; this.Color = Color; this.PageSequence = PageSequence; } }; // src/model/wfl/target.ts var Target = class { constructor(params) { this.__classname__ = "Target"; this.PubChannel = null; this.Issue = null; this.Editions = null; /** * @deprecated DISCONTINUED since 10.12 */ this.PublishedDate = null; /** * @deprecated DISCONTINUED since 10.12 */ this.PublishedVersion = null; this.PubChannel = params.PubChannel; this.Issue = params.Issue ?? null; this.Editions = params.Editions ?? null; } }; // src/model/wfl/wflobject.ts var WflObject = class { constructor(params) { this.__classname__ = "Object"; this.MetaData = null; this.Relations = null; this.Pages = null; this.Files = null; this.Messages = null; this.Elements = null; this.Targets = null; this.Renditions = null; this.MessageList = null; this.ObjectLabels = null; this.InDesignArticles = null; this.Placements = null; this.Operations = null; this.MetaData = params.Metadata ?? null; this.Relations = params.Relations ?? null; ; this.Pages = params.Pages ?? null; ; this.Files = params.Files ?? null; ; this.Messages = params.Messages ?? null; ; this.Elements = params.Elements ?? null; ; this.Targets = params.Targets ?? null; ; this.Renditions = params.Renditions ?? null; ; this.MessageList = params.MessageList ?? null; ; this.ObjectLabels = params.ObjectLabels ?? null; ; this.InDesignArticles = params.InDesignArticles ?? null; ; this.Placements = params.Placements ?? null; ; this.Operations = params.Operations ?? null; ; } }; // src/model/wfl/workflow-metadata.ts var WorkflowMetaData = class { constructor(params) { this.__classname__ = "WorkflowMetaData"; this.Deadline = null; this.Urgency = null; this.Modifier = null; this.Modified = null; this.Creator = null; this.Created = null; this.Comment = null; this.State = null; this.RouteTo = null; this.LockedBy = null; this.Version = null; this.DeadlineSoft = null; this.Rating = null; this.Deletor = null; this.Deleted = null; this.Deadline = params.Deadline ?? null; this.Urgency = params.Urgency ?? null; this.Modifier = params.Modifier ?? null; this.Modified = params.Modified ?? null; this.Creator = params.Creator ?? null; this.Created = params.Created ?? null; this.Comment = params.Comment ?? null; this.State = params.State ?? null; this.RouteTo = params.RouteTo ?? null; this.LockedBy = params.LockedBy ?? null; this.Version = params.Version ?? null; this.DeadlineSoft = params.DeadlineSoft ?? null; this.Rating = params.Rating ?? null; this.Deletor = params.Deletor ?? null; this.Deleted = params.Deleted ?? null; } }; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { Attachment, BasicMetaData, Category, ContentMetaData, Edition, EditionRenditionsInfo, Element, ExtraMetaData, InDesignArticle, Issue, Message, MessageList, MetaData, MetaDataValue, ObjectInfo, ObjectLabel, ObjectOperation, Page, Param, Placement, PropertyValue, PubChannel, Publication, Relation, RelationType, RenditionTypeInfo, RightsMetaData, SourceMetaData, State, StickyInfo, Target, WflObject, WorkflowMetaData }); //# sourceMappingURL=index.js.map