@webdock/sdk 1.0.59693 → 1.0.59694
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +36 -22
- package/dist/index.mjs.map +1 -1
- package/dist/webdock.d.ts +85 -0
- package/dist/webdock.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { ShellUsersClass } from './shellusers.js';
|
|
|
9
9
|
import { SshKeysClass } from './sshkeys.js';
|
|
10
10
|
import { SnapshotsClass } from './snapshots.js';
|
|
11
11
|
import { OperationClass } from './operation.js';
|
|
12
|
+
import { WebdockClass } from './webdock.js';
|
|
12
13
|
import * as OldWebdock from "webdock";
|
|
13
14
|
export declare const oldWebdock: typeof OldWebdock;
|
|
14
15
|
export type WebdockApiRequestReturn<T> = Promise<{
|
|
@@ -40,6 +41,7 @@ export declare class Webdock {
|
|
|
40
41
|
sshkeys: SshKeysClass;
|
|
41
42
|
snapshots: SnapshotsClass;
|
|
42
43
|
operation: OperationClass;
|
|
44
|
+
webdock: WebdockClass;
|
|
43
45
|
string_token: string;
|
|
44
46
|
constructor(token: string);
|
|
45
47
|
}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAA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AAE,MAAM,CAAC;IACd,SAAS,EAAE,SAAS,GAAG,QAAQ,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;CACd,CACF,CAAC;AACF,MAAM,WAAW,wBAAwB,CAAC,CAAC;IACzC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC/B,GAAG,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC3B;AAKD,qBAAa,OAAO;IAClB,OAAO,EAAE,YAAY,CAAC;IACtB,MAAM,EAAE,WAAW,CAAC;IACpB,QAAQ,EAAE,aAAa,CAAC;IACxB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,aAAa,CAAC;IACxB,OAAO,EAAE,YAAY,CAAC;IACtB,UAAU,EAAE,eAAe,CAAC;IAC5B,OAAO,EAAE,YAAY,CAAC;IACtB,SAAS,EAAE,cAAc,CAAC;IAC1B,SAAS,EAAE,cAAc,CAAC;IAC1B,OAAO,EAAE,YAAY,CAAA;IACrB,YAAY,EAAE,MAAM,CAAC;gBACT,KAAK,EAAE,MAAM;CAe1B"}
|
package/dist/index.mjs
CHANGED
|
@@ -1811,23 +1811,23 @@ D.getAdapter = yt.getAdapter;
|
|
|
1811
1811
|
D.HttpStatusCode = nr;
|
|
1812
1812
|
D.default = D;
|
|
1813
1813
|
const {
|
|
1814
|
-
Axios:
|
|
1815
|
-
AxiosError:
|
|
1816
|
-
CanceledError:
|
|
1817
|
-
isCancel:
|
|
1818
|
-
CancelToken:
|
|
1819
|
-
VERSION:
|
|
1820
|
-
all:
|
|
1821
|
-
Cancel:
|
|
1822
|
-
isAxiosError:
|
|
1823
|
-
spread:
|
|
1824
|
-
toFormData:
|
|
1825
|
-
AxiosHeaders:
|
|
1826
|
-
HttpStatusCode:
|
|
1827
|
-
formToJSON:
|
|
1828
|
-
getAdapter:
|
|
1829
|
-
mergeConfig:
|
|
1830
|
-
} = D, ss = "1.0.
|
|
1814
|
+
Axios: Ys,
|
|
1815
|
+
AxiosError: Qs,
|
|
1816
|
+
CanceledError: Zs,
|
|
1817
|
+
isCancel: eo,
|
|
1818
|
+
CancelToken: ro,
|
|
1819
|
+
VERSION: to,
|
|
1820
|
+
all: no,
|
|
1821
|
+
Cancel: so,
|
|
1822
|
+
isAxiosError: oo,
|
|
1823
|
+
spread: io,
|
|
1824
|
+
toFormData: ao,
|
|
1825
|
+
AxiosHeaders: co,
|
|
1826
|
+
HttpStatusCode: uo,
|
|
1827
|
+
formToJSON: lo,
|
|
1828
|
+
getAdapter: fo,
|
|
1829
|
+
mergeConfig: po
|
|
1830
|
+
} = D, ss = "1.0.59694";
|
|
1831
1831
|
async function P(r) {
|
|
1832
1832
|
var e, t, n;
|
|
1833
1833
|
try {
|
|
@@ -3932,14 +3932,28 @@ class zs {
|
|
|
3932
3932
|
}
|
|
3933
3933
|
}
|
|
3934
3934
|
}
|
|
3935
|
-
|
|
3936
|
-
class ho {
|
|
3935
|
+
class Ws {
|
|
3937
3936
|
constructor(e) {
|
|
3938
|
-
this.
|
|
3937
|
+
this.parent = e;
|
|
3938
|
+
}
|
|
3939
|
+
listScripts() {
|
|
3940
|
+
return P(
|
|
3941
|
+
{
|
|
3942
|
+
token: this.parent.string_token,
|
|
3943
|
+
endpoint: "/scripts",
|
|
3944
|
+
method: "GET"
|
|
3945
|
+
}
|
|
3946
|
+
);
|
|
3947
|
+
}
|
|
3948
|
+
}
|
|
3949
|
+
const ho = Ks;
|
|
3950
|
+
class vo {
|
|
3951
|
+
constructor(e) {
|
|
3952
|
+
this.string_token = e, this.account = new os(this), this.images = new us(this), this.profiles = new ds(this), this.events = new as(this), this.hooks = new cs(this), this.location = new ls(this), this.servers = new fs(this), this.shellUsers = new hs(this), this.sshkeys = new vs(this), this.snapshots = new Ss(this), this.operation = new zs(this), this.webdock = new Ws(this);
|
|
3939
3953
|
}
|
|
3940
3954
|
}
|
|
3941
3955
|
export {
|
|
3942
|
-
|
|
3943
|
-
|
|
3956
|
+
vo as Webdock,
|
|
3957
|
+
ho as oldWebdock
|
|
3944
3958
|
};
|
|
3945
3959
|
//# sourceMappingURL=index.mjs.map
|