@cimplify/sdk 0.6.11 → 0.7.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/react.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { C as CimplifyClient, _ as ProcessCheckoutResult, a0 as CheckoutStatus, a1 as CheckoutStatusContext, cT as Location, cQ as Business, aL as Product, aM as ProductWithDetails, a_ as Category, bH as BundleSelectionInput, bi as ComponentSelectionInput, cj as Order, b0 as Collection, b7 as BundleWithDetails, be as CompositeWithDetails, bj as CompositePriceResult, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, u as CimplifyElements, y as ElementsOptions, eh as AuthenticatedData, ed as AddressInfo, ee as PaymentMethodInfo, ej as ElementsCheckoutResult, Z as ProcessCheckoutOptions } from './client-BngAGN0v.mjs';
1
+ import { C as CimplifyClient, _ as ProcessCheckoutResult, a0 as CheckoutStatus, a1 as CheckoutStatusContext, br as Location, bo as Business, aT as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, u as CimplifyElements, y as ElementsOptions, cQ as AuthenticatedData, cM as AddressInfo, cN as PaymentMethodInfo, cS as ElementsCheckoutResult, Z as ProcessCheckoutOptions } from './client-hccS_JMl.mjs';
2
2
  import React, { ReactNode } from 'react';
3
- import { h as CimplifyError, C as CurrencyCode } from './payment-Cu75tmUc.mjs';
3
+ import { q as Product, d as Pagination, h as CimplifyError, r as ProductWithDetails, K as Category, aw as BundleSelectionInput, a7 as ComponentSelectionInput, N as Collection, X as BundleWithDetails, a3 as CompositeWithDetails, a8 as CompositePriceResult, C as CurrencyCode } from './payment-CLIWNMaP.mjs';
4
4
  import { A as AdSlot, a as AdPosition, e as AdContextValue } from './ads-t3FBTU8p.mjs';
5
5
  export { c as AdConfig } from './ads-t3FBTU8p.mjs';
6
6
 
@@ -107,6 +107,9 @@ interface UseProductsOptions {
107
107
  }
108
108
  interface UseProductsResult {
109
109
  products: Product[];
110
+ is_complete: boolean;
111
+ total_available?: number;
112
+ pagination?: Pagination;
110
113
  isLoading: boolean;
111
114
  error: CimplifyError | null;
112
115
  refetch: () => Promise<void>;
package/dist/react.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { C as CimplifyClient, _ as ProcessCheckoutResult, a0 as CheckoutStatus, a1 as CheckoutStatusContext, cT as Location, cQ as Business, aL as Product, aM as ProductWithDetails, a_ as Category, bH as BundleSelectionInput, bi as ComponentSelectionInput, cj as Order, b0 as Collection, b7 as BundleWithDetails, be as CompositeWithDetails, bj as CompositePriceResult, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, u as CimplifyElements, y as ElementsOptions, eh as AuthenticatedData, ed as AddressInfo, ee as PaymentMethodInfo, ej as ElementsCheckoutResult, Z as ProcessCheckoutOptions } from './client-DM3-ZG29.js';
1
+ import { C as CimplifyClient, _ as ProcessCheckoutResult, a0 as CheckoutStatus, a1 as CheckoutStatusContext, br as Location, bo as Business, aT as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, u as CimplifyElements, y as ElementsOptions, cQ as AuthenticatedData, cM as AddressInfo, cN as PaymentMethodInfo, cS as ElementsCheckoutResult, Z as ProcessCheckoutOptions } from './client-CyBNao15.js';
2
2
  import React, { ReactNode } from 'react';
3
- import { h as CimplifyError, C as CurrencyCode } from './payment-Cu75tmUc.js';
3
+ import { q as Product, d as Pagination, h as CimplifyError, r as ProductWithDetails, K as Category, aw as BundleSelectionInput, a7 as ComponentSelectionInput, N as Collection, X as BundleWithDetails, a3 as CompositeWithDetails, a8 as CompositePriceResult, C as CurrencyCode } from './payment-CLIWNMaP.js';
4
4
  import { A as AdSlot, a as AdPosition, e as AdContextValue } from './ads-t3FBTU8p.js';
5
5
  export { c as AdConfig } from './ads-t3FBTU8p.js';
6
6
 
@@ -107,6 +107,9 @@ interface UseProductsOptions {
107
107
  }
108
108
  interface UseProductsResult {
109
109
  products: Product[];
110
+ is_complete: boolean;
111
+ total_available?: number;
112
+ pagination?: Pagination;
110
113
  isLoading: boolean;
111
114
  error: CimplifyError | null;
112
115
  refetch: () => Promise<void>;