@shushed/helpers 0.0.247-fh-20260130141017 → 0.0.247-main-20260130130323
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/cjs/contracts/product.schema.json +1 -1
- package/dist/cjs/dist-dereferenced/gift-voucher.js +1 -1
- package/dist/cjs/dist-dereferenced/index.js +1 -3
- package/dist/cjs/dist-dereferenced/messages/order/delivered.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/new.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/processed.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/return-initiated.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/returned.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/shipped.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/product-draft.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/product.js +1 -1
- package/dist/cjs/dist-dereferenced/money.js +1 -1
- package/dist/cjs/dist-dereferenced/order/customer.js +1 -1
- package/dist/cjs/dist-dereferenced/order/item.js +1 -1
- package/dist/cjs/dist-dereferenced/order/orderMain.js +1 -1
- package/dist/cjs/dist-dereferenced/order/payment.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/pos/outbound.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/pos/posMain.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/pos/return.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipmentMain.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/outbound.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/return.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/shippedMain.js +1 -1
- package/dist/cjs/dist-dereferenced/product-draft.js +1 -1
- package/dist/cjs/dist-dereferenced/product.js +1 -1
- package/dist/cjs/dist-dereferenced/purchase-orderline.js +1 -1
- package/dist/cjs/dist-dereferenced/stock-movement.js +1 -1
- package/dist/cjs/dist-dereferenced/stock.js +1 -1
- package/dist/cjs/dist-dereferenced/total.js +1 -1
- package/dist/cjs/src-public/airtable.js +17 -7
- package/dist/cjs/src-public/env.js +0 -2
- package/dist/cjs/src-public/index.js +3 -2
- package/dist/cjs/src-public/sitoo.js +349 -0
- package/dist/package.json +0 -1
- package/dist/types/dist-dereferenced/gift-voucher.d.ts +3 -1
- package/dist/types/dist-dereferenced/index.d.ts +0 -1
- package/dist/types/dist-dereferenced/messages/order/delivered.d.ts +2903 -253
- package/dist/types/dist-dereferenced/messages/order/new.d.ts +2903 -253
- package/dist/types/dist-dereferenced/messages/order/processed.d.ts +2903 -253
- package/dist/types/dist-dereferenced/messages/order/return-initiated.d.ts +2903 -253
- package/dist/types/dist-dereferenced/messages/order/returned.d.ts +2903 -253
- package/dist/types/dist-dereferenced/messages/order/shipped.d.ts +2903 -253
- package/dist/types/dist-dereferenced/messages/product-draft.d.ts +188 -6
- package/dist/types/dist-dereferenced/messages/product.d.ts +109 -12
- package/dist/types/dist-dereferenced/money.d.ts +3 -1
- package/dist/types/dist-dereferenced/order/customer.d.ts +98 -1
- package/dist/types/dist-dereferenced/order/index.d.ts +2903 -253
- package/dist/types/dist-dereferenced/order/item.d.ts +221 -7
- package/dist/types/dist-dereferenced/order/orderMain.d.ts +2903 -253
- package/dist/types/dist-dereferenced/order/payment.d.ts +3 -1
- package/dist/types/dist-dereferenced/order/shipment/index.d.ts +125 -5
- package/dist/types/dist-dereferenced/order/shipment/pos/index.d.ts +125 -5
- package/dist/types/dist-dereferenced/order/shipment/pos/outbound.d.ts +139 -6
- package/dist/types/dist-dereferenced/order/shipment/pos/posMain.d.ts +125 -5
- package/dist/types/dist-dereferenced/order/shipment/pos/return.d.ts +155 -6
- package/dist/types/dist-dereferenced/order/shipment/shipmentMain.d.ts +125 -5
- package/dist/types/dist-dereferenced/order/shipment/shipped/index.d.ts +125 -5
- package/dist/types/dist-dereferenced/order/shipment/shipped/outbound.d.ts +139 -6
- package/dist/types/dist-dereferenced/order/shipment/shipped/return.d.ts +139 -6
- package/dist/types/dist-dereferenced/order/shipment/shipped/shippedMain.d.ts +125 -5
- package/dist/types/dist-dereferenced/product-draft.d.ts +188 -6
- package/dist/types/dist-dereferenced/product.d.ts +109 -12
- package/dist/types/dist-dereferenced/purchase-orderline.d.ts +3 -1
- package/dist/types/dist-dereferenced/stock-movement.d.ts +3 -1
- package/dist/types/dist-dereferenced/stock.d.ts +3 -1
- package/dist/types/dist-dereferenced/total.d.ts +111 -4
- package/dist/types/dist-types/index.d.ts +0 -1
- package/dist/types/dist-types/messages/product.d.ts +1 -1
- package/dist/types/dist-types/product.d.ts +1 -1
- package/dist/types/src-public/airtable.d.ts +3 -3
- package/dist/types/src-public/index.d.ts +1 -1
- package/dist/types/src-public/sitoo.d.ts +254 -0
- package/package.json +1 -2
- package/dist/cjs/dist-dereferenced/category-tree.js +0 -4
- package/dist/cjs/dist-types/category-tree.js +0 -2
- package/dist/cjs/src-public/fredhopper/fredhopper.base.js +0 -497
- package/dist/cjs/src-public/fredhopper/fredhopper.js +0 -105
- package/dist/cjs/src-public/fredhopper/fredhopper.types.js +0 -10
- package/dist/cjs/src-public/fredhopper/index.js +0 -10
- package/dist/types/dist-dereferenced/category-tree.d.ts +0 -53
- package/dist/types/dist-types/category-tree.d.ts +0 -12
- package/dist/types/src-public/fredhopper/fredhopper.base.d.ts +0 -59
- package/dist/types/src-public/fredhopper/fredhopper.d.ts +0 -21
- package/dist/types/src-public/fredhopper/fredhopper.types.d.ts +0 -70
- package/dist/types/src-public/fredhopper/index.d.ts +0 -2
|
@@ -277,28 +277,33 @@ declare const schema: {
|
|
|
277
277
|
readonly type: "string";
|
|
278
278
|
};
|
|
279
279
|
readonly slug: {
|
|
280
|
-
readonly
|
|
280
|
+
readonly type: readonly ["string"];
|
|
281
281
|
};
|
|
282
282
|
readonly style_name: {
|
|
283
|
-
readonly
|
|
283
|
+
readonly type: "string";
|
|
284
284
|
};
|
|
285
285
|
readonly display_name: {
|
|
286
|
-
readonly
|
|
286
|
+
readonly type: readonly ["string"];
|
|
287
287
|
};
|
|
288
288
|
readonly display_type: {
|
|
289
|
-
readonly
|
|
289
|
+
readonly type: "string";
|
|
290
|
+
readonly enum: readonly ["Out-of-stock", "Permanently-unavailable"];
|
|
290
291
|
};
|
|
291
292
|
readonly available_to_sell_from: {
|
|
292
|
-
readonly
|
|
293
|
+
readonly type: readonly ["string", "null"];
|
|
294
|
+
readonly format: "date";
|
|
293
295
|
};
|
|
294
296
|
readonly colour_family_name: {
|
|
295
|
-
readonly
|
|
297
|
+
readonly type: "string";
|
|
296
298
|
};
|
|
297
299
|
readonly colour_name: {
|
|
298
|
-
readonly
|
|
300
|
+
readonly type: "string";
|
|
299
301
|
};
|
|
300
302
|
readonly display_tags: {
|
|
301
|
-
readonly
|
|
303
|
+
readonly type: "array";
|
|
304
|
+
readonly items: {
|
|
305
|
+
readonly type: "string";
|
|
306
|
+
};
|
|
302
307
|
};
|
|
303
308
|
readonly last_online_at: {
|
|
304
309
|
readonly type: readonly ["string", "null"];
|
|
@@ -310,17 +315,109 @@ declare const schema: {
|
|
|
310
315
|
readonly type: "object";
|
|
311
316
|
readonly properties: {
|
|
312
317
|
readonly code: {
|
|
313
|
-
readonly
|
|
318
|
+
readonly type: "string";
|
|
314
319
|
};
|
|
315
320
|
readonly name: {
|
|
316
|
-
readonly
|
|
321
|
+
readonly type: readonly ["string"];
|
|
317
322
|
};
|
|
318
323
|
};
|
|
319
324
|
readonly required: readonly ["code", "name"];
|
|
320
325
|
};
|
|
321
326
|
};
|
|
322
327
|
readonly attributes: {
|
|
323
|
-
readonly
|
|
328
|
+
readonly type: "object";
|
|
329
|
+
readonly properties: {
|
|
330
|
+
readonly stock_quantity_score: {
|
|
331
|
+
readonly type: "number";
|
|
332
|
+
};
|
|
333
|
+
readonly stock_availability: {
|
|
334
|
+
readonly type: "number";
|
|
335
|
+
};
|
|
336
|
+
readonly measurement_chart: {
|
|
337
|
+
readonly type: readonly ["string", "null"];
|
|
338
|
+
};
|
|
339
|
+
readonly sizeguide_type: {
|
|
340
|
+
readonly type: readonly ["string", "null"];
|
|
341
|
+
};
|
|
342
|
+
readonly brand: {
|
|
343
|
+
readonly type: readonly ["string", "null"];
|
|
344
|
+
};
|
|
345
|
+
readonly shoes_type: {
|
|
346
|
+
readonly type: readonly ["string", "null"];
|
|
347
|
+
};
|
|
348
|
+
readonly seo_url_name: {
|
|
349
|
+
readonly type: "string";
|
|
350
|
+
readonly pattern: "^[a-z-]+$";
|
|
351
|
+
};
|
|
352
|
+
readonly seo_title: {
|
|
353
|
+
readonly type: readonly ["string", "null"];
|
|
354
|
+
};
|
|
355
|
+
readonly seo_description: {
|
|
356
|
+
readonly type: readonly ["string", "null"];
|
|
357
|
+
};
|
|
358
|
+
readonly fit_description: {
|
|
359
|
+
readonly type: readonly ["string", "null"];
|
|
360
|
+
};
|
|
361
|
+
readonly fabric_care: {
|
|
362
|
+
readonly type: readonly ["string", "null"];
|
|
363
|
+
};
|
|
364
|
+
readonly weight: {
|
|
365
|
+
readonly type: readonly ["number", "null"];
|
|
366
|
+
};
|
|
367
|
+
readonly main_fibre: {
|
|
368
|
+
readonly type: readonly ["string", "null"];
|
|
369
|
+
};
|
|
370
|
+
readonly main_metal: {
|
|
371
|
+
readonly type: readonly ["string", "null"];
|
|
372
|
+
};
|
|
373
|
+
readonly designer: {
|
|
374
|
+
readonly type: readonly ["string", "null"];
|
|
375
|
+
};
|
|
376
|
+
readonly certificate_code: {
|
|
377
|
+
readonly type: readonly ["string", "null"];
|
|
378
|
+
};
|
|
379
|
+
readonly pattern_name: {
|
|
380
|
+
readonly type: readonly ["string", "null"];
|
|
381
|
+
};
|
|
382
|
+
readonly fit_type: {
|
|
383
|
+
readonly type: readonly ["string", "null"];
|
|
384
|
+
};
|
|
385
|
+
readonly trousers_fit: {
|
|
386
|
+
readonly type: readonly ["string", "null"];
|
|
387
|
+
readonly nullable: true;
|
|
388
|
+
};
|
|
389
|
+
readonly trousers_length: {
|
|
390
|
+
readonly type: readonly ["string", "null"];
|
|
391
|
+
};
|
|
392
|
+
readonly dresses_skirts_length: {
|
|
393
|
+
readonly type: readonly ["string", "null"];
|
|
394
|
+
};
|
|
395
|
+
readonly coats_jackets_type: {
|
|
396
|
+
readonly type: readonly ["string", "null"];
|
|
397
|
+
};
|
|
398
|
+
readonly dresses_skirts_type: {
|
|
399
|
+
readonly type: readonly ["string", "null"];
|
|
400
|
+
};
|
|
401
|
+
readonly bag_type: {
|
|
402
|
+
readonly type: readonly ["string", "null"];
|
|
403
|
+
};
|
|
404
|
+
readonly product_category: {
|
|
405
|
+
readonly type: readonly ["string", "null"];
|
|
406
|
+
};
|
|
407
|
+
readonly product_type: {
|
|
408
|
+
readonly type: readonly ["string", "null"];
|
|
409
|
+
};
|
|
410
|
+
readonly metal: {
|
|
411
|
+
readonly type: readonly ["string", "null"];
|
|
412
|
+
};
|
|
413
|
+
readonly care_instructions: {
|
|
414
|
+
readonly type: "array";
|
|
415
|
+
readonly items: {
|
|
416
|
+
readonly type: "string";
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
readonly required: readonly [];
|
|
324
421
|
};
|
|
325
422
|
};
|
|
326
423
|
readonly required: readonly ["locale", "market"];
|
|
@@ -328,7 +425,7 @@ declare const schema: {
|
|
|
328
425
|
};
|
|
329
426
|
};
|
|
330
427
|
};
|
|
331
|
-
readonly required: readonly ["product_id", "style_id", "
|
|
428
|
+
readonly required: readonly ["product_id", "style_id", "colour_id", "display_name"];
|
|
332
429
|
readonly $id: "https://shushed.example.com/product.schema.json";
|
|
333
430
|
};
|
|
334
431
|
export default schema;
|
|
@@ -91,8 +91,10 @@ declare const schema: {
|
|
|
91
91
|
readonly minimum: 0;
|
|
92
92
|
};
|
|
93
93
|
readonly lcy_currency: {
|
|
94
|
-
readonly $ref: "#/properties/unit_price/oneOf/0/properties/currency";
|
|
95
94
|
readonly title: "LCY Currency";
|
|
95
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
96
|
+
readonly type: "string";
|
|
97
|
+
readonly enum: readonly ["AFN", "ALL", "DZD", "USD", "EUR", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "BTN", "INR", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLF", "CLP", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUC", "CUP", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "XDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "XUA", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "MKD", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLE", "SGD", "XSU", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SZL", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYI", "UYU", "UZS", "VUV", "VEF", "VED", "VND", "YER", "ZMW", "ZWL"];
|
|
96
98
|
};
|
|
97
99
|
readonly lcy_decimal_places: {
|
|
98
100
|
readonly type: "integer";
|
|
@@ -71,8 +71,10 @@ declare const schema: {
|
|
|
71
71
|
readonly minimum: 0;
|
|
72
72
|
};
|
|
73
73
|
readonly lcy_currency: {
|
|
74
|
-
readonly $ref: "#/properties/unit_cost/oneOf/0/properties/currency";
|
|
75
74
|
readonly title: "LCY Currency";
|
|
75
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
76
|
+
readonly type: "string";
|
|
77
|
+
readonly enum: readonly ["AFN", "ALL", "DZD", "USD", "EUR", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "BTN", "INR", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLF", "CLP", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUC", "CUP", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "XDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "XUA", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "MKD", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLE", "SGD", "XSU", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SZL", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYI", "UYU", "UZS", "VUV", "VEF", "VED", "VND", "YER", "ZMW", "ZWL"];
|
|
76
78
|
};
|
|
77
79
|
readonly lcy_decimal_places: {
|
|
78
80
|
readonly type: "integer";
|
|
@@ -51,8 +51,10 @@ declare const schema: {
|
|
|
51
51
|
readonly minimum: 0;
|
|
52
52
|
};
|
|
53
53
|
readonly lcy_currency: {
|
|
54
|
-
readonly $ref: "#/properties/unit_cost/oneOf/0/properties/currency";
|
|
55
54
|
readonly title: "LCY Currency";
|
|
55
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
56
|
+
readonly type: "string";
|
|
57
|
+
readonly enum: readonly ["AFN", "ALL", "DZD", "USD", "EUR", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "BTN", "INR", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLF", "CLP", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUC", "CUP", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "XDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "XUA", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "MKD", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLE", "SGD", "XSU", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SZL", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYI", "UYU", "UZS", "VUV", "VEF", "VED", "VND", "YER", "ZMW", "ZWL"];
|
|
56
58
|
};
|
|
57
59
|
readonly lcy_decimal_places: {
|
|
58
60
|
readonly type: "integer";
|
|
@@ -29,8 +29,10 @@ declare const schema: {
|
|
|
29
29
|
readonly minimum: 0;
|
|
30
30
|
};
|
|
31
31
|
readonly lcy_currency: {
|
|
32
|
-
readonly $ref: "#/properties/amount_net/properties/currency";
|
|
33
32
|
readonly title: "LCY Currency";
|
|
33
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
34
|
+
readonly type: "string";
|
|
35
|
+
readonly enum: readonly ["AFN", "ALL", "DZD", "USD", "EUR", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "BTN", "INR", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLF", "CLP", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUC", "CUP", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "XDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "XUA", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "MKD", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLE", "SGD", "XSU", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SZL", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYI", "UYU", "UZS", "VUV", "VEF", "VED", "VND", "YER", "ZMW", "ZWL"];
|
|
34
36
|
};
|
|
35
37
|
readonly lcy_decimal_places: {
|
|
36
38
|
readonly type: "integer";
|
|
@@ -41,16 +43,121 @@ declare const schema: {
|
|
|
41
43
|
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
42
44
|
};
|
|
43
45
|
readonly amount_gross: {
|
|
44
|
-
readonly $ref: "#/properties/amount_net";
|
|
45
46
|
readonly title: "Amount gross";
|
|
47
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
48
|
+
readonly type: "object";
|
|
49
|
+
readonly additionalProperties: false;
|
|
50
|
+
readonly properties: {
|
|
51
|
+
readonly value: {
|
|
52
|
+
readonly type: "integer";
|
|
53
|
+
readonly minimum: 0;
|
|
54
|
+
};
|
|
55
|
+
readonly decimal_places: {
|
|
56
|
+
readonly type: "integer";
|
|
57
|
+
readonly minimum: 0;
|
|
58
|
+
readonly maximum: 4;
|
|
59
|
+
};
|
|
60
|
+
readonly currency: {
|
|
61
|
+
readonly title: "Currency";
|
|
62
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
63
|
+
readonly type: "string";
|
|
64
|
+
readonly enum: readonly ["AFN", "ALL", "DZD", "USD", "EUR", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "BTN", "INR", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLF", "CLP", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUC", "CUP", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "XDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "XUA", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "MKD", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLE", "SGD", "XSU", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SZL", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYI", "UYU", "UZS", "VUV", "VEF", "VED", "VND", "YER", "ZMW", "ZWL"];
|
|
65
|
+
};
|
|
66
|
+
readonly lcy_value: {
|
|
67
|
+
readonly type: "integer";
|
|
68
|
+
readonly minimum: 0;
|
|
69
|
+
};
|
|
70
|
+
readonly lcy_currency: {
|
|
71
|
+
readonly title: "LCY Currency";
|
|
72
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
73
|
+
readonly type: "string";
|
|
74
|
+
readonly enum: readonly ["AFN", "ALL", "DZD", "USD", "EUR", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "BTN", "INR", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLF", "CLP", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUC", "CUP", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "XDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "XUA", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "MKD", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLE", "SGD", "XSU", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SZL", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYI", "UYU", "UZS", "VUV", "VEF", "VED", "VND", "YER", "ZMW", "ZWL"];
|
|
75
|
+
};
|
|
76
|
+
readonly lcy_decimal_places: {
|
|
77
|
+
readonly type: "integer";
|
|
78
|
+
readonly minimum: 0;
|
|
79
|
+
readonly maximum: 4;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
46
83
|
};
|
|
47
84
|
readonly discount_amount_net: {
|
|
48
|
-
readonly $ref: "#/properties/amount_net";
|
|
49
85
|
readonly title: "Discount Amount Net";
|
|
86
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
87
|
+
readonly type: "object";
|
|
88
|
+
readonly additionalProperties: false;
|
|
89
|
+
readonly properties: {
|
|
90
|
+
readonly value: {
|
|
91
|
+
readonly type: "integer";
|
|
92
|
+
readonly minimum: 0;
|
|
93
|
+
};
|
|
94
|
+
readonly decimal_places: {
|
|
95
|
+
readonly type: "integer";
|
|
96
|
+
readonly minimum: 0;
|
|
97
|
+
readonly maximum: 4;
|
|
98
|
+
};
|
|
99
|
+
readonly currency: {
|
|
100
|
+
readonly title: "Currency";
|
|
101
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
102
|
+
readonly type: "string";
|
|
103
|
+
readonly enum: readonly ["AFN", "ALL", "DZD", "USD", "EUR", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "BTN", "INR", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLF", "CLP", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUC", "CUP", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "XDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "XUA", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "MKD", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLE", "SGD", "XSU", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SZL", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYI", "UYU", "UZS", "VUV", "VEF", "VED", "VND", "YER", "ZMW", "ZWL"];
|
|
104
|
+
};
|
|
105
|
+
readonly lcy_value: {
|
|
106
|
+
readonly type: "integer";
|
|
107
|
+
readonly minimum: 0;
|
|
108
|
+
};
|
|
109
|
+
readonly lcy_currency: {
|
|
110
|
+
readonly title: "LCY Currency";
|
|
111
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
112
|
+
readonly type: "string";
|
|
113
|
+
readonly enum: readonly ["AFN", "ALL", "DZD", "USD", "EUR", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "BTN", "INR", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLF", "CLP", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUC", "CUP", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "XDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "XUA", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "MKD", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLE", "SGD", "XSU", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SZL", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYI", "UYU", "UZS", "VUV", "VEF", "VED", "VND", "YER", "ZMW", "ZWL"];
|
|
114
|
+
};
|
|
115
|
+
readonly lcy_decimal_places: {
|
|
116
|
+
readonly type: "integer";
|
|
117
|
+
readonly minimum: 0;
|
|
118
|
+
readonly maximum: 4;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
50
122
|
};
|
|
51
123
|
readonly discount_amount_gross: {
|
|
52
|
-
readonly $ref: "#/properties/amount_net";
|
|
53
124
|
readonly title: "Discount Amount Gross";
|
|
125
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
126
|
+
readonly type: "object";
|
|
127
|
+
readonly additionalProperties: false;
|
|
128
|
+
readonly properties: {
|
|
129
|
+
readonly value: {
|
|
130
|
+
readonly type: "integer";
|
|
131
|
+
readonly minimum: 0;
|
|
132
|
+
};
|
|
133
|
+
readonly decimal_places: {
|
|
134
|
+
readonly type: "integer";
|
|
135
|
+
readonly minimum: 0;
|
|
136
|
+
readonly maximum: 4;
|
|
137
|
+
};
|
|
138
|
+
readonly currency: {
|
|
139
|
+
readonly title: "Currency";
|
|
140
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
141
|
+
readonly type: "string";
|
|
142
|
+
readonly enum: readonly ["AFN", "ALL", "DZD", "USD", "EUR", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "BTN", "INR", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLF", "CLP", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUC", "CUP", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "XDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "XUA", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "MKD", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLE", "SGD", "XSU", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SZL", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYI", "UYU", "UZS", "VUV", "VEF", "VED", "VND", "YER", "ZMW", "ZWL"];
|
|
143
|
+
};
|
|
144
|
+
readonly lcy_value: {
|
|
145
|
+
readonly type: "integer";
|
|
146
|
+
readonly minimum: 0;
|
|
147
|
+
};
|
|
148
|
+
readonly lcy_currency: {
|
|
149
|
+
readonly title: "LCY Currency";
|
|
150
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
151
|
+
readonly type: "string";
|
|
152
|
+
readonly enum: readonly ["AFN", "ALL", "DZD", "USD", "EUR", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "BTN", "INR", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLF", "CLP", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUC", "CUP", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "XDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "XUA", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "MKD", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLE", "SGD", "XSU", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SZL", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYI", "UYU", "UZS", "VUV", "VEF", "VED", "VND", "YER", "ZMW", "ZWL"];
|
|
153
|
+
};
|
|
154
|
+
readonly lcy_decimal_places: {
|
|
155
|
+
readonly type: "integer";
|
|
156
|
+
readonly minimum: 0;
|
|
157
|
+
readonly maximum: 4;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
54
161
|
};
|
|
55
162
|
readonly discount_amount_percent: {
|
|
56
163
|
readonly type: "number";
|
|
@@ -12,6 +12,7 @@ declare class AirtableHelper<T extends Record<string, string>, K extends keyof T
|
|
|
12
12
|
dictionary: T;
|
|
13
13
|
primaryKeyFieldName: K;
|
|
14
14
|
primaryKeyWritable: boolean;
|
|
15
|
+
viewId?: string;
|
|
15
16
|
constructor(opts: RuntimeOpts, airtableOpts: {
|
|
16
17
|
baseId: string;
|
|
17
18
|
tableId: string;
|
|
@@ -19,11 +20,10 @@ declare class AirtableHelper<T extends Record<string, string>, K extends keyof T
|
|
|
19
20
|
dictionary: T;
|
|
20
21
|
primaryKeyFieldName: K;
|
|
21
22
|
primaryKeyWritable?: boolean;
|
|
23
|
+
viewId?: string;
|
|
22
24
|
});
|
|
23
25
|
static translateFields<T extends Record<string, string>, S extends {
|
|
24
|
-
fields:
|
|
25
|
-
[key in T[keyof T]]: any;
|
|
26
|
-
};
|
|
26
|
+
fields: Record<string, any>;
|
|
27
27
|
}>(dictionary: T, y: S): S & {
|
|
28
28
|
fields: {
|
|
29
29
|
[key in keyof T]: any;
|
|
@@ -17,4 +17,4 @@ export { default as setHeaders } from './setHeaders';
|
|
|
17
17
|
export { type CentraError, type CentraErrors, type BasicCentraCountry, type BasicCentraMarket, type BasicCentraSizeChart, type BasicPricelist, type BasicCentraWarehouse, type BasicCentraCampaign, type BasicCentraProduct, type BasicCentraVariant, type BasicCentraDisplay } from './centra';
|
|
18
18
|
export { default as RateLimit, RedisConnectionError } from './rateLimit';
|
|
19
19
|
export { type TriggerOnCreateOptions, type TriggerOnExecuteOptions, type NodeOptions, type RNConfiguration, type TriggerExtraOptions } from './types';
|
|
20
|
-
export
|
|
20
|
+
export { default as SitooHelper, type UnitCost, type StockMovementInput, type BasicSitooWarehouse, type BasicSitooStore, type BasicWarehouseTransaction, type WarehouseTransactionEnvelope, type WarehouseTransactionSyncOptions } from './sitoo';
|