@gitbook/api 0.180.0 → 0.182.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/dist/client.d.ts +144 -37
- package/dist/constants.d.ts +6 -3
- package/dist/index.cjs +46 -16
- package/dist/index.js +40 -16
- package/package.json +1 -1
- package/spec/openapi.json +390 -108
- package/spec/openapi.yaml +262 -65
package/spec/openapi.json
CHANGED
|
@@ -11754,11 +11754,6 @@
|
|
|
11754
11754
|
"tags": [
|
|
11755
11755
|
"sites"
|
|
11756
11756
|
],
|
|
11757
|
-
"security": [
|
|
11758
|
-
{
|
|
11759
|
-
"user": []
|
|
11760
|
-
}
|
|
11761
|
-
],
|
|
11762
11757
|
"parameters": [
|
|
11763
11758
|
{
|
|
11764
11759
|
"$ref": "#/components/parameters/organizationId"
|
|
@@ -15123,6 +15118,17 @@
|
|
|
15123
15118
|
}
|
|
15124
15119
|
}
|
|
15125
15120
|
},
|
|
15121
|
+
{
|
|
15122
|
+
"name": "channelType",
|
|
15123
|
+
"in": "query",
|
|
15124
|
+
"description": "Filter questions by answer channel type.",
|
|
15125
|
+
"schema": {
|
|
15126
|
+
"type": "array",
|
|
15127
|
+
"items": {
|
|
15128
|
+
"$ref": "#/components/schemas/SiteChannelType"
|
|
15129
|
+
}
|
|
15130
|
+
}
|
|
15131
|
+
},
|
|
15126
15132
|
{
|
|
15127
15133
|
"name": "answered",
|
|
15128
15134
|
"in": "query",
|
|
@@ -15250,6 +15256,17 @@
|
|
|
15250
15256
|
}
|
|
15251
15257
|
}
|
|
15252
15258
|
},
|
|
15259
|
+
{
|
|
15260
|
+
"name": "channelType",
|
|
15261
|
+
"in": "query",
|
|
15262
|
+
"description": "Filter stats by answer channel type.",
|
|
15263
|
+
"schema": {
|
|
15264
|
+
"type": "array",
|
|
15265
|
+
"items": {
|
|
15266
|
+
"$ref": "#/components/schemas/SiteChannelType"
|
|
15267
|
+
}
|
|
15268
|
+
}
|
|
15269
|
+
},
|
|
15253
15270
|
{
|
|
15254
15271
|
"name": "answered",
|
|
15255
15272
|
"in": "query",
|
|
@@ -15331,6 +15348,17 @@
|
|
|
15331
15348
|
}
|
|
15332
15349
|
}
|
|
15333
15350
|
},
|
|
15351
|
+
{
|
|
15352
|
+
"name": "channelType",
|
|
15353
|
+
"in": "query",
|
|
15354
|
+
"description": "Filter answer sources by answer channel type.",
|
|
15355
|
+
"schema": {
|
|
15356
|
+
"type": "array",
|
|
15357
|
+
"items": {
|
|
15358
|
+
"$ref": "#/components/schemas/SiteChannelType"
|
|
15359
|
+
}
|
|
15360
|
+
}
|
|
15361
|
+
},
|
|
15334
15362
|
{
|
|
15335
15363
|
"name": "answered",
|
|
15336
15364
|
"in": "query",
|
|
@@ -15432,6 +15460,17 @@
|
|
|
15432
15460
|
}
|
|
15433
15461
|
}
|
|
15434
15462
|
},
|
|
15463
|
+
{
|
|
15464
|
+
"name": "channelType",
|
|
15465
|
+
"in": "query",
|
|
15466
|
+
"description": "Filter stats by answer channel type.",
|
|
15467
|
+
"schema": {
|
|
15468
|
+
"type": "array",
|
|
15469
|
+
"items": {
|
|
15470
|
+
"$ref": "#/components/schemas/SiteChannelType"
|
|
15471
|
+
}
|
|
15472
|
+
}
|
|
15473
|
+
},
|
|
15435
15474
|
{
|
|
15436
15475
|
"name": "answered",
|
|
15437
15476
|
"in": "query",
|
|
@@ -15539,6 +15578,17 @@
|
|
|
15539
15578
|
}
|
|
15540
15579
|
}
|
|
15541
15580
|
},
|
|
15581
|
+
{
|
|
15582
|
+
"name": "channelType",
|
|
15583
|
+
"in": "query",
|
|
15584
|
+
"description": "Filter answers by answer channel type.",
|
|
15585
|
+
"schema": {
|
|
15586
|
+
"type": "array",
|
|
15587
|
+
"items": {
|
|
15588
|
+
"$ref": "#/components/schemas/SiteChannelType"
|
|
15589
|
+
}
|
|
15590
|
+
}
|
|
15591
|
+
},
|
|
15542
15592
|
{
|
|
15543
15593
|
"name": "question.type",
|
|
15544
15594
|
"in": "query",
|
|
@@ -18051,6 +18101,9 @@
|
|
|
18051
18101
|
"url": {
|
|
18052
18102
|
"$ref": "#/components/schemas/URL"
|
|
18053
18103
|
},
|
|
18104
|
+
"transport": {
|
|
18105
|
+
"$ref": "#/components/schemas/SiteMcpServerTransport"
|
|
18106
|
+
},
|
|
18054
18107
|
"headers": {
|
|
18055
18108
|
"$ref": "#/components/schemas/SiteMcpServerHeaders"
|
|
18056
18109
|
},
|
|
@@ -18162,6 +18215,9 @@
|
|
|
18162
18215
|
"format": "uri",
|
|
18163
18216
|
"maxLength": 2048
|
|
18164
18217
|
},
|
|
18218
|
+
"transport": {
|
|
18219
|
+
"$ref": "#/components/schemas/SiteMcpServerTransport"
|
|
18220
|
+
},
|
|
18165
18221
|
"headers": {
|
|
18166
18222
|
"$ref": "#/components/schemas/SiteMcpServerHeaders"
|
|
18167
18223
|
},
|
|
@@ -24468,6 +24524,19 @@
|
|
|
24468
24524
|
"enum": [
|
|
24469
24525
|
true
|
|
24470
24526
|
]
|
|
24527
|
+
},
|
|
24528
|
+
"meta": {
|
|
24529
|
+
"type": "object",
|
|
24530
|
+
"properties": {
|
|
24531
|
+
"token": {
|
|
24532
|
+
"type": "string",
|
|
24533
|
+
"description": "A content token that can be used to authenticate requests for cross-space integration blocks."
|
|
24534
|
+
},
|
|
24535
|
+
"spaceId": {
|
|
24536
|
+
"type": "string",
|
|
24537
|
+
"description": "ID of the space the integration block originates from"
|
|
24538
|
+
}
|
|
24539
|
+
}
|
|
24471
24540
|
}
|
|
24472
24541
|
},
|
|
24473
24542
|
"required": [
|
|
@@ -24745,6 +24814,9 @@
|
|
|
24745
24814
|
"properties": {
|
|
24746
24815
|
"title": {
|
|
24747
24816
|
"type": "string"
|
|
24817
|
+
},
|
|
24818
|
+
"icon": {
|
|
24819
|
+
"$ref": "#/components/schemas/Icon"
|
|
24748
24820
|
}
|
|
24749
24821
|
}
|
|
24750
24822
|
},
|
|
@@ -26255,11 +26327,15 @@
|
|
|
26255
26327
|
"revision": {
|
|
26256
26328
|
"type": "string",
|
|
26257
26329
|
"description": "ID of the revision generated by the translation"
|
|
26330
|
+
},
|
|
26331
|
+
"language": {
|
|
26332
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
26258
26333
|
}
|
|
26259
26334
|
},
|
|
26260
26335
|
"required": [
|
|
26261
26336
|
"space",
|
|
26262
|
-
"revision"
|
|
26337
|
+
"revision",
|
|
26338
|
+
"language"
|
|
26263
26339
|
]
|
|
26264
26340
|
},
|
|
26265
26341
|
"ComputedContentDependencyTranslation": {
|
|
@@ -26554,6 +26630,10 @@
|
|
|
26554
26630
|
"tags": {
|
|
26555
26631
|
"type": "boolean",
|
|
26556
26632
|
"description": "Should the tags be visible on the page?"
|
|
26633
|
+
},
|
|
26634
|
+
"actions": {
|
|
26635
|
+
"type": "boolean",
|
|
26636
|
+
"description": "Should the page actions be visible on the page?"
|
|
26557
26637
|
}
|
|
26558
26638
|
},
|
|
26559
26639
|
"required": [
|
|
@@ -26566,7 +26646,8 @@
|
|
|
26566
26646
|
"outline",
|
|
26567
26647
|
"pagination",
|
|
26568
26648
|
"metadata",
|
|
26569
|
-
"tags"
|
|
26649
|
+
"tags",
|
|
26650
|
+
"actions"
|
|
26570
26651
|
]
|
|
26571
26652
|
},
|
|
26572
26653
|
"RevisionPageDocumentCover": {
|
|
@@ -26730,7 +26811,8 @@
|
|
|
26730
26811
|
"description": "Parameters for a document translation computed content source",
|
|
26731
26812
|
"required": [
|
|
26732
26813
|
"type",
|
|
26733
|
-
"props"
|
|
26814
|
+
"props",
|
|
26815
|
+
"dependencies"
|
|
26734
26816
|
],
|
|
26735
26817
|
"properties": {
|
|
26736
26818
|
"type": {
|
|
@@ -26753,6 +26835,33 @@
|
|
|
26753
26835
|
"type": "string"
|
|
26754
26836
|
}
|
|
26755
26837
|
}
|
|
26838
|
+
},
|
|
26839
|
+
"dependencies": {
|
|
26840
|
+
"type": "object",
|
|
26841
|
+
"required": [
|
|
26842
|
+
"translation"
|
|
26843
|
+
],
|
|
26844
|
+
"properties": {
|
|
26845
|
+
"translation": {
|
|
26846
|
+
"oneOf": [
|
|
26847
|
+
{
|
|
26848
|
+
"type": "object",
|
|
26849
|
+
"additionalProperties": false,
|
|
26850
|
+
"required": [
|
|
26851
|
+
"ref"
|
|
26852
|
+
],
|
|
26853
|
+
"properties": {
|
|
26854
|
+
"ref": {
|
|
26855
|
+
"$ref": "#/components/schemas/TranslationRef"
|
|
26856
|
+
}
|
|
26857
|
+
}
|
|
26858
|
+
},
|
|
26859
|
+
{
|
|
26860
|
+
"$ref": "#/components/schemas/ComputedContentDependencyTranslation"
|
|
26861
|
+
}
|
|
26862
|
+
]
|
|
26863
|
+
}
|
|
26864
|
+
}
|
|
26756
26865
|
}
|
|
26757
26866
|
}
|
|
26758
26867
|
},
|
|
@@ -30012,6 +30121,9 @@
|
|
|
30012
30121
|
},
|
|
30013
30122
|
"teams": {
|
|
30014
30123
|
"type": "number"
|
|
30124
|
+
},
|
|
30125
|
+
"sites": {
|
|
30126
|
+
"type": "number"
|
|
30015
30127
|
}
|
|
30016
30128
|
},
|
|
30017
30129
|
"required": [
|
|
@@ -30023,7 +30135,8 @@
|
|
|
30023
30135
|
"joinedAt",
|
|
30024
30136
|
"sso",
|
|
30025
30137
|
"spaces",
|
|
30026
|
-
"teams"
|
|
30138
|
+
"teams",
|
|
30139
|
+
"sites"
|
|
30027
30140
|
]
|
|
30028
30141
|
},
|
|
30029
30142
|
"IntegrationTitle": {
|
|
@@ -31501,6 +31614,20 @@
|
|
|
31501
31614
|
},
|
|
31502
31615
|
"location": {
|
|
31503
31616
|
"type": "string"
|
|
31617
|
+
},
|
|
31618
|
+
"searchParams": {
|
|
31619
|
+
"type": "object",
|
|
31620
|
+
"additionalProperties": {
|
|
31621
|
+
"type": "string"
|
|
31622
|
+
},
|
|
31623
|
+
"description": "Whitelisted search parameters from the visitor authentication request."
|
|
31624
|
+
},
|
|
31625
|
+
"action": {
|
|
31626
|
+
"type": "string",
|
|
31627
|
+
"enum": [
|
|
31628
|
+
"logout"
|
|
31629
|
+
],
|
|
31630
|
+
"description": "The visitor authentication action to resolve. If omitted, integrations resolve to the existing login redirect."
|
|
31504
31631
|
}
|
|
31505
31632
|
},
|
|
31506
31633
|
"required": [
|
|
@@ -32356,6 +32483,7 @@
|
|
|
32356
32483
|
"sites-ads",
|
|
32357
32484
|
"sites-ai-search",
|
|
32358
32485
|
"sites-ai-assistant",
|
|
32486
|
+
"sites-ai-insights",
|
|
32359
32487
|
"sites-connections",
|
|
32360
32488
|
"sites-channels",
|
|
32361
32489
|
"sites-embed",
|
|
@@ -32484,6 +32612,9 @@
|
|
|
32484
32612
|
"siteSpaces": {
|
|
32485
32613
|
"type": "number"
|
|
32486
32614
|
},
|
|
32615
|
+
"gitSync": {
|
|
32616
|
+
"$ref": "#/components/schemas/GitSyncState"
|
|
32617
|
+
},
|
|
32487
32618
|
"createdAt": {
|
|
32488
32619
|
"type": "string",
|
|
32489
32620
|
"format": "date-time"
|
|
@@ -32529,6 +32660,11 @@
|
|
|
32529
32660
|
"type": "string",
|
|
32530
32661
|
"description": "URL of the login endpoint for visitors to authenticate with the site auth backend.\n",
|
|
32531
32662
|
"format": "uri"
|
|
32663
|
+
},
|
|
32664
|
+
"logout": {
|
|
32665
|
+
"type": "string",
|
|
32666
|
+
"description": "URL of the logout endpoint for visitors to sign out from the site auth backend.\n",
|
|
32667
|
+
"format": "uri"
|
|
32532
32668
|
}
|
|
32533
32669
|
},
|
|
32534
32670
|
"required": [
|
|
@@ -34399,6 +34535,22 @@
|
|
|
34399
34535
|
"space"
|
|
34400
34536
|
]
|
|
34401
34537
|
},
|
|
34538
|
+
"MemberSitePermission": {
|
|
34539
|
+
"type": "object",
|
|
34540
|
+
"description": "Permission of an organization member in a site.",
|
|
34541
|
+
"properties": {
|
|
34542
|
+
"site": {
|
|
34543
|
+
"$ref": "#/components/schemas/Site"
|
|
34544
|
+
},
|
|
34545
|
+
"permission": {
|
|
34546
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
34547
|
+
}
|
|
34548
|
+
},
|
|
34549
|
+
"required": [
|
|
34550
|
+
"site",
|
|
34551
|
+
"permission"
|
|
34552
|
+
]
|
|
34553
|
+
},
|
|
34402
34554
|
"TeamMemberRole": {
|
|
34403
34555
|
"type": "string",
|
|
34404
34556
|
"description": "\"The role of a team member.\n\"owner\": Can manage team members.\n\"member\": Is a member of the team.\n",
|
|
@@ -38084,6 +38236,11 @@
|
|
|
38084
38236
|
"format": "uri",
|
|
38085
38237
|
"description": "URL to redirect to when the authenticated access secret is invalid."
|
|
38086
38238
|
},
|
|
38239
|
+
"logoutURL": {
|
|
38240
|
+
"type": "string",
|
|
38241
|
+
"format": "uri",
|
|
38242
|
+
"description": "URL used to log visitors out from the upstream custom auth backend."
|
|
38243
|
+
},
|
|
38087
38244
|
"integration": {
|
|
38088
38245
|
"type": "string",
|
|
38089
38246
|
"description": "Name of the authenticated access integration installed on the site (if any).\nIt is also the one being used as VA backend when the published auth settings are configured to use \"integration\" as backend.\n"
|
|
@@ -38118,6 +38275,14 @@
|
|
|
38118
38275
|
],
|
|
38119
38276
|
"format": "uri",
|
|
38120
38277
|
"description": "A fallback URL that will be used if authentication fails. If not provided, the fallback URL will not be changed. If set to null, the fallback URL will be unset."
|
|
38278
|
+
},
|
|
38279
|
+
"logoutURL": {
|
|
38280
|
+
"type": [
|
|
38281
|
+
"string",
|
|
38282
|
+
"null"
|
|
38283
|
+
],
|
|
38284
|
+
"format": "uri",
|
|
38285
|
+
"description": "A logout URL used to log visitors out from the upstream custom auth backend. If not provided, the logout URL will not be changed. If set to null, the logout URL will be unset."
|
|
38121
38286
|
}
|
|
38122
38287
|
}
|
|
38123
38288
|
}
|
|
@@ -39352,6 +39517,33 @@
|
|
|
39352
39517
|
"unclear"
|
|
39353
39518
|
]
|
|
39354
39519
|
},
|
|
39520
|
+
"SiteCoreChannelType": {
|
|
39521
|
+
"type": "string",
|
|
39522
|
+
"enum": [
|
|
39523
|
+
"site",
|
|
39524
|
+
"embed",
|
|
39525
|
+
"api"
|
|
39526
|
+
]
|
|
39527
|
+
},
|
|
39528
|
+
"SiteConfigurableChannelType": {
|
|
39529
|
+
"type": "string",
|
|
39530
|
+
"enum": [
|
|
39531
|
+
"builtin:slack",
|
|
39532
|
+
"builtin:discord",
|
|
39533
|
+
"builtin:github",
|
|
39534
|
+
"builtin:linear"
|
|
39535
|
+
]
|
|
39536
|
+
},
|
|
39537
|
+
"SiteChannelType": {
|
|
39538
|
+
"oneOf": [
|
|
39539
|
+
{
|
|
39540
|
+
"$ref": "#/components/schemas/SiteCoreChannelType"
|
|
39541
|
+
},
|
|
39542
|
+
{
|
|
39543
|
+
"$ref": "#/components/schemas/SiteConfigurableChannelType"
|
|
39544
|
+
}
|
|
39545
|
+
]
|
|
39546
|
+
},
|
|
39355
39547
|
"SiteQuestionAnswerResolution": {
|
|
39356
39548
|
"type": "string",
|
|
39357
39549
|
"description": "Whether the response answered the question.",
|
|
@@ -39494,23 +39686,6 @@
|
|
|
39494
39686
|
"high"
|
|
39495
39687
|
]
|
|
39496
39688
|
},
|
|
39497
|
-
"SiteCoreChannelType": {
|
|
39498
|
-
"type": "string",
|
|
39499
|
-
"enum": [
|
|
39500
|
-
"site",
|
|
39501
|
-
"embed",
|
|
39502
|
-
"api"
|
|
39503
|
-
]
|
|
39504
|
-
},
|
|
39505
|
-
"SiteConfigurableChannelType": {
|
|
39506
|
-
"type": "string",
|
|
39507
|
-
"enum": [
|
|
39508
|
-
"builtin:slack",
|
|
39509
|
-
"builtin:discord",
|
|
39510
|
-
"builtin:github",
|
|
39511
|
-
"builtin:linear"
|
|
39512
|
-
]
|
|
39513
|
-
},
|
|
39514
39689
|
"SiteQuestionAnswer": {
|
|
39515
39690
|
"type": "object",
|
|
39516
39691
|
"properties": {
|
|
@@ -39696,6 +39871,13 @@
|
|
|
39696
39871
|
"developer"
|
|
39697
39872
|
]
|
|
39698
39873
|
},
|
|
39874
|
+
"AIMessageStepStartCondition": {
|
|
39875
|
+
"type": "string",
|
|
39876
|
+
"description": "Describe the state in which the steps started.",
|
|
39877
|
+
"enum": [
|
|
39878
|
+
"compaction"
|
|
39879
|
+
]
|
|
39880
|
+
},
|
|
39699
39881
|
"AIToolCallGetPageContent": {
|
|
39700
39882
|
"type": "object",
|
|
39701
39883
|
"properties": {
|
|
@@ -40532,6 +40714,10 @@
|
|
|
40532
40714
|
},
|
|
40533
40715
|
"url": {
|
|
40534
40716
|
"$ref": "#/components/schemas/URL"
|
|
40717
|
+
},
|
|
40718
|
+
"filename": {
|
|
40719
|
+
"type": "string",
|
|
40720
|
+
"description": "Name of the image file."
|
|
40535
40721
|
}
|
|
40536
40722
|
},
|
|
40537
40723
|
"required": [
|
|
@@ -40579,10 +40765,78 @@
|
|
|
40579
40765
|
}
|
|
40580
40766
|
]
|
|
40581
40767
|
},
|
|
40768
|
+
"AIMessageContext": {
|
|
40769
|
+
"type": "object",
|
|
40770
|
+
"description": "Context about the current user sending a message.",
|
|
40771
|
+
"properties": {
|
|
40772
|
+
"location": {
|
|
40773
|
+
"type": "object",
|
|
40774
|
+
"properties": {
|
|
40775
|
+
"spaceId": {
|
|
40776
|
+
"type": "string",
|
|
40777
|
+
"description": "ID of the current space."
|
|
40778
|
+
},
|
|
40779
|
+
"pageId": {
|
|
40780
|
+
"type": "string",
|
|
40781
|
+
"description": "ID of the current page."
|
|
40782
|
+
}
|
|
40783
|
+
},
|
|
40784
|
+
"required": [
|
|
40785
|
+
"spaceId",
|
|
40786
|
+
"pageId"
|
|
40787
|
+
]
|
|
40788
|
+
},
|
|
40789
|
+
"selection": {
|
|
40790
|
+
"type": "object",
|
|
40791
|
+
"description": "Range of the current selection in a document.",
|
|
40792
|
+
"properties": {
|
|
40793
|
+
"anchorKey": {
|
|
40794
|
+
"oneOf": [
|
|
40795
|
+
{
|
|
40796
|
+
"type": "string"
|
|
40797
|
+
},
|
|
40798
|
+
{
|
|
40799
|
+
"type": "null"
|
|
40800
|
+
}
|
|
40801
|
+
]
|
|
40802
|
+
},
|
|
40803
|
+
"anchorOffset": {
|
|
40804
|
+
"type": "integer"
|
|
40805
|
+
},
|
|
40806
|
+
"focusKey": {
|
|
40807
|
+
"oneOf": [
|
|
40808
|
+
{
|
|
40809
|
+
"type": "string"
|
|
40810
|
+
},
|
|
40811
|
+
{
|
|
40812
|
+
"type": "null"
|
|
40813
|
+
}
|
|
40814
|
+
]
|
|
40815
|
+
},
|
|
40816
|
+
"focusOffset": {
|
|
40817
|
+
"type": "integer"
|
|
40818
|
+
},
|
|
40819
|
+
"content": {
|
|
40820
|
+
"type": "string",
|
|
40821
|
+
"description": "Snapshot of the selection for display."
|
|
40822
|
+
}
|
|
40823
|
+
},
|
|
40824
|
+
"required": [
|
|
40825
|
+
"anchorKey",
|
|
40826
|
+
"anchorOffset",
|
|
40827
|
+
"focusKey",
|
|
40828
|
+
"focusOffset"
|
|
40829
|
+
]
|
|
40830
|
+
}
|
|
40831
|
+
}
|
|
40832
|
+
},
|
|
40582
40833
|
"AIMessageStep": {
|
|
40583
40834
|
"type": "object",
|
|
40584
40835
|
"description": "A step in a message from the AI agent.",
|
|
40585
40836
|
"properties": {
|
|
40837
|
+
"startCondition": {
|
|
40838
|
+
"$ref": "#/components/schemas/AIMessageStepStartCondition"
|
|
40839
|
+
},
|
|
40586
40840
|
"content": {
|
|
40587
40841
|
"$ref": "#/components/schemas/JSONDocument"
|
|
40588
40842
|
},
|
|
@@ -40612,6 +40866,9 @@
|
|
|
40612
40866
|
"items": {
|
|
40613
40867
|
"$ref": "#/components/schemas/AIAttachment"
|
|
40614
40868
|
}
|
|
40869
|
+
},
|
|
40870
|
+
"context": {
|
|
40871
|
+
"$ref": "#/components/schemas/AIMessageContext"
|
|
40615
40872
|
}
|
|
40616
40873
|
}
|
|
40617
40874
|
},
|
|
@@ -41043,66 +41300,14 @@
|
|
|
41043
41300
|
"team"
|
|
41044
41301
|
]
|
|
41045
41302
|
},
|
|
41046
|
-
"
|
|
41047
|
-
"type": "
|
|
41048
|
-
"description": "
|
|
41049
|
-
"
|
|
41050
|
-
|
|
41051
|
-
|
|
41052
|
-
|
|
41053
|
-
|
|
41054
|
-
"type": "string",
|
|
41055
|
-
"description": "ID of the current space."
|
|
41056
|
-
},
|
|
41057
|
-
"pageId": {
|
|
41058
|
-
"type": "string",
|
|
41059
|
-
"description": "ID of the current page."
|
|
41060
|
-
}
|
|
41061
|
-
},
|
|
41062
|
-
"required": [
|
|
41063
|
-
"spaceId",
|
|
41064
|
-
"pageId"
|
|
41065
|
-
]
|
|
41066
|
-
},
|
|
41067
|
-
"selection": {
|
|
41068
|
-
"type": "object",
|
|
41069
|
-
"description": "Range of the current selection in a document.",
|
|
41070
|
-
"properties": {
|
|
41071
|
-
"anchorKey": {
|
|
41072
|
-
"oneOf": [
|
|
41073
|
-
{
|
|
41074
|
-
"type": "string"
|
|
41075
|
-
},
|
|
41076
|
-
{
|
|
41077
|
-
"type": "null"
|
|
41078
|
-
}
|
|
41079
|
-
]
|
|
41080
|
-
},
|
|
41081
|
-
"anchorOffset": {
|
|
41082
|
-
"type": "integer"
|
|
41083
|
-
},
|
|
41084
|
-
"focusKey": {
|
|
41085
|
-
"oneOf": [
|
|
41086
|
-
{
|
|
41087
|
-
"type": "string"
|
|
41088
|
-
},
|
|
41089
|
-
{
|
|
41090
|
-
"type": "null"
|
|
41091
|
-
}
|
|
41092
|
-
]
|
|
41093
|
-
},
|
|
41094
|
-
"focusOffset": {
|
|
41095
|
-
"type": "integer"
|
|
41096
|
-
}
|
|
41097
|
-
},
|
|
41098
|
-
"required": [
|
|
41099
|
-
"anchorKey",
|
|
41100
|
-
"anchorOffset",
|
|
41101
|
-
"focusKey",
|
|
41102
|
-
"focusOffset"
|
|
41103
|
-
]
|
|
41104
|
-
}
|
|
41105
|
-
}
|
|
41303
|
+
"AIMessageMode": {
|
|
41304
|
+
"type": "string",
|
|
41305
|
+
"description": "The mode influences the response time and quality of the AI's answer. Fast mode will prioritize quicker responses with potentially less well reasoned answers and normal mode will allow for more comprehensive responses at the cost of longer response time.",
|
|
41306
|
+
"default": "normal",
|
|
41307
|
+
"enum": [
|
|
41308
|
+
"normal",
|
|
41309
|
+
"fast"
|
|
41310
|
+
]
|
|
41106
41311
|
},
|
|
41107
41312
|
"AIMessageInput": {
|
|
41108
41313
|
"type": "object",
|
|
@@ -41130,6 +41335,9 @@
|
|
|
41130
41335
|
"items": {
|
|
41131
41336
|
"$ref": "#/components/schemas/AIAttachment"
|
|
41132
41337
|
}
|
|
41338
|
+
},
|
|
41339
|
+
"mode": {
|
|
41340
|
+
"$ref": "#/components/schemas/AIMessageMode"
|
|
41133
41341
|
}
|
|
41134
41342
|
},
|
|
41135
41343
|
"required": [
|
|
@@ -41515,6 +41723,31 @@
|
|
|
41515
41723
|
"attachment"
|
|
41516
41724
|
]
|
|
41517
41725
|
},
|
|
41726
|
+
"AIStreamResponseCompaction": {
|
|
41727
|
+
"type": "object",
|
|
41728
|
+
"description": "Message emitted by the server to indicate a context compaction event.\n",
|
|
41729
|
+
"properties": {
|
|
41730
|
+
"type": {
|
|
41731
|
+
"type": "string",
|
|
41732
|
+
"enum": [
|
|
41733
|
+
"response_compaction"
|
|
41734
|
+
]
|
|
41735
|
+
},
|
|
41736
|
+
"messageId": {
|
|
41737
|
+
"type": "string",
|
|
41738
|
+
"description": "The ID of the message that this event is composing.\n"
|
|
41739
|
+
},
|
|
41740
|
+
"stepIndex": {
|
|
41741
|
+
"type": "integer",
|
|
41742
|
+
"description": "The index of the step of the message that this event is composing.\n"
|
|
41743
|
+
}
|
|
41744
|
+
},
|
|
41745
|
+
"required": [
|
|
41746
|
+
"type",
|
|
41747
|
+
"messageId",
|
|
41748
|
+
"stepIndex"
|
|
41749
|
+
]
|
|
41750
|
+
},
|
|
41518
41751
|
"AIStreamResponse": {
|
|
41519
41752
|
"oneOf": [
|
|
41520
41753
|
{
|
|
@@ -41543,6 +41776,9 @@
|
|
|
41543
41776
|
},
|
|
41544
41777
|
{
|
|
41545
41778
|
"$ref": "#/components/schemas/AIStreamResponseAttachment"
|
|
41779
|
+
},
|
|
41780
|
+
{
|
|
41781
|
+
"$ref": "#/components/schemas/AIStreamResponseCompaction"
|
|
41546
41782
|
}
|
|
41547
41783
|
]
|
|
41548
41784
|
},
|
|
@@ -44611,6 +44847,15 @@
|
|
|
44611
44847
|
"minLength": 1,
|
|
44612
44848
|
"maxLength": 100
|
|
44613
44849
|
},
|
|
44850
|
+
"SiteMcpServerTransport": {
|
|
44851
|
+
"type": "string",
|
|
44852
|
+
"description": "Transport protocol used to connect to the MCP server",
|
|
44853
|
+
"enum": [
|
|
44854
|
+
"sse",
|
|
44855
|
+
"http"
|
|
44856
|
+
],
|
|
44857
|
+
"default": "sse"
|
|
44858
|
+
},
|
|
44614
44859
|
"SiteMcpServerHeaders": {
|
|
44615
44860
|
"type": "object",
|
|
44616
44861
|
"additionalProperties": {
|
|
@@ -44639,6 +44884,9 @@
|
|
|
44639
44884
|
"url": {
|
|
44640
44885
|
"$ref": "#/components/schemas/URL"
|
|
44641
44886
|
},
|
|
44887
|
+
"transport": {
|
|
44888
|
+
"$ref": "#/components/schemas/SiteMcpServerTransport"
|
|
44889
|
+
},
|
|
44642
44890
|
"headers": {
|
|
44643
44891
|
"$ref": "#/components/schemas/SiteMcpServerHeaders"
|
|
44644
44892
|
},
|
|
@@ -44666,6 +44914,7 @@
|
|
|
44666
44914
|
"id",
|
|
44667
44915
|
"name",
|
|
44668
44916
|
"url",
|
|
44917
|
+
"transport",
|
|
44669
44918
|
"headers",
|
|
44670
44919
|
"urls"
|
|
44671
44920
|
]
|
|
@@ -45636,17 +45885,52 @@
|
|
|
45636
45885
|
]
|
|
45637
45886
|
},
|
|
45638
45887
|
"GitSyncInstallationTarget": {
|
|
45639
|
-
"
|
|
45640
|
-
"
|
|
45641
|
-
|
|
45642
|
-
|
|
45643
|
-
"
|
|
45644
|
-
|
|
45888
|
+
"description": "Resource targeted by a Git Sync installation.",
|
|
45889
|
+
"oneOf": [
|
|
45890
|
+
{
|
|
45891
|
+
"type": "object",
|
|
45892
|
+
"properties": {
|
|
45893
|
+
"type": {
|
|
45894
|
+
"type": "string",
|
|
45895
|
+
"enum": [
|
|
45896
|
+
"space"
|
|
45897
|
+
],
|
|
45898
|
+
"description": "Type of resource targeted by the Git Sync installation."
|
|
45899
|
+
},
|
|
45900
|
+
"spaceId": {
|
|
45901
|
+
"type": "string",
|
|
45902
|
+
"description": "Unique identifier of the space targeted by the Git Sync installation."
|
|
45903
|
+
}
|
|
45904
|
+
},
|
|
45905
|
+
"required": [
|
|
45906
|
+
"type",
|
|
45907
|
+
"spaceId"
|
|
45908
|
+
]
|
|
45909
|
+
},
|
|
45910
|
+
{
|
|
45911
|
+
"type": "object",
|
|
45912
|
+
"properties": {
|
|
45913
|
+
"type": {
|
|
45914
|
+
"type": "string",
|
|
45915
|
+
"enum": [
|
|
45916
|
+
"site"
|
|
45917
|
+
],
|
|
45918
|
+
"description": "Type of resource targeted by the Git Sync installation."
|
|
45919
|
+
},
|
|
45920
|
+
"siteId": {
|
|
45921
|
+
"type": "string",
|
|
45922
|
+
"description": "Unique identifier of the site targeted by the Git Sync installation."
|
|
45923
|
+
}
|
|
45924
|
+
},
|
|
45925
|
+
"required": [
|
|
45926
|
+
"type",
|
|
45927
|
+
"siteId"
|
|
45928
|
+
]
|
|
45645
45929
|
}
|
|
45646
|
-
|
|
45647
|
-
"
|
|
45648
|
-
"
|
|
45649
|
-
|
|
45930
|
+
],
|
|
45931
|
+
"discriminator": {
|
|
45932
|
+
"propertyName": "type"
|
|
45933
|
+
}
|
|
45650
45934
|
},
|
|
45651
45935
|
"GitSyncInstallationPriority": {
|
|
45652
45936
|
"type": "string",
|
|
@@ -48757,16 +49041,6 @@
|
|
|
48757
49041
|
"disabled"
|
|
48758
49042
|
]
|
|
48759
49043
|
},
|
|
48760
|
-
"SiteChannelType": {
|
|
48761
|
-
"oneOf": [
|
|
48762
|
-
{
|
|
48763
|
-
"$ref": "#/components/schemas/SiteCoreChannelType"
|
|
48764
|
-
},
|
|
48765
|
-
{
|
|
48766
|
-
"$ref": "#/components/schemas/SiteConfigurableChannelType"
|
|
48767
|
-
}
|
|
48768
|
-
]
|
|
48769
|
-
},
|
|
48770
49044
|
"SiteQuestionAnswerSourceType": {
|
|
48771
49045
|
"type": "string",
|
|
48772
49046
|
"description": "Source type used to answer a site question.",
|
|
@@ -48874,15 +49148,23 @@
|
|
|
48874
49148
|
},
|
|
48875
49149
|
"suggestions": {
|
|
48876
49150
|
"type": "array",
|
|
48877
|
-
"description": "
|
|
49151
|
+
"description": "List of response suggestions for the user to select from.",
|
|
48878
49152
|
"items": {
|
|
48879
49153
|
"type": "string"
|
|
48880
49154
|
}
|
|
49155
|
+
},
|
|
49156
|
+
"queuedMessages": {
|
|
49157
|
+
"type": "array",
|
|
49158
|
+
"description": "List of messages sent by the users queued to processed.",
|
|
49159
|
+
"items": {
|
|
49160
|
+
"$ref": "#/components/schemas/AIMessageInput"
|
|
49161
|
+
}
|
|
48881
49162
|
}
|
|
48882
49163
|
},
|
|
48883
49164
|
"required": [
|
|
48884
49165
|
"status",
|
|
48885
|
-
"suggestions"
|
|
49166
|
+
"suggestions",
|
|
49167
|
+
"queuedMessages"
|
|
48886
49168
|
]
|
|
48887
49169
|
},
|
|
48888
49170
|
"AgentStreamState": {
|