@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
@@ -19,14 +19,17 @@
19
19
  "spellCheck"
20
20
  ],
21
21
  "GeniusResultContext": [
22
+ "addAsyncGRTransactionId",
22
23
  "addQueryMetadata",
23
24
  "addTransactionId",
24
25
  "getAdditionalContext",
26
+ "getGeniusResultMode",
25
27
  "getMatchingDocuments",
26
28
  "getOriginalSearchPhrase",
27
29
  "getPredictionResult",
28
30
  "getQueryMetadata",
29
31
  "getSearchContext",
32
+ "getSearchQueryRequestDetails",
30
33
  "getSearchResults",
31
34
  "setSearchPhraseForAllRequests"
32
35
  ]
@@ -48,6 +51,58 @@
48
51
  "getAttribute",
49
52
  "setAttribute"
50
53
  ],
54
+ "GlideOAuthClient": [
55
+ "getAuthorizationURL",
56
+ "getEndSessionLogoutURL",
57
+ "getToken",
58
+ "getUserNameAndClaimsByAuthorization",
59
+ "initAuthzReqParams",
60
+ "requestToken",
61
+ "requestTokenByRequest",
62
+ "requestTokenWithInitiator",
63
+ "revokeToken",
64
+ "setPersonal",
65
+ "validateAuthorizationResponse"
66
+ ],
67
+ "GlideOAuthClientRequest": [
68
+ "getGrantType",
69
+ "getHeader",
70
+ "getHeaders",
71
+ "getMIDServer",
72
+ "getParameter",
73
+ "getParameters",
74
+ "getPassword",
75
+ "getRefreshToken",
76
+ "getScope",
77
+ "getUserName",
78
+ "setGlideOAuthJWTConfig",
79
+ "setGrantType",
80
+ "setHead",
81
+ "setMIDServer",
82
+ "setParameter",
83
+ "setParameters",
84
+ "setPassword",
85
+ "setRefreshToken",
86
+ "setScope",
87
+ "setUserName"
88
+ ],
89
+ "GlideOAuthClientResponse": [
90
+ "getBody",
91
+ "getContentType",
92
+ "getErrorMessage",
93
+ "getResponseCode",
94
+ "getResponseParameters",
95
+ "getToken"
96
+ ],
97
+ "GlideOAuthToken": [
98
+ "getAccessToken",
99
+ "getAccessTokenSysID",
100
+ "getExpiresIn",
101
+ "getRefreshToken",
102
+ "getRefreshTokenExpiresIn",
103
+ "getRefreshTokenSysID",
104
+ "getScope"
105
+ ],
51
106
  "HttpRequestAuthedData": [
52
107
  "addHeader",
53
108
  "addQueryParam",
@@ -217,15 +272,6 @@
217
272
  "join"
218
273
  ]
219
274
  },
220
- "sn_cs": {
221
- "VoiceTranscriptObject": [
222
- "addVoiceInteractionMessage",
223
- "createConversation",
224
- "endVoiceInteraction",
225
- "saveVoiceConversationTranscript",
226
- "startVoiceInteraction"
227
- ]
228
- },
229
275
  "sn_currency": {
230
276
  "GlideCurrencyConfig": [
231
277
  "getAggregationSource",
@@ -803,107 +849,6 @@
803
849
  "triggerPlaybook"
804
850
  ]
805
851
  },
806
- "sn_sc": {
807
- "CartJS": [
808
- "activateGuide",
809
- "addItemToCart",
810
- "addToCart",
811
- "calculateLocation",
812
- "canEmptyCart",
813
- "canViewRF",
814
- "checkAllItemsHaveRequestedFor",
815
- "checkSequence",
816
- "checkoutCart",
817
- "checkoutGuide",
818
- "checkoutSummary",
819
- "cleanupCart",
820
- "copyRPVariables",
821
- "empty",
822
- "findConflictingDomain",
823
- "findUserCriteriaRestrictedItems",
824
- "generateLocation",
825
- "getCart",
826
- "getCartDetails",
827
- "getCartID",
828
- "getCartItemDetails",
829
- "getCartItems",
830
- "getCrumbHistory",
831
- "getCrumbs",
832
- "getDeliveryAddress",
833
- "getGlideRecord",
834
- "getGuide",
835
- "getGuideActive",
836
- "getItemOptionNew",
837
- "getRequestedFor",
838
- "getRequestedForAddress",
839
- "getRequestedForDisplayName",
840
- "getRequestedForLocation",
841
- "getRequestedForLocationDisplayName",
842
- "getSpecialInstructions",
843
- "isDuplicateAnswer",
844
- "isEmpty",
845
- "isSameVersion",
846
- "moveRPVariables",
847
- "newGuide",
848
- "orderNow",
849
- "processLocationChange",
850
- "processUserChange",
851
- "remove",
852
- "setDeliveryAddress",
853
- "setEngagementChannel",
854
- "setGuide",
855
- "setGuideActive",
856
- "setParentParams",
857
- "setReferrer",
858
- "setRequestedFor",
859
- "setSource",
860
- "setSpecialInstructions",
861
- "submitOrder",
862
- "update",
863
- "updateCart",
864
- "updateItem",
865
- "validateCartItems"
866
- ],
867
- "CatalogClientScript": [
868
- "addScript",
869
- "appliesToCatalogItem",
870
- "appliesToCatalogTask",
871
- "appliesToRequestedItem",
872
- "appliesToTargetRecord",
873
- "create",
874
- "deleteRecord",
875
- "setAttributes",
876
- "setCatalogItem",
877
- "setOnChangeVariable",
878
- "setVariableSet"
879
- ],
880
- "CatalogItemVariable": [
881
- "create",
882
- "deleteRecord",
883
- "read",
884
- "setAttributes",
885
- "setTableName",
886
- "update"
887
- ],
888
- "CatalogItemVariableSet": [
889
- "create",
890
- "deleteRecord",
891
- "getFlatQuestions",
892
- "getLayout",
893
- "read",
894
- "setAttributes",
895
- "setTableName",
896
- "update"
897
- ],
898
- "CatalogItemVariableSetM2M": [
899
- "create",
900
- "deleteRecord",
901
- "read",
902
- "setAttributes",
903
- "setTableName",
904
- "update"
905
- ]
906
- },
907
852
  "sn_schdl_ns": {
908
853
  "GlideMultiRecurrence": [
909
854
  "getOccurrences"
@@ -923,10 +868,6 @@
923
868
  },
924
869
  "sn_tfrm": {
925
870
  "TransformerDefinition": [
926
- "basePath",
927
- "id",
928
- "name",
929
- "recordPath",
930
871
  "validate"
931
872
  ],
932
873
  "TransformerRuleList": [
@@ -980,23 +921,99 @@
980
921
  "isFollowEnabled"
981
922
  ]
982
923
  },
924
+ "sn_ws": {
925
+ "RESTMessageV2": [
926
+ "disableForcedVariableSubstitution",
927
+ "execute",
928
+ "executeAsync",
929
+ "getEccTopic",
930
+ "getEndpoint",
931
+ "getParameters",
932
+ "getRequestBody",
933
+ "getRequestHeader",
934
+ "getRequestHeaders",
935
+ "getVariables",
936
+ "saveResponseBodyAsAttachment",
937
+ "setAuthenticationProfile",
938
+ "setBasicAuth",
939
+ "setEccCorrelator",
940
+ "setEccParameter",
941
+ "setEccTopic",
942
+ "setEndpoint",
943
+ "setFollowRedirect",
944
+ "setHttpMethod",
945
+ "setHttpTimeout",
946
+ "setLogLevel",
947
+ "setMIDServer",
948
+ "setMutualAuth",
949
+ "setQueryParameter",
950
+ "setRequestBody",
951
+ "setRequestBodyFromAttachment",
952
+ "setRequestHeader",
953
+ "setRequestorProfile",
954
+ "setStringParameter",
955
+ "setStringParameterNoEscape"
956
+ ],
957
+ "RESTResponseV2": [
958
+ "getAllHeaders",
959
+ "getBody",
960
+ "getCookies",
961
+ "getErrorCode",
962
+ "getErrorMessage",
963
+ "getHeader",
964
+ "getHeaders",
965
+ "getQueryString",
966
+ "getResponseAttachmentSysid",
967
+ "getStatusCode",
968
+ "haveError",
969
+ "waitForResponse"
970
+ ],
971
+ "SOAPMessageV2": [
972
+ "execute",
973
+ "executeAsync",
974
+ "getEndpoint",
975
+ "getRequestBody",
976
+ "getRequestHeader",
977
+ "getRequestHeaders",
978
+ "getVariables",
979
+ "setAuthenticationProfile",
980
+ "setBasicAuth",
981
+ "setEccCorrelator",
982
+ "setEccParameter",
983
+ "setEndpoint",
984
+ "setHttpTimeout",
985
+ "setLogLevel",
986
+ "setMIDServer",
987
+ "setMutualAuth",
988
+ "setRequestBody",
989
+ "setRequestHeader",
990
+ "setSOAPAction",
991
+ "setStringParameter",
992
+ "setStringParameterNoEscape",
993
+ "setWSSecurity",
994
+ "setWSSecurityUsernameToken",
995
+ "setWSSecurityX509Token"
996
+ ],
997
+ "SOAPResponseV2": [
998
+ "getAllHeaders",
999
+ "getBody",
1000
+ "getCookies",
1001
+ "getErrorCode",
1002
+ "getErrorMessage",
1003
+ "getHeader",
1004
+ "getHeaders",
1005
+ "getStatusCode",
1006
+ "haveError",
1007
+ "waitForResponse"
1008
+ ]
1009
+ },
983
1010
  "sn_ws_int": {
984
1011
  "RESTAPIRequest": [
985
- "body",
986
1012
  "getHeader",
987
1013
  "getRequestedQueryCategory",
988
- "getSupportedResponseContentTypes",
989
- "headers",
990
- "pathParams",
991
- "queryParams",
992
- "queryString",
993
- "uri",
994
- "url"
1014
+ "getSupportedResponseContentTypes"
995
1015
  ],
996
1016
  "RESTAPIRequestBody": [
997
- "data",
998
- "dataStream",
999
- "dataString",
1000
1017
  "hasNext",
1001
1018
  "nextEntry"
1002
1019
  ],
@@ -1020,117 +1037,6 @@
1020
1037
  "getValue",
1021
1038
  "setValue"
1022
1039
  ],
1023
- "Catalog": [
1024
- "canView",
1025
- "getAvailableCatalog",
1026
- "getBackgroundColor",
1027
- "getCatalogCount",
1028
- "getCatalogItemIds",
1029
- "getCategories",
1030
- "getCategoryIds",
1031
- "getDefaultCatalog",
1032
- "getDefaultView",
1033
- "getDescription",
1034
- "getDesktopImageSRC",
1035
- "getEditLink",
1036
- "getGr",
1037
- "getHeaderIconSRC",
1038
- "getHomepageCategories",
1039
- "getID",
1040
- "getMobilePicture",
1041
- "getTitle",
1042
- "hasCategories",
1043
- "hasItems",
1044
- "isWishlistEnabled"
1045
- ],
1046
- "CatalogItemCategory": [
1047
- "create",
1048
- "createRecord",
1049
- "handleAdd",
1050
- "handleRemove",
1051
- "populateFromItemCategory",
1052
- "recordExists"
1053
- ],
1054
- "CatalogItemJS": [
1055
- "availableForUserCriteria",
1056
- "canView",
1057
- "canViewInDomain",
1058
- "canViewOnSearch",
1059
- "create",
1060
- "deleteCatalogItemAndReferences",
1061
- "deleteRecord",
1062
- "getAvailability",
1063
- "getCatalogs",
1064
- "getCategories",
1065
- "getCategoryTree",
1066
- "getCompleteItemPrice",
1067
- "getDataLookUps",
1068
- "getFirstAccessibleCategoryForSearch",
1069
- "getIcon",
1070
- "getInvalidDelegatedUsers",
1071
- "getItemForVA",
1072
- "getItemSummary",
1073
- "getMRVSIds",
1074
- "getMobilePicture",
1075
- "getPicture",
1076
- "getRecordClass",
1077
- "getSequencingProcess",
1078
- "getTemplateUsed",
1079
- "getUIPolicies",
1080
- "getVariableKeys",
1081
- "getVariableSet",
1082
- "getVariables",
1083
- "getVariablesDynamicValueConfig",
1084
- "getVariablesLayout",
1085
- "hasRequestedForVariable",
1086
- "hasTemplateManagerRole",
1087
- "isActive",
1088
- "isAssociatedWithCatalog",
1089
- "isDelegationAllowed",
1090
- "isOwner",
1091
- "isVisibleServicePortal",
1092
- "notAvailableForUserCriteria",
1093
- "read",
1094
- "setAttributes",
1095
- "setCatalogs",
1096
- "setCategories",
1097
- "setImage",
1098
- "setTableName",
1099
- "submitProducer",
1100
- "update"
1101
- ],
1102
- "CatalogSearch": [
1103
- "search"
1104
- ],
1105
- "CategoryJS": [
1106
- "availableForUserCriteria",
1107
- "canView",
1108
- "canViewForMobile",
1109
- "create",
1110
- "deleteRecord",
1111
- "getCatalog",
1112
- "getDescription",
1113
- "getFullDescription",
1114
- "getHeaderIconSRC",
1115
- "getHomepageImageSRC",
1116
- "getID",
1117
- "getIconSRC",
1118
- "getItemIds",
1119
- "getItemsCount",
1120
- "getMobilePicture",
1121
- "getParent",
1122
- "getSubCategories",
1123
- "getTitle",
1124
- "getViewableItemsCount",
1125
- "getViewableSubCategories",
1126
- "hasVisibleItem",
1127
- "hideDescriptionForMobile",
1128
- "notAvailableForUserCriteria",
1129
- "read",
1130
- "setAttributes",
1131
- "setTableName",
1132
- "update"
1133
- ],
1134
1040
  "Client": [
1135
1041
  "accumulate",
1136
1042
  "deleteMetric",
@@ -2023,58 +1929,6 @@
2023
1929
  "setMutexExpires",
2024
1930
  "touch"
2025
1931
  ],
2026
- "GlideOAuthClient": [
2027
- "getAuthorizationURL",
2028
- "getEndSessionLogoutURL",
2029
- "getToken",
2030
- "getUserNameAndClaimsByAuthorization",
2031
- "initAuthzReqParams",
2032
- "requestToken",
2033
- "requestTokenByRequest",
2034
- "requestTokenWithInitiator",
2035
- "revokeToken",
2036
- "setPersonal",
2037
- "validateAuthorizationResponse"
2038
- ],
2039
- "GlideOAuthClientRequest": [
2040
- "getGrantType",
2041
- "getHeader",
2042
- "getHeaders",
2043
- "getMIDServer",
2044
- "getParameter",
2045
- "getParameters",
2046
- "getPassword",
2047
- "getRefreshToken",
2048
- "getScope",
2049
- "getUserName",
2050
- "setGlideOAuthJWTConfig",
2051
- "setGrantType",
2052
- "setHead",
2053
- "setMIDServer",
2054
- "setParameter",
2055
- "setParameters",
2056
- "setPassword",
2057
- "setRefreshToken",
2058
- "setScope",
2059
- "setUserName"
2060
- ],
2061
- "GlideOAuthClientResponse": [
2062
- "getBody",
2063
- "getContentType",
2064
- "getErrorMessage",
2065
- "getResponseCode",
2066
- "getResponseParameters",
2067
- "getToken"
2068
- ],
2069
- "GlideOAuthToken": [
2070
- "getAccessToken",
2071
- "getAccessTokenSysID",
2072
- "getExpiresIn",
2073
- "getRefreshToken",
2074
- "getRefreshTokenExpiresIn",
2075
- "getRefreshTokenSysID",
2076
- "getScope"
2077
- ],
2078
1932
  "GlidePluginManager": [
2079
1933
  "canRollback",
2080
1934
  "getActivePlugin",
@@ -2704,6 +2558,8 @@
2704
2558
  "getWidgetFromRectangle",
2705
2559
  "getWidgetParameters",
2706
2560
  "getWidgetScope",
2561
+ "getWidgetSysId",
2562
+ "hasPublicAccessToTable",
2707
2563
  "hasTextIndex",
2708
2564
  "isAISearchEnabled",
2709
2565
  "isDarkThemeEnabledInPortal",
@@ -3601,20 +3457,10 @@
3601
3457
  "runIdentificationContext",
3602
3458
  "validateExcludedFields"
3603
3459
  ],
3604
- "OrderGuideJS": [
3605
- "getID",
3606
- "init",
3607
- "isIncludeItems",
3608
- "isSequencedGuide",
3609
- "isTwoStep",
3610
- "isUseCustomCart",
3611
- "navigateFromMap"
3612
- ],
3613
3460
  "PAScorecard": [
3614
3461
  "addParam",
3615
3462
  "asJSON",
3616
- "query",
3617
- "result"
3463
+ "query"
3618
3464
  ],
3619
3465
  "PASnapshot": [
3620
3466
  "getCompareIDs",
@@ -3632,52 +3478,6 @@
3632
3478
  "render",
3633
3479
  "setChannel"
3634
3480
  ],
3635
- "RESTMessageV2": [
3636
- "disableForcedVariableSubstitution",
3637
- "execute",
3638
- "executeAsync",
3639
- "getEccTopic",
3640
- "getEndpoint",
3641
- "getParameters",
3642
- "getRequestBody",
3643
- "getRequestHeader",
3644
- "getRequestHeaders",
3645
- "getVariables",
3646
- "saveResponseBodyAsAttachment",
3647
- "setAuthenticationProfile",
3648
- "setBasicAuth",
3649
- "setEccCorrelator",
3650
- "setEccParameter",
3651
- "setEccTopic",
3652
- "setEndpoint",
3653
- "setFollowRedirect",
3654
- "setHttpMethod",
3655
- "setHttpTimeout",
3656
- "setLogLevel",
3657
- "setMIDServer",
3658
- "setMutualAuth",
3659
- "setQueryParameter",
3660
- "setRequestBody",
3661
- "setRequestBodyFromAttachment",
3662
- "setRequestHeader",
3663
- "setRequestorProfile",
3664
- "setStringParameter",
3665
- "setStringParameterNoEscape"
3666
- ],
3667
- "RESTResponseV2": [
3668
- "getAllHeaders",
3669
- "getBody",
3670
- "getCookies",
3671
- "getErrorCode",
3672
- "getErrorMessage",
3673
- "getHeader",
3674
- "getHeaders",
3675
- "getQueryString",
3676
- "getResponseAttachmentSysid",
3677
- "getStatusCode",
3678
- "haveError",
3679
- "waitForResponse"
3680
- ],
3681
3481
  "ScopedDCManager": [
3682
3482
  "addClassification",
3683
3483
  "classify",
@@ -3741,44 +3541,6 @@
3741
3541
  "getSecureRandomLong",
3742
3542
  "getSecureRandomString"
3743
3543
  ],
3744
- "SOAPMessageV2": [
3745
- "execute",
3746
- "executeAsync",
3747
- "getEndpoint",
3748
- "getRequestBody",
3749
- "getRequestHeader",
3750
- "getRequestHeaders",
3751
- "getVariables",
3752
- "setAuthenticationProfile",
3753
- "setBasicAuth",
3754
- "setEccCorrelator",
3755
- "setEccParameter",
3756
- "setEndpoint",
3757
- "setHttpTimeout",
3758
- "setLogLevel",
3759
- "setMIDServer",
3760
- "setMutualAuth",
3761
- "setRequestBody",
3762
- "setRequestHeader",
3763
- "setSOAPAction",
3764
- "setStringParameter",
3765
- "setStringParameterNoEscape",
3766
- "setWSSecurity",
3767
- "setWSSecurityUsernameToken",
3768
- "setWSSecurityX509Token"
3769
- ],
3770
- "SOAPResponseV2": [
3771
- "getAllHeaders",
3772
- "getBody",
3773
- "getCookies",
3774
- "getErrorCode",
3775
- "getErrorMessage",
3776
- "getHeader",
3777
- "getHeaders",
3778
- "getStatusCode",
3779
- "haveError",
3780
- "waitForResponse"
3781
- ],
3782
3544
  "SPScriptedFacet": [
3783
3545
  "addFacetItem"
3784
3546
  ],
package/license ADDED
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 ServiceNow Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/package.json CHANGED
@@ -1,28 +1,23 @@
1
1
  {
2
2
  "name": "@servicenow/glide",
3
- "version": "25.0.2",
3
+ "version": "26.0.1",
4
4
  "description": "Contains type declaration for Glide Scriptable APIs",
5
5
  "scripts": {
6
6
  "build": "tsc --build --clean && tsc --build",
7
7
  "prebuild": "npm run copy && tsx ./exports.ts && npm run create-index",
8
- "copy": "copyfiles -f './src/types/*.ts' ./src/imports",
8
+ "copy": "copyfiles -f './src/*/*.ts' ./src/imports && rm ./src/imports/index.ts",
9
9
  "create-index": "ctix create -a ./src --noBackup --overwrite",
10
10
  "prepublishOnly": "npm run build",
11
11
  "ci": "npm ci"
12
12
  },
13
13
  "types": "./dist/index.d.ts",
14
14
  "files": ["dist"],
15
- "repository": {
16
- "type": "git",
17
- "url": "https://code.devsnc.com/dev/glide-types.git"
18
- },
19
15
  "exports": {
20
16
  ".": "./dist/types/index.js",
21
17
  "./*": "./dist/*/index.js",
22
18
  "./util": "./dist/util/index.js"
23
19
  },
24
- "author": "Samyak Shah",
25
- "license": "ISC",
20
+ "license": "MIT",
26
21
  "devDependencies": {
27
22
  "@types/node": "20.8.10",
28
23
  "copyfiles": "2.4.1",
@@ -1,28 +0,0 @@
1
- import { Context } from '../imports/Context';
2
- import { Function } from '../imports/Function';
3
- import { GlideRecord } from '../imports/GlideRecord';
4
- import { CatalogJS } from '../imports/CatalogJS';
5
- export declare class Catalog {
6
- canView(mobile?: boolean, userId?: string): boolean;
7
- constructor(cx?: Context, args?: any[], ctorObj?: Function, inNewExpr?: boolean);
8
- static getAvailableCatalog(): CatalogJS;
9
- getBackgroundColor(): string;
10
- static getCatalogCount(): number;
11
- getCatalogItemIds(): Array<any>;
12
- getCategories(): Array<any>;
13
- getCategoryIds(): Array<any>;
14
- static getDefaultCatalog(): CatalogJS;
15
- getDefaultView(): string;
16
- getDescription(): string;
17
- getDesktopImageSRC(): string;
18
- getEditLink(): string;
19
- getGr(): GlideRecord;
20
- getHeaderIconSRC(): string;
21
- getHomepageCategories(): Array<any>;
22
- getID(): string;
23
- getMobilePicture(): string;
24
- getTitle(): string;
25
- hasCategories(): boolean;
26
- hasItems(): boolean;
27
- isWishlistEnabled(): boolean;
28
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"Catalog.js","sourceRoot":"","sources":["../../src/imports/Catalog.ts"],"names":[],"mappings":""}