@cmssy/core 19.13.0 → 19.14.0

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/index.cjs CHANGED
@@ -225,7 +225,7 @@ function documentText(document2) {
225
225
  }
226
226
 
227
227
  // src/version.ts
228
- var CMSSY_CORE_VERSION = "19.13.0" ;
228
+ var CMSSY_CORE_VERSION = "19.14.0" ;
229
229
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
230
230
 
231
231
  // src/data/http.ts
@@ -584,6 +584,9 @@ var BUYER_PRICES_QUERY = typedOperation(`query BuyerPrices($workspaceId: ID!, $i
584
584
  listed
585
585
  basePrice
586
586
  source
587
+ minQuantity
588
+ maxQuantity
589
+ increment
587
590
  tiers {
588
591
  minQty
589
592
  price
@@ -665,6 +668,9 @@ var BUYER_CATALOG_PRICES_QUERY = typedOperation(`query BuyerCatalogPrices(
665
668
  listed
666
669
  basePrice
667
670
  source
671
+ minQuantity
672
+ maxQuantity
673
+ increment
668
674
  }
669
675
  }
670
676
  }
@@ -695,11 +701,19 @@ async function getBuyerCatalogPrices(config, query, options) {
695
701
  }
696
702
 
697
703
  // src/data/checkout-errors.ts
704
+ var quantityRuleReasonValues = [
705
+ "QUANTITY_BELOW_MIN",
706
+ "QUANTITY_ABOVE_MAX",
707
+ "QUANTITY_NOT_ON_STEP"
708
+ ];
698
709
  var checkoutErrorReasonValues = [
699
710
  "CART_REPRICED",
700
- "CART_CURRENCY_CHANGED"
711
+ "CART_CURRENCY_CHANGED",
712
+ "PRODUCT_NOT_SOLD",
713
+ ...quantityRuleReasonValues
701
714
  ];
702
715
  var REASONS = new Set(checkoutErrorReasonValues);
716
+ var QUANTITY_REASONS = new Set(quantityRuleReasonValues);
703
717
  function checkoutErrorReason(error) {
704
718
  if (!(error instanceof CmssyGraphqlError)) return void 0;
705
719
  for (const entry of error.errors) {
@@ -710,6 +724,30 @@ function checkoutErrorReason(error) {
710
724
  }
711
725
  return void 0;
712
726
  }
727
+ function isCount(value) {
728
+ return typeof value === "number" && Number.isInteger(value);
729
+ }
730
+ function quantityRuleViolation(error) {
731
+ if (!(error instanceof CmssyGraphqlError)) return void 0;
732
+ for (const entry of error.errors) {
733
+ const ext = entry.extensions;
734
+ if (!ext || typeof ext.reason !== "string") continue;
735
+ if (!QUANTITY_REASONS.has(ext.reason)) continue;
736
+ const { quantity, minQuantity, maxQuantity, increment, itemId } = ext;
737
+ if (!isCount(quantity) || !isCount(minQuantity) || !isCount(maxQuantity) || !isCount(increment)) {
738
+ continue;
739
+ }
740
+ return {
741
+ reason: ext.reason,
742
+ quantity,
743
+ minQuantity,
744
+ maxQuantity,
745
+ increment,
746
+ itemId: typeof itemId === "string" ? itemId : null
747
+ };
748
+ }
749
+ return void 0;
750
+ }
713
751
 
714
752
  // src/fields.ts
715
753
  function build(type, opts) {
@@ -1394,6 +1432,8 @@ exports.orderProgressValues = orderProgressValues;
1394
1432
  exports.parseEditorMessage = parseEditorMessage;
1395
1433
  exports.postToEditor = postToEditor;
1396
1434
  exports.propsToSchema = propsToSchema;
1435
+ exports.quantityRuleReasonValues = quantityRuleReasonValues;
1436
+ exports.quantityRuleViolation = quantityRuleViolation;
1397
1437
  exports.registryToManifestBlocks = registryToManifestBlocks;
1398
1438
  exports.resolveCmssyLocale = resolveCmssyLocale;
1399
1439
  exports.resolveEditorOrigin = resolveEditorOrigin;
package/dist/index.d.cts CHANGED
@@ -25,6 +25,9 @@ interface CmssyBuyerPrice {
25
25
  listed: boolean;
26
26
  basePrice: number;
27
27
  source: CmssyPriceSource;
28
+ minQuantity: number;
29
+ maxQuantity: number;
30
+ increment: number;
28
31
  tiers: CmssyPriceTier[];
29
32
  }
30
33
  interface CmssyMemberPriceList {
@@ -57,6 +60,9 @@ interface CmssyBuyerCatalogPrice {
57
60
  listed: boolean;
58
61
  basePrice: number;
59
62
  source: CmssyPriceSource;
63
+ minQuantity: number;
64
+ maxQuantity: number;
65
+ increment: number;
60
66
  }
61
67
  interface CmssyBuyerCatalogPage {
62
68
  items: CmssyBuyerCatalogPrice[];
@@ -86,9 +92,20 @@ declare const BUYER_CATALOG_PRICES_QUERY: CmssyOperation<BuyerCatalogPricesResul
86
92
  type GetBuyerCatalogPricesQuery = Omit<BuyerCatalogPricesVariables, "workspaceId">;
87
93
  declare function getBuyerCatalogPrices(config: CmssyClientConfig, query: GetBuyerCatalogPricesQuery, options: GetBuyerPricesOptions): Promise<CmssyBuyerCatalogPage>;
88
94
 
89
- declare const checkoutErrorReasonValues: readonly ["CART_REPRICED", "CART_CURRENCY_CHANGED"];
95
+ declare const quantityRuleReasonValues: readonly ["QUANTITY_BELOW_MIN", "QUANTITY_ABOVE_MAX", "QUANTITY_NOT_ON_STEP"];
96
+ type CmssyQuantityRuleReason = (typeof quantityRuleReasonValues)[number];
97
+ declare const checkoutErrorReasonValues: readonly ["CART_REPRICED", "CART_CURRENCY_CHANGED", "PRODUCT_NOT_SOLD", "QUANTITY_BELOW_MIN", "QUANTITY_ABOVE_MAX", "QUANTITY_NOT_ON_STEP"];
90
98
  type CmssyCheckoutErrorReason = (typeof checkoutErrorReasonValues)[number];
99
+ interface CmssyQuantityRuleViolation {
100
+ reason: CmssyQuantityRuleReason;
101
+ quantity: number;
102
+ minQuantity: number;
103
+ maxQuantity: number;
104
+ increment: number;
105
+ itemId: string | null;
106
+ }
91
107
  declare function checkoutErrorReason(error: unknown): CmssyCheckoutErrorReason | undefined;
108
+ declare function quantityRuleViolation(error: unknown): CmssyQuantityRuleViolation | undefined;
92
109
 
93
110
  /**
94
111
  * Whether the content is guaranteed to carry the field. Only `required` says
@@ -258,4 +275,4 @@ declare class CmssyWebhookError extends Error {
258
275
  }
259
276
  declare function verifyCmssyWebhook(options: VerifyCmssyWebhookOptions): Promise<CmssyWebhookEvent>;
260
277
 
261
- export { BUYER_CATALOG_PRICES_QUERY, BUYER_PRICES_QUERY, type BlockManifest, type BlockManifestBlock, type BlockManifestSource, type BuyerCatalogPricesResult, type BuyerCatalogPricesVariables, type BuyerPricesResult, type BuyerPricesVariables, CMSSY_BUYER_PRICES_MAX_ITEMS, CMSSY_EDIT_HEADER, CMSSY_EDIT_QUERY_PARAM, CMSSY_EDIT_TOKEN_HEADER, CMSSY_SECRET_QUERY_PARAM, type CmssyBuyerCatalogPage, type CmssyBuyerCatalogPrice, type CmssyBuyerCatalogSort, type CmssyBuyerPrice, type CmssyCheckoutErrorReason, type CmssyMemberPriceList, CmssyOperation, type CmssyOrderProgress, type CmssyOrderProgressInput, type CmssyPriceQueryItem, type CmssyPriceTier, CmssyWebhookError, type ConditionalFormField, FetchLike, type GetBuyerCatalogPricesQuery, type GetBuyerPricesOptions, type MediaLike, type MintCmssyEditTokenOptions, RetryOption, type VerifyCmssyEditTokenOptions, blocksToMeta, blocksToSchemas, buildBlockManifest, checkoutErrorReason, checkoutErrorReasonValues, fields, getBuyerCatalogPrices, getBuyerPrices, isFormFieldRequired, isFormFieldVisible, isVerifiedEditUrl, layoutRegionsToBridge, mediaAlt, mediaDuration, mediaType, mediaUrl, mediaUrls, mintCmssyEditToken, orderProgress, orderProgressValues, propsToSchema, registryToManifestBlocks, verifyCmssyEditToken, verifyCmssyWebhook, visibleFormFields };
278
+ export { BUYER_CATALOG_PRICES_QUERY, BUYER_PRICES_QUERY, type BlockManifest, type BlockManifestBlock, type BlockManifestSource, type BuyerCatalogPricesResult, type BuyerCatalogPricesVariables, type BuyerPricesResult, type BuyerPricesVariables, CMSSY_BUYER_PRICES_MAX_ITEMS, CMSSY_EDIT_HEADER, CMSSY_EDIT_QUERY_PARAM, CMSSY_EDIT_TOKEN_HEADER, CMSSY_SECRET_QUERY_PARAM, type CmssyBuyerCatalogPage, type CmssyBuyerCatalogPrice, type CmssyBuyerCatalogSort, type CmssyBuyerPrice, type CmssyCheckoutErrorReason, type CmssyMemberPriceList, CmssyOperation, type CmssyOrderProgress, type CmssyOrderProgressInput, type CmssyPriceQueryItem, type CmssyPriceTier, type CmssyQuantityRuleReason, type CmssyQuantityRuleViolation, CmssyWebhookError, type ConditionalFormField, FetchLike, type GetBuyerCatalogPricesQuery, type GetBuyerPricesOptions, type MediaLike, type MintCmssyEditTokenOptions, RetryOption, type VerifyCmssyEditTokenOptions, blocksToMeta, blocksToSchemas, buildBlockManifest, checkoutErrorReason, checkoutErrorReasonValues, fields, getBuyerCatalogPrices, getBuyerPrices, isFormFieldRequired, isFormFieldVisible, isVerifiedEditUrl, layoutRegionsToBridge, mediaAlt, mediaDuration, mediaType, mediaUrl, mediaUrls, mintCmssyEditToken, orderProgress, orderProgressValues, propsToSchema, quantityRuleReasonValues, quantityRuleViolation, registryToManifestBlocks, verifyCmssyEditToken, verifyCmssyWebhook, visibleFormFields };
package/dist/index.d.ts CHANGED
@@ -25,6 +25,9 @@ interface CmssyBuyerPrice {
25
25
  listed: boolean;
26
26
  basePrice: number;
27
27
  source: CmssyPriceSource;
28
+ minQuantity: number;
29
+ maxQuantity: number;
30
+ increment: number;
28
31
  tiers: CmssyPriceTier[];
29
32
  }
30
33
  interface CmssyMemberPriceList {
@@ -57,6 +60,9 @@ interface CmssyBuyerCatalogPrice {
57
60
  listed: boolean;
58
61
  basePrice: number;
59
62
  source: CmssyPriceSource;
63
+ minQuantity: number;
64
+ maxQuantity: number;
65
+ increment: number;
60
66
  }
61
67
  interface CmssyBuyerCatalogPage {
62
68
  items: CmssyBuyerCatalogPrice[];
@@ -86,9 +92,20 @@ declare const BUYER_CATALOG_PRICES_QUERY: CmssyOperation<BuyerCatalogPricesResul
86
92
  type GetBuyerCatalogPricesQuery = Omit<BuyerCatalogPricesVariables, "workspaceId">;
87
93
  declare function getBuyerCatalogPrices(config: CmssyClientConfig, query: GetBuyerCatalogPricesQuery, options: GetBuyerPricesOptions): Promise<CmssyBuyerCatalogPage>;
88
94
 
89
- declare const checkoutErrorReasonValues: readonly ["CART_REPRICED", "CART_CURRENCY_CHANGED"];
95
+ declare const quantityRuleReasonValues: readonly ["QUANTITY_BELOW_MIN", "QUANTITY_ABOVE_MAX", "QUANTITY_NOT_ON_STEP"];
96
+ type CmssyQuantityRuleReason = (typeof quantityRuleReasonValues)[number];
97
+ declare const checkoutErrorReasonValues: readonly ["CART_REPRICED", "CART_CURRENCY_CHANGED", "PRODUCT_NOT_SOLD", "QUANTITY_BELOW_MIN", "QUANTITY_ABOVE_MAX", "QUANTITY_NOT_ON_STEP"];
90
98
  type CmssyCheckoutErrorReason = (typeof checkoutErrorReasonValues)[number];
99
+ interface CmssyQuantityRuleViolation {
100
+ reason: CmssyQuantityRuleReason;
101
+ quantity: number;
102
+ minQuantity: number;
103
+ maxQuantity: number;
104
+ increment: number;
105
+ itemId: string | null;
106
+ }
91
107
  declare function checkoutErrorReason(error: unknown): CmssyCheckoutErrorReason | undefined;
108
+ declare function quantityRuleViolation(error: unknown): CmssyQuantityRuleViolation | undefined;
92
109
 
93
110
  /**
94
111
  * Whether the content is guaranteed to carry the field. Only `required` says
@@ -258,4 +275,4 @@ declare class CmssyWebhookError extends Error {
258
275
  }
259
276
  declare function verifyCmssyWebhook(options: VerifyCmssyWebhookOptions): Promise<CmssyWebhookEvent>;
260
277
 
261
- export { BUYER_CATALOG_PRICES_QUERY, BUYER_PRICES_QUERY, type BlockManifest, type BlockManifestBlock, type BlockManifestSource, type BuyerCatalogPricesResult, type BuyerCatalogPricesVariables, type BuyerPricesResult, type BuyerPricesVariables, CMSSY_BUYER_PRICES_MAX_ITEMS, CMSSY_EDIT_HEADER, CMSSY_EDIT_QUERY_PARAM, CMSSY_EDIT_TOKEN_HEADER, CMSSY_SECRET_QUERY_PARAM, type CmssyBuyerCatalogPage, type CmssyBuyerCatalogPrice, type CmssyBuyerCatalogSort, type CmssyBuyerPrice, type CmssyCheckoutErrorReason, type CmssyMemberPriceList, CmssyOperation, type CmssyOrderProgress, type CmssyOrderProgressInput, type CmssyPriceQueryItem, type CmssyPriceTier, CmssyWebhookError, type ConditionalFormField, FetchLike, type GetBuyerCatalogPricesQuery, type GetBuyerPricesOptions, type MediaLike, type MintCmssyEditTokenOptions, RetryOption, type VerifyCmssyEditTokenOptions, blocksToMeta, blocksToSchemas, buildBlockManifest, checkoutErrorReason, checkoutErrorReasonValues, fields, getBuyerCatalogPrices, getBuyerPrices, isFormFieldRequired, isFormFieldVisible, isVerifiedEditUrl, layoutRegionsToBridge, mediaAlt, mediaDuration, mediaType, mediaUrl, mediaUrls, mintCmssyEditToken, orderProgress, orderProgressValues, propsToSchema, registryToManifestBlocks, verifyCmssyEditToken, verifyCmssyWebhook, visibleFormFields };
278
+ export { BUYER_CATALOG_PRICES_QUERY, BUYER_PRICES_QUERY, type BlockManifest, type BlockManifestBlock, type BlockManifestSource, type BuyerCatalogPricesResult, type BuyerCatalogPricesVariables, type BuyerPricesResult, type BuyerPricesVariables, CMSSY_BUYER_PRICES_MAX_ITEMS, CMSSY_EDIT_HEADER, CMSSY_EDIT_QUERY_PARAM, CMSSY_EDIT_TOKEN_HEADER, CMSSY_SECRET_QUERY_PARAM, type CmssyBuyerCatalogPage, type CmssyBuyerCatalogPrice, type CmssyBuyerCatalogSort, type CmssyBuyerPrice, type CmssyCheckoutErrorReason, type CmssyMemberPriceList, CmssyOperation, type CmssyOrderProgress, type CmssyOrderProgressInput, type CmssyPriceQueryItem, type CmssyPriceTier, type CmssyQuantityRuleReason, type CmssyQuantityRuleViolation, CmssyWebhookError, type ConditionalFormField, FetchLike, type GetBuyerCatalogPricesQuery, type GetBuyerPricesOptions, type MediaLike, type MintCmssyEditTokenOptions, RetryOption, type VerifyCmssyEditTokenOptions, blocksToMeta, blocksToSchemas, buildBlockManifest, checkoutErrorReason, checkoutErrorReasonValues, fields, getBuyerCatalogPrices, getBuyerPrices, isFormFieldRequired, isFormFieldVisible, isVerifiedEditUrl, layoutRegionsToBridge, mediaAlt, mediaDuration, mediaType, mediaUrl, mediaUrls, mintCmssyEditToken, orderProgress, orderProgressValues, propsToSchema, quantityRuleReasonValues, quantityRuleViolation, registryToManifestBlocks, verifyCmssyEditToken, verifyCmssyWebhook, visibleFormFields };
package/dist/index.js CHANGED
@@ -224,7 +224,7 @@ function documentText(document2) {
224
224
  }
225
225
 
226
226
  // src/version.ts
227
- var CMSSY_CORE_VERSION = "19.13.0" ;
227
+ var CMSSY_CORE_VERSION = "19.14.0" ;
228
228
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
229
229
 
230
230
  // src/data/http.ts
@@ -583,6 +583,9 @@ var BUYER_PRICES_QUERY = typedOperation(`query BuyerPrices($workspaceId: ID!, $i
583
583
  listed
584
584
  basePrice
585
585
  source
586
+ minQuantity
587
+ maxQuantity
588
+ increment
586
589
  tiers {
587
590
  minQty
588
591
  price
@@ -664,6 +667,9 @@ var BUYER_CATALOG_PRICES_QUERY = typedOperation(`query BuyerCatalogPrices(
664
667
  listed
665
668
  basePrice
666
669
  source
670
+ minQuantity
671
+ maxQuantity
672
+ increment
667
673
  }
668
674
  }
669
675
  }
@@ -694,11 +700,19 @@ async function getBuyerCatalogPrices(config, query, options) {
694
700
  }
695
701
 
696
702
  // src/data/checkout-errors.ts
703
+ var quantityRuleReasonValues = [
704
+ "QUANTITY_BELOW_MIN",
705
+ "QUANTITY_ABOVE_MAX",
706
+ "QUANTITY_NOT_ON_STEP"
707
+ ];
697
708
  var checkoutErrorReasonValues = [
698
709
  "CART_REPRICED",
699
- "CART_CURRENCY_CHANGED"
710
+ "CART_CURRENCY_CHANGED",
711
+ "PRODUCT_NOT_SOLD",
712
+ ...quantityRuleReasonValues
700
713
  ];
701
714
  var REASONS = new Set(checkoutErrorReasonValues);
715
+ var QUANTITY_REASONS = new Set(quantityRuleReasonValues);
702
716
  function checkoutErrorReason(error) {
703
717
  if (!(error instanceof CmssyGraphqlError)) return void 0;
704
718
  for (const entry of error.errors) {
@@ -709,6 +723,30 @@ function checkoutErrorReason(error) {
709
723
  }
710
724
  return void 0;
711
725
  }
726
+ function isCount(value) {
727
+ return typeof value === "number" && Number.isInteger(value);
728
+ }
729
+ function quantityRuleViolation(error) {
730
+ if (!(error instanceof CmssyGraphqlError)) return void 0;
731
+ for (const entry of error.errors) {
732
+ const ext = entry.extensions;
733
+ if (!ext || typeof ext.reason !== "string") continue;
734
+ if (!QUANTITY_REASONS.has(ext.reason)) continue;
735
+ const { quantity, minQuantity, maxQuantity, increment, itemId } = ext;
736
+ if (!isCount(quantity) || !isCount(minQuantity) || !isCount(maxQuantity) || !isCount(increment)) {
737
+ continue;
738
+ }
739
+ return {
740
+ reason: ext.reason,
741
+ quantity,
742
+ minQuantity,
743
+ maxQuantity,
744
+ increment,
745
+ itemId: typeof itemId === "string" ? itemId : null
746
+ };
747
+ }
748
+ return void 0;
749
+ }
712
750
 
713
751
  // src/fields.ts
714
752
  function build(type, opts) {
@@ -1323,4 +1361,4 @@ async function verifyCmssyWebhook(options) {
1323
1361
  return parsed;
1324
1362
  }
1325
1363
 
1326
- export { BUYER_CATALOG_PRICES_QUERY, BUYER_PRICES_QUERY, CMSSY_BUYER_PRICES_MAX_ITEMS, CMSSY_EDIT_HEADER, CMSSY_EDIT_QUERY_PARAM, CMSSY_EDIT_TOKEN_HEADER, CMSSY_LOCALE_HEADER, CMSSY_RATE_LIMIT_WINDOW_MS, CMSSY_RETRY_MODES, CMSSY_SECRET_QUERY_PARAM, CmssyGraphqlError, CmssyRequestError, CmssyWebhookError, DEFAULT_CMSSY_API_URL, DEFAULT_CMSSY_EDITOR_ORIGINS, PROTOCOL_VERSION, SHORTCUT_ACTIONS, applyCmssyCsp, blocksToMeta, blocksToSchemas, buildBlockManifest, checkoutErrorReason, checkoutErrorReasonValues, createCmssyClient, createRetryingFetch, defineCmssyConfig, defineCmssyLayout, fields, getBuyerCatalogPrices, getBuyerPrices, graphqlRequest, isFormFieldRequired, isFormFieldVisible, isProtocolCompatible, isTransientRequestError, isVerifiedEditUrl, layoutRegionsToBridge, localizeHref, mediaAlt, mediaDuration, mediaType, mediaUrl, mediaUrls, mintCmssyEditToken, normalizeOrigin, orderProgress, orderProgressValues, parseEditorMessage, postToEditor, propsToSchema, registryToManifestBlocks, resolveCmssyLocale, resolveEditorOrigin, typedOperation, verifyCmssyEditToken, verifyCmssyWebhook, visibleFormFields };
1364
+ export { BUYER_CATALOG_PRICES_QUERY, BUYER_PRICES_QUERY, CMSSY_BUYER_PRICES_MAX_ITEMS, CMSSY_EDIT_HEADER, CMSSY_EDIT_QUERY_PARAM, CMSSY_EDIT_TOKEN_HEADER, CMSSY_LOCALE_HEADER, CMSSY_RATE_LIMIT_WINDOW_MS, CMSSY_RETRY_MODES, CMSSY_SECRET_QUERY_PARAM, CmssyGraphqlError, CmssyRequestError, CmssyWebhookError, DEFAULT_CMSSY_API_URL, DEFAULT_CMSSY_EDITOR_ORIGINS, PROTOCOL_VERSION, SHORTCUT_ACTIONS, applyCmssyCsp, blocksToMeta, blocksToSchemas, buildBlockManifest, checkoutErrorReason, checkoutErrorReasonValues, createCmssyClient, createRetryingFetch, defineCmssyConfig, defineCmssyLayout, fields, getBuyerCatalogPrices, getBuyerPrices, graphqlRequest, isFormFieldRequired, isFormFieldVisible, isProtocolCompatible, isTransientRequestError, isVerifiedEditUrl, layoutRegionsToBridge, localizeHref, mediaAlt, mediaDuration, mediaType, mediaUrl, mediaUrls, mintCmssyEditToken, normalizeOrigin, orderProgress, orderProgressValues, parseEditorMessage, postToEditor, propsToSchema, quantityRuleReasonValues, quantityRuleViolation, registryToManifestBlocks, resolveCmssyLocale, resolveEditorOrigin, typedOperation, verifyCmssyEditToken, verifyCmssyWebhook, visibleFormFields };
@@ -154,7 +154,7 @@ function documentText(document) {
154
154
  }
155
155
 
156
156
  // src/version.ts
157
- var CMSSY_CORE_VERSION = "19.13.0" ;
157
+ var CMSSY_CORE_VERSION = "19.14.0" ;
158
158
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
159
159
 
160
160
  // src/data/http.ts
@@ -152,7 +152,7 @@ function documentText(document) {
152
152
  }
153
153
 
154
154
  // src/version.ts
155
- var CMSSY_CORE_VERSION = "19.13.0" ;
155
+ var CMSSY_CORE_VERSION = "19.14.0" ;
156
156
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
157
157
 
158
158
  // src/data/http.ts
package/dist/internal.cjs CHANGED
@@ -154,7 +154,7 @@ function documentText(document2) {
154
154
  }
155
155
 
156
156
  // src/version.ts
157
- var CMSSY_CORE_VERSION = "19.13.0" ;
157
+ var CMSSY_CORE_VERSION = "19.14.0" ;
158
158
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
159
159
 
160
160
  // src/data/http.ts
@@ -1347,6 +1347,9 @@ var BUYER_PRICES_QUERY = typedOperation(`query BuyerPrices($workspaceId: ID!, $i
1347
1347
  listed
1348
1348
  basePrice
1349
1349
  source
1350
+ minQuantity
1351
+ maxQuantity
1352
+ increment
1350
1353
  tiers {
1351
1354
  minQty
1352
1355
  price
package/dist/internal.js CHANGED
@@ -152,7 +152,7 @@ function documentText(document2) {
152
152
  }
153
153
 
154
154
  // src/version.ts
155
- var CMSSY_CORE_VERSION = "19.13.0" ;
155
+ var CMSSY_CORE_VERSION = "19.14.0" ;
156
156
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
157
157
 
158
158
  // src/data/http.ts
@@ -1345,6 +1345,9 @@ var BUYER_PRICES_QUERY = typedOperation(`query BuyerPrices($workspaceId: ID!, $i
1345
1345
  listed
1346
1346
  basePrice
1347
1347
  source
1348
+ minQuantity
1349
+ maxQuantity
1350
+ increment
1348
1351
  tiers {
1349
1352
  minQty
1350
1353
  price
@@ -152,7 +152,7 @@ function documentText(document) {
152
152
  }
153
153
 
154
154
  // src/version.ts
155
- var CMSSY_CORE_VERSION = "19.13.0" ;
155
+ var CMSSY_CORE_VERSION = "19.14.0" ;
156
156
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
157
157
 
158
158
  // src/content/content-client.ts
package/dist/preflight.js CHANGED
@@ -150,7 +150,7 @@ function documentText(document) {
150
150
  }
151
151
 
152
152
  // src/version.ts
153
- var CMSSY_CORE_VERSION = "19.13.0" ;
153
+ var CMSSY_CORE_VERSION = "19.14.0" ;
154
154
  var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
155
155
 
156
156
  // src/content/content-client.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmssy/core",
3
- "version": "19.13.0",
3
+ "version": "19.14.0",
4
4
  "description": "Framework-agnostic cmssy gateway: GraphQL client, block/field system, editor protocol. No React, no Next.",
5
5
  "keywords": [
6
6
  "cmssy",