@leaflow/sdk 0.0.0-dev.16.gac94fbe → 0.0.0-dev.162.g0bbcd1c

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 (81) hide show
  1. package/README.md +13 -1
  2. package/dist/account/v1/client.d.ts +4 -0
  3. package/dist/account/v1/client.js +7 -0
  4. package/dist/account/v1/index.d.ts +34 -21
  5. package/dist/account/v1/index.js +4 -4
  6. package/dist/account/v1/schema.d.ts +368 -81
  7. package/dist/assistant/v1/client.d.ts +4 -0
  8. package/dist/assistant/v1/client.js +7 -0
  9. package/dist/assistant/v1/index.d.ts +69 -40
  10. package/dist/assistant/v1/index.js +4 -4
  11. package/dist/assistant/v1/schema.d.ts +1089 -133
  12. package/dist/billing/v1/client.d.ts +6 -0
  13. package/dist/billing/v1/client.js +6 -0
  14. package/dist/billing/v1/index.d.ts +193 -0
  15. package/dist/billing/v1/index.js +5 -0
  16. package/dist/billing/v1/schema.d.ts +4713 -0
  17. package/dist/billing/v1/schema.js +5 -0
  18. package/dist/canopy/v1/client.d.ts +4 -0
  19. package/dist/canopy/v1/client.js +7 -0
  20. package/dist/canopy/v1/index.d.ts +24 -23
  21. package/dist/canopy/v1/index.js +4 -4
  22. package/dist/canopy/v1/schema.d.ts +113 -109
  23. package/dist/compute/v1/client.d.ts +4 -0
  24. package/dist/compute/v1/client.js +7 -0
  25. package/dist/compute/v1/index.d.ts +80 -185
  26. package/dist/compute/v1/index.js +4 -4
  27. package/dist/compute/v1/schema.d.ts +808 -2844
  28. package/dist/dns/v1/client.d.ts +4 -0
  29. package/dist/dns/v1/client.js +7 -0
  30. package/dist/dns/v1/index.d.ts +43 -0
  31. package/dist/dns/v1/index.js +5 -0
  32. package/dist/dns/v1/schema.d.ts +887 -0
  33. package/dist/dns/v1/schema.js +5 -0
  34. package/dist/fabric/v1/client.d.ts +4 -0
  35. package/dist/fabric/v1/client.js +7 -0
  36. package/dist/fabric/v1/index.d.ts +115 -0
  37. package/dist/fabric/v1/index.js +5 -0
  38. package/dist/fabric/v1/schema.d.ts +2311 -0
  39. package/dist/fabric/v1/schema.js +5 -0
  40. package/dist/fleet/v1/client.d.ts +4 -0
  41. package/dist/fleet/v1/client.js +7 -0
  42. package/dist/fleet/v1/index.d.ts +15 -0
  43. package/dist/fleet/v1/index.js +5 -0
  44. package/dist/fleet/v1/schema.d.ts +291 -0
  45. package/dist/fleet/v1/schema.js +5 -0
  46. package/dist/iam/v1/client.d.ts +4 -0
  47. package/dist/iam/v1/client.js +7 -0
  48. package/dist/iam/v1/index.d.ts +55 -32
  49. package/dist/iam/v1/index.js +4 -4
  50. package/dist/iam/v1/schema.d.ts +515 -88
  51. package/dist/index.d.ts +14 -7
  52. package/dist/index.js +22 -5
  53. package/dist/monitoring/v1/client.d.ts +4 -0
  54. package/dist/monitoring/v1/client.js +7 -0
  55. package/dist/monitoring/v1/index.d.ts +130 -49
  56. package/dist/monitoring/v1/index.js +4 -4
  57. package/dist/monitoring/v1/schema.d.ts +2420 -527
  58. package/dist/notification/v1/client.d.ts +4 -0
  59. package/dist/notification/v1/client.js +7 -0
  60. package/dist/notification/v1/index.d.ts +77 -0
  61. package/dist/notification/v1/index.js +5 -0
  62. package/dist/notification/v1/schema.d.ts +2048 -0
  63. package/dist/notification/v1/schema.js +5 -0
  64. package/dist/storage/v1/client.d.ts +4 -0
  65. package/dist/storage/v1/client.js +7 -0
  66. package/dist/storage/v1/index.d.ts +35 -0
  67. package/dist/storage/v1/index.js +5 -0
  68. package/dist/storage/v1/schema.d.ts +749 -0
  69. package/dist/storage/v1/schema.js +5 -0
  70. package/dist/support/v1/client.d.ts +4 -0
  71. package/dist/support/v1/client.js +7 -0
  72. package/dist/support/v1/index.d.ts +51 -0
  73. package/dist/support/v1/index.js +5 -0
  74. package/dist/support/v1/schema.d.ts +1082 -0
  75. package/dist/support/v1/schema.js +5 -0
  76. package/dist/tunnel/v1/client.d.ts +4 -0
  77. package/dist/tunnel/v1/client.js +7 -0
  78. package/dist/tunnel/v1/index.d.ts +15 -36
  79. package/dist/tunnel/v1/index.js +4 -4
  80. package/dist/tunnel/v1/schema.d.ts +70 -510
  81. package/package.json +34 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.0.0-dev.16.gac94fbe",
3
+ "version": "0.0.0-dev.162.g0bbcd1c",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -23,6 +23,10 @@
23
23
  "types": "./dist/assistant/v1/index.d.ts",
24
24
  "default": "./dist/assistant/v1/index.js"
25
25
  },
26
+ "./billing/v1": {
27
+ "types": "./dist/billing/v1/index.d.ts",
28
+ "default": "./dist/billing/v1/index.js"
29
+ },
26
30
  "./canopy/v1": {
27
31
  "types": "./dist/canopy/v1/index.d.ts",
28
32
  "default": "./dist/canopy/v1/index.js"
@@ -31,6 +35,18 @@
31
35
  "types": "./dist/compute/v1/index.d.ts",
32
36
  "default": "./dist/compute/v1/index.js"
33
37
  },
38
+ "./dns/v1": {
39
+ "types": "./dist/dns/v1/index.d.ts",
40
+ "default": "./dist/dns/v1/index.js"
41
+ },
42
+ "./fabric/v1": {
43
+ "types": "./dist/fabric/v1/index.d.ts",
44
+ "default": "./dist/fabric/v1/index.js"
45
+ },
46
+ "./fleet/v1": {
47
+ "types": "./dist/fleet/v1/index.d.ts",
48
+ "default": "./dist/fleet/v1/index.js"
49
+ },
34
50
  "./iam/v1": {
35
51
  "types": "./dist/iam/v1/index.d.ts",
36
52
  "default": "./dist/iam/v1/index.js"
@@ -39,6 +55,18 @@
39
55
  "types": "./dist/monitoring/v1/index.d.ts",
40
56
  "default": "./dist/monitoring/v1/index.js"
41
57
  },
58
+ "./notification/v1": {
59
+ "types": "./dist/notification/v1/index.d.ts",
60
+ "default": "./dist/notification/v1/index.js"
61
+ },
62
+ "./storage/v1": {
63
+ "types": "./dist/storage/v1/index.d.ts",
64
+ "default": "./dist/storage/v1/index.js"
65
+ },
66
+ "./support/v1": {
67
+ "types": "./dist/support/v1/index.d.ts",
68
+ "default": "./dist/support/v1/index.js"
69
+ },
42
70
  "./tunnel/v1": {
43
71
  "types": "./dist/tunnel/v1/index.d.ts",
44
72
  "default": "./dist/tunnel/v1/index.js"
@@ -52,23 +80,19 @@
52
80
  "generate": "node scripts/generate.mjs",
53
81
  "build": "tsc -p tsconfig.build.json",
54
82
  "typecheck": "tsc -p tsconfig.json --noEmit",
55
- "prepublishOnly": "npm run build"
83
+ "prepublishOnly": "npm run build",
84
+ "format:check": "prettier --check gen scripts"
56
85
  },
57
86
  "devDependencies": {
58
87
  "openapi-typescript": "7.13.0",
88
+ "prettier": "^3.6.2",
59
89
  "typescript": "^5.9.3",
60
- "openapi-fetch": "^0.17.0",
61
90
  "yaml": "^2.8.1"
62
91
  },
63
92
  "publishConfig": {
64
93
  "access": "public"
65
94
  },
66
- "peerDependencies": {
67
- "openapi-fetch": ">=0.14"
68
- },
69
- "peerDependenciesMeta": {
70
- "openapi-fetch": {
71
- "optional": true
72
- }
95
+ "dependencies": {
96
+ "openapi-fetch": "^0.17.0"
73
97
  }
74
98
  }