@litusarchieve18/agricore-utils 1.0.15 → 1.0.17
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/README.md +4 -0
- package/dist/{chunk-LYIT2TMM.mjs → chunk-4WNJP4C3.mjs} +59 -1
- package/dist/{constants-DOmJizGn.d.mts → constants-C-6NWp7i.d.mts} +61 -3
- package/dist/{constants-DOmJizGn.d.ts → constants-C-6NWp7i.d.ts} +61 -3
- package/dist/constants.d.mts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +65 -0
- package/dist/constants.mjs +15 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +65 -0
- package/dist/index.mjs +15 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -183,6 +183,10 @@ Run the publish command:
|
|
|
183
183
|
Bash
|
|
184
184
|
npm publish --access public
|
|
185
185
|
📝 Version History
|
|
186
|
+
V1.0.17 — refactor
|
|
187
|
+
|
|
188
|
+
V1.0.16 — BarcodeType, BarcodeNamespace, ProductType, ProductUnit, CatalogSyncStatus, StorageTier
|
|
189
|
+
|
|
186
190
|
V1.0.15 — add some standardized enum and types for CAR
|
|
187
191
|
|
|
188
192
|
V1.0.14 — add DOCUMENT_DISPLAY_INFO do manage the grouping and a little description for UI
|
|
@@ -755,6 +755,57 @@ var CAR_SUPPORTED_SIGNATURE_MIME_TYPES = [
|
|
|
755
755
|
"image/png",
|
|
756
756
|
"image/jpeg"
|
|
757
757
|
];
|
|
758
|
+
var BarcodeType = {
|
|
759
|
+
GTIN_8: "GTIN-8",
|
|
760
|
+
GTIN_12: "GTIN-12",
|
|
761
|
+
GTIN_13: "GTIN-13",
|
|
762
|
+
GTIN_14: "GTIN-14",
|
|
763
|
+
CODE_128: "CODE-128",
|
|
764
|
+
QR: "QR",
|
|
765
|
+
OTHER: "other"
|
|
766
|
+
};
|
|
767
|
+
var BarcodeNamespace = {
|
|
768
|
+
GLOBAL_STANDARD: "global_standard",
|
|
769
|
+
INTERNAL_COMPANY: "internal_company"
|
|
770
|
+
};
|
|
771
|
+
var ProductType = {
|
|
772
|
+
CARTON: "carton",
|
|
773
|
+
TRAY: "tray",
|
|
774
|
+
LINER: "liner",
|
|
775
|
+
LABEL: "label",
|
|
776
|
+
TAPE: "tape",
|
|
777
|
+
STRAPPING: "strapping",
|
|
778
|
+
PALLET: "pallet",
|
|
779
|
+
STRETCH_WRAP: "stretch_wrap",
|
|
780
|
+
OTHER: "other"
|
|
781
|
+
};
|
|
782
|
+
var ProductUnit = {
|
|
783
|
+
UNITS: "units",
|
|
784
|
+
BOXES: "boxes",
|
|
785
|
+
ROLLS: "rolls",
|
|
786
|
+
PALLETS: "pallets",
|
|
787
|
+
KG: "kg"
|
|
788
|
+
};
|
|
789
|
+
var CatalogSyncStatus = {
|
|
790
|
+
UNVERIFIED: "unverified",
|
|
791
|
+
PENDING_REVIEW: "pending_review",
|
|
792
|
+
MATCHED: "matched",
|
|
793
|
+
REJECTED: "rejected"
|
|
794
|
+
};
|
|
795
|
+
var StoragePhases = {
|
|
796
|
+
RECEIVING: "receiving",
|
|
797
|
+
BULK_STORAGE: "bulk_storage",
|
|
798
|
+
PICK_FACE: "pick_face",
|
|
799
|
+
PRODUCTION_LINE: "production_line",
|
|
800
|
+
QUARANTINE: "quarantine",
|
|
801
|
+
RETURNS: "returns"
|
|
802
|
+
};
|
|
803
|
+
var StockPolicyTier = {
|
|
804
|
+
FLAT: 0,
|
|
805
|
+
BY_FACILITY: 1,
|
|
806
|
+
BY_STORAGE_PHASE: 2,
|
|
807
|
+
BY_LOCATION: 3
|
|
808
|
+
};
|
|
758
809
|
|
|
759
810
|
export {
|
|
760
811
|
MOD,
|
|
@@ -811,5 +862,12 @@ export {
|
|
|
811
862
|
TEMPLATE_SCOPE_LEVELS,
|
|
812
863
|
CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
813
864
|
CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
814
|
-
CAR_SUPPORTED_SIGNATURE_MIME_TYPES
|
|
865
|
+
CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
866
|
+
BarcodeType,
|
|
867
|
+
BarcodeNamespace,
|
|
868
|
+
ProductType,
|
|
869
|
+
ProductUnit,
|
|
870
|
+
CatalogSyncStatus,
|
|
871
|
+
StoragePhases,
|
|
872
|
+
StockPolicyTier
|
|
815
873
|
};
|
|
@@ -10,6 +10,8 @@ interface AvailableScope {
|
|
|
10
10
|
interface CompanyConfig {
|
|
11
11
|
isMultiEntity: boolean;
|
|
12
12
|
}
|
|
13
|
+
type UserRoleType = typeof UserRole[keyof typeof UserRole];
|
|
14
|
+
type AccessLevelType = keyof typeof AccessLevel;
|
|
13
15
|
/**
|
|
14
16
|
* Deep map of scope IDs to resource paths and their permission levels.
|
|
15
17
|
* Example: { "uuid-123": { "farm.records": "WRITE" } }
|
|
@@ -152,6 +154,13 @@ type CarTemplateFileMetadata = {
|
|
|
152
154
|
applyToAllPages: boolean;
|
|
153
155
|
promotedAt?: string;
|
|
154
156
|
};
|
|
157
|
+
type BarcodeTypeType = typeof BarcodeType[keyof typeof BarcodeType];
|
|
158
|
+
type BarcodeNamespaceType = typeof BarcodeNamespace[keyof typeof BarcodeNamespace];
|
|
159
|
+
type ProductTypeType = typeof ProductType[keyof typeof ProductType];
|
|
160
|
+
type ProductUnitType = typeof ProductUnit[keyof typeof ProductUnit];
|
|
161
|
+
type CatalogSyncStatusType = typeof CatalogSyncStatus[keyof typeof CatalogSyncStatus];
|
|
162
|
+
type StorageType = typeof StoragePhases[keyof typeof StoragePhases];
|
|
163
|
+
type StockPolicyTierType = typeof StockPolicyTier[keyof typeof StockPolicyTier];
|
|
155
164
|
|
|
156
165
|
declare const MOD: {
|
|
157
166
|
readonly OPERATIONS: "OPR";
|
|
@@ -195,7 +204,6 @@ declare const UserRole: {
|
|
|
195
204
|
readonly LEADING_HAND: "leadingHand";
|
|
196
205
|
readonly WORKER: "worker";
|
|
197
206
|
};
|
|
198
|
-
type UserRoleType = typeof UserRole[keyof typeof UserRole];
|
|
199
207
|
declare const UserPrivilege: {
|
|
200
208
|
readonly FINANCE: "finance";
|
|
201
209
|
readonly HR: "hr";
|
|
@@ -208,7 +216,6 @@ declare const AccessLevel: {
|
|
|
208
216
|
readonly READ: "READ";
|
|
209
217
|
readonly WRITE: "WRITE";
|
|
210
218
|
};
|
|
211
|
-
type AccessLevelType = keyof typeof AccessLevel;
|
|
212
219
|
declare const EnabledModule: {
|
|
213
220
|
readonly FARM_MANAGEMENT: "farm_management";
|
|
214
221
|
readonly PACKHOUSE: "packhouse";
|
|
@@ -548,5 +555,56 @@ declare const CAR_SUPPORTED_EVIDENCE_MIME_TYPES: readonly ["application/pdf", "i
|
|
|
548
555
|
* Drawn signatures usually become PNG; uploaded signatures should stay image-only.
|
|
549
556
|
*/
|
|
550
557
|
declare const CAR_SUPPORTED_SIGNATURE_MIME_TYPES: readonly ["image/png", "image/jpeg"];
|
|
558
|
+
declare const BarcodeType: {
|
|
559
|
+
readonly GTIN_8: "GTIN-8";
|
|
560
|
+
readonly GTIN_12: "GTIN-12";
|
|
561
|
+
readonly GTIN_13: "GTIN-13";
|
|
562
|
+
readonly GTIN_14: "GTIN-14";
|
|
563
|
+
readonly CODE_128: "CODE-128";
|
|
564
|
+
readonly QR: "QR";
|
|
565
|
+
readonly OTHER: "other";
|
|
566
|
+
};
|
|
567
|
+
declare const BarcodeNamespace: {
|
|
568
|
+
readonly GLOBAL_STANDARD: "global_standard";
|
|
569
|
+
readonly INTERNAL_COMPANY: "internal_company";
|
|
570
|
+
};
|
|
571
|
+
declare const ProductType: {
|
|
572
|
+
readonly CARTON: "carton";
|
|
573
|
+
readonly TRAY: "tray";
|
|
574
|
+
readonly LINER: "liner";
|
|
575
|
+
readonly LABEL: "label";
|
|
576
|
+
readonly TAPE: "tape";
|
|
577
|
+
readonly STRAPPING: "strapping";
|
|
578
|
+
readonly PALLET: "pallet";
|
|
579
|
+
readonly STRETCH_WRAP: "stretch_wrap";
|
|
580
|
+
readonly OTHER: "other";
|
|
581
|
+
};
|
|
582
|
+
declare const ProductUnit: {
|
|
583
|
+
readonly UNITS: "units";
|
|
584
|
+
readonly BOXES: "boxes";
|
|
585
|
+
readonly ROLLS: "rolls";
|
|
586
|
+
readonly PALLETS: "pallets";
|
|
587
|
+
readonly KG: "kg";
|
|
588
|
+
};
|
|
589
|
+
declare const CatalogSyncStatus: {
|
|
590
|
+
readonly UNVERIFIED: "unverified";
|
|
591
|
+
readonly PENDING_REVIEW: "pending_review";
|
|
592
|
+
readonly MATCHED: "matched";
|
|
593
|
+
readonly REJECTED: "rejected";
|
|
594
|
+
};
|
|
595
|
+
declare const StoragePhases: {
|
|
596
|
+
readonly RECEIVING: "receiving";
|
|
597
|
+
readonly BULK_STORAGE: "bulk_storage";
|
|
598
|
+
readonly PICK_FACE: "pick_face";
|
|
599
|
+
readonly PRODUCTION_LINE: "production_line";
|
|
600
|
+
readonly QUARANTINE: "quarantine";
|
|
601
|
+
readonly RETURNS: "returns";
|
|
602
|
+
};
|
|
603
|
+
declare const StockPolicyTier: {
|
|
604
|
+
readonly FLAT: 0;
|
|
605
|
+
readonly BY_FACILITY: 1;
|
|
606
|
+
readonly BY_STORAGE_PHASE: 2;
|
|
607
|
+
readonly BY_LOCATION: 3;
|
|
608
|
+
};
|
|
551
609
|
|
|
552
|
-
export {
|
|
610
|
+
export { NettingType as $, ACCESS_RANK as A, BarcodeNamespace as B, CAR_SUPPORTED_EVIDENCE_MIME_TYPES as C, type CorrectiveActionCompileTaskMetadata as D, type CorrectiveActionGenerationSource as E, type CorrectiveActionStatus as F, CropCycleStatus as G, DOCUMENT_DISPLAY_INFO as H, DOCUMENT_MENU_MAP as I, DocumentCategory as J, DocumentType as K, ERROR_DICTIONARY as L, EVERYONE as M, EmitterType as N, EnabledModule as O, FORM_REGISTRY as P, FacilityType as Q, type FileUploadTaskType as R, type FormMeta as S, HarvestMethod as T, type InfrastructureFields as U, LinkedStatus as V, MOD as W, MODULE_LABELS as X, MicroclimateZone as Y, MimeType as Z, type ModCode as _, ACT as a, type NormalizedSignatureValue as a0, NotificationMode as a1, OrderStatus as a2, type PermissionLevel as a3, PhysicalState as a4, PlantingMethod as a5, ProductType as a6, type ProductTypeType as a7, ProductUnit as a8, type ProductUnitType as a9, type TemplateScopeLevel as aA, TransactionType as aB, TrellisType as aC, UserPrivilege as aD, UserRole as aE, type UserRoleType as aF, VigorRating as aG, WaterSource as aH, RESOURCE_MODULE_MAP as aa, RESOURCE_PATHS as ab, RESOURCE_REQUIREMENTS as ac, ROLE_SECTIONS_BY_KEY as ad, RelationshipType as ae, type ResolvedError as af, type ResourceOverrides as ag, type ResourceRequirement as ah, RowOrientation as ai, SENTINEL_UUID as aj, SIGNATURE_MODES as ak, type ScopeType as al, type SignatureInput as am, type SignatureMode as an, SoilTexture as ao, StockPolicyTier as ap, type StockPolicyTierType as aq, StoragePhases as ar, type StorageType as as, TASK_TYPE_REGISTRY as at, TEMPLATE_SCOPE_LEVELS as au, type TabConfig as av, TargetEntityType as aw, TaskStatus as ax, TaskType as ay, type TaskTypeConfig as az, AccessLevel as b, type AccessLevelType as c, type AgriCoreSession as d, ApprovalStatus as e, ApprovalType as f, AuditStatus as g, AuditType as h, type AuthScopeFields as i, type AvailableScope as j, type BarcodeNamespaceType as k, BarcodeType as l, type BarcodeTypeType as m, type Base44Id as n, CAR_SUPPORTED_SIGNATURE_MIME_TYPES as o, CAT as p, CATEGORY_TABS as q, CORRECTIVE_ACTION_GENERATION_SOURCES as r, CORRECTIVE_ACTION_STATUSES as s, type CanonicalId as t, type CarSupportedEvidenceMimeType as u, type CarSupportedSignatureMimeType as v, type CarTemplateFileMetadata as w, CatalogSyncStatus as x, type CatalogSyncStatusType as y, type CompanyConfig as z };
|
|
@@ -10,6 +10,8 @@ interface AvailableScope {
|
|
|
10
10
|
interface CompanyConfig {
|
|
11
11
|
isMultiEntity: boolean;
|
|
12
12
|
}
|
|
13
|
+
type UserRoleType = typeof UserRole[keyof typeof UserRole];
|
|
14
|
+
type AccessLevelType = keyof typeof AccessLevel;
|
|
13
15
|
/**
|
|
14
16
|
* Deep map of scope IDs to resource paths and their permission levels.
|
|
15
17
|
* Example: { "uuid-123": { "farm.records": "WRITE" } }
|
|
@@ -152,6 +154,13 @@ type CarTemplateFileMetadata = {
|
|
|
152
154
|
applyToAllPages: boolean;
|
|
153
155
|
promotedAt?: string;
|
|
154
156
|
};
|
|
157
|
+
type BarcodeTypeType = typeof BarcodeType[keyof typeof BarcodeType];
|
|
158
|
+
type BarcodeNamespaceType = typeof BarcodeNamespace[keyof typeof BarcodeNamespace];
|
|
159
|
+
type ProductTypeType = typeof ProductType[keyof typeof ProductType];
|
|
160
|
+
type ProductUnitType = typeof ProductUnit[keyof typeof ProductUnit];
|
|
161
|
+
type CatalogSyncStatusType = typeof CatalogSyncStatus[keyof typeof CatalogSyncStatus];
|
|
162
|
+
type StorageType = typeof StoragePhases[keyof typeof StoragePhases];
|
|
163
|
+
type StockPolicyTierType = typeof StockPolicyTier[keyof typeof StockPolicyTier];
|
|
155
164
|
|
|
156
165
|
declare const MOD: {
|
|
157
166
|
readonly OPERATIONS: "OPR";
|
|
@@ -195,7 +204,6 @@ declare const UserRole: {
|
|
|
195
204
|
readonly LEADING_HAND: "leadingHand";
|
|
196
205
|
readonly WORKER: "worker";
|
|
197
206
|
};
|
|
198
|
-
type UserRoleType = typeof UserRole[keyof typeof UserRole];
|
|
199
207
|
declare const UserPrivilege: {
|
|
200
208
|
readonly FINANCE: "finance";
|
|
201
209
|
readonly HR: "hr";
|
|
@@ -208,7 +216,6 @@ declare const AccessLevel: {
|
|
|
208
216
|
readonly READ: "READ";
|
|
209
217
|
readonly WRITE: "WRITE";
|
|
210
218
|
};
|
|
211
|
-
type AccessLevelType = keyof typeof AccessLevel;
|
|
212
219
|
declare const EnabledModule: {
|
|
213
220
|
readonly FARM_MANAGEMENT: "farm_management";
|
|
214
221
|
readonly PACKHOUSE: "packhouse";
|
|
@@ -548,5 +555,56 @@ declare const CAR_SUPPORTED_EVIDENCE_MIME_TYPES: readonly ["application/pdf", "i
|
|
|
548
555
|
* Drawn signatures usually become PNG; uploaded signatures should stay image-only.
|
|
549
556
|
*/
|
|
550
557
|
declare const CAR_SUPPORTED_SIGNATURE_MIME_TYPES: readonly ["image/png", "image/jpeg"];
|
|
558
|
+
declare const BarcodeType: {
|
|
559
|
+
readonly GTIN_8: "GTIN-8";
|
|
560
|
+
readonly GTIN_12: "GTIN-12";
|
|
561
|
+
readonly GTIN_13: "GTIN-13";
|
|
562
|
+
readonly GTIN_14: "GTIN-14";
|
|
563
|
+
readonly CODE_128: "CODE-128";
|
|
564
|
+
readonly QR: "QR";
|
|
565
|
+
readonly OTHER: "other";
|
|
566
|
+
};
|
|
567
|
+
declare const BarcodeNamespace: {
|
|
568
|
+
readonly GLOBAL_STANDARD: "global_standard";
|
|
569
|
+
readonly INTERNAL_COMPANY: "internal_company";
|
|
570
|
+
};
|
|
571
|
+
declare const ProductType: {
|
|
572
|
+
readonly CARTON: "carton";
|
|
573
|
+
readonly TRAY: "tray";
|
|
574
|
+
readonly LINER: "liner";
|
|
575
|
+
readonly LABEL: "label";
|
|
576
|
+
readonly TAPE: "tape";
|
|
577
|
+
readonly STRAPPING: "strapping";
|
|
578
|
+
readonly PALLET: "pallet";
|
|
579
|
+
readonly STRETCH_WRAP: "stretch_wrap";
|
|
580
|
+
readonly OTHER: "other";
|
|
581
|
+
};
|
|
582
|
+
declare const ProductUnit: {
|
|
583
|
+
readonly UNITS: "units";
|
|
584
|
+
readonly BOXES: "boxes";
|
|
585
|
+
readonly ROLLS: "rolls";
|
|
586
|
+
readonly PALLETS: "pallets";
|
|
587
|
+
readonly KG: "kg";
|
|
588
|
+
};
|
|
589
|
+
declare const CatalogSyncStatus: {
|
|
590
|
+
readonly UNVERIFIED: "unverified";
|
|
591
|
+
readonly PENDING_REVIEW: "pending_review";
|
|
592
|
+
readonly MATCHED: "matched";
|
|
593
|
+
readonly REJECTED: "rejected";
|
|
594
|
+
};
|
|
595
|
+
declare const StoragePhases: {
|
|
596
|
+
readonly RECEIVING: "receiving";
|
|
597
|
+
readonly BULK_STORAGE: "bulk_storage";
|
|
598
|
+
readonly PICK_FACE: "pick_face";
|
|
599
|
+
readonly PRODUCTION_LINE: "production_line";
|
|
600
|
+
readonly QUARANTINE: "quarantine";
|
|
601
|
+
readonly RETURNS: "returns";
|
|
602
|
+
};
|
|
603
|
+
declare const StockPolicyTier: {
|
|
604
|
+
readonly FLAT: 0;
|
|
605
|
+
readonly BY_FACILITY: 1;
|
|
606
|
+
readonly BY_STORAGE_PHASE: 2;
|
|
607
|
+
readonly BY_LOCATION: 3;
|
|
608
|
+
};
|
|
551
609
|
|
|
552
|
-
export {
|
|
610
|
+
export { NettingType as $, ACCESS_RANK as A, BarcodeNamespace as B, CAR_SUPPORTED_EVIDENCE_MIME_TYPES as C, type CorrectiveActionCompileTaskMetadata as D, type CorrectiveActionGenerationSource as E, type CorrectiveActionStatus as F, CropCycleStatus as G, DOCUMENT_DISPLAY_INFO as H, DOCUMENT_MENU_MAP as I, DocumentCategory as J, DocumentType as K, ERROR_DICTIONARY as L, EVERYONE as M, EmitterType as N, EnabledModule as O, FORM_REGISTRY as P, FacilityType as Q, type FileUploadTaskType as R, type FormMeta as S, HarvestMethod as T, type InfrastructureFields as U, LinkedStatus as V, MOD as W, MODULE_LABELS as X, MicroclimateZone as Y, MimeType as Z, type ModCode as _, ACT as a, type NormalizedSignatureValue as a0, NotificationMode as a1, OrderStatus as a2, type PermissionLevel as a3, PhysicalState as a4, PlantingMethod as a5, ProductType as a6, type ProductTypeType as a7, ProductUnit as a8, type ProductUnitType as a9, type TemplateScopeLevel as aA, TransactionType as aB, TrellisType as aC, UserPrivilege as aD, UserRole as aE, type UserRoleType as aF, VigorRating as aG, WaterSource as aH, RESOURCE_MODULE_MAP as aa, RESOURCE_PATHS as ab, RESOURCE_REQUIREMENTS as ac, ROLE_SECTIONS_BY_KEY as ad, RelationshipType as ae, type ResolvedError as af, type ResourceOverrides as ag, type ResourceRequirement as ah, RowOrientation as ai, SENTINEL_UUID as aj, SIGNATURE_MODES as ak, type ScopeType as al, type SignatureInput as am, type SignatureMode as an, SoilTexture as ao, StockPolicyTier as ap, type StockPolicyTierType as aq, StoragePhases as ar, type StorageType as as, TASK_TYPE_REGISTRY as at, TEMPLATE_SCOPE_LEVELS as au, type TabConfig as av, TargetEntityType as aw, TaskStatus as ax, TaskType as ay, type TaskTypeConfig as az, AccessLevel as b, type AccessLevelType as c, type AgriCoreSession as d, ApprovalStatus as e, ApprovalType as f, AuditStatus as g, AuditType as h, type AuthScopeFields as i, type AvailableScope as j, type BarcodeNamespaceType as k, BarcodeType as l, type BarcodeTypeType as m, type Base44Id as n, CAR_SUPPORTED_SIGNATURE_MIME_TYPES as o, CAT as p, CATEGORY_TABS as q, CORRECTIVE_ACTION_GENERATION_SOURCES as r, CORRECTIVE_ACTION_STATUSES as s, type CanonicalId as t, type CarSupportedEvidenceMimeType as u, type CarSupportedSignatureMimeType as v, type CarTemplateFileMetadata as w, CatalogSyncStatus as x, type CatalogSyncStatusType as y, type CompanyConfig as z };
|
package/dist/constants.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { A as ACCESS_RANK, a as ACT, b as AccessLevel,
|
|
1
|
+
export { A as ACCESS_RANK, a as ACT, b as AccessLevel, e as ApprovalStatus, f as ApprovalType, g as AuditStatus, h as AuditType, B as BarcodeNamespace, l as BarcodeType, C as CAR_SUPPORTED_EVIDENCE_MIME_TYPES, o as CAR_SUPPORTED_SIGNATURE_MIME_TYPES, p as CAT, q as CATEGORY_TABS, r as CORRECTIVE_ACTION_GENERATION_SOURCES, s as CORRECTIVE_ACTION_STATUSES, x as CatalogSyncStatus, G as CropCycleStatus, H as DOCUMENT_DISPLAY_INFO, I as DOCUMENT_MENU_MAP, J as DocumentCategory, K as DocumentType, L as ERROR_DICTIONARY, M as EVERYONE, N as EmitterType, O as EnabledModule, P as FORM_REGISTRY, Q as FacilityType, T as HarvestMethod, V as LinkedStatus, W as MOD, X as MODULE_LABELS, Y as MicroclimateZone, Z as MimeType, _ as ModCode, $ as NettingType, a1 as NotificationMode, a2 as OrderStatus, a4 as PhysicalState, a5 as PlantingMethod, a6 as ProductType, a8 as ProductUnit, aa as RESOURCE_MODULE_MAP, ab as RESOURCE_PATHS, ac as RESOURCE_REQUIREMENTS, ad as ROLE_SECTIONS_BY_KEY, ae as RelationshipType, ah as ResourceRequirement, ai as RowOrientation, aj as SENTINEL_UUID, ak as SIGNATURE_MODES, ao as SoilTexture, ap as StockPolicyTier, ar as StoragePhases, at as TASK_TYPE_REGISTRY, au as TEMPLATE_SCOPE_LEVELS, aw as TargetEntityType, ax as TaskStatus, ay as TaskType, aB as TransactionType, aC as TrellisType, aD as UserPrivilege, aE as UserRole, aG as VigorRating, aH as WaterSource } from './constants-C-6NWp7i.mjs';
|
package/dist/constants.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { A as ACCESS_RANK, a as ACT, b as AccessLevel,
|
|
1
|
+
export { A as ACCESS_RANK, a as ACT, b as AccessLevel, e as ApprovalStatus, f as ApprovalType, g as AuditStatus, h as AuditType, B as BarcodeNamespace, l as BarcodeType, C as CAR_SUPPORTED_EVIDENCE_MIME_TYPES, o as CAR_SUPPORTED_SIGNATURE_MIME_TYPES, p as CAT, q as CATEGORY_TABS, r as CORRECTIVE_ACTION_GENERATION_SOURCES, s as CORRECTIVE_ACTION_STATUSES, x as CatalogSyncStatus, G as CropCycleStatus, H as DOCUMENT_DISPLAY_INFO, I as DOCUMENT_MENU_MAP, J as DocumentCategory, K as DocumentType, L as ERROR_DICTIONARY, M as EVERYONE, N as EmitterType, O as EnabledModule, P as FORM_REGISTRY, Q as FacilityType, T as HarvestMethod, V as LinkedStatus, W as MOD, X as MODULE_LABELS, Y as MicroclimateZone, Z as MimeType, _ as ModCode, $ as NettingType, a1 as NotificationMode, a2 as OrderStatus, a4 as PhysicalState, a5 as PlantingMethod, a6 as ProductType, a8 as ProductUnit, aa as RESOURCE_MODULE_MAP, ab as RESOURCE_PATHS, ac as RESOURCE_REQUIREMENTS, ad as ROLE_SECTIONS_BY_KEY, ae as RelationshipType, ah as ResourceRequirement, ai as RowOrientation, aj as SENTINEL_UUID, ak as SIGNATURE_MODES, ao as SoilTexture, ap as StockPolicyTier, ar as StoragePhases, at as TASK_TYPE_REGISTRY, au as TEMPLATE_SCOPE_LEVELS, aw as TargetEntityType, ax as TaskStatus, ay as TaskType, aB as TransactionType, aC as TrellisType, aD as UserPrivilege, aE as UserRole, aG as VigorRating, aH as WaterSource } from './constants-C-6NWp7i.js';
|
package/dist/constants.js
CHANGED
|
@@ -27,12 +27,15 @@ __export(constants_exports, {
|
|
|
27
27
|
ApprovalType: () => ApprovalType,
|
|
28
28
|
AuditStatus: () => AuditStatus,
|
|
29
29
|
AuditType: () => AuditType,
|
|
30
|
+
BarcodeNamespace: () => BarcodeNamespace,
|
|
31
|
+
BarcodeType: () => BarcodeType,
|
|
30
32
|
CAR_SUPPORTED_EVIDENCE_MIME_TYPES: () => CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
31
33
|
CAR_SUPPORTED_SIGNATURE_MIME_TYPES: () => CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
32
34
|
CAT: () => CAT,
|
|
33
35
|
CATEGORY_TABS: () => CATEGORY_TABS,
|
|
34
36
|
CORRECTIVE_ACTION_GENERATION_SOURCES: () => CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
35
37
|
CORRECTIVE_ACTION_STATUSES: () => CORRECTIVE_ACTION_STATUSES,
|
|
38
|
+
CatalogSyncStatus: () => CatalogSyncStatus,
|
|
36
39
|
CropCycleStatus: () => CropCycleStatus,
|
|
37
40
|
DOCUMENT_DISPLAY_INFO: () => DOCUMENT_DISPLAY_INFO,
|
|
38
41
|
DOCUMENT_MENU_MAP: () => DOCUMENT_MENU_MAP,
|
|
@@ -55,6 +58,8 @@ __export(constants_exports, {
|
|
|
55
58
|
OrderStatus: () => OrderStatus,
|
|
56
59
|
PhysicalState: () => PhysicalState,
|
|
57
60
|
PlantingMethod: () => PlantingMethod,
|
|
61
|
+
ProductType: () => ProductType,
|
|
62
|
+
ProductUnit: () => ProductUnit,
|
|
58
63
|
RESOURCE_MODULE_MAP: () => RESOURCE_MODULE_MAP,
|
|
59
64
|
RESOURCE_PATHS: () => RESOURCE_PATHS,
|
|
60
65
|
RESOURCE_REQUIREMENTS: () => RESOURCE_REQUIREMENTS,
|
|
@@ -64,6 +69,8 @@ __export(constants_exports, {
|
|
|
64
69
|
SENTINEL_UUID: () => SENTINEL_UUID,
|
|
65
70
|
SIGNATURE_MODES: () => SIGNATURE_MODES,
|
|
66
71
|
SoilTexture: () => SoilTexture,
|
|
72
|
+
StockPolicyTier: () => StockPolicyTier,
|
|
73
|
+
StoragePhases: () => StoragePhases,
|
|
67
74
|
TASK_TYPE_REGISTRY: () => TASK_TYPE_REGISTRY,
|
|
68
75
|
TEMPLATE_SCOPE_LEVELS: () => TEMPLATE_SCOPE_LEVELS,
|
|
69
76
|
TargetEntityType: () => TargetEntityType,
|
|
@@ -833,6 +840,57 @@ var CAR_SUPPORTED_SIGNATURE_MIME_TYPES = [
|
|
|
833
840
|
"image/png",
|
|
834
841
|
"image/jpeg"
|
|
835
842
|
];
|
|
843
|
+
var BarcodeType = {
|
|
844
|
+
GTIN_8: "GTIN-8",
|
|
845
|
+
GTIN_12: "GTIN-12",
|
|
846
|
+
GTIN_13: "GTIN-13",
|
|
847
|
+
GTIN_14: "GTIN-14",
|
|
848
|
+
CODE_128: "CODE-128",
|
|
849
|
+
QR: "QR",
|
|
850
|
+
OTHER: "other"
|
|
851
|
+
};
|
|
852
|
+
var BarcodeNamespace = {
|
|
853
|
+
GLOBAL_STANDARD: "global_standard",
|
|
854
|
+
INTERNAL_COMPANY: "internal_company"
|
|
855
|
+
};
|
|
856
|
+
var ProductType = {
|
|
857
|
+
CARTON: "carton",
|
|
858
|
+
TRAY: "tray",
|
|
859
|
+
LINER: "liner",
|
|
860
|
+
LABEL: "label",
|
|
861
|
+
TAPE: "tape",
|
|
862
|
+
STRAPPING: "strapping",
|
|
863
|
+
PALLET: "pallet",
|
|
864
|
+
STRETCH_WRAP: "stretch_wrap",
|
|
865
|
+
OTHER: "other"
|
|
866
|
+
};
|
|
867
|
+
var ProductUnit = {
|
|
868
|
+
UNITS: "units",
|
|
869
|
+
BOXES: "boxes",
|
|
870
|
+
ROLLS: "rolls",
|
|
871
|
+
PALLETS: "pallets",
|
|
872
|
+
KG: "kg"
|
|
873
|
+
};
|
|
874
|
+
var CatalogSyncStatus = {
|
|
875
|
+
UNVERIFIED: "unverified",
|
|
876
|
+
PENDING_REVIEW: "pending_review",
|
|
877
|
+
MATCHED: "matched",
|
|
878
|
+
REJECTED: "rejected"
|
|
879
|
+
};
|
|
880
|
+
var StoragePhases = {
|
|
881
|
+
RECEIVING: "receiving",
|
|
882
|
+
BULK_STORAGE: "bulk_storage",
|
|
883
|
+
PICK_FACE: "pick_face",
|
|
884
|
+
PRODUCTION_LINE: "production_line",
|
|
885
|
+
QUARANTINE: "quarantine",
|
|
886
|
+
RETURNS: "returns"
|
|
887
|
+
};
|
|
888
|
+
var StockPolicyTier = {
|
|
889
|
+
FLAT: 0,
|
|
890
|
+
BY_FACILITY: 1,
|
|
891
|
+
BY_STORAGE_PHASE: 2,
|
|
892
|
+
BY_LOCATION: 3
|
|
893
|
+
};
|
|
836
894
|
// Annotate the CommonJS export names for ESM import in node:
|
|
837
895
|
0 && (module.exports = {
|
|
838
896
|
ACCESS_RANK,
|
|
@@ -842,12 +900,15 @@ var CAR_SUPPORTED_SIGNATURE_MIME_TYPES = [
|
|
|
842
900
|
ApprovalType,
|
|
843
901
|
AuditStatus,
|
|
844
902
|
AuditType,
|
|
903
|
+
BarcodeNamespace,
|
|
904
|
+
BarcodeType,
|
|
845
905
|
CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
846
906
|
CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
847
907
|
CAT,
|
|
848
908
|
CATEGORY_TABS,
|
|
849
909
|
CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
850
910
|
CORRECTIVE_ACTION_STATUSES,
|
|
911
|
+
CatalogSyncStatus,
|
|
851
912
|
CropCycleStatus,
|
|
852
913
|
DOCUMENT_DISPLAY_INFO,
|
|
853
914
|
DOCUMENT_MENU_MAP,
|
|
@@ -870,6 +931,8 @@ var CAR_SUPPORTED_SIGNATURE_MIME_TYPES = [
|
|
|
870
931
|
OrderStatus,
|
|
871
932
|
PhysicalState,
|
|
872
933
|
PlantingMethod,
|
|
934
|
+
ProductType,
|
|
935
|
+
ProductUnit,
|
|
873
936
|
RESOURCE_MODULE_MAP,
|
|
874
937
|
RESOURCE_PATHS,
|
|
875
938
|
RESOURCE_REQUIREMENTS,
|
|
@@ -879,6 +942,8 @@ var CAR_SUPPORTED_SIGNATURE_MIME_TYPES = [
|
|
|
879
942
|
SENTINEL_UUID,
|
|
880
943
|
SIGNATURE_MODES,
|
|
881
944
|
SoilTexture,
|
|
945
|
+
StockPolicyTier,
|
|
946
|
+
StoragePhases,
|
|
882
947
|
TASK_TYPE_REGISTRY,
|
|
883
948
|
TEMPLATE_SCOPE_LEVELS,
|
|
884
949
|
TargetEntityType,
|
package/dist/constants.mjs
CHANGED
|
@@ -6,12 +6,15 @@ import {
|
|
|
6
6
|
ApprovalType,
|
|
7
7
|
AuditStatus,
|
|
8
8
|
AuditType,
|
|
9
|
+
BarcodeNamespace,
|
|
10
|
+
BarcodeType,
|
|
9
11
|
CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
10
12
|
CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
11
13
|
CAT,
|
|
12
14
|
CATEGORY_TABS,
|
|
13
15
|
CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
14
16
|
CORRECTIVE_ACTION_STATUSES,
|
|
17
|
+
CatalogSyncStatus,
|
|
15
18
|
CropCycleStatus,
|
|
16
19
|
DOCUMENT_DISPLAY_INFO,
|
|
17
20
|
DOCUMENT_MENU_MAP,
|
|
@@ -34,6 +37,8 @@ import {
|
|
|
34
37
|
OrderStatus,
|
|
35
38
|
PhysicalState,
|
|
36
39
|
PlantingMethod,
|
|
40
|
+
ProductType,
|
|
41
|
+
ProductUnit,
|
|
37
42
|
RESOURCE_MODULE_MAP,
|
|
38
43
|
RESOURCE_PATHS,
|
|
39
44
|
RESOURCE_REQUIREMENTS,
|
|
@@ -43,6 +48,8 @@ import {
|
|
|
43
48
|
SENTINEL_UUID,
|
|
44
49
|
SIGNATURE_MODES,
|
|
45
50
|
SoilTexture,
|
|
51
|
+
StockPolicyTier,
|
|
52
|
+
StoragePhases,
|
|
46
53
|
TASK_TYPE_REGISTRY,
|
|
47
54
|
TEMPLATE_SCOPE_LEVELS,
|
|
48
55
|
TargetEntityType,
|
|
@@ -54,7 +61,7 @@ import {
|
|
|
54
61
|
UserRole,
|
|
55
62
|
VigorRating,
|
|
56
63
|
WaterSource
|
|
57
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-4WNJP4C3.mjs";
|
|
58
65
|
export {
|
|
59
66
|
ACCESS_RANK,
|
|
60
67
|
ACT,
|
|
@@ -63,12 +70,15 @@ export {
|
|
|
63
70
|
ApprovalType,
|
|
64
71
|
AuditStatus,
|
|
65
72
|
AuditType,
|
|
73
|
+
BarcodeNamespace,
|
|
74
|
+
BarcodeType,
|
|
66
75
|
CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
67
76
|
CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
68
77
|
CAT,
|
|
69
78
|
CATEGORY_TABS,
|
|
70
79
|
CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
71
80
|
CORRECTIVE_ACTION_STATUSES,
|
|
81
|
+
CatalogSyncStatus,
|
|
72
82
|
CropCycleStatus,
|
|
73
83
|
DOCUMENT_DISPLAY_INFO,
|
|
74
84
|
DOCUMENT_MENU_MAP,
|
|
@@ -91,6 +101,8 @@ export {
|
|
|
91
101
|
OrderStatus,
|
|
92
102
|
PhysicalState,
|
|
93
103
|
PlantingMethod,
|
|
104
|
+
ProductType,
|
|
105
|
+
ProductUnit,
|
|
94
106
|
RESOURCE_MODULE_MAP,
|
|
95
107
|
RESOURCE_PATHS,
|
|
96
108
|
RESOURCE_REQUIREMENTS,
|
|
@@ -100,6 +112,8 @@ export {
|
|
|
100
112
|
SENTINEL_UUID,
|
|
101
113
|
SIGNATURE_MODES,
|
|
102
114
|
SoilTexture,
|
|
115
|
+
StockPolicyTier,
|
|
116
|
+
StoragePhases,
|
|
103
117
|
TASK_TYPE_REGISTRY,
|
|
104
118
|
TEMPLATE_SCOPE_LEVELS,
|
|
105
119
|
TargetEntityType,
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as AgriCoreSession,
|
|
2
|
-
export { A as ACCESS_RANK, a as ACT, b as AccessLevel, e as ApprovalStatus, f as ApprovalType, g as AuditStatus, h as AuditType, i as AuthScopeFields, B as Base44Id, C as CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
1
|
+
import { d as AgriCoreSession, aF as UserRoleType, ah as ResourceRequirement, c as AccessLevelType, j as AvailableScope, U as InfrastructureFields, S as FormMeta, av as TabConfig, af as ResolvedError } from './constants-C-6NWp7i.mjs';
|
|
2
|
+
export { A as ACCESS_RANK, a as ACT, b as AccessLevel, e as ApprovalStatus, f as ApprovalType, g as AuditStatus, h as AuditType, i as AuthScopeFields, B as BarcodeNamespace, k as BarcodeNamespaceType, l as BarcodeType, m as BarcodeTypeType, n as Base44Id, C as CAR_SUPPORTED_EVIDENCE_MIME_TYPES, o as CAR_SUPPORTED_SIGNATURE_MIME_TYPES, p as CAT, q as CATEGORY_TABS, r as CORRECTIVE_ACTION_GENERATION_SOURCES, s as CORRECTIVE_ACTION_STATUSES, t as CanonicalId, u as CarSupportedEvidenceMimeType, v as CarSupportedSignatureMimeType, w as CarTemplateFileMetadata, x as CatalogSyncStatus, y as CatalogSyncStatusType, z as CompanyConfig, D as CorrectiveActionCompileTaskMetadata, E as CorrectiveActionGenerationSource, F as CorrectiveActionStatus, G as CropCycleStatus, H as DOCUMENT_DISPLAY_INFO, I as DOCUMENT_MENU_MAP, J as DocumentCategory, K as DocumentType, L as ERROR_DICTIONARY, M as EVERYONE, N as EmitterType, O as EnabledModule, P as FORM_REGISTRY, Q as FacilityType, R as FileUploadTaskType, T as HarvestMethod, V as LinkedStatus, W as MOD, X as MODULE_LABELS, Y as MicroclimateZone, Z as MimeType, _ as ModCode, $ as NettingType, a0 as NormalizedSignatureValue, a1 as NotificationMode, a2 as OrderStatus, a3 as PermissionLevel, a4 as PhysicalState, a5 as PlantingMethod, a6 as ProductType, a7 as ProductTypeType, a8 as ProductUnit, a9 as ProductUnitType, aa as RESOURCE_MODULE_MAP, ab as RESOURCE_PATHS, ac as RESOURCE_REQUIREMENTS, ad as ROLE_SECTIONS_BY_KEY, ae as RelationshipType, ag as ResourceOverrides, ai as RowOrientation, aj as SENTINEL_UUID, ak as SIGNATURE_MODES, al as ScopeType, am as SignatureInput, an as SignatureMode, ao as SoilTexture, ap as StockPolicyTier, aq as StockPolicyTierType, ar as StoragePhases, as as StorageType, at as TASK_TYPE_REGISTRY, au as TEMPLATE_SCOPE_LEVELS, aw as TargetEntityType, ax as TaskStatus, ay as TaskType, az as TaskTypeConfig, aA as TemplateScopeLevel, aB as TransactionType, aC as TrellisType, aD as UserPrivilege, aE as UserRole, aG as VigorRating, aH as WaterSource } from './constants-C-6NWp7i.mjs';
|
|
3
3
|
|
|
4
4
|
declare const AgriLogger: {
|
|
5
5
|
log(level: "INFO" | "WARN" | "ERROR", message: string, meta: any): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as AgriCoreSession,
|
|
2
|
-
export { A as ACCESS_RANK, a as ACT, b as AccessLevel, e as ApprovalStatus, f as ApprovalType, g as AuditStatus, h as AuditType, i as AuthScopeFields, B as Base44Id, C as CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
1
|
+
import { d as AgriCoreSession, aF as UserRoleType, ah as ResourceRequirement, c as AccessLevelType, j as AvailableScope, U as InfrastructureFields, S as FormMeta, av as TabConfig, af as ResolvedError } from './constants-C-6NWp7i.js';
|
|
2
|
+
export { A as ACCESS_RANK, a as ACT, b as AccessLevel, e as ApprovalStatus, f as ApprovalType, g as AuditStatus, h as AuditType, i as AuthScopeFields, B as BarcodeNamespace, k as BarcodeNamespaceType, l as BarcodeType, m as BarcodeTypeType, n as Base44Id, C as CAR_SUPPORTED_EVIDENCE_MIME_TYPES, o as CAR_SUPPORTED_SIGNATURE_MIME_TYPES, p as CAT, q as CATEGORY_TABS, r as CORRECTIVE_ACTION_GENERATION_SOURCES, s as CORRECTIVE_ACTION_STATUSES, t as CanonicalId, u as CarSupportedEvidenceMimeType, v as CarSupportedSignatureMimeType, w as CarTemplateFileMetadata, x as CatalogSyncStatus, y as CatalogSyncStatusType, z as CompanyConfig, D as CorrectiveActionCompileTaskMetadata, E as CorrectiveActionGenerationSource, F as CorrectiveActionStatus, G as CropCycleStatus, H as DOCUMENT_DISPLAY_INFO, I as DOCUMENT_MENU_MAP, J as DocumentCategory, K as DocumentType, L as ERROR_DICTIONARY, M as EVERYONE, N as EmitterType, O as EnabledModule, P as FORM_REGISTRY, Q as FacilityType, R as FileUploadTaskType, T as HarvestMethod, V as LinkedStatus, W as MOD, X as MODULE_LABELS, Y as MicroclimateZone, Z as MimeType, _ as ModCode, $ as NettingType, a0 as NormalizedSignatureValue, a1 as NotificationMode, a2 as OrderStatus, a3 as PermissionLevel, a4 as PhysicalState, a5 as PlantingMethod, a6 as ProductType, a7 as ProductTypeType, a8 as ProductUnit, a9 as ProductUnitType, aa as RESOURCE_MODULE_MAP, ab as RESOURCE_PATHS, ac as RESOURCE_REQUIREMENTS, ad as ROLE_SECTIONS_BY_KEY, ae as RelationshipType, ag as ResourceOverrides, ai as RowOrientation, aj as SENTINEL_UUID, ak as SIGNATURE_MODES, al as ScopeType, am as SignatureInput, an as SignatureMode, ao as SoilTexture, ap as StockPolicyTier, aq as StockPolicyTierType, ar as StoragePhases, as as StorageType, at as TASK_TYPE_REGISTRY, au as TEMPLATE_SCOPE_LEVELS, aw as TargetEntityType, ax as TaskStatus, ay as TaskType, az as TaskTypeConfig, aA as TemplateScopeLevel, aB as TransactionType, aC as TrellisType, aD as UserPrivilege, aE as UserRole, aG as VigorRating, aH as WaterSource } from './constants-C-6NWp7i.js';
|
|
3
3
|
|
|
4
4
|
declare const AgriLogger: {
|
|
5
5
|
log(level: "INFO" | "WARN" | "ERROR", message: string, meta: any): void;
|
package/dist/index.js
CHANGED
|
@@ -29,12 +29,15 @@ __export(index_exports, {
|
|
|
29
29
|
ApprovalType: () => ApprovalType,
|
|
30
30
|
AuditStatus: () => AuditStatus,
|
|
31
31
|
AuditType: () => AuditType,
|
|
32
|
+
BarcodeNamespace: () => BarcodeNamespace,
|
|
33
|
+
BarcodeType: () => BarcodeType,
|
|
32
34
|
CAR_SUPPORTED_EVIDENCE_MIME_TYPES: () => CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
33
35
|
CAR_SUPPORTED_SIGNATURE_MIME_TYPES: () => CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
34
36
|
CAT: () => CAT,
|
|
35
37
|
CATEGORY_TABS: () => CATEGORY_TABS,
|
|
36
38
|
CORRECTIVE_ACTION_GENERATION_SOURCES: () => CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
37
39
|
CORRECTIVE_ACTION_STATUSES: () => CORRECTIVE_ACTION_STATUSES,
|
|
40
|
+
CatalogSyncStatus: () => CatalogSyncStatus,
|
|
38
41
|
Converter: () => Converter,
|
|
39
42
|
CropCycleStatus: () => CropCycleStatus,
|
|
40
43
|
DOCUMENT_DISPLAY_INFO: () => DOCUMENT_DISPLAY_INFO,
|
|
@@ -59,6 +62,8 @@ __export(index_exports, {
|
|
|
59
62
|
OrderStatus: () => OrderStatus,
|
|
60
63
|
PhysicalState: () => PhysicalState,
|
|
61
64
|
PlantingMethod: () => PlantingMethod,
|
|
65
|
+
ProductType: () => ProductType,
|
|
66
|
+
ProductUnit: () => ProductUnit,
|
|
62
67
|
RESOURCE_MODULE_MAP: () => RESOURCE_MODULE_MAP,
|
|
63
68
|
RESOURCE_PATHS: () => RESOURCE_PATHS,
|
|
64
69
|
RESOURCE_REQUIREMENTS: () => RESOURCE_REQUIREMENTS,
|
|
@@ -68,6 +73,8 @@ __export(index_exports, {
|
|
|
68
73
|
SENTINEL_UUID: () => SENTINEL_UUID,
|
|
69
74
|
SIGNATURE_MODES: () => SIGNATURE_MODES,
|
|
70
75
|
SoilTexture: () => SoilTexture,
|
|
76
|
+
StockPolicyTier: () => StockPolicyTier,
|
|
77
|
+
StoragePhases: () => StoragePhases,
|
|
71
78
|
TASK_TYPE_REGISTRY: () => TASK_TYPE_REGISTRY,
|
|
72
79
|
TEMPLATE_SCOPE_LEVELS: () => TEMPLATE_SCOPE_LEVELS,
|
|
73
80
|
TargetEntityType: () => TargetEntityType,
|
|
@@ -1054,6 +1061,57 @@ var CAR_SUPPORTED_SIGNATURE_MIME_TYPES = [
|
|
|
1054
1061
|
"image/png",
|
|
1055
1062
|
"image/jpeg"
|
|
1056
1063
|
];
|
|
1064
|
+
var BarcodeType = {
|
|
1065
|
+
GTIN_8: "GTIN-8",
|
|
1066
|
+
GTIN_12: "GTIN-12",
|
|
1067
|
+
GTIN_13: "GTIN-13",
|
|
1068
|
+
GTIN_14: "GTIN-14",
|
|
1069
|
+
CODE_128: "CODE-128",
|
|
1070
|
+
QR: "QR",
|
|
1071
|
+
OTHER: "other"
|
|
1072
|
+
};
|
|
1073
|
+
var BarcodeNamespace = {
|
|
1074
|
+
GLOBAL_STANDARD: "global_standard",
|
|
1075
|
+
INTERNAL_COMPANY: "internal_company"
|
|
1076
|
+
};
|
|
1077
|
+
var ProductType = {
|
|
1078
|
+
CARTON: "carton",
|
|
1079
|
+
TRAY: "tray",
|
|
1080
|
+
LINER: "liner",
|
|
1081
|
+
LABEL: "label",
|
|
1082
|
+
TAPE: "tape",
|
|
1083
|
+
STRAPPING: "strapping",
|
|
1084
|
+
PALLET: "pallet",
|
|
1085
|
+
STRETCH_WRAP: "stretch_wrap",
|
|
1086
|
+
OTHER: "other"
|
|
1087
|
+
};
|
|
1088
|
+
var ProductUnit = {
|
|
1089
|
+
UNITS: "units",
|
|
1090
|
+
BOXES: "boxes",
|
|
1091
|
+
ROLLS: "rolls",
|
|
1092
|
+
PALLETS: "pallets",
|
|
1093
|
+
KG: "kg"
|
|
1094
|
+
};
|
|
1095
|
+
var CatalogSyncStatus = {
|
|
1096
|
+
UNVERIFIED: "unverified",
|
|
1097
|
+
PENDING_REVIEW: "pending_review",
|
|
1098
|
+
MATCHED: "matched",
|
|
1099
|
+
REJECTED: "rejected"
|
|
1100
|
+
};
|
|
1101
|
+
var StoragePhases = {
|
|
1102
|
+
RECEIVING: "receiving",
|
|
1103
|
+
BULK_STORAGE: "bulk_storage",
|
|
1104
|
+
PICK_FACE: "pick_face",
|
|
1105
|
+
PRODUCTION_LINE: "production_line",
|
|
1106
|
+
QUARANTINE: "quarantine",
|
|
1107
|
+
RETURNS: "returns"
|
|
1108
|
+
};
|
|
1109
|
+
var StockPolicyTier = {
|
|
1110
|
+
FLAT: 0,
|
|
1111
|
+
BY_FACILITY: 1,
|
|
1112
|
+
BY_STORAGE_PHASE: 2,
|
|
1113
|
+
BY_LOCATION: 3
|
|
1114
|
+
};
|
|
1057
1115
|
|
|
1058
1116
|
// src/index.ts
|
|
1059
1117
|
var AppError = class extends Error {
|
|
@@ -1383,12 +1441,15 @@ function calculateFileMetadataMatch(criteria, fileMetadata, auditContext) {
|
|
|
1383
1441
|
ApprovalType,
|
|
1384
1442
|
AuditStatus,
|
|
1385
1443
|
AuditType,
|
|
1444
|
+
BarcodeNamespace,
|
|
1445
|
+
BarcodeType,
|
|
1386
1446
|
CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
1387
1447
|
CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
1388
1448
|
CAT,
|
|
1389
1449
|
CATEGORY_TABS,
|
|
1390
1450
|
CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
1391
1451
|
CORRECTIVE_ACTION_STATUSES,
|
|
1452
|
+
CatalogSyncStatus,
|
|
1392
1453
|
Converter,
|
|
1393
1454
|
CropCycleStatus,
|
|
1394
1455
|
DOCUMENT_DISPLAY_INFO,
|
|
@@ -1413,6 +1474,8 @@ function calculateFileMetadataMatch(criteria, fileMetadata, auditContext) {
|
|
|
1413
1474
|
OrderStatus,
|
|
1414
1475
|
PhysicalState,
|
|
1415
1476
|
PlantingMethod,
|
|
1477
|
+
ProductType,
|
|
1478
|
+
ProductUnit,
|
|
1416
1479
|
RESOURCE_MODULE_MAP,
|
|
1417
1480
|
RESOURCE_PATHS,
|
|
1418
1481
|
RESOURCE_REQUIREMENTS,
|
|
@@ -1422,6 +1485,8 @@ function calculateFileMetadataMatch(criteria, fileMetadata, auditContext) {
|
|
|
1422
1485
|
SENTINEL_UUID,
|
|
1423
1486
|
SIGNATURE_MODES,
|
|
1424
1487
|
SoilTexture,
|
|
1488
|
+
StockPolicyTier,
|
|
1489
|
+
StoragePhases,
|
|
1425
1490
|
TASK_TYPE_REGISTRY,
|
|
1426
1491
|
TEMPLATE_SCOPE_LEVELS,
|
|
1427
1492
|
TargetEntityType,
|
package/dist/index.mjs
CHANGED
|
@@ -6,12 +6,15 @@ import {
|
|
|
6
6
|
ApprovalType,
|
|
7
7
|
AuditStatus,
|
|
8
8
|
AuditType,
|
|
9
|
+
BarcodeNamespace,
|
|
10
|
+
BarcodeType,
|
|
9
11
|
CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
10
12
|
CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
11
13
|
CAT,
|
|
12
14
|
CATEGORY_TABS,
|
|
13
15
|
CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
14
16
|
CORRECTIVE_ACTION_STATUSES,
|
|
17
|
+
CatalogSyncStatus,
|
|
15
18
|
CropCycleStatus,
|
|
16
19
|
DOCUMENT_DISPLAY_INFO,
|
|
17
20
|
DOCUMENT_MENU_MAP,
|
|
@@ -34,6 +37,8 @@ import {
|
|
|
34
37
|
OrderStatus,
|
|
35
38
|
PhysicalState,
|
|
36
39
|
PlantingMethod,
|
|
40
|
+
ProductType,
|
|
41
|
+
ProductUnit,
|
|
37
42
|
RESOURCE_MODULE_MAP,
|
|
38
43
|
RESOURCE_PATHS,
|
|
39
44
|
RESOURCE_REQUIREMENTS,
|
|
@@ -43,6 +48,8 @@ import {
|
|
|
43
48
|
SENTINEL_UUID,
|
|
44
49
|
SIGNATURE_MODES,
|
|
45
50
|
SoilTexture,
|
|
51
|
+
StockPolicyTier,
|
|
52
|
+
StoragePhases,
|
|
46
53
|
TASK_TYPE_REGISTRY,
|
|
47
54
|
TEMPLATE_SCOPE_LEVELS,
|
|
48
55
|
TargetEntityType,
|
|
@@ -54,7 +61,7 @@ import {
|
|
|
54
61
|
UserRole,
|
|
55
62
|
VigorRating,
|
|
56
63
|
WaterSource
|
|
57
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-4WNJP4C3.mjs";
|
|
58
65
|
|
|
59
66
|
// src/index.ts
|
|
60
67
|
import { jwtVerify } from "jose";
|
|
@@ -572,12 +579,15 @@ export {
|
|
|
572
579
|
ApprovalType,
|
|
573
580
|
AuditStatus,
|
|
574
581
|
AuditType,
|
|
582
|
+
BarcodeNamespace,
|
|
583
|
+
BarcodeType,
|
|
575
584
|
CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
576
585
|
CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
577
586
|
CAT,
|
|
578
587
|
CATEGORY_TABS,
|
|
579
588
|
CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
580
589
|
CORRECTIVE_ACTION_STATUSES,
|
|
590
|
+
CatalogSyncStatus,
|
|
581
591
|
Converter,
|
|
582
592
|
CropCycleStatus,
|
|
583
593
|
DOCUMENT_DISPLAY_INFO,
|
|
@@ -602,6 +612,8 @@ export {
|
|
|
602
612
|
OrderStatus,
|
|
603
613
|
PhysicalState,
|
|
604
614
|
PlantingMethod,
|
|
615
|
+
ProductType,
|
|
616
|
+
ProductUnit,
|
|
605
617
|
RESOURCE_MODULE_MAP,
|
|
606
618
|
RESOURCE_PATHS,
|
|
607
619
|
RESOURCE_REQUIREMENTS,
|
|
@@ -611,6 +623,8 @@ export {
|
|
|
611
623
|
SENTINEL_UUID,
|
|
612
624
|
SIGNATURE_MODES,
|
|
613
625
|
SoilTexture,
|
|
626
|
+
StockPolicyTier,
|
|
627
|
+
StoragePhases,
|
|
614
628
|
TASK_TYPE_REGISTRY,
|
|
615
629
|
TEMPLATE_SCOPE_LEVELS,
|
|
616
630
|
TargetEntityType,
|