@opensoha/contracts 0.1.9 → 0.1.12

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 (60) hide show
  1. package/README.md +1 -1
  2. package/auth/catalog_generated.go +3 -3
  3. package/auth/catalog_test.go +35 -0
  4. package/auth/permission-catalog.json +19 -151
  5. package/compat/json-schema-ecosystem-0.1.0.json +1 -1
  6. package/compat/openapi-loose-boundaries-0.1.0.json +1 -5
  7. package/fixtures/openapi/DockerHostAgentCredentialsEnvelope/invalid/missing-runtime-token.json +9 -0
  8. package/fixtures/openapi/DockerHostAgentCredentialsEnvelope/valid/credentials.json +10 -0
  9. package/fixtures/openapi/DockerHostAgentEnrollmentRequest/invalid/short-token.json +4 -0
  10. package/fixtures/openapi/DockerHostAgentEnrollmentRequest/valid/enrollment.json +4 -0
  11. package/fixtures/openapi/DockerHostAgentInstallation/invalid/missing-command.json +6 -0
  12. package/fixtures/openapi/DockerHostAgentInstallation/valid/installation.json +7 -0
  13. package/fixtures/openapi/IdentityProvider/invalid/missing-id.json +9 -0
  14. package/fixtures/openapi/IdentityProvider/valid/current.json +12 -0
  15. package/fixtures/openapi/IdentityProvider/valid/v0.1.9.json +14 -0
  16. package/fixtures/openapi/MenuEnvelope/invalid/missing-data.json +1 -0
  17. package/fixtures/openapi/MenuEnvelope/valid/menu.json +13 -0
  18. package/fixtures/openapi/MenuInput/invalid/missing-icon.json +5 -0
  19. package/fixtures/openapi/MenuInput/valid/top-level.json +12 -0
  20. package/fixtures/openapi/MenuListEnvelope/invalid/items-object.json +3 -0
  21. package/fixtures/openapi/MenuListEnvelope/valid/tree.json +27 -0
  22. package/fixtures/openapi/OIDCClient/invalid/missing-grant-types.json +9 -0
  23. package/fixtures/openapi/OIDCClient/valid/current.json +19 -0
  24. package/fixtures/openapi/OIDCClient/valid/v0.1.9.json +10 -0
  25. package/fixtures/openapi/OIDCClientInput/invalid/empty-rules.json +5 -0
  26. package/fixtures/openapi/OIDCClientInput/valid/regex.json +4 -0
  27. package/fixtures/openapi/OIDCClientInput/valid/strict.json +4 -0
  28. package/fixtures/openapi/OIDCClientInput/valid/v0.1.9.json +7 -0
  29. package/fixtures/openapi/ObservabilityContext/invalid/missing-time-range.json +6 -0
  30. package/fixtures/openapi/ObservabilityContext/valid/scoped.json +27 -0
  31. package/fixtures/openapi/ObservabilityDashboardImportResultEnvelope/valid/imported.json +28 -1
  32. package/fixtures/openapi/ObservabilityDashboardPanelQueryInput/invalid/missing-time-to.json +6 -0
  33. package/fixtures/openapi/ObservabilityDashboardPanelQueryInput/valid/variables.json +8 -0
  34. package/fixtures/openapi/ObservabilityMetricCatalogEnvelope/invalid/missing-availability.json +10 -0
  35. package/fixtures/openapi/ObservabilityMetricCatalogEnvelope/valid/catalog.json +13 -0
  36. package/fixtures/openapi/ObservabilityQueryResultMeta/invalid/missing-state.json +3 -0
  37. package/fixtures/openapi/ObservabilityQueryResultMeta/valid/partial.json +15 -0
  38. package/fixtures/openapi/ObservabilityQuerySnapshot/invalid/missing-context.json +5 -0
  39. package/fixtures/openapi/ObservabilityQuerySnapshot/valid/prometheus.json +22 -0
  40. package/fixtures/openapi/ObservabilityServiceEnvelope/invalid/missing-status.json +12 -0
  41. package/fixtures/openapi/ObservabilityServiceEnvelope/valid/service.json +29 -0
  42. package/fixtures/openapi/ObservabilityServiceListEnvelope/invalid/missing-meta.json +3 -0
  43. package/fixtures/openapi/ObservabilityServiceListEnvelope/valid/services.json +39 -0
  44. package/fixtures/openapi/ObservabilityTopologyEnvelope/invalid/missing-edge-status.json +10 -0
  45. package/fixtures/openapi/ObservabilityTopologyEnvelope/valid/topology.json +22 -0
  46. package/fixtures/openapi/ScopeGrantEnvelope/invalid/missing-id.json +13 -0
  47. package/fixtures/openapi/ScopeGrantEnvelope/valid/platform.json +15 -0
  48. package/fixtures/openapi/ScopeGrantInput/invalid/missing-subject.json +7 -0
  49. package/fixtures/openapi/ScopeGrantInput/valid/delivery.json +11 -0
  50. package/fixtures/openapi/ScopeGrantListEnvelope/invalid/unknown-scope.json +16 -0
  51. package/fixtures/openapi/ScopeGrantListEnvelope/valid/list.json +18 -0
  52. package/gen/go/sohaapi/client.go +10 -1
  53. package/gen/go/sohaapi/client_test.go +47 -0
  54. package/gen/go/sohaapi/types.go +987 -93
  55. package/gen/ts/sohaapi/index.ts +1263 -48
  56. package/go.mod +1 -1
  57. package/openapi/soha-api.json +2501 -50
  58. package/openapi/soha-api.yaml +1398 -57
  59. package/openapi/spec_generated.go +3 -3
  60. package/package.json +1 -1
@@ -3913,6 +3913,42 @@ func (e MarketplacePublisherVerificationLevel) Valid() bool {
3913
3913
  }
3914
3914
  }
3915
3915
 
3916
+ // Defines values for OIDCClientAllowedGrantTypes.
3917
+ const (
3918
+ OIDCClientAllowedGrantTypesAuthorizationCode OIDCClientAllowedGrantTypes = "authorization_code"
3919
+ OIDCClientAllowedGrantTypesRefreshToken OIDCClientAllowedGrantTypes = "refresh_token"
3920
+ )
3921
+
3922
+ // Valid indicates whether the value is a known member of the OIDCClientAllowedGrantTypes enum.
3923
+ func (e OIDCClientAllowedGrantTypes) Valid() bool {
3924
+ switch e {
3925
+ case OIDCClientAllowedGrantTypesAuthorizationCode:
3926
+ return true
3927
+ case OIDCClientAllowedGrantTypesRefreshToken:
3928
+ return true
3929
+ default:
3930
+ return false
3931
+ }
3932
+ }
3933
+
3934
+ // Defines values for OIDCClientClientType.
3935
+ const (
3936
+ OIDCClientClientTypeConfidential OIDCClientClientType = "confidential"
3937
+ OIDCClientClientTypePublic OIDCClientClientType = "public"
3938
+ )
3939
+
3940
+ // Valid indicates whether the value is a known member of the OIDCClientClientType enum.
3941
+ func (e OIDCClientClientType) Valid() bool {
3942
+ switch e {
3943
+ case OIDCClientClientTypeConfidential:
3944
+ return true
3945
+ case OIDCClientClientTypePublic:
3946
+ return true
3947
+ default:
3948
+ return false
3949
+ }
3950
+ }
3951
+
3916
3952
  // Defines values for OIDCClientGrantTypes.
3917
3953
  const (
3918
3954
  OIDCClientGrantTypesAuthorizationCode OIDCClientGrantTypes = "authorization_code"
@@ -3931,6 +3967,42 @@ func (e OIDCClientGrantTypes) Valid() bool {
3931
3967
  }
3932
3968
  }
3933
3969
 
3970
+ // Defines values for OIDCClientInputAllowedGrantTypes.
3971
+ const (
3972
+ OIDCClientInputAllowedGrantTypesAuthorizationCode OIDCClientInputAllowedGrantTypes = "authorization_code"
3973
+ OIDCClientInputAllowedGrantTypesRefreshToken OIDCClientInputAllowedGrantTypes = "refresh_token"
3974
+ )
3975
+
3976
+ // Valid indicates whether the value is a known member of the OIDCClientInputAllowedGrantTypes enum.
3977
+ func (e OIDCClientInputAllowedGrantTypes) Valid() bool {
3978
+ switch e {
3979
+ case OIDCClientInputAllowedGrantTypesAuthorizationCode:
3980
+ return true
3981
+ case OIDCClientInputAllowedGrantTypesRefreshToken:
3982
+ return true
3983
+ default:
3984
+ return false
3985
+ }
3986
+ }
3987
+
3988
+ // Defines values for OIDCClientInputClientType.
3989
+ const (
3990
+ OIDCClientInputClientTypeConfidential OIDCClientInputClientType = "confidential"
3991
+ OIDCClientInputClientTypePublic OIDCClientInputClientType = "public"
3992
+ )
3993
+
3994
+ // Valid indicates whether the value is a known member of the OIDCClientInputClientType enum.
3995
+ func (e OIDCClientInputClientType) Valid() bool {
3996
+ switch e {
3997
+ case OIDCClientInputClientTypeConfidential:
3998
+ return true
3999
+ case OIDCClientInputClientTypePublic:
4000
+ return true
4001
+ default:
4002
+ return false
4003
+ }
4004
+ }
4005
+
3934
4006
  // Defines values for OIDCClientInputGrantTypes.
3935
4007
  const (
3936
4008
  OIDCClientInputGrantTypesAuthorizationCode OIDCClientInputGrantTypes = "authorization_code"
@@ -3949,6 +4021,21 @@ func (e OIDCClientInputGrantTypes) Valid() bool {
3949
4021
  }
3950
4022
  }
3951
4023
 
4024
+ // Defines values for ObservabilityContextVersion.
4025
+ const (
4026
+ ObservabilityContextVersionV1 ObservabilityContextVersion = "v1"
4027
+ )
4028
+
4029
+ // Valid indicates whether the value is a known member of the ObservabilityContextVersion enum.
4030
+ func (e ObservabilityContextVersion) Valid() bool {
4031
+ switch e {
4032
+ case ObservabilityContextVersionV1:
4033
+ return true
4034
+ default:
4035
+ return false
4036
+ }
4037
+ }
4038
+
3952
4039
  // Defines values for ObservabilityDashboardImportWarningCode.
3953
4040
  const (
3954
4041
  DatasourceRebound ObservabilityDashboardImportWarningCode = "datasource_rebound"
@@ -3978,23 +4065,32 @@ func (e ObservabilityDashboardImportWarningCode) Valid() bool {
3978
4065
 
3979
4066
  // Defines values for ObservabilityDashboardPanelType.
3980
4067
  const (
3981
- ObservabilityDashboardPanelTypeRow ObservabilityDashboardPanelType = "row"
3982
- ObservabilityDashboardPanelTypeStat ObservabilityDashboardPanelType = "stat"
3983
- ObservabilityDashboardPanelTypeText ObservabilityDashboardPanelType = "text"
3984
- ObservabilityDashboardPanelTypeTimeseries ObservabilityDashboardPanelType = "timeseries"
4068
+ ObservabilityDashboardPanelTypeGauge ObservabilityDashboardPanelType = "gauge"
4069
+ ObservabilityDashboardPanelTypeRow ObservabilityDashboardPanelType = "row"
4070
+ ObservabilityDashboardPanelTypeStat ObservabilityDashboardPanelType = "stat"
4071
+ ObservabilityDashboardPanelTypeTable ObservabilityDashboardPanelType = "table"
4072
+ ObservabilityDashboardPanelTypeText ObservabilityDashboardPanelType = "text"
4073
+ ObservabilityDashboardPanelTypeTimeseries ObservabilityDashboardPanelType = "timeseries"
4074
+ ObservabilityDashboardPanelTypeUnsupported ObservabilityDashboardPanelType = "unsupported"
3985
4075
  )
3986
4076
 
3987
4077
  // Valid indicates whether the value is a known member of the ObservabilityDashboardPanelType enum.
3988
4078
  func (e ObservabilityDashboardPanelType) Valid() bool {
3989
4079
  switch e {
4080
+ case ObservabilityDashboardPanelTypeGauge:
4081
+ return true
3990
4082
  case ObservabilityDashboardPanelTypeRow:
3991
4083
  return true
3992
4084
  case ObservabilityDashboardPanelTypeStat:
3993
4085
  return true
4086
+ case ObservabilityDashboardPanelTypeTable:
4087
+ return true
3994
4088
  case ObservabilityDashboardPanelTypeText:
3995
4089
  return true
3996
4090
  case ObservabilityDashboardPanelTypeTimeseries:
3997
4091
  return true
4092
+ case ObservabilityDashboardPanelTypeUnsupported:
4093
+ return true
3998
4094
  default:
3999
4095
  return false
4000
4096
  }
@@ -4015,6 +4111,42 @@ func (e ObservabilityDashboardSource) Valid() bool {
4015
4111
  }
4016
4112
  }
4017
4113
 
4114
+ // Defines values for ObservabilityDashboardSourceFormat.
4115
+ const (
4116
+ ObservabilityDashboardSourceFormatClassic ObservabilityDashboardSourceFormat = "classic"
4117
+ ObservabilityDashboardSourceFormatV1 ObservabilityDashboardSourceFormat = "v1"
4118
+ )
4119
+
4120
+ // Valid indicates whether the value is a known member of the ObservabilityDashboardSourceFormat enum.
4121
+ func (e ObservabilityDashboardSourceFormat) Valid() bool {
4122
+ switch e {
4123
+ case ObservabilityDashboardSourceFormatClassic:
4124
+ return true
4125
+ case ObservabilityDashboardSourceFormatV1:
4126
+ return true
4127
+ default:
4128
+ return false
4129
+ }
4130
+ }
4131
+
4132
+ // Defines values for ObservabilityDashboardVariableType.
4133
+ const (
4134
+ ObservabilityDashboardVariableTypeConstant ObservabilityDashboardVariableType = "constant"
4135
+ ObservabilityDashboardVariableTypeCustom ObservabilityDashboardVariableType = "custom"
4136
+ )
4137
+
4138
+ // Valid indicates whether the value is a known member of the ObservabilityDashboardVariableType enum.
4139
+ func (e ObservabilityDashboardVariableType) Valid() bool {
4140
+ switch e {
4141
+ case ObservabilityDashboardVariableTypeConstant:
4142
+ return true
4143
+ case ObservabilityDashboardVariableTypeCustom:
4144
+ return true
4145
+ default:
4146
+ return false
4147
+ }
4148
+ }
4149
+
4018
4150
  // Defines values for ObservabilityDataSourceCredentialKeys.
4019
4151
  const (
4020
4152
  ObservabilityDataSourceCredentialKeysBearerToken ObservabilityDataSourceCredentialKeys = "bearer_token"
@@ -4165,6 +4297,36 @@ func (e ObservabilityProviderRuntimeMode) Valid() bool {
4165
4297
  }
4166
4298
  }
4167
4299
 
4300
+ // Defines values for ObservabilityProviderRuntimeStatus.
4301
+ const (
4302
+ ObservabilityProviderRuntimeStatusDegraded ObservabilityProviderRuntimeStatus = "degraded"
4303
+ ObservabilityProviderRuntimeStatusFailed ObservabilityProviderRuntimeStatus = "failed"
4304
+ ObservabilityProviderRuntimeStatusHealthy ObservabilityProviderRuntimeStatus = "healthy"
4305
+ ObservabilityProviderRuntimeStatusUnconfigured ObservabilityProviderRuntimeStatus = "unconfigured"
4306
+ ObservabilityProviderRuntimeStatusUnknown ObservabilityProviderRuntimeStatus = "unknown"
4307
+ ObservabilityProviderRuntimeStatusUnsupported ObservabilityProviderRuntimeStatus = "unsupported"
4308
+ )
4309
+
4310
+ // Valid indicates whether the value is a known member of the ObservabilityProviderRuntimeStatus enum.
4311
+ func (e ObservabilityProviderRuntimeStatus) Valid() bool {
4312
+ switch e {
4313
+ case ObservabilityProviderRuntimeStatusDegraded:
4314
+ return true
4315
+ case ObservabilityProviderRuntimeStatusFailed:
4316
+ return true
4317
+ case ObservabilityProviderRuntimeStatusHealthy:
4318
+ return true
4319
+ case ObservabilityProviderRuntimeStatusUnconfigured:
4320
+ return true
4321
+ case ObservabilityProviderRuntimeStatusUnknown:
4322
+ return true
4323
+ case ObservabilityProviderRuntimeStatusUnsupported:
4324
+ return true
4325
+ default:
4326
+ return false
4327
+ }
4328
+ }
4329
+
4168
4330
  // Defines values for ObservabilityProviderSignal.
4169
4331
  const (
4170
4332
  ObservabilityProviderSignalLogs ObservabilityProviderSignal = "logs"
@@ -4210,6 +4372,132 @@ func (e ObservabilityProviderStatus) Valid() bool {
4210
4372
  }
4211
4373
  }
4212
4374
 
4375
+ // Defines values for ObservabilityQueryLanguage.
4376
+ const (
4377
+ ObservabilityQueryLanguageClickHouseSQL ObservabilityQueryLanguage = "clickhouse_sql"
4378
+ ObservabilityQueryLanguageElasticsearch ObservabilityQueryLanguage = "elasticsearch"
4379
+ ObservabilityQueryLanguageEventFilter ObservabilityQueryLanguage = "event_filter"
4380
+ ObservabilityQueryLanguageLogQL ObservabilityQueryLanguage = "logql"
4381
+ ObservabilityQueryLanguageMetricKey ObservabilityQueryLanguage = "metric_key"
4382
+ ObservabilityQueryLanguagePromQL ObservabilityQueryLanguage = "promql"
4383
+ ObservabilityQueryLanguageTraceFilter ObservabilityQueryLanguage = "trace_filter"
4384
+ )
4385
+
4386
+ // Valid indicates whether the value is a known member of the ObservabilityQueryLanguage enum.
4387
+ func (e ObservabilityQueryLanguage) Valid() bool {
4388
+ switch e {
4389
+ case ObservabilityQueryLanguageClickHouseSQL:
4390
+ return true
4391
+ case ObservabilityQueryLanguageElasticsearch:
4392
+ return true
4393
+ case ObservabilityQueryLanguageEventFilter:
4394
+ return true
4395
+ case ObservabilityQueryLanguageLogQL:
4396
+ return true
4397
+ case ObservabilityQueryLanguageMetricKey:
4398
+ return true
4399
+ case ObservabilityQueryLanguagePromQL:
4400
+ return true
4401
+ case ObservabilityQueryLanguageTraceFilter:
4402
+ return true
4403
+ default:
4404
+ return false
4405
+ }
4406
+ }
4407
+
4408
+ // Defines values for ObservabilityQuerySnapshotVersion.
4409
+ const (
4410
+ ObservabilityQuerySnapshotVersionV1 ObservabilityQuerySnapshotVersion = "v1"
4411
+ )
4412
+
4413
+ // Valid indicates whether the value is a known member of the ObservabilityQuerySnapshotVersion enum.
4414
+ func (e ObservabilityQuerySnapshotVersion) Valid() bool {
4415
+ switch e {
4416
+ case ObservabilityQuerySnapshotVersionV1:
4417
+ return true
4418
+ default:
4419
+ return false
4420
+ }
4421
+ }
4422
+
4423
+ // Defines values for ObservabilityQueryState.
4424
+ const (
4425
+ ObservabilityQueryStateEmpty ObservabilityQueryState = "empty"
4426
+ ObservabilityQueryStateError ObservabilityQueryState = "error"
4427
+ ObservabilityQueryStateNoData ObservabilityQueryState = "no_data"
4428
+ ObservabilityQueryStatePartial ObservabilityQueryState = "partial"
4429
+ ObservabilityQueryStateSuccess ObservabilityQueryState = "success"
4430
+ ObservabilityQueryStateUnsupported ObservabilityQueryState = "unsupported"
4431
+ )
4432
+
4433
+ // Valid indicates whether the value is a known member of the ObservabilityQueryState enum.
4434
+ func (e ObservabilityQueryState) Valid() bool {
4435
+ switch e {
4436
+ case ObservabilityQueryStateEmpty:
4437
+ return true
4438
+ case ObservabilityQueryStateError:
4439
+ return true
4440
+ case ObservabilityQueryStateNoData:
4441
+ return true
4442
+ case ObservabilityQueryStatePartial:
4443
+ return true
4444
+ case ObservabilityQueryStateSuccess:
4445
+ return true
4446
+ case ObservabilityQueryStateUnsupported:
4447
+ return true
4448
+ default:
4449
+ return false
4450
+ }
4451
+ }
4452
+
4453
+ // Defines values for ObservabilityServiceStatus.
4454
+ const (
4455
+ ObservabilityServiceStatusDegraded ObservabilityServiceStatus = "degraded"
4456
+ ObservabilityServiceStatusHealthy ObservabilityServiceStatus = "healthy"
4457
+ ObservabilityServiceStatusUnknown ObservabilityServiceStatus = "unknown"
4458
+ ObservabilityServiceStatusUnsupported ObservabilityServiceStatus = "unsupported"
4459
+ )
4460
+
4461
+ // Valid indicates whether the value is a known member of the ObservabilityServiceStatus enum.
4462
+ func (e ObservabilityServiceStatus) Valid() bool {
4463
+ switch e {
4464
+ case ObservabilityServiceStatusDegraded:
4465
+ return true
4466
+ case ObservabilityServiceStatusHealthy:
4467
+ return true
4468
+ case ObservabilityServiceStatusUnknown:
4469
+ return true
4470
+ case ObservabilityServiceStatusUnsupported:
4471
+ return true
4472
+ default:
4473
+ return false
4474
+ }
4475
+ }
4476
+
4477
+ // Defines values for ObservabilitySignal.
4478
+ const (
4479
+ ObservabilitySignalEvents ObservabilitySignal = "events"
4480
+ ObservabilitySignalLogs ObservabilitySignal = "logs"
4481
+ ObservabilitySignalMetrics ObservabilitySignal = "metrics"
4482
+ ObservabilitySignalTraces ObservabilitySignal = "traces"
4483
+ )
4484
+
4485
+ // Valid indicates whether the value is a known member of the ObservabilitySignal enum.
4486
+ func (e ObservabilitySignal) Valid() bool {
4487
+ switch e {
4488
+ case ObservabilitySignalEvents:
4489
+ return true
4490
+ case ObservabilitySignalLogs:
4491
+ return true
4492
+ case ObservabilitySignalMetrics:
4493
+ return true
4494
+ case ObservabilitySignalTraces:
4495
+ return true
4496
+ default:
4497
+ return false
4498
+ }
4499
+ }
4500
+
4213
4501
  // Defines values for ObservabilityTraceQueryResultBackendType.
4214
4502
  const (
4215
4503
  Jaeger ObservabilityTraceQueryResultBackendType = "jaeger"
@@ -4806,34 +5094,34 @@ func (e RuntimeNetworkUsageScope) Valid() bool {
4806
5094
 
4807
5095
  // Defines values for SAMLAttributeMappingTarget.
4808
5096
  const (
4809
- DisplayName SAMLAttributeMappingTarget = "displayName"
4810
- Email SAMLAttributeMappingTarget = "email"
4811
- Organization SAMLAttributeMappingTarget = "organization"
4812
- Project SAMLAttributeMappingTarget = "project"
4813
- Role SAMLAttributeMappingTarget = "role"
4814
- Subject SAMLAttributeMappingTarget = "subject"
4815
- Team SAMLAttributeMappingTarget = "team"
4816
- Username SAMLAttributeMappingTarget = "username"
5097
+ SAMLAttributeMappingTargetDisplayName SAMLAttributeMappingTarget = "displayName"
5098
+ SAMLAttributeMappingTargetEmail SAMLAttributeMappingTarget = "email"
5099
+ SAMLAttributeMappingTargetOrganization SAMLAttributeMappingTarget = "organization"
5100
+ SAMLAttributeMappingTargetProject SAMLAttributeMappingTarget = "project"
5101
+ SAMLAttributeMappingTargetRole SAMLAttributeMappingTarget = "role"
5102
+ SAMLAttributeMappingTargetSubject SAMLAttributeMappingTarget = "subject"
5103
+ SAMLAttributeMappingTargetTeam SAMLAttributeMappingTarget = "team"
5104
+ SAMLAttributeMappingTargetUsername SAMLAttributeMappingTarget = "username"
4817
5105
  )
4818
5106
 
4819
5107
  // Valid indicates whether the value is a known member of the SAMLAttributeMappingTarget enum.
4820
5108
  func (e SAMLAttributeMappingTarget) Valid() bool {
4821
5109
  switch e {
4822
- case DisplayName:
5110
+ case SAMLAttributeMappingTargetDisplayName:
4823
5111
  return true
4824
- case Email:
5112
+ case SAMLAttributeMappingTargetEmail:
4825
5113
  return true
4826
- case Organization:
5114
+ case SAMLAttributeMappingTargetOrganization:
4827
5115
  return true
4828
- case Project:
5116
+ case SAMLAttributeMappingTargetProject:
4829
5117
  return true
4830
- case Role:
5118
+ case SAMLAttributeMappingTargetRole:
4831
5119
  return true
4832
- case Subject:
5120
+ case SAMLAttributeMappingTargetSubject:
4833
5121
  return true
4834
- case Team:
5122
+ case SAMLAttributeMappingTargetTeam:
4835
5123
  return true
4836
- case Username:
5124
+ case SAMLAttributeMappingTargetUsername:
4837
5125
  return true
4838
5126
  default:
4839
5127
  return false
@@ -4882,6 +5170,63 @@ func (e SAMLNameIDFormat) Valid() bool {
4882
5170
  }
4883
5171
  }
4884
5172
 
5173
+ // Defines values for ScopeGrantEffect.
5174
+ const (
5175
+ Allow ScopeGrantEffect = "allow"
5176
+ Deny ScopeGrantEffect = "deny"
5177
+ )
5178
+
5179
+ // Valid indicates whether the value is a known member of the ScopeGrantEffect enum.
5180
+ func (e ScopeGrantEffect) Valid() bool {
5181
+ switch e {
5182
+ case Allow:
5183
+ return true
5184
+ case Deny:
5185
+ return true
5186
+ default:
5187
+ return false
5188
+ }
5189
+ }
5190
+
5191
+ // Defines values for ScopeGrantSubjectType.
5192
+ const (
5193
+ ScopeGrantSubjectTypeTeam ScopeGrantSubjectType = "team"
5194
+ ScopeGrantSubjectTypeUser ScopeGrantSubjectType = "user"
5195
+ )
5196
+
5197
+ // Valid indicates whether the value is a known member of the ScopeGrantSubjectType enum.
5198
+ func (e ScopeGrantSubjectType) Valid() bool {
5199
+ switch e {
5200
+ case ScopeGrantSubjectTypeTeam:
5201
+ return true
5202
+ case ScopeGrantSubjectTypeUser:
5203
+ return true
5204
+ default:
5205
+ return false
5206
+ }
5207
+ }
5208
+
5209
+ // Defines values for ScopeGrantType.
5210
+ const (
5211
+ ScopeGrantTypeDelivery ScopeGrantType = "delivery"
5212
+ ScopeGrantTypeLegacy ScopeGrantType = "legacy"
5213
+ ScopeGrantTypePlatform ScopeGrantType = "platform"
5214
+ )
5215
+
5216
+ // Valid indicates whether the value is a known member of the ScopeGrantType enum.
5217
+ func (e ScopeGrantType) Valid() bool {
5218
+ switch e {
5219
+ case ScopeGrantTypeDelivery:
5220
+ return true
5221
+ case ScopeGrantTypeLegacy:
5222
+ return true
5223
+ case ScopeGrantTypePlatform:
5224
+ return true
5225
+ default:
5226
+ return false
5227
+ }
5228
+ }
5229
+
4885
5230
  // Defines values for SecretBindingTargetType.
4886
5231
  const (
4887
5232
  SecretBindingCapability SecretBindingTargetType = "capability"
@@ -8193,6 +8538,7 @@ type BrandingSettings struct {
8193
8538
  FaviconURL string `json:"faviconUrl"`
8194
8539
  LoginLogoURL string `json:"loginLogoUrl"`
8195
8540
  SidebarTitle string `json:"sidebarTitle"`
8541
+ Slogan string `json:"slogan,omitempty"`
8196
8542
  }
8197
8543
 
8198
8544
  // BrandingSettingsEnvelope defines model for BrandingSettingsEnvelope.
@@ -9412,6 +9758,46 @@ type DockerGitBuildInput struct {
9412
9758
  RepositoryURL string `json:"repositoryUrl"`
9413
9759
  }
9414
9760
 
9761
+ // DockerHostAgentCredentials defines model for DockerHostAgentCredentials.
9762
+ type DockerHostAgentCredentials struct {
9763
+ // AgentBearerToken Credential for the Agent's local HTTP API, returned only by the successful enrollment response.
9764
+ AgentBearerToken string `json:"agentBearerToken"`
9765
+ AgentID string `json:"agentId"`
9766
+ HostID string `json:"hostId"`
9767
+ IssuedAt time.Time `json:"issuedAt"`
9768
+ OperationID string `json:"operationId"`
9769
+
9770
+ // RuntimeBearerToken Revocable credential restricted to Docker operations for this host.
9771
+ RuntimeBearerToken string `json:"runtimeBearerToken"`
9772
+ }
9773
+
9774
+ // DockerHostAgentCredentialsEnvelope defines model for DockerHostAgentCredentialsEnvelope.
9775
+ type DockerHostAgentCredentialsEnvelope struct {
9776
+ Data DockerHostAgentCredentials `json:"data"`
9777
+ }
9778
+
9779
+ // DockerHostAgentEnrollmentRequest defines model for DockerHostAgentEnrollmentRequest.
9780
+ type DockerHostAgentEnrollmentRequest struct {
9781
+ AgentID string `json:"agentId"`
9782
+
9783
+ // EnrollmentToken Short-lived one-time secret delivered only inside the installer.
9784
+ EnrollmentToken string `json:"enrollmentToken"`
9785
+ }
9786
+
9787
+ // DockerHostAgentInstallation defines model for DockerHostAgentInstallation.
9788
+ type DockerHostAgentInstallation struct {
9789
+ Command string `json:"command"`
9790
+ ExpiresAt time.Time `json:"expiresAt"`
9791
+ HostID string `json:"hostId"`
9792
+ OperationID string `json:"operationId"`
9793
+ ScriptURL string `json:"scriptUrl"`
9794
+ }
9795
+
9796
+ // DockerHostAgentInstallationEnvelope defines model for DockerHostAgentInstallationEnvelope.
9797
+ type DockerHostAgentInstallationEnvelope struct {
9798
+ Data DockerHostAgentInstallation `json:"data"`
9799
+ }
9800
+
9415
9801
  // DockerOperation defines model for DockerOperation.
9416
9802
  type DockerOperation struct {
9417
9803
  // CallbackToken Opaque per-claim credential returned only by the authenticated runner claim endpoint when callback-token fencing is negotiated.
@@ -10473,18 +10859,24 @@ type IdentityProtocolErrorCode string
10473
10859
 
10474
10860
  // IdentityProvider defines model for IdentityProvider.
10475
10861
  type IdentityProvider struct {
10476
- ApplicationID string `json:"applicationId"`
10477
- Config map[string]any `json:"config,omitempty"`
10478
- CreatedAt time.Time `json:"createdAt"`
10479
- CreatedBy string `json:"createdBy,omitempty"`
10480
- Enabled bool `json:"enabled"`
10481
- ID string `json:"id"`
10482
- Name string `json:"name"`
10483
- SecretRefs map[string]any `json:"secretRefs,omitempty"`
10484
- Status IdentityResourceStatus `json:"status"`
10485
- Type IdentityProviderType `json:"type"`
10486
- UpdatedAt time.Time `json:"updatedAt"`
10487
- UpdatedBy string `json:"updatedBy,omitempty"`
10862
+ ApplicationID string `json:"applicationId"`
10863
+
10864
+ // Config Non-secret provider configuration.
10865
+ Config map[string]any `json:"config,omitempty"`
10866
+ ConfiguredSecretAliases []string `json:"configuredSecretAliases,omitempty"`
10867
+ CreatedAt time.Time `json:"createdAt"`
10868
+ CreatedBy string `json:"createdBy,omitempty"`
10869
+ Enabled bool `json:"enabled"`
10870
+ ID string `json:"id"`
10871
+ Name string `json:"name"`
10872
+
10873
+ // SecretRefs Deprecated response field retained for 0.1.x SDK compatibility; current servers omit it.
10874
+ // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
10875
+ SecretRefs map[string]any `json:"secretRefs,omitempty"`
10876
+ Status IdentityResourceStatus `json:"status"`
10877
+ Type IdentityProviderType `json:"type"`
10878
+ UpdatedAt time.Time `json:"updatedAt"`
10879
+ UpdatedBy string `json:"updatedBy,omitempty"`
10488
10880
  }
10489
10881
 
10490
10882
  // IdentityProviderEnvelope defines model for IdentityProviderEnvelope.
@@ -10494,13 +10886,15 @@ type IdentityProviderEnvelope struct {
10494
10886
 
10495
10887
  // IdentityProviderInput defines model for IdentityProviderInput.
10496
10888
  type IdentityProviderInput struct {
10497
- ApplicationID string `json:"applicationId"`
10498
- Config map[string]any `json:"config"`
10499
- Enabled bool `json:"enabled"`
10500
- Name string `json:"name"`
10501
- SecretRefs map[string]any `json:"secretRefs"`
10502
- Status IdentityResourceStatus `json:"status"`
10503
- Type IdentityProviderType `json:"type"`
10889
+ ApplicationID string `json:"applicationId"`
10890
+ Config map[string]any `json:"config"`
10891
+ Enabled bool `json:"enabled"`
10892
+ Name string `json:"name"`
10893
+
10894
+ // SecretRefs Omit on update to preserve existing references; send an empty object to clear them.
10895
+ SecretRefs SecretReferenceMap `json:"secretRefs,omitempty"`
10896
+ Status IdentityResourceStatus `json:"status"`
10897
+ Type IdentityProviderType `json:"type"`
10504
10898
  }
10505
10899
 
10506
10900
  // IdentityProviderListEnvelope defines model for IdentityProviderListEnvelope.
@@ -14087,14 +14481,15 @@ type LogEntryStream string
14087
14481
 
14088
14482
  // LogPage defines model for LogPage.
14089
14483
  type LogPage struct {
14090
- Coverage *LogCoverage `json:"coverage,omitempty"`
14091
- Entries []LogEntry `json:"entries"`
14092
- NextCursor string `json:"nextCursor,omitempty"`
14093
- Partial bool `json:"partial"`
14094
- RetentionHint string `json:"retentionHint,omitempty"`
14095
- ScopeRestricted bool `json:"scopeRestricted"`
14096
- Truncated bool `json:"truncated"`
14097
- Warnings []LogWarning `json:"warnings,omitempty"`
14484
+ Coverage *LogCoverage `json:"coverage,omitempty"`
14485
+ Entries []LogEntry `json:"entries"`
14486
+ Meta *ObservabilityQueryResultMeta `json:"meta,omitempty"`
14487
+ NextCursor string `json:"nextCursor,omitempty"`
14488
+ Partial bool `json:"partial"`
14489
+ RetentionHint string `json:"retentionHint,omitempty"`
14490
+ ScopeRestricted bool `json:"scopeRestricted"`
14491
+ Truncated bool `json:"truncated"`
14492
+ Warnings []LogWarning `json:"warnings,omitempty"`
14098
14493
  }
14099
14494
 
14100
14495
  // LogPageEnvelope defines model for LogPageEnvelope.
@@ -14169,7 +14564,8 @@ type LogWarning struct {
14169
14564
 
14170
14565
  // LoginOptions defines model for LoginOptions.
14171
14566
  type LoginOptions struct {
14172
- LocalPasswordLoginEnabled bool `json:"localPasswordLoginEnabled,omitempty"`
14567
+ Branding *BrandingSettings `json:"branding,omitempty"`
14568
+ LocalPasswordLoginEnabled bool `json:"localPasswordLoginEnabled,omitempty"`
14173
14569
  Verification struct {
14174
14570
  SliderEnabled bool `json:"sliderEnabled"`
14175
14571
  } `json:"verification"`
@@ -15074,6 +15470,50 @@ type MarketplacePublisher struct {
15074
15470
  // MarketplacePublisherVerificationLevel defines model for MarketplacePublisher.VerificationLevel.
15075
15471
  type MarketplacePublisherVerificationLevel string
15076
15472
 
15473
+ // Menu defines model for Menu.
15474
+ type Menu struct {
15475
+ Children []Menu `json:"children,omitempty"`
15476
+ Enabled bool `json:"enabled"`
15477
+ IconKey string `json:"iconKey"`
15478
+ ID string `json:"id"`
15479
+ LabelEn string `json:"labelEn"`
15480
+ LabelZh string `json:"labelZh"`
15481
+ ParentID string `json:"parentId,omitempty"`
15482
+ Path string `json:"path"`
15483
+ RoleIDs []string `json:"roleIds,omitempty"`
15484
+ Section string `json:"section"`
15485
+ SortOrder int `json:"sortOrder"`
15486
+ }
15487
+
15488
+ // MenuDeleteResult defines model for MenuDeleteResult.
15489
+ type MenuDeleteResult struct {
15490
+ Status string `json:"status"`
15491
+ }
15492
+
15493
+ // MenuEnvelope defines model for MenuEnvelope.
15494
+ type MenuEnvelope struct {
15495
+ Data Menu `json:"data"`
15496
+ }
15497
+
15498
+ // MenuInput defines model for MenuInput.
15499
+ type MenuInput struct {
15500
+ Enabled bool `json:"enabled,omitempty"`
15501
+ IconKey string `json:"iconKey"`
15502
+ ID string `json:"id,omitempty"`
15503
+ LabelEn string `json:"labelEn"`
15504
+ LabelZh string `json:"labelZh"`
15505
+ ParentID string `json:"parentId,omitempty"`
15506
+ Path string `json:"path"`
15507
+ RoleIDs []string `json:"roleIds,omitempty"`
15508
+ Section string `json:"section,omitempty"`
15509
+ SortOrder int `json:"sortOrder,omitempty"`
15510
+ }
15511
+
15512
+ // MenuListEnvelope defines model for MenuListEnvelope.
15513
+ type MenuListEnvelope struct {
15514
+ Items []Menu `json:"items"`
15515
+ }
15516
+
15077
15517
  // MultiAgentBudget defines model for MultiAgentBudget.
15078
15518
  type MultiAgentBudget struct {
15079
15519
  DeadlineSeconds int `json:"deadlineSeconds"`
@@ -15128,19 +15568,54 @@ type NativeProviderObject map[string]any
15128
15568
 
15129
15569
  // OIDCClient defines model for OIDCClient.
15130
15570
  type OIDCClient struct {
15131
- ClientID string `json:"clientId"`
15132
- CreatedAt time.Time `json:"createdAt"`
15133
- GrantTypes []OIDCClientGrantTypes `json:"grantTypes"`
15134
- ID string `json:"id"`
15135
- ProviderID string `json:"providerId"`
15136
- RedirectUris []string `json:"redirectUris"`
15137
- Status IdentityResourceStatus `json:"status"`
15138
- UpdatedAt time.Time `json:"updatedAt"`
15571
+ AccessTokenTTLSeconds int `json:"accessTokenTtlSeconds,omitempty"`
15572
+ AllowedGrantTypes []OIDCClientAllowedGrantTypes `json:"allowedGrantTypes,omitempty"`
15573
+ AllowedScopes []string `json:"allowedScopes,omitempty"`
15574
+ ClientID string `json:"clientId"`
15575
+ ClientType OIDCClientClientType `json:"clientType,omitempty"`
15576
+ CreatedAt time.Time `json:"createdAt"`
15577
+
15578
+ // GrantTypes Deprecated response alias retained for 0.1.x compatibility; use allowedGrantTypes.
15579
+ // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
15580
+ GrantTypes []OIDCClientGrantTypes `json:"grantTypes"`
15581
+ ID string `json:"id"`
15582
+ IDTokenTTLSeconds int `json:"idTokenTtlSeconds,omitempty"`
15583
+
15584
+ // PostLogoutRedirectUris Absolute HTTP or HTTPS post-logout redirect URIs. HTTPS is recommended for production deployments.
15585
+ PostLogoutRedirectUris []string `json:"postLogoutRedirectUris,omitempty"`
15586
+ ProviderID string `json:"providerId"`
15587
+
15588
+ // RedirectURIRegexes RE2 regular expressions matched against the complete absolute HTTP or HTTPS redirect URI. Evaluated in addition to redirectUris.
15589
+ RedirectURIRegexes []string `json:"redirectUriRegexes,omitempty"`
15590
+
15591
+ // RedirectUris Strict-match absolute HTTP or HTTPS redirect URIs. HTTPS is recommended for production deployments.
15592
+ RedirectUris []string `json:"redirectUris"`
15593
+ RefreshTokenTTLSeconds int `json:"refreshTokenTtlSeconds,omitempty"`
15594
+ RequirePkce bool `json:"requirePkce,omitempty"`
15595
+ Status IdentityResourceStatus `json:"status"`
15596
+ UpdatedAt time.Time `json:"updatedAt"`
15139
15597
  }
15140
15598
 
15599
+ // OIDCClientAllowedGrantTypes defines model for OIDCClient.AllowedGrantTypes.
15600
+ type OIDCClientAllowedGrantTypes string
15601
+
15602
+ // OIDCClientClientType defines model for OIDCClient.ClientType.
15603
+ type OIDCClientClientType string
15604
+
15141
15605
  // OIDCClientGrantTypes defines model for OIDCClient.GrantTypes.
15142
15606
  type OIDCClientGrantTypes string
15143
15607
 
15608
+ // OIDCClientCreated defines model for OIDCClientCreated.
15609
+ type OIDCClientCreated struct {
15610
+ Client OIDCClient `json:"client"`
15611
+ ClientSecret string `json:"clientSecret,omitempty"`
15612
+ }
15613
+
15614
+ // OIDCClientCreatedEnvelope defines model for OIDCClientCreatedEnvelope.
15615
+ type OIDCClientCreatedEnvelope struct {
15616
+ Data OIDCClientCreated `json:"data"`
15617
+ }
15618
+
15144
15619
  // OIDCClientEnvelope defines model for OIDCClientEnvelope.
15145
15620
  type OIDCClientEnvelope struct {
15146
15621
  Data OIDCClient `json:"data"`
@@ -15148,14 +15623,38 @@ type OIDCClientEnvelope struct {
15148
15623
 
15149
15624
  // OIDCClientInput defines model for OIDCClientInput.
15150
15625
  type OIDCClientInput struct {
15151
- ClientID string `json:"clientId"`
15152
- ClientSecret string `json:"clientSecret,omitempty"`
15153
- GrantTypes []OIDCClientInputGrantTypes `json:"grantTypes"`
15154
- ProviderID string `json:"providerId"`
15155
- RedirectUris []string `json:"redirectUris"`
15156
- Status IdentityResourceStatus `json:"status"`
15626
+ AccessTokenTTLSeconds int `json:"accessTokenTtlSeconds,omitempty"`
15627
+ AllowedGrantTypes []OIDCClientInputAllowedGrantTypes `json:"allowedGrantTypes,omitempty"`
15628
+ AllowedScopes []string `json:"allowedScopes,omitempty"`
15629
+ ClientID string `json:"clientId"`
15630
+ ClientSecret string `json:"clientSecret,omitempty"`
15631
+ ClientType OIDCClientInputClientType `json:"clientType,omitempty"`
15632
+
15633
+ // GrantTypes Deprecated request alias retained for 0.1.x compatibility; use allowedGrantTypes.
15634
+ // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
15635
+ GrantTypes []OIDCClientInputGrantTypes `json:"grantTypes,omitempty"`
15636
+ IDTokenTTLSeconds int `json:"idTokenTtlSeconds,omitempty"`
15637
+
15638
+ // PostLogoutRedirectUris Absolute HTTP or HTTPS post-logout redirect URIs. HTTPS is recommended for production deployments.
15639
+ PostLogoutRedirectUris []string `json:"postLogoutRedirectUris,omitempty"`
15640
+ ProviderID string `json:"providerId,omitempty"`
15641
+
15642
+ // RedirectURIRegexes RE2 regular expressions matched against the complete absolute HTTP or HTTPS redirect URI. At least one redirectUris or redirectUriRegexes entry is required.
15643
+ RedirectURIRegexes []string `json:"redirectUriRegexes,omitempty"`
15644
+
15645
+ // RedirectUris Strict-match absolute HTTP or HTTPS redirect URIs. At least one redirectUris or redirectUriRegexes entry is required. HTTPS is recommended for production deployments.
15646
+ RedirectUris []string `json:"redirectUris,omitempty"`
15647
+ RefreshTokenTTLSeconds int `json:"refreshTokenTtlSeconds,omitempty"`
15648
+ RequirePkce bool `json:"requirePkce,omitempty"`
15649
+ Status IdentityResourceStatus `json:"status,omitempty"`
15157
15650
  }
15158
15651
 
15652
+ // OIDCClientInputAllowedGrantTypes defines model for OIDCClientInput.AllowedGrantTypes.
15653
+ type OIDCClientInputAllowedGrantTypes string
15654
+
15655
+ // OIDCClientInputClientType defines model for OIDCClientInput.ClientType.
15656
+ type OIDCClientInputClientType string
15657
+
15159
15658
  // OIDCClientInputGrantTypes defines model for OIDCClientInput.GrantTypes.
15160
15659
  type OIDCClientInputGrantTypes string
15161
15660
 
@@ -15169,17 +15668,46 @@ type OIDCExchangeRequest struct {
15169
15668
  Code string `json:"code"`
15170
15669
  }
15171
15670
 
15671
+ // ObservabilityContext defines model for ObservabilityContext.
15672
+ type ObservabilityContext struct {
15673
+ Filter *ObservabilityFilter `json:"filter,omitempty"`
15674
+ Resource *ObservabilityResourceIdentity `json:"resource,omitempty"`
15675
+ Scope ObservabilityQueryScope `json:"scope"`
15676
+
15677
+ // ScopeRestricted True when authorization narrowed the requested scope.
15678
+ ScopeRestricted bool `json:"scopeRestricted,omitempty"`
15679
+ TimeRange ObservabilityTimeRange `json:"timeRange"`
15680
+ Version ObservabilityContextVersion `json:"version"`
15681
+ }
15682
+
15683
+ // ObservabilityContextVersion defines model for ObservabilityContext.Version.
15684
+ type ObservabilityContextVersion string
15685
+
15172
15686
  // ObservabilityDashboard defines model for ObservabilityDashboard.
15173
15687
  type ObservabilityDashboard struct {
15174
- CreatedAt time.Time `json:"createdAt"`
15175
- DataSourceID string `json:"dataSourceId,omitempty"`
15176
- ID string `json:"id"`
15177
- Name string `json:"name"`
15178
- Panels []ObservabilityDashboardPanel `json:"panels"`
15179
- Source ObservabilityDashboardSource `json:"source"`
15180
- SourceSchemaVersion int `json:"sourceSchemaVersion,omitempty"`
15181
- Tags []string `json:"tags"`
15182
- UpdatedAt time.Time `json:"updatedAt"`
15688
+ CreatedAt time.Time `json:"createdAt"`
15689
+ DataSourceBindings []ObservabilityDashboardDataSourceBinding `json:"dataSourceBindings,omitempty"`
15690
+ DataSourceID string `json:"dataSourceId,omitempty"`
15691
+ ID string `json:"id"`
15692
+ ImportWarnings []ObservabilityDashboardImportWarning `json:"importWarnings,omitempty"`
15693
+ Name string `json:"name"`
15694
+ Panels []ObservabilityDashboardPanel `json:"panels"`
15695
+
15696
+ // RawJSON Original bounded Grafana import document. It is retained for fidelity and never executed directly.
15697
+ RawJSON string `json:"rawJson,omitempty"`
15698
+ Source ObservabilityDashboardSource `json:"source"`
15699
+ SourceFormat ObservabilityDashboardSourceFormat `json:"sourceFormat,omitempty"`
15700
+ SourceSchemaVersion int `json:"sourceSchemaVersion,omitempty"`
15701
+ Tags []string `json:"tags"`
15702
+ UpdatedAt time.Time `json:"updatedAt"`
15703
+ Variables []ObservabilityDashboardVariable `json:"variables,omitempty"`
15704
+ }
15705
+
15706
+ // ObservabilityDashboardDataSourceBinding defines model for ObservabilityDashboardDataSourceBinding.
15707
+ type ObservabilityDashboardDataSourceBinding struct {
15708
+ DataSourceID string `json:"dataSourceId"`
15709
+ Type string `json:"type"`
15710
+ UID string `json:"uid,omitempty"`
15183
15711
  }
15184
15712
 
15185
15713
  // ObservabilityDashboardEnvelope defines model for ObservabilityDashboardEnvelope.
@@ -15221,9 +15749,14 @@ type ObservabilityDashboardPanel struct {
15221
15749
  Layout ObservabilityDashboardPanelLayout `json:"layout"`
15222
15750
  Markdown string `json:"markdown,omitempty"`
15223
15751
  Queryable bool `json:"queryable"`
15224
- Targets []ObservabilityDashboardTarget `json:"targets"`
15225
- Title string `json:"title"`
15226
- Type ObservabilityDashboardPanelType `json:"type"`
15752
+
15753
+ // RawJSON Original Grafana panel JSON retained for unsupported renderers and never executed directly.
15754
+ RawJSON string `json:"rawJson,omitempty"`
15755
+ SourcePanelType string `json:"sourcePanelType,omitempty"`
15756
+ Targets []ObservabilityDashboardTarget `json:"targets"`
15757
+ Title string `json:"title"`
15758
+ Type ObservabilityDashboardPanelType `json:"type"`
15759
+ Unsupported bool `json:"unsupported,omitempty"`
15227
15760
  }
15228
15761
 
15229
15762
  // ObservabilityDashboardPanelLayout defines model for ObservabilityDashboardPanelLayout.
@@ -15236,9 +15769,10 @@ type ObservabilityDashboardPanelLayout struct {
15236
15769
 
15237
15770
  // ObservabilityDashboardPanelQueryInput defines model for ObservabilityDashboardPanelQueryInput.
15238
15771
  type ObservabilityDashboardPanelQueryInput struct {
15239
- StepSeconds int `json:"stepSeconds,omitempty"`
15240
- TimeFrom time.Time `json:"timeFrom"`
15241
- TimeTo time.Time `json:"timeTo"`
15772
+ StepSeconds int `json:"stepSeconds,omitempty"`
15773
+ TimeFrom time.Time `json:"timeFrom"`
15774
+ TimeTo time.Time `json:"timeTo"`
15775
+ Variables map[string]string `json:"variables,omitempty"`
15242
15776
  }
15243
15777
 
15244
15778
  // ObservabilityDashboardPanelType defines model for ObservabilityDashboardPanelType.
@@ -15247,13 +15781,31 @@ type ObservabilityDashboardPanelType string
15247
15781
  // ObservabilityDashboardSource defines model for ObservabilityDashboardSource.
15248
15782
  type ObservabilityDashboardSource string
15249
15783
 
15784
+ // ObservabilityDashboardSourceFormat defines model for ObservabilityDashboardSourceFormat.
15785
+ type ObservabilityDashboardSourceFormat string
15786
+
15250
15787
  // ObservabilityDashboardTarget defines model for ObservabilityDashboardTarget.
15251
15788
  type ObservabilityDashboardTarget struct {
15252
- Expression string `json:"expression"`
15253
- Legend string `json:"legend,omitempty"`
15254
- RefID string `json:"refId"`
15789
+ DataSourceID string `json:"dataSourceId,omitempty"`
15790
+ DataSourceType string `json:"dataSourceType,omitempty"`
15791
+ DataSourceUID string `json:"dataSourceUid,omitempty"`
15792
+ Expression string `json:"expression"`
15793
+ Legend string `json:"legend,omitempty"`
15794
+ RefID string `json:"refId"`
15795
+ }
15796
+
15797
+ // ObservabilityDashboardVariable defines model for ObservabilityDashboardVariable.
15798
+ type ObservabilityDashboardVariable struct {
15799
+ Current string `json:"current,omitempty"`
15800
+ Label string `json:"label,omitempty"`
15801
+ Name string `json:"name"`
15802
+ Options []string `json:"options"`
15803
+ Type ObservabilityDashboardVariableType `json:"type"`
15255
15804
  }
15256
15805
 
15806
+ // ObservabilityDashboardVariableType defines model for ObservabilityDashboardVariableType.
15807
+ type ObservabilityDashboardVariableType string
15808
+
15257
15809
  // ObservabilityDataSource defines model for ObservabilityDataSource.
15258
15810
  type ObservabilityDataSource struct {
15259
15811
  BackendType ObservabilityDataSourceBackendType `json:"backendType"`
@@ -15319,6 +15871,14 @@ type ObservabilityDataSourceScope struct {
15319
15871
  // ObservabilityDataSourceValidationStatus defines model for ObservabilityDataSourceValidationStatus.
15320
15872
  type ObservabilityDataSourceValidationStatus string
15321
15873
 
15874
+ // ObservabilityFilter defines model for ObservabilityFilter.
15875
+ type ObservabilityFilter struct {
15876
+ Labels map[string]string `json:"labels,omitempty"`
15877
+ SpanID string `json:"spanId,omitempty"`
15878
+ Text string `json:"text,omitempty"`
15879
+ TraceID string `json:"traceId,omitempty"`
15880
+ }
15881
+
15322
15882
  // ObservabilityGrafanaDashboardImportInput defines model for ObservabilityGrafanaDashboardImportInput.
15323
15883
  type ObservabilityGrafanaDashboardImportInput struct {
15324
15884
  // DataSourceID Enabled Soha Prometheus data source used by every imported queryable panel.
@@ -15370,6 +15930,11 @@ type ObservabilityLogRedactionPolicy struct {
15370
15930
  DropAttributeKeys []string `json:"dropAttributeKeys,omitempty"`
15371
15931
  }
15372
15932
 
15933
+ // ObservabilityMetricCatalogEnvelope defines model for ObservabilityMetricCatalogEnvelope.
15934
+ type ObservabilityMetricCatalogEnvelope struct {
15935
+ Items []ObservabilityMetricDefinition `json:"items"`
15936
+ }
15937
+
15373
15938
  // ObservabilityMetricDataSource defines model for ObservabilityMetricDataSource.
15374
15939
  type ObservabilityMetricDataSource struct {
15375
15940
  ID string `json:"id"`
@@ -15381,6 +15946,17 @@ type ObservabilityMetricDataSourceListEnvelope struct {
15381
15946
  Items []ObservabilityMetricDataSource `json:"items"`
15382
15947
  }
15383
15948
 
15949
+ // ObservabilityMetricDefinition defines model for ObservabilityMetricDefinition.
15950
+ type ObservabilityMetricDefinition struct {
15951
+ Available bool `json:"available"`
15952
+ Description string `json:"description,omitempty"`
15953
+ Key string `json:"key"`
15954
+ Label string `json:"label"`
15955
+ SemanticConvention string `json:"semanticConvention,omitempty"`
15956
+ Signal ObservabilitySignal `json:"signal"`
15957
+ Unit string `json:"unit"`
15958
+ }
15959
+
15384
15960
  // ObservabilityMetricKey defines model for ObservabilityMetricKey.
15385
15961
  type ObservabilityMetricKey string
15386
15962
 
@@ -15409,6 +15985,7 @@ type ObservabilityMetricQueryInput struct {
15409
15985
  type ObservabilityMetricQueryResult struct {
15410
15986
  BackendType ObservabilityMetricQueryResultBackendType `json:"backendType"`
15411
15987
  DataSourceID string `json:"dataSourceId"`
15988
+ Meta *ObservabilityQueryResultMeta `json:"meta,omitempty"`
15412
15989
  Series []ObservabilityMetricSeries `json:"series"`
15413
15990
  }
15414
15991
 
@@ -15429,17 +16006,23 @@ type ObservabilityProviderDefinition struct {
15429
16006
  BuiltIn bool `json:"builtIn"`
15430
16007
  Capabilities []string `json:"capabilities"`
15431
16008
  ConfigSchemaRef string `json:"configSchemaRef,omitempty"`
15432
- Description string `json:"description,omitempty"`
15433
- DisplayName string `json:"displayName"`
15434
- PluginID string `json:"pluginId,omitempty"`
15435
- ProtocolVersion string `json:"protocolVersion"`
16009
+
16010
+ // Configured True when at least one enabled data source is configured for this provider.
16011
+ Configured bool `json:"configured,omitempty"`
16012
+ Description string `json:"description,omitempty"`
16013
+ DisplayName string `json:"displayName"`
16014
+ LastValidatedAt *time.Time `json:"lastValidatedAt,omitempty"`
16015
+ PluginID string `json:"pluginId,omitempty"`
16016
+ ProtocolVersion string `json:"protocolVersion"`
15436
16017
 
15437
16018
  // ProviderKey Required when backendType is provider.
15438
- ProviderKey string `json:"providerKey"`
15439
- RuntimeMode ObservabilityProviderRuntimeMode `json:"runtimeMode"`
15440
- Signals []ObservabilityProviderSignal `json:"signals"`
15441
- Status ObservabilityProviderStatus `json:"status"`
15442
- StatusReason string `json:"statusReason,omitempty"`
16019
+ ProviderKey string `json:"providerKey"`
16020
+ RuntimeMode ObservabilityProviderRuntimeMode `json:"runtimeMode"`
16021
+ RuntimeStatus ObservabilityProviderRuntimeStatus `json:"runtimeStatus,omitempty"`
16022
+ RuntimeStatusReason string `json:"runtimeStatusReason,omitempty"`
16023
+ Signals []ObservabilityProviderSignal `json:"signals"`
16024
+ Status ObservabilityProviderStatus `json:"status"`
16025
+ StatusReason string `json:"statusReason,omitempty"`
15443
16026
  }
15444
16027
 
15445
16028
  // ObservabilityProviderListEnvelope defines model for ObservabilityProviderListEnvelope.
@@ -15450,18 +16033,166 @@ type ObservabilityProviderListEnvelope struct {
15450
16033
  // ObservabilityProviderRuntimeMode defines model for ObservabilityProviderRuntimeMode.
15451
16034
  type ObservabilityProviderRuntimeMode string
15452
16035
 
16036
+ // ObservabilityProviderRuntimeStatus defines model for ObservabilityProviderRuntimeStatus.
16037
+ type ObservabilityProviderRuntimeStatus string
16038
+
15453
16039
  // ObservabilityProviderSignal defines model for ObservabilityProviderSignal.
15454
16040
  type ObservabilityProviderSignal string
15455
16041
 
15456
16042
  // ObservabilityProviderStatus defines model for ObservabilityProviderStatus.
15457
16043
  type ObservabilityProviderStatus string
15458
16044
 
16045
+ // ObservabilityQueryError defines model for ObservabilityQueryError.
16046
+ type ObservabilityQueryError struct {
16047
+ Code string `json:"code"`
16048
+ Message string `json:"message"`
16049
+ Retryable bool `json:"retryable,omitempty"`
16050
+ SourceID string `json:"sourceId,omitempty"`
16051
+ }
16052
+
16053
+ // ObservabilityQueryLanguage defines model for ObservabilityQueryLanguage.
16054
+ type ObservabilityQueryLanguage string
16055
+
16056
+ // ObservabilityQueryResultMeta defines model for ObservabilityQueryResultMeta.
16057
+ type ObservabilityQueryResultMeta struct {
16058
+ DurationMs int64 `json:"durationMs,omitempty"`
16059
+ Errors []ObservabilityQueryError `json:"errors,omitempty"`
16060
+ ObservedAt *time.Time `json:"observedAt,omitempty"`
16061
+ ScopeRestricted bool `json:"scopeRestricted,omitempty"`
16062
+ Snapshot *ObservabilityQuerySnapshot `json:"snapshot,omitempty"`
16063
+ State ObservabilityQueryState `json:"state"`
16064
+ Warnings []string `json:"warnings,omitempty"`
16065
+ }
16066
+
15459
16067
  // ObservabilityQueryScope defines model for ObservabilityQueryScope.
15460
16068
  type ObservabilityQueryScope struct {
15461
- ClusterID string `json:"clusterId,omitempty"`
15462
- Namespace string `json:"namespace,omitempty"`
15463
- Service string `json:"service,omitempty"`
15464
- Workload string `json:"workload,omitempty"`
16069
+ ClusterID string `json:"clusterId,omitempty"`
16070
+ Environment string `json:"environment,omitempty"`
16071
+ Namespace string `json:"namespace,omitempty"`
16072
+ Service string `json:"service,omitempty"`
16073
+ Workload string `json:"workload,omitempty"`
16074
+ WorkspaceID string `json:"workspaceId,omitempty"`
16075
+ }
16076
+
16077
+ // ObservabilityQuerySnapshot defines model for ObservabilityQuerySnapshot.
16078
+ type ObservabilityQuerySnapshot struct {
16079
+ BackendType string `json:"backendType,omitempty"`
16080
+ Context ObservabilityContext `json:"context"`
16081
+ CreatedAt *time.Time `json:"createdAt,omitempty"`
16082
+ DataSourceID string `json:"dataSourceId,omitempty"`
16083
+ MetricKey string `json:"metricKey,omitempty"`
16084
+
16085
+ // Query Provider-native query text. Soha does not translate arbitrary query languages.
16086
+ Query string `json:"query,omitempty"`
16087
+ QueryLanguage ObservabilityQueryLanguage `json:"queryLanguage,omitempty"`
16088
+ Signal ObservabilitySignal `json:"signal"`
16089
+ SpanID string `json:"spanId,omitempty"`
16090
+ TraceID string `json:"traceId,omitempty"`
16091
+ Version ObservabilityQuerySnapshotVersion `json:"version"`
16092
+ }
16093
+
16094
+ // ObservabilityQuerySnapshotVersion defines model for ObservabilityQuerySnapshot.Version.
16095
+ type ObservabilityQuerySnapshotVersion string
16096
+
16097
+ // ObservabilityQueryState defines model for ObservabilityQueryState.
16098
+ type ObservabilityQueryState string
16099
+
16100
+ // ObservabilityResourceIdentity defines model for ObservabilityResourceIdentity.
16101
+ type ObservabilityResourceIdentity struct {
16102
+ Kind string `json:"kind"`
16103
+ Name string `json:"name"`
16104
+ UID string `json:"uid,omitempty"`
16105
+ }
16106
+
16107
+ // ObservabilityService defines model for ObservabilityService.
16108
+ type ObservabilityService struct {
16109
+ ClusterIDs []string `json:"clusterIds"`
16110
+ DisplayName string `json:"displayName,omitempty"`
16111
+ Endpoints []ObservabilityServiceEndpoint `json:"endpoints"`
16112
+ Environment string `json:"environment,omitempty"`
16113
+ ErrorRate float64 `json:"errorRate,omitempty"`
16114
+ ID string `json:"id"`
16115
+ Instances []ObservabilityServiceInstance `json:"instances"`
16116
+ LastSeenAt *time.Time `json:"lastSeenAt,omitempty"`
16117
+ LatencyP95Ms float64 `json:"latencyP95Ms,omitempty"`
16118
+ Name string `json:"name"`
16119
+ Namespace string `json:"namespace,omitempty"`
16120
+ RequestRate float64 `json:"requestRate,omitempty"`
16121
+ Status ObservabilityServiceStatus `json:"status"`
16122
+ }
16123
+
16124
+ // ObservabilityServiceEndpoint defines model for ObservabilityServiceEndpoint.
16125
+ type ObservabilityServiceEndpoint struct {
16126
+ ErrorRate float64 `json:"errorRate,omitempty"`
16127
+ ID string `json:"id"`
16128
+ LatencyP95Ms float64 `json:"latencyP95Ms,omitempty"`
16129
+ Method string `json:"method,omitempty"`
16130
+ Name string `json:"name"`
16131
+ RequestRate float64 `json:"requestRate,omitempty"`
16132
+ Status ObservabilityServiceStatus `json:"status"`
16133
+ }
16134
+
16135
+ // ObservabilityServiceEnvelope defines model for ObservabilityServiceEnvelope.
16136
+ type ObservabilityServiceEnvelope struct {
16137
+ Data ObservabilityService `json:"data"`
16138
+ Meta ObservabilityQueryResultMeta `json:"meta"`
16139
+ }
16140
+
16141
+ // ObservabilityServiceInstance defines model for ObservabilityServiceInstance.
16142
+ type ObservabilityServiceInstance struct {
16143
+ ID string `json:"id"`
16144
+ LastSeenAt *time.Time `json:"lastSeenAt,omitempty"`
16145
+ Name string `json:"name"`
16146
+ Status ObservabilityServiceStatus `json:"status"`
16147
+ }
16148
+
16149
+ // ObservabilityServiceListEnvelope defines model for ObservabilityServiceListEnvelope.
16150
+ type ObservabilityServiceListEnvelope struct {
16151
+ Items []ObservabilityService `json:"items"`
16152
+ Meta ObservabilityQueryResultMeta `json:"meta"`
16153
+ }
16154
+
16155
+ // ObservabilityServiceStatus defines model for ObservabilityServiceStatus.
16156
+ type ObservabilityServiceStatus string
16157
+
16158
+ // ObservabilitySignal defines model for ObservabilitySignal.
16159
+ type ObservabilitySignal string
16160
+
16161
+ // ObservabilityTimeRange defines model for ObservabilityTimeRange.
16162
+ type ObservabilityTimeRange struct {
16163
+ From time.Time `json:"from"`
16164
+ Timezone string `json:"timezone,omitempty"`
16165
+ To time.Time `json:"to"`
16166
+ }
16167
+
16168
+ // ObservabilityTopology defines model for ObservabilityTopology.
16169
+ type ObservabilityTopology struct {
16170
+ Beta bool `json:"beta"`
16171
+ Edges []ObservabilityTopologyEdge `json:"edges"`
16172
+ Meta ObservabilityQueryResultMeta `json:"meta"`
16173
+ Nodes []ObservabilityTopologyNode `json:"nodes"`
16174
+ }
16175
+
16176
+ // ObservabilityTopologyEdge defines model for ObservabilityTopologyEdge.
16177
+ type ObservabilityTopologyEdge struct {
16178
+ ErrorRate float64 `json:"errorRate,omitempty"`
16179
+ LatencyP95Ms float64 `json:"latencyP95Ms,omitempty"`
16180
+ RequestRate float64 `json:"requestRate,omitempty"`
16181
+ SourceServiceID string `json:"sourceServiceId"`
16182
+ Status ObservabilityServiceStatus `json:"status"`
16183
+ TargetServiceID string `json:"targetServiceId"`
16184
+ }
16185
+
16186
+ // ObservabilityTopologyEnvelope defines model for ObservabilityTopologyEnvelope.
16187
+ type ObservabilityTopologyEnvelope struct {
16188
+ Data ObservabilityTopology `json:"data"`
16189
+ }
16190
+
16191
+ // ObservabilityTopologyNode defines model for ObservabilityTopologyNode.
16192
+ type ObservabilityTopologyNode struct {
16193
+ Name string `json:"name"`
16194
+ ServiceID string `json:"serviceId"`
16195
+ Status ObservabilityServiceStatus `json:"status"`
15465
16196
  }
15466
16197
 
15467
16198
  // ObservabilityTraceQueryEnvelope defines model for ObservabilityTraceQueryEnvelope.
@@ -15484,6 +16215,7 @@ type ObservabilityTraceQueryInput struct {
15484
16215
  type ObservabilityTraceQueryResult struct {
15485
16216
  BackendType ObservabilityTraceQueryResultBackendType `json:"backendType"`
15486
16217
  DataSourceID string `json:"dataSourceId"`
16218
+ Meta *ObservabilityQueryResultMeta `json:"meta,omitempty"`
15487
16219
  Services []string `json:"services"`
15488
16220
  Spans []ObservabilityTraceSpan `json:"spans"`
15489
16221
  Summary string `json:"summary"`
@@ -16859,6 +17591,71 @@ type SAMLResponseForm struct {
16859
17591
  SAMLResponse string `json:"SAMLResponse,omitempty"`
16860
17592
  }
16861
17593
 
17594
+ // ScopeGrant defines model for ScopeGrant.
17595
+ type ScopeGrant struct {
17596
+ ApplicationIDs []string `json:"applicationIds,omitempty"`
17597
+
17598
+ // BusinessLineID Required for legacy and delivery grants; empty for platform grants.
17599
+ BusinessLineID string `json:"businessLineId"`
17600
+ ClusterIDs []string `json:"clusterIds,omitempty"`
17601
+ CreatedAt time.Time `json:"createdAt"`
17602
+ Effect ScopeGrantEffect `json:"effect"`
17603
+ Enabled bool `json:"enabled"`
17604
+ EnvironmentIDs []string `json:"environmentIds,omitempty"`
17605
+ ID string `json:"id"`
17606
+ NamespaceSelector string `json:"namespaceSelector,omitempty"`
17607
+ Namespaces []string `json:"namespaces,omitempty"`
17608
+ ResourceGroups []string `json:"resourceGroups,omitempty"`
17609
+ ResourceKinds []string `json:"resourceKinds,omitempty"`
17610
+ Role string `json:"role"`
17611
+ ScopeType ScopeGrantType `json:"scopeType"`
17612
+ SubjectID string `json:"subjectId"`
17613
+ SubjectType ScopeGrantSubjectType `json:"subjectType"`
17614
+ UpdatedAt time.Time `json:"updatedAt"`
17615
+ }
17616
+
17617
+ // ScopeGrantEffect defines model for ScopeGrantEffect.
17618
+ type ScopeGrantEffect string
17619
+
17620
+ // ScopeGrantEnvelope defines model for ScopeGrantEnvelope.
17621
+ type ScopeGrantEnvelope struct {
17622
+ Data ScopeGrant `json:"data"`
17623
+ }
17624
+
17625
+ // ScopeGrantInput defines model for ScopeGrantInput.
17626
+ type ScopeGrantInput struct {
17627
+ ApplicationIDs []string `json:"applicationIds,omitempty"`
17628
+
17629
+ // BusinessLineID Required when scopeType is legacy or delivery.
17630
+ BusinessLineID string `json:"businessLineId,omitempty"`
17631
+
17632
+ // ClusterIDs Required when scopeType is platform.
17633
+ ClusterIDs []string `json:"clusterIds,omitempty"`
17634
+ Effect ScopeGrantEffect `json:"effect,omitempty"`
17635
+ Enabled bool `json:"enabled"`
17636
+ EnvironmentIDs []string `json:"environmentIds,omitempty"`
17637
+ ID string `json:"id,omitempty"`
17638
+ NamespaceSelector string `json:"namespaceSelector,omitempty"`
17639
+ Namespaces []string `json:"namespaces,omitempty"`
17640
+ ResourceGroups []string `json:"resourceGroups,omitempty"`
17641
+ ResourceKinds []string `json:"resourceKinds,omitempty"`
17642
+ Role string `json:"role"`
17643
+ ScopeType ScopeGrantType `json:"scopeType,omitempty"`
17644
+ SubjectID string `json:"subjectId"`
17645
+ SubjectType ScopeGrantSubjectType `json:"subjectType"`
17646
+ }
17647
+
17648
+ // ScopeGrantListEnvelope defines model for ScopeGrantListEnvelope.
17649
+ type ScopeGrantListEnvelope struct {
17650
+ Items []ScopeGrant `json:"items"`
17651
+ }
17652
+
17653
+ // ScopeGrantSubjectType defines model for ScopeGrantSubjectType.
17654
+ type ScopeGrantSubjectType string
17655
+
17656
+ // ScopeGrantType defines model for ScopeGrantType.
17657
+ type ScopeGrantType string
17658
+
16862
17659
  // SecretBinding defines model for SecretBinding.
16863
17660
  type SecretBinding struct {
16864
17661
  TargetRef string `json:"targetRef"`
@@ -17415,6 +18212,7 @@ type UpdateBrandingSettingsRequest struct {
17415
18212
  FaviconURL string `json:"faviconUrl"`
17416
18213
  LoginLogoURL string `json:"loginLogoUrl"`
17417
18214
  SidebarTitle string `json:"sidebarTitle"`
18215
+ Slogan string `json:"slogan,omitempty"`
17418
18216
  }
17419
18217
 
17420
18218
  // UpdateLoginProvidersSettingsRequest defines model for UpdateLoginProvidersSettingsRequest.
@@ -18593,6 +19391,9 @@ type ManifestPackageID = string
18593
19391
  // ManifestSourceID defines model for ManifestSourceID.
18594
19392
  type ManifestSourceID = string
18595
19393
 
19394
+ // MenuID defines model for MenuID.
19395
+ type MenuID = string
19396
+
18596
19397
  // MultiAgentPlanID defines model for MultiAgentPlanID.
18597
19398
  type MultiAgentPlanID = string
18598
19399
 
@@ -18608,6 +19409,27 @@ type OIDCCode = string
18608
19409
  // OIDCState defines model for OIDCState.
18609
19410
  type OIDCState = string
18610
19411
 
19412
+ // ObservabilityClusterIDQuery defines model for ObservabilityClusterIDQuery.
19413
+ type ObservabilityClusterIDQuery = string
19414
+
19415
+ // ObservabilityDataSourceIDQuery defines model for ObservabilityDataSourceIDQuery.
19416
+ type ObservabilityDataSourceIDQuery = string
19417
+
19418
+ // ObservabilityEnvironmentQuery defines model for ObservabilityEnvironmentQuery.
19419
+ type ObservabilityEnvironmentQuery = string
19420
+
19421
+ // ObservabilityNamespaceQuery defines model for ObservabilityNamespaceQuery.
19422
+ type ObservabilityNamespaceQuery = string
19423
+
19424
+ // ObservabilityServiceQuery defines model for ObservabilityServiceQuery.
19425
+ type ObservabilityServiceQuery = string
19426
+
19427
+ // ObservabilityTimeFromQuery defines model for ObservabilityTimeFromQuery.
19428
+ type ObservabilityTimeFromQuery = time.Time
19429
+
19430
+ // ObservabilityTimeToQuery defines model for ObservabilityTimeToQuery.
19431
+ type ObservabilityTimeToQuery = time.Time
19432
+
18611
19433
  // OpenAICompatibleProvider defines model for OpenAICompatibleProvider.
18612
19434
  type OpenAICompatibleProvider string
18613
19435
 
@@ -18647,6 +19469,9 @@ type SAMLLoginSourceID = string
18647
19469
  // SAMLRequest defines model for SAMLRequest.
18648
19470
  type SAMLRequest = string
18649
19471
 
19472
+ // ScopeGrantID defines model for ScopeGrantID.
19473
+ type ScopeGrantID = string
19474
+
18650
19475
  // SecretID defines model for SecretID.
18651
19476
  type SecretID = string
18652
19477
 
@@ -20049,6 +20874,42 @@ type ListGitLabTagsParams struct {
20049
20874
  Limit int `form:"limit,omitempty" json:"limit,omitempty"`
20050
20875
  }
20051
20876
 
20877
+ // ListObservabilityMetricCatalogParams defines parameters for ListObservabilityMetricCatalog.
20878
+ type ListObservabilityMetricCatalogParams struct {
20879
+ DataSourceID ObservabilityDataSourceIDQuery `form:"dataSourceId,omitempty" json:"dataSourceId,omitempty"`
20880
+ }
20881
+
20882
+ // ListObservabilityServicesParams defines parameters for ListObservabilityServices.
20883
+ type ListObservabilityServicesParams struct {
20884
+ DataSourceID ObservabilityDataSourceIDQuery `form:"dataSourceId,omitempty" json:"dataSourceId,omitempty"`
20885
+ ClusterID ObservabilityClusterIDQuery `form:"clusterId,omitempty" json:"clusterId,omitempty"`
20886
+ Environment ObservabilityEnvironmentQuery `form:"environment,omitempty" json:"environment,omitempty"`
20887
+ Namespace ObservabilityNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
20888
+ Service ObservabilityServiceQuery `form:"service,omitempty" json:"service,omitempty"`
20889
+ TimeFrom ObservabilityTimeFromQuery `form:"timeFrom" json:"timeFrom"`
20890
+ TimeTo ObservabilityTimeToQuery `form:"timeTo" json:"timeTo"`
20891
+ }
20892
+
20893
+ // GetObservabilityServiceParams defines parameters for GetObservabilityService.
20894
+ type GetObservabilityServiceParams struct {
20895
+ DataSourceID ObservabilityDataSourceIDQuery `form:"dataSourceId,omitempty" json:"dataSourceId,omitempty"`
20896
+ ClusterID ObservabilityClusterIDQuery `form:"clusterId,omitempty" json:"clusterId,omitempty"`
20897
+ Environment ObservabilityEnvironmentQuery `form:"environment,omitempty" json:"environment,omitempty"`
20898
+ Namespace ObservabilityNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
20899
+ TimeFrom ObservabilityTimeFromQuery `form:"timeFrom" json:"timeFrom"`
20900
+ TimeTo ObservabilityTimeToQuery `form:"timeTo" json:"timeTo"`
20901
+ }
20902
+
20903
+ // GetObservabilityServiceTopologyParams defines parameters for GetObservabilityServiceTopology.
20904
+ type GetObservabilityServiceTopologyParams struct {
20905
+ DataSourceID ObservabilityDataSourceIDQuery `form:"dataSourceId,omitempty" json:"dataSourceId,omitempty"`
20906
+ ClusterID ObservabilityClusterIDQuery `form:"clusterId,omitempty" json:"clusterId,omitempty"`
20907
+ Environment ObservabilityEnvironmentQuery `form:"environment,omitempty" json:"environment,omitempty"`
20908
+ Namespace ObservabilityNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
20909
+ TimeFrom ObservabilityTimeFromQuery `form:"timeFrom" json:"timeFrom"`
20910
+ TimeTo ObservabilityTimeToQuery `form:"timeTo" json:"timeTo"`
20911
+ }
20912
+
20052
20913
  // ListPlatformOperationLogsParams defines parameters for ListPlatformOperationLogs.
20053
20914
  type ListPlatformOperationLogsParams struct {
20054
20915
  OperationType string `form:"operationType,omitempty" json:"operationType,omitempty"`
@@ -20316,6 +21177,12 @@ type CreateAccessRoleJSONRequestBody = AccessRoleInput
20316
21177
  // UpdateAccessRoleJSONRequestBody defines body for UpdateAccessRole for application/json ContentType.
20317
21178
  type UpdateAccessRoleJSONRequestBody = AccessRoleInput
20318
21179
 
21180
+ // CreateScopeGrantJSONRequestBody defines body for CreateScopeGrant for application/json ContentType.
21181
+ type CreateScopeGrantJSONRequestBody = ScopeGrantInput
21182
+
21183
+ // UpdateScopeGrantJSONRequestBody defines body for UpdateScopeGrant for application/json ContentType.
21184
+ type UpdateScopeGrantJSONRequestBody = ScopeGrantInput
21185
+
20319
21186
  // DecideAIGatewayApprovalRequestJSONRequestBody defines body for DecideAIGatewayApprovalRequest for application/json ContentType.
20320
21187
  type DecideAIGatewayApprovalRequestJSONRequestBody = ApprovalDecisionInput
20321
21188
 
@@ -20685,6 +21552,9 @@ type TriggerManifestSourceWebhookJSONRequestBody = ManifestSyncWebhookInput
20685
21552
  // CreateDeliveryPlanJSONRequestBody defines body for CreateDeliveryPlan for application/json ContentType.
20686
21553
  type CreateDeliveryPlanJSONRequestBody = DeliveryPlanInput
20687
21554
 
21555
+ // ExchangeDockerHostAgentEnrollmentJSONRequestBody defines body for ExchangeDockerHostAgentEnrollment for application/json ContentType.
21556
+ type ExchangeDockerHostAgentEnrollmentJSONRequestBody = DockerHostAgentEnrollmentRequest
21557
+
20688
21558
  // StartDockerContainerJSONRequestBody defines body for StartDockerContainer for application/json ContentType.
20689
21559
  type StartDockerContainerJSONRequestBody = DockerContainerStartInput
20690
21560
 
@@ -20763,6 +21633,12 @@ type CreateIdentityProviderJSONRequestBody = IdentityProviderInput
20763
21633
  // UpdateIdentityProviderJSONRequestBody defines body for UpdateIdentityProvider for application/json ContentType.
20764
21634
  type UpdateIdentityProviderJSONRequestBody = IdentityProviderInput
20765
21635
 
21636
+ // CreateIdentityProviderOIDCClientJSONRequestBody defines body for CreateIdentityProviderOIDCClient for application/json ContentType.
21637
+ type CreateIdentityProviderOIDCClientJSONRequestBody = OIDCClientInput
21638
+
21639
+ // RotateIdentityProviderSAMLCertificateJSONRequestBody defines body for RotateIdentityProviderSAMLCertificate for application/json ContentType.
21640
+ type RotateIdentityProviderSAMLCertificateJSONRequestBody = SAMLCertificateRotateRequest
21641
+
20766
21642
  // RotateSAMLCertificateJSONRequestBody defines body for RotateSAMLCertificate for application/json ContentType.
20767
21643
  type RotateSAMLCertificateJSONRequestBody = SAMLCertificateRotateRequest
20768
21644
 
@@ -20781,6 +21657,12 @@ type ValidateSAMLMetadataJSONRequestBody = SAMLMetadataInput
20781
21657
  // AdminResetUserMFAJSONRequestBody defines body for AdminResetUserMFA for application/json ContentType.
20782
21658
  type AdminResetUserMFAJSONRequestBody = MFAAdminResetRequest
20783
21659
 
21660
+ // CreateMenuJSONRequestBody defines body for CreateMenu for application/json ContentType.
21661
+ type CreateMenuJSONRequestBody = MenuInput
21662
+
21663
+ // UpdateMenuJSONRequestBody defines body for UpdateMenu for application/json ContentType.
21664
+ type UpdateMenuJSONRequestBody = MenuInput
21665
+
20784
21666
  // ImportGrafanaDashboardJSONRequestBody defines body for ImportGrafanaDashboard for application/json ContentType.
20785
21667
  type ImportGrafanaDashboardJSONRequestBody = ObservabilityGrafanaDashboardImportInput
20786
21668
 
@@ -26999,3 +27881,15 @@ func (t *ListVirtualMachines200JSONResponseBody) UnmarshalJSON(b []byte) error {
26999
27881
  err := t.union.UnmarshalJSON(b)
27000
27882
  return err
27001
27883
  }
27884
+
27885
+ // Deprecated: use the SAMLAttributeMappingTarget-prefixed constants in new code.
27886
+ const (
27887
+ Subject SAMLAttributeMappingTarget = SAMLAttributeMappingTargetSubject
27888
+ Username SAMLAttributeMappingTarget = SAMLAttributeMappingTargetUsername
27889
+ Email SAMLAttributeMappingTarget = SAMLAttributeMappingTargetEmail
27890
+ DisplayName SAMLAttributeMappingTarget = SAMLAttributeMappingTargetDisplayName
27891
+ Role SAMLAttributeMappingTarget = SAMLAttributeMappingTargetRole
27892
+ Organization SAMLAttributeMappingTarget = SAMLAttributeMappingTargetOrganization
27893
+ Team SAMLAttributeMappingTarget = SAMLAttributeMappingTargetTeam
27894
+ Project SAMLAttributeMappingTarget = SAMLAttributeMappingTargetProject
27895
+ )