randmarcomps 1.57.0 → 1.59.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.
@@ -145,6 +145,15 @@ export declare interface NavRoute {
145
145
  showInNav?: boolean;
146
146
  }
147
147
 
148
+ declare interface Opportunity {
149
+ Opportunity: string;
150
+ BidNumber: string;
151
+ Price: number;
152
+ Rebate: number;
153
+ EndDate?: string;
154
+ Active?: boolean;
155
+ }
156
+
148
157
  export declare function ProductCard({ product, addToCart, syncToShopify, viewProductAction, addToCartAction, syncToShopifyAction, isActionLoading, }: ProductCardProps): JSX.Element;
149
158
 
150
159
  export declare interface ProductCardProps {
@@ -171,14 +180,7 @@ export declare interface ProductCardProps {
171
180
  AvailableQuantity?: number;
172
181
  }[];
173
182
  };
174
- Opportunities?: {
175
- Opportunity: string;
176
- BidNumber: string;
177
- Price: number;
178
- Rebate: number;
179
- EndDate?: string;
180
- Active?: boolean;
181
- }[];
183
+ Opportunities?: Opportunity[];
182
184
  InstantRebate?: {
183
185
  EndDate?: string;
184
186
  };
@@ -190,6 +192,7 @@ export declare interface ProductCardProps {
190
192
  viewProductAction?: () => void;
191
193
  addToCartAction?: (state: {
192
194
  quantity: number;
195
+ bidNumber: string | null;
193
196
  }) => void;
194
197
  syncToShopifyAction?: () => void;
195
198
  isActionLoading?: boolean;