Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): OpenAPI spec update via Stainless API #1800

Merged
merged 1 commit into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions zero_trust/dexfleetstatus.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ func (r DEXFleetStatusLiveParams) URLQuery() (v url.Values) {
}

type DEXFleetStatusLiveResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result DEXFleetStatusLiveResponse `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
// Whether the API call was successful
Success DEXFleetStatusLiveResponseEnvelopeSuccess `json:"success,required"`
Result DEXFleetStatusLiveResponse `json:"result"`
JSON dexFleetStatusLiveResponseEnvelopeJSON `json:"-"`
}

Expand All @@ -163,8 +163,8 @@ type DEXFleetStatusLiveResponseEnvelope struct {
type dexFleetStatusLiveResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Result apijson.Field
Success apijson.Field
Result apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
Expand Down
4 changes: 2 additions & 2 deletions zero_trust/dexhttptest.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,9 @@ func (r DexhttpTestGetParamsInterval) IsKnown() bool {
type DexhttpTestGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result HTTPDetails `json:"result,required"`
// Whether the API call was successful
Success DexhttpTestGetResponseEnvelopeSuccess `json:"success,required"`
Result HTTPDetails `json:"result"`
JSON dexhttpTestGetResponseEnvelopeJSON `json:"-"`
}

Expand All @@ -388,8 +388,8 @@ type DexhttpTestGetResponseEnvelope struct {
type dexhttpTestGetResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Result apijson.Field
Success apijson.Field
Result apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
Expand Down
8 changes: 4 additions & 4 deletions zero_trust/dexhttptestpercentile.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ func (r DEXHTTPTestPercentileGetParams) URLQuery() (v url.Values) {
}

type DexhttpTestPercentileGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result HTTPDetailsPercentiles `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
// Whether the API call was successful
Success DexhttpTestPercentileGetResponseEnvelopeSuccess `json:"success,required"`
Result HTTPDetailsPercentiles `json:"result"`
JSON dexhttpTestPercentileGetResponseEnvelopeJSON `json:"-"`
}

Expand All @@ -163,8 +163,8 @@ type DexhttpTestPercentileGetResponseEnvelope struct {
type dexhttpTestPercentileGetResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Result apijson.Field
Success apijson.Field
Result apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
Expand Down
4 changes: 2 additions & 2 deletions zero_trust/dextest.go
Original file line number Diff line number Diff line change
Expand Up @@ -703,9 +703,9 @@ func (r testsTestsTracerouteResultsByColoRoundTripTimeOverTimeValueJSON) RawJSON
type DEXTestListResponse struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result Tests `json:"result,required"`
// Whether the API call was successful
Success DEXTestListResponseSuccess `json:"success,required"`
Result Tests `json:"result"`
ResultInfo DEXTestListResponseResultInfo `json:"result_info"`
JSON dexTestListResponseJSON `json:"-"`
}
Expand All @@ -715,8 +715,8 @@ type DEXTestListResponse struct {
type dexTestListResponseJSON struct {
Errors apijson.Field
Messages apijson.Field
Result apijson.Field
Success apijson.Field
Result apijson.Field
ResultInfo apijson.Field
raw string
ExtraFields map[string]apijson.Field
Expand Down
4 changes: 2 additions & 2 deletions zero_trust/dextestuniquedevice.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ func (r DEXTestUniqueDeviceListParams) URLQuery() (v url.Values) {
type DEXTestUniqueDeviceListResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result UniqueDevices `json:"result,required"`
// Whether the API call was successful
Success DEXTestUniqueDeviceListResponseEnvelopeSuccess `json:"success,required"`
Result UniqueDevices `json:"result"`
JSON dexTestUniqueDeviceListResponseEnvelopeJSON `json:"-"`
}

Expand All @@ -101,8 +101,8 @@ type DEXTestUniqueDeviceListResponseEnvelope struct {
type dexTestUniqueDeviceListResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Result apijson.Field
Success apijson.Field
Result apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
Expand Down
16 changes: 8 additions & 8 deletions zero_trust/dextraceroutetest.go
Original file line number Diff line number Diff line change
Expand Up @@ -469,9 +469,9 @@ func (r DEXTracerouteTestGetParamsInterval) IsKnown() bool {
type DEXTracerouteTestGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result Traceroute `json:"result,required"`
// Whether the API call was successful
Success DEXTracerouteTestGetResponseEnvelopeSuccess `json:"success,required"`
Result Traceroute `json:"result"`
JSON dexTracerouteTestGetResponseEnvelopeJSON `json:"-"`
}

Expand All @@ -480,8 +480,8 @@ type DEXTracerouteTestGetResponseEnvelope struct {
type dexTracerouteTestGetResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Result apijson.Field
Success apijson.Field
Result apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
Expand Down Expand Up @@ -549,9 +549,9 @@ func (r DEXTracerouteTestNetworkPathParamsInterval) IsKnown() bool {
type DEXTracerouteTestNetworkPathResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result NetworkPath `json:"result,required"`
// Whether the API call was successful
Success DEXTracerouteTestNetworkPathResponseEnvelopeSuccess `json:"success,required"`
Result NetworkPath `json:"result"`
JSON dexTracerouteTestNetworkPathResponseEnvelopeJSON `json:"-"`
}

Expand All @@ -560,8 +560,8 @@ type DEXTracerouteTestNetworkPathResponseEnvelope struct {
type dexTracerouteTestNetworkPathResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Result apijson.Field
Success apijson.Field
Result apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
Expand Down Expand Up @@ -613,11 +613,11 @@ func (r DEXTracerouteTestPercentilesParams) URLQuery() (v url.Values) {
}

type DEXTracerouteTestPercentilesResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result DEXTracerouteTestPercentilesResponse `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
// Whether the API call was successful
Success DEXTracerouteTestPercentilesResponseEnvelopeSuccess `json:"success,required"`
Result DEXTracerouteTestPercentilesResponse `json:"result"`
JSON dexTracerouteTestPercentilesResponseEnvelopeJSON `json:"-"`
}

Expand All @@ -626,8 +626,8 @@ type DEXTracerouteTestPercentilesResponseEnvelope struct {
type dexTracerouteTestPercentilesResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Result apijson.Field
Success apijson.Field
Result apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
Expand Down
8 changes: 4 additions & 4 deletions zero_trust/dextraceroutetestresultnetworkpath.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ type DEXTracerouteTestResultNetworkPathGetParams struct {
}

type DEXTracerouteTestResultNetworkPathGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result DEXTracerouteTestResultNetworkPathGetResponse `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
// Whether the API call was successful
Success DEXTracerouteTestResultNetworkPathGetResponseEnvelopeSuccess `json:"success,required"`
Result DEXTracerouteTestResultNetworkPathGetResponse `json:"result"`
JSON dexTracerouteTestResultNetworkPathGetResponseEnvelopeJSON `json:"-"`
}

Expand All @@ -182,8 +182,8 @@ type DEXTracerouteTestResultNetworkPathGetResponseEnvelope struct {
type dexTracerouteTestResultNetworkPathGetResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Result apijson.Field
Success apijson.Field
Result apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
Expand Down