@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
@@ -0,0 +1,415 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import * as Shared from "./shared.js";
3
+ import { APIPromise } from "../core/api-promise.js";
4
+ import { RequestOptions } from "../internal/request-options.js";
5
+ export declare class DraftHires extends APIResource {
6
+ /**
7
+ * Create bulk draft hire
8
+ */
9
+ create(body: DraftHireCreateParams, options?: RequestOptions): APIPromise<DraftHireCreateResponse>;
10
+ }
11
+ /**
12
+ * Response model for bulk draft hire creation.
13
+ */
14
+ export interface DraftHireCreateResponse {
15
+ /**
16
+ * List of invalid draft hire requests
17
+ */
18
+ invalid_items?: Array<DraftHireCreateResponse.InvalidItem>;
19
+ /**
20
+ * Detailed results for each draft hire item
21
+ */
22
+ successful_results?: Array<DraftHireCreateResponse.SuccessfulResult>;
23
+ }
24
+ export declare namespace DraftHireCreateResponse {
25
+ /**
26
+ * Result for an individual draft hire creation.
27
+ */
28
+ interface InvalidItem {
29
+ /**
30
+ * Status of the creation (success, error, warning)
31
+ */
32
+ status: string;
33
+ /**
34
+ * Generated draft hire ID if successful
35
+ */
36
+ draft_hire_id?: string;
37
+ /**
38
+ * List of validation errors if any
39
+ */
40
+ errors?: Array<string>;
41
+ /**
42
+ * Success or error message
43
+ */
44
+ message?: string;
45
+ }
46
+ /**
47
+ * Result for an individual draft hire creation.
48
+ */
49
+ interface SuccessfulResult {
50
+ /**
51
+ * Status of the creation (success, error, warning)
52
+ */
53
+ status: string;
54
+ /**
55
+ * Generated draft hire ID if successful
56
+ */
57
+ draft_hire_id?: string;
58
+ /**
59
+ * List of validation errors if any
60
+ */
61
+ errors?: Array<string>;
62
+ /**
63
+ * Success or error message
64
+ */
65
+ message?: string;
66
+ }
67
+ }
68
+ export interface DraftHireCreateParams {
69
+ /**
70
+ * List of draft hires
71
+ */
72
+ draft_hires: Array<DraftHireCreateParams.DraftHire>;
73
+ }
74
+ export declare namespace DraftHireCreateParams {
75
+ /**
76
+ * A draft hire represents a candidate who has been offered a position but hasn't started yet.
77
+ *
78
+ * This class provides Platform API access to draft hire data stored as RoleWithCompany instances
79
+ * in a candidate state, allowing external systems to create and manage draft hires.
80
+ */
81
+ interface DraftHire {
82
+ /**
83
+ * Employment information for the draft hire position
84
+ */
85
+ employment_info: DraftHire.EmploymentInfo;
86
+ /**
87
+ * Personal information for the draft hire candidate
88
+ */
89
+ personal_info: DraftHire.PersonalInfo;
90
+ /**
91
+ * Work location information
92
+ */
93
+ work_location_info: DraftHire.WorkLocationInfo;
94
+ /**
95
+ * Custom fields for the draft hire
96
+ */
97
+ custom_fields?: Array<DraftHire.CustomField>;
98
+ }
99
+ namespace DraftHire {
100
+ /**
101
+ * Employment information for the draft hire position
102
+ */
103
+ interface EmploymentInfo {
104
+ /**
105
+ * Employment type ID
106
+ */
107
+ employment_type_id: string;
108
+ /**
109
+ * Title
110
+ */
111
+ title: string;
112
+ /**
113
+ * Contract end date
114
+ */
115
+ contract_end_date?: string;
116
+ /**
117
+ * Currency
118
+ */
119
+ currency?: string;
120
+ /**
121
+ * Department ID
122
+ */
123
+ department_id?: string;
124
+ /**
125
+ * Duties
126
+ */
127
+ duties?: string;
128
+ /**
129
+ * Equity number of shares
130
+ */
131
+ equity_num_shares?: number;
132
+ /**
133
+ * Equity value
134
+ */
135
+ equity_value?: number;
136
+ /**
137
+ * Equity vesting schedule
138
+ */
139
+ equity_vesting_schedule?: EmploymentInfo.EquityVestingSchedule;
140
+ /**
141
+ * Job title
142
+ */
143
+ job_title?: string;
144
+ /**
145
+ * Legal entity ID
146
+ */
147
+ legal_entity_id?: string;
148
+ /**
149
+ * Level ID
150
+ */
151
+ level_id?: string;
152
+ /**
153
+ * Manager ID
154
+ */
155
+ manager_id?: string;
156
+ /**
157
+ * Offer expiration date
158
+ */
159
+ offer_expiration_date?: string;
160
+ /**
161
+ * On target commission
162
+ */
163
+ on_target_commission?: number;
164
+ /**
165
+ * Overtime exemption
166
+ */
167
+ overtime_exemption?: 'exempt' | 'non-exempt';
168
+ /**
169
+ * Probation end date
170
+ */
171
+ probation_end_date?: string;
172
+ /**
173
+ * Relocation reimbursement
174
+ */
175
+ relocation_reimbursement?: number;
176
+ /**
177
+ * Salary per unit
178
+ */
179
+ salary_per_unit?: number;
180
+ /**
181
+ * Salary unit
182
+ */
183
+ salary_unit?: string;
184
+ /**
185
+ * Signing bonus
186
+ */
187
+ signing_bonus?: number;
188
+ /**
189
+ * Start date
190
+ */
191
+ start_date?: string;
192
+ /**
193
+ * Target annual bonus
194
+ */
195
+ target_annual_bonus?: number;
196
+ /**
197
+ * Teams IDs
198
+ */
199
+ teams_ids?: Array<string>;
200
+ /**
201
+ * Weekly hours
202
+ */
203
+ weekly_hours?: number;
204
+ /**
205
+ * Work email
206
+ */
207
+ work_email?: string;
208
+ }
209
+ namespace EmploymentInfo {
210
+ /**
211
+ * Equity vesting schedule
212
+ */
213
+ interface EquityVestingSchedule {
214
+ /**
215
+ * Required company ID for the vesting schedule
216
+ */
217
+ company_id: string;
218
+ /**
219
+ * Name of the vesting schedule
220
+ */
221
+ _name?: string;
222
+ /**
223
+ * Number of cliff months before vesting begins
224
+ */
225
+ cliffMonths?: number;
226
+ /**
227
+ * Number of continuous vesting months
228
+ */
229
+ continuousVestingMonths?: number;
230
+ /**
231
+ * Percentage of initial vesting as decimal
232
+ */
233
+ percentageInitialVesting?: number;
234
+ /**
235
+ * Spoke ID for the vesting schedule
236
+ */
237
+ spokeId?: string;
238
+ /**
239
+ * Total number of vesting months
240
+ */
241
+ totalVestingMonths?: number;
242
+ /**
243
+ * Total number of vesting years
244
+ */
245
+ totalVestingYears?: number;
246
+ /**
247
+ * Type of vesting schedule
248
+ */
249
+ vestingType?: string;
250
+ }
251
+ }
252
+ /**
253
+ * Personal information for the draft hire candidate
254
+ */
255
+ interface PersonalInfo {
256
+ /**
257
+ * Invite email of the candidate
258
+ */
259
+ invite_email: string;
260
+ /**
261
+ * Name of the candidate
262
+ */
263
+ name: PersonalInfo.Name;
264
+ /**
265
+ * Citizenship of the candidate
266
+ */
267
+ citizenship?: string;
268
+ /**
269
+ * Date of birth
270
+ */
271
+ date_of_birth?: string;
272
+ /**
273
+ * Emergency contact name
274
+ */
275
+ emergency_contact_name?: string;
276
+ /**
277
+ * Emergency contact phone
278
+ */
279
+ emergency_contact_phone?: PersonalInfo.EmergencyContactPhone;
280
+ /**
281
+ * Ethnicity of the candidate
282
+ */
283
+ ethnicity?: string;
284
+ /**
285
+ * Gender of the candidate
286
+ */
287
+ gender?: string;
288
+ /**
289
+ * Home address of the candidate
290
+ */
291
+ home_address?: Shared.Address;
292
+ /**
293
+ * Locale of the candidate
294
+ */
295
+ locale?: PersonalInfo.Locale;
296
+ /**
297
+ * Race of the candidate
298
+ */
299
+ race?: string;
300
+ /**
301
+ * Social security number of the candidate
302
+ */
303
+ ssn?: string;
304
+ }
305
+ namespace PersonalInfo {
306
+ /**
307
+ * Name of the candidate
308
+ */
309
+ interface Name {
310
+ /**
311
+ * First name or given name
312
+ */
313
+ first?: string;
314
+ /**
315
+ * Last name or family name
316
+ */
317
+ last?: string;
318
+ /**
319
+ * Middle name(s)
320
+ */
321
+ middle?: string;
322
+ /**
323
+ * Preferred nickname or informal name
324
+ */
325
+ nickname?: string;
326
+ /**
327
+ * Name suffix (e.g., Jr., Sr., III)
328
+ */
329
+ suffix?: string;
330
+ /**
331
+ * Title or honorific (e.g., Mr., Ms., Dr.)
332
+ */
333
+ title?: string;
334
+ }
335
+ /**
336
+ * Emergency contact phone
337
+ */
338
+ interface EmergencyContactPhone {
339
+ /**
340
+ * Country code for the phone number
341
+ */
342
+ country_code?: string;
343
+ /**
344
+ * Phone number extension
345
+ */
346
+ extension?: string;
347
+ /**
348
+ * National phone number without country code
349
+ */
350
+ national_number?: string;
351
+ }
352
+ /**
353
+ * Locale of the candidate
354
+ */
355
+ interface Locale {
356
+ /**
357
+ * The primary language code
358
+ */
359
+ language_code?: string;
360
+ /**
361
+ * Additional language inspection data
362
+ */
363
+ language_inspection?: Array<string>;
364
+ /**
365
+ * The locale code for formatting
366
+ */
367
+ locale_code?: string;
368
+ /**
369
+ * The region code
370
+ */
371
+ region_code?: string;
372
+ /**
373
+ * The user's timezone
374
+ */
375
+ timezone?: string;
376
+ }
377
+ }
378
+ /**
379
+ * Work location information
380
+ */
381
+ interface WorkLocationInfo {
382
+ /**
383
+ * Country code of the work location
384
+ */
385
+ country_code?: string;
386
+ /**
387
+ * Whether the work location is remote
388
+ */
389
+ is_remote?: boolean;
390
+ /**
391
+ * Work location ID
392
+ */
393
+ location_id?: string;
394
+ }
395
+ /**
396
+ * Custom field information for a draft hire.
397
+ *
398
+ * Custom fields are associated with RoleWithCompany model.
399
+ */
400
+ interface CustomField {
401
+ /**
402
+ * Name of the custom field
403
+ */
404
+ field_name: string;
405
+ /**
406
+ * Value of the custom field
407
+ */
408
+ field_value: unknown;
409
+ }
410
+ }
411
+ }
412
+ export declare namespace DraftHires {
413
+ export { type DraftHireCreateResponse as DraftHireCreateResponse, type DraftHireCreateParams as DraftHireCreateParams, };
414
+ }
415
+ //# sourceMappingURL=draft-hires.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"draft-hires.d.ts","sourceRoot":"","sources":["../src/resources/draft-hires.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAGnG;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,WAAW,CAAC,CAAC;IAE3D;;OAEG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAC;CACtE;AAED,yBAAiB,uBAAuB,CAAC;IACvC;;OAEG;IACH,UAA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See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DraftHires = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ class DraftHires extends resource_1.APIResource {
7
+ /**
8
+ * Create bulk draft hire
9
+ */
10
+ create(body, options) {
11
+ return this._client.post('/draft-hires/', { body, ...options });
12
+ }
13
+ }
14
+ exports.DraftHires = DraftHires;
15
+ //# sourceMappingURL=draft-hires.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"draft-hires.js","sourceRoot":"","sources":["../src/resources/draft-hires.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAK/C,MAAa,UAAW,SAAQ,sBAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;CACF;AAPD,gCAOC"}
@@ -0,0 +1,11 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ export class DraftHires extends APIResource {
4
+ /**
5
+ * Create bulk draft hire
6
+ */
7
+ create(body, options) {
8
+ return this._client.post('/draft-hires/', { body, ...options });
9
+ }
10
+ }
11
+ //# sourceMappingURL=draft-hires.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"draft-hires.mjs","sourceRoot":"","sources":["../src/resources/draft-hires.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;CACF"}
@@ -4,10 +4,6 @@ import { APIPromise } from "../core/api-promise.mjs";
4
4
  import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
5
5
  import { RequestOptions } from "../internal/request-options.mjs";
6
6
  export declare class EmploymentTypes extends APIResource {
7
- /**
8
- * Retrieve a specific employment type
9
- */
10
- retrieve(id: string, options?: RequestOptions): APIPromise<EmploymentTypeRetrieveResponse>;
11
7
  /**
12
8
  * A List of employment types
13
9
  *
@@ -15,6 +11,10 @@ export declare class EmploymentTypes extends APIResource {
15
11
  * - Sortable fields: `id`, `created_at`, `updated_at`
16
12
  */
17
13
  list(query?: EmploymentTypeListParams | null | undefined, options?: RequestOptions): PagePromise<CompanyEmploymentTypesPageCursorURL, CompanyEmploymentType>;
14
+ /**
15
+ * Retrieve a specific employment type
16
+ */
17
+ retrieve(id: string, options?: RequestOptions): APIPromise<EmploymentTypeRetrieveResponse>;
18
18
  }
19
19
  export type CompanyEmploymentTypesPageCursorURL = PageCursorURL<CompanyEmploymentType>;
20
20
  export interface CompanyEmploymentType {
@@ -1 +1 @@
1
- {"version":3,"file":"employment-types.d.mts","sourceRoot":"","sources":["../src/resources/employment-types.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAI1F;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,mCAAmC,EAAE,qBAAqB,CAAC;CAM3E;AAED,MAAM,MAAM,mCAAmC,GAAG,aAAa,CAAC,qBAAqB,CAAC,CAAC;AAEv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AEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;CAG3F;AAED,MAAM,MAAM,mCAAmC,GAAG,aAAa,CAAC,qBAAqB,CAAC,CAAC;AAEvF,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,WAAW,CAAC;IAExD;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IAEjD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,mBAAmB,CAAC,IAAI,EAAE,qBAAqB;CAAG;AAE1G,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
@@ -4,10 +4,6 @@ import { APIPromise } from "../core/api-promise.js";
4
4
  import { PageCursorURL, PagePromise } from "../core/pagination.js";
5
5
  import { RequestOptions } from "../internal/request-options.js";
6
6
  export declare class EmploymentTypes extends APIResource {
7
- /**
8
- * Retrieve a specific employment type
9
- */
10
- retrieve(id: string, options?: RequestOptions): APIPromise<EmploymentTypeRetrieveResponse>;
11
7
  /**
12
8
  * A List of employment types
13
9
  *
@@ -15,6 +11,10 @@ export declare class EmploymentTypes extends APIResource {
15
11
  * - Sortable fields: `id`, `created_at`, `updated_at`
16
12
  */
17
13
  list(query?: EmploymentTypeListParams | null | undefined, options?: RequestOptions): PagePromise<CompanyEmploymentTypesPageCursorURL, CompanyEmploymentType>;
14
+ /**
15
+ * Retrieve a specific employment type
16
+ */
17
+ retrieve(id: string, options?: RequestOptions): APIPromise<EmploymentTypeRetrieveResponse>;
18
18
  }
19
19
  export type CompanyEmploymentTypesPageCursorURL = PageCursorURL<CompanyEmploymentType>;
20
20
  export interface CompanyEmploymentType {
@@ -1 +1 @@
1
- {"version":3,"file":"employment-types.d.ts","sourceRoot":"","sources":["../src/resources/employment-types.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAI1F;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,mCAAmC,EAAE,qBAAqB,CAAC;CAM3E;AAED,MAAM,MAAM,mCAAmC,GAAG,aAAa,CAAC,qBAAqB,CAAC,CAAC;AAEvF,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;;;OAOG;IACH,aAAa,C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,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,WAAW,CAAC;IAExD;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IAEjD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,mBAAmB,CAAC,IAAI,EAAE,qBAAqB;CAAG;AAE1G,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
@@ -6,12 +6,6 @@ const resource_1 = require("../core/resource.js");
6
6
  const pagination_1 = require("../core/pagination.js");
7
7
  const path_1 = require("../internal/utils/path.js");
8
8
  class EmploymentTypes extends resource_1.APIResource {
9
- /**
10
- * Retrieve a specific employment type
11
- */
12
- retrieve(id, options) {
13
- return this._client.get((0, path_1.path) `/employment-types/${id}`, options);
14
- }
15
9
  /**
16
10
  * A List of employment types
17
11
  *
@@ -24,6 +18,12 @@ class EmploymentTypes extends resource_1.APIResource {
24
18
  ...options,
25
19
  });
26
20
  }
21
+ /**
22
+ * Retrieve a specific employment type
23
+ */
24
+ retrieve(id, options) {
25
+ return this._client.get((0, path_1.path) `/employment-types/${id}`, options);
26
+ }
27
27
  }
28
28
  exports.EmploymentTypes = EmploymentTypes;
29
29
  //# sourceMappingURL=employment-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"employment-types.js","sourceRoot":"","sources":["../src/resources/employment-types.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAgE;AAEhE,oDAA8C;AAE9C,MAAa,eAAgB,SAAQ,sBAAW;IAC9C;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,qBAAqB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,0BAAoC,CAAA,EAAE;YACxF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAvBD,0CAuBC"}
1
+ {"version":3,"file":"employment-types.js","sourceRoot":"","sources":["../src/resources/employment-types.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAgE;AAEhE,oDAA8C;AAE9C,MAAa,eAAgB,SAAQ,sBAAW;IAC9C;;;;;OAKG;IACH,IAAI,CACF,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,0BAAoC,CAAA,EAAE;YACxF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,qBAAqB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AAvBD,0CAuBC"}
@@ -3,12 +3,6 @@ import { APIResource } from "../core/resource.mjs";
3
3
  import { PageCursorURL } from "../core/pagination.mjs";
4
4
  import { path } from "../internal/utils/path.mjs";
5
5
  export class EmploymentTypes extends APIResource {
6
- /**
7
- * Retrieve a specific employment type
8
- */
9
- retrieve(id, options) {
10
- return this._client.get(path `/employment-types/${id}`, options);
11
- }
12
6
  /**
13
7
  * A List of employment types
14
8
  *
@@ -21,5 +15,11 @@ export class EmploymentTypes extends APIResource {
21
15
  ...options,
22
16
  });
23
17
  }
18
+ /**
19
+ * Retrieve a specific employment type
20
+ */
21
+ retrieve(id, options) {
22
+ return this._client.get(path `/employment-types/${id}`, options);
23
+ }
24
24
  }
25
25
  //# sourceMappingURL=employment-types.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"employment-types.mjs","sourceRoot":"","sources":["../src/resources/employment-types.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,aAAoC,CAAA,EAAE;YACxF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"employment-types.mjs","sourceRoot":"","sources":["../src/resources/employment-types.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;;;;OAKG;IACH,IAAI,CACF,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,aAAoC,CAAA,EAAE;YACxF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF"}
@@ -2,6 +2,12 @@ import { APIResource } from "../../core/resource.mjs";
2
2
  import { APIPromise } from "../../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../../internal/request-options.mjs";
4
4
  export declare class Deployments extends APIResource {
5
+ /**
6
+ * A List of function deployments
7
+ *
8
+ * - Requires: `API Tier 2`
9
+ */
10
+ list(functionAPIName: string, options?: RequestOptions): APIPromise<DeploymentListResponse>;
5
11
  /**
6
12
  * Create a new function deployment
7
13
  */
@@ -10,16 +16,10 @@ export declare class Deployments extends APIResource {
10
16
  * Retrieve a specific function deployment
11
17
  */
12
18
  retrieve(deploymentID: string, params: DeploymentRetrieveParams, options?: RequestOptions): APIPromise<FunctionDeployment>;
13
- /**
14
- * A List of function deployments
15
- *
16
- * - Requires: `Functions API`
17
- */
18
- list(functionAPIName: string, options?: RequestOptions): APIPromise<DeploymentListResponse>;
19
19
  /**
20
20
  * A List of function deployment logs
21
21
  *
22
- * - Requires: `Functions API`
22
+ * - Requires: `API Tier 2`
23
23
  */
24
24
  listLogs(deploymentID: string, params: DeploymentListLogsParams, options?: RequestOptions): APIPromise<DeploymentListLogsResponse>;
25
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"deployments.d.mts","sourceRoot":"","sources":["../../src/resources/functions/deployments.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,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AI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
1
+ {"version":3,"file":"deployments.d.mts","sourceRoot":"","sources":["../../src/resources/functions/deployments.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,IAAI,CAAC,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAI3F;;OAEG;IACH,MAAM,CACJ,eAAe,EAAE,MAAM,EACvB,IAAI,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAIjC;;OAEG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAKjC;;;;OAIG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;CAI1C;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEhC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IA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AAW,CAAC;IACnC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
@@ -2,6 +2,12 @@ import { APIResource } from "../../core/resource.js";
2
2
  import { APIPromise } from "../../core/api-promise.js";
3
3
  import { RequestOptions } from "../../internal/request-options.js";
4
4
  export declare class Deployments extends APIResource {
5
+ /**
6
+ * A List of function deployments
7
+ *
8
+ * - Requires: `API Tier 2`
9
+ */
10
+ list(functionAPIName: string, options?: RequestOptions): APIPromise<DeploymentListResponse>;
5
11
  /**
6
12
  * Create a new function deployment
7
13
  */
@@ -10,16 +16,10 @@ export declare class Deployments extends APIResource {
10
16
  * Retrieve a specific function deployment
11
17
  */
12
18
  retrieve(deploymentID: string, params: DeploymentRetrieveParams, options?: RequestOptions): APIPromise<FunctionDeployment>;
13
- /**
14
- * A List of function deployments
15
- *
16
- * - Requires: `Functions API`
17
- */
18
- list(functionAPIName: string, options?: RequestOptions): APIPromise<DeploymentListResponse>;
19
19
  /**
20
20
  * A List of function deployment logs
21
21
  *
22
- * - Requires: `Functions API`
22
+ * - Requires: `API Tier 2`
23
23
  */
24
24
  listLogs(deploymentID: string, params: DeploymentListLogsParams, options?: RequestOptions): APIPromise<DeploymentListLogsResponse>;
25
25
  }