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,383 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PrioritySales = void 0;
|
|
4
|
+
exports.PrioritySales = {
|
|
5
|
+
declare: [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Operation',
|
|
8
|
+
name: 'operation',
|
|
9
|
+
type: 'options',
|
|
10
|
+
noDataExpression: true,
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['sales'],
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
options: [
|
|
17
|
+
{
|
|
18
|
+
name: 'Create Order',
|
|
19
|
+
value: 'create_order',
|
|
20
|
+
description: 'Create a new sales order',
|
|
21
|
+
action: 'Create an order',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'Update Order',
|
|
25
|
+
value: 'update_order',
|
|
26
|
+
description: 'Update a sales order',
|
|
27
|
+
action: 'Update an order',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: 'Search Orders',
|
|
31
|
+
value: 'list_orders',
|
|
32
|
+
description: 'Search in all orders',
|
|
33
|
+
action: 'Search orders',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'Get Order',
|
|
37
|
+
value: 'get_order',
|
|
38
|
+
description: 'Get a specific order',
|
|
39
|
+
action: 'Get an order',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'Create Invoice',
|
|
43
|
+
value: 'create_invoice',
|
|
44
|
+
description: 'Create a new invoice',
|
|
45
|
+
action: 'Create an invoice',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'Update Invoice',
|
|
49
|
+
value: 'update_invoice',
|
|
50
|
+
description: 'Update a invoice',
|
|
51
|
+
action: 'Update an invoice',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'Search Invoices',
|
|
55
|
+
value: 'list_invoices',
|
|
56
|
+
description: 'Search all invoices',
|
|
57
|
+
action: 'Search invoices',
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: 'Get Invoice',
|
|
61
|
+
value: 'get_invoice',
|
|
62
|
+
description: 'Get a specific invoice',
|
|
63
|
+
action: 'Get an invoice',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'Create Customer',
|
|
67
|
+
value: 'create_customer',
|
|
68
|
+
description: 'Create a new customer',
|
|
69
|
+
action: 'Create a customer',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'Update Customer',
|
|
73
|
+
value: 'update_customer',
|
|
74
|
+
description: 'Update a customer',
|
|
75
|
+
action: 'Update a customer',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'Search Customers',
|
|
79
|
+
value: 'list_customers',
|
|
80
|
+
description: 'Search all customers',
|
|
81
|
+
action: 'Search customers',
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: 'Get Customer',
|
|
85
|
+
value: 'get_customer',
|
|
86
|
+
description: 'Get a specific customer',
|
|
87
|
+
action: 'Get a customer',
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
default: 'list_customers',
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
displayName: 'Row Data',
|
|
94
|
+
name: 'rowData',
|
|
95
|
+
type: 'resourceMapper',
|
|
96
|
+
default: { mappingMode: 'defineBelow', value: null },
|
|
97
|
+
required: true,
|
|
98
|
+
displayOptions: {
|
|
99
|
+
show: { resource: ['sales'], operation: ['create_customer', 'create_order', 'create_invoice', 'update_customer', 'update_order', 'update_invoice'] },
|
|
100
|
+
},
|
|
101
|
+
typeOptions: {
|
|
102
|
+
loadOptionsDependsOn: ['operation', 'credentials'],
|
|
103
|
+
refreshOn: ['operation', 'credentials'],
|
|
104
|
+
resourceMapper: {
|
|
105
|
+
resourceMapperMethod: 'getFormFields',
|
|
106
|
+
mode: 'add',
|
|
107
|
+
addAllFields: false,
|
|
108
|
+
fieldWords: { singular: 'field', plural: 'fields' },
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
displayName: 'Customer ID',
|
|
114
|
+
name: 'customerId',
|
|
115
|
+
type: 'string',
|
|
116
|
+
required: true,
|
|
117
|
+
displayOptions: {
|
|
118
|
+
show: {
|
|
119
|
+
resource: ['sales'],
|
|
120
|
+
operation: ['get_customer'],
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
default: '',
|
|
124
|
+
description: 'The customer ID',
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
displayName: 'Order ID',
|
|
128
|
+
name: 'orderId',
|
|
129
|
+
type: 'string',
|
|
130
|
+
required: true,
|
|
131
|
+
displayOptions: {
|
|
132
|
+
show: {
|
|
133
|
+
resource: ['sales'],
|
|
134
|
+
operation: ['get_order'],
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
default: '',
|
|
138
|
+
description: 'The order ID to retrieve',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
displayName: 'Invoice ID',
|
|
142
|
+
name: 'invoiceId',
|
|
143
|
+
type: 'string',
|
|
144
|
+
required: true,
|
|
145
|
+
displayOptions: {
|
|
146
|
+
show: {
|
|
147
|
+
resource: ['sales'],
|
|
148
|
+
operation: ['get_invoice'],
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
default: '',
|
|
152
|
+
description: 'The invoice ID to retrieve',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
displayName: 'Filters',
|
|
156
|
+
name: 'filters',
|
|
157
|
+
type: 'fixedCollection',
|
|
158
|
+
placeholder: 'Add Filter',
|
|
159
|
+
typeOptions: {
|
|
160
|
+
multipleValues: true,
|
|
161
|
+
loadOptionsDependsOn: ['credentials', 'operation'],
|
|
162
|
+
refreshOn: ['credentials', 'operation'],
|
|
163
|
+
},
|
|
164
|
+
default: {},
|
|
165
|
+
displayOptions: {
|
|
166
|
+
show: { resource: ['sales'], operation: ['list_orders', 'list_customers', 'list_invoices'] },
|
|
167
|
+
},
|
|
168
|
+
options: [
|
|
169
|
+
{
|
|
170
|
+
name: 'filter',
|
|
171
|
+
displayName: 'Filter',
|
|
172
|
+
values: [
|
|
173
|
+
{
|
|
174
|
+
displayName: 'Field',
|
|
175
|
+
name: 'field',
|
|
176
|
+
type: 'options',
|
|
177
|
+
typeOptions: {
|
|
178
|
+
loadOptionsMethod: 'getFormFields',
|
|
179
|
+
loadOptionsDependsOn: ['credentials', 'operation'],
|
|
180
|
+
refreshOn: ['credentials', 'operation']
|
|
181
|
+
},
|
|
182
|
+
default: '',
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
displayName: 'Operator',
|
|
186
|
+
name: 'op',
|
|
187
|
+
type: 'options',
|
|
188
|
+
options: [
|
|
189
|
+
{ name: 'Equals', value: 'eq' },
|
|
190
|
+
{ name: 'Not Equals', value: 'neq' },
|
|
191
|
+
{ name: 'Starts With', value: 'startWith' },
|
|
192
|
+
{ name: 'Ends With', value: 'endWith' },
|
|
193
|
+
{ name: 'Contain', value: 'in' },
|
|
194
|
+
{ name: 'Greater Than', value: 'gt' },
|
|
195
|
+
{ name: 'Greater or Equal', value: 'gte' },
|
|
196
|
+
{ name: 'Less Than', value: 'lt' },
|
|
197
|
+
{ name: 'Less or Equal', value: 'lte' },
|
|
198
|
+
],
|
|
199
|
+
default: 'eq',
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
displayName: 'Value',
|
|
203
|
+
name: 'fromval',
|
|
204
|
+
type: 'string',
|
|
205
|
+
default: '',
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
},
|
|
209
|
+
],
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
displayName: 'Return Fields',
|
|
213
|
+
name: 'fields',
|
|
214
|
+
type: 'multiOptions',
|
|
215
|
+
default: [],
|
|
216
|
+
description: 'Leave empty to return all columns, or pick the ones you need.',
|
|
217
|
+
typeOptions: {
|
|
218
|
+
loadOptionsMethod: 'getFormFields',
|
|
219
|
+
loadOptionsDependsOn: ['credentials', 'operation'],
|
|
220
|
+
refreshOn: ['credentials', 'operation'],
|
|
221
|
+
},
|
|
222
|
+
displayOptions: {
|
|
223
|
+
show: { resource: ['sales'], operation: ['list_orders', 'list_customers', 'list_invoices'] },
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
],
|
|
227
|
+
process: (params, i, getNodeParameter) => {
|
|
228
|
+
const cart = {
|
|
229
|
+
Products: [],
|
|
230
|
+
CustomerFields: {},
|
|
231
|
+
DestinationId: 0,
|
|
232
|
+
CustomShipingId: 0,
|
|
233
|
+
IsSelfDelivery: false,
|
|
234
|
+
StoreId: "",
|
|
235
|
+
OrderId: "",
|
|
236
|
+
CuponCode: "",
|
|
237
|
+
ShipingOption: 0,
|
|
238
|
+
ShipingArgs: [],
|
|
239
|
+
CustomerID: "",
|
|
240
|
+
PaymentExternals: [],
|
|
241
|
+
PaymentType: 0,
|
|
242
|
+
LanguageType: "2"
|
|
243
|
+
};
|
|
244
|
+
const customerName = getNodeParameter('customer_name', i);
|
|
245
|
+
const customerEmail = getNodeParameter('customer_email', i);
|
|
246
|
+
const totalAmount = getNodeParameter('total_amount', i);
|
|
247
|
+
if (!customerName)
|
|
248
|
+
throw new Error('Customer name is required');
|
|
249
|
+
if (!customerEmail)
|
|
250
|
+
throw new Error('Customer email is required');
|
|
251
|
+
if (!totalAmount)
|
|
252
|
+
throw new Error('Total amount is required');
|
|
253
|
+
const nameParts = customerName.trim().split(' ');
|
|
254
|
+
cart.CustomerFields.FirstName = nameParts[0] || '';
|
|
255
|
+
cart.CustomerFields.LastName = nameParts.slice(1).join(' ') || '';
|
|
256
|
+
cart.CustomerFields.Email = customerEmail;
|
|
257
|
+
const is_use_shipping_for_billing = getNodeParameter('use_shipping_for_billing', i, false);
|
|
258
|
+
if (is_use_shipping_for_billing) {
|
|
259
|
+
cart.CustomerFields.PaymentFirstName = cart.CustomerFields.FirstName;
|
|
260
|
+
cart.CustomerFields.PaymentLastName = cart.CustomerFields.LastName;
|
|
261
|
+
}
|
|
262
|
+
try {
|
|
263
|
+
const customerPhone = getNodeParameter('customer_phone', i, undefined);
|
|
264
|
+
if (customerPhone && customerPhone.trim() !== '') {
|
|
265
|
+
cart.CustomerFields.Phone = customerPhone;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
catch { }
|
|
269
|
+
try {
|
|
270
|
+
const customerId = getNodeParameter('customer_id', i, undefined);
|
|
271
|
+
if (customerId && customerId.trim() !== '') {
|
|
272
|
+
cart.CustomerID = customerId;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
catch { }
|
|
276
|
+
const addressParts = [];
|
|
277
|
+
try {
|
|
278
|
+
const shippingAddress = getNodeParameter('shipping_address', i, undefined);
|
|
279
|
+
if (shippingAddress && shippingAddress.trim() !== '')
|
|
280
|
+
addressParts.push(shippingAddress);
|
|
281
|
+
}
|
|
282
|
+
catch { }
|
|
283
|
+
try {
|
|
284
|
+
const shippingCity = getNodeParameter('shipping_city', i, undefined);
|
|
285
|
+
if (shippingCity && shippingCity.trim() !== '')
|
|
286
|
+
addressParts.push(shippingCity);
|
|
287
|
+
}
|
|
288
|
+
catch { }
|
|
289
|
+
try {
|
|
290
|
+
const shippingPostalCode = getNodeParameter('shipping_postal_code', i, undefined);
|
|
291
|
+
if (shippingPostalCode && shippingPostalCode.trim() !== '')
|
|
292
|
+
addressParts.push(shippingPostalCode);
|
|
293
|
+
}
|
|
294
|
+
catch { }
|
|
295
|
+
if (addressParts.length > 0) {
|
|
296
|
+
cart.CustomerFields.Address = addressParts.join(', ');
|
|
297
|
+
cart.CustomerFields.City = cart.CustomerFields.Address;
|
|
298
|
+
}
|
|
299
|
+
try {
|
|
300
|
+
const shippingCountry = getNodeParameter('shipping_country', i, undefined);
|
|
301
|
+
if (shippingCountry && shippingCountry.trim() !== '') {
|
|
302
|
+
cart.CustomerFields.CountryId = 103;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
catch { }
|
|
306
|
+
try {
|
|
307
|
+
const productsValue = getNodeParameter('products', i);
|
|
308
|
+
if (productsValue && productsValue.trim() !== '' && productsValue !== '[]') {
|
|
309
|
+
try {
|
|
310
|
+
const inputProducts = JSON.parse(productsValue);
|
|
311
|
+
if (!Array.isArray(inputProducts)) {
|
|
312
|
+
throw new Error('Products must be an array');
|
|
313
|
+
}
|
|
314
|
+
cart.Products = inputProducts.map((product) => ({
|
|
315
|
+
Title: product.Title || product.title || '',
|
|
316
|
+
Price: product.Price || product.price || 0,
|
|
317
|
+
Pid: product.Pid || product.pid || 0,
|
|
318
|
+
SKU: product.SKU || product.sku || '',
|
|
319
|
+
Attrs: product.Attrs || product.attrs || [],
|
|
320
|
+
Qty: product.Qty || product.qty || product.quantity || 1,
|
|
321
|
+
QtyType: product.QtyType || product.qtyType || 0,
|
|
322
|
+
QtyByWeight: product.QtyByWeight || product.qtyByWeight || 0,
|
|
323
|
+
SecondQtyType: product.SecondQtyType || product.secondQtyType || 0
|
|
324
|
+
}));
|
|
325
|
+
}
|
|
326
|
+
catch (parseError) {
|
|
327
|
+
throw new Error(`Invalid JSON in products: ${parseError.message}`);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
else {
|
|
331
|
+
throw new Error('Products array is required for create_order operation');
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
catch (error) {
|
|
335
|
+
throw error;
|
|
336
|
+
}
|
|
337
|
+
try {
|
|
338
|
+
const storeId = getNodeParameter('store_id', i, undefined);
|
|
339
|
+
if (storeId !== undefined) {
|
|
340
|
+
cart.StoreId = storeId;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
catch { }
|
|
344
|
+
try {
|
|
345
|
+
const couponCode = getNodeParameter('coupon_code', i, undefined);
|
|
346
|
+
if (couponCode && couponCode.trim() !== '') {
|
|
347
|
+
cart.CuponCode = couponCode;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
catch { }
|
|
351
|
+
try {
|
|
352
|
+
const orderNotes = getNodeParameter('order_notes', i, undefined);
|
|
353
|
+
if (orderNotes && orderNotes.trim() !== '') {
|
|
354
|
+
cart.CustomerFields.Instroductions = orderNotes;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
catch { }
|
|
358
|
+
params.cart = cart;
|
|
359
|
+
try {
|
|
360
|
+
const isConfirmPayment = getNodeParameter('is_confirm_payment', i, undefined);
|
|
361
|
+
if (isConfirmPayment !== undefined) {
|
|
362
|
+
params.is_confirm_payment = isConfirmPayment;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
catch { }
|
|
366
|
+
try {
|
|
367
|
+
const successUrl = getNodeParameter('success_url', i, undefined);
|
|
368
|
+
if (successUrl && successUrl.trim() !== '') {
|
|
369
|
+
params.success_url = successUrl;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
catch { }
|
|
373
|
+
try {
|
|
374
|
+
const failedUrl = getNodeParameter('failed_url', i, undefined);
|
|
375
|
+
if (failedUrl && failedUrl.trim() !== '') {
|
|
376
|
+
params.failed_url = failedUrl;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
catch { }
|
|
380
|
+
return params;
|
|
381
|
+
}
|
|
382
|
+
};
|
|
383
|
+
//# sourceMappingURL=priority-sales.constant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priority-sales.constant.js","sourceRoot":"","sources":["../../../../nodes/Priority/constants/priority-sales.constant.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IACzB,OAAO,EAAE;QAEL;YACI,WAAW,EAA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