@cmssy/core 19.14.0 → 19.15.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 +39 -1
- package/dist/index.d.cts +20 -2
- package/dist/index.d.ts +20 -2
- package/dist/index.js +39 -2
- package/dist/internal/locale.cjs +1 -1
- package/dist/internal/locale.js +1 -1
- package/dist/internal.cjs +18 -1
- package/dist/internal.js +18 -1
- package/dist/preflight.cjs +1 -1
- package/dist/preflight.js +1 -1
- package/package.json +1 -1
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.
|
|
228
|
+
var CMSSY_CORE_VERSION = "19.15.0" ;
|
|
229
229
|
var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
|
|
230
230
|
|
|
231
231
|
// src/data/http.ts
|
|
@@ -573,6 +573,7 @@ function createCmssyClient(input) {
|
|
|
573
573
|
|
|
574
574
|
// src/data/buyer-prices.ts
|
|
575
575
|
var CMSSY_BUYER_PRICES_MAX_ITEMS = 100;
|
|
576
|
+
var priceDisplayModeValues = ["gross", "net"];
|
|
576
577
|
var BUYER_PRICES_QUERY = typedOperation(`query BuyerPrices($workspaceId: ID!, $items: [PriceQueryItem!]!) {
|
|
577
578
|
account {
|
|
578
579
|
prices(workspaceId: $workspaceId, items: $items) {
|
|
@@ -591,6 +592,23 @@ var BUYER_PRICES_QUERY = typedOperation(`query BuyerPrices($workspaceId: ID!, $i
|
|
|
591
592
|
minQty
|
|
592
593
|
price
|
|
593
594
|
}
|
|
595
|
+
displayMode
|
|
596
|
+
taxRate
|
|
597
|
+
priceAmount {
|
|
598
|
+
net
|
|
599
|
+
tax
|
|
600
|
+
gross
|
|
601
|
+
}
|
|
602
|
+
priceMaxAmount {
|
|
603
|
+
net
|
|
604
|
+
tax
|
|
605
|
+
gross
|
|
606
|
+
}
|
|
607
|
+
basePriceAmount {
|
|
608
|
+
net
|
|
609
|
+
tax
|
|
610
|
+
gross
|
|
611
|
+
}
|
|
594
612
|
}
|
|
595
613
|
}
|
|
596
614
|
}`);
|
|
@@ -660,6 +678,7 @@ var BUYER_CATALOG_PRICES_QUERY = typedOperation(`query BuyerCatalogPrices(
|
|
|
660
678
|
) {
|
|
661
679
|
total
|
|
662
680
|
hasMore
|
|
681
|
+
displayMode
|
|
663
682
|
items {
|
|
664
683
|
recordId
|
|
665
684
|
currency
|
|
@@ -671,6 +690,23 @@ var BUYER_CATALOG_PRICES_QUERY = typedOperation(`query BuyerCatalogPrices(
|
|
|
671
690
|
minQuantity
|
|
672
691
|
maxQuantity
|
|
673
692
|
increment
|
|
693
|
+
displayMode
|
|
694
|
+
taxRate
|
|
695
|
+
priceAmount {
|
|
696
|
+
net
|
|
697
|
+
tax
|
|
698
|
+
gross
|
|
699
|
+
}
|
|
700
|
+
priceMaxAmount {
|
|
701
|
+
net
|
|
702
|
+
tax
|
|
703
|
+
gross
|
|
704
|
+
}
|
|
705
|
+
basePriceAmount {
|
|
706
|
+
net
|
|
707
|
+
tax
|
|
708
|
+
gross
|
|
709
|
+
}
|
|
674
710
|
}
|
|
675
711
|
}
|
|
676
712
|
}
|
|
@@ -709,6 +745,7 @@ var quantityRuleReasonValues = [
|
|
|
709
745
|
var checkoutErrorReasonValues = [
|
|
710
746
|
"CART_REPRICED",
|
|
711
747
|
"CART_CURRENCY_CHANGED",
|
|
748
|
+
"BUYER_CHANGED",
|
|
712
749
|
"PRODUCT_NOT_SOLD",
|
|
713
750
|
...quantityRuleReasonValues
|
|
714
751
|
];
|
|
@@ -1431,6 +1468,7 @@ exports.orderProgress = orderProgress;
|
|
|
1431
1468
|
exports.orderProgressValues = orderProgressValues;
|
|
1432
1469
|
exports.parseEditorMessage = parseEditorMessage;
|
|
1433
1470
|
exports.postToEditor = postToEditor;
|
|
1471
|
+
exports.priceDisplayModeValues = priceDisplayModeValues;
|
|
1434
1472
|
exports.propsToSchema = propsToSchema;
|
|
1435
1473
|
exports.quantityRuleReasonValues = quantityRuleReasonValues;
|
|
1436
1474
|
exports.quantityRuleViolation = quantityRuleViolation;
|
package/dist/index.d.cts
CHANGED
|
@@ -16,6 +16,13 @@ interface CmssyPriceTier {
|
|
|
16
16
|
minQty: number;
|
|
17
17
|
price: number;
|
|
18
18
|
}
|
|
19
|
+
declare const priceDisplayModeValues: readonly ["gross", "net"];
|
|
20
|
+
type CmssyPriceDisplayMode = (typeof priceDisplayModeValues)[number];
|
|
21
|
+
interface CmssyTaxedAmount {
|
|
22
|
+
net: number;
|
|
23
|
+
tax: number;
|
|
24
|
+
gross: number;
|
|
25
|
+
}
|
|
19
26
|
interface CmssyBuyerPrice {
|
|
20
27
|
recordId: string;
|
|
21
28
|
variantKey: string | null;
|
|
@@ -29,6 +36,11 @@ interface CmssyBuyerPrice {
|
|
|
29
36
|
maxQuantity: number;
|
|
30
37
|
increment: number;
|
|
31
38
|
tiers: CmssyPriceTier[];
|
|
39
|
+
displayMode: CmssyPriceDisplayMode;
|
|
40
|
+
taxRate: number;
|
|
41
|
+
priceAmount: CmssyTaxedAmount;
|
|
42
|
+
priceMaxAmount: CmssyTaxedAmount | null;
|
|
43
|
+
basePriceAmount: CmssyTaxedAmount;
|
|
32
44
|
}
|
|
33
45
|
interface CmssyMemberPriceList {
|
|
34
46
|
name: string;
|
|
@@ -63,11 +75,17 @@ interface CmssyBuyerCatalogPrice {
|
|
|
63
75
|
minQuantity: number;
|
|
64
76
|
maxQuantity: number;
|
|
65
77
|
increment: number;
|
|
78
|
+
displayMode: CmssyPriceDisplayMode;
|
|
79
|
+
taxRate: number;
|
|
80
|
+
priceAmount: CmssyTaxedAmount;
|
|
81
|
+
priceMaxAmount: CmssyTaxedAmount | null;
|
|
82
|
+
basePriceAmount: CmssyTaxedAmount;
|
|
66
83
|
}
|
|
67
84
|
interface CmssyBuyerCatalogPage {
|
|
68
85
|
items: CmssyBuyerCatalogPrice[];
|
|
69
86
|
total: number;
|
|
70
87
|
hasMore: boolean;
|
|
88
|
+
displayMode: CmssyPriceDisplayMode;
|
|
71
89
|
}
|
|
72
90
|
interface BuyerCatalogPricesVariables {
|
|
73
91
|
workspaceId: string;
|
|
@@ -94,7 +112,7 @@ declare function getBuyerCatalogPrices(config: CmssyClientConfig, query: GetBuye
|
|
|
94
112
|
|
|
95
113
|
declare const quantityRuleReasonValues: readonly ["QUANTITY_BELOW_MIN", "QUANTITY_ABOVE_MAX", "QUANTITY_NOT_ON_STEP"];
|
|
96
114
|
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"];
|
|
115
|
+
declare const checkoutErrorReasonValues: readonly ["CART_REPRICED", "CART_CURRENCY_CHANGED", "BUYER_CHANGED", "PRODUCT_NOT_SOLD", "QUANTITY_BELOW_MIN", "QUANTITY_ABOVE_MAX", "QUANTITY_NOT_ON_STEP"];
|
|
98
116
|
type CmssyCheckoutErrorReason = (typeof checkoutErrorReasonValues)[number];
|
|
99
117
|
interface CmssyQuantityRuleViolation {
|
|
100
118
|
reason: CmssyQuantityRuleReason;
|
|
@@ -275,4 +293,4 @@ declare class CmssyWebhookError extends Error {
|
|
|
275
293
|
}
|
|
276
294
|
declare function verifyCmssyWebhook(options: VerifyCmssyWebhookOptions): Promise<CmssyWebhookEvent>;
|
|
277
295
|
|
|
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 };
|
|
296
|
+
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 CmssyPriceDisplayMode, type CmssyPriceQueryItem, type CmssyPriceTier, type CmssyQuantityRuleReason, type CmssyQuantityRuleViolation, type CmssyTaxedAmount, 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, priceDisplayModeValues, propsToSchema, quantityRuleReasonValues, quantityRuleViolation, registryToManifestBlocks, verifyCmssyEditToken, verifyCmssyWebhook, visibleFormFields };
|
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,13 @@ interface CmssyPriceTier {
|
|
|
16
16
|
minQty: number;
|
|
17
17
|
price: number;
|
|
18
18
|
}
|
|
19
|
+
declare const priceDisplayModeValues: readonly ["gross", "net"];
|
|
20
|
+
type CmssyPriceDisplayMode = (typeof priceDisplayModeValues)[number];
|
|
21
|
+
interface CmssyTaxedAmount {
|
|
22
|
+
net: number;
|
|
23
|
+
tax: number;
|
|
24
|
+
gross: number;
|
|
25
|
+
}
|
|
19
26
|
interface CmssyBuyerPrice {
|
|
20
27
|
recordId: string;
|
|
21
28
|
variantKey: string | null;
|
|
@@ -29,6 +36,11 @@ interface CmssyBuyerPrice {
|
|
|
29
36
|
maxQuantity: number;
|
|
30
37
|
increment: number;
|
|
31
38
|
tiers: CmssyPriceTier[];
|
|
39
|
+
displayMode: CmssyPriceDisplayMode;
|
|
40
|
+
taxRate: number;
|
|
41
|
+
priceAmount: CmssyTaxedAmount;
|
|
42
|
+
priceMaxAmount: CmssyTaxedAmount | null;
|
|
43
|
+
basePriceAmount: CmssyTaxedAmount;
|
|
32
44
|
}
|
|
33
45
|
interface CmssyMemberPriceList {
|
|
34
46
|
name: string;
|
|
@@ -63,11 +75,17 @@ interface CmssyBuyerCatalogPrice {
|
|
|
63
75
|
minQuantity: number;
|
|
64
76
|
maxQuantity: number;
|
|
65
77
|
increment: number;
|
|
78
|
+
displayMode: CmssyPriceDisplayMode;
|
|
79
|
+
taxRate: number;
|
|
80
|
+
priceAmount: CmssyTaxedAmount;
|
|
81
|
+
priceMaxAmount: CmssyTaxedAmount | null;
|
|
82
|
+
basePriceAmount: CmssyTaxedAmount;
|
|
66
83
|
}
|
|
67
84
|
interface CmssyBuyerCatalogPage {
|
|
68
85
|
items: CmssyBuyerCatalogPrice[];
|
|
69
86
|
total: number;
|
|
70
87
|
hasMore: boolean;
|
|
88
|
+
displayMode: CmssyPriceDisplayMode;
|
|
71
89
|
}
|
|
72
90
|
interface BuyerCatalogPricesVariables {
|
|
73
91
|
workspaceId: string;
|
|
@@ -94,7 +112,7 @@ declare function getBuyerCatalogPrices(config: CmssyClientConfig, query: GetBuye
|
|
|
94
112
|
|
|
95
113
|
declare const quantityRuleReasonValues: readonly ["QUANTITY_BELOW_MIN", "QUANTITY_ABOVE_MAX", "QUANTITY_NOT_ON_STEP"];
|
|
96
114
|
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"];
|
|
115
|
+
declare const checkoutErrorReasonValues: readonly ["CART_REPRICED", "CART_CURRENCY_CHANGED", "BUYER_CHANGED", "PRODUCT_NOT_SOLD", "QUANTITY_BELOW_MIN", "QUANTITY_ABOVE_MAX", "QUANTITY_NOT_ON_STEP"];
|
|
98
116
|
type CmssyCheckoutErrorReason = (typeof checkoutErrorReasonValues)[number];
|
|
99
117
|
interface CmssyQuantityRuleViolation {
|
|
100
118
|
reason: CmssyQuantityRuleReason;
|
|
@@ -275,4 +293,4 @@ declare class CmssyWebhookError extends Error {
|
|
|
275
293
|
}
|
|
276
294
|
declare function verifyCmssyWebhook(options: VerifyCmssyWebhookOptions): Promise<CmssyWebhookEvent>;
|
|
277
295
|
|
|
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 };
|
|
296
|
+
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 CmssyPriceDisplayMode, type CmssyPriceQueryItem, type CmssyPriceTier, type CmssyQuantityRuleReason, type CmssyQuantityRuleViolation, type CmssyTaxedAmount, 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, priceDisplayModeValues, 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.
|
|
227
|
+
var CMSSY_CORE_VERSION = "19.15.0" ;
|
|
228
228
|
var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
|
|
229
229
|
|
|
230
230
|
// src/data/http.ts
|
|
@@ -572,6 +572,7 @@ function createCmssyClient(input) {
|
|
|
572
572
|
|
|
573
573
|
// src/data/buyer-prices.ts
|
|
574
574
|
var CMSSY_BUYER_PRICES_MAX_ITEMS = 100;
|
|
575
|
+
var priceDisplayModeValues = ["gross", "net"];
|
|
575
576
|
var BUYER_PRICES_QUERY = typedOperation(`query BuyerPrices($workspaceId: ID!, $items: [PriceQueryItem!]!) {
|
|
576
577
|
account {
|
|
577
578
|
prices(workspaceId: $workspaceId, items: $items) {
|
|
@@ -590,6 +591,23 @@ var BUYER_PRICES_QUERY = typedOperation(`query BuyerPrices($workspaceId: ID!, $i
|
|
|
590
591
|
minQty
|
|
591
592
|
price
|
|
592
593
|
}
|
|
594
|
+
displayMode
|
|
595
|
+
taxRate
|
|
596
|
+
priceAmount {
|
|
597
|
+
net
|
|
598
|
+
tax
|
|
599
|
+
gross
|
|
600
|
+
}
|
|
601
|
+
priceMaxAmount {
|
|
602
|
+
net
|
|
603
|
+
tax
|
|
604
|
+
gross
|
|
605
|
+
}
|
|
606
|
+
basePriceAmount {
|
|
607
|
+
net
|
|
608
|
+
tax
|
|
609
|
+
gross
|
|
610
|
+
}
|
|
593
611
|
}
|
|
594
612
|
}
|
|
595
613
|
}`);
|
|
@@ -659,6 +677,7 @@ var BUYER_CATALOG_PRICES_QUERY = typedOperation(`query BuyerCatalogPrices(
|
|
|
659
677
|
) {
|
|
660
678
|
total
|
|
661
679
|
hasMore
|
|
680
|
+
displayMode
|
|
662
681
|
items {
|
|
663
682
|
recordId
|
|
664
683
|
currency
|
|
@@ -670,6 +689,23 @@ var BUYER_CATALOG_PRICES_QUERY = typedOperation(`query BuyerCatalogPrices(
|
|
|
670
689
|
minQuantity
|
|
671
690
|
maxQuantity
|
|
672
691
|
increment
|
|
692
|
+
displayMode
|
|
693
|
+
taxRate
|
|
694
|
+
priceAmount {
|
|
695
|
+
net
|
|
696
|
+
tax
|
|
697
|
+
gross
|
|
698
|
+
}
|
|
699
|
+
priceMaxAmount {
|
|
700
|
+
net
|
|
701
|
+
tax
|
|
702
|
+
gross
|
|
703
|
+
}
|
|
704
|
+
basePriceAmount {
|
|
705
|
+
net
|
|
706
|
+
tax
|
|
707
|
+
gross
|
|
708
|
+
}
|
|
673
709
|
}
|
|
674
710
|
}
|
|
675
711
|
}
|
|
@@ -708,6 +744,7 @@ var quantityRuleReasonValues = [
|
|
|
708
744
|
var checkoutErrorReasonValues = [
|
|
709
745
|
"CART_REPRICED",
|
|
710
746
|
"CART_CURRENCY_CHANGED",
|
|
747
|
+
"BUYER_CHANGED",
|
|
711
748
|
"PRODUCT_NOT_SOLD",
|
|
712
749
|
...quantityRuleReasonValues
|
|
713
750
|
];
|
|
@@ -1361,4 +1398,4 @@ async function verifyCmssyWebhook(options) {
|
|
|
1361
1398
|
return parsed;
|
|
1362
1399
|
}
|
|
1363
1400
|
|
|
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 };
|
|
1401
|
+
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, priceDisplayModeValues, propsToSchema, quantityRuleReasonValues, quantityRuleViolation, registryToManifestBlocks, resolveCmssyLocale, resolveEditorOrigin, typedOperation, verifyCmssyEditToken, verifyCmssyWebhook, visibleFormFields };
|
package/dist/internal/locale.cjs
CHANGED
package/dist/internal/locale.js
CHANGED
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.
|
|
157
|
+
var CMSSY_CORE_VERSION = "19.15.0" ;
|
|
158
158
|
var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
|
|
159
159
|
|
|
160
160
|
// src/data/http.ts
|
|
@@ -1354,6 +1354,23 @@ var BUYER_PRICES_QUERY = typedOperation(`query BuyerPrices($workspaceId: ID!, $i
|
|
|
1354
1354
|
minQty
|
|
1355
1355
|
price
|
|
1356
1356
|
}
|
|
1357
|
+
displayMode
|
|
1358
|
+
taxRate
|
|
1359
|
+
priceAmount {
|
|
1360
|
+
net
|
|
1361
|
+
tax
|
|
1362
|
+
gross
|
|
1363
|
+
}
|
|
1364
|
+
priceMaxAmount {
|
|
1365
|
+
net
|
|
1366
|
+
tax
|
|
1367
|
+
gross
|
|
1368
|
+
}
|
|
1369
|
+
basePriceAmount {
|
|
1370
|
+
net
|
|
1371
|
+
tax
|
|
1372
|
+
gross
|
|
1373
|
+
}
|
|
1357
1374
|
}
|
|
1358
1375
|
}
|
|
1359
1376
|
}`);
|
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.
|
|
155
|
+
var CMSSY_CORE_VERSION = "19.15.0" ;
|
|
156
156
|
var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
|
|
157
157
|
|
|
158
158
|
// src/data/http.ts
|
|
@@ -1352,6 +1352,23 @@ var BUYER_PRICES_QUERY = typedOperation(`query BuyerPrices($workspaceId: ID!, $i
|
|
|
1352
1352
|
minQty
|
|
1353
1353
|
price
|
|
1354
1354
|
}
|
|
1355
|
+
displayMode
|
|
1356
|
+
taxRate
|
|
1357
|
+
priceAmount {
|
|
1358
|
+
net
|
|
1359
|
+
tax
|
|
1360
|
+
gross
|
|
1361
|
+
}
|
|
1362
|
+
priceMaxAmount {
|
|
1363
|
+
net
|
|
1364
|
+
tax
|
|
1365
|
+
gross
|
|
1366
|
+
}
|
|
1367
|
+
basePriceAmount {
|
|
1368
|
+
net
|
|
1369
|
+
tax
|
|
1370
|
+
gross
|
|
1371
|
+
}
|
|
1355
1372
|
}
|
|
1356
1373
|
}
|
|
1357
1374
|
}`);
|
package/dist/preflight.cjs
CHANGED
|
@@ -152,7 +152,7 @@ function documentText(document) {
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
// src/version.ts
|
|
155
|
-
var CMSSY_CORE_VERSION = "19.
|
|
155
|
+
var CMSSY_CORE_VERSION = "19.15.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.
|
|
153
|
+
var CMSSY_CORE_VERSION = "19.15.0" ;
|
|
154
154
|
var CMSSY_USER_AGENT = `@cmssy/core/${CMSSY_CORE_VERSION}`;
|
|
155
155
|
|
|
156
156
|
// src/content/content-client.ts
|