@superdoc-dev/sdk 1.1.0-next.14 → 1.1.0-next.16

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.
@@ -38,6 +38,18 @@ export interface DocFindParams {
38
38
  storyType: "endnote";
39
39
  noteId: string;
40
40
  });
41
+ select?: ({
42
+ type: "text";
43
+ pattern: string;
44
+ mode?: "contains" | "regex";
45
+ caseSensitive?: boolean;
46
+ }) | ({
47
+ type: "node";
48
+ nodeType?: string;
49
+ kind?: "block" | "inline";
50
+ }) | ({
51
+ type: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
52
+ });
41
53
  within?: {
42
54
  kind: "block";
43
55
  nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
@@ -14571,6 +14583,18 @@ export interface DocFindBoundParams {
14571
14583
  storyType: "endnote";
14572
14584
  noteId: string;
14573
14585
  });
14586
+ select?: ({
14587
+ type: "text";
14588
+ pattern: string;
14589
+ mode?: "contains" | "regex";
14590
+ caseSensitive?: boolean;
14591
+ }) | ({
14592
+ type: "node";
14593
+ nodeType?: string;
14594
+ kind?: "block" | "inline";
14595
+ }) | ({
14596
+ type: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
14597
+ });
14574
14598
  within?: {
14575
14599
  kind: "block";
14576
14600
  nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
@@ -22917,7 +22941,7 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
22917
22941
  getHtml: (params?: DocGetHtmlParams, options?: InvokeOptions) => Promise<DocGetHtmlResult>;
22918
22942
  markdownToFragment: (params: DocMarkdownToFragmentParams, options?: InvokeOptions) => Promise<DocMarkdownToFragmentResult>;
22919
22943
  info: (params?: DocInfoParams, options?: InvokeOptions) => Promise<DocInfoResult>;
22920
- clearContent: (params?: DocClearContentParams, options?: InvokeOptions) => Promise<unknown>;
22944
+ clearContent: (params?: DocClearContentParams, options?: InvokeOptions) => Promise<DocClearContentResult>;
22921
22945
  insert: (params?: DocInsertParams, options?: InvokeOptions) => Promise<DocInsertResult>;
22922
22946
  replace: (params?: DocReplaceParams, options?: InvokeOptions) => Promise<DocReplaceResult>;
22923
22947
  delete: (params?: DocDeleteParams, options?: InvokeOptions) => Promise<unknown>;
@@ -23068,16 +23092,16 @@ export declare function createDocApi(runtime: RuntimeInvoker): {
23068
23092
  setLevelLayout: (params: DocListsSetLevelLayoutParams, options?: InvokeOptions) => Promise<DocListsSetLevelLayoutResult>;
23069
23093
  };
23070
23094
  comments: {
23071
- create: (params?: DocCommentsCreateParams, options?: InvokeOptions) => Promise<unknown>;
23072
- patch: (params?: DocCommentsPatchParams, options?: InvokeOptions) => Promise<unknown>;
23073
- delete: (params: DocCommentsDeleteParams, options?: InvokeOptions) => Promise<unknown>;
23095
+ create: (params?: DocCommentsCreateParams, options?: InvokeOptions) => Promise<DocCommentsCreateResult>;
23096
+ patch: (params?: DocCommentsPatchParams, options?: InvokeOptions) => Promise<DocCommentsPatchResult>;
23097
+ delete: (params: DocCommentsDeleteParams, options?: InvokeOptions) => Promise<DocCommentsDeleteResult>;
23074
23098
  get: (params: DocCommentsGetParams, options?: InvokeOptions) => Promise<DocCommentsGetResult>;
23075
23099
  list: (params?: DocCommentsListParams, options?: InvokeOptions) => Promise<DocCommentsListResult>;
23076
23100
  };
23077
23101
  trackChanges: {
23078
23102
  list: (params?: DocTrackChangesListParams, options?: InvokeOptions) => Promise<DocTrackChangesListResult>;
23079
23103
  get: (params: DocTrackChangesGetParams, options?: InvokeOptions) => Promise<DocTrackChangesGetResult>;
23080
- decide: (params: DocTrackChangesDecideParams, options?: InvokeOptions) => Promise<unknown>;
23104
+ decide: (params: DocTrackChangesDecideParams, options?: InvokeOptions) => Promise<DocTrackChangesDecideResult>;
23081
23105
  };
23082
23106
  query: {
23083
23107
  match: (params: DocQueryMatchParams, options?: InvokeOptions) => Promise<DocQueryMatchResult>;
@@ -23394,7 +23418,7 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
23394
23418
  getHtml: (params?: DocGetHtmlBoundParams, options?: InvokeOptions) => Promise<DocGetHtmlResult>;
23395
23419
  markdownToFragment: (params: DocMarkdownToFragmentBoundParams, options?: InvokeOptions) => Promise<DocMarkdownToFragmentResult>;
23396
23420
  info: (params?: DocInfoBoundParams, options?: InvokeOptions) => Promise<DocInfoResult>;
23397
- clearContent: (params?: DocClearContentBoundParams, options?: InvokeOptions) => Promise<unknown>;
23421
+ clearContent: (params?: DocClearContentBoundParams, options?: InvokeOptions) => Promise<DocClearContentResult>;
23398
23422
  insert: (params?: DocInsertBoundParams, options?: InvokeOptions) => Promise<DocInsertResult>;
23399
23423
  replace: (params?: DocReplaceBoundParams, options?: InvokeOptions) => Promise<DocReplaceResult>;
23400
23424
  delete: (params?: DocDeleteBoundParams, options?: InvokeOptions) => Promise<unknown>;
@@ -23545,16 +23569,16 @@ export declare function createBoundDocApi(runtime: RuntimeInvoker): {
23545
23569
  setLevelLayout: (params: DocListsSetLevelLayoutBoundParams, options?: InvokeOptions) => Promise<DocListsSetLevelLayoutResult>;
23546
23570
  };
23547
23571
  comments: {
23548
- create: (params?: DocCommentsCreateBoundParams, options?: InvokeOptions) => Promise<unknown>;
23549
- patch: (params?: DocCommentsPatchBoundParams, options?: InvokeOptions) => Promise<unknown>;
23550
- delete: (params: DocCommentsDeleteBoundParams, options?: InvokeOptions) => Promise<unknown>;
23572
+ create: (params?: DocCommentsCreateBoundParams, options?: InvokeOptions) => Promise<DocCommentsCreateResult>;
23573
+ patch: (params?: DocCommentsPatchBoundParams, options?: InvokeOptions) => Promise<DocCommentsPatchResult>;
23574
+ delete: (params: DocCommentsDeleteBoundParams, options?: InvokeOptions) => Promise<DocCommentsDeleteResult>;
23551
23575
  get: (params: DocCommentsGetBoundParams, options?: InvokeOptions) => Promise<DocCommentsGetResult>;
23552
23576
  list: (params?: DocCommentsListBoundParams, options?: InvokeOptions) => Promise<DocCommentsListResult>;
23553
23577
  };
23554
23578
  trackChanges: {
23555
23579
  list: (params?: DocTrackChangesListBoundParams, options?: InvokeOptions) => Promise<DocTrackChangesListResult>;
23556
23580
  get: (params: DocTrackChangesGetBoundParams, options?: InvokeOptions) => Promise<DocTrackChangesGetResult>;
23557
- decide: (params: DocTrackChangesDecideBoundParams, options?: InvokeOptions) => Promise<unknown>;
23581
+ decide: (params: DocTrackChangesDecideBoundParams, options?: InvokeOptions) => Promise<DocTrackChangesDecideResult>;
23558
23582
  };
23559
23583
  query: {
23560
23584
  match: (params: DocQueryMatchBoundParams, options?: InvokeOptions) => Promise<DocQueryMatchResult>;