@mspcopilot/n8n-nodes-connectwise 0.1.1

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 (52) hide show
  1. package/README.md +59 -0
  2. package/dist-community/LICENSE.md +21 -0
  3. package/dist-community/credentials/ConnectWisePsaApi.credentials.js +142 -0
  4. package/dist-community/credentials/connectwise.svg +1 -0
  5. package/dist-community/nodes/ConnectWise/PSA/ConnectWisePsa.node.js +180 -0
  6. package/dist-community/nodes/ConnectWise/PSA/connectwise.svg +1 -0
  7. package/dist-community/nodes/ConnectWise/PSA/descriptions/common.descriptions.js +46 -0
  8. package/dist-community/nodes/ConnectWise/PSA/descriptions/common.properties.js +353 -0
  9. package/dist-community/nodes/ConnectWise/PSA/descriptions/index.js +30 -0
  10. package/dist-community/nodes/ConnectWise/PSA/helpers/customFields.js +116 -0
  11. package/dist-community/nodes/ConnectWise/PSA/helpers/field-collector.js +83 -0
  12. package/dist-community/nodes/ConnectWise/PSA/helpers/field-conditions.js +86 -0
  13. package/dist-community/nodes/ConnectWise/PSA/helpers/index.js +33 -0
  14. package/dist-community/nodes/ConnectWise/PSA/helpers/logging.js +61 -0
  15. package/dist-community/nodes/ConnectWise/PSA/helpers/utils.js +128 -0
  16. package/dist-community/nodes/ConnectWise/PSA/methods/fieldOptions.js +223 -0
  17. package/dist-community/nodes/ConnectWise/PSA/methods/generated.js +53 -0
  18. package/dist-community/nodes/ConnectWise/PSA/methods/index.js +40 -0
  19. package/dist-community/nodes/ConnectWise/PSA/schema/converter/index.js +66 -0
  20. package/dist-community/nodes/ConnectWise/PSA/schema/converter/reference.generator.js +178 -0
  21. package/dist-community/nodes/ConnectWise/PSA/schema/index.js +39 -0
  22. package/dist-community/nodes/ConnectWise/PSA/schema/references.js +293 -0
  23. package/dist-community/nodes/ConnectWise/PSA/schema/reports-descriptions.js +300 -0
  24. package/dist-community/nodes/ConnectWise/PSA/schema/resources/activity.schema.js +413 -0
  25. package/dist-community/nodes/ConnectWise/PSA/schema/resources/alert-consolidation.js +42 -0
  26. package/dist-community/nodes/ConnectWise/PSA/schema/resources/company.schema.js +720 -0
  27. package/dist-community/nodes/ConnectWise/PSA/schema/resources/contact.schema.js +461 -0
  28. package/dist-community/nodes/ConnectWise/PSA/schema/resources/custom.schema.js +163 -0
  29. package/dist-community/nodes/ConnectWise/PSA/schema/resources/index.js +72 -0
  30. package/dist-community/nodes/ConnectWise/PSA/schema/resources/members.schema.js +361 -0
  31. package/dist-community/nodes/ConnectWise/PSA/schema/resources/reports.schema.js +177 -0
  32. package/dist-community/nodes/ConnectWise/PSA/schema/resources/ticket.schema.js +983 -0
  33. package/dist-community/nodes/ConnectWise/PSA/schema/resources/ticketNote.schema.js +289 -0
  34. package/dist-community/nodes/ConnectWise/PSA/schema/resources/timeEntry.schema.js +407 -0
  35. package/dist-community/nodes/ConnectWise/PSA/schema/static-fields.js +1813 -0
  36. package/dist-community/nodes/ConnectWise/PSA/schema/transformer.js +126 -0
  37. package/dist-community/nodes/ConnectWise/PSA/schema/types/index.js +33 -0
  38. package/dist-community/nodes/ConnectWise/PSA/schema/types/reference.types.js +23 -0
  39. package/dist-community/nodes/ConnectWise/PSA/schema/types/resource.types.js +23 -0
  40. package/dist-community/nodes/ConnectWise/PSA/transport/cache.js +81 -0
  41. package/dist-community/nodes/ConnectWise/PSA/transport/client.js +200 -0
  42. package/dist-community/nodes/ConnectWise/PSA/transport/index.js +105 -0
  43. package/dist-community/nodes/ConnectWise/PSA/transport/operations.js +167 -0
  44. package/dist-community/nodes/ConnectWise/PSA/transport/response-transformer.js +123 -0
  45. package/dist-community/nodes/ConnectWise/PSA/transport/version-check.js +128 -0
  46. package/dist-community/nodes/ConnectWise/PSA/types/n8n-augmentation.d.js +1 -0
  47. package/dist-community/nodes/ConnectWisePsa.node.json +25 -0
  48. package/docs/assets/screenshots/create-ticket.png +0 -0
  49. package/docs/assets/screenshots/field-list.png +0 -0
  50. package/docs/assets/screenshots/field-sort.png +0 -0
  51. package/index.js +0 -0
  52. package/package.json +73 -0
@@ -0,0 +1,42 @@
1
+ var __defProp = Object.defineProperty;
2
+
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+
9
+ var __export = (target, all) => {
10
+ for (var name in all) __defProp(target, name, {
11
+ get: all[name],
12
+ enumerable: !0
13
+ });
14
+ }, __copyProps = (to, from, except, desc) => {
15
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
16
+ get: () => from[key],
17
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
+ });
19
+ return to;
20
+ };
21
+
22
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
+ value: !0
24
+ }), mod);
25
+
26
+ var alert_consolidation_exports = {};
27
+
28
+ __export(alert_consolidation_exports, {
29
+ executeSmartConsolidation: () => executeSmartConsolidation
30
+ });
31
+
32
+ module.exports = __toCommonJS(alert_consolidation_exports);
33
+
34
+ var import_n8n_workflow = require("n8n-workflow"), import_luxon = require("luxon"), import_client = require("../../transport/client"), import_utils = require("../../helpers/utils");
35
+
36
+ const executeSmartConsolidationStub = async function(itemIndex) {
37
+ return (0, import_utils.returnProOnlyMessage)(this, itemIndex);
38
+ }, executeSmartConsolidation = executeSmartConsolidationStub;
39
+
40
+ 0 && (module.exports = {
41
+ executeSmartConsolidation: executeSmartConsolidation
42
+ });