n8n-nodes-synca 1.0.25 → 1.0.27
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/nodes/Cashcow/SyncaCashcow.node.js +21 -1
- package/dist/nodes/Cashcow/SyncaCashcow.node.js.map +1 -1
- package/dist/nodes/Cashcow/constants/cashcow-check-order-tracking.constant.d.ts +2 -15
- package/dist/nodes/Cashcow/constants/cashcow-check-order-tracking.constant.js +2 -2
- package/dist/nodes/Cashcow/constants/cashcow-check-order-tracking.constant.js.map +1 -1
- package/dist/nodes/RunERP/SyncaRunERP.node.d.ts +10 -0
- package/dist/nodes/RunERP/SyncaRunERP.node.js +208 -0
- package/dist/nodes/RunERP/SyncaRunERP.node.js.map +1 -0
- package/dist/nodes/RunERP/constants/run-erp-cancel-shipment.constant.d.ts +5 -0
- package/dist/nodes/RunERP/constants/run-erp-cancel-shipment.constant.js +31 -0
- package/dist/nodes/RunERP/constants/run-erp-cancel-shipment.constant.js.map +1 -0
- package/dist/nodes/RunERP/constants/run-erp-create-shipment.constant.d.ts +5 -0
- package/dist/nodes/RunERP/constants/run-erp-create-shipment.constant.js +450 -0
- package/dist/nodes/RunERP/constants/run-erp-create-shipment.constant.js.map +1 -0
- package/dist/nodes/RunERP/constants/run-erp-get-pickup-points.constant.d.ts +5 -0
- package/dist/nodes/RunERP/constants/run-erp-get-pickup-points.constant.js +89 -0
- package/dist/nodes/RunERP/constants/run-erp-get-pickup-points.constant.js.map +1 -0
- package/dist/nodes/RunERP/constants/run-erp-get-tracking.constant.d.ts +5 -0
- package/dist/nodes/RunERP/constants/run-erp-get-tracking.constant.js +80 -0
- package/dist/nodes/RunERP/constants/run-erp-get-tracking.constant.js.map +1 -0
- package/dist/nodes/RunERP/constants/run-erp-print-label.constant.d.ts +5 -0
- package/dist/nodes/RunERP/constants/run-erp-print-label.constant.js +48 -0
- package/dist/nodes/RunERP/constants/run-erp-print-label.constant.js.map +1 -0
- package/dist/nodes/RunERP/icon.svg +1 -0
- package/dist/nodes/Superpharm/SyncaSuperpharm.node.js +1 -1
- package/dist/nodes/Superpharm/SyncaSuperpharm.node.js.map +1 -1
- package/dist/package.json +4 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -3
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare const RunErpPrintLabel: {
|
|
3
|
+
declare: INodeProperties[];
|
|
4
|
+
process: (params: Record<string, any>, i: number, getNodeParameter: (parameterName: string, itemIndex: number, fallbackValue?: any) => any) => Record<string, any>;
|
|
5
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RunErpPrintLabel = void 0;
|
|
4
|
+
exports.RunErpPrintLabel = {
|
|
5
|
+
declare: [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Shipment ID',
|
|
8
|
+
name: 'shipment_id',
|
|
9
|
+
type: 'number',
|
|
10
|
+
required: true,
|
|
11
|
+
default: '',
|
|
12
|
+
description: 'The shipment number (ship_create_num) returned from the create shipment response',
|
|
13
|
+
displayOptions: { show: { resource: ['label'], operation: ['print_label'] } },
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
displayName: 'Reference Number',
|
|
17
|
+
name: 'reference_number',
|
|
18
|
+
type: 'string',
|
|
19
|
+
required: false,
|
|
20
|
+
default: '',
|
|
21
|
+
description: 'Your reference number (from P26 in create shipment). Only required if you have identification letters at the shipping company.',
|
|
22
|
+
displayOptions: { show: { resource: ['label'], operation: ['print_label'] } },
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
displayName: 'Label Info',
|
|
26
|
+
name: 'labelNotice',
|
|
27
|
+
type: 'notice',
|
|
28
|
+
default: '',
|
|
29
|
+
displayOptions: { show: { resource: ['label'], operation: ['print_label'] } },
|
|
30
|
+
typeOptions: {
|
|
31
|
+
noticeType: 'info',
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
process: (params, i, getNodeParameter) => {
|
|
36
|
+
params.shipment_id = getNodeParameter('shipment_id', i);
|
|
37
|
+
try {
|
|
38
|
+
const referenceNumber = getNodeParameter('reference_number', i, '');
|
|
39
|
+
if (referenceNumber && referenceNumber.trim() !== '') {
|
|
40
|
+
params.reference_number = referenceNumber;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
catch {
|
|
44
|
+
}
|
|
45
|
+
return params;
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=run-erp-print-label.constant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-erp-print-label.constant.js","sourceRoot":"","sources":["../../../../nodes/RunERP/constants/run-erp-print-label.constant.ts"],"names":[],"mappings":";;;AAEa,QAAA,gBAAgB,GAAG;IAC5B,OAAO,EAAE;QACL;YACI,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,kFAAkF;YAC/F,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,SAAS,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;SAChF;QACD;YACI,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,kBAAkB;YACxB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,gIAAgI;YAC7I,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,SAAS,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;SAChF;QACD;YACI,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,Q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