@superdoc-dev/sdk 1.0.0-alpha.28 → 1.0.0-alpha.29

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.
@@ -108,6 +108,7 @@ function createDocApi(runtime) {
108
108
  sectionBreak: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.create.sectionBreak"], params, options),
109
109
  table: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.create.table"], params, options),
110
110
  tableOfContents: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.create.tableOfContents"], params, options),
111
+ image: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.create.image"], params, options),
111
112
  },
112
113
  sections: {
113
114
  list: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.sections.list"], params, options),
@@ -231,6 +232,21 @@ function createDocApi(runtime) {
231
232
  undo: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.history.undo"], params, options),
232
233
  redo: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.history.redo"], params, options),
233
234
  },
235
+ images: {
236
+ list: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.images.list"], params, options),
237
+ get: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.images.get"], params, options),
238
+ delete: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.images.delete"], params, options),
239
+ move: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.images.move"], params, options),
240
+ convertToInline: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.images.convertToInline"], params, options),
241
+ convertToFloating: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.images.convertToFloating"], params, options),
242
+ setSize: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.images.setSize"], params, options),
243
+ setWrapType: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.images.setWrapType"], params, options),
244
+ setWrapSide: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.images.setWrapSide"], params, options),
245
+ setWrapDistances: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.images.setWrapDistances"], params, options),
246
+ setPosition: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.images.setPosition"], params, options),
247
+ setAnchorOptions: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.images.setAnchorOptions"], params, options),
248
+ setZOrder: (params, options) => runtime.invoke(contract.CONTRACT.operations["doc.images.setZOrder"], params, options),
249
+ },
234
250
  open: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.open"], params, options),
235
251
  save: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.save"], params, options),
236
252
  close: (params = {}, options) => runtime.invoke(contract.CONTRACT.operations["doc.close"], params, options),
@@ -3474,6 +3474,230 @@ export interface DocHistoryRedoParams {
3474
3474
  expectedRevision?: number;
3475
3475
  changeMode?: string;
3476
3476
  }
3477
+ export interface DocCreateImageParams {
3478
+ doc?: string;
3479
+ sessionId?: string;
3480
+ out?: string;
3481
+ force?: boolean;
3482
+ expectedRevision?: number;
3483
+ changeMode?: string;
3484
+ dryRun?: boolean;
3485
+ src: string;
3486
+ alt?: string;
3487
+ title?: string;
3488
+ size?: {
3489
+ width?: number;
3490
+ height?: number;
3491
+ };
3492
+ at?: ({
3493
+ kind: "documentStart";
3494
+ }) | ({
3495
+ kind: "documentEnd";
3496
+ }) | ({
3497
+ kind: "before";
3498
+ target: {
3499
+ kind: "block";
3500
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
3501
+ nodeId: string;
3502
+ };
3503
+ }) | ({
3504
+ kind: "after";
3505
+ target: {
3506
+ kind: "block";
3507
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
3508
+ nodeId: string;
3509
+ };
3510
+ }) | ({
3511
+ kind: "inParagraph";
3512
+ target: {
3513
+ kind: "block";
3514
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
3515
+ nodeId: string;
3516
+ };
3517
+ offset?: number;
3518
+ });
3519
+ }
3520
+ export interface DocImagesListParams {
3521
+ doc?: string;
3522
+ sessionId?: string;
3523
+ offset?: number;
3524
+ limit?: number;
3525
+ }
3526
+ export interface DocImagesGetParams {
3527
+ doc?: string;
3528
+ sessionId?: string;
3529
+ imageId: string;
3530
+ }
3531
+ export interface DocImagesDeleteParams {
3532
+ doc?: string;
3533
+ sessionId?: string;
3534
+ out?: string;
3535
+ force?: boolean;
3536
+ expectedRevision?: number;
3537
+ changeMode?: string;
3538
+ dryRun?: boolean;
3539
+ imageId: string;
3540
+ }
3541
+ export interface DocImagesMoveParams {
3542
+ doc?: string;
3543
+ sessionId?: string;
3544
+ out?: string;
3545
+ force?: boolean;
3546
+ expectedRevision?: number;
3547
+ changeMode?: string;
3548
+ dryRun?: boolean;
3549
+ imageId: string;
3550
+ to: ({
3551
+ kind: "documentStart";
3552
+ }) | ({
3553
+ kind: "documentEnd";
3554
+ }) | ({
3555
+ kind: "before";
3556
+ target: {
3557
+ kind: "block";
3558
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
3559
+ nodeId: string;
3560
+ };
3561
+ }) | ({
3562
+ kind: "after";
3563
+ target: {
3564
+ kind: "block";
3565
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
3566
+ nodeId: string;
3567
+ };
3568
+ }) | ({
3569
+ kind: "inParagraph";
3570
+ target: {
3571
+ kind: "block";
3572
+ nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
3573
+ nodeId: string;
3574
+ };
3575
+ offset?: number;
3576
+ });
3577
+ }
3578
+ export interface DocImagesConvertToInlineParams {
3579
+ doc?: string;
3580
+ sessionId?: string;
3581
+ out?: string;
3582
+ force?: boolean;
3583
+ expectedRevision?: number;
3584
+ changeMode?: string;
3585
+ dryRun?: boolean;
3586
+ imageId: string;
3587
+ }
3588
+ export interface DocImagesConvertToFloatingParams {
3589
+ doc?: string;
3590
+ sessionId?: string;
3591
+ out?: string;
3592
+ force?: boolean;
3593
+ expectedRevision?: number;
3594
+ changeMode?: string;
3595
+ dryRun?: boolean;
3596
+ imageId: string;
3597
+ }
3598
+ export interface DocImagesSetSizeParams {
3599
+ doc?: string;
3600
+ sessionId?: string;
3601
+ out?: string;
3602
+ force?: boolean;
3603
+ expectedRevision?: number;
3604
+ changeMode?: string;
3605
+ dryRun?: boolean;
3606
+ imageId: string;
3607
+ size: {
3608
+ width: number;
3609
+ height: number;
3610
+ unit?: "px" | "pt" | "twip";
3611
+ };
3612
+ }
3613
+ export interface DocImagesSetWrapTypeParams {
3614
+ doc?: string;
3615
+ sessionId?: string;
3616
+ out?: string;
3617
+ force?: boolean;
3618
+ expectedRevision?: number;
3619
+ changeMode?: string;
3620
+ dryRun?: boolean;
3621
+ imageId: string;
3622
+ type: string;
3623
+ }
3624
+ export interface DocImagesSetWrapSideParams {
3625
+ doc?: string;
3626
+ sessionId?: string;
3627
+ out?: string;
3628
+ force?: boolean;
3629
+ expectedRevision?: number;
3630
+ changeMode?: string;
3631
+ dryRun?: boolean;
3632
+ imageId: string;
3633
+ side: string;
3634
+ }
3635
+ export interface DocImagesSetWrapDistancesParams {
3636
+ doc?: string;
3637
+ sessionId?: string;
3638
+ out?: string;
3639
+ force?: boolean;
3640
+ expectedRevision?: number;
3641
+ changeMode?: string;
3642
+ dryRun?: boolean;
3643
+ imageId: string;
3644
+ distances: {
3645
+ distTop?: number;
3646
+ distBottom?: number;
3647
+ distLeft?: number;
3648
+ distRight?: number;
3649
+ };
3650
+ }
3651
+ export interface DocImagesSetPositionParams {
3652
+ doc?: string;
3653
+ sessionId?: string;
3654
+ out?: string;
3655
+ force?: boolean;
3656
+ expectedRevision?: number;
3657
+ changeMode?: string;
3658
+ dryRun?: boolean;
3659
+ imageId: string;
3660
+ position: {
3661
+ hRelativeFrom?: string;
3662
+ vRelativeFrom?: string;
3663
+ alignH?: string;
3664
+ alignV?: string;
3665
+ marginOffset?: {
3666
+ horizontal?: number;
3667
+ top?: number;
3668
+ };
3669
+ };
3670
+ }
3671
+ export interface DocImagesSetAnchorOptionsParams {
3672
+ doc?: string;
3673
+ sessionId?: string;
3674
+ out?: string;
3675
+ force?: boolean;
3676
+ expectedRevision?: number;
3677
+ changeMode?: string;
3678
+ dryRun?: boolean;
3679
+ imageId: string;
3680
+ options: {
3681
+ behindDoc?: boolean;
3682
+ allowOverlap?: boolean;
3683
+ layoutInCell?: boolean;
3684
+ lockAnchor?: boolean;
3685
+ simplePos?: boolean;
3686
+ };
3687
+ }
3688
+ export interface DocImagesSetZOrderParams {
3689
+ doc?: string;
3690
+ sessionId?: string;
3691
+ out?: string;
3692
+ force?: boolean;
3693
+ expectedRevision?: number;
3694
+ changeMode?: string;
3695
+ dryRun?: boolean;
3696
+ imageId: string;
3697
+ zOrder: {
3698
+ relativeHeight: number;
3699
+ };
3700
+ }
3477
3701
  export interface DocOpenParams {
3478
3702
  doc?: string;
3479
3703
  sessionId?: string;
@@ -4662,6 +4886,12 @@ export type DocCapabilitiesGetResult = {
4662
4886
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
4663
4887
  tracked: boolean;
4664
4888
  };
4889
+ "create.image": {
4890
+ available: boolean;
4891
+ dryRun: boolean;
4892
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
4893
+ tracked: boolean;
4894
+ };
4665
4895
  "create.paragraph": {
4666
4896
  available: boolean;
4667
4897
  dryRun: boolean;
@@ -5112,6 +5342,84 @@ export type DocCapabilitiesGetResult = {
5112
5342
  reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
5113
5343
  tracked: boolean;
5114
5344
  };
5345
+ "images.convertToFloating": {
5346
+ available: boolean;
5347
+ dryRun: boolean;
5348
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
5349
+ tracked: boolean;
5350
+ };
5351
+ "images.convertToInline": {
5352
+ available: boolean;
5353
+ dryRun: boolean;
5354
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
5355
+ tracked: boolean;
5356
+ };
5357
+ "images.delete": {
5358
+ available: boolean;
5359
+ dryRun: boolean;
5360
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
5361
+ tracked: boolean;
5362
+ };
5363
+ "images.get": {
5364
+ available: boolean;
5365
+ dryRun: boolean;
5366
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
5367
+ tracked: boolean;
5368
+ };
5369
+ "images.list": {
5370
+ available: boolean;
5371
+ dryRun: boolean;
5372
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
5373
+ tracked: boolean;
5374
+ };
5375
+ "images.move": {
5376
+ available: boolean;
5377
+ dryRun: boolean;
5378
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
5379
+ tracked: boolean;
5380
+ };
5381
+ "images.setAnchorOptions": {
5382
+ available: boolean;
5383
+ dryRun: boolean;
5384
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
5385
+ tracked: boolean;
5386
+ };
5387
+ "images.setPosition": {
5388
+ available: boolean;
5389
+ dryRun: boolean;
5390
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
5391
+ tracked: boolean;
5392
+ };
5393
+ "images.setSize": {
5394
+ available: boolean;
5395
+ dryRun: boolean;
5396
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
5397
+ tracked: boolean;
5398
+ };
5399
+ "images.setWrapDistances": {
5400
+ available: boolean;
5401
+ dryRun: boolean;
5402
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
5403
+ tracked: boolean;
5404
+ };
5405
+ "images.setWrapSide": {
5406
+ available: boolean;
5407
+ dryRun: boolean;
5408
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
5409
+ tracked: boolean;
5410
+ };
5411
+ "images.setWrapType": {
5412
+ available: boolean;
5413
+ dryRun: boolean;
5414
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
5415
+ tracked: boolean;
5416
+ };
5417
+ "images.setZOrder": {
5418
+ available: boolean;
5419
+ dryRun: boolean;
5420
+ reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
5421
+ tracked: boolean;
5422
+ };
5115
5423
  info: {
5116
5424
  available: boolean;
5117
5425
  dryRun: boolean;
@@ -6092,6 +6400,59 @@ export type DocHistoryRedoResult = {
6092
6400
  before: string;
6093
6401
  };
6094
6402
  };
6403
+ export type DocCreateImageResult = {
6404
+ image: Record<string, unknown>;
6405
+ success: true;
6406
+ };
6407
+ export type DocImagesListResult = {
6408
+ items: Array<Record<string, unknown>>;
6409
+ total: number;
6410
+ };
6411
+ export type DocImagesGetResult = Record<string, unknown>;
6412
+ export type DocImagesDeleteResult = {
6413
+ image: Record<string, unknown>;
6414
+ success: true;
6415
+ };
6416
+ export type DocImagesMoveResult = {
6417
+ image: Record<string, unknown>;
6418
+ success: true;
6419
+ };
6420
+ export type DocImagesConvertToInlineResult = {
6421
+ image: Record<string, unknown>;
6422
+ success: true;
6423
+ };
6424
+ export type DocImagesConvertToFloatingResult = {
6425
+ image: Record<string, unknown>;
6426
+ success: true;
6427
+ };
6428
+ export type DocImagesSetSizeResult = {
6429
+ image: Record<string, unknown>;
6430
+ success: true;
6431
+ };
6432
+ export type DocImagesSetWrapTypeResult = {
6433
+ image: Record<string, unknown>;
6434
+ success: true;
6435
+ };
6436
+ export type DocImagesSetWrapSideResult = {
6437
+ image: Record<string, unknown>;
6438
+ success: true;
6439
+ };
6440
+ export type DocImagesSetWrapDistancesResult = {
6441
+ image: Record<string, unknown>;
6442
+ success: true;
6443
+ };
6444
+ export type DocImagesSetPositionResult = {
6445
+ image: Record<string, unknown>;
6446
+ success: true;
6447
+ };
6448
+ export type DocImagesSetAnchorOptionsResult = {
6449
+ image: Record<string, unknown>;
6450
+ success: true;
6451
+ };
6452
+ export type DocImagesSetZOrderResult = {
6453
+ image: Record<string, unknown>;
6454
+ success: true;
6455
+ };
6095
6456
  export type DocOpenResult = {
6096
6457
  contextId: string;
6097
6458
  sessionType: string;
@@ -6305,6 +6666,7 @@ export declare function createDocApi(runtime: SuperDocRuntime): {
6305
6666
  sectionBreak: (params?: DocCreateSectionBreakParams, options?: InvokeOptions) => Promise<DocCreateSectionBreakResult>;
6306
6667
  table: (params: DocCreateTableParams, options?: InvokeOptions) => Promise<DocCreateTableResult>;
6307
6668
  tableOfContents: (params?: DocCreateTableOfContentsParams, options?: InvokeOptions) => Promise<DocCreateTableOfContentsResult>;
6669
+ image: (params: DocCreateImageParams, options?: InvokeOptions) => Promise<DocCreateImageResult>;
6308
6670
  };
6309
6671
  sections: {
6310
6672
  list: (params?: DocSectionsListParams, options?: InvokeOptions) => Promise<DocSectionsListResult>;
@@ -6428,6 +6790,21 @@ export declare function createDocApi(runtime: SuperDocRuntime): {
6428
6790
  undo: (params?: DocHistoryUndoParams, options?: InvokeOptions) => Promise<DocHistoryUndoResult>;
6429
6791
  redo: (params?: DocHistoryRedoParams, options?: InvokeOptions) => Promise<DocHistoryRedoResult>;
6430
6792
  };
6793
+ images: {
6794
+ list: (params?: DocImagesListParams, options?: InvokeOptions) => Promise<DocImagesListResult>;
6795
+ get: (params: DocImagesGetParams, options?: InvokeOptions) => Promise<DocImagesGetResult>;
6796
+ delete: (params: DocImagesDeleteParams, options?: InvokeOptions) => Promise<DocImagesDeleteResult>;
6797
+ move: (params: DocImagesMoveParams, options?: InvokeOptions) => Promise<DocImagesMoveResult>;
6798
+ convertToInline: (params: DocImagesConvertToInlineParams, options?: InvokeOptions) => Promise<DocImagesConvertToInlineResult>;
6799
+ convertToFloating: (params: DocImagesConvertToFloatingParams, options?: InvokeOptions) => Promise<DocImagesConvertToFloatingResult>;
6800
+ setSize: (params: DocImagesSetSizeParams, options?: InvokeOptions) => Promise<DocImagesSetSizeResult>;
6801
+ setWrapType: (params: DocImagesSetWrapTypeParams, options?: InvokeOptions) => Promise<DocImagesSetWrapTypeResult>;
6802
+ setWrapSide: (params: DocImagesSetWrapSideParams, options?: InvokeOptions) => Promise<DocImagesSetWrapSideResult>;
6803
+ setWrapDistances: (params: DocImagesSetWrapDistancesParams, options?: InvokeOptions) => Promise<DocImagesSetWrapDistancesResult>;
6804
+ setPosition: (params: DocImagesSetPositionParams, options?: InvokeOptions) => Promise<DocImagesSetPositionResult>;
6805
+ setAnchorOptions: (params: DocImagesSetAnchorOptionsParams, options?: InvokeOptions) => Promise<DocImagesSetAnchorOptionsResult>;
6806
+ setZOrder: (params: DocImagesSetZOrderParams, options?: InvokeOptions) => Promise<DocImagesSetZOrderResult>;
6807
+ };
6431
6808
  open: (params?: DocOpenParams, options?: InvokeOptions) => Promise<DocOpenResult>;
6432
6809
  save: (params?: DocSaveParams, options?: InvokeOptions) => Promise<DocSaveResult>;
6433
6810
  close: (params?: DocCloseParams, options?: InvokeOptions) => Promise<DocCloseResult>;