@gitbook/api 0.147.0 → 0.148.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 +36 -161
- package/dist/constants.d.ts +1 -1
- package/dist/index.cjs +35 -49
- package/dist/index.js +33 -47
- package/package.json +1 -1
- package/spec/openapi.json +72 -455
- package/spec/openapi.yaml +55 -297
package/spec/openapi.json
CHANGED
|
@@ -168,6 +168,13 @@
|
|
|
168
168
|
"x-parent": "sites",
|
|
169
169
|
"description": "This API delivers insights about how visitors interact with your site, including page views and user engagement, helping you measure and optimize your content strategy.\n"
|
|
170
170
|
},
|
|
171
|
+
{
|
|
172
|
+
"name": "site-ai",
|
|
173
|
+
"x-page-title": "Site AI",
|
|
174
|
+
"x-page-description": "Build conversational AI agents for your docs site.",
|
|
175
|
+
"x-parent": "sites",
|
|
176
|
+
"description": "Build advanced conversational AI experiences within your docs site that go beyond basic Q&A.\n"
|
|
177
|
+
},
|
|
171
178
|
{
|
|
172
179
|
"name": "site-ask",
|
|
173
180
|
"x-page-title": "Site AI ask",
|
|
@@ -2288,54 +2295,18 @@
|
|
|
2288
2295
|
"content": {
|
|
2289
2296
|
"application/json": {
|
|
2290
2297
|
"schema": {
|
|
2291
|
-
"
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
"
|
|
2295
|
-
|
|
2296
|
-
"type": "string",
|
|
2297
|
-
"description": "Subject of the change-request"
|
|
2298
|
-
}
|
|
2299
|
-
}
|
|
2298
|
+
"type": "object",
|
|
2299
|
+
"properties": {
|
|
2300
|
+
"subject": {
|
|
2301
|
+
"type": "string",
|
|
2302
|
+
"description": "Subject of the change-request"
|
|
2300
2303
|
},
|
|
2301
|
-
{
|
|
2302
|
-
"
|
|
2303
|
-
|
|
2304
|
-
"type": "object",
|
|
2305
|
-
"properties": {},
|
|
2306
|
-
"additionalProperties": true
|
|
2307
|
-
},
|
|
2308
|
-
{
|
|
2309
|
-
"oneOf": [
|
|
2310
|
-
{
|
|
2311
|
-
"type": "object",
|
|
2312
|
-
"properties": {
|
|
2313
|
-
"agentTaskId": {
|
|
2314
|
-
"type": "string",
|
|
2315
|
-
"description": "ID of the agent task to implement"
|
|
2316
|
-
}
|
|
2317
|
-
},
|
|
2318
|
-
"required": [
|
|
2319
|
-
"agentTaskId"
|
|
2320
|
-
]
|
|
2321
|
-
},
|
|
2322
|
-
{
|
|
2323
|
-
"type": "object",
|
|
2324
|
-
"properties": {
|
|
2325
|
-
"template": {
|
|
2326
|
-
"$ref": "#/components/schemas/ApplySpaceTemplate",
|
|
2327
|
-
"description": "Template to apply to the change request"
|
|
2328
|
-
}
|
|
2329
|
-
},
|
|
2330
|
-
"required": [
|
|
2331
|
-
"template"
|
|
2332
|
-
]
|
|
2333
|
-
}
|
|
2334
|
-
]
|
|
2335
|
-
}
|
|
2336
|
-
]
|
|
2304
|
+
"template": {
|
|
2305
|
+
"$ref": "#/components/schemas/ApplySpaceTemplate",
|
|
2306
|
+
"description": "Template to apply to the change request"
|
|
2337
2307
|
}
|
|
2338
|
-
|
|
2308
|
+
},
|
|
2309
|
+
"additionalProperties": true
|
|
2339
2310
|
}
|
|
2340
2311
|
}
|
|
2341
2312
|
}
|
|
@@ -10569,22 +10540,7 @@
|
|
|
10569
10540
|
"enum": [
|
|
10570
10541
|
"updatedAt",
|
|
10571
10542
|
"issues",
|
|
10572
|
-
"conversations"
|
|
10573
|
-
"tasksTotal",
|
|
10574
|
-
"tasksBacklog",
|
|
10575
|
-
"tasksStarted"
|
|
10576
|
-
]
|
|
10577
|
-
}
|
|
10578
|
-
},
|
|
10579
|
-
{
|
|
10580
|
-
"name": "status",
|
|
10581
|
-
"in": "query",
|
|
10582
|
-
"description": "Filter by status",
|
|
10583
|
-
"schema": {
|
|
10584
|
-
"type": "string",
|
|
10585
|
-
"enum": [
|
|
10586
|
-
"pending",
|
|
10587
|
-
"analysing"
|
|
10543
|
+
"conversations"
|
|
10588
10544
|
]
|
|
10589
10545
|
}
|
|
10590
10546
|
}
|
|
@@ -10983,7 +10939,7 @@
|
|
|
10983
10939
|
"content": {
|
|
10984
10940
|
"application/json": {
|
|
10985
10941
|
"schema": {
|
|
10986
|
-
"$ref": "#/components/schemas/
|
|
10942
|
+
"$ref": "#/components/schemas/AgentSetupState"
|
|
10987
10943
|
}
|
|
10988
10944
|
}
|
|
10989
10945
|
}
|
|
@@ -11072,183 +11028,6 @@
|
|
|
11072
11028
|
}
|
|
11073
11029
|
}
|
|
11074
11030
|
},
|
|
11075
|
-
"/orgs/{organizationId}/agent-tasks": {
|
|
11076
|
-
"get": {
|
|
11077
|
-
"operationId": "listAgentTasks",
|
|
11078
|
-
"summary": "List agent tasks",
|
|
11079
|
-
"tags": [
|
|
11080
|
-
"agents"
|
|
11081
|
-
],
|
|
11082
|
-
"parameters": [
|
|
11083
|
-
{
|
|
11084
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11085
|
-
},
|
|
11086
|
-
{
|
|
11087
|
-
"$ref": "#/components/parameters/listPage"
|
|
11088
|
-
},
|
|
11089
|
-
{
|
|
11090
|
-
"$ref": "#/components/parameters/listLimit"
|
|
11091
|
-
},
|
|
11092
|
-
{
|
|
11093
|
-
"name": "cluster",
|
|
11094
|
-
"in": "query",
|
|
11095
|
-
"description": "The ID of the conversations issues cluster to filter the agent tasks by",
|
|
11096
|
-
"schema": {
|
|
11097
|
-
"type": "string"
|
|
11098
|
-
}
|
|
11099
|
-
},
|
|
11100
|
-
{
|
|
11101
|
-
"name": "space",
|
|
11102
|
-
"in": "query",
|
|
11103
|
-
"description": "The ID of the space to filter the agent tasks by",
|
|
11104
|
-
"schema": {
|
|
11105
|
-
"type": "string"
|
|
11106
|
-
}
|
|
11107
|
-
},
|
|
11108
|
-
{
|
|
11109
|
-
"name": "status",
|
|
11110
|
-
"in": "query",
|
|
11111
|
-
"description": "The statuses of the agent tasks to filter by",
|
|
11112
|
-
"schema": {
|
|
11113
|
-
"type": "array",
|
|
11114
|
-
"items": {
|
|
11115
|
-
"$ref": "#/components/schemas/AgentTaskStatus"
|
|
11116
|
-
}
|
|
11117
|
-
}
|
|
11118
|
-
}
|
|
11119
|
-
],
|
|
11120
|
-
"security": [
|
|
11121
|
-
{
|
|
11122
|
-
"user": []
|
|
11123
|
-
}
|
|
11124
|
-
],
|
|
11125
|
-
"responses": {
|
|
11126
|
-
"200": {
|
|
11127
|
-
"description": "OK",
|
|
11128
|
-
"content": {
|
|
11129
|
-
"application/json": {
|
|
11130
|
-
"schema": {
|
|
11131
|
-
"allOf": [
|
|
11132
|
-
{
|
|
11133
|
-
"$ref": "#/components/schemas/List"
|
|
11134
|
-
},
|
|
11135
|
-
{
|
|
11136
|
-
"type": "object",
|
|
11137
|
-
"required": [
|
|
11138
|
-
"items"
|
|
11139
|
-
],
|
|
11140
|
-
"properties": {
|
|
11141
|
-
"items": {
|
|
11142
|
-
"type": "array",
|
|
11143
|
-
"items": {
|
|
11144
|
-
"$ref": "#/components/schemas/AgentTask"
|
|
11145
|
-
}
|
|
11146
|
-
}
|
|
11147
|
-
}
|
|
11148
|
-
}
|
|
11149
|
-
]
|
|
11150
|
-
}
|
|
11151
|
-
}
|
|
11152
|
-
}
|
|
11153
|
-
},
|
|
11154
|
-
"404": {
|
|
11155
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
11156
|
-
}
|
|
11157
|
-
}
|
|
11158
|
-
}
|
|
11159
|
-
},
|
|
11160
|
-
"/orgs/{organizationId}/agent-tasks/{agentTaskId}": {
|
|
11161
|
-
"get": {
|
|
11162
|
-
"operationId": "getAgentTask",
|
|
11163
|
-
"summary": "Get an agent task by its identifier",
|
|
11164
|
-
"tags": [
|
|
11165
|
-
"agents"
|
|
11166
|
-
],
|
|
11167
|
-
"parameters": [
|
|
11168
|
-
{
|
|
11169
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11170
|
-
},
|
|
11171
|
-
{
|
|
11172
|
-
"$ref": "#/components/parameters/agentTaskId"
|
|
11173
|
-
}
|
|
11174
|
-
],
|
|
11175
|
-
"security": [
|
|
11176
|
-
{
|
|
11177
|
-
"user": []
|
|
11178
|
-
}
|
|
11179
|
-
],
|
|
11180
|
-
"responses": {
|
|
11181
|
-
"200": {
|
|
11182
|
-
"description": "OK",
|
|
11183
|
-
"content": {
|
|
11184
|
-
"application/json": {
|
|
11185
|
-
"schema": {
|
|
11186
|
-
"$ref": "#/components/schemas/AgentTask"
|
|
11187
|
-
}
|
|
11188
|
-
}
|
|
11189
|
-
}
|
|
11190
|
-
},
|
|
11191
|
-
"404": {
|
|
11192
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
11193
|
-
}
|
|
11194
|
-
}
|
|
11195
|
-
},
|
|
11196
|
-
"patch": {
|
|
11197
|
-
"operationId": "updateAgentTask",
|
|
11198
|
-
"summary": "Update an agent task by its identifier",
|
|
11199
|
-
"tags": [
|
|
11200
|
-
"agents"
|
|
11201
|
-
],
|
|
11202
|
-
"parameters": [
|
|
11203
|
-
{
|
|
11204
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11205
|
-
},
|
|
11206
|
-
{
|
|
11207
|
-
"$ref": "#/components/parameters/agentTaskId"
|
|
11208
|
-
}
|
|
11209
|
-
],
|
|
11210
|
-
"security": [
|
|
11211
|
-
{
|
|
11212
|
-
"user": []
|
|
11213
|
-
}
|
|
11214
|
-
],
|
|
11215
|
-
"requestBody": {
|
|
11216
|
-
"required": true,
|
|
11217
|
-
"content": {
|
|
11218
|
-
"application/json": {
|
|
11219
|
-
"schema": {
|
|
11220
|
-
"type": "object",
|
|
11221
|
-
"properties": {
|
|
11222
|
-
"status": {
|
|
11223
|
-
"type": "string",
|
|
11224
|
-
"enum": [
|
|
11225
|
-
"backlog",
|
|
11226
|
-
"started",
|
|
11227
|
-
"canceled"
|
|
11228
|
-
]
|
|
11229
|
-
}
|
|
11230
|
-
},
|
|
11231
|
-
"required": [
|
|
11232
|
-
"status"
|
|
11233
|
-
]
|
|
11234
|
-
}
|
|
11235
|
-
}
|
|
11236
|
-
}
|
|
11237
|
-
},
|
|
11238
|
-
"responses": {
|
|
11239
|
-
"200": {
|
|
11240
|
-
"description": "OK",
|
|
11241
|
-
"content": {
|
|
11242
|
-
"application/json": {
|
|
11243
|
-
"schema": {
|
|
11244
|
-
"$ref": "#/components/schemas/AgentTask"
|
|
11245
|
-
}
|
|
11246
|
-
}
|
|
11247
|
-
}
|
|
11248
|
-
}
|
|
11249
|
-
}
|
|
11250
|
-
}
|
|
11251
|
-
},
|
|
11252
11031
|
"/orgs/{organizationId}/translations": {
|
|
11253
11032
|
"get": {
|
|
11254
11033
|
"operationId": "listTranslations",
|
|
@@ -12014,6 +11793,11 @@
|
|
|
12014
11793
|
},
|
|
12015
11794
|
"target": {
|
|
12016
11795
|
"$ref": "#/components/schemas/ContentImportTarget"
|
|
11796
|
+
},
|
|
11797
|
+
"enhance": {
|
|
11798
|
+
"description": "Enhance the imported content with AI",
|
|
11799
|
+
"default": true,
|
|
11800
|
+
"type": "boolean"
|
|
12017
11801
|
}
|
|
12018
11802
|
},
|
|
12019
11803
|
"required": [
|
|
@@ -15399,7 +15183,7 @@
|
|
|
15399
15183
|
"summary": "Generate an AI response in a site",
|
|
15400
15184
|
"description": "Generate an AI response in a conversation.\n",
|
|
15401
15185
|
"tags": [
|
|
15402
|
-
"
|
|
15186
|
+
"site-ai"
|
|
15403
15187
|
],
|
|
15404
15188
|
"security": [
|
|
15405
15189
|
{
|
|
@@ -15473,7 +15257,7 @@
|
|
|
15473
15257
|
"summary": "Get an existing AI response in a site",
|
|
15474
15258
|
"description": "Experimental operation to get an existing AI response in a site.\n",
|
|
15475
15259
|
"tags": [
|
|
15476
|
-
"
|
|
15260
|
+
"site-ai"
|
|
15477
15261
|
],
|
|
15478
15262
|
"x-internal": true,
|
|
15479
15263
|
"security": [
|
|
@@ -17303,15 +17087,6 @@
|
|
|
17303
17087
|
"type": "string"
|
|
17304
17088
|
}
|
|
17305
17089
|
},
|
|
17306
|
-
"agentTaskId": {
|
|
17307
|
-
"name": "agentTaskId",
|
|
17308
|
-
"in": "path",
|
|
17309
|
-
"required": true,
|
|
17310
|
-
"description": "The unique id of the agent task",
|
|
17311
|
-
"schema": {
|
|
17312
|
-
"type": "string"
|
|
17313
|
-
}
|
|
17314
|
-
},
|
|
17315
17090
|
"translationId": {
|
|
17316
17091
|
"name": "translationId",
|
|
17317
17092
|
"in": "path",
|
|
@@ -22379,6 +22154,9 @@
|
|
|
22379
22154
|
},
|
|
22380
22155
|
{
|
|
22381
22156
|
"$ref": "#/components/schemas/DocumentBlockIntegration"
|
|
22157
|
+
},
|
|
22158
|
+
{
|
|
22159
|
+
"$ref": "#/components/schemas/DocumentBlockExpandable"
|
|
22382
22160
|
}
|
|
22383
22161
|
]
|
|
22384
22162
|
}
|
|
@@ -22504,6 +22282,9 @@
|
|
|
22504
22282
|
},
|
|
22505
22283
|
{
|
|
22506
22284
|
"$ref": "#/components/schemas/DocumentBlockTable"
|
|
22285
|
+
},
|
|
22286
|
+
{
|
|
22287
|
+
"$ref": "#/components/schemas/DocumentBlockExpandable"
|
|
22507
22288
|
}
|
|
22508
22289
|
]
|
|
22509
22290
|
}
|
|
@@ -24603,14 +24384,6 @@
|
|
|
24603
24384
|
"reason"
|
|
24604
24385
|
]
|
|
24605
24386
|
},
|
|
24606
|
-
"internal_isOnNewTrial": {
|
|
24607
|
-
"type": "boolean",
|
|
24608
|
-
"description": "Deprecated. Always true. All organizations are on new trials.",
|
|
24609
|
-
"deprecated": true,
|
|
24610
|
-
"enum": [
|
|
24611
|
-
true
|
|
24612
|
-
]
|
|
24613
|
-
},
|
|
24614
24387
|
"internal_billingMigration": {
|
|
24615
24388
|
"type": "object",
|
|
24616
24389
|
"properties": {
|
|
@@ -32407,36 +32180,11 @@
|
|
|
32407
32180
|
"conversations": {
|
|
32408
32181
|
"type": "number",
|
|
32409
32182
|
"description": "The number of conversations in the conversations issues cluster"
|
|
32410
|
-
},
|
|
32411
|
-
"tasksTotal": {
|
|
32412
|
-
"type": "number",
|
|
32413
|
-
"description": "The number of tasks in the conversations issues cluster"
|
|
32414
|
-
},
|
|
32415
|
-
"tasksBacklog": {
|
|
32416
|
-
"type": "number",
|
|
32417
|
-
"description": "The number of tasks in the backlog in the conversations issues cluster"
|
|
32418
|
-
},
|
|
32419
|
-
"tasksStarted": {
|
|
32420
|
-
"type": "number",
|
|
32421
|
-
"description": "The number of tasks done in the conversations issues cluster"
|
|
32422
|
-
},
|
|
32423
|
-
"tasksCompleted": {
|
|
32424
|
-
"type": "number",
|
|
32425
|
-
"description": "The number of tasks completed in the conversations issues cluster"
|
|
32426
|
-
},
|
|
32427
|
-
"tasksCancelled": {
|
|
32428
|
-
"type": "number",
|
|
32429
|
-
"description": "The number of tasks canceled in the conversations issues cluster"
|
|
32430
32183
|
}
|
|
32431
32184
|
},
|
|
32432
32185
|
"required": [
|
|
32433
32186
|
"issues",
|
|
32434
|
-
"conversations"
|
|
32435
|
-
"tasksTotal",
|
|
32436
|
-
"tasksBacklog",
|
|
32437
|
-
"tasksStarted",
|
|
32438
|
-
"tasksCompleted",
|
|
32439
|
-
"tasksCancelled"
|
|
32187
|
+
"conversations"
|
|
32440
32188
|
]
|
|
32441
32189
|
},
|
|
32442
32190
|
"urls": {
|
|
@@ -32447,15 +32195,9 @@
|
|
|
32447
32195
|
"type": "string",
|
|
32448
32196
|
"description": "URL of the conversations issues cluster in the API",
|
|
32449
32197
|
"format": "uri"
|
|
32450
|
-
},
|
|
32451
|
-
"app": {
|
|
32452
|
-
"type": "string",
|
|
32453
|
-
"description": "URL of the conversations issues cluster in the application",
|
|
32454
|
-
"format": "uri"
|
|
32455
32198
|
}
|
|
32456
32199
|
},
|
|
32457
32200
|
"required": [
|
|
32458
|
-
"app",
|
|
32459
32201
|
"location"
|
|
32460
32202
|
]
|
|
32461
32203
|
}
|
|
@@ -32690,7 +32432,7 @@
|
|
|
32690
32432
|
"urls"
|
|
32691
32433
|
]
|
|
32692
32434
|
},
|
|
32693
|
-
"
|
|
32435
|
+
"AgentSetupState": {
|
|
32694
32436
|
"type": "object",
|
|
32695
32437
|
"description": "State and settings of the agent",
|
|
32696
32438
|
"properties": {
|
|
@@ -32702,22 +32444,6 @@
|
|
|
32702
32444
|
"type": "object",
|
|
32703
32445
|
"description": "The stats of the agent.",
|
|
32704
32446
|
"properties": {
|
|
32705
|
-
"backlogTasks": {
|
|
32706
|
-
"type": "number",
|
|
32707
|
-
"description": "The number of tasks in the backlog."
|
|
32708
|
-
},
|
|
32709
|
-
"startedTasks": {
|
|
32710
|
-
"type": "number",
|
|
32711
|
-
"description": "The number of tasks in progress."
|
|
32712
|
-
},
|
|
32713
|
-
"completedTasks": {
|
|
32714
|
-
"type": "number",
|
|
32715
|
-
"description": "The number of tasks that have been completed."
|
|
32716
|
-
},
|
|
32717
|
-
"canceledTasks": {
|
|
32718
|
-
"type": "number",
|
|
32719
|
-
"description": "The number of tasks that have been canceled."
|
|
32720
|
-
},
|
|
32721
32447
|
"conversations": {
|
|
32722
32448
|
"type": "number",
|
|
32723
32449
|
"description": "The number of conversations the agent has indexed."
|
|
@@ -32728,7 +32454,7 @@
|
|
|
32728
32454
|
},
|
|
32729
32455
|
"issuesClusters": {
|
|
32730
32456
|
"type": "number",
|
|
32731
|
-
"description": "The number of
|
|
32457
|
+
"description": "The number of issue clusters the agent has indexed."
|
|
32732
32458
|
},
|
|
32733
32459
|
"sources": {
|
|
32734
32460
|
"type": "object",
|
|
@@ -32739,10 +32465,6 @@
|
|
|
32739
32465
|
}
|
|
32740
32466
|
},
|
|
32741
32467
|
"required": [
|
|
32742
|
-
"backlogTasks",
|
|
32743
|
-
"startedTasks",
|
|
32744
|
-
"completedTasks",
|
|
32745
|
-
"canceledTasks",
|
|
32746
32468
|
"conversations",
|
|
32747
32469
|
"issues",
|
|
32748
32470
|
"issuesClusters",
|
|
@@ -32804,95 +32526,6 @@
|
|
|
32804
32526
|
"urls"
|
|
32805
32527
|
]
|
|
32806
32528
|
},
|
|
32807
|
-
"AgentTaskStatus": {
|
|
32808
|
-
"type": "string",
|
|
32809
|
-
"description": "The status of the agent task. - `backlog`: The task has not been started yet, a human should review its specification. - `started`: The task is open, a change request is associated with it. - `completed`: The task is completed. - `canceled`: The task has been canceled by a human.\n",
|
|
32810
|
-
"enum": [
|
|
32811
|
-
"backlog",
|
|
32812
|
-
"started",
|
|
32813
|
-
"completed",
|
|
32814
|
-
"canceled"
|
|
32815
|
-
]
|
|
32816
|
-
},
|
|
32817
|
-
"AgentTask": {
|
|
32818
|
-
"type": "object",
|
|
32819
|
-
"properties": {
|
|
32820
|
-
"object": {
|
|
32821
|
-
"type": "string",
|
|
32822
|
-
"enum": [
|
|
32823
|
-
"agent-task"
|
|
32824
|
-
]
|
|
32825
|
-
},
|
|
32826
|
-
"id": {
|
|
32827
|
-
"type": "string",
|
|
32828
|
-
"description": "The ID of the agent task"
|
|
32829
|
-
},
|
|
32830
|
-
"title": {
|
|
32831
|
-
"type": "string",
|
|
32832
|
-
"description": "The title of the agent task"
|
|
32833
|
-
},
|
|
32834
|
-
"description": {
|
|
32835
|
-
"type": "string",
|
|
32836
|
-
"description": "The description of the agent task"
|
|
32837
|
-
},
|
|
32838
|
-
"instructions": {
|
|
32839
|
-
"$ref": "#/components/schemas/JSONDocument"
|
|
32840
|
-
},
|
|
32841
|
-
"status": {
|
|
32842
|
-
"$ref": "#/components/schemas/AgentTaskStatus"
|
|
32843
|
-
},
|
|
32844
|
-
"createdAt": {
|
|
32845
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
32846
|
-
},
|
|
32847
|
-
"updatedAt": {
|
|
32848
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
32849
|
-
},
|
|
32850
|
-
"cluster": {
|
|
32851
|
-
"type": "string",
|
|
32852
|
-
"description": "ID of the cluster the agent task is associated with."
|
|
32853
|
-
},
|
|
32854
|
-
"space": {
|
|
32855
|
-
"type": "string",
|
|
32856
|
-
"description": "ID of the space the agent task will act on."
|
|
32857
|
-
},
|
|
32858
|
-
"changeRequest": {
|
|
32859
|
-
"type": "string",
|
|
32860
|
-
"description": "ID of the change request the agent task is associated with."
|
|
32861
|
-
},
|
|
32862
|
-
"urls": {
|
|
32863
|
-
"type": "object",
|
|
32864
|
-
"description": "URLs associated with the agent task",
|
|
32865
|
-
"properties": {
|
|
32866
|
-
"location": {
|
|
32867
|
-
"type": "string",
|
|
32868
|
-
"description": "URL of the agent task in the API",
|
|
32869
|
-
"format": "uri"
|
|
32870
|
-
},
|
|
32871
|
-
"app": {
|
|
32872
|
-
"type": "string",
|
|
32873
|
-
"description": "URL of the agent task in the application",
|
|
32874
|
-
"format": "uri"
|
|
32875
|
-
}
|
|
32876
|
-
},
|
|
32877
|
-
"required": [
|
|
32878
|
-
"app",
|
|
32879
|
-
"location"
|
|
32880
|
-
]
|
|
32881
|
-
}
|
|
32882
|
-
},
|
|
32883
|
-
"required": [
|
|
32884
|
-
"object",
|
|
32885
|
-
"id",
|
|
32886
|
-
"title",
|
|
32887
|
-
"description",
|
|
32888
|
-
"instructions",
|
|
32889
|
-
"space",
|
|
32890
|
-
"status",
|
|
32891
|
-
"createdAt",
|
|
32892
|
-
"updatedAt",
|
|
32893
|
-
"urls"
|
|
32894
|
-
]
|
|
32895
|
-
},
|
|
32896
32529
|
"TranslationStatus": {
|
|
32897
32530
|
"type": "string",
|
|
32898
32531
|
"enum": [
|
|
@@ -33363,7 +32996,9 @@
|
|
|
33363
32996
|
]
|
|
33364
32997
|
},
|
|
33365
32998
|
"files": {
|
|
32999
|
+
"description": "Files to import",
|
|
33366
33000
|
"type": "array",
|
|
33001
|
+
"maxItems": 50,
|
|
33367
33002
|
"items": {
|
|
33368
33003
|
"description": "Key of file",
|
|
33369
33004
|
"type": "string"
|
|
@@ -33424,7 +33059,7 @@
|
|
|
33424
33059
|
]
|
|
33425
33060
|
},
|
|
33426
33061
|
"pages": {
|
|
33427
|
-
"description": "
|
|
33062
|
+
"description": "Pages included in the import",
|
|
33428
33063
|
"type": "array",
|
|
33429
33064
|
"items": {
|
|
33430
33065
|
"type": "object",
|
|
@@ -33436,10 +33071,28 @@
|
|
|
33436
33071
|
"sourceURL": {
|
|
33437
33072
|
"description": "Source URL where the page has been imported from",
|
|
33438
33073
|
"type": "string"
|
|
33074
|
+
},
|
|
33075
|
+
"type": {
|
|
33076
|
+
"description": "Type of page",
|
|
33077
|
+
"type": "string",
|
|
33078
|
+
"enum": [
|
|
33079
|
+
"page",
|
|
33080
|
+
"folder"
|
|
33081
|
+
]
|
|
33082
|
+
},
|
|
33083
|
+
"status": {
|
|
33084
|
+
"description": "Status of the page",
|
|
33085
|
+
"type": "string",
|
|
33086
|
+
"enum": [
|
|
33087
|
+
"complete",
|
|
33088
|
+
"pending"
|
|
33089
|
+
]
|
|
33439
33090
|
}
|
|
33440
33091
|
},
|
|
33441
33092
|
"required": [
|
|
33442
|
-
"id"
|
|
33093
|
+
"id",
|
|
33094
|
+
"type",
|
|
33095
|
+
"status"
|
|
33443
33096
|
]
|
|
33444
33097
|
}
|
|
33445
33098
|
}
|
|
@@ -40229,6 +39882,18 @@
|
|
|
40229
39882
|
}
|
|
40230
39883
|
}
|
|
40231
39884
|
},
|
|
39885
|
+
"BillingStatus": {
|
|
39886
|
+
"type": "string",
|
|
39887
|
+
"enum": [
|
|
39888
|
+
"trialing",
|
|
39889
|
+
"active",
|
|
39890
|
+
"past_due",
|
|
39891
|
+
"incomplete_expired",
|
|
39892
|
+
"canceled",
|
|
39893
|
+
"unpaid",
|
|
39894
|
+
"paused"
|
|
39895
|
+
]
|
|
39896
|
+
},
|
|
40232
39897
|
"APIIntegrationScope": {
|
|
40233
39898
|
"type": "string",
|
|
40234
39899
|
"enum": [
|
|
@@ -41713,51 +41378,6 @@
|
|
|
41713
41378
|
"translation"
|
|
41714
41379
|
]
|
|
41715
41380
|
},
|
|
41716
|
-
"AgentTaskChannel": {
|
|
41717
|
-
"type": "object",
|
|
41718
|
-
"description": "Subscription channel for an agent task.",
|
|
41719
|
-
"properties": {
|
|
41720
|
-
"channel": {
|
|
41721
|
-
"type": "string",
|
|
41722
|
-
"enum": [
|
|
41723
|
-
"agent-task"
|
|
41724
|
-
]
|
|
41725
|
-
},
|
|
41726
|
-
"organization": {
|
|
41727
|
-
"type": "string",
|
|
41728
|
-
"description": "The ID of the organization."
|
|
41729
|
-
},
|
|
41730
|
-
"agentTask": {
|
|
41731
|
-
"type": "string",
|
|
41732
|
-
"description": "The ID of the agent task."
|
|
41733
|
-
}
|
|
41734
|
-
},
|
|
41735
|
-
"required": [
|
|
41736
|
-
"channel",
|
|
41737
|
-
"organization",
|
|
41738
|
-
"agentTask"
|
|
41739
|
-
]
|
|
41740
|
-
},
|
|
41741
|
-
"AgentTasksChannel": {
|
|
41742
|
-
"type": "object",
|
|
41743
|
-
"description": "Subscription channel for agent tasks.",
|
|
41744
|
-
"properties": {
|
|
41745
|
-
"channel": {
|
|
41746
|
-
"type": "string",
|
|
41747
|
-
"enum": [
|
|
41748
|
-
"agent-tasks"
|
|
41749
|
-
]
|
|
41750
|
-
},
|
|
41751
|
-
"organization": {
|
|
41752
|
-
"type": "string",
|
|
41753
|
-
"description": "The ID of the organization."
|
|
41754
|
-
}
|
|
41755
|
-
},
|
|
41756
|
-
"required": [
|
|
41757
|
-
"channel",
|
|
41758
|
-
"organization"
|
|
41759
|
-
]
|
|
41760
|
-
},
|
|
41761
41381
|
"ImportRunChannel": {
|
|
41762
41382
|
"type": "object",
|
|
41763
41383
|
"properties": {
|
|
@@ -41983,12 +41603,6 @@
|
|
|
41983
41603
|
{
|
|
41984
41604
|
"$ref": "#/components/schemas/TranslationRunChannel"
|
|
41985
41605
|
},
|
|
41986
|
-
{
|
|
41987
|
-
"$ref": "#/components/schemas/AgentTaskChannel"
|
|
41988
|
-
},
|
|
41989
|
-
{
|
|
41990
|
-
"$ref": "#/components/schemas/AgentTasksChannel"
|
|
41991
|
-
},
|
|
41992
41606
|
{
|
|
41993
41607
|
"$ref": "#/components/schemas/ImportRunChannel"
|
|
41994
41608
|
}
|
|
@@ -42586,6 +42200,9 @@
|
|
|
42586
42200
|
},
|
|
42587
42201
|
"OpenAPISpecSourceURL": {
|
|
42588
42202
|
"$ref": "#/components/schemas/URL"
|
|
42203
|
+
},
|
|
42204
|
+
"AgentsSetupState": {
|
|
42205
|
+
"$ref": "#/components/schemas/AgentSetupState"
|
|
42589
42206
|
}
|
|
42590
42207
|
},
|
|
42591
42208
|
"responses": {
|