n8n-nodes-synca 1.0.38 → 1.0.39

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 (78) hide show
  1. package/dist/credentials/SyncaApi.credentials.d.ts +10 -10
  2. package/dist/credentials/SyncaApi.credentials.js +62 -62
  3. package/dist/index.js +1 -1
  4. package/dist/nodes/Cashcow/SyncaCashcow.node.d.ts +10 -10
  5. package/dist/nodes/Cashcow/SyncaCashcow.node.js +188 -187
  6. package/dist/nodes/Cashcow/SyncaCashcow.node.js.map +1 -1
  7. package/dist/nodes/Cashcow/constants/cashcow-check-order-tracking.constant.d.ts +17 -17
  8. package/dist/nodes/Cashcow/constants/cashcow-check-order-tracking.constant.js +36 -36
  9. package/dist/nodes/Cashcow/constants/cashcow-create-or-update-product.constant.d.ts +117 -117
  10. package/dist/nodes/Cashcow/constants/cashcow-create-or-update-product.constant.js +249 -249
  11. package/dist/nodes/Cashcow/constants/cashcow-create-or-update-product.constant.js.map +1 -1
  12. package/dist/nodes/Cashcow/constants/cashcow-create-order.constant.d.ts +189 -189
  13. package/dist/nodes/Cashcow/constants/cashcow-create-order.constant.js +448 -448
  14. package/dist/nodes/Cashcow/constants/cashcow-create-order.constant.js.map +1 -1
  15. package/dist/nodes/Cashcow/constants/cashcow-get-store-mailbox.constant.d.ts +46 -46
  16. package/dist/nodes/Cashcow/constants/cashcow-get-store-mailbox.constant.js +165 -165
  17. package/dist/nodes/Cashcow/constants/cashcow-get-store-mailbox.constant.js.map +1 -1
  18. package/dist/nodes/Konimbo/SyncaKonimbo.node.d.ts +10 -10
  19. package/dist/nodes/Konimbo/SyncaKonimbo.node.js +867 -866
  20. package/dist/nodes/Konimbo/SyncaKonimbo.node.js.map +1 -1
  21. package/dist/nodes/Priority/SyncaPriority.node.d.ts +18 -18
  22. package/dist/nodes/Priority/SyncaPriority.node.js +325 -323
  23. package/dist/nodes/Priority/SyncaPriority.node.js.map +1 -1
  24. package/dist/nodes/Priority/constants/methods.d.ts +15 -15
  25. package/dist/nodes/Priority/constants/methods.js +219 -219
  26. package/dist/nodes/Priority/constants/methods.js.map +1 -1
  27. package/dist/nodes/Priority/constants/priority-agents.constant.d.ts +39 -39
  28. package/dist/nodes/Priority/constants/priority-agents.constant.js +113 -113
  29. package/dist/nodes/Priority/constants/priority-agents.constant.js.map +1 -1
  30. package/dist/nodes/Priority/constants/priority-generic.constant.d.ts +158 -158
  31. package/dist/nodes/Priority/constants/priority-generic.constant.js +243 -243
  32. package/dist/nodes/Priority/constants/priority-procedure.constant.d.ts +129 -129
  33. package/dist/nodes/Priority/constants/priority-procedure.constant.js +177 -177
  34. package/dist/nodes/Priority/constants/priority-procedure.constant.js.map +1 -1
  35. package/dist/nodes/Priority/constants/priority-products.constant.d.ts +115 -115
  36. package/dist/nodes/Priority/constants/priority-products.constant.js +239 -213
  37. package/dist/nodes/Priority/constants/priority-products.constant.js.map +1 -1
  38. package/dist/nodes/Priority/constants/priority-purchase-orders.constant.d.ts +158 -158
  39. package/dist/nodes/Priority/constants/priority-purchase-orders.constant.js +217 -217
  40. package/dist/nodes/Priority/constants/priority-purchase-orders.constant.js.map +1 -1
  41. package/dist/nodes/Priority/constants/priority-sales.constant.d.ts +158 -158
  42. package/dist/nodes/Priority/constants/priority-sales.constant.js +382 -382
  43. package/dist/nodes/Priority/constants/priority-sales.constant.js.map +1 -1
  44. package/dist/nodes/PriorityAPI/SyncaPriorityAPI.node.d.ts +10 -10
  45. package/dist/nodes/PriorityAPI/SyncaPriorityAPI.node.js +408 -407
  46. package/dist/nodes/PriorityAPI/SyncaPriorityAPI.node.js.map +1 -1
  47. package/dist/nodes/RunERP/SyncaRunERP.node.d.ts +10 -10
  48. package/dist/nodes/RunERP/SyncaRunERP.node.js +189 -188
  49. package/dist/nodes/RunERP/SyncaRunERP.node.js.map +1 -1
  50. package/dist/nodes/RunERP/constants/run-erp-cancel-shipment.constant.d.ts +5 -5
  51. package/dist/nodes/RunERP/constants/run-erp-cancel-shipment.constant.js +30 -30
  52. package/dist/nodes/RunERP/constants/run-erp-create-shipment.constant.d.ts +5 -5
  53. package/dist/nodes/RunERP/constants/run-erp-create-shipment.constant.js +449 -449
  54. package/dist/nodes/RunERP/constants/run-erp-create-shipment.constant.js.map +1 -1
  55. package/dist/nodes/RunERP/constants/run-erp-get-pickup-points.constant.d.ts +5 -5
  56. package/dist/nodes/RunERP/constants/run-erp-get-pickup-points.constant.js +88 -88
  57. package/dist/nodes/RunERP/constants/run-erp-get-pickup-points.constant.js.map +1 -1
  58. package/dist/nodes/RunERP/constants/run-erp-get-tracking.constant.d.ts +5 -5
  59. package/dist/nodes/RunERP/constants/run-erp-get-tracking.constant.js +79 -79
  60. package/dist/nodes/RunERP/constants/run-erp-get-tracking.constant.js.map +1 -1
  61. package/dist/nodes/RunERP/constants/run-erp-print-label.constant.d.ts +5 -5
  62. package/dist/nodes/RunERP/constants/run-erp-print-label.constant.js +47 -47
  63. package/dist/nodes/RunERP/constants/run-erp-print-label.constant.js.map +1 -1
  64. package/dist/nodes/Superpharm/SyncaSuperpharm.node.d.ts +10 -10
  65. package/dist/nodes/Superpharm/SyncaSuperpharm.node.js +1128 -1127
  66. package/dist/nodes/Superpharm/SyncaSuperpharm.node.js.map +1 -1
  67. package/dist/nodes/Wolt/SyncaWolt.node.d.ts +10 -10
  68. package/dist/nodes/Wolt/SyncaWolt.node.js +956 -955
  69. package/dist/nodes/Wolt/SyncaWolt.node.js.map +1 -1
  70. package/dist/nodes/Wolt/SyncaWoltTrigger.node.d.ts +17 -17
  71. package/dist/nodes/Wolt/SyncaWoltTrigger.node.js +171 -170
  72. package/dist/nodes/Wolt/SyncaWoltTrigger.node.js.map +1 -1
  73. package/dist/nodes/shared/SyncaService.d.ts +21 -21
  74. package/dist/nodes/shared/SyncaService.js +92 -92
  75. package/dist/nodes/shared/SyncaService.js.map +1 -1
  76. package/dist/package.json +75 -75
  77. package/dist/tsconfig.tsbuildinfo +1 -1
  78. package/package.json +1 -1
@@ -1,37 +1,37 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CashcowCheckOrderTracking = void 0;
4
- exports.CashcowCheckOrderTracking = {
5
- declare: [
6
- {
7
- displayName: 'Order ID',
8
- name: 'order_id',
9
- type: 'string',
10
- required: true,
11
- default: '',
12
- description: 'Order ID to track',
13
- displayOptions: { show: { resource: ['store'], operation: ['check_order_tracking'] } },
14
- },
15
- {
16
- displayName: 'Customer Email',
17
- name: 'email_address',
18
- type: 'string',
19
- required: true,
20
- default: '',
21
- description: 'Customer email address associated with the order',
22
- displayOptions: { show: { resource: ['store'], operation: ['check_order_tracking'] } },
23
- },
24
- ],
25
- process: (params, i, getNodeParameter) => {
26
- const orderId = getNodeParameter('order_id', i);
27
- const emailAddress = getNodeParameter('email_address', i);
28
- if (!orderId)
29
- throw new Error('Order ID is required');
30
- if (!emailAddress || emailAddress.trim() === '')
31
- throw new Error('Customer email is required');
32
- params.order_id = orderId;
33
- params.email_address = emailAddress.trim();
34
- return params;
35
- }
36
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CashcowCheckOrderTracking = void 0;
4
+ exports.CashcowCheckOrderTracking = {
5
+ declare: [
6
+ {
7
+ displayName: 'Order ID',
8
+ name: 'order_id',
9
+ type: 'string',
10
+ required: true,
11
+ default: '',
12
+ description: 'Order ID to track',
13
+ displayOptions: { show: { resource: ['store'], operation: ['check_order_tracking'] } },
14
+ },
15
+ {
16
+ displayName: 'Customer Email',
17
+ name: 'email_address',
18
+ type: 'string',
19
+ required: true,
20
+ default: '',
21
+ description: 'Customer email address associated with the order',
22
+ displayOptions: { show: { resource: ['store'], operation: ['check_order_tracking'] } },
23
+ },
24
+ ],
25
+ process: (params, i, getNodeParameter) => {
26
+ const orderId = getNodeParameter('order_id', i);
27
+ const emailAddress = getNodeParameter('email_address', i);
28
+ if (!orderId)
29
+ throw new Error('Order ID is required');
30
+ if (!emailAddress || emailAddress.trim() === '')
31
+ throw new Error('Customer email is required');
32
+ params.order_id = orderId;
33
+ params.email_address = emailAddress.trim();
34
+ return params;
35
+ }
36
+ };
37
37
  //# sourceMappingURL=cashcow-check-order-tracking.constant.js.map
@@ -1,117 +1,117 @@
1
- export declare const CashcowCreateOrUpdateProduct: {
2
- decalre: ({
3
- displayName: string;
4
- name: string;
5
- type: string;
6
- required: boolean;
7
- default: string;
8
- description: string;
9
- displayOptions: {
10
- show: {
11
- resource: string[];
12
- operation: string[];
13
- };
14
- };
15
- options?: undefined;
16
- typeOptions?: undefined;
17
- } | {
18
- displayName: string;
19
- name: string;
20
- type: string;
21
- required: boolean;
22
- default: string;
23
- options: {
24
- name: string;
25
- value: string;
26
- }[];
27
- description: string;
28
- displayOptions: {
29
- show: {
30
- resource: string[];
31
- operation: string[];
32
- };
33
- };
34
- typeOptions?: undefined;
35
- } | {
36
- displayName: string;
37
- name: string;
38
- type: string;
39
- default: boolean;
40
- description: string;
41
- displayOptions: {
42
- show: {
43
- resource: string[];
44
- operation: string[];
45
- };
46
- };
47
- required?: undefined;
48
- options?: undefined;
49
- typeOptions?: undefined;
50
- } | {
51
- displayName: string;
52
- name: string;
53
- type: string;
54
- default: string;
55
- description: string;
56
- displayOptions: {
57
- show: {
58
- resource: string[];
59
- operation: string[];
60
- };
61
- };
62
- required?: undefined;
63
- options?: undefined;
64
- typeOptions?: undefined;
65
- } | {
66
- displayName: string;
67
- name: string;
68
- type: string;
69
- typeOptions: {
70
- rows: number;
71
- };
72
- default: string;
73
- description: string;
74
- displayOptions: {
75
- show: {
76
- resource: string[];
77
- operation: string[];
78
- };
79
- };
80
- required?: undefined;
81
- options?: undefined;
82
- } | {
83
- displayName: string;
84
- name: string;
85
- type: string;
86
- default: number;
87
- description: string;
88
- displayOptions: {
89
- show: {
90
- resource: string[];
91
- operation: string[];
92
- };
93
- };
94
- required?: undefined;
95
- options?: undefined;
96
- typeOptions?: undefined;
97
- } | {
98
- displayName: string;
99
- name: string;
100
- type: string;
101
- default: number;
102
- options: {
103
- name: string;
104
- value: number;
105
- }[];
106
- description: string;
107
- displayOptions: {
108
- show: {
109
- resource: string[];
110
- operation: string[];
111
- };
112
- };
113
- required?: undefined;
114
- typeOptions?: undefined;
115
- })[];
116
- process: (params: any, i: number, getNodeParameter: (parameterName: string, itemIndex: number, fallbackValue?: any) => string | number | boolean | object) => any;
117
- };
1
+ export declare const CashcowCreateOrUpdateProduct: {
2
+ decalre: ({
3
+ displayName: string;
4
+ name: string;
5
+ type: string;
6
+ required: boolean;
7
+ default: string;
8
+ description: string;
9
+ displayOptions: {
10
+ show: {
11
+ resource: string[];
12
+ operation: string[];
13
+ };
14
+ };
15
+ options?: undefined;
16
+ typeOptions?: undefined;
17
+ } | {
18
+ displayName: string;
19
+ name: string;
20
+ type: string;
21
+ required: boolean;
22
+ default: string;
23
+ options: {
24
+ name: string;
25
+ value: string;
26
+ }[];
27
+ description: string;
28
+ displayOptions: {
29
+ show: {
30
+ resource: string[];
31
+ operation: string[];
32
+ };
33
+ };
34
+ typeOptions?: undefined;
35
+ } | {
36
+ displayName: string;
37
+ name: string;
38
+ type: string;
39
+ default: boolean;
40
+ description: string;
41
+ displayOptions: {
42
+ show: {
43
+ resource: string[];
44
+ operation: string[];
45
+ };
46
+ };
47
+ required?: undefined;
48
+ options?: undefined;
49
+ typeOptions?: undefined;
50
+ } | {
51
+ displayName: string;
52
+ name: string;
53
+ type: string;
54
+ default: string;
55
+ description: string;
56
+ displayOptions: {
57
+ show: {
58
+ resource: string[];
59
+ operation: string[];
60
+ };
61
+ };
62
+ required?: undefined;
63
+ options?: undefined;
64
+ typeOptions?: undefined;
65
+ } | {
66
+ displayName: string;
67
+ name: string;
68
+ type: string;
69
+ typeOptions: {
70
+ rows: number;
71
+ };
72
+ default: string;
73
+ description: string;
74
+ displayOptions: {
75
+ show: {
76
+ resource: string[];
77
+ operation: string[];
78
+ };
79
+ };
80
+ required?: undefined;
81
+ options?: undefined;
82
+ } | {
83
+ displayName: string;
84
+ name: string;
85
+ type: string;
86
+ default: number;
87
+ description: string;
88
+ displayOptions: {
89
+ show: {
90
+ resource: string[];
91
+ operation: string[];
92
+ };
93
+ };
94
+ required?: undefined;
95
+ options?: undefined;
96
+ typeOptions?: undefined;
97
+ } | {
98
+ displayName: string;
99
+ name: string;
100
+ type: string;
101
+ default: number;
102
+ options: {
103
+ name: string;
104
+ value: number;
105
+ }[];
106
+ description: string;
107
+ displayOptions: {
108
+ show: {
109
+ resource: string[];
110
+ operation: string[];
111
+ };
112
+ };
113
+ required?: undefined;
114
+ typeOptions?: undefined;
115
+ })[];
116
+ process: (params: any, i: number, getNodeParameter: (parameterName: string, itemIndex: number, fallbackValue?: any) => string | number | boolean | object) => any;
117
+ };