@zudello/modelcontextprotocol 1.1.0 → 1.1.1
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.
- package/dist/tools/admin/datasets/create-dataset.d.ts.map +1 -1
- package/dist/tools/admin/datasets/create-dataset.js +35 -3
- package/dist/tools/admin/datasets/create-dataset.js.map +1 -1
- package/dist/tools/admin/datasets/get-dataset.d.ts.map +1 -1
- package/dist/tools/admin/datasets/get-dataset.js +8 -2
- package/dist/tools/admin/datasets/get-dataset.js.map +1 -1
- package/dist/tools/admin/datasets/list-datasets.d.ts.map +1 -1
- package/dist/tools/admin/datasets/list-datasets.js +10 -3
- package/dist/tools/admin/datasets/list-datasets.js.map +1 -1
- package/dist/tools/admin/datasets/update-dataset.d.ts.map +1 -1
- package/dist/tools/admin/datasets/update-dataset.js +13 -3
- package/dist/tools/admin/datasets/update-dataset.js.map +1 -1
- package/dist/tools/admin/fields/create-field.d.ts.map +1 -1
- package/dist/tools/admin/fields/create-field.js +45 -3
- package/dist/tools/admin/fields/create-field.js.map +1 -1
- package/dist/tools/admin/fields/get-field.d.ts.map +1 -1
- package/dist/tools/admin/fields/get-field.js +9 -2
- package/dist/tools/admin/fields/get-field.js.map +1 -1
- package/dist/tools/admin/fields/list-fields.d.ts.map +1 -1
- package/dist/tools/admin/fields/list-fields.js +9 -3
- package/dist/tools/admin/fields/list-fields.js.map +1 -1
- package/dist/tools/admin/fields/update-field.d.ts.map +1 -1
- package/dist/tools/admin/fields/update-field.js +5 -3
- package/dist/tools/admin/fields/update-field.js.map +1 -1
- package/dist/tools/admin/quick-actions/create-quick-action.d.ts.map +1 -1
- package/dist/tools/admin/quick-actions/create-quick-action.js +16 -3
- package/dist/tools/admin/quick-actions/create-quick-action.js.map +1 -1
- package/dist/tools/admin/quick-actions/get-quick-action.d.ts.map +1 -1
- package/dist/tools/admin/quick-actions/get-quick-action.js +3 -2
- package/dist/tools/admin/quick-actions/get-quick-action.js.map +1 -1
- package/dist/tools/admin/quick-actions/list-quick-actions.d.ts.map +1 -1
- package/dist/tools/admin/quick-actions/list-quick-actions.js +12 -3
- package/dist/tools/admin/quick-actions/list-quick-actions.js.map +1 -1
- package/dist/tools/admin/quick-actions/trigger-quick-action.d.ts.map +1 -1
- package/dist/tools/admin/quick-actions/trigger-quick-action.js +17 -4
- package/dist/tools/admin/quick-actions/trigger-quick-action.js.map +1 -1
- package/dist/tools/admin/quick-actions/update-quick-action.d.ts.map +1 -1
- package/dist/tools/admin/quick-actions/update-quick-action.js +5 -2
- package/dist/tools/admin/quick-actions/update-quick-action.js.map +1 -1
- package/dist/tools/approvals/get-approval-flows.js +3 -3
- package/dist/tools/approvals/get-approval-flows.js.map +1 -1
- package/dist/tools/automation/get-run-logs-content.d.ts.map +1 -1
- package/dist/tools/automation/get-run-logs-content.js +3 -1
- package/dist/tools/automation/get-run-logs-content.js.map +1 -1
- package/dist/tools/automation/get-run-logs.d.ts.map +1 -1
- package/dist/tools/automation/get-run-logs.js +3 -1
- package/dist/tools/automation/get-run-logs.js.map +1 -1
- package/dist/tools/automation/get-script.d.ts.map +1 -1
- package/dist/tools/automation/get-script.js +3 -1
- package/dist/tools/automation/get-script.js.map +1 -1
- package/dist/tools/automation/get-trigger.d.ts.map +1 -1
- package/dist/tools/automation/get-trigger.js +3 -1
- package/dist/tools/automation/get-trigger.js.map +1 -1
- package/dist/tools/automation/list-scripts.d.ts.map +1 -1
- package/dist/tools/automation/list-scripts.js +5 -1
- package/dist/tools/automation/list-scripts.js.map +1 -1
- package/dist/tools/automation/search-runs.d.ts.map +1 -1
- package/dist/tools/automation/search-runs.js +3 -1
- package/dist/tools/automation/search-runs.js.map +1 -1
- package/dist/tools/config/list-configs.d.ts.map +1 -1
- package/dist/tools/config/list-configs.js +10 -3
- package/dist/tools/config/list-configs.js.map +1 -1
- package/dist/tools/control/initiate-sync.d.ts.map +1 -1
- package/dist/tools/control/initiate-sync.js +13 -3
- package/dist/tools/control/initiate-sync.js.map +1 -1
- package/dist/tools/control/set-trigger-enabled.d.ts.map +1 -1
- package/dist/tools/control/set-trigger-enabled.js +13 -3
- package/dist/tools/control/set-trigger-enabled.js.map +1 -1
- package/dist/tools/core/fetch.d.ts.map +1 -1
- package/dist/tools/core/fetch.js +12 -1
- package/dist/tools/core/fetch.js.map +1 -1
- package/dist/tools/core/push-message.d.ts.map +1 -1
- package/dist/tools/core/push-message.js +3 -1
- package/dist/tools/core/push-message.js.map +1 -1
- package/dist/tools/core/search.d.ts.map +1 -1
- package/dist/tools/core/search.js +28 -1
- package/dist/tools/core/search.js.map +1 -1
- package/dist/tools/document-context/check-contract-pricing.d.ts.map +1 -1
- package/dist/tools/document-context/check-contract-pricing.js +44 -1
- package/dist/tools/document-context/check-contract-pricing.js.map +1 -1
- package/dist/tools/document-context/check-document-budgets.d.ts.map +1 -1
- package/dist/tools/document-context/check-document-budgets.js +34 -1
- package/dist/tools/document-context/check-document-budgets.js.map +1 -1
- package/dist/tools/documents/document-types/create-document-type.d.ts.map +1 -1
- package/dist/tools/documents/document-types/create-document-type.js +24 -1
- package/dist/tools/documents/document-types/create-document-type.js.map +1 -1
- package/dist/tools/documents/document-types/get-document-type.d.ts.map +1 -1
- package/dist/tools/documents/document-types/get-document-type.js +11 -1
- package/dist/tools/documents/document-types/get-document-type.js.map +1 -1
- package/dist/tools/documents/document-types/get-merged-form-metadata.d.ts.map +1 -1
- package/dist/tools/documents/document-types/get-merged-form-metadata.js +13 -1
- package/dist/tools/documents/document-types/get-merged-form-metadata.js.map +1 -1
- package/dist/tools/documents/document-types/list-document-types.d.ts.map +1 -1
- package/dist/tools/documents/document-types/list-document-types.js +14 -1
- package/dist/tools/documents/document-types/list-document-types.js.map +1 -1
- package/dist/tools/documents/document-types/update-document-type.d.ts.map +1 -1
- package/dist/tools/documents/document-types/update-document-type.js +32 -1
- package/dist/tools/documents/document-types/update-document-type.js.map +1 -1
- package/dist/tools/documents/export-templates/create-export-template.d.ts.map +1 -1
- package/dist/tools/documents/export-templates/create-export-template.js +35 -1
- package/dist/tools/documents/export-templates/create-export-template.js.map +1 -1
- package/dist/tools/documents/export-templates/get-export-download-url.d.ts.map +1 -1
- package/dist/tools/documents/export-templates/get-export-download-url.js +6 -1
- package/dist/tools/documents/export-templates/get-export-download-url.js.map +1 -1
- package/dist/tools/documents/export-templates/get-export-template.d.ts.map +1 -1
- package/dist/tools/documents/export-templates/get-export-template.js +3 -2
- package/dist/tools/documents/export-templates/get-export-template.js.map +1 -1
- package/dist/tools/documents/export-templates/list-export-templates.d.ts.map +1 -1
- package/dist/tools/documents/export-templates/list-export-templates.js +12 -2
- package/dist/tools/documents/export-templates/list-export-templates.js.map +1 -1
- package/dist/tools/documents/export-templates/list-exports.d.ts.map +1 -1
- package/dist/tools/documents/export-templates/list-exports.js +6 -1
- package/dist/tools/documents/export-templates/list-exports.js.map +1 -1
- package/dist/tools/documents/export-templates/run-export.d.ts.map +1 -1
- package/dist/tools/documents/export-templates/run-export.js +20 -1
- package/dist/tools/documents/export-templates/run-export.js.map +1 -1
- package/dist/tools/documents/export-templates/update-export-template.d.ts.map +1 -1
- package/dist/tools/documents/export-templates/update-export-template.js +9 -1
- package/dist/tools/documents/export-templates/update-export-template.js.map +1 -1
- package/dist/tools/history/get-history.d.ts.map +1 -1
- package/dist/tools/history/get-history.js +9 -1
- package/dist/tools/history/get-history.js.map +1 -1
- package/dist/tools/inboxes/create-inbox-template.d.ts.map +1 -1
- package/dist/tools/inboxes/create-inbox-template.js +26 -1
- package/dist/tools/inboxes/create-inbox-template.js.map +1 -1
- package/dist/tools/inboxes/create-inbox.d.ts.map +1 -1
- package/dist/tools/inboxes/create-inbox.js +22 -1
- package/dist/tools/inboxes/create-inbox.js.map +1 -1
- package/dist/tools/inboxes/fetch-inbox.d.ts.map +1 -1
- package/dist/tools/inboxes/fetch-inbox.js +14 -1
- package/dist/tools/inboxes/fetch-inbox.js.map +1 -1
- package/dist/tools/inboxes/get-inbound-domain.d.ts.map +1 -1
- package/dist/tools/inboxes/get-inbound-domain.js +14 -1
- package/dist/tools/inboxes/get-inbound-domain.js.map +1 -1
- package/dist/tools/inboxes/list-inbox-templates.d.ts.map +1 -1
- package/dist/tools/inboxes/list-inbox-templates.js +26 -1
- package/dist/tools/inboxes/list-inbox-templates.js.map +1 -1
- package/dist/tools/inboxes/list-inboxes.d.ts.map +1 -1
- package/dist/tools/inboxes/list-inboxes.js +22 -1
- package/dist/tools/inboxes/list-inboxes.js.map +1 -1
- package/dist/tools/inboxes/update-inbox-template.d.ts.map +1 -1
- package/dist/tools/inboxes/update-inbox-template.js +22 -1
- package/dist/tools/inboxes/update-inbox-template.js.map +1 -1
- package/dist/tools/inboxes/update-inbox.d.ts.map +1 -1
- package/dist/tools/inboxes/update-inbox.js +22 -1
- package/dist/tools/inboxes/update-inbox.js.map +1 -1
- package/dist/tools/index.js +2 -2
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/language/get-language-placeholders.d.ts.map +1 -1
- package/dist/tools/language/get-language-placeholders.js +33 -3
- package/dist/tools/language/get-language-placeholders.js.map +1 -1
- package/dist/tools/language/update-language-placeholders.d.ts.map +1 -1
- package/dist/tools/language/update-language-placeholders.js +21 -4
- package/dist/tools/language/update-language-placeholders.js.map +1 -1
- package/dist/tools/models/list-models.js +2 -2
- package/dist/tools/org-admin/teams/fetch-org-team.d.ts.map +1 -1
- package/dist/tools/org-admin/teams/fetch-org-team.js +15 -1
- package/dist/tools/org-admin/teams/fetch-org-team.js.map +1 -1
- package/dist/tools/org-admin/teams/list-org-teams.d.ts.map +1 -1
- package/dist/tools/org-admin/teams/list-org-teams.js +17 -1
- package/dist/tools/org-admin/teams/list-org-teams.js.map +1 -1
- package/dist/tools/org-admin/teams/update-org-team.d.ts.map +1 -1
- package/dist/tools/org-admin/teams/update-org-team.js +16 -1
- package/dist/tools/org-admin/teams/update-org-team.js.map +1 -1
- package/dist/tools/org-admin/users/assign-user-to-team.d.ts +1 -1
- package/dist/tools/org-admin/users/assign-user-to-team.d.ts.map +1 -1
- package/dist/tools/org-admin/users/assign-user-to-team.js +22 -4
- package/dist/tools/org-admin/users/assign-user-to-team.js.map +1 -1
- package/dist/tools/org-admin/users/create-org-user.d.ts.map +1 -1
- package/dist/tools/org-admin/users/create-org-user.js +15 -1
- package/dist/tools/org-admin/users/create-org-user.js.map +1 -1
- package/dist/tools/org-admin/users/fetch-org-user.d.ts.map +1 -1
- package/dist/tools/org-admin/users/fetch-org-user.js +15 -1
- package/dist/tools/org-admin/users/fetch-org-user.js.map +1 -1
- package/dist/tools/org-admin/users/index.d.ts +1 -1
- package/dist/tools/org-admin/users/index.d.ts.map +1 -1
- package/dist/tools/org-admin/users/index.js +1 -1
- package/dist/tools/org-admin/users/index.js.map +1 -1
- package/dist/tools/org-admin/users/list-org-user-groups.d.ts.map +1 -1
- package/dist/tools/org-admin/users/list-org-user-groups.js +20 -1
- package/dist/tools/org-admin/users/list-org-user-groups.js.map +1 -1
- package/dist/tools/org-admin/users/list-org-users.d.ts.map +1 -1
- package/dist/tools/org-admin/users/list-org-users.js +15 -1
- package/dist/tools/org-admin/users/list-org-users.js.map +1 -1
- package/dist/tools/org-admin/users/update-org-user.d.ts.map +1 -1
- package/dist/tools/org-admin/users/update-org-user.js +12 -1
- package/dist/tools/org-admin/users/update-org-user.js.map +1 -1
- package/dist/tools/resources/get-resources.d.ts.map +1 -1
- package/dist/tools/resources/get-resources.js +12 -3
- package/dist/tools/resources/get-resources.js.map +1 -1
- package/dist/tools/resources/update-or-create-resources.d.ts.map +1 -1
- package/dist/tools/resources/update-or-create-resources.js +36 -5
- package/dist/tools/resources/update-or-create-resources.js.map +1 -1
- package/dist/tools/sentences/create-sentence.d.ts.map +1 -1
- package/dist/tools/sentences/create-sentence.js +22 -1
- package/dist/tools/sentences/create-sentence.js.map +1 -1
- package/dist/tools/sentences/get-sentence-template.d.ts.map +1 -1
- package/dist/tools/sentences/get-sentence-template.js +3 -1
- package/dist/tools/sentences/get-sentence-template.js.map +1 -1
- package/dist/tools/sentences/get-sentence.d.ts.map +1 -1
- package/dist/tools/sentences/get-sentence.js +3 -1
- package/dist/tools/sentences/get-sentence.js.map +1 -1
- package/dist/tools/sentences/list-sentence-resources.d.ts.map +1 -1
- package/dist/tools/sentences/list-sentence-resources.js +11 -1
- package/dist/tools/sentences/list-sentence-resources.js.map +1 -1
- package/dist/tools/sentences/list-sentence-templates.d.ts.map +1 -1
- package/dist/tools/sentences/list-sentence-templates.js +5 -1
- package/dist/tools/sentences/list-sentence-templates.js.map +1 -1
- package/dist/tools/sentences/list-sentences.d.ts.map +1 -1
- package/dist/tools/sentences/list-sentences.js +7 -1
- package/dist/tools/sentences/list-sentences.js.map +1 -1
- package/dist/tools/sentences/update-sentence.d.ts.map +1 -1
- package/dist/tools/sentences/update-sentence.js +24 -1
- package/dist/tools/sentences/update-sentence.js.map +1 -1
- package/dist/tools/sentences/update-sentences-order.d.ts.map +1 -1
- package/dist/tools/sentences/update-sentences-order.js +16 -1
- package/dist/tools/sentences/update-sentences-order.js.map +1 -1
- package/dist/tools/users/get-user-groups.d.ts.map +1 -1
- package/dist/tools/users/get-user-groups.js +28 -3
- package/dist/tools/users/get-user-groups.js.map +1 -1
- package/dist/tools/users/get-users.d.ts.map +1 -1
- package/dist/tools/users/get-users.js +34 -3
- package/dist/tools/users/get-users.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,21 @@ import { logger } from "../../../utils/logger.js";
|
|
|
2
2
|
import { fetchOrgUser } from "../../../services/zudello/index.js";
|
|
3
3
|
export const zudelloFetchOrgUser = {
|
|
4
4
|
name: "zudelloFetchOrgUser",
|
|
5
|
-
description:
|
|
5
|
+
description: `Retrieve a specific user by their UUID with complete profile and team assignment details.
|
|
6
|
+
|
|
7
|
+
Returns the complete user profile including name, email address, avatar, and their team assignments with associated user groups, delegation settings, and default values.
|
|
8
|
+
|
|
9
|
+
**COMMON USE CASES:**
|
|
10
|
+
- Reviewing a user's complete access configuration before making changes
|
|
11
|
+
- Verifying user details during onboarding or role change processes
|
|
12
|
+
- Auditing user permissions across all team assignments for compliance reviews
|
|
13
|
+
- Checking user group assignments when troubleshooting permission issues
|
|
14
|
+
- Reviewing team assignments when planning user offboarding or transfers
|
|
15
|
+
|
|
16
|
+
**ACCESS REQUIREMENTS:**
|
|
17
|
+
- Organisation admin (is_admin: true in /validate response) OR
|
|
18
|
+
- Zudello staff user (has access to org UUID: d49d0000-0000-4000-8000-000000000001)
|
|
19
|
+
- Non-admin users will receive authorization errors`,
|
|
6
20
|
inputSchema: { type: "object", properties: { userUuid: { type: "string" } }, required: ["userUuid"] },
|
|
7
21
|
execute: async (input, authContext) => {
|
|
8
22
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-org-user.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/fetch-org-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAGlE,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"fetch-org-user.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/fetch-org-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAGlE,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE;;;;;;;;;;;;;;oDAcqC;IAClD,WAAW,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,UAAU,CAAC,EAAE;IAC9G,OAAO,EAAE,KAAK,EAAE,KAAU,EAAE,WAAwB,EAAE,EAAE;QACtD,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,YAAY,CAAC,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;YACjE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC;QAChD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,2BAA2B,EAAE,KAAK,EAAE,KAAc,CAAC,CAAC;YACjE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,CAAC;QAC7D,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -2,6 +2,6 @@ export { zudelloListOrgUsers } from "./list-org-users.js";
|
|
|
2
2
|
export { zudelloFetchOrgUser } from "./fetch-org-user.js";
|
|
3
3
|
export { zudelloCreateOrgUser } from "./create-org-user.js";
|
|
4
4
|
export { zudelloUpdateOrgUser } from "./update-org-user.js";
|
|
5
|
-
export {
|
|
5
|
+
export { zudelloAssignUserToTeams } from "./assign-user-to-team.js";
|
|
6
6
|
export { zudelloListOrgUserGroups } from "./list-org-user-groups.js";
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -2,6 +2,6 @@ export { zudelloListOrgUsers } from "./list-org-users.js";
|
|
|
2
2
|
export { zudelloFetchOrgUser } from "./fetch-org-user.js";
|
|
3
3
|
export { zudelloCreateOrgUser } from "./create-org-user.js";
|
|
4
4
|
export { zudelloUpdateOrgUser } from "./update-org-user.js";
|
|
5
|
-
export {
|
|
5
|
+
export { zudelloAssignUserToTeams } from "./assign-user-to-team.js";
|
|
6
6
|
export { zudelloListOrgUserGroups } from "./list-org-user-groups.js";
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-org-user-groups.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/list-org-user-groups.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,wBAAwB;;;;;;;
|
|
1
|
+
{"version":3,"file":"list-org-user-groups.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/list-org-user-groups.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,wBAAwB;;;;;;;qBAuBZ,GAAG,eAAe,WAAW;;;;;;;;;;;CASrD,CAAC"}
|
|
@@ -2,7 +2,26 @@ import { logger } from "../../../utils/logger.js";
|
|
|
2
2
|
import { listOrgUserGroups } from "../../../services/zudello/index.js";
|
|
3
3
|
export const zudelloListOrgUserGroups = {
|
|
4
4
|
name: "zudelloListOrgUserGroups",
|
|
5
|
-
description:
|
|
5
|
+
description: `List all user groups defined within the organisation.
|
|
6
|
+
|
|
7
|
+
Unlike team-level queries which only show user groups currently in use within that team, this endpoint returns the complete set of available user groups across the organisation. User groups define permission sets and resource access rules that can be assigned to users within any team.
|
|
8
|
+
|
|
9
|
+
**USER GROUP TYPES:**
|
|
10
|
+
- ACCESS: Controls general access permissions
|
|
11
|
+
- APPROVAL: Controls approval workflow participation
|
|
12
|
+
- LEGACY: Older permission groups maintained for backward compatibility
|
|
13
|
+
|
|
14
|
+
**COMMON USE CASES:**
|
|
15
|
+
- Reviewing the complete permission structure during security audits
|
|
16
|
+
- Planning role-based access control strategies for new team deployments
|
|
17
|
+
- Identifying redundant or unused user groups for governance cleanup
|
|
18
|
+
- Documenting permission matrices for compliance and training materials
|
|
19
|
+
- Mapping Zudello user groups to corporate role definitions for identity management integration
|
|
20
|
+
|
|
21
|
+
**ACCESS REQUIREMENTS:**
|
|
22
|
+
- Organisation admin (is_admin: true in /validate response) OR
|
|
23
|
+
- Zudello staff user (has access to org UUID: d49d0000-0000-4000-8000-000000000001)
|
|
24
|
+
- Non-admin users will receive authorization errors`,
|
|
6
25
|
inputSchema: { type: "object", properties: {} },
|
|
7
26
|
execute: async (input, authContext) => {
|
|
8
27
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-org-user-groups.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/list-org-user-groups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAGvE,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,IAAI,EAAE,0BAA0B;IAChC,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"list-org-user-groups.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/list-org-user-groups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAGvE,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,IAAI,EAAE,0BAA0B;IAChC,WAAW,EAAE;;;;;;;;;;;;;;;;;;;oDAmBqC;IAClD,WAAW,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE,UAAU,EAAE,EAAE,EAAE;IACxD,OAAO,EAAE,KAAK,EAAE,KAAU,EAAE,WAAwB,EAAE,EAAE;QACtD,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,iBAAiB,CAAC,WAAW,CAAC,CAAC;YACtD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,IAAI,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC;QACtH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,gCAAgC,EAAE,EAAE,EAAE,KAAc,CAAC,CAAC;YACnE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;QAC7E,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-org-users.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/list-org-users.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;;;;
|
|
1
|
+
{"version":3,"file":"list-org-users.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/list-org-users.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;;;;qBAkBP,GAAG,eAAe,WAAW;;;;;;;;;;;CASrD,CAAC"}
|
|
@@ -2,7 +2,21 @@ import { logger } from "../../../utils/logger.js";
|
|
|
2
2
|
import { listOrgUsers } from "../../../services/zudello/index.js";
|
|
3
3
|
export const zudelloListOrgUsers = {
|
|
4
4
|
name: "zudelloListOrgUsers",
|
|
5
|
-
description:
|
|
5
|
+
description: `List all users across the entire organisation, regardless of team assignment.
|
|
6
|
+
|
|
7
|
+
Unlike team-level endpoints which only return users within the selected team, this endpoint provides a complete view of all users provisioned to the organisation. Returns user details including name, email, avatar, and their team assignments.
|
|
8
|
+
|
|
9
|
+
**COMMON USE CASES:**
|
|
10
|
+
- Conducting user access reviews for SOC 2 or ISO 27001 compliance audits
|
|
11
|
+
- Identifying orphaned users who are no longer assigned to any active teams
|
|
12
|
+
- Generating a complete user roster for licence reconciliation
|
|
13
|
+
- Finding users across teams when investigating document processing issues
|
|
14
|
+
- Preparing for user migrations during system consolidation projects
|
|
15
|
+
|
|
16
|
+
**ACCESS REQUIREMENTS:**
|
|
17
|
+
- Organisation admin (is_admin: true in /validate response) OR
|
|
18
|
+
- Zudello staff user (has access to org UUID: d49d0000-0000-4000-8000-000000000001)
|
|
19
|
+
- Non-admin users will receive authorization errors`,
|
|
6
20
|
inputSchema: { type: "object", properties: {} },
|
|
7
21
|
execute: async (input, authContext) => {
|
|
8
22
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-org-users.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/list-org-users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAGlE,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"list-org-users.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/list-org-users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAGlE,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE;;;;;;;;;;;;;;oDAcqC;IAClD,WAAW,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE,UAAU,EAAE,EAAE,EAAE;IACxD,OAAO,EAAE,KAAK,EAAE,KAAU,EAAE,WAAwB,EAAE,EAAE;QACtD,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,YAAY,CAAC,WAAW,CAAC,CAAC;YACjD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,IAAI,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC;QACvG,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,2BAA2B,EAAE,EAAE,EAAE,KAAc,CAAC,CAAC;YAC9D,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;QACxE,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-org-user.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/update-org-user.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"update-org-user.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/update-org-user.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;qBAeR,GAAG,eAAe,WAAW;;;;;;;;;CASrD,CAAC"}
|
|
@@ -2,7 +2,18 @@ import { logger } from "../../../utils/logger.js";
|
|
|
2
2
|
import { updateOrgUser } from "../../../services/zudello/index.js";
|
|
3
3
|
export const zudelloUpdateOrgUser = {
|
|
4
4
|
name: "zudelloUpdateOrgUser",
|
|
5
|
-
description:
|
|
5
|
+
description: `Update an existing user's core profile information at the organisation level.
|
|
6
|
+
|
|
7
|
+
Allows modification of user details such as first name and last name. Note that email address cannot be changed as it is the user's login identifier. Team assignments and permissions are managed separately through the Assign User to Teams tool.
|
|
8
|
+
|
|
9
|
+
**COMMON USE CASES:**
|
|
10
|
+
- Correcting name spelling or updating names after legal name changes
|
|
11
|
+
- Modifying user details during identity consolidation projects
|
|
12
|
+
|
|
13
|
+
**ACCESS REQUIREMENTS:**
|
|
14
|
+
- Organisation admin (is_admin: true in /validate response) OR
|
|
15
|
+
- Zudello staff user (has access to org UUID: d49d0000-0000-4000-8000-000000000001)
|
|
16
|
+
- Non-admin users will receive authorization errors`,
|
|
6
17
|
inputSchema: { type: "object", properties: { userUuid: { type: "string" } }, required: ["userUuid"] },
|
|
7
18
|
execute: async (input, authContext) => {
|
|
8
19
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-org-user.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/update-org-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAGnE,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"update-org-user.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/update-org-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAGnE,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE;;;;;;;;;;;oDAWqC;IAClD,WAAW,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,UAAU,CAAC,EAAE;IAC9G,OAAO,EAAE,KAAK,EAAE,KAAU,EAAE,WAAwB,EAAE,EAAE;QACtD,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,aAAa,CAAC,WAAW,EAAE,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;YACzE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC;QAChD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,4BAA4B,EAAE,KAAK,EAAE,KAAc,CAAC,CAAC;YAClE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,CAAC;QAC7D,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-resources.d.ts","sourceRoot":"","sources":["../../../src/tools/resources/get-resources.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"get-resources.d.ts","sourceRoot":"","sources":["../../../src/tools/resources/get-resources.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;qBA+BrB;QAAE,KAAK,EAAE,MAAM,EAAE,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,eAC7B,WAAW;;;;;;;;;;;;;;;;;CAiC3B,CAAC"}
|
|
@@ -5,10 +5,19 @@ import { getZudelloResources } from "../../services/zudello/resources.js";
|
|
|
5
5
|
*/
|
|
6
6
|
export const zudelloGetResources = {
|
|
7
7
|
name: "zudelloGetResources",
|
|
8
|
-
description: `Batch fetch multiple
|
|
8
|
+
description: `Batch fetch multiple resources of different models in a single request.
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
Supported models and their contexts:
|
|
11
|
+
- Transaction: EXPENSES (CLAIM/EXPENSE/MILEAGE), INVENTORY (RECEIPT), PURCHASING (INVOICE/ORDER/QUOTE), SALES (INVOICE/ORDER)
|
|
12
|
+
- Item: INVENTORY (CATALOGUE)
|
|
13
|
+
- Customer/Supplier/Employee: RELATIONSHIPS module
|
|
14
|
+
- Budget/Contract: Financial documents with their respective modules
|
|
15
|
+
- Dimensional models (Account, Department, Location, etc.): DIMENSIONS module
|
|
16
|
+
|
|
17
|
+
Example usage:
|
|
18
|
+
- Fetch multiple transactions by UUID
|
|
19
|
+
- Fetch items by external_id from external system
|
|
20
|
+
- Load related data for multiple resources at once`,
|
|
12
21
|
inputSchema: {
|
|
13
22
|
type: "object",
|
|
14
23
|
properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-resources.js","sourceRoot":"","sources":["../../../src/tools/resources/get-resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAG1E;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"get-resources.js","sourceRoot":"","sources":["../../../src/tools/resources/get-resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAG1E;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE;;;;;;;;;;;;mDAYoC;IACjD,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,WAAW,EAAE,kCAAkC;aAChD;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4BAA4B;aAC1C;SACF;QACD,QAAQ,EAAE,CAAC,OAAO,CAAC;KACpB;IACD,OAAO,EAAE,KAAK,EACZ,KAA0C,EAC1C,WAAwB,EACxB,EAAE;QACF,IAAI,CAAC;YACH,MAAM,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;YAE3E,+CAA+C;YAC/C,MAAM,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBAC1C,KAAK,EAAE,KAAK,CAAC,KAAK,IAAI,UAAU;gBAChC,IAAI;aACL,CAAC,CAAC,CAAC;YAEJ,MAAM,QAAQ,GAAG,MAAM,mBAAmB,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;YAElE,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;gBACtB,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,yBAAyB,CAAC,CAAC;YAC/D,CAAC;YAED,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,EAAE,SAAS,IAAI,EAAE,CAAC;YAEjD,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,SAAS;gBACT,KAAK,EAAE,SAAS,CAAC,MAAM;aACxB,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,2BAA2B,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,KAAc,CAAC,CAAC;YACzF,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe;gBAC/D,SAAS,EAAE,EAAE;aACd,CAAC;QACJ,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-or-create-resources.d.ts","sourceRoot":"","sources":["../../../src/tools/resources/update-or-create-resources.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"update-or-create-resources.d.ts","sourceRoot":"","sources":["../../../src/tools/resources/update-or-create-resources.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;qBAuDhC;QAAE,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,eACtD,WAAW;;;;;;;;;;;;;;;;;;;CA2C3B,CAAC"}
|
|
@@ -5,12 +5,43 @@ import { updateOrCreateZudelloResources } from "../../services/zudello/resources
|
|
|
5
5
|
*/
|
|
6
6
|
export const zudelloUpdateOrCreateResources = {
|
|
7
7
|
name: "zudelloUpdateOrCreateResources",
|
|
8
|
-
description: `
|
|
8
|
+
description: `Update existing resources or create new ones if not found (upsert operation).
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
10
|
+
## Upsert Behavior
|
|
11
|
+
Resources are identified by 'uuid' or 'external_id':
|
|
12
|
+
- UUID provided + exists → updates the resource
|
|
13
|
+
- UUID provided + doesn't exist → ignored (no-op, no error)
|
|
14
|
+
- external_id provided + exists → updates the resource
|
|
15
|
+
- external_id provided + doesn't exist → creates new resource
|
|
16
|
+
- No unique key provided → creates new resource
|
|
17
|
+
|
|
18
|
+
## Request Flags (per resource)
|
|
19
|
+
- 'create': Allow creating if not found (default: true when set at top level)
|
|
20
|
+
- 'update': Allow updating if found (default: true when set at top level)
|
|
21
|
+
- 'fetch': Only fetch existing, don't create/update (mutually exclusive with update)
|
|
22
|
+
- 'replace': For detail records (lines, tags) - replace all vs append
|
|
23
|
+
|
|
24
|
+
## Relationship Management
|
|
25
|
+
For M2M relations (tags, assignees, accounts):
|
|
26
|
+
\`\`\`json
|
|
27
|
+
{ "tags": { "replace": false, "items": [{ "data": { "uuid": "tag-uuid" }, "fetch": true }] } }
|
|
28
|
+
\`\`\`
|
|
29
|
+
For detail records (lines):
|
|
30
|
+
\`\`\`json
|
|
31
|
+
{ "lines": { "items": [{ "create": true, "data": { "description": "New line" } }] } }
|
|
32
|
+
\`\`\`
|
|
33
|
+
To delete a parent link, pass empty object: \`{ "supplier": {} }\`
|
|
34
|
+
|
|
35
|
+
## Supported Models
|
|
36
|
+
- Transaction: Include 'module' and 'submodule' in data (e.g., PURCHASING/INVOICE)
|
|
37
|
+
- Item: INVENTORY/CATALOGUE context
|
|
38
|
+
- Customer/Supplier/Employee: RELATIONSHIPS module
|
|
39
|
+
- Dimensional models (Account, Department, etc.): DIMENSIONS module
|
|
40
|
+
|
|
41
|
+
## Tips
|
|
42
|
+
- Use 'simplified: true' for flat array format (no nested 'items' structure)
|
|
43
|
+
- Use zudelloSearch first to find UUIDs before updating
|
|
44
|
+
- Use zudelloGetModelSchema to understand required fields`,
|
|
14
45
|
inputSchema: {
|
|
15
46
|
type: "object",
|
|
16
47
|
properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-or-create-resources.js","sourceRoot":"","sources":["../../../src/tools/resources/update-or-create-resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"update-or-create-resources.js","sourceRoot":"","sources":["../../../src/tools/resources/update-or-create-resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAoC2C;IACxD,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,WAAW,EAAE,+CAA+C;aAC7D;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,8BAA8B;aAC5C;SACF;QACD,QAAQ,EAAE,CAAC,WAAW,EAAE,OAAO,CAAC;KACjC;IACD,OAAO,EAAE,KAAK,EACZ,KAAmE,EACnE,WAAwB,EACxB,EAAE;QACF,IAAI,CAAC;YACH,MAAM,CAAC,IAAI,CAAC,yCAAyC,EAAE;gBACrD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM;gBAC7B,KAAK,EAAE,KAAK,CAAC,KAAK;aACnB,CAAC,CAAC;YAEH,kDAAkD;YAClD,MAAM,QAAQ,GAAG,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;gBAClD,KAAK,EAAE,KAAK,CAAC,KAAK;gBAClB,IAAI,EAAE,QAAQ;aACf,CAAC,CAAC,CAAC;YAEJ,MAAM,QAAQ,GAAG,MAAM,8BAA8B,CACnD,QAAQ,EACR,WAAW,EACX,EAAE,KAAK,EAAE,IAAI,EAAE,CAChB,CAAC;YAEF,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;gBACtB,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,sCAAsC,CAAC,CAAC;YAC5E,CAAC;YAED,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,EAAE,SAAS,IAAI,EAAE,CAAC;YAEjD,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,SAAS;gBACT,KAAK,EAAE,SAAS,CAAC,MAAM;gBACvB,OAAO,EAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,IAAI,kCAAkC;aACtE,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,sCAAsC,EAAE;gBACnD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM;aAC9B,EAAE,KAAc,CAAC,CAAC;YACnB,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe;gBAC/D,SAAS,EAAE,IAAI;aAChB,CAAC;QACJ,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sentence.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/create-sentence.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"create-sentence.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/create-sentence.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;qBAkCT,GAAG,eAAe,WAAW;;;;;;;;;;;CAoBrD,CAAC"}
|
|
@@ -2,7 +2,28 @@ import { logger } from "../../utils/logger.js";
|
|
|
2
2
|
import { createZudelloSentence } from "../../services/zudello/sentences.js";
|
|
3
3
|
export const zudelloCreateSentence = {
|
|
4
4
|
name: "zudelloCreateSentence",
|
|
5
|
-
description:
|
|
5
|
+
description: `Create a new sentence automation rule in Zudello.
|
|
6
|
+
|
|
7
|
+
A sentence contains a recipe with: trigger (when to fire), conditions (optional filters), and actions (what to do).
|
|
8
|
+
|
|
9
|
+
BEFORE CREATING:
|
|
10
|
+
1. Use listSentenceResources with resourceType 'ACTION_TEMPLATE' to get valid action payloads
|
|
11
|
+
2. Use listSentenceResources with resourceType 'CONDITION_TEMPLATE' to get valid condition payloads
|
|
12
|
+
3. Use listSentences or getSentence on existing sentences to understand recipe structure
|
|
13
|
+
|
|
14
|
+
TRIGGER EVENT TYPES: submit, extract, approval, reject, complete, export, delete, restore, duplicate, merge, unmerge, assign, unassign, comment, attachment, status_change, field_change, line_change, tag_change, approval_change, budget_change, contract_change
|
|
15
|
+
|
|
16
|
+
RECIPE STRUCTURE:
|
|
17
|
+
{
|
|
18
|
+
"changeable": true,
|
|
19
|
+
"trigger": { "trigger": "TEAM_DATA", "event_type": "submit|extract|approval|...", "event_model": "Transaction", "module": "...", "submodule": "...", "enabled": true, "changeable": true },
|
|
20
|
+
"conditions": [...], // Optional - from CONDITION_TEMPLATE
|
|
21
|
+
"actions": [...] // Required - from ACTION_TEMPLATE
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
IMPORTANT: Sentence order matters! After creating, use updateSentencesOrder to position correctly. Include ALL module sentences when reordering.
|
|
25
|
+
|
|
26
|
+
Valid modules: BUDGETS, CONTRACTS, EXPENSES, INVENTORY, PURCHASING, RELATIONSHIPS, SALES`,
|
|
6
27
|
inputSchema: {
|
|
7
28
|
type: "object",
|
|
8
29
|
properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sentence.js","sourceRoot":"","sources":["../../../src/tools/sentences/create-sentence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAG5E,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"create-sentence.js","sourceRoot":"","sources":["../../../src/tools/sentences/create-sentence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAG5E,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;yFAqB0E;IACvF,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,yBAAyB,EAAE;YAClE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,wBAAwB,EAAE;YAClE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE;YAClD,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,6BAA6B,EAAE;SAC3E;QACD,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC;KACxC;IACD,OAAO,EAAE,KAAK,EAAE,KAAU,EAAE,WAAwB,EAAE,EAAE;QACtD,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,qBAAqB,CAC1C,WAAW,EACX,KAAK,CAAC,MAAM,EACZ,KAAK,CAAC,OAAO,EACb,KAAK,CAAC,IAAI,EACV,KAAK,CAAC,SAAS,IAAI,IAAI,CACxB,CAAC;YACF,IAAI,CAAC,QAAQ,CAAC,OAAO;gBAAE,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,2BAA2B,CAAC,CAAC;YACtF,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,QAAQ,EAAE,QAAQ,CAAC,IAAI;gBACvB,OAAO,EAAE,+BAA+B;aACzC,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,6BAA6B,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,EAAE,KAAc,CAAC,CAAC;YACtF,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,CAAC;QAC7D,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sentence-template.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/get-sentence-template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"get-sentence-template.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/get-sentence-template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;qBAad;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,aAAa,CAAC,EAAE,OAAO,CAAA;KAAE,eAAe,WAAW;;;;;;;;;CAU3F,CAAC"}
|
|
@@ -2,7 +2,9 @@ import { logger } from "../../utils/logger.js";
|
|
|
2
2
|
import { getZudelloSentenceTemplate } from "../../services/zudello/sentences.js";
|
|
3
3
|
export const zudelloGetSentenceTemplate = {
|
|
4
4
|
name: "zudelloGetSentenceTemplate",
|
|
5
|
-
description:
|
|
5
|
+
description: `Get detailed payload for a specific sentence template from the global library.
|
|
6
|
+
|
|
7
|
+
Sentence templates are pre-built automation rules that can be used as starting points for team sentences.`,
|
|
6
8
|
inputSchema: {
|
|
7
9
|
type: "object",
|
|
8
10
|
properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sentence-template.js","sourceRoot":"","sources":["../../../src/tools/sentences/get-sentence-template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAGjF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"get-sentence-template.js","sourceRoot":"","sources":["../../../src/tools/sentences/get-sentence-template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAGjF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE;;0GAE2F;IACxG,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE;YACtD,aAAa,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,2BAA2B,EAAE;SAC7E;QACD,QAAQ,EAAE,CAAC,MAAM,CAAC;KACnB;IACD,OAAO,EAAE,KAAK,EAAE,KAAgD,EAAE,WAAwB,EAAE,EAAE;QAC5F,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,0BAA0B,CAAC,WAAW,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,CAAC;YACzG,IAAI,CAAC,QAAQ,CAAC,OAAO;gBAAE,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,wBAAwB,CAAC,CAAC;YACnF,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC;QACpD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,EAAE,KAAc,CAAC,CAAC;YACvF,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,CAAC;QAC7D,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sentence.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/get-sentence.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"get-sentence.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/get-sentence.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;qBAaN;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,aAAa,CAAC,EAAE,OAAO,CAAA;KAAE,eAAe,WAAW;;;;;;;;;CAU3F,CAAC"}
|
|
@@ -2,7 +2,9 @@ import { logger } from "../../utils/logger.js";
|
|
|
2
2
|
import { getZudelloSentence } from "../../services/zudello/sentences.js";
|
|
3
3
|
export const zudelloGetSentence = {
|
|
4
4
|
name: "zudelloGetSentence",
|
|
5
|
-
description:
|
|
5
|
+
description: `Get detailed payload for a specific sentence automation rule in Zudello.
|
|
6
|
+
|
|
7
|
+
Sentences are automation rules that trigger actions based on conditions. They contain a recipe with triggers, conditions, and actions.`,
|
|
6
8
|
inputSchema: {
|
|
7
9
|
type: "object",
|
|
8
10
|
properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sentence.js","sourceRoot":"","sources":["../../../src/tools/sentences/get-sentence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"get-sentence.js","sourceRoot":"","sources":["../../../src/tools/sentences/get-sentence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE;;uIAEwH;IACrI,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE;YACtD,aAAa,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,2BAA2B,EAAE;SAC7E;QACD,QAAQ,EAAE,CAAC,MAAM,CAAC;KACnB;IACD,OAAO,EAAE,KAAK,EAAE,KAAgD,EAAE,WAAwB,EAAE,EAAE;QAC5F,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,kBAAkB,CAAC,WAAW,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,CAAC;YACjG,IAAI,CAAC,QAAQ,CAAC,OAAO;gBAAE,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,wBAAwB,CAAC,CAAC;YACnF,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC;QACpD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,EAAE,KAAc,CAAC,CAAC;YAC/E,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,CAAC;QAC7D,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sentence-resources.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/list-sentence-resources.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"list-sentence-resources.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/list-sentence-resources.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;qBAyBhB;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,eAAe,WAAW;;;;;;;;;qBAeqpN,CAAC;sBAAqC,CAAC;wBAAyB,CAAC;;;;;;;;;;;CADhzN,CAAC"}
|
|
@@ -2,7 +2,17 @@ import { logger } from "../../utils/logger.js";
|
|
|
2
2
|
import { listZudelloSentenceResources } from "../../services/zudello/sentences.js";
|
|
3
3
|
export const zudelloListSentenceResources = {
|
|
4
4
|
name: "zudelloListSentenceResources",
|
|
5
|
-
description:
|
|
5
|
+
description: `List available action or condition templates for building sentence automation rules.
|
|
6
|
+
|
|
7
|
+
Call this BEFORE creating sentences to understand valid actions and conditions.
|
|
8
|
+
|
|
9
|
+
Resource types:
|
|
10
|
+
- ACTION_TEMPLATE: Available actions (ASSIGN, COMPLETE, SET_STATUS, GET_APPROVAL, SEND_EMAIL, etc.)
|
|
11
|
+
- CONDITION_TEMPLATE: Available conditions (VARIANCE_AMOUNT, APPROVED_TRUE, ALLOCATION_PO, etc.)
|
|
12
|
+
|
|
13
|
+
Returns the full payload structure for each template, including required fields and operators.
|
|
14
|
+
|
|
15
|
+
Valid modules: BUDGETS, CONTRACTS, EXPENSES, INVENTORY, PURCHASING, RELATIONSHIPS, SALES`,
|
|
6
16
|
inputSchema: {
|
|
7
17
|
type: "object",
|
|
8
18
|
properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sentence-resources.js","sourceRoot":"","sources":["../../../src/tools/sentences/list-sentence-resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AAGnF,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,IAAI,EAAE,8BAA8B;IACpC,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"list-sentence-resources.js","sourceRoot":"","sources":["../../../src/tools/sentences/list-sentence-resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AAGnF,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,IAAI,EAAE,8BAA8B;IACpC,WAAW,EAAE;;;;;;;;;;yFAU0E;IACvF,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,iBAAiB,EAAE,oBAAoB,CAAC;gBAC/C,WAAW,EAAE,2BAA2B;aACzC;YACD,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE;SACzD;QACD,QAAQ,EAAE,CAAC,cAAc,EAAE,QAAQ,CAAC;KACrC;IACD,OAAO,EAAE,KAAK,EAAE,KAA+C,EAAE,WAAwB,EAAE,EAAE;QAC3F,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,4BAA4B,CACjD,WAAW,EACX,KAAK,CAAC,YAAmB,EACzB,KAAK,CAAC,MAAM,CACb,CAAC;YACF,IAAI,CAAC,QAAQ,CAAC,OAAO;gBAAE,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,0BAA0B,CAAC,CAAC;YACrF,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC,EAAE,CAAC;QACxF,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,oCAAoC,EAAE,KAAK,EAAE,KAAc,CAAC,CAAC;YAC1E,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,CAAC;QAC7D,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sentence-templates.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/list-sentence-templates.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"list-sentence-templates.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/list-sentence-templates.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;qBAehB;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,eAAe,WAAW;;;;;;;;;;;CAUxF,CAAC"}
|
|
@@ -2,7 +2,11 @@ import { logger } from "../../utils/logger.js";
|
|
|
2
2
|
import { listZudelloSentenceTemplates } from "../../services/zudello/sentences.js";
|
|
3
3
|
export const zudelloListSentenceTemplates = {
|
|
4
4
|
name: "zudelloListSentenceTemplates",
|
|
5
|
-
description:
|
|
5
|
+
description: `List sentence templates from the global library for a specific module.
|
|
6
|
+
|
|
7
|
+
These are pre-built automation rules that can be used as starting points.
|
|
8
|
+
|
|
9
|
+
Valid modules: BUDGETS, CONTRACTS, EXPENSES, INVENTORY, PURCHASING, RELATIONSHIPS, SALES`,
|
|
6
10
|
inputSchema: {
|
|
7
11
|
type: "object",
|
|
8
12
|
properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sentence-templates.js","sourceRoot":"","sources":["../../../src/tools/sentences/list-sentence-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AAGnF,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,IAAI,EAAE,8BAA8B;IACpC,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"list-sentence-templates.js","sourceRoot":"","sources":["../../../src/tools/sentences/list-sentence-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AAGnF,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,IAAI,EAAE,8BAA8B;IACpC,WAAW,EAAE;;;;yFAI0E;IACvF,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE;YACxD,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,kBAAkB,EAAE;SAC/D;QACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;KACrB;IACD,OAAO,EAAE,KAAK,EAAE,KAA6C,EAAE,WAAwB,EAAE,EAAE;QACzF,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,4BAA4B,CAAC,WAAW,EAAE,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;YAChG,IAAI,CAAC,QAAQ,CAAC,OAAO;gBAAE,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,0BAA0B,CAAC,CAAC;YACrF,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC,EAAE,CAAC;QACxF,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,oCAAoC,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,EAAE,KAAc,CAAC,CAAC;YAC7F,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,CAAC;QAC7D,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sentences.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/list-sentences.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"list-sentences.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/list-sentences.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAoBR,GAAG,eAAe,WAAW;;;;;;;;;;;CAerD,CAAC"}
|
|
@@ -2,7 +2,13 @@ import { logger } from "../../utils/logger.js";
|
|
|
2
2
|
import { listZudelloSentences } from "../../services/zudello/sentences.js";
|
|
3
3
|
export const zudelloListSentences = {
|
|
4
4
|
name: "zudelloListSentences",
|
|
5
|
-
description:
|
|
5
|
+
description: `List sentence automation rules for a specific module.
|
|
6
|
+
|
|
7
|
+
Returns sentences from either the team library (isTemplate=false) or global template library (isTemplate=true).
|
|
8
|
+
|
|
9
|
+
Note: Sentences are filtered by module only. If submodule is provided, results will be filtered client-side.
|
|
10
|
+
|
|
11
|
+
Valid modules: BUDGETS, CONTRACTS, EXPENSES, INVENTORY, PURCHASING, RELATIONSHIPS, SALES`,
|
|
6
12
|
inputSchema: {
|
|
7
13
|
type: "object",
|
|
8
14
|
properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sentences.js","sourceRoot":"","sources":["../../../src/tools/sentences/list-sentences.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAG3E,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"list-sentences.js","sourceRoot":"","sources":["../../../src/tools/sentences/list-sentences.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAG3E,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE;;;;;;yFAM0E;IACvF,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,4CAA4C,EAAE;YACrF,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,iDAAiD,EAAE;YAC/F,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,0BAA0B,EAAE;YACrE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,0BAA0B,EAAE;YACjE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,gCAAgC,EAAE;SAC3E;QACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;KACrB;IACD,OAAO,EAAE,KAAK,EAAE,KAAU,EAAE,WAAwB,EAAE,EAAE;QACtD,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,oBAAoB,CAAC,WAAW,EAAE,KAAK,CAAC,MAAM,EAAE;gBACrE,UAAU,EAAE,KAAK,CAAC,UAAU;gBAC5B,OAAO,EAAE,KAAK,CAAC,OAAO;gBACtB,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,OAAO,EAAE,KAAK,CAAC,OAAO;aACvB,CAAC,CAAC;YACH,IAAI,CAAC,QAAQ,CAAC,OAAO;gBAAE,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,0BAA0B,CAAC,CAAC;YACrF,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC,EAAE,CAAC;QACxF,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,4BAA4B,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,EAAE,KAAc,CAAC,CAAC;YACrF,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,CAAC;QAC7D,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sentence.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/update-sentence.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"update-sentence.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/update-sentence.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;qBAkCT;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,eAAe,WAAW;;;;;;;;;;;CAcpG,CAAC"}
|
|
@@ -2,7 +2,30 @@ import { logger } from "../../utils/logger.js";
|
|
|
2
2
|
import { updateZudelloSentence } from "../../services/zudello/sentences.js";
|
|
3
3
|
export const zudelloUpdateSentence = {
|
|
4
4
|
name: "zudelloUpdateSentence",
|
|
5
|
-
description:
|
|
5
|
+
description: `Update an existing sentence automation rule in Zudello.
|
|
6
|
+
|
|
7
|
+
WORKFLOW:
|
|
8
|
+
1. First call getSentence to get the current sentence state
|
|
9
|
+
2. Modify only the fields you need to change
|
|
10
|
+
3. Pass the complete modified object to this tool
|
|
11
|
+
|
|
12
|
+
The API auto-increments the version (e.g., 1.0.0 → 1.0.1).
|
|
13
|
+
|
|
14
|
+
COMMON MODIFICATIONS:
|
|
15
|
+
- Change enabled state: Set "enabled": true/false
|
|
16
|
+
- Modify actions: Update recipe.actions array (use listSentenceResources for valid payloads)
|
|
17
|
+
- Modify conditions: Update recipe.conditions array
|
|
18
|
+
- Change trigger: Update recipe.trigger (event_type, module, submodule)
|
|
19
|
+
|
|
20
|
+
TRIGGER EVENT TYPES: submit, extract, approval, reject, complete, export, delete, restore, duplicate, merge, unmerge, assign, unassign, comment, attachment, status_change, field_change, line_change, tag_change, approval_change, budget_change, contract_change
|
|
21
|
+
|
|
22
|
+
IMPORTANT:
|
|
23
|
+
- Pass the COMPLETE sentence object, not just changed fields
|
|
24
|
+
- The submodule in top-level and recipe.trigger should match
|
|
25
|
+
- If changing evalOrder, you may need to use updateSentencesOrder to reposition
|
|
26
|
+
- Use listSentenceResources to get valid action/condition payloads
|
|
27
|
+
|
|
28
|
+
Valid modules: BUDGETS, CONTRACTS, EXPENSES, INVENTORY, PURCHASING, RELATIONSHIPS, SALES`,
|
|
6
29
|
inputSchema: {
|
|
7
30
|
type: "object",
|
|
8
31
|
properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sentence.js","sourceRoot":"","sources":["../../../src/tools/sentences/update-sentence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAG5E,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"update-sentence.js","sourceRoot":"","sources":["../../../src/tools/sentences/update-sentence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAG5E,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;yFAuB0E;IACvF,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE;YACtD,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,gCAAgC,EAAE;SAC3E;QACD,QAAQ,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;KAC9B;IACD,OAAO,EAAE,KAAK,EAAE,KAAyD,EAAE,WAAwB,EAAE,EAAE;QACrG,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,qBAAqB,CAAC,WAAW,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;YACrF,IAAI,CAAC,QAAQ,CAAC,OAAO;gBAAE,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,2BAA2B,CAAC,CAAC;YACtF,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,QAAQ,EAAE,QAAQ,CAAC,IAAI;gBACvB,OAAO,EAAE,+BAA+B;aACzC,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,6BAA6B,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,EAAE,KAAc,CAAC,CAAC;YAClF,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,CAAC;QAC7D,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sentences-order.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/update-sentences-order.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"update-sentences-order.d.ts","sourceRoot":"","sources":["../../../src/tools/sentences/update-sentences-order.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;qBA6Bf;QAAE,SAAS,EAAE,KAAK,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC,CAAA;KAAE,eAAe,WAAW;;;;;;;;;CAavG,CAAC"}
|
|
@@ -2,7 +2,22 @@ import { logger } from "../../utils/logger.js";
|
|
|
2
2
|
import { updateZudelloSentencesOrder } from "../../services/zudello/sentences.js";
|
|
3
3
|
export const zudelloUpdateSentencesOrder = {
|
|
4
4
|
name: "zudelloUpdateSentencesOrder",
|
|
5
|
-
description:
|
|
5
|
+
description: `Update the evaluation order of sentences for a module.
|
|
6
|
+
|
|
7
|
+
CRITICAL: Sentence order determines evaluation sequence - sentences are processed top-to-bottom (order 0 first, then 1, 2, etc.). Incorrect ordering can break automation workflows.
|
|
8
|
+
|
|
9
|
+
IMPORTANT REQUIREMENTS:
|
|
10
|
+
1. You MUST include ALL sentences for the module, not just a submodule subset
|
|
11
|
+
2. First call listSentences with the module (without submodule filter) to get all current sentences
|
|
12
|
+
3. Include every sentence UUID in the new order, even if you're only moving one sentence
|
|
13
|
+
4. Order values should be sequential integers starting from 0
|
|
14
|
+
|
|
15
|
+
Example workflow:
|
|
16
|
+
1. listSentences({module: "PURCHASING"}) - get all sentences for module
|
|
17
|
+
2. Determine the desired new order
|
|
18
|
+
3. Call this tool with ALL sentence UUIDs and their new order values
|
|
19
|
+
|
|
20
|
+
Valid modules: BUDGETS, CONTRACTS, EXPENSES, INVENTORY, PURCHASING, RELATIONSHIPS, SALES`,
|
|
6
21
|
inputSchema: {
|
|
7
22
|
type: "object",
|
|
8
23
|
properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sentences-order.js","sourceRoot":"","sources":["../../../src/tools/sentences/update-sentences-order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAGlF,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"update-sentences-order.js","sourceRoot":"","sources":["../../../src/tools/sentences/update-sentences-order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAGlF,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE;;;;;;;;;;;;;;;yFAe0E;IACvF,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,WAAW,EAAE,gEAAgE;aAC9E;SACF;QACD,QAAQ,EAAE,CAAC,WAAW,CAAC;KACxB;IACD,OAAO,EAAE,KAAK,EAAE,KAA4D,EAAE,WAAwB,EAAE,EAAE;QACxG,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,2BAA2B,CAAC,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;YACjF,IAAI,CAAC,QAAQ,CAAC,OAAO;gBAAE,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,wBAAwB,CAAC,CAAC;YACnF,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,qBAAqB,KAAK,CAAC,SAAS,CAAC,MAAM,YAAY;aACjE,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,mCAAmC,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,EAAE,KAAc,CAAC,CAAC;YACrG,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,CAAC;QAC7D,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-groups.d.ts","sourceRoot":"","sources":["../../../src/tools/users/get-user-groups.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"get-user-groups.d.ts","sourceRoot":"","sources":["../../../src/tools/users/get-user-groups.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;qBAsCR;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,eAAe,WAAW;;;;;;;;;;;;;;;;CAcrF,CAAC"}
|