gatana-sdk 3.0.0 → 3.1.0
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/api/index.cjs +9 -1
- package/dist/api/index.d.cts +2 -2
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.mjs +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{sdk.gen-CyOAEozT.cjs → sdk.gen-CPj479Qv.cjs} +190 -6
- package/dist/{sdk.gen-C2b2ZNMj.d.mts → sdk.gen-DTUv_UKF.d.cts} +2214 -1734
- package/dist/sdk.gen-DTUv_UKF.d.cts.map +1 -0
- package/dist/{sdk.gen-OcCJ7VK7.mjs → sdk.gen-DnHL4s0x.mjs} +144 -8
- package/dist/sdk.gen-DnHL4s0x.mjs.map +1 -0
- package/dist/{sdk.gen-aJw0bLkG.d.cts → sdk.gen-oW0osWyp.d.mts} +2214 -1734
- package/dist/sdk.gen-oW0osWyp.d.mts.map +1 -0
- package/package.json +1 -1
- package/dist/sdk.gen-C2b2ZNMj.d.mts.map +0 -1
- package/dist/sdk.gen-OcCJ7VK7.mjs.map +0 -1
- package/dist/sdk.gen-aJw0bLkG.d.cts.map +0 -1
|
@@ -661,6 +661,7 @@ var sdk_gen_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
|
661
661
|
createSecretStoreMapping: () => createSecretStoreMapping,
|
|
662
662
|
createSiemDestination: () => createSiemDestination,
|
|
663
663
|
createSkill: () => createSkill,
|
|
664
|
+
createSkillCollection: () => createSkillCollection,
|
|
664
665
|
createTeam: () => createTeam,
|
|
665
666
|
createTeamClaimMapping: () => createTeamClaimMapping,
|
|
666
667
|
createTeamInvitation: () => createTeamInvitation,
|
|
@@ -687,6 +688,7 @@ var sdk_gen_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
|
687
688
|
deleteSecretStoreMapping: () => deleteSecretStoreMapping,
|
|
688
689
|
deleteSiemDestination: () => deleteSiemDestination,
|
|
689
690
|
deleteSkill: () => deleteSkill,
|
|
691
|
+
deleteSkillCollection: () => deleteSkillCollection,
|
|
690
692
|
deleteTeam: () => deleteTeam,
|
|
691
693
|
deleteTeamClaimMapping: () => deleteTeamClaimMapping,
|
|
692
694
|
deleteTeamInvitation: () => deleteTeamInvitation,
|
|
@@ -722,6 +724,7 @@ var sdk_gen_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
|
722
724
|
getSiemDestination: () => getSiemDestination,
|
|
723
725
|
getSiemDestinationSecret: () => getSiemDestinationSecret,
|
|
724
726
|
getSkill: () => getSkill,
|
|
727
|
+
getSkillCollection: () => getSkillCollection,
|
|
725
728
|
getTeam: () => getTeam,
|
|
726
729
|
getTenant: () => getTenant,
|
|
727
730
|
getTenantSubscription: () => getTenantSubscription,
|
|
@@ -754,6 +757,8 @@ var sdk_gen_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
|
754
757
|
listScimConfigTokens: () => listScimConfigTokens,
|
|
755
758
|
listSecretStoreMappings: () => listSecretStoreMappings,
|
|
756
759
|
listSecretStores: () => listSecretStores,
|
|
760
|
+
listSkillCollectionShares: () => listSkillCollectionShares,
|
|
761
|
+
listSkillCollections: () => listSkillCollections,
|
|
757
762
|
listSkillShares: () => listSkillShares,
|
|
758
763
|
listSkills: () => listSkills,
|
|
759
764
|
listTeamClaimMappings: () => listTeamClaimMappings,
|
|
@@ -780,6 +785,7 @@ var sdk_gen_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
|
780
785
|
sendEmailVerificationCode: () => sendEmailVerificationCode,
|
|
781
786
|
shareArtifact: () => shareArtifact,
|
|
782
787
|
shareSkill: () => shareSkill,
|
|
788
|
+
shareSkillCollection: () => shareSkillCollection,
|
|
783
789
|
startMcpServer: () => startMcpServer,
|
|
784
790
|
stopMcpServer: () => stopMcpServer,
|
|
785
791
|
testMcpServerOpenapi: () => testMcpServerOpenapi,
|
|
@@ -787,6 +793,7 @@ var sdk_gen_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
|
787
793
|
testSiemDestination: () => testSiemDestination,
|
|
788
794
|
unshareArtifact: () => unshareArtifact,
|
|
789
795
|
unshareSkill: () => unshareSkill,
|
|
796
|
+
unshareSkillCollection: () => unshareSkillCollection,
|
|
790
797
|
updateArtifact: () => updateArtifact,
|
|
791
798
|
updateMcpServer: () => updateMcpServer,
|
|
792
799
|
updateMcpServerAllToolsIsEnabled: () => updateMcpServerAllToolsIsEnabled,
|
|
@@ -802,6 +809,7 @@ var sdk_gen_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
|
802
809
|
updateProfile: () => updateProfile,
|
|
803
810
|
updateProfileServerTools: () => updateProfileServerTools,
|
|
804
811
|
updateSkill: () => updateSkill,
|
|
812
|
+
updateSkillCollection: () => updateSkillCollection,
|
|
805
813
|
updateTeam: () => updateTeam,
|
|
806
814
|
updateTeamMember: () => updateTeamMember,
|
|
807
815
|
updateUser: () => updateUser,
|
|
@@ -3162,7 +3170,7 @@ const shareArtifact = (options) => (options.client ?? client).put({
|
|
|
3162
3170
|
...options
|
|
3163
3171
|
});
|
|
3164
3172
|
/**
|
|
3165
|
-
* List the skills the caller can read, optionally narrowed to
|
|
3173
|
+
* List the skills the caller can read and the collections they can see, optionally narrowed to one collection or to a text in the name or description
|
|
3166
3174
|
*/
|
|
3167
3175
|
const listSkills = (options) => (options?.client ?? client).get({
|
|
3168
3176
|
security: [{
|
|
@@ -3176,7 +3184,7 @@ const listSkills = (options) => (options?.client ?? client).get({
|
|
|
3176
3184
|
...options
|
|
3177
3185
|
});
|
|
3178
3186
|
/**
|
|
3179
|
-
* Create a skill from a name, a one-line description of when to use it and Markdown instructions
|
|
3187
|
+
* Create a skill from a SKILL.md document, or from a name, a one-line description of when to use it and Markdown instructions, at root or in a collection
|
|
3180
3188
|
*/
|
|
3181
3189
|
const createSkill = (options) => (options?.client ?? client).post({
|
|
3182
3190
|
security: [{
|
|
@@ -3208,7 +3216,7 @@ const deleteSkill = (options) => (options.client ?? client).delete({
|
|
|
3208
3216
|
...options
|
|
3209
3217
|
});
|
|
3210
3218
|
/**
|
|
3211
|
-
* Get a skill with its Markdown instructions
|
|
3219
|
+
* Get a skill with its Markdown instructions, also rendered as one SKILL.md document
|
|
3212
3220
|
*/
|
|
3213
3221
|
const getSkill = (options) => (options.client ?? client).get({
|
|
3214
3222
|
security: [{
|
|
@@ -3222,7 +3230,7 @@ const getSkill = (options) => (options.client ?? client).get({
|
|
|
3222
3230
|
...options
|
|
3223
3231
|
});
|
|
3224
3232
|
/**
|
|
3225
|
-
* Update
|
|
3233
|
+
* Update a skill from a SKILL.md document, or change its name, description, instructions, visibility or collection
|
|
3226
3234
|
*/
|
|
3227
3235
|
const updateSkill = (options) => (options.client ?? client).put({
|
|
3228
3236
|
security: [{
|
|
@@ -3240,7 +3248,7 @@ const updateSkill = (options) => (options.client ?? client).put({
|
|
|
3240
3248
|
}
|
|
3241
3249
|
});
|
|
3242
3250
|
/**
|
|
3243
|
-
* List the users and teams a skill is shared with
|
|
3251
|
+
* List the users and teams a skill is shared with, and who has access through its collection
|
|
3244
3252
|
*/
|
|
3245
3253
|
const listSkillShares = (options) => (options.client ?? client).get({
|
|
3246
3254
|
security: [{
|
|
@@ -3268,7 +3276,7 @@ const unshareSkill = (options) => (options.client ?? client).delete({
|
|
|
3268
3276
|
...options
|
|
3269
3277
|
});
|
|
3270
3278
|
/**
|
|
3271
|
-
* Share a skill with a user or a team
|
|
3279
|
+
* Share a skill with a user or a team as reader or maintainer, whatever its visibility, and return who it is shared with
|
|
3272
3280
|
*/
|
|
3273
3281
|
const shareSkill = (options) => (options.client ?? client).put({
|
|
3274
3282
|
security: [{
|
|
@@ -3279,8 +3287,136 @@ const shareSkill = (options) => (options.client ?? client).put({
|
|
|
3279
3287
|
type: "http"
|
|
3280
3288
|
}],
|
|
3281
3289
|
url: "/skills/{skillId}/shares/{memberType}/{memberId}",
|
|
3290
|
+
...options,
|
|
3291
|
+
headers: {
|
|
3292
|
+
"Content-Type": "application/json",
|
|
3293
|
+
...options.headers
|
|
3294
|
+
}
|
|
3295
|
+
});
|
|
3296
|
+
/**
|
|
3297
|
+
* List the skill collections the caller can see, each with how many of its skills the caller can read
|
|
3298
|
+
*/
|
|
3299
|
+
const listSkillCollections = (options) => (options?.client ?? client).get({
|
|
3300
|
+
security: [{
|
|
3301
|
+
scheme: "bearer",
|
|
3302
|
+
type: "http"
|
|
3303
|
+
}, {
|
|
3304
|
+
scheme: "bearer",
|
|
3305
|
+
type: "http"
|
|
3306
|
+
}],
|
|
3307
|
+
url: "/skill-collections",
|
|
3308
|
+
...options
|
|
3309
|
+
});
|
|
3310
|
+
/**
|
|
3311
|
+
* Create a skill collection from a name, an optional one-line description and a general access
|
|
3312
|
+
*/
|
|
3313
|
+
const createSkillCollection = (options) => (options?.client ?? client).post({
|
|
3314
|
+
security: [{
|
|
3315
|
+
scheme: "bearer",
|
|
3316
|
+
type: "http"
|
|
3317
|
+
}, {
|
|
3318
|
+
scheme: "bearer",
|
|
3319
|
+
type: "http"
|
|
3320
|
+
}],
|
|
3321
|
+
url: "/skill-collections",
|
|
3322
|
+
...options,
|
|
3323
|
+
headers: {
|
|
3324
|
+
"Content-Type": "application/json",
|
|
3325
|
+
...options?.headers
|
|
3326
|
+
}
|
|
3327
|
+
});
|
|
3328
|
+
/**
|
|
3329
|
+
* Delete a skill collection and move the skills in it to root
|
|
3330
|
+
*/
|
|
3331
|
+
const deleteSkillCollection = (options) => (options.client ?? client).delete({
|
|
3332
|
+
security: [{
|
|
3333
|
+
scheme: "bearer",
|
|
3334
|
+
type: "http"
|
|
3335
|
+
}, {
|
|
3336
|
+
scheme: "bearer",
|
|
3337
|
+
type: "http"
|
|
3338
|
+
}],
|
|
3339
|
+
url: "/skill-collections/{collectionId}",
|
|
3340
|
+
...options
|
|
3341
|
+
});
|
|
3342
|
+
/**
|
|
3343
|
+
* Get a skill collection
|
|
3344
|
+
*/
|
|
3345
|
+
const getSkillCollection = (options) => (options.client ?? client).get({
|
|
3346
|
+
security: [{
|
|
3347
|
+
scheme: "bearer",
|
|
3348
|
+
type: "http"
|
|
3349
|
+
}, {
|
|
3350
|
+
scheme: "bearer",
|
|
3351
|
+
type: "http"
|
|
3352
|
+
}],
|
|
3353
|
+
url: "/skill-collections/{collectionId}",
|
|
3354
|
+
...options
|
|
3355
|
+
});
|
|
3356
|
+
/**
|
|
3357
|
+
* Rename a skill collection, or change its description or general access
|
|
3358
|
+
*/
|
|
3359
|
+
const updateSkillCollection = (options) => (options.client ?? client).put({
|
|
3360
|
+
security: [{
|
|
3361
|
+
scheme: "bearer",
|
|
3362
|
+
type: "http"
|
|
3363
|
+
}, {
|
|
3364
|
+
scheme: "bearer",
|
|
3365
|
+
type: "http"
|
|
3366
|
+
}],
|
|
3367
|
+
url: "/skill-collections/{collectionId}",
|
|
3368
|
+
...options,
|
|
3369
|
+
headers: {
|
|
3370
|
+
"Content-Type": "application/json",
|
|
3371
|
+
...options.headers
|
|
3372
|
+
}
|
|
3373
|
+
});
|
|
3374
|
+
/**
|
|
3375
|
+
* List the users and teams a skill collection is shared with and what each grant gives
|
|
3376
|
+
*/
|
|
3377
|
+
const listSkillCollectionShares = (options) => (options.client ?? client).get({
|
|
3378
|
+
security: [{
|
|
3379
|
+
scheme: "bearer",
|
|
3380
|
+
type: "http"
|
|
3381
|
+
}, {
|
|
3382
|
+
scheme: "bearer",
|
|
3383
|
+
type: "http"
|
|
3384
|
+
}],
|
|
3385
|
+
url: "/skill-collections/{collectionId}/shares",
|
|
3386
|
+
...options
|
|
3387
|
+
});
|
|
3388
|
+
/**
|
|
3389
|
+
* Stop sharing a skill collection with a user or a team and return who it is still shared with
|
|
3390
|
+
*/
|
|
3391
|
+
const unshareSkillCollection = (options) => (options.client ?? client).delete({
|
|
3392
|
+
security: [{
|
|
3393
|
+
scheme: "bearer",
|
|
3394
|
+
type: "http"
|
|
3395
|
+
}, {
|
|
3396
|
+
scheme: "bearer",
|
|
3397
|
+
type: "http"
|
|
3398
|
+
}],
|
|
3399
|
+
url: "/skill-collections/{collectionId}/shares/{memberType}/{memberId}",
|
|
3282
3400
|
...options
|
|
3283
3401
|
});
|
|
3402
|
+
/**
|
|
3403
|
+
* Share a skill collection with a user or a team as reader or maintainer, which also opens every skill in it, and return who it is shared with
|
|
3404
|
+
*/
|
|
3405
|
+
const shareSkillCollection = (options) => (options.client ?? client).put({
|
|
3406
|
+
security: [{
|
|
3407
|
+
scheme: "bearer",
|
|
3408
|
+
type: "http"
|
|
3409
|
+
}, {
|
|
3410
|
+
scheme: "bearer",
|
|
3411
|
+
type: "http"
|
|
3412
|
+
}],
|
|
3413
|
+
url: "/skill-collections/{collectionId}/shares/{memberType}/{memberId}",
|
|
3414
|
+
...options,
|
|
3415
|
+
headers: {
|
|
3416
|
+
"Content-Type": "application/json",
|
|
3417
|
+
...options.headers
|
|
3418
|
+
}
|
|
3419
|
+
});
|
|
3284
3420
|
|
|
3285
3421
|
//#endregion
|
|
3286
3422
|
Object.defineProperty(exports, 'callMcpServerTool', {
|
|
@@ -3391,6 +3527,12 @@ Object.defineProperty(exports, 'createSkill', {
|
|
|
3391
3527
|
return createSkill;
|
|
3392
3528
|
}
|
|
3393
3529
|
});
|
|
3530
|
+
Object.defineProperty(exports, 'createSkillCollection', {
|
|
3531
|
+
enumerable: true,
|
|
3532
|
+
get: function () {
|
|
3533
|
+
return createSkillCollection;
|
|
3534
|
+
}
|
|
3535
|
+
});
|
|
3394
3536
|
Object.defineProperty(exports, 'createTeam', {
|
|
3395
3537
|
enumerable: true,
|
|
3396
3538
|
get: function () {
|
|
@@ -3547,6 +3689,12 @@ Object.defineProperty(exports, 'deleteSkill', {
|
|
|
3547
3689
|
return deleteSkill;
|
|
3548
3690
|
}
|
|
3549
3691
|
});
|
|
3692
|
+
Object.defineProperty(exports, 'deleteSkillCollection', {
|
|
3693
|
+
enumerable: true,
|
|
3694
|
+
get: function () {
|
|
3695
|
+
return deleteSkillCollection;
|
|
3696
|
+
}
|
|
3697
|
+
});
|
|
3550
3698
|
Object.defineProperty(exports, 'deleteTeam', {
|
|
3551
3699
|
enumerable: true,
|
|
3552
3700
|
get: function () {
|
|
@@ -3757,6 +3905,12 @@ Object.defineProperty(exports, 'getSkill', {
|
|
|
3757
3905
|
return getSkill;
|
|
3758
3906
|
}
|
|
3759
3907
|
});
|
|
3908
|
+
Object.defineProperty(exports, 'getSkillCollection', {
|
|
3909
|
+
enumerable: true,
|
|
3910
|
+
get: function () {
|
|
3911
|
+
return getSkillCollection;
|
|
3912
|
+
}
|
|
3913
|
+
});
|
|
3760
3914
|
Object.defineProperty(exports, 'getTeam', {
|
|
3761
3915
|
enumerable: true,
|
|
3762
3916
|
get: function () {
|
|
@@ -3949,6 +4103,18 @@ Object.defineProperty(exports, 'listSecretStores', {
|
|
|
3949
4103
|
return listSecretStores;
|
|
3950
4104
|
}
|
|
3951
4105
|
});
|
|
4106
|
+
Object.defineProperty(exports, 'listSkillCollectionShares', {
|
|
4107
|
+
enumerable: true,
|
|
4108
|
+
get: function () {
|
|
4109
|
+
return listSkillCollectionShares;
|
|
4110
|
+
}
|
|
4111
|
+
});
|
|
4112
|
+
Object.defineProperty(exports, 'listSkillCollections', {
|
|
4113
|
+
enumerable: true,
|
|
4114
|
+
get: function () {
|
|
4115
|
+
return listSkillCollections;
|
|
4116
|
+
}
|
|
4117
|
+
});
|
|
3952
4118
|
Object.defineProperty(exports, 'listSkillShares', {
|
|
3953
4119
|
enumerable: true,
|
|
3954
4120
|
get: function () {
|
|
@@ -4111,6 +4277,12 @@ Object.defineProperty(exports, 'shareSkill', {
|
|
|
4111
4277
|
return shareSkill;
|
|
4112
4278
|
}
|
|
4113
4279
|
});
|
|
4280
|
+
Object.defineProperty(exports, 'shareSkillCollection', {
|
|
4281
|
+
enumerable: true,
|
|
4282
|
+
get: function () {
|
|
4283
|
+
return shareSkillCollection;
|
|
4284
|
+
}
|
|
4285
|
+
});
|
|
4114
4286
|
Object.defineProperty(exports, 'startMcpServer', {
|
|
4115
4287
|
enumerable: true,
|
|
4116
4288
|
get: function () {
|
|
@@ -4153,6 +4325,12 @@ Object.defineProperty(exports, 'unshareSkill', {
|
|
|
4153
4325
|
return unshareSkill;
|
|
4154
4326
|
}
|
|
4155
4327
|
});
|
|
4328
|
+
Object.defineProperty(exports, 'unshareSkillCollection', {
|
|
4329
|
+
enumerable: true,
|
|
4330
|
+
get: function () {
|
|
4331
|
+
return unshareSkillCollection;
|
|
4332
|
+
}
|
|
4333
|
+
});
|
|
4156
4334
|
Object.defineProperty(exports, 'updateArtifact', {
|
|
4157
4335
|
enumerable: true,
|
|
4158
4336
|
get: function () {
|
|
@@ -4243,6 +4421,12 @@ Object.defineProperty(exports, 'updateSkill', {
|
|
|
4243
4421
|
return updateSkill;
|
|
4244
4422
|
}
|
|
4245
4423
|
});
|
|
4424
|
+
Object.defineProperty(exports, 'updateSkillCollection', {
|
|
4425
|
+
enumerable: true,
|
|
4426
|
+
get: function () {
|
|
4427
|
+
return updateSkillCollection;
|
|
4428
|
+
}
|
|
4429
|
+
});
|
|
4246
4430
|
Object.defineProperty(exports, 'updateTeam', {
|
|
4247
4431
|
enumerable: true,
|
|
4248
4432
|
get: function () {
|