2025-08-20 18:02:50 +09:00
|
|
|
{
|
2025-09-17 18:43:43 +09:00
|
|
|
"name": "@customer-portal/domain",
|
2025-08-20 18:02:50 +09:00
|
|
|
"version": "1.0.0",
|
2025-12-10 13:59:41 +09:00
|
|
|
"type": "module",
|
2025-10-03 14:26:55 +09:00
|
|
|
"description": "Unified domain layer with contracts, schemas, and provider mappers",
|
2025-12-02 11:06:54 +09:00
|
|
|
"private": true,
|
|
|
|
|
"sideEffects": false,
|
2025-10-03 14:26:55 +09:00
|
|
|
"main": "./dist/index.js",
|
|
|
|
|
"types": "./dist/index.d.ts",
|
2025-12-02 11:06:54 +09:00
|
|
|
"files": [
|
|
|
|
|
"dist"
|
|
|
|
|
],
|
2025-09-09 18:19:54 +09:00
|
|
|
"exports": {
|
2025-12-10 13:59:41 +09:00
|
|
|
".": {
|
|
|
|
|
"import": "./dist/index.js",
|
|
|
|
|
"types": "./dist/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./auth": {
|
|
|
|
|
"import": "./dist/auth/index.js",
|
|
|
|
|
"types": "./dist/auth/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./auth/*": {
|
|
|
|
|
"import": "./dist/auth/*.js",
|
|
|
|
|
"types": "./dist/auth/*.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./billing": {
|
|
|
|
|
"import": "./dist/billing/index.js",
|
|
|
|
|
"types": "./dist/billing/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./billing/*": {
|
|
|
|
|
"import": "./dist/billing/*.js",
|
|
|
|
|
"types": "./dist/billing/*.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./catalog": {
|
|
|
|
|
"import": "./dist/catalog/index.js",
|
|
|
|
|
"types": "./dist/catalog/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./catalog/*": {
|
|
|
|
|
"import": "./dist/catalog/*.js",
|
|
|
|
|
"types": "./dist/catalog/*.d.ts"
|
|
|
|
|
},
|
2025-12-17 14:07:22 +09:00
|
|
|
"./checkout": {
|
|
|
|
|
"import": "./dist/checkout/index.js",
|
|
|
|
|
"types": "./dist/checkout/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./checkout/*": {
|
|
|
|
|
"import": "./dist/checkout/*.js",
|
|
|
|
|
"types": "./dist/checkout/*.d.ts"
|
|
|
|
|
},
|
2025-12-10 13:59:41 +09:00
|
|
|
"./common": {
|
|
|
|
|
"import": "./dist/common/index.js",
|
|
|
|
|
"types": "./dist/common/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./common/*": {
|
|
|
|
|
"import": "./dist/common/*.js",
|
|
|
|
|
"types": "./dist/common/*.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./customer": {
|
|
|
|
|
"import": "./dist/customer/index.js",
|
|
|
|
|
"types": "./dist/customer/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./customer/*": {
|
|
|
|
|
"import": "./dist/customer/*.js",
|
|
|
|
|
"types": "./dist/customer/*.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./dashboard": {
|
|
|
|
|
"import": "./dist/dashboard/index.js",
|
|
|
|
|
"types": "./dist/dashboard/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./dashboard/*": {
|
|
|
|
|
"import": "./dist/dashboard/*.js",
|
|
|
|
|
"types": "./dist/dashboard/*.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./mappings": {
|
|
|
|
|
"import": "./dist/mappings/index.js",
|
|
|
|
|
"types": "./dist/mappings/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./mappings/*": {
|
|
|
|
|
"import": "./dist/mappings/*.js",
|
|
|
|
|
"types": "./dist/mappings/*.d.ts"
|
|
|
|
|
},
|
2025-12-22 18:59:38 +09:00
|
|
|
"./opportunity": {
|
|
|
|
|
"import": "./dist/opportunity/index.js",
|
|
|
|
|
"types": "./dist/opportunity/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./opportunity/*": {
|
|
|
|
|
"import": "./dist/opportunity/*.js",
|
|
|
|
|
"types": "./dist/opportunity/*.d.ts"
|
|
|
|
|
},
|
2025-12-10 13:59:41 +09:00
|
|
|
"./orders": {
|
|
|
|
|
"import": "./dist/orders/index.js",
|
|
|
|
|
"types": "./dist/orders/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./orders/*": {
|
|
|
|
|
"import": "./dist/orders/*.js",
|
|
|
|
|
"types": "./dist/orders/*.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./payments": {
|
|
|
|
|
"import": "./dist/payments/index.js",
|
|
|
|
|
"types": "./dist/payments/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./payments/*": {
|
|
|
|
|
"import": "./dist/payments/*.js",
|
|
|
|
|
"types": "./dist/payments/*.d.ts"
|
|
|
|
|
},
|
2025-12-15 11:10:50 +09:00
|
|
|
"./realtime": {
|
|
|
|
|
"import": "./dist/realtime/index.js",
|
|
|
|
|
"types": "./dist/realtime/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./realtime/*": {
|
|
|
|
|
"import": "./dist/realtime/*.js",
|
|
|
|
|
"types": "./dist/realtime/*.d.ts"
|
|
|
|
|
},
|
2025-12-10 13:59:41 +09:00
|
|
|
"./sim": {
|
|
|
|
|
"import": "./dist/sim/index.js",
|
|
|
|
|
"types": "./dist/sim/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./sim/*": {
|
|
|
|
|
"import": "./dist/sim/*.js",
|
|
|
|
|
"types": "./dist/sim/*.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./sim/providers/freebit": {
|
|
|
|
|
"import": "./dist/sim/providers/freebit/index.js",
|
|
|
|
|
"types": "./dist/sim/providers/freebit/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./subscriptions": {
|
|
|
|
|
"import": "./dist/subscriptions/index.js",
|
|
|
|
|
"types": "./dist/subscriptions/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./subscriptions/*": {
|
|
|
|
|
"import": "./dist/subscriptions/*.js",
|
|
|
|
|
"types": "./dist/subscriptions/*.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./support": {
|
|
|
|
|
"import": "./dist/support/index.js",
|
|
|
|
|
"types": "./dist/support/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./support/*": {
|
|
|
|
|
"import": "./dist/support/*.js",
|
|
|
|
|
"types": "./dist/support/*.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./toolkit": {
|
|
|
|
|
"import": "./dist/toolkit/index.js",
|
|
|
|
|
"types": "./dist/toolkit/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./toolkit/*": {
|
|
|
|
|
"import": "./dist/toolkit/*.js",
|
|
|
|
|
"types": "./dist/toolkit/*.d.ts"
|
2025-12-23 11:36:44 +09:00
|
|
|
},
|
|
|
|
|
"./notifications": {
|
|
|
|
|
"import": "./dist/notifications/index.js",
|
|
|
|
|
"types": "./dist/notifications/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./notifications/*": {
|
|
|
|
|
"import": "./dist/notifications/*.js",
|
|
|
|
|
"types": "./dist/notifications/*.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./salesforce": {
|
|
|
|
|
"import": "./dist/salesforce/index.js",
|
|
|
|
|
"types": "./dist/salesforce/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./salesforce/*": {
|
|
|
|
|
"import": "./dist/salesforce/*.js",
|
|
|
|
|
"types": "./dist/salesforce/*.d.ts"
|
2025-12-10 13:59:41 +09:00
|
|
|
}
|
2025-08-30 15:47:48 +09:00
|
|
|
},
|
2025-08-20 18:02:50 +09:00
|
|
|
"scripts": {
|
2025-11-21 17:12:34 +09:00
|
|
|
"prebuild": "pnpm run clean",
|
2025-10-03 14:26:55 +09:00
|
|
|
"build": "tsc",
|
2025-11-05 15:47:06 +09:00
|
|
|
"dev": "tsc -w --preserveWatchOutput",
|
2025-08-20 18:02:50 +09:00
|
|
|
"clean": "rm -rf dist",
|
2025-10-20 14:54:04 +09:00
|
|
|
"type-check": "NODE_OPTIONS=\"--max-old-space-size=2048 --max-semi-space-size=128\" tsc --project tsconfig.json --noEmit",
|
|
|
|
|
"typecheck": "pnpm run type-check"
|
2025-09-17 18:43:43 +09:00
|
|
|
},
|
2025-12-12 13:10:29 +09:00
|
|
|
"peerDependencies": {
|
2025-12-12 15:00:11 +09:00
|
|
|
"zod": "4.1.13"
|
2025-10-03 14:26:55 +09:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2025-12-12 14:50:12 +09:00
|
|
|
"typescript": "catalog:",
|
|
|
|
|
"zod": "catalog:"
|
2025-08-20 18:02:50 +09:00
|
|
|
}
|
|
|
|
|
}
|