@fas-core/shared-types 1.0.108 → 1.0.110
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 +139 -91
- package/dist/index.d.ts +139 -91
- package/dist/index.js +39 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +39 -28
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -249,10 +249,12 @@ interface ICategory extends BaseEntity {
|
|
|
249
249
|
parent: ICategory;
|
|
250
250
|
subcategories?: ICategorySubcategory[];
|
|
251
251
|
stores: (IStore | string)[];
|
|
252
|
-
childOnly?: boolean;
|
|
253
252
|
image: string;
|
|
254
253
|
banners: IBannerSlide[];
|
|
254
|
+
urlFragment: string;
|
|
255
|
+
urlFragmentOverride: string;
|
|
255
256
|
sortOrder: number;
|
|
257
|
+
directProductCount: number;
|
|
256
258
|
status: boolean;
|
|
257
259
|
isOnline: boolean;
|
|
258
260
|
netsuiteId: string;
|
|
@@ -294,6 +296,7 @@ declare const SALE_TYPE_VALUES: SaleType[];
|
|
|
294
296
|
|
|
295
297
|
interface SaleTypedLike {
|
|
296
298
|
saleType?: SaleType;
|
|
299
|
+
quoteOnly?: boolean;
|
|
297
300
|
metaData?: unknown;
|
|
298
301
|
price?: {
|
|
299
302
|
price?: number;
|
|
@@ -315,12 +318,17 @@ interface IProductVariantFields {
|
|
|
315
318
|
stockDescription?: string;
|
|
316
319
|
noPriceMessage?: string;
|
|
317
320
|
itemType?: string;
|
|
321
|
+
upc?: string;
|
|
322
|
+
uom?: string;
|
|
323
|
+
project360?: string;
|
|
324
|
+
family?: string;
|
|
325
|
+
quoteOnly?: boolean;
|
|
326
|
+
purchasable?: boolean;
|
|
318
327
|
isSeriesComponent?: boolean;
|
|
319
328
|
flexWarrantyEligible?: boolean;
|
|
320
329
|
inventoryPolicy: InventoryPolicy;
|
|
321
330
|
brand: IBrand;
|
|
322
331
|
stores: (IStore | string)[];
|
|
323
|
-
childOnly?: boolean;
|
|
324
332
|
stock: IStock;
|
|
325
333
|
category: ICategory;
|
|
326
334
|
categories: ICategory[];
|
|
@@ -462,10 +470,15 @@ interface ResolvedAddonSelection extends AddonSelectionRef {
|
|
|
462
470
|
}
|
|
463
471
|
declare const resolveAddonSelections: (groups: IAddonGroup[], selections: AddonSelectionRef[]) => ResolvedAddonSelection[];
|
|
464
472
|
|
|
473
|
+
interface ICategorySequence {
|
|
474
|
+
[categoryId: string]: number;
|
|
475
|
+
}
|
|
465
476
|
interface IProduct extends BaseEntity, IProductVariantFields {
|
|
466
477
|
netsuiteId: string;
|
|
467
478
|
name: string;
|
|
468
479
|
slug: string;
|
|
480
|
+
urlComponent: string;
|
|
481
|
+
slugField: string;
|
|
469
482
|
sku: string;
|
|
470
483
|
hasVariants: boolean;
|
|
471
484
|
variantType: ProductVariantType;
|
|
@@ -476,6 +489,10 @@ interface IProduct extends BaseEntity, IProductVariantFields {
|
|
|
476
489
|
addons: (IAddonConfig | string)[];
|
|
477
490
|
googleCategory: string;
|
|
478
491
|
department: string;
|
|
492
|
+
featureBullets: string[];
|
|
493
|
+
mpn: string;
|
|
494
|
+
vendorName: string;
|
|
495
|
+
categorySequence?: ICategorySequence;
|
|
479
496
|
}
|
|
480
497
|
|
|
481
498
|
interface ICartItem extends BaseEntity {
|
|
@@ -1813,7 +1830,7 @@ declare const CATEGORY_FIELDS: {
|
|
|
1813
1830
|
readonly slug: {
|
|
1814
1831
|
readonly before: "urlfragment";
|
|
1815
1832
|
readonly target: "slug";
|
|
1816
|
-
readonly policy: "
|
|
1833
|
+
readonly policy: "always";
|
|
1817
1834
|
readonly identity: true;
|
|
1818
1835
|
readonly note: string;
|
|
1819
1836
|
readonly caution: string;
|
|
@@ -1929,6 +1946,7 @@ declare const PRODUCT_FIELDS: {
|
|
|
1929
1946
|
readonly target: "price.discount";
|
|
1930
1947
|
readonly policy: "always";
|
|
1931
1948
|
readonly conditional: true;
|
|
1949
|
+
readonly derivedFrom: readonly ["price.price", "price.originalPrice"];
|
|
1932
1950
|
readonly note: string;
|
|
1933
1951
|
};
|
|
1934
1952
|
readonly weight: {
|
|
@@ -1985,6 +2003,20 @@ declare const PRODUCT_FIELDS: {
|
|
|
1985
2003
|
readonly conditional: true;
|
|
1986
2004
|
readonly note: string;
|
|
1987
2005
|
};
|
|
2006
|
+
readonly mpn: {
|
|
2007
|
+
readonly before: "mpn";
|
|
2008
|
+
readonly target: "mpn";
|
|
2009
|
+
readonly policy: "always";
|
|
2010
|
+
readonly conditional: true;
|
|
2011
|
+
readonly note: string;
|
|
2012
|
+
};
|
|
2013
|
+
readonly vendorName: {
|
|
2014
|
+
readonly before: "vendorname";
|
|
2015
|
+
readonly target: "vendorName";
|
|
2016
|
+
readonly policy: "always";
|
|
2017
|
+
readonly conditional: true;
|
|
2018
|
+
readonly note: string;
|
|
2019
|
+
};
|
|
1988
2020
|
readonly itemType: {
|
|
1989
2021
|
readonly before: "itemtype";
|
|
1990
2022
|
readonly target: "itemType";
|
|
@@ -2045,9 +2077,9 @@ declare const PRODUCT_FIELDS: {
|
|
|
2045
2077
|
readonly before: "urlcomponent";
|
|
2046
2078
|
readonly after: "custitem_slug";
|
|
2047
2079
|
readonly target: "slug";
|
|
2048
|
-
readonly policy: "
|
|
2080
|
+
readonly policy: "always";
|
|
2049
2081
|
readonly identity: true;
|
|
2050
|
-
readonly note:
|
|
2082
|
+
readonly note: string;
|
|
2051
2083
|
readonly caution: "The sync matches on netsuiteId first and falls back to slug. Changing it on a product NetSuite has never supplied makes the next run miss it and insert a second one.";
|
|
2052
2084
|
};
|
|
2053
2085
|
readonly name: {
|
|
@@ -2094,14 +2126,15 @@ declare const PRODUCT_FIELDS: {
|
|
|
2094
2126
|
readonly target: "saleType";
|
|
2095
2127
|
readonly policy: "always";
|
|
2096
2128
|
readonly conditional: true;
|
|
2097
|
-
readonly
|
|
2129
|
+
readonly derivedFrom: readonly ["quoteOnly", "price.price"];
|
|
2130
|
+
readonly note: string;
|
|
2098
2131
|
};
|
|
2099
2132
|
readonly quoteOnly: {
|
|
2100
2133
|
readonly before: "dontshowprice";
|
|
2101
2134
|
readonly after: "custitem_quote_only";
|
|
2102
|
-
readonly target: "
|
|
2103
|
-
readonly policy: "
|
|
2104
|
-
readonly note:
|
|
2135
|
+
readonly target: "quoteOnly";
|
|
2136
|
+
readonly policy: "always";
|
|
2137
|
+
readonly note: string;
|
|
2105
2138
|
};
|
|
2106
2139
|
readonly image: {
|
|
2107
2140
|
readonly before: "storedisplayimage";
|
|
@@ -2157,10 +2190,9 @@ declare const PRODUCT_FIELDS: {
|
|
|
2157
2190
|
};
|
|
2158
2191
|
readonly family: {
|
|
2159
2192
|
readonly after: "custitem_family";
|
|
2160
|
-
readonly target: "
|
|
2161
|
-
readonly policy: "
|
|
2162
|
-
readonly
|
|
2163
|
-
readonly note: "Populated on 17,552 items. No storefront field consumes it yet.";
|
|
2193
|
+
readonly target: "family";
|
|
2194
|
+
readonly policy: "always";
|
|
2195
|
+
readonly note: "Populated on 17,552 items. The product family name, e.g. PLUTO or K-DUCER.";
|
|
2164
2196
|
};
|
|
2165
2197
|
readonly primaryCategory: {
|
|
2166
2198
|
readonly before: "commercecategoryitemassociation.primarycategory";
|
|
@@ -2186,17 +2218,9 @@ declare const PRODUCT_FIELDS: {
|
|
|
2186
2218
|
};
|
|
2187
2219
|
readonly features: {
|
|
2188
2220
|
readonly after: "custitem_features";
|
|
2189
|
-
readonly target: "
|
|
2190
|
-
readonly policy: "
|
|
2191
|
-
readonly
|
|
2192
|
-
readonly note: "Field exists in NetSuite and carries no data yet.";
|
|
2193
|
-
};
|
|
2194
|
-
readonly childStoreOnly: {
|
|
2195
|
-
readonly after: "custitem_child_store_only";
|
|
2196
|
-
readonly target: "childOnly";
|
|
2197
|
-
readonly policy: "seed";
|
|
2198
|
-
readonly pending: true;
|
|
2199
|
-
readonly note: "Nothing is flagged yet. Our stores[] array already covers this.";
|
|
2221
|
+
readonly target: "featureBullets";
|
|
2222
|
+
readonly policy: "always";
|
|
2223
|
+
readonly note: string;
|
|
2200
2224
|
};
|
|
2201
2225
|
};
|
|
2202
2226
|
|
|
@@ -2210,6 +2234,8 @@ interface FieldMapping {
|
|
|
2210
2234
|
pending?: boolean;
|
|
2211
2235
|
conditional?: boolean;
|
|
2212
2236
|
identity?: boolean;
|
|
2237
|
+
/** Local fields this one is computed from, for targets nothing in NetSuite supplies directly. */
|
|
2238
|
+
derivedFrom?: readonly string[];
|
|
2213
2239
|
caution?: string;
|
|
2214
2240
|
note?: string;
|
|
2215
2241
|
}
|
|
@@ -2310,6 +2336,7 @@ declare const productFields: NetsuiteFieldProvider<{
|
|
|
2310
2336
|
readonly target: "price.discount";
|
|
2311
2337
|
readonly policy: "always";
|
|
2312
2338
|
readonly conditional: true;
|
|
2339
|
+
readonly derivedFrom: readonly ["price.price", "price.originalPrice"];
|
|
2313
2340
|
readonly note: string;
|
|
2314
2341
|
};
|
|
2315
2342
|
readonly weight: {
|
|
@@ -2366,6 +2393,20 @@ declare const productFields: NetsuiteFieldProvider<{
|
|
|
2366
2393
|
readonly conditional: true;
|
|
2367
2394
|
readonly note: string;
|
|
2368
2395
|
};
|
|
2396
|
+
readonly mpn: {
|
|
2397
|
+
readonly before: "mpn";
|
|
2398
|
+
readonly target: "mpn";
|
|
2399
|
+
readonly policy: "always";
|
|
2400
|
+
readonly conditional: true;
|
|
2401
|
+
readonly note: string;
|
|
2402
|
+
};
|
|
2403
|
+
readonly vendorName: {
|
|
2404
|
+
readonly before: "vendorname";
|
|
2405
|
+
readonly target: "vendorName";
|
|
2406
|
+
readonly policy: "always";
|
|
2407
|
+
readonly conditional: true;
|
|
2408
|
+
readonly note: string;
|
|
2409
|
+
};
|
|
2369
2410
|
readonly itemType: {
|
|
2370
2411
|
readonly before: "itemtype";
|
|
2371
2412
|
readonly target: "itemType";
|
|
@@ -2426,9 +2467,9 @@ declare const productFields: NetsuiteFieldProvider<{
|
|
|
2426
2467
|
readonly before: "urlcomponent";
|
|
2427
2468
|
readonly after: "custitem_slug";
|
|
2428
2469
|
readonly target: "slug";
|
|
2429
|
-
readonly policy: "
|
|
2470
|
+
readonly policy: "always";
|
|
2430
2471
|
readonly identity: true;
|
|
2431
|
-
readonly note:
|
|
2472
|
+
readonly note: string;
|
|
2432
2473
|
readonly caution: "The sync matches on netsuiteId first and falls back to slug. Changing it on a product NetSuite has never supplied makes the next run miss it and insert a second one.";
|
|
2433
2474
|
};
|
|
2434
2475
|
readonly name: {
|
|
@@ -2475,14 +2516,15 @@ declare const productFields: NetsuiteFieldProvider<{
|
|
|
2475
2516
|
readonly target: "saleType";
|
|
2476
2517
|
readonly policy: "always";
|
|
2477
2518
|
readonly conditional: true;
|
|
2478
|
-
readonly
|
|
2519
|
+
readonly derivedFrom: readonly ["quoteOnly", "price.price"];
|
|
2520
|
+
readonly note: string;
|
|
2479
2521
|
};
|
|
2480
2522
|
readonly quoteOnly: {
|
|
2481
2523
|
readonly before: "dontshowprice";
|
|
2482
2524
|
readonly after: "custitem_quote_only";
|
|
2483
|
-
readonly target: "
|
|
2484
|
-
readonly policy: "
|
|
2485
|
-
readonly note:
|
|
2525
|
+
readonly target: "quoteOnly";
|
|
2526
|
+
readonly policy: "always";
|
|
2527
|
+
readonly note: string;
|
|
2486
2528
|
};
|
|
2487
2529
|
readonly image: {
|
|
2488
2530
|
readonly before: "storedisplayimage";
|
|
@@ -2538,10 +2580,9 @@ declare const productFields: NetsuiteFieldProvider<{
|
|
|
2538
2580
|
};
|
|
2539
2581
|
readonly family: {
|
|
2540
2582
|
readonly after: "custitem_family";
|
|
2541
|
-
readonly target: "
|
|
2542
|
-
readonly policy: "
|
|
2543
|
-
readonly
|
|
2544
|
-
readonly note: "Populated on 17,552 items. No storefront field consumes it yet.";
|
|
2583
|
+
readonly target: "family";
|
|
2584
|
+
readonly policy: "always";
|
|
2585
|
+
readonly note: "Populated on 17,552 items. The product family name, e.g. PLUTO or K-DUCER.";
|
|
2545
2586
|
};
|
|
2546
2587
|
readonly primaryCategory: {
|
|
2547
2588
|
readonly before: "commercecategoryitemassociation.primarycategory";
|
|
@@ -2567,17 +2608,9 @@ declare const productFields: NetsuiteFieldProvider<{
|
|
|
2567
2608
|
};
|
|
2568
2609
|
readonly features: {
|
|
2569
2610
|
readonly after: "custitem_features";
|
|
2570
|
-
readonly target: "
|
|
2571
|
-
readonly policy: "
|
|
2572
|
-
readonly
|
|
2573
|
-
readonly note: "Field exists in NetSuite and carries no data yet.";
|
|
2574
|
-
};
|
|
2575
|
-
readonly childStoreOnly: {
|
|
2576
|
-
readonly after: "custitem_child_store_only";
|
|
2577
|
-
readonly target: "childOnly";
|
|
2578
|
-
readonly policy: "seed";
|
|
2579
|
-
readonly pending: true;
|
|
2580
|
-
readonly note: "Nothing is flagged yet. Our stores[] array already covers this.";
|
|
2611
|
+
readonly target: "featureBullets";
|
|
2612
|
+
readonly policy: "always";
|
|
2613
|
+
readonly note: string;
|
|
2581
2614
|
};
|
|
2582
2615
|
}>;
|
|
2583
2616
|
declare const addonFields: NetsuiteFieldProvider<{
|
|
@@ -2859,7 +2892,7 @@ declare const categoryFields: NetsuiteFieldProvider<{
|
|
|
2859
2892
|
readonly slug: {
|
|
2860
2893
|
readonly before: "urlfragment";
|
|
2861
2894
|
readonly target: "slug";
|
|
2862
|
-
readonly policy: "
|
|
2895
|
+
readonly policy: "always";
|
|
2863
2896
|
readonly identity: true;
|
|
2864
2897
|
readonly note: string;
|
|
2865
2898
|
readonly caution: string;
|
|
@@ -3525,6 +3558,7 @@ declare const PROVIDERS: readonly [NetsuiteFieldProvider<{
|
|
|
3525
3558
|
readonly target: "price.discount";
|
|
3526
3559
|
readonly policy: "always";
|
|
3527
3560
|
readonly conditional: true;
|
|
3561
|
+
readonly derivedFrom: readonly ["price.price", "price.originalPrice"];
|
|
3528
3562
|
readonly note: string;
|
|
3529
3563
|
};
|
|
3530
3564
|
readonly weight: {
|
|
@@ -3581,6 +3615,20 @@ declare const PROVIDERS: readonly [NetsuiteFieldProvider<{
|
|
|
3581
3615
|
readonly conditional: true;
|
|
3582
3616
|
readonly note: string;
|
|
3583
3617
|
};
|
|
3618
|
+
readonly mpn: {
|
|
3619
|
+
readonly before: "mpn";
|
|
3620
|
+
readonly target: "mpn";
|
|
3621
|
+
readonly policy: "always";
|
|
3622
|
+
readonly conditional: true;
|
|
3623
|
+
readonly note: string;
|
|
3624
|
+
};
|
|
3625
|
+
readonly vendorName: {
|
|
3626
|
+
readonly before: "vendorname";
|
|
3627
|
+
readonly target: "vendorName";
|
|
3628
|
+
readonly policy: "always";
|
|
3629
|
+
readonly conditional: true;
|
|
3630
|
+
readonly note: string;
|
|
3631
|
+
};
|
|
3584
3632
|
readonly itemType: {
|
|
3585
3633
|
readonly before: "itemtype";
|
|
3586
3634
|
readonly target: "itemType";
|
|
@@ -3641,9 +3689,9 @@ declare const PROVIDERS: readonly [NetsuiteFieldProvider<{
|
|
|
3641
3689
|
readonly before: "urlcomponent";
|
|
3642
3690
|
readonly after: "custitem_slug";
|
|
3643
3691
|
readonly target: "slug";
|
|
3644
|
-
readonly policy: "
|
|
3692
|
+
readonly policy: "always";
|
|
3645
3693
|
readonly identity: true;
|
|
3646
|
-
readonly note:
|
|
3694
|
+
readonly note: string;
|
|
3647
3695
|
readonly caution: "The sync matches on netsuiteId first and falls back to slug. Changing it on a product NetSuite has never supplied makes the next run miss it and insert a second one.";
|
|
3648
3696
|
};
|
|
3649
3697
|
readonly name: {
|
|
@@ -3690,14 +3738,15 @@ declare const PROVIDERS: readonly [NetsuiteFieldProvider<{
|
|
|
3690
3738
|
readonly target: "saleType";
|
|
3691
3739
|
readonly policy: "always";
|
|
3692
3740
|
readonly conditional: true;
|
|
3693
|
-
readonly
|
|
3741
|
+
readonly derivedFrom: readonly ["quoteOnly", "price.price"];
|
|
3742
|
+
readonly note: string;
|
|
3694
3743
|
};
|
|
3695
3744
|
readonly quoteOnly: {
|
|
3696
3745
|
readonly before: "dontshowprice";
|
|
3697
3746
|
readonly after: "custitem_quote_only";
|
|
3698
|
-
readonly target: "
|
|
3699
|
-
readonly policy: "
|
|
3700
|
-
readonly note:
|
|
3747
|
+
readonly target: "quoteOnly";
|
|
3748
|
+
readonly policy: "always";
|
|
3749
|
+
readonly note: string;
|
|
3701
3750
|
};
|
|
3702
3751
|
readonly image: {
|
|
3703
3752
|
readonly before: "storedisplayimage";
|
|
@@ -3753,10 +3802,9 @@ declare const PROVIDERS: readonly [NetsuiteFieldProvider<{
|
|
|
3753
3802
|
};
|
|
3754
3803
|
readonly family: {
|
|
3755
3804
|
readonly after: "custitem_family";
|
|
3756
|
-
readonly target: "
|
|
3757
|
-
readonly policy: "
|
|
3758
|
-
readonly
|
|
3759
|
-
readonly note: "Populated on 17,552 items. No storefront field consumes it yet.";
|
|
3805
|
+
readonly target: "family";
|
|
3806
|
+
readonly policy: "always";
|
|
3807
|
+
readonly note: "Populated on 17,552 items. The product family name, e.g. PLUTO or K-DUCER.";
|
|
3760
3808
|
};
|
|
3761
3809
|
readonly primaryCategory: {
|
|
3762
3810
|
readonly before: "commercecategoryitemassociation.primarycategory";
|
|
@@ -3782,17 +3830,9 @@ declare const PROVIDERS: readonly [NetsuiteFieldProvider<{
|
|
|
3782
3830
|
};
|
|
3783
3831
|
readonly features: {
|
|
3784
3832
|
readonly after: "custitem_features";
|
|
3785
|
-
readonly target: "
|
|
3786
|
-
readonly policy: "
|
|
3787
|
-
readonly
|
|
3788
|
-
readonly note: "Field exists in NetSuite and carries no data yet.";
|
|
3789
|
-
};
|
|
3790
|
-
readonly childStoreOnly: {
|
|
3791
|
-
readonly after: "custitem_child_store_only";
|
|
3792
|
-
readonly target: "childOnly";
|
|
3793
|
-
readonly policy: "seed";
|
|
3794
|
-
readonly pending: true;
|
|
3795
|
-
readonly note: "Nothing is flagged yet. Our stores[] array already covers this.";
|
|
3833
|
+
readonly target: "featureBullets";
|
|
3834
|
+
readonly policy: "always";
|
|
3835
|
+
readonly note: string;
|
|
3796
3836
|
};
|
|
3797
3837
|
}>, NetsuiteFieldProvider<{
|
|
3798
3838
|
readonly netsuiteItemId: {
|
|
@@ -4070,7 +4110,7 @@ declare const PROVIDERS: readonly [NetsuiteFieldProvider<{
|
|
|
4070
4110
|
readonly slug: {
|
|
4071
4111
|
readonly before: "urlfragment";
|
|
4072
4112
|
readonly target: "slug";
|
|
4073
|
-
readonly policy: "
|
|
4113
|
+
readonly policy: "always";
|
|
4074
4114
|
readonly identity: true;
|
|
4075
4115
|
readonly note: string;
|
|
4076
4116
|
readonly caution: string;
|
|
@@ -4783,6 +4823,7 @@ declare const BY_ENTITY: {
|
|
|
4783
4823
|
readonly target: "price.discount";
|
|
4784
4824
|
readonly policy: "always";
|
|
4785
4825
|
readonly conditional: true;
|
|
4826
|
+
readonly derivedFrom: readonly ["price.price", "price.originalPrice"];
|
|
4786
4827
|
readonly note: string;
|
|
4787
4828
|
};
|
|
4788
4829
|
readonly weight: {
|
|
@@ -4839,6 +4880,20 @@ declare const BY_ENTITY: {
|
|
|
4839
4880
|
readonly conditional: true;
|
|
4840
4881
|
readonly note: string;
|
|
4841
4882
|
};
|
|
4883
|
+
readonly mpn: {
|
|
4884
|
+
readonly before: "mpn";
|
|
4885
|
+
readonly target: "mpn";
|
|
4886
|
+
readonly policy: "always";
|
|
4887
|
+
readonly conditional: true;
|
|
4888
|
+
readonly note: string;
|
|
4889
|
+
};
|
|
4890
|
+
readonly vendorName: {
|
|
4891
|
+
readonly before: "vendorname";
|
|
4892
|
+
readonly target: "vendorName";
|
|
4893
|
+
readonly policy: "always";
|
|
4894
|
+
readonly conditional: true;
|
|
4895
|
+
readonly note: string;
|
|
4896
|
+
};
|
|
4842
4897
|
readonly itemType: {
|
|
4843
4898
|
readonly before: "itemtype";
|
|
4844
4899
|
readonly target: "itemType";
|
|
@@ -4899,9 +4954,9 @@ declare const BY_ENTITY: {
|
|
|
4899
4954
|
readonly before: "urlcomponent";
|
|
4900
4955
|
readonly after: "custitem_slug";
|
|
4901
4956
|
readonly target: "slug";
|
|
4902
|
-
readonly policy: "
|
|
4957
|
+
readonly policy: "always";
|
|
4903
4958
|
readonly identity: true;
|
|
4904
|
-
readonly note:
|
|
4959
|
+
readonly note: string;
|
|
4905
4960
|
readonly caution: "The sync matches on netsuiteId first and falls back to slug. Changing it on a product NetSuite has never supplied makes the next run miss it and insert a second one.";
|
|
4906
4961
|
};
|
|
4907
4962
|
readonly name: {
|
|
@@ -4948,14 +5003,15 @@ declare const BY_ENTITY: {
|
|
|
4948
5003
|
readonly target: "saleType";
|
|
4949
5004
|
readonly policy: "always";
|
|
4950
5005
|
readonly conditional: true;
|
|
4951
|
-
readonly
|
|
5006
|
+
readonly derivedFrom: readonly ["quoteOnly", "price.price"];
|
|
5007
|
+
readonly note: string;
|
|
4952
5008
|
};
|
|
4953
5009
|
readonly quoteOnly: {
|
|
4954
5010
|
readonly before: "dontshowprice";
|
|
4955
5011
|
readonly after: "custitem_quote_only";
|
|
4956
|
-
readonly target: "
|
|
4957
|
-
readonly policy: "
|
|
4958
|
-
readonly note:
|
|
5012
|
+
readonly target: "quoteOnly";
|
|
5013
|
+
readonly policy: "always";
|
|
5014
|
+
readonly note: string;
|
|
4959
5015
|
};
|
|
4960
5016
|
readonly image: {
|
|
4961
5017
|
readonly before: "storedisplayimage";
|
|
@@ -5011,10 +5067,9 @@ declare const BY_ENTITY: {
|
|
|
5011
5067
|
};
|
|
5012
5068
|
readonly family: {
|
|
5013
5069
|
readonly after: "custitem_family";
|
|
5014
|
-
readonly target: "
|
|
5015
|
-
readonly policy: "
|
|
5016
|
-
readonly
|
|
5017
|
-
readonly note: "Populated on 17,552 items. No storefront field consumes it yet.";
|
|
5070
|
+
readonly target: "family";
|
|
5071
|
+
readonly policy: "always";
|
|
5072
|
+
readonly note: "Populated on 17,552 items. The product family name, e.g. PLUTO or K-DUCER.";
|
|
5018
5073
|
};
|
|
5019
5074
|
readonly primaryCategory: {
|
|
5020
5075
|
readonly before: "commercecategoryitemassociation.primarycategory";
|
|
@@ -5040,17 +5095,9 @@ declare const BY_ENTITY: {
|
|
|
5040
5095
|
};
|
|
5041
5096
|
readonly features: {
|
|
5042
5097
|
readonly after: "custitem_features";
|
|
5043
|
-
readonly target: "
|
|
5044
|
-
readonly policy: "
|
|
5045
|
-
readonly
|
|
5046
|
-
readonly note: "Field exists in NetSuite and carries no data yet.";
|
|
5047
|
-
};
|
|
5048
|
-
readonly childStoreOnly: {
|
|
5049
|
-
readonly after: "custitem_child_store_only";
|
|
5050
|
-
readonly target: "childOnly";
|
|
5051
|
-
readonly policy: "seed";
|
|
5052
|
-
readonly pending: true;
|
|
5053
|
-
readonly note: "Nothing is flagged yet. Our stores[] array already covers this.";
|
|
5098
|
+
readonly target: "featureBullets";
|
|
5099
|
+
readonly policy: "always";
|
|
5100
|
+
readonly note: string;
|
|
5054
5101
|
};
|
|
5055
5102
|
}>;
|
|
5056
5103
|
readonly addon: NetsuiteFieldProvider<{
|
|
@@ -5332,7 +5379,7 @@ declare const BY_ENTITY: {
|
|
|
5332
5379
|
readonly slug: {
|
|
5333
5380
|
readonly before: "urlfragment";
|
|
5334
5381
|
readonly target: "slug";
|
|
5335
|
-
readonly policy: "
|
|
5382
|
+
readonly policy: "always";
|
|
5336
5383
|
readonly identity: true;
|
|
5337
5384
|
readonly note: string;
|
|
5338
5385
|
readonly caution: string;
|
|
@@ -5984,6 +6031,7 @@ interface FieldSource {
|
|
|
5984
6031
|
}
|
|
5985
6032
|
declare const netsuiteFieldSource: (entity: NetsuiteOwnedEntity, field: string) => FieldSource | undefined;
|
|
5986
6033
|
declare const netsuiteFieldNote: (entity: NetsuiteOwnedEntity, field: string) => string | undefined;
|
|
6034
|
+
declare const netsuiteFieldDerivedFrom: (entity: NetsuiteOwnedEntity, field: string) => readonly string[];
|
|
5987
6035
|
declare const netsuiteFieldCaution: (entity: NetsuiteOwnedEntity, field: string) => string | undefined;
|
|
5988
6036
|
interface NetsuiteRelationSource {
|
|
5989
6037
|
field: string;
|
|
@@ -6325,4 +6373,4 @@ interface IWishlist extends BaseEntity {
|
|
|
6325
6373
|
items: IWishlistItem[];
|
|
6326
6374
|
}
|
|
6327
6375
|
|
|
6328
|
-
export { ACTIVE_SUBSCRIPTION_CHANNELS, ADMIN_ACTIONS, ADMIN_AUDIT_ACTIONS, ADMIN_RESOURCES, ADMIN_RESOURCE_LIST, ALL_STORES, AWAITING_PAYMENT_STATUSES, type AddonAmountInput, type AddonGroupNetsuiteLink, type AddonNetsuiteLink, type AddonSelectionRef, type AddonSnapshot, type ApiResponse, type AppliedTax, BRAND_FIELDS, type BaseEntity, CAMPAIGN_RECIPIENT_STATUS_VALUES, CAMPAIGN_STATUS_VALUES, CART_STATUS_VALUES, CATEGORY_FIELDS, CONFIGURATOR_CONDITION_TYPE_VALUES, CONFIGURATOR_EFFECT_TYPE_VALUES, CONFIGURATOR_SELECT_MODE_VALUES, CONFIGURATOR_SOURCE_VALUES, type CacheStatus, type CacheStoreTarget, CampaignRecipientStatusEnum, CampaignStatusEnum, type CartIssue, type CartIssueType, CartIssueTypes, CartStatusEnum, type CartValidation, type CategoryImportSummary, type CheckoutAddressInput, type CheckoutPayload, type CheckoutResult, ConfiguratorConditionTypeEnum, ConfiguratorEffectTypeEnum, ConfiguratorErrorCodeEnum, type ConfiguratorEvalContext, type ConfiguratorEvalError, type ConfiguratorEvalResult, ConfiguratorSelectModeEnum, type ConfiguratorSelections, ConfiguratorSourceEnum, type CouponNetsuiteLink, DEFAULT_SUBSCRIPTION_TOPICS, DISCOUNT_TYPE_VALUES, DiscountTypeEnum, EMAIL_PARAM_MISMATCH_KIND_VALUES, EMAIL_TEMPLATE_EVENT_VALUES, EMAIL_TEMPLATE_VARIABLES_BY_EVENT, EMPTY_ACCESS, type EffectiveAccess, type EmailParamMismatch, EmailParamMismatchKindEnum, EmailTemplateEventEnum, FEE_APPLIES_TO_VALUES, FeeAppliesToEnum, type FieldMap, type FieldMapping, type FieldSource, type IAddonConfig, type IAddonGroup, type IAddress, type IAdmin, type IAdminAction, type IAdminAuditAction, type IAdminAuditLog, type IAdminBaseAction, type IAdminPermission, type IAdminResource, type IAdminRole, type IAdminRoleCreate, type IAdminSafe, type IAdminStoreAccess, type IAppliedFee, type IBannerSlide, type IBlogAuthor, type IBlogCategory, type IBlogPost, type IBrand, type ICampaign, type ICampaignRecipient, type ICampaignStats, type ICart, type ICartItem, type ICartServicePlanSnapshot, type ICategory, type ICategorySubcategory, type IConfigurator, type IConfiguratorCondition, type IConfiguratorEffect, type IConfiguratorFacet, type IConfiguratorFacetValue, type IConfiguratorOption, type IConfiguratorPriceAdjustment, type IConfiguratorQuery, type IConfiguratorRule, type IConfiguratorSection, type IConfiguratorStep, type IConfiguratorTarget, type IContact, type ICountry, type ICoupon, type ICurrency, type ICustomer, type IDiscountType, type IEmailTemplate, type IFaq, type IFaqCategory, type IKeyValue, type ILinePricing, type IMediaAsset, INVENTORY_POLICY_VALUES, type INetsuiteEvent, type INetsuiteOrderLink, type INetsuiteQueueEntry, type INotification, type IOrder, type IOrderItem, type IOrderLog, type IOrderShipment, type IOrderTransaction, type IPaymentLink, type IPodcastEpisode, type IPrice, type IProduct, type IProductDailyStat, type IProductRelationGroup, type IProductTechnicalSpec, type IProductTechnicalSpecTable, type IProductVariantFields, type IProductVariantOptionGroup, type IProductVariantOptionMatrix, type IProductVariantOptionValue, type IRedirect, type IRedirectSuggestion, type IRefundTransaction, type IRelationGroup, type ISEOMetaData, type ISelectableFee, type IServicePlan, type IShipFromAddress, type IShipping, type IShippingRate, type IState, type IStock, type IStore, type IStoreFee, type IStoreSettings, type ISubscriber, type ISubscriberConsent, type ISubscription, type ISummaryPricing, type ITaxRate, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IUnmatched404, type IVariant, type IVariantOptionSelection, type IWishlist, type IWishlistItem, type Id, type InventoryPolicy, InventoryPolicyEnum, type LineChargeInput, type MatchResult, type Metadata, NETSUITE_EVENT_STATE_VALUES, NETSUITE_OWNED_FIELDS, NETSUITE_RECORD_TYPE_VALUES, NETSUITE_RELATION_GROUPS, NOTIFICATION_TYPE_VALUES, NetsuiteEventStateEnum, NetsuiteFieldProvider, type NetsuiteLinkResult, type NetsuiteOrderPreview, type NetsuiteOwnedEntity, type NetsuitePreviewLine, type NetsuitePushAttempt, type NetsuitePushOutcome, type NetsuiteReceipt, NetsuiteRecordTypeEnum, type NetsuiteRelationSource, type NetsuiteStatusChange, type NetsuiteStatusSyncResult, type NetsuiteSyncDefinition, NotificationTypeEnum, OPEN_ORDER_STATUSES, ORDER_LOG_TYPE_VALUES, ORDER_STATUS_VALUES, type OfferedAddon, type OfferedAddonGroup, type OfferedServicePlan, OrderLogTypeEnum, OrderStatusEnum, PAYMENT_GATEWAY_VALUES, PAYMENT_LINK_STATUS_VALUES, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, PLACED_OPEN_ORDER_STATUSES, PRICING_TYPE_VALUES, PRODUCT_FIELDS, PRODUCT_VARIANT_TYPE_VALUES, PROVIDERS, PURCHASE_ORDER_STATUSES, PUSH_CHECK_STATUS_VALUES, PaymentGatewayEnum, PaymentLinkStatusEnum, type PaymentLinkView, PaymentMethodEnum, PaymentStatusEnum, type PricedLineLike, type PricingType, PricingTypeEnum, type ProductAddonScope, ProductEventTypeEnum, type ProductServicePlanScope, type ProductVariantType, ProductVariantTypeEnum, type PromotionSyncResult, type PushCheck, PushCheckStatusEnum, type PushField, QUOTE_ORDER_STATUSES, RELATION_FIELDS, RESOURCE_OPERATIONS, RETIRED_CART_STATUSES, type RateAddress, type RatedShippingMethod, type RedirectTargetType, type ResolveAccessInput, type ResolvedAddonSelection, type RevalidationResult, SALE_TYPE_VALUES, SERVICE_PLAN_ELIGIBILITY_FIELD, STATUS_TONE_VALUES, SUBSCRIPTION_CHANNEL_VALUES, SUBSCRIPTION_TOPIC_LABELS, SUBSCRIPTION_TOPIC_VALUES, type SaleType, SaleTypeEnum, type SaleTypedLike, type SelectedShippingMethod, type ServicePlanNetsuiteLink, StatusToneEnum, type StockDemandLine, type StockStatus, StockStatusEnum, type StockVerdict, StockVerdictEnum, type StoreAccessCheckInput, type StoreScopeInput, SubscriptionChannelEnum, SubscriptionTopicEnum, type SyncPolicy, type SyncRisk, TAX_RATE_SOURCE_VALUES, TRANSACTION_TYPE_VALUES, TaxRateSourceEnum, type TaxSyncResult, TransactionTypeEnum, UNPLACED_ORDER_STATUSES, type VariantOptionMode, WIRED_EMAIL_TEMPLATE_EVENTS, actionsForResource, addonFields, addonUnitAmount, addonsOfLine, addonsUnitAmount, adjustmentsFor, applyPriceAdjustments, baseUnitPriceOfLine, blogAuthorFields, blogCategoryFields, blogPostFields, brandFields, can, canAny, canonicalizePath, canonicalizeSlug, categoryFields, chargesOfLine, conditionHolds, couponFields, demandByKey, evaluateConfigurator, feeHint, formatMoney, grantedPermissions, groupHasDefaultAddon, hasStoreAccess, isConfigurationValid, isNetsuiteOwned, isNonEmptyString, isQuoteOnlyItem, isValidAction, isValidEmail, missingGrants, netsuiteFieldCaution, netsuiteFieldConditional, netsuiteFieldNote, netsuiteFieldRisk, netsuiteFieldSource, netsuiteRelationSource, netsuiteStatusLabel, normalizeLineQuantity, normalizeNumber, normalizePath, orderLogTypeColorMap, paymentLinkStatusColorMap, paymentMethodColorMap, paymentStatusColorMap, podcastFields, productFields, readMapped, resolveAddonSelections, resolveEffectivePermissions, resolveProductAddonGroups, resolveProductServicePlans, resolveStoreScope, roundMoney, saleTypeOf, servicePlanFields, statusColors, statusTone, statusTones, stockVerdict, syncOwnerFor, toIdString, typeColorMap };
|
|
6376
|
+
export { ACTIVE_SUBSCRIPTION_CHANNELS, ADMIN_ACTIONS, ADMIN_AUDIT_ACTIONS, ADMIN_RESOURCES, ADMIN_RESOURCE_LIST, ALL_STORES, AWAITING_PAYMENT_STATUSES, type AddonAmountInput, type AddonGroupNetsuiteLink, type AddonNetsuiteLink, type AddonSelectionRef, type AddonSnapshot, type ApiResponse, type AppliedTax, BRAND_FIELDS, type BaseEntity, CAMPAIGN_RECIPIENT_STATUS_VALUES, CAMPAIGN_STATUS_VALUES, CART_STATUS_VALUES, CATEGORY_FIELDS, CONFIGURATOR_CONDITION_TYPE_VALUES, CONFIGURATOR_EFFECT_TYPE_VALUES, CONFIGURATOR_SELECT_MODE_VALUES, CONFIGURATOR_SOURCE_VALUES, type CacheStatus, type CacheStoreTarget, CampaignRecipientStatusEnum, CampaignStatusEnum, type CartIssue, type CartIssueType, CartIssueTypes, CartStatusEnum, type CartValidation, type CategoryImportSummary, type CheckoutAddressInput, type CheckoutPayload, type CheckoutResult, ConfiguratorConditionTypeEnum, ConfiguratorEffectTypeEnum, ConfiguratorErrorCodeEnum, type ConfiguratorEvalContext, type ConfiguratorEvalError, type ConfiguratorEvalResult, ConfiguratorSelectModeEnum, type ConfiguratorSelections, ConfiguratorSourceEnum, type CouponNetsuiteLink, DEFAULT_SUBSCRIPTION_TOPICS, DISCOUNT_TYPE_VALUES, DiscountTypeEnum, EMAIL_PARAM_MISMATCH_KIND_VALUES, EMAIL_TEMPLATE_EVENT_VALUES, EMAIL_TEMPLATE_VARIABLES_BY_EVENT, EMPTY_ACCESS, type EffectiveAccess, type EmailParamMismatch, EmailParamMismatchKindEnum, EmailTemplateEventEnum, FEE_APPLIES_TO_VALUES, FeeAppliesToEnum, type FieldMap, type FieldMapping, type FieldSource, type IAddonConfig, type IAddonGroup, type IAddress, type IAdmin, type IAdminAction, type IAdminAuditAction, type IAdminAuditLog, type IAdminBaseAction, type IAdminPermission, type IAdminResource, type IAdminRole, type IAdminRoleCreate, type IAdminSafe, type IAdminStoreAccess, type IAppliedFee, type IBannerSlide, type IBlogAuthor, type IBlogCategory, type IBlogPost, type IBrand, type ICampaign, type ICampaignRecipient, type ICampaignStats, type ICart, type ICartItem, type ICartServicePlanSnapshot, type ICategory, type ICategorySequence, type ICategorySubcategory, type IConfigurator, type IConfiguratorCondition, type IConfiguratorEffect, type IConfiguratorFacet, type IConfiguratorFacetValue, type IConfiguratorOption, type IConfiguratorPriceAdjustment, type IConfiguratorQuery, type IConfiguratorRule, type IConfiguratorSection, type IConfiguratorStep, type IConfiguratorTarget, type IContact, type ICountry, type ICoupon, type ICurrency, type ICustomer, type IDiscountType, type IEmailTemplate, type IFaq, type IFaqCategory, type IKeyValue, type ILinePricing, type IMediaAsset, INVENTORY_POLICY_VALUES, type INetsuiteEvent, type INetsuiteOrderLink, type INetsuiteQueueEntry, type INotification, type IOrder, type IOrderItem, type IOrderLog, type IOrderShipment, type IOrderTransaction, type IPaymentLink, type IPodcastEpisode, type IPrice, type IProduct, type IProductDailyStat, type IProductRelationGroup, type IProductTechnicalSpec, type IProductTechnicalSpecTable, type IProductVariantFields, type IProductVariantOptionGroup, type IProductVariantOptionMatrix, type IProductVariantOptionValue, type IRedirect, type IRedirectSuggestion, type IRefundTransaction, type IRelationGroup, type ISEOMetaData, type ISelectableFee, type IServicePlan, type IShipFromAddress, type IShipping, type IShippingRate, type IState, type IStock, type IStore, type IStoreFee, type IStoreSettings, type ISubscriber, type ISubscriberConsent, type ISubscription, type ISummaryPricing, type ITaxRate, type ITechnicalSpecColumn, type ITechnicalSpecGroup, type ITransactionBase, type IUnmatched404, type IVariant, type IVariantOptionSelection, type IWishlist, type IWishlistItem, type Id, type InventoryPolicy, InventoryPolicyEnum, type LineChargeInput, type MatchResult, type Metadata, NETSUITE_EVENT_STATE_VALUES, NETSUITE_OWNED_FIELDS, NETSUITE_RECORD_TYPE_VALUES, NETSUITE_RELATION_GROUPS, NOTIFICATION_TYPE_VALUES, NetsuiteEventStateEnum, NetsuiteFieldProvider, type NetsuiteLinkResult, type NetsuiteOrderPreview, type NetsuiteOwnedEntity, type NetsuitePreviewLine, type NetsuitePushAttempt, type NetsuitePushOutcome, type NetsuiteReceipt, NetsuiteRecordTypeEnum, type NetsuiteRelationSource, type NetsuiteStatusChange, type NetsuiteStatusSyncResult, type NetsuiteSyncDefinition, NotificationTypeEnum, OPEN_ORDER_STATUSES, ORDER_LOG_TYPE_VALUES, ORDER_STATUS_VALUES, type OfferedAddon, type OfferedAddonGroup, type OfferedServicePlan, OrderLogTypeEnum, OrderStatusEnum, PAYMENT_GATEWAY_VALUES, PAYMENT_LINK_STATUS_VALUES, PAYMENT_METHOD_VALUES, PAYMENT_STATUS_VALUES, PLACED_OPEN_ORDER_STATUSES, PRICING_TYPE_VALUES, PRODUCT_FIELDS, PRODUCT_VARIANT_TYPE_VALUES, PROVIDERS, PURCHASE_ORDER_STATUSES, PUSH_CHECK_STATUS_VALUES, PaymentGatewayEnum, PaymentLinkStatusEnum, type PaymentLinkView, PaymentMethodEnum, PaymentStatusEnum, type PricedLineLike, type PricingType, PricingTypeEnum, type ProductAddonScope, ProductEventTypeEnum, type ProductServicePlanScope, type ProductVariantType, ProductVariantTypeEnum, type PromotionSyncResult, type PushCheck, PushCheckStatusEnum, type PushField, QUOTE_ORDER_STATUSES, RELATION_FIELDS, RESOURCE_OPERATIONS, RETIRED_CART_STATUSES, type RateAddress, type RatedShippingMethod, type RedirectTargetType, type ResolveAccessInput, type ResolvedAddonSelection, type RevalidationResult, SALE_TYPE_VALUES, SERVICE_PLAN_ELIGIBILITY_FIELD, STATUS_TONE_VALUES, SUBSCRIPTION_CHANNEL_VALUES, SUBSCRIPTION_TOPIC_LABELS, SUBSCRIPTION_TOPIC_VALUES, type SaleType, SaleTypeEnum, type SaleTypedLike, type SelectedShippingMethod, type ServicePlanNetsuiteLink, StatusToneEnum, type StockDemandLine, type StockStatus, StockStatusEnum, type StockVerdict, StockVerdictEnum, type StoreAccessCheckInput, type StoreScopeInput, SubscriptionChannelEnum, SubscriptionTopicEnum, type SyncPolicy, type SyncRisk, TAX_RATE_SOURCE_VALUES, TRANSACTION_TYPE_VALUES, TaxRateSourceEnum, type TaxSyncResult, TransactionTypeEnum, UNPLACED_ORDER_STATUSES, type VariantOptionMode, WIRED_EMAIL_TEMPLATE_EVENTS, actionsForResource, addonFields, addonUnitAmount, addonsOfLine, addonsUnitAmount, adjustmentsFor, applyPriceAdjustments, baseUnitPriceOfLine, blogAuthorFields, blogCategoryFields, blogPostFields, brandFields, can, canAny, canonicalizePath, canonicalizeSlug, categoryFields, chargesOfLine, conditionHolds, couponFields, demandByKey, evaluateConfigurator, feeHint, formatMoney, grantedPermissions, groupHasDefaultAddon, hasStoreAccess, isConfigurationValid, isNetsuiteOwned, isNonEmptyString, isQuoteOnlyItem, isValidAction, isValidEmail, missingGrants, netsuiteFieldCaution, netsuiteFieldConditional, netsuiteFieldDerivedFrom, netsuiteFieldNote, netsuiteFieldRisk, netsuiteFieldSource, netsuiteRelationSource, netsuiteStatusLabel, normalizeLineQuantity, normalizeNumber, normalizePath, orderLogTypeColorMap, paymentLinkStatusColorMap, paymentMethodColorMap, paymentStatusColorMap, podcastFields, productFields, readMapped, resolveAddonSelections, resolveEffectivePermissions, resolveProductAddonGroups, resolveProductServicePlans, resolveStoreScope, roundMoney, saleTypeOf, servicePlanFields, statusColors, statusTone, statusTones, stockVerdict, syncOwnerFor, toIdString, typeColorMap };
|