T. Narantuya a95ec60859 Refactor address management and update related services for improved clarity and functionality
- Updated address retrieval in user service to replace billing info with a dedicated address method.
- Adjusted API endpoints to use `PATCH /api/me/address` for address updates instead of billing updates.
- Enhanced documentation to reflect changes in address management processes and API usage.
- Removed deprecated types and services related to billing address handling, streamlining the codebase.
2025-09-17 18:43:43 +09:00

32 lines
877 B
JSON

{
"name": "@customer-portal/api-client",
"version": "0.1.0",
"private": true,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"clean": "rm -rf dist src/__generated__",
"codegen": "pnpm run gen:types && pnpm run gen:client",
"gen:types": "openapi-typescript ../../apps/bff/openapi/openapi.json -o src/__generated__/types.ts",
"gen:client": "openapi-fetch --input ../../apps/bff/openapi/openapi.json --output src/__generated__/client.ts",
"type-check": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"devDependencies": {
"openapi-fetch": "^0.13.8",
"openapi-typescript": "^7.6.1",
"typescript": "^5.9.2"
}
}