@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
@@ -2332,6 +2332,32 @@ exports.projectsProperties = [
2332
2332
  loadOptionsMethod: 'getAiPrompts'
2333
2333
  }
2334
2334
  },
2335
+ {
2336
+ displayName: 'Context Review Ai Prompt Id',
2337
+ name: 'contextReviewAiPromptId',
2338
+ type: 'number',
2339
+ default: 0,
2340
+ description: 'AI Prompt ID to be used as prompt for Advisor string context review',
2341
+ routing: {
2342
+ send: {
2343
+ property: 'contextReviewAiPromptId',
2344
+ propertyInDotNotation: false,
2345
+ type: 'body',
2346
+ value: '={{ $value !== 0 ? $value : undefined }}'
2347
+ }
2348
+ },
2349
+ displayOptions: {
2350
+ show: {
2351
+ resource: [
2352
+ 'projects'
2353
+ ],
2354
+ operation: [
2355
+ 'api.projects.post'
2356
+ ]
2357
+ }
2358
+ },
2359
+ placeholder: '11'
2360
+ },
2335
2361
  {
2336
2362
  displayName: 'Savings Report Settings Template Id',
2337
2363
  name: 'savingsReportSettingsTemplateId',
@@ -2910,7 +2936,7 @@ exports.projectsProperties = [
2910
2936
  name: 'escapeQuotes',
2911
2937
  type: 'options',
2912
2938
  default: '',
2913
- 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}`)',
2939
+ 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}`)',
2914
2940
  options: [
2915
2941
  {
2916
2942
  name: '-',
@@ -2939,7 +2965,7 @@ exports.projectsProperties = [
2939
2965
  name: 'escapeSpecialCharacters',
2940
2966
  type: 'options',
2941
2967
  default: '',
2942
- 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',
2968
+ 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',
2943
2969
  options: [
2944
2970
  {
2945
2971
  name: '-',
@@ -2983,7 +3009,7 @@ exports.projectsProperties = [
2983
3009
  multipleValues: true
2984
3010
  },
2985
3011
  default: {},
2986
- 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',
3012
+ 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',
2987
3013
  placeholder: 'Add Item',
2988
3014
  options: [
2989
3015
  {
@@ -3460,7 +3486,7 @@ exports.projectsProperties = [
3460
3486
  name: 'type',
3461
3487
  type: 'options',
3462
3488
  default: '',
3463
- description: 'Values available:\n - \'mdx_v1\' — MDX (v1)\n * - \'mdx_v2\' - MDX (v2)',
3489
+ description: 'Values available:\n * \'mdx_v1\' — MDX (v1)\n * \'mdx_v2\' - MDX (v2)',
3464
3490
  options: [
3465
3491
  {
3466
3492
  name: '-',
@@ -4166,7 +4192,7 @@ exports.projectsProperties = [
4166
4192
  name: 'type',
4167
4193
  type: 'options',
4168
4194
  default: '',
4169
- description: 'Values available:\n * \'i18next_json\' — i18next (*.json)\n * \'nestjs_i18n\' - NestJS i18n',
4195
+ description: 'Values available:\n * \'i18next_json\' — i18next (*.json)\n * \'nestjs_i18n\' - NestJS i18n',
4170
4196
  options: [
4171
4197
  {
4172
4198
  name: '-',
@@ -4464,7 +4490,7 @@ exports.projectsProperties = [
4464
4490
  name: 'exportQuotes',
4465
4491
  type: 'options',
4466
4492
  default: '',
4467
- 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',
4493
+ 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',
4468
4494
  options: [
4469
4495
  {
4470
4496
  name: '-',
@@ -6017,6 +6043,14 @@ exports.projectsProperties = [
6017
6043
  loadOptionsMethod: 'getAiPrompts'
6018
6044
  }
6019
6045
  },
6046
+ {
6047
+ displayName: 'Context Review Ai Prompt Id',
6048
+ name: 'contextReviewAiPromptId',
6049
+ type: 'number',
6050
+ default: 0,
6051
+ description: 'AI Prompt ID to be used as prompt for Advisor string context review',
6052
+ placeholder: '11'
6053
+ },
6020
6054
  {
6021
6055
  displayName: 'Savings Report Settings Template Id',
6022
6056
  name: 'savingsReportSettingsTemplateId',
@@ -6083,7 +6117,7 @@ exports.projectsProperties = [
6083
6117
  name: 'escapeQuotes',
6084
6118
  type: 'options',
6085
6119
  default: '',
6086
- 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}`)',
6120
+ 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}`)',
6087
6121
  options: [
6088
6122
  {
6089
6123
  name: '-',
@@ -6112,7 +6146,7 @@ exports.projectsProperties = [
6112
6146
  name: 'escapeSpecialCharacters',
6113
6147
  type: 'options',
6114
6148
  default: '',
6115
- 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',
6149
+ 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',
6116
6150
  options: [
6117
6151
  {
6118
6152
  name: '-',
@@ -6156,7 +6190,7 @@ exports.projectsProperties = [
6156
6190
  multipleValues: true
6157
6191
  },
6158
6192
  default: {},
6159
- 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',
6193
+ 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',
6160
6194
  placeholder: 'Add Item',
6161
6195
  options: [
6162
6196
  {
@@ -6633,7 +6667,7 @@ exports.projectsProperties = [
6633
6667
  name: 'type',
6634
6668
  type: 'options',
6635
6669
  default: '',
6636
- description: 'Values available:\n - \'mdx_v1\' — MDX (v1)\n * - \'mdx_v2\' - MDX (v2)',
6670
+ description: 'Values available:\n * \'mdx_v1\' — MDX (v1)\n * \'mdx_v2\' - MDX (v2)',
6637
6671
  options: [
6638
6672
  {
6639
6673
  name: '-',
@@ -7339,7 +7373,7 @@ exports.projectsProperties = [
7339
7373
  name: 'type',
7340
7374
  type: 'options',
7341
7375
  default: '',
7342
- description: 'Values available:\n * \'i18next_json\' — i18next (*.json)\n * \'nestjs_i18n\' - NestJS i18n',
7376
+ description: 'Values available:\n * \'i18next_json\' — i18next (*.json)\n * \'nestjs_i18n\' - NestJS i18n',
7343
7377
  options: [
7344
7378
  {
7345
7379
  name: '-',
@@ -7637,7 +7671,7 @@ exports.projectsProperties = [
7637
7671
  name: 'exportQuotes',
7638
7672
  type: 'options',
7639
7673
  default: '',
7640
- 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',
7674
+ 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',
7641
7675
  options: [
7642
7676
  {
7643
7677
  name: '-',