@litusarchieve18/agricore-utils 1.0.15 → 1.0.16
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 +2 -0
- package/dist/{chunk-LYIT2TMM.mjs → chunk-YE7Q7OFU.mjs} +52 -1
- package/dist/{constants-DOmJizGn.d.mts → constants-DRlh_p--.d.mts} +54 -3
- package/dist/{constants-DOmJizGn.d.ts → constants-DRlh_p--.d.ts} +54 -3
- package/dist/constants.d.mts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +57 -0
- package/dist/constants.mjs +13 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +57 -0
- package/dist/index.mjs +13 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -183,6 +183,8 @@ Run the publish command:
|
|
|
183
183
|
Bash
|
|
184
184
|
npm publish --access public
|
|
185
185
|
📝 Version History
|
|
186
|
+
V1.0.16 — BarcodeType, BarcodeNamespace, ProductType, ProductUnit, CatalogSyncStatus, StorageTier
|
|
187
|
+
|
|
186
188
|
V1.0.15 — add some standardized enum and types for CAR
|
|
187
189
|
|
|
188
190
|
V1.0.14 — add DOCUMENT_DISPLAY_INFO do manage the grouping and a little description for UI
|
|
@@ -755,6 +755,51 @@ 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 StorageTier = {
|
|
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
|
+
};
|
|
758
803
|
|
|
759
804
|
export {
|
|
760
805
|
MOD,
|
|
@@ -811,5 +856,11 @@ export {
|
|
|
811
856
|
TEMPLATE_SCOPE_LEVELS,
|
|
812
857
|
CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
813
858
|
CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
814
|
-
CAR_SUPPORTED_SIGNATURE_MIME_TYPES
|
|
859
|
+
CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
860
|
+
BarcodeType,
|
|
861
|
+
BarcodeNamespace,
|
|
862
|
+
ProductType,
|
|
863
|
+
ProductUnit,
|
|
864
|
+
CatalogSyncStatus,
|
|
865
|
+
StorageTier
|
|
815
866
|
};
|
|
@@ -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,12 @@ 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 StorageTierType = typeof StorageTier[keyof typeof StorageTier];
|
|
155
163
|
|
|
156
164
|
declare const MOD: {
|
|
157
165
|
readonly OPERATIONS: "OPR";
|
|
@@ -195,7 +203,6 @@ declare const UserRole: {
|
|
|
195
203
|
readonly LEADING_HAND: "leadingHand";
|
|
196
204
|
readonly WORKER: "worker";
|
|
197
205
|
};
|
|
198
|
-
type UserRoleType = typeof UserRole[keyof typeof UserRole];
|
|
199
206
|
declare const UserPrivilege: {
|
|
200
207
|
readonly FINANCE: "finance";
|
|
201
208
|
readonly HR: "hr";
|
|
@@ -208,7 +215,6 @@ declare const AccessLevel: {
|
|
|
208
215
|
readonly READ: "READ";
|
|
209
216
|
readonly WRITE: "WRITE";
|
|
210
217
|
};
|
|
211
|
-
type AccessLevelType = keyof typeof AccessLevel;
|
|
212
218
|
declare const EnabledModule: {
|
|
213
219
|
readonly FARM_MANAGEMENT: "farm_management";
|
|
214
220
|
readonly PACKHOUSE: "packhouse";
|
|
@@ -548,5 +554,50 @@ declare const CAR_SUPPORTED_EVIDENCE_MIME_TYPES: readonly ["application/pdf", "i
|
|
|
548
554
|
* Drawn signatures usually become PNG; uploaded signatures should stay image-only.
|
|
549
555
|
*/
|
|
550
556
|
declare const CAR_SUPPORTED_SIGNATURE_MIME_TYPES: readonly ["image/png", "image/jpeg"];
|
|
557
|
+
declare const BarcodeType: {
|
|
558
|
+
readonly GTIN_8: "GTIN-8";
|
|
559
|
+
readonly GTIN_12: "GTIN-12";
|
|
560
|
+
readonly GTIN_13: "GTIN-13";
|
|
561
|
+
readonly GTIN_14: "GTIN-14";
|
|
562
|
+
readonly CODE_128: "CODE-128";
|
|
563
|
+
readonly QR: "QR";
|
|
564
|
+
readonly OTHER: "other";
|
|
565
|
+
};
|
|
566
|
+
declare const BarcodeNamespace: {
|
|
567
|
+
readonly GLOBAL_STANDARD: "global_standard";
|
|
568
|
+
readonly INTERNAL_COMPANY: "internal_company";
|
|
569
|
+
};
|
|
570
|
+
declare const ProductType: {
|
|
571
|
+
readonly CARTON: "carton";
|
|
572
|
+
readonly TRAY: "tray";
|
|
573
|
+
readonly LINER: "liner";
|
|
574
|
+
readonly LABEL: "label";
|
|
575
|
+
readonly TAPE: "tape";
|
|
576
|
+
readonly STRAPPING: "strapping";
|
|
577
|
+
readonly PALLET: "pallet";
|
|
578
|
+
readonly STRETCH_WRAP: "stretch_wrap";
|
|
579
|
+
readonly OTHER: "other";
|
|
580
|
+
};
|
|
581
|
+
declare const ProductUnit: {
|
|
582
|
+
readonly UNITS: "units";
|
|
583
|
+
readonly BOXES: "boxes";
|
|
584
|
+
readonly ROLLS: "rolls";
|
|
585
|
+
readonly PALLETS: "pallets";
|
|
586
|
+
readonly KG: "kg";
|
|
587
|
+
};
|
|
588
|
+
declare const CatalogSyncStatus: {
|
|
589
|
+
readonly UNVERIFIED: "unverified";
|
|
590
|
+
readonly PENDING_REVIEW: "pending_review";
|
|
591
|
+
readonly MATCHED: "matched";
|
|
592
|
+
readonly REJECTED: "rejected";
|
|
593
|
+
};
|
|
594
|
+
declare const StorageTier: {
|
|
595
|
+
readonly RECEIVING: "receiving";
|
|
596
|
+
readonly BULK_STORAGE: "bulk_storage";
|
|
597
|
+
readonly PICK_FACE: "pick_face";
|
|
598
|
+
readonly PRODUCTION_LINE: "production_line";
|
|
599
|
+
readonly QUARANTINE: "quarantine";
|
|
600
|
+
readonly RETURNS: "returns";
|
|
601
|
+
};
|
|
551
602
|
|
|
552
|
-
export {
|
|
603
|
+
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, TrellisType as aA, UserPrivilege as aB, UserRole as aC, type UserRoleType as aD, VigorRating as aE, WaterSource as aF, 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, StorageTier as ap, type StorageTierType as aq, TASK_TYPE_REGISTRY as ar, TEMPLATE_SCOPE_LEVELS as as, type TabConfig as at, TargetEntityType as au, TaskStatus as av, TaskType as aw, type TaskTypeConfig as ax, type TemplateScopeLevel as ay, TransactionType 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,12 @@ 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 StorageTierType = typeof StorageTier[keyof typeof StorageTier];
|
|
155
163
|
|
|
156
164
|
declare const MOD: {
|
|
157
165
|
readonly OPERATIONS: "OPR";
|
|
@@ -195,7 +203,6 @@ declare const UserRole: {
|
|
|
195
203
|
readonly LEADING_HAND: "leadingHand";
|
|
196
204
|
readonly WORKER: "worker";
|
|
197
205
|
};
|
|
198
|
-
type UserRoleType = typeof UserRole[keyof typeof UserRole];
|
|
199
206
|
declare const UserPrivilege: {
|
|
200
207
|
readonly FINANCE: "finance";
|
|
201
208
|
readonly HR: "hr";
|
|
@@ -208,7 +215,6 @@ declare const AccessLevel: {
|
|
|
208
215
|
readonly READ: "READ";
|
|
209
216
|
readonly WRITE: "WRITE";
|
|
210
217
|
};
|
|
211
|
-
type AccessLevelType = keyof typeof AccessLevel;
|
|
212
218
|
declare const EnabledModule: {
|
|
213
219
|
readonly FARM_MANAGEMENT: "farm_management";
|
|
214
220
|
readonly PACKHOUSE: "packhouse";
|
|
@@ -548,5 +554,50 @@ declare const CAR_SUPPORTED_EVIDENCE_MIME_TYPES: readonly ["application/pdf", "i
|
|
|
548
554
|
* Drawn signatures usually become PNG; uploaded signatures should stay image-only.
|
|
549
555
|
*/
|
|
550
556
|
declare const CAR_SUPPORTED_SIGNATURE_MIME_TYPES: readonly ["image/png", "image/jpeg"];
|
|
557
|
+
declare const BarcodeType: {
|
|
558
|
+
readonly GTIN_8: "GTIN-8";
|
|
559
|
+
readonly GTIN_12: "GTIN-12";
|
|
560
|
+
readonly GTIN_13: "GTIN-13";
|
|
561
|
+
readonly GTIN_14: "GTIN-14";
|
|
562
|
+
readonly CODE_128: "CODE-128";
|
|
563
|
+
readonly QR: "QR";
|
|
564
|
+
readonly OTHER: "other";
|
|
565
|
+
};
|
|
566
|
+
declare const BarcodeNamespace: {
|
|
567
|
+
readonly GLOBAL_STANDARD: "global_standard";
|
|
568
|
+
readonly INTERNAL_COMPANY: "internal_company";
|
|
569
|
+
};
|
|
570
|
+
declare const ProductType: {
|
|
571
|
+
readonly CARTON: "carton";
|
|
572
|
+
readonly TRAY: "tray";
|
|
573
|
+
readonly LINER: "liner";
|
|
574
|
+
readonly LABEL: "label";
|
|
575
|
+
readonly TAPE: "tape";
|
|
576
|
+
readonly STRAPPING: "strapping";
|
|
577
|
+
readonly PALLET: "pallet";
|
|
578
|
+
readonly STRETCH_WRAP: "stretch_wrap";
|
|
579
|
+
readonly OTHER: "other";
|
|
580
|
+
};
|
|
581
|
+
declare const ProductUnit: {
|
|
582
|
+
readonly UNITS: "units";
|
|
583
|
+
readonly BOXES: "boxes";
|
|
584
|
+
readonly ROLLS: "rolls";
|
|
585
|
+
readonly PALLETS: "pallets";
|
|
586
|
+
readonly KG: "kg";
|
|
587
|
+
};
|
|
588
|
+
declare const CatalogSyncStatus: {
|
|
589
|
+
readonly UNVERIFIED: "unverified";
|
|
590
|
+
readonly PENDING_REVIEW: "pending_review";
|
|
591
|
+
readonly MATCHED: "matched";
|
|
592
|
+
readonly REJECTED: "rejected";
|
|
593
|
+
};
|
|
594
|
+
declare const StorageTier: {
|
|
595
|
+
readonly RECEIVING: "receiving";
|
|
596
|
+
readonly BULK_STORAGE: "bulk_storage";
|
|
597
|
+
readonly PICK_FACE: "pick_face";
|
|
598
|
+
readonly PRODUCTION_LINE: "production_line";
|
|
599
|
+
readonly QUARANTINE: "quarantine";
|
|
600
|
+
readonly RETURNS: "returns";
|
|
601
|
+
};
|
|
551
602
|
|
|
552
|
-
export {
|
|
603
|
+
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, TrellisType as aA, UserPrivilege as aB, UserRole as aC, type UserRoleType as aD, VigorRating as aE, WaterSource as aF, 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, StorageTier as ap, type StorageTierType as aq, TASK_TYPE_REGISTRY as ar, TEMPLATE_SCOPE_LEVELS as as, type TabConfig as at, TargetEntityType as au, TaskStatus as av, TaskType as aw, type TaskTypeConfig as ax, type TemplateScopeLevel as ay, TransactionType 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 StorageTier, ar as TASK_TYPE_REGISTRY, as as TEMPLATE_SCOPE_LEVELS, au as TargetEntityType, av as TaskStatus, aw as TaskType, az as TransactionType, aA as TrellisType, aB as UserPrivilege, aC as UserRole, aE as VigorRating, aF as WaterSource } from './constants-DRlh_p--.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 StorageTier, ar as TASK_TYPE_REGISTRY, as as TEMPLATE_SCOPE_LEVELS, au as TargetEntityType, av as TaskStatus, aw as TaskType, az as TransactionType, aA as TrellisType, aB as UserPrivilege, aC as UserRole, aE as VigorRating, aF as WaterSource } from './constants-DRlh_p--.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,7 @@ __export(constants_exports, {
|
|
|
64
69
|
SENTINEL_UUID: () => SENTINEL_UUID,
|
|
65
70
|
SIGNATURE_MODES: () => SIGNATURE_MODES,
|
|
66
71
|
SoilTexture: () => SoilTexture,
|
|
72
|
+
StorageTier: () => StorageTier,
|
|
67
73
|
TASK_TYPE_REGISTRY: () => TASK_TYPE_REGISTRY,
|
|
68
74
|
TEMPLATE_SCOPE_LEVELS: () => TEMPLATE_SCOPE_LEVELS,
|
|
69
75
|
TargetEntityType: () => TargetEntityType,
|
|
@@ -833,6 +839,51 @@ var CAR_SUPPORTED_SIGNATURE_MIME_TYPES = [
|
|
|
833
839
|
"image/png",
|
|
834
840
|
"image/jpeg"
|
|
835
841
|
];
|
|
842
|
+
var BarcodeType = {
|
|
843
|
+
GTIN_8: "GTIN-8",
|
|
844
|
+
GTIN_12: "GTIN-12",
|
|
845
|
+
GTIN_13: "GTIN-13",
|
|
846
|
+
GTIN_14: "GTIN-14",
|
|
847
|
+
CODE_128: "CODE-128",
|
|
848
|
+
QR: "QR",
|
|
849
|
+
OTHER: "other"
|
|
850
|
+
};
|
|
851
|
+
var BarcodeNamespace = {
|
|
852
|
+
GLOBAL_STANDARD: "global_standard",
|
|
853
|
+
INTERNAL_COMPANY: "internal_company"
|
|
854
|
+
};
|
|
855
|
+
var ProductType = {
|
|
856
|
+
CARTON: "carton",
|
|
857
|
+
TRAY: "tray",
|
|
858
|
+
LINER: "liner",
|
|
859
|
+
LABEL: "label",
|
|
860
|
+
TAPE: "tape",
|
|
861
|
+
STRAPPING: "strapping",
|
|
862
|
+
PALLET: "pallet",
|
|
863
|
+
STRETCH_WRAP: "stretch_wrap",
|
|
864
|
+
OTHER: "other"
|
|
865
|
+
};
|
|
866
|
+
var ProductUnit = {
|
|
867
|
+
UNITS: "units",
|
|
868
|
+
BOXES: "boxes",
|
|
869
|
+
ROLLS: "rolls",
|
|
870
|
+
PALLETS: "pallets",
|
|
871
|
+
KG: "kg"
|
|
872
|
+
};
|
|
873
|
+
var CatalogSyncStatus = {
|
|
874
|
+
UNVERIFIED: "unverified",
|
|
875
|
+
PENDING_REVIEW: "pending_review",
|
|
876
|
+
MATCHED: "matched",
|
|
877
|
+
REJECTED: "rejected"
|
|
878
|
+
};
|
|
879
|
+
var StorageTier = {
|
|
880
|
+
RECEIVING: "receiving",
|
|
881
|
+
BULK_STORAGE: "bulk_storage",
|
|
882
|
+
PICK_FACE: "pick_face",
|
|
883
|
+
PRODUCTION_LINE: "production_line",
|
|
884
|
+
QUARANTINE: "quarantine",
|
|
885
|
+
RETURNS: "returns"
|
|
886
|
+
};
|
|
836
887
|
// Annotate the CommonJS export names for ESM import in node:
|
|
837
888
|
0 && (module.exports = {
|
|
838
889
|
ACCESS_RANK,
|
|
@@ -842,12 +893,15 @@ var CAR_SUPPORTED_SIGNATURE_MIME_TYPES = [
|
|
|
842
893
|
ApprovalType,
|
|
843
894
|
AuditStatus,
|
|
844
895
|
AuditType,
|
|
896
|
+
BarcodeNamespace,
|
|
897
|
+
BarcodeType,
|
|
845
898
|
CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
846
899
|
CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
847
900
|
CAT,
|
|
848
901
|
CATEGORY_TABS,
|
|
849
902
|
CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
850
903
|
CORRECTIVE_ACTION_STATUSES,
|
|
904
|
+
CatalogSyncStatus,
|
|
851
905
|
CropCycleStatus,
|
|
852
906
|
DOCUMENT_DISPLAY_INFO,
|
|
853
907
|
DOCUMENT_MENU_MAP,
|
|
@@ -870,6 +924,8 @@ var CAR_SUPPORTED_SIGNATURE_MIME_TYPES = [
|
|
|
870
924
|
OrderStatus,
|
|
871
925
|
PhysicalState,
|
|
872
926
|
PlantingMethod,
|
|
927
|
+
ProductType,
|
|
928
|
+
ProductUnit,
|
|
873
929
|
RESOURCE_MODULE_MAP,
|
|
874
930
|
RESOURCE_PATHS,
|
|
875
931
|
RESOURCE_REQUIREMENTS,
|
|
@@ -879,6 +935,7 @@ var CAR_SUPPORTED_SIGNATURE_MIME_TYPES = [
|
|
|
879
935
|
SENTINEL_UUID,
|
|
880
936
|
SIGNATURE_MODES,
|
|
881
937
|
SoilTexture,
|
|
938
|
+
StorageTier,
|
|
882
939
|
TASK_TYPE_REGISTRY,
|
|
883
940
|
TEMPLATE_SCOPE_LEVELS,
|
|
884
941
|
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,7 @@ import {
|
|
|
43
48
|
SENTINEL_UUID,
|
|
44
49
|
SIGNATURE_MODES,
|
|
45
50
|
SoilTexture,
|
|
51
|
+
StorageTier,
|
|
46
52
|
TASK_TYPE_REGISTRY,
|
|
47
53
|
TEMPLATE_SCOPE_LEVELS,
|
|
48
54
|
TargetEntityType,
|
|
@@ -54,7 +60,7 @@ import {
|
|
|
54
60
|
UserRole,
|
|
55
61
|
VigorRating,
|
|
56
62
|
WaterSource
|
|
57
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-YE7Q7OFU.mjs";
|
|
58
64
|
export {
|
|
59
65
|
ACCESS_RANK,
|
|
60
66
|
ACT,
|
|
@@ -63,12 +69,15 @@ export {
|
|
|
63
69
|
ApprovalType,
|
|
64
70
|
AuditStatus,
|
|
65
71
|
AuditType,
|
|
72
|
+
BarcodeNamespace,
|
|
73
|
+
BarcodeType,
|
|
66
74
|
CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
67
75
|
CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
68
76
|
CAT,
|
|
69
77
|
CATEGORY_TABS,
|
|
70
78
|
CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
71
79
|
CORRECTIVE_ACTION_STATUSES,
|
|
80
|
+
CatalogSyncStatus,
|
|
72
81
|
CropCycleStatus,
|
|
73
82
|
DOCUMENT_DISPLAY_INFO,
|
|
74
83
|
DOCUMENT_MENU_MAP,
|
|
@@ -91,6 +100,8 @@ export {
|
|
|
91
100
|
OrderStatus,
|
|
92
101
|
PhysicalState,
|
|
93
102
|
PlantingMethod,
|
|
103
|
+
ProductType,
|
|
104
|
+
ProductUnit,
|
|
94
105
|
RESOURCE_MODULE_MAP,
|
|
95
106
|
RESOURCE_PATHS,
|
|
96
107
|
RESOURCE_REQUIREMENTS,
|
|
@@ -100,6 +111,7 @@ export {
|
|
|
100
111
|
SENTINEL_UUID,
|
|
101
112
|
SIGNATURE_MODES,
|
|
102
113
|
SoilTexture,
|
|
114
|
+
StorageTier,
|
|
103
115
|
TASK_TYPE_REGISTRY,
|
|
104
116
|
TEMPLATE_SCOPE_LEVELS,
|
|
105
117
|
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, aD as UserRoleType, ah as ResourceRequirement, c as AccessLevelType, j as AvailableScope, U as InfrastructureFields, S as FormMeta, at as TabConfig, af as ResolvedError } from './constants-DRlh_p--.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 StorageTier, aq as StorageTierType, ar as TASK_TYPE_REGISTRY, as as TEMPLATE_SCOPE_LEVELS, au as TargetEntityType, av as TaskStatus, aw as TaskType, ax as TaskTypeConfig, ay as TemplateScopeLevel, az as TransactionType, aA as TrellisType, aB as UserPrivilege, aC as UserRole, aE as VigorRating, aF as WaterSource } from './constants-DRlh_p--.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, aD as UserRoleType, ah as ResourceRequirement, c as AccessLevelType, j as AvailableScope, U as InfrastructureFields, S as FormMeta, at as TabConfig, af as ResolvedError } from './constants-DRlh_p--.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 StorageTier, aq as StorageTierType, ar as TASK_TYPE_REGISTRY, as as TEMPLATE_SCOPE_LEVELS, au as TargetEntityType, av as TaskStatus, aw as TaskType, ax as TaskTypeConfig, ay as TemplateScopeLevel, az as TransactionType, aA as TrellisType, aB as UserPrivilege, aC as UserRole, aE as VigorRating, aF as WaterSource } from './constants-DRlh_p--.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,7 @@ __export(index_exports, {
|
|
|
68
73
|
SENTINEL_UUID: () => SENTINEL_UUID,
|
|
69
74
|
SIGNATURE_MODES: () => SIGNATURE_MODES,
|
|
70
75
|
SoilTexture: () => SoilTexture,
|
|
76
|
+
StorageTier: () => StorageTier,
|
|
71
77
|
TASK_TYPE_REGISTRY: () => TASK_TYPE_REGISTRY,
|
|
72
78
|
TEMPLATE_SCOPE_LEVELS: () => TEMPLATE_SCOPE_LEVELS,
|
|
73
79
|
TargetEntityType: () => TargetEntityType,
|
|
@@ -1054,6 +1060,51 @@ var CAR_SUPPORTED_SIGNATURE_MIME_TYPES = [
|
|
|
1054
1060
|
"image/png",
|
|
1055
1061
|
"image/jpeg"
|
|
1056
1062
|
];
|
|
1063
|
+
var BarcodeType = {
|
|
1064
|
+
GTIN_8: "GTIN-8",
|
|
1065
|
+
GTIN_12: "GTIN-12",
|
|
1066
|
+
GTIN_13: "GTIN-13",
|
|
1067
|
+
GTIN_14: "GTIN-14",
|
|
1068
|
+
CODE_128: "CODE-128",
|
|
1069
|
+
QR: "QR",
|
|
1070
|
+
OTHER: "other"
|
|
1071
|
+
};
|
|
1072
|
+
var BarcodeNamespace = {
|
|
1073
|
+
GLOBAL_STANDARD: "global_standard",
|
|
1074
|
+
INTERNAL_COMPANY: "internal_company"
|
|
1075
|
+
};
|
|
1076
|
+
var ProductType = {
|
|
1077
|
+
CARTON: "carton",
|
|
1078
|
+
TRAY: "tray",
|
|
1079
|
+
LINER: "liner",
|
|
1080
|
+
LABEL: "label",
|
|
1081
|
+
TAPE: "tape",
|
|
1082
|
+
STRAPPING: "strapping",
|
|
1083
|
+
PALLET: "pallet",
|
|
1084
|
+
STRETCH_WRAP: "stretch_wrap",
|
|
1085
|
+
OTHER: "other"
|
|
1086
|
+
};
|
|
1087
|
+
var ProductUnit = {
|
|
1088
|
+
UNITS: "units",
|
|
1089
|
+
BOXES: "boxes",
|
|
1090
|
+
ROLLS: "rolls",
|
|
1091
|
+
PALLETS: "pallets",
|
|
1092
|
+
KG: "kg"
|
|
1093
|
+
};
|
|
1094
|
+
var CatalogSyncStatus = {
|
|
1095
|
+
UNVERIFIED: "unverified",
|
|
1096
|
+
PENDING_REVIEW: "pending_review",
|
|
1097
|
+
MATCHED: "matched",
|
|
1098
|
+
REJECTED: "rejected"
|
|
1099
|
+
};
|
|
1100
|
+
var StorageTier = {
|
|
1101
|
+
RECEIVING: "receiving",
|
|
1102
|
+
BULK_STORAGE: "bulk_storage",
|
|
1103
|
+
PICK_FACE: "pick_face",
|
|
1104
|
+
PRODUCTION_LINE: "production_line",
|
|
1105
|
+
QUARANTINE: "quarantine",
|
|
1106
|
+
RETURNS: "returns"
|
|
1107
|
+
};
|
|
1057
1108
|
|
|
1058
1109
|
// src/index.ts
|
|
1059
1110
|
var AppError = class extends Error {
|
|
@@ -1383,12 +1434,15 @@ function calculateFileMetadataMatch(criteria, fileMetadata, auditContext) {
|
|
|
1383
1434
|
ApprovalType,
|
|
1384
1435
|
AuditStatus,
|
|
1385
1436
|
AuditType,
|
|
1437
|
+
BarcodeNamespace,
|
|
1438
|
+
BarcodeType,
|
|
1386
1439
|
CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
1387
1440
|
CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
1388
1441
|
CAT,
|
|
1389
1442
|
CATEGORY_TABS,
|
|
1390
1443
|
CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
1391
1444
|
CORRECTIVE_ACTION_STATUSES,
|
|
1445
|
+
CatalogSyncStatus,
|
|
1392
1446
|
Converter,
|
|
1393
1447
|
CropCycleStatus,
|
|
1394
1448
|
DOCUMENT_DISPLAY_INFO,
|
|
@@ -1413,6 +1467,8 @@ function calculateFileMetadataMatch(criteria, fileMetadata, auditContext) {
|
|
|
1413
1467
|
OrderStatus,
|
|
1414
1468
|
PhysicalState,
|
|
1415
1469
|
PlantingMethod,
|
|
1470
|
+
ProductType,
|
|
1471
|
+
ProductUnit,
|
|
1416
1472
|
RESOURCE_MODULE_MAP,
|
|
1417
1473
|
RESOURCE_PATHS,
|
|
1418
1474
|
RESOURCE_REQUIREMENTS,
|
|
@@ -1422,6 +1478,7 @@ function calculateFileMetadataMatch(criteria, fileMetadata, auditContext) {
|
|
|
1422
1478
|
SENTINEL_UUID,
|
|
1423
1479
|
SIGNATURE_MODES,
|
|
1424
1480
|
SoilTexture,
|
|
1481
|
+
StorageTier,
|
|
1425
1482
|
TASK_TYPE_REGISTRY,
|
|
1426
1483
|
TEMPLATE_SCOPE_LEVELS,
|
|
1427
1484
|
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,7 @@ import {
|
|
|
43
48
|
SENTINEL_UUID,
|
|
44
49
|
SIGNATURE_MODES,
|
|
45
50
|
SoilTexture,
|
|
51
|
+
StorageTier,
|
|
46
52
|
TASK_TYPE_REGISTRY,
|
|
47
53
|
TEMPLATE_SCOPE_LEVELS,
|
|
48
54
|
TargetEntityType,
|
|
@@ -54,7 +60,7 @@ import {
|
|
|
54
60
|
UserRole,
|
|
55
61
|
VigorRating,
|
|
56
62
|
WaterSource
|
|
57
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-YE7Q7OFU.mjs";
|
|
58
64
|
|
|
59
65
|
// src/index.ts
|
|
60
66
|
import { jwtVerify } from "jose";
|
|
@@ -572,12 +578,15 @@ export {
|
|
|
572
578
|
ApprovalType,
|
|
573
579
|
AuditStatus,
|
|
574
580
|
AuditType,
|
|
581
|
+
BarcodeNamespace,
|
|
582
|
+
BarcodeType,
|
|
575
583
|
CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
576
584
|
CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
577
585
|
CAT,
|
|
578
586
|
CATEGORY_TABS,
|
|
579
587
|
CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
580
588
|
CORRECTIVE_ACTION_STATUSES,
|
|
589
|
+
CatalogSyncStatus,
|
|
581
590
|
Converter,
|
|
582
591
|
CropCycleStatus,
|
|
583
592
|
DOCUMENT_DISPLAY_INFO,
|
|
@@ -602,6 +611,8 @@ export {
|
|
|
602
611
|
OrderStatus,
|
|
603
612
|
PhysicalState,
|
|
604
613
|
PlantingMethod,
|
|
614
|
+
ProductType,
|
|
615
|
+
ProductUnit,
|
|
605
616
|
RESOURCE_MODULE_MAP,
|
|
606
617
|
RESOURCE_PATHS,
|
|
607
618
|
RESOURCE_REQUIREMENTS,
|
|
@@ -611,6 +622,7 @@ export {
|
|
|
611
622
|
SENTINEL_UUID,
|
|
612
623
|
SIGNATURE_MODES,
|
|
613
624
|
SoilTexture,
|
|
625
|
+
StorageTier,
|
|
614
626
|
TASK_TYPE_REGISTRY,
|
|
615
627
|
TEMPLATE_SCOPE_LEVELS,
|
|
616
628
|
TargetEntityType,
|