@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
@@ -1,5 +1,6 @@
1
1
  import { APIResource } from "../core/resource.mjs";
2
2
  import * as JobRequisitionsAPI from "./job-requisitions.mjs";
3
+ import * as WorkLocationsAPI from "./work-locations.mjs";
3
4
  import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
4
5
  import { RequestOptions } from "../internal/request-options.mjs";
5
6
  /**
@@ -7,16 +8,20 @@ import { RequestOptions } from "../internal/request-options.mjs";
7
8
  */
8
9
  export declare class CandidateApplications extends APIResource {
9
10
  /**
10
- * A list of candidate applications.
11
+ * List applications for at least one candidate, job requisition, or job post. Use
12
+ * the standard OData filter parameter, for example filter=job_id eq '...'. The
13
+ * named candidate_id, job_id, and job_post_id parameters remain supported as
14
+ * aliases. job_post_id requires Internal_Testing access with either syntax.
11
15
  *
12
16
  * - Requires: `API Tier 1`
13
- * - Expandable fields: `job`
17
+ * - Filterable fields: `candidate_id`, `job_id`, `job_post_id`
18
+ * - Expandable fields: `candidate`, `job_post`, `job`
14
19
  * - Sortable fields: `id`, `created_at`, `updated_at`
15
20
  *
16
21
  * @example HTTP
17
22
  * Representative request and response shapes.
18
23
  * ```
19
- * GET /candidate-applications/?expand=expand&order_by=order_by&candidate_id=candidate_id&limit=50&cursor=cursor HTTP/1.1
24
+ * GET /candidate-applications/?filter=filter&expand=expand&order_by=order_by&candidate_id=candidate_id&job_id=job_id&job_post_id=job_post_id&limit=50&cursor=cursor HTTP/1.1
20
25
  * Host: rest.ripplingapis.com
21
26
  * Accept: application/json
22
27
  * Rippling-Api-Version: 2024-08-01
@@ -40,14 +45,42 @@ export declare class CandidateApplications extends APIResource {
40
45
  * "updated_at": "string",
41
46
  * "status": "ACTIVE",
42
47
  * "stage": "string",
48
+ * "stage_id": "string",
43
49
  * "applied_at": "string",
50
+ * "candidate_id": "string",
51
+ * "candidate": {
52
+ * "id": "string",
53
+ * "created_at": "string",
54
+ * "updated_at": "string",
55
+ * "first_name": "string",
56
+ * "last_name": "string",
57
+ * "email": "string",
58
+ * "phone_number": "string",
59
+ * "timezone": "string"
60
+ * },
44
61
  * "job_id": "string",
62
+ * "job_post_id": "string",
63
+ * "job_post": {
64
+ * "id": "string",
65
+ * "created_at": "string",
66
+ * "updated_at": "string",
67
+ * "job_requisition_id": "string",
68
+ * "job_requisition": {},
69
+ * "name": "string",
70
+ * "published": "string",
71
+ * "locations": [],
72
+ * "work_location_ids": [],
73
+ * "work_locations": [],
74
+ * "public_url": "string",
75
+ * "language": "string"
76
+ * },
45
77
  * "job": {
46
78
  * "id": "string",
47
79
  * "created_at": "string",
48
80
  * "updated_at": "string",
49
81
  * "name": "string",
50
- * "status": "OPEN"
82
+ * "status": "OPEN",
83
+ * "requisition_id": "string"
51
84
  * },
52
85
  * "url": "string"
53
86
  * }
@@ -56,7 +89,7 @@ export declare class CandidateApplications extends APIResource {
56
89
  * }
57
90
  * ```
58
91
  */
59
- list(query: CandidateApplicationListParams, options?: RequestOptions): PagePromise<CandidateApplicationListResponsesPageCursorURL, CandidateApplicationListResponse>;
92
+ list(query?: CandidateApplicationListParams | null | undefined, options?: RequestOptions): PagePromise<CandidateApplicationListResponsesPageCursorURL, CandidateApplicationListResponse>;
60
93
  }
61
94
  export type CandidateApplicationListResponsesPageCursorURL = PageCursorURL<CandidateApplicationListResponse>;
62
95
  export interface CandidateApplicationListResponse {
@@ -77,19 +110,61 @@ export interface CandidateApplicationListResponse {
77
110
  */
78
111
  applied_at?: string;
79
112
  /**
80
- * Job requisition
113
+ * Candidate; request expand=candidate to include the canonical candidate resource
114
+ *
115
+ * Expandable field
116
+ */
117
+ candidate?: CandidateApplicationListResponse.Candidate;
118
+ /**
119
+ * Identifier of the candidate resource associated with this application. Populated
120
+ * regardless of whether candidate is expanded; request expand=candidate to include
121
+ * the candidate resource. Null when redacted because the caller lacks permission
122
+ * to access the referenced candidate ID; see \_\_meta.redacted_fields for the
123
+ * redaction reason.
124
+ */
125
+ candidate_id?: string;
126
+ /**
127
+ * Job requisition. This legacy field refers to the same Job Requisition resource
128
+ * named job_requisition on newer resources such as Job Post. For backwards
129
+ * compatibility, expand=job does not require job-requisitions.read, unlike Job
130
+ * Post's expand=job_requisition. The requisition_id field still requires
131
+ * job-requisitions.read. Null when not expanded.
81
132
  *
82
133
  * Expandable field
83
134
  */
84
135
  job?: JobRequisitionsAPI.JobRequisition;
85
136
  /**
86
- * Job requisition ID
137
+ * Job requisition ID. This legacy field refers to the same Job Requisition
138
+ * resource named job_requisition_id on newer resources such as Job Post.
87
139
  */
88
140
  job_id?: string;
141
+ /**
142
+ * Job post; request expand=job_post to include the canonical job post resource.
143
+ * Null when not expanded or no specific job post is associated with the
144
+ * application.
145
+ *
146
+ * Expandable field
147
+ */
148
+ job_post?: CandidateApplicationListResponse.JobPost;
149
+ /**
150
+ * Identifier of the job post resource; null when no specific job post is
151
+ * associated with the application
152
+ *
153
+ * Requires: Internal_Testing
154
+ */
155
+ job_post_id?: string;
89
156
  /**
90
157
  * Application stage
91
158
  */
92
159
  stage?: string;
160
+ /**
161
+ * Identifier of the application's current pipeline stage. Matches an id returned
162
+ * by the parent job requisition's pipeline endpoint. Null when the current
163
+ * application stage has no configured pipeline-stage mapping.
164
+ *
165
+ * Requires: Internal_Testing
166
+ */
167
+ stage_id?: string;
93
168
  /**
94
169
  * Application status
95
170
  */
@@ -99,13 +174,176 @@ export interface CandidateApplicationListResponse {
99
174
  */
100
175
  url?: string;
101
176
  }
177
+ export declare namespace CandidateApplicationListResponse {
178
+ /**
179
+ * Candidate; request expand=candidate to include the canonical candidate resource
180
+ *
181
+ * Expandable field
182
+ */
183
+ interface Candidate {
184
+ /**
185
+ * Identifier field
186
+ */
187
+ id: string;
188
+ /**
189
+ * Record creation date
190
+ */
191
+ created_at: string;
192
+ /**
193
+ * Record update date
194
+ */
195
+ updated_at: string;
196
+ /**
197
+ * Candidate email
198
+ */
199
+ email?: string;
200
+ /**
201
+ * Candidate first name
202
+ */
203
+ first_name?: string;
204
+ /**
205
+ * Candidate last name
206
+ */
207
+ last_name?: string;
208
+ /**
209
+ * Candidate phone number
210
+ */
211
+ phone_number?: string;
212
+ /**
213
+ * Candidate timezone
214
+ */
215
+ timezone?: string;
216
+ }
217
+ /**
218
+ * Job post; request expand=job_post to include the canonical job post resource.
219
+ * Null when not expanded or no specific job post is associated with the
220
+ * application.
221
+ *
222
+ * Expandable field
223
+ */
224
+ interface JobPost {
225
+ /**
226
+ * Identifier field
227
+ */
228
+ id: string;
229
+ /**
230
+ * Record creation date
231
+ */
232
+ created_at: string;
233
+ /**
234
+ * Configured and manually entered locations associated with the job post.
235
+ * Configured entries expose only work_location_id; manual entries expose
236
+ * manual_location_id and inline location details.
237
+ */
238
+ locations: Array<JobPost.Location>;
239
+ /**
240
+ * Job post name
241
+ */
242
+ name: string;
243
+ /**
244
+ * Whether the job post is published
245
+ */
246
+ published: boolean;
247
+ /**
248
+ * Record update date
249
+ */
250
+ updated_at: string;
251
+ /**
252
+ * Parent job requisition; null when not expanded or unavailable. Request
253
+ * expand=job_requisition to include it
254
+ *
255
+ * Expandable field
256
+ */
257
+ job_requisition?: JobRequisitionsAPI.JobRequisition;
258
+ /**
259
+ * Identifier of the parent Job Requisition resource. Applications use the legacy
260
+ * field name job_id for the same resource. Null when the parent Job Requisition
261
+ * reference is unavailable.
262
+ */
263
+ job_requisition_id?: string;
264
+ /**
265
+ * BCP 47 job post language tag; defaults to en-US when not otherwise set
266
+ */
267
+ language?: string;
268
+ /**
269
+ * Public job post URL; null when the post is not published
270
+ */
271
+ public_url?: string;
272
+ /**
273
+ * Canonical Work Location identifiers for the configured subset of locations[].
274
+ * Unlike locations[], this list excludes manually entered locations and supports
275
+ * expand=work_locations. Returns an empty list when there are no configured
276
+ * locations.
277
+ */
278
+ work_location_ids?: Array<string>;
279
+ /**
280
+ * Configured Work Location resources; request expand=work_locations to include
281
+ * them
282
+ *
283
+ * Expandable field
284
+ */
285
+ work_locations?: Array<WorkLocationsAPI.WorkLocation>;
286
+ }
287
+ namespace JobPost {
288
+ interface Location {
289
+ /**
290
+ * City for a manually entered location; null for a configured Work Location
291
+ * resource
292
+ */
293
+ city?: string;
294
+ /**
295
+ * ISO 3166-1 alpha-2 country code for a manually entered location; null for a
296
+ * configured Work Location resource
297
+ */
298
+ country_code?: string;
299
+ /**
300
+ * Opaque job-post-local identifier for a manually entered location; null for a
301
+ * configured Work Location.
302
+ */
303
+ manual_location_id?: string;
304
+ /**
305
+ * Display name for a manually entered location; null for a configured Work
306
+ * Location resource
307
+ */
308
+ name?: string;
309
+ /**
310
+ * State or region for a manually entered location; null for a configured Work
311
+ * Location resource
312
+ */
313
+ state?: string;
314
+ /**
315
+ * Canonical Work Location resource identifier for a configured location; null for
316
+ * a manually entered location. Request expand=work_locations on the parent job
317
+ * post to retrieve the corresponding Work Location resources.
318
+ */
319
+ work_location_id?: string;
320
+ /**
321
+ * Workplace type for a manually entered location: ON_SITE, REMOTE, or HYBRID.
322
+ * Configured Work Location resources return null.
323
+ */
324
+ workplace_type?: 'ON_SITE' | 'REMOTE' | 'HYBRID';
325
+ }
326
+ }
327
+ }
102
328
  export interface CandidateApplicationListParams {
103
329
  /**
104
- * The unique identifier of the candidate whose applications to list.
330
+ * The candidate whose applications to list. May be combined with another resource
331
+ * filter.
105
332
  */
106
- candidate_id: string;
333
+ candidate_id?: string;
107
334
  cursor?: string;
108
335
  expand?: string;
336
+ filter?: string;
337
+ /**
338
+ * The job requisition whose applications to list. May be combined with another
339
+ * resource filter.
340
+ */
341
+ job_id?: string;
342
+ /**
343
+ * The job post whose applications to list. May be combined with another resource
344
+ * filter.
345
+ */
346
+ job_post_id?: string;
109
347
  /**
110
348
  * The maximum number of results to return. Defaults to 50. Maximum is 100.
111
349
  */
@@ -1 +1 @@
1
- {"version":3,"file":"candidate-applications.d.mts","sourceRoot":"","sources":["../src/resources/candidate-applications.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,+BAA2B;AAChE,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,WAAW;IACpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiDG;IACH,IAAI,CACF,KAAK,EAAE,8BAA8B,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,8CAA8C,EAAE,gCAAgC,CAAC;CAOjG;AAED,MAAM,MAAM,8CAA8C,GAAG,aAAa,CAAC,gCAAgC,CAAC,CAAC;AAE7G,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,GAAG,CAAC,EAAE,kBAAkB,CAAC,cAAc,CAAC;IAExC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,CAAC;IAEtD;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,qBAAqB,CAAC;IAC7C,OAAO,EACL,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,8CAA8C,IAAI,8CAA8C,EACrG,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
1
+ {"version":3,"file":"candidate-applications.d.mts","sourceRoot":"","sources":["../src/resources/candidate-applications.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,KAAK,gBAAgB,6BAAyB;AACrD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,+BAA2B;AAChE,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,WAAW;IACpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiFG;IACH,IAAI,CACF,KAAK,GAAE,8BAA8B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,8CAA8C,EAAE,gCAAgC,CAAC;CAOjG;AAED,MAAM,MAAM,8CAA8C,GAAG,aAAa,CAAC,gCAAgC,CAAC,CAAC;AAE7G,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,gCAAgC,CAAC,SAAS,CAAC;IAEvD;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;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C,OAAO,WAAW,qBAAqB,CAAC;IAC7C,OAAO,EACL,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,8CAA8C,IAAI,8CAA8C,EACrG,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
@@ -1,5 +1,6 @@
1
1
  import { APIResource } from "../core/resource.js";
2
2
  import * as JobRequisitionsAPI from "./job-requisitions.js";
3
+ import * as WorkLocationsAPI from "./work-locations.js";
3
4
  import { PageCursorURL, PagePromise } from "../core/pagination.js";
4
5
  import { RequestOptions } from "../internal/request-options.js";
5
6
  /**
@@ -7,16 +8,20 @@ import { RequestOptions } from "../internal/request-options.js";
7
8
  */
8
9
  export declare class CandidateApplications extends APIResource {
9
10
  /**
10
- * A list of candidate applications.
11
+ * List applications for at least one candidate, job requisition, or job post. Use
12
+ * the standard OData filter parameter, for example filter=job_id eq '...'. The
13
+ * named candidate_id, job_id, and job_post_id parameters remain supported as
14
+ * aliases. job_post_id requires Internal_Testing access with either syntax.
11
15
  *
12
16
  * - Requires: `API Tier 1`
13
- * - Expandable fields: `job`
17
+ * - Filterable fields: `candidate_id`, `job_id`, `job_post_id`
18
+ * - Expandable fields: `candidate`, `job_post`, `job`
14
19
  * - Sortable fields: `id`, `created_at`, `updated_at`
15
20
  *
16
21
  * @example HTTP
17
22
  * Representative request and response shapes.
18
23
  * ```
19
- * GET /candidate-applications/?expand=expand&order_by=order_by&candidate_id=candidate_id&limit=50&cursor=cursor HTTP/1.1
24
+ * GET /candidate-applications/?filter=filter&expand=expand&order_by=order_by&candidate_id=candidate_id&job_id=job_id&job_post_id=job_post_id&limit=50&cursor=cursor HTTP/1.1
20
25
  * Host: rest.ripplingapis.com
21
26
  * Accept: application/json
22
27
  * Rippling-Api-Version: 2024-08-01
@@ -40,14 +45,42 @@ export declare class CandidateApplications extends APIResource {
40
45
  * "updated_at": "string",
41
46
  * "status": "ACTIVE",
42
47
  * "stage": "string",
48
+ * "stage_id": "string",
43
49
  * "applied_at": "string",
50
+ * "candidate_id": "string",
51
+ * "candidate": {
52
+ * "id": "string",
53
+ * "created_at": "string",
54
+ * "updated_at": "string",
55
+ * "first_name": "string",
56
+ * "last_name": "string",
57
+ * "email": "string",
58
+ * "phone_number": "string",
59
+ * "timezone": "string"
60
+ * },
44
61
  * "job_id": "string",
62
+ * "job_post_id": "string",
63
+ * "job_post": {
64
+ * "id": "string",
65
+ * "created_at": "string",
66
+ * "updated_at": "string",
67
+ * "job_requisition_id": "string",
68
+ * "job_requisition": {},
69
+ * "name": "string",
70
+ * "published": "string",
71
+ * "locations": [],
72
+ * "work_location_ids": [],
73
+ * "work_locations": [],
74
+ * "public_url": "string",
75
+ * "language": "string"
76
+ * },
45
77
  * "job": {
46
78
  * "id": "string",
47
79
  * "created_at": "string",
48
80
  * "updated_at": "string",
49
81
  * "name": "string",
50
- * "status": "OPEN"
82
+ * "status": "OPEN",
83
+ * "requisition_id": "string"
51
84
  * },
52
85
  * "url": "string"
53
86
  * }
@@ -56,7 +89,7 @@ export declare class CandidateApplications extends APIResource {
56
89
  * }
57
90
  * ```
58
91
  */
59
- list(query: CandidateApplicationListParams, options?: RequestOptions): PagePromise<CandidateApplicationListResponsesPageCursorURL, CandidateApplicationListResponse>;
92
+ list(query?: CandidateApplicationListParams | null | undefined, options?: RequestOptions): PagePromise<CandidateApplicationListResponsesPageCursorURL, CandidateApplicationListResponse>;
60
93
  }
61
94
  export type CandidateApplicationListResponsesPageCursorURL = PageCursorURL<CandidateApplicationListResponse>;
62
95
  export interface CandidateApplicationListResponse {
@@ -77,19 +110,61 @@ export interface CandidateApplicationListResponse {
77
110
  */
78
111
  applied_at?: string;
79
112
  /**
80
- * Job requisition
113
+ * Candidate; request expand=candidate to include the canonical candidate resource
114
+ *
115
+ * Expandable field
116
+ */
117
+ candidate?: CandidateApplicationListResponse.Candidate;
118
+ /**
119
+ * Identifier of the candidate resource associated with this application. Populated
120
+ * regardless of whether candidate is expanded; request expand=candidate to include
121
+ * the candidate resource. Null when redacted because the caller lacks permission
122
+ * to access the referenced candidate ID; see \_\_meta.redacted_fields for the
123
+ * redaction reason.
124
+ */
125
+ candidate_id?: string;
126
+ /**
127
+ * Job requisition. This legacy field refers to the same Job Requisition resource
128
+ * named job_requisition on newer resources such as Job Post. For backwards
129
+ * compatibility, expand=job does not require job-requisitions.read, unlike Job
130
+ * Post's expand=job_requisition. The requisition_id field still requires
131
+ * job-requisitions.read. Null when not expanded.
81
132
  *
82
133
  * Expandable field
83
134
  */
84
135
  job?: JobRequisitionsAPI.JobRequisition;
85
136
  /**
86
- * Job requisition ID
137
+ * Job requisition ID. This legacy field refers to the same Job Requisition
138
+ * resource named job_requisition_id on newer resources such as Job Post.
87
139
  */
88
140
  job_id?: string;
141
+ /**
142
+ * Job post; request expand=job_post to include the canonical job post resource.
143
+ * Null when not expanded or no specific job post is associated with the
144
+ * application.
145
+ *
146
+ * Expandable field
147
+ */
148
+ job_post?: CandidateApplicationListResponse.JobPost;
149
+ /**
150
+ * Identifier of the job post resource; null when no specific job post is
151
+ * associated with the application
152
+ *
153
+ * Requires: Internal_Testing
154
+ */
155
+ job_post_id?: string;
89
156
  /**
90
157
  * Application stage
91
158
  */
92
159
  stage?: string;
160
+ /**
161
+ * Identifier of the application's current pipeline stage. Matches an id returned
162
+ * by the parent job requisition's pipeline endpoint. Null when the current
163
+ * application stage has no configured pipeline-stage mapping.
164
+ *
165
+ * Requires: Internal_Testing
166
+ */
167
+ stage_id?: string;
93
168
  /**
94
169
  * Application status
95
170
  */
@@ -99,13 +174,176 @@ export interface CandidateApplicationListResponse {
99
174
  */
100
175
  url?: string;
101
176
  }
177
+ export declare namespace CandidateApplicationListResponse {
178
+ /**
179
+ * Candidate; request expand=candidate to include the canonical candidate resource
180
+ *
181
+ * Expandable field
182
+ */
183
+ interface Candidate {
184
+ /**
185
+ * Identifier field
186
+ */
187
+ id: string;
188
+ /**
189
+ * Record creation date
190
+ */
191
+ created_at: string;
192
+ /**
193
+ * Record update date
194
+ */
195
+ updated_at: string;
196
+ /**
197
+ * Candidate email
198
+ */
199
+ email?: string;
200
+ /**
201
+ * Candidate first name
202
+ */
203
+ first_name?: string;
204
+ /**
205
+ * Candidate last name
206
+ */
207
+ last_name?: string;
208
+ /**
209
+ * Candidate phone number
210
+ */
211
+ phone_number?: string;
212
+ /**
213
+ * Candidate timezone
214
+ */
215
+ timezone?: string;
216
+ }
217
+ /**
218
+ * Job post; request expand=job_post to include the canonical job post resource.
219
+ * Null when not expanded or no specific job post is associated with the
220
+ * application.
221
+ *
222
+ * Expandable field
223
+ */
224
+ interface JobPost {
225
+ /**
226
+ * Identifier field
227
+ */
228
+ id: string;
229
+ /**
230
+ * Record creation date
231
+ */
232
+ created_at: string;
233
+ /**
234
+ * Configured and manually entered locations associated with the job post.
235
+ * Configured entries expose only work_location_id; manual entries expose
236
+ * manual_location_id and inline location details.
237
+ */
238
+ locations: Array<JobPost.Location>;
239
+ /**
240
+ * Job post name
241
+ */
242
+ name: string;
243
+ /**
244
+ * Whether the job post is published
245
+ */
246
+ published: boolean;
247
+ /**
248
+ * Record update date
249
+ */
250
+ updated_at: string;
251
+ /**
252
+ * Parent job requisition; null when not expanded or unavailable. Request
253
+ * expand=job_requisition to include it
254
+ *
255
+ * Expandable field
256
+ */
257
+ job_requisition?: JobRequisitionsAPI.JobRequisition;
258
+ /**
259
+ * Identifier of the parent Job Requisition resource. Applications use the legacy
260
+ * field name job_id for the same resource. Null when the parent Job Requisition
261
+ * reference is unavailable.
262
+ */
263
+ job_requisition_id?: string;
264
+ /**
265
+ * BCP 47 job post language tag; defaults to en-US when not otherwise set
266
+ */
267
+ language?: string;
268
+ /**
269
+ * Public job post URL; null when the post is not published
270
+ */
271
+ public_url?: string;
272
+ /**
273
+ * Canonical Work Location identifiers for the configured subset of locations[].
274
+ * Unlike locations[], this list excludes manually entered locations and supports
275
+ * expand=work_locations. Returns an empty list when there are no configured
276
+ * locations.
277
+ */
278
+ work_location_ids?: Array<string>;
279
+ /**
280
+ * Configured Work Location resources; request expand=work_locations to include
281
+ * them
282
+ *
283
+ * Expandable field
284
+ */
285
+ work_locations?: Array<WorkLocationsAPI.WorkLocation>;
286
+ }
287
+ namespace JobPost {
288
+ interface Location {
289
+ /**
290
+ * City for a manually entered location; null for a configured Work Location
291
+ * resource
292
+ */
293
+ city?: string;
294
+ /**
295
+ * ISO 3166-1 alpha-2 country code for a manually entered location; null for a
296
+ * configured Work Location resource
297
+ */
298
+ country_code?: string;
299
+ /**
300
+ * Opaque job-post-local identifier for a manually entered location; null for a
301
+ * configured Work Location.
302
+ */
303
+ manual_location_id?: string;
304
+ /**
305
+ * Display name for a manually entered location; null for a configured Work
306
+ * Location resource
307
+ */
308
+ name?: string;
309
+ /**
310
+ * State or region for a manually entered location; null for a configured Work
311
+ * Location resource
312
+ */
313
+ state?: string;
314
+ /**
315
+ * Canonical Work Location resource identifier for a configured location; null for
316
+ * a manually entered location. Request expand=work_locations on the parent job
317
+ * post to retrieve the corresponding Work Location resources.
318
+ */
319
+ work_location_id?: string;
320
+ /**
321
+ * Workplace type for a manually entered location: ON_SITE, REMOTE, or HYBRID.
322
+ * Configured Work Location resources return null.
323
+ */
324
+ workplace_type?: 'ON_SITE' | 'REMOTE' | 'HYBRID';
325
+ }
326
+ }
327
+ }
102
328
  export interface CandidateApplicationListParams {
103
329
  /**
104
- * The unique identifier of the candidate whose applications to list.
330
+ * The candidate whose applications to list. May be combined with another resource
331
+ * filter.
105
332
  */
106
- candidate_id: string;
333
+ candidate_id?: string;
107
334
  cursor?: string;
108
335
  expand?: string;
336
+ filter?: string;
337
+ /**
338
+ * The job requisition whose applications to list. May be combined with another
339
+ * resource filter.
340
+ */
341
+ job_id?: string;
342
+ /**
343
+ * The job post whose applications to list. May be combined with another resource
344
+ * filter.
345
+ */
346
+ job_post_id?: string;
109
347
  /**
110
348
  * The maximum number of results to return. Defaults to 50. Maximum is 100.
111
349
  */
@@ -1 +1 @@
1
- {"version":3,"file":"candidate-applications.d.ts","sourceRoot":"","sources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M,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,qBAAqB,CAAC;IAC7C,OAAO,EACL,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,8CAA8C,IAAI,8CAA8C,EACrG,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
1
+ {"version":3,"file":"candidate-applications.d.ts","sourceRoot":"","sources":["../src/resources/candidate-applications.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,kBAAkB,8BAA2B;AACzD,OAAO,KAAK,gBAAgB,4BAAyB;AACrD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,8BAA2B;AAChE,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,WAAW;IACpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiFG;IACH,IAAI,CACF,KAAK,GAAE,8BAA8B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,8CAA8C,EAAE,gCAAgC,CAAC;CAOjG;AAED,MAAM,MAAM,8CAA8C,GAAG,aAAa,CAAC,gCAAgC,CAAC,CAAC;AAE7G,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,gCAAgC,CAAC,SAAS,CAAC;IAEvD;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;;;;OAQG;IACH,GAAG,CAAC,EAAE,kBAAkB,CAAC,cAAc,C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