@gitbook/api 0.116.0 → 0.117.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 +380 -47
- package/dist/index.cjs +71 -9
- package/dist/index.js +71 -9
- package/package.json +1 -1
- package/spec/openapi.json +1147 -191
- package/spec/openapi.yaml +736 -110
package/spec/openapi.json
CHANGED
|
@@ -326,6 +326,13 @@
|
|
|
326
326
|
"x-parent": "openapi",
|
|
327
327
|
"description": "Keep a history of your OpenAPI specs, enabling you to compare different versions, revert, or maintain multiple concurrent versions for testing or documentation.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"OpenAPISpecVersion\" grouped=\"false\" %}\n The OpenAPISpecVersion object\n{% endopenapi-schemas %}\n"
|
|
328
328
|
},
|
|
329
|
+
{
|
|
330
|
+
"name": "conversations",
|
|
331
|
+
"x-page-icon": "robot",
|
|
332
|
+
"x-page-title": "Conversations",
|
|
333
|
+
"x-page-description": "Ingest knowledge for Conversations.",
|
|
334
|
+
"description": "The Conversations endpoints let you ingest, manage, and monitor Conversations in GitBook to be processed by Docs Agents.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"ConversationsIssuesCluster\" grouped=\"false\" %}\n The ConversationsIssuesCluster object\n{% endopenapi-schemas %}\n"
|
|
335
|
+
},
|
|
329
336
|
{
|
|
330
337
|
"name": "custom-fonts",
|
|
331
338
|
"x-page-icon": "font",
|
|
@@ -2271,7 +2278,17 @@
|
|
|
2271
2278
|
"content": {
|
|
2272
2279
|
"application/json": {
|
|
2273
2280
|
"schema": {
|
|
2274
|
-
"
|
|
2281
|
+
"type": "object",
|
|
2282
|
+
"properties": {
|
|
2283
|
+
"subject": {
|
|
2284
|
+
"type": "string",
|
|
2285
|
+
"description": "Subject of the change-request"
|
|
2286
|
+
},
|
|
2287
|
+
"agentTaskId": {
|
|
2288
|
+
"type": "string",
|
|
2289
|
+
"description": "ID of the agent task to implement"
|
|
2290
|
+
}
|
|
2291
|
+
}
|
|
2275
2292
|
}
|
|
2276
2293
|
}
|
|
2277
2294
|
}
|
|
@@ -6101,6 +6118,9 @@
|
|
|
6101
6118
|
},
|
|
6102
6119
|
{
|
|
6103
6120
|
"$ref": "#/components/parameters/integrationSearchOwner"
|
|
6121
|
+
},
|
|
6122
|
+
{
|
|
6123
|
+
"$ref": "#/components/parameters/integrationSearchScope"
|
|
6104
6124
|
}
|
|
6105
6125
|
],
|
|
6106
6126
|
"responses": {
|
|
@@ -10444,22 +10464,143 @@
|
|
|
10444
10464
|
}
|
|
10445
10465
|
}
|
|
10446
10466
|
},
|
|
10447
|
-
"/orgs/{organizationId}/
|
|
10467
|
+
"/orgs/{organizationId}/conversations-clusters": {
|
|
10448
10468
|
"get": {
|
|
10449
|
-
"operationId": "
|
|
10450
|
-
"summary": "List
|
|
10469
|
+
"operationId": "listConversationsIssuesClusters",
|
|
10470
|
+
"summary": "List conversations issues clusters",
|
|
10451
10471
|
"tags": [
|
|
10452
|
-
"
|
|
10472
|
+
"agents"
|
|
10473
|
+
],
|
|
10474
|
+
"parameters": [
|
|
10475
|
+
{
|
|
10476
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10477
|
+
},
|
|
10478
|
+
{
|
|
10479
|
+
"$ref": "#/components/parameters/listPage"
|
|
10480
|
+
},
|
|
10481
|
+
{
|
|
10482
|
+
"$ref": "#/components/parameters/listLimit"
|
|
10483
|
+
},
|
|
10484
|
+
{
|
|
10485
|
+
"$ref": "#/components/parameters/listOrder"
|
|
10486
|
+
},
|
|
10487
|
+
{
|
|
10488
|
+
"name": "orderBy",
|
|
10489
|
+
"in": "query",
|
|
10490
|
+
"schema": {
|
|
10491
|
+
"type": "string",
|
|
10492
|
+
"default": "updatedAt",
|
|
10493
|
+
"enum": [
|
|
10494
|
+
"updatedAt",
|
|
10495
|
+
"issues",
|
|
10496
|
+
"conversations",
|
|
10497
|
+
"tasksTotal",
|
|
10498
|
+
"tasksBacklog",
|
|
10499
|
+
"tasksStarted"
|
|
10500
|
+
]
|
|
10501
|
+
}
|
|
10502
|
+
},
|
|
10503
|
+
{
|
|
10504
|
+
"name": "status",
|
|
10505
|
+
"in": "query",
|
|
10506
|
+
"description": "Filter by status",
|
|
10507
|
+
"schema": {
|
|
10508
|
+
"type": "string",
|
|
10509
|
+
"enum": [
|
|
10510
|
+
"pending",
|
|
10511
|
+
"analysing"
|
|
10512
|
+
]
|
|
10513
|
+
}
|
|
10514
|
+
}
|
|
10515
|
+
],
|
|
10516
|
+
"security": [
|
|
10517
|
+
{
|
|
10518
|
+
"user": []
|
|
10519
|
+
}
|
|
10520
|
+
],
|
|
10521
|
+
"responses": {
|
|
10522
|
+
"200": {
|
|
10523
|
+
"description": "OK",
|
|
10524
|
+
"content": {
|
|
10525
|
+
"application/json": {
|
|
10526
|
+
"schema": {
|
|
10527
|
+
"allOf": [
|
|
10528
|
+
{
|
|
10529
|
+
"$ref": "#/components/schemas/List"
|
|
10530
|
+
},
|
|
10531
|
+
{
|
|
10532
|
+
"type": "object",
|
|
10533
|
+
"required": [
|
|
10534
|
+
"items"
|
|
10535
|
+
],
|
|
10536
|
+
"properties": {
|
|
10537
|
+
"items": {
|
|
10538
|
+
"type": "array",
|
|
10539
|
+
"items": {
|
|
10540
|
+
"$ref": "#/components/schemas/ConversationsIssuesCluster"
|
|
10541
|
+
}
|
|
10542
|
+
}
|
|
10543
|
+
}
|
|
10544
|
+
}
|
|
10545
|
+
]
|
|
10546
|
+
}
|
|
10547
|
+
}
|
|
10548
|
+
}
|
|
10549
|
+
},
|
|
10550
|
+
"404": {
|
|
10551
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10552
|
+
}
|
|
10553
|
+
}
|
|
10554
|
+
}
|
|
10555
|
+
},
|
|
10556
|
+
"/orgs/{organizationId}/conversations-clusters/{clusterId}": {
|
|
10557
|
+
"get": {
|
|
10558
|
+
"operationId": "getConversationsIssuesCluster",
|
|
10559
|
+
"summary": "Get a conversations issues cluster by its identifier",
|
|
10560
|
+
"tags": [
|
|
10561
|
+
"agents"
|
|
10562
|
+
],
|
|
10563
|
+
"parameters": [
|
|
10564
|
+
{
|
|
10565
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10566
|
+
},
|
|
10567
|
+
{
|
|
10568
|
+
"$ref": "#/components/parameters/clusterId"
|
|
10569
|
+
}
|
|
10453
10570
|
],
|
|
10454
10571
|
"security": [
|
|
10455
10572
|
{
|
|
10456
10573
|
"user": []
|
|
10457
10574
|
}
|
|
10458
10575
|
],
|
|
10576
|
+
"responses": {
|
|
10577
|
+
"200": {
|
|
10578
|
+
"description": "OK",
|
|
10579
|
+
"content": {
|
|
10580
|
+
"application/json": {
|
|
10581
|
+
"schema": {
|
|
10582
|
+
"$ref": "#/components/schemas/ConversationsIssuesCluster"
|
|
10583
|
+
}
|
|
10584
|
+
}
|
|
10585
|
+
}
|
|
10586
|
+
}
|
|
10587
|
+
}
|
|
10588
|
+
}
|
|
10589
|
+
},
|
|
10590
|
+
"/orgs/{organizationId}/conversations-clusters/{clusterId}/issues": {
|
|
10591
|
+
"get": {
|
|
10592
|
+
"operationId": "listConversationsIssuesInCluster",
|
|
10593
|
+
"summary": "List conversations issues in a cluster",
|
|
10594
|
+
"tags": [
|
|
10595
|
+
"agents"
|
|
10596
|
+
],
|
|
10459
10597
|
"parameters": [
|
|
10460
10598
|
{
|
|
10461
10599
|
"$ref": "#/components/parameters/organizationId"
|
|
10462
10600
|
},
|
|
10601
|
+
{
|
|
10602
|
+
"$ref": "#/components/parameters/clusterId"
|
|
10603
|
+
},
|
|
10463
10604
|
{
|
|
10464
10605
|
"$ref": "#/components/parameters/listPage"
|
|
10465
10606
|
},
|
|
@@ -10467,6 +10608,11 @@
|
|
|
10467
10608
|
"$ref": "#/components/parameters/listLimit"
|
|
10468
10609
|
}
|
|
10469
10610
|
],
|
|
10611
|
+
"security": [
|
|
10612
|
+
{
|
|
10613
|
+
"user": []
|
|
10614
|
+
}
|
|
10615
|
+
],
|
|
10470
10616
|
"responses": {
|
|
10471
10617
|
"200": {
|
|
10472
10618
|
"description": "OK",
|
|
@@ -10486,7 +10632,19 @@
|
|
|
10486
10632
|
"items": {
|
|
10487
10633
|
"type": "array",
|
|
10488
10634
|
"items": {
|
|
10489
|
-
"
|
|
10635
|
+
"type": "object",
|
|
10636
|
+
"properties": {
|
|
10637
|
+
"issue": {
|
|
10638
|
+
"$ref": "#/components/schemas/ConversationIssue"
|
|
10639
|
+
},
|
|
10640
|
+
"conversation": {
|
|
10641
|
+
"$ref": "#/components/schemas/Conversation"
|
|
10642
|
+
}
|
|
10643
|
+
},
|
|
10644
|
+
"required": [
|
|
10645
|
+
"issue",
|
|
10646
|
+
"conversation"
|
|
10647
|
+
]
|
|
10490
10648
|
}
|
|
10491
10649
|
}
|
|
10492
10650
|
}
|
|
@@ -10495,18 +10653,23 @@
|
|
|
10495
10653
|
}
|
|
10496
10654
|
}
|
|
10497
10655
|
}
|
|
10656
|
+
},
|
|
10657
|
+
"404": {
|
|
10658
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10498
10659
|
}
|
|
10499
10660
|
}
|
|
10500
|
-
}
|
|
10661
|
+
}
|
|
10662
|
+
},
|
|
10663
|
+
"/orgs/{organizationId}/conversations": {
|
|
10501
10664
|
"post": {
|
|
10502
|
-
"operationId": "
|
|
10503
|
-
"summary": "
|
|
10665
|
+
"operationId": "ingestConversation",
|
|
10666
|
+
"summary": "Ingest conversations",
|
|
10504
10667
|
"tags": [
|
|
10505
|
-
"
|
|
10668
|
+
"conversations"
|
|
10506
10669
|
],
|
|
10507
10670
|
"security": [
|
|
10508
10671
|
{
|
|
10509
|
-
"
|
|
10672
|
+
"integration": []
|
|
10510
10673
|
}
|
|
10511
10674
|
],
|
|
10512
10675
|
"parameters": [
|
|
@@ -10519,55 +10682,164 @@
|
|
|
10519
10682
|
"content": {
|
|
10520
10683
|
"application/json": {
|
|
10521
10684
|
"schema": {
|
|
10522
|
-
"
|
|
10523
|
-
|
|
10524
|
-
|
|
10525
|
-
|
|
10526
|
-
|
|
10685
|
+
"oneOf": [
|
|
10686
|
+
{
|
|
10687
|
+
"$ref": "#/components/schemas/ConversationInput"
|
|
10688
|
+
},
|
|
10689
|
+
{
|
|
10690
|
+
"type": "array",
|
|
10691
|
+
"items": {
|
|
10692
|
+
"$ref": "#/components/schemas/ConversationInput"
|
|
10693
|
+
}
|
|
10527
10694
|
}
|
|
10528
|
-
},
|
|
10529
|
-
"required": [
|
|
10530
|
-
"title"
|
|
10531
10695
|
]
|
|
10532
10696
|
}
|
|
10533
10697
|
}
|
|
10534
10698
|
}
|
|
10535
10699
|
},
|
|
10536
10700
|
"responses": {
|
|
10537
|
-
"
|
|
10538
|
-
"description": "
|
|
10701
|
+
"204": {
|
|
10702
|
+
"description": "Conversations ingested"
|
|
10703
|
+
}
|
|
10704
|
+
}
|
|
10705
|
+
}
|
|
10706
|
+
},
|
|
10707
|
+
"/orgs/{organizationId}/agents-setup": {
|
|
10708
|
+
"get": {
|
|
10709
|
+
"operationId": "getAgentSetupState",
|
|
10710
|
+
"summary": "Get the agents setup state",
|
|
10711
|
+
"description": "Get the state of the agent.\n",
|
|
10712
|
+
"tags": [
|
|
10713
|
+
"agents",
|
|
10714
|
+
"critical"
|
|
10715
|
+
],
|
|
10716
|
+
"security": [
|
|
10717
|
+
{
|
|
10718
|
+
"user-internal": []
|
|
10719
|
+
}
|
|
10720
|
+
],
|
|
10721
|
+
"parameters": [
|
|
10722
|
+
{
|
|
10723
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10724
|
+
}
|
|
10725
|
+
],
|
|
10726
|
+
"responses": {
|
|
10727
|
+
"200": {
|
|
10728
|
+
"description": "OK",
|
|
10539
10729
|
"content": {
|
|
10540
10730
|
"application/json": {
|
|
10541
10731
|
"schema": {
|
|
10542
|
-
"$ref": "#/components/schemas/
|
|
10732
|
+
"$ref": "#/components/schemas/AgentsSetupState"
|
|
10543
10733
|
}
|
|
10544
10734
|
}
|
|
10545
10735
|
}
|
|
10546
|
-
},
|
|
10547
|
-
"400": {
|
|
10548
|
-
"$ref": "#/components/responses/BadRequestError"
|
|
10549
10736
|
}
|
|
10550
10737
|
}
|
|
10551
10738
|
}
|
|
10552
10739
|
},
|
|
10553
|
-
"/orgs/{organizationId}/
|
|
10740
|
+
"/orgs/{organizationId}/agent-tasks": {
|
|
10554
10741
|
"get": {
|
|
10555
|
-
"operationId": "
|
|
10556
|
-
"summary": "
|
|
10742
|
+
"operationId": "listAgentTasks",
|
|
10743
|
+
"summary": "List agent tasks",
|
|
10557
10744
|
"tags": [
|
|
10558
|
-
"
|
|
10745
|
+
"agents"
|
|
10746
|
+
],
|
|
10747
|
+
"parameters": [
|
|
10748
|
+
{
|
|
10749
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10750
|
+
},
|
|
10751
|
+
{
|
|
10752
|
+
"$ref": "#/components/parameters/listPage"
|
|
10753
|
+
},
|
|
10754
|
+
{
|
|
10755
|
+
"$ref": "#/components/parameters/listLimit"
|
|
10756
|
+
},
|
|
10757
|
+
{
|
|
10758
|
+
"name": "cluster",
|
|
10759
|
+
"in": "query",
|
|
10760
|
+
"description": "The ID of the conversations issues cluster to filter the agent tasks by",
|
|
10761
|
+
"schema": {
|
|
10762
|
+
"type": "string"
|
|
10763
|
+
}
|
|
10764
|
+
},
|
|
10765
|
+
{
|
|
10766
|
+
"name": "space",
|
|
10767
|
+
"in": "query",
|
|
10768
|
+
"description": "The ID of the space to filter the agent tasks by",
|
|
10769
|
+
"schema": {
|
|
10770
|
+
"type": "string"
|
|
10771
|
+
}
|
|
10772
|
+
},
|
|
10773
|
+
{
|
|
10774
|
+
"name": "status",
|
|
10775
|
+
"in": "query",
|
|
10776
|
+
"description": "The statuses of the agent tasks to filter by",
|
|
10777
|
+
"schema": {
|
|
10778
|
+
"type": "array",
|
|
10779
|
+
"items": {
|
|
10780
|
+
"$ref": "#/components/schemas/AgentTaskStatus"
|
|
10781
|
+
}
|
|
10782
|
+
}
|
|
10783
|
+
}
|
|
10559
10784
|
],
|
|
10560
10785
|
"security": [
|
|
10561
10786
|
{
|
|
10562
10787
|
"user": []
|
|
10563
10788
|
}
|
|
10564
10789
|
],
|
|
10790
|
+
"responses": {
|
|
10791
|
+
"200": {
|
|
10792
|
+
"description": "OK",
|
|
10793
|
+
"content": {
|
|
10794
|
+
"application/json": {
|
|
10795
|
+
"schema": {
|
|
10796
|
+
"allOf": [
|
|
10797
|
+
{
|
|
10798
|
+
"$ref": "#/components/schemas/List"
|
|
10799
|
+
},
|
|
10800
|
+
{
|
|
10801
|
+
"type": "object",
|
|
10802
|
+
"required": [
|
|
10803
|
+
"items"
|
|
10804
|
+
],
|
|
10805
|
+
"properties": {
|
|
10806
|
+
"items": {
|
|
10807
|
+
"type": "array",
|
|
10808
|
+
"items": {
|
|
10809
|
+
"$ref": "#/components/schemas/AgentTask"
|
|
10810
|
+
}
|
|
10811
|
+
}
|
|
10812
|
+
}
|
|
10813
|
+
}
|
|
10814
|
+
]
|
|
10815
|
+
}
|
|
10816
|
+
}
|
|
10817
|
+
}
|
|
10818
|
+
},
|
|
10819
|
+
"404": {
|
|
10820
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10821
|
+
}
|
|
10822
|
+
}
|
|
10823
|
+
}
|
|
10824
|
+
},
|
|
10825
|
+
"/orgs/{organizationId}/agent-tasks/{agentTaskId}": {
|
|
10826
|
+
"get": {
|
|
10827
|
+
"operationId": "getAgentTask",
|
|
10828
|
+
"summary": "Get an agent task by its identifier",
|
|
10829
|
+
"tags": [
|
|
10830
|
+
"agents"
|
|
10831
|
+
],
|
|
10565
10832
|
"parameters": [
|
|
10566
10833
|
{
|
|
10567
10834
|
"$ref": "#/components/parameters/organizationId"
|
|
10568
10835
|
},
|
|
10569
10836
|
{
|
|
10570
|
-
"$ref": "#/components/parameters/
|
|
10837
|
+
"$ref": "#/components/parameters/agentTaskId"
|
|
10838
|
+
}
|
|
10839
|
+
],
|
|
10840
|
+
"security": [
|
|
10841
|
+
{
|
|
10842
|
+
"user": []
|
|
10571
10843
|
}
|
|
10572
10844
|
],
|
|
10573
10845
|
"responses": {
|
|
@@ -10576,34 +10848,33 @@
|
|
|
10576
10848
|
"content": {
|
|
10577
10849
|
"application/json": {
|
|
10578
10850
|
"schema": {
|
|
10579
|
-
"$ref": "#/components/schemas/
|
|
10851
|
+
"$ref": "#/components/schemas/AgentTask"
|
|
10580
10852
|
}
|
|
10581
10853
|
}
|
|
10582
10854
|
}
|
|
10583
10855
|
},
|
|
10584
10856
|
"404": {
|
|
10585
|
-
"description": "No matching translation settings found",
|
|
10586
10857
|
"$ref": "#/components/responses/NotFoundError"
|
|
10587
10858
|
}
|
|
10588
10859
|
}
|
|
10589
10860
|
},
|
|
10590
|
-
"
|
|
10591
|
-
"operationId": "
|
|
10592
|
-
"summary": "Update
|
|
10861
|
+
"patch": {
|
|
10862
|
+
"operationId": "updateAgentTask",
|
|
10863
|
+
"summary": "Update an agent task by its identifier",
|
|
10593
10864
|
"tags": [
|
|
10594
|
-
"
|
|
10595
|
-
],
|
|
10596
|
-
"security": [
|
|
10597
|
-
{
|
|
10598
|
-
"user": []
|
|
10599
|
-
}
|
|
10865
|
+
"agents"
|
|
10600
10866
|
],
|
|
10601
10867
|
"parameters": [
|
|
10602
10868
|
{
|
|
10603
10869
|
"$ref": "#/components/parameters/organizationId"
|
|
10604
10870
|
},
|
|
10605
10871
|
{
|
|
10606
|
-
"$ref": "#/components/parameters/
|
|
10872
|
+
"$ref": "#/components/parameters/agentTaskId"
|
|
10873
|
+
}
|
|
10874
|
+
],
|
|
10875
|
+
"security": [
|
|
10876
|
+
{
|
|
10877
|
+
"user": []
|
|
10607
10878
|
}
|
|
10608
10879
|
],
|
|
10609
10880
|
"requestBody": {
|
|
@@ -10613,13 +10884,17 @@
|
|
|
10613
10884
|
"schema": {
|
|
10614
10885
|
"type": "object",
|
|
10615
10886
|
"properties": {
|
|
10616
|
-
"
|
|
10887
|
+
"status": {
|
|
10617
10888
|
"type": "string",
|
|
10618
|
-
"
|
|
10889
|
+
"enum": [
|
|
10890
|
+
"backlog",
|
|
10891
|
+
"started",
|
|
10892
|
+
"canceled"
|
|
10893
|
+
]
|
|
10619
10894
|
}
|
|
10620
10895
|
},
|
|
10621
10896
|
"required": [
|
|
10622
|
-
"
|
|
10897
|
+
"status"
|
|
10623
10898
|
]
|
|
10624
10899
|
}
|
|
10625
10900
|
}
|
|
@@ -10627,52 +10902,24 @@
|
|
|
10627
10902
|
},
|
|
10628
10903
|
"responses": {
|
|
10629
10904
|
"200": {
|
|
10630
|
-
"description": "
|
|
10905
|
+
"description": "OK",
|
|
10631
10906
|
"content": {
|
|
10632
10907
|
"application/json": {
|
|
10633
10908
|
"schema": {
|
|
10634
|
-
"$ref": "#/components/schemas/
|
|
10909
|
+
"$ref": "#/components/schemas/AgentTask"
|
|
10635
10910
|
}
|
|
10636
10911
|
}
|
|
10637
10912
|
}
|
|
10638
|
-
},
|
|
10639
|
-
"400": {
|
|
10640
|
-
"$ref": "#/components/responses/BadRequestError"
|
|
10641
|
-
}
|
|
10642
|
-
}
|
|
10643
|
-
},
|
|
10644
|
-
"delete": {
|
|
10645
|
-
"operationId": "deleteTranslationSettings",
|
|
10646
|
-
"summary": "Delete a translation settings",
|
|
10647
|
-
"tags": [
|
|
10648
|
-
"translations"
|
|
10649
|
-
],
|
|
10650
|
-
"security": [
|
|
10651
|
-
{
|
|
10652
|
-
"user": []
|
|
10653
|
-
}
|
|
10654
|
-
],
|
|
10655
|
-
"parameters": [
|
|
10656
|
-
{
|
|
10657
|
-
"$ref": "#/components/parameters/organizationId"
|
|
10658
|
-
},
|
|
10659
|
-
{
|
|
10660
|
-
"$ref": "#/components/parameters/translationSettingsId"
|
|
10661
|
-
}
|
|
10662
|
-
],
|
|
10663
|
-
"responses": {
|
|
10664
|
-
"205": {
|
|
10665
|
-
"description": "Translation settings has been deleted"
|
|
10666
10913
|
}
|
|
10667
10914
|
}
|
|
10668
10915
|
}
|
|
10669
10916
|
},
|
|
10670
|
-
"/orgs/{organizationId}/translations
|
|
10917
|
+
"/orgs/{organizationId}/translations": {
|
|
10671
10918
|
"get": {
|
|
10672
|
-
"operationId": "
|
|
10673
|
-
"summary": "List all translation settings
|
|
10919
|
+
"operationId": "listTranslationSettings",
|
|
10920
|
+
"summary": "List all the translation settings",
|
|
10674
10921
|
"tags": [
|
|
10675
|
-
"
|
|
10922
|
+
"translations"
|
|
10676
10923
|
],
|
|
10677
10924
|
"security": [
|
|
10678
10925
|
{
|
|
@@ -10683,9 +10930,232 @@
|
|
|
10683
10930
|
{
|
|
10684
10931
|
"$ref": "#/components/parameters/organizationId"
|
|
10685
10932
|
},
|
|
10686
|
-
{
|
|
10687
|
-
"$ref": "#/components/parameters/
|
|
10688
|
-
},
|
|
10933
|
+
{
|
|
10934
|
+
"$ref": "#/components/parameters/listPage"
|
|
10935
|
+
},
|
|
10936
|
+
{
|
|
10937
|
+
"$ref": "#/components/parameters/listLimit"
|
|
10938
|
+
}
|
|
10939
|
+
],
|
|
10940
|
+
"responses": {
|
|
10941
|
+
"200": {
|
|
10942
|
+
"description": "OK",
|
|
10943
|
+
"content": {
|
|
10944
|
+
"application/json": {
|
|
10945
|
+
"schema": {
|
|
10946
|
+
"allOf": [
|
|
10947
|
+
{
|
|
10948
|
+
"$ref": "#/components/schemas/List"
|
|
10949
|
+
},
|
|
10950
|
+
{
|
|
10951
|
+
"type": "object",
|
|
10952
|
+
"required": [
|
|
10953
|
+
"items"
|
|
10954
|
+
],
|
|
10955
|
+
"properties": {
|
|
10956
|
+
"items": {
|
|
10957
|
+
"type": "array",
|
|
10958
|
+
"items": {
|
|
10959
|
+
"$ref": "#/components/schemas/TranslationSettings"
|
|
10960
|
+
}
|
|
10961
|
+
}
|
|
10962
|
+
}
|
|
10963
|
+
}
|
|
10964
|
+
]
|
|
10965
|
+
}
|
|
10966
|
+
}
|
|
10967
|
+
}
|
|
10968
|
+
}
|
|
10969
|
+
}
|
|
10970
|
+
},
|
|
10971
|
+
"post": {
|
|
10972
|
+
"operationId": "createTranslationSettings",
|
|
10973
|
+
"summary": "Create a translation settings",
|
|
10974
|
+
"tags": [
|
|
10975
|
+
"translations"
|
|
10976
|
+
],
|
|
10977
|
+
"security": [
|
|
10978
|
+
{
|
|
10979
|
+
"user": []
|
|
10980
|
+
}
|
|
10981
|
+
],
|
|
10982
|
+
"parameters": [
|
|
10983
|
+
{
|
|
10984
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10985
|
+
}
|
|
10986
|
+
],
|
|
10987
|
+
"requestBody": {
|
|
10988
|
+
"required": true,
|
|
10989
|
+
"content": {
|
|
10990
|
+
"application/json": {
|
|
10991
|
+
"schema": {
|
|
10992
|
+
"type": "object",
|
|
10993
|
+
"properties": {
|
|
10994
|
+
"title": {
|
|
10995
|
+
"type": "string",
|
|
10996
|
+
"description": "The title of the translation settings"
|
|
10997
|
+
}
|
|
10998
|
+
},
|
|
10999
|
+
"required": [
|
|
11000
|
+
"title"
|
|
11001
|
+
]
|
|
11002
|
+
}
|
|
11003
|
+
}
|
|
11004
|
+
}
|
|
11005
|
+
},
|
|
11006
|
+
"responses": {
|
|
11007
|
+
"201": {
|
|
11008
|
+
"description": "Translation settings has been created",
|
|
11009
|
+
"content": {
|
|
11010
|
+
"application/json": {
|
|
11011
|
+
"schema": {
|
|
11012
|
+
"$ref": "#/components/schemas/TranslationSettings"
|
|
11013
|
+
}
|
|
11014
|
+
}
|
|
11015
|
+
}
|
|
11016
|
+
},
|
|
11017
|
+
"400": {
|
|
11018
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
11019
|
+
}
|
|
11020
|
+
}
|
|
11021
|
+
}
|
|
11022
|
+
},
|
|
11023
|
+
"/orgs/{organizationId}/translations/{translationSettingsId}": {
|
|
11024
|
+
"get": {
|
|
11025
|
+
"operationId": "getTranslationSettings",
|
|
11026
|
+
"summary": "Get a translation settings by its ID",
|
|
11027
|
+
"tags": [
|
|
11028
|
+
"translations"
|
|
11029
|
+
],
|
|
11030
|
+
"security": [
|
|
11031
|
+
{
|
|
11032
|
+
"user": []
|
|
11033
|
+
}
|
|
11034
|
+
],
|
|
11035
|
+
"parameters": [
|
|
11036
|
+
{
|
|
11037
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11038
|
+
},
|
|
11039
|
+
{
|
|
11040
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
11041
|
+
}
|
|
11042
|
+
],
|
|
11043
|
+
"responses": {
|
|
11044
|
+
"200": {
|
|
11045
|
+
"description": "OK",
|
|
11046
|
+
"content": {
|
|
11047
|
+
"application/json": {
|
|
11048
|
+
"schema": {
|
|
11049
|
+
"$ref": "#/components/schemas/TranslationSettings"
|
|
11050
|
+
}
|
|
11051
|
+
}
|
|
11052
|
+
}
|
|
11053
|
+
},
|
|
11054
|
+
"404": {
|
|
11055
|
+
"description": "No matching translation settings found",
|
|
11056
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11057
|
+
}
|
|
11058
|
+
}
|
|
11059
|
+
},
|
|
11060
|
+
"put": {
|
|
11061
|
+
"operationId": "updateTranslationSettings",
|
|
11062
|
+
"summary": "Update a translation settings",
|
|
11063
|
+
"tags": [
|
|
11064
|
+
"translations"
|
|
11065
|
+
],
|
|
11066
|
+
"security": [
|
|
11067
|
+
{
|
|
11068
|
+
"user": []
|
|
11069
|
+
}
|
|
11070
|
+
],
|
|
11071
|
+
"parameters": [
|
|
11072
|
+
{
|
|
11073
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11074
|
+
},
|
|
11075
|
+
{
|
|
11076
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
11077
|
+
}
|
|
11078
|
+
],
|
|
11079
|
+
"requestBody": {
|
|
11080
|
+
"required": true,
|
|
11081
|
+
"content": {
|
|
11082
|
+
"application/json": {
|
|
11083
|
+
"schema": {
|
|
11084
|
+
"type": "object",
|
|
11085
|
+
"properties": {
|
|
11086
|
+
"title": {
|
|
11087
|
+
"type": "string",
|
|
11088
|
+
"description": "The title of the translation settings"
|
|
11089
|
+
}
|
|
11090
|
+
},
|
|
11091
|
+
"required": [
|
|
11092
|
+
"title"
|
|
11093
|
+
]
|
|
11094
|
+
}
|
|
11095
|
+
}
|
|
11096
|
+
}
|
|
11097
|
+
},
|
|
11098
|
+
"responses": {
|
|
11099
|
+
"200": {
|
|
11100
|
+
"description": "Translation settings has been updated",
|
|
11101
|
+
"content": {
|
|
11102
|
+
"application/json": {
|
|
11103
|
+
"schema": {
|
|
11104
|
+
"$ref": "#/components/schemas/TranslationSettings"
|
|
11105
|
+
}
|
|
11106
|
+
}
|
|
11107
|
+
}
|
|
11108
|
+
},
|
|
11109
|
+
"400": {
|
|
11110
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
11111
|
+
}
|
|
11112
|
+
}
|
|
11113
|
+
},
|
|
11114
|
+
"delete": {
|
|
11115
|
+
"operationId": "deleteTranslationSettings",
|
|
11116
|
+
"summary": "Delete a translation settings",
|
|
11117
|
+
"tags": [
|
|
11118
|
+
"translations"
|
|
11119
|
+
],
|
|
11120
|
+
"security": [
|
|
11121
|
+
{
|
|
11122
|
+
"user": []
|
|
11123
|
+
}
|
|
11124
|
+
],
|
|
11125
|
+
"parameters": [
|
|
11126
|
+
{
|
|
11127
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11128
|
+
},
|
|
11129
|
+
{
|
|
11130
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
11131
|
+
}
|
|
11132
|
+
],
|
|
11133
|
+
"responses": {
|
|
11134
|
+
"205": {
|
|
11135
|
+
"description": "Translation settings has been deleted"
|
|
11136
|
+
}
|
|
11137
|
+
}
|
|
11138
|
+
}
|
|
11139
|
+
},
|
|
11140
|
+
"/orgs/{organizationId}/translations/{translationSettingsId}/languages": {
|
|
11141
|
+
"get": {
|
|
11142
|
+
"operationId": "listTranslationLanguages",
|
|
11143
|
+
"summary": "List all translation settings language",
|
|
11144
|
+
"tags": [
|
|
11145
|
+
"translation-languages"
|
|
11146
|
+
],
|
|
11147
|
+
"security": [
|
|
11148
|
+
{
|
|
11149
|
+
"user": []
|
|
11150
|
+
}
|
|
11151
|
+
],
|
|
11152
|
+
"parameters": [
|
|
11153
|
+
{
|
|
11154
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11155
|
+
},
|
|
11156
|
+
{
|
|
11157
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
11158
|
+
},
|
|
10689
11159
|
{
|
|
10690
11160
|
"$ref": "#/components/parameters/listPage"
|
|
10691
11161
|
},
|
|
@@ -15773,6 +16243,14 @@
|
|
|
15773
16243
|
"type": "string"
|
|
15774
16244
|
}
|
|
15775
16245
|
},
|
|
16246
|
+
"integrationSearchScope": {
|
|
16247
|
+
"name": "scope",
|
|
16248
|
+
"in": "query",
|
|
16249
|
+
"description": "Filter the integrations by scope",
|
|
16250
|
+
"schema": {
|
|
16251
|
+
"$ref": "#/components/schemas/IntegrationScope"
|
|
16252
|
+
}
|
|
16253
|
+
},
|
|
15776
16254
|
"integrationName": {
|
|
15777
16255
|
"name": "integrationName",
|
|
15778
16256
|
"in": "path",
|
|
@@ -15872,6 +16350,24 @@
|
|
|
15872
16350
|
"type": "string"
|
|
15873
16351
|
}
|
|
15874
16352
|
},
|
|
16353
|
+
"clusterId": {
|
|
16354
|
+
"name": "clusterId",
|
|
16355
|
+
"in": "path",
|
|
16356
|
+
"required": true,
|
|
16357
|
+
"description": "The unique id of the cluster",
|
|
16358
|
+
"schema": {
|
|
16359
|
+
"type": "string"
|
|
16360
|
+
}
|
|
16361
|
+
},
|
|
16362
|
+
"agentTaskId": {
|
|
16363
|
+
"name": "agentTaskId",
|
|
16364
|
+
"in": "path",
|
|
16365
|
+
"required": true,
|
|
16366
|
+
"description": "The unique id of the agent task",
|
|
16367
|
+
"schema": {
|
|
16368
|
+
"type": "string"
|
|
16369
|
+
}
|
|
16370
|
+
},
|
|
15875
16371
|
"translationSettingsId": {
|
|
15876
16372
|
"name": "translationSettingsId",
|
|
15877
16373
|
"in": "path",
|
|
@@ -20425,6 +20921,9 @@
|
|
|
20425
20921
|
"oneOf": [
|
|
20426
20922
|
{
|
|
20427
20923
|
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
20924
|
+
},
|
|
20925
|
+
{
|
|
20926
|
+
"$ref": "#/components/schemas/DocumentBlockImages"
|
|
20428
20927
|
}
|
|
20429
20928
|
]
|
|
20430
20929
|
}
|
|
@@ -20434,12 +20933,18 @@
|
|
|
20434
20933
|
"enum": [
|
|
20435
20934
|
false
|
|
20436
20935
|
]
|
|
20936
|
+
},
|
|
20937
|
+
"data": {
|
|
20938
|
+
"type": "object",
|
|
20939
|
+
"properties": {},
|
|
20940
|
+
"additionalProperties": false
|
|
20437
20941
|
}
|
|
20438
20942
|
},
|
|
20439
20943
|
"required": [
|
|
20440
20944
|
"object",
|
|
20441
20945
|
"type",
|
|
20442
|
-
"nodes"
|
|
20946
|
+
"nodes",
|
|
20947
|
+
"data"
|
|
20443
20948
|
]
|
|
20444
20949
|
},
|
|
20445
20950
|
"DocumentBlockColumns": {
|
|
@@ -22492,6 +22997,10 @@
|
|
|
22492
22997
|
"type": "boolean",
|
|
22493
22998
|
"description": "Can the user create new OpenAPI specifications."
|
|
22494
22999
|
},
|
|
23000
|
+
"ingestConversations": {
|
|
23001
|
+
"type": "boolean",
|
|
23002
|
+
"description": "Can the user ingest conversations in the organization."
|
|
23003
|
+
},
|
|
22495
23004
|
"viewBilling": {
|
|
22496
23005
|
"type": "boolean",
|
|
22497
23006
|
"description": "Can the user view the billing details of the organization."
|
|
@@ -22515,6 +23024,7 @@
|
|
|
22515
23024
|
"ownTeam",
|
|
22516
23025
|
"createContent",
|
|
22517
23026
|
"createOpenAPISpec",
|
|
23027
|
+
"ingestConversations",
|
|
22518
23028
|
"viewBilling",
|
|
22519
23029
|
"listMembers",
|
|
22520
23030
|
"listTeams",
|
|
@@ -23150,15 +23660,6 @@
|
|
|
23150
23660
|
"locationReferences"
|
|
23151
23661
|
]
|
|
23152
23662
|
},
|
|
23153
|
-
"CreateChangeRequest": {
|
|
23154
|
-
"type": "object",
|
|
23155
|
-
"properties": {
|
|
23156
|
-
"subject": {
|
|
23157
|
-
"type": "string",
|
|
23158
|
-
"description": "Subject of the change-request"
|
|
23159
|
-
}
|
|
23160
|
-
}
|
|
23161
|
-
},
|
|
23162
23663
|
"ChangeRequestReviewStatus": {
|
|
23163
23664
|
"type": "string",
|
|
23164
23665
|
"description": "Status of a change request review.",
|
|
@@ -24475,7 +24976,8 @@
|
|
|
24475
24976
|
"site:adaptive:read",
|
|
24476
24977
|
"site:adaptive:write",
|
|
24477
24978
|
"openapi:read",
|
|
24478
|
-
"openapi:write"
|
|
24979
|
+
"openapi:write",
|
|
24980
|
+
"conversations:ingest"
|
|
24479
24981
|
]
|
|
24480
24982
|
},
|
|
24481
24983
|
"IntegrationScopes": {
|
|
@@ -30143,6 +30645,507 @@
|
|
|
30143
30645
|
"url"
|
|
30144
30646
|
]
|
|
30145
30647
|
},
|
|
30648
|
+
"ConversationsIssuesCluster": {
|
|
30649
|
+
"type": "object",
|
|
30650
|
+
"properties": {
|
|
30651
|
+
"object": {
|
|
30652
|
+
"type": "string",
|
|
30653
|
+
"enum": [
|
|
30654
|
+
"issues-cluster"
|
|
30655
|
+
]
|
|
30656
|
+
},
|
|
30657
|
+
"id": {
|
|
30658
|
+
"type": "string",
|
|
30659
|
+
"description": "The ID of the conversations issues cluster"
|
|
30660
|
+
},
|
|
30661
|
+
"label": {
|
|
30662
|
+
"type": "string",
|
|
30663
|
+
"description": "The label of the conversations issues cluster"
|
|
30664
|
+
},
|
|
30665
|
+
"createdAt": {
|
|
30666
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
30667
|
+
},
|
|
30668
|
+
"updatedAt": {
|
|
30669
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
30670
|
+
},
|
|
30671
|
+
"icon": {
|
|
30672
|
+
"$ref": "#/components/schemas/Icon"
|
|
30673
|
+
},
|
|
30674
|
+
"summary": {
|
|
30675
|
+
"type": "string",
|
|
30676
|
+
"description": "The summary of the conversations issues cluster"
|
|
30677
|
+
},
|
|
30678
|
+
"weeklyPulse": {
|
|
30679
|
+
"type": "array",
|
|
30680
|
+
"minItems": 13,
|
|
30681
|
+
"maxItems": 13,
|
|
30682
|
+
"description": "The weekly pulse of the conversations issues cluster for the past 3 months",
|
|
30683
|
+
"items": {
|
|
30684
|
+
"type": "number"
|
|
30685
|
+
}
|
|
30686
|
+
},
|
|
30687
|
+
"sources": {
|
|
30688
|
+
"type": "object",
|
|
30689
|
+
"additionalProperties": {
|
|
30690
|
+
"type": "number",
|
|
30691
|
+
"description": "The number of issues in the conversations issues cluster for the source"
|
|
30692
|
+
}
|
|
30693
|
+
},
|
|
30694
|
+
"stats": {
|
|
30695
|
+
"type": "object",
|
|
30696
|
+
"description": "The stats of the conversations issues cluster",
|
|
30697
|
+
"properties": {
|
|
30698
|
+
"issues": {
|
|
30699
|
+
"type": "number",
|
|
30700
|
+
"description": "The number of issues in the conversations issues cluster"
|
|
30701
|
+
},
|
|
30702
|
+
"conversations": {
|
|
30703
|
+
"type": "number",
|
|
30704
|
+
"description": "The number of conversations in the conversations issues cluster"
|
|
30705
|
+
},
|
|
30706
|
+
"tasksTotal": {
|
|
30707
|
+
"type": "number",
|
|
30708
|
+
"description": "The number of tasks in the conversations issues cluster"
|
|
30709
|
+
},
|
|
30710
|
+
"tasksBacklog": {
|
|
30711
|
+
"type": "number",
|
|
30712
|
+
"description": "The number of tasks in the backlog in the conversations issues cluster"
|
|
30713
|
+
},
|
|
30714
|
+
"tasksStarted": {
|
|
30715
|
+
"type": "number",
|
|
30716
|
+
"description": "The number of tasks done in the conversations issues cluster"
|
|
30717
|
+
},
|
|
30718
|
+
"tasksCompleted": {
|
|
30719
|
+
"type": "number",
|
|
30720
|
+
"description": "The number of tasks completed in the conversations issues cluster"
|
|
30721
|
+
},
|
|
30722
|
+
"tasksCancelled": {
|
|
30723
|
+
"type": "number",
|
|
30724
|
+
"description": "The number of tasks canceled in the conversations issues cluster"
|
|
30725
|
+
}
|
|
30726
|
+
},
|
|
30727
|
+
"required": [
|
|
30728
|
+
"issues",
|
|
30729
|
+
"conversations",
|
|
30730
|
+
"tasksTotal",
|
|
30731
|
+
"tasksBacklog",
|
|
30732
|
+
"tasksStarted",
|
|
30733
|
+
"tasksCompleted",
|
|
30734
|
+
"tasksCancelled"
|
|
30735
|
+
]
|
|
30736
|
+
},
|
|
30737
|
+
"urls": {
|
|
30738
|
+
"type": "object",
|
|
30739
|
+
"description": "URLs associated with the conversations issues cluster",
|
|
30740
|
+
"properties": {
|
|
30741
|
+
"location": {
|
|
30742
|
+
"type": "string",
|
|
30743
|
+
"description": "URL of the conversations issues cluster in the API",
|
|
30744
|
+
"format": "uri"
|
|
30745
|
+
},
|
|
30746
|
+
"app": {
|
|
30747
|
+
"type": "string",
|
|
30748
|
+
"description": "URL of the conversations issues cluster in the application",
|
|
30749
|
+
"format": "uri"
|
|
30750
|
+
}
|
|
30751
|
+
},
|
|
30752
|
+
"required": [
|
|
30753
|
+
"app",
|
|
30754
|
+
"location"
|
|
30755
|
+
]
|
|
30756
|
+
}
|
|
30757
|
+
},
|
|
30758
|
+
"required": [
|
|
30759
|
+
"object",
|
|
30760
|
+
"id",
|
|
30761
|
+
"label",
|
|
30762
|
+
"summary",
|
|
30763
|
+
"icon",
|
|
30764
|
+
"sources",
|
|
30765
|
+
"stats",
|
|
30766
|
+
"weeklyPulse",
|
|
30767
|
+
"createdAt",
|
|
30768
|
+
"updatedAt",
|
|
30769
|
+
"urls"
|
|
30770
|
+
]
|
|
30771
|
+
},
|
|
30772
|
+
"ConversationIssue": {
|
|
30773
|
+
"type": "object",
|
|
30774
|
+
"properties": {
|
|
30775
|
+
"object": {
|
|
30776
|
+
"type": "string",
|
|
30777
|
+
"enum": [
|
|
30778
|
+
"conversation-issue"
|
|
30779
|
+
]
|
|
30780
|
+
},
|
|
30781
|
+
"id": {
|
|
30782
|
+
"type": "string",
|
|
30783
|
+
"description": "The ID of the conversation issue"
|
|
30784
|
+
},
|
|
30785
|
+
"title": {
|
|
30786
|
+
"type": "string",
|
|
30787
|
+
"description": "The title of the conversation issue"
|
|
30788
|
+
},
|
|
30789
|
+
"summary": {
|
|
30790
|
+
"type": "string",
|
|
30791
|
+
"description": "The summary of the conversation issue"
|
|
30792
|
+
},
|
|
30793
|
+
"createdAt": {
|
|
30794
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
30795
|
+
},
|
|
30796
|
+
"ingestedAt": {
|
|
30797
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
30798
|
+
},
|
|
30799
|
+
"conversation": {
|
|
30800
|
+
"type": "string",
|
|
30801
|
+
"description": "The ID of the conversation the issue belongs to"
|
|
30802
|
+
},
|
|
30803
|
+
"cluster": {
|
|
30804
|
+
"type": "string",
|
|
30805
|
+
"description": "The ID of the cluster the issue has been linked to"
|
|
30806
|
+
},
|
|
30807
|
+
"urls": {
|
|
30808
|
+
"type": "object",
|
|
30809
|
+
"description": "URLs associated with the conversation issue",
|
|
30810
|
+
"properties": {
|
|
30811
|
+
"location": {
|
|
30812
|
+
"type": "string",
|
|
30813
|
+
"description": "URL of the conversation issue in the API",
|
|
30814
|
+
"format": "uri"
|
|
30815
|
+
}
|
|
30816
|
+
},
|
|
30817
|
+
"required": [
|
|
30818
|
+
"location"
|
|
30819
|
+
]
|
|
30820
|
+
}
|
|
30821
|
+
},
|
|
30822
|
+
"required": [
|
|
30823
|
+
"object",
|
|
30824
|
+
"id",
|
|
30825
|
+
"title",
|
|
30826
|
+
"summary",
|
|
30827
|
+
"createdAt",
|
|
30828
|
+
"ingestedAt",
|
|
30829
|
+
"conversation",
|
|
30830
|
+
"urls"
|
|
30831
|
+
]
|
|
30832
|
+
},
|
|
30833
|
+
"ConversationSource": {
|
|
30834
|
+
"oneOf": [
|
|
30835
|
+
{
|
|
30836
|
+
"type": "string",
|
|
30837
|
+
"description": "Integration source",
|
|
30838
|
+
"pattern": "^integration:[^:]+:[^:]+$",
|
|
30839
|
+
"x-typescript": "`integration:${string}:${string}`"
|
|
30840
|
+
},
|
|
30841
|
+
{
|
|
30842
|
+
"type": "string",
|
|
30843
|
+
"description": "Email source",
|
|
30844
|
+
"enum": [
|
|
30845
|
+
"email"
|
|
30846
|
+
]
|
|
30847
|
+
}
|
|
30848
|
+
]
|
|
30849
|
+
},
|
|
30850
|
+
"Conversation": {
|
|
30851
|
+
"type": "object",
|
|
30852
|
+
"properties": {
|
|
30853
|
+
"object": {
|
|
30854
|
+
"type": "string",
|
|
30855
|
+
"enum": [
|
|
30856
|
+
"conversation"
|
|
30857
|
+
]
|
|
30858
|
+
},
|
|
30859
|
+
"id": {
|
|
30860
|
+
"type": "string",
|
|
30861
|
+
"description": "The ID of the conversation"
|
|
30862
|
+
},
|
|
30863
|
+
"subject": {
|
|
30864
|
+
"type": "string",
|
|
30865
|
+
"description": "The subject of the conversation"
|
|
30866
|
+
},
|
|
30867
|
+
"createdAt": {
|
|
30868
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
30869
|
+
},
|
|
30870
|
+
"processedAt": {
|
|
30871
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
30872
|
+
},
|
|
30873
|
+
"source": {
|
|
30874
|
+
"$ref": "#/components/schemas/ConversationSource"
|
|
30875
|
+
},
|
|
30876
|
+
"urls": {
|
|
30877
|
+
"type": "object",
|
|
30878
|
+
"description": "URLs associated with the conversation",
|
|
30879
|
+
"properties": {
|
|
30880
|
+
"location": {
|
|
30881
|
+
"type": "string",
|
|
30882
|
+
"description": "URL of the conversation in the API",
|
|
30883
|
+
"format": "uri"
|
|
30884
|
+
},
|
|
30885
|
+
"source": {
|
|
30886
|
+
"type": "string",
|
|
30887
|
+
"description": "URL of the conversation in the source",
|
|
30888
|
+
"format": "uri"
|
|
30889
|
+
}
|
|
30890
|
+
},
|
|
30891
|
+
"required": [
|
|
30892
|
+
"location"
|
|
30893
|
+
]
|
|
30894
|
+
}
|
|
30895
|
+
},
|
|
30896
|
+
"required": [
|
|
30897
|
+
"object",
|
|
30898
|
+
"id",
|
|
30899
|
+
"createdAt",
|
|
30900
|
+
"source",
|
|
30901
|
+
"urls"
|
|
30902
|
+
]
|
|
30903
|
+
},
|
|
30904
|
+
"ConversationMetadata": {
|
|
30905
|
+
"type": "object",
|
|
30906
|
+
"properties": {
|
|
30907
|
+
"url": {
|
|
30908
|
+
"type": "string",
|
|
30909
|
+
"description": "URL to the conversation"
|
|
30910
|
+
},
|
|
30911
|
+
"attributes": {
|
|
30912
|
+
"type": "object",
|
|
30913
|
+
"additionalProperties": {
|
|
30914
|
+
"type": "string"
|
|
30915
|
+
}
|
|
30916
|
+
},
|
|
30917
|
+
"createdAt": {
|
|
30918
|
+
"description": "Date of the conversation creation",
|
|
30919
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
30920
|
+
}
|
|
30921
|
+
}
|
|
30922
|
+
},
|
|
30923
|
+
"ConversationPartMessage": {
|
|
30924
|
+
"type": "object",
|
|
30925
|
+
"description": "A message posted in the conversation by a user or a team member.",
|
|
30926
|
+
"properties": {
|
|
30927
|
+
"type": {
|
|
30928
|
+
"type": "string",
|
|
30929
|
+
"enum": [
|
|
30930
|
+
"message"
|
|
30931
|
+
]
|
|
30932
|
+
},
|
|
30933
|
+
"role": {
|
|
30934
|
+
"type": "string",
|
|
30935
|
+
"enum": [
|
|
30936
|
+
"user",
|
|
30937
|
+
"assistant",
|
|
30938
|
+
"team-member"
|
|
30939
|
+
]
|
|
30940
|
+
},
|
|
30941
|
+
"body": {
|
|
30942
|
+
"type": "string",
|
|
30943
|
+
"description": "Markdown or HTML body of the message."
|
|
30944
|
+
}
|
|
30945
|
+
},
|
|
30946
|
+
"required": [
|
|
30947
|
+
"type",
|
|
30948
|
+
"role",
|
|
30949
|
+
"body"
|
|
30950
|
+
]
|
|
30951
|
+
},
|
|
30952
|
+
"ConversationPart": {
|
|
30953
|
+
"oneOf": [
|
|
30954
|
+
{
|
|
30955
|
+
"$ref": "#/components/schemas/ConversationPartMessage"
|
|
30956
|
+
}
|
|
30957
|
+
]
|
|
30958
|
+
},
|
|
30959
|
+
"ConversationInput": {
|
|
30960
|
+
"type": "object",
|
|
30961
|
+
"properties": {
|
|
30962
|
+
"id": {
|
|
30963
|
+
"type": "string",
|
|
30964
|
+
"minLength": 1,
|
|
30965
|
+
"maxLength": 255,
|
|
30966
|
+
"description": "The unique identifier for the conversation, relative to the source in which it was created."
|
|
30967
|
+
},
|
|
30968
|
+
"metadata": {
|
|
30969
|
+
"$ref": "#/components/schemas/ConversationMetadata"
|
|
30970
|
+
},
|
|
30971
|
+
"subject": {
|
|
30972
|
+
"type": "string",
|
|
30973
|
+
"maxLength": 512,
|
|
30974
|
+
"description": "The subject of the conversation."
|
|
30975
|
+
},
|
|
30976
|
+
"parts": {
|
|
30977
|
+
"type": "array",
|
|
30978
|
+
"items": {
|
|
30979
|
+
"$ref": "#/components/schemas/ConversationPart"
|
|
30980
|
+
}
|
|
30981
|
+
}
|
|
30982
|
+
},
|
|
30983
|
+
"required": [
|
|
30984
|
+
"id",
|
|
30985
|
+
"parts"
|
|
30986
|
+
]
|
|
30987
|
+
},
|
|
30988
|
+
"AgentsSetupState": {
|
|
30989
|
+
"type": "object",
|
|
30990
|
+
"description": "State and settings of the agent",
|
|
30991
|
+
"properties": {
|
|
30992
|
+
"email": {
|
|
30993
|
+
"type": "string",
|
|
30994
|
+
"description": "The email address of the agent. Emails can be forwarded to it to ingest conversations."
|
|
30995
|
+
},
|
|
30996
|
+
"stats": {
|
|
30997
|
+
"type": "object",
|
|
30998
|
+
"description": "The stats of the agent.",
|
|
30999
|
+
"properties": {
|
|
31000
|
+
"backlogTasks": {
|
|
31001
|
+
"type": "number",
|
|
31002
|
+
"description": "The number of tasks in the backlog."
|
|
31003
|
+
},
|
|
31004
|
+
"startedTasks": {
|
|
31005
|
+
"type": "number",
|
|
31006
|
+
"description": "The number of tasks in progress."
|
|
31007
|
+
},
|
|
31008
|
+
"completedTasks": {
|
|
31009
|
+
"type": "number",
|
|
31010
|
+
"description": "The number of tasks that have been completed."
|
|
31011
|
+
},
|
|
31012
|
+
"canceledTasks": {
|
|
31013
|
+
"type": "number",
|
|
31014
|
+
"description": "The number of tasks that have been canceled."
|
|
31015
|
+
},
|
|
31016
|
+
"conversations": {
|
|
31017
|
+
"type": "number",
|
|
31018
|
+
"description": "The number of conversations the agent has indexed."
|
|
31019
|
+
},
|
|
31020
|
+
"issues": {
|
|
31021
|
+
"type": "number",
|
|
31022
|
+
"description": "The number of issues the agent has indexed."
|
|
31023
|
+
},
|
|
31024
|
+
"issuesClusters": {
|
|
31025
|
+
"type": "number",
|
|
31026
|
+
"description": "The number of issues clusters the agent has indexed."
|
|
31027
|
+
},
|
|
31028
|
+
"sources": {
|
|
31029
|
+
"type": "object",
|
|
31030
|
+
"additionalProperties": {
|
|
31031
|
+
"type": "number",
|
|
31032
|
+
"description": "The number of conversations ingested for the source"
|
|
31033
|
+
}
|
|
31034
|
+
}
|
|
31035
|
+
},
|
|
31036
|
+
"required": [
|
|
31037
|
+
"backlogTasks",
|
|
31038
|
+
"startedTasks",
|
|
31039
|
+
"completedTasks",
|
|
31040
|
+
"canceledTasks",
|
|
31041
|
+
"conversations",
|
|
31042
|
+
"issues",
|
|
31043
|
+
"issuesClusters",
|
|
31044
|
+
"sources"
|
|
31045
|
+
]
|
|
31046
|
+
},
|
|
31047
|
+
"settings": {
|
|
31048
|
+
"type": "object",
|
|
31049
|
+
"description": "The settings for the agent.",
|
|
31050
|
+
"properties": {},
|
|
31051
|
+
"additionalProperties": false
|
|
31052
|
+
}
|
|
31053
|
+
},
|
|
31054
|
+
"required": [
|
|
31055
|
+
"email",
|
|
31056
|
+
"settings",
|
|
31057
|
+
"stats"
|
|
31058
|
+
]
|
|
31059
|
+
},
|
|
31060
|
+
"AgentTaskStatus": {
|
|
31061
|
+
"type": "string",
|
|
31062
|
+
"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",
|
|
31063
|
+
"enum": [
|
|
31064
|
+
"backlog",
|
|
31065
|
+
"started",
|
|
31066
|
+
"completed",
|
|
31067
|
+
"canceled"
|
|
31068
|
+
]
|
|
31069
|
+
},
|
|
31070
|
+
"AgentTask": {
|
|
31071
|
+
"type": "object",
|
|
31072
|
+
"properties": {
|
|
31073
|
+
"object": {
|
|
31074
|
+
"type": "string",
|
|
31075
|
+
"enum": [
|
|
31076
|
+
"agent-task"
|
|
31077
|
+
]
|
|
31078
|
+
},
|
|
31079
|
+
"id": {
|
|
31080
|
+
"type": "string",
|
|
31081
|
+
"description": "The ID of the agent task"
|
|
31082
|
+
},
|
|
31083
|
+
"title": {
|
|
31084
|
+
"type": "string",
|
|
31085
|
+
"description": "The title of the agent task"
|
|
31086
|
+
},
|
|
31087
|
+
"description": {
|
|
31088
|
+
"type": "string",
|
|
31089
|
+
"description": "The description of the agent task"
|
|
31090
|
+
},
|
|
31091
|
+
"instructions": {
|
|
31092
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
31093
|
+
},
|
|
31094
|
+
"status": {
|
|
31095
|
+
"$ref": "#/components/schemas/AgentTaskStatus"
|
|
31096
|
+
},
|
|
31097
|
+
"createdAt": {
|
|
31098
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
31099
|
+
},
|
|
31100
|
+
"updatedAt": {
|
|
31101
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
31102
|
+
},
|
|
31103
|
+
"cluster": {
|
|
31104
|
+
"type": "string",
|
|
31105
|
+
"description": "ID of the cluster the agent task is associated with."
|
|
31106
|
+
},
|
|
31107
|
+
"space": {
|
|
31108
|
+
"type": "string",
|
|
31109
|
+
"description": "ID of the space the agent task will act on."
|
|
31110
|
+
},
|
|
31111
|
+
"changeRequest": {
|
|
31112
|
+
"type": "string",
|
|
31113
|
+
"description": "ID of the change request the agent task is associated with."
|
|
31114
|
+
},
|
|
31115
|
+
"urls": {
|
|
31116
|
+
"type": "object",
|
|
31117
|
+
"description": "URLs associated with the agent task",
|
|
31118
|
+
"properties": {
|
|
31119
|
+
"location": {
|
|
31120
|
+
"type": "string",
|
|
31121
|
+
"description": "URL of the agent task in the API",
|
|
31122
|
+
"format": "uri"
|
|
31123
|
+
},
|
|
31124
|
+
"app": {
|
|
31125
|
+
"type": "string",
|
|
31126
|
+
"description": "URL of the agent task in the application",
|
|
31127
|
+
"format": "uri"
|
|
31128
|
+
}
|
|
31129
|
+
},
|
|
31130
|
+
"required": [
|
|
31131
|
+
"app",
|
|
31132
|
+
"location"
|
|
31133
|
+
]
|
|
31134
|
+
}
|
|
31135
|
+
},
|
|
31136
|
+
"required": [
|
|
31137
|
+
"object",
|
|
31138
|
+
"id",
|
|
31139
|
+
"title",
|
|
31140
|
+
"description",
|
|
31141
|
+
"instructions",
|
|
31142
|
+
"space",
|
|
31143
|
+
"status",
|
|
31144
|
+
"createdAt",
|
|
31145
|
+
"updatedAt",
|
|
31146
|
+
"urls"
|
|
31147
|
+
]
|
|
31148
|
+
},
|
|
30146
31149
|
"TranslationTitle": {
|
|
30147
31150
|
"type": "string",
|
|
30148
31151
|
"description": "Title of the translation settings",
|
|
@@ -37699,6 +38702,51 @@
|
|
|
37699
38702
|
"translation"
|
|
37700
38703
|
]
|
|
37701
38704
|
},
|
|
38705
|
+
"AgentTaskChannel": {
|
|
38706
|
+
"type": "object",
|
|
38707
|
+
"description": "Subscription channel for an agent task.",
|
|
38708
|
+
"properties": {
|
|
38709
|
+
"channel": {
|
|
38710
|
+
"type": "string",
|
|
38711
|
+
"enum": [
|
|
38712
|
+
"agent-task"
|
|
38713
|
+
]
|
|
38714
|
+
},
|
|
38715
|
+
"organization": {
|
|
38716
|
+
"type": "string",
|
|
38717
|
+
"description": "The ID of the organization."
|
|
38718
|
+
},
|
|
38719
|
+
"agentTask": {
|
|
38720
|
+
"type": "string",
|
|
38721
|
+
"description": "The ID of the agent task."
|
|
38722
|
+
}
|
|
38723
|
+
},
|
|
38724
|
+
"required": [
|
|
38725
|
+
"channel",
|
|
38726
|
+
"organization",
|
|
38727
|
+
"agentTask"
|
|
38728
|
+
]
|
|
38729
|
+
},
|
|
38730
|
+
"AgentTasksChannel": {
|
|
38731
|
+
"type": "object",
|
|
38732
|
+
"description": "Subscription channel for agent tasks.",
|
|
38733
|
+
"properties": {
|
|
38734
|
+
"channel": {
|
|
38735
|
+
"type": "string",
|
|
38736
|
+
"enum": [
|
|
38737
|
+
"agent-tasks"
|
|
38738
|
+
]
|
|
38739
|
+
},
|
|
38740
|
+
"organization": {
|
|
38741
|
+
"type": "string",
|
|
38742
|
+
"description": "The ID of the organization."
|
|
38743
|
+
}
|
|
38744
|
+
},
|
|
38745
|
+
"required": [
|
|
38746
|
+
"channel",
|
|
38747
|
+
"organization"
|
|
38748
|
+
]
|
|
38749
|
+
},
|
|
37702
38750
|
"SubscriptionChannel": {
|
|
37703
38751
|
"description": "Channel to subscribe to for realtime updates.",
|
|
37704
38752
|
"oneOf": [
|
|
@@ -37899,6 +38947,12 @@
|
|
|
37899
38947
|
},
|
|
37900
38948
|
{
|
|
37901
38949
|
"$ref": "#/components/schemas/TranslationSettingsChannel"
|
|
38950
|
+
},
|
|
38951
|
+
{
|
|
38952
|
+
"$ref": "#/components/schemas/AgentTaskChannel"
|
|
38953
|
+
},
|
|
38954
|
+
{
|
|
38955
|
+
"$ref": "#/components/schemas/AgentTasksChannel"
|
|
37902
38956
|
}
|
|
37903
38957
|
],
|
|
37904
38958
|
"discriminator": {
|
|
@@ -38526,101 +39580,6 @@
|
|
|
38526
39580
|
}
|
|
38527
39581
|
]
|
|
38528
39582
|
},
|
|
38529
|
-
"ConversationMetadata": {
|
|
38530
|
-
"type": "object",
|
|
38531
|
-
"properties": {
|
|
38532
|
-
"url": {
|
|
38533
|
-
"type": "string",
|
|
38534
|
-
"description": "URL to the conversation"
|
|
38535
|
-
},
|
|
38536
|
-
"attributes": {
|
|
38537
|
-
"type": "object",
|
|
38538
|
-
"additionalProperties": {
|
|
38539
|
-
"type": "string"
|
|
38540
|
-
}
|
|
38541
|
-
},
|
|
38542
|
-
"createdAt": {
|
|
38543
|
-
"description": "Date of the conversation creation",
|
|
38544
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
38545
|
-
}
|
|
38546
|
-
}
|
|
38547
|
-
},
|
|
38548
|
-
"ConversationPartMessage": {
|
|
38549
|
-
"type": "object",
|
|
38550
|
-
"description": "A message posted in the conversation by a user or a team member.",
|
|
38551
|
-
"properties": {
|
|
38552
|
-
"type": {
|
|
38553
|
-
"type": "string",
|
|
38554
|
-
"enum": [
|
|
38555
|
-
"message"
|
|
38556
|
-
]
|
|
38557
|
-
},
|
|
38558
|
-
"role": {
|
|
38559
|
-
"type": "string",
|
|
38560
|
-
"enum": [
|
|
38561
|
-
"user",
|
|
38562
|
-
"assistant",
|
|
38563
|
-
"team-member"
|
|
38564
|
-
]
|
|
38565
|
-
},
|
|
38566
|
-
"body": {
|
|
38567
|
-
"type": "string",
|
|
38568
|
-
"description": "Markdown or HTML body of the message."
|
|
38569
|
-
}
|
|
38570
|
-
},
|
|
38571
|
-
"required": [
|
|
38572
|
-
"type",
|
|
38573
|
-
"role",
|
|
38574
|
-
"body"
|
|
38575
|
-
]
|
|
38576
|
-
},
|
|
38577
|
-
"ConversationPart": {
|
|
38578
|
-
"oneOf": [
|
|
38579
|
-
{
|
|
38580
|
-
"$ref": "#/components/schemas/ConversationPartMessage"
|
|
38581
|
-
}
|
|
38582
|
-
]
|
|
38583
|
-
},
|
|
38584
|
-
"ConversationInput": {
|
|
38585
|
-
"type": "object",
|
|
38586
|
-
"properties": {
|
|
38587
|
-
"id": {
|
|
38588
|
-
"type": "string",
|
|
38589
|
-
"minLength": 1,
|
|
38590
|
-
"maxLength": 255,
|
|
38591
|
-
"description": "The unique identifier for the conversation, relative to the source in which it was created."
|
|
38592
|
-
},
|
|
38593
|
-
"metadata": {
|
|
38594
|
-
"$ref": "#/components/schemas/ConversationMetadata"
|
|
38595
|
-
},
|
|
38596
|
-
"subject": {
|
|
38597
|
-
"type": "string",
|
|
38598
|
-
"maxLength": 512,
|
|
38599
|
-
"description": "The subject of the conversation."
|
|
38600
|
-
},
|
|
38601
|
-
"parts": {
|
|
38602
|
-
"type": "array",
|
|
38603
|
-
"items": {
|
|
38604
|
-
"$ref": "#/components/schemas/ConversationPart"
|
|
38605
|
-
}
|
|
38606
|
-
}
|
|
38607
|
-
},
|
|
38608
|
-
"required": [
|
|
38609
|
-
"id",
|
|
38610
|
-
"parts"
|
|
38611
|
-
]
|
|
38612
|
-
},
|
|
38613
|
-
"AgentTaskStatus": {
|
|
38614
|
-
"type": "string",
|
|
38615
|
-
"description": "The status of the agent task. - `backlog`: The task has not been started yet, a human should review its specification. - `in-progress`: The task is in progress. - `in-review`: The task is completed, a human should review the result. - `done`: The task is completed. - `rejected`: The task has been rejected by a human.\n",
|
|
38616
|
-
"enum": [
|
|
38617
|
-
"backlog",
|
|
38618
|
-
"in-progress",
|
|
38619
|
-
"in-review",
|
|
38620
|
-
"done",
|
|
38621
|
-
"rejected"
|
|
38622
|
-
]
|
|
38623
|
-
},
|
|
38624
39583
|
"RequestSpaceTrackPageView": {
|
|
38625
39584
|
"$ref": "#/components/schemas/SpaceTrackPageView"
|
|
38626
39585
|
},
|
|
@@ -38657,9 +39616,6 @@
|
|
|
38657
39616
|
"RequestCreateSpace": {
|
|
38658
39617
|
"$ref": "#/components/schemas/CreateSpace"
|
|
38659
39618
|
},
|
|
38660
|
-
"RequestCreateChangeRequest": {
|
|
38661
|
-
"$ref": "#/components/schemas/CreateChangeRequest"
|
|
38662
|
-
},
|
|
38663
39619
|
"RequestRenderIntegrationUI": {
|
|
38664
39620
|
"$ref": "#/components/schemas/RenderIntegrationUI"
|
|
38665
39621
|
},
|