Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
Merge pull request #984 from crbnos/naveen/inventory-count
Naveen Kashyapd38fb745e3e6
diff --git a/.vscode/settings.json b/.vscode/settings.jsonnew file mode 100644index 0000000000..3c358eff83--- /dev/null+++ b/.vscode/settings.json@@ -0,0 +1,3 @@+{+ "js/ts.tsdk.path": "node_modules/typescript/lib"+}\ No newline at end of filediff --git a/apps/erp/app/components/Editable/EditableNumber.tsx b/apps/erp/app/components/Editable/EditableNumber.tsxindex f6ca68cd84..84e56b2f4c 100644--- a/apps/erp/app/components/Editable/EditableNumber.tsx+++ b/apps/erp/app/components/Editable/EditableNumber.tsx@@ -10,7 +10,11 @@ const EditableNumber =newValue: string,row: T) => Promise<PostgrestSingleResponse<unknown>>,- numberFieldProps?: NumberFieldProps+ numberFieldProps?: NumberFieldProps,+ // `clearable` lets an empty input persist as a cleared value (sent as "") so+ // a nullable column can be reset. Off by default so non-nullable columns keep+ // ignoring empty input.+ options?: { clearable?: boolean }) =>({value,@@ -24,12 +28,20 @@ const EditableNumber ={...numberFieldProps}value={value as number}onChange={(numberValue) => {- if (!Number.isFinite(numberValue) || numberValue === value) return;+ const isEmpty = !Number.isFinite(numberValue);+ if (isEmpty) {+ // Ignore empty unless clearable, and skip the no-op re-clear of an+ // already-empty cell.+ if (!options?.clearable || value === null || value === undefined)+ return;+ } else if (numberValue === value) {+ return;+ }- onUpdate({ [accessorKey]: numberValue });+ onUpdate({ [accessorKey]: isEmpty ? null : numberValue });- // @ts-ignore- mutation(accessorKey, numberValue, row)+ // @ts-ignore - mutation receives the raw cell value ("" clears)+ mutation(accessorKey, isEmpty ? "" : numberValue, row).then(({ error }) => {if (error) {onError();diff --git a/apps/erp/app/components/Table/Table.tsx b/apps/erp/app/components/Table/Table.tsxindex 64222edb92..7dd1346a55 100644--- a/apps/erp/app/components/Table/Table.tsx+++ b/apps/erp/app/components/Table/Table.tsx@@ -102,6 +102,8 @@ interface TableProps<T extends object> {primaryAction?: ReactNode;table?: string;title?: string;+ // Optional node rendered immediately after the title (e.g. a status badge).+ titleBadge?: ReactNode;withInlineEditing?: boolean;withPagination?: boolean;withSavedView?: boolean;@@ -241,6 +243,7 @@ const Table = <T extends object>({primaryAction,table: tableName,title,+ titleBadge,withInlineEditing = false,withPagination = true,withSavedView = false,@@ -897,6 +900,7 @@ const Table = <T extends object>({setEditMode={setEditMode}table={tableName}title={title}+ titleBadge={titleBadge}withInlineEditing={withInlineEditing}withPagination={withPagination}withSavedView={withSavedView}diff --git a/apps/erp/app/components/Table/components/TableHeader.tsx b/apps/erp/app/components/Table/components/TableHeader.tsxindex ede31aa531..7f2c9cd6c5 100644--- a/apps/erp/app/components/Table/components/TableHeader.tsx+++ b/apps/erp/app/components/Table/components/TableHeader.tsx@@ -82,6 +82,7 @@ type HeaderProps<T> = {setEditMode: (editMode: boolean) => void;table?: string;title?: string;+ titleBadge?: ReactNode;withSavedView: boolean;withInlineEditing: boolean;withPagination: boolean;@@ -112,6 +113,7 @@ const TableHeader = <T extends object>({setEditMode,table,title,+ titleBadge,withInlineEditing,withPagination,withSavedView,@@ -167,7 +169,8 @@ const TableHeader = <T extends object>({[t]);- const hideTitleBar = !viewTitle && !primaryAction && !canSaveView;+ const hideTitleBar =+ !viewTitle && !primaryAction && !canSaveView && !titleBadge;return (<div className={cn("w-full flex flex-col", !compact && "mb-8")}>@@ -231,11 +234,12 @@ const TableHeader = <T extends object>({: "px-4 md:px-0 py-6 justify-between bg-card w-full relative")}>- <HStack spacing={1}>+ <HStack spacing={2}><CollapsibleSidebarTrigger />{viewTitle && (<Heading size={compact ? "h3" : "h2"}>{viewTitle}</Heading>)}+ {titleBadge}</HStack><HStack>diff --git a/apps/erp/app/modules/inventory/inventory.models.ts b/apps/erp/app/modules/inventory/inventory.models.tsindex be61dc4883..733cc690ba 100644--- a/apps/erp/app/modules/inventory/inventory.models.ts+++ b/apps/erp/app/modules/inventory/inventory.models.ts@@ -123,6 +123,31 @@ export const trackedEntityExpiryValidator = z.object({.max(500)});+// Header create/update. `storageUnitIds` and `itemType` are the optional scope+// used at creation to generate the count lines; they are not stored columns of+// their own (they live under the header's `scope` JSONB).+export const inventoryCountValidator = z.object({+ id: zfd.text(z.string().optional()),+ locationId: z.string().min(1, { message: "Location is required" }),+ isBlind: zfd.checkbox(),+ notes: zfd.text(z.string().optional()),+ storageUnitIds: zfd.repeatableOfType(z.string()).optional(),+ itemType: zfd.text(z.enum(itemTypes).optional())+});++// Per-line count entry. A blank `countedQuantity` (undefined) means "not counted"+// and is skipped at post — only an explicit 0 zeroes stock. Counted quantities+// are non-negative, which guarantees on-hand never goes negative.+export const inventoryCountLineValidator = z.object({+ id: z.string().min(1),+ countedQuantity: zfd.numeric(+ z+ .number()+ .min(0, { message: "Counted quantity cannot be negative" })+ .optional()+ )+});+export const inventoryAdjustmentValidator = z.object({itemId: z.string().min(1, { message: "Item ID is required" }),locationId: z.string().min(1, { message: "Location is required" }),diff --git a/apps/erp/app/modules/inventory/inventory.service.ts b/apps/erp/app/modules/inventory/inventory.service.tsindex 37b6e5788a..16bcf252e4 100644--- a/apps/erp/app/modules/inventory/inventory.service.ts+++ b/apps/erp/app/modules/inventory/inventory.service.ts@@ -1,5 +1,6 @@import type { Database, Json } from "@carbon/database";import { fetchAllFromTable } from "@carbon/database";+import type { Kysely, KyselyDatabase } from "@carbon/database/client";import type { TrackedEntityAttributes } from "@carbon/utils";import { getLocalTimeZone, now, today } from "@internationalized/date";import type { PostgrestError, SupabaseClient } from "@supabase/supabase-js";@@ -15,6 +16,7 @@ import type {batchPropertyOrderValidator,batchPropertyValidator,inventoryAdjustmentValidator,+ inventoryCountLineValidator,kanbanValidator,pickingListLineValidator,pickingListValidator,@@ -1759,6 +1761,343 @@ export async function insertManualInventoryAdjustment(return client.from("itemLedger").insert([data]).select("*").single();}+// ===========================================================================+// Inventory Count / Cycle Count+// ===========================================================================++export async function getInventoryCounts(+ client: SupabaseClient<Database>,+ companyId: string,+ args: GenericQueryFilters & { search: string | null }+) {+ let query = client+ .from("inventoryCount")+ .select("*", { count: "exact" })+ .eq("companyId", companyId);++ if (args.search) {+ query = query.ilike("inventoryCountId", `%${args.search}%`);+ }++ query = setGenericQueryFilters(query, args, [+ { column: "inventoryCountId", ascending: false }+ ]);+ return query;+}++export async function getInventoryCount(+ client: SupabaseClient<Database>,+ id: string,+ companyId: string+) {+ return client+ .from("inventoryCount")+ .select("*")+ .eq("id", id)+ .eq("companyId", companyId)+ .single();+}++export async function getInventoryCountLines(+ client: SupabaseClient<Database>,+ inventoryCountId: string,+ companyId: string,+ args: GenericQueryFilters & { search: string | null }+) {+ let query = client+ .from("inventoryCountLine")+ .select(+ "*, item!inner(name, readableIdWithRevision, type, unitOfMeasureCode, thumbnailPath)",+ {+ count: "exact"+ }+ )+ .eq("inventoryCountId", inventoryCountId)+ .eq("companyId", companyId);++ if (args.search) {+ // Strip characters that are structural in a PostgREST `.or(...)` filter so+ // the search value can't alter the filter shape.+ const search = args.search.replace(/[,()\\]/g, " ");+ // Search the item's identity (part number / name); the line's own readableId+ // is only the batch/serial and is null for most rows.+ query = query.or(+ `name.ilike.%${search}%,readableIdWithRevision.ilike.%${search}%`,+ { foreignTable: "item" }+ );+ }++ // Snapshot lines all share one insert timestamp, so order by the item's part+ // number for a readable count sheet and fall back to the line id for a stable,+ // deterministic order.+ query = setGenericQueryFilters(query, args, [+ { column: "readableIdWithRevision", ascending: true, foreignTable: "item" },+ { column: "id", ascending: true }+ ]);+ return query;+}++// Aggregate counts for the confirm dialog. Computed server-side so the warnings+// stay accurate regardless of which page of lines is currently loaded.+export async function getInventoryCountLineSummary(+ client: SupabaseClient<Database>,+ inventoryCountId: string,+ companyId: string+) {+ const base = () =>+ client+ .from("inventoryCountLine")+ .select("id", { count: "exact", head: true })+ .eq("inventoryCountId", inventoryCountId)+ .eq("companyId", companyId);++ const [uncounted, variances] = await Promise.all([+ base().is("countedQuantity", null),+ base().not("countedQuantity", "is", null).not("variance", "eq", 0)+ ]);++ return {+ uncounted: uncounted.count ?? 0,+ variances: variances.count ?? 0+ };+}++// Counts are created once and never edited as a header (only their lines and+// status change), so this is insert-only — no upsert/update branch.+export async function insertInventoryCount(+ client: SupabaseClient<Database>,+ inventoryCount: {+ inventoryCountId: string;+ locationId: string;+ isBlind: boolean;+ notes?: string | null;+ scope?: Json;+ companyId: string;+ createdBy: string;+ customFields?: Json;+ }+) {+ return client+ .from("inventoryCount")+ .insert([inventoryCount])+ .select("id")+ .single();+}++export async function deleteInventoryCount(+ client: SupabaseClient<Database>,+ id: string,+ companyId: string+) {+ return client+ .from("inventoryCount")+ .delete()+ .eq("id", id)+ .eq("companyId", companyId);+}++// Snapshot the current on-hand into count lines: one line per+// (item, storage unit, tracked entity) bucket that has any ledger history in+// scope — positive, negative, or net-zero — so the counter can verify expected-+// empty bins and correct discrepancies. On-hand is summed from `itemLedger`+// (status-aware: excludes Rejected, matching `get_inventory_quantities`).+// Idempotent: safe to re-run to re-snapshot while the count is Draft.+export async function generateInventoryCountLines(+ db: Kysely<KyselyDatabase>,+ args: {+ inventoryCountId: string;+ companyId: string;+ locationId: string;+ createdBy: string;+ storageUnitIds?: string[];+ itemType?: string;+ }+) {+ const {+ inventoryCountId,+ companyId,+ locationId,+ createdBy,+ storageUnitIds,+ itemType+ } = args;++ return db.transaction().execute(async (trx) => {+ let aggregate = trx+ .selectFrom("itemLedger")+ .innerJoin("item", "item.id", "itemLedger.itemId")+ .select([+ "itemLedger.itemId as itemId",+ "itemLedger.storageUnitId as storageUnitId",+ "itemLedger.trackedEntityId as trackedEntityId"+ ])+ .select((eb) => eb.fn.sum<number>("itemLedger.quantity").as("quantity"))+ .where("itemLedger.companyId", "=", companyId)+ .where("itemLedger.locationId", "=", locationId)+ // Status-aware on-hand: exclude Rejected stock so `systemQuantity` matches+ // the `get_inventory_quantities` definition of quantityOnHand (which is+ // `SUM(quantity) WHERE trackedEntityStatus IS NULL OR != 'Rejected'`) used+ // everywhere else in the app. Non-tracked rows have a NULL status.+ .where((eb) =>+ eb.or([+ eb("itemLedger.trackedEntityStatus", "is", null),+ eb("itemLedger.trackedEntityStatus", "!=", "Rejected")+ ])+ )+ .groupBy([+ "itemLedger.itemId",+ "itemLedger.storageUnitId",+ "itemLedger.trackedEntityId"+ ]);+ // Drop blank entries — an unselected storage-unit field submits [""], which+ // would otherwise filter to `storageUnitId IN ('')` and match no stock.+ const scopedStorageUnitIds = storageUnitIds?.filter(Boolean) ?? [];+ if (scopedStorageUnitIds.length > 0) {+ aggregate = aggregate.where(+ "itemLedger.storageUnitId",+ "in",+ scopedStorageUnitIds+ );+ }++ if (itemType) {+ aggregate = aggregate.where(+ "item.type",+ "=",+ itemType as Database["public"]["Enums"]["itemType"]+ );+ }++ const buckets = await aggregate.execute();++ // Resolve denormalized tracked-entity labels for the snapshot lines.+ const trackedEntityIds = buckets+ .map((b) => b.trackedEntityId)+ .filter((id): id is string => Boolean(id));++ const trackedEntities = trackedEntityIds.length+ ? await trx+ .selectFrom("trackedEntity")+ .select(["id", "readableId"])+ .where("id", "in", trackedEntityIds)+ .where("companyId", "=", companyId)+ .execute()+ : [];++ const readableIdByEntity = new Map(+ trackedEntities.map((te) => [te.id, te.readableId])+ );++ // Regenerate from scratch (only valid while Draft).+ await trx+ .deleteFrom("inventoryCountLine")+ .where("inventoryCountId", "=", inventoryCountId)+ .where("companyId", "=", companyId)+ .execute();++ if (buckets.length > 0) {+ await trx+ .insertInto("inventoryCountLine")+ .values(+ buckets.map((bucket) => ({+ inventoryCountId,+ companyId,+ itemId: bucket.itemId,+ locationId,+ storageUnitId: bucket.storageUnitId,+ trackedEntityId: bucket.trackedEntityId,+ readableId: bucket.trackedEntityId+ ? (readableIdByEntity.get(bucket.trackedEntityId) ?? null)+ : null,+ systemQuantity: Number(bucket.quantity ?? 0),+ createdBy+ }))+ )+ .execute();+ }++ await trx+ .updateTable("inventoryCount")+ .set({ snapshotAt: new Date().toISOString() })+ .where("id", "=", inventoryCountId)+ .where("companyId", "=", companyId)+ .execute();++ return buckets.length;+ });+}++// Persist a single line's counted quantity. Uses Kysely so the Draft-only guard+// is part of the same statement: the EXISTS subquery checks the parent count is+// still Draft *atomically* with the write, closing the TOCTOU window a separate+// read-then-update would leave open (a concurrent Confirm can't slip in between).+// Returns the updated row id, or undefined when the line doesn't exist or the+// count is no longer Draft. Kysely bypasses RLS — authorize at the route first.+export async function updateInventoryCountLine(+ db: Kysely<KyselyDatabase>,+ args: z.infer<typeof inventoryCountLineValidator> & {+ companyId: string;+ countedBy: string;+ }+) {+ const { id, countedQuantity, companyId, countedBy } = args;+ const now = new Date().toISOString();+ // Clearing a count (null) un-counts the line, so the count audit fields are+ // cleared too; only an actual count stamps countedBy/countedAt.+ const isCounted = countedQuantity !== undefined && countedQuantity !== null;+ return db+ .updateTable("inventoryCountLine")+ .set({+ countedQuantity: countedQuantity ?? null,+ countedBy: isCounted ? countedBy : null,+ countedAt: isCounted ? now : null,+ updatedBy: countedBy,+ updatedAt: now+ })+ .where("id", "=", id)+ .where("companyId", "=", companyId)+ .where((eb) =>+ eb.exists(+ eb+ .selectFrom("inventoryCount")+ .select("inventoryCount.id")+ .whereRef(+ "inventoryCount.id",+ "=",+ "inventoryCountLine.inventoryCountId"+ )+ .where("inventoryCount.companyId", "=", companyId)+ .where("inventoryCount.status", "=", "Draft")+ )+ )+ .returning("id")+ .executeTakeFirst();+}++export async function updateInventoryCountStatus(+ client: SupabaseClient<Database>,+ args: {+ id: string;+ companyId: string;+ status: Database["public"]["Enums"]["inventoryCountStatus"];+ updatedBy: string;+ // When set, the transition only applies if the row is still in this status.+ // The `.eq("status", expectedStatus)` makes the read-then-write atomic, so a+ // concurrent transition can't be clobbered (0 rows matched → `.single()`+ // errors and the caller surfaces a failure).+ expectedStatus?: Database["public"]["Enums"]["inventoryCountStatus"];+ }+) {+ const { id, companyId, status, updatedBy, expectedStatus } = args;+ let query = client+ .from("inventoryCount")+ .update({ status, updatedBy, updatedAt: new Date().toISOString() })+ .eq("id", id)+ .eq("companyId", companyId);+ if (expectedStatus) query = query.eq("status", expectedStatus);+ return query.select("id").single();+}+export async function updateBatchPropertyOrder(client: SupabaseClient<Database>,data: Omit<diff --git a/apps/erp/app/modules/inventory/types.ts b/apps/erp/app/modules/inventory/types.tsindex fd40c75e6e..22c6795957 100644--- a/apps/erp/app/modules/inventory/types.ts+++ b/apps/erp/app/modules/inventory/types.ts@@ -1,6 +1,8 @@import type { Database } from "@carbon/database";import type {getBatchProperties,+ getInventoryCountLines,+ getInventoryCounts,getInventoryItems,getItemLedgerPage,getKanbans,@@ -39,6 +41,14 @@ export type Kanban = NonNullable<Awaited<ReturnType<typeof getKanbans>>["data"]>[number];+export type InventoryCount = NonNullable<+ Awaited<ReturnType<typeof getInventoryCounts>>["data"]+>[number];++export type InventoryCountLine = NonNullable<+ Awaited<ReturnType<typeof getInventoryCountLines>>["data"]+>[number];+export type Receipt = NonNullable<Awaited<ReturnType<typeof getReceipts>>["data"]>[number];diff --git a/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCount.tsx b/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCount.tsxnew file mode 100644index 0000000000..bcd818741e--- /dev/null+++ b/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCount.tsx@@ -0,0 +1,158 @@+import {+ Button,+ HStack,+ IconButton,+ Modal,+ ModalBody,+ ModalContent,+ ModalHeader,+ ModalTitle,+ useDisclosure+} from "@carbon/react";+import { useLingui } from "@lingui/react/macro";+import { LuCheck, LuInfo, LuRotateCcw, LuSend } from "react-icons/lu";+import { useFetcher, useRevalidator } from "react-router";+import { usePermissions } from "~/hooks";+import type {+ InventoryCountLine,+ InventoryCount as InventoryCountType+} from "~/modules/inventory";+import {+ InventoryCountConfirmModal,+ InventoryCountLines,+ InventoryCountStatus+} from "~/modules/inventory";+import { path } from "~/utils/path";++type InventoryCountDetailsProps = {+ inventoryCount: InventoryCountType;+ lines: InventoryCountLine[];+ count: number;+ summary: { uncounted: number; variances: number };+};++const InventoryCountDetails = ({+ inventoryCount,+ lines,+ count,+ summary+}: InventoryCountDetailsProps) => {+ const { t } = useLingui();+ const permissions = usePermissions();+ const canUpdate = permissions.can("update", "inventory");++ const confirmModal = useDisclosure();+ const notesModal = useDisclosure();+ const revalidator = useRevalidator();+ const reopenFetcher = useFetcher();+ const postFetcher = useFetcher();++ const status = inventoryCount.status;+ const isReadOnly = status !== "Draft";++ // Actions live in the table header (the `primaryAction` slot) instead of a+ // dedicated detail header. Notes are surfaced via an info icon → modal.+ const actions = (+ <HStack spacing={2} className="items-center">+ {inventoryCount.notes && (+ <IconButton+ aria-label={t`View notes`}+ variant="ghost"+ icon={<LuInfo />}+ onClick={notesModal.onOpen}+ />+ )}+ {status === "Draft" && (+ <Button+ isDisabled={!canUpdate}+ onClick={() => {+ // Inline edits write directly to the DB without revalidating, so+ // refresh the loader to get accurate warning counts before review.+ revalidator.revalidate();+ confirmModal.onOpen();+ }}+ leftIcon={<LuCheck />}+ >+ {t`Confirm`}+ </Button>+ )}+ {status === "Pending" && (+ <>+ <reopenFetcher.Form+ method="post"+ action={path.to.inventoryCountReopen(inventoryCount.id!)}+ >+ <Button+ type="submit"+ variant="secondary"+ isDisabled={!canUpdate}+ isLoading={reopenFetcher.state !== "idle"}+ leftIcon={<LuRotateCcw />}+ >+ {t`Reopen`}+ </Button>+ </reopenFetcher.Form>+ <postFetcher.Form+ method="post"+ action={path.to.inventoryCountPost(inventoryCount.id!)}+ >+ <Button+ type="submit"+ isDisabled={!canUpdate}+ isLoading={postFetcher.state !== "idle"}+ leftIcon={<LuSend />}+ >+ {t`Post`}+ </Button>+ </postFetcher.Form>+ </>+ )}+ </HStack>+ );++ return (+ <>+ <div className="flex-1 min-h-0 w-full">+ <InventoryCountLines+ lines={lines}+ count={count}+ isBlind={inventoryCount.isBlind}+ isReadOnly={isReadOnly}+ locationId={inventoryCount.locationId}+ title={inventoryCount.inventoryCountId}+ titleBadge={<InventoryCountStatus status={status} />}+ primaryAction={actions}+ />+ </div>++ {confirmModal.isOpen && (+ <InventoryCountConfirmModal+ inventoryCountId={inventoryCount.id!}+ summary={summary}+ isLoading={revalidator.state !== "idle"}+ onClose={confirmModal.onClose}+ />+ )}++ <Modal+ open={notesModal.isOpen}+ onOpenChange={(open) => {+ if (!open) notesModal.onClose();+ }}+ >+ <ModalContent>+ <ModalHeader>+ <ModalTitle>{t`Notes`}</ModalTitle>+ </ModalHeader>+ <ModalBody>+ <p className="whitespace-pre-wrap text-sm text-muted-foreground">+ {inventoryCount.notes}+ </p>+ </ModalBody>+ </ModalContent>+ </Modal>+ </>+ );+};++export default InventoryCountDetails;diff --git a/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountConfirmModal.tsx b/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountConfirmModal.tsxnew file mode 100644index 0000000000..3ce99df58c--- /dev/null+++ b/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountConfirmModal.tsx@@ -0,0 +1,135 @@+import {+ Alert,+ AlertDescription,+ AlertTitle,+ Button,+ Modal,+ ModalBody,+ ModalContent,+ ModalFooter,+ ModalHeader,+ ModalTitle,+ VStack+} from "@carbon/react";+import { Plural, Trans } from "@lingui/react/macro";+import { useEffect, useRef } from "react";+import { LuTriangleAlert } from "react-icons/lu";+import { useFetcher } from "react-router";+import { path } from "~/utils/path";++type InventoryCountConfirmModalProps = {+ inventoryCountId: string;+ summary: { uncounted: number; variances: number };+ isLoading?: boolean;+ onClose: () => void;+};++// Confirm (Draft -> Pending). Surfaces the row-level checks the user must+// acknowledge before the count is locked: uncounted rows (skipped at post) and+// non-zero variances. Counts are computed server-side so they reflect the whole+// count, not just the loaded page.+const InventoryCountConfirmModal = ({+ inventoryCountId,+ summary,+ isLoading = false,+ onClose+}: InventoryCountConfirmModalProps) => {+ const fetcher = useFetcher();++ // The confirm action redirects (no data returns to the fetcher), so close the+ // modal once the submission round-trip settles back to idle.+ const submitted = useRef(false);+ useEffect(() => {+ if (fetcher.state === "submitting") submitted.current = true;+ else if (fetcher.state === "idle" && submitted.current) {+ submitted.current = false;+ onClose();+ }+ }, [fetcher.state, onClose]);++ const uncounted = summary.uncounted;+ const variances = summary.variances;++ return (+ <Modal+ open+ onOpenChange={(open) => {+ if (!open) onClose();+ }}+ >+ <ModalContent>+ <ModalHeader>+ <ModalTitle>+ <Trans>Confirm Inventory Count</Trans>+ </ModalTitle>+ </ModalHeader>+ <ModalBody>+ <VStack spacing={4}>+ <p className="text-sm text-muted-foreground">+ <Trans>+ Confirming locks the counted quantities. Review the warnings+ below, then post the count to apply the adjustments.+ </Trans>+ </p>++ {isLoading ? (+ <p className="text-sm text-muted-foreground">+ <Trans>Recalculating…</Trans>+ </p>+ ) : (+ <>+ {uncounted > 0 && (+ <Alert variant="warning">+ <LuTriangleAlert className="h-4 w-4" />+ <AlertTitle>+ <Plural+ value={uncounted}+ one="# uncounted line"+ other="# uncounted lines"+ />+ </AlertTitle>+ <AlertDescription>+ <Trans>+ Uncounted lines are left unchanged at post — they are+ not zeroed.+ </Trans>+ </AlertDescription>+ </Alert>+ )}++ {variances > 0 && (+ <p className="text-sm text-muted-foreground">+ <Plural+ value={variances}+ one="# line differs from the expected quantity"+ other="# lines differ from the expected quantity"+ />+ </p>+ )}+ </>+ )}+ </VStack>+ </ModalBody>+ <ModalFooter>+ <Button variant="secondary" onClick={onClose}>+ <Trans>Cancel</Trans>+ </Button>+ <fetcher.Form+ method="post"+ action={path.to.inventoryCountConfirm(inventoryCountId)}+ >+ <Button+ type="submit"+ isDisabled={isLoading}+ isLoading={fetcher.state !== "idle"}+ >+ <Trans>Confirm Count</Trans>+ </Button>+ </fetcher.Form>+ </ModalFooter>+ </ModalContent>+ </Modal>+ );+};++export default InventoryCountConfirmModal;diff --git a/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountForm.tsx b/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountForm.tsxnew file mode 100644index 0000000000..a889ef4ec1--- /dev/null+++ b/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountForm.tsx@@ -0,0 +1,116 @@+import { ValidatedForm } from "@carbon/form";+import {+ Button,+ HStack,+ ModalDrawer,+ ModalDrawerBody,+ ModalDrawerContent,+ ModalDrawerFooter,+ ModalDrawerHeader,+ ModalDrawerProvider,+ ModalDrawerTitle,+ VStack+} from "@carbon/react";+import { useLingui } from "@lingui/react/macro";+import { useState } from "react";+import { useFetcher } from "react-router";+import type { z } from "zod";+import {+ Boolean,+ Location,+ Select,+ StorageUnit,+ Submit,+ TextArea+} from "~/components/Form";+import { usePermissions } from "~/hooks";+import { inventoryCountValidator, itemTypes } from "~/modules/inventory";+import { path } from "~/utils/path";++type InventoryCountFormProps = {+ initialValues: z.infer<typeof inventoryCountValidator>;+ onClose: () => void;+};++const InventoryCountForm = ({+ initialValues,+ onClose+}: InventoryCountFormProps) => {+ const { t } = useLingui();+ const permissions = usePermissions();+ const fetcher = useFetcher<{}>();++ const [locationId, setLocationId] = useState(initialValues.locationId ?? "");++ const itemTypeOptions = itemTypes.map((type) => ({+ label: type,+ value: type+ }));++ return (+ <ModalDrawerProvider type="drawer">+ <ModalDrawer+ open+ onOpenChange={(open) => {+ if (!open) onClose();+ }}+ >+ <ModalDrawerContent>+ <ValidatedForm+ validator={inventoryCountValidator}+ method="post"+ action={path.to.newInventoryCount}+ defaultValues={initialValues}+ fetcher={fetcher}+ className="flex flex-col h-full"+ >+ <ModalDrawerHeader>+ <ModalDrawerTitle>{t`New Inventory Count`}</ModalDrawerTitle>+ </ModalDrawerHeader>+ <ModalDrawerBody>+ <VStack spacing={4}>+ <Location+ name="locationId"+ label={t`Location`}+ onChange={(location) => setLocationId(location?.value ?? "")}+ />+ <StorageUnit+ name="storageUnitIds"+ label={t`Storage Unit (optional)`}+ locationId={locationId}+ />+ <Select+ name="itemType"+ label={t`Item Type (optional)`}+ options={itemTypeOptions}+ placeholder={t`All item types`}+ />+ <Boolean+ name="isBlind"+ label={t`Blind Count`}+ description={t`Hide system quantities until the review step`}+ />+ <TextArea name="notes" label={t`Notes`} />+ </VStack>+ </ModalDrawerBody>+ <ModalDrawerFooter>+ <HStack>+ <Submit+ isDisabled={!permissions.can("create", "inventory")}+ isLoading={fetcher.state !== "idle"}+ >+ {t`Create & Snapshot`}+ </Submit>+ <Button size="md" variant="solid" onClick={onClose}>+ {t`Cancel`}+ </Button>+ </HStack>+ </ModalDrawerFooter>+ </ValidatedForm>+ </ModalDrawerContent>+ </ModalDrawer>+ </ModalDrawerProvider>+ );+};++export default InventoryCountForm;diff --git a/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountLines.tsx b/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountLines.tsxnew file mode 100644index 0000000000..6cad248dba--- /dev/null+++ b/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountLines.tsx@@ -0,0 +1,223 @@+import { Badge, HStack, Skeleton, toast, VStack } from "@carbon/react";+import { useLingui } from "@lingui/react/macro";+import type { PostgrestSingleResponse } from "@supabase/supabase-js";+import type { ColumnDef } from "@tanstack/react-table";+import { type ReactNode, useCallback, useMemo } from "react";+import { LuBox, LuCalculator, LuHash, LuPackage } from "react-icons/lu";+import { Hyperlink, ItemThumbnail, Table } from "~/components";+import { EditableNumber } from "~/components/Editable";+import { useStorageUnits } from "~/components/Form/StorageUnit";+import type { InventoryCountLine } from "~/modules/inventory";+import type { MethodItemType } from "~/modules/shared";+import { path } from "~/utils/path";++type InventoryCountLinesProps = {+ lines: InventoryCountLine[];+ count: number;+ isBlind: boolean;+ isReadOnly: boolean;+ locationId: string;+ title?: string;+ titleBadge?: ReactNode;+ primaryAction?: ReactNode;+};++const InventoryCountLines = ({+ lines,+ count,+ isBlind,+ isReadOnly,+ locationId,+ title,+ titleBadge,+ primaryAction+}: InventoryCountLinesProps) => {+ const { t } = useLingui();++ // Build the inventory query filter: scope to this count's location and search+ // the quantities page for the item's readable id.+ const buildItemLink = useCallback((itemId: string, readableId?: string) => {+ const next = new URLSearchParams();+ next.set("search", readableId ?? "");+ return `${path.to.inventoryItem(itemId)}?${next.toString()}`;+ }, []);++ // Blind mode hides System Qty + Variance while the count is editable; the+ // figures reappear once the document is locked (Pending/Posted).+ const hideSystem = isBlind && !isReadOnly;++ const storageUnits = useStorageUnits(locationId);+ // The options resolve asynchronously; until they do, render a loading+ // placeholder instead of flashing the raw storage-unit id.+ const storageUnitsLoaded = !locationId || storageUnits.data !== undefined;+ const storageUnitLabel = useCallback(+ (id: string | null | undefined) =>+ storageUnits.options?.find((s) => s.value === id)?.label ?? "—",+ [storageUnits.options]+ );++ // Inline edits persist one line at a time through the `lines.update` route+ // action, which enforces the Draft-only guard server-side and stamps the count+ // audit fields. The returned `{ error }` shape lets the editable cell revert+ // its optimistic value on failure.+ const onCellEdit = useCallback(+ async (+ _accessorKey: string,+ value: unknown,+ row: InventoryCountLine+ ): Promise<PostgrestSingleResponse<unknown>> => {+ const formData = new FormData();+ formData.set("id", row.id!);+ formData.set(+ "countedQuantity",+ value === "" || value == null ? "" : String(value)+ );++ const response = await fetch(path.to.inventoryCountLineUpdate, {+ method: "post",+ body: formData+ });++ const error = response.ok ? null : { message: "Failed to update count" };+ if (error) toast.error(t`Failed to update count`);+ return {+ data: null,+ error+ } as unknown as PostgrestSingleResponse<unknown>;+ },+ [t]+ );++ const columns = useMemo<ColumnDef<InventoryCountLine>[]>(() => {+ const cols: ColumnDef<InventoryCountLine>[] = [+ {+ id: "item",+ header: t`Item`,+ cell: ({ row }) => {+ const item = (+ row.original as {+ item?: {+ name?: string;+ readableIdWithRevision?: string;+ type?: MethodItemType;+ thumbnailPath?: string | null;+ };+ }+ ).item;+ return (+ <HStack className="py-1 min-w-[200px] truncate" spacing={2}>+ <ItemThumbnail+ size="md"+ thumbnailPath={item?.thumbnailPath}+ type={item?.type}+ />+ <Hyperlink+ to={buildItemLink(+ row.original.itemId,+ item?.readableIdWithRevision+ )}+ >+ <VStack spacing={0}>+ {item?.readableIdWithRevision ?? row.original.itemId}+ <div className="w-full truncate text-muted-foreground text-xs">+ {item?.name}+ </div>+ </VStack>+ </Hyperlink>+ </HStack>+ );+ },+ meta: { icon: <LuPackage /> }+ },+ {+ accessorKey: "readableId",+ header: t`Batch / Serial`,+ cell: (item) => item.getValue<string>() ?? "—",+ meta: { icon: <LuHash /> }+ },+ {+ id: "storageUnit",+ header: t`Storage Unit`,+ cell: ({ row }) => {+ const id = row.original.storageUnitId;+ if (!id) return "—";+ if (!storageUnitsLoaded) return <Skeleton className="h-4 w-24" />;+ return storageUnitLabel(id);+ },+ meta: { icon: <LuBox /> }+ }+ ];++ if (!hideSystem) {+ cols.push({+ accessorKey: "systemQuantity",+ header: t`System Qty`,+ cell: (item) => (+ <span className="tabular-nums">{Number(item.getValue() ?? 0)}</span>+ ),+ meta: { icon: <LuHash /> }+ });+ }++ cols.push({+ accessorKey: "countedQuantity",+ header: t`Counted Qty`,+ cell: (item) => {+ const value = item.getValue<number | null>();+ return (+ <span className="tabular-nums">{value === null ? "—" : value}</span>+ );+ },+ meta: { icon: <LuCalculator /> }+ });++ if (!hideSystem) {+ cols.push({+ id: "variance",+ header: t`Variance`,+ cell: ({ row }) => {+ const counted = row.original.countedQuantity;+ if (counted === null || counted === undefined) return "—";+ const variance =+ Number(counted) - Number(row.original.systemQuantity);+ if (variance === 0) return <span className="tabular-nums">0</span>;+ return (+ <Badge variant={variance < 0 ? "destructive" : "green"}>+ {variance > 0 ? `+${variance}` : variance}+ </Badge>+ );+ },+ meta: { icon: <LuCalculator /> }+ });+ }++ return cols;+ }, [buildItemLink, hideSystem, storageUnitLabel, storageUnitsLoaded, t]);++ const editableComponents = useMemo(+ () => ({+ countedQuantity: EditableNumber<InventoryCountLine>(+ onCellEdit,+ { minValue: 0 },+ { clearable: true }+ )+ }),+ [onCellEdit]+ );++ return (+ <Table<InventoryCountLine>+ compact+ columns={columns}+ data={lines}+ count={count}+ editableComponents={editableComponents}+ primaryAction={primaryAction}+ title={title ?? t`Lines`}+ titleBadge={titleBadge}+ withInlineEditing={!isReadOnly}+ />+ );+};++export default InventoryCountLines;diff --git a/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountStatus.tsx b/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountStatus.tsxnew file mode 100644index 0000000000..dd48543c73--- /dev/null+++ b/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountStatus.tsx@@ -0,0 +1,39 @@+import type { Database } from "@carbon/database";+import { Status } from "@carbon/react";+import { RECEIPT_STATUS_COLOR_MAP } from "@carbon/utils";+import { Trans } from "@lingui/react/macro";++type InventoryCountStatusProps = {+ status?: Database["public"]["Enums"]["inventoryCountStatus"];+};++// Inventory Count shares the Draft / Pending / Posted lifecycle (and therefore+// the colors) with receipts and shipments.+const InventoryCountStatus = ({ status }: InventoryCountStatusProps) => {+ if (!status) return null;+ const color = RECEIPT_STATUS_COLOR_MAP[status];+ switch (status) {+ case "Draft":+ return (+ <Status color={color}>+ <Trans>Draft</Trans>+ </Status>+ );+ case "Pending":+ return (+ <Status color={color}>+ <Trans>Pending</Trans>+ </Status>+ );+ case "Posted":+ return (+ <Status color={color}>+ <Trans>Posted</Trans>+ </Status>+ );+ default:+ return null;+ }+};++export default InventoryCountStatus;diff --git a/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountsTable.tsx b/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountsTable.tsxnew file mode 100644index 0000000000..d5edcf996f--- /dev/null+++ b/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountsTable.tsx@@ -0,0 +1,220 @@+import type { Database } from "@carbon/database";+import { Constants } from "@carbon/database";+import { MenuIcon, MenuItem, useDisclosure } from "@carbon/react";+import { Trans, useLingui } from "@lingui/react/macro";+import type { ColumnDef } from "@tanstack/react-table";+import { memo, useCallback, useMemo, useState } from "react";+import {+ LuBookMarked,+ LuCalendar,+ LuClock,+ LuMapPin,+ LuPencil,+ LuTrash,+ LuUser+} from "react-icons/lu";+import { useNavigate } from "react-router";+import { EmployeeAvatar, Hyperlink, New, Table } from "~/components";+import { ConfirmDelete } from "~/components/Modals";+import {+ useDateFormatter,+ usePermissions,+ useRealtime,+ useUrlParams+} from "~/hooks";+import type { InventoryCount } from "~/modules/inventory";+import { InventoryCountStatus } from "~/modules/inventory";+import { usePeople } from "~/stores";+import { path } from "~/utils/path";++type InventoryCountsTableProps = {+ data: InventoryCount[];+ count: number;+ locations: { id: string; name: string }[];+};++const InventoryCountsTable = memo(+ ({ data, count, locations }: InventoryCountsTableProps) => {+ useRealtime("inventoryCount", `id=in.(${data.map((d) => d.id).join(",")})`);++ const [params] = useUrlParams();+ const { t } = useLingui();+ const { formatDate } = useDateFormatter();+ const navigate = useNavigate();+ const permissions = usePermissions();++ const [people] = usePeople();++ const columns = useMemo<ColumnDef<InventoryCount>[]>(() => {+ return [+ {+ accessorKey: "inventoryCountId",+ header: t`Count ID`,+ cell: ({ row }) => (+ <Hyperlink to={path.to.inventoryCount(row.original.id!)}>+ {row.original.inventoryCountId}+ </Hyperlink>+ ),+ meta: { icon: <LuBookMarked /> }+ },+ {+ accessorKey: "locationId",+ header: t`Location`,+ cell: ({ row }) =>+ locations.find((l) => l.id === row.original.locationId)?.name ??+ null,+ meta: {+ filter: {+ type: "static",+ options: locations.map((location) => ({+ value: location.id,+ label: location.name+ }))+ },+ icon: <LuMapPin />+ }+ },+ {+ accessorKey: "status",+ header: t`Status`,+ cell: (item) => {+ const status =+ item.getValue<+ Database["public"]["Enums"]["inventoryCountStatus"]+ >();+ return <InventoryCountStatus status={status} />;+ },+ meta: {+ filter: {+ type: "static",+ options: Constants.public.Enums.inventoryCountStatus.map(+ (type) => ({+ value: type,+ label: <InventoryCountStatus status={type} />+ })+ )+ },+ pluralHeader: t`Statuses`,+ icon: <LuClock />+ }+ },+ {+ id: "postedBy",+ header: t`Posted By`,+ cell: ({ row }) => (+ <EmployeeAvatar employeeId={row.original.postedBy} />+ ),+ meta: { icon: <LuUser /> }+ },+ {+ accessorKey: "postedAt",+ header: t`Posted At`,+ cell: (item) =>+ item.getValue<string>()+ ? formatDate(item.getValue<string>())+ : null,+ meta: { icon: <LuCalendar /> }+ },+ {+ id: "createdBy",+ header: t`Created By`,+ cell: ({ row }) => (+ <EmployeeAvatar employeeId={row.original.createdBy} />+ ),+ meta: {+ filter: {+ type: "static",+ options: people.map((employee) => ({+ value: employee.id,+ label: employee.name+ }))+ },+ icon: <LuUser />+ }+ },+ {+ accessorKey: "createdAt",+ header: t`Created At`,+ cell: (item) => formatDate(item.getValue<string>()),+ meta: { icon: <LuCalendar /> }+ }+ ];+ }, [people, locations, t, formatDate]);++ const [selected, setSelected] = useState<InventoryCount | null>(null);+ const deleteModal = useDisclosure();++ const renderContextMenu = useCallback(+ (row: InventoryCount) => {+ return (+ <>+ <MenuItem+ onClick={() => {+ navigate(+ `${path.to.inventoryCount(row.id!)}?${params.toString()}`+ );+ }}+ >+ <MenuIcon icon={<LuPencil />} />+ {row.status === "Draft" ? t`Edit Count` : t`View Count`}+ </MenuItem>+ <MenuItem+ disabled={+ !permissions.can("delete", "inventory") ||+ row.status === "Posted"+ }+ destructive+ onClick={() => {+ setSelected(row);+ deleteModal.onOpen();+ }}+ >+ <MenuIcon icon={<LuTrash />} />+ <Trans>Delete Count</Trans>+ </MenuItem>+ </>+ );+ },+ [deleteModal, navigate, params, permissions, t]+ );++ return (+ <>+ <Table<InventoryCount>+ data={data}+ columns={columns}+ count={count}+ defaultColumnPinning={{ left: ["inventoryCountId"] }}+ primaryAction={+ permissions.can("create", "inventory") && (+ <New label={t`Inventory Count`} to={path.to.newInventoryCount} />+ )+ }+ renderContextMenu={renderContextMenu}+ title={t`Inventory Count`}+ table="inventoryCount"+ withSavedView+ />+ {selected && selected.id && (+ <ConfirmDelete+ action={path.to.inventoryCountDelete(selected.id)}+ isOpen={deleteModal.isOpen}+ name={selected.inventoryCountId!}+ text={t`Are you sure you want to delete ${selected.inventoryCountId}? This cannot be undone.`}+ onCancel={() => {+ deleteModal.onClose();+ setSelected(null);+ }}+ onSubmit={() => {+ deleteModal.onClose();+ setSelected(null);+ }}+ />+ )}+ </>+ );+ }+);++InventoryCountsTable.displayName = "InventoryCountsTable";+export default InventoryCountsTable;diff --git a/apps/erp/app/modules/inventory/ui/InventoryCount/index.ts b/apps/erp/app/modules/inventory/ui/InventoryCount/index.tsnew file mode 100644index 0000000000..56768b6596--- /dev/null+++ b/apps/erp/app/modules/inventory/ui/InventoryCount/index.ts@@ -0,0 +1,15 @@+import InventoryCountDetails from "./InventoryCount";+import InventoryCountConfirmModal from "./InventoryCountConfirmModal";+import InventoryCountForm from "./InventoryCountForm";+import InventoryCountLines from "./InventoryCountLines";+import InventoryCountStatus from "./InventoryCountStatus";+import InventoryCountsTable from "./InventoryCountsTable";++export {+ InventoryCountsTable,+ InventoryCountConfirmModal,+ InventoryCountDetails,+ InventoryCountForm,+ InventoryCountLines,+ InventoryCountStatus+};diff --git a/apps/erp/app/modules/inventory/ui/StockMovements/StockMovementsTable.tsx b/apps/erp/app/modules/inventory/ui/StockMovements/StockMovementsTable.tsxindex 5288fe2d7e..048198c96f 100644--- a/apps/erp/app/modules/inventory/ui/StockMovements/StockMovementsTable.tsx+++ b/apps/erp/app/modules/inventory/ui/StockMovements/StockMovementsTable.tsx@@ -15,6 +15,7 @@ import {LuUser,LuWarehouse} from "react-icons/lu";+import { Link } from "react-router";import { EmployeeAvatar, Hyperlink, ItemThumbnail, Table } from "~/components";import { Enumerable } from "~/components/Enumerable";import { useLocations } from "~/components/Form/Location";@@ -174,9 +175,21 @@ const StockMovementsTable = memo({accessorKey: "trackedEntityReadableId",header: t`Tracked Entity`,- cell: ({ row }) =>- row.original.trackedEntityReadableId ||- row.original.trackedEntityId,+ cell: ({ row }) => {+ const trackedEntityId = row.original.trackedEntityId;+ const label =+ row.original.trackedEntityReadableId || trackedEntityId;+ if (!trackedEntityId) return label ?? "";+ return (+ <Link+ prefetch="intent"+ to={`${path.to.traceabilityGraph}?trackedEntityId=${trackedEntityId}`}+ className="text-foreground hover:underline"+ >+ {label}+ </Link>+ );+ },meta: {icon: <LuQrCode />}diff --git a/apps/erp/app/modules/inventory/ui/index.ts b/apps/erp/app/modules/inventory/ui/index.tsindex ef635b55a9..59178c4107 100644--- a/apps/erp/app/modules/inventory/ui/index.ts+++ b/apps/erp/app/modules/inventory/ui/index.ts@@ -1,6 +1,7 @@import useInventorySubmodules from "./useInventorySubmodules";export * from "./Inventory";+export * from "./InventoryCount";export * from "./Kanbans";export * from "./PickingLists";export * from "./Receipts";diff --git a/apps/erp/app/modules/inventory/ui/useInventorySubmodules.tsx b/apps/erp/app/modules/inventory/ui/useInventorySubmodules.tsxindex faef4b8df4..1780ea0283 100644--- a/apps/erp/app/modules/inventory/ui/useInventorySubmodules.tsx+++ b/apps/erp/app/modules/inventory/ui/useInventorySubmodules.tsx@@ -2,6 +2,7 @@ import { useLingui } from "@lingui/react/macro";import {LuArrowDownUp,LuArrowRightLeft,+ LuClipboardCheck,LuClipboardList,LuHandCoins,LuListChecks,@@ -56,6 +57,12 @@ export default function useInventorySubmodules() {to: path.to.warehouseTransfers,icon: <LuArrowRightLeft />,table: "warehouseTransfer"+ },+ {+ name: t`Inventory Count`,+ to: path.to.inventoryCounts,+ icon: <LuClipboardCheck />,+ table: "inventoryCount"}]},diff --git a/apps/erp/app/modules/sales/ui/Quotes/QuoteForm.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuoteForm.tsxindex 242a208f52..7a2b425d14 100644--- a/apps/erp/app/modules/sales/ui/Quotes/QuoteForm.tsx+++ b/apps/erp/app/modules/sales/ui/Quotes/QuoteForm.tsx@@ -92,8 +92,9 @@ const QuoteForm = ({ initialValues }: QuoteFormProps) => {});});+ // @ts-expect-error Supabase composite key issueconst { data, error } = await carbon- ?.from("customer")+ .from("customer").select("currencyCode, salesContactId, customerShipping!customerId(shippingCustomerLocationId)")diff --git a/apps/erp/app/modules/shared/shared.service.ts b/apps/erp/app/modules/shared/shared.service.tsindex 460485878f..94dbe5f3db 100644--- a/apps/erp/app/modules/shared/shared.service.ts+++ b/apps/erp/app/modules/shared/shared.service.ts@@ -1,7 +1,10 @@-import type { Database } from "@carbon/database";+import type { Database, Tables } from "@carbon/database";import type { Kysely, KyselyDatabase } from "@carbon/database/client";import { getPurchaseOrderStatus, supportedModelTypes } from "@carbon/utils";-import type { SupabaseClient } from "@supabase/supabase-js";+import type {+ PostgrestSingleResponse,+ SupabaseClient+} from "@supabase/supabase-js";import type { GenericQueryFilters } from "~/utils/query";import { setGenericQueryFilters } from "~/utils/query";import { sanitize } from "~/utils/supabase";@@ -1064,7 +1067,14 @@ export async function getCustomerPortals(export async function getCustomerPortal(client: SupabaseClient<Database>,id: string-) {+): Promise<+ PostgrestSingleResponse<+ Tables<"externalLink"> & {+ customer: Pick<Tables<"customer">, "id" | "name">;+ }+ >+> {+ // @ts-expect-error Supabase composite key issuereturn client.from("externalLink").select("*, customer:customerId(id, name)")diff --git a/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json b/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.jsonindex 0dbdc67f0d..1918dc953f 100644--- a/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json+++ b/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json@@ -1,6 +1,6 @@{- "generated": "2026-07-06T06:59:29.834Z",- "totalTools": 1254,+ "generated": "2026-07-06T18:21:52.562Z",+ "totalTools": 1263,"modules": 15,"tools": [{@@ -5514,6 +5514,311 @@]}},+ {+ "name": "inventory_getInventoryCounts",+ "module": "inventory",+ "classification": "READ",+ "description": "get inventory counts",+ "paramCount": 3,+ "serviceParams": [+ "client",+ "companyId",+ "args"+ ],+ "injectAuth": [+ "companyId"+ ],+ "schema": {+ "type": "object",+ "properties": {+ "args": {+ "type": "object",+ "properties": {+ "limit": {+ "type": "integer",+ "default": 100+ },+ "offset": {+ "type": "integer",+ "default": 0+ },+ "search": {+ "type": [+ "string",+ "null"+ ]+ }+ }+ }+ }+ }+ },+ {+ "name": "inventory_getInventoryCount",+ "module": "inventory",+ "classification": "READ",+ "description": "get inventory count",+ "paramCount": 1,+ "serviceParams": [+ "client",+ "id",+ "companyId"+ ],+ "injectAuth": [+ "companyId"+ ],+ "schema": {+ "type": "object",+ "properties": {+ "id": {+ "type": "string"+ }+ },+ "required": [+ "id"+ ]+ }+ },+ {+ "name": "inventory_getInventoryCountLines",+ "module": "inventory",+ "classification": "READ",+ "description": "get inventory count lines",+ "paramCount": 2,+ "serviceParams": [+ "client",+ "inventoryCountId",+ "companyId",+ "args"+ ],+ "injectAuth": [+ "companyId"+ ],+ "schema": {+ "type": "object",+ "properties": {+ "inventoryCountId": {+ "type": "string"+ },+ "args": {+ "type": "object",+ "properties": {+ "limit": {+ "type": "integer",+ "default": 100+ },+ "offset": {+ "type": "integer",+ "default": 0+ },+ "search": {+ "type": [+ "string",+ "null"+ ]+ }+ }+ }+ },+ "required": [+ "inventoryCountId",+ "args"+ ]+ }+ },+ {+ "name": "inventory_getInventoryCountLineSummary",+ "module": "inventory",+ "classification": "READ",+ "description": "get inventory count line summary",+ "paramCount": 1,+ "serviceParams": [+ "client",+ "inventoryCountId",+ "companyId"+ ],+ "injectAuth": [+ "companyId"+ ],+ "schema": {+ "type": "object",+ "properties": {+ "inventoryCountId": {+ "type": "string"+ }+ },+ "required": [+ "inventoryCountId"+ ]+ }+ },+ {+ "name": "inventory_insertInventoryCount",+ "module": "inventory",+ "classification": "WRITE",+ "description": "insert inventory count",+ "paramCount": 6,+ "serviceParams": [+ "client",+ "inventoryCount"+ ],+ "injectAuth": [+ "companyId",+ "createdBy",+ "updatedBy"+ ],+ "schema": {+ "type": "object",+ "properties": {+ "inventoryCountId": {+ "type": "string"+ },+ "locationId": {+ "type": "string"+ },+ "isBlind": {+ "type": "boolean"+ },+ "notes": {+ "type": [+ "string",+ "null"+ ]+ },+ "scope": {},+ "customFields": {}+ },+ "required": [+ "inventoryCountId",+ "locationId",+ "isBlind"+ ]+ }+ },+ {+ "name": "inventory_deleteInventoryCount",+ "module": "inventory",+ "classification": "DESTRUCTIVE",+ "description": "delete inventory count",+ "paramCount": 1,+ "serviceParams": [+ "client",+ "id",+ "companyId"+ ],+ "injectAuth": [+ "companyId"+ ],+ "schema": {+ "type": "object",+ "properties": {+ "id": {+ "type": "string"+ }+ },+ "required": [+ "id"+ ]+ }+ },+ {+ "name": "inventory_generateInventoryCountLines",+ "module": "inventory",+ "classification": "WRITE",+ "description": "generate inventory count lines",+ "paramCount": 4,+ "serviceParams": [+ "db",+ "args"+ ],+ "injectAuth": [+ "companyId",+ "createdBy",+ "updatedBy"+ ],+ "schema": {+ "type": "object",+ "properties": {+ "inventoryCountId": {+ "type": "string"+ },+ "locationId": {+ "type": "string"+ },+ "storageUnitIds": {+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ "itemType": {+ "type": "string"+ }+ },+ "required": [+ "inventoryCountId",+ "locationId"+ ]+ }+ },+ {+ "name": "inventory_updateInventoryCountLine",+ "module": "inventory",+ "classification": "WRITE",+ "description": "update inventory count line",+ "paramCount": 2,+ "serviceParams": [+ "db",+ "args"+ ],+ "injectAuth": [+ "companyId",+ "updatedBy"+ ],+ "schema": {+ "type": "object",+ "properties": {+ "id": {+ "type": "string"+ },+ "countedQuantity": {+ "type": "number"+ }+ },+ "required": [+ "id"+ ]+ }+ },+ {+ "name": "inventory_updateInventoryCountStatus",+ "module": "inventory",+ "classification": "WRITE",+ "description": "update inventory count status",+ "paramCount": 3,+ "serviceParams": [+ "client",+ "args"+ ],+ "injectAuth": [+ "companyId",+ "updatedBy"+ ],+ "schema": {+ "type": "object",+ "properties": {+ "id": {+ "type": "string"+ },+ "status": {},+ "// When set, the transition only applies if the row is still in this status.\n // The `.eq(\"status\", expectedStatus)` makes the read-then-write atomic, so a\n // concurrent transition can't be clobbered (0 rows matched → `.single()`\n // errors and the caller surfaces a failure).\n expectedStatus": {}+ },+ "required": [+ "id",+ "status"+ ]+ }+ },{"name": "inventory_updateBatchPropertyOrder","module": "inventory",diff --git a/apps/erp/app/routes/x+/inventory+/inventory-count.new.tsx b/apps/erp/app/routes/x+/inventory+/inventory-count.new.tsxnew file mode 100644index 0000000000..cdb5da81a6--- /dev/null+++ b/apps/erp/app/routes/x+/inventory+/inventory-count.new.tsx@@ -0,0 +1,117 @@+import { assertIsPost, error, success } from "@carbon/auth";+import { requirePermissions } from "@carbon/auth/auth.server";+import { flash } from "@carbon/auth/session.server";+import type { Json } from "@carbon/database";+import { validationError, validator } from "@carbon/form";+import type { ActionFunctionArgs, LoaderFunctionArgs } from "react-router";+import { data, redirect, useNavigate } from "react-router";+import {+ deleteInventoryCount,+ generateInventoryCountLines,+ InventoryCountForm,+ insertInventoryCount,+ inventoryCountValidator+} from "~/modules/inventory";+import { getNextSequence } from "~/modules/settings";+import { getDatabaseClient } from "~/services/database.server";+import { path } from "~/utils/path";++export async function loader({ request }: LoaderFunctionArgs) {+ await requirePermissions(request, { create: "inventory" });+ return null;+}++export async function action({ request }: ActionFunctionArgs) {+ assertIsPost(request);+ const { client, companyId, userId } = await requirePermissions(request, {+ create: "inventory"+ });++ const formData = await request.formData();+ const validation = await validator(inventoryCountValidator).validate(+ formData+ );++ if (validation.error) {+ return validationError(validation.error);+ }++ const { locationId, isBlind, notes, storageUnitIds, itemType } =+ validation.data;++ const sequence = await getNextSequence(client, "inventoryCount", companyId);+ if (sequence.error || !sequence.data) {+ return data(+ {},+ await flash(+ request,+ error(sequence.error, "Failed to generate inventory count id")+ )+ );+ }++ // Persisted for a future "regenerate from current stock while Draft" action:+ // it records the filter this count was generated with so the snapshot can be+ // rebuilt with the same scope. Written now, not yet read back.+ const scope = {+ ...(storageUnitIds && storageUnitIds.length > 0 ? { storageUnitIds } : {}),+ ...(itemType ? { itemFilter: { type: itemType } } : {})+ };++ const created = await insertInventoryCount(client, {+ inventoryCountId: sequence.data as string,+ locationId,+ isBlind,+ notes: notes ?? null,+ scope: scope as Json,+ companyId,+ createdBy: userId+ });++ if (created.error || !created.data) {+ return data(+ {},+ await flash(+ request,+ error(created.error, "Failed to create inventory count")+ )+ );+ }++ // Snapshot current on-hand into count lines (multi-row, transactional). The+ // header insert above and this snapshot aren't a single transaction, so if+ // line generation fails, delete the just-created header rather than leaving an+ // orphan empty Draft count behind.+ try {+ await generateInventoryCountLines(getDatabaseClient(), {+ inventoryCountId: created.data.id,+ companyId,+ locationId,+ createdBy: userId,+ storageUnitIds,+ itemType+ });+ } catch (err) {+ await deleteInventoryCount(client, created.data.id, companyId);+ return data(+ {},+ await flash(request, error(err, "Failed to generate count lines"))+ );+ }++ throw redirect(+ path.to.inventoryCount(created.data.id),+ await flash(request, success("Inventory count created"))+ );+}++export default function NewInventoryCountRoute() {+ const navigate = useNavigate();++ return (+ <InventoryCountForm+ initialValues={{ locationId: "", isBlind: false }}+ onClose={() => navigate(-1)}+ />+ );+}diff --git a/apps/erp/app/routes/x+/inventory+/inventory-count.tsx b/apps/erp/app/routes/x+/inventory+/inventory-count.tsxnew file mode 100644index 0000000000..bafed0d5e0--- /dev/null+++ b/apps/erp/app/routes/x+/inventory+/inventory-count.tsx@@ -0,0 +1,71 @@+import { error } from "@carbon/auth";+import { requirePermissions } from "@carbon/auth/auth.server";+import { flash } from "@carbon/auth/session.server";+import { VStack } from "@carbon/react";+import { msg } from "@lingui/core/macro";+import type { LoaderFunctionArgs } from "react-router";+import { Outlet, redirect, useLoaderData } from "react-router";+import { getInventoryCounts, InventoryCountsTable } from "~/modules/inventory";+import { getLocationsList } from "~/modules/resources";+import type { Handle } from "~/utils/handle";+import { path } from "~/utils/path";+import { getGenericQueryFilters } from "~/utils/query";++export const handle: Handle = {+ breadcrumb: msg`Inventory Count`,+ to: path.to.inventoryCounts+};++export async function loader({ request }: LoaderFunctionArgs) {+ const { client, companyId } = await requirePermissions(request, {+ view: "inventory"+ });++ const url = new URL(request.url);+ const searchParams = new URLSearchParams(url.search);+ const search = searchParams.get("search");+ const { limit, offset, sorts, filters } =+ getGenericQueryFilters(searchParams);++ const [inventoryCounts, locations] = await Promise.all([+ getInventoryCounts(client, companyId, {+ search,+ limit,+ offset,+ sorts,+ filters+ }),+ getLocationsList(client, companyId)+ ]);++ if (inventoryCounts.error) {+ throw redirect(+ path.to.inventory,+ await flash(+ request,+ error(inventoryCounts.error, "Error loading inventory count")+ )+ );+ }++ return {+ inventoryCounts: inventoryCounts.data ?? [],+ count: inventoryCounts.count ?? 0,+ locations: locations.data ?? []+ };+}++export default function InventoryCountRoute() {+ const { inventoryCounts, count, locations } = useLoaderData<typeof loader>();++ return (+ <VStack spacing={0} className="h-full">+ <InventoryCountsTable+ data={inventoryCounts}+ count={count ?? 0}+ locations={locations}+ />+ <Outlet />+ </VStack>+ );+}diff --git a/apps/erp/app/routes/x+/inventory-count+/$id.confirm.tsx b/apps/erp/app/routes/x+/inventory-count+/$id.confirm.tsxnew file mode 100644index 0000000000..7ddba38454--- /dev/null+++ b/apps/erp/app/routes/x+/inventory-count+/$id.confirm.tsx@@ -0,0 +1,57 @@+import { assertIsPost, error, success } from "@carbon/auth";+import { requirePermissions } from "@carbon/auth/auth.server";+import { flash } from "@carbon/auth/session.server";+import type { ActionFunctionArgs } from "react-router";+import { redirect } from "react-router";+import {+ getInventoryCount,+ updateInventoryCountStatus+} from "~/modules/inventory";+import { path } from "~/utils/path";++// Confirm (Draft -> Pending): locks the counted quantities for review. The+// acknowledgement of row-level warnings happens in the confirm dialog.+export async function action({ request, params }: ActionFunctionArgs) {+ assertIsPost(request);+ const { client, companyId, userId } = await requirePermissions(request, {+ update: "inventory"+ });++ const { id } = params;+ if (!id) throw new Error("Could not find id");++ const header = await getInventoryCount(client, id, companyId);+ if (header.error || !header.data) {+ throw redirect(+ path.to.inventoryCounts,+ await flash(request, error(header.error, "Inventory count not found"))+ );+ }++ if (header.data.status !== "Draft") {+ throw redirect(+ path.to.inventoryCount(id),+ await flash(request, error(null, "Only a draft count can be confirmed"))+ );+ }++ const update = await updateInventoryCountStatus(client, {+ id,+ companyId,+ status: "Pending",+ expectedStatus: "Draft",+ updatedBy: userId+ });++ if (update.error) {+ throw redirect(+ path.to.inventoryCount(id),+ await flash(request, error(update.error, "Failed to confirm count"))+ );+ }++ throw redirect(+ path.to.inventoryCount(id),+ await flash(request, success("Count confirmed"))+ );+}diff --git a/apps/erp/app/routes/x+/inventory-count+/$id.delete.tsx b/apps/erp/app/routes/x+/inventory-count+/$id.delete.tsxnew file mode 100644index 0000000000..86ff86a15e--- /dev/null+++ b/apps/erp/app/routes/x+/inventory-count+/$id.delete.tsx@@ -0,0 +1,54 @@+import { error, success } from "@carbon/auth";+import { requirePermissions } from "@carbon/auth/auth.server";+import { flash } from "@carbon/auth/session.server";+import type { ActionFunctionArgs, LoaderFunctionArgs } from "react-router";+import { redirect } from "react-router";+import { deleteInventoryCount, getInventoryCount } from "~/modules/inventory";+import { getParams, path } from "~/utils/path";++export async function loader({ request }: LoaderFunctionArgs) {+ await requirePermissions(request, { delete: "inventory" });+ return redirect(path.to.inventoryCounts);+}++export async function action({ request, params }: ActionFunctionArgs) {+ const { client, companyId } = await requirePermissions(request, {+ delete: "inventory"+ });++ const { id } = params;+ if (!id) {+ throw redirect(+ path.to.inventoryCounts,+ await flash(request, error(params, "Failed to get a inventory count id"))+ );+ }++ // A posted count is the audit record of an adjustment — roll it back, don't delete.+ const header = await getInventoryCount(client, id, companyId);+ if (header.data?.status === "Posted") {+ throw redirect(+ path.to.inventoryCount(id),+ await flash(+ request,+ error(null, "Cannot delete a posted count. Roll it back instead.")+ )+ );+ }++ const remove = await deleteInventoryCount(client, id, companyId);+ if (remove.error) {+ throw redirect(+ `${path.to.inventoryCounts}?${getParams(request)}`,+ await flash(+ request,+ error(remove.error, "Failed to delete inventory count")+ )+ );+ }++ throw redirect(+ path.to.inventoryCounts,+ await flash(request, success("Successfully deleted inventory count"))+ );+}diff --git a/apps/erp/app/routes/x+/inventory-count+/$id.post.tsx b/apps/erp/app/routes/x+/inventory-count+/$id.post.tsxnew file mode 100644index 0000000000..09db8c3437--- /dev/null+++ b/apps/erp/app/routes/x+/inventory-count+/$id.post.tsx@@ -0,0 +1,48 @@+import { assertIsPost, error, success } from "@carbon/auth";+import { requirePermissions } from "@carbon/auth/auth.server";+import { getCarbonServiceRole } from "@carbon/auth/client.server";+import { flash } from "@carbon/auth/session.server";+import type { ActionFunctionArgs } from "react-router";+import { redirect } from "react-router";+import { getInventoryCount } from "~/modules/inventory";+import { path } from "~/utils/path";++// Post (Pending -> Posted): atomically posts the variance as inventory+// adjustments via the edge function.+export async function action({ request, params }: ActionFunctionArgs) {+ assertIsPost(request);+ const { client, companyId, userId } = await requirePermissions(request, {+ update: "inventory"+ });++ const { id } = params;+ if (!id) throw new Error("Could not find id");++ const header = await getInventoryCount(client, id, companyId);+ if (header.data?.status !== "Pending") {+ throw redirect(+ path.to.inventoryCount(id),+ await flash(+ request,+ error(null, "Only a confirmed (pending) count can be made effective")+ )+ );+ }++ const serviceRole = getCarbonServiceRole();+ const post = await serviceRole.functions.invoke("post-inventory-count", {+ body: { type: "post", inventoryCountId: id, userId, companyId }+ });++ if (post.error) {+ throw redirect(+ path.to.inventoryCount(id),+ await flash(request, error(post.error, "Failed to post inventory count"))+ );+ }++ throw redirect(+ path.to.inventoryCount(id),+ await flash(request, success("Inventory count posted"))+ );+}diff --git a/apps/erp/app/routes/x+/inventory-count+/$id.reopen.tsx b/apps/erp/app/routes/x+/inventory-count+/$id.reopen.tsxnew file mode 100644index 0000000000..c7ecebffc4--- /dev/null+++ b/apps/erp/app/routes/x+/inventory-count+/$id.reopen.tsx@@ -0,0 +1,49 @@+import { assertIsPost, error, success } from "@carbon/auth";+import { requirePermissions } from "@carbon/auth/auth.server";+import { flash } from "@carbon/auth/session.server";+import type { ActionFunctionArgs } from "react-router";+import { redirect } from "react-router";+import {+ getInventoryCount,+ updateInventoryCountStatus+} from "~/modules/inventory";+import { path } from "~/utils/path";++// Reopen (Pending -> Draft): unlocks the count for further edits before posting.+export async function action({ request, params }: ActionFunctionArgs) {+ assertIsPost(request);+ const { client, companyId, userId } = await requirePermissions(request, {+ update: "inventory"+ });++ const { id } = params;+ if (!id) throw new Error("Could not find id");++ const header = await getInventoryCount(client, id, companyId);+ if (header.data?.status !== "Pending") {+ throw redirect(+ path.to.inventoryCount(id),+ await flash(request, error(null, "Only a pending count can be reopened"))+ );+ }++ const update = await updateInventoryCountStatus(client, {+ id,+ companyId,+ status: "Draft",+ expectedStatus: "Pending",+ updatedBy: userId+ });++ if (update.error) {+ throw redirect(+ path.to.inventoryCount(id),+ await flash(request, error(update.error, "Failed to reopen count"))+ );+ }++ throw redirect(+ path.to.inventoryCount(id),+ await flash(request, success("Count reopened"))+ );+}diff --git a/apps/erp/app/routes/x+/inventory-count+/$id.tsx b/apps/erp/app/routes/x+/inventory-count+/$id.tsxnew file mode 100644index 0000000000..d439258b5e--- /dev/null+++ b/apps/erp/app/routes/x+/inventory-count+/$id.tsx@@ -0,0 +1,99 @@+import { error } from "@carbon/auth";+import { requirePermissions } from "@carbon/auth/auth.server";+import { flash } from "@carbon/auth/session.server";+import { msg } from "@lingui/core/macro";+import type { LoaderFunctionArgs } from "react-router";+import { Outlet, redirect, useLoaderData } from "react-router";+import {+ getInventoryCount,+ getInventoryCountLineSummary,+ getInventoryCountLines,+ InventoryCountDetails+} from "~/modules/inventory";+import type { Handle } from "~/utils/handle";+import { path } from "~/utils/path";+import { getGenericQueryFilters } from "~/utils/query";++export const handle: Handle = {+ breadcrumb: msg`Inventory Count`,+ to: path.to.inventoryCounts+};++export async function loader({ request, params }: LoaderFunctionArgs) {+ const { client, companyId } = await requirePermissions(request, {+ view: "inventory"+ });++ const { id } = params;+ if (!id) throw new Error("Could not find id");++ const inventoryCount = await getInventoryCount(client, id, companyId);+ if (inventoryCount.error || !inventoryCount.data) {+ throw redirect(+ path.to.inventoryCounts,+ await flash(+ request,+ error(inventoryCount.error, "Failed to load inventory count")+ )+ );+ }++ const url = new URL(request.url);+ const searchParams = new URLSearchParams(url.search);+ const search = searchParams.get("search");+ const { limit, offset, sorts, filters } =+ getGenericQueryFilters(searchParams);++ const [lines, summary] = await Promise.all([+ getInventoryCountLines(client, id, companyId, {+ search,+ limit,+ offset,+ sorts,+ filters+ }),+ getInventoryCountLineSummary(client, id, companyId)+ ]);++ // True blind counting: the system quantity (and the variance it can be derived+ // from) must not reach the client while the count is still being entered+ // (Draft). Hiding the columns client-side isn't enough — the values would ship+ // in the loader payload and CSV export. Strip them server-side; they are+ // revealed once the count is locked (Pending and later).+ const isBlindEntry =+ inventoryCount.data.isBlind && inventoryCount.data.status === "Draft";+ const lineData = (lines.data ?? []).map((line) =>+ isBlindEntry+ ? // Withhold System Qty (and the variance it can be derived from). Use null,+ // not 0, so it reads as "not available" (blank / "—" in the UI and CSV)+ // rather than a misleading real value.+ { ...line, systemQuantity: null as unknown as number, variance: null }+ : line+ );++ return {+ inventoryCount: inventoryCount.data,+ lines: lineData,+ count: lines.count ?? 0,+ summary+ };+}++export default function InventoryCountDetailRoute() {+ const { inventoryCount, lines, count, summary } =+ useLoaderData<typeof loader>();++ return (+ <>+ <div className="flex flex-col h-[calc(100dvh-49px)] w-full overflow-hidden">+ <InventoryCountDetails+ inventoryCount={inventoryCount}+ lines={lines}+ count={count}+ summary={summary}+ />+ </div>+ <Outlet />+ </>+ );+}diff --git a/apps/erp/app/routes/x+/inventory-count+/_layout.tsx b/apps/erp/app/routes/x+/inventory-count+/_layout.tsxnew file mode 100644index 0000000000..77416e2aed--- /dev/null+++ b/apps/erp/app/routes/x+/inventory-count+/_layout.tsx@@ -0,0 +1,19 @@+import { msg } from "@lingui/core/macro";+import type { MetaFunction } from "react-router";+import { Outlet } from "react-router";+import type { Handle } from "~/utils/handle";+import { path } from "~/utils/path";++export const meta: MetaFunction = () => {+ return [{ title: "Carbon | Inventory Count" }];+};++export const handle: Handle = {+ breadcrumb: msg`Inventory`,+ to: path.to.inventory,+ module: "inventory"+};++export default function InventoryCountLayoutRoute() {+ return <Outlet />;+}diff --git a/apps/erp/app/routes/x+/inventory-count+/lines.update.tsx b/apps/erp/app/routes/x+/inventory-count+/lines.update.tsxnew file mode 100644index 0000000000..87b6044cbf--- /dev/null+++ b/apps/erp/app/routes/x+/inventory-count+/lines.update.tsx@@ -0,0 +1,57 @@+import { assertIsPost, error } from "@carbon/auth";+import { requirePermissions } from "@carbon/auth/auth.server";+import { validationError, validator } from "@carbon/form";+import type { ActionFunctionArgs } from "react-router";+import { data } from "react-router";+import {+ inventoryCountLineValidator,+ updateInventoryCountLine+} from "~/modules/inventory";+import { getDatabaseClient } from "~/services/database.server";++// Inline count entry persists one line at a time via a fetcher. The Draft-only+// guard is enforced atomically inside `updateInventoryCountLine` (a single+// conditional UPDATE), so there's no read-then-write race with a concurrent+// Confirm.+export async function action({ request }: ActionFunctionArgs) {+ assertIsPost(request);+ const { companyId, userId } = await requirePermissions(request, {+ update: "inventory"+ });++ const formData = await request.formData();+ const validation = await validator(inventoryCountLineValidator).validate(+ formData+ );++ if (validation.error) {+ return validationError(validation.error);+ }++ const { id, countedQuantity } = validation.data;++ let updated: { id: string } | undefined;+ try {+ updated = await updateInventoryCountLine(getDatabaseClient(), {+ id,+ countedQuantity,+ companyId,+ countedBy: userId+ });+ } catch (err) {+ return data(+ { error: error(err, "Failed to update count") },+ { status: 500 }+ );+ }++ // No row matched: the line doesn't exist or the count is no longer Draft.+ if (!updated) {+ return data(+ { error: "Counts can only be edited while the document is Draft" },+ { status: 409 }+ );+ }++ return { success: true };+}diff --git a/apps/erp/app/utils/path.ts b/apps/erp/app/utils/path.tsindex 872963604a..df7bd0e519 100644--- a/apps/erp/app/utils/path.ts+++ b/apps/erp/app/utils/path.ts@@ -1590,6 +1590,18 @@ export const path = {receiptPost: (id: string) => generatePath(`${x}/receipt/${id}/post`),receiptRoot: `${x}/receipt`,receiptVoid: (id: string) => generatePath(`${x}/receipt/${id}/void`),+ inventoryCounts: `${x}/inventory/inventory-count`,+ newInventoryCount: `${x}/inventory/inventory-count/new`,+ inventoryCount: (id: string) => generatePath(`${x}/inventory-count/${id}`),+ inventoryCountConfirm: (id: string) =>+ generatePath(`${x}/inventory-count/${id}/confirm`),+ inventoryCountReopen: (id: string) =>+ generatePath(`${x}/inventory-count/${id}/reopen`),+ inventoryCountPost: (id: string) =>+ generatePath(`${x}/inventory-count/${id}/post`),+ inventoryCountDelete: (id: string) =>+ generatePath(`${x}/inventory-count/${id}/delete`),+ inventoryCountLineUpdate: `${x}/inventory-count/lines/update`,refreshSession: "/refresh-session",requiredAction: (id: string) =>generatePath(`${x}/quality/required-actions/${id}`),diff --git a/package.json b/package.jsonindex 41c170fa7c..f18c181a20 100755--- a/package.json+++ b/package.json@@ -5,7 +5,8 @@"@lingui/cli": "catalog:","@react-router/dev": "catalog:","@types/aws-lambda": "8.10.152",- "@typescript/native-preview": "7.0.0-dev.20260409.1",+ "@types/node": "catalog:",+ "@typescript/native-preview": "catalog:","cli-table3": "^0.6.5","csv-parse": "5.6.0","execa": "^8.0.1",diff --git a/packages/auth/src/lib/supabase/client.ts b/packages/auth/src/lib/supabase/client.tsindex b253939b81..92ffb3ba7a 100644--- a/packages/auth/src/lib/supabase/client.ts+++ b/packages/auth/src/lib/supabase/client.ts@@ -60,26 +60,24 @@ export const getCarbonClient = (return client;};-export const getCarbonAPIKeyClient = (apiKey: string) => {- const client = createClient<Database, "public">(- SUPABASE_URL!,- SUPABASE_ANON_KEY!,- {- global: {- fetch: fetchWithRetry,- headers: {- "carbon-key": apiKey- }+export const getCarbonAPIKeyClient = (+ apiKey: string+): SupabaseClient<Database, "public"> => {+ const client = createClient(SUPABASE_URL!, SUPABASE_ANON_KEY!, {+ global: {+ fetch: fetchWithRetry,+ headers: {+ "carbon-key": apiKey}}- );+ });return client;};export const createCarbonWithAuthGetter = (store: MutableRefObject<StoreApi<{ accessToken: string }>>-) => {+): SupabaseClient<Database, "public"> => {return createClient<Database, "public">(SUPABASE_URL!, SUPABASE_ANON_KEY!, {auth: {autoRefreshToken: false,@@ -96,7 +94,9 @@ export const createCarbonWithAuthGetter = (});};-export const getCarbon = (accessToken?: string) => {+export const getCarbon = (+ accessToken?: string+): SupabaseClient<Database, "public"> => {return getCarbonClient(SUPABASE_ANON_KEY!, accessToken);};diff --git a/packages/database/src/types.ts b/packages/database/src/types.tsindex 063c19e245..26ca1a8a49 100644--- a/packages/database/src/types.ts+++ b/packages/database/src/types.ts@@ -347,6 +347,7 @@ export type Database = {deferredTaxLiabilityAccountId: string | nullgoodsReceivedNotInvoicedAccount: stringindirectCostAccount: string+ intercompanyReceivablesAccount: string | nullinterestAccount: stringinventoryAccount: stringinventoryAdjustmentVarianceAccount: string@@ -396,6 +397,7 @@ export type Database = {deferredTaxLiabilityAccountId?: string | nullgoodsReceivedNotInvoicedAccount: stringindirectCostAccount: string+ intercompanyReceivablesAccount?: string | nullinterestAccount: stringinventoryAccount: stringinventoryAdjustmentVarianceAccount: string@@ -445,6 +447,7 @@ export type Database = {deferredTaxLiabilityAccountId?: string | nullgoodsReceivedNotInvoicedAccount?: stringindirectCostAccount?: string+ intercompanyReceivablesAccount?: string | nullinterestAccount?: stringinventoryAccount?: stringinventoryAdjustmentVarianceAccount?: string@@ -742,6 +745,20 @@ export type Database = {referencedRelation: "accounts"referencedColumns: ["id"]},+ {+ foreignKeyName: "accountDefault_intercompanyReceivablesAccount_fkey"+ columns: ["intercompanyReceivablesAccount"]+ isOneToOne: false+ referencedRelation: "account"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "accountDefault_intercompanyReceivablesAccount_fkey"+ columns: ["intercompanyReceivablesAccount"]+ isOneToOne: false+ referencedRelation: "accounts"+ referencedColumns: ["id"]+ },{foreignKeyName: "accountDefault_interestAccount_fkey"columns: ["interestAccount"]@@ -4625,38 +4642,24 @@ export type Database = {},{foreignKeyName: "costLedger_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "costLedger_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "costLedger_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "costLedger_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "costLedger_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -5147,24 +5150,24 @@ export type Database = {},{foreignKeyName: "customerAccount_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerAccount_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerAccount_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerAccount_id_fkey"@@ -5244,24 +5247,24 @@ export type Database = {},{foreignKeyName: "customerContact_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerContact_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerContact_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerContact_customerLocationId_fkey"@@ -5422,24 +5425,24 @@ export type Database = {},{foreignKeyName: "customerItemPriceOverride_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerItemPriceOverride_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerItemPriceOverride_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerItemPriceOverride_customerTypeId_fkey"@@ -5710,24 +5713,24 @@ export type Database = {},{foreignKeyName: "customerLocation_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerLocation_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerLocation_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -5787,24 +5790,24 @@ export type Database = {},{foreignKeyName: "customerPartToItem_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPartToItem_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPartToItem_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPartToItem_itemId_fkey"@@ -5912,24 +5915,24 @@ export type Database = {},{foreignKeyName: "customerPayment_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPayment_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPayment_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPayment_invoiceCustomerContactId_fkey"@@ -5940,24 +5943,24 @@ export type Database = {},{foreignKeyName: "customerPayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPayment_invoiceCustomerLocationId_fkey"@@ -6081,24 +6084,24 @@ export type Database = {},{foreignKeyName: "customerShipping_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerShipping_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerShipping_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerShipping_shippingCustomerContactId_fkey"@@ -6109,24 +6112,24 @@ export type Database = {},{foreignKeyName: "customerShipping_shippingCustomerId_fkey"- columns: ["shippingCustomerId"]+ columns: ["shippingCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerShipping_shippingCustomerId_fkey"- columns: ["shippingCustomerId"]+ columns: ["shippingCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerShipping_shippingCustomerId_fkey"- columns: ["shippingCustomerId"]+ columns: ["shippingCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerShipping_shippingCustomerLocationId_fkey"@@ -6398,24 +6401,24 @@ export type Database = {},{foreignKeyName: "customerTax_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerTax_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerTax_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerTax_updatedBy_fkey"@@ -9860,38 +9863,24 @@ export type Database = {Relationships: [{foreignKeyName: "externalLink_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "externalLink_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "externalLink_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "externalLink_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "externalLink_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "externalLinks_companyId_fkey"@@ -9923,24 +9912,24 @@ export type Database = {},{foreignKeyName: "externalLinks_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "externalLinks_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "externalLinks_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -11057,24 +11046,24 @@ export type Database = {},{foreignKeyName: "fixture_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "fixture_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "fixture_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "fixture_itemId_fkey"@@ -11495,38 +11484,24 @@ export type Database = {},{foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gauge_updatedBy_fkey"@@ -11747,38 +11722,24 @@ export type Database = {},{foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gaugeCalibrationRecord_updatedBy_fkey"@@ -13005,38 +12966,24 @@ export type Database = {},{foreignKeyName: "inboundInspection_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "inboundInspection_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "inboundInspection_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "inboundInspection_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "inboundInspection_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "inboundInspection_updatedBy_fkey"@@ -13249,38 +13196,24 @@ export type Database = {},{foreignKeyName: "inboundInspectionHistory_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "inboundInspectionHistory_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "inboundInspectionHistory_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "inboundInspectionHistory_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "inboundInspectionHistory_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "inboundInspectionHistory_updatedBy_fkey"@@ -14072,6 +14005,13 @@ export type Database = {referencedRelation: "journalLine"referencedColumns: ["id"]},+ {+ foreignKeyName: "intercompanyTransaction_sourceJournalLineId_fkey"+ columns: ["sourceJournalLineId"]+ isOneToOne: false+ referencedRelation: "journalLines"+ referencedColumns: ["id"]+ },{foreignKeyName: "intercompanyTransaction_targetCompanyId_fkey"columns: ["targetCompanyId"]@@ -14107,6 +14047,460 @@ export type Database = {referencedRelation: "journalLine"referencedColumns: ["id"]},+ {+ foreignKeyName: "intercompanyTransaction_targetJournalLineId_fkey"+ columns: ["targetJournalLineId"]+ isOneToOne: false+ referencedRelation: "journalLines"+ referencedColumns: ["id"]+ },+ ]+ }+ inventoryCount: {+ Row: {+ companyId: string+ createdAt: string+ createdBy: string+ customFields: Json | null+ id: string+ inventoryCountId: string+ isBlind: boolean+ locationId: string+ notes: string | null+ postedAt: string | null+ postedBy: string | null+ scope: Json | null+ snapshotAt: string | null+ status: Database["public"]["Enums"]["inventoryCountStatus"]+ updatedAt: string | null+ updatedBy: string | null+ }+ Insert: {+ companyId: string+ createdAt?: string+ createdBy: string+ customFields?: Json | null+ id?: string+ inventoryCountId: string+ isBlind?: boolean+ locationId: string+ notes?: string | null+ postedAt?: string | null+ postedBy?: string | null+ scope?: Json | null+ snapshotAt?: string | null+ status?: Database["public"]["Enums"]["inventoryCountStatus"]+ updatedAt?: string | null+ updatedBy?: string | null+ }+ Update: {+ companyId?: string+ createdAt?: string+ createdBy?: string+ customFields?: Json | null+ id?: string+ inventoryCountId?: string+ isBlind?: boolean+ locationId?: string+ notes?: string | null+ postedAt?: string | null+ postedBy?: string | null+ scope?: Json | null+ snapshotAt?: string | null+ status?: Database["public"]["Enums"]["inventoryCountStatus"]+ updatedAt?: string | null+ updatedBy?: string | null+ }+ Relationships: [+ {+ foreignKeyName: "inventoryCount_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "companies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "company"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "customFieldTables"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "inventoryCount_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "integrations"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "inventoryCount_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "employees"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "employeesAcrossCompanies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "employeeSummary"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "user"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "userDefaults"+ referencedColumns: ["userId"]+ },+ {+ foreignKeyName: "inventoryCount_locationId_fkey"+ columns: ["locationId"]+ isOneToOne: false+ referencedRelation: "location"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_postedBy_fkey"+ columns: ["postedBy"]+ isOneToOne: false+ referencedRelation: "employees"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_postedBy_fkey"+ columns: ["postedBy"]+ isOneToOne: false+ referencedRelation: "employeesAcrossCompanies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_postedBy_fkey"+ columns: ["postedBy"]+ isOneToOne: false+ referencedRelation: "employeeSummary"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_postedBy_fkey"+ columns: ["postedBy"]+ isOneToOne: false+ referencedRelation: "user"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_postedBy_fkey"+ columns: ["postedBy"]+ isOneToOne: false+ referencedRelation: "userDefaults"+ referencedColumns: ["userId"]+ },+ {+ foreignKeyName: "inventoryCount_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employees"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employeesAcrossCompanies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employeeSummary"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "user"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "userDefaults"+ referencedColumns: ["userId"]+ },+ ]+ }+ inventoryCountLine: {+ Row: {+ companyId: string+ countedAt: string | null+ countedBy: string | null+ countedQuantity: number | null+ createdAt: string+ createdBy: string+ customFields: Json | null+ id: string+ inventoryCountId: string+ itemId: string+ locationId: string | null+ postedItemLedgerId: string | null+ readableId: string | null+ storageUnitId: string | null+ systemQuantity: number+ trackedEntityId: string | null+ updatedAt: string | null+ updatedBy: string | null+ variance: number | null+ }+ Insert: {+ companyId: string+ countedAt?: string | null+ countedBy?: string | null+ countedQuantity?: number | null+ createdAt?: string+ createdBy: string+ customFields?: Json | null+ id?: string+ inventoryCountId: string+ itemId: string+ locationId?: string | null+ postedItemLedgerId?: string | null+ readableId?: string | null+ storageUnitId?: string | null+ systemQuantity?: number+ trackedEntityId?: string | null+ updatedAt?: string | null+ updatedBy?: string | null+ variance?: number | null+ }+ Update: {+ companyId?: string+ countedAt?: string | null+ countedBy?: string | null+ countedQuantity?: number | null+ createdAt?: string+ createdBy?: string+ customFields?: Json | null+ id?: string+ inventoryCountId?: string+ itemId?: string+ locationId?: string | null+ postedItemLedgerId?: string | null+ readableId?: string | null+ storageUnitId?: string | null+ systemQuantity?: number+ trackedEntityId?: string | null+ updatedAt?: string | null+ updatedBy?: string | null+ variance?: number | null+ }+ Relationships: [+ {+ foreignKeyName: "inventoryCountLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "companies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "company"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "customFieldTables"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "inventoryCountLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "integrations"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "inventoryCountLine_countedBy_fkey"+ columns: ["countedBy"]+ isOneToOne: false+ referencedRelation: "employees"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_countedBy_fkey"+ columns: ["countedBy"]+ isOneToOne: false+ referencedRelation: "employeesAcrossCompanies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_countedBy_fkey"+ columns: ["countedBy"]+ isOneToOne: false+ referencedRelation: "employeeSummary"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_countedBy_fkey"+ columns: ["countedBy"]+ isOneToOne: false+ referencedRelation: "user"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_countedBy_fkey"+ columns: ["countedBy"]+ isOneToOne: false+ referencedRelation: "userDefaults"+ referencedColumns: ["userId"]+ },+ {+ foreignKeyName: "inventoryCountLine_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "employees"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "employeesAcrossCompanies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "employeeSummary"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "user"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "userDefaults"+ referencedColumns: ["userId"]+ },+ {+ foreignKeyName: "inventoryCountLine_inventoryCountId_companyId_fkey"+ columns: ["inventoryCountId", "companyId"]+ isOneToOne: false+ referencedRelation: "inventoryCount"+ referencedColumns: ["id", "companyId"]+ },+ {+ foreignKeyName: "inventoryCountLine_itemId_fkey"+ columns: ["itemId"]+ isOneToOne: false+ referencedRelation: "consumables"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_itemId_fkey"+ columns: ["itemId"]+ isOneToOne: false+ referencedRelation: "item"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_itemId_fkey"+ columns: ["itemId"]+ isOneToOne: false+ referencedRelation: "materials"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_itemId_fkey"+ columns: ["itemId"]+ isOneToOne: false+ referencedRelation: "parts"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_itemId_fkey"+ columns: ["itemId"]+ isOneToOne: false+ referencedRelation: "services"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_itemId_fkey"+ columns: ["itemId"]+ isOneToOne: false+ referencedRelation: "tools"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employees"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employeesAcrossCompanies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employeeSummary"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "user"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "userDefaults"+ referencedColumns: ["userId"]+ },]}invite: {@@ -15687,38 +16081,24 @@ export type Database = {},{foreignKeyName: "itemReplenishment_preferredSupplierId_fkey"- columns: ["preferredSupplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "itemReplenishment_preferredSupplierId_fkey"- columns: ["preferredSupplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "itemReplenishment_preferredSupplierId_fkey"- columns: ["preferredSupplierId"]+ columns: ["preferredSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "itemReplenishment_preferredSupplierId_fkey"- columns: ["preferredSupplierId"]+ columns: ["preferredSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "itemReplenishment_preferredSupplierId_fkey"- columns: ["preferredSupplierId"]+ columns: ["preferredSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "itemReplenishment_purchaseUnitOfMeasureCode_fkey"@@ -16803,24 +17183,24 @@ export type Database = {},{foreignKeyName: "job_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "job_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "job_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "job_itemId_fkey"@@ -19451,6 +19831,13 @@ export type Database = {referencedRelation: "journalLine"referencedColumns: ["id"]},+ {+ foreignKeyName: "journalLineDimension_journalLineId_fkey"+ columns: ["journalLineId"]+ isOneToOne: false+ referencedRelation: "journalLines"+ referencedColumns: ["id"]+ },]}kanban: {@@ -19664,38 +20051,24 @@ export type Database = {},{foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "kanban_updatedBy_fkey"@@ -22804,24 +23177,24 @@ export type Database = {},{foreignKeyName: "memo_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "memo_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "memo_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "memo_journalId_fkey"@@ -22888,38 +23261,24 @@ export type Database = {},{foreignKeyName: "memo_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "memo_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "memo_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "memo_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "memo_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "memo_updatedBy_fkey"@@ -24735,38 +25094,24 @@ export type Database = {},{foreignKeyName: "nonConformanceActionTask_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "nonConformanceActionTask_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "nonConformanceActionTask_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceActionTask_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceActionTask_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceActionTask_updatedBy_fkey"@@ -25110,24 +25455,24 @@ export type Database = {},{foreignKeyName: "nonConformanceCustomer_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceCustomer_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceCustomer_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceCustomer_nonConformanceId_fkey"@@ -27080,38 +27425,24 @@ export type Database = {},{foreignKeyName: "nonConformanceSupplier_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "nonConformanceSupplier_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "nonConformanceSupplier_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceSupplier_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceSupplier_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceSupplier_updatedBy_fkey"@@ -28313,24 +28644,24 @@ export type Database = {},{foreignKeyName: "opportunity_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "opportunity_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "opportunity_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -28921,24 +29252,24 @@ export type Database = {},{foreignKeyName: "payment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "payment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "payment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "payment_journalId_fkey"@@ -28991,38 +29322,24 @@ export type Database = {},{foreignKeyName: "payment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "payment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "payment_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "payment_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "payment_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "payment_updatedBy_fkey"@@ -31662,38 +31979,24 @@ export type Database = {},{foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_invoiceSupplierLocationId_fkey"@@ -31718,38 +32021,24 @@ export type Database = {},{foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_supplierInteractionId_fkey"@@ -32764,38 +33053,24 @@ export type Database = {},{foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrder_supplierInteractionId_fkey"@@ -32918,24 +33193,24 @@ export type Database = {Relationships: [{foreignKeyName: "purchaseOrderDelivery_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrderDelivery_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrderDelivery_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrderDelivery_customerLocationId_fkey"@@ -33609,38 +33884,24 @@ export type Database = {},{foreignKeyName: "purchaseOrderPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrderPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrderPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrderPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrderPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrderPayment_invoiceSupplierLocationId_fkey"@@ -34502,38 +34763,24 @@ export type Database = {},{foreignKeyName: "purchasingRfqSupplier_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchasingRfqSupplier_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchasingRfqSupplier_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchasingRfqSupplier_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchasingRfqSupplier_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchasingRfqSupplier_updatedBy_fkey"@@ -35322,24 +35569,24 @@ export type Database = {},{foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quote_customerLocationId_fkey"@@ -37505,24 +37752,24 @@ export type Database = {},{foreignKeyName: "quotePayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quotePayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quotePayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quotePayment_invoiceCustomerLocationId_fkey"@@ -37910,38 +38157,24 @@ export type Database = {},{foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "receipt_supplierInteractionId_fkey"@@ -38916,24 +39149,24 @@ export type Database = {},{foreignKeyName: "salesInvoice_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerContactId_fkey"@@ -38944,24 +39177,24 @@ export type Database = {},{foreignKeyName: "salesInvoice_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerLocationId_fkey"@@ -39841,24 +40074,24 @@ export type Database = {},{foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrder_locationId_fkey"@@ -40406,24 +40639,24 @@ export type Database = {},{foreignKeyName: "salesOrderPayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrderPayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrderPayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrderPayment_invoiceCustomerLocationId_fkey"@@ -40580,24 +40813,24 @@ export type Database = {},{foreignKeyName: "salesOrderShipment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrderShipment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrderShipment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrderShipment_customerLocationId_fkey"@@ -41094,24 +41327,24 @@ export type Database = {},{foreignKeyName: "salesRfq_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesRfq_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesRfq_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesRfq_customerLocationId_fkey"@@ -42409,24 +42642,24 @@ export type Database = {},{foreignKeyName: "shipment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "shipment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "shipment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "shipment_locationId_fkey"@@ -42486,38 +42719,24 @@ export type Database = {},{foreignKeyName: "shipment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "shipment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "shipment_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "shipment_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "shipment_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "shipment_supplierInteractionId_fkey"@@ -45129,38 +45348,24 @@ export type Database = {},{foreignKeyName: "supplierAccount_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierAccount_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierAccount_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierAccount_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierAccount_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -45205,38 +45410,24 @@ export type Database = {},{foreignKeyName: "supplierContact_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierContact_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierContact_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierContact_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierContact_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierContact_supplierLocationId_fkey"@@ -45329,38 +45520,24 @@ export type Database = {},{foreignKeyName: "supplierInteraction_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierInteraction_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierInteraction_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierInteraction_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierInteraction_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -45438,38 +45615,24 @@ export type Database = {},{foreignKeyName: "supplierLedger_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierLedger_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierLedger_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierLedger_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierLedger_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -45511,38 +45674,24 @@ export type Database = {},{foreignKeyName: "supplierLocation_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierLocation_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierLocation_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierLocation_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierLocation_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -45712,38 +45861,24 @@ export type Database = {},{foreignKeyName: "buyMethod_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "buyMethod_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "buyMethod_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "buyMethod_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "buyMethod_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "buyMethod_updatedBy_fkey"@@ -46005,38 +46140,24 @@ export type Database = {},{foreignKeyName: "supplierPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierPayment_invoiceSupplierLocationId_fkey"@@ -46054,38 +46175,24 @@ export type Database = {},{foreignKeyName: "supplierPayment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierPayment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierPayment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierPayment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierPayment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierPayment_updatedBy_fkey"@@ -46247,38 +46354,24 @@ export type Database = {},{foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierProcess_updatedBy_fkey"@@ -46524,38 +46617,24 @@ export type Database = {},{foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierQuote_supplierInteractionId_fkey"@@ -47238,38 +47317,24 @@ export type Database = {},{foreignKeyName: "supplierShipping_shippingSupplierId_fkey"- columns: ["shippingSupplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierShipping_shippingSupplierId_fkey"- columns: ["shippingSupplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierShipping_shippingSupplierId_fkey"- columns: ["shippingSupplierId"]+ columns: ["shippingSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierShipping_shippingSupplierId_fkey"- columns: ["shippingSupplierId"]+ columns: ["shippingSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierShipping_shippingSupplierId_fkey"- columns: ["shippingSupplierId"]+ columns: ["shippingSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierShipping_shippingSupplierLocationId_fkey"@@ -47287,38 +47352,24 @@ export type Database = {},{foreignKeyName: "supplierShipping_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierShipping_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierShipping_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierShipping_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierShipping_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierShipping_updatedBy_fkey"@@ -47434,38 +47485,24 @@ export type Database = {},{foreignKeyName: "supplierTax_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierTax_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierTax_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierTax_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierTax_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierTax_updatedBy_fkey"@@ -54143,38 +54180,24 @@ export type Database = {},{foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gaugeCalibrationRecord_updatedBy_fkey"@@ -54393,38 +54416,24 @@ export type Database = {},{foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gauge_updatedBy_fkey"@@ -56365,24 +56374,24 @@ export type Database = {},{foreignKeyName: "job_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "job_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "job_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "job_itemId_fkey"@@ -56744,6 +56753,159 @@ export type Database = {},]}+ journalLines: {+ Row: {+ accountId: string | null+ accrual: boolean | null+ amount: number | null+ companyId: string | null+ createdAt: string | null+ customFields: Json | null+ description: string | null+ documentId: string | null+ documentLineReference: string | null+ documentType:+ | Database["public"]["Enums"]["journalLineDocumentType"]+ | null+ externalDocumentId: string | null+ id: string | null+ intercompanyPartnerId: string | null+ journalDescription: string | null+ journalEntryId: string | null+ journalId: string | null+ journalLineReference: string | null+ postingDate: string | null+ quantity: number | null+ sourceType:+ | Database["public"]["Enums"]["journalEntrySourceType"]+ | null+ status: Database["public"]["Enums"]["journalEntryStatus"] | null+ tags: string[] | null+ updatedAt: string | null+ updatedBy: string | null+ }+ Relationships: [+ {+ foreignKeyName: "journalLine_accountId_fkey"+ columns: ["accountId"]+ isOneToOne: false+ referencedRelation: "account"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_accountId_fkey"+ columns: ["accountId"]+ isOneToOne: false+ referencedRelation: "accounts"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "companies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "company"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "customFieldTables"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "journalLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "integrations"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "journalLine_intercompanyPartnerId_fkey"+ columns: ["intercompanyPartnerId"]+ isOneToOne: false+ referencedRelation: "companies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_intercompanyPartnerId_fkey"+ columns: ["intercompanyPartnerId"]+ isOneToOne: false+ referencedRelation: "company"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_intercompanyPartnerId_fkey"+ columns: ["intercompanyPartnerId"]+ isOneToOne: false+ referencedRelation: "customFieldTables"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "journalLine_intercompanyPartnerId_fkey"+ columns: ["intercompanyPartnerId"]+ isOneToOne: false+ referencedRelation: "integrations"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "journalLine_journalId_fkey"+ columns: ["journalId"]+ isOneToOne: false+ referencedRelation: "journal"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_journalId_fkey"+ columns: ["journalId"]+ isOneToOne: false+ referencedRelation: "journalEntries"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employees"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employeesAcrossCompanies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employeeSummary"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "user"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "userDefaults"+ referencedColumns: ["userId"]+ },+ ]+ }kanbans: {Row: {autoRelease: boolean | null@@ -56924,38 +57086,24 @@ export type Database = {},{foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "kanban_updatedBy_fkey"@@ -57899,41 +58047,6 @@ export type Database = {unitOfMeasureCode: string | null}Relationships: [- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "supplier"- referencedColumns: ["id"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "suppliers"- referencedColumns: ["id"]- },{foreignKeyName: "purchaseOrderLine_itemId_fkey"columns: ["itemId"]@@ -59183,6 +59296,9 @@ export type Database = {Row: {assignee: string | nullbalance: number | null+ baseStatus:+ | Database["public"]["Enums"]["purchaseInvoiceStatus"]+ | nullcompanyId: string | nullcreatedAt: string | nullcreatedBy: string | null@@ -59332,38 +59448,24 @@ export type Database = {},{foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_invoiceSupplierLocationId_fkey"@@ -59388,38 +59490,24 @@ export type Database = {},{foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_supplierInteractionId_fkey"@@ -59858,14 +59946,14 @@ export type Database = {Relationships: [{foreignKeyName: "address_countryCode_fkey"- columns: ["customerCountryCode"]+ columns: ["supplierCountryCode"]isOneToOne: falsereferencedRelation: "country"referencedColumns: ["alpha2"]},{foreignKeyName: "address_countryCode_fkey"- columns: ["supplierCountryCode"]+ columns: ["customerCountryCode"]isOneToOne: falsereferencedRelation: "country"referencedColumns: ["alpha2"]@@ -60099,38 +60187,24 @@ export type Database = {},{foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrder_supplierInteractionId_fkey"@@ -60981,27 +61055,6 @@ export type Database = {updatedBy: string | null}Relationships: [- {- foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]- isOneToOne: false- referencedRelation: "customer"- referencedColumns: ["id"]- },- {- foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]- isOneToOne: false- referencedRelation: "customers"- referencedColumns: ["id"]- },- {- foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]- isOneToOne: false- referencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]- },{foreignKeyName: "quoteLine_companyId_fkey"columns: ["companyId"]@@ -62204,24 +62257,24 @@ export type Database = {},{foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quote_customerLocationId_fkey"@@ -62697,38 +62750,24 @@ export type Database = {},{foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "receipt_supplierInteractionId_fkey"@@ -63291,21 +63330,21 @@ export type Database = {Relationships: [{foreignKeyName: "address_countryCode_fkey"- columns: ["invoiceCountryCode"]+ columns: ["customerCountryCode"]isOneToOne: falsereferencedRelation: "country"referencedColumns: ["alpha2"]},{foreignKeyName: "address_countryCode_fkey"- columns: ["customerCountryCode"]+ columns: ["shipmentCountryCode"]isOneToOne: falsereferencedRelation: "country"referencedColumns: ["alpha2"]},{foreignKeyName: "address_countryCode_fkey"- columns: ["shipmentCountryCode"]+ columns: ["invoiceCountryCode"]isOneToOne: falsereferencedRelation: "country"referencedColumns: ["alpha2"]@@ -63316,6 +63355,7 @@ export type Database = {Row: {assignee: string | nullbalance: number | null+ baseStatus: Database["public"]["Enums"]["salesInvoiceStatus"] | nullcompanyId: string | nullcreatedAt: string | nullcreatedBy: string | null@@ -63341,6 +63381,7 @@ export type Database = {locationId: string | nullopportunityId: string | nullpaymentTermId: string | null+ paymentTermName: string | nullpostingDate: string | nullshipmentId: string | nullstatus: string | null@@ -63426,24 +63467,24 @@ export type Database = {},{foreignKeyName: "salesInvoice_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerContactId_fkey"@@ -63454,24 +63495,24 @@ export type Database = {},{foreignKeyName: "salesInvoice_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerLocationId_fkey"@@ -63648,27 +63689,6 @@ export type Database = {updatedBy: string | null}Relationships: [- {- foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]- isOneToOne: false- referencedRelation: "customer"- referencedColumns: ["id"]- },- {- foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]- isOneToOne: false- referencedRelation: "customers"- referencedColumns: ["id"]- },- {- foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]- isOneToOne: false- referencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]- },{foreignKeyName: "salesOrderLine_accountId_fkey"columns: ["accountId"]@@ -64091,24 +64111,24 @@ export type Database = {},{foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrder_locationId_fkey"@@ -64545,24 +64565,24 @@ export type Database = {},{foreignKeyName: "salesRfq_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesRfq_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesRfq_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesRfq_customerLocationId_fkey"@@ -65576,38 +65596,24 @@ export type Database = {},{foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierProcess_updatedBy_fkey"@@ -66061,38 +66067,24 @@ export type Database = {},{foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierQuote_supplierInteractionId_fkey"@@ -69738,6 +69730,7 @@ export type Database = {inspectionLevel: "I" | "II" | "III" | "S1" | "S2" | "S3" | "S4"inspectionSeverity: "Normal" | "Tightened" | "Reduced"inspectionStatus: "Pass" | "Fail"+ inventoryCountStatus: "Draft" | "Pending" | "Posted"itemCostingMethod: "Standard" | "Average" | "LIFO" | "FIFO"itemLedgerDocumentType:| "Sales Shipment"@@ -69764,6 +69757,7 @@ export type Database = {| "Maintenance Consumption"| "Non-Conformance"| "Inbound Inspection"+ | "Inventory Count"itemLedgerType:| "Purchase"| "Sale"@@ -71068,6 +71062,7 @@ export const Constants = {inspectionLevel: ["I", "II", "III", "S1", "S2", "S3", "S4"],inspectionSeverity: ["Normal", "Tightened", "Reduced"],inspectionStatus: ["Pass", "Fail"],+ inventoryCountStatus: ["Draft", "Pending", "Posted"],itemCostingMethod: ["Standard", "Average", "LIFO", "FIFO"],itemLedgerDocumentType: ["Sales Shipment",@@ -71094,6 +71089,7 @@ export const Constants = {"Maintenance Consumption","Non-Conformance","Inbound Inspection",+ "Inventory Count",],itemLedgerType: ["Purchase",diff --git a/packages/database/supabase/config.toml b/packages/database/supabase/config.tomlindex fdc594b15a..9448f39b94 100644--- a/packages/database/supabase/config.toml+++ b/packages/database/supabase/config.toml@@ -188,6 +188,11 @@ enabled = trueverify_jwt = trueentrypoint = "./functions/post-picking/index.ts"+[functions.post-inventory-count]+enabled = true+verify_jwt = true+entrypoint = "./functions/post-inventory-count/index.ts"+[functions.transcription]enabled = truediff --git a/packages/database/supabase/functions/lib/seed.data.ts b/packages/database/supabase/functions/lib/seed.data.tsindex 41d276c9d6..c5c16d91dc 100644--- a/packages/database/supabase/functions/lib/seed.data.ts+++ b/packages/database/supabase/functions/lib/seed.data.ts@@ -226,6 +226,15 @@ export const sequences = [size: 6,step: 1},+ {+ table: "inventoryCount",+ name: "Inventory Count",+ prefix: "IC",+ suffix: null,+ next: 0,+ size: 6,+ step: 1+ },{table: "maintenanceDispatch",name: "Maintenance Dispatch",diff --git a/packages/database/supabase/functions/lib/types.ts b/packages/database/supabase/functions/lib/types.tsindex 063c19e245..26ca1a8a49 100644--- a/packages/database/supabase/functions/lib/types.ts+++ b/packages/database/supabase/functions/lib/types.ts@@ -347,6 +347,7 @@ export type Database = {deferredTaxLiabilityAccountId: string | nullgoodsReceivedNotInvoicedAccount: stringindirectCostAccount: string+ intercompanyReceivablesAccount: string | nullinterestAccount: stringinventoryAccount: stringinventoryAdjustmentVarianceAccount: string@@ -396,6 +397,7 @@ export type Database = {deferredTaxLiabilityAccountId?: string | nullgoodsReceivedNotInvoicedAccount: stringindirectCostAccount: string+ intercompanyReceivablesAccount?: string | nullinterestAccount: stringinventoryAccount: stringinventoryAdjustmentVarianceAccount: string@@ -445,6 +447,7 @@ export type Database = {deferredTaxLiabilityAccountId?: string | nullgoodsReceivedNotInvoicedAccount?: stringindirectCostAccount?: string+ intercompanyReceivablesAccount?: string | nullinterestAccount?: stringinventoryAccount?: stringinventoryAdjustmentVarianceAccount?: string@@ -742,6 +745,20 @@ export type Database = {referencedRelation: "accounts"referencedColumns: ["id"]},+ {+ foreignKeyName: "accountDefault_intercompanyReceivablesAccount_fkey"+ columns: ["intercompanyReceivablesAccount"]+ isOneToOne: false+ referencedRelation: "account"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "accountDefault_intercompanyReceivablesAccount_fkey"+ columns: ["intercompanyReceivablesAccount"]+ isOneToOne: false+ referencedRelation: "accounts"+ referencedColumns: ["id"]+ },{foreignKeyName: "accountDefault_interestAccount_fkey"columns: ["interestAccount"]@@ -4625,38 +4642,24 @@ export type Database = {},{foreignKeyName: "costLedger_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "costLedger_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "costLedger_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "costLedger_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "costLedger_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -5147,24 +5150,24 @@ export type Database = {},{foreignKeyName: "customerAccount_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerAccount_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerAccount_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerAccount_id_fkey"@@ -5244,24 +5247,24 @@ export type Database = {},{foreignKeyName: "customerContact_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerContact_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerContact_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerContact_customerLocationId_fkey"@@ -5422,24 +5425,24 @@ export type Database = {},{foreignKeyName: "customerItemPriceOverride_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerItemPriceOverride_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerItemPriceOverride_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerItemPriceOverride_customerTypeId_fkey"@@ -5710,24 +5713,24 @@ export type Database = {},{foreignKeyName: "customerLocation_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerLocation_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerLocation_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -5787,24 +5790,24 @@ export type Database = {},{foreignKeyName: "customerPartToItem_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPartToItem_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPartToItem_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPartToItem_itemId_fkey"@@ -5912,24 +5915,24 @@ export type Database = {},{foreignKeyName: "customerPayment_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPayment_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPayment_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPayment_invoiceCustomerContactId_fkey"@@ -5940,24 +5943,24 @@ export type Database = {},{foreignKeyName: "customerPayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerPayment_invoiceCustomerLocationId_fkey"@@ -6081,24 +6084,24 @@ export type Database = {},{foreignKeyName: "customerShipping_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerShipping_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerShipping_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerShipping_shippingCustomerContactId_fkey"@@ -6109,24 +6112,24 @@ export type Database = {},{foreignKeyName: "customerShipping_shippingCustomerId_fkey"- columns: ["shippingCustomerId"]+ columns: ["shippingCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerShipping_shippingCustomerId_fkey"- columns: ["shippingCustomerId"]+ columns: ["shippingCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerShipping_shippingCustomerId_fkey"- columns: ["shippingCustomerId"]+ columns: ["shippingCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerShipping_shippingCustomerLocationId_fkey"@@ -6398,24 +6401,24 @@ export type Database = {},{foreignKeyName: "customerTax_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerTax_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerTax_customerId_fkey"- columns: ["customerId"]- isOneToOne: true+ columns: ["customerId", "companyId"]+ isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "customerTax_updatedBy_fkey"@@ -9860,38 +9863,24 @@ export type Database = {Relationships: [{foreignKeyName: "externalLink_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "externalLink_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "externalLink_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "externalLink_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "externalLink_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "externalLinks_companyId_fkey"@@ -9923,24 +9912,24 @@ export type Database = {},{foreignKeyName: "externalLinks_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "externalLinks_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "externalLinks_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -11057,24 +11046,24 @@ export type Database = {},{foreignKeyName: "fixture_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "fixture_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "fixture_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "fixture_itemId_fkey"@@ -11495,38 +11484,24 @@ export type Database = {},{foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gauge_updatedBy_fkey"@@ -11747,38 +11722,24 @@ export type Database = {},{foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gaugeCalibrationRecord_updatedBy_fkey"@@ -13005,38 +12966,24 @@ export type Database = {},{foreignKeyName: "inboundInspection_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "inboundInspection_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "inboundInspection_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "inboundInspection_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "inboundInspection_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "inboundInspection_updatedBy_fkey"@@ -13249,38 +13196,24 @@ export type Database = {},{foreignKeyName: "inboundInspectionHistory_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "inboundInspectionHistory_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "inboundInspectionHistory_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "inboundInspectionHistory_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "inboundInspectionHistory_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "inboundInspectionHistory_updatedBy_fkey"@@ -14072,6 +14005,13 @@ export type Database = {referencedRelation: "journalLine"referencedColumns: ["id"]},+ {+ foreignKeyName: "intercompanyTransaction_sourceJournalLineId_fkey"+ columns: ["sourceJournalLineId"]+ isOneToOne: false+ referencedRelation: "journalLines"+ referencedColumns: ["id"]+ },{foreignKeyName: "intercompanyTransaction_targetCompanyId_fkey"columns: ["targetCompanyId"]@@ -14107,6 +14047,460 @@ export type Database = {referencedRelation: "journalLine"referencedColumns: ["id"]},+ {+ foreignKeyName: "intercompanyTransaction_targetJournalLineId_fkey"+ columns: ["targetJournalLineId"]+ isOneToOne: false+ referencedRelation: "journalLines"+ referencedColumns: ["id"]+ },+ ]+ }+ inventoryCount: {+ Row: {+ companyId: string+ createdAt: string+ createdBy: string+ customFields: Json | null+ id: string+ inventoryCountId: string+ isBlind: boolean+ locationId: string+ notes: string | null+ postedAt: string | null+ postedBy: string | null+ scope: Json | null+ snapshotAt: string | null+ status: Database["public"]["Enums"]["inventoryCountStatus"]+ updatedAt: string | null+ updatedBy: string | null+ }+ Insert: {+ companyId: string+ createdAt?: string+ createdBy: string+ customFields?: Json | null+ id?: string+ inventoryCountId: string+ isBlind?: boolean+ locationId: string+ notes?: string | null+ postedAt?: string | null+ postedBy?: string | null+ scope?: Json | null+ snapshotAt?: string | null+ status?: Database["public"]["Enums"]["inventoryCountStatus"]+ updatedAt?: string | null+ updatedBy?: string | null+ }+ Update: {+ companyId?: string+ createdAt?: string+ createdBy?: string+ customFields?: Json | null+ id?: string+ inventoryCountId?: string+ isBlind?: boolean+ locationId?: string+ notes?: string | null+ postedAt?: string | null+ postedBy?: string | null+ scope?: Json | null+ snapshotAt?: string | null+ status?: Database["public"]["Enums"]["inventoryCountStatus"]+ updatedAt?: string | null+ updatedBy?: string | null+ }+ Relationships: [+ {+ foreignKeyName: "inventoryCount_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "companies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "company"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "customFieldTables"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "inventoryCount_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "integrations"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "inventoryCount_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "employees"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "employeesAcrossCompanies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "employeeSummary"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "user"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "userDefaults"+ referencedColumns: ["userId"]+ },+ {+ foreignKeyName: "inventoryCount_locationId_fkey"+ columns: ["locationId"]+ isOneToOne: false+ referencedRelation: "location"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_postedBy_fkey"+ columns: ["postedBy"]+ isOneToOne: false+ referencedRelation: "employees"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_postedBy_fkey"+ columns: ["postedBy"]+ isOneToOne: false+ referencedRelation: "employeesAcrossCompanies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_postedBy_fkey"+ columns: ["postedBy"]+ isOneToOne: false+ referencedRelation: "employeeSummary"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_postedBy_fkey"+ columns: ["postedBy"]+ isOneToOne: false+ referencedRelation: "user"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_postedBy_fkey"+ columns: ["postedBy"]+ isOneToOne: false+ referencedRelation: "userDefaults"+ referencedColumns: ["userId"]+ },+ {+ foreignKeyName: "inventoryCount_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employees"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employeesAcrossCompanies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employeeSummary"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "user"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCount_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "userDefaults"+ referencedColumns: ["userId"]+ },+ ]+ }+ inventoryCountLine: {+ Row: {+ companyId: string+ countedAt: string | null+ countedBy: string | null+ countedQuantity: number | null+ createdAt: string+ createdBy: string+ customFields: Json | null+ id: string+ inventoryCountId: string+ itemId: string+ locationId: string | null+ postedItemLedgerId: string | null+ readableId: string | null+ storageUnitId: string | null+ systemQuantity: number+ trackedEntityId: string | null+ updatedAt: string | null+ updatedBy: string | null+ variance: number | null+ }+ Insert: {+ companyId: string+ countedAt?: string | null+ countedBy?: string | null+ countedQuantity?: number | null+ createdAt?: string+ createdBy: string+ customFields?: Json | null+ id?: string+ inventoryCountId: string+ itemId: string+ locationId?: string | null+ postedItemLedgerId?: string | null+ readableId?: string | null+ storageUnitId?: string | null+ systemQuantity?: number+ trackedEntityId?: string | null+ updatedAt?: string | null+ updatedBy?: string | null+ variance?: number | null+ }+ Update: {+ companyId?: string+ countedAt?: string | null+ countedBy?: string | null+ countedQuantity?: number | null+ createdAt?: string+ createdBy?: string+ customFields?: Json | null+ id?: string+ inventoryCountId?: string+ itemId?: string+ locationId?: string | null+ postedItemLedgerId?: string | null+ readableId?: string | null+ storageUnitId?: string | null+ systemQuantity?: number+ trackedEntityId?: string | null+ updatedAt?: string | null+ updatedBy?: string | null+ variance?: number | null+ }+ Relationships: [+ {+ foreignKeyName: "inventoryCountLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "companies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "company"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "customFieldTables"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "inventoryCountLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "integrations"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "inventoryCountLine_countedBy_fkey"+ columns: ["countedBy"]+ isOneToOne: false+ referencedRelation: "employees"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_countedBy_fkey"+ columns: ["countedBy"]+ isOneToOne: false+ referencedRelation: "employeesAcrossCompanies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_countedBy_fkey"+ columns: ["countedBy"]+ isOneToOne: false+ referencedRelation: "employeeSummary"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_countedBy_fkey"+ columns: ["countedBy"]+ isOneToOne: false+ referencedRelation: "user"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_countedBy_fkey"+ columns: ["countedBy"]+ isOneToOne: false+ referencedRelation: "userDefaults"+ referencedColumns: ["userId"]+ },+ {+ foreignKeyName: "inventoryCountLine_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "employees"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "employeesAcrossCompanies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "employeeSummary"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "user"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_createdBy_fkey"+ columns: ["createdBy"]+ isOneToOne: false+ referencedRelation: "userDefaults"+ referencedColumns: ["userId"]+ },+ {+ foreignKeyName: "inventoryCountLine_inventoryCountId_companyId_fkey"+ columns: ["inventoryCountId", "companyId"]+ isOneToOne: false+ referencedRelation: "inventoryCount"+ referencedColumns: ["id", "companyId"]+ },+ {+ foreignKeyName: "inventoryCountLine_itemId_fkey"+ columns: ["itemId"]+ isOneToOne: false+ referencedRelation: "consumables"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_itemId_fkey"+ columns: ["itemId"]+ isOneToOne: false+ referencedRelation: "item"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_itemId_fkey"+ columns: ["itemId"]+ isOneToOne: false+ referencedRelation: "materials"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_itemId_fkey"+ columns: ["itemId"]+ isOneToOne: false+ referencedRelation: "parts"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_itemId_fkey"+ columns: ["itemId"]+ isOneToOne: false+ referencedRelation: "services"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_itemId_fkey"+ columns: ["itemId"]+ isOneToOne: false+ referencedRelation: "tools"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employees"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employeesAcrossCompanies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employeeSummary"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "user"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "inventoryCountLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "userDefaults"+ referencedColumns: ["userId"]+ },]}invite: {@@ -15687,38 +16081,24 @@ export type Database = {},{foreignKeyName: "itemReplenishment_preferredSupplierId_fkey"- columns: ["preferredSupplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "itemReplenishment_preferredSupplierId_fkey"- columns: ["preferredSupplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "itemReplenishment_preferredSupplierId_fkey"- columns: ["preferredSupplierId"]+ columns: ["preferredSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "itemReplenishment_preferredSupplierId_fkey"- columns: ["preferredSupplierId"]+ columns: ["preferredSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "itemReplenishment_preferredSupplierId_fkey"- columns: ["preferredSupplierId"]+ columns: ["preferredSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "itemReplenishment_purchaseUnitOfMeasureCode_fkey"@@ -16803,24 +17183,24 @@ export type Database = {},{foreignKeyName: "job_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "job_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "job_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "job_itemId_fkey"@@ -19451,6 +19831,13 @@ export type Database = {referencedRelation: "journalLine"referencedColumns: ["id"]},+ {+ foreignKeyName: "journalLineDimension_journalLineId_fkey"+ columns: ["journalLineId"]+ isOneToOne: false+ referencedRelation: "journalLines"+ referencedColumns: ["id"]+ },]}kanban: {@@ -19664,38 +20051,24 @@ export type Database = {},{foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "kanban_updatedBy_fkey"@@ -22804,24 +23177,24 @@ export type Database = {},{foreignKeyName: "memo_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "memo_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "memo_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "memo_journalId_fkey"@@ -22888,38 +23261,24 @@ export type Database = {},{foreignKeyName: "memo_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "memo_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "memo_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "memo_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "memo_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "memo_updatedBy_fkey"@@ -24735,38 +25094,24 @@ export type Database = {},{foreignKeyName: "nonConformanceActionTask_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "nonConformanceActionTask_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "nonConformanceActionTask_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceActionTask_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceActionTask_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceActionTask_updatedBy_fkey"@@ -25110,24 +25455,24 @@ export type Database = {},{foreignKeyName: "nonConformanceCustomer_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceCustomer_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceCustomer_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceCustomer_nonConformanceId_fkey"@@ -27080,38 +27425,24 @@ export type Database = {},{foreignKeyName: "nonConformanceSupplier_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "nonConformanceSupplier_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "nonConformanceSupplier_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceSupplier_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceSupplier_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "nonConformanceSupplier_updatedBy_fkey"@@ -28313,24 +28644,24 @@ export type Database = {},{foreignKeyName: "opportunity_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "opportunity_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "opportunity_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -28921,24 +29252,24 @@ export type Database = {},{foreignKeyName: "payment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "payment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "payment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "payment_journalId_fkey"@@ -28991,38 +29322,24 @@ export type Database = {},{foreignKeyName: "payment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "payment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "payment_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "payment_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "payment_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "payment_updatedBy_fkey"@@ -31662,38 +31979,24 @@ export type Database = {},{foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_invoiceSupplierLocationId_fkey"@@ -31718,38 +32021,24 @@ export type Database = {},{foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_supplierInteractionId_fkey"@@ -32764,38 +33053,24 @@ export type Database = {},{foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrder_supplierInteractionId_fkey"@@ -32918,24 +33193,24 @@ export type Database = {Relationships: [{foreignKeyName: "purchaseOrderDelivery_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrderDelivery_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrderDelivery_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrderDelivery_customerLocationId_fkey"@@ -33609,38 +33884,24 @@ export type Database = {},{foreignKeyName: "purchaseOrderPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrderPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrderPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrderPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrderPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrderPayment_invoiceSupplierLocationId_fkey"@@ -34502,38 +34763,24 @@ export type Database = {},{foreignKeyName: "purchasingRfqSupplier_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchasingRfqSupplier_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchasingRfqSupplier_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchasingRfqSupplier_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchasingRfqSupplier_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchasingRfqSupplier_updatedBy_fkey"@@ -35322,24 +35569,24 @@ export type Database = {},{foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quote_customerLocationId_fkey"@@ -37505,24 +37752,24 @@ export type Database = {},{foreignKeyName: "quotePayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quotePayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quotePayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quotePayment_invoiceCustomerLocationId_fkey"@@ -37910,38 +38157,24 @@ export type Database = {},{foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "receipt_supplierInteractionId_fkey"@@ -38916,24 +39149,24 @@ export type Database = {},{foreignKeyName: "salesInvoice_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerContactId_fkey"@@ -38944,24 +39177,24 @@ export type Database = {},{foreignKeyName: "salesInvoice_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerLocationId_fkey"@@ -39841,24 +40074,24 @@ export type Database = {},{foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrder_locationId_fkey"@@ -40406,24 +40639,24 @@ export type Database = {},{foreignKeyName: "salesOrderPayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrderPayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrderPayment_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrderPayment_invoiceCustomerLocationId_fkey"@@ -40580,24 +40813,24 @@ export type Database = {},{foreignKeyName: "salesOrderShipment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrderShipment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrderShipment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrderShipment_customerLocationId_fkey"@@ -41094,24 +41327,24 @@ export type Database = {},{foreignKeyName: "salesRfq_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesRfq_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesRfq_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesRfq_customerLocationId_fkey"@@ -42409,24 +42642,24 @@ export type Database = {},{foreignKeyName: "shipment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "shipment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "shipment_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "shipment_locationId_fkey"@@ -42486,38 +42719,24 @@ export type Database = {},{foreignKeyName: "shipment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "shipment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "shipment_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "shipment_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "shipment_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "shipment_supplierInteractionId_fkey"@@ -45129,38 +45348,24 @@ export type Database = {},{foreignKeyName: "supplierAccount_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierAccount_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierAccount_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierAccount_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierAccount_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -45205,38 +45410,24 @@ export type Database = {},{foreignKeyName: "supplierContact_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierContact_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierContact_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierContact_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierContact_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierContact_supplierLocationId_fkey"@@ -45329,38 +45520,24 @@ export type Database = {},{foreignKeyName: "supplierInteraction_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierInteraction_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierInteraction_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierInteraction_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierInteraction_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -45438,38 +45615,24 @@ export type Database = {},{foreignKeyName: "supplierLedger_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierLedger_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierLedger_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierLedger_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierLedger_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -45511,38 +45674,24 @@ export type Database = {},{foreignKeyName: "supplierLocation_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierLocation_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierLocation_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierLocation_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierLocation_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},]}@@ -45712,38 +45861,24 @@ export type Database = {},{foreignKeyName: "buyMethod_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "buyMethod_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "buyMethod_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "buyMethod_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "buyMethod_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "buyMethod_updatedBy_fkey"@@ -46005,38 +46140,24 @@ export type Database = {},{foreignKeyName: "supplierPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierPayment_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierPayment_invoiceSupplierLocationId_fkey"@@ -46054,38 +46175,24 @@ export type Database = {},{foreignKeyName: "supplierPayment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierPayment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierPayment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierPayment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierPayment_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierPayment_updatedBy_fkey"@@ -46247,38 +46354,24 @@ export type Database = {},{foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierProcess_updatedBy_fkey"@@ -46524,38 +46617,24 @@ export type Database = {},{foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierQuote_supplierInteractionId_fkey"@@ -47238,38 +47317,24 @@ export type Database = {},{foreignKeyName: "supplierShipping_shippingSupplierId_fkey"- columns: ["shippingSupplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierShipping_shippingSupplierId_fkey"- columns: ["shippingSupplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierShipping_shippingSupplierId_fkey"- columns: ["shippingSupplierId"]+ columns: ["shippingSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierShipping_shippingSupplierId_fkey"- columns: ["shippingSupplierId"]+ columns: ["shippingSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierShipping_shippingSupplierId_fkey"- columns: ["shippingSupplierId"]+ columns: ["shippingSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierShipping_shippingSupplierLocationId_fkey"@@ -47287,38 +47352,24 @@ export type Database = {},{foreignKeyName: "supplierShipping_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierShipping_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierShipping_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierShipping_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierShipping_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierShipping_updatedBy_fkey"@@ -47434,38 +47485,24 @@ export type Database = {},{foreignKeyName: "supplierTax_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierTax_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierTax_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierTax_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierTax_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: true+ columns: ["supplierId", "companyId"]+ isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierTax_updatedBy_fkey"@@ -54143,38 +54180,24 @@ export type Database = {},{foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gaugeCalibrationRecord_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gaugeCalibrationRecord_updatedBy_fkey"@@ -54393,38 +54416,24 @@ export type Database = {},{foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gauge_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "gauge_updatedBy_fkey"@@ -56365,24 +56374,24 @@ export type Database = {},{foreignKeyName: "job_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "job_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "job_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "job_itemId_fkey"@@ -56744,6 +56753,159 @@ export type Database = {},]}+ journalLines: {+ Row: {+ accountId: string | null+ accrual: boolean | null+ amount: number | null+ companyId: string | null+ createdAt: string | null+ customFields: Json | null+ description: string | null+ documentId: string | null+ documentLineReference: string | null+ documentType:+ | Database["public"]["Enums"]["journalLineDocumentType"]+ | null+ externalDocumentId: string | null+ id: string | null+ intercompanyPartnerId: string | null+ journalDescription: string | null+ journalEntryId: string | null+ journalId: string | null+ journalLineReference: string | null+ postingDate: string | null+ quantity: number | null+ sourceType:+ | Database["public"]["Enums"]["journalEntrySourceType"]+ | null+ status: Database["public"]["Enums"]["journalEntryStatus"] | null+ tags: string[] | null+ updatedAt: string | null+ updatedBy: string | null+ }+ Relationships: [+ {+ foreignKeyName: "journalLine_accountId_fkey"+ columns: ["accountId"]+ isOneToOne: false+ referencedRelation: "account"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_accountId_fkey"+ columns: ["accountId"]+ isOneToOne: false+ referencedRelation: "accounts"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "companies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "company"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "customFieldTables"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "journalLine_companyId_fkey"+ columns: ["companyId"]+ isOneToOne: false+ referencedRelation: "integrations"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "journalLine_intercompanyPartnerId_fkey"+ columns: ["intercompanyPartnerId"]+ isOneToOne: false+ referencedRelation: "companies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_intercompanyPartnerId_fkey"+ columns: ["intercompanyPartnerId"]+ isOneToOne: false+ referencedRelation: "company"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_intercompanyPartnerId_fkey"+ columns: ["intercompanyPartnerId"]+ isOneToOne: false+ referencedRelation: "customFieldTables"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "journalLine_intercompanyPartnerId_fkey"+ columns: ["intercompanyPartnerId"]+ isOneToOne: false+ referencedRelation: "integrations"+ referencedColumns: ["companyId"]+ },+ {+ foreignKeyName: "journalLine_journalId_fkey"+ columns: ["journalId"]+ isOneToOne: false+ referencedRelation: "journal"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_journalId_fkey"+ columns: ["journalId"]+ isOneToOne: false+ referencedRelation: "journalEntries"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employees"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employeesAcrossCompanies"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "employeeSummary"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "user"+ referencedColumns: ["id"]+ },+ {+ foreignKeyName: "journalLine_updatedBy_fkey"+ columns: ["updatedBy"]+ isOneToOne: false+ referencedRelation: "userDefaults"+ referencedColumns: ["userId"]+ },+ ]+ }kanbans: {Row: {autoRelease: boolean | null@@ -56924,38 +57086,24 @@ export type Database = {},{foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "kanban_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "kanban_updatedBy_fkey"@@ -57899,41 +58047,6 @@ export type Database = {unitOfMeasureCode: string | null}Relationships: [- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "supplier"- referencedColumns: ["id"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "suppliers"- referencedColumns: ["id"]- },{foreignKeyName: "purchaseOrderLine_itemId_fkey"columns: ["itemId"]@@ -59183,6 +59296,9 @@ export type Database = {Row: {assignee: string | nullbalance: number | null+ baseStatus:+ | Database["public"]["Enums"]["purchaseInvoiceStatus"]+ | nullcompanyId: string | nullcreatedAt: string | nullcreatedBy: string | null@@ -59332,38 +59448,24 @@ export type Database = {},{foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_invoiceSupplierId_fkey"- columns: ["invoiceSupplierId"]+ columns: ["invoiceSupplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_invoiceSupplierLocationId_fkey"@@ -59388,38 +59490,24 @@ export type Database = {},{foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseInvoice_supplierInteractionId_fkey"@@ -59858,14 +59946,14 @@ export type Database = {Relationships: [{foreignKeyName: "address_countryCode_fkey"- columns: ["customerCountryCode"]+ columns: ["supplierCountryCode"]isOneToOne: falsereferencedRelation: "country"referencedColumns: ["alpha2"]},{foreignKeyName: "address_countryCode_fkey"- columns: ["supplierCountryCode"]+ columns: ["customerCountryCode"]isOneToOne: falsereferencedRelation: "country"referencedColumns: ["alpha2"]@@ -60099,38 +60187,24 @@ export type Database = {},{foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrder_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "purchaseOrder_supplierInteractionId_fkey"@@ -60981,27 +61055,6 @@ export type Database = {updatedBy: string | null}Relationships: [- {- foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]- isOneToOne: false- referencedRelation: "customer"- referencedColumns: ["id"]- },- {- foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]- isOneToOne: false- referencedRelation: "customers"- referencedColumns: ["id"]- },- {- foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]- isOneToOne: false- referencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]- },{foreignKeyName: "quoteLine_companyId_fkey"columns: ["companyId"]@@ -62204,24 +62257,24 @@ export type Database = {},{foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quote_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "quote_customerLocationId_fkey"@@ -62697,38 +62750,24 @@ export type Database = {},{foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "receipt_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "receipt_supplierInteractionId_fkey"@@ -63291,21 +63330,21 @@ export type Database = {Relationships: [{foreignKeyName: "address_countryCode_fkey"- columns: ["invoiceCountryCode"]+ columns: ["customerCountryCode"]isOneToOne: falsereferencedRelation: "country"referencedColumns: ["alpha2"]},{foreignKeyName: "address_countryCode_fkey"- columns: ["customerCountryCode"]+ columns: ["shipmentCountryCode"]isOneToOne: falsereferencedRelation: "country"referencedColumns: ["alpha2"]},{foreignKeyName: "address_countryCode_fkey"- columns: ["shipmentCountryCode"]+ columns: ["invoiceCountryCode"]isOneToOne: falsereferencedRelation: "country"referencedColumns: ["alpha2"]@@ -63316,6 +63355,7 @@ export type Database = {Row: {assignee: string | nullbalance: number | null+ baseStatus: Database["public"]["Enums"]["salesInvoiceStatus"] | nullcompanyId: string | nullcreatedAt: string | nullcreatedBy: string | null@@ -63341,6 +63381,7 @@ export type Database = {locationId: string | nullopportunityId: string | nullpaymentTermId: string | null+ paymentTermName: string | nullpostingDate: string | nullshipmentId: string | nullstatus: string | null@@ -63426,24 +63467,24 @@ export type Database = {},{foreignKeyName: "salesInvoice_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerContactId_fkey"@@ -63454,24 +63495,24 @@ export type Database = {},{foreignKeyName: "salesInvoice_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerId_fkey"- columns: ["invoiceCustomerId"]+ columns: ["invoiceCustomerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesInvoice_invoiceCustomerLocationId_fkey"@@ -63648,27 +63689,6 @@ export type Database = {updatedBy: string | null}Relationships: [- {- foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]- isOneToOne: false- referencedRelation: "customer"- referencedColumns: ["id"]- },- {- foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]- isOneToOne: false- referencedRelation: "customers"- referencedColumns: ["id"]- },- {- foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]- isOneToOne: false- referencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]- },{foreignKeyName: "salesOrderLine_accountId_fkey"columns: ["accountId"]@@ -64091,24 +64111,24 @@ export type Database = {},{foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrder_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesOrder_locationId_fkey"@@ -64545,24 +64565,24 @@ export type Database = {},{foreignKeyName: "salesRfq_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customer"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesRfq_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "customers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesRfq_customerId_fkey"- columns: ["customerId"]+ columns: ["customerId", "companyId"]isOneToOne: falsereferencedRelation: "salesOrderCustomers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "salesRfq_customerLocationId_fkey"@@ -65576,38 +65596,24 @@ export type Database = {},{foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierProcess_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierProcess_updatedBy_fkey"@@ -66061,38 +66067,24 @@ export type Database = {},{foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "contractors"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]- isOneToOne: false- referencedRelation: "partners"- referencedColumns: ["supplierId"]- },- {- foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "purchaseOrderSuppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "supplier"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierQuote_supplierId_fkey"- columns: ["supplierId"]+ columns: ["supplierId", "companyId"]isOneToOne: falsereferencedRelation: "suppliers"- referencedColumns: ["id"]+ referencedColumns: ["id", "companyId"]},{foreignKeyName: "supplierQuote_supplierInteractionId_fkey"@@ -69738,6 +69730,7 @@ export type Database = {inspectionLevel: "I" | "II" | "III" | "S1" | "S2" | "S3" | "S4"inspectionSeverity: "Normal" | "Tightened" | "Reduced"inspectionStatus: "Pass" | "Fail"+ inventoryCountStatus: "Draft" | "Pending" | "Posted"itemCostingMethod: "Standard" | "Average" | "LIFO" | "FIFO"itemLedgerDocumentType:| "Sales Shipment"@@ -69764,6 +69757,7 @@ export type Database = {| "Maintenance Consumption"| "Non-Conformance"| "Inbound Inspection"+ | "Inventory Count"itemLedgerType:| "Purchase"| "Sale"@@ -71068,6 +71062,7 @@ export const Constants = {inspectionLevel: ["I", "II", "III", "S1", "S2", "S3", "S4"],inspectionSeverity: ["Normal", "Tightened", "Reduced"],inspectionStatus: ["Pass", "Fail"],+ inventoryCountStatus: ["Draft", "Pending", "Posted"],itemCostingMethod: ["Standard", "Average", "LIFO", "FIFO"],itemLedgerDocumentType: ["Sales Shipment",@@ -71094,6 +71089,7 @@ export const Constants = {"Maintenance Consumption","Non-Conformance","Inbound Inspection",+ "Inventory Count",],itemLedgerType: ["Purchase",diff --git a/packages/database/supabase/functions/post-inventory-count/index.ts b/packages/database/supabase/functions/post-inventory-count/index.tsnew file mode 100644index 0000000000..cb5bdaec4c--- /dev/null+++ b/packages/database/supabase/functions/post-inventory-count/index.ts@@ -0,0 +1,181 @@+import { serve } from "https://deno.land/[email protected]/http/server.ts";+import { format } from "https://deno.land/[email protected]/datetime/mod.ts";+import { z } from "https://deno.land/x/[email protected]/mod.ts";+import { DB, getConnectionPool, getDatabaseClient } from "../lib/database.ts";+import { corsHeaders } from "../lib/headers.ts";+import { requirePermissions } from "../lib/supabase.ts";+import type { Database } from "../lib/types.ts";++const pool = getConnectionPool(1);+const db = getDatabaseClient<DB>(pool);++type ItemLedgerInsert = Database["public"]["Tables"]["itemLedger"]["Insert"];++// Inventory Count posting reconciles on-hand to the counted value+// (Set-Quantity-to-counted semantics): for each counted line we post a single+// Positive/Negative inventory adjustment for the delta between the counted+// quantity and the *live* on-hand at post time. Because the counted quantity is+// always >= 0, on-hand can never go negative. Like the manual inventory+// adjustment path (`insertManualInventoryAdjustment`), this writes to the item+// ledger only (on-hand is derived from `itemLedger`); it does not post GL+// journal lines.+const payloadValidator = z.object({+ type: z.literal("post"),+ inventoryCountId: z.string(),+ userId: z.string(),+ companyId: z.string()+});++serve(async (req: Request) => {+ if (req.method === "OPTIONS") {+ return new Response("ok", { headers: corsHeaders });+ }++ const payload = await req.json();++ try {+ const { inventoryCountId, userId, companyId } =+ payloadValidator.parse(payload);++ const client = await requirePermissions(req, companyId, userId, {+ update: "inventory"+ });++ const today = format(new Date(), "yyyy-MM-dd");+ const nowIso = new Date().toISOString();++ const inventoryCount = await client+ .from("inventoryCount")+ .select("*")+ .eq("id", inventoryCountId)+ .eq("companyId", companyId)+ .single();++ if (inventoryCount.error) throw new Error("Inventory count not found");++ const lines = await client+ .from("inventoryCountLine")+ .select("*")+ .eq("inventoryCountId", inventoryCountId)+ .eq("companyId", companyId)+ .not("countedQuantity", "is", null);++ if (lines.error) throw new Error(lines.error.message);++ const comment = `Inventory Count ${inventoryCount.data.inventoryCountId}`;++ await db.transaction().execute(async (trx) => {+ for (const line of lines.data ?? []) {+ if (line.countedQuantity === null) continue;++ // Live on-hand for this exact bucket (item / location / storage unit /+ // tracked entity). Mirror the snapshot's status-aware definition (and+ // `get_inventory_quantities`): exclude Rejected stock so the delta is+ // measured against the same on-hand the count was built from.+ let onHandQuery = trx+ .selectFrom("itemLedger")+ .select((eb) => eb.fn.sum<number>("quantity").as("quantity"))+ .where("companyId", "=", companyId)+ .where("itemId", "=", line.itemId)+ .where((eb) =>+ eb.or([+ eb("trackedEntityStatus", "is", null),+ eb("trackedEntityStatus", "!=", "Rejected")+ ])+ );++ onHandQuery = line.locationId+ ? onHandQuery.where("locationId", "=", line.locationId)+ : onHandQuery.where("locationId", "is", null);+ onHandQuery = line.storageUnitId+ ? onHandQuery.where("storageUnitId", "=", line.storageUnitId)+ : onHandQuery.where("storageUnitId", "is", null);+ onHandQuery = line.trackedEntityId+ ? onHandQuery.where("trackedEntityId", "=", line.trackedEntityId)+ : onHandQuery.where("trackedEntityId", "is", null);++ const onHandRow = await onHandQuery.executeTakeFirst();+ const currentOnHand = Number(onHandRow?.quantity ?? 0);++ const delta = line.countedQuantity - currentOnHand;+ if (delta === 0) continue;++ const ledgerEntry: ItemLedgerInsert = {+ postingDate: today,+ itemId: line.itemId,+ quantity: delta,+ locationId: line.locationId,+ storageUnitId: line.storageUnitId,+ trackedEntityId: line.trackedEntityId,+ entryType: delta > 0 ? "Positive Adjmt." : "Negative Adjmt.",+ documentType: "Inventory Count",+ documentId: inventoryCountId,+ comment,+ companyId,+ createdBy: userId+ };++ const inserted = await trx+ .insertInto("itemLedger")+ .values(ledgerEntry)+ .returning(["id"])+ .executeTakeFirstOrThrow();++ // Tracked lines: set that entity's quantity to the counted value.+ if (line.trackedEntityId) {+ await trx+ .updateTable("trackedEntity")+ .set({ quantity: line.countedQuantity })+ .where("id", "=", line.trackedEntityId)+ .where("companyId", "=", companyId)+ .execute();+ }++ await trx+ .updateTable("inventoryCountLine")+ .set({ postedItemLedgerId: inserted.id })+ .where("id", "=", line.id)+ .where("companyId", "=", companyId)+ .execute();+ }++ // Guard the transition inside the transaction: only a still-Pending count+ // can be posted. If a concurrent post already moved it to Posted, this+ // matches 0 rows and we throw to roll back this transaction's ledger+ // writes — preventing a double-post.+ const posted = await trx+ .updateTable("inventoryCount")+ .set({+ status: "Posted",+ postedBy: userId,+ postedAt: nowIso,+ updatedBy: userId,+ updatedAt: nowIso+ })+ .where("id", "=", inventoryCountId)+ .where("companyId", "=", companyId)+ .where("status", "=", "Pending")+ .returning(["id"])+ .executeTakeFirst();++ if (!posted) {+ throw new Error("Inventory count is no longer pending");+ }+ });++ return new Response(JSON.stringify({ success: true }), {+ headers: { ...corsHeaders, "Content-Type": "application/json" }+ });+ } catch (err) {+ console.error("Error in post-inventory-count:", err);+ // The post is a single atomic transaction, so a failure has already rolled+ // back any ledger writes and the status change — the count is left exactly+ // as it was (Pending). We do NOT touch the status here: reverting a failed+ // post to Draft would silently discard the user's confirmation. Pending is+ // the correct retryable state.+ return new Response(JSON.stringify({ error: (err as Error).message }), {+ headers: { ...corsHeaders, "Content-Type": "application/json" },+ status: 500+ });+ }+});diff --git a/packages/database/supabase/migrations/20260627142312_item-ledger-inventory-count-doctype.sql b/packages/database/supabase/migrations/20260627142312_item-ledger-inventory-count-doctype.sqlnew file mode 100644index 0000000000..b5a9734ac9--- /dev/null+++ b/packages/database/supabase/migrations/20260627142312_item-ledger-inventory-count-doctype.sql@@ -0,0 +1,5 @@+-- Add a 'Inventory Count' document type to itemLedgerDocumentType so cycle-count+-- adjustments are distinguishable from receipts / sales / transfers in ledger history.+-- ALTER TYPE ... ADD VALUE must live in its own migration (cannot be used in the same+-- transaction that adds it), so the value is added here ahead of the tables that use it.+ALTER TYPE "itemLedgerDocumentType" ADD VALUE IF NOT EXISTS 'Inventory Count';diff --git a/packages/database/supabase/migrations/20260627143041_inventory-count.sql b/packages/database/supabase/migrations/20260627143041_inventory-count.sqlnew file mode 100644index 0000000000..c227a09d53--- /dev/null+++ b/packages/database/supabase/migrations/20260627143041_inventory-count.sql@@ -0,0 +1,130 @@+-- Inventory Count / Cycle Count+-- Warehouse staff count real stock against a frozen system-quantity snapshot, review+-- variances, and post the differences as inventory adjustments. The document follows+-- the Draft -> Pending -> Posted lifecycle; posting is atomic and handled by the+-- `post-inventory-count` edge function.++-- ============================================================================+-- inventoryCount (header)+-- ============================================================================+CREATE TYPE "inventoryCountStatus" AS ENUM ('Draft', 'Pending', 'Posted');++CREATE TABLE "inventoryCount" (+ "id" TEXT NOT NULL DEFAULT id('ic'),+ "companyId" TEXT NOT NULL,+ "inventoryCountId" TEXT NOT NULL,+ "locationId" TEXT NOT NULL REFERENCES "location"("id"),+ "status" "inventoryCountStatus" NOT NULL DEFAULT 'Draft',+ "isBlind" BOOLEAN NOT NULL DEFAULT FALSE,+ "scope" JSONB,+ "snapshotAt" TIMESTAMP WITH TIME ZONE,+ "notes" TEXT,+ "postedBy" TEXT REFERENCES "user"("id"),+ "postedAt" TIMESTAMP WITH TIME ZONE,++ "createdBy" TEXT NOT NULL REFERENCES "user"("id"),+ "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),+ "updatedBy" TEXT REFERENCES "user"("id"),+ "updatedAt" TIMESTAMP WITH TIME ZONE,+ "customFields" JSONB,++ PRIMARY KEY ("id", "companyId"),+ FOREIGN KEY ("companyId") REFERENCES "company"("id") ON DELETE CASCADE+);++CREATE INDEX "inventoryCount_companyId_idx" ON "inventoryCount" ("companyId");+CREATE INDEX "inventoryCount_locationId_idx" ON "inventoryCount" ("locationId");+CREATE INDEX "inventoryCount_postedBy_idx" ON "inventoryCount" ("postedBy");+CREATE INDEX "inventoryCount_createdBy_idx" ON "inventoryCount" ("createdBy");++ALTER TABLE "inventoryCount" ADD CONSTRAINT "inventoryCount_inventoryCountId_key"+ UNIQUE ("inventoryCountId", "companyId");++ALTER TABLE "public"."inventoryCount" ENABLE ROW LEVEL SECURITY;++CREATE POLICY "SELECT" ON "public"."inventoryCount"+FOR SELECT USING (+ "companyId" = ANY ((SELECT get_companies_with_employee_permission('inventory_view'))::text[])+);++CREATE POLICY "INSERT" ON "public"."inventoryCount"+FOR INSERT WITH CHECK (+ "companyId" = ANY ((SELECT get_companies_with_employee_permission('inventory_create'))::text[])+);++CREATE POLICY "UPDATE" ON "public"."inventoryCount"+FOR UPDATE USING (+ "companyId" = ANY ((SELECT get_companies_with_employee_permission('inventory_update'))::text[])+);++CREATE POLICY "DELETE" ON "public"."inventoryCount"+FOR DELETE USING (+ "companyId" = ANY ((SELECT get_companies_with_employee_permission('inventory_delete'))::text[])+);++-- ============================================================================+-- inventoryCountLine+-- ============================================================================+CREATE TABLE "inventoryCountLine" (+ "id" TEXT NOT NULL DEFAULT id('icl'),+ "companyId" TEXT NOT NULL,+ "inventoryCountId" TEXT NOT NULL,+ "itemId" TEXT NOT NULL REFERENCES "item"("id"),+ "locationId" TEXT,+ "storageUnitId" TEXT,+ "trackedEntityId" TEXT,+ "readableId" TEXT,+ "systemQuantity" NUMERIC NOT NULL DEFAULT 0,+ "countedQuantity" NUMERIC,+ "variance" NUMERIC GENERATED ALWAYS AS ("countedQuantity" - "systemQuantity") STORED,+ "countedBy" TEXT REFERENCES "user"("id"),+ "countedAt" TIMESTAMP WITH TIME ZONE,+ "postedItemLedgerId" TEXT,++ "createdBy" TEXT NOT NULL REFERENCES "user"("id"),+ "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),+ "updatedBy" TEXT REFERENCES "user"("id"),+ "updatedAt" TIMESTAMP WITH TIME ZONE,+ "customFields" JSONB,++ PRIMARY KEY ("id", "companyId"),+ FOREIGN KEY ("companyId") REFERENCES "company"("id") ON DELETE CASCADE,+ FOREIGN KEY ("inventoryCountId", "companyId")+ REFERENCES "inventoryCount"("id", "companyId") ON DELETE CASCADE+);++CREATE INDEX "inventoryCountLine_companyId_idx" ON "inventoryCountLine" ("companyId");+CREATE INDEX "inventoryCountLine_inventoryCountId_idx" ON "inventoryCountLine" ("inventoryCountId");+CREATE INDEX "inventoryCountLine_itemId_idx" ON "inventoryCountLine" ("itemId");+CREATE INDEX "inventoryCountLine_countedBy_idx" ON "inventoryCountLine" ("countedBy");+CREATE INDEX "inventoryCountLine_createdBy_idx" ON "inventoryCountLine" ("createdBy");++ALTER TABLE "public"."inventoryCountLine" ENABLE ROW LEVEL SECURITY;++CREATE POLICY "SELECT" ON "public"."inventoryCountLine"+FOR SELECT USING (+ "companyId" = ANY ((SELECT get_companies_with_employee_permission('inventory_view'))::text[])+);++CREATE POLICY "INSERT" ON "public"."inventoryCountLine"+FOR INSERT WITH CHECK (+ "companyId" = ANY ((SELECT get_companies_with_employee_permission('inventory_create'))::text[])+);++CREATE POLICY "UPDATE" ON "public"."inventoryCountLine"+FOR UPDATE USING (+ "companyId" = ANY ((SELECT get_companies_with_employee_permission('inventory_update'))::text[])+);++CREATE POLICY "DELETE" ON "public"."inventoryCountLine"+FOR DELETE USING (+ "companyId" = ANY ((SELECT get_companies_with_employee_permission('inventory_delete'))::text[])+);++-- ============================================================================+-- Readable id sequence ("IC000001") for existing companies+-- ============================================================================+INSERT INTO "sequence" ("table", "name", "prefix", "suffix", "next", "size", "step", "companyId")+SELECT 'inventoryCount', 'Inventory Count', 'IC', NULL, 0, 6, 1, "id"+FROM "company"+ON CONFLICT DO NOTHING;diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.poindex 32b7a930c0..4d5a221f59 100644--- a/packages/locale/locales/de/erp.po+++ b/packages/locale/locales/de/erp.po@@ -117,6 +117,12 @@ msgstr "{total} Phasen, um Ihr Unternehmen auf Carbon live zu schalten. Jede endmsgid "{total} phases to go live"msgstr "{total} Phasen bis zur Live-Schaltung"+msgid "{uncounted, plural, one {# uncounted line} other {# uncounted lines}}"+msgstr ""++msgid "{variances, plural, one {# line differs from the expected quantity} other {# lines differ from the expected quantity}}"+msgstr ""+msgid "/month/user"msgstr "/Monat/Benutzer"@@ -735,6 +741,9 @@ msgstr "Alle Kunden"msgid "All Documents"msgstr "Alle Dokumente"+msgid "All item types"+msgstr ""+msgid "All Items"msgstr "Alle Artikel"@@ -1595,6 +1604,9 @@ msgstr "Grundinformationen"msgid "Batch"msgstr "Charge"+msgid "Batch / Serial"+msgstr ""+msgid "Batch items require a sales order"msgstr "Chargennummern-Artikel erfordern einen Verkaufsauftrag"@@ -1650,6 +1662,9 @@ msgstr "Rechnungsadresse"msgid "Bills of material"msgstr "Stücklisten"+msgid "Blind Count"+msgstr ""+msgid "Block with an error"msgstr "Mit Fehler blockieren"@@ -2304,6 +2319,9 @@ msgstr "Bestätigen {0}"msgid "Confirm and sign the scope"msgstr "Umfang bestätigen und unterzeichnen"+msgid "Confirm Count"+msgstr ""+msgid "Confirm how your company runs and lock the scope."msgstr "Bestätigen Sie, wie Ihr Unternehmen läuft, und sperren Sie den Umfang."@@ -2313,6 +2331,9 @@ msgstr "ID-Änderung bestätigen"msgid "Confirm Import"msgstr "Import bestätigen"+msgid "Confirm Inventory Count"+msgstr ""+msgid "Confirm Mapping"msgstr "Zuordnung bestätigen"@@ -2325,6 +2346,9 @@ msgstr "Bestätigter eingehender Bestand — Kauf- und Produktionsaufträge (Balmsgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."msgstr "Bestätigter ausgehender Bestand — Verkaufsaufträge & Auftragsmaterial (Balken unter Null)."+msgid "Confirming locks the counted quantities. Review the warnings below, then post the count to apply the adjustments."+msgstr ""+msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."msgstr "Verbinden Sie Carbon mit Ihren Buchhaltungs-, Projektmanagement- und CAD-Tools und vielem mehr."@@ -2672,6 +2696,12 @@ msgstr "Dokumente konnten nicht geladen werden"msgid "Count"msgstr "Anzahl"+msgid "Count ID"+msgstr ""++msgid "Counted Qty"+msgstr ""+msgid "Counterparties"msgstr "Gegenparteien"@@ -2693,6 +2723,9 @@ msgstr "Erstelle {0}"msgid "Create {0} values"msgstr "Erstelle {0} Werte"+msgid "Create & Snapshot"+msgstr ""+msgid "Create a new kanban card for scan-based replenishment."msgstr "Erstellen Sie eine neue Kanban-Karte für scan-basierte Nachschubversorgung."@@ -3389,6 +3422,9 @@ msgstr "Kontakt löschen"msgid "Delete Contractor"msgstr "Auftragnehmer löschen"+msgid "Delete Count"+msgstr ""+msgid "Delete Custom Field"msgstr "Benutzerdefiniertes Feld löschen"@@ -4013,6 +4049,9 @@ msgstr "Kontakt bearbeiten"msgid "Edit Contractor"msgstr "Auftragnehmer bearbeiten"+msgid "Edit Count"+msgstr ""+msgid "Edit Currency"msgstr "Währung bearbeiten"@@ -4950,6 +4989,9 @@ msgstr "Fehler beim Aktualisieren der Kategorie-Markups"msgid "Failed to update configuration parameter"msgstr "Fehler beim Aktualisieren des Konfigurationsparameters"+msgid "Failed to update count"+msgstr ""+msgid "Failed to update item cost"msgstr "Fehler beim Aktualisieren der Artikelkosten"@@ -5541,6 +5583,9 @@ msgstr "Hilfe"msgid "Hide"msgstr "Verbergen"+msgid "Hide system quantities until the review step"+msgstr ""+msgid "Hide, pin and reorder columns"msgstr "Spalten ausblenden, fixieren und neu anordnen"@@ -6009,6 +6054,9 @@ msgstr "Bestandskontrolle"msgid "Inventory control and counts"msgstr "Bestandskontrolle und Zählungen"+msgid "Inventory Count"+msgstr ""+msgid "Inventory History"msgstr "Bestandsverlauf"@@ -6201,6 +6249,9 @@ msgstr "Artikelbereich"msgid "Item Type"msgstr "Artikeltyp"+msgid "Item Type (optional)"+msgstr ""+msgid "Item types"msgstr "Artikeltypen"@@ -6456,6 +6507,9 @@ msgstr "Zeilenstatus"msgid "Linear Team"msgstr "Linear Team"+msgid "Lines"+msgstr ""+msgid "Lines need internal part numbers"msgstr "Zeilen benötigen interne Teilenummern"@@ -7260,6 +7314,9 @@ msgstr "Neue IC-Transaktion"msgid "New Inspection Document"msgstr "Neues Inspektionsdokument"+msgid "New Inventory Count"+msgstr ""+msgid "New Invoice"msgstr "Neue Rechnung"@@ -8564,6 +8621,9 @@ msgstr "Postleitzahl"msgid "Posted"msgstr "Gebucht"+msgid "Posted At"+msgstr ""+msgid "Posted By"msgstr "Gepostet von"@@ -9188,6 +9248,9 @@ msgstr "Neu berechnen"msgid "Recalculate Unit Cost"msgstr "Einheitenkosten neu berechnen"+msgid "Recalculating…"+msgstr ""+msgid "Receipt"msgstr "Beleg"@@ -10868,6 +10931,9 @@ msgstr "Lagerbereich"msgid "Storage Unit"msgstr "Lagereinheit"+msgid "Storage Unit (optional)"+msgstr ""+msgid "storage units"msgstr "Lagerbereiche"@@ -11145,6 +11211,9 @@ msgstr "System"msgid "System configured"msgstr "System konfiguriert"+msgid "System Qty"+msgstr ""+msgid "Table"msgstr "Tabelle"@@ -12413,6 +12482,9 @@ msgstr "Nicht zugewiesen"msgid "Unballoon"msgstr "Ballon entfernen"+msgid "Uncounted lines are left unchanged at post — they are not zeroed."+msgstr ""+msgid "Under Demand-Based Reorder, planning sums demand inside this rolling window when computing a replenishment quantity."msgstr "Unter Demand-Based Reorder summiert die Planung den Bedarf in diesem rollierenden Fenster beim Berechnen einer Auffüllungsmenge."@@ -12828,6 +12900,9 @@ msgstr "Kontakt anzeigen"msgid "View Contained Issues"msgstr "Enthaltene Probleme anzeigen"+msgid "View Count"+msgstr ""+msgid "View Custom Fields"msgstr "Benutzerdefinierte Felder anzeigen"@@ -12864,6 +12939,9 @@ msgstr "Memo anzeigen"msgid "View missing values"msgstr "Fehlende Werte anzeigen"+msgid "View notes"+msgstr ""+msgid "View Open"msgstr "Offene anzeigen"diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.poindex b373adc5ca..84de1bd5f3 100644--- a/packages/locale/locales/en/erp.po+++ b/packages/locale/locales/en/erp.po@@ -117,6 +117,12 @@ msgstr "{total} phases to get your company live on Carbon. Each one ends at a chmsgid "{total} phases to go live"msgstr "{total} phases to go live"+msgid "{uncounted, plural, one {# uncounted line} other {# uncounted lines}}"+msgstr "{uncounted, plural, one {# uncounted line} other {# uncounted lines}}"++msgid "{variances, plural, one {# line differs from the expected quantity} other {# lines differ from the expected quantity}}"+msgstr "{variances, plural, one {# line differs from the expected quantity} other {# lines differ from the expected quantity}}"+msgid "/month/user"msgstr "/month/user"@@ -735,6 +741,9 @@ msgstr "All Customers"msgid "All Documents"msgstr "All Documents"+msgid "All item types"+msgstr "All item types"+msgid "All Items"msgstr "All Items"@@ -1595,6 +1604,9 @@ msgstr "Basic Information"msgid "Batch"msgstr "Batch"+msgid "Batch / Serial"+msgstr "Batch / Serial"+msgid "Batch items require a sales order"msgstr "Batch items require a sales order"@@ -1650,6 +1662,9 @@ msgstr "Billing Address"msgid "Bills of material"msgstr "Bills of material"+msgid "Blind Count"+msgstr "Blind Count"+msgid "Block with an error"msgstr "Block with an error"@@ -2304,6 +2319,9 @@ msgstr "Confirm {0}"msgid "Confirm and sign the scope"msgstr "Confirm and sign the scope"+msgid "Confirm Count"+msgstr "Confirm Count"+msgid "Confirm how your company runs and lock the scope."msgstr "Confirm how your company runs and lock the scope."@@ -2313,6 +2331,9 @@ msgstr "Confirm ID Change"msgid "Confirm Import"msgstr "Confirm Import"+msgid "Confirm Inventory Count"+msgstr "Confirm Inventory Count"+msgid "Confirm Mapping"msgstr "Confirm Mapping"@@ -2325,6 +2346,9 @@ msgstr "Confirmed incoming stock — purchase & production orders (bars above zemsgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."msgstr "Confirmed outgoing stock — sales orders & job materials (bars below zero)."+msgid "Confirming locks the counted quantities. Review the warnings below, then post the count to apply the adjustments."+msgstr "Confirming locks the counted quantities. Review the warnings below, then post the count to apply the adjustments."+msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."msgstr "Connect Carbon to your accounting, project management, and CAD tools and much more."@@ -2672,6 +2696,12 @@ msgstr "Couldn't load documents"msgid "Count"msgstr "Count"+msgid "Count ID"+msgstr "Count ID"++msgid "Counted Qty"+msgstr "Counted Qty"+msgid "Counterparties"msgstr "Counterparties"@@ -2693,6 +2723,9 @@ msgstr "Create {0}"msgid "Create {0} values"msgstr "Create {0} values"+msgid "Create & Snapshot"+msgstr "Create & Snapshot"+msgid "Create a new kanban card for scan-based replenishment."msgstr "Create a new kanban card for scan-based replenishment."@@ -3389,6 +3422,9 @@ msgstr "Delete Contact"msgid "Delete Contractor"msgstr "Delete Contractor"+msgid "Delete Count"+msgstr "Delete Count"+msgid "Delete Custom Field"msgstr "Delete Custom Field"@@ -4013,6 +4049,9 @@ msgstr "Edit Contact"msgid "Edit Contractor"msgstr "Edit Contractor"+msgid "Edit Count"+msgstr "Edit Count"+msgid "Edit Currency"msgstr "Edit Currency"@@ -4950,6 +4989,9 @@ msgstr "Failed to update category markups"msgid "Failed to update configuration parameter"msgstr "Failed to update configuration parameter"+msgid "Failed to update count"+msgstr "Failed to update count"+msgid "Failed to update item cost"msgstr "Failed to update item cost"@@ -5541,6 +5583,9 @@ msgstr "Help"msgid "Hide"msgstr "Hide"+msgid "Hide system quantities until the review step"+msgstr "Hide system quantities until the review step"+msgid "Hide, pin and reorder columns"msgstr "Hide, pin and reorder columns"@@ -6009,6 +6054,9 @@ msgstr "Inventory Control"msgid "Inventory control and counts"msgstr "Inventory control and counts"+msgid "Inventory Count"+msgstr "Inventory Count"+msgid "Inventory History"msgstr "Inventory History"@@ -6201,6 +6249,9 @@ msgstr "Item Scope"msgid "Item Type"msgstr "Item Type"+msgid "Item Type (optional)"+msgstr "Item Type (optional)"+msgid "Item types"msgstr "Item types"@@ -6456,6 +6507,9 @@ msgstr "Line Status"msgid "Linear Team"msgstr "Linear Team"+msgid "Lines"+msgstr "Lines"+msgid "Lines need internal part numbers"msgstr "Lines need internal part numbers"@@ -7260,6 +7314,9 @@ msgstr "New IC Transaction"msgid "New Inspection Document"msgstr "New Inspection Document"+msgid "New Inventory Count"+msgstr "New Inventory Count"+msgid "New Invoice"msgstr "New Invoice"@@ -8564,6 +8621,9 @@ msgstr "Postal Code"msgid "Posted"msgstr "Posted"+msgid "Posted At"+msgstr "Posted At"+msgid "Posted By"msgstr "Posted By"@@ -9188,6 +9248,9 @@ msgstr "Recalculate"msgid "Recalculate Unit Cost"msgstr "Recalculate Unit Cost"+msgid "Recalculating…"+msgstr "Recalculating…"+msgid "Receipt"msgstr "Receipt"@@ -10868,6 +10931,9 @@ msgstr "storage unit"msgid "Storage Unit"msgstr "Storage Unit"+msgid "Storage Unit (optional)"+msgstr "Storage Unit (optional)"+msgid "storage units"msgstr "storage units"@@ -11145,6 +11211,9 @@ msgstr "System"msgid "System configured"msgstr "System configured"+msgid "System Qty"+msgstr "System Qty"+msgid "Table"msgstr "Table"@@ -12413,6 +12482,9 @@ msgstr "Unassigned"msgid "Unballoon"msgstr "Unballoon"+msgid "Uncounted lines are left unchanged at post — they are not zeroed."+msgstr "Uncounted lines are left unchanged at post — they are not zeroed."+msgid "Under Demand-Based Reorder, planning sums demand inside this rolling window when computing a replenishment quantity."msgstr "Under Demand-Based Reorder, planning sums demand inside this rolling window when computing a replenishment quantity."@@ -12828,6 +12900,9 @@ msgstr "View Contact"msgid "View Contained Issues"msgstr "View Contained Issues"+msgid "View Count"+msgstr "View Count"+msgid "View Custom Fields"msgstr "View Custom Fields"@@ -12864,6 +12939,9 @@ msgstr "View Memo"msgid "View missing values"msgstr "View missing values"+msgid "View notes"+msgstr "View notes"+msgid "View Open"msgstr "View Open"diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.poindex 5b79184856..182f6ff84f 100644--- a/packages/locale/locales/es/erp.po+++ b/packages/locale/locales/es/erp.po@@ -117,6 +117,12 @@ msgstr "{total} fases para poner tu empresa en vivo en Carbon. Cada una terminamsgid "{total} phases to go live"msgstr "{total} fases para activar"+msgid "{uncounted, plural, one {# uncounted line} other {# uncounted lines}}"+msgstr ""++msgid "{variances, plural, one {# line differs from the expected quantity} other {# lines differ from the expected quantity}}"+msgstr ""+msgid "/month/user"msgstr "/mes/usuario"@@ -735,6 +741,9 @@ msgstr "Todos los Clientes"msgid "All Documents"msgstr "Todos los documentos"+msgid "All item types"+msgstr ""+msgid "All Items"msgstr "Todos los artículos"@@ -1595,6 +1604,9 @@ msgstr "Información Básica"msgid "Batch"msgstr "Lote"+msgid "Batch / Serial"+msgstr ""+msgid "Batch items require a sales order"msgstr "Los artículos por lote requieren una orden de venta"@@ -1650,6 +1662,9 @@ msgstr "Dirección de Facturación"msgid "Bills of material"msgstr "Listas de materiales"+msgid "Blind Count"+msgstr ""+msgid "Block with an error"msgstr "Bloquear con un error"@@ -2304,6 +2319,9 @@ msgstr "Confirmar {0}"msgid "Confirm and sign the scope"msgstr "Confirmar y firmar el alcance"+msgid "Confirm Count"+msgstr ""+msgid "Confirm how your company runs and lock the scope."msgstr "Confirma cómo funciona tu empresa y bloquea el alcance."@@ -2313,6 +2331,9 @@ msgstr "Confirmar cambio de ID"msgid "Confirm Import"msgstr "Confirmar importación"+msgid "Confirm Inventory Count"+msgstr ""+msgid "Confirm Mapping"msgstr "Confirmar Mapeo"@@ -2325,6 +2346,9 @@ msgstr "Existencias entrantes confirmadas — órdenes de compra y producción (msgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."msgstr "Existencias salientes confirmadas — órdenes de venta y materiales de trabajo (barras por debajo de cero)."+msgid "Confirming locks the counted quantities. Review the warnings below, then post the count to apply the adjustments."+msgstr ""+msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."msgstr "Conecta Carbon a tus herramientas de contabilidad, gestión de proyectos, CAD y mucho más."@@ -2672,6 +2696,12 @@ msgstr "No se pudieron cargar los documentos"msgid "Count"msgstr "Cantidad"+msgid "Count ID"+msgstr ""++msgid "Counted Qty"+msgstr ""+msgid "Counterparties"msgstr "Contrapartes"@@ -2693,6 +2723,9 @@ msgstr "Crear {0}"msgid "Create {0} values"msgstr "Crear {0} valores"+msgid "Create & Snapshot"+msgstr ""+msgid "Create a new kanban card for scan-based replenishment."msgstr "Crea una nueva tarjeta kanban para reabastecimiento basado en escaneo."@@ -3389,6 +3422,9 @@ msgstr "Eliminar Contacto"msgid "Delete Contractor"msgstr "Eliminar Contratista"+msgid "Delete Count"+msgstr ""+msgid "Delete Custom Field"msgstr "Eliminar Campo Personalizado"@@ -4013,6 +4049,9 @@ msgstr "Editar Contacto"msgid "Edit Contractor"msgstr "Editar Contratista"+msgid "Edit Count"+msgstr ""+msgid "Edit Currency"msgstr "Editar Moneda"@@ -4950,6 +4989,9 @@ msgstr "Error al actualizar los márgenes de categoría"msgid "Failed to update configuration parameter"msgstr "Error al actualizar el parámetro de configuración"+msgid "Failed to update count"+msgstr ""+msgid "Failed to update item cost"msgstr "Error al actualizar el costo del artículo"@@ -5541,6 +5583,9 @@ msgstr "Ayuda"msgid "Hide"msgstr "Ocultar"+msgid "Hide system quantities until the review step"+msgstr ""+msgid "Hide, pin and reorder columns"msgstr "Ocultar, anclar y reordenar columnas"@@ -6009,6 +6054,9 @@ msgstr "Control de Inventario"msgid "Inventory control and counts"msgstr "Control de inventario y conteos"+msgid "Inventory Count"+msgstr ""+msgid "Inventory History"msgstr "Historial de Inventario"@@ -6201,6 +6249,9 @@ msgstr "Alcance de Artículos"msgid "Item Type"msgstr "Tipo de Artículo"+msgid "Item Type (optional)"+msgstr ""+msgid "Item types"msgstr "Tipos de artículo"@@ -6456,6 +6507,9 @@ msgstr "Estado de la Línea"msgid "Linear Team"msgstr "Equipo de Linear"+msgid "Lines"+msgstr ""+msgid "Lines need internal part numbers"msgstr "Las líneas necesitan números de parte internos"@@ -7260,6 +7314,9 @@ msgstr "Nueva Transacción IC"msgid "New Inspection Document"msgstr "Nuevo Documento de Inspección"+msgid "New Inventory Count"+msgstr ""+msgid "New Invoice"msgstr "Factura Nueva"@@ -8564,6 +8621,9 @@ msgstr "Código Postal"msgid "Posted"msgstr "Publicado"+msgid "Posted At"+msgstr ""+msgid "Posted By"msgstr "Publicado por"@@ -9188,6 +9248,9 @@ msgstr "Recalcular"msgid "Recalculate Unit Cost"msgstr "Recalcular Costo Unitario"+msgid "Recalculating…"+msgstr ""+msgid "Receipt"msgstr "Recepción"@@ -10868,6 +10931,9 @@ msgstr "unidad de almacenamiento"msgid "Storage Unit"msgstr "Unidad de Almacenamiento"+msgid "Storage Unit (optional)"+msgstr ""+msgid "storage units"msgstr "unidades de almacenamiento"@@ -11145,6 +11211,9 @@ msgstr "Sistema"msgid "System configured"msgstr "Sistema configurado"+msgid "System Qty"+msgstr ""+msgid "Table"msgstr "Tabla"@@ -12413,6 +12482,9 @@ msgstr "Sin asignar"msgid "Unballoon"msgstr "Desvinculación"+msgid "Uncounted lines are left unchanged at post — they are not zeroed."+msgstr ""+msgid "Under Demand-Based Reorder, planning sums demand inside this rolling window when computing a replenishment quantity."msgstr "Bajo Reorden Basado en Demanda, la planificación suma la demanda dentro de esta ventana móvil al calcular una cantidad de reabastecimiento."@@ -12828,6 +12900,9 @@ msgstr "Ver Contacto"msgid "View Contained Issues"msgstr "Ver problemas contenidos"+msgid "View Count"+msgstr ""+msgid "View Custom Fields"msgstr "Ver Campos Personalizados"@@ -12864,6 +12939,9 @@ msgstr "Ver Memorándum"msgid "View missing values"msgstr "Ver valores faltantes"+msgid "View notes"+msgstr ""+msgid "View Open"msgstr "Ver Abiertos"diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.poindex bd15b80106..b56d1ec767 100644--- a/packages/locale/locales/fr/erp.po+++ b/packages/locale/locales/fr/erp.po@@ -117,6 +117,12 @@ msgstr "{total} phases pour mettre votre entreprise en ligne sur Carbon. Chacunemsgid "{total} phases to go live"msgstr "{total} phases pour être en direct"+msgid "{uncounted, plural, one {# uncounted line} other {# uncounted lines}}"+msgstr ""++msgid "{variances, plural, one {# line differs from the expected quantity} other {# lines differ from the expected quantity}}"+msgstr ""+msgid "/month/user"msgstr "/mois/utilisateur"@@ -735,6 +741,9 @@ msgstr "Tous les clients"msgid "All Documents"msgstr "Tous les documents"+msgid "All item types"+msgstr ""+msgid "All Items"msgstr "Tous les articles"@@ -1595,6 +1604,9 @@ msgstr "Informations de base"msgid "Batch"msgstr "Lot"+msgid "Batch / Serial"+msgstr ""+msgid "Batch items require a sales order"msgstr "Les articles en lot nécessitent une commande client"@@ -1650,6 +1662,9 @@ msgstr "Adresse de facturation"msgid "Bills of material"msgstr "Nomenclatures de produits"+msgid "Blind Count"+msgstr ""+msgid "Block with an error"msgstr "Bloquer avec une erreur"@@ -2304,6 +2319,9 @@ msgstr "Confirmer {0}"msgid "Confirm and sign the scope"msgstr "Confirmer et signer l'étendue"+msgid "Confirm Count"+msgstr ""+msgid "Confirm how your company runs and lock the scope."msgstr "Confirmez le fonctionnement de votre entreprise et verrouillez la portée."@@ -2313,6 +2331,9 @@ msgstr "Confirmer le changement d'ID"msgid "Confirm Import"msgstr "Confirmer l'importation"+msgid "Confirm Inventory Count"+msgstr ""+msgid "Confirm Mapping"msgstr "Confirmer le mappage"@@ -2325,6 +2346,9 @@ msgstr "Stock entrant confirmé — commandes d'achat et de production (barres amsgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."msgstr "Stock sortant confirmé — commandes de vente et matériaux de travail (barres en dessous de zéro)."+msgid "Confirming locks the counted quantities. Review the warnings below, then post the count to apply the adjustments."+msgstr ""+msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."msgstr "Connectez Carbon à vos outils de comptabilité, de gestion de projet, de CAO et bien d'autres."@@ -2672,6 +2696,12 @@ msgstr "Impossible de charger les documents"msgid "Count"msgstr "Nombre"+msgid "Count ID"+msgstr ""++msgid "Counted Qty"+msgstr ""+msgid "Counterparties"msgstr "Contreparties"@@ -2693,6 +2723,9 @@ msgstr "Créer {0}"msgid "Create {0} values"msgstr "Créer {0} valeurs"+msgid "Create & Snapshot"+msgstr ""+msgid "Create a new kanban card for scan-based replenishment."msgstr "Créer une nouvelle carte kanban pour le réapprovisionnement basé sur la numérisation."@@ -3389,6 +3422,9 @@ msgstr "Supprimer le contact"msgid "Delete Contractor"msgstr "Supprimer l'entrepreneur"+msgid "Delete Count"+msgstr ""+msgid "Delete Custom Field"msgstr "Supprimer le champ personnalisé"@@ -4013,6 +4049,9 @@ msgstr "Modifier le contact"msgid "Edit Contractor"msgstr "Modifier le Contractant"+msgid "Edit Count"+msgstr ""+msgid "Edit Currency"msgstr "Modifier la devise"@@ -4950,6 +4989,9 @@ msgstr "Échec de la mise à jour des majorations par catégorie"msgid "Failed to update configuration parameter"msgstr "Échec de la mise à jour du paramètre de configuration"+msgid "Failed to update count"+msgstr ""+msgid "Failed to update item cost"msgstr "Échec de la mise à jour du coût de l'article"@@ -5541,6 +5583,9 @@ msgstr "Aide"msgid "Hide"msgstr "Masquer"+msgid "Hide system quantities until the review step"+msgstr ""+msgid "Hide, pin and reorder columns"msgstr "Masquer, épingler et réorganiser les colonnes"@@ -6009,6 +6054,9 @@ msgstr "Contrôle des stocks"msgid "Inventory control and counts"msgstr "Contrôle des stocks et inventaires"+msgid "Inventory Count"+msgstr ""+msgid "Inventory History"msgstr "Historique d'inventaire"@@ -6201,6 +6249,9 @@ msgstr "Portée des articles"msgid "Item Type"msgstr "Type d'article"+msgid "Item Type (optional)"+msgstr ""+msgid "Item types"msgstr "Types d'articles"@@ -6456,6 +6507,9 @@ msgstr "Statut de la ligne"msgid "Linear Team"msgstr "Équipe Linear"+msgid "Lines"+msgstr ""+msgid "Lines need internal part numbers"msgstr "Les lignes ont besoin de numéros de pièces internes"@@ -7260,6 +7314,9 @@ msgstr "Nouvelle Transaction IC"msgid "New Inspection Document"msgstr "Nouveau Document d'Inspection"+msgid "New Inventory Count"+msgstr ""+msgid "New Invoice"msgstr "Nouvelle facture"@@ -8564,6 +8621,9 @@ msgstr "Code postal"msgid "Posted"msgstr "Publié"+msgid "Posted At"+msgstr ""+msgid "Posted By"msgstr "Publié par"@@ -9188,6 +9248,9 @@ msgstr "Recalculer"msgid "Recalculate Unit Cost"msgstr "Recalculer le coût unitaire"+msgid "Recalculating…"+msgstr ""+msgid "Receipt"msgstr "Reçu"@@ -10868,6 +10931,9 @@ msgstr "unité de stockage"msgid "Storage Unit"msgstr "Unité de stockage"+msgid "Storage Unit (optional)"+msgstr ""+msgid "storage units"msgstr "unités de stockage"@@ -11145,6 +11211,9 @@ msgstr "Système"msgid "System configured"msgstr "Système configuré"+msgid "System Qty"+msgstr ""+msgid "Table"msgstr "Tableau"@@ -12413,6 +12482,9 @@ msgstr "Non assigné"msgid "Unballoon"msgstr "Retirer le ballon"+msgid "Uncounted lines are left unchanged at post — they are not zeroed."+msgstr ""+msgid "Under Demand-Based Reorder, planning sums demand inside this rolling window when computing a replenishment quantity."msgstr "Sous Réapprovisionnement Basé sur la Demande, la planification additionne la demande dans cette fenêtre glissante lors du calcul d'une quantité de réapprovisionnement."@@ -12828,6 +12900,9 @@ msgstr "Afficher le contact"msgid "View Contained Issues"msgstr "Afficher les problèmes contenus"+msgid "View Count"+msgstr ""+msgid "View Custom Fields"msgstr "Afficher les champs personnalisés"@@ -12864,6 +12939,9 @@ msgstr "Afficher le mémo"msgid "View missing values"msgstr "Afficher les valeurs manquantes"+msgid "View notes"+msgstr ""+msgid "View Open"msgstr "Afficher les ouvertes"diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.poindex 72b857684a..70fd6d07cc 100644--- a/packages/locale/locales/hi/erp.po+++ b/packages/locale/locales/hi/erp.po@@ -117,6 +117,12 @@ msgstr "{total} phases to get your company live on Carbon. Each one ends at a chmsgid "{total} phases to go live"msgstr "{total} चरण लाइव होने के लिए"+msgid "{uncounted, plural, one {# uncounted line} other {# uncounted lines}}"+msgstr ""++msgid "{variances, plural, one {# line differs from the expected quantity} other {# lines differ from the expected quantity}}"+msgstr ""+msgid "/month/user"msgstr "/माह/उपयोगकर्ता"@@ -735,6 +741,9 @@ msgstr "सभी ग्राहक"msgid "All Documents"msgstr "सभी दस्तावेज़"+msgid "All item types"+msgstr ""+msgid "All Items"msgstr "सभी आइटम"@@ -1595,6 +1604,9 @@ msgstr "बुनियादी जानकारी"msgid "Batch"msgstr "बैच"+msgid "Batch / Serial"+msgstr ""+msgid "Batch items require a sales order"msgstr "बैच आइटम के लिए बिक्री आदेश आवश्यक है"@@ -1650,6 +1662,9 @@ msgstr "बिलिंग पता"msgid "Bills of material"msgstr "सामग्री के बिल"+msgid "Blind Count"+msgstr ""+msgid "Block with an error"msgstr "त्रुटि के साथ ब्लॉक करें"@@ -2304,6 +2319,9 @@ msgstr "की पुष्टि करें {0}"msgid "Confirm and sign the scope"msgstr "स्कोप की पुष्टि करें और हस्ताक्षर करें"+msgid "Confirm Count"+msgstr ""+msgid "Confirm how your company runs and lock the scope."msgstr "अपनी कंपनी कैसे चलती है यह पुष्टि करें और स्कोप को लॉक करें।"@@ -2313,6 +2331,9 @@ msgstr "आईडी परिवर्तन की पुष्टि करmsgid "Confirm Import"msgstr "आयात की पुष्टि करें"+msgid "Confirm Inventory Count"+msgstr ""+msgid "Confirm Mapping"msgstr "मैपिंग की पुष्टि करें"@@ -2325,6 +2346,9 @@ msgstr "पुष्टि की गई आने वाली स्टॉकmsgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."msgstr "पुष्टि की गई आने वाली स्टॉक — बिक्री आदेश और नौकरी सामग्री (बार शून्य से नीचे)।"+msgid "Confirming locks the counted quantities. Review the warnings below, then post the count to apply the adjustments."+msgstr ""+msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."msgstr "Carbon को अपने लेखांकन, परियोजना प्रबंधन, और CAD उपकरणों और बहुत कुछ से जोड़ें।"@@ -2672,6 +2696,12 @@ msgstr "दस्तावेज़ लोड नहीं हो सके"msgid "Count"msgstr "गिनती"+msgid "Count ID"+msgstr ""++msgid "Counted Qty"+msgstr ""+msgid "Counterparties"msgstr "प्रतिपक्ष"@@ -2693,6 +2723,9 @@ msgstr "{0} बनाएं"msgid "Create {0} values"msgstr "{0} मान बनाएं"+msgid "Create & Snapshot"+msgstr ""+msgid "Create a new kanban card for scan-based replenishment."msgstr "स्कैन-आधारित पुनःपूर्ति के लिए एक नया कानबन कार्ड बनाएं।"@@ -3389,6 +3422,9 @@ msgstr "संपर्क हटाएं"msgid "Delete Contractor"msgstr "ठेकेदार हटाएं"+msgid "Delete Count"+msgstr ""+msgid "Delete Custom Field"msgstr "कस्टम फील्ड हटाएं"@@ -4013,6 +4049,9 @@ msgstr "संपर्क संपादित करें"msgid "Edit Contractor"msgstr "ठेकेदार संपादित करें"+msgid "Edit Count"+msgstr ""+msgid "Edit Currency"msgstr "मुद्रा संपादित करें"@@ -4950,6 +4989,9 @@ msgstr "श्रेणी मार्कअप अपडेट करनेmsgid "Failed to update configuration parameter"msgstr "कॉन्फ़िगरेशन पैरामीटर को अपडेट करने में विफल"+msgid "Failed to update count"+msgstr ""+msgid "Failed to update item cost"msgstr "आइटम लागत अपडेट करने में विफल"@@ -5541,6 +5583,9 @@ msgstr "मदद"msgid "Hide"msgstr "छिपाएं"+msgid "Hide system quantities until the review step"+msgstr ""+msgid "Hide, pin and reorder columns"msgstr "कॉलम को छिपाएं, पिन करें और पुनः क्रमित करें"@@ -6009,6 +6054,9 @@ msgstr "इन्वेंटरी नियंत्रण"msgid "Inventory control and counts"msgstr "इन्वेंटरी नियंत्रण और गणना"+msgid "Inventory Count"+msgstr ""+msgid "Inventory History"msgstr "इन्वेंटरी इतिहास"@@ -6201,6 +6249,9 @@ msgstr "आइटम स्कोप"msgid "Item Type"msgstr "आइटम प्रकार"+msgid "Item Type (optional)"+msgstr ""+msgid "Item types"msgstr "आइटम प्रकार"@@ -6456,6 +6507,9 @@ msgstr "लाइन स्थिति"msgid "Linear Team"msgstr "Linear Team"+msgid "Lines"+msgstr ""+msgid "Lines need internal part numbers"msgstr "लाइनों को आंतरिक भाग संख्याओं की आवश्यकता है"@@ -7260,6 +7314,9 @@ msgstr "नया IC लेनदेन"msgid "New Inspection Document"msgstr "नया निरीक्षण दस्तावेज़"+msgid "New Inventory Count"+msgstr ""+msgid "New Invoice"msgstr "नया चालान"@@ -8564,6 +8621,9 @@ msgstr "पिन कोड"msgid "Posted"msgstr "पोस्ट किया गया"+msgid "Posted At"+msgstr ""+msgid "Posted By"msgstr "द्वारा पोस्ट किया गया"@@ -9188,6 +9248,9 @@ msgstr "पुनः गणना करें"msgid "Recalculate Unit Cost"msgstr "यूनिट कॉस्ट की पुनः गणना करें"+msgid "Recalculating…"+msgstr ""+msgid "Receipt"msgstr "रसीद"@@ -10868,6 +10931,9 @@ msgstr "भंडारण इकाई"msgid "Storage Unit"msgstr "भंडारण इकाई"+msgid "Storage Unit (optional)"+msgstr ""+msgid "storage units"msgstr "भंडारण इकाइयां"@@ -11145,6 +11211,9 @@ msgstr "सिस्टम"msgid "System configured"msgstr "सिस्टम कॉन्फ़िगर किया गया"+msgid "System Qty"+msgstr ""+msgid "Table"msgstr "तालिका"@@ -12413,6 +12482,9 @@ msgstr "अनुत्तरित"msgid "Unballoon"msgstr "गुब्बारा हटाएं"+msgid "Uncounted lines are left unchanged at post — they are not zeroed."+msgstr ""+msgid "Under Demand-Based Reorder, planning sums demand inside this rolling window when computing a replenishment quantity."msgstr "Demand-आधारित पुनः आदेश के तहत, योजना एक पुनः भरण मात्रा की गणना करते समय इस रोलिंग विंडो के भीतर मांग को जोड़ता है।"@@ -12828,6 +12900,9 @@ msgstr "संपर्क देखें"msgid "View Contained Issues"msgstr "नियंत्रित समस्याओं को देखें"+msgid "View Count"+msgstr ""+msgid "View Custom Fields"msgstr "कस्टम फील्ड्स देखें"@@ -12864,6 +12939,9 @@ msgstr "मेमो देखें"msgid "View missing values"msgstr "लापता मानों को देखें"+msgid "View notes"+msgstr ""+msgid "View Open"msgstr "खुला देखें"diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.poindex a88d04cd05..3fc6afdd90 100644--- a/packages/locale/locales/it/erp.po+++ b/packages/locale/locales/it/erp.po@@ -117,6 +117,12 @@ msgstr "{total} fasi per mettere la tua azienda online su Carbon. Ognuna terminamsgid "{total} phases to go live"msgstr "{total} fasi per andare live"+msgid "{uncounted, plural, one {# uncounted line} other {# uncounted lines}}"+msgstr ""++msgid "{variances, plural, one {# line differs from the expected quantity} other {# lines differ from the expected quantity}}"+msgstr ""+msgid "/month/user"msgstr "/mese/utente"@@ -735,6 +741,9 @@ msgstr "Tutti i clienti"msgid "All Documents"msgstr "Tutti i documenti"+msgid "All item types"+msgstr ""+msgid "All Items"msgstr "Tutti gli articoli"@@ -1595,6 +1604,9 @@ msgstr "Informazioni di base"msgid "Batch"msgstr "Lotto"+msgid "Batch / Serial"+msgstr ""+msgid "Batch items require a sales order"msgstr "Gli articoli in lotto richiedono un ordine di vendita"@@ -1650,6 +1662,9 @@ msgstr "Indirizzo di Fatturazione"msgid "Bills of material"msgstr "Distinte base"+msgid "Blind Count"+msgstr ""+msgid "Block with an error"msgstr "Blocca con un errore"@@ -2304,6 +2319,9 @@ msgstr "Conferma {0}"msgid "Confirm and sign the scope"msgstr "Conferma e firma l'ambito"+msgid "Confirm Count"+msgstr ""+msgid "Confirm how your company runs and lock the scope."msgstr "Conferma come funziona la tua azienda e blocca l'ambito."@@ -2313,6 +2331,9 @@ msgstr "Conferma cambio ID"msgid "Confirm Import"msgstr "Conferma importazione"+msgid "Confirm Inventory Count"+msgstr ""+msgid "Confirm Mapping"msgstr "Conferma Mapping"@@ -2325,6 +2346,9 @@ msgstr "Stock in entrata confermato — ordini di acquisto e di produzione (barrmsgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."msgstr "Stock in uscita confermato — ordini di vendita e materiali di lavoro (barre sotto zero)."+msgid "Confirming locks the counted quantities. Review the warnings below, then post the count to apply the adjustments."+msgstr ""+msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."msgstr "Connetti Carbon ai tuoi strumenti di contabilità, gestione dei progetti, CAD e molto altro."@@ -2672,6 +2696,12 @@ msgstr "Impossibile caricare i documenti"msgid "Count"msgstr "Conteggio"+msgid "Count ID"+msgstr ""++msgid "Counted Qty"+msgstr ""+msgid "Counterparties"msgstr "Controparte"@@ -2693,6 +2723,9 @@ msgstr "Crea {0}"msgid "Create {0} values"msgstr "Crea {0} valori"+msgid "Create & Snapshot"+msgstr ""+msgid "Create a new kanban card for scan-based replenishment."msgstr "Crea una nuova scheda kanban per il rifornimento basato su scansione."@@ -3389,6 +3422,9 @@ msgstr "Elimina Contatto"msgid "Delete Contractor"msgstr "Elimina Appaltatore"+msgid "Delete Count"+msgstr ""+msgid "Delete Custom Field"msgstr "Elimina Campo Personalizzato"@@ -4013,6 +4049,9 @@ msgstr "Modifica Contatto"msgid "Edit Contractor"msgstr "Modifica Appaltatore"+msgid "Edit Count"+msgstr ""+msgid "Edit Currency"msgstr "Modifica Valuta"@@ -4950,6 +4989,9 @@ msgstr "Impossibile aggiornare i markup per categoria"msgid "Failed to update configuration parameter"msgstr "Impossibile aggiornare il parametro di configurazione"+msgid "Failed to update count"+msgstr ""+msgid "Failed to update item cost"msgstr "Impossibile aggiornare il costo dell'articolo"@@ -5541,6 +5583,9 @@ msgstr "Aiuto"msgid "Hide"msgstr "Nascondi"+msgid "Hide system quantities until the review step"+msgstr ""+msgid "Hide, pin and reorder columns"msgstr "Nascondi, fissa e riordina le colonne"@@ -6009,6 +6054,9 @@ msgstr "Controllo Inventario"msgid "Inventory control and counts"msgstr "Controllo inventario e conteggi"+msgid "Inventory Count"+msgstr ""+msgid "Inventory History"msgstr "Cronologia Inventario"@@ -6201,6 +6249,9 @@ msgstr "Ambito Articolo"msgid "Item Type"msgstr "Tipo di articolo"+msgid "Item Type (optional)"+msgstr ""+msgid "Item types"msgstr "Tipi di articolo"@@ -6456,6 +6507,9 @@ msgstr "Stato Riga"msgid "Linear Team"msgstr "Team Linear"+msgid "Lines"+msgstr ""+msgid "Lines need internal part numbers"msgstr "Le righe necessitano di numeri di parte interni"@@ -7260,6 +7314,9 @@ msgstr "Nuova Transazione IC"msgid "New Inspection Document"msgstr "Nuovo Documento di Ispezione"+msgid "New Inventory Count"+msgstr ""+msgid "New Invoice"msgstr "Nuova Fattura"@@ -8564,6 +8621,9 @@ msgstr "Codice Postale"msgid "Posted"msgstr "Registrato"+msgid "Posted At"+msgstr ""+msgid "Posted By"msgstr "Pubblicato da"@@ -9188,6 +9248,9 @@ msgstr "Ricalcola"msgid "Recalculate Unit Cost"msgstr "Ricalcola Costo Unitario"+msgid "Recalculating…"+msgstr ""+msgid "Receipt"msgstr "Ricevuta"@@ -10868,6 +10931,9 @@ msgstr "unità di archiviazione"msgid "Storage Unit"msgstr "Unità di Stoccaggio"+msgid "Storage Unit (optional)"+msgstr ""+msgid "storage units"msgstr "unità di archiviazione"@@ -11145,6 +11211,9 @@ msgstr "Sistema"msgid "System configured"msgstr "Sistema configurato"+msgid "System Qty"+msgstr ""+msgid "Table"msgstr "Tabella"@@ -12413,6 +12482,9 @@ msgstr "Non assegnato"msgid "Unballoon"msgstr "Rimuovi palloncino"+msgid "Uncounted lines are left unchanged at post — they are not zeroed."+msgstr ""+msgid "Under Demand-Based Reorder, planning sums demand inside this rolling window when computing a replenishment quantity."msgstr "Nel Reorder Basato sulla Domanda, la pianificazione somma la domanda all'interno di questa finestra mobile quando calcola una quantità di rifornimento."@@ -12828,6 +12900,9 @@ msgstr "Visualizza Contatto"msgid "View Contained Issues"msgstr "Visualizza problemi contenuti"+msgid "View Count"+msgstr ""+msgid "View Custom Fields"msgstr "Visualizza Campi Personalizzati"@@ -12864,6 +12939,9 @@ msgstr "Visualizza Memo"msgid "View missing values"msgstr "Visualizza valori mancanti"+msgid "View notes"+msgstr ""+msgid "View Open"msgstr "Visualizza Aperto"diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.poindex 0d79285fb9..ac8f56c43a 100644--- a/packages/locale/locales/ja/erp.po+++ b/packages/locale/locales/ja/erp.po@@ -117,6 +117,12 @@ msgstr "{total}個のフェーズでお客様の企業をCarbonで稼働させmsgid "{total} phases to go live"msgstr "{total}個のフェーズをライブにする"+msgid "{uncounted, plural, one {# uncounted line} other {# uncounted lines}}"+msgstr ""++msgid "{variances, plural, one {# line differs from the expected quantity} other {# lines differ from the expected quantity}}"+msgstr ""+msgid "/month/user"msgstr "/月/ユーザー"@@ -735,6 +741,9 @@ msgstr "すべての顧客"msgid "All Documents"msgstr "すべてのドキュメント"+msgid "All item types"+msgstr ""+msgid "All Items"msgstr "すべてのアイテム"@@ -1595,6 +1604,9 @@ msgstr "基本情報"msgid "Batch"msgstr "バッチ"+msgid "Batch / Serial"+msgstr ""+msgid "Batch items require a sales order"msgstr "バッチ品目は販売注文が必要です"@@ -1650,6 +1662,9 @@ msgstr "請求先住所"msgid "Bills of material"msgstr "部品表"+msgid "Blind Count"+msgstr ""+msgid "Block with an error"msgstr "エラーでブロック"@@ -2304,6 +2319,9 @@ msgstr "{0}を確認"msgid "Confirm and sign the scope"msgstr "スコープを確認して署名する"+msgid "Confirm Count"+msgstr ""+msgid "Confirm how your company runs and lock the scope."msgstr "貴社の運営方法を確認し、スコープをロックします。"@@ -2313,6 +2331,9 @@ msgstr "IDの変更を確認"msgid "Confirm Import"msgstr "インポートを確認"+msgid "Confirm Inventory Count"+msgstr ""+msgid "Confirm Mapping"msgstr "マッピングを確認"@@ -2325,6 +2346,9 @@ msgstr "確認された入荷在庫 — 購買および生産注文(ゼロ以msgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."msgstr "確認された出荷在庫 — 販売注文とジョブ材料(ゼロ未満のバー)。"+msgid "Confirming locks the counted quantities. Review the warnings below, then post the count to apply the adjustments."+msgstr ""+msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."msgstr "Carbonを会計、プロジェクト管理、CADツールなど、さまざまなツールに接続できます。"@@ -2672,6 +2696,12 @@ msgstr "ドキュメントを読み込めませんでした"msgid "Count"msgstr "数"+msgid "Count ID"+msgstr ""++msgid "Counted Qty"+msgstr ""+msgid "Counterparties"msgstr "取引先"@@ -2693,6 +2723,9 @@ msgstr "{0}を作成"msgid "Create {0} values"msgstr "{0}個の値を作成"+msgid "Create & Snapshot"+msgstr ""+msgid "Create a new kanban card for scan-based replenishment."msgstr "スキャンベースの補充用に新しいかんばんカードを作成します。"@@ -3389,6 +3422,9 @@ msgstr "連絡先を削除"msgid "Delete Contractor"msgstr "契約者を削除"+msgid "Delete Count"+msgstr ""+msgid "Delete Custom Field"msgstr "カスタムフィールドを削除"@@ -4013,6 +4049,9 @@ msgstr "連絡先を編集"msgid "Edit Contractor"msgstr "契約者を編集"+msgid "Edit Count"+msgstr ""+msgid "Edit Currency"msgstr "通貨を編集"@@ -4950,6 +4989,9 @@ msgstr "カテゴリマークアップの更新に失敗しました"msgid "Failed to update configuration parameter"msgstr "設定パラメータの更新に失敗しました"+msgid "Failed to update count"+msgstr ""+msgid "Failed to update item cost"msgstr "アイテムコストの更新に失敗しました"@@ -5541,6 +5583,9 @@ msgstr "ヘルプ"msgid "Hide"msgstr "非表示"+msgid "Hide system quantities until the review step"+msgstr ""+msgid "Hide, pin and reorder columns"msgstr "列を非表示、ピン留め、並び替え"@@ -6009,6 +6054,9 @@ msgstr "在庫管理"msgid "Inventory control and counts"msgstr "在庫管理と棚卸"+msgid "Inventory Count"+msgstr ""+msgid "Inventory History"msgstr "在庫履歴"@@ -6201,6 +6249,9 @@ msgstr "アイテムスコープ"msgid "Item Type"msgstr "アイテムタイプ"+msgid "Item Type (optional)"+msgstr ""+msgid "Item types"msgstr "アイテムタイプ"@@ -6456,6 +6507,9 @@ msgstr "ラインステータス"msgid "Linear Team"msgstr "Linear Team"+msgid "Lines"+msgstr ""+msgid "Lines need internal part numbers"msgstr "ラインには内部部品番号が必要です"@@ -7260,6 +7314,9 @@ msgstr "新しいIC取引"msgid "New Inspection Document"msgstr "新しい検査文書"+msgid "New Inventory Count"+msgstr ""+msgid "New Invoice"msgstr "新しい請求書"@@ -8564,6 +8621,9 @@ msgstr "郵便番号"msgid "Posted"msgstr "転記済み"+msgid "Posted At"+msgstr ""+msgid "Posted By"msgstr "投稿者"@@ -9188,6 +9248,9 @@ msgstr "再計算"msgid "Recalculate Unit Cost"msgstr "単位原価を再計算"+msgid "Recalculating…"+msgstr ""+msgid "Receipt"msgstr "領収書"@@ -10868,6 +10931,9 @@ msgstr "ストレージユニット"msgid "Storage Unit"msgstr "保管単位"+msgid "Storage Unit (optional)"+msgstr ""+msgid "storage units"msgstr "ストレージユニット"@@ -11145,6 +11211,9 @@ msgstr "システム"msgid "System configured"msgstr "システムが構成されました"+msgid "System Qty"+msgstr ""+msgid "Table"msgstr "テーブル"@@ -12413,6 +12482,9 @@ msgstr "未割り当て"msgid "Unballoon"msgstr "バルーンを削除"+msgid "Uncounted lines are left unchanged at post — they are not zeroed."+msgstr ""+msgid "Under Demand-Based Reorder, planning sums demand inside this rolling window when computing a replenishment quantity."msgstr "需要ベースの再注文の下では、計画は補充数量を計算する際にこのローリングウィンドウ内の需要を合計します。"@@ -12828,6 +12900,9 @@ msgstr "連絡先を表示"msgid "View Contained Issues"msgstr "含まれた問題を表示"+msgid "View Count"+msgstr ""+msgid "View Custom Fields"msgstr "カスタムフィールドを表示"@@ -12864,6 +12939,9 @@ msgstr "メモを表示"msgid "View missing values"msgstr "欠落値を表示"+msgid "View notes"+msgstr ""+msgid "View Open"msgstr "開く"diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.poindex 822012ec4e..71e614e2f7 100644--- a/packages/locale/locales/pl/erp.po+++ b/packages/locale/locales/pl/erp.po@@ -117,6 +117,12 @@ msgstr "{total} faz do uruchomienia Twojej firmy na Carbon. Każda kończy sięmsgid "{total} phases to go live"msgstr "{total} faz do uruchomienia"+msgid "{uncounted, plural, one {# uncounted line} other {# uncounted lines}}"+msgstr ""++msgid "{variances, plural, one {# line differs from the expected quantity} other {# lines differ from the expected quantity}}"+msgstr ""+msgid "/month/user"msgstr "/miesiąc/użytkownik"@@ -735,6 +741,9 @@ msgstr "Wszyscy Klienci"msgid "All Documents"msgstr "Wszystkie dokumenty"+msgid "All item types"+msgstr ""+msgid "All Items"msgstr "Wszystkie elementy"@@ -1595,6 +1604,9 @@ msgstr "Informacje podstawowe"msgid "Batch"msgstr "Partia"+msgid "Batch / Serial"+msgstr ""+msgid "Batch items require a sales order"msgstr "Artykuły partii wymagają zamówienia sprzedaży"@@ -1650,6 +1662,9 @@ msgstr "Adres rozliczeniowy"msgid "Bills of material"msgstr "Zestawienia materiałowe"+msgid "Blind Count"+msgstr ""+msgid "Block with an error"msgstr "Zablokuj z błędem"@@ -2304,6 +2319,9 @@ msgstr "Potwierdź {0}"msgid "Confirm and sign the scope"msgstr "Potwierdź i podpisz zakres"+msgid "Confirm Count"+msgstr ""+msgid "Confirm how your company runs and lock the scope."msgstr "Potwierdź, jak działa Twoja firma i zablokuj zakres."@@ -2313,6 +2331,9 @@ msgstr "Potwierdź zmianę ID"msgid "Confirm Import"msgstr "Potwierdź import"+msgid "Confirm Inventory Count"+msgstr ""+msgid "Confirm Mapping"msgstr "Potwierdź mapowanie"@@ -2325,6 +2346,9 @@ msgstr "Potwierdzone zapasy przychodzące — zamówienia zakupu i produkcji (smsgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."msgstr "Potwierdzone zapasy wychodzące — zamówienia sprzedaży i materiały pracy (słupki poniżej zera)."+msgid "Confirming locks the counted quantities. Review the warnings below, then post the count to apply the adjustments."+msgstr ""+msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."msgstr "Połącz Carbon ze swoimi narzędziami księgowości, zarządzania projektami, CAD i wieloma innymi."@@ -2672,6 +2696,12 @@ msgstr "Nie udało się załadować dokumentów"msgid "Count"msgstr "Liczba"+msgid "Count ID"+msgstr ""++msgid "Counted Qty"+msgstr ""+msgid "Counterparties"msgstr "Kontrahenci"@@ -2693,6 +2723,9 @@ msgstr "Utwórz {0}"msgid "Create {0} values"msgstr "Utwórz {0} wartości"+msgid "Create & Snapshot"+msgstr ""+msgid "Create a new kanban card for scan-based replenishment."msgstr "Utwórz nową kartę kanban do uzupełniania opartego na skanowaniu."@@ -3389,6 +3422,9 @@ msgstr "Usuń Kontakt"msgid "Delete Contractor"msgstr "Usuń Wykonawcę"+msgid "Delete Count"+msgstr ""+msgid "Delete Custom Field"msgstr "Usuń pole niestandardowe"@@ -4013,6 +4049,9 @@ msgstr "Edytuj Kontakt"msgid "Edit Contractor"msgstr "Edytuj Wykonawcę"+msgid "Edit Count"+msgstr ""+msgid "Edit Currency"msgstr "Edytuj walutę"@@ -4950,6 +4989,9 @@ msgstr "Nie udało się zaktualizować narzutów kategorii"msgid "Failed to update configuration parameter"msgstr "Nie udało się zaktualizować parametru konfiguracji"+msgid "Failed to update count"+msgstr ""+msgid "Failed to update item cost"msgstr "Nie udało się zaktualizować kosztu pozycji"@@ -5541,6 +5583,9 @@ msgstr "Pomoc"msgid "Hide"msgstr "Ukryj"+msgid "Hide system quantities until the review step"+msgstr ""+msgid "Hide, pin and reorder columns"msgstr "Ukryj, przypnij i zmień kolejność kolumn"@@ -6009,6 +6054,9 @@ msgstr "Kontrola zapasów"msgid "Inventory control and counts"msgstr "Kontrola zapasów i inwentaryzacja"+msgid "Inventory Count"+msgstr ""+msgid "Inventory History"msgstr "Historia Inwentarza"@@ -6201,6 +6249,9 @@ msgstr "Zakres Pozycji"msgid "Item Type"msgstr "Typ przedmiotu"+msgid "Item Type (optional)"+msgstr ""+msgid "Item types"msgstr "Typy przedmiotów"@@ -6456,6 +6507,9 @@ msgstr "Status linii"msgid "Linear Team"msgstr "Zespół Linear"+msgid "Lines"+msgstr ""+msgid "Lines need internal part numbers"msgstr "Linie wymagają wewnętrznych numerów części"@@ -7260,6 +7314,9 @@ msgstr "Nowa Transakcja IC"msgid "New Inspection Document"msgstr "Nowy dokument inspekcji"+msgid "New Inventory Count"+msgstr ""+msgid "New Invoice"msgstr "Nowa Faktura"@@ -8564,6 +8621,9 @@ msgstr "Kod pocztowy"msgid "Posted"msgstr "Opublikowano"+msgid "Posted At"+msgstr ""+msgid "Posted By"msgstr "Opublikowano przez"@@ -9188,6 +9248,9 @@ msgstr "Przelicz ponownie"msgid "Recalculate Unit Cost"msgstr "Przelicz koszt jednostkowy"+msgid "Recalculating…"+msgstr ""+msgid "Receipt"msgstr "Paragon"@@ -10868,6 +10931,9 @@ msgstr "jednostka magazynowania"msgid "Storage Unit"msgstr "Jednostka magazynowa"+msgid "Storage Unit (optional)"+msgstr ""+msgid "storage units"msgstr "jednostki magazynowania"@@ -11145,6 +11211,9 @@ msgstr "System"msgid "System configured"msgstr "System skonfigurowany"+msgid "System Qty"+msgstr ""+msgid "Table"msgstr "Tabela"@@ -12413,6 +12482,9 @@ msgstr "Nieprzydzielone"msgid "Unballoon"msgstr "Usuń balon"+msgid "Uncounted lines are left unchanged at post — they are not zeroed."+msgstr ""+msgid "Under Demand-Based Reorder, planning sums demand inside this rolling window when computing a replenishment quantity."msgstr "W Systemie Reorderów Opartych na Popycie planowanie sumuje popyt w tym oknie przesuwnym podczas obliczania ilości uzupełnienia."@@ -12828,6 +12900,9 @@ msgstr "Wyświetl Kontakt"msgid "View Contained Issues"msgstr "Wyświetl zawarte problemy"+msgid "View Count"+msgstr ""+msgid "View Custom Fields"msgstr "Wyświetl pola niestandardowe"@@ -12864,6 +12939,9 @@ msgstr "Wyświetl Notatkę"msgid "View missing values"msgstr "Wyświetl brakujące wartości"+msgid "View notes"+msgstr ""+msgid "View Open"msgstr "Wyświetl Otwarte"diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.poindex d4578fbbdc..644ca99cde 100644--- a/packages/locale/locales/pt/erp.po+++ b/packages/locale/locales/pt/erp.po@@ -117,6 +117,12 @@ msgstr "{total} fases para colocar sua empresa ao vivo no Carbon. Cada uma termimsgid "{total} phases to go live"msgstr "{total} fases para entrar em produção"+msgid "{uncounted, plural, one {# uncounted line} other {# uncounted lines}}"+msgstr ""++msgid "{variances, plural, one {# line differs from the expected quantity} other {# lines differ from the expected quantity}}"+msgstr ""+msgid "/month/user"msgstr "/mês/utilizador"@@ -735,6 +741,9 @@ msgstr "Todos os Clientes"msgid "All Documents"msgstr "Todos os Documentos"+msgid "All item types"+msgstr ""+msgid "All Items"msgstr "Todos os Itens"@@ -1595,6 +1604,9 @@ msgstr "Informações Básicas"msgid "Batch"msgstr "Lote"+msgid "Batch / Serial"+msgstr ""+msgid "Batch items require a sales order"msgstr "Itens em lote requerem uma ordem de venda"@@ -1650,6 +1662,9 @@ msgstr "Endereço de Cobrança"msgid "Bills of material"msgstr "Listas de materiais"+msgid "Blind Count"+msgstr ""+msgid "Block with an error"msgstr "Bloquear com um erro"@@ -2304,6 +2319,9 @@ msgstr "Confirmar {0}"msgid "Confirm and sign the scope"msgstr "Confirmar e assinar o escopo"+msgid "Confirm Count"+msgstr ""+msgid "Confirm how your company runs and lock the scope."msgstr "Confirme como sua empresa funciona e bloqueie o escopo."@@ -2313,6 +2331,9 @@ msgstr "Confirmar Alteração de ID"msgid "Confirm Import"msgstr "Confirmar Importação"+msgid "Confirm Inventory Count"+msgstr ""+msgid "Confirm Mapping"msgstr "Confirmar Mapeamento"@@ -2325,6 +2346,9 @@ msgstr "Estoque de entrada confirmado — pedidos de compra e produção (barrasmsgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."msgstr "Estoque de saída confirmado — pedidos de vendas e materiais de trabalho (barras abaixo de zero)."+msgid "Confirming locks the counted quantities. Review the warnings below, then post the count to apply the adjustments."+msgstr ""+msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."msgstr "Conecte o Carbon às suas ferramentas de contabilidade, gerenciamento de projetos, CAD e muito mais."@@ -2672,6 +2696,12 @@ msgstr "Não foi possível carregar documentos"msgid "Count"msgstr "Contagem"+msgid "Count ID"+msgstr ""++msgid "Counted Qty"+msgstr ""+msgid "Counterparties"msgstr "Contrapartes"@@ -2693,6 +2723,9 @@ msgstr "Criar {0}"msgid "Create {0} values"msgstr "Criar {0} valores"+msgid "Create & Snapshot"+msgstr ""+msgid "Create a new kanban card for scan-based replenishment."msgstr "Crie um novo cartão kanban para reabastecimento baseado em varredura."@@ -3389,6 +3422,9 @@ msgstr "Eliminar Contacto"msgid "Delete Contractor"msgstr "Eliminar Contratista"+msgid "Delete Count"+msgstr ""+msgid "Delete Custom Field"msgstr "Eliminar Campo Personalizado"@@ -4013,6 +4049,9 @@ msgstr "Editar Contacto"msgid "Edit Contractor"msgstr "Editar Contratante"+msgid "Edit Count"+msgstr ""+msgid "Edit Currency"msgstr "Editar Moeda"@@ -4950,6 +4989,9 @@ msgstr "Falha ao atualizar marcações de categoria"msgid "Failed to update configuration parameter"msgstr "Falha ao atualizar parâmetro de configuração"+msgid "Failed to update count"+msgstr ""+msgid "Failed to update item cost"msgstr "Falha ao atualizar custo do item"@@ -5541,6 +5583,9 @@ msgstr "Ajuda"msgid "Hide"msgstr "Ocultar"+msgid "Hide system quantities until the review step"+msgstr ""+msgid "Hide, pin and reorder columns"msgstr "Ocultar, fixar e reordenar colunas"@@ -6009,6 +6054,9 @@ msgstr "Controle de Inventário"msgid "Inventory control and counts"msgstr "Controle de inventário e contagens"+msgid "Inventory Count"+msgstr ""+msgid "Inventory History"msgstr "Histórico de Inventário"@@ -6201,6 +6249,9 @@ msgstr "Escopo do Item"msgid "Item Type"msgstr "Tipo de Item"+msgid "Item Type (optional)"+msgstr ""+msgid "Item types"msgstr "Tipos de item"@@ -6456,6 +6507,9 @@ msgstr "Status da Linha"msgid "Linear Team"msgstr "Equipe Linear"+msgid "Lines"+msgstr ""+msgid "Lines need internal part numbers"msgstr "As linhas precisam de números de peça internos"@@ -7260,6 +7314,9 @@ msgstr "Nova Transação IC"msgid "New Inspection Document"msgstr "Novo Documento de Inspeção"+msgid "New Inventory Count"+msgstr ""+msgid "New Invoice"msgstr "Nova Fatura"@@ -8564,6 +8621,9 @@ msgstr "Código Postal"msgid "Posted"msgstr "Lançado"+msgid "Posted At"+msgstr ""+msgid "Posted By"msgstr "Postado Por"@@ -9188,6 +9248,9 @@ msgstr "Recalcular"msgid "Recalculate Unit Cost"msgstr "Recalcular Custo Unitário"+msgid "Recalculating…"+msgstr ""+msgid "Receipt"msgstr "Recebimento"@@ -10868,6 +10931,9 @@ msgstr "unidade de armazenamento"msgid "Storage Unit"msgstr "Unidade de Armazenamento"+msgid "Storage Unit (optional)"+msgstr ""+msgid "storage units"msgstr "unidades de armazenamento"@@ -11145,6 +11211,9 @@ msgstr "Sistema"msgid "System configured"msgstr "Sistema configurado"+msgid "System Qty"+msgstr ""+msgid "Table"msgstr "Tabela"@@ -12413,6 +12482,9 @@ msgstr "Não atribuído"msgid "Unballoon"msgstr "Remover balão"+msgid "Uncounted lines are left unchanged at post — they are not zeroed."+msgstr ""+msgid "Under Demand-Based Reorder, planning sums demand inside this rolling window when computing a replenishment quantity."msgstr "Sob Reorder Baseado em Demanda, o planejamento soma a demanda dentro desta janela móvel ao calcular uma quantidade de reabastecimento."@@ -12828,6 +12900,9 @@ msgstr "Ver Contacto"msgid "View Contained Issues"msgstr "Ver Problemas Contidos"+msgid "View Count"+msgstr ""+msgid "View Custom Fields"msgstr "Ver Campos Personalizados"@@ -12864,6 +12939,9 @@ msgstr "Ver Memorando"msgid "View missing values"msgstr "Ver valores ausentes"+msgid "View notes"+msgstr ""+msgid "View Open"msgstr "Ver Abertos"diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.poindex 7922b46cb0..58fa76c513 100644--- a/packages/locale/locales/ru/erp.po+++ b/packages/locale/locales/ru/erp.po@@ -117,6 +117,12 @@ msgstr "{total} этапов, чтобы ваша компания началаmsgid "{total} phases to go live"msgstr "{total} этапов до запуска"+msgid "{uncounted, plural, one {# uncounted line} other {# uncounted lines}}"+msgstr ""++msgid "{variances, plural, one {# line differs from the expected quantity} other {# lines differ from the expected quantity}}"+msgstr ""+msgid "/month/user"msgstr "/месяц/пользователь"@@ -735,6 +741,9 @@ msgstr "Все клиенты"msgid "All Documents"msgstr "Все документы"+msgid "All item types"+msgstr ""+msgid "All Items"msgstr "Все элементы"@@ -1595,6 +1604,9 @@ msgstr "Основная информация"msgid "Batch"msgstr "Партия"+msgid "Batch / Serial"+msgstr ""+msgid "Batch items require a sales order"msgstr "Товары партии требуют заказ на продажу"@@ -1650,6 +1662,9 @@ msgstr "Адрес выставления счета"msgid "Bills of material"msgstr "Спецификации материалов"+msgid "Blind Count"+msgstr ""+msgid "Block with an error"msgstr "Заблокировать с ошибкой"@@ -2304,6 +2319,9 @@ msgstr "Подтвердить {0}"msgid "Confirm and sign the scope"msgstr "Подтвердите и подпишите объем работ"+msgid "Confirm Count"+msgstr ""+msgid "Confirm how your company runs and lock the scope."msgstr "Подтвердите, как работает ваша компания, и зафиксируйте область охвата."@@ -2313,6 +2331,9 @@ msgstr "Подтвердить изменение ID"msgid "Confirm Import"msgstr "Подтвердить импорт"+msgid "Confirm Inventory Count"+msgstr ""+msgid "Confirm Mapping"msgstr "Подтвердить сопоставление"@@ -2325,6 +2346,9 @@ msgstr "Подтвержденный входящий запас — заказmsgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."msgstr "Подтвержденный исходящий запас — заказы на продажу и материалы работ (столбцы ниже нуля)."+msgid "Confirming locks the counted quantities. Review the warnings below, then post the count to apply the adjustments."+msgstr ""+msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."msgstr "Подключите Carbon к своим инструментам бухгалтерского учета, управления проектами, CAD и многому другому."@@ -2672,6 +2696,12 @@ msgstr "Не удалось загрузить документы"msgid "Count"msgstr "Количество"+msgid "Count ID"+msgstr ""++msgid "Counted Qty"+msgstr ""+msgid "Counterparties"msgstr "Контрагенты"@@ -2693,6 +2723,9 @@ msgstr "Создать {0}"msgid "Create {0} values"msgstr "Создать {0} значений"+msgid "Create & Snapshot"+msgstr ""+msgid "Create a new kanban card for scan-based replenishment."msgstr "Создайте новую карточку канбана для пополнения на основе сканирования."@@ -3389,6 +3422,9 @@ msgstr "Удалить контакт"msgid "Delete Contractor"msgstr "Удалить подрядчика"+msgid "Delete Count"+msgstr ""+msgid "Delete Custom Field"msgstr "Удалить пользовательское поле"@@ -4013,6 +4049,9 @@ msgstr "Редактировать контакт"msgid "Edit Contractor"msgstr "Редактировать подрядчика"+msgid "Edit Count"+msgstr ""+msgid "Edit Currency"msgstr "Редактировать валюту"@@ -4950,6 +4989,9 @@ msgstr "Не удалось обновить наценки по категорmsgid "Failed to update configuration parameter"msgstr "Ошибка при обновлении параметра конфигурации"+msgid "Failed to update count"+msgstr ""+msgid "Failed to update item cost"msgstr "Не удалось обновить стоимость товара"@@ -5541,6 +5583,9 @@ msgstr "Справка"msgid "Hide"msgstr "Скрыть"+msgid "Hide system quantities until the review step"+msgstr ""+msgid "Hide, pin and reorder columns"msgstr "Скрывать, закреплять и переупорядочивать столбцы"@@ -6009,6 +6054,9 @@ msgstr "Контроль запасов"msgid "Inventory control and counts"msgstr "Контроль и учет запасов"+msgid "Inventory Count"+msgstr ""+msgid "Inventory History"msgstr "История инвентаря"@@ -6201,6 +6249,9 @@ msgstr "Область применения товара"msgid "Item Type"msgstr "Тип товара"+msgid "Item Type (optional)"+msgstr ""+msgid "Item types"msgstr "Типы товаров"@@ -6456,6 +6507,9 @@ msgstr "Статус строки"msgid "Linear Team"msgstr "Команда Linear"+msgid "Lines"+msgstr ""+msgid "Lines need internal part numbers"msgstr "Строки требуют внутренние номера деталей"@@ -7260,6 +7314,9 @@ msgstr "Новая транзакция IC"msgid "New Inspection Document"msgstr "Новый документ проверки"+msgid "New Inventory Count"+msgstr ""+msgid "New Invoice"msgstr "Новый счет"@@ -8564,6 +8621,9 @@ msgstr "Почтовый индекс"msgid "Posted"msgstr "Опубликовано"+msgid "Posted At"+msgstr ""+msgid "Posted By"msgstr "Опубликовано"@@ -9188,6 +9248,9 @@ msgstr "Пересчитать"msgid "Recalculate Unit Cost"msgstr "Пересчитать себестоимость единицы"+msgid "Recalculating…"+msgstr ""+msgid "Receipt"msgstr "Квитанция"@@ -10868,6 +10931,9 @@ msgstr "единица хранения"msgid "Storage Unit"msgstr "Единица хранения"+msgid "Storage Unit (optional)"+msgstr ""+msgid "storage units"msgstr "единицы хранения"@@ -11145,6 +11211,9 @@ msgstr "Система"msgid "System configured"msgstr "Система настроена"+msgid "System Qty"+msgstr ""+msgid "Table"msgstr "Таблица"@@ -12413,6 +12482,9 @@ msgstr "Не назначено"msgid "Unballoon"msgstr "Удалить выноску"+msgid "Uncounted lines are left unchanged at post — they are not zeroed."+msgstr ""+msgid "Under Demand-Based Reorder, planning sums demand inside this rolling window when computing a replenishment quantity."msgstr "При переупорядочении на основе спроса планирование суммирует спрос в пределах этого скользящего окна при расчете количества пополнения."@@ -12828,6 +12900,9 @@ msgstr "Просмотр контакта"msgid "View Contained Issues"msgstr "Просмотреть содержащиеся проблемы"+msgid "View Count"+msgstr ""+msgid "View Custom Fields"msgstr "Просмотр пользовательских полей"@@ -12864,6 +12939,9 @@ msgstr "Просмотр Memo"msgid "View missing values"msgstr "Просмотреть отсутствующие значения"+msgid "View notes"+msgstr ""+msgid "View Open"msgstr "Просмотреть открытые"diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.poindex afda56cf2b..19a6428019 100644--- a/packages/locale/locales/tr/erp.po+++ b/packages/locale/locales/tr/erp.po@@ -117,6 +117,12 @@ msgstr "{total} aşama şirketinizi Carbon'da canlı hale getirmek için. Her bimsgid "{total} phases to go live"msgstr "{total} aşama canlı yayına alınacak"+msgid "{uncounted, plural, one {# uncounted line} other {# uncounted lines}}"+msgstr ""++msgid "{variances, plural, one {# line differs from the expected quantity} other {# lines differ from the expected quantity}}"+msgstr ""+msgid "/month/user"msgstr "/ay/kullanıcı"@@ -735,6 +741,9 @@ msgstr "Tüm Müşteriler"msgid "All Documents"msgstr "Tüm Belgeler"+msgid "All item types"+msgstr ""+msgid "All Items"msgstr "Tüm Öğeler"@@ -1595,6 +1604,9 @@ msgstr "Temel Bilgiler"msgid "Batch"msgstr "Parti"+msgid "Batch / Serial"+msgstr ""+msgid "Batch items require a sales order"msgstr "Parti toplu ürünler için satış siparişi gereklidir"@@ -1650,6 +1662,9 @@ msgstr "Faturalama Adresi"msgid "Bills of material"msgstr "Malzeme Faturaları"+msgid "Blind Count"+msgstr ""+msgid "Block with an error"msgstr "Hata ile engelle"@@ -2304,6 +2319,9 @@ msgstr "Onayla {0}"msgid "Confirm and sign the scope"msgstr "Kapsamı onaylayın ve imzalayın"+msgid "Confirm Count"+msgstr ""+msgid "Confirm how your company runs and lock the scope."msgstr "Şirketinizin nasıl çalıştığını doğrulayın ve kapsamı kilitleyin."@@ -2313,6 +2331,9 @@ msgstr "Kimlik Değişikliğini Onayla"msgid "Confirm Import"msgstr "İçe Aktarmayı Onayla"+msgid "Confirm Inventory Count"+msgstr ""+msgid "Confirm Mapping"msgstr "Eşleştirmeyi Onayla"@@ -2325,6 +2346,9 @@ msgstr "Onaylanan gelen stok — satın alma ve üretim siparişleri (sıfırınmsgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."msgstr "Onaylanan giden stok — satış siparişleri ve iş malzemeleri (sıfırın altındaki çubuklar)."+msgid "Confirming locks the counted quantities. Review the warnings below, then post the count to apply the adjustments."+msgstr ""+msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."msgstr "Carbon'ı muhasebe, proje yönetimi ve CAD araçlarınızla ve çok daha fazlasıyla bağlayın."@@ -2672,6 +2696,12 @@ msgstr "Belgeler yüklenemedi"msgid "Count"msgstr "Adet"+msgid "Count ID"+msgstr ""++msgid "Counted Qty"+msgstr ""+msgid "Counterparties"msgstr "Muhasebeleştirilecek Taraflar"@@ -2693,6 +2723,9 @@ msgstr "{0} Oluştur"msgid "Create {0} values"msgstr "{0} değerleri oluştur"+msgid "Create & Snapshot"+msgstr ""+msgid "Create a new kanban card for scan-based replenishment."msgstr "Tarama tabanlı ikmal için yeni bir kanban kartı oluştur."@@ -3389,6 +3422,9 @@ msgstr "İletişim Bilgisini Sil"msgid "Delete Contractor"msgstr "Yükleniciyi Sil"+msgid "Delete Count"+msgstr ""+msgid "Delete Custom Field"msgstr "Özel Alan Sil"@@ -4013,6 +4049,9 @@ msgstr "İletişim Bilgisini Düzenle"msgid "Edit Contractor"msgstr "Yüklenici Düzenle"+msgid "Edit Count"+msgstr ""+msgid "Edit Currency"msgstr "Para Birimi Düzenle"@@ -4950,6 +4989,9 @@ msgstr "Kategori eklemeleri güncellenemedi"msgid "Failed to update configuration parameter"msgstr "Yapılandırma parametresi güncellenemedi"+msgid "Failed to update count"+msgstr ""+msgid "Failed to update item cost"msgstr "Ürün maliyeti güncellenemedi"@@ -5541,6 +5583,9 @@ msgstr "Yardım"msgid "Hide"msgstr "Gizle"+msgid "Hide system quantities until the review step"+msgstr ""+msgid "Hide, pin and reorder columns"msgstr "Sütunları gizle, sabitle ve yeniden sırala"@@ -6009,6 +6054,9 @@ msgstr "Envanter Kontrolü"msgid "Inventory control and counts"msgstr "Envanter kontrolü ve sayımları"+msgid "Inventory Count"+msgstr ""+msgid "Inventory History"msgstr "Envanter Geçmişi"@@ -6201,6 +6249,9 @@ msgstr "Ürün Kapsamı"msgid "Item Type"msgstr "Ürün Tipi"+msgid "Item Type (optional)"+msgstr ""+msgid "Item types"msgstr "Ürün tipleri"@@ -6456,6 +6507,9 @@ msgstr "Satır Durumu"msgid "Linear Team"msgstr "Lineer Takım"+msgid "Lines"+msgstr ""+msgid "Lines need internal part numbers"msgstr "Satırlar dahili parça numaralarına ihtiyaç duyuyor"@@ -7260,6 +7314,9 @@ msgstr "Yeni IC İşlemi"msgid "New Inspection Document"msgstr "Yeni Muayene Belgesi"+msgid "New Inventory Count"+msgstr ""+msgid "New Invoice"msgstr "Yeni Fatura"@@ -8564,6 +8621,9 @@ msgstr "Posta Kodu"msgid "Posted"msgstr "Yayınlandı"+msgid "Posted At"+msgstr ""+msgid "Posted By"msgstr "Gönderen"@@ -9188,6 +9248,9 @@ msgstr "Yeniden Hesapla"msgid "Recalculate Unit Cost"msgstr "Birim Maliyetini Yeniden Hesapla"+msgid "Recalculating…"+msgstr ""+msgid "Receipt"msgstr "Makbuz"@@ -10868,6 +10931,9 @@ msgstr "depolama birimi"msgid "Storage Unit"msgstr "Depolama Birimi"+msgid "Storage Unit (optional)"+msgstr ""+msgid "storage units"msgstr "depolama birimleri"@@ -11145,6 +11211,9 @@ msgstr "Sistem"msgid "System configured"msgstr "Sistem yapılandırıldı"+msgid "System Qty"+msgstr ""+msgid "Table"msgstr "Tablo"@@ -12413,6 +12482,9 @@ msgstr "Atanmamış"msgid "Unballoon"msgstr "Balonu Kaldır"+msgid "Uncounted lines are left unchanged at post — they are not zeroed."+msgstr ""+msgid "Under Demand-Based Reorder, planning sums demand inside this rolling window when computing a replenishment quantity."msgstr "Talep Tabanlı Yeniden Sipariş Altında, planlama bir yenileme miktarı hesaplanırken bu kayan pencere içinde talebi toplar."@@ -12828,6 +12900,9 @@ msgstr "İletişim Bilgilerini Görüntüle"msgid "View Contained Issues"msgstr "Kontrol Altına Alınan Sorunları Görüntüle"+msgid "View Count"+msgstr ""+msgid "View Custom Fields"msgstr "Özel Alanları Görüntüle"@@ -12864,6 +12939,9 @@ msgstr "Memo Görüntüle"msgid "View missing values"msgstr "Eksik değerleri görüntüle"+msgid "View notes"+msgstr ""+msgid "View Open"msgstr "Açık Gör"diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.poindex ff9a58b64c..0f100714ce 100644--- a/packages/locale/locales/zh/erp.po+++ b/packages/locale/locales/zh/erp.po@@ -117,6 +117,12 @@ msgstr "{total}个阶段让您的公司在Carbon上线。每个阶段都以检msgid "{total} phases to go live"msgstr "{total} 个阶段即可上线"+msgid "{uncounted, plural, one {# uncounted line} other {# uncounted lines}}"+msgstr ""++msgid "{variances, plural, one {# line differs from the expected quantity} other {# lines differ from the expected quantity}}"+msgstr ""+msgid "/month/user"msgstr "/月/用户"@@ -735,6 +741,9 @@ msgstr "所有客户"msgid "All Documents"msgstr "所有文档"+msgid "All item types"+msgstr ""+msgid "All Items"msgstr "所有项目"@@ -1595,6 +1604,9 @@ msgstr "基本信息"msgid "Batch"msgstr "批次"+msgid "Batch / Serial"+msgstr ""+msgid "Batch items require a sales order"msgstr "批次项目需要销售订单"@@ -1650,6 +1662,9 @@ msgstr "账单地址"msgid "Bills of material"msgstr "物料清单"+msgid "Blind Count"+msgstr ""+msgid "Block with an error"msgstr "用错误阻止"@@ -2304,6 +2319,9 @@ msgstr "确认 {0}"msgid "Confirm and sign the scope"msgstr "确认并签署范围"+msgid "Confirm Count"+msgstr ""+msgid "Confirm how your company runs and lock the scope."msgstr "确认您的公司如何运营并锁定范围。"@@ -2313,6 +2331,9 @@ msgstr "确认ID更改"msgid "Confirm Import"msgstr "确认导入"+msgid "Confirm Inventory Count"+msgstr ""+msgid "Confirm Mapping"msgstr "确认映射"@@ -2325,6 +2346,9 @@ msgstr "确认的入库存货 — 采购和生产订单(零以上的条形图msgid "Confirmed outgoing stock — sales orders & job materials (bars below zero)."msgstr "确认的出库存货 — 销售订单和工作物料(零以下的条形图)。"+msgid "Confirming locks the counted quantities. Review the warnings below, then post the count to apply the adjustments."+msgstr ""+msgid "Connect Carbon to your accounting, project management, and CAD tools and much more."msgstr "将 Carbon 连接到您的会计、项目管理和 CAD 工具等更多应用。"@@ -2672,6 +2696,12 @@ msgstr "无法加载文档"msgid "Count"msgstr "数量"+msgid "Count ID"+msgstr ""++msgid "Counted Qty"+msgstr ""+msgid "Counterparties"msgstr "交易对手"@@ -2693,6 +2723,9 @@ msgstr "创建 {0}"msgid "Create {0} values"msgstr "创建 {0} 个值"+msgid "Create & Snapshot"+msgstr ""+msgid "Create a new kanban card for scan-based replenishment."msgstr "为扫描式补货创建新的看板卡。"@@ -3389,6 +3422,9 @@ msgstr "删除联系人"msgid "Delete Contractor"msgstr "删除承包商"+msgid "Delete Count"+msgstr ""+msgid "Delete Custom Field"msgstr "删除自定义字段"@@ -4013,6 +4049,9 @@ msgstr "编辑联系人"msgid "Edit Contractor"msgstr "编辑承包商"+msgid "Edit Count"+msgstr ""+msgid "Edit Currency"msgstr "编辑货币"@@ -4950,6 +4989,9 @@ msgstr "未能更新分类加价"msgid "Failed to update configuration parameter"msgstr "更新配置参数失败"+msgid "Failed to update count"+msgstr ""+msgid "Failed to update item cost"msgstr "更新项目成本失败"@@ -5541,6 +5583,9 @@ msgstr "帮助"msgid "Hide"msgstr "隐藏"+msgid "Hide system quantities until the review step"+msgstr ""+msgid "Hide, pin and reorder columns"msgstr "隐藏、固定和重新排序列"@@ -6009,6 +6054,9 @@ msgstr "库存控制"msgid "Inventory control and counts"msgstr "库存控制和盘点"+msgid "Inventory Count"+msgstr ""+msgid "Inventory History"msgstr "库存历史"@@ -6201,6 +6249,9 @@ msgstr "物品范围"msgid "Item Type"msgstr "物品类型"+msgid "Item Type (optional)"+msgstr ""+msgid "Item types"msgstr "物品类型"@@ -6456,6 +6507,9 @@ msgstr "行状态"msgid "Linear Team"msgstr "Linear 团队"+msgid "Lines"+msgstr ""+msgid "Lines need internal part numbers"msgstr "行需要内部零件号"@@ -7260,6 +7314,9 @@ msgstr "新IC事务"msgid "New Inspection Document"msgstr "新检验文件"+msgid "New Inventory Count"+msgstr ""+msgid "New Invoice"msgstr "新发票"@@ -8564,6 +8621,9 @@ msgstr "邮政编码"msgid "Posted"msgstr "已发布"+msgid "Posted At"+msgstr ""+msgid "Posted By"msgstr "发布者"@@ -9188,6 +9248,9 @@ msgstr "重新计算"msgid "Recalculate Unit Cost"msgstr "重新计算单位成本"+msgid "Recalculating…"+msgstr ""+msgid "Receipt"msgstr "收据"@@ -10868,6 +10931,9 @@ msgstr "存储单位"msgid "Storage Unit"msgstr "存储单位"+msgid "Storage Unit (optional)"+msgstr ""+msgid "storage units"msgstr "存储单位"@@ -11145,6 +11211,9 @@ msgstr "系统"msgid "System configured"msgstr "系统已配置"+msgid "System Qty"+msgstr ""+msgid "Table"msgstr "表"@@ -12413,6 +12482,9 @@ msgstr "未分配"msgid "Unballoon"msgstr "取消气球标注"+msgid "Uncounted lines are left unchanged at post — they are not zeroed."+msgstr ""+msgid "Under Demand-Based Reorder, planning sums demand inside this rolling window when computing a replenishment quantity."msgstr "在基于需求的重新订购下,规划在计算补充数量时对此滚动窗口内的需求求和。"@@ -12828,6 +12900,9 @@ msgstr "查看联系人"msgid "View Contained Issues"msgstr "查看已遏制的问题"+msgid "View Count"+msgstr ""+msgid "View Custom Fields"msgstr "查看自定义字段"@@ -12864,6 +12939,9 @@ msgstr "查看备忘录"msgid "View missing values"msgstr "查看缺失值"+msgid "View notes"+msgstr ""+msgid "View Open"msgstr "查看开放"diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 2e29c33e43..219800f830 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -132,6 +132,12 @@ catalogs:'@tiptap/starter-kit':specifier: 2.27.2version: 2.27.2+ '@types/node':+ specifier: '24'+ version: 24.12.2+ '@typescript/native-preview':+ specifier: 7.0.0-dev.20260703.1+ version: 7.0.0-dev.20260703.1'@vercel/analytics':specifier: 1.6.1version: 1.6.1@@ -327,9 +333,12 @@ importers:'@types/aws-lambda':specifier: 8.10.152version: 8.10.152+ '@types/node':+ specifier: 'catalog:'+ version: 24.12.2'@typescript/native-preview':- specifier: 7.0.0-dev.20260409.1- version: 7.0.0-dev.20260409.1+ specifier: 'catalog:'+ version: 7.0.0-dev.20260703.1cli-table3:specifier: ^0.6.5version: 0.6.5@@ -405,10 +414,10 @@ importers:'@react-router/dev':specifier: 'catalog:'- version: 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ version: 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])'@react-router/remix-routes-option-adapter':specifier: 'catalog:'- version: 7.15.1(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])+ version: 7.15.1(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])'@supabase/functions-js':specifier: 'catalog:'version: 2.1.5@@ -420,13 +429,13 @@ importers:version: 0.5.19([email protected])'@tailwindcss/vite':specifier: 'catalog:'- version: 4.3.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.3.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@vercel/analytics':specifier: 'catalog:'version: 1.6.1([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])'@vercel/react-router':specifier: 'catalog:'- version: 1.2.6(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])+ version: 1.2.6(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])cookie:specifier: 'catalog:'version: 1.1.1@@ -484,7 +493,7 @@ importers:version: link:../../packages/config'@lingui/vite-plugin':specifier: 'catalog:'- version: 5.9.4([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 5.9.4([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@types/react':specifier: 18.3.28version: 18.3.28@@ -514,10 +523,10 @@ importers:version: 5.8.3vite:specifier: 'catalog:'- version: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ version: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])vite-plugin-babel-macros:specifier: 'catalog:'- version: 1.0.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 1.0.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))wait-on:specifier: 'catalog:'version: 7.2.0@@ -658,7 +667,7 @@ importers:version: 3.4.5([email protected])([email protected])'@react-router/remix-routes-option-adapter':specifier: 'catalog:'- version: 7.15.1(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])+ version: 7.15.1(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])'@react-router/serve':specifier: 'catalog:'version: 7.15.1([email protected]([email protected]([email protected]))([email protected]))([email protected])@@ -703,7 +712,7 @@ importers:version: 1.6.1([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])'@vercel/react-router':specifier: 'catalog:'- version: 1.2.6(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])+ version: 1.2.6(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])'@visx/responsive':specifier: 2.17.0version: 2.17.0([email protected])@@ -935,16 +944,16 @@ importers:version: 5.9.4(@lingui/[email protected]([email protected])([email protected]))([email protected])([email protected])'@lingui/vite-plugin':specifier: 'catalog:'- version: 5.9.4([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 5.9.4([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@react-router/dev':specifier: 'catalog:'- version: 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ version: 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])'@tailwindcss/typography':specifier: 'catalog:'version: 0.5.19([email protected])'@tailwindcss/vite':specifier: 'catalog:'- version: 4.3.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.3.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@types/d3':specifier: 7.4.3version: 7.4.3@@ -1004,13 +1013,13 @@ importers:version: 5.8.3vite:specifier: 'catalog:'- version: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ version: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])vite-plugin-babel-macros:specifier: 'catalog:'- version: 1.0.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 1.0.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))vitest:specifier: 'catalog:'- version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))apps/mes:dependencies:@@ -1088,7 +1097,7 @@ importers:version: 5.9.4(@lingui/[email protected]([email protected])([email protected]))([email protected])([email protected])'@lingui/vite-plugin':specifier: 'catalog:'- version: 5.9.4([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 5.9.4([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@nanostores/react':specifier: 'catalog:'version: 0.7.3([email protected])([email protected])@@ -1100,10 +1109,10 @@ importers:version: 3.4.5([email protected])([email protected])'@react-router/dev':specifier: 'catalog:'- version: 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ version: 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])'@react-router/remix-routes-option-adapter':specifier: 'catalog:'- version: 7.15.1(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])+ version: 7.15.1(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])'@react-router/serve':specifier: 'catalog:'version: 7.15.1([email protected]([email protected]([email protected]))([email protected]))([email protected])@@ -1124,7 +1133,7 @@ importers:version: 0.5.19([email protected])'@tailwindcss/vite':specifier: 'catalog:'- version: 4.3.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.3.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@tiptap/core':specifier: 'catalog:'version: 2.27.2(@tiptap/[email protected])@@ -1166,7 +1175,7 @@ importers:version: 1.6.1([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])'@vercel/react-router':specifier: 'catalog:'- version: 1.2.6(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])+ version: 1.2.6(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])'@xyflow/react':specifier: 12.10.2version: 12.10.2(@types/[email protected])([email protected])([email protected]([email protected]))([email protected])@@ -1284,13 +1293,13 @@ importers:version: 5.8.3vite:specifier: 'catalog:'- version: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ version: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])vite-plugin-babel-macros:specifier: 'catalog:'- version: 1.0.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 1.0.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))vitest:specifier: 'catalog:'- version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))wait-on:specifier: 'catalog:'version: 7.2.0@@ -1326,10 +1335,10 @@ importers:'@react-router/dev':specifier: 'catalog:'- version: 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ version: 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])'@react-router/remix-routes-option-adapter':specifier: 'catalog:'- version: 7.15.1(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])+ version: 7.15.1(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])'@supabase/functions-js':specifier: 'catalog:'version: 2.1.5@@ -1341,13 +1350,13 @@ importers:version: 0.5.19([email protected])'@tailwindcss/vite':specifier: 'catalog:'- version: 4.3.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.3.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@vercel/analytics':specifier: 'catalog:'version: 1.6.1([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])'@vercel/react-router':specifier: 'catalog:'- version: 1.2.6(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])+ version: 1.2.6(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])cookie:specifier: 'catalog:'version: 1.1.1@@ -1405,7 +1414,7 @@ importers:version: link:../../packages/config'@lingui/vite-plugin':specifier: 'catalog:'- version: 5.9.4([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 5.9.4([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@types/react':specifier: 18.3.28version: 18.3.28@@ -1435,10 +1444,10 @@ importers:version: 5.8.3vite:specifier: 'catalog:'- version: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ version: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])vite-plugin-babel-macros:specifier: 'catalog:'- version: 1.0.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 1.0.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))wait-on:specifier: 'catalog:'version: 7.2.0@@ -1478,10 +1487,10 @@ importers:version: link:../../../../packages/utils'@react-router/dev':specifier: 'catalog:'- version: 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ version: 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])'@react-router/fs-routes':specifier: 7.14.0- version: 7.14.0(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])+ version: 7.14.0(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])'@supabase/functions-js':specifier: 'catalog:'version: 2.1.5@@ -1490,7 +1499,7 @@ importers:version: 2.80.0'@vercel/react-router':specifier: 'catalog:'- version: 1.2.6(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])+ version: 1.2.6(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])non.geist:specifier: 'catalog:'version: 1.0.4@@ -1521,7 +1530,7 @@ importers:devDependencies:'@tailwindcss/vite':specifier: 'catalog:'- version: 4.3.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.3.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@types/react':specifier: 18.3.28version: 18.3.28@@ -1542,7 +1551,7 @@ importers:version: 5.8.3vite:specifier: 'catalog:'- version: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ version: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])contrib/building/examples/upload-3d-model:dependencies:@@ -1557,10 +1566,10 @@ importers:version: link:../../../../packages/utils'@react-router/dev':specifier: 'catalog:'- version: 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ version: 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])'@react-router/fs-routes':specifier: 7.14.0- version: 7.14.0(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])+ version: 7.14.0(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])'@supabase/functions-js':specifier: 'catalog:'version: 2.1.5@@ -1569,7 +1578,7 @@ importers:version: 2.80.0'@vercel/react-router':specifier: 'catalog:'- version: 1.2.6(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])+ version: 1.2.6(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])nanoid:specifier: 'catalog:'version: 5.1.7@@ -1597,7 +1606,7 @@ importers:devDependencies:'@tailwindcss/vite':specifier: 'catalog:'- version: 4.3.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.3.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@types/react':specifier: 18.3.28version: 18.3.28@@ -1618,7 +1627,7 @@ importers:version: 5.8.3vite:specifier: 'catalog:'- version: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ version: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])docs:dependencies:@@ -1739,7 +1748,7 @@ importers:'@react-router/dev':specifier: 'catalog:'- version: 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ version: 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])'@simplewebauthn/server':specifier: ^13.1.0version: 13.3.0@@ -1754,7 +1763,7 @@ importers:version: 1.6.1([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])'@vercel/react-router':specifier: 'catalog:'- version: 1.2.6(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])+ version: 1.2.6(@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])cookie:specifier: 'catalog:'version: 1.1.1@@ -1806,7 +1815,7 @@ importers:version: 5.8.3vitest:specifier: 'catalog:'- version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))packages/checks:devDependencies:@@ -1866,7 +1875,7 @@ importers:version: 1.0.7([email protected])vitest:specifier: 'catalog:'- version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))devDependencies:tsup:specifier: 'catalog:'@@ -2098,7 +2107,7 @@ importers:version: 5.8.3vitest:specifier: 'catalog:'- version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))packages/ee:dependencies:@@ -2204,7 +2213,7 @@ importers:version: 5.8.3vitest:specifier: 'catalog:'- version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))packages/env:dependencies:@@ -2314,7 +2323,7 @@ importers:version: 5.8.3vitest:specifier: 'catalog:'- version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))packages/glossary:dependencies:@@ -2327,7 +2336,7 @@ importers:version: link:../config'@lingui/vite-plugin':specifier: 'catalog:'- version: 5.9.4([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 5.9.4([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))rimraf:specifier: 'catalog:'version: 5.0.10@@ -2339,10 +2348,10 @@ importers:version: 5.8.3vite-plugin-babel-macros:specifier: 'catalog:'- version: 1.0.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 1.0.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))vitest:specifier: 'catalog:'- version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))packages/harness:devDependencies:@@ -2484,7 +2493,7 @@ importers:version: 5.8.3vitest:specifier: 'catalog:'- version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))packages/kv:dependencies:@@ -2625,7 +2634,7 @@ importers:version: 5.8.3vitest:specifier: 'catalog:'- version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))packages/notifications:devDependencies:@@ -2701,7 +2710,7 @@ importers:version: 5.8.3vitest:specifier: 'catalog:'- version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))packages/printing:dependencies:@@ -3078,7 +3087,7 @@ importers:version: 5.8.3vitest:specifier: 'catalog:'- version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))packages/stripe:dependencies:@@ -3351,7 +3360,7 @@ importers:version: 5.8.3vitest:specifier: 'catalog:'- version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.1.6(@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))packages:@@ -9171,6 +9180,9 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-A1sre26ke7HDIuY/M23nd9gfB+nrmhtYyMINbjI1zHJxYteKR6qSMX56FsmjMcDb3SMcjJg5BiRRgOCC/yBD0g==}+ '@types/[email protected]':+ resolution: {integrity: sha512-O0A1G3xPGy4w7AgQdAQYUlQ+BKk2Oovw8eRpofyp5KdBZULnbe+WqaOVNrm705SHphCiG4XHsACrSmPu1f+Kgw==}+'@types/[email protected]':resolution: {integrity: sha512-Eix+sb/Nj28MNnWvO2X1OLrk5vuD4C9SMnb2Vf4itWnxphYeSceqkFX7IdmxTzn+dvmnNz7paMbg4Uc60wSfJg==}@@ -9279,43 +9291,51 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==}- '@typescript/[email protected]':- resolution: {integrity: sha512-GcRRnaoeZVrbC47woQ/2t3vPoQcTSjsWPEAQGtwNSdw7Z9TKxG4ES22ghJIQXd3ncTRCMJ+XELnnuqxVutkJ9w==}+ '@typescript/[email protected]':+ resolution: {integrity: sha512-EwJEd6hfaHrrbSLat6+xX8fZiAvG+/Ae1gqvJEayTNdDbkrZxmeLS23YdjUmDMIOKI2wa7zXQDid8WtrvDfMTQ==}+ engines: {node: '>=16.20.0'}cpu: [arm64]os: [darwin]- '@typescript/[email protected]':- resolution: {integrity: sha512-7s8DXAa0Xpu/8PEjYIc4I36Ju7eVpoz9k3E+3WQdOF8pIPWYohiOj+zi68m9XYQck+rnkjUFo26ThVKqVetoMA==}+ '@typescript/[email protected]':+ resolution: {integrity: sha512-tcS3gpivMq+BAiaupFqM5vuERykogJlfD4CjoxkSCksmmsKgWV96S2U/LjrKgll8R6/OEkg2VL2ycRG9+tIuHw==}+ engines: {node: '>=16.20.0'}cpu: [x64]os: [darwin]- '@typescript/[email protected]':- resolution: {integrity: sha512-cGTzTUqRGlIDwdtkDy6qTrvrqpe27W4CdgnFn0FpxpiWnaIi3wqjlzQ1grtqrqainw/yuPy5hn/I86sQgN6nvA==}+ '@typescript/[email protected]':+ resolution: {integrity: sha512-m8IJTOneLXRtq6prLz8uuhp463kEt+AHV5Ceqp7G0o3eAvbKP059OwzK6WXCS5J0B3ZxX+BwBf9wDXSNidWJCw==}+ engines: {node: '>=16.20.0'}cpu: [arm64]os: [linux]- '@typescript/[email protected]':- resolution: {integrity: sha512-fOa07JBUXQpEPq+024g346inYZ2xp63ELuoRq6J0jwDWQ/ftCCuvdQNMncwFhsm1qlMdKT3S68NrnSxX16hiaw==}+ '@typescript/[email protected]':+ resolution: {integrity: sha512-nluwnKcdGo6laWWYtWF3zFUDfi7nNrcD5S/T5382fVmtKmNqIdzFm9ANgSSGAavuzfdu9YJLaVWpx72Oe40AEQ==}+ engines: {node: '>=16.20.0'}cpu: [arm]os: [linux]- '@typescript/[email protected]':- resolution: {integrity: sha512-lQrbc/BJKBxQrR1ttBDU5sYY1Hb2moFQgHL20T6nbapNqGpK4pzy64p+NK39O93D4omiCSk04pkchBCVrMPSAg==}+ '@typescript/[email protected]':+ resolution: {integrity: sha512-5ga94rso68kaxJUzaufDVhka1zPaSbPgNXaemQO8faPW0crvRIkbv0g8bpG4pdWMV0tTylmluDles4ZcAzOprg==}+ engines: {node: '>=16.20.0'}cpu: [x64]os: [linux]- '@typescript/[email protected]':- resolution: {integrity: sha512-kmCafMo1xZlYx+9WnfpeZJ2tnB/CcJdR8QPX7j9vqcpe51D7b7Intmr921dD48KGpVh5YgjQ1MEFE5mjGqGMaA==}+ '@typescript/[email protected]':+ resolution: {integrity: sha512-YeRqOUuSyhbtryBSUE073OLpReIQXWJVyjP45gPLJ+0KAGvkd1VFz2FY1JEo++LyHoqXsGD2+qvdPpnTfSAIJg==}+ engines: {node: '>=16.20.0'}cpu: [arm64]os: [win32]- '@typescript/[email protected]':- resolution: {integrity: sha512-WRd+JpQipTsE15QgYr3w7J0f1NKvGcq2QEgmcq8hB0WZA1X2WhQopNu+MpPQ3tdDD42VjMhm8ZoB8HpuOoXK5w==}+ '@typescript/[email protected]':+ resolution: {integrity: sha512-WYNcbTaxCPgiDLrL2aPJ3BJA05nJU8DK0fUFGkGAER0oM+KcJcQUBeUkXg/7A4HBTNYcj7zIxqNgkJU1TRa/Kw==}+ engines: {node: '>=16.20.0'}cpu: [x64]os: [win32]- '@typescript/[email protected]':- resolution: {integrity: sha512-CV1HEMGo1xCySwUJbCQOF+mmrTue8KTJ1Od2kKWhcbOpu8fPBfaqIpbAM6tGLcNEykEjMMTYHc/VTLbMgxdScQ==}+ '@typescript/[email protected]':+ resolution: {integrity: sha512-qyEHkEeRWCSGLa6a8oArnMPdn3Vcl1AZj8YHLO7lK0VjEEF/YJfz1FvxmpEeuhy0ZDfvJ7GtgXbvbjcU3zpPjQ==}+ engines: {node: '>=16.20.0'}hasBin: true'@ungap/[email protected]':@@ -14487,6 +14507,9 @@ packages:resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}+ resolution: {integrity: sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==}+resolution: {integrity: sha512-CLjCCLQ6UuMxWnbIylkisbRj31qxHPAurvena/0iwSVbQ2G1VY5/HjV0IRabOEbDHlzZlRdCrD4NhB0JtU40Pg==}@@ -16558,21 +16581,21 @@ snapshots:transitivePeerDependencies:- typescript- '@lingui/[email protected]([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@lingui/[email protected]([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@lingui/cli': 5.9.4([email protected])([email protected])'@lingui/conf': 5.9.4([email protected])- vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- babel-plugin-macros- supports-color- typescript- '@lingui/[email protected]([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@lingui/[email protected]([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@lingui/cli': 5.9.4([email protected])([email protected])'@lingui/conf': 5.9.4([email protected])- vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- babel-plugin-macros- supports-color@@ -19847,7 +19870,7 @@ snapshots:'@react-pdf/primitives': 4.2.0'@react-pdf/stylesheet': 6.1.4- '@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])':+ '@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])':dependencies:'@babel/core': 7.29.0'@babel/generator': 7.29.1@@ -19877,7 +19900,7 @@ snapshots:semver: 7.7.4tinyglobby: 0.2.16valibot: 1.3.1([email protected])- vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])vite-node: 3.2.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])optionalDependencies:'@react-router/serve': 7.15.1([email protected]([email protected]([email protected]))([email protected]))([email protected])@@ -19897,7 +19920,7 @@ snapshots:- tsx- yaml- '@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])':+ '@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])':dependencies:'@babel/core': 7.29.0'@babel/generator': 7.29.1@@ -19927,8 +19950,58 @@ snapshots:semver: 7.7.4tinyglobby: 0.2.16valibot: 1.3.1([email protected])- vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])- vite-node: 3.2.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite-node: 3.2.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ optionalDependencies:+ '@react-router/serve': 7.15.1([email protected]([email protected]([email protected]))([email protected]))([email protected])+ typescript: 5.8.3+ transitivePeerDependencies:+ - '@types/node'+ - babel-plugin-macros+ - jiti+ - less+ - lightningcss+ - sass+ - sass-embedded+ - stylus+ - sugarss+ - supports-color+ - terser+ - tsx+ - yaml++ '@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])':+ dependencies:+ '@babel/core': 7.29.0+ '@babel/generator': 7.29.1+ '@babel/parser': 7.29.2+ '@babel/plugin-syntax-jsx': 7.28.6(@babel/[email protected])+ '@babel/preset-typescript': 7.28.5(@babel/[email protected])+ '@babel/traverse': 7.29.0+ '@babel/types': 7.29.0+ '@react-router/node': 7.15.1([email protected]([email protected]([email protected]))([email protected]))([email protected])+ '@remix-run/node-fetch-server': 0.13.1+ arg: 5.0.2+ babel-dead-code-elimination: 1.0.12+ chokidar: 4.0.3+ dedent: 1.7.2([email protected])+ es-module-lexer: 1.7.0+ exit-hook: 2.2.1+ isbot: 5.1.37+ jsesc: 3.0.2+ lodash: 4.17.21+ p-map: 7.0.4+ pathe: 1.1.2+ picocolors: 1.1.1+ pkg-types: 2.3.0+ prettier: 3.8.1+ react-refresh: 0.14.2+ semver: 7.7.4+ tinyglobby: 0.2.16+ valibot: 1.3.1([email protected])+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite-node: 3.2.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])optionalDependencies:'@react-router/serve': 7.15.1([email protected]([email protected]([email protected]))([email protected]))([email protected])typescript: 5.8.3@@ -19955,9 +20028,9 @@ snapshots:optionalDependencies:typescript: 5.8.3- '@react-router/[email protected](@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])':+ '@react-router/[email protected](@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])':dependencies:- '@react-router/dev': 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ '@react-router/dev': 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])minimatch: 9.0.9optionalDependencies:typescript: 5.8.3@@ -19969,15 +20042,21 @@ snapshots:optionalDependencies:typescript: 5.8.3- '@react-router/[email protected](@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])':+ '@react-router/[email protected](@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])':dependencies:- '@react-router/dev': 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ '@react-router/dev': 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])optionalDependencies:typescript: 5.8.3- '@react-router/[email protected](@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])':+ '@react-router/[email protected](@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])':dependencies:- '@react-router/dev': 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ '@react-router/dev': 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ optionalDependencies:+ typescript: 5.8.3++ '@react-router/[email protected](@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])':+ dependencies:+ '@react-router/dev': 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])optionalDependencies:typescript: 5.8.3@@ -21171,19 +21250,19 @@ snapshots:postcss-selector-parser: 6.0.10tailwindcss: 4.3.0- '@tailwindcss/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@tailwindcss/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@tailwindcss/node': 4.3.0'@tailwindcss/oxide': 4.3.0tailwindcss: 4.3.0- vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])- '@tailwindcss/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@tailwindcss/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@tailwindcss/node': 4.3.0'@tailwindcss/oxide': 4.3.0tailwindcss: 4.3.0- vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])'@tanstack/[email protected]': {}@@ -21817,6 +21896,11 @@ snapshots:dependencies:undici-types: 7.16.0+ '@types/[email protected]':+ dependencies:+ undici-types: 8.3.0+ optional: true+'@types/[email protected]':dependencies:'@aws-sdk/client-ses': 3.1045.0@@ -21928,36 +22012,36 @@ snapshots:dependencies:'@types/yargs-parser': 21.0.3- '@typescript/[email protected]':+ '@typescript/[email protected]':optional: true- '@typescript/[email protected]':+ '@typescript/[email protected]':optional: true- '@typescript/[email protected]':+ '@typescript/[email protected]':optional: true- '@typescript/[email protected]':+ '@typescript/[email protected]':optional: true- '@typescript/[email protected]':+ '@typescript/[email protected]':optional: true- '@typescript/[email protected]':+ '@typescript/[email protected]':optional: true- '@typescript/[email protected]':+ '@typescript/[email protected]':optional: true- '@typescript/[email protected]':+ '@typescript/[email protected]':optionalDependencies:- '@typescript/native-preview-darwin-arm64': 7.0.0-dev.20260409.1- '@typescript/native-preview-darwin-x64': 7.0.0-dev.20260409.1- '@typescript/native-preview-linux-arm': 7.0.0-dev.20260409.1- '@typescript/native-preview-linux-arm64': 7.0.0-dev.20260409.1- '@typescript/native-preview-linux-x64': 7.0.0-dev.20260409.1- '@typescript/native-preview-win32-arm64': 7.0.0-dev.20260409.1- '@typescript/native-preview-win32-x64': 7.0.0-dev.20260409.1+ '@typescript/native-preview-darwin-arm64': 7.0.0-dev.20260703.1+ '@typescript/native-preview-darwin-x64': 7.0.0-dev.20260703.1+ '@typescript/native-preview-linux-arm': 7.0.0-dev.20260703.1+ '@typescript/native-preview-linux-arm64': 7.0.0-dev.20260703.1+ '@typescript/native-preview-linux-x64': 7.0.0-dev.20260703.1+ '@typescript/native-preview-win32-arm64': 7.0.0-dev.20260703.1+ '@typescript/native-preview-win32-x64': 7.0.0-dev.20260703.1'@ungap/[email protected]': {}@@ -21981,9 +22065,9 @@ snapshots:'@vercel/[email protected]': {}- '@vercel/[email protected](@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])':+ '@vercel/[email protected](@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])':dependencies:- '@react-router/dev': 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ '@react-router/dev': 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])'@react-router/node': 7.15.1([email protected]([email protected]([email protected]))([email protected]))([email protected])'@vercel/static-config': 3.2.0isbot: 5.1.37@@ -21991,9 +22075,9 @@ snapshots:react-dom: 18.3.1([email protected])ts-morph: 12.0.0- '@vercel/[email protected](@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])':+ '@vercel/[email protected](@react-router/[email protected](patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])':dependencies:- '@react-router/dev': 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ '@react-router/dev': 7.15.1(patch_hash=77f56df34c4642159bb889b71903a3953827448e994174779d32db487727da95)(@react-router/[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]))(@types/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])'@react-router/node': 7.15.1([email protected]([email protected]([email protected]))([email protected]))([email protected])'@vercel/static-config': 3.2.0isbot: 5.1.37@@ -22121,29 +22205,29 @@ snapshots:optionalDependencies:vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])- '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@vitest/spy': 4.1.6estree-walker: 3.0.3magic-string: 0.30.21optionalDependencies:- vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])- '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@vitest/spy': 4.1.6estree-walker: 3.0.3magic-string: 0.30.21optionalDependencies:- vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])- '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@vitest/spy': 4.1.6estree-walker: 3.0.3magic-string: 0.30.21optionalDependencies:- vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])'@vitest/[email protected]':dependencies:@@ -28151,6 +28235,9 @@ snapshots:+ optional: true+dependencies:base64-js: 1.5.1@@ -28318,25 +28405,57 @@ snapshots:- tsx- yaml- [email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):+ dependencies:+ cac: 6.7.14+ debug: 4.4.3+ es-module-lexer: 1.7.0+ pathe: 2.0.3+ vite: 7.3.2(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ transitivePeerDependencies:+ - '@types/node'+ - jiti+ - less+ - lightningcss+ - sass+ - sass-embedded+ - stylus+ - sugarss+ - supports-color+ - terser+ - tsx+ - yaml++ [email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:'@babel/core': 7.29.0'@babel/plugin-syntax-jsx': 7.28.6(@babel/[email protected])'@babel/plugin-syntax-typescript': 7.28.6(@babel/[email protected])'@types/babel__core': 7.20.5babel-plugin-macros: 3.1.0- vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- supports-color- [email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):+ [email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:'@babel/core': 7.29.0'@babel/plugin-syntax-jsx': 7.28.6(@babel/[email protected])'@babel/plugin-syntax-typescript': 7.28.6(@babel/[email protected])'@types/babel__core': 7.20.5babel-plugin-macros: 3.1.0- vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ transitivePeerDependencies:+ - supports-color++ [email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):+ dependencies:+ '@babel/core': 7.29.0+ '@babel/plugin-syntax-jsx': 7.28.6(@babel/[email protected])+ '@babel/plugin-syntax-typescript': 7.28.6(@babel/[email protected])+ '@types/babel__core': 7.20.5+ babel-plugin-macros: 3.1.0+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- supports-color@@ -28372,6 +28491,22 @@ snapshots:tsx: 4.21.0yaml: 2.8.3+ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):+ dependencies:+ esbuild: 0.27.7+ fdir: 6.5.0([email protected])+ picomatch: 4.0.4+ postcss: 8.5.9+ rollup: 4.60.1+ tinyglobby: 0.2.16+ optionalDependencies:+ '@types/node': 26.1.0+ fsevents: 2.3.3+ jiti: 2.7.0+ lightningcss: 1.32.0+ tsx: 4.21.0+ yaml: 2.8.3+[email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:lightningcss: 1.32.0@@ -28402,7 +28537,7 @@ snapshots:tsx: 4.21.0yaml: 2.8.3- [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:lightningcss: 1.32.0picomatch: 4.0.4@@ -28411,13 +28546,28 @@ snapshots:tinyglobby: 0.2.17optionalDependencies:'@types/node': 24.12.2+ esbuild: 0.28.0+ fsevents: 2.3.3+ jiti: 2.7.0+ tsx: 4.21.0+ yaml: 2.8.3++ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):+ dependencies:+ lightningcss: 1.32.0+ picomatch: 4.0.4+ postcss: 8.5.15+ rolldown: 1.0.0-rc.17+ tinyglobby: 0.2.17+ optionalDependencies:+ '@types/node': 26.1.0esbuild: 0.27.7fsevents: 2.3.3jiti: 2.7.0tsx: 4.21.0yaml: 2.8.3- [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:lightningcss: 1.32.0picomatch: 4.0.4@@ -28425,14 +28575,14 @@ snapshots:rolldown: 1.0.0-rc.17tinyglobby: 0.2.17optionalDependencies:- '@types/node': 24.12.2+ '@types/node': 26.1.0esbuild: 0.28.0fsevents: 2.3.3jiti: 1.21.7tsx: 4.21.0yaml: 2.8.3- [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:lightningcss: 1.32.0picomatch: 4.0.4@@ -28440,7 +28590,7 @@ snapshots:rolldown: 1.0.0-rc.17tinyglobby: 0.2.17optionalDependencies:- '@types/node': 24.12.2+ '@types/node': 26.1.0esbuild: 0.28.0fsevents: 2.3.3jiti: 2.7.0@@ -28531,10 +28681,10 @@ snapshots:transitivePeerDependencies:- msw- [email protected](@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):+ [email protected](@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:'@vitest/expect': 4.1.6- '@vitest/mocker': 4.1.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ '@vitest/mocker': 4.1.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@vitest/pretty-format': 4.1.6'@vitest/runner': 4.1.6'@vitest/snapshot': 4.1.6@@ -28551,18 +28701,18 @@ snapshots:tinyexec: 1.2.4tinyglobby: 0.2.17tinyrainbow: 3.1.0- vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])why-is-node-running: 2.3.0optionalDependencies:'@opentelemetry/api': 1.9.0- '@types/node': 24.12.2+ '@types/node': 26.1.0transitivePeerDependencies:- msw- [email protected](@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):+ [email protected](@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:'@vitest/expect': 4.1.6- '@vitest/mocker': 4.1.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ '@vitest/mocker': 4.1.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@vitest/pretty-format': 4.1.6'@vitest/runner': 4.1.6'@vitest/snapshot': 4.1.6@@ -28579,18 +28729,18 @@ snapshots:tinyexec: 1.2.4tinyglobby: 0.2.17tinyrainbow: 3.1.0- vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])why-is-node-running: 2.3.0optionalDependencies:'@opentelemetry/api': 1.9.0- '@types/node': 24.12.2+ '@types/node': 26.1.0transitivePeerDependencies:- msw- [email protected](@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):+ [email protected](@opentelemetry/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:'@vitest/expect': 4.1.6- '@vitest/mocker': 4.1.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ '@vitest/mocker': 4.1.6([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@vitest/pretty-format': 4.1.6'@vitest/runner': 4.1.6'@vitest/snapshot': 4.1.6@@ -28607,11 +28757,11 @@ snapshots:tinyexec: 1.2.4tinyglobby: 0.2.17tinyrainbow: 3.1.0- vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 8.0.10(@types/[email protected])([email protected])([email protected])([email protected])([email protected])why-is-node-running: 2.3.0optionalDependencies:'@opentelemetry/api': 1.9.0- '@types/node': 24.12.2+ '@types/node': 26.1.0transitivePeerDependencies:- mswdiff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 63ec3d3108..1db367eb59 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -60,8 +60,10 @@ catalog:'@tiptap/pm': 2.27.2'@tiptap/react': 2.27.2'@tiptap/starter-kit': 2.27.2+ '@typescript/native-preview': '7.0.0-dev.20260703.1''@types/react': 18.3.28'@types/react-dom': 18.3.7+ '@types/node': '24''@vercel/analytics': 1.6.1'@vercel/react-router': 1.2.6axios: 1.15.0