@zudello/modelcontextprotocol 1.0.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/README.md +115 -512
- package/dist/services/zudello/admin.d.ts +124 -74
- package/dist/services/zudello/admin.d.ts.map +1 -1
- package/dist/services/zudello/admin.js +443 -112
- package/dist/services/zudello/admin.js.map +1 -1
- package/dist/services/zudello/document-context.js +2 -2
- package/dist/services/zudello/document-context.js.map +1 -1
- package/dist/services/zudello/inboxes.d.ts +88 -7
- package/dist/services/zudello/inboxes.d.ts.map +1 -1
- package/dist/services/zudello/inboxes.js +317 -34
- package/dist/services/zudello/inboxes.js.map +1 -1
- package/dist/services/zudello/users.d.ts +36 -6
- package/dist/services/zudello/users.d.ts.map +1 -1
- package/dist/services/zudello/users.js +183 -82
- package/dist/services/zudello/users.js.map +1 -1
- package/dist/tools/admin/datasets/create-dataset.d.ts +35 -7
- package/dist/tools/admin/datasets/create-dataset.d.ts.map +1 -1
- package/dist/tools/admin/datasets/create-dataset.js +59 -20
- package/dist/tools/admin/datasets/create-dataset.js.map +1 -1
- package/dist/tools/admin/datasets/get-dataset.d.ts +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 +2 -4
- package/dist/tools/admin/datasets/list-datasets.d.ts.map +1 -1
- package/dist/tools/admin/datasets/list-datasets.js +21 -11
- package/dist/tools/admin/datasets/list-datasets.js.map +1 -1
- package/dist/tools/admin/datasets/update-dataset.d.ts +39 -6
- package/dist/tools/admin/datasets/update-dataset.d.ts.map +1 -1
- package/dist/tools/admin/datasets/update-dataset.js +39 -17
- package/dist/tools/admin/datasets/update-dataset.js.map +1 -1
- package/dist/tools/admin/fields/create-field.d.ts +7 -17
- package/dist/tools/admin/fields/create-field.d.ts.map +1 -1
- package/dist/tools/admin/fields/create-field.js +59 -28
- package/dist/tools/admin/fields/create-field.js.map +1 -1
- package/dist/tools/admin/fields/get-field.d.ts +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 +3 -5
- package/dist/tools/admin/fields/list-fields.d.ts.map +1 -1
- package/dist/tools/admin/fields/list-fields.js +21 -13
- package/dist/tools/admin/fields/list-fields.js.map +1 -1
- package/dist/tools/admin/fields/update-field.d.ts +11 -6
- package/dist/tools/admin/fields/update-field.d.ts.map +1 -1
- package/dist/tools/admin/fields/update-field.js +23 -17
- package/dist/tools/admin/fields/update-field.js.map +1 -1
- package/dist/tools/admin/quick-actions/create-quick-action.d.ts +9 -9
- package/dist/tools/admin/quick-actions/create-quick-action.d.ts.map +1 -1
- package/dist/tools/admin/quick-actions/create-quick-action.js +33 -20
- package/dist/tools/admin/quick-actions/create-quick-action.js.map +1 -1
- package/dist/tools/admin/quick-actions/get-quick-action.d.ts +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 +4 -3
- package/dist/tools/admin/quick-actions/list-quick-actions.d.ts.map +1 -1
- package/dist/tools/admin/quick-actions/list-quick-actions.js +22 -12
- package/dist/tools/admin/quick-actions/list-quick-actions.js.map +1 -1
- package/dist/tools/admin/quick-actions/trigger-quick-action.d.ts +4 -6
- package/dist/tools/admin/quick-actions/trigger-quick-action.d.ts.map +1 -1
- package/dist/tools/admin/quick-actions/trigger-quick-action.js +31 -12
- package/dist/tools/admin/quick-actions/trigger-quick-action.js.map +1 -1
- package/dist/tools/admin/quick-actions/update-quick-action.d.ts +11 -6
- package/dist/tools/admin/quick-actions/update-quick-action.d.ts.map +1 -1
- package/dist/tools/admin/quick-actions/update-quick-action.js +22 -14
- 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 +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 +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 +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 +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 +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 +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 +1 -1
- package/dist/tools/inboxes/update-inbox.d.ts.map +1 -1
- package/dist/tools/inboxes/update-inbox.js +25 -3
- 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
|
@@ -7,12 +7,42 @@ export const zudelloGetLanguagePlaceholders = {
|
|
|
7
7
|
Language placeholders allow customizing entity labels across the Zudello UI
|
|
8
8
|
to match your organization's terminology (e.g., "Vendor" vs "Supplier").
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
**RESPONSE STRUCTURE:**
|
|
11
|
+
Returns a resource containing:
|
|
11
12
|
- uuid: Resource UUID (needed for updates)
|
|
12
13
|
- payload.lang: Object mapping entity keys to their labels
|
|
13
|
-
- Each entry has: singular, plural, linkedModel
|
|
14
|
+
- Each entry has: singular, plural, and linkedModel
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
**EXAMPLE RESPONSE:**
|
|
17
|
+
{
|
|
18
|
+
"uuid": "f0e4c2f6-1234-5678-90ab-cdef12345678",
|
|
19
|
+
"payload": {
|
|
20
|
+
"lang": {
|
|
21
|
+
"supplier": { "singular": "Vendor", "plural": "Vendors", "linkedModel": "Supplier" },
|
|
22
|
+
"account": { "singular": "Account", "plural": "Accounts", "linkedModel": "Account" },
|
|
23
|
+
"costCenter": { "singular": "Department", "plural": "Departments", "linkedModel": "CostCenter" },
|
|
24
|
+
"project": { "singular": "Project", "plural": "Projects", "linkedModel": "Project" }
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
**COMMON ENTITY KEYS:**
|
|
30
|
+
- supplier: Supplier/Vendor terminology
|
|
31
|
+
- customer: Customer terminology
|
|
32
|
+
- account: GL Account terminology
|
|
33
|
+
- costCenter: Cost Center/Department terminology
|
|
34
|
+
- project: Project terminology
|
|
35
|
+
- contract: Contract terminology
|
|
36
|
+
- location: Location/Site terminology
|
|
37
|
+
- subsidiary: Subsidiary/Entity terminology
|
|
38
|
+
- warehouse: Warehouse terminology
|
|
39
|
+
- unitOfMeasure: Unit of Measure terminology
|
|
40
|
+
|
|
41
|
+
**USE CASES:**
|
|
42
|
+
- Review current terminology customizations
|
|
43
|
+
- Audit consistency of UI labels before changes
|
|
44
|
+
- Get the resource UUID needed for update operations
|
|
45
|
+
- Onboard new users by explaining custom terminology`,
|
|
16
46
|
inputSchema: { type: "object", properties: {} },
|
|
17
47
|
execute: async (input, authContext) => {
|
|
18
48
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-language-placeholders.js","sourceRoot":"","sources":["../../../src/tools/language/get-language-placeholders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AAGjF,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"get-language-placeholders.js","sourceRoot":"","sources":["../../../src/tools/language/get-language-placeholders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AAGjF,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAwCsC;IACnD,WAAW,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE,UAAU,EAAE,EAAE,EAAE;IACxD,OAAO,EAAE,KAAK,EAAE,KAA8B,EAAE,WAAwB,EAAE,EAAE;QAC1E,IAAI,CAAC;YACH,MAAM,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAC;YACxD,MAAM,QAAQ,GAAG,MAAM,8BAA8B,CAAC,WAAW,CAAC,CAAC;YACnE,IAAI,CAAC,QAAQ,CAAC,OAAO;gBAAE,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,qCAAqC,CAAC,CAAC;YAChG,MAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC;YAC/B,MAAM,IAAI,GAAG,QAAQ,EAAE,OAAO,EAAE,IAAI,IAAI,EAAE,CAAC;YAC3C,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,QAAQ,EAAE,IAAI;gBAC5B,IAAI;gBACJ,WAAW,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM;gBACrC,OAAO,EAAE,QAAQ,EAAE,OAAO;gBAC1B,SAAS,EAAE,QAAQ,EAAE,UAAU;aAChC,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,sCAAsC,EAAE,EAAE,EAAE,KAAc,CAAC,CAAC;YACzE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;QACzE,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-language-placeholders.d.ts","sourceRoot":"","sources":["../../../src/tools/language/update-language-placeholders.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAEhF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"update-language-placeholders.d.ts","sourceRoot":"","sources":["../../../src/tools/language/update-language-placeholders.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAEhF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;qBA+CnC;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAA;KAAE,eAClE,WAAW;;;;;;;;;;;;;;;CAsB3B,CAAC"}
|
|
@@ -7,17 +7,34 @@ export const zudelloUpdateLanguagePlaceholders = {
|
|
|
7
7
|
Allows customizing UI terminology to match your organization's language preferences.
|
|
8
8
|
Each entity label requires singular and plural forms, plus the linkedModel reference.
|
|
9
9
|
|
|
10
|
-
WORKFLOW
|
|
10
|
+
**WORKFLOW:**
|
|
11
11
|
1. First call zudelloGetLanguagePlaceholders to get current values and the resourceUuid
|
|
12
12
|
2. Modify the lang object as needed
|
|
13
13
|
3. Call this tool with the resourceUuid and complete lang object
|
|
14
14
|
|
|
15
|
-
IMPORTANT
|
|
15
|
+
**IMPORTANT:** You must provide the COMPLETE lang object with ALL entities.
|
|
16
16
|
This is a PUT operation that replaces the entire language configuration.
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
**REQUIRED INPUT:**
|
|
19
19
|
- resourceUuid: The UUID from getLanguagePlaceholders response
|
|
20
|
-
- lang: Object mapping entity keys to their label configuration
|
|
20
|
+
- lang: Object mapping entity keys to their label configuration
|
|
21
|
+
|
|
22
|
+
**EXAMPLE REQUEST:**
|
|
23
|
+
{
|
|
24
|
+
"resourceUuid": "f0e4c2f6-1234-5678-90ab-cdef12345678",
|
|
25
|
+
"lang": {
|
|
26
|
+
"supplier": { "singular": "Vendor", "plural": "Vendors", "linkedModel": "Supplier" },
|
|
27
|
+
"account": { "singular": "GL Account", "plural": "GL Accounts", "linkedModel": "Account" },
|
|
28
|
+
"costCenter": { "singular": "Department", "plural": "Departments", "linkedModel": "CostCenter" },
|
|
29
|
+
"project": { "singular": "Job", "plural": "Jobs", "linkedModel": "Project" }
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
**USE CASES:**
|
|
34
|
+
- Align Zudello terminology with ERP system labels
|
|
35
|
+
- Update terminology after organizational rebrand
|
|
36
|
+
- Customize for industry-specific language (e.g., "Job" instead of "Project")
|
|
37
|
+
- Support regional terminology preferences`,
|
|
21
38
|
inputSchema: {
|
|
22
39
|
type: "object",
|
|
23
40
|
properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-language-placeholders.js","sourceRoot":"","sources":["../../../src/tools/language/update-language-placeholders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,iCAAiC,EAAE,MAAM,iCAAiC,CAAC;AAIpF,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"update-language-placeholders.js","sourceRoot":"","sources":["../../../src/tools/language/update-language-placeholders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,iCAAiC,EAAE,MAAM,iCAAiC,CAAC;AAIpF,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAgC4B;IACzC,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,4CAA4C,EAAE;YAC3F,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kEAAkE;aAChF;SACF;QACD,QAAQ,EAAE,CAAC,cAAc,EAAE,MAAM,CAAC;KACnC;IACD,OAAO,EAAE,KAAK,EACZ,KAA+E,EAC/E,WAAwB,EACxB,EAAE;QACF,IAAI,CAAC;YACH,MAAM,CAAC,KAAK,CAAC,4CAA4C,EAAE;gBACzD,YAAY,EAAE,KAAK,CAAC,YAAY;gBAChC,WAAW,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM;aAC5C,CAAC,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,iCAAiC,CAAC,WAAW,EAAE,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;YACtG,IAAI,CAAC,QAAQ,CAAC,OAAO;gBAAE,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,wCAAwC,CAAC,CAAC;YACnG,MAAM,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC;YACnD,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,QAAQ,CAAC,IAAI,EAAE,IAAI;gBACjC,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI;gBAClC,OAAO,EAAE,QAAQ,CAAC,IAAI,EAAE,OAAO;gBAC/B,OAAO,EAAE,WAAW,WAAW,uCAAuC;aACvE,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,yCAAyC,EAAE,EAAE,EAAE,KAAc,CAAC,CAAC;YAC5E,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;QACzE,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -8,8 +8,8 @@ export const zudelloListModels = {
|
|
|
8
8
|
description: `List all available data models in Zudello that can be used in search queries and other operations.
|
|
9
9
|
|
|
10
10
|
Model/Module/Submodule relationships:
|
|
11
|
-
- Transaction: Used across EXPENSES, INVENTORY, PURCHASING, SALES
|
|
12
|
-
- Item: Used with INVENTORY module
|
|
11
|
+
- Transaction: Used across EXPENSES (CLAIM/EXPENSE/MILEAGE/PAYMENT/REFUND), INVENTORY (RECEIPT), PURCHASING (CREDIT/INVOICE/ORDER/QUOTE/REQUISITION/RETURN/STATEMENT), SALES (CREDIT/INVOICE/ORDER/QUOTE/REMITTANCE)
|
|
12
|
+
- Item: Used with INVENTORY module (CATALOGUE submodule)
|
|
13
13
|
- Customer/Supplier/Employee: RELATIONSHIPS module
|
|
14
14
|
- Budget: BUDGETS module | Contract: CONTRACTS module
|
|
15
15
|
- Dimensional models (Account, Department, Location, etc.): DIMENSIONS module
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-org-team.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/teams/fetch-org-team.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"fetch-org-team.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/teams/fetch-org-team.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 { fetchOrgTeam } from "../../../services/zudello/index.js";
|
|
3
3
|
export const zudelloFetchOrgTeam = {
|
|
4
4
|
name: "zudelloFetchOrgTeam",
|
|
5
|
-
description:
|
|
5
|
+
description: `Retrieve a specific team by its UUID.
|
|
6
|
+
|
|
7
|
+
Returns the complete team configuration including name, cluster assignment, country, default currency, timezone, logo, and team type (production, sandbox, etc.).
|
|
8
|
+
|
|
9
|
+
**COMMON USE CASES:**
|
|
10
|
+
- Retrieving complete team details before making configuration changes
|
|
11
|
+
- Verifying team settings match expected configuration during audits
|
|
12
|
+
- Checking cluster assignment for performance or data residency requirements
|
|
13
|
+
- Confirming timezone and currency settings for new user onboarding
|
|
14
|
+
- Validating team type when distinguishing production from sandbox environments
|
|
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: { teamUuid: { type: "string" } }, required: ["teamUuid"] },
|
|
7
21
|
execute: async (input, authContext) => {
|
|
8
22
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-org-team.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/teams/fetch-org-team.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-team.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/teams/fetch-org-team.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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-org-teams.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/teams/list-org-teams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;;;;
|
|
1
|
+
{"version":3,"file":"list-org-teams.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/teams/list-org-teams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;;;;qBAoBP,GAAG,eAAe,WAAW;;;;;;;;;;;CASrD,CAAC"}
|
|
@@ -2,7 +2,23 @@ import { logger } from "../../../utils/logger.js";
|
|
|
2
2
|
import { listOrgTeams } from "../../../services/zudello/index.js";
|
|
3
3
|
export const zudelloListOrgTeams = {
|
|
4
4
|
name: "zudelloListOrgTeams",
|
|
5
|
-
description:
|
|
5
|
+
description: `List all teams within the organisation.
|
|
6
|
+
|
|
7
|
+
Teams represent the second level of tenancy in Zudello, providing isolated environments for different business units, departments, or entities. Each team maintains its own configuration, documents, and workflows completely separated from other teams.
|
|
8
|
+
|
|
9
|
+
Returns team details including name, cluster assignment, country, currency, timezone, and team type (production, sandbox, etc.).
|
|
10
|
+
|
|
11
|
+
**COMMON USE CASES:**
|
|
12
|
+
- Auditing the complete team structure during annual compliance reviews
|
|
13
|
+
- Onboarding a new administrator who needs visibility across all business units
|
|
14
|
+
- Generating reports on team configurations for multi-entity organisations
|
|
15
|
+
- Identifying inactive or sandbox teams for cleanup during system maintenance
|
|
16
|
+
- Planning team provisioning for a new acquisition or business unit
|
|
17
|
+
|
|
18
|
+
**ACCESS REQUIREMENTS:**
|
|
19
|
+
- Organisation admin (is_admin: true in /validate response) OR
|
|
20
|
+
- Zudello staff user (has access to org UUID: d49d0000-0000-4000-8000-000000000001)
|
|
21
|
+
- Non-admin users will receive authorization errors`,
|
|
6
22
|
inputSchema: { type: "object", properties: {} },
|
|
7
23
|
execute: async (input, authContext) => {
|
|
8
24
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-org-teams.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/teams/list-org-teams.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-teams.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/teams/list-org-teams.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;;;;;;;;;;;;;;;;oDAgBqC;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-team.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/teams/update-org-team.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"update-org-team.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/teams/update-org-team.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;qBAmBR,GAAG,eAAe,WAAW;;;;;;;;;CASrD,CAAC"}
|
|
@@ -2,7 +2,22 @@ import { logger } from "../../../utils/logger.js";
|
|
|
2
2
|
import { updateOrgTeam } from "../../../services/zudello/index.js";
|
|
3
3
|
export const zudelloUpdateOrgTeam = {
|
|
4
4
|
name: "zudelloUpdateOrgTeam",
|
|
5
|
-
description:
|
|
5
|
+
description: `Update the properties of a specific team within the organisation.
|
|
6
|
+
|
|
7
|
+
Allows modification of team settings such as name, default currency, timezone, country, and contact details. Changes to team configuration affect all users and documents within that team.
|
|
8
|
+
|
|
9
|
+
**NOTE:** The Cluster cannot be updated after team creation.
|
|
10
|
+
|
|
11
|
+
**COMMON USE CASES:**
|
|
12
|
+
- Rebranding a team after a departmental restructure or company name change
|
|
13
|
+
- Updating the default currency when a business unit expands into new markets
|
|
14
|
+
- Changing timezone settings when a team relocates to a different region
|
|
15
|
+
- Correcting country assignment for tax and compliance purposes
|
|
16
|
+
|
|
17
|
+
**ACCESS REQUIREMENTS:**
|
|
18
|
+
- Organisation admin (is_admin: true in /validate response) OR
|
|
19
|
+
- Zudello staff user (has access to org UUID: d49d0000-0000-4000-8000-000000000001)
|
|
20
|
+
- Non-admin users will receive authorization errors`,
|
|
6
21
|
inputSchema: { type: "object", properties: { teamUuid: { type: "string" } }, required: ["teamUuid"] },
|
|
7
22
|
execute: async (input, authContext) => {
|
|
8
23
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-org-team.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/teams/update-org-team.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-team.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/teams/update-org-team.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;;;;;;;;;;;;;;;oDAeqC;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":"assign-user-to-team.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/assign-user-to-team.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"assign-user-to-team.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/assign-user-to-team.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;qBAsBZ,GAAG,eAAe,WAAW;;;;;;;;;CAarD,CAAC"}
|
|
@@ -1,8 +1,26 @@
|
|
|
1
1
|
import { logger } from "../../../utils/logger.js";
|
|
2
2
|
import { assignUserToTeam } from "../../../services/zudello/index.js";
|
|
3
|
-
export const
|
|
4
|
-
name: "
|
|
5
|
-
description:
|
|
3
|
+
export const zudelloAssignUserToTeams = {
|
|
4
|
+
name: "zudelloAssignUserToTeams",
|
|
5
|
+
description: `Assign a user to a team and configure their user group memberships, delegation settings, and default values.
|
|
6
|
+
|
|
7
|
+
User groups govern both the permissions a user has within a team (what actions they can perform) and the resources they can access (what data they can see). A single user can belong to multiple teams with different user group assignments in each, enabling flexible access control across the organisation.
|
|
8
|
+
|
|
9
|
+
**TO CREATE NEW ASSIGNMENT:** Provide userId and teamId, leave teamUserUuid empty.
|
|
10
|
+
**TO UPDATE EXISTING ASSIGNMENT:** Provide teamUserUuid along with the fields to update.
|
|
11
|
+
|
|
12
|
+
**COMMON USE CASES:**
|
|
13
|
+
- Granting a new accounts payable clerk access to their department's team with appropriate processor permissions
|
|
14
|
+
- Assigning a CFO to multiple teams with read-only executive visibility across all business units
|
|
15
|
+
- Removing a departing employee from all teams as part of offboarding procedures (set status to INACTIVE)
|
|
16
|
+
- Promoting a user by adding them to additional user groups with elevated permissions
|
|
17
|
+
- Configuring cross-functional access for shared services staff who support multiple entities
|
|
18
|
+
- Setting up delegation during employee leave periods
|
|
19
|
+
|
|
20
|
+
**ACCESS REQUIREMENTS:**
|
|
21
|
+
- Organisation admin (is_admin: true in /validate response) OR
|
|
22
|
+
- Zudello staff user (has access to org UUID: d49d0000-0000-4000-8000-000000000001)
|
|
23
|
+
- Non-admin users will receive authorization errors`,
|
|
6
24
|
inputSchema: { type: "object", properties: { userUuid: { type: "string" }, teamUuid: { type: "string" } }, required: ["userUuid", "teamUuid"] },
|
|
7
25
|
execute: async (input, authContext) => {
|
|
8
26
|
try {
|
|
@@ -14,7 +32,7 @@ export const zudelloAssignUserToTeam = {
|
|
|
14
32
|
return { success: true, result: response.data };
|
|
15
33
|
}
|
|
16
34
|
catch (error) {
|
|
17
|
-
logger.error("
|
|
35
|
+
logger.error("zudelloAssignUserToTeams error", input, error);
|
|
18
36
|
return { success: false, error: error.message };
|
|
19
37
|
}
|
|
20
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assign-user-to-team.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/assign-user-to-team.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAGtE,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"assign-user-to-team.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/assign-user-to-team.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAGtE,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,IAAI,EAAE,0BAA0B;IAChC,WAAW,EAAE;;;;;;;;;;;;;;;;;;oDAkBqC;IAClD,WAAW,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC,EAAE;IACxJ,OAAO,EAAE,KAAK,EAAE,KAAU,EAAE,WAAwB,EAAE,EAAE;QACtD,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,gBAAgB,CAAC,WAAW,EAAE;gBACnD,MAAM,EAAE,KAAK,CAAC,QAAQ;gBACtB,MAAM,EAAE,KAAK,CAAC,QAAQ;gBACtB,KAAK,EAAE,WAAW,CAAC,cAAc;aAClC,CAAC,CAAC;YACH,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC;QAClD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,CAAC,KAAK,CAAC,gCAAgC,EAAE,KAAK,EAAE,KAAc,CAAC,CAAC;YACtE,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":"create-org-user.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/create-org-user.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,oBAAoB;;;;;;;
|
|
1
|
+
{"version":3,"file":"create-org-user.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/create-org-user.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,oBAAoB;;;;;;;qBAkBR,GAAG,eAAe,WAAW;;;;;;;;;CASrD,CAAC"}
|
|
@@ -2,7 +2,21 @@ import { logger } from "../../../utils/logger.js";
|
|
|
2
2
|
import { createOrgUser } from "../../../services/zudello/index.js";
|
|
3
3
|
export const zudelloCreateOrgUser = {
|
|
4
4
|
name: "zudelloCreateOrgUser",
|
|
5
|
-
description:
|
|
5
|
+
description: `Create a new user within the organisation.
|
|
6
|
+
|
|
7
|
+
The user is provisioned at the organisation level but will not have access to any teams or resources until explicitly assigned using the Assign User to Teams tool. The new user will receive an invitation to set up their account unless a password is provided.
|
|
8
|
+
|
|
9
|
+
**COMMON USE CASES:**
|
|
10
|
+
- Onboarding new employees as part of the HR provisioning workflow
|
|
11
|
+
- Creating service accounts for integration purposes
|
|
12
|
+
- Bulk provisioning users when deploying Zudello to a new business unit
|
|
13
|
+
- Setting up external auditor access with controlled team assignments
|
|
14
|
+
- Pre-creating user accounts before a go-live date for training purposes
|
|
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":"create-org-user.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/create-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":"create-org-user.js","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/create-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;;;;;;;;;;;;;;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,aAAa,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;YACzD,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":"fetch-org-user.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/fetch-org-user.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"fetch-org-user.d.ts","sourceRoot":"","sources":["../../../../src/tools/org-admin/users/fetch-org-user.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 { 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"}
|