n8n-nodes-synca 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.
- package/dist/credentials/SyncaApi.credentials.d.ts +9 -0
- package/dist/credentials/SyncaApi.credentials.js +51 -0
- package/dist/credentials/SyncaApi.credentials.js.map +1 -0
- package/dist/nodes/Cashcow/SyncaCashcow.node.d.ts +10 -0
- package/dist/nodes/Cashcow/SyncaCashcow.node.js +185 -0
- package/dist/nodes/Cashcow/SyncaCashcow.node.js.map +1 -0
- package/dist/nodes/Cashcow/constants/cashcow-check-order-tracking.constant.d.ts +30 -0
- package/dist/nodes/Cashcow/constants/cashcow-check-order-tracking.constant.js +37 -0
- package/dist/nodes/Cashcow/constants/cashcow-check-order-tracking.constant.js.map +1 -0
- package/dist/nodes/Cashcow/constants/cashcow-create-or-update-product.constant.d.ts +117 -0
- package/dist/nodes/Cashcow/constants/cashcow-create-or-update-product.constant.js +290 -0
- package/dist/nodes/Cashcow/constants/cashcow-create-or-update-product.constant.js.map +1 -0
- package/dist/nodes/Cashcow/constants/cashcow-create-order.constant.d.ts +189 -0
- package/dist/nodes/Cashcow/constants/cashcow-create-order.constant.js +420 -0
- package/dist/nodes/Cashcow/constants/cashcow-create-order.constant.js.map +1 -0
- package/dist/nodes/Cashcow/constants/cashcow-get-store-mailbox.constant.d.ts +46 -0
- package/dist/nodes/Cashcow/constants/cashcow-get-store-mailbox.constant.js +166 -0
- package/dist/nodes/Cashcow/constants/cashcow-get-store-mailbox.constant.js.map +1 -0
- package/dist/nodes/Cashcow/icon copy 2.svg +53 -0
- package/dist/nodes/Cashcow/icon copy.svg +65 -0
- package/dist/nodes/Cashcow/icon.svg +1 -0
- package/dist/nodes/Cashcow/last-icon.svg +38 -0
- package/dist/nodes/Mirakl/SyncaMirakl.node.d.ts +0 -0
- package/dist/nodes/Mirakl/SyncaMirakl.node.js +2 -0
- package/dist/nodes/Mirakl/SyncaMirakl.node.js.map +1 -0
- package/dist/nodes/OLD_SyncaPriority.node.d.ts +10 -0
- package/dist/nodes/OLD_SyncaPriority.node.js +389 -0
- package/dist/nodes/OLD_SyncaPriority.node.js.map +1 -0
- package/dist/nodes/Priority/SyncaPriority.node.d.ts +18 -0
- package/dist/nodes/Priority/SyncaPriority.node.js +313 -0
- package/dist/nodes/Priority/SyncaPriority.node.js.map +1 -0
- package/dist/nodes/Priority/constants/methods.d.ts +15 -0
- package/dist/nodes/Priority/constants/methods.js +299 -0
- package/dist/nodes/Priority/constants/methods.js.map +1 -0
- package/dist/nodes/Priority/constants/priority-agents.constant.d.ts +39 -0
- package/dist/nodes/Priority/constants/priority-agents.constant.js +114 -0
- package/dist/nodes/Priority/constants/priority-agents.constant.js.map +1 -0
- package/dist/nodes/Priority/constants/priority-generic.constant.d.ts +158 -0
- package/dist/nodes/Priority/constants/priority-generic.constant.js +219 -0
- package/dist/nodes/Priority/constants/priority-generic.constant.js.map +1 -0
- package/dist/nodes/Priority/constants/priority-procedure.constant.d.ts +129 -0
- package/dist/nodes/Priority/constants/priority-procedure.constant.js +178 -0
- package/dist/nodes/Priority/constants/priority-procedure.constant.js.map +1 -0
- package/dist/nodes/Priority/constants/priority-products.constant.d.ts +158 -0
- package/dist/nodes/Priority/constants/priority-products.constant.js +209 -0
- package/dist/nodes/Priority/constants/priority-products.constant.js.map +1 -0
- package/dist/nodes/Priority/constants/priority-purchase-orders.constant.d.ts +158 -0
- package/dist/nodes/Priority/constants/priority-purchase-orders.constant.js +218 -0
- package/dist/nodes/Priority/constants/priority-purchase-orders.constant.js.map +1 -0
- package/dist/nodes/Priority/constants/priority-sales.constant.d.ts +158 -0
- package/dist/nodes/Priority/constants/priority-sales.constant.js +383 -0
- package/dist/nodes/Priority/constants/priority-sales.constant.js.map +1 -0
- package/dist/nodes/Priority/icon.png +0 -0
- package/dist/nodes/Priority/icon.svg +1 -0
- package/dist/nodes/Superpharm/SyncaSuperpharm.node.d.ts +10 -0
- package/dist/nodes/Superpharm/SyncaSuperpharm.node.js +1072 -0
- package/dist/nodes/Superpharm/SyncaSuperpharm.node.js.map +1 -0
- package/dist/nodes/Superpharm/icon.svg +1 -0
- package/dist/nodes/Superpharm/old-icon.svg +22 -0
- package/dist/package.json +55 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +55 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const PriorityAgents: {
|
|
2
|
+
declare: ({
|
|
3
|
+
displayName: string;
|
|
4
|
+
name: string;
|
|
5
|
+
type: string;
|
|
6
|
+
noDataExpression: boolean;
|
|
7
|
+
displayOptions: {
|
|
8
|
+
show: {
|
|
9
|
+
resource: string[];
|
|
10
|
+
operation?: undefined;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
options: {
|
|
14
|
+
name: string;
|
|
15
|
+
value: string;
|
|
16
|
+
description: string;
|
|
17
|
+
action: string;
|
|
18
|
+
}[];
|
|
19
|
+
default: string;
|
|
20
|
+
required?: undefined;
|
|
21
|
+
description?: undefined;
|
|
22
|
+
} | {
|
|
23
|
+
displayName: string;
|
|
24
|
+
name: string;
|
|
25
|
+
type: string;
|
|
26
|
+
required: boolean;
|
|
27
|
+
displayOptions: {
|
|
28
|
+
show: {
|
|
29
|
+
resource: string[];
|
|
30
|
+
operation: string[];
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
default: string;
|
|
34
|
+
description: string;
|
|
35
|
+
noDataExpression?: undefined;
|
|
36
|
+
options?: undefined;
|
|
37
|
+
})[];
|
|
38
|
+
process: (params: any, i: number, getNodeParameter: (parameterName: string, itemIndex: number, fallbackValue?: any) => string | number | boolean | object) => any;
|
|
39
|
+
};
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PriorityAgents = void 0;
|
|
4
|
+
exports.PriorityAgents = {
|
|
5
|
+
declare: [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Operation',
|
|
8
|
+
name: 'operation',
|
|
9
|
+
type: 'options',
|
|
10
|
+
noDataExpression: true,
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['agents'],
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
options: [
|
|
17
|
+
{
|
|
18
|
+
name: 'Search Agents',
|
|
19
|
+
value: 'list_agents',
|
|
20
|
+
description: 'Search all agents',
|
|
21
|
+
action: 'Search agents',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'Get Agent',
|
|
25
|
+
value: 'get_agent',
|
|
26
|
+
description: 'Get a specific agent',
|
|
27
|
+
action: 'Get an agent',
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
default: 'list_agents',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
displayName: 'Agent ID',
|
|
34
|
+
name: 'agentId',
|
|
35
|
+
type: 'string',
|
|
36
|
+
required: true,
|
|
37
|
+
displayOptions: {
|
|
38
|
+
show: {
|
|
39
|
+
resource: ['agents'],
|
|
40
|
+
operation: ['get_agent'],
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
default: '',
|
|
44
|
+
description: 'The agent ID to retrieve',
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
process: (params, i, getNodeParameter) => {
|
|
48
|
+
const page = getNodeParameter('page', i, 1);
|
|
49
|
+
const pageSize = getNodeParameter('page_size', i, 20);
|
|
50
|
+
if (page < 1)
|
|
51
|
+
throw new Error('Page number must be 1 or greater');
|
|
52
|
+
if (pageSize < 1 || pageSize > 100)
|
|
53
|
+
throw new Error('Page size must be between 1 and 100');
|
|
54
|
+
params.page = page;
|
|
55
|
+
params.page_size = pageSize;
|
|
56
|
+
try {
|
|
57
|
+
const messageType = getNodeParameter('message_type', i, 'all');
|
|
58
|
+
if (messageType && messageType !== 'all') {
|
|
59
|
+
params.message_type = messageType;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
catch { }
|
|
63
|
+
try {
|
|
64
|
+
const readStatus = getNodeParameter('read_status', i, 'all');
|
|
65
|
+
if (readStatus && readStatus !== 'all') {
|
|
66
|
+
params.read_status = readStatus;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
catch { }
|
|
70
|
+
try {
|
|
71
|
+
const customerId = getNodeParameter('customer_id', i, '');
|
|
72
|
+
if (customerId && customerId.trim() !== '') {
|
|
73
|
+
params.customer_id = customerId.trim();
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
catch { }
|
|
77
|
+
try {
|
|
78
|
+
const searchQuery = getNodeParameter('search_query', i, '');
|
|
79
|
+
if (searchQuery && searchQuery.trim() !== '') {
|
|
80
|
+
params.search_query = searchQuery.trim();
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
catch { }
|
|
84
|
+
try {
|
|
85
|
+
const orderBy = getNodeParameter('order_by', i, 'date_desc');
|
|
86
|
+
if (orderBy) {
|
|
87
|
+
params.order_by = orderBy;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
catch { }
|
|
91
|
+
try {
|
|
92
|
+
const dateFrom = getNodeParameter('date_from', i, '');
|
|
93
|
+
if (dateFrom && dateFrom.trim() !== '') {
|
|
94
|
+
const fromDate = new Date(dateFrom);
|
|
95
|
+
if (!isNaN(fromDate.getTime())) {
|
|
96
|
+
params.date_from = fromDate.toISOString();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
catch { }
|
|
101
|
+
try {
|
|
102
|
+
const dateTo = getNodeParameter('date_to', i, '');
|
|
103
|
+
if (dateTo && dateTo.trim() !== '') {
|
|
104
|
+
const toDate = new Date(dateTo);
|
|
105
|
+
if (!isNaN(toDate.getTime())) {
|
|
106
|
+
params.date_to = toDate.toISOString();
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
catch { }
|
|
111
|
+
return params;
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
//# sourceMappingURL=priority-agents.constant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priority-agents.constant.js","sourceRoot":"","sources":["../../../../nodes/Priority/constants/priority-agents.constant.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG;IAC1B,OAAO,EAAE;QACL;YACI,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,SAAS;YACf,gBAAgB,EAAE,IAAI;YACtB,cAAc,EAAE;gBACZ,IAAI,EAAE;oBACF,QAAQ,EAAE,CAAC,QAAQ,CAAC;iBACvB;aACJ;YACD,OAAO,EAAE;gBACL;oBACI,IAAI,EAAE,eAAe;oBACrB,KAAK,EAAE,aAAa;oBACpB,WAAW,EAAE,mBAAmB;oBAChC,MAAM,EAAE,eAAe;iBAC1B;gBACD;oBACI,IAAI,EAAE,WAAW;oBACjB,KAAK,EAAE,WAAW;oBAClB,WAAW,EAAE,sBAAsB;oBACnC,MAAM,EAAE,cAAc;iBACzB;aACJ;YACD,OAAO,EAAE,aAAa;SACzB;QACD;YACI,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,cAAc,EAAE;gBACZ,IAAI,EAAE;oBACF,QAAQ,EAAE,CAAC,QAAQ,CAAC;oBACpB,SAAS,EAAE,CAAC,WAAW,CAAC;iBAC3B;aACJ;YACD,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,0BAA0B;SAC1C;KACJ;IACD,OAAO,EAAE,CAAC,MAAW,EAAE,CAAS,EAAE,gBAAuH,EAAE,EAAE;QAEzJ,MAAM,IAAI,GAAG,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAW,CAAC;QACtD,MAAM,QAAQ,GAAG,gBAAgB,CAAC,WAAW,EAAE,CAAC,EAAE,EAAE,CAAW,CAAC;QAGhE,IAAI,IAAI,GAAG,CAAC;YAAE,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C,EAAE,WAAW,CAAW,CAAC;YACvE,IAAI,OAAO,EAAE;gBACT,MAAM,CAAC,QAAQ,GAAG,OAAO,CAAC;aAC7B;SACJ;QAAC,MAAM,GAAG;QAGX,IAAI;YACA,MAAM,QAAQ,GAAG,gBAAgB,CAAC,WAAW,EAAE,CAAC,EAAE,EAAE,CAAW,CAAC;YAChE,IAAI,QAAQ,IAAI,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;gBAEpC,MAAM,QAAQ,GAAG,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAC;gBACpC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,EAAE;oBAC5B,MAAM,CAAC,SAAS,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC;iBAC7C;aACJ;SACJ;QAAC,MAAM,GAAG;QAEX,IAAI;YACA,MAAM,MAAM,GAAG,gBAAgB,CAAC,SAAS,EAAE,CAAC,EAAE,EAAE,CAAW,CAAC;YAC5D,IAAI,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;gBAEhC,MAAM,MAAM,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC;gBAChC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE;oBAC1B,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC,WAAW,EAAE,CAAC;iBACzC;aACJ;SACJ;QAAC,MAAM,GAAG;QAEX,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ,CAAC"}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
export declare const PriorityGeneric: {
|
|
2
|
+
declare: ({
|
|
3
|
+
displayName: string;
|
|
4
|
+
name: string;
|
|
5
|
+
type: string;
|
|
6
|
+
noDataExpression: boolean;
|
|
7
|
+
displayOptions: {
|
|
8
|
+
show: {
|
|
9
|
+
resource: string[];
|
|
10
|
+
operation?: undefined;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
options: {
|
|
14
|
+
name: string;
|
|
15
|
+
value: string;
|
|
16
|
+
description: string;
|
|
17
|
+
action: string;
|
|
18
|
+
}[];
|
|
19
|
+
default: string;
|
|
20
|
+
typeOptions?: undefined;
|
|
21
|
+
description?: undefined;
|
|
22
|
+
required?: undefined;
|
|
23
|
+
placeholder?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
displayName: string;
|
|
26
|
+
name: string;
|
|
27
|
+
type: string;
|
|
28
|
+
typeOptions: {
|
|
29
|
+
loadOptionsDependsOn: string[];
|
|
30
|
+
refreshOn: string[];
|
|
31
|
+
loadOptionsMethod: string;
|
|
32
|
+
resourceMapper?: undefined;
|
|
33
|
+
multipleValues?: undefined;
|
|
34
|
+
};
|
|
35
|
+
displayOptions: {
|
|
36
|
+
show: {
|
|
37
|
+
resource: string[];
|
|
38
|
+
operation: string[];
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
default: never[];
|
|
42
|
+
description: string;
|
|
43
|
+
noDataExpression?: undefined;
|
|
44
|
+
options?: undefined;
|
|
45
|
+
required?: undefined;
|
|
46
|
+
placeholder?: undefined;
|
|
47
|
+
} | {
|
|
48
|
+
displayName: string;
|
|
49
|
+
name: string;
|
|
50
|
+
type: string;
|
|
51
|
+
displayOptions: {
|
|
52
|
+
show: {
|
|
53
|
+
resource: string[];
|
|
54
|
+
operation: string[];
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
default: never[];
|
|
58
|
+
description: string;
|
|
59
|
+
noDataExpression?: undefined;
|
|
60
|
+
options?: undefined;
|
|
61
|
+
typeOptions?: undefined;
|
|
62
|
+
required?: undefined;
|
|
63
|
+
placeholder?: undefined;
|
|
64
|
+
} | {
|
|
65
|
+
displayName: string;
|
|
66
|
+
name: string;
|
|
67
|
+
type: string;
|
|
68
|
+
default: {
|
|
69
|
+
mappingMode: string;
|
|
70
|
+
value: null;
|
|
71
|
+
};
|
|
72
|
+
required: boolean;
|
|
73
|
+
displayOptions: {
|
|
74
|
+
show: {
|
|
75
|
+
resource: string[];
|
|
76
|
+
operation: string[];
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
typeOptions: {
|
|
80
|
+
loadOptionsDependsOn: string[];
|
|
81
|
+
refreshOn: string[];
|
|
82
|
+
resourceMapper: {
|
|
83
|
+
resourceMapperMethod: string;
|
|
84
|
+
mode: string;
|
|
85
|
+
addAllFields: boolean;
|
|
86
|
+
fieldWords: {
|
|
87
|
+
singular: string;
|
|
88
|
+
plural: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
loadOptionsMethod?: undefined;
|
|
92
|
+
multipleValues?: undefined;
|
|
93
|
+
};
|
|
94
|
+
noDataExpression?: undefined;
|
|
95
|
+
options?: undefined;
|
|
96
|
+
description?: undefined;
|
|
97
|
+
placeholder?: undefined;
|
|
98
|
+
} | {
|
|
99
|
+
displayName: string;
|
|
100
|
+
name: string;
|
|
101
|
+
type: string;
|
|
102
|
+
placeholder: string;
|
|
103
|
+
typeOptions: {
|
|
104
|
+
multipleValues: boolean;
|
|
105
|
+
loadOptionsDependsOn: string[];
|
|
106
|
+
refreshOn: string[];
|
|
107
|
+
loadOptionsMethod?: undefined;
|
|
108
|
+
resourceMapper?: undefined;
|
|
109
|
+
};
|
|
110
|
+
default: {
|
|
111
|
+
mappingMode?: undefined;
|
|
112
|
+
value?: undefined;
|
|
113
|
+
};
|
|
114
|
+
displayOptions: {
|
|
115
|
+
show: {
|
|
116
|
+
resource: string[];
|
|
117
|
+
operation: string[];
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
options: {
|
|
121
|
+
name: string;
|
|
122
|
+
displayName: string;
|
|
123
|
+
values: ({
|
|
124
|
+
displayName: string;
|
|
125
|
+
name: string;
|
|
126
|
+
type: string;
|
|
127
|
+
typeOptions: {
|
|
128
|
+
loadOptionsMethod: string;
|
|
129
|
+
loadOptionsDependsOn: string[];
|
|
130
|
+
refreshOn: string[];
|
|
131
|
+
};
|
|
132
|
+
default: string;
|
|
133
|
+
options?: undefined;
|
|
134
|
+
} | {
|
|
135
|
+
displayName: string;
|
|
136
|
+
name: string;
|
|
137
|
+
type: string;
|
|
138
|
+
options: {
|
|
139
|
+
name: string;
|
|
140
|
+
value: string;
|
|
141
|
+
}[];
|
|
142
|
+
default: string;
|
|
143
|
+
typeOptions?: undefined;
|
|
144
|
+
} | {
|
|
145
|
+
displayName: string;
|
|
146
|
+
name: string;
|
|
147
|
+
type: string;
|
|
148
|
+
default: string;
|
|
149
|
+
typeOptions?: undefined;
|
|
150
|
+
options?: undefined;
|
|
151
|
+
})[];
|
|
152
|
+
}[];
|
|
153
|
+
noDataExpression?: undefined;
|
|
154
|
+
description?: undefined;
|
|
155
|
+
required?: undefined;
|
|
156
|
+
})[];
|
|
157
|
+
process: (params: any, i: number, getNodeParameter: (parameterName: string, itemIndex: number, fallbackValue?: any) => string | number | boolean | object) => any;
|
|
158
|
+
};
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PriorityGeneric = void 0;
|
|
4
|
+
exports.PriorityGeneric = {
|
|
5
|
+
declare: [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Operation',
|
|
8
|
+
name: 'operation',
|
|
9
|
+
type: 'options',
|
|
10
|
+
noDataExpression: true,
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['generic'],
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
options: [
|
|
17
|
+
{
|
|
18
|
+
name: 'Add Row to Form',
|
|
19
|
+
value: 'add_to_form',
|
|
20
|
+
description: 'Add new row to form',
|
|
21
|
+
action: 'Add Row to Form',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'Update Row in a Form',
|
|
25
|
+
value: 'update_row_in_form',
|
|
26
|
+
description: 'Update existing row in a form',
|
|
27
|
+
action: 'Update Row in a Form',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: 'Search Rows in Form',
|
|
31
|
+
value: 'search_form',
|
|
32
|
+
description: 'Search in selected form',
|
|
33
|
+
action: 'Search Rows form',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'Add Row to Sub Form',
|
|
37
|
+
value: 'add_to_sub_form',
|
|
38
|
+
description: 'Add to a sub form',
|
|
39
|
+
action: 'Add Row to a sub form',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'Update Row in a Sub Form',
|
|
43
|
+
value: 'update_row_in_sub_form',
|
|
44
|
+
description: 'Update existing row in a sub form',
|
|
45
|
+
action: 'Update Row in a Sub Form',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'Search Sub Form',
|
|
49
|
+
value: 'search_sub_form',
|
|
50
|
+
description: 'Search in selected sub form',
|
|
51
|
+
action: 'Search sub form',
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
default: 'search_form',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
displayName: 'Select Form',
|
|
58
|
+
name: 'formName',
|
|
59
|
+
type: 'options',
|
|
60
|
+
typeOptions: {
|
|
61
|
+
loadOptionsDependsOn: ['credentials'],
|
|
62
|
+
refreshOn: ['credentials'],
|
|
63
|
+
loadOptionsMethod: 'getForms',
|
|
64
|
+
},
|
|
65
|
+
displayOptions: {
|
|
66
|
+
show: {
|
|
67
|
+
resource: ['generic'],
|
|
68
|
+
operation: ['search_form', 'search_sub_form', 'add_to_form', 'update_row_in_form', 'add_to_sub_form', 'update_row_in_sub_form'],
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
default: [],
|
|
72
|
+
description: 'Select which form to search on',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
displayName: 'Main Form Entity ID',
|
|
76
|
+
name: 'mainEntityId',
|
|
77
|
+
type: 'string',
|
|
78
|
+
displayOptions: {
|
|
79
|
+
show: {
|
|
80
|
+
resource: ['generic'],
|
|
81
|
+
operation: ['add_to_sub_form', 'update_row_in_sub_form', 'search_sub_form'],
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
default: [],
|
|
85
|
+
description: 'Set the id of the parent entity to select update his subforms',
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
displayName: 'Select Sub Form',
|
|
89
|
+
name: 'subFormName',
|
|
90
|
+
type: 'options',
|
|
91
|
+
typeOptions: {
|
|
92
|
+
loadOptionsDependsOn: ['formName'],
|
|
93
|
+
refreshOn: ['formName'],
|
|
94
|
+
loadOptionsMethod: 'getSubForms',
|
|
95
|
+
},
|
|
96
|
+
displayOptions: {
|
|
97
|
+
show: {
|
|
98
|
+
resource: ['generic'],
|
|
99
|
+
operation: ['search_sub_form', 'add_to_sub_form', 'update_row_in_sub_form'],
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
default: [],
|
|
103
|
+
description: 'Select which form to search on',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
displayName: 'Row Data',
|
|
107
|
+
name: 'rowData',
|
|
108
|
+
type: 'resourceMapper',
|
|
109
|
+
default: { mappingMode: 'defineBelow', value: null },
|
|
110
|
+
required: true,
|
|
111
|
+
displayOptions: {
|
|
112
|
+
show: { resource: ['generic'], operation: ['add_to_form', 'update_row_in_form', 'add_to_sub_form', 'update_row_in_sub_form'] },
|
|
113
|
+
},
|
|
114
|
+
typeOptions: {
|
|
115
|
+
loadOptionsDependsOn: ['formName', 'subFormName'],
|
|
116
|
+
refreshOn: ['formName', 'subFormName'],
|
|
117
|
+
resourceMapper: {
|
|
118
|
+
resourceMapperMethod: 'getFormFields',
|
|
119
|
+
mode: 'add',
|
|
120
|
+
addAllFields: false,
|
|
121
|
+
fieldWords: { singular: 'field', plural: 'fields' },
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
displayName: 'Filters',
|
|
127
|
+
name: 'filters',
|
|
128
|
+
type: 'fixedCollection',
|
|
129
|
+
placeholder: 'Add Filter',
|
|
130
|
+
typeOptions: {
|
|
131
|
+
multipleValues: true,
|
|
132
|
+
loadOptionsDependsOn: ['formName', 'subFormName'],
|
|
133
|
+
refreshOn: ['formName', 'subFormName'],
|
|
134
|
+
},
|
|
135
|
+
default: {},
|
|
136
|
+
displayOptions: {
|
|
137
|
+
show: {
|
|
138
|
+
resource: ['generic', 'sales', 'purchaseOrders', 'products'], operation: [
|
|
139
|
+
'search_form', 'update_row_in_form', 'update_row_in_sub_form',
|
|
140
|
+
'list_products', 'update_product',
|
|
141
|
+
'list_customers', 'update_customer',
|
|
142
|
+
'list_orders', 'update_order',
|
|
143
|
+
'list_invoices', 'update_invoice',
|
|
144
|
+
'list_purchase_orders', 'update_purchase_order',
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
options: [
|
|
149
|
+
{
|
|
150
|
+
name: 'filter',
|
|
151
|
+
displayName: 'Filter',
|
|
152
|
+
values: [
|
|
153
|
+
{
|
|
154
|
+
displayName: 'Field',
|
|
155
|
+
name: 'field',
|
|
156
|
+
type: 'options',
|
|
157
|
+
typeOptions: {
|
|
158
|
+
loadOptionsMethod: 'getFormFields',
|
|
159
|
+
loadOptionsDependsOn: ['formName', 'subFormName'],
|
|
160
|
+
refreshOn: ['formName', 'subFormName']
|
|
161
|
+
},
|
|
162
|
+
default: '',
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
displayName: 'Operator',
|
|
166
|
+
name: 'op',
|
|
167
|
+
type: 'options',
|
|
168
|
+
options: [
|
|
169
|
+
{ name: 'Equals', value: 'eq' },
|
|
170
|
+
{ name: 'Not Equals', value: 'neq' },
|
|
171
|
+
{ name: 'Starts With', value: 'startWith' },
|
|
172
|
+
{ name: 'Ends With', value: 'endWith' },
|
|
173
|
+
{ name: 'Contain', value: 'in' },
|
|
174
|
+
{ name: 'Greater Than', value: 'gt' },
|
|
175
|
+
{ name: 'Greater or Equal', value: 'gte' },
|
|
176
|
+
{ name: 'Less Than', value: 'lt' },
|
|
177
|
+
{ name: 'Less or Equal', value: 'lte' },
|
|
178
|
+
],
|
|
179
|
+
default: 'eq',
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
displayName: 'Value',
|
|
183
|
+
name: 'fromval',
|
|
184
|
+
type: 'string',
|
|
185
|
+
default: '',
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
},
|
|
189
|
+
],
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
displayName: 'Return Fields',
|
|
193
|
+
name: 'fields',
|
|
194
|
+
type: 'multiOptions',
|
|
195
|
+
default: [],
|
|
196
|
+
description: 'Leave empty to return all columns, or pick the ones you need.',
|
|
197
|
+
typeOptions: {
|
|
198
|
+
loadOptionsMethod: 'getFormFields',
|
|
199
|
+
loadOptionsDependsOn: ['formName', 'subFormName'],
|
|
200
|
+
refreshOn: ['formName', 'subFormName'],
|
|
201
|
+
},
|
|
202
|
+
displayOptions: {
|
|
203
|
+
show: { resource: ['generic'], operation: ['search_form', 'search_sub_form'] },
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
process: (params, i, getNodeParameter) => {
|
|
208
|
+
const orderId = getNodeParameter('order_id', i);
|
|
209
|
+
const emailAddress = getNodeParameter('email_address', i);
|
|
210
|
+
if (!orderId)
|
|
211
|
+
throw new Error('Order ID is required');
|
|
212
|
+
if (!emailAddress || emailAddress.trim() === '')
|
|
213
|
+
throw new Error('Customer email is required');
|
|
214
|
+
params.order_id = orderId;
|
|
215
|
+
params.email_address = emailAddress.trim();
|
|
216
|
+
return params;
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
//# sourceMappingURL=priority-generic.constant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priority-generic.constant.js","sourceRoot":"","sources":["../../../../nodes/Priority/constants/priority-generic.constant.ts"],"names":[],"mappings":";;;AAAa,QAA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,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC,aAAa,EAAE,iBAAiB,CAAC,EAAE;aACjF;SACJ;KACJ;IACD,OAAO,EAAE,CAAC,MAAW,EAAE,CAAS,EAAE,gBAAuH,EAAE,EAAE;QAEzJ,MAAM,OAAO,GAAG,gBAAgB,CAAC,UAAU,EAAE,CAAC,CAAW,CAAC;QAC1D,MAAM,YAAY,GAAG,gBAAgB,CAAC,eAAe,EAAE,CAAC,CAAW,CAAC;QAEpE,IAAI,CAAC,OAAO;YAAE,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;QACtD,IAAI,CAAC,YAAY,IAAI,YAAY,CAAC,IAAI,EAAE,KAAK,EAAE;YAAE,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC;QAE/F,MAAM,CAAC,QAAQ,GAAG,OAAO,CAAC;QAC1B,MAAM,CAAC,aAAa,GAAG,YAAY,CAAC,IAAI,EAAE,CAAC;QAE3C,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ,CAAC"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
export declare const PriorityProcedures: {
|
|
2
|
+
declare: ({
|
|
3
|
+
displayName: string;
|
|
4
|
+
name: string;
|
|
5
|
+
type: string;
|
|
6
|
+
noDataExpression: boolean;
|
|
7
|
+
displayOptions: {
|
|
8
|
+
show: {
|
|
9
|
+
resource: string[];
|
|
10
|
+
operation?: undefined;
|
|
11
|
+
procedureName?: undefined;
|
|
12
|
+
};
|
|
13
|
+
hide?: undefined;
|
|
14
|
+
};
|
|
15
|
+
options: {
|
|
16
|
+
name: string;
|
|
17
|
+
value: string;
|
|
18
|
+
description: string;
|
|
19
|
+
action: string;
|
|
20
|
+
}[];
|
|
21
|
+
default: string;
|
|
22
|
+
typeOptions?: undefined;
|
|
23
|
+
required?: undefined;
|
|
24
|
+
description?: undefined;
|
|
25
|
+
} | {
|
|
26
|
+
displayName: string;
|
|
27
|
+
name: string;
|
|
28
|
+
type: string;
|
|
29
|
+
typeOptions: {
|
|
30
|
+
loadOptionsDependsOn: string[];
|
|
31
|
+
refreshOn: string[];
|
|
32
|
+
loadOptionsMethod: string;
|
|
33
|
+
resourceMapper?: undefined;
|
|
34
|
+
multipleValues?: undefined;
|
|
35
|
+
};
|
|
36
|
+
required: boolean;
|
|
37
|
+
displayOptions: {
|
|
38
|
+
show: {
|
|
39
|
+
resource: string[];
|
|
40
|
+
operation: string[];
|
|
41
|
+
procedureName?: undefined;
|
|
42
|
+
};
|
|
43
|
+
hide?: undefined;
|
|
44
|
+
};
|
|
45
|
+
default: string;
|
|
46
|
+
description: string;
|
|
47
|
+
noDataExpression?: undefined;
|
|
48
|
+
options?: undefined;
|
|
49
|
+
} | {
|
|
50
|
+
displayName: string;
|
|
51
|
+
name: string;
|
|
52
|
+
type: string;
|
|
53
|
+
default: {
|
|
54
|
+
mappingMode: string;
|
|
55
|
+
value: null;
|
|
56
|
+
};
|
|
57
|
+
required: boolean;
|
|
58
|
+
displayOptions: {
|
|
59
|
+
show: {
|
|
60
|
+
resource: string[];
|
|
61
|
+
operation: string[];
|
|
62
|
+
procedureName: {
|
|
63
|
+
_cnd: {
|
|
64
|
+
not: string;
|
|
65
|
+
};
|
|
66
|
+
}[];
|
|
67
|
+
};
|
|
68
|
+
hide: {
|
|
69
|
+
procedureName: string[];
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
typeOptions: {
|
|
73
|
+
loadOptionsDependsOn: string[];
|
|
74
|
+
refreshOn: string[];
|
|
75
|
+
resourceMapper: {
|
|
76
|
+
resourceMapperMethod: string;
|
|
77
|
+
mode: string;
|
|
78
|
+
addAllFields: boolean;
|
|
79
|
+
fieldWords: {
|
|
80
|
+
singular: string;
|
|
81
|
+
plural: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
loadOptionsMethod?: undefined;
|
|
85
|
+
multipleValues?: undefined;
|
|
86
|
+
};
|
|
87
|
+
noDataExpression?: undefined;
|
|
88
|
+
options?: undefined;
|
|
89
|
+
description?: undefined;
|
|
90
|
+
} | {
|
|
91
|
+
displayName: string;
|
|
92
|
+
name: string;
|
|
93
|
+
type: string;
|
|
94
|
+
typeOptions: {
|
|
95
|
+
multipleValues: boolean;
|
|
96
|
+
loadOptionsDependsOn?: undefined;
|
|
97
|
+
refreshOn?: undefined;
|
|
98
|
+
loadOptionsMethod?: undefined;
|
|
99
|
+
resourceMapper?: undefined;
|
|
100
|
+
};
|
|
101
|
+
displayOptions: {
|
|
102
|
+
show: {
|
|
103
|
+
resource: string[];
|
|
104
|
+
operation: string[];
|
|
105
|
+
procedureName?: undefined;
|
|
106
|
+
};
|
|
107
|
+
hide?: undefined;
|
|
108
|
+
};
|
|
109
|
+
default: {
|
|
110
|
+
mappingMode?: undefined;
|
|
111
|
+
value?: undefined;
|
|
112
|
+
};
|
|
113
|
+
description: string;
|
|
114
|
+
options: {
|
|
115
|
+
name: string;
|
|
116
|
+
displayName: string;
|
|
117
|
+
values: {
|
|
118
|
+
displayName: string;
|
|
119
|
+
name: string;
|
|
120
|
+
type: string;
|
|
121
|
+
default: string;
|
|
122
|
+
description: string;
|
|
123
|
+
}[];
|
|
124
|
+
}[];
|
|
125
|
+
noDataExpression?: undefined;
|
|
126
|
+
required?: undefined;
|
|
127
|
+
})[];
|
|
128
|
+
process: (params: any, i: number, getNodeParameter: (parameterName: string, itemIndex: number, fallbackValue?: any) => string | number | boolean | object) => any;
|
|
129
|
+
};
|