@rippling/rippling-sdk 0.2.0-alpha.27 → 0.2.0-alpha.29

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 (459) hide show
  1. package/client.d.mts +74 -2
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +74 -2
  4. package/client.d.ts.map +1 -1
  5. package/client.js +72 -0
  6. package/client.js.map +1 -1
  7. package/client.mjs +72 -0
  8. package/client.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/assign-review.d.mts +31 -0
  11. package/resources/assign-review.d.mts.map +1 -0
  12. package/resources/assign-review.d.ts +31 -0
  13. package/resources/assign-review.d.ts.map +1 -0
  14. package/resources/assign-review.js +18 -0
  15. package/resources/assign-review.js.map +1 -0
  16. package/resources/assign-review.mjs +14 -0
  17. package/resources/assign-review.mjs.map +1 -0
  18. package/resources/business-partner-groups.js +4 -4
  19. package/resources/business-partner-groups.js.map +1 -1
  20. package/resources/business-partner-groups.mjs +4 -4
  21. package/resources/business-partner-groups.mjs.map +1 -1
  22. package/resources/business-partners.js +4 -4
  23. package/resources/business-partners.js.map +1 -1
  24. package/resources/business-partners.mjs +4 -4
  25. package/resources/business-partners.mjs.map +1 -1
  26. package/resources/candidate-applications.js +1 -1
  27. package/resources/candidate-applications.js.map +1 -1
  28. package/resources/candidate-applications.mjs +1 -1
  29. package/resources/candidate-applications.mjs.map +1 -1
  30. package/resources/candidates.js +1 -1
  31. package/resources/candidates.js.map +1 -1
  32. package/resources/candidates.mjs +1 -1
  33. package/resources/candidates.mjs.map +1 -1
  34. package/resources/companies.js +1 -1
  35. package/resources/companies.js.map +1 -1
  36. package/resources/companies.mjs +1 -1
  37. package/resources/companies.mjs.map +1 -1
  38. package/resources/compensation-bands-details.js +2 -2
  39. package/resources/compensation-bands-details.js.map +1 -1
  40. package/resources/compensation-bands-details.mjs +2 -2
  41. package/resources/compensation-bands-details.mjs.map +1 -1
  42. package/resources/compensations.js +2 -2
  43. package/resources/compensations.js.map +1 -1
  44. package/resources/compensations.mjs +2 -2
  45. package/resources/compensations.mjs.map +1 -1
  46. package/resources/create-app-notification.d.mts +1 -1
  47. package/resources/create-app-notification.d.ts +1 -1
  48. package/resources/create-app-notification.js +2 -2
  49. package/resources/create-app-notification.js.map +1 -1
  50. package/resources/create-app-notification.mjs +2 -2
  51. package/resources/create-app-notification.mjs.map +1 -1
  52. package/resources/create-gcal-event.d.mts +55 -0
  53. package/resources/create-gcal-event.d.mts.map +1 -0
  54. package/resources/create-gcal-event.d.ts +55 -0
  55. package/resources/create-gcal-event.d.ts.map +1 -0
  56. package/resources/create-gcal-event.js +18 -0
  57. package/resources/create-gcal-event.js.map +1 -0
  58. package/resources/create-gcal-event.mjs +14 -0
  59. package/resources/create-gcal-event.mjs.map +1 -0
  60. package/resources/custom-apps.d.mts +84 -4
  61. package/resources/custom-apps.d.mts.map +1 -1
  62. package/resources/custom-apps.d.ts +84 -4
  63. package/resources/custom-apps.d.ts.map +1 -1
  64. package/resources/custom-apps.js +5 -5
  65. package/resources/custom-apps.js.map +1 -1
  66. package/resources/custom-apps.mjs +5 -5
  67. package/resources/custom-apps.mjs.map +1 -1
  68. package/resources/custom-fields.js +1 -1
  69. package/resources/custom-fields.js.map +1 -1
  70. package/resources/custom-fields.mjs +1 -1
  71. package/resources/custom-fields.mjs.map +1 -1
  72. package/resources/custom-pages.d.mts +40 -64
  73. package/resources/custom-pages.d.mts.map +1 -1
  74. package/resources/custom-pages.d.ts +40 -64
  75. package/resources/custom-pages.d.ts.map +1 -1
  76. package/resources/custom-pages.js +5 -5
  77. package/resources/custom-pages.js.map +1 -1
  78. package/resources/custom-pages.mjs +5 -5
  79. package/resources/custom-pages.mjs.map +1 -1
  80. package/resources/custom-settings.js +5 -5
  81. package/resources/custom-settings.js.map +1 -1
  82. package/resources/custom-settings.mjs +5 -5
  83. package/resources/custom-settings.mjs.map +1 -1
  84. package/resources/delete-custom-object-record.d.mts +26 -0
  85. package/resources/delete-custom-object-record.d.mts.map +1 -0
  86. package/resources/delete-custom-object-record.d.ts +26 -0
  87. package/resources/delete-custom-object-record.d.ts.map +1 -0
  88. package/resources/delete-custom-object-record.js +18 -0
  89. package/resources/delete-custom-object-record.js.map +1 -0
  90. package/resources/delete-custom-object-record.mjs +14 -0
  91. package/resources/delete-custom-object-record.mjs.map +1 -0
  92. package/resources/departments.js +4 -4
  93. package/resources/departments.js.map +1 -1
  94. package/resources/departments.mjs +4 -4
  95. package/resources/departments.mjs.map +1 -1
  96. package/resources/draft-hires.d.mts +8 -0
  97. package/resources/draft-hires.d.mts.map +1 -1
  98. package/resources/draft-hires.d.ts +8 -0
  99. package/resources/draft-hires.d.ts.map +1 -1
  100. package/resources/employment-types.js +2 -2
  101. package/resources/employment-types.js.map +1 -1
  102. package/resources/employment-types.mjs +2 -2
  103. package/resources/employment-types.mjs.map +1 -1
  104. package/resources/entitlements.js +1 -1
  105. package/resources/entitlements.js.map +1 -1
  106. package/resources/entitlements.mjs +1 -1
  107. package/resources/entitlements.mjs.map +1 -1
  108. package/resources/evaluate-rql.d.mts +31 -0
  109. package/resources/evaluate-rql.d.mts.map +1 -0
  110. package/resources/evaluate-rql.d.ts +31 -0
  111. package/resources/evaluate-rql.d.ts.map +1 -0
  112. package/resources/evaluate-rql.js +18 -0
  113. package/resources/evaluate-rql.js.map +1 -0
  114. package/resources/evaluate-rql.mjs +14 -0
  115. package/resources/evaluate-rql.mjs.map +1 -0
  116. package/resources/headcount-positions.js +2 -2
  117. package/resources/headcount-positions.js.map +1 -1
  118. package/resources/headcount-positions.mjs +2 -2
  119. package/resources/headcount-positions.mjs.map +1 -1
  120. package/resources/headcount-priorities.js +2 -2
  121. package/resources/headcount-priorities.js.map +1 -1
  122. package/resources/headcount-priorities.mjs +2 -2
  123. package/resources/headcount-priorities.mjs.map +1 -1
  124. package/resources/index.d.mts +13 -1
  125. package/resources/index.d.mts.map +1 -1
  126. package/resources/index.d.ts +13 -1
  127. package/resources/index.d.ts.map +1 -1
  128. package/resources/index.js +26 -2
  129. package/resources/index.js.map +1 -1
  130. package/resources/index.mjs +12 -0
  131. package/resources/index.mjs.map +1 -1
  132. package/resources/job-assignments.js +6 -6
  133. package/resources/job-assignments.js.map +1 -1
  134. package/resources/job-assignments.mjs +6 -6
  135. package/resources/job-assignments.mjs.map +1 -1
  136. package/resources/job-codes.js +6 -6
  137. package/resources/job-codes.js.map +1 -1
  138. package/resources/job-codes.mjs +6 -6
  139. package/resources/job-codes.mjs.map +1 -1
  140. package/resources/job-dimensions.js +5 -5
  141. package/resources/job-dimensions.js.map +1 -1
  142. package/resources/job-dimensions.mjs +5 -5
  143. package/resources/job-dimensions.mjs.map +1 -1
  144. package/resources/job-functions.js +2 -2
  145. package/resources/job-functions.js.map +1 -1
  146. package/resources/job-functions.mjs +2 -2
  147. package/resources/job-functions.mjs.map +1 -1
  148. package/resources/job-pay-rate-exceptions.js +3 -3
  149. package/resources/job-pay-rate-exceptions.js.map +1 -1
  150. package/resources/job-pay-rate-exceptions.mjs +3 -3
  151. package/resources/job-pay-rate-exceptions.mjs.map +1 -1
  152. package/resources/job-requisitions-write.js +1 -1
  153. package/resources/job-requisitions-write.js.map +1 -1
  154. package/resources/job-requisitions-write.mjs +1 -1
  155. package/resources/job-requisitions-write.mjs.map +1 -1
  156. package/resources/job-requisitions.d.mts.map +1 -1
  157. package/resources/job-requisitions.d.ts.map +1 -1
  158. package/resources/job-requisitions.js +4 -1
  159. package/resources/job-requisitions.js.map +1 -1
  160. package/resources/job-requisitions.mjs +4 -1
  161. package/resources/job-requisitions.mjs.map +1 -1
  162. package/resources/kiosk-badges.js +5 -5
  163. package/resources/kiosk-badges.js.map +1 -1
  164. package/resources/kiosk-badges.mjs +5 -5
  165. package/resources/kiosk-badges.mjs.map +1 -1
  166. package/resources/leave-accruals.js +3 -3
  167. package/resources/leave-accruals.js.map +1 -1
  168. package/resources/leave-accruals.mjs +3 -3
  169. package/resources/leave-accruals.mjs.map +1 -1
  170. package/resources/leave-balances.js +2 -2
  171. package/resources/leave-balances.js.map +1 -1
  172. package/resources/leave-balances.mjs +2 -2
  173. package/resources/leave-balances.mjs.map +1 -1
  174. package/resources/leave-requests.js +4 -4
  175. package/resources/leave-requests.js.map +1 -1
  176. package/resources/leave-requests.mjs +4 -4
  177. package/resources/leave-requests.mjs.map +1 -1
  178. package/resources/leave-types.js +2 -2
  179. package/resources/leave-types.js.map +1 -1
  180. package/resources/leave-types.mjs +2 -2
  181. package/resources/leave-types.mjs.map +1 -1
  182. package/resources/legal-entities.js +2 -2
  183. package/resources/legal-entities.js.map +1 -1
  184. package/resources/legal-entities.mjs +2 -2
  185. package/resources/legal-entities.mjs.map +1 -1
  186. package/resources/levels.js +2 -2
  187. package/resources/levels.js.map +1 -1
  188. package/resources/levels.mjs +2 -2
  189. package/resources/levels.mjs.map +1 -1
  190. package/resources/location-factors.js +2 -2
  191. package/resources/location-factors.js.map +1 -1
  192. package/resources/location-factors.mjs +2 -2
  193. package/resources/location-factors.mjs.map +1 -1
  194. package/resources/metadata/components.js +1 -1
  195. package/resources/metadata/components.js.map +1 -1
  196. package/resources/metadata/components.mjs +1 -1
  197. package/resources/metadata/components.mjs.map +1 -1
  198. package/resources/metadata/metadata.js +1 -1
  199. package/resources/metadata/metadata.js.map +1 -1
  200. package/resources/metadata/metadata.mjs +1 -1
  201. package/resources/metadata/metadata.mjs.map +1 -1
  202. package/resources/metadata/summary.js +1 -1
  203. package/resources/metadata/summary.js.map +1 -1
  204. package/resources/metadata/summary.mjs +1 -1
  205. package/resources/metadata/summary.mjs.map +1 -1
  206. package/resources/metadata/types.js +1 -1
  207. package/resources/metadata/types.js.map +1 -1
  208. package/resources/metadata/types.mjs +1 -1
  209. package/resources/metadata/types.mjs.map +1 -1
  210. package/resources/platform-capabilities.js +1 -1
  211. package/resources/platform-capabilities.js.map +1 -1
  212. package/resources/platform-capabilities.mjs +1 -1
  213. package/resources/platform-capabilities.mjs.map +1 -1
  214. package/resources/report-runs.js +2 -2
  215. package/resources/report-runs.js.map +1 -1
  216. package/resources/report-runs.mjs +2 -2
  217. package/resources/report-runs.mjs.map +1 -1
  218. package/resources/run-query.js +1 -1
  219. package/resources/run-query.js.map +1 -1
  220. package/resources/run-query.mjs +1 -1
  221. package/resources/run-query.mjs.map +1 -1
  222. package/resources/schedules.js +4 -4
  223. package/resources/schedules.js.map +1 -1
  224. package/resources/schedules.mjs +4 -4
  225. package/resources/schedules.mjs.map +1 -1
  226. package/resources/send-email.d.mts +1 -1
  227. package/resources/send-email.d.ts +1 -1
  228. package/resources/send-email.js +2 -2
  229. package/resources/send-email.js.map +1 -1
  230. package/resources/send-email.mjs +2 -2
  231. package/resources/send-email.mjs.map +1 -1
  232. package/resources/send-http-request.d.mts +32 -0
  233. package/resources/send-http-request.d.mts.map +1 -0
  234. package/resources/send-http-request.d.ts +32 -0
  235. package/resources/send-http-request.d.ts.map +1 -0
  236. package/resources/send-http-request.js +18 -0
  237. package/resources/send-http-request.js.map +1 -0
  238. package/resources/send-http-request.mjs +14 -0
  239. package/resources/send-http-request.mjs.map +1 -0
  240. package/resources/send-push-notification.d.mts +27 -0
  241. package/resources/send-push-notification.d.mts.map +1 -0
  242. package/resources/send-push-notification.d.ts +27 -0
  243. package/resources/send-push-notification.d.ts.map +1 -0
  244. package/resources/send-push-notification.js +18 -0
  245. package/resources/send-push-notification.js.map +1 -0
  246. package/resources/send-push-notification.mjs +14 -0
  247. package/resources/send-push-notification.mjs.map +1 -0
  248. package/resources/send-report-sftp.d.mts +42 -0
  249. package/resources/send-report-sftp.d.mts.map +1 -0
  250. package/resources/send-report-sftp.d.ts +42 -0
  251. package/resources/send-report-sftp.d.ts.map +1 -0
  252. package/resources/send-report-sftp.js +18 -0
  253. package/resources/send-report-sftp.js.map +1 -0
  254. package/resources/send-report-sftp.mjs +14 -0
  255. package/resources/send-report-sftp.mjs.map +1 -0
  256. package/resources/send-slack.d.mts +1 -1
  257. package/resources/send-slack.d.ts +1 -1
  258. package/resources/send-slack.js +2 -2
  259. package/resources/send-slack.js.map +1 -1
  260. package/resources/send-slack.mjs +2 -2
  261. package/resources/send-slack.mjs.map +1 -1
  262. package/resources/send-sms.d.mts +26 -0
  263. package/resources/send-sms.d.mts.map +1 -0
  264. package/resources/send-sms.d.ts +26 -0
  265. package/resources/send-sms.d.ts.map +1 -0
  266. package/resources/send-sms.js +18 -0
  267. package/resources/send-sms.js.map +1 -0
  268. package/resources/send-sms.mjs +14 -0
  269. package/resources/send-sms.mjs.map +1 -0
  270. package/resources/send-survey.d.mts +29 -0
  271. package/resources/send-survey.d.mts.map +1 -0
  272. package/resources/send-survey.d.ts +29 -0
  273. package/resources/send-survey.d.ts.map +1 -0
  274. package/resources/send-survey.js +18 -0
  275. package/resources/send-survey.js.map +1 -0
  276. package/resources/send-survey.mjs +14 -0
  277. package/resources/send-survey.mjs.map +1 -0
  278. package/resources/send-teams.d.mts +30 -0
  279. package/resources/send-teams.d.mts.map +1 -0
  280. package/resources/send-teams.d.ts +30 -0
  281. package/resources/send-teams.d.ts.map +1 -0
  282. package/resources/send-teams.js +18 -0
  283. package/resources/send-teams.js.map +1 -0
  284. package/resources/send-teams.mjs +14 -0
  285. package/resources/send-teams.mjs.map +1 -0
  286. package/resources/shift-assignments.js +1 -1
  287. package/resources/shift-assignments.js.map +1 -1
  288. package/resources/shift-assignments.mjs +1 -1
  289. package/resources/shift-assignments.mjs.map +1 -1
  290. package/resources/shift-inputs.js +5 -5
  291. package/resources/shift-inputs.js.map +1 -1
  292. package/resources/shift-inputs.mjs +5 -5
  293. package/resources/shift-inputs.mjs.map +1 -1
  294. package/resources/shiftassignments.js +4 -4
  295. package/resources/shiftassignments.js.map +1 -1
  296. package/resources/shiftassignments.mjs +4 -4
  297. package/resources/shiftassignments.mjs.map +1 -1
  298. package/resources/sso-me.d.mts +3 -3
  299. package/resources/sso-me.d.mts.map +1 -1
  300. package/resources/sso-me.d.ts +3 -3
  301. package/resources/sso-me.d.ts.map +1 -1
  302. package/resources/sso-me.js +2 -2
  303. package/resources/sso-me.js.map +1 -1
  304. package/resources/sso-me.mjs +2 -2
  305. package/resources/sso-me.mjs.map +1 -1
  306. package/resources/supergroups/exclusion-members.js +2 -2
  307. package/resources/supergroups/exclusion-members.js.map +1 -1
  308. package/resources/supergroups/exclusion-members.mjs +2 -2
  309. package/resources/supergroups/exclusion-members.mjs.map +1 -1
  310. package/resources/supergroups/inclusion-members.js +2 -2
  311. package/resources/supergroups/inclusion-members.js.map +1 -1
  312. package/resources/supergroups/inclusion-members.mjs +2 -2
  313. package/resources/supergroups/inclusion-members.mjs.map +1 -1
  314. package/resources/supergroups/members.d.mts.map +1 -1
  315. package/resources/supergroups/members.d.ts.map +1 -1
  316. package/resources/supergroups/members.js +1 -4
  317. package/resources/supergroups/members.js.map +1 -1
  318. package/resources/supergroups/members.mjs +1 -4
  319. package/resources/supergroups/members.mjs.map +1 -1
  320. package/resources/supergroups/supergroups.js +2 -2
  321. package/resources/supergroups/supergroups.js.map +1 -1
  322. package/resources/supergroups/supergroups.mjs +2 -2
  323. package/resources/supergroups/supergroups.mjs.map +1 -1
  324. package/resources/teams.js +2 -2
  325. package/resources/teams.js.map +1 -1
  326. package/resources/teams.mjs +2 -2
  327. package/resources/teams.mjs.map +1 -1
  328. package/resources/time-cards.js +2 -2
  329. package/resources/time-cards.js.map +1 -1
  330. package/resources/time-cards.mjs +2 -2
  331. package/resources/time-cards.mjs.map +1 -1
  332. package/resources/time-entries.js +5 -5
  333. package/resources/time-entries.js.map +1 -1
  334. package/resources/time-entries.mjs +5 -5
  335. package/resources/time-entries.mjs.map +1 -1
  336. package/resources/titles.js +5 -5
  337. package/resources/titles.js.map +1 -1
  338. package/resources/titles.mjs +5 -5
  339. package/resources/titles.mjs.map +1 -1
  340. package/resources/tracks.js +2 -2
  341. package/resources/tracks.js.map +1 -1
  342. package/resources/tracks.mjs +2 -2
  343. package/resources/tracks.mjs.map +1 -1
  344. package/resources/unassigned-shifts.js +2 -2
  345. package/resources/unassigned-shifts.js.map +1 -1
  346. package/resources/unassigned-shifts.mjs +2 -2
  347. package/resources/unassigned-shifts.mjs.map +1 -1
  348. package/resources/unassignedshifts.js +4 -4
  349. package/resources/unassignedshifts.js.map +1 -1
  350. package/resources/unassignedshifts.mjs +4 -4
  351. package/resources/unassignedshifts.mjs.map +1 -1
  352. package/resources/update-custom-object-record.d.mts +27 -0
  353. package/resources/update-custom-object-record.d.mts.map +1 -0
  354. package/resources/update-custom-object-record.d.ts +27 -0
  355. package/resources/update-custom-object-record.d.ts.map +1 -0
  356. package/resources/update-custom-object-record.js +18 -0
  357. package/resources/update-custom-object-record.js.map +1 -0
  358. package/resources/update-custom-object-record.mjs +14 -0
  359. package/resources/update-custom-object-record.mjs.map +1 -0
  360. package/resources/upsert-custom-object.d.mts +26 -0
  361. package/resources/upsert-custom-object.d.mts.map +1 -0
  362. package/resources/upsert-custom-object.d.ts +26 -0
  363. package/resources/upsert-custom-object.d.ts.map +1 -0
  364. package/resources/upsert-custom-object.js +18 -0
  365. package/resources/upsert-custom-object.js.map +1 -0
  366. package/resources/upsert-custom-object.mjs +14 -0
  367. package/resources/upsert-custom-object.mjs.map +1 -0
  368. package/resources/users.js +2 -2
  369. package/resources/users.js.map +1 -1
  370. package/resources/users.mjs +2 -2
  371. package/resources/users.mjs.map +1 -1
  372. package/resources/work-locations.js +5 -5
  373. package/resources/work-locations.js.map +1 -1
  374. package/resources/work-locations.mjs +5 -5
  375. package/resources/work-locations.mjs.map +1 -1
  376. package/resources/workers.js +2 -2
  377. package/resources/workers.js.map +1 -1
  378. package/resources/workers.mjs +2 -2
  379. package/resources/workers.mjs.map +1 -1
  380. package/src/client.ts +178 -6
  381. package/src/resources/assign-review.ts +44 -0
  382. package/src/resources/business-partner-groups.ts +4 -4
  383. package/src/resources/business-partners.ts +4 -4
  384. package/src/resources/candidate-applications.ts +1 -1
  385. package/src/resources/candidates.ts +1 -1
  386. package/src/resources/companies.ts +1 -1
  387. package/src/resources/compensation-bands-details.ts +2 -2
  388. package/src/resources/compensations.ts +2 -2
  389. package/src/resources/create-app-notification.ts +2 -2
  390. package/src/resources/create-gcal-event.ts +86 -0
  391. package/src/resources/custom-apps.ts +109 -9
  392. package/src/resources/custom-fields.ts +1 -1
  393. package/src/resources/custom-pages.ts +47 -77
  394. package/src/resources/custom-settings.ts +5 -5
  395. package/src/resources/delete-custom-object-record.ts +40 -0
  396. package/src/resources/departments.ts +4 -4
  397. package/src/resources/draft-hires.ts +10 -0
  398. package/src/resources/employment-types.ts +2 -2
  399. package/src/resources/entitlements.ts +1 -1
  400. package/src/resources/evaluate-rql.ts +44 -0
  401. package/src/resources/headcount-positions.ts +2 -2
  402. package/src/resources/headcount-priorities.ts +2 -2
  403. package/src/resources/index.ts +45 -1
  404. package/src/resources/job-assignments.ts +6 -6
  405. package/src/resources/job-codes.ts +6 -6
  406. package/src/resources/job-dimensions.ts +5 -5
  407. package/src/resources/job-functions.ts +2 -2
  408. package/src/resources/job-pay-rate-exceptions.ts +3 -3
  409. package/src/resources/job-requisitions-write.ts +1 -1
  410. package/src/resources/job-requisitions.ts +4 -1
  411. package/src/resources/kiosk-badges.ts +5 -5
  412. package/src/resources/leave-accruals.ts +3 -3
  413. package/src/resources/leave-balances.ts +2 -2
  414. package/src/resources/leave-requests.ts +4 -4
  415. package/src/resources/leave-types.ts +2 -2
  416. package/src/resources/legal-entities.ts +2 -2
  417. package/src/resources/levels.ts +2 -2
  418. package/src/resources/location-factors.ts +2 -2
  419. package/src/resources/metadata/components.ts +1 -1
  420. package/src/resources/metadata/metadata.ts +1 -1
  421. package/src/resources/metadata/summary.ts +1 -1
  422. package/src/resources/metadata/types.ts +1 -1
  423. package/src/resources/platform-capabilities.ts +1 -1
  424. package/src/resources/report-runs.ts +2 -2
  425. package/src/resources/run-query.ts +1 -1
  426. package/src/resources/schedules.ts +4 -4
  427. package/src/resources/send-email.ts +2 -2
  428. package/src/resources/send-http-request.ts +49 -0
  429. package/src/resources/send-push-notification.ts +42 -0
  430. package/src/resources/send-report-sftp.ts +66 -0
  431. package/src/resources/send-slack.ts +2 -2
  432. package/src/resources/send-sms.ts +37 -0
  433. package/src/resources/send-survey.ts +43 -0
  434. package/src/resources/send-teams.ts +42 -0
  435. package/src/resources/shift-assignments.ts +1 -1
  436. package/src/resources/shift-inputs.ts +5 -5
  437. package/src/resources/shiftassignments.ts +4 -4
  438. package/src/resources/sso-me.ts +4 -4
  439. package/src/resources/supergroups/exclusion-members.ts +2 -2
  440. package/src/resources/supergroups/inclusion-members.ts +2 -2
  441. package/src/resources/supergroups/members.ts +5 -4
  442. package/src/resources/supergroups/supergroups.ts +2 -2
  443. package/src/resources/teams.ts +2 -2
  444. package/src/resources/time-cards.ts +2 -2
  445. package/src/resources/time-entries.ts +5 -5
  446. package/src/resources/titles.ts +5 -5
  447. package/src/resources/tracks.ts +2 -2
  448. package/src/resources/unassigned-shifts.ts +2 -2
  449. package/src/resources/unassignedshifts.ts +4 -4
  450. package/src/resources/update-custom-object-record.ts +42 -0
  451. package/src/resources/upsert-custom-object.ts +40 -0
  452. package/src/resources/users.ts +2 -2
  453. package/src/resources/work-locations.ts +5 -5
  454. package/src/resources/workers.ts +2 -2
  455. package/src/version.ts +1 -1
  456. package/version.d.mts +1 -1
  457. package/version.d.ts +1 -1
  458. package/version.js +1 -1
  459. package/version.mjs +1 -1
@@ -24,7 +24,7 @@ export class TimeCards extends APIResource {
24
24
  query: TimeCardListParams | null | undefined = {},
25
25
  options?: RequestOptions,
26
26
  ): PagePromise<TimeCardsPageCursorURL, TimeCard> {
27
- return this._client.getAPIList('/time-cards', PageCursorURL<TimeCard>, { query, ...options });
27
+ return this._client.getAPIList('/time-cards/', PageCursorURL<TimeCard>, { query, ...options });
28
28
  }
29
29
 
30
30
  /**
@@ -35,7 +35,7 @@ export class TimeCards extends APIResource {
35
35
  query: TimeCardRetrieveParams | null | undefined = {},
36
36
  options?: RequestOptions,
37
37
  ): APIPromise<TimeCardRetrieveResponse> {
38
- return this._client.get(path`/time-cards/${id}`, { query, ...options });
38
+ return this._client.get(path`/time-cards/${id}/`, { query, ...options });
39
39
  }
40
40
  }
41
41
 
@@ -27,7 +27,7 @@ export class TimeEntries extends APIResource {
27
27
  query: TimeEntryListParams | null | undefined = {},
28
28
  options?: RequestOptions,
29
29
  ): PagePromise<TimeEntryListResponsesPageCursorURL, TimeEntryListResponse> {
30
- return this._client.getAPIList('/time-entries', PageCursorURL<TimeEntryListResponse>, {
30
+ return this._client.getAPIList('/time-entries/', PageCursorURL<TimeEntryListResponse>, {
31
31
  query,
32
32
  ...options,
33
33
  });
@@ -37,7 +37,7 @@ export class TimeEntries extends APIResource {
37
37
  * Create a new time entry
38
38
  */
39
39
  create(body: TimeEntryCreateParams, options?: RequestOptions): APIPromise<TimeEntryCreateResponse> {
40
- return this._client.post('/time-entries', { body, ...options });
40
+ return this._client.post('/time-entries/', { body, ...options });
41
41
  }
42
42
 
43
43
  /**
@@ -48,7 +48,7 @@ export class TimeEntries extends APIResource {
48
48
  query: TimeEntryRetrieveParams | null | undefined = {},
49
49
  options?: RequestOptions,
50
50
  ): APIPromise<TimeEntryRetrieveResponse> {
51
- return this._client.get(path`/time-entries/${id}`, { query, ...options });
51
+ return this._client.get(path`/time-entries/${id}/`, { query, ...options });
52
52
  }
53
53
 
54
54
  /**
@@ -59,14 +59,14 @@ export class TimeEntries extends APIResource {
59
59
  body: TimeEntryUpdateParams,
60
60
  options?: RequestOptions,
61
61
  ): APIPromise<TimeEntryUpdateResponse> {
62
- return this._client.patch(path`/time-entries/${id}`, { body, ...options });
62
+ return this._client.patch(path`/time-entries/${id}/`, { body, ...options });
63
63
  }
64
64
 
65
65
  /**
66
66
  * Delete a time entry
67
67
  */
68
68
  delete(id: string, options?: RequestOptions): APIPromise<void> {
69
- return this._client.delete(path`/time-entries/${id}`, {
69
+ return this._client.delete(path`/time-entries/${id}/`, {
70
70
  ...options,
71
71
  headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
72
72
  });
@@ -22,35 +22,35 @@ export class Titles extends APIResource {
22
22
  query: TitleListParams | null | undefined = {},
23
23
  options?: RequestOptions,
24
24
  ): PagePromise<TitleListResponsesPageCursorURL, TitleListResponse> {
25
- return this._client.getAPIList('/titles', PageCursorURL<TitleListResponse>, { query, ...options });
25
+ return this._client.getAPIList('/titles/', PageCursorURL<TitleListResponse>, { query, ...options });
26
26
  }
27
27
 
28
28
  /**
29
29
  * Create a new title
30
30
  */
31
31
  create(body: TitleCreateParams, options?: RequestOptions): APIPromise<TitleCreateResponse> {
32
- return this._client.post('/titles', { body, ...options });
32
+ return this._client.post('/titles/', { body, ...options });
33
33
  }
34
34
 
35
35
  /**
36
36
  * Retrieve a specific title
37
37
  */
38
38
  retrieve(id: string, options?: RequestOptions): APIPromise<TitleRetrieveResponse> {
39
- return this._client.get(path`/titles/${id}`, options);
39
+ return this._client.get(path`/titles/${id}/`, options);
40
40
  }
41
41
 
42
42
  /**
43
43
  * Updated a specific title
44
44
  */
45
45
  update(id: string, body: TitleUpdateParams, options?: RequestOptions): APIPromise<TitleUpdateResponse> {
46
- return this._client.patch(path`/titles/${id}`, { body, ...options });
46
+ return this._client.patch(path`/titles/${id}/`, { body, ...options });
47
47
  }
48
48
 
49
49
  /**
50
50
  * Delete a title
51
51
  */
52
52
  delete(id: string, options?: RequestOptions): APIPromise<void> {
53
- return this._client.delete(path`/titles/${id}`, {
53
+ return this._client.delete(path`/titles/${id}/`, {
54
54
  ...options,
55
55
  headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
56
56
  });
@@ -21,14 +21,14 @@ export class Tracks extends APIResource {
21
21
  query: TrackListParams | null | undefined = {},
22
22
  options?: RequestOptions,
23
23
  ): PagePromise<TracksPageCursorURL, Track> {
24
- return this._client.getAPIList('/tracks', PageCursorURL<Track>, { query, ...options });
24
+ return this._client.getAPIList('/tracks/', PageCursorURL<Track>, { query, ...options });
25
25
  }
26
26
 
27
27
  /**
28
28
  * Retrieve a specific track
29
29
  */
30
30
  retrieve(id: string, options?: RequestOptions): APIPromise<TrackRetrieveResponse> {
31
- return this._client.get(path`/tracks/${id}`, options);
31
+ return this._client.get(path`/tracks/${id}/`, options);
32
32
  }
33
33
  }
34
34
 
@@ -28,7 +28,7 @@ export class UnassignedShifts extends APIResource {
28
28
  body: UnassignedShiftUpdateCustomfieldsParams,
29
29
  options?: RequestOptions,
30
30
  ): APIPromise<UnassignedShiftUpdateCustomfieldsResponse> {
31
- return this._client.patch(path`/unassignedshifts/${id}/customfields`, { body, ...options });
31
+ return this._client.patch(path`/unassignedshifts/${id}/customfields/`, { body, ...options });
32
32
  }
33
33
 
34
34
  /**
@@ -50,7 +50,7 @@ export class UnassignedShifts extends APIResource {
50
50
  body: UnassignedShiftAssignParams,
51
51
  options?: RequestOptions,
52
52
  ): APIPromise<UnassignedShiftAssignResponse> {
53
- return this._client.post(path`/unassignedshifts/${id}/assign`, { body, ...options });
53
+ return this._client.post(path`/unassignedshifts/${id}/assign/`, { body, ...options });
54
54
  }
55
55
  }
56
56
 
@@ -25,7 +25,7 @@ export class Unassignedshifts extends APIResource {
25
25
  query: UnassignedshiftListParams | null | undefined = {},
26
26
  options?: RequestOptions,
27
27
  ): PagePromise<UnassignedshiftListResponsesPageCursorURL, UnassignedshiftListResponse> {
28
- return this._client.getAPIList('/unassignedshifts', PageCursorURL<UnassignedshiftListResponse>, {
28
+ return this._client.getAPIList('/unassignedshifts/', PageCursorURL<UnassignedshiftListResponse>, {
29
29
  query,
30
30
  ...options,
31
31
  });
@@ -38,7 +38,7 @@ export class Unassignedshifts extends APIResource {
38
38
  body: UnassignedshiftCreateParams,
39
39
  options?: RequestOptions,
40
40
  ): APIPromise<UnassignedshiftCreateResponse> {
41
- return this._client.post('/unassignedshifts', { body, ...options });
41
+ return this._client.post('/unassignedshifts/', { body, ...options });
42
42
  }
43
43
 
44
44
  /**
@@ -49,7 +49,7 @@ export class Unassignedshifts extends APIResource {
49
49
  query: UnassignedshiftRetrieveParams | null | undefined = {},
50
50
  options?: RequestOptions,
51
51
  ): APIPromise<UnassignedshiftRetrieveResponse> {
52
- return this._client.get(path`/unassignedshifts/${id}`, { query, ...options });
52
+ return this._client.get(path`/unassignedshifts/${id}/`, { query, ...options });
53
53
  }
54
54
 
55
55
  /**
@@ -60,7 +60,7 @@ export class Unassignedshifts extends APIResource {
60
60
  body: UnassignedshiftUpdateParams,
61
61
  options?: RequestOptions,
62
62
  ): APIPromise<UnassignedshiftUpdateResponse> {
63
- return this._client.patch(path`/unassignedshifts/${id}`, { body, ...options });
63
+ return this._client.patch(path`/unassignedshifts/${id}/`, { body, ...options });
64
64
  }
65
65
  }
66
66
 
@@ -0,0 +1,42 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../core/resource';
4
+ import { APIPromise } from '../core/api-promise';
5
+ import { RequestOptions } from '../internal/request-options';
6
+
7
+ /**
8
+ * Execute workflow actions like sending emails, Slack messages, and notifications
9
+ */
10
+ export class UpdateCustomObjectRecord extends APIResource {
11
+ /**
12
+ * Execute the custom object record update action.
13
+ */
14
+ create(
15
+ body: UpdateCustomObjectRecordCreateParams,
16
+ options?: RequestOptions,
17
+ ): APIPromise<UpdateCustomObjectRecordCreateResponse> {
18
+ return this._client.post('/update-custom-object-record/', { body, ...options });
19
+ }
20
+ }
21
+
22
+ export interface UpdateCustomObjectRecordCreateResponse {
23
+ /**
24
+ * Result of the update custom object record action
25
+ */
26
+ result: unknown;
27
+ }
28
+
29
+ export interface UpdateCustomObjectRecordCreateParams {
30
+ customObjectAPIName: string;
31
+
32
+ record: unknown;
33
+
34
+ recordID: string;
35
+ }
36
+
37
+ export declare namespace UpdateCustomObjectRecord {
38
+ export {
39
+ type UpdateCustomObjectRecordCreateResponse as UpdateCustomObjectRecordCreateResponse,
40
+ type UpdateCustomObjectRecordCreateParams as UpdateCustomObjectRecordCreateParams,
41
+ };
42
+ }
@@ -0,0 +1,40 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../core/resource';
4
+ import { APIPromise } from '../core/api-promise';
5
+ import { RequestOptions } from '../internal/request-options';
6
+
7
+ /**
8
+ * Execute workflow actions like sending emails, Slack messages, and notifications
9
+ */
10
+ export class UpsertCustomObject extends APIResource {
11
+ /**
12
+ * Execute the custom object upsert action.
13
+ */
14
+ create(
15
+ body: UpsertCustomObjectCreateParams,
16
+ options?: RequestOptions,
17
+ ): APIPromise<UpsertCustomObjectCreateResponse> {
18
+ return this._client.post('/upsert-custom-object/', { body, ...options });
19
+ }
20
+ }
21
+
22
+ export interface UpsertCustomObjectCreateResponse {
23
+ /**
24
+ * Result of the upsert custom object action
25
+ */
26
+ result: unknown;
27
+ }
28
+
29
+ export interface UpsertCustomObjectCreateParams {
30
+ customObjectAPIName: string;
31
+
32
+ record: unknown;
33
+ }
34
+
35
+ export declare namespace UpsertCustomObject {
36
+ export {
37
+ type UpsertCustomObjectCreateResponse as UpsertCustomObjectCreateResponse,
38
+ type UpsertCustomObjectCreateParams as UpsertCustomObjectCreateParams,
39
+ };
40
+ }
@@ -22,14 +22,14 @@ export class Users extends APIResource {
22
22
  query: UserListParams | null | undefined = {},
23
23
  options?: RequestOptions,
24
24
  ): PagePromise<UsersPageCursorURL, User> {
25
- return this._client.getAPIList('/users', PageCursorURL<User>, { query, ...options });
25
+ return this._client.getAPIList('/users/', PageCursorURL<User>, { query, ...options });
26
26
  }
27
27
 
28
28
  /**
29
29
  * Retrieve a specific user
30
30
  */
31
31
  retrieve(id: string, options?: RequestOptions): APIPromise<UserRetrieveResponse> {
32
- return this._client.get(path`/users/${id}`, options);
32
+ return this._client.get(path`/users/${id}/`, options);
33
33
  }
34
34
  }
35
35
 
@@ -23,35 +23,35 @@ export class WorkLocations extends APIResource {
23
23
  query: WorkLocationListParams | null | undefined = {},
24
24
  options?: RequestOptions,
25
25
  ): PagePromise<WorkLocationsPageCursorURL, WorkLocation> {
26
- return this._client.getAPIList('/work-locations', PageCursorURL<WorkLocation>, { query, ...options });
26
+ return this._client.getAPIList('/work-locations/', PageCursorURL<WorkLocation>, { query, ...options });
27
27
  }
28
28
 
29
29
  /**
30
30
  * Create a new work location
31
31
  */
32
32
  create(body: WorkLocationCreateParams, options?: RequestOptions): APIPromise<WorkLocation> {
33
- return this._client.post('/work-locations', { body, ...options });
33
+ return this._client.post('/work-locations/', { body, ...options });
34
34
  }
35
35
 
36
36
  /**
37
37
  * Retrieve a specific work location
38
38
  */
39
39
  retrieve(id: string, options?: RequestOptions): APIPromise<WorkLocationRetrieveResponse> {
40
- return this._client.get(path`/work-locations/${id}`, options);
40
+ return this._client.get(path`/work-locations/${id}/`, options);
41
41
  }
42
42
 
43
43
  /**
44
44
  * Updated a specific work location
45
45
  */
46
46
  update(id: string, body: WorkLocationUpdateParams, options?: RequestOptions): APIPromise<WorkLocation> {
47
- return this._client.patch(path`/work-locations/${id}`, { body, ...options });
47
+ return this._client.patch(path`/work-locations/${id}/`, { body, ...options });
48
48
  }
49
49
 
50
50
  /**
51
51
  * Delete a work location
52
52
  */
53
53
  delete(id: string, options?: RequestOptions): APIPromise<void> {
54
- return this._client.delete(path`/work-locations/${id}`, {
54
+ return this._client.delete(path`/work-locations/${id}/`, {
55
55
  ...options,
56
56
  headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
57
57
  });
@@ -33,7 +33,7 @@ export class Workers extends APIResource {
33
33
  query: WorkerListParams | null | undefined = {},
34
34
  options?: RequestOptions,
35
35
  ): PagePromise<WorkersPageCursorURL, Worker> {
36
- return this._client.getAPIList('/workers', PageCursorURL<Worker>, { query, ...options });
36
+ return this._client.getAPIList('/workers/', PageCursorURL<Worker>, { query, ...options });
37
37
  }
38
38
 
39
39
  /**
@@ -44,7 +44,7 @@ export class Workers extends APIResource {
44
44
  query: WorkerRetrieveParams | null | undefined = {},
45
45
  options?: RequestOptions,
46
46
  ): APIPromise<WorkerRetrieveResponse> {
47
- return this._client.get(path`/workers/${id}`, { query, ...options });
47
+ return this._client.get(path`/workers/${id}/`, { query, ...options });
48
48
  }
49
49
  }
50
50
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.2.0-alpha.27'; // x-release-please-version
1
+ export const VERSION = '0.2.0-alpha.29'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.2.0-alpha.27";
1
+ export declare const VERSION = "0.2.0-alpha.29";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.2.0-alpha.27";
1
+ export declare const VERSION = "0.2.0-alpha.29";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.2.0-alpha.27'; // x-release-please-version
4
+ exports.VERSION = '0.2.0-alpha.29'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.2.0-alpha.27'; // x-release-please-version
1
+ export const VERSION = '0.2.0-alpha.29'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map