n8n-nodes-base 1.54.0 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/build.tsbuildinfo +1 -1
  2. package/dist/credentials/OktaApi.credentials.js +2 -1
  3. package/dist/credentials/OktaApi.credentials.js.map +1 -1
  4. package/dist/credentials/TwitterOAuth1Api.credentials.js +2 -2
  5. package/dist/credentials/TwitterOAuth1Api.credentials.js.map +1 -1
  6. package/dist/credentials/TwitterOAuth2Api.credentials.js +2 -2
  7. package/dist/credentials/TwitterOAuth2Api.credentials.js.map +1 -1
  8. package/dist/credentials/WhatsAppApi.credentials.js +1 -1
  9. package/dist/credentials/WhatsAppApi.credentials.js.map +1 -1
  10. package/dist/credentials/WhatsAppTriggerApi.credentials.js +1 -1
  11. package/dist/credentials/WhatsAppTriggerApi.credentials.js.map +1 -1
  12. package/dist/known/credentials.json +4 -1
  13. package/dist/known/nodes.json +8 -0
  14. package/dist/nodes/AiTransform/AiTransform.node.d.ts +5 -0
  15. package/dist/nodes/AiTransform/AiTransform.node.js +129 -0
  16. package/dist/nodes/AiTransform/AiTransform.node.js.map +1 -0
  17. package/dist/nodes/AiTransform/AiTransform.node.json +18 -0
  18. package/dist/nodes/AiTransform/aitransform.svg +10 -0
  19. package/dist/nodes/Form/utils.js +3 -1
  20. package/dist/nodes/Form/utils.js.map +1 -1
  21. package/dist/nodes/MySql/v2/actions/common.descriptions.js +10 -0
  22. package/dist/nodes/MySql/v2/actions/common.descriptions.js.map +1 -1
  23. package/dist/nodes/MySql/v2/transport/index.js +4 -0
  24. package/dist/nodes/MySql/v2/transport/index.js.map +1 -1
  25. package/dist/nodes/Okta/Okta.dark.svg +3 -0
  26. package/dist/nodes/Okta/Okta.node.d.ts +10 -0
  27. package/dist/nodes/Okta/Okta.node.js +58 -0
  28. package/dist/nodes/Okta/Okta.node.js.map +1 -0
  29. package/dist/nodes/Okta/Okta.node.json +20 -0
  30. package/dist/nodes/Okta/Okta.svg +3 -0
  31. package/dist/nodes/Okta/UserDescription.d.ts +3 -0
  32. package/dist/nodes/Okta/UserDescription.js +783 -0
  33. package/dist/nodes/Okta/UserDescription.js.map +1 -0
  34. package/dist/nodes/Okta/UserFunctions.d.ts +22 -0
  35. package/dist/nodes/Okta/UserFunctions.js +117 -0
  36. package/dist/nodes/Okta/UserFunctions.js.map +1 -0
  37. package/dist/types/credentials.json +5 -5
  38. package/dist/types/nodes.json +5 -3
  39. package/package.json +10 -8
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserDescription.js","sourceRoot":"","sources":["../../../nodes/Okta/UserDescription.ts"],"names":[],"mappings":";;;AACA,mDAAkG;AAClG,MAAM,YAAY,GAAG,gBAAgB,CAAC;AACzB,QAAA,cAAc,GAAsB;IAChD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YAER;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,mBAAmB;gBAChC,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,YAAY;wBACjB,EAAE,EAAE,EAAE,QAAQ,EAAE,6BAA6B,EAAE;wBAC/C,kBAAkB,EAAE,IAAI;qBACxB;iBACD;gBACD,MAAM,EAAE,mBAAmB;aAC3B;YAED;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,yBAAyB;gBACtC,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,QAAQ;wBAChB,GAAG,EAAE,8CAA8C;wBACnD,kBAAkB,EAAE,IAAI;qBACxB;oBACD,MAAM,EAAE;wBACP,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ClB,SAAS,EAAE,CAAC,QAAQ,CAAC;gBACrB,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,GAAG;SACb;QACD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,OAAO;aACjB;YACD,MAAM,EAAE;gBACP,UAAU,EAAE,aAAa;aACzB;SACD;QACD,WAAW,EAAE,iCAAiC;KAC9C;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;KACxE;IAED;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC;aAC5B;SACD;QACD,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,gFAAgF;KAC7F;IAED;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;KACxE;CACD,CAAC"}
@@ -0,0 +1,22 @@
1
+ import type { DeclarativeRestApiSettings, IDataObject, IExecuteFunctions, IExecutePaginationFunctions, IExecuteSingleFunctions, IHookFunctions, IHttpRequestMethods, ILoadOptionsFunctions, IN8nHttpFullResponse, INodeExecutionData, INodeListSearchResult } from 'n8n-workflow';
2
+ type OktaUser = {
3
+ status: string;
4
+ created: string;
5
+ activated: string;
6
+ lastLogin: string;
7
+ lastUpdated: string;
8
+ passwordChanged: string;
9
+ profile: {
10
+ login: string;
11
+ email: string;
12
+ firstName: string;
13
+ lastName: string;
14
+ };
15
+ id: string;
16
+ };
17
+ export declare function oktaApiRequest(this: IExecuteFunctions | IExecuteSingleFunctions | IHookFunctions | ILoadOptionsFunctions, method: IHttpRequestMethods, resource: string, body?: IDataObject, qs?: IDataObject, url?: string, option?: IDataObject): Promise<OktaUser[]>;
18
+ export declare function getUsers(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
19
+ export declare function simplifyGetAllResponse(this: IExecuteSingleFunctions, items: INodeExecutionData[], _response: IN8nHttpFullResponse): Promise<INodeExecutionData[]>;
20
+ export declare function simplifyGetResponse(this: IExecuteSingleFunctions, items: INodeExecutionData[], _response: IN8nHttpFullResponse): Promise<INodeExecutionData[]>;
21
+ export declare const getCursorPaginator: () => (this: IExecutePaginationFunctions, requestOptions: DeclarativeRestApiSettings.ResultOptions) => Promise<INodeExecutionData[]>;
22
+ export {};
@@ -0,0 +1,117 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getCursorPaginator = void 0;
4
+ exports.oktaApiRequest = oktaApiRequest;
5
+ exports.getUsers = getUsers;
6
+ exports.simplifyGetAllResponse = simplifyGetAllResponse;
7
+ exports.simplifyGetResponse = simplifyGetResponse;
8
+ async function oktaApiRequest(method, resource, body = {}, qs = {}, url, option = {}) {
9
+ const credentials = await this.getCredentials('oktaApi');
10
+ const baseUrl = `${credentials.url}/api/v1/${resource}`;
11
+ const options = {
12
+ headers: {
13
+ 'Content-Type': 'application/json',
14
+ },
15
+ method,
16
+ body: Object.keys(body).length ? body : undefined,
17
+ qs: Object.keys(qs).length ? qs : undefined,
18
+ url: url !== null && url !== void 0 ? url : baseUrl,
19
+ json: true,
20
+ ...option,
21
+ };
22
+ return await this.helpers.httpRequestWithAuthentication.call(this, 'oktaApi', options);
23
+ }
24
+ async function getUsers(filter) {
25
+ const responseData = await oktaApiRequest.call(this, 'GET', '/users/');
26
+ const filteredUsers = responseData.filter((user) => {
27
+ if (!filter)
28
+ return true;
29
+ const username = `${user.profile.login}`.toLowerCase();
30
+ return username.includes(filter.toLowerCase());
31
+ });
32
+ const users = filteredUsers.map((user) => ({
33
+ name: `${user.profile.login}`,
34
+ value: user.id,
35
+ }));
36
+ return {
37
+ results: users,
38
+ };
39
+ }
40
+ function simplifyOktaUser(item) {
41
+ return {
42
+ id: item.id,
43
+ status: item.status,
44
+ created: item.created,
45
+ activated: item.activated,
46
+ lastLogin: item.lastLogin,
47
+ lastUpdated: item.lastUpdated,
48
+ passwordChanged: item.passwordChanged,
49
+ profile: {
50
+ firstName: item.profile.firstName,
51
+ lastName: item.profile.lastName,
52
+ login: item.profile.login,
53
+ email: item.profile.email,
54
+ },
55
+ };
56
+ }
57
+ async function simplifyGetAllResponse(items, _response) {
58
+ var _a;
59
+ if (items.length === 0)
60
+ return items;
61
+ const simplify = this.getNodeParameter('simplify');
62
+ if (!simplify)
63
+ return ((_a = items[0].json) !== null && _a !== void 0 ? _a : []).map((item) => ({
64
+ json: item,
65
+ headers: _response.headers,
66
+ }));
67
+ let simplifiedItems = [];
68
+ if (items[0].json) {
69
+ const jsonArray = items[0].json;
70
+ simplifiedItems = jsonArray.map((item) => {
71
+ const simplifiedItem = simplifyOktaUser(item);
72
+ return {
73
+ json: simplifiedItem,
74
+ headers: _response.headers,
75
+ };
76
+ });
77
+ }
78
+ return simplifiedItems;
79
+ }
80
+ async function simplifyGetResponse(items, _response) {
81
+ const simplify = this.getNodeParameter('simplify');
82
+ if (!simplify)
83
+ return items;
84
+ const item = items[0].json;
85
+ const simplifiedItem = simplifyOktaUser(item);
86
+ return [
87
+ {
88
+ json: simplifiedItem,
89
+ },
90
+ ];
91
+ }
92
+ const getCursorPaginator = () => {
93
+ return async function cursorPagination(requestOptions) {
94
+ var _a, _b;
95
+ if (!requestOptions.options.qs) {
96
+ requestOptions.options.qs = {};
97
+ }
98
+ let items = [];
99
+ let responseData;
100
+ let nextCursor = undefined;
101
+ const returnAll = this.getNodeParameter('returnAll', true);
102
+ do {
103
+ requestOptions.options.qs.limit = 200;
104
+ requestOptions.options.qs.after = nextCursor;
105
+ responseData = await this.makeRoutingRequest(requestOptions);
106
+ if (responseData.length > 0) {
107
+ const headers = responseData[responseData.length - 1].headers;
108
+ const headersLink = headers === null || headers === void 0 ? void 0 : headers.link;
109
+ nextCursor = (_b = (_a = headersLink === null || headersLink === void 0 ? void 0 : headersLink.split('after=')[1]) === null || _a === void 0 ? void 0 : _a.split('&')[0]) === null || _b === void 0 ? void 0 : _b.split('>')[0];
110
+ }
111
+ items = items.concat(responseData);
112
+ } while (returnAll && nextCursor);
113
+ return items;
114
+ };
115
+ };
116
+ exports.getCursorPaginator = getCursorPaginator;
117
+ //# sourceMappingURL=UserFunctions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserFunctions.js","sourceRoot":"","sources":["../../../nodes/Okta/UserFunctions.ts"],"names":[],"mappings":";;;AAgCA,wCA2BC;AAED,4BAiBC;AAoBD,wDAyBC;AAED,kDAeC;AA5GM,KAAK,UAAU,cAAc,CAEnC,MAA2B,EAC3B,QAAgB,EAChB,OAAoB,EAAE,EACtB,KAAkB,EAAE,EACpB,GAAY,EACZ,SAAsB,EAAE;IAExB,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,OAAO,GAAG,GAAG,WAAW,CAAC,GAAa,WAAW,QAAQ,EAAE,CAAC;IAClE,MAAM,OAAO,GAAwB;QACpC,OAAO,EAAE;YACR,cAAc,EAAE,kBAAkB;SAClC;QACD,MAAM;QACN,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,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M,WAAW,GAAI,OAAuB,aAAvB,OAAO,uBAAP,OAAO,CAAkB,IAA0B,CAAC;gBACzE,UAAU,GAAG,MAAA,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,0CAAE,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,0CAAE,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;YAC5E,CAAC;YACD,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QACpC,CAAC,QAAQ,SAAS,IAAI,UAAU,EAAE;QAElC,OAAO,KAAK,CAAC;IACd,CAAC,CAAC;AACH,CAAC,CAAC;AA3BW,QAAA,kBAAkB,sBA2B7B"}
@@ -223,7 +223,7 @@
223
223
  {"name":"oAuth1Api","displayName":"OAuth1 API","documentationUrl":"httpRequest","genericAuth":true,"properties":[{"displayName":"Authorization URL","name":"authUrl","type":"string","default":"","required":true},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"string","default":"","required":true},{"displayName":"Consumer Key","name":"consumerKey","type":"string","typeOptions":{"password":true},"default":"","required":true},{"displayName":"Consumer Secret","name":"consumerSecret","type":"string","typeOptions":{"password":true},"default":"","required":true},{"displayName":"Request Token URL","name":"requestTokenUrl","type":"string","default":"","required":true},{"displayName":"Signature Method","name":"signatureMethod","type":"options","options":[{"name":"HMAC-SHA1","value":"HMAC-SHA1"},{"name":"HMAC-SHA256","value":"HMAC-SHA256"},{"name":"HMAC-SHA512","value":"HMAC-SHA512"}],"default":"HMAC-SHA1","required":true}]},
224
224
  {"name":"oAuth2Api","displayName":"OAuth2 API","documentationUrl":"httpRequest","genericAuth":true,"properties":[{"displayName":"Grant Type","name":"grantType","type":"options","options":[{"name":"Authorization Code","value":"authorizationCode"},{"name":"Client Credentials","value":"clientCredentials"},{"name":"PKCE","value":"pkce"}],"default":"authorizationCode"},{"displayName":"Authorization URL","name":"authUrl","type":"string","displayOptions":{"show":{"grantType":["authorizationCode","pkce"]}},"default":"","required":true},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"string","default":"","required":true},{"displayName":"Client ID","name":"clientId","type":"string","default":"","required":true},{"displayName":"Client Secret","name":"clientSecret","type":"string","typeOptions":{"password":true},"default":"","required":true},{"displayName":"Scope","name":"scope","type":"string","default":""},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"string","displayOptions":{"show":{"grantType":["authorizationCode","pkce"]}},"default":"","description":"For some services additional query parameters have to be set which can be defined here","placeholder":"access_type=offline"},{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"Body","value":"body","description":"Send credentials in body"},{"name":"Header","value":"header","description":"Send credentials as Basic Auth header"}],"default":"header"},{"displayName":"Ignore SSL Issues","name":"ignoreSSLIssues","type":"boolean","default":false,"doNotInherit":true}]},
225
225
  {"name":"odooApi","displayName":"Odoo API","documentationUrl":"odoo","properties":[{"displayName":"Site URL","name":"url","type":"string","default":"","placeholder":"https://my-organization.odoo.com","required":true},{"displayName":"Username","name":"username","type":"string","default":"","placeholder":"user@email.com","required":true},{"displayName":"Password or API Key","name":"password","type":"string","default":"","typeOptions":{"password":true},"required":true},{"displayName":"Database Name","name":"db","type":"string","default":""}]},
226
- {"name":"oktaApi","displayName":"Okta API","documentationUrl":"okta","httpRequestNode":{"name":"Okta","docsUrl":"https://developer.okta.com/docs/reference/","apiBaseUrl":""},"properties":[{"displayName":"URL","name":"url","type":"string","required":true,"default":"","placeholder":"https://dev-123456.okta.com"},{"displayName":"SSWS Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"required":true,"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=SSWS {{$credentials.accessToken}}"}}},"test":{"request":{"baseURL":"={{$credentials.url}}","url":"/api/v1/api-tokens"}},"iconUrl":{"light":"icons/n8n-nodes-base/dist/credentials/icons/Okta.svg","dark":"icons/n8n-nodes-base/dist/credentials/icons/Okta.dark.svg"}},
226
+ {"name":"oktaApi","displayName":"Okta API","documentationUrl":"okta","httpRequestNode":{"name":"Okta","docsUrl":"https://developer.okta.com/docs/reference/","apiBaseUrl":"","hidden":true},"properties":[{"displayName":"URL","name":"url","type":"string","required":true,"default":"","placeholder":"https://dev-123456.okta.com"},{"displayName":"Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"required":true,"default":"","description":"Secure Session Web Service Access Token"}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=SSWS {{$credentials.accessToken}}"}}},"test":{"request":{"baseURL":"={{$credentials.url}}","url":"/api/v1/api-tokens"}},"iconUrl":{"light":"icons/n8n-nodes-base/dist/credentials/icons/Okta.svg","dark":"icons/n8n-nodes-base/dist/credentials/icons/Okta.dark.svg"}},
227
227
  {"name":"oneSimpleApi","displayName":"One Simple API","documentationUrl":"oneSimpleApi","properties":[{"displayName":"API Token","name":"apiToken","type":"string","typeOptions":{"password":true},"default":""}]},
228
228
  {"name":"onfleetApi","displayName":"Onfleet API","documentationUrl":"onfleet","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":""}]},
229
229
  {"name":"openAiApi","displayName":"OpenAi","documentationUrl":"openAi","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"required":true,"default":""},{"displayName":"Organization ID (optional)","name":"organizationId","type":"string","default":"","hint":"Only required if you belong to multiple organisations","description":"For users who belong to multiple organizations, you can set which organization is used for an API request. Usage from these API requests will count against the specified organization's subscription quota."}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.apiKey}}","OpenAI-Organization":"={{$credentials.organizationId}}"}}},"test":{"request":{"baseURL":"https://api.openai.com","url":"/v1/models"}}},
@@ -320,8 +320,8 @@
320
320
  {"name":"twakeServerApi","displayName":"Twake Server API","documentationUrl":"twake","httpRequestNode":{"name":"Twake Server","docsUrl":"https://doc.twake.app/developers-api/home","apiBaseUrl":""},"properties":[{"displayName":"Host URL","name":"hostUrl","type":"string","default":""},{"displayName":"Public ID","name":"publicId","type":"string","default":""},{"displayName":"Private API Key","name":"privateApiKey","type":"string","typeOptions":{"password":true},"default":""}],"iconUrl":"icons/n8n-nodes-base/dist/credentials/icons/Twake.png"},
321
321
  {"name":"twilioApi","displayName":"Twilio API","documentationUrl":"twilio","properties":[{"displayName":"Auth Type","name":"authType","type":"options","default":"authToken","options":[{"name":"Auth Token","value":"authToken"},{"name":"API Key","value":"apiKey"}]},{"displayName":"Account SID","name":"accountSid","type":"string","default":""},{"displayName":"Auth Token","name":"authToken","type":"string","typeOptions":{"password":true},"default":"","displayOptions":{"show":{"authType":["authToken"]}}},{"displayName":"API Key SID","name":"apiKeySid","type":"string","typeOptions":{"password":true},"default":"","displayOptions":{"show":{"authType":["apiKey"]}}},{"displayName":"API Key Secret","name":"apiKeySecret","type":"string","typeOptions":{"password":true},"default":"","displayOptions":{"show":{"authType":["apiKey"]}}}],"authenticate":{"type":"generic","properties":{"auth":{"username":"={{ $credentials.authType === \"apiKey\" ? $credentials.apiKeySid : $credentials.accountSid }}","password":"={{ $credentials.authType === \"apiKey\" ? $credentials.apiKeySecret : $credentials.authToken }}"}}}},
322
322
  {"name":"twistOAuth2Api","extends":["oAuth2Api"],"displayName":"Twist OAuth2 API","documentationUrl":"twist","properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://twist.com/oauth/authorize","required":true},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://twist.com/oauth/access_token","required":true},{"displayName":"Scope","name":"scope","type":"hidden","default":"attachments:write,channels:remove,comments:remove,messages:remove,threads:remove,workspaces:read"},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"body"}]},
323
- {"name":"twitterOAuth1Api","extends":["oAuth1Api"],"displayName":"X OAuth API","documentationUrl":"twitter","properties":[{"displayName":"Request Token URL","name":"requestTokenUrl","type":"hidden","default":"https://api.twitter.com/oauth/request_token"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://api.twitter.com/oauth/authorize"},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://api.twitter.com/oauth/access_token"},{"displayName":"Signature Method","name":"signatureMethod","type":"hidden","default":"HMAC-SHA1"},{"displayName":"Some operations requires a Basic or a Pro API for more informations see <a href=\"https://developer.twitter.com/en/products/twitter-api\" target=\"_blank\">X API Docs</a>","name":"apiPermissioms","type":"notice","default":""}]},
324
- {"name":"twitterOAuth2Api","extends":["oAuth2Api"],"displayName":"X OAuth2 API","documentationUrl":"twitter","properties":[{"displayName":"Some operations requires a Basic or a Pro API for more informations see <a href=\"https://developer.twitter.com/en/products/twitter-api\" target=\"_blank\">X API Docs</a>","name":"apiPermissioms","type":"notice","default":""},{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"pkce"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://twitter.com/i/oauth2/authorize"},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://api.twitter.com/2/oauth2/token"},{"displayName":"Scope","name":"scope","type":"hidden","default":"tweet.read users.read tweet.write tweet.moderate.write users.read follows.read follows.write offline.access like.read like.write dm.write dm.read list.read list.write"},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"header"}]},
323
+ {"name":"twitterOAuth1Api","extends":["oAuth1Api"],"displayName":"X OAuth API","documentationUrl":"twitter","properties":[{"displayName":"Request Token URL","name":"requestTokenUrl","type":"hidden","default":"https://api.twitter.com/oauth/request_token"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://api.twitter.com/oauth/authorize"},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://api.twitter.com/oauth/access_token"},{"displayName":"Signature Method","name":"signatureMethod","type":"hidden","default":"HMAC-SHA1"},{"displayName":"Some operations require a Basic or Pro API. Refer to <a href=\"https://developer.x.com/en/docs/twitter-api\" target=\"_blank\">X API Docs</a> for more information.","name":"apiPermissions","type":"notice","default":""}]},
324
+ {"name":"twitterOAuth2Api","extends":["oAuth2Api"],"displayName":"X OAuth2 API","documentationUrl":"twitter","properties":[{"displayName":"Some operations require a Basic or Pro API. Refer to <a href=\"https://developer.x.com/en/docs/twitter-api\" target=\"_blank\">X API Docs</a> for more information.","name":"apiPermissions","type":"notice","default":""},{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"pkce"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://twitter.com/i/oauth2/authorize"},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://api.twitter.com/2/oauth2/token"},{"displayName":"Scope","name":"scope","type":"hidden","default":"tweet.read users.read tweet.write tweet.moderate.write users.read follows.read follows.write offline.access like.read like.write dm.write dm.read list.read list.write"},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"header"}]},
325
325
  {"name":"typeformApi","displayName":"Typeform API","documentationUrl":"typeform","properties":[{"displayName":"Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=bearer {{$credentials.accessToken}}"}}},"test":{"request":{"baseURL":"https://api.typeform.com","url":"/forms"}}},
326
326
  {"name":"typeformOAuth2Api","extends":["oAuth2Api"],"displayName":"Typeform OAuth2 API","documentationUrl":"typeform","properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://api.typeform.com/oauth/authorize","required":true},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://api.typeform.com/oauth/token","required":true},{"displayName":"Scope","name":"scope","type":"hidden","default":"webhooks:write webhooks:read forms:read"},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"header"}]},
327
327
  {"name":"unleashedSoftwareApi","displayName":"Unleashed API","documentationUrl":"unleashedSoftware","properties":[{"displayName":"API ID","name":"apiId","type":"string","default":""},{"displayName":"API Key","name":"apiKey","type":"string","default":"","typeOptions":{"password":true}}]},
@@ -337,8 +337,8 @@
337
337
  {"name":"webflowApi","displayName":"Webflow API","documentationUrl":"webflow","properties":[{"displayName":"Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.accessToken}}"}}},"test":{"request":{"baseURL":"https://api.webflow.com","url":"/sites"}}},
338
338
  {"name":"webflowOAuth2Api","extends":["oAuth2Api"],"displayName":"Webflow OAuth2 API","documentationUrl":"webflow","properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Legacy","name":"legacy","type":"boolean","default":true,"description":"If the legacy API should be used"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://webflow.com/oauth/authorize","required":true},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://api.webflow.com/oauth/access_token","required":true},{"displayName":"Scope","name":"scope","type":"hidden","default":"={{$self[\"legacy\"] ? \"\" : \"cms:read cms:write sites:read\"}}"},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":"","description":"For some services additional query parameters have to be set which can be defined here","placeholder":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"body"}]},
339
339
  {"name":"wekanApi","displayName":"Wekan API","documentationUrl":"wekan","properties":[{"displayName":"Username","name":"username","type":"string","default":""},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"URL","name":"url","type":"string","default":"","placeholder":"https://wekan.yourdomain.com"},{"displayName":"Session Token","name":"token","type":"hidden","typeOptions":{"expirable":true},"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.token}}"}}},"test":{"request":{"baseURL":"={{$credentials.url.replace(new RegExp(\"/$\"), \"\")}}","url":"/api/user"}}},
340
- {"name":"whatsAppApi","displayName":"WhatsApp API","documentationUrl":"whatsApp","properties":[{"displayName":"Access Token","type":"string","typeOptions":{"password":true},"name":"accessToken","default":"","required":true},{"displayName":"Bussiness Account ID","type":"string","name":"businessAccountId","default":"","required":true}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.accessToken}}"}}},"test":{"request":{"baseURL":"https://graph.facebook.com/v13.0","url":"/","ignoreHttpStatusErrors":true},"rules":[{"type":"responseSuccessBody","properties":{"key":"error.type","value":"OAuthException","message":"Invalid access token"}}]}},
341
- {"name":"whatsAppTriggerApi","displayName":"WhatsApp API","documentationUrl":"whatsApp","properties":[{"displayName":"Client ID","name":"clientId","type":"string","default":"","required":true},{"displayName":"Client Secret","name":"clientSecret","type":"string","typeOptions":{"password":true},"default":"","required":true}],"test":{"request":{"method":"POST","baseURL":"https://graph.facebook.com/v19.0/oauth/access_token","body":{"client_id":"={{$credentials.clientId}}","client_secret":"={{$credentials.clientSecret}}","grant_type":"client_credentials"}}}},
340
+ {"name":"whatsAppApi","displayName":"WhatsApp API","documentationUrl":"whatsApp","properties":[{"displayName":"Access Token","type":"string","typeOptions":{"password":true},"name":"accessToken","default":"","required":true},{"displayName":"Business Account ID","type":"string","name":"businessAccountId","default":"","required":true}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.accessToken}}"}}},"test":{"request":{"baseURL":"https://graph.facebook.com/v13.0","url":"/","ignoreHttpStatusErrors":true},"rules":[{"type":"responseSuccessBody","properties":{"key":"error.type","value":"OAuthException","message":"Invalid access token"}}]}},
341
+ {"name":"whatsAppTriggerApi","displayName":"WhatsApp OAuth API","documentationUrl":"whatsApp","properties":[{"displayName":"Client ID","name":"clientId","type":"string","default":"","required":true},{"displayName":"Client Secret","name":"clientSecret","type":"string","typeOptions":{"password":true},"default":"","required":true}],"test":{"request":{"method":"POST","baseURL":"https://graph.facebook.com/v19.0/oauth/access_token","body":{"client_id":"={{$credentials.clientId}}","client_secret":"={{$credentials.clientSecret}}","grant_type":"client_credentials"}}}},
342
342
  {"name":"wiseApi","displayName":"Wise API","documentationUrl":"wise","properties":[{"displayName":"API Token","name":"apiToken","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Environment","name":"environment","type":"options","default":"live","options":[{"name":"Live","value":"live"},{"name":"Test","value":"test"}]},{"displayName":"Private Key (Optional)","name":"privateKey","type":"string","typeOptions":{"password":true},"default":"","description":"Optional private key used for Strong Customer Authentication (SCA). Only needed to retrieve statements, and execute transfers."}]},
343
343
  {"name":"wooCommerceApi","displayName":"WooCommerce API","documentationUrl":"wooCommerce","properties":[{"displayName":"Consumer Key","name":"consumerKey","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Consumer Secret","name":"consumerSecret","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"WooCommerce URL","name":"url","type":"string","default":"","placeholder":"https://example.com"},{"displayName":"Include Credentials in Query","name":"includeCredentialsInQuery","type":"boolean","default":false,"description":"Whether credentials should be included in the query. Occasionally, some servers may not parse the Authorization header correctly (if you see a “Consumer key is missing” error when authenticating over SSL, you have a server issue). In this case, you may provide the consumer key/secret as query string parameters instead."}],"test":{"request":{"baseURL":"={{$credentials.url}}/wp-json/wc/v3","url":"/products/categories"}},"authenticate":{}},
344
344
  {"name":"wordpressApi","displayName":"Wordpress API","documentationUrl":"wordpress","properties":[{"displayName":"Username","name":"username","type":"string","default":""},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Wordpress URL","name":"url","type":"string","default":"","placeholder":"https://example.com"},{"displayName":"Ignore SSL Issues","name":"allowUnauthorizedCerts","type":"boolean","description":"Whether to connect even if SSL certificate validation is not possible","default":false}],"authenticate":{"type":"generic","properties":{"auth":{"username":"={{$credentials.username}}","password":"={{$credentials.password}}"}}},"test":{"request":{"baseURL":"={{$credentials?.url}}/wp-json/wp/v2","url":"/users","method":"GET","skipSslCertificateValidation":"={{$credentials.allowUnauthorizedCerts}}"}}},