@acromedia/gesso-acumatica-middleware
8.1.0
Minor Changes
-
f6162ed: feat: add invoice list and detail page with location, division, placed by, file attachments, and dynamic currency support
-
f6162ed: feat: enhance Company Info page with tabbed layout (Details + Divisions & Locations) and member counts per division
- Company Info page now has two tabs: Details (account + billing info) and Divisions & Locations (expandable accordion)
- CompanyNode type gains optional memberCount field
- Hierarchy middleware batch-fetches contact counts per company alongside locations
- Accordion header shows location count and member count per division
- /portal/company-hierarchy page removed (route folded into Company Info)
- Dashboard no longer shows a separate Company Structure card
-
f6162ed: feat: add My Account page with contact info and current-month orders (GESSO-2378)
- New Contact middleware endpoint reads contactId from JWT and fetches phone/jobTitle from Acumatica Contact API
- New useAccount plugin implementation backed by Contact endpoint, replacing the mock; wired in erp.ts
- Fix location addresses: expand LocationContact/Address and use per-location address when AddressOverride=true, falling back to customer MainContact address otherwise
- Add /portal/my-account page showing account info (name, email, phone, job title) and orders placed this month filtered by the current contact
- Add My Account nav card to portal dashboard
-
f6162ed: feat: replace ROPC authentication with OIDC Authorization Code + PKCE flow for the B2B portal
Patch Changes
- f6162ed: feat: add Manage Team page listing company contacts with role, division, and location
- f6162ed: Add Purchase Order number to company orders and remove Purchase Agreements from portal scope.
gesso-erp: AddcustomerOrderNbrfield toCompanyOrdertypegesso-acumatica: MapCustomerOrder(Acumatica "Customer Order Number" / PO reference) tocustomerOrderNbrinbuildCompanyOrdersgesso-acumatica-middleware: AddCustomerOrderfield toRawSalesOrderinterfaceb2b-portal: Show "Purchase Order #" column in company orders list and detail; remove Purchase Agreements nav card from dashboard and "Purchase Order Settings" section from payment methods page
8.0.3
Patch Changes
- 3fdcb09: CVE-2026-23864
- Updated dependencies [3fdcb09]
- @acromedia/gesso-api-middleware@8.0.3
8.0.2
Patch Changes
- c5fede6: Security update
- Updated dependencies [c5fede6]
- @acromedia/gesso-api-middleware@8.0.2
8.0.1
Patch Changes
- Updated dependencies [32e066a]
- @acromedia/gesso-api-middleware@8.0.1
8.0.0
Major Changes
- fe0dc22: Migrated the Acumatica middleware package to ECMAScript Modules (ESM) with dual CJS/ESM support:
- Package Configuration:
- Added
"type": "module"to package.json - Implemented modern
exportsfield with dual CJS/ESM entry points - Replaced
tscbuild withtsupfor optimized bundling - Added post-build script to inject CJS deprecation warnings
- Added
- Testing Framework:
- Migrated from Jest to Vitest for better ESM compatibility
- Updated all test files to use Vitest APIs (
vi.fn(),vi.mock(), etc.) - Added
vitest.config.tsandvitest.setup.ts
- TypeScript Configuration:
- Updated
tsconfig.jsonto usemodule: "NodeNext"andmoduleResolution: "NodeNext" - Added
tsconfig.dev.jsonfor development and testing - Configured
tsup.config.tsfor dual ESM/CJS output
- Updated
- Source Code Updates:
- Added
.jsextensions to all import statements (required for ESM) - Updated all 200+ SDK API files with proper ESM imports
- Maintained backward compatibility through dual CJS/ESM exports
- Added
- Configuration Updates:
- Renamed
.prettierrc.jsto.prettierrc.cjs(required for ESM packages) - Updated
.eslintrc.cjsto usetsconfig.dev.jsonand removed Jest plugin - Updated
.prettierignorewith proper exclusions - Removed
jest.config.js
- Renamed
- Additional Improvements:
- Fixed missing error handling in Product.ts when product ID is not provided
- Added proper switch statement break (code quality improvement)
- Package Configuration:
Patch Changes
- Updated dependencies [fe0dc22]
- Updated dependencies [fe0dc22]
- @acromedia/gesso-logger@8.0.0
- @acromedia/gesso-api-middleware@8.0.0
7.4.0
Minor Changes
- 64bf0ec: Migrated the Acumatica middleware package to ECMAScript Modules (ESM) with dual CJS/ESM support:
- Package Configuration:
- Added
"type": "module"to package.json - Implemented modern
exportsfield with dual CJS/ESM entry points - Replaced
tscbuild withtsupfor optimized bundling - Added post-build script to inject CJS deprecation warnings
- Added
- Testing Framework:
- Migrated from Jest to Vitest for better ESM compatibility
- Updated all test files to use Vitest APIs (
vi.fn(),vi.mock(), etc.) - Added
vitest.config.tsandvitest.setup.ts
- TypeScript Configuration:
- Updated
tsconfig.jsonto usemodule: "NodeNext"andmoduleResolution: "NodeNext" - Added
tsconfig.dev.jsonfor development and testing - Configured
tsup.config.tsfor dual ESM/CJS output
- Updated
- Source Code Updates:
- Added
.jsextensions to all import statements (required for ESM) - Updated all 200+ SDK API files with proper ESM imports
- Maintained backward compatibility through dual CJS/ESM exports
- Added
- Configuration Updates:
- Renamed
.prettierrc.jsto.prettierrc.cjs(required for ESM packages) - Updated
.eslintrc.cjsto usetsconfig.dev.jsonand removed Jest plugin - Updated
.prettierignorewith proper exclusions - Removed
jest.config.js
- Renamed
- Additional Improvements:
- Fixed missing error handling in Product.ts when product ID is not provided
- Added proper switch statement break (code quality improvement)
- Package Configuration:
Patch Changes
- Updated dependencies [64bf0ec]
- Updated dependencies [64bf0ec]
- @acromedia/gesso-logger@7.2.0
- @acromedia/gesso-api-middleware@7.3.0
7.3.0
Minor Changes
- bda2c59: Add email as a param for fetching invoices
7.2.0
Minor Changes
- 41e4884: Bump next.js to v15
Patch Changes
- 31a0bde: Fix typechecks in plugin packages
- Updated dependencies [236a6d0]
- Updated dependencies [41e4884]
- @acromedia/gesso-api-middleware@7.2.0
7.1.0
Minor Changes
- 2f8dce7: add server-side logging library, gesso-logger, and implement it for gesso middleware packages
- aaad2a6: Upgrade to typescript v5 and nodenext
Patch Changes
- Updated dependencies [2f8dce7]
- Updated dependencies [aaad2a6]
- Updated dependencies [07a504c]
- @acromedia/gesso-logger@7.1.0
- @acromedia/gesso-api-middleware@7.1.0
7.0.0
Major Changes
- b4a97ff: Add missing major version bumps not included in January
Patch Changes
- Updated dependencies [b4a97ff]
- @acromedia/gesso-api-middleware@7.0.0
6.0.1
Patch Changes
- e8fa722: TS type fixes
- Updated dependencies [e8fa722]
- @acromedia/gesso-api-middleware@6.0.1
6.0.0
Major Changes
-
609c5e9: No breaking changes to these packages, scheduled major release
Gesso V6 Update
- 14 Hook definitions removed (ie
useX) - 8 Types removed across packages
- 1 Plugin made to be required (
update) - 20 Data mapping changes (mostly related to
subtotal,total,discount, andtotalItemsbeing moved toadjustmentsinCart) - 1 Plugin type change (
ComponentFactoryPluginV2) - 3 Interface properties removed from core
- 1 Environment variable removed from cli
- 1 Command removed from cli
- 2 Config flags removed from create-script
- 5 Templates updated in next/client
- 1 Generator added in next/client
- 1 Theme Token Removed in design-system
- 11 Components With Removed Props in design-system
- 14 Hook definitions removed (ie
Patch Changes
- Updated dependencies [609c5e9]
- @acromedia/gesso-api-middleware@6.0.0
2.1.0
Minor Changes
- 478fe55: feat: add call to acumatica orders api so plugin can safely request data.
- efd2922: Added the product plugin and middleware for Acumatica.
Patch Changes
- 352ef12: Update dependencies and clean up dependency tree
- Updated dependencies [352ef12]
- @acromedia/gesso-api-middleware@5.0.1
2.0.0
Major Changes
- bff9b4a: # Gesso V5 Update
- 6 Functions Removed
- 1 Theme Token Removed
- 3 Components Removed
- 12 Components With Removed Props
- 2 Export Names Changed
- 8 Type Changes
Patch Changes
- Updated dependencies [bff9b4a]
- @acromedia/gesso-api-middleware@5.0.0
1.2.3
Patch Changes
- 0fa3efa: Fix: Switch SalesInvoiceApi to InvoiceApi to fetch all invoices
1.2.2
Patch Changes
- 2c36241: Customer methods added to Acumatica Middleware
1.2.1
Patch Changes
- ce17a8a: Fix: await calls one at a time as calling apis at the same time causes automatic auth login to get confused
- 1fad601: Fix: return last 6 months of invoices and reverse the results so that the invoices show in the right order
- 54f1216: Remove outdated license settings in package.json
- Updated dependencies [54f1216]
- @acromedia/gesso-api-middleware@4.0.2
1.2.0
Minor Changes
- 46b3fb0: Add: acumatica invoice plugin for erp provider allowing for invoice functionality
1.1.0
Minor Changes
- 087a2671: feat: acumatica middleware functionality