n8n-nodes-base 1.115.0 → 1.117.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 (184) hide show
  1. package/dist/credentials/Aws.credentials.d.ts +2 -26
  2. package/dist/credentials/Aws.credentials.d.ts.map +1 -1
  3. package/dist/credentials/Aws.credentials.js +11 -461
  4. package/dist/credentials/Aws.credentials.js.map +1 -1
  5. package/dist/credentials/AwsAssumeRole.credentials.d.ts +14 -0
  6. package/dist/credentials/AwsAssumeRole.credentials.d.ts.map +1 -0
  7. package/dist/credentials/AwsAssumeRole.credentials.js +134 -0
  8. package/dist/credentials/AwsAssumeRole.credentials.js.map +1 -0
  9. package/dist/credentials/BitbucketAccessTokenApi.credentials.d.ts +10 -0
  10. package/dist/credentials/BitbucketAccessTokenApi.credentials.d.ts.map +1 -0
  11. package/dist/credentials/BitbucketAccessTokenApi.credentials.js +39 -0
  12. package/dist/credentials/BitbucketAccessTokenApi.credentials.js.map +1 -0
  13. package/dist/credentials/ConvertKitApi.credentials.d.ts +3 -1
  14. package/dist/credentials/ConvertKitApi.credentials.d.ts.map +1 -1
  15. package/dist/credentials/ConvertKitApi.credentials.js +26 -0
  16. package/dist/credentials/ConvertKitApi.credentials.js.map +1 -1
  17. package/dist/credentials/FormIoApi.credentials.d.ts +6 -1
  18. package/dist/credentials/FormIoApi.credentials.d.ts.map +1 -1
  19. package/dist/credentials/FormIoApi.credentials.js +45 -0
  20. package/dist/credentials/FormIoApi.credentials.js.map +1 -1
  21. package/dist/credentials/OAuth2Api.credentials.d.ts.map +1 -1
  22. package/dist/credentials/OAuth2Api.credentials.js +52 -0
  23. package/dist/credentials/OAuth2Api.credentials.js.map +1 -1
  24. package/dist/credentials/common/aws/descriptions.d.ts +4 -0
  25. package/dist/credentials/common/aws/descriptions.d.ts.map +1 -0
  26. package/dist/credentials/common/aws/descriptions.js +114 -0
  27. package/dist/credentials/common/aws/descriptions.js.map +1 -0
  28. package/dist/credentials/common/aws/system-credentials-utils.d.ts +24 -0
  29. package/dist/credentials/common/aws/system-credentials-utils.d.ts.map +1 -0
  30. package/dist/credentials/common/aws/system-credentials-utils.js +213 -0
  31. package/dist/credentials/common/aws/system-credentials-utils.js.map +1 -0
  32. package/dist/credentials/common/aws/types.d.ts +44 -0
  33. package/dist/credentials/common/aws/types.d.ts.map +1 -0
  34. package/dist/credentials/common/aws/types.js +190 -0
  35. package/dist/credentials/common/aws/types.js.map +1 -0
  36. package/dist/credentials/common/aws/utils.d.ts +72 -0
  37. package/dist/credentials/common/aws/utils.d.ts.map +1 -0
  38. package/dist/credentials/common/aws/utils.js +332 -0
  39. package/dist/credentials/common/aws/utils.js.map +1 -0
  40. package/dist/credentials/common/http.d.ts +3 -0
  41. package/dist/credentials/common/http.d.ts.map +1 -0
  42. package/dist/credentials/common/http.js +9 -0
  43. package/dist/credentials/common/http.js.map +1 -0
  44. package/dist/known/credentials.json +25 -0
  45. package/dist/nodes/Airtop/actions/file/helpers.d.ts +1 -1
  46. package/dist/nodes/Airtop/actions/file/helpers.d.ts.map +1 -1
  47. package/dist/nodes/Airtop/actions/file/helpers.js +18 -17
  48. package/dist/nodes/Airtop/actions/file/helpers.js.map +1 -1
  49. package/dist/nodes/Airtop/actions/session/create.operation.d.ts.map +1 -1
  50. package/dist/nodes/Airtop/actions/session/create.operation.js +11 -0
  51. package/dist/nodes/Airtop/actions/session/create.operation.js.map +1 -1
  52. package/dist/nodes/Airtop/transport/index.d.ts +1 -1
  53. package/dist/nodes/Airtop/transport/index.d.ts.map +1 -1
  54. package/dist/nodes/Aws/AwsLambda.node.d.ts.map +1 -1
  55. package/dist/nodes/Aws/AwsLambda.node.js +3 -6
  56. package/dist/nodes/Aws/AwsLambda.node.js.map +1 -1
  57. package/dist/nodes/Aws/AwsSns.node.d.ts.map +1 -1
  58. package/dist/nodes/Aws/AwsSns.node.js +3 -6
  59. package/dist/nodes/Aws/AwsSns.node.js.map +1 -1
  60. package/dist/nodes/Aws/AwsSnsTrigger.node.d.ts.map +1 -1
  61. package/dist/nodes/Aws/AwsSnsTrigger.node.js +3 -6
  62. package/dist/nodes/Aws/AwsSnsTrigger.node.js.map +1 -1
  63. package/dist/nodes/Aws/CertificateManager/AwsCertificateManager.node.d.ts.map +1 -1
  64. package/dist/nodes/Aws/CertificateManager/AwsCertificateManager.node.js +3 -6
  65. package/dist/nodes/Aws/CertificateManager/AwsCertificateManager.node.js.map +1 -1
  66. package/dist/nodes/Aws/CertificateManager/GenericFunctions.d.ts.map +1 -1
  67. package/dist/nodes/Aws/CertificateManager/GenericFunctions.js +3 -2
  68. package/dist/nodes/Aws/CertificateManager/GenericFunctions.js.map +1 -1
  69. package/dist/nodes/Aws/Cognito/transport/index.d.ts.map +1 -1
  70. package/dist/nodes/Aws/Cognito/transport/index.js.map +1 -1
  71. package/dist/nodes/Aws/Comprehend/AwsComprehend.node.d.ts.map +1 -1
  72. package/dist/nodes/Aws/Comprehend/AwsComprehend.node.js +3 -6
  73. package/dist/nodes/Aws/Comprehend/AwsComprehend.node.js.map +1 -1
  74. package/dist/nodes/Aws/Comprehend/GenericFunctions.d.ts.map +1 -1
  75. package/dist/nodes/Aws/Comprehend/GenericFunctions.js +3 -2
  76. package/dist/nodes/Aws/Comprehend/GenericFunctions.js.map +1 -1
  77. package/dist/nodes/Aws/DynamoDB/AwsDynamoDB.node.d.ts.map +1 -1
  78. package/dist/nodes/Aws/DynamoDB/AwsDynamoDB.node.js +3 -6
  79. package/dist/nodes/Aws/DynamoDB/AwsDynamoDB.node.js.map +1 -1
  80. package/dist/nodes/Aws/DynamoDB/GenericFunctions.d.ts.map +1 -1
  81. package/dist/nodes/Aws/DynamoDB/GenericFunctions.js +3 -2
  82. package/dist/nodes/Aws/DynamoDB/GenericFunctions.js.map +1 -1
  83. package/dist/nodes/Aws/ELB/AwsElb.node.d.ts.map +1 -1
  84. package/dist/nodes/Aws/ELB/AwsElb.node.js +3 -6
  85. package/dist/nodes/Aws/ELB/AwsElb.node.js.map +1 -1
  86. package/dist/nodes/Aws/ELB/GenericFunctions.d.ts.map +1 -1
  87. package/dist/nodes/Aws/ELB/GenericFunctions.js +3 -2
  88. package/dist/nodes/Aws/ELB/GenericFunctions.js.map +1 -1
  89. package/dist/nodes/Aws/GenericFunctions.d.ts +5 -0
  90. package/dist/nodes/Aws/GenericFunctions.d.ts.map +1 -1
  91. package/dist/nodes/Aws/GenericFunctions.js +17 -2
  92. package/dist/nodes/Aws/GenericFunctions.js.map +1 -1
  93. package/dist/nodes/Aws/Rekognition/AwsRekognition.node.d.ts.map +1 -1
  94. package/dist/nodes/Aws/Rekognition/AwsRekognition.node.js +3 -6
  95. package/dist/nodes/Aws/Rekognition/AwsRekognition.node.js.map +1 -1
  96. package/dist/nodes/Aws/Rekognition/GenericFunctions.d.ts.map +1 -1
  97. package/dist/nodes/Aws/Rekognition/GenericFunctions.js +3 -2
  98. package/dist/nodes/Aws/Rekognition/GenericFunctions.js.map +1 -1
  99. package/dist/nodes/Aws/S3/V2/AwsS3V2.node.d.ts.map +1 -1
  100. package/dist/nodes/Aws/S3/V2/AwsS3V2.node.js +5 -7
  101. package/dist/nodes/Aws/S3/V2/AwsS3V2.node.js.map +1 -1
  102. package/dist/nodes/Aws/S3/V2/GenericFunctions.d.ts.map +1 -1
  103. package/dist/nodes/Aws/S3/V2/GenericFunctions.js +3 -1
  104. package/dist/nodes/Aws/S3/V2/GenericFunctions.js.map +1 -1
  105. package/dist/nodes/Aws/SES/AwsSes.node.d.ts.map +1 -1
  106. package/dist/nodes/Aws/SES/AwsSes.node.js +3 -6
  107. package/dist/nodes/Aws/SES/AwsSes.node.js.map +1 -1
  108. package/dist/nodes/Aws/SES/GenericFunctions.d.ts.map +1 -1
  109. package/dist/nodes/Aws/SES/GenericFunctions.js +3 -2
  110. package/dist/nodes/Aws/SES/GenericFunctions.js.map +1 -1
  111. package/dist/nodes/Aws/SQS/AwsSqs.node.d.ts.map +1 -1
  112. package/dist/nodes/Aws/SQS/AwsSqs.node.js +3 -6
  113. package/dist/nodes/Aws/SQS/AwsSqs.node.js.map +1 -1
  114. package/dist/nodes/Aws/Textract/AwsTextract.node.d.ts.map +1 -1
  115. package/dist/nodes/Aws/Textract/AwsTextract.node.js +3 -6
  116. package/dist/nodes/Aws/Textract/AwsTextract.node.js.map +1 -1
  117. package/dist/nodes/Aws/Textract/GenericFunctions.d.ts.map +1 -1
  118. package/dist/nodes/Aws/Textract/GenericFunctions.js +3 -2
  119. package/dist/nodes/Aws/Textract/GenericFunctions.js.map +1 -1
  120. package/dist/nodes/Aws/utils.d.ts +4 -0
  121. package/dist/nodes/Aws/utils.d.ts.map +1 -0
  122. package/dist/nodes/Aws/utils.js +40 -0
  123. package/dist/nodes/Aws/utils.js.map +1 -0
  124. package/dist/nodes/Bitbucket/BitbucketTrigger.node.d.ts.map +1 -1
  125. package/dist/nodes/Bitbucket/BitbucketTrigger.node.js +58 -1
  126. package/dist/nodes/Bitbucket/BitbucketTrigger.node.js.map +1 -1
  127. package/dist/nodes/Bitbucket/GenericFunctions.d.ts +1 -1
  128. package/dist/nodes/Bitbucket/GenericFunctions.d.ts.map +1 -1
  129. package/dist/nodes/Bitbucket/GenericFunctions.js +30 -17
  130. package/dist/nodes/Bitbucket/GenericFunctions.js.map +1 -1
  131. package/dist/nodes/Code/Code.node.d.ts.map +1 -1
  132. package/dist/nodes/Code/Code.node.js +12 -1
  133. package/dist/nodes/Code/Code.node.js.map +1 -1
  134. package/dist/nodes/Code/js.svg +4 -0
  135. package/dist/nodes/Code/python.svg +3 -0
  136. package/dist/nodes/ConvertKit/GenericFunctions.d.ts +2 -2
  137. package/dist/nodes/ConvertKit/GenericFunctions.d.ts.map +1 -1
  138. package/dist/nodes/ConvertKit/GenericFunctions.js +3 -11
  139. package/dist/nodes/ConvertKit/GenericFunctions.js.map +1 -1
  140. package/dist/nodes/DataTable/DataTable.node.d.ts.map +1 -1
  141. package/dist/nodes/DataTable/DataTable.node.js +0 -3
  142. package/dist/nodes/DataTable/DataTable.node.js.map +1 -1
  143. package/dist/nodes/EmailSend/v2/utils.d.ts +1 -1
  144. package/dist/nodes/EmailSend/v2/utils.d.ts.map +1 -1
  145. package/dist/nodes/Form/Form.node.d.ts.map +1 -1
  146. package/dist/nodes/Form/Form.node.js +3 -4
  147. package/dist/nodes/Form/Form.node.js.map +1 -1
  148. package/dist/nodes/Form/utils/formNodeUtils.d.ts +11 -0
  149. package/dist/nodes/Form/utils/formNodeUtils.d.ts.map +1 -1
  150. package/dist/nodes/Form/utils/formNodeUtils.js +29 -0
  151. package/dist/nodes/Form/utils/formNodeUtils.js.map +1 -1
  152. package/dist/nodes/FormIo/GenericFunctions.d.ts +1 -1
  153. package/dist/nodes/FormIo/GenericFunctions.d.ts.map +1 -1
  154. package/dist/nodes/FormIo/GenericFunctions.js +2 -32
  155. package/dist/nodes/FormIo/GenericFunctions.js.map +1 -1
  156. package/dist/nodes/Google/Calendar/EventDescription.d.ts.map +1 -1
  157. package/dist/nodes/Google/Calendar/EventDescription.js +1 -0
  158. package/dist/nodes/Google/Calendar/EventDescription.js.map +1 -1
  159. package/dist/nodes/Google/Gmail/GenericFunctions.d.ts.map +1 -1
  160. package/dist/nodes/Google/Gmail/GenericFunctions.js +0 -1
  161. package/dist/nodes/Google/Gmail/GenericFunctions.js.map +1 -1
  162. package/dist/nodes/Google/Gmail/v1/GmailV1.node.d.ts.map +1 -1
  163. package/dist/nodes/Google/Gmail/v1/GmailV1.node.js +1 -0
  164. package/dist/nodes/Google/Gmail/v1/GmailV1.node.js.map +1 -1
  165. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.d.ts.map +1 -1
  166. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +4 -0
  167. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
  168. package/dist/nodes/Merge/v3/actions/mode/combineBySql.d.ts.map +1 -1
  169. package/dist/nodes/Merge/v3/actions/mode/combineBySql.js +40 -4
  170. package/dist/nodes/Merge/v3/actions/mode/combineBySql.js.map +1 -1
  171. package/dist/nodes/MongoDb/GenericFunctions.d.ts +3 -3
  172. package/dist/nodes/MongoDb/GenericFunctions.d.ts.map +1 -1
  173. package/dist/nodes/MongoDb/GenericFunctions.js +5 -5
  174. package/dist/nodes/MongoDb/GenericFunctions.js.map +1 -1
  175. package/dist/nodes/MongoDb/MongoDb.node.d.ts.map +1 -1
  176. package/dist/nodes/MongoDb/MongoDb.node.js +3 -2
  177. package/dist/nodes/MongoDb/MongoDb.node.js.map +1 -1
  178. package/dist/nodes/Xero/Xero.node.d.ts.map +1 -1
  179. package/dist/nodes/Xero/Xero.node.js +3 -5
  180. package/dist/nodes/Xero/Xero.node.js.map +1 -1
  181. package/dist/typecheck.tsbuildinfo +1 -1
  182. package/dist/types/credentials.json +6 -4
  183. package/dist/types/nodes.json +19 -19
  184. package/package.json +10 -8
@@ -0,0 +1,134 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AwsAssumeRole = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const descriptions_1 = require("./common/aws/descriptions");
6
+ const utils_1 = require("./common/aws/utils");
7
+ class AwsAssumeRole {
8
+ name = 'awsAssumeRole';
9
+ displayName = 'AWS (Assume Role)';
10
+ documentationUrl = 'awsassumerole';
11
+ icon = { light: 'file:icons/AWS.svg', dark: 'file:icons/AWS.dark.svg' };
12
+ properties = [
13
+ descriptions_1.awsRegionProperty,
14
+ {
15
+ displayName: 'Use System Credentials',
16
+ name: 'useSystemCredentialsForRole',
17
+ description: 'Use system credentials (environment variables, container role, etc.) to call STS.AssumeRole. Access to AWS system credentials is disabled by default and must be explicitly enabled. See <a href="https://docs.n8n.io/integrations/credentials/awsassumerole/">documentation</a> for more information.',
18
+ type: 'boolean',
19
+ default: false,
20
+ displayOptions: {
21
+ hideOnCloud: true,
22
+ },
23
+ },
24
+ {
25
+ displayName: 'STS Access Key ID',
26
+ name: 'stsAccessKeyId',
27
+ description: 'Access Key ID to use for the STS.AssumeRole call',
28
+ // eslint-disable-next-line n8n-nodes-base/cred-class-field-type-options-password-missing
29
+ type: 'string',
30
+ displayOptions: {
31
+ show: {
32
+ useSystemCredentialsForRole: [false],
33
+ },
34
+ },
35
+ required: true,
36
+ default: '',
37
+ },
38
+ {
39
+ displayName: 'STS Access Key Secret',
40
+ name: 'stsSecretAccessKey',
41
+ description: 'Secret Access Key to use for the STS.AssumeRole call',
42
+ type: 'string',
43
+ displayOptions: {
44
+ show: {
45
+ useSystemCredentialsForRole: [false],
46
+ },
47
+ },
48
+ required: true,
49
+ default: '',
50
+ typeOptions: {
51
+ password: true,
52
+ },
53
+ },
54
+ {
55
+ displayName: 'STS Session Token (optional)',
56
+ name: 'stsSessionToken',
57
+ description: 'Session Token to use for the STS.AssumeRole call',
58
+ type: 'string',
59
+ displayOptions: {
60
+ show: {
61
+ useSystemCredentialsForRole: [false],
62
+ },
63
+ },
64
+ default: '',
65
+ typeOptions: {
66
+ password: true,
67
+ },
68
+ },
69
+ {
70
+ displayName: 'Role ARN',
71
+ name: 'roleArn',
72
+ description: 'The ARN of the role to assume (e.g., arn:aws:iam::123456789012:role/MyRole)',
73
+ type: 'string',
74
+ required: true,
75
+ default: '',
76
+ placeholder: 'arn:aws:iam::123456789012:role/MyRole',
77
+ },
78
+ {
79
+ displayName: 'External ID',
80
+ name: 'externalId',
81
+ description: "External ID for cross-account role assumption (should be required by your role's trust policy)",
82
+ type: 'string',
83
+ required: true,
84
+ default: '',
85
+ typeOptions: {
86
+ password: true,
87
+ },
88
+ },
89
+ {
90
+ displayName: 'Role Session Name',
91
+ name: 'roleSessionName',
92
+ description: 'Name for the role session',
93
+ type: 'string',
94
+ required: true,
95
+ default: 'n8n-session',
96
+ },
97
+ ...descriptions_1.awsCustomEndpoints,
98
+ ];
99
+ async authenticate(decryptedCredentials, requestOptions) {
100
+ const credentials = decryptedCredentials;
101
+ const service = requestOptions.qs?.service;
102
+ const path = requestOptions.qs?.path ?? '';
103
+ const method = requestOptions.method;
104
+ let region = credentials.region;
105
+ if (requestOptions.qs?._region) {
106
+ region = requestOptions.qs._region;
107
+ delete requestOptions.qs._region;
108
+ }
109
+ let finalCredentials = credentials;
110
+ let securityHeaders;
111
+ if (!credentials.roleArn || credentials.roleArn.trim() === '') {
112
+ throw new n8n_workflow_1.ApplicationError('Role ARN is required when assuming a role.');
113
+ }
114
+ if (!credentials.externalId || credentials.externalId.trim() === '') {
115
+ throw new n8n_workflow_1.ApplicationError('External ID is required when assuming a role.');
116
+ }
117
+ if (!credentials.roleSessionName || credentials.roleSessionName.trim() === '') {
118
+ throw new n8n_workflow_1.ApplicationError('Role Session Name is required when assuming a role.');
119
+ }
120
+ try {
121
+ securityHeaders = await (0, utils_1.assumeRole)(credentials, region);
122
+ finalCredentials = { ...credentials, ...securityHeaders };
123
+ }
124
+ catch (error) {
125
+ console.error('Failed to assume role:', error);
126
+ throw new n8n_workflow_1.ApplicationError(`Failed to assume role: ${error instanceof Error ? error.message : 'Unknown error'}`);
127
+ }
128
+ const { signOpts, url } = (0, utils_1.awsGetSignInOptionsAndUpdateRequest)(requestOptions, finalCredentials, path, method, service, region);
129
+ return (0, utils_1.signOptions)(requestOptions, signOpts, securityHeaders, url, method);
130
+ }
131
+ test = utils_1.awsCredentialsTest;
132
+ }
133
+ exports.AwsAssumeRole = AwsAssumeRole;
134
+ //# sourceMappingURL=AwsAssumeRole.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AwsAssumeRole.credentials.js","sourceRoot":"","sources":["../../credentials/AwsAssumeRole.credentials.ts"],"names":[],"mappings":";;;AAMA,+CAAgD;AAGhD,4DAAkF;AAClF,8CAK4B;AAE5B,MAAa,aAAa;IACzB,IAAI,GAAG,eAAe,CAAC;IAEvB,WAAW,GAAG,mBAAmB,CAAC;IAElC,gBAAgB,GAAG,eAAe,CAAC;IAEnC,IAAI,GAAG,EAAE,KAAK,EAAE,oBAAoB,EAAE,IAAI,EAAE,yBAAyB,EAAW,C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AAI,+BAAgB,CAAC,+CAA+C,CAAC,CAAC;QAC7E,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,eAAe,IAAI,WAAW,CAAC,eAAe,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC;YAC/E,MAAM,IAAI,+BAAgB,CAAC,qDAAqD,CAAC,CAAC;QACnF,CAAC;QACD,IAAI,CAAC;YACJ,eAAe,GAAG,MAAM,IAAA,kBAAU,EAAC,WAAW,EAAE,MAAM,CAAC,CAAC;YACxD,gBAAgB,GAAG,EAAE,GAAG,WAAW,EAAE,GAAG,eAAe,EAAE,CAAC;QAC3D,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,OAAO,CAAC,KAAK,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAAC;YAC/C,MAAM,IAAI,+BAAgB,CACzB,0BAA0B,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,EAAE,CACpF,CAAC;QACH,CAAC;QAED,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,IAAA,2CAAmC,EAC5D,cAAc,EACd,gBAAgB,EAChB,IAAI,EACJ,MAAM,EACN,OAAO,EACP,MAAM,CACN,CAAC;QAEF,OAAO,IAAA,mBAAW,EAAC,cAAc,EAAE,QAAQ,EAAE,eAAe,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC;IAC5E,CAAC;IAED,IAAI,GAAG,0BAAkB,CAAC;CAC1B;AA1JD,sCA0JC"}
@@ -0,0 +1,10 @@
1
+ import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, IHttpRequestOptions, INodeProperties } from 'n8n-workflow';
2
+ export declare class BitbucketAccessTokenApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ authenticate(credentials: ICredentialDataDecryptedObject, requestOptions: IHttpRequestOptions): Promise<IHttpRequestOptions>;
8
+ test: ICredentialTestRequest;
9
+ }
10
+ //# sourceMappingURL=BitbucketAccessTokenApi.credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BitbucketAccessTokenApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/BitbucketAccessTokenApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,8BAA8B,EAC9B,sBAAsB,EACtB,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,uBAAwB,YAAW,eAAe;IAC9D,IAAI,SAA6B;IAEjC,WAAW,SAAgC;IAE3C,gBAAgB,SAAuB;IAEvC,UAAU,EAAE,eAAe,EAAE,CAc3B;IAEI,YAAY,CACjB,WAAW,EAAE,8BAA8B,EAC3C,cAAc,EAAE,mBAAmB,GACjC,OAAO,CAAC,mBAAmB,CAAC;IAW/B,IAAI,EAAE,sBAAsB,CAK1B;CACF"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BitbucketAccessTokenApi = void 0;
4
+ class BitbucketAccessTokenApi {
5
+ name = 'bitbucketAccessTokenApi';
6
+ displayName = 'Bitbucket Access Token API';
7
+ documentationUrl = 'bitbuckettokenapi';
8
+ properties = [
9
+ {
10
+ displayName: 'Email',
11
+ name: 'email',
12
+ type: 'string',
13
+ default: '',
14
+ },
15
+ {
16
+ displayName: 'Access Token',
17
+ name: 'accessToken',
18
+ type: 'string',
19
+ typeOptions: { password: true },
20
+ default: '',
21
+ },
22
+ ];
23
+ async authenticate(credentials, requestOptions) {
24
+ const encodedApiKey = Buffer.from(`${credentials.email}:${credentials.accessToken}`).toString('base64');
25
+ if (!requestOptions.headers) {
26
+ requestOptions.headers = {};
27
+ }
28
+ requestOptions.headers.Authorization = `Basic ${encodedApiKey}`;
29
+ return requestOptions;
30
+ }
31
+ test = {
32
+ request: {
33
+ baseURL: 'https://api.bitbucket.org/2.0',
34
+ url: '/user',
35
+ },
36
+ };
37
+ }
38
+ exports.BitbucketAccessTokenApi = BitbucketAccessTokenApi;
39
+ //# sourceMappingURL=BitbucketAccessTokenApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BitbucketAccessTokenApi.credentials.js","sourceRoot":"","sources":["../../credentials/BitbucketAccessTokenApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,uBAAuB;IACnC,IAAI,GAAG,yBAAyB,CAAC;IAEjC,WAAW,GAAG,4BAA4B,CAAC;IAE3C,gBAAgB,GAAG,mBAAmB,CAAC;IAEvC,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,OAAO,EAAE,EAAE;SACX;KACD,CAAC;IAEF,KAAK,CAAC,YAAY,CACjB,WAA2C,EAC3C,cAAmC;QAEnC,MAAM,aAAa,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,KAAK,IAAI,WAAW,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,CAC5F,QAAQ,CACR,CAAC;QACF,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC;YAC7B,cAAc,CAAC,OAAO,GAAG,EAAE,CAAC;QAC7B,CAAC;QACD,cAAc,CAAC,OAAO,CAAC,aAAa,GAAG,SAAS,aAAa,EAAE,CAAC;QAChE,OAAO,cAAc,CAAC;IACvB,CAAC;IAED,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,+BAA+B;YACxC,GAAG,EAAE,OAAO;SACZ;KACD,CAAC;CACF;AA3CD,0DA2CC"}
@@ -1,8 +1,10 @@
1
- import type { ICredentialType, INodeProperties } from 'n8n-workflow';
1
+ import type { ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, IHttpRequestOptions, INodeProperties } from 'n8n-workflow';
2
2
  export declare class ConvertKitApi implements ICredentialType {
3
3
  name: string;
4
4
  displayName: string;
5
5
  documentationUrl: string;
6
6
  properties: INodeProperties[];
7
+ authenticate(credentials: ICredentialDataDecryptedObject, options: IHttpRequestOptions): Promise<IHttpRequestOptions>;
8
+ test: ICredentialTestRequest;
7
9
  }
8
10
  //# sourceMappingURL=ConvertKitApi.credentials.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConvertKitApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/ConvertKitApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAErE,qBAAa,aAAc,YAAW,eAAe;IACpD,IAAI,SAAmB;IAEvB,WAAW,SAAoB;IAE/B,gBAAgB,SAAgB;IAEhC,UAAU,EAAE,eAAe,EAAE,CAU3B;CACF"}
1
+ {"version":3,"file":"ConvertKitApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/ConvertKitApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,8BAA8B,EAC9B,sBAAsB,EACtB,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,MAAM,cAAc,CAAC;AAGtB,qBAAa,aAAc,YAAW,eAAe;IACpD,IAAI,SAAmB;IAEvB,WAAW,SAAoB;IAE/B,gBAAgB,SAAgB;IAEhC,UAAU,EAAE,eAAe,EAAE,CAU3B;IAEI,YAAY,CAAC,WAAW,EAAE,8BAA8B,EAAE,OAAO,EAAE,mBAAmB;IAoB5F,IAAI,EAAE,sBAAsB,CAI1B;CACF"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ConvertKitApi = void 0;
4
+ const http_1 = require("./common/http");
4
5
  class ConvertKitApi {
5
6
  name = 'convertKitApi';
6
7
  displayName = 'ConvertKit API';
@@ -16,6 +17,31 @@ class ConvertKitApi {
16
17
  },
17
18
  },
18
19
  ];
20
+ async authenticate(credentials, options) {
21
+ const url = (0, http_1.getUrl)(options);
22
+ const secret = {
23
+ api_secret: credentials.apiSecret,
24
+ };
25
+ // it's a webhook so include the api secret on the body
26
+ if (url?.includes('/automations/hooks')) {
27
+ options.body = options.body || {};
28
+ if (typeof options.body === 'object') {
29
+ Object.assign(options.body, secret);
30
+ }
31
+ }
32
+ else {
33
+ options.qs = options.qs || {};
34
+ if (typeof options.qs === 'object') {
35
+ Object.assign(options.qs, secret);
36
+ }
37
+ }
38
+ return options;
39
+ }
40
+ test = {
41
+ request: {
42
+ url: 'https://api.convertkit.com/v3/account',
43
+ },
44
+ };
19
45
  }
20
46
  exports.ConvertKitApi = ConvertKitApi;
21
47
  //# sourceMappingURL=ConvertKitApi.credentials.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConvertKitApi.credentials.js","sourceRoot":"","sources":["../../credentials/ConvertKitApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,aAAa;IACzB,IAAI,GAAG,eAAe,CAAC;IAEvB,WAAW,GAAG,gBAAgB,CAAC;IAE/B,gBAAgB,GAAG,YAAY,CAAC;IAEhC,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;SACD;KACD,CAAC;CACF;AAlBD,sCAkBC"}
1
+ {"version":3,"file":"ConvertKitApi.credentials.js","sourceRoot":"","sources":["../../credentials/ConvertKitApi.credentials.ts"],"names":[],"mappings":";;;AAOA,wCAAuC;AAEvC,MAAa,aAAa;IACzB,IAAI,GAAG,eAAe,CAAC;IAEvB,WAAW,GAAG,gBAAgB,CAAC;IAE/B,gBAAgB,GAAG,YAAY,CAAC;IAEhC,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;SACD;KACD,CAAC;IAEF,KAAK,CAAC,YAAY,CAAC,WAA2C,EAAE,OAA4B;QAC3F,MAAM,GAAG,GAAG,IAAA,aAAM,EAAC,OAAO,CAAC,CAAC;QAC5B,MAAM,MAAM,GAAG;YACd,UAAU,EAAE,WAAW,CAAC,SAAmB;SAC3C,CAAC;QACF,uDAAuD;QACvD,IAAI,GAAG,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EAAE,CAAC;YACzC,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC;YAClC,IAAI,OAAO,OAAO,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;gBACtC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACrC,CAAC;QACF,CAAC;aAAM,CAAC;YACP,OAAO,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,IAAI,EAAE,CAAC;YAC9B,IAAI,OAAO,OAAO,CAAC,EAAE,KAAK,QAAQ,EAAE,CAAC;gBACpC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;YACnC,CAAC;QACF,CAAC;QACD,OAAO,OAAO,CAAC;IAChB,CAAC;IAED,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,GAAG,EAAE,uCAAuC;SAC5C;KACD,CAAC;CACF;AA5CD,sCA4CC"}
@@ -1,8 +1,13 @@
1
- import type { ICredentialType, INodeProperties } from 'n8n-workflow';
1
+ import type { IAuthenticate, ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, IHttpRequestHelper, INodeProperties } from 'n8n-workflow';
2
2
  export declare class FormIoApi implements ICredentialType {
3
3
  name: string;
4
4
  displayName: string;
5
5
  documentationUrl: string;
6
6
  properties: INodeProperties[];
7
+ preAuthentication(this: IHttpRequestHelper, credentials: ICredentialDataDecryptedObject): Promise<{
8
+ token: any;
9
+ }>;
10
+ authenticate: IAuthenticate;
11
+ test: ICredentialTestRequest;
7
12
  }
8
13
  //# sourceMappingURL=FormIoApi.credentials.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormIoApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/FormIoApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAErE,qBAAa,SAAU,YAAW,eAAe;IAChD,IAAI,SAAe;IAEnB,WAAW,SAAiB;IAE5B,gBAAgB,SAAmB;IAEnC,UAAU,EAAE,eAAe,EAAE,CA6C3B;CACF"}
1
+ {"version":3,"file":"FormIoApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/FormIoApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,aAAa,EACb,8BAA8B,EAC9B,sBAAsB,EACtB,eAAe,EACf,kBAAkB,EAElB,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,SAAU,YAAW,eAAe;IAChD,IAAI,SAAe;IAEnB,WAAW,SAAiB;IAE5B,gBAAgB,SAAmB;IAEnC,UAAU,EAAE,eAAe,EAAE,CAuD3B;IAEI,iBAAiB,CAAC,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,8BAA8B;;;IAwB7F,YAAY,EAAE,aAAa,CAOzB;IAEF,IAAI,EAAE,sBAAsB,CAK1B;CACF"}
@@ -50,7 +50,52 @@ class FormIoApi {
50
50
  },
51
51
  default: '',
52
52
  },
53
+ {
54
+ displayName: 'Token',
55
+ name: 'token',
56
+ type: 'hidden',
57
+ typeOptions: {
58
+ expirable: true,
59
+ password: true,
60
+ },
61
+ default: '',
62
+ },
53
63
  ];
64
+ async preAuthentication(credentials) {
65
+ const base = credentials.domain || 'https://formio.form.io';
66
+ const options = {
67
+ headers: {
68
+ 'Content-Type': 'application/json',
69
+ },
70
+ method: 'POST',
71
+ body: {
72
+ data: {
73
+ email: credentials.email,
74
+ password: credentials.password,
75
+ },
76
+ },
77
+ url: `${base}/user/login`,
78
+ json: true,
79
+ returnFullResponse: true,
80
+ };
81
+ const responseObject = await this.helpers.httpRequest(options);
82
+ const token = responseObject.headers['x-jwt-token'];
83
+ return { token };
84
+ }
85
+ authenticate = {
86
+ type: 'generic',
87
+ properties: {
88
+ headers: {
89
+ 'x-jwt-token': '={{ $credentials.token }}',
90
+ },
91
+ },
92
+ };
93
+ test = {
94
+ request: {
95
+ baseURL: '={{$credentials.domain || "https://formio.form.io"}}',
96
+ url: 'current',
97
+ },
98
+ };
54
99
  }
55
100
  exports.FormIoApi = FormIoApi;
56
101
  //# sourceMappingURL=FormIoApi.credentials.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormIoApi.credentials.js","sourceRoot":"","sources":["../../credentials/FormIoApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IACrB,IAAI,GAAG,WAAW,CAAC;IAEnB,WAAW,GAAG,aAAa,CAAC;IAE5B,gBAAgB,GAAG,eAAe,CAAC;IAEnC,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,aAAa;YACtB,OAAO,EAAE;gBACR;oBACC,IAAI,EAAE,cAAc;oBACpB,KAAK,EAAE,aAAa;iBACpB;gBACD;oBACC,IAAI,EAAE,aAAa;oBACnB,KAAK,EAAE,YAAY;iBACnB;aACD;SACD;QACD;YACC,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,0BAA0B;YACvC,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,WAAW,EAAE,CAAC,YAAY,CAAC;iBAC3B;aACD;SACD;QACD;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,gBAAgB;YAC7B,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;YACD,OAAO,EAAE,EAAE;SACX;KACD,CAAC;CACF;AArDD,8BAqDC"}
1
+ {"version":3,"file":"FormIoApi.credentials.js","sourceRoot":"","sources":["../../credentials/FormIoApi.credentials.ts"],"names":[],"mappings":";;;AAUA,MAAa,SAAS;IACrB,IAAI,GAAG,WAAW,CAAC;IAEnB,WAAW,GAAG,aAAa,CAAC;IAE5B,gBAAgB,GAAG,eAAe,CAAC;IAEnC,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,aAAa;YACtB,OAAO,EAAE;gBACR;oBACC,IAAI,EAAE,cAAc;oBACpB,KAAK,EAAE,aAAa;iBACpB;gBACD;oBACC,IAAI,EAAE,aAAa;oBACnB,KAAK,EAAE,YAAY;iBACnB;aACD;SACD;QACD;YACC,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,0BAA0B;YACvC,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,WAAW,EAAE,CAAC,YAAY,CAAC;iBAC3B;aACD;SACD;QACD;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,gBAAgB;YAC7B,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YACh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ials/OAuth2Api.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAErE,qBAAa,SAAU,YAAW,eAAe;IAChD,IAAI,SAAe;IAEnB,WAAW,SAAgB;IAE3B,gBAAgB,SAAiB;IAEjC,WAAW,UAAQ;IAEnB,UAAU,EAAE,eAAe,EAAE,CAqI3B;CACF"}
1
+ {"version":3,"file":"OAuth2Api.credentials.d.ts","sourceRoot":"","sources":["../../credentials/OAuth2Api.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAErE,qBAAa,SAAU,YAAW,eAAe;IAChD,IAAI,SAAe;IAEnB,WAAW,SAAgB;IAE3B,gBAAgB,SAAiB;IAEjC,WAAW,UAAQ;IAEnB,UAAU,EAAE,eAAe,EAAE,CAyL3B;CACF"}
@@ -7,10 +7,21 @@ class OAuth2Api {
7
7
  documentationUrl = 'httprequest';
8
8
  genericAuth = true;
9
9
  properties = [
10
+ {
11
+ displayName: 'Use Dynamic Client Registration',
12
+ name: 'useDynamicClientRegistration',
13
+ type: 'hidden',
14
+ default: false,
15
+ },
10
16
  {
11
17
  displayName: 'Grant Type',
12
18
  name: 'grantType',
13
19
  type: 'options',
20
+ displayOptions: {
21
+ show: {
22
+ useDynamicClientRegistration: [false],
23
+ },
24
+ },
14
25
  options: [
15
26
  {
16
27
  name: 'Authorization Code',
@@ -27,6 +38,18 @@ class OAuth2Api {
27
38
  ],
28
39
  default: 'authorizationCode',
29
40
  },
41
+ {
42
+ displayName: 'Server URL',
43
+ name: 'serverUrl',
44
+ type: 'string',
45
+ displayOptions: {
46
+ show: {
47
+ useDynamicClientRegistration: [true],
48
+ },
49
+ },
50
+ default: '',
51
+ required: true,
52
+ },
30
53
  {
31
54
  displayName: 'Authorization URL',
32
55
  name: 'authUrl',
@@ -34,6 +57,7 @@ class OAuth2Api {
34
57
  displayOptions: {
35
58
  show: {
36
59
  grantType: ['authorizationCode', 'pkce'],
60
+ useDynamicClientRegistration: [false],
37
61
  },
38
62
  },
39
63
  default: '',
@@ -43,6 +67,11 @@ class OAuth2Api {
43
67
  displayName: 'Access Token URL',
44
68
  name: 'accessTokenUrl',
45
69
  type: 'string',
70
+ displayOptions: {
71
+ show: {
72
+ useDynamicClientRegistration: [false],
73
+ },
74
+ },
46
75
  default: '',
47
76
  required: true,
48
77
  },
@@ -50,6 +79,11 @@ class OAuth2Api {
50
79
  displayName: 'Client ID',
51
80
  name: 'clientId',
52
81
  type: 'string',
82
+ displayOptions: {
83
+ show: {
84
+ useDynamicClientRegistration: [false],
85
+ },
86
+ },
53
87
  default: '',
54
88
  required: true,
55
89
  },
@@ -57,6 +91,11 @@ class OAuth2Api {
57
91
  displayName: 'Client Secret',
58
92
  name: 'clientSecret',
59
93
  type: 'string',
94
+ displayOptions: {
95
+ show: {
96
+ useDynamicClientRegistration: [false],
97
+ },
98
+ },
60
99
  typeOptions: {
61
100
  password: true,
62
101
  },
@@ -70,6 +109,11 @@ class OAuth2Api {
70
109
  displayName: 'Scope',
71
110
  name: 'scope',
72
111
  type: 'string',
112
+ displayOptions: {
113
+ show: {
114
+ useDynamicClientRegistration: [false],
115
+ },
116
+ },
73
117
  default: '',
74
118
  },
75
119
  {
@@ -79,6 +123,7 @@ class OAuth2Api {
79
123
  displayOptions: {
80
124
  show: {
81
125
  grantType: ['authorizationCode', 'pkce'],
126
+ useDynamicClientRegistration: [false],
82
127
  },
83
128
  },
84
129
  default: '',
@@ -89,6 +134,11 @@ class OAuth2Api {
89
134
  displayName: 'Authentication',
90
135
  name: 'authentication',
91
136
  type: 'options',
137
+ displayOptions: {
138
+ show: {
139
+ useDynamicClientRegistration: [false],
140
+ },
141
+ },
92
142
  options: [
93
143
  {
94
144
  name: 'Body',
@@ -112,6 +162,7 @@ class OAuth2Api {
112
162
  show: {
113
163
  grantType: ['clientCredentials'],
114
164
  authentication: ['body'],
165
+ useDynamicClientRegistration: [false],
115
166
  },
116
167
  },
117
168
  },
@@ -127,6 +178,7 @@ class OAuth2Api {
127
178
  grantType: ['clientCredentials'],
128
179
  authentication: ['body'],
129
180
  sendAdditionalBodyProperties: [true],
181
+ useDynamicClientRegistration: [false],
130
182
  },
131
183
  },
132
184
  default: '',
@@ -1 +1 @@
1
- {"version":3,"file":"OAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/OAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IACrB,IAAI,GAAG,WAAW,CAAC;IAEnB,WAAW,GAAG,YAAY,CAAC;IAE3B,gBAAgB,GAAG,aAAa,CAAC;IAEjC,WAAW,GAAG,IAAI,CAAC;IAEnB,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE;gBACR;oBACC,IAAI,EAAE,oBAAoB;oBAC1B,KAAK,EAAE,mBAAmB;iBAC1B;gBACD;oBACC,IAAI,EAAE,oBAAoB;oBAC1B,KAAK,EAAE,mBAAmB;iBAC1B;gBACD;oBACC,IAAI,EAAE,MAAM;oBACZ,KAAK,EAAE,MAAM;iBACb;aACD;YACD,OAAO,EAAE,mBAAmB;SAC5B;QACD;YACC,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,QAAQ;YACd,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,SAAS,EAAE,CAAC,mBAAmB,EAAE,MAAM,CAAC;iBACxC;aACD;YACD,OAAO,EAAE,EAAE;YACX,QAAQ,EAAE,IAAI;SACd;QACD;YACC,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,QAAQ,EAAE,IAAI;SACd;QACD;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,UAAU;YAChB,IAAI,EA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AI,EAAE,0BAA0B;YAChC,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE;gBACZ,IAAI,EAAE,CAAC;aACP;YACD,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,SAAS,EAAE,CAAC,mBAAmB,CAAC;oBAChC,cAAc,EAAE,CAAC,MAAM,CAAC;oBACxB,4BAA4B,EAAE,CAAC,IAAI,CAAC;iBACpC;aACD;YACD,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,iBAAiB;YACvB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,YAAY,EAAE,IAAI;SAClB;KACD,CAAC;CACF;AA/ID,8BA+IC"}
1
+ {"version":3,"file":"OAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/OAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IACrB,IAAI,GAAG,WAAW,CAAC;IAEnB,WAAW,GAAG,YAAY,CAAC;IAE3B,gBAAgB,GAAG,aAAa,CAAC;IAEjC,WAAW,GAAG,IAAI,CAAC;IAEnB,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,8BAA8B;YACpC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,KAAK;SACd;QACD;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,SAAS;YACf,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,4BAA4B,EAAE,CAAC,KAAK,CAAC;iBACrC;aACD;YACD,OAAO,EAAE;gBACR;oBACC,IAAI,EAAE,oBAAoB;oBAC1B,KAAK,EAAE,mBAAmB;iBAC1B;gBACD;oBACC,IAAI,EAAE,oBAAoB;oBAC1B,KAAK,EAAE,mBAAmB;iBAC1B;gBACD;oBACC,IAAI,EAAE,MAAM;oBACZ,KAAK,EAAE,MAAM;iBACb;aACD;YACD,OAAO,EAAE,mBAAmB;SAC5B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YACZ,WAAW,EAAE;gBACZ,IAAI,EAAE,CAAC;aACP;YACD,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,SAAS,EAAE,CAAC,mBAAmB,CAAC;oBAChC,cAAc,EAAE,CAAC,MAAM,CAAC;oBACxB,4BAA4B,EAAE,CAAC,IAAI,CAAC;oBACpC,4BAA4B,EAAE,CAAC,KAAK,CAAC;iBACrC;aACD;YACD,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,iBAAiB;YACvB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,YAAY,EAAE,IAAI;SAClB;KACD,CAAC;CACF;AAnMD,8BAmMC"}
@@ -0,0 +1,4 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const awsRegionProperty: INodeProperties;
3
+ export declare const awsCustomEndpoints: INodeProperties[];
4
+ //# sourceMappingURL=descriptions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"descriptions.d.ts","sourceRoot":"","sources":["../../../../credentials/common/aws/descriptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGpD,eAAO,MAAM,iBAAiB,EAAE,eAS/B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,eAAe,EAwG/C,CAAC"}
@@ -0,0 +1,114 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.awsCustomEndpoints = exports.awsRegionProperty = void 0;
4
+ const types_1 = require("./types");
5
+ exports.awsRegionProperty = {
6
+ displayName: 'Region',
7
+ name: 'region',
8
+ type: 'options',
9
+ options: types_1.regions.map((r) => ({
10
+ name: `${r.displayName} (${r.location}) - ${r.name}`,
11
+ value: r.name,
12
+ })),
13
+ default: 'us-east-1',
14
+ };
15
+ exports.awsCustomEndpoints = [
16
+ {
17
+ displayName: 'Custom Endpoints',
18
+ name: 'customEndpoints',
19
+ type: 'boolean',
20
+ default: false,
21
+ },
22
+ {
23
+ displayName: 'Rekognition Endpoint',
24
+ name: 'rekognitionEndpoint',
25
+ description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and Rekognition using a VPC endpoint. Leave blank to use the default endpoint.',
26
+ type: 'string',
27
+ displayOptions: {
28
+ show: {
29
+ customEndpoints: [true],
30
+ },
31
+ },
32
+ default: '',
33
+ placeholder: 'https://rekognition.{region}.amazonaws.com',
34
+ },
35
+ {
36
+ displayName: 'Lambda Endpoint',
37
+ name: 'lambdaEndpoint',
38
+ description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and Lambda using a VPC endpoint. Leave blank to use the default endpoint.',
39
+ type: 'string',
40
+ displayOptions: {
41
+ show: {
42
+ customEndpoints: [true],
43
+ },
44
+ },
45
+ default: '',
46
+ placeholder: 'https://lambda.{region}.amazonaws.com',
47
+ },
48
+ {
49
+ displayName: 'SNS Endpoint',
50
+ name: 'snsEndpoint',
51
+ description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and SNS using a VPC endpoint. Leave blank to use the default endpoint.',
52
+ type: 'string',
53
+ displayOptions: {
54
+ show: {
55
+ customEndpoints: [true],
56
+ },
57
+ },
58
+ default: '',
59
+ placeholder: 'https://sns.{region}.amazonaws.com',
60
+ },
61
+ {
62
+ displayName: 'SES Endpoint',
63
+ name: 'sesEndpoint',
64
+ description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and SES using a VPC endpoint. Leave blank to use the default endpoint.',
65
+ type: 'string',
66
+ displayOptions: {
67
+ show: {
68
+ customEndpoints: [true],
69
+ },
70
+ },
71
+ default: '',
72
+ placeholder: 'https://email.{region}.amazonaws.com',
73
+ },
74
+ {
75
+ displayName: 'SQS Endpoint',
76
+ name: 'sqsEndpoint',
77
+ description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and SQS using a VPC endpoint. Leave blank to use the default endpoint.',
78
+ type: 'string',
79
+ displayOptions: {
80
+ show: {
81
+ customEndpoints: [true],
82
+ },
83
+ },
84
+ default: '',
85
+ placeholder: 'https://sqs.{region}.amazonaws.com',
86
+ },
87
+ {
88
+ displayName: 'S3 Endpoint',
89
+ name: 's3Endpoint',
90
+ description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and S3 using a VPC endpoint. Leave blank to use the default endpoint.',
91
+ type: 'string',
92
+ displayOptions: {
93
+ show: {
94
+ customEndpoints: [true],
95
+ },
96
+ },
97
+ default: '',
98
+ placeholder: 'https://s3.{region}.amazonaws.com',
99
+ },
100
+ {
101
+ displayName: 'SSM Endpoint',
102
+ name: 'ssmEndpoint',
103
+ description: 'Endpoint for AWS Systems Manager (SSM)',
104
+ type: 'string',
105
+ displayOptions: {
106
+ show: {
107
+ customEndpoints: [true],
108
+ },
109
+ },
110
+ default: '',
111
+ placeholder: 'https://ssm.{region}.amazonaws.com',
112
+ },
113
+ ];
114
+ //# sourceMappingURL=descriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"descriptions.js","sourceRoot":"","sources":["../../../../credentials/common/aws/descriptions.ts"],"names":[],"mappings":";;;AACA,mCAAkC;AAErB,QAAA,iBAAiB,GAAoB;IACjD,WAAW,EAAE,QAAQ;IACrB,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,eAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAC5B,IAAI,EAAE,GAAG,CAAC,CAAC,WAAW,KAAK,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,IAAI,EAAE;QACpD,KAAK,EAAE,CAAC,CAAC,IAAI;KACb,CAAC,CAAC;IACH,OAAO,EAAE,WAAW;CACpB,CAAC;AAEW,QAAA,kBAAkB,GAAsB;IACpD;QACC,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;KACd;IACD;QACC,WAAW,EAAE,sBAAsB;QACn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