@crowdin/n8n-nodes-crowdin 0.12.0 → 0.14.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 (54) hide show
  1. package/dist/nodes/Crowdin/methods/common/index.js +3 -0
  2. package/dist/nodes/Crowdin/methods/common/index.js.map +1 -1
  3. package/dist/nodes/Crowdin/properties/common/extensions/advisors.d.ts +2 -0
  4. package/dist/nodes/Crowdin/properties/common/extensions/advisors.js +130 -0
  5. package/dist/nodes/Crowdin/properties/common/extensions/advisors.js.map +1 -0
  6. package/dist/nodes/Crowdin/properties/common/extensions/index.js +2 -1
  7. package/dist/nodes/Crowdin/properties/common/extensions/index.js.map +1 -1
  8. package/dist/nodes/Crowdin/properties/crowdin/fileBased/advisor.d.ts +2 -0
  9. package/dist/nodes/Crowdin/properties/crowdin/fileBased/advisor.js +865 -0
  10. package/dist/nodes/Crowdin/properties/crowdin/fileBased/advisor.js.map +1 -0
  11. package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js +526 -311
  12. package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js.map +1 -1
  13. package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js +42 -36
  14. package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js.map +1 -1
  15. package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js +46 -12
  16. package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js.map +1 -1
  17. package/dist/nodes/Crowdin/properties/crowdin/fileBased/tasks.js +110 -60
  18. package/dist/nodes/Crowdin/properties/crowdin/fileBased/tasks.js.map +1 -1
  19. package/dist/nodes/Crowdin/properties/crowdin/stringBased/advisor.d.ts +2 -0
  20. package/dist/nodes/Crowdin/properties/crowdin/stringBased/advisor.js +865 -0
  21. package/dist/nodes/Crowdin/properties/crowdin/stringBased/advisor.js.map +1 -0
  22. package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js +526 -311
  23. package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js.map +1 -1
  24. package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js +14 -8
  25. package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js.map +1 -1
  26. package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js +36 -2
  27. package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js.map +1 -1
  28. package/dist/nodes/Crowdin/properties/crowdin/stringBased/tasks.js +58 -60
  29. package/dist/nodes/Crowdin/properties/crowdin/stringBased/tasks.js.map +1 -1
  30. package/dist/nodes/Crowdin/properties/enterprise/fileBased/advisor.d.ts +2 -0
  31. package/dist/nodes/Crowdin/properties/enterprise/fileBased/advisor.js +865 -0
  32. package/dist/nodes/Crowdin/properties/enterprise/fileBased/advisor.js.map +1 -0
  33. package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js +527 -312
  34. package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js.map +1 -1
  35. package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js +28 -22
  36. package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js.map +1 -1
  37. package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js +46 -12
  38. package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js.map +1 -1
  39. package/dist/nodes/Crowdin/properties/enterprise/fileBased/tasks.js +110 -60
  40. package/dist/nodes/Crowdin/properties/enterprise/fileBased/tasks.js.map +1 -1
  41. package/dist/nodes/Crowdin/properties/enterprise/stringBased/advisor.d.ts +2 -0
  42. package/dist/nodes/Crowdin/properties/enterprise/stringBased/advisor.js +865 -0
  43. package/dist/nodes/Crowdin/properties/enterprise/stringBased/advisor.js.map +1 -0
  44. package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js +527 -312
  45. package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js.map +1 -1
  46. package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js +28 -22
  47. package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js.map +1 -1
  48. package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js +36 -2
  49. package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js.map +1 -1
  50. package/dist/nodes/Crowdin/properties/enterprise/stringBased/tasks.js +62 -64
  51. package/dist/nodes/Crowdin/properties/enterprise/stringBased/tasks.js.map +1 -1
  52. package/dist/package.json +1 -1
  53. package/dist/tsconfig.tsbuildinfo +1 -1
  54. package/package.json +1 -1
@@ -3032,6 +3032,32 @@ exports.projectsAndGroupsProperties = [
3032
3032
  loadOptionsMethod: 'getAiPrompts'
3033
3033
  }
3034
3034
  },
3035
+ {
3036
+ displayName: 'Context Review Ai Prompt Id',
3037
+ name: 'contextReviewAiPromptId',
3038
+ type: 'number',
3039
+ default: 0,
3040
+ description: 'AI Prompt ID to be used as prompt for Advisor string context review',
3041
+ routing: {
3042
+ send: {
3043
+ property: 'contextReviewAiPromptId',
3044
+ propertyInDotNotation: false,
3045
+ type: 'body',
3046
+ value: '={{ $value !== 0 ? $value : undefined }}'
3047
+ }
3048
+ },
3049
+ displayOptions: {
3050
+ show: {
3051
+ resource: [
3052
+ 'projectsAndGroups'
3053
+ ],
3054
+ operation: [
3055
+ 'api.projects.post'
3056
+ ]
3057
+ }
3058
+ },
3059
+ placeholder: '11'
3060
+ },
3035
3061
  {
3036
3062
  displayName: 'Default Tm Id',
3037
3063
  name: 'defaultTmId',
@@ -3582,7 +3608,7 @@ exports.projectsAndGroupsProperties = [
3582
3608
  name: 'escapeQuotes',
3583
3609
  type: 'options',
3584
3610
  default: '',
3585
- description: 'Values available:\n - 0 - Do not escape single quote\n - 1 - Escape single quote by another single quote\n - 2 - Escape single quote by a backslash\n - 3 - Escape single quote by another single quote only in strings containing variables (`{0}`)',
3611
+ description: 'Values available:\n * 0 - Do not escape single quote\n * 1 - Escape single quote by another single quote\n * 2 - Escape single quote by a backslash\n * 3 - Escape single quote by another single quote only in strings containing variables (`{0}`)',
3586
3612
  options: [
3587
3613
  {
3588
3614
  name: '-',
@@ -3611,7 +3637,7 @@ exports.projectsAndGroupsProperties = [
3611
3637
  name: 'escapeSpecialCharacters',
3612
3638
  type: 'options',
3613
3639
  default: '',
3614
- description: 'Defines whether any special characters (=, :, ! and #) should be escaped by backslash in exported translations. You can add escape_special_characters per-file option.\n\nAcceptable values are: 0, 1. Default is 0.\n - 0 - Do not escape special characters\n - 1 - Escape special characters by a backslash',
3640
+ description: 'Defines whether any special characters (=, :, ! and #) should be escaped by backslash in exported translations. You can add escape_special_characters per-file option.\n\nAcceptable values are: 0, 1. Default is 0.\n * 0 - Do not escape special characters\n * 1 - Escape special characters by a backslash',
3615
3641
  options: [
3616
3642
  {
3617
3643
  name: '-',
@@ -3655,7 +3681,7 @@ exports.projectsAndGroupsProperties = [
3655
3681
  multipleValues: true
3656
3682
  },
3657
3683
  default: {},
3658
- description: 'This is an array of strings, where each item is the XPaths to DOM element that should be imported.\n\nSupported XPath patterns:\n- `/path/to/node` — Absolute path to a specific node\n- `/path/to/attribute[@attr]` — Absolute path to an attribute\n- `//node` — All nodes with the specified name\n- `//[@attr]` — All elements with the specified attribute\n- `nodeone/nodetwo` — Relative path\n- `/nodeone//nodetwo` — Mixed absolute and descendant path\n- `//node[@attr]` — All nodes with the specified name and attribute',
3684
+ description: 'This is an array of strings, where each item is the XPaths to DOM element that should be imported.\n\nSupported XPath patterns:\n * `/path/to/node` — Absolute path to a specific node\n * `/path/to/attribute[@attr]` — Absolute path to an attribute\n * `//node` — All nodes with the specified name\n * `//[@attr]` — All elements with the specified attribute\n * `nodeone/nodetwo` — Relative path\n * `/nodeone//nodetwo` — Mixed absolute and descendant path\n * `//node[@attr]` — All nodes with the specified name and attribute',
3659
3685
  placeholder: 'Add Item',
3660
3686
  options: [
3661
3687
  {
@@ -4132,7 +4158,7 @@ exports.projectsAndGroupsProperties = [
4132
4158
  name: 'type',
4133
4159
  type: 'options',
4134
4160
  default: '',
4135
- description: 'Values available:\n - \'mdx_v1\' — MDX (v1)\n * - \'mdx_v2\' - MDX (v2)',
4161
+ description: 'Values available:\n * \'mdx_v1\' — MDX (v1)\n * \'mdx_v2\' - MDX (v2)',
4136
4162
  options: [
4137
4163
  {
4138
4164
  name: '-',
@@ -4838,7 +4864,7 @@ exports.projectsAndGroupsProperties = [
4838
4864
  name: 'type',
4839
4865
  type: 'options',
4840
4866
  default: '',
4841
- description: 'Values available:\n * \'i18next_json\' — i18next (*.json)\n * \'nestjs_i18n\' - NestJS i18n',
4867
+ description: 'Values available:\n * \'i18next_json\' — i18next (*.json)\n * \'nestjs_i18n\' - NestJS i18n',
4842
4868
  options: [
4843
4869
  {
4844
4870
  name: '-',
@@ -5136,7 +5162,7 @@ exports.projectsAndGroupsProperties = [
5136
5162
  name: 'exportQuotes',
5137
5163
  type: 'options',
5138
5164
  default: '',
5139
- description: 'Acceptable values are: \'single\', \'double\'. Default is \'single\'.\n - \'single\' - Output will be enclosed in single quotes\n - \'double\' - Output will be enclosed in double quotes',
5165
+ description: 'Acceptable values are: \'single\', \'double\'. Default is \'single\'.\n * \'single\' - Output will be enclosed in single quotes\n * \'double\' - Output will be enclosed in double quotes',
5140
5166
  options: [
5141
5167
  {
5142
5168
  name: '-',
@@ -6540,6 +6566,14 @@ exports.projectsAndGroupsProperties = [
6540
6566
  loadOptionsMethod: 'getAiPrompts'
6541
6567
  }
6542
6568
  },
6569
+ {
6570
+ displayName: 'Context Review Ai Prompt Id',
6571
+ name: 'contextReviewAiPromptId',
6572
+ type: 'number',
6573
+ default: 0,
6574
+ description: 'AI Prompt ID to be used as prompt for Advisor string context review',
6575
+ placeholder: '11'
6576
+ },
6543
6577
  {
6544
6578
  displayName: 'Savings Report Settings Template Id',
6545
6579
  name: 'savingsReportSettingsTemplateId',
@@ -6982,7 +7016,7 @@ exports.projectsAndGroupsProperties = [
6982
7016
  name: 'escapeQuotes',
6983
7017
  type: 'options',
6984
7018
  default: '',
6985
- description: 'Values available:\n - 0 - Do not escape single quote\n - 1 - Escape single quote by another single quote\n - 2 - Escape single quote by a backslash\n - 3 - Escape single quote by another single quote only in strings containing variables (`{0}`)',
7019
+ description: 'Values available:\n * 0 - Do not escape single quote\n * 1 - Escape single quote by another single quote\n * 2 - Escape single quote by a backslash\n * 3 - Escape single quote by another single quote only in strings containing variables (`{0}`)',
6986
7020
  options: [
6987
7021
  {
6988
7022
  name: '-',
@@ -7011,7 +7045,7 @@ exports.projectsAndGroupsProperties = [
7011
7045
  name: 'escapeSpecialCharacters',
7012
7046
  type: 'options',
7013
7047
  default: '',
7014
- description: 'Defines whether any special characters (=, :, ! and #) should be escaped by backslash in exported translations. You can add escape_special_characters per-file option.\n\nAcceptable values are: 0, 1. Default is 0.\n - 0 - Do not escape special characters\n - 1 - Escape special characters by a backslash',
7048
+ description: 'Defines whether any special characters (=, :, ! and #) should be escaped by backslash in exported translations. You can add escape_special_characters per-file option.\n\nAcceptable values are: 0, 1. Default is 0.\n * 0 - Do not escape special characters\n * 1 - Escape special characters by a backslash',
7015
7049
  options: [
7016
7050
  {
7017
7051
  name: '-',
@@ -7055,7 +7089,7 @@ exports.projectsAndGroupsProperties = [
7055
7089
  multipleValues: true
7056
7090
  },
7057
7091
  default: {},
7058
- description: 'This is an array of strings, where each item is the XPaths to DOM element that should be imported.\n\nSupported XPath patterns:\n- `/path/to/node` — Absolute path to a specific node\n- `/path/to/attribute[@attr]` — Absolute path to an attribute\n- `//node` — All nodes with the specified name\n- `//[@attr]` — All elements with the specified attribute\n- `nodeone/nodetwo` — Relative path\n- `/nodeone//nodetwo` — Mixed absolute and descendant path\n- `//node[@attr]` — All nodes with the specified name and attribute',
7092
+ description: 'This is an array of strings, where each item is the XPaths to DOM element that should be imported.\n\nSupported XPath patterns:\n * `/path/to/node` — Absolute path to a specific node\n * `/path/to/attribute[@attr]` — Absolute path to an attribute\n * `//node` — All nodes with the specified name\n * `//[@attr]` — All elements with the specified attribute\n * `nodeone/nodetwo` — Relative path\n * `/nodeone//nodetwo` — Mixed absolute and descendant path\n * `//node[@attr]` — All nodes with the specified name and attribute',
7059
7093
  placeholder: 'Add Item',
7060
7094
  options: [
7061
7095
  {
@@ -7532,7 +7566,7 @@ exports.projectsAndGroupsProperties = [
7532
7566
  name: 'type',
7533
7567
  type: 'options',
7534
7568
  default: '',
7535
- description: 'Values available:\n - \'mdx_v1\' — MDX (v1)\n * - \'mdx_v2\' - MDX (v2)',
7569
+ description: 'Values available:\n * \'mdx_v1\' — MDX (v1)\n * \'mdx_v2\' - MDX (v2)',
7536
7570
  options: [
7537
7571
  {
7538
7572
  name: '-',
@@ -8238,7 +8272,7 @@ exports.projectsAndGroupsProperties = [
8238
8272
  name: 'type',
8239
8273
  type: 'options',
8240
8274
  default: '',
8241
- description: 'Values available:\n * \'i18next_json\' — i18next (*.json)\n * \'nestjs_i18n\' - NestJS i18n',
8275
+ description: 'Values available:\n * \'i18next_json\' — i18next (*.json)\n * \'nestjs_i18n\' - NestJS i18n',
8242
8276
  options: [
8243
8277
  {
8244
8278
  name: '-',
@@ -8536,7 +8570,7 @@ exports.projectsAndGroupsProperties = [
8536
8570
  name: 'exportQuotes',
8537
8571
  type: 'options',
8538
8572
  default: '',
8539
- description: 'Acceptable values are: \'single\', \'double\'. Default is \'single\'.\n - \'single\' - Output will be enclosed in single quotes\n - \'double\' - Output will be enclosed in double quotes',
8573
+ description: 'Acceptable values are: \'single\', \'double\'. Default is \'single\'.\n * \'single\' - Output will be enclosed in single quotes\n * \'double\' - Output will be enclosed in double quotes',
8540
8574
  options: [
8541
8575
  {
8542
8576
  name: '-',