@opensoha/contracts 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/COMPATIBILITY.md +13 -0
  2. package/README.md +6 -0
  3. package/auth/catalog_generated.go +17 -0
  4. package/auth/catalog_test.go +53 -0
  5. package/auth/permission-catalog.json +11097 -0
  6. package/auth/permission-catalog.schema.json +74 -0
  7. package/capabilities/cluster-capability-matrix.schema.json +30 -1
  8. package/compat/json-schema-ecosystem-0.1.0.json +1 -1
  9. package/compat/openapi-loose-boundaries-0.1.0.json +1 -1
  10. package/examples/gateway-manifest/minimal.json +6 -6
  11. package/examples/openapi/agent-run-tool-call-request.json +1 -1
  12. package/examples/openapi/agent-tool-call-result-envelope.json +1 -1
  13. package/examples/openapi/gateway-manifest-envelope.json +4 -4
  14. package/examples/openapi/tool-invocation-request.json +1 -1
  15. package/examples/openapi/tool-invocation-result-envelope.json +1 -1
  16. package/examples/plugin-manifest/skill-pack.json +2 -2
  17. package/examples/skill-manifest/k8s-sre.json +2 -2
  18. package/examples/token-claims/service-account.json +1 -1
  19. package/fixtures/json-schema/cluster-capability-matrix/valid/runtime-parity.json +3 -0
  20. package/fixtures/json-schema/gateway-manifest/valid/minimal.json +4 -4
  21. package/fixtures/json-schema/permission-catalog/invalid/missing-action.json +18 -0
  22. package/fixtures/json-schema/permission-catalog/valid/minimal.json +19 -0
  23. package/fixtures/json-schema/skill-manifest/valid/minimal.json +2 -2
  24. package/fixtures/json-schema/token-claims/valid/service-account.json +1 -1
  25. package/fixtures/openapi/AIGatewayManifestEnvelope/valid/minimal.json +1 -1
  26. package/fixtures/openapi/AccessRoleInput/invalid/missing-permissions.json +4 -0
  27. package/fixtures/openapi/AccessRoleInput/valid/granular-vm-operator.json +10 -0
  28. package/fixtures/openapi/AgentInstallationEnvelope/invalid/missing-command.json +7 -0
  29. package/fixtures/openapi/AgentInstallationEnvelope/valid/minimal.json +8 -0
  30. package/fixtures/openapi/ApplicationInput/invalid/missing-key.json +4 -0
  31. package/fixtures/openapi/ApplicationInput/valid/minimal.json +5 -0
  32. package/fixtures/openapi/AuthorizationDecision/invalid/missing-reason.json +7 -0
  33. package/fixtures/openapi/AuthorizationDecision/valid/deny-vm-delete.json +16 -0
  34. package/fixtures/openapi/HelmReleaseImportRequest/invalid/empty-releases.json +10 -0
  35. package/fixtures/openapi/HelmReleaseImportRequest/valid/managed.json +14 -0
  36. package/fixtures/openapi/HelmReleaseImportResultEnvelope/invalid/missing-mode.json +20 -0
  37. package/fixtures/openapi/HelmReleaseImportResultEnvelope/valid/created.json +35 -0
  38. package/fixtures/openapi/KubernetesImportCandidateListEnvelope/invalid/unknown-kind.json +14 -0
  39. package/fixtures/openapi/KubernetesImportCandidateListEnvelope/valid/grouped.json +31 -0
  40. package/fixtures/openapi/KubernetesServiceImportRequest/invalid/unsupported-mode.json +15 -0
  41. package/fixtures/openapi/KubernetesServiceImportRequest/valid/managed.json +15 -0
  42. package/fixtures/openapi/KubernetesServiceImportRequest/valid/observe-only.json +15 -0
  43. package/fixtures/openapi/KubernetesServiceImportResultEnvelope/invalid/missing-mode.json +20 -0
  44. package/fixtures/openapi/KubernetesServiceImportResultEnvelope/valid/created.json +37 -0
  45. package/fixtures/openapi/MCPCapabilityListEnvelope/invalid/missing-scopes.json +1 -1
  46. package/fixtures/openapi/MCPCapabilityListEnvelope/valid/minimal.json +1 -1
  47. package/fixtures/openapi/ObservabilityDashboardImportResultEnvelope/invalid/missing-dashboard.json +7 -0
  48. package/fixtures/openapi/ObservabilityDashboardImportResultEnvelope/valid/imported.json +36 -0
  49. package/fixtures/openapi/ObservabilityGrafanaDashboardImportInput/invalid/missing-data-source.json +3 -0
  50. package/fixtures/openapi/ObservabilityGrafanaDashboardImportInput/invalid/missing-json.json +3 -0
  51. package/fixtures/openapi/ObservabilityGrafanaDashboardImportInput/valid/classic.json +4 -0
  52. package/fixtures/openapi/ObservabilityMetricDataSourceListEnvelope/invalid/missing-name.json +7 -0
  53. package/fixtures/openapi/ObservabilityMetricDataSourceListEnvelope/valid/list.json +8 -0
  54. package/fixtures/openapi/PermissionCatalogEnvelope/invalid/invalid-hash.json +8 -0
  55. package/fixtures/openapi/PermissionCatalogEnvelope/valid/minimal.json +22 -0
  56. package/fixtures/openapi/PersonalAccessTokenInput/invalid/extra-field.json +1 -1
  57. package/fixtures/openapi/PersonalAccessTokenInput/valid/create.json +1 -1
  58. package/fixtures/openapi/RegistryConnectionInput/invalid/missing-type.json +4 -0
  59. package/fixtures/openapi/RegistryConnectionInput/valid/harbor.json +9 -0
  60. package/fixtures/openapi/RegistryConnectionListEnvelope/invalid/exposed-secret.json +18 -0
  61. package/fixtures/openapi/RegistryConnectionListEnvelope/valid/configured.json +19 -0
  62. package/fixtures/openapi/SoftwarePackage/invalid/unsafe-software-package.json +15 -0
  63. package/fixtures/openapi/SoftwarePackage/valid/software-package.json +17 -0
  64. package/fixtures/openapi/SoftwarePackageURLImportRequest/invalid/software-package-url-import-request.json +9 -0
  65. package/fixtures/openapi/SoftwarePackageURLImportRequest/valid/software-package-url-import-request.json +12 -0
  66. package/fixtures/openapi/SoftwareStorage/invalid/software-storage.json +6 -0
  67. package/fixtures/openapi/SoftwareStorage/valid/software-storage.json +22 -0
  68. package/gen/go/sohaapi/client.go +1 -1
  69. package/gen/go/sohaapi/types.go +906 -3
  70. package/gen/ts/sohaapi/index.ts +1603 -71
  71. package/openapi/soha-api.json +2910 -3
  72. package/openapi/soha-api.yaml +1759 -165
  73. package/openapi/spec_generated.go +3 -3
  74. package/package.json +7 -3
@@ -13,6 +13,7 @@ import (
13
13
  )
14
14
 
15
15
  const (
16
+ AgentBearerAuthScopes agentBearerAuthContextKey = "agentBearerAuth.Scopes"
16
17
  BearerAuthScopes bearerAuthContextKey = "bearerAuth.Scopes"
17
18
  RuntimeBearerAuthScopes runtimeBearerAuthContextKey = "runtimeBearerAuth.Scopes"
18
19
  SohaXAPIKeyScopes sohaXAPIKeyContextKey = "sohaXAPIKey.Scopes"
@@ -1575,6 +1576,42 @@ func (e EvaluationRunStatus) Valid() bool {
1575
1576
  }
1576
1577
  }
1577
1578
 
1579
+ // Defines values for HelmReleaseImportRequestOwnershipMode.
1580
+ const (
1581
+ HelmReleaseImportRequestOwnershipModeManaged HelmReleaseImportRequestOwnershipMode = "managed"
1582
+ HelmReleaseImportRequestOwnershipModeObserveOnly HelmReleaseImportRequestOwnershipMode = "observe_only"
1583
+ )
1584
+
1585
+ // Valid indicates whether the value is a known member of the HelmReleaseImportRequestOwnershipMode enum.
1586
+ func (e HelmReleaseImportRequestOwnershipMode) Valid() bool {
1587
+ switch e {
1588
+ case HelmReleaseImportRequestOwnershipModeManaged:
1589
+ return true
1590
+ case HelmReleaseImportRequestOwnershipModeObserveOnly:
1591
+ return true
1592
+ default:
1593
+ return false
1594
+ }
1595
+ }
1596
+
1597
+ // Defines values for HelmReleaseImportResultOwnershipMode.
1598
+ const (
1599
+ HelmReleaseImportResultOwnershipModeManaged HelmReleaseImportResultOwnershipMode = "managed"
1600
+ HelmReleaseImportResultOwnershipModeObserveOnly HelmReleaseImportResultOwnershipMode = "observe_only"
1601
+ )
1602
+
1603
+ // Valid indicates whether the value is a known member of the HelmReleaseImportResultOwnershipMode enum.
1604
+ func (e HelmReleaseImportResultOwnershipMode) Valid() bool {
1605
+ switch e {
1606
+ case HelmReleaseImportResultOwnershipModeManaged:
1607
+ return true
1608
+ case HelmReleaseImportResultOwnershipModeObserveOnly:
1609
+ return true
1610
+ default:
1611
+ return false
1612
+ }
1613
+ }
1614
+
1578
1615
  // Defines values for IdentityCapabilityStatus.
1579
1616
  const (
1580
1617
  IdentityCapabilityStatusAvailable IdentityCapabilityStatus = "available"
@@ -2145,6 +2182,90 @@ func (e KnowledgeSyncRunStatus) Valid() bool {
2145
2182
  }
2146
2183
  }
2147
2184
 
2185
+ // Defines values for KubernetesImportCandidateWorkloadKind.
2186
+ const (
2187
+ KubernetesImportCandidateWorkloadKindDaemonSet KubernetesImportCandidateWorkloadKind = "DaemonSet"
2188
+ KubernetesImportCandidateWorkloadKindDeployment KubernetesImportCandidateWorkloadKind = "Deployment"
2189
+ KubernetesImportCandidateWorkloadKindStatefulSet KubernetesImportCandidateWorkloadKind = "StatefulSet"
2190
+ )
2191
+
2192
+ // Valid indicates whether the value is a known member of the KubernetesImportCandidateWorkloadKind enum.
2193
+ func (e KubernetesImportCandidateWorkloadKind) Valid() bool {
2194
+ switch e {
2195
+ case KubernetesImportCandidateWorkloadKindDaemonSet:
2196
+ return true
2197
+ case KubernetesImportCandidateWorkloadKindDeployment:
2198
+ return true
2199
+ case KubernetesImportCandidateWorkloadKindStatefulSet:
2200
+ return true
2201
+ default:
2202
+ return false
2203
+ }
2204
+ }
2205
+
2206
+ // Defines values for KubernetesImportedServiceWorkloadKind.
2207
+ const (
2208
+ KubernetesImportedServiceWorkloadKindDaemonSet KubernetesImportedServiceWorkloadKind = "DaemonSet"
2209
+ KubernetesImportedServiceWorkloadKindDeployment KubernetesImportedServiceWorkloadKind = "Deployment"
2210
+ KubernetesImportedServiceWorkloadKindStatefulSet KubernetesImportedServiceWorkloadKind = "StatefulSet"
2211
+ )
2212
+
2213
+ // Valid indicates whether the value is a known member of the KubernetesImportedServiceWorkloadKind enum.
2214
+ func (e KubernetesImportedServiceWorkloadKind) Valid() bool {
2215
+ switch e {
2216
+ case KubernetesImportedServiceWorkloadKindDaemonSet:
2217
+ return true
2218
+ case KubernetesImportedServiceWorkloadKindDeployment:
2219
+ return true
2220
+ case KubernetesImportedServiceWorkloadKindStatefulSet:
2221
+ return true
2222
+ default:
2223
+ return false
2224
+ }
2225
+ }
2226
+
2227
+ // Defines values for KubernetesImportedTargetWorkloadKind.
2228
+ const (
2229
+ KubernetesImportedTargetWorkloadKindDaemonSet KubernetesImportedTargetWorkloadKind = "DaemonSet"
2230
+ KubernetesImportedTargetWorkloadKindDeployment KubernetesImportedTargetWorkloadKind = "Deployment"
2231
+ KubernetesImportedTargetWorkloadKindStatefulSet KubernetesImportedTargetWorkloadKind = "StatefulSet"
2232
+ )
2233
+
2234
+ // Valid indicates whether the value is a known member of the KubernetesImportedTargetWorkloadKind enum.
2235
+ func (e KubernetesImportedTargetWorkloadKind) Valid() bool {
2236
+ switch e {
2237
+ case KubernetesImportedTargetWorkloadKindDaemonSet:
2238
+ return true
2239
+ case KubernetesImportedTargetWorkloadKindDeployment:
2240
+ return true
2241
+ case KubernetesImportedTargetWorkloadKindStatefulSet:
2242
+ return true
2243
+ default:
2244
+ return false
2245
+ }
2246
+ }
2247
+
2248
+ // Defines values for KubernetesRelatedResourceKind.
2249
+ const (
2250
+ HorizontalPodAutoscaler KubernetesRelatedResourceKind = "HorizontalPodAutoscaler"
2251
+ Ingress KubernetesRelatedResourceKind = "Ingress"
2252
+ Service KubernetesRelatedResourceKind = "Service"
2253
+ )
2254
+
2255
+ // Valid indicates whether the value is a known member of the KubernetesRelatedResourceKind enum.
2256
+ func (e KubernetesRelatedResourceKind) Valid() bool {
2257
+ switch e {
2258
+ case HorizontalPodAutoscaler:
2259
+ return true
2260
+ case Ingress:
2261
+ return true
2262
+ case Service:
2263
+ return true
2264
+ default:
2265
+ return false
2266
+ }
2267
+ }
2268
+
2148
2269
  // Defines values for KubernetesResourceAction.
2149
2270
  const (
2150
2271
  KubernetesResourceActionCreate KubernetesResourceAction = "create"
@@ -2355,6 +2476,63 @@ func (e KubernetesResourceScopeMode) Valid() bool {
2355
2476
  }
2356
2477
  }
2357
2478
 
2479
+ // Defines values for KubernetesServiceImportRequestOwnershipMode.
2480
+ const (
2481
+ KubernetesServiceImportRequestOwnershipModeManaged KubernetesServiceImportRequestOwnershipMode = "managed"
2482
+ KubernetesServiceImportRequestOwnershipModeObserveOnly KubernetesServiceImportRequestOwnershipMode = "observe_only"
2483
+ )
2484
+
2485
+ // Valid indicates whether the value is a known member of the KubernetesServiceImportRequestOwnershipMode enum.
2486
+ func (e KubernetesServiceImportRequestOwnershipMode) Valid() bool {
2487
+ switch e {
2488
+ case KubernetesServiceImportRequestOwnershipModeManaged:
2489
+ return true
2490
+ case KubernetesServiceImportRequestOwnershipModeObserveOnly:
2491
+ return true
2492
+ default:
2493
+ return false
2494
+ }
2495
+ }
2496
+
2497
+ // Defines values for KubernetesServiceImportResultOwnershipMode.
2498
+ const (
2499
+ KubernetesServiceImportResultOwnershipModeManaged KubernetesServiceImportResultOwnershipMode = "managed"
2500
+ KubernetesServiceImportResultOwnershipModeObserveOnly KubernetesServiceImportResultOwnershipMode = "observe_only"
2501
+ )
2502
+
2503
+ // Valid indicates whether the value is a known member of the KubernetesServiceImportResultOwnershipMode enum.
2504
+ func (e KubernetesServiceImportResultOwnershipMode) Valid() bool {
2505
+ switch e {
2506
+ case KubernetesServiceImportResultOwnershipModeManaged:
2507
+ return true
2508
+ case KubernetesServiceImportResultOwnershipModeObserveOnly:
2509
+ return true
2510
+ default:
2511
+ return false
2512
+ }
2513
+ }
2514
+
2515
+ // Defines values for KubernetesWorkloadImportInputWorkloadKind.
2516
+ const (
2517
+ KubernetesWorkloadImportInputWorkloadKindDaemonSet KubernetesWorkloadImportInputWorkloadKind = "DaemonSet"
2518
+ KubernetesWorkloadImportInputWorkloadKindDeployment KubernetesWorkloadImportInputWorkloadKind = "Deployment"
2519
+ KubernetesWorkloadImportInputWorkloadKindStatefulSet KubernetesWorkloadImportInputWorkloadKind = "StatefulSet"
2520
+ )
2521
+
2522
+ // Valid indicates whether the value is a known member of the KubernetesWorkloadImportInputWorkloadKind enum.
2523
+ func (e KubernetesWorkloadImportInputWorkloadKind) Valid() bool {
2524
+ switch e {
2525
+ case KubernetesWorkloadImportInputWorkloadKindDaemonSet:
2526
+ return true
2527
+ case KubernetesWorkloadImportInputWorkloadKindDeployment:
2528
+ return true
2529
+ case KubernetesWorkloadImportInputWorkloadKindStatefulSet:
2530
+ return true
2531
+ default:
2532
+ return false
2533
+ }
2534
+ }
2535
+
2358
2536
  // Defines values for LLMCallLogCacheStatus.
2359
2537
  const (
2360
2538
  LLMCallLogCacheStatusBypass LLMCallLogCacheStatus = "bypass"
@@ -3591,6 +3769,72 @@ func (e OIDCClientInputGrantTypes) Valid() bool {
3591
3769
  }
3592
3770
  }
3593
3771
 
3772
+ // Defines values for ObservabilityDashboardImportWarningCode.
3773
+ const (
3774
+ DatasourceRebound ObservabilityDashboardImportWarningCode = "datasource_rebound"
3775
+ SkippedTarget ObservabilityDashboardImportWarningCode = "skipped_target"
3776
+ UnsupportedFeature ObservabilityDashboardImportWarningCode = "unsupported_feature"
3777
+ UnsupportedPanelType ObservabilityDashboardImportWarningCode = "unsupported_panel_type"
3778
+ UnsupportedVariable ObservabilityDashboardImportWarningCode = "unsupported_variable"
3779
+ )
3780
+
3781
+ // Valid indicates whether the value is a known member of the ObservabilityDashboardImportWarningCode enum.
3782
+ func (e ObservabilityDashboardImportWarningCode) Valid() bool {
3783
+ switch e {
3784
+ case DatasourceRebound:
3785
+ return true
3786
+ case SkippedTarget:
3787
+ return true
3788
+ case UnsupportedFeature:
3789
+ return true
3790
+ case UnsupportedPanelType:
3791
+ return true
3792
+ case UnsupportedVariable:
3793
+ return true
3794
+ default:
3795
+ return false
3796
+ }
3797
+ }
3798
+
3799
+ // Defines values for ObservabilityDashboardPanelType.
3800
+ const (
3801
+ ObservabilityDashboardPanelTypeRow ObservabilityDashboardPanelType = "row"
3802
+ ObservabilityDashboardPanelTypeStat ObservabilityDashboardPanelType = "stat"
3803
+ ObservabilityDashboardPanelTypeText ObservabilityDashboardPanelType = "text"
3804
+ ObservabilityDashboardPanelTypeTimeseries ObservabilityDashboardPanelType = "timeseries"
3805
+ )
3806
+
3807
+ // Valid indicates whether the value is a known member of the ObservabilityDashboardPanelType enum.
3808
+ func (e ObservabilityDashboardPanelType) Valid() bool {
3809
+ switch e {
3810
+ case ObservabilityDashboardPanelTypeRow:
3811
+ return true
3812
+ case ObservabilityDashboardPanelTypeStat:
3813
+ return true
3814
+ case ObservabilityDashboardPanelTypeText:
3815
+ return true
3816
+ case ObservabilityDashboardPanelTypeTimeseries:
3817
+ return true
3818
+ default:
3819
+ return false
3820
+ }
3821
+ }
3822
+
3823
+ // Defines values for ObservabilityDashboardSource.
3824
+ const (
3825
+ ObservabilityDashboardSourceGrafana ObservabilityDashboardSource = "grafana"
3826
+ )
3827
+
3828
+ // Valid indicates whether the value is a known member of the ObservabilityDashboardSource enum.
3829
+ func (e ObservabilityDashboardSource) Valid() bool {
3830
+ switch e {
3831
+ case ObservabilityDashboardSourceGrafana:
3832
+ return true
3833
+ default:
3834
+ return false
3835
+ }
3836
+ }
3837
+
3594
3838
  // Defines values for ObservabilityDataSourceCredentialKeys.
3595
3839
  const (
3596
3840
  ObservabilityDataSourceCredentialKeysBearerToken ObservabilityDataSourceCredentialKeys = "bearer_token"
@@ -3837,6 +4081,102 @@ func (e OpenAIModelsResponseObject) Valid() bool {
3837
4081
  }
3838
4082
  }
3839
4083
 
4084
+ // Defines values for PermissionApprovalPolicy.
4085
+ const (
4086
+ PermissionApprovalPolicyEligible PermissionApprovalPolicy = "eligible"
4087
+ PermissionApprovalPolicyNever PermissionApprovalPolicy = "never"
4088
+ PermissionApprovalPolicyRequired PermissionApprovalPolicy = "required"
4089
+ )
4090
+
4091
+ // Valid indicates whether the value is a known member of the PermissionApprovalPolicy enum.
4092
+ func (e PermissionApprovalPolicy) Valid() bool {
4093
+ switch e {
4094
+ case PermissionApprovalPolicyEligible:
4095
+ return true
4096
+ case PermissionApprovalPolicyNever:
4097
+ return true
4098
+ case PermissionApprovalPolicyRequired:
4099
+ return true
4100
+ default:
4101
+ return false
4102
+ }
4103
+ }
4104
+
4105
+ // Defines values for PermissionRiskLevel.
4106
+ const (
4107
+ PermissionRiskLevelExecute PermissionRiskLevel = "execute"
4108
+ PermissionRiskLevelHigh PermissionRiskLevel = "high"
4109
+ PermissionRiskLevelMutate PermissionRiskLevel = "mutate"
4110
+ PermissionRiskLevelRead PermissionRiskLevel = "read"
4111
+ )
4112
+
4113
+ // Valid indicates whether the value is a known member of the PermissionRiskLevel enum.
4114
+ func (e PermissionRiskLevel) Valid() bool {
4115
+ switch e {
4116
+ case PermissionRiskLevelExecute:
4117
+ return true
4118
+ case PermissionRiskLevelHigh:
4119
+ return true
4120
+ case PermissionRiskLevelMutate:
4121
+ return true
4122
+ case PermissionRiskLevelRead:
4123
+ return true
4124
+ default:
4125
+ return false
4126
+ }
4127
+ }
4128
+
4129
+ // Defines values for PermissionScopeKind.
4130
+ const (
4131
+ PermissionScopeKindCluster PermissionScopeKind = "cluster"
4132
+ PermissionScopeKindNamespace PermissionScopeKind = "namespace"
4133
+ PermissionScopeKindOwner PermissionScopeKind = "owner"
4134
+ PermissionScopeKindProject PermissionScopeKind = "project"
4135
+ PermissionScopeKindResource PermissionScopeKind = "resource"
4136
+ PermissionScopeKindTenant PermissionScopeKind = "tenant"
4137
+ PermissionScopeKindWorkspace PermissionScopeKind = "workspace"
4138
+ )
4139
+
4140
+ // Valid indicates whether the value is a known member of the PermissionScopeKind enum.
4141
+ func (e PermissionScopeKind) Valid() bool {
4142
+ switch e {
4143
+ case PermissionScopeKindCluster:
4144
+ return true
4145
+ case PermissionScopeKindNamespace:
4146
+ return true
4147
+ case PermissionScopeKindOwner:
4148
+ return true
4149
+ case PermissionScopeKindProject:
4150
+ return true
4151
+ case PermissionScopeKindResource:
4152
+ return true
4153
+ case PermissionScopeKindTenant:
4154
+ return true
4155
+ case PermissionScopeKindWorkspace:
4156
+ return true
4157
+ default:
4158
+ return false
4159
+ }
4160
+ }
4161
+
4162
+ // Defines values for PermissionStatus.
4163
+ const (
4164
+ PermissionStatusActive PermissionStatus = "active"
4165
+ PermissionStatusLegacy PermissionStatus = "legacy"
4166
+ )
4167
+
4168
+ // Valid indicates whether the value is a known member of the PermissionStatus enum.
4169
+ func (e PermissionStatus) Valid() bool {
4170
+ switch e {
4171
+ case PermissionStatusActive:
4172
+ return true
4173
+ case PermissionStatusLegacy:
4174
+ return true
4175
+ default:
4176
+ return false
4177
+ }
4178
+ }
4179
+
3840
4180
  // Defines values for PluginComputeContainerRuntimeProviderResourceKinds.
3841
4181
  const (
3842
4182
  PluginComputeContainerRuntimeResourceKindContainer PluginComputeContainerRuntimeProviderResourceKinds = "container"
@@ -6306,6 +6646,57 @@ type AIWorkbenchModelSettings struct {
6306
6646
  Enabled bool `json:"enabled"`
6307
6647
  }
6308
6648
 
6649
+ // AccessRole defines model for AccessRole.
6650
+ type AccessRole struct {
6651
+ // Capabilities Legacy role-global action aliases retained only for migration.
6652
+ // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
6653
+ Capabilities []string `json:"capabilities"`
6654
+ ID string `json:"id"`
6655
+ Name string `json:"name"`
6656
+ PermissionKeys []string `json:"permissionKeys"`
6657
+ Scope string `json:"scope"`
6658
+ UserCount int `json:"userCount"`
6659
+ }
6660
+
6661
+ // AccessRoleDeleteResult defines model for AccessRoleDeleteResult.
6662
+ type AccessRoleDeleteResult struct {
6663
+ Status string `json:"status"`
6664
+ }
6665
+
6666
+ // AccessRoleEnvelope defines model for AccessRoleEnvelope.
6667
+ type AccessRoleEnvelope struct {
6668
+ Data AccessRole `json:"data"`
6669
+ }
6670
+
6671
+ // AccessRoleInput defines model for AccessRoleInput.
6672
+ type AccessRoleInput struct {
6673
+ // Capabilities Legacy role-global action aliases; new role editors must send an empty array.
6674
+ // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
6675
+ Capabilities []string `json:"capabilities,omitempty"`
6676
+ ID string `json:"id,omitempty"`
6677
+ Name string `json:"name"`
6678
+ PermissionKeys []string `json:"permissionKeys"`
6679
+ Scope string `json:"scope"`
6680
+ }
6681
+
6682
+ // AccessRoleListEnvelope defines model for AccessRoleListEnvelope.
6683
+ type AccessRoleListEnvelope struct {
6684
+ Items []AccessRole `json:"items"`
6685
+ }
6686
+
6687
+ // AgentInstallation defines model for AgentInstallation.
6688
+ type AgentInstallation struct {
6689
+ ClusterID string `json:"clusterId"`
6690
+ Command string `json:"command"`
6691
+ ExpiresAt time.Time `json:"expiresAt"`
6692
+ ManifestURL string `json:"manifestUrl"`
6693
+ }
6694
+
6695
+ // AgentInstallationEnvelope defines model for AgentInstallationEnvelope.
6696
+ type AgentInstallationEnvelope struct {
6697
+ Data AgentInstallation `json:"data"`
6698
+ }
6699
+
6309
6700
  // AgentProviderCatalog defines model for AgentProviderCatalog.
6310
6701
  type AgentProviderCatalog struct {
6311
6702
  CreatedAt time.Time `json:"createdAt"`
@@ -6895,7 +7286,10 @@ type ApplicationDeliveryActionRequest struct {
6895
7286
  ReleaseBundleID string `json:"releaseBundleId,omitempty"`
6896
7287
  ReleaseName string `json:"releaseName,omitempty"`
6897
7288
  TargetID string `json:"targetId,omitempty"`
6898
- Variables map[string]any `json:"variables,omitempty"`
7289
+
7290
+ // ValuesContent Complete Helm values YAML used when the selected target is a managed Helm release.
7291
+ ValuesContent string `json:"valuesContent,omitempty"`
7292
+ Variables map[string]any `json:"variables,omitempty"`
6899
7293
  }
6900
7294
 
6901
7295
  // ApplicationDeliveryActionResult defines model for ApplicationDeliveryActionResult.
@@ -7013,10 +7407,10 @@ type ApplicationInput struct {
7013
7407
  Description string `json:"description,omitempty"`
7014
7408
  DockerfilePath string `json:"dockerfilePath,omitempty"`
7015
7409
  Enabled bool `json:"enabled"`
7016
- Group string `json:"group"`
7410
+ Group string `json:"group,omitempty"`
7017
7411
  ID string `json:"id,omitempty"`
7018
7412
  Key string `json:"key"`
7019
- Language string `json:"language"`
7413
+ Language string `json:"language,omitempty"`
7020
7414
  Metadata map[string]any `json:"metadata,omitempty"`
7021
7415
  Name string `json:"name"`
7022
7416
  OwnerTeam string `json:"ownerTeam,omitempty"`
@@ -9179,6 +9573,61 @@ type GovernanceTokenSummary struct {
9179
9573
  Stale []GovernanceTokenFinding `json:"stale,omitempty"`
9180
9574
  }
9181
9575
 
9576
+ // HelmImportedService defines model for HelmImportedService.
9577
+ type HelmImportedService struct {
9578
+ Created bool `json:"created"`
9579
+ ID string `json:"id"`
9580
+ Key string `json:"key"`
9581
+ Name string `json:"name"`
9582
+ ReleaseName string `json:"releaseName"`
9583
+ }
9584
+
9585
+ // HelmImportedTarget defines model for HelmImportedTarget.
9586
+ type HelmImportedTarget struct {
9587
+ Created bool `json:"created"`
9588
+ ID string `json:"id"`
9589
+ ReleaseName string `json:"releaseName"`
9590
+ }
9591
+
9592
+ // HelmReleaseImportInput defines model for HelmReleaseImportInput.
9593
+ type HelmReleaseImportInput struct {
9594
+ ReleaseName string `json:"releaseName"`
9595
+ }
9596
+
9597
+ // HelmReleaseImportRequest defines model for HelmReleaseImportRequest.
9598
+ type HelmReleaseImportRequest struct {
9599
+ ApplicationKey string `json:"applicationKey"`
9600
+ ApplicationName string `json:"applicationName"`
9601
+ ClusterID string `json:"clusterId"`
9602
+ EnvironmentKey string `json:"environmentKey"`
9603
+ EnvironmentName string `json:"environmentName"`
9604
+ Namespace string `json:"namespace"`
9605
+ OwnershipMode HelmReleaseImportRequestOwnershipMode `json:"ownershipMode"`
9606
+ Releases []HelmReleaseImportInput `json:"releases"`
9607
+ }
9608
+
9609
+ // HelmReleaseImportRequestOwnershipMode defines model for HelmReleaseImportRequest.OwnershipMode.
9610
+ type HelmReleaseImportRequestOwnershipMode string
9611
+
9612
+ // HelmReleaseImportResult defines model for HelmReleaseImportResult.
9613
+ type HelmReleaseImportResult struct {
9614
+ Application KubernetesImportEntityRef `json:"application"`
9615
+ ApplicationEnvironmentCreated bool `json:"applicationEnvironmentCreated"`
9616
+ ApplicationEnvironmentID string `json:"applicationEnvironmentId"`
9617
+ Environment KubernetesImportEntityRef `json:"environment"`
9618
+ OwnershipMode HelmReleaseImportResultOwnershipMode `json:"ownershipMode"`
9619
+ Services []HelmImportedService `json:"services"`
9620
+ Targets []HelmImportedTarget `json:"targets"`
9621
+ }
9622
+
9623
+ // HelmReleaseImportResultOwnershipMode defines model for HelmReleaseImportResult.OwnershipMode.
9624
+ type HelmReleaseImportResultOwnershipMode string
9625
+
9626
+ // HelmReleaseImportResultEnvelope defines model for HelmReleaseImportResultEnvelope.
9627
+ type HelmReleaseImportResultEnvelope struct {
9628
+ Data HelmReleaseImportResult `json:"data"`
9629
+ }
9630
+
9182
9631
  // IdentityApplication defines model for IdentityApplication.
9183
9632
  type IdentityApplication struct {
9184
9633
  CreatedAt time.Time `json:"createdAt"`
@@ -9964,6 +10413,69 @@ type KnowledgeSyncRunListEnvelope struct {
9964
10413
  Items []KnowledgeSyncRun `json:"items"`
9965
10414
  }
9966
10415
 
10416
+ // KubernetesImportCandidate defines model for KubernetesImportCandidate.
10417
+ type KubernetesImportCandidate struct {
10418
+ ClusterID string `json:"clusterId"`
10419
+ Containers []string `json:"containers,omitempty"`
10420
+ DesiredReplicas int `json:"desiredReplicas"`
10421
+ Labels map[string]string `json:"labels,omitempty"`
10422
+ Namespace string `json:"namespace"`
10423
+ ReadyReplicas int `json:"readyReplicas"`
10424
+ RelatedResources []KubernetesRelatedResource `json:"relatedResources"`
10425
+ WorkloadKind KubernetesImportCandidateWorkloadKind `json:"workloadKind"`
10426
+ WorkloadName string `json:"workloadName"`
10427
+ }
10428
+
10429
+ // KubernetesImportCandidateWorkloadKind defines model for KubernetesImportCandidate.WorkloadKind.
10430
+ type KubernetesImportCandidateWorkloadKind string
10431
+
10432
+ // KubernetesImportCandidateListEnvelope defines model for KubernetesImportCandidateListEnvelope.
10433
+ type KubernetesImportCandidateListEnvelope struct {
10434
+ Items []KubernetesImportCandidate `json:"items"`
10435
+ Truncated bool `json:"truncated"`
10436
+ }
10437
+
10438
+ // KubernetesImportEntityRef defines model for KubernetesImportEntityRef.
10439
+ type KubernetesImportEntityRef struct {
10440
+ Created bool `json:"created"`
10441
+ ID string `json:"id"`
10442
+ Key string `json:"key"`
10443
+ Name string `json:"name"`
10444
+ }
10445
+
10446
+ // KubernetesImportedService defines model for KubernetesImportedService.
10447
+ type KubernetesImportedService struct {
10448
+ Created bool `json:"created"`
10449
+ ID string `json:"id"`
10450
+ Key string `json:"key"`
10451
+ Name string `json:"name"`
10452
+ WorkloadKind KubernetesImportedServiceWorkloadKind `json:"workloadKind"`
10453
+ WorkloadName string `json:"workloadName"`
10454
+ }
10455
+
10456
+ // KubernetesImportedServiceWorkloadKind defines model for KubernetesImportedService.WorkloadKind.
10457
+ type KubernetesImportedServiceWorkloadKind string
10458
+
10459
+ // KubernetesImportedTarget defines model for KubernetesImportedTarget.
10460
+ type KubernetesImportedTarget struct {
10461
+ Created bool `json:"created"`
10462
+ ID string `json:"id"`
10463
+ WorkloadKind KubernetesImportedTargetWorkloadKind `json:"workloadKind"`
10464
+ WorkloadName string `json:"workloadName"`
10465
+ }
10466
+
10467
+ // KubernetesImportedTargetWorkloadKind defines model for KubernetesImportedTarget.WorkloadKind.
10468
+ type KubernetesImportedTargetWorkloadKind string
10469
+
10470
+ // KubernetesRelatedResource defines model for KubernetesRelatedResource.
10471
+ type KubernetesRelatedResource struct {
10472
+ Kind KubernetesRelatedResourceKind `json:"kind"`
10473
+ Name string `json:"name"`
10474
+ }
10475
+
10476
+ // KubernetesRelatedResourceKind defines model for KubernetesRelatedResource.Kind.
10477
+ type KubernetesRelatedResourceKind string
10478
+
9967
10479
  // KubernetesResourceAction defines model for KubernetesResourceAction.
9968
10480
  type KubernetesResourceAction string
9969
10481
 
@@ -10207,6 +10719,49 @@ type KubernetesResourceWarning struct {
10207
10719
  Message string `json:"message"`
10208
10720
  }
10209
10721
 
10722
+ // KubernetesServiceImportRequest defines model for KubernetesServiceImportRequest.
10723
+ type KubernetesServiceImportRequest struct {
10724
+ ApplicationKey string `json:"applicationKey"`
10725
+ ApplicationName string `json:"applicationName"`
10726
+ ClusterID string `json:"clusterId"`
10727
+ EnvironmentKey string `json:"environmentKey"`
10728
+ EnvironmentName string `json:"environmentName"`
10729
+ Namespace string `json:"namespace"`
10730
+ OwnershipMode KubernetesServiceImportRequestOwnershipMode `json:"ownershipMode"`
10731
+ Workloads []KubernetesWorkloadImportInput `json:"workloads"`
10732
+ }
10733
+
10734
+ // KubernetesServiceImportRequestOwnershipMode defines model for KubernetesServiceImportRequest.OwnershipMode.
10735
+ type KubernetesServiceImportRequestOwnershipMode string
10736
+
10737
+ // KubernetesServiceImportResult defines model for KubernetesServiceImportResult.
10738
+ type KubernetesServiceImportResult struct {
10739
+ Application KubernetesImportEntityRef `json:"application"`
10740
+ ApplicationEnvironmentCreated bool `json:"applicationEnvironmentCreated"`
10741
+ ApplicationEnvironmentID string `json:"applicationEnvironmentId"`
10742
+ Environment KubernetesImportEntityRef `json:"environment"`
10743
+ OwnershipMode KubernetesServiceImportResultOwnershipMode `json:"ownershipMode"`
10744
+ Services []KubernetesImportedService `json:"services"`
10745
+ Targets []KubernetesImportedTarget `json:"targets"`
10746
+ }
10747
+
10748
+ // KubernetesServiceImportResultOwnershipMode defines model for KubernetesServiceImportResult.OwnershipMode.
10749
+ type KubernetesServiceImportResultOwnershipMode string
10750
+
10751
+ // KubernetesServiceImportResultEnvelope defines model for KubernetesServiceImportResultEnvelope.
10752
+ type KubernetesServiceImportResultEnvelope struct {
10753
+ Data KubernetesServiceImportResult `json:"data"`
10754
+ }
10755
+
10756
+ // KubernetesWorkloadImportInput defines model for KubernetesWorkloadImportInput.
10757
+ type KubernetesWorkloadImportInput struct {
10758
+ WorkloadKind KubernetesWorkloadImportInputWorkloadKind `json:"workloadKind"`
10759
+ WorkloadName string `json:"workloadName"`
10760
+ }
10761
+
10762
+ // KubernetesWorkloadImportInputWorkloadKind defines model for KubernetesWorkloadImportInput.WorkloadKind.
10763
+ type KubernetesWorkloadImportInputWorkloadKind string
10764
+
10210
10765
  // LLMCallLog defines model for LLMCallLog.
10211
10766
  type LLMCallLog struct {
10212
10767
  ActorID string `json:"actorId,omitempty"`
@@ -11716,6 +12271,91 @@ type OIDCExchangeRequest struct {
11716
12271
  Code string `json:"code"`
11717
12272
  }
11718
12273
 
12274
+ // ObservabilityDashboard defines model for ObservabilityDashboard.
12275
+ type ObservabilityDashboard struct {
12276
+ CreatedAt time.Time `json:"createdAt"`
12277
+ DataSourceID string `json:"dataSourceId,omitempty"`
12278
+ ID string `json:"id"`
12279
+ Name string `json:"name"`
12280
+ Panels []ObservabilityDashboardPanel `json:"panels"`
12281
+ Source ObservabilityDashboardSource `json:"source"`
12282
+ SourceSchemaVersion int `json:"sourceSchemaVersion,omitempty"`
12283
+ Tags []string `json:"tags"`
12284
+ UpdatedAt time.Time `json:"updatedAt"`
12285
+ }
12286
+
12287
+ // ObservabilityDashboardEnvelope defines model for ObservabilityDashboardEnvelope.
12288
+ type ObservabilityDashboardEnvelope struct {
12289
+ Data ObservabilityDashboard `json:"data"`
12290
+ }
12291
+
12292
+ // ObservabilityDashboardImportResult defines model for ObservabilityDashboardImportResult.
12293
+ type ObservabilityDashboardImportResult struct {
12294
+ Dashboard ObservabilityDashboard `json:"dashboard"`
12295
+ ImportedPanelCount int `json:"importedPanelCount"`
12296
+ SkippedPanelCount int `json:"skippedPanelCount"`
12297
+ Warnings []ObservabilityDashboardImportWarning `json:"warnings"`
12298
+ }
12299
+
12300
+ // ObservabilityDashboardImportResultEnvelope defines model for ObservabilityDashboardImportResultEnvelope.
12301
+ type ObservabilityDashboardImportResultEnvelope struct {
12302
+ Data ObservabilityDashboardImportResult `json:"data"`
12303
+ }
12304
+
12305
+ // ObservabilityDashboardImportWarning defines model for ObservabilityDashboardImportWarning.
12306
+ type ObservabilityDashboardImportWarning struct {
12307
+ Code ObservabilityDashboardImportWarningCode `json:"code"`
12308
+ Message string `json:"message"`
12309
+ PanelID string `json:"panelId,omitempty"`
12310
+ }
12311
+
12312
+ // ObservabilityDashboardImportWarningCode defines model for ObservabilityDashboardImportWarning.Code.
12313
+ type ObservabilityDashboardImportWarningCode string
12314
+
12315
+ // ObservabilityDashboardListEnvelope defines model for ObservabilityDashboardListEnvelope.
12316
+ type ObservabilityDashboardListEnvelope struct {
12317
+ Items []ObservabilityDashboard `json:"items"`
12318
+ }
12319
+
12320
+ // ObservabilityDashboardPanel defines model for ObservabilityDashboardPanel.
12321
+ type ObservabilityDashboardPanel struct {
12322
+ ID string `json:"id"`
12323
+ Layout ObservabilityDashboardPanelLayout `json:"layout"`
12324
+ Markdown string `json:"markdown,omitempty"`
12325
+ Queryable bool `json:"queryable"`
12326
+ Targets []ObservabilityDashboardTarget `json:"targets"`
12327
+ Title string `json:"title"`
12328
+ Type ObservabilityDashboardPanelType `json:"type"`
12329
+ }
12330
+
12331
+ // ObservabilityDashboardPanelLayout defines model for ObservabilityDashboardPanelLayout.
12332
+ type ObservabilityDashboardPanelLayout struct {
12333
+ H int `json:"h"`
12334
+ W int `json:"w"`
12335
+ X int `json:"x"`
12336
+ Y int `json:"y"`
12337
+ }
12338
+
12339
+ // ObservabilityDashboardPanelQueryInput defines model for ObservabilityDashboardPanelQueryInput.
12340
+ type ObservabilityDashboardPanelQueryInput struct {
12341
+ StepSeconds int `json:"stepSeconds,omitempty"`
12342
+ TimeFrom time.Time `json:"timeFrom"`
12343
+ TimeTo time.Time `json:"timeTo"`
12344
+ }
12345
+
12346
+ // ObservabilityDashboardPanelType defines model for ObservabilityDashboardPanelType.
12347
+ type ObservabilityDashboardPanelType string
12348
+
12349
+ // ObservabilityDashboardSource defines model for ObservabilityDashboardSource.
12350
+ type ObservabilityDashboardSource string
12351
+
12352
+ // ObservabilityDashboardTarget defines model for ObservabilityDashboardTarget.
12353
+ type ObservabilityDashboardTarget struct {
12354
+ Expression string `json:"expression"`
12355
+ Legend string `json:"legend,omitempty"`
12356
+ RefID string `json:"refId"`
12357
+ }
12358
+
11719
12359
  // ObservabilityDataSource defines model for ObservabilityDataSource.
11720
12360
  type ObservabilityDataSource struct {
11721
12361
  BackendType ObservabilityDataSourceBackendType `json:"backendType"`
@@ -11781,6 +12421,15 @@ type ObservabilityDataSourceScope struct {
11781
12421
  // ObservabilityDataSourceValidationStatus defines model for ObservabilityDataSourceValidationStatus.
11782
12422
  type ObservabilityDataSourceValidationStatus string
11783
12423
 
12424
+ // ObservabilityGrafanaDashboardImportInput defines model for ObservabilityGrafanaDashboardImportInput.
12425
+ type ObservabilityGrafanaDashboardImportInput struct {
12426
+ // DataSourceID Enabled Soha Prometheus data source used by every imported queryable panel.
12427
+ DataSourceID string `json:"dataSourceId"`
12428
+
12429
+ // JSON Grafana Classic dashboard JSON or a V1 resource whose spec contains the Classic dashboard model.
12430
+ JSON string `json:"json"`
12431
+ }
12432
+
11784
12433
  // ObservabilityLogDataSourceConfig defines model for ObservabilityLogDataSourceConfig.
11785
12434
  type ObservabilityLogDataSourceConfig struct {
11786
12435
  ClusterField string `json:"clusterField,omitempty"`
@@ -11823,6 +12472,17 @@ type ObservabilityLogRedactionPolicy struct {
11823
12472
  DropAttributeKeys []string `json:"dropAttributeKeys,omitempty"`
11824
12473
  }
11825
12474
 
12475
+ // ObservabilityMetricDataSource defines model for ObservabilityMetricDataSource.
12476
+ type ObservabilityMetricDataSource struct {
12477
+ ID string `json:"id"`
12478
+ Name string `json:"name"`
12479
+ }
12480
+
12481
+ // ObservabilityMetricDataSourceListEnvelope defines model for ObservabilityMetricDataSourceListEnvelope.
12482
+ type ObservabilityMetricDataSourceListEnvelope struct {
12483
+ Items []ObservabilityMetricDataSource `json:"items"`
12484
+ }
12485
+
11826
12486
  // ObservabilityMetricKey defines model for ObservabilityMetricKey.
11827
12487
  type ObservabilityMetricKey string
11828
12488
 
@@ -12139,6 +12799,50 @@ type PasswordLoginRequest struct {
12139
12799
  Password string `json:"password"`
12140
12800
  }
12141
12801
 
12802
+ // PermissionApprovalPolicy defines model for PermissionApprovalPolicy.
12803
+ type PermissionApprovalPolicy string
12804
+
12805
+ // PermissionCatalog defines model for PermissionCatalog.
12806
+ type PermissionCatalog struct {
12807
+ CatalogVersion string `json:"catalogVersion"`
12808
+ ContentHash string `json:"contentHash"`
12809
+ Permissions []PermissionDefinition `json:"permissions"`
12810
+ SchemaVersion string `json:"schemaVersion"`
12811
+ }
12812
+
12813
+ // PermissionCatalogEnvelope defines model for PermissionCatalogEnvelope.
12814
+ type PermissionCatalogEnvelope struct {
12815
+ Data PermissionCatalog `json:"data"`
12816
+ }
12817
+
12818
+ // PermissionDefinition defines model for PermissionDefinition.
12819
+ type PermissionDefinition struct {
12820
+ Action string `json:"action"`
12821
+ ApprovalPolicy PermissionApprovalPolicy `json:"approvalPolicy"`
12822
+ Assignable bool `json:"assignable"`
12823
+ DisplayName string `json:"displayName"`
12824
+ Domain string `json:"domain"`
12825
+ Key string `json:"key"`
12826
+ LegacyAliases []string `json:"legacyAliases,omitempty"`
12827
+
12828
+ // LegacyCapabilities Migration-only role-global action aliases accepted by this exact permission.
12829
+ LegacyCapabilities []string `json:"legacyCapabilities,omitempty"`
12830
+ ReplacedBy []string `json:"replacedBy,omitempty"`
12831
+ Resource string `json:"resource"`
12832
+ RiskLevel PermissionRiskLevel `json:"riskLevel"`
12833
+ ScopeKinds []PermissionScopeKind `json:"scopeKinds"`
12834
+ Status PermissionStatus `json:"status"`
12835
+ }
12836
+
12837
+ // PermissionRiskLevel defines model for PermissionRiskLevel.
12838
+ type PermissionRiskLevel string
12839
+
12840
+ // PermissionScopeKind defines model for PermissionScopeKind.
12841
+ type PermissionScopeKind string
12842
+
12843
+ // PermissionStatus defines model for PermissionStatus.
12844
+ type PermissionStatus string
12845
+
12142
12846
  // PersonalAccessToken defines model for PersonalAccessToken.
12143
12847
  type PersonalAccessToken struct {
12144
12848
  CreatedAt time.Time `json:"createdAt"`
@@ -12507,6 +13211,48 @@ type RefreshRequest struct {
12507
13211
  RefreshToken string `json:"refreshToken,omitempty"`
12508
13212
  }
12509
13213
 
13214
+ // RegistryConnection defines model for RegistryConnection.
13215
+ type RegistryConnection struct {
13216
+ CreatedAt time.Time `json:"createdAt"`
13217
+ Endpoint string `json:"endpoint"`
13218
+ ID string `json:"id"`
13219
+ Insecure bool `json:"insecure"`
13220
+ Metadata RegistryConnectionMetadata `json:"metadata"`
13221
+ Name string `json:"name"`
13222
+ Namespace string `json:"namespace,omitempty"`
13223
+ RegistryType string `json:"registryType"`
13224
+ UpdatedAt time.Time `json:"updatedAt"`
13225
+ Username string `json:"username,omitempty"`
13226
+ }
13227
+
13228
+ // RegistryConnectionEnvelope defines model for RegistryConnectionEnvelope.
13229
+ type RegistryConnectionEnvelope struct {
13230
+ Data RegistryConnection `json:"data"`
13231
+ }
13232
+
13233
+ // RegistryConnectionInput defines model for RegistryConnectionInput.
13234
+ type RegistryConnectionInput struct {
13235
+ Endpoint string `json:"endpoint"`
13236
+ ID string `json:"id,omitempty"`
13237
+ Insecure bool `json:"insecure,omitempty"`
13238
+ Name string `json:"name"`
13239
+ Namespace string `json:"namespace,omitempty"`
13240
+ RegistryType string `json:"registryType"`
13241
+ Secret string `json:"secret,omitempty"`
13242
+ Username string `json:"username,omitempty"`
13243
+ }
13244
+
13245
+ // RegistryConnectionListEnvelope defines model for RegistryConnectionListEnvelope.
13246
+ type RegistryConnectionListEnvelope struct {
13247
+ Items []RegistryConnection `json:"items"`
13248
+ }
13249
+
13250
+ // RegistryConnectionMetadata defines model for RegistryConnectionMetadata.
13251
+ type RegistryConnectionMetadata struct {
13252
+ SecretConfigured bool `json:"secretConfigured"`
13253
+ SecretStorage string `json:"secretStorage"`
13254
+ }
13255
+
12510
13256
  // ReleaseBundle defines model for ReleaseBundle.
12511
13257
  type ReleaseBundle struct {
12512
13258
  ApplicationEnvironmentID string `json:"applicationEnvironmentId,omitempty"`
@@ -13250,6 +13996,77 @@ type SkillCapability struct {
13250
13996
  RequiredScopes []string `json:"requiredScopes,omitempty"`
13251
13997
  }
13252
13998
 
13999
+ // SoftwarePackage defines model for SoftwarePackage.
14000
+ type SoftwarePackage struct {
14001
+ Arch string `json:"arch"`
14002
+ Category string `json:"category,omitempty"`
14003
+ CreatedAt time.Time `json:"createdAt"`
14004
+ Description string `json:"description,omitempty"`
14005
+ DownloadPath string `json:"downloadPath"`
14006
+ FileName string `json:"fileName"`
14007
+ ID string `json:"id"`
14008
+ Name string `json:"name"`
14009
+ Platform string `json:"platform"`
14010
+ Publisher string `json:"publisher"`
14011
+ Sha256 string `json:"sha256"`
14012
+ SizeBytes int64 `json:"sizeBytes"`
14013
+ SoftwareID string `json:"softwareId"`
14014
+ UpdatedAt time.Time `json:"updatedAt"`
14015
+ Version string `json:"version"`
14016
+ }
14017
+
14018
+ // SoftwarePackageEnvelope defines model for SoftwarePackageEnvelope.
14019
+ type SoftwarePackageEnvelope struct {
14020
+ Data SoftwarePackage `json:"data"`
14021
+ }
14022
+
14023
+ // SoftwarePackageListEnvelope defines model for SoftwarePackageListEnvelope.
14024
+ type SoftwarePackageListEnvelope struct {
14025
+ Items []SoftwarePackage `json:"items"`
14026
+ NextCursor string `json:"nextCursor,omitempty"`
14027
+ }
14028
+
14029
+ // SoftwarePackageURLImportRequest defines model for SoftwarePackageURLImportRequest.
14030
+ type SoftwarePackageURLImportRequest struct {
14031
+ Arch string `json:"arch"`
14032
+ Category string `json:"category,omitempty"`
14033
+ Description string `json:"description,omitempty"`
14034
+ FileName string `json:"fileName,omitempty"`
14035
+ Name string `json:"name"`
14036
+ Platform string `json:"platform"`
14037
+ Publisher string `json:"publisher"`
14038
+ SoftwareID string `json:"softwareId"`
14039
+ URL string `json:"url"`
14040
+ Version string `json:"version"`
14041
+ }
14042
+
14043
+ // SoftwarePackageUploadRequest defines model for SoftwarePackageUploadRequest.
14044
+ type SoftwarePackageUploadRequest struct {
14045
+ Arch string `json:"arch"`
14046
+ Category string `json:"category,omitempty"`
14047
+ Description string `json:"description,omitempty"`
14048
+ File openapi_types.File `json:"file"`
14049
+ Name string `json:"name"`
14050
+ Platform string `json:"platform"`
14051
+ Publisher string `json:"publisher"`
14052
+ SoftwareID string `json:"softwareId"`
14053
+ Version string `json:"version"`
14054
+ }
14055
+
14056
+ // SoftwareStorage defines model for SoftwareStorage.
14057
+ type SoftwareStorage struct {
14058
+ Backend string `json:"backend"`
14059
+ Items []SoftwarePackage `json:"items"`
14060
+ NextCursor string `json:"nextCursor,omitempty"`
14061
+ ObjectCount int64 `json:"objectCount"`
14062
+ TotalBytes int64 `json:"totalBytes"`
14063
+ }
14064
+
14065
+ // SoftwareStorageEnvelope defines model for SoftwareStorageEnvelope.
14066
+ type SoftwareStorageEnvelope struct {
14067
+ Data SoftwareStorage `json:"data"`
14068
+ }
14069
+
13253
14070
  // SourceBranch defines model for SourceBranch.
13254
14071
  type SourceBranch struct {
13255
14072
  CommitID string `json:"commitId"`
@@ -14036,6 +14853,12 @@ type AIEnvironmentLeaseID = string
14036
14853
  // AIMemoryID defines model for AIMemoryID.
14037
14854
  type AIMemoryID = string
14038
14855
 
14856
+ // AccessRoleID defines model for AccessRoleID.
14857
+ type AccessRoleID = string
14858
+
14859
+ // AgentInstallTicket defines model for AgentInstallTicket.
14860
+ type AgentInstallTicket = string
14861
+
14039
14862
  // AgentProviderRolloutAction defines model for AgentProviderRolloutAction.
14040
14863
  type AgentProviderRolloutAction string
14041
14864
 
@@ -14060,6 +14883,9 @@ type CertificateID = string
14060
14883
  // ClusterID defines model for ClusterID.
14061
14884
  type ClusterID = string
14062
14885
 
14886
+ // ClusterIDQuery defines model for ClusterIDQuery.
14887
+ type ClusterIDQuery = string
14888
+
14063
14889
  // ComputeActionID defines model for ComputeActionID.
14064
14890
  type ComputeActionID = string
14065
14891
 
@@ -14081,6 +14907,12 @@ type ComputeResourceID = string
14081
14907
  // ComputeTaskID defines model for ComputeTaskID.
14082
14908
  type ComputeTaskID = string
14083
14909
 
14910
+ // DashboardID defines model for DashboardID.
14911
+ type DashboardID = string
14912
+
14913
+ // DashboardPanelID defines model for DashboardPanelID.
14914
+ type DashboardPanelID = string
14915
+
14084
14916
  // DataSourceID defines model for DataSourceID.
14085
14917
  type DataSourceID = string
14086
14918
 
@@ -14189,6 +15021,9 @@ type PluginID = string
14189
15021
  // ProviderID defines model for ProviderID.
14190
15022
  type ProviderID = string
14191
15023
 
15024
+ // RegistryConnectionID defines model for RegistryConnectionID.
15025
+ type RegistryConnectionID = string
15026
+
14192
15027
  // RelayState defines model for RelayState.
14193
15028
  type RelayState = string
14194
15029
 
@@ -14231,6 +15066,9 @@ type SessionID = string
14231
15066
  // SkillID defines model for SkillID.
14232
15067
  type SkillID = string
14233
15068
 
15069
+ // SoftwarePackageID defines model for SoftwarePackageID.
15070
+ type SoftwarePackageID = string
15071
+
14234
15072
  // SohaCacheModeHeader defines model for SohaCacheModeHeader.
14235
15073
  type SohaCacheModeHeader string
14236
15074
 
@@ -14273,6 +15111,9 @@ type Error = ErrorEnvelope
14273
15111
  // IdentityError defines model for IdentityError.
14274
15112
  type IdentityError = IdentityErrorEnvelope
14275
15113
 
15114
+ // agentBearerAuthContextKey is the context key for agentBearerAuth security scheme
15115
+ type agentBearerAuthContextKey string
15116
+
14276
15117
  // bearerAuthContextKey is the context key for bearerAuth security scheme
14277
15118
  type bearerAuthContextKey string
14278
15119
 
@@ -14288,6 +15129,11 @@ type ListDirectoryEventsParams struct {
14288
15129
  Limit int `form:"limit,omitempty" json:"limit,omitempty"`
14289
15130
  }
14290
15131
 
15132
+ // ConnectClusterAgentSessionParams defines parameters for ConnectClusterAgentSession.
15133
+ type ConnectClusterAgentSessionParams struct {
15134
+ ClusterID ClusterIDQuery `form:"clusterId" json:"clusterId"`
15135
+ }
15136
+
14291
15137
  // ListAIGatewayApprovalRequestsParams defines parameters for ListAIGatewayApprovalRequests.
14292
15138
  type ListAIGatewayApprovalRequestsParams struct {
14293
15139
  // ID Canonical approval request id query parameter. The server also accepts requestID and approvalRequestId.
@@ -14837,6 +15683,14 @@ type ListApplicationEnvironmentsParams struct {
14837
15683
  EnvironmentID string `form:"environmentId,omitempty" json:"environmentId,omitempty"`
14838
15684
  }
14839
15685
 
15686
+ // ListApplicationEnvironmentTargetCandidatesParams defines parameters for ListApplicationEnvironmentTargetCandidates.
15687
+ type ListApplicationEnvironmentTargetCandidatesParams struct {
15688
+ ClusterID string `form:"clusterId" json:"clusterId"`
15689
+ Namespace string `form:"namespace" json:"namespace"`
15690
+ Search string `form:"search,omitempty" json:"search,omitempty"`
15691
+ Limit int `form:"limit,omitempty" json:"limit,omitempty"`
15692
+ }
15693
+
14840
15694
  // ListApplicationsParams defines parameters for ListApplications.
14841
15695
  type ListApplicationsParams struct {
14842
15696
  Search string `form:"search,omitempty" json:"search,omitempty"`
@@ -15044,6 +15898,11 @@ type GetMarketplacePluginParams struct {
15044
15898
  Version string `form:"version,omitempty" json:"version,omitempty"`
15045
15899
  }
15046
15900
 
15901
+ // ListRegistryConnectionsParams defines parameters for ListRegistryConnections.
15902
+ type ListRegistryConnectionsParams struct {
15903
+ Limit int `form:"limit,omitempty" json:"limit,omitempty"`
15904
+ }
15905
+
15047
15906
  // ListRepositoriesParams defines parameters for ListRepositories.
15048
15907
  type ListRepositoriesParams struct {
15049
15908
  ApplicationID string `form:"applicationId,omitempty" json:"applicationId,omitempty"`
@@ -15072,6 +15931,20 @@ type ListSecretsParams struct {
15072
15931
  ScopeID string `form:"scopeId,omitempty" json:"scopeId,omitempty"`
15073
15932
  }
15074
15933
 
15934
+ // ListSoftwarePackagesParams defines parameters for ListSoftwarePackages.
15935
+ type ListSoftwarePackagesParams struct {
15936
+ Platform string `form:"platform,omitempty" json:"platform,omitempty"`
15937
+ Arch string `form:"arch,omitempty" json:"arch,omitempty"`
15938
+ Cursor string `form:"cursor,omitempty" json:"cursor,omitempty"`
15939
+ Limit int `form:"limit,omitempty" json:"limit,omitempty"`
15940
+ }
15941
+
15942
+ // GetSoftwareStorageParams defines parameters for GetSoftwareStorage.
15943
+ type GetSoftwareStorageParams struct {
15944
+ Cursor string `form:"cursor,omitempty" json:"cursor,omitempty"`
15945
+ Limit int `form:"limit,omitempty" json:"limit,omitempty"`
15946
+ }
15947
+
15075
15948
  // ListSourceRepositoriesParams defines parameters for ListSourceRepositories.
15076
15949
  type ListSourceRepositoriesParams struct {
15077
15950
  Search string `form:"search,omitempty" json:"search,omitempty"`
@@ -15105,6 +15978,12 @@ type CreateVirtualMachineParams struct {
15105
15978
  IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
15106
15979
  }
15107
15980
 
15981
+ // CreateAccessRoleJSONRequestBody defines body for CreateAccessRole for application/json ContentType.
15982
+ type CreateAccessRoleJSONRequestBody = AccessRoleInput
15983
+
15984
+ // UpdateAccessRoleJSONRequestBody defines body for UpdateAccessRole for application/json ContentType.
15985
+ type UpdateAccessRoleJSONRequestBody = AccessRoleInput
15986
+
15108
15987
  // DecideAIGatewayApprovalRequestJSONRequestBody defines body for DecideAIGatewayApprovalRequest for application/json ContentType.
15109
15988
  type DecideAIGatewayApprovalRequestJSONRequestBody = ApprovalDecisionInput
15110
15989
 
@@ -15303,6 +16182,12 @@ type StartAIProductionOperationJSONRequestBody = AIProductionOperationInput
15303
16182
  // CreateApplicationEnvironmentJSONRequestBody defines body for CreateApplicationEnvironment for application/json ContentType.
15304
16183
  type CreateApplicationEnvironmentJSONRequestBody = ApplicationEnvironmentInput
15305
16184
 
16185
+ // ImportHelmReleasesJSONRequestBody defines body for ImportHelmReleases for application/json ContentType.
16186
+ type ImportHelmReleasesJSONRequestBody = HelmReleaseImportRequest
16187
+
16188
+ // ImportKubernetesServicesJSONRequestBody defines body for ImportKubernetesServices for application/json ContentType.
16189
+ type ImportKubernetesServicesJSONRequestBody = KubernetesServiceImportRequest
16190
+
15306
16191
  // UpdateApplicationEnvironmentJSONRequestBody defines body for UpdateApplicationEnvironment for application/json ContentType.
15307
16192
  type UpdateApplicationEnvironmentJSONRequestBody = ApplicationEnvironmentInput
15308
16193
 
@@ -15558,6 +16443,12 @@ type ValidateSAMLMetadataJSONRequestBody = SAMLMetadataInput
15558
16443
  // AdminResetUserMFAJSONRequestBody defines body for AdminResetUserMFA for application/json ContentType.
15559
16444
  type AdminResetUserMFAJSONRequestBody = MFAAdminResetRequest
15560
16445
 
16446
+ // ImportGrafanaDashboardJSONRequestBody defines body for ImportGrafanaDashboard for application/json ContentType.
16447
+ type ImportGrafanaDashboardJSONRequestBody = ObservabilityGrafanaDashboardImportInput
16448
+
16449
+ // QueryObservabilityDashboardPanelJSONRequestBody defines body for QueryObservabilityDashboardPanel for application/json ContentType.
16450
+ type QueryObservabilityDashboardPanelJSONRequestBody = ObservabilityDashboardPanelQueryInput
16451
+
15561
16452
  // CreateObservabilityDataSourceJSONRequestBody defines body for CreateObservabilityDataSource for application/json ContentType.
15562
16453
  type CreateObservabilityDataSourceJSONRequestBody = ObservabilityDataSourceInput
15563
16454
 
@@ -15579,6 +16470,12 @@ type ConfigureInstalledPluginJSONRequestBody = PluginConfigRequest
15579
16470
  // UpgradeInstalledPluginJSONRequestBody defines body for UpgradeInstalledPlugin for application/json ContentType.
15580
16471
  type UpgradeInstalledPluginJSONRequestBody = PluginInstallRequest
15581
16472
 
16473
+ // CreateRegistryConnectionJSONRequestBody defines body for CreateRegistryConnection for application/json ContentType.
16474
+ type CreateRegistryConnectionJSONRequestBody = RegistryConnectionInput
16475
+
16476
+ // UpdateRegistryConnectionJSONRequestBody defines body for UpdateRegistryConnection for application/json ContentType.
16477
+ type UpdateRegistryConnectionJSONRequestBody = RegistryConnectionInput
16478
+
15582
16479
  // CreateRepositoryJSONRequestBody defines body for CreateRepository for application/json ContentType.
15583
16480
  type CreateRepositoryJSONRequestBody = RepositoryInput
15584
16481
 
@@ -15612,6 +16509,12 @@ type RollbackRuntimeConfigJSONRequestBody = RuntimeConfigRollbackRequest
15612
16509
  // ValidateRuntimeConfigJSONRequestBody defines body for ValidateRuntimeConfig for application/json ContentType.
15613
16510
  type ValidateRuntimeConfigJSONRequestBody = RuntimeConfigChangeRequest
15614
16511
 
16512
+ // UploadSoftwarePackageMultipartRequestBody defines body for UploadSoftwarePackage for multipart/form-data ContentType.
16513
+ type UploadSoftwarePackageMultipartRequestBody = SoftwarePackageUploadRequest
16514
+
16515
+ // ImportSoftwarePackageJSONRequestBody defines body for ImportSoftwarePackage for application/json ContentType.
16516
+ type ImportSoftwarePackageJSONRequestBody = SoftwarePackageURLImportRequest
16517
+
15615
16518
  // CreateSystemIntegrationJSONRequestBody defines body for CreateSystemIntegration for application/json ContentType.
15616
16519
  type CreateSystemIntegrationJSONRequestBody = SystemIntegrationCreateRequest
15617
16520