@rippling/rippling-sdk 0.2.0-alpha.28 → 0.2.0-alpha.30

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 (431) hide show
  1. package/client.d.mts +25 -25
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +25 -25
  4. package/client.d.ts.map +1 -1
  5. package/client.js +23 -23
  6. package/client.js.map +1 -1
  7. package/client.mjs +23 -23
  8. package/client.mjs.map +1 -1
  9. package/internal/utils/env.js +2 -2
  10. package/internal/utils/env.js.map +1 -1
  11. package/internal/utils/env.mjs +2 -2
  12. package/internal/utils/env.mjs.map +1 -1
  13. package/package.json +1 -1
  14. package/resources/business-partner-groups.d.mts +1 -1
  15. package/resources/business-partner-groups.d.ts +1 -1
  16. package/resources/business-partner-groups.js +1 -1
  17. package/resources/business-partner-groups.mjs +1 -1
  18. package/resources/business-partners.d.mts +1 -1
  19. package/resources/business-partners.d.ts +1 -1
  20. package/resources/business-partners.js +1 -1
  21. package/resources/business-partners.mjs +1 -1
  22. package/resources/candidate-applications.d.mts +1 -1
  23. package/resources/candidate-applications.d.ts +1 -1
  24. package/resources/candidate-applications.js +1 -1
  25. package/resources/candidate-applications.mjs +1 -1
  26. package/resources/candidates.d.mts +1 -1
  27. package/resources/candidates.d.ts +1 -1
  28. package/resources/candidates.js +1 -1
  29. package/resources/candidates.mjs +1 -1
  30. package/resources/companies.d.mts +1 -1
  31. package/resources/companies.d.ts +1 -1
  32. package/resources/companies.js +1 -1
  33. package/resources/companies.mjs +1 -1
  34. package/resources/compensation-bands-details.d.mts +1 -1
  35. package/resources/compensation-bands-details.d.ts +1 -1
  36. package/resources/compensation-bands-details.js +1 -1
  37. package/resources/compensation-bands-details.mjs +1 -1
  38. package/resources/compensations.d.mts +1 -1
  39. package/resources/compensations.d.ts +1 -1
  40. package/resources/compensations.js +1 -1
  41. package/resources/compensations.mjs +1 -1
  42. package/resources/custom-apps.d.mts +3 -3
  43. package/resources/custom-apps.d.ts +3 -3
  44. package/resources/custom-apps.js +3 -3
  45. package/resources/custom-apps.mjs +3 -3
  46. package/resources/custom-fields.d.mts +1 -1
  47. package/resources/custom-fields.d.ts +1 -1
  48. package/resources/custom-fields.js +1 -1
  49. package/resources/custom-fields.mjs +1 -1
  50. package/resources/custom-objects/custom-objects.d.mts +29 -5
  51. package/resources/custom-objects/custom-objects.d.mts.map +1 -1
  52. package/resources/custom-objects/custom-objects.d.ts +29 -5
  53. package/resources/custom-objects/custom-objects.d.ts.map +1 -1
  54. package/resources/custom-objects/custom-objects.js +5 -5
  55. package/resources/custom-objects/custom-objects.js.map +1 -1
  56. package/resources/custom-objects/custom-objects.mjs +5 -5
  57. package/resources/custom-objects/custom-objects.mjs.map +1 -1
  58. package/resources/custom-objects/fields.d.mts +71 -5
  59. package/resources/custom-objects/fields.d.mts.map +1 -1
  60. package/resources/custom-objects/fields.d.ts +71 -5
  61. package/resources/custom-objects/fields.d.ts.map +1 -1
  62. package/resources/custom-objects/fields.js +5 -5
  63. package/resources/custom-objects/fields.mjs +5 -5
  64. package/resources/custom-objects/records.d.mts +68 -11
  65. package/resources/custom-objects/records.d.mts.map +1 -1
  66. package/resources/custom-objects/records.d.ts +68 -11
  67. package/resources/custom-objects/records.d.ts.map +1 -1
  68. package/resources/custom-objects/records.js +10 -10
  69. package/resources/custom-objects/records.mjs +10 -10
  70. package/resources/custom-pages.d.mts +3 -3
  71. package/resources/custom-pages.d.ts +3 -3
  72. package/resources/custom-pages.js +3 -3
  73. package/resources/custom-pages.mjs +3 -3
  74. package/resources/custom-settings.d.mts +2 -2
  75. package/resources/custom-settings.d.ts +2 -2
  76. package/resources/custom-settings.js +2 -2
  77. package/resources/custom-settings.mjs +2 -2
  78. package/resources/departments.d.mts +2 -2
  79. package/resources/departments.d.ts +2 -2
  80. package/resources/departments.js +2 -2
  81. package/resources/departments.mjs +2 -2
  82. package/resources/draft-hires.d.mts +8 -0
  83. package/resources/draft-hires.d.mts.map +1 -1
  84. package/resources/draft-hires.d.ts +8 -0
  85. package/resources/draft-hires.d.ts.map +1 -1
  86. package/resources/earning-types.d.mts +48 -0
  87. package/resources/earning-types.d.mts.map +1 -0
  88. package/resources/earning-types.d.ts +48 -0
  89. package/resources/earning-types.d.ts.map +1 -0
  90. package/resources/earning-types.js +21 -0
  91. package/resources/earning-types.js.map +1 -0
  92. package/resources/earning-types.mjs +17 -0
  93. package/resources/earning-types.mjs.map +1 -0
  94. package/resources/employment-types.d.mts +1 -1
  95. package/resources/employment-types.d.ts +1 -1
  96. package/resources/employment-types.js +1 -1
  97. package/resources/employment-types.mjs +1 -1
  98. package/resources/entitlements.d.mts +1 -1
  99. package/resources/entitlements.d.ts +1 -1
  100. package/resources/entitlements.js +1 -1
  101. package/resources/entitlements.mjs +1 -1
  102. package/resources/functions/deployments.d.mts +10 -4
  103. package/resources/functions/deployments.d.mts.map +1 -1
  104. package/resources/functions/deployments.d.ts +10 -4
  105. package/resources/functions/deployments.d.ts.map +1 -1
  106. package/resources/functions/deployments.js +4 -4
  107. package/resources/functions/deployments.mjs +4 -4
  108. package/resources/functions/executions.d.mts +10 -4
  109. package/resources/functions/executions.d.mts.map +1 -1
  110. package/resources/functions/executions.d.ts +10 -4
  111. package/resources/functions/executions.d.ts.map +1 -1
  112. package/resources/functions/executions.js +4 -4
  113. package/resources/functions/executions.mjs +4 -4
  114. package/resources/functions/functions.d.mts +8 -14
  115. package/resources/functions/functions.d.mts.map +1 -1
  116. package/resources/functions/functions.d.ts +8 -14
  117. package/resources/functions/functions.d.ts.map +1 -1
  118. package/resources/functions/functions.js +6 -6
  119. package/resources/functions/functions.js.map +1 -1
  120. package/resources/functions/functions.mjs +6 -6
  121. package/resources/functions/functions.mjs.map +1 -1
  122. package/resources/functions/index.d.mts +1 -1
  123. package/resources/functions/index.d.mts.map +1 -1
  124. package/resources/functions/index.d.ts +1 -1
  125. package/resources/functions/index.d.ts.map +1 -1
  126. package/resources/functions/index.js.map +1 -1
  127. package/resources/functions/index.mjs.map +1 -1
  128. package/resources/headcount-positions.d.mts +1 -1
  129. package/resources/headcount-positions.d.ts +1 -1
  130. package/resources/headcount-positions.js +1 -1
  131. package/resources/headcount-positions.mjs +1 -1
  132. package/resources/headcount-priorities.d.mts +1 -1
  133. package/resources/headcount-priorities.d.ts +1 -1
  134. package/resources/headcount-priorities.js +1 -1
  135. package/resources/headcount-priorities.mjs +1 -1
  136. package/resources/index.d.mts +5 -5
  137. package/resources/index.d.mts.map +1 -1
  138. package/resources/index.d.ts +5 -5
  139. package/resources/index.d.ts.map +1 -1
  140. package/resources/index.js +10 -10
  141. package/resources/index.js.map +1 -1
  142. package/resources/index.mjs +4 -4
  143. package/resources/index.mjs.map +1 -1
  144. package/resources/job-assignments.d.mts +3 -3
  145. package/resources/job-assignments.d.ts +3 -3
  146. package/resources/job-assignments.js +3 -3
  147. package/resources/job-assignments.mjs +3 -3
  148. package/resources/job-codes.d.mts +3 -3
  149. package/resources/job-codes.d.ts +3 -3
  150. package/resources/job-codes.js +3 -3
  151. package/resources/job-codes.mjs +3 -3
  152. package/resources/job-dimensions.d.mts +2 -2
  153. package/resources/job-dimensions.d.ts +2 -2
  154. package/resources/job-dimensions.js +2 -2
  155. package/resources/job-dimensions.mjs +2 -2
  156. package/resources/job-functions.d.mts +1 -1
  157. package/resources/job-functions.d.ts +1 -1
  158. package/resources/job-functions.js +1 -1
  159. package/resources/job-functions.mjs +1 -1
  160. package/resources/job-pay-rate-exceptions.d.mts +2 -2
  161. package/resources/job-pay-rate-exceptions.d.ts +2 -2
  162. package/resources/job-pay-rate-exceptions.js +2 -2
  163. package/resources/job-pay-rate-exceptions.mjs +2 -2
  164. package/resources/job-requisitions.d.mts +1 -1
  165. package/resources/job-requisitions.d.ts +1 -1
  166. package/resources/job-requisitions.js +1 -1
  167. package/resources/job-requisitions.mjs +1 -1
  168. package/resources/kiosk-badges.d.mts +2 -2
  169. package/resources/kiosk-badges.d.ts +2 -2
  170. package/resources/kiosk-badges.js +2 -2
  171. package/resources/kiosk-badges.mjs +2 -2
  172. package/resources/leave-accruals.d.mts +1 -1
  173. package/resources/leave-accruals.d.ts +1 -1
  174. package/resources/leave-accruals.js +1 -1
  175. package/resources/leave-accruals.mjs +1 -1
  176. package/resources/leave-balances.d.mts +1 -1
  177. package/resources/leave-balances.d.ts +1 -1
  178. package/resources/leave-balances.js +1 -1
  179. package/resources/leave-balances.mjs +1 -1
  180. package/resources/leave-requests.d.mts +2 -2
  181. package/resources/leave-requests.d.ts +2 -2
  182. package/resources/leave-requests.js +2 -2
  183. package/resources/leave-requests.mjs +2 -2
  184. package/resources/leave-types.d.mts +1 -1
  185. package/resources/leave-types.d.ts +1 -1
  186. package/resources/leave-types.js +1 -1
  187. package/resources/leave-types.mjs +1 -1
  188. package/resources/legal-entities.d.mts +1 -1
  189. package/resources/legal-entities.d.ts +1 -1
  190. package/resources/legal-entities.js +1 -1
  191. package/resources/legal-entities.mjs +1 -1
  192. package/resources/levels.d.mts +1 -1
  193. package/resources/levels.d.ts +1 -1
  194. package/resources/levels.js +1 -1
  195. package/resources/levels.mjs +1 -1
  196. package/resources/location-factors.d.mts +1 -1
  197. package/resources/location-factors.d.ts +1 -1
  198. package/resources/location-factors.js +1 -1
  199. package/resources/location-factors.mjs +1 -1
  200. package/resources/metadata/components.d.mts +2 -2
  201. package/resources/metadata/components.d.ts +2 -2
  202. package/resources/metadata/components.js +2 -2
  203. package/resources/metadata/components.mjs +2 -2
  204. package/resources/metadata/metadata.d.mts +2 -2
  205. package/resources/metadata/metadata.d.ts +2 -2
  206. package/resources/metadata/metadata.js +2 -2
  207. package/resources/metadata/metadata.mjs +2 -2
  208. package/resources/metadata/summary.d.mts +2 -2
  209. package/resources/metadata/summary.d.ts +2 -2
  210. package/resources/metadata/summary.js +2 -2
  211. package/resources/metadata/summary.mjs +2 -2
  212. package/resources/metadata/types.d.mts +2 -2
  213. package/resources/metadata/types.d.ts +2 -2
  214. package/resources/metadata/types.js +2 -2
  215. package/resources/metadata/types.mjs +2 -2
  216. package/resources/object-categories.d.mts +17 -5
  217. package/resources/object-categories.d.mts.map +1 -1
  218. package/resources/object-categories.d.ts +17 -5
  219. package/resources/object-categories.d.ts.map +1 -1
  220. package/resources/object-categories.js +5 -5
  221. package/resources/object-categories.mjs +5 -5
  222. package/resources/payroll-runs.d.mts +195 -0
  223. package/resources/payroll-runs.d.mts.map +1 -0
  224. package/resources/payroll-runs.d.ts +195 -0
  225. package/resources/payroll-runs.d.ts.map +1 -0
  226. package/resources/payroll-runs.js +32 -0
  227. package/resources/payroll-runs.js.map +1 -0
  228. package/resources/payroll-runs.mjs +28 -0
  229. package/resources/payroll-runs.mjs.map +1 -0
  230. package/resources/platform-capabilities.d.mts +2 -2
  231. package/resources/platform-capabilities.d.ts +2 -2
  232. package/resources/platform-capabilities.js +2 -2
  233. package/resources/platform-capabilities.mjs +2 -2
  234. package/resources/report-runs.d.mts +60 -0
  235. package/resources/report-runs.d.mts.map +1 -1
  236. package/resources/report-runs.d.ts +60 -0
  237. package/resources/report-runs.d.ts.map +1 -1
  238. package/resources/reports/available-filters.d.mts +49 -0
  239. package/resources/reports/available-filters.d.mts.map +1 -0
  240. package/resources/reports/available-filters.d.ts +49 -0
  241. package/resources/reports/available-filters.d.ts.map +1 -0
  242. package/resources/reports/available-filters.js +20 -0
  243. package/resources/reports/available-filters.js.map +1 -0
  244. package/resources/reports/available-filters.mjs +16 -0
  245. package/resources/reports/available-filters.mjs.map +1 -0
  246. package/resources/reports/index.d.mts +3 -0
  247. package/resources/reports/index.d.mts.map +1 -0
  248. package/resources/reports/index.d.ts +3 -0
  249. package/resources/reports/index.d.ts.map +1 -0
  250. package/resources/reports/index.js +9 -0
  251. package/resources/reports/index.js.map +1 -0
  252. package/resources/reports/index.mjs +4 -0
  253. package/resources/reports/index.mjs.map +1 -0
  254. package/resources/reports/reports.d.mts +85 -0
  255. package/resources/reports/reports.d.mts.map +1 -0
  256. package/resources/reports/reports.d.ts +85 -0
  257. package/resources/reports/reports.d.ts.map +1 -0
  258. package/resources/reports/reports.js +27 -0
  259. package/resources/reports/reports.js.map +1 -0
  260. package/resources/reports/reports.mjs +22 -0
  261. package/resources/reports/reports.mjs.map +1 -0
  262. package/resources/reports.d.mts +2 -0
  263. package/resources/reports.d.mts.map +1 -0
  264. package/resources/reports.d.ts +2 -0
  265. package/resources/reports.d.ts.map +1 -0
  266. package/resources/reports.js +6 -0
  267. package/resources/reports.js.map +1 -0
  268. package/resources/reports.mjs +3 -0
  269. package/resources/reports.mjs.map +1 -0
  270. package/resources/schedules.d.mts +2 -2
  271. package/resources/schedules.d.ts +2 -2
  272. package/resources/schedules.js +2 -2
  273. package/resources/schedules.mjs +2 -2
  274. package/resources/shift-inputs.d.mts +2 -2
  275. package/resources/shift-inputs.d.ts +2 -2
  276. package/resources/shift-inputs.js +2 -2
  277. package/resources/shift-inputs.mjs +2 -2
  278. package/resources/shiftassignments.d.mts +2 -2
  279. package/resources/shiftassignments.d.ts +2 -2
  280. package/resources/shiftassignments.js +2 -2
  281. package/resources/shiftassignments.mjs +2 -2
  282. package/resources/teams.d.mts +1 -1
  283. package/resources/teams.d.ts +1 -1
  284. package/resources/teams.js +1 -1
  285. package/resources/teams.mjs +1 -1
  286. package/resources/time-cards.d.mts +1 -1
  287. package/resources/time-cards.d.ts +1 -1
  288. package/resources/time-cards.js +1 -1
  289. package/resources/time-cards.mjs +1 -1
  290. package/resources/time-entries.d.mts +2 -2
  291. package/resources/time-entries.d.ts +2 -2
  292. package/resources/time-entries.js +2 -2
  293. package/resources/time-entries.mjs +2 -2
  294. package/resources/titles.d.mts +2 -2
  295. package/resources/titles.d.ts +2 -2
  296. package/resources/titles.js +2 -2
  297. package/resources/titles.mjs +2 -2
  298. package/resources/tracks.d.mts +1 -1
  299. package/resources/tracks.d.ts +1 -1
  300. package/resources/tracks.js +1 -1
  301. package/resources/tracks.mjs +1 -1
  302. package/resources/unassignedshifts.d.mts +2 -2
  303. package/resources/unassignedshifts.d.ts +2 -2
  304. package/resources/unassignedshifts.js +2 -2
  305. package/resources/unassignedshifts.mjs +2 -2
  306. package/resources/users.d.mts +1 -1
  307. package/resources/users.d.ts +1 -1
  308. package/resources/users.js +1 -1
  309. package/resources/users.mjs +1 -1
  310. package/resources/work-locations.d.mts +2 -2
  311. package/resources/work-locations.d.ts +2 -2
  312. package/resources/work-locations.js +2 -2
  313. package/resources/work-locations.mjs +2 -2
  314. package/resources/workers.d.mts +1 -1
  315. package/resources/workers.d.ts +1 -1
  316. package/resources/workers.js +1 -1
  317. package/resources/workers.mjs +1 -1
  318. package/resources/workflow-action-executions.d.mts +572 -0
  319. package/resources/workflow-action-executions.d.mts.map +1 -0
  320. package/resources/workflow-action-executions.d.ts +572 -0
  321. package/resources/workflow-action-executions.d.ts.map +1 -0
  322. package/resources/{send-email.js → workflow-action-executions.js} +6 -6
  323. package/resources/workflow-action-executions.js.map +1 -0
  324. package/resources/{send-slack.mjs → workflow-action-executions.mjs} +4 -4
  325. package/resources/workflow-action-executions.mjs.map +1 -0
  326. package/src/client.ts +61 -51
  327. package/src/internal/utils/env.ts +2 -2
  328. package/src/resources/business-partner-groups.ts +1 -1
  329. package/src/resources/business-partners.ts +1 -1
  330. package/src/resources/candidate-applications.ts +1 -1
  331. package/src/resources/candidates.ts +1 -1
  332. package/src/resources/companies.ts +1 -1
  333. package/src/resources/compensation-bands-details.ts +1 -1
  334. package/src/resources/compensations.ts +1 -1
  335. package/src/resources/custom-apps.ts +3 -3
  336. package/src/resources/custom-fields.ts +1 -1
  337. package/src/resources/custom-objects/custom-objects.ts +29 -5
  338. package/src/resources/custom-objects/fields.ts +71 -5
  339. package/src/resources/custom-objects/records.ts +68 -11
  340. package/src/resources/custom-pages.ts +3 -3
  341. package/src/resources/custom-settings.ts +2 -2
  342. package/src/resources/departments.ts +2 -2
  343. package/src/resources/draft-hires.ts +10 -0
  344. package/src/resources/earning-types.ts +64 -0
  345. package/src/resources/employment-types.ts +1 -1
  346. package/src/resources/entitlements.ts +1 -1
  347. package/src/resources/functions/deployments.ts +10 -4
  348. package/src/resources/functions/executions.ts +10 -4
  349. package/src/resources/functions/functions.ts +9 -15
  350. package/src/resources/functions/index.ts +1 -0
  351. package/src/resources/headcount-positions.ts +1 -1
  352. package/src/resources/headcount-priorities.ts +1 -1
  353. package/src/resources/index.ts +19 -8
  354. package/src/resources/job-assignments.ts +3 -3
  355. package/src/resources/job-codes.ts +3 -3
  356. package/src/resources/job-dimensions.ts +2 -2
  357. package/src/resources/job-functions.ts +1 -1
  358. package/src/resources/job-pay-rate-exceptions.ts +2 -2
  359. package/src/resources/job-requisitions.ts +1 -1
  360. package/src/resources/kiosk-badges.ts +2 -2
  361. package/src/resources/leave-accruals.ts +1 -1
  362. package/src/resources/leave-balances.ts +1 -1
  363. package/src/resources/leave-requests.ts +2 -2
  364. package/src/resources/leave-types.ts +1 -1
  365. package/src/resources/legal-entities.ts +1 -1
  366. package/src/resources/levels.ts +1 -1
  367. package/src/resources/location-factors.ts +1 -1
  368. package/src/resources/metadata/components.ts +2 -2
  369. package/src/resources/metadata/metadata.ts +2 -2
  370. package/src/resources/metadata/summary.ts +2 -2
  371. package/src/resources/metadata/types.ts +2 -2
  372. package/src/resources/object-categories.ts +17 -5
  373. package/src/resources/payroll-runs.ts +251 -0
  374. package/src/resources/platform-capabilities.ts +2 -2
  375. package/src/resources/report-runs.ts +90 -0
  376. package/src/resources/reports/available-filters.ts +60 -0
  377. package/src/resources/reports/index.ts +4 -0
  378. package/src/resources/reports/reports.ts +112 -0
  379. package/src/resources/reports.ts +3 -0
  380. package/src/resources/schedules.ts +2 -2
  381. package/src/resources/shift-inputs.ts +2 -2
  382. package/src/resources/shiftassignments.ts +2 -2
  383. package/src/resources/teams.ts +1 -1
  384. package/src/resources/time-cards.ts +1 -1
  385. package/src/resources/time-entries.ts +2 -2
  386. package/src/resources/titles.ts +2 -2
  387. package/src/resources/tracks.ts +1 -1
  388. package/src/resources/unassignedshifts.ts +2 -2
  389. package/src/resources/users.ts +1 -1
  390. package/src/resources/work-locations.ts +2 -2
  391. package/src/resources/workers.ts +1 -1
  392. package/src/resources/workflow-action-executions.ts +925 -0
  393. package/src/version.ts +1 -1
  394. package/version.d.mts +1 -1
  395. package/version.d.ts +1 -1
  396. package/version.js +1 -1
  397. package/version.mjs +1 -1
  398. package/resources/create-app-notification.d.mts +0 -29
  399. package/resources/create-app-notification.d.mts.map +0 -1
  400. package/resources/create-app-notification.d.ts +0 -29
  401. package/resources/create-app-notification.d.ts.map +0 -1
  402. package/resources/create-app-notification.js +0 -18
  403. package/resources/create-app-notification.js.map +0 -1
  404. package/resources/create-app-notification.mjs +0 -14
  405. package/resources/create-app-notification.mjs.map +0 -1
  406. package/resources/run-query.d.mts +0 -39
  407. package/resources/run-query.d.mts.map +0 -1
  408. package/resources/run-query.d.ts +0 -39
  409. package/resources/run-query.d.ts.map +0 -1
  410. package/resources/run-query.js +0 -21
  411. package/resources/run-query.js.map +0 -1
  412. package/resources/run-query.mjs +0 -17
  413. package/resources/run-query.mjs.map +0 -1
  414. package/resources/send-email.d.mts +0 -33
  415. package/resources/send-email.d.mts.map +0 -1
  416. package/resources/send-email.d.ts +0 -33
  417. package/resources/send-email.d.ts.map +0 -1
  418. package/resources/send-email.js.map +0 -1
  419. package/resources/send-email.mjs +0 -14
  420. package/resources/send-email.mjs.map +0 -1
  421. package/resources/send-slack.d.mts +0 -30
  422. package/resources/send-slack.d.mts.map +0 -1
  423. package/resources/send-slack.d.ts +0 -30
  424. package/resources/send-slack.d.ts.map +0 -1
  425. package/resources/send-slack.js +0 -18
  426. package/resources/send-slack.js.map +0 -1
  427. package/resources/send-slack.mjs.map +0 -1
  428. package/src/resources/create-app-notification.ts +0 -46
  429. package/src/resources/run-query.ts +0 -51
  430. package/src/resources/send-email.ts +0 -48
  431. package/src/resources/send-slack.ts +0 -42
@@ -3,12 +3,12 @@ import { APIResource } from "../core/resource.mjs";
3
3
  /**
4
4
  * Execute workflow actions like sending emails, Slack messages, and notifications
5
5
  */
6
- export class SendSlack extends APIResource {
6
+ export class WorkflowActionExecutions extends APIResource {
7
7
  /**
8
- * Send a Slack message to the specified recipients.
8
+ * Execute a workflow action
9
9
  */
10
10
  create(body, options) {
11
- return this._client.post('/send-slack/', { body, ...options });
11
+ return this._client.post('/workflow-action-executions/', { body, ...options });
12
12
  }
13
13
  }
14
- //# sourceMappingURL=send-slack.mjs.map
14
+ //# sourceMappingURL=workflow-action-executions.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-action-executions.mjs","sourceRoot":"","sources":["../src/resources/workflow-action-executions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,wBAAyB,SAAQ,WAAW;IACvD;;OAEG;IACH,MAAM,CACJ,IAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF"}
package/src/client.ts CHANGED
@@ -67,11 +67,6 @@ import {
67
67
  Compensations,
68
68
  CompensationsPageCursorURL,
69
69
  } from './resources/compensations';
70
- import {
71
- CreateAppNotification,
72
- CreateAppNotificationCreateParams,
73
- CreateAppNotificationCreateResponse,
74
- } from './resources/create-app-notification';
75
70
  import {
76
71
  CustomAppCreateParams,
77
72
  CustomAppCreateResponse,
@@ -120,6 +115,11 @@ import {
120
115
  DepartmentsPageCursorURL,
121
116
  } from './resources/departments';
122
117
  import { DraftHireCreateParams, DraftHireCreateResponse, DraftHires } from './resources/draft-hires';
118
+ import {
119
+ EarningTypeListResponse,
120
+ EarningTypeListResponsesPageCursorURL,
121
+ EarningTypes,
122
+ } from './resources/earning-types';
123
123
  import {
124
124
  CompanyEmploymentType,
125
125
  CompanyEmploymentTypesPageCursorURL,
@@ -290,6 +290,13 @@ import {
290
290
  ObjectCategoryCreateParams,
291
291
  ObjectCategoryUpdateParams,
292
292
  } from './resources/object-categories';
293
+ import {
294
+ PayrollRunListParams,
295
+ PayrollRunListResponse,
296
+ PayrollRunListResponsesPageCursorURL,
297
+ PayrollRunRetrieveResponse,
298
+ PayrollRuns,
299
+ } from './resources/payroll-runs';
293
300
  import {
294
301
  PlatformCapabilities,
295
302
  PlatformCapabilityListResponse,
@@ -301,7 +308,6 @@ import {
301
308
  ReportRunRetrieveResponse,
302
309
  ReportRuns,
303
310
  } from './resources/report-runs';
304
- import { RunQuery, RunQueryCreateParams, RunQueryCreateResponse } from './resources/run-query';
305
311
  import {
306
312
  ScheduleCreateParams,
307
313
  ScheduleCreateResponse,
@@ -314,8 +320,6 @@ import {
314
320
  ScheduleUpdateResponse,
315
321
  Schedules,
316
322
  } from './resources/schedules';
317
- import { SendEmail, SendEmailCreateParams, SendEmailCreateResponse } from './resources/send-email';
318
- import { SendSlack, SendSlackCreateParams, SendSlackCreateResponse } from './resources/send-slack';
319
323
  import {
320
324
  ShiftAssignmentUpdateCustomfieldsParams,
321
325
  ShiftAssignmentUpdateCustomfieldsResponse,
@@ -432,6 +436,11 @@ import {
432
436
  Workers,
433
437
  WorkersPageCursorURL,
434
438
  } from './resources/workers';
439
+ import {
440
+ WorkflowActionExecutionCreateParams,
441
+ WorkflowActionExecutionCreateResponse,
442
+ WorkflowActionExecutions,
443
+ } from './resources/workflow-action-executions';
435
444
  import {
436
445
  CustomObject,
437
446
  CustomObjectCreateParams,
@@ -441,6 +450,7 @@ import {
441
450
  } from './resources/custom-objects/custom-objects';
442
451
  import {
443
452
  Function,
453
+ FunctionCreateDevBundleParams,
444
454
  FunctionCreateDevBundleResponse,
445
455
  FunctionCreateParams,
446
456
  FunctionListParams,
@@ -453,6 +463,7 @@ import {
453
463
  MetadataListResponse,
454
464
  MetadataListResponsesPageCursorURL,
455
465
  } from './resources/metadata/metadata';
466
+ import { ReportRetrieveResponse, Reports } from './resources/reports/reports';
456
467
  import {
457
468
  Supergroup,
458
469
  SupergroupListParams,
@@ -1317,10 +1328,6 @@ export class RipplingSDK {
1317
1328
  * Compensation bands details associated with workers
1318
1329
  */
1319
1330
  compensationBandsDetails: API.CompensationBandsDetails = new API.CompensationBandsDetails(this);
1320
- /**
1321
- * Execute workflow actions like sending emails, Slack messages, and notifications
1322
- */
1323
- createAppNotification: API.CreateAppNotification = new API.CreateAppNotification(this);
1324
1331
  customApps: API.CustomApps = new API.CustomApps(this);
1325
1332
  /**
1326
1333
  * Custom fields defined by the company
@@ -1332,6 +1339,10 @@ export class RipplingSDK {
1332
1339
  * Candidates who have not yet started work at the company
1333
1340
  */
1334
1341
  draftHires: API.DraftHires = new API.DraftHires(this);
1342
+ /**
1343
+ * Earning types configured for the company
1344
+ */
1345
+ earningTypes: API.EarningTypes = new API.EarningTypes(this);
1335
1346
  /**
1336
1347
  * Availability of API features to the company or Partners.
1337
1348
  */
@@ -1364,6 +1375,10 @@ export class RipplingSDK {
1364
1375
  * Custom objects defined by the company
1365
1376
  */
1366
1377
  metadata: API.Metadata = new API.Metadata(this);
1378
+ /**
1379
+ * Payroll runs for the company
1380
+ */
1381
+ payrollRuns: API.PayrollRuns = new API.PayrollRuns(this);
1367
1382
  /**
1368
1383
  * Custom objects defined by the company
1369
1384
  */
@@ -1371,23 +1386,15 @@ export class RipplingSDK {
1371
1386
  /**
1372
1387
  * Report data for company
1373
1388
  */
1374
- reportRuns: API.ReportRuns = new API.ReportRuns(this);
1389
+ reports: API.Reports = new API.Reports(this);
1375
1390
  /**
1376
- * Execute SQL queries and manage transformations
1391
+ * Report data for company
1377
1392
  */
1378
- runQuery: API.RunQuery = new API.RunQuery(this);
1393
+ reportRuns: API.ReportRuns = new API.ReportRuns(this);
1379
1394
  /**
1380
1395
  * Schedules used by the company
1381
1396
  */
1382
1397
  schedules: API.Schedules = new API.Schedules(this);
1383
- /**
1384
- * Execute workflow actions like sending emails, Slack messages, and notifications
1385
- */
1386
- sendEmail: API.SendEmail = new API.SendEmail(this);
1387
- /**
1388
- * Execute workflow actions like sending emails, Slack messages, and notifications
1389
- */
1390
- sendSlack: API.SendSlack = new API.SendSlack(this);
1391
1398
  /**
1392
1399
  * Shift assignments assigned to workers
1393
1400
  */
@@ -1400,6 +1407,10 @@ export class RipplingSDK {
1400
1407
  * Unassigned shifts that are part of a schedule
1401
1408
  */
1402
1409
  unassignedshifts: API.Unassignedshifts = new API.Unassignedshifts(this);
1410
+ /**
1411
+ * Execute workflow actions like sending emails, Slack messages, and notifications
1412
+ */
1413
+ workflowActionExecutions: API.WorkflowActionExecutions = new API.WorkflowActionExecutions(this);
1403
1414
  /**
1404
1415
  * Shift assignments assigned to workers
1405
1416
  */
@@ -1443,12 +1454,12 @@ RipplingSDK.JobPayRateExceptions = JobPayRateExceptions;
1443
1454
  RipplingSDK.Candidates = Candidates;
1444
1455
  RipplingSDK.CandidateApplications = CandidateApplications;
1445
1456
  RipplingSDK.CompensationBandsDetails = CompensationBandsDetails;
1446
- RipplingSDK.CreateAppNotification = CreateAppNotification;
1447
1457
  RipplingSDK.CustomApps = CustomApps;
1448
1458
  RipplingSDK.CustomFields = CustomFields;
1449
1459
  RipplingSDK.CustomPages = CustomPages;
1450
1460
  RipplingSDK.CustomSettings = CustomSettings;
1451
1461
  RipplingSDK.DraftHires = DraftHires;
1462
+ RipplingSDK.EarningTypes = EarningTypes;
1452
1463
  RipplingSDK.Entitlements = Entitlements;
1453
1464
  RipplingSDK.HeadcountPositions = HeadcountPositions;
1454
1465
  RipplingSDK.HeadcountPriorities = HeadcountPriorities;
@@ -1457,15 +1468,15 @@ RipplingSDK.JobRequisitionsWrite = JobRequisitionsWrite;
1457
1468
  RipplingSDK.LeaveAccruals = LeaveAccruals;
1458
1469
  RipplingSDK.LocationFactors = LocationFactors;
1459
1470
  RipplingSDK.Metadata = Metadata;
1471
+ RipplingSDK.PayrollRuns = PayrollRuns;
1460
1472
  RipplingSDK.PlatformCapabilities = PlatformCapabilities;
1473
+ RipplingSDK.Reports = Reports;
1461
1474
  RipplingSDK.ReportRuns = ReportRuns;
1462
- RipplingSDK.RunQuery = RunQuery;
1463
1475
  RipplingSDK.Schedules = Schedules;
1464
- RipplingSDK.SendEmail = SendEmail;
1465
- RipplingSDK.SendSlack = SendSlack;
1466
1476
  RipplingSDK.Shiftassignments = Shiftassignments;
1467
1477
  RipplingSDK.Titles = Titles;
1468
1478
  RipplingSDK.Unassignedshifts = Unassignedshifts;
1479
+ RipplingSDK.WorkflowActionExecutions = WorkflowActionExecutions;
1469
1480
  RipplingSDK.ShiftAssignments = ShiftAssignments;
1470
1481
  RipplingSDK.UnassignedShifts = UnassignedShifts;
1471
1482
 
@@ -1741,6 +1752,7 @@ export declare namespace RipplingSDK {
1741
1752
  type FunctionListParams as FunctionListParams,
1742
1753
  type FunctionCreateParams as FunctionCreateParams,
1743
1754
  type FunctionUpdateParams as FunctionUpdateParams,
1755
+ type FunctionCreateDevBundleParams as FunctionCreateDevBundleParams,
1744
1756
  };
1745
1757
 
1746
1758
  export {
@@ -1790,12 +1802,6 @@ export declare namespace RipplingSDK {
1790
1802
  type CompensationBandsDetailRetrieveParams as CompensationBandsDetailRetrieveParams,
1791
1803
  };
1792
1804
 
1793
- export {
1794
- CreateAppNotification as CreateAppNotification,
1795
- type CreateAppNotificationCreateResponse as CreateAppNotificationCreateResponse,
1796
- type CreateAppNotificationCreateParams as CreateAppNotificationCreateParams,
1797
- };
1798
-
1799
1805
  export {
1800
1806
  CustomApps as CustomApps,
1801
1807
  type CustomAppListResponse as CustomAppListResponse,
@@ -1843,6 +1849,12 @@ export declare namespace RipplingSDK {
1843
1849
  type DraftHireCreateParams as DraftHireCreateParams,
1844
1850
  };
1845
1851
 
1852
+ export {
1853
+ EarningTypes as EarningTypes,
1854
+ type EarningTypeListResponse as EarningTypeListResponse,
1855
+ type EarningTypeListResponsesPageCursorURL as EarningTypeListResponsesPageCursorURL,
1856
+ };
1857
+
1846
1858
  export {
1847
1859
  Entitlements as Entitlements,
1848
1860
  type EntitlementListResponse as EntitlementListResponse,
@@ -1905,12 +1917,22 @@ export declare namespace RipplingSDK {
1905
1917
  type MetadataListResponsesPageCursorURL as MetadataListResponsesPageCursorURL,
1906
1918
  };
1907
1919
 
1920
+ export {
1921
+ PayrollRuns as PayrollRuns,
1922
+ type PayrollRunListResponse as PayrollRunListResponse,
1923
+ type PayrollRunRetrieveResponse as PayrollRunRetrieveResponse,
1924
+ type PayrollRunListResponsesPageCursorURL as PayrollRunListResponsesPageCursorURL,
1925
+ type PayrollRunListParams as PayrollRunListParams,
1926
+ };
1927
+
1908
1928
  export {
1909
1929
  PlatformCapabilities as PlatformCapabilities,
1910
1930
  type PlatformCapabilityListResponse as PlatformCapabilityListResponse,
1911
1931
  type PlatformCapabilityListResponsesPageCursorURL as PlatformCapabilityListResponsesPageCursorURL,
1912
1932
  };
1913
1933
 
1934
+ export { Reports as Reports, type ReportRetrieveResponse as ReportRetrieveResponse };
1935
+
1914
1936
  export {
1915
1937
  ReportRuns as ReportRuns,
1916
1938
  type ReportRunCreateResponse as ReportRunCreateResponse,
@@ -1918,12 +1940,6 @@ export declare namespace RipplingSDK {
1918
1940
  type ReportRunCreateParams as ReportRunCreateParams,
1919
1941
  };
1920
1942
 
1921
- export {
1922
- RunQuery as RunQuery,
1923
- type RunQueryCreateResponse as RunQueryCreateResponse,
1924
- type RunQueryCreateParams as RunQueryCreateParams,
1925
- };
1926
-
1927
1943
  export {
1928
1944
  Schedules as Schedules,
1929
1945
  type ScheduleListResponse as ScheduleListResponse,
@@ -1937,18 +1953,6 @@ export declare namespace RipplingSDK {
1937
1953
  type ScheduleUpdateParams as ScheduleUpdateParams,
1938
1954
  };
1939
1955
 
1940
- export {
1941
- SendEmail as SendEmail,
1942
- type SendEmailCreateResponse as SendEmailCreateResponse,
1943
- type SendEmailCreateParams as SendEmailCreateParams,
1944
- };
1945
-
1946
- export {
1947
- SendSlack as SendSlack,
1948
- type SendSlackCreateResponse as SendSlackCreateResponse,
1949
- type SendSlackCreateParams as SendSlackCreateParams,
1950
- };
1951
-
1952
1956
  export {
1953
1957
  Shiftassignments as Shiftassignments,
1954
1958
  type ShiftassignmentListResponse as ShiftassignmentListResponse,
@@ -1987,6 +1991,12 @@ export declare namespace RipplingSDK {
1987
1991
  type UnassignedshiftUpdateParams as UnassignedshiftUpdateParams,
1988
1992
  };
1989
1993
 
1994
+ export {
1995
+ WorkflowActionExecutions as WorkflowActionExecutions,
1996
+ type WorkflowActionExecutionCreateResponse as WorkflowActionExecutionCreateResponse,
1997
+ type WorkflowActionExecutionCreateParams as WorkflowActionExecutionCreateParams,
1998
+ };
1999
+
1990
2000
  export {
1991
2001
  ShiftAssignments as ShiftAssignments,
1992
2002
  type ShiftAssignmentUpdateCustomfieldsResponse as ShiftAssignmentUpdateCustomfieldsResponse,
@@ -9,10 +9,10 @@
9
9
  */
10
10
  export const readEnv = (env: string): string | undefined => {
11
11
  if (typeof (globalThis as any).process !== 'undefined') {
12
- return (globalThis as any).process.env?.[env]?.trim() ?? undefined;
12
+ return (globalThis as any).process.env?.[env]?.trim() || undefined;
13
13
  }
14
14
  if (typeof (globalThis as any).Deno !== 'undefined') {
15
- return (globalThis as any).Deno.env?.get?.(env)?.trim();
15
+ return (globalThis as any).Deno.env?.get?.(env)?.trim() || undefined;
16
16
  }
17
17
  return undefined;
18
18
  };
@@ -14,7 +14,7 @@ import { path } from '../internal/utils/path';
14
14
  */
15
15
  export class BusinessPartnerGroups extends APIResource {
16
16
  /**
17
- * A List of business partner groups
17
+ * A list of business partner groups.
18
18
  *
19
19
  * - Requires: `API Tier 1`
20
20
  * - Expandable fields: `default_business_partner`
@@ -15,7 +15,7 @@ import { path } from '../internal/utils/path';
15
15
  */
16
16
  export class BusinessPartners extends APIResource {
17
17
  /**
18
- * A List of business partners
18
+ * A list of business partners.
19
19
  *
20
20
  * - Requires: `API Tier 1`
21
21
  * - Filterable fields: `worker_id`, `business_partner_group_id`
@@ -10,7 +10,7 @@ import { RequestOptions } from '../internal/request-options';
10
10
  */
11
11
  export class CandidateApplications extends APIResource {
12
12
  /**
13
- * A List of candidate applications
13
+ * A list of candidate applications.
14
14
  *
15
15
  * - Requires: `API Tier 2`
16
16
  * - Expandable fields: `job`
@@ -9,7 +9,7 @@ import { RequestOptions } from '../internal/request-options';
9
9
  */
10
10
  export class Candidates extends APIResource {
11
11
  /**
12
- * A List of candidates
12
+ * A list of candidates.
13
13
  *
14
14
  * - Requires: `API Tier 2`
15
15
  * - Sortable fields: `id`, `created_at`, `updated_at`
@@ -11,7 +11,7 @@ import { RequestOptions } from '../internal/request-options';
11
11
  */
12
12
  export class Companies extends APIResource {
13
13
  /**
14
- * A List of companies
14
+ * A list of companies.
15
15
  *
16
16
  * - Requires: `API Tier 1`
17
17
  * - Expandable fields: `parent_legal_entity`, `legal_entities`
@@ -13,7 +13,7 @@ import { path } from '../internal/utils/path';
13
13
  */
14
14
  export class CompensationBandsDetails extends APIResource {
15
15
  /**
16
- * A List of compensation bands details
16
+ * A list of compensation bands details.
17
17
  *
18
18
  * - Requires: `API Tier 2`
19
19
  * - Filterable fields: `created_at`, `updated_at`, `internal_job_code`,
@@ -13,7 +13,7 @@ import { path } from '../internal/utils/path';
13
13
  */
14
14
  export class Compensations extends APIResource {
15
15
  /**
16
- * A List of compensations
16
+ * A list of compensations.
17
17
  *
18
18
  * - Requires: `API Tier 2`
19
19
  * - Expandable fields: `worker`
@@ -10,9 +10,9 @@ import { path } from '../internal/utils/path';
10
10
 
11
11
  export class CustomApps extends APIResource {
12
12
  /**
13
- * A List of CustomApp
13
+ * A list of CustomApp.
14
14
  *
15
- * - Requires: `API Tier 1`
15
+ * - Requires: `Custom Apps Platform API`
16
16
  */
17
17
  list(options?: RequestOptions): PagePromise<CustomAppListResponsesPageCursorURL, CustomAppListResponse> {
18
18
  return this._client.getAPIList('/custom-apps/', PageCursorURL<CustomAppListResponse>, options);
@@ -33,7 +33,7 @@ export class CustomApps extends APIResource {
33
33
  }
34
34
 
35
35
  /**
36
- * Updated a specific CustomApp
36
+ * Update a specific CustomApp.
37
37
  */
38
38
  update(
39
39
  id: string,
@@ -9,7 +9,7 @@ import { RequestOptions } from '../internal/request-options';
9
9
  */
10
10
  export class CustomFields extends APIResource {
11
11
  /**
12
- * A List of custom fields
12
+ * A list of custom fields.
13
13
  *
14
14
  * - Requires: `API Tier 1`
15
15
  * - Sortable fields: `id`, `created_at`, `updated_at`
@@ -40,7 +40,7 @@ export class CustomObjects extends APIResource {
40
40
  records: RecordsAPI.Records = new RecordsAPI.Records(this._client);
41
41
 
42
42
  /**
43
- * A List of custom objects
43
+ * A list of custom objects.
44
44
  *
45
45
  * - Requires: `API Tier 1`
46
46
  */
@@ -49,7 +49,7 @@ export class CustomObjects extends APIResource {
49
49
  }
50
50
 
51
51
  /**
52
- * Create a new custom object
52
+ * Create a new custom object.
53
53
  */
54
54
  create(
55
55
  body: CustomObjectCreateParams | null | undefined = {},
@@ -59,14 +59,14 @@ export class CustomObjects extends APIResource {
59
59
  }
60
60
 
61
61
  /**
62
- * Retrieve a specific custom object
62
+ * Retrieve a specific custom object.
63
63
  */
64
64
  retrieve(customObjectAPIName: string, options?: RequestOptions): APIPromise<CustomObject> {
65
65
  return this._client.get(path`/custom-objects/${customObjectAPIName}/`, options);
66
66
  }
67
67
 
68
68
  /**
69
- * Updated a specific custom object
69
+ * Update a specific custom object.
70
70
  */
71
71
  update(
72
72
  customObjectAPIName: string,
@@ -77,7 +77,7 @@ export class CustomObjects extends APIResource {
77
77
  }
78
78
 
79
79
  /**
80
- * Delete a custom object
80
+ * Delete a custom object.
81
81
  */
82
82
  delete(customObjectAPIName: string, options?: RequestOptions): APIPromise<void> {
83
83
  return this._client.delete(path`/custom-objects/${customObjectAPIName}/`, {
@@ -152,22 +152,46 @@ export interface CustomObject {
152
152
  }
153
153
 
154
154
  export interface CustomObjectCreateParams {
155
+ /**
156
+ * The category that this custom object belongs to.
157
+ */
155
158
  category?: string;
156
159
 
160
+ /**
161
+ * A description of the custom object.
162
+ */
157
163
  description?: string;
158
164
 
165
+ /**
166
+ * The name of the custom object.
167
+ */
159
168
  name?: string;
160
169
  }
161
170
 
162
171
  export interface CustomObjectUpdateParams {
172
+ /**
173
+ * The category that this custom object belongs to.
174
+ */
163
175
  category?: string;
164
176
 
177
+ /**
178
+ * A description of the custom object.
179
+ */
165
180
  description?: string;
166
181
 
182
+ /**
183
+ * The name of the custom object.
184
+ */
167
185
  name?: string;
168
186
 
187
+ /**
188
+ * The role that owns this custom object.
189
+ */
169
190
  owner_role?: string;
170
191
 
192
+ /**
193
+ * The plural label for the custom object.
194
+ */
171
195
  plural_label?: string;
172
196
  }
173
197
 
@@ -12,7 +12,7 @@ import { path } from '../../internal/utils/path';
12
12
  */
13
13
  export class Fields extends APIResource {
14
14
  /**
15
- * A List of custom object fields
15
+ * A list of custom object fields.
16
16
  *
17
17
  * - Requires: `API Tier 1`
18
18
  */
@@ -28,7 +28,7 @@ export class Fields extends APIResource {
28
28
  }
29
29
 
30
30
  /**
31
- * Create a new custom object field
31
+ * Create a new custom object field.
32
32
  */
33
33
  create(
34
34
  customObjectAPIName: string,
@@ -39,7 +39,7 @@ export class Fields extends APIResource {
39
39
  }
40
40
 
41
41
  /**
42
- * Retrieve a specific custom object field
42
+ * Retrieve a specific custom object field.
43
43
  */
44
44
  retrieve(
45
45
  customObjectAPIName: string,
@@ -50,7 +50,7 @@ export class Fields extends APIResource {
50
50
  }
51
51
 
52
52
  /**
53
- * Updated a specific custom object field
53
+ * Update a specific custom object field.
54
54
  */
55
55
  update(
56
56
  customObjectAPIName: string,
@@ -65,7 +65,7 @@ export class Fields extends APIResource {
65
65
  }
66
66
 
67
67
  /**
68
- * Delete a custom object field
68
+ * Delete a custom object field.
69
69
  */
70
70
  delete(customObjectAPIName: string, fieldAPIName: string, options?: RequestOptions): APIPromise<void> {
71
71
  return this._client.delete(path`/custom-objects/${customObjectAPIName}/fields/${fieldAPIName}/`, {
@@ -145,50 +145,116 @@ export interface CustomObjectField {
145
145
  }
146
146
 
147
147
  export interface FieldCreateParams {
148
+ /**
149
+ * The data type configuration for the field.
150
+ */
148
151
  data_type?: unknown;
149
152
 
153
+ /**
154
+ * Configuration for derived aggregated fields.
155
+ */
150
156
  derived_aggregated_field?: unknown;
151
157
 
158
+ /**
159
+ * The formula for derived fields.
160
+ */
152
161
  derived_field_formula?: string;
153
162
 
163
+ /**
164
+ * A description of the field.
165
+ */
154
166
  description?: string;
155
167
 
168
+ /**
169
+ * Whether to track history for this field.
170
+ */
156
171
  enable_history?: boolean;
157
172
 
173
+ /**
174
+ * Metadata for formula attributes.
175
+ */
158
176
  formula_attr_metas?: unknown;
159
177
 
178
+ /**
179
+ * Whether field values must be unique.
180
+ */
160
181
  is_unique?: boolean;
161
182
 
183
+ /**
184
+ * The name of the field.
185
+ */
162
186
  name?: string;
163
187
 
188
+ /**
189
+ * Whether this field is required.
190
+ */
164
191
  required?: boolean;
165
192
 
193
+ /**
194
+ * The RQL definition for computed fields.
195
+ */
166
196
  rql_definition?: unknown;
167
197
 
198
+ /**
199
+ * The section configuration for the field.
200
+ */
168
201
  section?: unknown;
169
202
  }
170
203
 
171
204
  export interface FieldUpdateParams {
205
+ /**
206
+ * The data type configuration for the field.
207
+ */
172
208
  data_type?: unknown;
173
209
 
210
+ /**
211
+ * The formula for derived fields.
212
+ */
174
213
  derived_field_formula?: string;
175
214
 
215
+ /**
216
+ * A description of the field.
217
+ */
176
218
  description?: string;
177
219
 
220
+ /**
221
+ * Whether to track history for this field.
222
+ */
178
223
  enable_history?: boolean;
179
224
 
225
+ /**
226
+ * Metadata for formula attributes.
227
+ */
180
228
  formula_attr_metas?: unknown;
181
229
 
230
+ /**
231
+ * Whether field values must be unique.
232
+ */
182
233
  is_unique?: boolean;
183
234
 
235
+ /**
236
+ * The name of the field.
237
+ */
184
238
  name?: string;
185
239
 
240
+ /**
241
+ * Configuration for name field display.
242
+ */
186
243
  name_field_details?: unknown;
187
244
 
245
+ /**
246
+ * Whether this field is required.
247
+ */
188
248
  required?: boolean;
189
249
 
250
+ /**
251
+ * The RQL definition for computed fields.
252
+ */
190
253
  rql_definition?: unknown;
191
254
 
255
+ /**
256
+ * The section configuration for the field.
257
+ */
192
258
  section?: unknown;
193
259
  }
194
260