@nikcli-ai/sdk 0.0.6 → 0.0.8
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/v2/gen/sdk.gen.d.ts +246 -1
- package/dist/v2/gen/sdk.gen.js +556 -0
- package/dist/v2/gen/types.gen.d.ts +844 -3
- package/package.json +2 -2
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -1167,6 +1167,73 @@ export class Session extends HeyApiClient {
|
|
|
1167
1167
|
...params,
|
|
1168
1168
|
});
|
|
1169
1169
|
}
|
|
1170
|
+
/**
|
|
1171
|
+
* Get session monitor
|
|
1172
|
+
*
|
|
1173
|
+
* Retrieve metadata for one background monitor attached to a session.
|
|
1174
|
+
*/
|
|
1175
|
+
monitor(parameters, options) {
|
|
1176
|
+
const params = buildClientParams([parameters], [
|
|
1177
|
+
{
|
|
1178
|
+
args: [
|
|
1179
|
+
{ in: "path", key: "sessionID" },
|
|
1180
|
+
{ in: "path", key: "monitorID" },
|
|
1181
|
+
{ in: "query", key: "directory" },
|
|
1182
|
+
{ in: "query", key: "workspace" },
|
|
1183
|
+
],
|
|
1184
|
+
},
|
|
1185
|
+
]);
|
|
1186
|
+
return (options?.client ?? this.client).get({
|
|
1187
|
+
url: "/session/{sessionID}/monitor/{monitorID}",
|
|
1188
|
+
...options,
|
|
1189
|
+
...params,
|
|
1190
|
+
});
|
|
1191
|
+
}
|
|
1192
|
+
/**
|
|
1193
|
+
* Get session monitor log
|
|
1194
|
+
*
|
|
1195
|
+
* Read the latest output captured for a monitored background command.
|
|
1196
|
+
*/
|
|
1197
|
+
monitorLog(parameters, options) {
|
|
1198
|
+
const params = buildClientParams([parameters], [
|
|
1199
|
+
{
|
|
1200
|
+
args: [
|
|
1201
|
+
{ in: "path", key: "sessionID" },
|
|
1202
|
+
{ in: "path", key: "monitorID" },
|
|
1203
|
+
{ in: "query", key: "directory" },
|
|
1204
|
+
{ in: "query", key: "workspace" },
|
|
1205
|
+
{ in: "query", key: "lines" },
|
|
1206
|
+
],
|
|
1207
|
+
},
|
|
1208
|
+
]);
|
|
1209
|
+
return (options?.client ?? this.client).get({
|
|
1210
|
+
url: "/session/{sessionID}/monitor/{monitorID}/log",
|
|
1211
|
+
...options,
|
|
1212
|
+
...params,
|
|
1213
|
+
});
|
|
1214
|
+
}
|
|
1215
|
+
/**
|
|
1216
|
+
* Cancel session monitor
|
|
1217
|
+
*
|
|
1218
|
+
* Stop a monitored background command attached to a session.
|
|
1219
|
+
*/
|
|
1220
|
+
monitorCancel(parameters, options) {
|
|
1221
|
+
const params = buildClientParams([parameters], [
|
|
1222
|
+
{
|
|
1223
|
+
args: [
|
|
1224
|
+
{ in: "path", key: "sessionID" },
|
|
1225
|
+
{ in: "path", key: "monitorID" },
|
|
1226
|
+
{ in: "query", key: "directory" },
|
|
1227
|
+
{ in: "query", key: "workspace" },
|
|
1228
|
+
],
|
|
1229
|
+
},
|
|
1230
|
+
]);
|
|
1231
|
+
return (options?.client ?? this.client).post({
|
|
1232
|
+
url: "/session/{sessionID}/monitor/{monitorID}/cancel",
|
|
1233
|
+
...options,
|
|
1234
|
+
...params,
|
|
1235
|
+
});
|
|
1236
|
+
}
|
|
1170
1237
|
}
|
|
1171
1238
|
export class Part extends HeyApiClient {
|
|
1172
1239
|
/**
|
|
@@ -1658,6 +1725,72 @@ export class Auth2 extends HeyApiClient {
|
|
|
1658
1725
|
return (this._token ??= new Token({ client: this.client }));
|
|
1659
1726
|
}
|
|
1660
1727
|
}
|
|
1728
|
+
export class Tophat extends HeyApiClient {
|
|
1729
|
+
/**
|
|
1730
|
+
* Get Tophat integration status
|
|
1731
|
+
*
|
|
1732
|
+
* Return Tophat availability, providers, and connected devices.
|
|
1733
|
+
*/
|
|
1734
|
+
status(parameters, options) {
|
|
1735
|
+
const params = buildClientParams([parameters], [
|
|
1736
|
+
{
|
|
1737
|
+
args: [
|
|
1738
|
+
{ in: "query", key: "directory" },
|
|
1739
|
+
{ in: "query", key: "workspace" },
|
|
1740
|
+
],
|
|
1741
|
+
},
|
|
1742
|
+
]);
|
|
1743
|
+
return (options?.client ?? this.client).get({
|
|
1744
|
+
url: "/mobile/tophat/status",
|
|
1745
|
+
...options,
|
|
1746
|
+
...params,
|
|
1747
|
+
});
|
|
1748
|
+
}
|
|
1749
|
+
/**
|
|
1750
|
+
* Generate Tophat install URLs for an artifact
|
|
1751
|
+
*
|
|
1752
|
+
* Return tophat:// and localhost install URLs for a given artifact URL.
|
|
1753
|
+
*/
|
|
1754
|
+
installUrl(parameters, options) {
|
|
1755
|
+
const params = buildClientParams([parameters], [
|
|
1756
|
+
{
|
|
1757
|
+
args: [
|
|
1758
|
+
{ in: "query", key: "directory" },
|
|
1759
|
+
{ in: "query", key: "workspace" },
|
|
1760
|
+
{ in: "query", key: "url" },
|
|
1761
|
+
{ in: "query", key: "platform" },
|
|
1762
|
+
],
|
|
1763
|
+
},
|
|
1764
|
+
]);
|
|
1765
|
+
return (options?.client ?? this.client).get({
|
|
1766
|
+
url: "/mobile/tophat/install-url",
|
|
1767
|
+
...options,
|
|
1768
|
+
...params,
|
|
1769
|
+
});
|
|
1770
|
+
}
|
|
1771
|
+
}
|
|
1772
|
+
export class Expo extends HeyApiClient {
|
|
1773
|
+
/**
|
|
1774
|
+
* Get Expo environment status
|
|
1775
|
+
*
|
|
1776
|
+
* Return Expo CLI, EAS CLI, and Node.js availability.
|
|
1777
|
+
*/
|
|
1778
|
+
status(parameters, options) {
|
|
1779
|
+
const params = buildClientParams([parameters], [
|
|
1780
|
+
{
|
|
1781
|
+
args: [
|
|
1782
|
+
{ in: "query", key: "directory" },
|
|
1783
|
+
{ in: "query", key: "workspace" },
|
|
1784
|
+
],
|
|
1785
|
+
},
|
|
1786
|
+
]);
|
|
1787
|
+
return (options?.client ?? this.client).get({
|
|
1788
|
+
url: "/mobile/expo/status",
|
|
1789
|
+
...options,
|
|
1790
|
+
...params,
|
|
1791
|
+
});
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1661
1794
|
export class Stash extends HeyApiClient {
|
|
1662
1795
|
/**
|
|
1663
1796
|
* List prompt stash for mobile
|
|
@@ -2459,6 +2592,264 @@ export class Worktree2 extends HeyApiClient {
|
|
|
2459
2592
|
});
|
|
2460
2593
|
}
|
|
2461
2594
|
}
|
|
2595
|
+
export class Git extends HeyApiClient {
|
|
2596
|
+
/**
|
|
2597
|
+
* Get git status for mobile
|
|
2598
|
+
*
|
|
2599
|
+
* Return the current git state including branch, staged/unstaged changes, and untracked files.
|
|
2600
|
+
*/
|
|
2601
|
+
status(parameters, options) {
|
|
2602
|
+
const params = buildClientParams([parameters], [
|
|
2603
|
+
{
|
|
2604
|
+
args: [
|
|
2605
|
+
{ in: "query", key: "directory" },
|
|
2606
|
+
{ in: "query", key: "workspace" },
|
|
2607
|
+
],
|
|
2608
|
+
},
|
|
2609
|
+
]);
|
|
2610
|
+
return (options?.client ?? this.client).get({
|
|
2611
|
+
url: "/mobile/git/status",
|
|
2612
|
+
...options,
|
|
2613
|
+
...params,
|
|
2614
|
+
});
|
|
2615
|
+
}
|
|
2616
|
+
/**
|
|
2617
|
+
* Get git diff for mobile
|
|
2618
|
+
*
|
|
2619
|
+
* Return parsed file diffs with hunks for the current git state.
|
|
2620
|
+
*/
|
|
2621
|
+
diff(parameters, options) {
|
|
2622
|
+
const params = buildClientParams([parameters], [
|
|
2623
|
+
{
|
|
2624
|
+
args: [
|
|
2625
|
+
{ in: "query", key: "directory" },
|
|
2626
|
+
{ in: "query", key: "workspace" },
|
|
2627
|
+
{ in: "query", key: "file" },
|
|
2628
|
+
],
|
|
2629
|
+
},
|
|
2630
|
+
]);
|
|
2631
|
+
return (options?.client ?? this.client).get({
|
|
2632
|
+
url: "/mobile/git/diff",
|
|
2633
|
+
...options,
|
|
2634
|
+
...params,
|
|
2635
|
+
});
|
|
2636
|
+
}
|
|
2637
|
+
/**
|
|
2638
|
+
* Get git commit history for mobile
|
|
2639
|
+
*
|
|
2640
|
+
* Return recent commits with stats for the current branch.
|
|
2641
|
+
*/
|
|
2642
|
+
commits(parameters, options) {
|
|
2643
|
+
const params = buildClientParams([parameters], [
|
|
2644
|
+
{
|
|
2645
|
+
args: [
|
|
2646
|
+
{ in: "query", key: "directory" },
|
|
2647
|
+
{ in: "query", key: "workspace" },
|
|
2648
|
+
{ in: "query", key: "limit" },
|
|
2649
|
+
],
|
|
2650
|
+
},
|
|
2651
|
+
]);
|
|
2652
|
+
return (options?.client ?? this.client).get({
|
|
2653
|
+
url: "/mobile/git/commits",
|
|
2654
|
+
...options,
|
|
2655
|
+
...params,
|
|
2656
|
+
});
|
|
2657
|
+
}
|
|
2658
|
+
/**
|
|
2659
|
+
* Get git branches for mobile
|
|
2660
|
+
*
|
|
2661
|
+
* Return local and remote branches with status.
|
|
2662
|
+
*/
|
|
2663
|
+
branches(parameters, options) {
|
|
2664
|
+
const params = buildClientParams([parameters], [
|
|
2665
|
+
{
|
|
2666
|
+
args: [
|
|
2667
|
+
{ in: "query", key: "directory" },
|
|
2668
|
+
{ in: "query", key: "workspace" },
|
|
2669
|
+
],
|
|
2670
|
+
},
|
|
2671
|
+
]);
|
|
2672
|
+
return (options?.client ?? this.client).get({
|
|
2673
|
+
url: "/mobile/git/branches",
|
|
2674
|
+
...options,
|
|
2675
|
+
...params,
|
|
2676
|
+
});
|
|
2677
|
+
}
|
|
2678
|
+
/**
|
|
2679
|
+
* Create git commit for mobile
|
|
2680
|
+
*
|
|
2681
|
+
* Stage and commit changes in the current worktree.
|
|
2682
|
+
*/
|
|
2683
|
+
commit(parameters, options) {
|
|
2684
|
+
const params = buildClientParams([parameters], [
|
|
2685
|
+
{
|
|
2686
|
+
args: [
|
|
2687
|
+
{ in: "query", key: "directory" },
|
|
2688
|
+
{ in: "query", key: "workspace" },
|
|
2689
|
+
{ in: "body", key: "message" },
|
|
2690
|
+
{ in: "body", key: "files" },
|
|
2691
|
+
{ in: "body", key: "amend" },
|
|
2692
|
+
],
|
|
2693
|
+
},
|
|
2694
|
+
]);
|
|
2695
|
+
return (options?.client ?? this.client).post({
|
|
2696
|
+
url: "/mobile/git/commit",
|
|
2697
|
+
...options,
|
|
2698
|
+
...params,
|
|
2699
|
+
headers: {
|
|
2700
|
+
"Content-Type": "application/json",
|
|
2701
|
+
...options?.headers,
|
|
2702
|
+
...params.headers,
|
|
2703
|
+
},
|
|
2704
|
+
});
|
|
2705
|
+
}
|
|
2706
|
+
/**
|
|
2707
|
+
* Checkout git branch for mobile
|
|
2708
|
+
*
|
|
2709
|
+
* Switch to a different branch in the current worktree.
|
|
2710
|
+
*/
|
|
2711
|
+
checkout(parameters, options) {
|
|
2712
|
+
const params = buildClientParams([parameters], [
|
|
2713
|
+
{
|
|
2714
|
+
args: [
|
|
2715
|
+
{ in: "query", key: "directory" },
|
|
2716
|
+
{ in: "query", key: "workspace" },
|
|
2717
|
+
{ in: "body", key: "branch" },
|
|
2718
|
+
{ in: "body", key: "create" },
|
|
2719
|
+
],
|
|
2720
|
+
},
|
|
2721
|
+
]);
|
|
2722
|
+
return (options?.client ?? this.client).post({
|
|
2723
|
+
url: "/mobile/git/checkout",
|
|
2724
|
+
...options,
|
|
2725
|
+
...params,
|
|
2726
|
+
headers: {
|
|
2727
|
+
"Content-Type": "application/json",
|
|
2728
|
+
...options?.headers,
|
|
2729
|
+
...params.headers,
|
|
2730
|
+
},
|
|
2731
|
+
});
|
|
2732
|
+
}
|
|
2733
|
+
/**
|
|
2734
|
+
* Stage git files for mobile
|
|
2735
|
+
*
|
|
2736
|
+
* Add files to the staging area.
|
|
2737
|
+
*/
|
|
2738
|
+
stage(parameters, options) {
|
|
2739
|
+
const params = buildClientParams([parameters], [
|
|
2740
|
+
{
|
|
2741
|
+
args: [
|
|
2742
|
+
{ in: "query", key: "directory" },
|
|
2743
|
+
{ in: "query", key: "workspace" },
|
|
2744
|
+
{ in: "body", key: "files" },
|
|
2745
|
+
],
|
|
2746
|
+
},
|
|
2747
|
+
]);
|
|
2748
|
+
return (options?.client ?? this.client).post({
|
|
2749
|
+
url: "/mobile/git/stage",
|
|
2750
|
+
...options,
|
|
2751
|
+
...params,
|
|
2752
|
+
headers: {
|
|
2753
|
+
"Content-Type": "application/json",
|
|
2754
|
+
...options?.headers,
|
|
2755
|
+
...params.headers,
|
|
2756
|
+
},
|
|
2757
|
+
});
|
|
2758
|
+
}
|
|
2759
|
+
/**
|
|
2760
|
+
* Unstage git files for mobile
|
|
2761
|
+
*
|
|
2762
|
+
* Remove files from the staging area.
|
|
2763
|
+
*/
|
|
2764
|
+
unstage(parameters, options) {
|
|
2765
|
+
const params = buildClientParams([parameters], [
|
|
2766
|
+
{
|
|
2767
|
+
args: [
|
|
2768
|
+
{ in: "query", key: "directory" },
|
|
2769
|
+
{ in: "query", key: "workspace" },
|
|
2770
|
+
{ in: "body", key: "files" },
|
|
2771
|
+
],
|
|
2772
|
+
},
|
|
2773
|
+
]);
|
|
2774
|
+
return (options?.client ?? this.client).post({
|
|
2775
|
+
url: "/mobile/git/unstage",
|
|
2776
|
+
...options,
|
|
2777
|
+
...params,
|
|
2778
|
+
headers: {
|
|
2779
|
+
"Content-Type": "application/json",
|
|
2780
|
+
...options?.headers,
|
|
2781
|
+
...params.headers,
|
|
2782
|
+
},
|
|
2783
|
+
});
|
|
2784
|
+
}
|
|
2785
|
+
/**
|
|
2786
|
+
* Discard git changes for mobile
|
|
2787
|
+
*
|
|
2788
|
+
* Discard uncommitted changes to files.
|
|
2789
|
+
*/
|
|
2790
|
+
discard(parameters, options) {
|
|
2791
|
+
const params = buildClientParams([parameters], [
|
|
2792
|
+
{
|
|
2793
|
+
args: [
|
|
2794
|
+
{ in: "query", key: "directory" },
|
|
2795
|
+
{ in: "query", key: "workspace" },
|
|
2796
|
+
{ in: "body", key: "files" },
|
|
2797
|
+
],
|
|
2798
|
+
},
|
|
2799
|
+
]);
|
|
2800
|
+
return (options?.client ?? this.client).post({
|
|
2801
|
+
url: "/mobile/git/discard",
|
|
2802
|
+
...options,
|
|
2803
|
+
...params,
|
|
2804
|
+
headers: {
|
|
2805
|
+
"Content-Type": "application/json",
|
|
2806
|
+
...options?.headers,
|
|
2807
|
+
...params.headers,
|
|
2808
|
+
},
|
|
2809
|
+
});
|
|
2810
|
+
}
|
|
2811
|
+
/**
|
|
2812
|
+
* Push git branch for mobile
|
|
2813
|
+
*
|
|
2814
|
+
* Push the current branch to the remote.
|
|
2815
|
+
*/
|
|
2816
|
+
push(parameters, options) {
|
|
2817
|
+
const params = buildClientParams([parameters], [
|
|
2818
|
+
{
|
|
2819
|
+
args: [
|
|
2820
|
+
{ in: "query", key: "directory" },
|
|
2821
|
+
{ in: "query", key: "workspace" },
|
|
2822
|
+
{ in: "query", key: "upstream" },
|
|
2823
|
+
],
|
|
2824
|
+
},
|
|
2825
|
+
]);
|
|
2826
|
+
return (options?.client ?? this.client).post({
|
|
2827
|
+
url: "/mobile/git/push",
|
|
2828
|
+
...options,
|
|
2829
|
+
...params,
|
|
2830
|
+
});
|
|
2831
|
+
}
|
|
2832
|
+
/**
|
|
2833
|
+
* Pull git changes for mobile
|
|
2834
|
+
*
|
|
2835
|
+
* Pull remote changes into the current branch.
|
|
2836
|
+
*/
|
|
2837
|
+
pull(parameters, options) {
|
|
2838
|
+
const params = buildClientParams([parameters], [
|
|
2839
|
+
{
|
|
2840
|
+
args: [
|
|
2841
|
+
{ in: "query", key: "directory" },
|
|
2842
|
+
{ in: "query", key: "workspace" },
|
|
2843
|
+
],
|
|
2844
|
+
},
|
|
2845
|
+
]);
|
|
2846
|
+
return (options?.client ?? this.client).post({
|
|
2847
|
+
url: "/mobile/git/pull",
|
|
2848
|
+
...options,
|
|
2849
|
+
...params,
|
|
2850
|
+
});
|
|
2851
|
+
}
|
|
2852
|
+
}
|
|
2462
2853
|
export class Mobile extends HeyApiClient {
|
|
2463
2854
|
/**
|
|
2464
2855
|
* Get mobile bootstrap payload
|
|
@@ -2484,6 +2875,14 @@ export class Mobile extends HeyApiClient {
|
|
|
2484
2875
|
get auth() {
|
|
2485
2876
|
return (this._auth ??= new Auth2({ client: this.client }));
|
|
2486
2877
|
}
|
|
2878
|
+
_tophat;
|
|
2879
|
+
get tophat() {
|
|
2880
|
+
return (this._tophat ??= new Tophat({ client: this.client }));
|
|
2881
|
+
}
|
|
2882
|
+
_expo;
|
|
2883
|
+
get expo() {
|
|
2884
|
+
return (this._expo ??= new Expo({ client: this.client }));
|
|
2885
|
+
}
|
|
2487
2886
|
_memory;
|
|
2488
2887
|
get memory() {
|
|
2489
2888
|
return (this._memory ??= new Memory({ client: this.client }));
|
|
@@ -2512,6 +2911,10 @@ export class Mobile extends HeyApiClient {
|
|
|
2512
2911
|
get worktree() {
|
|
2513
2912
|
return (this._worktree ??= new Worktree2({ client: this.client }));
|
|
2514
2913
|
}
|
|
2914
|
+
_git;
|
|
2915
|
+
get git() {
|
|
2916
|
+
return (this._git ??= new Git({ client: this.client }));
|
|
2917
|
+
}
|
|
2515
2918
|
}
|
|
2516
2919
|
export class Find extends HeyApiClient {
|
|
2517
2920
|
/**
|
|
@@ -2929,6 +3332,31 @@ export class Mcp extends HeyApiClient {
|
|
|
2929
3332
|
...params,
|
|
2930
3333
|
});
|
|
2931
3334
|
}
|
|
3335
|
+
/**
|
|
3336
|
+
* Enable or disable an MCP server
|
|
3337
|
+
*/
|
|
3338
|
+
toggle(parameters, options) {
|
|
3339
|
+
const params = buildClientParams([parameters], [
|
|
3340
|
+
{
|
|
3341
|
+
args: [
|
|
3342
|
+
{ in: "path", key: "name" },
|
|
3343
|
+
{ in: "query", key: "directory" },
|
|
3344
|
+
{ in: "query", key: "workspace" },
|
|
3345
|
+
{ in: "body", key: "enabled" },
|
|
3346
|
+
],
|
|
3347
|
+
},
|
|
3348
|
+
]);
|
|
3349
|
+
return (options?.client ?? this.client).post({
|
|
3350
|
+
url: "/mcp/{name}/toggle",
|
|
3351
|
+
...options,
|
|
3352
|
+
...params,
|
|
3353
|
+
headers: {
|
|
3354
|
+
"Content-Type": "application/json",
|
|
3355
|
+
...options?.headers,
|
|
3356
|
+
...params.headers,
|
|
3357
|
+
},
|
|
3358
|
+
});
|
|
3359
|
+
}
|
|
2932
3360
|
_auth;
|
|
2933
3361
|
get auth() {
|
|
2934
3362
|
return (this._auth ??= new Auth5({ client: this.client }));
|
|
@@ -3313,6 +3741,60 @@ export class Command3 extends HeyApiClient {
|
|
|
3313
3741
|
});
|
|
3314
3742
|
}
|
|
3315
3743
|
}
|
|
3744
|
+
export class Skill extends HeyApiClient {
|
|
3745
|
+
/**
|
|
3746
|
+
* Create skill
|
|
3747
|
+
*
|
|
3748
|
+
* Create a new skill with a SKILL.md file.
|
|
3749
|
+
*/
|
|
3750
|
+
create(parameters, options) {
|
|
3751
|
+
const params = buildClientParams([parameters], [
|
|
3752
|
+
{
|
|
3753
|
+
args: [
|
|
3754
|
+
{ in: "query", key: "directory" },
|
|
3755
|
+
{ in: "query", key: "workspace" },
|
|
3756
|
+
{ in: "body", key: "name" },
|
|
3757
|
+
{ in: "body", key: "description" },
|
|
3758
|
+
{ in: "body", key: "category" },
|
|
3759
|
+
{ in: "body", key: "tags" },
|
|
3760
|
+
{ in: "body", key: "content" },
|
|
3761
|
+
{ in: "body", key: "scope" },
|
|
3762
|
+
],
|
|
3763
|
+
},
|
|
3764
|
+
]);
|
|
3765
|
+
return (options?.client ?? this.client).post({
|
|
3766
|
+
url: "/skill",
|
|
3767
|
+
...options,
|
|
3768
|
+
...params,
|
|
3769
|
+
headers: {
|
|
3770
|
+
"Content-Type": "application/json",
|
|
3771
|
+
...options?.headers,
|
|
3772
|
+
...params.headers,
|
|
3773
|
+
},
|
|
3774
|
+
});
|
|
3775
|
+
}
|
|
3776
|
+
/**
|
|
3777
|
+
* Delete skill
|
|
3778
|
+
*
|
|
3779
|
+
* Delete a skill by name.
|
|
3780
|
+
*/
|
|
3781
|
+
delete(parameters, options) {
|
|
3782
|
+
const params = buildClientParams([parameters], [
|
|
3783
|
+
{
|
|
3784
|
+
args: [
|
|
3785
|
+
{ in: "path", key: "name" },
|
|
3786
|
+
{ in: "query", key: "directory" },
|
|
3787
|
+
{ in: "query", key: "workspace" },
|
|
3788
|
+
],
|
|
3789
|
+
},
|
|
3790
|
+
]);
|
|
3791
|
+
return (options?.client ?? this.client).delete({
|
|
3792
|
+
url: "/skill/{name}",
|
|
3793
|
+
...options,
|
|
3794
|
+
...params,
|
|
3795
|
+
});
|
|
3796
|
+
}
|
|
3797
|
+
}
|
|
3316
3798
|
export class App extends HeyApiClient {
|
|
3317
3799
|
/**
|
|
3318
3800
|
* Write log
|
|
@@ -3383,6 +3865,10 @@ export class App extends HeyApiClient {
|
|
|
3383
3865
|
...params,
|
|
3384
3866
|
});
|
|
3385
3867
|
}
|
|
3868
|
+
_skill;
|
|
3869
|
+
get skill() {
|
|
3870
|
+
return (this._skill ??= new Skill({ client: this.client }));
|
|
3871
|
+
}
|
|
3386
3872
|
}
|
|
3387
3873
|
export class Lsp extends HeyApiClient {
|
|
3388
3874
|
/**
|
|
@@ -3538,6 +4024,76 @@ export class NikcliClient extends HeyApiClient {
|
|
|
3538
4024
|
...params,
|
|
3539
4025
|
});
|
|
3540
4026
|
}
|
|
4027
|
+
postUserRegister(parameters, options) {
|
|
4028
|
+
const params = buildClientParams([parameters], [
|
|
4029
|
+
{
|
|
4030
|
+
args: [
|
|
4031
|
+
{ in: "query", key: "directory" },
|
|
4032
|
+
{ in: "query", key: "workspace" },
|
|
4033
|
+
{ in: "body", key: "username" },
|
|
4034
|
+
{ in: "body", key: "email" },
|
|
4035
|
+
{ in: "body", key: "password" },
|
|
4036
|
+
{ in: "body", key: "displayName" },
|
|
4037
|
+
],
|
|
4038
|
+
},
|
|
4039
|
+
]);
|
|
4040
|
+
return (options?.client ?? this.client).post({
|
|
4041
|
+
url: "/user/register",
|
|
4042
|
+
...options,
|
|
4043
|
+
...params,
|
|
4044
|
+
headers: {
|
|
4045
|
+
"Content-Type": "application/json",
|
|
4046
|
+
...options?.headers,
|
|
4047
|
+
...params.headers,
|
|
4048
|
+
},
|
|
4049
|
+
});
|
|
4050
|
+
}
|
|
4051
|
+
postUserLogin(parameters, options) {
|
|
4052
|
+
const params = buildClientParams([parameters], [
|
|
4053
|
+
{
|
|
4054
|
+
args: [
|
|
4055
|
+
{ in: "query", key: "directory" },
|
|
4056
|
+
{ in: "query", key: "workspace" },
|
|
4057
|
+
{ in: "body", key: "email" },
|
|
4058
|
+
{ in: "body", key: "password" },
|
|
4059
|
+
],
|
|
4060
|
+
},
|
|
4061
|
+
]);
|
|
4062
|
+
return (options?.client ?? this.client).post({
|
|
4063
|
+
url: "/user/login",
|
|
4064
|
+
...options,
|
|
4065
|
+
...params,
|
|
4066
|
+
headers: {
|
|
4067
|
+
"Content-Type": "application/json",
|
|
4068
|
+
...options?.headers,
|
|
4069
|
+
...params.headers,
|
|
4070
|
+
},
|
|
4071
|
+
});
|
|
4072
|
+
}
|
|
4073
|
+
patchUserId(parameters, options) {
|
|
4074
|
+
const params = buildClientParams([parameters], [
|
|
4075
|
+
{
|
|
4076
|
+
args: [
|
|
4077
|
+
{ in: "path", key: "id" },
|
|
4078
|
+
{ in: "query", key: "directory" },
|
|
4079
|
+
{ in: "query", key: "workspace" },
|
|
4080
|
+
{ in: "body", key: "displayName" },
|
|
4081
|
+
{ in: "body", key: "password" },
|
|
4082
|
+
{ in: "body", key: "role" },
|
|
4083
|
+
],
|
|
4084
|
+
},
|
|
4085
|
+
]);
|
|
4086
|
+
return (options?.client ?? this.client).patch({
|
|
4087
|
+
url: "/user/{id}",
|
|
4088
|
+
...options,
|
|
4089
|
+
...params,
|
|
4090
|
+
headers: {
|
|
4091
|
+
"Content-Type": "application/json",
|
|
4092
|
+
...options?.headers,
|
|
4093
|
+
...params.headers,
|
|
4094
|
+
},
|
|
4095
|
+
});
|
|
4096
|
+
}
|
|
3541
4097
|
_global;
|
|
3542
4098
|
get global() {
|
|
3543
4099
|
return (this._global ??= new Global({ client: this.client }));
|