@rippling/rippling-sdk 0.2.0-alpha.82 → 0.2.0-alpha.84

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 (351) hide show
  1. package/client.d.mts +4 -4
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +4 -4
  4. package/client.d.ts.map +1 -1
  5. package/client.js.map +1 -1
  6. package/client.mjs.map +1 -1
  7. package/core/platform/custom-objects/category.d.mts +125 -0
  8. package/core/platform/custom-objects/category.d.mts.map +1 -0
  9. package/core/platform/custom-objects/category.d.ts +125 -0
  10. package/core/platform/custom-objects/category.d.ts.map +1 -0
  11. package/core/platform/custom-objects/category.js +188 -0
  12. package/core/platform/custom-objects/category.js.map +1 -0
  13. package/core/platform/custom-objects/category.mjs +178 -0
  14. package/core/platform/custom-objects/category.mjs.map +1 -0
  15. package/core/platform/custom-objects/definition.d.mts +147 -0
  16. package/core/platform/custom-objects/definition.d.mts.map +1 -0
  17. package/core/platform/custom-objects/definition.d.ts +147 -0
  18. package/core/platform/custom-objects/definition.d.ts.map +1 -0
  19. package/core/platform/custom-objects/definition.js +200 -0
  20. package/core/platform/custom-objects/definition.js.map +1 -0
  21. package/core/platform/custom-objects/definition.mjs +190 -0
  22. package/core/platform/custom-objects/definition.mjs.map +1 -0
  23. package/core/platform/custom-objects/fields.d.mts +302 -0
  24. package/core/platform/custom-objects/fields.d.mts.map +1 -0
  25. package/core/platform/custom-objects/fields.d.ts +302 -0
  26. package/core/platform/custom-objects/fields.d.ts.map +1 -0
  27. package/core/platform/custom-objects/fields.js +369 -0
  28. package/core/platform/custom-objects/fields.js.map +1 -0
  29. package/core/platform/custom-objects/fields.mjs +347 -0
  30. package/core/platform/custom-objects/fields.mjs.map +1 -0
  31. package/core/platform/custom-objects/function-runtime.d.mts +42 -0
  32. package/core/platform/custom-objects/function-runtime.d.mts.map +1 -0
  33. package/core/platform/custom-objects/function-runtime.d.ts +42 -0
  34. package/core/platform/custom-objects/function-runtime.d.ts.map +1 -0
  35. package/core/platform/custom-objects/function-runtime.js +38 -0
  36. package/core/platform/custom-objects/function-runtime.js.map +1 -0
  37. package/core/platform/custom-objects/function-runtime.mjs +35 -0
  38. package/core/platform/custom-objects/function-runtime.mjs.map +1 -0
  39. package/core/platform/custom-objects/lifecycle.d.mts +83 -0
  40. package/core/platform/custom-objects/lifecycle.d.mts.map +1 -0
  41. package/core/platform/custom-objects/lifecycle.d.ts +83 -0
  42. package/core/platform/custom-objects/lifecycle.d.ts.map +1 -0
  43. package/core/platform/custom-objects/lifecycle.js +372 -0
  44. package/core/platform/custom-objects/lifecycle.js.map +1 -0
  45. package/core/platform/custom-objects/lifecycle.mjs +367 -0
  46. package/core/platform/custom-objects/lifecycle.mjs.map +1 -0
  47. package/core/platform/custom-objects/manager.d.mts +354 -0
  48. package/core/platform/custom-objects/manager.d.mts.map +1 -0
  49. package/core/platform/custom-objects/manager.d.ts +354 -0
  50. package/core/platform/custom-objects/manager.d.ts.map +1 -0
  51. package/core/platform/custom-objects/manager.js +646 -0
  52. package/core/platform/custom-objects/manager.js.map +1 -0
  53. package/core/platform/custom-objects/manager.mjs +637 -0
  54. package/core/platform/custom-objects/manager.mjs.map +1 -0
  55. package/core/platform/custom-objects/provisioning.d.mts +138 -0
  56. package/core/platform/custom-objects/provisioning.d.mts.map +1 -0
  57. package/core/platform/custom-objects/provisioning.d.ts +138 -0
  58. package/core/platform/custom-objects/provisioning.d.ts.map +1 -0
  59. package/core/platform/custom-objects/provisioning.js +455 -0
  60. package/core/platform/custom-objects/provisioning.js.map +1 -0
  61. package/core/platform/custom-objects/provisioning.mjs +447 -0
  62. package/core/platform/custom-objects/provisioning.mjs.map +1 -0
  63. package/core/platform/custom-objects/rql.d.mts +122 -0
  64. package/core/platform/custom-objects/rql.d.mts.map +1 -0
  65. package/core/platform/custom-objects/rql.d.ts +122 -0
  66. package/core/platform/custom-objects/rql.d.ts.map +1 -0
  67. package/core/platform/custom-objects/rql.js +225 -0
  68. package/core/platform/custom-objects/rql.js.map +1 -0
  69. package/core/platform/custom-objects/rql.mjs +222 -0
  70. package/core/platform/custom-objects/rql.mjs.map +1 -0
  71. package/core/platform/custom-objects/schema-manager.d.mts +203 -0
  72. package/core/platform/custom-objects/schema-manager.d.mts.map +1 -0
  73. package/core/platform/custom-objects/schema-manager.d.ts +203 -0
  74. package/core/platform/custom-objects/schema-manager.d.ts.map +1 -0
  75. package/core/platform/custom-objects/schema-manager.js +256 -0
  76. package/core/platform/custom-objects/schema-manager.js.map +1 -0
  77. package/core/platform/custom-objects/schema-manager.mjs +249 -0
  78. package/core/platform/custom-objects/schema-manager.mjs.map +1 -0
  79. package/core/platform/custom-objects/typed-rql.d.mts +157 -0
  80. package/core/platform/custom-objects/typed-rql.d.mts.map +1 -0
  81. package/core/platform/custom-objects/typed-rql.d.ts +157 -0
  82. package/core/platform/custom-objects/typed-rql.d.ts.map +1 -0
  83. package/core/platform/custom-objects/typed-rql.js +583 -0
  84. package/core/platform/custom-objects/typed-rql.js.map +1 -0
  85. package/core/platform/custom-objects/typed-rql.mjs +580 -0
  86. package/core/platform/custom-objects/typed-rql.mjs.map +1 -0
  87. package/core/platform/custom-objects/types.d.mts +549 -0
  88. package/core/platform/custom-objects/types.d.mts.map +1 -0
  89. package/core/platform/custom-objects/types.d.ts +549 -0
  90. package/core/platform/custom-objects/types.d.ts.map +1 -0
  91. package/core/platform/custom-objects/types.js +20 -0
  92. package/core/platform/custom-objects/types.js.map +1 -0
  93. package/core/platform/custom-objects/types.mjs +17 -0
  94. package/core/platform/custom-objects/types.mjs.map +1 -0
  95. package/core/platform/custom-objects/validation.d.mts +97 -0
  96. package/core/platform/custom-objects/validation.d.mts.map +1 -0
  97. package/core/platform/custom-objects/validation.d.ts +97 -0
  98. package/core/platform/custom-objects/validation.d.ts.map +1 -0
  99. package/core/platform/custom-objects/validation.js +477 -0
  100. package/core/platform/custom-objects/validation.js.map +1 -0
  101. package/core/platform/custom-objects/validation.mjs +465 -0
  102. package/core/platform/custom-objects/validation.mjs.map +1 -0
  103. package/core/platform/custom-objects.d.mts +67 -0
  104. package/core/platform/custom-objects.d.mts.map +1 -0
  105. package/core/platform/custom-objects.d.ts +67 -0
  106. package/core/platform/custom-objects.d.ts.map +1 -0
  107. package/core/platform/custom-objects.js +118 -0
  108. package/core/platform/custom-objects.js.map +1 -0
  109. package/core/platform/custom-objects.mjs +45 -0
  110. package/core/platform/custom-objects.mjs.map +1 -0
  111. package/core/platform/manifest/custom-objects/action.d.mts +58 -0
  112. package/core/platform/manifest/custom-objects/action.d.mts.map +1 -0
  113. package/core/platform/manifest/custom-objects/action.d.ts +58 -0
  114. package/core/platform/manifest/custom-objects/action.d.ts.map +1 -0
  115. package/core/platform/manifest/custom-objects/action.js +44 -0
  116. package/core/platform/manifest/custom-objects/action.js.map +1 -0
  117. package/core/platform/manifest/custom-objects/action.mjs +40 -0
  118. package/core/platform/manifest/custom-objects/action.mjs.map +1 -0
  119. package/core/platform/manifest/custom-objects/conditions.d.mts +240 -0
  120. package/core/platform/manifest/custom-objects/conditions.d.mts.map +1 -0
  121. package/core/platform/manifest/custom-objects/conditions.d.ts +240 -0
  122. package/core/platform/manifest/custom-objects/conditions.d.ts.map +1 -0
  123. package/core/platform/manifest/custom-objects/conditions.js +326 -0
  124. package/core/platform/manifest/custom-objects/conditions.js.map +1 -0
  125. package/core/platform/manifest/custom-objects/conditions.mjs +321 -0
  126. package/core/platform/manifest/custom-objects/conditions.mjs.map +1 -0
  127. package/core/platform/manifest/custom-objects/existing.d.mts +87 -0
  128. package/core/platform/manifest/custom-objects/existing.d.mts.map +1 -0
  129. package/core/platform/manifest/custom-objects/existing.d.ts +87 -0
  130. package/core/platform/manifest/custom-objects/existing.d.ts.map +1 -0
  131. package/core/platform/manifest/custom-objects/existing.js +113 -0
  132. package/core/platform/manifest/custom-objects/existing.js.map +1 -0
  133. package/core/platform/manifest/custom-objects/existing.mjs +109 -0
  134. package/core/platform/manifest/custom-objects/existing.mjs.map +1 -0
  135. package/core/platform/manifest/custom-objects/field-resolution.d.mts +48 -0
  136. package/core/platform/manifest/custom-objects/field-resolution.d.mts.map +1 -0
  137. package/core/platform/manifest/custom-objects/field-resolution.d.ts +48 -0
  138. package/core/platform/manifest/custom-objects/field-resolution.d.ts.map +1 -0
  139. package/core/platform/manifest/custom-objects/field-resolution.js +61 -0
  140. package/core/platform/manifest/custom-objects/field-resolution.js.map +1 -0
  141. package/core/platform/manifest/custom-objects/field-resolution.mjs +58 -0
  142. package/core/platform/manifest/custom-objects/field-resolution.mjs.map +1 -0
  143. package/core/platform/manifest/custom-objects/function-file.d.mts +87 -0
  144. package/core/platform/manifest/custom-objects/function-file.d.mts.map +1 -0
  145. package/core/platform/manifest/custom-objects/function-file.d.ts +87 -0
  146. package/core/platform/manifest/custom-objects/function-file.d.ts.map +1 -0
  147. package/core/platform/manifest/custom-objects/function-file.js +76 -0
  148. package/core/platform/manifest/custom-objects/function-file.js.map +1 -0
  149. package/core/platform/manifest/custom-objects/function-file.mjs +69 -0
  150. package/core/platform/manifest/custom-objects/function-file.mjs.map +1 -0
  151. package/core/platform/manifest/custom-objects/list-view.d.mts +65 -0
  152. package/core/platform/manifest/custom-objects/list-view.d.mts.map +1 -0
  153. package/core/platform/manifest/custom-objects/list-view.d.ts +65 -0
  154. package/core/platform/manifest/custom-objects/list-view.d.ts.map +1 -0
  155. package/core/platform/manifest/custom-objects/list-view.js +33 -0
  156. package/core/platform/manifest/custom-objects/list-view.js.map +1 -0
  157. package/core/platform/manifest/custom-objects/list-view.mjs +30 -0
  158. package/core/platform/manifest/custom-objects/list-view.mjs.map +1 -0
  159. package/core/platform/manifest/custom-objects/object-list-page.d.mts +43 -0
  160. package/core/platform/manifest/custom-objects/object-list-page.d.mts.map +1 -0
  161. package/core/platform/manifest/custom-objects/object-list-page.d.ts +43 -0
  162. package/core/platform/manifest/custom-objects/object-list-page.d.ts.map +1 -0
  163. package/core/platform/manifest/custom-objects/object-list-page.js +54 -0
  164. package/core/platform/manifest/custom-objects/object-list-page.js.map +1 -0
  165. package/core/platform/manifest/custom-objects/object-list-page.mjs +50 -0
  166. package/core/platform/manifest/custom-objects/object-list-page.mjs.map +1 -0
  167. package/core/platform/manifest/custom-objects/page-layout.d.mts +142 -0
  168. package/core/platform/manifest/custom-objects/page-layout.d.mts.map +1 -0
  169. package/core/platform/manifest/custom-objects/page-layout.d.ts +142 -0
  170. package/core/platform/manifest/custom-objects/page-layout.d.ts.map +1 -0
  171. package/core/platform/manifest/custom-objects/page-layout.js +184 -0
  172. package/core/platform/manifest/custom-objects/page-layout.js.map +1 -0
  173. package/core/platform/manifest/custom-objects/page-layout.mjs +180 -0
  174. package/core/platform/manifest/custom-objects/page-layout.mjs.map +1 -0
  175. package/core/platform/manifest/custom-objects/register.d.mts +87 -0
  176. package/core/platform/manifest/custom-objects/register.d.mts.map +1 -0
  177. package/core/platform/manifest/custom-objects/register.d.ts +87 -0
  178. package/core/platform/manifest/custom-objects/register.d.ts.map +1 -0
  179. package/core/platform/manifest/custom-objects/register.js +395 -0
  180. package/core/platform/manifest/custom-objects/register.js.map +1 -0
  181. package/core/platform/manifest/custom-objects/register.mjs +391 -0
  182. package/core/platform/manifest/custom-objects/register.mjs.map +1 -0
  183. package/core/platform/manifest/custom-objects/rule.d.mts +113 -0
  184. package/core/platform/manifest/custom-objects/rule.d.mts.map +1 -0
  185. package/core/platform/manifest/custom-objects/rule.d.ts +113 -0
  186. package/core/platform/manifest/custom-objects/rule.d.ts.map +1 -0
  187. package/core/platform/manifest/custom-objects/rule.js +49 -0
  188. package/core/platform/manifest/custom-objects/rule.js.map +1 -0
  189. package/core/platform/manifest/custom-objects/rule.mjs +45 -0
  190. package/core/platform/manifest/custom-objects/rule.mjs.map +1 -0
  191. package/core/platform/manifest/custom-objects/sdui-page.d.mts +214 -0
  192. package/core/platform/manifest/custom-objects/sdui-page.d.mts.map +1 -0
  193. package/core/platform/manifest/custom-objects/sdui-page.d.ts +214 -0
  194. package/core/platform/manifest/custom-objects/sdui-page.d.ts.map +1 -0
  195. package/core/platform/manifest/custom-objects/sdui-page.js +194 -0
  196. package/core/platform/manifest/custom-objects/sdui-page.js.map +1 -0
  197. package/core/platform/manifest/custom-objects/sdui-page.mjs +182 -0
  198. package/core/platform/manifest/custom-objects/sdui-page.mjs.map +1 -0
  199. package/core/platform/manifest/custom-objects/typed-condition.d.mts +28 -0
  200. package/core/platform/manifest/custom-objects/typed-condition.d.mts.map +1 -0
  201. package/core/platform/manifest/custom-objects/typed-condition.d.ts +28 -0
  202. package/core/platform/manifest/custom-objects/typed-condition.d.ts.map +1 -0
  203. package/core/platform/manifest/custom-objects/typed-condition.js +434 -0
  204. package/core/platform/manifest/custom-objects/typed-condition.js.map +1 -0
  205. package/core/platform/manifest/custom-objects/typed-condition.mjs +431 -0
  206. package/core/platform/manifest/custom-objects/typed-condition.mjs.map +1 -0
  207. package/core/platform/manifest/custom-objects/types.d.mts +29 -0
  208. package/core/platform/manifest/custom-objects/types.d.mts.map +1 -0
  209. package/core/platform/manifest/custom-objects/types.d.ts +29 -0
  210. package/core/platform/manifest/custom-objects/types.d.ts.map +1 -0
  211. package/core/platform/manifest/custom-objects/types.js +3 -0
  212. package/core/platform/manifest/custom-objects/types.js.map +1 -0
  213. package/core/platform/manifest/custom-objects/types.mjs +2 -0
  214. package/core/platform/manifest/custom-objects/types.mjs.map +1 -0
  215. package/core/platform/manifest/custom-objects/validation.d.mts +44 -0
  216. package/core/platform/manifest/custom-objects/validation.d.mts.map +1 -0
  217. package/core/platform/manifest/custom-objects/validation.d.ts +44 -0
  218. package/core/platform/manifest/custom-objects/validation.d.ts.map +1 -0
  219. package/core/platform/manifest/custom-objects/validation.js +30 -0
  220. package/core/platform/manifest/custom-objects/validation.js.map +1 -0
  221. package/core/platform/manifest/custom-objects/validation.mjs +27 -0
  222. package/core/platform/manifest/custom-objects/validation.mjs.map +1 -0
  223. package/core/platform/manifest/custom-objects/workflow.d.mts +47 -0
  224. package/core/platform/manifest/custom-objects/workflow.d.mts.map +1 -0
  225. package/core/platform/manifest/custom-objects/workflow.d.ts +47 -0
  226. package/core/platform/manifest/custom-objects/workflow.d.ts.map +1 -0
  227. package/core/platform/manifest/custom-objects/workflow.js +38 -0
  228. package/core/platform/manifest/custom-objects/workflow.js.map +1 -0
  229. package/core/platform/manifest/custom-objects/workflow.mjs +34 -0
  230. package/core/platform/manifest/custom-objects/workflow.mjs.map +1 -0
  231. package/core/platform/manifest/custom-objects.d.mts +85 -0
  232. package/core/platform/manifest/custom-objects.d.mts.map +1 -0
  233. package/core/platform/manifest/custom-objects.d.ts +85 -0
  234. package/core/platform/manifest/custom-objects.d.ts.map +1 -0
  235. package/core/platform/manifest/custom-objects.js +84 -0
  236. package/core/platform/manifest/custom-objects.js.map +1 -0
  237. package/core/platform/manifest/custom-objects.mjs +55 -0
  238. package/core/platform/manifest/custom-objects.mjs.map +1 -0
  239. package/examples/manifest/custom-object-creation-workflow/custom-object-creation-workflow.ts +26 -44
  240. package/examples/manifest/custom-object-creation-workflow/functions/intake-request-created.ts +20 -0
  241. package/examples/manifest/custom-object-creation-workflow/schema.ts +29 -0
  242. package/examples/manifest/dental-practice-management/dental-practice-management.ts +142 -470
  243. package/examples/manifest/dental-practice-management/functions/chair-schedule.ts +13 -23
  244. package/examples/manifest/dental-practice-management/functions/complete-visit.ts +32 -55
  245. package/examples/manifest/dental-practice-management/functions/operatory-list.ts +13 -23
  246. package/examples/manifest/dental-practice-management/functions/patient-list.ts +13 -23
  247. package/examples/manifest/dental-practice-management/functions/treatment-plan-list.ts +13 -23
  248. package/examples/manifest/dental-practice-management/schema.ts +298 -0
  249. package/examples/manifest/existing-manifest-mutations/existing-manifest-mutations.ts +68 -23
  250. package/examples/manifest/field-service-dispatch/field-service-dispatch.ts +102 -375
  251. package/examples/manifest/field-service-dispatch/schema.ts +248 -0
  252. package/examples/manifest/grant-program-management/grant-program-management.ts +125 -419
  253. package/examples/manifest/grant-program-management/schema.ts +269 -0
  254. package/examples/manifest/gym-membership-management/functions/check-in-desk.ts +13 -23
  255. package/examples/manifest/gym-membership-management/functions/member-list.ts +13 -23
  256. package/examples/manifest/gym-membership-management/functions/today-schedule.ts +13 -23
  257. package/examples/manifest/gym-membership-management/functions/trainer-list.ts +13 -23
  258. package/examples/manifest/gym-membership-management/gym-membership-management.ts +92 -442
  259. package/examples/manifest/gym-membership-management/schema.ts +266 -0
  260. package/examples/manifest/procurement-approval-hub/functions/route-purchase-request.ts +20 -0
  261. package/examples/manifest/procurement-approval-hub/procurement-approval-hub.ts +122 -408
  262. package/examples/manifest/procurement-approval-hub/schema.ts +256 -0
  263. package/examples/manifest/simple-todo-app/functions/mark-done.ts +16 -12
  264. package/examples/manifest/simple-todo-app/functions/todo-list.ts +13 -23
  265. package/examples/manifest/simple-todo-app/schema.ts +60 -0
  266. package/examples/manifest/simple-todo-app/simple-todo-app.ts +40 -109
  267. package/examples/manifest/todo-app-without-object-list-view/functions/todo-page.ts +166 -193
  268. package/examples/manifest/todo-app-without-object-list-view/schema.ts +28 -0
  269. package/examples/manifest/todo-app-without-object-list-view/todo-app-without-object-list-view.ts +24 -47
  270. package/package.json +7 -13
  271. package/resources/custom-objects/custom-objects.d.mts +7 -0
  272. package/resources/custom-objects/custom-objects.d.mts.map +1 -1
  273. package/resources/custom-objects/custom-objects.d.ts +7 -0
  274. package/resources/custom-objects/custom-objects.d.ts.map +1 -1
  275. package/resources/custom-objects/custom-objects.js.map +1 -1
  276. package/resources/custom-objects/custom-objects.mjs.map +1 -1
  277. package/resources/custom-objects/fields.d.mts +170 -15
  278. package/resources/custom-objects/fields.d.mts.map +1 -1
  279. package/resources/custom-objects/fields.d.ts +170 -15
  280. package/resources/custom-objects/fields.d.ts.map +1 -1
  281. package/resources/index.d.mts +2 -2
  282. package/resources/index.d.mts.map +1 -1
  283. package/resources/index.d.ts +2 -2
  284. package/resources/index.d.ts.map +1 -1
  285. package/resources/index.js.map +1 -1
  286. package/resources/index.mjs.map +1 -1
  287. package/resources/leave-program-evaluations.d.mts +510 -3
  288. package/resources/leave-program-evaluations.d.mts.map +1 -1
  289. package/resources/leave-program-evaluations.d.ts +510 -3
  290. package/resources/leave-program-evaluations.d.ts.map +1 -1
  291. package/resources/levels.d.mts +64 -2
  292. package/resources/levels.d.mts.map +1 -1
  293. package/resources/levels.d.ts +64 -2
  294. package/resources/levels.d.ts.map +1 -1
  295. package/resources/levels.js +22 -0
  296. package/resources/levels.js.map +1 -1
  297. package/resources/levels.mjs +22 -0
  298. package/resources/levels.mjs.map +1 -1
  299. package/resources/tracks.d.mts +45 -1
  300. package/resources/tracks.d.mts.map +1 -1
  301. package/resources/tracks.d.ts +45 -1
  302. package/resources/tracks.d.ts.map +1 -1
  303. package/resources/tracks.js +22 -0
  304. package/resources/tracks.js.map +1 -1
  305. package/resources/tracks.mjs +22 -0
  306. package/resources/tracks.mjs.map +1 -1
  307. package/src/client.ts +8 -0
  308. package/src/core/platform/README.md +20 -0
  309. package/src/core/platform/custom-objects/category.ts +294 -0
  310. package/src/core/platform/custom-objects/definition.ts +373 -0
  311. package/src/core/platform/custom-objects/fields.ts +653 -0
  312. package/src/core/platform/custom-objects/function-runtime.ts +76 -0
  313. package/src/core/platform/custom-objects/lifecycle.ts +557 -0
  314. package/src/core/platform/custom-objects/manager.ts +959 -0
  315. package/src/core/platform/custom-objects/provisioning.ts +672 -0
  316. package/src/core/platform/custom-objects/rql.ts +375 -0
  317. package/src/core/platform/custom-objects/schema-manager.ts +351 -0
  318. package/src/core/platform/custom-objects/typed-rql.ts +1273 -0
  319. package/src/core/platform/custom-objects/types.ts +753 -0
  320. package/src/core/platform/custom-objects/validation.ts +573 -0
  321. package/src/core/platform/custom-objects.ts +269 -0
  322. package/src/core/platform/manifest/README.md +26 -0
  323. package/src/core/platform/manifest/custom-objects/action.ts +87 -0
  324. package/src/core/platform/manifest/custom-objects/conditions.ts +762 -0
  325. package/src/core/platform/manifest/custom-objects/existing.ts +221 -0
  326. package/src/core/platform/manifest/custom-objects/field-resolution.ts +116 -0
  327. package/src/core/platform/manifest/custom-objects/function-file.ts +149 -0
  328. package/src/core/platform/manifest/custom-objects/list-view.ts +95 -0
  329. package/src/core/platform/manifest/custom-objects/object-list-page.ts +87 -0
  330. package/src/core/platform/manifest/custom-objects/page-layout.ts +380 -0
  331. package/src/core/platform/manifest/custom-objects/register.ts +555 -0
  332. package/src/core/platform/manifest/custom-objects/rule.ts +192 -0
  333. package/src/core/platform/manifest/custom-objects/sdui-page.ts +515 -0
  334. package/src/core/platform/manifest/custom-objects/typed-condition.ts +617 -0
  335. package/src/core/platform/manifest/custom-objects/types.ts +92 -0
  336. package/src/core/platform/manifest/custom-objects/validation.ts +70 -0
  337. package/src/core/platform/manifest/custom-objects/workflow.ts +71 -0
  338. package/src/core/platform/manifest/custom-objects.ts +203 -0
  339. package/src/pebble-sdui-web-custom-apps-shim.d.ts +3 -0
  340. package/src/resources/custom-objects/custom-objects.ts +8 -0
  341. package/src/resources/custom-objects/fields.ts +239 -14
  342. package/src/resources/index.ts +4 -0
  343. package/src/resources/leave-program-evaluations.ts +610 -3
  344. package/src/resources/levels.ts +93 -1
  345. package/src/resources/tracks.ts +70 -0
  346. package/src/tsconfig.json +1 -1
  347. package/src/version.ts +1 -1
  348. package/version.d.mts +1 -1
  349. package/version.d.ts +1 -1
  350. package/version.js +1 -1
  351. package/version.mjs +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-objects.d.ts","sourceRoot":"","sources":["../../src/core/platform/custom-objects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,+DAA+D;AAC/D,OAAO,EAAE,OAAO,EAAE,kCAA+B;AAEjD,yEAAyE;AACzE,YAAY,EACV,yBAAyB,EACzB,kBAAkB,EAClB,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,aAAa,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iC,EACjC,+BAA+B,EAC/B,mCAAmC,EACnC,oCAAoC,EACpC,kCAAkC,EAClC,6BAA6B,EAC7B,6BAA6B,EAC7B,4BAA4B,GAC7B,iDAA8C;AAE/C,iEAAiE;AACjE,YAAY,EACV,0BAA0B,EAC1B,yBAAyB,EACzB,mCAAmC,EACnC,mCAAmC,EACnC,mCAAmC,EACnC,+BAA+B,EAC/B,yBAAyB,EACzB,wCAAwC,EACxC,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,uBAAuB,GACxB,oCAAiC;AAElC,0GAA0G;AAC1G,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,iCAAiC,EACjC,iCAAiC,EACjC,8BAA8B,EAC9B,+BAA+B,GAChC,oCAAiC;AAElC,iFAAiF;AACjF,YAAY,EACV,wCAAwC,EACxC,2BAA2B,EAC3B,iCAAiC,GAClC,6CAA0C;AAE3C,+GAA+G;AAC/G,OAAO,EAAE,iCAAiC,EAAE,6CAA0C"}
@@ -0,0 +1,118 @@
1
+ "use strict";
2
+ /**
3
+ * Public custom-object authoring surface for the Rippling TypeScript SDK.
4
+ *
5
+ * Import this module when you want a TypeScript-first, structural definition
6
+ * layer for custom objects that can be reused across manifests, functions,
7
+ * validators, tests, and agent-authored code.
8
+ *
9
+ * The implementation lives under `core/platform/custom-objects/`, but this file
10
+ * is the stable public entrypoint that consumers should import from:
11
+ *
12
+ * ```ts
13
+ * import { defineCustomObject, text } from '@rippling/rippling-sdk/core/platform/custom-objects';
14
+ * ```
15
+ *
16
+ * Manifest-specific adapters for typed custom objects live under:
17
+ *
18
+ * ```ts
19
+ * import { registerManifestCustomObject } from '@rippling/rippling-sdk/core/platform/manifest/custom-objects';
20
+ * ```
21
+ */
22
+ Object.defineProperty(exports, "__esModule", { value: true });
23
+ exports.buildCustomObjectCreateParams = exports.reconcileCustomObjectCategoryDefinitions = exports.reconcileCustomObjectCategoryDefinition = exports.provisionCustomObjectCategoryDefinitions = exports.provisionCustomObjectCategoryDefinition = exports.deleteCustomObjectCategoryDefinition = exports.defineCustomObjectCategory = exports.buildObjectCategoryUpdateParams = exports.buildObjectCategoryCreateParams = exports.typedRql = exports.createRqlHelpers = exports.validateUpdateInput = exports.validateLogicalCustomObjectName = exports.validateLogicalCustomFieldName = exports.validateLogicalCategoryName = exports.validateCustomObjectDefinition = exports.validateCreateInput = exports.getRecordValue = exports.assertValidUpdateInput = exports.assertValidCreateInput = exports.asTypedRecord = exports.toCustomObjectApiName = exports.toCustomFieldApiName = exports.toCustomCategoryApiName = exports.isWritableField = exports.getFieldDefinition = exports.fieldNames = exports.extendCustomObject = exports.defineCustomObject = exports.url = exports.time = exports.text = exports.select = exports.sections = exports.radio = exports.phone = exports.percentage = exports.parentChild = exports.number = exports.nativeModel = exports.lookup = exports.longText = exports.formula = exports.file = exports.email = exports.datetime = exports.date = exports.currency = exports.boolean = exports.section = void 0;
24
+ exports.createCustomObjectFunctionRuntime = exports.createCustomObjectRecordAdapter = exports.TypedCustomObjectRecordManager = exports.InMemoryCustomObjectRecordAdapter = exports.CustomObjectRecordValidationError = exports.CustomObjectManager = exports.COManager = exports.TypedCustomObjectSchemaManager = exports.TypedCustomObjectCategoryManager = exports.CustomObjectSchemaManager = exports.COSchemaManager = exports.reconcileCustomObjectDefinitions = exports.reconcileCustomObjectDefinition = exports.deleteCustomObjectDefinition = exports.provisionCustomObjectDefinitions = exports.provisionCustomObjectDefinition = exports.buildProvisionableFieldParams = exports.buildCustomObjectUpdateParams = exports.buildCustomObjectNameFieldDetails = void 0;
25
+ /** Section-definition helper and foundational schema types. */
26
+ var types_1 = require("./custom-objects/types.js");
27
+ Object.defineProperty(exports, "section", { enumerable: true, get: function () { return types_1.section; } });
28
+ /** Field factories and reusable schema fragments. */
29
+ var fields_1 = require("./custom-objects/fields.js");
30
+ Object.defineProperty(exports, "boolean", { enumerable: true, get: function () { return fields_1.boolean; } });
31
+ Object.defineProperty(exports, "currency", { enumerable: true, get: function () { return fields_1.currency; } });
32
+ Object.defineProperty(exports, "date", { enumerable: true, get: function () { return fields_1.date; } });
33
+ Object.defineProperty(exports, "datetime", { enumerable: true, get: function () { return fields_1.datetime; } });
34
+ Object.defineProperty(exports, "email", { enumerable: true, get: function () { return fields_1.email; } });
35
+ Object.defineProperty(exports, "file", { enumerable: true, get: function () { return fields_1.file; } });
36
+ Object.defineProperty(exports, "formula", { enumerable: true, get: function () { return fields_1.formula; } });
37
+ Object.defineProperty(exports, "longText", { enumerable: true, get: function () { return fields_1.longText; } });
38
+ Object.defineProperty(exports, "lookup", { enumerable: true, get: function () { return fields_1.lookup; } });
39
+ Object.defineProperty(exports, "nativeModel", { enumerable: true, get: function () { return fields_1.nativeModel; } });
40
+ Object.defineProperty(exports, "number", { enumerable: true, get: function () { return fields_1.number; } });
41
+ Object.defineProperty(exports, "parentChild", { enumerable: true, get: function () { return fields_1.parentChild; } });
42
+ Object.defineProperty(exports, "percentage", { enumerable: true, get: function () { return fields_1.percentage; } });
43
+ Object.defineProperty(exports, "phone", { enumerable: true, get: function () { return fields_1.phone; } });
44
+ Object.defineProperty(exports, "radio", { enumerable: true, get: function () { return fields_1.radio; } });
45
+ Object.defineProperty(exports, "sections", { enumerable: true, get: function () { return fields_1.sections; } });
46
+ Object.defineProperty(exports, "select", { enumerable: true, get: function () { return fields_1.select; } });
47
+ Object.defineProperty(exports, "text", { enumerable: true, get: function () { return fields_1.text; } });
48
+ Object.defineProperty(exports, "time", { enumerable: true, get: function () { return fields_1.time; } });
49
+ Object.defineProperty(exports, "url", { enumerable: true, get: function () { return fields_1.url; } });
50
+ /** Immutable definition helpers for creating and extending schemas. */
51
+ var definition_1 = require("./custom-objects/definition.js");
52
+ Object.defineProperty(exports, "defineCustomObject", { enumerable: true, get: function () { return definition_1.defineCustomObject; } });
53
+ Object.defineProperty(exports, "extendCustomObject", { enumerable: true, get: function () { return definition_1.extendCustomObject; } });
54
+ Object.defineProperty(exports, "fieldNames", { enumerable: true, get: function () { return definition_1.fieldNames; } });
55
+ Object.defineProperty(exports, "getFieldDefinition", { enumerable: true, get: function () { return definition_1.getFieldDefinition; } });
56
+ Object.defineProperty(exports, "isWritableField", { enumerable: true, get: function () { return definition_1.isWritableField; } });
57
+ Object.defineProperty(exports, "toCustomCategoryApiName", { enumerable: true, get: function () { return definition_1.toCustomCategoryApiName; } });
58
+ Object.defineProperty(exports, "toCustomFieldApiName", { enumerable: true, get: function () { return definition_1.toCustomFieldApiName; } });
59
+ Object.defineProperty(exports, "toCustomObjectApiName", { enumerable: true, get: function () { return definition_1.toCustomObjectApiName; } });
60
+ /** Runtime validation and typed-record helpers. */
61
+ var validation_1 = require("./custom-objects/validation.js");
62
+ Object.defineProperty(exports, "asTypedRecord", { enumerable: true, get: function () { return validation_1.asTypedRecord; } });
63
+ Object.defineProperty(exports, "assertValidCreateInput", { enumerable: true, get: function () { return validation_1.assertValidCreateInput; } });
64
+ Object.defineProperty(exports, "assertValidUpdateInput", { enumerable: true, get: function () { return validation_1.assertValidUpdateInput; } });
65
+ Object.defineProperty(exports, "getRecordValue", { enumerable: true, get: function () { return validation_1.getRecordValue; } });
66
+ Object.defineProperty(exports, "validateCreateInput", { enumerable: true, get: function () { return validation_1.validateCreateInput; } });
67
+ Object.defineProperty(exports, "validateCustomObjectDefinition", { enumerable: true, get: function () { return validation_1.validateCustomObjectDefinition; } });
68
+ Object.defineProperty(exports, "validateLogicalCategoryName", { enumerable: true, get: function () { return validation_1.validateLogicalCategoryName; } });
69
+ Object.defineProperty(exports, "validateLogicalCustomFieldName", { enumerable: true, get: function () { return validation_1.validateLogicalCustomFieldName; } });
70
+ Object.defineProperty(exports, "validateLogicalCustomObjectName", { enumerable: true, get: function () { return validation_1.validateLogicalCustomObjectName; } });
71
+ Object.defineProperty(exports, "validateUpdateInput", { enumerable: true, get: function () { return validation_1.validateUpdateInput; } });
72
+ /** Typed RQL helper factories for custom-object query authoring. */
73
+ var rql_1 = require("./custom-objects/rql.js");
74
+ Object.defineProperty(exports, "createRqlHelpers", { enumerable: true, get: function () { return rql_1.createRqlHelpers; } });
75
+ /** Parsed-string RQL compiler that validates logical field names and value types. */
76
+ var typed_rql_1 = require("./custom-objects/typed-rql.js");
77
+ Object.defineProperty(exports, "typedRql", { enumerable: true, get: function () { return typed_rql_1.typedRql; } });
78
+ /** Typed category-definition helpers for custom-object metadata. */
79
+ var category_1 = require("./custom-objects/category.js");
80
+ Object.defineProperty(exports, "buildObjectCategoryCreateParams", { enumerable: true, get: function () { return category_1.buildObjectCategoryCreateParams; } });
81
+ Object.defineProperty(exports, "buildObjectCategoryUpdateParams", { enumerable: true, get: function () { return category_1.buildObjectCategoryUpdateParams; } });
82
+ Object.defineProperty(exports, "defineCustomObjectCategory", { enumerable: true, get: function () { return category_1.defineCustomObjectCategory; } });
83
+ Object.defineProperty(exports, "deleteCustomObjectCategoryDefinition", { enumerable: true, get: function () { return category_1.deleteCustomObjectCategoryDefinition; } });
84
+ Object.defineProperty(exports, "provisionCustomObjectCategoryDefinition", { enumerable: true, get: function () { return category_1.provisionCustomObjectCategoryDefinition; } });
85
+ Object.defineProperty(exports, "provisionCustomObjectCategoryDefinitions", { enumerable: true, get: function () { return category_1.provisionCustomObjectCategoryDefinitions; } });
86
+ Object.defineProperty(exports, "reconcileCustomObjectCategoryDefinition", { enumerable: true, get: function () { return category_1.reconcileCustomObjectCategoryDefinition; } });
87
+ Object.defineProperty(exports, "reconcileCustomObjectCategoryDefinitions", { enumerable: true, get: function () { return category_1.reconcileCustomObjectCategoryDefinitions; } });
88
+ /** Helpers that compile typed schemas into low-level REST custom-object payloads. */
89
+ var provisioning_1 = require("./custom-objects/provisioning.js");
90
+ Object.defineProperty(exports, "buildCustomObjectCreateParams", { enumerable: true, get: function () { return provisioning_1.buildCustomObjectCreateParams; } });
91
+ Object.defineProperty(exports, "buildCustomObjectNameFieldDetails", { enumerable: true, get: function () { return provisioning_1.buildCustomObjectNameFieldDetails; } });
92
+ Object.defineProperty(exports, "buildCustomObjectUpdateParams", { enumerable: true, get: function () { return provisioning_1.buildCustomObjectUpdateParams; } });
93
+ Object.defineProperty(exports, "buildProvisionableFieldParams", { enumerable: true, get: function () { return provisioning_1.buildProvisionableFieldParams; } });
94
+ Object.defineProperty(exports, "provisionCustomObjectDefinition", { enumerable: true, get: function () { return provisioning_1.provisionCustomObjectDefinition; } });
95
+ Object.defineProperty(exports, "provisionCustomObjectDefinitions", { enumerable: true, get: function () { return provisioning_1.provisionCustomObjectDefinitions; } });
96
+ /** Schema-lifecycle helpers for reconciling typed definitions with remote metadata. */
97
+ var lifecycle_1 = require("./custom-objects/lifecycle.js");
98
+ Object.defineProperty(exports, "deleteCustomObjectDefinition", { enumerable: true, get: function () { return lifecycle_1.deleteCustomObjectDefinition; } });
99
+ Object.defineProperty(exports, "reconcileCustomObjectDefinition", { enumerable: true, get: function () { return lifecycle_1.reconcileCustomObjectDefinition; } });
100
+ Object.defineProperty(exports, "reconcileCustomObjectDefinitions", { enumerable: true, get: function () { return lifecycle_1.reconcileCustomObjectDefinitions; } });
101
+ /** Typed schema-manager classes that bind definitions to a specific SDK client. */
102
+ var schema_manager_1 = require("./custom-objects/schema-manager.js");
103
+ Object.defineProperty(exports, "COSchemaManager", { enumerable: true, get: function () { return schema_manager_1.COSchemaManager; } });
104
+ Object.defineProperty(exports, "CustomObjectSchemaManager", { enumerable: true, get: function () { return schema_manager_1.CustomObjectSchemaManager; } });
105
+ Object.defineProperty(exports, "TypedCustomObjectCategoryManager", { enumerable: true, get: function () { return schema_manager_1.TypedCustomObjectCategoryManager; } });
106
+ Object.defineProperty(exports, "TypedCustomObjectSchemaManager", { enumerable: true, get: function () { return schema_manager_1.TypedCustomObjectSchemaManager; } });
107
+ /** Typed record-manager utilities for CRUD, batch operations, and records-resource/in-memory adapters. */
108
+ var manager_1 = require("./custom-objects/manager.js");
109
+ Object.defineProperty(exports, "COManager", { enumerable: true, get: function () { return manager_1.COManager; } });
110
+ Object.defineProperty(exports, "CustomObjectManager", { enumerable: true, get: function () { return manager_1.CustomObjectManager; } });
111
+ Object.defineProperty(exports, "CustomObjectRecordValidationError", { enumerable: true, get: function () { return manager_1.CustomObjectRecordValidationError; } });
112
+ Object.defineProperty(exports, "InMemoryCustomObjectRecordAdapter", { enumerable: true, get: function () { return manager_1.InMemoryCustomObjectRecordAdapter; } });
113
+ Object.defineProperty(exports, "TypedCustomObjectRecordManager", { enumerable: true, get: function () { return manager_1.TypedCustomObjectRecordManager; } });
114
+ Object.defineProperty(exports, "createCustomObjectRecordAdapter", { enumerable: true, get: function () { return manager_1.createCustomObjectRecordAdapter; } });
115
+ /** Small bootstrap helper that creates one SDK client plus typed record managers for a function invocation. */
116
+ var function_runtime_1 = require("./custom-objects/function-runtime.js");
117
+ Object.defineProperty(exports, "createCustomObjectFunctionRuntime", { enumerable: true, get: function () { return function_runtime_1.createCustomObjectFunctionRuntime; } });
118
+ //# sourceMappingURL=custom-objects.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-objects.js","sourceRoot":"","sources":["../../src/core/platform/custom-objects.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;AAEH,+DAA+D;AAC/D,mDAAiD;AAAxC,gGAAA,OAAO,OAAA;AA2ChB,qDAAqD;AACrD,qDAqBiC;AApB/B,iGAAA,OAAO,OAAA;AACP,kGAAA,QAAQ,OAAA;AACR,8FAAA,IAAI,OAAA;AACJ,kGAAA,QAAQ,OAAA;AACR,+FAAA,KAAK,OAAA;AACL,8FAAA,IAAI,OAAA;AACJ,iGAAA,OAAO,OAAA;AACP,kGAAA,QAAQ,OAAA;AACR,gGAAA,MAAM,OAAA;AACN,qGAAA,WAAW,OAAA;AACX,gGAAA,MAAM,OAAA;AACN,qGAAA,WAAW,OAAA;AACX,oGAAA,UAAU,OAAA;AACV,+FAAA,KAAK,OAAA;AACL,+FAAA,KAAK,OAAA;AACL,kGAAA,QAAQ,OAAA;AACR,gGAAA,MAAM,OAAA;AACN,8FAAA,IAAI,OAAA;AACJ,8FA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A,+BAA+B,OAAA;AAC/B,6HAAA,gCAAgC,OAAA;AAMlC,mFAAmF;AACnF,qEAKyC;AAJvC,iHAAA,eAAe,OAAA;AACf,2HAAA,yBAAyB,OAAA;AACzB,kIAAA,gCAAgC,OAAA;AAChC,gIAAA,8BAA8B,OAAA;AA+ChC,0GAA0G;AAC1G,uDAOkC;AANhC,oGAAA,SAAS,OAAA;AACT,8GAAA,mBAAmB,OAAA;AACnB,4HAAA,iCAAiC,OAAA;AACjC,4HAAA,iCAAiC,OAAA;AACjC,yHAAA,8BAA8B,OAAA;AAC9B,0HAAA,+BAA+B,OAAA;AAUjC,+GAA+G;AAC/G,yEAAsF;AAA7E,qIAAA,iCAAiC,OAAA"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Public custom-object authoring surface for the Rippling TypeScript SDK.
3
+ *
4
+ * Import this module when you want a TypeScript-first, structural definition
5
+ * layer for custom objects that can be reused across manifests, functions,
6
+ * validators, tests, and agent-authored code.
7
+ *
8
+ * The implementation lives under `core/platform/custom-objects/`, but this file
9
+ * is the stable public entrypoint that consumers should import from:
10
+ *
11
+ * ```ts
12
+ * import { defineCustomObject, text } from '@rippling/rippling-sdk/core/platform/custom-objects';
13
+ * ```
14
+ *
15
+ * Manifest-specific adapters for typed custom objects live under:
16
+ *
17
+ * ```ts
18
+ * import { registerManifestCustomObject } from '@rippling/rippling-sdk/core/platform/manifest/custom-objects';
19
+ * ```
20
+ */
21
+ /** Section-definition helper and foundational schema types. */
22
+ export { section } from "./custom-objects/types.mjs";
23
+ /** Field factories and reusable schema fragments. */
24
+ export { boolean, currency, date, datetime, email, file, formula, longText, lookup, nativeModel, number, parentChild, percentage, phone, radio, sections, select, text, time, url, } from "./custom-objects/fields.mjs";
25
+ /** Immutable definition helpers for creating and extending schemas. */
26
+ export { defineCustomObject, extendCustomObject, fieldNames, getFieldDefinition, isWritableField, toCustomCategoryApiName, toCustomFieldApiName, toCustomObjectApiName, } from "./custom-objects/definition.mjs";
27
+ /** Runtime validation and typed-record helpers. */
28
+ export { asTypedRecord, assertValidCreateInput, assertValidUpdateInput, getRecordValue, validateCreateInput, validateCustomObjectDefinition, validateLogicalCategoryName, validateLogicalCustomFieldName, validateLogicalCustomObjectName, validateUpdateInput, } from "./custom-objects/validation.mjs";
29
+ /** Typed RQL helper factories for custom-object query authoring. */
30
+ export { createRqlHelpers } from "./custom-objects/rql.mjs";
31
+ /** Parsed-string RQL compiler that validates logical field names and value types. */
32
+ export { typedRql } from "./custom-objects/typed-rql.mjs";
33
+ /** Typed category-definition helpers for custom-object metadata. */
34
+ export { buildObjectCategoryCreateParams, buildObjectCategoryUpdateParams, defineCustomObjectCategory, deleteCustomObjectCategoryDefinition, provisionCustomObjectCategoryDefinition, provisionCustomObjectCategoryDefinitions, reconcileCustomObjectCategoryDefinition, reconcileCustomObjectCategoryDefinitions, } from "./custom-objects/category.mjs";
35
+ /** Helpers that compile typed schemas into low-level REST custom-object payloads. */
36
+ export { buildCustomObjectCreateParams, buildCustomObjectNameFieldDetails, buildCustomObjectUpdateParams, buildProvisionableFieldParams, provisionCustomObjectDefinition, provisionCustomObjectDefinitions, } from "./custom-objects/provisioning.mjs";
37
+ /** Schema-lifecycle helpers for reconciling typed definitions with remote metadata. */
38
+ export { deleteCustomObjectDefinition, reconcileCustomObjectDefinition, reconcileCustomObjectDefinitions, } from "./custom-objects/lifecycle.mjs";
39
+ /** Typed schema-manager classes that bind definitions to a specific SDK client. */
40
+ export { COSchemaManager, CustomObjectSchemaManager, TypedCustomObjectCategoryManager, TypedCustomObjectSchemaManager, } from "./custom-objects/schema-manager.mjs";
41
+ /** Typed record-manager utilities for CRUD, batch operations, and records-resource/in-memory adapters. */
42
+ export { COManager, CustomObjectManager, CustomObjectRecordValidationError, InMemoryCustomObjectRecordAdapter, TypedCustomObjectRecordManager, createCustomObjectRecordAdapter, } from "./custom-objects/manager.mjs";
43
+ /** Small bootstrap helper that creates one SDK client plus typed record managers for a function invocation. */
44
+ export { createCustomObjectFunctionRuntime } from "./custom-objects/function-runtime.mjs";
45
+ //# sourceMappingURL=custom-objects.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-objects.mjs","sourceRoot":"","sources":["../../src/core/platform/custom-objects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,+DAA+D;AAC/D,OAAO,EAAE,OAAO,EAAE,mCAA+B;AA2CjD,qDAAqD;AACrD,OAAO,EACL,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,MAAM,EACN,WAAW,EACX,MAAM,EACN,WAAW,EACX,UAAU,EACV,KAAK,EACL,KAAK,EACL,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,GAAG,GACJ,oCAAgC;AAEjC,uEAAuE;AACvE,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,kBAAkB,EAClB,eAAe,EACf,uBAAuB,EACvB,oBAAoB,EACpB,qBAAqB,GACtB,wCAAoC;AAKrC,mDAAmD;AACnD,OAAO,EACL,aAAa,EACb,sBAAsB,EACtB,sBAAsB,EACtB,cAAc,EACd,mBAAmB,EACnB,8BAA8B,EAC9B,2BAA2B,EAC3B,8BAA8B,EAC9B,+BAA+B,EAC/B,mBAAmB,GACpB,wCAAoC;AAkBrC,oEAAoE;AACpE,OAAO,EAAE,gBAAgB,EAAE,iCAA6B;AAExD,qFAAqF;AACrF,OAAO,EAAE,QAAQ,EAAE,uCAAmC;AAWtD,oEAAoE;AACpE,OAAO,EACL,+BAA+B,EAC/B,+BAA+B,EAC/B,0BAA0B,EAC1B,oCAAoC,EACpC,uCAAuC,EACvC,wCAAwC,EACxC,uCAAuC,EACvC,wCAAwC,GACzC,sCAAkC;AAUnC,qFAAqF;AACrF,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,EACjC,6BAA6B,EAC7B,6BAA6B,EAC7B,+BAA+B,EAC/B,gCAAgC,GACjC,0CAAsC;AAWvC,uFAAuF;AACvF,OAAO,EACL,4BAA4B,EAC5B,+BAA+B,EAC/B,gCAAgC,GACjC,uCAAmC;AAKpC,mFAAmF;AACnF,OAAO,EACL,eAAe,EACf,yBAAyB,EACzB,gCAAgC,EAChC,8BAA8B,GAC/B,4CAAwC;AA8CzC,0GAA0G;AAC1G,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,iCAAiC,EACjC,iCAAiC,EACjC,8BAA8B,EAC9B,+BAA+B,GAChC,qCAAiC;AASlC,+GAA+G;AAC/G,OAAO,EAAE,iCAAiC,EAAE,8CAA0C"}
@@ -0,0 +1,58 @@
1
+ import { CustomObjectAction, type CustomObjectActionProps, type ManifestFunction } from "../../../../lib/manifest.mjs";
2
+ import type { ManifestScope } from "../../../../lib/manifest/manifest-builder.mjs";
3
+ import type { AnyCustomObjectDefinition } from "../../custom-objects/types.mjs";
4
+ import { type ManifestFunctionFromFileProps } from "./function-file.mjs";
5
+ import type { ManifestRegistration } from "./types.mjs";
6
+ /**
7
+ * Initialization properties for {@link defineTypedCustomObjectAction}.
8
+ *
9
+ * @typeParam TDefinition - Typed custom-object definition whose object action is being authored.
10
+ */
11
+ export interface TypedCustomObjectActionProps<TDefinition extends AnyCustomObjectDefinition> extends Omit<CustomObjectActionProps, 'function'> {
12
+ /** Existing manifest function invoked by this action. */
13
+ readonly function: ManifestFunction;
14
+ /** Phantom type anchor that keeps the props definition-scoped in editor hover/help. */
15
+ readonly __typedActionDefinition__?: TDefinition;
16
+ }
17
+ /**
18
+ * Initialization properties for {@link defineTypedCustomObjectActionFromFunctionFile}.
19
+ *
20
+ * @typeParam TDefinition - Typed custom-object definition whose object action is being authored.
21
+ */
22
+ export interface TypedCustomObjectActionFromFunctionFileProps<TDefinition extends AnyCustomObjectDefinition> extends Omit<TypedCustomObjectActionProps<TDefinition>, 'function'> {
23
+ /** Function metadata and source-file location for the action handler. */
24
+ readonly function: ManifestFunctionFromFileProps;
25
+ }
26
+ /** Result returned by {@link defineTypedCustomObjectActionFromFunctionFile}. */
27
+ export interface TypedCustomObjectActionFromFunctionFileResult {
28
+ /** Manifest function created from the provided source file. */
29
+ readonly function: ManifestFunction;
30
+ /** Custom-object action wired to the created manifest function. */
31
+ readonly action: CustomObjectAction;
32
+ }
33
+ /**
34
+ * Defines one custom-object action for a typed manifest registration.
35
+ *
36
+ * Prefer {@link defineTypedCustomObjectActionFromFunctionFile} for the common
37
+ * colocated-handler path. Use this lower-level form when the backing manifest
38
+ * function already exists separately and you only need to wire the action.
39
+ *
40
+ * @param registration - Manifest registration produced from the typed object definition.
41
+ * @param props - Action metadata plus the backing manifest function.
42
+ * @returns Low-level custom-object action manifest instance.
43
+ * @typeParam TDefinition - Typed custom-object definition whose action is being authored.
44
+ */
45
+ export declare function defineTypedCustomObjectAction<TDefinition extends AnyCustomObjectDefinition>(registration: ManifestRegistration<TDefinition>, props: TypedCustomObjectActionProps<TDefinition>): CustomObjectAction;
46
+ /**
47
+ * Defines one custom-object action and its backing manifest function from a source file.
48
+ *
49
+ * This is the intended golden path when one custom-object action owns one
50
+ * colocated handler file.
51
+ *
52
+ * @param registration - Manifest registration produced from the typed object definition.
53
+ * @param props - Action metadata plus the function source-file location.
54
+ * @returns Created manifest function plus the action wired to it.
55
+ * @typeParam TDefinition - Typed custom-object definition whose action is being authored.
56
+ */
57
+ export declare function defineTypedCustomObjectActionFromFunctionFile<TDefinition extends AnyCustomObjectDefinition>(scope: ManifestScope, registration: ManifestRegistration<TDefinition>, props: TypedCustomObjectActionFromFunctionFileProps<TDefinition>): TypedCustomObjectActionFromFunctionFileResult;
58
+ //# sourceMappingURL=action.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.d.mts","sourceRoot":"","sources":["../../../../src/core/platform/manifest/custom-objects/action.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACtB,qCAAiC;AAClC,OAAO,K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, type CustomObjectActionProps, type ManifestFunction } from "../../../../lib/manifest.js";
2
+ import type { ManifestScope } from "../../../../lib/manifest/manifest-builder.js";
3
+ import type { AnyCustomObjectDefinition } from "../../custom-objects/types.js";
4
+ import { type ManifestFunctionFromFileProps } from "./function-file.js";
5
+ import type { ManifestRegistration } from "./types.js";
6
+ /**
7
+ * Initialization properties for {@link defineTypedCustomObjectAction}.
8
+ *
9
+ * @typeParam TDefinition - Typed custom-object definition whose object action is being authored.
10
+ */
11
+ export interface TypedCustomObjectActionProps<TDefinition extends AnyCustomObjectDefinition> extends Omit<CustomObjectActionProps, 'function'> {
12
+ /** Existing manifest function invoked by this action. */
13
+ readonly function: ManifestFunction;
14
+ /** Phantom type anchor that keeps the props definition-scoped in editor hover/help. */
15
+ readonly __typedActionDefinition__?: TDefinition;
16
+ }
17
+ /**
18
+ * Initialization properties for {@link defineTypedCustomObjectActionFromFunctionFile}.
19
+ *
20
+ * @typeParam TDefinition - Typed custom-object definition whose object action is being authored.
21
+ */
22
+ export interface TypedCustomObjectActionFromFunctionFileProps<TDefinition extends AnyCustomObjectDefinition> extends Omit<TypedCustomObjectActionProps<TDefinition>, 'function'> {
23
+ /** Function metadata and source-file location for the action handler. */
24
+ readonly function: ManifestFunctionFromFileProps;
25
+ }
26
+ /** Result returned by {@link defineTypedCustomObjectActionFromFunctionFile}. */
27
+ export interface TypedCustomObjectActionFromFunctionFileResult {
28
+ /** Manifest function created from the provided source file. */
29
+ readonly function: ManifestFunction;
30
+ /** Custom-object action wired to the created manifest function. */
31
+ readonly action: CustomObjectAction;
32
+ }
33
+ /**
34
+ * Defines one custom-object action for a typed manifest registration.
35
+ *
36
+ * Prefer {@link defineTypedCustomObjectActionFromFunctionFile} for the common
37
+ * colocated-handler path. Use this lower-level form when the backing manifest
38
+ * function already exists separately and you only need to wire the action.
39
+ *
40
+ * @param registration - Manifest registration produced from the typed object definition.
41
+ * @param props - Action metadata plus the backing manifest function.
42
+ * @returns Low-level custom-object action manifest instance.
43
+ * @typeParam TDefinition - Typed custom-object definition whose action is being authored.
44
+ */
45
+ export declare function defineTypedCustomObjectAction<TDefinition extends AnyCustomObjectDefinition>(registration: ManifestRegistration<TDefinition>, props: TypedCustomObjectActionProps<TDefinition>): CustomObjectAction;
46
+ /**
47
+ * Defines one custom-object action and its backing manifest function from a source file.
48
+ *
49
+ * This is the intended golden path when one custom-object action owns one
50
+ * colocated handler file.
51
+ *
52
+ * @param registration - Manifest registration produced from the typed object definition.
53
+ * @param props - Action metadata plus the function source-file location.
54
+ * @returns Created manifest function plus the action wired to it.
55
+ * @typeParam TDefinition - Typed custom-object definition whose action is being authored.
56
+ */
57
+ export declare function defineTypedCustomObjectActionFromFunctionFile<TDefinition extends AnyCustomObjectDefinition>(scope: ManifestScope, registration: ManifestRegistration<TDefinition>, props: TypedCustomObjectActionFromFunctionFileProps<TDefinition>): TypedCustomObjectActionFromFunctionFileResult;
58
+ //# sourceMappingURL=action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../../src/core/platform/manifest/custom-objects/action.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACtB,oCAAiC;AAClC,OAAO,KAAK,EAAE,aAAa,EAAE,qDAAkD;AAC/E,OAAO,KAAK,EAAE,yBAAyB,EAAE,sCAAmC;AAC5E,OAAO,EAAkC,KAAK,6BAA6B,EAAE,2BAAwB;AACrG,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAgB;AAEpD;;;;GAIG;AACH,MAAM,WAAW,4BAA4B,CAAC,WAAW,SAAS,yBAAyB,CACzF,SAAQ,IAAI,CAAC,uBAAuB,EAAE,UAAU,CAAC;IACjD,yDAAyD;IACzD,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,uFAAuF;IACvF,QAAQ,CAAC,yBAAyB,CAAC,EAAE,WAAW,CAAC;CAClD;AAED;;;;GAIG;AACH,MAAM,WAAW,4CAA4C,CAAC,WAAW,SAAS,yBAAyB,CACzG,SAAQ,IAAI,CAAC,4BAA4B,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC;IACnE,yEAAyE;IACzE,QAAQ,CAAC,QAAQ,EAAE,6BAA6B,CAAC;CAClD;AAED,gFAAgF;AAChF,MAAM,WAAW,6CAA6C;IAC5D,+DAA+D;IAC/D,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,mEAAmE;IACnE,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAC;CACrC;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,6BAA6B,CAAC,WAAW,SAAS,yBAAyB,EACzF,YAAY,EAAE,oBAAoB,CAAC,WAAW,CAAC,EAC/C,KAAK,EAAE,4BAA4B,CAAC,WAAW,CAAC,GAC/C,kBAAkB,CAEpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,6CAA6C,CAAC,WAAW,SAAS,yBAAyB,EACzG,KAAK,EAAE,aAAa,EACpB,YAAY,EAAE,oBAAoB,CAAC,WAAW,CAAC,EAC/C,KAAK,EAAE,4CAA4C,CAAC,WAAW,CAAC,GAC/D,6CAA6C,CAU/C"}
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defineTypedCustomObjectAction = defineTypedCustomObjectAction;
4
+ exports.defineTypedCustomObjectActionFromFunctionFile = defineTypedCustomObjectActionFromFunctionFile;
5
+ const manifest_1 = require("../../../../lib/manifest.js");
6
+ const function_file_1 = require("./function-file.js");
7
+ /**
8
+ * Defines one custom-object action for a typed manifest registration.
9
+ *
10
+ * Prefer {@link defineTypedCustomObjectActionFromFunctionFile} for the common
11
+ * colocated-handler path. Use this lower-level form when the backing manifest
12
+ * function already exists separately and you only need to wire the action.
13
+ *
14
+ * @param registration - Manifest registration produced from the typed object definition.
15
+ * @param props - Action metadata plus the backing manifest function.
16
+ * @returns Low-level custom-object action manifest instance.
17
+ * @typeParam TDefinition - Typed custom-object definition whose action is being authored.
18
+ */
19
+ function defineTypedCustomObjectAction(registration, props) {
20
+ return new manifest_1.CustomObjectAction(registration.object, props);
21
+ }
22
+ /**
23
+ * Defines one custom-object action and its backing manifest function from a source file.
24
+ *
25
+ * This is the intended golden path when one custom-object action owns one
26
+ * colocated handler file.
27
+ *
28
+ * @param registration - Manifest registration produced from the typed object definition.
29
+ * @param props - Action metadata plus the function source-file location.
30
+ * @returns Created manifest function plus the action wired to it.
31
+ * @typeParam TDefinition - Typed custom-object definition whose action is being authored.
32
+ */
33
+ function defineTypedCustomObjectActionFromFunctionFile(scope, registration, props) {
34
+ const { function: functionProps, ...actionProps } = props;
35
+ const createdFunction = (0, function_file_1.defineManifestFunctionFromFile)(scope, functionProps);
36
+ return {
37
+ function: createdFunction,
38
+ action: defineTypedCustomObjectAction(registration, {
39
+ ...actionProps,
40
+ function: createdFunction,
41
+ }),
42
+ };
43
+ }
44
+ //# sourceMappingURL=action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.js","sourceRoot":"","sources":["../../../../src/core/platform/manifest/custom-objects/action.ts"],"names":[],"mappings":";;AAsDA,sEAKC;AAaD,sGAcC;AAtFD,0DAIkC;AAGlC,sDAAqG;AAmCrG;;;;;;;;;;;GAWG;AACH,SAAgB,6BAA6B,CAC3C,YAA+C,EAC/C,KAAgD;IAEhD,OAAO,IAAI,6BAAkB,CAAC,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,6CAA6C,CAC3D,KAAoB,EACpB,YAA+C,EAC/C,KAAgE;IAEhE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,CAAC;IAC1D,MAAM,eAAe,GAAG,IAAA,8CAA8B,EAAC,KAAK,EAAE,aAAa,CAAC,CAAC;IAC7E,OAAO;QACL,QAAQ,EAAE,eAAe;QACzB,MAAM,EAAE,6BAA6B,CAAC,YAAY,EAAE;YAClD,GAAG,WAAW;YACd,QAAQ,EAAE,eAAe;SAC1B,CAAC;KACH,CAAC;AACJ,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { CustomObjectAction, } from "../../../../lib/manifest.mjs";
2
+ import { defineManifestFunctionFromFile } from "./function-file.mjs";
3
+ /**
4
+ * Defines one custom-object action for a typed manifest registration.
5
+ *
6
+ * Prefer {@link defineTypedCustomObjectActionFromFunctionFile} for the common
7
+ * colocated-handler path. Use this lower-level form when the backing manifest
8
+ * function already exists separately and you only need to wire the action.
9
+ *
10
+ * @param registration - Manifest registration produced from the typed object definition.
11
+ * @param props - Action metadata plus the backing manifest function.
12
+ * @returns Low-level custom-object action manifest instance.
13
+ * @typeParam TDefinition - Typed custom-object definition whose action is being authored.
14
+ */
15
+ export function defineTypedCustomObjectAction(registration, props) {
16
+ return new CustomObjectAction(registration.object, props);
17
+ }
18
+ /**
19
+ * Defines one custom-object action and its backing manifest function from a source file.
20
+ *
21
+ * This is the intended golden path when one custom-object action owns one
22
+ * colocated handler file.
23
+ *
24
+ * @param registration - Manifest registration produced from the typed object definition.
25
+ * @param props - Action metadata plus the function source-file location.
26
+ * @returns Created manifest function plus the action wired to it.
27
+ * @typeParam TDefinition - Typed custom-object definition whose action is being authored.
28
+ */
29
+ export function defineTypedCustomObjectActionFromFunctionFile(scope, registration, props) {
30
+ const { function: functionProps, ...actionProps } = props;
31
+ const createdFunction = defineManifestFunctionFromFile(scope, functionProps);
32
+ return {
33
+ function: createdFunction,
34
+ action: defineTypedCustomObjectAction(registration, {
35
+ ...actionProps,
36
+ function: createdFunction,
37
+ }),
38
+ };
39
+ }
40
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.mjs","sourceRoot":"","sources":["../../../../src/core/platform/manifest/custom-objects/action.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,GAGnB,qCAAiC;AAGlC,OAAO,EAAE,8BAA8B,EAAsC,4BAAwB;AAmCrG;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,6BAA6B,CAC3C,YAA+C,EAC/C,KAAgD;IAEhD,OAAO,IAAI,kBAAkB,CAAC,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,6CAA6C,CAC3D,KAAoB,EACpB,YAA+C,EAC/C,KAAgE;IAEhE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,CAAC;IAC1D,MAAM,eAAe,GAAG,8BAA8B,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;IAC7E,OAAO;QACL,QAAQ,EAAE,eAAe;QACzB,MAAM,EAAE,6BAA6B,CAAC,YAAY,EAAE;YAClD,GAAG,WAAW;YACd,QAAQ,EAAE,eAAe;SAC1B,CAAC;KACH,CAAC;AACJ,CAAC"}