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.
Files changed (62) hide show
  1. package/dist/credentials/SyncaApi.credentials.d.ts +9 -0
  2. package/dist/credentials/SyncaApi.credentials.js +51 -0
  3. package/dist/credentials/SyncaApi.credentials.js.map +1 -0
  4. package/dist/nodes/Cashcow/SyncaCashcow.node.d.ts +10 -0
  5. package/dist/nodes/Cashcow/SyncaCashcow.node.js +185 -0
  6. package/dist/nodes/Cashcow/SyncaCashcow.node.js.map +1 -0
  7. package/dist/nodes/Cashcow/constants/cashcow-check-order-tracking.constant.d.ts +30 -0
  8. package/dist/nodes/Cashcow/constants/cashcow-check-order-tracking.constant.js +37 -0
  9. package/dist/nodes/Cashcow/constants/cashcow-check-order-tracking.constant.js.map +1 -0
  10. package/dist/nodes/Cashcow/constants/cashcow-create-or-update-product.constant.d.ts +117 -0
  11. package/dist/nodes/Cashcow/constants/cashcow-create-or-update-product.constant.js +290 -0
  12. package/dist/nodes/Cashcow/constants/cashcow-create-or-update-product.constant.js.map +1 -0
  13. package/dist/nodes/Cashcow/constants/cashcow-create-order.constant.d.ts +189 -0
  14. package/dist/nodes/Cashcow/constants/cashcow-create-order.constant.js +420 -0
  15. package/dist/nodes/Cashcow/constants/cashcow-create-order.constant.js.map +1 -0
  16. package/dist/nodes/Cashcow/constants/cashcow-get-store-mailbox.constant.d.ts +46 -0
  17. package/dist/nodes/Cashcow/constants/cashcow-get-store-mailbox.constant.js +166 -0
  18. package/dist/nodes/Cashcow/constants/cashcow-get-store-mailbox.constant.js.map +1 -0
  19. package/dist/nodes/Cashcow/icon copy 2.svg +53 -0
  20. package/dist/nodes/Cashcow/icon copy.svg +65 -0
  21. package/dist/nodes/Cashcow/icon.svg +1 -0
  22. package/dist/nodes/Cashcow/last-icon.svg +38 -0
  23. package/dist/nodes/Mirakl/SyncaMirakl.node.d.ts +0 -0
  24. package/dist/nodes/Mirakl/SyncaMirakl.node.js +2 -0
  25. package/dist/nodes/Mirakl/SyncaMirakl.node.js.map +1 -0
  26. package/dist/nodes/OLD_SyncaPriority.node.d.ts +10 -0
  27. package/dist/nodes/OLD_SyncaPriority.node.js +389 -0
  28. package/dist/nodes/OLD_SyncaPriority.node.js.map +1 -0
  29. package/dist/nodes/Priority/SyncaPriority.node.d.ts +18 -0
  30. package/dist/nodes/Priority/SyncaPriority.node.js +313 -0
  31. package/dist/nodes/Priority/SyncaPriority.node.js.map +1 -0
  32. package/dist/nodes/Priority/constants/methods.d.ts +15 -0
  33. package/dist/nodes/Priority/constants/methods.js +299 -0
  34. package/dist/nodes/Priority/constants/methods.js.map +1 -0
  35. package/dist/nodes/Priority/constants/priority-agents.constant.d.ts +39 -0
  36. package/dist/nodes/Priority/constants/priority-agents.constant.js +114 -0
  37. package/dist/nodes/Priority/constants/priority-agents.constant.js.map +1 -0
  38. package/dist/nodes/Priority/constants/priority-generic.constant.d.ts +158 -0
  39. package/dist/nodes/Priority/constants/priority-generic.constant.js +219 -0
  40. package/dist/nodes/Priority/constants/priority-generic.constant.js.map +1 -0
  41. package/dist/nodes/Priority/constants/priority-procedure.constant.d.ts +129 -0
  42. package/dist/nodes/Priority/constants/priority-procedure.constant.js +178 -0
  43. package/dist/nodes/Priority/constants/priority-procedure.constant.js.map +1 -0
  44. package/dist/nodes/Priority/constants/priority-products.constant.d.ts +158 -0
  45. package/dist/nodes/Priority/constants/priority-products.constant.js +209 -0
  46. package/dist/nodes/Priority/constants/priority-products.constant.js.map +1 -0
  47. package/dist/nodes/Priority/constants/priority-purchase-orders.constant.d.ts +158 -0
  48. package/dist/nodes/Priority/constants/priority-purchase-orders.constant.js +218 -0
  49. package/dist/nodes/Priority/constants/priority-purchase-orders.constant.js.map +1 -0
  50. package/dist/nodes/Priority/constants/priority-sales.constant.d.ts +158 -0
  51. package/dist/nodes/Priority/constants/priority-sales.constant.js +383 -0
  52. package/dist/nodes/Priority/constants/priority-sales.constant.js.map +1 -0
  53. package/dist/nodes/Priority/icon.png +0 -0
  54. package/dist/nodes/Priority/icon.svg +1 -0
  55. package/dist/nodes/Superpharm/SyncaSuperpharm.node.d.ts +10 -0
  56. package/dist/nodes/Superpharm/SyncaSuperpharm.node.js +1072 -0
  57. package/dist/nodes/Superpharm/SyncaSuperpharm.node.js.map +1 -0
  58. package/dist/nodes/Superpharm/icon.svg +1 -0
  59. package/dist/nodes/Superpharm/old-icon.svg +22 -0
  60. package/dist/package.json +55 -0
  61. package/dist/tsconfig.tsbuildinfo +1 -0
  62. package/package.json +55 -0
@@ -0,0 +1,290 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CashcowCreateOrUpdateProduct = void 0;
4
+ exports.CashcowCreateOrUpdateProduct = {
5
+ decalre: [
6
+ {
7
+ displayName: 'Product SKU',
8
+ name: 'sku',
9
+ type: 'string',
10
+ required: true,
11
+ default: '',
12
+ description: 'Product SKU (required)',
13
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
14
+ },
15
+ {
16
+ displayName: 'Override Existing Product',
17
+ name: 'is_override_existing_product',
18
+ type: 'options',
19
+ required: true,
20
+ default: 'true',
21
+ options: [
22
+ { name: 'Yes', value: 'true' },
23
+ { name: 'No', value: 'false' },
24
+ ],
25
+ description: 'If SKU exists, override it?',
26
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
27
+ },
28
+ {
29
+ displayName: 'Restore Deleted Items',
30
+ name: 'is_restore_deleted_items',
31
+ type: 'options',
32
+ required: true,
33
+ default: 'true',
34
+ options: [
35
+ { name: 'Yes', value: 'true' },
36
+ { name: 'No', value: 'false' },
37
+ ],
38
+ description: 'Restore deleted product?',
39
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
40
+ },
41
+ {
42
+ displayName: 'Product Visible',
43
+ name: 'is_visible',
44
+ type: 'boolean',
45
+ default: true,
46
+ description: 'Product visible on store?',
47
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
48
+ },
49
+ {
50
+ displayName: 'Product Title',
51
+ name: 'title',
52
+ type: 'string',
53
+ default: '',
54
+ description: 'Product title (required when creating new product)',
55
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
56
+ },
57
+ {
58
+ displayName: 'Main Category Name',
59
+ name: 'main_category_name',
60
+ type: 'string',
61
+ default: '',
62
+ description: 'Product main category name (required when creating new product)',
63
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
64
+ },
65
+ {
66
+ displayName: 'Main Category ID',
67
+ name: 'main_category_id',
68
+ type: 'string',
69
+ default: '',
70
+ description: 'Product main category ID (alternative to category name)',
71
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
72
+ },
73
+ {
74
+ displayName: 'Short Description',
75
+ name: 'short_description',
76
+ type: 'string',
77
+ default: '',
78
+ description: 'Product short description',
79
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
80
+ },
81
+ {
82
+ displayName: 'Long Description',
83
+ name: 'long_description',
84
+ type: 'string',
85
+ typeOptions: {
86
+ rows: 4,
87
+ },
88
+ default: '',
89
+ description: 'Product long description',
90
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
91
+ },
92
+ {
93
+ displayName: 'Quantity',
94
+ name: 'qty',
95
+ type: 'number',
96
+ default: 0,
97
+ description: 'Product quantity (set to null for unlimited)',
98
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
99
+ },
100
+ {
101
+ displayName: 'Quantity Type',
102
+ name: 'qty_type',
103
+ type: 'options',
104
+ default: 0,
105
+ options: [
106
+ { name: 'Units', value: 0 },
107
+ { name: 'Kg', value: 1 },
108
+ { name: 'Grams', value: 2 },
109
+ { name: 'Liter', value: 3 },
110
+ { name: 'Meter', value: 4 },
111
+ { name: 'Cm', value: 5 },
112
+ ],
113
+ description: 'Unit type for quantity',
114
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
115
+ },
116
+ {
117
+ displayName: 'Quantity Jumping Number',
118
+ name: 'qty_jumping_number',
119
+ type: 'number',
120
+ default: 1,
121
+ description: 'Stepping number for non-unit qty types (recommended: 0.5 for Kg, 1 for Units)',
122
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
123
+ },
124
+ {
125
+ displayName: 'Weight',
126
+ name: 'weight',
127
+ type: 'number',
128
+ default: 0,
129
+ description: 'Product weight',
130
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
131
+ },
132
+ {
133
+ displayName: 'No VAT',
134
+ name: 'is_no_vat',
135
+ type: 'boolean',
136
+ default: false,
137
+ description: 'Is this product without VAT?',
138
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
139
+ },
140
+ {
141
+ displayName: 'Images (JSON)',
142
+ name: 'images',
143
+ type: 'json',
144
+ required: false,
145
+ default: `
146
+ {
147
+ "main_image_url": "https://some-domain.dot/path-to-some-image"
148
+ }
149
+ `,
150
+ description: 'Product images object (see API docs for structure)',
151
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
152
+ },
153
+ {
154
+ displayName: 'Prices (JSON)',
155
+ name: 'prices',
156
+ type: 'json',
157
+ default: `
158
+ {
159
+ "sell_price": 10.00,
160
+ "cost_price": 2.65
161
+ }
162
+ `,
163
+ description: 'Product prices object (see API docs for structure)',
164
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
165
+ },
166
+ {
167
+ displayName: 'Force Delete Existing Attributes',
168
+ name: 'is_force_delete_existing_attributes',
169
+ type: 'boolean',
170
+ default: false,
171
+ description: 'Delete existing attributes before adding new ones',
172
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
173
+ },
174
+ {
175
+ displayName: 'Attributes (JSON)',
176
+ name: 'attributes',
177
+ type: 'json',
178
+ required: false,
179
+ default: `
180
+ [
181
+ {
182
+ "name": "",
183
+ "friendly_name": "",
184
+ "internal_identifier": "",
185
+ "attribute_type": 0,
186
+ "is_required": false,
187
+ "options": [
188
+ {
189
+ "name": "",
190
+ "sku": "",
191
+ "qty": 0.00,
192
+ "external_price": 0.00,
193
+ "cost_price": 0.00
194
+ }
195
+ ],
196
+ }
197
+ ]
198
+ `,
199
+ description: 'Product attributes array (see API docs for structure)',
200
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
201
+ },
202
+ {
203
+ displayName: 'Attributes Matrix (JSON)',
204
+ name: 'attributes_matrix',
205
+ type: 'json',
206
+ required: false,
207
+ default: `
208
+ {
209
+ "attribute_a_internal_identifier": "",
210
+ "attribute_b_internal_identifier": "",
211
+ "matrix_options": [
212
+ {
213
+ "to_option_a_text": "",
214
+ "to_option_b_text": "",
215
+ "qty": 0,
216
+ "sku_for_matrix": ""
217
+ }
218
+ ]
219
+ }`,
220
+ description: 'Attach 2 attributes to matrix (see API docs for structure)',
221
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
222
+ },
223
+ {
224
+ displayName: 'Hide Buy Buttons',
225
+ name: 'is_hide_buy_buttons',
226
+ type: 'boolean',
227
+ default: false,
228
+ description: 'Hide buy buttons for this product',
229
+ displayOptions: { show: { resource: ['product'], operation: ['create_or_update_product'] } },
230
+ },
231
+ ],
232
+ process: (params, i, getNodeParameter) => {
233
+ const sku = getNodeParameter('sku', i);
234
+ const isOverrideExisting = getNodeParameter('is_override_existing_product', i);
235
+ const isRestoreDeleted = getNodeParameter('is_restore_deleted_items', i);
236
+ params.sku = sku;
237
+ params.is_override_existing_product = isOverrideExisting;
238
+ params.is_restore_deleted_items = isRestoreDeleted;
239
+ const optionalFields = [
240
+ 'is_visible',
241
+ 'title',
242
+ 'main_category_name',
243
+ 'main_category_id',
244
+ 'short_description',
245
+ 'long_description',
246
+ 'qty',
247
+ 'qty_type',
248
+ 'qty_jumping_number',
249
+ 'weight',
250
+ 'is_no_vat',
251
+ 'is_force_delete_existing_attributes',
252
+ 'is_hide_buy_buttons'
253
+ ];
254
+ optionalFields.forEach(field => {
255
+ try {
256
+ const value = getNodeParameter(field, i, undefined);
257
+ if (value !== '' && value !== null && value !== undefined) {
258
+ params[field] = value;
259
+ }
260
+ }
261
+ catch {
262
+ }
263
+ });
264
+ const jsonFields = ['images', 'prices', 'attributes', 'attributes_matrix'];
265
+ jsonFields.forEach(field => {
266
+ try {
267
+ const jsonValue = getNodeParameter(field, i, undefined);
268
+ if (jsonValue && jsonValue.trim() !== '' && jsonValue !== '{}' && jsonValue !== '[]') {
269
+ try {
270
+ params[field] = JSON.parse(jsonValue);
271
+ }
272
+ catch (parseError) {
273
+ throw new Error(`Invalid JSON in ${field}: ${parseError.message}`);
274
+ }
275
+ }
276
+ }
277
+ catch {
278
+ }
279
+ });
280
+ try {
281
+ const storeId = getNodeParameter('store_id', i, undefined);
282
+ if (storeId !== undefined)
283
+ params.store_id = storeId;
284
+ }
285
+ catch {
286
+ }
287
+ return params;
288
+ }
289
+ };
290
+ //# sourceMappingURL=cashcow-create-or-update-product.constant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cashcow-create-or-update-product.constant.js","sourceRoot":"","sources":["../../../../nodes/Cashcow/constants/cashcow-create-or-update-product.constant.ts"],"names":[],"mappings":";;;AAAa,QAAA,4BAA4B,GAAG;IACxC,OAAO,EAAE;QACL;YACI,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,wBAAwB;YACrC,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC,0BAA0B,CAAC,EAAE,EAAE;SAC/F;QACD;YACI,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,8BAA8B;YACpC,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,MAAM;YAC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D,IAAI,OAAO,KAAK,SAAS;gBAAE,MAAM,CAAC,QAAQ,GAAG,OAAO,CAAC;SACxD;QAAC,MAAM;SAEP;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ,CAAA"}
@@ -0,0 +1,189 @@
1
+ export declare const CashcowCreateOrder: {
2
+ declare: ({
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
+ use_shipping_for_billing?: undefined;
14
+ is_confirm_payment?: undefined;
15
+ };
16
+ };
17
+ placeholder?: undefined;
18
+ options?: undefined;
19
+ typeOptions?: undefined;
20
+ } | {
21
+ displayName: string;
22
+ name: string;
23
+ type: string;
24
+ default: string;
25
+ description: string;
26
+ displayOptions: {
27
+ show: {
28
+ resource: string[];
29
+ operation: string[];
30
+ use_shipping_for_billing?: undefined;
31
+ is_confirm_payment?: undefined;
32
+ };
33
+ };
34
+ required?: undefined;
35
+ placeholder?: undefined;
36
+ options?: undefined;
37
+ typeOptions?: undefined;
38
+ } | {
39
+ displayName: string;
40
+ name: string;
41
+ type: string;
42
+ default: boolean;
43
+ description: string;
44
+ displayOptions: {
45
+ show: {
46
+ resource: string[];
47
+ operation: string[];
48
+ use_shipping_for_billing?: undefined;
49
+ is_confirm_payment?: undefined;
50
+ };
51
+ };
52
+ required?: undefined;
53
+ placeholder?: undefined;
54
+ options?: undefined;
55
+ typeOptions?: undefined;
56
+ } | {
57
+ displayName: string;
58
+ name: string;
59
+ type: string;
60
+ default: string;
61
+ description: string;
62
+ displayOptions: {
63
+ show: {
64
+ resource: string[];
65
+ operation: string[];
66
+ use_shipping_for_billing: boolean[];
67
+ is_confirm_payment?: undefined;
68
+ };
69
+ };
70
+ required?: undefined;
71
+ placeholder?: undefined;
72
+ options?: undefined;
73
+ typeOptions?: undefined;
74
+ } | {
75
+ displayName: string;
76
+ name: string;
77
+ type: string;
78
+ required: boolean;
79
+ default: string;
80
+ description: string;
81
+ placeholder: string;
82
+ displayOptions: {
83
+ show: {
84
+ resource: string[];
85
+ operation: string[];
86
+ use_shipping_for_billing?: undefined;
87
+ is_confirm_payment?: undefined;
88
+ };
89
+ };
90
+ options?: undefined;
91
+ typeOptions?: undefined;
92
+ } | {
93
+ displayName: string;
94
+ name: string;
95
+ type: string;
96
+ default: string;
97
+ options: {
98
+ name: string;
99
+ value: string;
100
+ }[];
101
+ description: string;
102
+ displayOptions: {
103
+ show: {
104
+ resource: string[];
105
+ operation: string[];
106
+ use_shipping_for_billing?: undefined;
107
+ is_confirm_payment?: undefined;
108
+ };
109
+ };
110
+ required?: undefined;
111
+ placeholder?: undefined;
112
+ typeOptions?: undefined;
113
+ } | {
114
+ displayName: string;
115
+ name: string;
116
+ type: string;
117
+ default: number;
118
+ description: string;
119
+ displayOptions: {
120
+ show: {
121
+ resource: string[];
122
+ operation: string[];
123
+ use_shipping_for_billing?: undefined;
124
+ is_confirm_payment?: undefined;
125
+ };
126
+ };
127
+ required?: undefined;
128
+ placeholder?: undefined;
129
+ options?: undefined;
130
+ typeOptions?: undefined;
131
+ } | {
132
+ displayName: string;
133
+ name: string;
134
+ type: string;
135
+ required: boolean;
136
+ default: number;
137
+ description: string;
138
+ displayOptions: {
139
+ show: {
140
+ resource: string[];
141
+ operation: string[];
142
+ use_shipping_for_billing?: undefined;
143
+ is_confirm_payment?: undefined;
144
+ };
145
+ };
146
+ placeholder?: undefined;
147
+ options?: undefined;
148
+ typeOptions?: undefined;
149
+ } | {
150
+ displayName: string;
151
+ name: string;
152
+ type: string;
153
+ typeOptions: {
154
+ rows: number;
155
+ };
156
+ default: string;
157
+ description: string;
158
+ displayOptions: {
159
+ show: {
160
+ resource: string[];
161
+ operation: string[];
162
+ use_shipping_for_billing?: undefined;
163
+ is_confirm_payment?: undefined;
164
+ };
165
+ };
166
+ required?: undefined;
167
+ placeholder?: undefined;
168
+ options?: undefined;
169
+ } | {
170
+ displayName: string;
171
+ name: string;
172
+ type: string;
173
+ default: string;
174
+ description: string;
175
+ displayOptions: {
176
+ show: {
177
+ resource: string[];
178
+ operation: string[];
179
+ is_confirm_payment: boolean[];
180
+ use_shipping_for_billing?: undefined;
181
+ };
182
+ };
183
+ required?: undefined;
184
+ placeholder?: undefined;
185
+ options?: undefined;
186
+ typeOptions?: undefined;
187
+ })[];
188
+ process: (params: any, i: number, getNodeParameter: (parameterName: string, itemIndex: number, fallbackValue?: any) => string | number | boolean | object) => any;
189
+ };