@fas-core/shared-types 1.0.142 → 1.0.144
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 +37 -3
- package/dist/index.d.ts +37 -3
- package/dist/index.js +32 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +32 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1355,6 +1355,7 @@ interface IAddress extends BaseEntity {
|
|
|
1355
1355
|
addressLine1: string;
|
|
1356
1356
|
addressLine2: string;
|
|
1357
1357
|
attention?: string;
|
|
1358
|
+
company?: string;
|
|
1358
1359
|
city: string;
|
|
1359
1360
|
zipCode: string;
|
|
1360
1361
|
firstName: string;
|
|
@@ -1634,6 +1635,12 @@ declare const COMPANY: {
|
|
|
1634
1635
|
declare const COMPANY_CITY_LINE: string;
|
|
1635
1636
|
declare const COMPANY_CITY_LINE_LONG: string;
|
|
1636
1637
|
declare const COMPANY_ADDRESS_LINE: string;
|
|
1638
|
+
declare const SERVICE_LAB: {
|
|
1639
|
+
readonly attention: "ATTN: Tool Repair Calibration";
|
|
1640
|
+
readonly name: "Flexible Assembly Systems Inc.";
|
|
1641
|
+
readonly street: "849 Industry Drive";
|
|
1642
|
+
readonly cityLine: "Tukwila, WA 98188";
|
|
1643
|
+
};
|
|
1637
1644
|
|
|
1638
1645
|
declare const CaseStatusEnum: {
|
|
1639
1646
|
readonly NOT_STARTED: "1";
|
|
@@ -1725,7 +1732,16 @@ type ISupportCaseListItem = Omit<ISupportCase, "messages">;
|
|
|
1725
1732
|
declare const CASE_STATUS_TONES: Record<CaseStatus, StatusToneEnum>;
|
|
1726
1733
|
declare const caseStatusTone: (status?: string) => StatusToneEnum;
|
|
1727
1734
|
|
|
1735
|
+
declare const ContactRequestTypeEnum: {
|
|
1736
|
+
readonly CONTACT: "CONTACT";
|
|
1737
|
+
readonly ONSITE_DEMO: "ONSITE_DEMO";
|
|
1738
|
+
readonly REPAIR: "REPAIR";
|
|
1739
|
+
};
|
|
1740
|
+
type ContactRequestTypeEnum = (typeof ContactRequestTypeEnum)[keyof typeof ContactRequestTypeEnum];
|
|
1741
|
+
declare const CONTACT_REQUEST_TYPE_VALUES: ("CONTACT" | "ONSITE_DEMO" | "REPAIR")[];
|
|
1742
|
+
declare const isContactRequestType: (value: unknown) => value is ContactRequestTypeEnum;
|
|
1728
1743
|
interface IContact extends BaseEntity {
|
|
1744
|
+
requestType: ContactRequestTypeEnum;
|
|
1729
1745
|
firstName: string;
|
|
1730
1746
|
lastName: string;
|
|
1731
1747
|
companyName?: string;
|
|
@@ -1746,6 +1762,23 @@ interface IContact extends BaseEntity {
|
|
|
1746
1762
|
message: string;
|
|
1747
1763
|
failedAt?: Date | string;
|
|
1748
1764
|
} | null;
|
|
1765
|
+
netsuiteLeadId?: string | null;
|
|
1766
|
+
onsiteDemo?: IOnsiteDemoRequest | null;
|
|
1767
|
+
repair?: IRepairRequest | null;
|
|
1768
|
+
}
|
|
1769
|
+
interface IOnsiteDemoRequest {
|
|
1770
|
+
demo: string;
|
|
1771
|
+
}
|
|
1772
|
+
interface IRepairTool {
|
|
1773
|
+
manufacturer: string;
|
|
1774
|
+
model: string;
|
|
1775
|
+
serial: string;
|
|
1776
|
+
accessories?: string;
|
|
1777
|
+
}
|
|
1778
|
+
interface IRepairRequest {
|
|
1779
|
+
tools: IRepairTool[];
|
|
1780
|
+
problem: string;
|
|
1781
|
+
comments?: string;
|
|
1749
1782
|
}
|
|
1750
1783
|
|
|
1751
1784
|
declare const SERVICE_PLAN_ELIGIBILITY_FIELD = "custitem520";
|
|
@@ -1845,9 +1878,10 @@ declare const EmailTemplateEventEnum: {
|
|
|
1845
1878
|
readonly INVOICE: "INVOICE";
|
|
1846
1879
|
readonly PROMOTIONAL: "PROMOTIONAL";
|
|
1847
1880
|
readonly CONTACT_US: "CONTACT_US";
|
|
1881
|
+
readonly REPAIR_REQUEST: "REPAIR_REQUEST";
|
|
1848
1882
|
};
|
|
1849
1883
|
type EmailTemplateEventEnum = (typeof EmailTemplateEventEnum)[keyof typeof EmailTemplateEventEnum];
|
|
1850
|
-
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")[];
|
|
1884
|
+
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")[];
|
|
1851
1885
|
declare const WIRED_EMAIL_TEMPLATE_EVENTS: EmailTemplateEventEnum[];
|
|
1852
1886
|
declare const EMAIL_TEMPLATE_VARIABLES_BY_EVENT: Partial<Record<EmailTemplateEventEnum, string[]>>;
|
|
1853
1887
|
interface IEmailTemplate extends BaseEntity {
|
|
@@ -7236,6 +7270,7 @@ interface CheckoutAddressInput {
|
|
|
7236
7270
|
addressLine1: string;
|
|
7237
7271
|
addressLine2?: string;
|
|
7238
7272
|
attention?: string;
|
|
7273
|
+
company?: string;
|
|
7239
7274
|
city: string;
|
|
7240
7275
|
zipCode: string;
|
|
7241
7276
|
firstName: string;
|
|
@@ -7258,7 +7293,6 @@ interface CheckoutPayload {
|
|
|
7258
7293
|
acceptedTerms: boolean;
|
|
7259
7294
|
customerNote?: string;
|
|
7260
7295
|
poNumber?: string;
|
|
7261
|
-
company?: string;
|
|
7262
7296
|
}
|
|
7263
7297
|
interface QuoteRequestResult {
|
|
7264
7298
|
id: string;
|
|
@@ -7359,4 +7393,4 @@ declare const sitemapPartId: (build: string, storeId: string, kind: SitemapPartK
|
|
|
7359
7393
|
declare const sitemapEntryLine: (key: string, lastmod?: Date | string | null) => string;
|
|
7360
7394
|
declare const parseSitemapEntries: (entries: string) => SitemapEntryKey[];
|
|
7361
7395
|
|
|
7362
|
-
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, 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, 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, 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 };
|
|
7396
|
+
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
|
@@ -1355,6 +1355,7 @@ interface IAddress extends BaseEntity {
|
|
|
1355
1355
|
addressLine1: string;
|
|
1356
1356
|
addressLine2: string;
|
|
1357
1357
|
attention?: string;
|
|
1358
|
+
company?: string;
|
|
1358
1359
|
city: string;
|
|
1359
1360
|
zipCode: string;
|
|
1360
1361
|
firstName: string;
|
|
@@ -1634,6 +1635,12 @@ declare const COMPANY: {
|
|
|
1634
1635
|
declare const COMPANY_CITY_LINE: string;
|
|
1635
1636
|
declare const COMPANY_CITY_LINE_LONG: string;
|
|
1636
1637
|
declare const COMPANY_ADDRESS_LINE: string;
|
|
1638
|
+
declare const SERVICE_LAB: {
|
|
1639
|
+
readonly attention: "ATTN: Tool Repair Calibration";
|
|
1640
|
+
readonly name: "Flexible Assembly Systems Inc.";
|
|
1641
|
+
readonly street: "849 Industry Drive";
|
|
1642
|
+
readonly cityLine: "Tukwila, WA 98188";
|
|
1643
|
+
};
|
|
1637
1644
|
|
|
1638
1645
|
declare const CaseStatusEnum: {
|
|
1639
1646
|
readonly NOT_STARTED: "1";
|
|
@@ -1725,7 +1732,16 @@ type ISupportCaseListItem = Omit<ISupportCase, "messages">;
|
|
|
1725
1732
|
declare const CASE_STATUS_TONES: Record<CaseStatus, StatusToneEnum>;
|
|
1726
1733
|
declare const caseStatusTone: (status?: string) => StatusToneEnum;
|
|
1727
1734
|
|
|
1735
|
+
declare const ContactRequestTypeEnum: {
|
|
1736
|
+
readonly CONTACT: "CONTACT";
|
|
1737
|
+
readonly ONSITE_DEMO: "ONSITE_DEMO";
|
|
1738
|
+
readonly REPAIR: "REPAIR";
|
|
1739
|
+
};
|
|
1740
|
+
type ContactRequestTypeEnum = (typeof ContactRequestTypeEnum)[keyof typeof ContactRequestTypeEnum];
|
|
1741
|
+
declare const CONTACT_REQUEST_TYPE_VALUES: ("CONTACT" | "ONSITE_DEMO" | "REPAIR")[];
|
|
1742
|
+
declare const isContactRequestType: (value: unknown) => value is ContactRequestTypeEnum;
|
|
1728
1743
|
interface IContact extends BaseEntity {
|
|
1744
|
+
requestType: ContactRequestTypeEnum;
|
|
1729
1745
|
firstName: string;
|
|
1730
1746
|
lastName: string;
|
|
1731
1747
|
companyName?: string;
|
|
@@ -1746,6 +1762,23 @@ interface IContact extends BaseEntity {
|
|
|
1746
1762
|
message: string;
|
|
1747
1763
|
failedAt?: Date | string;
|
|
1748
1764
|
} | null;
|
|
1765
|
+
netsuiteLeadId?: string | null;
|
|
1766
|
+
onsiteDemo?: IOnsiteDemoRequest | null;
|
|
1767
|
+
repair?: IRepairRequest | null;
|
|
1768
|
+
}
|
|
1769
|
+
interface IOnsiteDemoRequest {
|
|
1770
|
+
demo: string;
|
|
1771
|
+
}
|
|
1772
|
+
interface IRepairTool {
|
|
1773
|
+
manufacturer: string;
|
|
1774
|
+
model: string;
|
|
1775
|
+
serial: string;
|
|
1776
|
+
accessories?: string;
|
|
1777
|
+
}
|
|
1778
|
+
interface IRepairRequest {
|
|
1779
|
+
tools: IRepairTool[];
|
|
1780
|
+
problem: string;
|
|
1781
|
+
comments?: string;
|
|
1749
1782
|
}
|
|
1750
1783
|
|
|
1751
1784
|
declare const SERVICE_PLAN_ELIGIBILITY_FIELD = "custitem520";
|
|
@@ -1845,9 +1878,10 @@ declare const EmailTemplateEventEnum: {
|
|
|
1845
1878
|
readonly INVOICE: "INVOICE";
|
|
1846
1879
|
readonly PROMOTIONAL: "PROMOTIONAL";
|
|
1847
1880
|
readonly CONTACT_US: "CONTACT_US";
|
|
1881
|
+
readonly REPAIR_REQUEST: "REPAIR_REQUEST";
|
|
1848
1882
|
};
|
|
1849
1883
|
type EmailTemplateEventEnum = (typeof EmailTemplateEventEnum)[keyof typeof EmailTemplateEventEnum];
|
|
1850
|
-
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")[];
|
|
1884
|
+
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")[];
|
|
1851
1885
|
declare const WIRED_EMAIL_TEMPLATE_EVENTS: EmailTemplateEventEnum[];
|
|
1852
1886
|
declare const EMAIL_TEMPLATE_VARIABLES_BY_EVENT: Partial<Record<EmailTemplateEventEnum, string[]>>;
|
|
1853
1887
|
interface IEmailTemplate extends BaseEntity {
|
|
@@ -7236,6 +7270,7 @@ interface CheckoutAddressInput {
|
|
|
7236
7270
|
addressLine1: string;
|
|
7237
7271
|
addressLine2?: string;
|
|
7238
7272
|
attention?: string;
|
|
7273
|
+
company?: string;
|
|
7239
7274
|
city: string;
|
|
7240
7275
|
zipCode: string;
|
|
7241
7276
|
firstName: string;
|
|
@@ -7258,7 +7293,6 @@ interface CheckoutPayload {
|
|
|
7258
7293
|
acceptedTerms: boolean;
|
|
7259
7294
|
customerNote?: string;
|
|
7260
7295
|
poNumber?: string;
|
|
7261
|
-
company?: string;
|
|
7262
7296
|
}
|
|
7263
7297
|
interface QuoteRequestResult {
|
|
7264
7298
|
id: string;
|
|
@@ -7359,4 +7393,4 @@ declare const sitemapPartId: (build: string, storeId: string, kind: SitemapPartK
|
|
|
7359
7393
|
declare const sitemapEntryLine: (key: string, lastmod?: Date | string | null) => string;
|
|
7360
7394
|
declare const parseSitemapEntries: (entries: string) => SitemapEntryKey[];
|
|
7361
7395
|
|
|
7362
|
-
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, 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, 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, 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 };
|
|
7396
|
+
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,
|
|
@@ -188,6 +190,7 @@ __export(index_exports, {
|
|
|
188
190
|
ReturnStatusEnum: () => ReturnStatusEnum,
|
|
189
191
|
SALE_TYPE_VALUES: () => SALE_TYPE_VALUES,
|
|
190
192
|
SAVED_CART_TTL_DAYS: () => SAVED_CART_TTL_DAYS,
|
|
193
|
+
SERVICE_LAB: () => SERVICE_LAB,
|
|
191
194
|
SERVICE_PLAN_ELIGIBILITY_FIELD: () => SERVICE_PLAN_ELIGIBILITY_FIELD,
|
|
192
195
|
SITEMAP_MANIFESTS_COLLECTION: () => SITEMAP_MANIFESTS_COLLECTION,
|
|
193
196
|
SITEMAP_MANIFEST_ID: () => SITEMAP_MANIFEST_ID,
|
|
@@ -270,6 +273,7 @@ __export(index_exports, {
|
|
|
270
273
|
hasStoreAccess: () => hasStoreAccess,
|
|
271
274
|
isConfigurationValid: () => isConfigurationValid,
|
|
272
275
|
isContactProfile: () => isContactProfile,
|
|
276
|
+
isContactRequestType: () => isContactRequestType,
|
|
273
277
|
isDiscountType: () => isDiscountType,
|
|
274
278
|
isFailedPaymentStatus: () => isFailedPaymentStatus,
|
|
275
279
|
isNetsuiteOrigin: () => isNetsuiteOrigin,
|
|
@@ -652,6 +656,12 @@ var COMPANY = {
|
|
|
652
656
|
var COMPANY_CITY_LINE = `${COMPANY.address.city}, ${COMPANY.address.region} ${COMPANY.address.postalCode}`;
|
|
653
657
|
var COMPANY_CITY_LINE_LONG = `${COMPANY.address.city}, ${COMPANY.address.regionName} ${COMPANY.address.postalCode}`;
|
|
654
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
|
+
};
|
|
655
665
|
|
|
656
666
|
// src/customer/request.ts
|
|
657
667
|
var AuthProviderEnum = {
|
|
@@ -721,6 +731,15 @@ var StoreThemeEnum = {
|
|
|
721
731
|
};
|
|
722
732
|
var STORE_THEME_VALUES = Object.values(StoreThemeEnum);
|
|
723
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
|
+
|
|
724
743
|
// src/supportCase/interface.ts
|
|
725
744
|
var CaseStatusEnum = {
|
|
726
745
|
NOT_STARTED: "1",
|
|
@@ -2282,7 +2301,8 @@ var EmailTemplateEventEnum = {
|
|
|
2282
2301
|
QUOTE_DECLINED: "QUOTE_DECLINED",
|
|
2283
2302
|
INVOICE: "INVOICE",
|
|
2284
2303
|
PROMOTIONAL: "PROMOTIONAL",
|
|
2285
|
-
CONTACT_US: "CONTACT_US"
|
|
2304
|
+
CONTACT_US: "CONTACT_US",
|
|
2305
|
+
REPAIR_REQUEST: "REPAIR_REQUEST"
|
|
2286
2306
|
};
|
|
2287
2307
|
var EMAIL_TEMPLATE_EVENT_VALUES = Object.values(EmailTemplateEventEnum);
|
|
2288
2308
|
var WIRED_EMAIL_TEMPLATE_EVENTS = [
|
|
@@ -2297,6 +2317,7 @@ var WIRED_EMAIL_TEMPLATE_EVENTS = [
|
|
|
2297
2317
|
EmailTemplateEventEnum.PASSWORD_RESET,
|
|
2298
2318
|
EmailTemplateEventEnum.PASSWORD_SETUP,
|
|
2299
2319
|
EmailTemplateEventEnum.CONTACT_US,
|
|
2320
|
+
EmailTemplateEventEnum.REPAIR_REQUEST,
|
|
2300
2321
|
EmailTemplateEventEnum.PROMOTIONAL
|
|
2301
2322
|
];
|
|
2302
2323
|
var EMAIL_TEMPLATE_VARIABLES_BY_EVENT = {
|
|
@@ -2329,6 +2350,15 @@ var EMAIL_TEMPLATE_VARIABLES_BY_EVENT = {
|
|
|
2329
2350
|
[EmailTemplateEventEnum.PASSWORD_RESET]: ["name", "resetUrl", "expiryLabel"],
|
|
2330
2351
|
[EmailTemplateEventEnum.PASSWORD_SETUP]: ["name", "resetUrl", "expiryLabel"],
|
|
2331
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
|
+
],
|
|
2332
2362
|
[EmailTemplateEventEnum.INVOICE]: [
|
|
2333
2363
|
"customerName",
|
|
2334
2364
|
"orderId",
|
|
@@ -2738,7 +2768,7 @@ var canonicalizeSlug = (input) => {
|
|
|
2738
2768
|
};
|
|
2739
2769
|
var canonicalizeUrlSegment = (input) => {
|
|
2740
2770
|
if (!input || typeof input !== "string") return "";
|
|
2741
|
-
return input.trim().toLowerCase().replace(/\s+/g, "-")
|
|
2771
|
+
return input.trim().toLowerCase().replace(/\s+/g, "-");
|
|
2742
2772
|
};
|
|
2743
2773
|
var canonicalizePath = (input) => {
|
|
2744
2774
|
if (!input || typeof input !== "string") return "/";
|