@breign/client 1.0.110 → 1.0.111
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/SkillsApi.d.ts +46 -1
- package/dist/apis/SkillsApi.js +109 -0
- package/dist/models/LibrarySkillEntryUio.d.ts +87 -0
- package/dist/models/LibrarySkillEntryUio.js +83 -0
- package/dist/models/LibrarySkillInstallRequestUio.d.ts +38 -0
- package/dist/models/LibrarySkillInstallRequestUio.js +52 -0
- package/dist/models/LibrarySkillSyncRequestUio.d.ts +32 -0
- package/dist/models/LibrarySkillSyncRequestUio.js +48 -0
- package/dist/models/LibrarySkillVersionFilesInnerUio.d.ts +38 -0
- package/dist/models/LibrarySkillVersionFilesInnerUio.js +54 -0
- package/dist/models/LibrarySkillVersionUio.d.ts +105 -0
- package/dist/models/LibrarySkillVersionUio.js +89 -0
- package/dist/models/LibrarySkillsPageUio.d.ts +63 -0
- package/dist/models/LibrarySkillsPageUio.js +71 -0
- package/dist/models/SkillAssignRequestUio.js +2 -2
- package/dist/models/SkillUio.d.ts +12 -0
- package/dist/models/SkillUio.js +4 -0
- package/dist/models/SkillUpdateRequestUio.d.ts +12 -0
- package/dist/models/SkillUpdateRequestUio.js +4 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/openapi.json +365 -4
- package/package.json +1 -1
package/dist/openapi.json
CHANGED
|
@@ -9247,7 +9247,7 @@
|
|
|
9247
9247
|
}
|
|
9248
9248
|
}
|
|
9249
9249
|
},
|
|
9250
|
-
"description" : "
|
|
9250
|
+
"description" : "Paginated list of skills",
|
|
9251
9251
|
"headers" : {
|
|
9252
9252
|
"X-Total-Count" : {
|
|
9253
9253
|
"description" : "Total number of skills in the organization",
|
|
@@ -9256,16 +9256,19 @@
|
|
|
9256
9256
|
}
|
|
9257
9257
|
},
|
|
9258
9258
|
"X-Page" : {
|
|
9259
|
+
"description" : "Current page number",
|
|
9259
9260
|
"schema" : {
|
|
9260
9261
|
"type" : "integer"
|
|
9261
9262
|
}
|
|
9262
9263
|
},
|
|
9263
9264
|
"X-Limit" : {
|
|
9265
|
+
"description" : "Maximum number of items per page",
|
|
9264
9266
|
"schema" : {
|
|
9265
9267
|
"type" : "integer"
|
|
9266
9268
|
}
|
|
9267
9269
|
},
|
|
9268
9270
|
"X-Total-Pages" : {
|
|
9271
|
+
"description" : "Total number of pages",
|
|
9269
9272
|
"schema" : {
|
|
9270
9273
|
"type" : "integer"
|
|
9271
9274
|
}
|
|
@@ -9739,7 +9742,7 @@
|
|
|
9739
9742
|
"required" : true
|
|
9740
9743
|
},
|
|
9741
9744
|
"responses" : {
|
|
9742
|
-
"
|
|
9745
|
+
"204" : {
|
|
9743
9746
|
"description" : "Skill assigned (or already assigned — idempotent)"
|
|
9744
9747
|
},
|
|
9745
9748
|
"400" : {
|
|
@@ -9840,6 +9843,178 @@
|
|
|
9840
9843
|
"tags" : [ "skills" ]
|
|
9841
9844
|
}
|
|
9842
9845
|
},
|
|
9846
|
+
"/library-skills" : {
|
|
9847
|
+
"get" : {
|
|
9848
|
+
"description" : "Returns a paginated, searchable, filterable list of library skills with their versions. Requires organizationId for install status context.",
|
|
9849
|
+
"operationId" : "listLibrarySkills",
|
|
9850
|
+
"parameters" : [ {
|
|
9851
|
+
"description" : "Organization ID",
|
|
9852
|
+
"in" : "query",
|
|
9853
|
+
"name" : "organizationId",
|
|
9854
|
+
"required" : true,
|
|
9855
|
+
"schema" : {
|
|
9856
|
+
"type" : "string"
|
|
9857
|
+
}
|
|
9858
|
+
}, {
|
|
9859
|
+
"description" : "Page number",
|
|
9860
|
+
"in" : "query",
|
|
9861
|
+
"name" : "page",
|
|
9862
|
+
"schema" : {
|
|
9863
|
+
"type" : "integer"
|
|
9864
|
+
}
|
|
9865
|
+
}, {
|
|
9866
|
+
"description" : "Maximum number of library skills to return",
|
|
9867
|
+
"in" : "query",
|
|
9868
|
+
"name" : "limit",
|
|
9869
|
+
"schema" : {
|
|
9870
|
+
"default" : 20,
|
|
9871
|
+
"maximum" : 100,
|
|
9872
|
+
"type" : "integer"
|
|
9873
|
+
}
|
|
9874
|
+
}, {
|
|
9875
|
+
"description" : "Search library skills by name or description",
|
|
9876
|
+
"in" : "query",
|
|
9877
|
+
"name" : "search",
|
|
9878
|
+
"schema" : {
|
|
9879
|
+
"type" : "string"
|
|
9880
|
+
}
|
|
9881
|
+
}, {
|
|
9882
|
+
"description" : "Filter library skills by category",
|
|
9883
|
+
"in" : "query",
|
|
9884
|
+
"name" : "category",
|
|
9885
|
+
"schema" : {
|
|
9886
|
+
"type" : "string"
|
|
9887
|
+
}
|
|
9888
|
+
} ],
|
|
9889
|
+
"responses" : {
|
|
9890
|
+
"200" : {
|
|
9891
|
+
"content" : {
|
|
9892
|
+
"application/json" : {
|
|
9893
|
+
"schema" : {
|
|
9894
|
+
"$ref" : "#/components/schemas/LibrarySkillsPage"
|
|
9895
|
+
}
|
|
9896
|
+
}
|
|
9897
|
+
},
|
|
9898
|
+
"description" : "Paginated list of library skills"
|
|
9899
|
+
},
|
|
9900
|
+
"400" : {
|
|
9901
|
+
"description" : "MISSING_ORG_ID"
|
|
9902
|
+
},
|
|
9903
|
+
"401" : {
|
|
9904
|
+
"description" : "Unauthorized"
|
|
9905
|
+
},
|
|
9906
|
+
"403" : {
|
|
9907
|
+
"description" : "Forbidden"
|
|
9908
|
+
}
|
|
9909
|
+
},
|
|
9910
|
+
"summary" : "List all library skills",
|
|
9911
|
+
"tags" : [ "skills" ]
|
|
9912
|
+
}
|
|
9913
|
+
},
|
|
9914
|
+
"/library-skills/{slug}/install" : {
|
|
9915
|
+
"post" : {
|
|
9916
|
+
"description" : "Creates a new skill in the organization from the specified library skill version (defaults to latest)",
|
|
9917
|
+
"operationId" : "installLibrarySkill",
|
|
9918
|
+
"parameters" : [ {
|
|
9919
|
+
"in" : "path",
|
|
9920
|
+
"name" : "slug",
|
|
9921
|
+
"required" : true,
|
|
9922
|
+
"schema" : {
|
|
9923
|
+
"type" : "string"
|
|
9924
|
+
}
|
|
9925
|
+
} ],
|
|
9926
|
+
"requestBody" : {
|
|
9927
|
+
"content" : {
|
|
9928
|
+
"application/json" : {
|
|
9929
|
+
"schema" : {
|
|
9930
|
+
"$ref" : "#/components/schemas/LibrarySkillInstallRequest"
|
|
9931
|
+
}
|
|
9932
|
+
}
|
|
9933
|
+
},
|
|
9934
|
+
"required" : true
|
|
9935
|
+
},
|
|
9936
|
+
"responses" : {
|
|
9937
|
+
"201" : {
|
|
9938
|
+
"content" : {
|
|
9939
|
+
"application/json" : {
|
|
9940
|
+
"schema" : {
|
|
9941
|
+
"$ref" : "#/components/schemas/Skill"
|
|
9942
|
+
}
|
|
9943
|
+
}
|
|
9944
|
+
},
|
|
9945
|
+
"description" : "Skill installed successfully"
|
|
9946
|
+
},
|
|
9947
|
+
"400" : {
|
|
9948
|
+
"description" : "Invalid request body"
|
|
9949
|
+
},
|
|
9950
|
+
"401" : {
|
|
9951
|
+
"description" : "Unauthorized"
|
|
9952
|
+
},
|
|
9953
|
+
"403" : {
|
|
9954
|
+
"description" : "Forbidden"
|
|
9955
|
+
},
|
|
9956
|
+
"404" : {
|
|
9957
|
+
"description" : "LIBRARY_SKILL_NOT_FOUND"
|
|
9958
|
+
},
|
|
9959
|
+
"409" : {
|
|
9960
|
+
"description" : "SKILL_SLUG_ALREADY_EXISTS"
|
|
9961
|
+
}
|
|
9962
|
+
},
|
|
9963
|
+
"summary" : "Install a library skill into an organization",
|
|
9964
|
+
"tags" : [ "skills" ]
|
|
9965
|
+
}
|
|
9966
|
+
},
|
|
9967
|
+
"/skills/{skillId}/sync-library" : {
|
|
9968
|
+
"post" : {
|
|
9969
|
+
"description" : "Updates the skill content from the specified library version (defaults to latest)",
|
|
9970
|
+
"operationId" : "syncSkillToLibrary",
|
|
9971
|
+
"parameters" : [ {
|
|
9972
|
+
"in" : "path",
|
|
9973
|
+
"name" : "skillId",
|
|
9974
|
+
"required" : true,
|
|
9975
|
+
"schema" : {
|
|
9976
|
+
"format" : "uuid",
|
|
9977
|
+
"type" : "string"
|
|
9978
|
+
}
|
|
9979
|
+
} ],
|
|
9980
|
+
"requestBody" : {
|
|
9981
|
+
"content" : {
|
|
9982
|
+
"application/json" : {
|
|
9983
|
+
"schema" : {
|
|
9984
|
+
"$ref" : "#/components/schemas/LibrarySkillSyncRequest"
|
|
9985
|
+
}
|
|
9986
|
+
}
|
|
9987
|
+
},
|
|
9988
|
+
"required" : false
|
|
9989
|
+
},
|
|
9990
|
+
"responses" : {
|
|
9991
|
+
"200" : {
|
|
9992
|
+
"content" : {
|
|
9993
|
+
"application/json" : {
|
|
9994
|
+
"schema" : {
|
|
9995
|
+
"$ref" : "#/components/schemas/Skill"
|
|
9996
|
+
}
|
|
9997
|
+
}
|
|
9998
|
+
},
|
|
9999
|
+
"description" : "Skill synced successfully"
|
|
10000
|
+
},
|
|
10001
|
+
"400" : {
|
|
10002
|
+
"description" : "Invalid request or SKILL_NOT_FROM_LIBRARY"
|
|
10003
|
+
},
|
|
10004
|
+
"401" : {
|
|
10005
|
+
"description" : "Unauthorized"
|
|
10006
|
+
},
|
|
10007
|
+
"403" : {
|
|
10008
|
+
"description" : "Forbidden"
|
|
10009
|
+
},
|
|
10010
|
+
"404" : {
|
|
10011
|
+
"description" : "SKILL_NOT_FOUND or LIBRARY_VERSION_NOT_FOUND"
|
|
10012
|
+
}
|
|
10013
|
+
},
|
|
10014
|
+
"summary" : "Sync an installed skill to a library version",
|
|
10015
|
+
"tags" : [ "skills" ]
|
|
10016
|
+
}
|
|
10017
|
+
},
|
|
9843
10018
|
"/remote/pin-requests" : {
|
|
9844
10019
|
"post" : {
|
|
9845
10020
|
"description" : "Creates a PIN request for remote access",
|
|
@@ -15473,6 +15648,15 @@
|
|
|
15473
15648
|
"updatedAt" : {
|
|
15474
15649
|
"format" : "date-time",
|
|
15475
15650
|
"type" : "string"
|
|
15651
|
+
},
|
|
15652
|
+
"librarySlug" : {
|
|
15653
|
+
"nullable" : true,
|
|
15654
|
+
"type" : "string"
|
|
15655
|
+
},
|
|
15656
|
+
"libraryVersionId" : {
|
|
15657
|
+
"format" : "uuid",
|
|
15658
|
+
"nullable" : true,
|
|
15659
|
+
"type" : "string"
|
|
15476
15660
|
}
|
|
15477
15661
|
},
|
|
15478
15662
|
"required" : [ "content", "description", "id", "isActive", "name", "orgId", "slug" ],
|
|
@@ -15529,6 +15713,15 @@
|
|
|
15529
15713
|
},
|
|
15530
15714
|
"isActive" : {
|
|
15531
15715
|
"type" : "boolean"
|
|
15716
|
+
},
|
|
15717
|
+
"librarySlug" : {
|
|
15718
|
+
"nullable" : true,
|
|
15719
|
+
"type" : "string"
|
|
15720
|
+
},
|
|
15721
|
+
"libraryVersionId" : {
|
|
15722
|
+
"format" : "uuid",
|
|
15723
|
+
"nullable" : true,
|
|
15724
|
+
"type" : "string"
|
|
15532
15725
|
}
|
|
15533
15726
|
},
|
|
15534
15727
|
"type" : "object"
|
|
@@ -15633,12 +15826,12 @@
|
|
|
15633
15826
|
"SkillAssignRequest" : {
|
|
15634
15827
|
"additionalProperties" : false,
|
|
15635
15828
|
"properties" : {
|
|
15636
|
-
"
|
|
15829
|
+
"skillId" : {
|
|
15637
15830
|
"format" : "uuid",
|
|
15638
15831
|
"type" : "string"
|
|
15639
15832
|
}
|
|
15640
15833
|
},
|
|
15641
|
-
"required" : [ "
|
|
15834
|
+
"required" : [ "skillId" ],
|
|
15642
15835
|
"type" : "object"
|
|
15643
15836
|
},
|
|
15644
15837
|
"AvailableCommand" : {
|
|
@@ -15657,6 +15850,162 @@
|
|
|
15657
15850
|
"required" : [ "description", "slug", "source" ],
|
|
15658
15851
|
"type" : "object"
|
|
15659
15852
|
},
|
|
15853
|
+
"LibrarySkillsPage" : {
|
|
15854
|
+
"properties" : {
|
|
15855
|
+
"data" : {
|
|
15856
|
+
"items" : {
|
|
15857
|
+
"$ref" : "#/components/schemas/LibrarySkillEntry"
|
|
15858
|
+
},
|
|
15859
|
+
"type" : "array"
|
|
15860
|
+
},
|
|
15861
|
+
"total" : {
|
|
15862
|
+
"type" : "integer"
|
|
15863
|
+
},
|
|
15864
|
+
"page" : {
|
|
15865
|
+
"type" : "integer"
|
|
15866
|
+
},
|
|
15867
|
+
"limit" : {
|
|
15868
|
+
"type" : "integer"
|
|
15869
|
+
},
|
|
15870
|
+
"totalPages" : {
|
|
15871
|
+
"type" : "integer"
|
|
15872
|
+
},
|
|
15873
|
+
"allCategories" : {
|
|
15874
|
+
"items" : {
|
|
15875
|
+
"type" : "string"
|
|
15876
|
+
},
|
|
15877
|
+
"type" : "array"
|
|
15878
|
+
}
|
|
15879
|
+
},
|
|
15880
|
+
"required" : [ "allCategories", "data", "limit", "page", "total", "totalPages" ],
|
|
15881
|
+
"type" : "object"
|
|
15882
|
+
},
|
|
15883
|
+
"LibrarySkillEntry" : {
|
|
15884
|
+
"properties" : {
|
|
15885
|
+
"id" : {
|
|
15886
|
+
"type" : "string"
|
|
15887
|
+
},
|
|
15888
|
+
"slug" : {
|
|
15889
|
+
"type" : "string"
|
|
15890
|
+
},
|
|
15891
|
+
"name" : {
|
|
15892
|
+
"type" : "string"
|
|
15893
|
+
},
|
|
15894
|
+
"description" : {
|
|
15895
|
+
"type" : "string"
|
|
15896
|
+
},
|
|
15897
|
+
"sourceSkillId" : {
|
|
15898
|
+
"format" : "uuid",
|
|
15899
|
+
"nullable" : true,
|
|
15900
|
+
"type" : "string"
|
|
15901
|
+
},
|
|
15902
|
+
"latestVersionId" : {
|
|
15903
|
+
"format" : "uuid",
|
|
15904
|
+
"nullable" : true,
|
|
15905
|
+
"type" : "string"
|
|
15906
|
+
},
|
|
15907
|
+
"createdAt" : {
|
|
15908
|
+
"format" : "date-time",
|
|
15909
|
+
"type" : "string"
|
|
15910
|
+
},
|
|
15911
|
+
"updatedAt" : {
|
|
15912
|
+
"format" : "date-time",
|
|
15913
|
+
"type" : "string"
|
|
15914
|
+
},
|
|
15915
|
+
"versions" : {
|
|
15916
|
+
"items" : {
|
|
15917
|
+
"$ref" : "#/components/schemas/LibrarySkillVersion"
|
|
15918
|
+
},
|
|
15919
|
+
"type" : "array"
|
|
15920
|
+
},
|
|
15921
|
+
"latestVersion" : {
|
|
15922
|
+
"$ref" : "#/components/schemas/LibrarySkillVersion"
|
|
15923
|
+
}
|
|
15924
|
+
},
|
|
15925
|
+
"required" : [ "createdAt", "description", "id", "latestVersionId", "name", "slug", "updatedAt", "versions" ],
|
|
15926
|
+
"type" : "object"
|
|
15927
|
+
},
|
|
15928
|
+
"LibrarySkillVersion" : {
|
|
15929
|
+
"properties" : {
|
|
15930
|
+
"id" : {
|
|
15931
|
+
"format" : "uuid",
|
|
15932
|
+
"type" : "string"
|
|
15933
|
+
},
|
|
15934
|
+
"slug" : {
|
|
15935
|
+
"type" : "string"
|
|
15936
|
+
},
|
|
15937
|
+
"version" : {
|
|
15938
|
+
"type" : "string"
|
|
15939
|
+
},
|
|
15940
|
+
"name" : {
|
|
15941
|
+
"type" : "string"
|
|
15942
|
+
},
|
|
15943
|
+
"description" : {
|
|
15944
|
+
"type" : "string"
|
|
15945
|
+
},
|
|
15946
|
+
"content" : {
|
|
15947
|
+
"type" : "string"
|
|
15948
|
+
},
|
|
15949
|
+
"isLatest" : {
|
|
15950
|
+
"type" : "boolean"
|
|
15951
|
+
},
|
|
15952
|
+
"sourceSkillId" : {
|
|
15953
|
+
"format" : "uuid",
|
|
15954
|
+
"nullable" : true,
|
|
15955
|
+
"type" : "string"
|
|
15956
|
+
},
|
|
15957
|
+
"publishedAt" : {
|
|
15958
|
+
"format" : "date-time",
|
|
15959
|
+
"type" : "string"
|
|
15960
|
+
},
|
|
15961
|
+
"publishedBy" : {
|
|
15962
|
+
"format" : "uuid",
|
|
15963
|
+
"nullable" : true,
|
|
15964
|
+
"type" : "string"
|
|
15965
|
+
},
|
|
15966
|
+
"publishedByName" : {
|
|
15967
|
+
"nullable" : true,
|
|
15968
|
+
"type" : "string"
|
|
15969
|
+
},
|
|
15970
|
+
"category" : {
|
|
15971
|
+
"nullable" : true,
|
|
15972
|
+
"type" : "string"
|
|
15973
|
+
},
|
|
15974
|
+
"files" : {
|
|
15975
|
+
"items" : {
|
|
15976
|
+
"$ref" : "#/components/schemas/LibrarySkillVersion_files_inner"
|
|
15977
|
+
},
|
|
15978
|
+
"type" : "array"
|
|
15979
|
+
}
|
|
15980
|
+
},
|
|
15981
|
+
"required" : [ "content", "description", "id", "isLatest", "name", "publishedAt", "slug", "version" ],
|
|
15982
|
+
"type" : "object"
|
|
15983
|
+
},
|
|
15984
|
+
"LibrarySkillInstallRequest" : {
|
|
15985
|
+
"additionalProperties" : false,
|
|
15986
|
+
"properties" : {
|
|
15987
|
+
"organizationId" : {
|
|
15988
|
+
"format" : "uuid",
|
|
15989
|
+
"type" : "string"
|
|
15990
|
+
},
|
|
15991
|
+
"versionId" : {
|
|
15992
|
+
"format" : "uuid",
|
|
15993
|
+
"type" : "string"
|
|
15994
|
+
}
|
|
15995
|
+
},
|
|
15996
|
+
"required" : [ "organizationId" ],
|
|
15997
|
+
"type" : "object"
|
|
15998
|
+
},
|
|
15999
|
+
"LibrarySkillSyncRequest" : {
|
|
16000
|
+
"additionalProperties" : false,
|
|
16001
|
+
"properties" : {
|
|
16002
|
+
"versionId" : {
|
|
16003
|
+
"format" : "uuid",
|
|
16004
|
+
"type" : "string"
|
|
16005
|
+
}
|
|
16006
|
+
},
|
|
16007
|
+
"type" : "object"
|
|
16008
|
+
},
|
|
15660
16009
|
"PinRequest" : {
|
|
15661
16010
|
"properties" : {
|
|
15662
16011
|
"user" : {
|
|
@@ -17378,6 +17727,18 @@
|
|
|
17378
17727
|
},
|
|
17379
17728
|
"type" : "object"
|
|
17380
17729
|
},
|
|
17730
|
+
"LibrarySkillVersion_files_inner" : {
|
|
17731
|
+
"properties" : {
|
|
17732
|
+
"filename" : {
|
|
17733
|
+
"type" : "string"
|
|
17734
|
+
},
|
|
17735
|
+
"content" : {
|
|
17736
|
+
"type" : "string"
|
|
17737
|
+
}
|
|
17738
|
+
},
|
|
17739
|
+
"required" : [ "content", "filename" ],
|
|
17740
|
+
"type" : "object"
|
|
17741
|
+
},
|
|
17381
17742
|
"MessageStatus_error" : {
|
|
17382
17743
|
"properties" : {
|
|
17383
17744
|
"code" : {
|