@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,1323 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomObjectPageLayout = void 0;
4
+ const _helpers_1 = require("./_helpers.js");
5
+ const custom_object_field_section_1 = require("./custom-object-field-section.js");
6
+ const existing_manifest_context_1 = require("./existing-manifest-context.js");
7
+ const _existing_component_fields_1 = require("./_existing-component-fields.js");
8
+ function isField(value) {
9
+ const candidate = value;
10
+ return (candidate != null &&
11
+ typeof candidate.getApiName === 'function' &&
12
+ typeof candidate.getCustomObjectApiName === 'function' &&
13
+ typeof candidate.getSectionId === 'function' &&
14
+ typeof candidate._assignSection === 'function');
15
+ }
16
+ function isFieldRef(value) {
17
+ const candidate = value;
18
+ return (candidate != null &&
19
+ typeof candidate === 'object' &&
20
+ (isField(candidate.field) || typeof candidate.field === 'string'));
21
+ }
22
+ const LAYOUT_SECTION_KEY = Symbol('CustomObjectPageLayout.layoutSectionKey');
23
+ function isCustomObjectFieldSection(value) {
24
+ return value instanceof custom_object_field_section_1.CustomObjectFieldSection;
25
+ }
26
+ function explicitLayoutSectionKey(section) {
27
+ const record = section;
28
+ const key = section.key ?? record['layout_section_key'] ?? record['layoutSectionKey'];
29
+ return typeof key === 'string' ? key : undefined;
30
+ }
31
+ function attachLayoutSectionKey(section, sectionKey) {
32
+ if (explicitLayoutSectionKey(section) == null)
33
+ section.key = sectionKey;
34
+ Object.defineProperty(section, LAYOUT_SECTION_KEY, {
35
+ value: sectionKey,
36
+ enumerable: false,
37
+ configurable: true,
38
+ });
39
+ return section;
40
+ }
41
+ function layoutSectionKey(section) {
42
+ return (explicitLayoutSectionKey(section) ??
43
+ section[LAYOUT_SECTION_KEY]);
44
+ }
45
+ function layoutSectionMatches(section, sectionKey) {
46
+ return layoutSectionKey(section) === sectionKey;
47
+ }
48
+ function isSerializedFieldsSection(section) {
49
+ return section.type === 'fields_section';
50
+ }
51
+ function assertSameObject(customObject, field, sectionKey) {
52
+ if (field.getCustomObjectApiName() !== customObject.getApiName()) {
53
+ throw new Error(`CustomObjectPageLayout fields_section "${sectionKey}" references field "${field.getApiName()}" ` +
54
+ `from "${field.getCustomObjectApiName()}", but the layout belongs to "${customObject.getApiName()}".`);
55
+ }
56
+ }
57
+ function assignSectionForLayout(field, section) {
58
+ if (!field.isStandard())
59
+ field._assignSection(section);
60
+ }
61
+ function assertSectionBelongsTo(customObject, section) {
62
+ if (section.getModelApiName() !== customObject.getApiName()) {
63
+ throw new Error(`CustomObjectPageLayout section "${section.getSectionId()}" belongs to "${section.getModelApiName()}", ` +
64
+ `but the layout belongs to "${customObject.getApiName()}".`);
65
+ }
66
+ }
67
+ function requireFieldSectionOption(value, label) {
68
+ if (isCustomObjectFieldSection(value))
69
+ return value;
70
+ if (typeof value === 'string') {
71
+ throw new TypeError(`${label} must be a CustomObjectFieldSection object; received raw section id "${value}". ` +
72
+ 'Load/include the existing field section first.');
73
+ }
74
+ throw new TypeError(`${label} must be a CustomObjectFieldSection object.`);
75
+ }
76
+ function assertOptionAbsent(options, key, message) {
77
+ if (options == null || typeof options !== 'object')
78
+ return;
79
+ if (Object.prototype.hasOwnProperty.call(options, key))
80
+ throw new TypeError(message);
81
+ }
82
+ function toSerializedSectionField(fieldRqlName, options = {}) {
83
+ const normalized = { fieldRqlName };
84
+ if (options.hidden != null)
85
+ normalized.hidden = options.hidden;
86
+ if (options.editable != null)
87
+ normalized.editable = options.editable;
88
+ if (options.readOnly != null)
89
+ normalized.readOnly = options.readOnly;
90
+ if (options.defaultValue != null)
91
+ normalized.defaultValue = options.defaultValue;
92
+ if (options.height != null)
93
+ normalized.height = options.height;
94
+ if (options.canBeDeleted != null)
95
+ normalized.canBeDeleted = options.canBeDeleted;
96
+ return normalized;
97
+ }
98
+ function copySectionOptions(target, input) {
99
+ if (input.canBeDeleted != null)
100
+ target.canBeDeleted = input.canBeDeleted;
101
+ if (input.canBeRenamed != null)
102
+ target.canBeRenamed = input.canBeRenamed;
103
+ if (input.hideName != null)
104
+ target.hideName = input.hideName;
105
+ return target;
106
+ }
107
+ function normalizeSectionField(customObject, section, sectionKey, entry) {
108
+ if (isField(entry) || typeof entry === 'string') {
109
+ const field = customObject._resolveField(entry);
110
+ assertSameObject(customObject, field, sectionKey);
111
+ assignSectionForLayout(field, section);
112
+ return toSerializedSectionField(field.getApiName());
113
+ }
114
+ if (isFieldRef(entry)) {
115
+ const field = customObject._resolveField(entry.field);
116
+ assertSameObject(customObject, field, sectionKey);
117
+ assignSectionForLayout(field, section);
118
+ return toSerializedSectionField(field.getApiName(), entry);
119
+ }
120
+ throw new Error(`CustomObjectPageLayout fields_section "${sectionKey}" has an invalid field entry; ` +
121
+ 'pass a Field instance or { field }.');
122
+ }
123
+ function normalizeFieldsSection(customObject, input) {
124
+ assertSectionBelongsTo(customObject, input.section);
125
+ const sectionKey = input.key ?? input.section.getSectionId();
126
+ const name = input.name ?? input.section.getName();
127
+ const normalized = copySectionOptions({
128
+ name,
129
+ type: 'fields_section',
130
+ fields: input.fields.map((field) => normalizeSectionField(customObject, input.section, sectionKey, field)),
131
+ }, input);
132
+ if (input.layout != null)
133
+ normalized.layout = input.layout;
134
+ return attachLayoutSectionKey(normalized, sectionKey);
135
+ }
136
+ function normalizeSection(customObject, section) {
137
+ if (section.type === 'fields_section')
138
+ return normalizeFieldsSection(customObject, section);
139
+ return { ...section };
140
+ }
141
+ function normalizeTab(customObject, tab) {
142
+ if (tab.type === 'custom_tab')
143
+ return tab;
144
+ return {
145
+ ...tab,
146
+ sections: tab.sections.map((section) => normalizeSection(customObject, section)),
147
+ };
148
+ }
149
+ function normalizeSystemSectionEdit(customObject, tabKey, sectionKey, edit) {
150
+ const { newFields: _newFields, ...rest } = edit;
151
+ const normalized = { ...rest };
152
+ if (edit.newFields != null) {
153
+ normalized.newFields = edit.newFields.map((field) => normalizeSectionField(customObject, sectionKey, `${tabKey}.${sectionKey}`, field));
154
+ }
155
+ return normalized;
156
+ }
157
+ function normalizeSystemTabEdit(customObject, tabKey, edit) {
158
+ const { newSections: _newSections, systemSectionEdits: _systemSectionEdits, ...rest } = edit;
159
+ const normalized = { ...rest };
160
+ if (edit.newSections != null) {
161
+ normalized.newSections = edit.newSections.map((section) => normalizeSection(customObject, section));
162
+ }
163
+ if (edit.systemSectionEdits != null) {
164
+ const systemSectionEdits = {};
165
+ for (const [sectionKey, sectionEdit] of Object.entries(edit.systemSectionEdits)) {
166
+ systemSectionEdits[sectionKey] = normalizeSystemSectionEdit(customObject, tabKey, sectionKey, sectionEdit);
167
+ }
168
+ normalized.systemSectionEdits = systemSectionEdits;
169
+ }
170
+ return normalized;
171
+ }
172
+ function normalizeTabEdits(customObject, tabEdits) {
173
+ const { newTabs: _newTabs, systemTabEdits: _systemTabEdits, ...rest } = tabEdits;
174
+ const normalized = { ...rest };
175
+ if (tabEdits.newTabs != null) {
176
+ normalized.newTabs = tabEdits.newTabs.map((tab) => normalizeTab(customObject, tab));
177
+ }
178
+ if (tabEdits.systemTabEdits != null) {
179
+ const systemTabEdits = {};
180
+ for (const [tabKey, tabEdit] of Object.entries(tabEdits.systemTabEdits)) {
181
+ systemTabEdits[tabKey] = normalizeSystemTabEdit(customObject, tabKey, tabEdit);
182
+ }
183
+ normalized.systemTabEdits = systemTabEdits;
184
+ }
185
+ return normalized;
186
+ }
187
+ function cloneJson(value) {
188
+ if (value == null)
189
+ return value;
190
+ return JSON.parse(JSON.stringify(value));
191
+ }
192
+ function stripMovementOptions(value) {
193
+ if (Array.isArray(value)) {
194
+ for (const item of value)
195
+ stripMovementOptions(item);
196
+ return;
197
+ }
198
+ if (value == null || typeof value !== 'object')
199
+ return;
200
+ const record = value;
201
+ delete record['movementOption'];
202
+ for (const item of Object.values(record))
203
+ stripMovementOptions(item);
204
+ }
205
+ const HEADER_EDIT_KEYS = new Set([
206
+ 'newTitleField',
207
+ 'titleFieldDeleted',
208
+ 'newDescriptionField',
209
+ 'descriptionFieldDeleted',
210
+ 'systemFieldEdits',
211
+ 'newFields',
212
+ 'headerFieldsOrder',
213
+ ]);
214
+ const SYSTEM_HEADER_FIELD_EDIT_KEYS = new Set(['newRqlField', 'deleted']);
215
+ const NEW_HEADER_FIELD_KEYS = new Set(['rqlName', 'key', 'canBeDeleted', 'canBeChanged', 'canBeMoved']);
216
+ function assertKnownKeys(record, allowedKeys, label, hint) {
217
+ for (const key of Object.keys(record)) {
218
+ if (!allowedKeys.has(key)) {
219
+ throw new Error(`${label} contains unsupported key "${key}". ${hint}`);
220
+ }
221
+ }
222
+ }
223
+ function normalizeHeaderEdits(headerEdits) {
224
+ assertKnownKeys(headerEdits, HEADER_EDIT_KEYS, 'CustomObjectPageLayout headerEdits', 'Use addHeaderField(), setTitleField(), setDescriptionField(), or the HeaderEdits keys documented by the SDK.');
225
+ for (const [key, edit] of Object.entries(headerEdits.systemFieldEdits ?? {})) {
226
+ assertKnownKeys(edit, SYSTEM_HEADER_FIELD_EDIT_KEYS, `CustomObjectPageLayout headerEdits.systemFieldEdits.${key}`, 'Use newRqlField and deleted for system header field edits.');
227
+ }
228
+ for (const [index, field] of (headerEdits.newFields ?? []).entries()) {
229
+ assertKnownKeys(field, NEW_HEADER_FIELD_KEYS, `CustomObjectPageLayout headerEdits.newFields[${index}]`, 'Use { rqlName, key } entries, or call addHeaderField(field).');
230
+ }
231
+ if (headerEdits.newTitleField === '') {
232
+ throw new Error('CustomObjectPageLayout headerEdits.newTitleField cannot be empty. Use titleFieldDeleted.');
233
+ }
234
+ if (headerEdits.newDescriptionField === '') {
235
+ throw new Error('CustomObjectPageLayout headerEdits.newDescriptionField cannot be empty. Use descriptionFieldDeleted.');
236
+ }
237
+ if (headerEdits.newTitleField != null && headerEdits.titleFieldDeleted === true) {
238
+ throw new Error('CustomObjectPageLayout headerEdits cannot both set newTitleField and titleFieldDeleted.');
239
+ }
240
+ if (headerEdits.newDescriptionField != null && headerEdits.descriptionFieldDeleted === true) {
241
+ throw new Error('CustomObjectPageLayout headerEdits cannot both set newDescriptionField and descriptionFieldDeleted.');
242
+ }
243
+ const normalized = { ...headerEdits };
244
+ if (headerEdits.headerFieldsOrder == null)
245
+ return normalized;
246
+ return {
247
+ ...normalized,
248
+ headerFieldsOrder: normalizeHeaderFieldsOrder(normalized),
249
+ };
250
+ }
251
+ function addUniqueHeaderOrderField(order, field) {
252
+ if (typeof field !== 'string' || field.length === 0)
253
+ return;
254
+ if (!order.includes(field))
255
+ order.push(field);
256
+ }
257
+ function normalizeHeaderFieldsOrder(headerEdits) {
258
+ const customFieldRqlByKey = new Map((headerEdits.newFields ?? []).map((field) => [field.key, field.rqlName]));
259
+ const systemFieldRqlByKey = new Map(Object.entries(headerEdits.systemFieldEdits ?? {})
260
+ .filter((entry) => {
261
+ const [, edit] = entry;
262
+ return typeof edit.newRqlField === 'string' && edit.newRqlField.length > 0;
263
+ })
264
+ .map(([key, edit]) => [key, edit.newRqlField]));
265
+ const order = [];
266
+ for (const entry of headerEdits.headerFieldsOrder ?? []) {
267
+ addUniqueHeaderOrderField(order, customFieldRqlByKey.get(entry) ?? systemFieldRqlByKey.get(entry) ?? entry);
268
+ }
269
+ addUniqueHeaderOrderField(order, headerEdits.newTitleField);
270
+ addUniqueHeaderOrderField(order, headerEdits.newDescriptionField);
271
+ for (const field of headerEdits.newFields ?? []) {
272
+ addUniqueHeaderOrderField(order, field.rqlName);
273
+ }
274
+ for (const systemEdit of Object.values(headerEdits.systemFieldEdits ?? {})) {
275
+ addUniqueHeaderOrderField(order, systemEdit.newRqlField);
276
+ }
277
+ return order;
278
+ }
279
+ function isTabWithSections(tab) {
280
+ return tab.type === 'tab_with_sections';
281
+ }
282
+ function insertionIndex(length, position) {
283
+ if (position == null || position === 'end')
284
+ return length;
285
+ if (position === 'start')
286
+ return 0;
287
+ if (!Number.isInteger(position) || position < 0 || position > length) {
288
+ throw new Error(`Invalid insertion position ${position}; expected 'start', 'end', or 0-${length}.`);
289
+ }
290
+ return position;
291
+ }
292
+ function insertAt(items, item, position) {
293
+ items.splice(insertionIndex(items.length, position), 0, item);
294
+ }
295
+ function insertUniqueAt(items, item, position) {
296
+ if (item == null || item.length === 0 || items.includes(item))
297
+ return;
298
+ insertAt(items, item, position);
299
+ }
300
+ function fieldRqlNameOf(entry) {
301
+ if (typeof entry === 'string')
302
+ return entry;
303
+ if (entry == null || typeof entry !== 'object')
304
+ return undefined;
305
+ const record = entry;
306
+ const fieldRqlName = record['fieldRqlName'] ?? record['field_rql_name'] ?? record['apiName'] ?? record['api_name'];
307
+ return typeof fieldRqlName === 'string' ? fieldRqlName : undefined;
308
+ }
309
+ function addFieldSectionLayoutSection(index, fieldSectionId, entry) {
310
+ const entries = index.get(fieldSectionId) ?? [];
311
+ if (!entries.some((existing) => existing.tabKey === entry.tabKey && existing.sectionKey === entry.sectionKey)) {
312
+ entries.push(entry);
313
+ }
314
+ index.set(fieldSectionId, entries);
315
+ }
316
+ function indexFieldsSectionInput(index, tabKey, section) {
317
+ addFieldSectionLayoutSection(index, section.section.getSectionId(), {
318
+ tabKey,
319
+ sectionKey: section.key ?? section.section.getSectionId(),
320
+ });
321
+ }
322
+ function indexPageLayoutSectionInput(index, tabKey, section) {
323
+ if (section.type === 'fields_section')
324
+ indexFieldsSectionInput(index, tabKey, section);
325
+ }
326
+ function buildFieldSectionLayoutIndexFromProps(tabEdits) {
327
+ const index = new Map();
328
+ if (tabEdits == null)
329
+ return index;
330
+ for (const tab of tabEdits.newTabs ?? []) {
331
+ if (tab.type !== 'tab_with_sections')
332
+ continue;
333
+ for (const section of tab.sections)
334
+ indexPageLayoutSectionInput(index, tab.key, section);
335
+ }
336
+ for (const [tabKey, tabEdit] of Object.entries(tabEdits.systemTabEdits ?? {})) {
337
+ for (const section of tabEdit.newSections ?? []) {
338
+ indexPageLayoutSectionInput(index, tabKey, section);
339
+ }
340
+ }
341
+ return index;
342
+ }
343
+ function indexLoadedFieldsSection(index, tabKey, section, resolveFieldSectionId) {
344
+ const sectionKey = layoutSectionKey(section);
345
+ if (sectionKey == null || resolveFieldSectionId == null)
346
+ return;
347
+ for (const field of section.fields ?? []) {
348
+ const fieldRqlName = fieldRqlNameOf(field);
349
+ if (fieldRqlName == null)
350
+ continue;
351
+ const fieldSectionId = resolveFieldSectionId(fieldRqlName);
352
+ if (fieldSectionId != null) {
353
+ addFieldSectionLayoutSection(index, fieldSectionId, { tabKey, sectionKey });
354
+ }
355
+ }
356
+ }
357
+ function buildFieldSectionLayoutIndexFromLoadedTabEdits(tabEdits, resolveFieldSectionId) {
358
+ const index = new Map();
359
+ for (const tab of tabEdits.newTabs ?? []) {
360
+ if (!isTabWithSections(tab))
361
+ continue;
362
+ for (const section of tab.sections) {
363
+ if (isSerializedFieldsSection(section)) {
364
+ indexLoadedFieldsSection(index, tab.key, section, resolveFieldSectionId);
365
+ }
366
+ }
367
+ }
368
+ for (const [tabKey, tabEdit] of Object.entries(tabEdits.systemTabEdits ?? {})) {
369
+ for (const section of tabEdit.newSections ?? []) {
370
+ if (isSerializedFieldsSection(section)) {
371
+ indexLoadedFieldsSection(index, tabKey, section, resolveFieldSectionId);
372
+ }
373
+ }
374
+ }
375
+ return index;
376
+ }
377
+ function annotateLoadedFieldsSection(section) {
378
+ const sectionKey = layoutSectionKey(section);
379
+ return sectionKey == null ? section : attachLayoutSectionKey(section, sectionKey);
380
+ }
381
+ function annotateLoadedTabEdits(tabEdits) {
382
+ for (const tab of tabEdits.newTabs ?? []) {
383
+ if (!isTabWithSections(tab))
384
+ continue;
385
+ tab.sections = tab.sections.map((section) => isSerializedFieldsSection(section) ? annotateLoadedFieldsSection(section) : section);
386
+ }
387
+ for (const tabEdit of Object.values(tabEdits.systemTabEdits ?? {})) {
388
+ if (tabEdit.newSections != null) {
389
+ tabEdit.newSections = tabEdit.newSections.map((section) => isSerializedFieldsSection(section) ? annotateLoadedFieldsSection(section) : section);
390
+ }
391
+ }
392
+ return tabEdits;
393
+ }
394
+ function removeIndexes(items, indexes) {
395
+ for (const index of [...indexes].sort((a, b) => b - a)) {
396
+ items.splice(index, 1);
397
+ }
398
+ }
399
+ function removeFromArray(items, predicate, label, removeAll = true) {
400
+ const indexes = [];
401
+ items.forEach((item, index) => {
402
+ if (predicate(item))
403
+ indexes.push(index);
404
+ });
405
+ if (indexes.length > 1 && !removeAll) {
406
+ throw new Error(`${label} matched ${indexes.length} entries; pass removeAll: true to remove them all.`);
407
+ }
408
+ removeIndexes(items, removeAll ? indexes : indexes.slice(0, 1));
409
+ return removeAll ? indexes.length : Math.min(indexes.length, 1);
410
+ }
411
+ function removeKeyFromOrder(order, key) {
412
+ if (order == null)
413
+ return;
414
+ removeFromArray(order, (entry) => entry === key, `order key "${key}"`);
415
+ }
416
+ function ensureRecordProperty(record, key, label) {
417
+ const existing = record[key];
418
+ if (existing == null) {
419
+ const next = {};
420
+ record[key] = next;
421
+ return next;
422
+ }
423
+ if (typeof existing !== 'object' || Array.isArray(existing)) {
424
+ throw new Error(`${label} must be an object.`);
425
+ }
426
+ return existing;
427
+ }
428
+ function ensureArrayProperty(record, key, label) {
429
+ const existing = record[key];
430
+ if (existing == null) {
431
+ const next = [];
432
+ record[key] = next;
433
+ return next;
434
+ }
435
+ if (!Array.isArray(existing)) {
436
+ throw new Error(`${label} must be an array.`);
437
+ }
438
+ return existing;
439
+ }
440
+ // ---------------------------------------------------------------------------
441
+ // Class
442
+ // ---------------------------------------------------------------------------
443
+ /**
444
+ * Defines a page layout and registers it with the manifest.
445
+ *
446
+ * A page layout controls the tab structure, section groupings, header fields,
447
+ * and visibility conditions on a custom object's record detail page. You would
448
+ * normally define one layout per custom object using `apiName: 'default'`.
449
+ *
450
+ * For simple single-tab layouts, use the {@link CustomObjectPageLayout.basic}
451
+ * factory instead of constructing the full props manually.
452
+ *
453
+ * > **Caution:** all keys inside `tabEdits` and `headerEdits` must be camelCase.
454
+ * > Snake_case keys are silently dropped on the wire and produce an empty layout.
455
+ *
456
+ * @example
457
+ * ```ts
458
+ * new CustomObjectPageLayout(memberObj, {
459
+ * apiName: 'default',
460
+ * name: 'Member',
461
+ * layoutId: 'layout_gym_member',
462
+ * tabEdits: {
463
+ * newTabs: [{
464
+ * key: 'member', name: 'Member', type: 'tab_with_sections',
465
+ * sections: [{
466
+ * name: 'Profile',
467
+ * type: 'fields_section',
468
+ * section: profileSection,
469
+ * fields: [{ field: 'name', editable: true }, memberEmail],
470
+ * }],
471
+ * }],
472
+ * systemTabEdits: {},
473
+ * tabsOrder: ['member'],
474
+ * },
475
+ * visibilityConditions: {},
476
+ * });
477
+ * ```
478
+ *
479
+ * @see {@link CustomObjectPageLayout.basic} — factory for simple single-tab layouts.
480
+ */
481
+ class CustomObjectPageLayout {
482
+ static toDeletionIdentifier(identifier) {
483
+ return {
484
+ type: CustomObjectPageLayout.componentType,
485
+ layout_id: identifier.layoutId,
486
+ object_rql_name: identifier.objectRqlName,
487
+ };
488
+ }
489
+ /**
490
+ * @param customObject - The custom object this layout belongs to.
491
+ * @param props - Initialization properties.
492
+ * @throws {Error} If `apiName` or `name` is empty.
493
+ */
494
+ constructor(customObject, props) {
495
+ if (!props.apiName)
496
+ throw new Error('CustomObjectPageLayout: apiName cannot be empty');
497
+ if (!props.name)
498
+ throw new Error('CustomObjectPageLayout: name cannot be empty');
499
+ this._layoutId = props.layoutId ?? (0, _helpers_1.generateId)('layout');
500
+ this._apiName = props.apiName;
501
+ this._customObjectApiName = customObject.getApiName();
502
+ this._customObject = customObject;
503
+ this._name = props.name;
504
+ this._tabEdits = normalizeTabEdits(customObject, props.tabEdits ?? {});
505
+ this._fieldSectionLayoutSections = buildFieldSectionLayoutIndexFromProps(props.tabEdits);
506
+ this._headerEdits = normalizeHeaderEdits(props.headerEdits ?? {});
507
+ this._visibilityConditions = props.visibilityConditions ?? {};
508
+ this._blueprintKey = props.blueprintKey;
509
+ customObject._register(this);
510
+ }
511
+ /**
512
+ * Loads this page layout from the active existing-manifest JSON context.
513
+ *
514
+ * `id` resolves against `layout_id` first, then `api_name`. When loading by
515
+ * api_name such as `'default'`, pass `customObjectApiName` if multiple objects
516
+ * have a layout with the same api_name.
517
+ */
518
+ static loadFromExisting(layoutIdOrApiName, options = {}) {
519
+ return (0, existing_manifest_context_1.getExistingManifestContext)(options).loadPageLayout(layoutIdOrApiName, options);
520
+ }
521
+ /** @internal Hydrates a page layout from existing manifest wire JSON. */
522
+ static _fromExistingComponent(customObject, component, resolveFieldSectionId) {
523
+ const layout = Object.create(CustomObjectPageLayout.prototype);
524
+ const tabEdits = annotateLoadedTabEdits(cloneJson(component['tab_edits'] ?? {}));
525
+ Object.assign(layout, {
526
+ _layoutId: (0, _existing_component_fields_1.requireStringComponentField)(component, 'layout_id', CustomObjectPageLayout.componentType),
527
+ _apiName: (0, _existing_component_fields_1.requireStringComponentField)(component, 'api_name', CustomObjectPageLayout.componentType),
528
+ _customObjectApiName: (0, _existing_component_fields_1.requireStringComponentField)(component, 'object_rql_name', CustomObjectPageLayout.componentType),
529
+ _customObject: customObject,
530
+ _name: (0, _existing_component_fields_1.requireStringComponentField)(component, 'name', CustomObjectPageLayout.componentType),
531
+ _tabEdits: tabEdits,
532
+ _headerEdits: cloneJson(component['header_edits'] ?? {}),
533
+ _visibilityConditions: cloneJson(component['visibility_conditions'] ?? {}),
534
+ _blueprintKey: component['blueprint_key'],
535
+ _fieldSectionLayoutSections: buildFieldSectionLayoutIndexFromLoadedTabEdits(tabEdits, resolveFieldSectionId),
536
+ });
537
+ customObject._register(layout);
538
+ return layout;
539
+ }
540
+ /**
541
+ * Returns the stable identifier for this layout record (e.g. `'layout_gym_member'`).
542
+ */
543
+ getLayoutId() {
544
+ return this._layoutId;
545
+ }
546
+ /**
547
+ * Returns the api_name of this layout (e.g. `'default'`).
548
+ */
549
+ getApiName() {
550
+ return this._apiName;
551
+ }
552
+ /**
553
+ * Returns the api_name of the custom object this layout belongs to.
554
+ */
555
+ getCustomObjectApiName() {
556
+ return this._customObjectApiName;
557
+ }
558
+ /**
559
+ * Adds one field to an existing layout section.
560
+ *
561
+ * For loaded layouts, this mutates the preserved `tab_edits` JSON in place
562
+ * and normalizes only the inserted field entry.
563
+ */
564
+ addField(field, options) {
565
+ return this.addFields([field], options);
566
+ }
567
+ /**
568
+ * Adds multiple fields to an existing layout section.
569
+ *
570
+ * Fields are inserted in the order provided. For custom layout sections,
571
+ * pass `section` to choose the typed field section. Use `sectionKey` only
572
+ * when a field section maps to multiple layout sections.
573
+ */
574
+ addFields(fields, options) {
575
+ if (fields.length === 0)
576
+ return this;
577
+ let fieldSectionForMutation;
578
+ const container = options.systemSection === true ?
579
+ (() => {
580
+ assertOptionAbsent(options, 'section', 'CustomObjectPageLayout addField section is only supported for custom layout sections.');
581
+ assertOptionAbsent(options, 'fieldSection', 'CustomObjectPageLayout addField fieldSection is no longer supported. ' +
582
+ 'Use sectionKey only for systemSection: true.');
583
+ return this.ensureSystemSectionFieldContainer(options.tabKey, options.sectionKey);
584
+ })()
585
+ : (() => {
586
+ assertOptionAbsent(options, 'fieldSection', 'CustomObjectPageLayout addField fieldSection is no longer supported. ' +
587
+ 'Pass section: CustomObjectFieldSection instead.');
588
+ const section = options.section == null ?
589
+ undefined
590
+ : requireFieldSectionOption(options.section, 'CustomObjectPageLayout addField section');
591
+ if (section != null) {
592
+ this.assertFieldSectionBelongsToLayout(section);
593
+ fieldSectionForMutation = section;
594
+ }
595
+ const sectionKey = options.sectionKey ??
596
+ (section == null ? undefined : this.layoutSectionKeyForFieldSection(options.tabKey, section)) ??
597
+ section?.getSectionId();
598
+ return this.requireOneFieldContainer(options.tabKey, sectionKey, section);
599
+ })();
600
+ const entries = fields.map((field) => this.serializeFieldForMutation(field, container.sectionKey ?? container.label, options, fieldSectionForMutation));
601
+ if (options.allowDuplicate !== true) {
602
+ const existing = new Set(container.fields.map((entry) => fieldRqlNameOf(entry)).filter(Boolean));
603
+ const seen = new Set();
604
+ for (const entry of entries) {
605
+ const fieldRqlName = entry.fieldRqlName;
606
+ if (existing.has(fieldRqlName) || seen.has(fieldRqlName)) {
607
+ throw new Error(`CustomObjectPageLayout section "${container.label}" already contains field "${fieldRqlName}".`);
608
+ }
609
+ seen.add(fieldRqlName);
610
+ }
611
+ }
612
+ const index = insertionIndex(container.fields.length, options.position);
613
+ container.fields.splice(index, 0, ...entries);
614
+ return this;
615
+ }
616
+ /**
617
+ * Removes a field from the layout's field sections.
618
+ *
619
+ * This only removes the field from the page layout. It does not delete the
620
+ * `CUSTOM_OBJECT_FIELD` component from the manifest.
621
+ */
622
+ removeField(field, options = {}) {
623
+ const fieldApiName = this.fieldApiName(field);
624
+ if (isField(field))
625
+ this.assertFieldBelongsToLayout(field);
626
+ let sectionKey;
627
+ if (options.systemSection === true) {
628
+ assertOptionAbsent(options, 'section', 'CustomObjectPageLayout removeField section is only supported for custom layout sections.');
629
+ sectionKey = options.sectionKey;
630
+ }
631
+ else {
632
+ sectionKey = options.sectionKey;
633
+ if (options.section != null) {
634
+ const section = requireFieldSectionOption(options.section, 'CustomObjectPageLayout removeField section');
635
+ this.assertFieldSectionBelongsToLayout(section);
636
+ sectionKey ?? (sectionKey = this.layoutSectionKeyForFieldSection(options.tabKey, section));
637
+ sectionKey ?? (sectionKey = section.getSectionId());
638
+ }
639
+ }
640
+ const containers = this.findFieldContainers({
641
+ tabKey: options.tabKey,
642
+ sectionKey,
643
+ systemSectionOnly: options.systemSection === true,
644
+ });
645
+ const matches = [];
646
+ for (const container of containers) {
647
+ container.fields.forEach((entry, index) => {
648
+ if (fieldRqlNameOf(entry) === fieldApiName) {
649
+ matches.push({ container, index });
650
+ }
651
+ });
652
+ }
653
+ if (matches.length === 0) {
654
+ throw new Error(`CustomObjectPageLayout does not contain field "${fieldApiName}".`);
655
+ }
656
+ const removeAll = options.removeAll !== false;
657
+ if (matches.length > 1 && !removeAll) {
658
+ throw new Error(`CustomObjectPageLayout field "${fieldApiName}" matched ${matches.length} entries; ` +
659
+ 'pass removeAll: true to remove them all.');
660
+ }
661
+ const removals = removeAll ? matches : matches.slice(0, 1);
662
+ const byContainer = new Map();
663
+ for (const match of removals) {
664
+ const indexes = byContainer.get(match.container) ?? [];
665
+ indexes.push(match.index);
666
+ byContainer.set(match.container, indexes);
667
+ }
668
+ for (const [container, indexes] of byContainer.entries()) {
669
+ removeIndexes(container.fields, indexes);
670
+ }
671
+ return this;
672
+ }
673
+ /** Removes multiple fields from the layout's field sections. */
674
+ removeFields(fields, options = {}) {
675
+ for (const field of fields) {
676
+ this.removeField(field, options);
677
+ }
678
+ return this;
679
+ }
680
+ /**
681
+ * Adds a section to an existing tab.
682
+ *
683
+ * Pass `systemTab: true` to add a new section to a built-in tab via
684
+ * `systemTabEdits.newSections`.
685
+ */
686
+ addSection(section, options) {
687
+ const normalized = this.normalizeSectionForMutation(section);
688
+ if (options.systemTab === true) {
689
+ const tabEdit = this.ensureSystemTabEdit(options.tabKey);
690
+ const sections = ensureArrayProperty(tabEdit, 'newSections', `systemTabEdits.${options.tabKey}.newSections`);
691
+ this.assertSectionKeyAvailable(sections, layoutSectionKey(normalized), options.tabKey, options.allowDuplicate);
692
+ const sectionsOrder = this.ensureSystemSectionsOrder(tabEdit);
693
+ insertAt(sections, normalized, options.position);
694
+ insertUniqueAt(sectionsOrder, layoutSectionKey(normalized), options.position);
695
+ if (section.type === 'fields_section') {
696
+ this.rememberFieldSectionLayoutSection(section.section, options.tabKey, layoutSectionKey(normalized));
697
+ }
698
+ return this;
699
+ }
700
+ const tab = this.findNewTabWithSections(options.tabKey);
701
+ if (tab == null) {
702
+ throw new Error(`CustomObjectPageLayout could not find new tab "${options.tabKey}". ` +
703
+ 'Pass systemTab: true to add a section to a built-in system tab.');
704
+ }
705
+ this.assertSectionKeyAvailable(tab.sections, layoutSectionKey(normalized), options.tabKey, options.allowDuplicate);
706
+ insertAt(tab.sections, normalized, options.position);
707
+ if (section.type === 'fields_section') {
708
+ this.rememberFieldSectionLayoutSection(section.section, tab.key, layoutSectionKey(normalized));
709
+ }
710
+ return this;
711
+ }
712
+ removeSection(sectionOrKey, options = {}) {
713
+ if (options.systemSection === true) {
714
+ if (typeof sectionOrKey !== 'string') {
715
+ throw new TypeError('CustomObjectPageLayout removeSection with systemSection: true requires a system section key.');
716
+ }
717
+ if (options.tabKey == null) {
718
+ throw new Error('CustomObjectPageLayout removeSection with systemSection: true requires tabKey.');
719
+ }
720
+ const sectionEdit = this.ensureSystemSectionEdit(options.tabKey, sectionOrKey);
721
+ sectionEdit.deleted = true;
722
+ removeKeyFromOrder(this._tabEdits.systemTabEdits?.[options.tabKey]?.sectionsOrder, sectionOrKey);
723
+ this.removeSectionVisibility(sectionOrKey);
724
+ return this;
725
+ }
726
+ let sectionKey;
727
+ if (typeof sectionOrKey === 'string') {
728
+ sectionKey = sectionOrKey;
729
+ }
730
+ else {
731
+ const section = requireFieldSectionOption(sectionOrKey, 'CustomObjectPageLayout removeSection section');
732
+ this.assertFieldSectionBelongsToLayout(section);
733
+ sectionKey = this.layoutSectionKeyForFieldSection(options.tabKey, section) ?? section.getSectionId();
734
+ }
735
+ const matches = [];
736
+ for (const tab of this._tabEdits.newTabs ?? []) {
737
+ if (!isTabWithSections(tab))
738
+ continue;
739
+ if (options.tabKey != null && tab.key !== options.tabKey)
740
+ continue;
741
+ tab.sections.forEach((section, index) => {
742
+ if (isSerializedFieldsSection(section) && layoutSectionMatches(section, sectionKey))
743
+ matches.push({ sections: tab.sections, section, index, tabKey: tab.key });
744
+ });
745
+ }
746
+ for (const [tabKey, tabEdit] of Object.entries(this._tabEdits.systemTabEdits ?? {})) {
747
+ if (options.tabKey != null && tabKey !== options.tabKey)
748
+ continue;
749
+ (tabEdit.newSections ?? []).forEach((section, index) => {
750
+ if (isSerializedFieldsSection(section) && layoutSectionMatches(section, sectionKey))
751
+ matches.push({ sections: tabEdit.newSections, section, index, tabEdit, tabKey });
752
+ });
753
+ }
754
+ if (matches.length === 0) {
755
+ throw new Error(`CustomObjectPageLayout does not contain section "${sectionKey}".`);
756
+ }
757
+ const removeAll = options.removeAll !== false;
758
+ if (matches.length > 1 && !removeAll) {
759
+ throw new Error(`CustomObjectPageLayout section "${sectionKey}" matched ${matches.length} entries; ` +
760
+ 'pass removeAll: true to remove them all.');
761
+ }
762
+ const removals = removeAll ? matches : matches.slice(0, 1);
763
+ const byArray = new Map();
764
+ for (const match of removals) {
765
+ const indexes = byArray.get(match.sections) ?? [];
766
+ indexes.push(match.index);
767
+ byArray.set(match.sections, indexes);
768
+ if (match.tabEdit != null)
769
+ removeKeyFromOrder(match.tabEdit.sectionsOrder, sectionKey);
770
+ this.removeSectionVisibility(sectionKey);
771
+ }
772
+ for (const [sections, indexes] of byArray.entries()) {
773
+ removeIndexes(sections, indexes);
774
+ }
775
+ return this;
776
+ }
777
+ /** Adds a new tab to `tab_edits.newTabs`. */
778
+ addTab(tab, options = {}) {
779
+ var _a;
780
+ const normalized = this.normalizeTabForMutation(tab);
781
+ const newTabs = ((_a = this._tabEdits).newTabs ?? (_a.newTabs = []));
782
+ if (options.allowDuplicate !== true && newTabs.some((existing) => existing.key === normalized.key)) {
783
+ throw new Error(`CustomObjectPageLayout already contains tab "${normalized.key}".`);
784
+ }
785
+ const tabsOrder = this.ensureTabsOrder();
786
+ insertAt(newTabs, normalized, options.position);
787
+ insertUniqueAt(tabsOrder, normalized.key, options.position);
788
+ if (tab.type === 'tab_with_sections') {
789
+ for (const section of tab.sections)
790
+ indexPageLayoutSectionInput(this._fieldSectionLayoutSections, tab.key, section);
791
+ }
792
+ return this;
793
+ }
794
+ /**
795
+ * Removes a tab from `newTabs`.
796
+ *
797
+ * Pass `systemTab: true` to delete a built-in tab via `systemTabEdits[tabKey].deleted`.
798
+ */
799
+ removeTab(tabKey, options = {}) {
800
+ if (options.systemTab === true) {
801
+ const tabEdit = this.ensureSystemTabEdit(tabKey);
802
+ tabEdit.deleted = true;
803
+ removeKeyFromOrder(this._tabEdits.tabsOrder, tabKey);
804
+ this.removeTabVisibility(tabKey);
805
+ return this;
806
+ }
807
+ const newTabs = this._tabEdits.newTabs ?? [];
808
+ const removed = removeFromArray(newTabs, (tab) => tab.key === tabKey, `CustomObjectPageLayout tab "${tabKey}"`, options.removeAll !== false);
809
+ if (removed === 0) {
810
+ throw new Error(`CustomObjectPageLayout does not contain tab "${tabKey}".`);
811
+ }
812
+ removeKeyFromOrder(this._tabEdits.tabsOrder, tabKey);
813
+ this.removeTabVisibility(tabKey);
814
+ return this;
815
+ }
816
+ /** Adds a custom header field to `header_edits.newFields`. */
817
+ addHeaderField(field, options = {}) {
818
+ var _a;
819
+ const headerField = this.normalizeHeaderFieldForMutation(field, options);
820
+ const newFields = ((_a = this._headerEdits).newFields ?? (_a.newFields = []));
821
+ if (options.allowDuplicate !== true && newFields.some((existing) => existing.key === headerField.key)) {
822
+ throw new Error(`CustomObjectPageLayout header already contains field key "${headerField.key}".`);
823
+ }
824
+ const headerFieldsOrder = this.ensureHeaderFieldsOrder();
825
+ insertAt(newFields, headerField, options.position);
826
+ insertUniqueAt(headerFieldsOrder, headerField.rqlName, options.position);
827
+ return this;
828
+ }
829
+ /** Removes custom header fields from `header_edits.newFields`. */
830
+ removeHeaderField(fieldOrKey, options = {}) {
831
+ const fieldApiName = typeof fieldOrKey === 'string' ? undefined : fieldOrKey.getApiName();
832
+ if (isField(fieldOrKey))
833
+ this.assertFieldBelongsToLayout(fieldOrKey);
834
+ const key = typeof fieldOrKey === 'string' ? fieldOrKey : fieldApiName;
835
+ const newFields = this._headerEdits.newFields ?? [];
836
+ const removedFields = [];
837
+ const removed = removeFromArray(newFields, (field) => {
838
+ const matched = field.key === key || (fieldApiName != null && field.rqlName === fieldApiName);
839
+ if (matched)
840
+ removedFields.push(field);
841
+ return matched;
842
+ }, `CustomObjectPageLayout header field "${key}"`, options.removeAll !== false);
843
+ if (removed === 0) {
844
+ throw new Error(`CustomObjectPageLayout header does not contain field "${key}".`);
845
+ }
846
+ for (const removedField of removedFields)
847
+ this.removeHeaderOrderFieldIfUnused(removedField);
848
+ return this;
849
+ }
850
+ setTitleField(field) {
851
+ const previousTitleField = this._headerEdits.newTitleField;
852
+ const nextTitleField = this.headerFieldApiName(field);
853
+ this._headerEdits.newTitleField = nextTitleField;
854
+ this._headerEdits.titleFieldDeleted = false;
855
+ insertUniqueAt(this.ensureHeaderFieldsOrder(), nextTitleField, 'end');
856
+ this.removeHeaderOrderFieldIfUnused(previousTitleField);
857
+ return this;
858
+ }
859
+ /** Removes the record title field from the header. */
860
+ removeTitleField() {
861
+ const previousTitleField = this._headerEdits.newTitleField;
862
+ this._headerEdits.newTitleField = null;
863
+ this._headerEdits.titleFieldDeleted = true;
864
+ this.removeHeaderOrderFieldIfUnused(previousTitleField);
865
+ return this;
866
+ }
867
+ setDescriptionField(field) {
868
+ const previousDescriptionField = this._headerEdits.newDescriptionField;
869
+ const nextDescriptionField = this.headerFieldApiName(field);
870
+ this._headerEdits.newDescriptionField = nextDescriptionField;
871
+ this._headerEdits.descriptionFieldDeleted = false;
872
+ insertUniqueAt(this.ensureHeaderFieldsOrder(), nextDescriptionField, 'end');
873
+ this.removeHeaderOrderFieldIfUnused(previousDescriptionField);
874
+ return this;
875
+ }
876
+ /** Removes the record description field from the header. */
877
+ removeDescriptionField() {
878
+ const previousDescriptionField = this._headerEdits.newDescriptionField;
879
+ this._headerEdits.newDescriptionField = null;
880
+ this._headerEdits.descriptionFieldDeleted = true;
881
+ this.removeHeaderOrderFieldIfUnused(previousDescriptionField);
882
+ return this;
883
+ }
884
+ ensureTabsOrder() {
885
+ var _a;
886
+ const order = ((_a = this._tabEdits).tabsOrder ?? (_a.tabsOrder = []));
887
+ for (const tab of this._tabEdits.newTabs ?? [])
888
+ insertUniqueAt(order, tab.key, 'end');
889
+ for (const [tabKey, tabEdit] of Object.entries(this._tabEdits.systemTabEdits ?? {})) {
890
+ if (tabEdit.deleted !== true)
891
+ insertUniqueAt(order, tabKey, 'end');
892
+ }
893
+ return order;
894
+ }
895
+ ensureSystemSectionsOrder(tabEdit) {
896
+ const order = (tabEdit.sectionsOrder ?? (tabEdit.sectionsOrder = []));
897
+ for (const section of tabEdit.newSections ?? [])
898
+ insertUniqueAt(order, layoutSectionKey(section), 'end');
899
+ for (const [sectionKey, sectionEdit] of Object.entries(tabEdit.systemSectionEdits ?? {})) {
900
+ if (sectionEdit.deleted !== true)
901
+ insertUniqueAt(order, sectionKey, 'end');
902
+ }
903
+ return order;
904
+ }
905
+ ensureHeaderFieldsOrder() {
906
+ this._headerEdits.headerFieldsOrder = normalizeHeaderFieldsOrder({
907
+ ...this._headerEdits,
908
+ headerFieldsOrder: this._headerEdits.headerFieldsOrder ?? [],
909
+ });
910
+ return this._headerEdits.headerFieldsOrder;
911
+ }
912
+ headerOrderFieldIsUsed(rqlName) {
913
+ return (this._headerEdits.newTitleField === rqlName ||
914
+ this._headerEdits.newDescriptionField === rqlName ||
915
+ (this._headerEdits.newFields ?? []).some((field) => field.rqlName === rqlName) ||
916
+ Object.values(this._headerEdits.systemFieldEdits ?? {}).some((edit) => edit.newRqlField === rqlName));
917
+ }
918
+ removeHeaderOrderFieldIfUnused(field) {
919
+ const rqlName = typeof field === 'string' ? field : field?.rqlName;
920
+ if (field != null && typeof field !== 'string' && field.key !== rqlName) {
921
+ removeKeyFromOrder(this._headerEdits.headerFieldsOrder, field.key);
922
+ }
923
+ if (rqlName == null || this.headerOrderFieldIsUsed(rqlName))
924
+ return;
925
+ removeKeyFromOrder(this._headerEdits.headerFieldsOrder, rqlName);
926
+ }
927
+ serializeFieldForMutation(field, fallbackSectionKey, options, fieldSection) {
928
+ const resolved = this._resolveField(field);
929
+ this.assertFieldBelongsToLayout(resolved);
930
+ this.assignFieldSectionForMutation(resolved, fallbackSectionKey, fieldSection);
931
+ return toSerializedSectionField(resolved.getApiName(), options);
932
+ }
933
+ normalizeSectionFieldForMutation(section, sectionKey, entry) {
934
+ if (isField(entry) || typeof entry === 'string') {
935
+ const field = this._resolveField(entry);
936
+ this.assertFieldBelongsToLayout(field);
937
+ assignSectionForLayout(field, section);
938
+ return toSerializedSectionField(field.getApiName());
939
+ }
940
+ if (isFieldRef(entry)) {
941
+ const field = this._resolveField(entry.field);
942
+ this.assertFieldBelongsToLayout(field);
943
+ assignSectionForLayout(field, section);
944
+ return toSerializedSectionField(field.getApiName(), entry);
945
+ }
946
+ throw new Error(`CustomObjectPageLayout fields_section "${sectionKey}" has an invalid field entry; ` +
947
+ 'pass a Field instance or { field }.');
948
+ }
949
+ normalizeSectionForMutation(input) {
950
+ if (input.type !== 'fields_section')
951
+ return { ...input };
952
+ this.assertFieldSectionBelongsToLayout(input.section);
953
+ const sectionKey = input.key ?? input.section.getSectionId();
954
+ const name = input.name ?? input.section.getName();
955
+ const normalized = copySectionOptions({
956
+ name,
957
+ type: 'fields_section',
958
+ fields: input.fields.map((field) => this.normalizeSectionFieldForMutation(input.section, sectionKey, field)),
959
+ }, input);
960
+ if (input.layout != null)
961
+ normalized.layout = input.layout;
962
+ return attachLayoutSectionKey(normalized, sectionKey);
963
+ }
964
+ normalizeTabForMutation(tab) {
965
+ if (tab.type === 'custom_tab')
966
+ return { ...tab };
967
+ return {
968
+ ...tab,
969
+ sections: tab.sections.map((section) => this.normalizeSectionForMutation(section)),
970
+ };
971
+ }
972
+ assignFieldSectionForMutation(field, fallbackSectionKey, fieldSection) {
973
+ if (field.isStandard())
974
+ return;
975
+ const rawFieldSection = fieldSection;
976
+ if (rawFieldSection != null) {
977
+ if (typeof rawFieldSection === 'string') {
978
+ throw new TypeError(`CustomObjectPageLayout section must be a CustomObjectFieldSection object; ` +
979
+ `received raw section id "${rawFieldSection}". Load/include the existing field section first.`);
980
+ }
981
+ if (rawFieldSection.getModelApiName() !== this._customObjectApiName) {
982
+ throw new Error(`CustomObjectPageLayout field section "${rawFieldSection.getSectionId()}" belongs to ` +
983
+ `"${rawFieldSection.getModelApiName()}", but the layout belongs to "${this._customObjectApiName}".`);
984
+ }
985
+ field._assignSection(rawFieldSection);
986
+ return;
987
+ }
988
+ if (field.getSectionId() == null) {
989
+ throw new Error(`CustomObjectPageLayout field "${field.getApiName()}" is missing field-section metadata. ` +
990
+ `Construct the field with a CustomObjectFieldSection or pass section when adding it to ` +
991
+ `section "${fallbackSectionKey}".`);
992
+ }
993
+ }
994
+ assertFieldBelongsToLayout(field) {
995
+ if (field.getCustomObjectApiName() !== this._customObjectApiName) {
996
+ throw new Error(`CustomObjectPageLayout references field "${field.getApiName()}" from ` +
997
+ `"${field.getCustomObjectApiName()}", but the layout belongs to "${this._customObjectApiName}".`);
998
+ }
999
+ }
1000
+ _resolveField(field) {
1001
+ return this._customObject._resolveField(field);
1002
+ }
1003
+ fieldApiName(field) {
1004
+ if (typeof field !== 'string')
1005
+ return field.getApiName();
1006
+ if (field.endsWith('__c'))
1007
+ return field;
1008
+ return this._customObject.standardField(field).getApiName();
1009
+ }
1010
+ assertFieldSectionBelongsToLayout(section) {
1011
+ if (section.getModelApiName() !== this._customObjectApiName) {
1012
+ throw new Error(`CustomObjectPageLayout field section "${section.getSectionId()}" belongs to ` +
1013
+ `"${section.getModelApiName()}", but the layout belongs to "${this._customObjectApiName}".`);
1014
+ }
1015
+ }
1016
+ rememberFieldSectionLayoutSection(section, tabKey, sectionKey) {
1017
+ if (sectionKey == null)
1018
+ return;
1019
+ addFieldSectionLayoutSection(this._fieldSectionLayoutSections, section.getSectionId(), {
1020
+ tabKey,
1021
+ sectionKey,
1022
+ });
1023
+ }
1024
+ layoutSectionKeyForFieldSection(tabKey, section) {
1025
+ const entries = this._fieldSectionLayoutSections.get(section.getSectionId()) ?? [];
1026
+ const matches = tabKey == null ? entries : entries.filter((entry) => entry.tabKey === tabKey);
1027
+ const sectionKeys = [...new Set(matches.map((entry) => entry.sectionKey))];
1028
+ if (sectionKeys.length === 0)
1029
+ return undefined;
1030
+ if (sectionKeys.length === 1)
1031
+ return sectionKeys[0];
1032
+ const scope = tabKey == null ? '' : ` in tab "${tabKey}"`;
1033
+ throw new Error(`CustomObjectPageLayout field section "${section.getSectionId()}" maps to multiple layout sections${scope}: ` +
1034
+ `${sectionKeys.join(', ')}. Pass sectionKey to choose one.`);
1035
+ }
1036
+ requireOneFieldContainer(tabKey, sectionKey, fallbackFieldSection) {
1037
+ const containers = this.findFieldContainers({
1038
+ tabKey,
1039
+ sectionKey,
1040
+ systemSectionOnly: false,
1041
+ });
1042
+ if (containers.length === 0) {
1043
+ if (sectionKey != null && fallbackFieldSection != null) {
1044
+ const unkeyedContainers = this.findFieldContainers({
1045
+ tabKey,
1046
+ sectionKey: undefined,
1047
+ systemSectionOnly: false,
1048
+ }).filter((container) => container.section != null && container.sectionKey == null);
1049
+ if (unkeyedContainers.length === 1) {
1050
+ if (fallbackFieldSection.getModelApiName() !== this._customObjectApiName) {
1051
+ throw new Error(`CustomObjectPageLayout field section "${fallbackFieldSection.getSectionId()}" belongs to ` +
1052
+ `"${fallbackFieldSection.getModelApiName()}", but the layout belongs to "${this._customObjectApiName}".`);
1053
+ }
1054
+ const container = unkeyedContainers[0];
1055
+ attachLayoutSectionKey(container.section, sectionKey);
1056
+ container.sectionKey = sectionKey;
1057
+ container.label = `${container.tabKey}.${container.sectionKey}`;
1058
+ return container;
1059
+ }
1060
+ }
1061
+ const scope = sectionKey == null ? 'a field section' : (`section "${tabKey != null ? `${tabKey}.` : ''}${sectionKey}"`);
1062
+ throw new Error(`CustomObjectPageLayout could not find ${scope}.`);
1063
+ }
1064
+ if (containers.length > 1) {
1065
+ if (sectionKey == null) {
1066
+ throw new Error(`CustomObjectPageLayout matched multiple sections: ` +
1067
+ `${containers.map((container) => container.label).join(', ')}. Pass section to choose one.`);
1068
+ }
1069
+ throw new Error(`CustomObjectPageLayout section "${sectionKey}" matched multiple sections: ` +
1070
+ `${containers.map((container) => container.label).join(', ')}. Pass tabKey to choose one.`);
1071
+ }
1072
+ return containers[0];
1073
+ }
1074
+ findFieldContainers(filter) {
1075
+ const containers = [];
1076
+ if (!filter.systemSectionOnly) {
1077
+ for (const tab of this._tabEdits.newTabs ?? []) {
1078
+ if (!isTabWithSections(tab))
1079
+ continue;
1080
+ if (filter.tabKey != null && tab.key !== filter.tabKey)
1081
+ continue;
1082
+ for (const [index, section] of tab.sections.entries()) {
1083
+ if (!isSerializedFieldsSection(section))
1084
+ continue;
1085
+ const sectionKey = layoutSectionKey(section);
1086
+ if (filter.sectionKey != null && !layoutSectionMatches(section, filter.sectionKey))
1087
+ continue;
1088
+ const label = sectionKey == null ? `${tab.key}.sections[${index}]` : `${tab.key}.${sectionKey}`;
1089
+ containers.push({
1090
+ tabKey: tab.key,
1091
+ sectionKey,
1092
+ section,
1093
+ fields: ensureArrayProperty(section, 'fields', `newTabs.${label}.fields`),
1094
+ label,
1095
+ });
1096
+ }
1097
+ }
1098
+ for (const [tabKey, tabEdit] of Object.entries(this._tabEdits.systemTabEdits ?? {})) {
1099
+ if (filter.tabKey != null && tabKey !== filter.tabKey)
1100
+ continue;
1101
+ for (const [index, section] of (tabEdit.newSections ?? []).entries()) {
1102
+ if (!isSerializedFieldsSection(section))
1103
+ continue;
1104
+ const sectionKey = layoutSectionKey(section);
1105
+ if (filter.sectionKey != null && !layoutSectionMatches(section, filter.sectionKey))
1106
+ continue;
1107
+ const label = sectionKey == null ? `${tabKey}.newSections[${index}]` : `${tabKey}.${sectionKey}`;
1108
+ containers.push({
1109
+ tabKey,
1110
+ sectionKey,
1111
+ section,
1112
+ fields: ensureArrayProperty(section, 'fields', `systemTabEdits.${label}.fields`),
1113
+ label,
1114
+ });
1115
+ }
1116
+ }
1117
+ }
1118
+ for (const [tabKey, tabEdit] of Object.entries(this._tabEdits.systemTabEdits ?? {})) {
1119
+ if (filter.tabKey != null && tabKey !== filter.tabKey)
1120
+ continue;
1121
+ for (const [sectionKey, sectionEdit] of Object.entries(tabEdit.systemSectionEdits ?? {})) {
1122
+ if (filter.sectionKey != null && sectionKey !== filter.sectionKey)
1123
+ continue;
1124
+ const fields = sectionEdit['newFields'];
1125
+ if (fields == null)
1126
+ continue;
1127
+ if (!Array.isArray(fields)) {
1128
+ throw new Error(`systemTabEdits.${tabKey}.systemSectionEdits.${sectionKey}.newFields must be an array.`);
1129
+ }
1130
+ containers.push({
1131
+ tabKey,
1132
+ sectionKey,
1133
+ fields: fields,
1134
+ label: `${tabKey}.${sectionKey}`,
1135
+ });
1136
+ }
1137
+ }
1138
+ return containers;
1139
+ }
1140
+ ensureSystemSectionFieldContainer(tabKey, sectionKey) {
1141
+ if (tabKey == null) {
1142
+ throw new Error('CustomObjectPageLayout addField with systemSection: true requires tabKey.');
1143
+ }
1144
+ if (sectionKey == null) {
1145
+ throw new Error('CustomObjectPageLayout addField with systemSection: true requires sectionKey.');
1146
+ }
1147
+ const sectionEdit = this.ensureSystemSectionEdit(tabKey, sectionKey);
1148
+ if (sectionEdit.deleted === true) {
1149
+ throw new Error(`CustomObjectPageLayout system section "${tabKey}.${sectionKey}" is marked deleted.`);
1150
+ }
1151
+ return {
1152
+ tabKey,
1153
+ sectionKey,
1154
+ fields: ensureArrayProperty(sectionEdit, 'newFields', `systemTabEdits.${tabKey}.systemSectionEdits.${sectionKey}.newFields`),
1155
+ label: `${tabKey}.${sectionKey}`,
1156
+ };
1157
+ }
1158
+ ensureSystemTabEdit(tabKey) {
1159
+ const systemTabEdits = ensureRecordProperty(this._tabEdits, 'systemTabEdits', 'tab_edits.systemTabEdits');
1160
+ return ensureRecordProperty(systemTabEdits, tabKey, `systemTabEdits.${tabKey}`);
1161
+ }
1162
+ ensureSystemSectionEdit(tabKey, sectionKey) {
1163
+ const tabEdit = this.ensureSystemTabEdit(tabKey);
1164
+ const systemSectionEdits = ensureRecordProperty(tabEdit, 'systemSectionEdits', `systemTabEdits.${tabKey}.systemSectionEdits`);
1165
+ return ensureRecordProperty(systemSectionEdits, sectionKey, `systemTabEdits.${tabKey}.systemSectionEdits.${sectionKey}`);
1166
+ }
1167
+ findNewTabWithSections(tabKey) {
1168
+ let found;
1169
+ for (const tab of this._tabEdits.newTabs ?? []) {
1170
+ if (tab.key !== tabKey)
1171
+ continue;
1172
+ if (!isTabWithSections(tab)) {
1173
+ throw new Error(`CustomObjectPageLayout tab "${tabKey}" is a custom_tab and cannot contain sections.`);
1174
+ }
1175
+ if (found != null) {
1176
+ throw new Error(`CustomObjectPageLayout contains multiple new tabs with key "${tabKey}".`);
1177
+ }
1178
+ found = tab;
1179
+ }
1180
+ return found;
1181
+ }
1182
+ assertSectionKeyAvailable(sections, sectionKey, tabKey, allowDuplicate) {
1183
+ if (allowDuplicate === true)
1184
+ return;
1185
+ if (sectionKey != null && sections.some((section) => layoutSectionMatches(section, sectionKey))) {
1186
+ throw new Error(`CustomObjectPageLayout tab "${tabKey}" already contains section "${sectionKey}".`);
1187
+ }
1188
+ }
1189
+ normalizeHeaderFieldForMutation(field, options) {
1190
+ const source = isField(field) ? undefined : field;
1191
+ const rqlName = isField(field) ? field.getApiName() : field.rqlName;
1192
+ if (isField(field))
1193
+ this.assertFieldBelongsToLayout(field);
1194
+ if (!rqlName)
1195
+ throw new Error('CustomObjectPageLayout header field rqlName cannot be empty.');
1196
+ const key = options.key ?? source?.key ?? (isField(field) ? field.getApiName() : undefined);
1197
+ if (!key)
1198
+ throw new Error('CustomObjectPageLayout header field key cannot be empty.');
1199
+ const normalized = { rqlName, key };
1200
+ const canBeDeleted = options.canBeDeleted ?? source?.canBeDeleted;
1201
+ const canBeChanged = options.canBeChanged ?? source?.canBeChanged;
1202
+ const canBeMoved = options.canBeMoved ?? source?.canBeMoved;
1203
+ if (canBeDeleted != null)
1204
+ normalized.canBeDeleted = canBeDeleted;
1205
+ if (canBeChanged != null)
1206
+ normalized.canBeChanged = canBeChanged;
1207
+ if (canBeMoved != null)
1208
+ normalized.canBeMoved = canBeMoved;
1209
+ return normalized;
1210
+ }
1211
+ headerFieldApiName(field) {
1212
+ if (typeof field === 'string')
1213
+ return this.fieldApiName(field);
1214
+ this.assertFieldBelongsToLayout(field);
1215
+ return field.getApiName();
1216
+ }
1217
+ removeSectionVisibility(sectionKey) {
1218
+ if (this._visibilityConditions.sections != null) {
1219
+ delete this._visibilityConditions.sections[sectionKey];
1220
+ }
1221
+ }
1222
+ removeTabVisibility(tabKey) {
1223
+ if (this._visibilityConditions.tabs != null) {
1224
+ delete this._visibilityConditions.tabs[tabKey];
1225
+ }
1226
+ }
1227
+ /**
1228
+ * Serializes this layout to the wire format consumed by the manifest install endpoint.
1229
+ *
1230
+ * @returns A plain object with `type: 'CUSTOM_OBJECT_PAGE_LAYOUT'`.
1231
+ */
1232
+ toDict() {
1233
+ const tabEdits = cloneJson(this._tabEdits);
1234
+ stripMovementOptions(tabEdits);
1235
+ const d = {
1236
+ type: CustomObjectPageLayout.componentType,
1237
+ layout_id: this._layoutId,
1238
+ api_name: this._apiName,
1239
+ object_rql_name: this._customObjectApiName,
1240
+ name: this._name,
1241
+ // Packaged layouts are never system-created (backend invariant).
1242
+ system_created: false,
1243
+ tab_edits: tabEdits,
1244
+ header_edits: this._headerEdits,
1245
+ visibility_conditions: this._visibilityConditions,
1246
+ blueprint_key: this._blueprintKey ?? this._customObjectApiName,
1247
+ };
1248
+ return d;
1249
+ }
1250
+ /**
1251
+ * Creates a simple single-tab "Details" layout with a single "General" section.
1252
+ *
1253
+ * Use this factory when you want a straightforward layout without customizing
1254
+ * tabs or sections. Always uses `apiName: 'default'`.
1255
+ *
1256
+ * @param customObject - The custom object to create the layout for.
1257
+ * @param props - Optional. Pass `section` and `fields` to populate the General section.
1258
+ * @returns A new `CustomObjectPageLayout` registered with the manifest.
1259
+ *
1260
+ * @example
1261
+ * ```ts
1262
+ * CustomObjectPageLayout.basic(memberObj, {
1263
+ * section: profileSection,
1264
+ * fields: [memberFirstName, memberEmail, memberStatusField],
1265
+ * });
1266
+ * ```
1267
+ */
1268
+ static basic(customObject, props = {}) {
1269
+ const coApiName = customObject.getApiName();
1270
+ const coName = customObject.getName();
1271
+ const fields = (props.fields ?? []).map((field) => customObject._resolveField(field));
1272
+ const generalSection = props.section ??
1273
+ (() => {
1274
+ const alreadySectionedField = fields.find((field) => field.getSectionId() != null);
1275
+ if (alreadySectionedField != null) {
1276
+ throw new Error(`CustomObjectPageLayout.basic field "${alreadySectionedField.getApiName()}" already belongs to ` +
1277
+ `field section "${alreadySectionedField.getSectionId()}". Pass that CustomObjectFieldSection ` +
1278
+ 'as section so basic() does not reassign the field.');
1279
+ }
1280
+ const sectionPrefix = coApiName.replace(/__c$/, '').replace(/[^a-zA-Z0-9]+/g, '_');
1281
+ return new custom_object_field_section_1.CustomObjectFieldSection(customObject, {
1282
+ sectionId: `sec_${sectionPrefix}_general`,
1283
+ name: 'General',
1284
+ });
1285
+ })();
1286
+ assertSectionBelongsTo(customObject, generalSection);
1287
+ for (const field of fields) {
1288
+ const fieldSectionId = field.getSectionId();
1289
+ if (fieldSectionId != null && fieldSectionId !== generalSection.getSectionId()) {
1290
+ throw new Error(`CustomObjectPageLayout.basic field "${field.getApiName()}" belongs to field section ` +
1291
+ `"${fieldSectionId}", but basic() was given section "${generalSection.getSectionId()}".`);
1292
+ }
1293
+ }
1294
+ return new CustomObjectPageLayout(customObject, {
1295
+ apiName: 'default',
1296
+ name: `${coName} Layout`,
1297
+ tabEdits: {
1298
+ newTabs: [
1299
+ {
1300
+ key: 'details',
1301
+ name: 'Details',
1302
+ type: 'tab_with_sections',
1303
+ sections: [
1304
+ {
1305
+ name: 'General',
1306
+ type: 'fields_section',
1307
+ section: generalSection,
1308
+ fields,
1309
+ },
1310
+ ],
1311
+ },
1312
+ ],
1313
+ systemTabEdits: {},
1314
+ tabsOrder: ['details'],
1315
+ },
1316
+ headerEdits: {},
1317
+ visibilityConditions: {},
1318
+ });
1319
+ }
1320
+ }
1321
+ exports.CustomObjectPageLayout = CustomObjectPageLayout;
1322
+ CustomObjectPageLayout.componentType = 'CUSTOM_OBJECT_PAGE_LAYOUT';
1323
+ //# sourceMappingURL=custom-object-page-layout.js.map