@fas-core/shared-types 1.0.108 → 1.0.109

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
@@ -249,7 +249,6 @@ interface ICategory extends BaseEntity {
249
249
  parent: ICategory;
250
250
  subcategories?: ICategorySubcategory[];
251
251
  stores: (IStore | string)[];
252
- childOnly?: boolean;
253
252
  image: string;
254
253
  banners: IBannerSlide[];
255
254
  sortOrder: number;
@@ -320,7 +319,6 @@ interface IProductVariantFields {
320
319
  inventoryPolicy: InventoryPolicy;
321
320
  brand: IBrand;
322
321
  stores: (IStore | string)[];
323
- childOnly?: boolean;
324
322
  stock: IStock;
325
323
  category: ICategory;
326
324
  categories: ICategory[];
@@ -462,6 +460,9 @@ interface ResolvedAddonSelection extends AddonSelectionRef {
462
460
  }
463
461
  declare const resolveAddonSelections: (groups: IAddonGroup[], selections: AddonSelectionRef[]) => ResolvedAddonSelection[];
464
462
 
463
+ interface ICategorySequence {
464
+ [categoryId: string]: number;
465
+ }
465
466
  interface IProduct extends BaseEntity, IProductVariantFields {
466
467
  netsuiteId: string;
467
468
  name: string;
@@ -476,6 +477,10 @@ interface IProduct extends BaseEntity, IProductVariantFields {
476
477
  addons: (IAddonConfig | string)[];
477
478
  googleCategory: string;
478
479
  department: string;
480
+ featureBullets: string[];
481
+ mpn: string;
482
+ vendorName: string;
483
+ categorySequence?: ICategorySequence;
479
484
  }
480
485
 
481
486
  interface ICartItem extends BaseEntity {
@@ -1985,6 +1990,20 @@ declare const PRODUCT_FIELDS: {
1985
1990
  readonly conditional: true;
1986
1991
  readonly note: string;
1987
1992
  };
1993
+ readonly mpn: {
1994
+ readonly before: "mpn";
1995
+ readonly target: "mpn";
1996
+ readonly policy: "always";
1997
+ readonly conditional: true;
1998
+ readonly note: string;
1999
+ };
2000
+ readonly vendorName: {
2001
+ readonly before: "vendorname";
2002
+ readonly target: "vendorName";
2003
+ readonly policy: "always";
2004
+ readonly conditional: true;
2005
+ readonly note: string;
2006
+ };
1988
2007
  readonly itemType: {
1989
2008
  readonly before: "itemtype";
1990
2009
  readonly target: "itemType";
@@ -2191,13 +2210,6 @@ declare const PRODUCT_FIELDS: {
2191
2210
  readonly pending: true;
2192
2211
  readonly note: "Field exists in NetSuite and carries no data yet.";
2193
2212
  };
2194
- readonly childStoreOnly: {
2195
- readonly after: "custitem_child_store_only";
2196
- readonly target: "childOnly";
2197
- readonly policy: "seed";
2198
- readonly pending: true;
2199
- readonly note: "Nothing is flagged yet. Our stores[] array already covers this.";
2200
- };
2201
2213
  };
2202
2214
 
2203
2215
  type SyncPolicy = "always" | "seed";
@@ -2366,6 +2378,20 @@ declare const productFields: NetsuiteFieldProvider<{
2366
2378
  readonly conditional: true;
2367
2379
  readonly note: string;
2368
2380
  };
2381
+ readonly mpn: {
2382
+ readonly before: "mpn";
2383
+ readonly target: "mpn";
2384
+ readonly policy: "always";
2385
+ readonly conditional: true;
2386
+ readonly note: string;
2387
+ };
2388
+ readonly vendorName: {
2389
+ readonly before: "vendorname";
2390
+ readonly target: "vendorName";
2391
+ readonly policy: "always";
2392
+ readonly conditional: true;
2393
+ readonly note: string;
2394
+ };
2369
2395
  readonly itemType: {
2370
2396
  readonly before: "itemtype";
2371
2397
  readonly target: "itemType";
@@ -2572,13 +2598,6 @@ declare const productFields: NetsuiteFieldProvider<{
2572
2598
  readonly pending: true;
2573
2599
  readonly note: "Field exists in NetSuite and carries no data yet.";
2574
2600
  };
2575
- readonly childStoreOnly: {
2576
- readonly after: "custitem_child_store_only";
2577
- readonly target: "childOnly";
2578
- readonly policy: "seed";
2579
- readonly pending: true;
2580
- readonly note: "Nothing is flagged yet. Our stores[] array already covers this.";
2581
- };
2582
2601
  }>;
2583
2602
  declare const addonFields: NetsuiteFieldProvider<{
2584
2603
  readonly netsuiteItemId: {
@@ -3581,6 +3600,20 @@ declare const PROVIDERS: readonly [NetsuiteFieldProvider<{
3581
3600
  readonly conditional: true;
3582
3601
  readonly note: string;
3583
3602
  };
3603
+ readonly mpn: {
3604
+ readonly before: "mpn";
3605
+ readonly target: "mpn";
3606
+ readonly policy: "always";
3607
+ readonly conditional: true;
3608
+ readonly note: string;
3609
+ };
3610
+ readonly vendorName: {
3611
+ readonly before: "vendorname";
3612
+ readonly target: "vendorName";
3613
+ readonly policy: "always";
3614
+ readonly conditional: true;
3615
+ readonly note: string;
3616
+ };
3584
3617
  readonly itemType: {
3585
3618
  readonly before: "itemtype";
3586
3619
  readonly target: "itemType";
@@ -3787,13 +3820,6 @@ declare const PROVIDERS: readonly [NetsuiteFieldProvider<{
3787
3820
  readonly pending: true;
3788
3821
  readonly note: "Field exists in NetSuite and carries no data yet.";
3789
3822
  };
3790
- readonly childStoreOnly: {
3791
- readonly after: "custitem_child_store_only";
3792
- readonly target: "childOnly";
3793
- readonly policy: "seed";
3794
- readonly pending: true;
3795
- readonly note: "Nothing is flagged yet. Our stores[] array already covers this.";
3796
- };
3797
3823
  }>, NetsuiteFieldProvider<{
3798
3824
  readonly netsuiteItemId: {
3799
3825
  readonly before: "item.id";
@@ -4839,6 +4865,20 @@ declare const BY_ENTITY: {
4839
4865
  readonly conditional: true;
4840
4866
  readonly note: string;
4841
4867
  };
4868
+ readonly mpn: {
4869
+ readonly before: "mpn";
4870
+ readonly target: "mpn";
4871
+ readonly policy: "always";
4872
+ readonly conditional: true;
4873
+ readonly note: string;
4874
+ };
4875
+ readonly vendorName: {
4876
+ readonly before: "vendorname";
4877
+ readonly target: "vendorName";
4878
+ readonly policy: "always";
4879
+ readonly conditional: true;
4880
+ readonly note: string;
4881
+ };
4842
4882
  readonly itemType: {
4843
4883
  readonly before: "itemtype";
4844
4884
  readonly target: "itemType";
@@ -5045,13 +5085,6 @@ declare const BY_ENTITY: {
5045
5085
  readonly pending: true;
5046
5086
  readonly note: "Field exists in NetSuite and carries no data yet.";
5047
5087
  };
5048
- readonly childStoreOnly: {
5049
- readonly after: "custitem_child_store_only";
5050
- readonly target: "childOnly";
5051
- readonly policy: "seed";
5052
- readonly pending: true;
5053
- readonly note: "Nothing is flagged yet. Our stores[] array already covers this.";
5054
- };
5055
5088
  }>;
5056
5089
  readonly addon: NetsuiteFieldProvider<{
5057
5090
  readonly netsuiteItemId: {
@@ -6325,4 +6358,4 @@ interface IWishlist extends BaseEntity {
6325
6358
  items: IWishlistItem[];
6326
6359
  }
6327
6360
 
6328
- export { ACTIVE_SUBSCRIPTION_CHANNELS, ADMIN_ACTIONS, ADMIN_AUDIT_ACTIONS, ADMIN_RESOURCES, ADMIN_RESOURCE_LIST, ALL_STORES, AWAITING_PAYMENT_STATUSES, type AddonAmountInput, type AddonGroupNetsuiteLink, type AddonNetsuiteLink, type AddonSelectionRef, type AddonSnapshot, type ApiResponse, type AppliedTax, BRAND_FIELDS, type BaseEntity, CAMPAIGN_RECIPIENT_STATUS_VALUES, CAMPAIGN_STATUS_VALUES, CART_STATUS_VALUES, CATEGORY_FIELDS, CONFIGURATOR_CONDITION_TYPE_VALUES, CONFIGURATOR_EFFECT_TYPE_VALUES, CONFIGURATOR_SELECT_MODE_VALUES, CONFIGURATOR_SOURCE_VALUES, type CacheStatus, type CacheStoreTarget, CampaignRecipientStatusEnum, CampaignStatusEnum, type CartIssue, type CartIssueType, CartIssueTypes, CartStatusEnum, type CartValidation, type CategoryImportSummary, type CheckoutAddressInput, type CheckoutPayload, type CheckoutResult, ConfiguratorConditionTypeEnum, ConfiguratorEffectTypeEnum, ConfiguratorErrorCodeEnum, type ConfiguratorEvalContext, type ConfiguratorEvalError, type ConfiguratorEvalResult, ConfiguratorSelectModeEnum, type ConfiguratorSelections, ConfiguratorSourceEnum, type CouponNetsuiteLink, DEFAULT_SUBSCRIPTION_TOPICS, DISCOUNT_TYPE_VALUES, DiscountTypeEnum, EMAIL_PARAM_MISMATCH_KIND_VALUES, EMAIL_TEMPLATE_EVENT_VALUES, EMAIL_TEMPLATE_VARIABLES_BY_EVENT, EMPTY_ACCESS, type EffectiveAccess, type EmailParamMismatch, EmailParamMismatchKindEnum, EmailTemplateEventEnum, FEE_APPLIES_TO_VALUES, FeeAppliesToEnum, type FieldMap, type FieldMapping, type FieldSource, type IAddonConfig, type IAddonGroup, type IAddress, type IAdmin, type IAdminAction, type IAdminAuditAction, type IAdminAuditLog, type IAdminBaseAction, type IAdminPermission, type IAdminResource, type IAdminRole, type IAdminRoleCreate, type IAdminSafe, type IAdminStoreAccess, type IAppliedFee, type IBannerSlide, type IBlogAuthor, type IBlogCategory, type IBlogPost, type IBrand, type ICampaign, type ICampaignRecipient, type ICampaignStats, type ICart, type ICartItem, type ICartServicePlanSnapshot, type ICategory, type ICategorySubcategory, type IConfigurator, type IConfiguratorCondition, type IConfiguratorEffect, type IConfiguratorFacet, type IConfiguratorFacetValue, type IConfiguratorOption, type IConfiguratorPriceAdjustment, type IConfiguratorQuery, type IConfiguratorRule, type IConfiguratorSection, type IConfiguratorStep, type IConfiguratorTarget, type IContact, type ICountry, type ICoupon, type ICurrency, type ICustomer, type IDiscountType, type IEmailTemplate, type IFaq, type IFaqCategory, type IKeyValue, type ILinePricing, type IMediaAsset, INVENTORY_POLICY_VALUES, type INetsuiteEvent, type INetsuiteOrderLink, type INetsuiteQueueEntry, type INotification, type IOrder, type IOrderItem, type IOrderLog, type IOrderShipment, type IOrderTransaction, type IPaymentLink, type IPodcastEpisode, type IPrice, type IProduct, type IProductDailyStat, 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 IServicePlan, 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 ITaxRate, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IUnmatched404, type IVariant, type IVariantOptionSelection, type IWishlist, type IWishlistItem, type Id, type InventoryPolicy, InventoryPolicyEnum, type LineChargeInput, type MatchResult, type Metadata, NETSUITE_EVENT_STATE_VALUES, NETSUITE_OWNED_FIELDS, NETSUITE_RECORD_TYPE_VALUES, NETSUITE_RELATION_GROUPS, NOTIFICATION_TYPE_VALUES, NetsuiteEventStateEnum, NetsuiteFieldProvider, type NetsuiteLinkResult, type NetsuiteOrderPreview, type NetsuiteOwnedEntity, type NetsuitePreviewLine, type NetsuitePushAttempt, type NetsuitePushOutcome, type NetsuiteReceipt, NetsuiteRecordTypeEnum, type NetsuiteRelationSource, type NetsuiteStatusChange, type NetsuiteStatusSyncResult, type NetsuiteSyncDefinition, NotificationTypeEnum, OPEN_ORDER_STATUSES, ORDER_LOG_TYPE_VALUES, ORDER_STATUS_VALUES, type OfferedAddon, type OfferedAddonGroup, type OfferedServicePlan, OrderLogTypeEnum, OrderStatusEnum, PAYMENT_GATEWAY_VALUES, PAYMENT_LINK_STATUS_VALUES, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, PLACED_OPEN_ORDER_STATUSES, PRICING_TYPE_VALUES, PRODUCT_FIELDS, PRODUCT_VARIANT_TYPE_VALUES, PROVIDERS, PURCHASE_ORDER_STATUSES, PUSH_CHECK_STATUS_VALUES, PaymentGatewayEnum, PaymentLinkStatusEnum, type PaymentLinkView, PaymentMethodEnum, PaymentStatusEnum, type PricedLineLike, type PricingType, PricingTypeEnum, type ProductAddonScope, ProductEventTypeEnum, type ProductServicePlanScope, type ProductVariantType, ProductVariantTypeEnum, type PromotionSyncResult, type PushCheck, PushCheckStatusEnum, type PushField, QUOTE_ORDER_STATUSES, RELATION_FIELDS, RESOURCE_OPERATIONS, RETIRED_CART_STATUSES, type RateAddress, type RatedShippingMethod, type RedirectTargetType, type ResolveAccessInput, type ResolvedAddonSelection, type RevalidationResult, SALE_TYPE_VALUES, SERVICE_PLAN_ELIGIBILITY_FIELD, STATUS_TONE_VALUES, SUBSCRIPTION_CHANNEL_VALUES, SUBSCRIPTION_TOPIC_LABELS, SUBSCRIPTION_TOPIC_VALUES, type SaleType, SaleTypeEnum, type SaleTypedLike, type SelectedShippingMethod, type ServicePlanNetsuiteLink, StatusToneEnum, type StockDemandLine, type StockStatus, StockStatusEnum, type StockVerdict, StockVerdictEnum, type StoreAccessCheckInput, type StoreScopeInput, SubscriptionChannelEnum, SubscriptionTopicEnum, type SyncPolicy, type SyncRisk, TAX_RATE_SOURCE_VALUES, TRANSACTION_TYPE_VALUES, TaxRateSourceEnum, type TaxSyncResult, TransactionTypeEnum, UNPLACED_ORDER_STATUSES, type VariantOptionMode, WIRED_EMAIL_TEMPLATE_EVENTS, actionsForResource, addonFields, addonUnitAmount, addonsOfLine, addonsUnitAmount, adjustmentsFor, applyPriceAdjustments, baseUnitPriceOfLine, blogAuthorFields, blogCategoryFields, blogPostFields, brandFields, can, canAny, canonicalizePath, canonicalizeSlug, categoryFields, chargesOfLine, conditionHolds, couponFields, demandByKey, evaluateConfigurator, feeHint, formatMoney, grantedPermissions, groupHasDefaultAddon, hasStoreAccess, isConfigurationValid, isNetsuiteOwned, isNonEmptyString, isQuoteOnlyItem, isValidAction, isValidEmail, missingGrants, netsuiteFieldCaution, netsuiteFieldConditional, netsuiteFieldNote, netsuiteFieldRisk, netsuiteFieldSource, netsuiteRelationSource, netsuiteStatusLabel, normalizeLineQuantity, normalizeNumber, normalizePath, orderLogTypeColorMap, paymentLinkStatusColorMap, paymentMethodColorMap, paymentStatusColorMap, podcastFields, productFields, readMapped, resolveAddonSelections, resolveEffectivePermissions, resolveProductAddonGroups, resolveProductServicePlans, resolveStoreScope, roundMoney, saleTypeOf, servicePlanFields, statusColors, statusTone, statusTones, stockVerdict, syncOwnerFor, toIdString, typeColorMap };
6361
+ export { ACTIVE_SUBSCRIPTION_CHANNELS, ADMIN_ACTIONS, ADMIN_AUDIT_ACTIONS, ADMIN_RESOURCES, ADMIN_RESOURCE_LIST, ALL_STORES, AWAITING_PAYMENT_STATUSES, type AddonAmountInput, type AddonGroupNetsuiteLink, type AddonNetsuiteLink, type AddonSelectionRef, type AddonSnapshot, type ApiResponse, type AppliedTax, BRAND_FIELDS, type BaseEntity, CAMPAIGN_RECIPIENT_STATUS_VALUES, CAMPAIGN_STATUS_VALUES, CART_STATUS_VALUES, CATEGORY_FIELDS, CONFIGURATOR_CONDITION_TYPE_VALUES, CONFIGURATOR_EFFECT_TYPE_VALUES, CONFIGURATOR_SELECT_MODE_VALUES, CONFIGURATOR_SOURCE_VALUES, type CacheStatus, type CacheStoreTarget, CampaignRecipientStatusEnum, CampaignStatusEnum, type CartIssue, type CartIssueType, CartIssueTypes, CartStatusEnum, type CartValidation, type CategoryImportSummary, type CheckoutAddressInput, type CheckoutPayload, type CheckoutResult, ConfiguratorConditionTypeEnum, ConfiguratorEffectTypeEnum, ConfiguratorErrorCodeEnum, type ConfiguratorEvalContext, type ConfiguratorEvalError, type ConfiguratorEvalResult, ConfiguratorSelectModeEnum, type ConfiguratorSelections, ConfiguratorSourceEnum, type CouponNetsuiteLink, DEFAULT_SUBSCRIPTION_TOPICS, DISCOUNT_TYPE_VALUES, DiscountTypeEnum, EMAIL_PARAM_MISMATCH_KIND_VALUES, EMAIL_TEMPLATE_EVENT_VALUES, EMAIL_TEMPLATE_VARIABLES_BY_EVENT, EMPTY_ACCESS, type EffectiveAccess, type EmailParamMismatch, EmailParamMismatchKindEnum, EmailTemplateEventEnum, FEE_APPLIES_TO_VALUES, FeeAppliesToEnum, type FieldMap, type FieldMapping, type FieldSource, type IAddonConfig, type IAddonGroup, type IAddress, type IAdmin, type IAdminAction, type IAdminAuditAction, type IAdminAuditLog, type IAdminBaseAction, type IAdminPermission, type IAdminResource, type IAdminRole, type IAdminRoleCreate, type IAdminSafe, type IAdminStoreAccess, type IAppliedFee, type IBannerSlide, type IBlogAuthor, type IBlogCategory, type IBlogPost, type IBrand, type ICampaign, type ICampaignRecipient, type ICampaignStats, type ICart, type ICartItem, type ICartServicePlanSnapshot, type ICategory, type ICategorySequence, type ICategorySubcategory, type IConfigurator, type IConfiguratorCondition, type IConfiguratorEffect, type IConfiguratorFacet, type IConfiguratorFacetValue, type IConfiguratorOption, type IConfiguratorPriceAdjustment, type IConfiguratorQuery, type IConfiguratorRule, type IConfiguratorSection, type IConfiguratorStep, type IConfiguratorTarget, type IContact, type ICountry, type ICoupon, type ICurrency, type ICustomer, type IDiscountType, type IEmailTemplate, type IFaq, type IFaqCategory, type IKeyValue, type ILinePricing, type IMediaAsset, INVENTORY_POLICY_VALUES, type INetsuiteEvent, type INetsuiteOrderLink, type INetsuiteQueueEntry, type INotification, type IOrder, type IOrderItem, type IOrderLog, type IOrderShipment, type IOrderTransaction, type IPaymentLink, type IPodcastEpisode, type IPrice, type IProduct, type IProductDailyStat, 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 IServicePlan, 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 ITaxRate, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IUnmatched404, type IVariant, type IVariantOptionSelection, type IWishlist, type IWishlistItem, type Id, type InventoryPolicy, InventoryPolicyEnum, type LineChargeInput, type MatchResult, type Metadata, NETSUITE_EVENT_STATE_VALUES, NETSUITE_OWNED_FIELDS, NETSUITE_RECORD_TYPE_VALUES, NETSUITE_RELATION_GROUPS, NOTIFICATION_TYPE_VALUES, NetsuiteEventStateEnum, NetsuiteFieldProvider, type NetsuiteLinkResult, type NetsuiteOrderPreview, type NetsuiteOwnedEntity, type NetsuitePreviewLine, type NetsuitePushAttempt, type NetsuitePushOutcome, type NetsuiteReceipt, NetsuiteRecordTypeEnum, type NetsuiteRelationSource, type NetsuiteStatusChange, type NetsuiteStatusSyncResult, type NetsuiteSyncDefinition, NotificationTypeEnum, OPEN_ORDER_STATUSES, ORDER_LOG_TYPE_VALUES, ORDER_STATUS_VALUES, type OfferedAddon, type OfferedAddonGroup, type OfferedServicePlan, OrderLogTypeEnum, OrderStatusEnum, PAYMENT_GATEWAY_VALUES, PAYMENT_LINK_STATUS_VALUES, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, PLACED_OPEN_ORDER_STATUSES, PRICING_TYPE_VALUES, PRODUCT_FIELDS, PRODUCT_VARIANT_TYPE_VALUES, PROVIDERS, PURCHASE_ORDER_STATUSES, PUSH_CHECK_STATUS_VALUES, PaymentGatewayEnum, PaymentLinkStatusEnum, type PaymentLinkView, PaymentMethodEnum, PaymentStatusEnum, type PricedLineLike, type PricingType, PricingTypeEnum, type ProductAddonScope, ProductEventTypeEnum, type ProductServicePlanScope, type ProductVariantType, ProductVariantTypeEnum, type PromotionSyncResult, type PushCheck, PushCheckStatusEnum, type PushField, QUOTE_ORDER_STATUSES, RELATION_FIELDS, RESOURCE_OPERATIONS, RETIRED_CART_STATUSES, type RateAddress, type RatedShippingMethod, type RedirectTargetType, type ResolveAccessInput, type ResolvedAddonSelection, type RevalidationResult, SALE_TYPE_VALUES, SERVICE_PLAN_ELIGIBILITY_FIELD, STATUS_TONE_VALUES, SUBSCRIPTION_CHANNEL_VALUES, SUBSCRIPTION_TOPIC_LABELS, SUBSCRIPTION_TOPIC_VALUES, type SaleType, SaleTypeEnum, type SaleTypedLike, type SelectedShippingMethod, type ServicePlanNetsuiteLink, StatusToneEnum, type StockDemandLine, type StockStatus, StockStatusEnum, type StockVerdict, StockVerdictEnum, type StoreAccessCheckInput, type StoreScopeInput, SubscriptionChannelEnum, SubscriptionTopicEnum, type SyncPolicy, type SyncRisk, TAX_RATE_SOURCE_VALUES, TRANSACTION_TYPE_VALUES, TaxRateSourceEnum, type TaxSyncResult, TransactionTypeEnum, UNPLACED_ORDER_STATUSES, type VariantOptionMode, WIRED_EMAIL_TEMPLATE_EVENTS, actionsForResource, addonFields, addonUnitAmount, addonsOfLine, addonsUnitAmount, adjustmentsFor, applyPriceAdjustments, baseUnitPriceOfLine, blogAuthorFields, blogCategoryFields, blogPostFields, brandFields, can, canAny, canonicalizePath, canonicalizeSlug, categoryFields, chargesOfLine, conditionHolds, couponFields, demandByKey, evaluateConfigurator, feeHint, formatMoney, grantedPermissions, groupHasDefaultAddon, hasStoreAccess, isConfigurationValid, isNetsuiteOwned, isNonEmptyString, isQuoteOnlyItem, isValidAction, isValidEmail, missingGrants, netsuiteFieldCaution, netsuiteFieldConditional, netsuiteFieldNote, netsuiteFieldRisk, netsuiteFieldSource, netsuiteRelationSource, netsuiteStatusLabel, normalizeLineQuantity, normalizeNumber, normalizePath, orderLogTypeColorMap, paymentLinkStatusColorMap, paymentMethodColorMap, paymentStatusColorMap, podcastFields, productFields, readMapped, resolveAddonSelections, resolveEffectivePermissions, resolveProductAddonGroups, resolveProductServicePlans, resolveStoreScope, roundMoney, saleTypeOf, servicePlanFields, statusColors, statusTone, statusTones, stockVerdict, syncOwnerFor, toIdString, typeColorMap };
package/dist/index.d.ts CHANGED
@@ -249,7 +249,6 @@ interface ICategory extends BaseEntity {
249
249
  parent: ICategory;
250
250
  subcategories?: ICategorySubcategory[];
251
251
  stores: (IStore | string)[];
252
- childOnly?: boolean;
253
252
  image: string;
254
253
  banners: IBannerSlide[];
255
254
  sortOrder: number;
@@ -320,7 +319,6 @@ interface IProductVariantFields {
320
319
  inventoryPolicy: InventoryPolicy;
321
320
  brand: IBrand;
322
321
  stores: (IStore | string)[];
323
- childOnly?: boolean;
324
322
  stock: IStock;
325
323
  category: ICategory;
326
324
  categories: ICategory[];
@@ -462,6 +460,9 @@ interface ResolvedAddonSelection extends AddonSelectionRef {
462
460
  }
463
461
  declare const resolveAddonSelections: (groups: IAddonGroup[], selections: AddonSelectionRef[]) => ResolvedAddonSelection[];
464
462
 
463
+ interface ICategorySequence {
464
+ [categoryId: string]: number;
465
+ }
465
466
  interface IProduct extends BaseEntity, IProductVariantFields {
466
467
  netsuiteId: string;
467
468
  name: string;
@@ -476,6 +477,10 @@ interface IProduct extends BaseEntity, IProductVariantFields {
476
477
  addons: (IAddonConfig | string)[];
477
478
  googleCategory: string;
478
479
  department: string;
480
+ featureBullets: string[];
481
+ mpn: string;
482
+ vendorName: string;
483
+ categorySequence?: ICategorySequence;
479
484
  }
480
485
 
481
486
  interface ICartItem extends BaseEntity {
@@ -1985,6 +1990,20 @@ declare const PRODUCT_FIELDS: {
1985
1990
  readonly conditional: true;
1986
1991
  readonly note: string;
1987
1992
  };
1993
+ readonly mpn: {
1994
+ readonly before: "mpn";
1995
+ readonly target: "mpn";
1996
+ readonly policy: "always";
1997
+ readonly conditional: true;
1998
+ readonly note: string;
1999
+ };
2000
+ readonly vendorName: {
2001
+ readonly before: "vendorname";
2002
+ readonly target: "vendorName";
2003
+ readonly policy: "always";
2004
+ readonly conditional: true;
2005
+ readonly note: string;
2006
+ };
1988
2007
  readonly itemType: {
1989
2008
  readonly before: "itemtype";
1990
2009
  readonly target: "itemType";
@@ -2191,13 +2210,6 @@ declare const PRODUCT_FIELDS: {
2191
2210
  readonly pending: true;
2192
2211
  readonly note: "Field exists in NetSuite and carries no data yet.";
2193
2212
  };
2194
- readonly childStoreOnly: {
2195
- readonly after: "custitem_child_store_only";
2196
- readonly target: "childOnly";
2197
- readonly policy: "seed";
2198
- readonly pending: true;
2199
- readonly note: "Nothing is flagged yet. Our stores[] array already covers this.";
2200
- };
2201
2213
  };
2202
2214
 
2203
2215
  type SyncPolicy = "always" | "seed";
@@ -2366,6 +2378,20 @@ declare const productFields: NetsuiteFieldProvider<{
2366
2378
  readonly conditional: true;
2367
2379
  readonly note: string;
2368
2380
  };
2381
+ readonly mpn: {
2382
+ readonly before: "mpn";
2383
+ readonly target: "mpn";
2384
+ readonly policy: "always";
2385
+ readonly conditional: true;
2386
+ readonly note: string;
2387
+ };
2388
+ readonly vendorName: {
2389
+ readonly before: "vendorname";
2390
+ readonly target: "vendorName";
2391
+ readonly policy: "always";
2392
+ readonly conditional: true;
2393
+ readonly note: string;
2394
+ };
2369
2395
  readonly itemType: {
2370
2396
  readonly before: "itemtype";
2371
2397
  readonly target: "itemType";
@@ -2572,13 +2598,6 @@ declare const productFields: NetsuiteFieldProvider<{
2572
2598
  readonly pending: true;
2573
2599
  readonly note: "Field exists in NetSuite and carries no data yet.";
2574
2600
  };
2575
- readonly childStoreOnly: {
2576
- readonly after: "custitem_child_store_only";
2577
- readonly target: "childOnly";
2578
- readonly policy: "seed";
2579
- readonly pending: true;
2580
- readonly note: "Nothing is flagged yet. Our stores[] array already covers this.";
2581
- };
2582
2601
  }>;
2583
2602
  declare const addonFields: NetsuiteFieldProvider<{
2584
2603
  readonly netsuiteItemId: {
@@ -3581,6 +3600,20 @@ declare const PROVIDERS: readonly [NetsuiteFieldProvider<{
3581
3600
  readonly conditional: true;
3582
3601
  readonly note: string;
3583
3602
  };
3603
+ readonly mpn: {
3604
+ readonly before: "mpn";
3605
+ readonly target: "mpn";
3606
+ readonly policy: "always";
3607
+ readonly conditional: true;
3608
+ readonly note: string;
3609
+ };
3610
+ readonly vendorName: {
3611
+ readonly before: "vendorname";
3612
+ readonly target: "vendorName";
3613
+ readonly policy: "always";
3614
+ readonly conditional: true;
3615
+ readonly note: string;
3616
+ };
3584
3617
  readonly itemType: {
3585
3618
  readonly before: "itemtype";
3586
3619
  readonly target: "itemType";
@@ -3787,13 +3820,6 @@ declare const PROVIDERS: readonly [NetsuiteFieldProvider<{
3787
3820
  readonly pending: true;
3788
3821
  readonly note: "Field exists in NetSuite and carries no data yet.";
3789
3822
  };
3790
- readonly childStoreOnly: {
3791
- readonly after: "custitem_child_store_only";
3792
- readonly target: "childOnly";
3793
- readonly policy: "seed";
3794
- readonly pending: true;
3795
- readonly note: "Nothing is flagged yet. Our stores[] array already covers this.";
3796
- };
3797
3823
  }>, NetsuiteFieldProvider<{
3798
3824
  readonly netsuiteItemId: {
3799
3825
  readonly before: "item.id";
@@ -4839,6 +4865,20 @@ declare const BY_ENTITY: {
4839
4865
  readonly conditional: true;
4840
4866
  readonly note: string;
4841
4867
  };
4868
+ readonly mpn: {
4869
+ readonly before: "mpn";
4870
+ readonly target: "mpn";
4871
+ readonly policy: "always";
4872
+ readonly conditional: true;
4873
+ readonly note: string;
4874
+ };
4875
+ readonly vendorName: {
4876
+ readonly before: "vendorname";
4877
+ readonly target: "vendorName";
4878
+ readonly policy: "always";
4879
+ readonly conditional: true;
4880
+ readonly note: string;
4881
+ };
4842
4882
  readonly itemType: {
4843
4883
  readonly before: "itemtype";
4844
4884
  readonly target: "itemType";
@@ -5045,13 +5085,6 @@ declare const BY_ENTITY: {
5045
5085
  readonly pending: true;
5046
5086
  readonly note: "Field exists in NetSuite and carries no data yet.";
5047
5087
  };
5048
- readonly childStoreOnly: {
5049
- readonly after: "custitem_child_store_only";
5050
- readonly target: "childOnly";
5051
- readonly policy: "seed";
5052
- readonly pending: true;
5053
- readonly note: "Nothing is flagged yet. Our stores[] array already covers this.";
5054
- };
5055
5088
  }>;
5056
5089
  readonly addon: NetsuiteFieldProvider<{
5057
5090
  readonly netsuiteItemId: {
@@ -6325,4 +6358,4 @@ interface IWishlist extends BaseEntity {
6325
6358
  items: IWishlistItem[];
6326
6359
  }
6327
6360
 
6328
- export { ACTIVE_SUBSCRIPTION_CHANNELS, ADMIN_ACTIONS, ADMIN_AUDIT_ACTIONS, ADMIN_RESOURCES, ADMIN_RESOURCE_LIST, ALL_STORES, AWAITING_PAYMENT_STATUSES, type AddonAmountInput, type AddonGroupNetsuiteLink, type AddonNetsuiteLink, type AddonSelectionRef, type AddonSnapshot, type ApiResponse, type AppliedTax, BRAND_FIELDS, type BaseEntity, CAMPAIGN_RECIPIENT_STATUS_VALUES, CAMPAIGN_STATUS_VALUES, CART_STATUS_VALUES, CATEGORY_FIELDS, CONFIGURATOR_CONDITION_TYPE_VALUES, CONFIGURATOR_EFFECT_TYPE_VALUES, CONFIGURATOR_SELECT_MODE_VALUES, CONFIGURATOR_SOURCE_VALUES, type CacheStatus, type CacheStoreTarget, CampaignRecipientStatusEnum, CampaignStatusEnum, type CartIssue, type CartIssueType, CartIssueTypes, CartStatusEnum, type CartValidation, type CategoryImportSummary, type CheckoutAddressInput, type CheckoutPayload, type CheckoutResult, ConfiguratorConditionTypeEnum, ConfiguratorEffectTypeEnum, ConfiguratorErrorCodeEnum, type ConfiguratorEvalContext, type ConfiguratorEvalError, type ConfiguratorEvalResult, ConfiguratorSelectModeEnum, type ConfiguratorSelections, ConfiguratorSourceEnum, type CouponNetsuiteLink, DEFAULT_SUBSCRIPTION_TOPICS, DISCOUNT_TYPE_VALUES, DiscountTypeEnum, EMAIL_PARAM_MISMATCH_KIND_VALUES, EMAIL_TEMPLATE_EVENT_VALUES, EMAIL_TEMPLATE_VARIABLES_BY_EVENT, EMPTY_ACCESS, type EffectiveAccess, type EmailParamMismatch, EmailParamMismatchKindEnum, EmailTemplateEventEnum, FEE_APPLIES_TO_VALUES, FeeAppliesToEnum, type FieldMap, type FieldMapping, type FieldSource, type IAddonConfig, type IAddonGroup, type IAddress, type IAdmin, type IAdminAction, type IAdminAuditAction, type IAdminAuditLog, type IAdminBaseAction, type IAdminPermission, type IAdminResource, type IAdminRole, type IAdminRoleCreate, type IAdminSafe, type IAdminStoreAccess, type IAppliedFee, type IBannerSlide, type IBlogAuthor, type IBlogCategory, type IBlogPost, type IBrand, type ICampaign, type ICampaignRecipient, type ICampaignStats, type ICart, type ICartItem, type ICartServicePlanSnapshot, type ICategory, type ICategorySubcategory, type IConfigurator, type IConfiguratorCondition, type IConfiguratorEffect, type IConfiguratorFacet, type IConfiguratorFacetValue, type IConfiguratorOption, type IConfiguratorPriceAdjustment, type IConfiguratorQuery, type IConfiguratorRule, type IConfiguratorSection, type IConfiguratorStep, type IConfiguratorTarget, type IContact, type ICountry, type ICoupon, type ICurrency, type ICustomer, type IDiscountType, type IEmailTemplate, type IFaq, type IFaqCategory, type IKeyValue, type ILinePricing, type IMediaAsset, INVENTORY_POLICY_VALUES, type INetsuiteEvent, type INetsuiteOrderLink, type INetsuiteQueueEntry, type INotification, type IOrder, type IOrderItem, type IOrderLog, type IOrderShipment, type IOrderTransaction, type IPaymentLink, type IPodcastEpisode, type IPrice, type IProduct, type IProductDailyStat, 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 IServicePlan, 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 ITaxRate, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IUnmatched404, type IVariant, type IVariantOptionSelection, type IWishlist, type IWishlistItem, type Id, type InventoryPolicy, InventoryPolicyEnum, type LineChargeInput, type MatchResult, type Metadata, NETSUITE_EVENT_STATE_VALUES, NETSUITE_OWNED_FIELDS, NETSUITE_RECORD_TYPE_VALUES, NETSUITE_RELATION_GROUPS, NOTIFICATION_TYPE_VALUES, NetsuiteEventStateEnum, NetsuiteFieldProvider, type NetsuiteLinkResult, type NetsuiteOrderPreview, type NetsuiteOwnedEntity, type NetsuitePreviewLine, type NetsuitePushAttempt, type NetsuitePushOutcome, type NetsuiteReceipt, NetsuiteRecordTypeEnum, type NetsuiteRelationSource, type NetsuiteStatusChange, type NetsuiteStatusSyncResult, type NetsuiteSyncDefinition, NotificationTypeEnum, OPEN_ORDER_STATUSES, ORDER_LOG_TYPE_VALUES, ORDER_STATUS_VALUES, type OfferedAddon, type OfferedAddonGroup, type OfferedServicePlan, OrderLogTypeEnum, OrderStatusEnum, PAYMENT_GATEWAY_VALUES, PAYMENT_LINK_STATUS_VALUES, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, PLACED_OPEN_ORDER_STATUSES, PRICING_TYPE_VALUES, PRODUCT_FIELDS, PRODUCT_VARIANT_TYPE_VALUES, PROVIDERS, PURCHASE_ORDER_STATUSES, PUSH_CHECK_STATUS_VALUES, PaymentGatewayEnum, PaymentLinkStatusEnum, type PaymentLinkView, PaymentMethodEnum, PaymentStatusEnum, type PricedLineLike, type PricingType, PricingTypeEnum, type ProductAddonScope, ProductEventTypeEnum, type ProductServicePlanScope, type ProductVariantType, ProductVariantTypeEnum, type PromotionSyncResult, type PushCheck, PushCheckStatusEnum, type PushField, QUOTE_ORDER_STATUSES, RELATION_FIELDS, RESOURCE_OPERATIONS, RETIRED_CART_STATUSES, type RateAddress, type RatedShippingMethod, type RedirectTargetType, type ResolveAccessInput, type ResolvedAddonSelection, type RevalidationResult, SALE_TYPE_VALUES, SERVICE_PLAN_ELIGIBILITY_FIELD, STATUS_TONE_VALUES, SUBSCRIPTION_CHANNEL_VALUES, SUBSCRIPTION_TOPIC_LABELS, SUBSCRIPTION_TOPIC_VALUES, type SaleType, SaleTypeEnum, type SaleTypedLike, type SelectedShippingMethod, type ServicePlanNetsuiteLink, StatusToneEnum, type StockDemandLine, type StockStatus, StockStatusEnum, type StockVerdict, StockVerdictEnum, type StoreAccessCheckInput, type StoreScopeInput, SubscriptionChannelEnum, SubscriptionTopicEnum, type SyncPolicy, type SyncRisk, TAX_RATE_SOURCE_VALUES, TRANSACTION_TYPE_VALUES, TaxRateSourceEnum, type TaxSyncResult, TransactionTypeEnum, UNPLACED_ORDER_STATUSES, type VariantOptionMode, WIRED_EMAIL_TEMPLATE_EVENTS, actionsForResource, addonFields, addonUnitAmount, addonsOfLine, addonsUnitAmount, adjustmentsFor, applyPriceAdjustments, baseUnitPriceOfLine, blogAuthorFields, blogCategoryFields, blogPostFields, brandFields, can, canAny, canonicalizePath, canonicalizeSlug, categoryFields, chargesOfLine, conditionHolds, couponFields, demandByKey, evaluateConfigurator, feeHint, formatMoney, grantedPermissions, groupHasDefaultAddon, hasStoreAccess, isConfigurationValid, isNetsuiteOwned, isNonEmptyString, isQuoteOnlyItem, isValidAction, isValidEmail, missingGrants, netsuiteFieldCaution, netsuiteFieldConditional, netsuiteFieldNote, netsuiteFieldRisk, netsuiteFieldSource, netsuiteRelationSource, netsuiteStatusLabel, normalizeLineQuantity, normalizeNumber, normalizePath, orderLogTypeColorMap, paymentLinkStatusColorMap, paymentMethodColorMap, paymentStatusColorMap, podcastFields, productFields, readMapped, resolveAddonSelections, resolveEffectivePermissions, resolveProductAddonGroups, resolveProductServicePlans, resolveStoreScope, roundMoney, saleTypeOf, servicePlanFields, statusColors, statusTone, statusTones, stockVerdict, syncOwnerFor, toIdString, typeColorMap };
6361
+ export { ACTIVE_SUBSCRIPTION_CHANNELS, ADMIN_ACTIONS, ADMIN_AUDIT_ACTIONS, ADMIN_RESOURCES, ADMIN_RESOURCE_LIST, ALL_STORES, AWAITING_PAYMENT_STATUSES, type AddonAmountInput, type AddonGroupNetsuiteLink, type AddonNetsuiteLink, type AddonSelectionRef, type AddonSnapshot, type ApiResponse, type AppliedTax, BRAND_FIELDS, type BaseEntity, CAMPAIGN_RECIPIENT_STATUS_VALUES, CAMPAIGN_STATUS_VALUES, CART_STATUS_VALUES, CATEGORY_FIELDS, CONFIGURATOR_CONDITION_TYPE_VALUES, CONFIGURATOR_EFFECT_TYPE_VALUES, CONFIGURATOR_SELECT_MODE_VALUES, CONFIGURATOR_SOURCE_VALUES, type CacheStatus, type CacheStoreTarget, CampaignRecipientStatusEnum, CampaignStatusEnum, type CartIssue, type CartIssueType, CartIssueTypes, CartStatusEnum, type CartValidation, type CategoryImportSummary, type CheckoutAddressInput, type CheckoutPayload, type CheckoutResult, ConfiguratorConditionTypeEnum, ConfiguratorEffectTypeEnum, ConfiguratorErrorCodeEnum, type ConfiguratorEvalContext, type ConfiguratorEvalError, type ConfiguratorEvalResult, ConfiguratorSelectModeEnum, type ConfiguratorSelections, ConfiguratorSourceEnum, type CouponNetsuiteLink, DEFAULT_SUBSCRIPTION_TOPICS, DISCOUNT_TYPE_VALUES, DiscountTypeEnum, EMAIL_PARAM_MISMATCH_KIND_VALUES, EMAIL_TEMPLATE_EVENT_VALUES, EMAIL_TEMPLATE_VARIABLES_BY_EVENT, EMPTY_ACCESS, type EffectiveAccess, type EmailParamMismatch, EmailParamMismatchKindEnum, EmailTemplateEventEnum, FEE_APPLIES_TO_VALUES, FeeAppliesToEnum, type FieldMap, type FieldMapping, type FieldSource, type IAddonConfig, type IAddonGroup, type IAddress, type IAdmin, type IAdminAction, type IAdminAuditAction, type IAdminAuditLog, type IAdminBaseAction, type IAdminPermission, type IAdminResource, type IAdminRole, type IAdminRoleCreate, type IAdminSafe, type IAdminStoreAccess, type IAppliedFee, type IBannerSlide, type IBlogAuthor, type IBlogCategory, type IBlogPost, type IBrand, type ICampaign, type ICampaignRecipient, type ICampaignStats, type ICart, type ICartItem, type ICartServicePlanSnapshot, type ICategory, type ICategorySequence, type ICategorySubcategory, type IConfigurator, type IConfiguratorCondition, type IConfiguratorEffect, type IConfiguratorFacet, type IConfiguratorFacetValue, type IConfiguratorOption, type IConfiguratorPriceAdjustment, type IConfiguratorQuery, type IConfiguratorRule, type IConfiguratorSection, type IConfiguratorStep, type IConfiguratorTarget, type IContact, type ICountry, type ICoupon, type ICurrency, type ICustomer, type IDiscountType, type IEmailTemplate, type IFaq, type IFaqCategory, type IKeyValue, type ILinePricing, type IMediaAsset, INVENTORY_POLICY_VALUES, type INetsuiteEvent, type INetsuiteOrderLink, type INetsuiteQueueEntry, type INotification, type IOrder, type IOrderItem, type IOrderLog, type IOrderShipment, type IOrderTransaction, type IPaymentLink, type IPodcastEpisode, type IPrice, type IProduct, type IProductDailyStat, 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 IServicePlan, 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 ITaxRate, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IUnmatched404, type IVariant, type IVariantOptionSelection, type IWishlist, type IWishlistItem, type Id, type InventoryPolicy, InventoryPolicyEnum, type LineChargeInput, type MatchResult, type Metadata, NETSUITE_EVENT_STATE_VALUES, NETSUITE_OWNED_FIELDS, NETSUITE_RECORD_TYPE_VALUES, NETSUITE_RELATION_GROUPS, NOTIFICATION_TYPE_VALUES, NetsuiteEventStateEnum, NetsuiteFieldProvider, type NetsuiteLinkResult, type NetsuiteOrderPreview, type NetsuiteOwnedEntity, type NetsuitePreviewLine, type NetsuitePushAttempt, type NetsuitePushOutcome, type NetsuiteReceipt, NetsuiteRecordTypeEnum, type NetsuiteRelationSource, type NetsuiteStatusChange, type NetsuiteStatusSyncResult, type NetsuiteSyncDefinition, NotificationTypeEnum, OPEN_ORDER_STATUSES, ORDER_LOG_TYPE_VALUES, ORDER_STATUS_VALUES, type OfferedAddon, type OfferedAddonGroup, type OfferedServicePlan, OrderLogTypeEnum, OrderStatusEnum, PAYMENT_GATEWAY_VALUES, PAYMENT_LINK_STATUS_VALUES, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, PLACED_OPEN_ORDER_STATUSES, PRICING_TYPE_VALUES, PRODUCT_FIELDS, PRODUCT_VARIANT_TYPE_VALUES, PROVIDERS, PURCHASE_ORDER_STATUSES, PUSH_CHECK_STATUS_VALUES, PaymentGatewayEnum, PaymentLinkStatusEnum, type PaymentLinkView, PaymentMethodEnum, PaymentStatusEnum, type PricedLineLike, type PricingType, PricingTypeEnum, type ProductAddonScope, ProductEventTypeEnum, type ProductServicePlanScope, type ProductVariantType, ProductVariantTypeEnum, type PromotionSyncResult, type PushCheck, PushCheckStatusEnum, type PushField, QUOTE_ORDER_STATUSES, RELATION_FIELDS, RESOURCE_OPERATIONS, RETIRED_CART_STATUSES, type RateAddress, type RatedShippingMethod, type RedirectTargetType, type ResolveAccessInput, type ResolvedAddonSelection, type RevalidationResult, SALE_TYPE_VALUES, SERVICE_PLAN_ELIGIBILITY_FIELD, STATUS_TONE_VALUES, SUBSCRIPTION_CHANNEL_VALUES, SUBSCRIPTION_TOPIC_LABELS, SUBSCRIPTION_TOPIC_VALUES, type SaleType, SaleTypeEnum, type SaleTypedLike, type SelectedShippingMethod, type ServicePlanNetsuiteLink, StatusToneEnum, type StockDemandLine, type StockStatus, StockStatusEnum, type StockVerdict, StockVerdictEnum, type StoreAccessCheckInput, type StoreScopeInput, SubscriptionChannelEnum, SubscriptionTopicEnum, type SyncPolicy, type SyncRisk, TAX_RATE_SOURCE_VALUES, TRANSACTION_TYPE_VALUES, TaxRateSourceEnum, type TaxSyncResult, TransactionTypeEnum, UNPLACED_ORDER_STATUSES, type VariantOptionMode, WIRED_EMAIL_TEMPLATE_EVENTS, actionsForResource, addonFields, addonUnitAmount, addonsOfLine, addonsUnitAmount, adjustmentsFor, applyPriceAdjustments, baseUnitPriceOfLine, blogAuthorFields, blogCategoryFields, blogPostFields, brandFields, can, canAny, canonicalizePath, canonicalizeSlug, categoryFields, chargesOfLine, conditionHolds, couponFields, demandByKey, evaluateConfigurator, feeHint, formatMoney, grantedPermissions, groupHasDefaultAddon, hasStoreAccess, isConfigurationValid, isNetsuiteOwned, isNonEmptyString, isQuoteOnlyItem, isValidAction, isValidEmail, missingGrants, netsuiteFieldCaution, netsuiteFieldConditional, netsuiteFieldNote, netsuiteFieldRisk, netsuiteFieldSource, netsuiteRelationSource, netsuiteStatusLabel, normalizeLineQuantity, normalizeNumber, normalizePath, orderLogTypeColorMap, paymentLinkStatusColorMap, paymentMethodColorMap, paymentStatusColorMap, podcastFields, productFields, readMapped, resolveAddonSelections, resolveEffectivePermissions, resolveProductAddonGroups, resolveProductServicePlans, resolveStoreScope, roundMoney, saleTypeOf, servicePlanFields, statusColors, statusTone, statusTones, stockVerdict, syncOwnerFor, toIdString, typeColorMap };
package/dist/index.js CHANGED
@@ -913,6 +913,20 @@ var PRODUCT_FIELDS = {
913
913
  conditional: true,
914
914
  note: "NetSuite's Spare Part checkbox, on 77,355 active online items. With isSeriesComponent it drives the non-returnable notice on the product page."
915
915
  },
916
+ mpn: {
917
+ before: "mpn",
918
+ target: "mpn",
919
+ policy: "always",
920
+ conditional: true,
921
+ note: "NetSuite's Manufacturer Part Number \u2014 the number a customer recognises, and what the storefront card shows as the SKU. `itemid` is internal and shaped <mpn>-<vendor>. Present on 343,543 products; vendorName covers a further 50,464. " + NATIVE2
922
+ },
923
+ vendorName: {
924
+ before: "vendorname",
925
+ target: "vendorName",
926
+ policy: "always",
927
+ conditional: true,
928
+ note: "NetSuite's Vendor Name/Code. Used as the part number when mpn is blank \u2014 together they cover all but 3,883 products, which fall back to the internal itemid. " + NATIVE2
929
+ },
916
930
  itemType: {
917
931
  before: "itemtype",
918
932
  target: "itemType",
@@ -1118,13 +1132,6 @@ var PRODUCT_FIELDS = {
1118
1132
  policy: "seed",
1119
1133
  pending: true,
1120
1134
  note: "Field exists in NetSuite and carries no data yet."
1121
- },
1122
- childStoreOnly: {
1123
- after: "custitem_child_store_only",
1124
- target: "childOnly",
1125
- policy: "seed",
1126
- pending: true,
1127
- note: "Nothing is flagged yet. Our stores[] array already covers this."
1128
1135
  }
1129
1136
  };
1130
1137