@fas-core/shared-types 1.0.79 → 1.0.81
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 +7 -11
- package/dist/index.d.ts +7 -11
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -52,6 +52,10 @@ interface ISEOMetaData {
|
|
|
52
52
|
headerTag: string;
|
|
53
53
|
canonicalUrl: string;
|
|
54
54
|
}
|
|
55
|
+
interface IBanner {
|
|
56
|
+
desktop: string;
|
|
57
|
+
mobile: string;
|
|
58
|
+
}
|
|
55
59
|
interface IMediaAsset {
|
|
56
60
|
url: string;
|
|
57
61
|
sortOrder: number;
|
|
@@ -155,15 +159,6 @@ interface IShippingRate {
|
|
|
155
159
|
estimatedDelivery: string | null;
|
|
156
160
|
}
|
|
157
161
|
|
|
158
|
-
interface IInvoiceSettings {
|
|
159
|
-
logo?: string;
|
|
160
|
-
companyName?: string;
|
|
161
|
-
companyAddress?: string;
|
|
162
|
-
taxId?: string;
|
|
163
|
-
footer?: string;
|
|
164
|
-
accentColor?: string;
|
|
165
|
-
showAddons?: boolean;
|
|
166
|
-
}
|
|
167
162
|
interface IStoreSettings {
|
|
168
163
|
logo: string;
|
|
169
164
|
theme: 'light' | 'dark';
|
|
@@ -171,7 +166,6 @@ interface IStoreSettings {
|
|
|
171
166
|
timezone: string;
|
|
172
167
|
requireCustomerLogin: boolean;
|
|
173
168
|
seoMetaData: ISEOMetaData;
|
|
174
|
-
invoice?: IInvoiceSettings;
|
|
175
169
|
}
|
|
176
170
|
interface IStore extends BaseEntity {
|
|
177
171
|
name: string;
|
|
@@ -214,6 +208,7 @@ interface IBrand extends BaseEntity {
|
|
|
214
208
|
slug: string;
|
|
215
209
|
description: string;
|
|
216
210
|
logo: string;
|
|
211
|
+
banner: IBanner;
|
|
217
212
|
stores: IStore[];
|
|
218
213
|
sortOrder: number;
|
|
219
214
|
status: boolean;
|
|
@@ -229,6 +224,7 @@ interface ICategory extends BaseEntity {
|
|
|
229
224
|
stores: (IStore | string)[];
|
|
230
225
|
childOnly?: boolean;
|
|
231
226
|
image: string;
|
|
227
|
+
banner: IBanner;
|
|
232
228
|
sortOrder: number;
|
|
233
229
|
status: boolean;
|
|
234
230
|
metaData: Metadata;
|
|
@@ -984,4 +980,4 @@ interface INotification extends BaseEntity {
|
|
|
984
980
|
meta?: Metadata;
|
|
985
981
|
}
|
|
986
982
|
|
|
987
|
-
export { ACTIVE_SUBSCRIPTION_CHANNELS, ADMIN_ROLES, type AddonAmountInput, type ApiResponse, type BaseEntity, CAMPAIGN_RECIPIENT_STATUS_VALUES, CAMPAIGN_STATUS_VALUES, CART_STATUS_VALUES, CampaignRecipientStatusEnum, CampaignStatusEnum, CartStatusEnum, type CheckoutAddressInput, type CheckoutPayload, type CheckoutResult, DEFAULT_SUBSCRIPTION_TOPICS, DiscountTypeEnum, EMAIL_TEMPLATE_EVENT_VALUES, EMAIL_TEMPLATE_VARIABLES_BY_EVENT, EmailTemplateEventEnum, FEE_APPLIES_TO_VALUES, FeeAppliesToEnum, type IAddonConfig, type IAddonGroup, type IAddress, type IAdmin, type IAdminCreate, type IAdminRoleType, type IAdminSafe, type IAdminUpdate, type IAppliedFee, type IBrand, type ICampaign, type ICampaignRecipient, type ICampaignStats, 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 IEmailTemplate, type
|
|
983
|
+
export { ACTIVE_SUBSCRIPTION_CHANNELS, ADMIN_ROLES, type AddonAmountInput, type ApiResponse, type BaseEntity, CAMPAIGN_RECIPIENT_STATUS_VALUES, CAMPAIGN_STATUS_VALUES, CART_STATUS_VALUES, CampaignRecipientStatusEnum, CampaignStatusEnum, CartStatusEnum, type CheckoutAddressInput, type CheckoutPayload, type CheckoutResult, DEFAULT_SUBSCRIPTION_TOPICS, DiscountTypeEnum, EMAIL_TEMPLATE_EVENT_VALUES, EMAIL_TEMPLATE_VARIABLES_BY_EVENT, EmailTemplateEventEnum, FEE_APPLIES_TO_VALUES, FeeAppliesToEnum, type IAddonConfig, type IAddonGroup, type IAddress, type IAdmin, type IAdminCreate, type IAdminRoleType, type IAdminSafe, type IAdminUpdate, type IAppliedFee, type IBanner, type IBrand, type ICampaign, type ICampaignRecipient, type ICampaignStats, 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 IEmailTemplate, type IKeyValue, type ILinePricing, type IMediaAsset, INVENTORY_POLICY_VALUES, type INotification, type IOrder, type IOrderItem, type IOrderLog, type IOrderTracking, type IOrderTransaction, type IPaymentLink, type IPrice, type IProduct, type IProductDailyStat, type IProductOptionGroup, type IProductOptionValue, type IProductRelationGroup, type IProductTechnicalSpec, type IProductTechnicalSpecTable, type IProductVariantFields, type IProductVariantOptionGroup, type IProductVariantOptionMatrix, type IProductVariantOptionValue, type IRedirect, type IRedirectSuggestion, type IRefundTransaction, type IRelationGroup, type ISEOMetaData, type ISelectableFee, type IShipFromAddress, type IShipping, type IShippingRate, type IState, type IStock, type IStore, type IStoreFee, type IStoreSettings, type ISubscriber, type ISubscriberConsent, type ISubscription, type ISummaryPricing, type ITechSpec, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IUnmatched404, type IVariant, type IVariantOptionSelection, type Id, type InventoryPolicy, InventoryPolicyEnum, type Metadata, NOTIFICATION_TYPE_VALUES, NotificationTypeEnum, ORDER_LOG_TYPE_VALUES, ORDER_STATUS_VALUES, OrderLogTypeEnum, OrderStatusEnum, PAYMENT_GATEWAY_VALUES, PAYMENT_LINK_STATUS_VALUES, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, PRICING_TYPE_VALUES, PRODUCT_EVENT_TYPE_VALUES, type Paginated, PaymentGatewayEnum, PaymentLinkStatusEnum, PaymentMethodEnum, PaymentStatusEnum, type PricingType, PricingTypeEnum, ProductEventTypeEnum, type ProductVariantType, RETIRED_CART_STATUSES, type RedirectTargetType, SUBSCRIPTION_CHANNEL_VALUES, SUBSCRIPTION_TOPIC_LABELS, SUBSCRIPTION_TOPIC_VALUES, type SoftDeleteFilter, type StockStatus, SubscriptionChannelEnum, SubscriptionTopicEnum, TRANSACTION_TYPE_VALUES, TransactionTypeEnum, type VariantOptionMode, WIRED_EMAIL_TEMPLATE_EVENTS, addonUnitAmount, addonsUnitAmount, formatMoney, normalizeLineQuantity, normalizePath, notificationTypeColorMap, orderLogTypeColorMap, paymentGatewayColorMap, paymentLinkStatusColorMap, paymentMethodColorMap, paymentStatusColorMap, roundMoney, statusColors, typeColorMap };
|
package/dist/index.d.ts
CHANGED
|
@@ -52,6 +52,10 @@ interface ISEOMetaData {
|
|
|
52
52
|
headerTag: string;
|
|
53
53
|
canonicalUrl: string;
|
|
54
54
|
}
|
|
55
|
+
interface IBanner {
|
|
56
|
+
desktop: string;
|
|
57
|
+
mobile: string;
|
|
58
|
+
}
|
|
55
59
|
interface IMediaAsset {
|
|
56
60
|
url: string;
|
|
57
61
|
sortOrder: number;
|
|
@@ -155,15 +159,6 @@ interface IShippingRate {
|
|
|
155
159
|
estimatedDelivery: string | null;
|
|
156
160
|
}
|
|
157
161
|
|
|
158
|
-
interface IInvoiceSettings {
|
|
159
|
-
logo?: string;
|
|
160
|
-
companyName?: string;
|
|
161
|
-
companyAddress?: string;
|
|
162
|
-
taxId?: string;
|
|
163
|
-
footer?: string;
|
|
164
|
-
accentColor?: string;
|
|
165
|
-
showAddons?: boolean;
|
|
166
|
-
}
|
|
167
162
|
interface IStoreSettings {
|
|
168
163
|
logo: string;
|
|
169
164
|
theme: 'light' | 'dark';
|
|
@@ -171,7 +166,6 @@ interface IStoreSettings {
|
|
|
171
166
|
timezone: string;
|
|
172
167
|
requireCustomerLogin: boolean;
|
|
173
168
|
seoMetaData: ISEOMetaData;
|
|
174
|
-
invoice?: IInvoiceSettings;
|
|
175
169
|
}
|
|
176
170
|
interface IStore extends BaseEntity {
|
|
177
171
|
name: string;
|
|
@@ -214,6 +208,7 @@ interface IBrand extends BaseEntity {
|
|
|
214
208
|
slug: string;
|
|
215
209
|
description: string;
|
|
216
210
|
logo: string;
|
|
211
|
+
banner: IBanner;
|
|
217
212
|
stores: IStore[];
|
|
218
213
|
sortOrder: number;
|
|
219
214
|
status: boolean;
|
|
@@ -229,6 +224,7 @@ interface ICategory extends BaseEntity {
|
|
|
229
224
|
stores: (IStore | string)[];
|
|
230
225
|
childOnly?: boolean;
|
|
231
226
|
image: string;
|
|
227
|
+
banner: IBanner;
|
|
232
228
|
sortOrder: number;
|
|
233
229
|
status: boolean;
|
|
234
230
|
metaData: Metadata;
|
|
@@ -984,4 +980,4 @@ interface INotification extends BaseEntity {
|
|
|
984
980
|
meta?: Metadata;
|
|
985
981
|
}
|
|
986
982
|
|
|
987
|
-
export { ACTIVE_SUBSCRIPTION_CHANNELS, ADMIN_ROLES, type AddonAmountInput, type ApiResponse, type BaseEntity, CAMPAIGN_RECIPIENT_STATUS_VALUES, CAMPAIGN_STATUS_VALUES, CART_STATUS_VALUES, CampaignRecipientStatusEnum, CampaignStatusEnum, CartStatusEnum, type CheckoutAddressInput, type CheckoutPayload, type CheckoutResult, DEFAULT_SUBSCRIPTION_TOPICS, DiscountTypeEnum, EMAIL_TEMPLATE_EVENT_VALUES, EMAIL_TEMPLATE_VARIABLES_BY_EVENT, EmailTemplateEventEnum, FEE_APPLIES_TO_VALUES, FeeAppliesToEnum, type IAddonConfig, type IAddonGroup, type IAddress, type IAdmin, type IAdminCreate, type IAdminRoleType, type IAdminSafe, type IAdminUpdate, type IAppliedFee, type IBrand, type ICampaign, type ICampaignRecipient, type ICampaignStats, 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 IEmailTemplate, type
|
|
983
|
+
export { ACTIVE_SUBSCRIPTION_CHANNELS, ADMIN_ROLES, type AddonAmountInput, type ApiResponse, type BaseEntity, CAMPAIGN_RECIPIENT_STATUS_VALUES, CAMPAIGN_STATUS_VALUES, CART_STATUS_VALUES, CampaignRecipientStatusEnum, CampaignStatusEnum, CartStatusEnum, type CheckoutAddressInput, type CheckoutPayload, type CheckoutResult, DEFAULT_SUBSCRIPTION_TOPICS, DiscountTypeEnum, EMAIL_TEMPLATE_EVENT_VALUES, EMAIL_TEMPLATE_VARIABLES_BY_EVENT, EmailTemplateEventEnum, FEE_APPLIES_TO_VALUES, FeeAppliesToEnum, type IAddonConfig, type IAddonGroup, type IAddress, type IAdmin, type IAdminCreate, type IAdminRoleType, type IAdminSafe, type IAdminUpdate, type IAppliedFee, type IBanner, type IBrand, type ICampaign, type ICampaignRecipient, type ICampaignStats, 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 IEmailTemplate, type IKeyValue, type ILinePricing, type IMediaAsset, INVENTORY_POLICY_VALUES, type INotification, type IOrder, type IOrderItem, type IOrderLog, type IOrderTracking, type IOrderTransaction, type IPaymentLink, type IPrice, type IProduct, type IProductDailyStat, type IProductOptionGroup, type IProductOptionValue, type IProductRelationGroup, type IProductTechnicalSpec, type IProductTechnicalSpecTable, type IProductVariantFields, type IProductVariantOptionGroup, type IProductVariantOptionMatrix, type IProductVariantOptionValue, type IRedirect, type IRedirectSuggestion, type IRefundTransaction, type IRelationGroup, type ISEOMetaData, type ISelectableFee, type IShipFromAddress, type IShipping, type IShippingRate, type IState, type IStock, type IStore, type IStoreFee, type IStoreSettings, type ISubscriber, type ISubscriberConsent, type ISubscription, type ISummaryPricing, type ITechSpec, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IUnmatched404, type IVariant, type IVariantOptionSelection, type Id, type InventoryPolicy, InventoryPolicyEnum, type Metadata, NOTIFICATION_TYPE_VALUES, NotificationTypeEnum, ORDER_LOG_TYPE_VALUES, ORDER_STATUS_VALUES, OrderLogTypeEnum, OrderStatusEnum, PAYMENT_GATEWAY_VALUES, PAYMENT_LINK_STATUS_VALUES, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, PRICING_TYPE_VALUES, PRODUCT_EVENT_TYPE_VALUES, type Paginated, PaymentGatewayEnum, PaymentLinkStatusEnum, PaymentMethodEnum, PaymentStatusEnum, type PricingType, PricingTypeEnum, ProductEventTypeEnum, type ProductVariantType, RETIRED_CART_STATUSES, type RedirectTargetType, SUBSCRIPTION_CHANNEL_VALUES, SUBSCRIPTION_TOPIC_LABELS, SUBSCRIPTION_TOPIC_VALUES, type SoftDeleteFilter, type StockStatus, SubscriptionChannelEnum, SubscriptionTopicEnum, TRANSACTION_TYPE_VALUES, TransactionTypeEnum, type VariantOptionMode, WIRED_EMAIL_TEMPLATE_EVENTS, addonUnitAmount, addonsUnitAmount, formatMoney, normalizeLineQuantity, normalizePath, notificationTypeColorMap, orderLogTypeColorMap, paymentGatewayColorMap, paymentLinkStatusColorMap, paymentMethodColorMap, paymentStatusColorMap, roundMoney, statusColors, typeColorMap };
|
package/package.json
CHANGED