@shushed/helpers 0.0.247 → 0.0.248-main-20260130150622
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/dist-dereferenced/category-tree.js +4 -0
- package/dist/cjs/dist-dereferenced/gift-voucher.js +1 -1
- package/dist/cjs/dist-dereferenced/index.js +3 -1
- 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/dist-types/category-tree.js +2 -0
- package/dist/types/dist-dereferenced/category-tree.d.ts +59 -0
- package/dist/types/dist-dereferenced/gift-voucher.d.ts +1 -3
- package/dist/types/dist-dereferenced/index.d.ts +1 -0
- package/dist/types/dist-dereferenced/messages/order/delivered.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/order/new.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/order/processed.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/order/return-initiated.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/order/returned.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/order/shipped.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/product-draft.d.ts +6 -188
- package/dist/types/dist-dereferenced/messages/product.d.ts +11 -108
- package/dist/types/dist-dereferenced/money.d.ts +1 -3
- package/dist/types/dist-dereferenced/order/customer.d.ts +1 -98
- package/dist/types/dist-dereferenced/order/index.d.ts +244 -2894
- package/dist/types/dist-dereferenced/order/item.d.ts +7 -221
- package/dist/types/dist-dereferenced/order/orderMain.d.ts +244 -2894
- package/dist/types/dist-dereferenced/order/payment.d.ts +1 -3
- package/dist/types/dist-dereferenced/order/shipment/index.d.ts +5 -125
- package/dist/types/dist-dereferenced/order/shipment/pos/index.d.ts +5 -125
- package/dist/types/dist-dereferenced/order/shipment/pos/outbound.d.ts +6 -139
- package/dist/types/dist-dereferenced/order/shipment/pos/posMain.d.ts +5 -125
- package/dist/types/dist-dereferenced/order/shipment/pos/return.d.ts +6 -155
- package/dist/types/dist-dereferenced/order/shipment/shipmentMain.d.ts +5 -125
- package/dist/types/dist-dereferenced/order/shipment/shipped/index.d.ts +5 -125
- package/dist/types/dist-dereferenced/order/shipment/shipped/outbound.d.ts +6 -139
- package/dist/types/dist-dereferenced/order/shipment/shipped/return.d.ts +6 -139
- package/dist/types/dist-dereferenced/order/shipment/shipped/shippedMain.d.ts +5 -125
- package/dist/types/dist-dereferenced/product-draft.d.ts +6 -188
- package/dist/types/dist-dereferenced/product.d.ts +11 -108
- package/dist/types/dist-dereferenced/purchase-orderline.d.ts +1 -3
- package/dist/types/dist-dereferenced/stock-movement.d.ts +1 -3
- package/dist/types/dist-dereferenced/stock.d.ts +1 -3
- package/dist/types/dist-dereferenced/total.d.ts +4 -111
- package/dist/types/dist-types/category-tree.d.ts +14 -0
- package/dist/types/dist-types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -277,33 +277,28 @@ declare const schema: {
|
|
|
277
277
|
readonly type: "string";
|
|
278
278
|
};
|
|
279
279
|
readonly slug: {
|
|
280
|
-
readonly
|
|
280
|
+
readonly $ref: "#/properties/slug";
|
|
281
281
|
};
|
|
282
282
|
readonly style_name: {
|
|
283
|
-
readonly
|
|
283
|
+
readonly $ref: "#/properties/style_name";
|
|
284
284
|
};
|
|
285
285
|
readonly display_name: {
|
|
286
|
-
readonly
|
|
286
|
+
readonly $ref: "#/properties/display_name";
|
|
287
287
|
};
|
|
288
288
|
readonly display_type: {
|
|
289
|
-
readonly
|
|
290
|
-
readonly enum: readonly ["Out-of-stock", "Permanently-unavailable"];
|
|
289
|
+
readonly $ref: "#/properties/display_type";
|
|
291
290
|
};
|
|
292
291
|
readonly available_to_sell_from: {
|
|
293
|
-
readonly
|
|
294
|
-
readonly format: "date";
|
|
292
|
+
readonly $ref: "#/properties/available_to_sell_from";
|
|
295
293
|
};
|
|
296
294
|
readonly colour_family_name: {
|
|
297
|
-
readonly
|
|
295
|
+
readonly $ref: "#/properties/colour_family_name";
|
|
298
296
|
};
|
|
299
297
|
readonly colour_name: {
|
|
300
|
-
readonly
|
|
298
|
+
readonly $ref: "#/properties/colour_name";
|
|
301
299
|
};
|
|
302
300
|
readonly display_tags: {
|
|
303
|
-
readonly
|
|
304
|
-
readonly items: {
|
|
305
|
-
readonly type: "string";
|
|
306
|
-
};
|
|
301
|
+
readonly $ref: "#/properties/display_tags";
|
|
307
302
|
};
|
|
308
303
|
readonly last_online_at: {
|
|
309
304
|
readonly type: readonly ["string", "null"];
|
|
@@ -315,109 +310,17 @@ declare const schema: {
|
|
|
315
310
|
readonly type: "object";
|
|
316
311
|
readonly properties: {
|
|
317
312
|
readonly code: {
|
|
318
|
-
readonly
|
|
313
|
+
readonly $ref: "#/properties/variants/items/properties/code";
|
|
319
314
|
};
|
|
320
315
|
readonly name: {
|
|
321
|
-
readonly
|
|
316
|
+
readonly $ref: "#/properties/variants/items/properties/name";
|
|
322
317
|
};
|
|
323
318
|
};
|
|
324
319
|
readonly required: readonly ["code", "name"];
|
|
325
320
|
};
|
|
326
321
|
};
|
|
327
322
|
readonly attributes: {
|
|
328
|
-
readonly
|
|
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 [];
|
|
323
|
+
readonly $ref: "#/properties/attributes";
|
|
421
324
|
};
|
|
422
325
|
};
|
|
423
326
|
readonly required: readonly ["locale", "market"];
|
|
@@ -91,10 +91,8 @@ 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";
|
|
94
95
|
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"];
|
|
98
96
|
};
|
|
99
97
|
readonly lcy_decimal_places: {
|
|
100
98
|
readonly type: "integer";
|
|
@@ -71,10 +71,8 @@ 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";
|
|
74
75
|
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"];
|
|
78
76
|
};
|
|
79
77
|
readonly lcy_decimal_places: {
|
|
80
78
|
readonly type: "integer";
|
|
@@ -51,10 +51,8 @@ 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";
|
|
54
55
|
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"];
|
|
58
56
|
};
|
|
59
57
|
readonly lcy_decimal_places: {
|
|
60
58
|
readonly type: "integer";
|
|
@@ -29,10 +29,8 @@ declare const schema: {
|
|
|
29
29
|
readonly minimum: 0;
|
|
30
30
|
};
|
|
31
31
|
readonly lcy_currency: {
|
|
32
|
+
readonly $ref: "#/properties/amount_net/properties/currency";
|
|
32
33
|
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"];
|
|
36
34
|
};
|
|
37
35
|
readonly lcy_decimal_places: {
|
|
38
36
|
readonly type: "integer";
|
|
@@ -43,121 +41,16 @@ declare const schema: {
|
|
|
43
41
|
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
44
42
|
};
|
|
45
43
|
readonly amount_gross: {
|
|
44
|
+
readonly $ref: "#/properties/amount_net";
|
|
46
45
|
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"];
|
|
83
46
|
};
|
|
84
47
|
readonly discount_amount_net: {
|
|
48
|
+
readonly $ref: "#/properties/amount_net";
|
|
85
49
|
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"];
|
|
122
50
|
};
|
|
123
51
|
readonly discount_amount_gross: {
|
|
52
|
+
readonly $ref: "#/properties/amount_net";
|
|
124
53
|
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"];
|
|
161
54
|
};
|
|
162
55
|
readonly discount_amount_percent: {
|
|
163
56
|
readonly type: "number";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface __MainSchema {
|
|
2
|
+
children: CategoryNode[];
|
|
3
|
+
}
|
|
4
|
+
export interface CategoryNode {
|
|
5
|
+
id: string;
|
|
6
|
+
branchId: string;
|
|
7
|
+
name: string;
|
|
8
|
+
path: string[];
|
|
9
|
+
parentCategory?: (string | null);
|
|
10
|
+
displayPath?: string;
|
|
11
|
+
pathId: string[];
|
|
12
|
+
children: CategoryNode[];
|
|
13
|
+
}
|
|
14
|
+
export default __MainSchema;
|