@equipmyschool/emsweb3-models 1.0.53 → 1.0.55

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.
Files changed (2) hide show
  1. package/index.d.ts +21 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -131,6 +131,9 @@ export interface ItemCopyToNewOrderRequest {
131
131
  DestinationOrder: Order;
132
132
  ItemIDs: number[];
133
133
  }
134
+ export interface MarkForRecrawlRequest {
135
+ CommonDetailID: number;
136
+ }
134
137
  export interface NewRegistration {
135
138
  Guid: string;
136
139
  ConfirmCode: string;
@@ -311,6 +314,7 @@ export interface ItemInfo {
311
314
  Supplier: Supplier;
312
315
  ItemID: number;
313
316
  OrderID: number;
317
+ Line: number;
314
318
  SKU: string;
315
319
  OriginUrl: string;
316
320
  Title: string;
@@ -630,6 +634,14 @@ export interface SearchResultWithFacets extends SearchResult {
630
634
  DepartmentIDs: IDCount[];
631
635
  SupplierIDs: IDCount[];
632
636
  }
637
+ export interface Settings {
638
+ AllowManualOrders: boolean;
639
+ PreferredCurrency: CurrencyType;
640
+ PreferredCountries: number[];
641
+ BlacklistedCountries: number[];
642
+ PreferredSuppliers: number[];
643
+ BlacklistedSuppliers: number[];
644
+ }
633
645
  export interface ShopCampaign extends Campaign {
634
646
  CustomerDiscount: number;
635
647
  LargeBannerImageUrl: string;
@@ -652,6 +664,14 @@ export interface Supplier {
652
664
  ShowProducts: boolean;
653
665
  Country: number;
654
666
  }
667
+ export interface UpdateProductStatusRequest {
668
+ ProductID: number;
669
+ Status: string;
670
+ }
671
+ export interface UpdateProductLongDescriptionRequest {
672
+ CommonDetailID: number;
673
+ LongDescriptionHtml: string;
674
+ }
655
675
  export interface User {
656
676
  UserID: number;
657
677
  FirstName: string;
@@ -660,6 +680,7 @@ export interface User {
660
680
  ProfilePicture: string;
661
681
  Type: UserType;
662
682
  LastLogin: Date;
683
+ Archived: boolean;
663
684
  Verified: boolean;
664
685
  PasswordReset: boolean;
665
686
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equipmyschool/emsweb3-models",
3
- "version": "1.0.53",
3
+ "version": "1.0.55",
4
4
  "description": "Shared Models for EMS Web Projects",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"