@rippling/rippling-sdk 0.2.0-alpha.21 → 0.2.0-alpha.23

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 (423) hide show
  1. package/client.d.mts +42 -38
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +42 -38
  4. package/client.d.ts.map +1 -1
  5. package/client.js +18 -18
  6. package/client.js.map +1 -1
  7. package/client.mjs +18 -18
  8. package/client.mjs.map +1 -1
  9. package/internal/to-file.d.mts +1 -1
  10. package/internal/to-file.d.ts +1 -1
  11. package/internal/to-file.js +1 -1
  12. package/internal/to-file.mjs +1 -1
  13. package/internal/utils/values.js +3 -3
  14. package/internal/utils/values.js.map +1 -1
  15. package/internal/utils/values.mjs +3 -3
  16. package/internal/utils/values.mjs.map +1 -1
  17. package/package.json +1 -1
  18. package/resources/business-partner-groups.d.mts +13 -13
  19. package/resources/business-partner-groups.d.mts.map +1 -1
  20. package/resources/business-partner-groups.d.ts +13 -13
  21. package/resources/business-partner-groups.d.ts.map +1 -1
  22. package/resources/business-partner-groups.js +12 -12
  23. package/resources/business-partner-groups.js.map +1 -1
  24. package/resources/business-partner-groups.mjs +12 -12
  25. package/resources/business-partner-groups.mjs.map +1 -1
  26. package/resources/business-partners.d.mts +14 -14
  27. package/resources/business-partners.d.mts.map +1 -1
  28. package/resources/business-partners.d.ts +14 -14
  29. package/resources/business-partners.d.ts.map +1 -1
  30. package/resources/business-partners.js +12 -12
  31. package/resources/business-partners.js.map +1 -1
  32. package/resources/business-partners.mjs +12 -12
  33. package/resources/business-partners.mjs.map +1 -1
  34. package/resources/compensations.d.mts +8 -8
  35. package/resources/compensations.d.mts.map +1 -1
  36. package/resources/compensations.d.ts +8 -8
  37. package/resources/compensations.d.ts.map +1 -1
  38. package/resources/compensations.js +6 -6
  39. package/resources/compensations.js.map +1 -1
  40. package/resources/compensations.mjs +6 -6
  41. package/resources/compensations.mjs.map +1 -1
  42. package/resources/custom-objects/custom-objects.d.mts +7 -7
  43. package/resources/custom-objects/custom-objects.d.mts.map +1 -1
  44. package/resources/custom-objects/custom-objects.d.ts +7 -7
  45. package/resources/custom-objects/custom-objects.d.ts.map +1 -1
  46. package/resources/custom-objects/custom-objects.js +8 -8
  47. package/resources/custom-objects/custom-objects.js.map +1 -1
  48. package/resources/custom-objects/custom-objects.mjs +8 -8
  49. package/resources/custom-objects/custom-objects.mjs.map +1 -1
  50. package/resources/custom-objects/fields.d.mts +6 -6
  51. package/resources/custom-objects/fields.d.mts.map +1 -1
  52. package/resources/custom-objects/fields.d.ts +6 -6
  53. package/resources/custom-objects/fields.d.ts.map +1 -1
  54. package/resources/custom-objects/fields.js +8 -8
  55. package/resources/custom-objects/fields.js.map +1 -1
  56. package/resources/custom-objects/fields.mjs +8 -8
  57. package/resources/custom-objects/fields.mjs.map +1 -1
  58. package/resources/custom-objects/index.d.mts +1 -1
  59. package/resources/custom-objects/index.d.mts.map +1 -1
  60. package/resources/custom-objects/index.d.ts +1 -1
  61. package/resources/custom-objects/index.d.ts.map +1 -1
  62. package/resources/custom-objects/records.d.mts +32 -32
  63. package/resources/custom-objects/records.d.mts.map +1 -1
  64. package/resources/custom-objects/records.d.ts +32 -32
  65. package/resources/custom-objects/records.d.ts.map +1 -1
  66. package/resources/custom-objects/records.js +27 -27
  67. package/resources/custom-objects/records.js.map +1 -1
  68. package/resources/custom-objects/records.mjs +27 -27
  69. package/resources/custom-objects/records.mjs.map +1 -1
  70. package/resources/departments.d.mts +8 -8
  71. package/resources/departments.d.mts.map +1 -1
  72. package/resources/departments.d.ts +8 -8
  73. package/resources/departments.d.ts.map +1 -1
  74. package/resources/departments.js +6 -6
  75. package/resources/departments.js.map +1 -1
  76. package/resources/departments.mjs +6 -6
  77. package/resources/departments.mjs.map +1 -1
  78. package/resources/draft-hires.d.mts +415 -0
  79. package/resources/draft-hires.d.mts.map +1 -0
  80. package/resources/draft-hires.d.ts +415 -0
  81. package/resources/draft-hires.d.ts.map +1 -0
  82. package/resources/draft-hires.js +15 -0
  83. package/resources/draft-hires.js.map +1 -0
  84. package/resources/draft-hires.mjs +11 -0
  85. package/resources/draft-hires.mjs.map +1 -0
  86. package/resources/employment-types.d.mts +4 -4
  87. package/resources/employment-types.d.mts.map +1 -1
  88. package/resources/employment-types.d.ts +4 -4
  89. package/resources/employment-types.d.ts.map +1 -1
  90. package/resources/employment-types.js +6 -6
  91. package/resources/employment-types.js.map +1 -1
  92. package/resources/employment-types.mjs +6 -6
  93. package/resources/employment-types.mjs.map +1 -1
  94. package/resources/functions/deployments.d.mts +7 -7
  95. package/resources/functions/deployments.d.mts.map +1 -1
  96. package/resources/functions/deployments.d.ts +7 -7
  97. package/resources/functions/deployments.d.ts.map +1 -1
  98. package/resources/functions/deployments.js +9 -9
  99. package/resources/functions/deployments.js.map +1 -1
  100. package/resources/functions/deployments.mjs +9 -9
  101. package/resources/functions/deployments.mjs.map +1 -1
  102. package/resources/functions/executions.d.mts +15 -15
  103. package/resources/functions/executions.d.mts.map +1 -1
  104. package/resources/functions/executions.d.ts +15 -15
  105. package/resources/functions/executions.d.ts.map +1 -1
  106. package/resources/functions/executions.js +10 -10
  107. package/resources/functions/executions.js.map +1 -1
  108. package/resources/functions/executions.mjs +10 -10
  109. package/resources/functions/executions.mjs.map +1 -1
  110. package/resources/functions/functions.d.mts +12 -12
  111. package/resources/functions/functions.d.mts.map +1 -1
  112. package/resources/functions/functions.d.ts +12 -12
  113. package/resources/functions/functions.d.ts.map +1 -1
  114. package/resources/functions/functions.js +9 -9
  115. package/resources/functions/functions.js.map +1 -1
  116. package/resources/functions/functions.mjs +9 -9
  117. package/resources/functions/functions.mjs.map +1 -1
  118. package/resources/functions/index.d.mts +2 -2
  119. package/resources/functions/index.d.mts.map +1 -1
  120. package/resources/functions/index.d.ts +2 -2
  121. package/resources/functions/index.d.ts.map +1 -1
  122. package/resources/headcount-positions.d.mts +74 -44
  123. package/resources/headcount-positions.d.mts.map +1 -1
  124. package/resources/headcount-positions.d.ts +74 -44
  125. package/resources/headcount-positions.d.ts.map +1 -1
  126. package/resources/headcount-positions.js +7 -7
  127. package/resources/headcount-positions.js.map +1 -1
  128. package/resources/headcount-positions.mjs +7 -7
  129. package/resources/headcount-positions.mjs.map +1 -1
  130. package/resources/headcount-priorities.d.mts +11 -11
  131. package/resources/headcount-priorities.d.mts.map +1 -1
  132. package/resources/headcount-priorities.d.ts +11 -11
  133. package/resources/headcount-priorities.d.ts.map +1 -1
  134. package/resources/headcount-priorities.js +7 -7
  135. package/resources/headcount-priorities.js.map +1 -1
  136. package/resources/headcount-priorities.mjs +7 -7
  137. package/resources/headcount-priorities.mjs.map +1 -1
  138. package/resources/index.d.mts +27 -25
  139. package/resources/index.d.mts.map +1 -1
  140. package/resources/index.d.ts +27 -25
  141. package/resources/index.d.ts.map +1 -1
  142. package/resources/index.js +5 -1
  143. package/resources/index.js.map +1 -1
  144. package/resources/index.mjs +2 -0
  145. package/resources/index.mjs.map +1 -1
  146. package/resources/job-assignments.d.mts +8 -8
  147. package/resources/job-assignments.d.mts.map +1 -1
  148. package/resources/job-assignments.d.ts +8 -8
  149. package/resources/job-assignments.d.ts.map +1 -1
  150. package/resources/job-assignments.js +6 -6
  151. package/resources/job-assignments.js.map +1 -1
  152. package/resources/job-assignments.mjs +6 -6
  153. package/resources/job-assignments.mjs.map +1 -1
  154. package/resources/job-codes.d.mts +16 -16
  155. package/resources/job-codes.d.mts.map +1 -1
  156. package/resources/job-codes.d.ts +16 -16
  157. package/resources/job-codes.d.ts.map +1 -1
  158. package/resources/job-codes.js +12 -12
  159. package/resources/job-codes.js.map +1 -1
  160. package/resources/job-codes.mjs +12 -12
  161. package/resources/job-codes.mjs.map +1 -1
  162. package/resources/job-dimensions.d.mts +13 -13
  163. package/resources/job-dimensions.d.mts.map +1 -1
  164. package/resources/job-dimensions.d.ts +13 -13
  165. package/resources/job-dimensions.d.ts.map +1 -1
  166. package/resources/job-dimensions.js +10 -10
  167. package/resources/job-dimensions.js.map +1 -1
  168. package/resources/job-dimensions.mjs +10 -10
  169. package/resources/job-dimensions.mjs.map +1 -1
  170. package/resources/job-functions.d.mts +11 -11
  171. package/resources/job-functions.d.mts.map +1 -1
  172. package/resources/job-functions.d.ts +11 -11
  173. package/resources/job-functions.d.ts.map +1 -1
  174. package/resources/job-functions.js +7 -7
  175. package/resources/job-functions.js.map +1 -1
  176. package/resources/job-functions.mjs +7 -7
  177. package/resources/job-functions.mjs.map +1 -1
  178. package/resources/job-pay-rate-exceptions.d.mts +8 -8
  179. package/resources/job-pay-rate-exceptions.d.mts.map +1 -1
  180. package/resources/job-pay-rate-exceptions.d.ts +8 -8
  181. package/resources/job-pay-rate-exceptions.d.ts.map +1 -1
  182. package/resources/job-pay-rate-exceptions.js +6 -6
  183. package/resources/job-pay-rate-exceptions.js.map +1 -1
  184. package/resources/job-pay-rate-exceptions.mjs +6 -6
  185. package/resources/job-pay-rate-exceptions.mjs.map +1 -1
  186. package/resources/kiosk-badges.d.mts +22 -22
  187. package/resources/kiosk-badges.d.mts.map +1 -1
  188. package/resources/kiosk-badges.d.ts +22 -22
  189. package/resources/kiosk-badges.d.ts.map +1 -1
  190. package/resources/kiosk-badges.js +14 -14
  191. package/resources/kiosk-badges.js.map +1 -1
  192. package/resources/kiosk-badges.mjs +14 -14
  193. package/resources/kiosk-badges.mjs.map +1 -1
  194. package/resources/leave-accruals.d.mts +205 -0
  195. package/resources/leave-accruals.d.mts.map +1 -0
  196. package/resources/leave-accruals.d.ts +205 -0
  197. package/resources/leave-accruals.d.ts.map +1 -0
  198. package/resources/leave-accruals.js +22 -0
  199. package/resources/leave-accruals.js.map +1 -0
  200. package/resources/leave-accruals.mjs +18 -0
  201. package/resources/leave-accruals.mjs.map +1 -0
  202. package/resources/leave-balances.d.mts +8 -8
  203. package/resources/leave-balances.d.mts.map +1 -1
  204. package/resources/leave-balances.d.ts +8 -8
  205. package/resources/leave-balances.d.ts.map +1 -1
  206. package/resources/leave-balances.js +6 -6
  207. package/resources/leave-balances.js.map +1 -1
  208. package/resources/leave-balances.mjs +6 -6
  209. package/resources/leave-balances.mjs.map +1 -1
  210. package/resources/leave-requests.d.mts +31 -31
  211. package/resources/leave-requests.d.mts.map +1 -1
  212. package/resources/leave-requests.d.ts +31 -31
  213. package/resources/leave-requests.d.ts.map +1 -1
  214. package/resources/leave-requests.js +15 -15
  215. package/resources/leave-requests.js.map +1 -1
  216. package/resources/leave-requests.mjs +15 -15
  217. package/resources/leave-requests.mjs.map +1 -1
  218. package/resources/leave-types.d.mts +4 -4
  219. package/resources/leave-types.d.mts.map +1 -1
  220. package/resources/leave-types.d.ts +4 -4
  221. package/resources/leave-types.d.ts.map +1 -1
  222. package/resources/leave-types.js +6 -6
  223. package/resources/leave-types.js.map +1 -1
  224. package/resources/leave-types.mjs +6 -6
  225. package/resources/leave-types.mjs.map +1 -1
  226. package/resources/legal-entities.d.mts +9 -9
  227. package/resources/legal-entities.d.mts.map +1 -1
  228. package/resources/legal-entities.d.ts +9 -9
  229. package/resources/legal-entities.d.ts.map +1 -1
  230. package/resources/legal-entities.js +6 -6
  231. package/resources/legal-entities.js.map +1 -1
  232. package/resources/legal-entities.mjs +6 -6
  233. package/resources/legal-entities.mjs.map +1 -1
  234. package/resources/levels.d.mts +8 -8
  235. package/resources/levels.d.mts.map +1 -1
  236. package/resources/levels.d.ts +8 -8
  237. package/resources/levels.d.ts.map +1 -1
  238. package/resources/levels.js +6 -6
  239. package/resources/levels.js.map +1 -1
  240. package/resources/levels.mjs +6 -6
  241. package/resources/levels.mjs.map +1 -1
  242. package/resources/location-factors.d.mts +17 -17
  243. package/resources/location-factors.d.mts.map +1 -1
  244. package/resources/location-factors.d.ts +17 -17
  245. package/resources/location-factors.d.ts.map +1 -1
  246. package/resources/location-factors.js +7 -7
  247. package/resources/location-factors.js.map +1 -1
  248. package/resources/location-factors.mjs +7 -7
  249. package/resources/location-factors.mjs.map +1 -1
  250. package/resources/object-categories.d.mts +6 -6
  251. package/resources/object-categories.d.mts.map +1 -1
  252. package/resources/object-categories.d.ts +6 -6
  253. package/resources/object-categories.d.ts.map +1 -1
  254. package/resources/object-categories.js +8 -8
  255. package/resources/object-categories.js.map +1 -1
  256. package/resources/object-categories.mjs +8 -8
  257. package/resources/object-categories.mjs.map +1 -1
  258. package/resources/schedules.d.mts +154 -12
  259. package/resources/schedules.d.mts.map +1 -1
  260. package/resources/schedules.d.ts +154 -12
  261. package/resources/schedules.d.ts.map +1 -1
  262. package/resources/schedules.js +12 -6
  263. package/resources/schedules.js.map +1 -1
  264. package/resources/schedules.mjs +12 -6
  265. package/resources/schedules.mjs.map +1 -1
  266. package/resources/shared.d.mts +1 -1
  267. package/resources/shared.d.mts.map +1 -1
  268. package/resources/shared.d.ts +1 -1
  269. package/resources/shared.d.ts.map +1 -1
  270. package/resources/shift-inputs.d.mts +22 -22
  271. package/resources/shift-inputs.d.mts.map +1 -1
  272. package/resources/shift-inputs.d.ts +22 -22
  273. package/resources/shift-inputs.d.ts.map +1 -1
  274. package/resources/shift-inputs.js +14 -14
  275. package/resources/shift-inputs.js.map +1 -1
  276. package/resources/shift-inputs.mjs +14 -14
  277. package/resources/shift-inputs.mjs.map +1 -1
  278. package/resources/shiftassignments.d.mts +55 -21
  279. package/resources/shiftassignments.d.mts.map +1 -1
  280. package/resources/shiftassignments.d.ts +55 -21
  281. package/resources/shiftassignments.d.ts.map +1 -1
  282. package/resources/shiftassignments.js +6 -6
  283. package/resources/shiftassignments.js.map +1 -1
  284. package/resources/shiftassignments.mjs +6 -6
  285. package/resources/shiftassignments.mjs.map +1 -1
  286. package/resources/supergroups/exclusion-members.d.mts +8 -8
  287. package/resources/supergroups/exclusion-members.d.mts.map +1 -1
  288. package/resources/supergroups/exclusion-members.d.ts +8 -8
  289. package/resources/supergroups/exclusion-members.d.ts.map +1 -1
  290. package/resources/supergroups/exclusion-members.js +6 -6
  291. package/resources/supergroups/exclusion-members.js.map +1 -1
  292. package/resources/supergroups/exclusion-members.mjs +6 -6
  293. package/resources/supergroups/exclusion-members.mjs.map +1 -1
  294. package/resources/supergroups/inclusion-members.d.mts +8 -8
  295. package/resources/supergroups/inclusion-members.d.mts.map +1 -1
  296. package/resources/supergroups/inclusion-members.d.ts +8 -8
  297. package/resources/supergroups/inclusion-members.d.ts.map +1 -1
  298. package/resources/supergroups/inclusion-members.js +6 -6
  299. package/resources/supergroups/inclusion-members.js.map +1 -1
  300. package/resources/supergroups/inclusion-members.mjs +6 -6
  301. package/resources/supergroups/inclusion-members.mjs.map +1 -1
  302. package/resources/supergroups/index.d.mts +2 -2
  303. package/resources/supergroups/index.d.mts.map +1 -1
  304. package/resources/supergroups/index.d.ts +2 -2
  305. package/resources/supergroups/index.d.ts.map +1 -1
  306. package/resources/supergroups/supergroups.d.mts +6 -6
  307. package/resources/supergroups/supergroups.d.mts.map +1 -1
  308. package/resources/supergroups/supergroups.d.ts +6 -6
  309. package/resources/supergroups/supergroups.d.ts.map +1 -1
  310. package/resources/supergroups/supergroups.js +6 -6
  311. package/resources/supergroups/supergroups.js.map +1 -1
  312. package/resources/supergroups/supergroups.mjs +6 -6
  313. package/resources/supergroups/supergroups.mjs.map +1 -1
  314. package/resources/teams.d.mts +8 -8
  315. package/resources/teams.d.mts.map +1 -1
  316. package/resources/teams.d.ts +8 -8
  317. package/resources/teams.d.ts.map +1 -1
  318. package/resources/teams.js +6 -6
  319. package/resources/teams.js.map +1 -1
  320. package/resources/teams.mjs +6 -6
  321. package/resources/teams.mjs.map +1 -1
  322. package/resources/time-cards.d.mts +8 -8
  323. package/resources/time-cards.d.mts.map +1 -1
  324. package/resources/time-cards.d.ts +8 -8
  325. package/resources/time-cards.d.ts.map +1 -1
  326. package/resources/time-cards.js +6 -6
  327. package/resources/time-cards.js.map +1 -1
  328. package/resources/time-cards.mjs +6 -6
  329. package/resources/time-cards.mjs.map +1 -1
  330. package/resources/time-entries.d.mts +58 -58
  331. package/resources/time-entries.d.mts.map +1 -1
  332. package/resources/time-entries.d.ts +58 -58
  333. package/resources/time-entries.d.ts.map +1 -1
  334. package/resources/time-entries.js +14 -14
  335. package/resources/time-entries.js.map +1 -1
  336. package/resources/time-entries.mjs +14 -14
  337. package/resources/time-entries.mjs.map +1 -1
  338. package/resources/tracks.d.mts +4 -4
  339. package/resources/tracks.d.mts.map +1 -1
  340. package/resources/tracks.d.ts +4 -4
  341. package/resources/tracks.d.ts.map +1 -1
  342. package/resources/tracks.js +6 -6
  343. package/resources/tracks.js.map +1 -1
  344. package/resources/tracks.mjs +6 -6
  345. package/resources/tracks.mjs.map +1 -1
  346. package/resources/users.d.mts +4 -4
  347. package/resources/users.d.mts.map +1 -1
  348. package/resources/users.d.ts +4 -4
  349. package/resources/users.d.ts.map +1 -1
  350. package/resources/users.js +6 -6
  351. package/resources/users.js.map +1 -1
  352. package/resources/users.mjs +6 -6
  353. package/resources/users.mjs.map +1 -1
  354. package/resources/work-locations.d.mts +4 -4
  355. package/resources/work-locations.d.mts.map +1 -1
  356. package/resources/work-locations.d.ts +4 -4
  357. package/resources/work-locations.d.ts.map +1 -1
  358. package/resources/work-locations.js +6 -6
  359. package/resources/work-locations.js.map +1 -1
  360. package/resources/work-locations.mjs +6 -6
  361. package/resources/work-locations.mjs.map +1 -1
  362. package/resources/workers.d.mts +11 -11
  363. package/resources/workers.d.mts.map +1 -1
  364. package/resources/workers.d.ts +11 -11
  365. package/resources/workers.d.ts.map +1 -1
  366. package/resources/workers.js +6 -6
  367. package/resources/workers.js.map +1 -1
  368. package/resources/workers.mjs +6 -6
  369. package/resources/workers.mjs.map +1 -1
  370. package/src/client.ts +112 -90
  371. package/src/internal/to-file.ts +1 -1
  372. package/src/internal/utils/values.ts +3 -3
  373. package/src/resources/business-partner-groups.ts +24 -24
  374. package/src/resources/business-partners.ts +27 -27
  375. package/src/resources/compensations.ts +16 -16
  376. package/src/resources/custom-objects/custom-objects.ts +12 -12
  377. package/src/resources/custom-objects/fields.ts +16 -16
  378. package/src/resources/custom-objects/index.ts +3 -3
  379. package/src/resources/custom-objects/records.ts +70 -70
  380. package/src/resources/departments.ts +16 -16
  381. package/src/resources/draft-hires.ts +504 -0
  382. package/src/resources/employment-types.ts +7 -7
  383. package/src/resources/functions/deployments.ts +10 -10
  384. package/src/resources/functions/executions.ts +28 -28
  385. package/src/resources/functions/functions.ts +20 -20
  386. package/src/resources/functions/index.ts +3 -3
  387. package/src/resources/headcount-positions.ts +103 -53
  388. package/src/resources/headcount-priorities.ts +14 -14
  389. package/src/resources/index.ts +42 -32
  390. package/src/resources/job-assignments.ts +16 -16
  391. package/src/resources/job-codes.ts +25 -25
  392. package/src/resources/job-dimensions.ts +21 -21
  393. package/src/resources/job-functions.ts +14 -14
  394. package/src/resources/job-pay-rate-exceptions.ts +16 -16
  395. package/src/resources/kiosk-badges.ts +35 -35
  396. package/src/resources/leave-accruals.ts +261 -0
  397. package/src/resources/leave-balances.ts +16 -16
  398. package/src/resources/leave-requests.ts +44 -44
  399. package/src/resources/leave-types.ts +7 -7
  400. package/src/resources/legal-entities.ts +17 -16
  401. package/src/resources/levels.ts +16 -16
  402. package/src/resources/location-factors.ts +20 -18
  403. package/src/resources/object-categories.ts +9 -9
  404. package/src/resources/schedules.ts +193 -20
  405. package/src/resources/shared.ts +1 -0
  406. package/src/resources/shift-inputs.ts +35 -35
  407. package/src/resources/shiftassignments.ts +68 -30
  408. package/src/resources/supergroups/exclusion-members.ts +16 -16
  409. package/src/resources/supergroups/inclusion-members.ts +16 -16
  410. package/src/resources/supergroups/index.ts +2 -2
  411. package/src/resources/supergroups/supergroups.ts +9 -9
  412. package/src/resources/teams.ts +16 -16
  413. package/src/resources/time-cards.ts +16 -16
  414. package/src/resources/time-entries.ts +71 -71
  415. package/src/resources/tracks.ts +7 -7
  416. package/src/resources/users.ts +7 -7
  417. package/src/resources/work-locations.ts +7 -7
  418. package/src/resources/workers.ts +19 -16
  419. package/src/version.ts +1 -1
  420. package/version.d.mts +1 -1
  421. package/version.d.ts +1 -1
  422. package/version.js +1 -1
  423. package/version.mjs +1 -1
@@ -9,17 +9,6 @@ import { RequestOptions } from '../internal/request-options';
9
9
  import { path } from '../internal/utils/path';
10
10
 
11
11
  export class Shiftassignments extends APIResource {
12
- /**
13
- * Retrieve a specific shift assignment
14
- */
15
- retrieve(
16
- id: string,
17
- query: ShiftassignmentRetrieveParams | null | undefined = {},
18
- options?: RequestOptions,
19
- ): APIPromise<ShiftassignmentRetrieveResponse> {
20
- return this._client.get(path`/shiftassignments/${id}`, { query, ...options });
21
- }
22
-
23
12
  /**
24
13
  * A List of shift assignments
25
14
  *
@@ -38,14 +27,22 @@ export class Shiftassignments extends APIResource {
38
27
  ...options,
39
28
  });
40
29
  }
30
+
31
+ /**
32
+ * Retrieve a specific shift assignment
33
+ */
34
+ retrieve(
35
+ id: string,
36
+ query: ShiftassignmentRetrieveParams | null | undefined = {},
37
+ options?: RequestOptions,
38
+ ): APIPromise<ShiftassignmentRetrieveResponse> {
39
+ return this._client.get(path`/shiftassignments/${id}`, { query, ...options });
40
+ }
41
41
  }
42
42
 
43
43
  export type ShiftassignmentListResponsesPageCursorURL = PageCursorURL<ShiftassignmentListResponse>;
44
44
 
45
- /**
46
- * Meta information for the response.
47
- */
48
- export interface ShiftassignmentRetrieveResponse extends BusinessPartnersAPI.Meta {
45
+ export interface ShiftassignmentListResponse {
49
46
  /**
50
47
  * Identifier field
51
48
  */
@@ -76,14 +73,14 @@ export interface ShiftassignmentRetrieveResponse extends BusinessPartnersAPI.Met
76
73
  * The published version of the shift assignment, if it exists. If filled but
77
74
  * is_published is false, the shift_data is the latest version.
78
75
  */
79
- published_version?: ShiftassignmentRetrieveResponse.PublishedVersion;
76
+ published_version?: ShiftassignmentListResponse.PublishedVersion;
80
77
 
81
78
  /**
82
79
  * The schedule
83
80
  *
84
81
  * Expandable field
85
82
  */
86
- schedule?: ShiftassignmentRetrieveResponse.Schedule;
83
+ schedule?: ShiftassignmentListResponse.Schedule;
87
84
 
88
85
  /**
89
86
  * The ID of the schedule
@@ -93,7 +90,7 @@ export interface ShiftassignmentRetrieveResponse extends BusinessPartnersAPI.Met
93
90
  /**
94
91
  * The data of the shift
95
92
  */
96
- shift_data?: ShiftassignmentRetrieveResponse.ShiftData;
93
+ shift_data?: ShiftassignmentListResponse.ShiftData;
97
94
 
98
95
  /**
99
96
  * The worker
@@ -108,7 +105,7 @@ export interface ShiftassignmentRetrieveResponse extends BusinessPartnersAPI.Met
108
105
  worker_id?: string;
109
106
  }
110
107
 
111
- export namespace ShiftassignmentRetrieveResponse {
108
+ export namespace ShiftassignmentListResponse {
112
109
  /**
113
110
  * The published version of the shift assignment, if it exists. If filled but
114
111
  * is_published is false, the shift_data is the latest version.
@@ -237,6 +234,25 @@ export namespace ShiftassignmentRetrieveResponse {
237
234
  * The IDs of the observers of the schedule.
238
235
  */
239
236
  observers_id?: Array<string>;
237
+
238
+ /**
239
+ * The settings of the schedule.
240
+ */
241
+ settings?: Schedule.Settings;
242
+ }
243
+
244
+ export namespace Schedule {
245
+ /**
246
+ * The settings of the schedule.
247
+ */
248
+ export interface Settings {
249
+ /**
250
+ * The IANA timezone identifier for the schedule (e.g., 'America/New_York').
251
+ * Accepted values are defined by the tz database, listed here:
252
+ * https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
253
+ */
254
+ timezone?: string;
255
+ }
240
256
  }
241
257
 
242
258
  /**
@@ -301,7 +317,10 @@ export namespace ShiftassignmentRetrieveResponse {
301
317
  }
302
318
  }
303
319
 
304
- export interface ShiftassignmentListResponse {
320
+ /**
321
+ * Meta information for the response.
322
+ */
323
+ export interface ShiftassignmentRetrieveResponse extends BusinessPartnersAPI.Meta {
305
324
  /**
306
325
  * Identifier field
307
326
  */
@@ -332,14 +351,14 @@ export interface ShiftassignmentListResponse {
332
351
  * The published version of the shift assignment, if it exists. If filled but
333
352
  * is_published is false, the shift_data is the latest version.
334
353
  */
335
- published_version?: ShiftassignmentListResponse.PublishedVersion;
354
+ published_version?: ShiftassignmentRetrieveResponse.PublishedVersion;
336
355
 
337
356
  /**
338
357
  * The schedule
339
358
  *
340
359
  * Expandable field
341
360
  */
342
- schedule?: ShiftassignmentListResponse.Schedule;
361
+ schedule?: ShiftassignmentRetrieveResponse.Schedule;
343
362
 
344
363
  /**
345
364
  * The ID of the schedule
@@ -349,7 +368,7 @@ export interface ShiftassignmentListResponse {
349
368
  /**
350
369
  * The data of the shift
351
370
  */
352
- shift_data?: ShiftassignmentListResponse.ShiftData;
371
+ shift_data?: ShiftassignmentRetrieveResponse.ShiftData;
353
372
 
354
373
  /**
355
374
  * The worker
@@ -364,7 +383,7 @@ export interface ShiftassignmentListResponse {
364
383
  worker_id?: string;
365
384
  }
366
385
 
367
- export namespace ShiftassignmentListResponse {
386
+ export namespace ShiftassignmentRetrieveResponse {
368
387
  /**
369
388
  * The published version of the shift assignment, if it exists. If filled but
370
389
  * is_published is false, the shift_data is the latest version.
@@ -493,6 +512,25 @@ export namespace ShiftassignmentListResponse {
493
512
  * The IDs of the observers of the schedule.
494
513
  */
495
514
  observers_id?: Array<string>;
515
+
516
+ /**
517
+ * The settings of the schedule.
518
+ */
519
+ settings?: Schedule.Settings;
520
+ }
521
+
522
+ export namespace Schedule {
523
+ /**
524
+ * The settings of the schedule.
525
+ */
526
+ export interface Settings {
527
+ /**
528
+ * The IANA timezone identifier for the schedule (e.g., 'America/New_York').
529
+ * Accepted values are defined by the tz database, listed here:
530
+ * https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
531
+ */
532
+ timezone?: string;
533
+ }
496
534
  }
497
535
 
498
536
  /**
@@ -557,10 +595,6 @@ export namespace ShiftassignmentListResponse {
557
595
  }
558
596
  }
559
597
 
560
- export interface ShiftassignmentRetrieveParams {
561
- expand?: string;
562
- }
563
-
564
598
  export interface ShiftassignmentListParams {
565
599
  expand?: string;
566
600
 
@@ -569,12 +603,16 @@ export interface ShiftassignmentListParams {
569
603
  order_by?: string;
570
604
  }
571
605
 
606
+ export interface ShiftassignmentRetrieveParams {
607
+ expand?: string;
608
+ }
609
+
572
610
  export declare namespace Shiftassignments {
573
611
  export {
574
- type ShiftassignmentRetrieveResponse as ShiftassignmentRetrieveResponse,
575
612
  type ShiftassignmentListResponse as ShiftassignmentListResponse,
613
+ type ShiftassignmentRetrieveResponse as ShiftassignmentRetrieveResponse,
576
614
  type ShiftassignmentListResponsesPageCursorURL as ShiftassignmentListResponsesPageCursorURL,
577
- type ShiftassignmentRetrieveParams as ShiftassignmentRetrieveParams,
578
615
  type ShiftassignmentListParams as ShiftassignmentListParams,
616
+ type ShiftassignmentRetrieveParams as ShiftassignmentRetrieveParams,
579
617
  };
580
618
  }
@@ -9,17 +9,6 @@ import { RequestOptions } from '../../internal/request-options';
9
9
  import { path } from '../../internal/utils/path';
10
10
 
11
11
  export class ExclusionMembers extends APIResource {
12
- /**
13
- * Update the list of supergroup exclusion members.
14
- */
15
- update(
16
- groupID: string,
17
- body: ExclusionMemberUpdateParams | null | undefined = {},
18
- options?: RequestOptions,
19
- ): APIPromise<ExclusionMemberUpdateResponse> {
20
- return this._client.patch(path`/supergroups/${groupID}/exclusion-members`, { body, ...options });
21
- }
22
-
23
12
  /**
24
13
  * Retrieve supergroup exclusion members matching the input parameters.
25
14
  *
@@ -37,6 +26,17 @@ export class ExclusionMembers extends APIResource {
37
26
  { query, ...options },
38
27
  );
39
28
  }
29
+
30
+ /**
31
+ * Update the list of supergroup exclusion members.
32
+ */
33
+ update(
34
+ groupID: string,
35
+ body: ExclusionMemberUpdateParams | null | undefined = {},
36
+ options?: RequestOptions,
37
+ ): APIPromise<ExclusionMemberUpdateResponse> {
38
+ return this._client.patch(path`/supergroups/${groupID}/exclusion-members`, { body, ...options });
39
+ }
40
40
  }
41
41
 
42
42
  export interface ExclusionMemberUpdateResponse {
@@ -46,6 +46,10 @@ export interface ExclusionMemberUpdateResponse {
46
46
  ok?: boolean;
47
47
  }
48
48
 
49
+ export interface ExclusionMemberListParams {
50
+ order_by?: string;
51
+ }
52
+
49
53
  export interface ExclusionMemberUpdateParams {
50
54
  Operations?: Array<ExclusionMemberUpdateParams.Operation>;
51
55
  }
@@ -73,15 +77,11 @@ export namespace ExclusionMemberUpdateParams {
73
77
  }
74
78
  }
75
79
 
76
- export interface ExclusionMemberListParams {
77
- order_by?: string;
78
- }
79
-
80
80
  export declare namespace ExclusionMembers {
81
81
  export {
82
82
  type ExclusionMemberUpdateResponse as ExclusionMemberUpdateResponse,
83
- type ExclusionMemberUpdateParams as ExclusionMemberUpdateParams,
84
83
  type ExclusionMemberListParams as ExclusionMemberListParams,
84
+ type ExclusionMemberUpdateParams as ExclusionMemberUpdateParams,
85
85
  };
86
86
  }
87
87
 
@@ -9,17 +9,6 @@ import { RequestOptions } from '../../internal/request-options';
9
9
  import { path } from '../../internal/utils/path';
10
10
 
11
11
  export class InclusionMembers extends APIResource {
12
- /**
13
- * Update the list of supergroup inclusion members.
14
- */
15
- update(
16
- groupID: string,
17
- body: InclusionMemberUpdateParams | null | undefined = {},
18
- options?: RequestOptions,
19
- ): APIPromise<InclusionMemberUpdateResponse> {
20
- return this._client.patch(path`/supergroups/${groupID}/inclusion-members`, { body, ...options });
21
- }
22
-
23
12
  /**
24
13
  * Retrieve supergroup inclusion members matching the input parameters.
25
14
  *
@@ -37,6 +26,17 @@ export class InclusionMembers extends APIResource {
37
26
  { query, ...options },
38
27
  );
39
28
  }
29
+
30
+ /**
31
+ * Update the list of supergroup inclusion members.
32
+ */
33
+ update(
34
+ groupID: string,
35
+ body: InclusionMemberUpdateParams | null | undefined = {},
36
+ options?: RequestOptions,
37
+ ): APIPromise<InclusionMemberUpdateResponse> {
38
+ return this._client.patch(path`/supergroups/${groupID}/inclusion-members`, { body, ...options });
39
+ }
40
40
  }
41
41
 
42
42
  export interface InclusionMemberUpdateResponse {
@@ -46,6 +46,10 @@ export interface InclusionMemberUpdateResponse {
46
46
  ok?: boolean;
47
47
  }
48
48
 
49
+ export interface InclusionMemberListParams {
50
+ order_by?: string;
51
+ }
52
+
49
53
  export interface InclusionMemberUpdateParams {
50
54
  Operations?: Array<InclusionMemberUpdateParams.Operation>;
51
55
  }
@@ -73,15 +77,11 @@ export namespace InclusionMemberUpdateParams {
73
77
  }
74
78
  }
75
79
 
76
- export interface InclusionMemberListParams {
77
- order_by?: string;
78
- }
79
-
80
80
  export declare namespace InclusionMembers {
81
81
  export {
82
82
  type InclusionMemberUpdateResponse as InclusionMemberUpdateResponse,
83
- type InclusionMemberUpdateParams as InclusionMemberUpdateParams,
84
83
  type InclusionMemberListParams as InclusionMemberListParams,
84
+ type InclusionMemberUpdateParams as InclusionMemberUpdateParams,
85
85
  };
86
86
  }
87
87
 
@@ -3,14 +3,14 @@
3
3
  export {
4
4
  ExclusionMembers,
5
5
  type ExclusionMemberUpdateResponse,
6
- type ExclusionMemberUpdateParams,
7
6
  type ExclusionMemberListParams,
7
+ type ExclusionMemberUpdateParams,
8
8
  } from './exclusion-members';
9
9
  export {
10
10
  InclusionMembers,
11
11
  type InclusionMemberUpdateResponse,
12
- type InclusionMemberUpdateParams,
13
12
  type InclusionMemberListParams,
13
+ type InclusionMemberUpdateParams,
14
14
  } from './inclusion-members';
15
15
  export { Members, type GroupMember, type MemberListParams, type GroupMembersPageCursorURL } from './members';
16
16
  export {
@@ -32,13 +32,6 @@ export class Supergroups extends APIResource {
32
32
  this._client,
33
33
  );
34
34
 
35
- /**
36
- * Retrieve a specific supergroup.
37
- */
38
- retrieve(id: string, options?: RequestOptions): APIPromise<SupergroupRetrieveResponse> {
39
- return this._client.get(path`/supergroups/${id}`, options);
40
- }
41
-
42
35
  /**
43
36
  * Retrieve supergroups matching the input parameters.
44
37
  *
@@ -52,6 +45,13 @@ export class Supergroups extends APIResource {
52
45
  ): PagePromise<SupergroupsPageCursorURL, Supergroup> {
53
46
  return this._client.getAPIList('/supergroups', PageCursorURL<Supergroup>, { query, ...options });
54
47
  }
48
+
49
+ /**
50
+ * Retrieve a specific supergroup.
51
+ */
52
+ retrieve(id: string, options?: RequestOptions): APIPromise<SupergroupRetrieveResponse> {
53
+ return this._client.get(path`/supergroups/${id}`, options);
54
+ }
55
55
  }
56
56
 
57
57
  export type SupergroupsPageCursorURL = PageCursorURL<Supergroup>;
@@ -186,14 +186,14 @@ export declare namespace Supergroups {
186
186
  export {
187
187
  InclusionMembers as InclusionMembers,
188
188
  type InclusionMemberUpdateResponse as InclusionMemberUpdateResponse,
189
- type InclusionMemberUpdateParams as InclusionMemberUpdateParams,
190
189
  type InclusionMemberListParams as InclusionMemberListParams,
190
+ type InclusionMemberUpdateParams as InclusionMemberUpdateParams,
191
191
  };
192
192
 
193
193
  export {
194
194
  ExclusionMembers as ExclusionMembers,
195
195
  type ExclusionMemberUpdateResponse as ExclusionMemberUpdateResponse,
196
- type ExclusionMemberUpdateParams as ExclusionMemberUpdateParams,
197
196
  type ExclusionMemberListParams as ExclusionMemberListParams,
197
+ type ExclusionMemberUpdateParams as ExclusionMemberUpdateParams,
198
198
  };
199
199
  }
@@ -8,17 +8,6 @@ import { RequestOptions } from '../internal/request-options';
8
8
  import { path } from '../internal/utils/path';
9
9
 
10
10
  export class Teams extends APIResource {
11
- /**
12
- * Retrieve a specific team
13
- */
14
- retrieve(
15
- id: string,
16
- query: TeamRetrieveParams | null | undefined = {},
17
- options?: RequestOptions,
18
- ): APIPromise<TeamRetrieveResponse> {
19
- return this._client.get(path`/teams/${id}`, { query, ...options });
20
- }
21
-
22
11
  /**
23
12
  * A List of teams
24
13
  *
@@ -32,6 +21,17 @@ export class Teams extends APIResource {
32
21
  ): PagePromise<TeamsPageCursorURL, Team> {
33
22
  return this._client.getAPIList('/teams', PageCursorURL<Team>, { query, ...options });
34
23
  }
24
+
25
+ /**
26
+ * Retrieve a specific team
27
+ */
28
+ retrieve(
29
+ id: string,
30
+ query: TeamRetrieveParams | null | undefined = {},
31
+ options?: RequestOptions,
32
+ ): APIPromise<TeamRetrieveResponse> {
33
+ return this._client.get(path`/teams/${id}`, { query, ...options });
34
+ }
35
35
  }
36
36
 
37
37
  export type TeamsPageCursorURL = PageCursorURL<Team>;
@@ -75,22 +75,22 @@ export interface Team {
75
75
  */
76
76
  export interface TeamRetrieveResponse extends BusinessPartnersAPI.Meta, Team {}
77
77
 
78
- export interface TeamRetrieveParams {
79
- expand?: string;
80
- }
81
-
82
78
  export interface TeamListParams {
83
79
  expand?: string;
84
80
 
85
81
  order_by?: string;
86
82
  }
87
83
 
84
+ export interface TeamRetrieveParams {
85
+ expand?: string;
86
+ }
87
+
88
88
  export declare namespace Teams {
89
89
  export {
90
90
  type Team as Team,
91
91
  type TeamRetrieveResponse as TeamRetrieveResponse,
92
92
  type TeamsPageCursorURL as TeamsPageCursorURL,
93
- type TeamRetrieveParams as TeamRetrieveParams,
94
93
  type TeamListParams as TeamListParams,
94
+ type TeamRetrieveParams as TeamRetrieveParams,
95
95
  };
96
96
  }
@@ -9,17 +9,6 @@ import { RequestOptions } from '../internal/request-options';
9
9
  import { path } from '../internal/utils/path';
10
10
 
11
11
  export class TimeCards extends APIResource {
12
- /**
13
- * Retrieve a specific time card
14
- */
15
- retrieve(
16
- id: string,
17
- query: TimeCardRetrieveParams | null | undefined = {},
18
- options?: RequestOptions,
19
- ): APIPromise<TimeCardRetrieveResponse> {
20
- return this._client.get(path`/time-cards/${id}`, { query, ...options });
21
- }
22
-
23
12
  /**
24
13
  * A List of time cards
25
14
  *
@@ -34,6 +23,17 @@ export class TimeCards extends APIResource {
34
23
  ): PagePromise<TimeCardsPageCursorURL, TimeCard> {
35
24
  return this._client.getAPIList('/time-cards', PageCursorURL<TimeCard>, { query, ...options });
36
25
  }
26
+
27
+ /**
28
+ * Retrieve a specific time card
29
+ */
30
+ retrieve(
31
+ id: string,
32
+ query: TimeCardRetrieveParams | null | undefined = {},
33
+ options?: RequestOptions,
34
+ ): APIPromise<TimeCardRetrieveResponse> {
35
+ return this._client.get(path`/time-cards/${id}`, { query, ...options });
36
+ }
37
37
  }
38
38
 
39
39
  export type TimeCardsPageCursorURL = PageCursorURL<TimeCard>;
@@ -185,10 +185,6 @@ export namespace TimeCard {
185
185
  */
186
186
  export interface TimeCardRetrieveResponse extends BusinessPartnersAPI.Meta, TimeCard {}
187
187
 
188
- export interface TimeCardRetrieveParams {
189
- expand?: string;
190
- }
191
-
192
188
  export interface TimeCardListParams {
193
189
  expand?: string;
194
190
 
@@ -197,13 +193,17 @@ export interface TimeCardListParams {
197
193
  order_by?: string;
198
194
  }
199
195
 
196
+ export interface TimeCardRetrieveParams {
197
+ expand?: string;
198
+ }
199
+
200
200
  export declare namespace TimeCards {
201
201
  export {
202
202
  type PayPeriod as PayPeriod,
203
203
  type TimeCard as TimeCard,
204
204
  type TimeCardRetrieveResponse as TimeCardRetrieveResponse,
205
205
  type TimeCardsPageCursorURL as TimeCardsPageCursorURL,
206
- type TimeCardRetrieveParams as TimeCardRetrieveParams,
207
206
  type TimeCardListParams as TimeCardListParams,
207
+ type TimeCardRetrieveParams as TimeCardRetrieveParams,
208
208
  };
209
209
  }