@fas-core/shared-types 1.0.115 → 1.0.116
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 +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2270,11 +2270,12 @@ declare class NetsuiteFieldProvider<M extends FieldMap> {
|
|
|
2270
2270
|
|
|
2271
2271
|
declare const RELATION_FIELDS: {
|
|
2272
2272
|
readonly accessories: {
|
|
2273
|
+
readonly before: "itempresentationitem";
|
|
2273
2274
|
readonly after: "custitem_accessories";
|
|
2274
2275
|
readonly target: "relationGroups.accessories";
|
|
2275
2276
|
readonly policy: "seed";
|
|
2276
2277
|
readonly pending: true;
|
|
2277
|
-
readonly note:
|
|
2278
|
+
readonly note: string;
|
|
2278
2279
|
};
|
|
2279
2280
|
readonly toolKits: {
|
|
2280
2281
|
readonly after: "custitem_tool_kits";
|
|
@@ -4211,11 +4212,12 @@ declare const PROVIDERS: readonly [NetsuiteFieldProvider<{
|
|
|
4211
4212
|
};
|
|
4212
4213
|
}>, NetsuiteFieldProvider<{
|
|
4213
4214
|
readonly accessories: {
|
|
4215
|
+
readonly before: "itempresentationitem";
|
|
4214
4216
|
readonly after: "custitem_accessories";
|
|
4215
4217
|
readonly target: "relationGroups.accessories";
|
|
4216
4218
|
readonly policy: "seed";
|
|
4217
4219
|
readonly pending: true;
|
|
4218
|
-
readonly note:
|
|
4220
|
+
readonly note: string;
|
|
4219
4221
|
};
|
|
4220
4222
|
readonly toolKits: {
|
|
4221
4223
|
readonly after: "custitem_tool_kits";
|
|
@@ -6047,6 +6049,7 @@ declare const netsuiteFieldDerivedFrom: (entity: NetsuiteOwnedEntity, field: str
|
|
|
6047
6049
|
declare const netsuiteFieldCaution: (entity: NetsuiteOwnedEntity, field: string) => string | undefined;
|
|
6048
6050
|
interface NetsuiteRelationSource {
|
|
6049
6051
|
field: string;
|
|
6052
|
+
today?: string;
|
|
6050
6053
|
note?: string;
|
|
6051
6054
|
}
|
|
6052
6055
|
declare const netsuiteRelationSource: (groupKey: string) => NetsuiteRelationSource | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -2270,11 +2270,12 @@ declare class NetsuiteFieldProvider<M extends FieldMap> {
|
|
|
2270
2270
|
|
|
2271
2271
|
declare const RELATION_FIELDS: {
|
|
2272
2272
|
readonly accessories: {
|
|
2273
|
+
readonly before: "itempresentationitem";
|
|
2273
2274
|
readonly after: "custitem_accessories";
|
|
2274
2275
|
readonly target: "relationGroups.accessories";
|
|
2275
2276
|
readonly policy: "seed";
|
|
2276
2277
|
readonly pending: true;
|
|
2277
|
-
readonly note:
|
|
2278
|
+
readonly note: string;
|
|
2278
2279
|
};
|
|
2279
2280
|
readonly toolKits: {
|
|
2280
2281
|
readonly after: "custitem_tool_kits";
|
|
@@ -4211,11 +4212,12 @@ declare const PROVIDERS: readonly [NetsuiteFieldProvider<{
|
|
|
4211
4212
|
};
|
|
4212
4213
|
}>, NetsuiteFieldProvider<{
|
|
4213
4214
|
readonly accessories: {
|
|
4215
|
+
readonly before: "itempresentationitem";
|
|
4214
4216
|
readonly after: "custitem_accessories";
|
|
4215
4217
|
readonly target: "relationGroups.accessories";
|
|
4216
4218
|
readonly policy: "seed";
|
|
4217
4219
|
readonly pending: true;
|
|
4218
|
-
readonly note:
|
|
4220
|
+
readonly note: string;
|
|
4219
4221
|
};
|
|
4220
4222
|
readonly toolKits: {
|
|
4221
4223
|
readonly after: "custitem_tool_kits";
|
|
@@ -6047,6 +6049,7 @@ declare const netsuiteFieldDerivedFrom: (entity: NetsuiteOwnedEntity, field: str
|
|
|
6047
6049
|
declare const netsuiteFieldCaution: (entity: NetsuiteOwnedEntity, field: string) => string | undefined;
|
|
6048
6050
|
interface NetsuiteRelationSource {
|
|
6049
6051
|
field: string;
|
|
6052
|
+
today?: string;
|
|
6050
6053
|
note?: string;
|
|
6051
6054
|
}
|
|
6052
6055
|
declare const netsuiteRelationSource: (groupKey: string) => NetsuiteRelationSource | undefined;
|
package/dist/index.js
CHANGED
|
@@ -1267,11 +1267,12 @@ var NetsuiteFieldProvider = class {
|
|
|
1267
1267
|
var READY = "Field exists in NetSuite and carries no data yet.";
|
|
1268
1268
|
var RELATION_FIELDS = {
|
|
1269
1269
|
accessories: {
|
|
1270
|
+
before: "itempresentationitem",
|
|
1270
1271
|
after: "custitem_accessories",
|
|
1271
1272
|
target: "relationGroups.accessories",
|
|
1272
1273
|
policy: "seed",
|
|
1273
1274
|
pending: true,
|
|
1274
|
-
note:
|
|
1275
|
+
note: "Before is NetSuite's Presentation Items sublist, one flat list with no grouping column of its own \u2014 the legacy store renders it under the heading Accessories."
|
|
1275
1276
|
},
|
|
1276
1277
|
toolKits: {
|
|
1277
1278
|
after: "custitem_tool_kits",
|
|
@@ -1495,7 +1496,7 @@ var netsuiteRelationSource = (groupKey) => {
|
|
|
1495
1496
|
const target = `relationGroups.${groupKey}`;
|
|
1496
1497
|
for (const mapping of Object.values(RELATION_FIELDS)) {
|
|
1497
1498
|
if (mapping.target !== target) continue;
|
|
1498
|
-
return { field: mapping.after ?? mapping.before ?? "", note: mapping.note };
|
|
1499
|
+
return { field: mapping.after ?? mapping.before ?? "", today: mapping.before, note: mapping.note };
|
|
1499
1500
|
}
|
|
1500
1501
|
return void 0;
|
|
1501
1502
|
};
|