randmar-api-client 1.4.0 → 1.5.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.
@@ -2104,15 +2104,22 @@ export type GetV4PartnerByApplicationIdWarehousesApiArg = {
2104
2104
  applicationId: string;
2105
2105
  };
2106
2106
  export type ProblemDetails = {
2107
- type?: string | null;
2108
- title?: string | null;
2109
- status?: number | null;
2110
- detail?: string | null;
2111
- instance?: string | null;
2107
+ Type?: string | null;
2108
+ Title?: string | null;
2109
+ Status?: number | null;
2110
+ Detail?: string | null;
2111
+ Instance?: string | null;
2112
2112
  [key: string]: any;
2113
2113
  };
2114
- export type BillingInformation = object;
2115
- export type ShipToDetails = object;
2114
+ export type BillingInformation = {
2115
+ BillingName?: string | null;
2116
+ Country?: string | null;
2117
+ Address1?: string | null;
2118
+ Address2?: string | null;
2119
+ City?: string | null;
2120
+ Province?: string | null;
2121
+ PostalCode?: string | null;
2122
+ };
2116
2123
  export type ShipToLocation = {
2117
2124
  Name?: string | null;
2118
2125
  Street1?: string | null;
@@ -2135,6 +2142,10 @@ export type ShipToLocation = {
2135
2142
  ExpectedDateTime?: string;
2136
2143
  AllowPartialShipment?: boolean | null;
2137
2144
  };
2145
+ export type ShipToDetails = {
2146
+ ShipTo?: ShipToLocation;
2147
+ Dates?: string[] | null;
2148
+ };
2138
2149
  export type OrderLineItem = {
2139
2150
  /** The order number this line item belongs to */
2140
2151
  OrderNumber?: string | null;
@@ -2354,14 +2365,15 @@ export type Distribution = {
2354
2365
  ExchangeRate?: number;
2355
2366
  Inventory?: Inventory[] | null;
2356
2367
  };
2357
- export type Opportunity = {
2368
+ export type OpportunityEntry = {
2369
+ Opportunity?: string | null;
2358
2370
  ManufacturerId?: string | null;
2359
2371
  BidNumber?: string | null;
2360
2372
  RandmarSKU?: string | null;
2361
- BidPrice?: number;
2373
+ BidPrice?: number | null;
2374
+ Price?: number | null;
2375
+ Rebate?: number | null;
2362
2376
  BidPriceType?: string | null;
2363
- ManufacturerId1?: string | null;
2364
- BidNumber1?: string | null;
2365
2377
  OpportunityName?: string | null;
2366
2378
  Description?: string | null;
2367
2379
  DefaultResellers?: string | null;
@@ -2518,6 +2530,21 @@ export type SalesStatistic = {
2518
2530
  ExtendedPrice?: number;
2519
2531
  };
2520
2532
  export type ResellerProduct = {
2533
+ ManufacturerCategory?: ManufacturerCategory;
2534
+ Manufacturer?: Manufacturer;
2535
+ Distribution?: Distribution;
2536
+ AvailableToBuy?: boolean;
2537
+ Opportunities?: OpportunityEntry[] | null;
2538
+ Invoices?: Invoice[] | null;
2539
+ Credits?: Credit[] | null;
2540
+ Orders?: Order[] | null;
2541
+ Shipments?: Shipment[] | null;
2542
+ InstantRebates?: any[] | null;
2543
+ Returns?: Return[] | null;
2544
+ Receipts?: Receipt[] | null;
2545
+ SalesStatistics?: SalesStatistic[] | null;
2546
+ CanBeAllocated?: boolean;
2547
+ ShopifyProduct?: any | null;
2521
2548
  RandmarSKU?: string | null;
2522
2549
  RandmarTitle?: string | null;
2523
2550
  Category?: string | null;
@@ -2546,21 +2573,7 @@ export type ResellerProduct = {
2546
2573
  UnitLength?: number | null;
2547
2574
  UnitWidth?: number | null;
2548
2575
  UnitHeight?: number | null;
2549
- ManufacturerCategory?: ManufacturerCategory;
2550
- Manufacturer?: Manufacturer;
2551
- Distribution?: Distribution;
2552
- AvailableToBuy?: boolean;
2553
- Opportunities?: Opportunity[] | null;
2554
- Invoices?: Invoice[] | null;
2555
- Credits?: Credit[] | null;
2556
- Orders?: Order[] | null;
2557
- Shipments?: Shipment[] | null;
2558
- InstantRebates?: any[] | null;
2559
- Returns?: Return[] | null;
2560
- Receipts?: Receipt[] | null;
2561
- SalesStatistics?: SalesStatistic[] | null;
2562
- CanBeAllocated?: boolean;
2563
- ShopifyProduct?: any | null;
2576
+ InstantRebate?: any | null;
2564
2577
  };
2565
2578
  export type UpcEntry = {
2566
2579
  RandmarSKU?: string | null;
@@ -2653,6 +2666,29 @@ export type CompletedOrderDetail = {
2653
2666
  ExtendedWeight?: number;
2654
2667
  };
2655
2668
  export type FlatProduct = {
2669
+ ManufacturerCategory?: ManufacturerCategory;
2670
+ Manufacturer?: Manufacturer;
2671
+ Distribution?: Distribution;
2672
+ AvailableToBuy?: boolean | null;
2673
+ Opportunities?: OpportunityEntry[] | null;
2674
+ Invoices?: Invoice[] | null;
2675
+ Credits?: Credit[] | null;
2676
+ Orders?: Order[] | null;
2677
+ Shipments?: Shipment[] | null;
2678
+ InstantRebates?: any[] | null;
2679
+ Returns?: Return[] | null;
2680
+ Receipts?: Receipt[] | null;
2681
+ SalesStatistics?: SalesStatistic[] | null;
2682
+ CanBeAllocated?: boolean | null;
2683
+ ShopifyProduct?: any | null;
2684
+ UPCs?: UpcEntry[] | null;
2685
+ Requisitions?: any[] | null;
2686
+ TransactionHistory?: TransactionHistory[] | null;
2687
+ PurchaseOrders?: PurchaseOrder[] | null;
2688
+ ContractPricings?: any[] | null;
2689
+ IsManufacturer?: boolean | null;
2690
+ ActiveOrderDetails?: OrderDetail[] | null;
2691
+ CompletedOrderDetails?: CompletedOrderDetail[] | null;
2656
2692
  RandmarSKU?: string | null;
2657
2693
  RandmarTitle?: string | null;
2658
2694
  Category?: string | null;
@@ -2681,29 +2717,7 @@ export type FlatProduct = {
2681
2717
  UnitLength?: number | null;
2682
2718
  UnitWidth?: number | null;
2683
2719
  UnitHeight?: number | null;
2684
- ManufacturerCategory?: ManufacturerCategory;
2685
- Manufacturer?: Manufacturer;
2686
- Distribution?: Distribution;
2687
- AvailableToBuy?: boolean | null;
2688
- Opportunities?: Opportunity[] | null;
2689
- Invoices?: Invoice[] | null;
2690
- Credits?: Credit[] | null;
2691
- Orders?: Order[] | null;
2692
- Shipments?: Shipment[] | null;
2693
- InstantRebates?: any[] | null;
2694
- Returns?: Return[] | null;
2695
- Receipts?: Receipt[] | null;
2696
- SalesStatistics?: SalesStatistic[] | null;
2697
- CanBeAllocated?: boolean | null;
2698
- ShopifyProduct?: any | null;
2699
- UPCs?: UpcEntry[] | null;
2700
- Requisitions?: any[] | null;
2701
- TransactionHistory?: TransactionHistory[] | null;
2702
- PurchaseOrders?: PurchaseOrder[] | null;
2703
- ContractPricings?: any[] | null;
2704
- IsManufacturer?: boolean | null;
2705
- ActiveOrderDetails?: OrderDetail[] | null;
2706
- CompletedOrderDetails?: CompletedOrderDetail[] | null;
2720
+ InstantRebate?: any | null;
2707
2721
  };
2708
2722
  export type ProductConvertToShortModel = {
2709
2723
  Title?: string | null;
@@ -2714,6 +2728,17 @@ export type ProductConvertToShortModel = {
2714
2728
  SceneName?: string | null;
2715
2729
  };
2716
2730
  export type ManufacturerProduct = {
2731
+ IsManufacturer?: boolean;
2732
+ Distribution?: Distribution;
2733
+ ActiveOrderDetails?: OrderDetail[] | null;
2734
+ CompletedOrderDetails?: CompletedOrderDetail[] | null;
2735
+ SalesStatistics?: SalesStatistic[] | null;
2736
+ PurchaseOrders?: PurchaseOrder[] | null;
2737
+ Requisitions?: any[] | null;
2738
+ Opportunities?: OpportunityEntry[] | null;
2739
+ TransactionHistory?: TransactionHistory[] | null;
2740
+ InstantRebates?: any[] | null;
2741
+ ManufacturerCategory?: ManufacturerCategory;
2717
2742
  RandmarSKU?: string | null;
2718
2743
  RandmarTitle?: string | null;
2719
2744
  Category?: string | null;
@@ -2742,17 +2767,7 @@ export type ManufacturerProduct = {
2742
2767
  UnitLength?: number | null;
2743
2768
  UnitWidth?: number | null;
2744
2769
  UnitHeight?: number | null;
2745
- IsManufacturer?: boolean;
2746
- Distribution?: Distribution;
2747
- ActiveOrderDetails?: OrderDetail[] | null;
2748
- CompletedOrderDetails?: CompletedOrderDetail[] | null;
2749
- SalesStatistics?: SalesStatistic[] | null;
2750
- PurchaseOrders?: PurchaseOrder[] | null;
2751
- Requisitions?: any[] | null;
2752
- Opportunities?: Opportunity[] | null;
2753
- TransactionHistory?: TransactionHistory[] | null;
2754
- InstantRebates?: any[] | null;
2755
- ManufacturerCategory?: ManufacturerCategory;
2770
+ InstantRebate?: any | null;
2756
2771
  };
2757
2772
  export type ReturnPartNumbers = {
2758
2773
  RandmarSKU?: string | null;
@@ -2776,7 +2791,26 @@ export type ManufacturerRma = {
2776
2791
  ManufacturerRMAPartNumbers?: ManufacturerRmaPartNumber[] | null;
2777
2792
  EmailAddresses?: string[] | null;
2778
2793
  };
2779
- export type ShipmentDetails = object;
2794
+ export type ShipmentAddress = {
2795
+ Name?: string | null;
2796
+ Street1?: string | null;
2797
+ Street2?: string | null;
2798
+ City?: string | null;
2799
+ Province?: string | null;
2800
+ PostalCode?: string | null;
2801
+ Country?: string | null;
2802
+ ContactName?: string | null;
2803
+ ContactPhone?: string | null;
2804
+ };
2805
+ export type ShipmentDetails = {
2806
+ From?: ShipmentAddress;
2807
+ To?: ShipmentAddress;
2808
+ NumberOfBoxes?: number;
2809
+ TotalWeight?: number;
2810
+ ReferenceNumber?: string | null;
2811
+ Carrier?: string | null;
2812
+ ToEmailAddress?: string | null;
2813
+ };
2780
2814
  export declare const useGetV4ShopifyByShopifyHostNameAccountQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
2781
2815
  status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
2782
2816
  originalArgs?: undefined | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "randmar-api-client",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",