@n8n-dev/n8n-nodes-motaword 1.0.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 (100) hide show
  1. package/README.md +123 -0
  2. package/dist/banner.svg +115 -0
  3. package/dist/credentials/MotawordApi.credentials.d.ts +9 -0
  4. package/dist/credentials/MotawordApi.credentials.js +49 -0
  5. package/dist/credentials/MotawordApi.credentials.js.map +1 -0
  6. package/dist/icons/motaword.dark.png +0 -0
  7. package/dist/icons/motaword.png +0 -0
  8. package/dist/nodes/Motaword/Motaword.node.d.ts +4 -0
  9. package/dist/nodes/Motaword/Motaword.node.js +236 -0
  10. package/dist/nodes/Motaword/Motaword.node.js.map +1 -0
  11. package/dist/nodes/Motaword/Motaword.node.json +20 -0
  12. package/dist/nodes/Motaword/motaword.dark.png +0 -0
  13. package/dist/nodes/Motaword/motaword.png +0 -0
  14. package/dist/nodes/Motaword/resources/activity/index.d.ts +2 -0
  15. package/dist/nodes/Motaword/resources/activity/index.js +756 -0
  16. package/dist/nodes/Motaword/resources/activity/index.js.map +1 -0
  17. package/dist/nodes/Motaword/resources/async/index.d.ts +2 -0
  18. package/dist/nodes/Motaword/resources/async/index.js +79 -0
  19. package/dist/nodes/Motaword/resources/async/index.js.map +1 -0
  20. package/dist/nodes/Motaword/resources/auth/index.d.ts +2 -0
  21. package/dist/nodes/Motaword/resources/auth/index.js +230 -0
  22. package/dist/nodes/Motaword/resources/auth/index.js.map +1 -0
  23. package/dist/nodes/Motaword/resources/blog/index.d.ts +2 -0
  24. package/dist/nodes/Motaword/resources/blog/index.js +151 -0
  25. package/dist/nodes/Motaword/resources/blog/index.js.map +1 -0
  26. package/dist/nodes/Motaword/resources/commission/index.d.ts +2 -0
  27. package/dist/nodes/Motaword/resources/commission/index.js +234 -0
  28. package/dist/nodes/Motaword/resources/commission/index.js.map +1 -0
  29. package/dist/nodes/Motaword/resources/continuous-project/index.d.ts +2 -0
  30. package/dist/nodes/Motaword/resources/continuous-project/index.js +5212 -0
  31. package/dist/nodes/Motaword/resources/continuous-project/index.js.map +1 -0
  32. package/dist/nodes/Motaword/resources/corporate/index.d.ts +2 -0
  33. package/dist/nodes/Motaword/resources/corporate/index.js +692 -0
  34. package/dist/nodes/Motaword/resources/corporate/index.js.map +1 -0
  35. package/dist/nodes/Motaword/resources/default/index.d.ts +2 -0
  36. package/dist/nodes/Motaword/resources/default/index.js +71 -0
  37. package/dist/nodes/Motaword/resources/default/index.js.map +1 -0
  38. package/dist/nodes/Motaword/resources/document/index.d.ts +2 -0
  39. package/dist/nodes/Motaword/resources/document/index.js +1262 -0
  40. package/dist/nodes/Motaword/resources/document/index.js.map +1 -0
  41. package/dist/nodes/Motaword/resources/glossary/index.d.ts +2 -0
  42. package/dist/nodes/Motaword/resources/glossary/index.js +528 -0
  43. package/dist/nodes/Motaword/resources/glossary/index.js.map +1 -0
  44. package/dist/nodes/Motaword/resources/index.d.ts +27 -0
  45. package/dist/nodes/Motaword/resources/index.js +58 -0
  46. package/dist/nodes/Motaword/resources/index.js.map +1 -0
  47. package/dist/nodes/Motaword/resources/integrations/index.d.ts +2 -0
  48. package/dist/nodes/Motaword/resources/integrations/index.js +53 -0
  49. package/dist/nodes/Motaword/resources/integrations/index.js.map +1 -0
  50. package/dist/nodes/Motaword/resources/invitation/index.d.ts +2 -0
  51. package/dist/nodes/Motaword/resources/invitation/index.js +74 -0
  52. package/dist/nodes/Motaword/resources/invitation/index.js.map +1 -0
  53. package/dist/nodes/Motaword/resources/machine-learning/index.d.ts +2 -0
  54. package/dist/nodes/Motaword/resources/machine-learning/index.js +77 -0
  55. package/dist/nodes/Motaword/resources/machine-learning/index.js.map +1 -0
  56. package/dist/nodes/Motaword/resources/pam/index.d.ts +2 -0
  57. package/dist/nodes/Motaword/resources/pam/index.js +276 -0
  58. package/dist/nodes/Motaword/resources/pam/index.js.map +1 -0
  59. package/dist/nodes/Motaword/resources/payment/index.d.ts +2 -0
  60. package/dist/nodes/Motaword/resources/payment/index.js +231 -0
  61. package/dist/nodes/Motaword/resources/payment/index.js.map +1 -0
  62. package/dist/nodes/Motaword/resources/project/index.d.ts +2 -0
  63. package/dist/nodes/Motaword/resources/project/index.js +2472 -0
  64. package/dist/nodes/Motaword/resources/project/index.js.map +1 -0
  65. package/dist/nodes/Motaword/resources/project-document/index.d.ts +2 -0
  66. package/dist/nodes/Motaword/resources/project-document/index.js +697 -0
  67. package/dist/nodes/Motaword/resources/project-document/index.js.map +1 -0
  68. package/dist/nodes/Motaword/resources/project-webhooks/index.d.ts +2 -0
  69. package/dist/nodes/Motaword/resources/project-webhooks/index.js +268 -0
  70. package/dist/nodes/Motaword/resources/project-webhooks/index.js.map +1 -0
  71. package/dist/nodes/Motaword/resources/report/index.d.ts +2 -0
  72. package/dist/nodes/Motaword/resources/report/index.js +967 -0
  73. package/dist/nodes/Motaword/resources/report/index.js.map +1 -0
  74. package/dist/nodes/Motaword/resources/search/index.d.ts +2 -0
  75. package/dist/nodes/Motaword/resources/search/index.js +240 -0
  76. package/dist/nodes/Motaword/resources/search/index.js.map +1 -0
  77. package/dist/nodes/Motaword/resources/static/index.d.ts +2 -0
  78. package/dist/nodes/Motaword/resources/static/index.js +146 -0
  79. package/dist/nodes/Motaword/resources/static/index.js.map +1 -0
  80. package/dist/nodes/Motaword/resources/stats/index.d.ts +2 -0
  81. package/dist/nodes/Motaword/resources/stats/index.js +327 -0
  82. package/dist/nodes/Motaword/resources/stats/index.js.map +1 -0
  83. package/dist/nodes/Motaword/resources/strings/index.d.ts +2 -0
  84. package/dist/nodes/Motaword/resources/strings/index.js +1517 -0
  85. package/dist/nodes/Motaword/resources/strings/index.js.map +1 -0
  86. package/dist/nodes/Motaword/resources/style-guide/index.d.ts +2 -0
  87. package/dist/nodes/Motaword/resources/style-guide/index.js +578 -0
  88. package/dist/nodes/Motaword/resources/style-guide/index.js.map +1 -0
  89. package/dist/nodes/Motaword/resources/surveys/index.d.ts +2 -0
  90. package/dist/nodes/Motaword/resources/surveys/index.js +205 -0
  91. package/dist/nodes/Motaword/resources/surveys/index.js.map +1 -0
  92. package/dist/nodes/Motaword/resources/user/index.d.ts +2 -0
  93. package/dist/nodes/Motaword/resources/user/index.js +6153 -0
  94. package/dist/nodes/Motaword/resources/user/index.js.map +1 -0
  95. package/dist/nodes/Motaword/resources/vendor/index.d.ts +2 -0
  96. package/dist/nodes/Motaword/resources/vendor/index.js +203 -0
  97. package/dist/nodes/Motaword/resources/vendor/index.js.map +1 -0
  98. package/dist/package.json +62 -0
  99. package/dist/tsconfig.tsbuildinfo +1 -0
  100. package/package.json +62 -0
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultDescription = exports.vendorDescription = exports.authDescription = exports.surveysDescription = exports.statsDescription = exports.searchDescription = exports.reportDescription = exports.styleGuideDescription = exports.projectDocumentDescription = exports.projectWebhooksDescription = exports.activityDescription = exports.projectDescription = exports.paymentDescription = exports.pamDescription = exports.machineLearningDescription = exports.invitationDescription = exports.integrationsDescription = exports.glossaryDescription = exports.documentDescription = exports.userDescription = exports.corporateDescription = exports.stringsDescription = exports.continuousProjectDescription = exports.commissionDescription = exports.blogDescription = exports.asyncDescription = exports.staticDescription = void 0;
4
+ var static_1 = require("./static");
5
+ Object.defineProperty(exports, "staticDescription", { enumerable: true, get: function () { return static_1.staticDescription; } });
6
+ var async_1 = require("./async");
7
+ Object.defineProperty(exports, "asyncDescription", { enumerable: true, get: function () { return async_1.asyncDescription; } });
8
+ var blog_1 = require("./blog");
9
+ Object.defineProperty(exports, "blogDescription", { enumerable: true, get: function () { return blog_1.blogDescription; } });
10
+ var commission_1 = require("./commission");
11
+ Object.defineProperty(exports, "commissionDescription", { enumerable: true, get: function () { return commission_1.commissionDescription; } });
12
+ var continuous_project_1 = require("./continuous-project");
13
+ Object.defineProperty(exports, "continuousProjectDescription", { enumerable: true, get: function () { return continuous_project_1.continuousProjectDescription; } });
14
+ var strings_1 = require("./strings");
15
+ Object.defineProperty(exports, "stringsDescription", { enumerable: true, get: function () { return strings_1.stringsDescription; } });
16
+ var corporate_1 = require("./corporate");
17
+ Object.defineProperty(exports, "corporateDescription", { enumerable: true, get: function () { return corporate_1.corporateDescription; } });
18
+ var user_1 = require("./user");
19
+ Object.defineProperty(exports, "userDescription", { enumerable: true, get: function () { return user_1.userDescription; } });
20
+ var document_1 = require("./document");
21
+ Object.defineProperty(exports, "documentDescription", { enumerable: true, get: function () { return document_1.documentDescription; } });
22
+ var glossary_1 = require("./glossary");
23
+ Object.defineProperty(exports, "glossaryDescription", { enumerable: true, get: function () { return glossary_1.glossaryDescription; } });
24
+ var integrations_1 = require("./integrations");
25
+ Object.defineProperty(exports, "integrationsDescription", { enumerable: true, get: function () { return integrations_1.integrationsDescription; } });
26
+ var invitation_1 = require("./invitation");
27
+ Object.defineProperty(exports, "invitationDescription", { enumerable: true, get: function () { return invitation_1.invitationDescription; } });
28
+ var machine_learning_1 = require("./machine-learning");
29
+ Object.defineProperty(exports, "machineLearningDescription", { enumerable: true, get: function () { return machine_learning_1.machineLearningDescription; } });
30
+ var pam_1 = require("./pam");
31
+ Object.defineProperty(exports, "pamDescription", { enumerable: true, get: function () { return pam_1.pamDescription; } });
32
+ var payment_1 = require("./payment");
33
+ Object.defineProperty(exports, "paymentDescription", { enumerable: true, get: function () { return payment_1.paymentDescription; } });
34
+ var project_1 = require("./project");
35
+ Object.defineProperty(exports, "projectDescription", { enumerable: true, get: function () { return project_1.projectDescription; } });
36
+ var activity_1 = require("./activity");
37
+ Object.defineProperty(exports, "activityDescription", { enumerable: true, get: function () { return activity_1.activityDescription; } });
38
+ var project_webhooks_1 = require("./project-webhooks");
39
+ Object.defineProperty(exports, "projectWebhooksDescription", { enumerable: true, get: function () { return project_webhooks_1.projectWebhooksDescription; } });
40
+ var project_document_1 = require("./project-document");
41
+ Object.defineProperty(exports, "projectDocumentDescription", { enumerable: true, get: function () { return project_document_1.projectDocumentDescription; } });
42
+ var style_guide_1 = require("./style-guide");
43
+ Object.defineProperty(exports, "styleGuideDescription", { enumerable: true, get: function () { return style_guide_1.styleGuideDescription; } });
44
+ var report_1 = require("./report");
45
+ Object.defineProperty(exports, "reportDescription", { enumerable: true, get: function () { return report_1.reportDescription; } });
46
+ var search_1 = require("./search");
47
+ Object.defineProperty(exports, "searchDescription", { enumerable: true, get: function () { return search_1.searchDescription; } });
48
+ var stats_1 = require("./stats");
49
+ Object.defineProperty(exports, "statsDescription", { enumerable: true, get: function () { return stats_1.statsDescription; } });
50
+ var surveys_1 = require("./surveys");
51
+ Object.defineProperty(exports, "surveysDescription", { enumerable: true, get: function () { return surveys_1.surveysDescription; } });
52
+ var auth_1 = require("./auth");
53
+ Object.defineProperty(exports, "authDescription", { enumerable: true, get: function () { return auth_1.authDescription; } });
54
+ var vendor_1 = require("./vendor");
55
+ Object.defineProperty(exports, "vendorDescription", { enumerable: true, get: function () { return vendor_1.vendorDescription; } });
56
+ var default_1 = require("./default");
57
+ Object.defineProperty(exports, "defaultDescription", { enumerable: true, get: function () { return default_1.defaultDescription; } });
58
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/Motaword/resources/index.ts"],"names":[],"mappings":";;;AAAA,mCAA6C;AAApC,2GAAA,iBAAiB,OAAA;AAC1B,iCAA2C;AAAlC,yGAAA,gBAAgB,OAAA;AACzB,+BAAyC;AAAhC,uGAAA,eAAe,OAAA;AACxB,2CAAqD;AAA5C,mHAAA,qBAAqB,OAAA;AAC9B,2DAAoE;AAA3D,kIAAA,4BAA4B,OAAA;AACrC,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAC3B,yCAAmD;AAA1C,iHAAA,oBAAoB,OAAA;AAC7B,+BAAyC;AAAhC,uGAAA,eAAe,OAAA;AACxB,uCAAiD;AAAxC,+GAAA,mBAAmB,OAAA;AAC5B,uCAAiD;AAAxC,+GAAA,mBAAmB,OAAA;AAC5B,+CAAyD;AAAhD,uHAAA,uBAAuB,OAAA;AAChC,2CAAqD;AAA5C,mHAAA,qBAAqB,OAAA;AAC9B,uDAAgE;AAAvD,8HAAA,0BAA0B,OAAA;AACnC,6BAAuC;AAA9B,qGAAA,cAAc,OAAA;AACvB,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAC3B,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAC3B,uCAAiD;AAAxC,+GAAA,mBAAmB,OAAA;AAC5B,uDAAgE;AAAvD,8HAAA,0BAA0B,OAAA;AACnC,uDAAgE;AAAvD,8HAAA,0BAA0B,OAAA;AACnC,6CAAsD;AAA7C,oHAAA,qBAAqB,OAAA;AAC9B,mCAA6C;AAApC,2GAAA,iBAAiB,OAAA;AAC1B,mCAA6C;AAApC,2GAAA,iBAAiB,OAAA;AAC1B,iCAA2C;AAAlC,yGAAA,gBAAgB,OAAA;AACzB,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA;AAC3B,+BAAyC;AAAhC,uGAAA,eAAe,OAAA;AACxB,mCAA6C;AAApC,2GAAA,iBAAiB,OAAA;AAC1B,qCAA+C;AAAtC,6GAAA,kBAAkB,OAAA"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const integrationsDescription: INodeProperties[];
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.integrationsDescription = void 0;
4
+ exports.integrationsDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Integrations"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Get Integrations Token",
20
+ "value": "Get Integrations Token",
21
+ "action": "Generate a new access token for MotaWord's integrations service",
22
+ "description": "Generate a new access token for MotaWord's integrations service",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/integrations/token"
27
+ }
28
+ }
29
+ }
30
+ ],
31
+ "default": ""
32
+ },
33
+ {
34
+ "displayName": "GET /integrations/token",
35
+ "name": "operation",
36
+ "type": "notice",
37
+ "typeOptions": {
38
+ "theme": "info"
39
+ },
40
+ "default": "",
41
+ "displayOptions": {
42
+ "show": {
43
+ "resource": [
44
+ "Integrations"
45
+ ],
46
+ "operation": [
47
+ "Get Integrations Token"
48
+ ]
49
+ }
50
+ }
51
+ },
52
+ ];
53
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Motaword/resources/integrations/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAsB;IACxD;QACC,aAAa,EAAE,WAAW;QAC1B,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,SAAS;QACjB,kBAAkB,EAAE,IAAI;QACxB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,cAAc;iBACd;aACD;SACD;QACD,SAAS,EAAE;YACV;gBACC,MAAM,EAAE,wBAAwB;gBAChC,OAAO,EAAE,wBAAwB;gBACjC,QAAQ,EAAE,iEAAiE;gBAC3E,aAAa,EAAE,iEAAiE;gBAChF,SAAS,EAAE;oBACV,SAAS,EAAE;wBACV,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,sBAAsB;qBAC7B;iBACD;aACD;SACD;QACD,SAAS,EAAE,EAAE;KACb;IACD;QACC,aAAa,EAAE,yBAAyB;QACxC,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE;YACd,OAAO,EAAE,MAAM;SACf;QACD,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,cAAc;iBACd;gBACD,WAAW,EAAE;oBACZ,wBAAwB;iBACxB;aACD;SACD;KACD;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const invitationDescription: INodeProperties[];
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.invitationDescription = void 0;
4
+ exports.invitationDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Invitation"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Get Invitation Vendors",
20
+ "value": "Get Invitation Vendors",
21
+ "action": "Get vendor list for compiled invitation needs",
22
+ "description": "Get vendor list for compiled invitation needs",
23
+ "routing": {
24
+ "request": {
25
+ "method": "POST",
26
+ "url": "=/invitation/vendors"
27
+ }
28
+ }
29
+ }
30
+ ],
31
+ "default": ""
32
+ },
33
+ {
34
+ "displayName": "POST /invitation/vendors",
35
+ "name": "operation",
36
+ "type": "notice",
37
+ "typeOptions": {
38
+ "theme": "info"
39
+ },
40
+ "default": "",
41
+ "displayOptions": {
42
+ "show": {
43
+ "resource": [
44
+ "Invitation"
45
+ ],
46
+ "operation": [
47
+ "Get Invitation Vendors"
48
+ ]
49
+ }
50
+ }
51
+ },
52
+ {
53
+ "displayName": "Body",
54
+ "name": "body",
55
+ "type": "json",
56
+ "default": "{\n \"targetLanguage\": [\n null\n ],\n \"taskType\": [\n null\n ]\n}",
57
+ "routing": {
58
+ "request": {
59
+ "body": "={{ JSON.parse($value) }}"
60
+ }
61
+ },
62
+ "displayOptions": {
63
+ "show": {
64
+ "resource": [
65
+ "Invitation"
66
+ ],
67
+ "operation": [
68
+ "Get Invitation Vendors"
69
+ ]
70
+ }
71
+ }
72
+ },
73
+ ];
74
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Motaword/resources/invitation/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAsB;IACtD;QACC,aAAa,EAAE,WAAW;QAC1B,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,SAAS;QACjB,kBAAkB,EAAE,IAAI;QACxB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,YAAY;iBACZ;aACD;SACD;QACD,SAAS,EAAE;YACV;gBACC,MAAM,EAAE,wBAAwB;gBAChC,OAAO,EAAE,wBAAwB;gBACjC,QAAQ,EAAE,+CAA+C;gBACzD,aAAa,EAAE,+CAA+C;gBAC9D,SAAS,EAAE;oBACV,SAAS,EAAE;wBACV,QAAQ,EAAE,MAAM;wBAChB,KAAK,EAAE,sBAAsB;qBAC7B;iBACD;aACD;SACD;QACD,SAAS,EAAE,EAAE;KACb;IACD;QACC,aAAa,EAAE,0BAA0B;QACzC,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE;YACd,OAAO,EAAE,MAAM;SACf;QACD,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,YAAY;iBACZ;gBACD,WAAW,EAAE;oBACZ,wBAAwB;iBACxB;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,MAAM;QACrB,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,MAAM;QACd,SAAS,EAAE,iFAAiF;QAC5F,SAAS,EAAE;YACV,SAAS,EAAE;gBACV,MAAM,EAAE,2BAA2B;aACnC;SACD;QACD,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,YAAY;iBACZ;gBACD,WAAW,EAAE;oBACZ,wBAAwB;iBACxB;aACD;SACD;KACD;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const machineLearningDescription: INodeProperties[];
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.machineLearningDescription = void 0;
4
+ exports.machineLearningDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Machine Learning"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Get Delivery Prediction",
20
+ "value": "Get Delivery Prediction",
21
+ "action": "Get a delivery prediction for a project",
22
+ "description": "Get a delivery prediction for a project",
23
+ "routing": {
24
+ "request": {
25
+ "method": "POST",
26
+ "url": "=/ml/delivery-prediction"
27
+ }
28
+ }
29
+ }
30
+ ],
31
+ "default": ""
32
+ },
33
+ {
34
+ "displayName": "POST /ml/delivery-prediction",
35
+ "name": "operation",
36
+ "type": "notice",
37
+ "typeOptions": {
38
+ "theme": "info"
39
+ },
40
+ "default": "",
41
+ "displayOptions": {
42
+ "show": {
43
+ "resource": [
44
+ "Machine Learning"
45
+ ],
46
+ "operation": [
47
+ "Get Delivery Prediction"
48
+ ]
49
+ }
50
+ }
51
+ },
52
+ {
53
+ "displayName": "Project Id",
54
+ "name": "projectId",
55
+ "type": "number",
56
+ "default": 0,
57
+ "routing": {
58
+ "send": {
59
+ "property": "projectId",
60
+ "propertyInDotNotation": false,
61
+ "type": "body",
62
+ "value": "={{ $value }}"
63
+ }
64
+ },
65
+ "displayOptions": {
66
+ "show": {
67
+ "resource": [
68
+ "Machine Learning"
69
+ ],
70
+ "operation": [
71
+ "Get Delivery Prediction"
72
+ ]
73
+ }
74
+ }
75
+ },
76
+ ];
77
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Motaword/resources/machine-learning/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,0BAA0B,GAAsB;IAC3D;QACC,aAAa,EAAE,WAAW;QAC1B,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,SAAS;QACjB,kBAAkB,EAAE,IAAI;QACxB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,kBAAkB;iBAClB;aACD;SACD;QACD,SAAS,EAAE;YACV;gBACC,MAAM,EAAE,yBAAyB;gBACjC,OAAO,EAAE,yBAAyB;gBAClC,QAAQ,EAAE,yCAAyC;gBACnD,aAAa,EAAE,yCAAyC;gBACxD,SAAS,EAAE;oBACV,SAAS,EAAE;wBACV,QAAQ,EAAE,MAAM;wBAChB,KAAK,EAAE,0BAA0B;qBACjC;iBACD;aACD;SACD;QACD,SAAS,EAAE,EAAE;KACb;IACD;QACC,aAAa,EAAE,8BAA8B;QAC7C,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE;YACd,OAAO,EAAE,MAAM;SACf;QACD,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,kBAAkB;iBAClB;gBACD,WAAW,EAAE;oBACZ,yBAAyB;iBACzB;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,YAAY;QAC3B,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,QAAQ;QAChB,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE;YACV,MAAM,EAAE;gBACP,UAAU,EAAE,WAAW;gBACvB,uBAAuB,EAAE,KAAK;gBAC9B,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE,eAAe;aACxB;SACD;QACD,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,kBAAkB;iBAClB;gBACD,WAAW,EAAE;oBACZ,yBAAyB;iBACzB;aACD;SACD;KACD;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const pamDescription: INodeProperties[];
@@ -0,0 +1,276 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.pamDescription = void 0;
4
+ exports.pamDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Pam"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Post Message",
20
+ "value": "Post Message",
21
+ "action": "Sends a message to chat",
22
+ "description": "Sends a message to the channel.",
23
+ "routing": {
24
+ "request": {
25
+ "method": "POST",
26
+ "url": "=/pam/chat"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "Get Client Profile For Pam",
32
+ "value": "Get Client Profile For Pam",
33
+ "action": "Get the Pam profile of a client for this client ID",
34
+ "description": "Get the Pam profile of a client for this client ID",
35
+ "routing": {
36
+ "request": {
37
+ "method": "GET",
38
+ "url": "=/pam/profiles/client/{{$parameter[\"clientId\"]}}"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "Get Project Completion Report For Pam",
44
+ "value": "Get Project Completion Report For Pam",
45
+ "action": "Get completion report data of a project",
46
+ "description": "Get completion report data of a project",
47
+ "routing": {
48
+ "request": {
49
+ "method": "GET",
50
+ "url": "=/pam/projects/{{$parameter[\"projectId\"]}}/completion-report"
51
+ }
52
+ }
53
+ }
54
+ ],
55
+ "default": ""
56
+ },
57
+ {
58
+ "displayName": "POST /pam/chat",
59
+ "name": "operation",
60
+ "type": "notice",
61
+ "typeOptions": {
62
+ "theme": "info"
63
+ },
64
+ "default": "",
65
+ "displayOptions": {
66
+ "show": {
67
+ "resource": [
68
+ "Pam"
69
+ ],
70
+ "operation": [
71
+ "Post Message"
72
+ ]
73
+ }
74
+ }
75
+ },
76
+ {
77
+ "displayName": "Message",
78
+ "name": "message",
79
+ "type": "string",
80
+ "default": "",
81
+ "description": "the message to be sent",
82
+ "routing": {
83
+ "send": {
84
+ "property": "message",
85
+ "propertyInDotNotation": false,
86
+ "type": "body",
87
+ "value": "={{ $value }}"
88
+ }
89
+ },
90
+ "displayOptions": {
91
+ "show": {
92
+ "resource": [
93
+ "Pam"
94
+ ],
95
+ "operation": [
96
+ "Post Message"
97
+ ]
98
+ }
99
+ }
100
+ },
101
+ {
102
+ "displayName": "Recipients",
103
+ "name": "recipients",
104
+ "type": "json",
105
+ "default": "[\n null\n]",
106
+ "description": "name of the recipients in the channel",
107
+ "routing": {
108
+ "send": {
109
+ "property": "recipients",
110
+ "propertyInDotNotation": false,
111
+ "type": "body",
112
+ "value": "={{ JSON.parse($value) }}"
113
+ }
114
+ },
115
+ "displayOptions": {
116
+ "show": {
117
+ "resource": [
118
+ "Pam"
119
+ ],
120
+ "operation": [
121
+ "Post Message"
122
+ ]
123
+ }
124
+ }
125
+ },
126
+ {
127
+ "displayName": "Slots",
128
+ "name": "slots",
129
+ "type": "json",
130
+ "default": "[\n null\n]",
131
+ "description": "contexts for next message",
132
+ "routing": {
133
+ "send": {
134
+ "property": "slots",
135
+ "propertyInDotNotation": false,
136
+ "type": "body",
137
+ "value": "={{ JSON.parse($value) }}"
138
+ }
139
+ },
140
+ "displayOptions": {
141
+ "show": {
142
+ "resource": [
143
+ "Pam"
144
+ ],
145
+ "operation": [
146
+ "Post Message"
147
+ ]
148
+ }
149
+ }
150
+ },
151
+ {
152
+ "displayName": "Thread Id",
153
+ "name": "thread_id",
154
+ "type": "string",
155
+ "default": "",
156
+ "description": "id of the thread",
157
+ "routing": {
158
+ "send": {
159
+ "property": "thread_id",
160
+ "propertyInDotNotation": false,
161
+ "type": "body",
162
+ "value": "={{ $value }}"
163
+ }
164
+ },
165
+ "displayOptions": {
166
+ "show": {
167
+ "resource": [
168
+ "Pam"
169
+ ],
170
+ "operation": [
171
+ "Post Message"
172
+ ]
173
+ }
174
+ }
175
+ },
176
+ {
177
+ "displayName": "Thread Key",
178
+ "name": "thread_key",
179
+ "type": "string",
180
+ "default": "",
181
+ "description": "the key for thread_id default is project",
182
+ "routing": {
183
+ "send": {
184
+ "property": "thread_key",
185
+ "propertyInDotNotation": false,
186
+ "type": "body",
187
+ "value": "={{ $value }}"
188
+ }
189
+ },
190
+ "displayOptions": {
191
+ "show": {
192
+ "resource": [
193
+ "Pam"
194
+ ],
195
+ "operation": [
196
+ "Post Message"
197
+ ]
198
+ }
199
+ }
200
+ },
201
+ {
202
+ "displayName": "GET /pam/profiles/client/{clientId}",
203
+ "name": "operation",
204
+ "type": "notice",
205
+ "typeOptions": {
206
+ "theme": "info"
207
+ },
208
+ "default": "",
209
+ "displayOptions": {
210
+ "show": {
211
+ "resource": [
212
+ "Pam"
213
+ ],
214
+ "operation": [
215
+ "Get Client Profile For Pam"
216
+ ]
217
+ }
218
+ }
219
+ },
220
+ {
221
+ "displayName": "Client Id",
222
+ "name": "clientId",
223
+ "required": true,
224
+ "description": "Client ID",
225
+ "default": 0,
226
+ "type": "number",
227
+ "displayOptions": {
228
+ "show": {
229
+ "resource": [
230
+ "Pam"
231
+ ],
232
+ "operation": [
233
+ "Get Client Profile For Pam"
234
+ ]
235
+ }
236
+ }
237
+ },
238
+ {
239
+ "displayName": "GET /pam/projects/{projectId}/completion-report",
240
+ "name": "operation",
241
+ "type": "notice",
242
+ "typeOptions": {
243
+ "theme": "info"
244
+ },
245
+ "default": "",
246
+ "displayOptions": {
247
+ "show": {
248
+ "resource": [
249
+ "Pam"
250
+ ],
251
+ "operation": [
252
+ "Get Project Completion Report For Pam"
253
+ ]
254
+ }
255
+ }
256
+ },
257
+ {
258
+ "displayName": "Project Id",
259
+ "name": "projectId",
260
+ "required": true,
261
+ "description": "Quote ID",
262
+ "default": 0,
263
+ "type": "number",
264
+ "displayOptions": {
265
+ "show": {
266
+ "resource": [
267
+ "Pam"
268
+ ],
269
+ "operation": [
270
+ "Get Project Completion Report For Pam"
271
+ ]
272
+ }
273
+ }
274
+ },
275
+ ];
276
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Motaword/resources/pam/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,cAAc,GAAsB;IAC/C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E;oBACZ,4BAA4B;iBAC5B;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,iDAAiD;QAChE,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE;YACd,OAAO,EAAE,MAAM;SACf;QACD,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,KAAK;iBACL;gBACD,WAAW,EAAE;oBACZ,uCAAuC;iBACvC;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,YAAY;QAC3B,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,UAAU;QACzB,SAAS,EAAE,CAAC;QACZ,MAAM,EAAE,QAAQ;QAChB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,KAAK;iBACL;gBACD,WAAW,EAAE;oBACZ,uCAAuC;iBACvC;aACD;SACD;KACD;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const paymentDescription: INodeProperties[];