@breign/client 1.0.180 → 1.0.182
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/AdminApi.d.ts +33 -10
- package/dist/apis/AdminApi.js +70 -15
- package/dist/apis/EngineApi.d.ts +29 -1
- package/dist/apis/EngineApi.js +66 -0
- package/dist/apis/SupportApi.d.ts +59 -0
- package/dist/apis/SupportApi.js +154 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/ModelUserAccessUio.d.ts +50 -0
- package/dist/models/ModelUserAccessUio.js +62 -0
- package/dist/models/OrganisationPlatformEngineUsageModelsInnerUio.d.ts +56 -0
- package/dist/models/OrganisationPlatformEngineUsageModelsInnerUio.js +66 -0
- package/dist/models/OrganisationPlatformEngineUsageUio.d.ts +7 -0
- package/dist/models/OrganisationPlatformEngineUsageUio.js +5 -0
- package/dist/models/OrganizationModelAccessUio.d.ts +33 -0
- package/dist/models/OrganizationModelAccessUio.js +51 -0
- package/dist/models/OrganizationUio.d.ts +0 -6
- package/dist/models/OrganizationUio.js +0 -2
- package/dist/models/PlatformEngineAccessModelsInnerUio.d.ts +38 -0
- package/dist/models/PlatformEngineAccessModelsInnerUio.js +54 -0
- package/dist/models/PlatformEngineAccessUio.d.ts +33 -0
- package/dist/models/PlatformEngineAccessUio.js +51 -0
- package/dist/models/SetModelUserAccessUio.d.ts +44 -0
- package/dist/models/SetModelUserAccessUio.js +58 -0
- package/dist/models/SupportRequestAcceptedUio.d.ts +38 -0
- package/dist/models/SupportRequestAcceptedUio.js +54 -0
- package/dist/models/SupportRequestAttachmentUio.d.ts +44 -0
- package/dist/models/SupportRequestAttachmentUio.js +58 -0
- package/dist/models/SupportRequestCreateUio.d.ts +85 -0
- package/dist/models/SupportRequestCreateUio.js +90 -0
- package/dist/models/SupportSettingsUio.d.ts +44 -0
- package/dist/models/SupportSettingsUio.js +58 -0
- package/dist/models/index.d.ts +10 -1
- package/dist/models/index.js +10 -1
- package/dist/openapi.json +517 -57
- package/package.json +1 -1
- package/dist/models/AllowPlatformEnginesUio.d.ts +0 -32
- package/dist/models/AllowPlatformEnginesUio.js +0 -50
package/dist/openapi.json
CHANGED
|
@@ -99,6 +99,9 @@
|
|
|
99
99
|
}, {
|
|
100
100
|
"description" : "Actions and mentions waiting for the current user",
|
|
101
101
|
"name" : "inbox"
|
|
102
|
+
}, {
|
|
103
|
+
"description" : "Support page of an organization, its settings and the requests sent from it",
|
|
104
|
+
"name" : "support"
|
|
102
105
|
} ],
|
|
103
106
|
"paths" : {
|
|
104
107
|
"/health" : {
|
|
@@ -8049,13 +8052,42 @@
|
|
|
8049
8052
|
"tags" : [ "admin" ]
|
|
8050
8053
|
}
|
|
8051
8054
|
},
|
|
8052
|
-
"/admin/
|
|
8053
|
-
"
|
|
8054
|
-
"description" : "Superadmin.
|
|
8055
|
-
"operationId" : "
|
|
8055
|
+
"/admin/platform-engines/{id}/access" : {
|
|
8056
|
+
"get" : {
|
|
8057
|
+
"description" : "Superadmin. Organisations qui ont accès à chaque modèle du moteur plateforme.",
|
|
8058
|
+
"operationId" : "getPlatformEngineAccess",
|
|
8056
8059
|
"parameters" : [ {
|
|
8057
8060
|
"in" : "path",
|
|
8058
|
-
"name" : "
|
|
8061
|
+
"name" : "id",
|
|
8062
|
+
"required" : true,
|
|
8063
|
+
"schema" : {
|
|
8064
|
+
"type" : "string"
|
|
8065
|
+
}
|
|
8066
|
+
} ],
|
|
8067
|
+
"responses" : {
|
|
8068
|
+
"200" : {
|
|
8069
|
+
"content" : {
|
|
8070
|
+
"application/json" : {
|
|
8071
|
+
"schema" : {
|
|
8072
|
+
"$ref" : "#/components/schemas/PlatformEngineAccess"
|
|
8073
|
+
}
|
|
8074
|
+
}
|
|
8075
|
+
},
|
|
8076
|
+
"description" : "Access per model"
|
|
8077
|
+
},
|
|
8078
|
+
"404" : {
|
|
8079
|
+
"description" : "Platform engine not found"
|
|
8080
|
+
}
|
|
8081
|
+
},
|
|
8082
|
+
"summary" : "Get platform engine access",
|
|
8083
|
+
"tags" : [ "admin" ]
|
|
8084
|
+
},
|
|
8085
|
+
"put" : {
|
|
8086
|
+
"description" : "Superadmin. Remplace, pour chaque modèle listé, les organisations qui y ont accès. Les modèles absents du corps gardent leurs organisations.\n",
|
|
8087
|
+
"operationId" : "setPlatformEngineAccess",
|
|
8088
|
+
"parameters" : [ {
|
|
8089
|
+
"in" : "path",
|
|
8090
|
+
"name" : "id",
|
|
8059
8091
|
"required" : true,
|
|
8060
8092
|
"schema" : {
|
|
8061
8093
|
"type" : "string"
|
|
@@ -8065,7 +8097,7 @@
|
|
|
8065
8097
|
"content" : {
|
|
8066
8098
|
"application/json" : {
|
|
8067
8099
|
"schema" : {
|
|
8068
|
-
"$ref" : "#/components/schemas/
|
|
8100
|
+
"$ref" : "#/components/schemas/PlatformEngineAccess"
|
|
8069
8101
|
}
|
|
8070
8102
|
}
|
|
8071
8103
|
},
|
|
@@ -8076,20 +8108,128 @@
|
|
|
8076
8108
|
"content" : {
|
|
8077
8109
|
"application/json" : {
|
|
8078
8110
|
"schema" : {
|
|
8079
|
-
"$ref" : "#/components/schemas/
|
|
8111
|
+
"$ref" : "#/components/schemas/PlatformEngineAccess"
|
|
8080
8112
|
}
|
|
8081
8113
|
}
|
|
8082
8114
|
},
|
|
8083
8115
|
"description" : "Updated access"
|
|
8084
8116
|
},
|
|
8085
8117
|
"400" : {
|
|
8086
|
-
"description" : "
|
|
8118
|
+
"description" : "Unknown model or organisation"
|
|
8087
8119
|
},
|
|
8088
8120
|
"404" : {
|
|
8089
|
-
"description" : "
|
|
8121
|
+
"description" : "Platform engine not found"
|
|
8122
|
+
}
|
|
8123
|
+
},
|
|
8124
|
+
"summary" : "Set platform engine access",
|
|
8125
|
+
"tags" : [ "admin" ]
|
|
8126
|
+
}
|
|
8127
|
+
},
|
|
8128
|
+
"/organizations/{organizationId}/engines/access" : {
|
|
8129
|
+
"get" : {
|
|
8130
|
+
"description" : "Admin de l'organisation. Modèles réservés à certains membres.",
|
|
8131
|
+
"operationId" : "getOrganizationModelAccess",
|
|
8132
|
+
"parameters" : [ {
|
|
8133
|
+
"in" : "path",
|
|
8134
|
+
"name" : "organizationId",
|
|
8135
|
+
"required" : true,
|
|
8136
|
+
"schema" : {
|
|
8137
|
+
"type" : "string"
|
|
8138
|
+
}
|
|
8139
|
+
} ],
|
|
8140
|
+
"responses" : {
|
|
8141
|
+
"200" : {
|
|
8142
|
+
"content" : {
|
|
8143
|
+
"application/json" : {
|
|
8144
|
+
"schema" : {
|
|
8145
|
+
"$ref" : "#/components/schemas/OrganizationModelAccess"
|
|
8146
|
+
}
|
|
8147
|
+
}
|
|
8148
|
+
},
|
|
8149
|
+
"description" : "Model access rules"
|
|
8150
|
+
},
|
|
8151
|
+
"403" : {
|
|
8152
|
+
"description" : "Not an admin of the organization"
|
|
8153
|
+
}
|
|
8154
|
+
},
|
|
8155
|
+
"summary" : "List model user restrictions of an organization",
|
|
8156
|
+
"tags" : [ "engine" ]
|
|
8157
|
+
}
|
|
8158
|
+
},
|
|
8159
|
+
"/organizations/{organizationId}/engines/providers/{providerId}/access" : {
|
|
8160
|
+
"put" : {
|
|
8161
|
+
"description" : "Admin de l'organisation. Réserve un modèle (de l'organisation ou plateforme ouvert à l'organisation) à certains membres, ou le rouvre à tous avec `restrictToUsers: false`.\n",
|
|
8162
|
+
"operationId" : "setModelUserAccess",
|
|
8163
|
+
"parameters" : [ {
|
|
8164
|
+
"in" : "path",
|
|
8165
|
+
"name" : "organizationId",
|
|
8166
|
+
"required" : true,
|
|
8167
|
+
"schema" : {
|
|
8168
|
+
"type" : "string"
|
|
8169
|
+
}
|
|
8170
|
+
}, {
|
|
8171
|
+
"in" : "path",
|
|
8172
|
+
"name" : "providerId",
|
|
8173
|
+
"required" : true,
|
|
8174
|
+
"schema" : {
|
|
8175
|
+
"type" : "string"
|
|
8176
|
+
}
|
|
8177
|
+
} ],
|
|
8178
|
+
"requestBody" : {
|
|
8179
|
+
"content" : {
|
|
8180
|
+
"application/json" : {
|
|
8181
|
+
"schema" : {
|
|
8182
|
+
"$ref" : "#/components/schemas/SetModelUserAccess"
|
|
8183
|
+
}
|
|
8184
|
+
}
|
|
8185
|
+
},
|
|
8186
|
+
"required" : true
|
|
8187
|
+
},
|
|
8188
|
+
"responses" : {
|
|
8189
|
+
"200" : {
|
|
8190
|
+
"content" : {
|
|
8191
|
+
"application/json" : {
|
|
8192
|
+
"schema" : {
|
|
8193
|
+
"$ref" : "#/components/schemas/ModelUserAccess"
|
|
8194
|
+
}
|
|
8195
|
+
}
|
|
8196
|
+
},
|
|
8197
|
+
"description" : "Updated rule"
|
|
8198
|
+
},
|
|
8199
|
+
"400" : {
|
|
8200
|
+
"description" : "Model not available to the organization, or user not a member"
|
|
8201
|
+
},
|
|
8202
|
+
"403" : {
|
|
8203
|
+
"description" : "Not an admin of the organization"
|
|
8204
|
+
}
|
|
8205
|
+
},
|
|
8206
|
+
"summary" : "Restrict a model to some members",
|
|
8207
|
+
"tags" : [ "engine" ]
|
|
8208
|
+
}
|
|
8209
|
+
},
|
|
8210
|
+
"/admin/organisations" : {
|
|
8211
|
+
"get" : {
|
|
8212
|
+
"description" : "Superadmin. Toutes les organisations de la plateforme, avec leurs membres.",
|
|
8213
|
+
"operationId" : "listAdminOrganisations",
|
|
8214
|
+
"responses" : {
|
|
8215
|
+
"200" : {
|
|
8216
|
+
"content" : {
|
|
8217
|
+
"application/json" : {
|
|
8218
|
+
"schema" : {
|
|
8219
|
+
"items" : {
|
|
8220
|
+
"$ref" : "#/components/schemas/Organization"
|
|
8221
|
+
},
|
|
8222
|
+
"type" : "array"
|
|
8223
|
+
}
|
|
8224
|
+
}
|
|
8225
|
+
},
|
|
8226
|
+
"description" : "Organisations"
|
|
8227
|
+
},
|
|
8228
|
+
"403" : {
|
|
8229
|
+
"description" : "Not a superadmin"
|
|
8090
8230
|
}
|
|
8091
8231
|
},
|
|
8092
|
-
"summary" : "
|
|
8232
|
+
"summary" : "List all organisations",
|
|
8093
8233
|
"tags" : [ "admin" ]
|
|
8094
8234
|
}
|
|
8095
8235
|
},
|
|
@@ -19182,6 +19322,141 @@
|
|
|
19182
19322
|
"tags" : [ "execution-nodes" ]
|
|
19183
19323
|
}
|
|
19184
19324
|
},
|
|
19325
|
+
"/organizations/{organizationId}/support-settings" : {
|
|
19326
|
+
"get" : {
|
|
19327
|
+
"description" : "Lisibles par les membres de l'organisation, pour afficher la page Support.",
|
|
19328
|
+
"operationId" : "getOrganizationSupportSettings",
|
|
19329
|
+
"parameters" : [ {
|
|
19330
|
+
"description" : "ID of the organization",
|
|
19331
|
+
"in" : "path",
|
|
19332
|
+
"name" : "organizationId",
|
|
19333
|
+
"required" : true,
|
|
19334
|
+
"schema" : {
|
|
19335
|
+
"type" : "string"
|
|
19336
|
+
}
|
|
19337
|
+
} ],
|
|
19338
|
+
"responses" : {
|
|
19339
|
+
"200" : {
|
|
19340
|
+
"content" : {
|
|
19341
|
+
"application/json" : {
|
|
19342
|
+
"schema" : {
|
|
19343
|
+
"$ref" : "#/components/schemas/SupportSettings"
|
|
19344
|
+
}
|
|
19345
|
+
}
|
|
19346
|
+
},
|
|
19347
|
+
"description" : "OK"
|
|
19348
|
+
},
|
|
19349
|
+
"401" : {
|
|
19350
|
+
"description" : "Unauthenticated"
|
|
19351
|
+
},
|
|
19352
|
+
"403" : {
|
|
19353
|
+
"description" : "Not a member of the organization"
|
|
19354
|
+
}
|
|
19355
|
+
},
|
|
19356
|
+
"summary" : "Get the support page settings of an organization",
|
|
19357
|
+
"tags" : [ "support" ]
|
|
19358
|
+
},
|
|
19359
|
+
"put" : {
|
|
19360
|
+
"description" : "Réservé aux superadmins.",
|
|
19361
|
+
"operationId" : "updateOrganizationSupportSettings",
|
|
19362
|
+
"parameters" : [ {
|
|
19363
|
+
"description" : "ID of the organization",
|
|
19364
|
+
"in" : "path",
|
|
19365
|
+
"name" : "organizationId",
|
|
19366
|
+
"required" : true,
|
|
19367
|
+
"schema" : {
|
|
19368
|
+
"type" : "string"
|
|
19369
|
+
}
|
|
19370
|
+
} ],
|
|
19371
|
+
"requestBody" : {
|
|
19372
|
+
"content" : {
|
|
19373
|
+
"application/json" : {
|
|
19374
|
+
"schema" : {
|
|
19375
|
+
"$ref" : "#/components/schemas/SupportSettings"
|
|
19376
|
+
}
|
|
19377
|
+
}
|
|
19378
|
+
},
|
|
19379
|
+
"required" : true
|
|
19380
|
+
},
|
|
19381
|
+
"responses" : {
|
|
19382
|
+
"200" : {
|
|
19383
|
+
"content" : {
|
|
19384
|
+
"application/json" : {
|
|
19385
|
+
"schema" : {
|
|
19386
|
+
"$ref" : "#/components/schemas/SupportSettings"
|
|
19387
|
+
}
|
|
19388
|
+
}
|
|
19389
|
+
},
|
|
19390
|
+
"description" : "OK"
|
|
19391
|
+
},
|
|
19392
|
+
"400" : {
|
|
19393
|
+
"description" : "Unknown agent or automation"
|
|
19394
|
+
},
|
|
19395
|
+
"401" : {
|
|
19396
|
+
"description" : "Unauthenticated"
|
|
19397
|
+
},
|
|
19398
|
+
"403" : {
|
|
19399
|
+
"description" : "Not a superadmin"
|
|
19400
|
+
}
|
|
19401
|
+
},
|
|
19402
|
+
"summary" : "Update the support page settings of an organization",
|
|
19403
|
+
"tags" : [ "support" ]
|
|
19404
|
+
}
|
|
19405
|
+
},
|
|
19406
|
+
"/organizations/{organizationId}/support-requests" : {
|
|
19407
|
+
"post" : {
|
|
19408
|
+
"description" : "Au nom de l'utilisateur connecté, membre de l'organisation : la demande, avec son identité et son organisation, est mise en file sur l'automatisation du formulaire, comme un appel de son webhook.",
|
|
19409
|
+
"operationId" : "createOrganizationSupportRequest",
|
|
19410
|
+
"parameters" : [ {
|
|
19411
|
+
"description" : "ID of the organization",
|
|
19412
|
+
"in" : "path",
|
|
19413
|
+
"name" : "organizationId",
|
|
19414
|
+
"required" : true,
|
|
19415
|
+
"schema" : {
|
|
19416
|
+
"type" : "string"
|
|
19417
|
+
}
|
|
19418
|
+
} ],
|
|
19419
|
+
"requestBody" : {
|
|
19420
|
+
"content" : {
|
|
19421
|
+
"application/json" : {
|
|
19422
|
+
"schema" : {
|
|
19423
|
+
"$ref" : "#/components/schemas/SupportRequestCreate"
|
|
19424
|
+
}
|
|
19425
|
+
}
|
|
19426
|
+
},
|
|
19427
|
+
"required" : true
|
|
19428
|
+
},
|
|
19429
|
+
"responses" : {
|
|
19430
|
+
"202" : {
|
|
19431
|
+
"content" : {
|
|
19432
|
+
"application/json" : {
|
|
19433
|
+
"schema" : {
|
|
19434
|
+
"$ref" : "#/components/schemas/SupportRequestAccepted"
|
|
19435
|
+
}
|
|
19436
|
+
}
|
|
19437
|
+
},
|
|
19438
|
+
"description" : "Accepted"
|
|
19439
|
+
},
|
|
19440
|
+
"400" : {
|
|
19441
|
+
"description" : "Invalid request or attachments too large"
|
|
19442
|
+
},
|
|
19443
|
+
"401" : {
|
|
19444
|
+
"description" : "Unauthenticated"
|
|
19445
|
+
},
|
|
19446
|
+
"403" : {
|
|
19447
|
+
"description" : "Not a member of the organization"
|
|
19448
|
+
},
|
|
19449
|
+
"404" : {
|
|
19450
|
+
"description" : "Support form not enabled for this organization"
|
|
19451
|
+
},
|
|
19452
|
+
"429" : {
|
|
19453
|
+
"description" : "Too many requests"
|
|
19454
|
+
}
|
|
19455
|
+
},
|
|
19456
|
+
"summary" : "Send a support request from the support page form",
|
|
19457
|
+
"tags" : [ "support" ]
|
|
19458
|
+
}
|
|
19459
|
+
},
|
|
19185
19460
|
"/execution-nodes/{nodeId}/sessions/{sessionId}" : {
|
|
19186
19461
|
"get" : {
|
|
19187
19462
|
"operationId" : "getExecutionNodeSession",
|
|
@@ -26748,13 +27023,110 @@
|
|
|
26748
27023
|
"required" : [ "agentsByModel", "defaultEnginesByModel", "knowledgeBases" ],
|
|
26749
27024
|
"type" : "object"
|
|
26750
27025
|
},
|
|
26751
|
-
"
|
|
27026
|
+
"PlatformEngineAccess" : {
|
|
27027
|
+
"description" : "Organisations qui ont accès à chaque modèle d'un moteur plateforme.",
|
|
26752
27028
|
"properties" : {
|
|
26753
|
-
"
|
|
27029
|
+
"models" : {
|
|
27030
|
+
"items" : {
|
|
27031
|
+
"$ref" : "#/components/schemas/PlatformEngineAccess_models_inner"
|
|
27032
|
+
},
|
|
27033
|
+
"type" : "array"
|
|
27034
|
+
}
|
|
27035
|
+
},
|
|
27036
|
+
"required" : [ "models" ],
|
|
27037
|
+
"type" : "object"
|
|
27038
|
+
},
|
|
27039
|
+
"OrganizationModelAccess" : {
|
|
27040
|
+
"properties" : {
|
|
27041
|
+
"rules" : {
|
|
27042
|
+
"description" : "Seuls les modèles restreints, ou l'ayant été, figurent ici. Absent ⇒ tous les membres.",
|
|
27043
|
+
"items" : {
|
|
27044
|
+
"$ref" : "#/components/schemas/ModelUserAccess"
|
|
27045
|
+
},
|
|
27046
|
+
"type" : "array"
|
|
27047
|
+
}
|
|
27048
|
+
},
|
|
27049
|
+
"required" : [ "rules" ],
|
|
27050
|
+
"type" : "object"
|
|
27051
|
+
},
|
|
27052
|
+
"ModelUserAccess" : {
|
|
27053
|
+
"description" : "Restriction d'un modèle à certains membres d'une organisation.",
|
|
27054
|
+
"properties" : {
|
|
27055
|
+
"providerId" : {
|
|
27056
|
+
"type" : "string"
|
|
27057
|
+
},
|
|
27058
|
+
"modelId" : {
|
|
27059
|
+
"type" : "string"
|
|
27060
|
+
},
|
|
27061
|
+
"restrictToUsers" : {
|
|
27062
|
+
"description" : "Vrai ⇒ seuls `userIds` et les admins de l'organisation peuvent utiliser le modèle.",
|
|
26754
27063
|
"type" : "boolean"
|
|
27064
|
+
},
|
|
27065
|
+
"userIds" : {
|
|
27066
|
+
"items" : {
|
|
27067
|
+
"type" : "string"
|
|
27068
|
+
},
|
|
27069
|
+
"type" : "array"
|
|
27070
|
+
}
|
|
27071
|
+
},
|
|
27072
|
+
"required" : [ "modelId", "providerId", "restrictToUsers", "userIds" ],
|
|
27073
|
+
"type" : "object"
|
|
27074
|
+
},
|
|
27075
|
+
"SetModelUserAccess" : {
|
|
27076
|
+
"properties" : {
|
|
27077
|
+
"modelId" : {
|
|
27078
|
+
"type" : "string"
|
|
27079
|
+
},
|
|
27080
|
+
"restrictToUsers" : {
|
|
27081
|
+
"type" : "boolean"
|
|
27082
|
+
},
|
|
27083
|
+
"userIds" : {
|
|
27084
|
+
"items" : {
|
|
27085
|
+
"type" : "string"
|
|
27086
|
+
},
|
|
27087
|
+
"type" : "array"
|
|
26755
27088
|
}
|
|
26756
27089
|
},
|
|
26757
|
-
"required" : [ "
|
|
27090
|
+
"required" : [ "modelId", "restrictToUsers", "userIds" ],
|
|
27091
|
+
"type" : "object"
|
|
27092
|
+
},
|
|
27093
|
+
"Organization" : {
|
|
27094
|
+
"properties" : {
|
|
27095
|
+
"id" : {
|
|
27096
|
+
"type" : "string"
|
|
27097
|
+
},
|
|
27098
|
+
"name" : {
|
|
27099
|
+
"type" : "string"
|
|
27100
|
+
},
|
|
27101
|
+
"slug" : {
|
|
27102
|
+
"type" : "string"
|
|
27103
|
+
},
|
|
27104
|
+
"engine" : {
|
|
27105
|
+
"$ref" : "#/components/schemas/OrganizationEngine"
|
|
27106
|
+
},
|
|
27107
|
+
"ocr" : {
|
|
27108
|
+
"$ref" : "#/components/schemas/OrganizationOcrConfig"
|
|
27109
|
+
},
|
|
27110
|
+
"users" : {
|
|
27111
|
+
"items" : {
|
|
27112
|
+
"$ref" : "#/components/schemas/OrganizationUser"
|
|
27113
|
+
},
|
|
27114
|
+
"type" : "array"
|
|
27115
|
+
}
|
|
27116
|
+
},
|
|
27117
|
+
"required" : [ "id", "name", "slug" ],
|
|
27118
|
+
"type" : "object"
|
|
27119
|
+
},
|
|
27120
|
+
"OrganizationUser" : {
|
|
27121
|
+
"properties" : {
|
|
27122
|
+
"id" : {
|
|
27123
|
+
"type" : "string"
|
|
27124
|
+
},
|
|
27125
|
+
"role" : {
|
|
27126
|
+
"type" : "string"
|
|
27127
|
+
}
|
|
27128
|
+
},
|
|
27129
|
+
"required" : [ "id", "role" ],
|
|
26758
27130
|
"type" : "object"
|
|
26759
27131
|
},
|
|
26760
27132
|
"OrganisationPlatformEngineUsage" : {
|
|
@@ -26768,9 +27140,16 @@
|
|
|
26768
27140
|
},
|
|
26769
27141
|
"knowledgeBases" : {
|
|
26770
27142
|
"type" : "integer"
|
|
27143
|
+
},
|
|
27144
|
+
"models" : {
|
|
27145
|
+
"description" : "Le même usage, modèle par modèle.",
|
|
27146
|
+
"items" : {
|
|
27147
|
+
"$ref" : "#/components/schemas/OrganisationPlatformEngineUsage_models_inner"
|
|
27148
|
+
},
|
|
27149
|
+
"type" : "array"
|
|
26771
27150
|
}
|
|
26772
27151
|
},
|
|
26773
|
-
"required" : [ "agents", "defaultEngine", "knowledgeBases" ],
|
|
27152
|
+
"required" : [ "agents", "defaultEngine", "knowledgeBases", "models" ],
|
|
26774
27153
|
"type" : "object"
|
|
26775
27154
|
},
|
|
26776
27155
|
"FileWithDownloadUrl" : {
|
|
@@ -27222,49 +27601,6 @@
|
|
|
27222
27601
|
},
|
|
27223
27602
|
"type" : "object"
|
|
27224
27603
|
},
|
|
27225
|
-
"Organization" : {
|
|
27226
|
-
"properties" : {
|
|
27227
|
-
"id" : {
|
|
27228
|
-
"type" : "string"
|
|
27229
|
-
},
|
|
27230
|
-
"name" : {
|
|
27231
|
-
"type" : "string"
|
|
27232
|
-
},
|
|
27233
|
-
"slug" : {
|
|
27234
|
-
"type" : "string"
|
|
27235
|
-
},
|
|
27236
|
-
"engine" : {
|
|
27237
|
-
"$ref" : "#/components/schemas/OrganizationEngine"
|
|
27238
|
-
},
|
|
27239
|
-
"ocr" : {
|
|
27240
|
-
"$ref" : "#/components/schemas/OrganizationOcrConfig"
|
|
27241
|
-
},
|
|
27242
|
-
"allowPlatformEngines" : {
|
|
27243
|
-
"description" : "L'organisation peut choisir les moteurs plateforme Breign.",
|
|
27244
|
-
"type" : "boolean"
|
|
27245
|
-
},
|
|
27246
|
-
"users" : {
|
|
27247
|
-
"items" : {
|
|
27248
|
-
"$ref" : "#/components/schemas/OrganizationUser"
|
|
27249
|
-
},
|
|
27250
|
-
"type" : "array"
|
|
27251
|
-
}
|
|
27252
|
-
},
|
|
27253
|
-
"required" : [ "id", "name", "slug" ],
|
|
27254
|
-
"type" : "object"
|
|
27255
|
-
},
|
|
27256
|
-
"OrganizationUser" : {
|
|
27257
|
-
"properties" : {
|
|
27258
|
-
"id" : {
|
|
27259
|
-
"type" : "string"
|
|
27260
|
-
},
|
|
27261
|
-
"role" : {
|
|
27262
|
-
"type" : "string"
|
|
27263
|
-
}
|
|
27264
|
-
},
|
|
27265
|
-
"required" : [ "id", "role" ],
|
|
27266
|
-
"type" : "object"
|
|
27267
|
-
},
|
|
27268
27604
|
"Role" : {
|
|
27269
27605
|
"properties" : {
|
|
27270
27606
|
"id" : {
|
|
@@ -32179,6 +32515,93 @@
|
|
|
32179
32515
|
"enum" : [ "members", "admins", "none" ],
|
|
32180
32516
|
"type" : "string"
|
|
32181
32517
|
},
|
|
32518
|
+
"SupportSettings" : {
|
|
32519
|
+
"description" : "La page Support d'une organisation. Réglée par les superadmins ; lue par les membres pour afficher la page.",
|
|
32520
|
+
"properties" : {
|
|
32521
|
+
"enabled" : {
|
|
32522
|
+
"description" : "La page et son lien dans la barre latérale ne s'affichent que si elle est activée.",
|
|
32523
|
+
"type" : "boolean"
|
|
32524
|
+
},
|
|
32525
|
+
"chatAgentId" : {
|
|
32526
|
+
"description" : "Agent d'accueil de l'onglet Chat, de l'organisation. Null, pas d'onglet Chat.",
|
|
32527
|
+
"nullable" : true,
|
|
32528
|
+
"type" : "string"
|
|
32529
|
+
},
|
|
32530
|
+
"formAutomationId" : {
|
|
32531
|
+
"description" : "Automatisation déclenchée par webhook, de l'organisation, qui reçoit les demandes du formulaire. Null, pas d'onglet Formulaire.",
|
|
32532
|
+
"nullable" : true,
|
|
32533
|
+
"type" : "string"
|
|
32534
|
+
}
|
|
32535
|
+
},
|
|
32536
|
+
"required" : [ "chatAgentId", "enabled", "formAutomationId" ],
|
|
32537
|
+
"type" : "object"
|
|
32538
|
+
},
|
|
32539
|
+
"SupportRequestCreate" : {
|
|
32540
|
+
"description" : "Une demande de support ; le demandeur et son organisation sont ajoutés par l'API.",
|
|
32541
|
+
"properties" : {
|
|
32542
|
+
"requestId" : {
|
|
32543
|
+
"description" : "Tirée par le formulaire. Un second envoi avec la même clé ne crée rien de plus.",
|
|
32544
|
+
"format" : "uuid",
|
|
32545
|
+
"type" : "string"
|
|
32546
|
+
},
|
|
32547
|
+
"category" : {
|
|
32548
|
+
"enum" : [ "question", "bug", "account", "billing", "feature", "other" ],
|
|
32549
|
+
"type" : "string"
|
|
32550
|
+
},
|
|
32551
|
+
"subject" : {
|
|
32552
|
+
"maxLength" : 150,
|
|
32553
|
+
"type" : "string"
|
|
32554
|
+
},
|
|
32555
|
+
"description" : {
|
|
32556
|
+
"maxLength" : 5000,
|
|
32557
|
+
"type" : "string"
|
|
32558
|
+
},
|
|
32559
|
+
"urgency" : {
|
|
32560
|
+
"enum" : [ "low", "normal", "high", "critical" ],
|
|
32561
|
+
"type" : "string"
|
|
32562
|
+
},
|
|
32563
|
+
"attachments" : {
|
|
32564
|
+
"items" : {
|
|
32565
|
+
"$ref" : "#/components/schemas/SupportRequestAttachment"
|
|
32566
|
+
},
|
|
32567
|
+
"maxItems" : 3,
|
|
32568
|
+
"type" : "array"
|
|
32569
|
+
}
|
|
32570
|
+
},
|
|
32571
|
+
"required" : [ "category", "description", "requestId", "subject", "urgency" ],
|
|
32572
|
+
"type" : "object"
|
|
32573
|
+
},
|
|
32574
|
+
"SupportRequestAttachment" : {
|
|
32575
|
+
"properties" : {
|
|
32576
|
+
"name" : {
|
|
32577
|
+
"maxLength" : 255,
|
|
32578
|
+
"type" : "string"
|
|
32579
|
+
},
|
|
32580
|
+
"contentType" : {
|
|
32581
|
+
"maxLength" : 255,
|
|
32582
|
+
"type" : "string"
|
|
32583
|
+
},
|
|
32584
|
+
"contentBase64" : {
|
|
32585
|
+
"type" : "string"
|
|
32586
|
+
}
|
|
32587
|
+
},
|
|
32588
|
+
"required" : [ "contentBase64", "contentType", "name" ],
|
|
32589
|
+
"type" : "object"
|
|
32590
|
+
},
|
|
32591
|
+
"SupportRequestAccepted" : {
|
|
32592
|
+
"properties" : {
|
|
32593
|
+
"eventId" : {
|
|
32594
|
+
"description" : "L'événement mis en file sur l'automatisation, référence de la demande.",
|
|
32595
|
+
"nullable" : true,
|
|
32596
|
+
"type" : "string"
|
|
32597
|
+
},
|
|
32598
|
+
"duplicate" : {
|
|
32599
|
+
"type" : "boolean"
|
|
32600
|
+
}
|
|
32601
|
+
},
|
|
32602
|
+
"required" : [ "duplicate", "eventId" ],
|
|
32603
|
+
"type" : "object"
|
|
32604
|
+
},
|
|
32182
32605
|
"NodeSessionDetail" : {
|
|
32183
32606
|
"allOf" : [ {
|
|
32184
32607
|
"$ref" : "#/components/schemas/NodeSession"
|
|
@@ -35489,6 +35912,43 @@
|
|
|
35489
35912
|
"required" : [ "id", "name", "organizationId" ],
|
|
35490
35913
|
"type" : "object"
|
|
35491
35914
|
},
|
|
35915
|
+
"PlatformEngineAccess_models_inner" : {
|
|
35916
|
+
"properties" : {
|
|
35917
|
+
"modelId" : {
|
|
35918
|
+
"type" : "string"
|
|
35919
|
+
},
|
|
35920
|
+
"organizationIds" : {
|
|
35921
|
+
"items" : {
|
|
35922
|
+
"type" : "string"
|
|
35923
|
+
},
|
|
35924
|
+
"type" : "array"
|
|
35925
|
+
}
|
|
35926
|
+
},
|
|
35927
|
+
"required" : [ "modelId", "organizationIds" ],
|
|
35928
|
+
"type" : "object"
|
|
35929
|
+
},
|
|
35930
|
+
"OrganisationPlatformEngineUsage_models_inner" : {
|
|
35931
|
+
"properties" : {
|
|
35932
|
+
"providerId" : {
|
|
35933
|
+
"type" : "string"
|
|
35934
|
+
},
|
|
35935
|
+
"modelId" : {
|
|
35936
|
+
"type" : "string"
|
|
35937
|
+
},
|
|
35938
|
+
"agents" : {
|
|
35939
|
+
"type" : "integer"
|
|
35940
|
+
},
|
|
35941
|
+
"defaultEngine" : {
|
|
35942
|
+
"type" : "boolean"
|
|
35943
|
+
},
|
|
35944
|
+
"knowledgeBases" : {
|
|
35945
|
+
"description" : "Bases de connaissances indexées avec ce modèle d'embedding.",
|
|
35946
|
+
"type" : "integer"
|
|
35947
|
+
}
|
|
35948
|
+
},
|
|
35949
|
+
"required" : [ "agents", "defaultEngine", "knowledgeBases", "modelId", "providerId" ],
|
|
35950
|
+
"type" : "object"
|
|
35951
|
+
},
|
|
35492
35952
|
"MetricForAgent_identifier" : {
|
|
35493
35953
|
"properties" : {
|
|
35494
35954
|
"agentId" : {
|