@rippling/rippling-sdk 0.2.0-alpha.110 → 0.2.0-alpha.112

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 (579) hide show
  1. package/client.d.mts +58 -7
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +58 -7
  4. package/client.d.ts.map +1 -1
  5. package/client.js +54 -3
  6. package/client.js.map +1 -1
  7. package/client.mjs +54 -3
  8. package/client.mjs.map +1 -1
  9. package/core/platform/custom-objects/manager.d.mts +43 -23
  10. package/core/platform/custom-objects/manager.d.mts.map +1 -1
  11. package/core/platform/custom-objects/manager.d.ts +43 -23
  12. package/core/platform/custom-objects/manager.d.ts.map +1 -1
  13. package/core/platform/custom-objects/manager.js +21 -17
  14. package/core/platform/custom-objects/manager.js.map +1 -1
  15. package/core/platform/custom-objects/manager.mjs +21 -17
  16. package/core/platform/custom-objects/manager.mjs.map +1 -1
  17. package/core/platform/custom-objects.d.mts +1 -1
  18. package/core/platform/custom-objects.d.mts.map +1 -1
  19. package/core/platform/custom-objects.d.ts +1 -1
  20. package/core/platform/custom-objects.d.ts.map +1 -1
  21. package/core/platform/custom-objects.js.map +1 -1
  22. package/core/platform/custom-objects.mjs.map +1 -1
  23. package/examples/manifest/acp-agent/acp-agent.ts +27 -23
  24. package/lib/manifest/acp-agent.d.mts +1 -1
  25. package/lib/manifest/acp-agent.d.mts.map +1 -1
  26. package/lib/manifest/acp-agent.d.ts +1 -1
  27. package/lib/manifest/acp-agent.d.ts.map +1 -1
  28. package/lib/manifest/acp-agent.js +6 -0
  29. package/lib/manifest/acp-agent.js.map +1 -1
  30. package/lib/manifest/acp-agent.mjs +6 -0
  31. package/lib/manifest/acp-agent.mjs.map +1 -1
  32. package/lib/manifest/definitions/_object-records.d.mts.map +1 -1
  33. package/lib/manifest/definitions/_object-records.d.ts.map +1 -1
  34. package/lib/manifest/definitions/_object-records.js +10 -8
  35. package/lib/manifest/definitions/_object-records.js.map +1 -1
  36. package/lib/manifest/definitions/_object-records.mjs +10 -8
  37. package/lib/manifest/definitions/_object-records.mjs.map +1 -1
  38. package/lib/manifest/definitions/custom-object.d.mts +10 -10
  39. package/lib/manifest/definitions/custom-object.d.mts.map +1 -1
  40. package/lib/manifest/definitions/custom-object.d.ts +10 -10
  41. package/lib/manifest/definitions/custom-object.d.ts.map +1 -1
  42. package/lib/manifest/definitions/custom-object.js.map +1 -1
  43. package/lib/manifest/definitions/custom-object.mjs.map +1 -1
  44. package/package.json +1 -1
  45. package/resources/activity-log.d.mts +1 -1
  46. package/resources/activity-log.d.ts +1 -1
  47. package/resources/activity-log.js +1 -1
  48. package/resources/activity-log.mjs +1 -1
  49. package/resources/agents/sessions/messages.d.mts +10 -1
  50. package/resources/agents/sessions/messages.d.mts.map +1 -1
  51. package/resources/agents/sessions/messages.d.ts +10 -1
  52. package/resources/agents/sessions/messages.d.ts.map +1 -1
  53. package/resources/agents/sessions/sessions.d.mts +30 -3
  54. package/resources/agents/sessions/sessions.d.mts.map +1 -1
  55. package/resources/agents/sessions/sessions.d.ts +30 -3
  56. package/resources/agents/sessions/sessions.d.ts.map +1 -1
  57. package/resources/agents/sessions/sessions.js.map +1 -1
  58. package/resources/agents/sessions/sessions.mjs.map +1 -1
  59. package/resources/bills.d.mts +1343 -0
  60. package/resources/bills.d.mts.map +1 -0
  61. package/resources/bills.d.ts +1343 -0
  62. package/resources/bills.d.ts.map +1 -0
  63. package/resources/bills.js +214 -0
  64. package/resources/bills.js.map +1 -0
  65. package/resources/bills.mjs +210 -0
  66. package/resources/bills.mjs.map +1 -0
  67. package/resources/card-transactions.d.mts +607 -49
  68. package/resources/card-transactions.d.mts.map +1 -1
  69. package/resources/card-transactions.d.ts +607 -49
  70. package/resources/card-transactions.d.ts.map +1 -1
  71. package/resources/card-transactions.js +73 -12
  72. package/resources/card-transactions.js.map +1 -1
  73. package/resources/card-transactions.mjs +73 -12
  74. package/resources/card-transactions.mjs.map +1 -1
  75. package/resources/custom-objects/custom-objects.d.mts +39 -3
  76. package/resources/custom-objects/custom-objects.d.mts.map +1 -1
  77. package/resources/custom-objects/custom-objects.d.ts +39 -3
  78. package/resources/custom-objects/custom-objects.d.ts.map +1 -1
  79. package/resources/custom-objects/custom-objects.js +38 -2
  80. package/resources/custom-objects/custom-objects.js.map +1 -1
  81. package/resources/custom-objects/custom-objects.mjs +38 -2
  82. package/resources/custom-objects/custom-objects.mjs.map +1 -1
  83. package/resources/custom-objects/fields.d.mts +44 -0
  84. package/resources/custom-objects/fields.d.mts.map +1 -1
  85. package/resources/custom-objects/fields.d.ts +44 -0
  86. package/resources/custom-objects/fields.d.ts.map +1 -1
  87. package/resources/custom-objects/fields.js +44 -0
  88. package/resources/custom-objects/fields.js.map +1 -1
  89. package/resources/custom-objects/fields.mjs +44 -0
  90. package/resources/custom-objects/fields.mjs.map +1 -1
  91. package/resources/custom-objects/index.d.mts +2 -1
  92. package/resources/custom-objects/index.d.mts.map +1 -1
  93. package/resources/custom-objects/index.d.ts +2 -1
  94. package/resources/custom-objects/index.d.ts.map +1 -1
  95. package/resources/custom-objects/index.js +5 -3
  96. package/resources/custom-objects/index.js.map +1 -1
  97. package/resources/custom-objects/index.mjs +2 -1
  98. package/resources/custom-objects/index.mjs.map +1 -1
  99. package/resources/custom-objects/list-views/capabilities.d.mts +63 -0
  100. package/resources/custom-objects/list-views/capabilities.d.mts.map +1 -0
  101. package/resources/custom-objects/list-views/capabilities.d.ts +63 -0
  102. package/resources/custom-objects/list-views/capabilities.d.ts.map +1 -0
  103. package/resources/custom-objects/list-views/capabilities.js +48 -0
  104. package/resources/custom-objects/list-views/capabilities.js.map +1 -0
  105. package/resources/custom-objects/list-views/capabilities.mjs +44 -0
  106. package/resources/custom-objects/list-views/capabilities.mjs.map +1 -0
  107. package/resources/custom-objects/list-views/default.d.mts +69 -0
  108. package/resources/custom-objects/list-views/default.d.mts.map +1 -0
  109. package/resources/custom-objects/list-views/default.d.ts +69 -0
  110. package/resources/custom-objects/list-views/default.d.ts.map +1 -0
  111. package/resources/custom-objects/list-views/default.js +59 -0
  112. package/resources/custom-objects/list-views/default.js.map +1 -0
  113. package/resources/custom-objects/list-views/default.mjs +55 -0
  114. package/resources/custom-objects/list-views/default.mjs.map +1 -0
  115. package/resources/custom-objects/list-views/index.d.mts +4 -0
  116. package/resources/custom-objects/list-views/index.d.mts.map +1 -0
  117. package/resources/custom-objects/list-views/index.d.ts +4 -0
  118. package/resources/custom-objects/list-views/index.d.ts.map +1 -0
  119. package/resources/custom-objects/list-views/index.js +11 -0
  120. package/resources/custom-objects/list-views/index.js.map +1 -0
  121. package/resources/custom-objects/list-views/index.mjs +5 -0
  122. package/resources/custom-objects/list-views/index.mjs.map +1 -0
  123. package/resources/custom-objects/list-views/list-views.d.mts +806 -0
  124. package/resources/custom-objects/list-views/list-views.d.mts.map +1 -0
  125. package/resources/custom-objects/list-views/list-views.d.ts +806 -0
  126. package/resources/custom-objects/list-views/list-views.d.ts.map +1 -0
  127. package/resources/custom-objects/list-views/list-views.js +314 -0
  128. package/resources/custom-objects/list-views/list-views.js.map +1 -0
  129. package/resources/custom-objects/list-views/list-views.mjs +309 -0
  130. package/resources/custom-objects/list-views/list-views.mjs.map +1 -0
  131. package/resources/custom-objects/list-views.d.mts +2 -0
  132. package/resources/custom-objects/list-views.d.mts.map +1 -0
  133. package/resources/custom-objects/list-views.d.ts +2 -0
  134. package/resources/custom-objects/list-views.d.ts.map +1 -0
  135. package/resources/custom-objects/list-views.js +6 -0
  136. package/resources/custom-objects/list-views.js.map +1 -0
  137. package/resources/custom-objects/list-views.mjs +3 -0
  138. package/resources/custom-objects/list-views.mjs.map +1 -0
  139. package/resources/custom-objects/records/capabilities.d.mts +61 -0
  140. package/resources/custom-objects/records/capabilities.d.mts.map +1 -0
  141. package/resources/custom-objects/records/capabilities.d.ts +61 -0
  142. package/resources/custom-objects/records/capabilities.d.ts.map +1 -0
  143. package/resources/custom-objects/records/capabilities.js +47 -0
  144. package/resources/custom-objects/records/capabilities.js.map +1 -0
  145. package/resources/custom-objects/records/capabilities.mjs +43 -0
  146. package/resources/custom-objects/records/capabilities.mjs.map +1 -0
  147. package/resources/custom-objects/records/index.d.mts +3 -0
  148. package/resources/custom-objects/records/index.d.mts.map +1 -0
  149. package/resources/custom-objects/records/index.d.ts +3 -0
  150. package/resources/custom-objects/records/index.d.ts.map +1 -0
  151. package/resources/custom-objects/records/index.js +9 -0
  152. package/resources/custom-objects/records/index.js.map +1 -0
  153. package/resources/custom-objects/records/index.mjs +4 -0
  154. package/resources/custom-objects/records/index.mjs.map +1 -0
  155. package/resources/custom-objects/records/records.d.mts +787 -0
  156. package/resources/custom-objects/records/records.d.mts.map +1 -0
  157. package/resources/custom-objects/records/records.d.ts +787 -0
  158. package/resources/custom-objects/records/records.d.ts.map +1 -0
  159. package/resources/custom-objects/records/records.js +543 -0
  160. package/resources/custom-objects/records/records.js.map +1 -0
  161. package/resources/custom-objects/records/records.mjs +538 -0
  162. package/resources/custom-objects/records/records.mjs.map +1 -0
  163. package/resources/custom-objects/records.d.mts +1 -561
  164. package/resources/custom-objects/records.d.mts.map +1 -1
  165. package/resources/custom-objects/records.d.ts +1 -561
  166. package/resources/custom-objects/records.d.ts.map +1 -1
  167. package/resources/custom-objects/records.js +2 -444
  168. package/resources/custom-objects/records.js.map +1 -1
  169. package/resources/custom-objects/records.mjs +1 -442
  170. package/resources/custom-objects/records.mjs.map +1 -1
  171. package/resources/devices.d.mts +2 -2
  172. package/resources/devices.d.mts.map +1 -1
  173. package/resources/devices.d.ts +2 -2
  174. package/resources/devices.d.ts.map +1 -1
  175. package/resources/draft-transitions.d.mts +241 -307
  176. package/resources/draft-transitions.d.mts.map +1 -1
  177. package/resources/draft-transitions.d.ts +241 -307
  178. package/resources/draft-transitions.d.ts.map +1 -1
  179. package/resources/draft-transitions.js +49 -23
  180. package/resources/draft-transitions.js.map +1 -1
  181. package/resources/draft-transitions.mjs +49 -23
  182. package/resources/draft-transitions.mjs.map +1 -1
  183. package/resources/employee-documents.d.mts +2 -2
  184. package/resources/employee-documents.d.ts +2 -2
  185. package/resources/{spend-categories.d.mts → finance-categories.d.mts} +21 -18
  186. package/resources/finance-categories.d.mts.map +1 -0
  187. package/resources/{spend-categories.d.ts → finance-categories.d.ts} +21 -18
  188. package/resources/finance-categories.d.ts.map +1 -0
  189. package/resources/{spend-categories.js → finance-categories.js} +14 -11
  190. package/resources/finance-categories.js.map +1 -0
  191. package/resources/{spend-categories.mjs → finance-categories.mjs} +12 -9
  192. package/resources/finance-categories.mjs.map +1 -0
  193. package/resources/finance-vendors.d.mts +154 -0
  194. package/resources/finance-vendors.d.mts.map +1 -0
  195. package/resources/finance-vendors.d.ts +154 -0
  196. package/resources/finance-vendors.d.ts.map +1 -0
  197. package/resources/finance-vendors.js +87 -0
  198. package/resources/finance-vendors.js.map +1 -0
  199. package/resources/finance-vendors.mjs +83 -0
  200. package/resources/finance-vendors.mjs.map +1 -0
  201. package/resources/functions/executions.d.mts +4 -1
  202. package/resources/functions/executions.d.mts.map +1 -1
  203. package/resources/functions/executions.d.ts +4 -1
  204. package/resources/functions/executions.d.ts.map +1 -1
  205. package/resources/functions/executions.js +4 -1
  206. package/resources/functions/executions.js.map +1 -1
  207. package/resources/functions/executions.mjs +4 -1
  208. package/resources/functions/executions.mjs.map +1 -1
  209. package/resources/functions/functions.d.mts +192 -4
  210. package/resources/functions/functions.d.mts.map +1 -1
  211. package/resources/functions/functions.d.ts +192 -4
  212. package/resources/functions/functions.d.ts.map +1 -1
  213. package/resources/functions/functions.js +72 -4
  214. package/resources/functions/functions.js.map +1 -1
  215. package/resources/functions/functions.mjs +72 -4
  216. package/resources/functions/functions.mjs.map +1 -1
  217. package/resources/hire-requirements.d.mts +98 -9
  218. package/resources/hire-requirements.d.mts.map +1 -1
  219. package/resources/hire-requirements.d.ts +98 -9
  220. package/resources/hire-requirements.d.ts.map +1 -1
  221. package/resources/hire-requirements.js +23 -4
  222. package/resources/hire-requirements.js.map +1 -1
  223. package/resources/hire-requirements.mjs +23 -4
  224. package/resources/hire-requirements.mjs.map +1 -1
  225. package/resources/hires.d.mts +1636 -510
  226. package/resources/hires.d.mts.map +1 -1
  227. package/resources/hires.d.ts +1636 -510
  228. package/resources/hires.d.ts.map +1 -1
  229. package/resources/hires.js +10 -4
  230. package/resources/hires.js.map +1 -1
  231. package/resources/hires.mjs +10 -4
  232. package/resources/hires.mjs.map +1 -1
  233. package/resources/index.d.mts +11 -3
  234. package/resources/index.d.mts.map +1 -1
  235. package/resources/index.d.ts +11 -3
  236. package/resources/index.d.ts.map +1 -1
  237. package/resources/index.js +21 -5
  238. package/resources/index.js.map +1 -1
  239. package/resources/index.mjs +9 -1
  240. package/resources/index.mjs.map +1 -1
  241. package/resources/leave-requests.d.mts +11 -2
  242. package/resources/leave-requests.d.mts.map +1 -1
  243. package/resources/leave-requests.d.ts +11 -2
  244. package/resources/leave-requests.d.ts.map +1 -1
  245. package/resources/leave-requests.js +11 -2
  246. package/resources/leave-requests.js.map +1 -1
  247. package/resources/leave-requests.mjs +11 -2
  248. package/resources/leave-requests.mjs.map +1 -1
  249. package/resources/object-categories.d.mts +2 -1
  250. package/resources/object-categories.d.mts.map +1 -1
  251. package/resources/object-categories.d.ts +2 -1
  252. package/resources/object-categories.d.ts.map +1 -1
  253. package/resources/object-categories.js +2 -1
  254. package/resources/object-categories.js.map +1 -1
  255. package/resources/object-categories.mjs +2 -1
  256. package/resources/object-categories.mjs.map +1 -1
  257. package/resources/package-components/extract.d.mts +121 -0
  258. package/resources/package-components/extract.d.mts.map +1 -0
  259. package/resources/package-components/extract.d.ts +121 -0
  260. package/resources/package-components/extract.d.ts.map +1 -0
  261. package/resources/package-components/extract.js +69 -0
  262. package/resources/package-components/extract.js.map +1 -0
  263. package/resources/package-components/extract.mjs +65 -0
  264. package/resources/package-components/extract.mjs.map +1 -0
  265. package/resources/package-components/index.d.mts +4 -0
  266. package/resources/package-components/index.d.mts.map +1 -0
  267. package/resources/package-components/index.d.ts +4 -0
  268. package/resources/package-components/index.d.ts.map +1 -0
  269. package/resources/package-components/index.js +11 -0
  270. package/resources/package-components/index.js.map +1 -0
  271. package/resources/package-components/index.mjs +5 -0
  272. package/resources/package-components/index.mjs.map +1 -0
  273. package/resources/package-components/package-components.d.mts +99 -0
  274. package/resources/package-components/package-components.d.mts.map +1 -0
  275. package/resources/package-components/package-components.d.ts +99 -0
  276. package/resources/package-components/package-components.d.ts.map +1 -0
  277. package/resources/package-components/package-components.js +63 -0
  278. package/resources/package-components/package-components.js.map +1 -0
  279. package/resources/package-components/package-components.mjs +58 -0
  280. package/resources/package-components/package-components.mjs.map +1 -0
  281. package/resources/package-components/types.d.mts +56 -0
  282. package/resources/package-components/types.d.mts.map +1 -0
  283. package/resources/package-components/types.d.ts +56 -0
  284. package/resources/package-components/types.d.ts.map +1 -0
  285. package/resources/package-components/types.js +40 -0
  286. package/resources/package-components/types.js.map +1 -0
  287. package/resources/package-components/types.mjs +36 -0
  288. package/resources/package-components/types.mjs.map +1 -0
  289. package/resources/package-components.d.mts +2 -0
  290. package/resources/package-components.d.mts.map +1 -0
  291. package/resources/package-components.d.ts +2 -0
  292. package/resources/package-components.d.ts.map +1 -0
  293. package/resources/package-components.js +6 -0
  294. package/resources/package-components.js.map +1 -0
  295. package/resources/package-components.mjs +3 -0
  296. package/resources/package-components.mjs.map +1 -0
  297. package/resources/package-installs.d.mts +96 -9
  298. package/resources/package-installs.d.mts.map +1 -1
  299. package/resources/package-installs.d.ts +96 -9
  300. package/resources/package-installs.d.ts.map +1 -1
  301. package/resources/package-installs.js +20 -3
  302. package/resources/package-installs.js.map +1 -1
  303. package/resources/package-installs.mjs +20 -3
  304. package/resources/package-installs.mjs.map +1 -1
  305. package/resources/package-managed-installs.d.mts +104 -7
  306. package/resources/package-managed-installs.d.mts.map +1 -1
  307. package/resources/package-managed-installs.d.ts +104 -7
  308. package/resources/package-managed-installs.d.ts.map +1 -1
  309. package/resources/package-managed-installs.js +22 -3
  310. package/resources/package-managed-installs.js.map +1 -1
  311. package/resources/package-managed-installs.mjs +22 -3
  312. package/resources/package-managed-installs.mjs.map +1 -1
  313. package/resources/package-manifests/index.d.mts +4 -0
  314. package/resources/package-manifests/index.d.mts.map +1 -0
  315. package/resources/package-manifests/index.d.ts +4 -0
  316. package/resources/package-manifests/index.d.ts.map +1 -0
  317. package/resources/package-manifests/index.js +11 -0
  318. package/resources/package-manifests/index.js.map +1 -0
  319. package/resources/package-manifests/index.mjs +5 -0
  320. package/resources/package-manifests/index.mjs.map +1 -0
  321. package/resources/package-manifests/package-manifests.d.mts +14 -0
  322. package/resources/package-manifests/package-manifests.d.mts.map +1 -0
  323. package/resources/package-manifests/package-manifests.d.ts +14 -0
  324. package/resources/package-manifests/package-manifests.d.ts.map +1 -0
  325. package/resources/package-manifests/package-manifests.js +21 -0
  326. package/resources/package-manifests/package-manifests.js.map +1 -0
  327. package/resources/package-manifests/package-manifests.mjs +16 -0
  328. package/resources/package-manifests/package-manifests.mjs.map +1 -0
  329. package/resources/package-manifests/packages/index.d.mts +3 -0
  330. package/resources/package-manifests/packages/index.d.mts.map +1 -0
  331. package/resources/package-manifests/packages/index.d.ts +3 -0
  332. package/resources/package-manifests/packages/index.d.ts.map +1 -0
  333. package/resources/package-manifests/packages/index.js +9 -0
  334. package/resources/package-manifests/packages/index.js.map +1 -0
  335. package/resources/package-manifests/packages/index.mjs +4 -0
  336. package/resources/package-manifests/packages/index.mjs.map +1 -0
  337. package/resources/package-manifests/packages/packages.d.mts +10 -0
  338. package/resources/package-manifests/packages/packages.d.mts.map +1 -0
  339. package/resources/package-manifests/packages/packages.d.ts +10 -0
  340. package/resources/package-manifests/packages/packages.d.ts.map +1 -0
  341. package/resources/package-manifests/packages/packages.js +17 -0
  342. package/resources/package-manifests/packages/packages.js.map +1 -0
  343. package/resources/package-manifests/packages/packages.mjs +12 -0
  344. package/resources/package-manifests/packages/packages.mjs.map +1 -0
  345. package/resources/package-manifests/packages/versions.d.mts +199 -0
  346. package/resources/package-manifests/packages/versions.d.mts.map +1 -0
  347. package/resources/package-manifests/packages/versions.d.ts +199 -0
  348. package/resources/package-manifests/packages/versions.d.ts.map +1 -0
  349. package/resources/package-manifests/packages/versions.js +68 -0
  350. package/resources/package-manifests/packages/versions.js.map +1 -0
  351. package/resources/package-manifests/packages/versions.mjs +64 -0
  352. package/resources/package-manifests/packages/versions.mjs.map +1 -0
  353. package/resources/package-manifests/packages.d.mts +2 -0
  354. package/resources/package-manifests/packages.d.mts.map +1 -0
  355. package/resources/package-manifests/packages.d.ts +2 -0
  356. package/resources/package-manifests/packages.d.ts.map +1 -0
  357. package/resources/package-manifests/packages.js +6 -0
  358. package/resources/package-manifests/packages.js.map +1 -0
  359. package/resources/package-manifests/packages.mjs +3 -0
  360. package/resources/package-manifests/packages.mjs.map +1 -0
  361. package/resources/package-manifests/versions.d.mts +84 -0
  362. package/resources/package-manifests/versions.d.mts.map +1 -0
  363. package/resources/package-manifests/versions.d.ts +84 -0
  364. package/resources/package-manifests/versions.d.ts.map +1 -0
  365. package/resources/package-manifests/versions.js +44 -0
  366. package/resources/package-manifests/versions.js.map +1 -0
  367. package/resources/package-manifests/versions.mjs +40 -0
  368. package/resources/package-manifests/versions.mjs.map +1 -0
  369. package/resources/package-manifests.d.mts +2 -0
  370. package/resources/package-manifests.d.mts.map +1 -0
  371. package/resources/package-manifests.d.ts +2 -0
  372. package/resources/package-manifests.d.ts.map +1 -0
  373. package/resources/package-manifests.js +6 -0
  374. package/resources/package-manifests.js.map +1 -0
  375. package/resources/package-manifests.mjs +3 -0
  376. package/resources/package-manifests.mjs.map +1 -0
  377. package/resources/package-versions/package-versions.d.mts +104 -14
  378. package/resources/package-versions/package-versions.d.mts.map +1 -1
  379. package/resources/package-versions/package-versions.d.ts +104 -14
  380. package/resources/package-versions/package-versions.d.ts.map +1 -1
  381. package/resources/package-versions/package-versions.js +30 -9
  382. package/resources/package-versions/package-versions.js.map +1 -1
  383. package/resources/package-versions/package-versions.mjs +30 -9
  384. package/resources/package-versions/package-versions.mjs.map +1 -1
  385. package/resources/package-versions/publish.d.mts +40 -4
  386. package/resources/package-versions/publish.d.mts.map +1 -1
  387. package/resources/package-versions/publish.d.ts +40 -4
  388. package/resources/package-versions/publish.d.ts.map +1 -1
  389. package/resources/package-versions/publish.js +8 -2
  390. package/resources/package-versions/publish.js.map +1 -1
  391. package/resources/package-versions/publish.mjs +8 -2
  392. package/resources/package-versions/publish.mjs.map +1 -1
  393. package/resources/packages/next-versions.d.mts +40 -4
  394. package/resources/packages/next-versions.d.mts.map +1 -1
  395. package/resources/packages/next-versions.d.ts +40 -4
  396. package/resources/packages/next-versions.d.ts.map +1 -1
  397. package/resources/packages/next-versions.js +8 -2
  398. package/resources/packages/next-versions.js.map +1 -1
  399. package/resources/packages/next-versions.mjs +8 -2
  400. package/resources/packages/next-versions.mjs.map +1 -1
  401. package/resources/packages/versions.d.mts +80 -9
  402. package/resources/packages/versions.d.mts.map +1 -1
  403. package/resources/packages/versions.d.ts +80 -9
  404. package/resources/packages/versions.d.ts.map +1 -1
  405. package/resources/packages/versions.js +16 -5
  406. package/resources/packages/versions.js.map +1 -1
  407. package/resources/packages/versions.mjs +16 -5
  408. package/resources/packages/versions.mjs.map +1 -1
  409. package/resources/payroll-runs/off-cycle.d.mts +17 -9
  410. package/resources/payroll-runs/off-cycle.d.mts.map +1 -1
  411. package/resources/payroll-runs/off-cycle.d.ts +17 -9
  412. package/resources/payroll-runs/off-cycle.d.ts.map +1 -1
  413. package/resources/payroll-runs/off-cycle.js +9 -5
  414. package/resources/payroll-runs/off-cycle.js.map +1 -1
  415. package/resources/payroll-runs/off-cycle.mjs +9 -5
  416. package/resources/payroll-runs/off-cycle.mjs.map +1 -1
  417. package/resources/permissions/index.d.mts +3 -0
  418. package/resources/permissions/index.d.mts.map +1 -0
  419. package/resources/permissions/index.d.ts +3 -0
  420. package/resources/permissions/index.d.ts.map +1 -0
  421. package/resources/permissions/index.js +9 -0
  422. package/resources/permissions/index.js.map +1 -0
  423. package/resources/permissions/index.mjs +4 -0
  424. package/resources/permissions/index.mjs.map +1 -0
  425. package/resources/permissions/permission-profiles.d.mts +43 -0
  426. package/resources/permissions/permission-profiles.d.mts.map +1 -0
  427. package/resources/permissions/permission-profiles.d.ts +43 -0
  428. package/resources/permissions/permission-profiles.d.ts.map +1 -0
  429. package/resources/permissions/permission-profiles.js +36 -0
  430. package/resources/permissions/permission-profiles.js.map +1 -0
  431. package/resources/permissions/permission-profiles.mjs +32 -0
  432. package/resources/permissions/permission-profiles.mjs.map +1 -0
  433. package/resources/permissions/permissions.d.mts +10 -0
  434. package/resources/permissions/permissions.d.mts.map +1 -0
  435. package/resources/permissions/permissions.d.ts +10 -0
  436. package/resources/permissions/permissions.d.ts.map +1 -0
  437. package/resources/permissions/permissions.js +17 -0
  438. package/resources/permissions/permissions.js.map +1 -0
  439. package/resources/permissions/permissions.mjs +12 -0
  440. package/resources/permissions/permissions.mjs.map +1 -0
  441. package/resources/permissions.d.mts +2 -0
  442. package/resources/permissions.d.mts.map +1 -0
  443. package/resources/permissions.d.ts +2 -0
  444. package/resources/permissions.d.ts.map +1 -0
  445. package/resources/permissions.js +6 -0
  446. package/resources/permissions.js.map +1 -0
  447. package/resources/permissions.mjs +3 -0
  448. package/resources/permissions.mjs.map +1 -0
  449. package/resources/record-detail-reference-options.d.mts +110 -0
  450. package/resources/record-detail-reference-options.d.mts.map +1 -0
  451. package/resources/record-detail-reference-options.d.ts +110 -0
  452. package/resources/record-detail-reference-options.d.ts.map +1 -0
  453. package/resources/record-detail-reference-options.js +54 -0
  454. package/resources/record-detail-reference-options.js.map +1 -0
  455. package/resources/record-detail-reference-options.mjs +50 -0
  456. package/resources/record-detail-reference-options.mjs.map +1 -0
  457. package/resources/record-detail-related-records.d.mts +1129 -0
  458. package/resources/record-detail-related-records.d.mts.map +1 -0
  459. package/resources/record-detail-related-records.d.ts +1129 -0
  460. package/resources/record-detail-related-records.d.ts.map +1 -0
  461. package/resources/record-detail-related-records.js +49 -0
  462. package/resources/record-detail-related-records.js.map +1 -0
  463. package/resources/record-detail-related-records.mjs +45 -0
  464. package/resources/record-detail-related-records.mjs.map +1 -0
  465. package/resources/record-details.d.mts +2621 -0
  466. package/resources/record-details.d.mts.map +1 -0
  467. package/resources/record-details.d.ts +2621 -0
  468. package/resources/record-details.d.ts.map +1 -0
  469. package/resources/record-details.js +141 -0
  470. package/resources/record-details.js.map +1 -0
  471. package/resources/record-details.mjs +137 -0
  472. package/resources/record-details.mjs.map +1 -0
  473. package/resources/reimbursements.d.mts +2158 -90
  474. package/resources/reimbursements.d.mts.map +1 -1
  475. package/resources/reimbursements.d.ts +2158 -90
  476. package/resources/reimbursements.d.ts.map +1 -1
  477. package/resources/reimbursements.js +306 -16
  478. package/resources/reimbursements.js.map +1 -1
  479. package/resources/reimbursements.mjs +306 -16
  480. package/resources/reimbursements.mjs.map +1 -1
  481. package/resources/report-runs.d.mts +2 -1
  482. package/resources/report-runs.d.mts.map +1 -1
  483. package/resources/report-runs.d.ts +2 -1
  484. package/resources/report-runs.d.ts.map +1 -1
  485. package/resources/report-runs.js +2 -1
  486. package/resources/report-runs.js.map +1 -1
  487. package/resources/report-runs.mjs +2 -1
  488. package/resources/report-runs.mjs.map +1 -1
  489. package/resources/sandboxes.d.mts +20 -624
  490. package/resources/sandboxes.d.mts.map +1 -1
  491. package/resources/sandboxes.d.ts +20 -624
  492. package/resources/sandboxes.d.ts.map +1 -1
  493. package/resources/sandboxes.js +5 -60
  494. package/resources/sandboxes.js.map +1 -1
  495. package/resources/sandboxes.mjs +5 -60
  496. package/resources/sandboxes.mjs.map +1 -1
  497. package/resources/worker-changes.d.mts +65 -10
  498. package/resources/worker-changes.d.mts.map +1 -1
  499. package/resources/worker-changes.d.ts +65 -10
  500. package/resources/worker-changes.d.ts.map +1 -1
  501. package/resources/worker-changes.js +3 -0
  502. package/resources/worker-changes.js.map +1 -1
  503. package/resources/worker-changes.mjs +3 -0
  504. package/resources/worker-changes.mjs.map +1 -1
  505. package/src/client.ts +160 -17
  506. package/src/core/platform/custom-objects/manager.ts +65 -42
  507. package/src/core/platform/custom-objects.ts +3 -0
  508. package/src/lib/manifest/acp-agent.ts +7 -1
  509. package/src/lib/manifest/definitions/_object-records.ts +17 -10
  510. package/src/lib/manifest/definitions/custom-object.ts +14 -9
  511. package/src/resources/activity-log.ts +1 -1
  512. package/src/resources/agents/sessions/messages.ts +10 -1
  513. package/src/resources/agents/sessions/sessions.ts +30 -3
  514. package/src/resources/bills.ts +1660 -0
  515. package/src/resources/card-transactions.ts +742 -49
  516. package/src/resources/custom-objects/custom-objects.ts +62 -2
  517. package/src/resources/custom-objects/fields.ts +44 -0
  518. package/src/resources/custom-objects/index.ts +13 -1
  519. package/src/resources/custom-objects/list-views/capabilities.ts +72 -0
  520. package/src/resources/custom-objects/list-views/default.ts +87 -0
  521. package/src/resources/custom-objects/list-views/index.ts +15 -0
  522. package/src/resources/custom-objects/list-views/list-views.ts +973 -0
  523. package/src/resources/custom-objects/list-views.ts +3 -0
  524. package/src/resources/custom-objects/records/capabilities.ts +73 -0
  525. package/src/resources/custom-objects/records/index.ts +21 -0
  526. package/src/resources/custom-objects/records/records.ts +955 -0
  527. package/src/resources/custom-objects/records.ts +1 -703
  528. package/src/resources/devices.ts +2 -0
  529. package/src/resources/draft-transitions.ts +276 -347
  530. package/src/resources/employee-documents.ts +2 -2
  531. package/src/resources/{spend-categories.ts → finance-categories.ts} +26 -23
  532. package/src/resources/finance-vendors.ts +191 -0
  533. package/src/resources/functions/executions.ts +4 -1
  534. package/src/resources/functions/functions.ts +216 -4
  535. package/src/resources/hire-requirements.ts +107 -9
  536. package/src/resources/hires.ts +1768 -539
  537. package/src/resources/index.ts +53 -7
  538. package/src/resources/leave-requests.ts +11 -2
  539. package/src/resources/object-categories.ts +2 -1
  540. package/src/resources/package-components/extract.ts +139 -0
  541. package/src/resources/package-components/index.ts +10 -0
  542. package/src/resources/package-components/package-components.ts +134 -0
  543. package/src/resources/package-components/types.ts +64 -0
  544. package/src/resources/package-components.ts +3 -0
  545. package/src/resources/package-installs.ts +120 -9
  546. package/src/resources/package-managed-installs.ts +146 -7
  547. package/src/resources/package-manifests/index.ts +5 -0
  548. package/src/resources/package-manifests/package-manifests.ts +21 -0
  549. package/src/resources/package-manifests/packages/index.ts +4 -0
  550. package/src/resources/package-manifests/packages/packages.ts +19 -0
  551. package/src/resources/package-manifests/packages/versions.ts +237 -0
  552. package/src/resources/package-manifests/packages.ts +3 -0
  553. package/src/resources/package-manifests/versions.ts +96 -0
  554. package/src/resources/package-manifests.ts +3 -0
  555. package/src/resources/package-versions/package-versions.ts +117 -14
  556. package/src/resources/package-versions/publish.ts +46 -4
  557. package/src/resources/packages/next-versions.ts +46 -4
  558. package/src/resources/packages/versions.ts +92 -9
  559. package/src/resources/payroll-runs/off-cycle.ts +17 -9
  560. package/src/resources/permissions/index.ts +4 -0
  561. package/src/resources/permissions/permission-profiles.ts +50 -0
  562. package/src/resources/permissions/permissions.ts +20 -0
  563. package/src/resources/permissions.ts +3 -0
  564. package/src/resources/record-detail-reference-options.ts +141 -0
  565. package/src/resources/record-detail-related-records.ts +1457 -0
  566. package/src/resources/record-details.ts +3316 -0
  567. package/src/resources/reimbursements.ts +2591 -126
  568. package/src/resources/report-runs.ts +2 -1
  569. package/src/resources/sandboxes.ts +48 -742
  570. package/src/resources/worker-changes.ts +71 -10
  571. package/src/version.ts +1 -1
  572. package/version.d.mts +1 -1
  573. package/version.d.ts +1 -1
  574. package/version.js +1 -1
  575. package/version.mjs +1 -1
  576. package/resources/spend-categories.d.mts.map +0 -1
  577. package/resources/spend-categories.d.ts.map +0 -1
  578. package/resources/spend-categories.js.map +0 -1
  579. package/resources/spend-categories.mjs.map +0 -1
@@ -0,0 +1,1129 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
3
+ import { RequestOptions } from "../internal/request-options.mjs";
4
+ /**
5
+ * Custom object datarows defined by the company
6
+ */
7
+ export declare class RecordDetailRelatedRecords extends APIResource {
8
+ /**
9
+ * Lists readable Custom Object records in a related-list section of the parent
10
+ * record's effective layout.
11
+ *
12
+ * Pass the parent identifiers and RELATED_LIST section id from the detail
13
+ * response. The server resolves the relationship and saved list fields; callers
14
+ * cannot substitute a relationship filter. Requires access to both the parent and
15
+ * target Custom Objects. A section removed or hidden by layout visibility is
16
+ * unavailable.
17
+ *
18
+ * @example HTTP
19
+ * Representative request and response shapes.
20
+ * ```
21
+ * GET /record-detail-related-records/?object_api_name=object_api_name&record_id=record_id&section_id=section_id&layout_api_name=default&limit=25&cursor=cursor HTTP/1.1
22
+ * Host: rest.ripplingapis.com
23
+ * Accept: application/json
24
+ * Rippling-Api-Version: 2024-08-01
25
+ *
26
+ * HTTP/1.1 200 OK
27
+ * Content-Type: application/json
28
+ *
29
+ * {
30
+ * "results": [
31
+ * {
32
+ * "id": "string",
33
+ * "object_api_name": "string",
34
+ * "fields": {}
35
+ * }
36
+ * ],
37
+ * "next_link": "string"
38
+ * }
39
+ * ```
40
+ */
41
+ list(query: RecordDetailRelatedRecordListParams, options?: RequestOptions): PagePromise<RecordDetailRelatedRecordListResponsesPageCursorURL, RecordDetailRelatedRecordListResponse>;
42
+ }
43
+ export type RecordDetailRelatedRecordListResponsesPageCursorURL = PageCursorURL<RecordDetailRelatedRecordListResponse>;
44
+ /**
45
+ * A readable related Custom Object record with discoverable fields configured by a
46
+ * saved related-list section.
47
+ */
48
+ export interface RecordDetailRelatedRecordListResponse {
49
+ /**
50
+ * Stable identifier of a readable related record. Use it with object_api_name in
51
+ * the canonical record GET or record-details endpoint.
52
+ */
53
+ id: string;
54
+ /**
55
+ * Discoverable fields configured for this list. Unreadable fields retain metadata
56
+ * with a null, MASKED value.
57
+ */
58
+ fields: {
59
+ [key: string]: RecordDetailRelatedRecordListResponse.DetailTextField | RecordDetailRelatedRecordListResponse.DetailNumberField | RecordDetailRelatedRecordListResponse.DetailBooleanField | RecordDetailRelatedRecordListResponse.DetailDateField | RecordDetailRelatedRecordListResponse.DetailDateTimeField | RecordDetailRelatedRecordListResponse.DetailCurrencyField | RecordDetailRelatedRecordListResponse.DetailChoiceField | RecordDetailRelatedRecordListResponse.DetailMultiChoiceField | RecordDetailRelatedRecordListResponse.DetailReferenceField | RecordDetailRelatedRecordListResponse.DetailNativeReferenceField | RecordDetailRelatedRecordListResponse.DetailPercentageField | RecordDetailRelatedRecordListResponse.DetailTimeField | RecordDetailRelatedRecordListResponse.DetailUnsupportedField;
60
+ };
61
+ /**
62
+ * Related Custom Object API name.
63
+ */
64
+ object_api_name: string;
65
+ }
66
+ export declare namespace RecordDetailRelatedRecordListResponse {
67
+ /**
68
+ * A discoverable field and its initial value and capabilities for the requested
69
+ * flow.
70
+ */
71
+ interface DetailTextField {
72
+ /**
73
+ * Field key used by layout placements and canonical record PATCH changes. Direct
74
+ * keys come from the Custom Object field definition; dotted related keys are
75
+ * read-only.
76
+ */
77
+ api_name: string;
78
+ /**
79
+ * TEXT and LONG_TEXT contain text; EMAIL, URL, and PHONE_NUMBER contain their
80
+ * respective textual values.
81
+ */
82
+ data_type: 'TEXT' | 'LONG_TEXT' | 'EMAIL' | 'URL' | 'PHONE_NUMBER';
83
+ /**
84
+ * Whether you can attempt to supply or change this field through the canonical
85
+ * write API for the requested flow. This does not grant permission to browse
86
+ * reference targets; submitted reference identifiers are validated when written.
87
+ */
88
+ editable: boolean;
89
+ /**
90
+ * Field display name.
91
+ */
92
+ label: string;
93
+ /**
94
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
95
+ * and scalar references.
96
+ */
97
+ multiple: boolean;
98
+ /**
99
+ * Configured choice values; empty for non-choice fields.
100
+ */
101
+ options: Array<string>;
102
+ /**
103
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
104
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
105
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
106
+ * value), DERIVED (calculated value), MASKED (restricted value),
107
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
108
+ * by this requested flow).
109
+ */
110
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
111
+ /**
112
+ * Whether a nonempty value is required by the field schema.
113
+ */
114
+ required: boolean;
115
+ /**
116
+ * Readable text, including an empty string with value_state EMPTY; null when unset
117
+ * or masked.
118
+ */
119
+ value: string | null;
120
+ /**
121
+ * State of the value supplied for this requested flow: PRESENT for a readable
122
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
123
+ * empty array; MASKED when access to the field or a referenced value is
124
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
125
+ * UNSUPPORTED does not determine edit permission.
126
+ */
127
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
128
+ /**
129
+ * Whether the field value supplied for this requested flow is readable. Create
130
+ * responses describe only an authorized initial value and do not grant access to
131
+ * any existing record. A referenced record may have separate access restrictions.
132
+ */
133
+ viewable: boolean;
134
+ /**
135
+ * Maximum accepted characters, or null when unbounded.
136
+ */
137
+ max_length?: number | null;
138
+ /**
139
+ * Target name for a supported reference: Employee or a Custom Object API name
140
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
141
+ */
142
+ reference_object?: string | null;
143
+ }
144
+ /**
145
+ * A discoverable field and its initial value and capabilities for the requested
146
+ * flow.
147
+ */
148
+ interface DetailNumberField {
149
+ /**
150
+ * Field key used by layout placements and canonical record PATCH changes. Direct
151
+ * keys come from the Custom Object field definition; dotted related keys are
152
+ * read-only.
153
+ */
154
+ api_name: string;
155
+ /**
156
+ * NUMBER contains a decimal quantity.
157
+ */
158
+ data_type: 'NUMBER';
159
+ /**
160
+ * Whether you can attempt to supply or change this field through the canonical
161
+ * write API for the requested flow. This does not grant permission to browse
162
+ * reference targets; submitted reference identifiers are validated when written.
163
+ */
164
+ editable: boolean;
165
+ /**
166
+ * Field display name.
167
+ */
168
+ label: string;
169
+ /**
170
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
171
+ * and scalar references.
172
+ */
173
+ multiple: boolean;
174
+ /**
175
+ * Configured choice values; empty for non-choice fields.
176
+ */
177
+ options: Array<string>;
178
+ /**
179
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
180
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
181
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
182
+ * value), DERIVED (calculated value), MASKED (restricted value),
183
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
184
+ * by this requested flow).
185
+ */
186
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
187
+ /**
188
+ * Whether a nonempty value is required by the field schema.
189
+ */
190
+ required: boolean;
191
+ /**
192
+ * Decimal quantity encoded as a string to preserve precision, for example 12.50.
193
+ * Units follow the configured field's meaning. Null unless value_state is PRESENT.
194
+ */
195
+ value: string | null;
196
+ /**
197
+ * State of the value supplied for this requested flow: PRESENT for a readable
198
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
199
+ * empty array; MASKED when access to the field or a referenced value is
200
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
201
+ * UNSUPPORTED does not determine edit permission.
202
+ */
203
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
204
+ /**
205
+ * Whether the field value supplied for this requested flow is readable. Create
206
+ * responses describe only an authorized initial value and do not grant access to
207
+ * any existing record. A referenced record may have separate access restrictions.
208
+ */
209
+ viewable: boolean;
210
+ /**
211
+ * Configured decimal places, or null.
212
+ */
213
+ num_of_decimal_places?: number | null;
214
+ /**
215
+ * Target name for a supported reference: Employee or a Custom Object API name
216
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
217
+ */
218
+ reference_object?: string | null;
219
+ }
220
+ /**
221
+ * A discoverable field and its initial value and capabilities for the requested
222
+ * flow.
223
+ */
224
+ interface DetailBooleanField {
225
+ /**
226
+ * Field key used by layout placements and canonical record PATCH changes. Direct
227
+ * keys come from the Custom Object field definition; dotted related keys are
228
+ * read-only.
229
+ */
230
+ api_name: string;
231
+ /**
232
+ * BOOLEAN contains true or false.
233
+ */
234
+ data_type: 'BOOLEAN';
235
+ /**
236
+ * Whether you can attempt to supply or change this field through the canonical
237
+ * write API for the requested flow. This does not grant permission to browse
238
+ * reference targets; submitted reference identifiers are validated when written.
239
+ */
240
+ editable: boolean;
241
+ /**
242
+ * Field display name.
243
+ */
244
+ label: string;
245
+ /**
246
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
247
+ * and scalar references.
248
+ */
249
+ multiple: boolean;
250
+ /**
251
+ * Configured choice values; empty for non-choice fields.
252
+ */
253
+ options: Array<string>;
254
+ /**
255
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
256
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
257
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
258
+ * value), DERIVED (calculated value), MASKED (restricted value),
259
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
260
+ * by this requested flow).
261
+ */
262
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
263
+ /**
264
+ * Whether a nonempty value is required by the field schema.
265
+ */
266
+ required: boolean;
267
+ /**
268
+ * Whether the configured condition is true; null unless value_state is PRESENT.
269
+ */
270
+ value: boolean | null;
271
+ /**
272
+ * State of the value supplied for this requested flow: PRESENT for a readable
273
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
274
+ * empty array; MASKED when access to the field or a referenced value is
275
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
276
+ * UNSUPPORTED does not determine edit permission.
277
+ */
278
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
279
+ /**
280
+ * Whether the field value supplied for this requested flow is readable. Create
281
+ * responses describe only an authorized initial value and do not grant access to
282
+ * any existing record. A referenced record may have separate access restrictions.
283
+ */
284
+ viewable: boolean;
285
+ /**
286
+ * Target name for a supported reference: Employee or a Custom Object API name
287
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
288
+ */
289
+ reference_object?: string | null;
290
+ }
291
+ /**
292
+ * A discoverable field and its initial value and capabilities for the requested
293
+ * flow.
294
+ */
295
+ interface DetailDateField {
296
+ /**
297
+ * Field key used by layout placements and canonical record PATCH changes. Direct
298
+ * keys come from the Custom Object field definition; dotted related keys are
299
+ * read-only.
300
+ */
301
+ api_name: string;
302
+ /**
303
+ * DATE contains a calendar date without a time or timezone.
304
+ */
305
+ data_type: 'DATE';
306
+ /**
307
+ * Whether you can attempt to supply or change this field through the canonical
308
+ * write API for the requested flow. This does not grant permission to browse
309
+ * reference targets; submitted reference identifiers are validated when written.
310
+ */
311
+ editable: boolean;
312
+ /**
313
+ * Field display name.
314
+ */
315
+ label: string;
316
+ /**
317
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
318
+ * and scalar references.
319
+ */
320
+ multiple: boolean;
321
+ /**
322
+ * Configured choice values; empty for non-choice fields.
323
+ */
324
+ options: Array<string>;
325
+ /**
326
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
327
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
328
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
329
+ * value), DERIVED (calculated value), MASKED (restricted value),
330
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
331
+ * by this requested flow).
332
+ */
333
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
334
+ /**
335
+ * Whether a nonempty value is required by the field schema.
336
+ */
337
+ required: boolean;
338
+ /**
339
+ * Calendar date in YYYY-MM-DD format, for example 2026-10-24; null unless
340
+ * value_state is PRESENT.
341
+ */
342
+ value: string | null;
343
+ /**
344
+ * State of the value supplied for this requested flow: PRESENT for a readable
345
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
346
+ * empty array; MASKED when access to the field or a referenced value is
347
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
348
+ * UNSUPPORTED does not determine edit permission.
349
+ */
350
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
351
+ /**
352
+ * Whether the field value supplied for this requested flow is readable. Create
353
+ * responses describe only an authorized initial value and do not grant access to
354
+ * any existing record. A referenced record may have separate access restrictions.
355
+ */
356
+ viewable: boolean;
357
+ /**
358
+ * Target name for a supported reference: Employee or a Custom Object API name
359
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
360
+ */
361
+ reference_object?: string | null;
362
+ }
363
+ /**
364
+ * A discoverable field and its initial value and capabilities for the requested
365
+ * flow.
366
+ */
367
+ interface DetailDateTimeField {
368
+ /**
369
+ * Field key used by layout placements and canonical record PATCH changes. Direct
370
+ * keys come from the Custom Object field definition; dotted related keys are
371
+ * read-only.
372
+ */
373
+ api_name: string;
374
+ /**
375
+ * DATETIME contains an instant with a timezone.
376
+ */
377
+ data_type: 'DATETIME';
378
+ /**
379
+ * Whether you can attempt to supply or change this field through the canonical
380
+ * write API for the requested flow. This does not grant permission to browse
381
+ * reference targets; submitted reference identifiers are validated when written.
382
+ */
383
+ editable: boolean;
384
+ /**
385
+ * Field display name.
386
+ */
387
+ label: string;
388
+ /**
389
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
390
+ * and scalar references.
391
+ */
392
+ multiple: boolean;
393
+ /**
394
+ * Configured choice values; empty for non-choice fields.
395
+ */
396
+ options: Array<string>;
397
+ /**
398
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
399
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
400
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
401
+ * value), DERIVED (calculated value), MASKED (restricted value),
402
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
403
+ * by this requested flow).
404
+ */
405
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
406
+ /**
407
+ * Whether a nonempty value is required by the field schema.
408
+ */
409
+ required: boolean;
410
+ /**
411
+ * ISO 8601 timestamp with timezone and up to millisecond precision, matching
412
+ * native record JSON responses; null unless value_state is PRESENT. System audit
413
+ * timestamps are immutable.
414
+ */
415
+ value: string | null;
416
+ /**
417
+ * State of the value supplied for this requested flow: PRESENT for a readable
418
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
419
+ * empty array; MASKED when access to the field or a referenced value is
420
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
421
+ * UNSUPPORTED does not determine edit permission.
422
+ */
423
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
424
+ /**
425
+ * Whether the field value supplied for this requested flow is readable. Create
426
+ * responses describe only an authorized initial value and do not grant access to
427
+ * any existing record. A referenced record may have separate access restrictions.
428
+ */
429
+ viewable: boolean;
430
+ /**
431
+ * Target name for a supported reference: Employee or a Custom Object API name
432
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
433
+ */
434
+ reference_object?: string | null;
435
+ }
436
+ /**
437
+ * A discoverable field and its initial value and capabilities for the requested
438
+ * flow.
439
+ */
440
+ interface DetailCurrencyField {
441
+ /**
442
+ * Field key used by layout placements and canonical record PATCH changes. Direct
443
+ * keys come from the Custom Object field definition; dotted related keys are
444
+ * read-only.
445
+ */
446
+ api_name: string;
447
+ /**
448
+ * CURRENCY contains a monetary amount and its currency.
449
+ */
450
+ data_type: 'CURRENCY';
451
+ /**
452
+ * Whether you can attempt to supply or change this field through the canonical
453
+ * write API for the requested flow. This does not grant permission to browse
454
+ * reference targets; submitted reference identifiers are validated when written.
455
+ */
456
+ editable: boolean;
457
+ /**
458
+ * Field display name.
459
+ */
460
+ label: string;
461
+ /**
462
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
463
+ * and scalar references.
464
+ */
465
+ multiple: boolean;
466
+ /**
467
+ * Configured choice values; empty for non-choice fields.
468
+ */
469
+ options: Array<string>;
470
+ /**
471
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
472
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
473
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
474
+ * value), DERIVED (calculated value), MASKED (restricted value),
475
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
476
+ * by this requested flow).
477
+ */
478
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
479
+ /**
480
+ * Whether a nonempty value is required by the field schema.
481
+ */
482
+ required: boolean;
483
+ /**
484
+ * Currency object with an ISO 4217 currency_type and decimal-string value, for
485
+ * example {"currency_type": "USD", "value": "25.00"}. The amount is in currency
486
+ * units, not cents. Null unless value_state is PRESENT.
487
+ */
488
+ value: DetailCurrencyField.RecordDetailCurrency | null;
489
+ /**
490
+ * State of the value supplied for this requested flow: PRESENT for a readable
491
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
492
+ * empty array; MASKED when access to the field or a referenced value is
493
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
494
+ * UNSUPPORTED does not determine edit permission.
495
+ */
496
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
497
+ /**
498
+ * Whether the field value supplied for this requested flow is readable. Create
499
+ * responses describe only an authorized initial value and do not grant access to
500
+ * any existing record. A referenced record may have separate access restrictions.
501
+ */
502
+ viewable: boolean;
503
+ /**
504
+ * Configured ISO 4217 currency code, or null when dynamic.
505
+ */
506
+ currency?: string | null;
507
+ /**
508
+ * Configured decimal places, or null.
509
+ */
510
+ num_of_decimal_places?: number | null;
511
+ /**
512
+ * Target name for a supported reference: Employee or a Custom Object API name
513
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
514
+ */
515
+ reference_object?: string | null;
516
+ }
517
+ namespace DetailCurrencyField {
518
+ /**
519
+ * Platform Currency serialized with a decimal string amount to preserve precision.
520
+ */
521
+ interface RecordDetailCurrency {
522
+ /**
523
+ * ISO 4217 currency code, for example USD or EUR.
524
+ */
525
+ currency_type: string;
526
+ /**
527
+ * Decimal monetary amount in currency units, for example 25.00; not integer cents.
528
+ */
529
+ value: string;
530
+ }
531
+ }
532
+ /**
533
+ * A discoverable field and its initial value and capabilities for the requested
534
+ * flow.
535
+ */
536
+ interface DetailChoiceField {
537
+ /**
538
+ * Field key used by layout placements and canonical record PATCH changes. Direct
539
+ * keys come from the Custom Object field definition; dotted related keys are
540
+ * read-only.
541
+ */
542
+ api_name: string;
543
+ /**
544
+ * RADIO contains one configured choice.
545
+ */
546
+ data_type: 'RADIO';
547
+ /**
548
+ * Whether you can attempt to supply or change this field through the canonical
549
+ * write API for the requested flow. This does not grant permission to browse
550
+ * reference targets; submitted reference identifiers are validated when written.
551
+ */
552
+ editable: boolean;
553
+ /**
554
+ * Field display name.
555
+ */
556
+ label: string;
557
+ /**
558
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
559
+ * and scalar references.
560
+ */
561
+ multiple: boolean;
562
+ /**
563
+ * Configured choice values; empty for non-choice fields.
564
+ */
565
+ options: Array<string>;
566
+ /**
567
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
568
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
569
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
570
+ * value), DERIVED (calculated value), MASKED (restricted value),
571
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
572
+ * by this requested flow).
573
+ */
574
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
575
+ /**
576
+ * Whether a nonempty value is required by the field schema.
577
+ */
578
+ required: boolean;
579
+ /**
580
+ * One value from options, or an empty string with value_state EMPTY; null when
581
+ * unset or masked.
582
+ */
583
+ value: string | null;
584
+ /**
585
+ * State of the value supplied for this requested flow: PRESENT for a readable
586
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
587
+ * empty array; MASKED when access to the field or a referenced value is
588
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
589
+ * UNSUPPORTED does not determine edit permission.
590
+ */
591
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
592
+ /**
593
+ * Whether the field value supplied for this requested flow is readable. Create
594
+ * responses describe only an authorized initial value and do not grant access to
595
+ * any existing record. A referenced record may have separate access restrictions.
596
+ */
597
+ viewable: boolean;
598
+ /**
599
+ * Target name for a supported reference: Employee or a Custom Object API name
600
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
601
+ */
602
+ reference_object?: string | null;
603
+ }
604
+ /**
605
+ * A discoverable field and its initial value and capabilities for the requested
606
+ * flow.
607
+ */
608
+ interface DetailMultiChoiceField {
609
+ /**
610
+ * Field key used by layout placements and canonical record PATCH changes. Direct
611
+ * keys come from the Custom Object field definition; dotted related keys are
612
+ * read-only.
613
+ */
614
+ api_name: string;
615
+ /**
616
+ * SELECT contains zero or more configured choices.
617
+ */
618
+ data_type: 'SELECT';
619
+ /**
620
+ * Whether you can attempt to supply or change this field through the canonical
621
+ * write API for the requested flow. This does not grant permission to browse
622
+ * reference targets; submitted reference identifiers are validated when written.
623
+ */
624
+ editable: boolean;
625
+ /**
626
+ * Field display name.
627
+ */
628
+ label: string;
629
+ /**
630
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
631
+ * and scalar references.
632
+ */
633
+ multiple: boolean;
634
+ /**
635
+ * Configured choice values; empty for non-choice fields.
636
+ */
637
+ options: Array<string>;
638
+ /**
639
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
640
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
641
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
642
+ * value), DERIVED (calculated value), MASKED (restricted value),
643
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
644
+ * by this requested flow).
645
+ */
646
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
647
+ /**
648
+ * Whether a nonempty value is required by the field schema.
649
+ */
650
+ required: boolean;
651
+ /**
652
+ * Selected values from options. An empty selection is [] with value_state EMPTY;
653
+ * null when unset or masked.
654
+ */
655
+ value: Array<string> | null;
656
+ /**
657
+ * State of the value supplied for this requested flow: PRESENT for a readable
658
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
659
+ * empty array; MASKED when access to the field or a referenced value is
660
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
661
+ * UNSUPPORTED does not determine edit permission.
662
+ */
663
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
664
+ /**
665
+ * Whether the field value supplied for this requested flow is readable. Create
666
+ * responses describe only an authorized initial value and do not grant access to
667
+ * any existing record. A referenced record may have separate access restrictions.
668
+ */
669
+ viewable: boolean;
670
+ /**
671
+ * Target name for a supported reference: Employee or a Custom Object API name
672
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
673
+ */
674
+ reference_object?: string | null;
675
+ }
676
+ /**
677
+ * A discoverable field and its initial value and capabilities for the requested
678
+ * flow.
679
+ */
680
+ interface DetailReferenceField {
681
+ /**
682
+ * Field key used by layout placements and canonical record PATCH changes. Direct
683
+ * keys come from the Custom Object field definition; dotted related keys are
684
+ * read-only.
685
+ */
686
+ api_name: string;
687
+ /**
688
+ * OG_REFERENCE_FIELD identifies a reference to the object named by
689
+ * reference_object, including owner_role, created_by, and last_modified_by fields.
690
+ */
691
+ data_type: 'OG_REFERENCE_FIELD';
692
+ /**
693
+ * Whether you can attempt to supply or change this field through the canonical
694
+ * write API for the requested flow. This does not grant permission to browse
695
+ * reference targets; submitted reference identifiers are validated when written.
696
+ */
697
+ editable: boolean;
698
+ /**
699
+ * Field display name.
700
+ */
701
+ label: string;
702
+ /**
703
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
704
+ * and scalar references.
705
+ */
706
+ multiple: boolean;
707
+ /**
708
+ * Configured choice values; empty for non-choice fields.
709
+ */
710
+ options: Array<string>;
711
+ /**
712
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
713
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
714
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
715
+ * value), DERIVED (calculated value), MASKED (restricted value),
716
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
717
+ * by this requested flow).
718
+ */
719
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
720
+ /**
721
+ * Whether a nonempty value is required by the field schema.
722
+ */
723
+ required: boolean;
724
+ /**
725
+ * Selected record identifier in the reference_object target; null when empty or
726
+ * masked. Use the Workers GET endpoint for Employee targets, or the Custom Object
727
+ * record GET endpoint for Custom Object targets.
728
+ */
729
+ value: string | null;
730
+ /**
731
+ * State of the value supplied for this requested flow: PRESENT for a readable
732
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
733
+ * empty array; MASKED when access to the field or a referenced value is
734
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
735
+ * UNSUPPORTED does not determine edit permission.
736
+ */
737
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
738
+ /**
739
+ * Whether the field value supplied for this requested flow is readable. Create
740
+ * responses describe only an authorized initial value and do not grant access to
741
+ * any existing record. A referenced record may have separate access restrictions.
742
+ */
743
+ viewable: boolean;
744
+ /**
745
+ * Permitted presentation of the selection, or null when unavailable. Empty and
746
+ * masked references have no presentation.
747
+ */
748
+ display?: DetailReferenceField.ReferenceDisplay | null;
749
+ /**
750
+ * Target name for a supported reference: Employee or a Custom Object API name
751
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
752
+ */
753
+ reference_object?: string | null;
754
+ }
755
+ namespace DetailReferenceField {
756
+ /**
757
+ * Optional presentation of a readable reference, independent of its identifier.
758
+ */
759
+ interface ReferenceDisplay {
760
+ /**
761
+ * Permitted display label; never synthesized from the identifier.
762
+ */
763
+ label: string;
764
+ /**
765
+ * Permitted image URL, or null when unavailable.
766
+ */
767
+ image_url?: string | null;
768
+ /**
769
+ * Permitted secondary text, or null when unavailable.
770
+ */
771
+ secondary_label?: string | null;
772
+ }
773
+ }
774
+ /**
775
+ * A discoverable field and its initial value and capabilities for the requested
776
+ * flow.
777
+ */
778
+ interface DetailNativeReferenceField {
779
+ /**
780
+ * Field key used by layout placements and canonical record PATCH changes. Direct
781
+ * keys come from the Custom Object field definition; dotted related keys are
782
+ * read-only.
783
+ */
784
+ api_name: string;
785
+ /**
786
+ * NATIVE_EDGE identifies a relationship using the same selected identifier and
787
+ * optional presentation contract.
788
+ */
789
+ data_type: 'NATIVE_EDGE';
790
+ /**
791
+ * Whether you can attempt to supply or change this field through the canonical
792
+ * write API for the requested flow. This does not grant permission to browse
793
+ * reference targets; submitted reference identifiers are validated when written.
794
+ */
795
+ editable: boolean;
796
+ /**
797
+ * Field display name.
798
+ */
799
+ label: string;
800
+ /**
801
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
802
+ * and scalar references.
803
+ */
804
+ multiple: boolean;
805
+ /**
806
+ * Configured choice values; empty for non-choice fields.
807
+ */
808
+ options: Array<string>;
809
+ /**
810
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
811
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
812
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
813
+ * value), DERIVED (calculated value), MASKED (restricted value),
814
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
815
+ * by this requested flow).
816
+ */
817
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
818
+ /**
819
+ * Whether a nonempty value is required by the field schema.
820
+ */
821
+ required: boolean;
822
+ /**
823
+ * Selected record identifier in the reference_object target; null when empty or
824
+ * masked. Use the Workers GET endpoint for Employee targets, or the Custom Object
825
+ * record GET endpoint for Custom Object targets.
826
+ */
827
+ value: string | null;
828
+ /**
829
+ * State of the value supplied for this requested flow: PRESENT for a readable
830
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
831
+ * empty array; MASKED when access to the field or a referenced value is
832
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
833
+ * UNSUPPORTED does not determine edit permission.
834
+ */
835
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
836
+ /**
837
+ * Whether the field value supplied for this requested flow is readable. Create
838
+ * responses describe only an authorized initial value and do not grant access to
839
+ * any existing record. A referenced record may have separate access restrictions.
840
+ */
841
+ viewable: boolean;
842
+ /**
843
+ * Permitted presentation of the selection, or null when unavailable. Empty and
844
+ * masked references have no presentation.
845
+ */
846
+ display?: DetailNativeReferenceField.ReferenceDisplay | null;
847
+ /**
848
+ * Target name for a supported reference: Employee or a Custom Object API name
849
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
850
+ */
851
+ reference_object?: string | null;
852
+ }
853
+ namespace DetailNativeReferenceField {
854
+ /**
855
+ * Optional presentation of a readable reference, independent of its identifier.
856
+ */
857
+ interface ReferenceDisplay {
858
+ /**
859
+ * Permitted display label; never synthesized from the identifier.
860
+ */
861
+ label: string;
862
+ /**
863
+ * Permitted image URL, or null when unavailable.
864
+ */
865
+ image_url?: string | null;
866
+ /**
867
+ * Permitted secondary text, or null when unavailable.
868
+ */
869
+ secondary_label?: string | null;
870
+ }
871
+ }
872
+ /**
873
+ * A discoverable field and its initial value and capabilities for the requested
874
+ * flow.
875
+ */
876
+ interface DetailPercentageField {
877
+ /**
878
+ * Field key used by layout placements and canonical record PATCH changes. Direct
879
+ * keys come from the Custom Object field definition; dotted related keys are
880
+ * read-only.
881
+ */
882
+ api_name: string;
883
+ /**
884
+ * PERCENTAGE contains a decimal ratio, where 1 means 100%.
885
+ */
886
+ data_type: 'PERCENTAGE';
887
+ /**
888
+ * Whether you can attempt to supply or change this field through the canonical
889
+ * write API for the requested flow. This does not grant permission to browse
890
+ * reference targets; submitted reference identifiers are validated when written.
891
+ */
892
+ editable: boolean;
893
+ /**
894
+ * Field display name.
895
+ */
896
+ label: string;
897
+ /**
898
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
899
+ * and scalar references.
900
+ */
901
+ multiple: boolean;
902
+ /**
903
+ * Configured choice values; empty for non-choice fields.
904
+ */
905
+ options: Array<string>;
906
+ /**
907
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
908
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
909
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
910
+ * value), DERIVED (calculated value), MASKED (restricted value),
911
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
912
+ * by this requested flow).
913
+ */
914
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
915
+ /**
916
+ * Whether a nonempty value is required by the field schema.
917
+ */
918
+ required: boolean;
919
+ /**
920
+ * JSON number containing a decimal ratio without a percent sign: 0, 0.3, 1 and 1.5
921
+ * mean 0%, 30%, 100% and 150%. Null unless PRESENT.
922
+ */
923
+ value: number | null;
924
+ /**
925
+ * State of the value supplied for this requested flow: PRESENT for a readable
926
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
927
+ * empty array; MASKED when access to the field or a referenced value is
928
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
929
+ * UNSUPPORTED does not determine edit permission.
930
+ */
931
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
932
+ /**
933
+ * Whether the field value supplied for this requested flow is readable. Create
934
+ * responses describe only an authorized initial value and do not grant access to
935
+ * any existing record. A referenced record may have separate access restrictions.
936
+ */
937
+ viewable: boolean;
938
+ /**
939
+ * Configured decimal places, or null.
940
+ */
941
+ num_of_decimal_places?: number | null;
942
+ /**
943
+ * Target name for a supported reference: Employee or a Custom Object API name
944
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
945
+ */
946
+ reference_object?: string | null;
947
+ }
948
+ /**
949
+ * A discoverable field and its initial value and capabilities for the requested
950
+ * flow.
951
+ */
952
+ interface DetailTimeField {
953
+ /**
954
+ * Field key used by layout placements and canonical record PATCH changes. Direct
955
+ * keys come from the Custom Object field definition; dotted related keys are
956
+ * read-only.
957
+ */
958
+ api_name: string;
959
+ /**
960
+ * TIME contains a time of day.
961
+ */
962
+ data_type: 'TIME';
963
+ /**
964
+ * Whether you can attempt to supply or change this field through the canonical
965
+ * write API for the requested flow. This does not grant permission to browse
966
+ * reference targets; submitted reference identifiers are validated when written.
967
+ */
968
+ editable: boolean;
969
+ /**
970
+ * Field display name.
971
+ */
972
+ label: string;
973
+ /**
974
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
975
+ * and scalar references.
976
+ */
977
+ multiple: boolean;
978
+ /**
979
+ * Configured choice values; empty for non-choice fields.
980
+ */
981
+ options: Array<string>;
982
+ /**
983
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
984
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
985
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
986
+ * value), DERIVED (calculated value), MASKED (restricted value),
987
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
988
+ * by this requested flow).
989
+ */
990
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
991
+ /**
992
+ * Whether a nonempty value is required by the field schema.
993
+ */
994
+ required: boolean;
995
+ /**
996
+ * Time of day in HH:MM:SS format; null unless PRESENT.
997
+ */
998
+ value: string | null;
999
+ /**
1000
+ * State of the value supplied for this requested flow: PRESENT for a readable
1001
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1002
+ * empty array; MASKED when access to the field or a referenced value is
1003
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1004
+ * UNSUPPORTED does not determine edit permission.
1005
+ */
1006
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1007
+ /**
1008
+ * Whether the field value supplied for this requested flow is readable. Create
1009
+ * responses describe only an authorized initial value and do not grant access to
1010
+ * any existing record. A referenced record may have separate access restrictions.
1011
+ */
1012
+ viewable: boolean;
1013
+ /**
1014
+ * Target name for a supported reference: Employee or a Custom Object API name
1015
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
1016
+ */
1017
+ reference_object?: string | null;
1018
+ }
1019
+ /**
1020
+ * A discoverable field and its initial value and capabilities for the requested
1021
+ * flow.
1022
+ */
1023
+ interface DetailUnsupportedField {
1024
+ /**
1025
+ * Field key used by layout placements and canonical record PATCH changes. Direct
1026
+ * keys come from the Custom Object field definition; dotted related keys are
1027
+ * read-only.
1028
+ */
1029
+ api_name: string;
1030
+ /**
1031
+ * Field types whose values this endpoint does not currently represent. Edit
1032
+ * permission is evaluated independently of value representation.
1033
+ */
1034
+ data_type: 'ADDRESS' | 'REFERENCE_ID' | 'COORDINATE' | 'TIMESTAMPED_CURRENCY' | 'JSONB' | 'FILE';
1035
+ /**
1036
+ * Whether you can attempt to supply or change this field through the canonical
1037
+ * write API for the requested flow. This does not grant permission to browse
1038
+ * reference targets; submitted reference identifiers are validated when written.
1039
+ */
1040
+ editable: boolean;
1041
+ /**
1042
+ * Field display name.
1043
+ */
1044
+ label: string;
1045
+ /**
1046
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
1047
+ * and scalar references.
1048
+ */
1049
+ multiple: boolean;
1050
+ /**
1051
+ * Configured choice values; empty for non-choice fields.
1052
+ */
1053
+ options: Array<string>;
1054
+ /**
1055
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
1056
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1057
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1058
+ * value), DERIVED (calculated value), MASKED (restricted value),
1059
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1060
+ * by this requested flow).
1061
+ */
1062
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
1063
+ /**
1064
+ * Whether a nonempty value is required by the field schema.
1065
+ */
1066
+ required: boolean;
1067
+ /**
1068
+ * Always null. UNSUPPORTED withholds the value representation; MASKED takes
1069
+ * precedence for a restricted value. Neither state grants write permission.
1070
+ */
1071
+ value: null;
1072
+ /**
1073
+ * State of the value supplied for this requested flow: PRESENT for a readable
1074
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1075
+ * empty array; MASKED when access to the field or a referenced value is
1076
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1077
+ * UNSUPPORTED does not determine edit permission.
1078
+ */
1079
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1080
+ /**
1081
+ * Whether the field value supplied for this requested flow is readable. Create
1082
+ * responses describe only an authorized initial value and do not grant access to
1083
+ * any existing record. A referenced record may have separate access restrictions.
1084
+ */
1085
+ viewable: boolean;
1086
+ /**
1087
+ * Target name for a supported reference: Employee or a Custom Object API name
1088
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
1089
+ */
1090
+ reference_object?: string | null;
1091
+ }
1092
+ }
1093
+ export interface RecordDetailRelatedRecordListParams {
1094
+ /**
1095
+ * Custom Object API name, such as equipment\_\_c. Obtain it from the Custom Object
1096
+ * definition or the grid's configured object.
1097
+ */
1098
+ object_api_name: string;
1099
+ /**
1100
+ * Parent record identifier returned by the Custom Object record list or query
1101
+ * endpoint. It addresses the same record as the canonical record GET and PATCH
1102
+ * endpoints.
1103
+ */
1104
+ record_id: string;
1105
+ /**
1106
+ * Related-list section identifier from layout.tabs[].sections[] in the record
1107
+ * detail response. Pass it with that response's object, record, and layout
1108
+ * identifiers; the section identifier is scoped to the effective layout.
1109
+ */
1110
+ section_id: string;
1111
+ /**
1112
+ * Opaque continuation cursor with unchanged layout and parent.
1113
+ */
1114
+ cursor?: string;
1115
+ /**
1116
+ * Select the saved Custom Object page layout by API name. Omit to use default.
1117
+ * Keep the resolved layout.api_name from the detail response when loading related
1118
+ * sections.
1119
+ */
1120
+ layout_api_name?: string;
1121
+ /**
1122
+ * Maximum records per page (1–100); defaults to 25.
1123
+ */
1124
+ limit?: number;
1125
+ }
1126
+ export declare namespace RecordDetailRelatedRecords {
1127
+ export { type RecordDetailRelatedRecordListResponse as RecordDetailRelatedRecordListResponse, type RecordDetailRelatedRecordListResponsesPageCursorURL as RecordDetailRelatedRecordListResponsesPageCursorURL, type RecordDetailRelatedRecordListParams as RecordDetailRelatedRecordListParams, };
1128
+ }
1129
+ //# sourceMappingURL=record-detail-related-records.d.mts.map