@rippling/rippling-sdk 0.2.0-alpha.20

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 (818) hide show
  1. package/LICENSE +201 -0
  2. package/api-promise.d.mts +2 -0
  3. package/api-promise.d.mts.map +1 -0
  4. package/api-promise.d.ts +2 -0
  5. package/api-promise.d.ts.map +1 -0
  6. package/api-promise.js +6 -0
  7. package/api-promise.js.map +1 -0
  8. package/api-promise.mjs +2 -0
  9. package/api-promise.mjs.map +1 -0
  10. package/client.d.mts +308 -0
  11. package/client.d.mts.map +1 -0
  12. package/client.d.ts +308 -0
  13. package/client.d.ts.map +1 -0
  14. package/client.js +592 -0
  15. package/client.js.map +1 -0
  16. package/client.mjs +588 -0
  17. package/client.mjs.map +1 -0
  18. package/core/api-promise.d.mts +46 -0
  19. package/core/api-promise.d.mts.map +1 -0
  20. package/core/api-promise.d.ts +46 -0
  21. package/core/api-promise.d.ts.map +1 -0
  22. package/core/api-promise.js +74 -0
  23. package/core/api-promise.js.map +1 -0
  24. package/core/api-promise.mjs +70 -0
  25. package/core/api-promise.mjs.map +1 -0
  26. package/core/error.d.mts +46 -0
  27. package/core/error.d.mts.map +1 -0
  28. package/core/error.d.ts +46 -0
  29. package/core/error.d.ts.map +1 -0
  30. package/core/error.js +113 -0
  31. package/core/error.js.map +1 -0
  32. package/core/error.mjs +97 -0
  33. package/core/error.mjs.map +1 -0
  34. package/core/pagination.d.mts +50 -0
  35. package/core/pagination.d.mts.map +1 -0
  36. package/core/pagination.d.ts +50 -0
  37. package/core/pagination.d.ts.map +1 -0
  38. package/core/pagination.js +104 -0
  39. package/core/pagination.js.map +1 -0
  40. package/core/pagination.mjs +98 -0
  41. package/core/pagination.mjs.map +1 -0
  42. package/core/resource.d.mts +6 -0
  43. package/core/resource.d.mts.map +1 -0
  44. package/core/resource.d.ts +6 -0
  45. package/core/resource.d.ts.map +1 -0
  46. package/core/resource.js +11 -0
  47. package/core/resource.js.map +1 -0
  48. package/core/resource.mjs +7 -0
  49. package/core/resource.mjs.map +1 -0
  50. package/core/uploads.d.mts +3 -0
  51. package/core/uploads.d.mts.map +1 -0
  52. package/core/uploads.d.ts +3 -0
  53. package/core/uploads.d.ts.map +1 -0
  54. package/core/uploads.js +6 -0
  55. package/core/uploads.js.map +1 -0
  56. package/core/uploads.mjs +2 -0
  57. package/core/uploads.mjs.map +1 -0
  58. package/error.d.mts +2 -0
  59. package/error.d.mts.map +1 -0
  60. package/error.d.ts +2 -0
  61. package/error.d.ts.map +1 -0
  62. package/error.js +6 -0
  63. package/error.js.map +1 -0
  64. package/error.mjs +2 -0
  65. package/error.mjs.map +1 -0
  66. package/functions.d.mts +68 -0
  67. package/functions.d.mts.map +1 -0
  68. package/functions.d.ts +68 -0
  69. package/functions.d.ts.map +1 -0
  70. package/functions.js +48 -0
  71. package/functions.js.map +1 -0
  72. package/functions.mjs +40 -0
  73. package/functions.mjs.map +1 -0
  74. package/index.d.mts +8 -0
  75. package/index.d.mts.map +1 -0
  76. package/index.d.ts +8 -0
  77. package/index.d.ts.map +1 -0
  78. package/index.js +34 -0
  79. package/index.js.map +1 -0
  80. package/index.mjs +9 -0
  81. package/index.mjs.map +1 -0
  82. package/internal/builtin-types.d.mts +73 -0
  83. package/internal/builtin-types.d.mts.map +1 -0
  84. package/internal/builtin-types.d.ts +73 -0
  85. package/internal/builtin-types.d.ts.map +1 -0
  86. package/internal/builtin-types.js +4 -0
  87. package/internal/builtin-types.js.map +1 -0
  88. package/internal/builtin-types.mjs +3 -0
  89. package/internal/builtin-types.mjs.map +1 -0
  90. package/internal/detect-platform.d.mts +15 -0
  91. package/internal/detect-platform.d.mts.map +1 -0
  92. package/internal/detect-platform.d.ts +15 -0
  93. package/internal/detect-platform.d.ts.map +1 -0
  94. package/internal/detect-platform.js +162 -0
  95. package/internal/detect-platform.js.map +1 -0
  96. package/internal/detect-platform.mjs +157 -0
  97. package/internal/detect-platform.mjs.map +1 -0
  98. package/internal/errors.d.mts +3 -0
  99. package/internal/errors.d.mts.map +1 -0
  100. package/internal/errors.d.ts +3 -0
  101. package/internal/errors.d.ts.map +1 -0
  102. package/internal/errors.js +41 -0
  103. package/internal/errors.js.map +1 -0
  104. package/internal/errors.mjs +36 -0
  105. package/internal/errors.mjs.map +1 -0
  106. package/internal/headers.d.mts +20 -0
  107. package/internal/headers.d.mts.map +1 -0
  108. package/internal/headers.d.ts +20 -0
  109. package/internal/headers.d.ts.map +1 -0
  110. package/internal/headers.js +79 -0
  111. package/internal/headers.js.map +1 -0
  112. package/internal/headers.mjs +74 -0
  113. package/internal/headers.mjs.map +1 -0
  114. package/internal/parse.d.mts +12 -0
  115. package/internal/parse.d.mts.map +1 -0
  116. package/internal/parse.d.ts +12 -0
  117. package/internal/parse.d.ts.map +1 -0
  118. package/internal/parse.js +35 -0
  119. package/internal/parse.js.map +1 -0
  120. package/internal/parse.mjs +32 -0
  121. package/internal/parse.mjs.map +1 -0
  122. package/internal/request-options.d.mts +75 -0
  123. package/internal/request-options.d.mts.map +1 -0
  124. package/internal/request-options.d.ts +75 -0
  125. package/internal/request-options.d.ts.map +1 -0
  126. package/internal/request-options.js +14 -0
  127. package/internal/request-options.js.map +1 -0
  128. package/internal/request-options.mjs +10 -0
  129. package/internal/request-options.mjs.map +1 -0
  130. package/internal/shim-types.d.mts +17 -0
  131. package/internal/shim-types.d.mts.map +1 -0
  132. package/internal/shim-types.d.ts +17 -0
  133. package/internal/shim-types.d.ts.map +1 -0
  134. package/internal/shim-types.js +4 -0
  135. package/internal/shim-types.js.map +1 -0
  136. package/internal/shim-types.mjs +3 -0
  137. package/internal/shim-types.mjs.map +1 -0
  138. package/internal/shims.d.mts +20 -0
  139. package/internal/shims.d.mts.map +1 -0
  140. package/internal/shims.d.ts +20 -0
  141. package/internal/shims.d.ts.map +1 -0
  142. package/internal/shims.js +92 -0
  143. package/internal/shims.js.map +1 -0
  144. package/internal/shims.mjs +85 -0
  145. package/internal/shims.mjs.map +1 -0
  146. package/internal/to-file.d.mts +45 -0
  147. package/internal/to-file.d.mts.map +1 -0
  148. package/internal/to-file.d.ts +45 -0
  149. package/internal/to-file.d.ts.map +1 -0
  150. package/internal/to-file.js +91 -0
  151. package/internal/to-file.js.map +1 -0
  152. package/internal/to-file.mjs +88 -0
  153. package/internal/to-file.mjs.map +1 -0
  154. package/internal/tslib.js +81 -0
  155. package/internal/tslib.mjs +17 -0
  156. package/internal/types.d.mts +69 -0
  157. package/internal/types.d.mts.map +1 -0
  158. package/internal/types.d.ts +69 -0
  159. package/internal/types.d.ts.map +1 -0
  160. package/internal/types.js +4 -0
  161. package/internal/types.js.map +1 -0
  162. package/internal/types.mjs +3 -0
  163. package/internal/types.mjs.map +1 -0
  164. package/internal/uploads.d.mts +42 -0
  165. package/internal/uploads.d.mts.map +1 -0
  166. package/internal/uploads.d.ts +42 -0
  167. package/internal/uploads.d.ts.map +1 -0
  168. package/internal/uploads.js +141 -0
  169. package/internal/uploads.js.map +1 -0
  170. package/internal/uploads.mjs +131 -0
  171. package/internal/uploads.mjs.map +1 -0
  172. package/internal/utils/base64.d.mts +3 -0
  173. package/internal/utils/base64.d.mts.map +1 -0
  174. package/internal/utils/base64.d.ts +3 -0
  175. package/internal/utils/base64.d.ts.map +1 -0
  176. package/internal/utils/base64.js +38 -0
  177. package/internal/utils/base64.js.map +1 -0
  178. package/internal/utils/base64.mjs +33 -0
  179. package/internal/utils/base64.mjs.map +1 -0
  180. package/internal/utils/bytes.d.mts +4 -0
  181. package/internal/utils/bytes.d.mts.map +1 -0
  182. package/internal/utils/bytes.d.ts +4 -0
  183. package/internal/utils/bytes.d.ts.map +1 -0
  184. package/internal/utils/bytes.js +31 -0
  185. package/internal/utils/bytes.js.map +1 -0
  186. package/internal/utils/bytes.mjs +26 -0
  187. package/internal/utils/bytes.mjs.map +1 -0
  188. package/internal/utils/env.d.mts +9 -0
  189. package/internal/utils/env.d.mts.map +1 -0
  190. package/internal/utils/env.d.ts +9 -0
  191. package/internal/utils/env.d.ts.map +1 -0
  192. package/internal/utils/env.js +22 -0
  193. package/internal/utils/env.js.map +1 -0
  194. package/internal/utils/env.mjs +18 -0
  195. package/internal/utils/env.mjs.map +1 -0
  196. package/internal/utils/log.d.mts +37 -0
  197. package/internal/utils/log.d.mts.map +1 -0
  198. package/internal/utils/log.d.ts +37 -0
  199. package/internal/utils/log.d.ts.map +1 -0
  200. package/internal/utils/log.js +85 -0
  201. package/internal/utils/log.js.map +1 -0
  202. package/internal/utils/log.mjs +79 -0
  203. package/internal/utils/log.mjs.map +1 -0
  204. package/internal/utils/path.d.mts +15 -0
  205. package/internal/utils/path.d.mts.map +1 -0
  206. package/internal/utils/path.d.ts +15 -0
  207. package/internal/utils/path.d.ts.map +1 -0
  208. package/internal/utils/path.js +79 -0
  209. package/internal/utils/path.js.map +1 -0
  210. package/internal/utils/path.mjs +74 -0
  211. package/internal/utils/path.mjs.map +1 -0
  212. package/internal/utils/sleep.d.mts +2 -0
  213. package/internal/utils/sleep.d.mts.map +1 -0
  214. package/internal/utils/sleep.d.ts +2 -0
  215. package/internal/utils/sleep.d.ts.map +1 -0
  216. package/internal/utils/sleep.js +7 -0
  217. package/internal/utils/sleep.js.map +1 -0
  218. package/internal/utils/sleep.mjs +3 -0
  219. package/internal/utils/sleep.mjs.map +1 -0
  220. package/internal/utils/uuid.d.mts +5 -0
  221. package/internal/utils/uuid.d.mts.map +1 -0
  222. package/internal/utils/uuid.d.ts +5 -0
  223. package/internal/utils/uuid.d.ts.map +1 -0
  224. package/internal/utils/uuid.js +19 -0
  225. package/internal/utils/uuid.js.map +1 -0
  226. package/internal/utils/uuid.mjs +15 -0
  227. package/internal/utils/uuid.mjs.map +1 -0
  228. package/internal/utils/values.d.mts +18 -0
  229. package/internal/utils/values.d.mts.map +1 -0
  230. package/internal/utils/values.d.ts +18 -0
  231. package/internal/utils/values.d.ts.map +1 -0
  232. package/internal/utils/values.js +112 -0
  233. package/internal/utils/values.js.map +1 -0
  234. package/internal/utils/values.mjs +94 -0
  235. package/internal/utils/values.mjs.map +1 -0
  236. package/internal/utils.d.mts +7 -0
  237. package/internal/utils.d.mts.map +1 -0
  238. package/internal/utils.d.ts +7 -0
  239. package/internal/utils.d.ts.map +1 -0
  240. package/internal/utils.js +11 -0
  241. package/internal/utils.js.map +1 -0
  242. package/internal/utils.mjs +8 -0
  243. package/internal/utils.mjs.map +1 -0
  244. package/package.json +158 -0
  245. package/pagination.d.mts +2 -0
  246. package/pagination.d.mts.map +1 -0
  247. package/pagination.d.ts +2 -0
  248. package/pagination.d.ts.map +1 -0
  249. package/pagination.js +6 -0
  250. package/pagination.js.map +1 -0
  251. package/pagination.mjs +2 -0
  252. package/pagination.mjs.map +1 -0
  253. package/resource.d.mts +2 -0
  254. package/resource.d.mts.map +1 -0
  255. package/resource.d.ts +2 -0
  256. package/resource.d.ts.map +1 -0
  257. package/resource.js +6 -0
  258. package/resource.js.map +1 -0
  259. package/resource.mjs +2 -0
  260. package/resource.mjs.map +1 -0
  261. package/resources/business-partner-groups.d.mts +94 -0
  262. package/resources/business-partner-groups.d.mts.map +1 -0
  263. package/resources/business-partner-groups.d.ts +94 -0
  264. package/resources/business-partner-groups.d.ts.map +1 -0
  265. package/resources/business-partner-groups.js +46 -0
  266. package/resources/business-partner-groups.js.map +1 -0
  267. package/resources/business-partner-groups.mjs +42 -0
  268. package/resources/business-partner-groups.mjs.map +1 -0
  269. package/resources/business-partners.d.mts +132 -0
  270. package/resources/business-partners.d.mts.map +1 -0
  271. package/resources/business-partners.d.ts +132 -0
  272. package/resources/business-partners.d.ts.map +1 -0
  273. package/resources/business-partners.js +47 -0
  274. package/resources/business-partners.js.map +1 -0
  275. package/resources/business-partners.mjs +43 -0
  276. package/resources/business-partners.mjs.map +1 -0
  277. package/resources/candidate-applications.d.mts +63 -0
  278. package/resources/candidate-applications.d.mts.map +1 -0
  279. package/resources/candidate-applications.d.ts +63 -0
  280. package/resources/candidate-applications.d.ts.map +1 -0
  281. package/resources/candidate-applications.js +20 -0
  282. package/resources/candidate-applications.js.map +1 -0
  283. package/resources/candidate-applications.mjs +16 -0
  284. package/resources/candidate-applications.mjs.map +1 -0
  285. package/resources/candidates.d.mts +54 -0
  286. package/resources/candidates.d.mts.map +1 -0
  287. package/resources/candidates.d.ts +54 -0
  288. package/resources/candidates.d.ts.map +1 -0
  289. package/resources/candidates.js +22 -0
  290. package/resources/candidates.js.map +1 -0
  291. package/resources/candidates.mjs +18 -0
  292. package/resources/candidates.mjs.map +1 -0
  293. package/resources/companies.d.mts +82 -0
  294. package/resources/companies.d.mts.map +1 -0
  295. package/resources/companies.d.ts +82 -0
  296. package/resources/companies.d.ts.map +1 -0
  297. package/resources/companies.js +20 -0
  298. package/resources/companies.js.map +1 -0
  299. package/resources/companies.mjs +16 -0
  300. package/resources/companies.mjs.map +1 -0
  301. package/resources/compensations.d.mts +250 -0
  302. package/resources/compensations.d.mts.map +1 -0
  303. package/resources/compensations.d.ts +250 -0
  304. package/resources/compensations.d.ts.map +1 -0
  305. package/resources/compensations.js +27 -0
  306. package/resources/compensations.js.map +1 -0
  307. package/resources/compensations.mjs +23 -0
  308. package/resources/compensations.mjs.map +1 -0
  309. package/resources/custom-fields.d.mts +50 -0
  310. package/resources/custom-fields.d.mts.map +1 -0
  311. package/resources/custom-fields.d.ts +50 -0
  312. package/resources/custom-fields.d.ts.map +1 -0
  313. package/resources/custom-fields.js +22 -0
  314. package/resources/custom-fields.js.map +1 -0
  315. package/resources/custom-fields.mjs +18 -0
  316. package/resources/custom-fields.mjs.map +1 -0
  317. package/resources/custom-objects/custom-objects.d.mts +103 -0
  318. package/resources/custom-objects/custom-objects.d.mts.map +1 -0
  319. package/resources/custom-objects/custom-objects.d.ts +103 -0
  320. package/resources/custom-objects/custom-objects.d.ts.map +1 -0
  321. package/resources/custom-objects/custom-objects.js +59 -0
  322. package/resources/custom-objects/custom-objects.js.map +1 -0
  323. package/resources/custom-objects/custom-objects.mjs +54 -0
  324. package/resources/custom-objects/custom-objects.mjs.map +1 -0
  325. package/resources/custom-objects/fields.d.mts +113 -0
  326. package/resources/custom-objects/fields.d.mts.map +1 -0
  327. package/resources/custom-objects/fields.d.ts +113 -0
  328. package/resources/custom-objects/fields.d.ts.map +1 -0
  329. package/resources/custom-objects/fields.js +50 -0
  330. package/resources/custom-objects/fields.js.map +1 -0
  331. package/resources/custom-objects/fields.mjs +46 -0
  332. package/resources/custom-objects/fields.mjs.map +1 -0
  333. package/resources/custom-objects/index.d.mts +4 -0
  334. package/resources/custom-objects/index.d.mts.map +1 -0
  335. package/resources/custom-objects/index.d.ts +4 -0
  336. package/resources/custom-objects/index.d.ts.map +1 -0
  337. package/resources/custom-objects/index.js +11 -0
  338. package/resources/custom-objects/index.js.map +1 -0
  339. package/resources/custom-objects/index.mjs +5 -0
  340. package/resources/custom-objects/index.mjs.map +1 -0
  341. package/resources/custom-objects/records.d.mts +143 -0
  342. package/resources/custom-objects/records.d.mts.map +1 -0
  343. package/resources/custom-objects/records.d.ts +143 -0
  344. package/resources/custom-objects/records.d.ts.map +1 -0
  345. package/resources/custom-objects/records.js +93 -0
  346. package/resources/custom-objects/records.js.map +1 -0
  347. package/resources/custom-objects/records.mjs +89 -0
  348. package/resources/custom-objects/records.mjs.map +1 -0
  349. package/resources/custom-objects.d.mts +2 -0
  350. package/resources/custom-objects.d.mts.map +1 -0
  351. package/resources/custom-objects.d.ts +2 -0
  352. package/resources/custom-objects.d.ts.map +1 -0
  353. package/resources/custom-objects.js +6 -0
  354. package/resources/custom-objects.js.map +1 -0
  355. package/resources/custom-objects.mjs +3 -0
  356. package/resources/custom-objects.mjs.map +1 -0
  357. package/resources/departments.d.mts +80 -0
  358. package/resources/departments.d.mts.map +1 -0
  359. package/resources/departments.d.ts +80 -0
  360. package/resources/departments.d.ts.map +1 -0
  361. package/resources/departments.js +27 -0
  362. package/resources/departments.js.map +1 -0
  363. package/resources/departments.mjs +23 -0
  364. package/resources/departments.mjs.map +1 -0
  365. package/resources/employment-types.d.mts +77 -0
  366. package/resources/employment-types.d.mts.map +1 -0
  367. package/resources/employment-types.d.ts +77 -0
  368. package/resources/employment-types.d.ts.map +1 -0
  369. package/resources/employment-types.js +29 -0
  370. package/resources/employment-types.js.map +1 -0
  371. package/resources/employment-types.mjs +25 -0
  372. package/resources/employment-types.mjs.map +1 -0
  373. package/resources/entitlements.d.mts +30 -0
  374. package/resources/entitlements.d.mts.map +1 -0
  375. package/resources/entitlements.d.ts +30 -0
  376. package/resources/entitlements.d.ts.map +1 -0
  377. package/resources/entitlements.js +18 -0
  378. package/resources/entitlements.js.map +1 -0
  379. package/resources/entitlements.mjs +14 -0
  380. package/resources/entitlements.mjs.map +1 -0
  381. package/resources/functions/deployments.d.mts +145 -0
  382. package/resources/functions/deployments.d.mts.map +1 -0
  383. package/resources/functions/deployments.d.ts +145 -0
  384. package/resources/functions/deployments.d.ts.map +1 -0
  385. package/resources/functions/deployments.js +40 -0
  386. package/resources/functions/deployments.js.map +1 -0
  387. package/resources/functions/deployments.mjs +36 -0
  388. package/resources/functions/deployments.mjs.map +1 -0
  389. package/resources/functions/executions.d.mts +188 -0
  390. package/resources/functions/executions.d.mts.map +1 -0
  391. package/resources/functions/executions.d.ts +188 -0
  392. package/resources/functions/executions.d.ts.map +1 -0
  393. package/resources/functions/executions.js +42 -0
  394. package/resources/functions/executions.js.map +1 -0
  395. package/resources/functions/executions.mjs +38 -0
  396. package/resources/functions/executions.mjs.map +1 -0
  397. package/resources/functions/functions.d.mts +129 -0
  398. package/resources/functions/functions.d.mts.map +1 -0
  399. package/resources/functions/functions.d.ts +129 -0
  400. package/resources/functions/functions.d.ts.map +1 -0
  401. package/resources/functions/functions.js +56 -0
  402. package/resources/functions/functions.js.map +1 -0
  403. package/resources/functions/functions.mjs +51 -0
  404. package/resources/functions/functions.mjs.map +1 -0
  405. package/resources/functions/index.d.mts +4 -0
  406. package/resources/functions/index.d.mts.map +1 -0
  407. package/resources/functions/index.d.ts +4 -0
  408. package/resources/functions/index.d.ts.map +1 -0
  409. package/resources/functions/index.js +11 -0
  410. package/resources/functions/index.js.map +1 -0
  411. package/resources/functions/index.mjs +5 -0
  412. package/resources/functions/index.mjs.map +1 -0
  413. package/resources/functions.d.mts +2 -0
  414. package/resources/functions.d.mts.map +1 -0
  415. package/resources/functions.d.ts +2 -0
  416. package/resources/functions.d.ts.map +1 -0
  417. package/resources/functions.js +6 -0
  418. package/resources/functions.js.map +1 -0
  419. package/resources/functions.mjs +3 -0
  420. package/resources/functions.mjs.map +1 -0
  421. package/resources/headcount-positions.d.mts +1059 -0
  422. package/resources/headcount-positions.d.mts.map +1 -0
  423. package/resources/headcount-positions.d.ts +1059 -0
  424. package/resources/headcount-positions.d.ts.map +1 -0
  425. package/resources/headcount-positions.js +41 -0
  426. package/resources/headcount-positions.js.map +1 -0
  427. package/resources/headcount-positions.mjs +37 -0
  428. package/resources/headcount-positions.mjs.map +1 -0
  429. package/resources/headcount-priorities.d.mts +65 -0
  430. package/resources/headcount-priorities.d.mts.map +1 -0
  431. package/resources/headcount-priorities.d.ts +65 -0
  432. package/resources/headcount-priorities.d.ts.map +1 -0
  433. package/resources/headcount-priorities.js +29 -0
  434. package/resources/headcount-priorities.js.map +1 -0
  435. package/resources/headcount-priorities.mjs +25 -0
  436. package/resources/headcount-priorities.mjs.map +1 -0
  437. package/resources/index.d.mts +42 -0
  438. package/resources/index.d.mts.map +1 -0
  439. package/resources/index.d.ts +42 -0
  440. package/resources/index.d.ts.map +1 -0
  441. package/resources/index.js +87 -0
  442. package/resources/index.js.map +1 -0
  443. package/resources/index.mjs +43 -0
  444. package/resources/index.mjs.map +1 -0
  445. package/resources/job-assignments.d.mts +161 -0
  446. package/resources/job-assignments.d.mts.map +1 -0
  447. package/resources/job-assignments.d.ts +161 -0
  448. package/resources/job-assignments.d.ts.map +1 -0
  449. package/resources/job-assignments.js +38 -0
  450. package/resources/job-assignments.js.map +1 -0
  451. package/resources/job-assignments.mjs +34 -0
  452. package/resources/job-assignments.mjs.map +1 -0
  453. package/resources/job-codes.d.mts +358 -0
  454. package/resources/job-codes.d.mts.map +1 -0
  455. package/resources/job-codes.d.ts +358 -0
  456. package/resources/job-codes.d.ts.map +1 -0
  457. package/resources/job-codes.js +61 -0
  458. package/resources/job-codes.js.map +1 -0
  459. package/resources/job-codes.mjs +57 -0
  460. package/resources/job-codes.mjs.map +1 -0
  461. package/resources/job-dimensions.d.mts +145 -0
  462. package/resources/job-dimensions.d.mts.map +1 -0
  463. package/resources/job-dimensions.d.ts +145 -0
  464. package/resources/job-dimensions.d.ts.map +1 -0
  465. package/resources/job-dimensions.js +49 -0
  466. package/resources/job-dimensions.js.map +1 -0
  467. package/resources/job-dimensions.mjs +45 -0
  468. package/resources/job-dimensions.mjs.map +1 -0
  469. package/resources/job-functions.d.mts +65 -0
  470. package/resources/job-functions.d.mts.map +1 -0
  471. package/resources/job-functions.d.ts +65 -0
  472. package/resources/job-functions.d.ts.map +1 -0
  473. package/resources/job-functions.js +29 -0
  474. package/resources/job-functions.js.map +1 -0
  475. package/resources/job-functions.mjs +25 -0
  476. package/resources/job-functions.mjs.map +1 -0
  477. package/resources/job-pay-rate-exceptions.d.mts +91 -0
  478. package/resources/job-pay-rate-exceptions.d.mts.map +1 -0
  479. package/resources/job-pay-rate-exceptions.d.ts +91 -0
  480. package/resources/job-pay-rate-exceptions.d.ts.map +1 -0
  481. package/resources/job-pay-rate-exceptions.js +41 -0
  482. package/resources/job-pay-rate-exceptions.js.map +1 -0
  483. package/resources/job-pay-rate-exceptions.mjs +37 -0
  484. package/resources/job-pay-rate-exceptions.mjs.map +1 -0
  485. package/resources/job-requisitions.d.mts +42 -0
  486. package/resources/job-requisitions.d.mts.map +1 -0
  487. package/resources/job-requisitions.d.ts +42 -0
  488. package/resources/job-requisitions.d.ts.map +1 -0
  489. package/resources/job-requisitions.js +19 -0
  490. package/resources/job-requisitions.js.map +1 -0
  491. package/resources/job-requisitions.mjs +15 -0
  492. package/resources/job-requisitions.mjs.map +1 -0
  493. package/resources/kiosk-badges.d.mts +247 -0
  494. package/resources/kiosk-badges.d.mts.map +1 -0
  495. package/resources/kiosk-badges.d.ts +247 -0
  496. package/resources/kiosk-badges.d.ts.map +1 -0
  497. package/resources/kiosk-badges.js +53 -0
  498. package/resources/kiosk-badges.js.map +1 -0
  499. package/resources/kiosk-badges.mjs +49 -0
  500. package/resources/kiosk-badges.mjs.map +1 -0
  501. package/resources/leave-balances.d.mts +88 -0
  502. package/resources/leave-balances.d.mts.map +1 -0
  503. package/resources/leave-balances.d.ts +88 -0
  504. package/resources/leave-balances.d.ts.map +1 -0
  505. package/resources/leave-balances.js +28 -0
  506. package/resources/leave-balances.js.map +1 -0
  507. package/resources/leave-balances.mjs +24 -0
  508. package/resources/leave-balances.mjs.map +1 -0
  509. package/resources/leave-requests.d.mts +731 -0
  510. package/resources/leave-requests.d.mts.map +1 -0
  511. package/resources/leave-requests.d.ts +731 -0
  512. package/resources/leave-requests.d.ts.map +1 -0
  513. package/resources/leave-requests.js +44 -0
  514. package/resources/leave-requests.js.map +1 -0
  515. package/resources/leave-requests.mjs +40 -0
  516. package/resources/leave-requests.mjs.map +1 -0
  517. package/resources/leave-types.d.mts +67 -0
  518. package/resources/leave-types.d.mts.map +1 -0
  519. package/resources/leave-types.d.ts +67 -0
  520. package/resources/leave-types.d.ts.map +1 -0
  521. package/resources/leave-types.js +27 -0
  522. package/resources/leave-types.js.map +1 -0
  523. package/resources/leave-types.mjs +23 -0
  524. package/resources/leave-types.mjs.map +1 -0
  525. package/resources/legal-entities.d.mts +117 -0
  526. package/resources/legal-entities.d.mts.map +1 -0
  527. package/resources/legal-entities.d.ts +117 -0
  528. package/resources/legal-entities.d.ts.map +1 -0
  529. package/resources/legal-entities.js +27 -0
  530. package/resources/legal-entities.js.map +1 -0
  531. package/resources/legal-entities.mjs +23 -0
  532. package/resources/legal-entities.mjs.map +1 -0
  533. package/resources/levels.d.mts +91 -0
  534. package/resources/levels.d.mts.map +1 -0
  535. package/resources/levels.d.ts +91 -0
  536. package/resources/levels.d.ts.map +1 -0
  537. package/resources/levels.js +27 -0
  538. package/resources/levels.js.map +1 -0
  539. package/resources/levels.mjs +23 -0
  540. package/resources/levels.mjs.map +1 -0
  541. package/resources/location-factors.d.mts +111 -0
  542. package/resources/location-factors.d.mts.map +1 -0
  543. package/resources/location-factors.d.ts +111 -0
  544. package/resources/location-factors.d.ts.map +1 -0
  545. package/resources/location-factors.js +29 -0
  546. package/resources/location-factors.js.map +1 -0
  547. package/resources/location-factors.mjs +25 -0
  548. package/resources/location-factors.mjs.map +1 -0
  549. package/resources/object-categories.d.mts +63 -0
  550. package/resources/object-categories.d.mts.map +1 -0
  551. package/resources/object-categories.d.ts +63 -0
  552. package/resources/object-categories.d.ts.map +1 -0
  553. package/resources/object-categories.js +47 -0
  554. package/resources/object-categories.js.map +1 -0
  555. package/resources/object-categories.mjs +43 -0
  556. package/resources/object-categories.mjs.map +1 -0
  557. package/resources/schedules.d.mts +139 -0
  558. package/resources/schedules.d.mts.map +1 -0
  559. package/resources/schedules.d.ts +139 -0
  560. package/resources/schedules.d.ts.map +1 -0
  561. package/resources/schedules.js +27 -0
  562. package/resources/schedules.js.map +1 -0
  563. package/resources/schedules.mjs +23 -0
  564. package/resources/schedules.mjs.map +1 -0
  565. package/resources/shared.d.mts +55 -0
  566. package/resources/shared.d.mts.map +1 -0
  567. package/resources/shared.d.ts +55 -0
  568. package/resources/shared.d.ts.map +1 -0
  569. package/resources/shared.js +4 -0
  570. package/resources/shared.js.map +1 -0
  571. package/resources/shared.mjs +3 -0
  572. package/resources/shared.mjs.map +1 -0
  573. package/resources/shift-inputs.d.mts +291 -0
  574. package/resources/shift-inputs.d.mts.map +1 -0
  575. package/resources/shift-inputs.d.ts +291 -0
  576. package/resources/shift-inputs.d.ts.map +1 -0
  577. package/resources/shift-inputs.js +53 -0
  578. package/resources/shift-inputs.js.map +1 -0
  579. package/resources/shift-inputs.mjs +49 -0
  580. package/resources/shift-inputs.mjs.map +1 -0
  581. package/resources/shiftassignments.d.mts +466 -0
  582. package/resources/shiftassignments.d.mts.map +1 -0
  583. package/resources/shiftassignments.d.ts +466 -0
  584. package/resources/shiftassignments.d.ts.map +1 -0
  585. package/resources/shiftassignments.js +32 -0
  586. package/resources/shiftassignments.js.map +1 -0
  587. package/resources/shiftassignments.mjs +28 -0
  588. package/resources/shiftassignments.mjs.map +1 -0
  589. package/resources/sso-me.d.mts +48 -0
  590. package/resources/sso-me.d.mts.map +1 -0
  591. package/resources/sso-me.d.ts +48 -0
  592. package/resources/sso-me.d.ts.map +1 -0
  593. package/resources/sso-me.js +18 -0
  594. package/resources/sso-me.js.map +1 -0
  595. package/resources/sso-me.mjs +14 -0
  596. package/resources/sso-me.mjs.map +1 -0
  597. package/resources/supergroups/exclusion-members.d.mts +56 -0
  598. package/resources/supergroups/exclusion-members.d.mts.map +1 -0
  599. package/resources/supergroups/exclusion-members.d.ts +56 -0
  600. package/resources/supergroups/exclusion-members.d.ts.map +1 -0
  601. package/resources/supergroups/exclusion-members.js +26 -0
  602. package/resources/supergroups/exclusion-members.js.map +1 -0
  603. package/resources/supergroups/exclusion-members.mjs +22 -0
  604. package/resources/supergroups/exclusion-members.mjs.map +1 -0
  605. package/resources/supergroups/inclusion-members.d.mts +56 -0
  606. package/resources/supergroups/inclusion-members.d.mts.map +1 -0
  607. package/resources/supergroups/inclusion-members.d.ts +56 -0
  608. package/resources/supergroups/inclusion-members.d.ts.map +1 -0
  609. package/resources/supergroups/inclusion-members.js +26 -0
  610. package/resources/supergroups/inclusion-members.js.map +1 -0
  611. package/resources/supergroups/inclusion-members.mjs +22 -0
  612. package/resources/supergroups/inclusion-members.mjs.map +1 -0
  613. package/resources/supergroups/index.d.mts +5 -0
  614. package/resources/supergroups/index.d.mts.map +1 -0
  615. package/resources/supergroups/index.d.ts +5 -0
  616. package/resources/supergroups/index.d.ts.map +1 -0
  617. package/resources/supergroups/index.js +13 -0
  618. package/resources/supergroups/index.js.map +1 -0
  619. package/resources/supergroups/index.mjs +6 -0
  620. package/resources/supergroups/index.mjs.map +1 -0
  621. package/resources/supergroups/members.d.mts +42 -0
  622. package/resources/supergroups/members.d.mts.map +1 -0
  623. package/resources/supergroups/members.d.ts +42 -0
  624. package/resources/supergroups/members.d.ts.map +1 -0
  625. package/resources/supergroups/members.js +23 -0
  626. package/resources/supergroups/members.js.map +1 -0
  627. package/resources/supergroups/members.mjs +19 -0
  628. package/resources/supergroups/members.mjs.map +1 -0
  629. package/resources/supergroups/supergroups.d.mts +123 -0
  630. package/resources/supergroups/supergroups.d.mts.map +1 -0
  631. package/resources/supergroups/supergroups.d.ts +123 -0
  632. package/resources/supergroups/supergroups.d.ts.map +1 -0
  633. package/resources/supergroups/supergroups.js +43 -0
  634. package/resources/supergroups/supergroups.js.map +1 -0
  635. package/resources/supergroups/supergroups.mjs +38 -0
  636. package/resources/supergroups/supergroups.mjs.map +1 -0
  637. package/resources/supergroups.d.mts +2 -0
  638. package/resources/supergroups.d.mts.map +1 -0
  639. package/resources/supergroups.d.ts +2 -0
  640. package/resources/supergroups.d.ts.map +1 -0
  641. package/resources/supergroups.js +6 -0
  642. package/resources/supergroups.js.map +1 -0
  643. package/resources/supergroups.mjs +3 -0
  644. package/resources/supergroups.mjs.map +1 -0
  645. package/resources/teams.d.mts +64 -0
  646. package/resources/teams.d.mts.map +1 -0
  647. package/resources/teams.d.ts +64 -0
  648. package/resources/teams.d.ts.map +1 -0
  649. package/resources/teams.js +27 -0
  650. package/resources/teams.js.map +1 -0
  651. package/resources/teams.mjs +23 -0
  652. package/resources/teams.mjs.map +1 -0
  653. package/resources/time-cards.d.mts +156 -0
  654. package/resources/time-cards.d.mts.map +1 -0
  655. package/resources/time-cards.d.ts +156 -0
  656. package/resources/time-cards.d.ts.map +1 -0
  657. package/resources/time-cards.js +28 -0
  658. package/resources/time-cards.js.map +1 -0
  659. package/resources/time-cards.mjs +24 -0
  660. package/resources/time-cards.mjs.map +1 -0
  661. package/resources/time-entries.d.mts +1494 -0
  662. package/resources/time-entries.d.mts.map +1 -0
  663. package/resources/time-entries.d.ts +1494 -0
  664. package/resources/time-entries.d.ts.map +1 -0
  665. package/resources/time-entries.js +53 -0
  666. package/resources/time-entries.js.map +1 -0
  667. package/resources/time-entries.mjs +49 -0
  668. package/resources/time-entries.mjs.map +1 -0
  669. package/resources/tracks.d.mts +49 -0
  670. package/resources/tracks.d.mts.map +1 -0
  671. package/resources/tracks.d.ts +49 -0
  672. package/resources/tracks.d.ts.map +1 -0
  673. package/resources/tracks.js +26 -0
  674. package/resources/tracks.js.map +1 -0
  675. package/resources/tracks.mjs +22 -0
  676. package/resources/tracks.mjs.map +1 -0
  677. package/resources/users.d.mts +200 -0
  678. package/resources/users.d.mts.map +1 -0
  679. package/resources/users.d.ts +200 -0
  680. package/resources/users.d.ts.map +1 -0
  681. package/resources/users.js +26 -0
  682. package/resources/users.js.map +1 -0
  683. package/resources/users.mjs +22 -0
  684. package/resources/users.mjs.map +1 -0
  685. package/resources/work-locations.d.mts +54 -0
  686. package/resources/work-locations.d.mts.map +1 -0
  687. package/resources/work-locations.d.ts +54 -0
  688. package/resources/work-locations.d.ts.map +1 -0
  689. package/resources/work-locations.js +26 -0
  690. package/resources/work-locations.js.map +1 -0
  691. package/resources/work-locations.mjs +22 -0
  692. package/resources/work-locations.mjs.map +1 -0
  693. package/resources/workers.d.mts +298 -0
  694. package/resources/workers.d.mts.map +1 -0
  695. package/resources/workers.d.ts +298 -0
  696. package/resources/workers.d.ts.map +1 -0
  697. package/resources/workers.js +31 -0
  698. package/resources/workers.js.map +1 -0
  699. package/resources/workers.mjs +27 -0
  700. package/resources/workers.mjs.map +1 -0
  701. package/resources.d.mts +2 -0
  702. package/resources.d.mts.map +1 -0
  703. package/resources.d.ts +2 -0
  704. package/resources.d.ts.map +1 -0
  705. package/resources.js +5 -0
  706. package/resources.js.map +1 -0
  707. package/resources.mjs +2 -0
  708. package/resources.mjs.map +1 -0
  709. package/src/api-promise.ts +2 -0
  710. package/src/client.ts +1518 -0
  711. package/src/core/README.md +3 -0
  712. package/src/core/api-promise.ts +92 -0
  713. package/src/core/error.ts +130 -0
  714. package/src/core/pagination.ts +155 -0
  715. package/src/core/resource.ts +11 -0
  716. package/src/core/uploads.ts +2 -0
  717. package/src/error.ts +2 -0
  718. package/src/functions.ts +114 -0
  719. package/src/index.ts +25 -0
  720. package/src/internal/README.md +3 -0
  721. package/src/internal/builtin-types.ts +93 -0
  722. package/src/internal/detect-platform.ts +196 -0
  723. package/src/internal/errors.ts +33 -0
  724. package/src/internal/headers.ts +97 -0
  725. package/src/internal/parse.ts +50 -0
  726. package/src/internal/request-options.ts +91 -0
  727. package/src/internal/shim-types.ts +26 -0
  728. package/src/internal/shims.ts +107 -0
  729. package/src/internal/to-file.ts +154 -0
  730. package/src/internal/types.ts +95 -0
  731. package/src/internal/uploads.ts +187 -0
  732. package/src/internal/utils/base64.ts +40 -0
  733. package/src/internal/utils/bytes.ts +32 -0
  734. package/src/internal/utils/env.ts +18 -0
  735. package/src/internal/utils/log.ts +126 -0
  736. package/src/internal/utils/path.ts +88 -0
  737. package/src/internal/utils/sleep.ts +3 -0
  738. package/src/internal/utils/uuid.ts +17 -0
  739. package/src/internal/utils/values.ts +105 -0
  740. package/src/internal/utils.ts +8 -0
  741. package/src/lib/.keep +4 -0
  742. package/src/pagination.ts +2 -0
  743. package/src/resource.ts +2 -0
  744. package/src/resources/business-partner-groups.ts +146 -0
  745. package/src/resources/business-partners.ts +190 -0
  746. package/src/resources/candidate-applications.ts +91 -0
  747. package/src/resources/candidates.ts +79 -0
  748. package/src/resources/companies.ts +110 -0
  749. package/src/resources/compensations.ts +313 -0
  750. package/src/resources/custom-fields.ts +93 -0
  751. package/src/resources/custom-objects/custom-objects.ts +206 -0
  752. package/src/resources/custom-objects/fields.ts +199 -0
  753. package/src/resources/custom-objects/index.ts +32 -0
  754. package/src/resources/custom-objects/records.ts +282 -0
  755. package/src/resources/custom-objects.ts +3 -0
  756. package/src/resources/departments.ts +115 -0
  757. package/src/resources/employment-types.ts +107 -0
  758. package/src/resources/entitlements.ts +44 -0
  759. package/src/resources/functions/deployments.ts +209 -0
  760. package/src/resources/functions/executions.ts +273 -0
  761. package/src/resources/functions/functions.ts +229 -0
  762. package/src/resources/functions/index.ts +32 -0
  763. package/src/resources/functions.ts +3 -0
  764. package/src/resources/headcount-positions.ts +1767 -0
  765. package/src/resources/headcount-priorities.ts +95 -0
  766. package/src/resources/index.ts +322 -0
  767. package/src/resources/job-assignments.ts +227 -0
  768. package/src/resources/job-codes.ts +466 -0
  769. package/src/resources/job-dimensions.ts +201 -0
  770. package/src/resources/job-functions.ts +95 -0
  771. package/src/resources/job-pay-rate-exceptions.ts +144 -0
  772. package/src/resources/job-requisitions.ts +61 -0
  773. package/src/resources/kiosk-badges.ts +343 -0
  774. package/src/resources/leave-balances.ts +125 -0
  775. package/src/resources/leave-requests.ts +928 -0
  776. package/src/resources/leave-types.ts +95 -0
  777. package/src/resources/legal-entities.ts +406 -0
  778. package/src/resources/levels.ts +128 -0
  779. package/src/resources/location-factors.ts +643 -0
  780. package/src/resources/object-categories.ts +107 -0
  781. package/src/resources/schedules.ts +187 -0
  782. package/src/resources/shared.ts +313 -0
  783. package/src/resources/shift-inputs.ts +398 -0
  784. package/src/resources/shiftassignments.ts +580 -0
  785. package/src/resources/sso-me.ts +60 -0
  786. package/src/resources/supergroups/exclusion-members.ts +88 -0
  787. package/src/resources/supergroups/inclusion-members.ts +88 -0
  788. package/src/resources/supergroups/index.ts +22 -0
  789. package/src/resources/supergroups/members.ts +66 -0
  790. package/src/resources/supergroups/supergroups.ts +199 -0
  791. package/src/resources/supergroups.ts +3 -0
  792. package/src/resources/teams.ts +96 -0
  793. package/src/resources/time-cards.ts +209 -0
  794. package/src/resources/time-entries.ts +1860 -0
  795. package/src/resources/tracks.ts +72 -0
  796. package/src/resources/users.ts +255 -0
  797. package/src/resources/work-locations.ts +78 -0
  798. package/src/resources/workers.ts +906 -0
  799. package/src/resources.ts +1 -0
  800. package/src/tsconfig.json +11 -0
  801. package/src/uploads.ts +2 -0
  802. package/src/version.ts +1 -0
  803. package/uploads.d.mts +2 -0
  804. package/uploads.d.mts.map +1 -0
  805. package/uploads.d.ts +2 -0
  806. package/uploads.d.ts.map +1 -0
  807. package/uploads.js +6 -0
  808. package/uploads.js.map +1 -0
  809. package/uploads.mjs +2 -0
  810. package/uploads.mjs.map +1 -0
  811. package/version.d.mts +2 -0
  812. package/version.d.mts.map +1 -0
  813. package/version.d.ts +2 -0
  814. package/version.d.ts.map +1 -0
  815. package/version.js +5 -0
  816. package/version.js.map +1 -0
  817. package/version.mjs +2 -0
  818. package/version.mjs.map +1 -0
package/client.mjs ADDED
@@ -0,0 +1,588 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ var _RipplingSDK_instances, _a, _RipplingSDK_encoder, _RipplingSDK_baseURLOverridden;
3
+ import { __classPrivateFieldGet, __classPrivateFieldSet } from "./internal/tslib.mjs";
4
+ import { uuid4 } from "./internal/utils/uuid.mjs";
5
+ import { validatePositiveInteger, isAbsoluteURL, safeJSON } from "./internal/utils/values.mjs";
6
+ import { sleep } from "./internal/utils/sleep.mjs";
7
+ import { castToError, isAbortError } from "./internal/errors.mjs";
8
+ import { getPlatformHeaders } from "./internal/detect-platform.mjs";
9
+ import * as Shims from "./internal/shims.mjs";
10
+ import * as Opts from "./internal/request-options.mjs";
11
+ import { VERSION } from "./version.mjs";
12
+ import * as Errors from "./core/error.mjs";
13
+ import * as Pagination from "./core/pagination.mjs";
14
+ import * as Uploads from "./core/uploads.mjs";
15
+ import * as API from "./resources/index.mjs";
16
+ import { APIPromise } from "./core/api-promise.mjs";
17
+ import { BusinessPartnerGroups, } from "./resources/business-partner-groups.mjs";
18
+ import { BusinessPartners, } from "./resources/business-partners.mjs";
19
+ import { CandidateApplications, } from "./resources/candidate-applications.mjs";
20
+ import { Candidates, } from "./resources/candidates.mjs";
21
+ import { Companies } from "./resources/companies.mjs";
22
+ import { Compensations, } from "./resources/compensations.mjs";
23
+ import { CustomFields, } from "./resources/custom-fields.mjs";
24
+ import { Departments, } from "./resources/departments.mjs";
25
+ import { EmploymentTypes, } from "./resources/employment-types.mjs";
26
+ import { Entitlements, } from "./resources/entitlements.mjs";
27
+ import { HeadcountPositions, } from "./resources/headcount-positions.mjs";
28
+ import { HeadcountPriorities, } from "./resources/headcount-priorities.mjs";
29
+ import { JobAssignments, } from "./resources/job-assignments.mjs";
30
+ import { JobCodes, } from "./resources/job-codes.mjs";
31
+ import { JobDimensions, } from "./resources/job-dimensions.mjs";
32
+ import { JobFunctions, } from "./resources/job-functions.mjs";
33
+ import { JobPayRateExceptions, } from "./resources/job-pay-rate-exceptions.mjs";
34
+ import { JobRequisitions, } from "./resources/job-requisitions.mjs";
35
+ import { KioskBadges, } from "./resources/kiosk-badges.mjs";
36
+ import { LeaveBalances, } from "./resources/leave-balances.mjs";
37
+ import { LeaveRequests, } from "./resources/leave-requests.mjs";
38
+ import { LeaveTypes, } from "./resources/leave-types.mjs";
39
+ import { LegalEntities, } from "./resources/legal-entities.mjs";
40
+ import { Levels, } from "./resources/levels.mjs";
41
+ import { LocationFactors, } from "./resources/location-factors.mjs";
42
+ import { ObjectCategories, } from "./resources/object-categories.mjs";
43
+ import { Schedules, } from "./resources/schedules.mjs";
44
+ import { ShiftInputs, } from "./resources/shift-inputs.mjs";
45
+ import { Shiftassignments, } from "./resources/shiftassignments.mjs";
46
+ import { SSOMeResource } from "./resources/sso-me.mjs";
47
+ import { Teams, } from "./resources/teams.mjs";
48
+ import { TimeCards, } from "./resources/time-cards.mjs";
49
+ import { TimeEntries, } from "./resources/time-entries.mjs";
50
+ import { Tracks, } from "./resources/tracks.mjs";
51
+ import { Users } from "./resources/users.mjs";
52
+ import { WorkLocations, } from "./resources/work-locations.mjs";
53
+ import { Workers, } from "./resources/workers.mjs";
54
+ import { CustomObjects, } from "./resources/custom-objects/custom-objects.mjs";
55
+ import { Functions, } from "./resources/functions/functions.mjs";
56
+ import { Supergroups, } from "./resources/supergroups/supergroups.mjs";
57
+ import { buildHeaders } from "./internal/headers.mjs";
58
+ import { readEnv } from "./internal/utils/env.mjs";
59
+ import { formatRequestDetails, loggerFor, parseLogLevel, } from "./internal/utils/log.mjs";
60
+ import { isEmptyObj } from "./internal/utils/values.mjs";
61
+ /**
62
+ * API Client for interfacing with the Rippling SDK API.
63
+ */
64
+ export class RipplingSDK {
65
+ /**
66
+ * API Client for interfacing with the Rippling SDK API.
67
+ *
68
+ * @param {string | undefined} [opts.bearerToken=process.env['BEARER_TOKEN_PRODUCTION'] ?? undefined]
69
+ * @param {string} [opts.baseURL=process.env['RIPPLING_SDK_BASE_URL'] ?? https://rest.ripplingapis.com] - Override the default base URL for the API.
70
+ * @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
71
+ * @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
72
+ * @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
73
+ * @param {number} [opts.maxRetries=2] - The maximum number of times the client will retry a request.
74
+ * @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API.
75
+ * @param {Record<string, string | undefined>} opts.defaultQuery - Default query parameters to include with every request to the API.
76
+ */
77
+ constructor({ baseURL = readEnv('RIPPLING_SDK_BASE_URL'), bearerToken = readEnv('BEARER_TOKEN_PRODUCTION'), ...opts } = {}) {
78
+ _RipplingSDK_instances.add(this);
79
+ _RipplingSDK_encoder.set(this, void 0);
80
+ this.candidates = new API.Candidates(this);
81
+ this.candidateApplications = new API.CandidateApplications(this);
82
+ this.companies = new API.Companies(this);
83
+ this.compensations = new API.Compensations(this);
84
+ this.customFields = new API.CustomFields(this);
85
+ this.customObjects = new API.CustomObjects(this);
86
+ this.departments = new API.Departments(this);
87
+ this.employmentTypes = new API.EmploymentTypes(this);
88
+ this.entitlements = new API.Entitlements(this);
89
+ this.jobCodes = new API.JobCodes(this);
90
+ this.jobDimensions = new API.JobDimensions(this);
91
+ this.jobRequisitions = new API.JobRequisitions(this);
92
+ this.kioskBadges = new API.KioskBadges(this);
93
+ this.leaveBalances = new API.LeaveBalances(this);
94
+ this.leaveRequests = new API.LeaveRequests(this);
95
+ this.leaveTypes = new API.LeaveTypes(this);
96
+ this.legalEntities = new API.LegalEntities(this);
97
+ this.levels = new API.Levels(this);
98
+ this.objectCategories = new API.ObjectCategories(this);
99
+ this.shiftInputs = new API.ShiftInputs(this);
100
+ this.ssoMe = new API.SSOMeResource(this);
101
+ this.supergroups = new API.Supergroups(this);
102
+ this.teams = new API.Teams(this);
103
+ this.timeCards = new API.TimeCards(this);
104
+ this.timeEntries = new API.TimeEntries(this);
105
+ this.tracks = new API.Tracks(this);
106
+ this.users = new API.Users(this);
107
+ this.workLocations = new API.WorkLocations(this);
108
+ this.workers = new API.Workers(this);
109
+ this.businessPartners = new API.BusinessPartners(this);
110
+ this.businessPartnerGroups = new API.BusinessPartnerGroups(this);
111
+ this.functions = new API.Functions(this);
112
+ this.jobAssignments = new API.JobAssignments(this);
113
+ this.jobPayRateExceptions = new API.JobPayRateExceptions(this);
114
+ this.schedules = new API.Schedules(this);
115
+ this.headcountPositions = new API.HeadcountPositions(this);
116
+ this.shiftassignments = new API.Shiftassignments(this);
117
+ this.headcountPriorities = new API.HeadcountPriorities(this);
118
+ this.jobFunctions = new API.JobFunctions(this);
119
+ this.locationFactors = new API.LocationFactors(this);
120
+ if (bearerToken === undefined) {
121
+ throw new Errors.RipplingSDKError("The BEARER_TOKEN_PRODUCTION environment variable is missing or empty; either provide it, or instantiate the RipplingSDK client with an bearerToken option, like new RipplingSDK({ bearerToken: 'My Bearer Token' }).");
122
+ }
123
+ const options = {
124
+ bearerToken,
125
+ ...opts,
126
+ baseURL: baseURL || `https://rest.ripplingapis.com`,
127
+ };
128
+ this.baseURL = options.baseURL;
129
+ this.timeout = options.timeout ?? _a.DEFAULT_TIMEOUT /* 1 minute */;
130
+ this.logger = options.logger ?? console;
131
+ const defaultLogLevel = 'warn';
132
+ // Set default logLevel early so that we can log a warning in parseLogLevel.
133
+ this.logLevel = defaultLogLevel;
134
+ this.logLevel =
135
+ parseLogLevel(options.logLevel, 'ClientOptions.logLevel', this) ??
136
+ parseLogLevel(readEnv('RIPPLING_SDK_LOG'), "process.env['RIPPLING_SDK_LOG']", this) ??
137
+ defaultLogLevel;
138
+ this.fetchOptions = options.fetchOptions;
139
+ this.maxRetries = options.maxRetries ?? 2;
140
+ this.fetch = options.fetch ?? Shims.getDefaultFetch();
141
+ __classPrivateFieldSet(this, _RipplingSDK_encoder, Opts.FallbackEncoder, "f");
142
+ this._options = options;
143
+ this.bearerToken = bearerToken;
144
+ }
145
+ /**
146
+ * Create a new client instance re-using the same options given to the current client with optional overriding.
147
+ */
148
+ withOptions(options) {
149
+ const client = new this.constructor({
150
+ ...this._options,
151
+ baseURL: this.baseURL,
152
+ maxRetries: this.maxRetries,
153
+ timeout: this.timeout,
154
+ logger: this.logger,
155
+ logLevel: this.logLevel,
156
+ fetch: this.fetch,
157
+ fetchOptions: this.fetchOptions,
158
+ bearerToken: this.bearerToken,
159
+ ...options,
160
+ });
161
+ return client;
162
+ }
163
+ defaultQuery() {
164
+ return this._options.defaultQuery;
165
+ }
166
+ validateHeaders({ values, nulls }) {
167
+ return;
168
+ }
169
+ async authHeaders(opts) {
170
+ return buildHeaders([await this.bearerTokenProductionAuth(opts), await this.oAuth2ProductionAuth(opts)]);
171
+ }
172
+ async bearerTokenProductionAuth(opts) {
173
+ return buildHeaders([{ Authorization: `Bearer ${this.bearerToken}` }]);
174
+ }
175
+ async oAuth2ProductionAuth(opts) {
176
+ return undefined;
177
+ }
178
+ /**
179
+ * Basic re-implementation of `qs.stringify` for primitive types.
180
+ */
181
+ stringifyQuery(query) {
182
+ return Object.entries(query)
183
+ .filter(([_, value]) => typeof value !== 'undefined')
184
+ .map(([key, value]) => {
185
+ if (typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') {
186
+ return `${encodeURIComponent(key)}=${encodeURIComponent(value)}`;
187
+ }
188
+ if (value === null) {
189
+ return `${encodeURIComponent(key)}=`;
190
+ }
191
+ throw new Errors.RipplingSDKError(`Cannot stringify type ${typeof value}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`);
192
+ })
193
+ .join('&');
194
+ }
195
+ getUserAgent() {
196
+ return `${this.constructor.name}/JS ${VERSION}`;
197
+ }
198
+ defaultIdempotencyKey() {
199
+ return `stainless-node-retry-${uuid4()}`;
200
+ }
201
+ makeStatusError(status, error, message, headers) {
202
+ return Errors.APIError.generate(status, error, message, headers);
203
+ }
204
+ buildURL(path, query, defaultBaseURL) {
205
+ const baseURL = (!__classPrivateFieldGet(this, _RipplingSDK_instances, "m", _RipplingSDK_baseURLOverridden).call(this) && defaultBaseURL) || this.baseURL;
206
+ const url = isAbsoluteURL(path) ?
207
+ new URL(path)
208
+ : new URL(baseURL + (baseURL.endsWith('/') && path.startsWith('/') ? path.slice(1) : path));
209
+ const defaultQuery = this.defaultQuery();
210
+ if (!isEmptyObj(defaultQuery)) {
211
+ query = { ...defaultQuery, ...query };
212
+ }
213
+ if (typeof query === 'object' && query && !Array.isArray(query)) {
214
+ url.search = this.stringifyQuery(query);
215
+ }
216
+ return url.toString();
217
+ }
218
+ /**
219
+ * Used as a callback for mutating the given `FinalRequestOptions` object.
220
+ */
221
+ async prepareOptions(options) { }
222
+ /**
223
+ * Used as a callback for mutating the given `RequestInit` object.
224
+ *
225
+ * This is useful for cases where you want to add certain headers based off of
226
+ * the request properties, e.g. `method` or `url`.
227
+ */
228
+ async prepareRequest(request, { url, options }) { }
229
+ get(path, opts) {
230
+ return this.methodRequest('get', path, opts);
231
+ }
232
+ post(path, opts) {
233
+ return this.methodRequest('post', path, opts);
234
+ }
235
+ patch(path, opts) {
236
+ return this.methodRequest('patch', path, opts);
237
+ }
238
+ put(path, opts) {
239
+ return this.methodRequest('put', path, opts);
240
+ }
241
+ delete(path, opts) {
242
+ return this.methodRequest('delete', path, opts);
243
+ }
244
+ methodRequest(method, path, opts) {
245
+ return this.request(Promise.resolve(opts).then((opts) => {
246
+ return { method, path, ...opts };
247
+ }));
248
+ }
249
+ request(options, remainingRetries = null) {
250
+ return new APIPromise(this, this.makeRequest(options, remainingRetries, undefined));
251
+ }
252
+ async makeRequest(optionsInput, retriesRemaining, retryOfRequestLogID) {
253
+ const options = await optionsInput;
254
+ const maxRetries = options.maxRetries ?? this.maxRetries;
255
+ if (retriesRemaining == null) {
256
+ retriesRemaining = maxRetries;
257
+ }
258
+ await this.prepareOptions(options);
259
+ const { req, url, timeout } = await this.buildRequest(options, {
260
+ retryCount: maxRetries - retriesRemaining,
261
+ });
262
+ await this.prepareRequest(req, { url, options });
263
+ /** Not an API request ID, just for correlating local log entries. */
264
+ const requestLogID = 'log_' + ((Math.random() * (1 << 24)) | 0).toString(16).padStart(6, '0');
265
+ const retryLogStr = retryOfRequestLogID === undefined ? '' : `, retryOf: ${retryOfRequestLogID}`;
266
+ const startTime = Date.now();
267
+ loggerFor(this).debug(`[${requestLogID}] sending request`, formatRequestDetails({
268
+ retryOfRequestLogID,
269
+ method: options.method,
270
+ url,
271
+ options,
272
+ headers: req.headers,
273
+ }));
274
+ if (options.signal?.aborted) {
275
+ throw new Errors.APIUserAbortError();
276
+ }
277
+ const controller = new AbortController();
278
+ const response = await this.fetchWithTimeout(url, req, timeout, controller).catch(castToError);
279
+ const headersTime = Date.now();
280
+ if (response instanceof globalThis.Error) {
281
+ const retryMessage = `retrying, ${retriesRemaining} attempts remaining`;
282
+ if (options.signal?.aborted) {
283
+ throw new Errors.APIUserAbortError();
284
+ }
285
+ // detect native connection timeout errors
286
+ // deno throws "TypeError: error sending request for url (https://example/): client error (Connect): tcp connect error: Operation timed out (os error 60): Operation timed out (os error 60)"
287
+ // undici throws "TypeError: fetch failed" with cause "ConnectTimeoutError: Connect Timeout Error (attempted address: example:443, timeout: 1ms)"
288
+ // others do not provide enough information to distinguish timeouts from other connection errors
289
+ const isTimeout = isAbortError(response) ||
290
+ /timed? ?out/i.test(String(response) + ('cause' in response ? String(response.cause) : ''));
291
+ if (retriesRemaining) {
292
+ loggerFor(this).info(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - ${retryMessage}`);
293
+ loggerFor(this).debug(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (${retryMessage})`, formatRequestDetails({
294
+ retryOfRequestLogID,
295
+ url,
296
+ durationMs: headersTime - startTime,
297
+ message: response.message,
298
+ }));
299
+ return this.retryRequest(options, retriesRemaining, retryOfRequestLogID ?? requestLogID);
300
+ }
301
+ loggerFor(this).info(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - error; no more retries left`);
302
+ loggerFor(this).debug(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (error; no more retries left)`, formatRequestDetails({
303
+ retryOfRequestLogID,
304
+ url,
305
+ durationMs: headersTime - startTime,
306
+ message: response.message,
307
+ }));
308
+ if (isTimeout) {
309
+ throw new Errors.APIConnectionTimeoutError();
310
+ }
311
+ throw new Errors.APIConnectionError({ cause: response });
312
+ }
313
+ const responseInfo = `[${requestLogID}${retryLogStr}] ${req.method} ${url} ${response.ok ? 'succeeded' : 'failed'} with status ${response.status} in ${headersTime - startTime}ms`;
314
+ if (!response.ok) {
315
+ const shouldRetry = await this.shouldRetry(response);
316
+ if (retriesRemaining && shouldRetry) {
317
+ const retryMessage = `retrying, ${retriesRemaining} attempts remaining`;
318
+ // We don't need the body of this response.
319
+ await Shims.CancelReadableStream(response.body);
320
+ loggerFor(this).info(`${responseInfo} - ${retryMessage}`);
321
+ loggerFor(this).debug(`[${requestLogID}] response error (${retryMessage})`, formatRequestDetails({
322
+ retryOfRequestLogID,
323
+ url: response.url,
324
+ status: response.status,
325
+ headers: response.headers,
326
+ durationMs: headersTime - startTime,
327
+ }));
328
+ return this.retryRequest(options, retriesRemaining, retryOfRequestLogID ?? requestLogID, response.headers);
329
+ }
330
+ const retryMessage = shouldRetry ? `error; no more retries left` : `error; not retryable`;
331
+ loggerFor(this).info(`${responseInfo} - ${retryMessage}`);
332
+ const errText = await response.text().catch((err) => castToError(err).message);
333
+ const errJSON = safeJSON(errText);
334
+ const errMessage = errJSON ? undefined : errText;
335
+ loggerFor(this).debug(`[${requestLogID}] response error (${retryMessage})`, formatRequestDetails({
336
+ retryOfRequestLogID,
337
+ url: response.url,
338
+ status: response.status,
339
+ headers: response.headers,
340
+ message: errMessage,
341
+ durationMs: Date.now() - startTime,
342
+ }));
343
+ const err = this.makeStatusError(response.status, errJSON, errMessage, response.headers);
344
+ throw err;
345
+ }
346
+ loggerFor(this).info(responseInfo);
347
+ loggerFor(this).debug(`[${requestLogID}] response start`, formatRequestDetails({
348
+ retryOfRequestLogID,
349
+ url: response.url,
350
+ status: response.status,
351
+ headers: response.headers,
352
+ durationMs: headersTime - startTime,
353
+ }));
354
+ return { response, options, controller, requestLogID, retryOfRequestLogID, startTime };
355
+ }
356
+ getAPIList(path, Page, opts) {
357
+ return this.requestAPIList(Page, { method: 'get', path, ...opts });
358
+ }
359
+ requestAPIList(Page, options) {
360
+ const request = this.makeRequest(options, null, undefined);
361
+ return new Pagination.PagePromise(this, request, Page);
362
+ }
363
+ async fetchWithTimeout(url, init, ms, controller) {
364
+ const { signal, method, ...options } = init || {};
365
+ if (signal)
366
+ signal.addEventListener('abort', () => controller.abort());
367
+ const timeout = setTimeout(() => controller.abort(), ms);
368
+ const isReadableBody = (globalThis.ReadableStream && options.body instanceof globalThis.ReadableStream) ||
369
+ (typeof options.body === 'object' && options.body !== null && Symbol.asyncIterator in options.body);
370
+ const fetchOptions = {
371
+ signal: controller.signal,
372
+ ...(isReadableBody ? { duplex: 'half' } : {}),
373
+ method: 'GET',
374
+ ...options,
375
+ };
376
+ if (method) {
377
+ // Custom methods like 'patch' need to be uppercased
378
+ // See https://github.com/nodejs/undici/issues/2294
379
+ fetchOptions.method = method.toUpperCase();
380
+ }
381
+ try {
382
+ // use undefined this binding; fetch errors if bound to something else in browser/cloudflare
383
+ return await this.fetch.call(undefined, url, fetchOptions);
384
+ }
385
+ finally {
386
+ clearTimeout(timeout);
387
+ }
388
+ }
389
+ async shouldRetry(response) {
390
+ // Note this is not a standard header.
391
+ const shouldRetryHeader = response.headers.get('x-should-retry');
392
+ // If the server explicitly says whether or not to retry, obey.
393
+ if (shouldRetryHeader === 'true')
394
+ return true;
395
+ if (shouldRetryHeader === 'false')
396
+ return false;
397
+ // Retry on request timeouts.
398
+ if (response.status === 408)
399
+ return true;
400
+ // Retry on lock timeouts.
401
+ if (response.status === 409)
402
+ return true;
403
+ // Retry on rate limits.
404
+ if (response.status === 429)
405
+ return true;
406
+ // Retry internal errors.
407
+ if (response.status >= 500)
408
+ return true;
409
+ return false;
410
+ }
411
+ async retryRequest(options, retriesRemaining, requestLogID, responseHeaders) {
412
+ let timeoutMillis;
413
+ // Note the `retry-after-ms` header may not be standard, but is a good idea and we'd like proactive support for it.
414
+ const retryAfterMillisHeader = responseHeaders?.get('retry-after-ms');
415
+ if (retryAfterMillisHeader) {
416
+ const timeoutMs = parseFloat(retryAfterMillisHeader);
417
+ if (!Number.isNaN(timeoutMs)) {
418
+ timeoutMillis = timeoutMs;
419
+ }
420
+ }
421
+ // About the Retry-After header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After
422
+ const retryAfterHeader = responseHeaders?.get('retry-after');
423
+ if (retryAfterHeader && !timeoutMillis) {
424
+ const timeoutSeconds = parseFloat(retryAfterHeader);
425
+ if (!Number.isNaN(timeoutSeconds)) {
426
+ timeoutMillis = timeoutSeconds * 1000;
427
+ }
428
+ else {
429
+ timeoutMillis = Date.parse(retryAfterHeader) - Date.now();
430
+ }
431
+ }
432
+ // If the API asks us to wait a certain amount of time (and it's a reasonable amount),
433
+ // just do what it says, but otherwise calculate a default
434
+ if (!(timeoutMillis && 0 <= timeoutMillis && timeoutMillis < 60 * 1000)) {
435
+ const maxRetries = options.maxRetries ?? this.maxRetries;
436
+ timeoutMillis = this.calculateDefaultRetryTimeoutMillis(retriesRemaining, maxRetries);
437
+ }
438
+ await sleep(timeoutMillis);
439
+ return this.makeRequest(options, retriesRemaining - 1, requestLogID);
440
+ }
441
+ calculateDefaultRetryTimeoutMillis(retriesRemaining, maxRetries) {
442
+ const initialRetryDelay = 0.5;
443
+ const maxRetryDelay = 8.0;
444
+ const numRetries = maxRetries - retriesRemaining;
445
+ // Apply exponential backoff, but not more than the max.
446
+ const sleepSeconds = Math.min(initialRetryDelay * Math.pow(2, numRetries), maxRetryDelay);
447
+ // Apply some jitter, take up to at most 25 percent of the retry time.
448
+ const jitter = 1 - Math.random() * 0.25;
449
+ return sleepSeconds * jitter * 1000;
450
+ }
451
+ async buildRequest(inputOptions, { retryCount = 0 } = {}) {
452
+ const options = { ...inputOptions };
453
+ const { method, path, query, defaultBaseURL } = options;
454
+ const url = this.buildURL(path, query, defaultBaseURL);
455
+ if ('timeout' in options)
456
+ validatePositiveInteger('timeout', options.timeout);
457
+ options.timeout = options.timeout ?? this.timeout;
458
+ const { bodyHeaders, body } = this.buildBody({ options });
459
+ const reqHeaders = await this.buildHeaders({ options: inputOptions, method, bodyHeaders, retryCount });
460
+ const req = {
461
+ method,
462
+ headers: reqHeaders,
463
+ ...(options.signal && { signal: options.signal }),
464
+ ...(globalThis.ReadableStream &&
465
+ body instanceof globalThis.ReadableStream && { duplex: 'half' }),
466
+ ...(body && { body }),
467
+ ...(this.fetchOptions ?? {}),
468
+ ...(options.fetchOptions ?? {}),
469
+ };
470
+ return { req, url, timeout: options.timeout };
471
+ }
472
+ async buildHeaders({ options, method, bodyHeaders, retryCount, }) {
473
+ let idempotencyHeaders = {};
474
+ if (this.idempotencyHeader && method !== 'get') {
475
+ if (!options.idempotencyKey)
476
+ options.idempotencyKey = this.defaultIdempotencyKey();
477
+ idempotencyHeaders[this.idempotencyHeader] = options.idempotencyKey;
478
+ }
479
+ const headers = buildHeaders([
480
+ idempotencyHeaders,
481
+ {
482
+ Accept: 'application/json',
483
+ 'User-Agent': this.getUserAgent(),
484
+ 'X-Stainless-Retry-Count': String(retryCount),
485
+ ...(options.timeout ? { 'X-Stainless-Timeout': String(Math.trunc(options.timeout / 1000)) } : {}),
486
+ ...getPlatformHeaders(),
487
+ },
488
+ await this.authHeaders(options),
489
+ this._options.defaultHeaders,
490
+ bodyHeaders,
491
+ options.headers,
492
+ ]);
493
+ this.validateHeaders(headers);
494
+ return headers.values;
495
+ }
496
+ buildBody({ options: { body, headers: rawHeaders } }) {
497
+ if (!body) {
498
+ return { bodyHeaders: undefined, body: undefined };
499
+ }
500
+ const headers = buildHeaders([rawHeaders]);
501
+ if (
502
+ // Pass raw type verbatim
503
+ ArrayBuffer.isView(body) ||
504
+ body instanceof ArrayBuffer ||
505
+ body instanceof DataView ||
506
+ (typeof body === 'string' &&
507
+ // Preserve legacy string encoding behavior for now
508
+ headers.values.has('content-type')) ||
509
+ // `Blob` is superset of `File`
510
+ (globalThis.Blob && body instanceof globalThis.Blob) ||
511
+ // `FormData` -> `multipart/form-data`
512
+ body instanceof FormData ||
513
+ // `URLSearchParams` -> `application/x-www-form-urlencoded`
514
+ body instanceof URLSearchParams ||
515
+ // Send chunked stream (each chunk has own `length`)
516
+ (globalThis.ReadableStream && body instanceof globalThis.ReadableStream)) {
517
+ return { bodyHeaders: undefined, body: body };
518
+ }
519
+ else if (typeof body === 'object' &&
520
+ (Symbol.asyncIterator in body ||
521
+ (Symbol.iterator in body && 'next' in body && typeof body.next === 'function'))) {
522
+ return { bodyHeaders: undefined, body: Shims.ReadableStreamFrom(body) };
523
+ }
524
+ else {
525
+ return __classPrivateFieldGet(this, _RipplingSDK_encoder, "f").call(this, { body, headers });
526
+ }
527
+ }
528
+ }
529
+ _a = RipplingSDK, _RipplingSDK_encoder = new WeakMap(), _RipplingSDK_instances = new WeakSet(), _RipplingSDK_baseURLOverridden = function _RipplingSDK_baseURLOverridden() {
530
+ return this.baseURL !== 'https://rest.ripplingapis.com';
531
+ };
532
+ RipplingSDK.RipplingSDK = _a;
533
+ RipplingSDK.DEFAULT_TIMEOUT = 60000; // 1 minute
534
+ RipplingSDK.RipplingSDKError = Errors.RipplingSDKError;
535
+ RipplingSDK.APIError = Errors.APIError;
536
+ RipplingSDK.APIConnectionError = Errors.APIConnectionError;
537
+ RipplingSDK.APIConnectionTimeoutError = Errors.APIConnectionTimeoutError;
538
+ RipplingSDK.APIUserAbortError = Errors.APIUserAbortError;
539
+ RipplingSDK.NotFoundError = Errors.NotFoundError;
540
+ RipplingSDK.ConflictError = Errors.ConflictError;
541
+ RipplingSDK.RateLimitError = Errors.RateLimitError;
542
+ RipplingSDK.BadRequestError = Errors.BadRequestError;
543
+ RipplingSDK.AuthenticationError = Errors.AuthenticationError;
544
+ RipplingSDK.InternalServerError = Errors.InternalServerError;
545
+ RipplingSDK.PermissionDeniedError = Errors.PermissionDeniedError;
546
+ RipplingSDK.UnprocessableEntityError = Errors.UnprocessableEntityError;
547
+ RipplingSDK.toFile = Uploads.toFile;
548
+ RipplingSDK.Candidates = Candidates;
549
+ RipplingSDK.CandidateApplications = CandidateApplications;
550
+ RipplingSDK.Companies = Companies;
551
+ RipplingSDK.Compensations = Compensations;
552
+ RipplingSDK.CustomFields = CustomFields;
553
+ RipplingSDK.CustomObjects = CustomObjects;
554
+ RipplingSDK.Departments = Departments;
555
+ RipplingSDK.EmploymentTypes = EmploymentTypes;
556
+ RipplingSDK.Entitlements = Entitlements;
557
+ RipplingSDK.JobCodes = JobCodes;
558
+ RipplingSDK.JobDimensions = JobDimensions;
559
+ RipplingSDK.JobRequisitions = JobRequisitions;
560
+ RipplingSDK.KioskBadges = KioskBadges;
561
+ RipplingSDK.LeaveBalances = LeaveBalances;
562
+ RipplingSDK.LeaveRequests = LeaveRequests;
563
+ RipplingSDK.LeaveTypes = LeaveTypes;
564
+ RipplingSDK.LegalEntities = LegalEntities;
565
+ RipplingSDK.Levels = Levels;
566
+ RipplingSDK.ObjectCategories = ObjectCategories;
567
+ RipplingSDK.ShiftInputs = ShiftInputs;
568
+ RipplingSDK.SSOMeResource = SSOMeResource;
569
+ RipplingSDK.Supergroups = Supergroups;
570
+ RipplingSDK.Teams = Teams;
571
+ RipplingSDK.TimeCards = TimeCards;
572
+ RipplingSDK.TimeEntries = TimeEntries;
573
+ RipplingSDK.Tracks = Tracks;
574
+ RipplingSDK.Users = Users;
575
+ RipplingSDK.WorkLocations = WorkLocations;
576
+ RipplingSDK.Workers = Workers;
577
+ RipplingSDK.BusinessPartners = BusinessPartners;
578
+ RipplingSDK.BusinessPartnerGroups = BusinessPartnerGroups;
579
+ RipplingSDK.Functions = Functions;
580
+ RipplingSDK.JobAssignments = JobAssignments;
581
+ RipplingSDK.JobPayRateExceptions = JobPayRateExceptions;
582
+ RipplingSDK.Schedules = Schedules;
583
+ RipplingSDK.HeadcountPositions = HeadcountPositions;
584
+ RipplingSDK.Shiftassignments = Shiftassignments;
585
+ RipplingSDK.HeadcountPriorities = HeadcountPriorities;
586
+ RipplingSDK.JobFunctions = JobFunctions;
587
+ RipplingSDK.LocationFactors = LocationFactors;
588
+ //# sourceMappingURL=client.mjs.map
package/client.mjs.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.mjs","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"AAAA,sFAAsF;;;OAI/E,EAAE,KAAK,EAAE;OACT,EAAE,uBAAuB,EAAE,aAAa,EAAE,QAAQ,EAAE;OACpD,EAAE,KAAK,EAAE;OAET,EAAE,WAAW,EAAE,YAAY,EAAE;OAE7B,EAAE,kBAAkB,EAAE;OACtB,KAAK,KAAK;OACV,KAAK,IAAI;OACT,EAAE,OAAO,EAAE;OACX,KAAK,MAAM;OACX,KAAK,UAAU;OAEf,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EAML,qBAAqB,GAEtB;OACM,EAML,gBAAgB,GAGjB;OACM,E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