@rippling/rippling-sdk 0.2.0-alpha.83 → 0.2.0-alpha.85

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 (314) hide show
  1. package/examples/manifest/custom-object-creation-workflow/custom-object-creation-workflow.ts +44 -26
  2. package/examples/manifest/dental-practice-management/dental-practice-management.ts +470 -142
  3. package/examples/manifest/dental-practice-management/functions/chair-schedule.ts +23 -13
  4. package/examples/manifest/dental-practice-management/functions/complete-visit.ts +55 -32
  5. package/examples/manifest/dental-practice-management/functions/operatory-list.ts +23 -13
  6. package/examples/manifest/dental-practice-management/functions/patient-list.ts +23 -13
  7. package/examples/manifest/dental-practice-management/functions/treatment-plan-list.ts +23 -13
  8. package/examples/manifest/existing-manifest-mutations/existing-manifest-mutations.ts +23 -68
  9. package/examples/manifest/field-service-dispatch/field-service-dispatch.ts +375 -102
  10. package/examples/manifest/grant-program-management/grant-program-management.ts +419 -125
  11. package/examples/manifest/gym-membership-management/functions/check-in-desk.ts +23 -13
  12. package/examples/manifest/gym-membership-management/functions/member-list.ts +23 -13
  13. package/examples/manifest/gym-membership-management/functions/today-schedule.ts +23 -13
  14. package/examples/manifest/gym-membership-management/functions/trainer-list.ts +23 -13
  15. package/examples/manifest/gym-membership-management/gym-membership-management.ts +442 -92
  16. package/examples/manifest/procurement-approval-hub/procurement-approval-hub.ts +408 -122
  17. package/examples/manifest/simple-todo-app/functions/mark-done.ts +12 -16
  18. package/examples/manifest/simple-todo-app/functions/todo-list.ts +23 -13
  19. package/examples/manifest/simple-todo-app/simple-todo-app.ts +109 -40
  20. package/examples/manifest/todo-app-without-object-list-view/functions/todo-page.ts +193 -166
  21. package/examples/manifest/todo-app-without-object-list-view/todo-app-without-object-list-view.ts +47 -24
  22. package/package.json +13 -7
  23. package/resources/custom-objects/custom-objects.d.mts +0 -7
  24. package/resources/custom-objects/custom-objects.d.mts.map +1 -1
  25. package/resources/custom-objects/custom-objects.d.ts +0 -7
  26. package/resources/custom-objects/custom-objects.d.ts.map +1 -1
  27. package/resources/custom-objects/custom-objects.js.map +1 -1
  28. package/resources/custom-objects/custom-objects.mjs.map +1 -1
  29. package/resources/custom-objects/fields.d.mts +14 -128
  30. package/resources/custom-objects/fields.d.mts.map +1 -1
  31. package/resources/custom-objects/fields.d.ts +14 -128
  32. package/resources/custom-objects/fields.d.ts.map +1 -1
  33. package/src/resources/custom-objects/custom-objects.ts +0 -8
  34. package/src/resources/custom-objects/fields.ts +13 -191
  35. package/src/tsconfig.json +1 -1
  36. package/src/version.ts +1 -1
  37. package/version.d.mts +1 -1
  38. package/version.d.ts +1 -1
  39. package/version.js +1 -1
  40. package/version.mjs +1 -1
  41. package/core/platform/custom-objects/category.d.mts +0 -125
  42. package/core/platform/custom-objects/category.d.mts.map +0 -1
  43. package/core/platform/custom-objects/category.d.ts +0 -125
  44. package/core/platform/custom-objects/category.d.ts.map +0 -1
  45. package/core/platform/custom-objects/category.js +0 -188
  46. package/core/platform/custom-objects/category.js.map +0 -1
  47. package/core/platform/custom-objects/category.mjs +0 -178
  48. package/core/platform/custom-objects/category.mjs.map +0 -1
  49. package/core/platform/custom-objects/definition.d.mts +0 -147
  50. package/core/platform/custom-objects/definition.d.mts.map +0 -1
  51. package/core/platform/custom-objects/definition.d.ts +0 -147
  52. package/core/platform/custom-objects/definition.d.ts.map +0 -1
  53. package/core/platform/custom-objects/definition.js +0 -200
  54. package/core/platform/custom-objects/definition.js.map +0 -1
  55. package/core/platform/custom-objects/definition.mjs +0 -190
  56. package/core/platform/custom-objects/definition.mjs.map +0 -1
  57. package/core/platform/custom-objects/fields.d.mts +0 -302
  58. package/core/platform/custom-objects/fields.d.mts.map +0 -1
  59. package/core/platform/custom-objects/fields.d.ts +0 -302
  60. package/core/platform/custom-objects/fields.d.ts.map +0 -1
  61. package/core/platform/custom-objects/fields.js +0 -369
  62. package/core/platform/custom-objects/fields.js.map +0 -1
  63. package/core/platform/custom-objects/fields.mjs +0 -347
  64. package/core/platform/custom-objects/fields.mjs.map +0 -1
  65. package/core/platform/custom-objects/function-runtime.d.mts +0 -42
  66. package/core/platform/custom-objects/function-runtime.d.mts.map +0 -1
  67. package/core/platform/custom-objects/function-runtime.d.ts +0 -42
  68. package/core/platform/custom-objects/function-runtime.d.ts.map +0 -1
  69. package/core/platform/custom-objects/function-runtime.js +0 -38
  70. package/core/platform/custom-objects/function-runtime.js.map +0 -1
  71. package/core/platform/custom-objects/function-runtime.mjs +0 -35
  72. package/core/platform/custom-objects/function-runtime.mjs.map +0 -1
  73. package/core/platform/custom-objects/lifecycle.d.mts +0 -83
  74. package/core/platform/custom-objects/lifecycle.d.mts.map +0 -1
  75. package/core/platform/custom-objects/lifecycle.d.ts +0 -83
  76. package/core/platform/custom-objects/lifecycle.d.ts.map +0 -1
  77. package/core/platform/custom-objects/lifecycle.js +0 -372
  78. package/core/platform/custom-objects/lifecycle.js.map +0 -1
  79. package/core/platform/custom-objects/lifecycle.mjs +0 -367
  80. package/core/platform/custom-objects/lifecycle.mjs.map +0 -1
  81. package/core/platform/custom-objects/manager.d.mts +0 -354
  82. package/core/platform/custom-objects/manager.d.mts.map +0 -1
  83. package/core/platform/custom-objects/manager.d.ts +0 -354
  84. package/core/platform/custom-objects/manager.d.ts.map +0 -1
  85. package/core/platform/custom-objects/manager.js +0 -646
  86. package/core/platform/custom-objects/manager.js.map +0 -1
  87. package/core/platform/custom-objects/manager.mjs +0 -637
  88. package/core/platform/custom-objects/manager.mjs.map +0 -1
  89. package/core/platform/custom-objects/provisioning.d.mts +0 -138
  90. package/core/platform/custom-objects/provisioning.d.mts.map +0 -1
  91. package/core/platform/custom-objects/provisioning.d.ts +0 -138
  92. package/core/platform/custom-objects/provisioning.d.ts.map +0 -1
  93. package/core/platform/custom-objects/provisioning.js +0 -455
  94. package/core/platform/custom-objects/provisioning.js.map +0 -1
  95. package/core/platform/custom-objects/provisioning.mjs +0 -447
  96. package/core/platform/custom-objects/provisioning.mjs.map +0 -1
  97. package/core/platform/custom-objects/rql.d.mts +0 -122
  98. package/core/platform/custom-objects/rql.d.mts.map +0 -1
  99. package/core/platform/custom-objects/rql.d.ts +0 -122
  100. package/core/platform/custom-objects/rql.d.ts.map +0 -1
  101. package/core/platform/custom-objects/rql.js +0 -225
  102. package/core/platform/custom-objects/rql.js.map +0 -1
  103. package/core/platform/custom-objects/rql.mjs +0 -222
  104. package/core/platform/custom-objects/rql.mjs.map +0 -1
  105. package/core/platform/custom-objects/schema-manager.d.mts +0 -203
  106. package/core/platform/custom-objects/schema-manager.d.mts.map +0 -1
  107. package/core/platform/custom-objects/schema-manager.d.ts +0 -203
  108. package/core/platform/custom-objects/schema-manager.d.ts.map +0 -1
  109. package/core/platform/custom-objects/schema-manager.js +0 -256
  110. package/core/platform/custom-objects/schema-manager.js.map +0 -1
  111. package/core/platform/custom-objects/schema-manager.mjs +0 -249
  112. package/core/platform/custom-objects/schema-manager.mjs.map +0 -1
  113. package/core/platform/custom-objects/typed-rql.d.mts +0 -157
  114. package/core/platform/custom-objects/typed-rql.d.mts.map +0 -1
  115. package/core/platform/custom-objects/typed-rql.d.ts +0 -157
  116. package/core/platform/custom-objects/typed-rql.d.ts.map +0 -1
  117. package/core/platform/custom-objects/typed-rql.js +0 -583
  118. package/core/platform/custom-objects/typed-rql.js.map +0 -1
  119. package/core/platform/custom-objects/typed-rql.mjs +0 -580
  120. package/core/platform/custom-objects/typed-rql.mjs.map +0 -1
  121. package/core/platform/custom-objects/types.d.mts +0 -549
  122. package/core/platform/custom-objects/types.d.mts.map +0 -1
  123. package/core/platform/custom-objects/types.d.ts +0 -549
  124. package/core/platform/custom-objects/types.d.ts.map +0 -1
  125. package/core/platform/custom-objects/types.js +0 -20
  126. package/core/platform/custom-objects/types.js.map +0 -1
  127. package/core/platform/custom-objects/types.mjs +0 -17
  128. package/core/platform/custom-objects/types.mjs.map +0 -1
  129. package/core/platform/custom-objects/validation.d.mts +0 -97
  130. package/core/platform/custom-objects/validation.d.mts.map +0 -1
  131. package/core/platform/custom-objects/validation.d.ts +0 -97
  132. package/core/platform/custom-objects/validation.d.ts.map +0 -1
  133. package/core/platform/custom-objects/validation.js +0 -477
  134. package/core/platform/custom-objects/validation.js.map +0 -1
  135. package/core/platform/custom-objects/validation.mjs +0 -465
  136. package/core/platform/custom-objects/validation.mjs.map +0 -1
  137. package/core/platform/custom-objects.d.mts +0 -67
  138. package/core/platform/custom-objects.d.mts.map +0 -1
  139. package/core/platform/custom-objects.d.ts +0 -67
  140. package/core/platform/custom-objects.d.ts.map +0 -1
  141. package/core/platform/custom-objects.js +0 -118
  142. package/core/platform/custom-objects.js.map +0 -1
  143. package/core/platform/custom-objects.mjs +0 -45
  144. package/core/platform/custom-objects.mjs.map +0 -1
  145. package/core/platform/manifest/custom-objects/action.d.mts +0 -58
  146. package/core/platform/manifest/custom-objects/action.d.mts.map +0 -1
  147. package/core/platform/manifest/custom-objects/action.d.ts +0 -58
  148. package/core/platform/manifest/custom-objects/action.d.ts.map +0 -1
  149. package/core/platform/manifest/custom-objects/action.js +0 -44
  150. package/core/platform/manifest/custom-objects/action.js.map +0 -1
  151. package/core/platform/manifest/custom-objects/action.mjs +0 -40
  152. package/core/platform/manifest/custom-objects/action.mjs.map +0 -1
  153. package/core/platform/manifest/custom-objects/conditions.d.mts +0 -240
  154. package/core/platform/manifest/custom-objects/conditions.d.mts.map +0 -1
  155. package/core/platform/manifest/custom-objects/conditions.d.ts +0 -240
  156. package/core/platform/manifest/custom-objects/conditions.d.ts.map +0 -1
  157. package/core/platform/manifest/custom-objects/conditions.js +0 -326
  158. package/core/platform/manifest/custom-objects/conditions.js.map +0 -1
  159. package/core/platform/manifest/custom-objects/conditions.mjs +0 -321
  160. package/core/platform/manifest/custom-objects/conditions.mjs.map +0 -1
  161. package/core/platform/manifest/custom-objects/existing.d.mts +0 -87
  162. package/core/platform/manifest/custom-objects/existing.d.mts.map +0 -1
  163. package/core/platform/manifest/custom-objects/existing.d.ts +0 -87
  164. package/core/platform/manifest/custom-objects/existing.d.ts.map +0 -1
  165. package/core/platform/manifest/custom-objects/existing.js +0 -113
  166. package/core/platform/manifest/custom-objects/existing.js.map +0 -1
  167. package/core/platform/manifest/custom-objects/existing.mjs +0 -109
  168. package/core/platform/manifest/custom-objects/existing.mjs.map +0 -1
  169. package/core/platform/manifest/custom-objects/field-resolution.d.mts +0 -48
  170. package/core/platform/manifest/custom-objects/field-resolution.d.mts.map +0 -1
  171. package/core/platform/manifest/custom-objects/field-resolution.d.ts +0 -48
  172. package/core/platform/manifest/custom-objects/field-resolution.d.ts.map +0 -1
  173. package/core/platform/manifest/custom-objects/field-resolution.js +0 -61
  174. package/core/platform/manifest/custom-objects/field-resolution.js.map +0 -1
  175. package/core/platform/manifest/custom-objects/field-resolution.mjs +0 -58
  176. package/core/platform/manifest/custom-objects/field-resolution.mjs.map +0 -1
  177. package/core/platform/manifest/custom-objects/function-file.d.mts +0 -87
  178. package/core/platform/manifest/custom-objects/function-file.d.mts.map +0 -1
  179. package/core/platform/manifest/custom-objects/function-file.d.ts +0 -87
  180. package/core/platform/manifest/custom-objects/function-file.d.ts.map +0 -1
  181. package/core/platform/manifest/custom-objects/function-file.js +0 -76
  182. package/core/platform/manifest/custom-objects/function-file.js.map +0 -1
  183. package/core/platform/manifest/custom-objects/function-file.mjs +0 -69
  184. package/core/platform/manifest/custom-objects/function-file.mjs.map +0 -1
  185. package/core/platform/manifest/custom-objects/list-view.d.mts +0 -65
  186. package/core/platform/manifest/custom-objects/list-view.d.mts.map +0 -1
  187. package/core/platform/manifest/custom-objects/list-view.d.ts +0 -65
  188. package/core/platform/manifest/custom-objects/list-view.d.ts.map +0 -1
  189. package/core/platform/manifest/custom-objects/list-view.js +0 -33
  190. package/core/platform/manifest/custom-objects/list-view.js.map +0 -1
  191. package/core/platform/manifest/custom-objects/list-view.mjs +0 -30
  192. package/core/platform/manifest/custom-objects/list-view.mjs.map +0 -1
  193. package/core/platform/manifest/custom-objects/object-list-page.d.mts +0 -43
  194. package/core/platform/manifest/custom-objects/object-list-page.d.mts.map +0 -1
  195. package/core/platform/manifest/custom-objects/object-list-page.d.ts +0 -43
  196. package/core/platform/manifest/custom-objects/object-list-page.d.ts.map +0 -1
  197. package/core/platform/manifest/custom-objects/object-list-page.js +0 -54
  198. package/core/platform/manifest/custom-objects/object-list-page.js.map +0 -1
  199. package/core/platform/manifest/custom-objects/object-list-page.mjs +0 -50
  200. package/core/platform/manifest/custom-objects/object-list-page.mjs.map +0 -1
  201. package/core/platform/manifest/custom-objects/page-layout.d.mts +0 -142
  202. package/core/platform/manifest/custom-objects/page-layout.d.mts.map +0 -1
  203. package/core/platform/manifest/custom-objects/page-layout.d.ts +0 -142
  204. package/core/platform/manifest/custom-objects/page-layout.d.ts.map +0 -1
  205. package/core/platform/manifest/custom-objects/page-layout.js +0 -184
  206. package/core/platform/manifest/custom-objects/page-layout.js.map +0 -1
  207. package/core/platform/manifest/custom-objects/page-layout.mjs +0 -180
  208. package/core/platform/manifest/custom-objects/page-layout.mjs.map +0 -1
  209. package/core/platform/manifest/custom-objects/register.d.mts +0 -87
  210. package/core/platform/manifest/custom-objects/register.d.mts.map +0 -1
  211. package/core/platform/manifest/custom-objects/register.d.ts +0 -87
  212. package/core/platform/manifest/custom-objects/register.d.ts.map +0 -1
  213. package/core/platform/manifest/custom-objects/register.js +0 -395
  214. package/core/platform/manifest/custom-objects/register.js.map +0 -1
  215. package/core/platform/manifest/custom-objects/register.mjs +0 -391
  216. package/core/platform/manifest/custom-objects/register.mjs.map +0 -1
  217. package/core/platform/manifest/custom-objects/rule.d.mts +0 -113
  218. package/core/platform/manifest/custom-objects/rule.d.mts.map +0 -1
  219. package/core/platform/manifest/custom-objects/rule.d.ts +0 -113
  220. package/core/platform/manifest/custom-objects/rule.d.ts.map +0 -1
  221. package/core/platform/manifest/custom-objects/rule.js +0 -49
  222. package/core/platform/manifest/custom-objects/rule.js.map +0 -1
  223. package/core/platform/manifest/custom-objects/rule.mjs +0 -45
  224. package/core/platform/manifest/custom-objects/rule.mjs.map +0 -1
  225. package/core/platform/manifest/custom-objects/sdui-page.d.mts +0 -214
  226. package/core/platform/manifest/custom-objects/sdui-page.d.mts.map +0 -1
  227. package/core/platform/manifest/custom-objects/sdui-page.d.ts +0 -214
  228. package/core/platform/manifest/custom-objects/sdui-page.d.ts.map +0 -1
  229. package/core/platform/manifest/custom-objects/sdui-page.js +0 -194
  230. package/core/platform/manifest/custom-objects/sdui-page.js.map +0 -1
  231. package/core/platform/manifest/custom-objects/sdui-page.mjs +0 -182
  232. package/core/platform/manifest/custom-objects/sdui-page.mjs.map +0 -1
  233. package/core/platform/manifest/custom-objects/typed-condition.d.mts +0 -28
  234. package/core/platform/manifest/custom-objects/typed-condition.d.mts.map +0 -1
  235. package/core/platform/manifest/custom-objects/typed-condition.d.ts +0 -28
  236. package/core/platform/manifest/custom-objects/typed-condition.d.ts.map +0 -1
  237. package/core/platform/manifest/custom-objects/typed-condition.js +0 -434
  238. package/core/platform/manifest/custom-objects/typed-condition.js.map +0 -1
  239. package/core/platform/manifest/custom-objects/typed-condition.mjs +0 -431
  240. package/core/platform/manifest/custom-objects/typed-condition.mjs.map +0 -1
  241. package/core/platform/manifest/custom-objects/types.d.mts +0 -29
  242. package/core/platform/manifest/custom-objects/types.d.mts.map +0 -1
  243. package/core/platform/manifest/custom-objects/types.d.ts +0 -29
  244. package/core/platform/manifest/custom-objects/types.d.ts.map +0 -1
  245. package/core/platform/manifest/custom-objects/types.js +0 -3
  246. package/core/platform/manifest/custom-objects/types.js.map +0 -1
  247. package/core/platform/manifest/custom-objects/types.mjs +0 -2
  248. package/core/platform/manifest/custom-objects/types.mjs.map +0 -1
  249. package/core/platform/manifest/custom-objects/validation.d.mts +0 -44
  250. package/core/platform/manifest/custom-objects/validation.d.mts.map +0 -1
  251. package/core/platform/manifest/custom-objects/validation.d.ts +0 -44
  252. package/core/platform/manifest/custom-objects/validation.d.ts.map +0 -1
  253. package/core/platform/manifest/custom-objects/validation.js +0 -30
  254. package/core/platform/manifest/custom-objects/validation.js.map +0 -1
  255. package/core/platform/manifest/custom-objects/validation.mjs +0 -27
  256. package/core/platform/manifest/custom-objects/validation.mjs.map +0 -1
  257. package/core/platform/manifest/custom-objects/workflow.d.mts +0 -47
  258. package/core/platform/manifest/custom-objects/workflow.d.mts.map +0 -1
  259. package/core/platform/manifest/custom-objects/workflow.d.ts +0 -47
  260. package/core/platform/manifest/custom-objects/workflow.d.ts.map +0 -1
  261. package/core/platform/manifest/custom-objects/workflow.js +0 -38
  262. package/core/platform/manifest/custom-objects/workflow.js.map +0 -1
  263. package/core/platform/manifest/custom-objects/workflow.mjs +0 -34
  264. package/core/platform/manifest/custom-objects/workflow.mjs.map +0 -1
  265. package/core/platform/manifest/custom-objects.d.mts +0 -85
  266. package/core/platform/manifest/custom-objects.d.mts.map +0 -1
  267. package/core/platform/manifest/custom-objects.d.ts +0 -85
  268. package/core/platform/manifest/custom-objects.d.ts.map +0 -1
  269. package/core/platform/manifest/custom-objects.js +0 -84
  270. package/core/platform/manifest/custom-objects.js.map +0 -1
  271. package/core/platform/manifest/custom-objects.mjs +0 -55
  272. package/core/platform/manifest/custom-objects.mjs.map +0 -1
  273. package/examples/manifest/custom-object-creation-workflow/functions/intake-request-created.ts +0 -20
  274. package/examples/manifest/custom-object-creation-workflow/schema.ts +0 -29
  275. package/examples/manifest/dental-practice-management/schema.ts +0 -298
  276. package/examples/manifest/field-service-dispatch/schema.ts +0 -248
  277. package/examples/manifest/grant-program-management/schema.ts +0 -269
  278. package/examples/manifest/gym-membership-management/schema.ts +0 -266
  279. package/examples/manifest/procurement-approval-hub/functions/route-purchase-request.ts +0 -20
  280. package/examples/manifest/procurement-approval-hub/schema.ts +0 -256
  281. package/examples/manifest/simple-todo-app/schema.ts +0 -60
  282. package/examples/manifest/todo-app-without-object-list-view/schema.ts +0 -28
  283. package/src/core/platform/README.md +0 -20
  284. package/src/core/platform/custom-objects/category.ts +0 -294
  285. package/src/core/platform/custom-objects/definition.ts +0 -373
  286. package/src/core/platform/custom-objects/fields.ts +0 -653
  287. package/src/core/platform/custom-objects/function-runtime.ts +0 -76
  288. package/src/core/platform/custom-objects/lifecycle.ts +0 -557
  289. package/src/core/platform/custom-objects/manager.ts +0 -959
  290. package/src/core/platform/custom-objects/provisioning.ts +0 -672
  291. package/src/core/platform/custom-objects/rql.ts +0 -375
  292. package/src/core/platform/custom-objects/schema-manager.ts +0 -351
  293. package/src/core/platform/custom-objects/typed-rql.ts +0 -1273
  294. package/src/core/platform/custom-objects/types.ts +0 -753
  295. package/src/core/platform/custom-objects/validation.ts +0 -573
  296. package/src/core/platform/custom-objects.ts +0 -269
  297. package/src/core/platform/manifest/README.md +0 -26
  298. package/src/core/platform/manifest/custom-objects/action.ts +0 -87
  299. package/src/core/platform/manifest/custom-objects/conditions.ts +0 -762
  300. package/src/core/platform/manifest/custom-objects/existing.ts +0 -221
  301. package/src/core/platform/manifest/custom-objects/field-resolution.ts +0 -116
  302. package/src/core/platform/manifest/custom-objects/function-file.ts +0 -149
  303. package/src/core/platform/manifest/custom-objects/list-view.ts +0 -95
  304. package/src/core/platform/manifest/custom-objects/object-list-page.ts +0 -87
  305. package/src/core/platform/manifest/custom-objects/page-layout.ts +0 -380
  306. package/src/core/platform/manifest/custom-objects/register.ts +0 -555
  307. package/src/core/platform/manifest/custom-objects/rule.ts +0 -192
  308. package/src/core/platform/manifest/custom-objects/sdui-page.ts +0 -515
  309. package/src/core/platform/manifest/custom-objects/typed-condition.ts +0 -617
  310. package/src/core/platform/manifest/custom-objects/types.ts +0 -92
  311. package/src/core/platform/manifest/custom-objects/validation.ts +0 -70
  312. package/src/core/platform/manifest/custom-objects/workflow.ts +0 -71
  313. package/src/core/platform/manifest/custom-objects.ts +0 -203
  314. package/src/pebble-sdui-web-custom-apps-shim.d.ts +0 -3
@@ -1,347 +0,0 @@
1
- /**
2
- * Freezes a field definition so reusable fragments stay immutable at runtime.
3
- *
4
- * @typeParam TField - Concrete field definition being frozen.
5
- */
6
- /**
7
- * Freezes one field definition fragment before returning it to callers.
8
- *
9
- * @param field - Concrete field definition to freeze.
10
- * @returns The same field definition, frozen for safe reuse.
11
- * @typeParam TField - Concrete field definition being frozen.
12
- */
13
- function freezeField(field) {
14
- return Object.freeze(field);
15
- }
16
- /**
17
- * Normalizes an optional required flag into the literal type expected by field definitions.
18
- *
19
- * @typeParam TRequired - Literal boolean requested by the caller.
20
- */
21
- /**
22
- * Normalizes an optional `required` flag into the literal boolean type used by field definitions.
23
- *
24
- * @param required - Optional literal required flag supplied by the caller.
25
- * @returns Normalized required flag, defaulting to `false`.
26
- * @typeParam TRequired - Literal boolean requested by the caller.
27
- */
28
- function normalizeRequired(required) {
29
- return (required ?? false);
30
- }
31
- /**
32
- * Declares a native Rippling model target for lookup fields.
33
- *
34
- * @param apiName - Native model API name, for example `'Employee'`.
35
- * @returns Immutable native-model target descriptor for lookup fields.
36
- * @typeParam TApiName - Native model api name, for example `'Employee'`.
37
- */
38
- export function nativeModel(apiName) {
39
- return Object.freeze({ kind: 'native-model-target', apiName });
40
- }
41
- /**
42
- * Defines a single-line text field.
43
- *
44
- * @param props - Text-field metadata and presentation properties.
45
- * @returns Immutable text field definition.
46
- * @typeParam TRequired - Whether the field is required during record creation.
47
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
48
- */
49
- export function text(props) {
50
- return freezeField({ kind: 'text', required: normalizeRequired(props.required), writable: true, ...props });
51
- }
52
- /**
53
- * Defines a multi-line text field.
54
- *
55
- * @param props - Long-text field metadata and presentation properties.
56
- * @returns Immutable long-text field definition.
57
- * @typeParam TRequired - Whether the field is required during record creation.
58
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
59
- */
60
- export function longText(props) {
61
- return freezeField({
62
- kind: 'long-text',
63
- required: normalizeRequired(props.required),
64
- writable: true,
65
- ...props,
66
- });
67
- }
68
- /**
69
- * Defines an email-address field.
70
- *
71
- * @param props - Email-field metadata and presentation properties.
72
- * @returns Immutable email field definition.
73
- * @typeParam TRequired - Whether the field is required during record creation.
74
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
75
- */
76
- export function email(props) {
77
- return freezeField({
78
- kind: 'email',
79
- required: normalizeRequired(props.required),
80
- writable: true,
81
- ...props,
82
- });
83
- }
84
- /**
85
- * Defines a URL field.
86
- *
87
- * @param props - URL-field metadata and presentation properties.
88
- * @returns Immutable URL field definition.
89
- * @typeParam TRequired - Whether the field is required during record creation.
90
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
91
- */
92
- export function url(props) {
93
- return freezeField({ kind: 'url', required: normalizeRequired(props.required), writable: true, ...props });
94
- }
95
- /**
96
- * Defines a phone-number field.
97
- *
98
- * @param props - Phone-field metadata and presentation properties.
99
- * @returns Immutable phone field definition.
100
- * @typeParam TRequired - Whether the field is required during record creation.
101
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
102
- */
103
- export function phone(props) {
104
- return freezeField({
105
- kind: 'phone',
106
- required: normalizeRequired(props.required),
107
- writable: true,
108
- ...props,
109
- });
110
- }
111
- /**
112
- * Defines a numeric field.
113
- *
114
- * @param props - Number-field metadata and presentation properties.
115
- * @returns Immutable number field definition.
116
- * @typeParam TRequired - Whether the field is required during record creation.
117
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
118
- */
119
- export function number(props) {
120
- return freezeField({
121
- kind: 'number',
122
- required: normalizeRequired(props.required),
123
- writable: true,
124
- ...props,
125
- });
126
- }
127
- /**
128
- * Defines a currency field.
129
- *
130
- * @param props - Currency-field metadata and presentation properties.
131
- * @returns Immutable currency field definition.
132
- * @typeParam TRequired - Whether the field is required during record creation.
133
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
134
- */
135
- export function currency(props) {
136
- return freezeField({
137
- kind: 'currency',
138
- required: normalizeRequired(props.required),
139
- writable: true,
140
- ...props,
141
- });
142
- }
143
- /**
144
- * Defines a percentage field.
145
- *
146
- * @param props - Percentage-field metadata and presentation properties.
147
- * @returns Immutable percentage field definition.
148
- * @typeParam TRequired - Whether the field is required during record creation.
149
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
150
- */
151
- export function percentage(props) {
152
- return freezeField({
153
- kind: 'percentage',
154
- required: normalizeRequired(props.required),
155
- writable: true,
156
- ...props,
157
- });
158
- }
159
- /**
160
- * Defines a date-only field.
161
- *
162
- * @param props - Date-field metadata and presentation properties.
163
- * @returns Immutable date field definition.
164
- * @typeParam TRequired - Whether the field is required during record creation.
165
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
166
- */
167
- export function date(props) {
168
- return freezeField({ kind: 'date', required: normalizeRequired(props.required), writable: true, ...props });
169
- }
170
- /**
171
- * Defines a date-time field.
172
- *
173
- * @param props - Datetime-field metadata and presentation properties.
174
- * @returns Immutable datetime field definition.
175
- * @typeParam TRequired - Whether the field is required during record creation.
176
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
177
- */
178
- export function datetime(props) {
179
- return freezeField({
180
- kind: 'datetime',
181
- required: normalizeRequired(props.required),
182
- writable: true,
183
- ...props,
184
- });
185
- }
186
- /**
187
- * Defines a time-of-day field.
188
- *
189
- * @param props - Time-field metadata and presentation properties.
190
- * @returns Immutable time field definition.
191
- * @typeParam TRequired - Whether the field is required during record creation.
192
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
193
- */
194
- export function time(props) {
195
- return freezeField({ kind: 'time', required: normalizeRequired(props.required), writable: true, ...props });
196
- }
197
- /**
198
- * Defines a multi-select choice field.
199
- *
200
- * @param props - Multi-select field metadata and presentation properties.
201
- * @returns Immutable multi-select field definition.
202
- * @typeParam TRequired - Whether the field is required during record creation.
203
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
204
- */
205
- export function select(props) {
206
- return freezeField({
207
- kind: 'select',
208
- required: normalizeRequired(props.required),
209
- writable: true,
210
- ...props,
211
- });
212
- }
213
- /**
214
- * Defines a single-select radio field.
215
- *
216
- * @param props - Radio-field metadata and presentation properties.
217
- * @returns Immutable radio field definition.
218
- * @typeParam TRequired - Whether the field is required during record creation.
219
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
220
- */
221
- export function radio(props) {
222
- return freezeField({
223
- kind: 'radio',
224
- required: normalizeRequired(props.required),
225
- writable: true,
226
- ...props,
227
- });
228
- }
229
- /**
230
- * Defines a boolean field.
231
- *
232
- * @param props - Boolean-field metadata and presentation properties.
233
- * @returns Immutable boolean field definition.
234
- * @typeParam TRequired - Whether the field is required during record creation.
235
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
236
- */
237
- export function boolean(props) {
238
- return freezeField({
239
- kind: 'boolean',
240
- required: normalizeRequired(props.required),
241
- writable: true,
242
- ...props,
243
- });
244
- }
245
- /**
246
- * Defines a file attachment field.
247
- *
248
- * @param props - File-field metadata and presentation properties.
249
- * @returns Immutable file field definition.
250
- * @typeParam TRequired - Whether the field is required during record creation.
251
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
252
- */
253
- export function file(props) {
254
- return freezeField({ kind: 'file', required: normalizeRequired(props.required), writable: true, ...props });
255
- }
256
- /**
257
- * Defines a many-to-one lookup field.
258
- *
259
- * @param target - Target object or native model referenced by the lookup.
260
- * @param props - Lookup-field metadata and presentation properties.
261
- * @returns Immutable lookup field definition.
262
- * @typeParam TTarget - Target object or native model referenced by the lookup.
263
- * @typeParam TRequired - Whether the lookup is required during record creation.
264
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
265
- */
266
- export function lookup(target, props) {
267
- return freezeField({
268
- kind: 'lookup',
269
- target,
270
- targetApiName: target.apiName,
271
- required: normalizeRequired(props.required),
272
- writable: true,
273
- ...props,
274
- });
275
- }
276
- /**
277
- * Defines a parent-child relationship field.
278
- *
279
- * @param target - Parent object definition referenced by the relationship.
280
- * @param props - Parent-child field metadata and presentation properties.
281
- * @returns Immutable parent-child field definition.
282
- * @typeParam TTarget - Parent object definition referenced by the relationship.
283
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
284
- */
285
- export function parentChild(target, props) {
286
- return freezeField({
287
- kind: 'parent-child',
288
- target,
289
- targetApiName: target.apiName,
290
- required: true,
291
- writable: true,
292
- ...props,
293
- });
294
- }
295
- /**
296
- * Shared implementation for the public formula helpers.
297
- *
298
- * @typeParam TKind - Concrete formula-field discriminant.
299
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
300
- */
301
- /**
302
- * Builds one immutable read-only formula field definition.
303
- *
304
- * @param kind - Concrete formula-field discriminant to produce.
305
- * @param props - Formula metadata and presentation properties.
306
- * @returns Immutable formula field definition.
307
- * @typeParam TKind - Concrete formula-field discriminant.
308
- * @typeParam TSectionKey - Allowed section-key union for the enclosing object.
309
- */
310
- function formulaField(kind, props) {
311
- return freezeField({ ...props, kind, writable: false, required: false });
312
- }
313
- /** Typed helpers for read-only formula fields. */
314
- export const formula = Object.freeze({
315
- text(props) {
316
- return formulaField('formula-text', props);
317
- },
318
- number(props) {
319
- return formulaField('formula-number', props);
320
- },
321
- boolean(props) {
322
- return formulaField('formula-boolean', props);
323
- },
324
- currency(props) {
325
- return formulaField('formula-currency', props);
326
- },
327
- percentage(props) {
328
- return formulaField('formula-percentage', props);
329
- },
330
- date(props) {
331
- return formulaField('formula-date', props);
332
- },
333
- url(props) {
334
- return formulaField('formula-url', props);
335
- },
336
- });
337
- /**
338
- * Immutable helper for authoring section maps in reusable fragments.
339
- *
340
- * @param definitions - Section definitions to freeze and preserve as-is.
341
- * @returns Frozen section-definition map retaining the caller's key/value types.
342
- * @typeParam TSections - Concrete section map to preserve in the returned value.
343
- */
344
- export function sections(definitions) {
345
- return Object.freeze({ ...definitions });
346
- }
347
- //# sourceMappingURL=fields.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fields.mjs","sourceRoot":"","sources":["../../../src/core/platform/custom-objects/fields.ts"],"names":[],"mappings":"AAqFA;;;;GAIG;AACH;;;;;;GAMG;AACH,SAAS,WAAW,CAAoC,KAAa;IACnE,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC9B,C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AC;IAED,QAAQ,CACN,KAAmE;QAEnE,OAAO,YAAY,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;IACjD,CAAC;IAED,UAAU,CACR,KAAmE;QAEnE,OAAO,YAAY,CAAC,oBAAoB,EAAE,KAAK,CAAC,CAAC;IACnD,CAAC;IAED,IAAI,CACF,KAAmE;QAEnE,OAAO,YAAY,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;IAC7C,CAAC;IAED,GAAG,CACD,KAAmE;QAEnE,OAAO,YAAY,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;IAC5C,CAAC;CACF,CAAC,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,UAAU,QAAQ,CACtB,WAAsB;IAEtB,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,WAAW,EAAE,CAAC,CAAC;AAC3C,CAAC"}
@@ -1,42 +0,0 @@
1
- import type { FunctionContext } from "../../../functions.mjs";
2
- import { COManager, type CustomObjectRecordsClient, type TypedCustomObjectRecordManager } from "./manager.mjs";
3
- import type { AnyCustomObjectDefinition } from "./types.mjs";
4
- /** SDK-shaped client surface consumed by {@link createCustomObjectFunctionRuntime}. */
5
- export interface CustomObjectFunctionRuntimeClient {
6
- readonly customObjects: {
7
- readonly records: CustomObjectRecordsClient;
8
- };
9
- }
10
- /** Constructor options for {@link createCustomObjectFunctionRuntime}. */
11
- export interface CreateCustomObjectFunctionRuntimeOptions {
12
- /** Optional prebuilt SDK-shaped client used instead of constructing a new one from the function context. */
13
- readonly client?: CustomObjectFunctionRuntimeClient;
14
- /** Optional bearer-token override used when constructing the default SDK client. */
15
- readonly bearerToken?: string;
16
- }
17
- /** Shared runtime returned by {@link createCustomObjectFunctionRuntime}. */
18
- export interface CustomObjectFunctionRuntime {
19
- /** SDK-shaped client used for low-level access beyond the typed manager lane. */
20
- readonly client: CustomObjectFunctionRuntimeClient;
21
- /** Underlying records resource used by the typed manager lane. */
22
- readonly records: CustomObjectRecordsClient;
23
- /** Root typed custom-object manager bound to the chosen client. */
24
- readonly manager: COManager;
25
- /** Returns a typed record manager bound to one object definition. */
26
- for<TDefinition extends AnyCustomObjectDefinition>(definition: TDefinition): TypedCustomObjectRecordManager<TDefinition>;
27
- /** Alias for {@link for}. */
28
- forObject<TDefinition extends AnyCustomObjectDefinition>(definition: TDefinition): TypedCustomObjectRecordManager<TDefinition>;
29
- }
30
- /**
31
- * Creates one shared custom-object function runtime from a Rippling function context.
32
- *
33
- * This is the small bootstrap helper for custom-object-backed functions: it
34
- * constructs one SDK client from `context.env.rippling_user_bearer_token`, binds
35
- * a `COManager`, and exposes definition-scoped managers through `for(...)`.
36
- *
37
- * @param context - Function context whose bearer token should back the runtime.
38
- * @param options - Optional client injection or bearer-token override.
39
- * @returns Shared runtime containing the SDK client plus typed record managers.
40
- */
41
- export declare function createCustomObjectFunctionRuntime(context: Pick<FunctionContext, 'env'>, options?: CreateCustomObjectFunctionRuntimeOptions): CustomObjectFunctionRuntime;
42
- //# sourceMappingURL=function-runtime.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"function-runtime.d.mts","sourceRoot":"","sources":["../../../src/core/platform/custom-objects/function-runtime.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,+BAA2B;AAC1D,OAAO,EAAE,SAAS,EAAE,KAAK,yBAAyB,EAAE,KAAK,8BAA8B,EAAE,sBAAkB;AAC3G,OAAO,KAAK,EAAE,yBAAyB,EAAE,oBAAgB;AAEzD,uFAAuF;AACvF,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,aAAa,EAAE;QACtB,QAAQ,CAAC,OAAO,EAAE,yBAAyB,CAAC;KAC7C,CAAC;CACH;AAED,yEAAyE;AACzE,MAAM,WAAW,wCAAwC;IACvD,4GAA4G;IAC5G,QAAQ,CAAC,MAAM,CAAC,EAAE,iCAAiC,CAAC;IACpD,oFAAoF;IACpF,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,4EAA4E;AAC5E,MAAM,WAAW,2BAA2B;IAC1C,iFAAiF;IACjF,QAAQ,CAAC,MAAM,EAAE,iCAAiC,CAAC;IACnD,kEAAkE;IAClE,QAAQ,CAAC,OAAO,EAAE,yBAAyB,CAAC;IAC5C,mEAAmE;IACnE,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC;IAC5B,qEAAqE;IACrE,GAAG,CAAC,WAAW,SAAS,yBAAyB,EAC/C,UAAU,EAAE,WAAW,GACtB,8BAA8B,CAAC,WAAW,CAAC,CAAC;IAC/C,6BAA6B;IAC7B,SAAS,CAAC,WAAW,SAAS,yBAAyB,EACrD,UAAU,EAAE,WAAW,GACtB,8BAA8B,CAAC,WAAW,CAAC,CAAC;CAChD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iCAAiC,CAC/C,OAAO,EAAE,IAAI,CAAC,eAAe,EAAE,KAAK,CAAC,EACrC,OAAO,GAAE,wCAA6C,GACrD,2BAA2B,CAuB7B"}
@@ -1,42 +0,0 @@
1
- import type { FunctionContext } from "../../../functions.js";
2
- import { COManager, type CustomObjectRecordsClient, type TypedCustomObjectRecordManager } from "./manager.js";
3
- import type { AnyCustomObjectDefinition } from "./types.js";
4
- /** SDK-shaped client surface consumed by {@link createCustomObjectFunctionRuntime}. */
5
- export interface CustomObjectFunctionRuntimeClient {
6
- readonly customObjects: {
7
- readonly records: CustomObjectRecordsClient;
8
- };
9
- }
10
- /** Constructor options for {@link createCustomObjectFunctionRuntime}. */
11
- export interface CreateCustomObjectFunctionRuntimeOptions {
12
- /** Optional prebuilt SDK-shaped client used instead of constructing a new one from the function context. */
13
- readonly client?: CustomObjectFunctionRuntimeClient;
14
- /** Optional bearer-token override used when constructing the default SDK client. */
15
- readonly bearerToken?: string;
16
- }
17
- /** Shared runtime returned by {@link createCustomObjectFunctionRuntime}. */
18
- export interface CustomObjectFunctionRuntime {
19
- /** SDK-shaped client used for low-level access beyond the typed manager lane. */
20
- readonly client: CustomObjectFunctionRuntimeClient;
21
- /** Underlying records resource used by the typed manager lane. */
22
- readonly records: CustomObjectRecordsClient;
23
- /** Root typed custom-object manager bound to the chosen client. */
24
- readonly manager: COManager;
25
- /** Returns a typed record manager bound to one object definition. */
26
- for<TDefinition extends AnyCustomObjectDefinition>(definition: TDefinition): TypedCustomObjectRecordManager<TDefinition>;
27
- /** Alias for {@link for}. */
28
- forObject<TDefinition extends AnyCustomObjectDefinition>(definition: TDefinition): TypedCustomObjectRecordManager<TDefinition>;
29
- }
30
- /**
31
- * Creates one shared custom-object function runtime from a Rippling function context.
32
- *
33
- * This is the small bootstrap helper for custom-object-backed functions: it
34
- * constructs one SDK client from `context.env.rippling_user_bearer_token`, binds
35
- * a `COManager`, and exposes definition-scoped managers through `for(...)`.
36
- *
37
- * @param context - Function context whose bearer token should back the runtime.
38
- * @param options - Optional client injection or bearer-token override.
39
- * @returns Shared runtime containing the SDK client plus typed record managers.
40
- */
41
- export declare function createCustomObjectFunctionRuntime(context: Pick<FunctionContext, 'env'>, options?: CreateCustomObjectFunctionRuntimeOptions): CustomObjectFunctionRuntime;
42
- //# sourceMappingURL=function-runtime.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"function-runtime.d.ts","sourceRoot":"","sources":["../../../src/core/platform/custom-objects/function-runtime.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,8BAA2B;AAC1D,OAAO,EAAE,SAAS,EAAE,KAAK,yBAAyB,EAAE,KAAK,8BAA8B,EAAE,qBAAkB;AAC3G,OAAO,KAAK,EAAE,yBAAyB,EAAE,mBAAgB;AAEzD,uFAAuF;AACvF,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,aAAa,EAAE;QACtB,QAAQ,CAAC,OAAO,EAAE,yBAAyB,CAAC;KAC7C,CAAC;CACH;AAED,yEAAyE;AACzE,MAAM,WAAW,wCAAwC;IACvD,4GAA4G;IAC5G,QAAQ,CAAC,MAAM,CAAC,EAAE,iCAAiC,CAAC;IACpD,oFAAoF;IACpF,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,4EAA4E;AAC5E,MAAM,WAAW,2BAA2B;IAC1C,iFAAiF;IACjF,QAAQ,CAAC,MAAM,EAAE,iCAAiC,CAAC;IACnD,kEAAkE;IAClE,QAAQ,CAAC,OAAO,EAAE,yBAAyB,CAAC;IAC5C,mEAAmE;IACnE,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC;IAC5B,qEAAqE;IACrE,GAAG,CAAC,WAAW,SAAS,yBAAyB,EAC/C,UAAU,EAAE,WAAW,GACtB,8BAA8B,CAAC,WAAW,CAAC,CAAC;IAC/C,6BAA6B;IAC7B,SAAS,CAAC,WAAW,SAAS,yBAAyB,EACrD,UAAU,EAAE,WAAW,GACtB,8BAA8B,CAAC,WAAW,CAAC,CAAC;CAChD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iCAAiC,CAC/C,OAAO,EAAE,IAAI,CAAC,eAAe,EAAE,KAAK,CAAC,EACrC,OAAO,GAAE,wCAA6C,GACrD,2BAA2B,CAuB7B"}
@@ -1,38 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createCustomObjectFunctionRuntime = createCustomObjectFunctionRuntime;
4
- const client_1 = require("../../../client.js");
5
- const manager_1 = require("./manager.js");
6
- /**
7
- * Creates one shared custom-object function runtime from a Rippling function context.
8
- *
9
- * This is the small bootstrap helper for custom-object-backed functions: it
10
- * constructs one SDK client from `context.env.rippling_user_bearer_token`, binds
11
- * a `COManager`, and exposes definition-scoped managers through `for(...)`.
12
- *
13
- * @param context - Function context whose bearer token should back the runtime.
14
- * @param options - Optional client injection or bearer-token override.
15
- * @returns Shared runtime containing the SDK client plus typed record managers.
16
- */
17
- function createCustomObjectFunctionRuntime(context, options = {}) {
18
- if (options.client != null && options.bearerToken != null) {
19
- throw new Error('Pass either client or bearerToken to createCustomObjectFunctionRuntime(...), not both.');
20
- }
21
- const client = options.client ??
22
- new client_1.RipplingSDK({
23
- bearerToken: options.bearerToken ?? context.env.rippling_user_bearer_token,
24
- });
25
- const manager = manager_1.COManager.fromRecords(client.customObjects.records);
26
- return Object.freeze({
27
- client,
28
- records: client.customObjects.records,
29
- manager,
30
- for(definition) {
31
- return manager.for(definition);
32
- },
33
- forObject(definition) {
34
- return manager.forObject(definition);
35
- },
36
- });
37
- }
38
- //# sourceMappingURL=function-runtime.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"function-runtime.js","sourceRoot":"","sources":["../../../src/core/platform/custom-objects/function-runtime.ts"],"names":[],"mappings":";;AAiDA,8EA0BC;AA3ED,+CAA8C;AAE9C,0CAA2G;AAoC3G;;;;;;;;;;GAUG;AACH,SAAgB,iCAAiC,CAC/C,OAAqC,EACrC,UAAoD,EAAE;IAEtD,IAAI,OAAO,CAAC,MAAM,IAAI,IAAI,IAAI,OAAO,CAAC,WAAW,IAAI,IAAI,EAAE,CAAC;QAC1D,MAAM,IAAI,KAAK,CAAC,wFAAwF,CAAC,CAAC;IAC5G,CAAC;IAED,MAAM,MAAM,GACV,OAAO,CAAC,MAAM;QACd,IAAI,oBAAW,CAAC;YACd,WAAW,EAAE,OAAO,CAAC,WAAW,IAAI,OAAO,CAAC,GAAG,CAAC,0BAA0B;SAC3E,CAAC,CAAC;IACL,MAAM,OAAO,GAAG,mBAAS,CAAC,WAAW,CAAC,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAEpE,OAAO,MAAM,CAAC,MAAM,CAAC;QACnB,MAAM;QACN,OAAO,EAAE,MAAM,CAAC,aAAa,CAAC,OAAO;QACrC,OAAO;QACP,GAAG,CAAgD,UAAuB;YACxE,OAAO,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QACjC,CAAC;QACD,SAAS,CAAgD,UAAuB;YAC9E,OAAO,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QACvC,CAAC;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -1,35 +0,0 @@
1
- import { RipplingSDK } from "../../../client.mjs";
2
- import { COManager } from "./manager.mjs";
3
- /**
4
- * Creates one shared custom-object function runtime from a Rippling function context.
5
- *
6
- * This is the small bootstrap helper for custom-object-backed functions: it
7
- * constructs one SDK client from `context.env.rippling_user_bearer_token`, binds
8
- * a `COManager`, and exposes definition-scoped managers through `for(...)`.
9
- *
10
- * @param context - Function context whose bearer token should back the runtime.
11
- * @param options - Optional client injection or bearer-token override.
12
- * @returns Shared runtime containing the SDK client plus typed record managers.
13
- */
14
- export function createCustomObjectFunctionRuntime(context, options = {}) {
15
- if (options.client != null && options.bearerToken != null) {
16
- throw new Error('Pass either client or bearerToken to createCustomObjectFunctionRuntime(...), not both.');
17
- }
18
- const client = options.client ??
19
- new RipplingSDK({
20
- bearerToken: options.bearerToken ?? context.env.rippling_user_bearer_token,
21
- });
22
- const manager = COManager.fromRecords(client.customObjects.records);
23
- return Object.freeze({
24
- client,
25
- records: client.customObjects.records,
26
- manager,
27
- for(definition) {
28
- return manager.for(definition);
29
- },
30
- forObject(definition) {
31
- return manager.forObject(definition);
32
- },
33
- });
34
- }
35
- //# sourceMappingURL=function-runtime.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"function-runtime.mjs","sourceRoot":"","sources":["../../../src/core/platform/custom-objects/function-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,4BAAwB;AAE9C,OAAO,EAAE,SAAS,EAAuE,sBAAkB;AAoC3G;;;;;;;;;;GAUG;AACH,MAAM,UAAU,iCAAiC,CAC/C,OAAqC,EACrC,UAAoD,EAAE;IAEtD,IAAI,OAAO,CAAC,MAAM,IAAI,IAAI,IAAI,OAAO,CAAC,WAAW,IAAI,IAAI,EAAE,CAAC;QAC1D,MAAM,IAAI,KAAK,CAAC,wFAAwF,CAAC,CAAC;IAC5G,CAAC;IAED,MAAM,MAAM,GACV,OAAO,CAAC,MAAM;QACd,IAAI,WAAW,CAAC;YACd,WAAW,EAAE,OAAO,CAAC,WAAW,IAAI,OAAO,CAAC,GAAG,CAAC,0BAA0B;SAC3E,CAAC,CAAC;IACL,MAAM,OAAO,GAAG,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAEpE,OAAO,MAAM,CAAC,MAAM,CAAC;QACnB,MAAM;QACN,OAAO,EAAE,MAAM,CAAC,aAAa,CAAC,OAAO;QACrC,OAAO;QACP,GAAG,CAAgD,UAAuB;YACxE,OAAO,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QACjC,CAAC;QACD,SAAS,CAAgD,UAAuB;YAC9E,OAAO,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QACvC,CAAC;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -1,83 +0,0 @@
1
- import type { RipplingSDK } from "../../../client.mjs";
2
- import type { CustomObject } from "../../../resources/custom-objects/custom-objects.mjs";
3
- import type { CustomObjectField } from "../../../resources/custom-objects/fields.mjs";
4
- import type { AnyCustomObjectDefinition, FieldNames } from "./types.mjs";
5
- import type { CustomObjectCategoryDefinition, ReconciledCustomObjectCategory } from "./category.mjs";
6
- /** Lifecycle action emitted by typed metadata reconciliation helpers. */
7
- export type CustomObjectLifecycleAction = 'created' | 'updated' | 'deleted' | 'unchanged';
8
- /** Reconciliation result for one logical custom-object field. */
9
- export interface ReconciledCustomObjectField<TDefinition extends AnyCustomObjectDefinition = AnyCustomObjectDefinition> {
10
- /** Source typed object definition. */
11
- readonly definition: TDefinition;
12
- /** Logical field name from the typed definition. */
13
- readonly fieldName: FieldNames<TDefinition>;
14
- /** Action applied to the field. */
15
- readonly action: CustomObjectLifecycleAction;
16
- /** Remote field after reconciliation, when present. */
17
- readonly field?: CustomObjectField;
18
- }
19
- /** Result returned by custom-object reconciliation helpers. */
20
- export interface ReconciledCustomObject<TDefinition extends AnyCustomObjectDefinition = AnyCustomObjectDefinition> {
21
- /** Source typed object definition. */
22
- readonly definition: TDefinition;
23
- /** Optional category reconciliation result, when a category definition was supplied. */
24
- readonly category?: ReconciledCustomObjectCategory;
25
- /** Whether the object metadata was created, updated, or already matched. */
26
- readonly objectAction: Exclude<CustomObjectLifecycleAction, 'deleted'>;
27
- /** Remote object after reconciliation. */
28
- readonly object: CustomObject;
29
- /** Whether the platform-managed name field required an update. */
30
- readonly nameFieldAction?: Exclude<CustomObjectLifecycleAction, 'deleted'>;
31
- /** Remote `name` field after applying `name_field_details`, when relevant. */
32
- readonly nameField?: CustomObjectField;
33
- /** Per-field reconciliation results keyed by logical field name. */
34
- readonly fields: Readonly<Record<FieldNames<TDefinition>, ReconciledCustomObjectField<TDefinition>>>;
35
- /** Deleted extra remote fields keyed by api name. */
36
- readonly deletedFieldApiNames: readonly string[];
37
- }
38
- /** Options for reconciling one typed custom-object definition against the backend. */
39
- export interface ReconcileCustomObjectDefinitionOptions {
40
- /** Optional typed category definition to reconcile before the object. */
41
- readonly categoryDefinition?: CustomObjectCategoryDefinition;
42
- /** Resolved category id used by the live REST object APIs. */
43
- readonly categoryIdentifier?: string;
44
- /** Whether to delete non-standard remote fields that are absent from the typed definition. */
45
- readonly deleteMissingFields?: boolean;
46
- /** Whether to update the platform-managed `name` field when using autonumber metadata. Defaults to `true`. */
47
- readonly updateNameFieldDetails?: boolean;
48
- }
49
- /** Options for reconciling multiple typed custom-object definitions in one batch. */
50
- export interface ReconcileCustomObjectDefinitionsOptions extends Omit<ReconcileCustomObjectDefinitionOptions, 'categoryDefinition' | 'categoryIdentifier'> {
51
- /** Optional typed categories to reconcile before object reconciliation. */
52
- readonly categoryDefinitions?: readonly CustomObjectCategoryDefinition[];
53
- /** Resolved category ids keyed by object api name for definitions without embedded category definitions. */
54
- readonly categoryIdentifiersByObjectApiName?: Readonly<Record<string, string>>;
55
- }
56
- /**
57
- * Reconciles one typed custom-object definition against the backend.
58
- *
59
- * @param client - SDK client used to call the metadata APIs.
60
- * @param definition - Typed object definition to reconcile.
61
- * @param options - Reconciliation behavior flags for categories, name fields, and deletions.
62
- * @returns Frozen reconciliation result describing the final backend state.
63
- * @typeParam TDefinition - Object definition being reconciled.
64
- */
65
- export declare function reconcileCustomObjectDefinition<TDefinition extends AnyCustomObjectDefinition>(client: RipplingSDK, definition: TDefinition, options?: ReconcileCustomObjectDefinitionOptions): Promise<ReconciledCustomObject<TDefinition>>;
66
- /**
67
- * Reconciles multiple typed custom-object definitions in a relationship-safe batch.
68
- *
69
- * @param client - SDK client used to call the metadata APIs.
70
- * @param definitions - Typed object definitions to reconcile.
71
- * @param options - Batch reconciliation behavior flags.
72
- * @returns Frozen reconciliation results in input order.
73
- */
74
- export declare function reconcileCustomObjectDefinitions(client: RipplingSDK, definitions: readonly AnyCustomObjectDefinition[], options?: ReconcileCustomObjectDefinitionsOptions): Promise<readonly ReconciledCustomObject[]>;
75
- /**
76
- * Deletes one typed custom object definition by its compiled API name.
77
- *
78
- * @param client - SDK client used to call the object APIs.
79
- * @param definition - Typed object definition identifying the object to delete.
80
- * @typeParam TDefinition - Object definition being deleted.
81
- */
82
- export declare function deleteCustomObjectDefinition<TDefinition extends AnyCustomObjectDefinition>(client: RipplingSDK, definition: TDefinition): Promise<void>;
83
- //# sourceMappingURL=lifecycle.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lifecycle.d.mts","sourceRoot":"","sources":["../../../src/core/platform/custom-objects/lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,4BAAwB;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,6DAAyD;AACrF,OAAO,KAAK,EAAE,iBAAiB,EAAE,qDAAiD;AAClF,OAAO,KAAK,EAAE,yBAAyB,EAAsB,UAAU,EAAE,oBAAgB;AACzF,OAAO,KAAK,EAAE,8BAA8B,EAAE,8BAA8B,EAAE,uBAAmB;AAQjG,yEAAyE;AACzE,MAAM,MAAM,2BAA2B,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;AAE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