@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
|
@@ -429,8 +429,10 @@ declare const schema: {
|
|
|
429
429
|
readonly minimum: 0;
|
|
430
430
|
};
|
|
431
431
|
readonly lcy_currency: {
|
|
432
|
-
readonly $ref: "#/allOf/0/properties/retail_price/oneOf/0/properties/currency";
|
|
433
432
|
readonly title: "LCY Currency";
|
|
433
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
434
|
+
readonly type: "string";
|
|
435
|
+
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"];
|
|
434
436
|
};
|
|
435
437
|
readonly lcy_decimal_places: {
|
|
436
438
|
readonly type: "integer";
|
|
@@ -449,21 +451,129 @@ declare const schema: {
|
|
|
449
451
|
readonly properties: {
|
|
450
452
|
readonly current_cost: {
|
|
451
453
|
readonly oneOf: readonly [{
|
|
452
|
-
readonly $
|
|
454
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
455
|
+
readonly title: "Money";
|
|
456
|
+
readonly type: "object";
|
|
457
|
+
readonly additionalProperties: false;
|
|
458
|
+
readonly properties: {
|
|
459
|
+
readonly value: {
|
|
460
|
+
readonly type: "integer";
|
|
461
|
+
readonly minimum: 0;
|
|
462
|
+
};
|
|
463
|
+
readonly decimal_places: {
|
|
464
|
+
readonly type: "integer";
|
|
465
|
+
readonly minimum: 0;
|
|
466
|
+
readonly maximum: 4;
|
|
467
|
+
};
|
|
468
|
+
readonly currency: {
|
|
469
|
+
readonly title: "Currency";
|
|
470
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
471
|
+
readonly type: "string";
|
|
472
|
+
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"];
|
|
473
|
+
};
|
|
474
|
+
readonly lcy_value: {
|
|
475
|
+
readonly type: "integer";
|
|
476
|
+
readonly minimum: 0;
|
|
477
|
+
};
|
|
478
|
+
readonly lcy_currency: {
|
|
479
|
+
readonly title: "LCY Currency";
|
|
480
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
481
|
+
readonly type: "string";
|
|
482
|
+
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"];
|
|
483
|
+
};
|
|
484
|
+
readonly lcy_decimal_places: {
|
|
485
|
+
readonly type: "integer";
|
|
486
|
+
readonly minimum: 0;
|
|
487
|
+
readonly maximum: 4;
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
453
491
|
}, {
|
|
454
492
|
readonly type: "null";
|
|
455
493
|
}];
|
|
456
494
|
};
|
|
457
495
|
readonly finishing_cost: {
|
|
458
496
|
readonly oneOf: readonly [{
|
|
459
|
-
readonly $
|
|
497
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
498
|
+
readonly title: "Money";
|
|
499
|
+
readonly type: "object";
|
|
500
|
+
readonly additionalProperties: false;
|
|
501
|
+
readonly properties: {
|
|
502
|
+
readonly value: {
|
|
503
|
+
readonly type: "integer";
|
|
504
|
+
readonly minimum: 0;
|
|
505
|
+
};
|
|
506
|
+
readonly decimal_places: {
|
|
507
|
+
readonly type: "integer";
|
|
508
|
+
readonly minimum: 0;
|
|
509
|
+
readonly maximum: 4;
|
|
510
|
+
};
|
|
511
|
+
readonly currency: {
|
|
512
|
+
readonly title: "Currency";
|
|
513
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
514
|
+
readonly type: "string";
|
|
515
|
+
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"];
|
|
516
|
+
};
|
|
517
|
+
readonly lcy_value: {
|
|
518
|
+
readonly type: "integer";
|
|
519
|
+
readonly minimum: 0;
|
|
520
|
+
};
|
|
521
|
+
readonly lcy_currency: {
|
|
522
|
+
readonly title: "LCY Currency";
|
|
523
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
524
|
+
readonly type: "string";
|
|
525
|
+
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"];
|
|
526
|
+
};
|
|
527
|
+
readonly lcy_decimal_places: {
|
|
528
|
+
readonly type: "integer";
|
|
529
|
+
readonly minimum: 0;
|
|
530
|
+
readonly maximum: 4;
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
460
534
|
}, {
|
|
461
535
|
readonly type: "null";
|
|
462
536
|
}];
|
|
463
537
|
};
|
|
464
538
|
readonly other_costs: {
|
|
465
539
|
readonly oneOf: readonly [{
|
|
466
|
-
readonly $
|
|
540
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
541
|
+
readonly title: "Money";
|
|
542
|
+
readonly type: "object";
|
|
543
|
+
readonly additionalProperties: false;
|
|
544
|
+
readonly properties: {
|
|
545
|
+
readonly value: {
|
|
546
|
+
readonly type: "integer";
|
|
547
|
+
readonly minimum: 0;
|
|
548
|
+
};
|
|
549
|
+
readonly decimal_places: {
|
|
550
|
+
readonly type: "integer";
|
|
551
|
+
readonly minimum: 0;
|
|
552
|
+
readonly maximum: 4;
|
|
553
|
+
};
|
|
554
|
+
readonly currency: {
|
|
555
|
+
readonly title: "Currency";
|
|
556
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
557
|
+
readonly type: "string";
|
|
558
|
+
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"];
|
|
559
|
+
};
|
|
560
|
+
readonly lcy_value: {
|
|
561
|
+
readonly type: "integer";
|
|
562
|
+
readonly minimum: 0;
|
|
563
|
+
};
|
|
564
|
+
readonly lcy_currency: {
|
|
565
|
+
readonly title: "LCY Currency";
|
|
566
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
567
|
+
readonly type: "string";
|
|
568
|
+
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"];
|
|
569
|
+
};
|
|
570
|
+
readonly lcy_decimal_places: {
|
|
571
|
+
readonly type: "integer";
|
|
572
|
+
readonly minimum: 0;
|
|
573
|
+
readonly maximum: 4;
|
|
574
|
+
};
|
|
575
|
+
};
|
|
576
|
+
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
467
577
|
}, {
|
|
468
578
|
readonly type: "null";
|
|
469
579
|
}];
|
|
@@ -479,14 +589,86 @@ declare const schema: {
|
|
|
479
589
|
};
|
|
480
590
|
readonly unit_cost: {
|
|
481
591
|
readonly oneOf: readonly [{
|
|
482
|
-
readonly $
|
|
592
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
593
|
+
readonly title: "Money";
|
|
594
|
+
readonly type: "object";
|
|
595
|
+
readonly additionalProperties: false;
|
|
596
|
+
readonly properties: {
|
|
597
|
+
readonly value: {
|
|
598
|
+
readonly type: "integer";
|
|
599
|
+
readonly minimum: 0;
|
|
600
|
+
};
|
|
601
|
+
readonly decimal_places: {
|
|
602
|
+
readonly type: "integer";
|
|
603
|
+
readonly minimum: 0;
|
|
604
|
+
readonly maximum: 4;
|
|
605
|
+
};
|
|
606
|
+
readonly currency: {
|
|
607
|
+
readonly title: "Currency";
|
|
608
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
609
|
+
readonly type: "string";
|
|
610
|
+
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"];
|
|
611
|
+
};
|
|
612
|
+
readonly lcy_value: {
|
|
613
|
+
readonly type: "integer";
|
|
614
|
+
readonly minimum: 0;
|
|
615
|
+
};
|
|
616
|
+
readonly lcy_currency: {
|
|
617
|
+
readonly title: "LCY Currency";
|
|
618
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
619
|
+
readonly type: "string";
|
|
620
|
+
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"];
|
|
621
|
+
};
|
|
622
|
+
readonly lcy_decimal_places: {
|
|
623
|
+
readonly type: "integer";
|
|
624
|
+
readonly minimum: 0;
|
|
625
|
+
readonly maximum: 4;
|
|
626
|
+
};
|
|
627
|
+
};
|
|
628
|
+
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
483
629
|
}, {
|
|
484
630
|
readonly type: "null";
|
|
485
631
|
}];
|
|
486
632
|
};
|
|
487
633
|
readonly last_direct_cost: {
|
|
488
634
|
readonly oneOf: readonly [{
|
|
489
|
-
readonly $
|
|
635
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
636
|
+
readonly title: "Money";
|
|
637
|
+
readonly type: "object";
|
|
638
|
+
readonly additionalProperties: false;
|
|
639
|
+
readonly properties: {
|
|
640
|
+
readonly value: {
|
|
641
|
+
readonly type: "integer";
|
|
642
|
+
readonly minimum: 0;
|
|
643
|
+
};
|
|
644
|
+
readonly decimal_places: {
|
|
645
|
+
readonly type: "integer";
|
|
646
|
+
readonly minimum: 0;
|
|
647
|
+
readonly maximum: 4;
|
|
648
|
+
};
|
|
649
|
+
readonly currency: {
|
|
650
|
+
readonly title: "Currency";
|
|
651
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
652
|
+
readonly type: "string";
|
|
653
|
+
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"];
|
|
654
|
+
};
|
|
655
|
+
readonly lcy_value: {
|
|
656
|
+
readonly type: "integer";
|
|
657
|
+
readonly minimum: 0;
|
|
658
|
+
};
|
|
659
|
+
readonly lcy_currency: {
|
|
660
|
+
readonly title: "LCY Currency";
|
|
661
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
662
|
+
readonly type: "string";
|
|
663
|
+
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"];
|
|
664
|
+
};
|
|
665
|
+
readonly lcy_decimal_places: {
|
|
666
|
+
readonly type: "integer";
|
|
667
|
+
readonly minimum: 0;
|
|
668
|
+
readonly maximum: 4;
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
490
672
|
}, {
|
|
491
673
|
readonly type: "null";
|
|
492
674
|
}];
|
|
@@ -281,28 +281,33 @@ declare const schema: {
|
|
|
281
281
|
readonly type: "string";
|
|
282
282
|
};
|
|
283
283
|
readonly slug: {
|
|
284
|
-
readonly
|
|
284
|
+
readonly type: readonly ["string"];
|
|
285
285
|
};
|
|
286
286
|
readonly style_name: {
|
|
287
|
-
readonly
|
|
287
|
+
readonly type: "string";
|
|
288
288
|
};
|
|
289
289
|
readonly display_name: {
|
|
290
|
-
readonly
|
|
290
|
+
readonly type: readonly ["string"];
|
|
291
291
|
};
|
|
292
292
|
readonly display_type: {
|
|
293
|
-
readonly
|
|
293
|
+
readonly type: "string";
|
|
294
|
+
readonly enum: readonly ["Out-of-stock", "Permanently-unavailable"];
|
|
294
295
|
};
|
|
295
296
|
readonly available_to_sell_from: {
|
|
296
|
-
readonly
|
|
297
|
+
readonly type: readonly ["string", "null"];
|
|
298
|
+
readonly format: "date";
|
|
297
299
|
};
|
|
298
300
|
readonly colour_family_name: {
|
|
299
|
-
readonly
|
|
301
|
+
readonly type: "string";
|
|
300
302
|
};
|
|
301
303
|
readonly colour_name: {
|
|
302
|
-
readonly
|
|
304
|
+
readonly type: "string";
|
|
303
305
|
};
|
|
304
306
|
readonly display_tags: {
|
|
305
|
-
readonly
|
|
307
|
+
readonly type: "array";
|
|
308
|
+
readonly items: {
|
|
309
|
+
readonly type: "string";
|
|
310
|
+
};
|
|
306
311
|
};
|
|
307
312
|
readonly last_online_at: {
|
|
308
313
|
readonly type: readonly ["string", "null"];
|
|
@@ -314,17 +319,109 @@ declare const schema: {
|
|
|
314
319
|
readonly type: "object";
|
|
315
320
|
readonly properties: {
|
|
316
321
|
readonly code: {
|
|
317
|
-
readonly
|
|
322
|
+
readonly type: "string";
|
|
318
323
|
};
|
|
319
324
|
readonly name: {
|
|
320
|
-
readonly
|
|
325
|
+
readonly type: readonly ["string"];
|
|
321
326
|
};
|
|
322
327
|
};
|
|
323
328
|
readonly required: readonly ["code", "name"];
|
|
324
329
|
};
|
|
325
330
|
};
|
|
326
331
|
readonly attributes: {
|
|
327
|
-
readonly
|
|
332
|
+
readonly type: "object";
|
|
333
|
+
readonly properties: {
|
|
334
|
+
readonly stock_quantity_score: {
|
|
335
|
+
readonly type: "number";
|
|
336
|
+
};
|
|
337
|
+
readonly stock_availability: {
|
|
338
|
+
readonly type: "number";
|
|
339
|
+
};
|
|
340
|
+
readonly measurement_chart: {
|
|
341
|
+
readonly type: readonly ["string", "null"];
|
|
342
|
+
};
|
|
343
|
+
readonly sizeguide_type: {
|
|
344
|
+
readonly type: readonly ["string", "null"];
|
|
345
|
+
};
|
|
346
|
+
readonly brand: {
|
|
347
|
+
readonly type: readonly ["string", "null"];
|
|
348
|
+
};
|
|
349
|
+
readonly shoes_type: {
|
|
350
|
+
readonly type: readonly ["string", "null"];
|
|
351
|
+
};
|
|
352
|
+
readonly seo_url_name: {
|
|
353
|
+
readonly type: "string";
|
|
354
|
+
readonly pattern: "^[a-z-]+$";
|
|
355
|
+
};
|
|
356
|
+
readonly seo_title: {
|
|
357
|
+
readonly type: readonly ["string", "null"];
|
|
358
|
+
};
|
|
359
|
+
readonly seo_description: {
|
|
360
|
+
readonly type: readonly ["string", "null"];
|
|
361
|
+
};
|
|
362
|
+
readonly fit_description: {
|
|
363
|
+
readonly type: readonly ["string", "null"];
|
|
364
|
+
};
|
|
365
|
+
readonly fabric_care: {
|
|
366
|
+
readonly type: readonly ["string", "null"];
|
|
367
|
+
};
|
|
368
|
+
readonly weight: {
|
|
369
|
+
readonly type: readonly ["number", "null"];
|
|
370
|
+
};
|
|
371
|
+
readonly main_fibre: {
|
|
372
|
+
readonly type: readonly ["string", "null"];
|
|
373
|
+
};
|
|
374
|
+
readonly main_metal: {
|
|
375
|
+
readonly type: readonly ["string", "null"];
|
|
376
|
+
};
|
|
377
|
+
readonly designer: {
|
|
378
|
+
readonly type: readonly ["string", "null"];
|
|
379
|
+
};
|
|
380
|
+
readonly certificate_code: {
|
|
381
|
+
readonly type: readonly ["string", "null"];
|
|
382
|
+
};
|
|
383
|
+
readonly pattern_name: {
|
|
384
|
+
readonly type: readonly ["string", "null"];
|
|
385
|
+
};
|
|
386
|
+
readonly fit_type: {
|
|
387
|
+
readonly type: readonly ["string", "null"];
|
|
388
|
+
};
|
|
389
|
+
readonly trousers_fit: {
|
|
390
|
+
readonly type: readonly ["string", "null"];
|
|
391
|
+
readonly nullable: true;
|
|
392
|
+
};
|
|
393
|
+
readonly trousers_length: {
|
|
394
|
+
readonly type: readonly ["string", "null"];
|
|
395
|
+
};
|
|
396
|
+
readonly dresses_skirts_length: {
|
|
397
|
+
readonly type: readonly ["string", "null"];
|
|
398
|
+
};
|
|
399
|
+
readonly coats_jackets_type: {
|
|
400
|
+
readonly type: readonly ["string", "null"];
|
|
401
|
+
};
|
|
402
|
+
readonly dresses_skirts_type: {
|
|
403
|
+
readonly type: readonly ["string", "null"];
|
|
404
|
+
};
|
|
405
|
+
readonly bag_type: {
|
|
406
|
+
readonly type: readonly ["string", "null"];
|
|
407
|
+
};
|
|
408
|
+
readonly product_category: {
|
|
409
|
+
readonly type: readonly ["string", "null"];
|
|
410
|
+
};
|
|
411
|
+
readonly product_type: {
|
|
412
|
+
readonly type: readonly ["string", "null"];
|
|
413
|
+
};
|
|
414
|
+
readonly metal: {
|
|
415
|
+
readonly type: readonly ["string", "null"];
|
|
416
|
+
};
|
|
417
|
+
readonly care_instructions: {
|
|
418
|
+
readonly type: "array";
|
|
419
|
+
readonly items: {
|
|
420
|
+
readonly type: "string";
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
readonly required: readonly [];
|
|
328
425
|
};
|
|
329
426
|
};
|
|
330
427
|
readonly required: readonly ["locale", "market"];
|
|
@@ -332,7 +429,7 @@ declare const schema: {
|
|
|
332
429
|
};
|
|
333
430
|
};
|
|
334
431
|
};
|
|
335
|
-
readonly required: readonly ["product_id", "style_id", "
|
|
432
|
+
readonly required: readonly ["product_id", "style_id", "colour_id", "display_name"];
|
|
336
433
|
}, {
|
|
337
434
|
readonly type: "object";
|
|
338
435
|
readonly additionalProperties: false;
|
|
@@ -24,8 +24,10 @@ declare const schema: {
|
|
|
24
24
|
readonly minimum: 0;
|
|
25
25
|
};
|
|
26
26
|
readonly lcy_currency: {
|
|
27
|
-
readonly $ref: "#/properties/currency";
|
|
28
27
|
readonly title: "LCY Currency";
|
|
28
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
29
|
+
readonly type: "string";
|
|
30
|
+
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"];
|
|
29
31
|
};
|
|
30
32
|
readonly lcy_decimal_places: {
|
|
31
33
|
readonly type: "integer";
|
|
@@ -139,7 +139,104 @@ declare const schema: {
|
|
|
139
139
|
};
|
|
140
140
|
};
|
|
141
141
|
readonly default_shipping_address: {
|
|
142
|
-
readonly $
|
|
142
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
143
|
+
readonly title: "Address";
|
|
144
|
+
readonly type: "object";
|
|
145
|
+
readonly additionalProperties: false;
|
|
146
|
+
readonly properties: {
|
|
147
|
+
readonly address_id: {
|
|
148
|
+
readonly type: "string";
|
|
149
|
+
};
|
|
150
|
+
readonly sfcc_customer_id: {
|
|
151
|
+
readonly type: "string";
|
|
152
|
+
};
|
|
153
|
+
readonly sitoo_customer_id: {
|
|
154
|
+
readonly type: "string";
|
|
155
|
+
};
|
|
156
|
+
readonly bc_customer_id: {
|
|
157
|
+
readonly type: "string";
|
|
158
|
+
};
|
|
159
|
+
readonly centra_customer_id: {
|
|
160
|
+
readonly type: "string";
|
|
161
|
+
};
|
|
162
|
+
readonly is_default_billing: {
|
|
163
|
+
readonly type: "boolean";
|
|
164
|
+
};
|
|
165
|
+
readonly is_default_shipping: {
|
|
166
|
+
readonly type: "boolean";
|
|
167
|
+
};
|
|
168
|
+
readonly scv_household_id: {
|
|
169
|
+
readonly type: readonly ["string", "null"];
|
|
170
|
+
};
|
|
171
|
+
readonly is_last_used_shipping: {
|
|
172
|
+
readonly type: "boolean";
|
|
173
|
+
};
|
|
174
|
+
readonly is_retrieved_from_payment_method: {
|
|
175
|
+
readonly type: "boolean";
|
|
176
|
+
};
|
|
177
|
+
readonly opt_in_mail: {
|
|
178
|
+
readonly type: "boolean";
|
|
179
|
+
};
|
|
180
|
+
readonly company_name: {
|
|
181
|
+
readonly type: "string";
|
|
182
|
+
readonly maxLength: 30;
|
|
183
|
+
};
|
|
184
|
+
readonly first_name: {
|
|
185
|
+
readonly type: "string";
|
|
186
|
+
readonly maxLength: 30;
|
|
187
|
+
readonly minLength: 1;
|
|
188
|
+
};
|
|
189
|
+
readonly last_name: {
|
|
190
|
+
readonly type: "string";
|
|
191
|
+
readonly maxLength: 30;
|
|
192
|
+
readonly minLength: 1;
|
|
193
|
+
};
|
|
194
|
+
readonly address1: {
|
|
195
|
+
readonly type: readonly ["string"];
|
|
196
|
+
readonly minLength: 1;
|
|
197
|
+
readonly maxLength: 30;
|
|
198
|
+
};
|
|
199
|
+
readonly address2: {
|
|
200
|
+
readonly type: readonly ["string", "null"];
|
|
201
|
+
readonly maxLength: 30;
|
|
202
|
+
};
|
|
203
|
+
readonly city: {
|
|
204
|
+
readonly type: readonly ["string"];
|
|
205
|
+
readonly maxLength: 30;
|
|
206
|
+
readonly minLength: 1;
|
|
207
|
+
};
|
|
208
|
+
readonly region: {
|
|
209
|
+
readonly type: readonly ["string", "null"];
|
|
210
|
+
readonly maxLength: 30;
|
|
211
|
+
};
|
|
212
|
+
readonly post_code: {
|
|
213
|
+
readonly type: readonly ["string", "null"];
|
|
214
|
+
readonly maxLength: 20;
|
|
215
|
+
readonly pattern: "^[A-Z0-9 ]*$";
|
|
216
|
+
};
|
|
217
|
+
readonly country_code: {
|
|
218
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
219
|
+
readonly title: "Country";
|
|
220
|
+
readonly type: "string";
|
|
221
|
+
readonly enum: readonly ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CD", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"];
|
|
222
|
+
};
|
|
223
|
+
readonly phone: {
|
|
224
|
+
readonly type: readonly ["string", "null"];
|
|
225
|
+
readonly maxLength: 30;
|
|
226
|
+
};
|
|
227
|
+
readonly click_collect_id: {
|
|
228
|
+
readonly type: readonly ["string", "null"];
|
|
229
|
+
};
|
|
230
|
+
readonly created_at: {
|
|
231
|
+
readonly type: "string";
|
|
232
|
+
readonly format: "date-time";
|
|
233
|
+
};
|
|
234
|
+
readonly last_modified_at: {
|
|
235
|
+
readonly type: "string";
|
|
236
|
+
readonly format: "date-time";
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
readonly required: readonly ["first_name", "last_name", "address1", "city", "country_code"];
|
|
143
240
|
};
|
|
144
241
|
readonly phone: {
|
|
145
242
|
readonly type: readonly ["string", "null"];
|