@fas-core/shared-types 1.0.117 → 1.0.118
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 +25 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -329,6 +329,7 @@ interface IProductVariantFields {
|
|
|
329
329
|
enforceMinimum?: boolean;
|
|
330
330
|
isSparePart?: boolean;
|
|
331
331
|
stockDescription?: string;
|
|
332
|
+
leadTime?: string;
|
|
332
333
|
noPriceMessage?: string;
|
|
333
334
|
itemType?: string;
|
|
334
335
|
upc?: string;
|
|
@@ -2045,6 +2046,12 @@ declare const PRODUCT_FIELDS: {
|
|
|
2045
2046
|
readonly conditional: true;
|
|
2046
2047
|
readonly note: string;
|
|
2047
2048
|
};
|
|
2049
|
+
readonly leadTime: {
|
|
2050
|
+
readonly before: "custitem_leadtime";
|
|
2051
|
+
readonly target: "leadTime";
|
|
2052
|
+
readonly policy: "always";
|
|
2053
|
+
readonly note: string;
|
|
2054
|
+
};
|
|
2048
2055
|
readonly noPriceMessage: {
|
|
2049
2056
|
readonly before: "nopricemessage";
|
|
2050
2057
|
readonly target: "noPriceMessage";
|
|
@@ -2435,6 +2442,12 @@ declare const productFields: NetsuiteFieldProvider<{
|
|
|
2435
2442
|
readonly conditional: true;
|
|
2436
2443
|
readonly note: string;
|
|
2437
2444
|
};
|
|
2445
|
+
readonly leadTime: {
|
|
2446
|
+
readonly before: "custitem_leadtime";
|
|
2447
|
+
readonly target: "leadTime";
|
|
2448
|
+
readonly policy: "always";
|
|
2449
|
+
readonly note: string;
|
|
2450
|
+
};
|
|
2438
2451
|
readonly noPriceMessage: {
|
|
2439
2452
|
readonly before: "nopricemessage";
|
|
2440
2453
|
readonly target: "noPriceMessage";
|
|
@@ -3657,6 +3670,12 @@ declare const PROVIDERS: readonly [NetsuiteFieldProvider<{
|
|
|
3657
3670
|
readonly conditional: true;
|
|
3658
3671
|
readonly note: string;
|
|
3659
3672
|
};
|
|
3673
|
+
readonly leadTime: {
|
|
3674
|
+
readonly before: "custitem_leadtime";
|
|
3675
|
+
readonly target: "leadTime";
|
|
3676
|
+
readonly policy: "always";
|
|
3677
|
+
readonly note: string;
|
|
3678
|
+
};
|
|
3660
3679
|
readonly noPriceMessage: {
|
|
3661
3680
|
readonly before: "nopricemessage";
|
|
3662
3681
|
readonly target: "noPriceMessage";
|
|
@@ -4923,6 +4942,12 @@ declare const BY_ENTITY: {
|
|
|
4923
4942
|
readonly conditional: true;
|
|
4924
4943
|
readonly note: string;
|
|
4925
4944
|
};
|
|
4945
|
+
readonly leadTime: {
|
|
4946
|
+
readonly before: "custitem_leadtime";
|
|
4947
|
+
readonly target: "leadTime";
|
|
4948
|
+
readonly policy: "always";
|
|
4949
|
+
readonly note: string;
|
|
4950
|
+
};
|
|
4926
4951
|
readonly noPriceMessage: {
|
|
4927
4952
|
readonly before: "nopricemessage";
|
|
4928
4953
|
readonly target: "noPriceMessage";
|
package/dist/index.d.ts
CHANGED
|
@@ -329,6 +329,7 @@ interface IProductVariantFields {
|
|
|
329
329
|
enforceMinimum?: boolean;
|
|
330
330
|
isSparePart?: boolean;
|
|
331
331
|
stockDescription?: string;
|
|
332
|
+
leadTime?: string;
|
|
332
333
|
noPriceMessage?: string;
|
|
333
334
|
itemType?: string;
|
|
334
335
|
upc?: string;
|
|
@@ -2045,6 +2046,12 @@ declare const PRODUCT_FIELDS: {
|
|
|
2045
2046
|
readonly conditional: true;
|
|
2046
2047
|
readonly note: string;
|
|
2047
2048
|
};
|
|
2049
|
+
readonly leadTime: {
|
|
2050
|
+
readonly before: "custitem_leadtime";
|
|
2051
|
+
readonly target: "leadTime";
|
|
2052
|
+
readonly policy: "always";
|
|
2053
|
+
readonly note: string;
|
|
2054
|
+
};
|
|
2048
2055
|
readonly noPriceMessage: {
|
|
2049
2056
|
readonly before: "nopricemessage";
|
|
2050
2057
|
readonly target: "noPriceMessage";
|
|
@@ -2435,6 +2442,12 @@ declare const productFields: NetsuiteFieldProvider<{
|
|
|
2435
2442
|
readonly conditional: true;
|
|
2436
2443
|
readonly note: string;
|
|
2437
2444
|
};
|
|
2445
|
+
readonly leadTime: {
|
|
2446
|
+
readonly before: "custitem_leadtime";
|
|
2447
|
+
readonly target: "leadTime";
|
|
2448
|
+
readonly policy: "always";
|
|
2449
|
+
readonly note: string;
|
|
2450
|
+
};
|
|
2438
2451
|
readonly noPriceMessage: {
|
|
2439
2452
|
readonly before: "nopricemessage";
|
|
2440
2453
|
readonly target: "noPriceMessage";
|
|
@@ -3657,6 +3670,12 @@ declare const PROVIDERS: readonly [NetsuiteFieldProvider<{
|
|
|
3657
3670
|
readonly conditional: true;
|
|
3658
3671
|
readonly note: string;
|
|
3659
3672
|
};
|
|
3673
|
+
readonly leadTime: {
|
|
3674
|
+
readonly before: "custitem_leadtime";
|
|
3675
|
+
readonly target: "leadTime";
|
|
3676
|
+
readonly policy: "always";
|
|
3677
|
+
readonly note: string;
|
|
3678
|
+
};
|
|
3660
3679
|
readonly noPriceMessage: {
|
|
3661
3680
|
readonly before: "nopricemessage";
|
|
3662
3681
|
readonly target: "noPriceMessage";
|
|
@@ -4923,6 +4942,12 @@ declare const BY_ENTITY: {
|
|
|
4923
4942
|
readonly conditional: true;
|
|
4924
4943
|
readonly note: string;
|
|
4925
4944
|
};
|
|
4945
|
+
readonly leadTime: {
|
|
4946
|
+
readonly before: "custitem_leadtime";
|
|
4947
|
+
readonly target: "leadTime";
|
|
4948
|
+
readonly policy: "always";
|
|
4949
|
+
readonly note: string;
|
|
4950
|
+
};
|
|
4926
4951
|
readonly noPriceMessage: {
|
|
4927
4952
|
readonly before: "nopricemessage";
|
|
4928
4953
|
readonly target: "noPriceMessage";
|
package/dist/index.js
CHANGED
|
@@ -945,6 +945,12 @@ var PRODUCT_FIELDS = {
|
|
|
945
945
|
conditional: true,
|
|
946
946
|
note: 'A native free-text item field NetSuite uses here as an enum. The legacy storefront shows its non-returnable notice when isSparePart OR stockDescription === "3" \u2014 read straight from the SCA extension source, not inferred. Online+active distribution: "3" on 116,134, "2" on 9,177, "1" on 5,503, empty on 57,888. Only "3" is referenced by the storefront. ' + NATIVE2
|
|
947
947
|
},
|
|
948
|
+
leadTime: {
|
|
949
|
+
before: "custitem_leadtime",
|
|
950
|
+
target: "leadTime",
|
|
951
|
+
policy: "always",
|
|
952
|
+
note: 'A free-text custom item field \u2014 "7 days", "2 months" \u2014 holding how long it takes us to acquire and ship an item we do not have on the shelf. Created 2026-09-08 by the NetSuite side; a scheduled script there audits it daily and CLEARS it once it is more than 7 days old, so an empty value means no current estimate rather than no lead time. The storefront prints it verbatim and only where it would otherwise say nothing \u2014 under Add to cart on a backordered item. Never parse it into days or a delivery date: we hold no promise date. Not to be confused with the Quotation-form body field the order push stamps "Web order", which is unrelated.'
|
|
953
|
+
},
|
|
948
954
|
noPriceMessage: {
|
|
949
955
|
before: "nopricemessage",
|
|
950
956
|
target: "noPriceMessage",
|