Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#1655)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Apr 4, 2024
1 parent faf8b4e commit 8515995
Show file tree
Hide file tree
Showing 445 changed files with 6,361 additions and 5,032 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 1292
configured_endpoints: 1299
12 changes: 6 additions & 6 deletions accounts/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,9 @@ func (r AccountUpdateParamsSettingsDefaultNameservers) IsKnown() bool {
}

type AccountUpdateResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result AccountUpdateResponse `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result AccountUpdateResponse `json:"result,required"`
// Whether the API call was successful
Success AccountUpdateResponseEnvelopeSuccess `json:"success,required"`
JSON accountUpdateResponseEnvelopeJSON `json:"-"`
Expand Down Expand Up @@ -370,9 +370,9 @@ type AccountGetParams struct {
}

type AccountGetResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result AccountGetResponse `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result AccountGetResponse `json:"result,required"`
// Whether the API call was successful
Success AccountGetResponseEnvelopeSuccess `json:"success,required"`
JSON accountGetResponseEnvelopeJSON `json:"-"`
Expand Down
12 changes: 6 additions & 6 deletions accounts/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ type Logging = shared.Logging
// This is an alias to an internal type.
type LoggingParam = shared.LoggingParam

// This is an alias to an internal type.
type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type ResponseInfoParam = shared.ResponseInfoParam

// This is an alias to an internal type.
type UnnamedSchemaRef10 = shared.UnnamedSchemaRef10

Expand Down Expand Up @@ -422,12 +428,6 @@ type UnnamedSchemaRef171 = shared.UnnamedSchemaRef171
// This is an alias to an internal type.
type UnnamedSchemaRef171Array = shared.UnnamedSchemaRef171Array

// This is an alias to an internal type.
type UnnamedSchemaRef172 = shared.UnnamedSchemaRef172

// This is an alias to an internal type.
type UnnamedSchemaRef172Param = shared.UnnamedSchemaRef172Param

// This is an alias to an internal type.
type UnnamedSchemaRef173 = shared.UnnamedSchemaRef173

Expand Down
24 changes: 12 additions & 12 deletions accounts/member.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,9 @@ func (r MemberNewParamsStatus) IsKnown() bool {
}

type MemberNewResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result MemberWithCode `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result MemberWithCode `json:"result,required"`
// Whether the API call was successful
Success MemberNewResponseEnvelopeSuccess `json:"success,required"`
JSON memberNewResponseEnvelopeJSON `json:"-"`
Expand Down Expand Up @@ -484,9 +484,9 @@ func (r MemberUpdateParams) MarshalJSON() (data []byte, err error) {
}

type MemberUpdateResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result Member `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result Member `json:"result,required"`
// Whether the API call was successful
Success MemberUpdateResponseEnvelopeSuccess `json:"success,required"`
JSON memberUpdateResponseEnvelopeJSON `json:"-"`
Expand Down Expand Up @@ -609,9 +609,9 @@ func (r MemberDeleteParams) MarshalJSON() (data []byte, err error) {
}

type MemberDeleteResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result MemberDeleteResponse `json:"result,required,nullable"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result MemberDeleteResponse `json:"result,required,nullable"`
// Whether the API call was successful
Success MemberDeleteResponseEnvelopeSuccess `json:"success,required"`
JSON memberDeleteResponseEnvelopeJSON `json:"-"`
Expand Down Expand Up @@ -656,9 +656,9 @@ type MemberGetParams struct {
}

type MemberGetResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result Member `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result Member `json:"result,required"`
// Whether the API call was successful
Success MemberGetResponseEnvelopeSuccess `json:"success,required"`
JSON memberGetResponseEnvelopeJSON `json:"-"`
Expand Down
6 changes: 3 additions & 3 deletions accounts/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@ type RoleGetParams struct {
}

type RoleGetResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result RoleGetResponse `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result RoleGetResponse `json:"result,required"`
// Whether the API call was successful
Success RoleGetResponseEnvelopeSuccess `json:"success,required"`
JSON roleGetResponseEnvelopeJSON `json:"-"`
Expand Down
12 changes: 6 additions & 6 deletions acm/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ type Logging = shared.Logging
// This is an alias to an internal type.
type LoggingParam = shared.LoggingParam

// This is an alias to an internal type.
type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type ResponseInfoParam = shared.ResponseInfoParam

// This is an alias to an internal type.
type UnnamedSchemaRef10 = shared.UnnamedSchemaRef10

Expand Down Expand Up @@ -422,12 +428,6 @@ type UnnamedSchemaRef171 = shared.UnnamedSchemaRef171
// This is an alias to an internal type.
type UnnamedSchemaRef171Array = shared.UnnamedSchemaRef171Array

// This is an alias to an internal type.
type UnnamedSchemaRef172 = shared.UnnamedSchemaRef172

// This is an alias to an internal type.
type UnnamedSchemaRef172Param = shared.UnnamedSchemaRef172Param

// This is an alias to an internal type.
type UnnamedSchemaRef173 = shared.UnnamedSchemaRef173

Expand Down
12 changes: 6 additions & 6 deletions acm/totaltls.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ func (r TotalTLSNewParamsCertificateAuthority) IsKnown() bool {
}

type TotalTLSNewResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result TotalTLSNewResponse `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result TotalTLSNewResponse `json:"result,required"`
// Whether the API call was successful
Success TotalTLSNewResponseEnvelopeSuccess `json:"success,required"`
JSON totalTLSNewResponseEnvelopeJSON `json:"-"`
Expand Down Expand Up @@ -256,9 +256,9 @@ type TotalTLSGetParams struct {
}

type TotalTLSGetResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result TotalTLSGetResponse `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result TotalTLSGetResponse `json:"result,required"`
// Whether the API call was successful
Success TotalTLSGetResponseEnvelopeSuccess `json:"success,required"`
JSON totalTLSGetResponseEnvelopeJSON `json:"-"`
Expand Down
24 changes: 12 additions & 12 deletions addressing/addressmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,9 @@ func (r AddressMapNewParams) MarshalJSON() (data []byte, err error) {
}

type AddressMapNewResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result AddressMapNewResponse `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result AddressMapNewResponse `json:"result,required"`
// Whether the API call was successful
Success AddressMapNewResponseEnvelopeSuccess `json:"success,required"`
JSON addressMapNewResponseEnvelopeJSON `json:"-"`
Expand Down Expand Up @@ -490,9 +490,9 @@ func (r AddressMapDeleteParams) MarshalJSON() (data []byte, err error) {
}

type AddressMapDeleteResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
// Whether the API call was successful
Success AddressMapDeleteResponseEnvelopeSuccess `json:"success,required"`
ResultInfo AddressMapDeleteResponseEnvelopeResultInfo `json:"result_info"`
Expand Down Expand Up @@ -587,9 +587,9 @@ func (r AddressMapEditParams) MarshalJSON() (data []byte, err error) {
}

type AddressMapEditResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result AddressingAddressMaps `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result AddressingAddressMaps `json:"result,required"`
// Whether the API call was successful
Success AddressMapEditResponseEnvelopeSuccess `json:"success,required"`
JSON addressMapEditResponseEnvelopeJSON `json:"-"`
Expand Down Expand Up @@ -635,9 +635,9 @@ type AddressMapGetParams struct {
}

type AddressMapGetResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result AddressMapGetResponse `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result AddressMapGetResponse `json:"result,required"`
// Whether the API call was successful
Success AddressMapGetResponseEnvelopeSuccess `json:"success,required"`
JSON addressMapGetResponseEnvelopeJSON `json:"-"`
Expand Down
12 changes: 6 additions & 6 deletions addressing/addressmapaccount.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ func (r AddressMapAccountUpdateParams) MarshalJSON() (data []byte, err error) {
}

type AddressMapAccountUpdateResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
// Whether the API call was successful
Success AddressMapAccountUpdateResponseEnvelopeSuccess `json:"success,required"`
ResultInfo AddressMapAccountUpdateResponseEnvelopeResultInfo `json:"result_info"`
Expand Down Expand Up @@ -155,9 +155,9 @@ func (r AddressMapAccountDeleteParams) MarshalJSON() (data []byte, err error) {
}

type AddressMapAccountDeleteResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
// Whether the API call was successful
Success AddressMapAccountDeleteResponseEnvelopeSuccess `json:"success,required"`
ResultInfo AddressMapAccountDeleteResponseEnvelopeResultInfo `json:"result_info"`
Expand Down
12 changes: 6 additions & 6 deletions addressing/addressmapip.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ func (r AddressMapIPUpdateParams) MarshalJSON() (data []byte, err error) {
}

type AddressMapIPUpdateResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
// Whether the API call was successful
Success AddressMapIPUpdateResponseEnvelopeSuccess `json:"success,required"`
ResultInfo AddressMapIPUpdateResponseEnvelopeResultInfo `json:"result_info"`
Expand Down Expand Up @@ -155,9 +155,9 @@ func (r AddressMapIPDeleteParams) MarshalJSON() (data []byte, err error) {
}

type AddressMapIPDeleteResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
// Whether the API call was successful
Success AddressMapIPDeleteResponseEnvelopeSuccess `json:"success,required"`
ResultInfo AddressMapIPDeleteResponseEnvelopeResultInfo `json:"result_info"`
Expand Down
12 changes: 6 additions & 6 deletions addressing/addressmapzone.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ func (r AddressMapZoneUpdateParams) MarshalJSON() (data []byte, err error) {
}

type AddressMapZoneUpdateResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
// Whether the API call was successful
Success AddressMapZoneUpdateResponseEnvelopeSuccess `json:"success,required"`
ResultInfo AddressMapZoneUpdateResponseEnvelopeResultInfo `json:"result_info"`
Expand Down Expand Up @@ -159,9 +159,9 @@ func (r AddressMapZoneDeleteParams) MarshalJSON() (data []byte, err error) {
}

type AddressMapZoneDeleteResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
// Whether the API call was successful
Success AddressMapZoneDeleteResponseEnvelopeSuccess `json:"success,required"`
ResultInfo AddressMapZoneDeleteResponseEnvelopeResultInfo `json:"result_info"`
Expand Down
12 changes: 6 additions & 6 deletions addressing/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ type Logging = shared.Logging
// This is an alias to an internal type.
type LoggingParam = shared.LoggingParam

// This is an alias to an internal type.
type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type ResponseInfoParam = shared.ResponseInfoParam

// This is an alias to an internal type.
type UnnamedSchemaRef10 = shared.UnnamedSchemaRef10

Expand Down Expand Up @@ -422,12 +428,6 @@ type UnnamedSchemaRef171 = shared.UnnamedSchemaRef171
// This is an alias to an internal type.
type UnnamedSchemaRef171Array = shared.UnnamedSchemaRef171Array

// This is an alias to an internal type.
type UnnamedSchemaRef172 = shared.UnnamedSchemaRef172

// This is an alias to an internal type.
type UnnamedSchemaRef172Param = shared.UnnamedSchemaRef172Param

// This is an alias to an internal type.
type UnnamedSchemaRef173 = shared.UnnamedSchemaRef173

Expand Down
6 changes: 3 additions & 3 deletions addressing/loadocument.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ func (r LOADocumentNewParams) MarshalJSON() (data []byte, err error) {
}

type LOADocumentNewResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result LOADocumentNewResponse `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result LOADocumentNewResponse `json:"result,required"`
// Whether the API call was successful
Success LOADocumentNewResponseEnvelopeSuccess `json:"success,required"`
JSON loaDocumentNewResponseEnvelopeJSON `json:"-"`
Expand Down
24 changes: 12 additions & 12 deletions addressing/prefix.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ func (r PrefixNewParams) MarshalJSON() (data []byte, err error) {
}

type PrefixNewResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result AddressingIpamPrefixes `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result AddressingIpamPrefixes `json:"result,required"`
// Whether the API call was successful
Success PrefixNewResponseEnvelopeSuccess `json:"success,required"`
JSON prefixNewResponseEnvelopeJSON `json:"-"`
Expand Down Expand Up @@ -246,9 +246,9 @@ func (r PrefixDeleteParams) MarshalJSON() (data []byte, err error) {
}

type PrefixDeleteResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result shared.UnnamedSchemaRef167 `json:"result,required,nullable"`
// Whether the API call was successful
Success PrefixDeleteResponseEnvelopeSuccess `json:"success,required"`
ResultInfo PrefixDeleteResponseEnvelopeResultInfo `json:"result_info"`
Expand Down Expand Up @@ -333,9 +333,9 @@ func (r PrefixEditParams) MarshalJSON() (data []byte, err error) {
}

type PrefixEditResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result AddressingIpamPrefixes `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result AddressingIpamPrefixes `json:"result,required"`
// Whether the API call was successful
Success PrefixEditResponseEnvelopeSuccess `json:"success,required"`
JSON prefixEditResponseEnvelopeJSON `json:"-"`
Expand Down Expand Up @@ -381,9 +381,9 @@ type PrefixGetParams struct {
}

type PrefixGetResponseEnvelope struct {
Errors []shared.UnnamedSchemaRef172 `json:"errors,required"`
Messages []shared.UnnamedSchemaRef172 `json:"messages,required"`
Result AddressingIpamPrefixes `json:"result,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result AddressingIpamPrefixes `json:"result,required"`
// Whether the API call was successful
Success PrefixGetResponseEnvelopeSuccess `json:"success,required"`
JSON prefixGetResponseEnvelopeJSON `json:"-"`
Expand Down
Loading

0 comments on commit 8515995

Please sign in to comment.