@fas-core/shared-types 1.0.141 → 1.0.143
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 +35 -5
- package/dist/index.d.ts +35 -5
- package/dist/index.js +32 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +32 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1163,9 +1163,6 @@ declare const PURCHASE_ORDER_STATUSES: OrderStatusEnum[];
|
|
|
1163
1163
|
declare const PLACED_OPEN_ORDER_STATUSES: OrderStatusEnum[];
|
|
1164
1164
|
declare const COMPLETE_ORDER_STATUSES: OrderStatusEnum[];
|
|
1165
1165
|
declare const RETURN_ORDER_STATUSES: OrderStatusEnum[];
|
|
1166
|
-
declare const SETTLED_STATUSES: OrderStatusEnum[];
|
|
1167
|
-
declare const MOVABLE_STATUSES: OrderStatusEnum[];
|
|
1168
|
-
declare const isSettledStatus: (status?: string) => boolean;
|
|
1169
1166
|
declare const UNPLACED_ORDER_STATUSES: OrderStatusEnum[];
|
|
1170
1167
|
declare const OPEN_ORDER_STATUSES: OrderStatusEnum[];
|
|
1171
1168
|
declare const OPEN_QUOTE_STATUSES: OrderStatusEnum[];
|
|
@@ -1637,6 +1634,12 @@ declare const COMPANY: {
|
|
|
1637
1634
|
declare const COMPANY_CITY_LINE: string;
|
|
1638
1635
|
declare const COMPANY_CITY_LINE_LONG: string;
|
|
1639
1636
|
declare const COMPANY_ADDRESS_LINE: string;
|
|
1637
|
+
declare const SERVICE_LAB: {
|
|
1638
|
+
readonly attention: "ATTN: Tool Repair Calibration";
|
|
1639
|
+
readonly name: "Flexible Assembly Systems Inc.";
|
|
1640
|
+
readonly street: "849 Industry Drive";
|
|
1641
|
+
readonly cityLine: "Tukwila, WA 98188";
|
|
1642
|
+
};
|
|
1640
1643
|
|
|
1641
1644
|
declare const CaseStatusEnum: {
|
|
1642
1645
|
readonly NOT_STARTED: "1";
|
|
@@ -1728,7 +1731,16 @@ type ISupportCaseListItem = Omit<ISupportCase, "messages">;
|
|
|
1728
1731
|
declare const CASE_STATUS_TONES: Record<CaseStatus, StatusToneEnum>;
|
|
1729
1732
|
declare const caseStatusTone: (status?: string) => StatusToneEnum;
|
|
1730
1733
|
|
|
1734
|
+
declare const ContactRequestTypeEnum: {
|
|
1735
|
+
readonly CONTACT: "CONTACT";
|
|
1736
|
+
readonly ONSITE_DEMO: "ONSITE_DEMO";
|
|
1737
|
+
readonly REPAIR: "REPAIR";
|
|
1738
|
+
};
|
|
1739
|
+
type ContactRequestTypeEnum = (typeof ContactRequestTypeEnum)[keyof typeof ContactRequestTypeEnum];
|
|
1740
|
+
declare const CONTACT_REQUEST_TYPE_VALUES: ("CONTACT" | "ONSITE_DEMO" | "REPAIR")[];
|
|
1741
|
+
declare const isContactRequestType: (value: unknown) => value is ContactRequestTypeEnum;
|
|
1731
1742
|
interface IContact extends BaseEntity {
|
|
1743
|
+
requestType: ContactRequestTypeEnum;
|
|
1732
1744
|
firstName: string;
|
|
1733
1745
|
lastName: string;
|
|
1734
1746
|
companyName?: string;
|
|
@@ -1749,6 +1761,23 @@ interface IContact extends BaseEntity {
|
|
|
1749
1761
|
message: string;
|
|
1750
1762
|
failedAt?: Date | string;
|
|
1751
1763
|
} | null;
|
|
1764
|
+
netsuiteLeadId?: string | null;
|
|
1765
|
+
onsiteDemo?: IOnsiteDemoRequest | null;
|
|
1766
|
+
repair?: IRepairRequest | null;
|
|
1767
|
+
}
|
|
1768
|
+
interface IOnsiteDemoRequest {
|
|
1769
|
+
demo: string;
|
|
1770
|
+
}
|
|
1771
|
+
interface IRepairTool {
|
|
1772
|
+
manufacturer: string;
|
|
1773
|
+
model: string;
|
|
1774
|
+
serial: string;
|
|
1775
|
+
accessories?: string;
|
|
1776
|
+
}
|
|
1777
|
+
interface IRepairRequest {
|
|
1778
|
+
tools: IRepairTool[];
|
|
1779
|
+
problem: string;
|
|
1780
|
+
comments?: string;
|
|
1752
1781
|
}
|
|
1753
1782
|
|
|
1754
1783
|
declare const SERVICE_PLAN_ELIGIBILITY_FIELD = "custitem520";
|
|
@@ -1848,9 +1877,10 @@ declare const EmailTemplateEventEnum: {
|
|
|
1848
1877
|
readonly INVOICE: "INVOICE";
|
|
1849
1878
|
readonly PROMOTIONAL: "PROMOTIONAL";
|
|
1850
1879
|
readonly CONTACT_US: "CONTACT_US";
|
|
1880
|
+
readonly REPAIR_REQUEST: "REPAIR_REQUEST";
|
|
1851
1881
|
};
|
|
1852
1882
|
type EmailTemplateEventEnum = (typeof EmailTemplateEventEnum)[keyof typeof EmailTemplateEventEnum];
|
|
1853
|
-
declare const EMAIL_TEMPLATE_EVENT_VALUES: ("QUOTE" | "QUOTE_REQUESTED" | "ORDER_RECEIVED" | "ORDER_CANCELLED" | "WELCOME" | "PASSWORD_RESET" | "PASSWORD_SETUP" | "QUOTE_SENT" | "QUOTE_DECLINED" | "INVOICE" | "PROMOTIONAL" | "CONTACT_US")[];
|
|
1883
|
+
declare const EMAIL_TEMPLATE_EVENT_VALUES: ("QUOTE" | "QUOTE_REQUESTED" | "ORDER_RECEIVED" | "ORDER_CANCELLED" | "WELCOME" | "PASSWORD_RESET" | "PASSWORD_SETUP" | "QUOTE_SENT" | "QUOTE_DECLINED" | "INVOICE" | "PROMOTIONAL" | "CONTACT_US" | "REPAIR_REQUEST")[];
|
|
1854
1884
|
declare const WIRED_EMAIL_TEMPLATE_EVENTS: EmailTemplateEventEnum[];
|
|
1855
1885
|
declare const EMAIL_TEMPLATE_VARIABLES_BY_EVENT: Partial<Record<EmailTemplateEventEnum, string[]>>;
|
|
1856
1886
|
interface IEmailTemplate extends BaseEntity {
|
|
@@ -7362,4 +7392,4 @@ declare const sitemapPartId: (build: string, storeId: string, kind: SitemapPartK
|
|
|
7362
7392
|
declare const sitemapEntryLine: (key: string, lastmod?: Date | string | null) => string;
|
|
7363
7393
|
declare const parseSitemapEntries: (entries: string) => SitemapEntryKey[];
|
|
7364
7394
|
|
|
7365
|
-
export { ACCOUNT_SOURCE_VALUES, ACTIVE_SUBSCRIPTION_CHANNELS, ADMIN_ACTIONS, ADMIN_AUDIT_ACTIONS, ADMIN_RESOURCES, ADMIN_RESOURCE_LIST, ALL_STORES, AUTH_PROVIDER_VALUES, AVAILABILITY_STATUS_TONES, AWAITING_PAYMENT_STATUSES, type AccountSource, AccountSourceEnum, type AddonAmountInput, type AddonGroupNetsuiteLink, type AddonNetsuiteLink, type AddonSelectionRef, type AddonSnapshot, type AddressLinesInput, type AdminCreateRequest, type AdminUpdateRequest, type ApiResponse, type AppliedTax, type AuthProvider, AuthProviderEnum, type Availability, AvailabilityToneEnum, BACKORDERED_TONE, BRAND_FIELDS, BULK_SPEC_PRODUCT_LIMIT, BUSINESS_TIME_ZONE, type BaseEntity, CAMPAIGN_RECIPIENT_STATUS_VALUES, CAMPAIGN_STATUS_VALUES, CART_STATUS_VALUES, CASE_ORIGIN_LABELS, CASE_ORIGIN_VALUES, CASE_PRIORITY_LABELS, CASE_PRIORITY_VALUES, CASE_PROFILE_LABELS, CASE_PROFILE_VALUES, CASE_STATUS_LABELS, CASE_STATUS_TONES, CASE_STATUS_VALUES, CASE_TYPE_LABELS, CASE_TYPE_VALUES, CATEGORY_FIELDS, CLOSED_QUOTE_STATUSES, COMPANY, COMPANY_ADDRESS_LINE, COMPANY_CITY_LINE, COMPANY_CITY_LINE_LONG, COMPANY_MAX_LENGTH, COMPLETE_ORDER_STATUSES, CONFIGURATOR_CONDITION_TYPE_VALUES, CONFIGURATOR_EFFECT_TYPE_VALUES, CONFIGURATOR_SELECT_MODE_VALUES, CONFIGURATOR_SOURCE_VALUES, CONTACT_PROFILE_OPTIONS, type CacheStatus, type CacheStoreTarget, CampaignRecipientStatusEnum, CampaignStatusEnum, type CartIssue, type CartIssueType, CartIssueTypes, CartStatusEnum, type CartValidation, type CaseOrigin, CaseOriginEnum, type CasePriority, CasePriorityEnum, type CaseProfile, CaseProfileEnum, type CaseStatus, CaseStatusEnum, type CaseType, CaseTypeEnum, type CategoryImportSummary, type CheckoutAddressInput, type CheckoutPayload, type CheckoutResult, ConfiguratorConditionTypeEnum, ConfiguratorEffectTypeEnum, ConfiguratorErrorCodeEnum, type ConfiguratorEvalContext, type ConfiguratorEvalError, type ConfiguratorEvalResult, ConfiguratorSelectModeEnum, type ConfiguratorSelections, ConfiguratorSourceEnum, type ConvertedOrderView, type CouponNetsuiteLink, CreditMemoStatusEnum, type CustomerAccountErrorCode, CustomerAccountErrorCodeEnum, type CustomerNameInput, type CustomerProfileUpdateRequest, type CustomerSignupRequest, type CustomerSocialLoginRequest, DEFAULT_SUBSCRIPTION_TOPICS, DISCOUNT_TYPE_LABELS, DISCOUNT_TYPE_VALUES, DiscountTypeEnum, EDITABLE_ADMIN_FIELDS, EDITABLE_CUSTOMER_FIELDS, EMAIL_PARAM_MISMATCH_KIND_VALUES, EMAIL_TEMPLATE_EVENT_VALUES, EMAIL_TEMPLATE_VARIABLES_BY_EVENT, EMPTY_ACCESS, type EditableAdminField, type EditableCustomerField, type EffectiveAccess, type EmailParamMismatch, EmailParamMismatchKindEnum, EmailTemplateEventEnum, FAILED_PAYMENT_STATUSES, FEE_APPLIES_TO_LABELS, FEE_APPLIES_TO_VALUES, FULFILLMENT_STATUS_LABEL, FULFILLMENT_STATUS_VALUES, FeeAppliesToEnum, type FieldMap, type FieldMapping, type FieldSource, FulfillmentStatusEnum, 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 ICaseMessage, type ICategory, type ICategorySequence, type ICategorySubcategory, type ICategoryUrl, 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 INetsuiteCaseLink, type INetsuiteEvent, type INetsuiteOrderLine, type INetsuiteOrderLink, type INetsuiteQueueEntry, type INetsuiteRefund, type INetsuiteSalesRep, type INetsuiteSyncCheckpoint, 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 ISitemapManifest, type ISitemapPart, type IState, type IStock, type IStore, type IStoreFee, type IStoreSettings, type ISubscriber, type ISubscriberConsent, type ISubscription, type ISummaryPricing, type ISupportCase, type ISupportCaseListItem, 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 LineShipProgress, LineShipStateEnum, MAX_PAGE, MAX_PAGE_SIZE, MIN_PASSWORD_LENGTH, MOVABLE_STATUSES, type MatchResult, type Metadata, NETSUITE_ESTIMATE_STATUS_TEXT, NETSUITE_EVENT_LANE_VALUES, NETSUITE_EVENT_STATE_TONES, NETSUITE_EVENT_STATE_VALUES, NETSUITE_FULFILLMENT_STATUS_TEXT, NETSUITE_INVOICE_STATUS_TEXT, NETSUITE_OWNED_FIELDS, NETSUITE_RECORD_TYPE_VALUES, NETSUITE_REFUND_KIND_VALUES, NETSUITE_REFUND_RECORD_NAME, NETSUITE_RELATION_GROUPS, NETSUITE_RETURN_STATUS_TEXT, NETSUITE_SALES_ORDER_STATUS_TEXT, NOTIFICATION_TYPE_VALUES, type NetsuiteCustomerLinkResult, NetsuiteEventLaneEnum, NetsuiteEventStateEnum, NetsuiteFieldProvider, type NetsuiteLineLike, type NetsuiteLinkResult, type NetsuiteOrderPreview, type NetsuiteOwnedEntity, type NetsuitePreviewLine, type NetsuitePushAttempt, type NetsuitePushOutcome, type NetsuiteReceipt, NetsuiteRecordTypeEnum, NetsuiteRefundKindEnum, type NetsuiteRelationSource, type NetsuiteStatusChange, type NetsuiteStatusSyncResult, type NetsuiteSyncDefinition, NotificationTypeEnum, OFFLINE_PAYMENT_METHODS, OPEN_ORDER_STATUSES, OPEN_QUOTE_STATUSES, ORDER_EMAIL_EVENTS, ORDER_LOG_TYPE_COLORS, ORDER_LOG_TYPE_VALUES, ORDER_ORIGIN_VALUES, ORDER_STATUS_LABELS, ORDER_STATUS_VALUES, type OfferedAddon, type OfferedAddonGroup, type OfferedServicePlan, type OrderEmailEvent, type OrderLineNameInput, OrderLogTypeEnum, OrderOriginEnum, OrderStatusEnum, PAID_PAYMENT_STATUSES, PARTLY_SHIPPED_STATUSES, PAYMENT_GATEWAY_LABELS, PAYMENT_GATEWAY_VALUES, PAYMENT_LINK_STATUS_LABELS, PAYMENT_LINK_STATUS_VALUES, PAYMENT_METHOD_COLORS, PAYMENT_METHOD_LABELS, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_LABELS, PAYMENT_STATUS_VALUES, PHONE_MAX_LENGTH, PLACED_OPEN_ORDER_STATUSES, PO_NUMBER_MAX_LENGTH, PRICING_TYPE_LABELS, PRICING_TYPE_VALUES, PRODUCT_FIELDS, PRODUCT_VARIANT_TYPE_VALUES, PROFILE_ACTOR_VALUES, PROVIDERS, PURCHASE_ORDER_STATUSES, PUSH_CHECK_STATUS_VALUES, type PaginatedResponse, PaymentGatewayEnum, PaymentLinkStatusEnum, type PaymentLinkView, PaymentMethodEnum, PaymentStatusEnum, type PersonNameInput, type PricedLineLike, type PricingType, PricingTypeEnum, type ProductAddonScope, ProductEventTypeEnum, type ProductServicePlanScope, type ProductVariantType, ProductVariantTypeEnum, ProfileActorEnum, type ProfileEditRules, type PromotionSyncResult, type PushCheck, PushCheckStatusEnum, type PushField, QUOTE_BUYABLE_STATUS, QUOTE_ORDER_STATUSES, QUOTE_SETTLEMENT_VALUES, QUOTE_VALID_DAYS, type QuantityLineInput, type QuoteRequestResult, type QuoteRuleInput, QuoteSettlementEnum, REDIRECT_TARGET_TYPE_VALUES, REFUND_STATE_TONES, REFUND_TRAIL_TITLE, RELATION_FIELDS, RESOURCE_OPERATIONS, RETIRED_CART_STATUSES, RETURN_ORDER_STATUSES, type RateAddress, type RatedShippingMethod, type RedirectTargetType, RedirectTargetTypeEnum, RefundPaymentStatusEnum, RefundStateEnum, type RefundStep, RefundStepStateEnum, type RefundSummary, type RefundTrail, RefundTrailKindEnum, type ResolveAccessInput, type ResolvedAddonSelection, ReturnStatusEnum, type RevalidationResult, SALE_TYPE_VALUES, SAVED_CART_TTL_DAYS, SERVICE_PLAN_ELIGIBILITY_FIELD, SETTLED_STATUSES, SITEMAP_MANIFESTS_COLLECTION, SITEMAP_MANIFEST_ID, SITEMAP_PARTS_COLLECTION, SITEMAP_PART_KIND_VALUES, STATUS_TONE_COLORS, STATUS_TONE_VALUES, STOCK_STATUS_VALUES, STORE_THEME_VALUES, SUBSCRIPTION_CHANNEL_VALUES, SUBSCRIPTION_TOPIC_LABELS, SUBSCRIPTION_TOPIC_VALUES, type SaleType, SaleTypeEnum, type SaleTypedLike, type SavedCartLine, type SavedCartSummary, type SelectedShippingMethod, type ServerQueryParams, type ServicePlanNetsuiteLink, type SitemapEntryKey, SitemapPartKindEnum, StatusToneEnum, type StatusToneRecord, type StockDemandLine, type StockStatus, StockStatusEnum, type StockVerdict, StockVerdictEnum, type StoreAccessCheckInput, type StoreScopeInput, StoreThemeEnum, SubscriptionChannelEnum, SubscriptionTopicEnum, type SyncPolicy, type SyncRisk, TAX_RATE_SOURCE_VALUES, TRANSACTION_TYPE_COLORS, TRANSACTION_TYPE_VALUES, TaxRateSourceEnum, type TaxSyncResult, type TrackingDisplay, TrackingKindEnum, TransactionTypeEnum, UNPLACED_ORDER_STATUSES, type VariantOptionMode, WIRED_EMAIL_TEMPLATE_EVENTS, actionsForResource, addonFields, addonUnitAmount, addonsOfLine, addonsUnitAmount, addressLines, adjustmentsFor, applyPriceAdjustments, availabilityOf, availabilityStatusTone, baseUnitPriceOfLine, blogAuthorFields, blogCategoryFields, blogPostFields, brandFields, buildOptionSignature, can, canAny, canonicalizePath, canonicalizeSlug, canonicalizeUrlSegment, cartAcceptsItem, caseIsOpen, caseStatusTone, categoryFields, centsEqual, chargesOfLine, chunkSpecProductIds, clampPage, clampPageSize, cleanOptionKey, companyNameOf, conditionHolds, convertedOrderBilledOffline, convertedOrderOf, couponFields, customerDisplayName, customerFields, customerRefundHeadline, customerStatusTone, demandByKey, discountValueLabel, errorMessage, evaluateConfigurator, feeHint, firstLine, formatDay, formatMoney, fulfillmentStatusTone, grantedPermissions, groupHasDefaultAddon, hasStoreAccess, isConfigurationValid, isContactProfile, isDiscountType, isFailedPaymentStatus, isNetsuiteOrigin, isNetsuiteOwned, isNonEmptyString, isOfflinePaymentMethod, isOrderEmailEvent, isPaidPaymentStatus, isPartlyShipped, isPricingType, isQuoteBuyable, isQuoteExpired, isQuoteLapsing, isQuoteOnlyItem, isRepQuoteOrderable, isSavedLinePriceChanged, isSellable, isSettledStatus, isStoredCalendarDay, isValidAction, isValidEmail, isValidPassword, isValidPhone, itemsLabel, lineName, lineQuantityCount, lineSellable, lineShipProgress, lineShipTone, lineSku, linesShipped, liveRefunds, missingGrants, netsuiteDocumentLabel, netsuiteDocumentTone, netsuiteEventStateTone, netsuiteFieldCaution, netsuiteFieldConditional, netsuiteFieldDerivedFrom, netsuiteFieldNote, netsuiteFieldRisk, netsuiteFieldSource, netsuiteRelationSource, netsuiteStatusLabel, normalizeLineQuantity, normalizeNumber, normalizePath, pageOf, parseSitemapEntries, paymentLinkStatusTone, paymentMethodLabel, paymentStatusLabel, paymentStatusTone, personName, poNumberText, podcastFields, pricingValueLabel, productFields, profileEditRules, quoteCanBeOrdered, quoteDaysLeft, quoteIsPriced, quotePaymentUnfinished, quoteSettlement, quoteValidityPassed, readMapped, recordStatusTone, refundHeadline, refundStateTone, refundStepTone, refundSummary, repLineNote, resolveAddonSelections, resolveEffectivePermissions, resolveProductAddonGroups, resolveProductServicePlans, resolveStoreScope, roundMoney, saleTypeOf, servicePlanFields, shipmentsTone, sitemapEntryLine, sitemapPartId, slugify, statusTagColor, statusTone, statusTones, stockVerdict, syncOwnerFor, taxLabel, taxRatePercent, toCents, toIdString, trackingDisplay, trimmedText };
|
|
7395
|
+
export { ACCOUNT_SOURCE_VALUES, ACTIVE_SUBSCRIPTION_CHANNELS, ADMIN_ACTIONS, ADMIN_AUDIT_ACTIONS, ADMIN_RESOURCES, ADMIN_RESOURCE_LIST, ALL_STORES, AUTH_PROVIDER_VALUES, AVAILABILITY_STATUS_TONES, AWAITING_PAYMENT_STATUSES, type AccountSource, AccountSourceEnum, type AddonAmountInput, type AddonGroupNetsuiteLink, type AddonNetsuiteLink, type AddonSelectionRef, type AddonSnapshot, type AddressLinesInput, type AdminCreateRequest, type AdminUpdateRequest, type ApiResponse, type AppliedTax, type AuthProvider, AuthProviderEnum, type Availability, AvailabilityToneEnum, BACKORDERED_TONE, BRAND_FIELDS, BULK_SPEC_PRODUCT_LIMIT, BUSINESS_TIME_ZONE, type BaseEntity, CAMPAIGN_RECIPIENT_STATUS_VALUES, CAMPAIGN_STATUS_VALUES, CART_STATUS_VALUES, CASE_ORIGIN_LABELS, CASE_ORIGIN_VALUES, CASE_PRIORITY_LABELS, CASE_PRIORITY_VALUES, CASE_PROFILE_LABELS, CASE_PROFILE_VALUES, CASE_STATUS_LABELS, CASE_STATUS_TONES, CASE_STATUS_VALUES, CASE_TYPE_LABELS, CASE_TYPE_VALUES, CATEGORY_FIELDS, CLOSED_QUOTE_STATUSES, COMPANY, COMPANY_ADDRESS_LINE, COMPANY_CITY_LINE, COMPANY_CITY_LINE_LONG, COMPANY_MAX_LENGTH, COMPLETE_ORDER_STATUSES, CONFIGURATOR_CONDITION_TYPE_VALUES, CONFIGURATOR_EFFECT_TYPE_VALUES, CONFIGURATOR_SELECT_MODE_VALUES, CONFIGURATOR_SOURCE_VALUES, CONTACT_PROFILE_OPTIONS, CONTACT_REQUEST_TYPE_VALUES, type CacheStatus, type CacheStoreTarget, CampaignRecipientStatusEnum, CampaignStatusEnum, type CartIssue, type CartIssueType, CartIssueTypes, CartStatusEnum, type CartValidation, type CaseOrigin, CaseOriginEnum, type CasePriority, CasePriorityEnum, type CaseProfile, CaseProfileEnum, type CaseStatus, CaseStatusEnum, type CaseType, CaseTypeEnum, type CategoryImportSummary, type CheckoutAddressInput, type CheckoutPayload, type CheckoutResult, ConfiguratorConditionTypeEnum, ConfiguratorEffectTypeEnum, ConfiguratorErrorCodeEnum, type ConfiguratorEvalContext, type ConfiguratorEvalError, type ConfiguratorEvalResult, ConfiguratorSelectModeEnum, type ConfiguratorSelections, ConfiguratorSourceEnum, ContactRequestTypeEnum, type ConvertedOrderView, type CouponNetsuiteLink, CreditMemoStatusEnum, type CustomerAccountErrorCode, CustomerAccountErrorCodeEnum, type CustomerNameInput, type CustomerProfileUpdateRequest, type CustomerSignupRequest, type CustomerSocialLoginRequest, DEFAULT_SUBSCRIPTION_TOPICS, DISCOUNT_TYPE_LABELS, DISCOUNT_TYPE_VALUES, DiscountTypeEnum, EDITABLE_ADMIN_FIELDS, EDITABLE_CUSTOMER_FIELDS, EMAIL_PARAM_MISMATCH_KIND_VALUES, EMAIL_TEMPLATE_EVENT_VALUES, EMAIL_TEMPLATE_VARIABLES_BY_EVENT, EMPTY_ACCESS, type EditableAdminField, type EditableCustomerField, type EffectiveAccess, type EmailParamMismatch, EmailParamMismatchKindEnum, EmailTemplateEventEnum, FAILED_PAYMENT_STATUSES, FEE_APPLIES_TO_LABELS, FEE_APPLIES_TO_VALUES, FULFILLMENT_STATUS_LABEL, FULFILLMENT_STATUS_VALUES, FeeAppliesToEnum, type FieldMap, type FieldMapping, type FieldSource, FulfillmentStatusEnum, 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 ICaseMessage, type ICategory, type ICategorySequence, type ICategorySubcategory, type ICategoryUrl, 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 INetsuiteCaseLink, type INetsuiteEvent, type INetsuiteOrderLine, type INetsuiteOrderLink, type INetsuiteQueueEntry, type INetsuiteRefund, type INetsuiteSalesRep, type INetsuiteSyncCheckpoint, type INotification, type IOnsiteDemoRequest, 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 IRepairRequest, type IRepairTool, type ISEOMetaData, type ISelectableFee, type IServicePlan, type IShipFromAddress, type IShipping, type IShippingRate, type ISitemapManifest, type ISitemapPart, type IState, type IStock, type IStore, type IStoreFee, type IStoreSettings, type ISubscriber, type ISubscriberConsent, type ISubscription, type ISummaryPricing, type ISupportCase, type ISupportCaseListItem, 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 LineShipProgress, LineShipStateEnum, MAX_PAGE, MAX_PAGE_SIZE, MIN_PASSWORD_LENGTH, type MatchResult, type Metadata, NETSUITE_ESTIMATE_STATUS_TEXT, NETSUITE_EVENT_LANE_VALUES, NETSUITE_EVENT_STATE_TONES, NETSUITE_EVENT_STATE_VALUES, NETSUITE_FULFILLMENT_STATUS_TEXT, NETSUITE_INVOICE_STATUS_TEXT, NETSUITE_OWNED_FIELDS, NETSUITE_RECORD_TYPE_VALUES, NETSUITE_REFUND_KIND_VALUES, NETSUITE_REFUND_RECORD_NAME, NETSUITE_RELATION_GROUPS, NETSUITE_RETURN_STATUS_TEXT, NETSUITE_SALES_ORDER_STATUS_TEXT, NOTIFICATION_TYPE_VALUES, type NetsuiteCustomerLinkResult, NetsuiteEventLaneEnum, NetsuiteEventStateEnum, NetsuiteFieldProvider, type NetsuiteLineLike, type NetsuiteLinkResult, type NetsuiteOrderPreview, type NetsuiteOwnedEntity, type NetsuitePreviewLine, type NetsuitePushAttempt, type NetsuitePushOutcome, type NetsuiteReceipt, NetsuiteRecordTypeEnum, NetsuiteRefundKindEnum, type NetsuiteRelationSource, type NetsuiteStatusChange, type NetsuiteStatusSyncResult, type NetsuiteSyncDefinition, NotificationTypeEnum, OFFLINE_PAYMENT_METHODS, OPEN_ORDER_STATUSES, OPEN_QUOTE_STATUSES, ORDER_EMAIL_EVENTS, ORDER_LOG_TYPE_COLORS, ORDER_LOG_TYPE_VALUES, ORDER_ORIGIN_VALUES, ORDER_STATUS_LABELS, ORDER_STATUS_VALUES, type OfferedAddon, type OfferedAddonGroup, type OfferedServicePlan, type OrderEmailEvent, type OrderLineNameInput, OrderLogTypeEnum, OrderOriginEnum, OrderStatusEnum, PAID_PAYMENT_STATUSES, PARTLY_SHIPPED_STATUSES, PAYMENT_GATEWAY_LABELS, PAYMENT_GATEWAY_VALUES, PAYMENT_LINK_STATUS_LABELS, PAYMENT_LINK_STATUS_VALUES, PAYMENT_METHOD_COLORS, PAYMENT_METHOD_LABELS, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_LABELS, PAYMENT_STATUS_VALUES, PHONE_MAX_LENGTH, PLACED_OPEN_ORDER_STATUSES, PO_NUMBER_MAX_LENGTH, PRICING_TYPE_LABELS, PRICING_TYPE_VALUES, PRODUCT_FIELDS, PRODUCT_VARIANT_TYPE_VALUES, PROFILE_ACTOR_VALUES, PROVIDERS, PURCHASE_ORDER_STATUSES, PUSH_CHECK_STATUS_VALUES, type PaginatedResponse, PaymentGatewayEnum, PaymentLinkStatusEnum, type PaymentLinkView, PaymentMethodEnum, PaymentStatusEnum, type PersonNameInput, type PricedLineLike, type PricingType, PricingTypeEnum, type ProductAddonScope, ProductEventTypeEnum, type ProductServicePlanScope, type ProductVariantType, ProductVariantTypeEnum, ProfileActorEnum, type ProfileEditRules, type PromotionSyncResult, type PushCheck, PushCheckStatusEnum, type PushField, QUOTE_BUYABLE_STATUS, QUOTE_ORDER_STATUSES, QUOTE_SETTLEMENT_VALUES, QUOTE_VALID_DAYS, type QuantityLineInput, type QuoteRequestResult, type QuoteRuleInput, QuoteSettlementEnum, REDIRECT_TARGET_TYPE_VALUES, REFUND_STATE_TONES, REFUND_TRAIL_TITLE, RELATION_FIELDS, RESOURCE_OPERATIONS, RETIRED_CART_STATUSES, RETURN_ORDER_STATUSES, type RateAddress, type RatedShippingMethod, type RedirectTargetType, RedirectTargetTypeEnum, RefundPaymentStatusEnum, RefundStateEnum, type RefundStep, RefundStepStateEnum, type RefundSummary, type RefundTrail, RefundTrailKindEnum, type ResolveAccessInput, type ResolvedAddonSelection, ReturnStatusEnum, type RevalidationResult, SALE_TYPE_VALUES, SAVED_CART_TTL_DAYS, SERVICE_LAB, SERVICE_PLAN_ELIGIBILITY_FIELD, SITEMAP_MANIFESTS_COLLECTION, SITEMAP_MANIFEST_ID, SITEMAP_PARTS_COLLECTION, SITEMAP_PART_KIND_VALUES, STATUS_TONE_COLORS, STATUS_TONE_VALUES, STOCK_STATUS_VALUES, STORE_THEME_VALUES, SUBSCRIPTION_CHANNEL_VALUES, SUBSCRIPTION_TOPIC_LABELS, SUBSCRIPTION_TOPIC_VALUES, type SaleType, SaleTypeEnum, type SaleTypedLike, type SavedCartLine, type SavedCartSummary, type SelectedShippingMethod, type ServerQueryParams, type ServicePlanNetsuiteLink, type SitemapEntryKey, SitemapPartKindEnum, StatusToneEnum, type StatusToneRecord, type StockDemandLine, type StockStatus, StockStatusEnum, type StockVerdict, StockVerdictEnum, type StoreAccessCheckInput, type StoreScopeInput, StoreThemeEnum, SubscriptionChannelEnum, SubscriptionTopicEnum, type SyncPolicy, type SyncRisk, TAX_RATE_SOURCE_VALUES, TRANSACTION_TYPE_COLORS, TRANSACTION_TYPE_VALUES, TaxRateSourceEnum, type TaxSyncResult, type TrackingDisplay, TrackingKindEnum, TransactionTypeEnum, UNPLACED_ORDER_STATUSES, type VariantOptionMode, WIRED_EMAIL_TEMPLATE_EVENTS, actionsForResource, addonFields, addonUnitAmount, addonsOfLine, addonsUnitAmount, addressLines, adjustmentsFor, applyPriceAdjustments, availabilityOf, availabilityStatusTone, baseUnitPriceOfLine, blogAuthorFields, blogCategoryFields, blogPostFields, brandFields, buildOptionSignature, can, canAny, canonicalizePath, canonicalizeSlug, canonicalizeUrlSegment, cartAcceptsItem, caseIsOpen, caseStatusTone, categoryFields, centsEqual, chargesOfLine, chunkSpecProductIds, clampPage, clampPageSize, cleanOptionKey, companyNameOf, conditionHolds, convertedOrderBilledOffline, convertedOrderOf, couponFields, customerDisplayName, customerFields, customerRefundHeadline, customerStatusTone, demandByKey, discountValueLabel, errorMessage, evaluateConfigurator, feeHint, firstLine, formatDay, formatMoney, fulfillmentStatusTone, grantedPermissions, groupHasDefaultAddon, hasStoreAccess, isConfigurationValid, isContactProfile, isContactRequestType, isDiscountType, isFailedPaymentStatus, isNetsuiteOrigin, isNetsuiteOwned, isNonEmptyString, isOfflinePaymentMethod, isOrderEmailEvent, isPaidPaymentStatus, isPartlyShipped, isPricingType, isQuoteBuyable, isQuoteExpired, isQuoteLapsing, isQuoteOnlyItem, isRepQuoteOrderable, isSavedLinePriceChanged, isSellable, isStoredCalendarDay, isValidAction, isValidEmail, isValidPassword, isValidPhone, itemsLabel, lineName, lineQuantityCount, lineSellable, lineShipProgress, lineShipTone, lineSku, linesShipped, liveRefunds, missingGrants, netsuiteDocumentLabel, netsuiteDocumentTone, netsuiteEventStateTone, netsuiteFieldCaution, netsuiteFieldConditional, netsuiteFieldDerivedFrom, netsuiteFieldNote, netsuiteFieldRisk, netsuiteFieldSource, netsuiteRelationSource, netsuiteStatusLabel, normalizeLineQuantity, normalizeNumber, normalizePath, pageOf, parseSitemapEntries, paymentLinkStatusTone, paymentMethodLabel, paymentStatusLabel, paymentStatusTone, personName, poNumberText, podcastFields, pricingValueLabel, productFields, profileEditRules, quoteCanBeOrdered, quoteDaysLeft, quoteIsPriced, quotePaymentUnfinished, quoteSettlement, quoteValidityPassed, readMapped, recordStatusTone, refundHeadline, refundStateTone, refundStepTone, refundSummary, repLineNote, resolveAddonSelections, resolveEffectivePermissions, resolveProductAddonGroups, resolveProductServicePlans, resolveStoreScope, roundMoney, saleTypeOf, servicePlanFields, shipmentsTone, sitemapEntryLine, sitemapPartId, slugify, statusTagColor, statusTone, statusTones, stockVerdict, syncOwnerFor, taxLabel, taxRatePercent, toCents, toIdString, trackingDisplay, trimmedText };
|
package/dist/index.d.ts
CHANGED
|
@@ -1163,9 +1163,6 @@ declare const PURCHASE_ORDER_STATUSES: OrderStatusEnum[];
|
|
|
1163
1163
|
declare const PLACED_OPEN_ORDER_STATUSES: OrderStatusEnum[];
|
|
1164
1164
|
declare const COMPLETE_ORDER_STATUSES: OrderStatusEnum[];
|
|
1165
1165
|
declare const RETURN_ORDER_STATUSES: OrderStatusEnum[];
|
|
1166
|
-
declare const SETTLED_STATUSES: OrderStatusEnum[];
|
|
1167
|
-
declare const MOVABLE_STATUSES: OrderStatusEnum[];
|
|
1168
|
-
declare const isSettledStatus: (status?: string) => boolean;
|
|
1169
1166
|
declare const UNPLACED_ORDER_STATUSES: OrderStatusEnum[];
|
|
1170
1167
|
declare const OPEN_ORDER_STATUSES: OrderStatusEnum[];
|
|
1171
1168
|
declare const OPEN_QUOTE_STATUSES: OrderStatusEnum[];
|
|
@@ -1637,6 +1634,12 @@ declare const COMPANY: {
|
|
|
1637
1634
|
declare const COMPANY_CITY_LINE: string;
|
|
1638
1635
|
declare const COMPANY_CITY_LINE_LONG: string;
|
|
1639
1636
|
declare const COMPANY_ADDRESS_LINE: string;
|
|
1637
|
+
declare const SERVICE_LAB: {
|
|
1638
|
+
readonly attention: "ATTN: Tool Repair Calibration";
|
|
1639
|
+
readonly name: "Flexible Assembly Systems Inc.";
|
|
1640
|
+
readonly street: "849 Industry Drive";
|
|
1641
|
+
readonly cityLine: "Tukwila, WA 98188";
|
|
1642
|
+
};
|
|
1640
1643
|
|
|
1641
1644
|
declare const CaseStatusEnum: {
|
|
1642
1645
|
readonly NOT_STARTED: "1";
|
|
@@ -1728,7 +1731,16 @@ type ISupportCaseListItem = Omit<ISupportCase, "messages">;
|
|
|
1728
1731
|
declare const CASE_STATUS_TONES: Record<CaseStatus, StatusToneEnum>;
|
|
1729
1732
|
declare const caseStatusTone: (status?: string) => StatusToneEnum;
|
|
1730
1733
|
|
|
1734
|
+
declare const ContactRequestTypeEnum: {
|
|
1735
|
+
readonly CONTACT: "CONTACT";
|
|
1736
|
+
readonly ONSITE_DEMO: "ONSITE_DEMO";
|
|
1737
|
+
readonly REPAIR: "REPAIR";
|
|
1738
|
+
};
|
|
1739
|
+
type ContactRequestTypeEnum = (typeof ContactRequestTypeEnum)[keyof typeof ContactRequestTypeEnum];
|
|
1740
|
+
declare const CONTACT_REQUEST_TYPE_VALUES: ("CONTACT" | "ONSITE_DEMO" | "REPAIR")[];
|
|
1741
|
+
declare const isContactRequestType: (value: unknown) => value is ContactRequestTypeEnum;
|
|
1731
1742
|
interface IContact extends BaseEntity {
|
|
1743
|
+
requestType: ContactRequestTypeEnum;
|
|
1732
1744
|
firstName: string;
|
|
1733
1745
|
lastName: string;
|
|
1734
1746
|
companyName?: string;
|
|
@@ -1749,6 +1761,23 @@ interface IContact extends BaseEntity {
|
|
|
1749
1761
|
message: string;
|
|
1750
1762
|
failedAt?: Date | string;
|
|
1751
1763
|
} | null;
|
|
1764
|
+
netsuiteLeadId?: string | null;
|
|
1765
|
+
onsiteDemo?: IOnsiteDemoRequest | null;
|
|
1766
|
+
repair?: IRepairRequest | null;
|
|
1767
|
+
}
|
|
1768
|
+
interface IOnsiteDemoRequest {
|
|
1769
|
+
demo: string;
|
|
1770
|
+
}
|
|
1771
|
+
interface IRepairTool {
|
|
1772
|
+
manufacturer: string;
|
|
1773
|
+
model: string;
|
|
1774
|
+
serial: string;
|
|
1775
|
+
accessories?: string;
|
|
1776
|
+
}
|
|
1777
|
+
interface IRepairRequest {
|
|
1778
|
+
tools: IRepairTool[];
|
|
1779
|
+
problem: string;
|
|
1780
|
+
comments?: string;
|
|
1752
1781
|
}
|
|
1753
1782
|
|
|
1754
1783
|
declare const SERVICE_PLAN_ELIGIBILITY_FIELD = "custitem520";
|
|
@@ -1848,9 +1877,10 @@ declare const EmailTemplateEventEnum: {
|
|
|
1848
1877
|
readonly INVOICE: "INVOICE";
|
|
1849
1878
|
readonly PROMOTIONAL: "PROMOTIONAL";
|
|
1850
1879
|
readonly CONTACT_US: "CONTACT_US";
|
|
1880
|
+
readonly REPAIR_REQUEST: "REPAIR_REQUEST";
|
|
1851
1881
|
};
|
|
1852
1882
|
type EmailTemplateEventEnum = (typeof EmailTemplateEventEnum)[keyof typeof EmailTemplateEventEnum];
|
|
1853
|
-
declare const EMAIL_TEMPLATE_EVENT_VALUES: ("QUOTE" | "QUOTE_REQUESTED" | "ORDER_RECEIVED" | "ORDER_CANCELLED" | "WELCOME" | "PASSWORD_RESET" | "PASSWORD_SETUP" | "QUOTE_SENT" | "QUOTE_DECLINED" | "INVOICE" | "PROMOTIONAL" | "CONTACT_US")[];
|
|
1883
|
+
declare const EMAIL_TEMPLATE_EVENT_VALUES: ("QUOTE" | "QUOTE_REQUESTED" | "ORDER_RECEIVED" | "ORDER_CANCELLED" | "WELCOME" | "PASSWORD_RESET" | "PASSWORD_SETUP" | "QUOTE_SENT" | "QUOTE_DECLINED" | "INVOICE" | "PROMOTIONAL" | "CONTACT_US" | "REPAIR_REQUEST")[];
|
|
1854
1884
|
declare const WIRED_EMAIL_TEMPLATE_EVENTS: EmailTemplateEventEnum[];
|
|
1855
1885
|
declare const EMAIL_TEMPLATE_VARIABLES_BY_EVENT: Partial<Record<EmailTemplateEventEnum, string[]>>;
|
|
1856
1886
|
interface IEmailTemplate extends BaseEntity {
|
|
@@ -7362,4 +7392,4 @@ declare const sitemapPartId: (build: string, storeId: string, kind: SitemapPartK
|
|
|
7362
7392
|
declare const sitemapEntryLine: (key: string, lastmod?: Date | string | null) => string;
|
|
7363
7393
|
declare const parseSitemapEntries: (entries: string) => SitemapEntryKey[];
|
|
7364
7394
|
|
|
7365
|
-
export { ACCOUNT_SOURCE_VALUES, ACTIVE_SUBSCRIPTION_CHANNELS, ADMIN_ACTIONS, ADMIN_AUDIT_ACTIONS, ADMIN_RESOURCES, ADMIN_RESOURCE_LIST, ALL_STORES, AUTH_PROVIDER_VALUES, AVAILABILITY_STATUS_TONES, AWAITING_PAYMENT_STATUSES, type AccountSource, AccountSourceEnum, type AddonAmountInput, type AddonGroupNetsuiteLink, type AddonNetsuiteLink, type AddonSelectionRef, type AddonSnapshot, type AddressLinesInput, type AdminCreateRequest, type AdminUpdateRequest, type ApiResponse, type AppliedTax, type AuthProvider, AuthProviderEnum, type Availability, AvailabilityToneEnum, BACKORDERED_TONE, BRAND_FIELDS, BULK_SPEC_PRODUCT_LIMIT, BUSINESS_TIME_ZONE, type BaseEntity, CAMPAIGN_RECIPIENT_STATUS_VALUES, CAMPAIGN_STATUS_VALUES, CART_STATUS_VALUES, CASE_ORIGIN_LABELS, CASE_ORIGIN_VALUES, CASE_PRIORITY_LABELS, CASE_PRIORITY_VALUES, CASE_PROFILE_LABELS, CASE_PROFILE_VALUES, CASE_STATUS_LABELS, CASE_STATUS_TONES, CASE_STATUS_VALUES, CASE_TYPE_LABELS, CASE_TYPE_VALUES, CATEGORY_FIELDS, CLOSED_QUOTE_STATUSES, COMPANY, COMPANY_ADDRESS_LINE, COMPANY_CITY_LINE, COMPANY_CITY_LINE_LONG, COMPANY_MAX_LENGTH, COMPLETE_ORDER_STATUSES, CONFIGURATOR_CONDITION_TYPE_VALUES, CONFIGURATOR_EFFECT_TYPE_VALUES, CONFIGURATOR_SELECT_MODE_VALUES, CONFIGURATOR_SOURCE_VALUES, CONTACT_PROFILE_OPTIONS, type CacheStatus, type CacheStoreTarget, CampaignRecipientStatusEnum, CampaignStatusEnum, type CartIssue, type CartIssueType, CartIssueTypes, CartStatusEnum, type CartValidation, type CaseOrigin, CaseOriginEnum, type CasePriority, CasePriorityEnum, type CaseProfile, CaseProfileEnum, type CaseStatus, CaseStatusEnum, type CaseType, CaseTypeEnum, type CategoryImportSummary, type CheckoutAddressInput, type CheckoutPayload, type CheckoutResult, ConfiguratorConditionTypeEnum, ConfiguratorEffectTypeEnum, ConfiguratorErrorCodeEnum, type ConfiguratorEvalContext, type ConfiguratorEvalError, type ConfiguratorEvalResult, ConfiguratorSelectModeEnum, type ConfiguratorSelections, ConfiguratorSourceEnum, type ConvertedOrderView, type CouponNetsuiteLink, CreditMemoStatusEnum, type CustomerAccountErrorCode, CustomerAccountErrorCodeEnum, type CustomerNameInput, type CustomerProfileUpdateRequest, type CustomerSignupRequest, type CustomerSocialLoginRequest, DEFAULT_SUBSCRIPTION_TOPICS, DISCOUNT_TYPE_LABELS, DISCOUNT_TYPE_VALUES, DiscountTypeEnum, EDITABLE_ADMIN_FIELDS, EDITABLE_CUSTOMER_FIELDS, EMAIL_PARAM_MISMATCH_KIND_VALUES, EMAIL_TEMPLATE_EVENT_VALUES, EMAIL_TEMPLATE_VARIABLES_BY_EVENT, EMPTY_ACCESS, type EditableAdminField, type EditableCustomerField, type EffectiveAccess, type EmailParamMismatch, EmailParamMismatchKindEnum, EmailTemplateEventEnum, FAILED_PAYMENT_STATUSES, FEE_APPLIES_TO_LABELS, FEE_APPLIES_TO_VALUES, FULFILLMENT_STATUS_LABEL, FULFILLMENT_STATUS_VALUES, FeeAppliesToEnum, type FieldMap, type FieldMapping, type FieldSource, FulfillmentStatusEnum, 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 ICaseMessage, type ICategory, type ICategorySequence, type ICategorySubcategory, type ICategoryUrl, 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 INetsuiteCaseLink, type INetsuiteEvent, type INetsuiteOrderLine, type INetsuiteOrderLink, type INetsuiteQueueEntry, type INetsuiteRefund, type INetsuiteSalesRep, type INetsuiteSyncCheckpoint, 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 ISitemapManifest, type ISitemapPart, type IState, type IStock, type IStore, type IStoreFee, type IStoreSettings, type ISubscriber, type ISubscriberConsent, type ISubscription, type ISummaryPricing, type ISupportCase, type ISupportCaseListItem, 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 LineShipProgress, LineShipStateEnum, MAX_PAGE, MAX_PAGE_SIZE, MIN_PASSWORD_LENGTH, MOVABLE_STATUSES, type MatchResult, type Metadata, NETSUITE_ESTIMATE_STATUS_TEXT, NETSUITE_EVENT_LANE_VALUES, NETSUITE_EVENT_STATE_TONES, NETSUITE_EVENT_STATE_VALUES, NETSUITE_FULFILLMENT_STATUS_TEXT, NETSUITE_INVOICE_STATUS_TEXT, NETSUITE_OWNED_FIELDS, NETSUITE_RECORD_TYPE_VALUES, NETSUITE_REFUND_KIND_VALUES, NETSUITE_REFUND_RECORD_NAME, NETSUITE_RELATION_GROUPS, NETSUITE_RETURN_STATUS_TEXT, NETSUITE_SALES_ORDER_STATUS_TEXT, NOTIFICATION_TYPE_VALUES, type NetsuiteCustomerLinkResult, NetsuiteEventLaneEnum, NetsuiteEventStateEnum, NetsuiteFieldProvider, type NetsuiteLineLike, type NetsuiteLinkResult, type NetsuiteOrderPreview, type NetsuiteOwnedEntity, type NetsuitePreviewLine, type NetsuitePushAttempt, type NetsuitePushOutcome, type NetsuiteReceipt, NetsuiteRecordTypeEnum, NetsuiteRefundKindEnum, type NetsuiteRelationSource, type NetsuiteStatusChange, type NetsuiteStatusSyncResult, type NetsuiteSyncDefinition, NotificationTypeEnum, OFFLINE_PAYMENT_METHODS, OPEN_ORDER_STATUSES, OPEN_QUOTE_STATUSES, ORDER_EMAIL_EVENTS, ORDER_LOG_TYPE_COLORS, ORDER_LOG_TYPE_VALUES, ORDER_ORIGIN_VALUES, ORDER_STATUS_LABELS, ORDER_STATUS_VALUES, type OfferedAddon, type OfferedAddonGroup, type OfferedServicePlan, type OrderEmailEvent, type OrderLineNameInput, OrderLogTypeEnum, OrderOriginEnum, OrderStatusEnum, PAID_PAYMENT_STATUSES, PARTLY_SHIPPED_STATUSES, PAYMENT_GATEWAY_LABELS, PAYMENT_GATEWAY_VALUES, PAYMENT_LINK_STATUS_LABELS, PAYMENT_LINK_STATUS_VALUES, PAYMENT_METHOD_COLORS, PAYMENT_METHOD_LABELS, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_LABELS, PAYMENT_STATUS_VALUES, PHONE_MAX_LENGTH, PLACED_OPEN_ORDER_STATUSES, PO_NUMBER_MAX_LENGTH, PRICING_TYPE_LABELS, PRICING_TYPE_VALUES, PRODUCT_FIELDS, PRODUCT_VARIANT_TYPE_VALUES, PROFILE_ACTOR_VALUES, PROVIDERS, PURCHASE_ORDER_STATUSES, PUSH_CHECK_STATUS_VALUES, type PaginatedResponse, PaymentGatewayEnum, PaymentLinkStatusEnum, type PaymentLinkView, PaymentMethodEnum, PaymentStatusEnum, type PersonNameInput, type PricedLineLike, type PricingType, PricingTypeEnum, type ProductAddonScope, ProductEventTypeEnum, type ProductServicePlanScope, type ProductVariantType, ProductVariantTypeEnum, ProfileActorEnum, type ProfileEditRules, type PromotionSyncResult, type PushCheck, PushCheckStatusEnum, type PushField, QUOTE_BUYABLE_STATUS, QUOTE_ORDER_STATUSES, QUOTE_SETTLEMENT_VALUES, QUOTE_VALID_DAYS, type QuantityLineInput, type QuoteRequestResult, type QuoteRuleInput, QuoteSettlementEnum, REDIRECT_TARGET_TYPE_VALUES, REFUND_STATE_TONES, REFUND_TRAIL_TITLE, RELATION_FIELDS, RESOURCE_OPERATIONS, RETIRED_CART_STATUSES, RETURN_ORDER_STATUSES, type RateAddress, type RatedShippingMethod, type RedirectTargetType, RedirectTargetTypeEnum, RefundPaymentStatusEnum, RefundStateEnum, type RefundStep, RefundStepStateEnum, type RefundSummary, type RefundTrail, RefundTrailKindEnum, type ResolveAccessInput, type ResolvedAddonSelection, ReturnStatusEnum, type RevalidationResult, SALE_TYPE_VALUES, SAVED_CART_TTL_DAYS, SERVICE_PLAN_ELIGIBILITY_FIELD, SETTLED_STATUSES, SITEMAP_MANIFESTS_COLLECTION, SITEMAP_MANIFEST_ID, SITEMAP_PARTS_COLLECTION, SITEMAP_PART_KIND_VALUES, STATUS_TONE_COLORS, STATUS_TONE_VALUES, STOCK_STATUS_VALUES, STORE_THEME_VALUES, SUBSCRIPTION_CHANNEL_VALUES, SUBSCRIPTION_TOPIC_LABELS, SUBSCRIPTION_TOPIC_VALUES, type SaleType, SaleTypeEnum, type SaleTypedLike, type SavedCartLine, type SavedCartSummary, type SelectedShippingMethod, type ServerQueryParams, type ServicePlanNetsuiteLink, type SitemapEntryKey, SitemapPartKindEnum, StatusToneEnum, type StatusToneRecord, type StockDemandLine, type StockStatus, StockStatusEnum, type StockVerdict, StockVerdictEnum, type StoreAccessCheckInput, type StoreScopeInput, StoreThemeEnum, SubscriptionChannelEnum, SubscriptionTopicEnum, type SyncPolicy, type SyncRisk, TAX_RATE_SOURCE_VALUES, TRANSACTION_TYPE_COLORS, TRANSACTION_TYPE_VALUES, TaxRateSourceEnum, type TaxSyncResult, type TrackingDisplay, TrackingKindEnum, TransactionTypeEnum, UNPLACED_ORDER_STATUSES, type VariantOptionMode, WIRED_EMAIL_TEMPLATE_EVENTS, actionsForResource, addonFields, addonUnitAmount, addonsOfLine, addonsUnitAmount, addressLines, adjustmentsFor, applyPriceAdjustments, availabilityOf, availabilityStatusTone, baseUnitPriceOfLine, blogAuthorFields, blogCategoryFields, blogPostFields, brandFields, buildOptionSignature, can, canAny, canonicalizePath, canonicalizeSlug, canonicalizeUrlSegment, cartAcceptsItem, caseIsOpen, caseStatusTone, categoryFields, centsEqual, chargesOfLine, chunkSpecProductIds, clampPage, clampPageSize, cleanOptionKey, companyNameOf, conditionHolds, convertedOrderBilledOffline, convertedOrderOf, couponFields, customerDisplayName, customerFields, customerRefundHeadline, customerStatusTone, demandByKey, discountValueLabel, errorMessage, evaluateConfigurator, feeHint, firstLine, formatDay, formatMoney, fulfillmentStatusTone, grantedPermissions, groupHasDefaultAddon, hasStoreAccess, isConfigurationValid, isContactProfile, isDiscountType, isFailedPaymentStatus, isNetsuiteOrigin, isNetsuiteOwned, isNonEmptyString, isOfflinePaymentMethod, isOrderEmailEvent, isPaidPaymentStatus, isPartlyShipped, isPricingType, isQuoteBuyable, isQuoteExpired, isQuoteLapsing, isQuoteOnlyItem, isRepQuoteOrderable, isSavedLinePriceChanged, isSellable, isSettledStatus, isStoredCalendarDay, isValidAction, isValidEmail, isValidPassword, isValidPhone, itemsLabel, lineName, lineQuantityCount, lineSellable, lineShipProgress, lineShipTone, lineSku, linesShipped, liveRefunds, missingGrants, netsuiteDocumentLabel, netsuiteDocumentTone, netsuiteEventStateTone, netsuiteFieldCaution, netsuiteFieldConditional, netsuiteFieldDerivedFrom, netsuiteFieldNote, netsuiteFieldRisk, netsuiteFieldSource, netsuiteRelationSource, netsuiteStatusLabel, normalizeLineQuantity, normalizeNumber, normalizePath, pageOf, parseSitemapEntries, paymentLinkStatusTone, paymentMethodLabel, paymentStatusLabel, paymentStatusTone, personName, poNumberText, podcastFields, pricingValueLabel, productFields, profileEditRules, quoteCanBeOrdered, quoteDaysLeft, quoteIsPriced, quotePaymentUnfinished, quoteSettlement, quoteValidityPassed, readMapped, recordStatusTone, refundHeadline, refundStateTone, refundStepTone, refundSummary, repLineNote, resolveAddonSelections, resolveEffectivePermissions, resolveProductAddonGroups, resolveProductServicePlans, resolveStoreScope, roundMoney, saleTypeOf, servicePlanFields, shipmentsTone, sitemapEntryLine, sitemapPartId, slugify, statusTagColor, statusTone, statusTones, stockVerdict, syncOwnerFor, taxLabel, taxRatePercent, toCents, toIdString, trackingDisplay, trimmedText };
|
|
7395
|
+
export { ACCOUNT_SOURCE_VALUES, ACTIVE_SUBSCRIPTION_CHANNELS, ADMIN_ACTIONS, ADMIN_AUDIT_ACTIONS, ADMIN_RESOURCES, ADMIN_RESOURCE_LIST, ALL_STORES, AUTH_PROVIDER_VALUES, AVAILABILITY_STATUS_TONES, AWAITING_PAYMENT_STATUSES, type AccountSource, AccountSourceEnum, type AddonAmountInput, type AddonGroupNetsuiteLink, type AddonNetsuiteLink, type AddonSelectionRef, type AddonSnapshot, type AddressLinesInput, type AdminCreateRequest, type AdminUpdateRequest, type ApiResponse, type AppliedTax, type AuthProvider, AuthProviderEnum, type Availability, AvailabilityToneEnum, BACKORDERED_TONE, BRAND_FIELDS, BULK_SPEC_PRODUCT_LIMIT, BUSINESS_TIME_ZONE, type BaseEntity, CAMPAIGN_RECIPIENT_STATUS_VALUES, CAMPAIGN_STATUS_VALUES, CART_STATUS_VALUES, CASE_ORIGIN_LABELS, CASE_ORIGIN_VALUES, CASE_PRIORITY_LABELS, CASE_PRIORITY_VALUES, CASE_PROFILE_LABELS, CASE_PROFILE_VALUES, CASE_STATUS_LABELS, CASE_STATUS_TONES, CASE_STATUS_VALUES, CASE_TYPE_LABELS, CASE_TYPE_VALUES, CATEGORY_FIELDS, CLOSED_QUOTE_STATUSES, COMPANY, COMPANY_ADDRESS_LINE, COMPANY_CITY_LINE, COMPANY_CITY_LINE_LONG, COMPANY_MAX_LENGTH, COMPLETE_ORDER_STATUSES, CONFIGURATOR_CONDITION_TYPE_VALUES, CONFIGURATOR_EFFECT_TYPE_VALUES, CONFIGURATOR_SELECT_MODE_VALUES, CONFIGURATOR_SOURCE_VALUES, CONTACT_PROFILE_OPTIONS, CONTACT_REQUEST_TYPE_VALUES, type CacheStatus, type CacheStoreTarget, CampaignRecipientStatusEnum, CampaignStatusEnum, type CartIssue, type CartIssueType, CartIssueTypes, CartStatusEnum, type CartValidation, type CaseOrigin, CaseOriginEnum, type CasePriority, CasePriorityEnum, type CaseProfile, CaseProfileEnum, type CaseStatus, CaseStatusEnum, type CaseType, CaseTypeEnum, type CategoryImportSummary, type CheckoutAddressInput, type CheckoutPayload, type CheckoutResult, ConfiguratorConditionTypeEnum, ConfiguratorEffectTypeEnum, ConfiguratorErrorCodeEnum, type ConfiguratorEvalContext, type ConfiguratorEvalError, type ConfiguratorEvalResult, ConfiguratorSelectModeEnum, type ConfiguratorSelections, ConfiguratorSourceEnum, ContactRequestTypeEnum, type ConvertedOrderView, type CouponNetsuiteLink, CreditMemoStatusEnum, type CustomerAccountErrorCode, CustomerAccountErrorCodeEnum, type CustomerNameInput, type CustomerProfileUpdateRequest, type CustomerSignupRequest, type CustomerSocialLoginRequest, DEFAULT_SUBSCRIPTION_TOPICS, DISCOUNT_TYPE_LABELS, DISCOUNT_TYPE_VALUES, DiscountTypeEnum, EDITABLE_ADMIN_FIELDS, EDITABLE_CUSTOMER_FIELDS, EMAIL_PARAM_MISMATCH_KIND_VALUES, EMAIL_TEMPLATE_EVENT_VALUES, EMAIL_TEMPLATE_VARIABLES_BY_EVENT, EMPTY_ACCESS, type EditableAdminField, type EditableCustomerField, type EffectiveAccess, type EmailParamMismatch, EmailParamMismatchKindEnum, EmailTemplateEventEnum, FAILED_PAYMENT_STATUSES, FEE_APPLIES_TO_LABELS, FEE_APPLIES_TO_VALUES, FULFILLMENT_STATUS_LABEL, FULFILLMENT_STATUS_VALUES, FeeAppliesToEnum, type FieldMap, type FieldMapping, type FieldSource, FulfillmentStatusEnum, 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 ICaseMessage, type ICategory, type ICategorySequence, type ICategorySubcategory, type ICategoryUrl, 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 INetsuiteCaseLink, type INetsuiteEvent, type INetsuiteOrderLine, type INetsuiteOrderLink, type INetsuiteQueueEntry, type INetsuiteRefund, type INetsuiteSalesRep, type INetsuiteSyncCheckpoint, type INotification, type IOnsiteDemoRequest, 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 IRepairRequest, type IRepairTool, type ISEOMetaData, type ISelectableFee, type IServicePlan, type IShipFromAddress, type IShipping, type IShippingRate, type ISitemapManifest, type ISitemapPart, type IState, type IStock, type IStore, type IStoreFee, type IStoreSettings, type ISubscriber, type ISubscriberConsent, type ISubscription, type ISummaryPricing, type ISupportCase, type ISupportCaseListItem, 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 LineShipProgress, LineShipStateEnum, MAX_PAGE, MAX_PAGE_SIZE, MIN_PASSWORD_LENGTH, type MatchResult, type Metadata, NETSUITE_ESTIMATE_STATUS_TEXT, NETSUITE_EVENT_LANE_VALUES, NETSUITE_EVENT_STATE_TONES, NETSUITE_EVENT_STATE_VALUES, NETSUITE_FULFILLMENT_STATUS_TEXT, NETSUITE_INVOICE_STATUS_TEXT, NETSUITE_OWNED_FIELDS, NETSUITE_RECORD_TYPE_VALUES, NETSUITE_REFUND_KIND_VALUES, NETSUITE_REFUND_RECORD_NAME, NETSUITE_RELATION_GROUPS, NETSUITE_RETURN_STATUS_TEXT, NETSUITE_SALES_ORDER_STATUS_TEXT, NOTIFICATION_TYPE_VALUES, type NetsuiteCustomerLinkResult, NetsuiteEventLaneEnum, NetsuiteEventStateEnum, NetsuiteFieldProvider, type NetsuiteLineLike, type NetsuiteLinkResult, type NetsuiteOrderPreview, type NetsuiteOwnedEntity, type NetsuitePreviewLine, type NetsuitePushAttempt, type NetsuitePushOutcome, type NetsuiteReceipt, NetsuiteRecordTypeEnum, NetsuiteRefundKindEnum, type NetsuiteRelationSource, type NetsuiteStatusChange, type NetsuiteStatusSyncResult, type NetsuiteSyncDefinition, NotificationTypeEnum, OFFLINE_PAYMENT_METHODS, OPEN_ORDER_STATUSES, OPEN_QUOTE_STATUSES, ORDER_EMAIL_EVENTS, ORDER_LOG_TYPE_COLORS, ORDER_LOG_TYPE_VALUES, ORDER_ORIGIN_VALUES, ORDER_STATUS_LABELS, ORDER_STATUS_VALUES, type OfferedAddon, type OfferedAddonGroup, type OfferedServicePlan, type OrderEmailEvent, type OrderLineNameInput, OrderLogTypeEnum, OrderOriginEnum, OrderStatusEnum, PAID_PAYMENT_STATUSES, PARTLY_SHIPPED_STATUSES, PAYMENT_GATEWAY_LABELS, PAYMENT_GATEWAY_VALUES, PAYMENT_LINK_STATUS_LABELS, PAYMENT_LINK_STATUS_VALUES, PAYMENT_METHOD_COLORS, PAYMENT_METHOD_LABELS, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_LABELS, PAYMENT_STATUS_VALUES, PHONE_MAX_LENGTH, PLACED_OPEN_ORDER_STATUSES, PO_NUMBER_MAX_LENGTH, PRICING_TYPE_LABELS, PRICING_TYPE_VALUES, PRODUCT_FIELDS, PRODUCT_VARIANT_TYPE_VALUES, PROFILE_ACTOR_VALUES, PROVIDERS, PURCHASE_ORDER_STATUSES, PUSH_CHECK_STATUS_VALUES, type PaginatedResponse, PaymentGatewayEnum, PaymentLinkStatusEnum, type PaymentLinkView, PaymentMethodEnum, PaymentStatusEnum, type PersonNameInput, type PricedLineLike, type PricingType, PricingTypeEnum, type ProductAddonScope, ProductEventTypeEnum, type ProductServicePlanScope, type ProductVariantType, ProductVariantTypeEnum, ProfileActorEnum, type ProfileEditRules, type PromotionSyncResult, type PushCheck, PushCheckStatusEnum, type PushField, QUOTE_BUYABLE_STATUS, QUOTE_ORDER_STATUSES, QUOTE_SETTLEMENT_VALUES, QUOTE_VALID_DAYS, type QuantityLineInput, type QuoteRequestResult, type QuoteRuleInput, QuoteSettlementEnum, REDIRECT_TARGET_TYPE_VALUES, REFUND_STATE_TONES, REFUND_TRAIL_TITLE, RELATION_FIELDS, RESOURCE_OPERATIONS, RETIRED_CART_STATUSES, RETURN_ORDER_STATUSES, type RateAddress, type RatedShippingMethod, type RedirectTargetType, RedirectTargetTypeEnum, RefundPaymentStatusEnum, RefundStateEnum, type RefundStep, RefundStepStateEnum, type RefundSummary, type RefundTrail, RefundTrailKindEnum, type ResolveAccessInput, type ResolvedAddonSelection, ReturnStatusEnum, type RevalidationResult, SALE_TYPE_VALUES, SAVED_CART_TTL_DAYS, SERVICE_LAB, SERVICE_PLAN_ELIGIBILITY_FIELD, SITEMAP_MANIFESTS_COLLECTION, SITEMAP_MANIFEST_ID, SITEMAP_PARTS_COLLECTION, SITEMAP_PART_KIND_VALUES, STATUS_TONE_COLORS, STATUS_TONE_VALUES, STOCK_STATUS_VALUES, STORE_THEME_VALUES, SUBSCRIPTION_CHANNEL_VALUES, SUBSCRIPTION_TOPIC_LABELS, SUBSCRIPTION_TOPIC_VALUES, type SaleType, SaleTypeEnum, type SaleTypedLike, type SavedCartLine, type SavedCartSummary, type SelectedShippingMethod, type ServerQueryParams, type ServicePlanNetsuiteLink, type SitemapEntryKey, SitemapPartKindEnum, StatusToneEnum, type StatusToneRecord, type StockDemandLine, type StockStatus, StockStatusEnum, type StockVerdict, StockVerdictEnum, type StoreAccessCheckInput, type StoreScopeInput, StoreThemeEnum, SubscriptionChannelEnum, SubscriptionTopicEnum, type SyncPolicy, type SyncRisk, TAX_RATE_SOURCE_VALUES, TRANSACTION_TYPE_COLORS, TRANSACTION_TYPE_VALUES, TaxRateSourceEnum, type TaxSyncResult, type TrackingDisplay, TrackingKindEnum, TransactionTypeEnum, UNPLACED_ORDER_STATUSES, type VariantOptionMode, WIRED_EMAIL_TEMPLATE_EVENTS, actionsForResource, addonFields, addonUnitAmount, addonsOfLine, addonsUnitAmount, addressLines, adjustmentsFor, applyPriceAdjustments, availabilityOf, availabilityStatusTone, baseUnitPriceOfLine, blogAuthorFields, blogCategoryFields, blogPostFields, brandFields, buildOptionSignature, can, canAny, canonicalizePath, canonicalizeSlug, canonicalizeUrlSegment, cartAcceptsItem, caseIsOpen, caseStatusTone, categoryFields, centsEqual, chargesOfLine, chunkSpecProductIds, clampPage, clampPageSize, cleanOptionKey, companyNameOf, conditionHolds, convertedOrderBilledOffline, convertedOrderOf, couponFields, customerDisplayName, customerFields, customerRefundHeadline, customerStatusTone, demandByKey, discountValueLabel, errorMessage, evaluateConfigurator, feeHint, firstLine, formatDay, formatMoney, fulfillmentStatusTone, grantedPermissions, groupHasDefaultAddon, hasStoreAccess, isConfigurationValid, isContactProfile, isContactRequestType, isDiscountType, isFailedPaymentStatus, isNetsuiteOrigin, isNetsuiteOwned, isNonEmptyString, isOfflinePaymentMethod, isOrderEmailEvent, isPaidPaymentStatus, isPartlyShipped, isPricingType, isQuoteBuyable, isQuoteExpired, isQuoteLapsing, isQuoteOnlyItem, isRepQuoteOrderable, isSavedLinePriceChanged, isSellable, isStoredCalendarDay, isValidAction, isValidEmail, isValidPassword, isValidPhone, itemsLabel, lineName, lineQuantityCount, lineSellable, lineShipProgress, lineShipTone, lineSku, linesShipped, liveRefunds, missingGrants, netsuiteDocumentLabel, netsuiteDocumentTone, netsuiteEventStateTone, netsuiteFieldCaution, netsuiteFieldConditional, netsuiteFieldDerivedFrom, netsuiteFieldNote, netsuiteFieldRisk, netsuiteFieldSource, netsuiteRelationSource, netsuiteStatusLabel, normalizeLineQuantity, normalizeNumber, normalizePath, pageOf, parseSitemapEntries, paymentLinkStatusTone, paymentMethodLabel, paymentStatusLabel, paymentStatusTone, personName, poNumberText, podcastFields, pricingValueLabel, productFields, profileEditRules, quoteCanBeOrdered, quoteDaysLeft, quoteIsPriced, quotePaymentUnfinished, quoteSettlement, quoteValidityPassed, readMapped, recordStatusTone, refundHeadline, refundStateTone, refundStepTone, refundSummary, repLineNote, resolveAddonSelections, resolveEffectivePermissions, resolveProductAddonGroups, resolveProductServicePlans, resolveStoreScope, roundMoney, saleTypeOf, servicePlanFields, shipmentsTone, sitemapEntryLine, sitemapPartId, slugify, statusTagColor, statusTone, statusTones, stockVerdict, syncOwnerFor, taxLabel, taxRatePercent, toCents, toIdString, trackingDisplay, trimmedText };
|
package/dist/index.js
CHANGED
|
@@ -64,6 +64,7 @@ __export(index_exports, {
|
|
|
64
64
|
CONFIGURATOR_SELECT_MODE_VALUES: () => CONFIGURATOR_SELECT_MODE_VALUES,
|
|
65
65
|
CONFIGURATOR_SOURCE_VALUES: () => CONFIGURATOR_SOURCE_VALUES,
|
|
66
66
|
CONTACT_PROFILE_OPTIONS: () => CONTACT_PROFILE_OPTIONS,
|
|
67
|
+
CONTACT_REQUEST_TYPE_VALUES: () => CONTACT_REQUEST_TYPE_VALUES,
|
|
67
68
|
CampaignRecipientStatusEnum: () => CampaignRecipientStatusEnum,
|
|
68
69
|
CampaignStatusEnum: () => CampaignStatusEnum,
|
|
69
70
|
CartIssueTypes: () => CartIssueTypes,
|
|
@@ -78,6 +79,7 @@ __export(index_exports, {
|
|
|
78
79
|
ConfiguratorErrorCodeEnum: () => ConfiguratorErrorCodeEnum,
|
|
79
80
|
ConfiguratorSelectModeEnum: () => ConfiguratorSelectModeEnum,
|
|
80
81
|
ConfiguratorSourceEnum: () => ConfiguratorSourceEnum,
|
|
82
|
+
ContactRequestTypeEnum: () => ContactRequestTypeEnum,
|
|
81
83
|
CreditMemoStatusEnum: () => CreditMemoStatusEnum,
|
|
82
84
|
CustomerAccountErrorCodeEnum: () => CustomerAccountErrorCodeEnum,
|
|
83
85
|
DEFAULT_SUBSCRIPTION_TOPICS: () => DEFAULT_SUBSCRIPTION_TOPICS,
|
|
@@ -105,7 +107,6 @@ __export(index_exports, {
|
|
|
105
107
|
MAX_PAGE: () => MAX_PAGE,
|
|
106
108
|
MAX_PAGE_SIZE: () => MAX_PAGE_SIZE,
|
|
107
109
|
MIN_PASSWORD_LENGTH: () => MIN_PASSWORD_LENGTH,
|
|
108
|
-
MOVABLE_STATUSES: () => MOVABLE_STATUSES,
|
|
109
110
|
NETSUITE_ESTIMATE_STATUS_TEXT: () => NETSUITE_ESTIMATE_STATUS_TEXT,
|
|
110
111
|
NETSUITE_EVENT_LANE_VALUES: () => NETSUITE_EVENT_LANE_VALUES,
|
|
111
112
|
NETSUITE_EVENT_STATE_TONES: () => NETSUITE_EVENT_STATE_TONES,
|
|
@@ -189,8 +190,8 @@ __export(index_exports, {
|
|
|
189
190
|
ReturnStatusEnum: () => ReturnStatusEnum,
|
|
190
191
|
SALE_TYPE_VALUES: () => SALE_TYPE_VALUES,
|
|
191
192
|
SAVED_CART_TTL_DAYS: () => SAVED_CART_TTL_DAYS,
|
|
193
|
+
SERVICE_LAB: () => SERVICE_LAB,
|
|
192
194
|
SERVICE_PLAN_ELIGIBILITY_FIELD: () => SERVICE_PLAN_ELIGIBILITY_FIELD,
|
|
193
|
-
SETTLED_STATUSES: () => SETTLED_STATUSES,
|
|
194
195
|
SITEMAP_MANIFESTS_COLLECTION: () => SITEMAP_MANIFESTS_COLLECTION,
|
|
195
196
|
SITEMAP_MANIFEST_ID: () => SITEMAP_MANIFEST_ID,
|
|
196
197
|
SITEMAP_PARTS_COLLECTION: () => SITEMAP_PARTS_COLLECTION,
|
|
@@ -272,6 +273,7 @@ __export(index_exports, {
|
|
|
272
273
|
hasStoreAccess: () => hasStoreAccess,
|
|
273
274
|
isConfigurationValid: () => isConfigurationValid,
|
|
274
275
|
isContactProfile: () => isContactProfile,
|
|
276
|
+
isContactRequestType: () => isContactRequestType,
|
|
275
277
|
isDiscountType: () => isDiscountType,
|
|
276
278
|
isFailedPaymentStatus: () => isFailedPaymentStatus,
|
|
277
279
|
isNetsuiteOrigin: () => isNetsuiteOrigin,
|
|
@@ -289,7 +291,6 @@ __export(index_exports, {
|
|
|
289
291
|
isRepQuoteOrderable: () => isRepQuoteOrderable,
|
|
290
292
|
isSavedLinePriceChanged: () => isSavedLinePriceChanged,
|
|
291
293
|
isSellable: () => isSellable,
|
|
292
|
-
isSettledStatus: () => isSettledStatus,
|
|
293
294
|
isStoredCalendarDay: () => isStoredCalendarDay,
|
|
294
295
|
isValidAction: () => isValidAction,
|
|
295
296
|
isValidEmail: () => isValidEmail,
|
|
@@ -655,6 +656,12 @@ var COMPANY = {
|
|
|
655
656
|
var COMPANY_CITY_LINE = `${COMPANY.address.city}, ${COMPANY.address.region} ${COMPANY.address.postalCode}`;
|
|
656
657
|
var COMPANY_CITY_LINE_LONG = `${COMPANY.address.city}, ${COMPANY.address.regionName} ${COMPANY.address.postalCode}`;
|
|
657
658
|
var COMPANY_ADDRESS_LINE = `${COMPANY.address.street}, ${COMPANY_CITY_LINE}`;
|
|
659
|
+
var SERVICE_LAB = {
|
|
660
|
+
attention: "ATTN: Tool Repair Calibration",
|
|
661
|
+
name: "Flexible Assembly Systems Inc.",
|
|
662
|
+
street: "849 Industry Drive",
|
|
663
|
+
cityLine: "Tukwila, WA 98188"
|
|
664
|
+
};
|
|
658
665
|
|
|
659
666
|
// src/customer/request.ts
|
|
660
667
|
var AuthProviderEnum = {
|
|
@@ -724,6 +731,15 @@ var StoreThemeEnum = {
|
|
|
724
731
|
};
|
|
725
732
|
var STORE_THEME_VALUES = Object.values(StoreThemeEnum);
|
|
726
733
|
|
|
734
|
+
// src/contact/interface.ts
|
|
735
|
+
var ContactRequestTypeEnum = {
|
|
736
|
+
CONTACT: "CONTACT",
|
|
737
|
+
ONSITE_DEMO: "ONSITE_DEMO",
|
|
738
|
+
REPAIR: "REPAIR"
|
|
739
|
+
};
|
|
740
|
+
var CONTACT_REQUEST_TYPE_VALUES = Object.values(ContactRequestTypeEnum);
|
|
741
|
+
var isContactRequestType = (value) => typeof value === "string" && CONTACT_REQUEST_TYPE_VALUES.includes(value);
|
|
742
|
+
|
|
727
743
|
// src/supportCase/interface.ts
|
|
728
744
|
var CaseStatusEnum = {
|
|
729
745
|
NOT_STARTED: "1",
|
|
@@ -2285,7 +2301,8 @@ var EmailTemplateEventEnum = {
|
|
|
2285
2301
|
QUOTE_DECLINED: "QUOTE_DECLINED",
|
|
2286
2302
|
INVOICE: "INVOICE",
|
|
2287
2303
|
PROMOTIONAL: "PROMOTIONAL",
|
|
2288
|
-
CONTACT_US: "CONTACT_US"
|
|
2304
|
+
CONTACT_US: "CONTACT_US",
|
|
2305
|
+
REPAIR_REQUEST: "REPAIR_REQUEST"
|
|
2289
2306
|
};
|
|
2290
2307
|
var EMAIL_TEMPLATE_EVENT_VALUES = Object.values(EmailTemplateEventEnum);
|
|
2291
2308
|
var WIRED_EMAIL_TEMPLATE_EVENTS = [
|
|
@@ -2300,6 +2317,7 @@ var WIRED_EMAIL_TEMPLATE_EVENTS = [
|
|
|
2300
2317
|
EmailTemplateEventEnum.PASSWORD_RESET,
|
|
2301
2318
|
EmailTemplateEventEnum.PASSWORD_SETUP,
|
|
2302
2319
|
EmailTemplateEventEnum.CONTACT_US,
|
|
2320
|
+
EmailTemplateEventEnum.REPAIR_REQUEST,
|
|
2303
2321
|
EmailTemplateEventEnum.PROMOTIONAL
|
|
2304
2322
|
];
|
|
2305
2323
|
var EMAIL_TEMPLATE_VARIABLES_BY_EVENT = {
|
|
@@ -2332,6 +2350,15 @@ var EMAIL_TEMPLATE_VARIABLES_BY_EVENT = {
|
|
|
2332
2350
|
[EmailTemplateEventEnum.PASSWORD_RESET]: ["name", "resetUrl", "expiryLabel"],
|
|
2333
2351
|
[EmailTemplateEventEnum.PASSWORD_SETUP]: ["name", "resetUrl", "expiryLabel"],
|
|
2334
2352
|
[EmailTemplateEventEnum.CONTACT_US]: ["customerName", "caseNumber", "department", "subjectSummary"],
|
|
2353
|
+
[EmailTemplateEventEnum.REPAIR_REQUEST]: [
|
|
2354
|
+
"customerName",
|
|
2355
|
+
"caseNumber",
|
|
2356
|
+
"requestDate",
|
|
2357
|
+
"toolCount",
|
|
2358
|
+
"requestHtml",
|
|
2359
|
+
"slipUrl",
|
|
2360
|
+
"slipButtonHtml"
|
|
2361
|
+
],
|
|
2335
2362
|
[EmailTemplateEventEnum.INVOICE]: [
|
|
2336
2363
|
"customerName",
|
|
2337
2364
|
"orderId",
|
|
@@ -2741,7 +2768,7 @@ var canonicalizeSlug = (input) => {
|
|
|
2741
2768
|
};
|
|
2742
2769
|
var canonicalizeUrlSegment = (input) => {
|
|
2743
2770
|
if (!input || typeof input !== "string") return "";
|
|
2744
|
-
return input.trim().toLowerCase().replace(/\s+/g, "-")
|
|
2771
|
+
return input.trim().toLowerCase().replace(/\s+/g, "-");
|
|
2745
2772
|
};
|
|
2746
2773
|
var canonicalizePath = (input) => {
|
|
2747
2774
|
if (!input || typeof input !== "string") return "/";
|
|
@@ -2968,16 +2995,6 @@ var RETURN_ORDER_STATUSES = [
|
|
|
2968
2995
|
OrderStatusEnum.REFUNDED,
|
|
2969
2996
|
OrderStatusEnum.PARTIALLY_REFUNDED
|
|
2970
2997
|
];
|
|
2971
|
-
var SETTLED_STATUSES = [
|
|
2972
|
-
OrderStatusEnum.CLOSED,
|
|
2973
|
-
OrderStatusEnum.CANCELLED,
|
|
2974
|
-
OrderStatusEnum.QUOTE_PROCESSED,
|
|
2975
|
-
OrderStatusEnum.QUOTE_CLOSED,
|
|
2976
|
-
OrderStatusEnum.QUOTE_VOIDED,
|
|
2977
|
-
OrderStatusEnum.QUOTE_EXPIRED
|
|
2978
|
-
];
|
|
2979
|
-
var MOVABLE_STATUSES = Object.values(OrderStatusEnum).filter((status) => !SETTLED_STATUSES.includes(status));
|
|
2980
|
-
var isSettledStatus = (status) => SETTLED_STATUSES.includes(status);
|
|
2981
2998
|
var UNPLACED_ORDER_STATUSES = [
|
|
2982
2999
|
OrderStatusEnum.CREATED,
|
|
2983
3000
|
OrderStatusEnum.PAYMENT_FAILED
|