@fas-core/shared-types 1.0.42 → 1.0.44

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.
package/dist/index.d.mts CHANGED
@@ -51,6 +51,10 @@ interface ISEOMetaData {
51
51
  headerTag: string;
52
52
  canonicalUrl: string;
53
53
  }
54
+ interface IMediaAsset {
55
+ url: string;
56
+ sortOrder: number;
57
+ }
54
58
  interface IPrice {
55
59
  price: number;
56
60
  originalPrice: number;
@@ -155,6 +159,7 @@ interface IBrand extends BaseEntity {
155
159
  description: string;
156
160
  logo: string;
157
161
  stores: IStore[];
162
+ sortOrder: number;
158
163
  status: boolean;
159
164
  metaData: Metadata;
160
165
  seoMetaData: ISEOMetaData;
@@ -167,6 +172,7 @@ interface ICategory extends BaseEntity {
167
172
  parent: ICategory;
168
173
  store: IStore;
169
174
  image: string;
175
+ sortOrder: number;
170
176
  status: boolean;
171
177
  metaData: Metadata;
172
178
  seoMetaData: ISEOMetaData;
@@ -196,8 +202,8 @@ interface IProductVariantFields {
196
202
  stock: IStock;
197
203
  category: ICategory;
198
204
  categories: ICategory[];
199
- images: string[];
200
- videos: string[];
205
+ images: IMediaAsset[];
206
+ videos: IMediaAsset[];
201
207
  shipping: IShipping;
202
208
  relationships: IRelationships;
203
209
  metaData: Metadata;
@@ -473,4 +479,4 @@ interface ICart extends BaseEntity {
473
479
  totalAmount: number;
474
480
  }
475
481
 
476
- export { ADMIN_ROLES, type ApiResponse, type BaseEntity, DiscountTypeEnum, type IAddress, type IAdmin, type IAdminCreate, type IAdminRoleType, type IAdminSafe, type IAdminUpdate, type IBrand, type ICart, type ICartItem, type ICategory, type ICompliance, type IContact, type IContent, type ICountry, type ICoupon, type ICurrency, type ICustomer, type IDiscountType, type IDocumentation, type IKeyValue, type IOrder, type IOrderItem, type IOrderTransaction, type IPrice, type IProduct, type IProductTechnicalSpec, type IProductTechnicalSpecTable, type IProductVariantFields, type IRefundTransaction, type IRelationships, type ISEOMetaData, type IShipping, type IState, type IStock, type IStore, type IStoreSettings, type ITechSpec, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IVariant, type Metadata, ORDER_STATUS_VALUES, OrderStatusEnum, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, type Paginated, PaymentMethodEnum, PaymentStatusEnum, type SoftDeleteFilter, type StockStatus, TRANSACTION_TYPE_VALUES, TransactionTypeEnum, paymentMethodColorMap, paymentStatusColorMap, statusColors, typeColorMap };
482
+ export { ADMIN_ROLES, type ApiResponse, type BaseEntity, DiscountTypeEnum, type IAddress, type IAdmin, type IAdminCreate, type IAdminRoleType, type IAdminSafe, type IAdminUpdate, type IBrand, type ICart, type ICartItem, type ICategory, type ICompliance, type IContact, type IContent, type ICountry, type ICoupon, type ICurrency, type ICustomer, type IDiscountType, type IDocumentation, type IKeyValue, type IMediaAsset, type IOrder, type IOrderItem, type IOrderTransaction, type IPrice, type IProduct, type IProductTechnicalSpec, type IProductTechnicalSpecTable, type IProductVariantFields, type IRefundTransaction, type IRelationships, type ISEOMetaData, type IShipping, type IState, type IStock, type IStore, type IStoreSettings, type ITechSpec, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IVariant, type Metadata, ORDER_STATUS_VALUES, OrderStatusEnum, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, type Paginated, PaymentMethodEnum, PaymentStatusEnum, type SoftDeleteFilter, type StockStatus, TRANSACTION_TYPE_VALUES, TransactionTypeEnum, paymentMethodColorMap, paymentStatusColorMap, statusColors, typeColorMap };
package/dist/index.d.ts CHANGED
@@ -51,6 +51,10 @@ interface ISEOMetaData {
51
51
  headerTag: string;
52
52
  canonicalUrl: string;
53
53
  }
54
+ interface IMediaAsset {
55
+ url: string;
56
+ sortOrder: number;
57
+ }
54
58
  interface IPrice {
55
59
  price: number;
56
60
  originalPrice: number;
@@ -155,6 +159,7 @@ interface IBrand extends BaseEntity {
155
159
  description: string;
156
160
  logo: string;
157
161
  stores: IStore[];
162
+ sortOrder: number;
158
163
  status: boolean;
159
164
  metaData: Metadata;
160
165
  seoMetaData: ISEOMetaData;
@@ -167,6 +172,7 @@ interface ICategory extends BaseEntity {
167
172
  parent: ICategory;
168
173
  store: IStore;
169
174
  image: string;
175
+ sortOrder: number;
170
176
  status: boolean;
171
177
  metaData: Metadata;
172
178
  seoMetaData: ISEOMetaData;
@@ -196,8 +202,8 @@ interface IProductVariantFields {
196
202
  stock: IStock;
197
203
  category: ICategory;
198
204
  categories: ICategory[];
199
- images: string[];
200
- videos: string[];
205
+ images: IMediaAsset[];
206
+ videos: IMediaAsset[];
201
207
  shipping: IShipping;
202
208
  relationships: IRelationships;
203
209
  metaData: Metadata;
@@ -473,4 +479,4 @@ interface ICart extends BaseEntity {
473
479
  totalAmount: number;
474
480
  }
475
481
 
476
- export { ADMIN_ROLES, type ApiResponse, type BaseEntity, DiscountTypeEnum, type IAddress, type IAdmin, type IAdminCreate, type IAdminRoleType, type IAdminSafe, type IAdminUpdate, type IBrand, type ICart, type ICartItem, type ICategory, type ICompliance, type IContact, type IContent, type ICountry, type ICoupon, type ICurrency, type ICustomer, type IDiscountType, type IDocumentation, type IKeyValue, type IOrder, type IOrderItem, type IOrderTransaction, type IPrice, type IProduct, type IProductTechnicalSpec, type IProductTechnicalSpecTable, type IProductVariantFields, type IRefundTransaction, type IRelationships, type ISEOMetaData, type IShipping, type IState, type IStock, type IStore, type IStoreSettings, type ITechSpec, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IVariant, type Metadata, ORDER_STATUS_VALUES, OrderStatusEnum, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, type Paginated, PaymentMethodEnum, PaymentStatusEnum, type SoftDeleteFilter, type StockStatus, TRANSACTION_TYPE_VALUES, TransactionTypeEnum, paymentMethodColorMap, paymentStatusColorMap, statusColors, typeColorMap };
482
+ export { ADMIN_ROLES, type ApiResponse, type BaseEntity, DiscountTypeEnum, type IAddress, type IAdmin, type IAdminCreate, type IAdminRoleType, type IAdminSafe, type IAdminUpdate, type IBrand, type ICart, type ICartItem, type ICategory, type ICompliance, type IContact, type IContent, type ICountry, type ICoupon, type ICurrency, type ICustomer, type IDiscountType, type IDocumentation, type IKeyValue, type IMediaAsset, type IOrder, type IOrderItem, type IOrderTransaction, type IPrice, type IProduct, type IProductTechnicalSpec, type IProductTechnicalSpecTable, type IProductVariantFields, type IRefundTransaction, type IRelationships, type ISEOMetaData, type IShipping, type IState, type IStock, type IStore, type IStoreSettings, type ITechSpec, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IVariant, type Metadata, ORDER_STATUS_VALUES, OrderStatusEnum, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, type Paginated, PaymentMethodEnum, PaymentStatusEnum, type SoftDeleteFilter, type StockStatus, TRANSACTION_TYPE_VALUES, TransactionTypeEnum, paymentMethodColorMap, paymentStatusColorMap, statusColors, typeColorMap };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fas-core/shared-types",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "description": "FAS Core Shared Types - A collection of shared TypeScript types for the FAS Core SDK.",
5
5
  "author": "ibreakloops",
6
6
  "license": "UNLICENSED",