@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,1457 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../core/resource';
4
+ import { PageCursorURL, PagePromise } from '../core/pagination';
5
+ import { RequestOptions } from '../internal/request-options';
6
+
7
+ /**
8
+ * Custom object datarows defined by the company
9
+ */
10
+ export class RecordDetailRelatedRecords extends APIResource {
11
+ /**
12
+ * Lists readable Custom Object records in a related-list section of the parent
13
+ * record's effective layout.
14
+ *
15
+ * Pass the parent identifiers and RELATED_LIST section id from the detail
16
+ * response. The server resolves the relationship and saved list fields; callers
17
+ * cannot substitute a relationship filter. Requires access to both the parent and
18
+ * target Custom Objects. A section removed or hidden by layout visibility is
19
+ * unavailable.
20
+ *
21
+ * @example HTTP
22
+ * Representative request and response shapes.
23
+ * ```
24
+ * 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
25
+ * Host: rest.ripplingapis.com
26
+ * Accept: application/json
27
+ * Rippling-Api-Version: 2024-08-01
28
+ *
29
+ * HTTP/1.1 200 OK
30
+ * Content-Type: application/json
31
+ *
32
+ * {
33
+ * "results": [
34
+ * {
35
+ * "id": "string",
36
+ * "object_api_name": "string",
37
+ * "fields": {}
38
+ * }
39
+ * ],
40
+ * "next_link": "string"
41
+ * }
42
+ * ```
43
+ */
44
+ list(
45
+ query: RecordDetailRelatedRecordListParams,
46
+ options?: RequestOptions,
47
+ ): PagePromise<RecordDetailRelatedRecordListResponsesPageCursorURL, RecordDetailRelatedRecordListResponse> {
48
+ return this._client.getAPIList(
49
+ '/record-detail-related-records/',
50
+ PageCursorURL<RecordDetailRelatedRecordListResponse>,
51
+ { query, ...options },
52
+ );
53
+ }
54
+ }
55
+
56
+ export type RecordDetailRelatedRecordListResponsesPageCursorURL =
57
+ PageCursorURL<RecordDetailRelatedRecordListResponse>;
58
+
59
+ /**
60
+ * A readable related Custom Object record with discoverable fields configured by a
61
+ * saved related-list section.
62
+ */
63
+ export interface RecordDetailRelatedRecordListResponse {
64
+ /**
65
+ * Stable identifier of a readable related record. Use it with object_api_name in
66
+ * the canonical record GET or record-details endpoint.
67
+ */
68
+ id: string;
69
+
70
+ /**
71
+ * Discoverable fields configured for this list. Unreadable fields retain metadata
72
+ * with a null, MASKED value.
73
+ */
74
+ fields: {
75
+ [key: string]:
76
+ | RecordDetailRelatedRecordListResponse.DetailTextField
77
+ | RecordDetailRelatedRecordListResponse.DetailNumberField
78
+ | RecordDetailRelatedRecordListResponse.DetailBooleanField
79
+ | RecordDetailRelatedRecordListResponse.DetailDateField
80
+ | RecordDetailRelatedRecordListResponse.DetailDateTimeField
81
+ | RecordDetailRelatedRecordListResponse.DetailCurrencyField
82
+ | RecordDetailRelatedRecordListResponse.DetailChoiceField
83
+ | RecordDetailRelatedRecordListResponse.DetailMultiChoiceField
84
+ | RecordDetailRelatedRecordListResponse.DetailReferenceField
85
+ | RecordDetailRelatedRecordListResponse.DetailNativeReferenceField
86
+ | RecordDetailRelatedRecordListResponse.DetailPercentageField
87
+ | RecordDetailRelatedRecordListResponse.DetailTimeField
88
+ | RecordDetailRelatedRecordListResponse.DetailUnsupportedField;
89
+ };
90
+
91
+ /**
92
+ * Related Custom Object API name.
93
+ */
94
+ object_api_name: string;
95
+ }
96
+
97
+ export namespace RecordDetailRelatedRecordListResponse {
98
+ /**
99
+ * A discoverable field and its initial value and capabilities for the requested
100
+ * flow.
101
+ */
102
+ export interface DetailTextField {
103
+ /**
104
+ * Field key used by layout placements and canonical record PATCH changes. Direct
105
+ * keys come from the Custom Object field definition; dotted related keys are
106
+ * read-only.
107
+ */
108
+ api_name: string;
109
+
110
+ /**
111
+ * TEXT and LONG_TEXT contain text; EMAIL, URL, and PHONE_NUMBER contain their
112
+ * respective textual values.
113
+ */
114
+ data_type: 'TEXT' | 'LONG_TEXT' | 'EMAIL' | 'URL' | 'PHONE_NUMBER';
115
+
116
+ /**
117
+ * Whether you can attempt to supply or change this field through the canonical
118
+ * write API for the requested flow. This does not grant permission to browse
119
+ * reference targets; submitted reference identifiers are validated when written.
120
+ */
121
+ editable: boolean;
122
+
123
+ /**
124
+ * Field display name.
125
+ */
126
+ label: string;
127
+
128
+ /**
129
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
130
+ * and scalar references.
131
+ */
132
+ multiple: boolean;
133
+
134
+ /**
135
+ * Configured choice values; empty for non-choice fields.
136
+ */
137
+ options: Array<string>;
138
+
139
+ /**
140
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
141
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
142
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
143
+ * value), DERIVED (calculated value), MASKED (restricted value),
144
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
145
+ * by this requested flow).
146
+ */
147
+ read_only_reason:
148
+ | 'PERMISSION_DENIED'
149
+ | 'RECORD_LOCKED'
150
+ | 'IMMUTABLE'
151
+ | 'MANAGED_WRITE_RESTRICTED'
152
+ | 'DERIVED'
153
+ | 'MASKED'
154
+ | 'REFERENCE_UNAVAILABLE'
155
+ | 'UNSUPPORTED'
156
+ | null;
157
+
158
+ /**
159
+ * Whether a nonempty value is required by the field schema.
160
+ */
161
+ required: boolean;
162
+
163
+ /**
164
+ * Readable text, including an empty string with value_state EMPTY; null when unset
165
+ * or masked.
166
+ */
167
+ value: string | null;
168
+
169
+ /**
170
+ * State of the value supplied for this requested flow: PRESENT for a readable
171
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
172
+ * empty array; MASKED when access to the field or a referenced value is
173
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
174
+ * UNSUPPORTED does not determine edit permission.
175
+ */
176
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
177
+
178
+ /**
179
+ * Whether the field value supplied for this requested flow is readable. Create
180
+ * responses describe only an authorized initial value and do not grant access to
181
+ * any existing record. A referenced record may have separate access restrictions.
182
+ */
183
+ viewable: boolean;
184
+
185
+ /**
186
+ * Maximum accepted characters, or null when unbounded.
187
+ */
188
+ max_length?: number | null;
189
+
190
+ /**
191
+ * Target name for a supported reference: Employee or a Custom Object API name
192
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
193
+ */
194
+ reference_object?: string | null;
195
+ }
196
+
197
+ /**
198
+ * A discoverable field and its initial value and capabilities for the requested
199
+ * flow.
200
+ */
201
+ export interface DetailNumberField {
202
+ /**
203
+ * Field key used by layout placements and canonical record PATCH changes. Direct
204
+ * keys come from the Custom Object field definition; dotted related keys are
205
+ * read-only.
206
+ */
207
+ api_name: string;
208
+
209
+ /**
210
+ * NUMBER contains a decimal quantity.
211
+ */
212
+ data_type: 'NUMBER';
213
+
214
+ /**
215
+ * Whether you can attempt to supply or change this field through the canonical
216
+ * write API for the requested flow. This does not grant permission to browse
217
+ * reference targets; submitted reference identifiers are validated when written.
218
+ */
219
+ editable: boolean;
220
+
221
+ /**
222
+ * Field display name.
223
+ */
224
+ label: string;
225
+
226
+ /**
227
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
228
+ * and scalar references.
229
+ */
230
+ multiple: boolean;
231
+
232
+ /**
233
+ * Configured choice values; empty for non-choice fields.
234
+ */
235
+ options: Array<string>;
236
+
237
+ /**
238
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
239
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
240
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
241
+ * value), DERIVED (calculated value), MASKED (restricted value),
242
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
243
+ * by this requested flow).
244
+ */
245
+ read_only_reason:
246
+ | 'PERMISSION_DENIED'
247
+ | 'RECORD_LOCKED'
248
+ | 'IMMUTABLE'
249
+ | 'MANAGED_WRITE_RESTRICTED'
250
+ | 'DERIVED'
251
+ | 'MASKED'
252
+ | 'REFERENCE_UNAVAILABLE'
253
+ | 'UNSUPPORTED'
254
+ | null;
255
+
256
+ /**
257
+ * Whether a nonempty value is required by the field schema.
258
+ */
259
+ required: boolean;
260
+
261
+ /**
262
+ * Decimal quantity encoded as a string to preserve precision, for example 12.50.
263
+ * Units follow the configured field's meaning. Null unless value_state is PRESENT.
264
+ */
265
+ value: string | null;
266
+
267
+ /**
268
+ * State of the value supplied for this requested flow: PRESENT for a readable
269
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
270
+ * empty array; MASKED when access to the field or a referenced value is
271
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
272
+ * UNSUPPORTED does not determine edit permission.
273
+ */
274
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
275
+
276
+ /**
277
+ * Whether the field value supplied for this requested flow is readable. Create
278
+ * responses describe only an authorized initial value and do not grant access to
279
+ * any existing record. A referenced record may have separate access restrictions.
280
+ */
281
+ viewable: boolean;
282
+
283
+ /**
284
+ * Configured decimal places, or null.
285
+ */
286
+ num_of_decimal_places?: number | null;
287
+
288
+ /**
289
+ * Target name for a supported reference: Employee or a Custom Object API name
290
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
291
+ */
292
+ reference_object?: string | null;
293
+ }
294
+
295
+ /**
296
+ * A discoverable field and its initial value and capabilities for the requested
297
+ * flow.
298
+ */
299
+ export interface DetailBooleanField {
300
+ /**
301
+ * Field key used by layout placements and canonical record PATCH changes. Direct
302
+ * keys come from the Custom Object field definition; dotted related keys are
303
+ * read-only.
304
+ */
305
+ api_name: string;
306
+
307
+ /**
308
+ * BOOLEAN contains true or false.
309
+ */
310
+ data_type: 'BOOLEAN';
311
+
312
+ /**
313
+ * Whether you can attempt to supply or change this field through the canonical
314
+ * write API for the requested flow. This does not grant permission to browse
315
+ * reference targets; submitted reference identifiers are validated when written.
316
+ */
317
+ editable: boolean;
318
+
319
+ /**
320
+ * Field display name.
321
+ */
322
+ label: string;
323
+
324
+ /**
325
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
326
+ * and scalar references.
327
+ */
328
+ multiple: boolean;
329
+
330
+ /**
331
+ * Configured choice values; empty for non-choice fields.
332
+ */
333
+ options: Array<string>;
334
+
335
+ /**
336
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
337
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
338
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
339
+ * value), DERIVED (calculated value), MASKED (restricted value),
340
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
341
+ * by this requested flow).
342
+ */
343
+ read_only_reason:
344
+ | 'PERMISSION_DENIED'
345
+ | 'RECORD_LOCKED'
346
+ | 'IMMUTABLE'
347
+ | 'MANAGED_WRITE_RESTRICTED'
348
+ | 'DERIVED'
349
+ | 'MASKED'
350
+ | 'REFERENCE_UNAVAILABLE'
351
+ | 'UNSUPPORTED'
352
+ | null;
353
+
354
+ /**
355
+ * Whether a nonempty value is required by the field schema.
356
+ */
357
+ required: boolean;
358
+
359
+ /**
360
+ * Whether the configured condition is true; null unless value_state is PRESENT.
361
+ */
362
+ value: boolean | null;
363
+
364
+ /**
365
+ * State of the value supplied for this requested flow: PRESENT for a readable
366
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
367
+ * empty array; MASKED when access to the field or a referenced value is
368
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
369
+ * UNSUPPORTED does not determine edit permission.
370
+ */
371
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
372
+
373
+ /**
374
+ * Whether the field value supplied for this requested flow is readable. Create
375
+ * responses describe only an authorized initial value and do not grant access to
376
+ * any existing record. A referenced record may have separate access restrictions.
377
+ */
378
+ viewable: boolean;
379
+
380
+ /**
381
+ * Target name for a supported reference: Employee or a Custom Object API name
382
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
383
+ */
384
+ reference_object?: string | null;
385
+ }
386
+
387
+ /**
388
+ * A discoverable field and its initial value and capabilities for the requested
389
+ * flow.
390
+ */
391
+ export interface DetailDateField {
392
+ /**
393
+ * Field key used by layout placements and canonical record PATCH changes. Direct
394
+ * keys come from the Custom Object field definition; dotted related keys are
395
+ * read-only.
396
+ */
397
+ api_name: string;
398
+
399
+ /**
400
+ * DATE contains a calendar date without a time or timezone.
401
+ */
402
+ data_type: 'DATE';
403
+
404
+ /**
405
+ * Whether you can attempt to supply or change this field through the canonical
406
+ * write API for the requested flow. This does not grant permission to browse
407
+ * reference targets; submitted reference identifiers are validated when written.
408
+ */
409
+ editable: boolean;
410
+
411
+ /**
412
+ * Field display name.
413
+ */
414
+ label: string;
415
+
416
+ /**
417
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
418
+ * and scalar references.
419
+ */
420
+ multiple: boolean;
421
+
422
+ /**
423
+ * Configured choice values; empty for non-choice fields.
424
+ */
425
+ options: Array<string>;
426
+
427
+ /**
428
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
429
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
430
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
431
+ * value), DERIVED (calculated value), MASKED (restricted value),
432
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
433
+ * by this requested flow).
434
+ */
435
+ read_only_reason:
436
+ | 'PERMISSION_DENIED'
437
+ | 'RECORD_LOCKED'
438
+ | 'IMMUTABLE'
439
+ | 'MANAGED_WRITE_RESTRICTED'
440
+ | 'DERIVED'
441
+ | 'MASKED'
442
+ | 'REFERENCE_UNAVAILABLE'
443
+ | 'UNSUPPORTED'
444
+ | null;
445
+
446
+ /**
447
+ * Whether a nonempty value is required by the field schema.
448
+ */
449
+ required: boolean;
450
+
451
+ /**
452
+ * Calendar date in YYYY-MM-DD format, for example 2026-10-24; null unless
453
+ * value_state is PRESENT.
454
+ */
455
+ value: string | null;
456
+
457
+ /**
458
+ * State of the value supplied for this requested flow: PRESENT for a readable
459
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
460
+ * empty array; MASKED when access to the field or a referenced value is
461
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
462
+ * UNSUPPORTED does not determine edit permission.
463
+ */
464
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
465
+
466
+ /**
467
+ * Whether the field value supplied for this requested flow is readable. Create
468
+ * responses describe only an authorized initial value and do not grant access to
469
+ * any existing record. A referenced record may have separate access restrictions.
470
+ */
471
+ viewable: boolean;
472
+
473
+ /**
474
+ * Target name for a supported reference: Employee or a Custom Object API name
475
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
476
+ */
477
+ reference_object?: string | null;
478
+ }
479
+
480
+ /**
481
+ * A discoverable field and its initial value and capabilities for the requested
482
+ * flow.
483
+ */
484
+ export interface DetailDateTimeField {
485
+ /**
486
+ * Field key used by layout placements and canonical record PATCH changes. Direct
487
+ * keys come from the Custom Object field definition; dotted related keys are
488
+ * read-only.
489
+ */
490
+ api_name: string;
491
+
492
+ /**
493
+ * DATETIME contains an instant with a timezone.
494
+ */
495
+ data_type: 'DATETIME';
496
+
497
+ /**
498
+ * Whether you can attempt to supply or change this field through the canonical
499
+ * write API for the requested flow. This does not grant permission to browse
500
+ * reference targets; submitted reference identifiers are validated when written.
501
+ */
502
+ editable: boolean;
503
+
504
+ /**
505
+ * Field display name.
506
+ */
507
+ label: string;
508
+
509
+ /**
510
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
511
+ * and scalar references.
512
+ */
513
+ multiple: boolean;
514
+
515
+ /**
516
+ * Configured choice values; empty for non-choice fields.
517
+ */
518
+ options: Array<string>;
519
+
520
+ /**
521
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
522
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
523
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
524
+ * value), DERIVED (calculated value), MASKED (restricted value),
525
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
526
+ * by this requested flow).
527
+ */
528
+ read_only_reason:
529
+ | 'PERMISSION_DENIED'
530
+ | 'RECORD_LOCKED'
531
+ | 'IMMUTABLE'
532
+ | 'MANAGED_WRITE_RESTRICTED'
533
+ | 'DERIVED'
534
+ | 'MASKED'
535
+ | 'REFERENCE_UNAVAILABLE'
536
+ | 'UNSUPPORTED'
537
+ | null;
538
+
539
+ /**
540
+ * Whether a nonempty value is required by the field schema.
541
+ */
542
+ required: boolean;
543
+
544
+ /**
545
+ * ISO 8601 timestamp with timezone and up to millisecond precision, matching
546
+ * native record JSON responses; null unless value_state is PRESENT. System audit
547
+ * timestamps are immutable.
548
+ */
549
+ value: string | null;
550
+
551
+ /**
552
+ * State of the value supplied for this requested flow: PRESENT for a readable
553
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
554
+ * empty array; MASKED when access to the field or a referenced value is
555
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
556
+ * UNSUPPORTED does not determine edit permission.
557
+ */
558
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
559
+
560
+ /**
561
+ * Whether the field value supplied for this requested flow is readable. Create
562
+ * responses describe only an authorized initial value and do not grant access to
563
+ * any existing record. A referenced record may have separate access restrictions.
564
+ */
565
+ viewable: boolean;
566
+
567
+ /**
568
+ * Target name for a supported reference: Employee or a Custom Object API name
569
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
570
+ */
571
+ reference_object?: string | null;
572
+ }
573
+
574
+ /**
575
+ * A discoverable field and its initial value and capabilities for the requested
576
+ * flow.
577
+ */
578
+ export interface DetailCurrencyField {
579
+ /**
580
+ * Field key used by layout placements and canonical record PATCH changes. Direct
581
+ * keys come from the Custom Object field definition; dotted related keys are
582
+ * read-only.
583
+ */
584
+ api_name: string;
585
+
586
+ /**
587
+ * CURRENCY contains a monetary amount and its currency.
588
+ */
589
+ data_type: 'CURRENCY';
590
+
591
+ /**
592
+ * Whether you can attempt to supply or change this field through the canonical
593
+ * write API for the requested flow. This does not grant permission to browse
594
+ * reference targets; submitted reference identifiers are validated when written.
595
+ */
596
+ editable: boolean;
597
+
598
+ /**
599
+ * Field display name.
600
+ */
601
+ label: string;
602
+
603
+ /**
604
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
605
+ * and scalar references.
606
+ */
607
+ multiple: boolean;
608
+
609
+ /**
610
+ * Configured choice values; empty for non-choice fields.
611
+ */
612
+ options: Array<string>;
613
+
614
+ /**
615
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
616
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
617
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
618
+ * value), DERIVED (calculated value), MASKED (restricted value),
619
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
620
+ * by this requested flow).
621
+ */
622
+ read_only_reason:
623
+ | 'PERMISSION_DENIED'
624
+ | 'RECORD_LOCKED'
625
+ | 'IMMUTABLE'
626
+ | 'MANAGED_WRITE_RESTRICTED'
627
+ | 'DERIVED'
628
+ | 'MASKED'
629
+ | 'REFERENCE_UNAVAILABLE'
630
+ | 'UNSUPPORTED'
631
+ | null;
632
+
633
+ /**
634
+ * Whether a nonempty value is required by the field schema.
635
+ */
636
+ required: boolean;
637
+
638
+ /**
639
+ * Currency object with an ISO 4217 currency_type and decimal-string value, for
640
+ * example {"currency_type": "USD", "value": "25.00"}. The amount is in currency
641
+ * units, not cents. Null unless value_state is PRESENT.
642
+ */
643
+ value: DetailCurrencyField.RecordDetailCurrency | null;
644
+
645
+ /**
646
+ * State of the value supplied for this requested flow: PRESENT for a readable
647
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
648
+ * empty array; MASKED when access to the field or a referenced value is
649
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
650
+ * UNSUPPORTED does not determine edit permission.
651
+ */
652
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
653
+
654
+ /**
655
+ * Whether the field value supplied for this requested flow is readable. Create
656
+ * responses describe only an authorized initial value and do not grant access to
657
+ * any existing record. A referenced record may have separate access restrictions.
658
+ */
659
+ viewable: boolean;
660
+
661
+ /**
662
+ * Configured ISO 4217 currency code, or null when dynamic.
663
+ */
664
+ currency?: string | null;
665
+
666
+ /**
667
+ * Configured decimal places, or null.
668
+ */
669
+ num_of_decimal_places?: number | null;
670
+
671
+ /**
672
+ * Target name for a supported reference: Employee or a Custom Object API name
673
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
674
+ */
675
+ reference_object?: string | null;
676
+ }
677
+
678
+ export namespace DetailCurrencyField {
679
+ /**
680
+ * Platform Currency serialized with a decimal string amount to preserve precision.
681
+ */
682
+ export interface RecordDetailCurrency {
683
+ /**
684
+ * ISO 4217 currency code, for example USD or EUR.
685
+ */
686
+ currency_type: string;
687
+
688
+ /**
689
+ * Decimal monetary amount in currency units, for example 25.00; not integer cents.
690
+ */
691
+ value: string;
692
+ }
693
+ }
694
+
695
+ /**
696
+ * A discoverable field and its initial value and capabilities for the requested
697
+ * flow.
698
+ */
699
+ export interface DetailChoiceField {
700
+ /**
701
+ * Field key used by layout placements and canonical record PATCH changes. Direct
702
+ * keys come from the Custom Object field definition; dotted related keys are
703
+ * read-only.
704
+ */
705
+ api_name: string;
706
+
707
+ /**
708
+ * RADIO contains one configured choice.
709
+ */
710
+ data_type: 'RADIO';
711
+
712
+ /**
713
+ * Whether you can attempt to supply or change this field through the canonical
714
+ * write API for the requested flow. This does not grant permission to browse
715
+ * reference targets; submitted reference identifiers are validated when written.
716
+ */
717
+ editable: boolean;
718
+
719
+ /**
720
+ * Field display name.
721
+ */
722
+ label: string;
723
+
724
+ /**
725
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
726
+ * and scalar references.
727
+ */
728
+ multiple: boolean;
729
+
730
+ /**
731
+ * Configured choice values; empty for non-choice fields.
732
+ */
733
+ options: Array<string>;
734
+
735
+ /**
736
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
737
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
738
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
739
+ * value), DERIVED (calculated value), MASKED (restricted value),
740
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
741
+ * by this requested flow).
742
+ */
743
+ read_only_reason:
744
+ | 'PERMISSION_DENIED'
745
+ | 'RECORD_LOCKED'
746
+ | 'IMMUTABLE'
747
+ | 'MANAGED_WRITE_RESTRICTED'
748
+ | 'DERIVED'
749
+ | 'MASKED'
750
+ | 'REFERENCE_UNAVAILABLE'
751
+ | 'UNSUPPORTED'
752
+ | null;
753
+
754
+ /**
755
+ * Whether a nonempty value is required by the field schema.
756
+ */
757
+ required: boolean;
758
+
759
+ /**
760
+ * One value from options, or an empty string with value_state EMPTY; null when
761
+ * unset or masked.
762
+ */
763
+ value: string | null;
764
+
765
+ /**
766
+ * State of the value supplied for this requested flow: PRESENT for a readable
767
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
768
+ * empty array; MASKED when access to the field or a referenced value is
769
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
770
+ * UNSUPPORTED does not determine edit permission.
771
+ */
772
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
773
+
774
+ /**
775
+ * Whether the field value supplied for this requested flow is readable. Create
776
+ * responses describe only an authorized initial value and do not grant access to
777
+ * any existing record. A referenced record may have separate access restrictions.
778
+ */
779
+ viewable: boolean;
780
+
781
+ /**
782
+ * Target name for a supported reference: Employee or a Custom Object API name
783
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
784
+ */
785
+ reference_object?: string | null;
786
+ }
787
+
788
+ /**
789
+ * A discoverable field and its initial value and capabilities for the requested
790
+ * flow.
791
+ */
792
+ export interface DetailMultiChoiceField {
793
+ /**
794
+ * Field key used by layout placements and canonical record PATCH changes. Direct
795
+ * keys come from the Custom Object field definition; dotted related keys are
796
+ * read-only.
797
+ */
798
+ api_name: string;
799
+
800
+ /**
801
+ * SELECT contains zero or more configured choices.
802
+ */
803
+ data_type: 'SELECT';
804
+
805
+ /**
806
+ * Whether you can attempt to supply or change this field through the canonical
807
+ * write API for the requested flow. This does not grant permission to browse
808
+ * reference targets; submitted reference identifiers are validated when written.
809
+ */
810
+ editable: boolean;
811
+
812
+ /**
813
+ * Field display name.
814
+ */
815
+ label: string;
816
+
817
+ /**
818
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
819
+ * and scalar references.
820
+ */
821
+ multiple: boolean;
822
+
823
+ /**
824
+ * Configured choice values; empty for non-choice fields.
825
+ */
826
+ options: Array<string>;
827
+
828
+ /**
829
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
830
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
831
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
832
+ * value), DERIVED (calculated value), MASKED (restricted value),
833
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
834
+ * by this requested flow).
835
+ */
836
+ read_only_reason:
837
+ | 'PERMISSION_DENIED'
838
+ | 'RECORD_LOCKED'
839
+ | 'IMMUTABLE'
840
+ | 'MANAGED_WRITE_RESTRICTED'
841
+ | 'DERIVED'
842
+ | 'MASKED'
843
+ | 'REFERENCE_UNAVAILABLE'
844
+ | 'UNSUPPORTED'
845
+ | null;
846
+
847
+ /**
848
+ * Whether a nonempty value is required by the field schema.
849
+ */
850
+ required: boolean;
851
+
852
+ /**
853
+ * Selected values from options. An empty selection is [] with value_state EMPTY;
854
+ * null when unset or masked.
855
+ */
856
+ value: Array<string> | null;
857
+
858
+ /**
859
+ * State of the value supplied for this requested flow: PRESENT for a readable
860
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
861
+ * empty array; MASKED when access to the field or a referenced value is
862
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
863
+ * UNSUPPORTED does not determine edit permission.
864
+ */
865
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
866
+
867
+ /**
868
+ * Whether the field value supplied for this requested flow is readable. Create
869
+ * responses describe only an authorized initial value and do not grant access to
870
+ * any existing record. A referenced record may have separate access restrictions.
871
+ */
872
+ viewable: boolean;
873
+
874
+ /**
875
+ * Target name for a supported reference: Employee or a Custom Object API name
876
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
877
+ */
878
+ reference_object?: string | null;
879
+ }
880
+
881
+ /**
882
+ * A discoverable field and its initial value and capabilities for the requested
883
+ * flow.
884
+ */
885
+ export interface DetailReferenceField {
886
+ /**
887
+ * Field key used by layout placements and canonical record PATCH changes. Direct
888
+ * keys come from the Custom Object field definition; dotted related keys are
889
+ * read-only.
890
+ */
891
+ api_name: string;
892
+
893
+ /**
894
+ * OG_REFERENCE_FIELD identifies a reference to the object named by
895
+ * reference_object, including owner_role, created_by, and last_modified_by fields.
896
+ */
897
+ data_type: 'OG_REFERENCE_FIELD';
898
+
899
+ /**
900
+ * Whether you can attempt to supply or change this field through the canonical
901
+ * write API for the requested flow. This does not grant permission to browse
902
+ * reference targets; submitted reference identifiers are validated when written.
903
+ */
904
+ editable: boolean;
905
+
906
+ /**
907
+ * Field display name.
908
+ */
909
+ label: string;
910
+
911
+ /**
912
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
913
+ * and scalar references.
914
+ */
915
+ multiple: boolean;
916
+
917
+ /**
918
+ * Configured choice values; empty for non-choice fields.
919
+ */
920
+ options: Array<string>;
921
+
922
+ /**
923
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
924
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
925
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
926
+ * value), DERIVED (calculated value), MASKED (restricted value),
927
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
928
+ * by this requested flow).
929
+ */
930
+ read_only_reason:
931
+ | 'PERMISSION_DENIED'
932
+ | 'RECORD_LOCKED'
933
+ | 'IMMUTABLE'
934
+ | 'MANAGED_WRITE_RESTRICTED'
935
+ | 'DERIVED'
936
+ | 'MASKED'
937
+ | 'REFERENCE_UNAVAILABLE'
938
+ | 'UNSUPPORTED'
939
+ | null;
940
+
941
+ /**
942
+ * Whether a nonempty value is required by the field schema.
943
+ */
944
+ required: boolean;
945
+
946
+ /**
947
+ * Selected record identifier in the reference_object target; null when empty or
948
+ * masked. Use the Workers GET endpoint for Employee targets, or the Custom Object
949
+ * record GET endpoint for Custom Object targets.
950
+ */
951
+ value: string | null;
952
+
953
+ /**
954
+ * State of the value supplied for this requested flow: PRESENT for a readable
955
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
956
+ * empty array; MASKED when access to the field or a referenced value is
957
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
958
+ * UNSUPPORTED does not determine edit permission.
959
+ */
960
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
961
+
962
+ /**
963
+ * Whether the field value supplied for this requested flow is readable. Create
964
+ * responses describe only an authorized initial value and do not grant access to
965
+ * any existing record. A referenced record may have separate access restrictions.
966
+ */
967
+ viewable: boolean;
968
+
969
+ /**
970
+ * Permitted presentation of the selection, or null when unavailable. Empty and
971
+ * masked references have no presentation.
972
+ */
973
+ display?: DetailReferenceField.ReferenceDisplay | null;
974
+
975
+ /**
976
+ * Target name for a supported reference: Employee or a Custom Object API name
977
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
978
+ */
979
+ reference_object?: string | null;
980
+ }
981
+
982
+ export namespace DetailReferenceField {
983
+ /**
984
+ * Optional presentation of a readable reference, independent of its identifier.
985
+ */
986
+ export interface ReferenceDisplay {
987
+ /**
988
+ * Permitted display label; never synthesized from the identifier.
989
+ */
990
+ label: string;
991
+
992
+ /**
993
+ * Permitted image URL, or null when unavailable.
994
+ */
995
+ image_url?: string | null;
996
+
997
+ /**
998
+ * Permitted secondary text, or null when unavailable.
999
+ */
1000
+ secondary_label?: string | null;
1001
+ }
1002
+ }
1003
+
1004
+ /**
1005
+ * A discoverable field and its initial value and capabilities for the requested
1006
+ * flow.
1007
+ */
1008
+ export interface DetailNativeReferenceField {
1009
+ /**
1010
+ * Field key used by layout placements and canonical record PATCH changes. Direct
1011
+ * keys come from the Custom Object field definition; dotted related keys are
1012
+ * read-only.
1013
+ */
1014
+ api_name: string;
1015
+
1016
+ /**
1017
+ * NATIVE_EDGE identifies a relationship using the same selected identifier and
1018
+ * optional presentation contract.
1019
+ */
1020
+ data_type: 'NATIVE_EDGE';
1021
+
1022
+ /**
1023
+ * Whether you can attempt to supply or change this field through the canonical
1024
+ * write API for the requested flow. This does not grant permission to browse
1025
+ * reference targets; submitted reference identifiers are validated when written.
1026
+ */
1027
+ editable: boolean;
1028
+
1029
+ /**
1030
+ * Field display name.
1031
+ */
1032
+ label: string;
1033
+
1034
+ /**
1035
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
1036
+ * and scalar references.
1037
+ */
1038
+ multiple: boolean;
1039
+
1040
+ /**
1041
+ * Configured choice values; empty for non-choice fields.
1042
+ */
1043
+ options: Array<string>;
1044
+
1045
+ /**
1046
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
1047
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1048
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1049
+ * value), DERIVED (calculated value), MASKED (restricted value),
1050
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1051
+ * by this requested flow).
1052
+ */
1053
+ read_only_reason:
1054
+ | 'PERMISSION_DENIED'
1055
+ | 'RECORD_LOCKED'
1056
+ | 'IMMUTABLE'
1057
+ | 'MANAGED_WRITE_RESTRICTED'
1058
+ | 'DERIVED'
1059
+ | 'MASKED'
1060
+ | 'REFERENCE_UNAVAILABLE'
1061
+ | 'UNSUPPORTED'
1062
+ | null;
1063
+
1064
+ /**
1065
+ * Whether a nonempty value is required by the field schema.
1066
+ */
1067
+ required: boolean;
1068
+
1069
+ /**
1070
+ * Selected record identifier in the reference_object target; null when empty or
1071
+ * masked. Use the Workers GET endpoint for Employee targets, or the Custom Object
1072
+ * record GET endpoint for Custom Object targets.
1073
+ */
1074
+ value: string | null;
1075
+
1076
+ /**
1077
+ * State of the value supplied for this requested flow: PRESENT for a readable
1078
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1079
+ * empty array; MASKED when access to the field or a referenced value is
1080
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1081
+ * UNSUPPORTED does not determine edit permission.
1082
+ */
1083
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1084
+
1085
+ /**
1086
+ * Whether the field value supplied for this requested flow is readable. Create
1087
+ * responses describe only an authorized initial value and do not grant access to
1088
+ * any existing record. A referenced record may have separate access restrictions.
1089
+ */
1090
+ viewable: boolean;
1091
+
1092
+ /**
1093
+ * Permitted presentation of the selection, or null when unavailable. Empty and
1094
+ * masked references have no presentation.
1095
+ */
1096
+ display?: DetailNativeReferenceField.ReferenceDisplay | null;
1097
+
1098
+ /**
1099
+ * Target name for a supported reference: Employee or a Custom Object API name
1100
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
1101
+ */
1102
+ reference_object?: string | null;
1103
+ }
1104
+
1105
+ export namespace DetailNativeReferenceField {
1106
+ /**
1107
+ * Optional presentation of a readable reference, independent of its identifier.
1108
+ */
1109
+ export interface ReferenceDisplay {
1110
+ /**
1111
+ * Permitted display label; never synthesized from the identifier.
1112
+ */
1113
+ label: string;
1114
+
1115
+ /**
1116
+ * Permitted image URL, or null when unavailable.
1117
+ */
1118
+ image_url?: string | null;
1119
+
1120
+ /**
1121
+ * Permitted secondary text, or null when unavailable.
1122
+ */
1123
+ secondary_label?: string | null;
1124
+ }
1125
+ }
1126
+
1127
+ /**
1128
+ * A discoverable field and its initial value and capabilities for the requested
1129
+ * flow.
1130
+ */
1131
+ export interface DetailPercentageField {
1132
+ /**
1133
+ * Field key used by layout placements and canonical record PATCH changes. Direct
1134
+ * keys come from the Custom Object field definition; dotted related keys are
1135
+ * read-only.
1136
+ */
1137
+ api_name: string;
1138
+
1139
+ /**
1140
+ * PERCENTAGE contains a decimal ratio, where 1 means 100%.
1141
+ */
1142
+ data_type: 'PERCENTAGE';
1143
+
1144
+ /**
1145
+ * Whether you can attempt to supply or change this field through the canonical
1146
+ * write API for the requested flow. This does not grant permission to browse
1147
+ * reference targets; submitted reference identifiers are validated when written.
1148
+ */
1149
+ editable: boolean;
1150
+
1151
+ /**
1152
+ * Field display name.
1153
+ */
1154
+ label: string;
1155
+
1156
+ /**
1157
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
1158
+ * and scalar references.
1159
+ */
1160
+ multiple: boolean;
1161
+
1162
+ /**
1163
+ * Configured choice values; empty for non-choice fields.
1164
+ */
1165
+ options: Array<string>;
1166
+
1167
+ /**
1168
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
1169
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1170
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1171
+ * value), DERIVED (calculated value), MASKED (restricted value),
1172
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1173
+ * by this requested flow).
1174
+ */
1175
+ read_only_reason:
1176
+ | 'PERMISSION_DENIED'
1177
+ | 'RECORD_LOCKED'
1178
+ | 'IMMUTABLE'
1179
+ | 'MANAGED_WRITE_RESTRICTED'
1180
+ | 'DERIVED'
1181
+ | 'MASKED'
1182
+ | 'REFERENCE_UNAVAILABLE'
1183
+ | 'UNSUPPORTED'
1184
+ | null;
1185
+
1186
+ /**
1187
+ * Whether a nonempty value is required by the field schema.
1188
+ */
1189
+ required: boolean;
1190
+
1191
+ /**
1192
+ * JSON number containing a decimal ratio without a percent sign: 0, 0.3, 1 and 1.5
1193
+ * mean 0%, 30%, 100% and 150%. Null unless PRESENT.
1194
+ */
1195
+ value: number | null;
1196
+
1197
+ /**
1198
+ * State of the value supplied for this requested flow: PRESENT for a readable
1199
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1200
+ * empty array; MASKED when access to the field or a referenced value is
1201
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1202
+ * UNSUPPORTED does not determine edit permission.
1203
+ */
1204
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1205
+
1206
+ /**
1207
+ * Whether the field value supplied for this requested flow is readable. Create
1208
+ * responses describe only an authorized initial value and do not grant access to
1209
+ * any existing record. A referenced record may have separate access restrictions.
1210
+ */
1211
+ viewable: boolean;
1212
+
1213
+ /**
1214
+ * Configured decimal places, or null.
1215
+ */
1216
+ num_of_decimal_places?: number | null;
1217
+
1218
+ /**
1219
+ * Target name for a supported reference: Employee or a Custom Object API name
1220
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
1221
+ */
1222
+ reference_object?: string | null;
1223
+ }
1224
+
1225
+ /**
1226
+ * A discoverable field and its initial value and capabilities for the requested
1227
+ * flow.
1228
+ */
1229
+ export interface DetailTimeField {
1230
+ /**
1231
+ * Field key used by layout placements and canonical record PATCH changes. Direct
1232
+ * keys come from the Custom Object field definition; dotted related keys are
1233
+ * read-only.
1234
+ */
1235
+ api_name: string;
1236
+
1237
+ /**
1238
+ * TIME contains a time of day.
1239
+ */
1240
+ data_type: 'TIME';
1241
+
1242
+ /**
1243
+ * Whether you can attempt to supply or change this field through the canonical
1244
+ * write API for the requested flow. This does not grant permission to browse
1245
+ * reference targets; submitted reference identifiers are validated when written.
1246
+ */
1247
+ editable: boolean;
1248
+
1249
+ /**
1250
+ * Field display name.
1251
+ */
1252
+ label: string;
1253
+
1254
+ /**
1255
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
1256
+ * and scalar references.
1257
+ */
1258
+ multiple: boolean;
1259
+
1260
+ /**
1261
+ * Configured choice values; empty for non-choice fields.
1262
+ */
1263
+ options: Array<string>;
1264
+
1265
+ /**
1266
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
1267
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1268
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1269
+ * value), DERIVED (calculated value), MASKED (restricted value),
1270
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1271
+ * by this requested flow).
1272
+ */
1273
+ read_only_reason:
1274
+ | 'PERMISSION_DENIED'
1275
+ | 'RECORD_LOCKED'
1276
+ | 'IMMUTABLE'
1277
+ | 'MANAGED_WRITE_RESTRICTED'
1278
+ | 'DERIVED'
1279
+ | 'MASKED'
1280
+ | 'REFERENCE_UNAVAILABLE'
1281
+ | 'UNSUPPORTED'
1282
+ | null;
1283
+
1284
+ /**
1285
+ * Whether a nonempty value is required by the field schema.
1286
+ */
1287
+ required: boolean;
1288
+
1289
+ /**
1290
+ * Time of day in HH:MM:SS format; null unless PRESENT.
1291
+ */
1292
+ value: string | null;
1293
+
1294
+ /**
1295
+ * State of the value supplied for this requested flow: PRESENT for a readable
1296
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1297
+ * empty array; MASKED when access to the field or a referenced value is
1298
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1299
+ * UNSUPPORTED does not determine edit permission.
1300
+ */
1301
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1302
+
1303
+ /**
1304
+ * Whether the field value supplied for this requested flow is readable. Create
1305
+ * responses describe only an authorized initial value and do not grant access to
1306
+ * any existing record. A referenced record may have separate access restrictions.
1307
+ */
1308
+ viewable: boolean;
1309
+
1310
+ /**
1311
+ * Target name for a supported reference: Employee or a Custom Object API name
1312
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
1313
+ */
1314
+ reference_object?: string | null;
1315
+ }
1316
+
1317
+ /**
1318
+ * A discoverable field and its initial value and capabilities for the requested
1319
+ * flow.
1320
+ */
1321
+ export interface DetailUnsupportedField {
1322
+ /**
1323
+ * Field key used by layout placements and canonical record PATCH changes. Direct
1324
+ * keys come from the Custom Object field definition; dotted related keys are
1325
+ * read-only.
1326
+ */
1327
+ api_name: string;
1328
+
1329
+ /**
1330
+ * Field types whose values this endpoint does not currently represent. Edit
1331
+ * permission is evaluated independently of value representation.
1332
+ */
1333
+ data_type: 'ADDRESS' | 'REFERENCE_ID' | 'COORDINATE' | 'TIMESTAMPED_CURRENCY' | 'JSONB' | 'FILE';
1334
+
1335
+ /**
1336
+ * Whether you can attempt to supply or change this field through the canonical
1337
+ * write API for the requested flow. This does not grant permission to browse
1338
+ * reference targets; submitted reference identifiers are validated when written.
1339
+ */
1340
+ editable: boolean;
1341
+
1342
+ /**
1343
+ * Field display name.
1344
+ */
1345
+ label: string;
1346
+
1347
+ /**
1348
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
1349
+ * and scalar references.
1350
+ */
1351
+ multiple: boolean;
1352
+
1353
+ /**
1354
+ * Configured choice values; empty for non-choice fields.
1355
+ */
1356
+ options: Array<string>;
1357
+
1358
+ /**
1359
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
1360
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1361
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1362
+ * value), DERIVED (calculated value), MASKED (restricted value),
1363
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1364
+ * by this requested flow).
1365
+ */
1366
+ read_only_reason:
1367
+ | 'PERMISSION_DENIED'
1368
+ | 'RECORD_LOCKED'
1369
+ | 'IMMUTABLE'
1370
+ | 'MANAGED_WRITE_RESTRICTED'
1371
+ | 'DERIVED'
1372
+ | 'MASKED'
1373
+ | 'REFERENCE_UNAVAILABLE'
1374
+ | 'UNSUPPORTED'
1375
+ | null;
1376
+
1377
+ /**
1378
+ * Whether a nonempty value is required by the field schema.
1379
+ */
1380
+ required: boolean;
1381
+
1382
+ /**
1383
+ * Always null. UNSUPPORTED withholds the value representation; MASKED takes
1384
+ * precedence for a restricted value. Neither state grants write permission.
1385
+ */
1386
+ value: null;
1387
+
1388
+ /**
1389
+ * State of the value supplied for this requested flow: PRESENT for a readable
1390
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1391
+ * empty array; MASKED when access to the field or a referenced value is
1392
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1393
+ * UNSUPPORTED does not determine edit permission.
1394
+ */
1395
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1396
+
1397
+ /**
1398
+ * Whether the field value supplied for this requested flow is readable. Create
1399
+ * responses describe only an authorized initial value and do not grant access to
1400
+ * any existing record. A referenced record may have separate access restrictions.
1401
+ */
1402
+ viewable: boolean;
1403
+
1404
+ /**
1405
+ * Target name for a supported reference: Employee or a Custom Object API name
1406
+ * ending in \_\_c. Null for other fields and unsupported reference targets.
1407
+ */
1408
+ reference_object?: string | null;
1409
+ }
1410
+ }
1411
+
1412
+ export interface RecordDetailRelatedRecordListParams {
1413
+ /**
1414
+ * Custom Object API name, such as equipment\_\_c. Obtain it from the Custom Object
1415
+ * definition or the grid's configured object.
1416
+ */
1417
+ object_api_name: string;
1418
+
1419
+ /**
1420
+ * Parent record identifier returned by the Custom Object record list or query
1421
+ * endpoint. It addresses the same record as the canonical record GET and PATCH
1422
+ * endpoints.
1423
+ */
1424
+ record_id: string;
1425
+
1426
+ /**
1427
+ * Related-list section identifier from layout.tabs[].sections[] in the record
1428
+ * detail response. Pass it with that response's object, record, and layout
1429
+ * identifiers; the section identifier is scoped to the effective layout.
1430
+ */
1431
+ section_id: string;
1432
+
1433
+ /**
1434
+ * Opaque continuation cursor with unchanged layout and parent.
1435
+ */
1436
+ cursor?: string;
1437
+
1438
+ /**
1439
+ * Select the saved Custom Object page layout by API name. Omit to use default.
1440
+ * Keep the resolved layout.api_name from the detail response when loading related
1441
+ * sections.
1442
+ */
1443
+ layout_api_name?: string;
1444
+
1445
+ /**
1446
+ * Maximum records per page (1–100); defaults to 25.
1447
+ */
1448
+ limit?: number;
1449
+ }
1450
+
1451
+ export declare namespace RecordDetailRelatedRecords {
1452
+ export {
1453
+ type RecordDetailRelatedRecordListResponse as RecordDetailRelatedRecordListResponse,
1454
+ type RecordDetailRelatedRecordListResponsesPageCursorURL as RecordDetailRelatedRecordListResponsesPageCursorURL,
1455
+ type RecordDetailRelatedRecordListParams as RecordDetailRelatedRecordListParams,
1456
+ };
1457
+ }