@leaflow/sdk 0.0.0-dev.113.g5d6fb99 → 0.0.0-dev.113.gecc0f27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +34 -0
  2. package/dist/account/v1/index.d.ts +16 -0
  3. package/dist/account/v1/schema.d.ts +294 -3
  4. package/dist/assistant/v1/index.d.ts +74 -34
  5. package/dist/assistant/v1/schema.d.ts +1113 -157
  6. package/dist/billing/v1/index.d.ts +70 -0
  7. package/dist/billing/v1/index.js +5 -0
  8. package/dist/billing/v1/schema.d.ts +2657 -0
  9. package/dist/canopy/v1/index.d.ts +12 -0
  10. package/dist/compute/v1/index.d.ts +50 -4
  11. package/dist/compute/v1/schema.d.ts +857 -268
  12. package/dist/dns/v1/index.d.ts +42 -0
  13. package/dist/dns/v1/index.js +5 -0
  14. package/dist/dns/v1/schema.d.ts +883 -0
  15. package/dist/iam/v1/index.d.ts +28 -0
  16. package/dist/iam/v1/schema.d.ts +437 -9
  17. package/dist/index.d.ts +4 -0
  18. package/dist/monitoring/v1/index.d.ts +96 -0
  19. package/dist/monitoring/v1/schema.d.ts +2386 -496
  20. package/dist/notification/v1/index.d.ts +76 -0
  21. package/dist/notification/v1/index.js +5 -0
  22. package/dist/notification/v1/schema.d.ts +2044 -0
  23. package/dist/support/v1/index.d.ts +50 -0
  24. package/dist/support/v1/index.js +5 -0
  25. package/dist/support/v1/schema.d.ts +1078 -0
  26. package/dist/tunnel/v1/index.d.ts +14 -32
  27. package/dist/tunnel/v1/schema.d.ts +52 -496
  28. package/package.json +5 -4
  29. package/dist/gen/account/v1/schema.d.ts +0 -866
  30. package/dist/gen/assistant/v1/schema.d.ts +0 -1884
  31. package/dist/gen/canopy/v1/schema.d.ts +0 -1100
  32. package/dist/gen/compute/v1/schema.d.ts +0 -4439
  33. package/dist/gen/iam/v1/schema.d.ts +0 -1230
  34. package/dist/gen/iam/v1/schema.js +0 -5
  35. package/dist/gen/monitoring/v1/schema.d.ts +0 -2291
  36. package/dist/gen/monitoring/v1/schema.js +0 -5
  37. package/dist/gen/tunnel/v1/schema.d.ts +0 -845
  38. package/dist/gen/tunnel/v1/schema.js +0 -5
  39. package/dist/src/client.d.ts +0 -57
  40. package/dist/src/client.js +0 -41
  41. package/dist/src/index.d.ts +0 -9
  42. package/dist/src/index.js +0 -1
  43. /package/dist/{gen/account → billing}/v1/schema.js +0 -0
  44. /package/dist/{gen/assistant → dns}/v1/schema.js +0 -0
  45. /package/dist/{gen/canopy → notification}/v1/schema.js +0 -0
  46. /package/dist/{gen/compute → support}/v1/schema.js +0 -0
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.0.0-dev.113.g5d6fb99",
3
+ "version": "0.0.0-dev.113.gecc0f27",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/LeaflowNET/sdk.git"
8
+ "url": "git+https://github.com/leaflowapis/leaflow-ts.git"
9
9
  },
10
10
  "type": "module",
11
11
  "main": "./dist/index.js",
@@ -49,7 +49,7 @@
49
49
  ],
50
50
  "sideEffects": false,
51
51
  "scripts": {
52
- "generate": "node ../scripts/generate-ts.mjs && python3 ../scripts/generate-go.py",
52
+ "generate": "node scripts/generate.mjs",
53
53
  "build": "tsc -p tsconfig.build.json",
54
54
  "typecheck": "tsc -p tsconfig.json --noEmit",
55
55
  "prepublishOnly": "npm run build"
@@ -57,7 +57,8 @@
57
57
  "devDependencies": {
58
58
  "openapi-typescript": "7.13.0",
59
59
  "typescript": "^5.9.3",
60
- "openapi-fetch": "^0.17.0"
60
+ "openapi-fetch": "^0.17.0",
61
+ "yaml": "^2.8.1"
61
62
  },
62
63
  "publishConfig": {
63
64
  "access": "public"