@osdk/cli 0.24.0-beta.13 → 0.24.0-beta.14

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 (420) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/build/browser/chunk-5AQYUXAY.js +17 -0
  3. package/build/browser/chunk-5AQYUXAY.js.map +1 -0
  4. package/build/browser/chunk-DAYFZSC6.js +42 -0
  5. package/build/browser/chunk-DAYFZSC6.js.map +1 -0
  6. package/build/browser/chunk-IK6CLC6I.js +221 -0
  7. package/build/browser/chunk-IK6CLC6I.js.map +1 -0
  8. package/build/browser/chunk-Q2H7XAS4.js +88 -0
  9. package/build/browser/chunk-Q2H7XAS4.js.map +1 -0
  10. package/build/browser/chunk-VDO5KGGR.js +127 -0
  11. package/build/browser/chunk-VDO5KGGR.js.map +1 -0
  12. package/build/browser/handleGenerate-37Z73JKR.js +409 -0
  13. package/build/browser/handleGenerate-37Z73JKR.js.map +1 -0
  14. package/build/browser/index.js +597 -16
  15. package/build/browser/index.js.map +1 -1
  16. package/build/browser/loginFlow-622FU6FR.js +4 -0
  17. package/build/browser/loginFlow-622FU6FR.js.map +1 -0
  18. package/build/browser/siteDeployCommand-KV7OEWSZ.js +140 -0
  19. package/build/browser/siteDeployCommand-KV7OEWSZ.js.map +1 -0
  20. package/build/browser/versionDeleteCommand-JALRWV7N.js +35 -0
  21. package/build/browser/versionDeleteCommand-JALRWV7N.js.map +1 -0
  22. package/build/browser/versionGetCommand-ZWABO75R.js +29 -0
  23. package/build/browser/versionGetCommand-ZWABO75R.js.map +1 -0
  24. package/build/browser/versionListCommand-S7ZNXKLB.js +34 -0
  25. package/build/browser/versionListCommand-S7ZNXKLB.js.map +1 -0
  26. package/build/browser/versionSetCommand-D25C3HBN.js +29 -0
  27. package/build/browser/versionSetCommand-D25C3HBN.js.map +1 -0
  28. package/build/browser/versionUnsetCommand-YL7WZDYA.js +34 -0
  29. package/build/browser/versionUnsetCommand-YL7WZDYA.js.map +1 -0
  30. package/build/esm/chunk-5AQYUXAY.js +17 -0
  31. package/build/esm/chunk-5AQYUXAY.js.map +1 -0
  32. package/build/esm/chunk-DAYFZSC6.js +42 -0
  33. package/build/esm/chunk-DAYFZSC6.js.map +1 -0
  34. package/build/esm/chunk-IK6CLC6I.js +221 -0
  35. package/build/esm/chunk-IK6CLC6I.js.map +1 -0
  36. package/build/esm/chunk-Q2H7XAS4.js +88 -0
  37. package/build/esm/chunk-Q2H7XAS4.js.map +1 -0
  38. package/build/esm/chunk-VDO5KGGR.js +127 -0
  39. package/build/esm/chunk-VDO5KGGR.js.map +1 -0
  40. package/build/esm/handleGenerate-37Z73JKR.js +409 -0
  41. package/build/esm/handleGenerate-37Z73JKR.js.map +1 -0
  42. package/build/esm/index.js +597 -16
  43. package/build/esm/index.js.map +1 -1
  44. package/build/esm/loginFlow-622FU6FR.js +4 -0
  45. package/build/esm/loginFlow-622FU6FR.js.map +1 -0
  46. package/build/esm/siteDeployCommand-KV7OEWSZ.js +140 -0
  47. package/build/esm/siteDeployCommand-KV7OEWSZ.js.map +1 -0
  48. package/build/esm/versionDeleteCommand-JALRWV7N.js +35 -0
  49. package/build/esm/versionDeleteCommand-JALRWV7N.js.map +1 -0
  50. package/build/esm/versionGetCommand-ZWABO75R.js +29 -0
  51. package/build/esm/versionGetCommand-ZWABO75R.js.map +1 -0
  52. package/build/esm/versionListCommand-S7ZNXKLB.js +34 -0
  53. package/build/esm/versionListCommand-S7ZNXKLB.js.map +1 -0
  54. package/build/esm/versionSetCommand-D25C3HBN.js +29 -0
  55. package/build/esm/versionSetCommand-D25C3HBN.js.map +1 -0
  56. package/build/esm/versionUnsetCommand-YL7WZDYA.js +34 -0
  57. package/build/esm/versionUnsetCommand-YL7WZDYA.js.map +1 -0
  58. package/package.json +6 -6
  59. package/build/browser/cli.d.ts +0 -7
  60. package/build/browser/cli.d.ts.map +0 -1
  61. package/build/browser/cli.js +0 -42
  62. package/build/browser/cli.js.map +0 -1
  63. package/build/browser/commands/auth/index.d.ts +0 -5
  64. package/build/browser/commands/auth/index.d.ts.map +0 -1
  65. package/build/browser/commands/auth/index.js +0 -34
  66. package/build/browser/commands/auth/index.js.map +0 -1
  67. package/build/browser/commands/auth/login/index.d.ts +0 -5
  68. package/build/browser/commands/auth/login/index.d.ts.map +0 -1
  69. package/build/browser/commands/auth/login/index.js +0 -34
  70. package/build/browser/commands/auth/login/index.js.map +0 -1
  71. package/build/browser/commands/site/CommonSiteArgs.d.ts +0 -9
  72. package/build/browser/commands/site/CommonSiteArgs.d.ts.map +0 -1
  73. package/build/browser/commands/site/CommonSiteArgs.js +0 -17
  74. package/build/browser/commands/site/CommonSiteArgs.js.map +0 -1
  75. package/build/browser/commands/site/deploy/SiteDeployArgs.d.ts +0 -10
  76. package/build/browser/commands/site/deploy/SiteDeployArgs.d.ts.map +0 -1
  77. package/build/browser/commands/site/deploy/SiteDeployArgs.js +0 -17
  78. package/build/browser/commands/site/deploy/SiteDeployArgs.js.map +0 -1
  79. package/build/browser/commands/site/deploy/index.d.ts +0 -6
  80. package/build/browser/commands/site/deploy/index.d.ts.map +0 -1
  81. package/build/browser/commands/site/deploy/index.js +0 -108
  82. package/build/browser/commands/site/deploy/index.js.map +0 -1
  83. package/build/browser/commands/site/deploy/logDeployCommandConfigFileOverride.d.ts +0 -5
  84. package/build/browser/commands/site/deploy/logDeployCommandConfigFileOverride.d.ts.map +0 -1
  85. package/build/browser/commands/site/deploy/logDeployCommandConfigFileOverride.js +0 -28
  86. package/build/browser/commands/site/deploy/logDeployCommandConfigFileOverride.js.map +0 -1
  87. package/build/browser/commands/site/deploy/siteDeployCommand.d.mts +0 -10
  88. package/build/browser/commands/site/deploy/siteDeployCommand.d.mts.map +0 -1
  89. package/build/browser/commands/site/deploy/siteDeployCommand.js +0 -98
  90. package/build/browser/commands/site/deploy/siteDeployCommand.js.map +0 -1
  91. package/build/browser/commands/site/deploy/siteDeployCommand.mjs +0 -90
  92. package/build/browser/commands/site/index.d.ts +0 -6
  93. package/build/browser/commands/site/index.d.ts.map +0 -1
  94. package/build/browser/commands/site/index.js +0 -69
  95. package/build/browser/commands/site/index.js.map +0 -1
  96. package/build/browser/commands/site/logSiteCommandConfigFileOverride.d.ts +0 -5
  97. package/build/browser/commands/site/logSiteCommandConfigFileOverride.d.ts.map +0 -1
  98. package/build/browser/commands/site/logSiteCommandConfigFileOverride.js +0 -25
  99. package/build/browser/commands/site/logSiteCommandConfigFileOverride.js.map +0 -1
  100. package/build/browser/commands/site/version/delete/VersionDeleteArgs.d.ts +0 -6
  101. package/build/browser/commands/site/version/delete/VersionDeleteArgs.d.ts.map +0 -1
  102. package/build/browser/commands/site/version/delete/VersionDeleteArgs.js +0 -17
  103. package/build/browser/commands/site/version/delete/VersionDeleteArgs.js.map +0 -1
  104. package/build/browser/commands/site/version/delete/index.d.ts +0 -6
  105. package/build/browser/commands/site/version/delete/index.d.ts.map +0 -1
  106. package/build/browser/commands/site/version/delete/index.js +0 -36
  107. package/build/browser/commands/site/version/delete/index.js.map +0 -1
  108. package/build/browser/commands/site/version/delete/versionDeleteCommand.d.mts +0 -3
  109. package/build/browser/commands/site/version/delete/versionDeleteCommand.d.mts.map +0 -1
  110. package/build/browser/commands/site/version/delete/versionDeleteCommand.js +0 -41
  111. package/build/browser/commands/site/version/delete/versionDeleteCommand.js.map +0 -1
  112. package/build/browser/commands/site/version/delete/versionDeleteCommand.mjs +0 -32
  113. package/build/browser/commands/site/version/get/VersionGetArgs.d.ts +0 -4
  114. package/build/browser/commands/site/version/get/VersionGetArgs.d.ts.map +0 -1
  115. package/build/browser/commands/site/version/get/VersionGetArgs.js +0 -17
  116. package/build/browser/commands/site/version/get/VersionGetArgs.js.map +0 -1
  117. package/build/browser/commands/site/version/get/index.d.ts +0 -6
  118. package/build/browser/commands/site/version/get/index.d.ts.map +0 -1
  119. package/build/browser/commands/site/version/get/index.js +0 -28
  120. package/build/browser/commands/site/version/get/index.js.map +0 -1
  121. package/build/browser/commands/site/version/get/versionGetCommand.d.mts +0 -3
  122. package/build/browser/commands/site/version/get/versionGetCommand.d.mts.map +0 -1
  123. package/build/browser/commands/site/version/get/versionGetCommand.js +0 -36
  124. package/build/browser/commands/site/version/get/versionGetCommand.js.map +0 -1
  125. package/build/browser/commands/site/version/get/versionGetCommand.mjs +0 -32
  126. package/build/browser/commands/site/version/index.d.ts +0 -5
  127. package/build/browser/commands/site/version/index.d.ts.map +0 -1
  128. package/build/browser/commands/site/version/index.js +0 -30
  129. package/build/browser/commands/site/version/index.js.map +0 -1
  130. package/build/browser/commands/site/version/list/VersionListArgs.d.ts +0 -4
  131. package/build/browser/commands/site/version/list/VersionListArgs.d.ts.map +0 -1
  132. package/build/browser/commands/site/version/list/VersionListArgs.js +0 -17
  133. package/build/browser/commands/site/version/list/VersionListArgs.js.map +0 -1
  134. package/build/browser/commands/site/version/list/index.d.ts +0 -6
  135. package/build/browser/commands/site/version/list/index.d.ts.map +0 -1
  136. package/build/browser/commands/site/version/list/index.js +0 -28
  137. package/build/browser/commands/site/version/list/index.js.map +0 -1
  138. package/build/browser/commands/site/version/list/versionListCommand.d.mts +0 -3
  139. package/build/browser/commands/site/version/list/versionListCommand.d.mts.map +0 -1
  140. package/build/browser/commands/site/version/list/versionListCommand.js +0 -41
  141. package/build/browser/commands/site/version/list/versionListCommand.js.map +0 -1
  142. package/build/browser/commands/site/version/list/versionListCommand.mjs +0 -42
  143. package/build/browser/commands/site/version/set/VersionSetArgs.d.ts +0 -5
  144. package/build/browser/commands/site/version/set/VersionSetArgs.d.ts.map +0 -1
  145. package/build/browser/commands/site/version/set/VersionSetArgs.js +0 -17
  146. package/build/browser/commands/site/version/set/VersionSetArgs.js.map +0 -1
  147. package/build/browser/commands/site/version/set/index.d.ts +0 -6
  148. package/build/browser/commands/site/version/set/index.d.ts.map +0 -1
  149. package/build/browser/commands/site/version/set/index.js +0 -32
  150. package/build/browser/commands/site/version/set/index.js.map +0 -1
  151. package/build/browser/commands/site/version/set/versionSetCommand.d.mts +0 -3
  152. package/build/browser/commands/site/version/set/versionSetCommand.d.mts.map +0 -1
  153. package/build/browser/commands/site/version/set/versionSetCommand.js +0 -36
  154. package/build/browser/commands/site/version/set/versionSetCommand.js.map +0 -1
  155. package/build/browser/commands/site/version/set/versionSetCommand.mjs +0 -28
  156. package/build/browser/commands/site/version/unset/VersionUnsetArgs.d.ts +0 -5
  157. package/build/browser/commands/site/version/unset/VersionUnsetArgs.d.ts.map +0 -1
  158. package/build/browser/commands/site/version/unset/VersionUnsetArgs.js +0 -17
  159. package/build/browser/commands/site/version/unset/VersionUnsetArgs.js.map +0 -1
  160. package/build/browser/commands/site/version/unset/index.d.ts +0 -6
  161. package/build/browser/commands/site/version/unset/index.d.ts.map +0 -1
  162. package/build/browser/commands/site/version/unset/index.js +0 -32
  163. package/build/browser/commands/site/version/unset/index.js.map +0 -1
  164. package/build/browser/commands/site/version/unset/versionUnsetCommand.d.mts +0 -3
  165. package/build/browser/commands/site/version/unset/versionUnsetCommand.d.mts.map +0 -1
  166. package/build/browser/commands/site/version/unset/versionUnsetCommand.js +0 -40
  167. package/build/browser/commands/site/version/unset/versionUnsetCommand.js.map +0 -1
  168. package/build/browser/commands/site/version/unset/versionUnsetCommand.mjs +0 -32
  169. package/build/browser/consola/handlePromptCancel.d.ts +0 -2
  170. package/build/browser/consola/handlePromptCancel.d.ts.map +0 -1
  171. package/build/browser/consola/handlePromptCancel.js +0 -25
  172. package/build/browser/consola/handlePromptCancel.js.map +0 -1
  173. package/build/browser/index.d.ts +0 -2
  174. package/build/browser/index.d.ts.map +0 -1
  175. package/build/browser/net/ThirdPartyAppRid.d.ts +0 -2
  176. package/build/browser/net/ThirdPartyAppRid.d.ts.map +0 -1
  177. package/build/browser/net/ThirdPartyAppRid.js +0 -17
  178. package/build/browser/net/ThirdPartyAppRid.js.map +0 -1
  179. package/build/browser/net/UserAgent.d.ts +0 -2
  180. package/build/browser/net/UserAgent.d.ts.map +0 -1
  181. package/build/browser/net/UserAgent.js +0 -17
  182. package/build/browser/net/UserAgent.js.map +0 -1
  183. package/build/browser/net/createFetch.d.mts +0 -2
  184. package/build/browser/net/createFetch.d.mts.map +0 -1
  185. package/build/browser/net/createFetch.js +0 -66
  186. package/build/browser/net/createFetch.js.map +0 -1
  187. package/build/browser/net/createFetch.mjs +0 -71
  188. package/build/browser/net/createInternalClientContext.d.mts +0 -3
  189. package/build/browser/net/createInternalClientContext.d.mts.map +0 -1
  190. package/build/browser/net/createInternalClientContext.js +0 -22
  191. package/build/browser/net/createInternalClientContext.js.map +0 -1
  192. package/build/browser/net/createInternalClientContext.mjs +0 -21
  193. package/build/browser/net/index.d.mts +0 -3
  194. package/build/browser/net/index.d.mts.map +0 -1
  195. package/build/browser/net/index.js +0 -18
  196. package/build/browser/net/index.js.map +0 -1
  197. package/build/browser/net/index.mjs +0 -17
  198. package/build/browser/net/internalClientContext.d.mts +0 -5
  199. package/build/browser/net/internalClientContext.d.mts.map +0 -1
  200. package/build/browser/net/internalClientContext.js +0 -17
  201. package/build/browser/net/internalClientContext.js.map +0 -1
  202. package/build/browser/net/internalClientContext.mjs +0 -16
  203. package/build/browser/net/third-party-applications/DeployWebsiteRequest.d.mts +0 -4
  204. package/build/browser/net/third-party-applications/DeployWebsiteRequest.d.mts.map +0 -1
  205. package/build/browser/net/third-party-applications/DeployWebsiteRequest.js +0 -17
  206. package/build/browser/net/third-party-applications/DeployWebsiteRequest.js.map +0 -1
  207. package/build/browser/net/third-party-applications/DeployWebsiteRequest.mjs +0 -16
  208. package/build/browser/net/third-party-applications/ListVersionsResponse.d.mts +0 -6
  209. package/build/browser/net/third-party-applications/ListVersionsResponse.d.mts.map +0 -1
  210. package/build/browser/net/third-party-applications/ListVersionsResponse.js +0 -17
  211. package/build/browser/net/third-party-applications/ListVersionsResponse.js.map +0 -1
  212. package/build/browser/net/third-party-applications/ListVersionsResponse.mjs +0 -16
  213. package/build/browser/net/third-party-applications/Version.d.mts +0 -4
  214. package/build/browser/net/third-party-applications/Version.d.mts.map +0 -1
  215. package/build/browser/net/third-party-applications/Version.js +0 -17
  216. package/build/browser/net/third-party-applications/Version.js.map +0 -1
  217. package/build/browser/net/third-party-applications/Version.mjs +0 -16
  218. package/build/browser/net/third-party-applications/Website.d.mts +0 -5
  219. package/build/browser/net/third-party-applications/Website.d.mts.map +0 -1
  220. package/build/browser/net/third-party-applications/Website.js +0 -17
  221. package/build/browser/net/third-party-applications/Website.js.map +0 -1
  222. package/build/browser/net/third-party-applications/Website.mjs +0 -16
  223. package/build/browser/net/third-party-applications/deleteVersion.d.mts +0 -4
  224. package/build/browser/net/third-party-applications/deleteVersion.d.mts.map +0 -1
  225. package/build/browser/net/third-party-applications/deleteVersion.js +0 -24
  226. package/build/browser/net/third-party-applications/deleteVersion.js.map +0 -1
  227. package/build/browser/net/third-party-applications/deleteVersion.mjs +0 -23
  228. package/build/browser/net/third-party-applications/deployWebsite.d.mts +0 -6
  229. package/build/browser/net/third-party-applications/deployWebsite.d.mts.map +0 -1
  230. package/build/browser/net/third-party-applications/deployWebsite.js +0 -29
  231. package/build/browser/net/third-party-applications/deployWebsite.js.map +0 -1
  232. package/build/browser/net/third-party-applications/deployWebsite.mjs +0 -28
  233. package/build/browser/net/third-party-applications/getWebsite.d.mts +0 -5
  234. package/build/browser/net/third-party-applications/getWebsite.d.mts.map +0 -1
  235. package/build/browser/net/third-party-applications/getWebsite.js +0 -33
  236. package/build/browser/net/third-party-applications/getWebsite.js.map +0 -1
  237. package/build/browser/net/third-party-applications/getWebsite.mjs +0 -35
  238. package/build/browser/net/third-party-applications/index.d.mts +0 -11
  239. package/build/browser/net/third-party-applications/index.d.mts.map +0 -1
  240. package/build/browser/net/third-party-applications/index.js +0 -22
  241. package/build/browser/net/third-party-applications/index.js.map +0 -1
  242. package/build/browser/net/third-party-applications/index.mjs +0 -21
  243. package/build/browser/net/third-party-applications/listVersions.d.mts +0 -5
  244. package/build/browser/net/third-party-applications/listVersions.d.mts.map +0 -1
  245. package/build/browser/net/third-party-applications/listVersions.js +0 -23
  246. package/build/browser/net/third-party-applications/listVersions.js.map +0 -1
  247. package/build/browser/net/third-party-applications/listVersions.mjs +0 -22
  248. package/build/browser/net/third-party-applications/undeployWebsite.d.mts +0 -4
  249. package/build/browser/net/third-party-applications/undeployWebsite.d.mts.map +0 -1
  250. package/build/browser/net/third-party-applications/undeployWebsite.js +0 -24
  251. package/build/browser/net/third-party-applications/undeployWebsite.js.map +0 -1
  252. package/build/browser/net/third-party-applications/undeployWebsite.mjs +0 -23
  253. package/build/browser/net/third-party-applications/uploadVersion.d.mts +0 -5
  254. package/build/browser/net/third-party-applications/uploadVersion.d.mts.map +0 -1
  255. package/build/browser/net/third-party-applications/uploadVersion.js +0 -30
  256. package/build/browser/net/third-party-applications/uploadVersion.js.map +0 -1
  257. package/build/browser/net/third-party-applications/uploadVersion.mjs +0 -29
  258. package/build/browser/util/autoVersion.d.ts +0 -9
  259. package/build/browser/util/autoVersion.d.ts.map +0 -1
  260. package/build/browser/util/autoVersion.js +0 -62
  261. package/build/browser/util/autoVersion.js.map +0 -1
  262. package/build/browser/util/autoVersion.test.d.ts +0 -2
  263. package/build/browser/util/autoVersion.test.d.ts.map +0 -1
  264. package/build/browser/util/autoVersion.test.js +0 -71
  265. package/build/browser/util/autoVersion.test.js.map +0 -1
  266. package/build/browser/util/config.d.ts +0 -26
  267. package/build/browser/util/config.d.ts.map +0 -1
  268. package/build/browser/util/config.js +0 -102
  269. package/build/browser/util/config.js.map +0 -1
  270. package/build/browser/util/config.test.d.ts +0 -2
  271. package/build/browser/util/config.test.d.ts.map +0 -1
  272. package/build/browser/util/config.test.js +0 -110
  273. package/build/browser/util/config.test.js.map +0 -1
  274. package/build/browser/util/configLoader.d.ts +0 -4
  275. package/build/browser/util/configLoader.d.ts.map +0 -1
  276. package/build/browser/util/configLoader.js +0 -25
  277. package/build/browser/util/configLoader.js.map +0 -1
  278. package/build/browser/util/isValidSemver.test.d.ts +0 -2
  279. package/build/browser/util/isValidSemver.test.d.ts.map +0 -1
  280. package/build/browser/util/isValidSemver.test.js +0 -41
  281. package/build/browser/util/isValidSemver.test.js.map +0 -1
  282. package/build/browser/util/token.d.ts +0 -22
  283. package/build/browser/util/token.d.ts.map +0 -1
  284. package/build/browser/util/token.js +0 -84
  285. package/build/browser/util/token.js.map +0 -1
  286. package/build/browser/util/token.test.d.ts +0 -2
  287. package/build/browser/util/token.test.d.ts.map +0 -1
  288. package/build/browser/util/token.test.js +0 -62
  289. package/build/browser/util/token.test.js.map +0 -1
  290. package/build/browser/yargs/logConfigFileMiddleware.d.ts +0 -2
  291. package/build/browser/yargs/logConfigFileMiddleware.d.ts.map +0 -1
  292. package/build/browser/yargs/logConfigFileMiddleware.js +0 -29
  293. package/build/browser/yargs/logConfigFileMiddleware.js.map +0 -1
  294. package/build/esm/cli.js +0 -42
  295. package/build/esm/cli.js.map +0 -1
  296. package/build/esm/commands/auth/index.js +0 -34
  297. package/build/esm/commands/auth/index.js.map +0 -1
  298. package/build/esm/commands/auth/login/index.js +0 -34
  299. package/build/esm/commands/auth/login/index.js.map +0 -1
  300. package/build/esm/commands/site/CommonSiteArgs.js +0 -17
  301. package/build/esm/commands/site/CommonSiteArgs.js.map +0 -1
  302. package/build/esm/commands/site/deploy/SiteDeployArgs.js +0 -17
  303. package/build/esm/commands/site/deploy/SiteDeployArgs.js.map +0 -1
  304. package/build/esm/commands/site/deploy/index.js +0 -108
  305. package/build/esm/commands/site/deploy/index.js.map +0 -1
  306. package/build/esm/commands/site/deploy/logDeployCommandConfigFileOverride.js +0 -28
  307. package/build/esm/commands/site/deploy/logDeployCommandConfigFileOverride.js.map +0 -1
  308. package/build/esm/commands/site/deploy/siteDeployCommand.js +0 -98
  309. package/build/esm/commands/site/deploy/siteDeployCommand.js.map +0 -1
  310. package/build/esm/commands/site/deploy/siteDeployCommand.mjs +0 -90
  311. package/build/esm/commands/site/index.js +0 -69
  312. package/build/esm/commands/site/index.js.map +0 -1
  313. package/build/esm/commands/site/logSiteCommandConfigFileOverride.js +0 -25
  314. package/build/esm/commands/site/logSiteCommandConfigFileOverride.js.map +0 -1
  315. package/build/esm/commands/site/version/delete/VersionDeleteArgs.js +0 -17
  316. package/build/esm/commands/site/version/delete/VersionDeleteArgs.js.map +0 -1
  317. package/build/esm/commands/site/version/delete/index.js +0 -36
  318. package/build/esm/commands/site/version/delete/index.js.map +0 -1
  319. package/build/esm/commands/site/version/delete/versionDeleteCommand.js +0 -41
  320. package/build/esm/commands/site/version/delete/versionDeleteCommand.js.map +0 -1
  321. package/build/esm/commands/site/version/delete/versionDeleteCommand.mjs +0 -32
  322. package/build/esm/commands/site/version/get/VersionGetArgs.js +0 -17
  323. package/build/esm/commands/site/version/get/VersionGetArgs.js.map +0 -1
  324. package/build/esm/commands/site/version/get/index.js +0 -28
  325. package/build/esm/commands/site/version/get/index.js.map +0 -1
  326. package/build/esm/commands/site/version/get/versionGetCommand.js +0 -36
  327. package/build/esm/commands/site/version/get/versionGetCommand.js.map +0 -1
  328. package/build/esm/commands/site/version/get/versionGetCommand.mjs +0 -32
  329. package/build/esm/commands/site/version/index.js +0 -30
  330. package/build/esm/commands/site/version/index.js.map +0 -1
  331. package/build/esm/commands/site/version/list/VersionListArgs.js +0 -17
  332. package/build/esm/commands/site/version/list/VersionListArgs.js.map +0 -1
  333. package/build/esm/commands/site/version/list/index.js +0 -28
  334. package/build/esm/commands/site/version/list/index.js.map +0 -1
  335. package/build/esm/commands/site/version/list/versionListCommand.js +0 -41
  336. package/build/esm/commands/site/version/list/versionListCommand.js.map +0 -1
  337. package/build/esm/commands/site/version/list/versionListCommand.mjs +0 -42
  338. package/build/esm/commands/site/version/set/VersionSetArgs.js +0 -17
  339. package/build/esm/commands/site/version/set/VersionSetArgs.js.map +0 -1
  340. package/build/esm/commands/site/version/set/index.js +0 -32
  341. package/build/esm/commands/site/version/set/index.js.map +0 -1
  342. package/build/esm/commands/site/version/set/versionSetCommand.js +0 -36
  343. package/build/esm/commands/site/version/set/versionSetCommand.js.map +0 -1
  344. package/build/esm/commands/site/version/set/versionSetCommand.mjs +0 -28
  345. package/build/esm/commands/site/version/unset/VersionUnsetArgs.js +0 -17
  346. package/build/esm/commands/site/version/unset/VersionUnsetArgs.js.map +0 -1
  347. package/build/esm/commands/site/version/unset/index.js +0 -32
  348. package/build/esm/commands/site/version/unset/index.js.map +0 -1
  349. package/build/esm/commands/site/version/unset/versionUnsetCommand.js +0 -40
  350. package/build/esm/commands/site/version/unset/versionUnsetCommand.js.map +0 -1
  351. package/build/esm/commands/site/version/unset/versionUnsetCommand.mjs +0 -32
  352. package/build/esm/consola/handlePromptCancel.js +0 -25
  353. package/build/esm/consola/handlePromptCancel.js.map +0 -1
  354. package/build/esm/net/ThirdPartyAppRid.js +0 -17
  355. package/build/esm/net/ThirdPartyAppRid.js.map +0 -1
  356. package/build/esm/net/UserAgent.js +0 -17
  357. package/build/esm/net/UserAgent.js.map +0 -1
  358. package/build/esm/net/createFetch.js +0 -66
  359. package/build/esm/net/createFetch.js.map +0 -1
  360. package/build/esm/net/createFetch.mjs +0 -71
  361. package/build/esm/net/createInternalClientContext.js +0 -22
  362. package/build/esm/net/createInternalClientContext.js.map +0 -1
  363. package/build/esm/net/createInternalClientContext.mjs +0 -21
  364. package/build/esm/net/index.js +0 -18
  365. package/build/esm/net/index.js.map +0 -1
  366. package/build/esm/net/index.mjs +0 -17
  367. package/build/esm/net/internalClientContext.js +0 -17
  368. package/build/esm/net/internalClientContext.js.map +0 -1
  369. package/build/esm/net/internalClientContext.mjs +0 -16
  370. package/build/esm/net/third-party-applications/DeployWebsiteRequest.js +0 -17
  371. package/build/esm/net/third-party-applications/DeployWebsiteRequest.js.map +0 -1
  372. package/build/esm/net/third-party-applications/DeployWebsiteRequest.mjs +0 -16
  373. package/build/esm/net/third-party-applications/ListVersionsResponse.js +0 -17
  374. package/build/esm/net/third-party-applications/ListVersionsResponse.js.map +0 -1
  375. package/build/esm/net/third-party-applications/ListVersionsResponse.mjs +0 -16
  376. package/build/esm/net/third-party-applications/Version.js +0 -17
  377. package/build/esm/net/third-party-applications/Version.js.map +0 -1
  378. package/build/esm/net/third-party-applications/Version.mjs +0 -16
  379. package/build/esm/net/third-party-applications/Website.js +0 -17
  380. package/build/esm/net/third-party-applications/Website.js.map +0 -1
  381. package/build/esm/net/third-party-applications/Website.mjs +0 -16
  382. package/build/esm/net/third-party-applications/deleteVersion.js +0 -24
  383. package/build/esm/net/third-party-applications/deleteVersion.js.map +0 -1
  384. package/build/esm/net/third-party-applications/deleteVersion.mjs +0 -23
  385. package/build/esm/net/third-party-applications/deployWebsite.js +0 -29
  386. package/build/esm/net/third-party-applications/deployWebsite.js.map +0 -1
  387. package/build/esm/net/third-party-applications/deployWebsite.mjs +0 -28
  388. package/build/esm/net/third-party-applications/getWebsite.js +0 -33
  389. package/build/esm/net/third-party-applications/getWebsite.js.map +0 -1
  390. package/build/esm/net/third-party-applications/getWebsite.mjs +0 -35
  391. package/build/esm/net/third-party-applications/index.js +0 -22
  392. package/build/esm/net/third-party-applications/index.js.map +0 -1
  393. package/build/esm/net/third-party-applications/index.mjs +0 -21
  394. package/build/esm/net/third-party-applications/listVersions.js +0 -23
  395. package/build/esm/net/third-party-applications/listVersions.js.map +0 -1
  396. package/build/esm/net/third-party-applications/listVersions.mjs +0 -22
  397. package/build/esm/net/third-party-applications/undeployWebsite.js +0 -24
  398. package/build/esm/net/third-party-applications/undeployWebsite.js.map +0 -1
  399. package/build/esm/net/third-party-applications/undeployWebsite.mjs +0 -23
  400. package/build/esm/net/third-party-applications/uploadVersion.js +0 -30
  401. package/build/esm/net/third-party-applications/uploadVersion.js.map +0 -1
  402. package/build/esm/net/third-party-applications/uploadVersion.mjs +0 -29
  403. package/build/esm/util/autoVersion.js +0 -62
  404. package/build/esm/util/autoVersion.js.map +0 -1
  405. package/build/esm/util/autoVersion.test.js +0 -71
  406. package/build/esm/util/autoVersion.test.js.map +0 -1
  407. package/build/esm/util/config.js +0 -102
  408. package/build/esm/util/config.js.map +0 -1
  409. package/build/esm/util/config.test.js +0 -110
  410. package/build/esm/util/config.test.js.map +0 -1
  411. package/build/esm/util/configLoader.js +0 -25
  412. package/build/esm/util/configLoader.js.map +0 -1
  413. package/build/esm/util/isValidSemver.test.js +0 -41
  414. package/build/esm/util/isValidSemver.test.js.map +0 -1
  415. package/build/esm/util/token.js +0 -84
  416. package/build/esm/util/token.js.map +0 -1
  417. package/build/esm/util/token.test.js +0 -62
  418. package/build/esm/util/token.test.js.map +0 -1
  419. package/build/esm/yargs/logConfigFileMiddleware.js +0 -29
  420. package/build/esm/yargs/logConfigFileMiddleware.js.map +0 -1
@@ -1,17 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export {};
17
- //# sourceMappingURL=DeployWebsiteRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DeployWebsiteRequest.js","names":[],"sources":["DeployWebsiteRequest.mjs"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,16 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export {};
@@ -1,17 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export {};
17
- //# sourceMappingURL=ListVersionsResponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListVersionsResponse.js","names":[],"sources":["ListVersionsResponse.mjs"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,16 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export {};
@@ -1,17 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export {};
17
- //# sourceMappingURL=Version.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Version.js","names":[],"sources":["Version.mjs"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,16 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export {};
@@ -1,17 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export {};
17
- //# sourceMappingURL=Website.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Website.js","names":[],"sources":["Website.mjs"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,16 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export {};
@@ -1,24 +0,0 @@
1
- /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { createFetch } from "../createFetch.mjs";
17
- export async function deleteVersion(ctx, thirdPartyAppRid, version) {
18
- const fetch = createFetch(ctx.tokenProvider);
19
- const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website/versions/${version}?preview=true`;
20
- await fetch(url, {
21
- method: "DELETE"
22
- });
23
- }
24
- //# sourceMappingURL=deleteVersion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deleteVersion.js","names":["createFetch","deleteVersion","ctx","thirdPartyAppRid","version","fetch","tokenProvider","url","foundryUrl","method"],"sources":["deleteVersion.mjs"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createFetch } from \"../createFetch.mjs\";\nexport async function deleteVersion(ctx, thirdPartyAppRid, version) {\n const fetch = createFetch(ctx.tokenProvider);\n const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website/versions/${version}?preview=true`;\n await fetch(url, {\n method: \"DELETE\",\n });\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,WAAW,QAAQ,oBAAoB;AAChD,OAAO,eAAeC,aAAaA,CAACC,GAAG,EAAEC,gBAAgB,EAAEC,OAAO,EAAE;EAChE,MAAMC,KAAK,GAAGL,WAAW,CAACE,GAAG,CAACI,aAAa,CAAC;EAC5C,MAAMC,GAAG,GAAG,GAAGL,GAAG,CAACM,UAAU,kCAAkCL,gBAAgB,qBAAqBC,OAAO,eAAe;EAC1H,MAAMC,KAAK,CAACE,GAAG,EAAE;IACbE,MAAM,EAAE;EACZ,CAAC,CAAC;AACN","ignoreList":[]}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { createFetch } from "../createFetch.mjs";
17
- export async function deleteVersion(ctx, thirdPartyAppRid, version) {
18
- const fetch = createFetch(ctx.tokenProvider);
19
- const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website/versions/${version}?preview=true`;
20
- await fetch(url, {
21
- method: "DELETE",
22
- });
23
- }
@@ -1,29 +0,0 @@
1
- /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { createFetch } from "../createFetch.mjs";
17
- export async function deployWebsite(ctx, thirdPartyAppRid, request) {
18
- const fetch = createFetch(ctx.tokenProvider);
19
- const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website/deploy?preview=true`;
20
- const result = await fetch(url, {
21
- method: "POST",
22
- body: JSON.stringify(request),
23
- headers: {
24
- "Content-Type": "application/json"
25
- }
26
- });
27
- return result.json();
28
- }
29
- //# sourceMappingURL=deployWebsite.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deployWebsite.js","names":["createFetch","deployWebsite","ctx","thirdPartyAppRid","request","fetch","tokenProvider","url","foundryUrl","result","method","body","JSON","stringify","headers","json"],"sources":["deployWebsite.mjs"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createFetch } from \"../createFetch.mjs\";\nexport async function deployWebsite(ctx, thirdPartyAppRid, request) {\n const fetch = createFetch(ctx.tokenProvider);\n const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website/deploy?preview=true`;\n const result = await fetch(url, {\n method: \"POST\",\n body: JSON.stringify(request),\n headers: {\n \"Content-Type\": \"application/json\",\n },\n });\n return result.json();\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,WAAW,QAAQ,oBAAoB;AAChD,OAAO,eAAeC,aAAaA,CAACC,GAAG,EAAEC,gBAAgB,EAAEC,OAAO,EAAE;EAChE,MAAMC,KAAK,GAAGL,WAAW,CAACE,GAAG,CAACI,aAAa,CAAC;EAC5C,MAAMC,GAAG,GAAG,GAAGL,GAAG,CAACM,UAAU,kCAAkCL,gBAAgB,8BAA8B;EAC7G,MAAMM,MAAM,GAAG,MAAMJ,KAAK,CAACE,GAAG,EAAE;IAC5BG,MAAM,EAAE,MAAM;IACdC,IAAI,EAAEC,IAAI,CAACC,SAAS,CAACT,OAAO,CAAC;IAC7BU,OAAO,EAAE;MACL,cAAc,EAAE;IACpB;EACJ,CAAC,CAAC;EACF,OAAOL,MAAM,CAACM,IAAI,CAAC,CAAC;AACxB","ignoreList":[]}
@@ -1,28 +0,0 @@
1
- /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { createFetch } from "../createFetch.mjs";
17
- export async function deployWebsite(ctx, thirdPartyAppRid, request) {
18
- const fetch = createFetch(ctx.tokenProvider);
19
- const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website/deploy?preview=true`;
20
- const result = await fetch(url, {
21
- method: "POST",
22
- body: JSON.stringify(request),
23
- headers: {
24
- "Content-Type": "application/json",
25
- },
26
- });
27
- return result.json();
28
- }
@@ -1,33 +0,0 @@
1
- /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { ExitProcessError } from "@osdk/cli.common";
17
- import { PalantirApiError } from "@osdk/shared.net";
18
- import { createFetch } from "../createFetch.mjs";
19
- export async function getWebsite(ctx, thirdPartyAppRid) {
20
- const fetch = createFetch(ctx.tokenProvider);
21
- const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website?preview=true`;
22
- try {
23
- const result = await fetch(url);
24
- return result.json();
25
- } catch (e) {
26
- // Revisit this error handling in the API
27
- if (e instanceof ExitProcessError && e.originalError != null && e.originalError instanceof PalantirApiError && e.originalError.errorName === "WebsiteNotFound") {
28
- return undefined;
29
- }
30
- throw e;
31
- }
32
- }
33
- //# sourceMappingURL=getWebsite.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getWebsite.js","names":["ExitProcessError","PalantirApiError","createFetch","getWebsite","ctx","thirdPartyAppRid","fetch","tokenProvider","url","foundryUrl","result","json","e","originalError","errorName","undefined"],"sources":["getWebsite.mjs"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { ExitProcessError } from \"@osdk/cli.common\";\nimport { PalantirApiError } from \"@osdk/shared.net\";\nimport { createFetch } from \"../createFetch.mjs\";\nexport async function getWebsite(ctx, thirdPartyAppRid) {\n const fetch = createFetch(ctx.tokenProvider);\n const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website?preview=true`;\n try {\n const result = await fetch(url);\n return result.json();\n }\n catch (e) {\n // Revisit this error handling in the API\n if (e instanceof ExitProcessError && e.originalError != null\n && e.originalError instanceof PalantirApiError\n && e.originalError.errorName === \"WebsiteNotFound\") {\n return undefined;\n }\n throw e;\n }\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,gBAAgB,QAAQ,kBAAkB;AACnD,SAASC,gBAAgB,QAAQ,kBAAkB;AACnD,SAASC,WAAW,QAAQ,oBAAoB;AAChD,OAAO,eAAeC,UAAUA,CAACC,GAAG,EAAEC,gBAAgB,EAAE;EACpD,MAAMC,KAAK,GAAGJ,WAAW,CAACE,GAAG,CAACG,aAAa,CAAC;EAC5C,MAAMC,GAAG,GAAG,GAAGJ,GAAG,CAACK,UAAU,kCAAkCJ,gBAAgB,uBAAuB;EACtG,IAAI;IACA,MAAMK,MAAM,GAAG,MAAMJ,KAAK,CAACE,GAAG,CAAC;IAC/B,OAAOE,MAAM,CAACC,IAAI,CAAC,CAAC;EACxB,CAAC,CACD,OAAOC,CAAC,EAAE;IACN;IACA,IAAIA,CAAC,YAAYZ,gBAAgB,IAAIY,CAAC,CAACC,aAAa,IAAI,IAAI,IACrDD,CAAC,CAACC,aAAa,YAAYZ,gBAAgB,IAC3CW,CAAC,CAACC,aAAa,CAACC,SAAS,KAAK,iBAAiB,EAAE;MACpD,OAAOC,SAAS;IACpB;IACA,MAAMH,CAAC;EACX;AACJ","ignoreList":[]}
@@ -1,35 +0,0 @@
1
- /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { ExitProcessError } from "@osdk/cli.common";
17
- import { PalantirApiError } from "@osdk/shared.net";
18
- import { createFetch } from "../createFetch.mjs";
19
- export async function getWebsite(ctx, thirdPartyAppRid) {
20
- const fetch = createFetch(ctx.tokenProvider);
21
- const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website?preview=true`;
22
- try {
23
- const result = await fetch(url);
24
- return result.json();
25
- }
26
- catch (e) {
27
- // Revisit this error handling in the API
28
- if (e instanceof ExitProcessError && e.originalError != null
29
- && e.originalError instanceof PalantirApiError
30
- && e.originalError.errorName === "WebsiteNotFound") {
31
- return undefined;
32
- }
33
- throw e;
34
- }
35
- }
@@ -1,22 +0,0 @@
1
- /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export { deleteVersion } from "./deleteVersion.mjs";
17
- export { deployWebsite } from "./deployWebsite.mjs";
18
- export { getWebsite } from "./getWebsite.mjs";
19
- export { listVersions } from "./listVersions.mjs";
20
- export { undeployWebsite } from "./undeployWebsite.mjs";
21
- export { uploadVersion } from "./uploadVersion.mjs";
22
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["deleteVersion","deployWebsite","getWebsite","listVersions","undeployWebsite","uploadVersion"],"sources":["index.mjs"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport { deleteVersion } from \"./deleteVersion.mjs\";\nexport { deployWebsite } from \"./deployWebsite.mjs\";\nexport { getWebsite } from \"./getWebsite.mjs\";\nexport { listVersions } from \"./listVersions.mjs\";\nexport { undeployWebsite } from \"./undeployWebsite.mjs\";\nexport { uploadVersion } from \"./uploadVersion.mjs\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,aAAa,QAAQ,qBAAqB;AACnD,SAASC,aAAa,QAAQ,qBAAqB;AACnD,SAASC,UAAU,QAAQ,kBAAkB;AAC7C,SAASC,YAAY,QAAQ,oBAAoB;AACjD,SAASC,eAAe,QAAQ,uBAAuB;AACvD,SAASC,aAAa,QAAQ,qBAAqB","ignoreList":[]}
@@ -1,21 +0,0 @@
1
- /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export { deleteVersion } from "./deleteVersion.mjs";
17
- export { deployWebsite } from "./deployWebsite.mjs";
18
- export { getWebsite } from "./getWebsite.mjs";
19
- export { listVersions } from "./listVersions.mjs";
20
- export { undeployWebsite } from "./undeployWebsite.mjs";
21
- export { uploadVersion } from "./uploadVersion.mjs";
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { createFetch } from "../createFetch.mjs";
17
- export async function listVersions(ctx, thirdPartyAppRid) {
18
- const fetch = createFetch(ctx.tokenProvider);
19
- const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website/versions?preview=true`;
20
- const result = await fetch(url);
21
- return result.json();
22
- }
23
- //# sourceMappingURL=listVersions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listVersions.js","names":["createFetch","listVersions","ctx","thirdPartyAppRid","fetch","tokenProvider","url","foundryUrl","result","json"],"sources":["listVersions.mjs"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createFetch } from \"../createFetch.mjs\";\nexport async function listVersions(ctx, thirdPartyAppRid) {\n const fetch = createFetch(ctx.tokenProvider);\n const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website/versions?preview=true`;\n const result = await fetch(url);\n return result.json();\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,WAAW,QAAQ,oBAAoB;AAChD,OAAO,eAAeC,YAAYA,CAACC,GAAG,EAAEC,gBAAgB,EAAE;EACtD,MAAMC,KAAK,GAAGJ,WAAW,CAACE,GAAG,CAACG,aAAa,CAAC;EAC5C,MAAMC,GAAG,GAAG,GAAGJ,GAAG,CAACK,UAAU,kCAAkCJ,gBAAgB,gCAAgC;EAC/G,MAAMK,MAAM,GAAG,MAAMJ,KAAK,CAACE,GAAG,CAAC;EAC/B,OAAOE,MAAM,CAACC,IAAI,CAAC,CAAC;AACxB","ignoreList":[]}
@@ -1,22 +0,0 @@
1
- /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { createFetch } from "../createFetch.mjs";
17
- export async function listVersions(ctx, thirdPartyAppRid) {
18
- const fetch = createFetch(ctx.tokenProvider);
19
- const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website/versions?preview=true`;
20
- const result = await fetch(url);
21
- return result.json();
22
- }
@@ -1,24 +0,0 @@
1
- /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { createFetch } from "../createFetch.mjs";
17
- export async function undeployWebsite(ctx, thirdPartyAppRid) {
18
- const fetch = createFetch(ctx.tokenProvider);
19
- const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website/undeploy?preview=true`;
20
- await fetch(url, {
21
- method: "POST"
22
- });
23
- }
24
- //# sourceMappingURL=undeployWebsite.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"undeployWebsite.js","names":["createFetch","undeployWebsite","ctx","thirdPartyAppRid","fetch","tokenProvider","url","foundryUrl","method"],"sources":["undeployWebsite.mjs"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createFetch } from \"../createFetch.mjs\";\nexport async function undeployWebsite(ctx, thirdPartyAppRid) {\n const fetch = createFetch(ctx.tokenProvider);\n const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website/undeploy?preview=true`;\n await fetch(url, {\n method: \"POST\",\n });\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,WAAW,QAAQ,oBAAoB;AAChD,OAAO,eAAeC,eAAeA,CAACC,GAAG,EAAEC,gBAAgB,EAAE;EACzD,MAAMC,KAAK,GAAGJ,WAAW,CAACE,GAAG,CAACG,aAAa,CAAC;EAC5C,MAAMC,GAAG,GAAG,GAAGJ,GAAG,CAACK,UAAU,kCAAkCJ,gBAAgB,gCAAgC;EAC/G,MAAMC,KAAK,CAACE,GAAG,EAAE;IACbE,MAAM,EAAE;EACZ,CAAC,CAAC;AACN","ignoreList":[]}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { createFetch } from "../createFetch.mjs";
17
- export async function undeployWebsite(ctx, thirdPartyAppRid) {
18
- const fetch = createFetch(ctx.tokenProvider);
19
- const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website/undeploy?preview=true`;
20
- await fetch(url, {
21
- method: "POST",
22
- });
23
- }
@@ -1,30 +0,0 @@
1
- /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { createFetch } from "../createFetch.mjs";
17
- export async function uploadVersion(ctx, thirdPartyAppRid, version, zipFile) {
18
- const fetch = createFetch(ctx.tokenProvider);
19
- const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website/versions/upload?version=${version}&preview=true`;
20
- const result = await fetch(url, {
21
- method: "POST",
22
- body: zipFile,
23
- headers: {
24
- "Content-Type": "application/octet-stream"
25
- },
26
- duplex: "half" // Node hates me
27
- });
28
- return result.json();
29
- }
30
- //# sourceMappingURL=uploadVersion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"uploadVersion.js","names":["createFetch","uploadVersion","ctx","thirdPartyAppRid","version","zipFile","fetch","tokenProvider","url","foundryUrl","result","method","body","headers","duplex","json"],"sources":["uploadVersion.mjs"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createFetch } from \"../createFetch.mjs\";\nexport async function uploadVersion(ctx, thirdPartyAppRid, version, zipFile) {\n const fetch = createFetch(ctx.tokenProvider);\n const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website/versions/upload?version=${version}&preview=true`;\n const result = await fetch(url, {\n method: \"POST\",\n body: zipFile,\n headers: {\n \"Content-Type\": \"application/octet-stream\",\n },\n duplex: \"half\", // Node hates me\n });\n return result.json();\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,WAAW,QAAQ,oBAAoB;AAChD,OAAO,eAAeC,aAAaA,CAACC,GAAG,EAAEC,gBAAgB,EAAEC,OAAO,EAAEC,OAAO,EAAE;EACzE,MAAMC,KAAK,GAAGN,WAAW,CAACE,GAAG,CAACK,aAAa,CAAC;EAC5C,MAAMC,GAAG,GAAG,GAAGN,GAAG,CAACO,UAAU,kCAAkCN,gBAAgB,oCAAoCC,OAAO,eAAe;EACzI,MAAMM,MAAM,GAAG,MAAMJ,KAAK,CAACE,GAAG,EAAE;IAC5BG,MAAM,EAAE,MAAM;IACdC,IAAI,EAAEP,OAAO;IACbQ,OAAO,EAAE;MACL,cAAc,EAAE;IACpB,CAAC;IACDC,MAAM,EAAE,MAAM,CAAE;EACpB,CAAC,CAAC;EACF,OAAOJ,MAAM,CAACK,IAAI,CAAC,CAAC;AACxB","ignoreList":[]}
@@ -1,29 +0,0 @@
1
- /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { createFetch } from "../createFetch.mjs";
17
- export async function uploadVersion(ctx, thirdPartyAppRid, version, zipFile) {
18
- const fetch = createFetch(ctx.tokenProvider);
19
- const url = `${ctx.foundryUrl}/api/v2/thirdPartyApplications/${thirdPartyAppRid}/website/versions/upload?version=${version}&preview=true`;
20
- const result = await fetch(url, {
21
- method: "POST",
22
- body: zipFile,
23
- headers: {
24
- "Content-Type": "application/octet-stream",
25
- },
26
- duplex: "half", // Node hates me
27
- });
28
- return result.json();
29
- }