@nikcli-ai/sdk 1.187.0 → 1.189.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/v2/gen/sdk.gen.d.ts +1077 -1
- package/dist/v2/gen/sdk.gen.js +122 -0
- package/dist/v2/gen/types.gen.d.ts +1378 -1
- package/package.json +1 -1
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -6135,6 +6135,44 @@ export class Doctor extends HeyApiClient {
|
|
|
6135
6135
|
});
|
|
6136
6136
|
}
|
|
6137
6137
|
}
|
|
6138
|
+
export class NativeUi extends HeyApiClient {
|
|
6139
|
+
/**
|
|
6140
|
+
* Get native UI capabilities
|
|
6141
|
+
*/
|
|
6142
|
+
capabilities(parameters, options) {
|
|
6143
|
+
const params = buildClientParams([parameters], [
|
|
6144
|
+
{
|
|
6145
|
+
args: [
|
|
6146
|
+
{ in: "query", key: "directory" },
|
|
6147
|
+
{ in: "query", key: "workspace" },
|
|
6148
|
+
],
|
|
6149
|
+
},
|
|
6150
|
+
]);
|
|
6151
|
+
return (options?.client ?? this.client).get({
|
|
6152
|
+
url: "/native-ui/capabilities",
|
|
6153
|
+
...options,
|
|
6154
|
+
...params,
|
|
6155
|
+
});
|
|
6156
|
+
}
|
|
6157
|
+
/**
|
|
6158
|
+
* List native UI surfaces
|
|
6159
|
+
*/
|
|
6160
|
+
list(parameters, options) {
|
|
6161
|
+
const params = buildClientParams([parameters], [
|
|
6162
|
+
{
|
|
6163
|
+
args: [
|
|
6164
|
+
{ in: "query", key: "directory" },
|
|
6165
|
+
{ in: "query", key: "workspace" },
|
|
6166
|
+
],
|
|
6167
|
+
},
|
|
6168
|
+
]);
|
|
6169
|
+
return (options?.client ?? this.client).get({
|
|
6170
|
+
url: "/native-ui/surfaces",
|
|
6171
|
+
...options,
|
|
6172
|
+
...params,
|
|
6173
|
+
});
|
|
6174
|
+
}
|
|
6175
|
+
}
|
|
6138
6176
|
export class Instance extends HeyApiClient {
|
|
6139
6177
|
/**
|
|
6140
6178
|
* Dispose instance
|
|
@@ -6745,6 +6783,86 @@ export class NikcliClient extends HeyApiClient {
|
|
|
6745
6783
|
},
|
|
6746
6784
|
});
|
|
6747
6785
|
}
|
|
6786
|
+
postNativeUiSurfaces(parameters, options) {
|
|
6787
|
+
const params = buildClientParams([parameters], [
|
|
6788
|
+
{
|
|
6789
|
+
args: [
|
|
6790
|
+
{ in: "query", key: "directory" },
|
|
6791
|
+
{ in: "query", key: "workspace" },
|
|
6792
|
+
{ key: "body", map: "body" },
|
|
6793
|
+
],
|
|
6794
|
+
},
|
|
6795
|
+
]);
|
|
6796
|
+
return (options?.client ?? this.client).post({
|
|
6797
|
+
url: "/native-ui/surfaces",
|
|
6798
|
+
...options,
|
|
6799
|
+
...params,
|
|
6800
|
+
headers: {
|
|
6801
|
+
"Content-Type": "application/json",
|
|
6802
|
+
...options?.headers,
|
|
6803
|
+
...params.headers,
|
|
6804
|
+
},
|
|
6805
|
+
});
|
|
6806
|
+
}
|
|
6807
|
+
deleteNativeUiSurfacesId(parameters, options) {
|
|
6808
|
+
const params = buildClientParams([parameters], [
|
|
6809
|
+
{
|
|
6810
|
+
args: [
|
|
6811
|
+
{ in: "path", key: "id" },
|
|
6812
|
+
{ in: "query", key: "directory" },
|
|
6813
|
+
{ in: "query", key: "workspace" },
|
|
6814
|
+
],
|
|
6815
|
+
},
|
|
6816
|
+
]);
|
|
6817
|
+
return (options?.client ?? this.client).delete({
|
|
6818
|
+
url: "/native-ui/surfaces/{id}",
|
|
6819
|
+
...options,
|
|
6820
|
+
...params,
|
|
6821
|
+
});
|
|
6822
|
+
}
|
|
6823
|
+
putNativeUiSurfacesId(parameters, options) {
|
|
6824
|
+
const params = buildClientParams([parameters], [
|
|
6825
|
+
{
|
|
6826
|
+
args: [
|
|
6827
|
+
{ in: "path", key: "id" },
|
|
6828
|
+
{ in: "query", key: "directory" },
|
|
6829
|
+
{ in: "query", key: "workspace" },
|
|
6830
|
+
{ key: "body", map: "body" },
|
|
6831
|
+
],
|
|
6832
|
+
},
|
|
6833
|
+
]);
|
|
6834
|
+
return (options?.client ?? this.client).put({
|
|
6835
|
+
url: "/native-ui/surfaces/{id}",
|
|
6836
|
+
...options,
|
|
6837
|
+
...params,
|
|
6838
|
+
headers: {
|
|
6839
|
+
"Content-Type": "application/json",
|
|
6840
|
+
...options?.headers,
|
|
6841
|
+
...params.headers,
|
|
6842
|
+
},
|
|
6843
|
+
});
|
|
6844
|
+
}
|
|
6845
|
+
postNativeUiEvents(parameters, options) {
|
|
6846
|
+
const params = buildClientParams([parameters], [
|
|
6847
|
+
{
|
|
6848
|
+
args: [
|
|
6849
|
+
{ in: "query", key: "directory" },
|
|
6850
|
+
{ in: "query", key: "workspace" },
|
|
6851
|
+
{ key: "body", map: "body" },
|
|
6852
|
+
],
|
|
6853
|
+
},
|
|
6854
|
+
]);
|
|
6855
|
+
return (options?.client ?? this.client).post({
|
|
6856
|
+
url: "/native-ui/events",
|
|
6857
|
+
...options,
|
|
6858
|
+
...params,
|
|
6859
|
+
headers: {
|
|
6860
|
+
"Content-Type": "application/json",
|
|
6861
|
+
...options?.headers,
|
|
6862
|
+
...params.headers,
|
|
6863
|
+
},
|
|
6864
|
+
});
|
|
6865
|
+
}
|
|
6748
6866
|
_global;
|
|
6749
6867
|
get global() {
|
|
6750
6868
|
return (this._global ??= new Global({ client: this.client }));
|
|
@@ -6845,6 +6963,10 @@ export class NikcliClient extends HeyApiClient {
|
|
|
6845
6963
|
get doctor() {
|
|
6846
6964
|
return (this._doctor ??= new Doctor({ client: this.client }));
|
|
6847
6965
|
}
|
|
6966
|
+
_nativeUi;
|
|
6967
|
+
get nativeUi() {
|
|
6968
|
+
return (this._nativeUi ??= new NativeUi({ client: this.client }));
|
|
6969
|
+
}
|
|
6848
6970
|
_instance;
|
|
6849
6971
|
get instance() {
|
|
6850
6972
|
return (this._instance ??= new Instance({ client: this.client }));
|