stepzen 0.33.0-beta.3 → 0.33.0-beta.4
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/README.md +1 -1
- package/lib/commands/deploy.d.ts +1 -1
- package/lib/shared/stepzen-sdk.d.ts +16 -19
- package/lib/shared/stepzen-sdk.d.ts.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
package/lib/commands/deploy.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export default class Deploy extends ZenCommand {
|
|
|
53
53
|
stepzen: SdkInterfaceV2;
|
|
54
54
|
}): Promise<{
|
|
55
55
|
endpoint: string;
|
|
56
|
-
response: import("
|
|
56
|
+
response: import("@stepzen/sdk").ZenCtlResponseV2<import("@stepzen/sdk").StepZenEndpointV2>;
|
|
57
57
|
}>;
|
|
58
58
|
}
|
|
59
59
|
//# sourceMappingURL=deploy.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { MachineConfiguration, ServiceInstanceV2 } from './types';
|
|
2
2
|
export declare const getStepzen1SDK: (zenServer: string) => {
|
|
3
|
-
login: (adminkey: string, account?: string) => Promise<import("
|
|
4
|
-
createAnonymousAccount: (uuid: string) => Promise<import("
|
|
3
|
+
login: (adminkey: string, account?: string) => Promise<import("@stepzen/sdk").StepZenCredentials>;
|
|
4
|
+
createAnonymousAccount: (uuid: string) => Promise<import("@stepzen/sdk").StepZenCredentials>;
|
|
5
5
|
verify: (account: string, adminkey: string) => Promise<boolean>;
|
|
6
|
-
client: (options: import("
|
|
7
|
-
readonly credentials: import("
|
|
6
|
+
client: (options: import("@stepzen/sdk").UserCredentialsClientOptions | import("@stepzen/sdk").AnonymousClientOptions) => Promise<{
|
|
7
|
+
readonly credentials: import("@stepzen/sdk").StepZenCredentials;
|
|
8
8
|
account: () => Promise<{
|
|
9
9
|
account: string;
|
|
10
10
|
apikey: string;
|
|
@@ -15,23 +15,23 @@ export declare const getStepzen1SDK: (zenServer: string) => {
|
|
|
15
15
|
deploy: (destination: string, properties: {
|
|
16
16
|
configurationsets?: string[] | undefined;
|
|
17
17
|
schema: string;
|
|
18
|
-
}) => Promise<import("
|
|
18
|
+
}) => Promise<import("@stepzen/sdk").ZenCtlResponse>;
|
|
19
19
|
list: {
|
|
20
|
-
deployments: () => Promise<import("
|
|
21
|
-
configurationsets: () => Promise<import("
|
|
22
|
-
schemas: () => Promise<import("
|
|
20
|
+
deployments: () => Promise<import("@stepzen/sdk").ZenCtlResponse>;
|
|
21
|
+
configurationsets: () => Promise<import("@stepzen/sdk").ZenCtlResponse>;
|
|
22
|
+
schemas: () => Promise<import("@stepzen/sdk").ZenCtlResponse>;
|
|
23
23
|
};
|
|
24
24
|
upload: {
|
|
25
|
-
configurationset: (destination: string, file: string) => Promise<import("
|
|
26
|
-
schema: (destination: string, directory: string) => Promise<import("
|
|
25
|
+
configurationset: (destination: string, file: string) => Promise<import("@stepzen/sdk").ZenCtlResponse>;
|
|
26
|
+
schema: (destination: string, directory: string) => Promise<import("@stepzen/sdk").ZenCtlResponse>;
|
|
27
27
|
};
|
|
28
28
|
}>;
|
|
29
29
|
userAgent: string;
|
|
30
30
|
version: "v1";
|
|
31
31
|
};
|
|
32
32
|
export declare const getStepzen2SDK: (zenctlApiUrl: string, deploymentType: string) => {
|
|
33
|
-
login: (adminKey: string, account?: string) => Promise<import("
|
|
34
|
-
createAnonymousAccount: (uuid: string) => Promise<import("
|
|
33
|
+
login: (adminKey: string, account?: string) => Promise<import("@stepzen/sdk").StepZenCredentialsV2>;
|
|
34
|
+
createAnonymousAccount: (uuid: string) => Promise<import("@stepzen/sdk").StepZenCredentialsV2>;
|
|
35
35
|
serviceInstance: ServiceInstanceV2;
|
|
36
36
|
verify: (account: string, adminkey: string, deploymentType: string) => Promise<boolean>;
|
|
37
37
|
client: (auth: {
|
|
@@ -42,23 +42,20 @@ export declare const getStepzen2SDK: (zenctlApiUrl: string, deploymentType: stri
|
|
|
42
42
|
publicAccountToken: string;
|
|
43
43
|
deploymentType: string;
|
|
44
44
|
}) => Promise<{
|
|
45
|
-
readonly credentials: import("
|
|
45
|
+
readonly credentials: import("@stepzen/sdk").StepZenCredentialsV2;
|
|
46
46
|
delete: ({ folder, name }: {
|
|
47
47
|
folder: string;
|
|
48
48
|
name: string;
|
|
49
|
-
}) => Promise<import("
|
|
49
|
+
}) => Promise<import("@stepzen/sdk").ZenCtlResponseV2<import("@stepzen/sdk").StepZenDeleteV2[]>>;
|
|
50
50
|
deploy: ({ folder, name, directory, config, public: _public, }: {
|
|
51
51
|
folder: string;
|
|
52
52
|
name: string;
|
|
53
53
|
directory: string;
|
|
54
54
|
config?: string | undefined;
|
|
55
55
|
public?: boolean | undefined;
|
|
56
|
-
}) => Promise<import("
|
|
56
|
+
}) => Promise<import("@stepzen/sdk").ZenCtlResponseV2<import("@stepzen/sdk").StepZenEndpointV2>>;
|
|
57
57
|
list: {
|
|
58
|
-
endpoints: () => Promise<import("
|
|
59
|
-
folderName: string;
|
|
60
|
-
endpointName: string;
|
|
61
|
-
}[]>>;
|
|
58
|
+
endpoints: () => Promise<import("@stepzen/sdk").ZenCtlResponseV2<import("@stepzen/sdk").StepZenEndpointV2[]>>;
|
|
62
59
|
};
|
|
63
60
|
}>;
|
|
64
61
|
userAgent: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepzen-sdk.d.ts","sourceRoot":"","sources":["../../src/shared/stepzen-sdk.ts"],"names":[],"mappings":"AAWA,OAAO,EAAC,oBAAoB,EAAE,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAG/D,eAAO,MAAM,cAAc,cAAe,MAAM;sBAIpB,MAAM;mCAgBO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;CAc9C,CAAA;AAED,eAAO,MAAM,cAAc,iBACX,MAAM,kBACJ,MAAM;sBAaI,MAAM;mCAiBO,MAAM
|
|
1
|
+
{"version":3,"file":"stepzen-sdk.d.ts","sourceRoot":"","sources":["../../src/shared/stepzen-sdk.ts"],"names":[],"mappings":"AAWA,OAAO,EAAC,oBAAoB,EAAE,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAG/D,eAAO,MAAM,cAAc,cAAe,MAAM;sBAIpB,MAAM;mCAgBO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;CAc9C,CAAA;AAED,eAAO,MAAM,cAAc,iBACX,MAAM,kBACJ,MAAM;sBAaI,MAAM;mCAiBO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoB9C,CAAA;AAED,oBAAY,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAC9D,oBAAY,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAC9D,oBAAY,YAAY,GAAG,cAAc,GAAG,cAAc,CAAA;AAE1D,eAAO,MAAM,iBAAiB,kBACb,oBAAoB,KAClC,cAEF,CAAA;AAED,eAAO,MAAM,iBAAiB,kBAAmB,oBAAoB,+BAMpE,CAAA;AAED;;;;;;;;GAQG;AACH,wBAAsB,qBAAqB,CACzC,aAAa,EAAE,oBAAoB,EACnC,EAAE,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,OAAO,CAAC,GAAG,CAAC;;;;;GAmD5C"}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stepzen",
|
|
3
3
|
"description": "The StepZen CLI",
|
|
4
|
-
"version": "0.33.0-beta.
|
|
4
|
+
"version": "0.33.0-beta.4",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Darren Waddell <darren@stepzen.com>",
|
|
7
7
|
"contributors": [
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"@oclif/plugin-help": "5.2.4",
|
|
31
31
|
"@oclif/plugin-version": "1.2.1",
|
|
32
32
|
"@soluble/dsn-parser": "^1.7.5",
|
|
33
|
-
"@stepzen/fetch": "0.33.0-beta.
|
|
34
|
-
"@stepzen/graphiql-proxy": "0.33.0-beta.
|
|
35
|
-
"@stepzen/sdk": "0.33.0-beta.
|
|
36
|
-
"@stepzen/transpiler": "0.33.0-beta.
|
|
33
|
+
"@stepzen/fetch": "0.33.0-beta.4",
|
|
34
|
+
"@stepzen/graphiql-proxy": "0.33.0-beta.4",
|
|
35
|
+
"@stepzen/sdk": "0.33.0-beta.4",
|
|
36
|
+
"@stepzen/transpiler": "0.33.0-beta.4",
|
|
37
37
|
"chalk": "^4.1.2",
|
|
38
38
|
"chokidar": "^3.5.3",
|
|
39
39
|
"compare-versions": "^5.0.3",
|
|
@@ -143,5 +143,5 @@
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
|
-
"gitHead": "
|
|
146
|
+
"gitHead": "0873c690b6fb4a5b1fb341f833497eedb831a566"
|
|
147
147
|
}
|