Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Merge branch 'tests/secrets-phase-2-governance' into HEAD
varonix1975b8cd68ed
diff --cc tests/clients/api/api.gen.goindex 1871a95f4c,ab959484ea..516d285874--- a/tests/clients/api/api.gen.go+++ b/tests/clients/api/api.gen.go@@@ -7254,189 -7419,189 +7419,372 @@@ func (e UpdatePostgresAppConnection500J}}+ // Defines values for CreateServiceNowAppConnectionJSONBodyIsAutoRotationEnabled.+ const (+ CreateServiceNowAppConnectionJSONBodyIsAutoRotationEnabledFalse CreateServiceNowAppConnectionJSONBodyIsAutoRotationEnabled = false+ )++ // Valid indicates whether the value is a known member of the CreateServiceNowAppConnectionJSONBodyIsAutoRotationEnabled enum.+ func (e CreateServiceNowAppConnectionJSONBodyIsAutoRotationEnabled) Valid() bool {+ switch e {+ case CreateServiceNowAppConnectionJSONBodyIsAutoRotationEnabledFalse:+ return true+ default:+ return false+ }+ }++ // Defines values for CreateServiceNowAppConnectionJSONBodyIsPlatformManagedCredentials.+ const (+ CreateServiceNowAppConnectionJSONBodyIsPlatformManagedCredentialsFalse CreateServiceNowAppConnectionJSONBodyIsPlatformManagedCredentials = false+ )++ // Valid indicates whether the value is a known member of the CreateServiceNowAppConnectionJSONBodyIsPlatformManagedCredentials enum.+ func (e CreateServiceNowAppConnectionJSONBodyIsPlatformManagedCredentials) Valid() bool {+ switch e {+ case CreateServiceNowAppConnectionJSONBodyIsPlatformManagedCredentialsFalse:+ return true+ default:+ return false+ }+ }++ // Defines values for CreateServiceNowAppConnectionJSONBody0Method.+ const (+ CreateServiceNowAppConnectionJSONBody0MethodBasicAuth CreateServiceNowAppConnectionJSONBody0Method = "basic-auth"+ )++ // Valid indicates whether the value is a known member of the CreateServiceNowAppConnectionJSONBody0Method enum.+ func (e CreateServiceNowAppConnectionJSONBody0Method) Valid() bool {+ switch e {+ case CreateServiceNowAppConnectionJSONBody0MethodBasicAuth:+ return true+ default:+ return false+ }+ }++ // Defines values for CreateServiceNowAppConnection200JSONResponseBodyAppConnection0App.+ const (+ CreateServiceNowAppConnection200JSONResponseBodyAppConnection0AppServicenow CreateServiceNowAppConnection200JSONResponseBodyAppConnection0App = "servicenow"+ )++ // Valid indicates whether the value is a known member of the CreateServiceNowAppConnection200JSONResponseBodyAppConnection0App enum.+ func (e CreateServiceNowAppConnection200JSONResponseBodyAppConnection0App) Valid() bool {+ switch e {+ case CreateServiceNowAppConnection200JSONResponseBodyAppConnection0AppServicenow:+ return true+ default:+ return false+ }+ }++ // Defines values for CreateServiceNowAppConnection200JSONResponseBodyAppConnection0Method.+ const (+ CreateServiceNowAppConnection200JSONResponseBodyAppConnection0MethodBasicAuth CreateServiceNowAppConnection200JSONResponseBodyAppConnection0Method = "basic-auth"+ )++ // Valid indicates whether the value is a known member of the CreateServiceNowAppConnection200JSONResponseBodyAppConnection0Method enum.+ func (e CreateServiceNowAppConnection200JSONResponseBodyAppConnection0Method) Valid() bool {+ switch e {+ case CreateServiceNowAppConnection200JSONResponseBodyAppConnection0MethodBasicAuth:+ return true+ default:+ return false+ }+ }++ // Defines values for CreateServiceNowAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus.+ const (+ CreateServiceNowAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusFailed CreateServiceNowAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus = "failed"+ CreateServiceNowAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusSuccess CreateServiceNowAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus = "success"+ )++ // Valid indicates whether the value is a known member of the CreateServiceNowAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus enum.+ func (e CreateServiceNowAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus) Valid() bool {+ switch e {+ case CreateServiceNowAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusFailed:+ return true+ case CreateServiceNowAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusSuccess:+ return true+ default:+ return false+ }+ }++ // Defines values for CreateServiceNowAppConnection400JSONResponseBodyStatusCode.+ const (+ CreateServiceNowAppConnection400JSONResponseBodyStatusCodeN400 CreateServiceNowAppConnection400JSONResponseBodyStatusCode = 400+ )++ // Valid indicates whether the value is a known member of the CreateServiceNowAppConnection400JSONResponseBodyStatusCode enum.+ func (e CreateServiceNowAppConnection400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateServiceNowAppConnection400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+ }++ // Defines values for CreateServiceNowAppConnection401JSONResponseBodyStatusCode.+ const (+ CreateServiceNowAppConnection401JSONResponseBodyStatusCodeN401 CreateServiceNowAppConnection401JSONResponseBodyStatusCode = 401+ )++ // Valid indicates whether the value is a known member of the CreateServiceNowAppConnection401JSONResponseBodyStatusCode enum.+ func (e CreateServiceNowAppConnection401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateServiceNowAppConnection401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+ }++ // Defines values for CreateServiceNowAppConnection403JSONResponseBodyStatusCode.+ const (+ CreateServiceNowAppConnection403JSONResponseBodyStatusCodeN403 CreateServiceNowAppConnection403JSONResponseBodyStatusCode = 403+ )++ // Valid indicates whether the value is a known member of the CreateServiceNowAppConnection403JSONResponseBodyStatusCode enum.+ func (e CreateServiceNowAppConnection403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateServiceNowAppConnection403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+ }++ // Defines values for CreateServiceNowAppConnection404JSONResponseBodyStatusCode.+ const (+ CreateServiceNowAppConnection404JSONResponseBodyStatusCodeN404 CreateServiceNowAppConnection404JSONResponseBodyStatusCode = 404+ )++ // Valid indicates whether the value is a known member of the CreateServiceNowAppConnection404JSONResponseBodyStatusCode enum.+ func (e CreateServiceNowAppConnection404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateServiceNowAppConnection404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+ }++ // Defines values for CreateServiceNowAppConnection422JSONResponseBodyStatusCode.+ const (+ CreateServiceNowAppConnection422JSONResponseBodyStatusCodeN422 CreateServiceNowAppConnection422JSONResponseBodyStatusCode = 422+ )++ // Valid indicates whether the value is a known member of the CreateServiceNowAppConnection422JSONResponseBodyStatusCode enum.+ func (e CreateServiceNowAppConnection422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateServiceNowAppConnection422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+ }++ // Defines values for CreateServiceNowAppConnection500JSONResponseBodyStatusCode.+ const (+ CreateServiceNowAppConnection500JSONResponseBodyStatusCodeN500 CreateServiceNowAppConnection500JSONResponseBodyStatusCode = 500+ )++ // Valid indicates whether the value is a known member of the CreateServiceNowAppConnection500JSONResponseBodyStatusCode enum.+ func (e CreateServiceNowAppConnection500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateServiceNowAppConnection500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+ }++// Defines values for CreateVercelAppConnectionJSONBodyIsAutoRotationEnabled.+const (+ CreateVercelAppConnectionJSONBodyIsAutoRotationEnabledFalse CreateVercelAppConnectionJSONBodyIsAutoRotationEnabled = false+)++// Valid indicates whether the value is a known member of the CreateVercelAppConnectionJSONBodyIsAutoRotationEnabled enum.+func (e CreateVercelAppConnectionJSONBodyIsAutoRotationEnabled) Valid() bool {+ switch e {+ case CreateVercelAppConnectionJSONBodyIsAutoRotationEnabledFalse:+ return true+ default:+ return false+ }+}++// Defines values for CreateVercelAppConnectionJSONBodyIsPlatformManagedCredentials.+const (+ CreateVercelAppConnectionJSONBodyIsPlatformManagedCredentialsFalse CreateVercelAppConnectionJSONBodyIsPlatformManagedCredentials = false+)++// Valid indicates whether the value is a known member of the CreateVercelAppConnectionJSONBodyIsPlatformManagedCredentials enum.+func (e CreateVercelAppConnectionJSONBodyIsPlatformManagedCredentials) Valid() bool {+ switch e {+ case CreateVercelAppConnectionJSONBodyIsPlatformManagedCredentialsFalse:+ return true+ default:+ return false+ }+}++// Defines values for CreateVercelAppConnectionJSONBody0Method.+const (+ CreateVercelAppConnectionJSONBody0MethodApiToken CreateVercelAppConnectionJSONBody0Method = "api-token"+)++// Valid indicates whether the value is a known member of the CreateVercelAppConnectionJSONBody0Method enum.+func (e CreateVercelAppConnectionJSONBody0Method) Valid() bool {+ switch e {+ case CreateVercelAppConnectionJSONBody0MethodApiToken:+ return true+ default:+ return false+ }+}++// Defines values for CreateVercelAppConnection200JSONResponseBodyAppConnection0App.+const (+ CreateVercelAppConnection200JSONResponseBodyAppConnection0AppVercel CreateVercelAppConnection200JSONResponseBodyAppConnection0App = "vercel"+)++// Valid indicates whether the value is a known member of the CreateVercelAppConnection200JSONResponseBodyAppConnection0App enum.+func (e CreateVercelAppConnection200JSONResponseBodyAppConnection0App) Valid() bool {+ switch e {+ case CreateVercelAppConnection200JSONResponseBodyAppConnection0AppVercel:+ return true+ default:+ return false+ }+}++// Defines values for CreateVercelAppConnection200JSONResponseBodyAppConnection0Method.+const (+ CreateVercelAppConnection200JSONResponseBodyAppConnection0MethodApiToken CreateVercelAppConnection200JSONResponseBodyAppConnection0Method = "api-token"+)++// Valid indicates whether the value is a known member of the CreateVercelAppConnection200JSONResponseBodyAppConnection0Method enum.+func (e CreateVercelAppConnection200JSONResponseBodyAppConnection0Method) Valid() bool {+ switch e {+ case CreateVercelAppConnection200JSONResponseBodyAppConnection0MethodApiToken:+ return true+ default:+ return false+ }+}++// Defines values for CreateVercelAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus.+const (+ CreateVercelAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusFailed CreateVercelAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus = "failed"+ CreateVercelAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusSuccess CreateVercelAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus = "success"+)++// Valid indicates whether the value is a known member of the CreateVercelAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus enum.+func (e CreateVercelAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus) Valid() bool {+ switch e {+ case CreateVercelAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusFailed:+ return true+ case CreateVercelAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusSuccess:+ return true+ default:+ return false+ }+}++// Defines values for CreateVercelAppConnection400JSONResponseBodyStatusCode.+const (+ CreateVercelAppConnection400JSONResponseBodyStatusCodeN400 CreateVercelAppConnection400JSONResponseBodyStatusCode = 400+)++// Valid indicates whether the value is a known member of the CreateVercelAppConnection400JSONResponseBodyStatusCode enum.+func (e CreateVercelAppConnection400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateVercelAppConnection400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}++// Defines values for CreateVercelAppConnection401JSONResponseBodyStatusCode.+const (+ CreateVercelAppConnection401JSONResponseBodyStatusCodeN401 CreateVercelAppConnection401JSONResponseBodyStatusCode = 401+)++// Valid indicates whether the value is a known member of the CreateVercelAppConnection401JSONResponseBodyStatusCode enum.+func (e CreateVercelAppConnection401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateVercelAppConnection401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}++// Defines values for CreateVercelAppConnection403JSONResponseBodyStatusCode.+const (+ CreateVercelAppConnection403JSONResponseBodyStatusCodeN403 CreateVercelAppConnection403JSONResponseBodyStatusCode = 403+)++// Valid indicates whether the value is a known member of the CreateVercelAppConnection403JSONResponseBodyStatusCode enum.+func (e CreateVercelAppConnection403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateVercelAppConnection403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}++// Defines values for CreateVercelAppConnection404JSONResponseBodyStatusCode.+const (+ CreateVercelAppConnection404JSONResponseBodyStatusCodeN404 CreateVercelAppConnection404JSONResponseBodyStatusCode = 404+)++// Valid indicates whether the value is a known member of the CreateVercelAppConnection404JSONResponseBodyStatusCode enum.+func (e CreateVercelAppConnection404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateVercelAppConnection404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}++// Defines values for CreateVercelAppConnection422JSONResponseBodyStatusCode.+const (+ CreateVercelAppConnection422JSONResponseBodyStatusCodeN422 CreateVercelAppConnection422JSONResponseBodyStatusCode = 422+)++// Valid indicates whether the value is a known member of the CreateVercelAppConnection422JSONResponseBodyStatusCode enum.+func (e CreateVercelAppConnection422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateVercelAppConnection422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}++// Defines values for CreateVercelAppConnection500JSONResponseBodyStatusCode.+const (+ CreateVercelAppConnection500JSONResponseBodyStatusCodeN500 CreateVercelAppConnection500JSONResponseBodyStatusCode = 500+)++// Valid indicates whether the value is a known member of the CreateVercelAppConnection500JSONResponseBodyStatusCode enum.+func (e CreateVercelAppConnection500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateVercelAppConnection500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}+// Defines values for RefreshAuthToken400JSONResponseBodyStatusCode.const (RefreshAuthToken400JSONResponseBodyStatusCodeN400 RefreshAuthToken400JSONResponseBodyStatusCode = 400@@@ -64765,170 -64504,182 +65419,346 @@@ type UpdatePostgresAppConnection422JSON// UpdatePostgresAppConnection500JSONResponseBodyStatusCode defines parameters for UpdatePostgresAppConnection.type UpdatePostgresAppConnection500JSONResponseBodyStatusCode float32+ // CreateServiceNowAppConnectionJSONBody defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnectionJSONBody struct {+ // Description An optional description for the ServiceNow Connection.+ Description *string `json:"description,omitempty"`++ // GatewayId Not supported for ServiceNow Connections.+ GatewayId *CreateServiceNowAppConnectionJSONBody_GatewayId `json:"gatewayId,omitempty"`++ // GatewayPoolId Not supported for ServiceNow Connections.+ GatewayPoolId *CreateServiceNowAppConnectionJSONBody_GatewayPoolId `json:"gatewayPoolId,omitempty"`++ // IsAutoRotationEnabled Not supported for ServiceNow Connections.+ IsAutoRotationEnabled *CreateServiceNowAppConnectionJSONBodyIsAutoRotationEnabled `json:"isAutoRotationEnabled,omitempty"`++ // IsPlatformManagedCredentials Not supported for ServiceNow Connections.+ IsPlatformManagedCredentials *CreateServiceNowAppConnectionJSONBodyIsPlatformManagedCredentials `json:"isPlatformManagedCredentials,omitempty"`++ // Name The name of the ServiceNow Connection to create. Must be slug-friendly.+ Name string `json:"name"`++ // ProjectId The ID of the project to create the ServiceNow Connection in.+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation Not supported for ServiceNow Connections.+ Rotation *CreateServiceNowAppConnectionJSONBody_Rotation `json:"rotation,omitempty"`+ union json.RawMessage+ }++ // CreateServiceNowAppConnectionJSONBodyGatewayId0 defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnectionJSONBodyGatewayId0 = interface{}++ // CreateServiceNowAppConnectionJSONBodyGatewayId1 defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnectionJSONBodyGatewayId1 = interface{}++ // CreateServiceNowAppConnectionJSONBody_GatewayId defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnectionJSONBody_GatewayId struct {+ union json.RawMessage+ }++ // CreateServiceNowAppConnectionJSONBodyGatewayPoolId0 defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnectionJSONBodyGatewayPoolId0 = interface{}++ // CreateServiceNowAppConnectionJSONBodyGatewayPoolId1 defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnectionJSONBodyGatewayPoolId1 = interface{}++ // CreateServiceNowAppConnectionJSONBody_GatewayPoolId defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnectionJSONBody_GatewayPoolId struct {+ union json.RawMessage+ }++ // CreateServiceNowAppConnectionJSONBodyIsAutoRotationEnabled defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnectionJSONBodyIsAutoRotationEnabled bool++ // CreateServiceNowAppConnectionJSONBodyIsPlatformManagedCredentials defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnectionJSONBodyIsPlatformManagedCredentials bool++ // CreateServiceNowAppConnectionJSONBodyRotation0 defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnectionJSONBodyRotation0 = interface{}++ // CreateServiceNowAppConnectionJSONBodyRotation1 defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnectionJSONBodyRotation1 = interface{}++ // CreateServiceNowAppConnectionJSONBody_Rotation defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnectionJSONBody_Rotation struct {+ union json.RawMessage+ }++ // CreateServiceNowAppConnectionJSONBody0 defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnectionJSONBody0 struct {+ // Credentials The credentials used to connect with ServiceNow.+ Credentials struct {+ // InstanceUrl The base URL of the ServiceNow instance to connect with, without a path or trailing slash.+ InstanceUrl string `json:"instanceUrl"`++ // Password The password of the ServiceNow integration user.+ Password string `json:"password"`++ // Username The User ID of the ServiceNow integration user.+ Username string `json:"username"`+ } `json:"credentials"`++ // Method The method used to authenticate with ServiceNow.+ Method CreateServiceNowAppConnectionJSONBody0Method `json:"method"`+ }++ // CreateServiceNowAppConnectionJSONBody0Method defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnectionJSONBody0Method string++ // CreateServiceNowAppConnection200JSONResponseBodyAppConnection0 defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnection200JSONResponseBodyAppConnection0 struct {+ App CreateServiceNowAppConnection200JSONResponseBodyAppConnection0App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ // InstanceUrl The base URL of the ServiceNow instance to connect with, without a path or trailing slash.+ InstanceUrl string `json:"instanceUrl"`++ // Username The User ID of the ServiceNow integration user.+ Username string `json:"username"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method CreateServiceNowAppConnection200JSONResponseBodyAppConnection0Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`++ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`++ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`++ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`++ // RotationStatus The status of the last rotation attempt.+ RotationStatus CreateServiceNowAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ }++ // CreateServiceNowAppConnection200JSONResponseBodyAppConnection0App defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnection200JSONResponseBodyAppConnection0App string++ // CreateServiceNowAppConnection200JSONResponseBodyAppConnection0Method defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnection200JSONResponseBodyAppConnection0Method string++ // CreateServiceNowAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string++ // CreateServiceNowAppConnection200JSONResponseBody_AppConnection defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnection200JSONResponseBody_AppConnection struct {+ union json.RawMessage+ }++ // CreateServiceNowAppConnection400JSONResponseBodyStatusCode defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnection400JSONResponseBodyStatusCode float32++ // CreateServiceNowAppConnection401JSONResponseBodyStatusCode defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnection401JSONResponseBodyStatusCode float32++ // CreateServiceNowAppConnection403JSONResponseBodyStatusCode defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnection403JSONResponseBodyStatusCode float32++ // CreateServiceNowAppConnection404JSONResponseBodyStatusCode defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnection404JSONResponseBodyStatusCode float32++ // CreateServiceNowAppConnection422JSONResponseBodyStatusCode defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnection422JSONResponseBodyStatusCode float32++ // CreateServiceNowAppConnection500JSONResponseBodyStatusCode defines parameters for CreateServiceNowAppConnection.+ type CreateServiceNowAppConnection500JSONResponseBodyStatusCode float32++// CreateVercelAppConnectionJSONBody defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnectionJSONBody struct {+ // Description An optional description for the Vercel Connection.+ Description *string `json:"description,omitempty"`++ // GatewayId Not supported for Vercel Connections.+ GatewayId *CreateVercelAppConnectionJSONBody_GatewayId `json:"gatewayId,omitempty"`++ // GatewayPoolId Not supported for Vercel Connections.+ GatewayPoolId *CreateVercelAppConnectionJSONBody_GatewayPoolId `json:"gatewayPoolId,omitempty"`++ // IsAutoRotationEnabled Not supported for Vercel Connections.+ IsAutoRotationEnabled *CreateVercelAppConnectionJSONBodyIsAutoRotationEnabled `json:"isAutoRotationEnabled,omitempty"`++ // IsPlatformManagedCredentials Not supported for Vercel Connections.+ IsPlatformManagedCredentials *CreateVercelAppConnectionJSONBodyIsPlatformManagedCredentials `json:"isPlatformManagedCredentials,omitempty"`++ // Name The name of the Vercel Connection to create. Must be slug-friendly.+ Name string `json:"name"`++ // ProjectId The ID of the project to create the Vercel Connection in.+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation Not supported for Vercel Connections.+ Rotation *CreateVercelAppConnectionJSONBody_Rotation `json:"rotation,omitempty"`+ union json.RawMessage+}++// CreateVercelAppConnectionJSONBodyGatewayId0 defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnectionJSONBodyGatewayId0 = interface{}++// CreateVercelAppConnectionJSONBodyGatewayId1 defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnectionJSONBodyGatewayId1 = interface{}++// CreateVercelAppConnectionJSONBody_GatewayId defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnectionJSONBody_GatewayId struct {+ union json.RawMessage+}++// CreateVercelAppConnectionJSONBodyGatewayPoolId0 defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnectionJSONBodyGatewayPoolId0 = interface{}++// CreateVercelAppConnectionJSONBodyGatewayPoolId1 defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnectionJSONBodyGatewayPoolId1 = interface{}++// CreateVercelAppConnectionJSONBody_GatewayPoolId defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnectionJSONBody_GatewayPoolId struct {+ union json.RawMessage+}++// CreateVercelAppConnectionJSONBodyIsAutoRotationEnabled defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnectionJSONBodyIsAutoRotationEnabled bool++// CreateVercelAppConnectionJSONBodyIsPlatformManagedCredentials defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnectionJSONBodyIsPlatformManagedCredentials bool++// CreateVercelAppConnectionJSONBodyRotation0 defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnectionJSONBodyRotation0 = interface{}++// CreateVercelAppConnectionJSONBodyRotation1 defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnectionJSONBodyRotation1 = interface{}++// CreateVercelAppConnectionJSONBody_Rotation defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnectionJSONBody_Rotation struct {+ union json.RawMessage+}++// CreateVercelAppConnectionJSONBody0 defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnectionJSONBody0 struct {+ // Credentials The credentials used to connect with Vercel.+ Credentials struct {+ // ApiToken The API token used to authenticate with Vercel.+ ApiToken string `json:"apiToken"`+ } `json:"credentials"`++ // Method The method used to authenticate with Vercel.+ Method CreateVercelAppConnectionJSONBody0Method `json:"method"`+}++// CreateVercelAppConnectionJSONBody0Method defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnectionJSONBody0Method string++// CreateVercelAppConnection200JSONResponseBodyAppConnection0 defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnection200JSONResponseBodyAppConnection0 struct {+ App CreateVercelAppConnection200JSONResponseBodyAppConnection0App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials map[string]interface{} `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method CreateVercelAppConnection200JSONResponseBodyAppConnection0Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`++ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`++ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`++ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`++ // RotationStatus The status of the last rotation attempt.+ RotationStatus CreateVercelAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}++// CreateVercelAppConnection200JSONResponseBodyAppConnection0App defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnection200JSONResponseBodyAppConnection0App string++// CreateVercelAppConnection200JSONResponseBodyAppConnection0Method defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnection200JSONResponseBodyAppConnection0Method string++// CreateVercelAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string++// CreateVercelAppConnection200JSONResponseBody_AppConnection defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnection200JSONResponseBody_AppConnection struct {+ union json.RawMessage+}++// CreateVercelAppConnection400JSONResponseBodyStatusCode defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnection400JSONResponseBodyStatusCode float32++// CreateVercelAppConnection401JSONResponseBodyStatusCode defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnection401JSONResponseBodyStatusCode float32++// CreateVercelAppConnection403JSONResponseBodyStatusCode defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnection403JSONResponseBodyStatusCode float32++// CreateVercelAppConnection404JSONResponseBodyStatusCode defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnection404JSONResponseBodyStatusCode float32++// CreateVercelAppConnection422JSONResponseBodyStatusCode defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnection422JSONResponseBodyStatusCode float32++// CreateVercelAppConnection500JSONResponseBodyStatusCode defines parameters for CreateVercelAppConnection.+type CreateVercelAppConnection500JSONResponseBodyStatusCode float32+// RefreshAuthToken400JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.type RefreshAuthToken400JSONResponseBodyStatusCode float32@@@ -87949,9 -87386,9 +88865,12 @@@ type CreatePostgresAppConnectionJSONReq// UpdatePostgresAppConnectionJSONRequestBody defines body for UpdatePostgresAppConnection for application/json ContentType.type UpdatePostgresAppConnectionJSONRequestBody UpdatePostgresAppConnectionJSONBody+ // CreateServiceNowAppConnectionJSONRequestBody defines body for CreateServiceNowAppConnection for application/json ContentType.+ type CreateServiceNowAppConnectionJSONRequestBody CreateServiceNowAppConnectionJSONBody++// CreateVercelAppConnectionJSONRequestBody defines body for CreateVercelAppConnection for application/json ContentType.+type CreateVercelAppConnectionJSONRequestBody CreateVercelAppConnectionJSONBody+// AttachUniversalAuthJSONRequestBody defines body for AttachUniversalAuth for application/json ContentType.type AttachUniversalAuthJSONRequestBody AttachUniversalAuthJSONBody@@@ -93386,368 -92859,368 +94344,756 @@@ func (t *CreateServiceNowAppConnectionJreturn err}- func (t CreateVercelAppConnectionJSONBody) MarshalJSON() ([]byte, error) {+ func (t CreateServiceNowAppConnectionJSONBody) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ if err != nil {+ return nil, err+ }+ object := make(map[string]json.RawMessage)+ if t.union != nil {+ err = json.Unmarshal(b, &object)+ if err != nil {+ return nil, err+ }+ }++ if t.Description != nil {+ object["description"], err = json.Marshal(t.Description)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'description': %w", err)+ }+ }++ if t.GatewayId != nil {+ object["gatewayId"], err = json.Marshal(t.GatewayId)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'gatewayId': %w", err)+ }+ }++ if t.GatewayPoolId != nil {+ object["gatewayPoolId"], err = json.Marshal(t.GatewayPoolId)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'gatewayPoolId': %w", err)+ }+ }++ if t.IsAutoRotationEnabled != nil {+ object["isAutoRotationEnabled"], err = json.Marshal(t.IsAutoRotationEnabled)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'isAutoRotationEnabled': %w", err)+ }+ }++ if t.IsPlatformManagedCredentials != nil {+ object["isPlatformManagedCredentials"], err = json.Marshal(t.IsPlatformManagedCredentials)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'isPlatformManagedCredentials': %w", err)+ }+ }++ object["name"], err = json.Marshal(t.Name)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'name': %w", err)+ }++ if t.ProjectId != nil {+ object["projectId"], err = json.Marshal(t.ProjectId)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'projectId': %w", err)+ }+ }++ if t.Rotation != nil {+ object["rotation"], err = json.Marshal(t.Rotation)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'rotation': %w", err)+ }+ }+ b, err = json.Marshal(object)+ return b, err+ }++ func (t *CreateServiceNowAppConnectionJSONBody) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ if err != nil {+ return err+ }+ object := make(map[string]json.RawMessage)+ err = json.Unmarshal(b, &object)+ if err != nil {+ return err+ }++ if raw, found := object["description"]; found {+ err = json.Unmarshal(raw, &t.Description)+ if err != nil {+ return fmt.Errorf("error reading 'description': %w", err)+ }+ }++ if raw, found := object["gatewayId"]; found {+ err = json.Unmarshal(raw, &t.GatewayId)+ if err != nil {+ return fmt.Errorf("error reading 'gatewayId': %w", err)+ }+ }++ if raw, found := object["gatewayPoolId"]; found {+ err = json.Unmarshal(raw, &t.GatewayPoolId)+ if err != nil {+ return fmt.Errorf("error reading 'gatewayPoolId': %w", err)+ }+ }++ if raw, found := object["isAutoRotationEnabled"]; found {+ err = json.Unmarshal(raw, &t.IsAutoRotationEnabled)+ if err != nil {+ return fmt.Errorf("error reading 'isAutoRotationEnabled': %w", err)+ }+ }++ if raw, found := object["isPlatformManagedCredentials"]; found {+ err = json.Unmarshal(raw, &t.IsPlatformManagedCredentials)+ if err != nil {+ return fmt.Errorf("error reading 'isPlatformManagedCredentials': %w", err)+ }+ }++ if raw, found := object["name"]; found {+ err = json.Unmarshal(raw, &t.Name)+ if err != nil {+ return fmt.Errorf("error reading 'name': %w", err)+ }+ }++ if raw, found := object["projectId"]; found {+ err = json.Unmarshal(raw, &t.ProjectId)+ if err != nil {+ return fmt.Errorf("error reading 'projectId': %w", err)+ }+ }++ if raw, found := object["rotation"]; found {+ err = json.Unmarshal(raw, &t.Rotation)+ if err != nil {+ return fmt.Errorf("error reading 'rotation': %w", err)+ }+ }++ return err+ }++ // AsCreateServiceNowAppConnectionJSONBodyGatewayId0 returns the union data inside the CreateServiceNowAppConnectionJSONBody_GatewayId as a CreateServiceNowAppConnectionJSONBodyGatewayId0+ func (t CreateServiceNowAppConnectionJSONBody_GatewayId) AsCreateServiceNowAppConnectionJSONBodyGatewayId0() (CreateServiceNowAppConnectionJSONBodyGatewayId0, error) {+ var body CreateServiceNowAppConnectionJSONBodyGatewayId0+ err := json.Unmarshal(t.union, &body)+ return body, err+ }++ // FromCreateServiceNowAppConnectionJSONBodyGatewayId0 overwrites any union data inside the CreateServiceNowAppConnectionJSONBody_GatewayId as the provided CreateServiceNowAppConnectionJSONBodyGatewayId0+ func (t *CreateServiceNowAppConnectionJSONBody_GatewayId) FromCreateServiceNowAppConnectionJSONBodyGatewayId0(v CreateServiceNowAppConnectionJSONBodyGatewayId0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+ }++ // MergeCreateServiceNowAppConnectionJSONBodyGatewayId0 performs a merge with any union data inside the CreateServiceNowAppConnectionJSONBody_GatewayId, using the provided CreateServiceNowAppConnectionJSONBodyGatewayId0+ func (t *CreateServiceNowAppConnectionJSONBody_GatewayId) MergeCreateServiceNowAppConnectionJSONBodyGatewayId0(v CreateServiceNowAppConnectionJSONBodyGatewayId0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+ }++ // AsCreateServiceNowAppConnectionJSONBodyGatewayId1 returns the union data inside the CreateServiceNowAppConnectionJSONBody_GatewayId as a CreateServiceNowAppConnectionJSONBodyGatewayId1+ func (t CreateServiceNowAppConnectionJSONBody_GatewayId) AsCreateServiceNowAppConnectionJSONBodyGatewayId1() (CreateServiceNowAppConnectionJSONBodyGatewayId1, error) {+ var body CreateServiceNowAppConnectionJSONBodyGatewayId1+ err := json.Unmarshal(t.union, &body)+ return body, err+ }++ // FromCreateServiceNowAppConnectionJSONBodyGatewayId1 overwrites any union data inside the CreateServiceNowAppConnectionJSONBody_GatewayId as the provided CreateServiceNowAppConnectionJSONBodyGatewayId1+ func (t *CreateServiceNowAppConnectionJSONBody_GatewayId) FromCreateServiceNowAppConnectionJSONBodyGatewayId1(v CreateServiceNowAppConnectionJSONBodyGatewayId1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+ }++ // MergeCreateServiceNowAppConnectionJSONBodyGatewayId1 performs a merge with any union data inside the CreateServiceNowAppConnectionJSONBody_GatewayId, using the provided CreateServiceNowAppConnectionJSONBodyGatewayId1+ func (t *CreateServiceNowAppConnectionJSONBody_GatewayId) MergeCreateServiceNowAppConnectionJSONBodyGatewayId1(v CreateServiceNowAppConnectionJSONBodyGatewayId1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+ }++ func (t CreateServiceNowAppConnectionJSONBody_GatewayId) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+ }++ func (t *CreateServiceNowAppConnectionJSONBody_GatewayId) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+ }++ // AsCreateServiceNowAppConnectionJSONBodyGatewayPoolId0 returns the union data inside the CreateServiceNowAppConnectionJSONBody_GatewayPoolId as a CreateServiceNowAppConnectionJSONBodyGatewayPoolId0+ func (t CreateServiceNowAppConnectionJSONBody_GatewayPoolId) AsCreateServiceNowAppConnectionJSONBodyGatewayPoolId0() (CreateServiceNowAppConnectionJSONBodyGatewayPoolId0, error) {+ var body CreateServiceNowAppConnectionJSONBodyGatewayPoolId0+ err := json.Unmarshal(t.union, &body)+ return body, err+ }++ // FromCreateServiceNowAppConnectionJSONBodyGatewayPoolId0 overwrites any union data inside the CreateServiceNowAppConnectionJSONBody_GatewayPoolId as the provided CreateServiceNowAppConnectionJSONBodyGatewayPoolId0+ func (t *CreateServiceNowAppConnectionJSONBody_GatewayPoolId) FromCreateServiceNowAppConnectionJSONBodyGatewayPoolId0(v CreateServiceNowAppConnectionJSONBodyGatewayPoolId0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+ }++ // MergeCreateServiceNowAppConnectionJSONBodyGatewayPoolId0 performs a merge with any union data inside the CreateServiceNowAppConnectionJSONBody_GatewayPoolId, using the provided CreateServiceNowAppConnectionJSONBodyGatewayPoolId0+ func (t *CreateServiceNowAppConnectionJSONBody_GatewayPoolId) MergeCreateServiceNowAppConnectionJSONBodyGatewayPoolId0(v CreateServiceNowAppConnectionJSONBodyGatewayPoolId0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+ }++ // AsCreateServiceNowAppConnectionJSONBodyGatewayPoolId1 returns the union data inside the CreateServiceNowAppConnectionJSONBody_GatewayPoolId as a CreateServiceNowAppConnectionJSONBodyGatewayPoolId1+ func (t CreateServiceNowAppConnectionJSONBody_GatewayPoolId) AsCreateServiceNowAppConnectionJSONBodyGatewayPoolId1() (CreateServiceNowAppConnectionJSONBodyGatewayPoolId1, error) {+ var body CreateServiceNowAppConnectionJSONBodyGatewayPoolId1+ err := json.Unmarshal(t.union, &body)+ return body, err+ }++ // FromCreateServiceNowAppConnectionJSONBodyGatewayPoolId1 overwrites any union data inside the CreateServiceNowAppConnectionJSONBody_GatewayPoolId as the provided CreateServiceNowAppConnectionJSONBodyGatewayPoolId1+ func (t *CreateServiceNowAppConnectionJSONBody_GatewayPoolId) FromCreateServiceNowAppConnectionJSONBodyGatewayPoolId1(v CreateServiceNowAppConnectionJSONBodyGatewayPoolId1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+ }++ // MergeCreateServiceNowAppConnectionJSONBodyGatewayPoolId1 performs a merge with any union data inside the CreateServiceNowAppConnectionJSONBody_GatewayPoolId, using the provided CreateServiceNowAppConnectionJSONBodyGatewayPoolId1+ func (t *CreateServiceNowAppConnectionJSONBody_GatewayPoolId) MergeCreateServiceNowAppConnectionJSONBodyGatewayPoolId1(v CreateServiceNowAppConnectionJSONBodyGatewayPoolId1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+ }++ func (t CreateServiceNowAppConnectionJSONBody_GatewayPoolId) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+ }++ func (t *CreateServiceNowAppConnectionJSONBody_GatewayPoolId) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+ }++ // AsCreateServiceNowAppConnectionJSONBodyRotation0 returns the union data inside the CreateServiceNowAppConnectionJSONBody_Rotation as a CreateServiceNowAppConnectionJSONBodyRotation0+ func (t CreateServiceNowAppConnectionJSONBody_Rotation) AsCreateServiceNowAppConnectionJSONBodyRotation0() (CreateServiceNowAppConnectionJSONBodyRotation0, error) {+ var body CreateServiceNowAppConnectionJSONBodyRotation0+ err := json.Unmarshal(t.union, &body)+ return body, err+ }++ // FromCreateServiceNowAppConnectionJSONBodyRotation0 overwrites any union data inside the CreateServiceNowAppConnectionJSONBody_Rotation as the provided CreateServiceNowAppConnectionJSONBodyRotation0+ func (t *CreateServiceNowAppConnectionJSONBody_Rotation) FromCreateServiceNowAppConnectionJSONBodyRotation0(v CreateServiceNowAppConnectionJSONBodyRotation0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+ }++ // MergeCreateServiceNowAppConnectionJSONBodyRotation0 performs a merge with any union data inside the CreateServiceNowAppConnectionJSONBody_Rotation, using the provided CreateServiceNowAppConnectionJSONBodyRotation0+ func (t *CreateServiceNowAppConnectionJSONBody_Rotation) MergeCreateServiceNowAppConnectionJSONBodyRotation0(v CreateServiceNowAppConnectionJSONBodyRotation0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+ }++ // AsCreateServiceNowAppConnectionJSONBodyRotation1 returns the union data inside the CreateServiceNowAppConnectionJSONBody_Rotation as a CreateServiceNowAppConnectionJSONBodyRotation1+ func (t CreateServiceNowAppConnectionJSONBody_Rotation) AsCreateServiceNowAppConnectionJSONBodyRotation1() (CreateServiceNowAppConnectionJSONBodyRotation1, error) {+ var body CreateServiceNowAppConnectionJSONBodyRotation1+ err := json.Unmarshal(t.union, &body)+ return body, err+ }++ // FromCreateServiceNowAppConnectionJSONBodyRotation1 overwrites any union data inside the CreateServiceNowAppConnectionJSONBody_Rotation as the provided CreateServiceNowAppConnectionJSONBodyRotation1+ func (t *CreateServiceNowAppConnectionJSONBody_Rotation) FromCreateServiceNowAppConnectionJSONBodyRotation1(v CreateServiceNowAppConnectionJSONBodyRotation1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+ }++ // MergeCreateServiceNowAppConnectionJSONBodyRotation1 performs a merge with any union data inside the CreateServiceNowAppConnectionJSONBody_Rotation, using the provided CreateServiceNowAppConnectionJSONBodyRotation1+ func (t *CreateServiceNowAppConnectionJSONBody_Rotation) MergeCreateServiceNowAppConnectionJSONBodyRotation1(v CreateServiceNowAppConnectionJSONBodyRotation1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+ }++ func (t CreateServiceNowAppConnectionJSONBody_Rotation) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+ }++ func (t *CreateServiceNowAppConnectionJSONBody_Rotation) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+ }++ // AsCreateServiceNowAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the CreateServiceNowAppConnection200JSONResponseBody_AppConnection as a CreateServiceNowAppConnection200JSONResponseBodyAppConnection0+ func (t CreateServiceNowAppConnection200JSONResponseBody_AppConnection) AsCreateServiceNowAppConnection200JSONResponseBodyAppConnection0() (CreateServiceNowAppConnection200JSONResponseBodyAppConnection0, error) {+ var body CreateServiceNowAppConnection200JSONResponseBodyAppConnection0+ err := json.Unmarshal(t.union, &body)+ return body, err+ }++ // FromCreateServiceNowAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the CreateServiceNowAppConnection200JSONResponseBody_AppConnection as the provided CreateServiceNowAppConnection200JSONResponseBodyAppConnection0+ func (t *CreateServiceNowAppConnection200JSONResponseBody_AppConnection) FromCreateServiceNowAppConnection200JSONResponseBodyAppConnection0(v CreateServiceNowAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+ }++ // MergeCreateServiceNowAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the CreateServiceNowAppConnection200JSONResponseBody_AppConnection, using the provided CreateServiceNowAppConnection200JSONResponseBodyAppConnection0+ func (t *CreateServiceNowAppConnection200JSONResponseBody_AppConnection) MergeCreateServiceNowAppConnection200JSONResponseBodyAppConnection0(v CreateServiceNowAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+ }++ func (t CreateServiceNowAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+ }++ func (t *CreateServiceNowAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+ }+++// AsCreateVercelAppConnectionJSONBody0 returns the union data inside the CreateVercelAppConnectionJSONBody as a CreateVercelAppConnectionJSONBody0++func (t CreateVercelAppConnectionJSONBody) AsCreateVercelAppConnectionJSONBody0() (CreateVercelAppConnectionJSONBody0, error) {++ var body CreateVercelAppConnectionJSONBody0++ err := json.Unmarshal(t.union, &body)++ return body, err++}++++// FromCreateVercelAppConnectionJSONBody0 overwrites any union data inside the CreateVercelAppConnectionJSONBody as the provided CreateVercelAppConnectionJSONBody0++func (t *CreateVercelAppConnectionJSONBody) FromCreateVercelAppConnectionJSONBody0(v CreateVercelAppConnectionJSONBody0) error {++ b, err := json.Marshal(v)++ t.union = b++ return err++}++++// MergeCreateVercelAppConnectionJSONBody0 performs a merge with any union data inside the CreateVercelAppConnectionJSONBody, using the provided CreateVercelAppConnectionJSONBody0++func (t *CreateVercelAppConnectionJSONBody) MergeCreateVercelAppConnectionJSONBody0(v CreateVercelAppConnectionJSONBody0) error {++ b, err := json.Marshal(v)++ if err != nil {++ return err++ }++++ merged, err := runtime.JSONMerge(t.union, b)++ t.union = merged++ return err++}++++func (t CreateVercelAppConnectionJSONBody) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ if err != nil {+ return nil, err+ }+ object := make(map[string]json.RawMessage)+ if t.union != nil {+ err = json.Unmarshal(b, &object)+ if err != nil {+ return nil, err+ }+ }++ if t.Description != nil {+ object["description"], err = json.Marshal(t.Description)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'description': %w", err)+ }+ }++ if t.GatewayId != nil {+ object["gatewayId"], err = json.Marshal(t.GatewayId)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'gatewayId': %w", err)+ }+ }++ if t.GatewayPoolId != nil {+ object["gatewayPoolId"], err = json.Marshal(t.GatewayPoolId)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'gatewayPoolId': %w", err)+ }+ }++ if t.IsAutoRotationEnabled != nil {+ object["isAutoRotationEnabled"], err = json.Marshal(t.IsAutoRotationEnabled)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'isAutoRotationEnabled': %w", err)+ }+ }++ if t.IsPlatformManagedCredentials != nil {+ object["isPlatformManagedCredentials"], err = json.Marshal(t.IsPlatformManagedCredentials)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'isPlatformManagedCredentials': %w", err)+ }+ }++ object["name"], err = json.Marshal(t.Name)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'name': %w", err)+ }++ if t.ProjectId != nil {+ object["projectId"], err = json.Marshal(t.ProjectId)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'projectId': %w", err)+ }+ }++ if t.Rotation != nil {+ object["rotation"], err = json.Marshal(t.Rotation)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'rotation': %w", err)+ }+ }+ b, err = json.Marshal(object)+ return b, err+}++func (t *CreateVercelAppConnectionJSONBody) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ if err != nil {+ return err+ }+ object := make(map[string]json.RawMessage)+ err = json.Unmarshal(b, &object)+ if err != nil {+ return err+ }++ if raw, found := object["description"]; found {+ err = json.Unmarshal(raw, &t.Description)+ if err != nil {+ return fmt.Errorf("error reading 'description': %w", err)+ }+ }++ if raw, found := object["gatewayId"]; found {+ err = json.Unmarshal(raw, &t.GatewayId)+ if err != nil {+ return fmt.Errorf("error reading 'gatewayId': %w", err)+ }+ }++ if raw, found := object["gatewayPoolId"]; found {+ err = json.Unmarshal(raw, &t.GatewayPoolId)+ if err != nil {+ return fmt.Errorf("error reading 'gatewayPoolId': %w", err)+ }+ }++ if raw, found := object["isAutoRotationEnabled"]; found {+ err = json.Unmarshal(raw, &t.IsAutoRotationEnabled)+ if err != nil {+ return fmt.Errorf("error reading 'isAutoRotationEnabled': %w", err)+ }+ }++ if raw, found := object["isPlatformManagedCredentials"]; found {+ err = json.Unmarshal(raw, &t.IsPlatformManagedCredentials)+ if err != nil {+ return fmt.Errorf("error reading 'isPlatformManagedCredentials': %w", err)+ }+ }++ if raw, found := object["name"]; found {+ err = json.Unmarshal(raw, &t.Name)+ if err != nil {+ return fmt.Errorf("error reading 'name': %w", err)+ }+ }++ if raw, found := object["projectId"]; found {+ err = json.Unmarshal(raw, &t.ProjectId)+ if err != nil {+ return fmt.Errorf("error reading 'projectId': %w", err)+ }+ }++ if raw, found := object["rotation"]; found {+ err = json.Unmarshal(raw, &t.Rotation)+ if err != nil {+ return fmt.Errorf("error reading 'rotation': %w", err)+ }+ }++ return err+}++// AsCreateVercelAppConnectionJSONBodyGatewayId0 returns the union data inside the CreateVercelAppConnectionJSONBody_GatewayId as a CreateVercelAppConnectionJSONBodyGatewayId0+func (t CreateVercelAppConnectionJSONBody_GatewayId) AsCreateVercelAppConnectionJSONBodyGatewayId0() (CreateVercelAppConnectionJSONBodyGatewayId0, error) {+ var body CreateVercelAppConnectionJSONBodyGatewayId0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateVercelAppConnectionJSONBodyGatewayId0 overwrites any union data inside the CreateVercelAppConnectionJSONBody_GatewayId as the provided CreateVercelAppConnectionJSONBodyGatewayId0+func (t *CreateVercelAppConnectionJSONBody_GatewayId) FromCreateVercelAppConnectionJSONBodyGatewayId0(v CreateVercelAppConnectionJSONBodyGatewayId0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateVercelAppConnectionJSONBodyGatewayId0 performs a merge with any union data inside the CreateVercelAppConnectionJSONBody_GatewayId, using the provided CreateVercelAppConnectionJSONBodyGatewayId0+func (t *CreateVercelAppConnectionJSONBody_GatewayId) MergeCreateVercelAppConnectionJSONBodyGatewayId0(v CreateVercelAppConnectionJSONBodyGatewayId0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsCreateVercelAppConnectionJSONBodyGatewayId1 returns the union data inside the CreateVercelAppConnectionJSONBody_GatewayId as a CreateVercelAppConnectionJSONBodyGatewayId1+func (t CreateVercelAppConnectionJSONBody_GatewayId) AsCreateVercelAppConnectionJSONBodyGatewayId1() (CreateVercelAppConnectionJSONBodyGatewayId1, error) {+ var body CreateVercelAppConnectionJSONBodyGatewayId1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateVercelAppConnectionJSONBodyGatewayId1 overwrites any union data inside the CreateVercelAppConnectionJSONBody_GatewayId as the provided CreateVercelAppConnectionJSONBodyGatewayId1+func (t *CreateVercelAppConnectionJSONBody_GatewayId) FromCreateVercelAppConnectionJSONBodyGatewayId1(v CreateVercelAppConnectionJSONBodyGatewayId1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateVercelAppConnectionJSONBodyGatewayId1 performs a merge with any union data inside the CreateVercelAppConnectionJSONBody_GatewayId, using the provided CreateVercelAppConnectionJSONBodyGatewayId1+func (t *CreateVercelAppConnectionJSONBody_GatewayId) MergeCreateVercelAppConnectionJSONBodyGatewayId1(v CreateVercelAppConnectionJSONBodyGatewayId1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t CreateVercelAppConnectionJSONBody_GatewayId) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *CreateVercelAppConnectionJSONBody_GatewayId) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsCreateVercelAppConnectionJSONBodyGatewayPoolId0 returns the union data inside the CreateVercelAppConnectionJSONBody_GatewayPoolId as a CreateVercelAppConnectionJSONBodyGatewayPoolId0+func (t CreateVercelAppConnectionJSONBody_GatewayPoolId) AsCreateVercelAppConnectionJSONBodyGatewayPoolId0() (CreateVercelAppConnectionJSONBodyGatewayPoolId0, error) {+ var body CreateVercelAppConnectionJSONBodyGatewayPoolId0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateVercelAppConnectionJSONBodyGatewayPoolId0 overwrites any union data inside the CreateVercelAppConnectionJSONBody_GatewayPoolId as the provided CreateVercelAppConnectionJSONBodyGatewayPoolId0+func (t *CreateVercelAppConnectionJSONBody_GatewayPoolId) FromCreateVercelAppConnectionJSONBodyGatewayPoolId0(v CreateVercelAppConnectionJSONBodyGatewayPoolId0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateVercelAppConnectionJSONBodyGatewayPoolId0 performs a merge with any union data inside the CreateVercelAppConnectionJSONBody_GatewayPoolId, using the provided CreateVercelAppConnectionJSONBodyGatewayPoolId0+func (t *CreateVercelAppConnectionJSONBody_GatewayPoolId) MergeCreateVercelAppConnectionJSONBodyGatewayPoolId0(v CreateVercelAppConnectionJSONBodyGatewayPoolId0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsCreateVercelAppConnectionJSONBodyGatewayPoolId1 returns the union data inside the CreateVercelAppConnectionJSONBody_GatewayPoolId as a CreateVercelAppConnectionJSONBodyGatewayPoolId1+func (t CreateVercelAppConnectionJSONBody_GatewayPoolId) AsCreateVercelAppConnectionJSONBodyGatewayPoolId1() (CreateVercelAppConnectionJSONBodyGatewayPoolId1, error) {+ var body CreateVercelAppConnectionJSONBodyGatewayPoolId1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateVercelAppConnectionJSONBodyGatewayPoolId1 overwrites any union data inside the CreateVercelAppConnectionJSONBody_GatewayPoolId as the provided CreateVercelAppConnectionJSONBodyGatewayPoolId1+func (t *CreateVercelAppConnectionJSONBody_GatewayPoolId) FromCreateVercelAppConnectionJSONBodyGatewayPoolId1(v CreateVercelAppConnectionJSONBodyGatewayPoolId1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateVercelAppConnectionJSONBodyGatewayPoolId1 performs a merge with any union data inside the CreateVercelAppConnectionJSONBody_GatewayPoolId, using the provided CreateVercelAppConnectionJSONBodyGatewayPoolId1+func (t *CreateVercelAppConnectionJSONBody_GatewayPoolId) MergeCreateVercelAppConnectionJSONBodyGatewayPoolId1(v CreateVercelAppConnectionJSONBodyGatewayPoolId1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t CreateVercelAppConnectionJSONBody_GatewayPoolId) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *CreateVercelAppConnectionJSONBody_GatewayPoolId) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsCreateVercelAppConnectionJSONBodyRotation0 returns the union data inside the CreateVercelAppConnectionJSONBody_Rotation as a CreateVercelAppConnectionJSONBodyRotation0+func (t CreateVercelAppConnectionJSONBody_Rotation) AsCreateVercelAppConnectionJSONBodyRotation0() (CreateVercelAppConnectionJSONBodyRotation0, error) {+ var body CreateVercelAppConnectionJSONBodyRotation0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateVercelAppConnectionJSONBodyRotation0 overwrites any union data inside the CreateVercelAppConnectionJSONBody_Rotation as the provided CreateVercelAppConnectionJSONBodyRotation0+func (t *CreateVercelAppConnectionJSONBody_Rotation) FromCreateVercelAppConnectionJSONBodyRotation0(v CreateVercelAppConnectionJSONBodyRotation0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateVercelAppConnectionJSONBodyRotation0 performs a merge with any union data inside the CreateVercelAppConnectionJSONBody_Rotation, using the provided CreateVercelAppConnectionJSONBodyRotation0+func (t *CreateVercelAppConnectionJSONBody_Rotation) MergeCreateVercelAppConnectionJSONBodyRotation0(v CreateVercelAppConnectionJSONBodyRotation0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsCreateVercelAppConnectionJSONBodyRotation1 returns the union data inside the CreateVercelAppConnectionJSONBody_Rotation as a CreateVercelAppConnectionJSONBodyRotation1+func (t CreateVercelAppConnectionJSONBody_Rotation) AsCreateVercelAppConnectionJSONBodyRotation1() (CreateVercelAppConnectionJSONBodyRotation1, error) {+ var body CreateVercelAppConnectionJSONBodyRotation1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateVercelAppConnectionJSONBodyRotation1 overwrites any union data inside the CreateVercelAppConnectionJSONBody_Rotation as the provided CreateVercelAppConnectionJSONBodyRotation1+func (t *CreateVercelAppConnectionJSONBody_Rotation) FromCreateVercelAppConnectionJSONBodyRotation1(v CreateVercelAppConnectionJSONBodyRotation1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateVercelAppConnectionJSONBodyRotation1 performs a merge with any union data inside the CreateVercelAppConnectionJSONBody_Rotation, using the provided CreateVercelAppConnectionJSONBodyRotation1+func (t *CreateVercelAppConnectionJSONBody_Rotation) MergeCreateVercelAppConnectionJSONBodyRotation1(v CreateVercelAppConnectionJSONBodyRotation1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t CreateVercelAppConnectionJSONBody_Rotation) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *CreateVercelAppConnectionJSONBody_Rotation) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsCreateVercelAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the CreateVercelAppConnection200JSONResponseBody_AppConnection as a CreateVercelAppConnection200JSONResponseBodyAppConnection0+func (t CreateVercelAppConnection200JSONResponseBody_AppConnection) AsCreateVercelAppConnection200JSONResponseBodyAppConnection0() (CreateVercelAppConnection200JSONResponseBodyAppConnection0, error) {+ var body CreateVercelAppConnection200JSONResponseBodyAppConnection0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateVercelAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the CreateVercelAppConnection200JSONResponseBody_AppConnection as the provided CreateVercelAppConnection200JSONResponseBodyAppConnection0+func (t *CreateVercelAppConnection200JSONResponseBody_AppConnection) FromCreateVercelAppConnection200JSONResponseBodyAppConnection0(v CreateVercelAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateVercelAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the CreateVercelAppConnection200JSONResponseBody_AppConnection, using the provided CreateVercelAppConnection200JSONResponseBodyAppConnection0+func (t *CreateVercelAppConnection200JSONResponseBody_AppConnection) MergeCreateVercelAppConnection200JSONResponseBodyAppConnection0(v CreateVercelAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t CreateVercelAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *CreateVercelAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}+// AsDeepSearchSecrets200JSONResponseBodySecretRotations25ParametersModulusLength0 returns the union data inside the DeepSearchSecrets200JSONResponseBody_SecretRotations_25_Parameters_ModulusLength as a DeepSearchSecrets200JSONResponseBodySecretRotations25ParametersModulusLength0func (t DeepSearchSecrets200JSONResponseBody_SecretRotations_25_Parameters_ModulusLength) AsDeepSearchSecrets200JSONResponseBodySecretRotations25ParametersModulusLength0() (DeepSearchSecrets200JSONResponseBodySecretRotations25ParametersModulusLength0, error) {var body DeepSearchSecrets200JSONResponseBodySecretRotations25ParametersModulusLength0@@@ -108589,18 -107566,18 +109935,30 @@@ type ClientInterface interface// Update the specified PostgreSQL Connection.UpdatePostgresAppConnection(ctx context.Context, connectionId openapi_types.UUID, body UpdatePostgresAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+ // CreateServiceNowAppConnectionWithBody performs a POST /api/v1/app-connections/servicenow (the `CreateServiceNowAppConnection` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create a ServiceNow Connection.+ CreateServiceNowAppConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)++ // CreateServiceNowAppConnection performs a POST /api/v1/app-connections/servicenow (the `CreateServiceNowAppConnection` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create a ServiceNow Connection.+ CreateServiceNowAppConnection(ctx context.Context, body CreateServiceNowAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)++ // CreateVercelAppConnectionWithBody performs a POST /api/v1/app-connections/vercel (the `CreateVercelAppConnection` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create a Vercel Connection.+ CreateVercelAppConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)++ // CreateVercelAppConnection performs a POST /api/v1/app-connections/vercel (the `CreateVercelAppConnection` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create a Vercel Connection.+ CreateVercelAppConnection(ctx context.Context, body CreateVercelAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// RefreshAuthToken performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.RefreshAuthToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)@@@ -112081,38 -111051,38 +113454,70 @@@ func (c *Client) UpdatePostgresAppConnereturn c.Client.Do(req)}+ // CreateServiceNowAppConnectionWithBody performs a POST /api/v1/app-connections/servicenow (the `CreateServiceNowAppConnection` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create a ServiceNow Connection.+ func (c *Client) CreateServiceNowAppConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateServiceNowAppConnectionRequestWithBody(c.Server, contentType, body)+ if err != nil {+ return nil, err+ }+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)+ }++ // CreateServiceNowAppConnection performs a POST /api/v1/app-connections/servicenow (the `CreateServiceNowAppConnection` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create a ServiceNow Connection.+ func (c *Client) CreateServiceNowAppConnection(ctx context.Context, body CreateServiceNowAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateServiceNowAppConnectionRequest(c.Server, body)+ if err != nil {+ return nil, err+ }+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)+ }++// CreateVercelAppConnectionWithBody performs a POST /api/v1/app-connections/vercel (the `CreateVercelAppConnection` operationId) request,+// with any type of body and a specified content type.+//+// Create a Vercel Connection.+func (c *Client) CreateVercelAppConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateVercelAppConnectionRequestWithBody(c.Server, contentType, body)+ if err != nil {+ return nil, err+ }+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)+}++// CreateVercelAppConnection performs a POST /api/v1/app-connections/vercel (the `CreateVercelAppConnection` operationId) request.+// Takes a body of the `application/json` content type.+//+// Create a Vercel Connection.+func (c *Client) CreateVercelAppConnection(ctx context.Context, body CreateVercelAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateVercelAppConnectionRequest(c.Server, body)+ if err != nil {+ return nil, err+ }+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)+}+// RefreshAuthToken performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.func (c *Client) RefreshAuthToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) {req, err := NewRefreshAuthTokenRequest(c.Server)@@@ -122151,46 -121104,46 +123601,86 @@@ func NewUpdatePostgresAppConnectionRequreturn req, nil}+ // NewCreateServiceNowAppConnectionRequest calls the generic CreateServiceNowAppConnection builder with application/json body+ func NewCreateServiceNowAppConnectionRequest(server string, body CreateServiceNowAppConnectionJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateServiceNowAppConnectionRequestWithBody(server, "application/json", bodyReader)+ }++ // NewCreateServiceNowAppConnectionRequestWithBody constructs an http.Request for the CreateServiceNowAppConnection method, with any body, and a specified content type+ func NewCreateServiceNowAppConnectionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }++ operationPath := fmt.Sprintf("/api/v1/app-connections/servicenow")+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }++ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err+ }++ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)+ if err != nil {+ return nil, err+ }++ req.Header.Add("Content-Type", contentType)++ return req, nil+ }++// NewCreateVercelAppConnectionRequest calls the generic CreateVercelAppConnection builder with application/json body+func NewCreateVercelAppConnectionRequest(server string, body CreateVercelAppConnectionJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateVercelAppConnectionRequestWithBody(server, "application/json", bodyReader)+}++// NewCreateVercelAppConnectionRequestWithBody constructs an http.Request for the CreateVercelAppConnection method, with any body, and a specified content type+func NewCreateVercelAppConnectionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }++ operationPath := fmt.Sprintf("/api/v1/app-connections/vercel")+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }++ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err+ }++ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)+ if err != nil {+ return nil, err+ }++ req.Header.Add("Content-Type", contentType)++ return req, nil+}+// NewRefreshAuthTokenRequest constructs an http.Request for the RefreshAuthToken methodfunc NewRefreshAuthTokenRequest(server string) (*http.Request, error) {var err error@@@ -142827,20 -141754,20 +144399,34 @@@ type ClientWithResponsesInterface inter// Update the specified PostgreSQL Connection.UpdatePostgresAppConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, body UpdatePostgresAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePostgresAppConnectionResponse, error)+ // CreateServiceNowAppConnectionWithBodyWithResponse performs a POST /api/v1/app-connections/servicenow (the `CreateServiceNowAppConnection` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create a ServiceNow Connection.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateServiceNowAppConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceNowAppConnectionResponse, error)++ // CreateServiceNowAppConnectionWithResponse performs a POST /api/v1/app-connections/servicenow (the `CreateServiceNowAppConnection` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create a ServiceNow Connection.+ CreateServiceNowAppConnectionWithResponse(ctx context.Context, body CreateServiceNowAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceNowAppConnectionResponse, error)++ // CreateVercelAppConnectionWithBodyWithResponse performs a POST /api/v1/app-connections/vercel (the `CreateVercelAppConnection` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create a Vercel Connection.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateVercelAppConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVercelAppConnectionResponse, error)++ // CreateVercelAppConnectionWithResponse performs a POST /api/v1/app-connections/vercel (the `CreateVercelAppConnection` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create a Vercel Connection.+ CreateVercelAppConnectionWithResponse(ctx context.Context, body CreateVercelAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVercelAppConnectionResponse, error)+// RefreshAuthTokenWithResponse performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.//// Returns a wrapper object for the known response body format(s).@@@ -153138,157 -152154,157 +154841,308 @@@ func (r UpdatePostgresAppConnectionRespreturn ""}+ type CreateServiceNowAppConnectionResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ AppConnection CreateServiceNowAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ }+ // JSON400 the response for an HTTP 400 `application/json` response+ JSON400 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON401 the response for an HTTP 401 `application/json` response+ JSON401 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON403 the response for an HTTP 403 `application/json` response+ JSON403 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON404 the response for an HTTP 404 `application/json` response+ JSON404 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON422 the response for an HTTP 422 `application/json` response+ JSON422 *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON500 the response for an HTTP 500 `application/json` response+ JSON500 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ }++ // GetJSON200 returns the response for an HTTP 200 `application/json` response+ func (r CreateServiceNowAppConnectionResponse) GetJSON200() *struct {+ AppConnection CreateServiceNowAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ } {+ return r.JSON200+ }++ // GetJSON400 returns the response for an HTTP 400 `application/json` response+ func (r CreateServiceNowAppConnectionResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ } {+ return r.JSON400+ }++ // GetJSON401 returns the response for an HTTP 401 `application/json` response+ func (r CreateServiceNowAppConnectionResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ } {+ return r.JSON401+ }++ // GetJSON403 returns the response for an HTTP 403 `application/json` response+ func (r CreateServiceNowAppConnectionResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ } {+ return r.JSON403+ }++ // GetJSON404 returns the response for an HTTP 404 `application/json` response+ func (r CreateServiceNowAppConnectionResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ } {+ return r.JSON404+ }++ // GetJSON422 returns the response for an HTTP 422 `application/json` response+ func (r CreateServiceNowAppConnectionResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ } {+ return r.JSON422+ }++ // GetJSON500 returns the response for an HTTP 500 `application/json` response+ func (r CreateServiceNowAppConnectionResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ } {+ return r.JSON500+ }++ // GetBody returns the raw response body bytes+ func (r CreateServiceNowAppConnectionResponse) GetBody() []byte {+ return r.Body+ }++ // Status returns HTTPResponse.Status+ func (r CreateServiceNowAppConnectionResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+ }++ // StatusCode returns HTTPResponse.StatusCode+ func (r CreateServiceNowAppConnectionResponse) StatusCode() int {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.StatusCode+ }+ return 0+ }++ // ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers+ func (r CreateServiceNowAppConnectionResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+ }++type CreateVercelAppConnectionResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ AppConnection CreateVercelAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ }+ // JSON400 the response for an HTTP 400 `application/json` response+ JSON400 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON401 the response for an HTTP 401 `application/json` response+ JSON401 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON403 the response for an HTTP 403 `application/json` response+ JSON403 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON404 the response for an HTTP 404 `application/json` response+ JSON404 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON422 the response for an HTTP 422 `application/json` response+ JSON422 *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON500 the response for an HTTP 500 `application/json` response+ JSON500 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateVercelAppConnectionResponse) GetJSON200() *struct {+ AppConnection CreateVercelAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateVercelAppConnectionResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateVercelAppConnectionResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateVercelAppConnectionResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateVercelAppConnectionResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateVercelAppConnectionResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateVercelAppConnectionResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateVercelAppConnectionResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateVercelAppConnectionResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateVercelAppConnectionResponse) StatusCode() int {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.StatusCode+ }+ return 0+}++// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers+func (r CreateVercelAppConnectionResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}+type RefreshAuthTokenResponse struct {Body []byteHTTPResponse *http.Response@@@ -204610,793 -203854,7 +206692,799 @@@ type CreateOciVaultSecretSyncResponse s// SyncOptions Optional parameters to modify how secrets are synced.SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the OCI Vault destination when syncing.+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the OCI Vault destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the OCI Vault destination.+ InitialSyncBehavior CreateOciVaultSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the OCI Vault destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+ }+ // JSON400 the response for an HTTP 400 `application/json` response+ JSON400 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOciVaultSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON401 the response for an HTTP 401 `application/json` response+ JSON401 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOciVaultSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON403 the response for an HTTP 403 `application/json` response+ JSON403 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOciVaultSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON404 the response for an HTTP 404 `application/json` response+ JSON404 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOciVaultSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON422 the response for an HTTP 422 `application/json` response+ JSON422 *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateOciVaultSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON500 the response for an HTTP 500 `application/json` response+ JSON500 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOciVaultSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateOciVaultSecretSyncResponse) GetJSON200() *struct {+ SecretSync struct {+ Connection struct {+ App CreateOciVaultSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination CreateOciVaultSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig struct {+ // CompartmentOcid The OCID (Oracle Cloud Identifier) of the compartment where the vault is located.+ CompartmentOcid string `json:"compartmentOcid"`++ // KeyOcid The OCID (Oracle Cloud Identifier) of the encryption key to use when creating secrets in the vault.+ KeyOcid string `json:"keyOcid"`++ // VaultOcid The OCID (Oracle Cloud Identifier) of the vault to sync secrets to.+ VaultOcid string `json:"vaultOcid"`+ } `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`++ LastSyncResult *string `json:"lastSyncResult,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the OCI Vault destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the OCI Vault destination.+ InitialSyncBehavior CreateOciVaultSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the OCI Vault destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateOciVaultSecretSyncResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOciVaultSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateOciVaultSecretSyncResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOciVaultSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateOciVaultSecretSyncResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOciVaultSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateOciVaultSecretSyncResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOciVaultSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateOciVaultSecretSyncResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateOciVaultSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateOciVaultSecretSyncResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOciVaultSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateOciVaultSecretSyncResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateOciVaultSecretSyncResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateOciVaultSecretSyncResponse) StatusCode() int {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.StatusCode+ }+ return 0+}++// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers+func (r CreateOciVaultSecretSyncResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateVercelSecretSyncResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ SecretSync struct {+ Connection struct {+ App CreateVercelSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination CreateVercelSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig CreateVercelSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`++ LastSyncResult *string `json:"lastSyncResult,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the Vercel destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the Vercel destination.+ InitialSyncBehavior CreateVercelSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the Vercel destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+ }+ // JSON400 the response for an HTTP 400 `application/json` response+ JSON400 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON401 the response for an HTTP 401 `application/json` response+ JSON401 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON403 the response for an HTTP 403 `application/json` response+ JSON403 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON404 the response for an HTTP 404 `application/json` response+ JSON404 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON422 the response for an HTTP 422 `application/json` response+ JSON422 *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON500 the response for an HTTP 500 `application/json` response+ JSON500 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateVercelSecretSyncResponse) GetJSON200() *struct {+ SecretSync struct {+ Connection struct {+ App CreateVercelSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination CreateVercelSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig CreateVercelSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`++ LastSyncResult *string `json:"lastSyncResult,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the Vercel destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the Vercel destination.+ InitialSyncBehavior CreateVercelSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the Vercel destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateVercelSecretSyncResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateVercelSecretSyncResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateVercelSecretSyncResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateVercelSecretSyncResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateVercelSecretSyncResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateVercelSecretSyncResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateVercelSecretSyncResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateVercelSecretSyncResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateVercelSecretSyncResponse) StatusCode() int {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.StatusCode+ }+ return 0+}++// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers+func (r CreateVercelSecretSyncResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type GetVercelSecretSyncResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ SecretSync struct {+ Connection struct {+ App GetVercelSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination GetVercelSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig GetVercelSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`++ LastSyncResult *string `json:"lastSyncResult,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the Vercel destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the Vercel destination.+ InitialSyncBehavior GetVercelSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the Vercel destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+ }+ // JSON400 the response for an HTTP 400 `application/json` response+ JSON400 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetVercelSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON401 the response for an HTTP 401 `application/json` response+ JSON401 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetVercelSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON403 the response for an HTTP 403 `application/json` response+ JSON403 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetVercelSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON404 the response for an HTTP 404 `application/json` response+ JSON404 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetVercelSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON422 the response for an HTTP 422 `application/json` response+ JSON422 *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetVercelSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON500 the response for an HTTP 500 `application/json` response+ JSON500 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetVercelSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r GetVercelSecretSyncResponse) GetJSON200() *struct {+ SecretSync struct {+ Connection struct {+ App GetVercelSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination GetVercelSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig GetVercelSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`++ LastSyncResult *string `json:"lastSyncResult,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the Vercel destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the Vercel destination.+ InitialSyncBehavior GetVercelSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the Vercel destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r GetVercelSecretSyncResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetVercelSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r GetVercelSecretSyncResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetVercelSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r GetVercelSecretSyncResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetVercelSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r GetVercelSecretSyncResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetVercelSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r GetVercelSecretSyncResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetVercelSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r GetVercelSecretSyncResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetVercelSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r GetVercelSecretSyncResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r GetVercelSecretSyncResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r GetVercelSecretSyncResponse) StatusCode() int {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.StatusCode+ }+ return 0+}++// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers+func (r GetVercelSecretSyncResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type SyncVercelSecretSyncResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ SecretSync struct {+ Connection struct {+ App SyncVercelSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination SyncVercelSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig SyncVercelSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`++ LastSyncResult *string `json:"lastSyncResult,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the Vercel destination when syncing.DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`// IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.@@@ -231245,32 -229882,32 +233503,58 @@@ func (c *ClientWithResponses) UpdatePosreturn ParseUpdatePostgresAppConnectionResponse(rsp)}+ // CreateServiceNowAppConnectionWithBodyWithResponse performs a POST /api/v1/app-connections/servicenow (the `CreateServiceNowAppConnection` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create a ServiceNow Connection.+ //+ // Returns a wrapper object for the known response body format(s).+ func (c *ClientWithResponses) CreateServiceNowAppConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceNowAppConnectionResponse, error) {+ rsp, err := c.CreateServiceNowAppConnectionWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateServiceNowAppConnectionResponse(rsp)+ }++ // CreateServiceNowAppConnectionWithResponse performs a POST /api/v1/app-connections/servicenow (the `CreateServiceNowAppConnection` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create a ServiceNow Connection.+ func (c *ClientWithResponses) CreateServiceNowAppConnectionWithResponse(ctx context.Context, body CreateServiceNowAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceNowAppConnectionResponse, error) {+ rsp, err := c.CreateServiceNowAppConnection(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateServiceNowAppConnectionResponse(rsp)+ }++// CreateVercelAppConnectionWithBodyWithResponse performs a POST /api/v1/app-connections/vercel (the `CreateVercelAppConnection` operationId) request,+// with any type of body and a specified content type.+//+// Create a Vercel Connection.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateVercelAppConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVercelAppConnectionResponse, error) {+ rsp, err := c.CreateVercelAppConnectionWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateVercelAppConnectionResponse(rsp)+}++// CreateVercelAppConnectionWithResponse performs a POST /api/v1/app-connections/vercel (the `CreateVercelAppConnection` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Create a Vercel Connection.+func (c *ClientWithResponses) CreateVercelAppConnectionWithResponse(ctx context.Context, body CreateVercelAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVercelAppConnectionResponse, error) {+ rsp, err := c.CreateVercelAppConnection(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateVercelAppConnectionResponse(rsp)+}+// RefreshAuthTokenWithResponse performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.//// Returns a wrapper object for the known response body format(s).@@@ -242547,108 -241218,108 +244917,210 @@@ func ParseUpdatePostgresAppConnectionRereturn response, nil}+ // ParseCreateServiceNowAppConnectionResponse parses an HTTP response from a CreateServiceNowAppConnectionWithResponse call+ func ParseCreateServiceNowAppConnectionResponse(rsp *http.Response) (*CreateServiceNowAppConnectionResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &CreateServiceNowAppConnectionResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ AppConnection CreateServiceNowAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON400 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON401 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON403 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON404 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:+ var dest struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateServiceNowAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+ }++// ParseCreateVercelAppConnectionResponse parses an HTTP response from a CreateVercelAppConnectionWithResponse call+func ParseCreateVercelAppConnectionResponse(rsp *http.Response) (*CreateVercelAppConnectionResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &CreateVercelAppConnectionResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ AppConnection CreateVercelAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON400 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON401 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON403 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON404 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:+ var dest struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateVercelAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}+// ParseRefreshAuthTokenResponse parses an HTTP response from a RefreshAuthTokenWithResponse callfunc ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)@@@ -274772,484 -273581,7 +277382,487 @@@ func ParseImportGitHubSecretSyncSecrets// SyncOptions Optional parameters to modify how secrets are synced.SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior ImportGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ImportGitHubSecretSyncSecrets400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON400 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ImportGitHubSecretSyncSecrets401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON401 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ImportGitHubSecretSyncSecrets403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON403 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ImportGitHubSecretSyncSecrets404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON404 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:+ var dest struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode ImportGitHubSecretSyncSecrets422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ImportGitHubSecretSyncSecrets500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseRemoveGitHubSecretSyncSecretsResponse parses an HTTP response from a RemoveGitHubSecretSyncSecretsWithResponse call+func ParseRemoveGitHubSecretSyncSecretsResponse(rsp *http.Response) (*RemoveGitHubSecretSyncSecretsResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &RemoveGitHubSecretSyncSecretsResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ SecretSync struct {+ Connection struct {+ App RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`++ LastSyncResult *string `json:"lastSyncResult,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON400 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON401 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON403 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON404 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:+ var dest struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseSyncGitHubSecretSyncResponse parses an HTTP response from a SyncGitHubSecretSyncWithResponse call+func ParseSyncGitHubSecretSyncResponse(rsp *http.Response) (*SyncGitHubSecretSyncResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &SyncGitHubSecretSyncResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ SecretSync struct {+ Connection struct {+ App SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`++ LastSyncResult *string `json:"lastSyncResult,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON400 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON401 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON403 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON404 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:+ var dest struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseCreateOciVaultSecretSyncResponse parses an HTTP response from a CreateOciVaultSecretSyncWithResponse call+func ParseCreateOciVaultSecretSyncResponse(rsp *http.Response) (*CreateOciVaultSecretSyncResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &CreateOciVaultSecretSyncResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ SecretSync struct {+ Connection struct {+ App CreateOciVaultSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination CreateOciVaultSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig struct {+ // CompartmentOcid The OCID (Oracle Cloud Identifier) of the compartment where the vault is located.+ CompartmentOcid string `json:"compartmentOcid"`++ // KeyOcid The OCID (Oracle Cloud Identifier) of the encryption key to use when creating secrets in the vault.+ KeyOcid string `json:"keyOcid"`++ // VaultOcid The OCID (Oracle Cloud Identifier) of the vault to sync secrets to.+ VaultOcid string `json:"vaultOcid"`+ } `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`++ LastSyncResult *string `json:"lastSyncResult,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the OCI Vault destination when syncing.DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`// IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.diff --cc tests/cmd/fakenet/main.goindex a379e06665,aef82334b0..54f546b195--- a/tests/cmd/fakenet/main.go+++ b/tests/cmd/fakenet/main.go@@@ -17,8 -17,8 +17,9 @@@ import"github.com/Infisical/infisical/tests/fakes/github""github.com/Infisical/infisical/tests/fakes/license""github.com/Infisical/infisical/tests/fakes/oidcidp"+ "github.com/Infisical/infisical/tests/fakes/servicenow""github.com/Infisical/infisical/tests/fakes/smtp"+ "github.com/Infisical/infisical/tests/fakes/vercel""github.com/Infisical/infisical/tests/infra/fakenet")@@@ -36,8 -36,8 +37,9 @@@ func main()srv := fakenet.New(github.Service,license.Service,+ servicenow.Service,oidcidp.Service,+ vercel.Service,)mail := smtp.New(func(domain string) fakenet.Emitter { return srv.Emitter(smtp.Host, domain) })