@nexusclawhq/cli 0.2.4 → 0.3.0

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 (228) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +5 -0
  3. package/dist/build-info.json +5 -5
  4. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/agent-executable-assets/cli-contract.types.d.ts +1 -1
  5. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/ai-employee-cognition/cognitive-policy.types.d.ts +19 -1
  6. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.d.ts +686 -95
  7. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.js +19426 -18705
  8. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.js.map +1 -1
  9. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/index.d.ts +1372 -190
  10. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.d.ts +686 -95
  11. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.js +19467 -18789
  12. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.js.map +1 -1
  13. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/platform-admin-route-readiness/index.js +2 -11
  14. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/platform-admin-route-readiness/index.js.map +1 -1
  15. package/dist/nexus-cli/node_modules/@nexusclaw/shared/package.json +5 -1
  16. package/dist/nexus-cli/src/cli.js +2 -0
  17. package/dist/nexus-cli/src/cli.js.map +1 -1
  18. package/dist/nexus-cli/src/commands/ai/help.test.js +11 -29
  19. package/dist/nexus-cli/src/commands/ai/help.test.js.map +1 -1
  20. package/dist/nexus-cli/src/commands/commands.test.js +81 -1
  21. package/dist/nexus-cli/src/commands/commands.test.js.map +1 -1
  22. package/dist/nexus-cli/src/commands/employee/deploy.js +35 -9
  23. package/dist/nexus-cli/src/commands/employee/deploy.js.map +1 -1
  24. package/dist/nexus-cli/src/commands/org/index.js +2 -0
  25. package/dist/nexus-cli/src/commands/org/index.js.map +1 -1
  26. package/dist/nexus-cli/src/commands/org/step-up.d.ts +2 -0
  27. package/dist/nexus-cli/src/commands/org/step-up.js +75 -0
  28. package/dist/nexus-cli/src/commands/org/step-up.js.map +1 -0
  29. package/dist/nexus-cli/src/commands/workforce/approval.d.ts +2 -0
  30. package/dist/nexus-cli/src/commands/workforce/approval.js +60 -0
  31. package/dist/nexus-cli/src/commands/workforce/approval.js.map +1 -0
  32. package/dist/nexus-cli/src/commands/workforce/cognition.d.ts +2 -0
  33. package/dist/nexus-cli/src/commands/workforce/cognition.js +62 -0
  34. package/dist/nexus-cli/src/commands/workforce/cognition.js.map +1 -0
  35. package/dist/nexus-cli/src/commands/workforce/constitution.d.ts +2 -0
  36. package/dist/nexus-cli/src/commands/workforce/constitution.js +37 -0
  37. package/dist/nexus-cli/src/commands/workforce/constitution.js.map +1 -0
  38. package/dist/nexus-cli/src/commands/workforce/guardrail.d.ts +2 -0
  39. package/dist/nexus-cli/src/commands/workforce/guardrail.js +67 -0
  40. package/dist/nexus-cli/src/commands/workforce/guardrail.js.map +1 -0
  41. package/dist/nexus-cli/src/commands/workforce/index.d.ts +2 -0
  42. package/dist/nexus-cli/src/commands/workforce/index.js +43 -0
  43. package/dist/nexus-cli/src/commands/workforce/index.js.map +1 -0
  44. package/dist/nexus-cli/src/commands/workforce/knowledge.d.ts +2 -0
  45. package/dist/nexus-cli/src/commands/workforce/knowledge.js +143 -0
  46. package/dist/nexus-cli/src/commands/workforce/knowledge.js.map +1 -0
  47. package/dist/nexus-cli/src/commands/workforce/learning.d.ts +2 -0
  48. package/dist/nexus-cli/src/commands/workforce/learning.js +146 -0
  49. package/dist/nexus-cli/src/commands/workforce/learning.js.map +1 -0
  50. package/dist/nexus-cli/src/commands/workforce/observe.d.ts +2 -0
  51. package/dist/nexus-cli/src/commands/workforce/observe.js +152 -0
  52. package/dist/nexus-cli/src/commands/workforce/observe.js.map +1 -0
  53. package/dist/nexus-cli/src/commands/workforce/orchestration.d.ts +2 -0
  54. package/dist/nexus-cli/src/commands/workforce/orchestration.js +199 -0
  55. package/dist/nexus-cli/src/commands/workforce/orchestration.js.map +1 -0
  56. package/dist/nexus-cli/src/commands/workforce/permission.d.ts +2 -0
  57. package/dist/nexus-cli/src/commands/workforce/permission.js +113 -0
  58. package/dist/nexus-cli/src/commands/workforce/permission.js.map +1 -0
  59. package/dist/nexus-cli/src/commands/workforce/prompt.d.ts +2 -0
  60. package/dist/nexus-cli/src/commands/workforce/prompt.js +137 -0
  61. package/dist/nexus-cli/src/commands/workforce/prompt.js.map +1 -0
  62. package/dist/nexus-cli/src/commands/workforce/provider.d.ts +2 -0
  63. package/dist/nexus-cli/src/commands/workforce/provider.js +152 -0
  64. package/dist/nexus-cli/src/commands/workforce/provider.js.map +1 -0
  65. package/dist/nexus-cli/src/commands/workforce/rehearsal.d.ts +2 -0
  66. package/dist/nexus-cli/src/commands/workforce/rehearsal.js +71 -0
  67. package/dist/nexus-cli/src/commands/workforce/rehearsal.js.map +1 -0
  68. package/dist/nexus-cli/src/commands/workforce/release.d.ts +2 -0
  69. package/dist/nexus-cli/src/commands/workforce/release.js +24 -0
  70. package/dist/nexus-cli/src/commands/workforce/release.js.map +1 -0
  71. package/dist/nexus-cli/src/commands/workforce/shared.d.ts +8 -0
  72. package/dist/nexus-cli/src/commands/workforce/shared.js +86 -0
  73. package/dist/nexus-cli/src/commands/workforce/shared.js.map +1 -0
  74. package/dist/nexus-cli/src/commands/workforce/sop.d.ts +2 -0
  75. package/dist/nexus-cli/src/commands/workforce/sop.js +86 -0
  76. package/dist/nexus-cli/src/commands/workforce/sop.js.map +1 -0
  77. package/dist/nexus-cli/src/commands/workforce/task.d.ts +4 -0
  78. package/dist/nexus-cli/src/commands/workforce/task.js +67 -0
  79. package/dist/nexus-cli/src/commands/workforce/task.js.map +1 -0
  80. package/dist/nexus-cli/src/commands/workforce/test-case.d.ts +2 -0
  81. package/dist/nexus-cli/src/commands/workforce/test-case.js +121 -0
  82. package/dist/nexus-cli/src/commands/workforce/test-case.js.map +1 -0
  83. package/dist/nexus-cli/src/config/platform-seed-registry.json +134 -0
  84. package/dist/nexus-cli/src/contracts/command-contract.guard.js +25 -2
  85. package/dist/nexus-cli/src/contracts/command-contract.guard.js.map +1 -1
  86. package/dist/nexus-cli/src/contracts/command-contract.registry.js +2 -0
  87. package/dist/nexus-cli/src/contracts/command-contract.registry.js.map +1 -1
  88. package/dist/nexus-cli/src/contracts/contracts.test.js +40 -54
  89. package/dist/nexus-cli/src/contracts/contracts.test.js.map +1 -1
  90. package/dist/nexus-cli/src/contracts/workforce-contracts.d.ts +2 -0
  91. package/dist/nexus-cli/src/contracts/workforce-contracts.js +175 -0
  92. package/dist/nexus-cli/src/contracts/workforce-contracts.js.map +1 -0
  93. package/dist/nexus-cli/src/services/api-client.d.ts +37 -1
  94. package/dist/nexus-cli/src/services/api-client.js +120 -34
  95. package/dist/nexus-cli/src/services/api-client.js.map +1 -1
  96. package/dist/nexus-cli/src/services/api-client.test.js +87 -0
  97. package/dist/nexus-cli/src/services/api-client.test.js.map +1 -1
  98. package/dist/nexus-cli/src/services/package-self-containment.js +1 -0
  99. package/dist/nexus-cli/src/services/package-self-containment.js.map +1 -1
  100. package/dist/nexus-cli/src/services/step-up-helper.d.ts +43 -0
  101. package/dist/nexus-cli/src/services/step-up-helper.js +98 -0
  102. package/dist/nexus-cli/src/services/step-up-helper.js.map +1 -0
  103. package/dist/nexus-cli/src/services/step-up-helper.test.d.ts +1 -0
  104. package/dist/nexus-cli/src/services/step-up-helper.test.js +176 -0
  105. package/dist/nexus-cli/src/services/step-up-helper.test.js.map +1 -0
  106. package/dist/nexus-cli/src/services/step-up-interactive.d.ts +2 -0
  107. package/dist/nexus-cli/src/services/step-up-interactive.js +69 -0
  108. package/dist/nexus-cli/src/services/step-up-interactive.js.map +1 -0
  109. package/dist/nexus-cli/src/services/workforce-cognition-remote.d.ts +27 -0
  110. package/dist/nexus-cli/src/services/workforce-cognition-remote.js +48 -0
  111. package/dist/nexus-cli/src/services/workforce-cognition-remote.js.map +1 -0
  112. package/dist/nexus-cli/src/services/workforce-common.d.ts +2 -0
  113. package/dist/nexus-cli/src/services/workforce-common.js +20 -0
  114. package/dist/nexus-cli/src/services/workforce-common.js.map +1 -0
  115. package/dist/nexus-cli/src/services/workforce-config-remote.d.ts +127 -0
  116. package/dist/nexus-cli/src/services/workforce-config-remote.js +205 -0
  117. package/dist/nexus-cli/src/services/workforce-config-remote.js.map +1 -0
  118. package/dist/nexus-cli/src/services/workforce-distillation-remote.d.ts +118 -0
  119. package/dist/nexus-cli/src/services/workforce-distillation-remote.js +171 -0
  120. package/dist/nexus-cli/src/services/workforce-distillation-remote.js.map +1 -0
  121. package/dist/nexus-cli/src/services/workforce-guardrail-knowledge-remote.d.ts +105 -0
  122. package/dist/nexus-cli/src/services/workforce-guardrail-knowledge-remote.js +174 -0
  123. package/dist/nexus-cli/src/services/workforce-guardrail-knowledge-remote.js.map +1 -0
  124. package/dist/nexus-cli/src/services/workforce-learning-remote.d.ts +131 -0
  125. package/dist/nexus-cli/src/services/workforce-learning-remote.js +179 -0
  126. package/dist/nexus-cli/src/services/workforce-learning-remote.js.map +1 -0
  127. package/dist/nexus-cli/src/services/workforce-observe-remote.d.ts +97 -0
  128. package/dist/nexus-cli/src/services/workforce-observe-remote.js +207 -0
  129. package/dist/nexus-cli/src/services/workforce-observe-remote.js.map +1 -0
  130. package/dist/nexus-cli/src/services/workforce-ops-remote.d.ts +94 -0
  131. package/dist/nexus-cli/src/services/workforce-ops-remote.js +176 -0
  132. package/dist/nexus-cli/src/services/workforce-ops-remote.js.map +1 -0
  133. package/dist/nexus-cli/src/services/workforce-orchestration-remote.d.ts +132 -0
  134. package/dist/nexus-cli/src/services/workforce-orchestration-remote.js +244 -0
  135. package/dist/nexus-cli/src/services/workforce-orchestration-remote.js.map +1 -0
  136. package/dist/nexus-cli/src/services/workforce-permission-remote.d.ts +72 -0
  137. package/dist/nexus-cli/src/services/workforce-permission-remote.js +130 -0
  138. package/dist/nexus-cli/src/services/workforce-permission-remote.js.map +1 -0
  139. package/dist/nexus-cli/src/services/workforce-provider-remote.d.ts +82 -0
  140. package/dist/nexus-cli/src/services/workforce-provider-remote.js +129 -0
  141. package/dist/nexus-cli/src/services/workforce-provider-remote.js.map +1 -0
  142. package/dist/nexus-cli/src/services/workforce-test-remote.d.ts +85 -0
  143. package/dist/nexus-cli/src/services/workforce-test-remote.js +134 -0
  144. package/dist/nexus-cli/src/services/workforce-test-remote.js.map +1 -0
  145. package/dist/nexus-cli/src/templates/project/template-manifest.json +11 -5
  146. package/dist/nexus-cli/src/templates/project/templates/base-crm/README.md.tpl +4 -3
  147. package/dist/nexus-cli/src/templates/project/templates/base-crm/nexus-project.json.tpl +77 -13
  148. package/dist/nexus-cli/src/templates/project/templates/base-crm/nexus-project.yaml.tpl +68 -0
  149. package/dist/nexus-cli/src/templates/project/templates/demo-public-channel-store-delivery/README.md.tpl +4 -4
  150. package/dist/nexus-cli/src/templates/project/templates/demo-public-channel-store-delivery/nexus-project.json.tpl +77 -13
  151. package/dist/nexus-cli/src/templates/project/templates/demo-public-channel-store-delivery/nexus-project.yaml.tpl +71 -0
  152. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/README.md.tpl +4 -4
  153. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/nexus-app/main/default/isolated/drill-code-extension-page.manifest.json +63 -0
  154. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/nexus-app/main/default/nwc/drill-code-extension-page/index.js +70 -0
  155. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/nexus-app/main/default/tests/drill-code-extension-page.assertions.json +13 -0
  156. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/nexus-project.json.tpl +61 -7
  157. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/nexus-project.yaml.tpl +58 -0
  158. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/preview/drill-code-extension-page.html +1 -1
  159. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/scripts/build-component.mjs +1 -1
  160. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/scripts/deploy-drill.mjs +1 -1
  161. package/dist/nexus-cli/src/templates/project/templates/empty/README.md.tpl +3 -2
  162. package/dist/nexus-cli/src/templates/project/templates/empty/nexus-project.json.tpl +79 -13
  163. package/dist/nexus-cli/src/templates/project/templates/empty/nexus-project.yaml.tpl +67 -0
  164. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/claude.md +6 -0
  165. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/codex.md +6 -0
  166. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/generic.md +6 -0
  167. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/glm-5.2.md +6 -0
  168. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/authoring/code-sdk.d.ts +1 -0
  169. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/authoring/command-order.json +1 -0
  170. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/authoring/flow-node-catalog.json +1 -0
  171. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/ai-policies.json +1 -0
  172. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/approval-policies.json +1 -0
  173. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/connectors.json +1 -0
  174. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/invokable-units.json +1 -0
  175. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/objects.json +1 -0
  176. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/cli-contract.json +1 -0
  177. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/context-lock.json +1 -0
  178. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/context-manifest.json +1 -0
  179. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.cases.json +1 -0
  180. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.input.schema.json +1 -0
  181. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.output.schema.json +1 -0
  182. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.ts +3 -0
  183. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/flow/minimal-manual-flow.json +1 -0
  184. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/agent-code-tool-catalog-v1.schema.json +1 -0
  185. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/ai-workforce-executable-bundle-v1.schema.json +1 -0
  186. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/approval-policy-authoring-catalog-v1.schema.json +1 -0
  187. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/code-action-cases-v1.schema.json +1 -0
  188. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/code-extension-governance-v2.schema.json +1 -0
  189. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/employee-package-v2.schema.json +1 -0
  190. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/flow-package-v1.schema.json +1 -0
  191. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/flows-payload-v2.schema.json +1 -0
  192. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/object-authoring-catalog-v1.schema.json +1 -0
  193. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workforce-bundle-lock-v1.schema.json +1 -0
  194. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workforce-release-evidence-v1.schema.json +1 -0
  195. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workforce-runtime-bindings-v1.schema.json +1 -0
  196. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workspace-authoring-contract-v1.schema.json +1 -0
  197. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/workspace-contract.json +1 -0
  198. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/README.md.tpl +41 -0
  199. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/nexus-project.json.tpl +86 -0
  200. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/nexus-project.yaml.tpl +61 -0
  201. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/package.json.tpl +25 -0
  202. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/.nexusclaw/scaffold.json +12 -0
  203. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/agent-tools.json +53 -0
  204. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/code/genericLookup.ts +5 -0
  205. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/package.yaml +28 -0
  206. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/schemas/genericLookup.input.schema.json +6 -0
  207. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/schemas/genericLookup.output.schema.json +6 -0
  208. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/tests/genericLookup.cases.json +26 -0
  209. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-flow/GenericFollowUp.flow.yaml +10 -0
  210. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/scripts/init-bundle.mjs +25 -0
  211. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/tsconfig.json.tpl +10 -0
  212. package/dist/nexus-cli/src/templates/project/templates/industry-education/README.md.tpl +7 -1
  213. package/dist/nexus-cli/src/templates/project/templates/industry-education/nexus-project.json.tpl +77 -14
  214. package/dist/nexus-cli/src/templates/project/templates/industry-education/nexus-project.yaml.tpl +69 -0
  215. package/dist/nexus-cli/src/templates/project/templates/industry-finance/README.md.tpl +7 -1
  216. package/dist/nexus-cli/src/templates/project/templates/industry-finance/nexus-project.json.tpl +77 -14
  217. package/dist/nexus-cli/src/templates/project/templates/industry-finance/nexus-project.yaml.tpl +69 -0
  218. package/dist/nexus-cli/src/templates/project/templates/industry-healthcare/README.md.tpl +7 -1
  219. package/dist/nexus-cli/src/templates/project/templates/industry-healthcare/nexus-project.json.tpl +77 -14
  220. package/dist/nexus-cli/src/templates/project/templates/industry-healthcare/nexus-project.yaml.tpl +69 -0
  221. package/dist/nexus-cli/src/templates/project/templates/industry-partner-cloud/README.md.tpl +4 -4
  222. package/dist/nexus-cli/src/templates/project/templates/industry-partner-cloud/nexus-project.json.tpl +77 -13
  223. package/dist/nexus-cli/src/templates/project/templates/industry-partner-cloud/nexus-project.yaml.tpl +69 -0
  224. package/dist/nexus-cli/src/templates/project/templates/industry-retail/README.md.tpl +7 -1
  225. package/dist/nexus-cli/src/templates/project/templates/industry-retail/nexus-project.json.tpl +77 -14
  226. package/dist/nexus-cli/src/templates/project/templates/industry-retail/nexus-project.yaml.tpl +69 -0
  227. package/dist/tsconfig.tsbuildinfo +1 -1
  228. package/package.json +1 -1
@@ -0,0 +1,132 @@
1
+ export interface OrchestrationTemplateView {
2
+ id: string;
3
+ name: string;
4
+ description?: string;
5
+ category?: string;
6
+ triggerType?: string;
7
+ createdAt?: string;
8
+ }
9
+ export declare function createOrchestrationTemplateRemote(options: {
10
+ targetOrg: string;
11
+ name: string;
12
+ description?: string;
13
+ category?: string;
14
+ triggerType?: string;
15
+ }): Promise<OrchestrationTemplateView>;
16
+ export declare function updateOrchestrationTemplateRemote(options: {
17
+ targetOrg: string;
18
+ id: string;
19
+ name?: string;
20
+ description?: string;
21
+ category?: string;
22
+ triggerType?: string;
23
+ }): Promise<OrchestrationTemplateView>;
24
+ export declare function deleteOrchestrationTemplateRemote(options: {
25
+ targetOrg: string;
26
+ id: string;
27
+ }): Promise<{
28
+ success: boolean;
29
+ message: string;
30
+ }>;
31
+ export declare function createOrchestrationFromTemplateRemote(options: {
32
+ targetOrg: string;
33
+ templateId: string;
34
+ agentMapping: Record<string, string>;
35
+ name?: string;
36
+ }): Promise<unknown>;
37
+ export declare function saveOrchestrationAsTemplateRemote(options: {
38
+ targetOrg: string;
39
+ planId: string;
40
+ name: string;
41
+ category?: string;
42
+ }): Promise<OrchestrationTemplateView>;
43
+ export declare function listOrchestrationTemplatesRemote(options: {
44
+ targetOrg: string;
45
+ category?: string;
46
+ }): Promise<OrchestrationTemplateView[]>;
47
+ export declare function getOrchestrationTemplateRemote(options: {
48
+ targetOrg: string;
49
+ id: string;
50
+ }): Promise<OrchestrationTemplateView | null>;
51
+ export interface OrchestrationPlanView {
52
+ id: string;
53
+ name: string;
54
+ description?: string;
55
+ status?: string;
56
+ triggerType?: string;
57
+ failureStrategy?: string;
58
+ maxDurationSeconds?: number;
59
+ maxConcurrentInstances?: number;
60
+ maxParallelSteps?: number;
61
+ steps?: unknown;
62
+ createdAt?: string;
63
+ }
64
+ export declare function createOrchestrationPlanRemote(options: {
65
+ targetOrg: string;
66
+ name: string;
67
+ steps: unknown;
68
+ description?: string;
69
+ triggerType?: string;
70
+ failureStrategy?: string;
71
+ maxDurationSeconds?: number;
72
+ maxConcurrentInstances?: number;
73
+ maxParallelSteps?: number;
74
+ }): Promise<OrchestrationPlanView>;
75
+ export declare function updateOrchestrationPlanRemote(options: {
76
+ targetOrg: string;
77
+ id: string;
78
+ name?: string;
79
+ description?: string;
80
+ status?: string;
81
+ triggerType?: string;
82
+ failureStrategy?: string;
83
+ }): Promise<OrchestrationPlanView>;
84
+ export declare function deleteOrchestrationPlanRemote(options: {
85
+ targetOrg: string;
86
+ id: string;
87
+ }): Promise<boolean>;
88
+ export declare function listOrchestrationPlansRemote(options: {
89
+ targetOrg: string;
90
+ page?: number;
91
+ pageSize?: number;
92
+ status?: string;
93
+ triggerType?: string;
94
+ }): Promise<{
95
+ items: OrchestrationPlanView[];
96
+ total: number;
97
+ }>;
98
+ export declare function getOrchestrationPlanRemote(options: {
99
+ targetOrg: string;
100
+ id: string;
101
+ }): Promise<OrchestrationPlanView | null>;
102
+ export declare function executeOrchestrationRemote(options: {
103
+ targetOrg: string;
104
+ planId: string;
105
+ initialContext?: unknown;
106
+ }): Promise<string>;
107
+ export declare function cancelOrchestrationRemote(options: {
108
+ targetOrg: string;
109
+ executionId: string;
110
+ }): Promise<boolean>;
111
+ export declare function pauseOrchestrationRemote(options: {
112
+ targetOrg: string;
113
+ executionId: string;
114
+ }): Promise<boolean>;
115
+ export declare function resumeOrchestrationRemote(options: {
116
+ targetOrg: string;
117
+ executionId: string;
118
+ }): Promise<boolean>;
119
+ export declare function listOrchestrationExecutionsRemote(options: {
120
+ targetOrg: string;
121
+ page?: number;
122
+ pageSize?: number;
123
+ planId?: string;
124
+ status?: string;
125
+ }): Promise<{
126
+ items: Array<Record<string, unknown>>;
127
+ total: number;
128
+ }>;
129
+ export declare function getOrchestrationExecutionRemote(options: {
130
+ targetOrg: string;
131
+ id: string;
132
+ }): Promise<Record<string, unknown> | null>;
@@ -0,0 +1,244 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createOrchestrationTemplateRemote = createOrchestrationTemplateRemote;
4
+ exports.updateOrchestrationTemplateRemote = updateOrchestrationTemplateRemote;
5
+ exports.deleteOrchestrationTemplateRemote = deleteOrchestrationTemplateRemote;
6
+ exports.createOrchestrationFromTemplateRemote = createOrchestrationFromTemplateRemote;
7
+ exports.saveOrchestrationAsTemplateRemote = saveOrchestrationAsTemplateRemote;
8
+ exports.listOrchestrationTemplatesRemote = listOrchestrationTemplatesRemote;
9
+ exports.getOrchestrationTemplateRemote = getOrchestrationTemplateRemote;
10
+ exports.createOrchestrationPlanRemote = createOrchestrationPlanRemote;
11
+ exports.updateOrchestrationPlanRemote = updateOrchestrationPlanRemote;
12
+ exports.deleteOrchestrationPlanRemote = deleteOrchestrationPlanRemote;
13
+ exports.listOrchestrationPlansRemote = listOrchestrationPlansRemote;
14
+ exports.getOrchestrationPlanRemote = getOrchestrationPlanRemote;
15
+ exports.executeOrchestrationRemote = executeOrchestrationRemote;
16
+ exports.cancelOrchestrationRemote = cancelOrchestrationRemote;
17
+ exports.pauseOrchestrationRemote = pauseOrchestrationRemote;
18
+ exports.resumeOrchestrationRemote = resumeOrchestrationRemote;
19
+ exports.listOrchestrationExecutionsRemote = listOrchestrationExecutionsRemote;
20
+ exports.getOrchestrationExecutionRemote = getOrchestrationExecutionRemote;
21
+ const api_client_1 = require("./api-client");
22
+ const CREATE_TEMPLATE = `
23
+ mutation CreateOrchestrationTemplate($input: CreateOrchestrationTemplateInput!) {
24
+ createOrchestrationTemplate(input: $input) { id name description category triggerType createdAt }
25
+ }`;
26
+ const UPDATE_TEMPLATE = `
27
+ mutation UpdateOrchestrationTemplate($id: ID!, $input: UpdateOrchestrationTemplateInput!) {
28
+ updateOrchestrationTemplate(id: $id, input: $input) { id name description category triggerType createdAt }
29
+ }`;
30
+ const DELETE_TEMPLATE = `
31
+ mutation DeleteOrchestrationTemplate($id: ID!) {
32
+ deleteOrchestrationTemplate(id: $id) { success message }
33
+ }`;
34
+ const CREATE_FROM_TEMPLATE = `
35
+ mutation CreateOrchestrationFromTemplate($templateId: String!, $agentMapping: JSON!, $name: String) {
36
+ createOrchestrationFromTemplate(templateId: $templateId, agentMapping: $agentMapping, name: $name)
37
+ }`;
38
+ const SAVE_AS_TEMPLATE = `
39
+ mutation SaveOrchestrationAsTemplate($planId: String!, $name: String!, $category: String) {
40
+ saveOrchestrationAsTemplate(planId: $planId, name: $name, category: $category) { id name description category triggerType createdAt }
41
+ }`;
42
+ const LIST_TEMPLATES = `
43
+ query OrchestrationTemplates($category: String) {
44
+ orchestrationTemplates(category: $category) { id name description category triggerType createdAt }
45
+ }`;
46
+ const GET_TEMPLATE = `
47
+ query OrchestrationTemplate($id: ID!) {
48
+ orchestrationTemplate(id: $id) { id name description category triggerType createdAt }
49
+ }`;
50
+ async function createOrchestrationTemplateRemote(options) {
51
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
52
+ const input = { name: options.name };
53
+ if (options.description !== undefined)
54
+ input.description = options.description;
55
+ if (options.category !== undefined)
56
+ input.category = options.category;
57
+ if (options.triggerType !== undefined)
58
+ input.triggerType = options.triggerType;
59
+ const data = await client.graphql(CREATE_TEMPLATE, { input });
60
+ return data.createOrchestrationTemplate;
61
+ }
62
+ async function updateOrchestrationTemplateRemote(options) {
63
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
64
+ const input = {};
65
+ if (options.name !== undefined)
66
+ input.name = options.name;
67
+ if (options.description !== undefined)
68
+ input.description = options.description;
69
+ if (options.category !== undefined)
70
+ input.category = options.category;
71
+ if (options.triggerType !== undefined)
72
+ input.triggerType = options.triggerType;
73
+ const data = await client.graphql(UPDATE_TEMPLATE, { id: options.id, input });
74
+ return data.updateOrchestrationTemplate;
75
+ }
76
+ async function deleteOrchestrationTemplateRemote(options) {
77
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
78
+ const data = await client.graphql(DELETE_TEMPLATE, { id: options.id });
79
+ return data.deleteOrchestrationTemplate;
80
+ }
81
+ async function createOrchestrationFromTemplateRemote(options) {
82
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
83
+ const data = await client.graphql(CREATE_FROM_TEMPLATE, {
84
+ templateId: options.templateId,
85
+ agentMapping: options.agentMapping,
86
+ name: options.name,
87
+ });
88
+ return data;
89
+ }
90
+ async function saveOrchestrationAsTemplateRemote(options) {
91
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
92
+ const data = await client.graphql(SAVE_AS_TEMPLATE, { planId: options.planId, name: options.name, category: options.category });
93
+ return data.saveOrchestrationAsTemplate;
94
+ }
95
+ async function listOrchestrationTemplatesRemote(options) {
96
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
97
+ const data = await client.graphql(LIST_TEMPLATES, { category: options.category });
98
+ return data.orchestrationTemplates ?? [];
99
+ }
100
+ async function getOrchestrationTemplateRemote(options) {
101
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
102
+ const data = await client.graphql(GET_TEMPLATE, { id: options.id });
103
+ return data.orchestrationTemplate;
104
+ }
105
+ const CREATE_PLAN = `
106
+ mutation CreateOrchestrationPlan($input: CreateOrchestrationPlanInput!) {
107
+ createOrchestrationPlan(input: $input) { id name description status triggerType failureStrategy maxDurationSeconds maxConcurrentInstances maxParallelSteps createdAt }
108
+ }`;
109
+ const UPDATE_PLAN = `
110
+ mutation UpdateOrchestrationPlan($id: String!, $input: UpdateOrchestrationPlanInput!) {
111
+ updateOrchestrationPlan(id: $id, input: $input) { id name description status triggerType failureStrategy createdAt }
112
+ }`;
113
+ const DELETE_PLAN = `
114
+ mutation DeleteOrchestrationPlan($id: String!) { deleteOrchestrationPlan(id: $id) }`;
115
+ const LIST_PLANS = `
116
+ query OrchestrationPlans($page: Int, $pageSize: Int, $status: String, $triggerType: String) {
117
+ orchestrationPlans(page: $page, pageSize: $pageSize, status: $status, triggerType: $triggerType) {
118
+ items { id name status triggerType createdAt }
119
+ total
120
+ }
121
+ }`;
122
+ const GET_PLAN = `
123
+ query OrchestrationPlanDetail($id: String!) {
124
+ orchestrationPlanDetail(id: $id) { id name description status triggerType failureStrategy maxDurationSeconds maxConcurrentInstances maxParallelSteps steps createdAt }
125
+ }`;
126
+ async function createOrchestrationPlanRemote(options) {
127
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
128
+ const input = { name: options.name, steps: options.steps };
129
+ if (options.description !== undefined)
130
+ input.description = options.description;
131
+ if (options.triggerType !== undefined)
132
+ input.triggerType = options.triggerType;
133
+ if (options.failureStrategy !== undefined)
134
+ input.failureStrategy = options.failureStrategy;
135
+ if (options.maxDurationSeconds !== undefined)
136
+ input.maxDurationSeconds = options.maxDurationSeconds;
137
+ if (options.maxConcurrentInstances !== undefined)
138
+ input.maxConcurrentInstances = options.maxConcurrentInstances;
139
+ if (options.maxParallelSteps !== undefined)
140
+ input.maxParallelSteps = options.maxParallelSteps;
141
+ const data = await client.graphql(CREATE_PLAN, { input });
142
+ return data.createOrchestrationPlan;
143
+ }
144
+ async function updateOrchestrationPlanRemote(options) {
145
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
146
+ const input = {};
147
+ if (options.name !== undefined)
148
+ input.name = options.name;
149
+ if (options.description !== undefined)
150
+ input.description = options.description;
151
+ if (options.status !== undefined)
152
+ input.status = options.status;
153
+ if (options.triggerType !== undefined)
154
+ input.triggerType = options.triggerType;
155
+ if (options.failureStrategy !== undefined)
156
+ input.failureStrategy = options.failureStrategy;
157
+ const data = await client.graphql(UPDATE_PLAN, {
158
+ id: options.id,
159
+ input,
160
+ });
161
+ return data.updateOrchestrationPlan;
162
+ }
163
+ async function deleteOrchestrationPlanRemote(options) {
164
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
165
+ const data = await client.graphql(DELETE_PLAN, { id: options.id });
166
+ return data;
167
+ }
168
+ async function listOrchestrationPlansRemote(options) {
169
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
170
+ const data = await client.graphql(LIST_PLANS, {
171
+ page: options.page,
172
+ pageSize: options.pageSize,
173
+ status: options.status,
174
+ triggerType: options.triggerType,
175
+ });
176
+ return data.orchestrationPlans;
177
+ }
178
+ async function getOrchestrationPlanRemote(options) {
179
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
180
+ const data = await client.graphql(GET_PLAN, {
181
+ id: options.id,
182
+ });
183
+ return data.orchestrationPlanDetail;
184
+ }
185
+ const EXECUTE = `
186
+ mutation ExecuteOrchestration($planId: String!, $initialContext: JSON) {
187
+ executeOrchestration(planId: $planId, initialContext: $initialContext)
188
+ }`;
189
+ const CANCEL = `
190
+ mutation CancelOrchestration($executionId: String!) { cancelOrchestration(executionId: $executionId) }`;
191
+ const PAUSE = `
192
+ mutation PauseOrchestration($executionId: String!) { pauseOrchestration(executionId: $executionId) }`;
193
+ const RESUME = `
194
+ mutation ResumeOrchestration($executionId: String!) { resumeOrchestration(executionId: $executionId) }`;
195
+ const LIST_EXECUTIONS = `
196
+ query OrchestrationExecutions($page: Int, $pageSize: Int, $planId: String, $status: String) {
197
+ orchestrationExecutions(page: $page, pageSize: $pageSize, planId: $planId, status: $status) {
198
+ items { id planId status startedAt completedAt }
199
+ total
200
+ }
201
+ }`;
202
+ const GET_EXECUTION = `
203
+ query OrchestrationExecutionDetail($id: String!) {
204
+ orchestrationExecutionDetail(id: $id) { id planId status startedAt completedAt steps timeline }
205
+ }`;
206
+ async function executeOrchestrationRemote(options) {
207
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
208
+ const data = await client.graphql(EXECUTE, {
209
+ planId: options.planId,
210
+ initialContext: options.initialContext,
211
+ });
212
+ return data;
213
+ }
214
+ async function cancelOrchestrationRemote(options) {
215
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
216
+ const data = await client.graphql(CANCEL, { executionId: options.executionId });
217
+ return data;
218
+ }
219
+ async function pauseOrchestrationRemote(options) {
220
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
221
+ const data = await client.graphql(PAUSE, { executionId: options.executionId });
222
+ return data;
223
+ }
224
+ async function resumeOrchestrationRemote(options) {
225
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
226
+ const data = await client.graphql(RESUME, { executionId: options.executionId });
227
+ return data;
228
+ }
229
+ async function listOrchestrationExecutionsRemote(options) {
230
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
231
+ const data = await client.graphql(LIST_EXECUTIONS, {
232
+ page: options.page,
233
+ pageSize: options.pageSize,
234
+ planId: options.planId,
235
+ status: options.status,
236
+ });
237
+ return data.orchestrationExecutions;
238
+ }
239
+ async function getOrchestrationExecutionRemote(options) {
240
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
241
+ const data = await client.graphql(GET_EXECUTION, { id: options.id });
242
+ return data.orchestrationExecutionDetail;
243
+ }
244
+ //# sourceMappingURL=workforce-orchestration-remote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workforce-orchestration-remote.js","sourceRoot":"","sources":["../../../../src/services/workforce-orchestration-remote.ts"],"names":[],"mappings":";;AAiEA,8EAiBC;AAED,8EAmBC;AAED,8EAUC;AAED,sFAcC;AAED,8EAYC;AAED,4EAUC;AAED,wEAUC;AAiDD,sEAqBC;AAED,sEAqBC;AAED,sEAOC;AAED,oEAiBC;AAED,gEASC;AAkCD,gEAWC;AAED,8DAOC;AAED,4DAOC;AAED,8DAOC;AAED,8EAiBC;AAED,0EAUC;AApZD,6CAA+C;AAqB/C,MAAM,eAAe,GAAG;;;EAGtB,CAAC;AAEH,MAAM,eAAe,GAAG;;;EAGtB,CAAC;AAEH,MAAM,eAAe,GAAG;;;EAGtB,CAAC;AAEH,MAAM,oBAAoB,GAAG;;;EAG3B,CAAC;AAEH,MAAM,gBAAgB,GAAG;;;EAGvB,CAAC;AAEH,MAAM,cAAc,GAAG;;;EAGrB,CAAC;AAEH,MAAM,YAAY,GAAG;;;EAGnB,CAAC;AAWI,KAAK,UAAU,iCAAiC,CAAC,OAMvD;IACC,MAAM,MAAM,GAAG,IAAA,4BAAe,EAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAClD,MAAM,KAAK,GAA4B,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC;IAC9D,IAAI,OAAO,CAAC,WAAW,KAAK,SAAS;QAAE,KAAK,CAAC,WA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MAAM,GAAG,IAAA,4BAAe,EAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAClD,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,OAAO,CAC/B,aAAa,EACb,EAAE,EAAE,EAAE,OAAO,CAAC,EAAE,EAAE,CACnB,CAAC;IACF,OAAO,IAAI,CAAC,4BAA4B,CAAC;AAC3C,CAAC"}
@@ -0,0 +1,72 @@
1
+ export interface PermissionExtensionView {
2
+ id: string;
3
+ agentId: string;
4
+ dataScopeType?: string;
5
+ dataScopeOrgNodeId?: string;
6
+ dataScopeCustomFilter?: unknown;
7
+ maxQueriesPerMinute?: number;
8
+ maxWritesPerMinute?: number;
9
+ maxBatchSize?: number;
10
+ allowedTools?: string[];
11
+ blockedTools?: string[];
12
+ activeTimezone?: string;
13
+ activeWindows?: unknown;
14
+ }
15
+ export interface FieldMaskRuleView {
16
+ id: string;
17
+ agentPermissionExtensionId: string;
18
+ objectApiName: string;
19
+ fieldApiName: string;
20
+ maskType: string;
21
+ maskConfig?: unknown;
22
+ }
23
+ export declare function createPermissionExtensionRemote(options: {
24
+ targetOrg: string;
25
+ agentId: string;
26
+ dataScopeType?: string;
27
+ dataScopeOrgNodeId?: string;
28
+ dataScopeCustomFilter?: unknown;
29
+ maxQueriesPerMinute?: number;
30
+ maxWritesPerMinute?: number;
31
+ maxBatchSize?: number;
32
+ allowedTools?: string[];
33
+ blockedTools?: string[];
34
+ activeTimezone?: string;
35
+ activeWindows?: unknown;
36
+ }): Promise<PermissionExtensionView>;
37
+ export declare function updatePermissionExtensionRemote(options: {
38
+ targetOrg: string;
39
+ agentId: string;
40
+ dataScopeType?: string;
41
+ dataScopeOrgNodeId?: string;
42
+ dataScopeCustomFilter?: unknown;
43
+ maxQueriesPerMinute?: number;
44
+ maxWritesPerMinute?: number;
45
+ maxBatchSize?: number;
46
+ allowedTools?: string[];
47
+ blockedTools?: string[];
48
+ activeTimezone?: string;
49
+ activeWindows?: unknown;
50
+ }): Promise<PermissionExtensionView>;
51
+ export declare function deletePermissionExtensionRemote(options: {
52
+ targetOrg: string;
53
+ agentId: string;
54
+ }): Promise<boolean>;
55
+ export declare function createFieldMaskRuleRemote(options: {
56
+ targetOrg: string;
57
+ agentPermissionExtensionId: string;
58
+ objectApiName: string;
59
+ fieldApiName: string;
60
+ maskType: string;
61
+ maskConfig?: unknown;
62
+ }): Promise<FieldMaskRuleView>;
63
+ export declare function updateFieldMaskRuleRemote(options: {
64
+ targetOrg: string;
65
+ id: string;
66
+ maskType?: string;
67
+ maskConfig?: unknown;
68
+ }): Promise<FieldMaskRuleView>;
69
+ export declare function deleteFieldMaskRuleRemote(options: {
70
+ targetOrg: string;
71
+ id: string;
72
+ }): Promise<boolean>;
@@ -0,0 +1,130 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createPermissionExtensionRemote = createPermissionExtensionRemote;
4
+ exports.updatePermissionExtensionRemote = updatePermissionExtensionRemote;
5
+ exports.deletePermissionExtensionRemote = deletePermissionExtensionRemote;
6
+ exports.createFieldMaskRuleRemote = createFieldMaskRuleRemote;
7
+ exports.updateFieldMaskRuleRemote = updateFieldMaskRuleRemote;
8
+ exports.deleteFieldMaskRuleRemote = deleteFieldMaskRuleRemote;
9
+ const api_client_1 = require("./api-client");
10
+ const workforce_common_1 = require("./workforce-common");
11
+ const CREATE_EXT = `
12
+ mutation CreateAgentPermissionExtension($input: CreateAgentPermissionExtensionInput!, $workspaceId: String!) {
13
+ createAgentPermissionExtension(input: $input, workspaceId: $workspaceId) {
14
+ id agentId dataScopeType dataScopeOrgNodeId dataScopeCustomFilter maxQueriesPerMinute maxWritesPerMinute maxBatchSize allowedTools blockedTools activeTimezone activeWindows
15
+ }
16
+ }`;
17
+ const UPDATE_EXT = `
18
+ mutation UpdateAgentPermissionExtension($agentId: String!, $input: UpdateAgentPermissionExtensionInput!) {
19
+ updateAgentPermissionExtension(agentId: $agentId, input: $input) {
20
+ id agentId dataScopeType dataScopeOrgNodeId dataScopeCustomFilter maxQueriesPerMinute maxWritesPerMinute maxBatchSize allowedTools blockedTools activeTimezone activeWindows
21
+ }
22
+ }`;
23
+ const DELETE_EXT = `
24
+ mutation DeleteAgentPermissionExtension($agentId: String!) { deleteAgentPermissionExtension(agentId: $agentId) }`;
25
+ const CREATE_FIELD_MASK = `
26
+ mutation CreateFieldMaskRule($input: CreateFieldMaskRuleInput!, $workspaceId: String!) {
27
+ createFieldMaskRule(input: $input, workspaceId: $workspaceId) {
28
+ id agentPermissionExtensionId objectApiName fieldApiName maskType maskConfig
29
+ }
30
+ }`;
31
+ const UPDATE_FIELD_MASK = `
32
+ mutation UpdateFieldMaskRule($id: String!, $input: UpdateFieldMaskRuleInput!) {
33
+ updateFieldMaskRule(id: $id, input: $input) {
34
+ id agentPermissionExtensionId objectApiName fieldApiName maskType maskConfig
35
+ }
36
+ }`;
37
+ const DELETE_FIELD_MASK = `
38
+ mutation DeleteFieldMaskRule($id: String!) { deleteFieldMaskRule(id: $id) }`;
39
+ async function createPermissionExtensionRemote(options) {
40
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
41
+ const input = { agentId: options.agentId };
42
+ if (options.dataScopeType !== undefined)
43
+ input.dataScopeType = options.dataScopeType;
44
+ if (options.dataScopeOrgNodeId !== undefined)
45
+ input.dataScopeOrgNodeId = options.dataScopeOrgNodeId;
46
+ if (options.dataScopeCustomFilter !== undefined)
47
+ input.dataScopeCustomFilter = options.dataScopeCustomFilter;
48
+ if (options.maxQueriesPerMinute !== undefined)
49
+ input.maxQueriesPerMinute = options.maxQueriesPerMinute;
50
+ if (options.maxWritesPerMinute !== undefined)
51
+ input.maxWritesPerMinute = options.maxWritesPerMinute;
52
+ if (options.maxBatchSize !== undefined)
53
+ input.maxBatchSize = options.maxBatchSize;
54
+ if (options.allowedTools !== undefined)
55
+ input.allowedTools = options.allowedTools;
56
+ if (options.blockedTools !== undefined)
57
+ input.blockedTools = options.blockedTools;
58
+ if (options.activeTimezone !== undefined)
59
+ input.activeTimezone = options.activeTimezone;
60
+ if (options.activeWindows !== undefined)
61
+ input.activeWindows = options.activeWindows;
62
+ const data = await client.graphql(CREATE_EXT, {
63
+ input,
64
+ workspaceId: (0, workforce_common_1.resolveWorkspaceId)(options.targetOrg),
65
+ });
66
+ return data.createAgentPermissionExtension;
67
+ }
68
+ async function updatePermissionExtensionRemote(options) {
69
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
70
+ const input = {};
71
+ if (options.dataScopeType !== undefined)
72
+ input.dataScopeType = options.dataScopeType;
73
+ if (options.dataScopeOrgNodeId !== undefined)
74
+ input.dataScopeOrgNodeId = options.dataScopeOrgNodeId;
75
+ if (options.dataScopeCustomFilter !== undefined)
76
+ input.dataScopeCustomFilter = options.dataScopeCustomFilter;
77
+ if (options.maxQueriesPerMinute !== undefined)
78
+ input.maxQueriesPerMinute = options.maxQueriesPerMinute;
79
+ if (options.maxWritesPerMinute !== undefined)
80
+ input.maxWritesPerMinute = options.maxWritesPerMinute;
81
+ if (options.maxBatchSize !== undefined)
82
+ input.maxBatchSize = options.maxBatchSize;
83
+ if (options.allowedTools !== undefined)
84
+ input.allowedTools = options.allowedTools;
85
+ if (options.blockedTools !== undefined)
86
+ input.blockedTools = options.blockedTools;
87
+ if (options.activeTimezone !== undefined)
88
+ input.activeTimezone = options.activeTimezone;
89
+ if (options.activeWindows !== undefined)
90
+ input.activeWindows = options.activeWindows;
91
+ const data = await client.graphql(UPDATE_EXT, { agentId: options.agentId, input });
92
+ return data.updateAgentPermissionExtension;
93
+ }
94
+ async function deletePermissionExtensionRemote(options) {
95
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
96
+ const data = await client.graphql(DELETE_EXT, { agentId: options.agentId });
97
+ return data;
98
+ }
99
+ async function createFieldMaskRuleRemote(options) {
100
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
101
+ const input = {
102
+ agentPermissionExtensionId: options.agentPermissionExtensionId,
103
+ objectApiName: options.objectApiName,
104
+ fieldApiName: options.fieldApiName,
105
+ maskType: options.maskType,
106
+ };
107
+ if (options.maskConfig !== undefined)
108
+ input.maskConfig = options.maskConfig;
109
+ const data = await client.graphql(CREATE_FIELD_MASK, {
110
+ input,
111
+ workspaceId: (0, workforce_common_1.resolveWorkspaceId)(options.targetOrg),
112
+ });
113
+ return data.createFieldMaskRule;
114
+ }
115
+ async function updateFieldMaskRuleRemote(options) {
116
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
117
+ const input = {};
118
+ if (options.maskType !== undefined)
119
+ input.maskType = options.maskType;
120
+ if (options.maskConfig !== undefined)
121
+ input.maskConfig = options.maskConfig;
122
+ const data = await client.graphql(UPDATE_FIELD_MASK, { id: options.id, input });
123
+ return data.updateFieldMaskRule;
124
+ }
125
+ async function deleteFieldMaskRuleRemote(options) {
126
+ const client = (0, api_client_1.createApiClient)(options.targetOrg);
127
+ const data = await client.graphql(DELETE_FIELD_MASK, { id: options.id });
128
+ return data;
129
+ }
130
+ //# sourceMappingURL=workforce-permission-remote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workforce-permission-remote.js","sourceRoot":"","sources":["../../../../src/services/workforce-permission-remote.ts"],"names":[],"mappings":";;AA0EA,0EAiCC;AAED,0EA8BC;AAED,0EAOC;AAED,8DAuBC;AAED,8DAcC;AAED,8DAOC;AAtMD,6CAA+C;AAC/C,yDAAwD;AAexD,MAAM,UAAU,GAAG;;;;;EAKjB,CAAC;AAEH,MAAM,UAAU,GAAG;;;;;EAKjB,CAAC;AAEH,MAAM,UAAU,GAAG;iHAC8F,CAAC;AAElH,MAAM,iBAAiB,GAAG;;;;;EAKxB,CAAC;AAEH,MAAM,iBAAiB,GAAG;;;;;EAKxB,CAAC;AAEH,MAAM,iBAAiB,GAAG;4EACkD,CAAC;AA0BtE,KAAK,UAAU,+BAA+B,CAAC,OAarD;IACC,MAAM,MAAM,GAAG,IAAA,4BAAe,EAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAClD,MAAM,KAAK,GAA4B,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