Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Apr 10, 2024
1 parent 4dbe423 commit 8d0d47a
Show file tree
Hide file tree
Showing 5 changed files with 236 additions and 32 deletions.
13 changes: 8 additions & 5 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4114,19 +4114,22 @@ Types:

- <code><a href="./src/resources/zero-trust/devices/posture/posture.ts">DeviceInput</a></code>
- <code><a href="./src/resources/zero-trust/devices/posture/posture.ts">DeviceMatch</a></code>
- <code><a href="./src/resources/zero-trust/devices/posture/posture.ts">DevicePostureRule</a></code>
- <code><a href="./src/resources/zero-trust/devices/posture/posture.ts">UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930</a></code>
- <code><a href="./src/resources/zero-trust/devices/posture/posture.ts">UnnamedSchemaRef41885dd46b9e0294254c49305a273681</a></code>
- <code><a href="./src/resources/zero-trust/devices/posture/posture.ts">UnnamedSchemaRef9e35ef84511131488ae286ce78ac4b27</a></code>
- <code><a href="./src/resources/zero-trust/devices/posture/posture.ts">PostureCreateResponse</a></code>
- <code><a href="./src/resources/zero-trust/devices/posture/posture.ts">PostureUpdateResponse</a></code>
- <code><a href="./src/resources/zero-trust/devices/posture/posture.ts">PostureListResponse</a></code>
- <code><a href="./src/resources/zero-trust/devices/posture/posture.ts">PostureDeleteResponse</a></code>
- <code><a href="./src/resources/zero-trust/devices/posture/posture.ts">PostureGetResponse</a></code>

Methods:

- <code title="post /accounts/{account_id}/devices/posture">client.zeroTrust.devices.posture.<a href="./src/resources/zero-trust/devices/posture/posture.ts">create</a>({ ...params }) -> DevicePostureRule | null</code>
- <code title="put /accounts/{account_id}/devices/posture/{rule_id}">client.zeroTrust.devices.posture.<a href="./src/resources/zero-trust/devices/posture/posture.ts">update</a>(ruleId, { ...params }) -> DevicePostureRule | null</code>
- <code title="get /accounts/{account_id}/devices/posture">client.zeroTrust.devices.posture.<a href="./src/resources/zero-trust/devices/posture/posture.ts">list</a>({ ...params }) -> DevicePostureRulesSinglePage</code>
- <code title="post /accounts/{account_id}/devices/posture">client.zeroTrust.devices.posture.<a href="./src/resources/zero-trust/devices/posture/posture.ts">create</a>({ ...params }) -> PostureCreateResponse | null</code>
- <code title="put /accounts/{account_id}/devices/posture/{rule_id}">client.zeroTrust.devices.posture.<a href="./src/resources/zero-trust/devices/posture/posture.ts">update</a>(ruleId, { ...params }) -> PostureUpdateResponse | null</code>
- <code title="get /accounts/{account_id}/devices/posture">client.zeroTrust.devices.posture.<a href="./src/resources/zero-trust/devices/posture/posture.ts">list</a>({ ...params }) -> PostureListResponsesSinglePage</code>
- <code title="delete /accounts/{account_id}/devices/posture/{rule_id}">client.zeroTrust.devices.posture.<a href="./src/resources/zero-trust/devices/posture/posture.ts">delete</a>(ruleId, { ...params }) -> PostureDeleteResponse | null</code>
- <code title="get /accounts/{account_id}/devices/posture/{rule_id}">client.zeroTrust.devices.posture.<a href="./src/resources/zero-trust/devices/posture/posture.ts">get</a>(ruleId, { ...params }) -> DevicePostureRule | null</code>
- <code title="get /accounts/{account_id}/devices/posture/{rule_id}">client.zeroTrust.devices.posture.<a href="./src/resources/zero-trust/devices/posture/posture.ts">get</a>(ruleId, { ...params }) -> PostureGetResponse | null</code>

#### Integrations

Expand Down
7 changes: 5 additions & 2 deletions src/resources/zero-trust/devices/devices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,15 @@ export namespace Devices {
export import Posture = PostureAPI.Posture;
export import DeviceInput = PostureAPI.DeviceInput;
export import DeviceMatch = PostureAPI.DeviceMatch;
export import DevicePostureRule = PostureAPI.DevicePostureRule;
export import UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930 = PostureAPI.UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930;
export import UnnamedSchemaRef41885dd46b9e0294254c49305a273681 = PostureAPI.UnnamedSchemaRef41885dd46b9e0294254c49305a273681;
export import UnnamedSchemaRef9e35ef84511131488ae286ce78ac4b27 = PostureAPI.UnnamedSchemaRef9e35ef84511131488ae286ce78ac4b27;
export import PostureCreateResponse = PostureAPI.PostureCreateResponse;
export import PostureUpdateResponse = PostureAPI.PostureUpdateResponse;
export import PostureListResponse = PostureAPI.PostureListResponse;
export import PostureDeleteResponse = PostureAPI.PostureDeleteResponse;
export import DevicePostureRulesSinglePage = PostureAPI.DevicePostureRulesSinglePage;
export import PostureGetResponse = PostureAPI.PostureGetResponse;
export import PostureListResponsesSinglePage = PostureAPI.PostureListResponsesSinglePage;
export import PostureCreateParams = PostureAPI.PostureCreateParams;
export import PostureUpdateParams = PostureAPI.PostureUpdateParams;
export import PostureListParams = PostureAPI.PostureListParams;
Expand Down
7 changes: 5 additions & 2 deletions src/resources/zero-trust/devices/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,20 @@ export { Device, DeviceListParams, DeviceGetParams, DevicesSinglePage, Devices }
export {
DeviceInput,
DeviceMatch,
DevicePostureRule,
UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930,
UnnamedSchemaRef41885dd46b9e0294254c49305a273681,
UnnamedSchemaRef9e35ef84511131488ae286ce78ac4b27,
PostureCreateResponse,
PostureUpdateResponse,
PostureListResponse,
PostureDeleteResponse,
PostureGetResponse,
PostureCreateParams,
PostureUpdateParams,
PostureListParams,
PostureDeleteParams,
PostureGetParams,
DevicePostureRulesSinglePage,
PostureListResponsesSinglePage,
Posture,
} from './posture/index';
export {
Expand Down
7 changes: 5 additions & 2 deletions src/resources/zero-trust/devices/posture/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,20 @@
export {
DeviceInput,
DeviceMatch,
DevicePostureRule,
UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930,
UnnamedSchemaRef41885dd46b9e0294254c49305a273681,
UnnamedSchemaRef9e35ef84511131488ae286ce78ac4b27,
PostureCreateResponse,
PostureUpdateResponse,
PostureListResponse,
PostureDeleteResponse,
PostureGetResponse,
PostureCreateParams,
PostureUpdateParams,
PostureListParams,
PostureDeleteParams,
PostureGetParams,
DevicePostureRulesSinglePage,
PostureListResponsesSinglePage,
Posture,
} from './posture';
export {
Expand Down
Loading

0 comments on commit 8d0d47a

Please sign in to comment.