@superdoc/sdk 2.0.0 → 2.2.0
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/README.md +11 -134
- package/dist/agent/actions.cjs +183 -1
- package/dist/agent/actions.d.ts +8 -2
- package/dist/agent/actions.js +183 -1
- package/dist/embedded-prompts.generated.cjs +1 -1
- package/dist/embedded-prompts.generated.js +1 -1
- package/dist/embedded-tools.generated.cjs +6 -6
- package/dist/embedded-tools.generated.js +6 -6
- package/dist/generated/client.d.ts +426 -0
- package/dist/generated/contract.cjs +1014 -154
- package/dist/generated/contract.js +1020 -154
- package/dist/prompts/system-prompt.md +2 -1
- package/dist/runtime/transport-common.cjs +10 -4
- package/dist/runtime/transport-common.js +10 -4
- package/package.json +17 -6
- package/tools/catalog.json +38 -1
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +38 -1
- package/tools/tools.generic.json +38 -1
- package/tools/tools.openai.json +38 -1
- package/tools/tools.vercel.json +38 -1
|
@@ -17013,6 +17013,13 @@ export interface DocCommentsCreateParams {
|
|
|
17013
17013
|
textboxId: string;
|
|
17014
17014
|
});
|
|
17015
17015
|
parentId?: string;
|
|
17016
|
+
commentId?: string;
|
|
17017
|
+
externalId?: string;
|
|
17018
|
+
author?: string;
|
|
17019
|
+
authorId?: string;
|
|
17020
|
+
authorEmail?: string;
|
|
17021
|
+
authorImage?: string;
|
|
17022
|
+
metadata?: Record<string, unknown>;
|
|
17016
17023
|
blockId?: string;
|
|
17017
17024
|
start?: number;
|
|
17018
17025
|
end?: number;
|
|
@@ -25381,6 +25388,40 @@ export interface DocCitationsGetParams {
|
|
|
25381
25388
|
offset: number;
|
|
25382
25389
|
};
|
|
25383
25390
|
};
|
|
25391
|
+
story?: ({
|
|
25392
|
+
kind: "story";
|
|
25393
|
+
storyType: "body";
|
|
25394
|
+
}) | ({
|
|
25395
|
+
kind: "story";
|
|
25396
|
+
storyType: "headerFooterSlot";
|
|
25397
|
+
section: {
|
|
25398
|
+
kind: "section";
|
|
25399
|
+
sectionId: string;
|
|
25400
|
+
};
|
|
25401
|
+
headerFooterKind: "header" | "footer";
|
|
25402
|
+
variant: "default" | "first" | "even";
|
|
25403
|
+
resolution?: "effective" | "explicit";
|
|
25404
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
25405
|
+
}) | ({
|
|
25406
|
+
kind: "story";
|
|
25407
|
+
storyType: "headerFooterPart";
|
|
25408
|
+
refId: string;
|
|
25409
|
+
}) | ({
|
|
25410
|
+
kind: "story";
|
|
25411
|
+
storyType: "footnote";
|
|
25412
|
+
noteId: string;
|
|
25413
|
+
}) | ({
|
|
25414
|
+
kind: "story";
|
|
25415
|
+
storyType: "endnote";
|
|
25416
|
+
noteId: string;
|
|
25417
|
+
}) | ({
|
|
25418
|
+
kind: "story";
|
|
25419
|
+
storyType: "textbox";
|
|
25420
|
+
textboxId: string;
|
|
25421
|
+
});
|
|
25422
|
+
storyId?: string;
|
|
25423
|
+
fieldId?: string;
|
|
25424
|
+
occurrenceIndex?: number;
|
|
25384
25425
|
};
|
|
25385
25426
|
}
|
|
25386
25427
|
export interface DocCitationsInsertParams {
|
|
@@ -25455,6 +25496,40 @@ export interface DocCitationsUpdateParams {
|
|
|
25455
25496
|
offset: number;
|
|
25456
25497
|
};
|
|
25457
25498
|
};
|
|
25499
|
+
story?: ({
|
|
25500
|
+
kind: "story";
|
|
25501
|
+
storyType: "body";
|
|
25502
|
+
}) | ({
|
|
25503
|
+
kind: "story";
|
|
25504
|
+
storyType: "headerFooterSlot";
|
|
25505
|
+
section: {
|
|
25506
|
+
kind: "section";
|
|
25507
|
+
sectionId: string;
|
|
25508
|
+
};
|
|
25509
|
+
headerFooterKind: "header" | "footer";
|
|
25510
|
+
variant: "default" | "first" | "even";
|
|
25511
|
+
resolution?: "effective" | "explicit";
|
|
25512
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
25513
|
+
}) | ({
|
|
25514
|
+
kind: "story";
|
|
25515
|
+
storyType: "headerFooterPart";
|
|
25516
|
+
refId: string;
|
|
25517
|
+
}) | ({
|
|
25518
|
+
kind: "story";
|
|
25519
|
+
storyType: "footnote";
|
|
25520
|
+
noteId: string;
|
|
25521
|
+
}) | ({
|
|
25522
|
+
kind: "story";
|
|
25523
|
+
storyType: "endnote";
|
|
25524
|
+
noteId: string;
|
|
25525
|
+
}) | ({
|
|
25526
|
+
kind: "story";
|
|
25527
|
+
storyType: "textbox";
|
|
25528
|
+
textboxId: string;
|
|
25529
|
+
});
|
|
25530
|
+
storyId?: string;
|
|
25531
|
+
fieldId?: string;
|
|
25532
|
+
occurrenceIndex?: number;
|
|
25458
25533
|
};
|
|
25459
25534
|
patch: {
|
|
25460
25535
|
sourceIds?: Array<string>;
|
|
@@ -25481,6 +25556,40 @@ export interface DocCitationsRemoveParams {
|
|
|
25481
25556
|
offset: number;
|
|
25482
25557
|
};
|
|
25483
25558
|
};
|
|
25559
|
+
story?: ({
|
|
25560
|
+
kind: "story";
|
|
25561
|
+
storyType: "body";
|
|
25562
|
+
}) | ({
|
|
25563
|
+
kind: "story";
|
|
25564
|
+
storyType: "headerFooterSlot";
|
|
25565
|
+
section: {
|
|
25566
|
+
kind: "section";
|
|
25567
|
+
sectionId: string;
|
|
25568
|
+
};
|
|
25569
|
+
headerFooterKind: "header" | "footer";
|
|
25570
|
+
variant: "default" | "first" | "even";
|
|
25571
|
+
resolution?: "effective" | "explicit";
|
|
25572
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
25573
|
+
}) | ({
|
|
25574
|
+
kind: "story";
|
|
25575
|
+
storyType: "headerFooterPart";
|
|
25576
|
+
refId: string;
|
|
25577
|
+
}) | ({
|
|
25578
|
+
kind: "story";
|
|
25579
|
+
storyType: "footnote";
|
|
25580
|
+
noteId: string;
|
|
25581
|
+
}) | ({
|
|
25582
|
+
kind: "story";
|
|
25583
|
+
storyType: "endnote";
|
|
25584
|
+
noteId: string;
|
|
25585
|
+
}) | ({
|
|
25586
|
+
kind: "story";
|
|
25587
|
+
storyType: "textbox";
|
|
25588
|
+
textboxId: string;
|
|
25589
|
+
});
|
|
25590
|
+
storyId?: string;
|
|
25591
|
+
fieldId?: string;
|
|
25592
|
+
occurrenceIndex?: number;
|
|
25484
25593
|
};
|
|
25485
25594
|
}
|
|
25486
25595
|
export interface DocCitationsSourcesListParams {
|
|
@@ -27880,6 +27989,8 @@ export type DocClearContentResult = {
|
|
|
27880
27989
|
textboxId: string;
|
|
27881
27990
|
});
|
|
27882
27991
|
atChar: number;
|
|
27992
|
+
blockId?: string;
|
|
27993
|
+
atCharInBlock?: number;
|
|
27883
27994
|
delta: number;
|
|
27884
27995
|
}>;
|
|
27885
27996
|
txId?: string;
|
|
@@ -31456,6 +31567,8 @@ export type DocBlocksDeleteResult = {
|
|
|
31456
31567
|
textboxId: string;
|
|
31457
31568
|
});
|
|
31458
31569
|
atChar: number;
|
|
31570
|
+
blockId?: string;
|
|
31571
|
+
atCharInBlock?: number;
|
|
31459
31572
|
delta: number;
|
|
31460
31573
|
}>;
|
|
31461
31574
|
txId?: string;
|
|
@@ -31686,6 +31799,8 @@ export type DocBlocksDeleteRangeResult = {
|
|
|
31686
31799
|
textboxId: string;
|
|
31687
31800
|
});
|
|
31688
31801
|
atChar: number;
|
|
31802
|
+
blockId?: string;
|
|
31803
|
+
atCharInBlock?: number;
|
|
31689
31804
|
delta: number;
|
|
31690
31805
|
}>;
|
|
31691
31806
|
txId?: string;
|
|
@@ -32028,6 +32143,8 @@ export type DocBlocksSplitResult = {
|
|
|
32028
32143
|
textboxId: string;
|
|
32029
32144
|
});
|
|
32030
32145
|
atChar: number;
|
|
32146
|
+
blockId?: string;
|
|
32147
|
+
atCharInBlock?: number;
|
|
32031
32148
|
delta: number;
|
|
32032
32149
|
}>;
|
|
32033
32150
|
txId?: string;
|
|
@@ -32370,6 +32487,8 @@ export type DocBlocksMergeResult = {
|
|
|
32370
32487
|
textboxId: string;
|
|
32371
32488
|
});
|
|
32372
32489
|
atChar: number;
|
|
32490
|
+
blockId?: string;
|
|
32491
|
+
atCharInBlock?: number;
|
|
32373
32492
|
delta: number;
|
|
32374
32493
|
}>;
|
|
32375
32494
|
txId?: string;
|
|
@@ -79322,6 +79441,8 @@ export type DocListsAttachResult = {
|
|
|
79322
79441
|
textboxId: string;
|
|
79323
79442
|
});
|
|
79324
79443
|
atChar: number;
|
|
79444
|
+
blockId?: string;
|
|
79445
|
+
atCharInBlock?: number;
|
|
79325
79446
|
delta: number;
|
|
79326
79447
|
}>;
|
|
79327
79448
|
txId?: string;
|
|
@@ -79744,6 +79865,8 @@ export type DocListsIndentResult = {
|
|
|
79744
79865
|
textboxId: string;
|
|
79745
79866
|
});
|
|
79746
79867
|
atChar: number;
|
|
79868
|
+
blockId?: string;
|
|
79869
|
+
atCharInBlock?: number;
|
|
79747
79870
|
delta: number;
|
|
79748
79871
|
}>;
|
|
79749
79872
|
txId?: string;
|
|
@@ -80123,6 +80246,8 @@ export type DocListsOutdentResult = {
|
|
|
80123
80246
|
textboxId: string;
|
|
80124
80247
|
});
|
|
80125
80248
|
atChar: number;
|
|
80249
|
+
blockId?: string;
|
|
80250
|
+
atCharInBlock?: number;
|
|
80126
80251
|
delta: number;
|
|
80127
80252
|
}>;
|
|
80128
80253
|
txId?: string;
|
|
@@ -80528,6 +80653,8 @@ export type DocListsSetLevelResult = {
|
|
|
80528
80653
|
textboxId: string;
|
|
80529
80654
|
});
|
|
80530
80655
|
atChar: number;
|
|
80656
|
+
blockId?: string;
|
|
80657
|
+
atCharInBlock?: number;
|
|
80531
80658
|
delta: number;
|
|
80532
80659
|
}>;
|
|
80533
80660
|
txId?: string;
|
|
@@ -80907,6 +81034,8 @@ export type DocListsSetValueResult = {
|
|
|
80907
81034
|
textboxId: string;
|
|
80908
81035
|
});
|
|
80909
81036
|
atChar: number;
|
|
81037
|
+
blockId?: string;
|
|
81038
|
+
atCharInBlock?: number;
|
|
80910
81039
|
delta: number;
|
|
80911
81040
|
}>;
|
|
80912
81041
|
txId?: string;
|
|
@@ -81286,6 +81415,8 @@ export type DocListsContinuePreviousResult = {
|
|
|
81286
81415
|
textboxId: string;
|
|
81287
81416
|
});
|
|
81288
81417
|
atChar: number;
|
|
81418
|
+
blockId?: string;
|
|
81419
|
+
atCharInBlock?: number;
|
|
81289
81420
|
delta: number;
|
|
81290
81421
|
}>;
|
|
81291
81422
|
txId?: string;
|
|
@@ -81670,6 +81801,8 @@ export type DocListsSetLevelRestartResult = {
|
|
|
81670
81801
|
textboxId: string;
|
|
81671
81802
|
});
|
|
81672
81803
|
atChar: number;
|
|
81804
|
+
blockId?: string;
|
|
81805
|
+
atCharInBlock?: number;
|
|
81673
81806
|
delta: number;
|
|
81674
81807
|
}>;
|
|
81675
81808
|
txId?: string;
|
|
@@ -82088,6 +82221,8 @@ export type DocListsApplyTemplateResult = {
|
|
|
82088
82221
|
textboxId: string;
|
|
82089
82222
|
});
|
|
82090
82223
|
atChar: number;
|
|
82224
|
+
blockId?: string;
|
|
82225
|
+
atCharInBlock?: number;
|
|
82091
82226
|
delta: number;
|
|
82092
82227
|
}>;
|
|
82093
82228
|
txId?: string;
|
|
@@ -82467,6 +82602,8 @@ export type DocListsApplyPresetResult = {
|
|
|
82467
82602
|
textboxId: string;
|
|
82468
82603
|
});
|
|
82469
82604
|
atChar: number;
|
|
82605
|
+
blockId?: string;
|
|
82606
|
+
atCharInBlock?: number;
|
|
82470
82607
|
delta: number;
|
|
82471
82608
|
}>;
|
|
82472
82609
|
txId?: string;
|
|
@@ -82846,6 +82983,8 @@ export type DocListsSetTypeResult = {
|
|
|
82846
82983
|
textboxId: string;
|
|
82847
82984
|
});
|
|
82848
82985
|
atChar: number;
|
|
82986
|
+
blockId?: string;
|
|
82987
|
+
atCharInBlock?: number;
|
|
82849
82988
|
delta: number;
|
|
82850
82989
|
}>;
|
|
82851
82990
|
txId?: string;
|
|
@@ -83246,6 +83385,8 @@ export type DocListsSetLevelNumberingResult = {
|
|
|
83246
83385
|
textboxId: string;
|
|
83247
83386
|
});
|
|
83248
83387
|
atChar: number;
|
|
83388
|
+
blockId?: string;
|
|
83389
|
+
atCharInBlock?: number;
|
|
83249
83390
|
delta: number;
|
|
83250
83391
|
}>;
|
|
83251
83392
|
txId?: string;
|
|
@@ -83625,6 +83766,8 @@ export type DocListsSetLevelBulletResult = {
|
|
|
83625
83766
|
textboxId: string;
|
|
83626
83767
|
});
|
|
83627
83768
|
atChar: number;
|
|
83769
|
+
blockId?: string;
|
|
83770
|
+
atCharInBlock?: number;
|
|
83628
83771
|
delta: number;
|
|
83629
83772
|
}>;
|
|
83630
83773
|
txId?: string;
|
|
@@ -84004,6 +84147,8 @@ export type DocListsSetLevelPictureBulletResult = {
|
|
|
84004
84147
|
textboxId: string;
|
|
84005
84148
|
});
|
|
84006
84149
|
atChar: number;
|
|
84150
|
+
blockId?: string;
|
|
84151
|
+
atCharInBlock?: number;
|
|
84007
84152
|
delta: number;
|
|
84008
84153
|
}>;
|
|
84009
84154
|
txId?: string;
|
|
@@ -84383,6 +84528,8 @@ export type DocListsSetLevelAlignmentResult = {
|
|
|
84383
84528
|
textboxId: string;
|
|
84384
84529
|
});
|
|
84385
84530
|
atChar: number;
|
|
84531
|
+
blockId?: string;
|
|
84532
|
+
atCharInBlock?: number;
|
|
84386
84533
|
delta: number;
|
|
84387
84534
|
}>;
|
|
84388
84535
|
txId?: string;
|
|
@@ -84762,6 +84909,8 @@ export type DocListsSetLevelIndentsResult = {
|
|
|
84762
84909
|
textboxId: string;
|
|
84763
84910
|
});
|
|
84764
84911
|
atChar: number;
|
|
84912
|
+
blockId?: string;
|
|
84913
|
+
atCharInBlock?: number;
|
|
84765
84914
|
delta: number;
|
|
84766
84915
|
}>;
|
|
84767
84916
|
txId?: string;
|
|
@@ -85141,6 +85290,8 @@ export type DocListsSetLevelTrailingCharacterResult = {
|
|
|
85141
85290
|
textboxId: string;
|
|
85142
85291
|
});
|
|
85143
85292
|
atChar: number;
|
|
85293
|
+
blockId?: string;
|
|
85294
|
+
atCharInBlock?: number;
|
|
85144
85295
|
delta: number;
|
|
85145
85296
|
}>;
|
|
85146
85297
|
txId?: string;
|
|
@@ -85520,6 +85671,8 @@ export type DocListsSetLevelMarkerFontResult = {
|
|
|
85520
85671
|
textboxId: string;
|
|
85521
85672
|
});
|
|
85522
85673
|
atChar: number;
|
|
85674
|
+
blockId?: string;
|
|
85675
|
+
atCharInBlock?: number;
|
|
85523
85676
|
delta: number;
|
|
85524
85677
|
}>;
|
|
85525
85678
|
txId?: string;
|
|
@@ -85899,6 +86052,8 @@ export type DocListsClearLevelOverridesResult = {
|
|
|
85899
86052
|
textboxId: string;
|
|
85900
86053
|
});
|
|
85901
86054
|
atChar: number;
|
|
86055
|
+
blockId?: string;
|
|
86056
|
+
atCharInBlock?: number;
|
|
85902
86057
|
delta: number;
|
|
85903
86058
|
}>;
|
|
85904
86059
|
txId?: string;
|
|
@@ -86300,6 +86455,8 @@ export type DocListsApplyStyleResult = {
|
|
|
86300
86455
|
textboxId: string;
|
|
86301
86456
|
});
|
|
86302
86457
|
atChar: number;
|
|
86458
|
+
blockId?: string;
|
|
86459
|
+
atCharInBlock?: number;
|
|
86303
86460
|
delta: number;
|
|
86304
86461
|
}>;
|
|
86305
86462
|
txId?: string;
|
|
@@ -86679,6 +86836,8 @@ export type DocListsRestartAtResult = {
|
|
|
86679
86836
|
textboxId: string;
|
|
86680
86837
|
});
|
|
86681
86838
|
atChar: number;
|
|
86839
|
+
blockId?: string;
|
|
86840
|
+
atCharInBlock?: number;
|
|
86682
86841
|
delta: number;
|
|
86683
86842
|
}>;
|
|
86684
86843
|
txId?: string;
|
|
@@ -87058,6 +87217,8 @@ export type DocListsSetLevelNumberStyleResult = {
|
|
|
87058
87217
|
textboxId: string;
|
|
87059
87218
|
});
|
|
87060
87219
|
atChar: number;
|
|
87220
|
+
blockId?: string;
|
|
87221
|
+
atCharInBlock?: number;
|
|
87061
87222
|
delta: number;
|
|
87062
87223
|
}>;
|
|
87063
87224
|
txId?: string;
|
|
@@ -87437,6 +87598,8 @@ export type DocListsSetLevelTextResult = {
|
|
|
87437
87598
|
textboxId: string;
|
|
87438
87599
|
});
|
|
87439
87600
|
atChar: number;
|
|
87601
|
+
blockId?: string;
|
|
87602
|
+
atCharInBlock?: number;
|
|
87440
87603
|
delta: number;
|
|
87441
87604
|
}>;
|
|
87442
87605
|
txId?: string;
|
|
@@ -87816,6 +87979,8 @@ export type DocListsSetLevelStartResult = {
|
|
|
87816
87979
|
textboxId: string;
|
|
87817
87980
|
});
|
|
87818
87981
|
atChar: number;
|
|
87982
|
+
blockId?: string;
|
|
87983
|
+
atCharInBlock?: number;
|
|
87819
87984
|
delta: number;
|
|
87820
87985
|
}>;
|
|
87821
87986
|
txId?: string;
|
|
@@ -88195,6 +88360,8 @@ export type DocListsSetLevelLayoutResult = {
|
|
|
88195
88360
|
textboxId: string;
|
|
88196
88361
|
});
|
|
88197
88362
|
atChar: number;
|
|
88363
|
+
blockId?: string;
|
|
88364
|
+
atCharInBlock?: number;
|
|
88198
88365
|
delta: number;
|
|
88199
88366
|
}>;
|
|
88200
88367
|
txId?: string;
|
|
@@ -88591,6 +88758,8 @@ export type DocListsApplyResult = {
|
|
|
88591
88758
|
textboxId: string;
|
|
88592
88759
|
});
|
|
88593
88760
|
atChar: number;
|
|
88761
|
+
blockId?: string;
|
|
88762
|
+
atCharInBlock?: number;
|
|
88594
88763
|
delta: number;
|
|
88595
88764
|
}>;
|
|
88596
88765
|
txId?: string;
|
|
@@ -88970,6 +89139,8 @@ export type DocListsContinueResult = {
|
|
|
88970
89139
|
textboxId: string;
|
|
88971
89140
|
});
|
|
88972
89141
|
atChar: number;
|
|
89142
|
+
blockId?: string;
|
|
89143
|
+
atCharInBlock?: number;
|
|
88973
89144
|
delta: number;
|
|
88974
89145
|
}>;
|
|
88975
89146
|
txId?: string;
|
|
@@ -89349,6 +89520,8 @@ export type DocListsRestartResult = {
|
|
|
89349
89520
|
textboxId: string;
|
|
89350
89521
|
});
|
|
89351
89522
|
atChar: number;
|
|
89523
|
+
blockId?: string;
|
|
89524
|
+
atCharInBlock?: number;
|
|
89352
89525
|
delta: number;
|
|
89353
89526
|
}>;
|
|
89354
89527
|
txId?: string;
|
|
@@ -89728,6 +89901,8 @@ export type DocListsRemoveResult = {
|
|
|
89728
89901
|
textboxId: string;
|
|
89729
89902
|
});
|
|
89730
89903
|
atChar: number;
|
|
89904
|
+
blockId?: string;
|
|
89905
|
+
atCharInBlock?: number;
|
|
89731
89906
|
delta: number;
|
|
89732
89907
|
}>;
|
|
89733
89908
|
txId?: string;
|
|
@@ -90433,6 +90608,8 @@ export type DocCommentsPatchResult = {
|
|
|
90433
90608
|
textboxId: string;
|
|
90434
90609
|
});
|
|
90435
90610
|
atChar: number;
|
|
90611
|
+
blockId?: string;
|
|
90612
|
+
atCharInBlock?: number;
|
|
90436
90613
|
delta: number;
|
|
90437
90614
|
}>;
|
|
90438
90615
|
txId?: string;
|
|
@@ -90977,6 +91154,8 @@ export type DocCommentsDeleteResult = {
|
|
|
90977
91154
|
textboxId: string;
|
|
90978
91155
|
});
|
|
90979
91156
|
atChar: number;
|
|
91157
|
+
blockId?: string;
|
|
91158
|
+
atCharInBlock?: number;
|
|
90980
91159
|
delta: number;
|
|
90981
91160
|
}>;
|
|
90982
91161
|
txId?: string;
|
|
@@ -90988,6 +91167,8 @@ export type DocCommentsGetResult = {
|
|
|
90988
91167
|
entityId: string;
|
|
90989
91168
|
};
|
|
90990
91169
|
commentId: string;
|
|
91170
|
+
externalId?: string;
|
|
91171
|
+
metadata?: Record<string, unknown>;
|
|
90991
91172
|
importedId?: string;
|
|
90992
91173
|
rawOoxmlId?: string;
|
|
90993
91174
|
rawOoxmlOccurrenceIndex?: number;
|
|
@@ -91042,7 +91223,9 @@ export type DocCommentsGetResult = {
|
|
|
91042
91223
|
anchoredText?: string;
|
|
91043
91224
|
createdTime?: number;
|
|
91044
91225
|
creatorName?: string;
|
|
91226
|
+
creatorId?: string;
|
|
91045
91227
|
creatorEmail?: string;
|
|
91228
|
+
creatorImage?: string;
|
|
91046
91229
|
trackedChange?: boolean;
|
|
91047
91230
|
trackedChangeType?: "insertion" | "deletion" | "replacement" | "formatting" | "move" | "structural" | "insert" | "delete" | "format";
|
|
91048
91231
|
trackedChangeDisplayType?: unknown;
|
|
@@ -91106,6 +91289,8 @@ export type DocCommentsListResult = {
|
|
|
91106
91289
|
entityType: "comment";
|
|
91107
91290
|
entityId: string;
|
|
91108
91291
|
};
|
|
91292
|
+
externalId?: string;
|
|
91293
|
+
metadata?: Record<string, unknown>;
|
|
91109
91294
|
importedId?: string;
|
|
91110
91295
|
rawOoxmlId?: string;
|
|
91111
91296
|
rawOoxmlOccurrenceIndex?: number;
|
|
@@ -91160,7 +91345,9 @@ export type DocCommentsListResult = {
|
|
|
91160
91345
|
anchoredText?: string;
|
|
91161
91346
|
createdTime?: number;
|
|
91162
91347
|
creatorName?: string;
|
|
91348
|
+
creatorId?: string;
|
|
91163
91349
|
creatorEmail?: string;
|
|
91350
|
+
creatorImage?: string;
|
|
91164
91351
|
trackedChange?: boolean;
|
|
91165
91352
|
trackedChangeType?: "insertion" | "deletion" | "replacement" | "formatting" | "move" | "structural" | "insert" | "delete" | "format";
|
|
91166
91353
|
trackedChangeDisplayType?: unknown;
|
|
@@ -91369,6 +91556,12 @@ export type DocTrackChangesListResult = {
|
|
|
91369
91556
|
relationship?: "parent" | "child" | "standalone";
|
|
91370
91557
|
parentId?: string;
|
|
91371
91558
|
};
|
|
91559
|
+
customAttributes?: Array<{
|
|
91560
|
+
name: string;
|
|
91561
|
+
namespaceUri: string;
|
|
91562
|
+
localName: string;
|
|
91563
|
+
value: string;
|
|
91564
|
+
}>;
|
|
91372
91565
|
}>;
|
|
91373
91566
|
page: {
|
|
91374
91567
|
limit: number;
|
|
@@ -91666,6 +91859,12 @@ export type DocTrackChangesGetResult = {
|
|
|
91666
91859
|
relationship?: "parent" | "child" | "standalone";
|
|
91667
91860
|
parentId?: string;
|
|
91668
91861
|
};
|
|
91862
|
+
customAttributes?: Array<{
|
|
91863
|
+
name: string;
|
|
91864
|
+
namespaceUri: string;
|
|
91865
|
+
localName: string;
|
|
91866
|
+
value: string;
|
|
91867
|
+
}>;
|
|
91669
91868
|
};
|
|
91670
91869
|
export type DocTrackChangesDecideResult = {
|
|
91671
91870
|
success: true;
|
|
@@ -92207,6 +92406,8 @@ export type DocTrackChangesDecideResult = {
|
|
|
92207
92406
|
textboxId: string;
|
|
92208
92407
|
});
|
|
92209
92408
|
atChar: number;
|
|
92409
|
+
blockId?: string;
|
|
92410
|
+
atCharInBlock?: number;
|
|
92210
92411
|
delta: number;
|
|
92211
92412
|
}>;
|
|
92212
92413
|
txId?: string;
|
|
@@ -98798,6 +98999,8 @@ export type DocHistoryUndoResult = {
|
|
|
98798
98999
|
textboxId: string;
|
|
98799
99000
|
});
|
|
98800
99001
|
atChar: number;
|
|
99002
|
+
blockId?: string;
|
|
99003
|
+
atCharInBlock?: number;
|
|
98801
99004
|
delta: number;
|
|
98802
99005
|
}>;
|
|
98803
99006
|
status?: "applied" | "noop" | "rejected" | "partial" | "repaired";
|
|
@@ -99353,6 +99556,8 @@ export type DocHistoryRedoResult = {
|
|
|
99353
99556
|
textboxId: string;
|
|
99354
99557
|
});
|
|
99355
99558
|
atChar: number;
|
|
99559
|
+
blockId?: string;
|
|
99560
|
+
atCharInBlock?: number;
|
|
99356
99561
|
delta: number;
|
|
99357
99562
|
}>;
|
|
99358
99563
|
status?: "applied" | "noop" | "rejected" | "partial" | "repaired";
|
|
@@ -99964,6 +100169,7 @@ export type DocContentControlsListResult = {
|
|
|
99964
100169
|
coordinateSpace?: "visible" | "tracked";
|
|
99965
100170
|
}) | null;
|
|
99966
100171
|
text?: string;
|
|
100172
|
+
isEmpty?: boolean;
|
|
99967
100173
|
}>;
|
|
99968
100174
|
total: number;
|
|
99969
100175
|
};
|
|
@@ -100171,6 +100377,7 @@ export type DocContentControlsGetResult = {
|
|
|
100171
100377
|
coordinateSpace?: "visible" | "tracked";
|
|
100172
100378
|
}) | null;
|
|
100173
100379
|
text?: string;
|
|
100380
|
+
isEmpty?: boolean;
|
|
100174
100381
|
};
|
|
100175
100382
|
export type DocContentControlsListInRangeResult = {
|
|
100176
100383
|
items: Array<{
|
|
@@ -100377,6 +100584,7 @@ export type DocContentControlsListInRangeResult = {
|
|
|
100377
100584
|
coordinateSpace?: "visible" | "tracked";
|
|
100378
100585
|
}) | null;
|
|
100379
100586
|
text?: string;
|
|
100587
|
+
isEmpty?: boolean;
|
|
100380
100588
|
}>;
|
|
100381
100589
|
total: number;
|
|
100382
100590
|
};
|
|
@@ -100585,6 +100793,7 @@ export type DocContentControlsSelectByTagResult = {
|
|
|
100585
100793
|
coordinateSpace?: "visible" | "tracked";
|
|
100586
100794
|
}) | null;
|
|
100587
100795
|
text?: string;
|
|
100796
|
+
isEmpty?: boolean;
|
|
100588
100797
|
}>;
|
|
100589
100798
|
total: number;
|
|
100590
100799
|
};
|
|
@@ -100793,6 +101002,7 @@ export type DocContentControlsSelectByTitleResult = {
|
|
|
100793
101002
|
coordinateSpace?: "visible" | "tracked";
|
|
100794
101003
|
}) | null;
|
|
100795
101004
|
text?: string;
|
|
101005
|
+
isEmpty?: boolean;
|
|
100796
101006
|
}>;
|
|
100797
101007
|
total: number;
|
|
100798
101008
|
};
|
|
@@ -101001,6 +101211,7 @@ export type DocContentControlsListChildrenResult = {
|
|
|
101001
101211
|
coordinateSpace?: "visible" | "tracked";
|
|
101002
101212
|
}) | null;
|
|
101003
101213
|
text?: string;
|
|
101214
|
+
isEmpty?: boolean;
|
|
101004
101215
|
}>;
|
|
101005
101216
|
total: number;
|
|
101006
101217
|
};
|
|
@@ -101208,6 +101419,7 @@ export type DocContentControlsGetParentResult = ({
|
|
|
101208
101419
|
coordinateSpace?: "visible" | "tracked";
|
|
101209
101420
|
}) | null;
|
|
101210
101421
|
text?: string;
|
|
101422
|
+
isEmpty?: boolean;
|
|
101211
101423
|
}) | null;
|
|
101212
101424
|
export type DocContentControlsWrapResult = {
|
|
101213
101425
|
success: true;
|
|
@@ -101866,6 +102078,7 @@ export type DocContentControlsRepeatingSectionListItemsResult = {
|
|
|
101866
102078
|
coordinateSpace?: "visible" | "tracked";
|
|
101867
102079
|
}) | null;
|
|
101868
102080
|
text?: string;
|
|
102081
|
+
isEmpty?: boolean;
|
|
101869
102082
|
}>;
|
|
101870
102083
|
total: number;
|
|
101871
102084
|
};
|
|
@@ -102654,6 +102867,8 @@ export type DocClipboardInsertResult = {
|
|
|
102654
102867
|
textboxId: string;
|
|
102655
102868
|
});
|
|
102656
102869
|
atChar: number;
|
|
102870
|
+
blockId?: string;
|
|
102871
|
+
atCharInBlock?: number;
|
|
102657
102872
|
delta: number;
|
|
102658
102873
|
}>;
|
|
102659
102874
|
txId?: string;
|
|
@@ -102884,6 +103099,40 @@ export type DocCitationsInsertResult = {
|
|
|
102884
103099
|
offset: number;
|
|
102885
103100
|
};
|
|
102886
103101
|
};
|
|
103102
|
+
story?: ({
|
|
103103
|
+
kind: "story";
|
|
103104
|
+
storyType: "body";
|
|
103105
|
+
}) | ({
|
|
103106
|
+
kind: "story";
|
|
103107
|
+
storyType: "headerFooterSlot";
|
|
103108
|
+
section: {
|
|
103109
|
+
kind: "section";
|
|
103110
|
+
sectionId: string;
|
|
103111
|
+
};
|
|
103112
|
+
headerFooterKind: "header" | "footer";
|
|
103113
|
+
variant: "default" | "first" | "even";
|
|
103114
|
+
resolution?: "effective" | "explicit";
|
|
103115
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
103116
|
+
}) | ({
|
|
103117
|
+
kind: "story";
|
|
103118
|
+
storyType: "headerFooterPart";
|
|
103119
|
+
refId: string;
|
|
103120
|
+
}) | ({
|
|
103121
|
+
kind: "story";
|
|
103122
|
+
storyType: "footnote";
|
|
103123
|
+
noteId: string;
|
|
103124
|
+
}) | ({
|
|
103125
|
+
kind: "story";
|
|
103126
|
+
storyType: "endnote";
|
|
103127
|
+
noteId: string;
|
|
103128
|
+
}) | ({
|
|
103129
|
+
kind: "story";
|
|
103130
|
+
storyType: "textbox";
|
|
103131
|
+
textboxId: string;
|
|
103132
|
+
});
|
|
103133
|
+
storyId?: string;
|
|
103134
|
+
fieldId?: string;
|
|
103135
|
+
occurrenceIndex?: number;
|
|
102887
103136
|
};
|
|
102888
103137
|
};
|
|
102889
103138
|
export type DocCitationsUpdateResult = {
|
|
@@ -102901,6 +103150,40 @@ export type DocCitationsUpdateResult = {
|
|
|
102901
103150
|
offset: number;
|
|
102902
103151
|
};
|
|
102903
103152
|
};
|
|
103153
|
+
story?: ({
|
|
103154
|
+
kind: "story";
|
|
103155
|
+
storyType: "body";
|
|
103156
|
+
}) | ({
|
|
103157
|
+
kind: "story";
|
|
103158
|
+
storyType: "headerFooterSlot";
|
|
103159
|
+
section: {
|
|
103160
|
+
kind: "section";
|
|
103161
|
+
sectionId: string;
|
|
103162
|
+
};
|
|
103163
|
+
headerFooterKind: "header" | "footer";
|
|
103164
|
+
variant: "default" | "first" | "even";
|
|
103165
|
+
resolution?: "effective" | "explicit";
|
|
103166
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
103167
|
+
}) | ({
|
|
103168
|
+
kind: "story";
|
|
103169
|
+
storyType: "headerFooterPart";
|
|
103170
|
+
refId: string;
|
|
103171
|
+
}) | ({
|
|
103172
|
+
kind: "story";
|
|
103173
|
+
storyType: "footnote";
|
|
103174
|
+
noteId: string;
|
|
103175
|
+
}) | ({
|
|
103176
|
+
kind: "story";
|
|
103177
|
+
storyType: "endnote";
|
|
103178
|
+
noteId: string;
|
|
103179
|
+
}) | ({
|
|
103180
|
+
kind: "story";
|
|
103181
|
+
storyType: "textbox";
|
|
103182
|
+
textboxId: string;
|
|
103183
|
+
});
|
|
103184
|
+
storyId?: string;
|
|
103185
|
+
fieldId?: string;
|
|
103186
|
+
occurrenceIndex?: number;
|
|
102904
103187
|
};
|
|
102905
103188
|
};
|
|
102906
103189
|
export type DocCitationsRemoveResult = {
|
|
@@ -102918,6 +103201,40 @@ export type DocCitationsRemoveResult = {
|
|
|
102918
103201
|
offset: number;
|
|
102919
103202
|
};
|
|
102920
103203
|
};
|
|
103204
|
+
story?: ({
|
|
103205
|
+
kind: "story";
|
|
103206
|
+
storyType: "body";
|
|
103207
|
+
}) | ({
|
|
103208
|
+
kind: "story";
|
|
103209
|
+
storyType: "headerFooterSlot";
|
|
103210
|
+
section: {
|
|
103211
|
+
kind: "section";
|
|
103212
|
+
sectionId: string;
|
|
103213
|
+
};
|
|
103214
|
+
headerFooterKind: "header" | "footer";
|
|
103215
|
+
variant: "default" | "first" | "even";
|
|
103216
|
+
resolution?: "effective" | "explicit";
|
|
103217
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
103218
|
+
}) | ({
|
|
103219
|
+
kind: "story";
|
|
103220
|
+
storyType: "headerFooterPart";
|
|
103221
|
+
refId: string;
|
|
103222
|
+
}) | ({
|
|
103223
|
+
kind: "story";
|
|
103224
|
+
storyType: "footnote";
|
|
103225
|
+
noteId: string;
|
|
103226
|
+
}) | ({
|
|
103227
|
+
kind: "story";
|
|
103228
|
+
storyType: "endnote";
|
|
103229
|
+
noteId: string;
|
|
103230
|
+
}) | ({
|
|
103231
|
+
kind: "story";
|
|
103232
|
+
storyType: "textbox";
|
|
103233
|
+
textboxId: string;
|
|
103234
|
+
});
|
|
103235
|
+
storyId?: string;
|
|
103236
|
+
fieldId?: string;
|
|
103237
|
+
occurrenceIndex?: number;
|
|
102921
103238
|
};
|
|
102922
103239
|
};
|
|
102923
103240
|
export type DocCitationsSourcesListResult = Record<string, unknown>;
|
|
@@ -120141,6 +120458,13 @@ export interface DocCommentsCreateBoundParams {
|
|
|
120141
120458
|
textboxId: string;
|
|
120142
120459
|
});
|
|
120143
120460
|
parentId?: string;
|
|
120461
|
+
commentId?: string;
|
|
120462
|
+
externalId?: string;
|
|
120463
|
+
author?: string;
|
|
120464
|
+
authorId?: string;
|
|
120465
|
+
authorEmail?: string;
|
|
120466
|
+
authorImage?: string;
|
|
120467
|
+
metadata?: Record<string, unknown>;
|
|
120144
120468
|
blockId?: string;
|
|
120145
120469
|
start?: number;
|
|
120146
120470
|
end?: number;
|
|
@@ -128074,6 +128398,40 @@ export interface DocCitationsGetBoundParams {
|
|
|
128074
128398
|
offset: number;
|
|
128075
128399
|
};
|
|
128076
128400
|
};
|
|
128401
|
+
story?: ({
|
|
128402
|
+
kind: "story";
|
|
128403
|
+
storyType: "body";
|
|
128404
|
+
}) | ({
|
|
128405
|
+
kind: "story";
|
|
128406
|
+
storyType: "headerFooterSlot";
|
|
128407
|
+
section: {
|
|
128408
|
+
kind: "section";
|
|
128409
|
+
sectionId: string;
|
|
128410
|
+
};
|
|
128411
|
+
headerFooterKind: "header" | "footer";
|
|
128412
|
+
variant: "default" | "first" | "even";
|
|
128413
|
+
resolution?: "effective" | "explicit";
|
|
128414
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
128415
|
+
}) | ({
|
|
128416
|
+
kind: "story";
|
|
128417
|
+
storyType: "headerFooterPart";
|
|
128418
|
+
refId: string;
|
|
128419
|
+
}) | ({
|
|
128420
|
+
kind: "story";
|
|
128421
|
+
storyType: "footnote";
|
|
128422
|
+
noteId: string;
|
|
128423
|
+
}) | ({
|
|
128424
|
+
kind: "story";
|
|
128425
|
+
storyType: "endnote";
|
|
128426
|
+
noteId: string;
|
|
128427
|
+
}) | ({
|
|
128428
|
+
kind: "story";
|
|
128429
|
+
storyType: "textbox";
|
|
128430
|
+
textboxId: string;
|
|
128431
|
+
});
|
|
128432
|
+
storyId?: string;
|
|
128433
|
+
fieldId?: string;
|
|
128434
|
+
occurrenceIndex?: number;
|
|
128077
128435
|
};
|
|
128078
128436
|
}
|
|
128079
128437
|
export interface DocCitationsInsertBoundParams {
|
|
@@ -128144,6 +128502,40 @@ export interface DocCitationsUpdateBoundParams {
|
|
|
128144
128502
|
offset: number;
|
|
128145
128503
|
};
|
|
128146
128504
|
};
|
|
128505
|
+
story?: ({
|
|
128506
|
+
kind: "story";
|
|
128507
|
+
storyType: "body";
|
|
128508
|
+
}) | ({
|
|
128509
|
+
kind: "story";
|
|
128510
|
+
storyType: "headerFooterSlot";
|
|
128511
|
+
section: {
|
|
128512
|
+
kind: "section";
|
|
128513
|
+
sectionId: string;
|
|
128514
|
+
};
|
|
128515
|
+
headerFooterKind: "header" | "footer";
|
|
128516
|
+
variant: "default" | "first" | "even";
|
|
128517
|
+
resolution?: "effective" | "explicit";
|
|
128518
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
128519
|
+
}) | ({
|
|
128520
|
+
kind: "story";
|
|
128521
|
+
storyType: "headerFooterPart";
|
|
128522
|
+
refId: string;
|
|
128523
|
+
}) | ({
|
|
128524
|
+
kind: "story";
|
|
128525
|
+
storyType: "footnote";
|
|
128526
|
+
noteId: string;
|
|
128527
|
+
}) | ({
|
|
128528
|
+
kind: "story";
|
|
128529
|
+
storyType: "endnote";
|
|
128530
|
+
noteId: string;
|
|
128531
|
+
}) | ({
|
|
128532
|
+
kind: "story";
|
|
128533
|
+
storyType: "textbox";
|
|
128534
|
+
textboxId: string;
|
|
128535
|
+
});
|
|
128536
|
+
storyId?: string;
|
|
128537
|
+
fieldId?: string;
|
|
128538
|
+
occurrenceIndex?: number;
|
|
128147
128539
|
};
|
|
128148
128540
|
patch: {
|
|
128149
128541
|
sourceIds?: Array<string>;
|
|
@@ -128168,6 +128560,40 @@ export interface DocCitationsRemoveBoundParams {
|
|
|
128168
128560
|
offset: number;
|
|
128169
128561
|
};
|
|
128170
128562
|
};
|
|
128563
|
+
story?: ({
|
|
128564
|
+
kind: "story";
|
|
128565
|
+
storyType: "body";
|
|
128566
|
+
}) | ({
|
|
128567
|
+
kind: "story";
|
|
128568
|
+
storyType: "headerFooterSlot";
|
|
128569
|
+
section: {
|
|
128570
|
+
kind: "section";
|
|
128571
|
+
sectionId: string;
|
|
128572
|
+
};
|
|
128573
|
+
headerFooterKind: "header" | "footer";
|
|
128574
|
+
variant: "default" | "first" | "even";
|
|
128575
|
+
resolution?: "effective" | "explicit";
|
|
128576
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
128577
|
+
}) | ({
|
|
128578
|
+
kind: "story";
|
|
128579
|
+
storyType: "headerFooterPart";
|
|
128580
|
+
refId: string;
|
|
128581
|
+
}) | ({
|
|
128582
|
+
kind: "story";
|
|
128583
|
+
storyType: "footnote";
|
|
128584
|
+
noteId: string;
|
|
128585
|
+
}) | ({
|
|
128586
|
+
kind: "story";
|
|
128587
|
+
storyType: "endnote";
|
|
128588
|
+
noteId: string;
|
|
128589
|
+
}) | ({
|
|
128590
|
+
kind: "story";
|
|
128591
|
+
storyType: "textbox";
|
|
128592
|
+
textboxId: string;
|
|
128593
|
+
});
|
|
128594
|
+
storyId?: string;
|
|
128595
|
+
fieldId?: string;
|
|
128596
|
+
occurrenceIndex?: number;
|
|
128171
128597
|
};
|
|
128172
128598
|
}
|
|
128173
128599
|
export interface DocCitationsSourcesListBoundParams {
|