@breign/client 1.0.102 → 1.0.104
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/OrganizationsApi.d.ts +175 -1
- package/dist/apis/OrganizationsApi.js +433 -0
- package/dist/apis/ToolsApi.d.ts +28 -1
- package/dist/apis/ToolsApi.js +63 -0
- package/dist/models/AccessRoleCreateRequestUio.d.ts +45 -0
- package/dist/models/AccessRoleCreateRequestUio.js +55 -0
- package/dist/models/AccessRolePermissionsRequestUio.d.ts +33 -0
- package/dist/models/AccessRolePermissionsRequestUio.js +51 -0
- package/dist/models/AccessRoleUio.d.ts +75 -0
- package/dist/models/AccessRoleUio.js +75 -0
- package/dist/models/AccessRoleUpdateRequestUio.d.ts +38 -0
- package/dist/models/AccessRoleUpdateRequestUio.js +52 -0
- package/dist/models/AgentToolUio.d.ts +14 -0
- package/dist/models/AgentToolUio.js +10 -0
- package/dist/models/OrganizationMemberUio.d.ts +51 -0
- package/dist/models/OrganizationMemberUio.js +63 -0
- package/dist/models/OrganizationMemberUserUio.d.ts +32 -0
- package/dist/models/OrganizationMemberUserUio.js +50 -0
- package/dist/models/OrganizationPermissionKeyUio.d.ts +59 -0
- package/dist/models/OrganizationPermissionKeyUio.js +85 -0
- package/dist/models/OrganizationUserInviteRequestUio.d.ts +38 -0
- package/dist/models/OrganizationUserInviteRequestUio.js +52 -0
- package/dist/models/OrganizationUserInviteResponseUio.d.ts +32 -0
- package/dist/models/OrganizationUserInviteResponseUio.js +50 -0
- package/dist/models/PermissionEntryUio.d.ts +39 -0
- package/dist/models/PermissionEntryUio.js +55 -0
- package/dist/models/ProviderValiationRequestUio.d.ts +6 -0
- package/dist/models/ProviderValiationRequestUio.js +4 -0
- package/dist/models/ToolAllowedToolsRequestUio.d.ts +32 -0
- package/dist/models/ToolAllowedToolsRequestUio.js +50 -0
- package/dist/models/ToolAllowedToolsResponseUio.d.ts +32 -0
- package/dist/models/ToolAllowedToolsResponseUio.js +50 -0
- package/dist/models/ToolConnectionStatusResponseUio.d.ts +46 -0
- package/dist/models/ToolConnectionStatusResponseUio.js +62 -0
- package/dist/models/ToolCreateRequestUio.d.ts +14 -0
- package/dist/models/ToolCreateRequestUio.js +10 -0
- package/dist/models/ToolSecureUio.d.ts +14 -0
- package/dist/models/ToolSecureUio.js +10 -1
- package/dist/models/UserAccessRolesRequestUio.d.ts +32 -0
- package/dist/models/UserAccessRolesRequestUio.js +50 -0
- package/dist/models/UserAccessUio.d.ts +39 -0
- package/dist/models/UserAccessUio.js +55 -0
- package/dist/models/UserAgentAccessAgentUio.d.ts +38 -0
- package/dist/models/UserAgentAccessAgentUio.js +54 -0
- package/dist/models/UserAgentAccessRequestUio.d.ts +38 -0
- package/dist/models/UserAgentAccessRequestUio.js +54 -0
- package/dist/models/UserAgentAccessUio.d.ts +45 -0
- package/dist/models/UserAgentAccessUio.js +59 -0
- package/dist/models/UserDirectPermissionsRequestUio.d.ts +33 -0
- package/dist/models/UserDirectPermissionsRequestUio.js +51 -0
- package/dist/models/UserUio.d.ts +3 -3
- package/dist/models/UserUio.js +3 -3
- package/dist/models/index.d.ts +19 -1
- package/dist/models/index.js +19 -1
- package/dist/openapi.json +985 -30
- package/package.json +1 -1
- package/dist/models/UserUserUio.d.ts +0 -32
- package/dist/models/UserUserUio.js +0 -50
package/dist/openapi.json
CHANGED
|
@@ -5806,6 +5806,588 @@
|
|
|
5806
5806
|
"tags" : [ "organizations" ]
|
|
5807
5807
|
}
|
|
5808
5808
|
},
|
|
5809
|
+
"/organizations/{organizationId}/access-roles" : {
|
|
5810
|
+
"get" : {
|
|
5811
|
+
"operationId" : "listOrganizationAccessRoles",
|
|
5812
|
+
"parameters" : [ {
|
|
5813
|
+
"description" : "ID of the organization",
|
|
5814
|
+
"in" : "path",
|
|
5815
|
+
"name" : "organizationId",
|
|
5816
|
+
"required" : true,
|
|
5817
|
+
"schema" : {
|
|
5818
|
+
"type" : "string"
|
|
5819
|
+
}
|
|
5820
|
+
} ],
|
|
5821
|
+
"responses" : {
|
|
5822
|
+
"200" : {
|
|
5823
|
+
"content" : {
|
|
5824
|
+
"application/json" : {
|
|
5825
|
+
"schema" : {
|
|
5826
|
+
"items" : {
|
|
5827
|
+
"$ref" : "#/components/schemas/AccessRole"
|
|
5828
|
+
},
|
|
5829
|
+
"type" : "array"
|
|
5830
|
+
}
|
|
5831
|
+
}
|
|
5832
|
+
},
|
|
5833
|
+
"description" : "Access roles found"
|
|
5834
|
+
},
|
|
5835
|
+
"401" : {
|
|
5836
|
+
"description" : "Unauthorized"
|
|
5837
|
+
},
|
|
5838
|
+
"404" : {
|
|
5839
|
+
"description" : "Organization not found"
|
|
5840
|
+
}
|
|
5841
|
+
},
|
|
5842
|
+
"summary" : "List access roles of an organization",
|
|
5843
|
+
"tags" : [ "organizations" ]
|
|
5844
|
+
},
|
|
5845
|
+
"post" : {
|
|
5846
|
+
"operationId" : "createOrganizationAccessRole",
|
|
5847
|
+
"parameters" : [ {
|
|
5848
|
+
"description" : "ID of the organization",
|
|
5849
|
+
"in" : "path",
|
|
5850
|
+
"name" : "organizationId",
|
|
5851
|
+
"required" : true,
|
|
5852
|
+
"schema" : {
|
|
5853
|
+
"type" : "string"
|
|
5854
|
+
}
|
|
5855
|
+
} ],
|
|
5856
|
+
"requestBody" : {
|
|
5857
|
+
"content" : {
|
|
5858
|
+
"application/json" : {
|
|
5859
|
+
"schema" : {
|
|
5860
|
+
"$ref" : "#/components/schemas/AccessRoleCreateRequest"
|
|
5861
|
+
}
|
|
5862
|
+
}
|
|
5863
|
+
},
|
|
5864
|
+
"required" : true
|
|
5865
|
+
},
|
|
5866
|
+
"responses" : {
|
|
5867
|
+
"201" : {
|
|
5868
|
+
"content" : {
|
|
5869
|
+
"application/json" : {
|
|
5870
|
+
"schema" : {
|
|
5871
|
+
"$ref" : "#/components/schemas/AccessRole"
|
|
5872
|
+
}
|
|
5873
|
+
}
|
|
5874
|
+
},
|
|
5875
|
+
"description" : "Access role created"
|
|
5876
|
+
},
|
|
5877
|
+
"400" : {
|
|
5878
|
+
"description" : "Invalid request body"
|
|
5879
|
+
},
|
|
5880
|
+
"401" : {
|
|
5881
|
+
"description" : "Unauthorized"
|
|
5882
|
+
},
|
|
5883
|
+
"404" : {
|
|
5884
|
+
"description" : "Organization not found"
|
|
5885
|
+
}
|
|
5886
|
+
},
|
|
5887
|
+
"summary" : "Create an access role in an organization",
|
|
5888
|
+
"tags" : [ "organizations" ]
|
|
5889
|
+
}
|
|
5890
|
+
},
|
|
5891
|
+
"/organizations/{organizationId}/access-roles/{roleId}" : {
|
|
5892
|
+
"delete" : {
|
|
5893
|
+
"operationId" : "deleteOrganizationAccessRole",
|
|
5894
|
+
"parameters" : [ {
|
|
5895
|
+
"description" : "ID of the organization",
|
|
5896
|
+
"in" : "path",
|
|
5897
|
+
"name" : "organizationId",
|
|
5898
|
+
"required" : true,
|
|
5899
|
+
"schema" : {
|
|
5900
|
+
"type" : "string"
|
|
5901
|
+
}
|
|
5902
|
+
}, {
|
|
5903
|
+
"in" : "path",
|
|
5904
|
+
"name" : "roleId",
|
|
5905
|
+
"required" : true,
|
|
5906
|
+
"schema" : {
|
|
5907
|
+
"type" : "string"
|
|
5908
|
+
}
|
|
5909
|
+
} ],
|
|
5910
|
+
"responses" : {
|
|
5911
|
+
"204" : {
|
|
5912
|
+
"description" : "Access role deleted"
|
|
5913
|
+
},
|
|
5914
|
+
"401" : {
|
|
5915
|
+
"description" : "Unauthorized"
|
|
5916
|
+
},
|
|
5917
|
+
"404" : {
|
|
5918
|
+
"description" : "Organization not found"
|
|
5919
|
+
}
|
|
5920
|
+
},
|
|
5921
|
+
"summary" : "Delete an access role from an organization",
|
|
5922
|
+
"tags" : [ "organizations" ]
|
|
5923
|
+
},
|
|
5924
|
+
"put" : {
|
|
5925
|
+
"operationId" : "updateOrganizationAccessRole",
|
|
5926
|
+
"parameters" : [ {
|
|
5927
|
+
"description" : "ID of the organization",
|
|
5928
|
+
"in" : "path",
|
|
5929
|
+
"name" : "organizationId",
|
|
5930
|
+
"required" : true,
|
|
5931
|
+
"schema" : {
|
|
5932
|
+
"type" : "string"
|
|
5933
|
+
}
|
|
5934
|
+
}, {
|
|
5935
|
+
"in" : "path",
|
|
5936
|
+
"name" : "roleId",
|
|
5937
|
+
"required" : true,
|
|
5938
|
+
"schema" : {
|
|
5939
|
+
"type" : "string"
|
|
5940
|
+
}
|
|
5941
|
+
} ],
|
|
5942
|
+
"requestBody" : {
|
|
5943
|
+
"content" : {
|
|
5944
|
+
"application/json" : {
|
|
5945
|
+
"schema" : {
|
|
5946
|
+
"$ref" : "#/components/schemas/AccessRoleUpdateRequest"
|
|
5947
|
+
}
|
|
5948
|
+
}
|
|
5949
|
+
},
|
|
5950
|
+
"required" : true
|
|
5951
|
+
},
|
|
5952
|
+
"responses" : {
|
|
5953
|
+
"204" : {
|
|
5954
|
+
"description" : "Access role updated"
|
|
5955
|
+
},
|
|
5956
|
+
"400" : {
|
|
5957
|
+
"description" : "Invalid request body"
|
|
5958
|
+
},
|
|
5959
|
+
"401" : {
|
|
5960
|
+
"description" : "Unauthorized"
|
|
5961
|
+
},
|
|
5962
|
+
"404" : {
|
|
5963
|
+
"description" : "Organization not found"
|
|
5964
|
+
}
|
|
5965
|
+
},
|
|
5966
|
+
"summary" : "Update an access role in an organization",
|
|
5967
|
+
"tags" : [ "organizations" ]
|
|
5968
|
+
}
|
|
5969
|
+
},
|
|
5970
|
+
"/organizations/{organizationId}/access-roles/{roleId}/permissions" : {
|
|
5971
|
+
"put" : {
|
|
5972
|
+
"operationId" : "setOrganizationAccessRolePermissions",
|
|
5973
|
+
"parameters" : [ {
|
|
5974
|
+
"description" : "ID of the organization",
|
|
5975
|
+
"in" : "path",
|
|
5976
|
+
"name" : "organizationId",
|
|
5977
|
+
"required" : true,
|
|
5978
|
+
"schema" : {
|
|
5979
|
+
"type" : "string"
|
|
5980
|
+
}
|
|
5981
|
+
}, {
|
|
5982
|
+
"in" : "path",
|
|
5983
|
+
"name" : "roleId",
|
|
5984
|
+
"required" : true,
|
|
5985
|
+
"schema" : {
|
|
5986
|
+
"type" : "string"
|
|
5987
|
+
}
|
|
5988
|
+
} ],
|
|
5989
|
+
"requestBody" : {
|
|
5990
|
+
"content" : {
|
|
5991
|
+
"application/json" : {
|
|
5992
|
+
"schema" : {
|
|
5993
|
+
"$ref" : "#/components/schemas/AccessRolePermissionsRequest"
|
|
5994
|
+
}
|
|
5995
|
+
}
|
|
5996
|
+
},
|
|
5997
|
+
"required" : true
|
|
5998
|
+
},
|
|
5999
|
+
"responses" : {
|
|
6000
|
+
"204" : {
|
|
6001
|
+
"description" : "Permissions updated"
|
|
6002
|
+
},
|
|
6003
|
+
"400" : {
|
|
6004
|
+
"description" : "Invalid request body"
|
|
6005
|
+
},
|
|
6006
|
+
"401" : {
|
|
6007
|
+
"description" : "Unauthorized"
|
|
6008
|
+
},
|
|
6009
|
+
"404" : {
|
|
6010
|
+
"description" : "Organization not found"
|
|
6011
|
+
}
|
|
6012
|
+
},
|
|
6013
|
+
"summary" : "Set permissions for an access role",
|
|
6014
|
+
"tags" : [ "organizations" ]
|
|
6015
|
+
}
|
|
6016
|
+
},
|
|
6017
|
+
"/organizations/{organizationId}/members/me/permissions" : {
|
|
6018
|
+
"get" : {
|
|
6019
|
+
"operationId" : "getOrganizationMemberPermissions",
|
|
6020
|
+
"parameters" : [ {
|
|
6021
|
+
"description" : "ID of the organization",
|
|
6022
|
+
"in" : "path",
|
|
6023
|
+
"name" : "organizationId",
|
|
6024
|
+
"required" : true,
|
|
6025
|
+
"schema" : {
|
|
6026
|
+
"type" : "string"
|
|
6027
|
+
}
|
|
6028
|
+
} ],
|
|
6029
|
+
"responses" : {
|
|
6030
|
+
"200" : {
|
|
6031
|
+
"content" : {
|
|
6032
|
+
"application/json" : {
|
|
6033
|
+
"schema" : {
|
|
6034
|
+
"$ref" : "#/components/schemas/MemberPermissions"
|
|
6035
|
+
}
|
|
6036
|
+
}
|
|
6037
|
+
},
|
|
6038
|
+
"description" : "Resolved permissions for the current member"
|
|
6039
|
+
},
|
|
6040
|
+
"401" : {
|
|
6041
|
+
"description" : "Unauthorized"
|
|
6042
|
+
},
|
|
6043
|
+
"404" : {
|
|
6044
|
+
"description" : "Organization not found"
|
|
6045
|
+
}
|
|
6046
|
+
},
|
|
6047
|
+
"summary" : "Get current member resolved permissions",
|
|
6048
|
+
"tags" : [ "organizations" ]
|
|
6049
|
+
}
|
|
6050
|
+
},
|
|
6051
|
+
"/organizations/{organizationId}/users" : {
|
|
6052
|
+
"get" : {
|
|
6053
|
+
"operationId" : "listOrganizationUsers",
|
|
6054
|
+
"parameters" : [ {
|
|
6055
|
+
"description" : "ID of the organization",
|
|
6056
|
+
"in" : "path",
|
|
6057
|
+
"name" : "organizationId",
|
|
6058
|
+
"required" : true,
|
|
6059
|
+
"schema" : {
|
|
6060
|
+
"type" : "string"
|
|
6061
|
+
}
|
|
6062
|
+
} ],
|
|
6063
|
+
"responses" : {
|
|
6064
|
+
"200" : {
|
|
6065
|
+
"content" : {
|
|
6066
|
+
"application/json" : {
|
|
6067
|
+
"schema" : {
|
|
6068
|
+
"items" : {
|
|
6069
|
+
"$ref" : "#/components/schemas/OrganizationMember"
|
|
6070
|
+
},
|
|
6071
|
+
"type" : "array"
|
|
6072
|
+
}
|
|
6073
|
+
}
|
|
6074
|
+
},
|
|
6075
|
+
"description" : "Organization users"
|
|
6076
|
+
},
|
|
6077
|
+
"401" : {
|
|
6078
|
+
"description" : "Unauthorized"
|
|
6079
|
+
},
|
|
6080
|
+
"404" : {
|
|
6081
|
+
"description" : "Organization not found"
|
|
6082
|
+
}
|
|
6083
|
+
},
|
|
6084
|
+
"summary" : "List users of an organization",
|
|
6085
|
+
"tags" : [ "organizations" ]
|
|
6086
|
+
},
|
|
6087
|
+
"post" : {
|
|
6088
|
+
"operationId" : "inviteOrganizationUser",
|
|
6089
|
+
"parameters" : [ {
|
|
6090
|
+
"description" : "ID of the organization",
|
|
6091
|
+
"in" : "path",
|
|
6092
|
+
"name" : "organizationId",
|
|
6093
|
+
"required" : true,
|
|
6094
|
+
"schema" : {
|
|
6095
|
+
"type" : "string"
|
|
6096
|
+
}
|
|
6097
|
+
} ],
|
|
6098
|
+
"requestBody" : {
|
|
6099
|
+
"content" : {
|
|
6100
|
+
"application/json" : {
|
|
6101
|
+
"schema" : {
|
|
6102
|
+
"$ref" : "#/components/schemas/OrganizationUserInviteRequest"
|
|
6103
|
+
}
|
|
6104
|
+
}
|
|
6105
|
+
},
|
|
6106
|
+
"required" : true
|
|
6107
|
+
},
|
|
6108
|
+
"responses" : {
|
|
6109
|
+
"201" : {
|
|
6110
|
+
"content" : {
|
|
6111
|
+
"application/json" : {
|
|
6112
|
+
"schema" : {
|
|
6113
|
+
"$ref" : "#/components/schemas/OrganizationUserInviteResponse"
|
|
6114
|
+
}
|
|
6115
|
+
}
|
|
6116
|
+
},
|
|
6117
|
+
"description" : "User invited"
|
|
6118
|
+
},
|
|
6119
|
+
"400" : {
|
|
6120
|
+
"description" : "Invalid request body"
|
|
6121
|
+
},
|
|
6122
|
+
"401" : {
|
|
6123
|
+
"description" : "Unauthorized"
|
|
6124
|
+
},
|
|
6125
|
+
"409" : {
|
|
6126
|
+
"description" : "User already in organization"
|
|
6127
|
+
}
|
|
6128
|
+
},
|
|
6129
|
+
"summary" : "Invite a user to an organization",
|
|
6130
|
+
"tags" : [ "organizations" ]
|
|
6131
|
+
}
|
|
6132
|
+
},
|
|
6133
|
+
"/organizations/{organizationId}/users/{userId}" : {
|
|
6134
|
+
"delete" : {
|
|
6135
|
+
"operationId" : "deleteOrganizationUser",
|
|
6136
|
+
"parameters" : [ {
|
|
6137
|
+
"description" : "ID of the organization",
|
|
6138
|
+
"in" : "path",
|
|
6139
|
+
"name" : "organizationId",
|
|
6140
|
+
"required" : true,
|
|
6141
|
+
"schema" : {
|
|
6142
|
+
"type" : "string"
|
|
6143
|
+
}
|
|
6144
|
+
}, {
|
|
6145
|
+
"in" : "path",
|
|
6146
|
+
"name" : "userId",
|
|
6147
|
+
"required" : true,
|
|
6148
|
+
"schema" : {
|
|
6149
|
+
"type" : "string"
|
|
6150
|
+
}
|
|
6151
|
+
} ],
|
|
6152
|
+
"responses" : {
|
|
6153
|
+
"204" : {
|
|
6154
|
+
"description" : "User removed"
|
|
6155
|
+
},
|
|
6156
|
+
"401" : {
|
|
6157
|
+
"description" : "Unauthorized"
|
|
6158
|
+
},
|
|
6159
|
+
"403" : {
|
|
6160
|
+
"description" : "Cannot delete admin user"
|
|
6161
|
+
},
|
|
6162
|
+
"404" : {
|
|
6163
|
+
"description" : "Organization or user not found"
|
|
6164
|
+
}
|
|
6165
|
+
},
|
|
6166
|
+
"summary" : "Remove a user from an organization",
|
|
6167
|
+
"tags" : [ "organizations" ]
|
|
6168
|
+
}
|
|
6169
|
+
},
|
|
6170
|
+
"/organizations/{organizationId}/users/{userId}/access" : {
|
|
6171
|
+
"get" : {
|
|
6172
|
+
"operationId" : "getOrganizationUserAccess",
|
|
6173
|
+
"parameters" : [ {
|
|
6174
|
+
"description" : "ID of the organization",
|
|
6175
|
+
"in" : "path",
|
|
6176
|
+
"name" : "organizationId",
|
|
6177
|
+
"required" : true,
|
|
6178
|
+
"schema" : {
|
|
6179
|
+
"type" : "string"
|
|
6180
|
+
}
|
|
6181
|
+
}, {
|
|
6182
|
+
"in" : "path",
|
|
6183
|
+
"name" : "userId",
|
|
6184
|
+
"required" : true,
|
|
6185
|
+
"schema" : {
|
|
6186
|
+
"type" : "string"
|
|
6187
|
+
}
|
|
6188
|
+
} ],
|
|
6189
|
+
"responses" : {
|
|
6190
|
+
"200" : {
|
|
6191
|
+
"content" : {
|
|
6192
|
+
"application/json" : {
|
|
6193
|
+
"schema" : {
|
|
6194
|
+
"$ref" : "#/components/schemas/UserAccess"
|
|
6195
|
+
}
|
|
6196
|
+
}
|
|
6197
|
+
},
|
|
6198
|
+
"description" : "User access configuration"
|
|
6199
|
+
},
|
|
6200
|
+
"401" : {
|
|
6201
|
+
"description" : "Unauthorized"
|
|
6202
|
+
},
|
|
6203
|
+
"404" : {
|
|
6204
|
+
"description" : "Organization or user not found"
|
|
6205
|
+
}
|
|
6206
|
+
},
|
|
6207
|
+
"summary" : "Get user access roles and direct permissions",
|
|
6208
|
+
"tags" : [ "organizations" ]
|
|
6209
|
+
}
|
|
6210
|
+
},
|
|
6211
|
+
"/organizations/{organizationId}/users/{userId}/access-roles" : {
|
|
6212
|
+
"put" : {
|
|
6213
|
+
"operationId" : "setOrganizationUserAccessRoles",
|
|
6214
|
+
"parameters" : [ {
|
|
6215
|
+
"description" : "ID of the organization",
|
|
6216
|
+
"in" : "path",
|
|
6217
|
+
"name" : "organizationId",
|
|
6218
|
+
"required" : true,
|
|
6219
|
+
"schema" : {
|
|
6220
|
+
"type" : "string"
|
|
6221
|
+
}
|
|
6222
|
+
}, {
|
|
6223
|
+
"in" : "path",
|
|
6224
|
+
"name" : "userId",
|
|
6225
|
+
"required" : true,
|
|
6226
|
+
"schema" : {
|
|
6227
|
+
"type" : "string"
|
|
6228
|
+
}
|
|
6229
|
+
} ],
|
|
6230
|
+
"requestBody" : {
|
|
6231
|
+
"content" : {
|
|
6232
|
+
"application/json" : {
|
|
6233
|
+
"schema" : {
|
|
6234
|
+
"$ref" : "#/components/schemas/UserAccessRolesRequest"
|
|
6235
|
+
}
|
|
6236
|
+
}
|
|
6237
|
+
},
|
|
6238
|
+
"required" : true
|
|
6239
|
+
},
|
|
6240
|
+
"responses" : {
|
|
6241
|
+
"204" : {
|
|
6242
|
+
"description" : "User access roles updated"
|
|
6243
|
+
},
|
|
6244
|
+
"400" : {
|
|
6245
|
+
"description" : "Invalid request body"
|
|
6246
|
+
},
|
|
6247
|
+
"401" : {
|
|
6248
|
+
"description" : "Unauthorized"
|
|
6249
|
+
},
|
|
6250
|
+
"404" : {
|
|
6251
|
+
"description" : "Organization or user not found"
|
|
6252
|
+
}
|
|
6253
|
+
},
|
|
6254
|
+
"summary" : "Set user access roles",
|
|
6255
|
+
"tags" : [ "organizations" ]
|
|
6256
|
+
}
|
|
6257
|
+
},
|
|
6258
|
+
"/organizations/{organizationId}/users/{userId}/permissions" : {
|
|
6259
|
+
"put" : {
|
|
6260
|
+
"operationId" : "setOrganizationUserDirectPermissions",
|
|
6261
|
+
"parameters" : [ {
|
|
6262
|
+
"description" : "ID of the organization",
|
|
6263
|
+
"in" : "path",
|
|
6264
|
+
"name" : "organizationId",
|
|
6265
|
+
"required" : true,
|
|
6266
|
+
"schema" : {
|
|
6267
|
+
"type" : "string"
|
|
6268
|
+
}
|
|
6269
|
+
}, {
|
|
6270
|
+
"in" : "path",
|
|
6271
|
+
"name" : "userId",
|
|
6272
|
+
"required" : true,
|
|
6273
|
+
"schema" : {
|
|
6274
|
+
"type" : "string"
|
|
6275
|
+
}
|
|
6276
|
+
} ],
|
|
6277
|
+
"requestBody" : {
|
|
6278
|
+
"content" : {
|
|
6279
|
+
"application/json" : {
|
|
6280
|
+
"schema" : {
|
|
6281
|
+
"$ref" : "#/components/schemas/UserDirectPermissionsRequest"
|
|
6282
|
+
}
|
|
6283
|
+
}
|
|
6284
|
+
},
|
|
6285
|
+
"required" : true
|
|
6286
|
+
},
|
|
6287
|
+
"responses" : {
|
|
6288
|
+
"204" : {
|
|
6289
|
+
"description" : "User direct permissions updated"
|
|
6290
|
+
},
|
|
6291
|
+
"400" : {
|
|
6292
|
+
"description" : "Invalid request body"
|
|
6293
|
+
},
|
|
6294
|
+
"401" : {
|
|
6295
|
+
"description" : "Unauthorized"
|
|
6296
|
+
},
|
|
6297
|
+
"404" : {
|
|
6298
|
+
"description" : "Organization or user not found"
|
|
6299
|
+
}
|
|
6300
|
+
},
|
|
6301
|
+
"summary" : "Set user direct permissions",
|
|
6302
|
+
"tags" : [ "organizations" ]
|
|
6303
|
+
}
|
|
6304
|
+
},
|
|
6305
|
+
"/organizations/{organizationId}/users/{userId}/agents-access" : {
|
|
6306
|
+
"get" : {
|
|
6307
|
+
"operationId" : "getOrganizationUserAgentsAccess",
|
|
6308
|
+
"parameters" : [ {
|
|
6309
|
+
"description" : "ID of the organization",
|
|
6310
|
+
"in" : "path",
|
|
6311
|
+
"name" : "organizationId",
|
|
6312
|
+
"required" : true,
|
|
6313
|
+
"schema" : {
|
|
6314
|
+
"type" : "string"
|
|
6315
|
+
}
|
|
6316
|
+
}, {
|
|
6317
|
+
"in" : "path",
|
|
6318
|
+
"name" : "userId",
|
|
6319
|
+
"required" : true,
|
|
6320
|
+
"schema" : {
|
|
6321
|
+
"type" : "string"
|
|
6322
|
+
}
|
|
6323
|
+
} ],
|
|
6324
|
+
"responses" : {
|
|
6325
|
+
"200" : {
|
|
6326
|
+
"content" : {
|
|
6327
|
+
"application/json" : {
|
|
6328
|
+
"schema" : {
|
|
6329
|
+
"$ref" : "#/components/schemas/UserAgentAccess"
|
|
6330
|
+
}
|
|
6331
|
+
}
|
|
6332
|
+
},
|
|
6333
|
+
"description" : "User agent access configuration"
|
|
6334
|
+
},
|
|
6335
|
+
"401" : {
|
|
6336
|
+
"description" : "Unauthorized"
|
|
6337
|
+
},
|
|
6338
|
+
"404" : {
|
|
6339
|
+
"description" : "Organization or user not found"
|
|
6340
|
+
}
|
|
6341
|
+
},
|
|
6342
|
+
"summary" : "Get user agent access configuration",
|
|
6343
|
+
"tags" : [ "organizations" ]
|
|
6344
|
+
},
|
|
6345
|
+
"put" : {
|
|
6346
|
+
"operationId" : "setOrganizationUserAgentsAccess",
|
|
6347
|
+
"parameters" : [ {
|
|
6348
|
+
"description" : "ID of the organization",
|
|
6349
|
+
"in" : "path",
|
|
6350
|
+
"name" : "organizationId",
|
|
6351
|
+
"required" : true,
|
|
6352
|
+
"schema" : {
|
|
6353
|
+
"type" : "string"
|
|
6354
|
+
}
|
|
6355
|
+
}, {
|
|
6356
|
+
"in" : "path",
|
|
6357
|
+
"name" : "userId",
|
|
6358
|
+
"required" : true,
|
|
6359
|
+
"schema" : {
|
|
6360
|
+
"type" : "string"
|
|
6361
|
+
}
|
|
6362
|
+
} ],
|
|
6363
|
+
"requestBody" : {
|
|
6364
|
+
"content" : {
|
|
6365
|
+
"application/json" : {
|
|
6366
|
+
"schema" : {
|
|
6367
|
+
"$ref" : "#/components/schemas/UserAgentAccessRequest"
|
|
6368
|
+
}
|
|
6369
|
+
}
|
|
6370
|
+
},
|
|
6371
|
+
"required" : true
|
|
6372
|
+
},
|
|
6373
|
+
"responses" : {
|
|
6374
|
+
"204" : {
|
|
6375
|
+
"description" : "User agent access updated"
|
|
6376
|
+
},
|
|
6377
|
+
"400" : {
|
|
6378
|
+
"description" : "Invalid request body"
|
|
6379
|
+
},
|
|
6380
|
+
"401" : {
|
|
6381
|
+
"description" : "Unauthorized"
|
|
6382
|
+
},
|
|
6383
|
+
"404" : {
|
|
6384
|
+
"description" : "Organization or user not found"
|
|
6385
|
+
}
|
|
6386
|
+
},
|
|
6387
|
+
"summary" : "Set user agent access configuration",
|
|
6388
|
+
"tags" : [ "organizations" ]
|
|
6389
|
+
}
|
|
6390
|
+
},
|
|
5809
6391
|
"/organizations/{organizationId}/engine" : {
|
|
5810
6392
|
"get" : {
|
|
5811
6393
|
"description" : "Retrieves only the engine configuration (providerId, model, options) for a given organization.",
|
|
@@ -7771,22 +8353,114 @@
|
|
|
7771
8353
|
"description" : "Unauthorized"
|
|
7772
8354
|
},
|
|
7773
8355
|
"403" : {
|
|
7774
|
-
"description" : "Forbidden - User doesn't have access to this tool"
|
|
8356
|
+
"description" : "Forbidden - User doesn't have access to this tool"
|
|
8357
|
+
},
|
|
8358
|
+
"404" : {
|
|
8359
|
+
"description" : "Tool not found"
|
|
8360
|
+
},
|
|
8361
|
+
"500" : {
|
|
8362
|
+
"description" : "Internal server error"
|
|
8363
|
+
}
|
|
8364
|
+
},
|
|
8365
|
+
"summary" : "Disconnect OAuth2 from a tool",
|
|
8366
|
+
"tags" : [ "tools" ]
|
|
8367
|
+
}
|
|
8368
|
+
},
|
|
8369
|
+
"/tools/{toolId}/mcp/introspect" : {
|
|
8370
|
+
"get" : {
|
|
8371
|
+
"operationId" : "introspectMcpTool",
|
|
8372
|
+
"parameters" : [ {
|
|
8373
|
+
"description" : "Tool identifier",
|
|
8374
|
+
"in" : "path",
|
|
8375
|
+
"name" : "toolId",
|
|
8376
|
+
"required" : true,
|
|
8377
|
+
"schema" : {
|
|
8378
|
+
"type" : "string"
|
|
8379
|
+
}
|
|
8380
|
+
} ],
|
|
8381
|
+
"responses" : {
|
|
8382
|
+
"200" : {
|
|
8383
|
+
"content" : {
|
|
8384
|
+
"application/json" : {
|
|
8385
|
+
"schema" : {
|
|
8386
|
+
"$ref" : "#/components/schemas/introspectMcpTool_200_response"
|
|
8387
|
+
}
|
|
8388
|
+
}
|
|
8389
|
+
},
|
|
8390
|
+
"description" : "MCP introspection result"
|
|
8391
|
+
},
|
|
8392
|
+
"400" : {
|
|
8393
|
+
"description" : "Tool configuration missing"
|
|
8394
|
+
},
|
|
8395
|
+
"401" : {
|
|
8396
|
+
"description" : "Unauthorized"
|
|
8397
|
+
},
|
|
8398
|
+
"403" : {
|
|
8399
|
+
"description" : "Forbidden"
|
|
8400
|
+
},
|
|
8401
|
+
"404" : {
|
|
8402
|
+
"description" : "Tool not found"
|
|
8403
|
+
},
|
|
8404
|
+
"500" : {
|
|
8405
|
+
"description" : "MCP introspection failed"
|
|
8406
|
+
}
|
|
8407
|
+
},
|
|
8408
|
+
"summary" : "Introspect an MCP tool server to refresh available actions",
|
|
8409
|
+
"tags" : [ "tools" ]
|
|
8410
|
+
}
|
|
8411
|
+
},
|
|
8412
|
+
"/tools/{toolId}/mcp/allowed-tools" : {
|
|
8413
|
+
"put" : {
|
|
8414
|
+
"description" : "Admins can adjust the catalog of MCP actions exposed to agents at any time.\nEach name must exist in the tool's introspection result.\n",
|
|
8415
|
+
"operationId" : "updateMcpAllowedTools",
|
|
8416
|
+
"parameters" : [ {
|
|
8417
|
+
"description" : "Tool identifier",
|
|
8418
|
+
"in" : "path",
|
|
8419
|
+
"name" : "toolId",
|
|
8420
|
+
"required" : true,
|
|
8421
|
+
"schema" : {
|
|
8422
|
+
"type" : "string"
|
|
8423
|
+
}
|
|
8424
|
+
} ],
|
|
8425
|
+
"requestBody" : {
|
|
8426
|
+
"content" : {
|
|
8427
|
+
"application/json" : {
|
|
8428
|
+
"schema" : {
|
|
8429
|
+
"$ref" : "#/components/schemas/ToolAllowedToolsRequest"
|
|
8430
|
+
}
|
|
8431
|
+
}
|
|
8432
|
+
},
|
|
8433
|
+
"required" : true
|
|
8434
|
+
},
|
|
8435
|
+
"responses" : {
|
|
8436
|
+
"200" : {
|
|
8437
|
+
"content" : {
|
|
8438
|
+
"application/json" : {
|
|
8439
|
+
"schema" : {
|
|
8440
|
+
"$ref" : "#/components/schemas/ToolAllowedToolsResponse"
|
|
8441
|
+
}
|
|
8442
|
+
}
|
|
8443
|
+
},
|
|
8444
|
+
"description" : "Updated allowed tools"
|
|
8445
|
+
},
|
|
8446
|
+
"400" : {
|
|
8447
|
+
"description" : "MCP not introspected or unknown tool names"
|
|
8448
|
+
},
|
|
8449
|
+
"403" : {
|
|
8450
|
+
"description" : "Forbidden"
|
|
7775
8451
|
},
|
|
7776
8452
|
"404" : {
|
|
7777
8453
|
"description" : "Tool not found"
|
|
7778
|
-
},
|
|
7779
|
-
"500" : {
|
|
7780
|
-
"description" : "Internal server error"
|
|
7781
8454
|
}
|
|
7782
8455
|
},
|
|
7783
|
-
"summary" : "
|
|
8456
|
+
"summary" : "Replace the list of allowed MCP tools for an MCP tool",
|
|
7784
8457
|
"tags" : [ "tools" ]
|
|
7785
8458
|
}
|
|
7786
8459
|
},
|
|
7787
|
-
"/tools/{toolId}/
|
|
8460
|
+
"/tools/{toolId}/connection-status" : {
|
|
7788
8461
|
"get" : {
|
|
7789
|
-
"
|
|
8462
|
+
"description" : "For organization-scoped tools, returns whether the shared connection is set up.\nFor user-scoped tools, returns whether the caller has connected their own account.\n",
|
|
8463
|
+
"operationId" : "getToolConnectionStatus",
|
|
7790
8464
|
"parameters" : [ {
|
|
7791
8465
|
"description" : "Tool identifier",
|
|
7792
8466
|
"in" : "path",
|
|
@@ -7801,29 +8475,20 @@
|
|
|
7801
8475
|
"content" : {
|
|
7802
8476
|
"application/json" : {
|
|
7803
8477
|
"schema" : {
|
|
7804
|
-
"$ref" : "#/components/schemas/
|
|
8478
|
+
"$ref" : "#/components/schemas/ToolConnectionStatusResponse"
|
|
7805
8479
|
}
|
|
7806
8480
|
}
|
|
7807
8481
|
},
|
|
7808
|
-
"description" : "
|
|
7809
|
-
},
|
|
7810
|
-
"400" : {
|
|
7811
|
-
"description" : "Tool configuration missing"
|
|
7812
|
-
},
|
|
7813
|
-
"401" : {
|
|
7814
|
-
"description" : "Unauthorized"
|
|
8482
|
+
"description" : "Connection status"
|
|
7815
8483
|
},
|
|
7816
8484
|
"403" : {
|
|
7817
8485
|
"description" : "Forbidden"
|
|
7818
8486
|
},
|
|
7819
8487
|
"404" : {
|
|
7820
8488
|
"description" : "Tool not found"
|
|
7821
|
-
},
|
|
7822
|
-
"500" : {
|
|
7823
|
-
"description" : "MCP introspection failed"
|
|
7824
8489
|
}
|
|
7825
8490
|
},
|
|
7826
|
-
"summary" : "
|
|
8491
|
+
"summary" : "Get the current user's connection status for a tool",
|
|
7827
8492
|
"tags" : [ "tools" ]
|
|
7828
8493
|
}
|
|
7829
8494
|
},
|
|
@@ -9806,6 +10471,11 @@
|
|
|
9806
10471
|
"description" : {
|
|
9807
10472
|
"type" : "string"
|
|
9808
10473
|
},
|
|
10474
|
+
"scope" : {
|
|
10475
|
+
"description" : "Credentials scope. Defaults to organization for legacy tools.",
|
|
10476
|
+
"enum" : [ "organization", "user" ],
|
|
10477
|
+
"type" : "string"
|
|
10478
|
+
},
|
|
9809
10479
|
"configuration" : {
|
|
9810
10480
|
"additionalProperties" : true,
|
|
9811
10481
|
"type" : "object"
|
|
@@ -12556,6 +13226,9 @@
|
|
|
12556
13226
|
},
|
|
12557
13227
|
"ProviderValiationRequest" : {
|
|
12558
13228
|
"properties" : {
|
|
13229
|
+
"organizationId" : {
|
|
13230
|
+
"type" : "string"
|
|
13231
|
+
},
|
|
12559
13232
|
"providerType" : {
|
|
12560
13233
|
"type" : "string"
|
|
12561
13234
|
},
|
|
@@ -12563,7 +13236,7 @@
|
|
|
12563
13236
|
"type" : "string"
|
|
12564
13237
|
}
|
|
12565
13238
|
},
|
|
12566
|
-
"required" : [ "apiKey", "providerType" ],
|
|
13239
|
+
"required" : [ "apiKey", "organizationId", "providerType" ],
|
|
12567
13240
|
"type" : "object"
|
|
12568
13241
|
},
|
|
12569
13242
|
"Model" : {
|
|
@@ -12899,6 +13572,234 @@
|
|
|
12899
13572
|
"required" : [ "color", "name" ],
|
|
12900
13573
|
"type" : "object"
|
|
12901
13574
|
},
|
|
13575
|
+
"AccessRole" : {
|
|
13576
|
+
"properties" : {
|
|
13577
|
+
"id" : {
|
|
13578
|
+
"type" : "string"
|
|
13579
|
+
},
|
|
13580
|
+
"organizationId" : {
|
|
13581
|
+
"type" : "string"
|
|
13582
|
+
},
|
|
13583
|
+
"name" : {
|
|
13584
|
+
"type" : "string"
|
|
13585
|
+
},
|
|
13586
|
+
"description" : {
|
|
13587
|
+
"type" : "string"
|
|
13588
|
+
},
|
|
13589
|
+
"slug" : {
|
|
13590
|
+
"nullable" : true,
|
|
13591
|
+
"type" : "string"
|
|
13592
|
+
},
|
|
13593
|
+
"isSystem" : {
|
|
13594
|
+
"type" : "boolean"
|
|
13595
|
+
},
|
|
13596
|
+
"createdAt" : {
|
|
13597
|
+
"type" : "string"
|
|
13598
|
+
},
|
|
13599
|
+
"permissions" : {
|
|
13600
|
+
"items" : {
|
|
13601
|
+
"$ref" : "#/components/schemas/PermissionEntry"
|
|
13602
|
+
},
|
|
13603
|
+
"type" : "array"
|
|
13604
|
+
}
|
|
13605
|
+
},
|
|
13606
|
+
"required" : [ "createdAt", "description", "id", "name", "organizationId", "permissions" ],
|
|
13607
|
+
"type" : "object"
|
|
13608
|
+
},
|
|
13609
|
+
"PermissionEntry" : {
|
|
13610
|
+
"properties" : {
|
|
13611
|
+
"permission" : {
|
|
13612
|
+
"$ref" : "#/components/schemas/OrganizationPermissionKey"
|
|
13613
|
+
},
|
|
13614
|
+
"allowed" : {
|
|
13615
|
+
"type" : "boolean"
|
|
13616
|
+
}
|
|
13617
|
+
},
|
|
13618
|
+
"required" : [ "allowed", "permission" ],
|
|
13619
|
+
"type" : "object"
|
|
13620
|
+
},
|
|
13621
|
+
"OrganizationPermissionKey" : {
|
|
13622
|
+
"enum" : [ "org.read", "agent.read", "agent.update", "agent.delete", "agent.chat", "app.read", "knowledge.read", "knowledge.create", "knowledge.update", "knowledge.delete", "knowledge.file.add", "knowledge.file.delete", "knowledge.file.download", "skill.read", "skill.create", "skill.update", "skill.delete", "skill.file.add", "skill.file.delete", "moderation.read", "moderation.create", "moderation.update", "moderation.delete", "user.read", "user.create", "user.update", "user.delete", "engine.read", "engine.create", "engine.update", "engine.delete", "tool.read", "tool.create", "tool.update", "tool.delete", "flow.read" ],
|
|
13623
|
+
"type" : "string"
|
|
13624
|
+
},
|
|
13625
|
+
"AccessRoleCreateRequest" : {
|
|
13626
|
+
"properties" : {
|
|
13627
|
+
"name" : {
|
|
13628
|
+
"type" : "string"
|
|
13629
|
+
},
|
|
13630
|
+
"description" : {
|
|
13631
|
+
"type" : "string"
|
|
13632
|
+
},
|
|
13633
|
+
"permissions" : {
|
|
13634
|
+
"items" : {
|
|
13635
|
+
"$ref" : "#/components/schemas/PermissionEntry"
|
|
13636
|
+
},
|
|
13637
|
+
"type" : "array"
|
|
13638
|
+
}
|
|
13639
|
+
},
|
|
13640
|
+
"required" : [ "name" ],
|
|
13641
|
+
"type" : "object"
|
|
13642
|
+
},
|
|
13643
|
+
"AccessRoleUpdateRequest" : {
|
|
13644
|
+
"properties" : {
|
|
13645
|
+
"name" : {
|
|
13646
|
+
"type" : "string"
|
|
13647
|
+
},
|
|
13648
|
+
"description" : {
|
|
13649
|
+
"type" : "string"
|
|
13650
|
+
}
|
|
13651
|
+
},
|
|
13652
|
+
"required" : [ "name" ],
|
|
13653
|
+
"type" : "object"
|
|
13654
|
+
},
|
|
13655
|
+
"AccessRolePermissionsRequest" : {
|
|
13656
|
+
"properties" : {
|
|
13657
|
+
"permissions" : {
|
|
13658
|
+
"items" : {
|
|
13659
|
+
"$ref" : "#/components/schemas/PermissionEntry"
|
|
13660
|
+
},
|
|
13661
|
+
"type" : "array"
|
|
13662
|
+
}
|
|
13663
|
+
},
|
|
13664
|
+
"required" : [ "permissions" ],
|
|
13665
|
+
"type" : "object"
|
|
13666
|
+
},
|
|
13667
|
+
"MemberPermissions" : {
|
|
13668
|
+
"additionalProperties" : {
|
|
13669
|
+
"type" : "boolean"
|
|
13670
|
+
},
|
|
13671
|
+
"type" : "object"
|
|
13672
|
+
},
|
|
13673
|
+
"OrganizationMember" : {
|
|
13674
|
+
"properties" : {
|
|
13675
|
+
"id" : {
|
|
13676
|
+
"type" : "string"
|
|
13677
|
+
},
|
|
13678
|
+
"role" : {
|
|
13679
|
+
"type" : "string"
|
|
13680
|
+
},
|
|
13681
|
+
"createdAt" : {
|
|
13682
|
+
"type" : "string"
|
|
13683
|
+
},
|
|
13684
|
+
"user" : {
|
|
13685
|
+
"$ref" : "#/components/schemas/OrganizationMember_user"
|
|
13686
|
+
}
|
|
13687
|
+
},
|
|
13688
|
+
"required" : [ "createdAt", "id", "role", "user" ],
|
|
13689
|
+
"type" : "object"
|
|
13690
|
+
},
|
|
13691
|
+
"OrganizationUserInviteRequest" : {
|
|
13692
|
+
"properties" : {
|
|
13693
|
+
"email" : {
|
|
13694
|
+
"type" : "string"
|
|
13695
|
+
},
|
|
13696
|
+
"role" : {
|
|
13697
|
+
"type" : "string"
|
|
13698
|
+
}
|
|
13699
|
+
},
|
|
13700
|
+
"required" : [ "email" ],
|
|
13701
|
+
"type" : "object"
|
|
13702
|
+
},
|
|
13703
|
+
"OrganizationUserInviteResponse" : {
|
|
13704
|
+
"properties" : {
|
|
13705
|
+
"userId" : {
|
|
13706
|
+
"type" : "string"
|
|
13707
|
+
}
|
|
13708
|
+
},
|
|
13709
|
+
"required" : [ "userId" ],
|
|
13710
|
+
"type" : "object"
|
|
13711
|
+
},
|
|
13712
|
+
"UserAccess" : {
|
|
13713
|
+
"properties" : {
|
|
13714
|
+
"roleIds" : {
|
|
13715
|
+
"items" : {
|
|
13716
|
+
"type" : "string"
|
|
13717
|
+
},
|
|
13718
|
+
"type" : "array"
|
|
13719
|
+
},
|
|
13720
|
+
"directPermissions" : {
|
|
13721
|
+
"items" : {
|
|
13722
|
+
"$ref" : "#/components/schemas/PermissionEntry"
|
|
13723
|
+
},
|
|
13724
|
+
"type" : "array"
|
|
13725
|
+
}
|
|
13726
|
+
},
|
|
13727
|
+
"required" : [ "directPermissions", "roleIds" ],
|
|
13728
|
+
"type" : "object"
|
|
13729
|
+
},
|
|
13730
|
+
"UserAccessRolesRequest" : {
|
|
13731
|
+
"properties" : {
|
|
13732
|
+
"roleIds" : {
|
|
13733
|
+
"items" : {
|
|
13734
|
+
"type" : "string"
|
|
13735
|
+
},
|
|
13736
|
+
"type" : "array"
|
|
13737
|
+
}
|
|
13738
|
+
},
|
|
13739
|
+
"required" : [ "roleIds" ],
|
|
13740
|
+
"type" : "object"
|
|
13741
|
+
},
|
|
13742
|
+
"UserDirectPermissionsRequest" : {
|
|
13743
|
+
"properties" : {
|
|
13744
|
+
"permissions" : {
|
|
13745
|
+
"items" : {
|
|
13746
|
+
"$ref" : "#/components/schemas/PermissionEntry"
|
|
13747
|
+
},
|
|
13748
|
+
"type" : "array"
|
|
13749
|
+
}
|
|
13750
|
+
},
|
|
13751
|
+
"required" : [ "permissions" ],
|
|
13752
|
+
"type" : "object"
|
|
13753
|
+
},
|
|
13754
|
+
"UserAgentAccess" : {
|
|
13755
|
+
"properties" : {
|
|
13756
|
+
"scoped" : {
|
|
13757
|
+
"description" : "When true, only listed agents are accessible (org-wide agent.read is ignored for listing).",
|
|
13758
|
+
"type" : "boolean"
|
|
13759
|
+
},
|
|
13760
|
+
"agentIds" : {
|
|
13761
|
+
"items" : {
|
|
13762
|
+
"type" : "string"
|
|
13763
|
+
},
|
|
13764
|
+
"type" : "array"
|
|
13765
|
+
},
|
|
13766
|
+
"availableAgents" : {
|
|
13767
|
+
"items" : {
|
|
13768
|
+
"$ref" : "#/components/schemas/UserAgentAccessAgent"
|
|
13769
|
+
},
|
|
13770
|
+
"type" : "array"
|
|
13771
|
+
}
|
|
13772
|
+
},
|
|
13773
|
+
"required" : [ "agentIds", "availableAgents", "scoped" ],
|
|
13774
|
+
"type" : "object"
|
|
13775
|
+
},
|
|
13776
|
+
"UserAgentAccessAgent" : {
|
|
13777
|
+
"properties" : {
|
|
13778
|
+
"id" : {
|
|
13779
|
+
"type" : "string"
|
|
13780
|
+
},
|
|
13781
|
+
"name" : {
|
|
13782
|
+
"type" : "string"
|
|
13783
|
+
}
|
|
13784
|
+
},
|
|
13785
|
+
"required" : [ "id", "name" ],
|
|
13786
|
+
"type" : "object"
|
|
13787
|
+
},
|
|
13788
|
+
"UserAgentAccessRequest" : {
|
|
13789
|
+
"properties" : {
|
|
13790
|
+
"scoped" : {
|
|
13791
|
+
"type" : "boolean"
|
|
13792
|
+
},
|
|
13793
|
+
"agentIds" : {
|
|
13794
|
+
"items" : {
|
|
13795
|
+
"type" : "string"
|
|
13796
|
+
},
|
|
13797
|
+
"type" : "array"
|
|
13798
|
+
}
|
|
13799
|
+
},
|
|
13800
|
+
"required" : [ "agentIds", "scoped" ],
|
|
13801
|
+
"type" : "object"
|
|
13802
|
+
},
|
|
12902
13803
|
"OrganizationEngine" : {
|
|
12903
13804
|
"additionalProperties" : false,
|
|
12904
13805
|
"description" : "Engine configuration attached to an organization.",
|
|
@@ -13171,6 +14072,11 @@
|
|
|
13171
14072
|
"description" : "e.g. tool_api | mcp",
|
|
13172
14073
|
"type" : "string"
|
|
13173
14074
|
},
|
|
14075
|
+
"scope" : {
|
|
14076
|
+
"description" : "Credentials scope. organization = one shared connection; user = each user connects their own account. Immutable after creation.",
|
|
14077
|
+
"enum" : [ "organization", "user" ],
|
|
14078
|
+
"type" : "string"
|
|
14079
|
+
},
|
|
13174
14080
|
"configuration" : {
|
|
13175
14081
|
"additionalProperties" : true,
|
|
13176
14082
|
"type" : "object"
|
|
@@ -13248,6 +14154,11 @@
|
|
|
13248
14154
|
"enum" : [ "tool_api", "mcp" ],
|
|
13249
14155
|
"type" : "string"
|
|
13250
14156
|
},
|
|
14157
|
+
"scope" : {
|
|
14158
|
+
"description" : "Credentials scope. Defaults to organization for legacy tools.",
|
|
14159
|
+
"enum" : [ "organization", "user" ],
|
|
14160
|
+
"type" : "string"
|
|
14161
|
+
},
|
|
13251
14162
|
"configuration" : {
|
|
13252
14163
|
"$ref" : "#/components/schemas/ToolSecure_configuration"
|
|
13253
14164
|
},
|
|
@@ -13335,6 +14246,50 @@
|
|
|
13335
14246
|
"title" : "RevealTokenResponse",
|
|
13336
14247
|
"type" : "object"
|
|
13337
14248
|
},
|
|
14249
|
+
"ToolAllowedToolsRequest" : {
|
|
14250
|
+
"additionalProperties" : false,
|
|
14251
|
+
"properties" : {
|
|
14252
|
+
"allowedTools" : {
|
|
14253
|
+
"items" : {
|
|
14254
|
+
"type" : "string"
|
|
14255
|
+
},
|
|
14256
|
+
"type" : "array",
|
|
14257
|
+
"uniqueItems" : true
|
|
14258
|
+
}
|
|
14259
|
+
},
|
|
14260
|
+
"required" : [ "allowedTools" ],
|
|
14261
|
+
"title" : "ToolAllowedToolsRequest",
|
|
14262
|
+
"type" : "object"
|
|
14263
|
+
},
|
|
14264
|
+
"ToolAllowedToolsResponse" : {
|
|
14265
|
+
"additionalProperties" : false,
|
|
14266
|
+
"properties" : {
|
|
14267
|
+
"allowedTools" : {
|
|
14268
|
+
"items" : {
|
|
14269
|
+
"type" : "string"
|
|
14270
|
+
},
|
|
14271
|
+
"type" : "array"
|
|
14272
|
+
}
|
|
14273
|
+
},
|
|
14274
|
+
"required" : [ "allowedTools" ],
|
|
14275
|
+
"title" : "ToolAllowedToolsResponse",
|
|
14276
|
+
"type" : "object"
|
|
14277
|
+
},
|
|
14278
|
+
"ToolConnectionStatusResponse" : {
|
|
14279
|
+
"additionalProperties" : false,
|
|
14280
|
+
"properties" : {
|
|
14281
|
+
"scope" : {
|
|
14282
|
+
"enum" : [ "organization", "user" ],
|
|
14283
|
+
"type" : "string"
|
|
14284
|
+
},
|
|
14285
|
+
"connected" : {
|
|
14286
|
+
"type" : "boolean"
|
|
14287
|
+
}
|
|
14288
|
+
},
|
|
14289
|
+
"required" : [ "connected", "scope" ],
|
|
14290
|
+
"title" : "ToolConnectionStatusResponse",
|
|
14291
|
+
"type" : "object"
|
|
14292
|
+
},
|
|
13338
14293
|
"Skill" : {
|
|
13339
14294
|
"properties" : {
|
|
13340
14295
|
"id" : {
|
|
@@ -13776,7 +14731,7 @@
|
|
|
13776
14731
|
"type" : "boolean"
|
|
13777
14732
|
},
|
|
13778
14733
|
"user" : {
|
|
13779
|
-
"$ref" : "#/components/schemas/
|
|
14734
|
+
"$ref" : "#/components/schemas/OrganizationMember_user"
|
|
13780
14735
|
},
|
|
13781
14736
|
"createdAt" : {
|
|
13782
14737
|
"type" : "string"
|
|
@@ -14841,6 +15796,15 @@
|
|
|
14841
15796
|
"required" : [ "id" ],
|
|
14842
15797
|
"type" : "object"
|
|
14843
15798
|
},
|
|
15799
|
+
"OrganizationMember_user" : {
|
|
15800
|
+
"properties" : {
|
|
15801
|
+
"email" : {
|
|
15802
|
+
"type" : "string"
|
|
15803
|
+
}
|
|
15804
|
+
},
|
|
15805
|
+
"required" : [ "email" ],
|
|
15806
|
+
"type" : "object"
|
|
15807
|
+
},
|
|
14844
15808
|
"KnowledgeFileSummary_knowledgeBaseId" : {
|
|
14845
15809
|
"oneOf" : [ {
|
|
14846
15810
|
"type" : "string"
|
|
@@ -15015,15 +15979,6 @@
|
|
|
15015
15979
|
}
|
|
15016
15980
|
},
|
|
15017
15981
|
"type" : "object"
|
|
15018
|
-
},
|
|
15019
|
-
"User_user" : {
|
|
15020
|
-
"properties" : {
|
|
15021
|
-
"email" : {
|
|
15022
|
-
"type" : "string"
|
|
15023
|
-
}
|
|
15024
|
-
},
|
|
15025
|
-
"required" : [ "email" ],
|
|
15026
|
-
"type" : "object"
|
|
15027
15982
|
}
|
|
15028
15983
|
},
|
|
15029
15984
|
"securitySchemes" : {
|