@leaddreamer/inventorylogic 0.0.3-beta.74 → 0.0.3-beta.76
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/README.md +36 -21
- package/business/Brands/index.js +0 -0
- package/business/Markups/index.js +1 -1
- package/business/Product/Squarespace.js +84 -245
- package/business/Product/SquarespaceSample.js +4905 -0
- package/business/Product/index.js +54 -43
- package/dist/InventoryLogic.086745e8.js +2 -0
- package/dist/InventoryLogic.0f55a872.js +2 -0
- package/dist/InventoryLogic.0fde24a4.js +2 -0
- package/dist/InventoryLogic.30338491.js +2 -0
- package/dist/InventoryLogic.54795c52.js +2 -0
- package/dist/InventoryLogic.62b5247c.js +2 -0
- package/dist/InventoryLogic.6479c130.js +2 -0
- package/dist/InventoryLogic.7852e007.js +2 -0
- package/dist/InventoryLogic.78e43b62.js +2 -0
- package/dist/InventoryLogic.7dcc3eeb.js +2 -0
- package/dist/InventoryLogic.a5644644.js +2 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -51,6 +51,8 @@ import { typedRecordFromChild } from "../Utilities/index.js"
|
|
|
51
51
|
/**
|
|
52
52
|
* a Brand Object
|
|
53
53
|
* @typedef {object} BrandObject
|
|
54
|
+
* @property {?string} Id Database Id of document (redundant for convenience)
|
|
55
|
+
* @property {?string} refPath if from database, full path to document
|
|
54
56
|
* @property {?AggregateRatingsValue} aggregateRating
|
|
55
57
|
* @property {?URL|ImageObject} logo
|
|
56
58
|
* @property {ReviewObject} review A review of the item. Supersedes reviews
|
|
@@ -167,7 +169,7 @@ import { typedRecordFromChild } from "../Utilities/index.js"
|
|
|
167
169
|
/**
|
|
168
170
|
* Demographics characteristics
|
|
169
171
|
* @typedef {object} Demographics
|
|
170
|
-
* @property {boolean}
|
|
172
|
+
* @property {boolean} adultOriented
|
|
171
173
|
* @property {AgeGroupEnum} age_group
|
|
172
174
|
* @property {GenderEnum} gender
|
|
173
175
|
*/
|
|
@@ -175,9 +177,9 @@ import { typedRecordFromChild } from "../Utilities/index.js"
|
|
|
175
177
|
/**
|
|
176
178
|
* List of product ID's for various platforms
|
|
177
179
|
* @typedef {object} PlatformIDs
|
|
178
|
-
* @property {Text}
|
|
179
|
-
* @property {Text}
|
|
180
|
-
* @property {Text}
|
|
180
|
+
* @property {Text} squarespaceId
|
|
181
|
+
* @property {Text} googleMerchantId
|
|
182
|
+
* @property {Text} shopifyId
|
|
181
183
|
*/
|
|
182
184
|
|
|
183
185
|
/**
|
|
@@ -204,8 +206,6 @@ import { typedRecordFromChild } from "../Utilities/index.js"
|
|
|
204
206
|
* @property {string} custom_label_2
|
|
205
207
|
* @property {string} custom_label_3
|
|
206
208
|
* @property {string} custom_label_4
|
|
207
|
-
* @property {Date} createdOn
|
|
208
|
-
* @property {Date} modifiedOn
|
|
209
209
|
*/
|
|
210
210
|
|
|
211
211
|
/**
|
|
@@ -221,7 +221,7 @@ import { typedRecordFromChild } from "../Utilities/index.js"
|
|
|
221
221
|
/**
|
|
222
222
|
* Media Related Data
|
|
223
223
|
* @typedef {object} MediaObject
|
|
224
|
-
* @property {Array
|
|
224
|
+
* @property {Array.ProductImage} images
|
|
225
225
|
* @property {VideoImage} video_image
|
|
226
226
|
* @property {VirtualModel} virtual_model
|
|
227
227
|
*/
|
|
@@ -229,7 +229,7 @@ import { typedRecordFromChild } from "../Utilities/index.js"
|
|
|
229
229
|
/**
|
|
230
230
|
* variant record (including inventory and pricing)
|
|
231
231
|
* @typedef {object} PhysicalProductVariant
|
|
232
|
-
* @property {
|
|
232
|
+
* @property {PlatformIDs} platformIds
|
|
233
233
|
* @property {string} sku
|
|
234
234
|
* @property {ProductImage} image Image associated with this variant
|
|
235
235
|
* @property {FullProductPricing} pricing
|
|
@@ -263,9 +263,7 @@ import { typedRecordFromChild } from "../Utilities/index.js"
|
|
|
263
263
|
* @property {?string} Id Database Id of document (redundant for convenience)
|
|
264
264
|
* @property {?string} refPath if from database, full path to document
|
|
265
265
|
* @property {PlatformIDs} platformIds
|
|
266
|
-
* @property {
|
|
267
|
-
* @property {SquarespaceDataObject} squarespaceData
|
|
268
|
-
* @property {Text} storePageId
|
|
266
|
+
* @property {PlatformData} platformData
|
|
269
267
|
* @property {string} name name for the Product
|
|
270
268
|
* @property {string} short_name name for the Product
|
|
271
269
|
* @property {string} description Basic description of the product
|
|
@@ -294,50 +292,64 @@ import { typedRecordFromChild } from "../Utilities/index.js"
|
|
|
294
292
|
* @default
|
|
295
293
|
*/
|
|
296
294
|
const ProductDefault = {
|
|
297
|
-
|
|
295
|
+
platformIds: {
|
|
296
|
+
squarespaceId: null,
|
|
297
|
+
googleMerchantId: null,
|
|
298
|
+
shopifyId: null
|
|
299
|
+
},
|
|
300
|
+
platformData: {
|
|
301
|
+
squarespaceData: {
|
|
302
|
+
storePageId: null
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
name: null,
|
|
306
|
+
short_name: null,
|
|
298
307
|
description: null,
|
|
308
|
+
short_description: null,
|
|
309
|
+
google_product_category: null,
|
|
310
|
+
product_type: null,
|
|
311
|
+
brand: {
|
|
312
|
+
aggregate_rating: null,
|
|
313
|
+
logo: null,
|
|
314
|
+
review: {},
|
|
315
|
+
slogan: null,
|
|
316
|
+
name: null
|
|
317
|
+
},
|
|
318
|
+
demographics: {
|
|
319
|
+
adultOriented: false,
|
|
320
|
+
age_group: null,
|
|
321
|
+
gender: null
|
|
322
|
+
},
|
|
323
|
+
attributes: [],
|
|
299
324
|
recipe: {
|
|
300
325
|
markups: null,
|
|
301
326
|
projectQ: false,
|
|
302
327
|
created: null,
|
|
303
328
|
modified: null,
|
|
304
329
|
},
|
|
305
|
-
|
|
306
|
-
|
|
330
|
+
mediaObject: {
|
|
331
|
+
images: [],
|
|
332
|
+
video_image: null,
|
|
333
|
+
virtual_model: null
|
|
334
|
+
},
|
|
335
|
+
mobileInfo: null,
|
|
307
336
|
isVisible: true,
|
|
337
|
+
type: "PHYSICAL",
|
|
308
338
|
seoOptions: {
|
|
309
|
-
title:
|
|
310
|
-
description:
|
|
339
|
+
title: null,
|
|
340
|
+
description: null,
|
|
311
341
|
},
|
|
312
342
|
tags: [""],
|
|
313
343
|
materials: [""],
|
|
314
344
|
patterns: [""],
|
|
315
|
-
URL:
|
|
316
|
-
urlSlug:
|
|
317
|
-
variantAttributes: [
|
|
318
|
-
variants: [
|
|
319
|
-
|
|
320
|
-
],
|
|
321
|
-
google_product_type: "",
|
|
322
|
-
shipping_time: 0,
|
|
323
|
-
condition: "",
|
|
324
|
-
adultQ: false,
|
|
325
|
-
age_group: "adult",
|
|
326
|
-
color: [""],
|
|
327
|
-
material: [""],
|
|
328
|
-
gender: "unisex",
|
|
329
|
-
attributes_gemstones: [""],
|
|
330
|
-
pattern: "",
|
|
331
|
-
size: "",
|
|
332
|
-
weight: 0,
|
|
333
|
-
shippingMeasurements: {
|
|
334
|
-
shipping_length: 0,
|
|
335
|
-
shippin_width: 0,
|
|
336
|
-
shipping_height: 0
|
|
337
|
-
}
|
|
345
|
+
URL: null,
|
|
346
|
+
urlSlug: null,
|
|
347
|
+
variantAttributes: [],
|
|
348
|
+
variants: []
|
|
338
349
|
};
|
|
339
350
|
|
|
340
351
|
/**
|
|
352
|
+
* Form to create test data
|
|
341
353
|
* @readonly
|
|
342
354
|
* @constant
|
|
343
355
|
* @type {Product}
|
|
@@ -354,6 +366,7 @@ const ProductDataForm = {
|
|
|
354
366
|
};
|
|
355
367
|
|
|
356
368
|
/**
|
|
369
|
+
* Form to enter MINIMAL product data to start creation
|
|
357
370
|
* @readonly
|
|
358
371
|
* @constant
|
|
359
372
|
* @type {Product}
|
|
@@ -365,8 +378,6 @@ const ProductDefaultForm = {
|
|
|
365
378
|
name: "text",
|
|
366
379
|
description: "textarea",
|
|
367
380
|
sku: "text",
|
|
368
|
-
markups: `subrecord:${MARKUPS}`,
|
|
369
|
-
projectQ: `checkbox`,
|
|
370
381
|
};
|
|
371
382
|
|
|
372
383
|
Forms.Base[PRODUCT] = ProductDefault;
|
|
@@ -399,8 +410,8 @@ export async function createProduct() {
|
|
|
399
410
|
|
|
400
411
|
/**
|
|
401
412
|
* writes record back to database. Assumes only Id is valid
|
|
402
|
-
* @param {
|
|
403
|
-
* @param {
|
|
413
|
+
* @param {Product} product a partially-populated product record for updates
|
|
414
|
+
* @param {User} user minimal record of user this product belongs to
|
|
404
415
|
* @returns {promise.LineItem} a copy of the data written
|
|
405
416
|
*/
|
|
406
417
|
async function updateProduct(product, user = null) {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const $37f30a02897e95be$var$SampleJSON='{"id":"69fa54e8f691fe20c13bc732","type":"PHYSICAL","name":"Stack : : short gemstone earrings","description":"Bob","storePageId":"694b2289b16b8d02d4bdaaba","url":"https://sirlinhalljewelry.com/shop/p/stack-earrings-26050500","urlSlug":"p/stack-earrings-26050500","images":[{"id":"69fa5769cfa3e81e12d7c224","altText":"PXL_20260505_201834132.jpg","orderIndex":0,"url":"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/2bf39ac2-a49b-4820-a211-961d6a0722ef/PXL_20260505_201834132.jpg","originalSize":{"width":480,"height":480},"availableFormats":[]},{"id":"69fa5769f691fe20c13bc9f8","altText":"PXL_20260505_201739701.jpg","orderIndex":1,"url":"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/8d5186e3-e5a1-43bb-9714-77a939b8bc40/PXL_20260505_201739701.jpg","originalSize":{"width":480,"height":480},"availableFormats":[]},{"id":"69fa5769cfa3e81e12d7c225","altText":"PXL_20260505_201915047.jpg","orderIndex":2,"url":"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/ff61c7e8-a03b-442e-81b2-db67241d85ec/PXL_20260505_201915047.jpg","originalSize":{"width":480,"height":480},"availableFormats":[]},{"id":"69fa5769f691fe20c13bc9f9","altText":"PXL_20260505_202122912.jpg","orderIndex":3,"url":"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/357dfd2f-1bce-4687-b57b-1ff53209d970/PXL_20260505_202122912.jpg","originalSize":{"width":480,"height":480},"availableFormats":[]},{"id":"69fa5769a3780355a2edfbb0","altText":"PXL_20260505_202100350.jpg","orderIndex":4,"url":"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/4fcf4192-dbe3-477a-90e7-be0c553f4c5b/PXL_20260505_202100350.jpg","originalSize":{"width":480,"height":480},"availableFormats":[]},{"id":"69fa5769cfa3e81e12d7c226","altText":"PXL_20260505_201947380.jpg","orderIndex":5,"url":"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/fba1dcf8-8526-47ab-ab7f-be2ab37a1dbd/PXL_20260505_201947380.jpg","originalSize":{"width":480,"height":480},"availableFormats":[]}],"tags":[],"seoOptions":{"title":"Stack short gemstone and pearl earrings","description":"Tucson designer Lisa Sirlin-Halls Stack earrings are quick grabs of a bit of neutral with a pop of color when you want earrings for a casual day look."},"createdOn":"2026-05-05T20:36:56.235Z","modifiedOn":"2026-05-05T20:48:35.104Z","variants":[{"id":"fdb09e8d-467c-412e-a355-f6a40a24af24","sku":"26050101","image":null,"pricing":{"basePrice":{"currency":"USD","value":"68.00"},"salePrice":{"currency":"USD","value":"0.00"},"onSale":false},"stock":{"quantity":1,"unlimited":false},"attributes":{"Color":"Blue with Labradorite"},"shippingMeasurements":{"weight":{"unit":"POUND","value":0.0625},"dimensions":{"unit":"INCH","length":9,"width":6,"height":0.5}},"gtin":null,"mpn":null},{"id":"61c47a68-5acb-4d74-b18b-83ac27e49aeb","sku":"26050102","image":null,"pricing":{"basePrice":{"currency":"USD","value":"68.00"},"salePrice":{"currency":"USD","value":"0.00"},"onSale":false},"stock":{"quantity":1,"unlimited":false},"attributes":{"Color":"Silver with Black Onyx"},"shippingMeasurements":{"weight":{"unit":"POUND","value":0.0625},"dimensions":{"unit":"INCH","length":9,"width":6,"height":0.5}},"gtin":null,"mpn":null},{"id":"4b1ca060-8d0e-4e20-9863-cb37324da85d","sku":"26050103","image":null,"pricing":{"basePrice":{"currency":"USD","value":"68.00"},"salePrice":{"currency":"USD","value":"0.00"},"onSale":false},"stock":{"quantity":1,"unlimited":false},"attributes":{"Color":"Champagne yellow and Pearl"},"shippingMeasurements":{"weight":{"unit":"POUND","value":0.0625},"dimensions":{"unit":"INCH","length":9,"width":6,"height":0.5}},"gtin":null,"mpn":null}],"variantAttributes":["Color"],"isVisible":true}',$37f30a02897e95be$var$SquarespaceProductMap={id:"platformIds.SquarespaceId",type:"PHYSICAL",name:"name",description:"description",storePageId:"platformData.squarespaceData.storePageId",url:"URL",urlSlug:"urlSlug",images:["images[index]"],tags:"attributes.tags",seoOptions:"seoOptions",createdOn:"attributes.createdOn",modifiedOn:"attributes.modifiedOn",variants:[$37f30a02897e95be$var$squarespaceVariantMapping],variantAttributes:"variantAttributes",isVisible:"isVisible"};function $37f30a02897e95be$var$squarespaceJSONtoProductMapping(e){console.log("productJSON"),console.dir(e,{depth:null});let a=JSON.parse(e);console.log("incomingProduct"),console.dir(a,{depth:null});let i=Object.getOwnPropertyNames(a);console.log("properties: ",i),i.reduce((e,a)=>{let i=$37f30a02897e95be$var$SquarespaceProductMap[a];console.log(a,": ",i)},{})}$37f30a02897e95be$var$squarespaceJSONtoProductMapping('{"id":"69fa54e8f691fe20c13bc732","type":"PHYSICAL","name":"Stack : : short gemstone earrings","description":"Bob","storePageId":"694b2289b16b8d02d4bdaaba","url":"https://sirlinhalljewelry.com/shop/p/stack-earrings-26050500","urlSlug":"p/stack-earrings-26050500","images":[{"id":"69fa5769cfa3e81e12d7c224","altText":"PXL_20260505_201834132.jpg","orderIndex":0,"url":"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/2bf39ac2-a49b-4820-a211-961d6a0722ef/PXL_20260505_201834132.jpg","originalSize":{"width":480,"height":480},"availableFormats":[]},{"id":"69fa5769f691fe20c13bc9f8","altText":"PXL_20260505_201739701.jpg","orderIndex":1,"url":"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/8d5186e3-e5a1-43bb-9714-77a939b8bc40/PXL_20260505_201739701.jpg","originalSize":{"width":480,"height":480},"availableFormats":[]},{"id":"69fa5769cfa3e81e12d7c225","altText":"PXL_20260505_201915047.jpg","orderIndex":2,"url":"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/ff61c7e8-a03b-442e-81b2-db67241d85ec/PXL_20260505_201915047.jpg","originalSize":{"width":480,"height":480},"availableFormats":[]},{"id":"69fa5769f691fe20c13bc9f9","altText":"PXL_20260505_202122912.jpg","orderIndex":3,"url":"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/357dfd2f-1bce-4687-b57b-1ff53209d970/PXL_20260505_202122912.jpg","originalSize":{"width":480,"height":480},"availableFormats":[]},{"id":"69fa5769a3780355a2edfbb0","altText":"PXL_20260505_202100350.jpg","orderIndex":4,"url":"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/4fcf4192-dbe3-477a-90e7-be0c553f4c5b/PXL_20260505_202100350.jpg","originalSize":{"width":480,"height":480},"availableFormats":[]},{"id":"69fa5769cfa3e81e12d7c226","altText":"PXL_20260505_201947380.jpg","orderIndex":5,"url":"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/fba1dcf8-8526-47ab-ab7f-be2ab37a1dbd/PXL_20260505_201947380.jpg","originalSize":{"width":480,"height":480},"availableFormats":[]}],"tags":[],"seoOptions":{"title":"Stack short gemstone and pearl earrings","description":"Tucson designer Lisa Sirlin-Halls Stack earrings are quick grabs of a bit of neutral with a pop of color when you want earrings for a casual day look."},"createdOn":"2026-05-05T20:36:56.235Z","modifiedOn":"2026-05-05T20:48:35.104Z","variants":[{"id":"fdb09e8d-467c-412e-a355-f6a40a24af24","sku":"26050101","image":null,"pricing":{"basePrice":{"currency":"USD","value":"68.00"},"salePrice":{"currency":"USD","value":"0.00"},"onSale":false},"stock":{"quantity":1,"unlimited":false},"attributes":{"Color":"Blue with Labradorite"},"shippingMeasurements":{"weight":{"unit":"POUND","value":0.0625},"dimensions":{"unit":"INCH","length":9,"width":6,"height":0.5}},"gtin":null,"mpn":null},{"id":"61c47a68-5acb-4d74-b18b-83ac27e49aeb","sku":"26050102","image":null,"pricing":{"basePrice":{"currency":"USD","value":"68.00"},"salePrice":{"currency":"USD","value":"0.00"},"onSale":false},"stock":{"quantity":1,"unlimited":false},"attributes":{"Color":"Silver with Black Onyx"},"shippingMeasurements":{"weight":{"unit":"POUND","value":0.0625},"dimensions":{"unit":"INCH","length":9,"width":6,"height":0.5}},"gtin":null,"mpn":null},{"id":"4b1ca060-8d0e-4e20-9863-cb37324da85d","sku":"26050103","image":null,"pricing":{"basePrice":{"currency":"USD","value":"68.00"},"salePrice":{"currency":"USD","value":"0.00"},"onSale":false},"stock":{"quantity":1,"unlimited":false},"attributes":{"Color":"Champagne yellow and Pearl"},"shippingMeasurements":{"weight":{"unit":"POUND","value":0.0625},"dimensions":{"unit":"INCH","length":9,"width":6,"height":0.5}},"gtin":null,"mpn":null}],"variantAttributes":["Color"],"isVisible":true}');const $37f30a02897e95be$var$SquarespaceVariantMap={id:"id",sku:"sku",image:"image",pricing:"price",stock:"stock",attributes:"attributes",shippingMeasurements:"shippingMeasurements",gtin:"gtin",mpn:"mpn"};async function $37f30a02897e95be$var$squarespaceVariantMapping(e){}
|
|
2
|
+
//# sourceMappingURL=InventoryLogic.086745e8.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function $parcel$exportWildcard(e,r){return Object.keys(r).forEach(function(c){"default"===c||"__esModule"===c||Object.prototype.hasOwnProperty.call(e,c)||Object.defineProperty(e,c,{enumerable:!0,get:function(){return r[c]}})}),e}require("./InventoryLogic.f716bebc.js"),require("./InventoryLogic.87addb57.js"),require("./InventoryLogic.f8d080e8.js"),require("./InventoryLogic.9658c8e7.js"),require("./InventoryLogic.a5644644.js"),require("./InventoryLogic.20d9efd7.js"),require("./InventoryLogic.b49f09b1.js"),require("./InventoryLogic.4e7ced22.js"),require("./InventoryLogic.1e519cb0.js"),require("./InventoryLogic.74baf986.js"),require("./InventoryLogic.2468e70a.js"),require("./InventoryLogic.e0dc6c34.js"),require("./InventoryLogic.30e7c3e7.js");var $parcel$global=globalThis,$parcel$modules={},$parcel$inits={},parcelRequire=$parcel$global.parcelRequire3c55;null==parcelRequire&&((parcelRequire=function(e){if(e in $parcel$modules)return $parcel$modules[e].exports;if(e in $parcel$inits){var r=$parcel$inits[e];delete $parcel$inits[e];var c={id:e,exports:{}};return $parcel$modules[e]=c,r.call(c.exports,c,c.exports),c.exports}var l=Error("Cannot find module '"+e+"'");throw l.code="MODULE_NOT_FOUND",l}).register=function(e,r){$parcel$inits[e]=r},$parcel$global.parcelRequire3c55=parcelRequire);var parcelRegister=parcelRequire.register,$fjZig=parcelRequire("fjZig"),$cFg1d=parcelRequire("cFg1d"),$9Lshm=parcelRequire("9Lshm"),$4wblz=parcelRequire("4wblz"),$5nIdj=parcelRequire("5nIdj"),$goJkr=parcelRequire("goJkr"),$40TGC=parcelRequire("40TGC"),$gcNAj=parcelRequire("gcNAj"),$9QUJ4=parcelRequire("9QUJ4"),$8DeQu=parcelRequire("8DeQu"),$56KtY=parcelRequire("56KtY"),$2QvMT=parcelRequire("2QvMT"),$19KWm=parcelRequire("19KWm");$parcel$exportWildcard(module.exports,$fjZig),$parcel$exportWildcard(module.exports,$4wblz),$parcel$exportWildcard(module.exports,$goJkr),$parcel$exportWildcard(module.exports,$9QUJ4),$parcel$exportWildcard(module.exports,$56KtY),$parcel$exportWildcard(module.exports,$40TGC),$parcel$exportWildcard(module.exports,$19KWm),$parcel$exportWildcard(module.exports,$9Lshm),$parcel$exportWildcard(module.exports,$cFg1d),$parcel$exportWildcard(module.exports,$5nIdj),$parcel$exportWildcard(module.exports,$8DeQu),$parcel$exportWildcard(module.exports,$2QvMT),$parcel$exportWildcard(module.exports,$gcNAj);
|
|
2
|
+
//# sourceMappingURL=InventoryLogic.0f55a872.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
module.exports=JSON.parse('" {\\r\\n \\"id\\": \\"69fa54e8f691fe20c13bc732\\",\\r\\n \\"type\\": \\"PHYSICAL\\",\\r\\n \\"name\\": \\"Stack : : short gemstone earrings\\",\\r\\n \\"description\\": \\"<p style=\\\\\\"white-space:pre-wrap;\\\\\\" data-rte-preserve-empty=\\\\\\"true\\\\\\">About an inch long, my Stack earrings are quick grabs of a bit of neutral with a pop of color when you want earrings for a casual day look. Choose your favorite palette or ping me with your own color combinations and ideas!</p><p style=\\\\\\"white-space:pre-wrap;\\\\\\" data-rte-preserve-empty=\\\\\\"true\\\\\\"><span>:: great gift!<br />:: 1.25 inches<br />:: limited edition<br />:: ships 4-7 days from purchase<br />:: handcrafted in tucson, arizona</span></p>\\",\\r\\n \\"storePageId\\": \\"694b2289b16b8d02d4bdaaba\\",\\r\\n \\"url\\": \\"https://sirlinhalljewelry.com/shop/p/stack-earrings-26050500\\",\\r\\n \\"urlSlug\\": \\"p/stack-earrings-26050500\\",\\r\\n \\"images\\": [\\r\\n {\\r\\n \\"id\\": \\"69fa5769cfa3e81e12d7c224\\",\\r\\n \\"altText\\": \\"PXL_20260505_201834132.jpg\\",\\r\\n \\"orderIndex\\": 0,\\r\\n \\"url\\": \\"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/2bf39ac2-a49b-4820-a211-961d6a0722ef/PXL_20260505_201834132.jpg\\",\\r\\n \\"originalSize\\": {\\r\\n \\"width\\": 480,\\r\\n \\"height\\": 480\\r\\n },\\r\\n \\"availableFormats\\": []\\r\\n },\\r\\n {\\r\\n \\"id\\": \\"69fa5769f691fe20c13bc9f8\\",\\r\\n \\"altText\\": \\"PXL_20260505_201739701.jpg\\",\\r\\n \\"orderIndex\\": 1,\\r\\n \\"url\\": \\"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/8d5186e3-e5a1-43bb-9714-77a939b8bc40/PXL_20260505_201739701.jpg\\",\\r\\n \\"originalSize\\": {\\r\\n \\"width\\": 480,\\r\\n \\"height\\": 480\\r\\n },\\r\\n \\"availableFormats\\": []\\r\\n },\\r\\n {\\r\\n \\"id\\": \\"69fa5769cfa3e81e12d7c225\\",\\r\\n \\"altText\\": \\"PXL_20260505_201915047.jpg\\",\\r\\n \\"orderIndex\\": 2,\\r\\n \\"url\\": \\"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/ff61c7e8-a03b-442e-81b2-db67241d85ec/PXL_20260505_201915047.jpg\\",\\r\\n \\"originalSize\\": {\\r\\n \\"width\\": 480,\\r\\n \\"height\\": 480\\r\\n },\\r\\n \\"availableFormats\\": []\\r\\n },\\r\\n {\\r\\n \\"id\\": \\"69fa5769f691fe20c13bc9f9\\",\\r\\n \\"altText\\": \\"PXL_20260505_202122912.jpg\\",\\r\\n \\"orderIndex\\": 3,\\r\\n \\"url\\": \\"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/357dfd2f-1bce-4687-b57b-1ff53209d970/PXL_20260505_202122912.jpg\\",\\r\\n \\"originalSize\\": {\\r\\n \\"width\\": 480,\\r\\n \\"height\\": 480\\r\\n },\\r\\n \\"availableFormats\\": []\\r\\n },\\r\\n {\\r\\n \\"id\\": \\"69fa5769a3780355a2edfbb0\\",\\r\\n \\"altText\\": \\"PXL_20260505_202100350.jpg\\",\\r\\n \\"orderIndex\\": 4,\\r\\n \\"url\\": \\"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/4fcf4192-dbe3-477a-90e7-be0c553f4c5b/PXL_20260505_202100350.jpg\\",\\r\\n \\"originalSize\\": {\\r\\n \\"width\\": 480,\\r\\n \\"height\\": 480\\r\\n },\\r\\n \\"availableFormats\\": []\\r\\n },\\r\\n {\\r\\n \\"id\\": \\"69fa5769cfa3e81e12d7c226\\",\\r\\n \\"altText\\": \\"PXL_20260505_201947380.jpg\\",\\r\\n \\"orderIndex\\": 5,\\r\\n \\"url\\": \\"https://images.squarespace-cdn.com/content/v1/694b2288b16b8d02d4bdaa0c/fba1dcf8-8526-47ab-ab7f-be2ab37a1dbd/PXL_20260505_201947380.jpg\\",\\r\\n \\"originalSize\\": {\\r\\n \\"width\\": 480,\\r\\n \\"height\\": 480\\r\\n },\\r\\n \\"availableFormats\\": []\\r\\n }\\r\\n ],\\r\\n \\"tags\\": [],\\r\\n \\"seoOptions\\": {\\r\\n \\"title\\": \\"Stack short gemstone and pearl earrings\\",\\r\\n \\"description\\": \\"Tucson designer Lisa Sirlin-Hall\'s Stack earrings are quick grabs of a bit of neutral with a pop of color when you want earrings for a casual day look.\\"\\r\\n },\\r\\n \\"createdOn\\": \\"2026-05-05T20:36:56.235Z\\",\\r\\n \\"modifiedOn\\": \\"2026-08-31T20:06:56.852Z\\",\\r\\n \\"variants\\": [\\r\\n {\\r\\n \\"id\\": \\"fdb09e8d-467c-412e-a355-f6a40a24af24\\",\\r\\n \\"sku\\": \\"26050101\\",\\r\\n \\"image\\": null,\\r\\n \\"pricing\\": {\\r\\n \\"basePrice\\": {\\r\\n \\"currency\\": \\"USD\\",\\r\\n \\"value\\": \\"68.00\\"\\r\\n },\\r\\n \\"salePrice\\": {\\r\\n \\"currency\\": \\"USD\\",\\r\\n \\"value\\": \\"0.00\\"\\r\\n },\\r\\n \\"onSale\\": false\\r\\n },\\r\\n \\"stock\\": {\\r\\n \\"quantity\\": 1,\\r\\n \\"unlimited\\": false\\r\\n },\\r\\n \\"attributes\\": {\\r\\n \\"Color\\": \\"Blue with Labradorite\\"\\r\\n },\\r\\n \\"shippingMeasurements\\": {\\r\\n \\"weight\\": {\\r\\n \\"unit\\": \\"POUND\\",\\r\\n \\"value\\": 0.0625\\r\\n },\\r\\n \\"dimensions\\": {\\r\\n \\"unit\\": \\"INCH\\",\\r\\n \\"length\\": 9.0,\\r\\n \\"width\\": 6.0,\\r\\n \\"height\\": 0.5\\r\\n }\\r\\n },\\r\\n \\"gtin\\": null,\\r\\n \\"mpn\\": null\\r\\n },\\r\\n {\\r\\n \\"id\\": \\"61c47a68-5acb-4d74-b18b-83ac27e49aeb\\",\\r\\n \\"sku\\": \\"26050102\\",\\r\\n \\"image\\": null,\\r\\n \\"pricing\\": {\\r\\n \\"basePrice\\": {\\r\\n \\"currency\\": \\"USD\\",\\r\\n \\"value\\": \\"68.00\\"\\r\\n },\\r\\n \\"salePrice\\": {\\r\\n \\"currency\\": \\"USD\\",\\r\\n \\"value\\": \\"0.00\\"\\r\\n },\\r\\n \\"onSale\\": false\\r\\n },\\r\\n \\"stock\\": {\\r\\n \\"quantity\\": 1,\\r\\n \\"unlimited\\": false\\r\\n },\\r\\n \\"attributes\\": {\\r\\n \\"Color\\": \\"Silver with Black Onyx\\"\\r\\n },\\r\\n \\"shippingMeasurements\\": {\\r\\n \\"weight\\": {\\r\\n \\"unit\\": \\"POUND\\",\\r\\n \\"value\\": 0.0625\\r\\n },\\r\\n \\"dimensions\\": {\\r\\n \\"unit\\": \\"INCH\\",\\r\\n \\"length\\": 9.0,\\r\\n \\"width\\": 6.0,\\r\\n \\"height\\": 0.5\\r\\n }\\r\\n },\\r\\n \\"gtin\\": null,\\r\\n \\"mpn\\": null\\r\\n },\\r\\n {\\r\\n \\"id\\": \\"4b1ca060-8d0e-4e20-9863-cb37324da85d\\",\\r\\n \\"sku\\": \\"26050103\\",\\r\\n \\"image\\": null,\\r\\n \\"pricing\\": {\\r\\n \\"basePrice\\": {\\r\\n \\"currency\\": \\"USD\\",\\r\\n \\"value\\": \\"68.00\\"\\r\\n },\\r\\n \\"salePrice\\": {\\r\\n \\"currency\\": \\"USD\\",\\r\\n \\"value\\": \\"0.00\\"\\r\\n },\\r\\n \\"onSale\\": false\\r\\n },\\r\\n \\"stock\\": {\\r\\n \\"quantity\\": 1,\\r\\n \\"unlimited\\": false\\r\\n },\\r\\n \\"attributes\\": {\\r\\n \\"Color\\": \\"Champagne yellow and Pearl\\"\\r\\n },\\r\\n \\"shippingMeasurements\\": {\\r\\n \\"weight\\": {\\r\\n \\"unit\\": \\"POUND\\",\\r\\n \\"value\\": 0.0625\\r\\n },\\r\\n \\"dimensions\\": {\\r\\n \\"unit\\": \\"INCH\\",\\r\\n \\"length\\": 9.0,\\r\\n \\"width\\": 6.0,\\r\\n \\"height\\": 0.5\\r\\n }\\r\\n },\\r\\n \\"gtin\\": null,\\r\\n \\"mpn\\": null\\r\\n }\\r\\n ],\\r\\n \\"variantAttributes\\": [\\r\\n \\"Color\\"\\r\\n ],\\r\\n \\"isVisible\\": true\\r\\n }\\r\\n"');
|
|
2
|
+
//# sourceMappingURL=InventoryLogic.0fde24a4.js.map
|