@arshaplus/n8n-nodes-qorfechi 0.0.0-stage → 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.
- package/LICENSE.md +21 -0
- package/README.md +140 -2
- package/dist/credentials/QorfechiApi.credentials.d.ts +10 -0
- package/dist/credentials/QorfechiApi.credentials.js +59 -0
- package/dist/credentials/QorfechiApi.credentials.js.map +1 -0
- package/dist/nodes/Qorfechi/Qorfechi.node.d.ts +4 -0
- package/dist/nodes/Qorfechi/Qorfechi.node.js +65 -0
- package/dist/nodes/Qorfechi/Qorfechi.node.js.map +1 -0
- package/dist/nodes/Qorfechi/Qorfechi.node.json +10 -0
- package/dist/nodes/Qorfechi/helpers.d.ts +25 -0
- package/dist/nodes/Qorfechi/helpers.js +137 -0
- package/dist/nodes/Qorfechi/helpers.js.map +1 -0
- package/dist/nodes/Qorfechi/qorfechi.dark.svg +1 -0
- package/dist/nodes/Qorfechi/qorfechi.svg +1 -0
- package/dist/nodes/Qorfechi/resources/commerce.d.ts +4 -0
- package/dist/nodes/Qorfechi/resources/commerce.js +154 -0
- package/dist/nodes/Qorfechi/resources/commerce.js.map +1 -0
- package/dist/nodes/Qorfechi/resources/crmActivity.d.ts +2 -0
- package/dist/nodes/Qorfechi/resources/crmActivity.js +173 -0
- package/dist/nodes/Qorfechi/resources/crmActivity.js.map +1 -0
- package/dist/nodes/Qorfechi/resources/crmCase.d.ts +2 -0
- package/dist/nodes/Qorfechi/resources/crmCase.js +208 -0
- package/dist/nodes/Qorfechi/resources/crmCase.js.map +1 -0
- package/dist/nodes/Qorfechi/resources/crmContact.d.ts +2 -0
- package/dist/nodes/Qorfechi/resources/crmContact.js +69 -0
- package/dist/nodes/Qorfechi/resources/crmContact.js.map +1 -0
- package/dist/nodes/Qorfechi/resources/services.d.ts +4 -0
- package/dist/nodes/Qorfechi/resources/services.js +265 -0
- package/dist/nodes/Qorfechi/resources/services.js.map +1 -0
- package/dist/nodes/Qorfechi/resources/workTask.d.ts +2 -0
- package/dist/nodes/Qorfechi/resources/workTask.js +187 -0
- package/dist/nodes/Qorfechi/resources/workTask.js.map +1 -0
- package/dist/nodes/QorfechiTrigger/QorfechiTrigger.node.d.ts +17 -0
- package/dist/nodes/QorfechiTrigger/QorfechiTrigger.node.js +207 -0
- package/dist/nodes/QorfechiTrigger/QorfechiTrigger.node.js.map +1 -0
- package/dist/nodes/QorfechiTrigger/QorfechiTrigger.node.json +10 -0
- package/dist/nodes/QorfechiTrigger/objects.json +99 -0
- package/dist/nodes/QorfechiTrigger/qorfechi.dark.svg +1 -0
- package/dist/nodes/QorfechiTrigger/qorfechi.svg +1 -0
- package/dist/nodes/QorfechiTrigger/signature.d.ts +2 -0
- package/dist/nodes/QorfechiTrigger/signature.js +19 -0
- package/dist/nodes/QorfechiTrigger/signature.js.map +1 -0
- package/dist/package.json +61 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +59 -4
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Arsha Plus
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,141 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @arshaplus/n8n-nodes-qorfechi
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
n8n nodes for [Qorfechi](https://qorfechi.com) portals. Use them to work with your portal's CRM, tasks, store,
|
|
4
|
+
bookings, support and notifications from a workflow, and to start a workflow when something happens in the portal.
|
|
5
|
+
|
|
6
|
+
- **Qorfechi**: reads and changes records of the portal. It also works as a tool of an n8n AI Agent.
|
|
7
|
+
- **Qorfechi Trigger**: starts a workflow on the portal's events, such as a new lead, a paid order or a finished task.
|
|
8
|
+
It registers its webhook with the portal by itself and removes it when the workflow is turned off.
|
|
9
|
+
|
|
10
|
+
[Installation](#installation) · [Credentials](#credentials) · [Operations](#operations) · [Trigger](#trigger) ·
|
|
11
|
+
[Example workflows](#example-workflows) · [Limits](#limits) · [Compatibility](#compatibility)
|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
In a self-hosted n8n, open **Settings → Community Nodes → Install** and enter `@arshaplus/n8n-nodes-qorfechi`.
|
|
16
|
+
See n8n's [community nodes guide](https://docs.n8n.io/integrations/community-nodes/installation/) for other ways.
|
|
17
|
+
|
|
18
|
+
## Credentials
|
|
19
|
+
|
|
20
|
+
The **Qorfechi API** credential has three fields:
|
|
21
|
+
|
|
22
|
+
| Field | What to enter |
|
|
23
|
+
|---|---|
|
|
24
|
+
| Portal URL | Your portal's address, such as `https://shop.example.ir` (without `/api`) |
|
|
25
|
+
| API Key | A key made in the portal's admin panel (see below). Live keys start with `qc_live_`, test keys with `qc_test_`. |
|
|
26
|
+
| Response Language | Language of error messages: Persian or English |
|
|
27
|
+
|
|
28
|
+
When you save it, n8n checks the key against the portal's `GET /api/v1/key`, which answers for any key.
|
|
29
|
+
|
|
30
|
+
### Making a key
|
|
31
|
+
|
|
32
|
+
- **For CRM and tasks (recommended):** in the admin panel open **Connections and channels → Assistants and
|
|
33
|
+
automations → Connect an assistant or automation**, pick **n8n**, keep the **Automation** role and copy the key.
|
|
34
|
+
The key gets its own user, never sees contacts' phone numbers or emails, cannot delete anything, and can be
|
|
35
|
+
disconnected in one click.
|
|
36
|
+
- **For orders, products, invoices, bookings, tickets and notifications:** open **Connections and channels → API
|
|
37
|
+
keys** and make a key with the scopes of the resources you use (table below).
|
|
38
|
+
|
|
39
|
+
Start with a test key (`qc_test_…`) while you build: it checks everything and writes nothing.
|
|
40
|
+
|
|
41
|
+
## Operations
|
|
42
|
+
|
|
43
|
+
| Resource | Operations | Scopes the key needs |
|
|
44
|
+
|---|---|---|
|
|
45
|
+
| CRM Card | Create, Get, Get Many, Update (move the stage, close as won or lost) | `crm.cases:read`, `crm.cases:write`; `crm.cases:assign` to give a card to someone |
|
|
46
|
+
| CRM Activity | Create, Get, Get Many, Update (mark done with the result and the next follow-up) | `crm.activities:read`, `crm.activities:write` |
|
|
47
|
+
| CRM Contact | Create, Get, Get Many, Update | `crm:read`, `crm.contacts:write` |
|
|
48
|
+
| Task | Create, Get, Get Many, Update, Add Comment, Get Comments | `work.tasks:read`, `work.tasks:write`, `work.tasks.comments:*`; `work.tasks:assign` to give a task to someone |
|
|
49
|
+
| Order | Get, Get Many | `orders:read` |
|
|
50
|
+
| Product | Create or Update (by product code), Get, Get Many, Update | `products:read`, `products:write` |
|
|
51
|
+
| Invoice | Get, Get Many | `invoices:read` |
|
|
52
|
+
| Booking | Get, Get Many, Update (confirm, cancel, mark arrived) | `booking.bookings:read`, `booking.bookings:write` |
|
|
53
|
+
| Ticket | Create, Get, Get Many, Update, Add Message | `support.tickets:read`, `support.tickets:write` |
|
|
54
|
+
| Notification | Send (an approved SMS, Bale or Telegram template), Get | `notifications:read`, `notifications:write` |
|
|
55
|
+
|
|
56
|
+
Dropdowns (pipeline stages, projects, team members, lost reasons, activity types, templates) are filled from your
|
|
57
|
+
portal. **Get Many** returns one page with **Limit**, or every page with **Return All**.
|
|
58
|
+
|
|
59
|
+
Anything else in the portal's API (the full reference is at `https://<your portal>/developers`) is one
|
|
60
|
+
**HTTP Request** node away: choose **Predefined Credential Type → Qorfechi API** where your n8n lists it, or send
|
|
61
|
+
the header `Authorization: Bearer <key>` yourself.
|
|
62
|
+
|
|
63
|
+
Good to know:
|
|
64
|
+
|
|
65
|
+
- **Task → Create** takes an **External ID**. Run the same workflow twice with the same ID and you still get one
|
|
66
|
+
task: the portal answers `409` with the first one.
|
|
67
|
+
- Errors come back with the portal's own reason, such as a locked stage or a task that waits for another one.
|
|
68
|
+
- Dates are sent as you enter them. Without a time zone the portal reads them in its own time zone (Tehran).
|
|
69
|
+
|
|
70
|
+
## Trigger
|
|
71
|
+
|
|
72
|
+
1. Add **Qorfechi Trigger** and pick the events. The list shows only what your portal sends: entity events such as
|
|
73
|
+
`work_task.updated` or `case.created`, and events such as `order.paid`, `crm.lead.created` and
|
|
74
|
+
`form.submitted`.
|
|
75
|
+
2. Activate the workflow. The trigger registers its address in the portal's webhooks. Turning the workflow off
|
|
76
|
+
removes it.
|
|
77
|
+
|
|
78
|
+
Each run gets:
|
|
79
|
+
|
|
80
|
+
```json
|
|
81
|
+
{
|
|
82
|
+
"event": "work_task.updated",
|
|
83
|
+
"event_id": "evt_01k…",
|
|
84
|
+
"created_at": "2026-11-27T10:15:00+03:30",
|
|
85
|
+
"livemode": true,
|
|
86
|
+
"data": { "object": "work_task", "id": 42 },
|
|
87
|
+
"record": { "id": 42, "title": "Call the new lead", "status": "DONE" }
|
|
88
|
+
}
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
The portal's events carry only ids. With **Fetch Full Record** (on by default) the trigger reads the whole record
|
|
92
|
+
with the same key, so a run never holds more than the key may see. If the key cannot read it, `record_error` says
|
|
93
|
+
why and the run still happens. Every delivery is checked against the portal's
|
|
94
|
+
[Standard Webhooks](https://www.standardwebhooks.com) signature. The portal sends a failed delivery again with the
|
|
95
|
+
same id, and **Drop Repeats** skips it.
|
|
96
|
+
|
|
97
|
+
## Example workflows
|
|
98
|
+
|
|
99
|
+
- **New lead → task for tomorrow:** Qorfechi Trigger (`crm.lead.created`) → Qorfechi: Task → Create (project,
|
|
100
|
+
assignee, due tomorrow, External ID `lead-{{ $json.data.id }}`).
|
|
101
|
+
- **Task done → message to the manager:** Qorfechi Trigger (`work_task.updated`) → IF `{{ $json.record.status_category }}`
|
|
102
|
+
is `done` → Telegram.
|
|
103
|
+
- **Paid order → sheet and SMS:** Qorfechi Trigger (`order.paid`) → Google Sheets: Append → Qorfechi: Notification →
|
|
104
|
+
Send (template `order_paid`, the customer's mobile).
|
|
105
|
+
- **Nightly report:** Schedule → Qorfechi: CRM Card → Get Many (Updated After yesterday, Return All) → Email.
|
|
106
|
+
|
|
107
|
+
## Limits
|
|
108
|
+
|
|
109
|
+
- **Public address:** the portal calls n8n, so n8n needs a public `https` address. `localhost` and private
|
|
110
|
+
networks are refused. Use a domain or a tunnel while testing.
|
|
111
|
+
- **Webhooks feature:** the trigger needs the webhooks feature on the portal and the key's `webhooks:read` and
|
|
112
|
+
`webhooks:write` scopes. A role's events also need that module's API on the portal.
|
|
113
|
+
- **Ten addresses:** a portal has up to 10 webhook addresses in all, and each active trigger uses one.
|
|
114
|
+
- **Test keys:** a test key's webhook address receives only the test ping, never real events.
|
|
115
|
+
- **Rate limit:** each key has its own requests-per-minute limit (60 for connections, 120 by default for keys).
|
|
116
|
+
|
|
117
|
+
## Compatibility
|
|
118
|
+
|
|
119
|
+
Built with `@n8n/node-cli` 0.58 for n8n 1.x (self-hosted). Node.js 20 or newer.
|
|
120
|
+
|
|
121
|
+
## Development
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
npm install
|
|
125
|
+
npm run dev # n8n with these nodes at http://localhost:5678
|
|
126
|
+
npm run lint
|
|
127
|
+
npm run build && npm test
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
`nodes/QorfechiTrigger/objects.json` maps the portal's objects to their API paths. After the portal adds entities,
|
|
131
|
+
make it again from the portal's manifest:
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
node scripts/sync-objects.mjs <path to qorfechi>/Modules/Integration/Resources/api/entities.json
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Releases: `npm run release` tags a version, and GitHub Actions publishes it to npm with provenance.
|
|
138
|
+
|
|
139
|
+
## License
|
|
140
|
+
|
|
141
|
+
[MIT](LICENSE.md)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, Icon, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class QorfechiApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
icon: Icon;
|
|
6
|
+
documentationUrl: string;
|
|
7
|
+
properties: INodeProperties[];
|
|
8
|
+
authenticate: IAuthenticateGeneric;
|
|
9
|
+
test: ICredentialTestRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QorfechiApi = void 0;
|
|
4
|
+
class QorfechiApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'qorfechiApi';
|
|
7
|
+
this.displayName = 'Qorfechi API';
|
|
8
|
+
this.icon = { light: 'file:../nodes/Qorfechi/qorfechi.svg', dark: 'file:../nodes/Qorfechi/qorfechi.dark.svg' };
|
|
9
|
+
this.documentationUrl = 'https://github.com/arshaplus/n8n-nodes-qorfechi#credentials';
|
|
10
|
+
this.properties = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Portal URL',
|
|
13
|
+
name: 'portalUrl',
|
|
14
|
+
type: 'string',
|
|
15
|
+
default: '',
|
|
16
|
+
placeholder: 'https://shop.example.ir',
|
|
17
|
+
required: true,
|
|
18
|
+
description: 'The address of your portal, without /api',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
displayName: 'API Key',
|
|
22
|
+
name: 'apiKey',
|
|
23
|
+
type: 'string',
|
|
24
|
+
typeOptions: { password: true },
|
|
25
|
+
default: '',
|
|
26
|
+
required: true,
|
|
27
|
+
description: 'A key from the portal\'s admin panel: Connections and channels → Assistants and automations (pick n8n, role «Automation»), or Connections and channels → API keys. Live keys start with qc_live_, test keys with qc_test_.',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
displayName: 'Response Language',
|
|
31
|
+
name: 'language',
|
|
32
|
+
type: 'options',
|
|
33
|
+
options: [
|
|
34
|
+
{ name: 'Persian', value: 'fa' },
|
|
35
|
+
{ name: 'English', value: 'en' },
|
|
36
|
+
],
|
|
37
|
+
default: 'fa',
|
|
38
|
+
description: 'Language of error messages and titles the portal sends back',
|
|
39
|
+
},
|
|
40
|
+
];
|
|
41
|
+
this.authenticate = {
|
|
42
|
+
type: 'generic',
|
|
43
|
+
properties: {
|
|
44
|
+
headers: {
|
|
45
|
+
Authorization: '=Bearer {{$credentials.apiKey}}',
|
|
46
|
+
'Accept-Language': '={{$credentials.language || "fa"}}',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
this.test = {
|
|
51
|
+
request: {
|
|
52
|
+
baseURL: '={{$credentials.portalUrl.replace(/\\/+$/, "")}}/api/v1',
|
|
53
|
+
url: '/key',
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.QorfechiApi = QorfechiApi;
|
|
59
|
+
//# sourceMappingURL=QorfechiApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QorfechiApi.credentials.js","sourceRoot":"","sources":["../../credentials/QorfechiApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,WAAW;IAAxB;QACC,SAAI,GAAG,aAAa,CAAC;QAErB,gBAAW,GAAG,cAAc,CAAC;QAE7B,SAAI,GAAS,EAAE,KAAK,EAAE,qCAAqC,EAAE,IAAI,EAAE,0CAA0C,EAAE,CAAC;QAEhH,qBAAgB,GAAG,6DAA6D,CAAC;QAEjF,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,yBAAyB;gBACtC,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,0CAA0C;aACvD;YACD;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EACV,4NAA4N;aAC7N;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACR,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE;oBAChC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE;iBAChC;gBACD,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,6DAA6D;aAC1E;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,iCAAiC;oBAChD,iBAAiB,EAAE,oCAAoC;iBACvD;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,yDAAyD;gBAClE,GAAG,EAAE,MAAM;aACX;SACD,CAAC;IACH,CAAC;CAAA;AA1DD,kCA0DC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Qorfechi = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const services_1 = require("./resources/services");
|
|
6
|
+
const commerce_1 = require("./resources/commerce");
|
|
7
|
+
const crmActivity_1 = require("./resources/crmActivity");
|
|
8
|
+
const crmCase_1 = require("./resources/crmCase");
|
|
9
|
+
const crmContact_1 = require("./resources/crmContact");
|
|
10
|
+
const workTask_1 = require("./resources/workTask");
|
|
11
|
+
class Qorfechi {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.description = {
|
|
14
|
+
displayName: 'Qorfechi',
|
|
15
|
+
name: 'qorfechi',
|
|
16
|
+
icon: { light: 'file:qorfechi.svg', dark: 'file:qorfechi.dark.svg' },
|
|
17
|
+
group: ['transform'],
|
|
18
|
+
version: 1,
|
|
19
|
+
subtitle: '={{ $parameter.operation + ": " + $parameter.resource }}',
|
|
20
|
+
description: 'Work with your Qorfechi portal: CRM, tasks, orders, products, bookings, tickets and notifications',
|
|
21
|
+
defaults: { name: 'Qorfechi' },
|
|
22
|
+
usableAsTool: true,
|
|
23
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
24
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
25
|
+
credentials: [{ name: 'qorfechiApi', required: true }],
|
|
26
|
+
requestDefaults: {
|
|
27
|
+
baseURL: '={{ $credentials.portalUrl.replace(/\\/+$/, "") }}/api/v1',
|
|
28
|
+
headers: { Accept: 'application/json', 'Content-Type': 'application/json' },
|
|
29
|
+
},
|
|
30
|
+
properties: [
|
|
31
|
+
{
|
|
32
|
+
displayName: 'Resource',
|
|
33
|
+
name: 'resource',
|
|
34
|
+
type: 'options',
|
|
35
|
+
noDataExpression: true,
|
|
36
|
+
options: [
|
|
37
|
+
{ name: 'Booking', value: 'booking' },
|
|
38
|
+
{ name: 'CRM Activity', value: 'crmActivity' },
|
|
39
|
+
{ name: 'CRM Card', value: 'crmCase' },
|
|
40
|
+
{ name: 'CRM Contact', value: 'crmContact' },
|
|
41
|
+
{ name: 'Invoice', value: 'invoice' },
|
|
42
|
+
{ name: 'Notification', value: 'notification' },
|
|
43
|
+
{ name: 'Order', value: 'order' },
|
|
44
|
+
{ name: 'Product', value: 'product' },
|
|
45
|
+
{ name: 'Task', value: 'workTask' },
|
|
46
|
+
{ name: 'Ticket', value: 'ticket' },
|
|
47
|
+
],
|
|
48
|
+
default: 'crmCase',
|
|
49
|
+
},
|
|
50
|
+
...crmCase_1.crmCaseProperties,
|
|
51
|
+
...crmActivity_1.crmActivityProperties,
|
|
52
|
+
...crmContact_1.crmContactProperties,
|
|
53
|
+
...workTask_1.workTaskProperties,
|
|
54
|
+
...commerce_1.orderProperties,
|
|
55
|
+
...commerce_1.productProperties,
|
|
56
|
+
...commerce_1.invoiceProperties,
|
|
57
|
+
...services_1.bookingProperties,
|
|
58
|
+
...services_1.ticketProperties,
|
|
59
|
+
...services_1.notificationProperties,
|
|
60
|
+
],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.Qorfechi = Qorfechi;
|
|
65
|
+
//# sourceMappingURL=Qorfechi.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Qorfechi.node.js","sourceRoot":"","sources":["../../../nodes/Qorfechi/Qorfechi.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,mDAAmG;AACnG,mDAA6F;AAC7F,yDAAgE;AAChE,iDAAwD;AACxD,uDAA8D;AAC9D,mDAA0D;AAE1D,MAAa,QAAQ;IAArB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB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,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE;wBACnC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;qBACnC;oBACD,OAAO,EAAE,SAAS;iBAClB;gBACD,GAAG,2BAAiB;gBACpB,GAAG,mCAAqB;gBACxB,GAAG,iCAAoB;gBACvB,GAAG,6BAAkB;gBACrB,GAAG,0BAAe;gBAClB,GAAG,4BAAiB;gBACpB,GAAG,4BAAiB;gBACpB,GAAG,4BAAiB;gBACpB,GAAG,2BAAgB;gBACnB,GAAG,iCAAsB;aACzB;SACD,CAAC;IACH,CAAC;CAAA;AAlDD,4BAkDC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node": "@arshaplus/n8n-nodes-qorfechi.qorfechi",
|
|
3
|
+
"nodeVersion": "1.0",
|
|
4
|
+
"codexVersion": "1.0",
|
|
5
|
+
"categories": ["Sales", "Productivity", "Communication"],
|
|
6
|
+
"resources": {
|
|
7
|
+
"credentialDocumentation": [{ "url": "https://github.com/arshaplus/n8n-nodes-qorfechi#credentials" }],
|
|
8
|
+
"primaryDocumentation": [{ "url": "https://github.com/arshaplus/n8n-nodes-qorfechi#operations" }]
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { IDisplayOptions, INodeProperties, INodePropertyOptions, INodePropertyRouting, PostReceiveAction } from 'n8n-workflow';
|
|
2
|
+
export declare const DATA: PostReceiveAction;
|
|
3
|
+
export declare function show(resource: string, operation?: string[]): IDisplayOptions;
|
|
4
|
+
export declare function operationField(resource: string, options: INodePropertyOptions[], defaultValue: string): INodeProperties;
|
|
5
|
+
export declare function operation(name: string, value: string, action: string, description: string, method: 'GET' | 'POST' | 'PATCH', url: string): INodePropertyOptions;
|
|
6
|
+
export declare function listOperation(name: string, action: string, description: string, url: string): INodePropertyOptions;
|
|
7
|
+
export declare function idField(resource: string, operations: string[], name: string, displayName: string, description: string): INodeProperties;
|
|
8
|
+
export declare function pagingFields(resource: string): INodeProperties[];
|
|
9
|
+
export declare function body(property: string, value?: string): INodePropertyRouting;
|
|
10
|
+
export declare function query(property: string, value?: string): INodePropertyRouting;
|
|
11
|
+
export declare function lookup(url: string, label: string, value?: string, qs?: Record<string, string | number>, paged?: boolean): {
|
|
12
|
+
routing: {
|
|
13
|
+
request: {
|
|
14
|
+
method: "GET";
|
|
15
|
+
url: string;
|
|
16
|
+
qs: Record<string, string | number>;
|
|
17
|
+
};
|
|
18
|
+
output: {
|
|
19
|
+
postReceive: PostReceiveAction[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare const PRIORITY_OPTIONS: INodePropertyOptions[];
|
|
24
|
+
export declare const UPDATED_AFTER: INodeProperties;
|
|
25
|
+
export declare const SEARCH: INodeProperties;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SEARCH = exports.UPDATED_AFTER = exports.PRIORITY_OPTIONS = exports.DATA = void 0;
|
|
4
|
+
exports.show = show;
|
|
5
|
+
exports.operationField = operationField;
|
|
6
|
+
exports.operation = operation;
|
|
7
|
+
exports.listOperation = listOperation;
|
|
8
|
+
exports.idField = idField;
|
|
9
|
+
exports.pagingFields = pagingFields;
|
|
10
|
+
exports.body = body;
|
|
11
|
+
exports.query = query;
|
|
12
|
+
exports.lookup = lookup;
|
|
13
|
+
exports.DATA = { type: 'rootProperty', properties: { property: 'data' } };
|
|
14
|
+
function show(resource, operation) {
|
|
15
|
+
return { show: operation ? { resource: [resource], operation } : { resource: [resource] } };
|
|
16
|
+
}
|
|
17
|
+
function operationField(resource, options, defaultValue) {
|
|
18
|
+
return {
|
|
19
|
+
displayName: 'Operation',
|
|
20
|
+
name: 'operation',
|
|
21
|
+
type: 'options',
|
|
22
|
+
noDataExpression: true,
|
|
23
|
+
displayOptions: show(resource),
|
|
24
|
+
options,
|
|
25
|
+
default: defaultValue,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function operation(name, value, action, description, method, url) {
|
|
29
|
+
return {
|
|
30
|
+
name,
|
|
31
|
+
value,
|
|
32
|
+
action,
|
|
33
|
+
description,
|
|
34
|
+
routing: { request: { method, url }, output: { postReceive: [exports.DATA] } },
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function listOperation(name, action, description, url) {
|
|
38
|
+
const routing = {
|
|
39
|
+
request: { method: 'GET', url },
|
|
40
|
+
send: { paginate: '={{ $parameter.returnAll }}' },
|
|
41
|
+
operations: {
|
|
42
|
+
pagination: {
|
|
43
|
+
type: 'generic',
|
|
44
|
+
properties: {
|
|
45
|
+
continue: '={{ !!($response.body && $response.body.meta && $response.body.meta.has_more) }}',
|
|
46
|
+
request: {
|
|
47
|
+
qs: {
|
|
48
|
+
limit: 100,
|
|
49
|
+
cursor: '={{ $response.body && $response.body.meta ? $response.body.meta.next_cursor : undefined }}',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
output: { postReceive: [exports.DATA] },
|
|
56
|
+
};
|
|
57
|
+
return { name, value: 'getAll', action, description, routing };
|
|
58
|
+
}
|
|
59
|
+
function idField(resource, operations, name, displayName, description) {
|
|
60
|
+
return {
|
|
61
|
+
displayName,
|
|
62
|
+
name,
|
|
63
|
+
type: 'string',
|
|
64
|
+
required: true,
|
|
65
|
+
default: '',
|
|
66
|
+
placeholder: '123',
|
|
67
|
+
description,
|
|
68
|
+
displayOptions: show(resource, operations),
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
function pagingFields(resource) {
|
|
72
|
+
return [
|
|
73
|
+
{
|
|
74
|
+
displayName: 'Return All',
|
|
75
|
+
name: 'returnAll',
|
|
76
|
+
type: 'boolean',
|
|
77
|
+
default: false,
|
|
78
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
79
|
+
displayOptions: show(resource, ['getAll']),
|
|
80
|
+
routing: { send: { type: 'query', property: 'limit', value: '={{ $value ? 100 : undefined }}' } },
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
displayName: 'Limit',
|
|
84
|
+
name: 'limit',
|
|
85
|
+
type: 'number',
|
|
86
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
87
|
+
default: 50,
|
|
88
|
+
description: 'Max number of results to return',
|
|
89
|
+
displayOptions: { show: { resource: [resource], operation: ['getAll'], returnAll: [false] } },
|
|
90
|
+
routing: { send: { type: 'query', property: 'limit' } },
|
|
91
|
+
},
|
|
92
|
+
];
|
|
93
|
+
}
|
|
94
|
+
function body(property, value) {
|
|
95
|
+
return { send: value ? { type: 'body', property, value } : { type: 'body', property } };
|
|
96
|
+
}
|
|
97
|
+
function query(property, value) {
|
|
98
|
+
return { send: value ? { type: 'query', property, value } : { type: 'query', property } };
|
|
99
|
+
}
|
|
100
|
+
function lookup(url, label, value = '={{ $responseItem.id }}', qs = {}, paged = true) {
|
|
101
|
+
return {
|
|
102
|
+
routing: {
|
|
103
|
+
request: { method: 'GET', url, qs: paged ? { limit: 100, ...qs } : qs },
|
|
104
|
+
output: {
|
|
105
|
+
postReceive: [
|
|
106
|
+
exports.DATA,
|
|
107
|
+
{ type: 'setKeyValue', properties: { name: label, value } },
|
|
108
|
+
{ type: 'sort', properties: { key: 'name' } },
|
|
109
|
+
],
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
exports.PRIORITY_OPTIONS = [
|
|
115
|
+
{ name: 'Low', value: 0 },
|
|
116
|
+
{ name: 'Normal', value: 1 },
|
|
117
|
+
{ name: 'High', value: 2 },
|
|
118
|
+
{ name: 'Urgent', value: 3 },
|
|
119
|
+
{ name: 'Critical', value: 4 },
|
|
120
|
+
];
|
|
121
|
+
exports.UPDATED_AFTER = {
|
|
122
|
+
displayName: 'Updated After',
|
|
123
|
+
name: 'updated_after',
|
|
124
|
+
type: 'dateTime',
|
|
125
|
+
default: '',
|
|
126
|
+
description: 'Only rows changed after this time; handy for a scheduled sync',
|
|
127
|
+
routing: query('updated_after'),
|
|
128
|
+
};
|
|
129
|
+
exports.SEARCH = {
|
|
130
|
+
displayName: 'Search',
|
|
131
|
+
name: 'q',
|
|
132
|
+
type: 'string',
|
|
133
|
+
default: '',
|
|
134
|
+
description: 'Words to look for, as in the panel\'s search box',
|
|
135
|
+
routing: query('q'),
|
|
136
|
+
};
|
|
137
|
+
//# sourceMappingURL=helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../nodes/Qorfechi/helpers.ts"],"names":[],"mappings":";;;AAeA,oBAEC;AAED,wCAcC;AAKD,8BAeC;AAKD,sCAsBC;AAED,0BAiBC;AAED,oCAsBC;AAED,oBAEC;AAED,sBAEC;AAKD,wBAmBC;AA9IY,QAAA,IAAI,GAAsB,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,CAAC;AAElG,SAAgB,IAAI,CAAC,QAAgB,EAAE,SAAoB;IAC1D,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;AAC7F,CAAC;AAED,SAAgB,cAAc,CAC7B,QAAgB,EAChB,OAA+B,EAC/B,YAAoB;IAEpB,OAAO;QACN,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,IAAI,CAAC,QAAQ,CAAC;QAC9B,OAAO;QACP,OAAO,EAAE,YAAY;KACrB,CAAC;AACH,CAAC;AAKD,SAAgB,SAAS,CACxB,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WAAW,EAAE,QAAQ;IACrB,IAAI,EAAE,GAAG;IACT,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,kDAAkD;IAC/D,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" width="60" height="60"><circle cx="40" cy="40" r="39.6" fill="#8f7ce0"/><circle cx="39.6" cy="40" r="26.8" fill="#1f1d2b"/><circle cx="53.6" cy="57.4" r="13.9" fill="#1f1d2b"/><circle cx="53.6" cy="57.8" r="10.7" fill="#8f7ce0"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" width="60" height="60"><circle cx="40" cy="40" r="39.6" fill="#3a296c"/><circle cx="39.6" cy="40" r="26.8" fill="#f1f2f2"/><circle cx="53.6" cy="57.4" r="13.9" fill="#f1f2f2"/><circle cx="53.6" cy="57.8" r="10.7" fill="#3a296c"/></svg>
|