@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,354 +0,0 @@
1
- import type { CustomObjectDataRow, RecordBulkCreateResponse, RecordBulkUpdateResponse, RecordCreateResponse, RecordQueryParams, RecordQueryResponse, RecordUpdateResponse } from "../../../resources/custom-objects/records.mjs";
2
- import { type ValidationIssue } from "./validation.mjs";
3
- import type { AnyCustomObjectDefinition, CreateInput, RecordShape, UpdateInput } from "./types.mjs";
4
- /**
5
- * Minimal records-resource surface consumed by {@link CustomObjectManager}.
6
- *
7
- * This is intentionally narrower than the full SDK client. Callers can pass the
8
- * real `client.customObjects.records` resource or a lightweight test double
9
- * exposing the same methods.
10
- */
11
- export interface CustomObjectRecordsClient {
12
- create(customObjectApiName: string, body: Record<string, unknown>): Promise<RecordCreateResponse>;
13
- retrieve(customObjectApiName: string, recordId: string): Promise<CustomObjectDataRow>;
14
- retrieveByExternalID(customObjectApiName: string, externalID: string): Promise<CustomObjectDataRow>;
15
- update(customObjectApiName: string, recordId: string, body: Record<string, unknown>): Promise<RecordUpdateResponse>;
16
- delete(customObjectApiName: string, recordId: string): Promise<void>;
17
- query(customObjectApiName: string, params: RecordQueryParams): Promise<RecordQueryResponse>;
18
- bulkCreate(customObjectApiName: string, body: {
19
- all_or_nothing?: boolean;
20
- rows_to_write: Array<{
21
- [key: string]: unknown;
22
- }>;
23
- }): Promise<RecordBulkCreateResponse>;
24
- bulkUpdate(customObjectApiName: string, body: {
25
- all_or_nothing?: boolean;
26
- rows_to_update: Array<{
27
- [key: string]: unknown;
28
- }>;
29
- }): Promise<RecordBulkUpdateResponse>;
30
- bulkDelete(customObjectApiName: string, body: {
31
- all_or_nothing?: boolean;
32
- rows_to_delete: string[];
33
- }): Promise<void>;
34
- }
35
- /** Minimal SDK-shaped wrapper accepted by {@link CustomObjectManager.fromSDK}. */
36
- interface CustomObjectManagerSDKLike {
37
- readonly customObjects: {
38
- readonly records: CustomObjectRecordsClient;
39
- };
40
- }
41
- /** Response shape returned by low-level record queries. */
42
- export interface CustomObjectRecordQueryResponse {
43
- /** Opaque pagination cursor returned by the backend, if any. */
44
- readonly cursor: string | null;
45
- /** Raw backend rows returned for the query. */
46
- readonly results: readonly CustomObjectDataRow[];
47
- }
48
- /** Adapter request for batch creates. */
49
- export interface CustomObjectRecordBulkCreateRequest {
50
- /** Whether the backend should reject the entire batch if any row fails. */
51
- readonly allOrNothing?: boolean;
52
- /** Wire-level rows to create. */
53
- readonly rowsToWrite: readonly Record<string, unknown>[];
54
- }
55
- /** Adapter request for batch updates. */
56
- export interface CustomObjectRecordBulkUpdateRequest {
57
- /** Whether the backend should reject the entire batch if any row fails. */
58
- readonly allOrNothing?: boolean;
59
- /** Wire-level rows to update, including each record id. */
60
- readonly rowsToUpdate: readonly Record<string, unknown>[];
61
- }
62
- /** Adapter request for batch deletes. */
63
- export interface CustomObjectRecordBulkDeleteRequest {
64
- /** Whether the backend should reject the entire batch if any row fails. */
65
- readonly allOrNothing?: boolean;
66
- /** Record ids to delete. */
67
- readonly rowsToDelete: readonly string[];
68
- }
69
- /**
70
- * Small transport boundary used by the typed manager.
71
- *
72
- * Production code can use {@link createCustomObjectRecordAdapter}. Unit tests
73
- * can provide an in-memory or hand-rolled adapter without depending on a real
74
- * backend client.
75
- */
76
- export interface CustomObjectRecordAdapter {
77
- /** Creates one wire-level record. */
78
- create(customObjectApiName: string, body: Record<string, unknown>): Promise<CustomObjectDataRow>;
79
- /** Retrieves one wire-level record by id. */
80
- retrieve(customObjectApiName: string, recordId: string): Promise<CustomObjectDataRow>;
81
- /** Retrieves one wire-level record by external id. */
82
- retrieveByExternalID(customObjectApiName: string, externalID: string): Promise<CustomObjectDataRow>;
83
- /** Updates one wire-level record. */
84
- update(customObjectApiName: string, recordId: string, body: Record<string, unknown>): Promise<CustomObjectDataRow>;
85
- /** Deletes one wire-level record. */
86
- delete(customObjectApiName: string, recordId: string): Promise<void>;
87
- /** Runs a backend query and returns raw rows. */
88
- query(customObjectApiName: string, params: RecordQueryParams): Promise<CustomObjectRecordQueryResponse>;
89
- /** Creates many wire-level rows. */
90
- bulkCreate(customObjectApiName: string, request: CustomObjectRecordBulkCreateRequest): Promise<readonly CustomObjectDataRow[]>;
91
- /** Updates many wire-level rows. */
92
- bulkUpdate(customObjectApiName: string, request: CustomObjectRecordBulkUpdateRequest): Promise<readonly CustomObjectDataRow[]>;
93
- /** Deletes many wire-level rows. */
94
- bulkDelete(customObjectApiName: string, request: CustomObjectRecordBulkDeleteRequest): Promise<void>;
95
- }
96
- /** Constructor options for {@link CustomObjectManager}. */
97
- export interface CustomObjectManagerOptions {
98
- /** Records resource to use for transport. */
99
- readonly records?: CustomObjectRecordsClient;
100
- /** Custom adapter implementation for tests or non-SDK backends. */
101
- readonly adapter?: CustomObjectRecordAdapter;
102
- }
103
- /** Lightweight pagination options shared by list and query helpers. */
104
- export interface TypedRecordPageOptions {
105
- /** Opaque pagination cursor returned by a prior call. */
106
- readonly cursor?: string;
107
- /** Maximum number of records to return. */
108
- readonly limit?: number;
109
- }
110
- /** Raw-query options for typed record queries. */
111
- export interface TypedRecordQueryOptions extends TypedRecordPageOptions {
112
- /** RQL string to execute against the underlying backend. */
113
- readonly query?: string;
114
- }
115
- /** Pagination result returned by typed list/query helpers. */
116
- export interface TypedRecordPage<TDefinition extends AnyCustomObjectDefinition> {
117
- /** Opaque backend cursor, if another page is available. */
118
- readonly cursor: string | null;
119
- /** Strongly typed logical-key records. */
120
- readonly results: readonly RecordShape<TDefinition>[];
121
- }
122
- /** Batch-write flags shared by bulk create/update/delete helpers. */
123
- export interface TypedBatchWriteOptions {
124
- /** Whether the backend should reject the entire batch if any row fails. */
125
- readonly allOrNothing?: boolean;
126
- }
127
- /**
128
- * One logical update item for {@link TypedCustomObjectRecordManager.updateMany}.
129
- *
130
- * @typeParam TDefinition - Object definition whose update payload should be enforced.
131
- */
132
- export type TypedBulkUpdateInput<TDefinition extends AnyCustomObjectDefinition> = {
133
- readonly id: string;
134
- } & UpdateInput<TDefinition>;
135
- /**
136
- * Structured validation failure thrown by typed record managers.
137
- *
138
- * @typeParam TDefinition - Object definition whose payload validation failed.
139
- */
140
- export declare class CustomObjectRecordValidationError<TDefinition extends AnyCustomObjectDefinition = AnyCustomObjectDefinition> extends Error {
141
- /** Definition whose payload validation failed. */
142
- readonly definition: TDefinition;
143
- /** Operation that was being attempted. */
144
- readonly operation: 'create' | 'update' | 'bulk-create' | 'bulk-update';
145
- /** Field-level validation issues returned by the schema validators. */
146
- readonly issues: readonly ValidationIssue[];
147
- /**
148
- * Builds a validation error for a typed record operation.
149
- *
150
- * @typeParam TDefinition - Object definition whose payload validation failed.
151
- */
152
- constructor(definition: TDefinition, operation: 'create' | 'update' | 'bulk-create' | 'bulk-update', issues: readonly ValidationIssue[]);
153
- }
154
- /** Options for creating an in-memory adapter. */
155
- export interface InMemoryCustomObjectRecordAdapterOptions {
156
- /** Optional starting rows keyed by custom-object api name. */
157
- readonly seedRowsByObjectApiName?: Readonly<Record<string, readonly CustomObjectDataRow[]>>;
158
- /** Optional deterministic clock used for tests. */
159
- readonly now?: () => string;
160
- /** Optional deterministic id generator used for tests. */
161
- readonly nextID?: (customObjectApiName: string) => string;
162
- /**
163
- * Optional raw-query evaluator.
164
- *
165
- * If omitted, the in-memory adapter supports pagination-only list/query calls
166
- * and rejects query strings that would require actual RQL evaluation.
167
- */
168
- readonly queryEvaluator?: (args: {
169
- customObjectApiName: string;
170
- query: string;
171
- row: CustomObjectDataRow;
172
- }) => boolean;
173
- }
174
- /**
175
- * Records-resource adapter implementation for typed record managers.
176
- *
177
- * @param records - Low-level records resource to adapt into the manager-friendly transport boundary.
178
- * @returns Adapter implementation backed by the supplied records resource.
179
- */
180
- export declare function createCustomObjectRecordAdapter(records: CustomObjectRecordsClient): CustomObjectRecordAdapter;
181
- /**
182
- * In-memory adapter useful for unit tests and local flows that should not depend
183
- * on a real SDK transport.
184
- */
185
- export declare class InMemoryCustomObjectRecordAdapter implements CustomObjectRecordAdapter {
186
- private readonly rowsByObjectApiName;
187
- private readonly now;
188
- private readonly nextID;
189
- private readonly queryEvaluator?;
190
- private sequence;
191
- /** Builds a new in-memory adapter. */
192
- constructor(options?: InMemoryCustomObjectRecordAdapterOptions);
193
- private rowMap;
194
- private requiredRow;
195
- private paginate;
196
- create(customObjectApiName: string, body: Record<string, unknown>): Promise<CustomObjectDataRow>;
197
- retrieve(customObjectApiName: string, recordId: string): Promise<CustomObjectDataRow>;
198
- retrieveByExternalID(customObjectApiName: string, externalID: string): Promise<CustomObjectDataRow>;
199
- update(customObjectApiName: string, recordId: string, body: Record<string, unknown>): Promise<CustomObjectDataRow>;
200
- delete(customObjectApiName: string, recordId: string): Promise<void>;
201
- query(customObjectApiName: string, params: RecordQueryParams): Promise<CustomObjectRecordQueryResponse>;
202
- bulkCreate(customObjectApiName: string, request: CustomObjectRecordBulkCreateRequest): Promise<readonly CustomObjectDataRow[]>;
203
- bulkUpdate(customObjectApiName: string, request: CustomObjectRecordBulkUpdateRequest): Promise<readonly CustomObjectDataRow[]>;
204
- bulkDelete(customObjectApiName: string, request: CustomObjectRecordBulkDeleteRequest): Promise<void>;
205
- }
206
- /**
207
- * Definition-bound CRUD manager returned by {@link CustomObjectManager.forObject}.
208
- *
209
- * @typeParam TDefinition - Object definition whose logical field names and value
210
- * types should be enforced.
211
- */
212
- export declare class TypedCustomObjectRecordManager<TDefinition extends AnyCustomObjectDefinition> {
213
- private readonly definition;
214
- private readonly adapter;
215
- /**
216
- * Creates a bound typed manager for one object definition.
217
- *
218
- * @param definition - Typed object definition to bind to the manager.
219
- * @param adapter - Transport adapter used for all record operations.
220
- */
221
- constructor(definition: TDefinition, adapter: CustomObjectRecordAdapter);
222
- /**
223
- * Creates one typed record after local schema validation.
224
- *
225
- * @param input - Typed logical create payload.
226
- * @returns Created typed record.
227
- */
228
- create(input: CreateInput<TDefinition>): Promise<RecordShape<TDefinition>>;
229
- /**
230
- * Creates many typed records after validating the full batch locally.
231
- *
232
- * @param rows - Typed logical create payloads.
233
- * @param options - Batch-write options forwarded to the adapter.
234
- * @returns Created typed records in backend response order.
235
- */
236
- createMany(rows: readonly CreateInput<TDefinition>[], options?: TypedBatchWriteOptions): Promise<readonly RecordShape<TDefinition>[]>;
237
- /**
238
- * Retrieves one typed record by id.
239
- *
240
- * @param recordId - Backend record id to fetch.
241
- * @returns Typed record for the requested id.
242
- */
243
- get(recordId: string): Promise<RecordShape<TDefinition>>;
244
- /**
245
- * Retrieves one typed record by external id.
246
- *
247
- * @param externalID - External id to look up.
248
- * @returns Typed record for the requested external id.
249
- */
250
- getByExternalID(externalID: string): Promise<RecordShape<TDefinition>>;
251
- /**
252
- * Updates one typed record after local schema validation.
253
- *
254
- * @param recordId - Backend record id to update.
255
- * @param patch - Typed logical update payload.
256
- * @returns Updated typed record.
257
- */
258
- update(recordId: string, patch: UpdateInput<TDefinition>): Promise<RecordShape<TDefinition>>;
259
- /**
260
- * Updates many typed records after validating the full batch locally.
261
- *
262
- * @param rows - Typed update payloads, each including a backend record id.
263
- * @param options - Batch-write options forwarded to the adapter.
264
- * @returns Updated typed records in backend response order.
265
- */
266
- updateMany(rows: readonly TypedBulkUpdateInput<TDefinition>[], options?: TypedBatchWriteOptions): Promise<readonly RecordShape<TDefinition>[]>;
267
- /**
268
- * Deletes one record by id.
269
- *
270
- * @param recordId - Backend record id to delete.
271
- */
272
- delete(recordId: string): Promise<void>;
273
- /**
274
- * Deletes many records by id.
275
- *
276
- * @param recordIDs - Backend record ids to delete.
277
- * @param options - Batch-write options forwarded to the adapter.
278
- */
279
- deleteMany(recordIDs: readonly string[], options?: TypedBatchWriteOptions): Promise<void>;
280
- /**
281
- * Lists records using backend pagination without applying any query filter.
282
- *
283
- * @param options - Pagination options for the backend list operation.
284
- * @returns Typed record page.
285
- */
286
- list(options?: TypedRecordPageOptions): Promise<TypedRecordPage<TDefinition>>;
287
- /**
288
- * Queries records with an optional raw RQL filter string.
289
- *
290
- * @param options - Query and pagination options for the backend query operation.
291
- * @returns Typed record page.
292
- */
293
- query(options?: TypedRecordQueryOptions): Promise<TypedRecordPage<TDefinition>>;
294
- }
295
- /**
296
- * Root manager that binds typed custom-object definitions to a transport adapter.
297
- *
298
- * Callers can pass either a records resource or a test adapter. If neither is
299
- * provided, the manager defaults to an in-memory adapter so unit tests can use
300
- * the same high-level API without bootstrapping a backend client.
301
- */
302
- export declare class CustomObjectManager {
303
- private readonly adapter;
304
- /**
305
- * Creates a new custom-object manager.
306
- *
307
- * @param options - Optional records resource or adapter implementation.
308
- */
309
- constructor(options?: CustomObjectManagerOptions);
310
- /**
311
- * Builds a manager from a records resource.
312
- *
313
- * @param records - Low-level records resource to wrap.
314
- * @returns Custom-object manager backed by that records resource.
315
- */
316
- static fromRecords(records: CustomObjectRecordsClient): CustomObjectManager;
317
- /**
318
- * Builds a manager from a real SDK client.
319
- *
320
- * @param sdk - SDK-shaped client exposing `customObjects.records`.
321
- * @returns Custom-object manager backed by the SDK records resource.
322
- */
323
- static fromSDK(sdk: CustomObjectManagerSDKLike): CustomObjectManager;
324
- /**
325
- * Builds a manager backed by an in-memory adapter.
326
- *
327
- * @param options - In-memory adapter options for seed data and deterministic behavior.
328
- * @returns Custom-object manager backed by an in-memory adapter.
329
- */
330
- static inMemory(options?: InMemoryCustomObjectRecordAdapterOptions): CustomObjectManager;
331
- /** Returns the low-level adapter used by this manager. */
332
- getAdapter(): CustomObjectRecordAdapter;
333
- /**
334
- * Returns a typed record manager bound to one object definition.
335
- *
336
- * @param definition - Typed object definition to bind.
337
- * @returns Definition-bound typed record manager.
338
- * @typeParam TDefinition - Object definition bound to the manager.
339
- */
340
- forObject<TDefinition extends AnyCustomObjectDefinition>(definition: TDefinition): TypedCustomObjectRecordManager<TDefinition>;
341
- /**
342
- * Short ergonomic alias for {@link forObject}.
343
- *
344
- * @param definition - Typed object definition to bind.
345
- * @returns Definition-bound typed record manager.
346
- * @typeParam TDefinition - Object definition bound to the manager.
347
- */
348
- for<TDefinition extends AnyCustomObjectDefinition>(definition: TDefinition): TypedCustomObjectRecordManager<TDefinition>;
349
- }
350
- /** Short alias for teams that prefer concise manager names. */
351
- export declare class COManager extends CustomObjectManager {
352
- }
353
- export {};
354
- //# sourceMappingURL=manager.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"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