n8n-nodes-base 1.94.0 → 1.94.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/credentials/MicrosoftSharePointOAuth2Api.credentials.js +9 -0
- package/dist/credentials/MicrosoftSharePointOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/icons/microsoftSharePoint.svg +59 -0
- package/dist/types/credentials.json +1 -1
- package/dist/types/nodes.json +2 -2
- package/package.json +4 -4
|
@@ -25,8 +25,17 @@ class MicrosoftSharePointOAuth2Api {
|
|
|
25
25
|
constructor() {
|
|
26
26
|
this.name = "microsoftSharePointOAuth2Api";
|
|
27
27
|
this.extends = ["microsoftOAuth2Api"];
|
|
28
|
+
this.icon = {
|
|
29
|
+
light: "file:icons/microsoftSharePoint.svg",
|
|
30
|
+
dark: "file:icons/microsoftSharePoint.svg"
|
|
31
|
+
};
|
|
28
32
|
this.displayName = "Microsoft SharePoint OAuth2 API";
|
|
29
33
|
this.documentationUrl = "microsoft";
|
|
34
|
+
this.httpRequestNode = {
|
|
35
|
+
name: "Microsoft SharePoint",
|
|
36
|
+
docsUrl: "https://learn.microsoft.com/en-us/sharepoint/dev/apis/sharepoint-rest-graph",
|
|
37
|
+
apiBaseUrlPlaceholder: "https://{subdomain}.sharepoint.com/_api/v2.0/"
|
|
38
|
+
};
|
|
30
39
|
this.properties = [
|
|
31
40
|
{
|
|
32
41
|
displayName: "Scope",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../credentials/MicrosoftSharePointOAuth2Api.credentials.ts"],"sourcesContent":["import type { ICredentialType, INodeProperties } from 'n8n-workflow';\n\nexport class MicrosoftSharePointOAuth2Api implements ICredentialType {\n\tname = 'microsoftSharePointOAuth2Api';\n\n\textends = ['microsoftOAuth2Api'];\n\n\tdisplayName = 'Microsoft SharePoint OAuth2 API';\n\n\tdocumentationUrl = 'microsoft';\n\n\tproperties: INodeProperties[] = [\n\t\t{\n\t\t\tdisplayName: 'Scope',\n\t\t\tname: 'scope',\n\t\t\ttype: 'hidden',\n\t\t\tdefault: '=openid offline_access https://{{$self.subdomain}}.sharepoint.com/.default',\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Subdomain',\n\t\t\tname: 'subdomain',\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\thint: 'You can extract the subdomain from the URL. For example, in the URL \"https://tenant123.sharepoint.com\", the subdomain is \"tenant123\".',\n\t\t},\n\t];\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,MAAM,6BAAwD;AAAA,EAA9D;AACN,gBAAO;AAEP,mBAAU,CAAC,oBAAoB;AAE/B,uBAAc;AAEd,4BAAmB;AAEnB,sBAAgC;AAAA,MAC/B;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,MACV;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,MAAM;AAAA,MACP;AAAA,IACD;AAAA;AACD;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../credentials/MicrosoftSharePointOAuth2Api.credentials.ts"],"sourcesContent":["import type { Icon, ICredentialType, INodeProperties } from 'n8n-workflow';\n\nexport class MicrosoftSharePointOAuth2Api implements ICredentialType {\n\tname = 'microsoftSharePointOAuth2Api';\n\n\textends = ['microsoftOAuth2Api'];\n\n\ticon: Icon = {\n\t\tlight: 'file:icons/microsoftSharePoint.svg',\n\t\tdark: 'file:icons/microsoftSharePoint.svg',\n\t};\n\n\tdisplayName = 'Microsoft SharePoint OAuth2 API';\n\n\tdocumentationUrl = 'microsoft';\n\n\thttpRequestNode = {\n\t\tname: 'Microsoft SharePoint',\n\t\tdocsUrl: 'https://learn.microsoft.com/en-us/sharepoint/dev/apis/sharepoint-rest-graph',\n\t\tapiBaseUrlPlaceholder: 'https://{subdomain}.sharepoint.com/_api/v2.0/',\n\t};\n\n\tproperties: INodeProperties[] = [\n\t\t{\n\t\t\tdisplayName: 'Scope',\n\t\t\tname: 'scope',\n\t\t\ttype: 'hidden',\n\t\t\tdefault: '=openid offline_access https://{{$self.subdomain}}.sharepoint.com/.default',\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Subdomain',\n\t\t\tname: 'subdomain',\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\thint: 'You can extract the subdomain from the URL. For example, in the URL \"https://tenant123.sharepoint.com\", the subdomain is \"tenant123\".',\n\t\t},\n\t];\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,MAAM,6BAAwD;AAAA,EAA9D;AACN,gBAAO;AAEP,mBAAU,CAAC,oBAAoB;AAE/B,gBAAa;AAAA,MACZ,OAAO;AAAA,MACP,MAAM;AAAA,IACP;AAEA,uBAAc;AAEd,4BAAmB;AAEnB,2BAAkB;AAAA,MACjB,MAAM;AAAA,MACN,SAAS;AAAA,MACT,uBAAuB;AAAA,IACxB;AAEA,sBAAgC;AAAA,MAC/B;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,MACV;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,MAAM;AAAA,MACP;AAAA,IACD;AAAA;AACD;","names":[]}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
|
4
|
+
<!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
|
|
5
|
+
<!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
|
|
6
|
+
<!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
|
|
7
|
+
<!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
|
|
8
|
+
<!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
|
|
9
|
+
<!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
|
|
10
|
+
<!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
|
|
11
|
+
<!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
|
|
12
|
+
]>
|
|
13
|
+
<svg version="1.1" id="Livello_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1992.333 1946"
|
|
15
|
+
enable-background="new 0 0 1992.333 1946" xml:space="preserve">
|
|
16
|
+
<metadata>
|
|
17
|
+
<sfw xmlns="&ns_sfw;">
|
|
18
|
+
<slices></slices>
|
|
19
|
+
<sliceSourceBounds bottomLeftOrigin="true" height="1946" width="1992.333" x="-995.333" y="-949"></sliceSourceBounds>
|
|
20
|
+
</sfw>
|
|
21
|
+
</metadata>
|
|
22
|
+
<circle fill="#036C70" cx="1019.333" cy="556" r="556"/>
|
|
23
|
+
<circle fill="#1A9BA1" cx="1482.667" cy="1065.667" r="509.667"/>
|
|
24
|
+
<circle fill="#37C6D0" cx="1088.833" cy="1552.167" r="393.833"/>
|
|
25
|
+
<path opacity="0.1" enable-background="new " d="M1112,501.79v988.753c-0.23,34.357-21.05,65.222-52.82,78.303
|
|
26
|
+
c-10.116,4.279-20.987,6.484-31.97,6.487H695.463c-0.463-7.877-0.463-15.29-0.463-23.167c-0.154-7.734,0.155-15.47,0.927-23.167
|
|
27
|
+
c8.48-148.106,99.721-278.782,235.837-337.77v-86.18c-302.932-48.005-509.592-332.495-461.587-635.427
|
|
28
|
+
c0.333-2.098,0.677-4.195,1.034-6.289c2.306-15.626,5.556-31.099,9.73-46.333h546.27C1073.964,417.178,1111.822,455.036,1112,501.79
|
|
29
|
+
z"/>
|
|
30
|
+
<path opacity="0.2" enable-background="new " d="M980.877,463.333H471.21c-51.486,302.386,151.908,589.256,454.293,640.742
|
|
31
|
+
c9.156,1.559,18.35,2.888,27.573,3.986c-143.633,68.11-248.3,261.552-257.196,420.938c-0.771,7.697-1.081,15.433-0.927,23.167
|
|
32
|
+
c0,7.877,0,15.29,0.463,23.167c0.836,15.574,2.85,31.063,6.023,46.333h279.39c34.357-0.23,65.222-21.05,78.303-52.82
|
|
33
|
+
c4.279-10.115,6.485-20.987,6.487-31.97V548.123C1065.443,501.387,1027.613,463.537,980.877,463.333z"/>
|
|
34
|
+
<path opacity="0.2" enable-background="new " d="M980.877,463.333H471.21c-51.475,302.414,151.95,589.297,454.364,640.773
|
|
35
|
+
c6.186,1.053,12.389,2.001,18.607,2.844c-139,73.021-239.543,266-248.254,422.05h284.95c46.681-0.353,84.437-38.109,84.79-84.79
|
|
36
|
+
V548.123C1065.489,501.369,1027.631,463.511,980.877,463.333z"/>
|
|
37
|
+
<path opacity="0.2" enable-background="new " d="M934.543,463.333H471.21c-48.606,285.482,130.279,560.404,410.977,631.616
|
|
38
|
+
C775.901,1216.384,710.711,1368.301,695.927,1529h238.617c46.754-0.178,84.612-38.036,84.79-84.79V548.123
|
|
39
|
+
C1019.308,501.306,981.361,463.359,934.543,463.333z"/>
|
|
40
|
+
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="177.0788" y1="1551.0284" x2="842.2545" y2="398.9716" gradientTransform="matrix(1 0 0 -1 0 1948)">
|
|
41
|
+
<stop offset="0" style="stop-color:#058F92"/>
|
|
42
|
+
<stop offset="0.5" style="stop-color:#038489"/>
|
|
43
|
+
<stop offset="1" style="stop-color:#026D71"/>
|
|
44
|
+
</linearGradient>
|
|
45
|
+
<path fill="url(#SVGID_1_)" d="M84.929,463.333h849.475c46.905,0,84.929,38.024,84.929,84.929v849.475
|
|
46
|
+
c0,46.905-38.024,84.929-84.929,84.929H84.929c-46.905,0-84.929-38.024-84.929-84.929V548.262
|
|
47
|
+
C0,501.357,38.024,463.333,84.929,463.333z"/>
|
|
48
|
+
<path fill="#FFFFFF" d="M379.331,962.621c-19.903-13.202-36.528-30.777-48.604-51.384c-11.701-21.542-17.533-45.781-16.912-70.288
|
|
49
|
+
c-1.042-33.181,10.155-65.586,31.46-91.045c22.388-25.49,51.326-44.366,83.678-54.581c36.871-12.136,75.49-18.116,114.304-17.699
|
|
50
|
+
c51.043-1.865,102.015,5.272,150.583,21.082v106.567c-21.103-12.784-44.088-22.166-68.11-27.8
|
|
51
|
+
c-26.065-6.392-52.81-9.597-79.647-9.545c-28.3-1.039-56.419,4.913-81.871,17.329c-19.65,8.475-32.392,27.807-32.433,49.206
|
|
52
|
+
c-0.08,12.981,4.907,25.481,13.9,34.843c10.622,11.037,23.187,20.021,37.067,26.503c15.444,7.691,38.611,17.916,69.5,30.673
|
|
53
|
+
c3.401,1.075,6.716,2.407,9.915,3.985c30.401,11.881,59.729,26.344,87.663,43.229c21.154,13.043,38.908,30.924,51.801,52.171
|
|
54
|
+
c13.218,24.085,19.625,51.315,18.533,78.767c1.509,34.066-8.913,67.591-29.468,94.798c-20.488,25.012-47.88,43.446-78.767,53.005
|
|
55
|
+
c-36.329,11.387-74.245,16.892-112.312,16.309c-34.154,0.155-68.258-2.635-101.933-8.34c-28.434-4.653-56.182-12.807-82.612-24.279
|
|
56
|
+
v-112.358c25.264,18.043,53.489,31.529,83.4,39.847c29.81,9.289,60.798,14.251,92.018,14.734c28.895,1.83,57.739-4.291,83.4-17.699
|
|
57
|
+
c17.976-10.144,28.909-29.358,28.449-49.994c0.12-14.359-5.56-28.158-15.753-38.271c-12.676-12.444-27.352-22.671-43.414-30.256
|
|
58
|
+
c-18.533-9.267-45.824-21.483-81.871-36.65C432.618,993.951,405.161,979.594,379.331,962.621z"/>
|
|
59
|
+
</svg>
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
{"name":"microsoftOAuth2Api","extends":["oAuth2Api"],"displayName":"Microsoft OAuth2 API","documentationUrl":"microsoft","properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Authorization URL","name":"authUrl","type":"string","default":"https://login.microsoftonline.com/common/oauth2/v2.0/authorize"},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"string","default":"https://login.microsoftonline.com/common/oauth2/v2.0/token"},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":"response_mode=query"},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"body"}],"iconUrl":"icons/n8n-nodes-base/dist/credentials/icons/Microsoft.svg","supportedNodes":[]},
|
|
213
213
|
{"name":"microsoftOneDriveOAuth2Api","extends":["microsoftOAuth2Api"],"displayName":"Microsoft Drive OAuth2 API","documentationUrl":"microsoft","properties":[{"displayName":"Scope","name":"scope","type":"hidden","default":"openid offline_access Files.ReadWrite.All"}],"supportedNodes":["microsoftOneDrive","microsoftOneDriveTrigger"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Microsoft/OneDrive/oneDrive.svg"},
|
|
214
214
|
{"name":"microsoftOutlookOAuth2Api","extends":["microsoftOAuth2Api"],"displayName":"Microsoft Outlook OAuth2 API","documentationUrl":"microsoft","properties":[{"displayName":"Scope","name":"scope","type":"hidden","default":"openid offline_access Contacts.Read Contacts.ReadWrite Calendars.Read Calendars.Read.Shared Calendars.ReadWrite Mail.ReadWrite Mail.ReadWrite.Shared Mail.Send Mail.Send.Shared MailboxSettings.Read"},{"displayName":"Use Shared Mailbox","name":"useShared","type":"boolean","default":false},{"displayName":"User Principal Name","name":"userPrincipalName","description":"Target user's UPN or ID","type":"string","default":"","displayOptions":{"show":{"useShared":[true]}}}],"supportedNodes":["microsoftOutlook","microsoftOutlookTrigger"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Microsoft/Outlook/outlook.svg"},
|
|
215
|
-
{"name":"microsoftSharePointOAuth2Api","extends":["microsoftOAuth2Api"],"displayName":"Microsoft SharePoint OAuth2 API","documentationUrl":"microsoft","properties":[{"displayName":"Scope","name":"scope","type":"hidden","default":"=openid offline_access https://{{$self.subdomain}}.sharepoint.com/.default"},{"displayName":"Subdomain","name":"subdomain","type":"string","default":"","hint":"You can extract the subdomain from the URL. For example, in the URL \"https://tenant123.sharepoint.com\", the subdomain is \"tenant123\"."}],"
|
|
215
|
+
{"name":"microsoftSharePointOAuth2Api","extends":["microsoftOAuth2Api"],"displayName":"Microsoft SharePoint OAuth2 API","documentationUrl":"microsoft","httpRequestNode":{"name":"Microsoft SharePoint","docsUrl":"https://learn.microsoft.com/en-us/sharepoint/dev/apis/sharepoint-rest-graph","apiBaseUrlPlaceholder":"https://{subdomain}.sharepoint.com/_api/v2.0/","hidden":true},"properties":[{"displayName":"Scope","name":"scope","type":"hidden","default":"=openid offline_access https://{{$self.subdomain}}.sharepoint.com/.default"},{"displayName":"Subdomain","name":"subdomain","type":"string","default":"","hint":"You can extract the subdomain from the URL. For example, in the URL \"https://tenant123.sharepoint.com\", the subdomain is \"tenant123\"."}],"iconUrl":{"light":"icons/n8n-nodes-base/dist/credentials/icons/microsoftSharePoint.svg","dark":"icons/n8n-nodes-base/dist/credentials/icons/microsoftSharePoint.svg"},"supportedNodes":["microsoftSharePoint"]},
|
|
216
216
|
{"name":"microsoftSql","displayName":"Microsoft SQL","documentationUrl":"microsoftSql","properties":[{"displayName":"Server","name":"server","type":"string","default":"localhost"},{"displayName":"Database","name":"database","type":"string","default":"master"},{"displayName":"User","name":"user","type":"string","default":"sa"},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Port","name":"port","type":"number","default":1433},{"displayName":"Domain","name":"domain","type":"string","default":""},{"displayName":"TLS","name":"tls","type":"boolean","default":true},{"displayName":"Ignore SSL Issues (Insecure)","name":"allowUnauthorizedCerts","type":"boolean","default":false,"description":"Whether to connect even if SSL certificate validation is not possible"},{"displayName":"Connect Timeout","name":"connectTimeout","type":"number","default":15000,"description":"Connection timeout in ms"},{"displayName":"Request Timeout","name":"requestTimeout","type":"number","default":15000,"description":"Request timeout in ms"},{"displayName":"TDS Version","name":"tdsVersion","type":"options","options":[{"name":"7_4 (SQL Server 2012 ~ 2019)","value":"7_4"},{"name":"7_3_B (SQL Server 2008R2)","value":"7_3_B"},{"name":"7_3_A (SQL Server 2008)","value":"7_3_A"},{"name":"7_2 (SQL Server 2005)","value":"7_2"},{"name":"7_1 (SQL Server 2000)","value":"7_1"}],"default":"7_4","description":"The version of TDS to use. If server doesn't support specified version, negotiated version is used instead."}],"supportedNodes":["microsoftSql"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Microsoft/Sql/mssql.svg"},
|
|
217
217
|
{"name":"microsoftTeamsOAuth2Api","extends":["microsoftOAuth2Api"],"displayName":"Microsoft Teams OAuth2 API","documentationUrl":"microsoft","properties":[{"displayName":"Scope","name":"scope","type":"hidden","default":"openid offline_access User.ReadWrite.All Group.ReadWrite.All Chat.ReadWrite"},{"displayName":"\n Microsoft Teams Trigger requires the following permissions:\n <br><code>ChannelMessage.Read.All</code>\n <br><code>Chat.Read.All</code>\n <br><code>Team.ReadBasic.All</code>\n <br><code>Subscription.ReadWrite.All</code>\n <br>Configure these permissions in <a href=\"https://portal.azure.com\">Microsoft Entra</a>\n ","name":"notice","type":"notice","default":""}],"supportedNodes":["microsoftTeams","microsoftTeamsTrigger"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Microsoft/Teams/teams.svg"},
|
|
218
218
|
{"name":"microsoftToDoOAuth2Api","extends":["microsoftOAuth2Api"],"displayName":"Microsoft To Do OAuth2 API","documentationUrl":"microsoft","properties":[{"displayName":"Scope","name":"scope","type":"hidden","default":"openid offline_access Tasks.ReadWrite"}],"supportedNodes":["microsoftToDo"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Microsoft/ToDo/todo.svg"},
|