superdoc-sdk 2.0.0.dev1__py3-none-any.whl → 2.0.0.dev2__py3-none-any.whl
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.
- superdoc/generated/client.py +12 -178
- superdoc/generated/contract.py +1 -1
- superdoc/tools/catalog.json +21 -68
- superdoc/tools/tools-policy.json +1 -1
- superdoc/tools/tools.anthropic.json +21 -68
- superdoc/tools/tools.generic.json +21 -68
- superdoc/tools/tools.openai.json +21 -68
- superdoc/tools/tools.vercel.json +21 -68
- {superdoc_sdk-2.0.0.dev1.dist-info → superdoc_sdk-2.0.0.dev2.dist-info}/METADATA +6 -6
- {superdoc_sdk-2.0.0.dev1.dist-info → superdoc_sdk-2.0.0.dev2.dist-info}/RECORD +12 -12
- {superdoc_sdk-2.0.0.dev1.dist-info → superdoc_sdk-2.0.0.dev2.dist-info}/WHEEL +0 -0
- {superdoc_sdk-2.0.0.dev1.dist-info → superdoc_sdk-2.0.0.dev2.dist-info}/top_level.txt +0 -0
superdoc/generated/client.py
CHANGED
|
@@ -24119,44 +24119,6 @@ DocRangesResolveResult = TypedDict(
|
|
|
24119
24119
|
total=False,
|
|
24120
24120
|
)
|
|
24121
24121
|
|
|
24122
|
-
DocSelectionCurrentResultTargetVariant1SegmentsItemRange = TypedDict(
|
|
24123
|
-
"DocSelectionCurrentResultTargetVariant1SegmentsItemRange",
|
|
24124
|
-
{
|
|
24125
|
-
"start": int | float,
|
|
24126
|
-
"end": int | float,
|
|
24127
|
-
},
|
|
24128
|
-
total=False,
|
|
24129
|
-
)
|
|
24130
|
-
|
|
24131
|
-
DocSelectionCurrentResultTargetVariant1SegmentsItem = TypedDict(
|
|
24132
|
-
"DocSelectionCurrentResultTargetVariant1SegmentsItem",
|
|
24133
|
-
{
|
|
24134
|
-
"blockId": str,
|
|
24135
|
-
"range": DocSelectionCurrentResultTargetVariant1SegmentsItemRange,
|
|
24136
|
-
},
|
|
24137
|
-
total=False,
|
|
24138
|
-
)
|
|
24139
|
-
|
|
24140
|
-
DocSelectionCurrentResultTargetVariant1 = TypedDict(
|
|
24141
|
-
"DocSelectionCurrentResultTargetVariant1",
|
|
24142
|
-
{
|
|
24143
|
-
"kind": Literal["text"],
|
|
24144
|
-
"segments": list[DocSelectionCurrentResultTargetVariant1SegmentsItem],
|
|
24145
|
-
},
|
|
24146
|
-
total=False,
|
|
24147
|
-
)
|
|
24148
|
-
|
|
24149
|
-
DocSelectionCurrentResult = TypedDict(
|
|
24150
|
-
"DocSelectionCurrentResult",
|
|
24151
|
-
{
|
|
24152
|
-
"empty": bool,
|
|
24153
|
-
"target": DocSelectionCurrentResultTargetVariant1 | None,
|
|
24154
|
-
"activeMarks": list[str],
|
|
24155
|
-
"text": str,
|
|
24156
|
-
},
|
|
24157
|
-
total=False,
|
|
24158
|
-
)
|
|
24159
|
-
|
|
24160
24122
|
DocMutationsPreviewResultStepsItem = TypedDict(
|
|
24161
24123
|
"DocMutationsPreviewResultStepsItem",
|
|
24162
24124
|
{
|
|
@@ -26455,17 +26417,6 @@ DocCapabilitiesGetResultOperationsRangesResolve = TypedDict(
|
|
|
26455
26417
|
total=False,
|
|
26456
26418
|
)
|
|
26457
26419
|
|
|
26458
|
-
DocCapabilitiesGetResultOperationsSelectionCurrent = TypedDict(
|
|
26459
|
-
"DocCapabilitiesGetResultOperationsSelectionCurrent",
|
|
26460
|
-
{
|
|
26461
|
-
"available": bool,
|
|
26462
|
-
"tracked": bool,
|
|
26463
|
-
"dryRun": bool,
|
|
26464
|
-
"reasons": list[Literal["COMMAND_UNAVAILABLE"] | Literal["HELPER_UNAVAILABLE"] | Literal["OPERATION_UNAVAILABLE"] | Literal["TRACKED_MODE_UNAVAILABLE"] | Literal["DRY_RUN_UNAVAILABLE"] | Literal["NAMESPACE_UNAVAILABLE"] | Literal["STYLES_PART_MISSING"] | Literal["COLLABORATION_ACTIVE"]],
|
|
26465
|
-
},
|
|
26466
|
-
total=False,
|
|
26467
|
-
)
|
|
26468
|
-
|
|
26469
26420
|
DocCapabilitiesGetResultOperationsMutationsPreview = TypedDict(
|
|
26470
26421
|
"DocCapabilitiesGetResultOperationsMutationsPreview",
|
|
26471
26422
|
{
|
|
@@ -29215,7 +29166,6 @@ DocCapabilitiesGetResultOperations = TypedDict(
|
|
|
29215
29166
|
"trackChanges.decide": DocCapabilitiesGetResultOperationsTrackChangesDecide,
|
|
29216
29167
|
"query.match": DocCapabilitiesGetResultOperationsQueryMatch,
|
|
29217
29168
|
"ranges.resolve": DocCapabilitiesGetResultOperationsRangesResolve,
|
|
29218
|
-
"selection.current": DocCapabilitiesGetResultOperationsSelectionCurrent,
|
|
29219
29169
|
"mutations.preview": DocCapabilitiesGetResultOperationsMutationsPreview,
|
|
29220
29170
|
"mutations.apply": DocCapabilitiesGetResultOperationsMutationsApply,
|
|
29221
29171
|
"capabilities.get": DocCapabilitiesGetResultOperationsCapabilitiesGet,
|
|
@@ -47394,8 +47344,8 @@ DocListsSetLevelLayoutParams = TypedDict(
|
|
|
47394
47344
|
total=False,
|
|
47395
47345
|
)
|
|
47396
47346
|
|
|
47397
|
-
|
|
47398
|
-
"
|
|
47347
|
+
DocCommentsCreateParamsTargetRange = TypedDict(
|
|
47348
|
+
"DocCommentsCreateParamsTargetRange",
|
|
47399
47349
|
{
|
|
47400
47350
|
"start": int | float,
|
|
47401
47351
|
"end": int | float,
|
|
@@ -47403,39 +47353,12 @@ DocCommentsCreateParamsTargetVariant1Range = TypedDict(
|
|
|
47403
47353
|
total=False,
|
|
47404
47354
|
)
|
|
47405
47355
|
|
|
47406
|
-
|
|
47407
|
-
"
|
|
47356
|
+
DocCommentsCreateParamsTarget = TypedDict(
|
|
47357
|
+
"DocCommentsCreateParamsTarget",
|
|
47408
47358
|
{
|
|
47409
47359
|
"kind": Literal["text"],
|
|
47410
47360
|
"blockId": str,
|
|
47411
|
-
"range":
|
|
47412
|
-
},
|
|
47413
|
-
total=False,
|
|
47414
|
-
)
|
|
47415
|
-
|
|
47416
|
-
DocCommentsCreateParamsTargetVariant2SegmentsItemRange = TypedDict(
|
|
47417
|
-
"DocCommentsCreateParamsTargetVariant2SegmentsItemRange",
|
|
47418
|
-
{
|
|
47419
|
-
"start": int | float,
|
|
47420
|
-
"end": int | float,
|
|
47421
|
-
},
|
|
47422
|
-
total=False,
|
|
47423
|
-
)
|
|
47424
|
-
|
|
47425
|
-
DocCommentsCreateParamsTargetVariant2SegmentsItem = TypedDict(
|
|
47426
|
-
"DocCommentsCreateParamsTargetVariant2SegmentsItem",
|
|
47427
|
-
{
|
|
47428
|
-
"blockId": str,
|
|
47429
|
-
"range": DocCommentsCreateParamsTargetVariant2SegmentsItemRange,
|
|
47430
|
-
},
|
|
47431
|
-
total=False,
|
|
47432
|
-
)
|
|
47433
|
-
|
|
47434
|
-
DocCommentsCreateParamsTargetVariant2 = TypedDict(
|
|
47435
|
-
"DocCommentsCreateParamsTargetVariant2",
|
|
47436
|
-
{
|
|
47437
|
-
"kind": Literal["text"],
|
|
47438
|
-
"segments": list[DocCommentsCreateParamsTargetVariant2SegmentsItem],
|
|
47361
|
+
"range": DocCommentsCreateParamsTargetRange,
|
|
47439
47362
|
},
|
|
47440
47363
|
total=False,
|
|
47441
47364
|
)
|
|
@@ -47450,7 +47373,7 @@ DocCommentsCreateParams = TypedDict(
|
|
|
47450
47373
|
"expectedRevision": int | float,
|
|
47451
47374
|
"changeMode": str,
|
|
47452
47375
|
"text": str,
|
|
47453
|
-
"target":
|
|
47376
|
+
"target": DocCommentsCreateParamsTarget,
|
|
47454
47377
|
"parentId": str,
|
|
47455
47378
|
"blockId": str,
|
|
47456
47379
|
"start": int | float,
|
|
@@ -48015,16 +47938,6 @@ DocRangesResolveParams = TypedDict(
|
|
|
48015
47938
|
total=False,
|
|
48016
47939
|
)
|
|
48017
47940
|
|
|
48018
|
-
DocSelectionCurrentParams = TypedDict(
|
|
48019
|
-
"DocSelectionCurrentParams",
|
|
48020
|
-
{
|
|
48021
|
-
"doc": str,
|
|
48022
|
-
"sessionId": str,
|
|
48023
|
-
"includeText": bool,
|
|
48024
|
-
},
|
|
48025
|
-
total=False,
|
|
48026
|
-
)
|
|
48027
|
-
|
|
48028
47941
|
DocMutationsPreviewParamsInVariant1 = TypedDict(
|
|
48029
47942
|
"DocMutationsPreviewParamsInVariant1",
|
|
48030
47943
|
{
|
|
@@ -66285,8 +66198,8 @@ DocListsSetLevelLayoutBoundParams = TypedDict(
|
|
|
66285
66198
|
total=False,
|
|
66286
66199
|
)
|
|
66287
66200
|
|
|
66288
|
-
|
|
66289
|
-
"
|
|
66201
|
+
DocCommentsCreateBoundParamsTargetRange = TypedDict(
|
|
66202
|
+
"DocCommentsCreateBoundParamsTargetRange",
|
|
66290
66203
|
{
|
|
66291
66204
|
"start": int | float,
|
|
66292
66205
|
"end": int | float,
|
|
@@ -66294,39 +66207,12 @@ DocCommentsCreateBoundParamsTargetVariant1Range = TypedDict(
|
|
|
66294
66207
|
total=False,
|
|
66295
66208
|
)
|
|
66296
66209
|
|
|
66297
|
-
|
|
66298
|
-
"
|
|
66210
|
+
DocCommentsCreateBoundParamsTarget = TypedDict(
|
|
66211
|
+
"DocCommentsCreateBoundParamsTarget",
|
|
66299
66212
|
{
|
|
66300
66213
|
"kind": Literal["text"],
|
|
66301
66214
|
"blockId": str,
|
|
66302
|
-
"range":
|
|
66303
|
-
},
|
|
66304
|
-
total=False,
|
|
66305
|
-
)
|
|
66306
|
-
|
|
66307
|
-
DocCommentsCreateBoundParamsTargetVariant2SegmentsItemRange = TypedDict(
|
|
66308
|
-
"DocCommentsCreateBoundParamsTargetVariant2SegmentsItemRange",
|
|
66309
|
-
{
|
|
66310
|
-
"start": int | float,
|
|
66311
|
-
"end": int | float,
|
|
66312
|
-
},
|
|
66313
|
-
total=False,
|
|
66314
|
-
)
|
|
66315
|
-
|
|
66316
|
-
DocCommentsCreateBoundParamsTargetVariant2SegmentsItem = TypedDict(
|
|
66317
|
-
"DocCommentsCreateBoundParamsTargetVariant2SegmentsItem",
|
|
66318
|
-
{
|
|
66319
|
-
"blockId": str,
|
|
66320
|
-
"range": DocCommentsCreateBoundParamsTargetVariant2SegmentsItemRange,
|
|
66321
|
-
},
|
|
66322
|
-
total=False,
|
|
66323
|
-
)
|
|
66324
|
-
|
|
66325
|
-
DocCommentsCreateBoundParamsTargetVariant2 = TypedDict(
|
|
66326
|
-
"DocCommentsCreateBoundParamsTargetVariant2",
|
|
66327
|
-
{
|
|
66328
|
-
"kind": Literal["text"],
|
|
66329
|
-
"segments": list[DocCommentsCreateBoundParamsTargetVariant2SegmentsItem],
|
|
66215
|
+
"range": DocCommentsCreateBoundParamsTargetRange,
|
|
66330
66216
|
},
|
|
66331
66217
|
total=False,
|
|
66332
66218
|
)
|
|
@@ -66339,7 +66225,7 @@ DocCommentsCreateBoundParams = TypedDict(
|
|
|
66339
66225
|
"expectedRevision": int | float,
|
|
66340
66226
|
"changeMode": str,
|
|
66341
66227
|
"text": str,
|
|
66342
|
-
"target":
|
|
66228
|
+
"target": DocCommentsCreateBoundParamsTarget,
|
|
66343
66229
|
"parentId": str,
|
|
66344
66230
|
"blockId": str,
|
|
66345
66231
|
"start": int | float,
|
|
@@ -66886,14 +66772,6 @@ DocRangesResolveBoundParams = TypedDict(
|
|
|
66886
66772
|
total=False,
|
|
66887
66773
|
)
|
|
66888
66774
|
|
|
66889
|
-
DocSelectionCurrentBoundParams = TypedDict(
|
|
66890
|
-
"DocSelectionCurrentBoundParams",
|
|
66891
|
-
{
|
|
66892
|
-
"includeText": bool,
|
|
66893
|
-
},
|
|
66894
|
-
total=False,
|
|
66895
|
-
)
|
|
66896
|
-
|
|
66897
66775
|
DocMutationsPreviewBoundParamsInVariant1 = TypedDict(
|
|
66898
66776
|
"DocMutationsPreviewBoundParamsInVariant1",
|
|
66899
66777
|
{
|
|
@@ -76127,10 +76005,6 @@ class _SyncDocApi:
|
|
|
76127
76005
|
def ranges(self):
|
|
76128
76006
|
return _SyncDocRangesApi(self._runtime)
|
|
76129
76007
|
|
|
76130
|
-
@property
|
|
76131
|
-
def selection(self):
|
|
76132
|
-
return _SyncDocSelectionApi(self._runtime)
|
|
76133
|
-
|
|
76134
76008
|
@property
|
|
76135
76009
|
def mutations(self):
|
|
76136
76010
|
return _SyncDocMutationsApi(self._runtime)
|
|
@@ -77069,13 +76943,6 @@ class _SyncDocRangesApi:
|
|
|
77069
76943
|
def resolve(self, params: DocRangesResolveParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocRangesResolveResult:
|
|
77070
76944
|
return self._runtime.invoke("doc.ranges.resolve", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
77071
76945
|
|
|
77072
|
-
class _SyncDocSelectionApi:
|
|
77073
|
-
def __init__(self, runtime):
|
|
77074
|
-
self._runtime = runtime
|
|
77075
|
-
|
|
77076
|
-
def current(self, params: DocSelectionCurrentParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSelectionCurrentResult:
|
|
77077
|
-
return self._runtime.invoke("doc.selection.current", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
77078
|
-
|
|
77079
76946
|
class _SyncDocMutationsApi:
|
|
77080
76947
|
def __init__(self, runtime):
|
|
77081
76948
|
self._runtime = runtime
|
|
@@ -78511,10 +78378,6 @@ class _AsyncDocApi:
|
|
|
78511
78378
|
def ranges(self):
|
|
78512
78379
|
return _AsyncDocRangesApi(self._runtime)
|
|
78513
78380
|
|
|
78514
|
-
@property
|
|
78515
|
-
def selection(self):
|
|
78516
|
-
return _AsyncDocSelectionApi(self._runtime)
|
|
78517
|
-
|
|
78518
78381
|
@property
|
|
78519
78382
|
def mutations(self):
|
|
78520
78383
|
return _AsyncDocMutationsApi(self._runtime)
|
|
@@ -79453,13 +79316,6 @@ class _AsyncDocRangesApi:
|
|
|
79453
79316
|
async def resolve(self, params: DocRangesResolveParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocRangesResolveResult:
|
|
79454
79317
|
return await self._runtime.invoke("doc.ranges.resolve", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
79455
79318
|
|
|
79456
|
-
class _AsyncDocSelectionApi:
|
|
79457
|
-
def __init__(self, runtime):
|
|
79458
|
-
self._runtime = runtime
|
|
79459
|
-
|
|
79460
|
-
async def current(self, params: DocSelectionCurrentParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSelectionCurrentResult:
|
|
79461
|
-
return await self._runtime.invoke("doc.selection.current", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
79462
|
-
|
|
79463
79319
|
class _AsyncDocMutationsApi:
|
|
79464
79320
|
def __init__(self, runtime):
|
|
79465
79321
|
self._runtime = runtime
|
|
@@ -80899,10 +80755,6 @@ class _SyncBoundDocApi:
|
|
|
80899
80755
|
def ranges(self):
|
|
80900
80756
|
return _SyncBoundDocRangesApi(self._runtime)
|
|
80901
80757
|
|
|
80902
|
-
@property
|
|
80903
|
-
def selection(self):
|
|
80904
|
-
return _SyncBoundDocSelectionApi(self._runtime)
|
|
80905
|
-
|
|
80906
80758
|
@property
|
|
80907
80759
|
def mutations(self):
|
|
80908
80760
|
return _SyncBoundDocMutationsApi(self._runtime)
|
|
@@ -81822,13 +81674,6 @@ class _SyncBoundDocRangesApi:
|
|
|
81822
81674
|
def resolve(self, params: DocRangesResolveBoundParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocRangesResolveResult:
|
|
81823
81675
|
return self._runtime.invoke("doc.ranges.resolve", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
81824
81676
|
|
|
81825
|
-
class _SyncBoundDocSelectionApi:
|
|
81826
|
-
def __init__(self, runtime):
|
|
81827
|
-
self._runtime = runtime
|
|
81828
|
-
|
|
81829
|
-
def current(self, params: DocSelectionCurrentBoundParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSelectionCurrentResult:
|
|
81830
|
-
return self._runtime.invoke("doc.selection.current", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
81831
|
-
|
|
81832
81677
|
class _SyncBoundDocMutationsApi:
|
|
81833
81678
|
def __init__(self, runtime):
|
|
81834
81679
|
self._runtime = runtime
|
|
@@ -83245,10 +83090,6 @@ class _AsyncBoundDocApi:
|
|
|
83245
83090
|
def ranges(self):
|
|
83246
83091
|
return _AsyncBoundDocRangesApi(self._runtime)
|
|
83247
83092
|
|
|
83248
|
-
@property
|
|
83249
|
-
def selection(self):
|
|
83250
|
-
return _AsyncBoundDocSelectionApi(self._runtime)
|
|
83251
|
-
|
|
83252
83093
|
@property
|
|
83253
83094
|
def mutations(self):
|
|
83254
83095
|
return _AsyncBoundDocMutationsApi(self._runtime)
|
|
@@ -84168,13 +84009,6 @@ class _AsyncBoundDocRangesApi:
|
|
|
84168
84009
|
async def resolve(self, params: DocRangesResolveBoundParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocRangesResolveResult:
|
|
84169
84010
|
return await self._runtime.invoke("doc.ranges.resolve", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
84170
84011
|
|
|
84171
|
-
class _AsyncBoundDocSelectionApi:
|
|
84172
|
-
def __init__(self, runtime):
|
|
84173
|
-
self._runtime = runtime
|
|
84174
|
-
|
|
84175
|
-
async def current(self, params: DocSelectionCurrentBoundParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSelectionCurrentResult:
|
|
84176
|
-
return await self._runtime.invoke("doc.selection.current", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
84177
|
-
|
|
84178
84012
|
class _AsyncBoundDocMutationsApi:
|
|
84179
84013
|
def __init__(self, runtime):
|
|
84180
84014
|
self._runtime = runtime
|