n8n-nodes-base 1.90.1 → 1.91.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 (65) hide show
  1. package/dist/credentials/GSuiteAdminOAuth2Api.credentials.js +3 -1
  2. package/dist/credentials/GSuiteAdminOAuth2Api.credentials.js.map +1 -1
  3. package/dist/methods/defined.json +2 -1
  4. package/dist/methods/referenced.json +1 -0
  5. package/dist/nodes/Calendly/CalendlyTrigger.node.js +11 -0
  6. package/dist/nodes/Calendly/CalendlyTrigger.node.js.map +1 -1
  7. package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js +2 -2
  8. package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js.map +1 -1
  9. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js +2 -2
  10. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js.map +1 -1
  11. package/dist/nodes/Files/ReadWriteFile/actions/read.operation.js +0 -1
  12. package/dist/nodes/Files/ReadWriteFile/actions/read.operation.js.map +1 -1
  13. package/dist/nodes/Form/utils.js.map +1 -1
  14. package/dist/nodes/Google/GSuiteAdmin/DeviceDescription.js +381 -0
  15. package/dist/nodes/Google/GSuiteAdmin/DeviceDescription.js.map +1 -0
  16. package/dist/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.js +395 -88
  17. package/dist/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.js.map +1 -1
  18. package/dist/nodes/Google/GSuiteAdmin/GenericFunctions.js +6 -2
  19. package/dist/nodes/Google/GSuiteAdmin/GenericFunctions.js.map +1 -1
  20. package/dist/nodes/Google/GSuiteAdmin/GroupDescripion.js +112 -88
  21. package/dist/nodes/Google/GSuiteAdmin/GroupDescripion.js.map +1 -1
  22. package/dist/nodes/Google/GSuiteAdmin/SearchFunctions.js +101 -0
  23. package/dist/nodes/Google/GSuiteAdmin/SearchFunctions.js.map +1 -0
  24. package/dist/nodes/Google/GSuiteAdmin/UserDescription.js +538 -195
  25. package/dist/nodes/Google/GSuiteAdmin/UserDescription.js.map +1 -1
  26. package/dist/nodes/Google/GSuiteAdmin/gSuiteAdmin.svg +1 -0
  27. package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js +11 -0
  28. package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js.map +1 -1
  29. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +8 -0
  30. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
  31. package/dist/nodes/Jira/GenericFunctions.js +25 -12
  32. package/dist/nodes/Jira/GenericFunctions.js.map +1 -1
  33. package/dist/nodes/Jira/Jira.node.js +11 -7
  34. package/dist/nodes/Jira/Jira.node.js.map +1 -1
  35. package/dist/nodes/LocalFileTrigger/LocalFileTrigger.node.js +2 -2
  36. package/dist/nodes/LocalFileTrigger/LocalFileTrigger.node.js.map +1 -1
  37. package/dist/nodes/MQTT/MqttTrigger.node.js +2 -2
  38. package/dist/nodes/MQTT/MqttTrigger.node.js.map +1 -1
  39. package/dist/nodes/Postgres/PostgresTrigger.node.js +2 -2
  40. package/dist/nodes/Postgres/PostgresTrigger.node.js.map +1 -1
  41. package/dist/nodes/RabbitMQ/RabbitMQTrigger.node.js +2 -2
  42. package/dist/nodes/RabbitMQ/RabbitMQTrigger.node.js.map +1 -1
  43. package/dist/nodes/SeaTable/v2/actions/asset/upload.operation.js.map +1 -1
  44. package/dist/nodes/SeaTable/v2/actions/row/get.operation.js.map +1 -1
  45. package/dist/nodes/SeaTable/v2/actions/row/list.operation.js.map +1 -1
  46. package/dist/nodes/SeaTable/v2/actions/row/search.operation.js.map +1 -1
  47. package/dist/nodes/SseTrigger/SseTrigger.node.js +2 -2
  48. package/dist/nodes/SseTrigger/SseTrigger.node.js.map +1 -1
  49. package/dist/test/nodes/Helpers.d.ts +5 -0
  50. package/dist/test/nodes/Helpers.js +16 -170
  51. package/dist/test/nodes/Helpers.js.map +1 -1
  52. package/dist/types/credentials.json +1 -1
  53. package/dist/types/nodes.json +11 -11
  54. package/package.json +5 -5
  55. package/dist/nodes/Google/GSuiteAdmin/google-workspace-admin.png +0 -0
  56. package/dist/test/nodes/ExecuteWorkflow.js +0 -120
  57. package/dist/test/nodes/ExecuteWorkflow.js.map +0 -1
  58. package/dist/test/nodes/credential-types.js +0 -57
  59. package/dist/test/nodes/credential-types.js.map +0 -1
  60. package/dist/test/nodes/credentials-helper.js +0 -76
  61. package/dist/test/nodes/credentials-helper.js.map +0 -1
  62. package/dist/test/nodes/load-nodes-and-credentials.js +0 -68
  63. package/dist/test/nodes/load-nodes-and-credentials.js.map +0 -1
  64. package/dist/test/nodes/node-types.js +0 -56
  65. package/dist/test/nodes/node-types.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../nodes/Google/GSuiteAdmin/UserDescription.ts"],"sourcesContent":["import type { INodeProperties } from 'n8n-workflow';\n\nexport const userOperations: INodeProperties[] = [\n\t{\n\t\tdisplayName: 'Operation',\n\t\tname: 'operation',\n\t\ttype: 'options',\n\t\tnoDataExpression: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tname: 'Create',\n\t\t\t\tvalue: 'create',\n\t\t\t\tdescription: 'Create a user',\n\t\t\t\taction: 'Create a user',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Delete',\n\t\t\t\tvalue: 'delete',\n\t\t\t\tdescription: 'Delete a user',\n\t\t\t\taction: 'Delete a user',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Get',\n\t\t\t\tvalue: 'get',\n\t\t\t\tdescription: 'Get a user',\n\t\t\t\taction: 'Get a user',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Get Many',\n\t\t\t\tvalue: 'getAll',\n\t\t\t\tdescription: 'Get many users',\n\t\t\t\taction: 'Get many users',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Update',\n\t\t\t\tvalue: 'update',\n\t\t\t\tdescription: 'Update a user',\n\t\t\t\taction: 'Update a user',\n\t\t\t},\n\t\t],\n\t\tdefault: 'create',\n\t},\n];\n\nexport const userFields: INodeProperties[] = [\n\t/* -------------------------------------------------------------------------- */\n\t/* user:create */\n\t/* -------------------------------------------------------------------------- */\n\t{\n\t\tdisplayName: 'First Name',\n\t\tname: 'firstName',\n\t\ttype: 'string',\n\t\trequired: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['create'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: '',\n\t},\n\t{\n\t\tdisplayName: 'Last Name',\n\t\tname: 'lastName',\n\t\ttype: 'string',\n\t\trequired: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['create'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: '',\n\t},\n\t{\n\t\tdisplayName: 'Password',\n\t\tname: 'password',\n\t\ttype: 'string',\n\t\ttypeOptions: {\n\t\t\tpassword: true,\n\t\t},\n\t\trequired: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['create'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: '',\n\t\tdescription:\n\t\t\t'Stores the password for the user account. A minimum of 8 characters is required. The maximum length is 100 characters.',\n\t},\n\t{\n\t\tdisplayName: 'Domain Name or ID',\n\t\tname: 'domain',\n\t\ttype: 'options',\n\t\tdescription:\n\t\t\t'Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>',\n\t\ttypeOptions: {\n\t\t\tloadOptionsMethod: 'getDomains',\n\t\t},\n\t\trequired: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['create'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: '',\n\t},\n\t{\n\t\tdisplayName: 'Username',\n\t\tname: 'username',\n\t\ttype: 'string',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['create'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: '',\n\t\tdescription:\n\t\t\t\"The username that will be set to the user. Example: If you domain is example.com and you set the username to jhon then the user's final email address will be jhon@example.com.\",\n\t},\n\t{\n\t\tdisplayName: 'Make Admin',\n\t\tname: 'makeAdmin',\n\t\ttype: 'boolean',\n\t\trequired: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['create'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: false,\n\t\tdescription: 'Whether to make a user a super administrator',\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\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['create'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tdisplayName: 'Change Password At Next Login',\n\t\t\t\tname: 'changePasswordAtNextLogin',\n\n\t\t\t\ttype: 'boolean',\n\t\t\t\tdefault: false,\n\t\t\t\tdescription: 'Whether the user is forced to change their password at next login',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Phones',\n\t\t\t\tname: 'phoneUi',\n\t\t\t\tplaceholder: 'Add Phone',\n\t\t\t\ttype: 'fixedCollection',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tmultipleValues: true,\n\t\t\t\t},\n\t\t\t\tdefault: {},\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'phoneValues',\n\t\t\t\t\t\tdisplayName: 'Phone',\n\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Type',\n\t\t\t\t\t\t\t\tname: 'type',\n\t\t\t\t\t\t\t\ttype: 'options',\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: 'Assistant',\n\t\t\t\t\t\t\t\t\t\tvalue: 'assistant',\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: 'Callback',\n\t\t\t\t\t\t\t\t\t\tvalue: 'callback',\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: 'Car',\n\t\t\t\t\t\t\t\t\t\tvalue: 'car',\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: 'Company Main',\n\t\t\t\t\t\t\t\t\t\tvalue: 'company_main',\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',\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\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Grand Central',\n\t\t\t\t\t\t\t\t\t\tvalue: 'grand_central',\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: 'Home',\n\t\t\t\t\t\t\t\t\t\tvalue: 'home',\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: 'Home Fax',\n\t\t\t\t\t\t\t\t\t\tvalue: 'home_fax',\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\t// eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased\n\t\t\t\t\t\t\t\t\t\tname: 'isdn',\n\t\t\t\t\t\t\t\t\t\tvalue: 'isdn',\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: 'Main',\n\t\t\t\t\t\t\t\t\t\tvalue: 'main',\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: 'Mobile',\n\t\t\t\t\t\t\t\t\t\tvalue: 'mobile',\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: 'Other',\n\t\t\t\t\t\t\t\t\t\tvalue: 'other',\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: 'Other Fax',\n\t\t\t\t\t\t\t\t\t\tvalue: 'other_fax',\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: 'Pager',\n\t\t\t\t\t\t\t\t\t\tvalue: 'pager',\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: 'Radio',\n\t\t\t\t\t\t\t\t\t\tvalue: 'radio',\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: 'Telex',\n\t\t\t\t\t\t\t\t\t\tvalue: 'telex',\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\t// eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased\n\t\t\t\t\t\t\t\t\t\tname: 'tty tdd',\n\t\t\t\t\t\t\t\t\t\tvalue: 'tty_tdd',\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: 'Work',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work',\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: 'Work Fax',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work_fax',\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: 'Work Mobile',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work_mobile',\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: 'Work Pager',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work_pager',\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\tdefault: 'work',\n\t\t\t\t\t\t\t\tdescription: 'The type of 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\tdisplayName: 'Phone Number',\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},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Primary',\n\t\t\t\t\t\t\t\tname: 'primary',\n\t\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\t\tdefault: false,\n\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\"Whether this is the user's primary phone number. A user may only have one primary phone number.\",\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: 'Secondary Emails',\n\t\t\t\tname: 'emailUi',\n\t\t\t\tplaceholder: 'Add Email',\n\t\t\t\ttype: 'fixedCollection',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tmultipleValues: true,\n\t\t\t\t},\n\t\t\t\tdefault: {},\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'emailValues',\n\t\t\t\t\t\tdisplayName: 'Email',\n\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Type',\n\t\t\t\t\t\t\t\tname: 'type',\n\t\t\t\t\t\t\t\ttype: 'options',\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: 'Home',\n\t\t\t\t\t\t\t\t\t\tvalue: 'home',\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: 'Work',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work',\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: 'Other',\n\t\t\t\t\t\t\t\t\t\tvalue: 'other',\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\tdefault: 'work',\n\t\t\t\t\t\t\t\tdescription: 'The type of the email account',\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: 'Email',\n\t\t\t\t\t\t\t\tname: 'address',\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},\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/* user:delete */\n\t/* -------------------------------------------------------------------------- */\n\t{\n\t\tdisplayName: 'User ID',\n\t\tname: 'userId',\n\t\ttype: 'string',\n\t\trequired: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['delete'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: '',\n\t\tdescription:\n\t\t\t\"The value can be the user's primary email address, alias email address, or unique user ID\",\n\t},\n\t/* -------------------------------------------------------------------------- */\n\t/* user:get */\n\t/* -------------------------------------------------------------------------- */\n\t{\n\t\tdisplayName: 'User ID',\n\t\tname: 'userId',\n\t\ttype: 'string',\n\t\trequired: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['get'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: '',\n\t\tdescription:\n\t\t\t\"The value can be the user's primary email address, alias email address, or unique user ID\",\n\t},\n\t{\n\t\tdisplayName: 'Projection',\n\t\tname: 'projection',\n\t\ttype: 'options',\n\t\trequired: true,\n\t\toptions: [\n\t\t\t{\n\t\t\t\tname: 'Basic',\n\t\t\t\tvalue: 'basic',\n\t\t\t\tdescription: 'Do not include any custom fields for the user',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Custom',\n\t\t\t\tvalue: 'custom',\n\t\t\t\tdescription: 'Include custom fields from schemas requested in customField',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Full',\n\t\t\t\tvalue: 'full',\n\t\t\t\tdescription: 'Include all fields associated with this user',\n\t\t\t},\n\t\t],\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['get'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: 'basic',\n\t\tdescription: 'What subset of fields to fetch for this user',\n\t},\n\t{\n\t\tdisplayName: 'Options',\n\t\tname: 'options',\n\t\ttype: 'collection',\n\t\tplaceholder: 'Add option',\n\t\tdefault: {},\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['get'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tdisplayName: 'Custom Schema Names or IDs',\n\t\t\t\tname: 'customFieldMask',\n\t\t\t\ttype: 'multiOptions',\n\t\t\t\tdisplayOptions: {\n\t\t\t\t\tshow: {\n\t\t\t\t\t\t'/projection': ['custom'],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tloadOptionsMethod: 'getSchemas',\n\t\t\t\t},\n\t\t\t\tdefault: [],\n\t\t\t\tdescription:\n\t\t\t\t\t'A comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when projection=custom. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'View Type',\n\t\t\t\tname: 'viewType',\n\t\t\t\ttype: 'options',\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'Admin View',\n\t\t\t\t\t\tvalue: 'admin_view',\n\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t'Results include both administrator-only and domain-public fields for the user',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'Descending',\n\t\t\t\t\t\tvalue: 'DESCENDING',\n\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t'Results only include fields for the user that are publicly visible to other users in the domain',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tdefault: 'admin_view',\n\t\t\t\tdescription:\n\t\t\t\t\t'Whether to fetch the administrator-only or domain-wide public view of the user. For more information, see Retrieve a user as a non-administrator.',\n\t\t\t},\n\t\t],\n\t},\n\t/* -------------------------------------------------------------------------- */\n\t/* user:getAll */\n\t/* -------------------------------------------------------------------------- */\n\t{\n\t\tdisplayName: 'Return All',\n\t\tname: 'returnAll',\n\t\ttype: 'boolean',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['getAll'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: false,\n\t\tdescription: 'Whether to return all results or only up to a given limit',\n\t},\n\t{\n\t\tdisplayName: 'Limit',\n\t\tname: 'limit',\n\t\ttype: 'number',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['getAll'],\n\t\t\t\tresource: ['user'],\n\t\t\t\treturnAll: [false],\n\t\t\t},\n\t\t},\n\t\ttypeOptions: {\n\t\t\tminValue: 1,\n\t\t\tmaxValue: 500,\n\t\t},\n\t\tdefault: 100,\n\t\tdescription: 'Max number of results to return',\n\t},\n\t{\n\t\tdisplayName: 'Projection',\n\t\tname: 'projection',\n\t\ttype: 'options',\n\t\trequired: true,\n\t\toptions: [\n\t\t\t{\n\t\t\t\tname: 'Basic',\n\t\t\t\tvalue: 'basic',\n\t\t\t\tdescription: 'Do not include any custom fields for the user',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Custom',\n\t\t\t\tvalue: 'custom',\n\t\t\t\tdescription: 'Include custom fields from schemas requested in customField',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Full',\n\t\t\t\tvalue: 'full',\n\t\t\t\tdescription: 'Include all fields associated with this user',\n\t\t\t},\n\t\t],\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['getAll'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: 'basic',\n\t\tdescription: 'What subset of fields to fetch for this user',\n\t},\n\t{\n\t\tdisplayName: 'Options',\n\t\tname: 'options',\n\t\ttype: 'collection',\n\t\tplaceholder: 'Add option',\n\t\tdefault: {},\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['getAll'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tdisplayName: 'Custom Schema Names or IDs',\n\t\t\t\tname: 'customFieldMask',\n\t\t\t\ttype: 'multiOptions',\n\t\t\t\tdisplayOptions: {\n\t\t\t\t\tshow: {\n\t\t\t\t\t\t'/projection': ['custom'],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tloadOptionsMethod: 'getSchemas',\n\t\t\t\t},\n\t\t\t\tdefault: [],\n\t\t\t\tdescription:\n\t\t\t\t\t'A comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when projection=custom. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Customer',\n\t\t\t\tname: 'customer',\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: '',\n\t\t\t\tdescription:\n\t\t\t\t\t\"The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, fill this field instead of domain.\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Domain',\n\t\t\t\tname: 'domain',\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: '',\n\t\t\t\tdescription: 'The domain name. Use this field to get fields from only one domain.',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Order By',\n\t\t\t\tname: 'orderBy',\n\t\t\t\ttype: 'options',\n\t\t\t\toptions: [\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\t{\n\t\t\t\t\t\tname: 'Family Name',\n\t\t\t\t\t\tvalue: 'familyName',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'Given Name',\n\t\t\t\t\t\tvalue: 'givenName',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tdefault: '',\n\t\t\t\tdescription: 'Property to use for sorting results',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Query',\n\t\t\t\tname: 'query',\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: '',\n\t\t\t\tdescription:\n\t\t\t\t\t'Free text search terms to find users that match these terms in any field, except for extended properties. For more information on constructing user queries, see <a href=\"https://developers.google.com/admin-sdk/directory/v1/guides/search-users\">Search for Users</a>.',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Show Deleted',\n\t\t\t\tname: 'showDeleted',\n\t\t\t\ttype: 'boolean',\n\t\t\t\tdefault: false,\n\t\t\t\tdescription: 'Whether to retrieve the list of deleted users',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Sort Order',\n\t\t\t\tname: 'sortOrder',\n\t\t\t\ttype: 'options',\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'Ascending',\n\t\t\t\t\t\tvalue: 'ASCENDING',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'Descending',\n\t\t\t\t\t\tvalue: 'DESCENDING',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tdefault: '',\n\t\t\t\tdescription: 'Whether to return results in ascending or descending order',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'View Type',\n\t\t\t\tname: 'viewType',\n\t\t\t\ttype: 'options',\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'Admin View',\n\t\t\t\t\t\tvalue: 'admin_view',\n\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t'Results include both administrator-only and domain-public fields for the user',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'Descending',\n\t\t\t\t\t\tvalue: 'DESCENDING',\n\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t'Results only include fields for the user that are publicly visible to other users in the domain',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tdefault: 'admin_view',\n\t\t\t\tdescription:\n\t\t\t\t\t'Whether to fetch the administrator-only or domain-wide public view of the user. For more information, see Retrieve a user as a non-administrator.',\n\t\t\t},\n\t\t],\n\t},\n\t/* -------------------------------------------------------------------------- */\n\t/* user:update */\n\t/* -------------------------------------------------------------------------- */\n\t{\n\t\tdisplayName: 'User ID',\n\t\tname: 'userId',\n\t\ttype: 'string',\n\t\trequired: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['update'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: '',\n\t\tdescription:\n\t\t\t\"The value can be the user's primary email address, alias email address, or unique user ID\",\n\t},\n\t{\n\t\tdisplayName: 'Update Fields',\n\t\tname: 'updateFields',\n\t\ttype: 'collection',\n\t\tplaceholder: 'Add Field',\n\t\tdefault: {},\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['update'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tdisplayName: 'Archived',\n\t\t\t\tname: 'archived',\n\t\t\t\ttype: 'boolean',\n\t\t\t\tdefault: false,\n\t\t\t\tdescription: 'Whether user is archived',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Change Password At Next Login',\n\t\t\t\tname: 'changePasswordAtNextLogin',\n\n\t\t\t\ttype: 'boolean',\n\t\t\t\tdefault: false,\n\t\t\t\tdescription: 'Whether the user is forced to change their password at next login',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'First Name',\n\t\t\t\tname: 'firstName',\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: '',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Last Name',\n\t\t\t\tname: 'lastName',\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: '',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Password',\n\t\t\t\tname: 'password',\n\t\t\t\ttype: 'string',\n\t\t\t\ttypeOptions: { password: true },\n\t\t\t\tdefault: '',\n\t\t\t\tdescription:\n\t\t\t\t\t'Stores the password for the user account. A minimum of 8 characters is required. The maximum length is 100 characters.',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Phones',\n\t\t\t\tname: 'phoneUi',\n\t\t\t\tplaceholder: 'Add Phone',\n\t\t\t\ttype: 'fixedCollection',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tmultipleValues: true,\n\t\t\t\t},\n\t\t\t\tdefault: {},\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'phoneValues',\n\t\t\t\t\t\tdisplayName: 'Phone',\n\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Type',\n\t\t\t\t\t\t\t\tname: 'type',\n\t\t\t\t\t\t\t\ttype: 'options',\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: 'Assistant',\n\t\t\t\t\t\t\t\t\t\tvalue: 'assistant',\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: 'Callback',\n\t\t\t\t\t\t\t\t\t\tvalue: 'callback',\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: 'Car',\n\t\t\t\t\t\t\t\t\t\tvalue: 'car',\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: 'Company Main',\n\t\t\t\t\t\t\t\t\t\tvalue: 'company_main',\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',\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\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Grand Central',\n\t\t\t\t\t\t\t\t\t\tvalue: 'grand_central',\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: 'Home',\n\t\t\t\t\t\t\t\t\t\tvalue: 'home',\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: 'Home Fax',\n\t\t\t\t\t\t\t\t\t\tvalue: 'home_fax',\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: 'Isdn',\n\t\t\t\t\t\t\t\t\t\tvalue: 'isdn',\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: 'Main',\n\t\t\t\t\t\t\t\t\t\tvalue: 'main',\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: 'Mobile',\n\t\t\t\t\t\t\t\t\t\tvalue: 'mobile',\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: 'Other',\n\t\t\t\t\t\t\t\t\t\tvalue: 'other',\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: 'Other Fax',\n\t\t\t\t\t\t\t\t\t\tvalue: 'other_fax',\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: 'Pager',\n\t\t\t\t\t\t\t\t\t\tvalue: 'pager',\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: 'Radio',\n\t\t\t\t\t\t\t\t\t\tvalue: 'radio',\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: 'Telex',\n\t\t\t\t\t\t\t\t\t\tvalue: 'telex',\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: 'Tty Tdd',\n\t\t\t\t\t\t\t\t\t\tvalue: 'tty_tdd',\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: 'Work',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work',\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: 'Work Fax',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work_fax',\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: 'Work Mobile',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work_mobile',\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: 'Work Pager',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work_pager',\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\tdefault: 'work',\n\t\t\t\t\t\t\t\tdescription: 'The type of 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\tdisplayName: 'Phone Number',\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},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Primary',\n\t\t\t\t\t\t\t\tname: 'primary',\n\t\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\t\tdefault: false,\n\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\"Whether this is the user's primary phone number. A user may only have one primary phone number.\",\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: 'Primary Email',\n\t\t\t\tname: 'primaryEmail',\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: '',\n\t\t\t\tdescription:\n\t\t\t\t\t\"The user's primary email address. This property is required in a request to create a user account. The primaryEmail must be unique and cannot be an alias of another user.\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Secondary Emails',\n\t\t\t\tname: 'emailUi',\n\t\t\t\tplaceholder: 'Add Email',\n\t\t\t\ttype: 'fixedCollection',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tmultipleValues: true,\n\t\t\t\t},\n\t\t\t\tdefault: {},\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'emailValues',\n\t\t\t\t\t\tdisplayName: 'Email',\n\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Type',\n\t\t\t\t\t\t\t\tname: 'type',\n\t\t\t\t\t\t\t\ttype: 'options',\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: 'Home',\n\t\t\t\t\t\t\t\t\t\tvalue: 'home',\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: 'Work',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work',\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: 'Other',\n\t\t\t\t\t\t\t\t\t\tvalue: 'other',\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\tdefault: 'work',\n\t\t\t\t\t\t\t\tdescription: 'The type of the email account',\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: 'Email',\n\t\t\t\t\t\t\t\tname: 'address',\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},\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];\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,MAAM,iBAAoC;AAAA,EAChD;AAAA,IACC,aAAa;AAAA,IACb,MA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;AAAA,gBACA,SAAS;AAAA,gBACT,aAAa;AAAA,cACd;AAAA,cACA;AAAA,gBACC,aAAa;AAAA,gBACb,MAAM;AAAA,gBACN,MAAM;AAAA,gBACN,SAAS;AAAA,cACV;AAAA,cACA;AAAA,gBACC,aAAa;AAAA,gBACb,MAAM;AAAA,gBACN,MAAM;AAAA,gBACN,SAAS;AAAA,gBACT,aACC;AAAA,cACF;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,aACC;AAAA,MACF;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,aAAa;AAAA,QACb,MAAM;AAAA,QACN,aAAa;AAAA,UACZ,gBAAgB;AAAA,QACjB;AAAA,QACA,SAAS,CAAC;AAAA,QACV,SAAS;AAAA,UACR;AAAA,YACC,MAAM;AAAA,YACN,aAAa;AAAA,YACb,QAAQ;AAAA,cACP;AAAA,gBACC,aAAa;AAAA,gBACb,MAAM;AAAA,gBACN,MAAM;AAAA,gBACN,SAAS;AAAA,kBACR;AAAA,oBACC,MAAM;AAAA,oBACN,OAAO;AAAA,kBACR;AAAA,kBACA;AAAA,oBACC,MAAM;AAAA,oBACN,OAAO;AAAA,kBACR;AAAA,kBACA;AAAA,oBACC,MAAM;AAAA,oBACN,OAAO;AAAA,kBACR;AAAA,gBACD;AAAA,gBACA,SAAS;AAAA,gBACT,aAAa;AAAA,cACd;AAAA,cACA;AAAA,gBACC,aAAa;AAAA,gBACb,MAAM;AAAA,gBACN,MAAM;AAAA,gBACN,SAAS;AAAA,cACV;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;AACD;","names":[]}
1
+ {"version":3,"sources":["../../../../nodes/Google/GSuiteAdmin/UserDescription.ts"],"sourcesContent":["import type { INodeProperties } from 'n8n-workflow';\n\nconst rolesOptions = [\n\t{\n\t\tname: 'Directory Sync Admin',\n\t\tvalue: 'directorySyncAdmin',\n\t\tdescription: 'Whether to assign the Directory Sync Admin role',\n\t},\n\t{\n\t\tname: 'Groups Admin',\n\t\tvalue: 'groupsAdmin',\n\t\tdescription: 'Whether to assign the Groups Admin role',\n\t},\n\t{\n\t\tname: 'Groups Editor',\n\t\tvalue: 'groupsEditor',\n\t\tdescription: 'Whether to assign the Groups Editor role',\n\t},\n\t{\n\t\tname: 'Groups Reader',\n\t\tvalue: 'groupsReader',\n\t\tdescription: 'Whether to assign the Groups Reader role',\n\t},\n\t{\n\t\tname: 'Help Desk Admin',\n\t\tvalue: 'helpDeskAdmin',\n\t\tdescription: 'Whether to assign the Help Desk Admin role',\n\t},\n\t{\n\t\tname: 'Inventory Reporting Admin',\n\t\tvalue: 'inventoryReportingAdmin',\n\t\tdescription: 'Whether to assign the Inventory Reporting Admin role',\n\t},\n\t{\n\t\tname: 'Mobile Admin',\n\t\tvalue: 'mobileAdmin',\n\t\tdescription: 'Whether to assign the Mobile Admin role',\n\t},\n\t{\n\t\tname: 'Services Admin',\n\t\tvalue: 'servicesAdmin',\n\t\tdescription: 'Whether to assign the Services Admin role',\n\t},\n\t{\n\t\tname: 'Storage Admin',\n\t\tvalue: 'storageAdmin',\n\t\tdescription: 'Whether to assign the Storage Admin role',\n\t},\n\t{\n\t\tname: 'Super Admin',\n\t\tvalue: 'superAdmin',\n\t\tdescription: 'Whether to assign the Super Admin role',\n\t},\n\t{\n\t\tname: 'User Management',\n\t\tvalue: 'userManagement',\n\t\tdescription: 'Whether to assign the User Management role',\n\t},\n];\n\nexport const userOperations: INodeProperties[] = [\n\t{\n\t\tdisplayName: 'Operation',\n\t\tname: 'operation',\n\t\ttype: 'options',\n\t\tnoDataExpression: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tname: 'Add to Group',\n\t\t\t\tvalue: 'addToGroup',\n\t\t\t\tdescription: 'Add an existing user to a group',\n\t\t\t\taction: 'Add user to group',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Create',\n\t\t\t\tvalue: 'create',\n\t\t\t\tdescription: 'Create a user',\n\t\t\t\taction: 'Create a user',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Delete',\n\t\t\t\tvalue: 'delete',\n\t\t\t\tdescription: 'Delete a user',\n\t\t\t\taction: 'Delete a user',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Get',\n\t\t\t\tvalue: 'get',\n\t\t\t\tdescription: 'Get a user',\n\t\t\t\taction: 'Get a user',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Get Many',\n\t\t\t\tvalue: 'getAll',\n\t\t\t\tdescription: 'Get many users',\n\t\t\t\taction: 'Get many users',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Remove From Group',\n\t\t\t\tvalue: 'removeFromGroup',\n\t\t\t\tdescription: 'Remove a user from a group',\n\t\t\t\taction: 'Remove user from group',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Update',\n\t\t\t\tvalue: 'update',\n\t\t\t\tdescription: 'Update a user',\n\t\t\t\taction: 'Update a user',\n\t\t\t},\n\t\t],\n\t\tdefault: 'create',\n\t},\n];\n\nexport const userFields: INodeProperties[] = [\n\t/* -------------------------------------------------------------------------- */\n\t/* user */\n\t/* -------------------------------------------------------------------------- */\n\t{\n\t\tdisplayName: 'User',\n\t\tname: 'userId',\n\t\trequired: true,\n\t\ttype: 'resourceLocator',\n\t\tdefault: {\n\t\t\tmode: 'list',\n\t\t\tvalue: '',\n\t\t},\n\t\tdescription: 'Select the user to perform the operation on',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\tresource: ['user'],\n\t\t\t\toperation: ['addToGroup', 'delete', 'get', 'removeFromGroup', 'update'],\n\t\t\t},\n\t\t},\n\t\tmodes: [\n\t\t\t{\n\t\t\t\tdisplayName: 'From list',\n\t\t\t\tname: 'list',\n\t\t\t\ttype: 'list',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tsearchListMethod: 'searchUsers',\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'By Email',\n\t\t\t\tname: 'userEmail',\n\t\t\t\ttype: 'string',\n\t\t\t\thint: 'Enter the user email',\n\t\t\t\tplaceholder: 'e.g. sales@example.com',\n\t\t\t\tvalidation: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: 'regex',\n\t\t\t\t\t\tproperties: {\n\t\t\t\t\t\t\tregex: '^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\\\.[a-zA-Z]{2,}$',\n\t\t\t\t\t\t\terrorMessage: 'Please enter a valid email address.',\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: 'By ID',\n\t\t\t\tname: 'userId',\n\t\t\t\ttype: 'string',\n\t\t\t\thint: 'Enter the user id',\n\t\t\t\tplaceholder: 'e.g. 123456789879230471055',\n\t\t\t},\n\t\t],\n\t},\n\n\t/* -------------------------------------------------------------------------- */\n\t/* user:addToGroup */\n\t/* -------------------------------------------------------------------------- */\n\t{\n\t\tdisplayName: 'Group',\n\t\tname: 'groupId',\n\t\trequired: true,\n\t\ttype: 'resourceLocator',\n\t\tdefault: {\n\t\t\tmode: 'list',\n\t\t\tvalue: '',\n\t\t},\n\t\tdescription: 'Select the group to perform the operation on',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\tresource: ['user'],\n\t\t\t\toperation: ['addToGroup', 'removeFromGroup'],\n\t\t\t},\n\t\t},\n\t\tmodes: [\n\t\t\t{\n\t\t\t\tdisplayName: 'From list',\n\t\t\t\tname: 'list',\n\t\t\t\ttype: 'list',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tsearchListMethod: 'searchGroups',\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'By ID',\n\t\t\t\tname: 'groupId',\n\t\t\t\ttype: 'string',\n\t\t\t\tplaceholder: 'e.g. 0123kx3o1habcdf',\n\t\t\t},\n\t\t],\n\t},\n\n\t/* -------------------------------------------------------------------------- */\n\t/* user:create */\n\t/* -------------------------------------------------------------------------- */\n\t{\n\t\tdisplayName: 'First Name',\n\t\tname: 'firstName',\n\t\tplaceholder: 'e.g. Nathan',\n\t\ttype: 'string',\n\t\trequired: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['create'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: '',\n\t},\n\t{\n\t\tdisplayName: 'Last Name',\n\t\tname: 'lastName',\n\t\ttype: 'string',\n\t\trequired: true,\n\t\tplaceholder: 'e.g. Smith',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['create'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: '',\n\t},\n\t{\n\t\tdisplayName: 'Password',\n\t\tname: 'password',\n\t\ttype: 'string',\n\t\ttypeOptions: {\n\t\t\tpassword: true,\n\t\t},\n\t\trequired: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['create'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: '',\n\t\tdescription:\n\t\t\t'Stores the password for the user account. A minimum of 8 characters is required. The maximum length is 100 characters.',\n\t},\n\t{\n\t\tdisplayName: 'Username',\n\t\tname: 'username',\n\t\ttype: 'string',\n\t\tplaceholder: 'e.g. n.smith',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['create'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: '',\n\t\tdescription:\n\t\t\t\"The username that will be set to the user. Example: If you domain is example.com and you set the username to n.smith then the user's final email address will be n.smith@example.com.\",\n\t},\n\t{\n\t\tdisplayName: 'Domain Name or ID',\n\t\tname: 'domain',\n\t\ttype: 'options',\n\t\tdescription:\n\t\t\t'Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>',\n\t\ttypeOptions: {\n\t\t\tloadOptionsMethod: 'getDomains',\n\t\t},\n\t\trequired: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['create'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: '',\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\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['create'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tdisplayName: 'Change Password at Next Login',\n\t\t\t\tname: 'changePasswordAtNextLogin',\n\t\t\t\ttype: 'boolean',\n\t\t\t\tdefault: false,\n\t\t\t\tdescription: 'Whether the user is forced to change their password at next login',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Phones',\n\t\t\t\tname: 'phoneUi',\n\t\t\t\tplaceholder: 'Add Phone',\n\t\t\t\ttype: 'fixedCollection',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tmultipleValues: true,\n\t\t\t\t},\n\t\t\t\tdefault: {},\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'phoneValues',\n\t\t\t\t\t\tdisplayName: 'Phone',\n\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Type',\n\t\t\t\t\t\t\t\tname: 'type',\n\t\t\t\t\t\t\t\ttype: 'options',\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: 'Assistant',\n\t\t\t\t\t\t\t\t\t\tvalue: 'assistant',\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: 'Callback',\n\t\t\t\t\t\t\t\t\t\tvalue: 'callback',\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: 'Car',\n\t\t\t\t\t\t\t\t\t\tvalue: 'car',\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: 'Company Main',\n\t\t\t\t\t\t\t\t\t\tvalue: 'company_main',\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',\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\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Grand Central',\n\t\t\t\t\t\t\t\t\t\tvalue: 'grand_central',\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: 'Home',\n\t\t\t\t\t\t\t\t\t\tvalue: 'home',\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: 'Home Fax',\n\t\t\t\t\t\t\t\t\t\tvalue: 'home_fax',\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: 'ISDN',\n\t\t\t\t\t\t\t\t\t\tvalue: 'isdn',\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: 'Main',\n\t\t\t\t\t\t\t\t\t\tvalue: 'main',\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: 'Mobile',\n\t\t\t\t\t\t\t\t\t\tvalue: 'mobile',\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: 'Other',\n\t\t\t\t\t\t\t\t\t\tvalue: 'other',\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: 'Other Fax',\n\t\t\t\t\t\t\t\t\t\tvalue: 'other_fax',\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: 'Pager',\n\t\t\t\t\t\t\t\t\t\tvalue: 'pager',\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: 'Radio',\n\t\t\t\t\t\t\t\t\t\tvalue: 'radio',\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: 'Telex',\n\t\t\t\t\t\t\t\t\t\tvalue: 'telex',\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: 'TTY TDD',\n\t\t\t\t\t\t\t\t\t\tvalue: 'tty_tdd',\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: 'Work',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work',\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: 'Work Fax',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work_fax',\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: 'Work Mobile',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work_mobile',\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: 'Work Pager',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work_pager',\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\tdefault: 'work',\n\t\t\t\t\t\t\t\tdescription: 'The type of 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\tdisplayName: 'Phone Number',\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},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Primary',\n\t\t\t\t\t\t\t\tname: 'primary',\n\t\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\t\tdefault: false,\n\t\t\t\t\t\t\t\tdescription: \"Whether this is the user's primary phone number\",\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: 'Secondary Emails',\n\t\t\t\tname: 'emailUi',\n\t\t\t\tplaceholder: 'Add Email',\n\t\t\t\ttype: 'fixedCollection',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tmultipleValues: true,\n\t\t\t\t},\n\t\t\t\tdefault: {},\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'emailValues',\n\t\t\t\t\t\tdisplayName: 'Email',\n\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Type',\n\t\t\t\t\t\t\t\tname: 'type',\n\t\t\t\t\t\t\t\ttype: 'options',\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: 'Home',\n\t\t\t\t\t\t\t\t\t\tvalue: 'home',\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: 'Work',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work',\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: 'Other',\n\t\t\t\t\t\t\t\t\t\tvalue: 'other',\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\tdefault: 'work',\n\t\t\t\t\t\t\t\tdescription: 'The type of the email account',\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: 'Email',\n\t\t\t\t\t\t\t\tname: 'address',\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},\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: 'Roles',\n\t\t\t\tname: 'roles',\n\t\t\t\ttype: 'multiOptions',\n\t\t\t\tdefault: [],\n\t\t\t\tdescription: 'Select the roles you want to assign to the user',\n\t\t\t\toptions: rolesOptions,\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Custom Fields',\n\t\t\t\tname: 'customFields',\n\t\t\t\tplaceholder: 'Add or Edit Custom Fields',\n\t\t\t\ttype: 'fixedCollection',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tmultipleValues: true,\n\t\t\t\t},\n\t\t\t\tdefault: {},\n\t\t\t\tdescription: 'Allows editing and adding of custom fields',\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'fieldValues',\n\t\t\t\t\t\tdisplayName: 'Field',\n\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Schema Name or ID',\n\t\t\t\t\t\t\t\tname: 'schemaName',\n\t\t\t\t\t\t\t\ttype: 'options',\n\t\t\t\t\t\t\t\ttypeOptions: {\n\t\t\t\t\t\t\t\t\tloadOptionsMethod: 'getSchemas',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t'Select the schema to use for custom fields. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.',\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: 'Field Name or ID',\n\t\t\t\t\t\t\t\tname: 'fieldName',\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\trequired: true,\n\t\t\t\t\t\t\t\tdescription: 'Enter a field name from the selected schema',\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\trequired: true,\n\t\t\t\t\t\t\t\tdescription: 'Provide a value for the selected field',\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\n\t/* -------------------------------------------------------------------------- */\n\t/* user:get */\n\t/* -------------------------------------------------------------------------- */\n\t{\n\t\tdisplayName: 'Output',\n\t\tname: 'output',\n\t\ttype: 'options',\n\t\trequired: true,\n\t\tdefault: 'simplified',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['get'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tname: 'Simplified',\n\t\t\t\tvalue: 'simplified',\n\t\t\t\tdescription:\n\t\t\t\t\t'Only return specific fields: kind, ID, primaryEmail, name (with subfields), isAdmin, lastLoginTime, creationTime, and suspended',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Raw',\n\t\t\t\tvalue: 'raw',\n\t\t\t\tdescription: 'Return all fields from the API response',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Select Included Fields',\n\t\t\t\tvalue: 'select',\n\t\t\t\tdescription: 'Choose specific fields to include',\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tdisplayName: 'Fields',\n\t\tname: 'fields',\n\t\ttype: 'multiOptions',\n\t\tdefault: [],\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toutput: ['select'],\n\t\t\t\toperation: ['get'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tname: 'Creation Time',\n\t\t\t\tvalue: 'creationTime',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Is Admin',\n\t\t\t\tvalue: 'isAdmin',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Kind',\n\t\t\t\tvalue: 'kind',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Last Login Time',\n\t\t\t\tvalue: 'lastLoginTime',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Name',\n\t\t\t\tvalue: 'name',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Primary Email',\n\t\t\t\tvalue: 'primaryEmail',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Suspended',\n\t\t\t\tvalue: 'suspended',\n\t\t\t},\n\t\t],\n\t\tdescription: 'Fields to include in the response when \"Select Included Fields\" is chosen',\n\t},\n\t{\n\t\tdisplayName: 'Custom Fields',\n\t\tname: 'projection',\n\t\ttype: 'options',\n\t\trequired: true,\n\t\toptions: [\n\t\t\t{\n\t\t\t\tname: \"Don't Include\",\n\t\t\t\tvalue: 'basic',\n\t\t\t\tdescription: 'Do not include any custom fields for the user',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Custom',\n\t\t\t\tvalue: 'custom',\n\t\t\t\tdescription: 'Include custom fields from schemas requested in Custom Schema Names or IDs',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Include All',\n\t\t\t\tvalue: 'full',\n\t\t\t\tdescription: 'Include all fields associated with this user',\n\t\t\t},\n\t\t],\n\t\tdefault: 'basic',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['get'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdescription: 'What subset of fields to fetch for this user',\n\t},\n\t{\n\t\tdisplayName: 'Custom Schema Names or IDs',\n\t\tname: 'customFieldMask',\n\t\ttype: 'multiOptions',\n\t\trequired: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['get'],\n\t\t\t\tresource: ['user'],\n\t\t\t\t'/projection': ['custom'],\n\t\t\t},\n\t\t},\n\t\ttypeOptions: {\n\t\t\tloadOptionsMethod: 'getSchemas',\n\t\t},\n\t\tdefault: [],\n\t\tdescription:\n\t\t\t'A comma-separated list of schema names. All fields from these schemas are fetched. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.',\n\t},\n\n\t/* -------------------------------------------------------------------------- */\n\t/* user:getAll */\n\t/* -------------------------------------------------------------------------- */\n\t{\n\t\tdisplayName: 'Return All',\n\t\tname: 'returnAll',\n\t\ttype: 'boolean',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['getAll'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\tdefault: false,\n\t\tdescription: 'Whether to return all results or only up to a given limit',\n\t},\n\t{\n\t\tdisplayName: 'Limit',\n\t\tname: 'limit',\n\t\ttype: 'number',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['getAll'],\n\t\t\t\tresource: ['user'],\n\t\t\t\treturnAll: [false],\n\t\t\t},\n\t\t},\n\t\ttypeOptions: {\n\t\t\tminValue: 1,\n\t\t\tmaxValue: 500,\n\t\t},\n\t\tdefault: 100,\n\t\tdescription: 'Max number of results to return',\n\t},\n\t{\n\t\tdisplayName: 'Output',\n\t\tname: 'output',\n\t\ttype: 'options',\n\t\trequired: true,\n\t\tdefault: 'simplified',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['getAll'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tname: 'Simplified',\n\t\t\t\tvalue: 'simplified',\n\t\t\t\tdescription:\n\t\t\t\t\t'Only return specific fields: kind, ID, primaryEmail, name (with subfields), isAdmin, lastLoginTime, creationTime, and suspended',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Raw',\n\t\t\t\tvalue: 'raw',\n\t\t\t\tdescription: 'Return all fields from the API response',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Select Included Fields',\n\t\t\t\tvalue: 'select',\n\t\t\t\tdescription: 'Choose specific fields to include',\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tdisplayName: 'Fields',\n\t\tname: 'fields',\n\t\ttype: 'multiOptions',\n\t\tdefault: [],\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toutput: ['select'],\n\t\t\t\toperation: ['getAll'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tname: 'Creation Time',\n\t\t\t\tvalue: 'creationTime',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Is Admin',\n\t\t\t\tvalue: 'isAdmin',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Kind',\n\t\t\t\tvalue: 'kind',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Last Login Time',\n\t\t\t\tvalue: 'lastLoginTime',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Name',\n\t\t\t\tvalue: 'name',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Primary Email',\n\t\t\t\tvalue: 'primaryEmail',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Suspended',\n\t\t\t\tvalue: 'suspended',\n\t\t\t},\n\t\t],\n\t\tdescription: 'Fields to include in the response when \"Select Included Fields\" is chosen',\n\t},\n\t{\n\t\tdisplayName: 'Custom Fields',\n\t\tname: 'projection',\n\t\ttype: 'options',\n\t\trequired: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['getAll'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tname: \"Don't Include\",\n\t\t\t\tvalue: 'basic',\n\t\t\t\tdescription: 'Do not include any custom fields for the user',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Custom',\n\t\t\t\tvalue: 'custom',\n\t\t\t\tdescription: 'Include custom fields from schemas requested in Custom Schema Names or IDs',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Include All',\n\t\t\t\tvalue: 'full',\n\t\t\t\tdescription: 'Include all fields associated with this user',\n\t\t\t},\n\t\t],\n\t\tdefault: 'basic',\n\t\tdescription: 'What subset of fields to fetch for this user',\n\t},\n\t{\n\t\tdisplayName: 'Custom Schema Names or IDs',\n\t\tname: 'customFieldMask',\n\t\ttype: 'multiOptions',\n\t\trequired: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['getAll'],\n\t\t\t\tresource: ['user'],\n\t\t\t\t'/projection': ['custom'],\n\t\t\t},\n\t\t},\n\t\ttypeOptions: {\n\t\t\tloadOptionsMethod: 'getSchemas',\n\t\t},\n\t\tdefault: [],\n\t\tdescription:\n\t\t\t'A comma-separated list of schema names. All fields from these schemas are fetched. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.',\n\t},\n\t{\n\t\tdisplayName: 'Filter',\n\t\tname: 'filter',\n\t\ttype: 'collection',\n\t\tplaceholder: 'Add Filter',\n\t\tdefault: {},\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['getAll'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tdisplayName: 'Customer',\n\t\t\t\tname: 'customer',\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: '',\n\t\t\t\tdescription: \"The unique ID for the customer's Google Workspace account\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Domain',\n\t\t\t\tname: 'domain',\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: '',\n\t\t\t\tdescription: 'The domain name. Use this field to get groups from a specific domain.',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Query',\n\t\t\t\tname: 'query',\n\t\t\t\ttype: 'string',\n\t\t\t\tplaceholder: 'e.g. name:contact* email:contact*',\n\t\t\t\tdefault: '',\n\t\t\t\tdescription:\n\t\t\t\t\t'Query string to filter the results. Follow Google Admin SDK documentation. <a href=\"https://developers.google.com/admin-sdk/directory/v1/guides/search-users#examples\" target=\"_blank\">More info</a>.',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Show Deleted',\n\t\t\t\tname: 'showDeleted',\n\t\t\t\ttype: 'boolean',\n\t\t\t\tdefault: false,\n\t\t\t\tdescription: 'Whether retrieve the list of deleted users',\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tdisplayName: 'Sort',\n\t\tname: 'sort',\n\t\ttype: 'fixedCollection',\n\t\tplaceholder: 'Add Sort Rule',\n\t\tdefault: {},\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['getAll'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tname: 'sortRules',\n\t\t\t\tdisplayName: 'Sort Rules',\n\t\t\t\tvalues: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdisplayName: 'Order By',\n\t\t\t\t\t\tname: 'orderBy',\n\t\t\t\t\t\ttype: 'options',\n\t\t\t\t\t\toptions: [\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: 'familyName',\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: 'givenName',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\tdescription: 'Field to sort the results by',\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdisplayName: 'Sort Order',\n\t\t\t\t\t\tname: 'sortOrder',\n\t\t\t\t\t\ttype: 'options',\n\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: 'Ascending',\n\t\t\t\t\t\t\t\tvalue: 'ASCENDING',\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: 'Descending',\n\t\t\t\t\t\t\t\tvalue: 'DESCENDING',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tdefault: 'ASCENDING',\n\t\t\t\t\t\tdescription: 'Sort order direction',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t\tdescription: 'Define sorting rules for the results',\n\t},\n\n\t/* -------------------------------------------------------------------------- */\n\t/* user:update */\n\t/* -------------------------------------------------------------------------- */\n\t{\n\t\tdisplayName: 'Update Fields',\n\t\tname: 'updateFields',\n\t\ttype: 'collection',\n\t\tplaceholder: 'Add Field',\n\t\tdefault: {},\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\toperation: ['update'],\n\t\t\t\tresource: ['user'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tdisplayName: 'Archived',\n\t\t\t\tname: 'archived',\n\t\t\t\ttype: 'boolean',\n\t\t\t\tdefault: false,\n\t\t\t\tdescription: 'Whether user is archived',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Suspend',\n\t\t\t\tname: 'suspendUi',\n\t\t\t\ttype: 'boolean',\n\t\t\t\tdefault: false,\n\t\t\t\tdescription:\n\t\t\t\t\t'Whether to set the user as suspended. If set to OFF, the user will be reactivated. If not added, the status will remain unchanged.',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Change Password at Next Login',\n\t\t\t\tname: 'changePasswordAtNextLogin',\n\t\t\t\ttype: 'boolean',\n\t\t\t\tdefault: false,\n\t\t\t\tdescription: 'Whether the user is forced to change their password at next login',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'First Name',\n\t\t\t\tname: 'firstName',\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: '',\n\t\t\t\tplaceholder: 'e.g. John',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Last Name',\n\t\t\t\tname: 'lastName',\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: '',\n\t\t\t\tplaceholder: 'e.g. Doe',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Password',\n\t\t\t\tname: 'password',\n\t\t\t\ttype: 'string',\n\t\t\t\ttypeOptions: { password: true },\n\t\t\t\tdefault: '',\n\t\t\t\tplaceholder: 'e.g. MyStrongP@ssword123',\n\t\t\t\tdescription:\n\t\t\t\t\t'Stores the password for the user account. A minimum of 8 characters is required. The maximum length is 100 characters.',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Phones',\n\t\t\t\tname: 'phoneUi',\n\t\t\t\tplaceholder: 'Add Phone',\n\t\t\t\ttype: 'fixedCollection',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tmultipleValues: true,\n\t\t\t\t},\n\t\t\t\tdefault: {},\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'phoneValues',\n\t\t\t\t\t\tdisplayName: 'Phone',\n\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Type',\n\t\t\t\t\t\t\t\tname: 'type',\n\t\t\t\t\t\t\t\ttype: 'options',\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: 'Assistant',\n\t\t\t\t\t\t\t\t\t\tvalue: 'assistant',\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: 'Callback',\n\t\t\t\t\t\t\t\t\t\tvalue: 'callback',\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: 'Car',\n\t\t\t\t\t\t\t\t\t\tvalue: 'car',\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: 'Company Main',\n\t\t\t\t\t\t\t\t\t\tvalue: 'company_main',\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',\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\t{\n\t\t\t\t\t\t\t\t\t\tname: 'Grand Central',\n\t\t\t\t\t\t\t\t\t\tvalue: 'grand_central',\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: 'Home',\n\t\t\t\t\t\t\t\t\t\tvalue: 'home',\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: 'Home Fax',\n\t\t\t\t\t\t\t\t\t\tvalue: 'home_fax',\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: 'ISDN',\n\t\t\t\t\t\t\t\t\t\tvalue: 'isdn',\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: 'Main',\n\t\t\t\t\t\t\t\t\t\tvalue: 'main',\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: 'Mobile',\n\t\t\t\t\t\t\t\t\t\tvalue: 'mobile',\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: 'Other',\n\t\t\t\t\t\t\t\t\t\tvalue: 'other',\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: 'Other Fax',\n\t\t\t\t\t\t\t\t\t\tvalue: 'other_fax',\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: 'Pager',\n\t\t\t\t\t\t\t\t\t\tvalue: 'pager',\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: 'Radio',\n\t\t\t\t\t\t\t\t\t\tvalue: 'radio',\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: 'Telex',\n\t\t\t\t\t\t\t\t\t\tvalue: 'telex',\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: 'TTY TDD',\n\t\t\t\t\t\t\t\t\t\tvalue: 'tty_tdd',\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: 'Work',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work',\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: 'Work Fax',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work_fax',\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: 'Work Mobile',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work_mobile',\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: 'Work Pager',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work_pager',\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\tdefault: 'work',\n\t\t\t\t\t\t\t\tdescription: 'The type of 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\tdisplayName: 'Phone Number',\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\tplaceholder: 'e.g. +1234567890',\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: 'Primary',\n\t\t\t\t\t\t\t\tname: 'primary',\n\t\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\t\tdefault: false,\n\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\"Whether this is the user's primary phone number. A user may only have one primary phone number.\",\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: 'Primary Email',\n\t\t\t\tname: 'primaryEmail',\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: '',\n\t\t\t\tplaceholder: 'e.g. john.doe@example.com',\n\t\t\t\tdescription:\n\t\t\t\t\t\"The user's primary email address. This property is required in a request to create a user account. The primaryEmail must be unique and cannot be an alias of another user.\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Secondary Emails',\n\t\t\t\tname: 'emailUi',\n\t\t\t\tplaceholder: 'Add Email',\n\t\t\t\ttype: 'fixedCollection',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tmultipleValues: true,\n\t\t\t\t},\n\t\t\t\tdefault: {},\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'emailValues',\n\t\t\t\t\t\tdisplayName: 'Email',\n\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Type',\n\t\t\t\t\t\t\t\tname: 'type',\n\t\t\t\t\t\t\t\ttype: 'options',\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: 'Home',\n\t\t\t\t\t\t\t\t\t\tvalue: 'home',\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: 'Work',\n\t\t\t\t\t\t\t\t\t\tvalue: 'work',\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: 'Other',\n\t\t\t\t\t\t\t\t\t\tvalue: 'other',\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\tdefault: 'work',\n\t\t\t\t\t\t\t\tdescription: 'The type of the email account',\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: 'Email',\n\t\t\t\t\t\t\t\tname: 'address',\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: 'e.g. john.doe.work@example.com',\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: 'Roles',\n\t\t\t\tname: 'roles',\n\t\t\t\ttype: 'multiOptions',\n\t\t\t\tdefault: [],\n\t\t\t\tdescription: 'Select the roles you want to assign to the user',\n\t\t\t\toptions: rolesOptions,\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Custom Fields',\n\t\t\t\tname: 'customFields',\n\t\t\t\tplaceholder: 'Add or Edit Custom Fields',\n\t\t\t\ttype: 'fixedCollection',\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tmultipleValues: true,\n\t\t\t\t},\n\t\t\t\tdefault: {},\n\t\t\t\tdescription: 'Allows editing and adding of custom fields',\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'fieldValues',\n\t\t\t\t\t\tdisplayName: 'Field',\n\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayName: 'Schema Name or ID',\n\t\t\t\t\t\t\t\tname: 'schemaName',\n\t\t\t\t\t\t\t\ttype: 'options',\n\t\t\t\t\t\t\t\ttypeOptions: {\n\t\t\t\t\t\t\t\t\tloadOptionsMethod: 'getSchemas',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t'Select the schema to use for custom fields. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.',\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: 'Field Name or ID',\n\t\t\t\t\t\t\t\tname: 'fieldName',\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\trequired: true,\n\t\t\t\t\t\t\t\tdescription: 'Enter a field name from the selected schema',\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\trequired: true,\n\t\t\t\t\t\t\t\tdescription: 'Provide a value for the selected field',\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];\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,MAAM,eAAe;AAAA,EACpB;AAAA,IACC,MAAM;AAAA,IACN,OAAO;AAAA,IACP,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAO;AAAA,IACP,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAO;AAAA,IACP,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAO;AAAA,IACP,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAO;AAAA,IACP,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAO;AAAA,IACP,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAO;AAAA,IACP,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAO;AAAA,IACP,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAO;AAAA,IACP,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAO;AAAA,IACP,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAO;AAAA,IACP,aAAa;AAAA,EACd;AACD;AAEO,MAAM,iBAAoC;AAAA,EAChD;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAA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AA,QACb,MAAM;AAAA,QACN,aAAa;AAAA,QACb,MAAM;AAAA,QACN,aAAa;AAAA,UACZ,gBAAgB;AAAA,QACjB;AAAA,QACA,SAAS,CAAC;AAAA,QACV,aAAa;AAAA,QACb,SAAS;AAAA,UACR;AAAA,YACC,MAAM;AAAA,YACN,aAAa;AAAA,YACb,QAAQ;AAAA,cACP;AAAA,gBACC,aAAa;AAAA,gBACb,MAAM;AAAA,gBACN,MAAM;AAAA,gBACN,aAAa;AAAA,kBACZ,mBAAmB;AAAA,gBACpB;AAAA,gBACA,SAAS;AAAA,gBACT,aACC;AAAA,cACF;AAAA,cACA;AAAA,gBACC,aAAa;AAAA,gBACb,MAAM;AAAA,gBACN,MAAM;AAAA,gBACN,SAAS;AAAA,gBACT,UAAU;AAAA,gBACV,aAAa;AAAA,cACd;AAAA,cACA;AAAA,gBACC,aAAa;AAAA,gBACb,MAAM;AAAA,gBACN,MAAM;AAAA,gBACN,SAAS;AAAA,gBACT,UAAU;AAAA,gBACV,aAAa;AAAA,cACd;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;AACD;","names":[]}
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 192 192" height="192" viewBox="0 0 192 192" width="192"><rect fill="none" height="192" width="192"/><g><g><path d="M24.53,130l20.69,35.84c3.27,5.67,9.32,9.16,15.86,9.16h44.06l-7.93-24.07L78.15,130l-26.81-4.66 L24.53,130z" fill="#1967D2"/><path d="M182.06,86.84l-20.09-34.8l-17.28,19.13L134.49,96l11.08,26.57l16.27,17.6l20.22-35.01 C185.33,99.49,185.33,92.51,182.06,86.84z" fill="#1967D2"/><path d="M105.15,17H61.09c-6.54,0-12.59,3.49-15.86,9.16L24.53,62l26.81,4.66L78.15,62l19.57-20.93L105.15,17z" fill="#1967D2"/><path d="M57.75,96l20.4-34H24.53L10.19,86.84c-3.27,5.67-3.27,12.65,0,18.32L24.53,130h53.62L57.75,96z" fill="#4285F4"/><path d="M114.09,62l20.4,34l27.47-43.96l-14.94-25.88c-3.27-5.67-9.32-9.16-15.86-9.16h-26.01l-27,45H114.09z" fill="#4285F4"/><path d="M114.09,130H78.15l27,45h26.01c6.54,0,12.59-3.49,15.86-9.16l14.82-25.67L134.49,96L114.09,130z" fill="#4285F4"/></g></g></svg>
@@ -605,6 +605,7 @@ class HttpRequestV2 {
605
605
  } catch {
606
606
  }
607
607
  let httpBasicAuth;
608
+ let httpBearerAuth;
608
609
  let httpDigestAuth;
609
610
  let httpHeaderAuth;
610
611
  let httpQueryAuth;
@@ -618,6 +619,11 @@ class HttpRequestV2 {
618
619
  httpBasicAuth = await this.getCredentials("httpBasicAuth");
619
620
  } catch {
620
621
  }
622
+ } else if (genericAuthType === "httpBearerAuth") {
623
+ try {
624
+ httpBearerAuth = await this.getCredentials("httpBearerAuth");
625
+ } catch {
626
+ }
621
627
  } else if (genericAuthType === "httpDigestAuth") {
622
628
  try {
623
629
  httpDigestAuth = await this.getCredentials("httpDigestAuth");
@@ -878,6 +884,11 @@ class HttpRequestV2 {
878
884
  };
879
885
  authDataKeys.auth = ["pass"];
880
886
  }
887
+ if (httpBearerAuth !== void 0) {
888
+ requestOptions.headers = requestOptions.headers ?? {};
889
+ requestOptions.headers.Authorization = `Bearer ${String(httpBearerAuth.token)}`;
890
+ authDataKeys.headers = ["Authorization"];
891
+ }
881
892
  if (httpHeaderAuth !== void 0) {
882
893
  requestOptions.headers[httpHeaderAuth.name] = httpHeaderAuth.value;
883
894
  authDataKeys.headers = [httpHeaderAuth.name];
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../nodes/HttpRequest/V2/HttpRequestV2.node.ts"],"sourcesContent":["import type {\n\tIDataObject,\n\tIExecuteFunctions,\n\tIHttpRequestMethods,\n\tINodeExecutionData,\n\tINodeType,\n\tINodeTypeBaseDescription,\n\tINodeTypeDescription,\n\tIRequestOptions,\n\tJsonObject,\n} from 'n8n-workflow';\nimport {\n\tNodeApiError,\n\tNodeOperationError,\n\tsleep,\n\tremoveCircularRefs,\n\tNodeConnectionTypes,\n} from 'n8n-workflow';\nimport type { Readable } from 'stream';\n\nimport type { IAuthDataSanitizeKeys } from '../GenericFunctions';\nimport {\n\tgetOAuth2AdditionalParameters,\n\treplaceNullValues,\n\tsanitizeUiMessage,\n} from '../GenericFunctions';\n\ninterface OptionData {\n\tname: string;\n\tdisplayName: string;\n}\n\ninterface OptionDataParameters {\n\t[key: string]: OptionData;\n}\n\ntype IRequestOptionsKeys = keyof IRequestOptions;\nexport class HttpRequestV2 implements INodeType {\n\tdescription: INodeTypeDescription;\n\n\tconstructor(baseDescription: INodeTypeBaseDescription) {\n\t\tthis.description = {\n\t\t\t...baseDescription,\n\t\t\tdefaults: {\n\t\t\t\tname: 'HTTP Request',\n\t\t\t\tcolor: '#2200DD',\n\t\t\t},\n\t\t\tversion: 2,\n\t\t\tinputs: [NodeConnectionTypes.Main],\n\t\t\toutputs: [NodeConnectionTypes.Main],\n\t\t\tcredentials: [\n\t\t\t\t{\n\t\t\t\t\tname: 'httpBasicAuth',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['httpBasicAuth'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'httpDigestAuth',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['httpDigestAuth'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'httpHeaderAuth',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['httpHeaderAuth'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'httpQueryAuth',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['httpQueryAuth'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'oAuth1Api',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['oAuth1Api'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'oAuth2Api',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['oAuth2Api'],\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\tproperties: [\n\t\t\t\t// ----------------------------------\n\t\t\t\t// v2 params\n\t\t\t\t// ----------------------------------\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Authentication',\n\t\t\t\t\tname: 'authentication',\n\t\t\t\t\tnoDataExpression: true,\n\t\t\t\t\ttype: 'options',\n\t\t\t\t\trequired: true,\n\t\t\t\t\toptions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'None',\n\t\t\t\t\t\t\tvalue: 'none',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'Predefined Credential Type',\n\t\t\t\t\t\t\tvalue: 'predefinedCredentialType',\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\"We've already implemented auth for many services so that you don't have to set it up manually\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'Generic Credential Type',\n\t\t\t\t\t\t\tvalue: 'genericCredentialType',\n\t\t\t\t\t\t\tdescription: 'Fully customizable. Choose between basic, header, OAuth2, etc.',\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\tdefault: 'none',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Credential Type',\n\t\t\t\t\tname: 'nodeCredentialType',\n\t\t\t\t\ttype: 'credentialsSelect',\n\t\t\t\t\tnoDataExpression: true,\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdefault: '',\n\t\t\t\t\tcredentialTypes: ['extends:oAuth2Api', 'extends:oAuth1Api', 'has:authenticate'],\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['predefinedCredentialType'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Generic Auth Type',\n\t\t\t\t\tname: 'genericAuthType',\n\t\t\t\t\ttype: 'credentialsSelect',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdefault: '',\n\t\t\t\t\tcredentialTypes: ['has:genericAuth'],\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['genericCredentialType'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t// ----------------------------------\n\t\t\t\t// versionless params\n\t\t\t\t// ----------------------------------\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Request Method',\n\t\t\t\t\tname: 'requestMethod',\n\t\t\t\t\ttype: 'options',\n\t\t\t\t\toptions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'DELETE',\n\t\t\t\t\t\t\tvalue: 'DELETE',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'GET',\n\t\t\t\t\t\t\tvalue: 'GET',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'HEAD',\n\t\t\t\t\t\t\tvalue: 'HEAD',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'OPTIONS',\n\t\t\t\t\t\t\tvalue: 'OPTIONS',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'PATCH',\n\t\t\t\t\t\t\tvalue: 'PATCH',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'POST',\n\t\t\t\t\t\t\tvalue: 'POST',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'PUT',\n\t\t\t\t\t\t\tvalue: 'PUT',\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\tdefault: 'GET',\n\t\t\t\t\tdescription: 'The request method to use',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'URL',\n\t\t\t\t\tname: 'url',\n\t\t\t\t\ttype: 'string',\n\t\t\t\t\tdefault: '',\n\t\t\t\t\tplaceholder: 'http://example.com/index.html',\n\t\t\t\t\tdescription: 'The URL to make the request to',\n\t\t\t\t\trequired: true,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Ignore SSL Issues (Insecure)',\n\t\t\t\t\tname: 'allowUnauthorizedCerts',\n\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\tdefault: false,\n\t\t\t\t\t// eslint-disable-next-line n8n-nodes-base/node-param-description-wrong-for-ignore-ssl-issues\n\t\t\t\t\tdescription:\n\t\t\t\t\t\t'Whether to download the response even if SSL certificate validation is not possible',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Response Format',\n\t\t\t\t\tname: 'responseFormat',\n\t\t\t\t\ttype: 'options',\n\t\t\t\t\toptions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'File',\n\t\t\t\t\t\t\tvalue: 'file',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'JSON',\n\t\t\t\t\t\t\tvalue: 'json',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'String',\n\t\t\t\t\t\t\tvalue: 'string',\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\tdefault: 'json',\n\t\t\t\t\tdescription: 'The format in which the data gets returned from the URL',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Property Name',\n\t\t\t\t\tname: 'dataPropertyName',\n\t\t\t\t\ttype: 'string',\n\t\t\t\t\tdefault: 'data',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tresponseFormat: ['string'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdescription: 'Name of the property to which to write the response data',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Put Output File in Field',\n\t\t\t\t\tname: 'dataPropertyName',\n\t\t\t\t\ttype: 'string',\n\t\t\t\t\tdefault: 'data',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tresponseFormat: ['file'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\thint: 'The name of the output binary field to put the file in',\n\t\t\t\t},\n\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'JSON/RAW Parameters',\n\t\t\t\t\tname: 'jsonParameters',\n\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\tdefault: false,\n\t\t\t\t\tdescription:\n\t\t\t\t\t\t'Whether the query and/or body parameter should be set via the value-key pair UI or JSON/RAW',\n\t\t\t\t},\n\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Options',\n\t\t\t\t\tname: 'options',\n\t\t\t\t\ttype: 'collection',\n\t\t\t\t\tplaceholder: 'Add option',\n\t\t\t\t\tdefault: {},\n\t\t\t\t\toptions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Batch Interval',\n\t\t\t\t\t\t\tname: 'batchInterval',\n\t\t\t\t\t\t\ttype: 'number',\n\t\t\t\t\t\t\ttypeOptions: {\n\t\t\t\t\t\t\t\tminValue: 0,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tdefault: 1000,\n\t\t\t\t\t\t\tdescription: 'Time (in milliseconds) between each batch of requests. 0 for disabled.',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Batch Size',\n\t\t\t\t\t\t\tname: 'batchSize',\n\t\t\t\t\t\t\ttype: 'number',\n\t\t\t\t\t\t\ttypeOptions: {\n\t\t\t\t\t\t\t\tminValue: -1,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tdefault: 50,\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t'Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1.',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Body Content Type',\n\t\t\t\t\t\t\tname: 'bodyContentType',\n\t\t\t\t\t\t\ttype: 'options',\n\t\t\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\t\t\t'/requestMethod': ['PATCH', 'POST', 'PUT'],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tname: 'JSON',\n\t\t\t\t\t\t\t\t\tvalue: 'json',\n\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\t\tname: 'RAW/Custom',\n\t\t\t\t\t\t\t\t\tvalue: 'raw',\n\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\t\tname: 'Form-Data Multipart',\n\t\t\t\t\t\t\t\t\tvalue: 'multipart-form-data',\n\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\t\tname: 'Form Urlencoded',\n\t\t\t\t\t\t\t\t\tvalue: 'form-urlencoded',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdefault: 'json',\n\t\t\t\t\t\t\tdescription: 'Content-Type to use to send body parameters',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Full Response',\n\t\t\t\t\t\t\tname: 'fullResponse',\n\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\tdefault: false,\n\t\t\t\t\t\t\tdescription: 'Whether to return the full response data instead of only the body',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Follow All Redirects',\n\t\t\t\t\t\t\tname: 'followAllRedirects',\n\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\tdefault: false,\n\t\t\t\t\t\t\tdescription: 'Whether to follow All HTTP 3xx redirects',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Follow GET/HEAD Redirect',\n\t\t\t\t\t\t\tname: 'followRedirect',\n\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\tdefault: true,\n\t\t\t\t\t\t\tdescription: 'Whether to follow GET or HEAD HTTP 3xx redirects',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Ignore Response Code',\n\t\t\t\t\t\t\tname: 'ignoreResponseCode',\n\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\tdefault: false,\n\t\t\t\t\t\t\tdescription: 'Whether to succeeds also when status code is not 2xx',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'MIME Type',\n\t\t\t\t\t\t\tname: 'bodyContentCustomMimeType',\n\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\tplaceholder: 'text/xml',\n\t\t\t\t\t\t\tdescription: 'Specify the mime type for raw/custom body type',\n\t\t\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\t\t\t'/requestMethod': ['PATCH', 'POST', 'PUT'],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Proxy',\n\t\t\t\t\t\t\tname: 'proxy',\n\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\tplaceholder: 'http://myproxy:3128',\n\t\t\t\t\t\t\tdescription: 'HTTP proxy to use',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Split Into Items',\n\t\t\t\t\t\t\tname: 'splitIntoItems',\n\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\tdefault: false,\n\t\t\t\t\t\t\tdescription: 'Whether to output each element of an array as own item',\n\t\t\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\t\t\t'/responseFormat': ['json'],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Timeout',\n\t\t\t\t\t\t\tname: 'timeout',\n\t\t\t\t\t\t\ttype: 'number',\n\t\t\t\t\t\t\ttypeOptions: {\n\t\t\t\t\t\t\t\tminValue: 1,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tdefault: 10000,\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t'Time in ms to wait for the server to send response headers (and start the response body) before aborting the request',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Use Querystring',\n\t\t\t\t\t\t\tname: 'useQueryString',\n\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\tdefault: false,\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t'Whether you need arrays to be serialized as foo=bar&foo=baz instead of the default foo[0]=bar&foo[1]=baz',\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\n\t\t\t\t// Body Parameter\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Send Binary File',\n\t\t\t\t\tname: 'sendBinaryData',\n\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\t// TODO: Make it possible to use dot-notation\n\t\t\t\t\t\t\t// 'options.bodyContentType': [\n\t\t\t\t\t\t\t// \t'raw',\n\t\t\t\t\t\t\t// ],\n\t\t\t\t\t\t\tjsonParameters: [true],\n\t\t\t\t\t\t\trequestMethod: ['PATCH', 'POST', 'PUT'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdefault: false,\n\t\t\t\t\tdescription: 'Whether binary data should be send as body',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Input Binary Field',\n\t\t\t\t\tname: 'binaryPropertyName',\n\t\t\t\t\ttype: 'string',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdefault: 'data',\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\thide: {\n\t\t\t\t\t\t\tsendBinaryData: [false],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tjsonParameters: [true],\n\t\t\t\t\t\t\trequestMethod: ['PATCH', 'POST', 'PUT'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\thint: 'The name of the input binary field containing the file to be uploaded',\n\t\t\t\t\tdescription:\n\t\t\t\t\t\t'For Form-Data Multipart, they can be provided in the format: <code>\"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Body Parameters',\n\t\t\t\t\tname: 'bodyParametersJson',\n\t\t\t\t\ttype: 'json',\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\thide: {\n\t\t\t\t\t\t\tsendBinaryData: [true],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tjsonParameters: [true],\n\t\t\t\t\t\t\trequestMethod: ['PATCH', 'POST', 'PUT', 'DELETE'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdefault: '',\n\t\t\t\t\tdescription: 'Body parameters as JSON or RAW',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Body Parameters',\n\t\t\t\t\tname: 'bodyParametersUi',\n\t\t\t\t\tplaceholder: 'Add Parameter',\n\t\t\t\t\ttype: 'fixedCollection',\n\t\t\t\t\ttypeOptions: {\n\t\t\t\t\t\tmultipleValues: true,\n\t\t\t\t\t},\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tjsonParameters: [false],\n\t\t\t\t\t\t\trequestMethod: ['PATCH', 'POST', 'PUT', 'DELETE'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdescription: 'The body parameter to send',\n\t\t\t\t\tdefault: {},\n\t\t\t\t\toptions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'parameter',\n\t\t\t\t\t\t\tdisplayName: 'Parameter',\n\t\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplayName: 'Name',\n\t\t\t\t\t\t\t\t\tname: 'name',\n\t\t\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\t\tdescription: 'Name of the parameter',\n\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\t\tdisplayName: 'Value',\n\t\t\t\t\t\t\t\t\tname: 'value',\n\t\t\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\t\tdescription: 'Value of the parameter',\n\t\t\t\t\t\t\t\t},\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\n\t\t\t\t// Header Parameters\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Headers',\n\t\t\t\t\tname: 'headerParametersJson',\n\t\t\t\t\ttype: 'json',\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tjsonParameters: [true],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdefault: '',\n\t\t\t\t\tdescription: 'Header parameters as JSON or RAW',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Headers',\n\t\t\t\t\tname: 'headerParametersUi',\n\t\t\t\t\tplaceholder: 'Add Header',\n\t\t\t\t\ttype: 'fixedCollection',\n\t\t\t\t\ttypeOptions: {\n\t\t\t\t\t\tmultipleValues: true,\n\t\t\t\t\t},\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tjsonParameters: [false],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdescription: 'The headers to send',\n\t\t\t\t\tdefault: {},\n\t\t\t\t\toptions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'parameter',\n\t\t\t\t\t\t\tdisplayName: 'Header',\n\t\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplayName: 'Name',\n\t\t\t\t\t\t\t\t\tname: 'name',\n\t\t\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\t\tdescription: 'Name of the header',\n\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\t\tdisplayName: 'Value',\n\t\t\t\t\t\t\t\t\tname: 'value',\n\t\t\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\t\tdescription: 'Value to set for the header',\n\t\t\t\t\t\t\t\t},\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\n\t\t\t\t// Query Parameter\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Query Parameters',\n\t\t\t\t\tname: 'queryParametersJson',\n\t\t\t\t\ttype: 'json',\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tjsonParameters: [true],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdefault: '',\n\t\t\t\t\tdescription: 'Query parameters as JSON (flat object)',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Query Parameters',\n\t\t\t\t\tname: 'queryParametersUi',\n\t\t\t\t\tplaceholder: 'Add Parameter',\n\t\t\t\t\ttype: 'fixedCollection',\n\t\t\t\t\ttypeOptions: {\n\t\t\t\t\t\tmultipleValues: true,\n\t\t\t\t\t},\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tjsonParameters: [false],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdescription: 'The query parameter to send',\n\t\t\t\t\tdefault: {},\n\t\t\t\t\toptions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'parameter',\n\t\t\t\t\t\t\tdisplayName: 'Parameter',\n\t\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplayName: 'Name',\n\t\t\t\t\t\t\t\t\tname: 'name',\n\t\t\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\t\tdescription: 'Name of the parameter',\n\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\t\tdisplayName: 'Value',\n\t\t\t\t\t\t\t\t\tname: 'value',\n\t\t\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\t\tdescription: 'Value of the parameter',\n\t\t\t\t\t\t\t\t},\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\t{\n\t\t\t\t\tdisplayName:\n\t\t\t\t\t\t\"You can view the raw requests this node makes in your browser's developer console\",\n\t\t\t\t\tname: 'infoMessage',\n\t\t\t\t\ttype: 'notice',\n\t\t\t\t\tdefault: '',\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t}\n\n\tasync execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {\n\t\tconst items = this.getInputData();\n\n\t\tconst fullResponseProperties = ['body', 'headers', 'statusCode', 'statusMessage'];\n\n\t\tlet authentication;\n\n\t\tconst responseFormat = this.getNodeParameter('responseFormat', 0) as string;\n\n\t\ttry {\n\t\t\tauthentication = this.getNodeParameter('authentication', 0) as\n\t\t\t\t| 'predefinedCredentialType'\n\t\t\t\t| 'genericCredentialType'\n\t\t\t\t| 'none';\n\t\t} catch {}\n\n\t\tlet httpBasicAuth;\n\t\tlet httpDigestAuth;\n\t\tlet httpHeaderAuth;\n\t\tlet httpQueryAuth;\n\t\tlet oAuth1Api;\n\t\tlet oAuth2Api;\n\t\tlet nodeCredentialType;\n\n\t\tif (authentication === 'genericCredentialType') {\n\t\t\tconst genericAuthType = this.getNodeParameter('genericAuthType', 0) as string;\n\n\t\t\tif (genericAuthType === 'httpBasicAuth') {\n\t\t\t\ttry {\n\t\t\t\t\thttpBasicAuth = await this.getCredentials('httpBasicAuth');\n\t\t\t\t} catch {}\n\t\t\t} else if (genericAuthType === 'httpDigestAuth') {\n\t\t\t\ttry {\n\t\t\t\t\thttpDigestAuth = await this.getCredentials('httpDigestAuth');\n\t\t\t\t} catch {}\n\t\t\t} else if (genericAuthType === 'httpHeaderAuth') {\n\t\t\t\ttry {\n\t\t\t\t\thttpHeaderAuth = await this.getCredentials('httpHeaderAuth');\n\t\t\t\t} catch {}\n\t\t\t} else if (genericAuthType === 'httpQueryAuth') {\n\t\t\t\ttry {\n\t\t\t\t\thttpQueryAuth = await this.getCredentials('httpQueryAuth');\n\t\t\t\t} catch {}\n\t\t\t} else if (genericAuthType === 'oAuth1Api') {\n\t\t\t\ttry {\n\t\t\t\t\toAuth1Api = await this.getCredentials('oAuth1Api');\n\t\t\t\t} catch {}\n\t\t\t} else if (genericAuthType === 'oAuth2Api') {\n\t\t\t\ttry {\n\t\t\t\t\toAuth2Api = await this.getCredentials('oAuth2Api');\n\t\t\t\t} catch {}\n\t\t\t}\n\t\t} else if (authentication === 'predefinedCredentialType') {\n\t\t\ttry {\n\t\t\t\tnodeCredentialType = this.getNodeParameter('nodeCredentialType', 0) as string;\n\t\t\t} catch {}\n\t\t}\n\n\t\tlet requestOptions: IRequestOptions & { useStream?: boolean };\n\t\tlet setUiParameter: IDataObject;\n\n\t\tconst uiParameters: IDataObject = {\n\t\t\tbodyParametersUi: 'body',\n\t\t\theaderParametersUi: 'headers',\n\t\t\tqueryParametersUi: 'qs',\n\t\t};\n\n\t\tconst jsonParameters: OptionDataParameters = {\n\t\t\tbodyParametersJson: {\n\t\t\t\tname: 'body',\n\t\t\t\tdisplayName: 'Body Parameters',\n\t\t\t},\n\t\t\theaderParametersJson: {\n\t\t\t\tname: 'headers',\n\t\t\t\tdisplayName: 'Headers',\n\t\t\t},\n\t\t\tqueryParametersJson: {\n\t\t\t\tname: 'qs',\n\t\t\t\tdisplayName: 'Query Parameters',\n\t\t\t},\n\t\t};\n\t\tlet returnItems: INodeExecutionData[] = [];\n\t\tconst requestPromises = [];\n\t\tfor (let itemIndex = 0; itemIndex < items.length; itemIndex++) {\n\t\t\tconst requestMethod = this.getNodeParameter(\n\t\t\t\t'requestMethod',\n\t\t\t\titemIndex,\n\t\t\t) as IHttpRequestMethods;\n\t\t\tconst parametersAreJson = this.getNodeParameter('jsonParameters', itemIndex);\n\n\t\t\tconst options = this.getNodeParameter('options', itemIndex, {});\n\t\t\tconst url = this.getNodeParameter('url', itemIndex) as string;\n\n\t\t\tif (\n\t\t\t\titemIndex > 0 &&\n\t\t\t\t(options.batchSize as number) >= 0 &&\n\t\t\t\t(options.batchInterval as number) > 0\n\t\t\t) {\n\t\t\t\t// defaults batch size to 1 of it's set to 0\n\t\t\t\tconst batchSize: number =\n\t\t\t\t\t(options.batchSize as number) > 0 ? (options.batchSize as number) : 1;\n\t\t\t\tif (itemIndex % batchSize === 0) {\n\t\t\t\t\tawait sleep(options.batchInterval as number);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst fullResponse = !!options.fullResponse;\n\n\t\t\trequestOptions = {\n\t\t\t\theaders: {},\n\t\t\t\tmethod: requestMethod,\n\t\t\t\turi: url,\n\t\t\t\tgzip: true,\n\t\t\t\trejectUnauthorized: !this.getNodeParameter('allowUnauthorizedCerts', itemIndex, false),\n\t\t\t};\n\n\t\t\tif (fullResponse) {\n\t\t\t\trequestOptions.resolveWithFullResponse = true;\n\t\t\t}\n\n\t\t\tif (options.followRedirect !== undefined) {\n\t\t\t\trequestOptions.followRedirect = options.followRedirect as boolean;\n\t\t\t}\n\n\t\t\tif (options.followAllRedirects !== undefined) {\n\t\t\t\trequestOptions.followAllRedirects = options.followAllRedirects as boolean;\n\t\t\t}\n\n\t\t\tif (options.ignoreResponseCode === true) {\n\t\t\t\trequestOptions.simple = false;\n\t\t\t}\n\t\t\tif (options.proxy !== undefined) {\n\t\t\t\trequestOptions.proxy = options.proxy as string;\n\t\t\t}\n\t\t\tif (options.timeout !== undefined) {\n\t\t\t\trequestOptions.timeout = options.timeout as number;\n\t\t\t} else {\n\t\t\t\trequestOptions.timeout = 3600000; // 1 hour\n\t\t\t}\n\n\t\t\tif (options.useQueryString === true) {\n\t\t\t\trequestOptions.useQuerystring = true;\n\t\t\t}\n\n\t\t\tif (parametersAreJson) {\n\t\t\t\t// Parameters are defined as JSON\n\t\t\t\tlet optionData: OptionData;\n\t\t\t\tfor (const parameterName of Object.keys(jsonParameters)) {\n\t\t\t\t\toptionData = jsonParameters[parameterName];\n\t\t\t\t\tconst tempValue = this.getNodeParameter(parameterName, itemIndex, '') as string | object;\n\t\t\t\t\tconst sendBinaryData = this.getNodeParameter(\n\t\t\t\t\t\t'sendBinaryData',\n\t\t\t\t\t\titemIndex,\n\t\t\t\t\t\tfalse,\n\t\t\t\t\t) as boolean;\n\n\t\t\t\t\tif (optionData.name === 'body' && parametersAreJson) {\n\t\t\t\t\t\tif (sendBinaryData) {\n\t\t\t\t\t\t\tconst contentTypesAllowed = ['raw', 'multipart-form-data'];\n\n\t\t\t\t\t\t\tif (!contentTypesAllowed.includes(options.bodyContentType as string)) {\n\t\t\t\t\t\t\t\t// As n8n-workflow.NodeHelpers.getParameterResolveOrder can not be changed\n\t\t\t\t\t\t\t\t// easily to handle parameters in dot.notation simply error for now.\n\t\t\t\t\t\t\t\tthrow new NodeOperationError(\n\t\t\t\t\t\t\t\t\tthis.getNode(),\n\t\t\t\t\t\t\t\t\t'Sending binary data is only supported when option \"Body Content Type\" is set to \"RAW/CUSTOM\" or \"FORM-DATA/MULTIPART\"!',\n\t\t\t\t\t\t\t\t\t{ itemIndex },\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (options.bodyContentType === 'raw') {\n\t\t\t\t\t\t\t\tconst binaryPropertyName = this.getNodeParameter('binaryPropertyName', itemIndex);\n\t\t\t\t\t\t\t\tthis.helpers.assertBinaryData(itemIndex, binaryPropertyName);\n\t\t\t\t\t\t\t\tconst binaryDataBuffer = await this.helpers.getBinaryDataBuffer(\n\t\t\t\t\t\t\t\t\titemIndex,\n\t\t\t\t\t\t\t\t\tbinaryPropertyName,\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\trequestOptions.body = binaryDataBuffer;\n\t\t\t\t\t\t\t} else if (options.bodyContentType === 'multipart-form-data') {\n\t\t\t\t\t\t\t\trequestOptions.body = {};\n\t\t\t\t\t\t\t\tconst binaryPropertyNameFull = this.getNodeParameter(\n\t\t\t\t\t\t\t\t\t'binaryPropertyName',\n\t\t\t\t\t\t\t\t\titemIndex,\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tconst binaryPropertyNames = binaryPropertyNameFull\n\t\t\t\t\t\t\t\t\t.split(',')\n\t\t\t\t\t\t\t\t\t.map((key) => key.trim());\n\n\t\t\t\t\t\t\t\tfor (const propertyData of binaryPropertyNames) {\n\t\t\t\t\t\t\t\t\tlet propertyName = 'file';\n\t\t\t\t\t\t\t\t\tlet binaryPropertyName = propertyData;\n\t\t\t\t\t\t\t\t\tif (propertyData.includes(':')) {\n\t\t\t\t\t\t\t\t\t\tconst propertyDataParts = propertyData.split(':');\n\t\t\t\t\t\t\t\t\t\tpropertyName = propertyDataParts[0];\n\t\t\t\t\t\t\t\t\t\tbinaryPropertyName = propertyDataParts[1];\n\t\t\t\t\t\t\t\t\t} else if (binaryPropertyNames.length > 1) {\n\t\t\t\t\t\t\t\t\t\tthrow new NodeOperationError(\n\t\t\t\t\t\t\t\t\t\t\tthis.getNode(),\n\t\t\t\t\t\t\t\t\t\t\t'If more than one property should be send it is needed to define the in the format:<code>\"sendKey1:binaryProperty1,sendKey2:binaryProperty2\"</code>',\n\t\t\t\t\t\t\t\t\t\t\t{ itemIndex },\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\tconst binaryData = this.helpers.assertBinaryData(itemIndex, binaryPropertyName);\n\t\t\t\t\t\t\t\t\tconst binaryDataBuffer = await this.helpers.getBinaryDataBuffer(\n\t\t\t\t\t\t\t\t\t\titemIndex,\n\t\t\t\t\t\t\t\t\t\tbinaryPropertyName,\n\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\trequestOptions.body[propertyName] = {\n\t\t\t\t\t\t\t\t\t\tvalue: binaryDataBuffer,\n\t\t\t\t\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\t\t\t\t\tfilename: binaryData.fileName,\n\t\t\t\t\t\t\t\t\t\t\tcontentType: binaryData.mimeType,\n\t\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}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (tempValue === '') {\n\t\t\t\t\t\t// Parameter is empty so skip it\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\t// @ts-ignore\n\t\t\t\t\trequestOptions[optionData.name] = tempValue;\n\n\t\t\t\t\tif (\n\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\ttypeof requestOptions[optionData.name] !== 'object' &&\n\t\t\t\t\t\toptions.bodyContentType !== 'raw'\n\t\t\t\t\t) {\n\t\t\t\t\t\t// If it is not an object && bodyContentType is not 'raw' it must be JSON so parse it\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\t\trequestOptions[optionData.name] = JSON.parse(\n\t\t\t\t\t\t\t\trequestOptions[optionData.name as IRequestOptionsKeys] as string,\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\tthrow new NodeOperationError(\n\t\t\t\t\t\t\t\tthis.getNode(),\n\t\t\t\t\t\t\t\t`The data in \"${optionData.displayName}\" is no valid JSON. Set Body Content Type to \"RAW/Custom\" for XML or other types of payloads`,\n\t\t\t\t\t\t\t\t{ itemIndex },\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} else {\n\t\t\t\t// Parameters are defined in UI\n\t\t\t\tlet optionName: string;\n\t\t\t\tfor (const parameterName of Object.keys(uiParameters)) {\n\t\t\t\t\tsetUiParameter = this.getNodeParameter(parameterName, itemIndex, {}) as IDataObject;\n\t\t\t\t\toptionName = uiParameters[parameterName] as string;\n\t\t\t\t\tif (setUiParameter.parameter !== undefined) {\n\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\trequestOptions[optionName] = {};\n\t\t\t\t\t\tfor (const parameterData of setUiParameter!.parameter as IDataObject[]) {\n\t\t\t\t\t\t\tconst parameterDataName = parameterData.name as string;\n\t\t\t\t\t\t\tconst newValue = parameterData.value;\n\t\t\t\t\t\t\tif (optionName === 'qs') {\n\t\t\t\t\t\t\t\tconst computeNewValue = (oldValue: unknown) => {\n\t\t\t\t\t\t\t\t\tif (typeof oldValue === 'string') {\n\t\t\t\t\t\t\t\t\t\treturn [oldValue, newValue];\n\t\t\t\t\t\t\t\t\t} else if (Array.isArray(oldValue)) {\n\t\t\t\t\t\t\t\t\t\treturn [...oldValue, newValue];\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\treturn newValue;\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\trequestOptions[optionName]![parameterDataName] = computeNewValue(\n\t\t\t\t\t\t\t\t\trequestOptions[optionName]![parameterDataName],\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t} else if (optionName === 'headers') {\n\t\t\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\t\t\trequestOptions[optionName][parameterDataName.toString().toLowerCase()] = newValue;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\t\t\trequestOptions[optionName][parameterDataName] = newValue;\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\n\t\t\t// Change the way data get send in case a different content-type than JSON got selected\n\t\t\tif (['PATCH', 'POST', 'PUT'].includes(requestMethod)) {\n\t\t\t\tif (options.bodyContentType === 'multipart-form-data') {\n\t\t\t\t\trequestOptions.formData = requestOptions.body;\n\t\t\t\t\tdelete requestOptions.body;\n\t\t\t\t} else if (options.bodyContentType === 'form-urlencoded') {\n\t\t\t\t\trequestOptions.form = requestOptions.body;\n\t\t\t\t\tdelete requestOptions.body;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (responseFormat === 'file') {\n\t\t\t\trequestOptions.encoding = null;\n\t\t\t\trequestOptions.useStream = true;\n\n\t\t\t\tif (options.bodyContentType !== 'raw') {\n\t\t\t\t\trequestOptions.body = JSON.stringify(requestOptions.body);\n\t\t\t\t\tif (requestOptions.headers === undefined) {\n\t\t\t\t\t\trequestOptions.headers = {};\n\t\t\t\t\t}\n\t\t\t\t\tif (['POST', 'PUT', 'PATCH'].includes(requestMethod)) {\n\t\t\t\t\t\trequestOptions.headers['Content-Type'] = 'application/json';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (options.bodyContentType === 'raw') {\n\t\t\t\trequestOptions.json = false;\n\t\t\t\trequestOptions.useStream = true;\n\t\t\t} else {\n\t\t\t\trequestOptions.json = true;\n\t\t\t}\n\n\t\t\t// Add Content Type if any are set\n\t\t\tif (options.bodyContentCustomMimeType) {\n\t\t\t\tif (requestOptions.headers === undefined) {\n\t\t\t\t\trequestOptions.headers = {};\n\t\t\t\t}\n\t\t\t\trequestOptions.headers['Content-Type'] = options.bodyContentCustomMimeType;\n\t\t\t}\n\n\t\t\tconst authDataKeys: IAuthDataSanitizeKeys = {};\n\n\t\t\t// Add credentials if any are set\n\t\t\tif (httpBasicAuth !== undefined) {\n\t\t\t\trequestOptions.auth = {\n\t\t\t\t\tuser: httpBasicAuth.user as string,\n\t\t\t\t\tpass: httpBasicAuth.password as string,\n\t\t\t\t};\n\t\t\t\tauthDataKeys.auth = ['pass'];\n\t\t\t}\n\t\t\tif (httpHeaderAuth !== undefined) {\n\t\t\t\trequestOptions.headers![httpHeaderAuth.name as string] = httpHeaderAuth.value;\n\t\t\t\tauthDataKeys.headers = [httpHeaderAuth.name as string];\n\t\t\t}\n\t\t\tif (httpQueryAuth !== undefined) {\n\t\t\t\tif (!requestOptions.qs) {\n\t\t\t\t\trequestOptions.qs = {};\n\t\t\t\t}\n\t\t\t\trequestOptions.qs[httpQueryAuth.name as string] = httpQueryAuth.value;\n\t\t\t\tauthDataKeys.qs = [httpQueryAuth.name as string];\n\t\t\t}\n\t\t\tif (httpDigestAuth !== undefined) {\n\t\t\t\trequestOptions.auth = {\n\t\t\t\t\tuser: httpDigestAuth.user as string,\n\t\t\t\t\tpass: httpDigestAuth.password as string,\n\t\t\t\t\tsendImmediately: false,\n\t\t\t\t};\n\t\t\t\tauthDataKeys.auth = ['pass'];\n\t\t\t}\n\n\t\t\tif (requestOptions.headers!.accept === undefined) {\n\t\t\t\tif (responseFormat === 'json') {\n\t\t\t\t\trequestOptions.headers!.accept = 'application/json,text/*;q=0.99';\n\t\t\t\t} else if (responseFormat === 'string') {\n\t\t\t\t\trequestOptions.headers!.accept =\n\t\t\t\t\t\t'application/json,text/html,application/xhtml+xml,application/xml,text/*;q=0.9, */*;q=0.1';\n\t\t\t\t} else {\n\t\t\t\t\trequestOptions.headers!.accept =\n\t\t\t\t\t\t'application/json,text/html,application/xhtml+xml,application/xml,text/*;q=0.9, image/*;q=0.8, */*;q=0.7';\n\t\t\t\t}\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tthis.sendMessageToUI(sanitizeUiMessage(requestOptions, authDataKeys));\n\t\t\t} catch (e) {}\n\n\t\t\tif (authentication === 'genericCredentialType' || authentication === 'none') {\n\t\t\t\tif (oAuth1Api) {\n\t\t\t\t\tconst requestOAuth1 = this.helpers.requestOAuth1.call(this, 'oAuth1Api', requestOptions);\n\t\t\t\t\trequestOAuth1.catch(() => {});\n\t\t\t\t\trequestPromises.push(requestOAuth1);\n\t\t\t\t} else if (oAuth2Api) {\n\t\t\t\t\tconst requestOAuth2 = this.helpers.requestOAuth2.call(this, 'oAuth2Api', requestOptions, {\n\t\t\t\t\t\ttokenType: 'Bearer',\n\t\t\t\t\t});\n\t\t\t\t\trequestOAuth2.catch(() => {});\n\t\t\t\t\trequestPromises.push(requestOAuth2);\n\t\t\t\t} else {\n\t\t\t\t\t// bearerAuth, queryAuth, headerAuth, digestAuth, none\n\t\t\t\t\tconst request = this.helpers.request(requestOptions);\n\t\t\t\t\trequest.catch(() => {});\n\t\t\t\t\trequestPromises.push(request);\n\t\t\t\t}\n\t\t\t} else if (authentication === 'predefinedCredentialType' && nodeCredentialType) {\n\t\t\t\tconst additionalOAuth2Options = getOAuth2AdditionalParameters(nodeCredentialType);\n\n\t\t\t\t// service-specific cred: OAuth1, OAuth2, plain\n\t\t\t\tconst requestWithAuthentication = this.helpers.requestWithAuthentication.call(\n\t\t\t\t\tthis,\n\t\t\t\t\tnodeCredentialType,\n\t\t\t\t\trequestOptions,\n\t\t\t\t\tadditionalOAuth2Options && { oauth2: additionalOAuth2Options },\n\t\t\t\t);\n\t\t\t\trequestWithAuthentication.catch(() => {});\n\t\t\t\trequestPromises.push(requestWithAuthentication);\n\t\t\t}\n\t\t}\n\n\t\tconst promisesResponses = await Promise.allSettled(requestPromises);\n\n\t\tlet response: any;\n\t\tfor (let itemIndex = 0; itemIndex < items.length; itemIndex++) {\n\t\t\tresponse = promisesResponses.shift();\n\t\t\tif (response!.status !== 'fulfilled') {\n\t\t\t\tif (!this.continueOnFail()) {\n\t\t\t\t\t// throw error;\n\t\t\t\t\tthrow new NodeApiError(this.getNode(), response as JsonObject, { itemIndex });\n\t\t\t\t} else {\n\t\t\t\t\tremoveCircularRefs(response.reason as JsonObject);\n\t\t\t\t\t// Return the actual reason as error\n\t\t\t\t\treturnItems.push({\n\t\t\t\t\t\tjson: {\n\t\t\t\t\t\t\terror: response.reason,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tpairedItem: {\n\t\t\t\t\t\t\titem: itemIndex,\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tresponse = response.value;\n\t\t\tif (response?.request?.constructor.name === 'ClientRequest') delete response.request;\n\n\t\t\tconst options = this.getNodeParameter('options', itemIndex, {});\n\n\t\t\tconst fullResponse = !!options.fullResponse;\n\n\t\t\tif (responseFormat === 'file') {\n\t\t\t\tconst dataPropertyName = this.getNodeParameter('dataPropertyName', 0);\n\n\t\t\t\tconst newItem: INodeExecutionData = {\n\t\t\t\t\tjson: {},\n\t\t\t\t\tbinary: {},\n\t\t\t\t\tpairedItem: {\n\t\t\t\t\t\titem: itemIndex,\n\t\t\t\t\t},\n\t\t\t\t};\n\n\t\t\t\tif (items[itemIndex].binary !== undefined) {\n\t\t\t\t\t// Create a shallow copy of the binary data so that the old\n\t\t\t\t\t// data references which do not get changed still stay behind\n\t\t\t\t\t// but the incoming data does not get changed.\n\t\t\t\t\t// @ts-ignore\n\t\t\t\t\tObject.assign(newItem.binary, items[itemIndex].binary);\n\t\t\t\t}\n\n\t\t\t\tlet binaryData: Buffer | Readable;\n\t\t\t\tif (fullResponse) {\n\t\t\t\t\tconst returnItem: IDataObject = {};\n\t\t\t\t\tfor (const property of fullResponseProperties) {\n\t\t\t\t\t\tif (property === 'body') {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturnItem[property] = response![property];\n\t\t\t\t\t}\n\n\t\t\t\t\tnewItem.json = returnItem;\n\t\t\t\t\tbinaryData = response!.body;\n\t\t\t\t} else {\n\t\t\t\t\tnewItem.json = items[itemIndex].json;\n\t\t\t\t\tbinaryData = response;\n\t\t\t\t}\n\n\t\t\t\tnewItem.binary![dataPropertyName] = await this.helpers.prepareBinaryData(binaryData);\n\t\t\t\treturnItems.push(newItem);\n\t\t\t} else if (responseFormat === 'string') {\n\t\t\t\tconst dataPropertyName = this.getNodeParameter('dataPropertyName', 0);\n\n\t\t\t\tif (fullResponse) {\n\t\t\t\t\tconst returnItem: IDataObject = {};\n\t\t\t\t\tfor (const property of fullResponseProperties) {\n\t\t\t\t\t\tif (property === 'body') {\n\t\t\t\t\t\t\treturnItem[dataPropertyName] = response![property];\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturnItem[property] = response![property];\n\t\t\t\t\t}\n\t\t\t\t\treturnItems.push({\n\t\t\t\t\t\tjson: returnItem,\n\t\t\t\t\t\tpairedItem: {\n\t\t\t\t\t\t\titem: itemIndex,\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\treturnItems.push({\n\t\t\t\t\t\tjson: {\n\t\t\t\t\t\t\t[dataPropertyName]: response,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tpairedItem: {\n\t\t\t\t\t\t\titem: itemIndex,\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// responseFormat: 'json'\n\t\t\t\tif (fullResponse) {\n\t\t\t\t\tconst returnItem: IDataObject = {};\n\t\t\t\t\tfor (const property of fullResponseProperties) {\n\t\t\t\t\t\treturnItem[property] = response![property];\n\t\t\t\t\t}\n\n\t\t\t\t\tif (responseFormat === 'json' && typeof returnItem.body === 'string') {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\treturnItem.body = JSON.parse(returnItem.body);\n\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\tthrow new NodeOperationError(\n\t\t\t\t\t\t\t\tthis.getNode(),\n\t\t\t\t\t\t\t\t'Response body is not valid JSON. Change \"Response Format\" to \"String\"',\n\t\t\t\t\t\t\t\t{ itemIndex },\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturnItems.push({\n\t\t\t\t\t\tjson: returnItem,\n\t\t\t\t\t\tpairedItem: {\n\t\t\t\t\t\t\titem: itemIndex,\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tif (responseFormat === 'json' && typeof response === 'string') {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse = JSON.parse(response);\n\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\tthrow new NodeOperationError(\n\t\t\t\t\t\t\t\tthis.getNode(),\n\t\t\t\t\t\t\t\t'Response body is not valid JSON. Change \"Response Format\" to \"String\"',\n\t\t\t\t\t\t\t\t{ itemIndex },\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (options.splitIntoItems === true && Array.isArray(response)) {\n\t\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-loop-func\n\t\t\t\t\t\tresponse.forEach((item) =>\n\t\t\t\t\t\t\treturnItems.push({\n\t\t\t\t\t\t\t\tjson: item,\n\t\t\t\t\t\t\t\tpairedItem: {\n\t\t\t\t\t\t\t\t\titem: itemIndex,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturnItems.push({\n\t\t\t\t\t\t\tjson: response,\n\t\t\t\t\t\t\tpairedItem: {\n\t\t\t\t\t\t\t\titem: itemIndex,\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\n\t\treturnItems = returnItems.map(replaceNullValues);\n\n\t\treturn [returnItems];\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,0BAMO;AAIP,8BAIO;AAYA,MAAM,cAAmC;AAAA,EAG/C,YAAY,iBAA2C;AACtD,SAAK,cAAc;AAAA,MAClB,GAAG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;AAAA,gBACb;AAAA,gBACA,EAAE,UAAU;AAAA,cACb;AAAA,YACD;AAAA,UACD;AAEA,sBAAY,KAAK;AAAA,YAChB,MAAM;AAAA,YACN,YAAY;AAAA,cACX,MAAM;AAAA,YACP;AAAA,UACD,CAAC;AAAA,QACF,OAAO;AACN,cAAI,mBAAmB,UAAU,OAAO,aAAa,UAAU;AAC9D,gBAAI;AACH,yBAAW,KAAK,MAAM,QAAQ;AAAA,YAC/B,SAAS,OAAO;AACf,oBAAM,IAAI;AAAA,gBACT,KAAK,QAAQ;AAAA,gBACb;AAAA,gBACA,EAAE,UAAU;AAAA,cACb;AAAA,YACD;AAAA,UACD;AAEA,cAAI,QAAQ,mBAAmB,QAAQ,MAAM,QAAQ,QAAQ,GAAG;AAE/D,qBAAS;AAAA,cAAQ,CAAC,SACjB,YAAY,KAAK;AAAA,gBAChB,MAAM;AAAA,gBACN,YAAY;AAAA,kBACX,MAAM;AAAA,gBACP;AAAA,cACD,CAAC;AAAA,YACF;AAAA,UACD,OAAO;AACN,wBAAY,KAAK;AAAA,cAChB,MAAM;AAAA,cACN,YAAY;AAAA,gBACX,MAAM;AAAA,cACP;AAAA,YACD,CAAC;AAAA,UACF;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAEA,kBAAc,YAAY,IAAI,yCAAiB;AAE/C,WAAO,CAAC,WAAW;AAAA,EACpB;AACD;","names":[]}
1
+ {"version":3,"sources":["../../../../nodes/HttpRequest/V2/HttpRequestV2.node.ts"],"sourcesContent":["import type {\n\tIDataObject,\n\tIExecuteFunctions,\n\tIHttpRequestMethods,\n\tINodeExecutionData,\n\tINodeType,\n\tINodeTypeBaseDescription,\n\tINodeTypeDescription,\n\tIRequestOptions,\n\tJsonObject,\n} from 'n8n-workflow';\nimport {\n\tNodeApiError,\n\tNodeOperationError,\n\tsleep,\n\tremoveCircularRefs,\n\tNodeConnectionTypes,\n} from 'n8n-workflow';\nimport type { Readable } from 'stream';\n\nimport type { IAuthDataSanitizeKeys } from '../GenericFunctions';\nimport {\n\tgetOAuth2AdditionalParameters,\n\treplaceNullValues,\n\tsanitizeUiMessage,\n} from '../GenericFunctions';\n\ninterface OptionData {\n\tname: string;\n\tdisplayName: string;\n}\n\ninterface OptionDataParameters {\n\t[key: string]: OptionData;\n}\n\ntype IRequestOptionsKeys = keyof IRequestOptions;\nexport class HttpRequestV2 implements INodeType {\n\tdescription: INodeTypeDescription;\n\n\tconstructor(baseDescription: INodeTypeBaseDescription) {\n\t\tthis.description = {\n\t\t\t...baseDescription,\n\t\t\tdefaults: {\n\t\t\t\tname: 'HTTP Request',\n\t\t\t\tcolor: '#2200DD',\n\t\t\t},\n\t\t\tversion: 2,\n\t\t\tinputs: [NodeConnectionTypes.Main],\n\t\t\toutputs: [NodeConnectionTypes.Main],\n\t\t\tcredentials: [\n\t\t\t\t{\n\t\t\t\t\tname: 'httpBasicAuth',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['httpBasicAuth'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'httpDigestAuth',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['httpDigestAuth'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'httpHeaderAuth',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['httpHeaderAuth'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'httpQueryAuth',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['httpQueryAuth'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'oAuth1Api',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['oAuth1Api'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'oAuth2Api',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['oAuth2Api'],\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\tproperties: [\n\t\t\t\t// ----------------------------------\n\t\t\t\t// v2 params\n\t\t\t\t// ----------------------------------\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Authentication',\n\t\t\t\t\tname: 'authentication',\n\t\t\t\t\tnoDataExpression: true,\n\t\t\t\t\ttype: 'options',\n\t\t\t\t\trequired: true,\n\t\t\t\t\toptions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'None',\n\t\t\t\t\t\t\tvalue: 'none',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'Predefined Credential Type',\n\t\t\t\t\t\t\tvalue: 'predefinedCredentialType',\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\"We've already implemented auth for many services so that you don't have to set it up manually\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'Generic Credential Type',\n\t\t\t\t\t\t\tvalue: 'genericCredentialType',\n\t\t\t\t\t\t\tdescription: 'Fully customizable. Choose between basic, header, OAuth2, etc.',\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\tdefault: 'none',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Credential Type',\n\t\t\t\t\tname: 'nodeCredentialType',\n\t\t\t\t\ttype: 'credentialsSelect',\n\t\t\t\t\tnoDataExpression: true,\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdefault: '',\n\t\t\t\t\tcredentialTypes: ['extends:oAuth2Api', 'extends:oAuth1Api', 'has:authenticate'],\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['predefinedCredentialType'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Generic Auth Type',\n\t\t\t\t\tname: 'genericAuthType',\n\t\t\t\t\ttype: 'credentialsSelect',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdefault: '',\n\t\t\t\t\tcredentialTypes: ['has:genericAuth'],\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tauthentication: ['genericCredentialType'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t// ----------------------------------\n\t\t\t\t// versionless params\n\t\t\t\t// ----------------------------------\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Request Method',\n\t\t\t\t\tname: 'requestMethod',\n\t\t\t\t\ttype: 'options',\n\t\t\t\t\toptions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'DELETE',\n\t\t\t\t\t\t\tvalue: 'DELETE',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'GET',\n\t\t\t\t\t\t\tvalue: 'GET',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'HEAD',\n\t\t\t\t\t\t\tvalue: 'HEAD',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'OPTIONS',\n\t\t\t\t\t\t\tvalue: 'OPTIONS',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'PATCH',\n\t\t\t\t\t\t\tvalue: 'PATCH',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'POST',\n\t\t\t\t\t\t\tvalue: 'POST',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'PUT',\n\t\t\t\t\t\t\tvalue: 'PUT',\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\tdefault: 'GET',\n\t\t\t\t\tdescription: 'The request method to use',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'URL',\n\t\t\t\t\tname: 'url',\n\t\t\t\t\ttype: 'string',\n\t\t\t\t\tdefault: '',\n\t\t\t\t\tplaceholder: 'http://example.com/index.html',\n\t\t\t\t\tdescription: 'The URL to make the request to',\n\t\t\t\t\trequired: true,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Ignore SSL Issues (Insecure)',\n\t\t\t\t\tname: 'allowUnauthorizedCerts',\n\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\tdefault: false,\n\t\t\t\t\t// eslint-disable-next-line n8n-nodes-base/node-param-description-wrong-for-ignore-ssl-issues\n\t\t\t\t\tdescription:\n\t\t\t\t\t\t'Whether to download the response even if SSL certificate validation is not possible',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Response Format',\n\t\t\t\t\tname: 'responseFormat',\n\t\t\t\t\ttype: 'options',\n\t\t\t\t\toptions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'File',\n\t\t\t\t\t\t\tvalue: 'file',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'JSON',\n\t\t\t\t\t\t\tvalue: 'json',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'String',\n\t\t\t\t\t\t\tvalue: 'string',\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\tdefault: 'json',\n\t\t\t\t\tdescription: 'The format in which the data gets returned from the URL',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Property Name',\n\t\t\t\t\tname: 'dataPropertyName',\n\t\t\t\t\ttype: 'string',\n\t\t\t\t\tdefault: 'data',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tresponseFormat: ['string'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdescription: 'Name of the property to which to write the response data',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Put Output File in Field',\n\t\t\t\t\tname: 'dataPropertyName',\n\t\t\t\t\ttype: 'string',\n\t\t\t\t\tdefault: 'data',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tresponseFormat: ['file'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\thint: 'The name of the output binary field to put the file in',\n\t\t\t\t},\n\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'JSON/RAW Parameters',\n\t\t\t\t\tname: 'jsonParameters',\n\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\tdefault: false,\n\t\t\t\t\tdescription:\n\t\t\t\t\t\t'Whether the query and/or body parameter should be set via the value-key pair UI or JSON/RAW',\n\t\t\t\t},\n\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Options',\n\t\t\t\t\tname: 'options',\n\t\t\t\t\ttype: 'collection',\n\t\t\t\t\tplaceholder: 'Add option',\n\t\t\t\t\tdefault: {},\n\t\t\t\t\toptions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Batch Interval',\n\t\t\t\t\t\t\tname: 'batchInterval',\n\t\t\t\t\t\t\ttype: 'number',\n\t\t\t\t\t\t\ttypeOptions: {\n\t\t\t\t\t\t\t\tminValue: 0,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tdefault: 1000,\n\t\t\t\t\t\t\tdescription: 'Time (in milliseconds) between each batch of requests. 0 for disabled.',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Batch Size',\n\t\t\t\t\t\t\tname: 'batchSize',\n\t\t\t\t\t\t\ttype: 'number',\n\t\t\t\t\t\t\ttypeOptions: {\n\t\t\t\t\t\t\t\tminValue: -1,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tdefault: 50,\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t'Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1.',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Body Content Type',\n\t\t\t\t\t\t\tname: 'bodyContentType',\n\t\t\t\t\t\t\ttype: 'options',\n\t\t\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\t\t\t'/requestMethod': ['PATCH', 'POST', 'PUT'],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tname: 'JSON',\n\t\t\t\t\t\t\t\t\tvalue: 'json',\n\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\t\tname: 'RAW/Custom',\n\t\t\t\t\t\t\t\t\tvalue: 'raw',\n\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\t\tname: 'Form-Data Multipart',\n\t\t\t\t\t\t\t\t\tvalue: 'multipart-form-data',\n\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\t\tname: 'Form Urlencoded',\n\t\t\t\t\t\t\t\t\tvalue: 'form-urlencoded',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdefault: 'json',\n\t\t\t\t\t\t\tdescription: 'Content-Type to use to send body parameters',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Full Response',\n\t\t\t\t\t\t\tname: 'fullResponse',\n\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\tdefault: false,\n\t\t\t\t\t\t\tdescription: 'Whether to return the full response data instead of only the body',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Follow All Redirects',\n\t\t\t\t\t\t\tname: 'followAllRedirects',\n\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\tdefault: false,\n\t\t\t\t\t\t\tdescription: 'Whether to follow All HTTP 3xx redirects',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Follow GET/HEAD Redirect',\n\t\t\t\t\t\t\tname: 'followRedirect',\n\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\tdefault: true,\n\t\t\t\t\t\t\tdescription: 'Whether to follow GET or HEAD HTTP 3xx redirects',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Ignore Response Code',\n\t\t\t\t\t\t\tname: 'ignoreResponseCode',\n\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\tdefault: false,\n\t\t\t\t\t\t\tdescription: 'Whether to succeeds also when status code is not 2xx',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'MIME Type',\n\t\t\t\t\t\t\tname: 'bodyContentCustomMimeType',\n\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\tplaceholder: 'text/xml',\n\t\t\t\t\t\t\tdescription: 'Specify the mime type for raw/custom body type',\n\t\t\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\t\t\t'/requestMethod': ['PATCH', 'POST', 'PUT'],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Proxy',\n\t\t\t\t\t\t\tname: 'proxy',\n\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\tplaceholder: 'http://myproxy:3128',\n\t\t\t\t\t\t\tdescription: 'HTTP proxy to use',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Split Into Items',\n\t\t\t\t\t\t\tname: 'splitIntoItems',\n\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\tdefault: false,\n\t\t\t\t\t\t\tdescription: 'Whether to output each element of an array as own item',\n\t\t\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\t\t\t'/responseFormat': ['json'],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Timeout',\n\t\t\t\t\t\t\tname: 'timeout',\n\t\t\t\t\t\t\ttype: 'number',\n\t\t\t\t\t\t\ttypeOptions: {\n\t\t\t\t\t\t\t\tminValue: 1,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tdefault: 10000,\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t'Time in ms to wait for the server to send response headers (and start the response body) before aborting the request',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplayName: 'Use Querystring',\n\t\t\t\t\t\t\tname: 'useQueryString',\n\t\t\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\t\t\tdefault: false,\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t'Whether you need arrays to be serialized as foo=bar&foo=baz instead of the default foo[0]=bar&foo[1]=baz',\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\n\t\t\t\t// Body Parameter\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Send Binary File',\n\t\t\t\t\tname: 'sendBinaryData',\n\t\t\t\t\ttype: 'boolean',\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\t// TODO: Make it possible to use dot-notation\n\t\t\t\t\t\t\t// 'options.bodyContentType': [\n\t\t\t\t\t\t\t// \t'raw',\n\t\t\t\t\t\t\t// ],\n\t\t\t\t\t\t\tjsonParameters: [true],\n\t\t\t\t\t\t\trequestMethod: ['PATCH', 'POST', 'PUT'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdefault: false,\n\t\t\t\t\tdescription: 'Whether binary data should be send as body',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Input Binary Field',\n\t\t\t\t\tname: 'binaryPropertyName',\n\t\t\t\t\ttype: 'string',\n\t\t\t\t\trequired: true,\n\t\t\t\t\tdefault: 'data',\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\thide: {\n\t\t\t\t\t\t\tsendBinaryData: [false],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tjsonParameters: [true],\n\t\t\t\t\t\t\trequestMethod: ['PATCH', 'POST', 'PUT'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\thint: 'The name of the input binary field containing the file to be uploaded',\n\t\t\t\t\tdescription:\n\t\t\t\t\t\t'For Form-Data Multipart, they can be provided in the format: <code>\"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Body Parameters',\n\t\t\t\t\tname: 'bodyParametersJson',\n\t\t\t\t\ttype: 'json',\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\thide: {\n\t\t\t\t\t\t\tsendBinaryData: [true],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tjsonParameters: [true],\n\t\t\t\t\t\t\trequestMethod: ['PATCH', 'POST', 'PUT', 'DELETE'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdefault: '',\n\t\t\t\t\tdescription: 'Body parameters as JSON or RAW',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Body Parameters',\n\t\t\t\t\tname: 'bodyParametersUi',\n\t\t\t\t\tplaceholder: 'Add Parameter',\n\t\t\t\t\ttype: 'fixedCollection',\n\t\t\t\t\ttypeOptions: {\n\t\t\t\t\t\tmultipleValues: true,\n\t\t\t\t\t},\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tjsonParameters: [false],\n\t\t\t\t\t\t\trequestMethod: ['PATCH', 'POST', 'PUT', 'DELETE'],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdescription: 'The body parameter to send',\n\t\t\t\t\tdefault: {},\n\t\t\t\t\toptions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'parameter',\n\t\t\t\t\t\t\tdisplayName: 'Parameter',\n\t\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplayName: 'Name',\n\t\t\t\t\t\t\t\t\tname: 'name',\n\t\t\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\t\tdescription: 'Name of the parameter',\n\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\t\tdisplayName: 'Value',\n\t\t\t\t\t\t\t\t\tname: 'value',\n\t\t\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\t\tdescription: 'Value of the parameter',\n\t\t\t\t\t\t\t\t},\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\n\t\t\t\t// Header Parameters\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Headers',\n\t\t\t\t\tname: 'headerParametersJson',\n\t\t\t\t\ttype: 'json',\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tjsonParameters: [true],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdefault: '',\n\t\t\t\t\tdescription: 'Header parameters as JSON or RAW',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Headers',\n\t\t\t\t\tname: 'headerParametersUi',\n\t\t\t\t\tplaceholder: 'Add Header',\n\t\t\t\t\ttype: 'fixedCollection',\n\t\t\t\t\ttypeOptions: {\n\t\t\t\t\t\tmultipleValues: true,\n\t\t\t\t\t},\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tjsonParameters: [false],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdescription: 'The headers to send',\n\t\t\t\t\tdefault: {},\n\t\t\t\t\toptions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'parameter',\n\t\t\t\t\t\t\tdisplayName: 'Header',\n\t\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplayName: 'Name',\n\t\t\t\t\t\t\t\t\tname: 'name',\n\t\t\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\t\tdescription: 'Name of the header',\n\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\t\tdisplayName: 'Value',\n\t\t\t\t\t\t\t\t\tname: 'value',\n\t\t\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\t\tdescription: 'Value to set for the header',\n\t\t\t\t\t\t\t\t},\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\n\t\t\t\t// Query Parameter\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Query Parameters',\n\t\t\t\t\tname: 'queryParametersJson',\n\t\t\t\t\ttype: 'json',\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tjsonParameters: [true],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdefault: '',\n\t\t\t\t\tdescription: 'Query parameters as JSON (flat object)',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdisplayName: 'Query Parameters',\n\t\t\t\t\tname: 'queryParametersUi',\n\t\t\t\t\tplaceholder: 'Add Parameter',\n\t\t\t\t\ttype: 'fixedCollection',\n\t\t\t\t\ttypeOptions: {\n\t\t\t\t\t\tmultipleValues: true,\n\t\t\t\t\t},\n\t\t\t\t\tdisplayOptions: {\n\t\t\t\t\t\tshow: {\n\t\t\t\t\t\t\tjsonParameters: [false],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tdescription: 'The query parameter to send',\n\t\t\t\t\tdefault: {},\n\t\t\t\t\toptions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'parameter',\n\t\t\t\t\t\t\tdisplayName: 'Parameter',\n\t\t\t\t\t\t\tvalues: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tdisplayName: 'Name',\n\t\t\t\t\t\t\t\t\tname: 'name',\n\t\t\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\t\tdescription: 'Name of the parameter',\n\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\t\tdisplayName: 'Value',\n\t\t\t\t\t\t\t\t\tname: 'value',\n\t\t\t\t\t\t\t\t\ttype: 'string',\n\t\t\t\t\t\t\t\t\tdefault: '',\n\t\t\t\t\t\t\t\t\tdescription: 'Value of the parameter',\n\t\t\t\t\t\t\t\t},\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\t{\n\t\t\t\t\tdisplayName:\n\t\t\t\t\t\t\"You can view the raw requests this node makes in your browser's developer console\",\n\t\t\t\t\tname: 'infoMessage',\n\t\t\t\t\ttype: 'notice',\n\t\t\t\t\tdefault: '',\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t}\n\n\tasync execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {\n\t\tconst items = this.getInputData();\n\n\t\tconst fullResponseProperties = ['body', 'headers', 'statusCode', 'statusMessage'];\n\n\t\tlet authentication;\n\n\t\tconst responseFormat = this.getNodeParameter('responseFormat', 0) as string;\n\n\t\ttry {\n\t\t\tauthentication = this.getNodeParameter('authentication', 0) as\n\t\t\t\t| 'predefinedCredentialType'\n\t\t\t\t| 'genericCredentialType'\n\t\t\t\t| 'none';\n\t\t} catch {}\n\n\t\tlet httpBasicAuth;\n\t\tlet httpBearerAuth;\n\t\tlet httpDigestAuth;\n\t\tlet httpHeaderAuth;\n\t\tlet httpQueryAuth;\n\t\tlet oAuth1Api;\n\t\tlet oAuth2Api;\n\t\tlet nodeCredentialType;\n\n\t\tif (authentication === 'genericCredentialType') {\n\t\t\tconst genericAuthType = this.getNodeParameter('genericAuthType', 0) as string;\n\n\t\t\tif (genericAuthType === 'httpBasicAuth') {\n\t\t\t\ttry {\n\t\t\t\t\thttpBasicAuth = await this.getCredentials('httpBasicAuth');\n\t\t\t\t} catch {}\n\t\t\t} else if (genericAuthType === 'httpBearerAuth') {\n\t\t\t\ttry {\n\t\t\t\t\thttpBearerAuth = await this.getCredentials('httpBearerAuth');\n\t\t\t\t} catch {}\n\t\t\t} else if (genericAuthType === 'httpDigestAuth') {\n\t\t\t\ttry {\n\t\t\t\t\thttpDigestAuth = await this.getCredentials('httpDigestAuth');\n\t\t\t\t} catch {}\n\t\t\t} else if (genericAuthType === 'httpHeaderAuth') {\n\t\t\t\ttry {\n\t\t\t\t\thttpHeaderAuth = await this.getCredentials('httpHeaderAuth');\n\t\t\t\t} catch {}\n\t\t\t} else if (genericAuthType === 'httpQueryAuth') {\n\t\t\t\ttry {\n\t\t\t\t\thttpQueryAuth = await this.getCredentials('httpQueryAuth');\n\t\t\t\t} catch {}\n\t\t\t} else if (genericAuthType === 'oAuth1Api') {\n\t\t\t\ttry {\n\t\t\t\t\toAuth1Api = await this.getCredentials('oAuth1Api');\n\t\t\t\t} catch {}\n\t\t\t} else if (genericAuthType === 'oAuth2Api') {\n\t\t\t\ttry {\n\t\t\t\t\toAuth2Api = await this.getCredentials('oAuth2Api');\n\t\t\t\t} catch {}\n\t\t\t}\n\t\t} else if (authentication === 'predefinedCredentialType') {\n\t\t\ttry {\n\t\t\t\tnodeCredentialType = this.getNodeParameter('nodeCredentialType', 0) as string;\n\t\t\t} catch {}\n\t\t}\n\n\t\tlet requestOptions: IRequestOptions & { useStream?: boolean };\n\t\tlet setUiParameter: IDataObject;\n\n\t\tconst uiParameters: IDataObject = {\n\t\t\tbodyParametersUi: 'body',\n\t\t\theaderParametersUi: 'headers',\n\t\t\tqueryParametersUi: 'qs',\n\t\t};\n\n\t\tconst jsonParameters: OptionDataParameters = {\n\t\t\tbodyParametersJson: {\n\t\t\t\tname: 'body',\n\t\t\t\tdisplayName: 'Body Parameters',\n\t\t\t},\n\t\t\theaderParametersJson: {\n\t\t\t\tname: 'headers',\n\t\t\t\tdisplayName: 'Headers',\n\t\t\t},\n\t\t\tqueryParametersJson: {\n\t\t\t\tname: 'qs',\n\t\t\t\tdisplayName: 'Query Parameters',\n\t\t\t},\n\t\t};\n\t\tlet returnItems: INodeExecutionData[] = [];\n\t\tconst requestPromises = [];\n\t\tfor (let itemIndex = 0; itemIndex < items.length; itemIndex++) {\n\t\t\tconst requestMethod = this.getNodeParameter(\n\t\t\t\t'requestMethod',\n\t\t\t\titemIndex,\n\t\t\t) as IHttpRequestMethods;\n\t\t\tconst parametersAreJson = this.getNodeParameter('jsonParameters', itemIndex);\n\n\t\t\tconst options = this.getNodeParameter('options', itemIndex, {});\n\t\t\tconst url = this.getNodeParameter('url', itemIndex) as string;\n\n\t\t\tif (\n\t\t\t\titemIndex > 0 &&\n\t\t\t\t(options.batchSize as number) >= 0 &&\n\t\t\t\t(options.batchInterval as number) > 0\n\t\t\t) {\n\t\t\t\t// defaults batch size to 1 of it's set to 0\n\t\t\t\tconst batchSize: number =\n\t\t\t\t\t(options.batchSize as number) > 0 ? (options.batchSize as number) : 1;\n\t\t\t\tif (itemIndex % batchSize === 0) {\n\t\t\t\t\tawait sleep(options.batchInterval as number);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst fullResponse = !!options.fullResponse;\n\n\t\t\trequestOptions = {\n\t\t\t\theaders: {},\n\t\t\t\tmethod: requestMethod,\n\t\t\t\turi: url,\n\t\t\t\tgzip: true,\n\t\t\t\trejectUnauthorized: !this.getNodeParameter('allowUnauthorizedCerts', itemIndex, false),\n\t\t\t};\n\n\t\t\tif (fullResponse) {\n\t\t\t\trequestOptions.resolveWithFullResponse = true;\n\t\t\t}\n\n\t\t\tif (options.followRedirect !== undefined) {\n\t\t\t\trequestOptions.followRedirect = options.followRedirect as boolean;\n\t\t\t}\n\n\t\t\tif (options.followAllRedirects !== undefined) {\n\t\t\t\trequestOptions.followAllRedirects = options.followAllRedirects as boolean;\n\t\t\t}\n\n\t\t\tif (options.ignoreResponseCode === true) {\n\t\t\t\trequestOptions.simple = false;\n\t\t\t}\n\t\t\tif (options.proxy !== undefined) {\n\t\t\t\trequestOptions.proxy = options.proxy as string;\n\t\t\t}\n\t\t\tif (options.timeout !== undefined) {\n\t\t\t\trequestOptions.timeout = options.timeout as number;\n\t\t\t} else {\n\t\t\t\trequestOptions.timeout = 3600000; // 1 hour\n\t\t\t}\n\n\t\t\tif (options.useQueryString === true) {\n\t\t\t\trequestOptions.useQuerystring = true;\n\t\t\t}\n\n\t\t\tif (parametersAreJson) {\n\t\t\t\t// Parameters are defined as JSON\n\t\t\t\tlet optionData: OptionData;\n\t\t\t\tfor (const parameterName of Object.keys(jsonParameters)) {\n\t\t\t\t\toptionData = jsonParameters[parameterName];\n\t\t\t\t\tconst tempValue = this.getNodeParameter(parameterName, itemIndex, '') as string | object;\n\t\t\t\t\tconst sendBinaryData = this.getNodeParameter(\n\t\t\t\t\t\t'sendBinaryData',\n\t\t\t\t\t\titemIndex,\n\t\t\t\t\t\tfalse,\n\t\t\t\t\t) as boolean;\n\n\t\t\t\t\tif (optionData.name === 'body' && parametersAreJson) {\n\t\t\t\t\t\tif (sendBinaryData) {\n\t\t\t\t\t\t\tconst contentTypesAllowed = ['raw', 'multipart-form-data'];\n\n\t\t\t\t\t\t\tif (!contentTypesAllowed.includes(options.bodyContentType as string)) {\n\t\t\t\t\t\t\t\t// As n8n-workflow.NodeHelpers.getParameterResolveOrder can not be changed\n\t\t\t\t\t\t\t\t// easily to handle parameters in dot.notation simply error for now.\n\t\t\t\t\t\t\t\tthrow new NodeOperationError(\n\t\t\t\t\t\t\t\t\tthis.getNode(),\n\t\t\t\t\t\t\t\t\t'Sending binary data is only supported when option \"Body Content Type\" is set to \"RAW/CUSTOM\" or \"FORM-DATA/MULTIPART\"!',\n\t\t\t\t\t\t\t\t\t{ itemIndex },\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (options.bodyContentType === 'raw') {\n\t\t\t\t\t\t\t\tconst binaryPropertyName = this.getNodeParameter('binaryPropertyName', itemIndex);\n\t\t\t\t\t\t\t\tthis.helpers.assertBinaryData(itemIndex, binaryPropertyName);\n\t\t\t\t\t\t\t\tconst binaryDataBuffer = await this.helpers.getBinaryDataBuffer(\n\t\t\t\t\t\t\t\t\titemIndex,\n\t\t\t\t\t\t\t\t\tbinaryPropertyName,\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\trequestOptions.body = binaryDataBuffer;\n\t\t\t\t\t\t\t} else if (options.bodyContentType === 'multipart-form-data') {\n\t\t\t\t\t\t\t\trequestOptions.body = {};\n\t\t\t\t\t\t\t\tconst binaryPropertyNameFull = this.getNodeParameter(\n\t\t\t\t\t\t\t\t\t'binaryPropertyName',\n\t\t\t\t\t\t\t\t\titemIndex,\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tconst binaryPropertyNames = binaryPropertyNameFull\n\t\t\t\t\t\t\t\t\t.split(',')\n\t\t\t\t\t\t\t\t\t.map((key) => key.trim());\n\n\t\t\t\t\t\t\t\tfor (const propertyData of binaryPropertyNames) {\n\t\t\t\t\t\t\t\t\tlet propertyName = 'file';\n\t\t\t\t\t\t\t\t\tlet binaryPropertyName = propertyData;\n\t\t\t\t\t\t\t\t\tif (propertyData.includes(':')) {\n\t\t\t\t\t\t\t\t\t\tconst propertyDataParts = propertyData.split(':');\n\t\t\t\t\t\t\t\t\t\tpropertyName = propertyDataParts[0];\n\t\t\t\t\t\t\t\t\t\tbinaryPropertyName = propertyDataParts[1];\n\t\t\t\t\t\t\t\t\t} else if (binaryPropertyNames.length > 1) {\n\t\t\t\t\t\t\t\t\t\tthrow new NodeOperationError(\n\t\t\t\t\t\t\t\t\t\t\tthis.getNode(),\n\t\t\t\t\t\t\t\t\t\t\t'If more than one property should be send it is needed to define the in the format:<code>\"sendKey1:binaryProperty1,sendKey2:binaryProperty2\"</code>',\n\t\t\t\t\t\t\t\t\t\t\t{ itemIndex },\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\tconst binaryData = this.helpers.assertBinaryData(itemIndex, binaryPropertyName);\n\t\t\t\t\t\t\t\t\tconst binaryDataBuffer = await this.helpers.getBinaryDataBuffer(\n\t\t\t\t\t\t\t\t\t\titemIndex,\n\t\t\t\t\t\t\t\t\t\tbinaryPropertyName,\n\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\trequestOptions.body[propertyName] = {\n\t\t\t\t\t\t\t\t\t\tvalue: binaryDataBuffer,\n\t\t\t\t\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\t\t\t\t\tfilename: binaryData.fileName,\n\t\t\t\t\t\t\t\t\t\t\tcontentType: binaryData.mimeType,\n\t\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}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (tempValue === '') {\n\t\t\t\t\t\t// Parameter is empty so skip it\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\t// @ts-ignore\n\t\t\t\t\trequestOptions[optionData.name] = tempValue;\n\n\t\t\t\t\tif (\n\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\ttypeof requestOptions[optionData.name] !== 'object' &&\n\t\t\t\t\t\toptions.bodyContentType !== 'raw'\n\t\t\t\t\t) {\n\t\t\t\t\t\t// If it is not an object && bodyContentType is not 'raw' it must be JSON so parse it\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\t\trequestOptions[optionData.name] = JSON.parse(\n\t\t\t\t\t\t\t\trequestOptions[optionData.name as IRequestOptionsKeys] as string,\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\tthrow new NodeOperationError(\n\t\t\t\t\t\t\t\tthis.getNode(),\n\t\t\t\t\t\t\t\t`The data in \"${optionData.displayName}\" is no valid JSON. Set Body Content Type to \"RAW/Custom\" for XML or other types of payloads`,\n\t\t\t\t\t\t\t\t{ itemIndex },\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} else {\n\t\t\t\t// Parameters are defined in UI\n\t\t\t\tlet optionName: string;\n\t\t\t\tfor (const parameterName of Object.keys(uiParameters)) {\n\t\t\t\t\tsetUiParameter = this.getNodeParameter(parameterName, itemIndex, {}) as IDataObject;\n\t\t\t\t\toptionName = uiParameters[parameterName] as string;\n\t\t\t\t\tif (setUiParameter.parameter !== undefined) {\n\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\trequestOptions[optionName] = {};\n\t\t\t\t\t\tfor (const parameterData of setUiParameter!.parameter as IDataObject[]) {\n\t\t\t\t\t\t\tconst parameterDataName = parameterData.name as string;\n\t\t\t\t\t\t\tconst newValue = parameterData.value;\n\t\t\t\t\t\t\tif (optionName === 'qs') {\n\t\t\t\t\t\t\t\tconst computeNewValue = (oldValue: unknown) => {\n\t\t\t\t\t\t\t\t\tif (typeof oldValue === 'string') {\n\t\t\t\t\t\t\t\t\t\treturn [oldValue, newValue];\n\t\t\t\t\t\t\t\t\t} else if (Array.isArray(oldValue)) {\n\t\t\t\t\t\t\t\t\t\treturn [...oldValue, newValue];\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\treturn newValue;\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\trequestOptions[optionName]![parameterDataName] = computeNewValue(\n\t\t\t\t\t\t\t\t\trequestOptions[optionName]![parameterDataName],\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t} else if (optionName === 'headers') {\n\t\t\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\t\t\trequestOptions[optionName][parameterDataName.toString().toLowerCase()] = newValue;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\t\t\trequestOptions[optionName][parameterDataName] = newValue;\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\n\t\t\t// Change the way data get send in case a different content-type than JSON got selected\n\t\t\tif (['PATCH', 'POST', 'PUT'].includes(requestMethod)) {\n\t\t\t\tif (options.bodyContentType === 'multipart-form-data') {\n\t\t\t\t\trequestOptions.formData = requestOptions.body;\n\t\t\t\t\tdelete requestOptions.body;\n\t\t\t\t} else if (options.bodyContentType === 'form-urlencoded') {\n\t\t\t\t\trequestOptions.form = requestOptions.body;\n\t\t\t\t\tdelete requestOptions.body;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (responseFormat === 'file') {\n\t\t\t\trequestOptions.encoding = null;\n\t\t\t\trequestOptions.useStream = true;\n\n\t\t\t\tif (options.bodyContentType !== 'raw') {\n\t\t\t\t\trequestOptions.body = JSON.stringify(requestOptions.body);\n\t\t\t\t\tif (requestOptions.headers === undefined) {\n\t\t\t\t\t\trequestOptions.headers = {};\n\t\t\t\t\t}\n\t\t\t\t\tif (['POST', 'PUT', 'PATCH'].includes(requestMethod)) {\n\t\t\t\t\t\trequestOptions.headers['Content-Type'] = 'application/json';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (options.bodyContentType === 'raw') {\n\t\t\t\trequestOptions.json = false;\n\t\t\t\trequestOptions.useStream = true;\n\t\t\t} else {\n\t\t\t\trequestOptions.json = true;\n\t\t\t}\n\n\t\t\t// Add Content Type if any are set\n\t\t\tif (options.bodyContentCustomMimeType) {\n\t\t\t\tif (requestOptions.headers === undefined) {\n\t\t\t\t\trequestOptions.headers = {};\n\t\t\t\t}\n\t\t\t\trequestOptions.headers['Content-Type'] = options.bodyContentCustomMimeType;\n\t\t\t}\n\n\t\t\tconst authDataKeys: IAuthDataSanitizeKeys = {};\n\n\t\t\t// Add credentials if any are set\n\t\t\tif (httpBasicAuth !== undefined) {\n\t\t\t\trequestOptions.auth = {\n\t\t\t\t\tuser: httpBasicAuth.user as string,\n\t\t\t\t\tpass: httpBasicAuth.password as string,\n\t\t\t\t};\n\t\t\t\tauthDataKeys.auth = ['pass'];\n\t\t\t}\n\t\t\tif (httpBearerAuth !== undefined) {\n\t\t\t\trequestOptions.headers = requestOptions.headers ?? {};\n\t\t\t\trequestOptions.headers.Authorization = `Bearer ${String(httpBearerAuth.token)}`;\n\t\t\t\tauthDataKeys.headers = ['Authorization'];\n\t\t\t}\n\t\t\tif (httpHeaderAuth !== undefined) {\n\t\t\t\trequestOptions.headers![httpHeaderAuth.name as string] = httpHeaderAuth.value;\n\t\t\t\tauthDataKeys.headers = [httpHeaderAuth.name as string];\n\t\t\t}\n\t\t\tif (httpQueryAuth !== undefined) {\n\t\t\t\tif (!requestOptions.qs) {\n\t\t\t\t\trequestOptions.qs = {};\n\t\t\t\t}\n\t\t\t\trequestOptions.qs[httpQueryAuth.name as string] = httpQueryAuth.value;\n\t\t\t\tauthDataKeys.qs = [httpQueryAuth.name as string];\n\t\t\t}\n\t\t\tif (httpDigestAuth !== undefined) {\n\t\t\t\trequestOptions.auth = {\n\t\t\t\t\tuser: httpDigestAuth.user as string,\n\t\t\t\t\tpass: httpDigestAuth.password as string,\n\t\t\t\t\tsendImmediately: false,\n\t\t\t\t};\n\t\t\t\tauthDataKeys.auth = ['pass'];\n\t\t\t}\n\n\t\t\tif (requestOptions.headers!.accept === undefined) {\n\t\t\t\tif (responseFormat === 'json') {\n\t\t\t\t\trequestOptions.headers!.accept = 'application/json,text/*;q=0.99';\n\t\t\t\t} else if (responseFormat === 'string') {\n\t\t\t\t\trequestOptions.headers!.accept =\n\t\t\t\t\t\t'application/json,text/html,application/xhtml+xml,application/xml,text/*;q=0.9, */*;q=0.1';\n\t\t\t\t} else {\n\t\t\t\t\trequestOptions.headers!.accept =\n\t\t\t\t\t\t'application/json,text/html,application/xhtml+xml,application/xml,text/*;q=0.9, image/*;q=0.8, */*;q=0.7';\n\t\t\t\t}\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tthis.sendMessageToUI(sanitizeUiMessage(requestOptions, authDataKeys));\n\t\t\t} catch (e) {}\n\n\t\t\tif (authentication === 'genericCredentialType' || authentication === 'none') {\n\t\t\t\tif (oAuth1Api) {\n\t\t\t\t\tconst requestOAuth1 = this.helpers.requestOAuth1.call(this, 'oAuth1Api', requestOptions);\n\t\t\t\t\trequestOAuth1.catch(() => {});\n\t\t\t\t\trequestPromises.push(requestOAuth1);\n\t\t\t\t} else if (oAuth2Api) {\n\t\t\t\t\tconst requestOAuth2 = this.helpers.requestOAuth2.call(this, 'oAuth2Api', requestOptions, {\n\t\t\t\t\t\ttokenType: 'Bearer',\n\t\t\t\t\t});\n\t\t\t\t\trequestOAuth2.catch(() => {});\n\t\t\t\t\trequestPromises.push(requestOAuth2);\n\t\t\t\t} else {\n\t\t\t\t\t// bearerAuth, queryAuth, headerAuth, digestAuth, none\n\t\t\t\t\tconst request = this.helpers.request(requestOptions);\n\t\t\t\t\trequest.catch(() => {});\n\t\t\t\t\trequestPromises.push(request);\n\t\t\t\t}\n\t\t\t} else if (authentication === 'predefinedCredentialType' && nodeCredentialType) {\n\t\t\t\tconst additionalOAuth2Options = getOAuth2AdditionalParameters(nodeCredentialType);\n\n\t\t\t\t// service-specific cred: OAuth1, OAuth2, plain\n\t\t\t\tconst requestWithAuthentication = this.helpers.requestWithAuthentication.call(\n\t\t\t\t\tthis,\n\t\t\t\t\tnodeCredentialType,\n\t\t\t\t\trequestOptions,\n\t\t\t\t\tadditionalOAuth2Options && { oauth2: additionalOAuth2Options },\n\t\t\t\t);\n\t\t\t\trequestWithAuthentication.catch(() => {});\n\t\t\t\trequestPromises.push(requestWithAuthentication);\n\t\t\t}\n\t\t}\n\n\t\tconst promisesResponses = await Promise.allSettled(requestPromises);\n\n\t\tlet response: any;\n\t\tfor (let itemIndex = 0; itemIndex < items.length; itemIndex++) {\n\t\t\tresponse = promisesResponses.shift();\n\t\t\tif (response!.status !== 'fulfilled') {\n\t\t\t\tif (!this.continueOnFail()) {\n\t\t\t\t\t// throw error;\n\t\t\t\t\tthrow new NodeApiError(this.getNode(), response as JsonObject, { itemIndex });\n\t\t\t\t} else {\n\t\t\t\t\tremoveCircularRefs(response.reason as JsonObject);\n\t\t\t\t\t// Return the actual reason as error\n\t\t\t\t\treturnItems.push({\n\t\t\t\t\t\tjson: {\n\t\t\t\t\t\t\terror: response.reason,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tpairedItem: {\n\t\t\t\t\t\t\titem: itemIndex,\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tresponse = response.value;\n\t\t\tif (response?.request?.constructor.name === 'ClientRequest') delete response.request;\n\n\t\t\tconst options = this.getNodeParameter('options', itemIndex, {});\n\n\t\t\tconst fullResponse = !!options.fullResponse;\n\n\t\t\tif (responseFormat === 'file') {\n\t\t\t\tconst dataPropertyName = this.getNodeParameter('dataPropertyName', 0);\n\n\t\t\t\tconst newItem: INodeExecutionData = {\n\t\t\t\t\tjson: {},\n\t\t\t\t\tbinary: {},\n\t\t\t\t\tpairedItem: {\n\t\t\t\t\t\titem: itemIndex,\n\t\t\t\t\t},\n\t\t\t\t};\n\n\t\t\t\tif (items[itemIndex].binary !== undefined) {\n\t\t\t\t\t// Create a shallow copy of the binary data so that the old\n\t\t\t\t\t// data references which do not get changed still stay behind\n\t\t\t\t\t// but the incoming data does not get changed.\n\t\t\t\t\t// @ts-ignore\n\t\t\t\t\tObject.assign(newItem.binary, items[itemIndex].binary);\n\t\t\t\t}\n\n\t\t\t\tlet binaryData: Buffer | Readable;\n\t\t\t\tif (fullResponse) {\n\t\t\t\t\tconst returnItem: IDataObject = {};\n\t\t\t\t\tfor (const property of fullResponseProperties) {\n\t\t\t\t\t\tif (property === 'body') {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturnItem[property] = response![property];\n\t\t\t\t\t}\n\n\t\t\t\t\tnewItem.json = returnItem;\n\t\t\t\t\tbinaryData = response!.body;\n\t\t\t\t} else {\n\t\t\t\t\tnewItem.json = items[itemIndex].json;\n\t\t\t\t\tbinaryData = response;\n\t\t\t\t}\n\n\t\t\t\tnewItem.binary![dataPropertyName] = await this.helpers.prepareBinaryData(binaryData);\n\t\t\t\treturnItems.push(newItem);\n\t\t\t} else if (responseFormat === 'string') {\n\t\t\t\tconst dataPropertyName = this.getNodeParameter('dataPropertyName', 0);\n\n\t\t\t\tif (fullResponse) {\n\t\t\t\t\tconst returnItem: IDataObject = {};\n\t\t\t\t\tfor (const property of fullResponseProperties) {\n\t\t\t\t\t\tif (property === 'body') {\n\t\t\t\t\t\t\treturnItem[dataPropertyName] = response![property];\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturnItem[property] = response![property];\n\t\t\t\t\t}\n\t\t\t\t\treturnItems.push({\n\t\t\t\t\t\tjson: returnItem,\n\t\t\t\t\t\tpairedItem: {\n\t\t\t\t\t\t\titem: itemIndex,\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\treturnItems.push({\n\t\t\t\t\t\tjson: {\n\t\t\t\t\t\t\t[dataPropertyName]: response,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tpairedItem: {\n\t\t\t\t\t\t\titem: itemIndex,\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// responseFormat: 'json'\n\t\t\t\tif (fullResponse) {\n\t\t\t\t\tconst returnItem: IDataObject = {};\n\t\t\t\t\tfor (const property of fullResponseProperties) {\n\t\t\t\t\t\treturnItem[property] = response![property];\n\t\t\t\t\t}\n\n\t\t\t\t\tif (responseFormat === 'json' && typeof returnItem.body === 'string') {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\treturnItem.body = JSON.parse(returnItem.body);\n\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\tthrow new NodeOperationError(\n\t\t\t\t\t\t\t\tthis.getNode(),\n\t\t\t\t\t\t\t\t'Response body is not valid JSON. Change \"Response Format\" to \"String\"',\n\t\t\t\t\t\t\t\t{ itemIndex },\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturnItems.push({\n\t\t\t\t\t\tjson: returnItem,\n\t\t\t\t\t\tpairedItem: {\n\t\t\t\t\t\t\titem: itemIndex,\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tif (responseFormat === 'json' && typeof response === 'string') {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse = JSON.parse(response);\n\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\tthrow new NodeOperationError(\n\t\t\t\t\t\t\t\tthis.getNode(),\n\t\t\t\t\t\t\t\t'Response body is not valid JSON. Change \"Response Format\" to \"String\"',\n\t\t\t\t\t\t\t\t{ itemIndex },\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (options.splitIntoItems === true && Array.isArray(response)) {\n\t\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-loop-func\n\t\t\t\t\t\tresponse.forEach((item) =>\n\t\t\t\t\t\t\treturnItems.push({\n\t\t\t\t\t\t\t\tjson: item,\n\t\t\t\t\t\t\t\tpairedItem: {\n\t\t\t\t\t\t\t\t\titem: itemIndex,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturnItems.push({\n\t\t\t\t\t\t\tjson: response,\n\t\t\t\t\t\t\tpairedItem: {\n\t\t\t\t\t\t\t\titem: itemIndex,\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\n\t\treturnItems = returnItems.map(replaceNullValues);\n\n\t\treturn [returnItems];\n\t}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,MACD;AAAA,IACD;AAEA,kBAAc,YAAY,IAAI,yCAAiB;AAE/C,WAAO,CAAC,WAAW;AAAA,EACpB;AACD;","names":[]}
@@ -88,6 +88,7 @@ class HttpRequestV3 {
88
88
  } catch {
89
89
  }
90
90
  let httpBasicAuth;
91
+ let httpBearerAuth;
91
92
  let httpDigestAuth;
92
93
  let httpHeaderAuth;
93
94
  let httpQueryAuth;
@@ -115,6 +116,8 @@ class HttpRequestV3 {
115
116
  genericCredentialType = this.getNodeParameter("genericAuthType", 0);
116
117
  if (genericCredentialType === "httpBasicAuth") {
117
118
  httpBasicAuth = await this.getCredentials("httpBasicAuth", itemIndex);
119
+ } else if (genericCredentialType === "httpBearerAuth") {
120
+ httpBearerAuth = await this.getCredentials("httpBearerAuth", itemIndex);
118
121
  } else if (genericCredentialType === "httpDigestAuth") {
119
122
  httpDigestAuth = await this.getCredentials("httpDigestAuth", itemIndex);
120
123
  } else if (genericCredentialType === "httpHeaderAuth") {
@@ -385,6 +388,11 @@ class HttpRequestV3 {
385
388
  };
386
389
  authDataKeys.auth = ["pass"];
387
390
  }
391
+ if (httpBearerAuth !== void 0) {
392
+ requestOptions.headers = requestOptions.headers ?? {};
393
+ requestOptions.headers.Authorization = `Bearer ${String(httpBearerAuth.token)}`;
394
+ authDataKeys.headers = ["Authorization"];
395
+ }
388
396
  if (httpHeaderAuth !== void 0) {
389
397
  requestOptions.headers[httpHeaderAuth.name] = httpHeaderAuth.value;
390
398
  authDataKeys.headers = [httpHeaderAuth.name];