n8n-nodes-base 1.91.1 → 1.92.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 (150) hide show
  1. package/dist/credentials/Aws.credentials.js +0 -2
  2. package/dist/credentials/Aws.credentials.js.map +1 -1
  3. package/dist/credentials/JinaAiApi.credentials.js +61 -0
  4. package/dist/credentials/JinaAiApi.credentials.js.map +1 -0
  5. package/dist/credentials/MicrosoftAzureCosmosDbSharedKeyApi.credentials.js +1 -1
  6. package/dist/credentials/MicrosoftAzureCosmosDbSharedKeyApi.credentials.js.map +1 -1
  7. package/dist/known/credentials.json +8 -0
  8. package/dist/known/nodes.json +8 -0
  9. package/dist/nodes/Affinity/__schema__/v1.0.0/listEntry/getAll.json +1 -4
  10. package/dist/nodes/Airtop/__schema__/v1.0.0/extraction/query.json +47 -0
  11. package/dist/nodes/Aws/Cognito/AwsCognito.node.js +102 -0
  12. package/dist/nodes/Aws/Cognito/AwsCognito.node.js.map +1 -0
  13. package/dist/nodes/Aws/Cognito/AwsCognito.node.json +18 -0
  14. package/dist/nodes/Aws/Cognito/cognito.svg +1 -0
  15. package/dist/nodes/Aws/Cognito/descriptions/common.description.js +160 -0
  16. package/dist/nodes/Aws/Cognito/descriptions/common.description.js.map +1 -0
  17. package/dist/nodes/Aws/Cognito/descriptions/group/Group.resource.js +189 -0
  18. package/dist/nodes/Aws/Cognito/descriptions/group/Group.resource.js.map +1 -0
  19. package/dist/nodes/Aws/Cognito/descriptions/group/create.operation.js +126 -0
  20. package/dist/nodes/Aws/Cognito/descriptions/group/create.operation.js.map +1 -0
  21. package/dist/nodes/Aws/Cognito/descriptions/group/delete.operation.js +47 -0
  22. package/dist/nodes/Aws/Cognito/descriptions/group/delete.operation.js.map +1 -0
  23. package/dist/nodes/Aws/Cognito/descriptions/group/get.operation.js +54 -0
  24. package/dist/nodes/Aws/Cognito/descriptions/group/get.operation.js.map +1 -0
  25. package/dist/nodes/Aws/Cognito/descriptions/group/getAll.operation.js +95 -0
  26. package/dist/nodes/Aws/Cognito/descriptions/group/getAll.operation.js.map +1 -0
  27. package/dist/nodes/Aws/Cognito/descriptions/group/update.operation.js +120 -0
  28. package/dist/nodes/Aws/Cognito/descriptions/group/update.operation.js.map +1 -0
  29. package/dist/nodes/Aws/Cognito/descriptions/index.js +45 -0
  30. package/dist/nodes/Aws/Cognito/descriptions/index.js.map +1 -0
  31. package/dist/nodes/Aws/Cognito/descriptions/user/User.resource.js +263 -0
  32. package/dist/nodes/Aws/Cognito/descriptions/user/User.resource.js.map +1 -0
  33. package/dist/nodes/Aws/Cognito/descriptions/user/addToGroup.operation.js +51 -0
  34. package/dist/nodes/Aws/Cognito/descriptions/user/addToGroup.operation.js.map +1 -0
  35. package/dist/nodes/Aws/Cognito/descriptions/user/create.operation.js +299 -0
  36. package/dist/nodes/Aws/Cognito/descriptions/user/create.operation.js.map +1 -0
  37. package/dist/nodes/Aws/Cognito/descriptions/user/delete.operation.js +47 -0
  38. package/dist/nodes/Aws/Cognito/descriptions/user/delete.operation.js.map +1 -0
  39. package/dist/nodes/Aws/Cognito/descriptions/user/get.operation.js +54 -0
  40. package/dist/nodes/Aws/Cognito/descriptions/user/get.operation.js.map +1 -0
  41. package/dist/nodes/Aws/Cognito/descriptions/user/getAll.operation.js +187 -0
  42. package/dist/nodes/Aws/Cognito/descriptions/user/getAll.operation.js.map +1 -0
  43. package/dist/nodes/Aws/Cognito/descriptions/user/removeFromGroup.operation.js +60 -0
  44. package/dist/nodes/Aws/Cognito/descriptions/user/removeFromGroup.operation.js.map +1 -0
  45. package/dist/nodes/Aws/Cognito/descriptions/user/update.operation.js +189 -0
  46. package/dist/nodes/Aws/Cognito/descriptions/user/update.operation.js.map +1 -0
  47. package/dist/nodes/Aws/Cognito/descriptions/userPool/UserPool.resource.js +81 -0
  48. package/dist/nodes/Aws/Cognito/descriptions/userPool/UserPool.resource.js.map +1 -0
  49. package/dist/nodes/Aws/Cognito/descriptions/userPool/get.operation.js +50 -0
  50. package/dist/nodes/Aws/Cognito/descriptions/userPool/get.operation.js.map +1 -0
  51. package/dist/nodes/Aws/Cognito/helpers/constants.js +91 -0
  52. package/dist/nodes/Aws/Cognito/helpers/constants.js.map +1 -0
  53. package/dist/nodes/Aws/Cognito/helpers/errorHandler.js +109 -0
  54. package/dist/nodes/Aws/Cognito/helpers/errorHandler.js.map +1 -0
  55. package/dist/nodes/Aws/Cognito/helpers/interfaces.js +17 -0
  56. package/dist/nodes/Aws/Cognito/helpers/interfaces.js.map +1 -0
  57. package/dist/nodes/Aws/Cognito/helpers/utils.js +318 -0
  58. package/dist/nodes/Aws/Cognito/helpers/utils.js.map +1 -0
  59. package/dist/nodes/Aws/Cognito/methods/index.js +39 -0
  60. package/dist/nodes/Aws/Cognito/methods/index.js.map +1 -0
  61. package/dist/nodes/Aws/Cognito/methods/listSearch.js +157 -0
  62. package/dist/nodes/Aws/Cognito/methods/listSearch.js.map +1 -0
  63. package/dist/nodes/Aws/Cognito/transport/index.js +72 -0
  64. package/dist/nodes/Aws/Cognito/transport/index.js.map +1 -0
  65. package/dist/nodes/Aws/S3/__schema__/v2.0.0/file/getAll.json +1 -7
  66. package/dist/nodes/BambooHr/__schema__/v1.0.0/employee/get.json +10 -1
  67. package/dist/nodes/Dropcontact/__schema__/v1.0.0/contact/enrich.json +7 -15
  68. package/dist/nodes/EmailSend/__schema__/v2.1.0/email/send.json +7 -1
  69. package/dist/nodes/Github/__schema__/v1.1.0/file/list.json +44 -0
  70. package/dist/nodes/Gitlab/__schema__/v1.0.0/file/get.json +1 -4
  71. package/dist/nodes/Google/BusinessProfile/__schema__/v1.0.0/review/getAll.json +1 -12
  72. package/dist/nodes/Google/Calendar/__schema__/v1.3.0/event/getAll.json +4 -7
  73. package/dist/nodes/Google/Contacts/__schema__/v1.0.0/contact/getAll.json +1 -12
  74. package/dist/nodes/Google/Drive/__schema__/v3.0.0/file/download.json +9 -0
  75. package/dist/nodes/Google/Firebase/CloudFirestore/__schema__/v1.1.0/document/query.json +7 -1
  76. package/dist/nodes/Google/Gmail/__schema__/v2.1.0/message/addLabels.json +1 -13
  77. package/dist/nodes/Google/Gmail/__schema__/v2.1.0/message/get.json +7 -1
  78. package/dist/nodes/Google/Gmail/__schema__/v2.1.0/message/getAll.json +29 -113
  79. package/dist/nodes/Google/Gmail/__schema__/v2.1.0/thread/get.json +1 -60
  80. package/dist/nodes/Google/Sheet/GoogleSheets.node.js +3 -2
  81. package/dist/nodes/Google/Sheet/GoogleSheets.node.js.map +1 -1
  82. package/dist/nodes/Google/Sheet/v2/actions/sheet/read.operation.js +2 -1
  83. package/dist/nodes/Google/Sheet/v2/actions/sheet/read.operation.js.map +1 -1
  84. package/dist/nodes/Google/Sheet/v2/actions/versionDescription.js +1 -1
  85. package/dist/nodes/Google/Sheet/v2/actions/versionDescription.js.map +1 -1
  86. package/dist/nodes/Google/Sheet/v2/helpers/GoogleSheet.js +4 -0
  87. package/dist/nodes/Google/Sheet/v2/helpers/GoogleSheet.js.map +1 -1
  88. package/dist/nodes/Google/Task/__schema__/v1.0.0/task/getAll.json +1 -4
  89. package/dist/nodes/Google/YouTube/__schema__/v1.0.0/video/get.json +35 -1
  90. package/dist/nodes/Hubspot/__schema__/v2.1.0/company/getAll.json +4 -1
  91. package/dist/nodes/Hubspot/__schema__/v2.1.0/contact/search.json +1 -4
  92. package/dist/nodes/Hubspot/__schema__/v2.1.0/deal/getAll.json +45 -11
  93. package/dist/nodes/Hubspot/__schema__/v2.1.0/deal/search.json +2 -5
  94. package/dist/nodes/Hubspot/__schema__/v2.1.0/ticket/get.json +4 -4
  95. package/dist/nodes/ItemLists/__schema__/v3.0.0/itemList/limit.json +4 -1
  96. package/dist/nodes/JinaAI/JinaAi.node.js +486 -0
  97. package/dist/nodes/JinaAI/JinaAi.node.js.map +1 -0
  98. package/dist/nodes/JinaAI/JinaAi.node.json +18 -0
  99. package/dist/nodes/JinaAI/jinaAi.dark.svg +6 -0
  100. package/dist/nodes/JinaAI/jinaAi.svg +6 -0
  101. package/dist/nodes/Jira/__schema__/v1.0.0/issue/get.json +259 -1
  102. package/dist/nodes/Jira/__schema__/v1.0.0/issue/getAll.json +57 -37
  103. package/dist/nodes/Linear/__schema__/v1.0.0/issue/getAll.json +1 -12
  104. package/dist/nodes/Microsoft/AzureCosmosDb/AzureCosmosDb.node.json +2 -2
  105. package/dist/nodes/Microsoft/Entra/MicrosoftEntra.node.js +2 -2
  106. package/dist/nodes/Microsoft/Entra/MicrosoftEntra.node.js.map +1 -1
  107. package/dist/nodes/Microsoft/Entra/__schema__/v1.0.0/user/getAll.json +1 -7
  108. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/event/getAll.json +4 -1
  109. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/folderMessage/getAll.json +8 -47
  110. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/message/get.json +124 -1
  111. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/message/getAll.json +40 -20
  112. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/message/sendAndWait.json +12 -11
  113. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/messageAttachment/get.json +13 -1
  114. package/dist/nodes/Microsoft/Storage/__schema__/v1.0.0/blob/getAll.json +44 -0
  115. package/dist/nodes/Microsoft/Teams/__schema__/v2.0.0/channel/getAll.json +1 -4
  116. package/dist/nodes/Microsoft/ToDo/__schema__/v1.0.0/task/getAll.json +21 -5
  117. package/dist/nodes/Notion/__schema__/v2.2.0/database/get.json +149 -2
  118. package/dist/nodes/Odoo/__schema__/v1.0.0/contact/getAll.json +10 -1
  119. package/dist/nodes/Odoo/__schema__/v1.0.0/custom/getAll.json +1 -4
  120. package/dist/nodes/Odoo/__schema__/v1.0.0/opportunity/getAll.json +49 -1
  121. package/dist/nodes/OpenAi/__schema__/v1.1.0/chat/complete.json +1 -29
  122. package/dist/nodes/Pipedrive/__schema__/v1.0.0/organization/search.json +20 -25
  123. package/dist/nodes/Pipedrive/__schema__/v1.0.0/person/search.json +1 -18
  124. package/dist/nodes/Plivo/__schema__/v1.0.0/call/make.json +15 -0
  125. package/dist/nodes/QuickBooks/__schema__/v1.0.0/transaction/getReport.json +1 -4
  126. package/dist/nodes/Salesforce/__schema__/v1.0.0/customObject/getAll.json +2 -2
  127. package/dist/nodes/Salesforce/__schema__/v1.0.0/opportunity/getAll.json +5 -2
  128. package/dist/nodes/Salesforce/__schema__/v1.0.0/task/getAll.json +4 -1
  129. package/dist/nodes/SeaTable/__schema__/v2.0.0/row/list.json +30 -0
  130. package/dist/nodes/ServiceNow/__schema__/v1.0.0/tableRecord/getAll.json +1 -4
  131. package/dist/nodes/Slack/__schema__/v2.3.0/channel/history.json +49 -3
  132. package/dist/nodes/Slack/__schema__/v2.3.0/message/post.json +4 -1
  133. package/dist/nodes/Ssh/__schema__/v1.0.0/command/execute.json +4 -1
  134. package/dist/nodes/Strapi/__schema__/v1.0.0/entry/get.json +32 -0
  135. package/dist/nodes/Strapi/__schema__/v1.0.0/entry/getAll.json +1 -4
  136. package/dist/nodes/Telegram/__schema__/v1.2.0/chat/get.json +27 -1
  137. package/dist/nodes/Telegram/__schema__/v1.2.0/chat/member.json +7 -1
  138. package/dist/nodes/Telegram/__schema__/v1.2.0/message/sendMessage.json +1 -4
  139. package/dist/nodes/Telegram/__schema__/v1.2.0/message/sendPhoto.json +4 -1
  140. package/dist/nodes/Trello/__schema__/v1.0.0/list/getAll.json +7 -1
  141. package/dist/nodes/Trello/__schema__/v1.0.0/list/getCards.json +13 -1
  142. package/dist/nodes/Wordpress/PageDescription.js +0 -17
  143. package/dist/nodes/Wordpress/PageDescription.js.map +1 -1
  144. package/dist/nodes/Wordpress/__schema__/v1.0.0/post/get.json +7 -1
  145. package/dist/nodes/Zoho/__schema__/v1.0.0/contact/getAll.json +15 -16
  146. package/dist/nodes/Zoho/__schema__/v1.0.0/lead/getAll.json +1 -122
  147. package/dist/nodes/Zoom/__schema__/v1.0.0/meeting/getAll.json +1 -4
  148. package/dist/types/credentials.json +3 -2
  149. package/dist/types/nodes.json +9 -7
  150. package/package.json +9 -6
@@ -0,0 +1,299 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var create_operation_exports = {};
20
+ __export(create_operation_exports, {
21
+ description: () => description
22
+ });
23
+ module.exports = __toCommonJS(create_operation_exports);
24
+ var import_n8n_workflow = require("n8n-workflow");
25
+ var import_utils = require("../../helpers/utils");
26
+ var import_common = require("../common.description");
27
+ const properties = [
28
+ {
29
+ ...import_common.userPoolResourceLocator,
30
+ description: "Select the user pool to retrieve"
31
+ },
32
+ {
33
+ displayName: "User Name",
34
+ name: "newUserName",
35
+ default: "",
36
+ description: "Depending on the user pool settings, this parameter requires the username, the email, or the phone number. No whitespace is allowed.",
37
+ placeholder: "e.g. JohnSmith",
38
+ required: true,
39
+ routing: {
40
+ send: {
41
+ property: "Username",
42
+ type: "body"
43
+ }
44
+ },
45
+ type: "string",
46
+ validateType: "string"
47
+ },
48
+ {
49
+ displayName: "Additional Fields",
50
+ name: "additionalFields",
51
+ type: "collection",
52
+ placeholder: "Add Field",
53
+ default: {},
54
+ options: [
55
+ {
56
+ displayName: "Message Action",
57
+ name: "messageAction",
58
+ default: "RESEND",
59
+ type: "options",
60
+ options: [
61
+ {
62
+ name: "Resend",
63
+ value: "RESEND",
64
+ description: "Resend the invitation message to a user that already exists and reset the expiration limit on the user's account"
65
+ },
66
+ {
67
+ name: "Suppress",
68
+ value: "SUPPRESS",
69
+ description: "Suppress sending the message"
70
+ }
71
+ ],
72
+ routing: {
73
+ send: {
74
+ property: "MessageAction",
75
+ type: "body"
76
+ }
77
+ }
78
+ },
79
+ {
80
+ displayName: "Force Alias Creation",
81
+ name: "forceAliasCreation",
82
+ type: "boolean",
83
+ validateType: "boolean",
84
+ default: false,
85
+ description: "Whether this parameter is used only if the phone_number_verified or email_verified attribute is set to true. Otherwise, it is ignored. If set to true, and the phone number or email address specified in the UserAttributes parameter already exists as an alias with a different user, the alias will be migrated. If set to false, an AliasExistsException error is thrown if the alias already exists.",
86
+ routing: {
87
+ send: {
88
+ type: "body",
89
+ property: "ForceAliasCreation"
90
+ }
91
+ }
92
+ },
93
+ {
94
+ displayName: "User Attributes",
95
+ name: "userAttributes",
96
+ type: "fixedCollection",
97
+ placeholder: "Add Attribute",
98
+ default: {
99
+ attributes: []
100
+ },
101
+ required: true,
102
+ description: "Attributes to update for the user",
103
+ typeOptions: {
104
+ multipleValues: true
105
+ },
106
+ routing: {
107
+ send: {
108
+ preSend: [import_utils.preSendAttributes]
109
+ }
110
+ },
111
+ options: [
112
+ {
113
+ displayName: "Attributes",
114
+ name: "attributes",
115
+ values: [
116
+ {
117
+ displayName: "Attribute Type",
118
+ name: "attributeType",
119
+ type: "options",
120
+ default: "standard",
121
+ options: [
122
+ {
123
+ name: "Standard Attribute",
124
+ value: "standard"
125
+ },
126
+ {
127
+ name: "Custom Attribute",
128
+ value: "custom"
129
+ }
130
+ ]
131
+ },
132
+ {
133
+ displayName: "Standard Attribute",
134
+ name: "standardName",
135
+ type: "options",
136
+ default: "address",
137
+ options: [
138
+ {
139
+ name: "Address",
140
+ value: "address"
141
+ },
142
+ {
143
+ name: "Birthdate",
144
+ value: "birthdate"
145
+ },
146
+ {
147
+ name: "Email",
148
+ value: "email"
149
+ },
150
+ {
151
+ name: "Email Verified",
152
+ value: "email_verified"
153
+ },
154
+ {
155
+ name: "Family Name",
156
+ value: "family_name"
157
+ },
158
+ {
159
+ name: "Gender",
160
+ value: "gender"
161
+ },
162
+ {
163
+ name: "Given Name",
164
+ value: "given_name"
165
+ },
166
+ {
167
+ name: "Locale",
168
+ value: "locale"
169
+ },
170
+ {
171
+ name: "Middle Name",
172
+ value: "middle_name"
173
+ },
174
+ {
175
+ name: "Name",
176
+ value: "name"
177
+ },
178
+ {
179
+ name: "Nickname",
180
+ value: "nickname"
181
+ },
182
+ {
183
+ name: "Phone Number",
184
+ value: "phone_number"
185
+ },
186
+ {
187
+ name: "Phone Number Verified",
188
+ value: "phone_number_verified"
189
+ },
190
+ {
191
+ name: "Preferred Username",
192
+ value: "preferred_username"
193
+ },
194
+ {
195
+ name: "Profile Picture",
196
+ value: "profilepicture"
197
+ },
198
+ {
199
+ name: "Updated At",
200
+ value: "updated_at"
201
+ },
202
+ {
203
+ name: "User Sub",
204
+ value: "sub"
205
+ },
206
+ {
207
+ name: "Website",
208
+ value: "website"
209
+ },
210
+ {
211
+ name: "Zone Info",
212
+ value: "zoneinfo"
213
+ }
214
+ ],
215
+ displayOptions: {
216
+ show: {
217
+ attributeType: ["standard"]
218
+ }
219
+ }
220
+ },
221
+ {
222
+ displayName: "Custom Attribute Name",
223
+ name: "customName",
224
+ type: "string",
225
+ default: "",
226
+ placeholder: "custom:myAttribute",
227
+ description: 'The name of the custom attribute (must start with "custom:")',
228
+ displayOptions: {
229
+ show: {
230
+ attributeType: ["custom"]
231
+ }
232
+ }
233
+ },
234
+ {
235
+ displayName: "Value",
236
+ name: "value",
237
+ type: "string",
238
+ default: "",
239
+ description: "The value of the attribute"
240
+ }
241
+ ]
242
+ }
243
+ ]
244
+ },
245
+ {
246
+ displayName: "Desired Delivery Mediums",
247
+ name: "desiredDeliveryMediums",
248
+ default: ["SMS"],
249
+ description: "Specify how to send the welcome message",
250
+ type: "multiOptions",
251
+ options: [
252
+ {
253
+ name: "SMS",
254
+ value: "SMS"
255
+ },
256
+ {
257
+ name: "Email",
258
+ value: "EMAIL"
259
+ }
260
+ ],
261
+ routing: {
262
+ send: {
263
+ preSend: [import_utils.preSendDesiredDeliveryMediums],
264
+ property: "DesiredDeliveryMediums",
265
+ type: "body"
266
+ }
267
+ }
268
+ },
269
+ {
270
+ displayName: "Temporary Password",
271
+ name: "temporaryPasswordOptions",
272
+ type: "string",
273
+ typeOptions: {
274
+ password: true
275
+ },
276
+ default: "",
277
+ description: "The user's temporary password that will be valid only once. If not set, Amazon Cognito will automatically generate one for you.",
278
+ routing: {
279
+ send: {
280
+ property: "TemporaryPassword",
281
+ type: "body"
282
+ }
283
+ }
284
+ }
285
+ ]
286
+ }
287
+ ];
288
+ const displayOptions = {
289
+ show: {
290
+ resource: ["user"],
291
+ operation: ["create"]
292
+ }
293
+ };
294
+ const description = (0, import_n8n_workflow.updateDisplayOptions)(displayOptions, properties);
295
+ // Annotate the CommonJS export names for ESM import in node:
296
+ 0 && (module.exports = {
297
+ description
298
+ });
299
+ //# sourceMappingURL=create.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../nodes/Aws/Cognito/descriptions/user/create.operation.ts"],"sourcesContent":["import type { INodeProperties } from 'n8n-workflow';\nimport { updateDisplayOptions } from 'n8n-workflow';\n\nimport { preSendAttributes, preSendDesiredDeliveryMediums } from '../../helpers/utils';\nimport { userPoolResourceLocator } from '../common.description';\n\nconst properties: INodeProperties[] = [\n\t{\n\t\t...userPoolResourceLocator,\n\t\tdescription: 'Select the user pool to retrieve',\n\t},\n\t{\n\t\tdisplayName: 'User Name',\n\t\tname: 'newUserName',\n\t\tdefault: '',\n\t\tdescription:\n\t\t\t'Depending on the user pool settings, this parameter requires the username, the email, or the phone number. No whitespace is allowed.',\n\t\tplaceholder: 'e.g. JohnSmith',\n\t\trequired: true,\n\t\trouting: {\n\t\t\tsend: {\n\t\t\t\tproperty: 'Username',\n\t\t\t\ttype: 'body',\n\t\t\t},\n\t\t},\n\t\ttype: 'string',\n\t\tvalidateType: 'string',\n\t},\n\t{\n\t\tdisplayName: 'Additional Fields',\n\t\tname: 'additionalFields',\n\t\ttype: 'collection',\n\t\tplaceholder: 'Add Field',\n\t\tdefault: {},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tdisplayName: 'Message Action',\n\t\t\t\tname: 'messageAction',\n\t\t\t\tdefault: 'RESEND',\n\t\t\t\ttype: 'options',\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'Resend',\n\t\t\t\t\t\tvalue: 'RESEND',\n\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\"Resend the invitation message to a user that already exists and reset the expiration limit on the user's account\",\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'Suppress',\n\t\t\t\t\t\tvalue: 'SUPPRESS',\n\t\t\t\t\t\tdescription: 'Suppress sending the message',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\trouting: {\n\t\t\t\t\tsend: {\n\t\t\t\t\t\tproperty: 'MessageAction',\n\t\t\t\t\t\ttype: 'body',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Force Alias Creation',\n\t\t\t\tname: 'forceAliasCreation',\n\t\t\t\ttype: 'boolean',\n\t\t\t\tvalidateType: 'boolean',\n\t\t\t\tdefault: false,\n\t\t\t\tdescription:\n\t\t\t\t\t'Whether this parameter is used only if the phone_number_verified or email_verified attribute is set to true. Otherwise, it is ignored. If set to true, and the phone number or email address specified in the UserAttributes parameter already exists as an alias with a different user, the alias will be migrated. If set to false, an AliasExistsException error is thrown if the alias already exists.',\n\t\t\t\trouting: {\n\t\t\t\t\tsend: {\n\t\t\t\t\t\ttype: 'body',\n\t\t\t\t\t\tproperty: 'ForceAliasCreation',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'User Attributes',\n\t\t\t\tname: 'userAttributes',\n\t\t\t\ttype: 'fixedCollection',\n\t\t\t\tplaceholder: 'Add Attribute',\n\t\t\t\tdefault: {\n\t\t\t\t\tattributes: [],\n\t\t\t\t},\n\t\t\t\trequired: true,\n\t\t\t\tdescription: 'Attributes to update for the user',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tmultipleValues: true,\n\t\t\t\t},\n\t\t\t\trouting: {\n\t\t\t\t\tsend: {\n\t\t\t\t\t\tpreSend: [preSendAttributes],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdisplayName: 'Attributes',\n\t\t\t\t\t\tname: 'attributes',\n\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Attribute Type',\n\t\t\t\t\t\t\t\tname: 'attributeType',\n\t\t\t\t\t\t\t\ttype: 'options',\n\t\t\t\t\t\t\t\tdefault: 'standard',\n\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Standard Attribute',\n\t\t\t\t\t\t\t\t\t\tvalue: 'standard',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Custom Attribute',\n\t\t\t\t\t\t\t\t\t\tvalue: 'custom',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Standard Attribute',\n\t\t\t\t\t\t\t\tname: 'standardName',\n\t\t\t\t\t\t\t\ttype: 'options',\n\t\t\t\t\t\t\t\tdefault: 'address',\n\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Address',\n\t\t\t\t\t\t\t\t\t\tvalue: 'address',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Birthdate',\n\t\t\t\t\t\t\t\t\t\tvalue: 'birthdate',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Email',\n\t\t\t\t\t\t\t\t\t\tvalue: 'email',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Email Verified',\n\t\t\t\t\t\t\t\t\t\tvalue: 'email_verified',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Family Name',\n\t\t\t\t\t\t\t\t\t\tvalue: 'family_name',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Gender',\n\t\t\t\t\t\t\t\t\t\tvalue: 'gender',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Given Name',\n\t\t\t\t\t\t\t\t\t\tvalue: 'given_name',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Locale',\n\t\t\t\t\t\t\t\t\t\tvalue: 'locale',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Middle Name',\n\t\t\t\t\t\t\t\t\t\tvalue: 'middle_name',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Name',\n\t\t\t\t\t\t\t\t\t\tvalue: 'name',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Nickname',\n\t\t\t\t\t\t\t\t\t\tvalue: 'nickname',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Phone Number',\n\t\t\t\t\t\t\t\t\t\tvalue: 'phone_number',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Phone Number Verified',\n\t\t\t\t\t\t\t\t\t\tvalue: 'phone_number_verified',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Preferred Username',\n\t\t\t\t\t\t\t\t\t\tvalue: 'preferred_username',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Profile Picture',\n\t\t\t\t\t\t\t\t\t\tvalue: 'profilepicture',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Updated At',\n\t\t\t\t\t\t\t\t\t\tvalue: 'updated_at',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'User Sub',\n\t\t\t\t\t\t\t\t\t\tvalue: 'sub',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Website',\n\t\t\t\t\t\t\t\t\t\tvalue: 'website',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Zone Info',\n\t\t\t\t\t\t\t\t\t\tvalue: 'zoneinfo',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\t\t\t\tattributeType: ['standard'],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Custom Attribute Name',\n\t\t\t\t\t\t\t\tname: 'customName',\n\t\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\tplaceholder: 'custom:myAttribute',\n\t\t\t\t\t\t\t\tdescription: 'The name of the custom attribute (must start with \"custom:\")',\n\t\t\t\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\t\t\t\tattributeType: ['custom'],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Value',\n\t\t\t\t\t\t\t\tname: 'value',\n\t\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\tdescription: 'The value of the attribute',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Desired Delivery Mediums',\n\t\t\t\tname: 'desiredDeliveryMediums',\n\t\t\t\tdefault: ['SMS'],\n\t\t\t\tdescription: 'Specify how to send the welcome message',\n\t\t\t\ttype: 'multiOptions',\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'SMS',\n\t\t\t\t\t\tvalue: 'SMS',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'Email',\n\t\t\t\t\t\tvalue: 'EMAIL',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\trouting: {\n\t\t\t\t\tsend: {\n\t\t\t\t\t\tpreSend: [preSendDesiredDeliveryMediums],\n\t\t\t\t\t\tproperty: 'DesiredDeliveryMediums',\n\t\t\t\t\t\ttype: 'body',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Temporary Password',\n\t\t\t\tname: 'temporaryPasswordOptions',\n\t\t\t\ttype: 'string',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tpassword: true,\n\t\t\t\t},\n\t\t\t\tdefault: '',\n\t\t\t\tdescription:\n\t\t\t\t\t\"The user's temporary password that will be valid only once. If not set, Amazon Cognito will automatically generate one for you.\",\n\t\t\t\trouting: {\n\t\t\t\t\tsend: {\n\t\t\t\t\t\tproperty: 'TemporaryPassword',\n\t\t\t\t\t\ttype: 'body',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t},\n];\n\nconst displayOptions = {\n\tshow: {\n\t\tresource: ['user'],\n\t\toperation: ['create'],\n\t},\n};\n\nexport const description = updateDisplayOptions(displayOptions, properties);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,0BAAqC;AAErC,mBAAiE;AACjE,oBAAwC;AAExC,MAAM,aAAgC;AAAA,EACrC;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aACC;AAAA,IACD,aAAa;AAAA,IACb,UAAU;AAAA,IACV,SAAS;AAAA,MACR,MAAM;AAAA,QACL,UAAU;AAAA,QACV,MAAM;AAAA,MACP;AAAA,IACD;AAAA,IACA,MAAM;AAAA,IACN,cAAc;AAAA,EACf;AAAA,EACA;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,MAAM;AAAA,IACN,aAAa;AAAA,IACb,SAAS,CAAC;AAAA,IACV,SAAS;AAAA,MACR;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,SAAS;AAAA,QACT,MAAM;AAAA,QACN,SAAS;AAAA,UACR;A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Aa;AAAA,gBACb,MAAM;AAAA,gBACN,MAAM;AAAA,gBACN,SAAS;AAAA,gBACT,aAAa;AAAA,gBACb,aAAa;AAAA,gBACb,gBAAgB;AAAA,kBACf,MAAM;AAAA,oBACL,eAAe,CAAC,QAAQ;AAAA,kBACzB;AAAA,gBACD;AAAA,cACD;AAAA,cACA;AAAA,gBACC,aAAa;AAAA,gBACb,MAAM;AAAA,gBACN,MAAM;AAAA,gBACN,SAAS;AAAA,gBACT,aAAa;AAAA,cACd;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,SAAS,CAAC,KAAK;AAAA,QACf,aAAa;AAAA,QACb,MAAM;AAAA,QACN,SAAS;AAAA,UACR;AAAA,YACC,MAAM;AAAA,YACN,OAAO;AAAA,UACR;AAAA,UACA;AAAA,YACC,MAAM;AAAA,YACN,OAAO;AAAA,UACR;AAAA,QACD;AAAA,QACA,SAAS;AAAA,UACR,MAAM;AAAA,YACL,SAAS,CAAC,0CAA6B;AAAA,YACvC,UAAU;AAAA,YACV,MAAM;AAAA,UACP;AAAA,QACD;AAAA,MACD;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,aAAa;AAAA,UACZ,UAAU;AAAA,QACX;AAAA,QACA,SAAS;AAAA,QACT,aACC;AAAA,QACD,SAAS;AAAA,UACR,MAAM;AAAA,YACL,UAAU;AAAA,YACV,MAAM;AAAA,UACP;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;AACD;AAEA,MAAM,iBAAiB;AAAA,EACtB,MAAM;AAAA,IACL,UAAU,CAAC,MAAM;AAAA,IACjB,WAAW,CAAC,QAAQ;AAAA,EACrB;AACD;AAEO,MAAM,kBAAc,0CAAqB,gBAAgB,UAAU;","names":[]}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var delete_operation_exports = {};
20
+ __export(delete_operation_exports, {
21
+ description: () => description
22
+ });
23
+ module.exports = __toCommonJS(delete_operation_exports);
24
+ var import_n8n_workflow = require("n8n-workflow");
25
+ var import_common = require("../common.description");
26
+ const properties = [
27
+ {
28
+ ...import_common.userPoolResourceLocator,
29
+ description: "Select the user pool to use"
30
+ },
31
+ {
32
+ ...import_common.userResourceLocator,
33
+ description: "Select the user you want to delete"
34
+ }
35
+ ];
36
+ const displayOptions = {
37
+ show: {
38
+ resource: ["user"],
39
+ operation: ["delete"]
40
+ }
41
+ };
42
+ const description = (0, import_n8n_workflow.updateDisplayOptions)(displayOptions, properties);
43
+ // Annotate the CommonJS export names for ESM import in node:
44
+ 0 && (module.exports = {
45
+ description
46
+ });
47
+ //# sourceMappingURL=delete.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../nodes/Aws/Cognito/descriptions/user/delete.operation.ts"],"sourcesContent":["import type { INodeProperties } from 'n8n-workflow';\nimport { updateDisplayOptions } from 'n8n-workflow';\n\nimport { userPoolResourceLocator, userResourceLocator } from '../common.description';\n\nconst properties: INodeProperties[] = [\n\t{\n\t\t...userPoolResourceLocator,\n\t\tdescription: 'Select the user pool to use',\n\t},\n\t{\n\t\t...userResourceLocator,\n\t\tdescription: 'Select the user you want to delete',\n\t},\n];\n\nconst displayOptions = {\n\tshow: {\n\t\tresource: ['user'],\n\t\toperation: ['delete'],\n\t},\n};\n\nexport const description = updateDisplayOptions(displayOptions, properties);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,0BAAqC;AAErC,oBAA6D;AAE7D,MAAM,aAAgC;AAAA,EACrC;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AACD;AAEA,MAAM,iBAAiB;AAAA,EACtB,MAAM;AAAA,IACL,UAAU,CAAC,MAAM;AAAA,IACjB,WAAW,CAAC,QAAQ;AAAA,EACrB;AACD;AAEO,MAAM,kBAAc,0CAAqB,gBAAgB,UAAU;","names":[]}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var get_operation_exports = {};
20
+ __export(get_operation_exports, {
21
+ description: () => description
22
+ });
23
+ module.exports = __toCommonJS(get_operation_exports);
24
+ var import_n8n_workflow = require("n8n-workflow");
25
+ var import_common = require("../common.description");
26
+ const properties = [
27
+ {
28
+ ...import_common.userPoolResourceLocator,
29
+ description: "Select the user pool to use"
30
+ },
31
+ {
32
+ ...import_common.userResourceLocator,
33
+ description: "Select the user you want to retrieve"
34
+ },
35
+ {
36
+ displayName: "Simplify",
37
+ name: "simple",
38
+ type: "boolean",
39
+ default: true,
40
+ description: "Whether to return a simplified version of the response instead of the raw data"
41
+ }
42
+ ];
43
+ const displayOptions = {
44
+ show: {
45
+ resource: ["user"],
46
+ operation: ["get"]
47
+ }
48
+ };
49
+ const description = (0, import_n8n_workflow.updateDisplayOptions)(displayOptions, properties);
50
+ // Annotate the CommonJS export names for ESM import in node:
51
+ 0 && (module.exports = {
52
+ description
53
+ });
54
+ //# sourceMappingURL=get.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../nodes/Aws/Cognito/descriptions/user/get.operation.ts"],"sourcesContent":["import type { INodeProperties } from 'n8n-workflow';\nimport { updateDisplayOptions } from 'n8n-workflow';\n\nimport { userPoolResourceLocator, userResourceLocator } from '../common.description';\n\nconst properties: INodeProperties[] = [\n\t{\n\t\t...userPoolResourceLocator,\n\t\tdescription: 'Select the user pool to use',\n\t},\n\t{\n\t\t...userResourceLocator,\n\t\tdescription: 'Select the user you want to retrieve',\n\t},\n\t{\n\t\tdisplayName: 'Simplify',\n\t\tname: 'simple',\n\t\ttype: 'boolean',\n\t\tdefault: true,\n\t\tdescription: 'Whether to return a simplified version of the response instead of the raw data',\n\t},\n];\n\nconst displayOptions = {\n\tshow: {\n\t\tresource: ['user'],\n\t\toperation: ['get'],\n\t},\n};\n\nexport const description = updateDisplayOptions(displayOptions, properties);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,0BAAqC;AAErC,oBAA6D;AAE7D,MAAM,aAAgC;AAAA,EACrC;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,EACd;AACD;AAEA,MAAM,iBAAiB;AAAA,EACtB,MAAM;AAAA,IACL,UAAU,CAAC,MAAM;AAAA,IACjB,WAAW,CAAC,KAAK;AAAA,EAClB;AACD;AAEO,MAAM,kBAAc,0CAAqB,gBAAgB,UAAU;","names":[]}
@@ -0,0 +1,187 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var getAll_operation_exports = {};
20
+ __export(getAll_operation_exports, {
21
+ description: () => description
22
+ });
23
+ module.exports = __toCommonJS(getAll_operation_exports);
24
+ var import_n8n_workflow = require("n8n-workflow");
25
+ var import_common = require("../common.description");
26
+ const properties = [
27
+ {
28
+ ...import_common.userPoolResourceLocator,
29
+ description: "Select the user pool to use"
30
+ },
31
+ {
32
+ displayName: "Return All",
33
+ name: "returnAll",
34
+ default: false,
35
+ description: "Whether to return all results or only up to a given limit",
36
+ type: "boolean",
37
+ routing: {
38
+ operations: {
39
+ pagination: {
40
+ type: "generic",
41
+ properties: {
42
+ continue: "={{ !!$response.body?.PaginationToken }}",
43
+ request: {
44
+ body: {
45
+ PaginationToken: "={{ $response.body?.PaginationToken }}"
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ },
53
+ {
54
+ displayName: "Limit",
55
+ name: "limit",
56
+ required: true,
57
+ type: "number",
58
+ typeOptions: {
59
+ minValue: 1,
60
+ maxValue: 60
61
+ },
62
+ default: 50,
63
+ description: "Max number of results to return",
64
+ displayOptions: {
65
+ show: {
66
+ returnAll: [false]
67
+ }
68
+ },
69
+ routing: {
70
+ send: {
71
+ type: "body",
72
+ property: "Limit"
73
+ }
74
+ }
75
+ },
76
+ {
77
+ displayName: "Simplify",
78
+ name: "simple",
79
+ type: "boolean",
80
+ default: true,
81
+ description: "Whether to return a simplified version of the response instead of the raw data"
82
+ },
83
+ {
84
+ displayName: "Filters",
85
+ name: "filters",
86
+ type: "fixedCollection",
87
+ placeholder: "Add Filter",
88
+ default: {},
89
+ routing: {
90
+ send: {
91
+ preSend: [
92
+ async function(requestOptions) {
93
+ const filters = this.getNodeParameter("filters", {});
94
+ const filter = filters.filter;
95
+ if (!filter?.value) return requestOptions;
96
+ const { attribute: filterAttribute, value: filterValue } = filter;
97
+ const body = (0, import_n8n_workflow.jsonParse)(String(requestOptions.body), {
98
+ acceptJSObject: true,
99
+ errorMessage: "Invalid request body. Request body must be valid JSON."
100
+ });
101
+ const filterString = filterAttribute ? `"${filterAttribute}"^="${filterValue}"` : "";
102
+ return {
103
+ ...requestOptions,
104
+ body: JSON.stringify({ ...body, Filter: filterString })
105
+ };
106
+ }
107
+ ]
108
+ }
109
+ },
110
+ options: [
111
+ {
112
+ displayName: "Filter",
113
+ name: "filter",
114
+ values: [
115
+ {
116
+ displayName: "Attribute",
117
+ name: "attribute",
118
+ type: "options",
119
+ default: "email",
120
+ description: "The attribute to search for",
121
+ options: [
122
+ {
123
+ name: "Cognito User Status",
124
+ value: "cognito:user_status"
125
+ },
126
+ {
127
+ name: "Email",
128
+ value: "email"
129
+ },
130
+ {
131
+ name: "Family Name",
132
+ value: "family_name"
133
+ },
134
+ {
135
+ name: "Given Name",
136
+ value: "given_name"
137
+ },
138
+ {
139
+ name: "Name",
140
+ value: "name"
141
+ },
142
+ {
143
+ name: "Phone Number",
144
+ value: "phone_number"
145
+ },
146
+ {
147
+ name: "Preferred Username",
148
+ value: "preferred_username"
149
+ },
150
+ {
151
+ name: "Status (Enabled)",
152
+ value: "status"
153
+ },
154
+ {
155
+ name: "Sub",
156
+ value: "sub"
157
+ },
158
+ {
159
+ name: "Username",
160
+ value: "username"
161
+ }
162
+ ]
163
+ },
164
+ {
165
+ displayName: "Value",
166
+ name: "value",
167
+ type: "string",
168
+ default: "",
169
+ description: "The value of the attribute to search for"
170
+ }
171
+ ]
172
+ }
173
+ ]
174
+ }
175
+ ];
176
+ const displayOptions = {
177
+ show: {
178
+ resource: ["user"],
179
+ operation: ["getAll"]
180
+ }
181
+ };
182
+ const description = (0, import_n8n_workflow.updateDisplayOptions)(displayOptions, properties);
183
+ // Annotate the CommonJS export names for ESM import in node:
184
+ 0 && (module.exports = {
185
+ description
186
+ });
187
+ //# sourceMappingURL=getAll.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../nodes/Aws/Cognito/descriptions/user/getAll.operation.ts"],"sourcesContent":["import type {\n\tIDataObject,\n\tIExecuteSingleFunctions,\n\tIHttpRequestOptions,\n\tINodeProperties,\n} from 'n8n-workflow';\nimport { jsonParse, updateDisplayOptions } from 'n8n-workflow';\n\nimport type { Filters } from '../../helpers/interfaces';\nimport { userPoolResourceLocator } from '../common.description';\n\nconst properties: INodeProperties[] = [\n\t{\n\t\t...userPoolResourceLocator,\n\t\tdescription: 'Select the user pool to use',\n\t},\n\t{\n\t\tdisplayName: 'Return All',\n\t\tname: 'returnAll',\n\t\tdefault: false,\n\t\tdescription: 'Whether to return all results or only up to a given limit',\n\t\ttype: 'boolean',\n\t\trouting: {\n\t\t\toperations: {\n\t\t\t\tpagination: {\n\t\t\t\t\ttype: 'generic',\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tcontinue: '={{ !!$response.body?.PaginationToken }}',\n\n\t\t\t\t\t\trequest: {\n\t\t\t\t\t\t\tbody: {\n\t\t\t\t\t\t\t\tPaginationToken: '={{ $response.body?.PaginationToken }}',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Limit',\n\t\tname: 'limit',\n\t\trequired: true,\n\t\ttype: 'number',\n\t\ttypeOptions: {\n\t\t\tminValue: 1,\n\t\t\tmaxValue: 60,\n\t\t},\n\t\tdefault: 50,\n\t\tdescription: 'Max number of results to return',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\treturnAll: [false],\n\t\t\t},\n\t\t},\n\t\trouting: {\n\t\t\tsend: {\n\t\t\t\ttype: 'body',\n\t\t\t\tproperty: 'Limit',\n\t\t\t},\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Simplify',\n\t\tname: 'simple',\n\t\ttype: 'boolean',\n\t\tdefault: true,\n\t\tdescription: 'Whether to return a simplified version of the response instead of the raw data',\n\t},\n\t{\n\t\tdisplayName: 'Filters',\n\t\tname: 'filters',\n\t\ttype: 'fixedCollection',\n\t\tplaceholder: 'Add Filter',\n\t\tdefault: {},\n\t\trouting: {\n\t\t\tsend: {\n\t\t\t\tpreSend: [\n\t\t\t\t\tasync function (\n\t\t\t\t\t\tthis: IExecuteSingleFunctions,\n\t\t\t\t\t\trequestOptions: IHttpRequestOptions,\n\t\t\t\t\t): Promise<IHttpRequestOptions> {\n\t\t\t\t\t\tconst filters = this.getNodeParameter('filters', {}) as Filters;\n\t\t\t\t\t\tconst filter = filters.filter;\n\t\t\t\t\t\tif (!filter?.value) return requestOptions;\n\t\t\t\t\t\tconst { attribute: filterAttribute, value: filterValue } = filter;\n\t\t\t\t\t\tconst body = jsonParse<IDataObject>(String(requestOptions.body), {\n\t\t\t\t\t\t\tacceptJSObject: true,\n\t\t\t\t\t\t\terrorMessage: 'Invalid request body. Request body must be valid JSON.',\n\t\t\t\t\t\t});\n\t\t\t\t\t\tconst filterString = filterAttribute ? `\"${filterAttribute}\"^=\"${filterValue}\"` : '';\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t...requestOptions,\n\t\t\t\t\t\t\tbody: JSON.stringify({ ...body, Filter: filterString }),\n\t\t\t\t\t\t};\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tdisplayName: 'Filter',\n\t\t\t\tname: 'filter',\n\t\t\t\tvalues: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdisplayName: 'Attribute',\n\t\t\t\t\t\tname: 'attribute',\n\t\t\t\t\t\ttype: 'options',\n\t\t\t\t\t\tdefault: 'email',\n\t\t\t\t\t\tdescription: 'The attribute to search for',\n\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'Cognito User Status',\n\t\t\t\t\t\t\t\tvalue: 'cognito:user_status',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'Email',\n\t\t\t\t\t\t\t\tvalue: 'email',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'Family Name',\n\t\t\t\t\t\t\t\tvalue: 'family_name',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'Given Name',\n\t\t\t\t\t\t\t\tvalue: 'given_name',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'Name',\n\t\t\t\t\t\t\t\tvalue: 'name',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'Phone Number',\n\t\t\t\t\t\t\t\tvalue: 'phone_number',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'Preferred Username',\n\t\t\t\t\t\t\t\tvalue: 'preferred_username',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'Status (Enabled)',\n\t\t\t\t\t\t\t\tvalue: 'status',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'Sub',\n\t\t\t\t\t\t\t\tvalue: 'sub',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'Username',\n\t\t\t\t\t\t\t\tvalue: 'username',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdisplayName: 'Value',\n\t\t\t\t\t\tname: 'value',\n\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\tdescription: 'The value of the attribute to search for',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t},\n];\n\nconst displayOptions = {\n\tshow: {\n\t\tresource: ['user'],\n\t\toperation: ['getAll'],\n\t},\n};\n\nexport const description = updateDisplayOptions(displayOptions, properties);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,0BAAgD;AAGhD,oBAAwC;AAExC,MAAM,aAAgC;AAAA,EACrC;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,IACb,MAAM;AAAA,IACN,SAAS;AAAA,MACR,YAAY;AAAA,QACX,YAAY;AAAA,UACX,MAAM;AAAA,UACN,YAAY;AAAA,YACX,UAAU;AAAA,YAEV,SAAS;AAAA,cACR,MAAM;AAAA,gBACL,iBAAiB;AAAA,cAClB;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;A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