@cimplify/sdk 0.101.1 → 0.103.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.
Files changed (70) hide show
  1. package/dist/advanced.d.mts +3 -3
  2. package/dist/advanced.d.ts +3 -3
  3. package/dist/advanced.js +23 -22
  4. package/dist/advanced.mjs +4 -3
  5. package/dist/{chunk-QPRI2NII.js → chunk-2P4KXFB6.js} +6 -0
  6. package/dist/{chunk-4G5UWFC3.mjs → chunk-3V4DVXV3.mjs} +6 -1
  7. package/dist/{chunk-YHPMFTMN.mjs → chunk-C2JSNJUC.mjs} +406 -95
  8. package/dist/chunk-CNN7Z2IP.js +125 -0
  9. package/dist/{chunk-DKLHCZ5M.mjs → chunk-GERXZQSX.mjs} +487 -11
  10. package/dist/chunk-GOHSXBKW.mjs +105 -0
  11. package/dist/{chunk-7H6IL7CX.mjs → chunk-H7ACMHM3.mjs} +40 -15
  12. package/dist/{chunk-Z3K2D3TE.mjs → chunk-J6PNHDHL.mjs} +453 -483
  13. package/dist/{chunk-NIOUSKQQ.js → chunk-JG5CQNCB.js} +5 -0
  14. package/dist/{chunk-YER7DIOM.js → chunk-JSWJ4XDE.js} +471 -519
  15. package/dist/{chunk-DLW3RWRK.mjs → chunk-M4URVKHE.mjs} +46 -12
  16. package/dist/{chunk-WMEC5JWN.js → chunk-NNG6IFFX.js} +50 -13
  17. package/dist/{chunk-ICCCSVN3.js → chunk-QOWPGS7Z.js} +42 -16
  18. package/dist/{chunk-YDA46OZ6.js → chunk-R6OLQ33I.js} +560 -80
  19. package/dist/{chunk-H5SSGN7W.js → chunk-VIL6IQCG.js} +408 -97
  20. package/dist/{chunk-O3YUHLZL.mjs → chunk-VNPEYLB2.mjs} +5 -0
  21. package/dist/{client-Db554902.d.ts → client-BfpNjJ_a.d.mts} +93 -299
  22. package/dist/{client-CdTx7X_X.d.mts → client-DHBwvh7U.d.ts} +93 -299
  23. package/dist/{client-WkUcvRvO.d.mts → client-DpqRobY9.d.mts} +2 -2
  24. package/dist/{client-D40kI8z2.d.ts → client-Dqg2mc-7.d.ts} +2 -2
  25. package/dist/{index-D3UXgAYl.d.ts → index-C8uDqLwJ.d.ts} +14 -4
  26. package/dist/{index-BjWUkYgY.d.mts → index-e2y6AK70.d.mts} +14 -4
  27. package/dist/index.d.mts +92 -8
  28. package/dist/index.d.ts +92 -8
  29. package/dist/index.js +225 -188
  30. package/dist/index.mjs +7 -6
  31. package/dist/link-cuNVYc2s.d.mts +297 -0
  32. package/dist/link-cuNVYc2s.d.ts +297 -0
  33. package/dist/mock/cli.mjs +412 -94
  34. package/dist/mock/library.js +412 -94
  35. package/dist/mock/library.mjs +412 -94
  36. package/dist/mock/msw.js +412 -94
  37. package/dist/mock/msw.mjs +412 -94
  38. package/dist/{product-DwKdC_to.d.mts → payment-H5LoIvXU.d.mts} +207 -7
  39. package/dist/{product-DwKdC_to.d.ts → payment-H5LoIvXU.d.ts} +207 -7
  40. package/dist/{price-CiQUd_XX.d.mts → price-BvePgDXe.d.mts} +1 -1
  41. package/dist/{price-D9EOj8y8.d.ts → price-C2RqscMY.d.ts} +1 -1
  42. package/dist/react.d.mts +6 -4
  43. package/dist/react.d.ts +6 -4
  44. package/dist/react.js +203 -198
  45. package/dist/react.mjs +11 -6
  46. package/dist/{server-CeDb93WA.d.ts → server-C7FyLdrz.d.mts} +11 -9
  47. package/dist/{server-D-nSkrUr.d.mts → server-DoXIpSd7.d.ts} +11 -9
  48. package/dist/server.d.mts +4 -4
  49. package/dist/server.d.ts +4 -4
  50. package/dist/server.js +11 -10
  51. package/dist/server.mjs +5 -4
  52. package/dist/testing/msw.d.mts +2 -2
  53. package/dist/testing/msw.d.ts +2 -2
  54. package/dist/testing/msw.js +4 -3
  55. package/dist/testing/msw.mjs +3 -2
  56. package/dist/testing/suite.d.mts +6 -6
  57. package/dist/testing/suite.d.ts +6 -6
  58. package/dist/testing/suite.js +26 -25
  59. package/dist/testing/suite.mjs +7 -6
  60. package/dist/testing.d.mts +175 -45
  61. package/dist/testing.d.ts +175 -45
  62. package/dist/testing.js +86 -81
  63. package/dist/testing.mjs +8 -7
  64. package/dist/utils.d.mts +4 -4
  65. package/dist/utils.d.ts +4 -4
  66. package/dist/utils.js +37 -29
  67. package/dist/utils.mjs +2 -2
  68. package/package.json +7 -1
  69. package/dist/payment-CRqjGrx6.d.mts +0 -113
  70. package/dist/payment-DO1Z1Ip6.d.ts +0 -113
@@ -1,4 +1,4 @@
1
- import { ad as CurrencyCode, U as ChosenPrice, bl as SaleInfo, bG as UpcomingSale } from './product-DwKdC_to.js';
1
+ import { af as CurrencyCode, W as ChosenPrice, bz as SaleInfo, bW as UpcomingSale } from './payment-H5LoIvXU.js';
2
2
 
3
3
  interface ProductWithPrice {
4
4
  price_info?: ChosenPrice;
package/dist/react.d.mts CHANGED
@@ -2,13 +2,13 @@ import * as React$1 from 'react';
2
2
  import React__default, { ReactNode, PointerEvent, MouseEvent } from 'react';
3
3
  import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.mjs';
4
4
  export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.mjs';
5
- import { af as CimplifyClient, cb as OrderType, cw as ProcessCheckoutResult, ac as CheckoutStatus, ad as CheckoutStatusContext, a$ as EnrichedOrderItem, a_ as EnrichedOrder, w as Business, bA as Location, cN as ReorderResult, c9 as OrderStatus, bQ as Order, cy as QuoteBundleSelectionInput, cz as QuoteCompositeSelectionInput, cs as PriceQuote, cC as QuoteUiMessage, d7 as Service, r as AvailableSlot, ay as DayAvailability, aq as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, dg as SessionMessage, c as ActivityRecommendation, aA as DeliveryFeeResponse, aD as DeliveryOptionsResponse, bd as FxRateResponse, dq as StoreCreditBalance, ds as StorefrontBootstrap, _ as ChatWidgetStarter, W as ChatMessage, Z as ChatUploadAttachment, h as AddressInfo, n as AuthenticatedData, aZ as ElementsOptions, cm as PaymentMethodInfo, aX as ElementsCheckoutResult, cv as ProcessCheckoutOptions, ai as CimplifyElements, T as ChatAttachment, bp as LineItem, dj as Staff, d2 as Room, Y as ChatReplyContext } from './client-CdTx7X_X.mjs';
5
+ import { ac as CimplifyClient, bL as OrderType, c4 as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, aN as EnrichedOrderItem, aM as EnrichedOrder, t as Business, bd as Location, cl as ReorderResult, bJ as OrderStatus, bo as Order, c6 as QuoteBundleSelectionInput, c7 as QuoteCompositeSelectionInput, c0 as PriceQuote, ca as QuoteUiMessage, cE as Service, o as AvailableSlot, al as DayAvailability, ai as CustomerBooking, E as CancelBookingResult, d as ActivityStateResponse, cN as SessionMessage, a as ActivityRecommendation, an as DeliveryFeeResponse, aq as DeliveryOptionsResponse, aY as FxRateResponse, cW as StoreCreditBalance, cY as StorefrontBootstrap, U as ChatWidgetStarter, Q as ChatMessage, T as ChatUploadAttachment, e as AddressInfo, j as AuthenticatedData, aL as ElementsOptions, bW as PaymentMethodInfo, aJ as ElementsCheckoutResult, c3 as ProcessCheckoutOptions, af as CimplifyElements, N as ChatAttachment, b6 as LineItem, cQ as Staff, cz as Room, S as ChatReplyContext } from './client-BfpNjJ_a.mjs';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
- import { ad as CurrencyCode, b0 as Product, aT as Pagination, V as CimplifyError, be as ProductWithDetails, S as Category, aR as Money, U as ChosenPrice, E as BundleSelectionInput, a1 as ComponentSelectionInput, D as BundleSelectionData, aa as CompositeSelectionData, W as Collection, b9 as ProductTaxonomy, bA as TaxonomyWithChildren, ba as ProductTimeProfile, aj as Deal, b5 as ProductDealInfo, as as DiscountValidation, G as BundleSummary, a8 as CompositePriceResult, bv as SubscriptionWithDetails, bu as SubscriptionStatus, br as Subscription, ae as CustomAttributeDefinition, bf as PropertyFacet, b4 as ProductBillingPlan, bT as VariantView, bN as VariantAxisWithValues, f as AddOnWithOptions, y as BundleComponentView, z as BundlePriceType, a6 as CompositeGroupView, av as DisplayCart, b6 as ProductInputField, h as AddressValue, bl as SaleInfo, bG as UpcomingSale, ay as DurationUnit, t as BoundaryKind, bn as SchedulingMode, al as DepositType, af as CustomAttributeValue, b7 as ProductProperty, bh as QuantityPricingTier } from './product-DwKdC_to.mjs';
8
- import { P as ProductWithPrice } from './price-CiQUd_XX.mjs';
7
+ import { af as CurrencyCode, be as Product, aW as Pagination, X as CimplifyError, bs as ProductWithDetails, U as Category, aU as Money, W as ChosenPrice, G as BundleSelectionInput, a3 as ComponentSelectionInput, F as BundleSelectionData, ac as CompositeSelectionData, Y as Collection, bn as ProductTaxonomy, bQ as TaxonomyWithChildren, bo as ProductTimeProfile, al as Deal, bj as ProductDealInfo, au as DiscountValidation, I as BundleSummary, aa as CompositePriceResult, bK as SubscriptionWithDetails, bJ as SubscriptionStatus, bG as Subscription, ag as CustomAttributeDefinition, bt as PropertyFacet, bi as ProductBillingPlan, c7 as VariantView, c1 as VariantAxisWithValues, f as AddOnWithOptions, C as BundleComponentView, D as BundlePriceType, a8 as CompositeGroupView, ax as DisplayCart, bk as ProductInputField, i as AddressValue, bz as SaleInfo, bW as UpcomingSale, aA as DurationUnit, v as BoundaryKind, bB as SchedulingMode, an as DepositType, ah as CustomAttributeValue, bl as ProductProperty, bv as QuantityPricingTier } from './payment-H5LoIvXU.mjs';
8
+ import { P as ProductWithPrice } from './price-BvePgDXe.mjs';
9
9
  import { ClassValue } from 'clsx';
10
10
  import { Matcher } from 'react-day-picker';
11
- import './payment-CRqjGrx6.mjs';
11
+ import './link-cuNVYc2s.mjs';
12
12
 
13
13
  interface UserIdentity {
14
14
  uid: string;
@@ -1007,6 +1007,8 @@ interface UseCartResult {
1007
1007
  tax: number;
1008
1008
  taxRate: number | null;
1009
1009
  taxInclusive: boolean;
1010
+ /** Present totals gross: inclusive arithmetic or a gross_required policy. */
1011
+ displayGross: boolean;
1010
1012
  taxJurisdictionLabel: string | null;
1011
1013
  total: number;
1012
1014
  currency: string;
package/dist/react.d.ts CHANGED
@@ -2,13 +2,13 @@ import * as React$1 from 'react';
2
2
  import React__default, { ReactNode, PointerEvent, MouseEvent } from 'react';
3
3
  import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.js';
4
4
  export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.js';
5
- import { af as CimplifyClient, cb as OrderType, cw as ProcessCheckoutResult, ac as CheckoutStatus, ad as CheckoutStatusContext, a$ as EnrichedOrderItem, a_ as EnrichedOrder, w as Business, bA as Location, cN as ReorderResult, c9 as OrderStatus, bQ as Order, cy as QuoteBundleSelectionInput, cz as QuoteCompositeSelectionInput, cs as PriceQuote, cC as QuoteUiMessage, d7 as Service, r as AvailableSlot, ay as DayAvailability, aq as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, dg as SessionMessage, c as ActivityRecommendation, aA as DeliveryFeeResponse, aD as DeliveryOptionsResponse, bd as FxRateResponse, dq as StoreCreditBalance, ds as StorefrontBootstrap, _ as ChatWidgetStarter, W as ChatMessage, Z as ChatUploadAttachment, h as AddressInfo, n as AuthenticatedData, aZ as ElementsOptions, cm as PaymentMethodInfo, aX as ElementsCheckoutResult, cv as ProcessCheckoutOptions, ai as CimplifyElements, T as ChatAttachment, bp as LineItem, dj as Staff, d2 as Room, Y as ChatReplyContext } from './client-Db554902.js';
5
+ import { ac as CimplifyClient, bL as OrderType, c4 as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, aN as EnrichedOrderItem, aM as EnrichedOrder, t as Business, bd as Location, cl as ReorderResult, bJ as OrderStatus, bo as Order, c6 as QuoteBundleSelectionInput, c7 as QuoteCompositeSelectionInput, c0 as PriceQuote, ca as QuoteUiMessage, cE as Service, o as AvailableSlot, al as DayAvailability, ai as CustomerBooking, E as CancelBookingResult, d as ActivityStateResponse, cN as SessionMessage, a as ActivityRecommendation, an as DeliveryFeeResponse, aq as DeliveryOptionsResponse, aY as FxRateResponse, cW as StoreCreditBalance, cY as StorefrontBootstrap, U as ChatWidgetStarter, Q as ChatMessage, T as ChatUploadAttachment, e as AddressInfo, j as AuthenticatedData, aL as ElementsOptions, bW as PaymentMethodInfo, aJ as ElementsCheckoutResult, c3 as ProcessCheckoutOptions, af as CimplifyElements, N as ChatAttachment, b6 as LineItem, cQ as Staff, cz as Room, S as ChatReplyContext } from './client-DHBwvh7U.js';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
- import { ad as CurrencyCode, b0 as Product, aT as Pagination, V as CimplifyError, be as ProductWithDetails, S as Category, aR as Money, U as ChosenPrice, E as BundleSelectionInput, a1 as ComponentSelectionInput, D as BundleSelectionData, aa as CompositeSelectionData, W as Collection, b9 as ProductTaxonomy, bA as TaxonomyWithChildren, ba as ProductTimeProfile, aj as Deal, b5 as ProductDealInfo, as as DiscountValidation, G as BundleSummary, a8 as CompositePriceResult, bv as SubscriptionWithDetails, bu as SubscriptionStatus, br as Subscription, ae as CustomAttributeDefinition, bf as PropertyFacet, b4 as ProductBillingPlan, bT as VariantView, bN as VariantAxisWithValues, f as AddOnWithOptions, y as BundleComponentView, z as BundlePriceType, a6 as CompositeGroupView, av as DisplayCart, b6 as ProductInputField, h as AddressValue, bl as SaleInfo, bG as UpcomingSale, ay as DurationUnit, t as BoundaryKind, bn as SchedulingMode, al as DepositType, af as CustomAttributeValue, b7 as ProductProperty, bh as QuantityPricingTier } from './product-DwKdC_to.js';
8
- import { P as ProductWithPrice } from './price-D9EOj8y8.js';
7
+ import { af as CurrencyCode, be as Product, aW as Pagination, X as CimplifyError, bs as ProductWithDetails, U as Category, aU as Money, W as ChosenPrice, G as BundleSelectionInput, a3 as ComponentSelectionInput, F as BundleSelectionData, ac as CompositeSelectionData, Y as Collection, bn as ProductTaxonomy, bQ as TaxonomyWithChildren, bo as ProductTimeProfile, al as Deal, bj as ProductDealInfo, au as DiscountValidation, I as BundleSummary, aa as CompositePriceResult, bK as SubscriptionWithDetails, bJ as SubscriptionStatus, bG as Subscription, ag as CustomAttributeDefinition, bt as PropertyFacet, bi as ProductBillingPlan, c7 as VariantView, c1 as VariantAxisWithValues, f as AddOnWithOptions, C as BundleComponentView, D as BundlePriceType, a8 as CompositeGroupView, ax as DisplayCart, bk as ProductInputField, i as AddressValue, bz as SaleInfo, bW as UpcomingSale, aA as DurationUnit, v as BoundaryKind, bB as SchedulingMode, an as DepositType, ah as CustomAttributeValue, bl as ProductProperty, bv as QuantityPricingTier } from './payment-H5LoIvXU.js';
8
+ import { P as ProductWithPrice } from './price-C2RqscMY.js';
9
9
  import { ClassValue } from 'clsx';
10
10
  import { Matcher } from 'react-day-picker';
11
- import './payment-DO1Z1Ip6.js';
11
+ import './link-cuNVYc2s.js';
12
12
 
13
13
  interface UserIdentity {
14
14
  uid: string;
@@ -1007,6 +1007,8 @@ interface UseCartResult {
1007
1007
  tax: number;
1008
1008
  taxRate: number | null;
1009
1009
  taxInclusive: boolean;
1010
+ /** Present totals gross: inclusive arithmetic or a gross_required policy. */
1011
+ displayGross: boolean;
1010
1012
  taxJurisdictionLabel: string | null;
1011
1013
  total: number;
1012
1014
  currency: string;