@zowe/cics-for-zowe-cli 6.0.0 → 6.2.3

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.
Files changed (171) hide show
  1. package/npm-shrinkwrap.json +33 -37
  2. package/package.json +3 -7
  3. package/node_modules/@zowe/cics-for-zowe-sdk/LICENSE +0 -277
  4. package/node_modules/@zowe/cics-for-zowe-sdk/README.md +0 -161
  5. package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.d.ts +0 -16
  6. package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.js +0 -83
  7. package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.js.map +0 -1
  8. package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.messages.d.ts +0 -17
  9. package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.messages.js +0 -22
  10. package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.messages.js.map +0 -1
  11. package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/index.d.ts +0 -12
  12. package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/index.js +0 -29
  13. package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/index.js.map +0 -1
  14. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIApiResponse.d.ts +0 -33
  15. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIApiResponse.js +0 -13
  16. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIApiResponse.js.map +0 -1
  17. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIResponseResultSummary.d.ts +0 -28
  18. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIResponseResultSummary.js +0 -13
  19. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIResponseResultSummary.js.map +0 -1
  20. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICSDGroupParms.d.ts +0 -30
  21. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICSDGroupParms.js +0 -13
  22. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICSDGroupParms.js.map +0 -1
  23. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IProgramParms.d.ts +0 -30
  24. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IProgramParms.js +0 -13
  25. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IProgramParms.js.map +0 -1
  26. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceParms.d.ts +0 -41
  27. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceParms.js +0 -13
  28. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceParms.js.map +0 -1
  29. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ITransactionParms.d.ts +0 -35
  30. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ITransactionParms.js +0 -13
  31. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ITransactionParms.js.map +0 -1
  32. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IURIMapParms.d.ts +0 -89
  33. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IURIMapParms.js +0 -13
  34. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IURIMapParms.js.map +0 -1
  35. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IWebServiceParms.d.ts +0 -55
  36. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IWebServiceParms.js +0 -13
  37. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IWebServiceParms.js.map +0 -1
  38. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.d.ts +0 -18
  39. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.js +0 -35
  40. package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.js.map +0 -1
  41. package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.d.ts +0 -14
  42. package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.js +0 -31
  43. package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.js.map +0 -1
  44. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/AddToList.d.ts +0 -23
  45. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/AddToList.js +0 -54
  46. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/AddToList.js.map +0 -1
  47. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/index.d.ts +0 -11
  48. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/index.js +0 -28
  49. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/index.js.map +0 -1
  50. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/Define.d.ts +0 -85
  51. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/Define.js +0 -290
  52. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/Define.js.map +0 -1
  53. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/index.d.ts +0 -11
  54. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/index.js +0 -28
  55. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/index.js.map +0 -1
  56. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/Delete.d.ts +0 -58
  57. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/Delete.js +0 -107
  58. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/Delete.js.map +0 -1
  59. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/index.d.ts +0 -11
  60. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/index.js +0 -28
  61. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/index.js.map +0 -1
  62. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/Disable.d.ts +0 -24
  63. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/Disable.js +0 -50
  64. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/Disable.js.map +0 -1
  65. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/index.d.ts +0 -11
  66. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/index.js +0 -28
  67. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/index.js.map +0 -1
  68. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/Discard.d.ts +0 -35
  69. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/Discard.js +0 -70
  70. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/Discard.js.map +0 -1
  71. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/index.d.ts +0 -11
  72. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/index.js +0 -28
  73. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/index.js.map +0 -1
  74. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/Enable.d.ts +0 -24
  75. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/Enable.js +0 -50
  76. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/Enable.js.map +0 -1
  77. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/index.d.ts +0 -11
  78. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/index.js +0 -28
  79. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/index.js.map +0 -1
  80. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/Get.d.ts +0 -23
  81. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/Get.js +0 -45
  82. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/Get.js.map +0 -1
  83. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/index.d.ts +0 -11
  84. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/index.js +0 -28
  85. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/index.js.map +0 -1
  86. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/index.d.ts +0 -20
  87. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/index.js +0 -37
  88. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/index.js.map +0 -1
  89. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/Install.d.ts +0 -48
  90. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/Install.js +0 -113
  91. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/Install.js.map +0 -1
  92. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/index.d.ts +0 -11
  93. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/index.js +0 -28
  94. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/index.js.map +0 -1
  95. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/RemoveFromList.d.ts +0 -23
  96. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/RemoveFromList.js +0 -39
  97. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/RemoveFromList.js.map +0 -1
  98. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/index.d.ts +0 -11
  99. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/index.js +0 -28
  100. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/index.js.map +0 -1
  101. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/Set.d.ts +0 -23
  102. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/Set.js +0 -47
  103. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/Set.js.map +0 -1
  104. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/index.d.ts +0 -11
  105. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/index.js +0 -28
  106. package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/index.js.map +0 -1
  107. package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestClient.d.ts +0 -128
  108. package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestClient.js +0 -220
  109. package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestClient.js.map +0 -1
  110. package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/index.d.ts +0 -11
  111. package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/index.js +0 -28
  112. package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/index.js.map +0 -1
  113. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/LICENSE +0 -19
  114. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/README.md +0 -507
  115. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/lib/bom.js +0 -12
  116. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/lib/builder.js +0 -127
  117. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/lib/defaults.js +0 -72
  118. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/lib/parser.js +0 -385
  119. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/lib/processors.js +0 -34
  120. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/lib/xml2js.js +0 -39
  121. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/package.json +0 -93
  122. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/CHANGELOG.md +0 -470
  123. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/LICENSE +0 -21
  124. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/README.md +0 -86
  125. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/appveyor.yml +0 -20
  126. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/Derivation.js +0 -10
  127. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
  128. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/NodeType.js +0 -23
  129. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/OperationType.js +0 -11
  130. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/Utility.js +0 -83
  131. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/WriterState.js +0 -10
  132. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -108
  133. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLCData.js +0 -36
  134. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -79
  135. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLComment.js +0 -36
  136. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -64
  137. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -16
  138. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -32
  139. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -28
  140. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -55
  141. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -38
  142. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -97
  143. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -52
  144. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -43
  145. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDocType.js +0 -186
  146. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDocument.js +0 -242
  147. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -528
  148. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -24
  149. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDummy.js +0 -31
  150. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLElement.js +0 -298
  151. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -58
  152. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLNode.js +0 -785
  153. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -48
  154. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -28
  155. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -49
  156. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLRaw.js +0 -35
  157. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -176
  158. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -35
  159. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -240
  160. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLText.js +0 -69
  161. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -21
  162. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -16
  163. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -428
  164. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/index.js +0 -65
  165. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/package.json +0 -39
  166. package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/typings/index.d.ts +0 -153
  167. package/node_modules/@zowe/cics-for-zowe-sdk/package.json +0 -54
  168. package/node_modules/sax/LICENSE +0 -41
  169. package/node_modules/sax/README.md +0 -228
  170. package/node_modules/sax/lib/sax.js +0 -1597
  171. package/node_modules/sax/package.json +0 -29
@@ -1,11 +0,0 @@
1
- /**
2
- * This program and the accompanying materials are made available under the terms of the
3
- * Eclipse Public License v2.0 which accompanies this distribution, and is available at
4
- * https://www.eclipse.org/legal/epl-v20.html
5
- *
6
- * SPDX-License-Identifier: EPL-2.0
7
- *
8
- * Copyright Contributors to the Zowe Project.
9
- *
10
- */
11
- export * from "./Set";
@@ -1,28 +0,0 @@
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- var desc = Object.getOwnPropertyDescriptor(m, k);
15
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
16
- desc = { enumerable: true, get: function() { return m[k]; } };
17
- }
18
- Object.defineProperty(o, k2, desc);
19
- }) : (function(o, m, k, k2) {
20
- if (k2 === undefined) k2 = k;
21
- o[k2] = m[k];
22
- }));
23
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
24
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
25
- };
26
- Object.defineProperty(exports, "__esModule", { value: true });
27
- __exportStar(require("./Set"), exports);
28
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/methods/set/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,wCAAsB"}
@@ -1,128 +0,0 @@
1
- /**
2
- * This program and the accompanying materials are made available under the terms of the
3
- * Eclipse Public License v2.0 which accompanies this distribution, and is available at
4
- * https://www.eclipse.org/legal/epl-v20.html
5
- *
6
- * SPDX-License-Identifier: EPL-2.0
7
- *
8
- * Copyright Contributors to the Zowe Project.
9
- *
10
- */
11
- import { AbstractSession, IImperativeError, RestClient } from "@zowe/imperative";
12
- import { ICMCIApiResponse } from "../doc/ICMCIApiResponse";
13
- /**
14
- * Wrapper for invoke CICS CMCI API through the RestClient to perform common error
15
- * handling and checking and resolve promises according to generic types
16
- * @export
17
- * @class CicsCmciRestClient
18
- * @extends {RestClient}
19
- */
20
- export declare class CicsCmciRestClient extends RestClient {
21
- /**
22
- * If the API request is successful, this value should be in
23
- * api_response2 in the resultsummary object in the response
24
- */
25
- static readonly CMCI_SUCCESS_RESPONSE_1 = "1024";
26
- /**
27
- * If the API request is successful, this value should be in
28
- * api_response2 in the resultsummary object in the response
29
- */
30
- static readonly CMCI_SUCCESS_RESPONSE_2 = "0";
31
- /**
32
- * Convert an object to XML using the xml2js package
33
- * @param obj - the object to convert to XML
34
- * @returns {string} the string of XML generated by xml2js
35
- */
36
- static convertObjectToXML(obj: any): string;
37
- /**
38
- * Call the RestClient.getExpectString function assuming the response is XML, then return a promise of the JSON representation.
39
- * @static
40
- * @param {AbstractSession} session - representing connection to this api
41
- * @param {string} resource - URI for which this request should go against
42
- * @param {any} reqHeaders - headers to include in the REST request
43
- * @returns {Promise<*>} - response body content from http(s) call
44
- * @throws {ImperativeError} verifyResponseCodes fails
45
- */
46
- static getExpectParsedXml(session: AbstractSession, resource: string, reqHeaders?: any[]): Promise<ICMCIApiResponse>;
47
- /**
48
- * Call the RestClient.deleteExpectString function assuming the response is XML, then return a promise of the JSON representation.
49
- * @static
50
- * @param {AbstractSession} session - representing connection to this api
51
- * @param {string} resource - URI for which this request should go against
52
- * @param {any} reqHeaders - headers to include in the REST request
53
- * @returns {Promise<*>} - response body content from http(s) call
54
- * @throws {ImperativeError} verifyResponseCodes fails
55
- */
56
- static deleteExpectParsedXml(session: AbstractSession, resource: string, reqHeaders?: any[]): Promise<ICMCIApiResponse>;
57
- /**
58
- * PUT a CMCI endpoint expecting an XML return value parsed into a JCL
59
- * Call the RestClient.putExpectString function assuming the response is XML, then return a promise of the JSON representation.
60
- * @static
61
- * @param {AbstractSession} session - representing connection to this api
62
- * @param {string} resource - URI for which this request should go against
63
- * @param {any} reqHeaders - headers to include in the REST request
64
- * @param payload - XML body to put or a javascript object to convert to XML
65
- * @returns {Promise<*>} - response body content from http(s) call
66
- * @throws {ImperativeError} verifyResponseCodes fails
67
- */
68
- static putExpectParsedXml(session: AbstractSession, resource: string, reqHeaders: any[], payload: any): Promise<ICMCIApiResponse>;
69
- /**
70
- * POST a CMCI endpoint expecting a XML return value
71
- * Calls the RestClient.postExpectString function assuming the response is XML, then return a promise of the JSON representation.
72
- * @static
73
- * @param {AbstractSession} session - representing connection to this api
74
- * @param {string} resource - URI for which this request should go against
75
- * @param {any} reqHeaders - headers to include in the REST request
76
- * @param payload - XML body to put or a javascript object to convert to XML
77
- * @returns {Promise<*>} - response body content from http(s) call
78
- * @throws {ImperativeError} verifyResponseCodes fails
79
- */
80
- static postExpectParsedXml(session: AbstractSession, resource: string, reqHeaders: any[], payload: any): Promise<ICMCIApiResponse>;
81
- /**
82
- * Internal logger
83
- */
84
- private static mLogger;
85
- /**
86
- * Internal parser
87
- */
88
- private static mParser;
89
- /**
90
- * Detect if a payload is a string or an object
91
- * If it is an object, convert it to XML using xml2js
92
- * @param payload - the request body / payload
93
- * @returns {string} the XML that can be used as the request body
94
- */
95
- private static convertPayloadToXML;
96
- /**
97
- * Use the Zowe logger instead of the imperative logger
98
- * @return {Logger}
99
- */
100
- private static get log();
101
- /**
102
- * Use a configured parser
103
- * @return {Parser}
104
- */
105
- private static get parser();
106
- /**
107
- * Check that we got the expected response codes from the API after a request
108
- * @param {ICMCIApiResponse} apiResponse - the parsed response
109
- * @returns {ICMCIApiResponse} - the response if it was correct
110
- * @throws {ImperativeError} request did not get the expected codes
111
- */
112
- private static verifyResponseCodes;
113
- /**
114
- * parse an XML string with XML2js
115
- * The API is already synchronous according to their documentation but requires a callback.
116
- * This is a wrapper that doesn't require a callback.
117
- * @param {string} str - the string of XML to parse
118
- * @returns {any} the object parsed from the XML
119
- * @throws {Error} xml2js.parseString fails
120
- */
121
- private static parseStringSync;
122
- /**
123
- * Process an error encountered in the rest client
124
- * @param {IImperativeError} original - the original error automatically built by the abstract rest client
125
- * @returns {IImperativeError} - the processed error with details added
126
- */
127
- protected processError(original: IImperativeError): IImperativeError;
128
- }
@@ -1,220 +0,0 @@
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
- exports.CicsCmciRestClient = void 0;
14
- const imperative_1 = require("@zowe/imperative");
15
- const xml2js_1 = require("xml2js");
16
- const CicsCmci_messages_1 = require("../constants/CicsCmci.messages");
17
- /**
18
- * Wrapper for invoke CICS CMCI API through the RestClient to perform common error
19
- * handling and checking and resolve promises according to generic types
20
- * @export
21
- * @class CicsCmciRestClient
22
- * @extends {RestClient}
23
- */
24
- class CicsCmciRestClient extends imperative_1.RestClient {
25
- /**
26
- * If the API request is successful, this value should be in
27
- * api_response2 in the resultsummary object in the response
28
- */
29
- static CMCI_SUCCESS_RESPONSE_1 = "1024";
30
- /**
31
- * If the API request is successful, this value should be in
32
- * api_response2 in the resultsummary object in the response
33
- */
34
- static CMCI_SUCCESS_RESPONSE_2 = "0";
35
- /**
36
- * Convert an object to XML using the xml2js package
37
- * @param obj - the object to convert to XML
38
- * @returns {string} the string of XML generated by xml2js
39
- */
40
- static convertObjectToXML(obj) {
41
- this.log.trace("Converting the following object to XML via xml2js:\n%s", JSON.stringify(obj, null, 2));
42
- const builder = new xml2js_1.Builder({ headless: true });
43
- return builder.buildObject(obj);
44
- }
45
- /**
46
- * Call the RestClient.getExpectString function assuming the response is XML, then return a promise of the JSON representation.
47
- * @static
48
- * @param {AbstractSession} session - representing connection to this api
49
- * @param {string} resource - URI for which this request should go against
50
- * @param {any} reqHeaders - headers to include in the REST request
51
- * @returns {Promise<*>} - response body content from http(s) call
52
- * @throws {ImperativeError} verifyResponseCodes fails
53
- */
54
- static async getExpectParsedXml(session, resource, reqHeaders = []) {
55
- const data = await CicsCmciRestClient.getExpectString(session, resource, reqHeaders);
56
- const apiResponse = CicsCmciRestClient.parseStringSync(data);
57
- return CicsCmciRestClient.verifyResponseCodes(apiResponse);
58
- }
59
- /**
60
- * Call the RestClient.deleteExpectString function assuming the response is XML, then return a promise of the JSON representation.
61
- * @static
62
- * @param {AbstractSession} session - representing connection to this api
63
- * @param {string} resource - URI for which this request should go against
64
- * @param {any} reqHeaders - headers to include in the REST request
65
- * @returns {Promise<*>} - response body content from http(s) call
66
- * @throws {ImperativeError} verifyResponseCodes fails
67
- */
68
- static async deleteExpectParsedXml(session, resource, reqHeaders = []) {
69
- const data = await CicsCmciRestClient.deleteExpectString(session, resource, reqHeaders);
70
- const apiResponse = CicsCmciRestClient.parseStringSync(data);
71
- return CicsCmciRestClient.verifyResponseCodes(apiResponse);
72
- }
73
- /**
74
- * PUT a CMCI endpoint expecting an XML return value parsed into a JCL
75
- * Call the RestClient.putExpectString function assuming the response is XML, then return a promise of the JSON representation.
76
- * @static
77
- * @param {AbstractSession} session - representing connection to this api
78
- * @param {string} resource - URI for which this request should go against
79
- * @param {any} reqHeaders - headers to include in the REST request
80
- * @param payload - XML body to put or a javascript object to convert to XML
81
- * @returns {Promise<*>} - response body content from http(s) call
82
- * @throws {ImperativeError} verifyResponseCodes fails
83
- */
84
- static async putExpectParsedXml(session, resource, reqHeaders = [], payload) {
85
- if (payload != null) {
86
- payload = CicsCmciRestClient.convertPayloadToXML(payload);
87
- }
88
- const data = await CicsCmciRestClient.putExpectString(session, resource, reqHeaders, payload);
89
- const apiResponse = CicsCmciRestClient.parseStringSync(data);
90
- return CicsCmciRestClient.verifyResponseCodes(apiResponse);
91
- }
92
- /**
93
- * POST a CMCI endpoint expecting a XML return value
94
- * Calls the RestClient.postExpectString function assuming the response is XML, then return a promise of the JSON representation.
95
- * @static
96
- * @param {AbstractSession} session - representing connection to this api
97
- * @param {string} resource - URI for which this request should go against
98
- * @param {any} reqHeaders - headers to include in the REST request
99
- * @param payload - XML body to put or a javascript object to convert to XML
100
- * @returns {Promise<*>} - response body content from http(s) call
101
- * @throws {ImperativeError} verifyResponseCodes fails
102
- */
103
- static async postExpectParsedXml(session, resource, reqHeaders = [], payload) {
104
- if (payload != null) {
105
- payload = CicsCmciRestClient.convertPayloadToXML(payload);
106
- }
107
- const data = await CicsCmciRestClient.postExpectString(session, resource, reqHeaders, payload);
108
- const apiResponse = CicsCmciRestClient.parseStringSync(data);
109
- return CicsCmciRestClient.verifyResponseCodes(apiResponse);
110
- }
111
- /**
112
- * Internal logger
113
- */
114
- static mLogger;
115
- /**
116
- * Internal parser
117
- */
118
- static mParser;
119
- /**
120
- * Detect if a payload is a string or an object
121
- * If it is an object, convert it to XML using xml2js
122
- * @param payload - the request body / payload
123
- * @returns {string} the XML that can be used as the request body
124
- */
125
- static convertPayloadToXML(payload) {
126
- if (typeof payload === "string") {
127
- // if it's already a string, use it verbatim
128
- return payload;
129
- }
130
- else {
131
- // if it's an object, turn it into XML
132
- return this.convertObjectToXML(payload);
133
- }
134
- }
135
- /**
136
- * Use the Zowe logger instead of the imperative logger
137
- * @return {Logger}
138
- */
139
- static get log() {
140
- if (this.mLogger == null) {
141
- this.mLogger = imperative_1.Logger.getAppLogger();
142
- }
143
- return this.mLogger;
144
- }
145
- /**
146
- * Use a configured parser
147
- * @return {Parser}
148
- */
149
- static get parser() {
150
- if (this.mParser == null) {
151
- this.mParser = new xml2js_1.Parser({
152
- explicitArray: false, // Only create arrays if there are multiple tags with the same name
153
- mergeAttrs: true, // Do not use the attrKey, instead merge all attributes with the parent
154
- normalizeTags: true // Guarantee that all tags are going to be lowercase
155
- });
156
- }
157
- return this.mParser;
158
- }
159
- /**
160
- * Check that we got the expected response codes from the API after a request
161
- * @param {ICMCIApiResponse} apiResponse - the parsed response
162
- * @returns {ICMCIApiResponse} - the response if it was correct
163
- * @throws {ImperativeError} request did not get the expected codes
164
- */
165
- static verifyResponseCodes(apiResponse) {
166
- if (apiResponse.response != null && apiResponse.response.resultsummary != null
167
- && apiResponse.response.resultsummary.api_response1 === CicsCmciRestClient.CMCI_SUCCESS_RESPONSE_1
168
- && apiResponse.response.resultsummary.api_response2 === CicsCmciRestClient.CMCI_SUCCESS_RESPONSE_2) {
169
- // expected return code and reason code specify
170
- return apiResponse;
171
- }
172
- else {
173
- throw new imperative_1.ImperativeError({
174
- msg: CicsCmci_messages_1.CicsCmciMessages.cmciRequestFailed.message + "\n" + imperative_1.TextUtils.prettyJson(apiResponse),
175
- });
176
- }
177
- }
178
- /**
179
- * parse an XML string with XML2js
180
- * The API is already synchronous according to their documentation but requires a callback.
181
- * This is a wrapper that doesn't require a callback.
182
- * @param {string} str - the string of XML to parse
183
- * @returns {any} the object parsed from the XML
184
- * @throws {Error} xml2js.parseString fails
185
- */
186
- static parseStringSync(str) {
187
- let result;
188
- let error;
189
- this.parser.parseString(str, (err, r) => {
190
- error = err;
191
- result = r;
192
- });
193
- if (error != null) {
194
- throw error;
195
- }
196
- return result;
197
- }
198
- /**
199
- * Process an error encountered in the rest client
200
- * @param {IImperativeError} original - the original error automatically built by the abstract rest client
201
- * @returns {IImperativeError} - the processed error with details added
202
- */
203
- processError(original) {
204
- original.msg = "CICS CMCI REST API Error:\n" + original.msg;
205
- let details = original.causeErrors;
206
- try {
207
- const xmlDetails = CicsCmciRestClient.parseStringSync(details);
208
- // if we didn't get an error, make the parsed details part of the error
209
- details = imperative_1.TextUtils.prettyJson(xmlDetails, undefined, false);
210
- }
211
- catch (e) {
212
- // if there's an error, the causeErrors text is not json
213
- this.log.debug("Encountered an error trying to parse causeErrors as XML - causeErrors is likely not JSON format");
214
- }
215
- original.msg += "\n" + details; // add the data string which is the original error
216
- return original;
217
- }
218
- }
219
- exports.CicsCmciRestClient = CicsCmciRestClient;
220
- //# sourceMappingURL=CicsCmciRestClient.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CicsCmciRestClient.js","sourceRoot":"","sources":["../../src/rest/CicsCmciRestClient.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,iDAAqH;AACrH,mCAAyC;AAEzC,sEAAkE;AAElE;;;;;;GAMG;AACH,MAAa,kBAAmB,SAAQ,uBAAU;IAChD;;;SAGK;IACE,MAAM,CAAU,uBAAuB,GAAG,MAAM,CAAC;IAExD;;;OAGG;IACI,MAAM,CAAU,uBAAuB,GAAG,GAAG,CAAC;IAErD;;;;OAIG;IACI,MAAM,CAAC,kBAAkB,CAAC,GAAQ;QACvC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,wDAAwD,EACrE,IAAI,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QACd,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;;QAII;IACM,YAAY,CAAC,QAA0B;QAC/C,QAAQ,CAAC,GAAG,GAAG,6BAA6B,GAAG,QAAQ,CAAC,GAAG,CAAC;QAC5D,IAAI,OAAO,GAAG,QAAQ,CAAC,WAAW,CAAC;QACnC,IAAI,CAAC;YACH,MAAM,UAAU,GAAG,kBAAkB,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;YAC/D,uEAAuE;YACvE,OAAO,GAAG,sBAAS,CAAC,UAAU,CAAC,UAAU,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;QAC/D,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,wDAAwD;YACxD,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,kGAAkG,CAAC,CAAC;QACrH,CAAC;QACD,QAAQ,CAAC,GAAG,IAAI,IAAI,GAAG,OAAO,CAAC,CAAC,kDAAkD;QAClF,OAAO,QAAQ,CAAC;IAClB,CAAC;;AAnNH,gDAoNC"}
@@ -1,11 +0,0 @@
1
- /**
2
- * This program and the accompanying materials are made available under the terms of the
3
- * Eclipse Public License v2.0 which accompanies this distribution, and is available at
4
- * https://www.eclipse.org/legal/epl-v20.html
5
- *
6
- * SPDX-License-Identifier: EPL-2.0
7
- *
8
- * Copyright Contributors to the Zowe Project.
9
- *
10
- */
11
- export * from "./CicsCmciRestClient";
@@ -1,28 +0,0 @@
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- var desc = Object.getOwnPropertyDescriptor(m, k);
15
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
16
- desc = { enumerable: true, get: function() { return m[k]; } };
17
- }
18
- Object.defineProperty(o, k2, desc);
19
- }) : (function(o, m, k, k2) {
20
- if (k2 === undefined) k2 = k;
21
- o[k2] = m[k];
22
- }));
23
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
24
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
25
- };
26
- Object.defineProperty(exports, "__esModule", { value: true });
27
- __exportStar(require("./CicsCmciRestClient"), exports);
28
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rest/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,uDAAqC"}
@@ -1,19 +0,0 @@
1
- Copyright 2010, 2011, 2012, 2013. All rights reserved.
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy
4
- of this software and associated documentation files (the "Software"), to
5
- deal in the Software without restriction, including without limitation the
6
- rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7
- sell copies of the Software, and to permit persons to whom the Software is
8
- furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in
11
- all copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19
- IN THE SOFTWARE.