@maxim_mazurok/gapi.client.docs-v1 0.1.20250925 → 0.2.20250925
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +10 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -578,6 +578,14 @@ declare namespace gapi.client {
|
|
|
578
578
|
/** Inserts the page break at a specific index in the document. The page break must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Page breaks cannot be inserted inside a table, equation, footnote, header or footer. Since page breaks can only be inserted inside the body, the segment ID field must be empty. */
|
|
579
579
|
location?: Location;
|
|
580
580
|
}
|
|
581
|
+
interface InsertPersonRequest {
|
|
582
|
+
/** Inserts the person at the end of a header, footer, footnote or the document body. */
|
|
583
|
+
endOfSegmentLocation?: EndOfSegmentLocation;
|
|
584
|
+
/** Inserts the person at a specific index in the document. The person mention must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). People cannot be inserted inside an equation. */
|
|
585
|
+
location?: Location;
|
|
586
|
+
/** The properties of the person mention to insert. */
|
|
587
|
+
personProperties?: PersonProperties;
|
|
588
|
+
}
|
|
581
589
|
interface InsertSectionBreakRequest {
|
|
582
590
|
/** Inserts a newline and a section break at the end of the document body. Section breaks cannot be inserted inside a footnote, header or footer. Because section breaks can only be inserted inside the body, the segment ID field must be empty. */
|
|
583
591
|
endOfSegmentLocation?: EndOfSegmentLocation;
|
|
@@ -1043,6 +1051,8 @@ declare namespace gapi.client {
|
|
|
1043
1051
|
insertInlineImage?: InsertInlineImageRequest;
|
|
1044
1052
|
/** Inserts a page break at the specified location. */
|
|
1045
1053
|
insertPageBreak?: InsertPageBreakRequest;
|
|
1054
|
+
/** Inserts a person mention. */
|
|
1055
|
+
insertPerson?: InsertPersonRequest;
|
|
1046
1056
|
/** Inserts a section break at the specified location. */
|
|
1047
1057
|
insertSectionBreak?: InsertSectionBreakRequest;
|
|
1048
1058
|
/** Inserts a table at the specified location. */
|