randmarcomps 1.64.0 → 1.66.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,202 +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
- InstantRebates: IProductInstantRebate[];
148
- InstantRebate: IProductInstantRebate;
149
- Newest: IProductNewest[];
150
- RetailPricing: IProductRetailPricing[];
151
- ManufacturerCategory: IManufacturerCategory;
152
- Opportunities: IOpportunityDetail[];
153
- SalesStatistics: ISalesStatistics[];
154
- Distribution?: {
155
- Price: number;
156
- RegularPrice: number;
157
- MAP: number;
158
- Inventory: IWarehouseInventory[];
159
- };
160
- MPN: string;
161
- RandmarSKU: string;
162
- RandmarTitle: string;
163
- UPC: string;
164
- UnitWeight: number;
165
- SkidQuantity: number;
166
- MasterCarton: number;
167
- CanBeAllocated: boolean;
168
- AvailableToBuy: boolean;
169
- SerialNumber: boolean;
170
- AutoUpdate: boolean;
171
- LastMaintainedDate: number;
172
- Category: string;
173
- CreatedBy: string;
174
- ProductType: string;
175
- ShopifyProduct: object;
176
- BodyHTML: string;
177
- Title: string;
178
- MAP: number;
179
- State: string;
180
- OpportunityOnly: boolean;
181
- Receipts: IReceivingProduct[];
182
- VoiceoverCaption: string;
183
- SceneName: string;
184
- Require3DScan: boolean;
185
- TransparencyCode: boolean;
186
- CountryCodeOfOrigin: string | undefined;
187
- }
188
-
189
- declare interface IProductCredit {
190
- RandmarSKU: string;
191
- QuantityOrdered: number;
192
- QuantityShipped: number;
193
- CreditNumber: string;
194
- Location: string;
195
- ManufacturerPartNumber: string;
196
- Category: string;
197
- ResellerId: string;
198
- ShipToName: string;
199
- UnitPrice: number;
200
- PONumber: string;
201
- CreditDate: number;
202
- }
203
-
204
- declare interface IProductInstantRebate {
205
- RebateAmount: number;
206
- StartDate: string;
207
- EndDate: string;
208
- MPN: string;
209
- RandmarTitle: string;
210
- RandmarSKU: string;
211
- UPC: string;
212
- }
213
-
214
- declare interface IProductInvoice {
215
- RandmarSKU: string;
216
- OrderNumber: string;
217
- QuantityOrdered: number;
218
- QuantityShipped: number;
219
- InvoiceNumber: string;
220
- Location: string;
221
- ManufacturerPartNumber: string;
222
- Category: string;
223
- ResellerId: string;
224
- ShipToName: string;
225
- UnitPrice: number;
226
- PONumber: string;
227
- InvoiceDate: number;
228
- }
229
-
230
- declare interface IProductManufacturer {
231
- ManufacturerId: string;
232
- PublicEmail: string;
233
- PublicName: string;
234
- Website: string;
235
- }
236
-
237
- declare interface IProductNewest {
238
- MPN: string;
239
- RandmarTitle: string;
240
- RandmarSKU: string;
241
- UPC: string;
242
- LastMaintainedDate: number;
243
- }
244
-
245
- declare interface IProductOrder {
246
- RandmarSKU: string;
247
- OrderNumber: string;
248
- Location: string;
249
- ResellerId: string;
250
- QuantityOrdered: number;
251
- QuantityBackOrdered: number;
252
- ShipToName: string;
253
- UnitPrice: number;
254
- PONumber: string;
255
- ManufacturerPartNumber: string;
256
- ShipmentDate: string;
257
- OrderDate: number;
258
- }
259
-
260
- declare interface IProductRetailPricing {
261
- RetailerName: string;
262
- Price: number;
263
- }
264
-
265
- declare interface IProductReturn {
266
- RandmarSKU: string;
267
- Quantity: number;
268
- InvoiceNumber: string;
269
- CreditNumber: string;
270
- WarehouseLocation: string;
271
- ResellerId: number;
272
- ContactEmail: string;
273
- ReasonForReturn: string;
274
- ReturnNumber: string;
275
- Status: string;
276
- RequestDate: string;
277
- }
278
-
279
- declare interface IProductShipment {
280
- ShipmentNumber: string;
281
- Location: string;
282
- QuantityOrdered: number;
283
- QuantityShipped: number;
284
- UnitPrice: number;
285
- OrderNumber: string;
286
- ShipToName: string;
287
- PONumber: string;
288
- ManufacturerPartNumber: string;
289
- RandmarSKU: string;
290
- ShipmentDate: string;
291
- }
292
-
293
- declare interface IReceivingProduct {
294
- RandmarSKU: string;
295
- MPN: string;
296
- Description: string;
297
- Location: string;
298
- Quantity: number;
299
- VendorName: string;
300
- ReceiptDate: number;
301
- }
302
-
303
- declare interface ISalesStatistics {
304
- Day: number;
305
- Quantity: number;
306
- ExtendedPrice: number;
307
- }
308
-
309
- declare interface IWarehouseInventory {
310
- RandmarSKU: string;
311
- WarehouseId: string;
312
- WarehouseType: string;
313
- Name: string;
314
- City: string;
315
- Province: string;
316
- Country: string;
317
- AvailableQuantity: number;
318
- PurchaseOrderQuantity: number;
319
- BinLocation: string;
320
- }
321
-
322
116
  export declare function Label({ className, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root>): JSX.Element;
323
117
 
324
118
  export declare function Layout({ children, rightMenu, routes, footer, handleValidSearch, dashboardTitle, onSignOut, searchPlaceholder }: LayoutProps): JSX.Element;
@@ -352,10 +146,37 @@ export declare interface NavRoute {
352
146
  showInNav?: boolean;
353
147
  }
354
148
 
355
- export declare function ProductCard<T extends Partial<IProduct> = IProduct>({ product, addToCart, syncToShopify, defaultOpportunityNumber, viewProductAction, addToCartAction, isAddToCartActionLoading, syncToShopifyAction, isSyncToShopifyActionLoading, }: ProductCardProps<T>): 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
+ }
356
175
 
357
- export declare interface ProductCardProps<T extends Partial<IProduct> = IProduct> {
358
- product?: T;
176
+ export declare function ProductCard({ item, addToCart, syncToShopify, defaultOpportunityNumber, viewProductAction, addToCartAction, isAddToCartActionLoading, syncToShopifyAction, isSyncToShopifyActionLoading, }: ProductCardProps): JSX.Element;
177
+
178
+ export declare interface ProductCardProps {
179
+ item?: Product;
359
180
  addToCart?: boolean;
360
181
  syncToShopify?: boolean;
361
182
  defaultOpportunityNumber?: string;
@@ -369,6 +190,12 @@ export declare interface ProductCardProps<T extends Partial<IProduct> = IProduct
369
190
  isSyncToShopifyActionLoading?: boolean;
370
191
  }
371
192
 
193
+ declare interface ProductDistribution {
194
+ Price?: number;
195
+ RegularPrice?: number;
196
+ Inventory?: Array<WarehouseInventory>;
197
+ }
198
+
372
199
  export declare function ProductImage({ randmarSKU, size, alt, secondaryContent }: ProductImageProps): JSX.Element;
373
200
 
374
201
  export declare interface ProductImageProps {
@@ -378,6 +205,17 @@ export declare interface ProductImageProps {
378
205
  secondaryContent?: React_2.ReactNode;
379
206
  }
380
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
+
381
219
  export declare const Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
382
220
 
383
221
  export declare const Sheet: React_2.FC<DialogPrimitive.DialogProps>;
@@ -565,4 +403,17 @@ export declare function useToast(): {
565
403
  toasts: ToasterToast[];
566
404
  };
567
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
+
568
419
  export { }