@rippling/rippling-sdk 0.2.0-alpha.112 → 0.2.0-alpha.114

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 (277) hide show
  1. package/client.d.mts +41 -8
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +41 -8
  4. package/client.d.ts.map +1 -1
  5. package/client.js +35 -0
  6. package/client.js.map +1 -1
  7. package/client.mjs +35 -0
  8. package/client.mjs.map +1 -1
  9. package/lib/manifest/app.d.mts +20 -1
  10. package/lib/manifest/app.d.mts.map +1 -1
  11. package/lib/manifest/app.d.ts +20 -1
  12. package/lib/manifest/app.d.ts.map +1 -1
  13. package/lib/manifest/app.js +50 -0
  14. package/lib/manifest/app.js.map +1 -1
  15. package/lib/manifest/app.mjs +51 -1
  16. package/lib/manifest/app.mjs.map +1 -1
  17. package/lib/manifest/composition.d.mts +3 -0
  18. package/lib/manifest/composition.d.mts.map +1 -1
  19. package/lib/manifest/composition.d.ts +3 -0
  20. package/lib/manifest/composition.d.ts.map +1 -1
  21. package/lib/manifest/composition.js.map +1 -1
  22. package/lib/manifest/composition.mjs.map +1 -1
  23. package/lib/manifest/definitions/app.js +4 -1
  24. package/lib/manifest/definitions/app.js.map +1 -1
  25. package/lib/manifest/definitions/app.mjs +4 -1
  26. package/lib/manifest/definitions/app.mjs.map +1 -1
  27. package/lib/manifest/definitions/canvas-instance.d.mts +114 -0
  28. package/lib/manifest/definitions/canvas-instance.d.mts.map +1 -0
  29. package/lib/manifest/definitions/canvas-instance.d.ts +114 -0
  30. package/lib/manifest/definitions/canvas-instance.d.ts.map +1 -0
  31. package/lib/manifest/definitions/canvas-instance.js +31 -0
  32. package/lib/manifest/definitions/canvas-instance.js.map +1 -0
  33. package/lib/manifest/definitions/canvas-instance.mjs +28 -0
  34. package/lib/manifest/definitions/canvas-instance.mjs.map +1 -0
  35. package/lib/manifest/definitions/function.d.mts.map +1 -1
  36. package/lib/manifest/definitions/function.d.ts.map +1 -1
  37. package/lib/manifest/definitions/function.js +1 -0
  38. package/lib/manifest/definitions/function.js.map +1 -1
  39. package/lib/manifest/definitions/function.mjs +1 -0
  40. package/lib/manifest/definitions/function.mjs.map +1 -1
  41. package/lib/manifest/definitions/group.d.mts +64 -0
  42. package/lib/manifest/definitions/group.d.mts.map +1 -0
  43. package/lib/manifest/definitions/group.d.ts +64 -0
  44. package/lib/manifest/definitions/group.d.ts.map +1 -0
  45. package/lib/manifest/definitions/group.js +57 -0
  46. package/lib/manifest/definitions/group.js.map +1 -0
  47. package/lib/manifest/definitions/group.mjs +50 -0
  48. package/lib/manifest/definitions/group.mjs.map +1 -0
  49. package/lib/manifest/definitions/index.d.mts +5 -0
  50. package/lib/manifest/definitions/index.d.mts.map +1 -1
  51. package/lib/manifest/definitions/index.d.ts +5 -0
  52. package/lib/manifest/definitions/index.d.ts.map +1 -1
  53. package/lib/manifest/definitions/index.js +9 -1
  54. package/lib/manifest/definitions/index.js.map +1 -1
  55. package/lib/manifest/definitions/index.mjs +3 -0
  56. package/lib/manifest/definitions/index.mjs.map +1 -1
  57. package/lib/manifest/definitions/saved-super-group.d.mts +12 -0
  58. package/lib/manifest/definitions/saved-super-group.d.mts.map +1 -0
  59. package/lib/manifest/definitions/saved-super-group.d.ts +12 -0
  60. package/lib/manifest/definitions/saved-super-group.d.ts.map +1 -0
  61. package/lib/manifest/definitions/saved-super-group.js +26 -0
  62. package/lib/manifest/definitions/saved-super-group.js.map +1 -0
  63. package/lib/manifest/definitions/saved-super-group.mjs +21 -0
  64. package/lib/manifest/definitions/saved-super-group.mjs.map +1 -0
  65. package/lib/manifest/existing-manifest-context.d.mts +3 -0
  66. package/lib/manifest/existing-manifest-context.d.mts.map +1 -1
  67. package/lib/manifest/existing-manifest-context.d.ts +3 -0
  68. package/lib/manifest/existing-manifest-context.d.ts.map +1 -1
  69. package/lib/manifest/existing-manifest-context.js +15 -0
  70. package/lib/manifest/existing-manifest-context.js.map +1 -1
  71. package/lib/manifest/existing-manifest-context.mjs +15 -0
  72. package/lib/manifest/existing-manifest-context.mjs.map +1 -1
  73. package/lib/manifest/group.d.mts +83 -0
  74. package/lib/manifest/group.d.mts.map +1 -0
  75. package/lib/manifest/group.d.ts +83 -0
  76. package/lib/manifest/group.d.ts.map +1 -0
  77. package/lib/manifest/group.js +207 -0
  78. package/lib/manifest/group.js.map +1 -0
  79. package/lib/manifest/group.mjs +203 -0
  80. package/lib/manifest/group.mjs.map +1 -0
  81. package/lib/manifest/index.d.mts +2 -0
  82. package/lib/manifest/index.d.mts.map +1 -1
  83. package/lib/manifest/index.d.ts +2 -0
  84. package/lib/manifest/index.d.ts.map +1 -1
  85. package/lib/manifest/index.js +5 -1
  86. package/lib/manifest/index.js.map +1 -1
  87. package/lib/manifest/index.mjs +2 -0
  88. package/lib/manifest/index.mjs.map +1 -1
  89. package/lib/manifest/manifest-builder.d.mts +1 -1
  90. package/lib/manifest/manifest-builder.d.mts.map +1 -1
  91. package/lib/manifest/manifest-builder.d.ts +1 -1
  92. package/lib/manifest/manifest-builder.d.ts.map +1 -1
  93. package/lib/manifest/manifest-builder.js.map +1 -1
  94. package/lib/manifest/manifest-builder.mjs.map +1 -1
  95. package/lib/manifest/manifest-function.d.mts +16 -0
  96. package/lib/manifest/manifest-function.d.mts.map +1 -1
  97. package/lib/manifest/manifest-function.d.ts +16 -0
  98. package/lib/manifest/manifest-function.d.ts.map +1 -1
  99. package/lib/manifest/manifest-function.js +67 -0
  100. package/lib/manifest/manifest-function.js.map +1 -1
  101. package/lib/manifest/manifest-function.mjs +68 -1
  102. package/lib/manifest/manifest-function.mjs.map +1 -1
  103. package/lib/manifest/saved-super-group.d.mts +43 -0
  104. package/lib/manifest/saved-super-group.d.mts.map +1 -0
  105. package/lib/manifest/saved-super-group.d.ts +43 -0
  106. package/lib/manifest/saved-super-group.d.ts.map +1 -0
  107. package/lib/manifest/saved-super-group.js +136 -0
  108. package/lib/manifest/saved-super-group.js.map +1 -0
  109. package/lib/manifest/saved-super-group.mjs +132 -0
  110. package/lib/manifest/saved-super-group.mjs.map +1 -0
  111. package/package.json +1 -1
  112. package/resources/application-submissions.d.mts +261 -0
  113. package/resources/application-submissions.d.mts.map +1 -0
  114. package/resources/application-submissions.d.ts +261 -0
  115. package/resources/application-submissions.d.ts.map +1 -0
  116. package/resources/application-submissions.js +112 -0
  117. package/resources/application-submissions.js.map +1 -0
  118. package/resources/application-submissions.mjs +108 -0
  119. package/resources/application-submissions.mjs.map +1 -0
  120. package/resources/bills.d.mts +913 -12
  121. package/resources/bills.d.mts.map +1 -1
  122. package/resources/bills.d.ts +913 -12
  123. package/resources/bills.d.ts.map +1 -1
  124. package/resources/bills.js +221 -0
  125. package/resources/bills.js.map +1 -1
  126. package/resources/bills.mjs +221 -0
  127. package/resources/bills.mjs.map +1 -1
  128. package/resources/candidate-applications.d.mts +247 -9
  129. package/resources/candidate-applications.d.mts.map +1 -1
  130. package/resources/candidate-applications.d.ts +247 -9
  131. package/resources/candidate-applications.d.ts.map +1 -1
  132. package/resources/candidate-applications.js +37 -5
  133. package/resources/candidate-applications.js.map +1 -1
  134. package/resources/candidate-applications.mjs +37 -5
  135. package/resources/candidate-applications.mjs.map +1 -1
  136. package/resources/card-transactions.d.mts +1580 -30
  137. package/resources/card-transactions.d.mts.map +1 -1
  138. package/resources/card-transactions.d.ts +1580 -30
  139. package/resources/card-transactions.d.ts.map +1 -1
  140. package/resources/card-transactions.js +404 -4
  141. package/resources/card-transactions.js.map +1 -1
  142. package/resources/card-transactions.mjs +404 -4
  143. package/resources/card-transactions.mjs.map +1 -1
  144. package/resources/custom-objects/custom-objects.d.mts +4 -0
  145. package/resources/custom-objects/custom-objects.d.mts.map +1 -1
  146. package/resources/custom-objects/custom-objects.d.ts +4 -0
  147. package/resources/custom-objects/custom-objects.d.ts.map +1 -1
  148. package/resources/custom-objects/custom-objects.js +4 -0
  149. package/resources/custom-objects/custom-objects.js.map +1 -1
  150. package/resources/custom-objects/custom-objects.mjs +4 -0
  151. package/resources/custom-objects/custom-objects.mjs.map +1 -1
  152. package/resources/custom-objects/index.d.mts +1 -0
  153. package/resources/custom-objects/index.d.mts.map +1 -1
  154. package/resources/custom-objects/index.d.ts +1 -0
  155. package/resources/custom-objects/index.d.ts.map +1 -1
  156. package/resources/custom-objects/index.js +3 -1
  157. package/resources/custom-objects/index.js.map +1 -1
  158. package/resources/custom-objects/index.mjs +1 -0
  159. package/resources/custom-objects/index.mjs.map +1 -1
  160. package/resources/custom-objects/record-actions.d.mts +98 -0
  161. package/resources/custom-objects/record-actions.d.mts.map +1 -0
  162. package/resources/custom-objects/record-actions.d.ts +98 -0
  163. package/resources/custom-objects/record-actions.d.ts.map +1 -0
  164. package/resources/custom-objects/record-actions.js +58 -0
  165. package/resources/custom-objects/record-actions.js.map +1 -0
  166. package/resources/custom-objects/record-actions.mjs +54 -0
  167. package/resources/custom-objects/record-actions.mjs.map +1 -0
  168. package/resources/earnings-inputs.d.mts +14 -2
  169. package/resources/earnings-inputs.d.mts.map +1 -1
  170. package/resources/earnings-inputs.d.ts +14 -2
  171. package/resources/earnings-inputs.d.ts.map +1 -1
  172. package/resources/earnings-inputs.js +14 -2
  173. package/resources/earnings-inputs.js.map +1 -1
  174. package/resources/earnings-inputs.mjs +14 -2
  175. package/resources/earnings-inputs.mjs.map +1 -1
  176. package/resources/index.d.mts +9 -4
  177. package/resources/index.d.mts.map +1 -1
  178. package/resources/index.d.ts +9 -4
  179. package/resources/index.d.ts.map +1 -1
  180. package/resources/index.js +13 -3
  181. package/resources/index.js.map +1 -1
  182. package/resources/index.mjs +5 -0
  183. package/resources/index.mjs.map +1 -1
  184. package/resources/job-posts.d.mts +345 -0
  185. package/resources/job-posts.d.mts.map +1 -0
  186. package/resources/job-posts.d.ts +345 -0
  187. package/resources/job-posts.d.ts.map +1 -0
  188. package/resources/job-posts.js +110 -0
  189. package/resources/job-posts.js.map +1 -0
  190. package/resources/job-posts.mjs +106 -0
  191. package/resources/job-posts.mjs.map +1 -0
  192. package/resources/job-requisitions.d.mts +96 -4
  193. package/resources/job-requisitions.d.mts.map +1 -1
  194. package/resources/job-requisitions.d.ts +96 -4
  195. package/resources/job-requisitions.d.ts.map +1 -1
  196. package/resources/job-requisitions.js +64 -3
  197. package/resources/job-requisitions.js.map +1 -1
  198. package/resources/job-requisitions.mjs +64 -3
  199. package/resources/job-requisitions.mjs.map +1 -1
  200. package/resources/record-detail-related-records.d.mts +60 -30
  201. package/resources/record-detail-related-records.d.mts.map +1 -1
  202. package/resources/record-detail-related-records.d.ts +60 -30
  203. package/resources/record-detail-related-records.d.ts.map +1 -1
  204. package/resources/record-details.d.mts +120 -60
  205. package/resources/record-details.d.mts.map +1 -1
  206. package/resources/record-details.d.ts +120 -60
  207. package/resources/record-details.d.ts.map +1 -1
  208. package/resources/reimbursements.d.mts +1106 -64
  209. package/resources/reimbursements.d.mts.map +1 -1
  210. package/resources/reimbursements.d.ts +1106 -64
  211. package/resources/reimbursements.d.ts.map +1 -1
  212. package/resources/reimbursements.js +208 -0
  213. package/resources/reimbursements.js.map +1 -1
  214. package/resources/reimbursements.mjs +208 -0
  215. package/resources/reimbursements.mjs.map +1 -1
  216. package/resources/scheduled-payout-labels.d.mts +267 -0
  217. package/resources/scheduled-payout-labels.d.mts.map +1 -0
  218. package/resources/scheduled-payout-labels.d.ts +267 -0
  219. package/resources/scheduled-payout-labels.d.ts.map +1 -0
  220. package/resources/scheduled-payout-labels.js +151 -0
  221. package/resources/scheduled-payout-labels.js.map +1 -0
  222. package/resources/scheduled-payout-labels.mjs +147 -0
  223. package/resources/scheduled-payout-labels.mjs.map +1 -0
  224. package/resources/scheduled-payout-types.d.mts +680 -0
  225. package/resources/scheduled-payout-types.d.mts.map +1 -0
  226. package/resources/scheduled-payout-types.d.ts +680 -0
  227. package/resources/scheduled-payout-types.d.ts.map +1 -0
  228. package/resources/scheduled-payout-types.js +546 -0
  229. package/resources/scheduled-payout-types.js.map +1 -0
  230. package/resources/scheduled-payout-types.mjs +542 -0
  231. package/resources/scheduled-payout-types.mjs.map +1 -0
  232. package/resources/scheduled-payouts.d.mts +1588 -0
  233. package/resources/scheduled-payouts.d.mts.map +1 -0
  234. package/resources/scheduled-payouts.d.ts +1588 -0
  235. package/resources/scheduled-payouts.d.ts.map +1 -0
  236. package/resources/scheduled-payouts.js +582 -0
  237. package/resources/scheduled-payouts.js.map +1 -0
  238. package/resources/scheduled-payouts.mjs +578 -0
  239. package/resources/scheduled-payouts.mjs.map +1 -0
  240. package/src/client.ts +150 -0
  241. package/src/lib/manifest/app.ts +72 -2
  242. package/src/lib/manifest/composition.ts +8 -2
  243. package/src/lib/manifest/definitions/README.md +3 -1
  244. package/src/lib/manifest/definitions/app.ts +4 -1
  245. package/src/lib/manifest/definitions/canvas-instance.ts +143 -0
  246. package/src/lib/manifest/definitions/function.ts +1 -0
  247. package/src/lib/manifest/definitions/group.ts +159 -0
  248. package/src/lib/manifest/definitions/index.ts +42 -0
  249. package/src/lib/manifest/definitions/saved-super-group.ts +28 -0
  250. package/src/lib/manifest/existing-manifest-context.ts +24 -0
  251. package/src/lib/manifest/group.ts +282 -0
  252. package/src/lib/manifest/index.ts +16 -0
  253. package/src/lib/manifest/manifest-builder.ts +2 -0
  254. package/src/lib/manifest/manifest-function.ts +91 -1
  255. package/src/lib/manifest/saved-super-group.ts +171 -0
  256. package/src/resources/application-submissions.ts +315 -0
  257. package/src/resources/bills.ts +1085 -12
  258. package/src/resources/candidate-applications.ts +282 -9
  259. package/src/resources/card-transactions.ts +1874 -32
  260. package/src/resources/custom-objects/custom-objects.ts +16 -0
  261. package/src/resources/custom-objects/index.ts +6 -0
  262. package/src/resources/custom-objects/record-actions.ts +125 -0
  263. package/src/resources/earnings-inputs.ts +14 -2
  264. package/src/resources/index.ts +57 -0
  265. package/src/resources/job-posts.ts +415 -0
  266. package/src/resources/job-requisitions.ts +110 -3
  267. package/src/resources/record-detail-related-records.ts +60 -30
  268. package/src/resources/record-details.ts +120 -60
  269. package/src/resources/reimbursements.ts +1299 -63
  270. package/src/resources/scheduled-payout-labels.ts +373 -0
  271. package/src/resources/scheduled-payout-types.ts +755 -0
  272. package/src/resources/scheduled-payouts.ts +1947 -0
  273. package/src/version.ts +1 -1
  274. package/version.d.mts +1 -1
  275. package/version.d.ts +1 -1
  276. package/version.js +1 -1
  277. package/version.mjs +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"job-posts.d.ts","sourceRoot":"","sources":["../src/resources/job-posts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,mBAAmB,+BAA4B;AAC3D,OAAO,KAAK,kBAAkB,8BAA2B;AACzD,OAAO,KAAK,gBAAgB,4BAAyB;AACrD,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,8BAA2B;AAChE,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkEG;IACH,IAAI,CACF,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,iCAAiC,EAAE,mBAAmB,CAAC;IAItE;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;CAGvC;AAED,MAAM,MAAM,iCAAiC,GAAG,aAAa,CAAC,mBAAmB,CAAC,CAAC;AAEnF,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAI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AM,CAAC;IAElB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.JobPosts = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const pagination_1 = require("../core/pagination.js");
7
+ const path_1 = require("../internal/utils/path.js");
8
+ /**
9
+ * Customer-facing postings associated with job requisitions
10
+ */
11
+ class JobPosts extends resource_1.APIResource {
12
+ /**
13
+ * List location-specific job posts belonging to non-confidential active job
14
+ * requisitions. Use filter=job_requisition_id eq '...' and filter=published eq
15
+ * true for standard OData filtering. Named job_requisition_id and published
16
+ * parameters remain supported as aliases. The requisition_id parameter is a
17
+ * cross-resource lookup of the parent requisition's customer-defined identifier
18
+ * and requires job-requisitions.read. Use the returned job post identifier when
19
+ * submitting an application for a specific posting.
20
+ *
21
+ * - Requires: `Internal Testing`
22
+ * - Filterable fields: `job_requisition_id`, `published`
23
+ * - Expandable fields: `job_requisition`, `work_locations`
24
+ * - Sortable fields: `id`, `created_at`, `updated_at`
25
+ *
26
+ * @example HTTP
27
+ * Representative request and response shapes.
28
+ * ```
29
+ * GET /job-posts/?filter=filter&expand=expand&order_by=order_by&job_requisition_id=job_requisition_id&requisition_id=requisition_id&published=true&limit=50&cursor=cursor HTTP/1.1
30
+ * Host: rest.ripplingapis.com
31
+ * Accept: application/json
32
+ * Rippling-Api-Version: 2024-08-01
33
+ *
34
+ * HTTP/1.1 200 OK
35
+ * Content-Type: application/json
36
+ *
37
+ * {
38
+ * "__meta": {
39
+ * "redacted_fields": [
40
+ * {
41
+ * "name": "date_of_birth",
42
+ * "reason": "Insufficient entitlements"
43
+ * }
44
+ * ]
45
+ * },
46
+ * "results": [
47
+ * {
48
+ * "id": "string",
49
+ * "created_at": "string",
50
+ * "updated_at": "string",
51
+ * "job_requisition_id": "string",
52
+ * "job_requisition": {
53
+ * "id": "string",
54
+ * "created_at": "string",
55
+ * "updated_at": "string",
56
+ * "name": "string",
57
+ * "status": "OPEN",
58
+ * "requisition_id": "string"
59
+ * },
60
+ * "name": "string",
61
+ * "published": false,
62
+ * "locations": [
63
+ * {}
64
+ * ],
65
+ * "work_location_ids": [
66
+ * "string"
67
+ * ],
68
+ * "work_locations": [
69
+ * {}
70
+ * ],
71
+ * "public_url": "string",
72
+ * "language": "string"
73
+ * }
74
+ * ],
75
+ * "next_link": "string"
76
+ * }
77
+ * ```
78
+ */
79
+ list(query = {}, options) {
80
+ return this._client.getAPIList('/job-posts/', (pagination_1.PageCursorURL), { query, ...options });
81
+ }
82
+ /**
83
+ * Retrieve a job post belonging to a non-confidential active job requisition.
84
+ *
85
+ * @example HTTP
86
+ * Representative request and response shapes.
87
+ * ```
88
+ * GET /job-posts/{id}/?expand=expand HTTP/1.1
89
+ * Host: rest.ripplingapis.com
90
+ * Accept: application/json
91
+ * Rippling-Api-Version: 2024-08-01
92
+ *
93
+ * HTTP/1.1 200 OK
94
+ * Content-Type: application/json
95
+ *
96
+ * {
97
+ * "__meta": {
98
+ * "redacted_fields": [
99
+ * {}
100
+ * ]
101
+ * }
102
+ * }
103
+ * ```
104
+ */
105
+ retrieve(id, query = {}, options) {
106
+ return this._client.get((0, path_1.path) `/job-posts/${id}/`, { query, ...options });
107
+ }
108
+ }
109
+ exports.JobPosts = JobPosts;
110
+ //# sourceMappingURL=job-posts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"job-posts.js","sourceRoot":"","sources":["../src/resources/job-posts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAK/C,sDAAgE;AAEhE,oDAA8C;AAE9C;;GAEG;AACH,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkEG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,0BAAkC,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3G,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,QAAQ,CACN,EAAU,EACV,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,cAAc,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;CACF;AAzGD,4BAyGC"}
@@ -0,0 +1,106 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ import { PageCursorURL } from "../core/pagination.mjs";
4
+ import { path } from "../internal/utils/path.mjs";
5
+ /**
6
+ * Customer-facing postings associated with job requisitions
7
+ */
8
+ export class JobPosts extends APIResource {
9
+ /**
10
+ * List location-specific job posts belonging to non-confidential active job
11
+ * requisitions. Use filter=job_requisition_id eq '...' and filter=published eq
12
+ * true for standard OData filtering. Named job_requisition_id and published
13
+ * parameters remain supported as aliases. The requisition_id parameter is a
14
+ * cross-resource lookup of the parent requisition's customer-defined identifier
15
+ * and requires job-requisitions.read. Use the returned job post identifier when
16
+ * submitting an application for a specific posting.
17
+ *
18
+ * - Requires: `Internal Testing`
19
+ * - Filterable fields: `job_requisition_id`, `published`
20
+ * - Expandable fields: `job_requisition`, `work_locations`
21
+ * - Sortable fields: `id`, `created_at`, `updated_at`
22
+ *
23
+ * @example HTTP
24
+ * Representative request and response shapes.
25
+ * ```
26
+ * GET /job-posts/?filter=filter&expand=expand&order_by=order_by&job_requisition_id=job_requisition_id&requisition_id=requisition_id&published=true&limit=50&cursor=cursor HTTP/1.1
27
+ * Host: rest.ripplingapis.com
28
+ * Accept: application/json
29
+ * Rippling-Api-Version: 2024-08-01
30
+ *
31
+ * HTTP/1.1 200 OK
32
+ * Content-Type: application/json
33
+ *
34
+ * {
35
+ * "__meta": {
36
+ * "redacted_fields": [
37
+ * {
38
+ * "name": "date_of_birth",
39
+ * "reason": "Insufficient entitlements"
40
+ * }
41
+ * ]
42
+ * },
43
+ * "results": [
44
+ * {
45
+ * "id": "string",
46
+ * "created_at": "string",
47
+ * "updated_at": "string",
48
+ * "job_requisition_id": "string",
49
+ * "job_requisition": {
50
+ * "id": "string",
51
+ * "created_at": "string",
52
+ * "updated_at": "string",
53
+ * "name": "string",
54
+ * "status": "OPEN",
55
+ * "requisition_id": "string"
56
+ * },
57
+ * "name": "string",
58
+ * "published": false,
59
+ * "locations": [
60
+ * {}
61
+ * ],
62
+ * "work_location_ids": [
63
+ * "string"
64
+ * ],
65
+ * "work_locations": [
66
+ * {}
67
+ * ],
68
+ * "public_url": "string",
69
+ * "language": "string"
70
+ * }
71
+ * ],
72
+ * "next_link": "string"
73
+ * }
74
+ * ```
75
+ */
76
+ list(query = {}, options) {
77
+ return this._client.getAPIList('/job-posts/', (PageCursorURL), { query, ...options });
78
+ }
79
+ /**
80
+ * Retrieve a job post belonging to a non-confidential active job requisition.
81
+ *
82
+ * @example HTTP
83
+ * Representative request and response shapes.
84
+ * ```
85
+ * GET /job-posts/{id}/?expand=expand HTTP/1.1
86
+ * Host: rest.ripplingapis.com
87
+ * Accept: application/json
88
+ * Rippling-Api-Version: 2024-08-01
89
+ *
90
+ * HTTP/1.1 200 OK
91
+ * Content-Type: application/json
92
+ *
93
+ * {
94
+ * "__meta": {
95
+ * "redacted_fields": [
96
+ * {}
97
+ * ]
98
+ * }
99
+ * }
100
+ * ```
101
+ */
102
+ retrieve(id, query = {}, options) {
103
+ return this._client.get(path `/job-posts/${id}/`, { query, ...options });
104
+ }
105
+ }
106
+ //# sourceMappingURL=job-posts.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"job-posts.mjs","sourceRoot":"","sources":["../src/resources/job-posts.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAK/C,OAAO,EAAE,aAAa,EAAe,+BAA2B;AAEhE,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkEG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,aAAkC,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3G,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,QAAQ,CACN,EAAU,EACV,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,cAAc,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;CACF"}
@@ -1,4 +1,6 @@
1
1
  import { APIResource } from "../core/resource.mjs";
2
+ import * as BusinessPartnersAPI from "./business-partners.mjs";
3
+ import { APIPromise } from "../core/api-promise.mjs";
2
4
  import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
3
5
  import { RequestOptions } from "../internal/request-options.mjs";
4
6
  /**
@@ -6,15 +8,18 @@ import { RequestOptions } from "../internal/request-options.mjs";
6
8
  */
7
9
  export declare class JobRequisitions extends APIResource {
8
10
  /**
9
- * A list of job requisitions.
11
+ * List non-confidential active job requisitions available to the integration. Use
12
+ * a requisition identifier to retrieve its details, pipeline, or location-specific
13
+ * job posts.
10
14
  *
11
15
  * - Requires: `API Tier 1`
16
+ * - Filterable fields: `requisition_id`, `created_at`
12
17
  * - Sortable fields: `id`, `created_at`, `updated_at`
13
18
  *
14
19
  * @example HTTP
15
20
  * Representative request and response shapes.
16
21
  * ```
17
- * GET /job-requisitions/?order_by=order_by&limit=50&cursor=cursor HTTP/1.1
22
+ * GET /job-requisitions/?filter=filter&order_by=order_by&limit=50&cursor=cursor HTTP/1.1
18
23
  * Host: rest.ripplingapis.com
19
24
  * Accept: application/json
20
25
  * Rippling-Api-Version: 2024-08-01
@@ -37,7 +42,8 @@ export declare class JobRequisitions extends APIResource {
37
42
  * "created_at": "string",
38
43
  * "updated_at": "string",
39
44
  * "name": "string",
40
- * "status": "OPEN"
45
+ * "status": "OPEN",
46
+ * "requisition_id": "string"
41
47
  * }
42
48
  * ],
43
49
  * "next_link": "string"
@@ -45,6 +51,58 @@ export declare class JobRequisitions extends APIResource {
45
51
  * ```
46
52
  */
47
53
  list(query?: JobRequisitionListParams | null | undefined, options?: RequestOptions): PagePromise<JobRequisitionsPageCursorURL, JobRequisition>;
54
+ /**
55
+ * Retrieve a non-confidential job requisition by identifier. Unlike the list
56
+ * operation, retrieve can return a closed requisition.
57
+ *
58
+ * @example HTTP
59
+ * Representative request and response shapes.
60
+ * ```
61
+ * GET /job-requisitions/{id}/ HTTP/1.1
62
+ * Host: rest.ripplingapis.com
63
+ * Accept: application/json
64
+ * Rippling-Api-Version: 2024-08-01
65
+ *
66
+ * HTTP/1.1 200 OK
67
+ * Content-Type: application/json
68
+ *
69
+ * {
70
+ * "__meta": {
71
+ * "redacted_fields": [
72
+ * {}
73
+ * ]
74
+ * }
75
+ * }
76
+ * ```
77
+ */
78
+ retrieve(id: string, options?: RequestOptions): APIPromise<JobRequisitionRetrieveResponse>;
79
+ /**
80
+ * Returns the configured application stages in pipeline order. Requisitions
81
+ * without a configured pipeline return an empty stages list.
82
+ *
83
+ * @example HTTP
84
+ * Representative request and response shapes.
85
+ * ```
86
+ * GET /job-requisitions/{id}/pipeline/ HTTP/1.1
87
+ * Host: rest.ripplingapis.com
88
+ * Accept: application/json
89
+ * Rippling-Api-Version: 2024-08-01
90
+ *
91
+ * HTTP/1.1 200 OK
92
+ * Content-Type: application/json
93
+ *
94
+ * {
95
+ * "job_requisition_id": "string",
96
+ * "stages": [
97
+ * {
98
+ * "id": "string",
99
+ * "name": "string"
100
+ * }
101
+ * ]
102
+ * }
103
+ * ```
104
+ */
105
+ pipeline(id: string, options?: RequestOptions): APIPromise<JobRequisitionPipelineResponse>;
48
106
  }
49
107
  export type JobRequisitionsPageCursorURL = PageCursorURL<JobRequisition>;
50
108
  export interface JobRequisition {
@@ -68,9 +126,43 @@ export interface JobRequisition {
68
126
  * Record update date
69
127
  */
70
128
  updated_at: string;
129
+ /**
130
+ * Customer-defined job requisition identifier; null when the company has not set
131
+ * one
132
+ */
133
+ requisition_id?: string;
134
+ }
135
+ /**
136
+ * Meta information for the response.
137
+ */
138
+ export interface JobRequisitionRetrieveResponse extends BusinessPartnersAPI.Meta, JobRequisition {
139
+ }
140
+ export interface JobRequisitionPipelineResponse {
141
+ /**
142
+ * Job requisition identifier
143
+ */
144
+ job_requisition_id: string;
145
+ /**
146
+ * Ordered application stages for the job requisition
147
+ */
148
+ stages: Array<JobRequisitionPipelineResponse.Stage>;
149
+ }
150
+ export declare namespace JobRequisitionPipelineResponse {
151
+ interface Stage {
152
+ /**
153
+ * Application stage identifier from the requisition's configured pipeline plan;
154
+ * stable for other requisitions that use the same stage definition.
155
+ */
156
+ id: string;
157
+ /**
158
+ * Application stage name
159
+ */
160
+ name: string;
161
+ }
71
162
  }
72
163
  export interface JobRequisitionListParams {
73
164
  cursor?: string;
165
+ filter?: string;
74
166
  /**
75
167
  * The maximum number of results to return. Defaults to 50. Maximum is 100.
76
168
  */
@@ -78,6 +170,6 @@ export interface JobRequisitionListParams {
78
170
  order_by?: string;
79
171
  }
80
172
  export declare namespace JobRequisitions {
81
- export { type JobRequisition as JobRequisition, type JobRequisitionsPageCursorURL as JobRequisitionsPageCursorURL, type JobRequisitionListParams as JobRequisitionListParams, };
173
+ export { type JobRequisition as JobRequisition, type JobRequisitionRetrieveResponse as JobRequisitionRetrieveResponse, type JobRequisitionPipelineResponse as JobRequisitionPipelineResponse, type JobRequisitionsPageCursorURL as JobRequisitionsPageCursorURL, type JobRequisitionListParams as JobRequisitionListParams, };
82
174
  }
83
175
  //# sourceMappingURL=job-requisitions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"job-requisitions.d.mts","sourceRoot":"","sources":["../src/resources/job-requisitions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,+BAA2B;AAChE,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACH,IAAI,CACF,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,4BAA4B,EAAE,cAAc,CAAC;CAM7D;AAED,MAAM,MAAM,4BAA4B,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC;AAEzE,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,C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AK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
@@ -1,4 +1,6 @@
1
1
  import { APIResource } from "../core/resource.js";
2
+ import * as BusinessPartnersAPI from "./business-partners.js";
3
+ import { APIPromise } from "../core/api-promise.js";
2
4
  import { PageCursorURL, PagePromise } from "../core/pagination.js";
3
5
  import { RequestOptions } from "../internal/request-options.js";
4
6
  /**
@@ -6,15 +8,18 @@ import { RequestOptions } from "../internal/request-options.js";
6
8
  */
7
9
  export declare class JobRequisitions extends APIResource {
8
10
  /**
9
- * A list of job requisitions.
11
+ * List non-confidential active job requisitions available to the integration. Use
12
+ * a requisition identifier to retrieve its details, pipeline, or location-specific
13
+ * job posts.
10
14
  *
11
15
  * - Requires: `API Tier 1`
16
+ * - Filterable fields: `requisition_id`, `created_at`
12
17
  * - Sortable fields: `id`, `created_at`, `updated_at`
13
18
  *
14
19
  * @example HTTP
15
20
  * Representative request and response shapes.
16
21
  * ```
17
- * GET /job-requisitions/?order_by=order_by&limit=50&cursor=cursor HTTP/1.1
22
+ * GET /job-requisitions/?filter=filter&order_by=order_by&limit=50&cursor=cursor HTTP/1.1
18
23
  * Host: rest.ripplingapis.com
19
24
  * Accept: application/json
20
25
  * Rippling-Api-Version: 2024-08-01
@@ -37,7 +42,8 @@ export declare class JobRequisitions extends APIResource {
37
42
  * "created_at": "string",
38
43
  * "updated_at": "string",
39
44
  * "name": "string",
40
- * "status": "OPEN"
45
+ * "status": "OPEN",
46
+ * "requisition_id": "string"
41
47
  * }
42
48
  * ],
43
49
  * "next_link": "string"
@@ -45,6 +51,58 @@ export declare class JobRequisitions extends APIResource {
45
51
  * ```
46
52
  */
47
53
  list(query?: JobRequisitionListParams | null | undefined, options?: RequestOptions): PagePromise<JobRequisitionsPageCursorURL, JobRequisition>;
54
+ /**
55
+ * Retrieve a non-confidential job requisition by identifier. Unlike the list
56
+ * operation, retrieve can return a closed requisition.
57
+ *
58
+ * @example HTTP
59
+ * Representative request and response shapes.
60
+ * ```
61
+ * GET /job-requisitions/{id}/ HTTP/1.1
62
+ * Host: rest.ripplingapis.com
63
+ * Accept: application/json
64
+ * Rippling-Api-Version: 2024-08-01
65
+ *
66
+ * HTTP/1.1 200 OK
67
+ * Content-Type: application/json
68
+ *
69
+ * {
70
+ * "__meta": {
71
+ * "redacted_fields": [
72
+ * {}
73
+ * ]
74
+ * }
75
+ * }
76
+ * ```
77
+ */
78
+ retrieve(id: string, options?: RequestOptions): APIPromise<JobRequisitionRetrieveResponse>;
79
+ /**
80
+ * Returns the configured application stages in pipeline order. Requisitions
81
+ * without a configured pipeline return an empty stages list.
82
+ *
83
+ * @example HTTP
84
+ * Representative request and response shapes.
85
+ * ```
86
+ * GET /job-requisitions/{id}/pipeline/ HTTP/1.1
87
+ * Host: rest.ripplingapis.com
88
+ * Accept: application/json
89
+ * Rippling-Api-Version: 2024-08-01
90
+ *
91
+ * HTTP/1.1 200 OK
92
+ * Content-Type: application/json
93
+ *
94
+ * {
95
+ * "job_requisition_id": "string",
96
+ * "stages": [
97
+ * {
98
+ * "id": "string",
99
+ * "name": "string"
100
+ * }
101
+ * ]
102
+ * }
103
+ * ```
104
+ */
105
+ pipeline(id: string, options?: RequestOptions): APIPromise<JobRequisitionPipelineResponse>;
48
106
  }
49
107
  export type JobRequisitionsPageCursorURL = PageCursorURL<JobRequisition>;
50
108
  export interface JobRequisition {
@@ -68,9 +126,43 @@ export interface JobRequisition {
68
126
  * Record update date
69
127
  */
70
128
  updated_at: string;
129
+ /**
130
+ * Customer-defined job requisition identifier; null when the company has not set
131
+ * one
132
+ */
133
+ requisition_id?: string;
134
+ }
135
+ /**
136
+ * Meta information for the response.
137
+ */
138
+ export interface JobRequisitionRetrieveResponse extends BusinessPartnersAPI.Meta, JobRequisition {
139
+ }
140
+ export interface JobRequisitionPipelineResponse {
141
+ /**
142
+ * Job requisition identifier
143
+ */
144
+ job_requisition_id: string;
145
+ /**
146
+ * Ordered application stages for the job requisition
147
+ */
148
+ stages: Array<JobRequisitionPipelineResponse.Stage>;
149
+ }
150
+ export declare namespace JobRequisitionPipelineResponse {
151
+ interface Stage {
152
+ /**
153
+ * Application stage identifier from the requisition's configured pipeline plan;
154
+ * stable for other requisitions that use the same stage definition.
155
+ */
156
+ id: string;
157
+ /**
158
+ * Application stage name
159
+ */
160
+ name: string;
161
+ }
71
162
  }
72
163
  export interface JobRequisitionListParams {
73
164
  cursor?: string;
165
+ filter?: string;
74
166
  /**
75
167
  * The maximum number of results to return. Defaults to 50. Maximum is 100.
76
168
  */
@@ -78,6 +170,6 @@ export interface JobRequisitionListParams {
78
170
  order_by?: string;
79
171
  }
80
172
  export declare namespace JobRequisitions {
81
- export { type JobRequisition as JobRequisition, type JobRequisitionsPageCursorURL as JobRequisitionsPageCursorURL, type JobRequisitionListParams as JobRequisitionListParams, };
173
+ export { type JobRequisition as JobRequisition, type JobRequisitionRetrieveResponse as JobRequisitionRetrieveResponse, type JobRequisitionPipelineResponse as JobRequisitionPipelineResponse, type JobRequisitionsPageCursorURL as JobRequisitionsPageCursorURL, type JobRequisitionListParams as JobRequisitionListParams, };
82
174
  }
83
175
  //# sourceMappingURL=job-requisitions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"job-requisitions.d.ts","sourceRoot":"","sources":["../src/resources/job-requisitions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,8BAA2B;AAChE,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACH,IAAI,CACF,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,4BAA4B,EAAE,cAAc,CAAC;CAM7D;AAED,MAAM,MAAM,4BAA4B,GAAG,aAAa,CAAC,cA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AAe,CAAC;IACvC,OAAO,EACL,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
@@ -4,20 +4,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.JobRequisitions = void 0;
5
5
  const resource_1 = require("../core/resource.js");
6
6
  const pagination_1 = require("../core/pagination.js");
7
+ const path_1 = require("../internal/utils/path.js");
7
8
  /**
8
9
  * A request for a job to be filled by a candidate
9
10
  */
10
11
  class JobRequisitions extends resource_1.APIResource {
11
12
  /**
12
- * A list of job requisitions.
13
+ * List non-confidential active job requisitions available to the integration. Use
14
+ * a requisition identifier to retrieve its details, pipeline, or location-specific
15
+ * job posts.
13
16
  *
14
17
  * - Requires: `API Tier 1`
18
+ * - Filterable fields: `requisition_id`, `created_at`
15
19
  * - Sortable fields: `id`, `created_at`, `updated_at`
16
20
  *
17
21
  * @example HTTP
18
22
  * Representative request and response shapes.
19
23
  * ```
20
- * GET /job-requisitions/?order_by=order_by&limit=50&cursor=cursor HTTP/1.1
24
+ * GET /job-requisitions/?filter=filter&order_by=order_by&limit=50&cursor=cursor HTTP/1.1
21
25
  * Host: rest.ripplingapis.com
22
26
  * Accept: application/json
23
27
  * Rippling-Api-Version: 2024-08-01
@@ -40,7 +44,8 @@ class JobRequisitions extends resource_1.APIResource {
40
44
  * "created_at": "string",
41
45
  * "updated_at": "string",
42
46
  * "name": "string",
43
- * "status": "OPEN"
47
+ * "status": "OPEN",
48
+ * "requisition_id": "string"
44
49
  * }
45
50
  * ],
46
51
  * "next_link": "string"
@@ -53,6 +58,62 @@ class JobRequisitions extends resource_1.APIResource {
53
58
  ...options,
54
59
  });
55
60
  }
61
+ /**
62
+ * Retrieve a non-confidential job requisition by identifier. Unlike the list
63
+ * operation, retrieve can return a closed requisition.
64
+ *
65
+ * @example HTTP
66
+ * Representative request and response shapes.
67
+ * ```
68
+ * GET /job-requisitions/{id}/ HTTP/1.1
69
+ * Host: rest.ripplingapis.com
70
+ * Accept: application/json
71
+ * Rippling-Api-Version: 2024-08-01
72
+ *
73
+ * HTTP/1.1 200 OK
74
+ * Content-Type: application/json
75
+ *
76
+ * {
77
+ * "__meta": {
78
+ * "redacted_fields": [
79
+ * {}
80
+ * ]
81
+ * }
82
+ * }
83
+ * ```
84
+ */
85
+ retrieve(id, options) {
86
+ return this._client.get((0, path_1.path) `/job-requisitions/${id}/`, options);
87
+ }
88
+ /**
89
+ * Returns the configured application stages in pipeline order. Requisitions
90
+ * without a configured pipeline return an empty stages list.
91
+ *
92
+ * @example HTTP
93
+ * Representative request and response shapes.
94
+ * ```
95
+ * GET /job-requisitions/{id}/pipeline/ HTTP/1.1
96
+ * Host: rest.ripplingapis.com
97
+ * Accept: application/json
98
+ * Rippling-Api-Version: 2024-08-01
99
+ *
100
+ * HTTP/1.1 200 OK
101
+ * Content-Type: application/json
102
+ *
103
+ * {
104
+ * "job_requisition_id": "string",
105
+ * "stages": [
106
+ * {
107
+ * "id": "string",
108
+ * "name": "string"
109
+ * }
110
+ * ]
111
+ * }
112
+ * ```
113
+ */
114
+ pipeline(id, options) {
115
+ return this._client.get((0, path_1.path) `/job-requisitions/${id}/pipeline/`, options);
116
+ }
56
117
  }
57
118
  exports.JobRequisitions = JobRequisitions;
58
119
  //# sourceMappingURL=job-requisitions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"job-requisitions.js","sourceRoot":"","sources":["../src/resources/job-requisitions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAC/C,sDAAgE;AAGhE;;GAEG;AACH,MAAa,eAAgB,SAAQ,sBAAW;IAC9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACH,IAAI,CACF,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI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