netlify-api 0.10.1 → 1.2.0

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.
package/package.json CHANGED
@@ -1,36 +1,83 @@
1
1
  {
2
2
  "name": "netlify-api",
3
- "version": "0.10.1",
3
+ "version": "1.2.0",
4
4
  "description": "Netlify auto-generated type-safe API client",
5
+ "type": "module",
5
6
  "author": "SferaDev",
6
7
  "license": "ISC",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/SferaDev/SferaDev.git"
11
+ },
7
12
  "bugs": {
8
- "url": "https://github.com/SferaDev/openapi-clients/issues"
13
+ "url": "https://github.com/SferaDev/SferaDev/issues"
14
+ },
15
+ "homepage": "https://github.com/SferaDev/SferaDev#readme",
16
+ "dependencies": {
17
+ "zod": "4.4.3",
18
+ "@sferadev/openapi-utils": "0.0.1"
19
+ },
20
+ "devDependencies": {
21
+ "@kubb/cli": "5.0.0-beta.10",
22
+ "kubb": "5.0.0-beta.10",
23
+ "effect": "3.21.3",
24
+ "@types/node": "25.9.2",
25
+ "bunchee": "6.11.0",
26
+ "rimraf": "6.1.3",
27
+ "typescript": "6.0.3",
28
+ "@sferadev/tsconfig": "0.0.0"
9
29
  },
10
- "homepage": "https://github.com/SferaDev/openapi-clients#readme",
30
+ "peerDependencies": {
31
+ "effect": "^3.0.0"
32
+ },
33
+ "peerDependenciesMeta": {
34
+ "effect": {
35
+ "optional": true
36
+ }
37
+ },
38
+ "files": [
39
+ "dist"
40
+ ],
11
41
  "main": "dist/index.cjs",
12
42
  "module": "dist/index.mjs",
13
- "typings": "dist/index.d.ts",
43
+ "types": "dist/index.d.ts",
44
+ "sideEffects": false,
14
45
  "exports": {
15
46
  "./package.json": "./package.json",
16
47
  ".": {
17
- "import": {
18
- "types": "./dist/index.d.mts",
19
- "default": "./dist/index.mjs"
20
- },
21
- "require": {
22
- "types": "./dist/index.d.cts",
23
- "default": "./dist/index.cjs"
24
- }
48
+ "types": "./dist/index.d.ts",
49
+ "import": "./dist/index.mjs",
50
+ "require": "./dist/index.cjs"
51
+ },
52
+ "./types": {
53
+ "types": "./dist/types.d.mts",
54
+ "import": "./dist/types.mjs",
55
+ "require": "./dist/types.cjs"
56
+ },
57
+ "./schemas": {
58
+ "types": "./dist/schemas.d.mts",
59
+ "import": "./dist/schemas.mjs",
60
+ "require": "./dist/schemas.cjs"
61
+ },
62
+ "./components": {
63
+ "types": "./dist/components.d.mts",
64
+ "import": "./dist/components.mjs",
65
+ "require": "./dist/components.cjs"
66
+ },
67
+ "./effect": {
68
+ "types": "./dist/effect.d.mts",
69
+ "import": "./dist/effect.mjs",
70
+ "require": "./dist/effect.cjs"
25
71
  }
26
72
  },
27
- "repository": {
28
- "type": "git",
29
- "url": "git+https://github.com/SferaDev/openapi-clients.git"
73
+ "publishConfig": {
74
+ "access": "public",
75
+ "provenance": true
30
76
  },
31
77
  "scripts": {
32
78
  "tsc": "tsc --noEmit",
33
- "build": "unbuild",
34
- "generate": "openapi-codegen netlify"
79
+ "build": "bunchee",
80
+ "generate": "rimraf ./src/generated && kubb generate",
81
+ "is-tree-shakable": "is-tree-shakable"
35
82
  }
36
83
  }
@@ -1,14 +0,0 @@
1
-
2
- > netlify-api@0.10.1 build /home/runner/work/openapi-clients/openapi-clients/packages/netlify-api
3
- > unbuild
4
-
5
- [info] Automatically detected entries: src/index [esm] [cjs] [dts]
6
- [info] Building netlify-api
7
- [info] Cleaning dist directory: `./dist`
8
- [success] Build succeeded for netlify-api
9
- [log] dist/index.cjs (total size: 26.1 kB, chunk size: 26.1 kB, exports: NetlifyApi)
10
-
11
- [log] dist/index.mjs (total size: 26 kB, chunk size: 26 kB, exports: NetlifyApi)
12
-
13
- Σ Total dist size (byte size): 1.1 MB
14
- [log]
package/CHANGELOG.md DELETED
@@ -1,179 +0,0 @@
1
- # netlify-api
2
-
3
- ## 0.10.1
4
-
5
- ### Patch Changes
6
-
7
- - 33fce81: [BREAKING] Change GetAccountResponse type from array to object
8
-
9
- ## 0.10.0
10
-
11
- ### Minor Changes
12
-
13
- - f169446: Bump API version to 2.37.0
14
-
15
- ## 0.9.2
16
-
17
- ### Patch Changes
18
-
19
- - fc8b392: Bump version to 2.36.0
20
-
21
- ## 0.9.1
22
-
23
- ### Patch Changes
24
-
25
- - b53c98c: Update API version to 2.35.1
26
-
27
- ## 0.9.0
28
-
29
- ### Minor Changes
30
-
31
- - 35374e2: Update bundle mechanism
32
-
33
- ## 0.8.0
34
-
35
- ### Minor Changes
36
-
37
- - f22345e: Bump version to 2.35.0
38
-
39
- ### Patch Changes
40
-
41
- - 4e146a9: Add query parameters support to listAccountsForUser endpoint
42
-
43
- ## 0.7.0
44
-
45
- ### Minor Changes
46
-
47
- - a64ae61: Add getAllCertificates endpoint to fetch SSL certificates for a site
48
-
49
- ## 0.6.1
50
-
51
- ### Patch Changes
52
-
53
- - 8397d02: Remove mention of Enterprise plans from environment variable documentation
54
-
55
- ## 0.6.0
56
-
57
- ### Minor Changes
58
-
59
- - 7478d2e: Bump API version to 2.34.0
60
- - a86c18e: Add account_id field to Site and SiteSetup schemas
61
-
62
- ### Patch Changes
63
-
64
- - c7990bb: Returns all environment variables for an account or site. An account corresponds to a team in the Netlify UI.
65
-
66
- ## 0.5.1
67
-
68
- ### Patch Changes
69
-
70
- - 09038be: Update OpenAPI codegen to version 2.33.1
71
-
72
- ## 0.5.0
73
-
74
- ### Minor Changes
75
-
76
- - 2c6c5a4: Bump version to 2.32.0
77
- - 8580858: Bump API version to 2.33.0
78
-
79
- ## 0.4.2
80
-
81
- ### Patch Changes
82
-
83
- - 14f1b45: Bump version to 2.31.0
84
-
85
- ## 0.4.1
86
-
87
- ### Patch Changes
88
-
89
- - e6e9dd3: Update dependencies
90
-
91
- ## 0.4.0
92
-
93
- ### Minor Changes
94
-
95
- - 213a4c0: Add new endpoint to list site dev servers
96
-
97
- ## 0.3.2
98
-
99
- ### Patch Changes
100
-
101
- - 3584599: [BREAKING] Updated roles in AddMemberToAccount and UpdateAccountMember endpoints
102
-
103
- ## 0.3.1
104
-
105
- ### Patch Changes
106
-
107
- - 1eaed14: Update OpenAPI codegen version to 2.28.0
108
-
109
- ## 0.3.0
110
-
111
- ### Minor Changes
112
-
113
- - 201584c: Update site capabilities schema
114
-
115
- ### Patch Changes
116
-
117
- - e3ad5fd: Update OpenAPI codegen version to 2.26.1
118
-
119
- ## 0.2.1
120
-
121
- ### Patch Changes
122
-
123
- - d441527: [OpenAPI] Add site functions
124
-
125
- ## 0.2.0
126
-
127
- ### Minor Changes
128
-
129
- - 8512044: Add new get site env vars
130
-
131
- ## 0.1.9
132
-
133
- ### Patch Changes
134
-
135
- - 605bae6: [OpenAPI] Spec updates for netlify-api
136
- - 0be29c9: Export `types`
137
-
138
- ## 0.1.8
139
-
140
- ### Patch Changes
141
-
142
- - 5e1feed: [OpenAPI] Spec updates for netlify-api
143
-
144
- ## 0.1.7
145
-
146
- ### Patch Changes
147
-
148
- - e922990: [OpenAPI] Spec updates for netlify-api
149
-
150
- ## 0.1.6
151
-
152
- ### Patch Changes
153
-
154
- - 5da1e9e: [OpenAPI] Add context branch parameter
155
-
156
- ## 0.1.5
157
-
158
- ### Patch Changes
159
-
160
- - bd49651: Add `branch_deploy_custom_domain` and `deploy_preview_custom_domain`
161
-
162
- ## 0.1.4
163
-
164
- ### Patch Changes
165
-
166
- - 32af887: Update return type for refresh token
167
-
168
- ## 0.1.3
169
-
170
- ### Patch Changes
171
-
172
- - 3400a10: Add `request` helper method
173
-
174
- ## 0.1.2
175
-
176
- ### Patch Changes
177
-
178
- - ca612f6: Add refresh token helper
179
- - 719f021: Add base path
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Netlify API JavaScript SDK
2
-
3
- Unofficial Netlify API JavaScript SDK built from the OpenAPI specification and with TypeScript types.