Skip to content

Commit 34eade2

Browse files
committedFeb 10, 2025
feat(api): api update (#3912)
1 parent 443ac99 commit 34eade2

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1525
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-201a9d77b2e238cb2f8c2c952b00b976608e2a53fe4230369e801971fda29edc.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a19d8d47ccadec52630bf49d288b1a7a6280e882e04cc46b6e3a58291cdb06fb.yml

‎zero_trust/tunnelmanagement.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ func (r TunnelManagementNewParamsResource) IsKnown() bool {
8484
type TunnelManagementNewResponseEnvelope struct {
8585
Errors []shared.ResponseInfo `json:"errors,required"`
8686
Messages []shared.ResponseInfo `json:"messages,required"`
87-
Result string `json:"result,required"`
87+
// The Tunnel Token is used as a mechanism to authenticate the operation of a
88+
// tunnel.
89+
Result string `json:"result,required"`
8890
// Whether the API call was successful
8991
Success TunnelManagementNewResponseEnvelopeSuccess `json:"success,required"`
9092
JSON tunnelManagementNewResponseEnvelopeJSON `json:"-"`

‎zero_trust/tunneltoken.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ type TunnelTokenGetParams struct {
6363
type TunnelTokenGetResponseEnvelope struct {
6464
Errors []shared.ResponseInfo `json:"errors,required"`
6565
Messages []shared.ResponseInfo `json:"messages,required"`
66-
Result string `json:"result,required"`
66+
// The Tunnel Token is used as a mechanism to authenticate the operation of a
67+
// tunnel.
68+
Result string `json:"result,required"`
6769
// Whether the API call was successful
6870
Success TunnelTokenGetResponseEnvelopeSuccess `json:"success,required"`
6971
JSON tunnelTokenGetResponseEnvelopeJSON `json:"-"`

‎zero_trust/tunnelwarpconnector.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -1906,7 +1906,9 @@ type TunnelWARPConnectorTokenParams struct {
19061906
type TunnelWARPConnectorTokenResponseEnvelope struct {
19071907
Errors []shared.ResponseInfo `json:"errors,required"`
19081908
Messages []shared.ResponseInfo `json:"messages,required"`
1909-
Result string `json:"result,required"`
1909+
// The Tunnel Token is used as a mechanism to authenticate the operation of a
1910+
// tunnel.
1911+
Result string `json:"result,required"`
19101912
// Whether the API call was successful
19111913
Success TunnelWARPConnectorTokenResponseEnvelopeSuccess `json:"success,required"`
19121914
JSON tunnelWARPConnectorTokenResponseEnvelopeJSON `json:"-"`

0 commit comments

Comments
 (0)
Please sign in to comment.