@superblocksteam/shared 0.9570.0 → 0.9572.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (459) hide show
  1. package/dist/bindings/utils.d.ts.map +1 -1
  2. package/dist/bindings/utils.js.map +1 -1
  3. package/dist/bindings/utils.test.js.map +1 -1
  4. package/dist/constants.d.ts.map +1 -1
  5. package/dist/constants.js.map +1 -1
  6. package/dist/constants.test.js.map +1 -1
  7. package/dist/dbfs/hashing.d.ts.map +1 -1
  8. package/dist/dbfs/hashing.js +1 -1
  9. package/dist/dbfs/hashing.js.map +1 -1
  10. package/dist/errors/integration.d.ts.map +1 -1
  11. package/dist/errors/integration.js +1 -1
  12. package/dist/errors/integration.js.map +1 -1
  13. package/dist/index.d.ts +1 -0
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.js +1 -0
  16. package/dist/index.js.map +1 -1
  17. package/dist/jwt/verifier.d.ts.map +1 -1
  18. package/dist/jwt/verifier.js.map +1 -1
  19. package/dist/jwt/verifier.test.js.map +1 -1
  20. package/dist/org-features/index.test.js.map +1 -1
  21. package/dist/pageMigrations/migrations/v4to5.test.js.map +1 -1
  22. package/dist/pageMigrations/migrations/v5to6.d.ts.map +1 -1
  23. package/dist/pageMigrations/migrations/v5to6.js.map +1 -1
  24. package/dist/pageMigrations/migrations/v5to6.test.js.map +1 -1
  25. package/dist/pageMigrations/migrations/v6to7/adjustModalCanvases.d.ts.map +1 -1
  26. package/dist/pageMigrations/migrations/v6to7/adjustModalCanvases.js.map +1 -1
  27. package/dist/pageMigrations/migrations/v6to7/adjustModalCanvases.test.js.map +1 -1
  28. package/dist/pageMigrations/migrations/v6to7/migrateToDimensions.d.ts.map +1 -1
  29. package/dist/pageMigrations/migrations/v6to7/migrateToDimensions.js.map +1 -1
  30. package/dist/pageMigrations/migrations/v6to7/migrateToDimensions.test.js.map +1 -1
  31. package/dist/pageMigrations/migrations/v6to7/migrateToSections.test.js.map +1 -1
  32. package/dist/pageMigrations/migrations/v6to7/v6to7.test.js.map +1 -1
  33. package/dist/pageMigrations/migrations/v7to8.d.ts.map +1 -1
  34. package/dist/pageMigrations/migrations/v7to8.js.map +1 -1
  35. package/dist/pageMigrations/migrations/v7to8.test.js.map +1 -1
  36. package/dist/pages/pageV8.d.ts.map +1 -1
  37. package/dist/pages/pageV8.js.map +1 -1
  38. package/dist/plugins/registry.d.ts.map +1 -1
  39. package/dist/plugins/registry.js.map +1 -1
  40. package/dist/plugins/templates/gsheets.d.ts.map +1 -1
  41. package/dist/plugins/templates/gsheets.js.map +1 -1
  42. package/dist/plugins/templates/kafka.d.ts.map +1 -1
  43. package/dist/plugins/templates/kafka.js.map +1 -1
  44. package/dist/plugins/templates/mariadb.js +1 -1
  45. package/dist/plugins/templates/mariadb.js.map +1 -1
  46. package/dist/plugins/templates/mssql.js +1 -1
  47. package/dist/plugins/templates/mssql.js.map +1 -1
  48. package/dist/plugins/templates/mysql.js +1 -1
  49. package/dist/plugins/templates/mysql.js.map +1 -1
  50. package/dist/plugins/templates/postgres.js +1 -1
  51. package/dist/plugins/templates/postgres.js.map +1 -1
  52. package/dist/plugins/templates/salesforce.js +1 -1
  53. package/dist/plugins/templates/salesforce.js.map +1 -1
  54. package/dist/plugins/templates/shared/auth.d.ts.map +1 -1
  55. package/dist/plugins/templates/shared/auth.js +18 -0
  56. package/dist/plugins/templates/shared/auth.js.map +1 -1
  57. package/dist/plugins/templates/shared/openapi.d.ts.map +1 -1
  58. package/dist/plugins/templates/shared/openapi.js.map +1 -1
  59. package/dist/plugins/templates/snowflake.js +1 -1
  60. package/dist/plugins/templates/snowflake.js.map +1 -1
  61. package/dist/refactoring/application.d.ts.map +1 -1
  62. package/dist/refactoring/application.js.map +1 -1
  63. package/dist/refactoring/refactor.d.ts.map +1 -1
  64. package/dist/refactoring/refactor.js.map +1 -1
  65. package/dist/refactoring/refactor.test.js.map +1 -1
  66. package/dist/refactoring/rename.d.ts.map +1 -1
  67. package/dist/refactoring/rename.js.map +1 -1
  68. package/dist/refactoring/updates.d.ts.map +1 -1
  69. package/dist/refactoring/updates.js.map +1 -1
  70. package/dist/signing/JSON/index.test.js +1 -1
  71. package/dist/signing/JSON/index.test.js.map +1 -1
  72. package/dist/signing/constants.d.ts.map +1 -1
  73. package/dist/signing/hashing.d.ts.map +1 -1
  74. package/dist/signing/hashing.js.map +1 -1
  75. package/dist/signing/hashing.test.js.map +1 -1
  76. package/dist/signing/index.d.ts +1 -1
  77. package/dist/signing/index.d.ts.map +1 -1
  78. package/dist/signing/index.js +2 -2
  79. package/dist/signing/index.js.map +1 -1
  80. package/dist/signing/index.test.js +1 -1
  81. package/dist/signing/index.test.js.map +1 -1
  82. package/dist/socket/protocol.d.ts +1 -1
  83. package/dist/socket/protocol.d.ts.map +1 -1
  84. package/dist/socket/socket.d.ts.map +1 -1
  85. package/dist/socket/socket.js.map +1 -1
  86. package/dist/socket/socketWithClientAuth.d.ts.map +1 -1
  87. package/dist/socket/socketWithClientAuth.js.map +1 -1
  88. package/dist/socket/tracedSocket.d.ts.map +1 -1
  89. package/dist/socket/tracedSocket.js.map +1 -1
  90. package/dist/tracing/errorSanitizer.test.js.map +1 -1
  91. package/dist/tracing/methodTracing.d.ts.map +1 -1
  92. package/dist/tracing/methodTracing.js.map +1 -1
  93. package/dist/types/api/action.d.ts.map +1 -1
  94. package/dist/types/api/action.js.map +1 -1
  95. package/dist/types/api/execution.d.ts.map +1 -1
  96. package/dist/types/api/execution.js.map +1 -1
  97. package/dist/types/api/index.d.ts.map +1 -1
  98. package/dist/types/api/index.js.map +1 -1
  99. package/dist/types/audit/apiRunDetails.d.ts +6 -0
  100. package/dist/types/audit/apiRunDetails.d.ts.map +1 -1
  101. package/dist/types/audit/apiRunDetails.js +5 -0
  102. package/dist/types/audit/apiRunDetails.js.map +1 -1
  103. package/dist/types/audit/audit.d.ts +12 -0
  104. package/dist/types/audit/audit.d.ts.map +1 -1
  105. package/dist/types/audit/audit.js +9 -2
  106. package/dist/types/audit/audit.js.map +1 -1
  107. package/dist/types/audit/index.d.ts +1 -0
  108. package/dist/types/audit/index.d.ts.map +1 -1
  109. package/dist/types/audit/index.js +1 -0
  110. package/dist/types/audit/index.js.map +1 -1
  111. package/dist/types/audit/ocsf.d.ts +101 -0
  112. package/dist/types/audit/ocsf.d.ts.map +1 -0
  113. package/dist/types/audit/ocsf.js +70 -0
  114. package/dist/types/audit/ocsf.js.map +1 -0
  115. package/dist/types/billing/billing.d.ts +3 -0
  116. package/dist/types/billing/billing.d.ts.map +1 -1
  117. package/dist/types/common/file.test.js.map +1 -1
  118. package/dist/types/datasource/auth.d.ts +2 -0
  119. package/dist/types/datasource/auth.d.ts.map +1 -1
  120. package/dist/types/datasource/auth.js +5 -0
  121. package/dist/types/datasource/auth.js.map +1 -1
  122. package/dist/types/datasource/auth.test.d.ts +2 -0
  123. package/dist/types/datasource/auth.test.d.ts.map +1 -0
  124. package/dist/types/datasource/auth.test.js +58 -0
  125. package/dist/types/datasource/auth.test.js.map +1 -0
  126. package/dist/types/datasource/index.d.ts.map +1 -1
  127. package/dist/types/datasource/index.js.map +1 -1
  128. package/dist/types/datasource/index.test.js.map +1 -1
  129. package/dist/types/datasource/metadata/index.d.ts.map +1 -1
  130. package/dist/types/datasource/metadata/index.js.map +1 -1
  131. package/dist/types/datasource/test.d.ts +1 -1
  132. package/dist/types/datasource/test.d.ts.map +1 -1
  133. package/dist/types/deployment/index.d.ts +1 -1
  134. package/dist/types/deployment/index.d.ts.map +1 -1
  135. package/dist/types/event/index.d.ts +1 -0
  136. package/dist/types/event/index.d.ts.map +1 -1
  137. package/dist/types/event/index.js +1 -0
  138. package/dist/types/event/index.js.map +1 -1
  139. package/dist/types/metadata/index.d.ts.map +1 -1
  140. package/dist/types/metadata/index.js.map +1 -1
  141. package/dist/types/organization/agent.d.ts.map +1 -1
  142. package/dist/types/organization/agent.js.map +1 -1
  143. package/dist/types/organization/agent.test.js.map +1 -1
  144. package/dist/types/page/Dimension.test.js.map +1 -1
  145. package/dist/types/page/event.d.ts.map +1 -1
  146. package/dist/types/page/event.js.map +1 -1
  147. package/dist/types/page/layout.d.ts +1 -1
  148. package/dist/types/page/layout.d.ts.map +1 -1
  149. package/dist/types/plugin/evaluation.d.ts.map +1 -1
  150. package/dist/types/plugin/evaluation.js.map +1 -1
  151. package/dist/types/response/GetAuditLogsEntitiesResponseBody.d.ts +1 -0
  152. package/dist/types/response/GetAuditLogsEntitiesResponseBody.d.ts.map +1 -1
  153. package/dist/types/response/GetAuditLogsResponseBody.d.ts +1 -0
  154. package/dist/types/response/GetAuditLogsResponseBody.d.ts.map +1 -1
  155. package/dist/utils/apiv2.d.ts.map +1 -1
  156. package/dist/utils/apiv2.js.map +1 -1
  157. package/dist/utils/apiv2.test.js +1 -1
  158. package/dist/utils/apiv2.test.js.map +1 -1
  159. package/dist/utils/attachment-upload.test.js.map +1 -1
  160. package/dist/utils/configuration.d.ts.map +1 -1
  161. package/dist/utils/configuration.js.map +1 -1
  162. package/dist/utils/configuration.test.js.map +1 -1
  163. package/dist/utils/env.test.js.map +1 -1
  164. package/dist/utils/environment.test.js.map +1 -1
  165. package/dist/utils/git-url.test.js.map +1 -1
  166. package/dist/utils/gitlab-workflow.d.ts +3 -0
  167. package/dist/utils/gitlab-workflow.d.ts.map +1 -0
  168. package/dist/utils/gitlab-workflow.js +35 -0
  169. package/dist/utils/gitlab-workflow.js.map +1 -0
  170. package/dist/utils/normalize.d.ts.map +1 -1
  171. package/dist/utils/normalize.js.map +1 -1
  172. package/dist/utils/page.d.ts.map +1 -1
  173. package/dist/utils/page.js.map +1 -1
  174. package/dist/utils/page.test.js.map +1 -1
  175. package/dist/utils/string.test.js.map +1 -1
  176. package/dist/utils/tracedEventEmitter.d.ts.map +1 -1
  177. package/dist/utils/tracedEventEmitter.js.map +1 -1
  178. package/dist/utils/tracedEventEmitter.test.js.map +1 -1
  179. package/dist/utils/truncate.test.js.map +1 -1
  180. package/dist/utils/url.d.ts.map +1 -1
  181. package/dist/utils/url.js.map +1 -1
  182. package/dist/utils/url.test.js.map +1 -1
  183. package/dist-esm/bindings/utils.d.ts.map +1 -1
  184. package/dist-esm/bindings/utils.js.map +1 -1
  185. package/dist-esm/bindings/utils.test.js.map +1 -1
  186. package/dist-esm/constants.d.ts.map +1 -1
  187. package/dist-esm/constants.js.map +1 -1
  188. package/dist-esm/constants.test.js.map +1 -1
  189. package/dist-esm/dbfs/hashing.d.ts.map +1 -1
  190. package/dist-esm/dbfs/hashing.js +1 -1
  191. package/dist-esm/dbfs/hashing.js.map +1 -1
  192. package/dist-esm/errors/integration.d.ts.map +1 -1
  193. package/dist-esm/errors/integration.js +1 -1
  194. package/dist-esm/errors/integration.js.map +1 -1
  195. package/dist-esm/index.d.ts +1 -0
  196. package/dist-esm/index.d.ts.map +1 -1
  197. package/dist-esm/index.js +1 -0
  198. package/dist-esm/index.js.map +1 -1
  199. package/dist-esm/jwt/verifier.d.ts.map +1 -1
  200. package/dist-esm/jwt/verifier.js.map +1 -1
  201. package/dist-esm/jwt/verifier.test.js.map +1 -1
  202. package/dist-esm/org-features/index.test.js.map +1 -1
  203. package/dist-esm/pageMigrations/migrations/v4to5.test.js.map +1 -1
  204. package/dist-esm/pageMigrations/migrations/v5to6.d.ts.map +1 -1
  205. package/dist-esm/pageMigrations/migrations/v5to6.js.map +1 -1
  206. package/dist-esm/pageMigrations/migrations/v5to6.test.js.map +1 -1
  207. package/dist-esm/pageMigrations/migrations/v6to7/adjustModalCanvases.d.ts.map +1 -1
  208. package/dist-esm/pageMigrations/migrations/v6to7/adjustModalCanvases.js.map +1 -1
  209. package/dist-esm/pageMigrations/migrations/v6to7/adjustModalCanvases.test.js.map +1 -1
  210. package/dist-esm/pageMigrations/migrations/v6to7/migrateToDimensions.d.ts.map +1 -1
  211. package/dist-esm/pageMigrations/migrations/v6to7/migrateToDimensions.js.map +1 -1
  212. package/dist-esm/pageMigrations/migrations/v6to7/migrateToDimensions.test.js.map +1 -1
  213. package/dist-esm/pageMigrations/migrations/v6to7/migrateToSections.test.js.map +1 -1
  214. package/dist-esm/pageMigrations/migrations/v6to7/v6to7.test.js.map +1 -1
  215. package/dist-esm/pageMigrations/migrations/v7to8.d.ts.map +1 -1
  216. package/dist-esm/pageMigrations/migrations/v7to8.js.map +1 -1
  217. package/dist-esm/pageMigrations/migrations/v7to8.test.js.map +1 -1
  218. package/dist-esm/pages/pageV8.d.ts.map +1 -1
  219. package/dist-esm/pages/pageV8.js.map +1 -1
  220. package/dist-esm/plugins/registry.d.ts.map +1 -1
  221. package/dist-esm/plugins/registry.js.map +1 -1
  222. package/dist-esm/plugins/templates/gsheets.d.ts.map +1 -1
  223. package/dist-esm/plugins/templates/gsheets.js.map +1 -1
  224. package/dist-esm/plugins/templates/kafka.d.ts.map +1 -1
  225. package/dist-esm/plugins/templates/kafka.js.map +1 -1
  226. package/dist-esm/plugins/templates/mariadb.js +1 -1
  227. package/dist-esm/plugins/templates/mariadb.js.map +1 -1
  228. package/dist-esm/plugins/templates/mssql.js +1 -1
  229. package/dist-esm/plugins/templates/mssql.js.map +1 -1
  230. package/dist-esm/plugins/templates/mysql.js +1 -1
  231. package/dist-esm/plugins/templates/mysql.js.map +1 -1
  232. package/dist-esm/plugins/templates/postgres.js +1 -1
  233. package/dist-esm/plugins/templates/postgres.js.map +1 -1
  234. package/dist-esm/plugins/templates/salesforce.js +1 -1
  235. package/dist-esm/plugins/templates/salesforce.js.map +1 -1
  236. package/dist-esm/plugins/templates/shared/auth.d.ts.map +1 -1
  237. package/dist-esm/plugins/templates/shared/auth.js +18 -0
  238. package/dist-esm/plugins/templates/shared/auth.js.map +1 -1
  239. package/dist-esm/plugins/templates/shared/openapi.d.ts.map +1 -1
  240. package/dist-esm/plugins/templates/shared/openapi.js.map +1 -1
  241. package/dist-esm/plugins/templates/snowflake.js +1 -1
  242. package/dist-esm/plugins/templates/snowflake.js.map +1 -1
  243. package/dist-esm/refactoring/application.d.ts.map +1 -1
  244. package/dist-esm/refactoring/application.js.map +1 -1
  245. package/dist-esm/refactoring/refactor.d.ts.map +1 -1
  246. package/dist-esm/refactoring/refactor.js.map +1 -1
  247. package/dist-esm/refactoring/refactor.test.js.map +1 -1
  248. package/dist-esm/refactoring/rename.d.ts.map +1 -1
  249. package/dist-esm/refactoring/rename.js.map +1 -1
  250. package/dist-esm/refactoring/updates.d.ts.map +1 -1
  251. package/dist-esm/refactoring/updates.js.map +1 -1
  252. package/dist-esm/signing/JSON/index.test.js +1 -1
  253. package/dist-esm/signing/JSON/index.test.js.map +1 -1
  254. package/dist-esm/signing/constants.d.ts.map +1 -1
  255. package/dist-esm/signing/hashing.d.ts.map +1 -1
  256. package/dist-esm/signing/hashing.js.map +1 -1
  257. package/dist-esm/signing/hashing.test.js.map +1 -1
  258. package/dist-esm/signing/index.d.ts +1 -1
  259. package/dist-esm/signing/index.d.ts.map +1 -1
  260. package/dist-esm/signing/index.js +2 -2
  261. package/dist-esm/signing/index.js.map +1 -1
  262. package/dist-esm/signing/index.test.js +1 -1
  263. package/dist-esm/signing/index.test.js.map +1 -1
  264. package/dist-esm/socket/protocol.d.ts +1 -1
  265. package/dist-esm/socket/protocol.d.ts.map +1 -1
  266. package/dist-esm/socket/socket.d.ts.map +1 -1
  267. package/dist-esm/socket/socket.js.map +1 -1
  268. package/dist-esm/socket/socketWithClientAuth.d.ts.map +1 -1
  269. package/dist-esm/socket/socketWithClientAuth.js.map +1 -1
  270. package/dist-esm/socket/tracedSocket.d.ts.map +1 -1
  271. package/dist-esm/socket/tracedSocket.js.map +1 -1
  272. package/dist-esm/tracing/errorSanitizer.test.js.map +1 -1
  273. package/dist-esm/tracing/methodTracing.d.ts.map +1 -1
  274. package/dist-esm/tracing/methodTracing.js.map +1 -1
  275. package/dist-esm/types/api/action.d.ts.map +1 -1
  276. package/dist-esm/types/api/action.js.map +1 -1
  277. package/dist-esm/types/api/execution.d.ts.map +1 -1
  278. package/dist-esm/types/api/execution.js.map +1 -1
  279. package/dist-esm/types/api/index.d.ts.map +1 -1
  280. package/dist-esm/types/api/index.js.map +1 -1
  281. package/dist-esm/types/audit/apiRunDetails.d.ts +6 -0
  282. package/dist-esm/types/audit/apiRunDetails.d.ts.map +1 -1
  283. package/dist-esm/types/audit/apiRunDetails.js +5 -0
  284. package/dist-esm/types/audit/apiRunDetails.js.map +1 -1
  285. package/dist-esm/types/audit/audit.d.ts +12 -0
  286. package/dist-esm/types/audit/audit.d.ts.map +1 -1
  287. package/dist-esm/types/audit/audit.js +9 -2
  288. package/dist-esm/types/audit/audit.js.map +1 -1
  289. package/dist-esm/types/audit/index.d.ts +1 -0
  290. package/dist-esm/types/audit/index.d.ts.map +1 -1
  291. package/dist-esm/types/audit/index.js +1 -0
  292. package/dist-esm/types/audit/index.js.map +1 -1
  293. package/dist-esm/types/audit/ocsf.d.ts +101 -0
  294. package/dist-esm/types/audit/ocsf.d.ts.map +1 -0
  295. package/dist-esm/types/audit/ocsf.js +65 -0
  296. package/dist-esm/types/audit/ocsf.js.map +1 -0
  297. package/dist-esm/types/billing/billing.d.ts +3 -0
  298. package/dist-esm/types/billing/billing.d.ts.map +1 -1
  299. package/dist-esm/types/common/file.test.js.map +1 -1
  300. package/dist-esm/types/datasource/auth.d.ts +2 -0
  301. package/dist-esm/types/datasource/auth.d.ts.map +1 -1
  302. package/dist-esm/types/datasource/auth.js +5 -0
  303. package/dist-esm/types/datasource/auth.js.map +1 -1
  304. package/dist-esm/types/datasource/auth.test.d.ts +2 -0
  305. package/dist-esm/types/datasource/auth.test.d.ts.map +1 -0
  306. package/dist-esm/types/datasource/auth.test.js +56 -0
  307. package/dist-esm/types/datasource/auth.test.js.map +1 -0
  308. package/dist-esm/types/datasource/index.d.ts.map +1 -1
  309. package/dist-esm/types/datasource/index.js.map +1 -1
  310. package/dist-esm/types/datasource/index.test.js.map +1 -1
  311. package/dist-esm/types/datasource/metadata/index.d.ts.map +1 -1
  312. package/dist-esm/types/datasource/metadata/index.js.map +1 -1
  313. package/dist-esm/types/datasource/test.d.ts +1 -1
  314. package/dist-esm/types/datasource/test.d.ts.map +1 -1
  315. package/dist-esm/types/deployment/index.d.ts +1 -1
  316. package/dist-esm/types/deployment/index.d.ts.map +1 -1
  317. package/dist-esm/types/event/index.d.ts +1 -0
  318. package/dist-esm/types/event/index.d.ts.map +1 -1
  319. package/dist-esm/types/event/index.js +1 -0
  320. package/dist-esm/types/event/index.js.map +1 -1
  321. package/dist-esm/types/metadata/index.d.ts.map +1 -1
  322. package/dist-esm/types/metadata/index.js.map +1 -1
  323. package/dist-esm/types/organization/agent.d.ts.map +1 -1
  324. package/dist-esm/types/organization/agent.js.map +1 -1
  325. package/dist-esm/types/organization/agent.test.js.map +1 -1
  326. package/dist-esm/types/page/Dimension.test.js.map +1 -1
  327. package/dist-esm/types/page/event.d.ts.map +1 -1
  328. package/dist-esm/types/page/event.js.map +1 -1
  329. package/dist-esm/types/page/layout.d.ts +1 -1
  330. package/dist-esm/types/page/layout.d.ts.map +1 -1
  331. package/dist-esm/types/plugin/evaluation.d.ts.map +1 -1
  332. package/dist-esm/types/plugin/evaluation.js.map +1 -1
  333. package/dist-esm/types/response/GetAuditLogsEntitiesResponseBody.d.ts +1 -0
  334. package/dist-esm/types/response/GetAuditLogsEntitiesResponseBody.d.ts.map +1 -1
  335. package/dist-esm/types/response/GetAuditLogsResponseBody.d.ts +1 -0
  336. package/dist-esm/types/response/GetAuditLogsResponseBody.d.ts.map +1 -1
  337. package/dist-esm/utils/apiv2.d.ts.map +1 -1
  338. package/dist-esm/utils/apiv2.js.map +1 -1
  339. package/dist-esm/utils/apiv2.test.js +1 -1
  340. package/dist-esm/utils/apiv2.test.js.map +1 -1
  341. package/dist-esm/utils/attachment-upload.test.js.map +1 -1
  342. package/dist-esm/utils/configuration.d.ts.map +1 -1
  343. package/dist-esm/utils/configuration.js.map +1 -1
  344. package/dist-esm/utils/configuration.test.js.map +1 -1
  345. package/dist-esm/utils/env.test.js.map +1 -1
  346. package/dist-esm/utils/environment.test.js.map +1 -1
  347. package/dist-esm/utils/git-url.test.js.map +1 -1
  348. package/dist-esm/utils/gitlab-workflow.d.ts +3 -0
  349. package/dist-esm/utils/gitlab-workflow.d.ts.map +1 -0
  350. package/dist-esm/utils/gitlab-workflow.js +31 -0
  351. package/dist-esm/utils/gitlab-workflow.js.map +1 -0
  352. package/dist-esm/utils/normalize.d.ts.map +1 -1
  353. package/dist-esm/utils/normalize.js.map +1 -1
  354. package/dist-esm/utils/page.d.ts.map +1 -1
  355. package/dist-esm/utils/page.js.map +1 -1
  356. package/dist-esm/utils/page.test.js.map +1 -1
  357. package/dist-esm/utils/string.test.js.map +1 -1
  358. package/dist-esm/utils/tracedEventEmitter.d.ts.map +1 -1
  359. package/dist-esm/utils/tracedEventEmitter.js.map +1 -1
  360. package/dist-esm/utils/tracedEventEmitter.test.js.map +1 -1
  361. package/dist-esm/utils/truncate.test.js.map +1 -1
  362. package/dist-esm/utils/url.d.ts.map +1 -1
  363. package/dist-esm/utils/url.js.map +1 -1
  364. package/dist-esm/utils/url.test.js.map +1 -1
  365. package/package.json +1 -1
  366. package/src/bindings/utils.test.ts +1 -0
  367. package/src/bindings/utils.ts +1 -0
  368. package/src/constants.test.ts +3 -1
  369. package/src/constants.ts +1 -0
  370. package/src/dbfs/hashing.ts +2 -1
  371. package/src/errors/integration.ts +2 -1
  372. package/src/index.ts +1 -0
  373. package/src/jwt/verifier.test.ts +2 -2
  374. package/src/jwt/verifier.ts +1 -0
  375. package/src/org-features/index.test.ts +1 -0
  376. package/src/pageMigrations/migrations/v4to5.test.ts +1 -0
  377. package/src/pageMigrations/migrations/v5to6.test.ts +1 -0
  378. package/src/pageMigrations/migrations/v5to6.ts +1 -0
  379. package/src/pageMigrations/migrations/v6to7/adjustModalCanvases.test.ts +1 -0
  380. package/src/pageMigrations/migrations/v6to7/adjustModalCanvases.ts +1 -0
  381. package/src/pageMigrations/migrations/v6to7/migrateToDimensions.test.ts +1 -0
  382. package/src/pageMigrations/migrations/v6to7/migrateToDimensions.ts +1 -0
  383. package/src/pageMigrations/migrations/v6to7/migrateToSections.test.ts +1 -0
  384. package/src/pageMigrations/migrations/v6to7/v6to7.test.ts +1 -0
  385. package/src/pageMigrations/migrations/v7to8.test.ts +1 -0
  386. package/src/pageMigrations/migrations/v7to8.ts +1 -0
  387. package/src/pages/pageV8.ts +1 -0
  388. package/src/plugins/registry.ts +0 -1
  389. package/src/plugins/templates/gsheets.ts +0 -1
  390. package/src/plugins/templates/kafka.ts +1 -0
  391. package/src/plugins/templates/mariadb.ts +1 -1
  392. package/src/plugins/templates/mssql.ts +1 -1
  393. package/src/plugins/templates/mysql.ts +1 -1
  394. package/src/plugins/templates/postgres.ts +1 -1
  395. package/src/plugins/templates/salesforce.ts +1 -1
  396. package/src/plugins/templates/shared/auth.ts +18 -0
  397. package/src/plugins/templates/shared/openapi.ts +1 -0
  398. package/src/plugins/templates/snowflake.ts +1 -1
  399. package/src/refactoring/application.ts +1 -0
  400. package/src/refactoring/refactor.test.ts +1 -0
  401. package/src/refactoring/refactor.ts +1 -0
  402. package/src/refactoring/rename.ts +1 -0
  403. package/src/refactoring/updates.ts +1 -0
  404. package/src/signing/JSON/index.test.ts +2 -1
  405. package/src/signing/constants.ts +1 -0
  406. package/src/signing/hashing.test.ts +1 -0
  407. package/src/signing/hashing.ts +1 -0
  408. package/src/signing/index.test.ts +3 -1
  409. package/src/signing/index.ts +5 -3
  410. package/src/socket/protocol.ts +13 -13
  411. package/src/socket/socket.ts +1 -0
  412. package/src/socket/socketWithClientAuth.ts +1 -0
  413. package/src/socket/tracedSocket.ts +1 -0
  414. package/src/tracing/errorSanitizer.test.ts +1 -0
  415. package/src/tracing/methodTracing.ts +1 -0
  416. package/src/types/api/action.ts +1 -0
  417. package/src/types/api/execution.ts +3 -1
  418. package/src/types/api/index.ts +1 -0
  419. package/src/types/audit/apiRunDetails.ts +7 -0
  420. package/src/types/audit/audit.ts +13 -2
  421. package/src/types/audit/index.ts +1 -0
  422. package/src/types/audit/ocsf.ts +121 -0
  423. package/src/types/billing/billing.ts +3 -0
  424. package/src/types/common/file.test.ts +1 -0
  425. package/src/types/datasource/auth.test.ts +64 -0
  426. package/src/types/datasource/auth.ts +6 -0
  427. package/src/types/datasource/index.test.ts +1 -0
  428. package/src/types/datasource/index.ts +1 -0
  429. package/src/types/datasource/metadata/index.ts +1 -0
  430. package/src/types/datasource/test.ts +1 -1
  431. package/src/types/deployment/index.ts +1 -1
  432. package/src/types/event/index.ts +1 -0
  433. package/src/types/metadata/index.ts +1 -0
  434. package/src/types/organization/agent.test.ts +1 -0
  435. package/src/types/organization/agent.ts +1 -0
  436. package/src/types/page/Dimension.test.ts +1 -0
  437. package/src/types/page/event.ts +1 -0
  438. package/src/types/page/layout.ts +1 -1
  439. package/src/types/plugin/evaluation.ts +1 -1
  440. package/src/types/response/GetAuditLogsEntitiesResponseBody.ts +1 -0
  441. package/src/types/response/GetAuditLogsResponseBody.ts +1 -0
  442. package/src/utils/apiv2.test.ts +3 -1
  443. package/src/utils/apiv2.ts +1 -0
  444. package/src/utils/attachment-upload.test.ts +1 -0
  445. package/src/utils/configuration.test.ts +1 -0
  446. package/src/utils/configuration.ts +1 -1
  447. package/src/utils/env.test.ts +1 -0
  448. package/src/utils/environment.test.ts +1 -0
  449. package/src/utils/git-url.test.ts +1 -0
  450. package/src/utils/gitlab-workflow.ts +33 -0
  451. package/src/utils/normalize.ts +1 -0
  452. package/src/utils/page.test.ts +1 -0
  453. package/src/utils/page.ts +1 -0
  454. package/src/utils/string.test.ts +1 -0
  455. package/src/utils/tracedEventEmitter.test.ts +1 -0
  456. package/src/utils/tracedEventEmitter.ts +2 -0
  457. package/src/utils/truncate.test.ts +1 -0
  458. package/src/utils/url.test.ts +1 -0
  459. package/src/utils/url.ts +1 -0
@@ -1,6 +1,7 @@
1
1
  import type { BufferSource } from 'node:stream/web';
2
- import { sha256Object } from '../signing/index.js';
2
+
3
3
  import { sha256Base64 } from '../signing/hashing.js';
4
+ import { sha256Object } from '../signing/index.js';
4
5
  import unreachable from '../utils/unreachable.js';
5
6
  import type { DirectoryEntry } from './types.js';
6
7
 
@@ -1,7 +1,8 @@
1
1
  // Integration errors are external errors to Superblocks and thrown from API execution
2
- import { Code as CommonErrorCode } from '@superblocksteam/types';
3
2
  import { isEmpty } from 'lodash';
4
3
 
4
+ import { Code as CommonErrorCode } from '@superblocksteam/types';
5
+
5
6
  interface IntegrationInternalError {
6
7
  code?: number | string;
7
8
  pluginName?: string;
package/src/index.ts CHANGED
@@ -9,6 +9,7 @@ export * from './constants.js';
9
9
  export * from './pageMigrations/index.js';
10
10
  export * from './utils/appDSL.js';
11
11
  export * from './utils/github-workflow.js';
12
+ export * from './utils/gitlab-workflow.js';
12
13
  export * from './pages/index.js';
13
14
  export * from './utils/page.js';
14
15
  export * from './utils/response-dto.js';
@@ -1,9 +1,9 @@
1
1
  import { generateKeyPairSync } from 'node:crypto';
2
- import { SignJWT, importPKCS8 } from 'jose';
3
2
 
3
+ import { SignJWT, importPKCS8 } from 'jose';
4
4
  import { type JWTPayload } from 'jose';
5
-
6
5
  import { vi, describe, it, expect, beforeAll } from 'vitest';
6
+
7
7
  import { JwtVerifier, JwtVerifierOptions, JwtKey } from './verifier.js';
8
8
  type SigningMaterial = {
9
9
  privateKeyPem: string;
@@ -1,6 +1,7 @@
1
1
  import { createLocalJWKSet, createRemoteJWKSet, decodeProtectedHeader, jwtVerify } from 'jose';
2
2
  import type { JWTPayload, JWTVerifyOptions, RemoteJWKSetOptions } from 'jose';
3
3
  import { isEmpty } from 'lodash';
4
+
4
5
  import { UnauthorizedError } from '../errors/index.js';
5
6
 
6
7
  /**
@@ -1,4 +1,5 @@
1
1
  import { describe, test, expect } from 'vitest';
2
+
2
3
  import { orgHasFeature, OrgFeature, OrgVersion } from './index.js';
3
4
 
4
5
  describe('orgHasFeature', () => {
@@ -5,6 +5,7 @@
5
5
 
6
6
  import { cloneDeep } from 'lodash';
7
7
  import { describe, it, expect } from 'vitest';
8
+
8
9
  import type { PageDSL4and5 } from '../../types/index.js';
9
10
  import containerV4 from '../../utils/pageFixtures/v4/container.js';
10
11
  import emptyV4 from '../../utils/pageFixtures/v4/empty.js';
@@ -7,6 +7,7 @@
7
7
 
8
8
  import { cloneDeep } from 'lodash';
9
9
  import { describe, it, expect } from 'vitest';
10
+
10
11
  import type { PageDSL4and5, WidgetProps4and5 } from '../../types/index.js';
11
12
  import containerV4 from '../../utils/pageFixtures/v4/container.js';
12
13
  import codeTrigger from '../../utils/pageFixtures/v5/codeTrigger.js';
@@ -1,4 +1,5 @@
1
1
  import { get, isArray, isEmpty, isString, set, uniq } from 'lodash';
2
+
2
3
  import type { PageDSL4and5, PageDSL6 } from '../../types/index.js';
3
4
 
4
5
  const WIDGET_TO_TRIGGER = {
@@ -7,6 +7,7 @@
7
7
 
8
8
  import { cloneDeep } from 'lodash';
9
9
  import { describe, test, expect } from 'vitest';
10
+
10
11
  import with2ModalsAppV6DSL from '../../../utils/pageFixtures/v6/with_2_modals.js';
11
12
  import { adjustModalCanvases } from './adjustModalCanvases.js';
12
13
  import { migrate6to7 } from './v6to7.js';
@@ -4,6 +4,7 @@
4
4
  // Note that `!` does not change the runtime behavior of the code so the code will work the same way as before.
5
5
 
6
6
  import { cloneDeep } from 'lodash';
7
+
7
8
  import type { PageDSL6, WidgetProps6 } from '../../../types/index.js';
8
9
 
9
10
  enum ModalSize {
@@ -1,5 +1,6 @@
1
1
  import { cloneDeep } from 'lodash';
2
2
  import { describe, test, expect } from 'vitest';
3
+
3
4
  import type { WidgetProps6, WidgetProps7 } from '../../../types/index.js';
4
5
  import containerV4 from '../../../utils/pageFixtures/v4/container.js';
5
6
  import { migrate4to5 } from '../v4to5.js';
@@ -1,4 +1,5 @@
1
1
  import { cloneDeep } from 'lodash';
2
+
2
3
  import { Dimension, type PageDSL6, type PageDSL7, type WidgetProps6, type WidgetProps7 } from '../../../types/index.js';
3
4
 
4
5
  const SLIDEOUT_DEFAULT_COLUMNS = 80;
@@ -1,4 +1,5 @@
1
1
  import { describe, it, expect } from 'vitest';
2
+
2
3
  import type { PageDSL6 } from '../../../types/index.js';
3
4
  import { findNextWidgetNameWithSuffix, findAllInstancesOfWidgetNameWithPrefix } from './migrateToSections.js';
4
5
 
@@ -1,5 +1,6 @@
1
1
  import { cloneDeep } from 'lodash';
2
2
  import { describe, it, expect } from 'vitest';
3
+
3
4
  import type { PageDSL6 } from '../../../index.js';
4
5
  import initialAppV6DSL from '../../../utils/pageFixtures/v6/initial_app.js';
5
6
  import withNestedModal from '../../../utils/pageFixtures/v6/nested_modal.js';
@@ -1,5 +1,6 @@
1
1
  import { cloneDeep, get, omit } from 'lodash';
2
2
  import { describe, it, expect } from 'vitest';
3
+
3
4
  import type { PageDSL7, WidgetProps7 } from '../../types/index.js';
4
5
  import canvases from '../../utils/pageFixtures/v7/canvases.js';
5
6
  import gridsAndForms from '../../utils/pageFixtures/v7/grids_and_forms.js';
@@ -1,4 +1,5 @@
1
1
  import { cloneDeep, isEqual } from 'lodash';
2
+
2
3
  import type { PageDSL7, PageDSL8, WidgetProps7, WidgetProps8 } from '../../types/index.js';
3
4
 
4
5
  // if these properties have been cleared by the user,
@@ -1,4 +1,5 @@
1
1
  import { cloneDeep } from 'lodash';
2
+
2
3
  import type { PageDSL8 } from '../types/index.js';
3
4
  import page7 from './pageV7.js';
4
5
 
@@ -1,5 +1,4 @@
1
1
  import { Plugin } from '../types/index.js';
2
-
3
2
  import {
4
3
  // AdlsPlugin,
5
4
  AirtablePlugin,
@@ -8,7 +8,6 @@ import {
8
8
  PluginResponseType,
9
9
  PluginType
10
10
  } from '../../types/index.js';
11
-
12
11
  import { SERVICE_ACCOUNT_GHOST_TEXT, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
13
12
  import { authSections } from './shared/auth.js';
14
13
  import { markAsDeprecated, sortByDisplayName } from './utils.js';
@@ -1,4 +1,5 @@
1
1
  import { KafkaV1 as Kafka } from '@superblocksteam/types';
2
+
2
3
  import { EditorLanguage, FormComponentType, InputDataType, Plugin, PluginResponseType, PluginType } from '../../types/index.js';
3
4
  import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
4
5
 
@@ -9,8 +9,8 @@ import {
9
9
  PluginType
10
10
  } from '../../types/index.js';
11
11
  import { PARAMETERIZED_SQL_DESCRIPTION, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
12
- import { SqlOperations } from './shared/index.js';
13
12
  import { CONNECTION_METHODS_AND_DISPLAY_NAMES, makeDropdownItem } from './shared/db.js';
13
+ import { SqlOperations } from './shared/index.js';
14
14
 
15
15
  const MariaDBPluginVersions = {
16
16
  V1: '0.0.1',
@@ -9,8 +9,8 @@ import {
9
9
  PluginType
10
10
  } from '../../types/index.js';
11
11
  import { PARAMETERIZED_SQL_DESCRIPTION, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
12
- import { SqlOperations } from './shared/index.js';
13
12
  import { CONNECTION_METHODS_AND_DISPLAY_NAMES, makeDropdownItem } from './shared/db.js';
13
+ import { SqlOperations } from './shared/index.js';
14
14
 
15
15
  const MicrosoftSQLPluginVersions = {
16
16
  V1: '0.0.1',
@@ -9,8 +9,8 @@ import {
9
9
  PluginType
10
10
  } from '../../types/index.js';
11
11
  import { PARAMETERIZED_SQL_DESCRIPTION, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
12
- import { SqlOperations, sshTunnelSections } from './shared/index.js';
13
12
  import { CONNECTION_METHODS_AND_DISPLAY_NAMES, makeDropdownItem } from './shared/db.js';
13
+ import { SqlOperations, sshTunnelSections } from './shared/index.js';
14
14
 
15
15
  const MySQLPluginVersions = {
16
16
  V1: '0.0.1',
@@ -9,8 +9,8 @@ import {
9
9
  PluginType
10
10
  } from '../../types/index.js';
11
11
  import { PARAMETERIZED_SQL_DESCRIPTION, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
12
- import { SqlOperations, sshTunnelSections } from './shared/index.js';
13
12
  import { CONNECTION_METHODS_AND_DISPLAY_NAMES, makeDropdownItem } from './shared/db.js';
13
+ import { SqlOperations, sshTunnelSections } from './shared/index.js';
14
14
 
15
15
  const PostgresPluginVersions = {
16
16
  V1: '0.0.1',
@@ -9,6 +9,7 @@ import {
9
9
  PluginResponseType,
10
10
  PluginType
11
11
  } from '../../types/index.js';
12
+ import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
12
13
  import {
13
14
  BASE_CLIENT_ID,
14
15
  BASE_CLIENT_SECRET,
@@ -18,7 +19,6 @@ import {
18
19
  BASE_SUBJECT_TOKEN_TYPE,
19
20
  BASE_TOKEN_URL
20
21
  } from './shared/index.js';
21
- import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
22
22
  import { authSections } from './shared/index.js';
23
23
 
24
24
  export const SalesforcePluginVersions = {
@@ -954,6 +954,19 @@ export const authSections = ({
954
954
  ]
955
955
  }
956
956
  }
957
+ },
958
+ {
959
+ label: '',
960
+ messageTemplate: `Your identity provider token from SSO login will be available as **\`{{ oauth.token }}\`**. Add it to a header or parameter.
961
+ This method requires an interactive session — it cannot be used in Workflows or Scheduled Jobs.`,
962
+ name: 'IdpTokenPassthroughAlert',
963
+ startVersion,
964
+ componentType: FormComponentType.ALERT,
965
+ display: {
966
+ show: {
967
+ authType: [IntegrationAuthType.OAUTH2_IDP_TOKEN_PASSTHROUGH]
968
+ }
969
+ }
957
970
  }
958
971
  ],
959
972
  fieldNamesToHide
@@ -1527,6 +1540,11 @@ function authTypeOptions({
1527
1540
  value: IntegrationAuthType.OAUTH2_TOKEN_EXCHANGE,
1528
1541
  key: IntegrationAuthType.OAUTH2_TOKEN_EXCHANGE
1529
1542
  });
1543
+ options.push({
1544
+ displayName: getDisplayName(IntegrationAuthType.OAUTH2_IDP_TOKEN_PASSTHROUGH),
1545
+ value: IntegrationAuthType.OAUTH2_IDP_TOKEN_PASSTHROUGH,
1546
+ key: IntegrationAuthType.OAUTH2_IDP_TOKEN_PASSTHROUGH
1547
+ });
1530
1548
  }
1531
1549
 
1532
1550
  if (enabledMethods.oauth2BringYourOwn) {
@@ -1,4 +1,5 @@
1
1
  import { isEmpty } from 'lodash';
2
+
2
3
  import {
3
4
  ActionResponseType,
4
5
  EditorLanguage,
@@ -9,6 +9,7 @@ import {
9
9
  IntegrationAuthType
10
10
  } from '../../types/index.js';
11
11
  import { PARAMETERIZED_SQL_DESCRIPTION, SQL_INITIAL_TEXT, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
12
+ import { makeDropdownItem } from './shared/db.js';
12
13
  import {
13
14
  BASE_SUBJECT_TOKEN_SOURCE,
14
15
  BASE_TOKEN_URL,
@@ -18,7 +19,6 @@ import {
18
19
  BASE_SCOPE,
19
20
  BASE_SUBJECT_TOKEN_STATIC_TOKEN
20
21
  } from './shared/index.js';
21
- import { makeDropdownItem } from './shared/db.js';
22
22
 
23
23
  const SnowflakePluginVersions = {
24
24
  V1: '0.0.1',
@@ -1,4 +1,5 @@
1
1
  import { cloneDeep, set } from 'lodash';
2
+
2
3
  import { ApplicationConfiguration } from '../types/index.js';
3
4
  import { ScopedDataTree } from './refactor.js';
4
5
  import { Extractor } from './types.js';
@@ -1,5 +1,6 @@
1
1
  import { tokenize } from 'esprima';
2
2
  import { describe, it, expect } from 'vitest';
3
+
3
4
  import { EvaluationPair, extractJsEvaluationPairsWithTokenizer, LanguagePluginID } from '../types/index.js';
4
5
  import { refactorNameInCode, refactorNameInString, refactorNameInValue, refactorNameInStep } from './refactor.js';
5
6
 
@@ -1,4 +1,5 @@
1
1
  import { isArray, isEqual, isObject, isString } from 'lodash';
2
+
2
3
  import { StringSegment, getDynamicStringSegments, isExactBinding, joinStringWithBindings } from '../bindings/index.js';
3
4
  import { LanguagePluginID } from '../types/plugin/language.js';
4
5
  import { Extractor } from './types.js';
@@ -1,5 +1,6 @@
1
1
  import { isEqual } from 'lodash';
2
2
  import { v4 as uuidv4 } from 'uuid';
3
+
3
4
  import { isValidMultiStepDef, isValidStepDef, TriggerStepType, ValidStepDef } from '../types/page/event.js';
4
5
  import { refactorNameInCode, refactorNameInValue, ScopedDataTree } from './refactor.js';
5
6
  import { Extractor } from './types.js';
@@ -1,4 +1,5 @@
1
1
  import { get, isEqual, isArray } from 'lodash';
2
+
2
3
  import { PageDSL, isValidStepDef, ValidMultiStepDef, StepDef } from '../types/index.js';
3
4
  import { FlattenedWidgetProps } from '../utils/normalize.js';
4
5
  import { refactorNameInString, refactorNameInValue, ScopedDataTree } from './refactor.js';
@@ -1,7 +1,8 @@
1
1
  import { describe, test, expect } from 'vitest';
2
+
3
+ import { stableJSONStringify, testStringOut, testStringSrc } from '.';
2
4
  import { stableJSONStringify_fast } from './fast.js';
3
5
  import { stableJSONStringify_portable } from './portable.js';
4
- import { stableJSONStringify, testStringOut, testStringSrc } from '.';
5
6
 
6
7
  // an object with keys that are intentionally out of order
7
8
  const obj1 = {
@@ -1,4 +1,5 @@
1
1
  import { Api as ApiPb } from '@superblocksteam/types';
2
+
2
3
  import { AnyPageDSL, ApplicationConfiguration, ApplicationSettings } from '../types/index.js';
3
4
 
4
5
  /** A signature, as produced by the agent. */
@@ -1,4 +1,5 @@
1
1
  import { describe, it, expect } from 'vitest';
2
+
2
3
  import { sha256Base64 } from './hashing.js';
3
4
 
4
5
  describe('hashing', () => {
@@ -1,4 +1,5 @@
1
1
  import { BufferSource } from 'node:stream/web';
2
+
2
3
  import { Base64 } from 'js-base64';
3
4
 
4
5
  // This module is used by the FE and the BE, so it must be compatible with both.
@@ -1,5 +1,7 @@
1
- import { UtilsV1 as UtilsV1Pb } from '@superblocksteam/types';
2
1
  import { describe, it, expect } from 'vitest';
2
+
3
+ import { UtilsV1 as UtilsV1Pb } from '@superblocksteam/types';
4
+
3
5
  import { AnyPageDSL, ApplicationConfiguration, ApplicationSettings } from '../types/index.js';
4
6
  import {
5
7
  ApplicationSignatureTreeV1,
@@ -1,9 +1,10 @@
1
- import { UtilsV1 as UtilsV1Pb } from '@superblocksteam/types';
2
1
  import { isEqual } from 'lodash';
3
- import { AnyPageDSL } from '../types/index.js';
2
+
3
+ import { UtilsV1 as UtilsV1Pb } from '@superblocksteam/types';
4
+
4
5
  import { ApplicationConfiguration, ApplicationSettings, IApplicationV2Dto } from '../types/application/index.js';
6
+ import { AnyPageDSL } from '../types/index.js';
5
7
  import unreachable from '../utils/unreachable.js';
6
- import { stableJSONStringify } from './JSON/index.js';
7
8
  import {
8
9
  ApplicationSettingsHashes,
9
10
  ApplicationSignatureTree,
@@ -12,6 +13,7 @@ import {
12
13
  ApplicationSignatureTreeV2
13
14
  } from './constants.js';
14
15
  import { sha256Base64 } from './hashing.js';
16
+ import { stableJSONStringify } from './JSON/index.js';
15
17
  import { getEnumProtoName } from './proto.js';
16
18
 
17
19
  export * from './constants.js';
@@ -2,19 +2,6 @@
2
2
 
3
3
  import { DirectoryEntry, PutManyRequestPayload, PutManyResponsePayload } from '../dbfs/types.js';
4
4
  import { ApiToSign, ApiToVerify, AppToSign, AppToVerify, ApplicationSignatureTreeSigned, Signature } from '../signing/constants.js';
5
- import {
6
- AiChatMessageDto,
7
- AiChatMessagePayload,
8
- AiPromptCostRequest,
9
- AiPromptCostResponse,
10
- AiWorkflowEvent,
11
- AiResolveAttachmentLeasesRequest,
12
- AiResolveAttachmentLeasesResponse,
13
- FactCreate,
14
- FactDto,
15
- FactListQuery,
16
- ListFactsResponse
17
- } from '../types/index.js';
18
5
  import {
19
6
  ApplicationConfiguration,
20
7
  ApplicationPageClonePayload,
@@ -38,6 +25,19 @@ import {
38
25
  LockInfo,
39
26
  DegradedMode
40
27
  } from '../types';
28
+ import {
29
+ AiChatMessageDto,
30
+ AiChatMessagePayload,
31
+ AiPromptCostRequest,
32
+ AiPromptCostResponse,
33
+ AiWorkflowEvent,
34
+ AiResolveAttachmentLeasesRequest,
35
+ AiResolveAttachmentLeasesResponse,
36
+ FactCreate,
37
+ FactDto,
38
+ FactListQuery,
39
+ ListFactsResponse
40
+ } from '../types/index.js';
41
41
  import { MethodSchema } from './types.js';
42
42
 
43
43
  export const serverWsPath = 'v1/rpc-ws';
@@ -1,4 +1,5 @@
1
1
  import WebSocket from 'isomorphic-ws';
2
+
2
3
  import {
3
4
  SocketErrorException,
4
5
  type ISocketClient,
@@ -1,5 +1,6 @@
1
1
  import { Tracer } from '@opentelemetry/api';
2
2
  import WebSocket from 'isomorphic-ws';
3
+
3
4
  import { createISocketClient } from './socket.js';
4
5
  import { TracedSocket } from './tracedSocket.js';
5
6
  import { GenericMiddleware, ISocketClient, MethodHandlers, RequestContextBase, SocketTimeouts } from './types.js';
@@ -12,6 +12,7 @@ import {
12
12
  } from '@opentelemetry/api';
13
13
  import { SEMATTRS_MESSAGING_DESTINATION_KIND, SEMATTRS_MESSAGING_SYSTEM } from '@opentelemetry/semantic-conventions';
14
14
  import WebSocket from 'isomorphic-ws';
15
+
15
16
  import {
16
17
  OBS_SOCKET_STATUS_CODE,
17
18
  OBS_TAG_API_ID,
@@ -1,4 +1,5 @@
1
1
  import { describe, it, expect } from 'vitest';
2
+
2
3
  import { sanitizeError } from './errorSanitizer.js';
3
4
 
4
5
  describe('Error Sanitization', () => {
@@ -1,4 +1,5 @@
1
1
  import { Context, context, Span, trace, Tracer } from '@opentelemetry/api';
2
+
2
3
  import { sanitizeError } from './errorSanitizer.js';
3
4
 
4
5
  /**
@@ -11,6 +11,7 @@ import {
11
11
  SalesforcePluginV1 as Salesforce,
12
12
  SmtpPluginV1 as Smtp
13
13
  } from '@superblocksteam/types';
14
+
14
15
  import { GoogleSheetsActionType, GoogleSheetsDestinationType, GoogleSheetsFormatType } from '../../plugins/index.js';
15
16
  import { Property } from '../common/property.js';
16
17
  import { IntegrationAuthType } from '../datasource/index.js';
@@ -1,5 +1,7 @@
1
- import { Code } from '@superblocksteam/types';
2
1
  import _ from 'lodash';
2
+
3
+ import { Code } from '@superblocksteam/types';
4
+
3
5
  import { Global, PlaceholdersInfo } from '.';
4
6
 
5
7
  // TODO(pbardea): Rename "view mode" everywhere to something more descriptive.
@@ -1,5 +1,6 @@
1
1
  import { Api as ApiPb, Trigger_Job, Trigger_Workflow } from '@superblocksteam/types';
2
2
  import { Metadata, UserType as ProtoUserType } from '@superblocksteam/types';
3
+
3
4
  import { Param } from '../common/param.js';
4
5
  import { DatasourceEnvironments } from '../datasource/index.js';
5
6
  import { IntegrationDto } from '../integration/index.js';
@@ -1,6 +1,11 @@
1
+ /**
2
+ * @deprecated Legacy audit run details. Use OCSFAuditEvent instead.
3
+ */
4
+
1
5
  import { ApiLocationContext } from '../api/index.js';
2
6
  import { AuditLogDetails } from './audit.js';
3
7
 
8
+ /** @deprecated Use OCSFAuditEvent instead. */
4
9
  interface ApiRunDetails extends AuditLogDetails {
5
10
  target: string;
6
11
  locationContext?: ApiLocationContext;
@@ -9,11 +14,13 @@ interface ApiRunDetails extends AuditLogDetails {
9
14
  error?: string;
10
15
  }
11
16
 
17
+ /** @deprecated Use OCSFStatusId instead. */
12
18
  export enum ApiRunStatus {
13
19
  SUCCESS,
14
20
  FAIL
15
21
  }
16
22
 
23
+ /** @deprecated Use OCSFAuditEvent type checking instead. */
17
24
  export function isApiRunDetails(details: AuditLogDetails | undefined): details is ApiRunDetails {
18
25
  if (!details) {
19
26
  return false;
@@ -1,8 +1,15 @@
1
+ /**
2
+ * @deprecated Legacy audit log types. Use OCSF types from './ocsf.js' and
3
+ * the audit_event table instead. These will be removed once the v2 audit
4
+ * system fully replaces the legacy audit_log table.
5
+ */
6
+
1
7
  import { UserType } from '../../index.js';
2
8
  import { ApiLocationContext } from '../api/index.js';
3
9
  import { ApiResourceTiming } from '../common/timing.js';
4
10
  import { ApiRunStatus } from './apiRunDetails.js';
5
11
 
12
+ /** @deprecated Use OCSF resource types instead. */
6
13
  export enum AuditLogEntityType {
7
14
  APPLICATION,
8
15
  WORKFLOW,
@@ -34,8 +41,10 @@ type NonApplicationAuditLogEntity = BaseAuditLogEntity & {
34
41
  type: Exclude<AuditLogEntityType, AuditLogEntityType.APPLICATION | AuditLogEntityType.APPLICATION_API>;
35
42
  };
36
43
 
44
+ /** @deprecated Use OCSF resource types instead. */
37
45
  export type AuditLogEntity = ApplicationAuditLogEntity | ApplicationApiAuditLogEntity | NonApplicationAuditLogEntity;
38
46
 
47
+ /** @deprecated Use OCSFStatusId instead. */
39
48
  export enum AuditLogStatusFilter {
40
49
  ALL = 'All',
41
50
  SUCCESS = 'Success',
@@ -48,10 +57,12 @@ export enum AuditLogStatusFilter {
48
57
  // crashed halfway through) rather than still running.
49
58
  export const ABANDONED_EXECUTION_THRESH_MINUTES = 30;
50
59
 
60
+ /** @deprecated Use OCSFClassUid / OCSFActivityId instead. */
51
61
  export enum AuditLogEventType {
52
62
  API_RUN
53
63
  }
54
64
 
65
+ /** @deprecated Use OCSFAuditEvent instead. */
55
66
  export interface AuditLogDetails {
56
67
  type: AuditLogEventType;
57
68
  endTime?: Date;
@@ -62,6 +73,7 @@ export interface AuditLogDetails {
62
73
  timing?: ApiResourceTiming;
63
74
  }
64
75
 
76
+ /** @deprecated Use OCSFAuditEvent instead. */
65
77
  export type AuditLogDto = {
66
78
  id?: string;
67
79
  name?: string;
@@ -90,6 +102,5 @@ interface StepDetail {
90
102
  executionTimeMs?: number;
91
103
  }
92
104
 
93
- // TODO(pbardea): This is a temporary limit until filtering can be pushed to the
94
- // backend for proper pagination.
105
+ /** @deprecated The v2 audit API uses cursor-based pagination. */
95
106
  export const AUDIT_LOG_PAGINATION_LIMIT = 5000;
@@ -1,2 +1,3 @@
1
1
  export * from './audit.js';
2
2
  export * from './apiRunDetails.js';
3
+ export * from './ocsf.js';