@thegraphitelab/n8n-nodes-servicetitan 0.7.0 → 0.7.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.
@@ -2,12 +2,14 @@ import { type INodeType, type INodeTypeDescription } from 'n8n-workflow';
2
2
  /**
3
3
  * Action node for ServiceTitan.
4
4
  *
5
- * Filename note: this file MUST stay named `TglServiceTitan.node.ts` because
6
- * n8n's `node-filename-against-convention` lint rule maps the filename to the
7
- * `name` field. We keep `name: 'tglServiceTitan'` for collision safety against
8
- * any future official n8n ServiceTitan node, so the file follows. The exported
9
- * class is `ServiceTitan` that's what consumers (and the n8n loader) see.
5
+ * Naming note: n8n's community-node loader derives the exported class name from
6
+ * the FILE BASENAME, not the n8n manifest path or the `name` field. It does
7
+ * `new require(file)[fileBasename]()`. So this file MUST be named
8
+ * `TglServiceTitan.node.ts` AND export a class named `TglServiceTitan`. The
9
+ * `tgl` prefix is collision-safety against any future official n8n ServiceTitan
10
+ * node. The display name in the n8n UI is "ServiceTitan" — users never see
11
+ * "TglServiceTitan" in the picker.
10
12
  */
11
- export declare class ServiceTitan implements INodeType {
13
+ export declare class TglServiceTitan implements INodeType {
12
14
  description: INodeTypeDescription;
13
15
  }
@@ -1,18 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ServiceTitan = void 0;
3
+ exports.TglServiceTitan = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const resources_1 = require("./resources");
6
6
  /**
7
7
  * Action node for ServiceTitan.
8
8
  *
9
- * Filename note: this file MUST stay named `TglServiceTitan.node.ts` because
10
- * n8n's `node-filename-against-convention` lint rule maps the filename to the
11
- * `name` field. We keep `name: 'tglServiceTitan'` for collision safety against
12
- * any future official n8n ServiceTitan node, so the file follows. The exported
13
- * class is `ServiceTitan` that's what consumers (and the n8n loader) see.
9
+ * Naming note: n8n's community-node loader derives the exported class name from
10
+ * the FILE BASENAME, not the n8n manifest path or the `name` field. It does
11
+ * `new require(file)[fileBasename]()`. So this file MUST be named
12
+ * `TglServiceTitan.node.ts` AND export a class named `TglServiceTitan`. The
13
+ * `tgl` prefix is collision-safety against any future official n8n ServiceTitan
14
+ * node. The display name in the n8n UI is "ServiceTitan" — users never see
15
+ * "TglServiceTitan" in the picker.
14
16
  */
15
- class ServiceTitan {
17
+ class TglServiceTitan {
16
18
  description = {
17
19
  displayName: 'ServiceTitan',
18
20
  name: 'tglServiceTitan',
@@ -57,5 +59,5 @@ class ServiceTitan {
57
59
  ],
58
60
  };
59
61
  }
60
- exports.ServiceTitan = ServiceTitan;
62
+ exports.TglServiceTitan = TglServiceTitan;
61
63
  //# sourceMappingURL=TglServiceTitan.node.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TglServiceTitan.node.js","sourceRoot":"","sources":["../../../nodes/ServiceTitan/TglServiceTitan.node.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,2CAAkE;AAElE;;;;;;;;GAQG;AACH,MAAa,YAAY;IACxB,WAAW,GAAyB;QACnC,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE;YACL,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,4BAA4B;SAClC;QACD,KAAK,EAAE,CAAC,WAAW,CAAC;QACpB,OAAO,EAAE,CAAC;QACV,QAAQ,EAAE,oDAAoD;QAC9D,WAAW,EAAE,oCAAoC;QACjD,QAAQ,EAAE;YACT,IAAI,EAAE,cAAc;SACpB;QACD,YAAY,EAAE,IAAI;QAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;QAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;QACnC,WAAW,EAAE;YACZ;gBACC,IAAI,EAAE,iBAAiB;gBACvB,QAAQ,EAAE,IAAI;aACd;SACD;QACD,eAAe,EAAE;YAChB,OAAO,EACN,oHAAoH;YACrH,OAAO,EAAE;gBACR,cAAc,EAAE,kBAAkB;gBAClC,MAAM,EAAE,kBAAkB;aAC1B;SACD;QACD,UAAU,EAAE;YACX;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;gBACf,gBAAgB,EAAE,IAAI;gBACtB,OAAO,EAAE,iCAAqB;gBAC9B,OAAO,EAAE,UAAU;aACnB;YACD,GAAG,wBAAY,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,kBAAkB,CAAC;YACpD,GAAG,wBAAY,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC;SAChD;KACD,CAAC;CACF;AA7CD,oCA6CC"}
1
+ {"version":3,"file":"TglServiceTitan.node.js","sourceRoot":"","sources":["../../../nodes/ServiceTitan/TglServiceTitan.node.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,2CAAkE;AAElE;;;;;;;;;;GAUG;AACH,MAAa,eAAe;IAC3B,WAAW,GAAyB;QACnC,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE;YACL,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,4BAA4B;SAClC;QACD,KAAK,EAAE,CAAC,WAAW,CAAC;QACpB,OAAO,EAAE,CAAC;QACV,QAAQ,EAAE,oDAAoD;QAC9D,WAAW,EAAE,oCAAoC;QACjD,QAAQ,EAAE;YACT,IAAI,EAAE,cAAc;SACpB;QACD,YAAY,EAAE,IAAI;QAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;QAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;QACnC,WAAW,EAAE;YACZ;gBACC,IAAI,EAAE,iBAAiB;gBACvB,QAAQ,EAAE,IAAI;aACd;SACD;QACD,eAAe,EAAE;YAChB,OAAO,EACN,oHAAoH;YACrH,OAAO,EAAE;gBACR,cAAc,EAAE,kBAAkB;gBAClC,MAAM,EAAE,kBAAkB;aAC1B;SACD;QACD,UAAU,EAAE;YACX;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;gBACf,gBAAgB,EAAE,IAAI;gBACtB,OAAO,EAAE,iCAAqB;gBAC9B,OAAO,EAAE,UAAU;aACnB;YACD,GAAG,wBAAY,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,kBAAkB,CAAC;YACpD,GAAG,wBAAY,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC;SAChD;KACD,CAAC;CACF;AA7CD,0CA6CC"}
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thegraphitelab/n8n-nodes-servicetitan",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "n8n custom node for ServiceTitan — TGL internal use.",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thegraphitelab/n8n-nodes-servicetitan",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "n8n custom node for ServiceTitan — TGL internal use.",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",