@breign/client 1.0.128 → 1.0.130
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 +103 -0
- package/dist/apis/AdminApi.js +267 -0
- package/dist/apis/ConversationsApi.d.ts +14 -1
- package/dist/apis/ConversationsApi.js +29 -0
- package/dist/apis/GuardiansApi.d.ts +15 -1
- package/dist/apis/GuardiansApi.js +34 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AnonymizationStatusUio.d.ts +27 -0
- package/dist/models/AnonymizationStatusUio.js +53 -0
- package/dist/models/AnonymizeRequestUio.d.ts +32 -0
- package/dist/models/AnonymizeRequestUio.js +50 -0
- package/dist/models/AnonymizeResponseUio.d.ts +32 -0
- package/dist/models/AnonymizeResponseUio.js +48 -0
- package/dist/models/ChatMessageUio.d.ts +6 -0
- package/dist/models/ChatMessageUio.js +2 -0
- package/dist/models/GuardianPutRequestUio.d.ts +13 -0
- package/dist/models/GuardianPutRequestUio.js +5 -0
- package/dist/models/GuardianRoleUio.d.ts +1 -1
- package/dist/models/GuardianRoleUio.js +1 -1
- package/dist/models/GuardianUio.d.ts +13 -0
- package/dist/models/GuardianUio.js +5 -0
- package/dist/models/MessageAnonymizationUio.d.ts +93 -0
- package/dist/models/MessageAnonymizationUio.js +85 -0
- package/dist/models/RegexPatternUio.d.ts +56 -0
- package/dist/models/RegexPatternUio.js +66 -0
- package/dist/models/ToolPresetCreateRequestUio.d.ts +118 -0
- package/dist/models/ToolPresetCreateRequestUio.js +86 -0
- package/dist/models/ToolPresetDeleteAllResponseUio.d.ts +32 -0
- package/dist/models/ToolPresetDeleteAllResponseUio.js +50 -0
- package/dist/models/ToolPresetImportItemUio.d.ts +136 -0
- package/dist/models/ToolPresetImportItemUio.js +92 -0
- package/dist/models/ToolPresetImportRequestUio.d.ts +33 -0
- package/dist/models/ToolPresetImportRequestUio.js +51 -0
- package/dist/models/ToolPresetImportResponseUio.d.ts +38 -0
- package/dist/models/ToolPresetImportResponseUio.js +54 -0
- package/dist/models/ToolPresetOAuthRegistrationUio.d.ts +26 -0
- package/dist/models/ToolPresetOAuthRegistrationUio.js +52 -0
- package/dist/models/ToolPresetPageUio.d.ts +63 -0
- package/dist/models/ToolPresetPageUio.js +71 -0
- package/dist/models/ToolPresetTransportUio.d.ts +25 -0
- package/dist/models/ToolPresetTransportUio.js +51 -0
- package/dist/models/ToolPresetUio.d.ts +136 -0
- package/dist/models/ToolPresetUio.js +112 -0
- package/dist/models/ToolPresetUpdateRequestUio.d.ts +118 -0
- package/dist/models/ToolPresetUpdateRequestUio.js +78 -0
- package/dist/models/index.d.ts +15 -0
- package/dist/models/index.js +15 -0
- package/dist/openapi.json +938 -109
- package/package.json +1 -1
package/dist/openapi.json
CHANGED
|
@@ -78,6 +78,9 @@
|
|
|
78
78
|
}, {
|
|
79
79
|
"description" : "OpenAI-compatible inference gateway endpoints",
|
|
80
80
|
"name" : "ai-gateway"
|
|
81
|
+
}, {
|
|
82
|
+
"description" : "Super-admin only endpoints",
|
|
83
|
+
"name" : "admin"
|
|
81
84
|
} ],
|
|
82
85
|
"paths" : {
|
|
83
86
|
"/health" : {
|
|
@@ -5821,6 +5824,50 @@
|
|
|
5821
5824
|
"tags" : [ "conversations" ]
|
|
5822
5825
|
}
|
|
5823
5826
|
},
|
|
5827
|
+
"/conversations/{conversationId}/anonymization" : {
|
|
5828
|
+
"get" : {
|
|
5829
|
+
"description" : "Retrieve the list of anonymized messages for a given conversation.",
|
|
5830
|
+
"operationId" : "getAnonymizedMessages",
|
|
5831
|
+
"parameters" : [ {
|
|
5832
|
+
"description" : "The ID of the conversation",
|
|
5833
|
+
"in" : "path",
|
|
5834
|
+
"name" : "conversationId",
|
|
5835
|
+
"required" : true,
|
|
5836
|
+
"schema" : {
|
|
5837
|
+
"type" : "string"
|
|
5838
|
+
}
|
|
5839
|
+
} ],
|
|
5840
|
+
"responses" : {
|
|
5841
|
+
"200" : {
|
|
5842
|
+
"content" : {
|
|
5843
|
+
"application/json" : {
|
|
5844
|
+
"schema" : {
|
|
5845
|
+
"items" : {
|
|
5846
|
+
"$ref" : "#/components/schemas/MessageAnonymization"
|
|
5847
|
+
},
|
|
5848
|
+
"type" : "array"
|
|
5849
|
+
}
|
|
5850
|
+
}
|
|
5851
|
+
},
|
|
5852
|
+
"description" : "Successfully retrieved the list of anonymized messages."
|
|
5853
|
+
},
|
|
5854
|
+
"401" : {
|
|
5855
|
+
"description" : "Unauthorized"
|
|
5856
|
+
},
|
|
5857
|
+
"403" : {
|
|
5858
|
+
"description" : "Forbidden - User cannot access this conversation"
|
|
5859
|
+
},
|
|
5860
|
+
"404" : {
|
|
5861
|
+
"description" : "Conversation not found"
|
|
5862
|
+
},
|
|
5863
|
+
"500" : {
|
|
5864
|
+
"description" : "Server error"
|
|
5865
|
+
}
|
|
5866
|
+
},
|
|
5867
|
+
"summary" : "Get the anonymized messages of a conversation",
|
|
5868
|
+
"tags" : [ "conversations" ]
|
|
5869
|
+
}
|
|
5870
|
+
},
|
|
5824
5871
|
"/engines/default" : {
|
|
5825
5872
|
"put" : {
|
|
5826
5873
|
"description" : "Update the default engine for an organization",
|
|
@@ -7176,6 +7223,60 @@
|
|
|
7176
7223
|
"tags" : [ "guardians" ]
|
|
7177
7224
|
}
|
|
7178
7225
|
},
|
|
7226
|
+
"/guardians/{guardianId}/anonymize" : {
|
|
7227
|
+
"post" : {
|
|
7228
|
+
"description" : "Test the Anonymization of a guardian",
|
|
7229
|
+
"operationId" : "testAnonymize",
|
|
7230
|
+
"parameters" : [ {
|
|
7231
|
+
"description" : "ID of the guardian",
|
|
7232
|
+
"in" : "path",
|
|
7233
|
+
"name" : "guardianId",
|
|
7234
|
+
"required" : true,
|
|
7235
|
+
"schema" : {
|
|
7236
|
+
"type" : "string"
|
|
7237
|
+
}
|
|
7238
|
+
} ],
|
|
7239
|
+
"requestBody" : {
|
|
7240
|
+
"content" : {
|
|
7241
|
+
"application/json" : {
|
|
7242
|
+
"schema" : {
|
|
7243
|
+
"$ref" : "#/components/schemas/AnonymizeRequest"
|
|
7244
|
+
}
|
|
7245
|
+
}
|
|
7246
|
+
},
|
|
7247
|
+
"required" : true
|
|
7248
|
+
},
|
|
7249
|
+
"responses" : {
|
|
7250
|
+
"200" : {
|
|
7251
|
+
"content" : {
|
|
7252
|
+
"application/json" : {
|
|
7253
|
+
"schema" : {
|
|
7254
|
+
"$ref" : "#/components/schemas/AnonymizeResponse"
|
|
7255
|
+
}
|
|
7256
|
+
}
|
|
7257
|
+
},
|
|
7258
|
+
"description" : "Text anonymized successfully"
|
|
7259
|
+
},
|
|
7260
|
+
"400" : {
|
|
7261
|
+
"description" : "Invalid request body"
|
|
7262
|
+
},
|
|
7263
|
+
"401" : {
|
|
7264
|
+
"description" : "Unauthorized"
|
|
7265
|
+
},
|
|
7266
|
+
"403" : {
|
|
7267
|
+
"description" : "Forbidden - User doesn't have permission"
|
|
7268
|
+
},
|
|
7269
|
+
"404" : {
|
|
7270
|
+
"description" : "Guardian not found"
|
|
7271
|
+
},
|
|
7272
|
+
"500" : {
|
|
7273
|
+
"description" : "Server error"
|
|
7274
|
+
}
|
|
7275
|
+
},
|
|
7276
|
+
"summary" : "Test the Anonymization of a guardian",
|
|
7277
|
+
"tags" : [ "guardians" ]
|
|
7278
|
+
}
|
|
7279
|
+
},
|
|
7179
7280
|
"/organizations" : {
|
|
7180
7281
|
"get" : {
|
|
7181
7282
|
"description" : "Lists all organizations for the current user. Admins see all organizations.",
|
|
@@ -12665,114 +12766,387 @@
|
|
|
12665
12766
|
"summary" : "Create a chat completion using the native OpenAI client",
|
|
12666
12767
|
"tags" : [ "ai-gateway" ]
|
|
12667
12768
|
}
|
|
12668
|
-
}
|
|
12669
|
-
|
|
12670
|
-
|
|
12671
|
-
|
|
12672
|
-
|
|
12673
|
-
"
|
|
12674
|
-
|
|
12675
|
-
|
|
12676
|
-
|
|
12677
|
-
|
|
12678
|
-
|
|
12679
|
-
|
|
12680
|
-
|
|
12681
|
-
|
|
12682
|
-
|
|
12683
|
-
|
|
12684
|
-
|
|
12685
|
-
|
|
12686
|
-
|
|
12687
|
-
|
|
12688
|
-
|
|
12689
|
-
|
|
12690
|
-
}
|
|
12691
|
-
|
|
12692
|
-
|
|
12693
|
-
"description" : "Start date for metrics (ISO format)",
|
|
12694
|
-
"in" : "query",
|
|
12695
|
-
"name" : "startDate",
|
|
12696
|
-
"schema" : {
|
|
12697
|
-
"type" : "string"
|
|
12698
|
-
}
|
|
12699
|
-
},
|
|
12700
|
-
"endDate" : {
|
|
12701
|
-
"description" : "End date for metrics (ISO format)",
|
|
12702
|
-
"in" : "query",
|
|
12703
|
-
"name" : "endDate",
|
|
12704
|
-
"schema" : {
|
|
12705
|
-
"type" : "string"
|
|
12706
|
-
}
|
|
12707
|
-
},
|
|
12708
|
-
"flowIdPath" : {
|
|
12709
|
-
"description" : "ID of the flow to retrieve",
|
|
12710
|
-
"in" : "path",
|
|
12711
|
-
"name" : "flowId",
|
|
12712
|
-
"required" : true,
|
|
12713
|
-
"schema" : {
|
|
12714
|
-
"format" : "uuid",
|
|
12715
|
-
"type" : "string"
|
|
12716
|
-
}
|
|
12717
|
-
},
|
|
12718
|
-
"language" : {
|
|
12719
|
-
"description" : "Language code for transcription (optional)",
|
|
12720
|
-
"in" : "query",
|
|
12721
|
-
"name" : "language",
|
|
12722
|
-
"schema" : {
|
|
12723
|
-
"type" : "string"
|
|
12724
|
-
}
|
|
12725
|
-
},
|
|
12726
|
-
"dry" : {
|
|
12727
|
-
"description" : "If true, returns a mock transcription without processing the file",
|
|
12728
|
-
"in" : "query",
|
|
12729
|
-
"name" : "dry",
|
|
12730
|
-
"schema" : {
|
|
12731
|
-
"type" : "boolean"
|
|
12732
|
-
}
|
|
12733
|
-
},
|
|
12734
|
-
"page" : {
|
|
12735
|
-
"description" : "Page number",
|
|
12736
|
-
"in" : "query",
|
|
12737
|
-
"name" : "page",
|
|
12738
|
-
"schema" : {
|
|
12739
|
-
"type" : "integer"
|
|
12740
|
-
}
|
|
12741
|
-
},
|
|
12742
|
-
"search" : {
|
|
12743
|
-
"description" : "Search by custom user id or user email",
|
|
12744
|
-
"in" : "query",
|
|
12745
|
-
"name" : "search",
|
|
12746
|
-
"schema" : {
|
|
12747
|
-
"type" : "string"
|
|
12748
|
-
}
|
|
12749
|
-
},
|
|
12750
|
-
"messageSearch" : {
|
|
12751
|
-
"description" : "Search conversations by message content",
|
|
12752
|
-
"in" : "query",
|
|
12753
|
-
"name" : "messageSearch",
|
|
12754
|
-
"schema" : {
|
|
12755
|
-
"type" : "string"
|
|
12756
|
-
}
|
|
12757
|
-
},
|
|
12758
|
-
"conversationId" : {
|
|
12759
|
-
"description" : "Filter by conversation id (exact or partial match)",
|
|
12760
|
-
"in" : "query",
|
|
12761
|
-
"name" : "conversationId",
|
|
12762
|
-
"schema" : {
|
|
12763
|
-
"type" : "string"
|
|
12764
|
-
}
|
|
12769
|
+
},
|
|
12770
|
+
"/admin/tool-presets" : {
|
|
12771
|
+
"delete" : {
|
|
12772
|
+
"description" : "Clears the shared tool library",
|
|
12773
|
+
"operationId" : "deleteAllAdminToolPresets",
|
|
12774
|
+
"responses" : {
|
|
12775
|
+
"200" : {
|
|
12776
|
+
"content" : {
|
|
12777
|
+
"application/json" : {
|
|
12778
|
+
"schema" : {
|
|
12779
|
+
"$ref" : "#/components/schemas/ToolPresetDeleteAllResponse"
|
|
12780
|
+
}
|
|
12781
|
+
}
|
|
12782
|
+
},
|
|
12783
|
+
"description" : "Tool library cleared"
|
|
12784
|
+
},
|
|
12785
|
+
"401" : {
|
|
12786
|
+
"description" : "Unauthorized"
|
|
12787
|
+
},
|
|
12788
|
+
"403" : {
|
|
12789
|
+
"description" : "Forbidden"
|
|
12790
|
+
}
|
|
12791
|
+
},
|
|
12792
|
+
"summary" : "Delete every tool preset",
|
|
12793
|
+
"tags" : [ "admin" ]
|
|
12765
12794
|
},
|
|
12766
|
-
"
|
|
12767
|
-
"description" : "
|
|
12768
|
-
"
|
|
12769
|
-
"
|
|
12770
|
-
|
|
12771
|
-
"
|
|
12772
|
-
|
|
12795
|
+
"get" : {
|
|
12796
|
+
"description" : "Returns a page of the shared tool library, including inactive presets. Use /admin/tool-presets/export to retrieve the whole library at once.",
|
|
12797
|
+
"operationId" : "getAdminToolPresets",
|
|
12798
|
+
"parameters" : [ {
|
|
12799
|
+
"description" : "Page number, starting at 1",
|
|
12800
|
+
"in" : "query",
|
|
12801
|
+
"name" : "page",
|
|
12802
|
+
"schema" : {
|
|
12803
|
+
"default" : 1,
|
|
12804
|
+
"minimum" : 1,
|
|
12805
|
+
"type" : "integer"
|
|
12806
|
+
}
|
|
12807
|
+
}, {
|
|
12808
|
+
"description" : "Maximum number of tool presets to return",
|
|
12809
|
+
"in" : "query",
|
|
12810
|
+
"name" : "limit",
|
|
12811
|
+
"schema" : {
|
|
12812
|
+
"default" : 25,
|
|
12813
|
+
"maximum" : 100,
|
|
12814
|
+
"minimum" : 1,
|
|
12815
|
+
"type" : "integer"
|
|
12816
|
+
}
|
|
12817
|
+
}, {
|
|
12818
|
+
"description" : "Search tool presets by name, slug, url or description",
|
|
12819
|
+
"in" : "query",
|
|
12820
|
+
"name" : "search",
|
|
12821
|
+
"schema" : {
|
|
12822
|
+
"type" : "string"
|
|
12823
|
+
}
|
|
12824
|
+
}, {
|
|
12825
|
+
"description" : "Filter tool presets by category",
|
|
12826
|
+
"in" : "query",
|
|
12827
|
+
"name" : "category",
|
|
12828
|
+
"schema" : {
|
|
12829
|
+
"type" : "string"
|
|
12830
|
+
}
|
|
12831
|
+
} ],
|
|
12832
|
+
"responses" : {
|
|
12833
|
+
"200" : {
|
|
12834
|
+
"content" : {
|
|
12835
|
+
"application/json" : {
|
|
12836
|
+
"schema" : {
|
|
12837
|
+
"$ref" : "#/components/schemas/ToolPresetPage"
|
|
12838
|
+
}
|
|
12839
|
+
}
|
|
12840
|
+
},
|
|
12841
|
+
"description" : "Tool presets retrieved successfully"
|
|
12842
|
+
},
|
|
12843
|
+
"401" : {
|
|
12844
|
+
"description" : "Unauthorized"
|
|
12845
|
+
},
|
|
12846
|
+
"403" : {
|
|
12847
|
+
"description" : "Forbidden"
|
|
12848
|
+
}
|
|
12849
|
+
},
|
|
12850
|
+
"summary" : "List tool presets",
|
|
12851
|
+
"tags" : [ "admin" ]
|
|
12773
12852
|
},
|
|
12774
|
-
"
|
|
12775
|
-
"
|
|
12853
|
+
"post" : {
|
|
12854
|
+
"operationId" : "createAdminToolPreset",
|
|
12855
|
+
"requestBody" : {
|
|
12856
|
+
"content" : {
|
|
12857
|
+
"application/json" : {
|
|
12858
|
+
"schema" : {
|
|
12859
|
+
"$ref" : "#/components/schemas/ToolPresetCreateRequest"
|
|
12860
|
+
}
|
|
12861
|
+
}
|
|
12862
|
+
},
|
|
12863
|
+
"required" : true
|
|
12864
|
+
},
|
|
12865
|
+
"responses" : {
|
|
12866
|
+
"201" : {
|
|
12867
|
+
"content" : {
|
|
12868
|
+
"application/json" : {
|
|
12869
|
+
"schema" : {
|
|
12870
|
+
"$ref" : "#/components/schemas/ToolPreset"
|
|
12871
|
+
}
|
|
12872
|
+
}
|
|
12873
|
+
},
|
|
12874
|
+
"description" : "Tool preset created"
|
|
12875
|
+
},
|
|
12876
|
+
"400" : {
|
|
12877
|
+
"description" : "Invalid payload"
|
|
12878
|
+
},
|
|
12879
|
+
"401" : {
|
|
12880
|
+
"description" : "Unauthorized"
|
|
12881
|
+
},
|
|
12882
|
+
"403" : {
|
|
12883
|
+
"description" : "Forbidden"
|
|
12884
|
+
},
|
|
12885
|
+
"409" : {
|
|
12886
|
+
"description" : "TOOL_PRESET_SLUG_ALREADY_EXISTS"
|
|
12887
|
+
}
|
|
12888
|
+
},
|
|
12889
|
+
"summary" : "Create a tool preset",
|
|
12890
|
+
"tags" : [ "admin" ]
|
|
12891
|
+
}
|
|
12892
|
+
},
|
|
12893
|
+
"/admin/tool-presets/export" : {
|
|
12894
|
+
"get" : {
|
|
12895
|
+
"description" : "Returns the whole shared tool library at once, without pagination. The payload can be fed back as-is to /admin/tool-presets/import.",
|
|
12896
|
+
"operationId" : "exportAdminToolPresets",
|
|
12897
|
+
"responses" : {
|
|
12898
|
+
"200" : {
|
|
12899
|
+
"content" : {
|
|
12900
|
+
"application/json" : {
|
|
12901
|
+
"schema" : {
|
|
12902
|
+
"items" : {
|
|
12903
|
+
"$ref" : "#/components/schemas/ToolPreset"
|
|
12904
|
+
},
|
|
12905
|
+
"type" : "array"
|
|
12906
|
+
}
|
|
12907
|
+
}
|
|
12908
|
+
},
|
|
12909
|
+
"description" : "Tool library exported successfully"
|
|
12910
|
+
},
|
|
12911
|
+
"401" : {
|
|
12912
|
+
"description" : "Unauthorized"
|
|
12913
|
+
},
|
|
12914
|
+
"403" : {
|
|
12915
|
+
"description" : "Forbidden"
|
|
12916
|
+
}
|
|
12917
|
+
},
|
|
12918
|
+
"summary" : "Export every tool preset",
|
|
12919
|
+
"tags" : [ "admin" ]
|
|
12920
|
+
}
|
|
12921
|
+
},
|
|
12922
|
+
"/admin/tool-presets/import" : {
|
|
12923
|
+
"post" : {
|
|
12924
|
+
"description" : "Replaces the presets that already exist (matched on their slug) and adds the new ones. Presets absent from the payload are left untouched.",
|
|
12925
|
+
"operationId" : "importAdminToolPresets",
|
|
12926
|
+
"requestBody" : {
|
|
12927
|
+
"content" : {
|
|
12928
|
+
"application/json" : {
|
|
12929
|
+
"schema" : {
|
|
12930
|
+
"$ref" : "#/components/schemas/ToolPresetImportRequest"
|
|
12931
|
+
}
|
|
12932
|
+
}
|
|
12933
|
+
},
|
|
12934
|
+
"required" : true
|
|
12935
|
+
},
|
|
12936
|
+
"responses" : {
|
|
12937
|
+
"200" : {
|
|
12938
|
+
"content" : {
|
|
12939
|
+
"application/json" : {
|
|
12940
|
+
"schema" : {
|
|
12941
|
+
"$ref" : "#/components/schemas/ToolPresetImportResponse"
|
|
12942
|
+
}
|
|
12943
|
+
}
|
|
12944
|
+
},
|
|
12945
|
+
"description" : "Import completed"
|
|
12946
|
+
},
|
|
12947
|
+
"400" : {
|
|
12948
|
+
"description" : "Invalid payload or duplicated slug"
|
|
12949
|
+
},
|
|
12950
|
+
"401" : {
|
|
12951
|
+
"description" : "Unauthorized"
|
|
12952
|
+
},
|
|
12953
|
+
"403" : {
|
|
12954
|
+
"description" : "Forbidden"
|
|
12955
|
+
}
|
|
12956
|
+
},
|
|
12957
|
+
"summary" : "Import tool presets",
|
|
12958
|
+
"tags" : [ "admin" ]
|
|
12959
|
+
}
|
|
12960
|
+
},
|
|
12961
|
+
"/admin/tool-presets/{toolPresetId}" : {
|
|
12962
|
+
"delete" : {
|
|
12963
|
+
"operationId" : "deleteAdminToolPreset",
|
|
12964
|
+
"parameters" : [ {
|
|
12965
|
+
"description" : "Tool preset identifier",
|
|
12966
|
+
"in" : "path",
|
|
12967
|
+
"name" : "toolPresetId",
|
|
12968
|
+
"required" : true,
|
|
12969
|
+
"schema" : {
|
|
12970
|
+
"type" : "string"
|
|
12971
|
+
}
|
|
12972
|
+
} ],
|
|
12973
|
+
"responses" : {
|
|
12974
|
+
"204" : {
|
|
12975
|
+
"description" : "Deleted"
|
|
12976
|
+
},
|
|
12977
|
+
"401" : {
|
|
12978
|
+
"description" : "Unauthorized"
|
|
12979
|
+
},
|
|
12980
|
+
"403" : {
|
|
12981
|
+
"description" : "Forbidden"
|
|
12982
|
+
},
|
|
12983
|
+
"404" : {
|
|
12984
|
+
"description" : "TOOL_PRESET_NOT_FOUND"
|
|
12985
|
+
}
|
|
12986
|
+
},
|
|
12987
|
+
"summary" : "Delete a tool preset",
|
|
12988
|
+
"tags" : [ "admin" ]
|
|
12989
|
+
},
|
|
12990
|
+
"put" : {
|
|
12991
|
+
"description" : "Partial update — only the provided properties are modified",
|
|
12992
|
+
"operationId" : "updateAdminToolPreset",
|
|
12993
|
+
"parameters" : [ {
|
|
12994
|
+
"description" : "Tool preset identifier",
|
|
12995
|
+
"in" : "path",
|
|
12996
|
+
"name" : "toolPresetId",
|
|
12997
|
+
"required" : true,
|
|
12998
|
+
"schema" : {
|
|
12999
|
+
"type" : "string"
|
|
13000
|
+
}
|
|
13001
|
+
} ],
|
|
13002
|
+
"requestBody" : {
|
|
13003
|
+
"content" : {
|
|
13004
|
+
"application/json" : {
|
|
13005
|
+
"schema" : {
|
|
13006
|
+
"$ref" : "#/components/schemas/ToolPresetUpdateRequest"
|
|
13007
|
+
}
|
|
13008
|
+
}
|
|
13009
|
+
},
|
|
13010
|
+
"required" : true
|
|
13011
|
+
},
|
|
13012
|
+
"responses" : {
|
|
13013
|
+
"200" : {
|
|
13014
|
+
"content" : {
|
|
13015
|
+
"application/json" : {
|
|
13016
|
+
"schema" : {
|
|
13017
|
+
"$ref" : "#/components/schemas/ToolPreset"
|
|
13018
|
+
}
|
|
13019
|
+
}
|
|
13020
|
+
},
|
|
13021
|
+
"description" : "Tool preset updated"
|
|
13022
|
+
},
|
|
13023
|
+
"400" : {
|
|
13024
|
+
"description" : "Invalid payload"
|
|
13025
|
+
},
|
|
13026
|
+
"401" : {
|
|
13027
|
+
"description" : "Unauthorized"
|
|
13028
|
+
},
|
|
13029
|
+
"403" : {
|
|
13030
|
+
"description" : "Forbidden"
|
|
13031
|
+
},
|
|
13032
|
+
"404" : {
|
|
13033
|
+
"description" : "TOOL_PRESET_NOT_FOUND"
|
|
13034
|
+
},
|
|
13035
|
+
"409" : {
|
|
13036
|
+
"description" : "TOOL_PRESET_SLUG_ALREADY_EXISTS"
|
|
13037
|
+
}
|
|
13038
|
+
},
|
|
13039
|
+
"summary" : "Update a tool preset",
|
|
13040
|
+
"tags" : [ "admin" ]
|
|
13041
|
+
}
|
|
13042
|
+
}
|
|
13043
|
+
},
|
|
13044
|
+
"components" : {
|
|
13045
|
+
"parameters" : {
|
|
13046
|
+
"providerSource" : {
|
|
13047
|
+
"description" : "Filter by provider source.",
|
|
13048
|
+
"in" : "query",
|
|
13049
|
+
"name" : "providerSource",
|
|
13050
|
+
"required" : false,
|
|
13051
|
+
"schema" : {
|
|
13052
|
+
"enum" : [ "EXTERNAL", "INTERNAL" ],
|
|
13053
|
+
"type" : "string"
|
|
13054
|
+
}
|
|
13055
|
+
},
|
|
13056
|
+
"agentIdPath" : {
|
|
13057
|
+
"description" : "ID of the agent",
|
|
13058
|
+
"in" : "path",
|
|
13059
|
+
"name" : "agentId",
|
|
13060
|
+
"required" : true,
|
|
13061
|
+
"schema" : {
|
|
13062
|
+
"format" : "uuid",
|
|
13063
|
+
"type" : "string"
|
|
13064
|
+
}
|
|
13065
|
+
},
|
|
13066
|
+
"startDate" : {
|
|
13067
|
+
"description" : "Start date for metrics (ISO format)",
|
|
13068
|
+
"in" : "query",
|
|
13069
|
+
"name" : "startDate",
|
|
13070
|
+
"schema" : {
|
|
13071
|
+
"type" : "string"
|
|
13072
|
+
}
|
|
13073
|
+
},
|
|
13074
|
+
"endDate" : {
|
|
13075
|
+
"description" : "End date for metrics (ISO format)",
|
|
13076
|
+
"in" : "query",
|
|
13077
|
+
"name" : "endDate",
|
|
13078
|
+
"schema" : {
|
|
13079
|
+
"type" : "string"
|
|
13080
|
+
}
|
|
13081
|
+
},
|
|
13082
|
+
"flowIdPath" : {
|
|
13083
|
+
"description" : "ID of the flow to retrieve",
|
|
13084
|
+
"in" : "path",
|
|
13085
|
+
"name" : "flowId",
|
|
13086
|
+
"required" : true,
|
|
13087
|
+
"schema" : {
|
|
13088
|
+
"format" : "uuid",
|
|
13089
|
+
"type" : "string"
|
|
13090
|
+
}
|
|
13091
|
+
},
|
|
13092
|
+
"language" : {
|
|
13093
|
+
"description" : "Language code for transcription (optional)",
|
|
13094
|
+
"in" : "query",
|
|
13095
|
+
"name" : "language",
|
|
13096
|
+
"schema" : {
|
|
13097
|
+
"type" : "string"
|
|
13098
|
+
}
|
|
13099
|
+
},
|
|
13100
|
+
"dry" : {
|
|
13101
|
+
"description" : "If true, returns a mock transcription without processing the file",
|
|
13102
|
+
"in" : "query",
|
|
13103
|
+
"name" : "dry",
|
|
13104
|
+
"schema" : {
|
|
13105
|
+
"type" : "boolean"
|
|
13106
|
+
}
|
|
13107
|
+
},
|
|
13108
|
+
"page" : {
|
|
13109
|
+
"description" : "Page number",
|
|
13110
|
+
"in" : "query",
|
|
13111
|
+
"name" : "page",
|
|
13112
|
+
"schema" : {
|
|
13113
|
+
"type" : "integer"
|
|
13114
|
+
}
|
|
13115
|
+
},
|
|
13116
|
+
"search" : {
|
|
13117
|
+
"description" : "Search by custom user id or user email",
|
|
13118
|
+
"in" : "query",
|
|
13119
|
+
"name" : "search",
|
|
13120
|
+
"schema" : {
|
|
13121
|
+
"type" : "string"
|
|
13122
|
+
}
|
|
13123
|
+
},
|
|
13124
|
+
"messageSearch" : {
|
|
13125
|
+
"description" : "Search conversations by message content",
|
|
13126
|
+
"in" : "query",
|
|
13127
|
+
"name" : "messageSearch",
|
|
13128
|
+
"schema" : {
|
|
13129
|
+
"type" : "string"
|
|
13130
|
+
}
|
|
13131
|
+
},
|
|
13132
|
+
"conversationId" : {
|
|
13133
|
+
"description" : "Filter by conversation id (exact or partial match)",
|
|
13134
|
+
"in" : "query",
|
|
13135
|
+
"name" : "conversationId",
|
|
13136
|
+
"schema" : {
|
|
13137
|
+
"type" : "string"
|
|
13138
|
+
}
|
|
13139
|
+
},
|
|
13140
|
+
"messageId" : {
|
|
13141
|
+
"description" : "Filter conversations containing a message with this id (exact or partial match)",
|
|
13142
|
+
"in" : "query",
|
|
13143
|
+
"name" : "messageId",
|
|
13144
|
+
"schema" : {
|
|
13145
|
+
"type" : "string"
|
|
13146
|
+
}
|
|
13147
|
+
},
|
|
13148
|
+
"appId" : {
|
|
13149
|
+
"description" : "App id",
|
|
12776
13150
|
"in" : "query",
|
|
12777
13151
|
"name" : "appId",
|
|
12778
13152
|
"schema" : {
|
|
@@ -13224,8 +13598,17 @@
|
|
|
13224
13598
|
"schema" : {
|
|
13225
13599
|
"type" : "string"
|
|
13226
13600
|
}
|
|
13227
|
-
}
|
|
13228
|
-
|
|
13601
|
+
},
|
|
13602
|
+
"toolPresetIdPath" : {
|
|
13603
|
+
"description" : "Tool preset identifier",
|
|
13604
|
+
"in" : "path",
|
|
13605
|
+
"name" : "toolPresetId",
|
|
13606
|
+
"required" : true,
|
|
13607
|
+
"schema" : {
|
|
13608
|
+
"type" : "string"
|
|
13609
|
+
}
|
|
13610
|
+
}
|
|
13611
|
+
},
|
|
13229
13612
|
"schemas" : {
|
|
13230
13613
|
"AudioFillerExistsResponse" : {
|
|
13231
13614
|
"additionalProperties" : {
|
|
@@ -14840,6 +15223,9 @@
|
|
|
14840
15223
|
"askConfirmation" : {
|
|
14841
15224
|
"type" : "boolean"
|
|
14842
15225
|
},
|
|
15226
|
+
"anonymizedContent" : {
|
|
15227
|
+
"type" : "string"
|
|
15228
|
+
},
|
|
14843
15229
|
"confirmationLink" : {
|
|
14844
15230
|
"type" : "string"
|
|
14845
15231
|
},
|
|
@@ -16836,6 +17222,48 @@
|
|
|
16836
17222
|
"required" : [ "content", "mimeType", "path", "size", "updatedAt", "version" ],
|
|
16837
17223
|
"type" : "object"
|
|
16838
17224
|
},
|
|
17225
|
+
"MessageAnonymization" : {
|
|
17226
|
+
"additionalProperties" : false,
|
|
17227
|
+
"properties" : {
|
|
17228
|
+
"id" : {
|
|
17229
|
+
"type" : "string"
|
|
17230
|
+
},
|
|
17231
|
+
"conversationId" : {
|
|
17232
|
+
"type" : "string"
|
|
17233
|
+
},
|
|
17234
|
+
"messageId" : {
|
|
17235
|
+
"type" : "string"
|
|
17236
|
+
},
|
|
17237
|
+
"guardianId" : {
|
|
17238
|
+
"type" : "string"
|
|
17239
|
+
},
|
|
17240
|
+
"originalContent" : {
|
|
17241
|
+
"type" : "string"
|
|
17242
|
+
},
|
|
17243
|
+
"anonymizedContent" : {
|
|
17244
|
+
"type" : "string"
|
|
17245
|
+
},
|
|
17246
|
+
"deanonymizedContent" : {
|
|
17247
|
+
"type" : "string"
|
|
17248
|
+
},
|
|
17249
|
+
"anonymizedReasoning" : {
|
|
17250
|
+
"type" : "string"
|
|
17251
|
+
},
|
|
17252
|
+
"status" : {
|
|
17253
|
+
"$ref" : "#/components/schemas/AnonymizationStatus"
|
|
17254
|
+
},
|
|
17255
|
+
"createdAt" : {
|
|
17256
|
+
"format" : "date-time",
|
|
17257
|
+
"type" : "string"
|
|
17258
|
+
},
|
|
17259
|
+
"updatedAt" : {
|
|
17260
|
+
"format" : "date-time",
|
|
17261
|
+
"type" : "string"
|
|
17262
|
+
}
|
|
17263
|
+
},
|
|
17264
|
+
"required" : [ "conversationId", "createdAt", "guardianId", "id", "messageId", "originalContent", "status", "updatedAt" ],
|
|
17265
|
+
"type" : "object"
|
|
17266
|
+
},
|
|
16839
17267
|
"DefaultEngineRequest" : {
|
|
16840
17268
|
"properties" : {
|
|
16841
17269
|
"providerId" : {
|
|
@@ -17216,11 +17644,41 @@
|
|
|
17216
17644
|
"type" : "string"
|
|
17217
17645
|
},
|
|
17218
17646
|
"type" : "array"
|
|
17647
|
+
},
|
|
17648
|
+
"useFaker" : {
|
|
17649
|
+
"type" : "boolean"
|
|
17650
|
+
},
|
|
17651
|
+
"regexPatterns" : {
|
|
17652
|
+
"items" : {
|
|
17653
|
+
"$ref" : "#/components/schemas/RegexPattern"
|
|
17654
|
+
},
|
|
17655
|
+
"type" : "array"
|
|
17219
17656
|
}
|
|
17220
17657
|
},
|
|
17221
17658
|
"required" : [ "createdAt", "engine", "id", "organisationId", "role", "type" ],
|
|
17222
17659
|
"type" : "object"
|
|
17223
17660
|
},
|
|
17661
|
+
"RegexPattern" : {
|
|
17662
|
+
"properties" : {
|
|
17663
|
+
"id" : {
|
|
17664
|
+
"type" : "string"
|
|
17665
|
+
},
|
|
17666
|
+
"name" : {
|
|
17667
|
+
"type" : "string"
|
|
17668
|
+
},
|
|
17669
|
+
"expression" : {
|
|
17670
|
+
"type" : "string"
|
|
17671
|
+
},
|
|
17672
|
+
"entityType" : {
|
|
17673
|
+
"type" : "string"
|
|
17674
|
+
},
|
|
17675
|
+
"enabled" : {
|
|
17676
|
+
"type" : "boolean"
|
|
17677
|
+
}
|
|
17678
|
+
},
|
|
17679
|
+
"required" : [ "enabled", "entityType", "expression", "id", "name" ],
|
|
17680
|
+
"type" : "object"
|
|
17681
|
+
},
|
|
17224
17682
|
"GuardianCreateRequest" : {
|
|
17225
17683
|
"properties" : {
|
|
17226
17684
|
"role" : {
|
|
@@ -17292,6 +17750,32 @@
|
|
|
17292
17750
|
"excludedAgents" : {
|
|
17293
17751
|
"items" : { },
|
|
17294
17752
|
"type" : "array"
|
|
17753
|
+
},
|
|
17754
|
+
"regexPatterns" : {
|
|
17755
|
+
"items" : {
|
|
17756
|
+
"$ref" : "#/components/schemas/RegexPattern"
|
|
17757
|
+
},
|
|
17758
|
+
"type" : "array"
|
|
17759
|
+
},
|
|
17760
|
+
"useFaker" : {
|
|
17761
|
+
"type" : "boolean"
|
|
17762
|
+
}
|
|
17763
|
+
},
|
|
17764
|
+
"type" : "object"
|
|
17765
|
+
},
|
|
17766
|
+
"AnonymizeRequest" : {
|
|
17767
|
+
"properties" : {
|
|
17768
|
+
"prompt" : {
|
|
17769
|
+
"type" : "string"
|
|
17770
|
+
}
|
|
17771
|
+
},
|
|
17772
|
+
"required" : [ "prompt" ],
|
|
17773
|
+
"type" : "object"
|
|
17774
|
+
},
|
|
17775
|
+
"AnonymizeResponse" : {
|
|
17776
|
+
"properties" : {
|
|
17777
|
+
"anonymizedPrompt" : {
|
|
17778
|
+
"type" : "string"
|
|
17295
17779
|
}
|
|
17296
17780
|
},
|
|
17297
17781
|
"type" : "object"
|
|
@@ -19157,6 +19641,339 @@
|
|
|
19157
19641
|
},
|
|
19158
19642
|
"type" : "object"
|
|
19159
19643
|
},
|
|
19644
|
+
"ToolPresetPage" : {
|
|
19645
|
+
"properties" : {
|
|
19646
|
+
"data" : {
|
|
19647
|
+
"items" : {
|
|
19648
|
+
"$ref" : "#/components/schemas/ToolPreset"
|
|
19649
|
+
},
|
|
19650
|
+
"type" : "array"
|
|
19651
|
+
},
|
|
19652
|
+
"total" : {
|
|
19653
|
+
"description" : "Number of presets matching the filters",
|
|
19654
|
+
"type" : "integer"
|
|
19655
|
+
},
|
|
19656
|
+
"page" : {
|
|
19657
|
+
"type" : "integer"
|
|
19658
|
+
},
|
|
19659
|
+
"limit" : {
|
|
19660
|
+
"type" : "integer"
|
|
19661
|
+
},
|
|
19662
|
+
"totalPages" : {
|
|
19663
|
+
"type" : "integer"
|
|
19664
|
+
},
|
|
19665
|
+
"allCategories" : {
|
|
19666
|
+
"description" : "Every category of the library, regardless of the current filter",
|
|
19667
|
+
"items" : {
|
|
19668
|
+
"type" : "string"
|
|
19669
|
+
},
|
|
19670
|
+
"type" : "array"
|
|
19671
|
+
}
|
|
19672
|
+
},
|
|
19673
|
+
"required" : [ "allCategories", "data", "limit", "page", "total", "totalPages" ],
|
|
19674
|
+
"title" : "ToolPresetPage",
|
|
19675
|
+
"type" : "object"
|
|
19676
|
+
},
|
|
19677
|
+
"ToolPreset" : {
|
|
19678
|
+
"properties" : {
|
|
19679
|
+
"id" : {
|
|
19680
|
+
"format" : "uuid",
|
|
19681
|
+
"type" : "string"
|
|
19682
|
+
},
|
|
19683
|
+
"slug" : {
|
|
19684
|
+
"description" : "Unique identifier of the preset, used as the key on import",
|
|
19685
|
+
"type" : "string"
|
|
19686
|
+
},
|
|
19687
|
+
"name" : {
|
|
19688
|
+
"type" : "string"
|
|
19689
|
+
},
|
|
19690
|
+
"descriptionEn" : {
|
|
19691
|
+
"type" : "string"
|
|
19692
|
+
},
|
|
19693
|
+
"descriptionFr" : {
|
|
19694
|
+
"type" : "string"
|
|
19695
|
+
},
|
|
19696
|
+
"url" : {
|
|
19697
|
+
"description" : "MCP server URL",
|
|
19698
|
+
"type" : "string"
|
|
19699
|
+
},
|
|
19700
|
+
"logoUrl" : {
|
|
19701
|
+
"nullable" : true,
|
|
19702
|
+
"type" : "string"
|
|
19703
|
+
},
|
|
19704
|
+
"transport" : {
|
|
19705
|
+
"$ref" : "#/components/schemas/ToolPresetTransport"
|
|
19706
|
+
},
|
|
19707
|
+
"authMethods" : {
|
|
19708
|
+
"description" : "Supported authentication methods, e.g. none, bearer, oauth",
|
|
19709
|
+
"items" : {
|
|
19710
|
+
"type" : "string"
|
|
19711
|
+
},
|
|
19712
|
+
"type" : "array"
|
|
19713
|
+
},
|
|
19714
|
+
"oauthRegistration" : {
|
|
19715
|
+
"allOf" : [ {
|
|
19716
|
+
"$ref" : "#/components/schemas/ToolPresetOAuthRegistration"
|
|
19717
|
+
} ],
|
|
19718
|
+
"nullable" : true
|
|
19719
|
+
},
|
|
19720
|
+
"category" : {
|
|
19721
|
+
"description" : "Category key used to group presets",
|
|
19722
|
+
"type" : "string"
|
|
19723
|
+
},
|
|
19724
|
+
"categoryLabelEn" : {
|
|
19725
|
+
"type" : "string"
|
|
19726
|
+
},
|
|
19727
|
+
"categoryLabelFr" : {
|
|
19728
|
+
"type" : "string"
|
|
19729
|
+
},
|
|
19730
|
+
"categoryDescriptionEn" : {
|
|
19731
|
+
"type" : "string"
|
|
19732
|
+
},
|
|
19733
|
+
"categoryDescriptionFr" : {
|
|
19734
|
+
"type" : "string"
|
|
19735
|
+
},
|
|
19736
|
+
"isActive" : {
|
|
19737
|
+
"description" : "Only active presets are exposed to organizations",
|
|
19738
|
+
"type" : "boolean"
|
|
19739
|
+
},
|
|
19740
|
+
"createdAt" : {
|
|
19741
|
+
"format" : "date-time",
|
|
19742
|
+
"type" : "string"
|
|
19743
|
+
},
|
|
19744
|
+
"updatedAt" : {
|
|
19745
|
+
"format" : "date-time",
|
|
19746
|
+
"type" : "string"
|
|
19747
|
+
}
|
|
19748
|
+
},
|
|
19749
|
+
"required" : [ "authMethods", "category", "categoryDescriptionEn", "categoryDescriptionFr", "categoryLabelEn", "categoryLabelFr", "descriptionEn", "descriptionFr", "id", "isActive", "name", "slug", "transport", "url" ],
|
|
19750
|
+
"title" : "ToolPreset",
|
|
19751
|
+
"type" : "object"
|
|
19752
|
+
},
|
|
19753
|
+
"ToolPresetCreateRequest" : {
|
|
19754
|
+
"properties" : {
|
|
19755
|
+
"slug" : {
|
|
19756
|
+
"type" : "string"
|
|
19757
|
+
},
|
|
19758
|
+
"name" : {
|
|
19759
|
+
"type" : "string"
|
|
19760
|
+
},
|
|
19761
|
+
"descriptionEn" : {
|
|
19762
|
+
"type" : "string"
|
|
19763
|
+
},
|
|
19764
|
+
"descriptionFr" : {
|
|
19765
|
+
"type" : "string"
|
|
19766
|
+
},
|
|
19767
|
+
"url" : {
|
|
19768
|
+
"type" : "string"
|
|
19769
|
+
},
|
|
19770
|
+
"logoUrl" : {
|
|
19771
|
+
"nullable" : true,
|
|
19772
|
+
"type" : "string"
|
|
19773
|
+
},
|
|
19774
|
+
"transport" : {
|
|
19775
|
+
"$ref" : "#/components/schemas/ToolPresetTransport"
|
|
19776
|
+
},
|
|
19777
|
+
"authMethods" : {
|
|
19778
|
+
"items" : {
|
|
19779
|
+
"type" : "string"
|
|
19780
|
+
},
|
|
19781
|
+
"type" : "array"
|
|
19782
|
+
},
|
|
19783
|
+
"oauthRegistration" : {
|
|
19784
|
+
"allOf" : [ {
|
|
19785
|
+
"$ref" : "#/components/schemas/ToolPresetOAuthRegistration"
|
|
19786
|
+
} ],
|
|
19787
|
+
"nullable" : true
|
|
19788
|
+
},
|
|
19789
|
+
"category" : {
|
|
19790
|
+
"type" : "string"
|
|
19791
|
+
},
|
|
19792
|
+
"categoryLabelEn" : {
|
|
19793
|
+
"type" : "string"
|
|
19794
|
+
},
|
|
19795
|
+
"categoryLabelFr" : {
|
|
19796
|
+
"type" : "string"
|
|
19797
|
+
},
|
|
19798
|
+
"categoryDescriptionEn" : {
|
|
19799
|
+
"type" : "string"
|
|
19800
|
+
},
|
|
19801
|
+
"categoryDescriptionFr" : {
|
|
19802
|
+
"type" : "string"
|
|
19803
|
+
},
|
|
19804
|
+
"isActive" : {
|
|
19805
|
+
"type" : "boolean"
|
|
19806
|
+
}
|
|
19807
|
+
},
|
|
19808
|
+
"required" : [ "category", "name", "slug", "url" ],
|
|
19809
|
+
"title" : "ToolPresetCreateRequest",
|
|
19810
|
+
"type" : "object"
|
|
19811
|
+
},
|
|
19812
|
+
"ToolPresetDeleteAllResponse" : {
|
|
19813
|
+
"properties" : {
|
|
19814
|
+
"deleted" : {
|
|
19815
|
+
"description" : "Number of presets removed from the library",
|
|
19816
|
+
"type" : "integer"
|
|
19817
|
+
}
|
|
19818
|
+
},
|
|
19819
|
+
"required" : [ "deleted" ],
|
|
19820
|
+
"title" : "ToolPresetDeleteAllResponse",
|
|
19821
|
+
"type" : "object"
|
|
19822
|
+
},
|
|
19823
|
+
"ToolPresetImportRequest" : {
|
|
19824
|
+
"properties" : {
|
|
19825
|
+
"presets" : {
|
|
19826
|
+
"items" : {
|
|
19827
|
+
"$ref" : "#/components/schemas/ToolPresetImportItem"
|
|
19828
|
+
},
|
|
19829
|
+
"type" : "array"
|
|
19830
|
+
}
|
|
19831
|
+
},
|
|
19832
|
+
"required" : [ "presets" ],
|
|
19833
|
+
"title" : "ToolPresetImportRequest",
|
|
19834
|
+
"type" : "object"
|
|
19835
|
+
},
|
|
19836
|
+
"ToolPresetImportItem" : {
|
|
19837
|
+
"properties" : {
|
|
19838
|
+
"id" : {
|
|
19839
|
+
"type" : "string"
|
|
19840
|
+
},
|
|
19841
|
+
"createdAt" : {
|
|
19842
|
+
"type" : "string"
|
|
19843
|
+
},
|
|
19844
|
+
"updatedAt" : {
|
|
19845
|
+
"type" : "string"
|
|
19846
|
+
},
|
|
19847
|
+
"slug" : {
|
|
19848
|
+
"type" : "string"
|
|
19849
|
+
},
|
|
19850
|
+
"name" : {
|
|
19851
|
+
"type" : "string"
|
|
19852
|
+
},
|
|
19853
|
+
"descriptionEn" : {
|
|
19854
|
+
"type" : "string"
|
|
19855
|
+
},
|
|
19856
|
+
"descriptionFr" : {
|
|
19857
|
+
"type" : "string"
|
|
19858
|
+
},
|
|
19859
|
+
"url" : {
|
|
19860
|
+
"type" : "string"
|
|
19861
|
+
},
|
|
19862
|
+
"logoUrl" : {
|
|
19863
|
+
"nullable" : true,
|
|
19864
|
+
"type" : "string"
|
|
19865
|
+
},
|
|
19866
|
+
"transport" : {
|
|
19867
|
+
"$ref" : "#/components/schemas/ToolPresetTransport"
|
|
19868
|
+
},
|
|
19869
|
+
"authMethods" : {
|
|
19870
|
+
"items" : {
|
|
19871
|
+
"type" : "string"
|
|
19872
|
+
},
|
|
19873
|
+
"type" : "array"
|
|
19874
|
+
},
|
|
19875
|
+
"oauthRegistration" : {
|
|
19876
|
+
"allOf" : [ {
|
|
19877
|
+
"$ref" : "#/components/schemas/ToolPresetOAuthRegistration"
|
|
19878
|
+
} ],
|
|
19879
|
+
"nullable" : true
|
|
19880
|
+
},
|
|
19881
|
+
"category" : {
|
|
19882
|
+
"type" : "string"
|
|
19883
|
+
},
|
|
19884
|
+
"categoryLabelEn" : {
|
|
19885
|
+
"type" : "string"
|
|
19886
|
+
},
|
|
19887
|
+
"categoryLabelFr" : {
|
|
19888
|
+
"type" : "string"
|
|
19889
|
+
},
|
|
19890
|
+
"categoryDescriptionEn" : {
|
|
19891
|
+
"type" : "string"
|
|
19892
|
+
},
|
|
19893
|
+
"categoryDescriptionFr" : {
|
|
19894
|
+
"type" : "string"
|
|
19895
|
+
},
|
|
19896
|
+
"isActive" : {
|
|
19897
|
+
"type" : "boolean"
|
|
19898
|
+
}
|
|
19899
|
+
},
|
|
19900
|
+
"required" : [ "category", "name", "slug", "url" ],
|
|
19901
|
+
"title" : "ToolPresetImportItem",
|
|
19902
|
+
"type" : "object"
|
|
19903
|
+
},
|
|
19904
|
+
"ToolPresetImportResponse" : {
|
|
19905
|
+
"properties" : {
|
|
19906
|
+
"created" : {
|
|
19907
|
+
"description" : "Number of presets added",
|
|
19908
|
+
"type" : "integer"
|
|
19909
|
+
},
|
|
19910
|
+
"updated" : {
|
|
19911
|
+
"description" : "Number of existing presets replaced",
|
|
19912
|
+
"type" : "integer"
|
|
19913
|
+
}
|
|
19914
|
+
},
|
|
19915
|
+
"required" : [ "created", "updated" ],
|
|
19916
|
+
"title" : "ToolPresetImportResponse",
|
|
19917
|
+
"type" : "object"
|
|
19918
|
+
},
|
|
19919
|
+
"ToolPresetUpdateRequest" : {
|
|
19920
|
+
"properties" : {
|
|
19921
|
+
"slug" : {
|
|
19922
|
+
"type" : "string"
|
|
19923
|
+
},
|
|
19924
|
+
"name" : {
|
|
19925
|
+
"type" : "string"
|
|
19926
|
+
},
|
|
19927
|
+
"descriptionEn" : {
|
|
19928
|
+
"type" : "string"
|
|
19929
|
+
},
|
|
19930
|
+
"descriptionFr" : {
|
|
19931
|
+
"type" : "string"
|
|
19932
|
+
},
|
|
19933
|
+
"url" : {
|
|
19934
|
+
"type" : "string"
|
|
19935
|
+
},
|
|
19936
|
+
"logoUrl" : {
|
|
19937
|
+
"nullable" : true,
|
|
19938
|
+
"type" : "string"
|
|
19939
|
+
},
|
|
19940
|
+
"transport" : {
|
|
19941
|
+
"$ref" : "#/components/schemas/ToolPresetTransport"
|
|
19942
|
+
},
|
|
19943
|
+
"authMethods" : {
|
|
19944
|
+
"items" : {
|
|
19945
|
+
"type" : "string"
|
|
19946
|
+
},
|
|
19947
|
+
"type" : "array"
|
|
19948
|
+
},
|
|
19949
|
+
"oauthRegistration" : {
|
|
19950
|
+
"allOf" : [ {
|
|
19951
|
+
"$ref" : "#/components/schemas/ToolPresetOAuthRegistration"
|
|
19952
|
+
} ],
|
|
19953
|
+
"nullable" : true
|
|
19954
|
+
},
|
|
19955
|
+
"category" : {
|
|
19956
|
+
"type" : "string"
|
|
19957
|
+
},
|
|
19958
|
+
"categoryLabelEn" : {
|
|
19959
|
+
"type" : "string"
|
|
19960
|
+
},
|
|
19961
|
+
"categoryLabelFr" : {
|
|
19962
|
+
"type" : "string"
|
|
19963
|
+
},
|
|
19964
|
+
"categoryDescriptionEn" : {
|
|
19965
|
+
"type" : "string"
|
|
19966
|
+
},
|
|
19967
|
+
"categoryDescriptionFr" : {
|
|
19968
|
+
"type" : "string"
|
|
19969
|
+
},
|
|
19970
|
+
"isActive" : {
|
|
19971
|
+
"type" : "boolean"
|
|
19972
|
+
}
|
|
19973
|
+
},
|
|
19974
|
+
"title" : "ToolPresetUpdateRequest",
|
|
19975
|
+
"type" : "object"
|
|
19976
|
+
},
|
|
19160
19977
|
"FileStatus" : {
|
|
19161
19978
|
"enum" : [ "SCRAPING", "PENDING", "UPLOADED", "PROCESSING", "INDEXED" ],
|
|
19162
19979
|
"type" : "string"
|
|
@@ -19303,6 +20120,10 @@
|
|
|
19303
20120
|
"required" : [ "ext", "id", "key", "mimeType", "name", "size", "status", "type" ],
|
|
19304
20121
|
"type" : "object"
|
|
19305
20122
|
},
|
|
20123
|
+
"AnonymizationStatus" : {
|
|
20124
|
+
"enum" : [ "pending", "anonymized", "deanonymized", "error" ],
|
|
20125
|
+
"type" : "string"
|
|
20126
|
+
},
|
|
19306
20127
|
"ProviderType" : {
|
|
19307
20128
|
"enum" : [ "ollama", "openai", "mistral", "other", "gemini", "vllm", "vllm-responses", "anthropic" ],
|
|
19308
20129
|
"type" : "string"
|
|
@@ -19312,7 +20133,7 @@
|
|
|
19312
20133
|
"type" : "string"
|
|
19313
20134
|
},
|
|
19314
20135
|
"GuardianRole" : {
|
|
19315
|
-
"enum" : [ "PROMPTCHECK", "WORDCHECK", "INTENTIONCHECK", "ATTACKCHECK", "
|
|
20136
|
+
"enum" : [ "PROMPTCHECK", "WORDCHECK", "INTENTIONCHECK", "ATTACKCHECK", "ANONYMIZE" ],
|
|
19316
20137
|
"type" : "string"
|
|
19317
20138
|
},
|
|
19318
20139
|
"GuardianEngine" : {
|
|
@@ -19371,6 +20192,14 @@
|
|
|
19371
20192
|
"enum" : [ "ELEVENLABS" ],
|
|
19372
20193
|
"type" : "string"
|
|
19373
20194
|
},
|
|
20195
|
+
"ToolPresetTransport" : {
|
|
20196
|
+
"enum" : [ "http", "sse" ],
|
|
20197
|
+
"type" : "string"
|
|
20198
|
+
},
|
|
20199
|
+
"ToolPresetOAuthRegistration" : {
|
|
20200
|
+
"enum" : [ "auto", "client_id", "client_id_secret" ],
|
|
20201
|
+
"type" : "string"
|
|
20202
|
+
},
|
|
19374
20203
|
"addModule_request" : {
|
|
19375
20204
|
"additionalProperties" : false,
|
|
19376
20205
|
"properties" : {
|