@arbium/enterprise-agent-connect 0.1.1 → 0.1.2-dev.d2aa5ca
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 +157 -10
- package/dist/connectors/dell-techdirect/index.d.ts +8 -0
- package/dist/connectors/dell-techdirect/tools.d.ts +2 -0
- package/dist/connectors/dell-techdirect/vendor.d.ts +6 -0
- package/dist/connectors/dynamics-365/connector.json +213 -0
- package/dist/connectors/dynamics-365/index.d.ts +11 -0
- package/dist/connectors/dynamics-365/index.js +10 -0
- package/dist/connectors/dynamics-365/index.js.map +1 -0
- package/dist/connectors/dynamics-365/tools.d.ts +35 -0
- package/dist/connectors/dynamics-365/tools.js +806 -0
- package/dist/connectors/dynamics-365/tools.js.map +1 -0
- package/dist/connectors/dynamics-365/vendor.d.ts +9 -0
- package/dist/connectors/dynamics-365/vendor.js +110 -0
- package/dist/connectors/dynamics-365/vendor.js.map +1 -0
- package/dist/connectors/entra/index.d.ts +2 -0
- package/dist/connectors/entra/tools.d.ts +14 -0
- package/dist/connectors/fedex/index.d.ts +8 -0
- package/dist/connectors/fedex/tools.d.ts +3 -0
- package/dist/connectors/fedex/vendor.d.ts +7 -0
- package/dist/connectors/gong/connector.json +127 -0
- package/dist/connectors/gong/index.d.ts +8 -0
- package/dist/connectors/gong/index.js +7 -0
- package/dist/connectors/gong/index.js.map +1 -0
- package/dist/connectors/gong/tools.d.ts +8 -0
- package/dist/connectors/gong/tools.js +424 -0
- package/dist/connectors/gong/tools.js.map +1 -0
- package/dist/connectors/gong/vendor.d.ts +4 -0
- package/dist/connectors/gong/vendor.js +97 -0
- package/dist/connectors/gong/vendor.js.map +1 -0
- package/dist/connectors/http/index.d.ts +38 -0
- package/dist/connectors/http/index.js +151 -64
- package/dist/connectors/http/index.js.map +1 -1
- package/dist/connectors/intune/index.d.ts +2 -0
- package/dist/connectors/intune/tools.d.ts +12 -0
- package/dist/connectors/jamf/connector.json +182 -0
- package/dist/connectors/jamf/index.d.ts +8 -0
- package/dist/connectors/jamf/index.js +7 -0
- package/dist/connectors/jamf/index.js.map +1 -0
- package/dist/connectors/jamf/tools.d.ts +7 -0
- package/dist/connectors/jamf/tools.js +659 -0
- package/dist/connectors/jamf/tools.js.map +1 -0
- package/dist/connectors/jamf/vendor.d.ts +5 -0
- package/dist/connectors/jamf/vendor.js +66 -0
- package/dist/connectors/jamf/vendor.js.map +1 -0
- package/dist/connectors/jira/connector.json +144 -1
- package/dist/connectors/jira/index.d.ts +8 -0
- package/dist/connectors/jira/jql.d.ts +4 -0
- package/dist/connectors/jira/tools.d.ts +3 -0
- package/dist/connectors/jira/vendor.d.ts +3 -0
- package/dist/connectors/microsoft/client.d.ts +58 -0
- package/dist/connectors/netsuite/connector.json +315 -0
- package/dist/connectors/netsuite/index.d.ts +8 -0
- package/dist/connectors/netsuite/index.js +7 -0
- package/dist/connectors/netsuite/index.js.map +1 -0
- package/dist/connectors/netsuite/tools.d.ts +24 -0
- package/dist/connectors/netsuite/tools.js +447 -0
- package/dist/connectors/netsuite/tools.js.map +1 -0
- package/dist/connectors/netsuite/vendor.d.ts +26 -0
- package/dist/connectors/netsuite/vendor.js +248 -0
- package/dist/connectors/netsuite/vendor.js.map +1 -0
- package/dist/connectors/odata/index.d.ts +36 -0
- package/dist/connectors/odata/index.js +460 -0
- package/dist/connectors/odata/index.js.map +1 -0
- package/dist/connectors/okta/connector.json +193 -0
- package/dist/connectors/okta/index.d.ts +8 -0
- package/dist/connectors/okta/index.js +7 -0
- package/dist/connectors/okta/index.js.map +1 -0
- package/dist/connectors/okta/tools.d.ts +6 -0
- package/dist/connectors/okta/tools.js +429 -0
- package/dist/connectors/okta/tools.js.map +1 -0
- package/dist/connectors/okta/vendor.d.ts +14 -0
- package/dist/connectors/okta/vendor.js +203 -0
- package/dist/connectors/okta/vendor.js.map +1 -0
- package/dist/connectors/outlook-calendar/index.d.ts +2 -0
- package/dist/connectors/outlook-calendar/tools.d.ts +65 -0
- package/dist/connectors/outlook-mail/index.d.ts +2 -0
- package/dist/connectors/outlook-mail/tools.d.ts +8 -0
- package/dist/connectors/salesforce/index.d.ts +8 -0
- package/dist/connectors/salesforce/soql.d.ts +3 -0
- package/dist/connectors/salesforce/tools.d.ts +9 -0
- package/dist/connectors/salesforce/vendor.d.ts +3 -0
- package/dist/connectors/sap-s4hana/connector.json +263 -0
- package/dist/connectors/sap-s4hana/index.d.ts +8 -0
- package/dist/connectors/sap-s4hana/index.js +7 -0
- package/dist/connectors/sap-s4hana/index.js.map +1 -0
- package/dist/connectors/sap-s4hana/tools.d.ts +4 -0
- package/dist/connectors/sap-s4hana/tools.js +761 -0
- package/dist/connectors/sap-s4hana/tools.js.map +1 -0
- package/dist/connectors/sap-s4hana/vendor.d.ts +5 -0
- package/dist/connectors/sap-s4hana/vendor.js +176 -0
- package/dist/connectors/sap-s4hana/vendor.js.map +1 -0
- package/dist/connectors/servicenow/connector.json +228 -0
- package/dist/connectors/servicenow/index.d.ts +8 -0
- package/dist/connectors/servicenow/index.js +7 -0
- package/dist/connectors/servicenow/index.js.map +1 -0
- package/dist/connectors/servicenow/tools.d.ts +4 -0
- package/dist/connectors/servicenow/tools.js +884 -0
- package/dist/connectors/servicenow/tools.js.map +1 -0
- package/dist/connectors/servicenow/vendor.d.ts +4 -0
- package/dist/connectors/servicenow/vendor.js +109 -0
- package/dist/connectors/servicenow/vendor.js.map +1 -0
- package/dist/connectors/sharepoint-files/excel.d.ts +16 -0
- package/dist/connectors/sharepoint-files/index.d.ts +11 -0
- package/dist/connectors/sharepoint-files/tools.d.ts +52 -0
- package/dist/connectors/sharepoint-files/vendor.d.ts +11 -0
- package/dist/connectors/slack/connector.json +148 -0
- package/dist/connectors/slack/index.d.ts +8 -0
- package/dist/connectors/slack/index.js +7 -0
- package/dist/connectors/slack/index.js.map +1 -0
- package/dist/connectors/slack/tools.d.ts +3 -0
- package/dist/connectors/slack/tools.js +355 -0
- package/dist/connectors/slack/tools.js.map +1 -0
- package/dist/connectors/slack/vendor.d.ts +17 -0
- package/dist/connectors/slack/vendor.js +195 -0
- package/dist/connectors/slack/vendor.js.map +1 -0
- package/dist/connectors/soap/index.d.ts +19 -0
- package/dist/connectors/soap/index.js +248 -0
- package/dist/connectors/soap/index.js.map +1 -0
- package/dist/connectors/soap/xml.d.ts +12 -0
- package/dist/connectors/soap/xml.js +126 -0
- package/dist/connectors/soap/xml.js.map +1 -0
- package/dist/connectors/sql/engines.d.ts +58 -0
- package/dist/connectors/sql/engines.js +292 -0
- package/dist/connectors/sql/engines.js.map +1 -0
- package/dist/connectors/sql/index.d.ts +19 -0
- package/dist/connectors/sql/index.js +212 -0
- package/dist/connectors/sql/index.js.map +1 -0
- package/dist/connectors/teams/index.d.ts +2 -0
- package/dist/connectors/teams/tools.d.ts +2 -0
- package/dist/connectors/workday/connector.json +186 -0
- package/dist/connectors/workday/index.d.ts +8 -0
- package/dist/connectors/workday/index.js +7 -0
- package/dist/connectors/workday/index.js.map +1 -0
- package/dist/connectors/workday/tools.d.ts +33 -0
- package/dist/connectors/workday/tools.js +410 -0
- package/dist/connectors/workday/tools.js.map +1 -0
- package/dist/connectors/workday/vendor.d.ts +18 -0
- package/dist/connectors/workday/vendor.js +195 -0
- package/dist/connectors/workday/vendor.js.map +1 -0
- package/dist/packages/connector-kit/src/branding.d.ts +57 -0
- package/dist/packages/connector-kit/src/certificate.d.ts +19 -0
- package/dist/packages/connector-kit/src/common.d.ts +40 -0
- package/dist/packages/connector-kit/src/connector.d.ts +1346 -0
- package/dist/packages/connector-kit/src/connector.js +586 -44
- package/dist/packages/connector-kit/src/connector.js.map +1 -1
- package/dist/packages/connector-kit/src/index.d.ts +5 -0
- package/dist/packages/connector-kit/src/index.js +5 -0
- package/dist/packages/connector-kit/src/index.js.map +1 -0
- package/dist/packages/connector-kit/src/oauth.d.ts +15 -0
- package/dist/packages/connector-kit/src/oauth.js +21 -4
- package/dist/packages/connector-kit/src/oauth.js.map +1 -1
- package/dist/packages/connector-kit/src/types.d.ts +85 -0
- package/dist/packages/connector-kit/src/types.js.map +1 -1
- package/dist/packages/server/migrations/0007_app_events.sql +110 -0
- package/dist/packages/server/migrations/rollback/to-legacy.sql +3 -0
- package/dist/packages/server/src/api.d.ts +3714 -0
- package/dist/packages/server/src/api.js +135 -1
- package/dist/packages/server/src/api.js.map +1 -1
- package/dist/packages/server/src/app.d.ts +23 -0
- package/dist/packages/server/src/app.js +24 -1
- package/dist/packages/server/src/app.js.map +1 -1
- package/dist/packages/server/src/builtin.d.ts +4 -0
- package/dist/packages/server/src/builtin.js +18 -0
- package/dist/packages/server/src/builtin.js.map +1 -1
- package/dist/packages/server/src/consent.d.ts +27 -0
- package/dist/packages/server/src/events/admin.d.ts +156 -0
- package/dist/packages/server/src/events/admin.js +255 -0
- package/dist/packages/server/src/events/admin.js.map +1 -0
- package/dist/packages/server/src/events/deliver.d.ts +43 -0
- package/dist/packages/server/src/events/deliver.js +129 -0
- package/dist/packages/server/src/events/deliver.js.map +1 -0
- package/dist/packages/server/src/events/runtime.d.ts +28 -0
- package/dist/packages/server/src/events/runtime.js +397 -0
- package/dist/packages/server/src/events/runtime.js.map +1 -0
- package/dist/packages/server/src/events/store.d.ts +172 -0
- package/dist/packages/server/src/events/store.js +275 -0
- package/dist/packages/server/src/events/store.js.map +1 -0
- package/dist/packages/server/src/index.d.ts +40 -0
- package/dist/packages/server/src/index.js +67 -11
- package/dist/packages/server/src/index.js.map +1 -1
- package/dist/packages/server/src/migrate.d.ts +11 -0
- package/dist/packages/server/src/openapi.d.ts +4 -0
- package/dist/packages/server/src/openapi.js +2 -2
- package/dist/packages/server/src/openapi.js.map +1 -1
- package/dist/packages/server/src/queue.d.ts +10 -0
- package/dist/packages/server/src/queue.js +45 -0
- package/dist/packages/server/src/queue.js.map +1 -0
- package/dist/packages/server/src/secrets.d.ts +19 -0
- package/dist/packages/server/src/server.d.ts +1 -0
- package/dist/packages/server/src/server.js +14 -1
- package/dist/packages/server/src/server.js.map +1 -1
- package/dist/packages/server/src/service.d.ts +760 -0
- package/dist/packages/server/src/service.js +10 -0
- package/dist/packages/server/src/service.js.map +1 -1
- package/dist/packages/server/src/store.d.ts +158 -0
- package/dist/packages/server/src/store.js +4 -0
- package/dist/packages/server/src/store.js.map +1 -1
- package/dist/packages/server/src/teams/activity.d.ts +123 -0
- package/dist/packages/server/src/teams/activity.js +6 -5
- package/dist/packages/server/src/teams/activity.js.map +1 -1
- package/dist/packages/server/src/teams/admin.d.ts +335 -0
- package/dist/packages/server/src/teams/admin.js +1 -1
- package/dist/packages/server/src/teams/admin.js.map +1 -1
- package/dist/packages/server/src/teams/approval.d.ts +57 -0
- package/dist/packages/server/src/teams/bot.d.ts +25 -0
- package/dist/packages/server/src/teams/claude.d.ts +46 -0
- package/dist/packages/server/src/teams/jwt.d.ts +17 -0
- package/dist/packages/server/src/teams/package.d.ts +79 -0
- package/dist/packages/server/src/teams/provision.d.ts +84 -0
- package/dist/packages/server/src/teams/runner.d.ts +80 -0
- package/dist/packages/server/src/teams/runner.js +50 -6
- package/dist/packages/server/src/teams/runner.js.map +1 -1
- package/dist/packages/server/src/teams/runtime.d.ts +91 -0
- package/dist/packages/server/src/teams/runtime.js +25 -47
- package/dist/packages/server/src/teams/runtime.js.map +1 -1
- package/dist/packages/server/src/teams/store.d.ts +233 -0
- package/package.json +28 -2
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "sap-s4hana",
|
|
3
|
+
"name": "SAP S/4HANA",
|
|
4
|
+
"description": "Let agents look up customers, suppliers, orders, stock and invoices in SAP S/4HANA and, if you allow it, create sales and purchase orders, within the company codes, sales and purchasing organizations and plants you choose.",
|
|
5
|
+
"logo": "/brand/registry/sap.svg",
|
|
6
|
+
"identity": "A dedicated SAP user for {brand.microsoft.appName}: a communication user on SAP S/4HANA Cloud, or a technical (system) user on premise. Agents never see more than this user's SAP authorizations allow.",
|
|
7
|
+
"accountKey": "system",
|
|
8
|
+
"connectionKind": "guided",
|
|
9
|
+
"setup": [
|
|
10
|
+
{
|
|
11
|
+
"title": "Create a communication user",
|
|
12
|
+
"body": "In SAP S/4HANA Cloud, open the Maintain Communication Users app and create a user for {brand.microsoft.appName}. Let SAP propose a password and copy it now: it is shown only once.",
|
|
13
|
+
"option": { "field": "deployment", "value": "cloud" },
|
|
14
|
+
"click": [
|
|
15
|
+
"SAP Fiori launchpad > Communication Management > Maintain Communication Users > New",
|
|
16
|
+
"User Name: a name such as AGENT_CONNECT, Description: {brand.microsoft.appName} > Propose Password > copy it > Create"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"title": "Create a communication system",
|
|
21
|
+
"body": "Open the Communication Systems app and create a system for {brand.microsoft.appName}. Tick Inbound Only, and add the communication user under Users for Inbound Communication with the authentication method User ID and Password.",
|
|
22
|
+
"option": { "field": "deployment", "value": "cloud" },
|
|
23
|
+
"click": [
|
|
24
|
+
"Communication Management > Communication Systems > New",
|
|
25
|
+
"System ID and Name: AGENT_CONNECT > Create > Inbound Only: on",
|
|
26
|
+
"Users for Inbound Communication > + > the communication user, User ID and Password > OK > Save"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"title": "Create a communication arrangement for each scenario",
|
|
31
|
+
"body": "Open the Communication Arrangements app and create one arrangement per scenario below, each with the communication system above. Agents can only reach the services of these scenarios. To sign in with OAuth 2.0, choose OAuth 2.0 as the inbound authentication of each arrangement. The arrangement shows the API host under Inbound Services, for example my123456-api.s4hana.cloud.sap: enter that host below.",
|
|
32
|
+
"option": { "field": "deployment", "value": "cloud" },
|
|
33
|
+
"copy": ["{scope}"],
|
|
34
|
+
"click": [
|
|
35
|
+
"Communication Management > Communication Arrangements > New > Scenario: the scenario > Create",
|
|
36
|
+
"Communication System: AGENT_CONNECT > Save"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"title": "Activate the OData services",
|
|
41
|
+
"body": "On the SAP Gateway system, add each service below in transaction /IWFND/MAINT_SERVICE (system alias LOCAL on an embedded Gateway), then check that its node /sap/opu/odata/sap/ followed by the service name is active in transaction SICF.",
|
|
42
|
+
"option": { "field": "deployment", "value": "on_premise" },
|
|
43
|
+
"permissions": true,
|
|
44
|
+
"click": [
|
|
45
|
+
"Transaction /IWFND/MAINT_SERVICE > Add Service > System Alias: LOCAL > Technical Service Name: the service > Get Services > select it > Add Selected Services > Local Object",
|
|
46
|
+
"Transaction SICF > Service Path: /sap/opu/odata/sap/ the service > Execute > right-click the service node > Activate Service"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"title": "Create a role for the services and your organizations",
|
|
51
|
+
"body": "In transaction PFCG create a role, add the same services to its menu (Authorization Default, TADIR Service, R3TR IWSG and the service name followed by _0001), and in its authorizations give display access, plus create for the order capabilities you tick, only for the organizations agents need: V_VBAK_VKO and V_VBAK_AAT (sales organizations, order types), M_BEST_EKO, M_BEST_BSA and M_BEST_WRK (purchasing organizations, order types, plants), M_MSEG_WWA (plants) and F_BKPF_BUK (company codes). SAP then enforces these too, whatever the limits here.",
|
|
52
|
+
"option": { "field": "deployment", "value": "on_premise" },
|
|
53
|
+
"click": [
|
|
54
|
+
"Transaction PFCG > Role: Z_AGENT_CONNECT > Single Role > Menu > Authorization Default > TADIR Service, R3TR IWSG, the services with _0001",
|
|
55
|
+
"Authorizations > Change Authorization Data > fill the organizational levels > Generate > Save"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"title": "Create a technical user",
|
|
60
|
+
"body": "In transaction SU01 create a user of type System for {brand.microsoft.appName}, give it a password and the role above. A System user cannot sign in to SAP GUI and its password does not expire.",
|
|
61
|
+
"option": { "field": "deployment", "value": "on_premise" },
|
|
62
|
+
"click": [
|
|
63
|
+
"Transaction SU01 > User: AGENT_CONNECT > Create",
|
|
64
|
+
"Logon Data > User Type: System > set the password",
|
|
65
|
+
"Roles > Z_AGENT_CONNECT > Save"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"title": "Find the Gateway's https address",
|
|
70
|
+
"body": "Agents reach SAP through this service, which usually runs inside your network next to SAP. Use the Gateway's https host and port, for example sap-gw.example.internal:44300 (transaction SMICM, Goto, Services lists the HTTPS port). If your SAP certificate comes from an internal certificate authority, whoever runs this service adds that authority to it first.",
|
|
71
|
+
"option": { "field": "deployment", "value": "on_premise" },
|
|
72
|
+
"click": ["Transaction SMICM > Goto > Services > the HTTPS line's host name and port"]
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"afterConnect": [],
|
|
76
|
+
"fields": [
|
|
77
|
+
{
|
|
78
|
+
"id": "deployment",
|
|
79
|
+
"label": "SAP system",
|
|
80
|
+
"secret": false,
|
|
81
|
+
"options": [
|
|
82
|
+
{
|
|
83
|
+
"value": "cloud",
|
|
84
|
+
"label": "SAP S/4HANA Cloud",
|
|
85
|
+
"description": "Reached through communication arrangements and a communication user."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"value": "on_premise",
|
|
89
|
+
"label": "On premise or private cloud",
|
|
90
|
+
"description": "SAP S/4HANA reached through SAP Gateway with a technical user."
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "auth",
|
|
96
|
+
"label": "Sign-in",
|
|
97
|
+
"secret": false,
|
|
98
|
+
"requires": { "field": "deployment", "value": "cloud" },
|
|
99
|
+
"options": [
|
|
100
|
+
{
|
|
101
|
+
"value": "basic",
|
|
102
|
+
"label": "User name and password",
|
|
103
|
+
"description": "The communication user's name and password on every call."
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"value": "oauth",
|
|
107
|
+
"label": "OAuth 2.0 client credentials",
|
|
108
|
+
"description": "The communication user signs in for a short-lived token. Its arrangements must use OAuth 2.0."
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "host",
|
|
114
|
+
"label": "API host",
|
|
115
|
+
"help": "The host shown under Inbound Services in the communication arrangement.",
|
|
116
|
+
"placeholder": "my123456-api.s4hana.cloud.sap",
|
|
117
|
+
"secret": false,
|
|
118
|
+
"requires": { "field": "deployment", "value": "cloud" }
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "gateway_host",
|
|
122
|
+
"label": "Gateway address",
|
|
123
|
+
"help": "The SAP Gateway's https host and port.",
|
|
124
|
+
"placeholder": "sap-gw.example.internal:44300",
|
|
125
|
+
"secret": false,
|
|
126
|
+
"requires": { "field": "deployment", "value": "on_premise" }
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "sap_client",
|
|
130
|
+
"label": "Client",
|
|
131
|
+
"help": "The three-digit SAP client, for example 100. Leave empty for the system's default client.",
|
|
132
|
+
"placeholder": "100",
|
|
133
|
+
"secret": false,
|
|
134
|
+
"requires": { "field": "deployment", "value": "on_premise" }
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"id": "user",
|
|
138
|
+
"label": "User name",
|
|
139
|
+
"help": "The communication user (Cloud) or the technical user (on premise).",
|
|
140
|
+
"secret": false
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"id": "password",
|
|
144
|
+
"label": "Password",
|
|
145
|
+
"secret": true
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"capabilities": [
|
|
149
|
+
{
|
|
150
|
+
"id": "partners",
|
|
151
|
+
"label": "Look up customers and suppliers",
|
|
152
|
+
"description": "Find business partners by name or number: name, whether they are a customer or supplier, blocked or not, city and country. Partners are shared across your organizations, so the limits below do not narrow them.",
|
|
153
|
+
"scopes": ["SAP_COM_0008"],
|
|
154
|
+
"roles": ["API_BUSINESS_PARTNER"],
|
|
155
|
+
"permissions": ["API_BUSINESS_PARTNER"],
|
|
156
|
+
"forbidden": "The SAP user needs the business partner service: on SAP S/4HANA Cloud the arrangement for SAP_COM_0008, on premise API_BUSINESS_PARTNER in its role.",
|
|
157
|
+
"tools": ["sap_find_business_partners"]
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"id": "read_sales",
|
|
161
|
+
"label": "Read sales orders",
|
|
162
|
+
"description": "List and read sales orders with their lines, status and delivery status.",
|
|
163
|
+
"scopes": ["SAP_COM_0109"],
|
|
164
|
+
"roles": ["API_SALES_ORDER_SRV"],
|
|
165
|
+
"permissions": ["API_SALES_ORDER_SRV"],
|
|
166
|
+
"forbidden": "The SAP user needs the sales order service: on SAP S/4HANA Cloud the arrangement for SAP_COM_0109, on premise API_SALES_ORDER_SRV and display access to the sales organization in its role.",
|
|
167
|
+
"tools": ["sap_list_sales_orders", "sap_get_sales_order"]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"id": "create_sales",
|
|
171
|
+
"label": "Create sales orders",
|
|
172
|
+
"description": "Create sales orders for customers from materials and quantities. SAP prices them from your master data. Agents cannot change or cancel orders.",
|
|
173
|
+
"scopes": ["SAP_COM_0109"],
|
|
174
|
+
"roles": ["API_SALES_ORDER_SRV"],
|
|
175
|
+
"permissions": ["API_SALES_ORDER_SRV"],
|
|
176
|
+
"forbidden": "On premise, the SAP user's role needs create access (V_VBAK_VKO activity 01) for the sales organization and order type.",
|
|
177
|
+
"tools": ["sap_create_sales_order"]
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"id": "read_purchasing",
|
|
181
|
+
"label": "Read purchase orders",
|
|
182
|
+
"description": "List and read purchase orders with their lines, approval status, and what is delivered and invoiced.",
|
|
183
|
+
"scopes": ["SAP_COM_0053"],
|
|
184
|
+
"roles": ["API_PURCHASEORDER_PROCESS_SRV"],
|
|
185
|
+
"permissions": ["API_PURCHASEORDER_PROCESS_SRV"],
|
|
186
|
+
"forbidden": "The SAP user needs the purchase order service: on SAP S/4HANA Cloud the arrangement for SAP_COM_0053, on premise API_PURCHASEORDER_PROCESS_SRV and display access to the purchasing organization in its role.",
|
|
187
|
+
"tools": ["sap_list_purchase_orders", "sap_get_purchase_order"]
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"id": "create_purchasing",
|
|
191
|
+
"label": "Create purchase orders",
|
|
192
|
+
"description": "Create purchase orders to suppliers. Each goes through your purchase order approval as usual: agents can never approve one. Once approved and sent, it commits your company to pay.",
|
|
193
|
+
"destructive": true,
|
|
194
|
+
"costs": true,
|
|
195
|
+
"note": "Agents with this can commit your company to spend money. Keep each agent to the company codes, purchasing organizations and plants it needs, and keep your approval rules in place.",
|
|
196
|
+
"scopes": ["SAP_COM_0053"],
|
|
197
|
+
"roles": ["API_PURCHASEORDER_PROCESS_SRV"],
|
|
198
|
+
"permissions": ["API_PURCHASEORDER_PROCESS_SRV"],
|
|
199
|
+
"forbidden": "On premise, the SAP user's role needs create access (M_BEST_EKO activity 01) for the purchasing organization, order type and plant.",
|
|
200
|
+
"tools": ["sap_create_purchase_order"]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"id": "stock",
|
|
204
|
+
"label": "Read products and stock",
|
|
205
|
+
"description": "Find products by number or description, and read a material's stock by plant, storage location and batch.",
|
|
206
|
+
"scopes": ["SAP_COM_0009", "SAP_COM_0164"],
|
|
207
|
+
"roles": ["API_PRODUCT_SRV", "API_MATERIAL_STOCK_SRV"],
|
|
208
|
+
"permissions": ["API_PRODUCT_SRV", "API_MATERIAL_STOCK_SRV"],
|
|
209
|
+
"forbidden": "The SAP user needs the product and stock services: on SAP S/4HANA Cloud the arrangements for SAP_COM_0009 and SAP_COM_0164, on premise API_PRODUCT_SRV and API_MATERIAL_STOCK_SRV in its role.",
|
|
210
|
+
"tools": ["sap_find_products", "sap_get_stock"]
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"id": "finance",
|
|
214
|
+
"label": "Read invoices and payments",
|
|
215
|
+
"description": "List supplier invoices, and open or paid customer and supplier items in accounting with their due dates.",
|
|
216
|
+
"scopes": ["SAP_COM_0057", "SAP_COM_0303"],
|
|
217
|
+
"roles": ["API_SUPPLIERINVOICE_PROCESS_SRV", "API_OPLACCTGDOCITEMCUBE_SRV"],
|
|
218
|
+
"permissions": ["API_SUPPLIERINVOICE_PROCESS_SRV", "API_OPLACCTGDOCITEMCUBE_SRV"],
|
|
219
|
+
"forbidden": "The SAP user needs the invoice and accounting item services: on SAP S/4HANA Cloud the arrangements for SAP_COM_0057 and SAP_COM_0303, on premise API_SUPPLIERINVOICE_PROCESS_SRV and API_OPLACCTGDOCITEMCUBE_SRV and display access to the company code in its role.",
|
|
220
|
+
"tools": ["sap_list_supplier_invoices", "sap_list_account_items"]
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
"limits": [
|
|
224
|
+
{
|
|
225
|
+
"id": "company_codes",
|
|
226
|
+
"label": "Company codes",
|
|
227
|
+
"help": "Purchase orders, invoices and accounting items in these company codes only. Leave empty to allow every company code the SAP user can see.",
|
|
228
|
+
"kind": "list",
|
|
229
|
+
"required": false,
|
|
230
|
+
"pattern": "^[A-Za-z0-9]{1,4}$"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"id": "sales_organizations",
|
|
234
|
+
"label": "Sales organizations",
|
|
235
|
+
"help": "Sales orders of these sales organizations only. Leave empty to allow every one the SAP user can see.",
|
|
236
|
+
"kind": "list",
|
|
237
|
+
"required": false,
|
|
238
|
+
"pattern": "^[A-Za-z0-9]{1,4}$"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"id": "purchasing_organizations",
|
|
242
|
+
"label": "Purchasing organizations",
|
|
243
|
+
"help": "Purchase orders of these purchasing organizations only. Leave empty to allow every one the SAP user can see.",
|
|
244
|
+
"kind": "list",
|
|
245
|
+
"required": false,
|
|
246
|
+
"pattern": "^[A-Za-z0-9]{1,4}$"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"id": "plants",
|
|
250
|
+
"label": "Plants",
|
|
251
|
+
"help": "Stock at these plants only, new order lines must name one of them, and orders with lines at other plants are not shown. Leave empty to allow every plant.",
|
|
252
|
+
"kind": "list",
|
|
253
|
+
"required": false,
|
|
254
|
+
"pattern": "^[A-Za-z0-9]{1,4}$"
|
|
255
|
+
}
|
|
256
|
+
],
|
|
257
|
+
"verify": {
|
|
258
|
+
"label": "Services the SAP user can use",
|
|
259
|
+
"check": "services",
|
|
260
|
+
"ifEmpty": "The SAP user cannot open any of the services yet. Follow the setup steps for the capabilities you ticked."
|
|
261
|
+
},
|
|
262
|
+
"revoke": "On SAP S/4HANA Cloud, delete the communication arrangements and the communication user for {brand.microsoft.appName}. On premise, lock the technical user in transaction SU01."
|
|
263
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../connectors/sap-s4hana/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAe;IACb,EAAE,EAAE,YAAY;IAChB,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;CACjC,CAAC"}
|