@servicenow/glide 25.0.2 → 26.0.1

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 (382) hide show
  1. package/README.md +4 -94
  2. package/dist/imports/AuthCredential.d.ts +5 -0
  3. package/dist/imports/AuthCredential.js +3 -0
  4. package/dist/imports/AuthCredential.js.map +1 -0
  5. package/dist/imports/CMDBGroupAPI.d.ts +14 -0
  6. package/dist/imports/{OrderGuideJS.js → CMDBGroupAPI.js} +1 -1
  7. package/dist/imports/CMDBGroupAPI.js.map +1 -0
  8. package/dist/imports/CSVParser.d.ts +5 -0
  9. package/dist/imports/{CatalogJS.js → CSVParser.js} +1 -1
  10. package/dist/imports/CSVParser.js.map +1 -0
  11. package/dist/imports/Cell.d.ts +40 -0
  12. package/dist/imports/Color.d.ts +7 -0
  13. package/dist/imports/ConnectionInfo.d.ts +17 -0
  14. package/dist/imports/ConnectionInfo.js +3 -0
  15. package/dist/imports/ConnectionInfo.js.map +1 -0
  16. package/dist/imports/ConnectionInfoProvider.d.ts +8 -0
  17. package/dist/imports/ConnectionInfoProvider.js +3 -0
  18. package/dist/imports/ConnectionInfoProvider.js.map +1 -0
  19. package/dist/imports/Data.d.ts +1 -2
  20. package/dist/imports/DataBuilder.d.ts +1 -2
  21. package/dist/imports/DecisionTableAPI.d.ts +43 -0
  22. package/dist/imports/DecisionTableAPI.js +3 -0
  23. package/dist/imports/DecisionTableAPI.js.map +1 -0
  24. package/dist/imports/DiscoveryAPI.d.ts +8 -0
  25. package/dist/imports/DiscoveryAPI.js +3 -0
  26. package/dist/imports/DiscoveryAPI.js.map +1 -0
  27. package/dist/imports/Document.d.ts +25 -0
  28. package/dist/imports/DocumentListEntryService.d.ts +8 -0
  29. package/dist/imports/DocumentListEntryService.js +3 -0
  30. package/dist/imports/DocumentListEntryService.js.map +1 -0
  31. package/dist/imports/DocumentListService.d.ts +9 -0
  32. package/dist/imports/{CatalogItemCategory.js → DocumentListService.js} +1 -1
  33. package/dist/imports/DocumentListService.js.map +1 -0
  34. package/dist/imports/DocumentReferenceService.d.ts +6 -0
  35. package/dist/imports/DocumentReferenceService.js +3 -0
  36. package/dist/imports/DocumentReferenceService.js.map +1 -0
  37. package/dist/imports/DocumentService.d.ts +8 -0
  38. package/dist/imports/DocumentService.js +3 -0
  39. package/dist/imports/DocumentService.js.map +1 -0
  40. package/dist/imports/DocumentVersionService.d.ts +8 -0
  41. package/dist/imports/DocumentVersionService.js +3 -0
  42. package/dist/imports/DocumentVersionService.js.map +1 -0
  43. package/dist/imports/DuplicateTemplate.d.ts +17 -0
  44. package/dist/imports/DuplicateTemplate.js +3 -0
  45. package/dist/imports/DuplicateTemplate.js.map +1 -0
  46. package/dist/imports/Findings.d.ts +7 -0
  47. package/dist/imports/{Catalog.js → Findings.js} +1 -1
  48. package/dist/imports/Findings.js.map +1 -0
  49. package/dist/imports/GeniusResultAnswer.d.ts +21 -0
  50. package/dist/imports/GeniusResultAnswer.js +3 -0
  51. package/dist/imports/GeniusResultAnswer.js.map +1 -0
  52. package/dist/imports/GeniusResultContext.d.ts +18 -0
  53. package/dist/imports/GeniusResultContext.js +3 -0
  54. package/dist/imports/GeniusResultContext.js.map +1 -0
  55. package/dist/imports/GlideAggregate.d.ts +9 -9
  56. package/dist/imports/GlideCurrencyConfig.d.ts +14 -0
  57. package/dist/imports/GlideCurrencyConfig.js +3 -0
  58. package/dist/imports/GlideCurrencyConfig.js.map +1 -0
  59. package/dist/imports/GlideCurrencyConverter.d.ts +10 -0
  60. package/dist/imports/GlideCurrencyExchangeValue.d.ts +11 -0
  61. package/dist/imports/GlideCurrencyFormatter.d.ts +7 -0
  62. package/dist/imports/GlideCurrencyParser.d.ts +5 -0
  63. package/dist/imports/GlideCurrencyValue.d.ts +5 -0
  64. package/dist/imports/GlideElement.d.ts +2 -2
  65. package/dist/imports/GlideExcelParser.d.ts +19 -0
  66. package/dist/imports/GlideExcelParser.js +3 -0
  67. package/dist/imports/GlideExcelParser.js.map +1 -0
  68. package/dist/imports/GlideImportSetTable.d.ts +7 -0
  69. package/dist/imports/GlideImportSetTable.js +3 -0
  70. package/dist/imports/GlideImportSetTable.js.map +1 -0
  71. package/dist/imports/GlideImportSetTransformMap.d.ts +6 -0
  72. package/dist/imports/GlideImportSetTransformMap.js +3 -0
  73. package/dist/imports/GlideImportSetTransformMap.js.map +1 -0
  74. package/dist/imports/GlideImportSetTransformer.d.ts +2 -1
  75. package/dist/imports/GlideMultiRecurrence.d.ts +5 -0
  76. package/dist/imports/GlideMultiRecurrence.js +3 -0
  77. package/dist/imports/GlideMultiRecurrence.js.map +1 -0
  78. package/dist/imports/GlideNumberFormatter.d.ts +4 -0
  79. package/dist/imports/GlideNumberFormatter.js +3 -0
  80. package/dist/imports/GlideNumberFormatter.js.map +1 -0
  81. package/dist/imports/GlideRecord.d.ts +8 -8
  82. package/dist/imports/GlideRecordSecure.d.ts +8 -8
  83. package/dist/imports/GlideRenderProperties.d.ts +2 -1
  84. package/dist/imports/GlideSPScriptable.d.ts +2 -0
  85. package/dist/imports/GlideSchedule.d.ts +1 -1
  86. package/dist/imports/GlideSession.d.ts +3 -3
  87. package/dist/imports/GlideSysListControl.d.ts +1 -2
  88. package/dist/imports/GlideSystem.d.ts +2 -2
  89. package/dist/imports/GlideSystemUserSession.d.ts +2 -2
  90. package/dist/imports/GlideUser.d.ts +4 -5
  91. package/dist/imports/HistoryWalker.d.ts +26 -0
  92. package/dist/imports/{CatalogSearch.js → HistoryWalker.js} +1 -1
  93. package/dist/imports/HistoryWalker.js.map +1 -0
  94. package/dist/imports/HttpRequestAuthedData.d.ts +15 -0
  95. package/dist/imports/HttpRequestAuthedData.js +3 -0
  96. package/dist/imports/HttpRequestAuthedData.js.map +1 -0
  97. package/dist/imports/HttpRequestData.d.ts +30 -0
  98. package/dist/imports/HttpRequestData.js +3 -0
  99. package/dist/imports/HttpRequestData.js.map +1 -0
  100. package/dist/imports/Image.d.ts +9 -0
  101. package/dist/imports/JSONStreamingAPI.d.ts +22 -0
  102. package/dist/imports/JSONStreamingBuilder.d.ts +8 -0
  103. package/dist/imports/KMFCryptoOperation.d.ts +13 -0
  104. package/dist/imports/KMFCryptoOperation.js +3 -0
  105. package/dist/imports/KMFCryptoOperation.js.map +1 -0
  106. package/dist/imports/Line.d.ts +7 -0
  107. package/dist/imports/{User.js → Line.js} +1 -1
  108. package/dist/imports/Line.js.map +1 -0
  109. package/dist/imports/Messaging.d.ts +7 -0
  110. package/dist/imports/Messaging.js +3 -0
  111. package/dist/imports/Messaging.js.map +1 -0
  112. package/dist/imports/MetricInfo.d.ts +5 -0
  113. package/dist/imports/{CategoryJS.js → MetricInfo.js} +1 -1
  114. package/dist/imports/MetricInfo.js.map +1 -0
  115. package/dist/imports/NotifyPhoneNumber.d.ts +16 -0
  116. package/dist/imports/NotifyPhoneNumber.js +3 -0
  117. package/dist/imports/NotifyPhoneNumber.js.map +1 -0
  118. package/dist/imports/NotifyScoped.d.ts +25 -0
  119. package/dist/imports/NotifyScoped.js +3 -0
  120. package/dist/imports/NotifyScoped.js.map +1 -0
  121. package/dist/imports/PAScorecard.d.ts +1 -1
  122. package/dist/imports/PDAutomationProvider.d.ts +4 -0
  123. package/dist/imports/PDAutomationProvider.js +3 -0
  124. package/dist/imports/PDAutomationProvider.js.map +1 -0
  125. package/dist/imports/PDFGenerationAPI.d.ts +16 -0
  126. package/dist/imports/PDFGenerationAPI.js +3 -0
  127. package/dist/imports/PDFGenerationAPI.js.map +1 -0
  128. package/dist/imports/Paragraph.d.ts +20 -0
  129. package/dist/imports/PdfMergeSignRequestor.d.ts +5 -0
  130. package/dist/imports/PdfPage.d.ts +7 -0
  131. package/dist/imports/PerformanceAPI.d.ts +10 -0
  132. package/dist/imports/PerformanceAPI.js +3 -0
  133. package/dist/imports/PerformanceAPI.js.map +1 -0
  134. package/dist/imports/PlaybookExperience.d.ts +8 -0
  135. package/dist/imports/PlaybookExperience.js +3 -0
  136. package/dist/imports/PlaybookExperience.js.map +1 -0
  137. package/dist/imports/PolarisUI.d.ts +15 -0
  138. package/dist/imports/PolarisUI.js +3 -0
  139. package/dist/imports/PolarisUI.js.map +1 -0
  140. package/dist/imports/PreferenceDestination.d.ts +12 -0
  141. package/dist/imports/PreferenceDestination.js +3 -0
  142. package/dist/imports/PreferenceDestination.js.map +1 -0
  143. package/dist/imports/Preferences.d.ts +11 -0
  144. package/dist/imports/Preferences.js +3 -0
  145. package/dist/imports/Preferences.js.map +1 -0
  146. package/dist/imports/ProducerV2.d.ts +4 -0
  147. package/dist/imports/{ScopedData.js → ProducerV2.js} +1 -1
  148. package/dist/imports/ProducerV2.js.map +1 -0
  149. package/dist/imports/Queue.d.ts +5 -0
  150. package/dist/{sn_sc/CartJS.js → imports/Queue.js} +1 -1
  151. package/dist/imports/Queue.js.map +1 -0
  152. package/dist/imports/RESTAPIRequest.d.ts +16 -0
  153. package/dist/imports/RESTAPIRequest.js +3 -0
  154. package/dist/imports/RESTAPIRequest.js.map +1 -0
  155. package/dist/imports/RESTAPIRequestBody.d.ts +11 -0
  156. package/dist/imports/RESTAPIRequestBody.js +3 -0
  157. package/dist/imports/RESTAPIRequestBody.js.map +1 -0
  158. package/dist/imports/RESTAPIResponse.d.ts +16 -0
  159. package/dist/imports/RESTAPIResponse.js +3 -0
  160. package/dist/imports/RESTAPIResponse.js.map +1 -0
  161. package/dist/imports/RESTAPIResponseStream.d.ts +7 -0
  162. package/dist/imports/RESTAPIResponseStream.js +3 -0
  163. package/dist/imports/RESTAPIResponseStream.js.map +1 -0
  164. package/dist/imports/RESTMessageV2.d.ts +3 -3
  165. package/dist/imports/RTETransformer.d.ts +5 -0
  166. package/dist/imports/RTETransformer.js +3 -0
  167. package/dist/imports/RTETransformer.js.map +1 -0
  168. package/dist/imports/ReportCiStatusOutputJS.d.ts +11 -0
  169. package/dist/imports/ReportCiStatusOutputJS.js +3 -0
  170. package/dist/imports/ReportCiStatusOutputJS.js.map +1 -0
  171. package/dist/imports/RequestAuthAPI.d.ts +10 -0
  172. package/dist/imports/RequestAuthAPI.js +3 -0
  173. package/dist/imports/RequestAuthAPI.js.map +1 -0
  174. package/dist/imports/SOAPMessageV2.d.ts +3 -3
  175. package/dist/imports/SVGToPDFConversionAPI.d.ts +7 -0
  176. package/dist/imports/SVGToPDFConversionAPI.js +3 -0
  177. package/dist/imports/SVGToPDFConversionAPI.js.map +1 -0
  178. package/dist/imports/ScopedCacheManager.d.ts +11 -0
  179. package/dist/imports/ScopedCacheManager.js +3 -0
  180. package/dist/imports/ScopedCacheManager.js.map +1 -0
  181. package/dist/imports/StandardCredentialsProvider.d.ts +9 -0
  182. package/dist/imports/StandardCredentialsProvider.js +3 -0
  183. package/dist/imports/StandardCredentialsProvider.js.map +1 -0
  184. package/dist/imports/Style.d.ts +26 -0
  185. package/dist/imports/SystemDocument.d.ts +16 -0
  186. package/dist/imports/SystemDocumentList.d.ts +3 -0
  187. package/dist/imports/SystemDocumentListEntry.d.ts +4 -0
  188. package/dist/imports/SystemDocumentVersion.d.ts +5 -0
  189. package/dist/imports/Table.d.ts +35 -0
  190. package/dist/imports/TransformPart.d.ts +46 -0
  191. package/dist/imports/{CatalogItemJS.js → TransformPart.js} +1 -1
  192. package/dist/imports/TransformPart.js.map +1 -0
  193. package/dist/imports/TransformResult.d.ts +12 -0
  194. package/dist/imports/TransformResult.js +3 -0
  195. package/dist/imports/TransformResult.js.map +1 -0
  196. package/dist/imports/Transformer.d.ts +7 -0
  197. package/dist/imports/Transformer.js +3 -0
  198. package/dist/imports/Transformer.js.map +1 -0
  199. package/dist/imports/TransformerDefinition.d.ts +10 -0
  200. package/dist/imports/TransformerDefinition.js +3 -0
  201. package/dist/imports/TransformerDefinition.js.map +1 -0
  202. package/dist/imports/TransformerRuleList.d.ts +26 -0
  203. package/dist/imports/UserCriteria.d.ts +5 -0
  204. package/dist/imports/UserCriteria.js +3 -0
  205. package/dist/imports/UserCriteria.js.map +1 -0
  206. package/dist/imports/XMLStreamingAPI.d.ts +24 -0
  207. package/dist/imports/XMLStreamingBuilder.d.ts +8 -0
  208. package/dist/index.d.ts +1 -2
  209. package/dist/index.js +1 -2
  210. package/dist/index.js.map +1 -1
  211. package/dist/sn_ais/GeniusResultContext.d.ts +3 -0
  212. package/dist/sn_auth/GlideOAuthClient.js.map +1 -0
  213. package/dist/sn_auth/GlideOAuthClientRequest.js.map +1 -0
  214. package/dist/sn_auth/GlideOAuthClientResponse.js.map +1 -0
  215. package/dist/sn_auth/GlideOAuthToken.js.map +1 -0
  216. package/dist/sn_auth/RequestAuthAPI.d.ts +6 -6
  217. package/dist/sn_auth/index.d.ts +4 -0
  218. package/dist/sn_auth/index.js +4 -0
  219. package/dist/sn_auth/index.js.map +1 -1
  220. package/dist/sn_cc/ConnectionInfoProvider.d.ts +3 -3
  221. package/dist/sn_clotho/TransformPart.d.ts +38 -39
  222. package/dist/sn_clotho/TransformResult.d.ts +3 -3
  223. package/dist/sn_connect/Queue.d.ts +1 -2
  224. package/dist/sn_kmf_ns/KMFCryptoOperation.d.ts +7 -8
  225. package/dist/sn_tfrm/TransformerDefinition.d.ts +4 -4
  226. package/dist/{types → sn_ws}/RESTMessageV2.d.ts +3 -3
  227. package/dist/{types → sn_ws}/RESTMessageV2.js.map +1 -1
  228. package/dist/sn_ws/RESTResponseV2.js.map +1 -0
  229. package/dist/{types → sn_ws}/SOAPMessageV2.d.ts +3 -3
  230. package/dist/{types → sn_ws}/SOAPMessageV2.js.map +1 -1
  231. package/dist/sn_ws/SOAPResponseV2.js.map +1 -0
  232. package/dist/sn_ws/index.d.ts +4 -0
  233. package/dist/{sn_cs → sn_ws}/index.js +4 -1
  234. package/dist/sn_ws/index.js.map +1 -0
  235. package/dist/sn_ws_int/RESTAPIRequest.d.ts +8 -8
  236. package/dist/sn_ws_int/RESTAPIRequestBody.d.ts +3 -3
  237. package/dist/sn_ws_int/RESTAPIResponse.d.ts +2 -2
  238. package/dist/types/Data.d.ts +1 -2
  239. package/dist/types/DataBuilder.d.ts +1 -2
  240. package/dist/types/GlideAggregate.d.ts +9 -9
  241. package/dist/types/GlideElement.d.ts +2 -2
  242. package/dist/types/GlideImportSetTransformer.d.ts +2 -1
  243. package/dist/types/GlideRecord.d.ts +8 -8
  244. package/dist/types/GlideRecordSecure.d.ts +8 -8
  245. package/dist/types/GlideRenderProperties.d.ts +2 -1
  246. package/dist/types/GlideSPScriptable.d.ts +2 -0
  247. package/dist/types/GlideSchedule.d.ts +1 -1
  248. package/dist/types/GlideSession.d.ts +3 -3
  249. package/dist/types/GlideSysListControl.d.ts +1 -2
  250. package/dist/types/GlideSystem.d.ts +2 -2
  251. package/dist/types/GlideSystemUserSession.d.ts +2 -2
  252. package/dist/types/GlideUser.d.ts +4 -5
  253. package/dist/types/PAScorecard.d.ts +1 -1
  254. package/dist/types/index.d.ts +0 -14
  255. package/dist/types/index.js +0 -14
  256. package/dist/types/index.js.map +1 -1
  257. package/dist/util/GlideAPIs.json +145 -383
  258. package/license +9 -0
  259. package/package.json +3 -8
  260. package/dist/imports/Catalog.d.ts +0 -28
  261. package/dist/imports/Catalog.js.map +0 -1
  262. package/dist/imports/CatalogItemCategory.d.ts +0 -12
  263. package/dist/imports/CatalogItemCategory.js.map +0 -1
  264. package/dist/imports/CatalogItemJS.d.ts +0 -52
  265. package/dist/imports/CatalogItemJS.js.map +0 -1
  266. package/dist/imports/CatalogJS.d.ts +0 -2
  267. package/dist/imports/CatalogJS.js.map +0 -1
  268. package/dist/imports/CatalogSearch.d.ts +0 -7
  269. package/dist/imports/CatalogSearch.js.map +0 -1
  270. package/dist/imports/CategoryJS.d.ts +0 -32
  271. package/dist/imports/CategoryJS.js.map +0 -1
  272. package/dist/imports/ElementDescriptor.d.ts +0 -2
  273. package/dist/imports/ElementDescriptor.js +0 -3
  274. package/dist/imports/ElementDescriptor.js.map +0 -1
  275. package/dist/imports/OrderGuideJS.d.ts +0 -12
  276. package/dist/imports/OrderGuideJS.js.map +0 -1
  277. package/dist/imports/QueryCondition.d.ts +0 -2
  278. package/dist/imports/QueryCondition.js +0 -3
  279. package/dist/imports/QueryCondition.js.map +0 -1
  280. package/dist/imports/ScopedData.d.ts +0 -2
  281. package/dist/imports/ScopedData.js.map +0 -1
  282. package/dist/imports/ScopedDataBuilder.d.ts +0 -2
  283. package/dist/imports/ScopedDataBuilder.js +0 -3
  284. package/dist/imports/ScopedDataBuilder.js.map +0 -1
  285. package/dist/imports/ScopedGlideRecord.d.ts +0 -2
  286. package/dist/imports/ScopedGlideRecord.js +0 -3
  287. package/dist/imports/ScopedGlideRecord.js.map +0 -1
  288. package/dist/imports/ScopedKMFCryptoOperation.d.ts +0 -2
  289. package/dist/imports/ScopedKMFCryptoOperation.js +0 -3
  290. package/dist/imports/ScopedKMFCryptoOperation.js.map +0 -1
  291. package/dist/imports/ScopedTransformPart.d.ts +0 -2
  292. package/dist/imports/ScopedTransformPart.js +0 -3
  293. package/dist/imports/ScopedTransformPart.js.map +0 -1
  294. package/dist/imports/ScopedTransformResult.d.ts +0 -2
  295. package/dist/imports/ScopedTransformResult.js +0 -3
  296. package/dist/imports/ScopedTransformResult.js.map +0 -1
  297. package/dist/imports/ScriptableConnectionInfo.d.ts +0 -2
  298. package/dist/imports/ScriptableConnectionInfo.js +0 -3
  299. package/dist/imports/ScriptableConnectionInfo.js.map +0 -1
  300. package/dist/imports/ScriptableHttpRequestAuthedData.d.ts +0 -2
  301. package/dist/imports/ScriptableHttpRequestAuthedData.js +0 -3
  302. package/dist/imports/ScriptableHttpRequestAuthedData.js.map +0 -1
  303. package/dist/imports/ScriptableHttpRequestData.d.ts +0 -2
  304. package/dist/imports/ScriptableHttpRequestData.js +0 -3
  305. package/dist/imports/ScriptableHttpRequestData.js.map +0 -1
  306. package/dist/imports/ScriptableQueue.d.ts +0 -2
  307. package/dist/imports/ScriptableQueue.js +0 -3
  308. package/dist/imports/ScriptableQueue.js.map +0 -1
  309. package/dist/imports/ScriptableRESTResponse.d.ts +0 -2
  310. package/dist/imports/ScriptableRESTResponse.js +0 -3
  311. package/dist/imports/ScriptableRESTResponse.js.map +0 -1
  312. package/dist/imports/ScriptableSOAPResponse.d.ts +0 -2
  313. package/dist/imports/ScriptableSOAPResponse.js +0 -3
  314. package/dist/imports/ScriptableSOAPResponse.js.map +0 -1
  315. package/dist/imports/ScriptableServiceRequestBody.d.ts +0 -2
  316. package/dist/imports/ScriptableServiceRequestBody.js +0 -3
  317. package/dist/imports/ScriptableServiceRequestBody.js.map +0 -1
  318. package/dist/imports/ScriptableServiceResultStreamWriter.d.ts +0 -2
  319. package/dist/imports/ScriptableServiceResultStreamWriter.js +0 -3
  320. package/dist/imports/ScriptableServiceResultStreamWriter.js.map +0 -1
  321. package/dist/imports/User.d.ts +0 -2
  322. package/dist/imports/User.js.map +0 -1
  323. package/dist/sn_cs/VoiceTranscriptObject.d.ts +0 -7
  324. package/dist/sn_cs/VoiceTranscriptObject.js +0 -3
  325. package/dist/sn_cs/VoiceTranscriptObject.js.map +0 -1
  326. package/dist/sn_cs/index.d.ts +0 -1
  327. package/dist/sn_cs/index.js.map +0 -1
  328. package/dist/sn_sc/CartJS.d.ts +0 -68
  329. package/dist/sn_sc/CartJS.js.map +0 -1
  330. package/dist/sn_sc/CatalogClientScript.d.ts +0 -14
  331. package/dist/sn_sc/CatalogClientScript.js +0 -3
  332. package/dist/sn_sc/CatalogClientScript.js.map +0 -1
  333. package/dist/sn_sc/CatalogItemVariable.d.ts +0 -11
  334. package/dist/sn_sc/CatalogItemVariable.js +0 -3
  335. package/dist/sn_sc/CatalogItemVariable.js.map +0 -1
  336. package/dist/sn_sc/CatalogItemVariableSet.d.ts +0 -13
  337. package/dist/sn_sc/CatalogItemVariableSet.js +0 -3
  338. package/dist/sn_sc/CatalogItemVariableSet.js.map +0 -1
  339. package/dist/sn_sc/CatalogItemVariableSetM2M.d.ts +0 -11
  340. package/dist/sn_sc/CatalogItemVariableSetM2M.js +0 -3
  341. package/dist/sn_sc/CatalogItemVariableSetM2M.js.map +0 -1
  342. package/dist/sn_sc/index.d.ts +0 -5
  343. package/dist/sn_sc/index.js +0 -22
  344. package/dist/sn_sc/index.js.map +0 -1
  345. package/dist/types/Catalog.d.ts +0 -28
  346. package/dist/types/Catalog.js +0 -3
  347. package/dist/types/Catalog.js.map +0 -1
  348. package/dist/types/CatalogItemCategory.d.ts +0 -12
  349. package/dist/types/CatalogItemCategory.js +0 -3
  350. package/dist/types/CatalogItemCategory.js.map +0 -1
  351. package/dist/types/CatalogItemJS.d.ts +0 -52
  352. package/dist/types/CatalogItemJS.js +0 -3
  353. package/dist/types/CatalogItemJS.js.map +0 -1
  354. package/dist/types/CatalogSearch.d.ts +0 -7
  355. package/dist/types/CatalogSearch.js +0 -3
  356. package/dist/types/CatalogSearch.js.map +0 -1
  357. package/dist/types/CategoryJS.d.ts +0 -32
  358. package/dist/types/CategoryJS.js +0 -3
  359. package/dist/types/CategoryJS.js.map +0 -1
  360. package/dist/types/GlideOAuthClient.js.map +0 -1
  361. package/dist/types/GlideOAuthClientRequest.js.map +0 -1
  362. package/dist/types/GlideOAuthClientResponse.js.map +0 -1
  363. package/dist/types/GlideOAuthToken.js.map +0 -1
  364. package/dist/types/OrderGuideJS.d.ts +0 -12
  365. package/dist/types/OrderGuideJS.js +0 -3
  366. package/dist/types/OrderGuideJS.js.map +0 -1
  367. package/dist/types/RESTResponseV2.js.map +0 -1
  368. package/dist/types/SOAPResponseV2.js.map +0 -1
  369. /package/dist/{types → sn_auth}/GlideOAuthClient.d.ts +0 -0
  370. /package/dist/{types → sn_auth}/GlideOAuthClient.js +0 -0
  371. /package/dist/{types → sn_auth}/GlideOAuthClientRequest.d.ts +0 -0
  372. /package/dist/{types → sn_auth}/GlideOAuthClientRequest.js +0 -0
  373. /package/dist/{types → sn_auth}/GlideOAuthClientResponse.d.ts +0 -0
  374. /package/dist/{types → sn_auth}/GlideOAuthClientResponse.js +0 -0
  375. /package/dist/{types → sn_auth}/GlideOAuthToken.d.ts +0 -0
  376. /package/dist/{types → sn_auth}/GlideOAuthToken.js +0 -0
  377. /package/dist/{types → sn_ws}/RESTMessageV2.js +0 -0
  378. /package/dist/{types → sn_ws}/RESTResponseV2.d.ts +0 -0
  379. /package/dist/{types → sn_ws}/RESTResponseV2.js +0 -0
  380. /package/dist/{types → sn_ws}/SOAPMessageV2.js +0 -0
  381. /package/dist/{types → sn_ws}/SOAPResponseV2.d.ts +0 -0
  382. /package/dist/{types → sn_ws}/SOAPResponseV2.js +0 -0
package/README.md CHANGED
@@ -1,94 +1,4 @@
1
- ## glide-types
2
-
3
- Contains type declaration for Glide Scriptable APIs to be used in NowSDK for API type support in module JS development.
4
- Published to npm as @servicenow/glide https://artifact-npm.devsnc.com/#browse/search=keyword%3Dglide-type
5
-
6
- ### Owners
7
-
8
- > samyak.shah
9
- > matthew.clase
10
- > venkat.kaluva
11
-
12
- ### Stages of the Types Build Process
13
-
14
- The Jenkinsfile in this repo defines all stages of the Glide-Types build process, starting with collecting info for scriptable APIs from the various code.devsnc repos, generating Typescript type declarations with method stubs, and bundling those declarations into an npm artifact that can be included in a NowSDK project.
15
-
16
- Multibranch pipeline for Jenkins job:
17
- https://build.devsnc.com/teams-star/job/star/job/groups/job/platform/job/glide-types-multibranch-pipeline/
18
-
19
- #### 1. Collect and Build Typescript API declarations via Maven Javadoc Plugin
20
- > The maven javadoc plugin uses a custom doclet for collecting info from the Java codebase. Jenkins builds the doclet from this repo: https://code.devsnc.com/dev/java-typescript-transformer/tree/scratch/103.
21
- > 'snc-parent/pom.xml' defines the dependency on this custom transformer across the various repos.
22
- > The doclet collects scriptable APIs from Glide as well as other repos (see Jenkinsfile for list).
23
- > The doclet collects scriptable APIs from Glide as well as other repos (see Jenkinsfile for list).
24
-
25
- Generated class example:
26
-
27
- <img width="734" alt="image" src="https://code.devsnc.com/storage/user/3535/files/3596d0e1-6b3a-4f11-986f-916f10cc51b3">
28
-
29
- ##### Collection involves the following steps:
30
- 1. Gather declared namespaces and API extension points from all plugin.xml files
31
- - Each module may have many plugins with plugin.xml which define certain scriptable API extension points
32
- - The transformer iterates all source files in the module to create a mapping between the exported APIs defined in this file and the plugin namespace in order to invoke the APIs via script.
33
- - Each namespace mapping is written to the target directory in 'target/classes/resources/npm_artifacts/<namespace>/mapping.txt'
34
- 2. Generate TS declarations for the Scriptable APIs in the module
35
- - Creates a .ts file based on the scriptable name
36
- * (defined in GlideScriptable or GenerateDeclaration 'name' parameter, falling back to classname if those are not present)
37
- - written to 'target/classes/resources/npm_artifacts/types/<api>.ts
38
- * mapped into correct folder at later stage by Jenkins process
39
- - Only certian Scriptable APIs are published which meet the following criteria:
40
- * Class has @GenerateDeclaration annotation OR class has @externalDoc annotation AND either @GlideScriptable annotation OR extends ScopedScriptableObject
41
- * Note: all scriptable methods are published when class has @GenerateDeclaration tag
42
- * Note: only scriptable methods with @externalDoc on the method javadoc are published when class is @GlideScriptable or ScopedScriptableObject unless it also has @GenerateDeclaration
43
- 3. Generate TS stub classes for imports
44
- Scriptable classes have a complex relationship of importing each other (and importing non-scriptable classes). To mantain this relationship in Typescript a separate 'imports' folder is generated to hold stub classes used as imports without type info
45
- - 'target/classes/resources/npm_artifacts/imports/<class>.ts
46
- 4. When javadoc plugin has run on all modules, Jenkins copies output from each 'target' directory to './npm_artifacts' and stashes them
47
- #### 2. Jenkins Builds NPM Package Structure
48
- 1. Unstashes collected artifacts from step #1
49
- 2. Uses mapping.txt files to move every API from './types/<api>.ts' to its' corresponding namespace directory (i.e. './sn_name/<api.ts>')
50
- - non-namespace APIs remain in 'types' directory
51
- 3. Removes empty directories (namespace dirs with no APIs exposed)
52
- 4. Stashes results again for next stage
53
- #### 3. Pushing TS Files to glide-types Repo
54
- 1. Unstashes artifacts from step #2
55
- 2. Addes all generated files to git branch defined by multi branch job which invoked build process
56
- 3. Files pushed to 'src' directory (ex 'src/imports/*', 'src/types/*...)
57
- 4. Files viewable in repo
58
-
59
- Example src with types, imports, and namespace APIs: https://code.devsnc.com/dev/glide-types/tree/release/washingtondc/src
60
-
61
- #### 4. Publishing NPM Package
62
- 1. Pipeline checks out glide-types repo with specified branch
63
- 2. Updates package.json file at root with version specified in Jenkins build parameters
64
- 3. Commits this change to repo
65
- 4. Performs mvn release step and the following npm steps:
66
- 1. Copy overwrites any TS files in 'imports' with their corresponding 'types' so that return types have correct type support
67
- 2. Creates a JSON mapping of namespaces to APIs for linting purposes
68
- 3. Runs 'ts --build' step to ensure package is correct
69
- 4. Runs publish
70
- 5. Artifact published to nexus as @servicenow/glide
71
- - Publish info defined in glide-types/pom.xml
72
-
73
- ### How to publish your API to @servicenow/glide npm artifact using Jenkins
74
-
75
- 1. Ensure the Java API you wish to expose is Scriptable and has @externalDoc or @GenerateDeclaration tags
76
- 2. Must extend ScopedScriptableObject or have @GlideScriptable annotation
77
- 3. Add matching 'name' parameter to annotation if the Java classname does not match the getClassName() method return vlaue
78
-
79
- 4. Create a new branch off of master for this repo. [ServiceNow branch naming convention](https://buildtools1.service-now.com/kb_view_customer.do?sysparm_article=KB0528607).
80
-
81
- 5. Create a new jenkins job for your branch https://build.devsnc.com/teams-star/job/star/job/groups/job/platform/job/glide-types-multibranch-pipeline/ with the following parameters:
82
- 1. push_ts_files: push generated TS files to glide-types repo src/ directory
83
- 2. publish_to_npm: publish the types to npm.
84
- - Note: It can be good to do a run with push_ts_files=true, and then check this box when you have verified correctness in glide-types repo
85
- 3. publish_version: version to publish to npm
86
- 6. Ensure package is published to npm and update your local Fluent project with new glide-types version
87
-
88
- ### Package Naming Conventions
89
-
90
- - Any java API exposed in Glide will be exposed in @servicenow/glide package
91
- - This repo will contain sub package exports with namespaced APIs
92
- - Ex: import { AppStoreAPI } from @servicenow/sn_appstore_api
93
- - And a separate folder in glide
94
- - Ex: import { AppStoreAPI } from @servicenow/glide/sn_appstore_api
1
+ # glide-types
2
+ Contains type declarations for Glide Scriptable APIs to be used in NowSDK for API type support in module JS development.
3
+
4
+ Refer to [ServiceNow Documentation](https://docs.servicenow.com/bundle/washingtondc-api-reference/page/script/sdk/task/create-use-javascript-modules.html) for information regarding importing and using Glide APIs via this package.
@@ -0,0 +1,5 @@
1
+ export declare class AuthCredential {
2
+ getAttribute(key?: string): string;
3
+ setAttribute(key?: string, value?: string): void;
4
+ constructor();
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AuthCredential.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthCredential.js","sourceRoot":"","sources":["../../src/imports/AuthCredential.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { Context } from '../imports/Context';
2
+ import { Function } from '../imports/Function';
3
+ export declare class CMDBGroupAPI {
4
+ constructor(cx?: Context, args?: any[], ctorObj?: Function, inNewExpr?: boolean);
5
+ static enqueueEvent(groupSysId?: string, operation?: string): void;
6
+ static generateEvents(): void;
7
+ static getAllCI(groupSysId?: string, requireCompleteSet?: boolean, requireAllQueryNodesCis?: boolean): string;
8
+ static getAllCIFromQueryBuilder(groupSysId?: string, requireCompleteSet?: boolean, requireAllQueryNodesCis?: boolean): string;
9
+ static getEventQueue(): string;
10
+ static getManualCIList(groupSysId?: string, requireCompleteSet?: boolean): string;
11
+ static getSavedQueryIdList(groupSysId?: string, requireCompleteSet?: boolean): string;
12
+ static setManualCIList(groupSysId?: string, ciSysIds?: string): string;
13
+ static setSavedQueryIdList(groupSysId?: string, queryIds?: string): string;
14
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=OrderGuideJS.js.map
3
+ //# sourceMappingURL=CMDBGroupAPI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CMDBGroupAPI.js","sourceRoot":"","sources":["../../src/imports/CMDBGroupAPI.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export declare class CSVParser {
2
+ parseLineToArray(csv?: string, delimiter?: string, quoteCharacter?: string): Array<any>;
3
+ parseLineToObject(csv?: string, headers?: Array<any>, delimiter?: string, quoteCharacter?: string): Record<any, any>;
4
+ constructor();
5
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=CatalogJS.js.map
3
+ //# sourceMappingURL=CSVParser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CSVParser.js","sourceRoot":"","sources":["../../src/imports/CSVParser.ts"],"names":[],"mappings":""}
@@ -1,2 +1,42 @@
1
+ import { Table } from '../imports/Table';
2
+ import { Color } from '../imports/Color';
3
+ import { Style } from '../imports/Style';
4
+ import { Image } from '../imports/Image';
5
+ import { Paragraph } from '../imports/Paragraph';
1
6
  export declare class Cell {
7
+ addImage(image?: Image): void;
8
+ addParagraph(paragraph?: Paragraph): void;
9
+ addStyle(style?: Style): void;
10
+ addTable(table?: Table): void;
11
+ constructor(rowspan?: number, colspan?: number);
12
+ getColumn(): number;
13
+ getHeight(): number;
14
+ getRow(): number;
15
+ getWidth(): number;
16
+ setBackGroundColor(color?: Color): void;
17
+ setBorder(width?: number): void;
18
+ setBorderBottom(width?: number): void;
19
+ setBorderLeft(width?: number): void;
20
+ setBorderRight(width?: number): void;
21
+ setBorderTop(width?: number): void;
22
+ setColoredBorder(color?: Color, width?: number): void;
23
+ setColoredBorderBottom(width?: number, color?: Color): void;
24
+ setColoredBorderLeft(width?: number, color?: Color): void;
25
+ setColoredBorderRight(width?: number, color?: Color): void;
26
+ setColoredBorderTop(width?: number, color?: Color): void;
27
+ setHeight(height?: number): void;
28
+ setHorizontalAlignment(alignment?: string): void;
29
+ setMaxHeight(value?: number): void;
30
+ setMaxWidth(value?: number): void;
31
+ setMinHeight(value?: number): void;
32
+ setMinWidth(value?: number): void;
33
+ setOpacity(opacity?: number): void;
34
+ setPadding(padding?: number): void;
35
+ setPaddingBottom(padding?: number): void;
36
+ setPaddingLeft(padding?: number): void;
37
+ setPaddingRight(padding?: number): void;
38
+ setPaddingTop(padding?: number): void;
39
+ setRunDirection(direction?: string): void;
40
+ setTextAlignment(alignment?: string): void;
41
+ setVerticalAlignment(alignment?: string): void;
2
42
  }
@@ -1,2 +1,9 @@
1
1
  export declare class Color {
2
+ constructor(colors?: number[]);
3
+ equals(color?: Color): boolean;
4
+ static getGrayColor(grayScale?: number): Color;
5
+ getOpacity(): number;
6
+ getcolorValue(): number[];
7
+ setColorValue(value?: number[]): void;
8
+ setOpacity(opacity?: number): void;
2
9
  }
@@ -0,0 +1,17 @@
1
+ import { Context } from '../imports/Context';
2
+ import { Function } from '../imports/Function';
3
+ import { ScriptableStandardCredential } from '../imports/ScriptableStandardCredential';
4
+ export declare class ConnectionInfo {
5
+ constructor(cx?: Context, args?: any[], ctorObj?: Function, inNewExpr?: boolean);
6
+ getAttribute(name?: string): string;
7
+ getConnectionRetries(): number;
8
+ getConnectionTimeout(): number;
9
+ getCredential(): ScriptableStandardCredential;
10
+ getCredentialAttribute(name?: string): string;
11
+ getDataMap(): Record<any, any>;
12
+ getExtendedAttributes(): Record<any, any>;
13
+ getHost(): string;
14
+ getName(): string;
15
+ getPort(): number;
16
+ getProtocol(): string;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ConnectionInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConnectionInfo.js","sourceRoot":"","sources":["../../src/imports/ConnectionInfo.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { ConnectionInfo } from '../imports/ConnectionInfo';
2
+ export declare class ConnectionInfoProvider {
3
+ getConnectionInfo(aliasID?: string): ConnectionInfo;
4
+ getConnectionInfoByDomain(aliasID?: string, domainID?: string): ConnectionInfo;
5
+ getConnectionInfoList(aliasID?: string): Array<any>;
6
+ getConnectionInfoListByDomain(aliasID?: string, domainID?: string): Array<any>;
7
+ constructor();
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ConnectionInfoProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConnectionInfoProvider.js","sourceRoot":"","sources":["../../src/imports/ConnectionInfoProvider.ts"],"names":[],"mappings":""}
@@ -1,10 +1,9 @@
1
1
  import { Context } from '../imports/Context';
2
2
  import { Function } from '../imports/Function';
3
- import { ScopedData } from '../imports/ScopedData';
4
3
  import { GlideDateTime } from '../imports/GlideDateTime';
5
4
  export declare class Data {
6
5
  constructor(cx?: Context, args?: any[], ctorObj?: Function, inNewExpr?: boolean);
7
- static fromModelString(model?: string): ScopedData;
6
+ static fromModelString(model?: string): Data;
8
7
  getEnd(): GlideDateTime;
9
8
  getLabel(): string;
10
9
  getMetricName(): string;
@@ -1,8 +1,7 @@
1
1
  import { Context } from '../imports/Context';
2
- import { ScopedDataBuilder } from '../imports/ScopedDataBuilder';
3
2
  import { Function } from '../imports/Function';
4
3
  import { GlideDateTime } from '../imports/GlideDateTime';
5
4
  export declare class DataBuilder {
6
- add(start?: GlideDateTime, value?: any): ScopedDataBuilder;
5
+ add(start?: GlideDateTime, value?: any): DataBuilder;
7
6
  constructor(cx?: Context, args?: any[], ctorObj?: Function, inNewExpr?: boolean);
8
7
  }
@@ -0,0 +1,43 @@
1
+ import { NativeArray } from '../imports/NativeArray';
2
+ import { ScriptableObject } from '../imports/ScriptableObject';
3
+ import { GlideRecord } from '../imports/GlideRecord';
4
+ export declare class DecisionTableAPI {
5
+ createAnswerElementChoices(decisionId?: string, choices?: Array<any>): Record<any, any>;
6
+ createAnswerElements(decisionId?: string, answerElements?: Array<any>): Record<any, any>;
7
+ createConditions(decisionId?: string, conditions?: Array<any>): Record<any, any>;
8
+ createDecisionTable(decisionTable?: Record<any, any>): Record<any, any>;
9
+ createInputChoices(decisionId?: string, choices?: Array<any>): Record<any, any>;
10
+ createInputs(decisionId?: string, inputs?: Array<any>): Record<any, any>;
11
+ createQuestions(decisionId?: string, questions?: Array<any>): Record<any, any>;
12
+ deleteAnswerElement(answerElementId?: string): Record<any, any>;
13
+ deleteChoice(choiceId?: string): Record<any, any>;
14
+ deleteCondition(conditionId?: string): Record<any, any>;
15
+ deleteDecisionTable(decisionId?: string): Record<any, any>;
16
+ deleteInput(inputId?: string): Record<any, any>;
17
+ deleteQuestion(decisionId?: string): Record<any, any>;
18
+ deleteStaleMultipleAnswerRecords(): void;
19
+ executeCondition(decisionId?: string, inputs?: Record<any, any>, condition?: string): boolean;
20
+ executeDecisions(decisionId?: string, inputs?: Record<any, any>): Record<any, any>;
21
+ findOrCreateMultipleAnswerRecord(decisionId?: string, answerElementValues?: Record<any, any>): string;
22
+ findOrCreateMultipleAnswerRecords(decisionId?: string, answerElementValuesMap?: Record<any, any>): Record<any, any>;
23
+ getAll(): ScriptableObject;
24
+ getAllAsJSON(): string;
25
+ getAnswerElements(decisionId?: string): ScriptableObject;
26
+ getAnswers(decisionId?: string): ScriptableObject;
27
+ getAnswersAsJSON(decisionId?: string): string;
28
+ getDecision(decisionId?: string, inputs?: Record<any, any>): GlideRecord;
29
+ getDecisionTable(decisionId?: string): ScriptableObject;
30
+ getDecisionTableAsJSON(decisionId?: string): string;
31
+ getDecisions(decisionId?: string, inputs?: Record<any, any>): NativeArray;
32
+ getInputs(decisionId?: string): ScriptableObject;
33
+ getInputsAsJSON(decisionId?: string): string;
34
+ getQuestions(decisionId?: string): ScriptableObject;
35
+ getQuestionsAsJSON(decisionId?: string): string;
36
+ updateAnswerElement(answerElementId?: string, answerElement?: Record<any, any>): Record<any, any>;
37
+ updateChoice(choiceId?: string, choice?: Record<any, any>): Record<any, any>;
38
+ updateCondition(conditionId?: string, updates?: Record<any, any>): Record<any, any>;
39
+ updateDecisionTable(decisionId?: string, decisionTable?: Record<any, any>): Record<any, any>;
40
+ updateInput(inputId?: string, updates?: Record<any, any>): Record<any, any>;
41
+ updateQuestion(decisionId?: string, question?: Record<any, any>): Record<any, any>;
42
+ constructor();
43
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=DecisionTableAPI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DecisionTableAPI.js","sourceRoot":"","sources":["../../src/imports/DecisionTableAPI.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { Scriptable } from '../imports/Scriptable';
2
+ export declare class DiscoveryAPI {
3
+ static createPageCountRecordForPatternExecution(outputEccId?: string, discoveryStatus?: string): string;
4
+ static discoverIpAddress(ipAddress?: any, application?: any, source?: any): Scriptable;
5
+ static getMidServerFromSchedule(scheduler?: string): string;
6
+ static reportCiIpAddressStatus(ipAddress?: any, discoveryStatusSysId?: any): Scriptable;
7
+ static reportCiStatus(discoveryStatusSysId?: any): Scriptable;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=DiscoveryAPI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiscoveryAPI.js","sourceRoot":"","sources":["../../src/imports/DiscoveryAPI.ts"],"names":[],"mappings":""}
@@ -1,2 +1,27 @@
1
+ import { Table } from '../imports/Table';
2
+ import { OutputStream } from '../imports/OutputStream';
3
+ import { PdfPage } from '../imports/PdfPage';
4
+ import { Image } from '../imports/Image';
5
+ import { Paragraph } from '../imports/Paragraph';
6
+ import { IEventHandler } from '../imports/IEventHandler';
1
7
  export declare class Document {
8
+ addAndStartNewPage(): void;
9
+ addAuthor(author?: string): void;
10
+ addEvent(event?: string, eventHandler?: IEventHandler): void;
11
+ addImage(image?: Image): void;
12
+ addNewLine(): void;
13
+ addNewPage(): void;
14
+ addNewPageAtIndex(index?: number): void;
15
+ addParagraph(paragraph?: Paragraph): void;
16
+ addTable(table?: Table): void;
17
+ close(): void;
18
+ constructor(os?: any, pageSize?: PdfPage);
19
+ static createDocument(pageSize?: PdfPage): Document;
20
+ getPageCount(): number;
21
+ getPageSize(): PdfPage;
22
+ initializeDocument(os?: OutputStream, pageSize?: PdfPage): void;
23
+ isClosed(): boolean;
24
+ saveAsAttachment(tableName?: string, tableSysId?: string, fileName?: string): string;
25
+ setBaseDirection(direction?: string): void;
26
+ setMargins(topMargin?: number, rightMargin?: number, bottomMargin?: number, leftMargin?: number): void;
2
27
  }
@@ -0,0 +1,8 @@
1
+ import { JSONObject } from '../imports/JSONObject';
2
+ import { SystemDocumentListEntry } from '../imports/SystemDocumentListEntry';
3
+ export declare class DocumentListEntryService {
4
+ createDocumentListEntry(entry?: SystemDocumentListEntry): JSONObject;
5
+ deleteDocumentListEntry(listEntrySysId?: string): JSONObject;
6
+ updateDocumentListEntry(listEntrySysId?: string, entry?: SystemDocumentListEntry): JSONObject;
7
+ constructor();
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=DocumentListEntryService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentListEntryService.js","sourceRoot":"","sources":["../../src/imports/DocumentListEntryService.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import { SystemDocumentList } from '../imports/SystemDocumentList';
2
+ import { JSONObject } from '../imports/JSONObject';
3
+ export declare class DocumentListService {
4
+ createDocumentList(list?: SystemDocumentList): JSONObject;
5
+ createDocumentsFromList(listSysId?: string, tableName?: string, tableSysId?: string): JSONObject;
6
+ deleteDocumentList(listSysId?: string): JSONObject;
7
+ updateDocumentList(listSysId?: string, list?: SystemDocumentList): JSONObject;
8
+ constructor();
9
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=CatalogItemCategory.js.map
3
+ //# sourceMappingURL=DocumentListService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentListService.js","sourceRoot":"","sources":["../../src/imports/DocumentListService.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { JSONObject } from '../imports/JSONObject';
2
+ export declare class DocumentReferenceService {
3
+ addDocumentReference(docId?: string, targetTable?: string, targetTableSysId?: string): JSONObject;
4
+ removeDocumentReference(docId?: string, targetTable?: string, targetTableSysId?: string): JSONObject;
5
+ constructor();
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=DocumentReferenceService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentReferenceService.js","sourceRoot":"","sources":["../../src/imports/DocumentReferenceService.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { SystemDocument } from '../imports/SystemDocument';
2
+ import { JSONObject } from '../imports/JSONObject';
3
+ export declare class DocumentService {
4
+ createDocument(document?: SystemDocument): JSONObject;
5
+ deleteDocument(documentSysId?: string): JSONObject;
6
+ updateDocument(documentSysId?: string, document?: SystemDocument): JSONObject;
7
+ constructor();
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=DocumentService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentService.js","sourceRoot":"","sources":["../../src/imports/DocumentService.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { JSONObject } from '../imports/JSONObject';
2
+ import { SystemDocumentVersion } from '../imports/SystemDocumentVersion';
3
+ export declare class DocumentVersionService {
4
+ createDocVersionFromTemplateDoc(templateDocumentSysId?: string, docSysId?: string): JSONObject;
5
+ createDocumentVersion(version?: SystemDocumentVersion): JSONObject;
6
+ deleteDocumentVersion(documentVersionSysId?: string): JSONObject;
7
+ constructor();
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=DocumentVersionService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentVersionService.js","sourceRoot":"","sources":["../../src/imports/DocumentVersionService.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { NativeObject } from '../imports/NativeObject';
2
+ import { NativeArray } from '../imports/NativeArray';
3
+ export declare class DuplicateTemplate {
4
+ static canAddTasksToTemplate(taskIds?: NativeArray, templateId?: string): NativeObject;
5
+ static createTemplate(template?: NativeObject): string;
6
+ static getTemplate(templateId?: string): NativeObject;
7
+ static preview(templateId?: string, taskId?: string): NativeObject;
8
+ static publishTemplate(templateId?: string): boolean;
9
+ static remediateTask(templateId?: string, taskId?: string): string;
10
+ static remediateTaskRun(taskRunId?: string, triggerId?: string): void;
11
+ static requestCancellation(templateRunId?: string): boolean;
12
+ static retireTemplate(templateId?: string): boolean;
13
+ static runScheduler(): void;
14
+ static runTemplate(templateId?: string): string;
15
+ static unPublishTemplate(templateId?: string): boolean;
16
+ static updateTemplate(templateId?: string, template?: NativeObject): boolean;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=DuplicateTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DuplicateTemplate.js","sourceRoot":"","sources":["../../src/imports/DuplicateTemplate.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ export declare class Findings {
2
+ increment(): void;
3
+ incrementWithNode(possibleNode?: any): void;
4
+ setCurrentSource(possibleRecord?: any): void;
5
+ setValue(name?: string, value?: any): void;
6
+ constructor();
7
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Catalog.js.map
3
+ //# sourceMappingURL=Findings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Findings.js","sourceRoot":"","sources":["../../src/imports/Findings.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ import { Context } from '../imports/Context';
2
+ import { Function } from '../imports/Function';
3
+ export declare class GeniusResultAnswer {
4
+ addDataMap(map?: any): boolean;
5
+ addSearchAttribute(key?: string, values?: string[]): boolean;
6
+ addSearchPhrases(searchPhrases?: string[]): boolean;
7
+ allowSearchPhraseOverwrite(): void;
8
+ constructor(cx?: Context, args?: any[], ctorObj?: Function, inNewExpr?: boolean);
9
+ disableSearchPhraseOverwrite(): void;
10
+ dprSearch(numDocsToMatch?: number, threshold?: number, field?: string[]): void;
11
+ searchTitleOnly(titleOnly?: boolean): void;
12
+ setEncodedQuery(query?: string): boolean;
13
+ setSearchLimit(searchLimit?: number): boolean;
14
+ setSearchPhrase(searchPhrase?: string): boolean;
15
+ setSemanticDocumentMatchCount(numDocsToMatch?: number): void;
16
+ setSemanticDocumentMatchThreshold(threshold?: number): void;
17
+ setSemanticSearch(semanticSearch?: boolean): void;
18
+ setTable(table?: string): boolean;
19
+ snippetSearch(snippetSearch?: boolean): void;
20
+ spellCheck(spellCheck?: boolean): void;
21
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=GeniusResultAnswer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeniusResultAnswer.js","sourceRoot":"","sources":["../../src/imports/GeniusResultAnswer.ts"],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
1
+ import { Context } from '../imports/Context';
2
+ import { Function } from '../imports/Function';
3
+ export declare class GeniusResultContext {
4
+ addAsyncGRTransactionId(transactionId?: string): void;
5
+ addQueryMetadata(key?: string, value?: string): void;
6
+ addTransactionId(transactionId?: string): void;
7
+ constructor(cx?: Context, args?: any[], ctorObj?: Function, inNewExpr?: boolean);
8
+ getAdditionalContext(): string;
9
+ getGeniusResultMode(): string;
10
+ getMatchingDocuments(): Array<any>;
11
+ getOriginalSearchPhrase(): string;
12
+ getPredictionResult(): Array<any>;
13
+ getQueryMetadata(key?: string): string;
14
+ getSearchContext(): Record<any, any>;
15
+ getSearchQueryRequestDetails(): Record<any, any>;
16
+ getSearchResults(): Array<any>;
17
+ setSearchPhraseForAllRequests(searchPhrase?: string): boolean;
18
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=GeniusResultContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeniusResultContext.js","sourceRoot":"","sources":["../../src/imports/GeniusResultContext.ts"],"names":[],"mappings":""}