@shushed/helpers 0.0.200-runtime-url-fix-20251125155626 → 0.0.200-runtime-url-fix2-20251125155916

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/cjs/dist-dereferenced/messages/order/delivered.js +1 -1
  2. package/dist/cjs/dist-dereferenced/messages/order/new.js +1 -1
  3. package/dist/cjs/dist-dereferenced/messages/order/processed.js +1 -1
  4. package/dist/cjs/dist-dereferenced/messages/order/return-initiated.js +1 -1
  5. package/dist/cjs/dist-dereferenced/messages/order/returned.js +1 -1
  6. package/dist/cjs/dist-dereferenced/messages/order/shipped.js +1 -1
  7. package/dist/cjs/dist-dereferenced/messages/price-change.js +1 -1
  8. package/dist/cjs/dist-dereferenced/order/orderMain.js +1 -1
  9. package/dist/cjs/dist-dereferenced/order/payment.js +1 -1
  10. package/dist/cjs/dist-dereferenced/order/shipment/pos/outbound.js +1 -1
  11. package/dist/cjs/dist-dereferenced/order/shipment/pos/return.js +1 -1
  12. package/dist/cjs/dist-dereferenced/price.js +1 -1
  13. package/dist/cjs/src-public/airtable.js +54 -26
  14. package/dist/cjs/src-public/dato.js +8 -385
  15. package/dist/cjs/src-public/runtime.js +2 -2
  16. package/dist/cjs/src-public/utils.js +119 -1
  17. package/dist/types/dist-dereferenced/messages/order/delivered.d.ts +5 -23
  18. package/dist/types/dist-dereferenced/messages/order/new.d.ts +5 -23
  19. package/dist/types/dist-dereferenced/messages/order/processed.d.ts +5 -23
  20. package/dist/types/dist-dereferenced/messages/order/return-initiated.d.ts +5 -23
  21. package/dist/types/dist-dereferenced/messages/order/returned.d.ts +5 -23
  22. package/dist/types/dist-dereferenced/messages/order/shipped.d.ts +5 -23
  23. package/dist/types/dist-dereferenced/messages/price-change.d.ts +29 -20
  24. package/dist/types/dist-dereferenced/order/index.d.ts +5 -23
  25. package/dist/types/dist-dereferenced/order/orderMain.d.ts +5 -23
  26. package/dist/types/dist-dereferenced/order/payment.d.ts +0 -16
  27. package/dist/types/dist-dereferenced/order/shipment/pos/outbound.d.ts +1 -0
  28. package/dist/types/dist-dereferenced/order/shipment/pos/return.d.ts +1 -0
  29. package/dist/types/dist-dereferenced/price.d.ts +29 -20
  30. package/dist/types/dist-types/messages/order/delivered.d.ts +1 -7
  31. package/dist/types/dist-types/messages/order/new.d.ts +1 -7
  32. package/dist/types/dist-types/messages/order/processed.d.ts +1 -7
  33. package/dist/types/dist-types/messages/order/return-initiated.d.ts +1 -7
  34. package/dist/types/dist-types/messages/order/returned.d.ts +1 -7
  35. package/dist/types/dist-types/messages/order/shipped.d.ts +1 -7
  36. package/dist/types/dist-types/messages/price-change.d.ts +6 -5
  37. package/dist/types/dist-types/order/orderMain.d.ts +1 -7
  38. package/dist/types/dist-types/order/payment.d.ts +0 -4
  39. package/dist/types/dist-types/price.d.ts +6 -5
  40. package/dist/types/src-public/airtable.d.ts +1 -1
  41. package/dist/types/src-public/dato.d.ts +0 -33
  42. package/dist/types/src-public/utils.d.ts +34 -0
  43. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const schema = { "$schema": "http://json-schema.org/draft-07/schema#", "title": "PriceChange", "additionalProperties": false, "allOf": [{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Price", "type": "object", "additionalProperties": false, "properties": { "style_id": { "type": ["string", "null"] }, "colour_id": { "type": ["string", "null"] }, "pricelist_code": { "type": "string" }, "full_price": { "type": "integer", "minimum": 0 }, "markdown": { "type": "integer", "minimum": 0 }, "pos": { "type": "integer", "minimum": 0 }, "currency": { "title": "Currency", "$schema": "http://json-schema.org/draft-07/schema#", "type": "string", "enum": ["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"] }, "effective_from": { "type": "string", "format": "date-time" }, "effective_until": { "type": "string", "format": "date-time" }, "channel": { "type": "string" } }, "required": ["style_id", "colour_id", "pricelist_code", "full_price", "markdown", "pos", "currency", "effective_from", "channel"] }, { "type": "object", "additionalProperties": false, "required": ["style_id", "colour_id", "full_price", "markdown", "pos", "currency", "effective_from", "channel"] }], "$id": "https://shushed.example.com/messages/price-change.schema.json" };
3
+ const schema = { "$schema": "http://json-schema.org/draft-07/schema#", "title": "PriceChange", "additionalProperties": false, "allOf": [{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Price", "type": "object", "additionalProperties": false, "properties": { "style_id": { "type": ["string", "null"] }, "colour_id": { "type": ["string", "null"] }, "pricelist_code": { "type": "string" }, "price_changes": { "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "price": { "type": "integer", "minimum": 0 }, "price_type": { "type": "string", "enum": ["rrp", "perm", "pos"] }, "effective_from": { "type": "string", "format": "date-time" }, "effective_until": { "type": "string", "format": "date-time" } }, "includes_vat": { "type": "boolean" }, "required": ["price", "includes_vat", "price_type", "effective_from", "effective_until"] } }, "currency": { "title": "Currency", "$schema": "http://json-schema.org/draft-07/schema#", "type": "string", "enum": ["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"] }, "channel": { "type": "string" } }, "required": ["style_id", "colour_id", "pricelist_code", "markdown", "currency", "channel"] }, { "type": "object", "additionalProperties": false, "required": ["style_id", "colour_id", "full_price", "markdown", "pos", "currency", "effective_from", "channel"] }], "$id": "https://shushed.example.com/messages/price-change.schema.json" };
4
4
  exports.default = schema;