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
feat: block a migration that would break existing backups, at commit time
aashu1ab7e110ac96
diff --git a/.husky/pre-commit b/.husky/pre-commitindex 11435bbd84..8e6d2b8ec1 100755--- a/.husky/pre-commit+++ b/.husky/pre-commit@@ -13,21 +13,27 @@ pnpm exec lint-staged# Compile lingui translations if any relevant files were modifiedif git diff --cached --name-only | grep -qE '\.(tsx?|jsx?)$|\.po$'; thenecho "Compiling translations..."- pnpm lingui:check-+ # Not a blocker — a catalog that won't compile is worth knowing about, but it+ # is not a reason to refuse the commit. Say so rather than failing silently.+ if ! pnpm lingui:check; then+ echo "⚠ Translations did not compile. The catalogs staged below may be incomplete."+ fi+# Strip `#:` origin refs before committing — they shift on any upstream# code edit and are the biggest PR-conflict source. They're kept in the# working dir during the translate flow (linguito needs them for LLM# context) and only stripped right before commit.pnpm lingui:clean-+# Add compiled locale files to the commitgit add packages/locale/locales/**/*.pofi# Regenerate MCP tools if any .service.ts file was modifiedif git diff --cached --name-only | grep -q '\.service\.ts$'; then- npx tsx scripts/generate-mcp.ts+ if ! npx tsx scripts/generate-mcp.ts; then+ echo "⚠ MCP tool metadata could not be regenerated — it may be stale in this commit."+ figit add apps/erp/app/routes/api+/mcp+/lib/tool-metadata.jsonfi@@ -38,7 +44,22 @@ if [ -z "$CARBON_SKIP_DATASET_CHECK" ] && git diff --cached --name-only | grep -echo "Checking demo datasets against the schema..."# --silent so pnpm's ELIFECYCLE trailer doesn't bury the script's own advice.if ! pnpm --silent db:check:datasets; then- echo "Commit blocked: the demo datasets no longer apply. See above."+ echo ""+ echo "Commit blocked by the demo-dataset check. The reason is printed above."+ echo "Skip it with: CARBON_SKIP_DATASET_CHECK=1 git commit ..."+ exit 1+ fi+fi++# A migration can make a backup a customer already holds unrestorable, without the+# backup changing at all. This compares the schema baseline on main with your live+# schema, then updates and stages the baseline. Set CARBON_SKIP_BACKUP_CHECK=1 to skip.+if [ -z "$CARBON_SKIP_BACKUP_CHECK" ] && git diff --cached --name-only | grep -q '^packages/database/supabase/migrations/'; then+ echo "Checking backup compatibility against the schema..."+ if ! pnpm --silent db:check:backups -- --stage; then+ echo ""+ echo "Commit blocked by the backup compatibility check. The reason is printed above."+ echo "Skip it with: CARBON_SKIP_BACKUP_CHECK=1 git commit ..."exit 1fifi\ No newline at end of filediff --git a/package.json b/package.jsonindex 525bcf0550..1d1ed5ddf5 100755--- a/package.json+++ b/package.json@@ -40,6 +40,7 @@"ci:migrations": "pnpm --filter ci ci:migrations","ci:deploy": "pnpm --filter ci ci:deploy","clean": "turbo run clean && rimraf ./node_modules && rimraf ./pnpm-lock.yaml",+ "db:check:backups": "pnpm --filter @carbon/jobs db:check:backups --","db:check:datasets": "pnpm --filter @carbon/database db:check:datasets --","db:function:new": "pnpm --filter @carbon/database db:function:new","db:migrate": "crbn migrate",diff --git a/packages/jobs/manifests/README.md b/packages/jobs/manifests/README.mdnew file mode 100644index 0000000000..716b14a999--- /dev/null+++ b/packages/jobs/manifests/README.md@@ -0,0 +1,55 @@+# The schema baseline++`schema.json` is a snapshot of the export schema: every table a company backup+would contain, with its column list and **no rows**. Compatibility is decided+entirely by table and column names, so a schema-shaped manifest is exactly as+informative as a real customer backup and costs nothing to commit.++## Nobody maintains this by hand++The pre-commit hook regenerates it from your live database and stages it, whenever+you commit a change under `packages/database/supabase/migrations/`. There is no+command to remember and no dated files to add. It is generated output, in the same+category as a lockfile.++## What it is compared against++A file that regenerates itself cannot be its own baseline — it would compare+today's schema with today's schema and pass every time. So the check fetches the+version of this file already on `main`, which is the schema real customer backups+were taken against:++```+https://raw.githubusercontent.com/<owner>/<repo>/main/packages/jobs/manifests/schema.json+```++The owner and repo come from your `origin` remote, so a fork checks itself.++If that fetch fails — offline, timeout, GitHub down — the check warns and falls+back to `git show origin/main:packages/jobs/manifests/schema.json`, your local+copy. A network problem never fails a commit. That copy can be months old if you+have not pulled; an older baseline is a **stricter** check, never a blinder one,+but it can flag a column a teammate has already removed on `main`. That is why the+warning names the staleness and not just the failure.++If the baseline is in neither place, the check **fails**. A missing baseline+silently skipped is indistinguishable from a passing check.++## The one time you have to think about it++The very first commit that puts this file on `main` has no baseline to compare+against. If that commit also touches a migration, bypass the hook once with+`CARBON_SKIP_BACKUP_CHECK=1 git commit …`. After it merges, the situation cannot+recur.++## Looking further back++Git holds every past version of this one file, so "would a six-month-old backup+still restore" is answered with+`git show <commit>:packages/jobs/manifests/schema.json` rather than by committing+dated copies.++## Not a test fixture++Do not point a unit test at this file — its contents change with every migration,+so a test asserting on it would be rewritten constantly and prove nothing.diff --git a/packages/jobs/manifests/schema.json b/packages/jobs/manifests/schema.jsonnew file mode 100644index 0000000000..76d1095be1--- /dev/null+++ b/packages/jobs/manifests/schema.json@@ -0,0 +1,6401 @@+{+ "kind": "carbon-company-backup",+ "version": 1,+ "schemaVersion": "20260825075035",+ "sourceCompanyId": "schema-baseline",+ "sourceCompanyGroupId": null,+ "sourceCompanyName": null,+ "exportedAt": "2026-08-25T13:16:57.172Z",+ "exportedBy": "schema-baseline",+ "label": "schema baseline",+ "includeStorage": "none",+ "tables": [+ {+ "name": "ability",+ "rows": 0,+ "columns": [+ "active",+ "curve",+ "shadowWeeks",+ "createdAt",+ "updatedAt",+ "id",+ "companyId",+ "name",+ "createdBy",+ "updatedBy"+ ]+ },+ {+ "name": "account",+ "rows": 0,+ "columns": [+ "customFields",+ "updatedBy",+ "isGroup",+ "parentId",+ "class",+ "accountType",+ "isSystem",+ "tags",+ "companyGroupId",+ "name",+ "createdAt",+ "active",+ "id",+ "consolidatedRate",+ "incomeBalance",+ "number",+ "createdBy",+ "updatedAt"+ ]+ },+ {+ "name": "accountDefault",+ "rows": 0,+ "columns": [+ "serviceChargeAccount",+ "supplierWriteOffAccount",+ "goodsReceivedNotInvoicedAccount",+ "retainedEarningsAccount",+ "maintenanceAccount",+ "salesAccount",+ "prepaymentAccount",+ "overheadVarianceAccount",+ "realizedExchangeLossAccount",+ "purchaseVarianceAccount",+ "realizedExchangeGainAccount",+ "accumulatedDepreciationOnDisposalAccount",+ "bankForeignCurrencyAccount",+ "materialVarianceAccount",+ "inventoryAdjustmentVarianceAccount",+ "assetLossOnDisposalAccount",+ "finishedGoodsAccount",+ "companyId",+ "deferredTaxExpenseAccountId",+ "deferredTaxLiabilityAccountId",+ "salesTaxPayableAccount",+ "purchaseTaxPayableAccount",+ "overheadAbsorptionAccount",+ "rawMaterialsAccount",+ "laborAndMachineVarianceAccount",+ "workInProgressAccount",+ "updatedBy",+ "laborAbsorptionAccount",+ "assetDepreciationExpenseAccount",+ "salesDiscountAccount",+ "costOfGoodsSoldAccount",+ "customerWriteOffAccount",+ "assetGainOnDisposalAccount",+ "customerPaymentDiscountAccount",+ "currencyTranslationAccount",+ "reverseChargeSalesTaxPayableAccount",+ "supplierPaymentDiscountAccount",+ "payablesAccount",+ "accumulatedDepreciationAccount",+ "intercompanyReceivablesAccount",+ "receivablesAccount",+ "bankLocalCurrencyAccount",+ "scrapAccount",+ "subcontractingVarianceAccount",+ "assetAquisitionCostOnDisposalAccount",+ "bankCashAccount",+ "indirectCostAccount",+ "roundingAccount",+ "lotSizeVarianceAccount",+ "intercompanyPayablesAccount",+ "supplierPrepaymentAccount",+ "assetAquisitionCostAccount",+ "interestAccount"+ ]+ },+ {+ "name": "accountingPeriod",+ "rows": 0,+ "columns": [+ "closedAt",+ "updatedAt",+ "id",+ "createdAt",+ "updatedBy",+ "createdBy",+ "fiscalYear",+ "startDate",+ "lockedBy",+ "lockedAt",+ "companyId",+ "closeStatus",+ "closedBy",+ "status",+ "periodNumber",+ "endDate"+ ]+ },+ {+ "name": "accountingPeriodBalance",+ "rows": 0,+ "columns": [+ "endingBalance",+ "accountId",+ "accountingPeriodId",+ "createdBy",+ "id",+ "updatedBy",+ "endingBalanceDate",+ "companyId",+ "createdAt",+ "updatedAt"+ ]+ },+ {+ "name": "accountingSyncOperation",+ "rows": 0,+ "columns": [+ "entityId",+ "updatedAt",+ "completedAt",+ "externalId",+ "createdBy",+ "updatedBy",+ "createdAt",+ "entityType",+ "integration",+ "errorMessage",+ "trigger",+ "lastAttemptAt",+ "id",+ "idempotencyKey",+ "direction",+ "errorCode",+ "companyId",+ "metadata",+ "attemptCount",+ "status"+ ]+ },+ {+ "name": "accountingSyncTieOut",+ "rows": 0,+ "columns": [+ "blockedAmount",+ "id",+ "excludedAmount",+ "carbonPostedAmount",+ "internalDelta",+ "companyId",+ "createdBy",+ "pendingAmount",+ "docBackedAmount",+ "accountId",+ "providerAmount",+ "computedAt",+ "createdAt",+ "updatedAt",+ "updatedBy",+ "accountingPeriodId",+ "integration",+ "externalDelta",+ "syncedAmount"+ ]+ },+ {+ "name": "address",+ "rows": 0,+ "columns": [+ "phone",+ "companyId",+ "addressLine1",+ "postalCode",+ "fax",+ "id",+ "countryCode",+ "addressLine2",+ "city",+ "stateProvince"+ ]+ },+ {+ "name": "agentThread",+ "rows": 0,+ "columns": [+ "modelId",+ "userId",+ "title",+ "createdBy",+ "updatedBy",+ "id",+ "lastContext",+ "companyId",+ "updatedAt",+ "createdAt"+ ]+ },+ {+ "name": "agentMessage",+ "rows": 0,+ "columns": [+ "updatedBy",+ "threadId",+ "finishReason",+ "outputTokens",+ "id",+ "inputTokens",+ "createdBy",+ "feedback",+ "role",+ "companyId",+ "updatedAt",+ "feedbackNote",+ "context",+ "createdAt"+ ]+ },+ {+ "name": "agentMessagePart",+ "rows": 0,+ "columns": [+ "textContent",+ "toolOutput",+ "id",+ "toolCallId",+ "toolInput",+ "toolClassification",+ "messageId",+ "toolDurationMs",+ "createdAt",+ "updatedBy",+ "createdBy",+ "toolState",+ "type",+ "toolName",+ "updatedAt",+ "orderIndex",+ "companyId",+ "errorMessage"+ ]+ },+ {+ "name": "approvalRequest",+ "rows": 0,+ "columns": [+ "requestedBy",+ "decisionBy",+ "id",+ "decisionNotes",+ "decisionAt",+ "updatedAt",+ "documentType",+ "createdBy",+ "updatedBy",+ "companyId",+ "amount",+ "requestedAt",+ "createdAt",+ "documentId",+ "status"+ ]+ },+ {+ "name": "approvalRule",+ "rows": 0,+ "columns": [+ "createdAt",+ "companyId",+ "documentType",+ "lowerBoundAmount",+ "updatedBy",+ "createdBy",+ "id",+ "escalationDays",+ "enabled",+ "approverGroupIds",+ "updatedAt",+ "defaultApproverId"+ ]+ },+ {+ "name": "auditLogArchive",+ "rows": 0,+ "columns": [+ "endDate",+ "archivePath",+ "startDate",+ "sizeBytes",+ "id",+ "rowCount",+ "companyId",+ "createdAt"+ ]+ },+ {+ "name": "changeOrderRequiredAction",+ "rows": 0,+ "columns": [+ "updatedBy",+ "name",+ "active",+ "createdBy",+ "updatedAt",+ "companyId",+ "createdAt",+ "customFields",+ "id"+ ]+ },+ {+ "name": "changeOrderType",+ "rows": 0,+ "columns": [+ "createdBy",+ "createdAt",+ "companyId",+ "updatedBy",+ "id",+ "updatedAt",+ "name"+ ]+ },+ {+ "name": "companyAccountsPayableBillingAddress",+ "rows": 0,+ "columns": [+ "email",+ "phone",+ "id",+ "state",+ "name",+ "updatedBy",+ "fax",+ "countryCode",+ "updatedAt",+ "city",+ "addressLine1",+ "addressLine2",+ "postalCode"+ ]+ },+ {+ "name": "companyAccountsReceivableBillingAddress",+ "rows": 0,+ "columns": [+ "updatedAt",+ "city",+ "postalCode",+ "addressLine1",+ "addressLine2",+ "state",+ "email",+ "phone",+ "id",+ "fax",+ "countryCode",+ "name",+ "updatedBy"+ ]+ },+ {+ "name": "companySettings",+ "rows": 0,+ "columns": [+ "includeMaterialsOnTraveler",+ "qualityIssueTarget",+ "materialGeneratedIds",+ "accountingEnabled",+ "returnPickedMaterialTiming",+ "accountsPayableAddress",+ "inventoryJobCompletedNotificationGroup",+ "accountsReceivableAddress",+ "gaugeCalibrationExpiredNotificationGroup",+ "consoleEnabled",+ "digitalQuoteEnabled",+ "incompletePickingListPolicy",+ "inventoryShelfLife",+ "showCustomerReadableId",+ "productLabelSize",+ "updateLeadTimesOnReceipt",+ "enforceInspectionFourEyes",+ "requireMfa",+ "useMetric",+ "accountsPayableEmail",+ "salesJobCompletedNotificationGroup",+ "id",+ "plmReleaseControl",+ "autoStartOperationTimer",+ "timeCardEnabled",+ "shelfLabelSize",+ "showCurrencyTrailingZeros",+ "printing",+ "defaultCustomerCc",+ "accountsReceivableEmail",+ "qualityDispatchNotificationGroup",+ "showSupplierReadableId",+ "samplingStandard",+ "maintenanceDispatchNotificationGroup",+ "digitalQuoteNotificationGroup",+ "purchasePriceUpdateTiming",+ "digitalQuoteIncludesPurchaseOrders",+ "autoSelectMaterialWithoutPickingList",+ "supplierQuoteNotificationGroup",+ "otherDispatchNotificationGroup",+ "assetTaxDepreciationEnabled",+ "rfqReadyNotificationGroup",+ "quoteLineCategoryMarkups",+ "kanbanOutput",+ "operationsDispatchNotificationGroup",+ "defaultSupplierCc",+ "assetTaxRate"+ ]+ },+ {+ "name": "companyUsage",+ "rows": 0,+ "columns": [+ "updatedAt",+ "users",+ "companyId",+ "id",+ "createdAt",+ "aiTokens",+ "tasks",+ "nextResetDatetime"+ ]+ },+ {+ "name": "consumable",+ "rows": 0,+ "columns": [+ "createdAt",+ "updatedAt",+ "companyId",+ "id",+ "updatedBy",+ "createdBy",+ "approvedBy",+ "approved",+ "customFields",+ "tags"+ ]+ },+ {+ "name": "contact",+ "rows": 0,+ "columns": [+ "homePhone",+ "fax",+ "firstName",+ "title",+ "id",+ "workPhone",+ "mobilePhone",+ "lastName",+ "companyId",+ "notes",+ "isCustomer",+ "email"+ ]+ },+ {+ "name": "costCenter",+ "rows": 0,+ "columns": [+ "updatedBy",+ "companyId",+ "parentCostCenterId",+ "createdBy",+ "updatedAt",+ "ownerId",+ "name",+ "createdAt",+ "id",+ "customFields"+ ]+ },+ {+ "name": "currency",+ "rows": 0,+ "columns": [+ "exchangeRate",+ "updatedBy",+ "tags",+ "historicalExchangeRate",+ "code",+ "customFields",+ "createdAt",+ "id",+ "decimalPlaces",+ "updatedAt",+ "companyGroupId",+ "createdBy",+ "active"+ ]+ },+ {+ "name": "customField",+ "rows": 0,+ "columns": [+ "required",+ "sortOrder",+ "table",+ "active",+ "dataTypeId",+ "updatedBy",+ "tags",+ "name",+ "companyId",+ "createdBy",+ "createdAt",+ "id",+ "updatedAt",+ "listOptions"+ ]+ },+ {+ "name": "customerStatus",+ "rows": 0,+ "columns": [+ "createdBy",+ "createdAt",+ "companyId",+ "updatedAt",+ "id",+ "tags",+ "updatedBy",+ "name",+ "customFields"+ ]+ },+ {+ "name": "customerType",+ "rows": 0,+ "columns": [+ "updatedBy",+ "companyId",+ "protected",+ "createdAt",+ "tags",+ "updatedAt",+ "name",+ "createdBy",+ "id",+ "customFields"+ ]+ },+ {+ "name": "department",+ "rows": 0,+ "columns": [+ "tags",+ "updatedAt",+ "name",+ "createdAt",+ "customFields",+ "id",+ "updatedBy",+ "parentDepartmentId",+ "companyId",+ "createdBy"+ ]+ },+ {+ "name": "depreciationRun",+ "rows": 0,+ "columns": [+ "companyId",+ "status",+ "periodEnd",+ "postedAt",+ "updatedBy",+ "createdAt",+ "depreciationRunId",+ "postedBy",+ "id",+ "createdBy"+ ]+ },+ {+ "name": "dimension",+ "rows": 0,+ "columns": [+ "name",+ "updatedAt",+ "createdAt",+ "id",+ "updatedBy",+ "required",+ "companyGroupId",+ "entityType",+ "createdBy",+ "active"+ ]+ },+ {+ "name": "dimensionValue",+ "rows": 0,+ "columns": [+ "dimensionId",+ "updatedAt",+ "id",+ "createdAt",+ "companyGroupId",+ "name",+ "updatedBy",+ "createdBy"+ ]+ },+ {+ "name": "document",+ "rows": 0,+ "columns": [+ "path",+ "createdAt",+ "sourceDocument",+ "active",+ "readGroups",+ "companyId",+ "id",+ "writeGroups",+ "description",+ "updatedBy",+ "name",+ "type",+ "createdBy",+ "size",+ "sourceDocumentId",+ "updatedAt"+ ]+ },+ {+ "name": "documentExtraction",+ "rows": 0,+ "columns": [+ "filteredData",+ "id",+ "createdBy",+ "documentType",+ "updatedBy",+ "companyId",+ "extractedData",+ "error",+ "storagePath",+ "createdAt",+ "sourceDocument",+ "updatedAt",+ "sourceDocumentId",+ "status"+ ]+ },+ {+ "name": "documentFavorite",+ "rows": 0,+ "columns": ["userId", "documentId"]+ },+ {+ "name": "documentLabel",+ "rows": 0,+ "columns": ["userId", "documentId", "label", "companyId"]+ },+ {+ "name": "documentSection",+ "rows": 0,+ "columns": [+ "companyId",+ "updatedAt",+ "createdAt",+ "id",+ "updatedBy",+ "config",+ "placement",+ "name",+ "createdBy",+ "content"+ ]+ },+ {+ "name": "documentTemplate",+ "rows": 0,+ "columns": [+ "documentType",+ "formatVersion",+ "settings",+ "blocks",+ "updatedBy",+ "updatedAt",+ "companyId",+ "headerSectionId",+ "createdBy",+ "footerSectionId",+ "id",+ "createdAt",+ "theme"+ ]+ },+ {+ "name": "documentTransaction",+ "rows": 0,+ "columns": [+ "type",+ "userId",+ "createdAt",+ "documentId",+ "id",+ "companyId"+ ]+ },+ {+ "name": "employeeType",+ "rows": 0,+ "columns": [+ "systemType",+ "protected",+ "companyId",+ "createdAt",+ "name",+ "updatedAt",+ "id"+ ]+ },+ {+ "name": "employee",+ "rows": 0,+ "columns": ["companyId", "id", "employeeTypeId", "active", "pin"]+ },+ {+ "name": "employeeAbility",+ "rows": 0,+ "columns": [+ "lastTrainingDate",+ "active",+ "abilityId",+ "trainingCompleted",+ "id",+ "trainingDays",+ "employeeId",+ "companyId"+ ]+ },+ {+ "name": "employeeTypePermission",+ "rows": 0,+ "columns": [+ "view",+ "employeeTypeId",+ "updatedAt",+ "module",+ "update",+ "createdAt",+ "delete",+ "create"+ ]+ },+ {+ "name": "eventSystemSubscription",+ "rows": 0,+ "columns": [+ "name",+ "active",+ "config",+ "createdAt",+ "id",+ "filter",+ "companyId",+ "table",+ "handlerType",+ "operations"+ ]+ },+ {+ "name": "exchangeRateHistory",+ "rows": 0,+ "columns": [+ "createdBy",+ "id",+ "updatedAt",+ "updatedBy",+ "currencyCode",+ "companyGroupId",+ "createdAt",+ "effectiveDate",+ "rate"+ ]+ },+ {+ "name": "externalIntegrationMapping",+ "rows": 0,+ "columns": [+ "entityType",+ "companyId",+ "createdAt",+ "lastSyncedAt",+ "updatedAt",+ "id",+ "remoteUpdatedAt",+ "allowDuplicateExternalId",+ "integration",+ "entityId",+ "updatedBy",+ "metadata",+ "createdBy",+ "externalId"+ ]+ },+ {+ "name": "fiscalYearSettings",+ "rows": 0,+ "columns": ["taxStartMonth", "updatedBy", "startMonth", "companyId"]+ },+ {+ "name": "fixedAssetClass",+ "rows": 0,+ "columns": [+ "accumulatedDepreciationAccountId",+ "customFields",+ "writeOffAccountId",+ "macrsPropertyClass",+ "taxDepreciationMethod",+ "name",+ "residualValuePercent",+ "gainOnDisposalAccountId",+ "id",+ "depreciationExpenseAccountId",+ "writeDownAccountId",+ "updatedBy",+ "assetAccountId",+ "depreciationMethod",+ "description",+ "taxUsefulLifeMonths",+ "companyId",+ "bonusDepreciationPercent",+ "createdBy",+ "taxResidualValuePercent",+ "macrsConvention",+ "updatedAt",+ "usefulLifeMonths",+ "createdAt",+ "lossOnDisposalAccountId"+ ]+ },+ {+ "name": "gaugeType",+ "rows": 0,+ "columns": [+ "name",+ "updatedBy",+ "id",+ "createdBy",+ "customFields",+ "companyId",+ "updatedAt",+ "createdAt"+ ]+ },+ {+ "name": "group",+ "rows": 0,+ "columns": [+ "isEmployeeTypeGroup",+ "companyId",+ "isIdentityGroup",+ "isCustomerTypeGroup",+ "isSupplierOrgGroup",+ "id",+ "updatedAt",+ "isCustomerOrgGroup",+ "name",+ "isSupplierTypeGroup",+ "createdAt"+ ]+ },+ {+ "name": "holiday",+ "rows": 0,+ "columns": [+ "updatedBy",+ "customFields",+ "name",+ "createdBy",+ "updatedAt",+ "id",+ "tags",+ "createdAt",+ "date",+ "companyId"+ ]+ },+ {+ "name": "implementationCheckState",+ "rows": 0,+ "columns": [+ "createdAt",+ "kind",+ "itemKey",+ "value",+ "updatedBy",+ "companyId",+ "createdBy",+ "id",+ "updatedAt"+ ]+ },+ {+ "name": "implementationFieldValue",+ "rows": 0,+ "columns": [+ "id",+ "createdAt",+ "companyId",+ "updatedAt",+ "createdBy",+ "value",+ "fieldKey",+ "updatedBy"+ ]+ },+ {+ "name": "implementationRow",+ "rows": 0,+ "columns": [+ "sortOrder",+ "payload",+ "collection",+ "createdAt",+ "id",+ "updatedAt",+ "createdBy",+ "companyId",+ "updatedBy"+ ]+ },+ {+ "name": "invite",+ "rows": 0,+ "columns": [+ "companyId",+ "acceptedAt",+ "id",+ "updatedBy",+ "createdAt",+ "revokedAt",+ "attestedAt",+ "code",+ "role",+ "attestedBy",+ "createdBy",+ "email",+ "permissions"+ ]+ },+ {+ "name": "itarCertification",+ "rows": 0,+ "columns": [+ "docHash",+ "ipAddress",+ "complianceContact",+ "id",+ "certifiedAt",+ "title",+ "companyId",+ "expiresAt",+ "updatedBy",+ "updatedAt",+ "createdAt",+ "userAgent",+ "docVersion",+ "fullLegalName",+ "createdBy",+ "type",+ "userId"+ ]+ },+ {+ "name": "itemPostingGroup",+ "rows": 0,+ "columns": [+ "active",+ "description",+ "createdAt",+ "companyId",+ "name",+ "updatedBy",+ "customFields",+ "id",+ "updatedAt",+ "tags",+ "createdBy"+ ]+ },+ {+ "name": "itemStockQuantities",+ "rows": 0,+ "columns": ["quantityOnHand", "locationId", "companyId", "itemId"]+ },+ {+ "name": "journal",+ "rows": 0,+ "columns": [+ "customFields",+ "postedAt",+ "accountingPeriodId",+ "companyId",+ "updatedBy",+ "eliminationKind",+ "updatedAt",+ "postedBy",+ "reversalOfId",+ "postingDate",+ "tags",+ "status",+ "createdBy",+ "description",+ "reversedById",+ "createdAt",+ "journalEntryId",+ "id",+ "sourceType"+ ]+ },+ {+ "name": "journalLine",+ "rows": 0,+ "columns": [+ "accountId",+ "createdBy",+ "customFields",+ "accrual",+ "intercompanyPartnerId",+ "amount",+ "documentType",+ "updatedAt",+ "updatedBy",+ "createdAt",+ "description",+ "quantity",+ "documentLineReference",+ "externalDocumentId",+ "id",+ "journalLineReference",+ "documentId",+ "journalId",+ "companyId",+ "tags"+ ]+ },+ {+ "name": "intercompanyTransaction",+ "rows": 0,+ "columns": [+ "updatedAt",+ "status",+ "sourceJournalLineId",+ "amount",+ "targetCompanyId",+ "sourceCompanyId",+ "createdAt",+ "targetJournalLineId",+ "id",+ "description",+ "documentId",+ "currencyCode",+ "documentType",+ "companyGroupId",+ "eliminationJournalId"+ ]+ },+ {+ "name": "intercompanyEliminationLine",+ "rows": 0,+ "columns": [+ "journalLineId",+ "updatedBy",+ "intercompanyTransactionId",+ "role",+ "amount",+ "createdAt",+ "quantity",+ "id",+ "accountId",+ "updatedAt",+ "companyId",+ "createdBy",+ "itemId"+ ]+ },+ {+ "name": "journalLineDimension",+ "rows": 0,+ "columns": [+ "id",+ "createdAt",+ "journalLineId",+ "companyId",+ "dimensionId",+ "valueId"+ ]+ },+ {+ "name": "location",+ "rows": 0,+ "columns": [+ "countryCode",+ "latitude",+ "updatedAt",+ "name",+ "createdBy",+ "stateProvince",+ "id",+ "timezone",+ "longitude",+ "postalCode",+ "addressLine2",+ "addressLine1",+ "createdAt",+ "tags",+ "code",+ "customFields",+ "updatedBy",+ "companyId",+ "city"+ ]+ },+ {+ "name": "fixedAsset",+ "rows": 0,+ "columns": [+ "name",+ "fixedAssetClassId",+ "macrsPropertyClass",+ "acquisitionDate",+ "depreciationStartDate",+ "createdAt",+ "locationId",+ "status",+ "notes",+ "assetLifetimeUsage",+ "accumulatedDepreciation",+ "updatedBy",+ "taxUsefulLifeMonths",+ "description",+ "saleProceeds",+ "acquisitionCost",+ "macrsConvention",+ "accumulatedTaxDepreciation",+ "bonusDepreciationPercent",+ "fixedAssetId",+ "taxResidualValuePercent",+ "depreciationMethod",+ "updatedAt",+ "createdBy",+ "customFields",+ "residualValuePercent",+ "disposalDate",+ "id",+ "usefulLifeMonths",+ "companyId",+ "taxDepreciationMethod",+ "serialNumber",+ "disposalMethod"+ ]+ },+ {+ "name": "depreciationRunLine",+ "rows": 0,+ "columns": [+ "fixedAssetId",+ "amount",+ "companyId",+ "taxAmount",+ "depreciationRunId",+ "id",+ "journalId"+ ]+ },+ {+ "name": "fixedAssetDisposal",+ "rows": 0,+ "columns": [+ "netBookValueAtDisposal",+ "companyId",+ "id",+ "createdBy",+ "journalId",+ "createdAt",+ "fixedAssetId",+ "updatedBy",+ "saleProceeds",+ "gainLoss",+ "disposalMethod",+ "disposalDate"+ ]+ },+ {+ "name": "fixedAssetUsageLog",+ "rows": 0,+ "columns": [+ "fixedAssetId",+ "createdBy",+ "updatedBy",+ "id",+ "companyId",+ "periodStart",+ "periodEnd",+ "createdAt",+ "unitsProduced"+ ]+ },+ {+ "name": "inventoryCount",+ "rows": 0,+ "columns": [+ "customFields",+ "companyId",+ "createdAt",+ "snapshotAt",+ "postedBy",+ "notes",+ "id",+ "postedAt",+ "isBlind",+ "inventoryCountId",+ "updatedBy",+ "locationId",+ "scope",+ "createdBy",+ "status",+ "updatedAt"+ ]+ },+ {+ "name": "maintenanceFailureMode",+ "rows": 0,+ "columns": [+ "companyId",+ "createdBy",+ "updatedAt",+ "createdAt",+ "name",+ "type",+ "id",+ "updatedBy"+ ]+ },+ {+ "name": "materialForm",+ "rows": 0,+ "columns": [+ "updatedAt",+ "code",+ "name",+ "createdAt",+ "tags",+ "id",+ "updatedBy",+ "companyId",+ "customFields",+ "createdBy"+ ]+ },+ {+ "name": "materialDimension",+ "rows": 0,+ "columns": ["id", "materialFormId", "companyId", "name", "isMetric"]+ },+ {+ "name": "materialSubstance",+ "rows": 0,+ "columns": [+ "customFields",+ "companyId",+ "updatedBy",+ "createdBy",+ "name",+ "updatedAt",+ "code",+ "id",+ "tags",+ "createdAt"+ ]+ },+ {+ "name": "materialFinish",+ "rows": 0,+ "columns": ["materialSubstanceId", "companyId", "name", "id"]+ },+ {+ "name": "materialGrade",+ "rows": 0,+ "columns": ["name", "companyId", "id", "materialSubstanceId"]+ },+ {+ "name": "materialType",+ "rows": 0,+ "columns": [+ "materialSubstanceId",+ "code",+ "materialFormId",+ "name",+ "id",+ "companyId"+ ]+ },+ {+ "name": "material",+ "rows": 0,+ "columns": [+ "dimensionId",+ "finishId",+ "materialSubstanceId",+ "updatedBy",+ "materialFormId",+ "gradeId",+ "createdBy",+ "tags",+ "materialTypeId",+ "updatedAt",+ "createdAt",+ "customFields",+ "approved",+ "companyId",+ "id",+ "approvedBy"+ ]+ },+ {+ "name": "membership",+ "rows": 0,+ "columns": ["memberGroupId", "memberUserId", "id", "groupId"]+ },+ {+ "name": "modelUpload",+ "rows": 0,+ "columns": [+ "glbPath",+ "thumbnailPath",+ "name",+ "createdAt",+ "optimizedSize",+ "updatedAt",+ "createdBy",+ "id",+ "updatedBy",+ "originalSize",+ "size",+ "processingStatus",+ "modelPath",+ "processedAt",+ "componentCount",+ "companyId",+ "optimizedAt",+ "optimizeError",+ "autodeskUrn",+ "optimizedModelPath",+ "processingError",+ "optimizeStatus",+ "graphPath",+ "originalPath"+ ]+ },+ {+ "name": "assemblyPlanJob",+ "rows": 0,+ "columns": [+ "planPath",+ "error",+ "status",+ "kind",+ "stats",+ "updatedAt",+ "id",+ "createdBy",+ "createdAt",+ "companyId",+ "modelUploadId"+ ]+ },+ {+ "name": "noQuoteReason",+ "rows": 0,+ "columns": [+ "updatedAt",+ "createdAt",+ "companyId",+ "createdBy",+ "customFields",+ "name",+ "updatedBy",+ "id"+ ]+ },+ {+ "name": "nonConformanceRequiredAction",+ "rows": 0,+ "columns": [+ "createdBy",+ "id",+ "systemType",+ "updatedBy",+ "companyId",+ "createdAt",+ "updatedAt",+ "active",+ "name"+ ]+ },+ {+ "name": "nonConformanceType",+ "rows": 0,+ "columns": [+ "updatedAt",+ "id",+ "customFields",+ "name",+ "createdBy",+ "updatedBy",+ "createdAt",+ "companyId"+ ]+ },+ {+ "name": "nonConformanceWorkflow",+ "rows": 0,+ "columns": [+ "id",+ "approvalRequirements",+ "tags",+ "source",+ "updatedBy",+ "createdAt",+ "name",+ "active",+ "priority",+ "companyId",+ "updatedAt",+ "content",+ "description",+ "createdBy",+ "requiredActionIds"+ ]+ },+ {+ "name": "nonConformance",+ "rows": 0,+ "columns": [+ "id",+ "updatedBy",+ "nonConformanceWorkflowId",+ "status",+ "createdBy",+ "dueDate",+ "nonConformanceId",+ "locationId",+ "requiredActionIds",+ "approvalRequirements",+ "createdAt",+ "tags",+ "assignee",+ "content",+ "source",+ "updatedAt",+ "closeDate",+ "openDate",+ "customFields",+ "description",+ "nonConformanceTypeId",+ "name",+ "quantity",+ "companyId",+ "priority"+ ]+ },+ {+ "name": "changeOrder",+ "rows": 0,+ "columns": [+ "assignee",+ "createdAt",+ "sourceType",+ "dueDate",+ "companyId",+ "description",+ "createdBy",+ "status",+ "updatedAt",+ "customFields",+ "tags",+ "name",+ "approvalRequirements",+ "reasonForChange",+ "type",+ "openDate",+ "changeOrderTypeId",+ "id",+ "nonConformanceId",+ "updatedBy",+ "priority",+ "changeOrderId",+ "requiredActionIds",+ "sourceId"+ ]+ },+ {+ "name": "changeOrderActionTask",+ "rows": 0,+ "columns": [+ "status",+ "name",+ "updatedAt",+ "assignee",+ "dueDate",+ "createdAt",+ "updatedBy",+ "actionTypeId",+ "createdBy",+ "changeOrderId",+ "notes",+ "tags",+ "id",+ "sortOrder",+ "companyId",+ "completedDate"+ ]+ },+ {+ "name": "nonConformanceApprovalTask",+ "rows": 0,+ "columns": [+ "createdAt",+ "dueDate",+ "updatedBy",+ "status",+ "updatedAt",+ "approvalType",+ "assignee",+ "id",+ "sortOrder",+ "companyId",+ "completedDate",+ "nonConformanceId",+ "createdBy",+ "notes",+ "tags"+ ]+ },+ {+ "name": "nonConformanceReviewer",+ "rows": 0,+ "columns": [+ "updatedAt",+ "createdAt",+ "title",+ "assignee",+ "updatedBy",+ "createdBy",+ "id",+ "companyId",+ "status",+ "nonConformanceId",+ "notes",+ "completedDate"+ ]+ },+ {+ "name": "note",+ "rows": 0,+ "columns": [+ "active",+ "noteRichText",+ "note",+ "createdAt",+ "id",+ "updatedAt",+ "companyId",+ "documentId",+ "updatedBy",+ "createdBy"+ ]+ },+ {+ "name": "notification",+ "rows": 0,+ "columns": [+ "seenAt",+ "userId",+ "from",+ "documentId",+ "id",+ "documentType",+ "payload",+ "title",+ "topic",+ "companyId",+ "digestedInto",+ "description",+ "event",+ "readAt",+ "createdAt"+ ]+ },+ {+ "name": "notificationDelivery",+ "rows": 0,+ "columns": [+ "documentId",+ "lastDeliveryId",+ "event",+ "userId",+ "successCount",+ "id",+ "createdAt",+ "lastDeliveredAt",+ "companyId"+ ]+ },+ {+ "name": "notificationPreference",+ "rows": 0,+ "columns": [+ "topic",+ "updatedAt",+ "channel",+ "companyId",+ "enabled",+ "id",+ "userId"+ ]+ },+ {+ "name": "oauthCode",+ "rows": 0,+ "columns": [+ "scope",+ "id",+ "codeChallenge",+ "redirectUri",+ "code",+ "codeChallengeMethod",+ "expiresAt",+ "companyId",+ "userId",+ "clientId",+ "createdAt"+ ]+ },+ {+ "name": "onshapeSyncRun",+ "rows": 0,+ "columns": [+ "cancelledBy",+ "totalRevisions",+ "unmatchedOverflow",+ "finishedAt",+ "skippedNonModel",+ "error",+ "createdBy",+ "revisionsScanned",+ "createdAt",+ "ambiguousOverflow",+ "ambiguousReleases",+ "status",+ "failed",+ "startedAt",+ "updatedAt",+ "pagesProcessed",+ "skippedAlreadySynced",+ "synced",+ "id",+ "updatedBy",+ "skippedNoItem",+ "matched",+ "skippedTooLarge",+ "companyId",+ "unmatchedReleases"+ ]+ },+ {+ "name": "part",+ "rows": 0,+ "columns": [+ "createdBy",+ "id",+ "updatedBy",+ "toDate",+ "customFields",+ "companyId",+ "createdAt",+ "fromDate",+ "updatedAt",+ "tags",+ "approved",+ "approvedBy"+ ]+ },+ {+ "name": "paymentTerm",+ "rows": 0,+ "columns": [+ "daysDiscount",+ "daysDue",+ "tags",+ "active",+ "discountPercentage",+ "updatedBy",+ "customFields",+ "name",+ "createdBy",+ "companyId",+ "updatedAt",+ "id",+ "createdAt",+ "calculationMethod"+ ]+ },+ {+ "name": "periodCloseTaskDefinition",+ "rows": 0,+ "columns": [+ "createdBy",+ "autoCheckKey",+ "updatedAt",+ "taskType",+ "name",+ "updatedBy",+ "required",+ "id",+ "active",+ "defaultAssigneeId",+ "sortOrder",+ "customFields",+ "companyId",+ "createdAt",+ "severity",+ "isSystem"+ ]+ },+ {+ "name": "periodCloseTask",+ "rows": 0,+ "columns": [+ "taskType",+ "id",+ "required",+ "status",+ "sortOrder",+ "severity",+ "evidenceJournalId",+ "companyId",+ "completedBy",+ "notes",+ "skippedReason",+ "updatedAt",+ "updatedBy",+ "assigneeId",+ "name",+ "autoCheckKey",+ "definitionId",+ "accountingPeriodId",+ "completedAt",+ "createdBy",+ "createdAt"+ ]+ },+ {+ "name": "pickingList",+ "rows": 0,+ "columns": [+ "notes",+ "status",+ "locationId",+ "assignee",+ "updatedAt",+ "createdAt",+ "companyId",+ "customFields",+ "pickingListId",+ "dueDate",+ "updatedBy",+ "createdBy",+ "id"+ ]+ },+ {+ "name": "pricingRule",+ "rows": 0,+ "columns": [+ "itemIds",+ "id",+ "customerIds",+ "priority",+ "name",+ "validFrom",+ "customerTypeIds",+ "maxQuantity",+ "createdAt",+ "itemPostingGroupId",+ "amount",+ "updatedAt",+ "active",+ "updatedBy",+ "companyId",+ "createdBy",+ "amountType",+ "ruleType",+ "validTo",+ "minQuantity"+ ]+ },+ {+ "name": "printJob",+ "rows": 0,+ "columns": [+ "description",+ "sourceDocumentId",+ "companyId",+ "attempts",+ "updatedAt",+ "printerUrl",+ "origin",+ "id",+ "sourceDocumentReadableId",+ "sourceDocument",+ "completedAt",+ "contentType",+ "status",+ "createdBy",+ "updatedBy",+ "createdAt",+ "error",+ "content"+ ]+ },+ {+ "name": "printerRoute",+ "rows": 0,+ "columns": [+ "format",+ "locationId",+ "name",+ "printerUrl",+ "templateId",+ "createdAt",+ "id",+ "mediaSizeId",+ "companyId",+ "updatedAt",+ "apiKey"+ ]+ },+ {+ "name": "process",+ "rows": 0,+ "columns": [+ "createdBy",+ "updatedAt",+ "id",+ "tags",+ "updatedBy",+ "processType",+ "active",+ "name",+ "customFields",+ "completeAllOnScan",+ "createdAt",+ "defaultStandardFactor",+ "companyId"+ ]+ },+ {+ "name": "procedure",+ "rows": 0,+ "columns": [+ "processId",+ "tags",+ "description",+ "content",+ "updatedAt",+ "version",+ "name",+ "updatedBy",+ "createdAt",+ "assignee",+ "createdBy",+ "companyId",+ "id",+ "status"+ ]+ },+ {+ "name": "procedureParameter",+ "rows": 0,+ "columns": [+ "createdBy",+ "key",+ "value",+ "companyId",+ "updatedAt",+ "procedureId",+ "createdAt",+ "updatedBy",+ "id"+ ]+ },+ {+ "name": "purchasingRfq",+ "rows": 0,+ "columns": [+ "expirationDate",+ "createdAt",+ "revisionId",+ "status",+ "createdBy",+ "updatedBy",+ "employeeId",+ "companyId",+ "internalNotes",+ "locationId",+ "updatedAt",+ "customFields",+ "rfqId",+ "rfqDate",+ "notes",+ "id",+ "assignee"+ ]+ },+ {+ "name": "purchasingRfqFavorite",+ "rows": 0,+ "columns": ["userId", "rfqId"]+ },+ {+ "name": "qualityDocument",+ "rows": 0,+ "columns": [+ "assignee",+ "version",+ "description",+ "updatedBy",+ "status",+ "createdBy",+ "companyId",+ "name",+ "tags",+ "content",+ "updatedAt",+ "id",+ "createdAt"+ ]+ },+ {+ "name": "reportPin",+ "rows": 0,+ "columns": [+ "createdBy",+ "updatedBy",+ "companyId",+ "pinned",+ "createdAt",+ "reportKey",+ "updatedAt",+ "userId"+ ]+ },+ {+ "name": "reportView",+ "rows": 0,+ "columns": [+ "config",+ "name",+ "reportKey",+ "createdBy",+ "id",+ "updatedBy",+ "visibility",+ "companyId",+ "updatedAt",+ "createdAt"+ ]+ },+ {+ "name": "scrapReason",+ "rows": 0,+ "columns": [+ "createdBy",+ "updatedAt",+ "createdAt",+ "companyId",+ "updatedBy",+ "id",+ "customFields",+ "name"+ ]+ },+ {+ "name": "searchIndexRegistry",+ "rows": 0,+ "columns": ["lastRebuiltAt", "companyId", "createdAt"]+ },+ {+ "name": "sequence",+ "rows": 0,+ "columns": [+ "next",+ "companyId",+ "updatedBy",+ "step",+ "updatedAt",+ "table",+ "suffix",+ "size",+ "prefix",+ "name"+ ]+ },+ {+ "name": "service",+ "rows": 0,+ "columns": [+ "approved",+ "updatedAt",+ "serviceType",+ "toDate",+ "approvedBy",+ "createdAt",+ "tags",+ "updatedBy",+ "companyId",+ "createdBy",+ "id",+ "customFields",+ "fromDate"+ ]+ },+ {+ "name": "shift",+ "rows": 0,+ "columns": [+ "tags",+ "saturday",+ "locationId",+ "updatedBy",+ "createdBy",+ "endTime",+ "startTime",+ "companyId",+ "updatedAt",+ "customFields",+ "monday",+ "id",+ "wednesday",+ "friday",+ "sunday",+ "createdAt",+ "name",+ "active",+ "tuesday",+ "thursday"+ ]+ },+ {+ "name": "employeeJob",+ "rows": 0,+ "columns": [+ "title",+ "shiftId",+ "managerId",+ "companyId",+ "departmentId",+ "updatedBy",+ "id",+ "startDate",+ "locationId",+ "tags",+ "customFields",+ "updatedAt"+ ]+ },+ {+ "name": "employeeShift",+ "rows": 0,+ "columns": ["shiftId", "companyId", "employeeId", "id"]+ },+ {+ "name": "shippingMethod",+ "rows": 0,+ "columns": [+ "active",+ "createdBy",+ "id",+ "updatedBy",+ "createdAt",+ "updatedAt",+ "tags",+ "name",+ "trackingUrl",+ "customFields",+ "companyId",+ "carrier",+ "carrierAccountId"+ ]+ },+ {+ "name": "shippingTerm",+ "rows": 0,+ "columns": [+ "updatedBy",+ "name",+ "createdBy",+ "tags",+ "id",+ "updatedAt",+ "active",+ "companyId",+ "createdAt"+ ]+ },+ {+ "name": "slackDocumentThread",+ "rows": 0,+ "columns": [+ "createdAt",+ "documentId",+ "documentType",+ "channelId",+ "updatedBy",+ "createdBy",+ "companyId",+ "threadTs",+ "id",+ "updatedAt"+ ]+ },+ {+ "name": "stockTransfer",+ "rows": 0,+ "columns": [+ "tags",+ "locationId",+ "status",+ "createdAt",+ "assignee",+ "completedAt",+ "stockTransferId",+ "customFields",+ "createdBy",+ "updatedBy",+ "updatedAt",+ "id",+ "notes",+ "companyId"+ ]+ },+ {+ "name": "storageRule",+ "rows": 0,+ "columns": [+ "filteredItemGroupIds",+ "filteredItemMatchAll",+ "description",+ "customFields",+ "name",+ "conditionAst",+ "updatedBy",+ "message",+ "filteredItemTypes",+ "targetType",+ "companyId",+ "updatedAt",+ "appliesToAll",+ "createdBy",+ "surfaces",+ "createdAt",+ "id",+ "active",+ "severity"+ ]+ },+ {+ "name": "storageType",+ "rows": 0,+ "columns": [+ "updatedAt",+ "createdBy",+ "companyId",+ "createdAt",+ "customFields",+ "name",+ "updatedBy",+ "id"+ ]+ },+ {+ "name": "suggestion",+ "rows": 0,+ "columns": [+ "userId",+ "emoji",+ "path",+ "attachmentPath",+ "companyId",+ "suggestion",+ "tags",+ "createdAt",+ "id"+ ]+ },+ {+ "name": "supplierType",+ "rows": 0,+ "columns": [+ "updatedBy",+ "companyId",+ "protected",+ "createdAt",+ "updatedAt",+ "tags",+ "name",+ "createdBy",+ "id",+ "customFields"+ ]+ },+ {+ "name": "tableView",+ "rows": 0,+ "columns": [+ "columnPinning",+ "filters",+ "createdAt",+ "name",+ "sortOrder",+ "id",+ "columnVisibility",+ "sorts",+ "columnOrder",+ "description",+ "table",+ "createdBy",+ "updatedBy",+ "type",+ "companyId"+ ]+ },+ {+ "name": "tag",+ "rows": 0,+ "columns": [+ "name",+ "updatedBy",+ "table",+ "createdBy",+ "createdAt",+ "companyId"+ ]+ },+ {+ "name": "terms",+ "rows": 0,+ "columns": [+ "updatedBy",+ "salesTerms",+ "updatedAt",+ "id",+ "purchasingTerms"+ ]+ },+ {+ "name": "timeCardEntry",+ "rows": 0,+ "columns": [+ "autoCloseShiftId",+ "companyId",+ "clockIn",+ "clockOut",+ "updatedBy",+ "createdBy",+ "employeeId",+ "note",+ "updatedAt",+ "createdAt",+ "id"+ ]+ },+ {+ "name": "tool",+ "rows": 0,+ "columns": [+ "customFields",+ "tags",+ "approvedBy",+ "approved",+ "createdBy",+ "id",+ "updatedBy",+ "companyId",+ "createdAt",+ "updatedAt"+ ]+ },+ {+ "name": "trackedActivity",+ "rows": 0,+ "columns": [+ "type",+ "createdAt",+ "updatedBy",+ "createdBy",+ "id",+ "attributes",+ "sourceDocument",+ "sourceDocumentId",+ "companyId",+ "sourceDocumentReadableId"+ ]+ },+ {+ "name": "training",+ "rows": 0,+ "columns": [+ "status",+ "tags",+ "content",+ "id",+ "estimatedDuration",+ "type",+ "name",+ "companyId",+ "updatedAt",+ "updatedBy",+ "createdBy",+ "assignee",+ "processId",+ "frequency",+ "createdAt",+ "description",+ "version"+ ]+ },+ {+ "name": "trainingAssignment",+ "rows": 0,+ "columns": [+ "createdAt",+ "groupIds",+ "companyId",+ "updatedAt",+ "id",+ "createdBy",+ "trainingId",+ "updatedBy"+ ]+ },+ {+ "name": "trainingCompletion",+ "rows": 0,+ "columns": [+ "updatedBy",+ "createdBy",+ "trainingAssignmentId",+ "completedBy",+ "period",+ "updatedAt",+ "id",+ "createdAt",+ "employeeId",+ "companyId",+ "completedAt"+ ]+ },+ {+ "name": "trainingQuestion",+ "rows": 0,+ "columns": [+ "sortOrder",+ "tolerance",+ "createdBy",+ "updatedBy",+ "question",+ "createdAt",+ "type",+ "options",+ "correctNumber",+ "correctBoolean",+ "id",+ "required",+ "companyId",+ "trainingId",+ "updatedAt",+ "matchingPairs",+ "correctAnswers"+ ]+ },+ {+ "name": "unitOfMeasure",+ "rows": 0,+ "columns": [+ "createdAt",+ "active",+ "name",+ "companyId",+ "updatedBy",+ "customFields",+ "code",+ "createdBy",+ "id",+ "updatedAt",+ "tags"+ ]+ },+ {+ "name": "item",+ "rows": 0,+ "columns": [+ "thumbnailPath",+ "type",+ "revisionStatus",+ "modelUploadId",+ "createdAt",+ "updatedAt",+ "revision",+ "createdBy",+ "name",+ "description",+ "assignee",+ "defaultMethodType",+ "notes",+ "changeOrderId",+ "unitOfMeasureCode",+ "id",+ "replenishmentSystem",+ "embedding",+ "updatedBy",+ "companyId",+ "readableId",+ "sourcingType",+ "mpn",+ "itemTrackingType",+ "trackingMethod",+ "active"+ ]+ },+ {+ "name": "assemblyComponentMapping",+ "rows": 0,+ "columns": [+ "updatedAt",+ "createdAt",+ "modelUploadId",+ "companyId",+ "updatedBy",+ "id",+ "createdBy",+ "geometryHash",+ "itemId",+ "confidence"+ ]+ },+ {+ "name": "assemblyInstruction",+ "rows": 0,+ "columns": [+ "status",+ "customFields",+ "settings",+ "id",+ "companyId",+ "publishedAt",+ "name",+ "createdBy",+ "updatedAt",+ "rootInstructionId",+ "updatedBy",+ "tags",+ "assemblyPlanJobId",+ "version",+ "createdAt",+ "modelUploadId",+ "itemId"+ ]+ },+ {+ "name": "assemblyInstructionStep",+ "rows": 0,+ "columns": [+ "companyId",+ "unitOfMeasureCode",+ "instructionText",+ "buildWave",+ "status",+ "listValues",+ "assemblyInstructionId",+ "componentNodeIds",+ "createdBy",+ "type",+ "updatedBy",+ "minValue",+ "id",+ "required",+ "durationSeconds",+ "description",+ "updatedAt",+ "explode",+ "camera",+ "sortOrder",+ "parentStepId",+ "fileTypes",+ "warnings",+ "notes",+ "createdAt",+ "motion",+ "title",+ "fastener",+ "maxValue",+ "planConfidence"+ ]+ },+ {+ "name": "assemblyInstructionStepMaterial",+ "rows": 0,+ "columns": [+ "sortOrder",+ "createdBy",+ "quantity",+ "itemId",+ "companyId",+ "id",+ "updatedBy",+ "createdAt",+ "updatedAt",+ "stepId"+ ]+ },+ {+ "name": "assemblyInstructionStepSlide",+ "rows": 0,+ "columns": [+ "size",+ "modelUploadId",+ "imagePath",+ "updatedBy",+ "caption",+ "annotations",+ "createdBy",+ "stepId",+ "updatedAt",+ "sortOrder",+ "id",+ "companyId",+ "createdAt"+ ]+ },+ {+ "name": "assemblyInstructionStepTool",+ "rows": 0,+ "columns": [+ "id",+ "updatedBy",+ "companyId",+ "stepId",+ "createdAt",+ "updatedAt",+ "sortOrder",+ "quantity",+ "itemId",+ "createdBy"+ ]+ },+ {+ "name": "assemblyUnit",+ "rows": 0,+ "columns": [+ "itemId",+ "componentNodeIds",+ "name",+ "createdBy",+ "id",+ "updatedBy",+ "sourceGroupId",+ "companyId",+ "modelUploadId",+ "createdAt",+ "updatedAt"+ ]+ },+ {+ "name": "batchProperty",+ "rows": 0,+ "columns": [+ "sortOrder",+ "updatedBy",+ "createdBy",+ "id",+ "updatedAt",+ "createdAt",+ "itemId",+ "listOptions",+ "companyId",+ "label",+ "dataType"+ ]+ },+ {+ "name": "changeOrderSupersession",+ "rows": 0,+ "columns": [+ "updatedBy",+ "supersessionMode",+ "successorEffectivityDate",+ "predecessorItemId",+ "successorItemId",+ "discontinuationDate",+ "updatedAt",+ "createdAt",+ "id",+ "createdBy",+ "companyId",+ "changeOrderId"+ ]+ },+ {+ "name": "configurationParameterGroup",+ "rows": 0,+ "columns": [+ "itemId",+ "companyId",+ "id",+ "sortOrder",+ "name",+ "isUngrouped"+ ]+ },+ {+ "name": "configurationParameter",+ "rows": 0,+ "columns": [+ "updatedAt",+ "dataType",+ "label",+ "materialFormFilterId",+ "key",+ "configurationParameterGroupId",+ "createdBy",+ "companyId",+ "id",+ "listOptions",+ "itemId",+ "updatedBy",+ "createdAt",+ "sortOrder"+ ]+ },+ {+ "name": "configurationRule",+ "rows": 0,+ "columns": [+ "itemId",+ "updatedBy",+ "field",+ "updatedAt",+ "companyId",+ "code"+ ]+ },+ {+ "name": "demandForecast",+ "rows": 0,+ "columns": [+ "periodId",+ "forecastQuantity",+ "notes",+ "forecastMethod",+ "updatedBy",+ "locationId",+ "companyId",+ "createdAt",+ "createdBy",+ "itemId",+ "updatedAt",+ "confidence"+ ]+ },+ {+ "name": "demandProjection",+ "rows": 0,+ "columns": [+ "updatedBy",+ "forecastMethod",+ "notes",+ "forecastQuantity",+ "periodId",+ "confidence",+ "updatedAt",+ "itemId",+ "createdBy",+ "createdAt",+ "companyId",+ "locationId",+ "id"+ ]+ },+ {+ "name": "inspectionDocument",+ "rows": 0,+ "columns": [+ "updatedAt",+ "samplingSeverity",+ "samplingSampleSize",+ "version",+ "samplingInspectionLevel",+ "createdBy",+ "fileName",+ "drawingNumber",+ "partId",+ "updatedBy",+ "samplingAql",+ "samplingPercentage",+ "storagePath",+ "id",+ "defaultPageWidth",+ "uploadedBy",+ "pageCount",+ "defaultPageHeight",+ "samplingPlanType",+ "createdAt",+ "companyId"+ ]+ },+ {+ "name": "inspectionFeature",+ "rows": 0,+ "columns": [+ "inspectionDocumentId",+ "updatedBy",+ "samplingPlanType",+ "unit",+ "tolerancePlus",+ "createdBy",+ "toleranceMinus",+ "id",+ "description",+ "samplingPercentage",+ "samplingAql",+ "companyId",+ "updatedAt",+ "pageNumber",+ "nominalValue",+ "createdAt",+ "samplingInspectionLevel",+ "label",+ "samplingSampleSize",+ "type",+ "samplingSeverity"+ ]+ },+ {+ "name": "balloon",+ "rows": 0,+ "columns": [+ "regionY",+ "updatedBy",+ "companyId",+ "inspectionFeatureId",+ "updatedAt",+ "createdBy",+ "pageNumber",+ "xCoordinate",+ "regionWidth",+ "inspectionDocumentId",+ "createdAt",+ "regionX",+ "yCoordinate",+ "regionHeight",+ "id"+ ]+ },+ {+ "name": "inventoryCountLine",+ "rows": 0,+ "columns": [+ "createdBy",+ "updatedBy",+ "locationId",+ "countedBy",+ "trackedEntityId",+ "inventoryCountId",+ "postedItemLedgerId",+ "itemId",+ "customFields",+ "updatedAt",+ "storageUnitId",+ "systemQuantity",+ "id",+ "readableId",+ "countedQuantity",+ "createdAt",+ "countedAt",+ "companyId"+ ]+ },+ {+ "name": "itemCost",+ "rows": 0,+ "columns": [+ "itemPostingGroupId",+ "tags",+ "createdBy",+ "updatedBy",+ "itemId",+ "createdAt",+ "updatedAt",+ "costIsAdjusted",+ "standardCost",+ "costingMethod",+ "companyId",+ "customFields",+ "unitCost"+ ]+ },+ {+ "name": "itemInspectionDocumentAssignment",+ "rows": 0,+ "columns": [+ "updatedAt",+ "usage",+ "createdAt",+ "itemId",+ "updatedBy",+ "inspectionDocumentId",+ "companyId",+ "createdBy"+ ]+ },+ {+ "name": "itemPlanning",+ "rows": 0,+ "columns": [+ "companyId",+ "locationId",+ "minimumOrderQuantity",+ "reorderPoint",+ "demandAccumulationSafetyStock",+ "itemId",+ "demandAccumulationIncludesInventory",+ "reorderQuantity",+ "minimumReserveQuantity",+ "critical",+ "maximumOrderQuantity",+ "reorderingPolicy",+ "createdAt",+ "updatedBy",+ "maximumInventoryQuantity",+ "demandAccumulationPeriod",+ "tags",+ "updatedAt",+ "createdBy",+ "orderMultiple",+ "customFields"+ ]+ },+ {+ "name": "itemSerialSequence",+ "rows": 0,+ "columns": [+ "companyId",+ "step",+ "createdAt",+ "createdBy",+ "id",+ "updatedBy",+ "next",+ "itemId",+ "prefix",+ "size",+ "updatedAt",+ "suffix"+ ]+ },+ {+ "name": "itemShelfLife",+ "rows": 0,+ "columns": [+ "createdAt",+ "updatedAt",+ "mode",+ "companyId",+ "itemId",+ "updatedBy",+ "customFields",+ "createdBy",+ "triggerProcessId",+ "days",+ "triggerTiming",+ "calculateFromBom"+ ]+ },+ {+ "name": "itemSupersession",+ "rows": 0,+ "columns": [+ "createdBy",+ "updatedBy",+ "companyId",+ "successorEffectivityDate",+ "itemId",+ "createdAt",+ "updatedAt",+ "conversionFactor",+ "successorItemId",+ "supersessionMode",+ "discontinuationDate"+ ]+ },+ {+ "name": "itemUnitSalePrice",+ "rows": 0,+ "columns": [+ "companyId",+ "createdAt",+ "customFields",+ "unitSalePrice",+ "priceIncludesTax",+ "createdBy",+ "itemId",+ "updatedBy",+ "allowInvoiceDiscount",+ "currencyCode",+ "tags",+ "salesUnitOfMeasureCode",+ "salesBlocked",+ "updatedAt"+ ]+ },+ {+ "name": "makeMethod",+ "rows": 0,+ "columns": [+ "id",+ "tags",+ "status",+ "updatedAt",+ "itemId",+ "customFields",+ "version",+ "changeOrderId",+ "createdBy",+ "createdAt",+ "companyId",+ "updatedBy"+ ]+ },+ {+ "name": "changeOrderAffectedItem",+ "rows": 0,+ "columns": [+ "newItemId",+ "id",+ "discontinuationDate",+ "draftMakeMethodId",+ "changeOrderId",+ "companyId",+ "updatedAt",+ "successorEffectivityDate",+ "supersessionMode",+ "changeSummary",+ "changeType",+ "updatedBy",+ "createdBy",+ "sortOrder",+ "itemId",+ "createdAt",+ "baseMakeMethodId"+ ]+ },+ {+ "name": "nonConformanceItem",+ "rows": 0,+ "columns": [+ "updatedBy",+ "quantity",+ "nonConformanceId",+ "createdBy",+ "disposition",+ "id",+ "updatedAt",+ "itemId",+ "companyId",+ "createdAt"+ ]+ },+ {+ "name": "onshapeItemSyncState",+ "rows": 0,+ "columns": [+ "partNumber",+ "error",+ "documentId",+ "companyId",+ "releaseState",+ "source",+ "revision",+ "id",+ "observedOnly",+ "updatedAt",+ "skipReason",+ "runId",+ "documentPath",+ "assetKind",+ "itemId",+ "versionId",+ "createdAt",+ "elementId",+ "modelUploadId",+ "status",+ "createdBy",+ "revisionId",+ "updatedBy"+ ]+ },+ {+ "name": "procedureStep",+ "rows": 0,+ "columns": [+ "updatedAt",+ "companyId",+ "procedureId",+ "unitOfMeasureCode",+ "maxValue",+ "id",+ "minValue",+ "listValues",+ "sortOrder",+ "createdAt",+ "name",+ "description",+ "type",+ "required",+ "fileTypes",+ "createdBy",+ "updatedBy"+ ]+ },+ {+ "name": "purchasingRfqLine",+ "rows": 0,+ "columns": [+ "inventoryUnitOfMeasureCode",+ "createdAt",+ "itemId",+ "description",+ "createdBy",+ "updatedBy",+ "quantity",+ "companyId",+ "conversionFactor",+ "internalNotes",+ "updatedAt",+ "customFields",+ "purchasingRfqId",+ "purchaseUnitOfMeasureCode",+ "order",+ "id",+ "externalNotes"+ ]+ },+ {+ "name": "qualityDocumentStep",+ "rows": 0,+ "columns": [+ "unitOfMeasureCode",+ "maxValue",+ "updatedAt",+ "qualityDocumentId",+ "companyId",+ "sortOrder",+ "id",+ "minValue",+ "listValues",+ "type",+ "description",+ "name",+ "createdAt",+ "updatedBy",+ "createdBy",+ "fileTypes",+ "required"+ ]+ },+ {+ "name": "riskRegister",+ "rows": 0,+ "columns": [+ "source",+ "createdBy",+ "notes",+ "updatedBy",+ "title",+ "updatedAt",+ "description",+ "severity",+ "assignee",+ "itemId",+ "id",+ "sourceId",+ "createdAt",+ "companyId",+ "type",+ "status",+ "likelihood"+ ]+ },+ {+ "name": "storageRuleItemAssignment",+ "rows": 0,+ "columns": [+ "ruleId",+ "updatedBy",+ "itemId",+ "companyId",+ "createdBy",+ "createdAt"+ ]+ },+ {+ "name": "trackedEntity",+ "rows": 0,+ "columns": [+ "sourceDocumentReadableId",+ "createdAt",+ "id",+ "readableId",+ "companyId",+ "createdBy",+ "quantity",+ "expirationDate",+ "itemId",+ "sourceDocumentId",+ "attributes",+ "status",+ "updatedBy",+ "sourceDocument"+ ]+ },+ {+ "name": "nonConformanceItemTrackedEntity",+ "rows": 0,+ "columns": [+ "quantity",+ "createdAt",+ "trackedEntityId",+ "nonConformanceId",+ "companyId",+ "id",+ "updatedAt",+ "updatedBy",+ "createdBy",+ "nonConformanceItemId"+ ]+ },+ {+ "name": "nonConformanceTrackedEntity",+ "rows": 0,+ "columns": [+ "id",+ "createdBy",+ "nonConformanceId",+ "updatedBy",+ "createdAt",+ "companyId",+ "trackedEntityId",+ "updatedAt"+ ]+ },+ {+ "name": "trackedActivityInput",+ "rows": 0,+ "columns": [+ "trackedActivityId",+ "createdAt",+ "trackedEntityId",+ "updatedBy",+ "companyId",+ "quantity",+ "createdBy"+ ]+ },+ {+ "name": "trackedActivityOutput",+ "rows": 0,+ "columns": [+ "updatedBy",+ "companyId",+ "quantity",+ "createdAt",+ "trackedEntityId",+ "createdBy",+ "trackedActivityId"+ ]+ },+ {+ "name": "userAttributeCategory",+ "rows": 0,+ "columns": [+ "id",+ "updatedAt",+ "emoji",+ "active",+ "name",+ "createdBy",+ "updatedBy",+ "companyId",+ "protected",+ "public",+ "createdAt"+ ]+ },+ {+ "name": "userAttribute",+ "rows": 0,+ "columns": [+ "listOptions",+ "id",+ "createdAt",+ "updatedAt",+ "active",+ "createdBy",+ "name",+ "updatedBy",+ "attributeDataTypeId",+ "canSelfManage",+ "userAttributeCategoryId",+ "sortOrder"+ ]+ },+ {+ "name": "userAttributeValue",+ "rows": 0,+ "columns": [+ "valueDate",+ "updatedBy",+ "valueText",+ "valueBoolean",+ "userId",+ "valueNumeric",+ "updatedAt",+ "id",+ "createdAt",+ "createdBy",+ "valueUser",+ "valueFile",+ "userAttributeId"+ ]+ },+ {+ "name": "userModulePreference",+ "rows": 0,+ "columns": [+ "companyId",+ "module",+ "updatedAt",+ "position",+ "userId",+ "id",+ "hidden"+ ]+ },+ {+ "name": "userToCompany",+ "rows": 0,+ "columns": ["companyId", "userId", "role"]+ },+ {+ "name": "warehouse",+ "rows": 0,+ "columns": [+ "updatedAt",+ "locationId",+ "requiresPick",+ "requiresReceive",+ "requiresPutAway",+ "createdAt",+ "updatedBy",+ "name",+ "requiresShipment",+ "companyId",+ "active",+ "id",+ "createdBy",+ "requiresBin"+ ]+ },+ {+ "name": "warehouseTransfer",+ "rows": 0,+ "columns": [+ "toLocationId",+ "fromLocationId",+ "updatedAt",+ "expectedReceiptDate",+ "status",+ "createdAt",+ "customFields",+ "tags",+ "updatedBy",+ "transferId",+ "notes",+ "companyId",+ "id",+ "reference",+ "createdBy",+ "transferDate"+ ]+ },+ {+ "name": "workCenter",+ "rows": 0,+ "columns": [+ "description",+ "createdAt",+ "tags",+ "overheadRate",+ "defaultStandardFactor",+ "laborRate",+ "departmentId",+ "customFields",+ "updatedBy",+ "machineRate",+ "updatedAt",+ "createdBy",+ "name",+ "locationId",+ "active",+ "id",+ "requiredAbilityId",+ "companyId"+ ]+ },+ {+ "name": "maintenanceSchedule",+ "rows": 0,+ "columns": [+ "thursday",+ "wednesday",+ "workCenterId",+ "description",+ "updatedBy",+ "skipHolidays",+ "estimatedDuration",+ "frequency",+ "friday",+ "createdBy",+ "sunday",+ "saturday",+ "updatedAt",+ "tuesday",+ "createdAt",+ "name",+ "monday",+ "locationId",+ "nextDueAt",+ "active",+ "companyId",+ "id",+ "lastGeneratedAt",+ "procedureId",+ "priority"+ ]+ },+ {+ "name": "maintenanceDispatch",+ "rows": 0,+ "columns": [+ "createdAt",+ "companyId",+ "plannedStartTime",+ "priority",+ "nonConformanceId",+ "actualEndTime",+ "createdBy",+ "status",+ "content",+ "actualStartTime",+ "completedAt",+ "assignee",+ "locationId",+ "updatedBy",+ "id",+ "maintenanceScheduleId",+ "severity",+ "actualFailureModeId",+ "source",+ "oeeImpact",+ "maintenanceDispatchId",+ "plannedEndTime",+ "workCenterId",+ "procedureId",+ "suspectedFailureModeId",+ "updatedAt"+ ]+ },+ {+ "name": "maintenanceDispatchComment",+ "rows": 0,+ "columns": [+ "createdBy",+ "updatedBy",+ "comment",+ "companyId",+ "createdAt",+ "id",+ "updatedAt",+ "maintenanceDispatchId"+ ]+ },+ {+ "name": "maintenanceDispatchEvent",+ "rows": 0,+ "columns": [+ "notes",+ "employeeId",+ "workCenterId",+ "updatedBy",+ "startTime",+ "createdBy",+ "maintenanceDispatchId",+ "updatedAt",+ "endTime",+ "companyId",+ "id",+ "createdAt"+ ]+ },+ {+ "name": "maintenanceDispatchItem",+ "rows": 0,+ "columns": [+ "unitCost",+ "createdBy",+ "id",+ "updatedBy",+ "companyId",+ "createdAt",+ "maintenanceDispatchId",+ "updatedAt",+ "unitOfMeasureCode",+ "itemId",+ "quantity"+ ]+ },+ {+ "name": "maintenanceDispatchItemTrackedEntity",+ "rows": 0,+ "columns": [+ "createdAt",+ "quantity",+ "trackedEntityId",+ "companyId",+ "updatedBy",+ "maintenanceDispatchItemId",+ "createdBy",+ "id",+ "updatedAt"+ ]+ },+ {+ "name": "maintenanceDispatchWorkCenter",+ "rows": 0,+ "columns": [+ "createdBy",+ "updatedBy",+ "companyId",+ "workCenterId",+ "createdAt",+ "id",+ "updatedAt",+ "maintenanceDispatchId"+ ]+ },+ {+ "name": "maintenanceScheduleItem",+ "rows": 0,+ "columns": [+ "unitOfMeasureCode",+ "createdBy",+ "itemId",+ "quantity",+ "companyId",+ "updatedBy",+ "id",+ "createdAt",+ "updatedAt",+ "maintenanceScheduleId"+ ]+ },+ {+ "name": "storageRuleWorkCenterAssignment",+ "rows": 0,+ "columns": [+ "ruleId",+ "workCenterId",+ "updatedBy",+ "createdBy",+ "companyId",+ "createdAt"+ ]+ },+ {+ "name": "storageUnit",+ "rows": 0,+ "columns": [+ "createdAt",+ "warehouseId",+ "storageTypeIds",+ "active",+ "workCenterId",+ "companyId",+ "tags",+ "customFields",+ "updatedBy",+ "parentId",+ "locationId",+ "isWorkCenterDefault",+ "createdBy",+ "name",+ "updatedAt",+ "id"+ ]+ },+ {+ "name": "itemLedger",+ "rows": 0,+ "columns": [+ "documentLineId",+ "companyId",+ "entryNumber",+ "itemId",+ "scrapReasonId",+ "locationId",+ "id",+ "storageUnitId",+ "documentId",+ "entryType",+ "postingDate",+ "createdAt",+ "trackedEntityId",+ "correctionOfItemLedgerId",+ "externalDocumentId",+ "updatedBy",+ "documentType",+ "comment",+ "quantity",+ "trackedEntityStatus",+ "createdBy"+ ]+ },+ {+ "name": "pickMethod",+ "rows": 0,+ "columns": [+ "createdAt",+ "customFields",+ "itemId",+ "sortMethod",+ "updatedAt",+ "locationId",+ "createdBy",+ "updatedBy",+ "defaultStorageUnitId",+ "companyId"+ ]+ },+ {+ "name": "warehouseTransferLine",+ "rows": 0,+ "columns": [+ "customFields",+ "quantity",+ "createdBy",+ "itemId",+ "fromLocationId",+ "notes",+ "shippedQuantity",+ "updatedAt",+ "createdAt",+ "transferId",+ "companyId",+ "updatedBy",+ "toStorageUnitId",+ "fromStorageUnitId",+ "unitOfMeasureCode",+ "id",+ "toLocationId",+ "receivedQuantity"+ ]+ },+ {+ "name": "workCenterProcess",+ "rows": 0,+ "columns": [+ "workCenterId",+ "updatedBy",+ "processId",+ "createdAt",+ "createdBy",+ "companyId",+ "updatedAt"+ ]+ },+ {+ "name": "workCenterReplacementPart",+ "rows": 0,+ "columns": [+ "createdBy",+ "itemId",+ "quantity",+ "unitOfMeasureCode",+ "updatedAt",+ "createdAt",+ "workCenterId",+ "companyId",+ "updatedBy",+ "id"+ ]+ },+ {+ "name": "contractor",+ "rows": 0,+ "columns": [+ "createdAt",+ "id",+ "customFields",+ "tags",+ "updatedAt",+ "hoursPerWeek",+ "createdBy",+ "updatedBy",+ "companyId",+ "active"+ ]+ },+ {+ "name": "contractorAbility",+ "rows": 0,+ "columns": [+ "createdAt",+ "createdBy",+ "companyId",+ "abilityId",+ "contractorId",+ "updatedBy"+ ]+ },+ {+ "name": "costLedger",+ "rows": 0,+ "columns": [+ "documentType",+ "itemLedgerType",+ "postingDate",+ "nominalCost",+ "remainingQuantity",+ "appliesToCostLedgerId",+ "supplierId",+ "companyId",+ "quantity",+ "costLedgerType",+ "documentId",+ "itemId",+ "createdAt",+ "entryNumber",+ "cost",+ "adjustment",+ "id",+ "externalDocumentId"+ ]+ },+ {+ "name": "customer",+ "rows": 0,+ "columns": [+ "fax",+ "currencyCode",+ "tags",+ "taxPercent",+ "updatedAt",+ "embedding",+ "salesContactId",+ "logo",+ "website",+ "customerStatusId",+ "customerTypeId",+ "customFields",+ "defaultCc",+ "accountManagerId",+ "intercompanyCompanyId",+ "createdBy",+ "id",+ "companyId",+ "createdAt",+ "assignee",+ "readableId",+ "name",+ "updatedBy",+ "phone"+ ]+ },+ {+ "name": "customerAccount",+ "rows": 0,+ "columns": ["customerId", "id", "active", "companyId"]+ },+ {+ "name": "customerItemPriceOverride",+ "rows": 0,+ "columns": [+ "customerTypeId",+ "updatedAt",+ "itemId",+ "validTo",+ "notes",+ "createdAt",+ "updatedBy",+ "customerId",+ "companyId",+ "active",+ "createdBy",+ "applyRulesOnTop",+ "id",+ "validFrom"+ ]+ },+ {+ "name": "customerItemPriceOverrideBreak",+ "rows": 0,+ "columns": [+ "id",+ "updatedBy",+ "companyId",+ "customerItemPriceOverrideId",+ "createdAt",+ "updatedAt",+ "active",+ "overridePrice",+ "quantity",+ "createdBy"+ ]+ },+ {+ "name": "customerLocation",+ "rows": 0,+ "columns": [+ "customerId",+ "companyId",+ "id",+ "tags",+ "customFields",+ "addressId",+ "name"+ ]+ },+ {+ "name": "customerContact",+ "rows": 0,+ "columns": [+ "contactId",+ "customerLocationId",+ "tags",+ "userId",+ "customerId",+ "companyId",+ "id",+ "customFields"+ ]+ },+ {+ "name": "customerPartToItem",+ "rows": 0,+ "columns": [+ "companyId",+ "itemId",+ "customerPartRevision",+ "customerId",+ "id",+ "customerPartId"+ ]+ },+ {+ "name": "customerPayment",+ "rows": 0,+ "columns": [+ "invoiceCustomerId",+ "updatedAt",+ "customerId",+ "updatedBy",+ "invoiceCustomerContactId",+ "invoiceCustomerLocationId",+ "companyId",+ "paymentTermId"+ ]+ },+ {+ "name": "customerShipping",+ "rows": 0,+ "columns": [+ "incotermLocation",+ "updatedBy",+ "customerId",+ "shippingMethodId",+ "shippingCustomerId",+ "incoterm",+ "updatedAt",+ "shippingTermId",+ "shippingCustomerLocationId",+ "shippingCustomerContactId",+ "companyId"+ ]+ },+ {+ "name": "customerTax",+ "rows": 0,+ "columns": [+ "taxExemptionCertificateNumber",+ "eori",+ "vatNumber",+ "taxExempt",+ "taxExemptionCertificatePath",+ "updatedAt",+ "taxId",+ "taxExemptionReason",+ "customerId",+ "companyId",+ "updatedBy"+ ]+ },+ {+ "name": "fixture",+ "rows": 0,+ "columns": [+ "itemId",+ "tags",+ "updatedBy",+ "createdBy",+ "updatedAt",+ "id",+ "createdAt",+ "customFields",+ "approved",+ "customerId",+ "companyId",+ "approvedBy"+ ]+ },+ {+ "name": "nonConformanceCustomer",+ "rows": 0,+ "columns": [+ "id",+ "createdBy",+ "nonConformanceId",+ "updatedBy",+ "createdAt",+ "customerId",+ "companyId",+ "updatedAt"+ ]+ },+ {+ "name": "opportunity",+ "rows": 0,+ "columns": [+ "companyId",+ "requestForQuoteDocumentPath",+ "purchaseOrderDocumentPath",+ "id",+ "customerId"+ ]+ },+ {+ "name": "salesOrder",+ "rows": 0,+ "columns": [+ "customFields",+ "salesOrderId",+ "companyId",+ "completedDate",+ "customerId",+ "customerEngineeringContactId",+ "customerContactId",+ "externalNotes",+ "customerLocationId",+ "id",+ "customerReference",+ "sentCompleteDate",+ "internalNotes",+ "revisionId",+ "closedAt",+ "status",+ "createdBy",+ "updatedAt",+ "opportunityId",+ "currencyCode",+ "exchangeRateUpdatedAt",+ "exchangeRate",+ "assignee",+ "updatedBy",+ "orderDate",+ "createdAt",+ "salesPersonId",+ "locationId",+ "closedBy"+ ]+ },+ {+ "name": "salesOrderFavorite",+ "rows": 0,+ "columns": ["userId", "salesOrderId"]+ },+ {+ "name": "salesOrderLine",+ "rows": 0,+ "columns": [+ "invoicedComplete",+ "addOnCost",+ "companyId",+ "pricingRuleId",+ "unitOfMeasureCode",+ "updatedBy",+ "storageUnitId",+ "sentComplete",+ "setupPrice",+ "internalNotes",+ "itemId",+ "unitPrice",+ "salesOrderLineType",+ "methodType",+ "createdAt",+ "shippingCost",+ "nonTaxableAddOnCost",+ "assetId",+ "status",+ "taxPercent",+ "customFields",+ "priceTrace",+ "quantitySent",+ "sortOrder",+ "id",+ "saleQuantity",+ "updatedAt",+ "quantityInvoiced",+ "externalNotes",+ "salesOrderId",+ "locationId",+ "createdBy",+ "sentDate",+ "exchangeRate",+ "accountId",+ "promisedDate",+ "description",+ "modelUploadId"+ ]+ },+ {+ "name": "nonConformanceSalesOrderLine",+ "rows": 0,+ "columns": [+ "createdAt",+ "salesOrderLineId",+ "salesOrderId",+ "salesOrderReadableId",+ "updatedBy",+ "createdBy",+ "nonConformanceId",+ "companyId",+ "updatedAt",+ "id"+ ]+ },+ {+ "name": "salesOrderPayment",+ "rows": 0,+ "columns": [+ "companyId",+ "updatedBy",+ "invoiceCustomerId",+ "paymentComplete",+ "updatedAt",+ "id",+ "customFields",+ "invoiceCustomerLocationId",+ "invoiceCustomerContactId",+ "paymentTermId"+ ]+ },+ {+ "name": "salesOrderShipment",+ "rows": 0,+ "columns": [+ "supplierId",+ "locationId",+ "updatedBy",+ "dropShipment",+ "notes",+ "customerId",+ "id",+ "trackingNumber",+ "receiptPromisedDate",+ "assignee",+ "customFields",+ "shippingTermId",+ "supplierLocationId",+ "shippingMethodId",+ "deliveryDate",+ "receiptRequestedDate",+ "shippingCost",+ "customerLocationId",+ "incotermLocation",+ "companyId",+ "incoterm",+ "updatedAt"+ ]+ },+ {+ "name": "salesOrderStatusHistory",+ "rows": 0,+ "columns": [+ "updatedBy",+ "status",+ "createdAt",+ "createdBy",+ "salesOrderId",+ "companyId",+ "id"+ ]+ },+ {+ "name": "salesOrderTransaction",+ "rows": 0,+ "columns": [+ "companyId",+ "id",+ "salesOrderId",+ "createdAt",+ "userId",+ "type"+ ]+ },+ {+ "name": "salesRfq",+ "rows": 0,+ "columns": [+ "customFields",+ "rfqId",+ "locationId",+ "completedDate",+ "customerEngineeringContactId",+ "customerReference",+ "expirationDate",+ "internalNotes",+ "rfqDate",+ "id",+ "noQuoteReasonId",+ "customerId",+ "salesPersonId",+ "assignee",+ "revisionId",+ "status",+ "createdBy",+ "updatedAt",+ "opportunityId",+ "customerContactId",+ "externalNotes",+ "updatedBy",+ "employeeId",+ "createdAt",+ "tags",+ "customerLocationId",+ "companyId"+ ]+ },+ {+ "name": "salesRfqFavorite",+ "rows": 0,+ "columns": ["userId", "rfqId"]+ },+ {+ "name": "salesRfqLine",+ "rows": 0,+ "columns": [+ "externalNotes",+ "id",+ "order",+ "description",+ "customFields",+ "salesRfqId",+ "updatedAt",+ "internalNotes",+ "unitOfMeasureCode",+ "itemId",+ "customerPartRevision",+ "companyId",+ "tags",+ "createdBy",+ "updatedBy",+ "customerPartId",+ "modelUploadId",+ "createdAt",+ "quantity"+ ]+ },+ {+ "name": "externalLink",+ "rows": 0,+ "columns": [+ "documentId",+ "customerId",+ "companyId",+ "createdAt",+ "documentType",+ "supplierId",+ "id",+ "expiresAt"+ ]+ },+ {+ "name": "quote",+ "rows": 0,+ "columns": [+ "currencyCode",+ "expirationDate",+ "exchangeRateUpdatedAt",+ "customerId",+ "id",+ "salesPersonId",+ "internalNotes",+ "estimatorId",+ "digitalQuoteRejectedByEmail",+ "digitalQuoteAcceptedByEmail",+ "digitalQuoteAcceptedBy",+ "customerContactId",+ "quoteId",+ "opportunityId",+ "assignee",+ "updatedAt",+ "locationId",+ "exchangeRate",+ "customFields",+ "dueDate",+ "createdBy",+ "customerLocationId",+ "tags",+ "updatedBy",+ "digitalQuoteRejectedBy",+ "externalNotes",+ "customerEngineeringContactId",+ "status",+ "completedDate",+ "externalLinkId",+ "createdAt",+ "companyId",+ "customerReference",+ "revisionId"+ ]+ },+ {+ "name": "job",+ "rows": 0,+ "columns": [+ "salesOrderId",+ "quantityComplete",+ "jobId",+ "actualTime",+ "tags",+ "configuration",+ "dueDate",+ "companyId",+ "quantity",+ "estimatedTime",+ "deadlineType",+ "id",+ "priority",+ "storageUnitId",+ "scrapQuantity",+ "updatedAt",+ "locationId",+ "createdAt",+ "quantityShipped",+ "itemId",+ "unitOfMeasureCode",+ "quoteLineId",+ "quoteId",+ "status",+ "startDate",+ "customFields",+ "updatedBy",+ "completedDate",+ "assignee",+ "customerId",+ "releasedDate",+ "modelUploadId",+ "notes",+ "quantityReceivedToInventory",+ "salesOrderLineId",+ "createdBy"+ ]+ },+ {+ "name": "fulfillment",+ "rows": 0,+ "columns": [+ "createdAt",+ "type",+ "quantity",+ "jobId",+ "createdBy",+ "salesOrderLineId",+ "companyId",+ "updatedBy",+ "id"+ ]+ },+ {+ "name": "jobFavorite",+ "rows": 0,+ "columns": ["jobId", "userId"]+ },+ {+ "name": "quoteFavorite",+ "rows": 0,+ "columns": ["quoteId", "userId"]+ },+ {+ "name": "quoteLine",+ "rows": 0,+ "columns": [+ "locationId",+ "externalNotes",+ "sortOrder",+ "status",+ "quoteRevisionId",+ "internalNotes",+ "customFields",+ "updatedBy",+ "companyId",+ "quantity",+ "tags",+ "updatedAt",+ "additionalCharges",+ "estimatorId",+ "modelUploadId",+ "priceTrace",+ "methodType",+ "itemType",+ "pricingRuleId",+ "configuration",+ "noQuoteReason",+ "customerPartId",+ "createdBy",+ "unitOfMeasureCode",+ "quoteId",+ "itemId",+ "taxPercent",+ "id",+ "description",+ "unitPricePrecision",+ "customerPartRevision"+ ]+ },+ {+ "name": "quoteLinePrice",+ "rows": 0,+ "columns": [+ "priceSource",+ "createdAt",+ "companyId",+ "updatedBy",+ "quoteId",+ "categoryMarkups",+ "leadTime",+ "createdBy",+ "discountPercent",+ "quantity",+ "unitPrice",+ "quoteLineId",+ "shippingCost",+ "exchangeRate",+ "updatedAt"+ ]+ },+ {+ "name": "quotePayment",+ "rows": 0,+ "columns": [+ "invoiceCustomerLocationId",+ "invoiceCustomerContactId",+ "companyId",+ "paymentTermId",+ "invoiceCustomerId",+ "updatedAt",+ "customFields",+ "updatedBy",+ "id"+ ]+ },+ {+ "name": "quoteShipment",+ "rows": 0,+ "columns": [+ "incoterm",+ "id",+ "shippingCost",+ "companyId",+ "locationId",+ "updatedAt",+ "incotermLocation",+ "receiptRequestedDate",+ "shippingTermId",+ "shippingMethodId",+ "updatedBy"+ ]+ },+ {+ "name": "gauge",+ "rows": 0,+ "columns": [+ "gaugeTypeId",+ "gaugeStatus",+ "storageUnitId",+ "gaugeId",+ "lastCalibrationDate",+ "description",+ "gaugeCalibrationStatus",+ "id",+ "gaugeRole",+ "dateAcquired",+ "lastCalibrationStatus",+ "nextCalibrationDate",+ "supplierId",+ "modelNumber",+ "customFields",+ "createdAt",+ "companyId",+ "locationId",+ "updatedAt",+ "updatedBy",+ "calibrationIntervalInMonths",+ "createdBy",+ "serialNumber"+ ]+ },+ {+ "name": "gaugeCalibrationRecord",+ "rows": 0,+ "columns": [+ "approvedBy",+ "measurementStandard",+ "inspectionStatus",+ "dateCalibrated",+ "updatedBy",+ "requiresRepair",+ "calibrationAttempts",+ "createdBy",+ "requiresAction",+ "humidity",+ "supplierId",+ "gaugeId",+ "updatedAt",+ "temperature",+ "companyId",+ "notes",+ "createdAt",+ "id",+ "customFields",+ "requiresAdjustment"+ ]+ },+ {+ "name": "inspection",+ "rows": 0,+ "columns": [+ "createdAt",+ "supplierId",+ "sourceDocument",+ "notes",+ "status",+ "aql",+ "dispositionedAt",+ "inspectionLevel",+ "updatedBy",+ "codeLetter",+ "itemId",+ "dispositionedBy",+ "acceptanceNumber",+ "sourceDocumentReadableId",+ "companyId",+ "createdBy",+ "samplingPlanType",+ "lotSize",+ "sourceDocumentLineId",+ "sourceDocumentId",+ "rejectionNumber",+ "inspectionId",+ "severity",+ "updatedAt",+ "itemReadableId",+ "inspectionDocumentId",+ "sampleSize",+ "id",+ "samplingStandard"+ ]+ },+ {+ "name": "inspectionSample",+ "rows": 0,+ "columns": [+ "createdBy",+ "companyId",+ "inspectionId",+ "inspectedBy",+ "updatedAt",+ "createdAt",+ "id",+ "inspectedAt",+ "trackedEntityId",+ "status",+ "notes",+ "updatedBy"+ ]+ },+ {+ "name": "inspectionMeasurement",+ "rows": 0,+ "columns": [+ "id",+ "inspectedAt",+ "createdBy",+ "status",+ "inspectionId",+ "updatedBy",+ "inspectedBy",+ "companyId",+ "createdAt",+ "value",+ "inspectionFeatureId",+ "updatedAt",+ "inspectionSampleId",+ "notes"+ ]+ },+ {+ "name": "inspectionSamplingPlan",+ "rows": 0,+ "columns": [+ "id",+ "createdBy",+ "updatedBy",+ "rejectionNumber",+ "inspectionId",+ "companyId",+ "createdAt",+ "acceptanceNumber",+ "updatedAt",+ "sampleSize",+ "inspectionFeatureId",+ "codeLetter"+ ]+ },+ {+ "name": "nonConformanceInspection",+ "rows": 0,+ "columns": [+ "companyId",+ "inspectionId",+ "updatedBy",+ "createdAt",+ "nonConformanceId",+ "id",+ "createdBy"+ ]+ },+ {+ "name": "inspectionHistory",+ "rows": 0,+ "columns": [+ "severity",+ "lotSize",+ "id",+ "defectsFound",+ "aql",+ "sampleSize",+ "updatedBy",+ "companyId",+ "inspectionId",+ "createdBy",+ "samplingStandard",+ "outcome",+ "inspectionLevel",+ "itemId",+ "createdAt",+ "supplierId"+ ]+ },+ {+ "name": "itemReplenishment",+ "rows": 0,+ "columns": [+ "leadTime",+ "tags",+ "purchasingUnitOfMeasureCode",+ "updatedBy",+ "conversionFactor",+ "createdBy",+ "updatedAt",+ "scrapPercentage",+ "createdAt",+ "preferredSupplierId",+ "customFields",+ "lotSize",+ "manufacturingBlocked",+ "companyId",+ "itemId",+ "requiresConfiguration",+ "purchasingBlocked"+ ]+ },+ {+ "name": "jobMakeMethod",+ "rows": 0,+ "columns": [+ "version",+ "quantityPerParent",+ "trackedEntityId",+ "createdAt",+ "itemId",+ "requiresBatchTracking",+ "parentMaterialId",+ "companyId",+ "customFields",+ "id",+ "updatedAt",+ "updatedBy",+ "createdBy",+ "requiresSerialTracking",+ "jobId",+ "itemScrapPercentage"+ ]+ },+ {+ "name": "jobMaterial",+ "rows": 0,+ "columns": [+ "updatedBy",+ "customFields",+ "itemId",+ "companyId",+ "substitutedFromItemId",+ "requiresSerialTracking",+ "order",+ "defaultStorageUnit",+ "unitOfMeasureCode",+ "itemScrapPercentage",+ "jobMakeMethodId",+ "itemType",+ "estimatedQuantity",+ "updatedAt",+ "jobOperationId",+ "createdAt",+ "jobId",+ "unitCost",+ "createdBy",+ "scrapQuantity",+ "substitutionFactor",+ "storageUnitId",+ "requiresBatchTracking",+ "description",+ "kit",+ "quantity",+ "id",+ "quantityIssued",+ "methodType"+ ]+ },+ {+ "name": "stockTransferLine",+ "rows": 0,+ "columns": [+ "fromStorageUnitId",+ "id",+ "pickedQuantity",+ "trackedEntityId",+ "quantity",+ "createdBy",+ "stockTransferId",+ "requiresSerialTracking",+ "updatedAt",+ "createdAt",+ "requiresBatchTracking",+ "itemId",+ "toStorageUnitId",+ "jobMaterialId",+ "companyId",+ "jobId",+ "updatedBy"+ ]+ },+ {+ "name": "jobMaterialStep",+ "rows": 0,+ "columns": ["quantity", "jobOperationStepId", "jobMaterialId"]+ },+ {+ "name": "jobOperation",+ "rows": 0,+ "columns": [+ "procedureId",+ "tags",+ "updatedAt",+ "laborUnit",+ "id",+ "setupUnit",+ "inspectionDocumentId",+ "createdAt",+ "workCenterId",+ "hasConflict",+ "machineUnit",+ "dueDate",+ "jobId",+ "status",+ "overheadRate",+ "conflictReason",+ "companyId",+ "laborTime",+ "quantityReworked",+ "targetQuantity",+ "operationQuantity",+ "setupTime",+ "customFields",+ "processId",+ "operationLeadTime",+ "machineTime",+ "quantityComplete",+ "reworkId",+ "operationSupplierProcessId",+ "operationUnitCost",+ "laborRate",+ "createdBy",+ "machineRate",+ "manuallyScheduled",+ "assemblyInstructionId",+ "operationMinimumCost",+ "operationType",+ "startDate",+ "order",+ "operationOrder",+ "jobMakeMethodId",+ "quantityScrapped",+ "assignee",+ "workInstruction",+ "description",+ "priority",+ "updatedBy"+ ]+ },+ {+ "name": "jobOperationDependency",+ "rows": 0,+ "columns": [+ "dependsOnId",+ "operationId",+ "jobId",+ "companyId",+ "createdAt"+ ]+ },+ {+ "name": "jobOperationParameter",+ "rows": 0,+ "columns": [+ "key",+ "updatedAt",+ "id",+ "updatedBy",+ "createdAt",+ "operationId",+ "value",+ "createdBy",+ "companyId"+ ]+ },+ {+ "name": "jobOperationTool",+ "rows": 0,+ "columns": [+ "updatedAt",+ "operationId",+ "createdAt",+ "id",+ "updatedBy",+ "createdBy",+ "quantity",+ "toolId",+ "companyId"+ ]+ },+ {+ "name": "nonConformanceJobOperation",+ "rows": 0,+ "columns": [+ "companyId",+ "id",+ "updatedAt",+ "createdBy",+ "updatedBy",+ "nonConformanceId",+ "jobReadableId",+ "createdAt",+ "jobId",+ "jobOperationId"+ ]+ },+ {+ "name": "pickingListLine",+ "rows": 0,+ "columns": [+ "customFields",+ "quantityReturned",+ "createdBy",+ "jobId",+ "jobMaterialId",+ "quantityToPick",+ "status",+ "jobOperationId",+ "updatedAt",+ "createdAt",+ "pickingListId",+ "companyId",+ "updatedBy",+ "storageUnitId",+ "quantityPicked",+ "toStorageUnitId",+ "id",+ "itemId"+ ]+ },+ {+ "name": "pickingListLineTrackedEntity",+ "rows": 0,+ "columns": [+ "quantityPicked",+ "quantity",+ "companyId",+ "trackedEntityId",+ "pickingListLineId"+ ]+ },+ {+ "name": "productionEvent",+ "rows": 0,+ "columns": [+ "notes",+ "updatedAt",+ "endTime",+ "employeeId",+ "type",+ "startTime",+ "createdBy",+ "companyId",+ "id",+ "createdAt",+ "workCenterId",+ "jobOperationId",+ "updatedBy",+ "postedToGL"+ ]+ },+ {+ "name": "productionQuantity",+ "rows": 0,+ "columns": [+ "companyId",+ "id",+ "createdBy",+ "laborProductionEventId",+ "inspectionSampleId",+ "updatedBy",+ "jobOperationId",+ "notes",+ "createdAt",+ "setupProductionEventId",+ "updatedAt",+ "inspectionId",+ "type",+ "scrapReasonId",+ "quantity",+ "machineProductionEventId"+ ]+ },+ {+ "name": "jobOperationNote",+ "rows": 0,+ "columns": [+ "createdAt",+ "companyId",+ "note",+ "updatedBy",+ "id",+ "productionQuantityId",+ "createdBy",+ "jobOperationId",+ "updatedAt"+ ]+ },+ {+ "name": "rework",+ "rows": 0,+ "columns": [+ "targetJobOperationId",+ "triggeredAtJobOperationId",+ "reason",+ "updatedAt",+ "requestedById",+ "companyId",+ "jobId",+ "quantity",+ "id",+ "completedAt",+ "createdAt"+ ]+ },+ {+ "name": "jobOperationStep",+ "rows": 0,+ "columns": [+ "listValues",+ "minValue",+ "companyId",+ "name",+ "updatedAt",+ "type",+ "fileTypes",+ "id",+ "maxValue",+ "unitOfMeasureCode",+ "nonConformanceActionId",+ "description",+ "required",+ "createdAt",+ "assemblyInstructionStepId",+ "createdBy",+ "updatedBy",+ "sortOrder",+ "nonConformanceInvestigationId",+ "operationId"+ ]+ },+ {+ "name": "jobOperationStepRecord",+ "rows": 0,+ "columns": [+ "index",+ "userValue",+ "numericValue",+ "booleanValue",+ "createdAt",+ "updatedAt",+ "jobOperationStepId",+ "id",+ "companyId",+ "value",+ "createdBy",+ "updatedBy"+ ]+ },+ {+ "name": "jobOperationStepSlide",+ "rows": 0,+ "columns": [+ "createdBy",+ "imagePath",+ "caption",+ "annotations",+ "sortOrder",+ "updatedAt",+ "createdAt",+ "stepId",+ "modelUploadId",+ "companyId",+ "size",+ "updatedBy",+ "id"+ ]+ },+ {+ "name": "jobOperationToolStep",+ "rows": 0,+ "columns": ["jobOperationStepId", "jobOperationToolId"]+ },+ {+ "name": "kanban",+ "rows": 0,+ "columns": [+ "purchaseUnitOfMeasureCode",+ "autoRelease",+ "autoStartJob",+ "createdBy",+ "itemId",+ "storageUnitId",+ "id",+ "conversionFactor",+ "companyId",+ "supplierId",+ "quantity",+ "updatedAt",+ "replenishmentSystem",+ "jobId",+ "updatedBy",+ "completedBarcodeOverride",+ "locationId",+ "createdAt"+ ]+ },+ {+ "name": "memo",+ "rows": 0,+ "columns": [+ "postedAt",+ "memoId",+ "reference",+ "postingDate",+ "exchangeRate",+ "updatedAt",+ "currencyCode",+ "id",+ "amount",+ "supplierId",+ "customFields",+ "notes",+ "direction",+ "status",+ "voidedAt",+ "voidedBy",+ "memoDate",+ "updatedBy",+ "createdAt",+ "reasonAccount",+ "companyId",+ "customerId",+ "postedBy",+ "createdBy",+ "journalId"+ ]+ },+ {+ "name": "methodMaterial",+ "rows": 0,+ "columns": [+ "order",+ "tags",+ "updatedAt",+ "itemType",+ "kit",+ "quantity",+ "materialMakeMethodId",+ "methodType",+ "customFields",+ "methodOperationId",+ "scrapQuantity",+ "itemId",+ "sourcingType",+ "id",+ "companyId",+ "createdBy",+ "unitOfMeasureCode",+ "createdAt",+ "storageUnitIds",+ "makeMethodId",+ "updatedBy"+ ]+ },+ {+ "name": "methodMaterialStep",+ "rows": 0,+ "columns": ["methodOperationStepId", "methodMaterialId", "quantity"]+ },+ {+ "name": "methodOperation",+ "rows": 0,+ "columns": [+ "updatedBy",+ "laborTime",+ "operationSupplierProcessId",+ "processId",+ "laborUnit",+ "setupUnit",+ "operationLeadTime",+ "createdAt",+ "machineTime",+ "description",+ "tags",+ "operationUnitCost",+ "operationOrder",+ "updatedAt",+ "order",+ "setupTime",+ "workCenterId",+ "operationType",+ "id",+ "workInstruction",+ "companyId",+ "operationMinimumCost",+ "procedureId",+ "machineUnit",+ "assemblyInstructionId",+ "customFields",+ "createdBy",+ "makeMethodId",+ "inspectionDocumentId"+ ]+ },+ {+ "name": "methodOperationParameter",+ "rows": 0,+ "columns": [+ "key",+ "updatedAt",+ "id",+ "updatedBy",+ "createdAt",+ "operationId",+ "value",+ "createdBy",+ "companyId"+ ]+ },+ {+ "name": "methodOperationStep",+ "rows": 0,+ "columns": [+ "createdBy",+ "updatedBy",+ "sortOrder",+ "operationId",+ "unitOfMeasureCode",+ "assemblyInstructionStepId",+ "description",+ "createdAt",+ "required",+ "type",+ "fileTypes",+ "maxValue",+ "id",+ "listValues",+ "minValue",+ "companyId",+ "name",+ "updatedAt"+ ]+ },+ {+ "name": "methodOperationStepSlide",+ "rows": 0,+ "columns": [+ "createdBy",+ "imagePath",+ "caption",+ "sortOrder",+ "annotations",+ "updatedAt",+ "createdAt",+ "modelUploadId",+ "stepId",+ "companyId",+ "size",+ "updatedBy",+ "id"+ ]+ },+ {+ "name": "methodOperationTool",+ "rows": 0,+ "columns": [+ "companyId",+ "quantity",+ "toolId",+ "createdBy",+ "id",+ "updatedBy",+ "createdAt",+ "operationId",+ "updatedAt"+ ]+ },+ {+ "name": "methodOperationToolStep",+ "rows": 0,+ "columns": ["methodOperationToolId", "methodOperationStepId"]+ },+ {+ "name": "nonConformanceActionProcess",+ "rows": 0,+ "columns": [+ "actionTaskId",+ "updatedBy",+ "id",+ "createdBy",+ "processId",+ "companyId",+ "updatedAt",+ "createdAt"+ ]+ },+ {+ "name": "nonConformanceActionTask",+ "rows": 0,+ "columns": [+ "completedDate",+ "companyId",+ "sortOrder",+ "id",+ "tags",+ "notes",+ "nonConformanceId",+ "createdBy",+ "actionTypeId",+ "supplierId",+ "updatedBy",+ "createdAt",+ "dueDate",+ "assignee",+ "updatedAt",+ "status"+ ]+ },+ {+ "name": "nonConformanceSupplier",+ "rows": 0,+ "columns": [+ "updatedAt",+ "companyId",+ "supplierId",+ "createdAt",+ "updatedBy",+ "nonConformanceId",+ "createdBy",+ "id",+ "externalLinkId"+ ]+ },+ {+ "name": "partner",+ "rows": 0,+ "columns": [+ "abilityId",+ "active",+ "createdAt",+ "companyId",+ "hoursPerWeek",+ "updatedBy",+ "customFields",+ "updatedAt",+ "id",+ "tags",+ "createdBy"+ ]+ },+ {+ "name": "payment",+ "rows": 0,+ "columns": [+ "updatedBy",+ "paymentDate",+ "status",+ "paymentType",+ "memo",+ "voidedAt",+ "voidedBy",+ "postedBy",+ "journalId",+ "createdBy",+ "createdAt",+ "companyId",+ "bankAccount",+ "customerId",+ "postingDate",+ "exchangeRate",+ "updatedAt",+ "postedAt",+ "paymentId",+ "reference",+ "supplierId",+ "customFields",+ "id",+ "currencyCode",+ "totalAmount"+ ]+ },+ {+ "name": "purchaseInvoiceDelivery",+ "rows": 0,+ "columns": [+ "companyId",+ "incotermLocation",+ "id",+ "customFields",+ "incoterm",+ "updatedAt",+ "locationId",+ "supplierShippingCost",+ "updatedBy",+ "shippingTermId",+ "shippingMethodId"+ ]+ },+ {+ "name": "purchaseInvoiceStatusHistory",+ "rows": 0,+ "columns": ["invoiceId", "status", "id", "companyId", "createdAt"]+ },+ {+ "name": "purchaseOrderDelivery",+ "rows": 0,+ "columns": [+ "receiptPromisedDate",+ "customerId",+ "trackingNumber",+ "id",+ "dropShipment",+ "notes",+ "companyId",+ "locationId",+ "customFields",+ "updatedAt",+ "tags",+ "receiptRequestedDate",+ "customerLocationId",+ "incotermLocation",+ "deliveryDate",+ "incoterm",+ "supplierShippingCost",+ "updatedBy",+ "shippingMethodId",+ "shippingTermId"+ ]+ },+ {+ "name": "purchaseOrderFavorite",+ "rows": 0,+ "columns": ["userId", "purchaseOrderId"]+ },+ {+ "name": "purchaseOrderLine",+ "rows": 0,+ "columns": [+ "updatedAt",+ "locationId",+ "costCenterId",+ "inventoryUnitOfMeasureCode",+ "invoicedComplete",+ "taxPercent",+ "quantityShipped",+ "receivedComplete",+ "jobOperationId",+ "internalNotes",+ "customFields",+ "sortOrder",+ "companyId",+ "assetId",+ "storageUnitId",+ "setupPrice",+ "promisedDate",+ "itemId",+ "purchaseOrderLineType",+ "supplierUnitPrice",+ "createdBy",+ "supplierPartId",+ "accountId",+ "supplierTaxAmount",+ "requiredDate",+ "updatedBy",+ "quantityReceived",+ "supplierShippingCost",+ "id",+ "purchaseQuantity",+ "externalNotes",+ "createdAt",+ "description",+ "tags",+ "receivedDate",+ "conversionFactor",+ "jobId",+ "exchangeRate",+ "purchaseOrderId",+ "modelUploadId",+ "quantityInvoiced",+ "ownerId",+ "purchaseUnitOfMeasureCode"+ ]+ },+ {+ "name": "nonConformancePurchaseOrderLine",+ "rows": 0,+ "columns": [+ "purchaseOrderReadableId",+ "purchaseOrderId",+ "purchaseOrderLineId",+ "createdAt",+ "id",+ "updatedAt",+ "companyId",+ "nonConformanceId",+ "updatedBy",+ "createdBy"+ ]+ },+ {+ "name": "purchaseOrderStatusHistory",+ "rows": 0,+ "columns": [+ "id",+ "companyId",+ "purchaseOrderId",+ "createdBy",+ "createdAt",+ "status",+ "updatedBy"+ ]+ },+ {+ "name": "purchaseOrderTransaction",+ "rows": 0,+ "columns": [+ "purchaseOrderId",+ "companyId",+ "id",+ "type",+ "userId",+ "createdAt"+ ]+ },+ {+ "name": "purchasingRfqSupplier",+ "rows": 0,+ "columns": [+ "createdAt",+ "updatedBy",+ "companyId",+ "supplierId",+ "createdBy",+ "id",+ "purchasingRfqId"+ ]+ },+ {+ "name": "purchasingRfqToPurchaseOrder",+ "rows": 0,+ "columns": ["companyId", "purchaseOrderId", "purchasingRfqId"]+ },+ {+ "name": "purchasingRfqToSupplierQuote",+ "rows": 0,+ "columns": ["purchasingRfqId", "supplierQuoteId", "companyId"]+ },+ {+ "name": "quoteMakeMethod",+ "rows": 0,+ "columns": [+ "customFields",+ "itemId",+ "companyId",+ "parentMaterialId",+ "quoteLineId",+ "version",+ "quantityPerParent",+ "id",+ "createdBy",+ "updatedBy",+ "createdAt",+ "updatedAt",+ "quoteId",+ "tags"+ ]+ },+ {+ "name": "quoteMaterial",+ "rows": 0,+ "columns": [+ "updatedBy",+ "storageUnitId",+ "createdBy",+ "scrapQuantity",+ "unitCost",+ "quoteOperationId",+ "methodType",+ "tags",+ "customFields",+ "quoteMakeMethodId",+ "quoteLineId",+ "createdAt",+ "itemId",+ "kit",+ "itemType",+ "unitOfMeasureCode",+ "description",+ "id",+ "quantity",+ "order",+ "quoteId",+ "companyId",+ "updatedAt"+ ]+ },+ {+ "name": "quoteMaterialStep",+ "rows": 0,+ "columns": ["quoteOperationStepId", "quoteMaterialId", "quantity"]+ },+ {+ "name": "quoteOperation",+ "rows": 0,+ "columns": [+ "machineUnit",+ "machineRate",+ "description",+ "operationLeadTime",+ "setupTime",+ "companyId",+ "quoteId",+ "operationUnitCost",+ "inspectionDocumentId",+ "setupUnit",+ "id",+ "laborUnit",+ "tags",+ "procedureId",+ "machineTime",+ "operationSupplierProcessId",+ "workInstruction",+ "workCenterId",+ "operationMinimumCost",+ "laborRate",+ "quoteLineId",+ "quoteMakeMethodId",+ "assemblyInstructionId",+ "createdBy",+ "updatedAt",+ "createdAt",+ "laborTime",+ "overheadRate",+ "customFields",+ "processId",+ "operationType",+ "operationOrder",+ "updatedBy",+ "order"+ ]+ },+ {+ "name": "quoteOperationParameter",+ "rows": 0,+ "columns": [+ "operationId",+ "value",+ "createdBy",+ "companyId",+ "key",+ "updatedAt",+ "id",+ "updatedBy",+ "createdAt"+ ]+ },+ {+ "name": "quoteOperationStep",+ "rows": 0,+ "columns": [+ "unitOfMeasureCode",+ "description",+ "required",+ "createdAt",+ "updatedBy",+ "createdBy",+ "operationId",+ "sortOrder",+ "listValues",+ "minValue",+ "name",+ "companyId",+ "updatedAt",+ "type",+ "fileTypes",+ "id",+ "maxValue"+ ]+ },+ {+ "name": "quoteOperationStepSlide",+ "rows": 0,+ "columns": [+ "modelUploadId",+ "stepId",+ "createdAt",+ "updatedAt",+ "updatedBy",+ "id",+ "size",+ "companyId",+ "imagePath",+ "caption",+ "createdBy",+ "sortOrder",+ "annotations"+ ]+ },+ {+ "name": "quoteOperationTool",+ "rows": 0,+ "columns": [+ "createdAt",+ "id",+ "updatedBy",+ "updatedAt",+ "operationId",+ "companyId",+ "createdBy",+ "quantity",+ "toolId"+ ]+ },+ {+ "name": "quoteOperationToolStep",+ "rows": 0,+ "columns": ["quoteOperationStepId", "quoteOperationToolId"]+ },+ {+ "name": "receiptFixedAssetLine",+ "rows": 0,+ "columns": [+ "serialNumber",+ "createdBy",+ "purchaseOrderLineId",+ "received",+ "companyId",+ "updatedAt",+ "id",+ "createdAt",+ "updatedBy",+ "receiptId"+ ]+ },+ {+ "name": "receiptLine",+ "rows": 0,+ "columns": [+ "requiresBatchTracking",+ "unitPrice",+ "createdBy",+ "updatedBy",+ "requiresSerialTracking",+ "conversionFactor",+ "itemId",+ "lineId",+ "createdAt",+ "outstandingQuantity",+ "unitOfMeasure",+ "id",+ "locationId",+ "orderQuantity",+ "companyId",+ "receiptId",+ "updatedAt",+ "storageUnitId",+ "receivedQuantity"+ ]+ },+ {+ "name": "nonConformanceReceiptLine",+ "rows": 0,+ "columns": [+ "receiptId",+ "receiptLineId",+ "createdAt",+ "receiptReadableId",+ "nonConformanceId",+ "createdBy",+ "updatedBy",+ "id",+ "updatedAt",+ "companyId"+ ]+ },+ {+ "name": "salesInvoice",+ "rows": 0,+ "columns": [+ "internalNotes",+ "opportunityId",+ "invoiceCustomerLocationId",+ "createdBy",+ "customerId",+ "status",+ "locationId",+ "totalAmount",+ "totalTax",+ "companyId",+ "totalDiscount",+ "exchangeRate",+ "currencyCode",+ "exchangeRateUpdatedAt",+ "dateDue",+ "createdAt",+ "customerReference",+ "invoiceCustomerContactId",+ "tags",+ "externalNotes",+ "postingDate",+ "updatedAt",+ "shipmentId",+ "subtotal",+ "updatedBy",+ "invoiceId",+ "datePaid",+ "invoiceCustomerId",+ "assignee",+ "id",+ "paymentTermId",+ "customFields",+ "dateIssued"+ ]+ },+ {+ "name": "salesInvoiceLine",+ "rows": 0,+ "columns": [+ "id",+ "assetId",+ "opportunityId",+ "unitOfMeasureCode",+ "nonTaxableAddOnCost",+ "methodType",+ "internalNotes",+ "setupPrice",+ "invoiceId",+ "updatedAt",+ "storageUnitId",+ "customFields",+ "salesOrderLineId",+ "createdBy",+ "quantity",+ "externalNotes",+ "companyId",+ "locationId",+ "itemId",+ "modelUploadId",+ "addOnCost",+ "unitPrice",+ "description",+ "exchangeRate",+ "invoiceLineType",+ "sortOrder",+ "shippingCost",+ "taxPercent",+ "salesOrderId",+ "accountId",+ "updatedBy",+ "createdAt"+ ]+ },+ {+ "name": "salesInvoiceShipment",+ "rows": 0,+ "columns": [+ "shippingTermId",+ "incoterm",+ "locationId",+ "shippingMethodId",+ "companyId",+ "updatedBy",+ "createdBy",+ "id",+ "customFields",+ "incotermLocation",+ "shippingCost",+ "updatedAt",+ "createdAt"+ ]+ },+ {+ "name": "invoiceSettlement",+ "rows": 0,+ "columns": [+ "targetExchangeRate",+ "writeOffAmount",+ "id",+ "targetMemoId",+ "paymentId",+ "appliedDate",+ "createdAt",+ "sourceExchangeRate",+ "discountAmount",+ "targetPurchaseInvoiceId",+ "appliedViaPaymentId",+ "createdBy",+ "updatedBy",+ "memoId",+ "companyId",+ "targetSalesInvoiceId",+ "appliedAmount"+ ]+ },+ {+ "name": "shipmentFixedAssetLine",+ "rows": 0,+ "columns": [+ "serialNumber",+ "createdBy",+ "shipped",+ "salesOrderLineId",+ "companyId",+ "id",+ "updatedAt",+ "createdAt",+ "updatedBy",+ "shipmentId"+ ]+ },+ {+ "name": "shipmentLine",+ "rows": 0,+ "columns": [+ "requiresBatchTracking",+ "lineId",+ "itemId",+ "updatedBy",+ "updatedAt",+ "outstandingQuantity",+ "unitPrice",+ "fulfillmentId",+ "companyId",+ "createdBy",+ "createdAt",+ "requiresSerialTracking",+ "shipmentId",+ "shippedQuantity",+ "storageUnitId",+ "locationId",+ "id",+ "unitOfMeasure",+ "orderQuantity"+ ]+ },+ {+ "name": "nonConformanceShipmentLine",+ "rows": 0,+ "columns": [+ "id",+ "updatedAt",+ "companyId",+ "nonConformanceId",+ "updatedBy",+ "createdBy",+ "shipmentReadableId",+ "shipmentId",+ "shipmentLineId",+ "createdAt"+ ]+ },+ {+ "name": "supplier",+ "rows": 0,+ "columns": [+ "defaultCc",+ "accountManagerId",+ "createdBy",+ "supplierStatus",+ "companyId",+ "id",+ "createdAt",+ "assignee",+ "readableId",+ "updatedBy",+ "name",+ "phone",+ "taxPercent",+ "currencyCode",+ "fax",+ "updatedAt",+ "tags",+ "embedding",+ "logo",+ "purchasingContactId",+ "intercompanyCompanyId",+ "website",+ "supplierTypeId",+ "customFields"+ ]+ },+ {+ "name": "supplierAccount",+ "rows": 0,+ "columns": ["active", "companyId", "supplierId", "id"]+ },+ {+ "name": "supplierInteraction",+ "rows": 0,+ "columns": ["companyId", "supplierId", "id"]+ },+ {+ "name": "receipt",+ "rows": 0,+ "columns": [+ "supplierId",+ "postingDate",+ "updatedAt",+ "receiptId",+ "companyId",+ "sourceDocumentReadableId",+ "id",+ "status",+ "invoiced",+ "externalDocumentId",+ "sourceDocument",+ "locationId",+ "createdAt",+ "customFields",+ "tags",+ "updatedBy",+ "createdBy",+ "supplierInteractionId",+ "postedBy",+ "internalNotes",+ "assignee",+ "sourceDocumentId"+ ]+ },+ {+ "name": "shipment",+ "rows": 0,+ "columns": [+ "sourceDocumentReadableId",+ "supplierId",+ "customerId",+ "id",+ "postingDate",+ "externalDocumentId",+ "trackingNumber",+ "status",+ "customFields",+ "externalNotes",+ "shipmentId",+ "invoiced",+ "opportunityId",+ "supplierInteractionId",+ "updatedAt",+ "internalNotes",+ "updatedBy",+ "postedBy",+ "createdBy",+ "sourceDocumentId",+ "shippingMethodId",+ "tags",+ "assignee",+ "locationId",+ "sourceDocument",+ "companyId",+ "createdAt"+ ]+ },+ {+ "name": "supplierLedger",+ "rows": 0,+ "columns": [+ "entryNumber",+ "createdAt",+ "amount",+ "companyId",+ "id",+ "externalDocumentId",+ "postingDate",+ "documentType",+ "supplierId",+ "documentId"+ ]+ },+ {+ "name": "supplierLocation",+ "rows": 0,+ "columns": [+ "tags",+ "id",+ "companyId",+ "supplierId",+ "name",+ "addressId",+ "customFields"+ ]+ },+ {+ "name": "supplierContact",+ "rows": 0,+ "columns": [+ "supplierId",+ "companyId",+ "id",+ "customFields",+ "contactId",+ "supplierLocationId",+ "tags",+ "userId"+ ]+ },+ {+ "name": "purchaseInvoice",+ "rows": 0,+ "columns": [+ "createdAt",+ "invoiceSupplierId",+ "updatedAt",+ "exchangeRate",+ "id",+ "paymentTermId",+ "currencyCode",+ "createdBy",+ "internalNotes",+ "invoiceSupplierContactId",+ "supplierInteractionId",+ "invoiceId",+ "status",+ "dateIssued",+ "subtotal",+ "updatedBy",+ "totalDiscount",+ "assignee",+ "datePaid",+ "postingDate",+ "exchangeRateUpdatedAt",+ "supplierReference",+ "companyId",+ "locationId",+ "tags",+ "customFields",+ "invoiceSupplierLocationId",+ "totalAmount",+ "totalTax",+ "supplierId",+ "dateDue"+ ]+ },+ {+ "name": "purchaseOrder",+ "rows": 0,+ "columns": [+ "internalNotes",+ "orderDate",+ "supplierReference",+ "supplierInteractionId",+ "supplierLocationId",+ "id",+ "supplierContactId",+ "tags",+ "jobId",+ "supplierId",+ "jobReadableId",+ "purchaseOrderId",+ "companyId",+ "customFields",+ "createdAt",+ "externalNotes",+ "closedBy",+ "currencyCode",+ "assignee",+ "updatedBy",+ "status",+ "exchangeRate",+ "purchaseOrderType",+ "exchangeRateUpdatedAt",+ "createdBy",+ "updatedAt",+ "revisionId",+ "closedAt"+ ]+ },+ {+ "name": "purchaseInvoiceLine",+ "rows": 0,+ "columns": [+ "tags",+ "modelUploadId",+ "createdAt",+ "supplierTaxAmount",+ "exchangeRate",+ "sortOrder",+ "inventoryUnitOfMeasureCode",+ "costCenterId",+ "invoiceLineType",+ "quantity",+ "purchaseOrderId",+ "ownerId",+ "customFields",+ "accountId",+ "companyId",+ "supplierUnitPrice",+ "jobOperationId",+ "assetId",+ "purchaseUnitOfMeasureCode",+ "purchaseOrderLineId",+ "taxPercent",+ "createdBy",+ "storageUnitId",+ "supplierShippingCost",+ "updatedBy",+ "internalNotes",+ "serviceId",+ "invoiceId",+ "description",+ "requiredDate",+ "updatedAt",+ "itemId",+ "conversionFactor",+ "locationId",+ "id"+ ]+ },+ {+ "name": "purchaseInvoicePriceChange",+ "rows": 0,+ "columns": [+ "newPrice",+ "invoiceLineId",+ "previousPrice",+ "newQuantity",+ "companyId",+ "id",+ "previousQuantity",+ "invoiceId",+ "updatedBy"+ ]+ },+ {+ "name": "purchaseOrderPayment",+ "rows": 0,+ "columns": [+ "paymentTermId",+ "tags",+ "invoiceSupplierContactId",+ "invoiceSupplierLocationId",+ "paymentComplete",+ "id",+ "updatedAt",+ "customFields",+ "companyId",+ "updatedBy",+ "invoiceSupplierId"+ ]+ },+ {+ "name": "supplierPart",+ "rows": 0,+ "columns": [+ "updatedBy",+ "supplierUnitOfMeasureCode",+ "orderMultiple",+ "unitPrice",+ "supplierPartId",+ "customFields",+ "supplierId",+ "conversionFactor",+ "createdAt",+ "id",+ "companyId",+ "minimumOrderQuantity",+ "itemId",+ "updatedAt",+ "tags",+ "createdBy",+ "active"+ ]+ },+ {+ "name": "supplierPartPrice",+ "rows": 0,+ "columns": [+ "companyId",+ "leadTime",+ "updatedBy",+ "supplierPartId",+ "updatedAt",+ "createdAt",+ "quantity",+ "sourceDocumentId",+ "createdBy",+ "unitPrice",+ "sourceType"+ ]+ },+ {+ "name": "supplierPayment",+ "rows": 0,+ "columns": [+ "invoiceSupplierId",+ "customFields",+ "updatedAt",+ "tags",+ "updatedBy",+ "supplierId",+ "invoiceSupplierLocationId",+ "invoiceSupplierContactId",+ "companyId",+ "paymentTermId"+ ]+ },+ {+ "name": "supplierProcess",+ "rows": 0,+ "columns": [+ "updatedAt",+ "processId",+ "minimumCost",+ "companyId",+ "updatedBy",+ "createdBy",+ "id",+ "leadTime",+ "supplierId",+ "tags",+ "createdAt",+ "customFields"+ ]+ },+ {+ "name": "supplierQuote",+ "rows": 0,+ "columns": [+ "supplierContactId",+ "supplierId",+ "id",+ "supplierQuoteType",+ "status",+ "assignee",+ "supplierQuoteId",+ "exchangeRateUpdatedAt",+ "supplierInteractionId",+ "supplierLocationId",+ "externalNotes",+ "expirationDate",+ "supplierReference",+ "createdAt",+ "updatedAt",+ "createdBy",+ "exchangeRate",+ "companyId",+ "externalLinkId",+ "tags",+ "customFields",+ "revisionId",+ "currencyCode",+ "quotedDate",+ "internalNotes",+ "updatedBy"+ ]+ },+ {+ "name": "supplierQuoteFavorite",+ "rows": 0,+ "columns": ["supplierQuoteId", "userId"]+ },+ {+ "name": "supplierQuoteLine",+ "rows": 0,+ "columns": [+ "updatedBy",+ "customFields",+ "supplierQuoteRevisionId",+ "quantity",+ "sortOrder",+ "description",+ "costCenterId",+ "conversionFactor",+ "tags",+ "itemId",+ "externalNotes",+ "updatedAt",+ "requiredDate",+ "internalNotes",+ "companyId",+ "supplierQuoteId",+ "createdBy",+ "inventoryUnitOfMeasureCode",+ "accountId",+ "supplierPartId",+ "purchaseUnitOfMeasureCode",+ "ownerId",+ "supplierPartRevision",+ "id",+ "supplierQuoteLineType"+ ]+ },+ {+ "name": "supplierQuoteLinePrice",+ "rows": 0,+ "columns": [+ "exchangeRate",+ "taxPercent",+ "supplierQuoteId",+ "supplierShippingCost",+ "companyId",+ "createdBy",+ "supplierQuoteLineId",+ "supplierTaxAmount",+ "updatedBy",+ "supplierUnitPrice",+ "createdAt",+ "leadTime",+ "updatedAt",+ "quantity"+ ]+ },+ {+ "name": "supplierShipping",+ "rows": 0,+ "columns": [+ "shippingSupplierLocationId",+ "shippingSupplierContactId",+ "companyId",+ "shippingTermId",+ "incoterm",+ "incotermLocation",+ "shippingSupplierId",+ "customFields",+ "updatedAt",+ "tags",+ "updatedBy",+ "supplierId",+ "shippingMethodId"+ ]+ },+ {+ "name": "supplierTax",+ "rows": 0,+ "columns": [+ "taxExemptionCertificateNumber",+ "eori",+ "vatNumber",+ "taxExempt",+ "updatedAt",+ "taxExemptionCertificatePath",+ "taxId",+ "taxExemptionReason",+ "updatedBy",+ "supplierId",+ "companyId"+ ]+ },+ {+ "name": "workflow",+ "rows": 0,+ "columns": [+ "description",+ "name",+ "activeVersionId",+ "updatedBy",+ "ownerId",+ "companyId",+ "updatedAt",+ "nextRunAt",+ "createdBy",+ "id",+ "canvasState",+ "createdAt",+ "active"+ ]+ },+ {+ "name": "workflowVersion",+ "rows": 0,+ "columns": [+ "formatVersion",+ "edges",+ "workflowId",+ "versionNumber",+ "nodes",+ "updatedAt",+ "createdAt",+ "id",+ "updatedBy",+ "createdBy",+ "companyId"+ ]+ },+ {+ "name": "workflowRun",+ "rows": 0,+ "columns": [+ "createdAt",+ "eventId",+ "isTest",+ "error",+ "depth",+ "compactedAt",+ "startedAt",+ "workflowId",+ "causedByRunId",+ "workflowVersionId",+ "durationMs",+ "completedAt",+ "triggerTable",+ "ownerId",+ "id",+ "statusReason",+ "sourceEventId",+ "path",+ "rootRunId",+ "companyId",+ "triggerRecordId",+ "status"+ ]+ },+ {+ "name": "workflowStepRun",+ "rows": 0,+ "columns": [+ "nodeId",+ "branchTaken",+ "durationMs",+ "compactedAt",+ "sequence",+ "completedAt",+ "runId",+ "detail",+ "createdAt",+ "itemKey",+ "id",+ "statusReason",+ "output",+ "nodeType",+ "error",+ "startedAt",+ "companyId",+ "status",+ "input"+ ]+ },+ {+ "name": "workflowTriggerEvent",+ "rows": 0,+ "columns": [+ "workflowId",+ "workflowVersionId",+ "createdAt",+ "eventId",+ "companyId",+ "id",+ "origin"+ ]+ }+ ],+ "storage": [],+ "excludedTables": [+ "apiKey",+ "apiKeyRateLimit",+ "companyIntegration",+ "oauthClient",+ "oauthToken",+ "webhook"+ ],+ "excludedRows": []+}diff --git a/packages/jobs/package.json b/packages/jobs/package.jsonindex 435f7a6878..b3cfbe6cf9 100644--- a/packages/jobs/package.json+++ b/packages/jobs/package.json@@ -41,7 +41,9 @@"devDependencies": {"@carbon/config": "workspace:*","@types/nodemailer": "6.4.23",+ "@types/pg": "8.15.6","@types/react": "catalog:",+ "pg": "8.20.0","tsx": "catalog:","typescript": "catalog:","vitest": "catalog:"@@ -56,6 +58,7 @@"name": "@carbon/jobs","private": true,"scripts": {+ "db:check:backups": "tsx --env-file-if-exists=../../.env.local --env-file-if-exists=../../.env src/scripts/check-backups.ts","dev:jobs": "pnpm dlx inngest-cli@latest dev --no-discovery -u http://localhost:3000/api/inngest","test": "vitest run","typecheck": "tsc --noEmit"diff --git a/packages/jobs/src/scripts/backup-baseline.test.ts b/packages/jobs/src/scripts/backup-baseline.test.tsnew file mode 100644index 0000000000..d5ed1d9722--- /dev/null+++ b/packages/jobs/src/scripts/backup-baseline.test.ts@@ -0,0 +1,170 @@+import { describe, expect, it } from "vitest";+import type { Manifest } from "../inngest/functions/tasks/company-backup";+import {+ BaselineError,+ type BaselineSources,+ baselineUrl,+ parseBaseline,+ parseGithubSlug,+ resolveBaseline,+ SCHEMA_REPO_PATH+} from "./backup-baseline";++const REMOTE = "[email protected]:crbnos/carbon.git";+const REMOTE_URL = baselineUrl("crbnos/carbon");++const manifest = (name: string) =>+ JSON.stringify({ tables: [{ name, rows: 0, columns: ["id"] }] });++function sources(over: Partial<BaselineSources> = {}): BaselineSources {+ return {+ remoteUrl: () => REMOTE,+ fetchText: async () => manifest("fromMain"),+ localText: () => manifest("fromLocal"),+ ...over+ };+}++const tableName = (m: Manifest) => (m.tables[0] as { name: string }).name;++describe("parseGithubSlug", () => {+ it.each([+ ["[email protected]:crbnos/carbon.git", "crbnos/carbon"],+ ["https://github.com/crbnos/carbon.git", "crbnos/carbon"],+ ["https://github.com/crbnos/carbon", "crbnos/carbon"],+ [" [email protected]:acme/fork.git\n", "acme/fork"],+ ["ssh://[email protected]/acme/deep-name.git", "acme/deep-name"]+ ])("parses %s", (url, expected) => {+ expect(parseGithubSlug(url)).toBe(expected);+ });++ it.each([+ ["https://gitlab.com/acme/carbon.git"],+ ["[email protected]:acme/carbon.git"],+ ["/srv/git/carbon.git"]+ ])("returns null for a non-GitHub remote: %s", (url) => {+ expect(parseGithubSlug(url)).toBeNull();+ });++ it("returns null when the remote cannot be read", () => {+ expect(parseGithubSlug(null)).toBeNull();+ });+});++describe("baselineUrl", () => {+ it("points at the file on main, not at the working tree", () => {+ expect(baselineUrl("acme/fork")).toBe(+ `https://raw.githubusercontent.com/acme/fork/main/${SCHEMA_REPO_PATH}`+ );+ });+});++describe("parseBaseline", () => {+ it("names the source when the file is present but not JSON", () => {+ expect(() => parseBaseline("{ not json", "some/source")).toThrow(+ BaselineError+ );+ expect(() => parseBaseline("{ not json", "some/source")).toThrow(+ /baseline at some\/source could not be read/+ );+ });++ // The distinction this whole class exists for: a corrupt file must not be+ // reported as a missing one, which sends the reader hunting for nothing.+ it("does not describe an unreadable file as missing", () => {+ expect(() => parseBaseline("<html>404</html>", "u")).not.toThrow(+ /could not be found/+ );+ });+});++describe("resolveBaseline", () => {+ it("prefers the copy fetched from main", async () => {+ const result = await resolveBaseline(sources());+ expect(tableName(result.manifest)).toBe("fromMain");+ expect(result.source).toBe(REMOTE_URL);+ expect(result.warnings).toEqual([]);+ });++ it("falls back to the local copy on a network failure, and says it may be stale", async () => {+ const result = await resolveBaseline(+ sources({+ fetchText: async () => {+ throw new Error("The operation was aborted due to timeout");+ }+ })+ );+ expect(tableName(result.manifest)).toBe("fromLocal");+ expect(result.source).toBe("origin/main (local copy)");+ expect(result.warnings).toHaveLength(1);+ expect(result.warnings[0]).toContain(+ "The operation was aborted due to timeout"+ );+ // Naming the staleness is the point — an unexplained false alarm about a+ // column a teammate removed is what earns a --no-verify.+ expect(result.warnings[0]).toContain("months old if you have not pulled");+ expect(result.warnings[0]).toContain("STRICTER check");+ });++ it("falls back when the file is not on main yet (404)", async () => {+ const result = await resolveBaseline(+ sources({ fetchText: async () => null })+ );+ expect(tableName(result.manifest)).toBe("fromLocal");+ expect(result.warnings[0]).toContain("is not on main yet (404)");+ });++ it("falls back when origin is not a GitHub remote", async () => {+ const result = await resolveBaseline(+ sources({ remoteUrl: () => "https://gitlab.com/acme/carbon.git" })+ );+ expect(tableName(result.manifest)).toBe("fromLocal");+ expect(result.warnings[0]).toContain("origin is not a GitHub remote");+ });++ it("never fetches when there is no usable remote", async () => {+ let fetched = false;+ await resolveBaseline(+ sources({+ remoteUrl: () => null,+ fetchText: async () => {+ fetched = true;+ return null;+ }+ })+ );+ expect(fetched).toBe(false);+ });++ // The one case that must not degrade to a pass: a check that silently skips+ // is indistinguishable from a check that succeeded.+ it("throws when the baseline is in neither place", async () => {+ const promise = resolveBaseline(+ sources({ fetchText: async () => null, localText: () => null })+ );+ await expect(promise).rejects.toThrow(BaselineError);+ await expect(promise).rejects.toThrow(/could not be found/);+ });++ it("tells the reader how to bootstrap the first commit", async () => {+ await expect(+ resolveBaseline(+ sources({ fetchText: async () => null, localText: () => null })+ )+ ).rejects.toThrow(/CARBON_SKIP_BACKUP_CHECK=1 git commit/);+ });++ it("refuses a corrupt fetched baseline instead of falling back to the local one", async () => {+ await expect(+ resolveBaseline(sources({ fetchText: async () => "{ not json" }))+ ).rejects.toThrow(/could not be read/);+ });++ it("refuses a corrupt local baseline instead of reporting it missing", async () => {+ await expect(+ resolveBaseline(+ sources({ fetchText: async () => null, localText: () => "{ not json" })+ )+ ).rejects.toThrow(/could not be read/);+ });+});diff --git a/packages/jobs/src/scripts/backup-baseline.ts b/packages/jobs/src/scripts/backup-baseline.tsnew file mode 100644index 0000000000..23067165dc--- /dev/null+++ b/packages/jobs/src/scripts/backup-baseline.ts@@ -0,0 +1,129 @@+/**+ * Resolving the schema baseline the drift check compares against.+ *+ * Split out of `check-backups.ts` so it can be tested without a database: the+ * script owns the process (connecting, printing, exiting), this owns the decision+ * of WHICH baseline to use and WHY. Nothing here touches `process` or `console` —+ * warnings come back as data so a test can assert on them.+ */++import type { Manifest } from "../inngest/functions/tasks/company-backup";++/** Repo-relative: the same string works for the fetch URL and for `git show`. */+export const SCHEMA_REPO_PATH = "packages/jobs/manifests/schema.json";+export const BASELINE_BRANCH = "main";++/** A refusal the caller should surface and exit 1 on — never a silent skip. */+export class BaselineError extends Error {}++/** `owner/repo` from a git remote URL, or null when it is not a GitHub remote. */+export function parseGithubSlug(remoteUrl: string | null): string | null {+ if (!remoteUrl) return null;+ const match = remoteUrl+ .trim()+ .match(/github\.com[:/]([^/]+)\/(.+?)(?:\.git)?$/);+ return match ? `${match[1]}/${match[2]}` : null;+}++export function baselineUrl(slug: string): string {+ return `https://raw.githubusercontent.com/${slug}/${BASELINE_BRANCH}/${SCHEMA_REPO_PATH}`;+}++/**+ * Absent and unreadable are different answers, and conflating them produces a+ * confidently wrong message: "could not be found" sends the reader hunting for a+ * file that is sitting right there, corrupt.+ */+export function parseBaseline(text: string, source: string): Manifest {+ try {+ return JSON.parse(text) as Manifest;+ } catch (err) {+ throw new BaselineError(+ `The schema baseline at ${source} could not be read.\n` ++ ` ${err instanceof Error ? err.message : String(err)}\n` ++ " It is present but not valid JSON, so no verdict is possible."+ );+ }+}++const STALE_NOTE =+ ` Falling back to your local origin/${BASELINE_BRANCH} copy, which can be months old if you have not pulled.\n` ++ " An older baseline is a STRICTER check, never a blinder one — but it can flag a column a teammate already removed.";++export type BaselineSources = {+ /** `git remote get-url origin`, or null when it cannot be read. */+ remoteUrl: () => string | null;+ /** The file's text from GitHub. `null` = a 404. Throwing = a network problem. */+ fetchText: (url: string) => Promise<string | null>;+ /** The file's text from the local `origin/main` ref, or null when absent. */+ localText: () => string | null;+};++export type ResolvedBaseline = {+ manifest: Manifest;+ source: string;+ warnings: string[];+};++/**+ * The schema `main` currently ships, which is what a customer's existing backup was+ * taken against. Never the working-tree copy: that is regenerated from the live+ * database on every successful run, so it would compare today's schema with itself.+ *+ * A network problem degrades to the local copy with a warning; a baseline in+ * NEITHER place throws, because a missing baseline skipped quietly is+ * indistinguishable from a passing check.+ */+export async function resolveBaseline(+ sources: BaselineSources+): Promise<ResolvedBaseline> {+ const warnings: string[] = [];+ const slug = parseGithubSlug(sources.remoteUrl());++ if (slug) {+ const url = baselineUrl(slug);+ // The parse stays OUTSIDE this try: a corrupt baseline is a refusal, and+ // catching it here would silently downgrade it to "fetch failed" and fall+ // through to the local copy.+ let fetched: string | null = null;+ try {+ fetched = await sources.fetchText(url);+ if (fetched === null) {+ warnings.push(+ `⚠ ${SCHEMA_REPO_PATH} is not on ${BASELINE_BRANCH} yet (404).\n${STALE_NOTE}`+ );+ }+ } catch (err) {+ warnings.push(+ `⚠ Could not fetch the schema baseline from ${BASELINE_BRANCH} — ${+ err instanceof Error ? err.message : String(err)+ }\n${STALE_NOTE}`+ );+ }+ if (fetched !== null) {+ return { manifest: parseBaseline(fetched, url), source: url, warnings };+ }+ } else {+ warnings.push(+ `⚠ origin is not a GitHub remote, so the baseline could not be fetched.\n${STALE_NOTE}`+ );+ }++ const ref = `origin/${BASELINE_BRANCH}:${SCHEMA_REPO_PATH}`;+ const local = sources.localText();+ if (local !== null) {+ return {+ manifest: parseBaseline(local, ref),+ source: `origin/${BASELINE_BRANCH} (local copy)`,+ warnings+ };+ }++ throw new BaselineError(+ "The schema baseline could not be found.\n" ++ ` Looked on ${BASELINE_BRANCH} at GitHub and in your local origin/${BASELINE_BRANCH}, for ${SCHEMA_REPO_PATH}.\n` ++ " A missing baseline cannot be skipped quietly — it would look exactly like a passing check.\n" ++ " If this is the first commit to introduce the baseline, commit it once with:\n" ++ " CARBON_SKIP_BACKUP_CHECK=1 git commit ..."+ );+}diff --git a/packages/jobs/src/scripts/check-backups.ts b/packages/jobs/src/scripts/check-backups.tsnew file mode 100644index 0000000000..a0064ecae1--- /dev/null+++ b/packages/jobs/src/scripts/check-backups.ts@@ -0,0 +1,316 @@+/**+ * Checks that the backups customers already hold would still restore against the+ * current schema.+ *+ * A migration can make an existing backup unrestorable without the backup changing+ * at all — add a NOT NULL column with no DEFAULT and every backup taken before today+ * stops loading. Nobody finds out until someone clicks Restore, which is the worst+ * possible moment. So the question gets asked here, at commit time.+ *+ * The baseline is `packages/jobs/manifests/schema.json` AS IT STANDS ON `main` —+ * the schema real customer backups were taken against. The copy in the working tree+ * is not the baseline: it is regenerated from the live database on every successful+ * `--stage` run, so comparing against it would compare today with today.+ *+ * Runs from the pre-commit hook when `packages/database/supabase/migrations/**` is+ * touched; set CARBON_SKIP_BACKUP_CHECK=1 to skip it there.+ *+ * Usage:+ * pnpm db:check:backups # check only — writes nothing+ * pnpm db:check:backups -- --stage # ...then update and stage schema.json+ */++import { execFileSync } from "node:child_process";+import { mkdirSync, readdirSync, writeFileSync } from "node:fs";+import { dirname, join } from "node:path";+import process from "node:process";+import { parseArgs } from "node:util";+import type { KyselyDatabase } from "@carbon/database/client";+import { now } from "@internationalized/date";+import { Kysely, PostgresDialect, sql } from "kysely";+import pg from "pg";+import type {+ Catalog,+ Manifest+} from "../inngest/functions/tasks/company-backup";+import {+ BACKUP_KIND,+ BACKUP_VERSION,+ exportableColumns,+ getCompanyTableCatalog,+ reportBackupCompatibility,+ selectExportableTables+} from "../inngest/functions/tasks/company-backup";+import {+ BASELINE_BRANCH,+ BaselineError,+ resolveBaseline,+ SCHEMA_REPO_PATH+} from "./backup-baseline";++const SCHEMA_FILE = join(import.meta.dirname, "../../manifests/schema.json");+/** A hook that hangs is a hook people bypass. */+const FETCH_TIMEOUT_MS = 3000;++const FIX_HINT =+ "Fix: give the new column a DEFAULT (or make it nullable and backfill), or — " ++ "if a table was renamed — add an entry to TABLE_RENAMES in " ++ "packages/jobs/src/inngest/functions/tasks/company-backup.renames.ts";++const RERUN_HINT =+ "Re-run on its own with: pnpm db:check:backups\n" ++ "Commit anyway with: CARBON_SKIP_BACKUP_CHECK=1 git commit ...";++/**+ * A Kysely client built here rather than borrowed from `src/db.ts`.+ *+ * `getJobDatabaseClient` named-imports `@carbon/database/client`, which resolves as+ * CJS from this package's ESM — fine under Vite and vitest, a hard `SyntaxError`+ * under plain `tsx`. Owning the pool is also what lets this script close it and exit.+ */+function connect(): { db: Kysely<KyselyDatabase>; pool: pg.Pool } {+ const connectionString = process.env.SUPABASE_DB_URL;+ if (!connectionString) {+ skip("SUPABASE_DB_URL is not set (is your local stack up?)");+ }+ const pool = new pg.Pool({ connectionString, max: 1 });+ return {+ db: new Kysely<KyselyDatabase>({ dialect: new PostgresDialect({ pool }) }),+ pool+ };+}++/** Environmental problems must not fail the check — a hook that fails for reasons+ * you can't fix is a hook you learn to bypass. */+function skip(reason: string): never {+ console.log(`⚠ Backup compatibility check skipped — ${reason}`);+ process.exit(0);+}++/** A missing baseline is NOT environmental — see `resolveBaseline`. */+function fail(message: string): never {+ console.error(`✗ ${message}`);+ process.exit(1);+}++/**+ * How many migrations exist on disk but have not been applied here.+ *+ * This is the one place this check diverges from `check-datasets.ts`, which uses the+ * same count only as a hint when something already failed. Here an unapplied+ * migration is a FALSE PASS: the live schema does not yet contain the change being+ * committed, so the baseline looks fine. Refusing to give a verdict is the only+ * honest option, so a count that cannot be established returns -1 and also refuses.+ */+async function countPendingMigrations(+ db: Kysely<KyselyDatabase>+): Promise<number> {+ try {+ const dir = join(+ import.meta.dirname,+ "../../../database/supabase/migrations"+ );+ const onDisk = readdirSync(dir)+ .filter((f) => f.endsWith(".sql"))+ .map((f) => f.split("_")[0] ?? "");++ const applied = await sql<{ version: string }>`+ SELECT version FROM supabase_migrations.schema_migrations+ `.execute(db);+ const seen = new Set(applied.rows.map((r) => r.version));+ return onDisk.filter((v) => !seen.has(v)).length;+ } catch {+ return -1;+ }+}++/**+ * A manifest describing a schema rather than a backup: every exportable table with+ * its column list and no rows.+ *+ * Which tables and columns those are is `selectExportableTables` /+ * `exportableColumns` — the exporter's own rule, not a copy of it. That is the whole+ * reason this file can stand in for a customer's backup.+ */+function catalogAsManifest(catalog: Catalog, exportedAt: string): Manifest {+ const { exportable, excludedTables } = selectExportableTables(catalog);+ return {+ kind: BACKUP_KIND,+ version: BACKUP_VERSION,+ schemaVersion: catalog.schemaVersion,+ sourceCompanyId: "schema-baseline",+ sourceCompanyGroupId: null,+ sourceCompanyName: null,+ exportedAt,+ exportedBy: "schema-baseline",+ label: "schema baseline",+ includeStorage: "none",+ tables: exportable.map((t) => ({+ name: t.name,+ rows: 0,+ columns: exportableColumns(t).map((c) => c.name)+ })),+ storage: [],+ excludedTables,+ excludedRows: []+ };+}++/** Print the blocking findings; returns whether any were found. */+function reportBlocking(+ label: string,+ catalog: Catalog,+ manifest: Manifest+): boolean {+ const { findings, blocked } = reportBackupCompatibility(catalog, manifest);+ if (!blocked) {+ console.log(` ✓ ${label}: restorable`);+ return false;+ }+ const blocking = findings.filter((f) => f.kind === "blocked");+ console.error(` ✗ ${label}: ${blocking.length} blocking change(s)`);+ for (const f of blocking) {+ console.error(+ ` ${f.table}${f.column ? `.${f.column}` : ""} — ${f.reason}`+ );+ }+ return true;+}++function git(args: string[]): string {+ return execFileSync("git", args, {+ encoding: "utf8",+ stdio: ["ignore", "pipe", "pipe"]+ }).trim();+}++/** The I/O `resolveBaseline` needs, kept here so the decision itself stays pure. */+const baselineSources = {+ remoteUrl: () => {+ try {+ return git(["remote", "get-url", "origin"]);+ } catch {+ return null;+ }+ },+ fetchText: async (url: string) => {+ const res = await fetch(url, {+ signal: AbortSignal.timeout(FETCH_TIMEOUT_MS)+ });+ if (res.status === 404) return null;+ if (!res.ok) throw new Error(`HTTP ${res.status}`);+ return await res.text();+ },+ localText: () => {+ try {+ return git(["show", `origin/${BASELINE_BRANCH}:${SCHEMA_REPO_PATH}`]);+ } catch {+ return null;+ }+ }+};++/** Generated output, like a lockfile — announced, never silent. */+function writeSchemaFile(catalog: Catalog): void {+ // @internationalized/date, never JS Date (.claude/rules/date-handling.md), and UTC+ // rather than the machine's zone — this stamp labels a schema, not a business day.+ const manifest = catalogAsManifest(catalog, now("UTC").toAbsoluteString());+ mkdirSync(dirname(SCHEMA_FILE), { recursive: true });+ writeFileSync(SCHEMA_FILE, `${JSON.stringify(manifest, null, 2)}\n`);+ try {+ git(["add", SCHEMA_FILE]);+ console.log(+ `Updated and staged ${SCHEMA_REPO_PATH} (${manifest.tables.length} tables) — the baseline the next migration is checked against.`+ );+ } catch (err) {+ console.warn(+ `⚠ Wrote ${SCHEMA_REPO_PATH} but could not stage it — ${+ err instanceof Error ? err.message : String(err)+ }\n Run: git add ${SCHEMA_REPO_PATH}`+ );+ }+}++function printUsage() {+ console.log(`+Usage: pnpm db:check:backups [-- --stage]++Asks whether the backups customers already hold would still restore against your+current schema, comparing packages/jobs/manifests/schema.json AS IT STANDS ON main+with your live schema. Writes nothing to your database.++Arguments:+ --stage On success, regenerate schema.json from your live schema and git-add+ it. The pre-commit hook passes this; a manual run stays read-only.+`);+}++async function main(db: Kysely<KyselyDatabase>) {+ const { values } = parseArgs({+ args: process.argv.slice(2).filter((a) => a !== "--"),+ options: {+ stage: { type: "boolean", default: false },+ help: { type: "boolean", short: "h", default: false }+ },+ strict: true+ });++ if (values.help) {+ printUsage();+ return;+ }++ // Probed separately from the queries below so a stack that isn't up reads as+ // "skipped", not as a failed check the developer is expected to act on.+ try {+ await sql`SELECT 1`.execute(db);+ } catch (err) {+ skip(+ `no database connection (is your local stack up?)\n ${+ err instanceof Error ? err.message : String(err)+ }`+ );+ }++ // Meaningless against a stale database: checking gives a false pass, and staging+ // records a baseline missing the very change being committed — which then becomes+ // what everything after it is judged by.+ const pending = await countPendingMigrations(db);+ if (pending !== 0) {+ skip(+ pending < 0+ ? "the applied-migration list could not be read (is this a Carbon database?)"+ : `your database is ${pending} migration(s) behind, so it cannot see the change you are committing.\n Run pnpm db:migrate and try again.`+ );+ }++ const catalog = await getCompanyTableCatalog(db);++ const baseline = await resolveBaseline(baselineSources);+ for (const warning of baseline.warnings) console.warn(warning);+ console.log(`Checking your schema against ${baseline.source}...`);++ if (reportBlocking(SCHEMA_REPO_PATH, catalog, baseline.manifest)) {+ console.error(+ `\nBackups taken against ${baseline.source} would no longer restore.\n${FIX_HINT}\n\n${RERUN_HINT}`+ );+ // A blocked commit stages nothing: the baseline must keep describing the schema+ // that is actually shipped.+ process.exitCode = 1;+ return;+ }++ if (values.stage) writeSchemaFile(catalog);+}++const { db, pool } = connect();+main(db)+ .catch((err) => {+ if (err instanceof BaselineError) fail(err.message);+ console.error(err instanceof Error ? err.message : err);+ process.exitCode = 1;+ })+ .finally(async () => {+ // Without this the pool keeps the event loop alive and the script never exits.+ await db.destroy().catch(() => pool.end());+ });diff --git a/packages/logger/package.json b/packages/logger/package.jsonindex 7fd3c006c8..12bce58925 100644--- a/packages/logger/package.json+++ b/packages/logger/package.json@@ -38,5 +38,6 @@"typecheck": "tsgo --noEmit"},"sideEffects": false,- "version": "0.0.0"+ "version": "0.0.0",+ "type": "module"}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 9d6110af35..559ba06fad 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -706,7 +706,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])([email protected](@types/[email protected])([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])([email protected](@types/[email protected])([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])@@ -751,7 +751,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(patch_hash=fdc988df95f5639f888c552079014d0e615cb4c762f8c25a16d43e4498e21a6a)(@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])([email protected](@types/[email protected])([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(patch_hash=fdc988df95f5639f888c552079014d0e615cb4c762f8c25a16d43e4498e21a6a)(@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])([email protected](@types/[email protected])([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])@@ -986,16 +986,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])([email protected]))+ version: 5.9.4([email protected])([email protected])([email protected](@types/[email protected])([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])([email protected](@types/[email protected])([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])([email protected](@types/[email protected])([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])([email protected]))+ version: 4.3.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))'@types/d3':specifier: 7.4.3version: 7.4.3@@ -1055,13 +1055,13 @@ importers:version: 5.8.3vite:specifier: 'catalog:'- version: 8.0.10(@types/[email protected])([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])([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])([email protected]))+ version: 1.0.6([email protected](@types/[email protected])([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])([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])([email protected]))apps/mes:dependencies:@@ -2599,9 +2599,15 @@ importers:'@types/nodemailer':specifier: 6.4.23version: 6.4.23+ '@types/pg':+ specifier: 8.15.6+ version: 8.15.6'@types/react':specifier: 18.3.28version: 18.3.28+ pg:+ specifier: 8.20.0+ version: 8.20.0tsx:specifier: 'catalog:'version: 4.21.0@@ -2610,7 +2616,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])([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])([email protected]))packages/kv:dependencies:@@ -3256,7 +3262,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])([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])([email protected]))packages/stripe:dependencies:@@ -17178,7 +17184,7 @@ snapshots:'@babel/traverse': 7.29.0'@babel/types': 7.29.0convert-source-map: 2.0.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])gensync: 1.0.0-beta.2json5: 2.2.3semver: 7.7.4@@ -17198,7 +17204,7 @@ snapshots:'@babel/types': 7.29.0'@jridgewell/remapping': 2.3.5convert-source-map: 2.0.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])gensync: 1.0.0-beta.2json5: 2.2.3semver: 7.7.4@@ -17368,7 +17374,7 @@ snapshots:'@babel/parser': 7.29.2'@babel/template': 7.28.6'@babel/types': 7.29.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])globals: 11.12.0transitivePeerDependencies:- supports-color@@ -17381,7 +17387,7 @@ snapshots:'@babel/parser': 7.29.2'@babel/template': 7.28.6'@babel/types': 7.29.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color@@ -18454,16 +18460,6 @@ snapshots:transitivePeerDependencies:- typescript- '@lingui/[email protected]([email protected])([email protected])([email protected](@types/[email protected])([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])([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])([email protected]))':dependencies:'@lingui/cli': 5.9.4([email protected])([email protected])@@ -18825,7 +18821,7 @@ snapshots:dependencies:'@oclif/core': 4.11.7ansis: 3.17.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])npm: 11.17.0npm-package-arg: 11.0.3npm-run-path: 5.3.0@@ -22192,56 +22188,6 @@ 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])([email protected](@types/[email protected])([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.17- valibot: 1.3.1([email protected])- vite: 8.0.10(@types/[email protected])([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])([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])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])':dependencies:'@babel/core': 7.29.0@@ -22320,12 +22266,6 @@ 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])([email protected](@types/[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])([email protected](@types/[email protected])([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])([email protected](@types/[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])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])@@ -23607,13 +23547,6 @@ 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])([email protected]))':- dependencies:- '@tailwindcss/node': 4.3.0- '@tailwindcss/oxide': 4.3.0- tailwindcss: 4.3.0- vite: 8.0.10(@types/[email protected])([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])([email protected]))':dependencies:'@tailwindcss/node': 4.3.0@@ -24481,16 +24414,6 @@ snapshots:'@vercel/[email protected]': {}- '@vercel/[email protected](patch_hash=fdc988df95f5639f888c552079014d0e615cb4c762f8c25a16d43e4498e21a6a)(@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])([email protected](@types/[email protected])([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])([email protected](@types/[email protected])([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.0- isbot: 5.1.37- react: 18.3.1- react-dom: 18.3.1([email protected])- ts-morph: 12.0.0-'@vercel/[email protected](patch_hash=fdc988df95f5639f888c552079014d0e615cb4c762f8c25a16d43e4498e21a6a)(@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])([email protected](@types/[email protected])([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])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])@@ -25106,7 +25029,7 @@ snapshots:dependencies:bytes: 3.1.2content-type: 1.0.5- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])http-errors: 2.0.1iconv-lite: 0.7.2on-finished: 2.4.1@@ -25987,7 +25910,7 @@ snapshots:dependencies:'@socket.io/component-emitter': 3.1.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])engine.io-parser: 5.2.3ws: 8.21.0xmlhttprequest-ssl: 2.1.2@@ -26007,7 +25930,7 @@ snapshots:base64id: 2.0.0cookie: 0.7.2cors: 2.8.6- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])engine.io-parser: 5.2.3ws: 8.21.0transitivePeerDependencies:@@ -26422,7 +26345,7 @@ snapshots:content-type: 1.0.5cookie: 0.7.2cookie-signature: 1.2.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])depd: 2.0.0encodeurl: 2.0.0escape-html: 1.0.3@@ -26551,7 +26474,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])encodeurl: 2.0.0escape-html: 1.0.3on-finished: 2.4.1@@ -27117,14 +27040,14 @@ snapshots:dependencies:agent-base: 7.1.4- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-colordependencies:agent-base: 9.0.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color@@ -27237,7 +27160,7 @@ snapshots:canonicalize: 1.0.8chalk: 4.1.2cross-fetch: 4.1.0([email protected])- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])hash.js: 1.1.7json-stringify-safe: 5.0.1ms: 2.1.3@@ -27275,7 +27198,7 @@ snapshots:canonicalize: 1.0.8chalk: 4.1.2cross-fetch: 4.1.0([email protected])- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])hash.js: 1.1.7json-stringify-safe: 5.0.1ms: 2.1.3@@ -27337,7 +27260,7 @@ snapshots:dependencies:'@ioredis/commands': 1.5.1cluster-key-slot: 1.1.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])denque: 2.1.0lodash.defaults: 4.2.0lodash.isarguments: 3.1.0@@ -28468,7 +28391,7 @@ snapshots:dependencies:'@types/debug': 4.1.13- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])decode-named-character-reference: 1.3.0devlop: 1.1.0micromark-core-commonmark: 2.0.3@@ -30054,7 +29977,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])module-details-from-path: 1.0.4resolve: 1.22.11transitivePeerDependencies:@@ -30062,7 +29985,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])module-details-from-path: 1.0.4transitivePeerDependencies:- supports-color@@ -30179,7 +30102,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])depd: 2.0.0is-promise: 4.0.0parseurl: 1.3.3@@ -30287,7 +30210,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])encodeurl: 2.0.0escape-html: 1.0.3etag: 1.8.1@@ -30494,7 +30417,7 @@ snapshots:dependencies:- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])ws: 8.21.0transitivePeerDependencies:- bufferutil@@ -30515,7 +30438,7 @@ snapshots:dependencies:'@socket.io/component-emitter': 3.1.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])transitivePeerDependencies:- supports-color@@ -30524,7 +30447,7 @@ snapshots:accepts: 1.3.8base64id: 2.0.0cors: 2.8.6- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])engine.io: 6.6.9socket.io-adapter: 2.5.8socket.io-parser: 4.2.6@@ -30985,7 +30908,7 @@ snapshots:dependencies:callsites: 3.1.0- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])is-observable: 2.1.0observable-fns: 0.6.1optionalDependencies:@@ -31131,7 +31054,7 @@ snapshots:cac: 6.7.14chokidar: 4.0.3consola: 3.4.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])esbuild: 0.27.7fix-dts-default-cjs-exports: 1.0.1joycon: 3.1.1@@ -31159,7 +31082,7 @@ snapshots:cac: 6.7.14chokidar: 4.0.3consola: 3.4.2- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])esbuild: 0.27.7fix-dts-default-cjs-exports: 1.0.1joycon: 3.1.1@@ -31461,7 +31384,7 @@ snapshots:[email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:cac: 6.7.14- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])es-module-lexer: 1.7.0pathe: 2.0.3vite: 7.3.2(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])@@ -31482,7 +31405,7 @@ snapshots:[email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:cac: 6.7.14- debug: 4.4.3([email protected])+ debug: 4.4.3([email protected])es-module-lexer: 1.7.0pathe: 2.0.3vite: 7.3.2(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])@@ -31511,17 +31434,6 @@ snapshots:transitivePeerDependencies:- supports-color- [email protected]([email protected](@types/[email protected])([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])([email protected])- transitivePeerDependencies:- - supports-color-[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:'@babel/core': 7.29.0