Skip to content

Commit 546dcdf

Browse files
feat(api): manual updates
1 parent 53ba9b7 commit 546dcdf

File tree

5 files changed

+681
-101
lines changed

5 files changed

+681
-101
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-554f897c7f0061bb1fe51cd82f5f05e66050db5e868524c374dac827bd7b8c3d.yml
3-
openapi_spec_hash: 95b7298e7f3977ea6c98d9557d2c8d27
4-
config_hash: 49e367d7f33aeaf63ed738c1c0392d0a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-fa82106bb6313906d2eaac167e0ca5f60f12a166c743c00a18c22be0e455c1b6.yml
3+
openapi_spec_hash: 8ff6fc6886e8d7a9eee6d45d51e9673c
4+
config_hash: 76b94bb341141f0e9b14cdbb1203b0fa

api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,16 +145,16 @@ Methods:
145145

146146
Types:
147147

148-
- <code><a href="./src/resources/accounts/origins.ts">Origin</a></code>
148+
- <code><a href="./src/resources/accounts/origins.ts">OriginResponse</a></code>
149149
- <code><a href="./src/resources/accounts/origins.ts">OriginListResponse</a></code>
150150

151151
Methods:
152152

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>
153+
- <code title="post /v1/accounts/origins">client.accounts.origins.<a href="./src/resources/accounts/origins.ts">create</a>({ ...params }) -> OriginResponse</code>
154+
- <code title="put /v1/accounts/origins/{id}">client.accounts.origins.<a href="./src/resources/accounts/origins.ts">update</a>(id, { ...params }) -> OriginResponse</code>
155155
- <code title="get /v1/accounts/origins">client.accounts.origins.<a href="./src/resources/accounts/origins.ts">list</a>() -> OriginListResponse</code>
156156
- <code title="delete /v1/accounts/origins/{id}">client.accounts.origins.<a href="./src/resources/accounts/origins.ts">delete</a>(id) -> void</code>
157-
- <code title="get /v1/accounts/origins/{id}">client.accounts.origins.<a href="./src/resources/accounts/origins.ts">get</a>(id) -> Origin</code>
157+
- <code title="get /v1/accounts/origins/{id}">client.accounts.origins.<a href="./src/resources/accounts/origins.ts">get</a>(id) -> OriginResponse</code>
158158

159159
## URLEndpoints
160160

src/resources/accounts/accounts.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22

33
import { APIResource } from '../../core/resource';
44
import * as OriginsAPI from './origins';
5-
import { Origin, OriginCreateParams, OriginListResponse, OriginUpdateParams, Origins } from './origins';
5+
import {
6+
OriginCreateParams,
7+
OriginListResponse,
8+
OriginResponse,
9+
OriginUpdateParams,
10+
Origins,
11+
} from './origins';
612
import * as URLEndpointsAPI from './url-endpoints';
713
import {
814
URLEndpoint,
@@ -32,7 +38,7 @@ export declare namespace Accounts {
3238

3339
export {
3440
Origins as Origins,
35-
type Origin as Origin,
41+
type OriginResponse as OriginResponse,
3642
type OriginListResponse as OriginListResponse,
3743
type OriginCreateParams as OriginCreateParams,
3844
type OriginUpdateParams as OriginUpdateParams,

src/resources/accounts/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
export { Accounts } from './accounts';
44
export {
55
Origins,
6-
type Origin,
6+
type OriginResponse,
77
type OriginListResponse,
88
type OriginCreateParams,
99
type OriginUpdateParams,

0 commit comments

Comments
 (0)