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

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 (570) 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 +111 -0
  450. package/resources/record-detail-reference-options.d.mts.map +1 -0
  451. package/resources/record-detail-reference-options.d.ts +111 -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 +1070 -0
  458. package/resources/record-detail-related-records.d.mts.map +1 -0
  459. package/resources/record-detail-related-records.d.ts +1070 -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 +1227 -0
  466. package/resources/record-details.d.mts.map +1 -0
  467. package/resources/record-details.d.ts +1227 -0
  468. package/resources/record-details.d.ts.map +1 -0
  469. package/resources/record-details.js +71 -0
  470. package/resources/record-details.js.map +1 -0
  471. package/resources/record-details.mjs +67 -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/src/client.ts +156 -17
  498. package/src/core/platform/custom-objects/manager.ts +65 -42
  499. package/src/core/platform/custom-objects.ts +3 -0
  500. package/src/lib/manifest/acp-agent.ts +7 -1
  501. package/src/lib/manifest/definitions/_object-records.ts +17 -10
  502. package/src/lib/manifest/definitions/custom-object.ts +14 -9
  503. package/src/resources/activity-log.ts +1 -1
  504. package/src/resources/agents/sessions/messages.ts +10 -1
  505. package/src/resources/agents/sessions/sessions.ts +30 -3
  506. package/src/resources/bills.ts +1660 -0
  507. package/src/resources/card-transactions.ts +742 -49
  508. package/src/resources/custom-objects/custom-objects.ts +62 -2
  509. package/src/resources/custom-objects/fields.ts +44 -0
  510. package/src/resources/custom-objects/index.ts +13 -1
  511. package/src/resources/custom-objects/list-views/capabilities.ts +72 -0
  512. package/src/resources/custom-objects/list-views/default.ts +87 -0
  513. package/src/resources/custom-objects/list-views/index.ts +15 -0
  514. package/src/resources/custom-objects/list-views/list-views.ts +973 -0
  515. package/src/resources/custom-objects/list-views.ts +3 -0
  516. package/src/resources/custom-objects/records/capabilities.ts +73 -0
  517. package/src/resources/custom-objects/records/index.ts +21 -0
  518. package/src/resources/custom-objects/records/records.ts +955 -0
  519. package/src/resources/custom-objects/records.ts +1 -703
  520. package/src/resources/devices.ts +2 -0
  521. package/src/resources/draft-transitions.ts +276 -347
  522. package/src/resources/employee-documents.ts +2 -2
  523. package/src/resources/{spend-categories.ts → finance-categories.ts} +26 -23
  524. package/src/resources/finance-vendors.ts +191 -0
  525. package/src/resources/functions/executions.ts +4 -1
  526. package/src/resources/functions/functions.ts +216 -4
  527. package/src/resources/hire-requirements.ts +107 -9
  528. package/src/resources/hires.ts +1768 -539
  529. package/src/resources/index.ts +51 -7
  530. package/src/resources/leave-requests.ts +11 -2
  531. package/src/resources/object-categories.ts +2 -1
  532. package/src/resources/package-components/extract.ts +139 -0
  533. package/src/resources/package-components/index.ts +10 -0
  534. package/src/resources/package-components/package-components.ts +134 -0
  535. package/src/resources/package-components/types.ts +64 -0
  536. package/src/resources/package-components.ts +3 -0
  537. package/src/resources/package-installs.ts +120 -9
  538. package/src/resources/package-managed-installs.ts +146 -7
  539. package/src/resources/package-manifests/index.ts +5 -0
  540. package/src/resources/package-manifests/package-manifests.ts +21 -0
  541. package/src/resources/package-manifests/packages/index.ts +4 -0
  542. package/src/resources/package-manifests/packages/packages.ts +19 -0
  543. package/src/resources/package-manifests/packages/versions.ts +237 -0
  544. package/src/resources/package-manifests/packages.ts +3 -0
  545. package/src/resources/package-manifests/versions.ts +96 -0
  546. package/src/resources/package-manifests.ts +3 -0
  547. package/src/resources/package-versions/package-versions.ts +117 -14
  548. package/src/resources/package-versions/publish.ts +46 -4
  549. package/src/resources/packages/next-versions.ts +46 -4
  550. package/src/resources/packages/versions.ts +92 -9
  551. package/src/resources/payroll-runs/off-cycle.ts +17 -9
  552. package/src/resources/permissions/index.ts +4 -0
  553. package/src/resources/permissions/permission-profiles.ts +50 -0
  554. package/src/resources/permissions/permissions.ts +20 -0
  555. package/src/resources/permissions.ts +3 -0
  556. package/src/resources/record-detail-reference-options.ts +142 -0
  557. package/src/resources/record-detail-related-records.ts +1380 -0
  558. package/src/resources/record-details.ts +1554 -0
  559. package/src/resources/reimbursements.ts +2591 -126
  560. package/src/resources/report-runs.ts +2 -1
  561. package/src/resources/sandboxes.ts +48 -742
  562. package/src/version.ts +1 -1
  563. package/version.d.mts +1 -1
  564. package/version.d.ts +1 -1
  565. package/version.js +1 -1
  566. package/version.mjs +1 -1
  567. package/resources/spend-categories.d.mts.map +0 -1
  568. package/resources/spend-categories.d.ts.map +0 -1
  569. package/resources/spend-categories.js.map +0 -1
  570. package/resources/spend-categories.mjs.map +0 -1
@@ -0,0 +1,973 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../../core/resource';
4
+ import * as CapabilitiesAPI from './capabilities';
5
+ import { Capabilities as CapabilitiesAPICapabilities, CapabilityRetrieveResponse } from './capabilities';
6
+ import * as DefaultAPI from './default';
7
+ import { Default, DefaultUpdateParams, DefaultUpdateResponse } from './default';
8
+ import { APIPromise } from '../../../core/api-promise';
9
+ import { PageCursorURL, PagePromise } from '../../../core/pagination';
10
+ import { buildHeaders } from '../../../internal/headers';
11
+ import { RequestOptions } from '../../../internal/request-options';
12
+ import { path } from '../../../internal/utils/path';
13
+
14
+ /**
15
+ * Saved custom object list views visible to the requester
16
+ */
17
+ export class ListViews extends APIResource {
18
+ capabilities: CapabilitiesAPI.Capabilities = new CapabilitiesAPI.Capabilities(this._client);
19
+ default: DefaultAPI.Default = new DefaultAPI.Default(this._client);
20
+
21
+ /**
22
+ * Lists shared views and the requester's private views. Saved views do not grant
23
+ * access to records or filter fields.
24
+ *
25
+ * @example SDK usage
26
+ * ```ts
27
+ * // Automatically fetches more pages as needed.
28
+ * for await (const listViewListResponse of client.customObjects.listViews.list(
29
+ * 'custom_object_api_name',
30
+ * )) {
31
+ * // ...
32
+ * }
33
+ * ```
34
+ *
35
+ * @example HTTP
36
+ * Representative request and response shapes.
37
+ * ```
38
+ * GET /custom-objects/{custom_object_api_name}/list-views/?limit=50&cursor=cursor HTTP/1.1
39
+ * Host: rest.ripplingapis.com
40
+ * Accept: application/json
41
+ * Rippling-Api-Version: 2024-08-01
42
+ *
43
+ * HTTP/1.1 200 OK
44
+ * Content-Type: application/json
45
+ *
46
+ * {
47
+ * "results": [
48
+ * {
49
+ * "id": "string",
50
+ * "created_at": "2025-01-01T00:00:00Z",
51
+ * "updated_at": "2025-01-01T00:00:00Z",
52
+ * "api_name": "string",
53
+ * "name": "string",
54
+ * "description": "string",
55
+ * "visibility": "PRIVATE",
56
+ * "record_scope": "ALL",
57
+ * "has_filter": false,
58
+ * "order_by": "string",
59
+ * "columns": [
60
+ * {}
61
+ * ],
62
+ * "is_default": false,
63
+ * "capabilities": {
64
+ * "can_update": "string",
65
+ * "can_delete": "string",
66
+ * "can_duplicate": "string",
67
+ * "can_share": "string",
68
+ * "can_set_default": "string"
69
+ * }
70
+ * }
71
+ * ],
72
+ * "next_link": "string"
73
+ * }
74
+ * ```
75
+ */
76
+ list(
77
+ customObjectAPIName: string,
78
+ query: ListViewListParams | null | undefined = {},
79
+ options?: RequestOptions,
80
+ ): PagePromise<ListViewListResponsesPageCursorURL, ListViewListResponse> {
81
+ return this._client.getAPIList(
82
+ path`/custom-objects/${customObjectAPIName}/list-views/`,
83
+ PageCursorURL<ListViewListResponse>,
84
+ { query, ...options },
85
+ );
86
+ }
87
+
88
+ /**
89
+ * Creates a grid definition using ordered field API names, RQL, sorting,
90
+ * visibility, and record scope. This does not change records or the company
91
+ * default. Supply api_name for a stable retry identity: an existing active company
92
+ * name returns 409, so retrieve it before retrying. Omitting api_name generates a
93
+ * new name and retrying may create another view. An authorized caller can delete
94
+ * the view. Uses existing Custom Object read consent. Native permissions require
95
+ * ownership for private views and manage-object access for shared views, sharing,
96
+ * and company defaults. Object-read consent does not authorize schema or record
97
+ * writes.
98
+ *
99
+ * @example SDK usage
100
+ * ```ts
101
+ * const listView =
102
+ * await client.customObjects.listViews.create(
103
+ * 'custom_object_api_name',
104
+ * { columns: [{ field: 'field' }], name: 'name' },
105
+ * );
106
+ * ```
107
+ *
108
+ * @example HTTP
109
+ * Representative request and response shapes.
110
+ * ```
111
+ * POST /custom-objects/{custom_object_api_name}/list-views/ HTTP/1.1
112
+ * Host: rest.ripplingapis.com
113
+ * Content-Type: application/json
114
+ * Accept: application/json
115
+ * Rippling-Api-Version: 2024-08-01
116
+ *
117
+ * {
118
+ * "columns": [
119
+ * {
120
+ * "field": "field"
121
+ * }
122
+ * ],
123
+ * "name": "name"
124
+ * }
125
+ *
126
+ * HTTP/1.1 201 Created
127
+ * Content-Type: application/json
128
+ *
129
+ * {
130
+ * "id": "string",
131
+ * "created_at": "2025-01-01T00:00:00Z",
132
+ * "updated_at": "2025-01-01T00:00:00Z",
133
+ * "api_name": "string",
134
+ * "name": "string",
135
+ * "description": "string",
136
+ * "visibility": "PRIVATE",
137
+ * "record_scope": "ALL",
138
+ * "has_filter": false,
139
+ * "order_by": "string",
140
+ * "columns": [
141
+ * {
142
+ * "field": "string"
143
+ * }
144
+ * ],
145
+ * "is_default": false,
146
+ * "capabilities": {
147
+ * "can_update": false,
148
+ * "can_delete": false,
149
+ * "can_duplicate": false,
150
+ * "can_share": false,
151
+ * "can_set_default": false
152
+ * },
153
+ * "query": "string"
154
+ * }
155
+ * ```
156
+ */
157
+ create(
158
+ customObjectAPIName: string,
159
+ body: ListViewCreateParams,
160
+ options?: RequestOptions,
161
+ ): APIPromise<ListViewCreateResponse> {
162
+ return this._client.post(path`/custom-objects/${customObjectAPIName}/list-views/`, { body, ...options });
163
+ }
164
+
165
+ /**
166
+ * Retrieves an accessible saved view. Views in another object/company or another
167
+ * requester's private views return not found.
168
+ *
169
+ * @example SDK usage
170
+ * ```ts
171
+ * const listView =
172
+ * await client.customObjects.listViews.retrieve(
173
+ * 'custom_object_api_name',
174
+ * 'view_api_name',
175
+ * );
176
+ * ```
177
+ *
178
+ * @example HTTP
179
+ * Representative request and response shapes.
180
+ * ```
181
+ * GET /custom-objects/{custom_object_api_name}/list-views/{view_api_name}/ HTTP/1.1
182
+ * Host: rest.ripplingapis.com
183
+ * Accept: application/json
184
+ * Rippling-Api-Version: 2024-08-01
185
+ *
186
+ * HTTP/1.1 200 OK
187
+ * Content-Type: application/json
188
+ *
189
+ * {
190
+ * "id": "string",
191
+ * "created_at": "2025-01-01T00:00:00Z",
192
+ * "updated_at": "2025-01-01T00:00:00Z",
193
+ * "api_name": "string",
194
+ * "name": "string",
195
+ * "description": "string",
196
+ * "visibility": "PRIVATE",
197
+ * "record_scope": "ALL",
198
+ * "has_filter": false,
199
+ * "order_by": "string",
200
+ * "columns": [
201
+ * {
202
+ * "field": "string"
203
+ * }
204
+ * ],
205
+ * "is_default": false,
206
+ * "capabilities": {
207
+ * "can_update": false,
208
+ * "can_delete": false,
209
+ * "can_duplicate": false,
210
+ * "can_share": false,
211
+ * "can_set_default": false
212
+ * },
213
+ * "query": "string"
214
+ * }
215
+ * ```
216
+ */
217
+ retrieve(
218
+ customObjectAPIName: string,
219
+ viewAPIName: string,
220
+ options?: RequestOptions,
221
+ ): APIPromise<ListViewRetrieveResponse> {
222
+ return this._client.get(path`/custom-objects/${customObjectAPIName}/list-views/${viewAPIName}/`, options);
223
+ }
224
+
225
+ /**
226
+ * Updates only the supplied fields of an accessible saved view; omitted fields are
227
+ * preserved. Null clears description, query, or order_by. Supplied columns replace
228
+ * visible field selection and order. The API name is immutable and shared views
229
+ * cannot become private. The company default continues to reference this view
230
+ * after an edit. Repeating the same update preserves the saved configuration; to
231
+ * undo an edit, submit the previous values. Records are not modified. Uses
232
+ * existing Custom Object read consent. Native permissions require ownership for
233
+ * private views and manage-object access for shared views, sharing, and company
234
+ * defaults. Object-read consent does not authorize schema or record writes.
235
+ *
236
+ * @example SDK usage
237
+ * ```ts
238
+ * const listView =
239
+ * await client.customObjects.listViews.update(
240
+ * 'custom_object_api_name',
241
+ * 'view_api_name',
242
+ * );
243
+ * ```
244
+ *
245
+ * @example HTTP
246
+ * Representative request and response shapes.
247
+ * ```
248
+ * PATCH /custom-objects/{custom_object_api_name}/list-views/{view_api_name}/ HTTP/1.1
249
+ * Host: rest.ripplingapis.com
250
+ * Content-Type: application/json
251
+ * Accept: application/json
252
+ * Rippling-Api-Version: 2024-08-01
253
+ *
254
+ * {}
255
+ *
256
+ * HTTP/1.1 200 OK
257
+ * Content-Type: application/json
258
+ *
259
+ * {
260
+ * "id": "string",
261
+ * "created_at": "2025-01-01T00:00:00Z",
262
+ * "updated_at": "2025-01-01T00:00:00Z",
263
+ * "api_name": "string",
264
+ * "name": "string",
265
+ * "description": "string",
266
+ * "visibility": "PRIVATE",
267
+ * "record_scope": "ALL",
268
+ * "has_filter": false,
269
+ * "order_by": "string",
270
+ * "columns": [
271
+ * {
272
+ * "field": "string"
273
+ * }
274
+ * ],
275
+ * "is_default": false,
276
+ * "capabilities": {
277
+ * "can_update": false,
278
+ * "can_delete": false,
279
+ * "can_duplicate": false,
280
+ * "can_share": false,
281
+ * "can_set_default": false
282
+ * },
283
+ * "query": "string"
284
+ * }
285
+ * ```
286
+ */
287
+ update(
288
+ customObjectAPIName: string,
289
+ viewAPIName: string,
290
+ body: ListViewUpdateParams,
291
+ options?: RequestOptions,
292
+ ): APIPromise<ListViewUpdateResponse> {
293
+ return this._client.patch(path`/custom-objects/${customObjectAPIName}/list-views/${viewAPIName}/`, {
294
+ body,
295
+ ...options,
296
+ });
297
+ }
298
+
299
+ /**
300
+ * Removes an accessible saved view from the active collection and clears the
301
+ * company default if it references this view. Records are not deleted. There is no
302
+ * public restore operation; retrieve the definition before deletion if you need to
303
+ * recreate it. A successful deletion returns 204 with no body; a retry after
304
+ * deletion returns 404. Uses existing Custom Object read consent. Native
305
+ * permissions require ownership for private views and manage-object access for
306
+ * shared views, sharing, and company defaults. Object-read consent does not
307
+ * authorize schema or record writes.
308
+ *
309
+ * @example SDK usage
310
+ * ```ts
311
+ * await client.customObjects.listViews.delete(
312
+ * 'custom_object_api_name',
313
+ * 'view_api_name',
314
+ * );
315
+ * ```
316
+ *
317
+ * @example HTTP
318
+ * Representative request and response shapes.
319
+ * ```
320
+ * DELETE /custom-objects/{custom_object_api_name}/list-views/{view_api_name}/ HTTP/1.1
321
+ * Host: rest.ripplingapis.com
322
+ * Rippling-Api-Version: 2024-08-01
323
+ *
324
+ * HTTP/1.1 204 No Content
325
+ * ```
326
+ */
327
+ delete(customObjectAPIName: string, viewAPIName: string, options?: RequestOptions): APIPromise<void> {
328
+ return this._client.delete(path`/custom-objects/${customObjectAPIName}/list-views/${viewAPIName}/`, {
329
+ ...options,
330
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
331
+ });
332
+ }
333
+ }
334
+
335
+ export type ListViewListResponsesPageCursorURL = PageCursorURL<ListViewListResponse>;
336
+
337
+ /**
338
+ * A saved Custom Object grid configuration for selecting, filtering, and ordering
339
+ * records.
340
+ */
341
+ export interface ListViewListResponse {
342
+ /**
343
+ * Read-only internal identifier; address operations using api_name.
344
+ */
345
+ id: string;
346
+
347
+ /**
348
+ * Stable API name used to address this view.
349
+ */
350
+ api_name: string;
351
+
352
+ /**
353
+ * Actions available to this caller.
354
+ */
355
+ capabilities: ListViewListResponse.Capabilities;
356
+
357
+ /**
358
+ * Visible columns, in saved display order.
359
+ */
360
+ columns: Array<ListViewListResponse.Column>;
361
+
362
+ /**
363
+ * Time the view was created, as an ISO 8601 timestamp in UTC.
364
+ */
365
+ created_at: string;
366
+
367
+ /**
368
+ * Whether this view applies a saved filter in addition to record_scope. The server
369
+ * resolves it when view_api_name is supplied to record queries.
370
+ */
371
+ has_filter: boolean;
372
+
373
+ /**
374
+ * Whether this is the company's default view for this object.
375
+ */
376
+ is_default: boolean;
377
+
378
+ /**
379
+ * Display name of the saved view.
380
+ */
381
+ name: string;
382
+
383
+ /**
384
+ * MY_RECORDS restricts owners to the authenticated requester when the view is
385
+ * used.
386
+ */
387
+ record_scope: 'ALL' | 'MY_RECORDS';
388
+
389
+ /**
390
+ * Time the view was last updated, as an ISO 8601 timestamp in UTC.
391
+ */
392
+ updated_at: string;
393
+
394
+ /**
395
+ * PRIVATE belongs to its creator; SHARED is visible within the company. Neither
396
+ * grants record access.
397
+ */
398
+ visibility: 'PRIVATE' | 'SHARED';
399
+
400
+ /**
401
+ * Creator-provided explanation of the records or purpose of this saved view. Null
402
+ * when no explanation was saved.
403
+ */
404
+ description?: string | null;
405
+
406
+ /**
407
+ * Saved ordering as one field API name, a space, and lowercase asc or desc, for
408
+ * example name asc. Null means no saved ordering.
409
+ */
410
+ order_by?: string | null;
411
+ }
412
+
413
+ export namespace ListViewListResponse {
414
+ /**
415
+ * Actions available to this caller.
416
+ */
417
+ export interface Capabilities {
418
+ /**
419
+ * Whether the caller may delete this view.
420
+ */
421
+ can_delete: boolean;
422
+
423
+ /**
424
+ * Whether the caller may create a copy of this definition.
425
+ */
426
+ can_duplicate: boolean;
427
+
428
+ /**
429
+ * Whether the caller may make this view the company default.
430
+ */
431
+ can_set_default: boolean;
432
+
433
+ /**
434
+ * Whether the caller may make this private view shared.
435
+ */
436
+ can_share: boolean;
437
+
438
+ /**
439
+ * Whether the caller may edit this view.
440
+ */
441
+ can_update: boolean;
442
+ }
443
+
444
+ /**
445
+ * A visible field within a Custom Object list view.
446
+ */
447
+ export interface Column {
448
+ /**
449
+ * Field API name.
450
+ */
451
+ field: string;
452
+ }
453
+ }
454
+
455
+ /**
456
+ * A saved grid definition, including its RQL predicate, for retrieval, editing, or
457
+ * duplication.
458
+ */
459
+ export interface ListViewCreateResponse {
460
+ /**
461
+ * Read-only internal identifier; address operations using api_name.
462
+ */
463
+ id: string;
464
+
465
+ /**
466
+ * Stable API name used to address this view.
467
+ */
468
+ api_name: string;
469
+
470
+ /**
471
+ * Actions available to this caller.
472
+ */
473
+ capabilities: ListViewCreateResponse.Capabilities;
474
+
475
+ /**
476
+ * Visible columns, in saved display order.
477
+ */
478
+ columns: Array<ListViewCreateResponse.Column>;
479
+
480
+ /**
481
+ * Time the view was created, as an ISO 8601 timestamp in UTC.
482
+ */
483
+ created_at: string;
484
+
485
+ /**
486
+ * Whether this view applies a saved filter in addition to record_scope. The server
487
+ * resolves it when view_api_name is supplied to record queries.
488
+ */
489
+ has_filter: boolean;
490
+
491
+ /**
492
+ * Whether this is the company's default view for this object.
493
+ */
494
+ is_default: boolean;
495
+
496
+ /**
497
+ * Display name of the saved view.
498
+ */
499
+ name: string;
500
+
501
+ /**
502
+ * MY_RECORDS restricts owners to the authenticated requester when the view is
503
+ * used.
504
+ */
505
+ record_scope: 'ALL' | 'MY_RECORDS';
506
+
507
+ /**
508
+ * Time the view was last updated, as an ISO 8601 timestamp in UTC.
509
+ */
510
+ updated_at: string;
511
+
512
+ /**
513
+ * PRIVATE belongs to its creator; SHARED is visible within the company. Neither
514
+ * grants record access.
515
+ */
516
+ visibility: 'PRIVATE' | 'SHARED';
517
+
518
+ /**
519
+ * Creator-provided explanation of the records or purpose of this saved view. Null
520
+ * when no explanation was saved.
521
+ */
522
+ description?: string | null;
523
+
524
+ /**
525
+ * Saved ordering as one field API name, a space, and lowercase asc or desc, for
526
+ * example name asc. Null means no saved ordering.
527
+ */
528
+ order_by?: string | null;
529
+
530
+ /**
531
+ * Saved RQL predicate, excluding record scope. Null when no predicate is saved.
532
+ */
533
+ query?: string | null;
534
+ }
535
+
536
+ export namespace ListViewCreateResponse {
537
+ /**
538
+ * Actions available to this caller.
539
+ */
540
+ export interface Capabilities {
541
+ /**
542
+ * Whether the caller may delete this view.
543
+ */
544
+ can_delete: boolean;
545
+
546
+ /**
547
+ * Whether the caller may create a copy of this definition.
548
+ */
549
+ can_duplicate: boolean;
550
+
551
+ /**
552
+ * Whether the caller may make this view the company default.
553
+ */
554
+ can_set_default: boolean;
555
+
556
+ /**
557
+ * Whether the caller may make this private view shared.
558
+ */
559
+ can_share: boolean;
560
+
561
+ /**
562
+ * Whether the caller may edit this view.
563
+ */
564
+ can_update: boolean;
565
+ }
566
+
567
+ /**
568
+ * A visible field within a Custom Object list view.
569
+ */
570
+ export interface Column {
571
+ /**
572
+ * Field API name.
573
+ */
574
+ field: string;
575
+ }
576
+ }
577
+
578
+ /**
579
+ * A saved grid definition, including its RQL predicate, for retrieval, editing, or
580
+ * duplication.
581
+ */
582
+ export interface ListViewRetrieveResponse {
583
+ /**
584
+ * Read-only internal identifier; address operations using api_name.
585
+ */
586
+ id: string;
587
+
588
+ /**
589
+ * Stable API name used to address this view.
590
+ */
591
+ api_name: string;
592
+
593
+ /**
594
+ * Actions available to this caller.
595
+ */
596
+ capabilities: ListViewRetrieveResponse.Capabilities;
597
+
598
+ /**
599
+ * Visible columns, in saved display order.
600
+ */
601
+ columns: Array<ListViewRetrieveResponse.Column>;
602
+
603
+ /**
604
+ * Time the view was created, as an ISO 8601 timestamp in UTC.
605
+ */
606
+ created_at: string;
607
+
608
+ /**
609
+ * Whether this view applies a saved filter in addition to record_scope. The server
610
+ * resolves it when view_api_name is supplied to record queries.
611
+ */
612
+ has_filter: boolean;
613
+
614
+ /**
615
+ * Whether this is the company's default view for this object.
616
+ */
617
+ is_default: boolean;
618
+
619
+ /**
620
+ * Display name of the saved view.
621
+ */
622
+ name: string;
623
+
624
+ /**
625
+ * MY_RECORDS restricts owners to the authenticated requester when the view is
626
+ * used.
627
+ */
628
+ record_scope: 'ALL' | 'MY_RECORDS';
629
+
630
+ /**
631
+ * Time the view was last updated, as an ISO 8601 timestamp in UTC.
632
+ */
633
+ updated_at: string;
634
+
635
+ /**
636
+ * PRIVATE belongs to its creator; SHARED is visible within the company. Neither
637
+ * grants record access.
638
+ */
639
+ visibility: 'PRIVATE' | 'SHARED';
640
+
641
+ /**
642
+ * Creator-provided explanation of the records or purpose of this saved view. Null
643
+ * when no explanation was saved.
644
+ */
645
+ description?: string | null;
646
+
647
+ /**
648
+ * Saved ordering as one field API name, a space, and lowercase asc or desc, for
649
+ * example name asc. Null means no saved ordering.
650
+ */
651
+ order_by?: string | null;
652
+
653
+ /**
654
+ * Saved RQL predicate, excluding record scope. Null when no predicate is saved.
655
+ */
656
+ query?: string | null;
657
+ }
658
+
659
+ export namespace ListViewRetrieveResponse {
660
+ /**
661
+ * Actions available to this caller.
662
+ */
663
+ export interface Capabilities {
664
+ /**
665
+ * Whether the caller may delete this view.
666
+ */
667
+ can_delete: boolean;
668
+
669
+ /**
670
+ * Whether the caller may create a copy of this definition.
671
+ */
672
+ can_duplicate: boolean;
673
+
674
+ /**
675
+ * Whether the caller may make this view the company default.
676
+ */
677
+ can_set_default: boolean;
678
+
679
+ /**
680
+ * Whether the caller may make this private view shared.
681
+ */
682
+ can_share: boolean;
683
+
684
+ /**
685
+ * Whether the caller may edit this view.
686
+ */
687
+ can_update: boolean;
688
+ }
689
+
690
+ /**
691
+ * A visible field within a Custom Object list view.
692
+ */
693
+ export interface Column {
694
+ /**
695
+ * Field API name.
696
+ */
697
+ field: string;
698
+ }
699
+ }
700
+
701
+ /**
702
+ * A saved grid definition, including its RQL predicate, for retrieval, editing, or
703
+ * duplication.
704
+ */
705
+ export interface ListViewUpdateResponse {
706
+ /**
707
+ * Read-only internal identifier; address operations using api_name.
708
+ */
709
+ id: string;
710
+
711
+ /**
712
+ * Stable API name used to address this view.
713
+ */
714
+ api_name: string;
715
+
716
+ /**
717
+ * Actions available to this caller.
718
+ */
719
+ capabilities: ListViewUpdateResponse.Capabilities;
720
+
721
+ /**
722
+ * Visible columns, in saved display order.
723
+ */
724
+ columns: Array<ListViewUpdateResponse.Column>;
725
+
726
+ /**
727
+ * Time the view was created, as an ISO 8601 timestamp in UTC.
728
+ */
729
+ created_at: string;
730
+
731
+ /**
732
+ * Whether this view applies a saved filter in addition to record_scope. The server
733
+ * resolves it when view_api_name is supplied to record queries.
734
+ */
735
+ has_filter: boolean;
736
+
737
+ /**
738
+ * Whether this is the company's default view for this object.
739
+ */
740
+ is_default: boolean;
741
+
742
+ /**
743
+ * Display name of the saved view.
744
+ */
745
+ name: string;
746
+
747
+ /**
748
+ * MY_RECORDS restricts owners to the authenticated requester when the view is
749
+ * used.
750
+ */
751
+ record_scope: 'ALL' | 'MY_RECORDS';
752
+
753
+ /**
754
+ * Time the view was last updated, as an ISO 8601 timestamp in UTC.
755
+ */
756
+ updated_at: string;
757
+
758
+ /**
759
+ * PRIVATE belongs to its creator; SHARED is visible within the company. Neither
760
+ * grants record access.
761
+ */
762
+ visibility: 'PRIVATE' | 'SHARED';
763
+
764
+ /**
765
+ * Creator-provided explanation of the records or purpose of this saved view. Null
766
+ * when no explanation was saved.
767
+ */
768
+ description?: string | null;
769
+
770
+ /**
771
+ * Saved ordering as one field API name, a space, and lowercase asc or desc, for
772
+ * example name asc. Null means no saved ordering.
773
+ */
774
+ order_by?: string | null;
775
+
776
+ /**
777
+ * Saved RQL predicate, excluding record scope. Null when no predicate is saved.
778
+ */
779
+ query?: string | null;
780
+ }
781
+
782
+ export namespace ListViewUpdateResponse {
783
+ /**
784
+ * Actions available to this caller.
785
+ */
786
+ export interface Capabilities {
787
+ /**
788
+ * Whether the caller may delete this view.
789
+ */
790
+ can_delete: boolean;
791
+
792
+ /**
793
+ * Whether the caller may create a copy of this definition.
794
+ */
795
+ can_duplicate: boolean;
796
+
797
+ /**
798
+ * Whether the caller may make this view the company default.
799
+ */
800
+ can_set_default: boolean;
801
+
802
+ /**
803
+ * Whether the caller may make this private view shared.
804
+ */
805
+ can_share: boolean;
806
+
807
+ /**
808
+ * Whether the caller may edit this view.
809
+ */
810
+ can_update: boolean;
811
+ }
812
+
813
+ /**
814
+ * A visible field within a Custom Object list view.
815
+ */
816
+ export interface Column {
817
+ /**
818
+ * Field API name.
819
+ */
820
+ field: string;
821
+ }
822
+ }
823
+
824
+ export interface ListViewListParams {
825
+ cursor?: string;
826
+
827
+ /**
828
+ * The maximum number of results to return. Defaults to 50. Maximum is 100.
829
+ */
830
+ limit?: number;
831
+ }
832
+
833
+ export interface ListViewCreateParams {
834
+ /**
835
+ * Ordered, nonempty, unique field selection.
836
+ */
837
+ columns: Array<ListViewCreateParams.Column>;
838
+
839
+ /**
840
+ * Nonblank display name.
841
+ */
842
+ name: string;
843
+
844
+ /**
845
+ * Case-sensitive API name, unique among active company views and immutable after
846
+ * creation. Use letters, digits, and underscores with a \_\_c suffix. Generated
847
+ * when omitted.
848
+ */
849
+ api_name?: string;
850
+
851
+ /**
852
+ * Creator-provided explanation of the records or purpose of this saved view.
853
+ * Defaults to null when omitted.
854
+ */
855
+ description?: string | null;
856
+
857
+ /**
858
+ * One sortable field API name, a space, and lowercase asc or desc, for example
859
+ * name asc. Null clears saved ordering.
860
+ */
861
+ order_by?: string | null;
862
+
863
+ /**
864
+ * Saved RQL predicate; null clears it.
865
+ */
866
+ query?: string | null;
867
+
868
+ /**
869
+ * ALL includes all records the caller may read; MY_RECORDS restricts owners to the
870
+ * authenticated requester when the view is used. Defaults to ALL when omitted.
871
+ */
872
+ record_scope?: 'ALL' | 'MY_RECORDS';
873
+
874
+ /**
875
+ * PRIVATE belongs to its creator; SHARED is visible within the company. Neither
876
+ * grants record access. Defaults to PRIVATE when omitted.
877
+ */
878
+ visibility?: 'PRIVATE' | 'SHARED';
879
+ }
880
+
881
+ export namespace ListViewCreateParams {
882
+ /**
883
+ * A field selected for display at its position in a saved grid's ordered columns.
884
+ */
885
+ export interface Column {
886
+ /**
887
+ * Field API name.
888
+ */
889
+ field: string;
890
+ }
891
+ }
892
+
893
+ export interface ListViewUpdateParams {
894
+ /**
895
+ * Ordered, nonempty, unique field selection.
896
+ */
897
+ columns?: Array<ListViewUpdateParams.Column>;
898
+
899
+ /**
900
+ * Creator-provided explanation of the records or purpose of this saved view. Null
901
+ * clears the explanation; omission preserves it.
902
+ */
903
+ description?: string | null;
904
+
905
+ /**
906
+ * Nonblank display name.
907
+ */
908
+ name?: string;
909
+
910
+ /**
911
+ * One sortable field API name, a space, and lowercase asc or desc, for example
912
+ * name asc. Null clears saved ordering.
913
+ */
914
+ order_by?: string | null;
915
+
916
+ /**
917
+ * Saved RQL predicate; null clears it.
918
+ */
919
+ query?: string | null;
920
+
921
+ /**
922
+ * ALL includes all records the caller may read; MY_RECORDS restricts owners to the
923
+ * authenticated requester when the view is used. Omission preserves the saved
924
+ * scope.
925
+ */
926
+ record_scope?: 'ALL' | 'MY_RECORDS';
927
+
928
+ /**
929
+ * PRIVATE belongs to its creator; SHARED is visible within the company. Neither
930
+ * grants record access. Shared views cannot become private. Omission preserves
931
+ * visibility.
932
+ */
933
+ visibility?: 'PRIVATE' | 'SHARED';
934
+ }
935
+
936
+ export namespace ListViewUpdateParams {
937
+ /**
938
+ * A field selected for display at its position in a saved grid's ordered columns.
939
+ */
940
+ export interface Column {
941
+ /**
942
+ * Field API name.
943
+ */
944
+ field: string;
945
+ }
946
+ }
947
+
948
+ ListViews.Capabilities = CapabilitiesAPICapabilities;
949
+ ListViews.Default = Default;
950
+
951
+ export declare namespace ListViews {
952
+ export {
953
+ type ListViewListResponse as ListViewListResponse,
954
+ type ListViewCreateResponse as ListViewCreateResponse,
955
+ type ListViewRetrieveResponse as ListViewRetrieveResponse,
956
+ type ListViewUpdateResponse as ListViewUpdateResponse,
957
+ type ListViewListResponsesPageCursorURL as ListViewListResponsesPageCursorURL,
958
+ type ListViewListParams as ListViewListParams,
959
+ type ListViewCreateParams as ListViewCreateParams,
960
+ type ListViewUpdateParams as ListViewUpdateParams,
961
+ };
962
+
963
+ export {
964
+ CapabilitiesAPICapabilities as Capabilities,
965
+ type CapabilityRetrieveResponse as CapabilityRetrieveResponse,
966
+ };
967
+
968
+ export {
969
+ Default as Default,
970
+ type DefaultUpdateResponse as DefaultUpdateResponse,
971
+ type DefaultUpdateParams as DefaultUpdateParams,
972
+ };
973
+ }