Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8acea31

Browse files
committedMar 17, 2025
feat(api): api update (#4046)
1 parent e6db9a3 commit 8acea31

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1617
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-b8e92e0265ee524573a0bbe517e04b0fd59acc583e2cc020d189d0e6e378fcbd.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4c5d3eca46acf6884562f78cedffd5eb2e4c41781c5f4667c84739767252bb22.yml

‎magic_transit/connector.go

-4
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,6 @@ func (r connectorGetResponseDeviceJSON) RawJSON() string {
377377
}
378378

379379
type ConnectorUpdateParams struct {
380-
// Account identifier
381380
AccountID param.Field[string] `path:"account_id,required"`
382381
Activated param.Field[bool] `json:"activated"`
383382
InterruptWindowDurationHours param.Field[float64] `json:"interrupt_window_duration_hours"`
@@ -464,12 +463,10 @@ func (r connectorUpdateResponseEnvelopeMessagesJSON) RawJSON() string {
464463
}
465464

466465
type ConnectorListParams struct {
467-
// Account identifier
468466
AccountID param.Field[string] `path:"account_id,required"`
469467
}
470468

471469
type ConnectorEditParams struct {
472-
// Account identifier
473470
AccountID param.Field[string] `path:"account_id,required"`
474471
Activated param.Field[bool] `json:"activated"`
475472
InterruptWindowDurationHours param.Field[float64] `json:"interrupt_window_duration_hours"`
@@ -556,7 +553,6 @@ func (r connectorEditResponseEnvelopeMessagesJSON) RawJSON() string {
556553
}
557554

558555
type ConnectorGetParams struct {
559-
// Account identifier
560556
AccountID param.Field[string] `path:"account_id,required"`
561557
}
562558

0 commit comments

Comments
 (0)
Please sign in to comment.