randmarcomps 1.63.0 → 1.65.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.
@@ -94,16 +94,6 @@ export declare const DialogTitle: React_2.ForwardRefExoticComponent<Omit<DialogP
94
94
 
95
95
  export declare const DialogTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
96
96
 
97
- declare interface IManufacturerCategory {
98
- AutoReorder: boolean;
99
- CategoryCode: string;
100
- CategoryName: string;
101
- ManufacturerId: string;
102
- Niche: string;
103
- QualificationRequired: boolean;
104
- Starred: boolean;
105
- }
106
-
107
97
  export declare const Input: React_2.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
108
98
 
109
99
  export declare function InputOTP({ className, containerClassName, ...props }: React_2.ComponentProps<typeof OTPInput> & {
@@ -123,194 +113,6 @@ export declare interface InputProps extends Omit<React_2.ComponentProps<"input">
123
113
  onChange?: (e: React_2.ChangeEvent<HTMLInputElement>) => void;
124
114
  }
125
115
 
126
- declare interface IOpportunityDetail {
127
- Active: boolean;
128
- BidNumber: string;
129
- EndDate: string;
130
- Opportunity: string;
131
- ManufacturerId: string;
132
- Price: number;
133
- Product: IProduct;
134
- RandmarSKU: string;
135
- Rebate: number;
136
- }
137
-
138
- declare interface IProduct {
139
- ManufacturerName: string;
140
- ManufacturerId: string;
141
- Manufacturer: IProductManufacturer;
142
- Orders: IProductOrder[];
143
- Shipments: IProductShipment[];
144
- Invoices: IProductInvoice[];
145
- Credits: IProductCredit[];
146
- Returns: IProductReturn[];
147
- InstantRebate: IProductInstantRebate;
148
- Newest: IProductNewest[];
149
- RetailPricing: IProductRetailPricing[];
150
- ManufacturerCategory: IManufacturerCategory;
151
- Opportunities: IOpportunityDetail[];
152
- Distribution?: {
153
- Price: number;
154
- RegularPrice: number;
155
- MAP: number;
156
- Inventory: IWarehouseInventory[];
157
- };
158
- MPN: string;
159
- RandmarSKU: string;
160
- RandmarTitle: string;
161
- UPC: string;
162
- UnitWeight: number;
163
- SkidQuantity: number;
164
- MasterCarton: number;
165
- CanBeAllocated: boolean;
166
- AvailableToBuy: boolean;
167
- SerialNumber: boolean;
168
- AutoUpdate: boolean;
169
- LastMaintainedDate: number;
170
- Category: string;
171
- CreatedBy: string;
172
- ProductType: string;
173
- ShopifyProduct: object;
174
- BodyHTML: string;
175
- Title: string;
176
- MAP: number;
177
- State: string;
178
- OpportunityOnly: boolean;
179
- Receipts: IReceivingProduct[];
180
- VoiceoverCaption: string;
181
- SceneName: string;
182
- Require3DScan: boolean;
183
- TransparencyCode: boolean;
184
- CountryCodeOfOrigin: string | undefined;
185
- }
186
-
187
- declare interface IProductCredit {
188
- RandmarSKU: string;
189
- QuantityOrdered: number;
190
- QuantityShipped: number;
191
- CreditNumber: string;
192
- Location: string;
193
- ManufacturerPartNumber: string;
194
- Category: string;
195
- ResellerId: string;
196
- ShipToName: string;
197
- UnitPrice: number;
198
- PONumber: string;
199
- CreditDate: number;
200
- }
201
-
202
- declare interface IProductInstantRebate {
203
- RebateAmount: number;
204
- StartDate: string;
205
- EndDate: string;
206
- MPN: string;
207
- RandmarTitle: string;
208
- RandmarSKU: string;
209
- UPC: string;
210
- }
211
-
212
- declare interface IProductInvoice {
213
- RandmarSKU: string;
214
- OrderNumber: string;
215
- QuantityOrdered: number;
216
- QuantityShipped: number;
217
- InvoiceNumber: string;
218
- Location: string;
219
- ManufacturerPartNumber: string;
220
- Category: string;
221
- ResellerId: string;
222
- ShipToName: string;
223
- UnitPrice: number;
224
- PONumber: string;
225
- InvoiceDate: number;
226
- }
227
-
228
- declare interface IProductManufacturer {
229
- ManufacturerId: string;
230
- PublicEmail: string;
231
- PublicName: string;
232
- Website: string;
233
- }
234
-
235
- declare interface IProductNewest {
236
- MPN: string;
237
- RandmarTitle: string;
238
- RandmarSKU: string;
239
- UPC: string;
240
- LastMaintainedDate: number;
241
- }
242
-
243
- declare interface IProductOrder {
244
- RandmarSKU: string;
245
- OrderNumber: string;
246
- Location: string;
247
- ResellerId: string;
248
- QuantityOrdered: number;
249
- QuantityBackOrdered: number;
250
- ShipToName: string;
251
- UnitPrice: number;
252
- PONumber: string;
253
- ManufacturerPartNumber: string;
254
- ShipmentDate: string;
255
- OrderDate: number;
256
- }
257
-
258
- declare interface IProductRetailPricing {
259
- RetailerName: string;
260
- Price: number;
261
- }
262
-
263
- declare interface IProductReturn {
264
- RandmarSKU: string;
265
- Quantity: number;
266
- InvoiceNumber: string;
267
- CreditNumber: string;
268
- WarehouseLocation: string;
269
- ResellerId: number;
270
- ContactEmail: string;
271
- ReasonForReturn: string;
272
- ReturnNumber: string;
273
- Status: string;
274
- RequestDate: string;
275
- }
276
-
277
- declare interface IProductShipment {
278
- ShipmentNumber: string;
279
- Location: string;
280
- QuantityOrdered: number;
281
- QuantityShipped: number;
282
- UnitPrice: number;
283
- OrderNumber: string;
284
- ShipToName: string;
285
- PONumber: string;
286
- ManufacturerPartNumber: string;
287
- RandmarSKU: string;
288
- ShipmentDate: string;
289
- }
290
-
291
- declare interface IReceivingProduct {
292
- RandmarSKU: string;
293
- MPN: string;
294
- Description: string;
295
- Location: string;
296
- Quantity: number;
297
- VendorName: string;
298
- ReceiptDate: number;
299
- }
300
-
301
- declare interface IWarehouseInventory {
302
- RandmarSKU: string;
303
- WarehouseId: string;
304
- WarehouseType: string;
305
- Name: string;
306
- City: string;
307
- Province: string;
308
- Country: string;
309
- AvailableQuantity: number;
310
- PurchaseOrderQuantity: number;
311
- BinLocation: string;
312
- }
313
-
314
116
  export declare function Label({ className, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root>): JSX.Element;
315
117
 
316
118
  export declare function Layout({ children, rightMenu, routes, footer, handleValidSearch, dashboardTitle, onSignOut, searchPlaceholder }: LayoutProps): JSX.Element;
@@ -344,10 +146,37 @@ export declare interface NavRoute {
344
146
  showInNav?: boolean;
345
147
  }
346
148
 
347
- export declare function ProductCard({ product, addToCart, syncToShopify, defaultOpportunityNumber, viewProductAction, addToCartAction, isAddToCartActionLoading, syncToShopifyAction, isSyncToShopifyActionLoading, }: ProductCardProps): JSX.Element;
149
+ declare interface Product {
150
+ Title?: string;
151
+ RandmarTitle?: string;
152
+ RandmarSKU?: string;
153
+ ManufacturerId?: string;
154
+ ManufacturerName?: string;
155
+ MPN?: string;
156
+ UPC?: string;
157
+ UnitWeight?: number;
158
+ MAP?: number;
159
+ State?: string;
160
+ SerialNumber?: boolean;
161
+ TransparencyCode?: boolean;
162
+ AvailableToBuy?: boolean;
163
+ AutoUpdate?: boolean;
164
+ MasterCarton?: number;
165
+ BodyHTML?: string;
166
+ Distribution?: ProductDistribution;
167
+ Opportunities?: Array<ProductOpportunity>;
168
+ InstantRebate?: {
169
+ EndDate?: string;
170
+ };
171
+ ManufacturerCategory?: {
172
+ QualificationRequired?: boolean;
173
+ };
174
+ }
175
+
176
+ export declare function ProductCard({ item, addToCart, syncToShopify, defaultOpportunityNumber, viewProductAction, addToCartAction, isAddToCartActionLoading, syncToShopifyAction, isSyncToShopifyActionLoading, }: ProductCardProps): JSX.Element;
348
177
 
349
178
  export declare interface ProductCardProps {
350
- product?: IProduct;
179
+ item?: Product;
351
180
  addToCart?: boolean;
352
181
  syncToShopify?: boolean;
353
182
  defaultOpportunityNumber?: string;
@@ -361,6 +190,12 @@ export declare interface ProductCardProps {
361
190
  isSyncToShopifyActionLoading?: boolean;
362
191
  }
363
192
 
193
+ declare interface ProductDistribution {
194
+ Price?: number;
195
+ RegularPrice?: number;
196
+ Inventory?: Array<WarehouseInventory>;
197
+ }
198
+
364
199
  export declare function ProductImage({ randmarSKU, size, alt, secondaryContent }: ProductImageProps): JSX.Element;
365
200
 
366
201
  export declare interface ProductImageProps {
@@ -370,6 +205,17 @@ export declare interface ProductImageProps {
370
205
  secondaryContent?: React_2.ReactNode;
371
206
  }
372
207
 
208
+ declare interface ProductOpportunity {
209
+ Active?: boolean;
210
+ BidNumber?: string;
211
+ EndDate?: string;
212
+ Opportunity?: string;
213
+ ManufacturerId?: string;
214
+ Price?: number;
215
+ RandmarSKU?: string;
216
+ Rebate?: number;
217
+ }
218
+
373
219
  export declare const Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
374
220
 
375
221
  export declare const Sheet: React_2.FC<DialogPrimitive.DialogProps>;
@@ -557,4 +403,17 @@ export declare function useToast(): {
557
403
  toasts: ToasterToast[];
558
404
  };
559
405
 
406
+ declare interface WarehouseInventory {
407
+ RandmarSKU?: string;
408
+ WarehouseId?: string;
409
+ WarehouseType?: string;
410
+ Name?: string;
411
+ City?: string;
412
+ Province?: string;
413
+ Country?: string;
414
+ AvailableQuantity?: number;
415
+ PurchaseOrderQuantity?: number;
416
+ BinLocation?: string;
417
+ }
418
+
560
419
  export { }