@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 +0,0 @@
1
- {"version":3,"file":"schema-manager.js","sourceRoot":"","sources":["../../../src/core/platform/custom-objects/schema-manager.ts"],"names":[],"mappings":";;;AAOA,4C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buildObjectCategoryUpdateParams, deleteCustomObjectCategoryDefinition, provisionCustomObjectCategoryDefinition, provisionCustomObjectCategoryDefinitions, reconcileCustomObjectCategoryDefinition, reconcileCustomObjectCategoryDefinitions, } from "./category.mjs";
2
- import { buildCustomObjectCreateParams, buildCustomObjectNameFieldDetails, buildCustomObjectUpdateParams, buildProvisionableFieldParams, provisionCustomObjectDefinition, provisionCustomObjectDefinitions, } from "./provisioning.mjs";
3
- import { deleteCustomObjectDefinition, reconcileCustomObjectDefinition, reconcileCustomObjectDefinitions, } from "./lifecycle.mjs";
4
- /**
5
- * Typed manager bound to one category definition and one SDK client.
6
- *
7
- * @typeParam TName - Logical category name carried by the bound definition.
8
- */
9
- export class TypedCustomObjectCategoryManager {
10
- /**
11
- * Creates a typed category manager bound to one SDK client and one category definition.
12
- *
13
- * @param client - SDK client used for category lifecycle operations.
14
- * @param definition - Typed category definition to bind to the manager.
15
- */
16
- constructor(client, definition) {
17
- this.client = client;
18
- this.definition = definition;
19
- }
20
- /**
21
- * Returns the bound typed category definition.
22
- *
23
- * @returns Bound typed category definition.
24
- */
25
- getDefinition() {
26
- return this.definition;
27
- }
28
- /**
29
- * Builds the low-level create payload for the bound category definition.
30
- *
31
- * @returns REST category-create payload for the bound definition.
32
- */
33
- buildCreateParams() {
34
- return buildObjectCategoryCreateParams(this.definition);
35
- }
36
- /**
37
- * Builds the low-level update payload for the bound category definition.
38
- *
39
- * @returns REST category-update payload for the bound definition.
40
- */
41
- buildUpdateParams() {
42
- return buildObjectCategoryUpdateParams(this.definition);
43
- }
44
- /**
45
- * Provisions the bound category definition through the REST SDK.
46
- *
47
- * @param options - Provisioning behavior flags for display-metadata updates.
48
- * @returns Provisioning result for the bound category definition.
49
- */
50
- provision(options = {}) {
51
- return provisionCustomObjectCategoryDefinition(this.client, this.definition, options);
52
- }
53
- /**
54
- * Reconciles the bound category definition against the backend.
55
- *
56
- * @param options - Reconciliation behavior flags for display-metadata updates.
57
- * @returns Reconciliation result for the bound category definition.
58
- */
59
- reconcile(options = {}) {
60
- return reconcileCustomObjectCategoryDefinition(this.client, this.definition, options);
61
- }
62
- /** Deletes the category that matches the bound typed definition. */
63
- delete() {
64
- return deleteCustomObjectCategoryDefinition(this.client, this.definition);
65
- }
66
- }
67
- /**
68
- * Typed manager bound to one custom-object definition and one SDK client.
69
- *
70
- * @typeParam TDefinition - Object definition bound to the manager.
71
- */
72
- export class TypedCustomObjectSchemaManager {
73
- /**
74
- * Creates a typed schema manager bound to one SDK client and one object definition.
75
- *
76
- * @param client - SDK client used for object lifecycle operations.
77
- * @param definition - Typed object definition to bind to the manager.
78
- */
79
- constructor(client, definition) {
80
- this.client = client;
81
- this.definition = definition;
82
- }
83
- /**
84
- * Returns the bound typed object definition.
85
- *
86
- * @returns Bound typed object definition.
87
- */
88
- getDefinition() {
89
- return this.definition;
90
- }
91
- /**
92
- * Returns a typed category manager when the bound definition embeds a category definition.
93
- *
94
- * @returns Typed category manager for the embedded category definition, when present.
95
- */
96
- category() {
97
- const categoryDefinition = this.definition.categoryDefinition;
98
- return categoryDefinition == null ? undefined : (new TypedCustomObjectCategoryManager(this.client, categoryDefinition));
99
- }
100
- /**
101
- * Builds the low-level create payload for the bound object definition using a resolved category id.
102
- *
103
- * @param categoryIdentifier - Resolved custom-category id or native category id required by the live API.
104
- * @returns REST object-create payload for the bound definition.
105
- */
106
- buildCreateParams(categoryIdentifier) {
107
- return buildCustomObjectCreateParams(this.definition, categoryIdentifier);
108
- }
109
- /**
110
- * Builds the low-level update payload for the bound object definition using a resolved category id.
111
- *
112
- * @param categoryIdentifier - Resolved custom-category id or native category id required by the live API.
113
- * @returns REST object-update payload for the bound definition.
114
- */
115
- buildUpdateParams(categoryIdentifier) {
116
- return buildCustomObjectUpdateParams(this.definition, categoryIdentifier);
117
- }
118
- /**
119
- * Builds the low-level platform-managed name-field metadata payload for the bound definition.
120
- *
121
- * @returns Name-field metadata payload for the bound definition, when needed.
122
- */
123
- buildNameFieldDetails() {
124
- return buildCustomObjectNameFieldDetails(this.definition);
125
- }
126
- /**
127
- * Builds typed field create/update payloads for one logical field on the bound definition.
128
- *
129
- * @param fieldName - Logical field name to compile.
130
- * @returns Frozen create/update payload pair for the requested field.
131
- * @typeParam TFieldName - Logical field name being compiled.
132
- */
133
- buildFieldParams(fieldName) {
134
- return buildProvisionableFieldParams(this.definition, fieldName);
135
- }
136
- /**
137
- * Provisions the bound object definition through the REST SDK.
138
- *
139
- * @param options - Provisioning behavior flags for categories, display metadata, and name fields.
140
- * @returns Provisioning result for the bound object definition.
141
- */
142
- provision(options = {}) {
143
- return provisionCustomObjectDefinition(this.client, this.definition, options);
144
- }
145
- /**
146
- * Reconciles the bound object definition against the backend.
147
- *
148
- * @param options - Reconciliation behavior flags for categories, name fields, and deletions.
149
- * @returns Reconciliation result for the bound object definition.
150
- */
151
- reconcile(options = {}) {
152
- return reconcileCustomObjectDefinition(this.client, this.definition, options);
153
- }
154
- /** Deletes the bound object definition by its compiled api name. */
155
- delete() {
156
- return deleteCustomObjectDefinition(this.client, this.definition);
157
- }
158
- }
159
- /**
160
- * Root schema manager that binds typed category/object definitions to one SDK client.
161
- *
162
- * Use this when you want a lifecycle-oriented API for categories, object metadata,
163
- * field metadata, and typed reconciliation without manually threading the same
164
- * `RipplingSDK` client through every helper call.
165
- */
166
- export class CustomObjectSchemaManager {
167
- /**
168
- * Creates a new schema manager bound to one SDK client.
169
- *
170
- * @param client - SDK client used for all subsequent category and object lifecycle operations.
171
- */
172
- constructor(client) {
173
- this.client = client;
174
- }
175
- /**
176
- * Returns a typed category manager bound to one category definition.
177
- *
178
- * @param definition - Typed category definition to bind.
179
- * @returns Definition-bound category manager.
180
- * @typeParam TName - Logical category name carried by the bound definition.
181
- */
182
- forCategory(definition) {
183
- return new TypedCustomObjectCategoryManager(this.client, definition);
184
- }
185
- /**
186
- * Returns a typed schema manager bound to one object definition.
187
- *
188
- * @param definition - Typed object definition to bind.
189
- * @returns Definition-bound schema manager.
190
- * @typeParam TDefinition - Object definition bound to the manager.
191
- */
192
- forObject(definition) {
193
- return new TypedCustomObjectSchemaManager(this.client, definition);
194
- }
195
- /**
196
- * Short ergonomic alias for {@link forObject}.
197
- *
198
- * @param definition - Typed object definition to bind.
199
- * @returns Definition-bound schema manager.
200
- * @typeParam TDefinition - Object definition bound to the manager.
201
- */
202
- for(definition) {
203
- return this.forObject(definition);
204
- }
205
- /**
206
- * Provisions multiple typed category definitions through the REST SDK.
207
- *
208
- * @param definitions - Typed category definitions to provision.
209
- * @param options - Provisioning behavior flags shared across the batch.
210
- * @returns Provisioning results in input order.
211
- */
212
- provisionCategories(definitions, options = {}) {
213
- return provisionCustomObjectCategoryDefinitions(this.client, definitions, options);
214
- }
215
- /**
216
- * Reconciles multiple typed category definitions against the backend.
217
- *
218
- * @param definitions - Typed category definitions to reconcile.
219
- * @param options - Reconciliation behavior flags shared across the batch.
220
- * @returns Reconciliation results in input order.
221
- */
222
- reconcileCategories(definitions, options = {}) {
223
- return reconcileCustomObjectCategoryDefinitions(this.client, definitions, options);
224
- }
225
- /**
226
- * Provisions multiple typed object definitions through the REST SDK.
227
- *
228
- * @param definitions - Typed object definitions to provision.
229
- * @param options - Batch provisioning behavior flags.
230
- * @returns Provisioning results in input order.
231
- */
232
- provisionDefinitions(definitions, options = {}) {
233
- return provisionCustomObjectDefinitions(this.client, definitions, options);
234
- }
235
- /**
236
- * Reconciles multiple typed object definitions against the backend.
237
- *
238
- * @param definitions - Typed object definitions to reconcile.
239
- * @param options - Batch reconciliation behavior flags.
240
- * @returns Reconciliation results in input order.
241
- */
242
- reconcileDefinitions(definitions, options = {}) {
243
- return reconcileCustomObjectDefinitions(this.client, definitions, options);
244
- }
245
- }
246
- /** Short alias for teams that prefer concise schema-manager names. */
247
- export class COSchemaManager extends CustomObjectSchemaManager {
248
- }
249
- //# sourceMappingURL=schema-manager.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-manager.mjs","sourceRoot":"","sources":["../../../src/core/platform/custom-objects/schema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AAC,MAAM,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CACF;AAED,sEAAsE;AACtE,MAAM,OAAO,eAAgB,SAAQ,yBAAyB;CAAG"}
@@ -1,157 +0,0 @@
1
- import type { AnyCustomObjectDefinition, FieldNames } from "./types.mjs";
2
- declare const STANDARD_TYPED_RQL_FIELDS: readonly ["id", "name", "created_at", "updated_at", "system_updated_at", "external_id", "owner_role", "created_by", "last_modified_by"];
3
- /**
4
- * Standard field-name strings accepted by the parsed RQL helper.
5
- *
6
- * @typeParam TDefinition - Object definition whose standard record fields should be exposed.
7
- */
8
- export type ParsedRqlStandardFieldName<TDefinition extends AnyCustomObjectDefinition> = (typeof STANDARD_TYPED_RQL_FIELDS)[number];
9
- /**
10
- * Field-name strings accepted by the parsed RQL helper.
11
- *
12
- * @typeParam TDefinition - Object definition whose field-name union should be exposed.
13
- */
14
- export type ParsedRqlFieldName<TDefinition extends AnyCustomObjectDefinition> = ParsedRqlStandardFieldName<TDefinition> | FieldNames<TDefinition>;
15
- /** Whitespace characters trimmed by the type-level parsed RQL validator. */
16
- type RqlWhitespace = ' ' | '\n' | '\t' | '\r';
17
- /** Removes leading and trailing whitespace from a string literal. */
18
- type TrimRql<T extends string> = T extends `${RqlWhitespace}${infer Rest}` ? TrimRql<Rest> : T extends `${infer Rest}${RqlWhitespace}` ? TrimRql<Rest> : T;
19
- /** Appends one value to a tuple used as a depth counter. */
20
- type PushDepth<TDepth extends readonly unknown[]> = [...TDepth, 1];
21
- /** Removes one value from a tuple used as a depth counter. */
22
- type PopDepth<TDepth extends readonly unknown[]> = TDepth extends [...infer Rest, unknown] ? Rest : [];
23
- /**
24
- * Returns true when the outermost `(` and `)` pair actually wraps the full expression.
25
- *
26
- * This is stricter than a raw open/close count. For example, `(a) AND (b)` has
27
- * balanced parentheses but is not globally wrapped by its first `(` and last `)`.
28
- */
29
- type OuterParensWrapExpression<TSource extends string, TParenDepth extends readonly unknown[] = [1], TBracketDepth extends readonly unknown[] = [], TInString extends boolean = false> = TSource extends '' ? TParenDepth['length'] extends 1 ? true : false : TInString extends true ? TSource extends `\\${infer _Escaped}${infer Rest}` ? OuterParensWrapExpression<Rest, TParenDepth, TBracketDepth, true> : TSource extends `'${infer Rest}` ? OuterParensWrapExpression<Rest, TParenDepth, TBracketDepth, false> : TSource extends `${infer _Char}${infer Rest}` ? OuterParensWrapExpression<Rest, TParenDepth, TBracketDepth, true> : false : TSource extends `'${infer Rest}` ? OuterParensWrapExpression<Rest, TParenDepth, TBracketDepth, true> : TSource extends `[${infer Rest}` ? OuterParensWrapExpression<Rest, TParenDepth, PushDepth<TBracketDepth>, false> : TSource extends `]${infer Rest}` ? OuterParensWrapExpression<Rest, TParenDepth, PopDepth<TBracketDepth>, false> : TBracketDepth['length'] extends 0 ? TSource extends `(${infer Rest}` ? OuterParensWrapExpression<Rest, PushDepth<TParenDepth>, TBracketDepth, false> : TSource extends `)${infer Rest}` ? TParenDepth['length'] extends 1 ? false : OuterParensWrapExpression<Rest, PopDepth<TParenDepth>, TBracketDepth, false> : TSource extends `${infer _Char}${infer Rest}` ? OuterParensWrapExpression<Rest, TParenDepth, TBracketDepth, false> : false : TSource extends `(${infer Rest}` ? OuterParensWrapExpression<Rest, TParenDepth, TBracketDepth, false> : TSource extends `)${infer Rest}` ? OuterParensWrapExpression<Rest, TParenDepth, TBracketDepth, false> : TSource extends `${infer _Char}${infer Rest}` ? OuterParensWrapExpression<Rest, TParenDepth, TBracketDepth, false> : false;
30
- /** Removes one pair of outer parentheses when they wrap the full expression. */
31
- type StripOuterParens<T extends string> = T extends `(${infer Inner})` ? OuterParensWrapExpression<Inner> extends true ? StripOuterParens<TrimRql<Inner>> : T : T;
32
- /** Utility for splitting an expression by a top-level delimiter while respecting strings, brackets, and parentheses. */
33
- type SplitTopLevel<TSource extends string, TDelimiter extends string, TCurrent extends string = '', TParts extends readonly string[] = [], TParenDepth extends readonly unknown[] = [], TBracketDepth extends readonly unknown[] = [], TInString extends boolean = false> = TSource extends '' ? [...TParts, TrimRql<TCurrent>] : TInString extends true ? TSource extends `\\${infer Escaped}${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}\\${Escaped}`, TParts, TParenDepth, TBracketDepth, true> : TSource extends `'${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}'`, TParts, TParenDepth, TBracketDepth, false> : TSource extends `${infer Char}${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}${Char}`, TParts, TParenDepth, TBracketDepth, true> : [...TParts, TrimRql<TCurrent>] : TParenDepth['length'] extends 0 ? TBracketDepth['length'] extends 0 ? TSource extends `${TDelimiter}${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, '', [...TParts, TrimRql<TCurrent>], TParenDepth, TBracketDepth, false> : TSource extends `'${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}'`, TParts, TParenDepth, TBracketDepth, true> : TSource extends `(${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}(`, TParts, PushDepth<TParenDepth>, TBracketDepth, false> : TSource extends `)${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent})`, TParts, PopDepth<TParenDepth>, TBracketDepth, false> : TSource extends `[${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}[`, TParts, TParenDepth, PushDepth<TBracketDepth>, false> : TSource extends `]${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}]`, TParts, TParenDepth, PopDepth<TBracketDepth>, false> : TSource extends `${infer Char}${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}${Char}`, TParts, TParenDepth, TBracketDepth, false> : [...TParts, TrimRql<TCurrent>] : TSource extends `'${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}'`, TParts, TParenDepth, TBracketDepth, true> : TSource extends `(${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}(`, TParts, PushDepth<TParenDepth>, TBracketDepth, false> : TSource extends `)${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent})`, TParts, PopDepth<TParenDepth>, TBracketDepth, false> : TSource extends `[${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}[`, TParts, TParenDepth, PushDepth<TBracketDepth>, false> : TSource extends `]${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}]`, TParts, TParenDepth, PopDepth<TBracketDepth>, false> : TSource extends `${infer Char}${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}${Char}`, TParts, TParenDepth, TBracketDepth, false> : [...TParts, TrimRql<TCurrent>] : TSource extends `'${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}'`, TParts, TParenDepth, TBracketDepth, true> : TSource extends `(${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}(`, TParts, PushDepth<TParenDepth>, TBracketDepth, false> : TSource extends `)${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent})`, TParts, PopDepth<TParenDepth>, TBracketDepth, false> : TSource extends `[${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}[`, TParts, TParenDepth, PushDepth<TBracketDepth>, false> : TSource extends `]${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}]`, TParts, TParenDepth, PopDepth<TBracketDepth>, false> : TSource extends `${infer Char}${infer Rest}` ? SplitTopLevel<Rest, TDelimiter, `${TCurrent}${Char}`, TParts, TParenDepth, TBracketDepth, false> : [...TParts, TrimRql<TCurrent>];
34
- /** Joins string parts using one delimiter. */
35
- type JoinWithDelimiter<TParts extends readonly string[], TDelimiter extends string> = TParts extends [] ? '' : TParts extends [infer TOnly extends string] ? TOnly : TParts extends [infer THead extends string, ...infer TRest extends string[]] ? `${THead}${TDelimiter}${JoinWithDelimiter<TRest, TDelimiter>}` : string;
36
- /** Parsed logical operator tokens recognized by the type-level validator. */
37
- type ParsedRqlLogicalOperator = 'AND' | 'OR';
38
- /** Parsed logical-expression pieces after one top-level scan. */
39
- type ParsedLogicalMatch<TOperator extends ParsedRqlLogicalOperator = ParsedRqlLogicalOperator, TParts extends readonly string[] = readonly string[]> = readonly [operator: TOperator, parts: TParts];
40
- /** Attempts to parse one logical expression in a single top-level scan while preserving OR-before-AND splitting semantics. */
41
- type ParseLogicalMatch<TSource extends string, TMode extends ParsedRqlLogicalOperator | 'none' = 'none', TCurrent extends string = '', TParts extends readonly string[] = [], TParenDepth extends readonly unknown[] = [], TBracketDepth extends readonly unknown[] = [], TInString extends boolean = false> = TSource extends '' ? TMode extends ParsedRqlLogicalOperator ? ParsedLogicalMatch<TMode, [...TParts, TrimRql<TCurrent>]> : never : TInString extends true ? TSource extends `\\${infer Escaped}${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}\\${Escaped}`, TParts, TParenDepth, TBracketDepth, true> : TSource extends `'${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}'`, TParts, TParenDepth, TBracketDepth, false> : TSource extends `${infer Char}${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}${Char}`, TParts, TParenDepth, TBracketDepth, true> : never : TParenDepth['length'] extends 0 ? TBracketDepth['length'] extends 0 ? TSource extends ` OR ${infer Rest}` ? TMode extends 'OR' ? ParseLogicalMatch<Rest, 'OR', '', [...TParts, TrimRql<TCurrent>], TParenDepth, TBracketDepth, false> : TMode extends 'AND' ? ParseLogicalMatch<Rest, 'OR', '', [
42
- JoinWithDelimiter<[...TParts, TrimRql<TCurrent>], ' AND '>
43
- ], TParenDepth, TBracketDepth, false> : ParseLogicalMatch<Rest, 'OR', '', [TrimRql<TCurrent>], TParenDepth, TBracketDepth, false> : TSource extends ` AND ${infer Rest}` ? TMode extends 'OR' ? ParseLogicalMatch<Rest, 'OR', `${TCurrent} AND `, TParts, TParenDepth, TBracketDepth, false> : TMode extends 'AND' ? ParseLogicalMatch<Rest, 'AND', '', [...TParts, TrimRql<TCurrent>], TParenDepth, TBracketDepth, false> : ParseLogicalMatch<Rest, 'AND', '', [TrimRql<TCurrent>], TParenDepth, TBracketDepth, false> : TSource extends `'${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}'`, TParts, TParenDepth, TBracketDepth, true> : TSource extends `(${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}(`, TParts, PushDepth<TParenDepth>, TBracketDepth, false> : TSource extends `)${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent})`, TParts, PopDepth<TParenDepth>, TBracketDepth, false> : TSource extends `[${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}[`, TParts, TParenDepth, PushDepth<TBracketDepth>, false> : TSource extends `]${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}]`, TParts, TParenDepth, PopDepth<TBracketDepth>, false> : TSource extends `${infer Char}${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}${Char}`, TParts, TParenDepth, TBracketDepth, false> : never : TSource extends `'${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}'`, TParts, TParenDepth, TBracketDepth, true> : TSource extends `(${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}(`, TParts, PushDepth<TParenDepth>, TBracketDepth, false> : TSource extends `)${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent})`, TParts, PopDepth<TParenDepth>, TBracketDepth, false> : TSource extends `[${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}[`, TParts, TParenDepth, PushDepth<TBracketDepth>, false> : TSource extends `]${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}]`, TParts, TParenDepth, PopDepth<TBracketDepth>, false> : TSource extends `${infer Char}${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}${Char}`, TParts, TParenDepth, TBracketDepth, false> : never : TSource extends `'${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}'`, TParts, TParenDepth, TBracketDepth, true> : TSource extends `(${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}(`, TParts, PushDepth<TParenDepth>, TBracketDepth, false> : TSource extends `)${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent})`, TParts, PopDepth<TParenDepth>, TBracketDepth, false> : TSource extends `[${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}[`, TParts, TParenDepth, PushDepth<TBracketDepth>, false> : TSource extends `]${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}]`, TParts, TParenDepth, PopDepth<TBracketDepth>, false> : TSource extends `${infer Char}${infer Rest}` ? ParseLogicalMatch<Rest, TMode, `${TCurrent}${Char}`, TParts, TParenDepth, TBracketDepth, false> : never;
44
- /** Normalizes one candidate parsed-RQL expression before boolean/comparison validation. */
45
- type NormalizeParsedRqlExpression<TExpression extends string> = StripOuterParens<TrimRql<TExpression>>;
46
- /** Returns the first validation error from the provided expression parts. */
47
- type ValidateEveryExpression<TDefinition extends AnyCustomObjectDefinition, TParts extends readonly string[]> = TParts extends [infer Next extends string, ...infer Rest extends string[]] ? ValidateParsedRqlExpression<TDefinition, Next> extends infer TResult ? TResult extends true ? ValidateEveryExpression<TDefinition, Rest> : TResult : never : true;
48
- /** Standard parsed-RQL field category. */
49
- type StandardFieldCategory<TFieldName extends string> = TFieldName extends 'owner_role' | 'created_by' | 'last_modified_by' ? 'lookup' : 'string';
50
- /** Category lookup for one custom-field kind. */
51
- type ParsedRqlCategoryByKind<TKind extends string> = TKind extends ('text' | 'long-text' | 'email' | 'url' | 'phone' | 'date' | 'datetime' | 'time' | 'radio' | 'formula-text' | 'formula-date' | 'formula-url') ? 'string' : TKind extends ('number' | 'currency' | 'percentage' | 'formula-number' | 'formula-currency' | 'formula-percentage') ? 'number' : TKind extends 'boolean' | 'formula-boolean' ? 'boolean' : TKind extends 'lookup' | 'parent-child' ? 'lookup' : 'unsupported';
52
- /** Cached custom-field category map for one object definition. */
53
- type ParsedRqlCustomFieldCategoryMap<TDefinition extends AnyCustomObjectDefinition> = {
54
- readonly [K in FieldNames<TDefinition>]: TDefinition['fields'][K] extends ({
55
- kind: infer TKind extends string;
56
- }) ? ParsedRqlCategoryByKind<TKind> : 'unsupported';
57
- };
58
- /** Cached full field-category map for one object definition. */
59
- type ParsedRqlFieldCategoryMap<TDefinition extends AnyCustomObjectDefinition> = {
60
- readonly [K in ParsedRqlStandardFieldName<TDefinition>]: StandardFieldCategory<K>;
61
- } & ParsedRqlCustomFieldCategoryMap<TDefinition>;
62
- /** Field category used for operator and literal validation. */
63
- type ParsedRqlFieldCategory<TDefinition extends AnyCustomObjectDefinition, TFieldName extends string> = TFieldName extends keyof ParsedRqlFieldCategoryMap<TDefinition> ? ParsedRqlFieldCategoryMap<TDefinition>[TFieldName] : 'missing';
64
- /** Human-readable field-category names used in compile-time diagnostics. */
65
- type ParsedRqlFieldCategoryLabel<TCategory extends string> = TCategory extends 'string' ? "a quoted string literal such as 'Ada'" : TCategory extends 'number' ? 'a numeric literal such as 14' : TCategory extends 'boolean' ? 'a boolean literal: True or False' : TCategory extends 'lookup' ? "a quoted record-id string such as 'rec_123'" : 'a supported literal value';
66
- /** Formats a consistent compile-time error for one field/operator/literal mismatch. */
67
- type ParsedRqlLiteralError<TFieldName extends string, TOperator extends string, TCategory extends string, TLiteral extends string> = `RQL field "${TFieldName}" with operator "${TOperator}" expects ${ParsedRqlFieldCategoryLabel<TCategory>}; received ${TLiteral}.`;
68
- /** Formats a compile-time error for unsupported field categories. */
69
- type ParsedRqlUnsupportedFieldError<TFieldName extends string, TCategory extends string> = `RQL field "${TFieldName}" uses an unsupported field category (${TCategory}) in typedRql(...).`;
70
- /** Validates a quoted string literal. */
71
- type ValidateStringLiteral<TFieldName extends string, TOperator extends string, TCategory extends string, TLiteral extends string> = TLiteral extends `'${string}'` ? true : ParsedRqlLiteralError<TFieldName, TOperator, TCategory, TLiteral>;
72
- /** Validates a numeric literal. */
73
- type ValidateNumberLiteral<TFieldName extends string, TOperator extends string, TCategory extends string, TLiteral extends string> = TLiteral extends `${number}` ? true : ParsedRqlLiteralError<TFieldName, TOperator, TCategory, TLiteral>;
74
- /** Validates a boolean literal. */
75
- type ValidateBooleanLiteral<TFieldName extends string, TOperator extends string, TCategory extends string, TLiteral extends string> = Lowercase<TLiteral> extends 'true' | 'false' ? true : ParsedRqlLiteralError<TFieldName, TOperator, TCategory, TLiteral>;
76
- /** Validates a null literal. */
77
- type ValidateNullLiteral<TLiteral extends string> = Lowercase<TLiteral> extends 'null' ? true : false;
78
- /** Validates one scalar literal against the target field category. */
79
- type ValidateScalarLiteral<TFieldName extends string, TOperator extends string, TCategory extends string, TLiteral extends string, TAllowNull extends boolean = true> = TAllowNull extends true ? ValidateNullLiteral<TLiteral> extends true ? true : ValidateScalarLiteral<TFieldName, TOperator, TCategory, TLiteral, false> : TCategory extends 'string' ? ValidateStringLiteral<TFieldName, TOperator, TCategory, TLiteral> : TCategory extends 'number' ? ValidateNumberLiteral<TFieldName, TOperator, TCategory, TLiteral> : TCategory extends 'boolean' ? ValidateBooleanLiteral<TFieldName, TOperator, TCategory, TLiteral> : TCategory extends 'lookup' ? ValidateStringLiteral<TFieldName, TOperator, TCategory, TLiteral> : ParsedRqlUnsupportedFieldError<TFieldName, TCategory>;
80
- /** Validates one array literal against the target field category. */
81
- type ValidateArrayLiteral<TFieldName extends string, TOperator extends string, TCategory extends string, TLiteral extends string> = TLiteral extends `[${infer Inner}]` ? SplitTopLevel<TrimRql<Inner>, ', '> extends infer TParts extends string[] ? TParts['length'] extends 0 ? `RQL field "${TFieldName}" with operator "${TOperator}" requires a non-empty array literal such as ['value'].` : ValidateEveryArrayElement<TFieldName, TOperator, TCategory, TParts> : `RQL field "${TFieldName}" with operator "${TOperator}" has an array literal that could not be parsed.` : `RQL field "${TFieldName}" with operator "${TOperator}" requires an array literal such as ['value']; received ${TLiteral}.`;
82
- /** Returns the first invalid array element, if any. */
83
- type ValidateEveryArrayElement<TFieldName extends string, TOperator extends string, TCategory extends string, TParts extends readonly string[]> = TParts extends [infer Next extends string, ...infer Rest extends string[]] ? ValidateScalarLiteral<TFieldName, TOperator, TCategory, Next, false> extends infer TResult ? TResult extends true ? ValidateEveryArrayElement<TFieldName, TOperator, TCategory, Rest> : TResult : never : true;
84
- /** Validates the operator/literal pairing for one field category. */
85
- type ValidateComparisonLiteral<TFieldName extends string, TCategory extends string, TOperator extends string, TLiteral extends string> = TCategory extends 'unsupported' ? ParsedRqlUnsupportedFieldError<TFieldName, TCategory> : TOperator extends '==' | '!=' ? ValidateScalarLiteral<TFieldName, TOperator, TCategory, TLiteral> : TOperator extends '<' | '<=' | '>' | '>=' ? TCategory extends 'string' | 'number' ? ValidateScalarLiteral<TFieldName, TOperator, TCategory, TLiteral, false> : `RQL field "${TFieldName}" uses operator "${TOperator}", which is only valid for string or number fields; this field expects ${ParsedRqlFieldCategoryLabel<TCategory>}.` : TOperator extends 'IN' | 'NOT_IN' ? ValidateArrayLiteral<TFieldName, TOperator, TCategory, TLiteral> : `RQL field "${TFieldName}" uses unsupported operator "${TOperator}".`;
86
- /** Validates one comparison clause once the field and operator have been identified. */
87
- type ValidateParsedComparison<TDefinition extends AnyCustomObjectDefinition, TFieldName extends string, TOperator extends string, TLiteral extends string> = ParsedRqlFieldCategory<TDefinition, TFieldName> extends infer TCategory extends string ? TCategory extends 'missing' ? `Unknown RQL field "${TFieldName}". Use a logical field name from the object definition.` : ValidateComparisonLiteral<TFieldName, TCategory, TOperator, TrimRql<TLiteral>> : never;
88
- /** Parsed comparison operator tokens recognized by the type-level validator. */
89
- type ParsedRqlComparisonOperator = 'NOT_IN' | 'IN' | '==' | '!=' | '<=' | '>=' | '<' | '>';
90
- /** Parsed comparison pieces once one operator match has been identified. */
91
- type ParsedComparisonMatch<TLeft extends string = string, TOperator extends ParsedRqlComparisonOperator = ParsedRqlComparisonOperator, TRight extends string = string> = readonly [left: TLeft, operator: TOperator, right: TRight];
92
- /** Space-tokenized comparison tuple for one expression, respecting nested strings/brackets/parens. */
93
- type ParsedComparisonTokens<TExpression extends string> = SplitTopLevel<TExpression, ' '>;
94
- /** Attempts to parse one comparison expression from a token tuple. */
95
- type ParseComparisonMatch<TExpression extends string> = ParsedComparisonTokens<TExpression> extends ([
96
- infer TLeft extends string,
97
- infer TOperator extends ParsedRqlComparisonOperator,
98
- infer TRight extends string
99
- ]) ? ParsedComparisonMatch<TrimRql<TLeft>, TOperator, TRight> : never;
100
- /** Tries operators in longest-first order so `NOT_IN` wins before `IN`. */
101
- type ValidateParsedComparisonExpression<TDefinition extends AnyCustomObjectDefinition, TExpression extends string> = [ParseComparisonMatch<TExpression>] extends [never] ? `Could not parse RQL comparison "${TExpression}". Use a supported form such as "field == 'value'", "field <= 14", or "field IN ['value']" with spaces around the operator.` : ParseComparisonMatch<TExpression> extends (ParsedComparisonMatch<infer TFieldName extends string, infer TOperator extends ParsedRqlComparisonOperator, infer TLiteral extends string>) ? ValidateParsedComparison<TDefinition, TFieldName, TOperator, TLiteral> : `Could not parse RQL comparison "${TExpression}". Use a supported form such as "field == 'value'", "field <= 14", or "field IN ['value']" with spaces around the operator.`;
102
- /**
103
- * Validates one parsed-RQL expression string against the object definition.
104
- *
105
- * The supported subset matches the SDK's documented parsed-string custom-object
106
- * RQL contract:
107
- * - comparisons over standard fields and local custom-object fields
108
- * - `==`, `!=`, `<`, `<=`, `>`, `>=`, `IN`, and `NOT_IN`
109
- * - boolean composition via `AND`, `OR`, and `NOT`
110
- * - parentheses / grouping
111
- * - string / number / boolean / null / array literals
112
- * - lookup equality against quoted ids such as `'role_123'`
113
- *
114
- * @typeParam TDefinition - Object definition whose field names and value types should be enforced.
115
- * @typeParam TExpression - Candidate RQL expression string.
116
- */
117
- type ValidateNormalizedParsedRqlExpression<TDefinition extends AnyCustomObjectDefinition, TNormalizedExpression extends string> = [ParseLogicalMatch<TNormalizedExpression>] extends [never] ? TNormalizedExpression extends `NOT ${infer TInner}` ? ValidateParsedRqlExpression<TDefinition, TInner> : ValidateParsedComparisonExpression<TDefinition, TNormalizedExpression> : ParseLogicalMatch<TNormalizedExpression> extends (ParsedLogicalMatch<infer _TOperator extends ParsedRqlLogicalOperator, infer TParts extends readonly string[]>) ? ValidateEveryExpression<TDefinition, TParts> : TNormalizedExpression extends `NOT ${infer TInner}` ? ValidateParsedRqlExpression<TDefinition, TInner> : ValidateParsedComparisonExpression<TDefinition, TNormalizedExpression>;
118
- /**
119
- * Validates one parsed-RQL expression string against the object definition.
120
- *
121
- * @typeParam TDefinition - Object definition whose field names and value types should be enforced.
122
- * @typeParam TExpression - Candidate RQL expression string.
123
- */
124
- export type ValidateParsedRqlExpression<TDefinition extends AnyCustomObjectDefinition, TExpression extends string> = NormalizeParsedRqlExpression<TExpression> extends infer TNormalizedExpression extends string ? ValidateNormalizedParsedRqlExpression<TDefinition, TNormalizedExpression> : never;
125
- /**
126
- * Type-level gate used by {@link typedRql} to reject invalid parsed-RQL strings.
127
- *
128
- * @typeParam TDefinition - Object definition whose field names and value types should be enforced.
129
- * @typeParam TExpression - Candidate RQL expression string.
130
- */
131
- export type CheckedParsedRql<TDefinition extends AnyCustomObjectDefinition, TExpression extends string> = ValidateParsedRqlExpression<TDefinition, TExpression> extends true ? TExpression : TExpression & {
132
- readonly __parsedRqlError__: ValidateParsedRqlExpression<TDefinition, TExpression>;
133
- };
134
- /**
135
- * Parses a constrained logical-name RQL string, validates it against the typed custom-object definition,
136
- * and renders a backend-ready RQL string that uses wire-level field api names.
137
- *
138
- * Supported parsed-string custom-object RQL contract:
139
- * - standard record fields and local custom-object fields
140
- * - `==`, `!=`, `<`, `<=`, `>`, `>=`, `IN`, `NOT_IN`
141
- * - `AND`, `OR`, `NOT`
142
- * - parentheses / grouping
143
- * - string / number / boolean / null / array literals
144
- * - lookup equality against quoted ids such as `owner_role == 'role_123'`
145
- *
146
- * This helper intentionally targets the SDK's documented custom-object subset
147
- * rather than the full universe of backend RQL features.
148
- *
149
- * @param definition - Object definition whose logical field names and value categories should be enforced.
150
- * @param expression - Constrained logical-name RQL source string to parse and render.
151
- * @returns Backend-ready RQL string that uses wire-level field API names.
152
- * @typeParam TDefinition - Object definition whose field names and value types should be enforced.
153
- * @typeParam TExpression - Candidate RQL expression string.
154
- */
155
- export declare function typedRql<TDefinition extends AnyCustomObjectDefinition, TExpression extends string>(definition: TDefinition, expression: CheckedParsedRql<TDefinition, TExpression>): string;
156
- export {};
157
- //# sourceMappingURL=typed-rql.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"typed-rql.d.mts","sourceRoot":"","sources":["../../../src/core/platform/custom-objects/typed-rql.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,UAAU,EAAE,oBAAgB;AAErE,QAAA,MAAM,yBAAyB,yIAUrB,CAAC;AAIX;;;;GAIG;AACH,MAAM,MAAM,0BAA0B,CAAC,WAAW,SAAS,yBAAyB,IAClF,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7C;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,CAAC,WAAW,SAAS,yBAAyB,IACxE,0BAA0B,CAAC,WAAW,CAAC,GACvC,UAAU,CAAC,WAAW,CAAC,CAAC;AAE5B,4EAA4E;AAC5E,KAAK,aAAa,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9C,qEAAqE;AACrE,KAAK,OAAO,CAAC,CAAC,SAAS,MAAM,IAC3B,CAAC,SAAS,GAAG,aAAa,GAAG,MAAM,IAAI,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,GACvD,CAAC,SAAS,GAAG,MAAM,IAAI,GAAG,aAAa,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,GACzD,CAAC,CAAC;AAEN,4DAA4D;AAC5D,KAAK,SAAS,CAAC,MAAM,SAAS,SAAS,OAAO,EAAE,IAAI,CAAC,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC;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