@breign/client 1.0.205 → 1.0.207
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/apis/AiGatewayApi.d.ts +36 -1
- package/dist/apis/AiGatewayApi.js +85 -0
- package/dist/apis/TicketsApi.d.ts +53 -1
- package/dist/apis/TicketsApi.js +126 -0
- package/dist/models/AiGatewayRequestLogCursorUio.d.ts +38 -0
- package/dist/models/AiGatewayRequestLogCursorUio.js +54 -0
- package/dist/models/AiGatewayRequestLogStatusUio.d.ts +25 -0
- package/dist/models/AiGatewayRequestLogStatusUio.js +51 -0
- package/dist/models/AiGatewayRequestLogSummaryUio.d.ts +141 -0
- package/dist/models/AiGatewayRequestLogSummaryUio.js +123 -0
- package/dist/models/AiGatewayRequestLogUio.d.ts +157 -0
- package/dist/models/AiGatewayRequestLogUio.js +131 -0
- package/dist/models/AiGatewayRequestLogsResponseUio.d.ts +46 -0
- package/dist/models/AiGatewayRequestLogsResponseUio.js +60 -0
- package/dist/models/ArtifactLibraryItemAllOfProjectUio.d.ts +56 -0
- package/dist/models/ArtifactLibraryItemAllOfProjectUio.js +66 -0
- package/dist/models/ArtifactLibraryItemAllOfTicketUio.d.ts +51 -0
- package/dist/models/ArtifactLibraryItemAllOfTicketUio.js +63 -0
- package/dist/models/ArtifactLibraryItemUio.d.ts +103 -0
- package/dist/models/ArtifactLibraryItemUio.js +99 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/openapi.json +762 -44
- package/package.json +1 -1
package/dist/openapi.json
CHANGED
|
@@ -17512,6 +17512,140 @@
|
|
|
17512
17512
|
"tags" : [ "ai-gateway" ]
|
|
17513
17513
|
}
|
|
17514
17514
|
},
|
|
17515
|
+
"/organizations/{organizationId}/ai-gateway/request-logs" : {
|
|
17516
|
+
"get" : {
|
|
17517
|
+
"description" : "Requêtes parties vers un provider, de la plus récente à la plus ancienne et sans leur contenu. Réservé aux administrateurs de l'organisation.",
|
|
17518
|
+
"operationId" : "listAiGatewayRequestLogs",
|
|
17519
|
+
"parameters" : [ {
|
|
17520
|
+
"description" : "ID of the organization",
|
|
17521
|
+
"in" : "path",
|
|
17522
|
+
"name" : "organizationId",
|
|
17523
|
+
"required" : true,
|
|
17524
|
+
"schema" : {
|
|
17525
|
+
"type" : "string"
|
|
17526
|
+
}
|
|
17527
|
+
}, {
|
|
17528
|
+
"in" : "query",
|
|
17529
|
+
"name" : "userId",
|
|
17530
|
+
"schema" : {
|
|
17531
|
+
"type" : "string"
|
|
17532
|
+
}
|
|
17533
|
+
}, {
|
|
17534
|
+
"in" : "query",
|
|
17535
|
+
"name" : "model",
|
|
17536
|
+
"schema" : {
|
|
17537
|
+
"type" : "string"
|
|
17538
|
+
}
|
|
17539
|
+
}, {
|
|
17540
|
+
"in" : "query",
|
|
17541
|
+
"name" : "status",
|
|
17542
|
+
"schema" : {
|
|
17543
|
+
"$ref" : "#/components/schemas/AiGatewayRequestLogStatus"
|
|
17544
|
+
}
|
|
17545
|
+
}, {
|
|
17546
|
+
"in" : "query",
|
|
17547
|
+
"name" : "startDate",
|
|
17548
|
+
"schema" : {
|
|
17549
|
+
"format" : "date-time",
|
|
17550
|
+
"type" : "string"
|
|
17551
|
+
}
|
|
17552
|
+
}, {
|
|
17553
|
+
"in" : "query",
|
|
17554
|
+
"name" : "endDate",
|
|
17555
|
+
"schema" : {
|
|
17556
|
+
"format" : "date-time",
|
|
17557
|
+
"type" : "string"
|
|
17558
|
+
}
|
|
17559
|
+
}, {
|
|
17560
|
+
"description" : "Taille de page, bornée côté serveur.",
|
|
17561
|
+
"in" : "query",
|
|
17562
|
+
"name" : "limit",
|
|
17563
|
+
"schema" : {
|
|
17564
|
+
"default" : 50,
|
|
17565
|
+
"maximum" : 200,
|
|
17566
|
+
"minimum" : 1,
|
|
17567
|
+
"type" : "integer"
|
|
17568
|
+
}
|
|
17569
|
+
}, {
|
|
17570
|
+
"description" : "Moitié date du curseur, renvoyée depuis `nextCursor` avec `beforeId`.",
|
|
17571
|
+
"in" : "query",
|
|
17572
|
+
"name" : "beforeCreatedAt",
|
|
17573
|
+
"schema" : {
|
|
17574
|
+
"type" : "string"
|
|
17575
|
+
}
|
|
17576
|
+
}, {
|
|
17577
|
+
"description" : "Moitié identifiant du curseur, renvoyée depuis `nextCursor` avec `beforeCreatedAt`.",
|
|
17578
|
+
"in" : "query",
|
|
17579
|
+
"name" : "beforeId",
|
|
17580
|
+
"schema" : {
|
|
17581
|
+
"type" : "string"
|
|
17582
|
+
}
|
|
17583
|
+
} ],
|
|
17584
|
+
"responses" : {
|
|
17585
|
+
"200" : {
|
|
17586
|
+
"content" : {
|
|
17587
|
+
"application/json" : {
|
|
17588
|
+
"schema" : {
|
|
17589
|
+
"$ref" : "#/components/schemas/AiGatewayRequestLogsResponse"
|
|
17590
|
+
}
|
|
17591
|
+
}
|
|
17592
|
+
},
|
|
17593
|
+
"description" : "A page of request logs"
|
|
17594
|
+
},
|
|
17595
|
+
"400" : {
|
|
17596
|
+
"description" : "Invalid status or date filter"
|
|
17597
|
+
},
|
|
17598
|
+
"403" : {
|
|
17599
|
+
"description" : "Forbidden"
|
|
17600
|
+
}
|
|
17601
|
+
},
|
|
17602
|
+
"summary" : "List the requests sent to providers by the AI gateway",
|
|
17603
|
+
"tags" : [ "ai-gateway" ]
|
|
17604
|
+
}
|
|
17605
|
+
},
|
|
17606
|
+
"/organizations/{organizationId}/ai-gateway/request-logs/{logId}" : {
|
|
17607
|
+
"get" : {
|
|
17608
|
+
"description" : "Paramètres, contenu et réponse d'une requête. Réservé aux administrateurs de l'organisation.",
|
|
17609
|
+
"operationId" : "getAiGatewayRequestLog",
|
|
17610
|
+
"parameters" : [ {
|
|
17611
|
+
"description" : "ID of the organization",
|
|
17612
|
+
"in" : "path",
|
|
17613
|
+
"name" : "organizationId",
|
|
17614
|
+
"required" : true,
|
|
17615
|
+
"schema" : {
|
|
17616
|
+
"type" : "string"
|
|
17617
|
+
}
|
|
17618
|
+
}, {
|
|
17619
|
+
"description" : "Identifiant de génération (`gen_<ulid>`)",
|
|
17620
|
+
"in" : "path",
|
|
17621
|
+
"name" : "logId",
|
|
17622
|
+
"required" : true,
|
|
17623
|
+
"schema" : {
|
|
17624
|
+
"type" : "string"
|
|
17625
|
+
}
|
|
17626
|
+
} ],
|
|
17627
|
+
"responses" : {
|
|
17628
|
+
"200" : {
|
|
17629
|
+
"content" : {
|
|
17630
|
+
"application/json" : {
|
|
17631
|
+
"schema" : {
|
|
17632
|
+
"$ref" : "#/components/schemas/AiGatewayRequestLog"
|
|
17633
|
+
}
|
|
17634
|
+
}
|
|
17635
|
+
},
|
|
17636
|
+
"description" : "The request log"
|
|
17637
|
+
},
|
|
17638
|
+
"403" : {
|
|
17639
|
+
"description" : "Forbidden"
|
|
17640
|
+
},
|
|
17641
|
+
"404" : {
|
|
17642
|
+
"description" : "Request log not found"
|
|
17643
|
+
}
|
|
17644
|
+
},
|
|
17645
|
+
"summary" : "Read one request sent to a provider, with its content",
|
|
17646
|
+
"tags" : [ "ai-gateway" ]
|
|
17647
|
+
}
|
|
17648
|
+
},
|
|
17515
17649
|
"/organizations/{organizationId}/ai-gateway/settings" : {
|
|
17516
17650
|
"get" : {
|
|
17517
17651
|
"description" : "Limites des modèles dont l'organisation détient la clé API (providerSource EXTERNAL). Les modèles Breign se configurent via internal-settings.",
|
|
@@ -18887,6 +19021,310 @@
|
|
|
18887
19021
|
"tags" : [ "tickets" ]
|
|
18888
19022
|
}
|
|
18889
19023
|
},
|
|
19024
|
+
"/projects/{projectId}/artifacts" : {
|
|
19025
|
+
"get" : {
|
|
19026
|
+
"description" : "Bibliothèque d'artefacts de l'espace de travail : les artefacts prêts de tous ses tickets.",
|
|
19027
|
+
"operationId" : "listProjectArtifacts",
|
|
19028
|
+
"parameters" : [ {
|
|
19029
|
+
"description" : "ID of the project",
|
|
19030
|
+
"in" : "path",
|
|
19031
|
+
"name" : "projectId",
|
|
19032
|
+
"required" : true,
|
|
19033
|
+
"schema" : {
|
|
19034
|
+
"format" : "uuid",
|
|
19035
|
+
"type" : "string"
|
|
19036
|
+
}
|
|
19037
|
+
}, {
|
|
19038
|
+
"description" : "Recherche dans le nom de l'artefact, sans tenir compte de la casse",
|
|
19039
|
+
"in" : "query",
|
|
19040
|
+
"name" : "search",
|
|
19041
|
+
"required" : false,
|
|
19042
|
+
"schema" : {
|
|
19043
|
+
"type" : "string"
|
|
19044
|
+
}
|
|
19045
|
+
}, {
|
|
19046
|
+
"description" : "Début du type MIME (image/, application/pdf…)",
|
|
19047
|
+
"in" : "query",
|
|
19048
|
+
"name" : "mimeType",
|
|
19049
|
+
"required" : false,
|
|
19050
|
+
"schema" : {
|
|
19051
|
+
"type" : "string"
|
|
19052
|
+
}
|
|
19053
|
+
}, {
|
|
19054
|
+
"description" : "Page number",
|
|
19055
|
+
"in" : "query",
|
|
19056
|
+
"name" : "page",
|
|
19057
|
+
"schema" : {
|
|
19058
|
+
"type" : "integer"
|
|
19059
|
+
}
|
|
19060
|
+
}, {
|
|
19061
|
+
"description" : "Number of items per page. Must be used together with page.",
|
|
19062
|
+
"in" : "query",
|
|
19063
|
+
"name" : "limit",
|
|
19064
|
+
"required" : false,
|
|
19065
|
+
"schema" : {
|
|
19066
|
+
"maximum" : 100,
|
|
19067
|
+
"minimum" : 1,
|
|
19068
|
+
"type" : "integer"
|
|
19069
|
+
}
|
|
19070
|
+
} ],
|
|
19071
|
+
"responses" : {
|
|
19072
|
+
"200" : {
|
|
19073
|
+
"content" : {
|
|
19074
|
+
"application/json" : {
|
|
19075
|
+
"schema" : {
|
|
19076
|
+
"items" : {
|
|
19077
|
+
"$ref" : "#/components/schemas/ArtifactLibraryItem"
|
|
19078
|
+
},
|
|
19079
|
+
"type" : "array"
|
|
19080
|
+
}
|
|
19081
|
+
}
|
|
19082
|
+
},
|
|
19083
|
+
"description" : "OK, du plus récent au plus ancien",
|
|
19084
|
+
"headers" : {
|
|
19085
|
+
"X-Total-Count" : {
|
|
19086
|
+
"description" : "Total number of items matching the filters",
|
|
19087
|
+
"schema" : {
|
|
19088
|
+
"type" : "integer"
|
|
19089
|
+
}
|
|
19090
|
+
},
|
|
19091
|
+
"X-Page" : {
|
|
19092
|
+
"description" : "Current page number",
|
|
19093
|
+
"schema" : {
|
|
19094
|
+
"type" : "integer"
|
|
19095
|
+
}
|
|
19096
|
+
},
|
|
19097
|
+
"X-Limit" : {
|
|
19098
|
+
"description" : "Number of items per page",
|
|
19099
|
+
"schema" : {
|
|
19100
|
+
"type" : "integer"
|
|
19101
|
+
}
|
|
19102
|
+
},
|
|
19103
|
+
"X-Total-Pages" : {
|
|
19104
|
+
"description" : "Total number of pages",
|
|
19105
|
+
"schema" : {
|
|
19106
|
+
"type" : "integer"
|
|
19107
|
+
}
|
|
19108
|
+
}
|
|
19109
|
+
}
|
|
19110
|
+
},
|
|
19111
|
+
"401" : {
|
|
19112
|
+
"description" : "Unauthenticated"
|
|
19113
|
+
},
|
|
19114
|
+
"403" : {
|
|
19115
|
+
"description" : "Forbidden — the caller is not a member of the project"
|
|
19116
|
+
},
|
|
19117
|
+
"404" : {
|
|
19118
|
+
"description" : "Not found"
|
|
19119
|
+
}
|
|
19120
|
+
},
|
|
19121
|
+
"summary" : "List the artifacts of a workspace",
|
|
19122
|
+
"tags" : [ "tickets" ]
|
|
19123
|
+
}
|
|
19124
|
+
},
|
|
19125
|
+
"/organizations/{organizationId}/artifacts" : {
|
|
19126
|
+
"get" : {
|
|
19127
|
+
"description" : "Bibliothèque d'artefacts de l'organisation, vue d'admin : les artefacts de tous les espaces partagés, et de l'espace personnel de l'appelant ; jamais de l'espace personnel d'un autre.",
|
|
19128
|
+
"operationId" : "listOrganizationArtifacts",
|
|
19129
|
+
"parameters" : [ {
|
|
19130
|
+
"description" : "ID of the organization",
|
|
19131
|
+
"in" : "path",
|
|
19132
|
+
"name" : "organizationId",
|
|
19133
|
+
"required" : true,
|
|
19134
|
+
"schema" : {
|
|
19135
|
+
"type" : "string"
|
|
19136
|
+
}
|
|
19137
|
+
}, {
|
|
19138
|
+
"description" : "Recherche dans le nom de l'artefact, sans tenir compte de la casse",
|
|
19139
|
+
"in" : "query",
|
|
19140
|
+
"name" : "search",
|
|
19141
|
+
"required" : false,
|
|
19142
|
+
"schema" : {
|
|
19143
|
+
"type" : "string"
|
|
19144
|
+
}
|
|
19145
|
+
}, {
|
|
19146
|
+
"description" : "Début du type MIME (image/, application/pdf…)",
|
|
19147
|
+
"in" : "query",
|
|
19148
|
+
"name" : "mimeType",
|
|
19149
|
+
"required" : false,
|
|
19150
|
+
"schema" : {
|
|
19151
|
+
"type" : "string"
|
|
19152
|
+
}
|
|
19153
|
+
}, {
|
|
19154
|
+
"description" : "Page number",
|
|
19155
|
+
"in" : "query",
|
|
19156
|
+
"name" : "page",
|
|
19157
|
+
"schema" : {
|
|
19158
|
+
"type" : "integer"
|
|
19159
|
+
}
|
|
19160
|
+
}, {
|
|
19161
|
+
"description" : "Number of items per page. Must be used together with page.",
|
|
19162
|
+
"in" : "query",
|
|
19163
|
+
"name" : "limit",
|
|
19164
|
+
"required" : false,
|
|
19165
|
+
"schema" : {
|
|
19166
|
+
"maximum" : 100,
|
|
19167
|
+
"minimum" : 1,
|
|
19168
|
+
"type" : "integer"
|
|
19169
|
+
}
|
|
19170
|
+
} ],
|
|
19171
|
+
"responses" : {
|
|
19172
|
+
"200" : {
|
|
19173
|
+
"content" : {
|
|
19174
|
+
"application/json" : {
|
|
19175
|
+
"schema" : {
|
|
19176
|
+
"items" : {
|
|
19177
|
+
"$ref" : "#/components/schemas/ArtifactLibraryItem"
|
|
19178
|
+
},
|
|
19179
|
+
"type" : "array"
|
|
19180
|
+
}
|
|
19181
|
+
}
|
|
19182
|
+
},
|
|
19183
|
+
"description" : "OK, du plus récent au plus ancien",
|
|
19184
|
+
"headers" : {
|
|
19185
|
+
"X-Total-Count" : {
|
|
19186
|
+
"description" : "Total number of items matching the filters",
|
|
19187
|
+
"schema" : {
|
|
19188
|
+
"type" : "integer"
|
|
19189
|
+
}
|
|
19190
|
+
},
|
|
19191
|
+
"X-Page" : {
|
|
19192
|
+
"description" : "Current page number",
|
|
19193
|
+
"schema" : {
|
|
19194
|
+
"type" : "integer"
|
|
19195
|
+
}
|
|
19196
|
+
},
|
|
19197
|
+
"X-Limit" : {
|
|
19198
|
+
"description" : "Number of items per page",
|
|
19199
|
+
"schema" : {
|
|
19200
|
+
"type" : "integer"
|
|
19201
|
+
}
|
|
19202
|
+
},
|
|
19203
|
+
"X-Total-Pages" : {
|
|
19204
|
+
"description" : "Total number of pages",
|
|
19205
|
+
"schema" : {
|
|
19206
|
+
"type" : "integer"
|
|
19207
|
+
}
|
|
19208
|
+
}
|
|
19209
|
+
}
|
|
19210
|
+
},
|
|
19211
|
+
"401" : {
|
|
19212
|
+
"description" : "Unauthenticated"
|
|
19213
|
+
},
|
|
19214
|
+
"403" : {
|
|
19215
|
+
"description" : "Forbidden — the caller is not an admin of the organization"
|
|
19216
|
+
}
|
|
19217
|
+
},
|
|
19218
|
+
"summary" : "List the artifacts of an organization",
|
|
19219
|
+
"tags" : [ "tickets" ]
|
|
19220
|
+
}
|
|
19221
|
+
},
|
|
19222
|
+
"/organizations/{organizationId}/agents/{agentId}/artifacts" : {
|
|
19223
|
+
"get" : {
|
|
19224
|
+
"description" : "Bibliothèque d'artefacts d'un agent : ceux qu'il a joints, dans les espaces que l'appelant peut lire (ceux dont il est membre, tous les espaces partagés pour un admin, et son espace personnel).",
|
|
19225
|
+
"operationId" : "listAgentArtifacts",
|
|
19226
|
+
"parameters" : [ {
|
|
19227
|
+
"description" : "ID of the organization",
|
|
19228
|
+
"in" : "path",
|
|
19229
|
+
"name" : "organizationId",
|
|
19230
|
+
"required" : true,
|
|
19231
|
+
"schema" : {
|
|
19232
|
+
"type" : "string"
|
|
19233
|
+
}
|
|
19234
|
+
}, {
|
|
19235
|
+
"description" : "ID of the agent",
|
|
19236
|
+
"in" : "path",
|
|
19237
|
+
"name" : "agentId",
|
|
19238
|
+
"required" : true,
|
|
19239
|
+
"schema" : {
|
|
19240
|
+
"format" : "uuid",
|
|
19241
|
+
"type" : "string"
|
|
19242
|
+
}
|
|
19243
|
+
}, {
|
|
19244
|
+
"description" : "Recherche dans le nom de l'artefact, sans tenir compte de la casse",
|
|
19245
|
+
"in" : "query",
|
|
19246
|
+
"name" : "search",
|
|
19247
|
+
"required" : false,
|
|
19248
|
+
"schema" : {
|
|
19249
|
+
"type" : "string"
|
|
19250
|
+
}
|
|
19251
|
+
}, {
|
|
19252
|
+
"description" : "Début du type MIME (image/, application/pdf…)",
|
|
19253
|
+
"in" : "query",
|
|
19254
|
+
"name" : "mimeType",
|
|
19255
|
+
"required" : false,
|
|
19256
|
+
"schema" : {
|
|
19257
|
+
"type" : "string"
|
|
19258
|
+
}
|
|
19259
|
+
}, {
|
|
19260
|
+
"description" : "Page number",
|
|
19261
|
+
"in" : "query",
|
|
19262
|
+
"name" : "page",
|
|
19263
|
+
"schema" : {
|
|
19264
|
+
"type" : "integer"
|
|
19265
|
+
}
|
|
19266
|
+
}, {
|
|
19267
|
+
"description" : "Number of items per page. Must be used together with page.",
|
|
19268
|
+
"in" : "query",
|
|
19269
|
+
"name" : "limit",
|
|
19270
|
+
"required" : false,
|
|
19271
|
+
"schema" : {
|
|
19272
|
+
"maximum" : 100,
|
|
19273
|
+
"minimum" : 1,
|
|
19274
|
+
"type" : "integer"
|
|
19275
|
+
}
|
|
19276
|
+
} ],
|
|
19277
|
+
"responses" : {
|
|
19278
|
+
"200" : {
|
|
19279
|
+
"content" : {
|
|
19280
|
+
"application/json" : {
|
|
19281
|
+
"schema" : {
|
|
19282
|
+
"items" : {
|
|
19283
|
+
"$ref" : "#/components/schemas/ArtifactLibraryItem"
|
|
19284
|
+
},
|
|
19285
|
+
"type" : "array"
|
|
19286
|
+
}
|
|
19287
|
+
}
|
|
19288
|
+
},
|
|
19289
|
+
"description" : "OK, du plus récent au plus ancien",
|
|
19290
|
+
"headers" : {
|
|
19291
|
+
"X-Total-Count" : {
|
|
19292
|
+
"description" : "Total number of items matching the filters",
|
|
19293
|
+
"schema" : {
|
|
19294
|
+
"type" : "integer"
|
|
19295
|
+
}
|
|
19296
|
+
},
|
|
19297
|
+
"X-Page" : {
|
|
19298
|
+
"description" : "Current page number",
|
|
19299
|
+
"schema" : {
|
|
19300
|
+
"type" : "integer"
|
|
19301
|
+
}
|
|
19302
|
+
},
|
|
19303
|
+
"X-Limit" : {
|
|
19304
|
+
"description" : "Number of items per page",
|
|
19305
|
+
"schema" : {
|
|
19306
|
+
"type" : "integer"
|
|
19307
|
+
}
|
|
19308
|
+
},
|
|
19309
|
+
"X-Total-Pages" : {
|
|
19310
|
+
"description" : "Total number of pages",
|
|
19311
|
+
"schema" : {
|
|
19312
|
+
"type" : "integer"
|
|
19313
|
+
}
|
|
19314
|
+
}
|
|
19315
|
+
}
|
|
19316
|
+
},
|
|
19317
|
+
"401" : {
|
|
19318
|
+
"description" : "Unauthenticated"
|
|
19319
|
+
},
|
|
19320
|
+
"403" : {
|
|
19321
|
+
"description" : "Forbidden — the caller cannot read this agent of the organization"
|
|
19322
|
+
}
|
|
19323
|
+
},
|
|
19324
|
+
"summary" : "List the artifacts added by an agent",
|
|
19325
|
+
"tags" : [ "tickets" ]
|
|
19326
|
+
}
|
|
19327
|
+
},
|
|
18890
19328
|
"/organizations/{organizationId}/tickets/{ticketKey}" : {
|
|
18891
19329
|
"get" : {
|
|
18892
19330
|
"description" : "Ticket désigné par sa clé (BRN-142) dans une organisation.",
|
|
@@ -24329,6 +24767,35 @@
|
|
|
24329
24767
|
"type" : "string"
|
|
24330
24768
|
}
|
|
24331
24769
|
},
|
|
24770
|
+
"artifactSearch" : {
|
|
24771
|
+
"description" : "Recherche dans le nom de l'artefact, sans tenir compte de la casse",
|
|
24772
|
+
"in" : "query",
|
|
24773
|
+
"name" : "search",
|
|
24774
|
+
"required" : false,
|
|
24775
|
+
"schema" : {
|
|
24776
|
+
"type" : "string"
|
|
24777
|
+
}
|
|
24778
|
+
},
|
|
24779
|
+
"artifactMimeType" : {
|
|
24780
|
+
"description" : "Début du type MIME (image/, application/pdf…)",
|
|
24781
|
+
"in" : "query",
|
|
24782
|
+
"name" : "mimeType",
|
|
24783
|
+
"required" : false,
|
|
24784
|
+
"schema" : {
|
|
24785
|
+
"type" : "string"
|
|
24786
|
+
}
|
|
24787
|
+
},
|
|
24788
|
+
"pageLimit" : {
|
|
24789
|
+
"description" : "Number of items per page. Must be used together with page.",
|
|
24790
|
+
"in" : "query",
|
|
24791
|
+
"name" : "limit",
|
|
24792
|
+
"required" : false,
|
|
24793
|
+
"schema" : {
|
|
24794
|
+
"maximum" : 100,
|
|
24795
|
+
"minimum" : 1,
|
|
24796
|
+
"type" : "integer"
|
|
24797
|
+
}
|
|
24798
|
+
},
|
|
24332
24799
|
"ticketKeyPath" : {
|
|
24333
24800
|
"description" : "Ticket key, project key followed by the ticket number (BRN-142)",
|
|
24334
24801
|
"in" : "path",
|
|
@@ -24447,6 +24914,47 @@
|
|
|
24447
24914
|
}
|
|
24448
24915
|
}
|
|
24449
24916
|
},
|
|
24917
|
+
"responses" : {
|
|
24918
|
+
"artifactLibrary" : {
|
|
24919
|
+
"content" : {
|
|
24920
|
+
"application/json" : {
|
|
24921
|
+
"schema" : {
|
|
24922
|
+
"items" : {
|
|
24923
|
+
"$ref" : "#/components/schemas/ArtifactLibraryItem"
|
|
24924
|
+
},
|
|
24925
|
+
"type" : "array"
|
|
24926
|
+
}
|
|
24927
|
+
}
|
|
24928
|
+
},
|
|
24929
|
+
"description" : "OK, du plus récent au plus ancien",
|
|
24930
|
+
"headers" : {
|
|
24931
|
+
"X-Total-Count" : {
|
|
24932
|
+
"description" : "Total number of items matching the filters",
|
|
24933
|
+
"schema" : {
|
|
24934
|
+
"type" : "integer"
|
|
24935
|
+
}
|
|
24936
|
+
},
|
|
24937
|
+
"X-Page" : {
|
|
24938
|
+
"description" : "Current page number",
|
|
24939
|
+
"schema" : {
|
|
24940
|
+
"type" : "integer"
|
|
24941
|
+
}
|
|
24942
|
+
},
|
|
24943
|
+
"X-Limit" : {
|
|
24944
|
+
"description" : "Number of items per page",
|
|
24945
|
+
"schema" : {
|
|
24946
|
+
"type" : "integer"
|
|
24947
|
+
}
|
|
24948
|
+
},
|
|
24949
|
+
"X-Total-Pages" : {
|
|
24950
|
+
"description" : "Total number of pages",
|
|
24951
|
+
"schema" : {
|
|
24952
|
+
"type" : "integer"
|
|
24953
|
+
}
|
|
24954
|
+
}
|
|
24955
|
+
}
|
|
24956
|
+
}
|
|
24957
|
+
},
|
|
24450
24958
|
"schemas" : {
|
|
24451
24959
|
"AudioFillerExistsResponse" : {
|
|
24452
24960
|
"additionalProperties" : {
|
|
@@ -34330,6 +34838,152 @@
|
|
|
34330
34838
|
"description" : "Montant par devise ISO ; deux devises ne s'additionnent pas.",
|
|
34331
34839
|
"type" : "object"
|
|
34332
34840
|
},
|
|
34841
|
+
"AiGatewayRequestLogStatus" : {
|
|
34842
|
+
"enum" : [ "ok", "error" ],
|
|
34843
|
+
"title" : "AiGatewayRequestLogStatus",
|
|
34844
|
+
"type" : "string"
|
|
34845
|
+
},
|
|
34846
|
+
"AiGatewayRequestLogsResponse" : {
|
|
34847
|
+
"additionalProperties" : false,
|
|
34848
|
+
"properties" : {
|
|
34849
|
+
"logs" : {
|
|
34850
|
+
"items" : {
|
|
34851
|
+
"$ref" : "#/components/schemas/AiGatewayRequestLogSummary"
|
|
34852
|
+
},
|
|
34853
|
+
"type" : "array"
|
|
34854
|
+
},
|
|
34855
|
+
"nextCursor" : {
|
|
34856
|
+
"allOf" : [ {
|
|
34857
|
+
"$ref" : "#/components/schemas/AiGatewayRequestLogCursor"
|
|
34858
|
+
} ],
|
|
34859
|
+
"description" : "Null une fois la dernière page servie.",
|
|
34860
|
+
"nullable" : true
|
|
34861
|
+
},
|
|
34862
|
+
"retentionDays" : {
|
|
34863
|
+
"description" : "Durée de conservation des requêtes, en jours.",
|
|
34864
|
+
"type" : "integer"
|
|
34865
|
+
}
|
|
34866
|
+
},
|
|
34867
|
+
"required" : [ "logs", "nextCursor", "retentionDays" ],
|
|
34868
|
+
"title" : "AiGatewayRequestLogsResponse",
|
|
34869
|
+
"type" : "object"
|
|
34870
|
+
},
|
|
34871
|
+
"AiGatewayRequestLogSummary" : {
|
|
34872
|
+
"properties" : {
|
|
34873
|
+
"id" : {
|
|
34874
|
+
"description" : "Identifiant de génération (`gen_<ulid>`), celui que le client a reçu.",
|
|
34875
|
+
"type" : "string"
|
|
34876
|
+
},
|
|
34877
|
+
"organizationId" : {
|
|
34878
|
+
"type" : "string"
|
|
34879
|
+
},
|
|
34880
|
+
"userId" : {
|
|
34881
|
+
"nullable" : true,
|
|
34882
|
+
"type" : "string"
|
|
34883
|
+
},
|
|
34884
|
+
"agentId" : {
|
|
34885
|
+
"description" : "Renseigné pour un tour d'agent sur un nœud.",
|
|
34886
|
+
"nullable" : true,
|
|
34887
|
+
"type" : "string"
|
|
34888
|
+
},
|
|
34889
|
+
"conversationId" : {
|
|
34890
|
+
"description" : "Renseigné pour un tour d'agent sur un nœud.",
|
|
34891
|
+
"nullable" : true,
|
|
34892
|
+
"type" : "string"
|
|
34893
|
+
},
|
|
34894
|
+
"route" : {
|
|
34895
|
+
"description" : "chat/completions, embeddings, systemone ou openai/chat/completions.",
|
|
34896
|
+
"type" : "string"
|
|
34897
|
+
},
|
|
34898
|
+
"streamed" : {
|
|
34899
|
+
"type" : "boolean"
|
|
34900
|
+
},
|
|
34901
|
+
"model" : {
|
|
34902
|
+
"type" : "string"
|
|
34903
|
+
},
|
|
34904
|
+
"providerId" : {
|
|
34905
|
+
"type" : "string"
|
|
34906
|
+
},
|
|
34907
|
+
"providerName" : {
|
|
34908
|
+
"type" : "string"
|
|
34909
|
+
},
|
|
34910
|
+
"status" : {
|
|
34911
|
+
"$ref" : "#/components/schemas/AiGatewayRequestLogStatus"
|
|
34912
|
+
},
|
|
34913
|
+
"errorMessage" : {
|
|
34914
|
+
"nullable" : true,
|
|
34915
|
+
"type" : "string"
|
|
34916
|
+
},
|
|
34917
|
+
"finishReason" : {
|
|
34918
|
+
"nullable" : true,
|
|
34919
|
+
"type" : "string"
|
|
34920
|
+
},
|
|
34921
|
+
"durationMs" : {
|
|
34922
|
+
"type" : "integer"
|
|
34923
|
+
},
|
|
34924
|
+
"promptTokens" : {
|
|
34925
|
+
"nullable" : true,
|
|
34926
|
+
"type" : "integer"
|
|
34927
|
+
},
|
|
34928
|
+
"completionTokens" : {
|
|
34929
|
+
"nullable" : true,
|
|
34930
|
+
"type" : "integer"
|
|
34931
|
+
},
|
|
34932
|
+
"reportingUser" : {
|
|
34933
|
+
"nullable" : true,
|
|
34934
|
+
"type" : "string"
|
|
34935
|
+
},
|
|
34936
|
+
"tags" : {
|
|
34937
|
+
"items" : {
|
|
34938
|
+
"type" : "string"
|
|
34939
|
+
},
|
|
34940
|
+
"type" : "array"
|
|
34941
|
+
},
|
|
34942
|
+
"createdAt" : {
|
|
34943
|
+
"type" : "string"
|
|
34944
|
+
}
|
|
34945
|
+
},
|
|
34946
|
+
"required" : [ "agentId", "completionTokens", "conversationId", "createdAt", "durationMs", "errorMessage", "finishReason", "id", "model", "organizationId", "promptTokens", "providerId", "providerName", "reportingUser", "route", "status", "streamed", "tags", "userId" ],
|
|
34947
|
+
"title" : "AiGatewayRequestLogSummary",
|
|
34948
|
+
"type" : "object"
|
|
34949
|
+
},
|
|
34950
|
+
"AiGatewayRequestLogCursor" : {
|
|
34951
|
+
"additionalProperties" : false,
|
|
34952
|
+
"properties" : {
|
|
34953
|
+
"createdAt" : {
|
|
34954
|
+
"type" : "string"
|
|
34955
|
+
},
|
|
34956
|
+
"id" : {
|
|
34957
|
+
"type" : "string"
|
|
34958
|
+
}
|
|
34959
|
+
},
|
|
34960
|
+
"required" : [ "createdAt", "id" ],
|
|
34961
|
+
"title" : "AiGatewayRequestLogCursor",
|
|
34962
|
+
"type" : "object"
|
|
34963
|
+
},
|
|
34964
|
+
"AiGatewayRequestLog" : {
|
|
34965
|
+
"allOf" : [ {
|
|
34966
|
+
"$ref" : "#/components/schemas/AiGatewayRequestLogSummary"
|
|
34967
|
+
}, {
|
|
34968
|
+
"properties" : {
|
|
34969
|
+
"request" : {
|
|
34970
|
+
"additionalProperties" : true,
|
|
34971
|
+
"description" : "Corps de la requête du client. Les images en base64 sont omises et les contenus très volumineux tronqués.",
|
|
34972
|
+
"nullable" : true,
|
|
34973
|
+
"type" : "object"
|
|
34974
|
+
},
|
|
34975
|
+
"response" : {
|
|
34976
|
+
"additionalProperties" : true,
|
|
34977
|
+
"description" : "Réponse au format OpenAI ; partielle si un flux a échoué en route, nulle sans réponse. Pour un embedding, seuls le nombre et la dimension des vecteurs sont conservés.",
|
|
34978
|
+
"nullable" : true,
|
|
34979
|
+
"type" : "object"
|
|
34980
|
+
}
|
|
34981
|
+
},
|
|
34982
|
+
"required" : [ "request", "response" ],
|
|
34983
|
+
"type" : "object"
|
|
34984
|
+
} ],
|
|
34985
|
+
"title" : "AiGatewayRequestLog"
|
|
34986
|
+
},
|
|
34333
34987
|
"AiGatewaySettings" : {
|
|
34334
34988
|
"properties" : {
|
|
34335
34989
|
"organizationId" : {
|
|
@@ -35594,6 +36248,63 @@
|
|
|
35594
36248
|
"required" : [ "agentId", "conversationId", "currentStep", "lastRunAt", "planDone", "planTotal", "status" ],
|
|
35595
36249
|
"type" : "object"
|
|
35596
36250
|
},
|
|
36251
|
+
"ArtifactLibraryItem" : {
|
|
36252
|
+
"allOf" : [ {
|
|
36253
|
+
"$ref" : "#/components/schemas/TicketArtifact"
|
|
36254
|
+
}, {
|
|
36255
|
+
"properties" : {
|
|
36256
|
+
"projectId" : {
|
|
36257
|
+
"format" : "uuid",
|
|
36258
|
+
"type" : "string"
|
|
36259
|
+
},
|
|
36260
|
+
"ticket" : {
|
|
36261
|
+
"$ref" : "#/components/schemas/ArtifactLibraryItem_allOf_ticket"
|
|
36262
|
+
},
|
|
36263
|
+
"project" : {
|
|
36264
|
+
"$ref" : "#/components/schemas/ArtifactLibraryItem_allOf_project"
|
|
36265
|
+
}
|
|
36266
|
+
},
|
|
36267
|
+
"required" : [ "project", "projectId", "ticket" ],
|
|
36268
|
+
"type" : "object"
|
|
36269
|
+
} ],
|
|
36270
|
+
"description" : "Un artefact de la bibliothèque, avec de quoi afficher son ticket et son espace de travail."
|
|
36271
|
+
},
|
|
36272
|
+
"TicketArtifact" : {
|
|
36273
|
+
"properties" : {
|
|
36274
|
+
"id" : {
|
|
36275
|
+
"format" : "uuid",
|
|
36276
|
+
"type" : "string"
|
|
36277
|
+
},
|
|
36278
|
+
"ticketId" : {
|
|
36279
|
+
"format" : "uuid",
|
|
36280
|
+
"type" : "string"
|
|
36281
|
+
},
|
|
36282
|
+
"name" : {
|
|
36283
|
+
"type" : "string"
|
|
36284
|
+
},
|
|
36285
|
+
"mimeType" : {
|
|
36286
|
+
"type" : "string"
|
|
36287
|
+
},
|
|
36288
|
+
"size" : {
|
|
36289
|
+
"nullable" : true,
|
|
36290
|
+
"type" : "integer"
|
|
36291
|
+
},
|
|
36292
|
+
"source" : {
|
|
36293
|
+
"$ref" : "#/components/schemas/TicketArtifactSource"
|
|
36294
|
+
},
|
|
36295
|
+
"status" : {
|
|
36296
|
+
"$ref" : "#/components/schemas/TicketArtifactStatus"
|
|
36297
|
+
},
|
|
36298
|
+
"addedBy" : {
|
|
36299
|
+
"$ref" : "#/components/schemas/ActorRef"
|
|
36300
|
+
},
|
|
36301
|
+
"createdAt" : {
|
|
36302
|
+
"type" : "string"
|
|
36303
|
+
}
|
|
36304
|
+
},
|
|
36305
|
+
"required" : [ "addedBy", "createdAt", "id", "mimeType", "name", "size", "source", "status", "ticketId" ],
|
|
36306
|
+
"type" : "object"
|
|
36307
|
+
},
|
|
35597
36308
|
"AgentAtWork" : {
|
|
35598
36309
|
"description" : "Un agent assigné à un ticket ouvert qui concerne l'utilisateur (créateur, assigné ou relecteur), et qui travaille, attend une réponse ou est bloqué.",
|
|
35599
36310
|
"properties" : {
|
|
@@ -35945,42 +36656,6 @@
|
|
|
35945
36656
|
"required" : [ "body" ],
|
|
35946
36657
|
"type" : "object"
|
|
35947
36658
|
},
|
|
35948
|
-
"TicketArtifact" : {
|
|
35949
|
-
"properties" : {
|
|
35950
|
-
"id" : {
|
|
35951
|
-
"format" : "uuid",
|
|
35952
|
-
"type" : "string"
|
|
35953
|
-
},
|
|
35954
|
-
"ticketId" : {
|
|
35955
|
-
"format" : "uuid",
|
|
35956
|
-
"type" : "string"
|
|
35957
|
-
},
|
|
35958
|
-
"name" : {
|
|
35959
|
-
"type" : "string"
|
|
35960
|
-
},
|
|
35961
|
-
"mimeType" : {
|
|
35962
|
-
"type" : "string"
|
|
35963
|
-
},
|
|
35964
|
-
"size" : {
|
|
35965
|
-
"nullable" : true,
|
|
35966
|
-
"type" : "integer"
|
|
35967
|
-
},
|
|
35968
|
-
"source" : {
|
|
35969
|
-
"$ref" : "#/components/schemas/TicketArtifactSource"
|
|
35970
|
-
},
|
|
35971
|
-
"status" : {
|
|
35972
|
-
"$ref" : "#/components/schemas/TicketArtifactStatus"
|
|
35973
|
-
},
|
|
35974
|
-
"addedBy" : {
|
|
35975
|
-
"$ref" : "#/components/schemas/ActorRef"
|
|
35976
|
-
},
|
|
35977
|
-
"createdAt" : {
|
|
35978
|
-
"type" : "string"
|
|
35979
|
-
}
|
|
35980
|
-
},
|
|
35981
|
-
"required" : [ "addedBy", "createdAt", "id", "mimeType", "name", "size", "source", "status", "ticketId" ],
|
|
35982
|
-
"type" : "object"
|
|
35983
|
-
},
|
|
35984
36659
|
"CreateTicketArtifactRequest" : {
|
|
35985
36660
|
"description" : "Déclare un fichier à joindre ; la réponse donne l'URL où le téléverser.",
|
|
35986
36661
|
"properties" : {
|
|
@@ -39794,6 +40469,14 @@
|
|
|
39794
40469
|
"enum" : [ "idle", "queued", "running", "waiting_human", "failed" ],
|
|
39795
40470
|
"type" : "string"
|
|
39796
40471
|
},
|
|
40472
|
+
"TicketArtifactSource" : {
|
|
40473
|
+
"enum" : [ "file", "workspace" ],
|
|
40474
|
+
"type" : "string"
|
|
40475
|
+
},
|
|
40476
|
+
"TicketArtifactStatus" : {
|
|
40477
|
+
"enum" : [ "uploading", "ready" ],
|
|
40478
|
+
"type" : "string"
|
|
40479
|
+
},
|
|
39797
40480
|
"TicketReviewDecision" : {
|
|
39798
40481
|
"enum" : [ "approve", "changes" ],
|
|
39799
40482
|
"type" : "string"
|
|
@@ -39812,14 +40495,6 @@
|
|
|
39812
40495
|
"enum" : [ "comment", "report", "question", "approval", "event" ],
|
|
39813
40496
|
"type" : "string"
|
|
39814
40497
|
},
|
|
39815
|
-
"TicketArtifactSource" : {
|
|
39816
|
-
"enum" : [ "file", "workspace" ],
|
|
39817
|
-
"type" : "string"
|
|
39818
|
-
},
|
|
39819
|
-
"TicketArtifactStatus" : {
|
|
39820
|
-
"enum" : [ "uploading", "ready" ],
|
|
39821
|
-
"type" : "string"
|
|
39822
|
-
},
|
|
39823
40498
|
"AgentExecutionGroupChoice" : {
|
|
39824
40499
|
"description" : "Un groupe que l'utilisateur peut choisir pour l'agent, avec ce que ses nœuds portent.",
|
|
39825
40500
|
"properties" : {
|
|
@@ -42109,6 +42784,49 @@
|
|
|
42109
42784
|
},
|
|
42110
42785
|
"type" : "object"
|
|
42111
42786
|
},
|
|
42787
|
+
"ArtifactLibraryItem_allOf_ticket" : {
|
|
42788
|
+
"properties" : {
|
|
42789
|
+
"id" : {
|
|
42790
|
+
"format" : "uuid",
|
|
42791
|
+
"type" : "string"
|
|
42792
|
+
},
|
|
42793
|
+
"key" : {
|
|
42794
|
+
"type" : "string"
|
|
42795
|
+
},
|
|
42796
|
+
"title" : {
|
|
42797
|
+
"type" : "string"
|
|
42798
|
+
},
|
|
42799
|
+
"status" : {
|
|
42800
|
+
"$ref" : "#/components/schemas/TicketStatus"
|
|
42801
|
+
}
|
|
42802
|
+
},
|
|
42803
|
+
"required" : [ "id", "key", "status", "title" ],
|
|
42804
|
+
"type" : "object"
|
|
42805
|
+
},
|
|
42806
|
+
"ArtifactLibraryItem_allOf_project" : {
|
|
42807
|
+
"properties" : {
|
|
42808
|
+
"id" : {
|
|
42809
|
+
"format" : "uuid",
|
|
42810
|
+
"type" : "string"
|
|
42811
|
+
},
|
|
42812
|
+
"key" : {
|
|
42813
|
+
"type" : "string"
|
|
42814
|
+
},
|
|
42815
|
+
"name" : {
|
|
42816
|
+
"type" : "string"
|
|
42817
|
+
},
|
|
42818
|
+
"color" : {
|
|
42819
|
+
"nullable" : true,
|
|
42820
|
+
"type" : "string"
|
|
42821
|
+
},
|
|
42822
|
+
"personal" : {
|
|
42823
|
+
"description" : "L'espace personnel de l'appelant",
|
|
42824
|
+
"type" : "boolean"
|
|
42825
|
+
}
|
|
42826
|
+
},
|
|
42827
|
+
"required" : [ "color", "id", "key", "name", "personal" ],
|
|
42828
|
+
"type" : "object"
|
|
42829
|
+
},
|
|
42112
42830
|
"AgentAtWork_project" : {
|
|
42113
42831
|
"properties" : {
|
|
42114
42832
|
"id" : {
|