From f77292ad673691b071dba3c7335a87976a52d886 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Van=C4=9Bk?= Date: Fri, 11 Sep 2026 16:03:24 +0200 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#75554=20[invit?= =?UTF-8?q?y-api]=20btc=20swap=20compose=20template=20by=20@FreeWall?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/invity-api/index.d.ts | 31 ++++++++++++++++++++++------ types/invity-api/invity-api-tests.ts | 14 ++++++++----- 2 files changed, 34 insertions(+), 11 deletions(-) diff --git a/types/invity-api/index.d.ts b/types/invity-api/index.d.ts index 52d983a230063f..9bf5eee0e2863b 100644 --- a/types/invity-api/index.d.ts +++ b/types/invity-api/index.d.ts @@ -591,16 +591,35 @@ export interface Platforms { [key: string]: PlatformsInfo; } +export type BtcSwapComposeAmount = + | { + kind: 'percent'; + value: number; + } + | { + kind: 'sats'; + value: string; + }; + +export type BtcSwapComposeOutput = + | { + type: 'opreturn'; + dataHex: string; + } + | { + type: 'payment'; + amount: BtcSwapComposeAmount; + }; + +export interface BtcSwapComposeTemplate { + extraOutputs: BtcSwapComposeOutput[]; +} + export interface InfoResponse { platforms: Platforms; coins: Coins; config: { - btcSwapDummyData?: { - opreturn: { - dataHex: string; - }; - feePercentage: number; - }; + btcSwapComposeTemplate: BtcSwapComposeTemplate; }; } diff --git a/types/invity-api/invity-api-tests.ts b/types/invity-api/invity-api-tests.ts index c9fc1722b193c9..faa14d942d6a77 100644 --- a/types/invity-api/invity-api-tests.ts +++ b/types/invity-api/invity-api-tests.ts @@ -135,11 +135,15 @@ const infoResponse: InfoResponse = { }, }, config: { - btcSwapDummyData: { - opreturn: { - dataHex: "abcd1234", - }, - feePercentage: 2, + btcSwapComposeTemplate: { + extraOutputs: [ + { + type: 'opreturn', + dataHex: '0123456789abcdef', + }, + { type: 'payment', amount: { kind: 'percent', value: 2 } }, + { type: 'payment', amount: { kind: 'percent', value: 2 } }, + ], }, }, }; From a3619680a2aebfaee30b22873f70b8f612b16bc4 Mon Sep 17 00:00:00 2001 From: "typescript-automation[bot]" <290192711+typescript-automation[bot]@users.noreply.github.com> Date: Fri, 11 Sep 2026 14:06:19 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=A4=96=20dprint=20fmt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/invity-api/index.d.ts | 24 ++++++++++++------------ types/invity-api/invity-api-tests.ts | 8 ++++---- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/types/invity-api/index.d.ts b/types/invity-api/index.d.ts index 9bf5eee0e2863b..bc1bb740e10383 100644 --- a/types/invity-api/index.d.ts +++ b/types/invity-api/index.d.ts @@ -593,23 +593,23 @@ export interface Platforms { export type BtcSwapComposeAmount = | { - kind: 'percent'; - value: number; - } + kind: "percent"; + value: number; + } | { - kind: 'sats'; - value: string; - }; + kind: "sats"; + value: string; + }; export type BtcSwapComposeOutput = | { - type: 'opreturn'; - dataHex: string; - } + type: "opreturn"; + dataHex: string; + } | { - type: 'payment'; - amount: BtcSwapComposeAmount; - }; + type: "payment"; + amount: BtcSwapComposeAmount; + }; export interface BtcSwapComposeTemplate { extraOutputs: BtcSwapComposeOutput[]; diff --git a/types/invity-api/invity-api-tests.ts b/types/invity-api/invity-api-tests.ts index faa14d942d6a77..99674a87e20cab 100644 --- a/types/invity-api/invity-api-tests.ts +++ b/types/invity-api/invity-api-tests.ts @@ -138,11 +138,11 @@ const infoResponse: InfoResponse = { btcSwapComposeTemplate: { extraOutputs: [ { - type: 'opreturn', - dataHex: '0123456789abcdef', + type: "opreturn", + dataHex: "0123456789abcdef", }, - { type: 'payment', amount: { kind: 'percent', value: 2 } }, - { type: 'payment', amount: { kind: 'percent', value: 2 } }, + { type: "payment", amount: { kind: "percent", value: 2 } }, + { type: "payment", amount: { kind: "percent", value: 2 } }, ], }, }, From f6d02e3803703ff313a59c33ae82a50c7658bb4d Mon Sep 17 00:00:00 2001 From: Alex Jerabek <38896772+AlexJerabek@users.noreply.github.com> Date: Fri, 11 Sep 2026 09:34:55 -0700 Subject: [PATCH 3/3] [office-js, office-js-preview] Update Word and PowerPoint type definitions to match the CDN (#75552) --- types/office-js-preview/index.d.ts | 230 ++++++++++++++++++++++++----- types/office-js/index.d.ts | 68 ++++++--- 2 files changed, 243 insertions(+), 55 deletions(-) diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index 46a60cc979d1c4..9118bec253c5a6 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -7441,7 +7441,7 @@ declare namespace Office { */ interface GetFileOptions { /** - * The size of the slices in bytes. The maximum (and the default) is 4194304 (4MB). + * The size of the slices in bytes. The maximum (and the default) is 4194304 (4 MB). */ sliceSize?: number /** @@ -102814,6 +102814,8 @@ declare namespace Word { * * @remarks * [Api set: WordApi 1.8] + * + * Word critique annotation cards display a maximum of three suggestions. If more than three suggestions are provided, the rest aren't displayed in the pop-up menu. */ interface CritiquePopupOptions { /** @@ -103597,13 +103599,15 @@ declare namespace Word { */ insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | Word.ContentControlType.dropDownList | Word.ContentControlType.comboBox | Word.ContentControlType.buildingBlockGallery | Word.ContentControlType.datePicker | Word.ContentControlType.repeatingSection | Word.ContentControlType.picture | Word.ContentControlType.group | "RichText" | "PlainText" | "CheckBox" | "DropDownList" | "ComboBox" | "BuildingBlockGallery" | "DatePicker" | "RepeatingSection" | "Picture" | "Group"): Word.ContentControl; /** - * Inserts a document into the body at the specified location. + * Inserts a document into the body at the specified location. The maximum size of the document being inserted is 4 MB. * * @remarks * [Api set: WordApi 1.1] * * Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario. * + * Document settings aren't preserved when inserting a document. + * * @param base64File The Base64-encoded content of a .docx file. * @param insertLocation The value must be `replace`, `start`, or `end`. */ @@ -107281,7 +107285,7 @@ declare namespace Word { */ color: string; /** - * Gets an integer that represents the content control identifier. + * Gets an integer that represents the content control identifier. This number is unique for each content control and doesn't change. * * @remarks * [Api set: WordApi 1.1] @@ -107323,7 +107327,7 @@ declare namespace Word { */ readonly subtype: Word.ContentControlType | "Unknown" | "RichTextInline" | "RichTextParagraphs" | "RichTextTableCell" | "RichTextTableRow" | "RichTextTable" | "PlainTextInline" | "PlainTextParagraph" | "Picture" | "BuildingBlockGallery" | "CheckBox" | "ComboBox" | "DropDownList" | "DatePicker" | "RepeatingSection" | "RichText" | "PlainText" | "Group"; /** - * Specifies a tag to identify a content control. + * Specifies a tag to identify a content control. The tag is different from the title in that it isn't displayed to the user. The tag can be used to identify a content control programmatically. * * @remarks * [Api set: WordApi 1.1] @@ -107463,13 +107467,15 @@ declare namespace Word { */ insertBreak(breakType: Word.BreakType | "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | Word.InsertLocation.before | Word.InsertLocation.after | "Start" | "End" | "Before" | "After"): void; /** - * Inserts a document into the content control at the specified location. + * Inserts a document into the content control at the specified location. The maximum size of the document being inserted is 4 MB. * * @remarks * [Api set: WordApi 1.1] * * Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario. * + * Document settings aren't preserved when inserting a document. + * * @param base64File The Base64-encoded content of a .docx file. * @param insertLocation The value must be `replace`, `start`, or `end`. `replace` cannot be used with `richTextTable` and `richTextTableRow` content controls. */ @@ -109921,22 +109927,22 @@ declare namespace Word { */ closePrintPreview(): void; /** - * Displays revision marks that indicate where the specified document differs from another document. + * Displays revision marks that indicate where the current document differs from a specified document. * * @remarks * [Api set: WordApiDesktop 1.1] * - * @param filePath The path of the document with which the specified document is compared. - * @param documentCompareOptions Optional. The additional options that specifies the behavior of comparing document. + * @param filePath The path of the document with which the current document is compared. + * @param documentCompareOptions Optional. The additional options that specify the behavior when comparing the documents. */ compare(filePath: string, documentCompareOptions?: Word.DocumentCompareOptions): void; /** - * Displays revision marks that indicate where the specified document differs from another document. + * Displays revision marks that indicate where the current document differs from a specified document. * * @remarks * [Api set: WordApiDesktop 1.2] * - * @param base64File The Base64-encoded content of the document with which the specified document is compared. + * @param base64File The Base64-encoded content of the document with which the current document is compared. * @param documentCompareOptions Optional. The additional options that specify the behavior for comparing the documents. Note that the `compareTarget` option isn't allowed to be `compareTargetSelected` in this API. */ compareFromBase64(base64File: string, documentCompareOptions?: Word.DocumentCompareOptions): void; @@ -110308,12 +110314,15 @@ declare namespace Word { /** * Inserts a document into the target document at a specific location with additional properties. Headers, footers, watermarks, and other section properties are copied by default. + The maximum size of the document being inserted is 4 MB. * * @remarks * [Api set: WordApi 1.5] * * Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario. * + * Document settings aren't preserved when inserting a document. + * * @param base64File The Base64-encoded content of a .docx file. * @param insertLocation The value must be `replace`, `start`, or `end`. * @param insertFileOptions Optional. The additional properties that should be imported to the destination document. @@ -111048,12 +111057,15 @@ declare namespace Word { /** * Inserts a document into the target document at a specific location with additional properties. Headers, footers, watermarks, and other section properties are copied by default. + The maximum size of the document being inserted is 4 MB. * * @remarks * [Api set: WordApiHiddenDocument 1.5] * * Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario. * + * Document settings aren't preserved when inserting a document. + * * @param base64File The Base64-encoded content of a .docx file. * @param insertLocation The value must be `replace`, `start`, or `end`. * @param insertFileOptions Optional. The additional properties that should be imported to the destination document. @@ -112754,13 +112766,15 @@ declare namespace Word { */ insertContentControl(): Word.ContentControl; /** - * Inserts a document at the specified location. + * Inserts a document at the specified location. The maximum size of the document being inserted is 4 MB. * * @remarks * [Api set: WordApi 1.2] * * Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario. * + * Document settings aren't preserved when inserting a document. + * * @param base64File The Base64-encoded content of a .docx file. * @param insertLocation The value must be `before` or `after`. */ @@ -115069,6 +115083,8 @@ declare namespace Word { * * @remarks * [Api set: WordApi 1.6] + * + * This API requires an active Microsoft 365 subscription. It doesn't work with single-purchase licenses. */ readonly uniqueLocalId: string; /** @@ -115314,13 +115330,15 @@ declare namespace Word { */ insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | Word.ContentControlType.dropDownList | Word.ContentControlType.comboBox | Word.ContentControlType.buildingBlockGallery | Word.ContentControlType.datePicker | Word.ContentControlType.repeatingSection | Word.ContentControlType.picture | Word.ContentControlType.group | "RichText" | "PlainText" | "CheckBox" | "DropDownList" | "ComboBox" | "BuildingBlockGallery" | "DatePicker" | "RepeatingSection" | "Picture" | "Group"): Word.ContentControl; /** - * Inserts a document into the paragraph at the specified location. + * Inserts a document into the paragraph at the specified location. The maximum size of the document being inserted is 4 MB. * * @remarks * [Api set: WordApi 1.1] * * Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario. * + * Document settings aren't preserved when inserting a document. + * * @param base64File The Base64-encoded content of a .docx file. * @param insertLocation The value must be `replace`, `start`, or `end`. */ @@ -115428,7 +115446,7 @@ declare namespace Word { */ insertTextBox(text?: string, insertShapeOptions?: Word.InsertShapeOptions): Word.Shape; /** - * Joins a list paragraph with the closest list above or below this paragraph. + * Joins a list paragraph with the closest list above or below this paragraph. This method only works with bulleted lists, not numbered lists. * * @remarks * [Api set: WordApiDesktop 1.4] @@ -116791,13 +116809,15 @@ declare namespace Word { */ insertField(insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After", fieldType?: "Addin" | "AddressBlock" | "Advance" | "Ask" | "Author" | "AutoText" | "AutoTextList" | "BarCode" | "Bibliography" | "BidiOutline" | "Citation" | "Comments" | "Compare" | "CreateDate" | "Data" | "Database" | "Date" | "DisplayBarcode" | "DocProperty" | "DocVariable" | "EditTime" | "Embedded" | "EQ" | "Expression" | "FileName" | "FileSize" | "FillIn" | "FormCheckbox" | "FormDropdown" | "FormText" | "GotoButton" | "GreetingLine" | "Hyperlink" | "If" | "Import" | "Include" | "IncludePicture" | "IncludeText" | "Index" | "Info" | "Keywords" | "LastSavedBy" | "Link" | "ListNum" | "MacroButton" | "MergeBarcode" | "MergeField" | "MergeRec" | "MergeSeq" | "Next" | "NextIf" | "NoteRef" | "NumChars" | "NumPages" | "NumWords" | "OCX" | "Page" | "PageRef" | "Print" | "PrintDate" | "Private" | "Quote" | "RD" | "Ref" | "RevNum" | "SaveDate" | "Section" | "SectionPages" | "Seq" | "Set" | "Shape" | "SkipIf" | "StyleRef" | "Subject" | "Subscriber" | "Symbol" | "TA" | "TC" | "Template" | "Time" | "Title" | "TOA" | "TOC" | "UserAddress" | "UserInitials" | "UserName" | "XE" | "Empty" | "Others" | "Undefined", text?: string, removeFormatting?: boolean): Word.Field; /** - * Inserts a document at the specified location. + * Inserts a document at the specified location. The maximum size of the document being inserted is 4 MB. * * @remarks * [Api set: WordApi 1.1] * * Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario. * + * Document settings aren't preserved when inserting a document. + * * @param base64File The Base64-encoded content of a .docx file. * @param insertLocation The value must be `replace`, `start`, `end`, `before`, or `after`. */ @@ -117795,6 +117815,14 @@ declare namespace Word { class SensitivityLabelAbacAttribute extends OfficeExtension.ClientObject { /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */ context: RequestContext; + /** + * The data type of values for this ABAC attribute. + * + * @remarks + * [Api set: WordApi BETA (PREVIEW ONLY)] + * @beta + */ + readonly dataType: Word.SensitivityLabelAbacAttributeDataType | "Unknown" | "StringValue" | "BooleanValue" | "NumberValue" | "DateValue"; /** * The display name of the ABAC attribute. * @@ -150325,14 +150353,14 @@ declare namespace Word { */ abacAttributesNotAllowed = "AbacAttributesNotAllowed", /** - * The target label isn't enabled for attribute-based access controls and requires attribute selections, but no ABAC attribute values were supplied. + * The target label is enabled for attribute-based access control (ABAC) and requires attribute selections, but no ABAC attribute values were supplied. * @remarks * [Api set: WordApi BETA (PREVIEW ONLY)] * @beta */ abacAttributesRequired = "AbacAttributesRequired", /** - * The label update failed due to unsupported attribute-based access control (ABAC). + * The label update failed due to unsupported attribute-based access control (ABAC) attribute values. * @remarks * [Api set: WordApi BETA (PREVIEW ONLY)] * @beta @@ -150420,6 +150448,50 @@ declare namespace Word { */ userDefined = "UserDefined", } + /** + * Represents the data type of an ABAC attribute's values. + * + * @remarks + * [Api set: WordApi BETA (PREVIEW ONLY)] + * @beta + */ + enum SensitivityLabelAbacAttributeDataType { + /** + * The data type is not recognized or specified. + * @remarks + * [Api set: WordApi BETA (PREVIEW ONLY)] + * @beta + */ + unknown = "Unknown", + /** + * The attribute value is a string. + * @remarks + * [Api set: WordApi BETA (PREVIEW ONLY)] + * @beta + */ + stringValue = "StringValue", + /** + * The attribute value is a boolean. + * @remarks + * [Api set: WordApi BETA (PREVIEW ONLY)] + * @beta + */ + booleanValue = "BooleanValue", + /** + * The attribute value is a number. + * @remarks + * [Api set: WordApi BETA (PREVIEW ONLY)] + * @beta + */ + numberValue = "NumberValue", + /** + * The attribute value is a date. + * @remarks + * [Api set: WordApi BETA (PREVIEW ONLY)] + * @beta + */ + dateValue = "DateValue", + } enum ErrorCodes { accessDenied = "AccessDenied", generalException = "GeneralException", @@ -151083,7 +151155,7 @@ declare namespace Word { */ styleBuiltIn?: Word.BuiltInStyleName | "Other" | "Normal" | "Heading1" | "Heading2" | "Heading3" | "Heading4" | "Heading5" | "Heading6" | "Heading7" | "Heading8" | "Heading9" | "Toc1" | "Toc2" | "Toc3" | "Toc4" | "Toc5" | "Toc6" | "Toc7" | "Toc8" | "Toc9" | "FootnoteText" | "Header" | "Footer" | "Caption" | "FootnoteReference" | "EndnoteReference" | "EndnoteText" | "Title" | "Subtitle" | "Hyperlink" | "Strong" | "Emphasis" | "NoSpacing" | "ListParagraph" | "Quote" | "IntenseQuote" | "SubtleEmphasis" | "IntenseEmphasis" | "SubtleReference" | "IntenseReference" | "BookTitle" | "Bibliography" | "TocHeading" | "TableGrid" | "PlainTable1" | "PlainTable2" | "PlainTable3" | "PlainTable4" | "PlainTable5" | "TableGridLight" | "GridTable1Light" | "GridTable1Light_Accent1" | "GridTable1Light_Accent2" | "GridTable1Light_Accent3" | "GridTable1Light_Accent4" | "GridTable1Light_Accent5" | "GridTable1Light_Accent6" | "GridTable2" | "GridTable2_Accent1" | "GridTable2_Accent2" | "GridTable2_Accent3" | "GridTable2_Accent4" | "GridTable2_Accent5" | "GridTable2_Accent6" | "GridTable3" | "GridTable3_Accent1" | "GridTable3_Accent2" | "GridTable3_Accent3" | "GridTable3_Accent4" | "GridTable3_Accent5" | "GridTable3_Accent6" | "GridTable4" | "GridTable4_Accent1" | "GridTable4_Accent2" | "GridTable4_Accent3" | "GridTable4_Accent4" | "GridTable4_Accent5" | "GridTable4_Accent6" | "GridTable5Dark" | "GridTable5Dark_Accent1" | "GridTable5Dark_Accent2" | "GridTable5Dark_Accent3" | "GridTable5Dark_Accent4" | "GridTable5Dark_Accent5" | "GridTable5Dark_Accent6" | "GridTable6Colorful" | "GridTable6Colorful_Accent1" | "GridTable6Colorful_Accent2" | "GridTable6Colorful_Accent3" | "GridTable6Colorful_Accent4" | "GridTable6Colorful_Accent5" | "GridTable6Colorful_Accent6" | "GridTable7Colorful" | "GridTable7Colorful_Accent1" | "GridTable7Colorful_Accent2" | "GridTable7Colorful_Accent3" | "GridTable7Colorful_Accent4" | "GridTable7Colorful_Accent5" | "GridTable7Colorful_Accent6" | "ListTable1Light" | "ListTable1Light_Accent1" | "ListTable1Light_Accent2" | "ListTable1Light_Accent3" | "ListTable1Light_Accent4" | "ListTable1Light_Accent5" | "ListTable1Light_Accent6" | "ListTable2" | "ListTable2_Accent1" | "ListTable2_Accent2" | "ListTable2_Accent3" | "ListTable2_Accent4" | "ListTable2_Accent5" | "ListTable2_Accent6" | "ListTable3" | "ListTable3_Accent1" | "ListTable3_Accent2" | "ListTable3_Accent3" | "ListTable3_Accent4" | "ListTable3_Accent5" | "ListTable3_Accent6" | "ListTable4" | "ListTable4_Accent1" | "ListTable4_Accent2" | "ListTable4_Accent3" | "ListTable4_Accent4" | "ListTable4_Accent5" | "ListTable4_Accent6" | "ListTable5Dark" | "ListTable5Dark_Accent1" | "ListTable5Dark_Accent2" | "ListTable5Dark_Accent3" | "ListTable5Dark_Accent4" | "ListTable5Dark_Accent5" | "ListTable5Dark_Accent6" | "ListTable6Colorful" | "ListTable6Colorful_Accent1" | "ListTable6Colorful_Accent2" | "ListTable6Colorful_Accent3" | "ListTable6Colorful_Accent4" | "ListTable6Colorful_Accent5" | "ListTable6Colorful_Accent6" | "ListTable7Colorful" | "ListTable7Colorful_Accent1" | "ListTable7Colorful_Accent2" | "ListTable7Colorful_Accent3" | "ListTable7Colorful_Accent4" | "ListTable7Colorful_Accent5" | "ListTable7Colorful_Accent6"; /** - * Specifies a tag to identify a content control. + * Specifies a tag to identify a content control. The tag is different from the title in that it isn't displayed to the user. The tag can be used to identify a content control programmatically. * * @remarks * [Api set: WordApi 1.1] @@ -157541,7 +157613,7 @@ declare namespace Word { */ color?: string; /** - * Gets an integer that represents the content control identifier. + * Gets an integer that represents the content control identifier. This number is unique for each content control and doesn't change. * * @remarks * [Api set: WordApi 1.1] @@ -157583,7 +157655,7 @@ declare namespace Word { */ subtype?: Word.ContentControlType | "Unknown" | "RichTextInline" | "RichTextParagraphs" | "RichTextTableCell" | "RichTextTableRow" | "RichTextTable" | "PlainTextInline" | "PlainTextParagraph" | "Picture" | "BuildingBlockGallery" | "CheckBox" | "ComboBox" | "DropDownList" | "DatePicker" | "RepeatingSection" | "RichText" | "PlainText" | "Group"; /** - * Specifies a tag to identify a content control. + * Specifies a tag to identify a content control. The tag is different from the title in that it isn't displayed to the user. The tag can be used to identify a content control programmatically. * * @remarks * [Api set: WordApi 1.1] @@ -160090,6 +160162,8 @@ declare namespace Word { * * @remarks * [Api set: WordApi 1.6] + * + * This API requires an active Microsoft 365 subscription. It doesn't work with single-purchase licenses. */ uniqueLocalId?: string; } @@ -160679,6 +160753,14 @@ declare namespace Word { } /** An interface describing the data returned by calling `sensitivityLabelAbacAttribute.toJSON()`. */ interface SensitivityLabelAbacAttributeData { + /** + * The data type of values for this ABAC attribute. + * + * @remarks + * [Api set: WordApi BETA (PREVIEW ONLY)] + * @beta + */ + dataType?: Word.SensitivityLabelAbacAttributeDataType | "Unknown" | "StringValue" | "BooleanValue" | "NumberValue" | "DateValue"; /** * The display name of the ABAC attribute. * @@ -160735,7 +160817,7 @@ declare namespace Word { */ children?: Word.Interfaces.SensitivityLabelDetailsData[]; /** - * The ABAC attribute values associated with the sensitivity label. + * The attribute-based access control (ABAC) attribute values associated with the sensitivity label. * * @remarks * [Api set: WordApi BETA (PREVIEW ONLY)] @@ -160759,7 +160841,7 @@ declare namespace Word { */ id?: string; /** - * Indicates whether ABAC attributes are required when applying the sensitivity label. + * Indicates whether attribute-based access control (ABAC) attributes are required when applying the sensitivity label. * * @remarks * [Api set: WordApi BETA (PREVIEW ONLY)] @@ -160767,7 +160849,7 @@ declare namespace Word { */ isAbacAttributesRequired?: boolean; /** - * Indicates whether the sensitivity label supports ABAC attributes. + * Indicates whether the sensitivity label supports attribute-based access control (ABAC) attributes. * * @remarks * [Api set: WordApi BETA (PREVIEW ONLY)] @@ -167076,7 +167158,7 @@ declare namespace Word { */ color?: boolean; /** - * Gets an integer that represents the content control identifier. + * Gets an integer that represents the content control identifier. This number is unique for each content control and doesn't change. * * @remarks * [Api set: WordApi 1.1] @@ -167118,7 +167200,7 @@ declare namespace Word { */ subtype?: boolean; /** - * Specifies a tag to identify a content control. + * Specifies a tag to identify a content control. The tag is different from the title in that it isn't displayed to the user. The tag can be used to identify a content control programmatically. * * @remarks * [Api set: WordApi 1.1] @@ -167291,7 +167373,7 @@ declare namespace Word { */ color?: boolean; /** - * For EACH ITEM in the collection: Gets an integer that represents the content control identifier. + * For EACH ITEM in the collection: Gets an integer that represents the content control identifier. This number is unique for each content control and doesn't change. * * @remarks * [Api set: WordApi 1.1] @@ -167333,7 +167415,7 @@ declare namespace Word { */ subtype?: boolean; /** - * For EACH ITEM in the collection: Specifies a tag to identify a content control. + * For EACH ITEM in the collection: Specifies a tag to identify a content control. The tag is different from the title in that it isn't displayed to the user. The tag can be used to identify a content control programmatically. * * @remarks * [Api set: WordApi 1.1] @@ -170988,6 +171070,8 @@ declare namespace Word { * * @remarks * [Api set: WordApi 1.6] + * + * This API requires an active Microsoft 365 subscription. It doesn't work with single-purchase licenses. */ uniqueLocalId?: boolean; } @@ -171210,6 +171294,8 @@ declare namespace Word { * * @remarks * [Api set: WordApi 1.6] + * + * This API requires an active Microsoft 365 subscription. It doesn't work with single-purchase licenses. */ uniqueLocalId?: boolean; } @@ -172129,7 +172215,7 @@ declare namespace Word { getLabelingCapability?: boolean; } /** - * Represents a single ABAC attribute value for a sensitivity label. + * Represents a single attribute-based access control (ABAC) attribute value for a sensitivity label. * * @remarks * [Api set: WordApi BETA (PREVIEW ONLY)] @@ -172174,7 +172260,7 @@ declare namespace Word { isActive?: boolean; } /** - * Represents an ABAC attribute for sensitivity labels. + * Represents an attribute-based access control (ABAC) attribute for sensitivity labels. * * @remarks * [Api set: WordApi BETA (PREVIEW ONLY)] @@ -172185,6 +172271,14 @@ declare namespace Word { Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`). */ $all?: boolean; + /** + * The data type of values for this ABAC attribute. + * + * @remarks + * [Api set: WordApi BETA (PREVIEW ONLY)] + * @beta + */ + dataType?: boolean; /** * The display name of the ABAC attribute. * @@ -172239,7 +172333,7 @@ declare namespace Word { */ $all?: boolean; /** - * For EACH ITEM in the collection: The ABAC attribute values associated with the sensitivity label. + * For EACH ITEM in the collection: The attribute-based access control (ABAC) attribute values associated with the sensitivity label. * * @remarks * [Api set: WordApi BETA (PREVIEW ONLY)] @@ -172263,7 +172357,7 @@ declare namespace Word { */ id?: boolean; /** - * For EACH ITEM in the collection: Indicates whether ABAC attributes are required when applying the sensitivity label. + * For EACH ITEM in the collection: Indicates whether attribute-based access control (ABAC) attributes are required when applying the sensitivity label. * * @remarks * [Api set: WordApi BETA (PREVIEW ONLY)] @@ -172271,7 +172365,7 @@ declare namespace Word { */ isAbacAttributesRequired?: boolean; /** - * For EACH ITEM in the collection: Indicates whether the sensitivity label supports ABAC attributes. + * For EACH ITEM in the collection: Indicates whether the sensitivity label supports attribute-based access control (ABAC) attributes. * * @remarks * [Api set: WordApi BETA (PREVIEW ONLY)] @@ -172340,7 +172434,7 @@ declare namespace Word { */ $all?: boolean; /** - * The ABAC attribute values associated with the sensitivity label. + * The attribute-based access control (ABAC) attribute values associated with the sensitivity label. * * @remarks * [Api set: WordApi BETA (PREVIEW ONLY)] @@ -172364,7 +172458,7 @@ declare namespace Word { */ id?: boolean; /** - * Indicates whether ABAC attributes are required when applying the sensitivity label. + * Indicates whether attribute-based access control (ABAC) attributes are required when applying the sensitivity label. * * @remarks * [Api set: WordApi BETA (PREVIEW ONLY)] @@ -172372,7 +172466,7 @@ declare namespace Word { */ isAbacAttributesRequired?: boolean; /** - * Indicates whether the sensitivity label supports ABAC attributes. + * Indicates whether the sensitivity label supports attribute-based access control (ABAC) attributes. * * @remarks * [Api set: WordApi BETA (PREVIEW ONLY)] @@ -199141,6 +199235,50 @@ declare namespace PowerPoint { */ userDefined = "UserDefined", } + /** + * Represents the data type of an attribute-based access control (ABAC) attribute. + * + * @remarks + * [Api set: PowerPointApi BETA (PREVIEW ONLY)] + * @beta + */ + enum SensitivityLabelAbacAttributeDataType { + /** + * The data type is not recognized or specified. + * @remarks + * [Api set: PowerPointApi BETA (PREVIEW ONLY)] + * @beta + */ + unknown = "Unknown", + /** + * The attribute value is a string. + * @remarks + * [Api set: PowerPointApi BETA (PREVIEW ONLY)] + * @beta + */ + stringValue = "StringValue", + /** + * The attribute value is a boolean. + * @remarks + * [Api set: PowerPointApi BETA (PREVIEW ONLY)] + * @beta + */ + booleanValue = "BooleanValue", + /** + * The attribute value is a number. + * @remarks + * [Api set: PowerPointApi BETA (PREVIEW ONLY)] + * @beta + */ + numberValue = "NumberValue", + /** + * The attribute value is a date. + * @remarks + * [Api set: PowerPointApi BETA (PREVIEW ONLY)] + * @beta + */ + dateValue = "DateValue", + } /** * Represents the properties of available sensitivity labels in PowerPoint. * @@ -199460,6 +199598,14 @@ declare namespace PowerPoint { class SensitivityLabelAbacAttribute extends OfficeExtension.ClientObject { /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */ context: RequestContext; + /** + * Gets the data type of this ABAC attribute. + * + * @remarks + * [Api set: PowerPointApi BETA (PREVIEW ONLY)] + * @beta + */ + readonly dataType: PowerPoint.SensitivityLabelAbacAttributeDataType | "Unknown" | "StringValue" | "BooleanValue" | "NumberValue" | "DateValue"; /** * Gets the display name of the ABAC attribute. Add-ins are responsible for presenting localized user-facing UI. * @@ -202051,6 +202197,14 @@ declare namespace PowerPoint { } /** An interface describing the data returned by calling `sensitivityLabelAbacAttribute.toJSON()`. */ interface SensitivityLabelAbacAttributeData { + /** + * Gets the data type of this ABAC attribute. + * + * @remarks + * [Api set: PowerPointApi BETA (PREVIEW ONLY)] + * @beta + */ + dataType?: PowerPoint.SensitivityLabelAbacAttributeDataType | "Unknown" | "StringValue" | "BooleanValue" | "NumberValue" | "DateValue"; /** * Gets the display name of the ABAC attribute. Add-ins are responsible for presenting localized user-facing UI. * @@ -204903,6 +205057,14 @@ declare namespace PowerPoint { Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`). */ $all?: boolean; + /** + * Gets the data type of this ABAC attribute. + * + * @remarks + * [Api set: PowerPointApi BETA (PREVIEW ONLY)] + * @beta + */ + dataType?: boolean; /** * Gets the display name of the ABAC attribute. Add-ins are responsible for presenting localized user-facing UI. * diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index ba4235ce5d67c4..3846ee5ba9beee 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -7441,7 +7441,7 @@ declare namespace Office { */ interface GetFileOptions { /** - * The size of the slices in bytes. The maximum (and the default) is 4194304 (4MB). + * The size of the slices in bytes. The maximum (and the default) is 4194304 (4 MB). */ sliceSize?: number /** @@ -95879,6 +95879,8 @@ declare namespace Word { * * @remarks * [Api set: WordApi 1.8] + * + * Word critique annotation cards display a maximum of three suggestions. If more than three suggestions are provided, the rest aren't displayed in the pop-up menu. */ interface CritiquePopupOptions { /** @@ -96662,13 +96664,15 @@ declare namespace Word { */ insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | Word.ContentControlType.dropDownList | Word.ContentControlType.comboBox | Word.ContentControlType.buildingBlockGallery | Word.ContentControlType.datePicker | Word.ContentControlType.repeatingSection | Word.ContentControlType.picture | Word.ContentControlType.group | "RichText" | "PlainText" | "CheckBox" | "DropDownList" | "ComboBox" | "BuildingBlockGallery" | "DatePicker" | "RepeatingSection" | "Picture" | "Group"): Word.ContentControl; /** - * Inserts a document into the body at the specified location. + * Inserts a document into the body at the specified location. The maximum size of the document being inserted is 4 MB. * * @remarks * [Api set: WordApi 1.1] * * Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario. * + * Document settings aren't preserved when inserting a document. + * * @param base64File The Base64-encoded content of a .docx file. * @param insertLocation The value must be `replace`, `start`, or `end`. */ @@ -100066,7 +100070,7 @@ declare namespace Word { */ color: string; /** - * Gets an integer that represents the content control identifier. + * Gets an integer that represents the content control identifier. This number is unique for each content control and doesn't change. * * @remarks * [Api set: WordApi 1.1] @@ -100108,7 +100112,7 @@ declare namespace Word { */ readonly subtype: Word.ContentControlType | "Unknown" | "RichTextInline" | "RichTextParagraphs" | "RichTextTableCell" | "RichTextTableRow" | "RichTextTable" | "PlainTextInline" | "PlainTextParagraph" | "Picture" | "BuildingBlockGallery" | "CheckBox" | "ComboBox" | "DropDownList" | "DatePicker" | "RepeatingSection" | "RichText" | "PlainText" | "Group"; /** - * Specifies a tag to identify a content control. + * Specifies a tag to identify a content control. The tag is different from the title in that it isn't displayed to the user. The tag can be used to identify a content control programmatically. * * @remarks * [Api set: WordApi 1.1] @@ -100248,13 +100252,15 @@ declare namespace Word { */ insertBreak(breakType: Word.BreakType | "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: Word.InsertLocation.start | Word.InsertLocation.end | Word.InsertLocation.before | Word.InsertLocation.after | "Start" | "End" | "Before" | "After"): void; /** - * Inserts a document into the content control at the specified location. + * Inserts a document into the content control at the specified location. The maximum size of the document being inserted is 4 MB. * * @remarks * [Api set: WordApi 1.1] * * Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario. * + * Document settings aren't preserved when inserting a document. + * * @param base64File The Base64-encoded content of a .docx file. * @param insertLocation The value must be `replace`, `start`, or `end`. `replace` cannot be used with `richTextTable` and `richTextTableRow` content controls. */ @@ -102592,22 +102598,22 @@ declare namespace Word { */ closePrintPreview(): void; /** - * Displays revision marks that indicate where the specified document differs from another document. + * Displays revision marks that indicate where the current document differs from a specified document. * * @remarks * [Api set: WordApiDesktop 1.1] * - * @param filePath The path of the document with which the specified document is compared. - * @param documentCompareOptions Optional. The additional options that specifies the behavior of comparing document. + * @param filePath The path of the document with which the current document is compared. + * @param documentCompareOptions Optional. The additional options that specify the behavior when comparing the documents. */ compare(filePath: string, documentCompareOptions?: Word.DocumentCompareOptions): void; /** - * Displays revision marks that indicate where the specified document differs from another document. + * Displays revision marks that indicate where the current document differs from a specified document. * * @remarks * [Api set: WordApiDesktop 1.2] * - * @param base64File The Base64-encoded content of the document with which the specified document is compared. + * @param base64File The Base64-encoded content of the document with which the current document is compared. * @param documentCompareOptions Optional. The additional options that specify the behavior for comparing the documents. Note that the `compareTarget` option isn't allowed to be `compareTargetSelected` in this API. */ compareFromBase64(base64File: string, documentCompareOptions?: Word.DocumentCompareOptions): void; @@ -102834,12 +102840,15 @@ declare namespace Word { /** * Inserts a document into the target document at a specific location with additional properties. Headers, footers, watermarks, and other section properties are copied by default. + The maximum size of the document being inserted is 4 MB. * * @remarks * [Api set: WordApi 1.5] * * Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario. * + * Document settings aren't preserved when inserting a document. + * * @param base64File The Base64-encoded content of a .docx file. * @param insertLocation The value must be `replace`, `start`, or `end`. * @param insertFileOptions Optional. The additional properties that should be imported to the destination document. @@ -103501,12 +103510,15 @@ declare namespace Word { /** * Inserts a document into the target document at a specific location with additional properties. Headers, footers, watermarks, and other section properties are copied by default. + The maximum size of the document being inserted is 4 MB. * * @remarks * [Api set: WordApiHiddenDocument 1.5] * * Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario. * + * Document settings aren't preserved when inserting a document. + * * @param base64File The Base64-encoded content of a .docx file. * @param insertLocation The value must be `replace`, `start`, or `end`. * @param insertFileOptions Optional. The additional properties that should be imported to the destination document. @@ -105207,13 +105219,15 @@ declare namespace Word { */ insertContentControl(): Word.ContentControl; /** - * Inserts a document at the specified location. + * Inserts a document at the specified location. The maximum size of the document being inserted is 4 MB. * * @remarks * [Api set: WordApi 1.2] * * Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario. * + * Document settings aren't preserved when inserting a document. + * * @param base64File The Base64-encoded content of a .docx file. * @param insertLocation The value must be `before` or `after`. */ @@ -107514,6 +107528,8 @@ declare namespace Word { * * @remarks * [Api set: WordApi 1.6] + * + * This API requires an active Microsoft 365 subscription. It doesn't work with single-purchase licenses. */ readonly uniqueLocalId: string; /** @@ -107759,13 +107775,15 @@ declare namespace Word { */ insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | Word.ContentControlType.checkBox | Word.ContentControlType.dropDownList | Word.ContentControlType.comboBox | Word.ContentControlType.buildingBlockGallery | Word.ContentControlType.datePicker | Word.ContentControlType.repeatingSection | Word.ContentControlType.picture | Word.ContentControlType.group | "RichText" | "PlainText" | "CheckBox" | "DropDownList" | "ComboBox" | "BuildingBlockGallery" | "DatePicker" | "RepeatingSection" | "Picture" | "Group"): Word.ContentControl; /** - * Inserts a document into the paragraph at the specified location. + * Inserts a document into the paragraph at the specified location. The maximum size of the document being inserted is 4 MB. * * @remarks * [Api set: WordApi 1.1] * * Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario. * + * Document settings aren't preserved when inserting a document. + * * @param base64File The Base64-encoded content of a .docx file. * @param insertLocation The value must be `replace`, `start`, or `end`. */ @@ -107873,7 +107891,7 @@ declare namespace Word { */ insertTextBox(text?: string, insertShapeOptions?: Word.InsertShapeOptions): Word.Shape; /** - * Joins a list paragraph with the closest list above or below this paragraph. + * Joins a list paragraph with the closest list above or below this paragraph. This method only works with bulleted lists, not numbered lists. * * @remarks * [Api set: WordApiDesktop 1.4] @@ -109178,13 +109196,15 @@ declare namespace Word { */ insertField(insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After", fieldType?: "Addin" | "AddressBlock" | "Advance" | "Ask" | "Author" | "AutoText" | "AutoTextList" | "BarCode" | "Bibliography" | "BidiOutline" | "Citation" | "Comments" | "Compare" | "CreateDate" | "Data" | "Database" | "Date" | "DisplayBarcode" | "DocProperty" | "DocVariable" | "EditTime" | "Embedded" | "EQ" | "Expression" | "FileName" | "FileSize" | "FillIn" | "FormCheckbox" | "FormDropdown" | "FormText" | "GotoButton" | "GreetingLine" | "Hyperlink" | "If" | "Import" | "Include" | "IncludePicture" | "IncludeText" | "Index" | "Info" | "Keywords" | "LastSavedBy" | "Link" | "ListNum" | "MacroButton" | "MergeBarcode" | "MergeField" | "MergeRec" | "MergeSeq" | "Next" | "NextIf" | "NoteRef" | "NumChars" | "NumPages" | "NumWords" | "OCX" | "Page" | "PageRef" | "Print" | "PrintDate" | "Private" | "Quote" | "RD" | "Ref" | "RevNum" | "SaveDate" | "Section" | "SectionPages" | "Seq" | "Set" | "Shape" | "SkipIf" | "StyleRef" | "Subject" | "Subscriber" | "Symbol" | "TA" | "TC" | "Template" | "Time" | "Title" | "TOA" | "TOC" | "UserAddress" | "UserInitials" | "UserName" | "XE" | "Empty" | "Others" | "Undefined", text?: string, removeFormatting?: boolean): Word.Field; /** - * Inserts a document at the specified location. + * Inserts a document at the specified location. The maximum size of the document being inserted is 4 MB. * * @remarks * [Api set: WordApi 1.1] * * Insertion isn't supported if the document being inserted contains an ActiveX control (likely in a form field). Consider replacing such a form field with a content control or other option appropriate for your scenario. * + * Document settings aren't preserved when inserting a document. + * * @param base64File The Base64-encoded content of a .docx file. * @param insertLocation The value must be `replace`, `start`, `end`, `before`, or `after`. */ @@ -141103,7 +141123,7 @@ declare namespace Word { */ styleBuiltIn?: Word.BuiltInStyleName | "Other" | "Normal" | "Heading1" | "Heading2" | "Heading3" | "Heading4" | "Heading5" | "Heading6" | "Heading7" | "Heading8" | "Heading9" | "Toc1" | "Toc2" | "Toc3" | "Toc4" | "Toc5" | "Toc6" | "Toc7" | "Toc8" | "Toc9" | "FootnoteText" | "Header" | "Footer" | "Caption" | "FootnoteReference" | "EndnoteReference" | "EndnoteText" | "Title" | "Subtitle" | "Hyperlink" | "Strong" | "Emphasis" | "NoSpacing" | "ListParagraph" | "Quote" | "IntenseQuote" | "SubtleEmphasis" | "IntenseEmphasis" | "SubtleReference" | "IntenseReference" | "BookTitle" | "Bibliography" | "TocHeading" | "TableGrid" | "PlainTable1" | "PlainTable2" | "PlainTable3" | "PlainTable4" | "PlainTable5" | "TableGridLight" | "GridTable1Light" | "GridTable1Light_Accent1" | "GridTable1Light_Accent2" | "GridTable1Light_Accent3" | "GridTable1Light_Accent4" | "GridTable1Light_Accent5" | "GridTable1Light_Accent6" | "GridTable2" | "GridTable2_Accent1" | "GridTable2_Accent2" | "GridTable2_Accent3" | "GridTable2_Accent4" | "GridTable2_Accent5" | "GridTable2_Accent6" | "GridTable3" | "GridTable3_Accent1" | "GridTable3_Accent2" | "GridTable3_Accent3" | "GridTable3_Accent4" | "GridTable3_Accent5" | "GridTable3_Accent6" | "GridTable4" | "GridTable4_Accent1" | "GridTable4_Accent2" | "GridTable4_Accent3" | "GridTable4_Accent4" | "GridTable4_Accent5" | "GridTable4_Accent6" | "GridTable5Dark" | "GridTable5Dark_Accent1" | "GridTable5Dark_Accent2" | "GridTable5Dark_Accent3" | "GridTable5Dark_Accent4" | "GridTable5Dark_Accent5" | "GridTable5Dark_Accent6" | "GridTable6Colorful" | "GridTable6Colorful_Accent1" | "GridTable6Colorful_Accent2" | "GridTable6Colorful_Accent3" | "GridTable6Colorful_Accent4" | "GridTable6Colorful_Accent5" | "GridTable6Colorful_Accent6" | "GridTable7Colorful" | "GridTable7Colorful_Accent1" | "GridTable7Colorful_Accent2" | "GridTable7Colorful_Accent3" | "GridTable7Colorful_Accent4" | "GridTable7Colorful_Accent5" | "GridTable7Colorful_Accent6" | "ListTable1Light" | "ListTable1Light_Accent1" | "ListTable1Light_Accent2" | "ListTable1Light_Accent3" | "ListTable1Light_Accent4" | "ListTable1Light_Accent5" | "ListTable1Light_Accent6" | "ListTable2" | "ListTable2_Accent1" | "ListTable2_Accent2" | "ListTable2_Accent3" | "ListTable2_Accent4" | "ListTable2_Accent5" | "ListTable2_Accent6" | "ListTable3" | "ListTable3_Accent1" | "ListTable3_Accent2" | "ListTable3_Accent3" | "ListTable3_Accent4" | "ListTable3_Accent5" | "ListTable3_Accent6" | "ListTable4" | "ListTable4_Accent1" | "ListTable4_Accent2" | "ListTable4_Accent3" | "ListTable4_Accent4" | "ListTable4_Accent5" | "ListTable4_Accent6" | "ListTable5Dark" | "ListTable5Dark_Accent1" | "ListTable5Dark_Accent2" | "ListTable5Dark_Accent3" | "ListTable5Dark_Accent4" | "ListTable5Dark_Accent5" | "ListTable5Dark_Accent6" | "ListTable6Colorful" | "ListTable6Colorful_Accent1" | "ListTable6Colorful_Accent2" | "ListTable6Colorful_Accent3" | "ListTable6Colorful_Accent4" | "ListTable6Colorful_Accent5" | "ListTable6Colorful_Accent6" | "ListTable7Colorful" | "ListTable7Colorful_Accent1" | "ListTable7Colorful_Accent2" | "ListTable7Colorful_Accent3" | "ListTable7Colorful_Accent4" | "ListTable7Colorful_Accent5" | "ListTable7Colorful_Accent6"; /** - * Specifies a tag to identify a content control. + * Specifies a tag to identify a content control. The tag is different from the title in that it isn't displayed to the user. The tag can be used to identify a content control programmatically. * * @remarks * [Api set: WordApi 1.1] @@ -147486,7 +147506,7 @@ declare namespace Word { */ color?: string; /** - * Gets an integer that represents the content control identifier. + * Gets an integer that represents the content control identifier. This number is unique for each content control and doesn't change. * * @remarks * [Api set: WordApi 1.1] @@ -147528,7 +147548,7 @@ declare namespace Word { */ subtype?: Word.ContentControlType | "Unknown" | "RichTextInline" | "RichTextParagraphs" | "RichTextTableCell" | "RichTextTableRow" | "RichTextTable" | "PlainTextInline" | "PlainTextParagraph" | "Picture" | "BuildingBlockGallery" | "CheckBox" | "ComboBox" | "DropDownList" | "DatePicker" | "RepeatingSection" | "RichText" | "PlainText" | "Group"; /** - * Specifies a tag to identify a content control. + * Specifies a tag to identify a content control. The tag is different from the title in that it isn't displayed to the user. The tag can be used to identify a content control programmatically. * * @remarks * [Api set: WordApi 1.1] @@ -150019,6 +150039,8 @@ declare namespace Word { * * @remarks * [Api set: WordApi 1.6] + * + * This API requires an active Microsoft 365 subscription. It doesn't work with single-purchase licenses. */ uniqueLocalId?: string; } @@ -156667,7 +156689,7 @@ declare namespace Word { */ color?: boolean; /** - * Gets an integer that represents the content control identifier. + * Gets an integer that represents the content control identifier. This number is unique for each content control and doesn't change. * * @remarks * [Api set: WordApi 1.1] @@ -156709,7 +156731,7 @@ declare namespace Word { */ subtype?: boolean; /** - * Specifies a tag to identify a content control. + * Specifies a tag to identify a content control. The tag is different from the title in that it isn't displayed to the user. The tag can be used to identify a content control programmatically. * * @remarks * [Api set: WordApi 1.1] @@ -156882,7 +156904,7 @@ declare namespace Word { */ color?: boolean; /** - * For EACH ITEM in the collection: Gets an integer that represents the content control identifier. + * For EACH ITEM in the collection: Gets an integer that represents the content control identifier. This number is unique for each content control and doesn't change. * * @remarks * [Api set: WordApi 1.1] @@ -156924,7 +156946,7 @@ declare namespace Word { */ subtype?: boolean; /** - * For EACH ITEM in the collection: Specifies a tag to identify a content control. + * For EACH ITEM in the collection: Specifies a tag to identify a content control. The tag is different from the title in that it isn't displayed to the user. The tag can be used to identify a content control programmatically. * * @remarks * [Api set: WordApi 1.1] @@ -160563,6 +160585,8 @@ declare namespace Word { * * @remarks * [Api set: WordApi 1.6] + * + * This API requires an active Microsoft 365 subscription. It doesn't work with single-purchase licenses. */ uniqueLocalId?: boolean; } @@ -160785,6 +160809,8 @@ declare namespace Word { * * @remarks * [Api set: WordApi 1.6] + * + * This API requires an active Microsoft 365 subscription. It doesn't work with single-purchase licenses. */ uniqueLocalId?: boolean; }