@rippling/rippling-sdk 0.2.0-alpha.100

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 (2124) hide show
  1. package/LICENSE +201 -0
  2. package/api-promise.d.mts +3 -0
  3. package/api-promise.d.mts.map +1 -0
  4. package/api-promise.d.ts +3 -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 +3 -0
  9. package/api-promise.mjs.map +1 -0
  10. package/client.d.mts +779 -0
  11. package/client.d.mts.map +1 -0
  12. package/client.d.ts +779 -0
  13. package/client.d.ts.map +1 -0
  14. package/client.js +1083 -0
  15. package/client.js.map +1 -0
  16. package/client.mjs +1079 -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/platform/custom-objects/category.d.mts +125 -0
  43. package/core/platform/custom-objects/category.d.mts.map +1 -0
  44. package/core/platform/custom-objects/category.d.ts +125 -0
  45. package/core/platform/custom-objects/category.d.ts.map +1 -0
  46. package/core/platform/custom-objects/category.js +188 -0
  47. package/core/platform/custom-objects/category.js.map +1 -0
  48. package/core/platform/custom-objects/category.mjs +178 -0
  49. package/core/platform/custom-objects/category.mjs.map +1 -0
  50. package/core/platform/custom-objects/definition.d.mts +147 -0
  51. package/core/platform/custom-objects/definition.d.mts.map +1 -0
  52. package/core/platform/custom-objects/definition.d.ts +147 -0
  53. package/core/platform/custom-objects/definition.d.ts.map +1 -0
  54. package/core/platform/custom-objects/definition.js +200 -0
  55. package/core/platform/custom-objects/definition.js.map +1 -0
  56. package/core/platform/custom-objects/definition.mjs +190 -0
  57. package/core/platform/custom-objects/definition.mjs.map +1 -0
  58. package/core/platform/custom-objects/fields.d.mts +302 -0
  59. package/core/platform/custom-objects/fields.d.mts.map +1 -0
  60. package/core/platform/custom-objects/fields.d.ts +302 -0
  61. package/core/platform/custom-objects/fields.d.ts.map +1 -0
  62. package/core/platform/custom-objects/fields.js +369 -0
  63. package/core/platform/custom-objects/fields.js.map +1 -0
  64. package/core/platform/custom-objects/fields.mjs +347 -0
  65. package/core/platform/custom-objects/fields.mjs.map +1 -0
  66. package/core/platform/custom-objects/function-runtime.d.mts +42 -0
  67. package/core/platform/custom-objects/function-runtime.d.mts.map +1 -0
  68. package/core/platform/custom-objects/function-runtime.d.ts +42 -0
  69. package/core/platform/custom-objects/function-runtime.d.ts.map +1 -0
  70. package/core/platform/custom-objects/function-runtime.js +38 -0
  71. package/core/platform/custom-objects/function-runtime.js.map +1 -0
  72. package/core/platform/custom-objects/function-runtime.mjs +35 -0
  73. package/core/platform/custom-objects/function-runtime.mjs.map +1 -0
  74. package/core/platform/custom-objects/lifecycle.d.mts +83 -0
  75. package/core/platform/custom-objects/lifecycle.d.mts.map +1 -0
  76. package/core/platform/custom-objects/lifecycle.d.ts +83 -0
  77. package/core/platform/custom-objects/lifecycle.d.ts.map +1 -0
  78. package/core/platform/custom-objects/lifecycle.js +372 -0
  79. package/core/platform/custom-objects/lifecycle.js.map +1 -0
  80. package/core/platform/custom-objects/lifecycle.mjs +367 -0
  81. package/core/platform/custom-objects/lifecycle.mjs.map +1 -0
  82. package/core/platform/custom-objects/manager.d.mts +354 -0
  83. package/core/platform/custom-objects/manager.d.mts.map +1 -0
  84. package/core/platform/custom-objects/manager.d.ts +354 -0
  85. package/core/platform/custom-objects/manager.d.ts.map +1 -0
  86. package/core/platform/custom-objects/manager.js +646 -0
  87. package/core/platform/custom-objects/manager.js.map +1 -0
  88. package/core/platform/custom-objects/manager.mjs +637 -0
  89. package/core/platform/custom-objects/manager.mjs.map +1 -0
  90. package/core/platform/custom-objects/provisioning.d.mts +138 -0
  91. package/core/platform/custom-objects/provisioning.d.mts.map +1 -0
  92. package/core/platform/custom-objects/provisioning.d.ts +138 -0
  93. package/core/platform/custom-objects/provisioning.d.ts.map +1 -0
  94. package/core/platform/custom-objects/provisioning.js +455 -0
  95. package/core/platform/custom-objects/provisioning.js.map +1 -0
  96. package/core/platform/custom-objects/provisioning.mjs +447 -0
  97. package/core/platform/custom-objects/provisioning.mjs.map +1 -0
  98. package/core/platform/custom-objects/rql.d.mts +122 -0
  99. package/core/platform/custom-objects/rql.d.mts.map +1 -0
  100. package/core/platform/custom-objects/rql.d.ts +122 -0
  101. package/core/platform/custom-objects/rql.d.ts.map +1 -0
  102. package/core/platform/custom-objects/rql.js +225 -0
  103. package/core/platform/custom-objects/rql.js.map +1 -0
  104. package/core/platform/custom-objects/rql.mjs +222 -0
  105. package/core/platform/custom-objects/rql.mjs.map +1 -0
  106. package/core/platform/custom-objects/schema-manager.d.mts +203 -0
  107. package/core/platform/custom-objects/schema-manager.d.mts.map +1 -0
  108. package/core/platform/custom-objects/schema-manager.d.ts +203 -0
  109. package/core/platform/custom-objects/schema-manager.d.ts.map +1 -0
  110. package/core/platform/custom-objects/schema-manager.js +256 -0
  111. package/core/platform/custom-objects/schema-manager.js.map +1 -0
  112. package/core/platform/custom-objects/schema-manager.mjs +249 -0
  113. package/core/platform/custom-objects/schema-manager.mjs.map +1 -0
  114. package/core/platform/custom-objects/typed-rql.d.mts +157 -0
  115. package/core/platform/custom-objects/typed-rql.d.mts.map +1 -0
  116. package/core/platform/custom-objects/typed-rql.d.ts +157 -0
  117. package/core/platform/custom-objects/typed-rql.d.ts.map +1 -0
  118. package/core/platform/custom-objects/typed-rql.js +583 -0
  119. package/core/platform/custom-objects/typed-rql.js.map +1 -0
  120. package/core/platform/custom-objects/typed-rql.mjs +580 -0
  121. package/core/platform/custom-objects/typed-rql.mjs.map +1 -0
  122. package/core/platform/custom-objects/types.d.mts +549 -0
  123. package/core/platform/custom-objects/types.d.mts.map +1 -0
  124. package/core/platform/custom-objects/types.d.ts +549 -0
  125. package/core/platform/custom-objects/types.d.ts.map +1 -0
  126. package/core/platform/custom-objects/types.js +20 -0
  127. package/core/platform/custom-objects/types.js.map +1 -0
  128. package/core/platform/custom-objects/types.mjs +17 -0
  129. package/core/platform/custom-objects/types.mjs.map +1 -0
  130. package/core/platform/custom-objects/validation.d.mts +97 -0
  131. package/core/platform/custom-objects/validation.d.mts.map +1 -0
  132. package/core/platform/custom-objects/validation.d.ts +97 -0
  133. package/core/platform/custom-objects/validation.d.ts.map +1 -0
  134. package/core/platform/custom-objects/validation.js +477 -0
  135. package/core/platform/custom-objects/validation.js.map +1 -0
  136. package/core/platform/custom-objects/validation.mjs +465 -0
  137. package/core/platform/custom-objects/validation.mjs.map +1 -0
  138. package/core/platform/custom-objects.d.mts +67 -0
  139. package/core/platform/custom-objects.d.mts.map +1 -0
  140. package/core/platform/custom-objects.d.ts +67 -0
  141. package/core/platform/custom-objects.d.ts.map +1 -0
  142. package/core/platform/custom-objects.js +118 -0
  143. package/core/platform/custom-objects.js.map +1 -0
  144. package/core/platform/custom-objects.mjs +45 -0
  145. package/core/platform/custom-objects.mjs.map +1 -0
  146. package/core/resource.d.mts +6 -0
  147. package/core/resource.d.mts.map +1 -0
  148. package/core/resource.d.ts +6 -0
  149. package/core/resource.d.ts.map +1 -0
  150. package/core/resource.js +11 -0
  151. package/core/resource.js.map +1 -0
  152. package/core/resource.mjs +7 -0
  153. package/core/resource.mjs.map +1 -0
  154. package/core/uploads.d.mts +3 -0
  155. package/core/uploads.d.mts.map +1 -0
  156. package/core/uploads.d.ts +3 -0
  157. package/core/uploads.d.ts.map +1 -0
  158. package/core/uploads.js +6 -0
  159. package/core/uploads.js.map +1 -0
  160. package/core/uploads.mjs +2 -0
  161. package/core/uploads.mjs.map +1 -0
  162. package/error.d.mts +3 -0
  163. package/error.d.mts.map +1 -0
  164. package/error.d.ts +3 -0
  165. package/error.d.ts.map +1 -0
  166. package/error.js +6 -0
  167. package/error.js.map +1 -0
  168. package/error.mjs +3 -0
  169. package/error.mjs.map +1 -0
  170. package/examples/.keep +4 -0
  171. package/examples/functions/durable.ts +85 -0
  172. package/examples/manifest/acp-agent/acp-agent.ts +50 -0
  173. package/examples/manifest/acp-agent/agent/index.ts +9 -0
  174. package/examples/manifest/custom-object-creation-workflow/custom-object-creation-workflow.ts +75 -0
  175. package/examples/manifest/custom-skill/custom-skill.ts +45 -0
  176. package/examples/manifest/dental-practice-management/dental-practice-management.ts +797 -0
  177. package/examples/manifest/dental-practice-management/functions/chair-schedule.ts +28 -0
  178. package/examples/manifest/dental-practice-management/functions/complete-visit.ts +110 -0
  179. package/examples/manifest/dental-practice-management/functions/operatory-list.ts +28 -0
  180. package/examples/manifest/dental-practice-management/functions/patient-list.ts +28 -0
  181. package/examples/manifest/dental-practice-management/functions/treatment-plan-list.ts +28 -0
  182. package/examples/manifest/existing-manifest-mutations/existing-manifest-mutations.ts +247 -0
  183. package/examples/manifest/field-service-dispatch/field-service-dispatch.ts +530 -0
  184. package/examples/manifest/grant-program-management/grant-program-management.ts +594 -0
  185. package/examples/manifest/gym-membership-management/functions/check-in-desk.ts +28 -0
  186. package/examples/manifest/gym-membership-management/functions/member-list.ts +28 -0
  187. package/examples/manifest/gym-membership-management/functions/today-schedule.ts +28 -0
  188. package/examples/manifest/gym-membership-management/functions/trainer-list.ts +28 -0
  189. package/examples/manifest/gym-membership-management/gym-membership-management.ts +728 -0
  190. package/examples/manifest/procurement-approval-hub/procurement-approval-hub.ts +554 -0
  191. package/examples/manifest/simple-todo-app/functions/mark-done.ts +48 -0
  192. package/examples/manifest/simple-todo-app/functions/todo-list.ts +28 -0
  193. package/examples/manifest/simple-todo-app/simple-todo-app.ts +188 -0
  194. package/examples/manifest/todo-app-without-object-list-view/functions/todo-page.ts +497 -0
  195. package/examples/manifest/todo-app-without-object-list-view/todo-app-without-object-list-view.ts +111 -0
  196. package/functions.d.mts +166 -0
  197. package/functions.d.mts.map +1 -0
  198. package/functions.d.ts +166 -0
  199. package/functions.d.ts.map +1 -0
  200. package/functions.js +60 -0
  201. package/functions.js.map +1 -0
  202. package/functions.mjs +51 -0
  203. package/functions.mjs.map +1 -0
  204. package/index.d.mts +8 -0
  205. package/index.d.mts.map +1 -0
  206. package/index.d.ts +8 -0
  207. package/index.d.ts.map +1 -0
  208. package/index.js +34 -0
  209. package/index.js.map +1 -0
  210. package/index.mjs +9 -0
  211. package/index.mjs.map +1 -0
  212. package/internal/builtin-types.d.mts +73 -0
  213. package/internal/builtin-types.d.mts.map +1 -0
  214. package/internal/builtin-types.d.ts +73 -0
  215. package/internal/builtin-types.d.ts.map +1 -0
  216. package/internal/builtin-types.js +4 -0
  217. package/internal/builtin-types.js.map +1 -0
  218. package/internal/builtin-types.mjs +3 -0
  219. package/internal/builtin-types.mjs.map +1 -0
  220. package/internal/detect-platform.d.mts +15 -0
  221. package/internal/detect-platform.d.mts.map +1 -0
  222. package/internal/detect-platform.d.ts +15 -0
  223. package/internal/detect-platform.d.ts.map +1 -0
  224. package/internal/detect-platform.js +162 -0
  225. package/internal/detect-platform.js.map +1 -0
  226. package/internal/detect-platform.mjs +157 -0
  227. package/internal/detect-platform.mjs.map +1 -0
  228. package/internal/errors.d.mts +3 -0
  229. package/internal/errors.d.mts.map +1 -0
  230. package/internal/errors.d.ts +3 -0
  231. package/internal/errors.d.ts.map +1 -0
  232. package/internal/errors.js +41 -0
  233. package/internal/errors.js.map +1 -0
  234. package/internal/errors.mjs +36 -0
  235. package/internal/errors.mjs.map +1 -0
  236. package/internal/headers.d.mts +20 -0
  237. package/internal/headers.d.mts.map +1 -0
  238. package/internal/headers.d.ts +20 -0
  239. package/internal/headers.d.ts.map +1 -0
  240. package/internal/headers.js +79 -0
  241. package/internal/headers.js.map +1 -0
  242. package/internal/headers.mjs +74 -0
  243. package/internal/headers.mjs.map +1 -0
  244. package/internal/parse.d.mts +12 -0
  245. package/internal/parse.d.mts.map +1 -0
  246. package/internal/parse.d.ts +12 -0
  247. package/internal/parse.d.ts.map +1 -0
  248. package/internal/parse.js +40 -0
  249. package/internal/parse.js.map +1 -0
  250. package/internal/parse.mjs +37 -0
  251. package/internal/parse.mjs.map +1 -0
  252. package/internal/request-options.d.mts +75 -0
  253. package/internal/request-options.d.mts.map +1 -0
  254. package/internal/request-options.d.ts +75 -0
  255. package/internal/request-options.d.ts.map +1 -0
  256. package/internal/request-options.js +14 -0
  257. package/internal/request-options.js.map +1 -0
  258. package/internal/request-options.mjs +10 -0
  259. package/internal/request-options.mjs.map +1 -0
  260. package/internal/shim-types.d.mts +17 -0
  261. package/internal/shim-types.d.mts.map +1 -0
  262. package/internal/shim-types.d.ts +17 -0
  263. package/internal/shim-types.d.ts.map +1 -0
  264. package/internal/shim-types.js +4 -0
  265. package/internal/shim-types.js.map +1 -0
  266. package/internal/shim-types.mjs +3 -0
  267. package/internal/shim-types.mjs.map +1 -0
  268. package/internal/shims.d.mts +26 -0
  269. package/internal/shims.d.mts.map +1 -0
  270. package/internal/shims.d.ts +26 -0
  271. package/internal/shims.d.ts.map +1 -0
  272. package/internal/shims.js +92 -0
  273. package/internal/shims.js.map +1 -0
  274. package/internal/shims.mjs +85 -0
  275. package/internal/shims.mjs.map +1 -0
  276. package/internal/to-file.d.mts +45 -0
  277. package/internal/to-file.d.mts.map +1 -0
  278. package/internal/to-file.d.ts +45 -0
  279. package/internal/to-file.d.ts.map +1 -0
  280. package/internal/to-file.js +91 -0
  281. package/internal/to-file.js.map +1 -0
  282. package/internal/to-file.mjs +88 -0
  283. package/internal/to-file.mjs.map +1 -0
  284. package/internal/tslib.js +85 -0
  285. package/internal/tslib.mjs +17 -0
  286. package/internal/types.d.mts +69 -0
  287. package/internal/types.d.mts.map +1 -0
  288. package/internal/types.d.ts +69 -0
  289. package/internal/types.d.ts.map +1 -0
  290. package/internal/types.js +4 -0
  291. package/internal/types.js.map +1 -0
  292. package/internal/types.mjs +3 -0
  293. package/internal/types.mjs.map +1 -0
  294. package/internal/uploads.d.mts +42 -0
  295. package/internal/uploads.d.mts.map +1 -0
  296. package/internal/uploads.d.ts +42 -0
  297. package/internal/uploads.d.ts.map +1 -0
  298. package/internal/uploads.js +141 -0
  299. package/internal/uploads.js.map +1 -0
  300. package/internal/uploads.mjs +131 -0
  301. package/internal/uploads.mjs.map +1 -0
  302. package/internal/utils/base64.d.mts +3 -0
  303. package/internal/utils/base64.d.mts.map +1 -0
  304. package/internal/utils/base64.d.ts +3 -0
  305. package/internal/utils/base64.d.ts.map +1 -0
  306. package/internal/utils/base64.js +38 -0
  307. package/internal/utils/base64.js.map +1 -0
  308. package/internal/utils/base64.mjs +33 -0
  309. package/internal/utils/base64.mjs.map +1 -0
  310. package/internal/utils/bytes.d.mts +4 -0
  311. package/internal/utils/bytes.d.mts.map +1 -0
  312. package/internal/utils/bytes.d.ts +4 -0
  313. package/internal/utils/bytes.d.ts.map +1 -0
  314. package/internal/utils/bytes.js +31 -0
  315. package/internal/utils/bytes.js.map +1 -0
  316. package/internal/utils/bytes.mjs +26 -0
  317. package/internal/utils/bytes.mjs.map +1 -0
  318. package/internal/utils/env.d.mts +9 -0
  319. package/internal/utils/env.d.mts.map +1 -0
  320. package/internal/utils/env.d.ts +9 -0
  321. package/internal/utils/env.d.ts.map +1 -0
  322. package/internal/utils/env.js +22 -0
  323. package/internal/utils/env.js.map +1 -0
  324. package/internal/utils/env.mjs +18 -0
  325. package/internal/utils/env.mjs.map +1 -0
  326. package/internal/utils/log.d.mts +37 -0
  327. package/internal/utils/log.d.mts.map +1 -0
  328. package/internal/utils/log.d.ts +37 -0
  329. package/internal/utils/log.d.ts.map +1 -0
  330. package/internal/utils/log.js +87 -0
  331. package/internal/utils/log.js.map +1 -0
  332. package/internal/utils/log.mjs +81 -0
  333. package/internal/utils/log.mjs.map +1 -0
  334. package/internal/utils/path.d.mts +15 -0
  335. package/internal/utils/path.d.mts.map +1 -0
  336. package/internal/utils/path.d.ts +15 -0
  337. package/internal/utils/path.d.ts.map +1 -0
  338. package/internal/utils/path.js +79 -0
  339. package/internal/utils/path.js.map +1 -0
  340. package/internal/utils/path.mjs +74 -0
  341. package/internal/utils/path.mjs.map +1 -0
  342. package/internal/utils/query.d.mts +5 -0
  343. package/internal/utils/query.d.mts.map +1 -0
  344. package/internal/utils/query.d.ts +5 -0
  345. package/internal/utils/query.d.ts.map +1 -0
  346. package/internal/utils/query.js +23 -0
  347. package/internal/utils/query.js.map +1 -0
  348. package/internal/utils/query.mjs +20 -0
  349. package/internal/utils/query.mjs.map +1 -0
  350. package/internal/utils/sleep.d.mts +2 -0
  351. package/internal/utils/sleep.d.mts.map +1 -0
  352. package/internal/utils/sleep.d.ts +2 -0
  353. package/internal/utils/sleep.d.ts.map +1 -0
  354. package/internal/utils/sleep.js +7 -0
  355. package/internal/utils/sleep.js.map +1 -0
  356. package/internal/utils/sleep.mjs +3 -0
  357. package/internal/utils/sleep.mjs.map +1 -0
  358. package/internal/utils/uuid.d.mts +5 -0
  359. package/internal/utils/uuid.d.mts.map +1 -0
  360. package/internal/utils/uuid.d.ts +5 -0
  361. package/internal/utils/uuid.d.ts.map +1 -0
  362. package/internal/utils/uuid.js +19 -0
  363. package/internal/utils/uuid.js.map +1 -0
  364. package/internal/utils/uuid.mjs +15 -0
  365. package/internal/utils/uuid.mjs.map +1 -0
  366. package/internal/utils/values.d.mts +18 -0
  367. package/internal/utils/values.d.mts.map +1 -0
  368. package/internal/utils/values.d.ts +18 -0
  369. package/internal/utils/values.d.ts.map +1 -0
  370. package/internal/utils/values.js +112 -0
  371. package/internal/utils/values.js.map +1 -0
  372. package/internal/utils/values.mjs +94 -0
  373. package/internal/utils/values.mjs.map +1 -0
  374. package/internal/utils.d.mts +8 -0
  375. package/internal/utils.d.mts.map +1 -0
  376. package/internal/utils.d.ts +8 -0
  377. package/internal/utils.d.ts.map +1 -0
  378. package/internal/utils.js +12 -0
  379. package/internal/utils.js.map +1 -0
  380. package/internal/utils.mjs +9 -0
  381. package/internal/utils.mjs.map +1 -0
  382. package/lib/leave-programs/advanced.d.mts +5 -0
  383. package/lib/leave-programs/advanced.d.mts.map +1 -0
  384. package/lib/leave-programs/advanced.d.ts +5 -0
  385. package/lib/leave-programs/advanced.d.ts.map +1 -0
  386. package/lib/leave-programs/advanced.js +13 -0
  387. package/lib/leave-programs/advanced.js.map +1 -0
  388. package/lib/leave-programs/advanced.mjs +4 -0
  389. package/lib/leave-programs/advanced.mjs.map +1 -0
  390. package/lib/leave-programs/context.d.mts +3 -0
  391. package/lib/leave-programs/context.d.mts.map +1 -0
  392. package/lib/leave-programs/context.d.ts +3 -0
  393. package/lib/leave-programs/context.d.ts.map +1 -0
  394. package/lib/leave-programs/context.js +89 -0
  395. package/lib/leave-programs/context.js.map +1 -0
  396. package/lib/leave-programs/context.mjs +86 -0
  397. package/lib/leave-programs/context.mjs.map +1 -0
  398. package/lib/leave-programs/define-company-leave-program.d.mts +3 -0
  399. package/lib/leave-programs/define-company-leave-program.d.mts.map +1 -0
  400. package/lib/leave-programs/define-company-leave-program.d.ts +3 -0
  401. package/lib/leave-programs/define-company-leave-program.d.ts.map +1 -0
  402. package/lib/leave-programs/define-company-leave-program.js +47 -0
  403. package/lib/leave-programs/define-company-leave-program.js.map +1 -0
  404. package/lib/leave-programs/define-company-leave-program.mjs +44 -0
  405. package/lib/leave-programs/define-company-leave-program.mjs.map +1 -0
  406. package/lib/leave-programs/duration.d.mts +5 -0
  407. package/lib/leave-programs/duration.d.mts.map +1 -0
  408. package/lib/leave-programs/duration.d.ts +5 -0
  409. package/lib/leave-programs/duration.d.ts.map +1 -0
  410. package/lib/leave-programs/duration.js +21 -0
  411. package/lib/leave-programs/duration.js.map +1 -0
  412. package/lib/leave-programs/duration.mjs +16 -0
  413. package/lib/leave-programs/duration.mjs.map +1 -0
  414. package/lib/leave-programs/pay.d.mts +4 -0
  415. package/lib/leave-programs/pay.d.mts.map +1 -0
  416. package/lib/leave-programs/pay.d.ts +4 -0
  417. package/lib/leave-programs/pay.d.ts.map +1 -0
  418. package/lib/leave-programs/pay.js +20 -0
  419. package/lib/leave-programs/pay.js.map +1 -0
  420. package/lib/leave-programs/pay.mjs +16 -0
  421. package/lib/leave-programs/pay.mjs.map +1 -0
  422. package/lib/leave-programs/policy-builder.d.mts +20 -0
  423. package/lib/leave-programs/policy-builder.d.mts.map +1 -0
  424. package/lib/leave-programs/policy-builder.d.ts +20 -0
  425. package/lib/leave-programs/policy-builder.d.ts.map +1 -0
  426. package/lib/leave-programs/policy-builder.js +89 -0
  427. package/lib/leave-programs/policy-builder.js.map +1 -0
  428. package/lib/leave-programs/policy-builder.mjs +85 -0
  429. package/lib/leave-programs/policy-builder.mjs.map +1 -0
  430. package/lib/leave-programs/recipes/parental-top-up-policy.d.mts +25 -0
  431. package/lib/leave-programs/recipes/parental-top-up-policy.d.mts.map +1 -0
  432. package/lib/leave-programs/recipes/parental-top-up-policy.d.ts +25 -0
  433. package/lib/leave-programs/recipes/parental-top-up-policy.d.ts.map +1 -0
  434. package/lib/leave-programs/recipes/parental-top-up-policy.js +56 -0
  435. package/lib/leave-programs/recipes/parental-top-up-policy.js.map +1 -0
  436. package/lib/leave-programs/recipes/parental-top-up-policy.mjs +53 -0
  437. package/lib/leave-programs/recipes/parental-top-up-policy.mjs.map +1 -0
  438. package/lib/leave-programs/testing.d.mts +8 -0
  439. package/lib/leave-programs/testing.d.mts.map +1 -0
  440. package/lib/leave-programs/testing.d.ts +8 -0
  441. package/lib/leave-programs/testing.d.ts.map +1 -0
  442. package/lib/leave-programs/testing.js +11 -0
  443. package/lib/leave-programs/testing.js.map +1 -0
  444. package/lib/leave-programs/testing.mjs +7 -0
  445. package/lib/leave-programs/testing.mjs.map +1 -0
  446. package/lib/leave-programs/types.d.mts +223 -0
  447. package/lib/leave-programs/types.d.mts.map +1 -0
  448. package/lib/leave-programs/types.d.ts +223 -0
  449. package/lib/leave-programs/types.d.ts.map +1 -0
  450. package/lib/leave-programs/types.js +10 -0
  451. package/lib/leave-programs/types.js.map +1 -0
  452. package/lib/leave-programs/types.mjs +7 -0
  453. package/lib/leave-programs/types.mjs.map +1 -0
  454. package/lib/leave-programs.d.mts +7 -0
  455. package/lib/leave-programs.d.mts.map +1 -0
  456. package/lib/leave-programs.d.ts +7 -0
  457. package/lib/leave-programs.d.ts.map +1 -0
  458. package/lib/leave-programs.js +19 -0
  459. package/lib/leave-programs.js.map +1 -0
  460. package/lib/leave-programs.mjs +7 -0
  461. package/lib/leave-programs.mjs.map +1 -0
  462. package/lib/manifest/_existing-component-fields.d.mts +11 -0
  463. package/lib/manifest/_existing-component-fields.d.mts.map +1 -0
  464. package/lib/manifest/_existing-component-fields.d.ts +11 -0
  465. package/lib/manifest/_existing-component-fields.d.ts.map +1 -0
  466. package/lib/manifest/_existing-component-fields.js +67 -0
  467. package/lib/manifest/_existing-component-fields.js.map +1 -0
  468. package/lib/manifest/_existing-component-fields.mjs +59 -0
  469. package/lib/manifest/_existing-component-fields.mjs.map +1 -0
  470. package/lib/manifest/_helpers.d.mts +95 -0
  471. package/lib/manifest/_helpers.d.mts.map +1 -0
  472. package/lib/manifest/_helpers.d.ts +95 -0
  473. package/lib/manifest/_helpers.d.ts.map +1 -0
  474. package/lib/manifest/_helpers.js +67 -0
  475. package/lib/manifest/_helpers.js.map +1 -0
  476. package/lib/manifest/_helpers.mjs +63 -0
  477. package/lib/manifest/_helpers.mjs.map +1 -0
  478. package/lib/manifest/acp-agent-source-files.d.mts +10 -0
  479. package/lib/manifest/acp-agent-source-files.d.mts.map +1 -0
  480. package/lib/manifest/acp-agent-source-files.d.ts +10 -0
  481. package/lib/manifest/acp-agent-source-files.d.ts.map +1 -0
  482. package/lib/manifest/acp-agent-source-files.js +42 -0
  483. package/lib/manifest/acp-agent-source-files.js.map +1 -0
  484. package/lib/manifest/acp-agent-source-files.mjs +38 -0
  485. package/lib/manifest/acp-agent-source-files.mjs.map +1 -0
  486. package/lib/manifest/acp-agent.d.mts +73 -0
  487. package/lib/manifest/acp-agent.d.mts.map +1 -0
  488. package/lib/manifest/acp-agent.d.ts +73 -0
  489. package/lib/manifest/acp-agent.d.ts.map +1 -0
  490. package/lib/manifest/acp-agent.js +131 -0
  491. package/lib/manifest/acp-agent.js.map +1 -0
  492. package/lib/manifest/acp-agent.mjs +127 -0
  493. package/lib/manifest/acp-agent.mjs.map +1 -0
  494. package/lib/manifest/agent.d.mts +60 -0
  495. package/lib/manifest/agent.d.mts.map +1 -0
  496. package/lib/manifest/agent.d.ts +60 -0
  497. package/lib/manifest/agent.d.ts.map +1 -0
  498. package/lib/manifest/agent.js +94 -0
  499. package/lib/manifest/agent.js.map +1 -0
  500. package/lib/manifest/agent.mjs +90 -0
  501. package/lib/manifest/agent.mjs.map +1 -0
  502. package/lib/manifest/app.d.mts +126 -0
  503. package/lib/manifest/app.d.mts.map +1 -0
  504. package/lib/manifest/app.d.ts +126 -0
  505. package/lib/manifest/app.d.ts.map +1 -0
  506. package/lib/manifest/app.js +143 -0
  507. package/lib/manifest/app.js.map +1 -0
  508. package/lib/manifest/app.mjs +139 -0
  509. package/lib/manifest/app.mjs.map +1 -0
  510. package/lib/manifest/business-event.d.mts +64 -0
  511. package/lib/manifest/business-event.d.mts.map +1 -0
  512. package/lib/manifest/business-event.d.ts +64 -0
  513. package/lib/manifest/business-event.d.ts.map +1 -0
  514. package/lib/manifest/business-event.js +64 -0
  515. package/lib/manifest/business-event.js.map +1 -0
  516. package/lib/manifest/business-event.mjs +60 -0
  517. package/lib/manifest/business-event.mjs.map +1 -0
  518. package/lib/manifest/category.d.mts +90 -0
  519. package/lib/manifest/category.d.mts.map +1 -0
  520. package/lib/manifest/category.d.ts +90 -0
  521. package/lib/manifest/category.d.ts.map +1 -0
  522. package/lib/manifest/category.js +95 -0
  523. package/lib/manifest/category.js.map +1 -0
  524. package/lib/manifest/category.mjs +91 -0
  525. package/lib/manifest/category.mjs.map +1 -0
  526. package/lib/manifest/custom-field-section.d.mts +30 -0
  527. package/lib/manifest/custom-field-section.d.mts.map +1 -0
  528. package/lib/manifest/custom-field-section.d.ts +30 -0
  529. package/lib/manifest/custom-field-section.d.ts.map +1 -0
  530. package/lib/manifest/custom-field-section.js +58 -0
  531. package/lib/manifest/custom-field-section.js.map +1 -0
  532. package/lib/manifest/custom-field-section.mjs +54 -0
  533. package/lib/manifest/custom-field-section.mjs.map +1 -0
  534. package/lib/manifest/custom-field.d.mts +123 -0
  535. package/lib/manifest/custom-field.d.mts.map +1 -0
  536. package/lib/manifest/custom-field.d.ts +123 -0
  537. package/lib/manifest/custom-field.d.ts.map +1 -0
  538. package/lib/manifest/custom-field.js +211 -0
  539. package/lib/manifest/custom-field.js.map +1 -0
  540. package/lib/manifest/custom-field.mjs +207 -0
  541. package/lib/manifest/custom-field.mjs.map +1 -0
  542. package/lib/manifest/custom-object-action.d.mts +45 -0
  543. package/lib/manifest/custom-object-action.d.mts.map +1 -0
  544. package/lib/manifest/custom-object-action.d.ts +45 -0
  545. package/lib/manifest/custom-object-action.d.ts.map +1 -0
  546. package/lib/manifest/custom-object-action.js +72 -0
  547. package/lib/manifest/custom-object-action.js.map +1 -0
  548. package/lib/manifest/custom-object-action.mjs +68 -0
  549. package/lib/manifest/custom-object-action.mjs.map +1 -0
  550. package/lib/manifest/custom-object-field-section.d.mts +88 -0
  551. package/lib/manifest/custom-object-field-section.d.mts.map +1 -0
  552. package/lib/manifest/custom-object-field-section.d.ts +88 -0
  553. package/lib/manifest/custom-object-field-section.d.ts.map +1 -0
  554. package/lib/manifest/custom-object-field-section.js +97 -0
  555. package/lib/manifest/custom-object-field-section.js.map +1 -0
  556. package/lib/manifest/custom-object-field-section.mjs +93 -0
  557. package/lib/manifest/custom-object-field-section.mjs.map +1 -0
  558. package/lib/manifest/custom-object-page-layout.d.mts +694 -0
  559. package/lib/manifest/custom-object-page-layout.d.mts.map +1 -0
  560. package/lib/manifest/custom-object-page-layout.d.ts +694 -0
  561. package/lib/manifest/custom-object-page-layout.d.ts.map +1 -0
  562. package/lib/manifest/custom-object-page-layout.js +1323 -0
  563. package/lib/manifest/custom-object-page-layout.js.map +1 -0
  564. package/lib/manifest/custom-object-page-layout.mjs +1319 -0
  565. package/lib/manifest/custom-object-page-layout.mjs.map +1 -0
  566. package/lib/manifest/custom-object.d.mts +329 -0
  567. package/lib/manifest/custom-object.d.mts.map +1 -0
  568. package/lib/manifest/custom-object.d.ts +329 -0
  569. package/lib/manifest/custom-object.d.ts.map +1 -0
  570. package/lib/manifest/custom-object.js +394 -0
  571. package/lib/manifest/custom-object.js.map +1 -0
  572. package/lib/manifest/custom-object.mjs +390 -0
  573. package/lib/manifest/custom-object.mjs.map +1 -0
  574. package/lib/manifest/custom-skill.d.mts +115 -0
  575. package/lib/manifest/custom-skill.d.mts.map +1 -0
  576. package/lib/manifest/custom-skill.d.ts +115 -0
  577. package/lib/manifest/custom-skill.d.ts.map +1 -0
  578. package/lib/manifest/custom-skill.js +127 -0
  579. package/lib/manifest/custom-skill.js.map +1 -0
  580. package/lib/manifest/custom-skill.mjs +123 -0
  581. package/lib/manifest/custom-skill.mjs.map +1 -0
  582. package/lib/manifest/existing-manifest-context.d.mts +109 -0
  583. package/lib/manifest/existing-manifest-context.d.mts.map +1 -0
  584. package/lib/manifest/existing-manifest-context.d.ts +109 -0
  585. package/lib/manifest/existing-manifest-context.d.ts.map +1 -0
  586. package/lib/manifest/existing-manifest-context.js +641 -0
  587. package/lib/manifest/existing-manifest-context.js.map +1 -0
  588. package/lib/manifest/existing-manifest-context.mjs +636 -0
  589. package/lib/manifest/existing-manifest-context.mjs.map +1 -0
  590. package/lib/manifest/field.d.mts +548 -0
  591. package/lib/manifest/field.d.mts.map +1 -0
  592. package/lib/manifest/field.d.ts +548 -0
  593. package/lib/manifest/field.d.ts.map +1 -0
  594. package/lib/manifest/field.js +645 -0
  595. package/lib/manifest/field.js.map +1 -0
  596. package/lib/manifest/field.mjs +622 -0
  597. package/lib/manifest/field.mjs.map +1 -0
  598. package/lib/manifest/index.d.mts +24 -0
  599. package/lib/manifest/index.d.mts.map +1 -0
  600. package/lib/manifest/index.d.ts +24 -0
  601. package/lib/manifest/index.d.ts.map +1 -0
  602. package/lib/manifest/index.js +74 -0
  603. package/lib/manifest/index.js.map +1 -0
  604. package/lib/manifest/index.mjs +27 -0
  605. package/lib/manifest/index.mjs.map +1 -0
  606. package/lib/manifest/list-view.d.mts +167 -0
  607. package/lib/manifest/list-view.d.mts.map +1 -0
  608. package/lib/manifest/list-view.d.ts +167 -0
  609. package/lib/manifest/list-view.d.ts.map +1 -0
  610. package/lib/manifest/list-view.js +145 -0
  611. package/lib/manifest/list-view.js.map +1 -0
  612. package/lib/manifest/list-view.mjs +141 -0
  613. package/lib/manifest/list-view.mjs.map +1 -0
  614. package/lib/manifest/manifest-builder.d.mts +163 -0
  615. package/lib/manifest/manifest-builder.d.mts.map +1 -0
  616. package/lib/manifest/manifest-builder.d.ts +163 -0
  617. package/lib/manifest/manifest-builder.d.ts.map +1 -0
  618. package/lib/manifest/manifest-builder.js +147 -0
  619. package/lib/manifest/manifest-builder.js.map +1 -0
  620. package/lib/manifest/manifest-builder.mjs +143 -0
  621. package/lib/manifest/manifest-builder.mjs.map +1 -0
  622. package/lib/manifest/manifest-function.d.mts +127 -0
  623. package/lib/manifest/manifest-function.d.mts.map +1 -0
  624. package/lib/manifest/manifest-function.d.ts +127 -0
  625. package/lib/manifest/manifest-function.d.ts.map +1 -0
  626. package/lib/manifest/manifest-function.js +127 -0
  627. package/lib/manifest/manifest-function.js.map +1 -0
  628. package/lib/manifest/manifest-function.mjs +123 -0
  629. package/lib/manifest/manifest-function.mjs.map +1 -0
  630. package/lib/manifest/node.d.mts +4 -0
  631. package/lib/manifest/node.d.mts.map +1 -0
  632. package/lib/manifest/node.d.ts +4 -0
  633. package/lib/manifest/node.d.ts.map +1 -0
  634. package/lib/manifest/node.js +9 -0
  635. package/lib/manifest/node.js.map +1 -0
  636. package/lib/manifest/node.mjs +4 -0
  637. package/lib/manifest/node.mjs.map +1 -0
  638. package/lib/manifest/rule.d.mts +147 -0
  639. package/lib/manifest/rule.d.mts.map +1 -0
  640. package/lib/manifest/rule.d.ts +147 -0
  641. package/lib/manifest/rule.d.ts.map +1 -0
  642. package/lib/manifest/rule.js +170 -0
  643. package/lib/manifest/rule.js.map +1 -0
  644. package/lib/manifest/rule.mjs +166 -0
  645. package/lib/manifest/rule.mjs.map +1 -0
  646. package/lib/manifest/sdui-page.d.mts +108 -0
  647. package/lib/manifest/sdui-page.d.mts.map +1 -0
  648. package/lib/manifest/sdui-page.d.ts +108 -0
  649. package/lib/manifest/sdui-page.d.ts.map +1 -0
  650. package/lib/manifest/sdui-page.js +123 -0
  651. package/lib/manifest/sdui-page.js.map +1 -0
  652. package/lib/manifest/sdui-page.mjs +119 -0
  653. package/lib/manifest/sdui-page.mjs.map +1 -0
  654. package/lib/manifest/validation.d.mts +133 -0
  655. package/lib/manifest/validation.d.mts.map +1 -0
  656. package/lib/manifest/validation.d.ts +133 -0
  657. package/lib/manifest/validation.d.ts.map +1 -0
  658. package/lib/manifest/validation.js +118 -0
  659. package/lib/manifest/validation.js.map +1 -0
  660. package/lib/manifest/validation.mjs +114 -0
  661. package/lib/manifest/validation.mjs.map +1 -0
  662. package/lib/manifest/workflow.d.mts +158 -0
  663. package/lib/manifest/workflow.d.mts.map +1 -0
  664. package/lib/manifest/workflow.d.ts +158 -0
  665. package/lib/manifest/workflow.d.ts.map +1 -0
  666. package/lib/manifest/workflow.js +51 -0
  667. package/lib/manifest/workflow.js.map +1 -0
  668. package/lib/manifest/workflow.mjs +47 -0
  669. package/lib/manifest/workflow.mjs.map +1 -0
  670. package/lib/manifest.d.mts +2 -0
  671. package/lib/manifest.d.mts.map +1 -0
  672. package/lib/manifest.d.ts +2 -0
  673. package/lib/manifest.d.ts.map +1 -0
  674. package/lib/manifest.js +5 -0
  675. package/lib/manifest.js.map +1 -0
  676. package/lib/manifest.mjs +2 -0
  677. package/lib/manifest.mjs.map +1 -0
  678. package/package.json +190 -0
  679. package/pagination.d.mts +3 -0
  680. package/pagination.d.mts.map +1 -0
  681. package/pagination.d.ts +3 -0
  682. package/pagination.d.ts.map +1 -0
  683. package/pagination.js +6 -0
  684. package/pagination.js.map +1 -0
  685. package/pagination.mjs +3 -0
  686. package/pagination.mjs.map +1 -0
  687. package/resource.d.mts +3 -0
  688. package/resource.d.mts.map +1 -0
  689. package/resource.d.ts +3 -0
  690. package/resource.d.ts.map +1 -0
  691. package/resource.js +6 -0
  692. package/resource.js.map +1 -0
  693. package/resource.mjs +3 -0
  694. package/resource.mjs.map +1 -0
  695. package/resources/agents/agents.d.mts +208 -0
  696. package/resources/agents/agents.d.mts.map +1 -0
  697. package/resources/agents/agents.d.ts +208 -0
  698. package/resources/agents/agents.d.ts.map +1 -0
  699. package/resources/agents/agents.js +64 -0
  700. package/resources/agents/agents.js.map +1 -0
  701. package/resources/agents/agents.mjs +59 -0
  702. package/resources/agents/agents.mjs.map +1 -0
  703. package/resources/agents/deployments.d.mts +180 -0
  704. package/resources/agents/deployments.d.mts.map +1 -0
  705. package/resources/agents/deployments.d.ts +180 -0
  706. package/resources/agents/deployments.d.ts.map +1 -0
  707. package/resources/agents/deployments.js +32 -0
  708. package/resources/agents/deployments.js.map +1 -0
  709. package/resources/agents/deployments.mjs +28 -0
  710. package/resources/agents/deployments.mjs.map +1 -0
  711. package/resources/agents/index.d.mts +5 -0
  712. package/resources/agents/index.d.mts.map +1 -0
  713. package/resources/agents/index.d.ts +5 -0
  714. package/resources/agents/index.d.ts.map +1 -0
  715. package/resources/agents/index.js +13 -0
  716. package/resources/agents/index.js.map +1 -0
  717. package/resources/agents/index.mjs +6 -0
  718. package/resources/agents/index.mjs.map +1 -0
  719. package/resources/agents/sessions/events.d.mts +80 -0
  720. package/resources/agents/sessions/events.d.mts.map +1 -0
  721. package/resources/agents/sessions/events.d.ts +80 -0
  722. package/resources/agents/sessions/events.d.ts.map +1 -0
  723. package/resources/agents/sessions/events.js +19 -0
  724. package/resources/agents/sessions/events.js.map +1 -0
  725. package/resources/agents/sessions/events.mjs +15 -0
  726. package/resources/agents/sessions/events.mjs.map +1 -0
  727. package/resources/agents/sessions/index.d.mts +5 -0
  728. package/resources/agents/sessions/index.d.mts.map +1 -0
  729. package/resources/agents/sessions/index.d.ts +5 -0
  730. package/resources/agents/sessions/index.d.ts.map +1 -0
  731. package/resources/agents/sessions/index.js +13 -0
  732. package/resources/agents/sessions/index.js.map +1 -0
  733. package/resources/agents/sessions/index.mjs +6 -0
  734. package/resources/agents/sessions/index.mjs.map +1 -0
  735. package/resources/agents/sessions/messages.d.mts +84 -0
  736. package/resources/agents/sessions/messages.d.mts.map +1 -0
  737. package/resources/agents/sessions/messages.d.ts +84 -0
  738. package/resources/agents/sessions/messages.d.ts.map +1 -0
  739. package/resources/agents/sessions/messages.js +19 -0
  740. package/resources/agents/sessions/messages.js.map +1 -0
  741. package/resources/agents/sessions/messages.mjs +15 -0
  742. package/resources/agents/sessions/messages.mjs.map +1 -0
  743. package/resources/agents/sessions/resume-state.d.mts +25 -0
  744. package/resources/agents/sessions/resume-state.d.mts.map +1 -0
  745. package/resources/agents/sessions/resume-state.d.ts +25 -0
  746. package/resources/agents/sessions/resume-state.d.ts.map +1 -0
  747. package/resources/agents/sessions/resume-state.js +19 -0
  748. package/resources/agents/sessions/resume-state.js.map +1 -0
  749. package/resources/agents/sessions/resume-state.mjs +15 -0
  750. package/resources/agents/sessions/resume-state.mjs.map +1 -0
  751. package/resources/agents/sessions/sessions.d.mts +248 -0
  752. package/resources/agents/sessions/sessions.d.mts.map +1 -0
  753. package/resources/agents/sessions/sessions.d.ts +248 -0
  754. package/resources/agents/sessions/sessions.d.ts.map +1 -0
  755. package/resources/agents/sessions/sessions.js +52 -0
  756. package/resources/agents/sessions/sessions.js.map +1 -0
  757. package/resources/agents/sessions/sessions.mjs +47 -0
  758. package/resources/agents/sessions/sessions.mjs.map +1 -0
  759. package/resources/agents/sessions.d.mts +2 -0
  760. package/resources/agents/sessions.d.mts.map +1 -0
  761. package/resources/agents/sessions.d.ts +2 -0
  762. package/resources/agents/sessions.d.ts.map +1 -0
  763. package/resources/agents/sessions.js +6 -0
  764. package/resources/agents/sessions.js.map +1 -0
  765. package/resources/agents/sessions.mjs +3 -0
  766. package/resources/agents/sessions.mjs.map +1 -0
  767. package/resources/agents/source-revisions.d.mts +195 -0
  768. package/resources/agents/source-revisions.d.mts.map +1 -0
  769. package/resources/agents/source-revisions.d.ts +195 -0
  770. package/resources/agents/source-revisions.d.ts.map +1 -0
  771. package/resources/agents/source-revisions.js +32 -0
  772. package/resources/agents/source-revisions.js.map +1 -0
  773. package/resources/agents/source-revisions.mjs +28 -0
  774. package/resources/agents/source-revisions.mjs.map +1 -0
  775. package/resources/agents.d.mts +2 -0
  776. package/resources/agents.d.mts.map +1 -0
  777. package/resources/agents.d.ts +2 -0
  778. package/resources/agents.d.ts.map +1 -0
  779. package/resources/agents.js +6 -0
  780. package/resources/agents.js.map +1 -0
  781. package/resources/agents.mjs +3 -0
  782. package/resources/agents.mjs.map +1 -0
  783. package/resources/app-users.d.mts +190 -0
  784. package/resources/app-users.d.mts.map +1 -0
  785. package/resources/app-users.d.ts +190 -0
  786. package/resources/app-users.d.ts.map +1 -0
  787. package/resources/app-users.js +32 -0
  788. package/resources/app-users.js.map +1 -0
  789. package/resources/app-users.mjs +28 -0
  790. package/resources/app-users.mjs.map +1 -0
  791. package/resources/background-check-candidates.d.mts +337 -0
  792. package/resources/background-check-candidates.d.mts.map +1 -0
  793. package/resources/background-check-candidates.d.ts +337 -0
  794. package/resources/background-check-candidates.d.ts.map +1 -0
  795. package/resources/background-check-candidates.js +52 -0
  796. package/resources/background-check-candidates.js.map +1 -0
  797. package/resources/background-check-candidates.mjs +48 -0
  798. package/resources/background-check-candidates.mjs.map +1 -0
  799. package/resources/break-policies.d.mts +95 -0
  800. package/resources/break-policies.d.mts.map +1 -0
  801. package/resources/break-policies.d.ts +95 -0
  802. package/resources/break-policies.d.ts.map +1 -0
  803. package/resources/break-policies.js +32 -0
  804. package/resources/break-policies.js.map +1 -0
  805. package/resources/break-policies.mjs +28 -0
  806. package/resources/break-policies.mjs.map +1 -0
  807. package/resources/break-types.d.mts +192 -0
  808. package/resources/break-types.d.mts.map +1 -0
  809. package/resources/break-types.d.ts +192 -0
  810. package/resources/break-types.d.ts.map +1 -0
  811. package/resources/break-types.js +34 -0
  812. package/resources/break-types.js.map +1 -0
  813. package/resources/break-types.mjs +30 -0
  814. package/resources/break-types.mjs.map +1 -0
  815. package/resources/business-partner-groups.d.mts +102 -0
  816. package/resources/business-partner-groups.d.mts.map +1 -0
  817. package/resources/business-partner-groups.d.ts +102 -0
  818. package/resources/business-partner-groups.d.ts.map +1 -0
  819. package/resources/business-partner-groups.js +49 -0
  820. package/resources/business-partner-groups.js.map +1 -0
  821. package/resources/business-partner-groups.mjs +45 -0
  822. package/resources/business-partner-groups.mjs.map +1 -0
  823. package/resources/business-partners.d.mts +140 -0
  824. package/resources/business-partners.d.mts.map +1 -0
  825. package/resources/business-partners.d.ts +140 -0
  826. package/resources/business-partners.d.ts.map +1 -0
  827. package/resources/business-partners.js +50 -0
  828. package/resources/business-partners.js.map +1 -0
  829. package/resources/business-partners.mjs +46 -0
  830. package/resources/business-partners.mjs.map +1 -0
  831. package/resources/business-structure-paths.d.mts +166 -0
  832. package/resources/business-structure-paths.d.mts.map +1 -0
  833. package/resources/business-structure-paths.d.ts +166 -0
  834. package/resources/business-structure-paths.d.ts.map +1 -0
  835. package/resources/business-structure-paths.js +46 -0
  836. package/resources/business-structure-paths.js.map +1 -0
  837. package/resources/business-structure-paths.mjs +42 -0
  838. package/resources/business-structure-paths.mjs.map +1 -0
  839. package/resources/candidate-applications.d.mts +75 -0
  840. package/resources/candidate-applications.d.mts.map +1 -0
  841. package/resources/candidate-applications.d.ts +75 -0
  842. package/resources/candidate-applications.d.ts.map +1 -0
  843. package/resources/candidate-applications.js +23 -0
  844. package/resources/candidate-applications.js.map +1 -0
  845. package/resources/candidate-applications.mjs +19 -0
  846. package/resources/candidate-applications.mjs.map +1 -0
  847. package/resources/candidates.d.mts +62 -0
  848. package/resources/candidates.d.mts.map +1 -0
  849. package/resources/candidates.d.ts +62 -0
  850. package/resources/candidates.d.ts.map +1 -0
  851. package/resources/candidates.js +25 -0
  852. package/resources/candidates.js.map +1 -0
  853. package/resources/candidates.mjs +21 -0
  854. package/resources/candidates.mjs.map +1 -0
  855. package/resources/companies.d.mts +90 -0
  856. package/resources/companies.d.mts.map +1 -0
  857. package/resources/companies.d.ts +90 -0
  858. package/resources/companies.d.ts.map +1 -0
  859. package/resources/companies.js +23 -0
  860. package/resources/companies.js.map +1 -0
  861. package/resources/companies.mjs +19 -0
  862. package/resources/companies.mjs.map +1 -0
  863. package/resources/company-legal-entities.d.mts +184 -0
  864. package/resources/company-legal-entities.d.mts.map +1 -0
  865. package/resources/company-legal-entities.d.ts +184 -0
  866. package/resources/company-legal-entities.d.ts.map +1 -0
  867. package/resources/company-legal-entities.js +30 -0
  868. package/resources/company-legal-entities.js.map +1 -0
  869. package/resources/company-legal-entities.mjs +26 -0
  870. package/resources/company-legal-entities.mjs.map +1 -0
  871. package/resources/company-legal-entity-workers.d.mts +83 -0
  872. package/resources/company-legal-entity-workers.d.mts.map +1 -0
  873. package/resources/company-legal-entity-workers.d.ts +83 -0
  874. package/resources/company-legal-entity-workers.d.ts.map +1 -0
  875. package/resources/company-legal-entity-workers.js +30 -0
  876. package/resources/company-legal-entity-workers.js.map +1 -0
  877. package/resources/company-legal-entity-workers.mjs +26 -0
  878. package/resources/company-legal-entity-workers.mjs.map +1 -0
  879. package/resources/compensation-bands-details.d.mts +102 -0
  880. package/resources/compensation-bands-details.d.mts.map +1 -0
  881. package/resources/compensation-bands-details.d.ts +102 -0
  882. package/resources/compensation-bands-details.d.ts.map +1 -0
  883. package/resources/compensation-bands-details.js +32 -0
  884. package/resources/compensation-bands-details.js.map +1 -0
  885. package/resources/compensation-bands-details.mjs +28 -0
  886. package/resources/compensation-bands-details.mjs.map +1 -0
  887. package/resources/compensations.d.mts +258 -0
  888. package/resources/compensations.d.mts.map +1 -0
  889. package/resources/compensations.d.ts +258 -0
  890. package/resources/compensations.d.ts.map +1 -0
  891. package/resources/compensations.js +30 -0
  892. package/resources/compensations.js.map +1 -0
  893. package/resources/compensations.mjs +26 -0
  894. package/resources/compensations.mjs.map +1 -0
  895. package/resources/custom-apps.d.mts +341 -0
  896. package/resources/custom-apps.d.mts.map +1 -0
  897. package/resources/custom-apps.d.ts +341 -0
  898. package/resources/custom-apps.d.ts.map +1 -0
  899. package/resources/custom-apps.js +47 -0
  900. package/resources/custom-apps.js.map +1 -0
  901. package/resources/custom-apps.mjs +43 -0
  902. package/resources/custom-apps.mjs.map +1 -0
  903. package/resources/custom-fields.d.mts +63 -0
  904. package/resources/custom-fields.d.mts.map +1 -0
  905. package/resources/custom-fields.d.ts +63 -0
  906. package/resources/custom-fields.d.ts.map +1 -0
  907. package/resources/custom-fields.js +25 -0
  908. package/resources/custom-fields.js.map +1 -0
  909. package/resources/custom-fields.mjs +21 -0
  910. package/resources/custom-fields.mjs.map +1 -0
  911. package/resources/custom-objects/custom-objects.d.mts +144 -0
  912. package/resources/custom-objects/custom-objects.d.mts.map +1 -0
  913. package/resources/custom-objects/custom-objects.d.ts +144 -0
  914. package/resources/custom-objects/custom-objects.d.ts.map +1 -0
  915. package/resources/custom-objects/custom-objects.js +62 -0
  916. package/resources/custom-objects/custom-objects.js.map +1 -0
  917. package/resources/custom-objects/custom-objects.mjs +57 -0
  918. package/resources/custom-objects/custom-objects.mjs.map +1 -0
  919. package/resources/custom-objects/fields.d.mts +305 -0
  920. package/resources/custom-objects/fields.d.mts.map +1 -0
  921. package/resources/custom-objects/fields.d.ts +305 -0
  922. package/resources/custom-objects/fields.d.ts.map +1 -0
  923. package/resources/custom-objects/fields.js +53 -0
  924. package/resources/custom-objects/fields.js.map +1 -0
  925. package/resources/custom-objects/fields.mjs +49 -0
  926. package/resources/custom-objects/fields.mjs.map +1 -0
  927. package/resources/custom-objects/index.d.mts +4 -0
  928. package/resources/custom-objects/index.d.mts.map +1 -0
  929. package/resources/custom-objects/index.d.ts +4 -0
  930. package/resources/custom-objects/index.d.ts.map +1 -0
  931. package/resources/custom-objects/index.js +11 -0
  932. package/resources/custom-objects/index.js.map +1 -0
  933. package/resources/custom-objects/index.mjs +5 -0
  934. package/resources/custom-objects/index.mjs.map +1 -0
  935. package/resources/custom-objects/records.d.mts +210 -0
  936. package/resources/custom-objects/records.d.mts.map +1 -0
  937. package/resources/custom-objects/records.d.ts +210 -0
  938. package/resources/custom-objects/records.d.ts.map +1 -0
  939. package/resources/custom-objects/records.js +96 -0
  940. package/resources/custom-objects/records.js.map +1 -0
  941. package/resources/custom-objects/records.mjs +92 -0
  942. package/resources/custom-objects/records.mjs.map +1 -0
  943. package/resources/custom-objects.d.mts +2 -0
  944. package/resources/custom-objects.d.mts.map +1 -0
  945. package/resources/custom-objects.d.ts +2 -0
  946. package/resources/custom-objects.d.ts.map +1 -0
  947. package/resources/custom-objects.js +6 -0
  948. package/resources/custom-objects.js.map +1 -0
  949. package/resources/custom-objects.mjs +3 -0
  950. package/resources/custom-objects.mjs.map +1 -0
  951. package/resources/custom-pages.d.mts +177 -0
  952. package/resources/custom-pages.d.mts.map +1 -0
  953. package/resources/custom-pages.d.ts +177 -0
  954. package/resources/custom-pages.d.ts.map +1 -0
  955. package/resources/custom-pages.js +47 -0
  956. package/resources/custom-pages.js.map +1 -0
  957. package/resources/custom-pages.mjs +43 -0
  958. package/resources/custom-pages.mjs.map +1 -0
  959. package/resources/custom-settings.d.mts +274 -0
  960. package/resources/custom-settings.d.mts.map +1 -0
  961. package/resources/custom-settings.d.ts +274 -0
  962. package/resources/custom-settings.d.ts.map +1 -0
  963. package/resources/custom-settings.js +51 -0
  964. package/resources/custom-settings.js.map +1 -0
  965. package/resources/custom-settings.mjs +47 -0
  966. package/resources/custom-settings.mjs.map +1 -0
  967. package/resources/departments.d.mts +124 -0
  968. package/resources/departments.d.mts.map +1 -0
  969. package/resources/departments.d.ts +124 -0
  970. package/resources/departments.d.ts.map +1 -0
  971. package/resources/departments.js +42 -0
  972. package/resources/departments.js.map +1 -0
  973. package/resources/departments.mjs +38 -0
  974. package/resources/departments.mjs.map +1 -0
  975. package/resources/developer-program-application.d.mts +176 -0
  976. package/resources/developer-program-application.d.mts.map +1 -0
  977. package/resources/developer-program-application.d.ts +176 -0
  978. package/resources/developer-program-application.d.ts.map +1 -0
  979. package/resources/developer-program-application.js +27 -0
  980. package/resources/developer-program-application.js.map +1 -0
  981. package/resources/developer-program-application.mjs +23 -0
  982. package/resources/developer-program-application.mjs.map +1 -0
  983. package/resources/developer-users.d.mts +53 -0
  984. package/resources/developer-users.d.mts.map +1 -0
  985. package/resources/developer-users.d.ts +53 -0
  986. package/resources/developer-users.d.ts.map +1 -0
  987. package/resources/developer-users.js +25 -0
  988. package/resources/developer-users.js.map +1 -0
  989. package/resources/developer-users.mjs +21 -0
  990. package/resources/developer-users.mjs.map +1 -0
  991. package/resources/device-orders.d.mts +151 -0
  992. package/resources/device-orders.d.mts.map +1 -0
  993. package/resources/device-orders.d.ts +151 -0
  994. package/resources/device-orders.d.ts.map +1 -0
  995. package/resources/device-orders.js +34 -0
  996. package/resources/device-orders.js.map +1 -0
  997. package/resources/device-orders.mjs +30 -0
  998. package/resources/device-orders.mjs.map +1 -0
  999. package/resources/devices.d.mts +276 -0
  1000. package/resources/devices.d.mts.map +1 -0
  1001. package/resources/devices.d.ts +276 -0
  1002. package/resources/devices.d.ts.map +1 -0
  1003. package/resources/devices.js +32 -0
  1004. package/resources/devices.js.map +1 -0
  1005. package/resources/devices.mjs +28 -0
  1006. package/resources/devices.mjs.map +1 -0
  1007. package/resources/draft-hires.d.mts +496 -0
  1008. package/resources/draft-hires.d.mts.map +1 -0
  1009. package/resources/draft-hires.d.ts +496 -0
  1010. package/resources/draft-hires.d.ts.map +1 -0
  1011. package/resources/draft-hires.js +18 -0
  1012. package/resources/draft-hires.js.map +1 -0
  1013. package/resources/draft-hires.mjs +14 -0
  1014. package/resources/draft-hires.mjs.map +1 -0
  1015. package/resources/draft-transitions.d.mts +474 -0
  1016. package/resources/draft-transitions.d.mts.map +1 -0
  1017. package/resources/draft-transitions.d.ts +474 -0
  1018. package/resources/draft-transitions.d.ts.map +1 -0
  1019. package/resources/draft-transitions.js +25 -0
  1020. package/resources/draft-transitions.js.map +1 -0
  1021. package/resources/draft-transitions.mjs +21 -0
  1022. package/resources/draft-transitions.mjs.map +1 -0
  1023. package/resources/earning-types.d.mts +50 -0
  1024. package/resources/earning-types.d.mts.map +1 -0
  1025. package/resources/earning-types.d.ts +50 -0
  1026. package/resources/earning-types.d.ts.map +1 -0
  1027. package/resources/earning-types.js +24 -0
  1028. package/resources/earning-types.js.map +1 -0
  1029. package/resources/earning-types.mjs +20 -0
  1030. package/resources/earning-types.mjs.map +1 -0
  1031. package/resources/earnings-inputs.d.mts +244 -0
  1032. package/resources/earnings-inputs.d.mts.map +1 -0
  1033. package/resources/earnings-inputs.d.ts +244 -0
  1034. package/resources/earnings-inputs.d.ts.map +1 -0
  1035. package/resources/earnings-inputs.js +41 -0
  1036. package/resources/earnings-inputs.js.map +1 -0
  1037. package/resources/earnings-inputs.mjs +37 -0
  1038. package/resources/earnings-inputs.mjs.map +1 -0
  1039. package/resources/employee-documents.d.mts +153 -0
  1040. package/resources/employee-documents.d.mts.map +1 -0
  1041. package/resources/employee-documents.d.ts +153 -0
  1042. package/resources/employee-documents.d.ts.map +1 -0
  1043. package/resources/employee-documents.js +18 -0
  1044. package/resources/employee-documents.js.map +1 -0
  1045. package/resources/employee-documents.mjs +14 -0
  1046. package/resources/employee-documents.mjs.map +1 -0
  1047. package/resources/employment-types.d.mts +85 -0
  1048. package/resources/employment-types.d.mts.map +1 -0
  1049. package/resources/employment-types.d.ts +85 -0
  1050. package/resources/employment-types.d.ts.map +1 -0
  1051. package/resources/employment-types.js +32 -0
  1052. package/resources/employment-types.js.map +1 -0
  1053. package/resources/employment-types.mjs +28 -0
  1054. package/resources/employment-types.mjs.map +1 -0
  1055. package/resources/entitlements.d.mts +33 -0
  1056. package/resources/entitlements.d.mts.map +1 -0
  1057. package/resources/entitlements.d.ts +33 -0
  1058. package/resources/entitlements.d.ts.map +1 -0
  1059. package/resources/entitlements.js +21 -0
  1060. package/resources/entitlements.js.map +1 -0
  1061. package/resources/entitlements.mjs +17 -0
  1062. package/resources/entitlements.mjs.map +1 -0
  1063. package/resources/files.d.mts +164 -0
  1064. package/resources/files.d.mts.map +1 -0
  1065. package/resources/files.d.ts +164 -0
  1066. package/resources/files.d.ts.map +1 -0
  1067. package/resources/files.js +25 -0
  1068. package/resources/files.js.map +1 -0
  1069. package/resources/files.mjs +21 -0
  1070. package/resources/files.mjs.map +1 -0
  1071. package/resources/functions/deployments.d.mts +162 -0
  1072. package/resources/functions/deployments.d.mts.map +1 -0
  1073. package/resources/functions/deployments.d.ts +162 -0
  1074. package/resources/functions/deployments.d.ts.map +1 -0
  1075. package/resources/functions/deployments.js +43 -0
  1076. package/resources/functions/deployments.js.map +1 -0
  1077. package/resources/functions/deployments.mjs +39 -0
  1078. package/resources/functions/deployments.mjs.map +1 -0
  1079. package/resources/functions/executions.d.mts +126 -0
  1080. package/resources/functions/executions.d.mts.map +1 -0
  1081. package/resources/functions/executions.d.ts +126 -0
  1082. package/resources/functions/executions.d.ts.map +1 -0
  1083. package/resources/functions/executions.js +45 -0
  1084. package/resources/functions/executions.js.map +1 -0
  1085. package/resources/functions/executions.mjs +41 -0
  1086. package/resources/functions/executions.mjs.map +1 -0
  1087. package/resources/functions/functions.d.mts +143 -0
  1088. package/resources/functions/functions.d.mts.map +1 -0
  1089. package/resources/functions/functions.d.ts +143 -0
  1090. package/resources/functions/functions.d.ts.map +1 -0
  1091. package/resources/functions/functions.js +59 -0
  1092. package/resources/functions/functions.js.map +1 -0
  1093. package/resources/functions/functions.mjs +54 -0
  1094. package/resources/functions/functions.mjs.map +1 -0
  1095. package/resources/functions/index.d.mts +4 -0
  1096. package/resources/functions/index.d.mts.map +1 -0
  1097. package/resources/functions/index.d.ts +4 -0
  1098. package/resources/functions/index.d.ts.map +1 -0
  1099. package/resources/functions/index.js +11 -0
  1100. package/resources/functions/index.js.map +1 -0
  1101. package/resources/functions/index.mjs +5 -0
  1102. package/resources/functions/index.mjs.map +1 -0
  1103. package/resources/functions.d.mts +2 -0
  1104. package/resources/functions.d.mts.map +1 -0
  1105. package/resources/functions.d.ts +2 -0
  1106. package/resources/functions.d.ts.map +1 -0
  1107. package/resources/functions.js +6 -0
  1108. package/resources/functions.js.map +1 -0
  1109. package/resources/functions.mjs +3 -0
  1110. package/resources/functions.mjs.map +1 -0
  1111. package/resources/headcount-positions.d.mts +1097 -0
  1112. package/resources/headcount-positions.d.mts.map +1 -0
  1113. package/resources/headcount-positions.d.ts +1097 -0
  1114. package/resources/headcount-positions.d.ts.map +1 -0
  1115. package/resources/headcount-positions.js +44 -0
  1116. package/resources/headcount-positions.js.map +1 -0
  1117. package/resources/headcount-positions.mjs +40 -0
  1118. package/resources/headcount-positions.mjs.map +1 -0
  1119. package/resources/headcount-priorities.d.mts +73 -0
  1120. package/resources/headcount-priorities.d.mts.map +1 -0
  1121. package/resources/headcount-priorities.d.ts +73 -0
  1122. package/resources/headcount-priorities.d.ts.map +1 -0
  1123. package/resources/headcount-priorities.js +32 -0
  1124. package/resources/headcount-priorities.js.map +1 -0
  1125. package/resources/headcount-priorities.mjs +28 -0
  1126. package/resources/headcount-priorities.mjs.map +1 -0
  1127. package/resources/hire-requirements.d.mts +112 -0
  1128. package/resources/hire-requirements.d.mts.map +1 -0
  1129. package/resources/hire-requirements.d.ts +112 -0
  1130. package/resources/hire-requirements.d.ts.map +1 -0
  1131. package/resources/hire-requirements.js +19 -0
  1132. package/resources/hire-requirements.js.map +1 -0
  1133. package/resources/hire-requirements.mjs +15 -0
  1134. package/resources/hire-requirements.mjs.map +1 -0
  1135. package/resources/hires.d.mts +657 -0
  1136. package/resources/hires.d.mts.map +1 -0
  1137. package/resources/hires.d.ts +657 -0
  1138. package/resources/hires.d.ts.map +1 -0
  1139. package/resources/hires.js +25 -0
  1140. package/resources/hires.js.map +1 -0
  1141. package/resources/hires.mjs +21 -0
  1142. package/resources/hires.mjs.map +1 -0
  1143. package/resources/index.d.mts +102 -0
  1144. package/resources/index.d.mts.map +1 -0
  1145. package/resources/index.d.ts +102 -0
  1146. package/resources/index.d.ts.map +1 -0
  1147. package/resources/index.js +208 -0
  1148. package/resources/index.js.map +1 -0
  1149. package/resources/index.mjs +103 -0
  1150. package/resources/index.mjs.map +1 -0
  1151. package/resources/job-assignments.d.mts +268 -0
  1152. package/resources/job-assignments.d.mts.map +1 -0
  1153. package/resources/job-assignments.d.ts +268 -0
  1154. package/resources/job-assignments.d.ts.map +1 -0
  1155. package/resources/job-assignments.js +64 -0
  1156. package/resources/job-assignments.js.map +1 -0
  1157. package/resources/job-assignments.mjs +60 -0
  1158. package/resources/job-assignments.mjs.map +1 -0
  1159. package/resources/job-codes.d.mts +437 -0
  1160. package/resources/job-codes.d.mts.map +1 -0
  1161. package/resources/job-codes.d.ts +437 -0
  1162. package/resources/job-codes.d.ts.map +1 -0
  1163. package/resources/job-codes.js +64 -0
  1164. package/resources/job-codes.js.map +1 -0
  1165. package/resources/job-codes.mjs +60 -0
  1166. package/resources/job-codes.mjs.map +1 -0
  1167. package/resources/job-dimensions.d.mts +173 -0
  1168. package/resources/job-dimensions.d.mts.map +1 -0
  1169. package/resources/job-dimensions.d.ts +173 -0
  1170. package/resources/job-dimensions.d.ts.map +1 -0
  1171. package/resources/job-dimensions.js +52 -0
  1172. package/resources/job-dimensions.js.map +1 -0
  1173. package/resources/job-dimensions.mjs +48 -0
  1174. package/resources/job-dimensions.mjs.map +1 -0
  1175. package/resources/job-functions.d.mts +73 -0
  1176. package/resources/job-functions.d.mts.map +1 -0
  1177. package/resources/job-functions.d.ts +73 -0
  1178. package/resources/job-functions.d.ts.map +1 -0
  1179. package/resources/job-functions.js +32 -0
  1180. package/resources/job-functions.js.map +1 -0
  1181. package/resources/job-functions.mjs +28 -0
  1182. package/resources/job-functions.mjs.map +1 -0
  1183. package/resources/job-pay-rate-exceptions.d.mts +104 -0
  1184. package/resources/job-pay-rate-exceptions.d.mts.map +1 -0
  1185. package/resources/job-pay-rate-exceptions.d.ts +104 -0
  1186. package/resources/job-pay-rate-exceptions.d.ts.map +1 -0
  1187. package/resources/job-pay-rate-exceptions.js +44 -0
  1188. package/resources/job-pay-rate-exceptions.js.map +1 -0
  1189. package/resources/job-pay-rate-exceptions.mjs +40 -0
  1190. package/resources/job-pay-rate-exceptions.mjs.map +1 -0
  1191. package/resources/job-requisitions-write.d.mts +260 -0
  1192. package/resources/job-requisitions-write.d.mts.map +1 -0
  1193. package/resources/job-requisitions-write.d.ts +260 -0
  1194. package/resources/job-requisitions-write.d.ts.map +1 -0
  1195. package/resources/job-requisitions-write.js +18 -0
  1196. package/resources/job-requisitions-write.js.map +1 -0
  1197. package/resources/job-requisitions-write.mjs +14 -0
  1198. package/resources/job-requisitions-write.mjs.map +1 -0
  1199. package/resources/job-requisitions.d.mts +50 -0
  1200. package/resources/job-requisitions.d.mts.map +1 -0
  1201. package/resources/job-requisitions.d.ts +50 -0
  1202. package/resources/job-requisitions.d.ts.map +1 -0
  1203. package/resources/job-requisitions.js +25 -0
  1204. package/resources/job-requisitions.js.map +1 -0
  1205. package/resources/job-requisitions.mjs +21 -0
  1206. package/resources/job-requisitions.mjs.map +1 -0
  1207. package/resources/kiosk-badges.d.mts +255 -0
  1208. package/resources/kiosk-badges.d.mts.map +1 -0
  1209. package/resources/kiosk-badges.d.ts +255 -0
  1210. package/resources/kiosk-badges.d.ts.map +1 -0
  1211. package/resources/kiosk-badges.js +56 -0
  1212. package/resources/kiosk-badges.js.map +1 -0
  1213. package/resources/kiosk-badges.mjs +52 -0
  1214. package/resources/kiosk-badges.mjs.map +1 -0
  1215. package/resources/leave-accruals.d.mts +318 -0
  1216. package/resources/leave-accruals.d.mts.map +1 -0
  1217. package/resources/leave-accruals.d.ts +318 -0
  1218. package/resources/leave-accruals.d.ts.map +1 -0
  1219. package/resources/leave-accruals.js +41 -0
  1220. package/resources/leave-accruals.js.map +1 -0
  1221. package/resources/leave-accruals.mjs +37 -0
  1222. package/resources/leave-accruals.mjs.map +1 -0
  1223. package/resources/leave-balances.d.mts +106 -0
  1224. package/resources/leave-balances.d.mts.map +1 -0
  1225. package/resources/leave-balances.d.ts +106 -0
  1226. package/resources/leave-balances.d.ts.map +1 -0
  1227. package/resources/leave-balances.js +31 -0
  1228. package/resources/leave-balances.js.map +1 -0
  1229. package/resources/leave-balances.mjs +27 -0
  1230. package/resources/leave-balances.mjs.map +1 -0
  1231. package/resources/leave-program-evaluations.d.mts +599 -0
  1232. package/resources/leave-program-evaluations.d.mts.map +1 -0
  1233. package/resources/leave-program-evaluations.d.ts +599 -0
  1234. package/resources/leave-program-evaluations.d.ts.map +1 -0
  1235. package/resources/leave-program-evaluations.js +18 -0
  1236. package/resources/leave-program-evaluations.js.map +1 -0
  1237. package/resources/leave-program-evaluations.mjs +14 -0
  1238. package/resources/leave-program-evaluations.mjs.map +1 -0
  1239. package/resources/leave-requests.d.mts +739 -0
  1240. package/resources/leave-requests.d.mts.map +1 -0
  1241. package/resources/leave-requests.d.ts +739 -0
  1242. package/resources/leave-requests.d.ts.map +1 -0
  1243. package/resources/leave-requests.js +47 -0
  1244. package/resources/leave-requests.js.map +1 -0
  1245. package/resources/leave-requests.mjs +43 -0
  1246. package/resources/leave-requests.mjs.map +1 -0
  1247. package/resources/leave-types.d.mts +75 -0
  1248. package/resources/leave-types.d.mts.map +1 -0
  1249. package/resources/leave-types.d.ts +75 -0
  1250. package/resources/leave-types.d.ts.map +1 -0
  1251. package/resources/leave-types.js +30 -0
  1252. package/resources/leave-types.js.map +1 -0
  1253. package/resources/leave-types.mjs +26 -0
  1254. package/resources/leave-types.mjs.map +1 -0
  1255. package/resources/legal-entities.d.mts +125 -0
  1256. package/resources/legal-entities.d.mts.map +1 -0
  1257. package/resources/legal-entities.d.ts +125 -0
  1258. package/resources/legal-entities.d.ts.map +1 -0
  1259. package/resources/legal-entities.js +30 -0
  1260. package/resources/legal-entities.js.map +1 -0
  1261. package/resources/legal-entities.mjs +26 -0
  1262. package/resources/legal-entities.mjs.map +1 -0
  1263. package/resources/levels.d.mts +182 -0
  1264. package/resources/levels.d.mts.map +1 -0
  1265. package/resources/levels.d.ts +182 -0
  1266. package/resources/levels.d.ts.map +1 -0
  1267. package/resources/levels.js +52 -0
  1268. package/resources/levels.js.map +1 -0
  1269. package/resources/levels.mjs +48 -0
  1270. package/resources/levels.mjs.map +1 -0
  1271. package/resources/listing-submissions.d.mts +86 -0
  1272. package/resources/listing-submissions.d.mts.map +1 -0
  1273. package/resources/listing-submissions.d.ts +86 -0
  1274. package/resources/listing-submissions.d.ts.map +1 -0
  1275. package/resources/listing-submissions.js +31 -0
  1276. package/resources/listing-submissions.js.map +1 -0
  1277. package/resources/listing-submissions.mjs +27 -0
  1278. package/resources/listing-submissions.mjs.map +1 -0
  1279. package/resources/listing-transitions.d.mts +59 -0
  1280. package/resources/listing-transitions.d.mts.map +1 -0
  1281. package/resources/listing-transitions.d.ts +59 -0
  1282. package/resources/listing-transitions.d.ts.map +1 -0
  1283. package/resources/listing-transitions.js +24 -0
  1284. package/resources/listing-transitions.js.map +1 -0
  1285. package/resources/listing-transitions.mjs +20 -0
  1286. package/resources/listing-transitions.mjs.map +1 -0
  1287. package/resources/listing.d.mts +1818 -0
  1288. package/resources/listing.d.mts.map +1 -0
  1289. package/resources/listing.d.ts +1818 -0
  1290. package/resources/listing.d.ts.map +1 -0
  1291. package/resources/listing.js +70 -0
  1292. package/resources/listing.js.map +1 -0
  1293. package/resources/listing.mjs +66 -0
  1294. package/resources/listing.mjs.map +1 -0
  1295. package/resources/location-factors.d.mts +119 -0
  1296. package/resources/location-factors.d.mts.map +1 -0
  1297. package/resources/location-factors.d.ts +119 -0
  1298. package/resources/location-factors.d.ts.map +1 -0
  1299. package/resources/location-factors.js +32 -0
  1300. package/resources/location-factors.js.map +1 -0
  1301. package/resources/location-factors.mjs +28 -0
  1302. package/resources/location-factors.mjs.map +1 -0
  1303. package/resources/metadata/components.d.mts +303 -0
  1304. package/resources/metadata/components.d.mts.map +1 -0
  1305. package/resources/metadata/components.d.ts +303 -0
  1306. package/resources/metadata/components.d.ts.map +1 -0
  1307. package/resources/metadata/components.js +83 -0
  1308. package/resources/metadata/components.js.map +1 -0
  1309. package/resources/metadata/components.mjs +79 -0
  1310. package/resources/metadata/components.mjs.map +1 -0
  1311. package/resources/metadata/deployment-runs.d.mts +143 -0
  1312. package/resources/metadata/deployment-runs.d.mts.map +1 -0
  1313. package/resources/metadata/deployment-runs.d.ts +143 -0
  1314. package/resources/metadata/deployment-runs.d.ts.map +1 -0
  1315. package/resources/metadata/deployment-runs.js +73 -0
  1316. package/resources/metadata/deployment-runs.js.map +1 -0
  1317. package/resources/metadata/deployment-runs.mjs +69 -0
  1318. package/resources/metadata/deployment-runs.mjs.map +1 -0
  1319. package/resources/metadata/index.d.mts +7 -0
  1320. package/resources/metadata/index.d.mts.map +1 -0
  1321. package/resources/metadata/index.d.ts +7 -0
  1322. package/resources/metadata/index.d.ts.map +1 -0
  1323. package/resources/metadata/index.js +17 -0
  1324. package/resources/metadata/index.js.map +1 -0
  1325. package/resources/metadata/index.mjs +8 -0
  1326. package/resources/metadata/index.mjs.map +1 -0
  1327. package/resources/metadata/metadata.d.mts +163 -0
  1328. package/resources/metadata/metadata.d.mts.map +1 -0
  1329. package/resources/metadata/metadata.d.ts +163 -0
  1330. package/resources/metadata/metadata.d.ts.map +1 -0
  1331. package/resources/metadata/metadata.js +65 -0
  1332. package/resources/metadata/metadata.js.map +1 -0
  1333. package/resources/metadata/metadata.mjs +60 -0
  1334. package/resources/metadata/metadata.mjs.map +1 -0
  1335. package/resources/metadata/schema.d.mts +92 -0
  1336. package/resources/metadata/schema.d.mts.map +1 -0
  1337. package/resources/metadata/schema.d.ts +92 -0
  1338. package/resources/metadata/schema.d.ts.map +1 -0
  1339. package/resources/metadata/schema.js +27 -0
  1340. package/resources/metadata/schema.js.map +1 -0
  1341. package/resources/metadata/schema.mjs +23 -0
  1342. package/resources/metadata/schema.mjs.map +1 -0
  1343. package/resources/metadata/types.d.mts +46 -0
  1344. package/resources/metadata/types.d.mts.map +1 -0
  1345. package/resources/metadata/types.d.ts +46 -0
  1346. package/resources/metadata/types.d.ts.map +1 -0
  1347. package/resources/metadata/types.js +26 -0
  1348. package/resources/metadata/types.js.map +1 -0
  1349. package/resources/metadata/types.mjs +22 -0
  1350. package/resources/metadata/types.mjs.map +1 -0
  1351. package/resources/metadata/validation-runs.d.mts +143 -0
  1352. package/resources/metadata/validation-runs.d.mts.map +1 -0
  1353. package/resources/metadata/validation-runs.d.ts +143 -0
  1354. package/resources/metadata/validation-runs.d.ts.map +1 -0
  1355. package/resources/metadata/validation-runs.js +73 -0
  1356. package/resources/metadata/validation-runs.js.map +1 -0
  1357. package/resources/metadata/validation-runs.mjs +69 -0
  1358. package/resources/metadata/validation-runs.mjs.map +1 -0
  1359. package/resources/metadata.d.mts +2 -0
  1360. package/resources/metadata.d.mts.map +1 -0
  1361. package/resources/metadata.d.ts +2 -0
  1362. package/resources/metadata.d.ts.map +1 -0
  1363. package/resources/metadata.js +6 -0
  1364. package/resources/metadata.js.map +1 -0
  1365. package/resources/metadata.mjs +3 -0
  1366. package/resources/metadata.mjs.map +1 -0
  1367. package/resources/object-categories.d.mts +85 -0
  1368. package/resources/object-categories.d.mts.map +1 -0
  1369. package/resources/object-categories.d.ts +85 -0
  1370. package/resources/object-categories.d.ts.map +1 -0
  1371. package/resources/object-categories.js +53 -0
  1372. package/resources/object-categories.js.map +1 -0
  1373. package/resources/object-categories.mjs +49 -0
  1374. package/resources/object-categories.mjs.map +1 -0
  1375. package/resources/package-installs.d.mts +108 -0
  1376. package/resources/package-installs.d.mts.map +1 -0
  1377. package/resources/package-installs.d.ts +108 -0
  1378. package/resources/package-installs.d.ts.map +1 -0
  1379. package/resources/package-installs.js +25 -0
  1380. package/resources/package-installs.js.map +1 -0
  1381. package/resources/package-installs.mjs +21 -0
  1382. package/resources/package-installs.mjs.map +1 -0
  1383. package/resources/package-managed-installs.d.mts +119 -0
  1384. package/resources/package-managed-installs.d.mts.map +1 -0
  1385. package/resources/package-managed-installs.d.ts +119 -0
  1386. package/resources/package-managed-installs.d.ts.map +1 -0
  1387. package/resources/package-managed-installs.js +26 -0
  1388. package/resources/package-managed-installs.js.map +1 -0
  1389. package/resources/package-managed-installs.mjs +22 -0
  1390. package/resources/package-managed-installs.mjs.map +1 -0
  1391. package/resources/package-sandbox-links.d.mts +150 -0
  1392. package/resources/package-sandbox-links.d.mts.map +1 -0
  1393. package/resources/package-sandbox-links.d.ts +150 -0
  1394. package/resources/package-sandbox-links.d.ts.map +1 -0
  1395. package/resources/package-sandbox-links.js +25 -0
  1396. package/resources/package-sandbox-links.js.map +1 -0
  1397. package/resources/package-sandbox-links.mjs +21 -0
  1398. package/resources/package-sandbox-links.mjs.map +1 -0
  1399. package/resources/package-uninstalls.d.mts +128 -0
  1400. package/resources/package-uninstalls.d.mts.map +1 -0
  1401. package/resources/package-uninstalls.d.ts +128 -0
  1402. package/resources/package-uninstalls.d.ts.map +1 -0
  1403. package/resources/package-uninstalls.js +25 -0
  1404. package/resources/package-uninstalls.js.map +1 -0
  1405. package/resources/package-uninstalls.mjs +21 -0
  1406. package/resources/package-uninstalls.mjs.map +1 -0
  1407. package/resources/package-upgrades.d.mts +140 -0
  1408. package/resources/package-upgrades.d.mts.map +1 -0
  1409. package/resources/package-upgrades.d.ts +140 -0
  1410. package/resources/package-upgrades.d.ts.map +1 -0
  1411. package/resources/package-upgrades.js +25 -0
  1412. package/resources/package-upgrades.js.map +1 -0
  1413. package/resources/package-upgrades.mjs +21 -0
  1414. package/resources/package-upgrades.mjs.map +1 -0
  1415. package/resources/package-version-component-updates.d.mts +117 -0
  1416. package/resources/package-version-component-updates.d.mts.map +1 -0
  1417. package/resources/package-version-component-updates.d.ts +117 -0
  1418. package/resources/package-version-component-updates.d.ts.map +1 -0
  1419. package/resources/package-version-component-updates.js +33 -0
  1420. package/resources/package-version-component-updates.js.map +1 -0
  1421. package/resources/package-version-component-updates.mjs +29 -0
  1422. package/resources/package-version-component-updates.mjs.map +1 -0
  1423. package/resources/package-versions/index.d.mts +3 -0
  1424. package/resources/package-versions/index.d.mts.map +1 -0
  1425. package/resources/package-versions/index.d.ts +3 -0
  1426. package/resources/package-versions/index.d.ts.map +1 -0
  1427. package/resources/package-versions/index.js +9 -0
  1428. package/resources/package-versions/index.js.map +1 -0
  1429. package/resources/package-versions/index.mjs +4 -0
  1430. package/resources/package-versions/index.mjs.map +1 -0
  1431. package/resources/package-versions/package-versions.d.mts +114 -0
  1432. package/resources/package-versions/package-versions.d.mts.map +1 -0
  1433. package/resources/package-versions/package-versions.d.ts +114 -0
  1434. package/resources/package-versions/package-versions.d.ts.map +1 -0
  1435. package/resources/package-versions/package-versions.js +33 -0
  1436. package/resources/package-versions/package-versions.js.map +1 -0
  1437. package/resources/package-versions/package-versions.mjs +28 -0
  1438. package/resources/package-versions/package-versions.mjs.map +1 -0
  1439. package/resources/package-versions/publish.d.mts +58 -0
  1440. package/resources/package-versions/publish.d.mts.map +1 -0
  1441. package/resources/package-versions/publish.d.ts +58 -0
  1442. package/resources/package-versions/publish.d.ts.map +1 -0
  1443. package/resources/package-versions/publish.js +19 -0
  1444. package/resources/package-versions/publish.js.map +1 -0
  1445. package/resources/package-versions/publish.mjs +15 -0
  1446. package/resources/package-versions/publish.mjs.map +1 -0
  1447. package/resources/package-versions.d.mts +2 -0
  1448. package/resources/package-versions.d.mts.map +1 -0
  1449. package/resources/package-versions.d.ts +2 -0
  1450. package/resources/package-versions.d.ts.map +1 -0
  1451. package/resources/package-versions.js +6 -0
  1452. package/resources/package-versions.js.map +1 -0
  1453. package/resources/package-versions.mjs +3 -0
  1454. package/resources/package-versions.mjs.map +1 -0
  1455. package/resources/packages/available-upgrades.d.mts +33 -0
  1456. package/resources/packages/available-upgrades.d.mts.map +1 -0
  1457. package/resources/packages/available-upgrades.d.ts +33 -0
  1458. package/resources/packages/available-upgrades.d.ts.map +1 -0
  1459. package/resources/packages/available-upgrades.js +20 -0
  1460. package/resources/packages/available-upgrades.js.map +1 -0
  1461. package/resources/packages/available-upgrades.mjs +16 -0
  1462. package/resources/packages/available-upgrades.mjs.map +1 -0
  1463. package/resources/packages/index.d.mts +5 -0
  1464. package/resources/packages/index.d.mts.map +1 -0
  1465. package/resources/packages/index.d.ts +5 -0
  1466. package/resources/packages/index.d.ts.map +1 -0
  1467. package/resources/packages/index.js +13 -0
  1468. package/resources/packages/index.js.map +1 -0
  1469. package/resources/packages/index.mjs +6 -0
  1470. package/resources/packages/index.mjs.map +1 -0
  1471. package/resources/packages/next-versions.d.mts +70 -0
  1472. package/resources/packages/next-versions.d.mts.map +1 -0
  1473. package/resources/packages/next-versions.d.ts +70 -0
  1474. package/resources/packages/next-versions.d.ts.map +1 -0
  1475. package/resources/packages/next-versions.js +21 -0
  1476. package/resources/packages/next-versions.js.map +1 -0
  1477. package/resources/packages/next-versions.mjs +17 -0
  1478. package/resources/packages/next-versions.mjs.map +1 -0
  1479. package/resources/packages/packages.d.mts +251 -0
  1480. package/resources/packages/packages.d.mts.map +1 -0
  1481. package/resources/packages/packages.d.ts +251 -0
  1482. package/resources/packages/packages.d.ts.map +1 -0
  1483. package/resources/packages/packages.js +68 -0
  1484. package/resources/packages/packages.js.map +1 -0
  1485. package/resources/packages/packages.mjs +63 -0
  1486. package/resources/packages/packages.mjs.map +1 -0
  1487. package/resources/packages/versions.d.mts +123 -0
  1488. package/resources/packages/versions.d.mts.map +1 -0
  1489. package/resources/packages/versions.d.ts +123 -0
  1490. package/resources/packages/versions.d.ts.map +1 -0
  1491. package/resources/packages/versions.js +26 -0
  1492. package/resources/packages/versions.js.map +1 -0
  1493. package/resources/packages/versions.mjs +22 -0
  1494. package/resources/packages/versions.mjs.map +1 -0
  1495. package/resources/packages.d.mts +2 -0
  1496. package/resources/packages.d.mts.map +1 -0
  1497. package/resources/packages.d.ts +2 -0
  1498. package/resources/packages.d.ts.map +1 -0
  1499. package/resources/packages.js +6 -0
  1500. package/resources/packages.js.map +1 -0
  1501. package/resources/packages.mjs +3 -0
  1502. package/resources/packages.mjs.map +1 -0
  1503. package/resources/payroll-runs/index.d.mts +3 -0
  1504. package/resources/payroll-runs/index.d.mts.map +1 -0
  1505. package/resources/payroll-runs/index.d.ts +3 -0
  1506. package/resources/payroll-runs/index.d.ts.map +1 -0
  1507. package/resources/payroll-runs/index.js +9 -0
  1508. package/resources/payroll-runs/index.js.map +1 -0
  1509. package/resources/payroll-runs/index.mjs +4 -0
  1510. package/resources/payroll-runs/index.mjs.map +1 -0
  1511. package/resources/payroll-runs/payroll-runs.d.mts +204 -0
  1512. package/resources/payroll-runs/payroll-runs.d.mts.map +1 -0
  1513. package/resources/payroll-runs/payroll-runs.d.ts +204 -0
  1514. package/resources/payroll-runs/payroll-runs.d.ts.map +1 -0
  1515. package/resources/payroll-runs/payroll-runs.js +40 -0
  1516. package/resources/payroll-runs/payroll-runs.js.map +1 -0
  1517. package/resources/payroll-runs/payroll-runs.mjs +35 -0
  1518. package/resources/payroll-runs/payroll-runs.mjs.map +1 -0
  1519. package/resources/payroll-runs/worker-payroll-records.d.mts +204 -0
  1520. package/resources/payroll-runs/worker-payroll-records.d.mts.map +1 -0
  1521. package/resources/payroll-runs/worker-payroll-records.d.ts +204 -0
  1522. package/resources/payroll-runs/worker-payroll-records.d.ts.map +1 -0
  1523. package/resources/payroll-runs/worker-payroll-records.js +23 -0
  1524. package/resources/payroll-runs/worker-payroll-records.js.map +1 -0
  1525. package/resources/payroll-runs/worker-payroll-records.mjs +19 -0
  1526. package/resources/payroll-runs/worker-payroll-records.mjs.map +1 -0
  1527. package/resources/payroll-runs.d.mts +2 -0
  1528. package/resources/payroll-runs.d.mts.map +1 -0
  1529. package/resources/payroll-runs.d.ts +2 -0
  1530. package/resources/payroll-runs.d.ts.map +1 -0
  1531. package/resources/payroll-runs.js +6 -0
  1532. package/resources/payroll-runs.js.map +1 -0
  1533. package/resources/payroll-runs.mjs +3 -0
  1534. package/resources/payroll-runs.mjs.map +1 -0
  1535. package/resources/platform-capabilities.d.mts +25 -0
  1536. package/resources/platform-capabilities.d.mts.map +1 -0
  1537. package/resources/platform-capabilities.d.ts +25 -0
  1538. package/resources/platform-capabilities.d.ts.map +1 -0
  1539. package/resources/platform-capabilities.js +21 -0
  1540. package/resources/platform-capabilities.js.map +1 -0
  1541. package/resources/platform-capabilities.mjs +17 -0
  1542. package/resources/platform-capabilities.mjs.map +1 -0
  1543. package/resources/report-runs.d.mts +218 -0
  1544. package/resources/report-runs.d.mts.map +1 -0
  1545. package/resources/report-runs.d.ts +218 -0
  1546. package/resources/report-runs.d.ts.map +1 -0
  1547. package/resources/report-runs.js +25 -0
  1548. package/resources/report-runs.js.map +1 -0
  1549. package/resources/report-runs.mjs +21 -0
  1550. package/resources/report-runs.mjs.map +1 -0
  1551. package/resources/reports/available-filters.d.mts +49 -0
  1552. package/resources/reports/available-filters.d.mts.map +1 -0
  1553. package/resources/reports/available-filters.d.ts +49 -0
  1554. package/resources/reports/available-filters.d.ts.map +1 -0
  1555. package/resources/reports/available-filters.js +20 -0
  1556. package/resources/reports/available-filters.js.map +1 -0
  1557. package/resources/reports/available-filters.mjs +16 -0
  1558. package/resources/reports/available-filters.mjs.map +1 -0
  1559. package/resources/reports/index.d.mts +3 -0
  1560. package/resources/reports/index.d.mts.map +1 -0
  1561. package/resources/reports/index.d.ts +3 -0
  1562. package/resources/reports/index.d.ts.map +1 -0
  1563. package/resources/reports/index.js +9 -0
  1564. package/resources/reports/index.js.map +1 -0
  1565. package/resources/reports/index.mjs +4 -0
  1566. package/resources/reports/index.mjs.map +1 -0
  1567. package/resources/reports/reports.d.mts +85 -0
  1568. package/resources/reports/reports.d.mts.map +1 -0
  1569. package/resources/reports/reports.d.ts +85 -0
  1570. package/resources/reports/reports.d.ts.map +1 -0
  1571. package/resources/reports/reports.js +27 -0
  1572. package/resources/reports/reports.js.map +1 -0
  1573. package/resources/reports/reports.mjs +22 -0
  1574. package/resources/reports/reports.mjs.map +1 -0
  1575. package/resources/reports.d.mts +2 -0
  1576. package/resources/reports.d.mts.map +1 -0
  1577. package/resources/reports.d.ts +2 -0
  1578. package/resources/reports.d.ts.map +1 -0
  1579. package/resources/reports.js +6 -0
  1580. package/resources/reports.js.map +1 -0
  1581. package/resources/reports.mjs +3 -0
  1582. package/resources/reports.mjs.map +1 -0
  1583. package/resources/sandboxes.d.mts +904 -0
  1584. package/resources/sandboxes.d.mts.map +1 -0
  1585. package/resources/sandboxes.d.ts +904 -0
  1586. package/resources/sandboxes.d.ts.map +1 -0
  1587. package/resources/sandboxes.js +52 -0
  1588. package/resources/sandboxes.js.map +1 -0
  1589. package/resources/sandboxes.mjs +48 -0
  1590. package/resources/sandboxes.mjs.map +1 -0
  1591. package/resources/scheduled-job-assignments.d.mts +152 -0
  1592. package/resources/scheduled-job-assignments.d.mts.map +1 -0
  1593. package/resources/scheduled-job-assignments.d.ts +152 -0
  1594. package/resources/scheduled-job-assignments.d.ts.map +1 -0
  1595. package/resources/scheduled-job-assignments.js +39 -0
  1596. package/resources/scheduled-job-assignments.js.map +1 -0
  1597. package/resources/scheduled-job-assignments.mjs +35 -0
  1598. package/resources/scheduled-job-assignments.mjs.map +1 -0
  1599. package/resources/schedules.d.mts +397 -0
  1600. package/resources/schedules.d.mts.map +1 -0
  1601. package/resources/schedules.d.ts +397 -0
  1602. package/resources/schedules.d.ts.map +1 -0
  1603. package/resources/schedules.js +42 -0
  1604. package/resources/schedules.js.map +1 -0
  1605. package/resources/schedules.mjs +38 -0
  1606. package/resources/schedules.mjs.map +1 -0
  1607. package/resources/shared.d.mts +90 -0
  1608. package/resources/shared.d.mts.map +1 -0
  1609. package/resources/shared.d.ts +90 -0
  1610. package/resources/shared.d.ts.map +1 -0
  1611. package/resources/shared.js +4 -0
  1612. package/resources/shared.js.map +1 -0
  1613. package/resources/shared.mjs +3 -0
  1614. package/resources/shared.mjs.map +1 -0
  1615. package/resources/shift-assignments.d.mts +299 -0
  1616. package/resources/shift-assignments.d.mts.map +1 -0
  1617. package/resources/shift-assignments.d.ts +299 -0
  1618. package/resources/shift-assignments.d.ts.map +1 -0
  1619. package/resources/shift-assignments.js +28 -0
  1620. package/resources/shift-assignments.js.map +1 -0
  1621. package/resources/shift-assignments.mjs +24 -0
  1622. package/resources/shift-assignments.mjs.map +1 -0
  1623. package/resources/shift-inputs.d.mts +299 -0
  1624. package/resources/shift-inputs.d.mts.map +1 -0
  1625. package/resources/shift-inputs.d.ts +299 -0
  1626. package/resources/shift-inputs.d.ts.map +1 -0
  1627. package/resources/shift-inputs.js +56 -0
  1628. package/resources/shift-inputs.js.map +1 -0
  1629. package/resources/shift-inputs.mjs +52 -0
  1630. package/resources/shift-inputs.mjs.map +1 -0
  1631. package/resources/shiftassignments.d.mts +1252 -0
  1632. package/resources/shiftassignments.d.mts.map +1 -0
  1633. package/resources/shiftassignments.d.ts +1252 -0
  1634. package/resources/shiftassignments.d.ts.map +1 -0
  1635. package/resources/shiftassignments.js +47 -0
  1636. package/resources/shiftassignments.js.map +1 -0
  1637. package/resources/shiftassignments.mjs +43 -0
  1638. package/resources/shiftassignments.mjs.map +1 -0
  1639. package/resources/sites.d.mts +610 -0
  1640. package/resources/sites.d.mts.map +1 -0
  1641. package/resources/sites.d.ts +610 -0
  1642. package/resources/sites.d.ts.map +1 -0
  1643. package/resources/sites.js +154 -0
  1644. package/resources/sites.js.map +1 -0
  1645. package/resources/sites.mjs +150 -0
  1646. package/resources/sites.mjs.map +1 -0
  1647. package/resources/software-deployments.d.mts +472 -0
  1648. package/resources/software-deployments.d.mts.map +1 -0
  1649. package/resources/software-deployments.d.ts +472 -0
  1650. package/resources/software-deployments.d.ts.map +1 -0
  1651. package/resources/software-deployments.js +56 -0
  1652. package/resources/software-deployments.js.map +1 -0
  1653. package/resources/software-deployments.mjs +52 -0
  1654. package/resources/software-deployments.mjs.map +1 -0
  1655. package/resources/sso-me.d.mts +56 -0
  1656. package/resources/sso-me.d.mts.map +1 -0
  1657. package/resources/sso-me.d.ts +56 -0
  1658. package/resources/sso-me.d.ts.map +1 -0
  1659. package/resources/sso-me.js +21 -0
  1660. package/resources/sso-me.js.map +1 -0
  1661. package/resources/sso-me.mjs +17 -0
  1662. package/resources/sso-me.mjs.map +1 -0
  1663. package/resources/supergroups/exclusion-members.d.mts +66 -0
  1664. package/resources/supergroups/exclusion-members.d.mts.map +1 -0
  1665. package/resources/supergroups/exclusion-members.d.ts +66 -0
  1666. package/resources/supergroups/exclusion-members.d.ts.map +1 -0
  1667. package/resources/supergroups/exclusion-members.js +30 -0
  1668. package/resources/supergroups/exclusion-members.js.map +1 -0
  1669. package/resources/supergroups/exclusion-members.mjs +26 -0
  1670. package/resources/supergroups/exclusion-members.mjs.map +1 -0
  1671. package/resources/supergroups/inclusion-members.d.mts +66 -0
  1672. package/resources/supergroups/inclusion-members.d.mts.map +1 -0
  1673. package/resources/supergroups/inclusion-members.d.ts +66 -0
  1674. package/resources/supergroups/inclusion-members.d.ts.map +1 -0
  1675. package/resources/supergroups/inclusion-members.js +30 -0
  1676. package/resources/supergroups/inclusion-members.js.map +1 -0
  1677. package/resources/supergroups/inclusion-members.mjs +26 -0
  1678. package/resources/supergroups/inclusion-members.mjs.map +1 -0
  1679. package/resources/supergroups/index.d.mts +5 -0
  1680. package/resources/supergroups/index.d.mts.map +1 -0
  1681. package/resources/supergroups/index.d.ts +5 -0
  1682. package/resources/supergroups/index.d.ts.map +1 -0
  1683. package/resources/supergroups/index.js +13 -0
  1684. package/resources/supergroups/index.js.map +1 -0
  1685. package/resources/supergroups/index.mjs +6 -0
  1686. package/resources/supergroups/index.mjs.map +1 -0
  1687. package/resources/supergroups/members.d.mts +32 -0
  1688. package/resources/supergroups/members.d.mts.map +1 -0
  1689. package/resources/supergroups/members.d.ts +32 -0
  1690. package/resources/supergroups/members.d.ts.map +1 -0
  1691. package/resources/supergroups/members.js +24 -0
  1692. package/resources/supergroups/members.js.map +1 -0
  1693. package/resources/supergroups/members.mjs +20 -0
  1694. package/resources/supergroups/members.mjs.map +1 -0
  1695. package/resources/supergroups/supergroups.d.mts +131 -0
  1696. package/resources/supergroups/supergroups.d.mts.map +1 -0
  1697. package/resources/supergroups/supergroups.d.ts +131 -0
  1698. package/resources/supergroups/supergroups.d.ts.map +1 -0
  1699. package/resources/supergroups/supergroups.js +46 -0
  1700. package/resources/supergroups/supergroups.js.map +1 -0
  1701. package/resources/supergroups/supergroups.mjs +41 -0
  1702. package/resources/supergroups/supergroups.mjs.map +1 -0
  1703. package/resources/supergroups.d.mts +2 -0
  1704. package/resources/supergroups.d.mts.map +1 -0
  1705. package/resources/supergroups.d.ts +2 -0
  1706. package/resources/supergroups.d.ts.map +1 -0
  1707. package/resources/supergroups.js +6 -0
  1708. package/resources/supergroups.js.map +1 -0
  1709. package/resources/supergroups.mjs +3 -0
  1710. package/resources/supergroups.mjs.map +1 -0
  1711. package/resources/teams.d.mts +104 -0
  1712. package/resources/teams.d.mts.map +1 -0
  1713. package/resources/teams.d.ts +104 -0
  1714. package/resources/teams.d.ts.map +1 -0
  1715. package/resources/teams.js +52 -0
  1716. package/resources/teams.js.map +1 -0
  1717. package/resources/teams.mjs +48 -0
  1718. package/resources/teams.mjs.map +1 -0
  1719. package/resources/time-cards.d.mts +164 -0
  1720. package/resources/time-cards.d.mts.map +1 -0
  1721. package/resources/time-cards.d.ts +164 -0
  1722. package/resources/time-cards.d.ts.map +1 -0
  1723. package/resources/time-cards.js +31 -0
  1724. package/resources/time-cards.js.map +1 -0
  1725. package/resources/time-cards.mjs +27 -0
  1726. package/resources/time-cards.mjs.map +1 -0
  1727. package/resources/time-entries.d.mts +1503 -0
  1728. package/resources/time-entries.d.mts.map +1 -0
  1729. package/resources/time-entries.d.ts +1503 -0
  1730. package/resources/time-entries.d.ts.map +1 -0
  1731. package/resources/time-entries.js +57 -0
  1732. package/resources/time-entries.js.map +1 -0
  1733. package/resources/time-entries.mjs +53 -0
  1734. package/resources/time-entries.mjs.map +1 -0
  1735. package/resources/titles.d.mts +133 -0
  1736. package/resources/titles.d.mts.map +1 -0
  1737. package/resources/titles.d.ts +133 -0
  1738. package/resources/titles.d.ts.map +1 -0
  1739. package/resources/titles.js +51 -0
  1740. package/resources/titles.js.map +1 -0
  1741. package/resources/titles.mjs +47 -0
  1742. package/resources/titles.mjs.map +1 -0
  1743. package/resources/tracks.d.mts +101 -0
  1744. package/resources/tracks.d.mts.map +1 -0
  1745. package/resources/tracks.d.ts +101 -0
  1746. package/resources/tracks.d.ts.map +1 -0
  1747. package/resources/tracks.js +51 -0
  1748. package/resources/tracks.js.map +1 -0
  1749. package/resources/tracks.mjs +47 -0
  1750. package/resources/tracks.mjs.map +1 -0
  1751. package/resources/unassigned-shifts.d.mts +337 -0
  1752. package/resources/unassigned-shifts.d.mts.map +1 -0
  1753. package/resources/unassigned-shifts.d.ts +337 -0
  1754. package/resources/unassigned-shifts.d.ts.map +1 -0
  1755. package/resources/unassigned-shifts.js +45 -0
  1756. package/resources/unassigned-shifts.js.map +1 -0
  1757. package/resources/unassigned-shifts.mjs +41 -0
  1758. package/resources/unassigned-shifts.mjs.map +1 -0
  1759. package/resources/unassignedshifts.d.mts +1254 -0
  1760. package/resources/unassignedshifts.d.mts.map +1 -0
  1761. package/resources/unassignedshifts.d.ts +1254 -0
  1762. package/resources/unassignedshifts.d.ts.map +1 -0
  1763. package/resources/unassignedshifts.js +47 -0
  1764. package/resources/unassignedshifts.js.map +1 -0
  1765. package/resources/unassignedshifts.mjs +43 -0
  1766. package/resources/unassignedshifts.mjs.map +1 -0
  1767. package/resources/users.d.mts +208 -0
  1768. package/resources/users.d.mts.map +1 -0
  1769. package/resources/users.d.ts +208 -0
  1770. package/resources/users.d.ts.map +1 -0
  1771. package/resources/users.js +29 -0
  1772. package/resources/users.js.map +1 -0
  1773. package/resources/users.mjs +25 -0
  1774. package/resources/users.mjs.map +1 -0
  1775. package/resources/variable-compensation-payout-labels.d.mts +155 -0
  1776. package/resources/variable-compensation-payout-labels.d.mts.map +1 -0
  1777. package/resources/variable-compensation-payout-labels.d.ts +155 -0
  1778. package/resources/variable-compensation-payout-labels.d.ts.map +1 -0
  1779. package/resources/variable-compensation-payout-labels.js +41 -0
  1780. package/resources/variable-compensation-payout-labels.js.map +1 -0
  1781. package/resources/variable-compensation-payout-labels.mjs +37 -0
  1782. package/resources/variable-compensation-payout-labels.mjs.map +1 -0
  1783. package/resources/variable-compensation-payout-types.d.mts +334 -0
  1784. package/resources/variable-compensation-payout-types.d.mts.map +1 -0
  1785. package/resources/variable-compensation-payout-types.d.ts +334 -0
  1786. package/resources/variable-compensation-payout-types.d.ts.map +1 -0
  1787. package/resources/variable-compensation-payout-types.js +52 -0
  1788. package/resources/variable-compensation-payout-types.js.map +1 -0
  1789. package/resources/variable-compensation-payout-types.mjs +48 -0
  1790. package/resources/variable-compensation-payout-types.mjs.map +1 -0
  1791. package/resources/variable-compensation-payout-writes.d.mts +115 -0
  1792. package/resources/variable-compensation-payout-writes.d.mts.map +1 -0
  1793. package/resources/variable-compensation-payout-writes.d.ts +115 -0
  1794. package/resources/variable-compensation-payout-writes.d.ts.map +1 -0
  1795. package/resources/variable-compensation-payout-writes.js +19 -0
  1796. package/resources/variable-compensation-payout-writes.js.map +1 -0
  1797. package/resources/variable-compensation-payout-writes.mjs +15 -0
  1798. package/resources/variable-compensation-payout-writes.mjs.map +1 -0
  1799. package/resources/variable-compensation-payouts.d.mts +501 -0
  1800. package/resources/variable-compensation-payouts.d.mts.map +1 -0
  1801. package/resources/variable-compensation-payouts.d.ts +501 -0
  1802. package/resources/variable-compensation-payouts.d.ts.map +1 -0
  1803. package/resources/variable-compensation-payouts.js +41 -0
  1804. package/resources/variable-compensation-payouts.js.map +1 -0
  1805. package/resources/variable-compensation-payouts.mjs +37 -0
  1806. package/resources/variable-compensation-payouts.mjs.map +1 -0
  1807. package/resources/work-locations.d.mts +160 -0
  1808. package/resources/work-locations.d.mts.map +1 -0
  1809. package/resources/work-locations.d.ts +160 -0
  1810. package/resources/work-locations.d.ts.map +1 -0
  1811. package/resources/work-locations.js +51 -0
  1812. package/resources/work-locations.js.map +1 -0
  1813. package/resources/work-locations.mjs +47 -0
  1814. package/resources/work-locations.mjs.map +1 -0
  1815. package/resources/worker-change-fields.d.mts +44 -0
  1816. package/resources/worker-change-fields.d.mts.map +1 -0
  1817. package/resources/worker-change-fields.d.ts +44 -0
  1818. package/resources/worker-change-fields.d.ts.map +1 -0
  1819. package/resources/worker-change-fields.js +21 -0
  1820. package/resources/worker-change-fields.js.map +1 -0
  1821. package/resources/worker-change-fields.mjs +17 -0
  1822. package/resources/worker-change-fields.mjs.map +1 -0
  1823. package/resources/worker-changes.d.mts +271 -0
  1824. package/resources/worker-changes.d.mts.map +1 -0
  1825. package/resources/worker-changes.d.ts +271 -0
  1826. package/resources/worker-changes.d.ts.map +1 -0
  1827. package/resources/worker-changes.js +36 -0
  1828. package/resources/worker-changes.js.map +1 -0
  1829. package/resources/worker-changes.mjs +32 -0
  1830. package/resources/worker-changes.mjs.map +1 -0
  1831. package/resources/worker-time-splits.d.mts +375 -0
  1832. package/resources/worker-time-splits.d.mts.map +1 -0
  1833. package/resources/worker-time-splits.d.ts +375 -0
  1834. package/resources/worker-time-splits.d.ts.map +1 -0
  1835. package/resources/worker-time-splits.js +56 -0
  1836. package/resources/worker-time-splits.js.map +1 -0
  1837. package/resources/worker-time-splits.mjs +52 -0
  1838. package/resources/worker-time-splits.mjs.map +1 -0
  1839. package/resources/workers.d.mts +399 -0
  1840. package/resources/workers.d.mts.map +1 -0
  1841. package/resources/workers.d.ts +399 -0
  1842. package/resources/workers.d.ts.map +1 -0
  1843. package/resources/workers.js +34 -0
  1844. package/resources/workers.js.map +1 -0
  1845. package/resources/workers.mjs +30 -0
  1846. package/resources/workers.mjs.map +1 -0
  1847. package/resources/workflow-action-executions.d.mts +33 -0
  1848. package/resources/workflow-action-executions.d.mts.map +1 -0
  1849. package/resources/workflow-action-executions.d.ts +33 -0
  1850. package/resources/workflow-action-executions.d.ts.map +1 -0
  1851. package/resources/workflow-action-executions.js +18 -0
  1852. package/resources/workflow-action-executions.js.map +1 -0
  1853. package/resources/workflow-action-executions.mjs +14 -0
  1854. package/resources/workflow-action-executions.mjs.map +1 -0
  1855. package/resources/workflows.d.mts +768 -0
  1856. package/resources/workflows.d.mts.map +1 -0
  1857. package/resources/workflows.d.ts +768 -0
  1858. package/resources/workflows.d.ts.map +1 -0
  1859. package/resources/workflows.js +48 -0
  1860. package/resources/workflows.js.map +1 -0
  1861. package/resources/workflows.mjs +44 -0
  1862. package/resources/workflows.mjs.map +1 -0
  1863. package/resources.d.mts +2 -0
  1864. package/resources.d.mts.map +1 -0
  1865. package/resources.d.ts +2 -0
  1866. package/resources.d.ts.map +1 -0
  1867. package/resources.js +5 -0
  1868. package/resources.js.map +1 -0
  1869. package/resources.mjs +2 -0
  1870. package/resources.mjs.map +1 -0
  1871. package/src/api-promise.ts +2 -0
  1872. package/src/client.ts +2996 -0
  1873. package/src/core/README.md +3 -0
  1874. package/src/core/api-promise.ts +92 -0
  1875. package/src/core/error.ts +130 -0
  1876. package/src/core/pagination.ts +155 -0
  1877. package/src/core/platform/custom-objects/category.ts +294 -0
  1878. package/src/core/platform/custom-objects/definition.ts +373 -0
  1879. package/src/core/platform/custom-objects/fields.ts +653 -0
  1880. package/src/core/platform/custom-objects/function-runtime.ts +76 -0
  1881. package/src/core/platform/custom-objects/lifecycle.ts +557 -0
  1882. package/src/core/platform/custom-objects/manager.ts +959 -0
  1883. package/src/core/platform/custom-objects/provisioning.ts +672 -0
  1884. package/src/core/platform/custom-objects/rql.ts +375 -0
  1885. package/src/core/platform/custom-objects/schema-manager.ts +351 -0
  1886. package/src/core/platform/custom-objects/typed-rql.ts +1273 -0
  1887. package/src/core/platform/custom-objects/types.ts +753 -0
  1888. package/src/core/platform/custom-objects/validation.ts +573 -0
  1889. package/src/core/platform/custom-objects.ts +269 -0
  1890. package/src/core/resource.ts +11 -0
  1891. package/src/core/uploads.ts +2 -0
  1892. package/src/error.ts +2 -0
  1893. package/src/functions.md +254 -0
  1894. package/src/functions.ts +270 -0
  1895. package/src/index.ts +25 -0
  1896. package/src/internal/README.md +3 -0
  1897. package/src/internal/builtin-types.ts +93 -0
  1898. package/src/internal/detect-platform.ts +196 -0
  1899. package/src/internal/errors.ts +33 -0
  1900. package/src/internal/headers.ts +97 -0
  1901. package/src/internal/parse.ts +56 -0
  1902. package/src/internal/request-options.ts +91 -0
  1903. package/src/internal/shim-types.ts +26 -0
  1904. package/src/internal/shims.ts +107 -0
  1905. package/src/internal/to-file.ts +154 -0
  1906. package/src/internal/types.ts +93 -0
  1907. package/src/internal/uploads.ts +187 -0
  1908. package/src/internal/utils/base64.ts +40 -0
  1909. package/src/internal/utils/bytes.ts +32 -0
  1910. package/src/internal/utils/env.ts +18 -0
  1911. package/src/internal/utils/log.ts +128 -0
  1912. package/src/internal/utils/path.ts +88 -0
  1913. package/src/internal/utils/query.ts +23 -0
  1914. package/src/internal/utils/sleep.ts +3 -0
  1915. package/src/internal/utils/uuid.ts +17 -0
  1916. package/src/internal/utils/values.ts +105 -0
  1917. package/src/internal/utils.ts +9 -0
  1918. package/src/lib/.keep +4 -0
  1919. package/src/lib/leave-programs/README.md +160 -0
  1920. package/src/lib/leave-programs/advanced.ts +11 -0
  1921. package/src/lib/leave-programs/context.ts +101 -0
  1922. package/src/lib/leave-programs/define-company-leave-program.ts +58 -0
  1923. package/src/lib/leave-programs/duration.ts +20 -0
  1924. package/src/lib/leave-programs/pay.ts +18 -0
  1925. package/src/lib/leave-programs/policy-builder.ts +113 -0
  1926. package/src/lib/leave-programs/recipes/parental-top-up-policy.ts +85 -0
  1927. package/src/lib/leave-programs/testing.ts +16 -0
  1928. package/src/lib/leave-programs/types.ts +274 -0
  1929. package/src/lib/leave-programs.ts +35 -0
  1930. package/src/lib/manifest/_existing-component-fields.ts +96 -0
  1931. package/src/lib/manifest/_helpers.ts +168 -0
  1932. package/src/lib/manifest/acp-agent-source-files.ts +42 -0
  1933. package/src/lib/manifest/acp-agent.ts +215 -0
  1934. package/src/lib/manifest/agent.ts +141 -0
  1935. package/src/lib/manifest/app.ts +233 -0
  1936. package/src/lib/manifest/business-event.ts +72 -0
  1937. package/src/lib/manifest/category.ts +129 -0
  1938. package/src/lib/manifest/custom-field-section.ts +86 -0
  1939. package/src/lib/manifest/custom-field.ts +420 -0
  1940. package/src/lib/manifest/custom-object-action.ts +119 -0
  1941. package/src/lib/manifest/custom-object-field-section.ts +137 -0
  1942. package/src/lib/manifest/custom-object-page-layout.ts +2378 -0
  1943. package/src/lib/manifest/custom-object.ts +544 -0
  1944. package/src/lib/manifest/custom-skill.ts +205 -0
  1945. package/src/lib/manifest/existing-manifest-context.ts +923 -0
  1946. package/src/lib/manifest/field.ts +1065 -0
  1947. package/src/lib/manifest/index.ts +284 -0
  1948. package/src/lib/manifest/list-view.ts +253 -0
  1949. package/src/lib/manifest/manifest-builder.ts +255 -0
  1950. package/src/lib/manifest/manifest-function.ts +186 -0
  1951. package/src/lib/manifest/node.ts +4 -0
  1952. package/src/lib/manifest/rule.ts +291 -0
  1953. package/src/lib/manifest/sdui-page.ts +175 -0
  1954. package/src/lib/manifest/validation.ts +202 -0
  1955. package/src/lib/manifest/workflow.ts +248 -0
  1956. package/src/lib/manifest.ts +1 -0
  1957. package/src/pagination.ts +2 -0
  1958. package/src/resource.ts +2 -0
  1959. package/src/resources/agents/agents.ts +340 -0
  1960. package/src/resources/agents/deployments.ts +249 -0
  1961. package/src/resources/agents/index.ts +40 -0
  1962. package/src/resources/agents/sessions/events.ts +107 -0
  1963. package/src/resources/agents/sessions/index.ts +14 -0
  1964. package/src/resources/agents/sessions/messages.ts +111 -0
  1965. package/src/resources/agents/sessions/resume-state.ts +32 -0
  1966. package/src/resources/agents/sessions/sessions.ts +333 -0
  1967. package/src/resources/agents/sessions.ts +3 -0
  1968. package/src/resources/agents/source-revisions.ts +267 -0
  1969. package/src/resources/agents.ts +3 -0
  1970. package/src/resources/app-users.ts +275 -0
  1971. package/src/resources/background-check-candidates.ts +434 -0
  1972. package/src/resources/break-policies.ts +131 -0
  1973. package/src/resources/break-types.ts +252 -0
  1974. package/src/resources/business-partner-groups.ts +156 -0
  1975. package/src/resources/business-partners.ts +200 -0
  1976. package/src/resources/business-structure-paths.ts +240 -0
  1977. package/src/resources/candidate-applications.ts +106 -0
  1978. package/src/resources/candidates.ts +89 -0
  1979. package/src/resources/companies.ts +120 -0
  1980. package/src/resources/company-legal-entities.ts +242 -0
  1981. package/src/resources/company-legal-entity-workers.ts +120 -0
  1982. package/src/resources/compensation-bands-details.ts +148 -0
  1983. package/src/resources/compensations.ts +323 -0
  1984. package/src/resources/custom-apps.ts +442 -0
  1985. package/src/resources/custom-fields.ts +109 -0
  1986. package/src/resources/custom-objects/custom-objects.ts +258 -0
  1987. package/src/resources/custom-objects/fields.ts +459 -0
  1988. package/src/resources/custom-objects/index.ts +35 -0
  1989. package/src/resources/custom-objects/records.ts +353 -0
  1990. package/src/resources/custom-objects.ts +3 -0
  1991. package/src/resources/custom-pages.ts +247 -0
  1992. package/src/resources/custom-settings.ts +376 -0
  1993. package/src/resources/departments.ts +175 -0
  1994. package/src/resources/developer-program-application.ts +233 -0
  1995. package/src/resources/developer-users.ts +77 -0
  1996. package/src/resources/device-orders.ts +205 -0
  1997. package/src/resources/devices.ts +501 -0
  1998. package/src/resources/draft-hires.ts +599 -0
  1999. package/src/resources/draft-transitions.ts +583 -0
  2000. package/src/resources/earning-types.ts +72 -0
  2001. package/src/resources/earnings-inputs.ts +322 -0
  2002. package/src/resources/employee-documents.ts +183 -0
  2003. package/src/resources/employment-types.ts +117 -0
  2004. package/src/resources/entitlements.ts +47 -0
  2005. package/src/resources/files.ts +203 -0
  2006. package/src/resources/functions/deployments.ts +228 -0
  2007. package/src/resources/functions/executions.ts +193 -0
  2008. package/src/resources/functions/functions.ts +244 -0
  2009. package/src/resources/functions/index.ts +31 -0
  2010. package/src/resources/functions.ts +3 -0
  2011. package/src/resources/headcount-positions.ts +1829 -0
  2012. package/src/resources/headcount-priorities.ts +105 -0
  2013. package/src/resources/hire-requirements.ts +140 -0
  2014. package/src/resources/hires.ts +786 -0
  2015. package/src/resources/index.ts +807 -0
  2016. package/src/resources/job-assignments.ts +375 -0
  2017. package/src/resources/job-codes.ts +562 -0
  2018. package/src/resources/job-dimensions.ts +235 -0
  2019. package/src/resources/job-functions.ts +105 -0
  2020. package/src/resources/job-pay-rate-exceptions.ts +161 -0
  2021. package/src/resources/job-requisitions-write.ts +330 -0
  2022. package/src/resources/job-requisitions.ts +74 -0
  2023. package/src/resources/kiosk-badges.ts +353 -0
  2024. package/src/resources/leave-accruals.ts +490 -0
  2025. package/src/resources/leave-balances.ts +147 -0
  2026. package/src/resources/leave-program-evaluations.ts +737 -0
  2027. package/src/resources/leave-requests.ts +938 -0
  2028. package/src/resources/leave-types.ts +105 -0
  2029. package/src/resources/legal-entities.ts +418 -0
  2030. package/src/resources/levels.ts +254 -0
  2031. package/src/resources/listing-submissions.ts +120 -0
  2032. package/src/resources/listing-transitions.ts +84 -0
  2033. package/src/resources/listing.ts +2297 -0
  2034. package/src/resources/location-factors.ts +657 -0
  2035. package/src/resources/metadata/components.ts +349 -0
  2036. package/src/resources/metadata/deployment-runs.ts +186 -0
  2037. package/src/resources/metadata/index.ts +30 -0
  2038. package/src/resources/metadata/metadata.ts +237 -0
  2039. package/src/resources/metadata/schema.ts +105 -0
  2040. package/src/resources/metadata/types.ts +55 -0
  2041. package/src/resources/metadata/validation-runs.ts +186 -0
  2042. package/src/resources/metadata.ts +3 -0
  2043. package/src/resources/object-categories.ts +138 -0
  2044. package/src/resources/package-installs.ts +143 -0
  2045. package/src/resources/package-managed-installs.ts +156 -0
  2046. package/src/resources/package-sandbox-links.ts +195 -0
  2047. package/src/resources/package-uninstalls.ts +168 -0
  2048. package/src/resources/package-upgrades.ts +183 -0
  2049. package/src/resources/package-version-component-updates.ts +154 -0
  2050. package/src/resources/package-versions/index.ts +9 -0
  2051. package/src/resources/package-versions/package-versions.ts +156 -0
  2052. package/src/resources/package-versions/publish.ts +74 -0
  2053. package/src/resources/package-versions.ts +3 -0
  2054. package/src/resources/packages/available-upgrades.ts +51 -0
  2055. package/src/resources/packages/index.ts +27 -0
  2056. package/src/resources/packages/next-versions.ts +95 -0
  2057. package/src/resources/packages/packages.ts +374 -0
  2058. package/src/resources/packages/versions.ts +175 -0
  2059. package/src/resources/packages.ts +3 -0
  2060. package/src/resources/payroll-runs/index.ts +15 -0
  2061. package/src/resources/payroll-runs/payroll-runs.ts +277 -0
  2062. package/src/resources/payroll-runs/worker-payroll-records.ts +260 -0
  2063. package/src/resources/payroll-runs.ts +3 -0
  2064. package/src/resources/platform-capabilities.ts +41 -0
  2065. package/src/resources/report-runs.ts +286 -0
  2066. package/src/resources/reports/available-filters.ts +60 -0
  2067. package/src/resources/reports/index.ts +4 -0
  2068. package/src/resources/reports/reports.ts +112 -0
  2069. package/src/resources/reports.ts +3 -0
  2070. package/src/resources/sandboxes.ts +1094 -0
  2071. package/src/resources/scheduled-job-assignments.ts +211 -0
  2072. package/src/resources/schedules.ts +506 -0
  2073. package/src/resources/shared.ts +359 -0
  2074. package/src/resources/shift-assignments.ts +365 -0
  2075. package/src/resources/shift-inputs.ts +408 -0
  2076. package/src/resources/shiftassignments.ts +1534 -0
  2077. package/src/resources/sites.ts +777 -0
  2078. package/src/resources/software-deployments.ts +612 -0
  2079. package/src/resources/sso-me.ts +70 -0
  2080. package/src/resources/supergroups/exclusion-members.ts +101 -0
  2081. package/src/resources/supergroups/inclusion-members.ts +101 -0
  2082. package/src/resources/supergroups/index.ts +22 -0
  2083. package/src/resources/supergroups/members.ts +51 -0
  2084. package/src/resources/supergroups/supergroups.ts +204 -0
  2085. package/src/resources/supergroups.ts +3 -0
  2086. package/src/resources/teams.ts +161 -0
  2087. package/src/resources/time-cards.ts +219 -0
  2088. package/src/resources/time-entries.ts +1871 -0
  2089. package/src/resources/titles.ts +189 -0
  2090. package/src/resources/tracks.ts +152 -0
  2091. package/src/resources/unassigned-shifts.ts +418 -0
  2092. package/src/resources/unassignedshifts.ts +1542 -0
  2093. package/src/resources/users.ts +265 -0
  2094. package/src/resources/variable-compensation-payout-labels.ts +227 -0
  2095. package/src/resources/variable-compensation-payout-types.ts +440 -0
  2096. package/src/resources/variable-compensation-payout-writes.ts +146 -0
  2097. package/src/resources/variable-compensation-payouts.ts +702 -0
  2098. package/src/resources/work-locations.ts +217 -0
  2099. package/src/resources/worker-change-fields.ts +63 -0
  2100. package/src/resources/worker-changes.ts +359 -0
  2101. package/src/resources/worker-time-splits.ts +485 -0
  2102. package/src/resources/workers.ts +1028 -0
  2103. package/src/resources/workflow-action-executions.ts +50 -0
  2104. package/src/resources/workflows.ts +1434 -0
  2105. package/src/resources.ts +1 -0
  2106. package/src/tsconfig.json +11 -0
  2107. package/src/uploads.ts +2 -0
  2108. package/src/version.ts +1 -0
  2109. package/uploads.d.mts +3 -0
  2110. package/uploads.d.mts.map +1 -0
  2111. package/uploads.d.ts +3 -0
  2112. package/uploads.d.ts.map +1 -0
  2113. package/uploads.js +6 -0
  2114. package/uploads.js.map +1 -0
  2115. package/uploads.mjs +3 -0
  2116. package/uploads.mjs.map +1 -0
  2117. package/version.d.mts +2 -0
  2118. package/version.d.mts.map +1 -0
  2119. package/version.d.ts +2 -0
  2120. package/version.d.ts.map +1 -0
  2121. package/version.js +5 -0
  2122. package/version.js.map +1 -0
  2123. package/version.mjs +2 -0
  2124. package/version.mjs.map +1 -0
@@ -0,0 +1,1319 @@
1
+ import { generateId } from "./_helpers.mjs";
2
+ import { CustomObjectFieldSection } from "./custom-object-field-section.mjs";
3
+ import { getExistingManifestContext } from "./existing-manifest-context.mjs";
4
+ import { requireStringComponentField } from "./_existing-component-fields.mjs";
5
+ function isField(value) {
6
+ const candidate = value;
7
+ return (candidate != null &&
8
+ typeof candidate.getApiName === 'function' &&
9
+ typeof candidate.getCustomObjectApiName === 'function' &&
10
+ typeof candidate.getSectionId === 'function' &&
11
+ typeof candidate._assignSection === 'function');
12
+ }
13
+ function isFieldRef(value) {
14
+ const candidate = value;
15
+ return (candidate != null &&
16
+ typeof candidate === 'object' &&
17
+ (isField(candidate.field) || typeof candidate.field === 'string'));
18
+ }
19
+ const LAYOUT_SECTION_KEY = Symbol('CustomObjectPageLayout.layoutSectionKey');
20
+ function isCustomObjectFieldSection(value) {
21
+ return value instanceof CustomObjectFieldSection;
22
+ }
23
+ function explicitLayoutSectionKey(section) {
24
+ const record = section;
25
+ const key = section.key ?? record['layout_section_key'] ?? record['layoutSectionKey'];
26
+ return typeof key === 'string' ? key : undefined;
27
+ }
28
+ function attachLayoutSectionKey(section, sectionKey) {
29
+ if (explicitLayoutSectionKey(section) == null)
30
+ section.key = sectionKey;
31
+ Object.defineProperty(section, LAYOUT_SECTION_KEY, {
32
+ value: sectionKey,
33
+ enumerable: false,
34
+ configurable: true,
35
+ });
36
+ return section;
37
+ }
38
+ function layoutSectionKey(section) {
39
+ return (explicitLayoutSectionKey(section) ??
40
+ section[LAYOUT_SECTION_KEY]);
41
+ }
42
+ function layoutSectionMatches(section, sectionKey) {
43
+ return layoutSectionKey(section) === sectionKey;
44
+ }
45
+ function isSerializedFieldsSection(section) {
46
+ return section.type === 'fields_section';
47
+ }
48
+ function assertSameObject(customObject, field, sectionKey) {
49
+ if (field.getCustomObjectApiName() !== customObject.getApiName()) {
50
+ throw new Error(`CustomObjectPageLayout fields_section "${sectionKey}" references field "${field.getApiName()}" ` +
51
+ `from "${field.getCustomObjectApiName()}", but the layout belongs to "${customObject.getApiName()}".`);
52
+ }
53
+ }
54
+ function assignSectionForLayout(field, section) {
55
+ if (!field.isStandard())
56
+ field._assignSection(section);
57
+ }
58
+ function assertSectionBelongsTo(customObject, section) {
59
+ if (section.getModelApiName() !== customObject.getApiName()) {
60
+ throw new Error(`CustomObjectPageLayout section "${section.getSectionId()}" belongs to "${section.getModelApiName()}", ` +
61
+ `but the layout belongs to "${customObject.getApiName()}".`);
62
+ }
63
+ }
64
+ function requireFieldSectionOption(value, label) {
65
+ if (isCustomObjectFieldSection(value))
66
+ return value;
67
+ if (typeof value === 'string') {
68
+ throw new TypeError(`${label} must be a CustomObjectFieldSection object; received raw section id "${value}". ` +
69
+ 'Load/include the existing field section first.');
70
+ }
71
+ throw new TypeError(`${label} must be a CustomObjectFieldSection object.`);
72
+ }
73
+ function assertOptionAbsent(options, key, message) {
74
+ if (options == null || typeof options !== 'object')
75
+ return;
76
+ if (Object.prototype.hasOwnProperty.call(options, key))
77
+ throw new TypeError(message);
78
+ }
79
+ function toSerializedSectionField(fieldRqlName, options = {}) {
80
+ const normalized = { fieldRqlName };
81
+ if (options.hidden != null)
82
+ normalized.hidden = options.hidden;
83
+ if (options.editable != null)
84
+ normalized.editable = options.editable;
85
+ if (options.readOnly != null)
86
+ normalized.readOnly = options.readOnly;
87
+ if (options.defaultValue != null)
88
+ normalized.defaultValue = options.defaultValue;
89
+ if (options.height != null)
90
+ normalized.height = options.height;
91
+ if (options.canBeDeleted != null)
92
+ normalized.canBeDeleted = options.canBeDeleted;
93
+ return normalized;
94
+ }
95
+ function copySectionOptions(target, input) {
96
+ if (input.canBeDeleted != null)
97
+ target.canBeDeleted = input.canBeDeleted;
98
+ if (input.canBeRenamed != null)
99
+ target.canBeRenamed = input.canBeRenamed;
100
+ if (input.hideName != null)
101
+ target.hideName = input.hideName;
102
+ return target;
103
+ }
104
+ function normalizeSectionField(customObject, section, sectionKey, entry) {
105
+ if (isField(entry) || typeof entry === 'string') {
106
+ const field = customObject._resolveField(entry);
107
+ assertSameObject(customObject, field, sectionKey);
108
+ assignSectionForLayout(field, section);
109
+ return toSerializedSectionField(field.getApiName());
110
+ }
111
+ if (isFieldRef(entry)) {
112
+ const field = customObject._resolveField(entry.field);
113
+ assertSameObject(customObject, field, sectionKey);
114
+ assignSectionForLayout(field, section);
115
+ return toSerializedSectionField(field.getApiName(), entry);
116
+ }
117
+ throw new Error(`CustomObjectPageLayout fields_section "${sectionKey}" has an invalid field entry; ` +
118
+ 'pass a Field instance or { field }.');
119
+ }
120
+ function normalizeFieldsSection(customObject, input) {
121
+ assertSectionBelongsTo(customObject, input.section);
122
+ const sectionKey = input.key ?? input.section.getSectionId();
123
+ const name = input.name ?? input.section.getName();
124
+ const normalized = copySectionOptions({
125
+ name,
126
+ type: 'fields_section',
127
+ fields: input.fields.map((field) => normalizeSectionField(customObject, input.section, sectionKey, field)),
128
+ }, input);
129
+ if (input.layout != null)
130
+ normalized.layout = input.layout;
131
+ return attachLayoutSectionKey(normalized, sectionKey);
132
+ }
133
+ function normalizeSection(customObject, section) {
134
+ if (section.type === 'fields_section')
135
+ return normalizeFieldsSection(customObject, section);
136
+ return { ...section };
137
+ }
138
+ function normalizeTab(customObject, tab) {
139
+ if (tab.type === 'custom_tab')
140
+ return tab;
141
+ return {
142
+ ...tab,
143
+ sections: tab.sections.map((section) => normalizeSection(customObject, section)),
144
+ };
145
+ }
146
+ function normalizeSystemSectionEdit(customObject, tabKey, sectionKey, edit) {
147
+ const { newFields: _newFields, ...rest } = edit;
148
+ const normalized = { ...rest };
149
+ if (edit.newFields != null) {
150
+ normalized.newFields = edit.newFields.map((field) => normalizeSectionField(customObject, sectionKey, `${tabKey}.${sectionKey}`, field));
151
+ }
152
+ return normalized;
153
+ }
154
+ function normalizeSystemTabEdit(customObject, tabKey, edit) {
155
+ const { newSections: _newSections, systemSectionEdits: _systemSectionEdits, ...rest } = edit;
156
+ const normalized = { ...rest };
157
+ if (edit.newSections != null) {
158
+ normalized.newSections = edit.newSections.map((section) => normalizeSection(customObject, section));
159
+ }
160
+ if (edit.systemSectionEdits != null) {
161
+ const systemSectionEdits = {};
162
+ for (const [sectionKey, sectionEdit] of Object.entries(edit.systemSectionEdits)) {
163
+ systemSectionEdits[sectionKey] = normalizeSystemSectionEdit(customObject, tabKey, sectionKey, sectionEdit);
164
+ }
165
+ normalized.systemSectionEdits = systemSectionEdits;
166
+ }
167
+ return normalized;
168
+ }
169
+ function normalizeTabEdits(customObject, tabEdits) {
170
+ const { newTabs: _newTabs, systemTabEdits: _systemTabEdits, ...rest } = tabEdits;
171
+ const normalized = { ...rest };
172
+ if (tabEdits.newTabs != null) {
173
+ normalized.newTabs = tabEdits.newTabs.map((tab) => normalizeTab(customObject, tab));
174
+ }
175
+ if (tabEdits.systemTabEdits != null) {
176
+ const systemTabEdits = {};
177
+ for (const [tabKey, tabEdit] of Object.entries(tabEdits.systemTabEdits)) {
178
+ systemTabEdits[tabKey] = normalizeSystemTabEdit(customObject, tabKey, tabEdit);
179
+ }
180
+ normalized.systemTabEdits = systemTabEdits;
181
+ }
182
+ return normalized;
183
+ }
184
+ function cloneJson(value) {
185
+ if (value == null)
186
+ return value;
187
+ return JSON.parse(JSON.stringify(value));
188
+ }
189
+ function stripMovementOptions(value) {
190
+ if (Array.isArray(value)) {
191
+ for (const item of value)
192
+ stripMovementOptions(item);
193
+ return;
194
+ }
195
+ if (value == null || typeof value !== 'object')
196
+ return;
197
+ const record = value;
198
+ delete record['movementOption'];
199
+ for (const item of Object.values(record))
200
+ stripMovementOptions(item);
201
+ }
202
+ const HEADER_EDIT_KEYS = new Set([
203
+ 'newTitleField',
204
+ 'titleFieldDeleted',
205
+ 'newDescriptionField',
206
+ 'descriptionFieldDeleted',
207
+ 'systemFieldEdits',
208
+ 'newFields',
209
+ 'headerFieldsOrder',
210
+ ]);
211
+ const SYSTEM_HEADER_FIELD_EDIT_KEYS = new Set(['newRqlField', 'deleted']);
212
+ const NEW_HEADER_FIELD_KEYS = new Set(['rqlName', 'key', 'canBeDeleted', 'canBeChanged', 'canBeMoved']);
213
+ function assertKnownKeys(record, allowedKeys, label, hint) {
214
+ for (const key of Object.keys(record)) {
215
+ if (!allowedKeys.has(key)) {
216
+ throw new Error(`${label} contains unsupported key "${key}". ${hint}`);
217
+ }
218
+ }
219
+ }
220
+ function normalizeHeaderEdits(headerEdits) {
221
+ assertKnownKeys(headerEdits, HEADER_EDIT_KEYS, 'CustomObjectPageLayout headerEdits', 'Use addHeaderField(), setTitleField(), setDescriptionField(), or the HeaderEdits keys documented by the SDK.');
222
+ for (const [key, edit] of Object.entries(headerEdits.systemFieldEdits ?? {})) {
223
+ assertKnownKeys(edit, SYSTEM_HEADER_FIELD_EDIT_KEYS, `CustomObjectPageLayout headerEdits.systemFieldEdits.${key}`, 'Use newRqlField and deleted for system header field edits.');
224
+ }
225
+ for (const [index, field] of (headerEdits.newFields ?? []).entries()) {
226
+ assertKnownKeys(field, NEW_HEADER_FIELD_KEYS, `CustomObjectPageLayout headerEdits.newFields[${index}]`, 'Use { rqlName, key } entries, or call addHeaderField(field).');
227
+ }
228
+ if (headerEdits.newTitleField === '') {
229
+ throw new Error('CustomObjectPageLayout headerEdits.newTitleField cannot be empty. Use titleFieldDeleted.');
230
+ }
231
+ if (headerEdits.newDescriptionField === '') {
232
+ throw new Error('CustomObjectPageLayout headerEdits.newDescriptionField cannot be empty. Use descriptionFieldDeleted.');
233
+ }
234
+ if (headerEdits.newTitleField != null && headerEdits.titleFieldDeleted === true) {
235
+ throw new Error('CustomObjectPageLayout headerEdits cannot both set newTitleField and titleFieldDeleted.');
236
+ }
237
+ if (headerEdits.newDescriptionField != null && headerEdits.descriptionFieldDeleted === true) {
238
+ throw new Error('CustomObjectPageLayout headerEdits cannot both set newDescriptionField and descriptionFieldDeleted.');
239
+ }
240
+ const normalized = { ...headerEdits };
241
+ if (headerEdits.headerFieldsOrder == null)
242
+ return normalized;
243
+ return {
244
+ ...normalized,
245
+ headerFieldsOrder: normalizeHeaderFieldsOrder(normalized),
246
+ };
247
+ }
248
+ function addUniqueHeaderOrderField(order, field) {
249
+ if (typeof field !== 'string' || field.length === 0)
250
+ return;
251
+ if (!order.includes(field))
252
+ order.push(field);
253
+ }
254
+ function normalizeHeaderFieldsOrder(headerEdits) {
255
+ const customFieldRqlByKey = new Map((headerEdits.newFields ?? []).map((field) => [field.key, field.rqlName]));
256
+ const systemFieldRqlByKey = new Map(Object.entries(headerEdits.systemFieldEdits ?? {})
257
+ .filter((entry) => {
258
+ const [, edit] = entry;
259
+ return typeof edit.newRqlField === 'string' && edit.newRqlField.length > 0;
260
+ })
261
+ .map(([key, edit]) => [key, edit.newRqlField]));
262
+ const order = [];
263
+ for (const entry of headerEdits.headerFieldsOrder ?? []) {
264
+ addUniqueHeaderOrderField(order, customFieldRqlByKey.get(entry) ?? systemFieldRqlByKey.get(entry) ?? entry);
265
+ }
266
+ addUniqueHeaderOrderField(order, headerEdits.newTitleField);
267
+ addUniqueHeaderOrderField(order, headerEdits.newDescriptionField);
268
+ for (const field of headerEdits.newFields ?? []) {
269
+ addUniqueHeaderOrderField(order, field.rqlName);
270
+ }
271
+ for (const systemEdit of Object.values(headerEdits.systemFieldEdits ?? {})) {
272
+ addUniqueHeaderOrderField(order, systemEdit.newRqlField);
273
+ }
274
+ return order;
275
+ }
276
+ function isTabWithSections(tab) {
277
+ return tab.type === 'tab_with_sections';
278
+ }
279
+ function insertionIndex(length, position) {
280
+ if (position == null || position === 'end')
281
+ return length;
282
+ if (position === 'start')
283
+ return 0;
284
+ if (!Number.isInteger(position) || position < 0 || position > length) {
285
+ throw new Error(`Invalid insertion position ${position}; expected 'start', 'end', or 0-${length}.`);
286
+ }
287
+ return position;
288
+ }
289
+ function insertAt(items, item, position) {
290
+ items.splice(insertionIndex(items.length, position), 0, item);
291
+ }
292
+ function insertUniqueAt(items, item, position) {
293
+ if (item == null || item.length === 0 || items.includes(item))
294
+ return;
295
+ insertAt(items, item, position);
296
+ }
297
+ function fieldRqlNameOf(entry) {
298
+ if (typeof entry === 'string')
299
+ return entry;
300
+ if (entry == null || typeof entry !== 'object')
301
+ return undefined;
302
+ const record = entry;
303
+ const fieldRqlName = record['fieldRqlName'] ?? record['field_rql_name'] ?? record['apiName'] ?? record['api_name'];
304
+ return typeof fieldRqlName === 'string' ? fieldRqlName : undefined;
305
+ }
306
+ function addFieldSectionLayoutSection(index, fieldSectionId, entry) {
307
+ const entries = index.get(fieldSectionId) ?? [];
308
+ if (!entries.some((existing) => existing.tabKey === entry.tabKey && existing.sectionKey === entry.sectionKey)) {
309
+ entries.push(entry);
310
+ }
311
+ index.set(fieldSectionId, entries);
312
+ }
313
+ function indexFieldsSectionInput(index, tabKey, section) {
314
+ addFieldSectionLayoutSection(index, section.section.getSectionId(), {
315
+ tabKey,
316
+ sectionKey: section.key ?? section.section.getSectionId(),
317
+ });
318
+ }
319
+ function indexPageLayoutSectionInput(index, tabKey, section) {
320
+ if (section.type === 'fields_section')
321
+ indexFieldsSectionInput(index, tabKey, section);
322
+ }
323
+ function buildFieldSectionLayoutIndexFromProps(tabEdits) {
324
+ const index = new Map();
325
+ if (tabEdits == null)
326
+ return index;
327
+ for (const tab of tabEdits.newTabs ?? []) {
328
+ if (tab.type !== 'tab_with_sections')
329
+ continue;
330
+ for (const section of tab.sections)
331
+ indexPageLayoutSectionInput(index, tab.key, section);
332
+ }
333
+ for (const [tabKey, tabEdit] of Object.entries(tabEdits.systemTabEdits ?? {})) {
334
+ for (const section of tabEdit.newSections ?? []) {
335
+ indexPageLayoutSectionInput(index, tabKey, section);
336
+ }
337
+ }
338
+ return index;
339
+ }
340
+ function indexLoadedFieldsSection(index, tabKey, section, resolveFieldSectionId) {
341
+ const sectionKey = layoutSectionKey(section);
342
+ if (sectionKey == null || resolveFieldSectionId == null)
343
+ return;
344
+ for (const field of section.fields ?? []) {
345
+ const fieldRqlName = fieldRqlNameOf(field);
346
+ if (fieldRqlName == null)
347
+ continue;
348
+ const fieldSectionId = resolveFieldSectionId(fieldRqlName);
349
+ if (fieldSectionId != null) {
350
+ addFieldSectionLayoutSection(index, fieldSectionId, { tabKey, sectionKey });
351
+ }
352
+ }
353
+ }
354
+ function buildFieldSectionLayoutIndexFromLoadedTabEdits(tabEdits, resolveFieldSectionId) {
355
+ const index = new Map();
356
+ for (const tab of tabEdits.newTabs ?? []) {
357
+ if (!isTabWithSections(tab))
358
+ continue;
359
+ for (const section of tab.sections) {
360
+ if (isSerializedFieldsSection(section)) {
361
+ indexLoadedFieldsSection(index, tab.key, section, resolveFieldSectionId);
362
+ }
363
+ }
364
+ }
365
+ for (const [tabKey, tabEdit] of Object.entries(tabEdits.systemTabEdits ?? {})) {
366
+ for (const section of tabEdit.newSections ?? []) {
367
+ if (isSerializedFieldsSection(section)) {
368
+ indexLoadedFieldsSection(index, tabKey, section, resolveFieldSectionId);
369
+ }
370
+ }
371
+ }
372
+ return index;
373
+ }
374
+ function annotateLoadedFieldsSection(section) {
375
+ const sectionKey = layoutSectionKey(section);
376
+ return sectionKey == null ? section : attachLayoutSectionKey(section, sectionKey);
377
+ }
378
+ function annotateLoadedTabEdits(tabEdits) {
379
+ for (const tab of tabEdits.newTabs ?? []) {
380
+ if (!isTabWithSections(tab))
381
+ continue;
382
+ tab.sections = tab.sections.map((section) => isSerializedFieldsSection(section) ? annotateLoadedFieldsSection(section) : section);
383
+ }
384
+ for (const tabEdit of Object.values(tabEdits.systemTabEdits ?? {})) {
385
+ if (tabEdit.newSections != null) {
386
+ tabEdit.newSections = tabEdit.newSections.map((section) => isSerializedFieldsSection(section) ? annotateLoadedFieldsSection(section) : section);
387
+ }
388
+ }
389
+ return tabEdits;
390
+ }
391
+ function removeIndexes(items, indexes) {
392
+ for (const index of [...indexes].sort((a, b) => b - a)) {
393
+ items.splice(index, 1);
394
+ }
395
+ }
396
+ function removeFromArray(items, predicate, label, removeAll = true) {
397
+ const indexes = [];
398
+ items.forEach((item, index) => {
399
+ if (predicate(item))
400
+ indexes.push(index);
401
+ });
402
+ if (indexes.length > 1 && !removeAll) {
403
+ throw new Error(`${label} matched ${indexes.length} entries; pass removeAll: true to remove them all.`);
404
+ }
405
+ removeIndexes(items, removeAll ? indexes : indexes.slice(0, 1));
406
+ return removeAll ? indexes.length : Math.min(indexes.length, 1);
407
+ }
408
+ function removeKeyFromOrder(order, key) {
409
+ if (order == null)
410
+ return;
411
+ removeFromArray(order, (entry) => entry === key, `order key "${key}"`);
412
+ }
413
+ function ensureRecordProperty(record, key, label) {
414
+ const existing = record[key];
415
+ if (existing == null) {
416
+ const next = {};
417
+ record[key] = next;
418
+ return next;
419
+ }
420
+ if (typeof existing !== 'object' || Array.isArray(existing)) {
421
+ throw new Error(`${label} must be an object.`);
422
+ }
423
+ return existing;
424
+ }
425
+ function ensureArrayProperty(record, key, label) {
426
+ const existing = record[key];
427
+ if (existing == null) {
428
+ const next = [];
429
+ record[key] = next;
430
+ return next;
431
+ }
432
+ if (!Array.isArray(existing)) {
433
+ throw new Error(`${label} must be an array.`);
434
+ }
435
+ return existing;
436
+ }
437
+ // ---------------------------------------------------------------------------
438
+ // Class
439
+ // ---------------------------------------------------------------------------
440
+ /**
441
+ * Defines a page layout and registers it with the manifest.
442
+ *
443
+ * A page layout controls the tab structure, section groupings, header fields,
444
+ * and visibility conditions on a custom object's record detail page. You would
445
+ * normally define one layout per custom object using `apiName: 'default'`.
446
+ *
447
+ * For simple single-tab layouts, use the {@link CustomObjectPageLayout.basic}
448
+ * factory instead of constructing the full props manually.
449
+ *
450
+ * > **Caution:** all keys inside `tabEdits` and `headerEdits` must be camelCase.
451
+ * > Snake_case keys are silently dropped on the wire and produce an empty layout.
452
+ *
453
+ * @example
454
+ * ```ts
455
+ * new CustomObjectPageLayout(memberObj, {
456
+ * apiName: 'default',
457
+ * name: 'Member',
458
+ * layoutId: 'layout_gym_member',
459
+ * tabEdits: {
460
+ * newTabs: [{
461
+ * key: 'member', name: 'Member', type: 'tab_with_sections',
462
+ * sections: [{
463
+ * name: 'Profile',
464
+ * type: 'fields_section',
465
+ * section: profileSection,
466
+ * fields: [{ field: 'name', editable: true }, memberEmail],
467
+ * }],
468
+ * }],
469
+ * systemTabEdits: {},
470
+ * tabsOrder: ['member'],
471
+ * },
472
+ * visibilityConditions: {},
473
+ * });
474
+ * ```
475
+ *
476
+ * @see {@link CustomObjectPageLayout.basic} — factory for simple single-tab layouts.
477
+ */
478
+ export class CustomObjectPageLayout {
479
+ static toDeletionIdentifier(identifier) {
480
+ return {
481
+ type: CustomObjectPageLayout.componentType,
482
+ layout_id: identifier.layoutId,
483
+ object_rql_name: identifier.objectRqlName,
484
+ };
485
+ }
486
+ /**
487
+ * @param customObject - The custom object this layout belongs to.
488
+ * @param props - Initialization properties.
489
+ * @throws {Error} If `apiName` or `name` is empty.
490
+ */
491
+ constructor(customObject, props) {
492
+ if (!props.apiName)
493
+ throw new Error('CustomObjectPageLayout: apiName cannot be empty');
494
+ if (!props.name)
495
+ throw new Error('CustomObjectPageLayout: name cannot be empty');
496
+ this._layoutId = props.layoutId ?? generateId('layout');
497
+ this._apiName = props.apiName;
498
+ this._customObjectApiName = customObject.getApiName();
499
+ this._customObject = customObject;
500
+ this._name = props.name;
501
+ this._tabEdits = normalizeTabEdits(customObject, props.tabEdits ?? {});
502
+ this._fieldSectionLayoutSections = buildFieldSectionLayoutIndexFromProps(props.tabEdits);
503
+ this._headerEdits = normalizeHeaderEdits(props.headerEdits ?? {});
504
+ this._visibilityConditions = props.visibilityConditions ?? {};
505
+ this._blueprintKey = props.blueprintKey;
506
+ customObject._register(this);
507
+ }
508
+ /**
509
+ * Loads this page layout from the active existing-manifest JSON context.
510
+ *
511
+ * `id` resolves against `layout_id` first, then `api_name`. When loading by
512
+ * api_name such as `'default'`, pass `customObjectApiName` if multiple objects
513
+ * have a layout with the same api_name.
514
+ */
515
+ static loadFromExisting(layoutIdOrApiName, options = {}) {
516
+ return getExistingManifestContext(options).loadPageLayout(layoutIdOrApiName, options);
517
+ }
518
+ /** @internal Hydrates a page layout from existing manifest wire JSON. */
519
+ static _fromExistingComponent(customObject, component, resolveFieldSectionId) {
520
+ const layout = Object.create(CustomObjectPageLayout.prototype);
521
+ const tabEdits = annotateLoadedTabEdits(cloneJson(component['tab_edits'] ?? {}));
522
+ Object.assign(layout, {
523
+ _layoutId: requireStringComponentField(component, 'layout_id', CustomObjectPageLayout.componentType),
524
+ _apiName: requireStringComponentField(component, 'api_name', CustomObjectPageLayout.componentType),
525
+ _customObjectApiName: requireStringComponentField(component, 'object_rql_name', CustomObjectPageLayout.componentType),
526
+ _customObject: customObject,
527
+ _name: requireStringComponentField(component, 'name', CustomObjectPageLayout.componentType),
528
+ _tabEdits: tabEdits,
529
+ _headerEdits: cloneJson(component['header_edits'] ?? {}),
530
+ _visibilityConditions: cloneJson(component['visibility_conditions'] ?? {}),
531
+ _blueprintKey: component['blueprint_key'],
532
+ _fieldSectionLayoutSections: buildFieldSectionLayoutIndexFromLoadedTabEdits(tabEdits, resolveFieldSectionId),
533
+ });
534
+ customObject._register(layout);
535
+ return layout;
536
+ }
537
+ /**
538
+ * Returns the stable identifier for this layout record (e.g. `'layout_gym_member'`).
539
+ */
540
+ getLayoutId() {
541
+ return this._layoutId;
542
+ }
543
+ /**
544
+ * Returns the api_name of this layout (e.g. `'default'`).
545
+ */
546
+ getApiName() {
547
+ return this._apiName;
548
+ }
549
+ /**
550
+ * Returns the api_name of the custom object this layout belongs to.
551
+ */
552
+ getCustomObjectApiName() {
553
+ return this._customObjectApiName;
554
+ }
555
+ /**
556
+ * Adds one field to an existing layout section.
557
+ *
558
+ * For loaded layouts, this mutates the preserved `tab_edits` JSON in place
559
+ * and normalizes only the inserted field entry.
560
+ */
561
+ addField(field, options) {
562
+ return this.addFields([field], options);
563
+ }
564
+ /**
565
+ * Adds multiple fields to an existing layout section.
566
+ *
567
+ * Fields are inserted in the order provided. For custom layout sections,
568
+ * pass `section` to choose the typed field section. Use `sectionKey` only
569
+ * when a field section maps to multiple layout sections.
570
+ */
571
+ addFields(fields, options) {
572
+ if (fields.length === 0)
573
+ return this;
574
+ let fieldSectionForMutation;
575
+ const container = options.systemSection === true ?
576
+ (() => {
577
+ assertOptionAbsent(options, 'section', 'CustomObjectPageLayout addField section is only supported for custom layout sections.');
578
+ assertOptionAbsent(options, 'fieldSection', 'CustomObjectPageLayout addField fieldSection is no longer supported. ' +
579
+ 'Use sectionKey only for systemSection: true.');
580
+ return this.ensureSystemSectionFieldContainer(options.tabKey, options.sectionKey);
581
+ })()
582
+ : (() => {
583
+ assertOptionAbsent(options, 'fieldSection', 'CustomObjectPageLayout addField fieldSection is no longer supported. ' +
584
+ 'Pass section: CustomObjectFieldSection instead.');
585
+ const section = options.section == null ?
586
+ undefined
587
+ : requireFieldSectionOption(options.section, 'CustomObjectPageLayout addField section');
588
+ if (section != null) {
589
+ this.assertFieldSectionBelongsToLayout(section);
590
+ fieldSectionForMutation = section;
591
+ }
592
+ const sectionKey = options.sectionKey ??
593
+ (section == null ? undefined : this.layoutSectionKeyForFieldSection(options.tabKey, section)) ??
594
+ section?.getSectionId();
595
+ return this.requireOneFieldContainer(options.tabKey, sectionKey, section);
596
+ })();
597
+ const entries = fields.map((field) => this.serializeFieldForMutation(field, container.sectionKey ?? container.label, options, fieldSectionForMutation));
598
+ if (options.allowDuplicate !== true) {
599
+ const existing = new Set(container.fields.map((entry) => fieldRqlNameOf(entry)).filter(Boolean));
600
+ const seen = new Set();
601
+ for (const entry of entries) {
602
+ const fieldRqlName = entry.fieldRqlName;
603
+ if (existing.has(fieldRqlName) || seen.has(fieldRqlName)) {
604
+ throw new Error(`CustomObjectPageLayout section "${container.label}" already contains field "${fieldRqlName}".`);
605
+ }
606
+ seen.add(fieldRqlName);
607
+ }
608
+ }
609
+ const index = insertionIndex(container.fields.length, options.position);
610
+ container.fields.splice(index, 0, ...entries);
611
+ return this;
612
+ }
613
+ /**
614
+ * Removes a field from the layout's field sections.
615
+ *
616
+ * This only removes the field from the page layout. It does not delete the
617
+ * `CUSTOM_OBJECT_FIELD` component from the manifest.
618
+ */
619
+ removeField(field, options = {}) {
620
+ const fieldApiName = this.fieldApiName(field);
621
+ if (isField(field))
622
+ this.assertFieldBelongsToLayout(field);
623
+ let sectionKey;
624
+ if (options.systemSection === true) {
625
+ assertOptionAbsent(options, 'section', 'CustomObjectPageLayout removeField section is only supported for custom layout sections.');
626
+ sectionKey = options.sectionKey;
627
+ }
628
+ else {
629
+ sectionKey = options.sectionKey;
630
+ if (options.section != null) {
631
+ const section = requireFieldSectionOption(options.section, 'CustomObjectPageLayout removeField section');
632
+ this.assertFieldSectionBelongsToLayout(section);
633
+ sectionKey ?? (sectionKey = this.layoutSectionKeyForFieldSection(options.tabKey, section));
634
+ sectionKey ?? (sectionKey = section.getSectionId());
635
+ }
636
+ }
637
+ const containers = this.findFieldContainers({
638
+ tabKey: options.tabKey,
639
+ sectionKey,
640
+ systemSectionOnly: options.systemSection === true,
641
+ });
642
+ const matches = [];
643
+ for (const container of containers) {
644
+ container.fields.forEach((entry, index) => {
645
+ if (fieldRqlNameOf(entry) === fieldApiName) {
646
+ matches.push({ container, index });
647
+ }
648
+ });
649
+ }
650
+ if (matches.length === 0) {
651
+ throw new Error(`CustomObjectPageLayout does not contain field "${fieldApiName}".`);
652
+ }
653
+ const removeAll = options.removeAll !== false;
654
+ if (matches.length > 1 && !removeAll) {
655
+ throw new Error(`CustomObjectPageLayout field "${fieldApiName}" matched ${matches.length} entries; ` +
656
+ 'pass removeAll: true to remove them all.');
657
+ }
658
+ const removals = removeAll ? matches : matches.slice(0, 1);
659
+ const byContainer = new Map();
660
+ for (const match of removals) {
661
+ const indexes = byContainer.get(match.container) ?? [];
662
+ indexes.push(match.index);
663
+ byContainer.set(match.container, indexes);
664
+ }
665
+ for (const [container, indexes] of byContainer.entries()) {
666
+ removeIndexes(container.fields, indexes);
667
+ }
668
+ return this;
669
+ }
670
+ /** Removes multiple fields from the layout's field sections. */
671
+ removeFields(fields, options = {}) {
672
+ for (const field of fields) {
673
+ this.removeField(field, options);
674
+ }
675
+ return this;
676
+ }
677
+ /**
678
+ * Adds a section to an existing tab.
679
+ *
680
+ * Pass `systemTab: true` to add a new section to a built-in tab via
681
+ * `systemTabEdits.newSections`.
682
+ */
683
+ addSection(section, options) {
684
+ const normalized = this.normalizeSectionForMutation(section);
685
+ if (options.systemTab === true) {
686
+ const tabEdit = this.ensureSystemTabEdit(options.tabKey);
687
+ const sections = ensureArrayProperty(tabEdit, 'newSections', `systemTabEdits.${options.tabKey}.newSections`);
688
+ this.assertSectionKeyAvailable(sections, layoutSectionKey(normalized), options.tabKey, options.allowDuplicate);
689
+ const sectionsOrder = this.ensureSystemSectionsOrder(tabEdit);
690
+ insertAt(sections, normalized, options.position);
691
+ insertUniqueAt(sectionsOrder, layoutSectionKey(normalized), options.position);
692
+ if (section.type === 'fields_section') {
693
+ this.rememberFieldSectionLayoutSection(section.section, options.tabKey, layoutSectionKey(normalized));
694
+ }
695
+ return this;
696
+ }
697
+ const tab = this.findNewTabWithSections(options.tabKey);
698
+ if (tab == null) {
699
+ throw new Error(`CustomObjectPageLayout could not find new tab "${options.tabKey}". ` +
700
+ 'Pass systemTab: true to add a section to a built-in system tab.');
701
+ }
702
+ this.assertSectionKeyAvailable(tab.sections, layoutSectionKey(normalized), options.tabKey, options.allowDuplicate);
703
+ insertAt(tab.sections, normalized, options.position);
704
+ if (section.type === 'fields_section') {
705
+ this.rememberFieldSectionLayoutSection(section.section, tab.key, layoutSectionKey(normalized));
706
+ }
707
+ return this;
708
+ }
709
+ removeSection(sectionOrKey, options = {}) {
710
+ if (options.systemSection === true) {
711
+ if (typeof sectionOrKey !== 'string') {
712
+ throw new TypeError('CustomObjectPageLayout removeSection with systemSection: true requires a system section key.');
713
+ }
714
+ if (options.tabKey == null) {
715
+ throw new Error('CustomObjectPageLayout removeSection with systemSection: true requires tabKey.');
716
+ }
717
+ const sectionEdit = this.ensureSystemSectionEdit(options.tabKey, sectionOrKey);
718
+ sectionEdit.deleted = true;
719
+ removeKeyFromOrder(this._tabEdits.systemTabEdits?.[options.tabKey]?.sectionsOrder, sectionOrKey);
720
+ this.removeSectionVisibility(sectionOrKey);
721
+ return this;
722
+ }
723
+ let sectionKey;
724
+ if (typeof sectionOrKey === 'string') {
725
+ sectionKey = sectionOrKey;
726
+ }
727
+ else {
728
+ const section = requireFieldSectionOption(sectionOrKey, 'CustomObjectPageLayout removeSection section');
729
+ this.assertFieldSectionBelongsToLayout(section);
730
+ sectionKey = this.layoutSectionKeyForFieldSection(options.tabKey, section) ?? section.getSectionId();
731
+ }
732
+ const matches = [];
733
+ for (const tab of this._tabEdits.newTabs ?? []) {
734
+ if (!isTabWithSections(tab))
735
+ continue;
736
+ if (options.tabKey != null && tab.key !== options.tabKey)
737
+ continue;
738
+ tab.sections.forEach((section, index) => {
739
+ if (isSerializedFieldsSection(section) && layoutSectionMatches(section, sectionKey))
740
+ matches.push({ sections: tab.sections, section, index, tabKey: tab.key });
741
+ });
742
+ }
743
+ for (const [tabKey, tabEdit] of Object.entries(this._tabEdits.systemTabEdits ?? {})) {
744
+ if (options.tabKey != null && tabKey !== options.tabKey)
745
+ continue;
746
+ (tabEdit.newSections ?? []).forEach((section, index) => {
747
+ if (isSerializedFieldsSection(section) && layoutSectionMatches(section, sectionKey))
748
+ matches.push({ sections: tabEdit.newSections, section, index, tabEdit, tabKey });
749
+ });
750
+ }
751
+ if (matches.length === 0) {
752
+ throw new Error(`CustomObjectPageLayout does not contain section "${sectionKey}".`);
753
+ }
754
+ const removeAll = options.removeAll !== false;
755
+ if (matches.length > 1 && !removeAll) {
756
+ throw new Error(`CustomObjectPageLayout section "${sectionKey}" matched ${matches.length} entries; ` +
757
+ 'pass removeAll: true to remove them all.');
758
+ }
759
+ const removals = removeAll ? matches : matches.slice(0, 1);
760
+ const byArray = new Map();
761
+ for (const match of removals) {
762
+ const indexes = byArray.get(match.sections) ?? [];
763
+ indexes.push(match.index);
764
+ byArray.set(match.sections, indexes);
765
+ if (match.tabEdit != null)
766
+ removeKeyFromOrder(match.tabEdit.sectionsOrder, sectionKey);
767
+ this.removeSectionVisibility(sectionKey);
768
+ }
769
+ for (const [sections, indexes] of byArray.entries()) {
770
+ removeIndexes(sections, indexes);
771
+ }
772
+ return this;
773
+ }
774
+ /** Adds a new tab to `tab_edits.newTabs`. */
775
+ addTab(tab, options = {}) {
776
+ var _a;
777
+ const normalized = this.normalizeTabForMutation(tab);
778
+ const newTabs = ((_a = this._tabEdits).newTabs ?? (_a.newTabs = []));
779
+ if (options.allowDuplicate !== true && newTabs.some((existing) => existing.key === normalized.key)) {
780
+ throw new Error(`CustomObjectPageLayout already contains tab "${normalized.key}".`);
781
+ }
782
+ const tabsOrder = this.ensureTabsOrder();
783
+ insertAt(newTabs, normalized, options.position);
784
+ insertUniqueAt(tabsOrder, normalized.key, options.position);
785
+ if (tab.type === 'tab_with_sections') {
786
+ for (const section of tab.sections)
787
+ indexPageLayoutSectionInput(this._fieldSectionLayoutSections, tab.key, section);
788
+ }
789
+ return this;
790
+ }
791
+ /**
792
+ * Removes a tab from `newTabs`.
793
+ *
794
+ * Pass `systemTab: true` to delete a built-in tab via `systemTabEdits[tabKey].deleted`.
795
+ */
796
+ removeTab(tabKey, options = {}) {
797
+ if (options.systemTab === true) {
798
+ const tabEdit = this.ensureSystemTabEdit(tabKey);
799
+ tabEdit.deleted = true;
800
+ removeKeyFromOrder(this._tabEdits.tabsOrder, tabKey);
801
+ this.removeTabVisibility(tabKey);
802
+ return this;
803
+ }
804
+ const newTabs = this._tabEdits.newTabs ?? [];
805
+ const removed = removeFromArray(newTabs, (tab) => tab.key === tabKey, `CustomObjectPageLayout tab "${tabKey}"`, options.removeAll !== false);
806
+ if (removed === 0) {
807
+ throw new Error(`CustomObjectPageLayout does not contain tab "${tabKey}".`);
808
+ }
809
+ removeKeyFromOrder(this._tabEdits.tabsOrder, tabKey);
810
+ this.removeTabVisibility(tabKey);
811
+ return this;
812
+ }
813
+ /** Adds a custom header field to `header_edits.newFields`. */
814
+ addHeaderField(field, options = {}) {
815
+ var _a;
816
+ const headerField = this.normalizeHeaderFieldForMutation(field, options);
817
+ const newFields = ((_a = this._headerEdits).newFields ?? (_a.newFields = []));
818
+ if (options.allowDuplicate !== true && newFields.some((existing) => existing.key === headerField.key)) {
819
+ throw new Error(`CustomObjectPageLayout header already contains field key "${headerField.key}".`);
820
+ }
821
+ const headerFieldsOrder = this.ensureHeaderFieldsOrder();
822
+ insertAt(newFields, headerField, options.position);
823
+ insertUniqueAt(headerFieldsOrder, headerField.rqlName, options.position);
824
+ return this;
825
+ }
826
+ /** Removes custom header fields from `header_edits.newFields`. */
827
+ removeHeaderField(fieldOrKey, options = {}) {
828
+ const fieldApiName = typeof fieldOrKey === 'string' ? undefined : fieldOrKey.getApiName();
829
+ if (isField(fieldOrKey))
830
+ this.assertFieldBelongsToLayout(fieldOrKey);
831
+ const key = typeof fieldOrKey === 'string' ? fieldOrKey : fieldApiName;
832
+ const newFields = this._headerEdits.newFields ?? [];
833
+ const removedFields = [];
834
+ const removed = removeFromArray(newFields, (field) => {
835
+ const matched = field.key === key || (fieldApiName != null && field.rqlName === fieldApiName);
836
+ if (matched)
837
+ removedFields.push(field);
838
+ return matched;
839
+ }, `CustomObjectPageLayout header field "${key}"`, options.removeAll !== false);
840
+ if (removed === 0) {
841
+ throw new Error(`CustomObjectPageLayout header does not contain field "${key}".`);
842
+ }
843
+ for (const removedField of removedFields)
844
+ this.removeHeaderOrderFieldIfUnused(removedField);
845
+ return this;
846
+ }
847
+ setTitleField(field) {
848
+ const previousTitleField = this._headerEdits.newTitleField;
849
+ const nextTitleField = this.headerFieldApiName(field);
850
+ this._headerEdits.newTitleField = nextTitleField;
851
+ this._headerEdits.titleFieldDeleted = false;
852
+ insertUniqueAt(this.ensureHeaderFieldsOrder(), nextTitleField, 'end');
853
+ this.removeHeaderOrderFieldIfUnused(previousTitleField);
854
+ return this;
855
+ }
856
+ /** Removes the record title field from the header. */
857
+ removeTitleField() {
858
+ const previousTitleField = this._headerEdits.newTitleField;
859
+ this._headerEdits.newTitleField = null;
860
+ this._headerEdits.titleFieldDeleted = true;
861
+ this.removeHeaderOrderFieldIfUnused(previousTitleField);
862
+ return this;
863
+ }
864
+ setDescriptionField(field) {
865
+ const previousDescriptionField = this._headerEdits.newDescriptionField;
866
+ const nextDescriptionField = this.headerFieldApiName(field);
867
+ this._headerEdits.newDescriptionField = nextDescriptionField;
868
+ this._headerEdits.descriptionFieldDeleted = false;
869
+ insertUniqueAt(this.ensureHeaderFieldsOrder(), nextDescriptionField, 'end');
870
+ this.removeHeaderOrderFieldIfUnused(previousDescriptionField);
871
+ return this;
872
+ }
873
+ /** Removes the record description field from the header. */
874
+ removeDescriptionField() {
875
+ const previousDescriptionField = this._headerEdits.newDescriptionField;
876
+ this._headerEdits.newDescriptionField = null;
877
+ this._headerEdits.descriptionFieldDeleted = true;
878
+ this.removeHeaderOrderFieldIfUnused(previousDescriptionField);
879
+ return this;
880
+ }
881
+ ensureTabsOrder() {
882
+ var _a;
883
+ const order = ((_a = this._tabEdits).tabsOrder ?? (_a.tabsOrder = []));
884
+ for (const tab of this._tabEdits.newTabs ?? [])
885
+ insertUniqueAt(order, tab.key, 'end');
886
+ for (const [tabKey, tabEdit] of Object.entries(this._tabEdits.systemTabEdits ?? {})) {
887
+ if (tabEdit.deleted !== true)
888
+ insertUniqueAt(order, tabKey, 'end');
889
+ }
890
+ return order;
891
+ }
892
+ ensureSystemSectionsOrder(tabEdit) {
893
+ const order = (tabEdit.sectionsOrder ?? (tabEdit.sectionsOrder = []));
894
+ for (const section of tabEdit.newSections ?? [])
895
+ insertUniqueAt(order, layoutSectionKey(section), 'end');
896
+ for (const [sectionKey, sectionEdit] of Object.entries(tabEdit.systemSectionEdits ?? {})) {
897
+ if (sectionEdit.deleted !== true)
898
+ insertUniqueAt(order, sectionKey, 'end');
899
+ }
900
+ return order;
901
+ }
902
+ ensureHeaderFieldsOrder() {
903
+ this._headerEdits.headerFieldsOrder = normalizeHeaderFieldsOrder({
904
+ ...this._headerEdits,
905
+ headerFieldsOrder: this._headerEdits.headerFieldsOrder ?? [],
906
+ });
907
+ return this._headerEdits.headerFieldsOrder;
908
+ }
909
+ headerOrderFieldIsUsed(rqlName) {
910
+ return (this._headerEdits.newTitleField === rqlName ||
911
+ this._headerEdits.newDescriptionField === rqlName ||
912
+ (this._headerEdits.newFields ?? []).some((field) => field.rqlName === rqlName) ||
913
+ Object.values(this._headerEdits.systemFieldEdits ?? {}).some((edit) => edit.newRqlField === rqlName));
914
+ }
915
+ removeHeaderOrderFieldIfUnused(field) {
916
+ const rqlName = typeof field === 'string' ? field : field?.rqlName;
917
+ if (field != null && typeof field !== 'string' && field.key !== rqlName) {
918
+ removeKeyFromOrder(this._headerEdits.headerFieldsOrder, field.key);
919
+ }
920
+ if (rqlName == null || this.headerOrderFieldIsUsed(rqlName))
921
+ return;
922
+ removeKeyFromOrder(this._headerEdits.headerFieldsOrder, rqlName);
923
+ }
924
+ serializeFieldForMutation(field, fallbackSectionKey, options, fieldSection) {
925
+ const resolved = this._resolveField(field);
926
+ this.assertFieldBelongsToLayout(resolved);
927
+ this.assignFieldSectionForMutation(resolved, fallbackSectionKey, fieldSection);
928
+ return toSerializedSectionField(resolved.getApiName(), options);
929
+ }
930
+ normalizeSectionFieldForMutation(section, sectionKey, entry) {
931
+ if (isField(entry) || typeof entry === 'string') {
932
+ const field = this._resolveField(entry);
933
+ this.assertFieldBelongsToLayout(field);
934
+ assignSectionForLayout(field, section);
935
+ return toSerializedSectionField(field.getApiName());
936
+ }
937
+ if (isFieldRef(entry)) {
938
+ const field = this._resolveField(entry.field);
939
+ this.assertFieldBelongsToLayout(field);
940
+ assignSectionForLayout(field, section);
941
+ return toSerializedSectionField(field.getApiName(), entry);
942
+ }
943
+ throw new Error(`CustomObjectPageLayout fields_section "${sectionKey}" has an invalid field entry; ` +
944
+ 'pass a Field instance or { field }.');
945
+ }
946
+ normalizeSectionForMutation(input) {
947
+ if (input.type !== 'fields_section')
948
+ return { ...input };
949
+ this.assertFieldSectionBelongsToLayout(input.section);
950
+ const sectionKey = input.key ?? input.section.getSectionId();
951
+ const name = input.name ?? input.section.getName();
952
+ const normalized = copySectionOptions({
953
+ name,
954
+ type: 'fields_section',
955
+ fields: input.fields.map((field) => this.normalizeSectionFieldForMutation(input.section, sectionKey, field)),
956
+ }, input);
957
+ if (input.layout != null)
958
+ normalized.layout = input.layout;
959
+ return attachLayoutSectionKey(normalized, sectionKey);
960
+ }
961
+ normalizeTabForMutation(tab) {
962
+ if (tab.type === 'custom_tab')
963
+ return { ...tab };
964
+ return {
965
+ ...tab,
966
+ sections: tab.sections.map((section) => this.normalizeSectionForMutation(section)),
967
+ };
968
+ }
969
+ assignFieldSectionForMutation(field, fallbackSectionKey, fieldSection) {
970
+ if (field.isStandard())
971
+ return;
972
+ const rawFieldSection = fieldSection;
973
+ if (rawFieldSection != null) {
974
+ if (typeof rawFieldSection === 'string') {
975
+ throw new TypeError(`CustomObjectPageLayout section must be a CustomObjectFieldSection object; ` +
976
+ `received raw section id "${rawFieldSection}". Load/include the existing field section first.`);
977
+ }
978
+ if (rawFieldSection.getModelApiName() !== this._customObjectApiName) {
979
+ throw new Error(`CustomObjectPageLayout field section "${rawFieldSection.getSectionId()}" belongs to ` +
980
+ `"${rawFieldSection.getModelApiName()}", but the layout belongs to "${this._customObjectApiName}".`);
981
+ }
982
+ field._assignSection(rawFieldSection);
983
+ return;
984
+ }
985
+ if (field.getSectionId() == null) {
986
+ throw new Error(`CustomObjectPageLayout field "${field.getApiName()}" is missing field-section metadata. ` +
987
+ `Construct the field with a CustomObjectFieldSection or pass section when adding it to ` +
988
+ `section "${fallbackSectionKey}".`);
989
+ }
990
+ }
991
+ assertFieldBelongsToLayout(field) {
992
+ if (field.getCustomObjectApiName() !== this._customObjectApiName) {
993
+ throw new Error(`CustomObjectPageLayout references field "${field.getApiName()}" from ` +
994
+ `"${field.getCustomObjectApiName()}", but the layout belongs to "${this._customObjectApiName}".`);
995
+ }
996
+ }
997
+ _resolveField(field) {
998
+ return this._customObject._resolveField(field);
999
+ }
1000
+ fieldApiName(field) {
1001
+ if (typeof field !== 'string')
1002
+ return field.getApiName();
1003
+ if (field.endsWith('__c'))
1004
+ return field;
1005
+ return this._customObject.standardField(field).getApiName();
1006
+ }
1007
+ assertFieldSectionBelongsToLayout(section) {
1008
+ if (section.getModelApiName() !== this._customObjectApiName) {
1009
+ throw new Error(`CustomObjectPageLayout field section "${section.getSectionId()}" belongs to ` +
1010
+ `"${section.getModelApiName()}", but the layout belongs to "${this._customObjectApiName}".`);
1011
+ }
1012
+ }
1013
+ rememberFieldSectionLayoutSection(section, tabKey, sectionKey) {
1014
+ if (sectionKey == null)
1015
+ return;
1016
+ addFieldSectionLayoutSection(this._fieldSectionLayoutSections, section.getSectionId(), {
1017
+ tabKey,
1018
+ sectionKey,
1019
+ });
1020
+ }
1021
+ layoutSectionKeyForFieldSection(tabKey, section) {
1022
+ const entries = this._fieldSectionLayoutSections.get(section.getSectionId()) ?? [];
1023
+ const matches = tabKey == null ? entries : entries.filter((entry) => entry.tabKey === tabKey);
1024
+ const sectionKeys = [...new Set(matches.map((entry) => entry.sectionKey))];
1025
+ if (sectionKeys.length === 0)
1026
+ return undefined;
1027
+ if (sectionKeys.length === 1)
1028
+ return sectionKeys[0];
1029
+ const scope = tabKey == null ? '' : ` in tab "${tabKey}"`;
1030
+ throw new Error(`CustomObjectPageLayout field section "${section.getSectionId()}" maps to multiple layout sections${scope}: ` +
1031
+ `${sectionKeys.join(', ')}. Pass sectionKey to choose one.`);
1032
+ }
1033
+ requireOneFieldContainer(tabKey, sectionKey, fallbackFieldSection) {
1034
+ const containers = this.findFieldContainers({
1035
+ tabKey,
1036
+ sectionKey,
1037
+ systemSectionOnly: false,
1038
+ });
1039
+ if (containers.length === 0) {
1040
+ if (sectionKey != null && fallbackFieldSection != null) {
1041
+ const unkeyedContainers = this.findFieldContainers({
1042
+ tabKey,
1043
+ sectionKey: undefined,
1044
+ systemSectionOnly: false,
1045
+ }).filter((container) => container.section != null && container.sectionKey == null);
1046
+ if (unkeyedContainers.length === 1) {
1047
+ if (fallbackFieldSection.getModelApiName() !== this._customObjectApiName) {
1048
+ throw new Error(`CustomObjectPageLayout field section "${fallbackFieldSection.getSectionId()}" belongs to ` +
1049
+ `"${fallbackFieldSection.getModelApiName()}", but the layout belongs to "${this._customObjectApiName}".`);
1050
+ }
1051
+ const container = unkeyedContainers[0];
1052
+ attachLayoutSectionKey(container.section, sectionKey);
1053
+ container.sectionKey = sectionKey;
1054
+ container.label = `${container.tabKey}.${container.sectionKey}`;
1055
+ return container;
1056
+ }
1057
+ }
1058
+ const scope = sectionKey == null ? 'a field section' : (`section "${tabKey != null ? `${tabKey}.` : ''}${sectionKey}"`);
1059
+ throw new Error(`CustomObjectPageLayout could not find ${scope}.`);
1060
+ }
1061
+ if (containers.length > 1) {
1062
+ if (sectionKey == null) {
1063
+ throw new Error(`CustomObjectPageLayout matched multiple sections: ` +
1064
+ `${containers.map((container) => container.label).join(', ')}. Pass section to choose one.`);
1065
+ }
1066
+ throw new Error(`CustomObjectPageLayout section "${sectionKey}" matched multiple sections: ` +
1067
+ `${containers.map((container) => container.label).join(', ')}. Pass tabKey to choose one.`);
1068
+ }
1069
+ return containers[0];
1070
+ }
1071
+ findFieldContainers(filter) {
1072
+ const containers = [];
1073
+ if (!filter.systemSectionOnly) {
1074
+ for (const tab of this._tabEdits.newTabs ?? []) {
1075
+ if (!isTabWithSections(tab))
1076
+ continue;
1077
+ if (filter.tabKey != null && tab.key !== filter.tabKey)
1078
+ continue;
1079
+ for (const [index, section] of tab.sections.entries()) {
1080
+ if (!isSerializedFieldsSection(section))
1081
+ continue;
1082
+ const sectionKey = layoutSectionKey(section);
1083
+ if (filter.sectionKey != null && !layoutSectionMatches(section, filter.sectionKey))
1084
+ continue;
1085
+ const label = sectionKey == null ? `${tab.key}.sections[${index}]` : `${tab.key}.${sectionKey}`;
1086
+ containers.push({
1087
+ tabKey: tab.key,
1088
+ sectionKey,
1089
+ section,
1090
+ fields: ensureArrayProperty(section, 'fields', `newTabs.${label}.fields`),
1091
+ label,
1092
+ });
1093
+ }
1094
+ }
1095
+ for (const [tabKey, tabEdit] of Object.entries(this._tabEdits.systemTabEdits ?? {})) {
1096
+ if (filter.tabKey != null && tabKey !== filter.tabKey)
1097
+ continue;
1098
+ for (const [index, section] of (tabEdit.newSections ?? []).entries()) {
1099
+ if (!isSerializedFieldsSection(section))
1100
+ continue;
1101
+ const sectionKey = layoutSectionKey(section);
1102
+ if (filter.sectionKey != null && !layoutSectionMatches(section, filter.sectionKey))
1103
+ continue;
1104
+ const label = sectionKey == null ? `${tabKey}.newSections[${index}]` : `${tabKey}.${sectionKey}`;
1105
+ containers.push({
1106
+ tabKey,
1107
+ sectionKey,
1108
+ section,
1109
+ fields: ensureArrayProperty(section, 'fields', `systemTabEdits.${label}.fields`),
1110
+ label,
1111
+ });
1112
+ }
1113
+ }
1114
+ }
1115
+ for (const [tabKey, tabEdit] of Object.entries(this._tabEdits.systemTabEdits ?? {})) {
1116
+ if (filter.tabKey != null && tabKey !== filter.tabKey)
1117
+ continue;
1118
+ for (const [sectionKey, sectionEdit] of Object.entries(tabEdit.systemSectionEdits ?? {})) {
1119
+ if (filter.sectionKey != null && sectionKey !== filter.sectionKey)
1120
+ continue;
1121
+ const fields = sectionEdit['newFields'];
1122
+ if (fields == null)
1123
+ continue;
1124
+ if (!Array.isArray(fields)) {
1125
+ throw new Error(`systemTabEdits.${tabKey}.systemSectionEdits.${sectionKey}.newFields must be an array.`);
1126
+ }
1127
+ containers.push({
1128
+ tabKey,
1129
+ sectionKey,
1130
+ fields: fields,
1131
+ label: `${tabKey}.${sectionKey}`,
1132
+ });
1133
+ }
1134
+ }
1135
+ return containers;
1136
+ }
1137
+ ensureSystemSectionFieldContainer(tabKey, sectionKey) {
1138
+ if (tabKey == null) {
1139
+ throw new Error('CustomObjectPageLayout addField with systemSection: true requires tabKey.');
1140
+ }
1141
+ if (sectionKey == null) {
1142
+ throw new Error('CustomObjectPageLayout addField with systemSection: true requires sectionKey.');
1143
+ }
1144
+ const sectionEdit = this.ensureSystemSectionEdit(tabKey, sectionKey);
1145
+ if (sectionEdit.deleted === true) {
1146
+ throw new Error(`CustomObjectPageLayout system section "${tabKey}.${sectionKey}" is marked deleted.`);
1147
+ }
1148
+ return {
1149
+ tabKey,
1150
+ sectionKey,
1151
+ fields: ensureArrayProperty(sectionEdit, 'newFields', `systemTabEdits.${tabKey}.systemSectionEdits.${sectionKey}.newFields`),
1152
+ label: `${tabKey}.${sectionKey}`,
1153
+ };
1154
+ }
1155
+ ensureSystemTabEdit(tabKey) {
1156
+ const systemTabEdits = ensureRecordProperty(this._tabEdits, 'systemTabEdits', 'tab_edits.systemTabEdits');
1157
+ return ensureRecordProperty(systemTabEdits, tabKey, `systemTabEdits.${tabKey}`);
1158
+ }
1159
+ ensureSystemSectionEdit(tabKey, sectionKey) {
1160
+ const tabEdit = this.ensureSystemTabEdit(tabKey);
1161
+ const systemSectionEdits = ensureRecordProperty(tabEdit, 'systemSectionEdits', `systemTabEdits.${tabKey}.systemSectionEdits`);
1162
+ return ensureRecordProperty(systemSectionEdits, sectionKey, `systemTabEdits.${tabKey}.systemSectionEdits.${sectionKey}`);
1163
+ }
1164
+ findNewTabWithSections(tabKey) {
1165
+ let found;
1166
+ for (const tab of this._tabEdits.newTabs ?? []) {
1167
+ if (tab.key !== tabKey)
1168
+ continue;
1169
+ if (!isTabWithSections(tab)) {
1170
+ throw new Error(`CustomObjectPageLayout tab "${tabKey}" is a custom_tab and cannot contain sections.`);
1171
+ }
1172
+ if (found != null) {
1173
+ throw new Error(`CustomObjectPageLayout contains multiple new tabs with key "${tabKey}".`);
1174
+ }
1175
+ found = tab;
1176
+ }
1177
+ return found;
1178
+ }
1179
+ assertSectionKeyAvailable(sections, sectionKey, tabKey, allowDuplicate) {
1180
+ if (allowDuplicate === true)
1181
+ return;
1182
+ if (sectionKey != null && sections.some((section) => layoutSectionMatches(section, sectionKey))) {
1183
+ throw new Error(`CustomObjectPageLayout tab "${tabKey}" already contains section "${sectionKey}".`);
1184
+ }
1185
+ }
1186
+ normalizeHeaderFieldForMutation(field, options) {
1187
+ const source = isField(field) ? undefined : field;
1188
+ const rqlName = isField(field) ? field.getApiName() : field.rqlName;
1189
+ if (isField(field))
1190
+ this.assertFieldBelongsToLayout(field);
1191
+ if (!rqlName)
1192
+ throw new Error('CustomObjectPageLayout header field rqlName cannot be empty.');
1193
+ const key = options.key ?? source?.key ?? (isField(field) ? field.getApiName() : undefined);
1194
+ if (!key)
1195
+ throw new Error('CustomObjectPageLayout header field key cannot be empty.');
1196
+ const normalized = { rqlName, key };
1197
+ const canBeDeleted = options.canBeDeleted ?? source?.canBeDeleted;
1198
+ const canBeChanged = options.canBeChanged ?? source?.canBeChanged;
1199
+ const canBeMoved = options.canBeMoved ?? source?.canBeMoved;
1200
+ if (canBeDeleted != null)
1201
+ normalized.canBeDeleted = canBeDeleted;
1202
+ if (canBeChanged != null)
1203
+ normalized.canBeChanged = canBeChanged;
1204
+ if (canBeMoved != null)
1205
+ normalized.canBeMoved = canBeMoved;
1206
+ return normalized;
1207
+ }
1208
+ headerFieldApiName(field) {
1209
+ if (typeof field === 'string')
1210
+ return this.fieldApiName(field);
1211
+ this.assertFieldBelongsToLayout(field);
1212
+ return field.getApiName();
1213
+ }
1214
+ removeSectionVisibility(sectionKey) {
1215
+ if (this._visibilityConditions.sections != null) {
1216
+ delete this._visibilityConditions.sections[sectionKey];
1217
+ }
1218
+ }
1219
+ removeTabVisibility(tabKey) {
1220
+ if (this._visibilityConditions.tabs != null) {
1221
+ delete this._visibilityConditions.tabs[tabKey];
1222
+ }
1223
+ }
1224
+ /**
1225
+ * Serializes this layout to the wire format consumed by the manifest install endpoint.
1226
+ *
1227
+ * @returns A plain object with `type: 'CUSTOM_OBJECT_PAGE_LAYOUT'`.
1228
+ */
1229
+ toDict() {
1230
+ const tabEdits = cloneJson(this._tabEdits);
1231
+ stripMovementOptions(tabEdits);
1232
+ const d = {
1233
+ type: CustomObjectPageLayout.componentType,
1234
+ layout_id: this._layoutId,
1235
+ api_name: this._apiName,
1236
+ object_rql_name: this._customObjectApiName,
1237
+ name: this._name,
1238
+ // Packaged layouts are never system-created (backend invariant).
1239
+ system_created: false,
1240
+ tab_edits: tabEdits,
1241
+ header_edits: this._headerEdits,
1242
+ visibility_conditions: this._visibilityConditions,
1243
+ blueprint_key: this._blueprintKey ?? this._customObjectApiName,
1244
+ };
1245
+ return d;
1246
+ }
1247
+ /**
1248
+ * Creates a simple single-tab "Details" layout with a single "General" section.
1249
+ *
1250
+ * Use this factory when you want a straightforward layout without customizing
1251
+ * tabs or sections. Always uses `apiName: 'default'`.
1252
+ *
1253
+ * @param customObject - The custom object to create the layout for.
1254
+ * @param props - Optional. Pass `section` and `fields` to populate the General section.
1255
+ * @returns A new `CustomObjectPageLayout` registered with the manifest.
1256
+ *
1257
+ * @example
1258
+ * ```ts
1259
+ * CustomObjectPageLayout.basic(memberObj, {
1260
+ * section: profileSection,
1261
+ * fields: [memberFirstName, memberEmail, memberStatusField],
1262
+ * });
1263
+ * ```
1264
+ */
1265
+ static basic(customObject, props = {}) {
1266
+ const coApiName = customObject.getApiName();
1267
+ const coName = customObject.getName();
1268
+ const fields = (props.fields ?? []).map((field) => customObject._resolveField(field));
1269
+ const generalSection = props.section ??
1270
+ (() => {
1271
+ const alreadySectionedField = fields.find((field) => field.getSectionId() != null);
1272
+ if (alreadySectionedField != null) {
1273
+ throw new Error(`CustomObjectPageLayout.basic field "${alreadySectionedField.getApiName()}" already belongs to ` +
1274
+ `field section "${alreadySectionedField.getSectionId()}". Pass that CustomObjectFieldSection ` +
1275
+ 'as section so basic() does not reassign the field.');
1276
+ }
1277
+ const sectionPrefix = coApiName.replace(/__c$/, '').replace(/[^a-zA-Z0-9]+/g, '_');
1278
+ return new CustomObjectFieldSection(customObject, {
1279
+ sectionId: `sec_${sectionPrefix}_general`,
1280
+ name: 'General',
1281
+ });
1282
+ })();
1283
+ assertSectionBelongsTo(customObject, generalSection);
1284
+ for (const field of fields) {
1285
+ const fieldSectionId = field.getSectionId();
1286
+ if (fieldSectionId != null && fieldSectionId !== generalSection.getSectionId()) {
1287
+ throw new Error(`CustomObjectPageLayout.basic field "${field.getApiName()}" belongs to field section ` +
1288
+ `"${fieldSectionId}", but basic() was given section "${generalSection.getSectionId()}".`);
1289
+ }
1290
+ }
1291
+ return new CustomObjectPageLayout(customObject, {
1292
+ apiName: 'default',
1293
+ name: `${coName} Layout`,
1294
+ tabEdits: {
1295
+ newTabs: [
1296
+ {
1297
+ key: 'details',
1298
+ name: 'Details',
1299
+ type: 'tab_with_sections',
1300
+ sections: [
1301
+ {
1302
+ name: 'General',
1303
+ type: 'fields_section',
1304
+ section: generalSection,
1305
+ fields,
1306
+ },
1307
+ ],
1308
+ },
1309
+ ],
1310
+ systemTabEdits: {},
1311
+ tabsOrder: ['details'],
1312
+ },
1313
+ headerEdits: {},
1314
+ visibilityConditions: {},
1315
+ });
1316
+ }
1317
+ }
1318
+ CustomObjectPageLayout.componentType = 'CUSTOM_OBJECT_PAGE_LAYOUT';
1319
+ //# sourceMappingURL=custom-object-page-layout.mjs.map