@superdoc/sdk 2.0.0 → 2.1.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 +12 -12
- 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 +5 -5
- package/dist/embedded-tools.generated.js +5 -5
- package/dist/generated/client.d.ts +414 -0
- package/dist/generated/contract.cjs +1135 -331
- package/dist/generated/contract.js +1141 -331
- 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/__pycache__/__init__.cpython-312.pyc +0 -0
- package/tools/__pycache__/intent_dispatch_generated.cpython-312.pyc +0 -0
- 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;
|
|
@@ -92207,6 +92394,8 @@ export type DocTrackChangesDecideResult = {
|
|
|
92207
92394
|
textboxId: string;
|
|
92208
92395
|
});
|
|
92209
92396
|
atChar: number;
|
|
92397
|
+
blockId?: string;
|
|
92398
|
+
atCharInBlock?: number;
|
|
92210
92399
|
delta: number;
|
|
92211
92400
|
}>;
|
|
92212
92401
|
txId?: string;
|
|
@@ -98798,6 +98987,8 @@ export type DocHistoryUndoResult = {
|
|
|
98798
98987
|
textboxId: string;
|
|
98799
98988
|
});
|
|
98800
98989
|
atChar: number;
|
|
98990
|
+
blockId?: string;
|
|
98991
|
+
atCharInBlock?: number;
|
|
98801
98992
|
delta: number;
|
|
98802
98993
|
}>;
|
|
98803
98994
|
status?: "applied" | "noop" | "rejected" | "partial" | "repaired";
|
|
@@ -99353,6 +99544,8 @@ export type DocHistoryRedoResult = {
|
|
|
99353
99544
|
textboxId: string;
|
|
99354
99545
|
});
|
|
99355
99546
|
atChar: number;
|
|
99547
|
+
blockId?: string;
|
|
99548
|
+
atCharInBlock?: number;
|
|
99356
99549
|
delta: number;
|
|
99357
99550
|
}>;
|
|
99358
99551
|
status?: "applied" | "noop" | "rejected" | "partial" | "repaired";
|
|
@@ -99964,6 +100157,7 @@ export type DocContentControlsListResult = {
|
|
|
99964
100157
|
coordinateSpace?: "visible" | "tracked";
|
|
99965
100158
|
}) | null;
|
|
99966
100159
|
text?: string;
|
|
100160
|
+
isEmpty?: boolean;
|
|
99967
100161
|
}>;
|
|
99968
100162
|
total: number;
|
|
99969
100163
|
};
|
|
@@ -100171,6 +100365,7 @@ export type DocContentControlsGetResult = {
|
|
|
100171
100365
|
coordinateSpace?: "visible" | "tracked";
|
|
100172
100366
|
}) | null;
|
|
100173
100367
|
text?: string;
|
|
100368
|
+
isEmpty?: boolean;
|
|
100174
100369
|
};
|
|
100175
100370
|
export type DocContentControlsListInRangeResult = {
|
|
100176
100371
|
items: Array<{
|
|
@@ -100377,6 +100572,7 @@ export type DocContentControlsListInRangeResult = {
|
|
|
100377
100572
|
coordinateSpace?: "visible" | "tracked";
|
|
100378
100573
|
}) | null;
|
|
100379
100574
|
text?: string;
|
|
100575
|
+
isEmpty?: boolean;
|
|
100380
100576
|
}>;
|
|
100381
100577
|
total: number;
|
|
100382
100578
|
};
|
|
@@ -100585,6 +100781,7 @@ export type DocContentControlsSelectByTagResult = {
|
|
|
100585
100781
|
coordinateSpace?: "visible" | "tracked";
|
|
100586
100782
|
}) | null;
|
|
100587
100783
|
text?: string;
|
|
100784
|
+
isEmpty?: boolean;
|
|
100588
100785
|
}>;
|
|
100589
100786
|
total: number;
|
|
100590
100787
|
};
|
|
@@ -100793,6 +100990,7 @@ export type DocContentControlsSelectByTitleResult = {
|
|
|
100793
100990
|
coordinateSpace?: "visible" | "tracked";
|
|
100794
100991
|
}) | null;
|
|
100795
100992
|
text?: string;
|
|
100993
|
+
isEmpty?: boolean;
|
|
100796
100994
|
}>;
|
|
100797
100995
|
total: number;
|
|
100798
100996
|
};
|
|
@@ -101001,6 +101199,7 @@ export type DocContentControlsListChildrenResult = {
|
|
|
101001
101199
|
coordinateSpace?: "visible" | "tracked";
|
|
101002
101200
|
}) | null;
|
|
101003
101201
|
text?: string;
|
|
101202
|
+
isEmpty?: boolean;
|
|
101004
101203
|
}>;
|
|
101005
101204
|
total: number;
|
|
101006
101205
|
};
|
|
@@ -101208,6 +101407,7 @@ export type DocContentControlsGetParentResult = ({
|
|
|
101208
101407
|
coordinateSpace?: "visible" | "tracked";
|
|
101209
101408
|
}) | null;
|
|
101210
101409
|
text?: string;
|
|
101410
|
+
isEmpty?: boolean;
|
|
101211
101411
|
}) | null;
|
|
101212
101412
|
export type DocContentControlsWrapResult = {
|
|
101213
101413
|
success: true;
|
|
@@ -101866,6 +102066,7 @@ export type DocContentControlsRepeatingSectionListItemsResult = {
|
|
|
101866
102066
|
coordinateSpace?: "visible" | "tracked";
|
|
101867
102067
|
}) | null;
|
|
101868
102068
|
text?: string;
|
|
102069
|
+
isEmpty?: boolean;
|
|
101869
102070
|
}>;
|
|
101870
102071
|
total: number;
|
|
101871
102072
|
};
|
|
@@ -102654,6 +102855,8 @@ export type DocClipboardInsertResult = {
|
|
|
102654
102855
|
textboxId: string;
|
|
102655
102856
|
});
|
|
102656
102857
|
atChar: number;
|
|
102858
|
+
blockId?: string;
|
|
102859
|
+
atCharInBlock?: number;
|
|
102657
102860
|
delta: number;
|
|
102658
102861
|
}>;
|
|
102659
102862
|
txId?: string;
|
|
@@ -102884,6 +103087,40 @@ export type DocCitationsInsertResult = {
|
|
|
102884
103087
|
offset: number;
|
|
102885
103088
|
};
|
|
102886
103089
|
};
|
|
103090
|
+
story?: ({
|
|
103091
|
+
kind: "story";
|
|
103092
|
+
storyType: "body";
|
|
103093
|
+
}) | ({
|
|
103094
|
+
kind: "story";
|
|
103095
|
+
storyType: "headerFooterSlot";
|
|
103096
|
+
section: {
|
|
103097
|
+
kind: "section";
|
|
103098
|
+
sectionId: string;
|
|
103099
|
+
};
|
|
103100
|
+
headerFooterKind: "header" | "footer";
|
|
103101
|
+
variant: "default" | "first" | "even";
|
|
103102
|
+
resolution?: "effective" | "explicit";
|
|
103103
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
103104
|
+
}) | ({
|
|
103105
|
+
kind: "story";
|
|
103106
|
+
storyType: "headerFooterPart";
|
|
103107
|
+
refId: string;
|
|
103108
|
+
}) | ({
|
|
103109
|
+
kind: "story";
|
|
103110
|
+
storyType: "footnote";
|
|
103111
|
+
noteId: string;
|
|
103112
|
+
}) | ({
|
|
103113
|
+
kind: "story";
|
|
103114
|
+
storyType: "endnote";
|
|
103115
|
+
noteId: string;
|
|
103116
|
+
}) | ({
|
|
103117
|
+
kind: "story";
|
|
103118
|
+
storyType: "textbox";
|
|
103119
|
+
textboxId: string;
|
|
103120
|
+
});
|
|
103121
|
+
storyId?: string;
|
|
103122
|
+
fieldId?: string;
|
|
103123
|
+
occurrenceIndex?: number;
|
|
102887
103124
|
};
|
|
102888
103125
|
};
|
|
102889
103126
|
export type DocCitationsUpdateResult = {
|
|
@@ -102901,6 +103138,40 @@ export type DocCitationsUpdateResult = {
|
|
|
102901
103138
|
offset: number;
|
|
102902
103139
|
};
|
|
102903
103140
|
};
|
|
103141
|
+
story?: ({
|
|
103142
|
+
kind: "story";
|
|
103143
|
+
storyType: "body";
|
|
103144
|
+
}) | ({
|
|
103145
|
+
kind: "story";
|
|
103146
|
+
storyType: "headerFooterSlot";
|
|
103147
|
+
section: {
|
|
103148
|
+
kind: "section";
|
|
103149
|
+
sectionId: string;
|
|
103150
|
+
};
|
|
103151
|
+
headerFooterKind: "header" | "footer";
|
|
103152
|
+
variant: "default" | "first" | "even";
|
|
103153
|
+
resolution?: "effective" | "explicit";
|
|
103154
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
103155
|
+
}) | ({
|
|
103156
|
+
kind: "story";
|
|
103157
|
+
storyType: "headerFooterPart";
|
|
103158
|
+
refId: string;
|
|
103159
|
+
}) | ({
|
|
103160
|
+
kind: "story";
|
|
103161
|
+
storyType: "footnote";
|
|
103162
|
+
noteId: string;
|
|
103163
|
+
}) | ({
|
|
103164
|
+
kind: "story";
|
|
103165
|
+
storyType: "endnote";
|
|
103166
|
+
noteId: string;
|
|
103167
|
+
}) | ({
|
|
103168
|
+
kind: "story";
|
|
103169
|
+
storyType: "textbox";
|
|
103170
|
+
textboxId: string;
|
|
103171
|
+
});
|
|
103172
|
+
storyId?: string;
|
|
103173
|
+
fieldId?: string;
|
|
103174
|
+
occurrenceIndex?: number;
|
|
102904
103175
|
};
|
|
102905
103176
|
};
|
|
102906
103177
|
export type DocCitationsRemoveResult = {
|
|
@@ -102918,6 +103189,40 @@ export type DocCitationsRemoveResult = {
|
|
|
102918
103189
|
offset: number;
|
|
102919
103190
|
};
|
|
102920
103191
|
};
|
|
103192
|
+
story?: ({
|
|
103193
|
+
kind: "story";
|
|
103194
|
+
storyType: "body";
|
|
103195
|
+
}) | ({
|
|
103196
|
+
kind: "story";
|
|
103197
|
+
storyType: "headerFooterSlot";
|
|
103198
|
+
section: {
|
|
103199
|
+
kind: "section";
|
|
103200
|
+
sectionId: string;
|
|
103201
|
+
};
|
|
103202
|
+
headerFooterKind: "header" | "footer";
|
|
103203
|
+
variant: "default" | "first" | "even";
|
|
103204
|
+
resolution?: "effective" | "explicit";
|
|
103205
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
103206
|
+
}) | ({
|
|
103207
|
+
kind: "story";
|
|
103208
|
+
storyType: "headerFooterPart";
|
|
103209
|
+
refId: string;
|
|
103210
|
+
}) | ({
|
|
103211
|
+
kind: "story";
|
|
103212
|
+
storyType: "footnote";
|
|
103213
|
+
noteId: string;
|
|
103214
|
+
}) | ({
|
|
103215
|
+
kind: "story";
|
|
103216
|
+
storyType: "endnote";
|
|
103217
|
+
noteId: string;
|
|
103218
|
+
}) | ({
|
|
103219
|
+
kind: "story";
|
|
103220
|
+
storyType: "textbox";
|
|
103221
|
+
textboxId: string;
|
|
103222
|
+
});
|
|
103223
|
+
storyId?: string;
|
|
103224
|
+
fieldId?: string;
|
|
103225
|
+
occurrenceIndex?: number;
|
|
102921
103226
|
};
|
|
102922
103227
|
};
|
|
102923
103228
|
export type DocCitationsSourcesListResult = Record<string, unknown>;
|
|
@@ -120141,6 +120446,13 @@ export interface DocCommentsCreateBoundParams {
|
|
|
120141
120446
|
textboxId: string;
|
|
120142
120447
|
});
|
|
120143
120448
|
parentId?: string;
|
|
120449
|
+
commentId?: string;
|
|
120450
|
+
externalId?: string;
|
|
120451
|
+
author?: string;
|
|
120452
|
+
authorId?: string;
|
|
120453
|
+
authorEmail?: string;
|
|
120454
|
+
authorImage?: string;
|
|
120455
|
+
metadata?: Record<string, unknown>;
|
|
120144
120456
|
blockId?: string;
|
|
120145
120457
|
start?: number;
|
|
120146
120458
|
end?: number;
|
|
@@ -128074,6 +128386,40 @@ export interface DocCitationsGetBoundParams {
|
|
|
128074
128386
|
offset: number;
|
|
128075
128387
|
};
|
|
128076
128388
|
};
|
|
128389
|
+
story?: ({
|
|
128390
|
+
kind: "story";
|
|
128391
|
+
storyType: "body";
|
|
128392
|
+
}) | ({
|
|
128393
|
+
kind: "story";
|
|
128394
|
+
storyType: "headerFooterSlot";
|
|
128395
|
+
section: {
|
|
128396
|
+
kind: "section";
|
|
128397
|
+
sectionId: string;
|
|
128398
|
+
};
|
|
128399
|
+
headerFooterKind: "header" | "footer";
|
|
128400
|
+
variant: "default" | "first" | "even";
|
|
128401
|
+
resolution?: "effective" | "explicit";
|
|
128402
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
128403
|
+
}) | ({
|
|
128404
|
+
kind: "story";
|
|
128405
|
+
storyType: "headerFooterPart";
|
|
128406
|
+
refId: string;
|
|
128407
|
+
}) | ({
|
|
128408
|
+
kind: "story";
|
|
128409
|
+
storyType: "footnote";
|
|
128410
|
+
noteId: string;
|
|
128411
|
+
}) | ({
|
|
128412
|
+
kind: "story";
|
|
128413
|
+
storyType: "endnote";
|
|
128414
|
+
noteId: string;
|
|
128415
|
+
}) | ({
|
|
128416
|
+
kind: "story";
|
|
128417
|
+
storyType: "textbox";
|
|
128418
|
+
textboxId: string;
|
|
128419
|
+
});
|
|
128420
|
+
storyId?: string;
|
|
128421
|
+
fieldId?: string;
|
|
128422
|
+
occurrenceIndex?: number;
|
|
128077
128423
|
};
|
|
128078
128424
|
}
|
|
128079
128425
|
export interface DocCitationsInsertBoundParams {
|
|
@@ -128144,6 +128490,40 @@ export interface DocCitationsUpdateBoundParams {
|
|
|
128144
128490
|
offset: number;
|
|
128145
128491
|
};
|
|
128146
128492
|
};
|
|
128493
|
+
story?: ({
|
|
128494
|
+
kind: "story";
|
|
128495
|
+
storyType: "body";
|
|
128496
|
+
}) | ({
|
|
128497
|
+
kind: "story";
|
|
128498
|
+
storyType: "headerFooterSlot";
|
|
128499
|
+
section: {
|
|
128500
|
+
kind: "section";
|
|
128501
|
+
sectionId: string;
|
|
128502
|
+
};
|
|
128503
|
+
headerFooterKind: "header" | "footer";
|
|
128504
|
+
variant: "default" | "first" | "even";
|
|
128505
|
+
resolution?: "effective" | "explicit";
|
|
128506
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
128507
|
+
}) | ({
|
|
128508
|
+
kind: "story";
|
|
128509
|
+
storyType: "headerFooterPart";
|
|
128510
|
+
refId: string;
|
|
128511
|
+
}) | ({
|
|
128512
|
+
kind: "story";
|
|
128513
|
+
storyType: "footnote";
|
|
128514
|
+
noteId: string;
|
|
128515
|
+
}) | ({
|
|
128516
|
+
kind: "story";
|
|
128517
|
+
storyType: "endnote";
|
|
128518
|
+
noteId: string;
|
|
128519
|
+
}) | ({
|
|
128520
|
+
kind: "story";
|
|
128521
|
+
storyType: "textbox";
|
|
128522
|
+
textboxId: string;
|
|
128523
|
+
});
|
|
128524
|
+
storyId?: string;
|
|
128525
|
+
fieldId?: string;
|
|
128526
|
+
occurrenceIndex?: number;
|
|
128147
128527
|
};
|
|
128148
128528
|
patch: {
|
|
128149
128529
|
sourceIds?: Array<string>;
|
|
@@ -128168,6 +128548,40 @@ export interface DocCitationsRemoveBoundParams {
|
|
|
128168
128548
|
offset: number;
|
|
128169
128549
|
};
|
|
128170
128550
|
};
|
|
128551
|
+
story?: ({
|
|
128552
|
+
kind: "story";
|
|
128553
|
+
storyType: "body";
|
|
128554
|
+
}) | ({
|
|
128555
|
+
kind: "story";
|
|
128556
|
+
storyType: "headerFooterSlot";
|
|
128557
|
+
section: {
|
|
128558
|
+
kind: "section";
|
|
128559
|
+
sectionId: string;
|
|
128560
|
+
};
|
|
128561
|
+
headerFooterKind: "header" | "footer";
|
|
128562
|
+
variant: "default" | "first" | "even";
|
|
128563
|
+
resolution?: "effective" | "explicit";
|
|
128564
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
128565
|
+
}) | ({
|
|
128566
|
+
kind: "story";
|
|
128567
|
+
storyType: "headerFooterPart";
|
|
128568
|
+
refId: string;
|
|
128569
|
+
}) | ({
|
|
128570
|
+
kind: "story";
|
|
128571
|
+
storyType: "footnote";
|
|
128572
|
+
noteId: string;
|
|
128573
|
+
}) | ({
|
|
128574
|
+
kind: "story";
|
|
128575
|
+
storyType: "endnote";
|
|
128576
|
+
noteId: string;
|
|
128577
|
+
}) | ({
|
|
128578
|
+
kind: "story";
|
|
128579
|
+
storyType: "textbox";
|
|
128580
|
+
textboxId: string;
|
|
128581
|
+
});
|
|
128582
|
+
storyId?: string;
|
|
128583
|
+
fieldId?: string;
|
|
128584
|
+
occurrenceIndex?: number;
|
|
128171
128585
|
};
|
|
128172
128586
|
}
|
|
128173
128587
|
export interface DocCitationsSourcesListBoundParams {
|