@zowe/zos-tso-for-zowe-sdk 8.2.0 → 8.6.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.
@@ -0,0 +1,20 @@
1
+ import { ITsoAppCommunicationParms } from "./doc/input/ITsoAppCommunicationParms";
2
+ import { IASAppResponse } from "./doc/IASAppResponse";
3
+ import { AbstractSession } from "@zowe/imperative";
4
+ import { IStartTsoParms } from "./doc/input/IStartTsoParms";
5
+ import { IStartTsoAppParms } from "./doc/input/IStartTsoAppParms";
6
+ export declare class AddressSpaceApps {
7
+ /**
8
+ * Format API response to IASAppResponse structure.
9
+ * @static
10
+ * @param {any} response - Raw API response
11
+ * @param {string | null} servletKey - Servlet key if present
12
+ * @param {string | null} queueID - Queue ID if present
13
+ * @returns {IASAppResponse} Formatted API response
14
+ */
15
+ private static formatResponse;
16
+ static start(session: AbstractSession, accountNumber: string, params: IStartTsoAppParms, startParms: IStartTsoParms): Promise<IASAppResponse>;
17
+ static send(session: AbstractSession, accountNumber: string, params: ITsoAppCommunicationParms, startParms: IStartTsoParms): Promise<IASAppResponse>;
18
+ static receive(session: AbstractSession, accountNumber: string, params: ITsoAppCommunicationParms): Promise<IASAppResponse>;
19
+ }
20
+ //# sourceMappingURL=AddressSpaceApps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddressSpaceApps.d.ts","sourceRoot":"","sources":["../src/AddressSpaceApps.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAW,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAIlE,qBAAa,gBAAgB;IACzB;;;;;;;OAOG;IACH,OAAO,CAAC,MAAM,CAAC,cAAc;WAiBT,KAAK,CACrB,OAAO,EAAE,eAAe,EACxB,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,iBAAiB,EACzB,UAAU,EAAE,cAAc,GAC3B,OAAO,CAAC,cAAc,CAAC;WA4BN,IAAI,CACpB,OAAO,EAAE,eAAe,EACxB,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,yBAAyB,EACjC,UAAU,EAAE,cAAc,GAC3B,OAAO,CAAC,cAAc,CAAC;WAeN,OAAO,CACvB,OAAO,EAAE,eAAe,EACxB,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,yBAAyB,GAClC,OAAO,CAAC,cAAc,CAAC;CA4C7B"}
@@ -0,0 +1,125 @@
1
+ "use strict";
2
+ /*
3
+ * This program and the accompanying materials are made available under the terms of the
4
+ * Eclipse Public License v2.0 which accompanies this distribution, and is available at
5
+ * https://www.eclipse.org/legal/epl-v20.html
6
+ *
7
+ * SPDX-License-Identifier: EPL-2.0
8
+ *
9
+ * Copyright Contributors to the Zowe Project.
10
+ *
11
+ */
12
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
13
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
14
+ return new (P || (P = Promise))(function (resolve, reject) {
15
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
16
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
17
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
18
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
19
+ });
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.AddressSpaceApps = void 0;
23
+ const TsoConstants_1 = require("./TsoConstants");
24
+ const imperative_1 = require("@zowe/imperative");
25
+ const core_for_zowe_sdk_1 = require("@zowe/core-for-zowe-sdk");
26
+ const TsoValidator_1 = require("./TsoValidator");
27
+ const StartTso_1 = require("./StartTso");
28
+ class AddressSpaceApps {
29
+ /**
30
+ * Format API response to IASAppResponse structure.
31
+ * @static
32
+ * @param {any} response - Raw API response
33
+ * @param {string | null} servletKey - Servlet key if present
34
+ * @param {string | null} queueID - Queue ID if present
35
+ * @returns {IASAppResponse} Formatted API response
36
+ */
37
+ static formatResponse(response, servletKey, queueID) {
38
+ var _a;
39
+ return {
40
+ version: response.ver,
41
+ reused: response.reused,
42
+ timeout: response.timeout,
43
+ servletKey: servletKey !== null && servletKey !== void 0 ? servletKey : null,
44
+ queueID: queueID !== null && queueID !== void 0 ? queueID : null,
45
+ tsoData: ((_a = response.tsoData) === null || _a === void 0 ? void 0 : _a.map((message) => {
46
+ const messageKey = message["TSO MESSAGE"] ? "TSO MESSAGE" : "TSO PROMPT";
47
+ return {
48
+ VERSION: message[messageKey].VERSION,
49
+ DATA: message[messageKey].DATA,
50
+ };
51
+ })) || [response.appData],
52
+ };
53
+ }
54
+ static start(session, accountNumber, params, startParms) {
55
+ return __awaiter(this, void 0, void 0, function* () {
56
+ TsoValidator_1.TsoValidator.validateSession(session);
57
+ TsoValidator_1.TsoValidator.validateNotEmptyString(accountNumber, TsoConstants_1.noAccountNumber.message);
58
+ if (!params.queueID || !params.servletKey) {
59
+ const response = {
60
+ success: false,
61
+ startResponse: yield StartTso_1.StartTso.start(session, accountNumber, startParms),
62
+ startReady: false,
63
+ zosmfResponse: null,
64
+ commandResponse: null,
65
+ stopResponse: null,
66
+ };
67
+ params.servletKey = response.startResponse.zosmfTsoResponse.servletKey;
68
+ params.queueID = response.startResponse.zosmfTsoResponse.queueID;
69
+ }
70
+ const endpoint = `${TsoConstants_1.TsoConstants.RESOURCE}/app/${params.servletKey}/${params.appKey}`;
71
+ const response = yield core_for_zowe_sdk_1.ZosmfRestClient.postExpectJSON(session, endpoint, [imperative_1.Headers.APPLICATION_JSON], { startcmd: `${params.startupCommand} '&1 &2 ${params.queueID}'` });
72
+ return AddressSpaceApps.formatResponse(response, params.servletKey, params.queueID);
73
+ });
74
+ }
75
+ static send(session, accountNumber, params, startParms) {
76
+ return __awaiter(this, void 0, void 0, function* () {
77
+ var _a, _b;
78
+ TsoValidator_1.TsoValidator.validateSession(session);
79
+ TsoValidator_1.TsoValidator.validateNotEmptyString(accountNumber, TsoConstants_1.noAccountNumber.message);
80
+ const endpoint = `${TsoConstants_1.TsoConstants.RESOURCE}/app/${params.servletKey}/${params.appKey}`;
81
+ const apiResponse = yield core_for_zowe_sdk_1.ZosmfRestClient.putExpectJSON(session, endpoint, [imperative_1.Headers.CONTENT_TYPE, "text/plain"], params.message);
82
+ return AddressSpaceApps.formatResponse(apiResponse, (_a = apiResponse.servletKey) !== null && _a !== void 0 ? _a : null, (_b = apiResponse.queueID) !== null && _b !== void 0 ? _b : null);
83
+ });
84
+ }
85
+ static receive(session, accountNumber, params) {
86
+ return __awaiter(this, void 0, void 0, function* () {
87
+ var _a, _b;
88
+ TsoValidator_1.TsoValidator.validateSession(session);
89
+ TsoValidator_1.TsoValidator.validateNotEmptyString(accountNumber, TsoConstants_1.noAccountNumber.message);
90
+ const TIMEOUT_SECONDS = params.timeout;
91
+ const endpoint = `${TsoConstants_1.TsoConstants.RESOURCE}/app/${params.servletKey}/${params.appKey}`;
92
+ let combinedResponse = null;
93
+ let endKeyword = false;
94
+ const startTime = Date.now();
95
+ let timeoutReached = false;
96
+ do {
97
+ // eslint-disable-next-line @typescript-eslint/no-magic-numbers
98
+ if (Date.now() - startTime > TIMEOUT_SECONDS * 1000) {
99
+ timeoutReached = true;
100
+ break;
101
+ }
102
+ try {
103
+ const apiResponse = yield core_for_zowe_sdk_1.ZosmfRestClient.getExpectJSON(session, endpoint);
104
+ const formattedResponse = AddressSpaceApps.formatResponse(apiResponse, (_a = apiResponse.servletKey) !== null && _a !== void 0 ? _a : null, (_b = apiResponse.queueID) !== null && _b !== void 0 ? _b : null);
105
+ if (combinedResponse === null) {
106
+ combinedResponse = formattedResponse;
107
+ }
108
+ else {
109
+ combinedResponse.tsoData.push(...formattedResponse.tsoData);
110
+ }
111
+ endKeyword = formattedResponse.tsoData.some((data) => typeof data === "string" ? data.trim() === "READY" : data.DATA.trim() === "READY");
112
+ }
113
+ catch (error) {
114
+ if (combinedResponse) {
115
+ return combinedResponse;
116
+ }
117
+ throw error;
118
+ }
119
+ } while (!endKeyword && params.receiveUntilReady && !timeoutReached);
120
+ return combinedResponse;
121
+ });
122
+ }
123
+ }
124
+ exports.AddressSpaceApps = AddressSpaceApps;
125
+ //# sourceMappingURL=AddressSpaceApps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddressSpaceApps.js","sourceRoot":"","sources":["../src/AddressSpaceApps.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE;;;;;;;;;;;;AAEF,iDAA+D;AAG/D,iDAA4D;AAC5D,+DAA0D;AAE1D,iDAA8C;AAE9C,yCAAsC;AAGtC,MAAa,gBAAgB;IACzB;;;;;;;OAOG;IACK,MAAM,CAAC,cAAc,CAAC,QAAa,EAAE,UAAyB,EAAE,OAAsB;;QAC1F,OAAO;YACH,OAAO,EAAE,QAAQ,CAAC,GAAG;YACrB,MAAM,EAAE,QAAQ,CAAC,MAAM;YACvB,OAAO,EAAE,QAAQ,CAAC,OAAO;YACzB,UAAU,EAAE,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,IAAI;YAC9B,OAAO,EAAE,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,IAAI;YACxB,OAAO,EAAE,CAAA,MAAA,QAAQ,CAAC,OAAO,0CAAE,GAAG,CAAC,CAAC,OAAY,EAAE,EAAE;gBAC5C,MAAM,UAAU,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC;gBACzE,OAAO;oBACH,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO;oBACpC,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,IAAI;iBACjC,CAAC;YACN,CAAC,CAAC,KAAI,CA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S,GAAG,eAAe,GAAG,IAAI,EAAE,CAAC;oBAClD,cAAc,GAAG,IAAI,CAAC;oBACtB,MAAM;gBACV,CAAC;gBAED,IAAI,CAAC;oBACD,MAAM,WAAW,GAAG,MAAM,mCAAe,CAAC,aAAa,CACnD,OAAO,EACP,QAAQ,CACX,CAAC;oBACF,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,cAAc,CAAC,WAAW,EAAE,MAAA,WAAW,CAAC,UAAU,mCAAI,IAAI,EAAE,MAAA,WAAW,CAAC,OAAO,mCAAI,IAAI,CAAC,CAAC;oBAEpI,IAAI,gBAAgB,KAAK,IAAI,EAAE,CAAC;wBAC5B,gBAAgB,GAAG,iBAAiB,CAAC;oBACzC,CAAC;yBAAM,CAAC;wBACJ,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;oBAChE,CAAC;oBAED,UAAU,GAAG,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,IAAS,EAAE,EAAE,CACtD,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,OAAO,CACpF,CAAC;gBACN,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,IAAI,gBAAgB,EAAE,CAAC;wBACnB,OAAO,gBAAgB,CAAC;oBAC5B,CAAC;oBACD,MAAM,KAAK,CAAC;gBAChB,CAAC;YACL,CAAC,QAAQ,CAAC,UAAU,IAAI,MAAM,CAAC,iBAAiB,IAAI,CAAC,cAAc,EAAE;YAErE,OAAO,gBAAiB,CAAC;QAC7B,CAAC;KAAA;CACJ;AA/HD,4CA+HC"}
@@ -0,0 +1,40 @@
1
+ import { ITsoMessage } from "../../src";
2
+ export interface IASAppResponse {
3
+ /**
4
+ * Version in response
5
+ * @type {boolean}
6
+ * @memberof IASAppResponse
7
+ */
8
+ version: string;
9
+ /**
10
+ * Data from response
11
+ * @type {ITsoMessage[]}
12
+ * @memberof IASAppResponse
13
+ */
14
+ tsoData: ITsoMessage[];
15
+ /**
16
+ * Reused boolean
17
+ * @type {boolean}
18
+ * @memberof IASAppResponse
19
+ */
20
+ reused: boolean;
21
+ /**
22
+ * Timeout boolean response
23
+ * @type {boolean}
24
+ * @memberof IASAppResponse
25
+ */
26
+ timeout: boolean;
27
+ /**
28
+ * Servlet key from IZosmfTsoResponse
29
+ * @type {string}
30
+ * @memberof IASAppResponse
31
+ */
32
+ servletKey?: string;
33
+ /**
34
+ * QueueID from created address space
35
+ * @type {string}
36
+ * @memberof IASAppResponse
37
+ */
38
+ queueID?: string;
39
+ }
40
+ //# sourceMappingURL=IASAppResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IASAppResponse.d.ts","sourceRoot":"","sources":["../../src/doc/IASAppResponse.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;;;OAIG;IACH,OAAO,EAAE,WAAW,EAAE,CAAA;IACtB;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAA;IACf;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAA;IAChB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /*
3
+ * This program and the accompanying materials are made available under the terms of the
4
+ * Eclipse Public License v2.0 which accompanies this distribution, and is available at
5
+ * https://www.eclipse.org/legal/epl-v20.html
6
+ *
7
+ * SPDX-License-Identifier: EPL-2.0
8
+ *
9
+ * Copyright Contributors to the Zowe Project.
10
+ *
11
+ */
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ //# sourceMappingURL=IASAppResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IASAppResponse.js","sourceRoot":"","sources":["../../src/doc/IASAppResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Interface for starting an app on a TSO Address Space
3
+ * @export
4
+ * @interface IStartTsoAppParms
5
+ */
6
+ export interface IStartTsoAppParms {
7
+ /**
8
+ * Startup command to run at TSO address space
9
+ * @type {string}
10
+ * @memberof IStartTsoAppParms
11
+ */
12
+ startupCommand: string;
13
+ /**
14
+ * App Key of application to be started at a TSO address space
15
+ * @type {string}
16
+ * @memberof IStartTsoAppParms
17
+ */
18
+ appKey: string;
19
+ /**
20
+ * Queue ID of an active address space
21
+ * @type {string}
22
+ * @memberof IStartTsoAppParms
23
+ */
24
+ queueID?: string;
25
+ /**
26
+ * Servlet key of an active address space
27
+ * @type {string}
28
+ * @memberof IStartTsoAppParms
29
+ */
30
+ servletKey?: string;
31
+ }
32
+ //# sourceMappingURL=IStartTsoAppParms.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IStartTsoAppParms.d.ts","sourceRoot":"","sources":["../../../src/doc/input/IStartTsoAppParms.ts"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAE9B;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /*
3
+ * This program and the accompanying materials are made available under the terms of the
4
+ * Eclipse Public License v2.0 which accompanies this distribution, and is available at
5
+ * https://www.eclipse.org/legal/epl-v20.html
6
+ *
7
+ * SPDX-License-Identifier: EPL-2.0
8
+ *
9
+ * Copyright Contributors to the Zowe Project.
10
+ *
11
+ */
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ //# sourceMappingURL=IStartTsoAppParms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IStartTsoAppParms.js","sourceRoot":"","sources":["../../../src/doc/input/IStartTsoAppParms.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Interface for starting an app on a TSO Address Space
3
+ * @export
4
+ * @interface ITsoAppCommunicationParms
5
+ */
6
+ export interface ITsoAppCommunicationParms {
7
+ /**
8
+ * Body contents being sent to TSO address space app
9
+ * @type {string}
10
+ * @memberof ITsoAppCommunicationParms
11
+ */
12
+ message?: string;
13
+ /**
14
+ * App Key of application to be started at a TSO address space
15
+ * @type {string}
16
+ * @memberof ITsoAppCommunicationParms
17
+ */
18
+ appKey: string;
19
+ /**
20
+ * Servlet key of an active address space
21
+ * @type {string}
22
+ * @memberof ITsoAppCommunicationParms
23
+ */
24
+ servletKey: string;
25
+ /**
26
+ * Keep receiving until end keyword is found.
27
+ * @type {boolean}
28
+ * @memberof ITsoAppCommunicationParms
29
+ */
30
+ receiveUntilReady?: boolean;
31
+ /**
32
+ * Timeout duration in seconds
33
+ * @type {boolean}
34
+ * @memberof ITsoAppCommunicationParms
35
+ */
36
+ timeout?: number;
37
+ }
38
+ //# sourceMappingURL=ITsoAppCommunicationParms.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITsoAppCommunicationParms.d.ts","sourceRoot":"","sources":["../../../src/doc/input/ITsoAppCommunicationParms.ts"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /*
3
+ * This program and the accompanying materials are made available under the terms of the
4
+ * Eclipse Public License v2.0 which accompanies this distribution, and is available at
5
+ * https://www.eclipse.org/legal/epl-v20.html
6
+ *
7
+ * SPDX-License-Identifier: EPL-2.0
8
+ *
9
+ * Copyright Contributors to the Zowe Project.
10
+ *
11
+ */
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ //# sourceMappingURL=ITsoAppCommunicationParms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITsoAppCommunicationParms.js","sourceRoot":"","sources":["../../../src/doc/input/ITsoAppCommunicationParms.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE"}
package/lib/index.d.ts CHANGED
@@ -23,6 +23,7 @@ export * from "./IssueTso";
23
23
  export * from "./PingTso";
24
24
  export * from "./SendTso";
25
25
  export * from "./StartTso";
26
+ export * from "./AddressSpaceApps";
26
27
  export * from "./StopTso";
27
28
  export * from "./TsoConstants";
28
29
  export * from "./TsoResponseService";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAWA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAE3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAE1C,cAAc,0BAA0B,CAAC;AAEzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACr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,CAAC"}
package/lib/index.js CHANGED
@@ -49,6 +49,7 @@ __exportStar(require("./IssueTso"), exports);
49
49
  __exportStar(require("./PingTso"), exports);
50
50
  __exportStar(require("./SendTso"), exports);
51
51
  __exportStar(require("./StartTso"), exports);
52
+ __exportStar(require("./AddressSpaceApps"), exports);
52
53
  __exportStar(require("./StopTso"), exports);
53
54
  __exportStar(require("./TsoConstants"), exports);
54
55
  __exportStar(require("./TsoResponseService"), exports);
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE;;;;;;;;;;;;;;;;AAEF,+DAA6C;AAC7C,6DAA2C;AAE3C,6DAA2C;AAC3C,4DAA0C;AAC1C,6DAA2C;AAC3C,4DAA0C;AAE1C,2DAAyC;AAEzC,0DAAwC;AACxC,2DAAyC;AACzC,gEAA8C;AAC9C,kEAAgD;AAChD,6DAA2C;AAC3C,iEAA+C;AAC/C,gEAA8C;AAE9C,4DAA0C;AAC1C,6DAA2C;AAC3C,uDAAqC;AACrC,sDAAoC;AACpC,sDAAoC;AACpC,2DAAyC;AACzC,4DAA0C;AAE1C,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,iDAA+B;AAC/B,uDAAqC;AACrC,iDAA+B;AAC/B,sDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE;;;;;;;;;;;;;;;;AAEF,+DAA6C;AAC7C,6DAA2C;AAE3C,6DAA2C;AAC3C,4DAA0C;AAC1C,6DAA2C;AAC3C,4DAA0C;AAE1C,2DAAyC;AAEzC,0DAAwC;AACxC,2DAAyC;AACzC,gEAA8C;AAC9C,kEAAgD;AAChD,6DAA2C;AAC3C,iEAA+C;AAC/C,gEAA8C;AAE9C,4DAA0C;AAC1C,6DAA2C;AAC3C,uDAAqC;AACrC,sDAAoC;AACpC,sDAAoC;AACpC,2DAAyC;AACzC,4DAA0C;AAE1C,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B;AAC3B,qDAAmC;AACnC,4CAA0B;AAC1B,iDAA+B;AAC/B,uDAAqC;AACrC,iDAA+B;AAC/B,sDAAoC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zowe/zos-tso-for-zowe-sdk",
3
- "version": "8.2.0",
3
+ "version": "8.6.0",
4
4
  "description": "Zowe SDK to interact with TSO on z/OS",
5
5
  "author": "Zowe",
6
6
  "license": "EPL-2.0",
@@ -44,12 +44,12 @@
44
44
  "typedocSpecifySrc": "typedoc --options ./typedoc.json"
45
45
  },
46
46
  "dependencies": {
47
- "@zowe/zosmf-for-zowe-sdk": "8.2.0"
47
+ "@zowe/zosmf-for-zowe-sdk": "8.6.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@zowe/cli-test-utils": "8.2.0",
51
- "@zowe/core-for-zowe-sdk": "8.2.0",
52
- "@zowe/imperative": "8.2.0"
50
+ "@zowe/cli-test-utils": "8.6.0",
51
+ "@zowe/core-for-zowe-sdk": "8.6.0",
52
+ "@zowe/imperative": "8.6.0"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@zowe/core-for-zowe-sdk": "^8.0.0",