mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-04-10 22:44:50 +00:00
- Add ResourceMetaResponse DTO for resource metadata - Update CreditNoteRefunds service with proper types - Regenerate SDK types from updated OpenAPI schema - Update SDK bank-rules, credit-notes, and organization modules Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"name": "@bigcapital/sdk-ts",
|
|
"version": "1.0.0",
|
|
"description": "TypeScript types generated from the Bigcapital API OpenAPI/Swagger spec",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"require": "./dist/index.js",
|
|
"import": "./dist/index.mjs"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"generate": "node -e \"if(!require('fs').existsSync('./openapi.json')){console.error('\\n openapi.json not found. Run from repo root: pnpm run generate:sdk-types\\n'); process.exit(1)}\" && npx openapi-typescript ./openapi.json -o ./src/schema.ts",
|
|
"build:cjs": "tsup src/index.ts --format cjs --dts --sourcemap",
|
|
"build:esm": "tsup src/index.ts --format esm --dts --sourcemap",
|
|
"build": "npm run build:cjs && npm run build:esm",
|
|
"dev": "npm run build -- --watch",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"openapi-typescript-fetch": "^2.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"openapi-typescript": "^7.0.0",
|
|
"tsup": "^8.3.0",
|
|
"typescript": "^5.1.3"
|
|
}
|
|
}
|