Skip to content

Commit 53ba9b7

Browse files
feat(api): manual updates
1 parent 25e9109 commit 53ba9b7

File tree

5 files changed

+70
-377
lines changed

5 files changed

+70
-377
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 42
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-67e78a2f87dab7c661093c82f338197540584fa3d9a38773d1fdd435d788282f.yml
3-
openapi_spec_hash: 28ec969480eb18203d798e0435e76df3
4-
config_hash: 167d38f07a70976231dcdfa53ffa234c
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-554f897c7f0061bb1fe51cd82f5f05e66050db5e868524c374dac827bd7b8c3d.yml
3+
openapi_spec_hash: 95b7298e7f3977ea6c98d9557d2c8d27
4+
config_hash: 49e367d7f33aeaf63ed738c1c0392d0a

api.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,16 +146,15 @@ Methods:
146146
Types:
147147

148148
- <code><a href="./src/resources/accounts/origins.ts">Origin</a></code>
149-
- <code><a href="./src/resources/accounts/origins.ts">OriginResponse</a></code>
150149
- <code><a href="./src/resources/accounts/origins.ts">OriginListResponse</a></code>
151150

152151
Methods:
153152

154-
- <code title="post /v1/accounts/origins">client.accounts.origins.<a href="./src/resources/accounts/origins.ts">create</a>({ ...params }) -> OriginResponse</code>
155-
- <code title="put /v1/accounts/origins/{id}">client.accounts.origins.<a href="./src/resources/accounts/origins.ts">update</a>(id, { ...params }) -> OriginResponse</code>
153+
- <code title="post /v1/accounts/origins">client.accounts.origins.<a href="./src/resources/accounts/origins.ts">create</a>({ ...params }) -> Origin</code>
154+
- <code title="put /v1/accounts/origins/{id}">client.accounts.origins.<a href="./src/resources/accounts/origins.ts">update</a>(id, { ...params }) -> Origin</code>
156155
- <code title="get /v1/accounts/origins">client.accounts.origins.<a href="./src/resources/accounts/origins.ts">list</a>() -> OriginListResponse</code>
157156
- <code title="delete /v1/accounts/origins/{id}">client.accounts.origins.<a href="./src/resources/accounts/origins.ts">delete</a>(id) -> void</code>
158-
- <code title="get /v1/accounts/origins/{id}">client.accounts.origins.<a href="./src/resources/accounts/origins.ts">get</a>(id) -> OriginResponse</code>
157+
- <code title="get /v1/accounts/origins/{id}">client.accounts.origins.<a href="./src/resources/accounts/origins.ts">get</a>(id) -> Origin</code>
159158

160159
## URLEndpoints
161160

src/resources/accounts/accounts.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22

33
import { APIResource } from '../../core/resource';
44
import * as OriginsAPI from './origins';
5-
import {
6-
Origin,
7-
OriginCreateParams,
8-
OriginListResponse,
9-
OriginResponse,
10-
OriginUpdateParams,
11-
Origins,
12-
} from './origins';
5+
import { Origin, OriginCreateParams, OriginListResponse, OriginUpdateParams, Origins } from './origins';
136
import * as URLEndpointsAPI from './url-endpoints';
147
import {
158
URLEndpoint,
@@ -40,7 +33,6 @@ export declare namespace Accounts {
4033
export {
4134
Origins as Origins,
4235
type Origin as Origin,
43-
type OriginResponse as OriginResponse,
4436
type OriginListResponse as OriginListResponse,
4537
type OriginCreateParams as OriginCreateParams,
4638
type OriginUpdateParams as OriginUpdateParams,

src/resources/accounts/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ export { Accounts } from './accounts';
44
export {
55
Origins,
66
type Origin,
7-
type OriginResponse,
87
type OriginListResponse,
98
type OriginCreateParams,
109
type OriginUpdateParams,

0 commit comments

Comments
 (0)