@rippling/rippling-sdk 0.2.0-alpha.86 → 0.2.0-alpha.87

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 (446) hide show
  1. package/client.d.mts +15 -0
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +15 -0
  4. package/client.d.ts.map +1 -1
  5. package/client.js +15 -0
  6. package/client.js.map +1 -1
  7. package/client.mjs +15 -0
  8. package/client.mjs.map +1 -1
  9. package/lib/leave-programs/advanced.d.mts +5 -0
  10. package/lib/leave-programs/advanced.d.mts.map +1 -0
  11. package/lib/leave-programs/advanced.d.ts +5 -0
  12. package/lib/leave-programs/advanced.d.ts.map +1 -0
  13. package/lib/leave-programs/advanced.js +13 -0
  14. package/lib/leave-programs/advanced.js.map +1 -0
  15. package/lib/leave-programs/advanced.mjs +4 -0
  16. package/lib/leave-programs/advanced.mjs.map +1 -0
  17. package/lib/leave-programs/context.d.mts +3 -0
  18. package/lib/leave-programs/context.d.mts.map +1 -0
  19. package/lib/leave-programs/context.d.ts +3 -0
  20. package/lib/leave-programs/context.d.ts.map +1 -0
  21. package/lib/leave-programs/context.js +89 -0
  22. package/lib/leave-programs/context.js.map +1 -0
  23. package/lib/leave-programs/context.mjs +86 -0
  24. package/lib/leave-programs/context.mjs.map +1 -0
  25. package/lib/leave-programs/define-company-leave-program.d.mts +3 -0
  26. package/lib/leave-programs/define-company-leave-program.d.mts.map +1 -0
  27. package/lib/leave-programs/define-company-leave-program.d.ts +3 -0
  28. package/lib/leave-programs/define-company-leave-program.d.ts.map +1 -0
  29. package/lib/leave-programs/define-company-leave-program.js +47 -0
  30. package/lib/leave-programs/define-company-leave-program.js.map +1 -0
  31. package/lib/leave-programs/define-company-leave-program.mjs +44 -0
  32. package/lib/leave-programs/define-company-leave-program.mjs.map +1 -0
  33. package/lib/leave-programs/duration.d.mts +5 -0
  34. package/lib/leave-programs/duration.d.mts.map +1 -0
  35. package/lib/leave-programs/duration.d.ts +5 -0
  36. package/lib/leave-programs/duration.d.ts.map +1 -0
  37. package/lib/leave-programs/duration.js +21 -0
  38. package/lib/leave-programs/duration.js.map +1 -0
  39. package/lib/leave-programs/duration.mjs +16 -0
  40. package/lib/leave-programs/duration.mjs.map +1 -0
  41. package/lib/leave-programs/pay.d.mts +4 -0
  42. package/lib/leave-programs/pay.d.mts.map +1 -0
  43. package/lib/leave-programs/pay.d.ts +4 -0
  44. package/lib/leave-programs/pay.d.ts.map +1 -0
  45. package/lib/leave-programs/pay.js +20 -0
  46. package/lib/leave-programs/pay.js.map +1 -0
  47. package/lib/leave-programs/pay.mjs +16 -0
  48. package/lib/leave-programs/pay.mjs.map +1 -0
  49. package/lib/leave-programs/policy-builder.d.mts +20 -0
  50. package/lib/leave-programs/policy-builder.d.mts.map +1 -0
  51. package/lib/leave-programs/policy-builder.d.ts +20 -0
  52. package/lib/leave-programs/policy-builder.d.ts.map +1 -0
  53. package/lib/leave-programs/policy-builder.js +89 -0
  54. package/lib/leave-programs/policy-builder.js.map +1 -0
  55. package/lib/leave-programs/policy-builder.mjs +85 -0
  56. package/lib/leave-programs/policy-builder.mjs.map +1 -0
  57. package/lib/leave-programs/recipes/parental-top-up-policy.d.mts +25 -0
  58. package/lib/leave-programs/recipes/parental-top-up-policy.d.mts.map +1 -0
  59. package/lib/leave-programs/recipes/parental-top-up-policy.d.ts +25 -0
  60. package/lib/leave-programs/recipes/parental-top-up-policy.d.ts.map +1 -0
  61. package/lib/leave-programs/recipes/parental-top-up-policy.js +56 -0
  62. package/lib/leave-programs/recipes/parental-top-up-policy.js.map +1 -0
  63. package/lib/leave-programs/recipes/parental-top-up-policy.mjs +53 -0
  64. package/lib/leave-programs/recipes/parental-top-up-policy.mjs.map +1 -0
  65. package/lib/leave-programs/testing.d.mts +8 -0
  66. package/lib/leave-programs/testing.d.mts.map +1 -0
  67. package/lib/leave-programs/testing.d.ts +8 -0
  68. package/lib/leave-programs/testing.d.ts.map +1 -0
  69. package/lib/leave-programs/testing.js +11 -0
  70. package/lib/leave-programs/testing.js.map +1 -0
  71. package/lib/leave-programs/testing.mjs +7 -0
  72. package/lib/leave-programs/testing.mjs.map +1 -0
  73. package/lib/leave-programs/types.d.mts +223 -0
  74. package/lib/leave-programs/types.d.mts.map +1 -0
  75. package/lib/leave-programs/types.d.ts +223 -0
  76. package/lib/leave-programs/types.d.ts.map +1 -0
  77. package/lib/leave-programs/types.js +10 -0
  78. package/lib/leave-programs/types.js.map +1 -0
  79. package/lib/leave-programs/types.mjs +7 -0
  80. package/lib/leave-programs/types.mjs.map +1 -0
  81. package/lib/leave-programs.d.mts +7 -0
  82. package/lib/leave-programs.d.mts.map +1 -0
  83. package/lib/leave-programs.d.ts +7 -0
  84. package/lib/leave-programs.d.ts.map +1 -0
  85. package/lib/leave-programs.js +19 -0
  86. package/lib/leave-programs.js.map +1 -0
  87. package/lib/leave-programs.mjs +7 -0
  88. package/lib/leave-programs.mjs.map +1 -0
  89. package/package.json +1 -1
  90. package/resources/agents/agents.d.mts +208 -0
  91. package/resources/agents/agents.d.mts.map +1 -0
  92. package/resources/agents/agents.d.ts +208 -0
  93. package/resources/agents/agents.d.ts.map +1 -0
  94. package/resources/agents/agents.js +64 -0
  95. package/resources/agents/agents.js.map +1 -0
  96. package/resources/agents/agents.mjs +59 -0
  97. package/resources/agents/agents.mjs.map +1 -0
  98. package/resources/agents/deployments.d.mts +180 -0
  99. package/resources/agents/deployments.d.mts.map +1 -0
  100. package/resources/agents/deployments.d.ts +180 -0
  101. package/resources/agents/deployments.d.ts.map +1 -0
  102. package/resources/agents/deployments.js +32 -0
  103. package/resources/agents/deployments.js.map +1 -0
  104. package/resources/agents/deployments.mjs +28 -0
  105. package/resources/agents/deployments.mjs.map +1 -0
  106. package/resources/agents/index.d.mts +5 -0
  107. package/resources/agents/index.d.mts.map +1 -0
  108. package/resources/agents/index.d.ts +5 -0
  109. package/resources/agents/index.d.ts.map +1 -0
  110. package/resources/agents/index.js +13 -0
  111. package/resources/agents/index.js.map +1 -0
  112. package/resources/agents/index.mjs +6 -0
  113. package/resources/agents/index.mjs.map +1 -0
  114. package/resources/agents/sessions/events.d.mts +80 -0
  115. package/resources/agents/sessions/events.d.mts.map +1 -0
  116. package/resources/agents/sessions/events.d.ts +80 -0
  117. package/resources/agents/sessions/events.d.ts.map +1 -0
  118. package/resources/agents/sessions/events.js +19 -0
  119. package/resources/agents/sessions/events.js.map +1 -0
  120. package/resources/agents/sessions/events.mjs +15 -0
  121. package/resources/agents/sessions/events.mjs.map +1 -0
  122. package/resources/agents/sessions/index.d.mts +3 -0
  123. package/resources/agents/sessions/index.d.mts.map +1 -0
  124. package/resources/agents/sessions/index.d.ts +3 -0
  125. package/resources/agents/sessions/index.d.ts.map +1 -0
  126. package/resources/agents/sessions/index.js +9 -0
  127. package/resources/agents/sessions/index.js.map +1 -0
  128. package/resources/agents/sessions/index.mjs +4 -0
  129. package/resources/agents/sessions/index.mjs.map +1 -0
  130. package/resources/agents/sessions/sessions.d.mts +153 -0
  131. package/resources/agents/sessions/sessions.d.mts.map +1 -0
  132. package/resources/agents/sessions/sessions.d.ts +153 -0
  133. package/resources/agents/sessions/sessions.d.ts.map +1 -0
  134. package/resources/agents/sessions/sessions.js +44 -0
  135. package/resources/agents/sessions/sessions.js.map +1 -0
  136. package/resources/agents/sessions/sessions.mjs +39 -0
  137. package/resources/agents/sessions/sessions.mjs.map +1 -0
  138. package/resources/agents/sessions.d.mts +2 -0
  139. package/resources/agents/sessions.d.mts.map +1 -0
  140. package/resources/agents/sessions.d.ts +2 -0
  141. package/resources/agents/sessions.d.ts.map +1 -0
  142. package/resources/agents/sessions.js +6 -0
  143. package/resources/agents/sessions.js.map +1 -0
  144. package/resources/agents/sessions.mjs +3 -0
  145. package/resources/agents/sessions.mjs.map +1 -0
  146. package/resources/agents/source-revisions.d.mts +195 -0
  147. package/resources/agents/source-revisions.d.mts.map +1 -0
  148. package/resources/agents/source-revisions.d.ts +195 -0
  149. package/resources/agents/source-revisions.d.ts.map +1 -0
  150. package/resources/agents/source-revisions.js +32 -0
  151. package/resources/agents/source-revisions.js.map +1 -0
  152. package/resources/agents/source-revisions.mjs +28 -0
  153. package/resources/agents/source-revisions.mjs.map +1 -0
  154. package/resources/agents.d.mts +2 -0
  155. package/resources/agents.d.mts.map +1 -0
  156. package/resources/agents.d.ts +2 -0
  157. package/resources/agents.d.ts.map +1 -0
  158. package/resources/agents.js +6 -0
  159. package/resources/agents.js.map +1 -0
  160. package/resources/agents.mjs +3 -0
  161. package/resources/agents.mjs.map +1 -0
  162. package/resources/break-policies.d.mts +1 -1
  163. package/resources/break-policies.d.ts +1 -1
  164. package/resources/break-policies.js +1 -1
  165. package/resources/break-policies.mjs +1 -1
  166. package/resources/break-types.d.mts +1 -1
  167. package/resources/break-types.d.ts +1 -1
  168. package/resources/break-types.js +1 -1
  169. package/resources/break-types.mjs +1 -1
  170. package/resources/business-structure-paths.d.mts +1 -1
  171. package/resources/business-structure-paths.d.ts +1 -1
  172. package/resources/business-structure-paths.js +1 -1
  173. package/resources/business-structure-paths.mjs +1 -1
  174. package/resources/candidate-applications.d.mts +1 -1
  175. package/resources/candidate-applications.d.ts +1 -1
  176. package/resources/candidate-applications.js +1 -1
  177. package/resources/candidate-applications.mjs +1 -1
  178. package/resources/candidates.d.mts +1 -1
  179. package/resources/candidates.d.ts +1 -1
  180. package/resources/candidates.js +1 -1
  181. package/resources/candidates.mjs +1 -1
  182. package/resources/company-legal-entities.d.mts +1 -1
  183. package/resources/company-legal-entities.d.ts +1 -1
  184. package/resources/company-legal-entities.js +1 -1
  185. package/resources/company-legal-entities.mjs +1 -1
  186. package/resources/company-legal-entity-workers.d.mts +1 -1
  187. package/resources/company-legal-entity-workers.d.ts +1 -1
  188. package/resources/company-legal-entity-workers.js +1 -1
  189. package/resources/company-legal-entity-workers.mjs +1 -1
  190. package/resources/compensation-bands-details.d.mts +1 -1
  191. package/resources/compensation-bands-details.d.ts +1 -1
  192. package/resources/compensation-bands-details.js +1 -1
  193. package/resources/compensation-bands-details.mjs +1 -1
  194. package/resources/compensations.d.mts +1 -1
  195. package/resources/compensations.d.ts +1 -1
  196. package/resources/compensations.js +1 -1
  197. package/resources/compensations.mjs +1 -1
  198. package/resources/device-orders.d.mts +1 -1
  199. package/resources/device-orders.d.ts +1 -1
  200. package/resources/device-orders.js +1 -1
  201. package/resources/device-orders.mjs +1 -1
  202. package/resources/devices.d.mts +1 -1
  203. package/resources/devices.d.ts +1 -1
  204. package/resources/devices.js +1 -1
  205. package/resources/devices.mjs +1 -1
  206. package/resources/functions/deployments.d.mts +2 -2
  207. package/resources/functions/deployments.d.ts +2 -2
  208. package/resources/functions/deployments.js +2 -2
  209. package/resources/functions/deployments.mjs +2 -2
  210. package/resources/functions/executions.d.mts +2 -2
  211. package/resources/functions/executions.d.ts +2 -2
  212. package/resources/functions/executions.js +2 -2
  213. package/resources/functions/executions.mjs +2 -2
  214. package/resources/functions/functions.d.mts +1 -1
  215. package/resources/functions/functions.d.ts +1 -1
  216. package/resources/functions/functions.js +1 -1
  217. package/resources/functions/functions.mjs +1 -1
  218. package/resources/headcount-positions.d.mts +1 -1
  219. package/resources/headcount-positions.d.ts +1 -1
  220. package/resources/headcount-positions.js +1 -1
  221. package/resources/headcount-positions.mjs +1 -1
  222. package/resources/headcount-priorities.d.mts +1 -1
  223. package/resources/headcount-priorities.d.ts +1 -1
  224. package/resources/headcount-priorities.js +1 -1
  225. package/resources/headcount-priorities.mjs +1 -1
  226. package/resources/index.d.mts +3 -0
  227. package/resources/index.d.mts.map +1 -1
  228. package/resources/index.d.ts +3 -0
  229. package/resources/index.d.ts.map +1 -1
  230. package/resources/index.js +8 -2
  231. package/resources/index.js.map +1 -1
  232. package/resources/index.mjs +3 -0
  233. package/resources/index.mjs.map +1 -1
  234. package/resources/job-assignments.d.mts +2 -2
  235. package/resources/job-assignments.d.ts +2 -2
  236. package/resources/job-assignments.js +2 -2
  237. package/resources/job-assignments.mjs +2 -2
  238. package/resources/job-codes.d.mts +2 -2
  239. package/resources/job-codes.d.ts +2 -2
  240. package/resources/job-codes.js +2 -2
  241. package/resources/job-codes.mjs +2 -2
  242. package/resources/job-dimensions.d.mts +1 -1
  243. package/resources/job-dimensions.d.ts +1 -1
  244. package/resources/job-dimensions.js +1 -1
  245. package/resources/job-dimensions.mjs +1 -1
  246. package/resources/job-pay-rate-exceptions.d.mts +2 -2
  247. package/resources/job-pay-rate-exceptions.d.ts +2 -2
  248. package/resources/job-pay-rate-exceptions.js +2 -2
  249. package/resources/job-pay-rate-exceptions.mjs +2 -2
  250. package/resources/job-requisitions.d.mts +1 -1
  251. package/resources/job-requisitions.d.ts +1 -1
  252. package/resources/job-requisitions.js +1 -1
  253. package/resources/job-requisitions.mjs +1 -1
  254. package/resources/kiosk-badges.d.mts +1 -1
  255. package/resources/kiosk-badges.d.ts +1 -1
  256. package/resources/kiosk-badges.js +1 -1
  257. package/resources/kiosk-badges.mjs +1 -1
  258. package/resources/leave-accruals.d.mts +1 -1
  259. package/resources/leave-accruals.d.ts +1 -1
  260. package/resources/leave-accruals.js +1 -1
  261. package/resources/leave-accruals.mjs +1 -1
  262. package/resources/leave-balances.d.mts +1 -1
  263. package/resources/leave-balances.d.ts +1 -1
  264. package/resources/leave-balances.js +1 -1
  265. package/resources/leave-balances.mjs +1 -1
  266. package/resources/leave-requests.d.mts +1 -1
  267. package/resources/leave-requests.d.ts +1 -1
  268. package/resources/leave-requests.js +1 -1
  269. package/resources/leave-requests.mjs +1 -1
  270. package/resources/leave-types.d.mts +1 -1
  271. package/resources/leave-types.d.ts +1 -1
  272. package/resources/leave-types.js +1 -1
  273. package/resources/leave-types.mjs +1 -1
  274. package/resources/legal-entities.d.mts +1 -1
  275. package/resources/legal-entities.d.ts +1 -1
  276. package/resources/legal-entities.js +1 -1
  277. package/resources/legal-entities.mjs +1 -1
  278. package/resources/levels.d.mts +1 -1
  279. package/resources/levels.d.ts +1 -1
  280. package/resources/levels.js +1 -1
  281. package/resources/levels.mjs +1 -1
  282. package/resources/location-factors.d.mts +1 -1
  283. package/resources/location-factors.d.ts +1 -1
  284. package/resources/location-factors.js +1 -1
  285. package/resources/location-factors.mjs +1 -1
  286. package/resources/packages/index.d.mts +3 -0
  287. package/resources/packages/index.d.mts.map +1 -0
  288. package/resources/packages/index.d.ts +3 -0
  289. package/resources/packages/index.d.ts.map +1 -0
  290. package/resources/packages/index.js +9 -0
  291. package/resources/packages/index.js.map +1 -0
  292. package/resources/packages/index.mjs +4 -0
  293. package/resources/packages/index.mjs.map +1 -0
  294. package/resources/packages/packages.d.mts +239 -0
  295. package/resources/packages/packages.d.mts.map +1 -0
  296. package/resources/packages/packages.d.ts +239 -0
  297. package/resources/packages/packages.d.ts.map +1 -0
  298. package/resources/packages/packages.js +60 -0
  299. package/resources/packages/packages.js.map +1 -0
  300. package/resources/packages/packages.mjs +55 -0
  301. package/resources/packages/packages.mjs.map +1 -0
  302. package/resources/packages/versions.d.mts +72 -0
  303. package/resources/packages/versions.d.mts.map +1 -0
  304. package/resources/packages/versions.d.ts +72 -0
  305. package/resources/packages/versions.d.ts.map +1 -0
  306. package/resources/packages/versions.js +19 -0
  307. package/resources/packages/versions.js.map +1 -0
  308. package/resources/packages/versions.mjs +15 -0
  309. package/resources/packages/versions.mjs.map +1 -0
  310. package/resources/packages.d.mts +2 -0
  311. package/resources/packages.d.mts.map +1 -0
  312. package/resources/packages.d.ts +2 -0
  313. package/resources/packages.d.ts.map +1 -0
  314. package/resources/packages.js +6 -0
  315. package/resources/packages.js.map +1 -0
  316. package/resources/packages.mjs +3 -0
  317. package/resources/packages.mjs.map +1 -0
  318. package/resources/scheduled-job-assignments.d.mts +1 -1
  319. package/resources/scheduled-job-assignments.d.ts +1 -1
  320. package/resources/scheduled-job-assignments.js +1 -1
  321. package/resources/scheduled-job-assignments.mjs +1 -1
  322. package/resources/schedules.d.mts +1 -1
  323. package/resources/schedules.d.ts +1 -1
  324. package/resources/schedules.js +1 -1
  325. package/resources/schedules.mjs +1 -1
  326. package/resources/shift-assignments.d.mts +1 -1
  327. package/resources/shift-assignments.d.ts +1 -1
  328. package/resources/shift-assignments.js +1 -1
  329. package/resources/shift-assignments.mjs +1 -1
  330. package/resources/shift-inputs.d.mts +1 -1
  331. package/resources/shift-inputs.d.ts +1 -1
  332. package/resources/shift-inputs.js +1 -1
  333. package/resources/shift-inputs.mjs +1 -1
  334. package/resources/shiftassignments.d.mts +1 -1
  335. package/resources/shiftassignments.d.ts +1 -1
  336. package/resources/shiftassignments.js +1 -1
  337. package/resources/shiftassignments.mjs +1 -1
  338. package/resources/sites.d.mts +572 -0
  339. package/resources/sites.d.mts.map +1 -0
  340. package/resources/sites.d.ts +572 -0
  341. package/resources/sites.d.ts.map +1 -0
  342. package/resources/sites.js +154 -0
  343. package/resources/sites.js.map +1 -0
  344. package/resources/sites.mjs +150 -0
  345. package/resources/sites.mjs.map +1 -0
  346. package/resources/software-deployments.d.mts +1 -1
  347. package/resources/software-deployments.d.ts +1 -1
  348. package/resources/software-deployments.js +1 -1
  349. package/resources/software-deployments.mjs +1 -1
  350. package/resources/time-cards.d.mts +1 -1
  351. package/resources/time-cards.d.ts +1 -1
  352. package/resources/time-cards.js +1 -1
  353. package/resources/time-cards.mjs +1 -1
  354. package/resources/time-entries.d.mts +1 -1
  355. package/resources/time-entries.d.ts +1 -1
  356. package/resources/time-entries.js +1 -1
  357. package/resources/time-entries.mjs +1 -1
  358. package/resources/tracks.d.mts +1 -1
  359. package/resources/tracks.d.ts +1 -1
  360. package/resources/tracks.js +1 -1
  361. package/resources/tracks.mjs +1 -1
  362. package/resources/unassigned-shifts.d.mts +2 -2
  363. package/resources/unassigned-shifts.d.ts +2 -2
  364. package/resources/unassigned-shifts.js +2 -2
  365. package/resources/unassigned-shifts.mjs +2 -2
  366. package/resources/unassignedshifts.d.mts +1 -1
  367. package/resources/unassignedshifts.d.ts +1 -1
  368. package/resources/unassignedshifts.js +1 -1
  369. package/resources/unassignedshifts.mjs +1 -1
  370. package/resources/worker-time-splits.d.mts +1 -1
  371. package/resources/worker-time-splits.d.ts +1 -1
  372. package/resources/worker-time-splits.js +1 -1
  373. package/resources/worker-time-splits.mjs +1 -1
  374. package/src/client.ts +91 -0
  375. package/src/lib/leave-programs/README.md +160 -0
  376. package/src/lib/leave-programs/advanced.ts +11 -0
  377. package/src/lib/leave-programs/context.ts +101 -0
  378. package/src/lib/leave-programs/define-company-leave-program.ts +58 -0
  379. package/src/lib/leave-programs/duration.ts +20 -0
  380. package/src/lib/leave-programs/pay.ts +18 -0
  381. package/src/lib/leave-programs/policy-builder.ts +113 -0
  382. package/src/lib/leave-programs/recipes/parental-top-up-policy.ts +85 -0
  383. package/src/lib/leave-programs/testing.ts +16 -0
  384. package/src/lib/leave-programs/types.ts +274 -0
  385. package/src/lib/leave-programs.ts +35 -0
  386. package/src/resources/agents/agents.ts +340 -0
  387. package/src/resources/agents/deployments.ts +249 -0
  388. package/src/resources/agents/index.ts +40 -0
  389. package/src/resources/agents/sessions/events.ts +107 -0
  390. package/src/resources/agents/sessions/index.ts +12 -0
  391. package/src/resources/agents/sessions/sessions.ts +216 -0
  392. package/src/resources/agents/sessions.ts +3 -0
  393. package/src/resources/agents/source-revisions.ts +267 -0
  394. package/src/resources/agents.ts +3 -0
  395. package/src/resources/break-policies.ts +1 -1
  396. package/src/resources/break-types.ts +1 -1
  397. package/src/resources/business-structure-paths.ts +1 -1
  398. package/src/resources/candidate-applications.ts +1 -1
  399. package/src/resources/candidates.ts +1 -1
  400. package/src/resources/company-legal-entities.ts +1 -1
  401. package/src/resources/company-legal-entity-workers.ts +1 -1
  402. package/src/resources/compensation-bands-details.ts +1 -1
  403. package/src/resources/compensations.ts +1 -1
  404. package/src/resources/device-orders.ts +1 -1
  405. package/src/resources/devices.ts +1 -1
  406. package/src/resources/functions/deployments.ts +2 -2
  407. package/src/resources/functions/executions.ts +2 -2
  408. package/src/resources/functions/functions.ts +1 -1
  409. package/src/resources/headcount-positions.ts +1 -1
  410. package/src/resources/headcount-priorities.ts +1 -1
  411. package/src/resources/index.ts +38 -0
  412. package/src/resources/job-assignments.ts +2 -2
  413. package/src/resources/job-codes.ts +2 -2
  414. package/src/resources/job-dimensions.ts +1 -1
  415. package/src/resources/job-pay-rate-exceptions.ts +2 -2
  416. package/src/resources/job-requisitions.ts +1 -1
  417. package/src/resources/kiosk-badges.ts +1 -1
  418. package/src/resources/leave-accruals.ts +1 -1
  419. package/src/resources/leave-balances.ts +1 -1
  420. package/src/resources/leave-requests.ts +1 -1
  421. package/src/resources/leave-types.ts +1 -1
  422. package/src/resources/legal-entities.ts +1 -1
  423. package/src/resources/levels.ts +1 -1
  424. package/src/resources/location-factors.ts +1 -1
  425. package/src/resources/packages/index.ts +14 -0
  426. package/src/resources/packages/packages.ts +329 -0
  427. package/src/resources/packages/versions.ts +98 -0
  428. package/src/resources/packages.ts +3 -0
  429. package/src/resources/scheduled-job-assignments.ts +1 -1
  430. package/src/resources/schedules.ts +1 -1
  431. package/src/resources/shift-assignments.ts +1 -1
  432. package/src/resources/shift-inputs.ts +1 -1
  433. package/src/resources/shiftassignments.ts +1 -1
  434. package/src/resources/sites.ts +736 -0
  435. package/src/resources/software-deployments.ts +1 -1
  436. package/src/resources/time-cards.ts +1 -1
  437. package/src/resources/time-entries.ts +1 -1
  438. package/src/resources/tracks.ts +1 -1
  439. package/src/resources/unassigned-shifts.ts +2 -2
  440. package/src/resources/unassignedshifts.ts +1 -1
  441. package/src/resources/worker-time-splits.ts +1 -1
  442. package/src/version.ts +1 -1
  443. package/version.d.mts +1 -1
  444. package/version.d.ts +1 -1
  445. package/version.js +1 -1
  446. package/version.mjs +1 -1
@@ -0,0 +1,195 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { PageCursorURL, PagePromise } from "../../core/pagination.mjs";
4
+ import { RequestOptions } from "../../internal/request-options.mjs";
5
+ /**
6
+ * Agents defined by the company
7
+ */
8
+ export declare class SourceRevisions extends APIResource {
9
+ /**
10
+ * A list of source revisions for an agent.
11
+ */
12
+ list(agentID: string, query?: SourceRevisionListParams | null | undefined, options?: RequestOptions): PagePromise<SourceRevisionListResponsesPageCursorURL, SourceRevisionListResponse>;
13
+ /**
14
+ * Create a source revision for an agent.
15
+ */
16
+ create(agentID: string, body: SourceRevisionCreateParams, options?: RequestOptions): APIPromise<SourceRevisionCreateResponse>;
17
+ /**
18
+ * Retrieve a source revision for an agent.
19
+ */
20
+ retrieve(agentID: string, sourceRevisionID: string, options?: RequestOptions): APIPromise<SourceRevisionRetrieveResponse>;
21
+ }
22
+ export type SourceRevisionListResponsesPageCursorURL = PageCursorURL<SourceRevisionListResponse>;
23
+ /**
24
+ * List representation of an agent source revision without source contents.
25
+ */
26
+ export interface SourceRevisionListResponse {
27
+ /**
28
+ * Identifier field
29
+ */
30
+ id: string;
31
+ /**
32
+ * Record creation date
33
+ */
34
+ created_at: string;
35
+ /**
36
+ * Record update date
37
+ */
38
+ updated_at: string;
39
+ /**
40
+ * Skill IDs used by the agent
41
+ */
42
+ skill_ids?: Array<string>;
43
+ /**
44
+ * The digest of the source revision
45
+ */
46
+ source_digest?: string;
47
+ /**
48
+ * The version number of the source revision
49
+ */
50
+ version?: number;
51
+ }
52
+ export interface SourceRevisionCreateResponse {
53
+ /**
54
+ * Identifier field
55
+ */
56
+ id: string;
57
+ /**
58
+ * Record creation date
59
+ */
60
+ created_at: string;
61
+ /**
62
+ * The entrypoint file
63
+ */
64
+ entrypoint: string;
65
+ /**
66
+ * The files in the source revision
67
+ */
68
+ files: Array<SourceRevisionCreateResponse.File>;
69
+ /**
70
+ * Record update date
71
+ */
72
+ updated_at: string;
73
+ /**
74
+ * Skill IDs used by the agent
75
+ */
76
+ skill_ids?: Array<string>;
77
+ /**
78
+ * The digest of the source revision
79
+ */
80
+ source_digest?: string;
81
+ /**
82
+ * The version number of the source revision
83
+ */
84
+ version?: number;
85
+ }
86
+ export declare namespace SourceRevisionCreateResponse {
87
+ interface File {
88
+ /**
89
+ * The contents of the source file
90
+ */
91
+ content: string;
92
+ /**
93
+ * The source file language or format
94
+ */
95
+ kind: string;
96
+ /**
97
+ * The path of the source file
98
+ */
99
+ path: string;
100
+ }
101
+ }
102
+ export interface SourceRevisionRetrieveResponse {
103
+ /**
104
+ * Identifier field
105
+ */
106
+ id: string;
107
+ /**
108
+ * Record creation date
109
+ */
110
+ created_at: string;
111
+ /**
112
+ * The entrypoint file
113
+ */
114
+ entrypoint: string;
115
+ /**
116
+ * The files in the source revision
117
+ */
118
+ files: Array<SourceRevisionRetrieveResponse.File>;
119
+ /**
120
+ * Record update date
121
+ */
122
+ updated_at: string;
123
+ /**
124
+ * Skill IDs used by the agent
125
+ */
126
+ skill_ids?: Array<string>;
127
+ /**
128
+ * The digest of the source revision
129
+ */
130
+ source_digest?: string;
131
+ /**
132
+ * The version number of the source revision
133
+ */
134
+ version?: number;
135
+ }
136
+ export declare namespace SourceRevisionRetrieveResponse {
137
+ interface File {
138
+ /**
139
+ * The contents of the source file
140
+ */
141
+ content: string;
142
+ /**
143
+ * The source file language or format
144
+ */
145
+ kind: string;
146
+ /**
147
+ * The path of the source file
148
+ */
149
+ path: string;
150
+ }
151
+ }
152
+ export interface SourceRevisionListParams {
153
+ /**
154
+ * The cursor from a previous next_link.
155
+ */
156
+ cursor?: string;
157
+ /**
158
+ * The maximum number of results to return.
159
+ */
160
+ limit?: number;
161
+ }
162
+ export interface SourceRevisionCreateParams {
163
+ /**
164
+ * The entrypoint file
165
+ */
166
+ entrypoint: string;
167
+ /**
168
+ * The files in the source revision
169
+ */
170
+ files: Array<SourceRevisionCreateParams.File>;
171
+ /**
172
+ * Skill IDs used by the agent
173
+ */
174
+ skill_ids?: Array<string>;
175
+ }
176
+ export declare namespace SourceRevisionCreateParams {
177
+ interface File {
178
+ /**
179
+ * The contents of the source file
180
+ */
181
+ content: string;
182
+ /**
183
+ * The source file language or format
184
+ */
185
+ kind: string;
186
+ /**
187
+ * The path of the source file
188
+ */
189
+ path: string;
190
+ }
191
+ }
192
+ export declare namespace SourceRevisions {
193
+ export { type SourceRevisionListResponse as SourceRevisionListResponse, type SourceRevisionCreateResponse as SourceRevisionCreateResponse, type SourceRevisionRetrieveResponse as SourceRevisionRetrieveResponse, type SourceRevisionListResponsesPageCursorURL as SourceRevisionListResponsesPageCursorURL, type SourceRevisionListParams as SourceRevisionListParams, type SourceRevisionCreateParams as SourceRevisionCreateParams, };
194
+ }
195
+ //# sourceMappingURL=source-revisions.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source-revisions.d.mts","sourceRoot":"","sources":["../../src/resources/agents/source-revisions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,kCAA8B;AACnE,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;OAEG;IACH,IAAI,CACF,OAAO,EAAE,MAAM,EACf,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,wCAAwC,EAAE,0BAA0B,CAAC;IAQpF;;OAEG;IACH,MAAM,CACJ,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;OAEG;IACH,QAAQ,CACN,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;CAG9C;AAED,MAAM,MAAM,wCAAwC,GAAG,aAAa,CAAC,0BAA0B,CAAC,CAAC;AAEjG;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,U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,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,yBAAiB,8BAA8B,CAAC;IAC9C,UAAiB,IAAI;QACnB;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,0BAA0B,CAAC,IAAI,CAAC,CAAC;IAE9C;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,IAAI;QACnB;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
@@ -0,0 +1,195 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { PageCursorURL, PagePromise } from "../../core/pagination.js";
4
+ import { RequestOptions } from "../../internal/request-options.js";
5
+ /**
6
+ * Agents defined by the company
7
+ */
8
+ export declare class SourceRevisions extends APIResource {
9
+ /**
10
+ * A list of source revisions for an agent.
11
+ */
12
+ list(agentID: string, query?: SourceRevisionListParams | null | undefined, options?: RequestOptions): PagePromise<SourceRevisionListResponsesPageCursorURL, SourceRevisionListResponse>;
13
+ /**
14
+ * Create a source revision for an agent.
15
+ */
16
+ create(agentID: string, body: SourceRevisionCreateParams, options?: RequestOptions): APIPromise<SourceRevisionCreateResponse>;
17
+ /**
18
+ * Retrieve a source revision for an agent.
19
+ */
20
+ retrieve(agentID: string, sourceRevisionID: string, options?: RequestOptions): APIPromise<SourceRevisionRetrieveResponse>;
21
+ }
22
+ export type SourceRevisionListResponsesPageCursorURL = PageCursorURL<SourceRevisionListResponse>;
23
+ /**
24
+ * List representation of an agent source revision without source contents.
25
+ */
26
+ export interface SourceRevisionListResponse {
27
+ /**
28
+ * Identifier field
29
+ */
30
+ id: string;
31
+ /**
32
+ * Record creation date
33
+ */
34
+ created_at: string;
35
+ /**
36
+ * Record update date
37
+ */
38
+ updated_at: string;
39
+ /**
40
+ * Skill IDs used by the agent
41
+ */
42
+ skill_ids?: Array<string>;
43
+ /**
44
+ * The digest of the source revision
45
+ */
46
+ source_digest?: string;
47
+ /**
48
+ * The version number of the source revision
49
+ */
50
+ version?: number;
51
+ }
52
+ export interface SourceRevisionCreateResponse {
53
+ /**
54
+ * Identifier field
55
+ */
56
+ id: string;
57
+ /**
58
+ * Record creation date
59
+ */
60
+ created_at: string;
61
+ /**
62
+ * The entrypoint file
63
+ */
64
+ entrypoint: string;
65
+ /**
66
+ * The files in the source revision
67
+ */
68
+ files: Array<SourceRevisionCreateResponse.File>;
69
+ /**
70
+ * Record update date
71
+ */
72
+ updated_at: string;
73
+ /**
74
+ * Skill IDs used by the agent
75
+ */
76
+ skill_ids?: Array<string>;
77
+ /**
78
+ * The digest of the source revision
79
+ */
80
+ source_digest?: string;
81
+ /**
82
+ * The version number of the source revision
83
+ */
84
+ version?: number;
85
+ }
86
+ export declare namespace SourceRevisionCreateResponse {
87
+ interface File {
88
+ /**
89
+ * The contents of the source file
90
+ */
91
+ content: string;
92
+ /**
93
+ * The source file language or format
94
+ */
95
+ kind: string;
96
+ /**
97
+ * The path of the source file
98
+ */
99
+ path: string;
100
+ }
101
+ }
102
+ export interface SourceRevisionRetrieveResponse {
103
+ /**
104
+ * Identifier field
105
+ */
106
+ id: string;
107
+ /**
108
+ * Record creation date
109
+ */
110
+ created_at: string;
111
+ /**
112
+ * The entrypoint file
113
+ */
114
+ entrypoint: string;
115
+ /**
116
+ * The files in the source revision
117
+ */
118
+ files: Array<SourceRevisionRetrieveResponse.File>;
119
+ /**
120
+ * Record update date
121
+ */
122
+ updated_at: string;
123
+ /**
124
+ * Skill IDs used by the agent
125
+ */
126
+ skill_ids?: Array<string>;
127
+ /**
128
+ * The digest of the source revision
129
+ */
130
+ source_digest?: string;
131
+ /**
132
+ * The version number of the source revision
133
+ */
134
+ version?: number;
135
+ }
136
+ export declare namespace SourceRevisionRetrieveResponse {
137
+ interface File {
138
+ /**
139
+ * The contents of the source file
140
+ */
141
+ content: string;
142
+ /**
143
+ * The source file language or format
144
+ */
145
+ kind: string;
146
+ /**
147
+ * The path of the source file
148
+ */
149
+ path: string;
150
+ }
151
+ }
152
+ export interface SourceRevisionListParams {
153
+ /**
154
+ * The cursor from a previous next_link.
155
+ */
156
+ cursor?: string;
157
+ /**
158
+ * The maximum number of results to return.
159
+ */
160
+ limit?: number;
161
+ }
162
+ export interface SourceRevisionCreateParams {
163
+ /**
164
+ * The entrypoint file
165
+ */
166
+ entrypoint: string;
167
+ /**
168
+ * The files in the source revision
169
+ */
170
+ files: Array<SourceRevisionCreateParams.File>;
171
+ /**
172
+ * Skill IDs used by the agent
173
+ */
174
+ skill_ids?: Array<string>;
175
+ }
176
+ export declare namespace SourceRevisionCreateParams {
177
+ interface File {
178
+ /**
179
+ * The contents of the source file
180
+ */
181
+ content: string;
182
+ /**
183
+ * The source file language or format
184
+ */
185
+ kind: string;
186
+ /**
187
+ * The path of the source file
188
+ */
189
+ path: string;
190
+ }
191
+ }
192
+ export declare namespace SourceRevisions {
193
+ export { type SourceRevisionListResponse as SourceRevisionListResponse, type SourceRevisionCreateResponse as SourceRevisionCreateResponse, type SourceRevisionRetrieveResponse as SourceRevisionRetrieveResponse, type SourceRevisionListResponsesPageCursorURL as SourceRevisionListResponsesPageCursorURL, type SourceRevisionListParams as SourceRevisionListParams, type SourceRevisionCreateParams as SourceRevisionCreateParams, };
194
+ }
195
+ //# sourceMappingURL=source-revisions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source-revisions.d.ts","sourceRoot":"","sources":["../../src/resources/agents/source-revisions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,iCAA8B;AACnE,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;OAEG;IACH,IAAI,CACF,OAAO,EAAE,MAAM,EACf,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,wCAAwC,EAAE,0BAA0B,CAAC;IAQpF;;OAEG;IACH,MAAM,CACJ,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;OAEG;IACH,QAAQ,CACN,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;CAG9C;AAED,MAAM,MAAM,wCAAwC,GAAG,aAAa,CAAC,0BAA0B,CAAC,CAAC;AAEjG;;GAEG;AACH,MAAM,WAAW,0BAA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.defineProperty(exports, "__esModule", { value: true });
4
+ exports.SourceRevisions = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const pagination_1 = require("../../core/pagination.js");
7
+ const path_1 = require("../../internal/utils/path.js");
8
+ /**
9
+ * Agents defined by the company
10
+ */
11
+ class SourceRevisions extends resource_1.APIResource {
12
+ /**
13
+ * A list of source revisions for an agent.
14
+ */
15
+ list(agentID, query = {}, options) {
16
+ return this._client.getAPIList((0, path_1.path) `/agents/${agentID}/source-revisions/`, (pagination_1.PageCursorURL), { query, ...options });
17
+ }
18
+ /**
19
+ * Create a source revision for an agent.
20
+ */
21
+ create(agentID, body, options) {
22
+ return this._client.post((0, path_1.path) `/agents/${agentID}/source-revisions/`, { body, ...options });
23
+ }
24
+ /**
25
+ * Retrieve a source revision for an agent.
26
+ */
27
+ retrieve(agentID, sourceRevisionID, options) {
28
+ return this._client.get((0, path_1.path) `/agents/${agentID}/source-revisions/${sourceRevisionID}/`, options);
29
+ }
30
+ }
31
+ exports.SourceRevisions = SourceRevisions;
32
+ //# sourceMappingURL=source-revisions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source-revisions.js","sourceRoot":"","sources":["../../src/resources/agents/source-revisions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAAmE;AAEnE,uDAAiD;AAEjD;;GAEG;AACH,MAAa,eAAgB,SAAQ,sBAAW;IAC9C;;OAEG;IACH,IAAI,CACF,OAAe,EACf,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,WAAW,OAAO,oBAAoB,EAC1C,CAAA,0BAAyC,CAAA,EACzC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAe,EACf,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,WAAW,OAAO,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,OAAe,EACf,gBAAwB,EACxB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,WAAW,OAAO,qBAAqB,gBAAgB,GAAG,EAAE,OAAO,CAAC,CAAC;IACnG,CAAC;CACF;AArCD,0CAqCC"}
@@ -0,0 +1,28 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { PageCursorURL } from "../../core/pagination.mjs";
4
+ import { path } from "../../internal/utils/path.mjs";
5
+ /**
6
+ * Agents defined by the company
7
+ */
8
+ export class SourceRevisions extends APIResource {
9
+ /**
10
+ * A list of source revisions for an agent.
11
+ */
12
+ list(agentID, query = {}, options) {
13
+ return this._client.getAPIList(path `/agents/${agentID}/source-revisions/`, (PageCursorURL), { query, ...options });
14
+ }
15
+ /**
16
+ * Create a source revision for an agent.
17
+ */
18
+ create(agentID, body, options) {
19
+ return this._client.post(path `/agents/${agentID}/source-revisions/`, { body, ...options });
20
+ }
21
+ /**
22
+ * Retrieve a source revision for an agent.
23
+ */
24
+ retrieve(agentID, sourceRevisionID, options) {
25
+ return this._client.get(path `/agents/${agentID}/source-revisions/${sourceRevisionID}/`, options);
26
+ }
27
+ }
28
+ //# sourceMappingURL=source-revisions.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source-revisions.mjs","sourceRoot":"","sources":["../../src/resources/agents/source-revisions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,aAAa,EAAe,kCAA8B;AAEnE,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;OAEG;IACH,IAAI,CACF,OAAe,EACf,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,WAAW,OAAO,oBAAoB,EAC1C,CAAA,aAAyC,CAAA,EACzC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAe,EACf,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,WAAW,OAAO,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,OAAe,EACf,gBAAwB,EACxB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,OAAO,qBAAqB,gBAAgB,GAAG,EAAE,OAAO,CAAC,CAAC;IACnG,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export * from "./agents/index.mjs";
2
+ //# sourceMappingURL=agents.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agents.d.mts","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":"AAEA,mCAA+B"}
@@ -0,0 +1,2 @@
1
+ export * from "./agents/index.js";
2
+ //# sourceMappingURL=agents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":"AAEA,kCAA+B"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const tslib_1 = require("../internal/tslib.js");
5
+ tslib_1.__exportStar(require("./agents/index.js"), exports);
6
+ //# sourceMappingURL=agents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agents.js","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4DAA+B"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./agents/index.mjs";
3
+ //# sourceMappingURL=agents.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agents.mjs","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,mCAA+B"}
@@ -10,7 +10,7 @@ export declare class BreakPolicies extends APIResource {
10
10
  /**
11
11
  * A list of break policies.
12
12
  *
13
- * - Requires: `API Tier 2`
13
+ * - Requires: `API Tier 1`
14
14
  * - Sortable fields: `id`, `created_at`, `updated_at`
15
15
  */
16
16
  list(query?: BreakPolicyListParams | null | undefined, options?: RequestOptions): PagePromise<BreakPolicyListResponsesPageCursorURL, BreakPolicyListResponse>;
@@ -10,7 +10,7 @@ export declare class BreakPolicies extends APIResource {
10
10
  /**
11
11
  * A list of break policies.
12
12
  *
13
- * - Requires: `API Tier 2`
13
+ * - Requires: `API Tier 1`
14
14
  * - Sortable fields: `id`, `created_at`, `updated_at`
15
15
  */
16
16
  list(query?: BreakPolicyListParams | null | undefined, options?: RequestOptions): PagePromise<BreakPolicyListResponsesPageCursorURL, BreakPolicyListResponse>;
@@ -12,7 +12,7 @@ class BreakPolicies extends resource_1.APIResource {
12
12
  /**
13
13
  * A list of break policies.
14
14
  *
15
- * - Requires: `API Tier 2`
15
+ * - Requires: `API Tier 1`
16
16
  * - Sortable fields: `id`, `created_at`, `updated_at`
17
17
  */
18
18
  list(query = {}, options) {
@@ -9,7 +9,7 @@ export class BreakPolicies extends APIResource {
9
9
  /**
10
10
  * A list of break policies.
11
11
  *
12
- * - Requires: `API Tier 2`
12
+ * - Requires: `API Tier 1`
13
13
  * - Sortable fields: `id`, `created_at`, `updated_at`
14
14
  */
15
15
  list(query = {}, options) {
@@ -10,7 +10,7 @@ export declare class BreakTypes extends APIResource {
10
10
  /**
11
11
  * A list of break types.
12
12
  *
13
- * - Requires: `API Tier 2`
13
+ * - Requires: `API Tier 1`
14
14
  * - Filterable fields: `policy_id`
15
15
  * - Expandable fields: `policy`
16
16
  * - Sortable fields: `id`, `created_at`, `updated_at`
@@ -10,7 +10,7 @@ export declare class BreakTypes extends APIResource {
10
10
  /**
11
11
  * A list of break types.
12
12
  *
13
- * - Requires: `API Tier 2`
13
+ * - Requires: `API Tier 1`
14
14
  * - Filterable fields: `policy_id`
15
15
  * - Expandable fields: `policy`
16
16
  * - Sortable fields: `id`, `created_at`, `updated_at`
@@ -12,7 +12,7 @@ class BreakTypes extends resource_1.APIResource {
12
12
  /**
13
13
  * A list of break types.
14
14
  *
15
- * - Requires: `API Tier 2`
15
+ * - Requires: `API Tier 1`
16
16
  * - Filterable fields: `policy_id`
17
17
  * - Expandable fields: `policy`
18
18
  * - Sortable fields: `id`, `created_at`, `updated_at`
@@ -9,7 +9,7 @@ export class BreakTypes extends APIResource {
9
9
  /**
10
10
  * A list of break types.
11
11
  *
12
- * - Requires: `API Tier 2`
12
+ * - Requires: `API Tier 1`
13
13
  * - Filterable fields: `policy_id`
14
14
  * - Expandable fields: `policy`
15
15
  * - Sortable fields: `id`, `created_at`, `updated_at`
@@ -11,7 +11,7 @@ export declare class BusinessStructurePaths extends APIResource {
11
11
  /**
12
12
  * A list of business-structure-paths.
13
13
  *
14
- * - Requires: `API Tier 2`
14
+ * - Requires: `API Tier 1`
15
15
  * - Expandable fields: `parent`, `job_codes`
16
16
  * - Sortable fields: `id`, `created_at`, `updated_at`
17
17
  */
@@ -11,7 +11,7 @@ export declare class BusinessStructurePaths extends APIResource {
11
11
  /**
12
12
  * A list of business-structure-paths.
13
13
  *
14
- * - Requires: `API Tier 2`
14
+ * - Requires: `API Tier 1`
15
15
  * - Expandable fields: `parent`, `job_codes`
16
16
  * - Sortable fields: `id`, `created_at`, `updated_at`
17
17
  */
@@ -12,7 +12,7 @@ class BusinessStructurePaths extends resource_1.APIResource {
12
12
  /**
13
13
  * A list of business-structure-paths.
14
14
  *
15
- * - Requires: `API Tier 2`
15
+ * - Requires: `API Tier 1`
16
16
  * - Expandable fields: `parent`, `job_codes`
17
17
  * - Sortable fields: `id`, `created_at`, `updated_at`
18
18
  */
@@ -9,7 +9,7 @@ export class BusinessStructurePaths extends APIResource {
9
9
  /**
10
10
  * A list of business-structure-paths.
11
11
  *
12
- * - Requires: `API Tier 2`
12
+ * - Requires: `API Tier 1`
13
13
  * - Expandable fields: `parent`, `job_codes`
14
14
  * - Sortable fields: `id`, `created_at`, `updated_at`
15
15
  */
@@ -9,7 +9,7 @@ export declare class CandidateApplications extends APIResource {
9
9
  /**
10
10
  * A list of candidate applications.
11
11
  *
12
- * - Requires: `API Tier 2`
12
+ * - Requires: `API Tier 1`
13
13
  * - Expandable fields: `job`
14
14
  * - Sortable fields: `id`, `created_at`, `updated_at`
15
15
  */
@@ -9,7 +9,7 @@ export declare class CandidateApplications extends APIResource {
9
9
  /**
10
10
  * A list of candidate applications.
11
11
  *
12
- * - Requires: `API Tier 2`
12
+ * - Requires: `API Tier 1`
13
13
  * - Expandable fields: `job`
14
14
  * - Sortable fields: `id`, `created_at`, `updated_at`
15
15
  */
@@ -11,7 +11,7 @@ class CandidateApplications extends resource_1.APIResource {
11
11
  /**
12
12
  * A list of candidate applications.
13
13
  *
14
- * - Requires: `API Tier 2`
14
+ * - Requires: `API Tier 1`
15
15
  * - Expandable fields: `job`
16
16
  * - Sortable fields: `id`, `created_at`, `updated_at`
17
17
  */