pycarlo 0.10.184__py3-none-any.whl → 0.10.186__py3-none-any.whl

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.

Potentially problematic release.


This version of pycarlo might be problematic. Click here for more details.

pycarlo/lib/schema.py CHANGED
@@ -593,6 +593,7 @@ class AlertsFilterFieldName(sgqlc.types.Enum):
593
593
  * `AUDIENCE`None
594
594
  * `DATABASE`None
595
595
  * `DOMAIN`None
596
+ * `HAS_AZURE_DEVOPS_WORK_ITEMS`None
596
597
  * `HAS_DATADOG_INCIDENTS`None
597
598
  * `HAS_JIRA_TICKETS`None
598
599
  * `HAS_KEY_ASSETS`None
@@ -615,6 +616,7 @@ class AlertsFilterFieldName(sgqlc.types.Enum):
615
616
  "AUDIENCE",
616
617
  "DATABASE",
617
618
  "DOMAIN",
619
+ "HAS_AZURE_DEVOPS_WORK_ITEMS",
618
620
  "HAS_DATADOG_INCIDENTS",
619
621
  "HAS_JIRA_TICKETS",
620
622
  "HAS_KEY_ASSETS",
@@ -5720,6 +5722,7 @@ class AlertsFilterCriteriaInput(sgqlc.types.Input):
5720
5722
  "has_service_now_incidents",
5721
5723
  "has_opsgenie_incidents",
5722
5724
  "has_datadog_incidents",
5725
+ "has_azure_devops_work_items",
5723
5726
  "has_key_assets",
5724
5727
  "tags",
5725
5728
  "audience_ids",
@@ -5807,6 +5810,11 @@ class AlertsFilterCriteriaInput(sgqlc.types.Input):
5807
5810
  return only alerts without any Datadog incidents.
5808
5811
  """
5809
5812
 
5813
+ has_azure_devops_work_items = sgqlc.types.Field(Boolean, graphql_name="hasAzureDevopsWorkItems")
5814
+ """If true, return only alerts with Azure DevOps work items. If
5815
+ false, return only alerts without any Azure DevOps work items.
5816
+ """
5817
+
5810
5818
  has_key_assets = sgqlc.types.Field(Boolean, graphql_name="hasKeyAssets")
5811
5819
  """If true, return only alerts associated with key assets.If false,
5812
5820
  return only alerts not associated with any key assets.
@@ -6085,7 +6093,7 @@ class AudienceNotificationSettingInput(sgqlc.types.Input):
6085
6093
  """Specify the notification integration to use. Supported options
6086
6094
  include: email, opsgenie, pagerduty, slack, slack_v2, google_chat,
6087
6095
  webhook, msteams, msteams_v2, alation, servicenow, jira, webex,
6088
- incidentio, datadog
6096
+ incidentio, datadog, azure_devops
6089
6097
  """
6090
6098
 
6091
6099
  extra = sgqlc.types.Field("NotificationExtra", graphql_name="extra")
@@ -6161,6 +6169,32 @@ class AzureDataFactoryUpdateConnectionDetails(sgqlc.types.Input):
6161
6169
  """Azure Data Factory name"""
6162
6170
 
6163
6171
 
6172
+ class AzureDevOpsBasicAuthCredentialsInput(sgqlc.types.Input):
6173
+ """Basic authentication credentials using Personal Access Token
6174
+ (PAT).
6175
+ """
6176
+
6177
+ __schema__ = schema
6178
+ __field_names__ = ("access_token",)
6179
+ access_token = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="accessToken")
6180
+ """Personal Access Token (PAT) for basic authentication"""
6181
+
6182
+
6183
+ class AzureDevOpsOauthCredentialsInput(sgqlc.types.Input):
6184
+ """OAuth credentials for Azure DevOps integration (preferred method)."""
6185
+
6186
+ __schema__ = schema
6187
+ __field_names__ = ("tenant_id", "client_id", "client_secret")
6188
+ tenant_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="tenantId")
6189
+ """Azure AD tenant ID"""
6190
+
6191
+ client_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="clientId")
6192
+ """OAuth client ID"""
6193
+
6194
+ client_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="clientSecret")
6195
+ """OAuth client secret"""
6196
+
6197
+
6164
6198
  class AzureDevopsBasicAuthCredentialsInput(sgqlc.types.Input):
6165
6199
  __schema__ = schema
6166
6200
  __field_names__ = ("access_token",)
@@ -8037,6 +8071,8 @@ class NotificationExtra(sgqlc.types.Input):
8037
8071
  "jira_project_id",
8038
8072
  "jira_issue_type_id",
8039
8073
  "pd_severity_error",
8074
+ "ado_project",
8075
+ "ado_work_item_type",
8040
8076
  "schema_version",
8041
8077
  )
8042
8078
  slack_is_private = sgqlc.types.Field(Boolean, graphql_name="slackIsPrivate")
@@ -8107,6 +8143,12 @@ class NotificationExtra(sgqlc.types.Input):
8107
8143
  high urgency incidents
8108
8144
  """
8109
8145
 
8146
+ ado_project = sgqlc.types.Field(String, graphql_name="adoProject")
8147
+ """Project name for Azure DevOps"""
8148
+
8149
+ ado_work_item_type = sgqlc.types.Field(String, graphql_name="adoWorkItemType")
8150
+ """Work item type for Azure DevOps (Bug, Task, Issue, etc.)"""
8151
+
8110
8152
  schema_version = sgqlc.types.Field(String, graphql_name="schemaVersion")
8111
8153
  """Version of the notification settings schema"""
8112
8154
 
@@ -10000,6 +10042,7 @@ class TransformInput(sgqlc.types.Input):
10000
10042
  "output_type",
10001
10043
  "sql_expression",
10002
10044
  "field_config_list",
10045
+ "model_name",
10003
10046
  "function",
10004
10047
  "field",
10005
10048
  "id",
@@ -10023,6 +10066,8 @@ class TransformInput(sgqlc.types.Input):
10023
10066
  sgqlc.types.list_of(sgqlc.types.non_null(FieldConfigInput)), graphql_name="fieldConfigList"
10024
10067
  )
10025
10068
 
10069
+ model_name = sgqlc.types.Field(String, graphql_name="modelName")
10070
+
10026
10071
  function = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="function")
10027
10072
 
10028
10073
  field = sgqlc.types.Field(String, graphql_name="field")
@@ -13961,6 +14006,89 @@ class AzureAgentTasksSummary(sgqlc.types.Type):
13961
14006
  """Number of completed tasks"""
13962
14007
 
13963
14008
 
14009
+ class AzureDevOpsIntegrationOutput(sgqlc.types.Type):
14010
+ """Output type for Azure DevOps integration."""
14011
+
14012
+ __schema__ = schema
14013
+ __field_names__ = ("integration_id", "integration_name", "organization")
14014
+ integration_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="integrationId")
14015
+ """The integration ID"""
14016
+
14017
+ integration_name = sgqlc.types.Field(
14018
+ sgqlc.types.non_null(String), graphql_name="integrationName"
14019
+ )
14020
+ """A short name to identify the integration"""
14021
+
14022
+ organization = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="organization")
14023
+ """Azure DevOps organization name"""
14024
+
14025
+
14026
+ class AzureDevOpsProjectOutput(sgqlc.types.Type):
14027
+ """Output type for Azure DevOps project."""
14028
+
14029
+ __schema__ = schema
14030
+ __field_names__ = ("id", "name", "description")
14031
+ id = sgqlc.types.Field(String, graphql_name="id")
14032
+ """Project ID"""
14033
+
14034
+ name = sgqlc.types.Field(String, graphql_name="name")
14035
+ """Project name"""
14036
+
14037
+ description = sgqlc.types.Field(String, graphql_name="description")
14038
+ """Project description"""
14039
+
14040
+
14041
+ class AzureDevOpsWorkItemOutput(sgqlc.types.Type):
14042
+ """Output type for Azure DevOps work item operations."""
14043
+
14044
+ __schema__ = schema
14045
+ __field_names__ = (
14046
+ "work_item_id",
14047
+ "alert_id",
14048
+ "integration_id",
14049
+ "work_item_url",
14050
+ "work_item_type",
14051
+ "project",
14052
+ "created_by_email",
14053
+ "created_at",
14054
+ )
14055
+ work_item_id = sgqlc.types.Field(String, graphql_name="workItemId")
14056
+ """Work item ID in Azure DevOps"""
14057
+
14058
+ alert_id = sgqlc.types.Field(UUID, graphql_name="alertId")
14059
+ """Alert/incident UUID"""
14060
+
14061
+ integration_id = sgqlc.types.Field(UUID, graphql_name="integrationId")
14062
+ """Integration UUID"""
14063
+
14064
+ work_item_url = sgqlc.types.Field(String, graphql_name="workItemUrl")
14065
+ """URL to the work item in Azure DevOps"""
14066
+
14067
+ work_item_type = sgqlc.types.Field(String, graphql_name="workItemType")
14068
+ """Type of work item (Bug, Task, User Story)"""
14069
+
14070
+ project = sgqlc.types.Field(String, graphql_name="project")
14071
+ """Project name"""
14072
+
14073
+ created_by_email = sgqlc.types.Field(String, graphql_name="createdByEmail")
14074
+ """Email of user who created the work item"""
14075
+
14076
+ created_at = sgqlc.types.Field(DateTime, graphql_name="createdAt")
14077
+ """When the work item was created"""
14078
+
14079
+
14080
+ class AzureDevOpsWorkItemTypeOutput(sgqlc.types.Type):
14081
+ """Output type for Azure DevOps work item type."""
14082
+
14083
+ __schema__ = schema
14084
+ __field_names__ = ("name", "description")
14085
+ name = sgqlc.types.Field(String, graphql_name="name")
14086
+ """Work item type name (e.g., Bug, Task, User Story)"""
14087
+
14088
+ description = sgqlc.types.Field(String, graphql_name="description")
14089
+ """Work item type description"""
14090
+
14091
+
13964
14092
  class AzureDevopsBasicAuthCredentials(sgqlc.types.Type):
13965
14093
  __schema__ = schema
13966
14094
  __field_names__ = ("access_token",)
@@ -16005,6 +16133,33 @@ class CreateAccountSecret(sgqlc.types.Type):
16005
16133
  """The secret that was created"""
16006
16134
 
16007
16135
 
16136
+ class CreateAzureDevOpsIntegration(sgqlc.types.Type):
16137
+ """Create a new Azure DevOps integration."""
16138
+
16139
+ __schema__ = schema
16140
+ __field_names__ = ("azure_devops_integration", "oauth_redirect_url")
16141
+ azure_devops_integration = sgqlc.types.Field(
16142
+ AzureDevOpsIntegrationOutput, graphql_name="azureDevopsIntegration"
16143
+ )
16144
+ """The created integration"""
16145
+
16146
+ oauth_redirect_url = sgqlc.types.Field(String, graphql_name="oauthRedirectUrl")
16147
+ """OAuth redirect URL if OAuth credentials were provided"""
16148
+
16149
+
16150
+ class CreateAzureDevOpsWorkItemForAlert(sgqlc.types.Type):
16151
+ """Create a new Azure DevOps work item from a Monte Carlo alert.
16152
+ This mutation creates a work item in Azure DevOps and links it to
16153
+ the alert.
16154
+ """
16155
+
16156
+ __schema__ = schema
16157
+ __field_names__ = ("azure_devops_work_item",)
16158
+ azure_devops_work_item = sgqlc.types.Field(
16159
+ AzureDevOpsWorkItemOutput, graphql_name="azureDevopsWorkItem"
16160
+ )
16161
+
16162
+
16008
16163
  class CreateAzureDevopsInstallation(sgqlc.types.Type):
16009
16164
  __schema__ = schema
16010
16165
  __field_names__ = ("installation", "oauth_redirect_url")
@@ -18912,6 +19067,15 @@ class DeleteAuthorizationGroup(sgqlc.types.Type):
18912
19067
  """Number of groups deleted."""
18913
19068
 
18914
19069
 
19070
+ class DeleteAzureDevOpsIntegration(sgqlc.types.Type):
19071
+ """Delete an Azure DevOps integration."""
19072
+
19073
+ __schema__ = schema
19074
+ __field_names__ = ("deleted",)
19075
+ deleted = sgqlc.types.Field(Boolean, graphql_name="deleted")
19076
+ """If the integration was deleted"""
19077
+
19078
+
18915
19079
  class DeleteAzureDevopsInstallation(sgqlc.types.Type):
18916
19080
  __schema__ = schema
18917
19081
  __field_names__ = ("success",)
@@ -23068,6 +23232,29 @@ class JobsPerformanceFacetResponse(sgqlc.types.Type):
23068
23232
  """Facet options"""
23069
23233
 
23070
23234
 
23235
+ class LLMModel(sgqlc.types.Type):
23236
+ __schema__ = schema
23237
+ __field_names__ = (
23238
+ "name",
23239
+ "description",
23240
+ "warehouse_type",
23241
+ "category",
23242
+ "context_window",
23243
+ "regions",
23244
+ )
23245
+ name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="name")
23246
+
23247
+ description = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="description")
23248
+
23249
+ warehouse_type = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="warehouseType")
23250
+
23251
+ category = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="category")
23252
+
23253
+ context_window = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="contextWindow")
23254
+
23255
+ regions = sgqlc.types.Field(GenericScalar, graphql_name="regions")
23256
+
23257
+
23071
23258
  class LabelCount(sgqlc.types.Type):
23072
23259
  __schema__ = schema
23073
23260
  __field_names__ = ("label", "count")
@@ -23734,6 +23921,33 @@ class LineageSources(sgqlc.types.Type):
23734
23921
  """Source columns from this source table"""
23735
23922
 
23736
23923
 
23924
+ class LinkAzureDevOpsIntegration(sgqlc.types.Type):
23925
+ """Complete OAuth flow for Azure DevOps integration."""
23926
+
23927
+ __schema__ = schema
23928
+ __field_names__ = ("success", "azure_devops_integration")
23929
+ success = sgqlc.types.Field(Boolean, graphql_name="success")
23930
+ """True if exchanging code for tokens was successful"""
23931
+
23932
+ azure_devops_integration = sgqlc.types.Field(
23933
+ AzureDevOpsIntegrationOutput, graphql_name="azureDevopsIntegration"
23934
+ )
23935
+ """Created or updated Azure DevOps integration"""
23936
+
23937
+
23938
+ class LinkAzureDevOpsWorkItemForAlert(sgqlc.types.Type):
23939
+ """Link an existing Azure DevOps work item to a Monte Carlo alert.
23940
+ This mutation creates a link between an existing work item and an
23941
+ alert without creating a new work item.
23942
+ """
23943
+
23944
+ __schema__ = schema
23945
+ __field_names__ = ("azure_devops_work_item",)
23946
+ azure_devops_work_item = sgqlc.types.Field(
23947
+ AzureDevOpsWorkItemOutput, graphql_name="azureDevopsWorkItem"
23948
+ )
23949
+
23950
+
23737
23951
  class LinkAzureDevopsInstallation(sgqlc.types.Type):
23738
23952
  """Called from the FE when an OAuth callback is received."""
23739
23953
 
@@ -25406,6 +25620,13 @@ class Mutation(sgqlc.types.Type):
25406
25620
  "create_servicenow_incident_for_alert",
25407
25621
  "link_servicenow_incident_for_alert",
25408
25622
  "unlink_servicenow_incident_for_alert",
25623
+ "create_azure_devops_integration",
25624
+ "update_azure_devops_integration",
25625
+ "link_azure_devops_integration",
25626
+ "delete_azure_devops_integration",
25627
+ "create_azure_devops_work_item_for_alert",
25628
+ "link_azure_devops_work_item_for_alert",
25629
+ "unlink_azure_devops_work_item_for_alert",
25409
25630
  "create_jira_integration",
25410
25631
  "update_jira_integration",
25411
25632
  "update_jira_integration_webhook_secret",
@@ -30754,6 +30975,265 @@ class Mutation(sgqlc.types.Type):
30754
30975
  * `integration_id` (`UUID!`): ID of the integration
30755
30976
  """
30756
30977
 
30978
+ create_azure_devops_integration = sgqlc.types.Field(
30979
+ CreateAzureDevOpsIntegration,
30980
+ graphql_name="createAzureDevopsIntegration",
30981
+ args=sgqlc.types.ArgDict(
30982
+ (
30983
+ (
30984
+ "basic_auth_credentials",
30985
+ sgqlc.types.Arg(
30986
+ AzureDevOpsBasicAuthCredentialsInput,
30987
+ graphql_name="basicAuthCredentials",
30988
+ default=None,
30989
+ ),
30990
+ ),
30991
+ (
30992
+ "integration_name",
30993
+ sgqlc.types.Arg(
30994
+ sgqlc.types.non_null(String), graphql_name="integrationName", default=None
30995
+ ),
30996
+ ),
30997
+ (
30998
+ "oauth_credentials",
30999
+ sgqlc.types.Arg(
31000
+ AzureDevOpsOauthCredentialsInput,
31001
+ graphql_name="oauthCredentials",
31002
+ default=None,
31003
+ ),
31004
+ ),
31005
+ (
31006
+ "organization",
31007
+ sgqlc.types.Arg(
31008
+ sgqlc.types.non_null(String), graphql_name="organization", default=None
31009
+ ),
31010
+ ),
31011
+ )
31012
+ ),
31013
+ )
31014
+ """(experimental) Create an Azure DevOps work item integration
31015
+
31016
+ Arguments:
31017
+
31018
+ * `basic_auth_credentials`
31019
+ (`AzureDevOpsBasicAuthCredentialsInput`): Provide either basic
31020
+ credentials or OAuth credentials
31021
+ * `integration_name` (`String!`): Identifying name
31022
+ * `oauth_credentials` (`AzureDevOpsOauthCredentialsInput`):
31023
+ Provide either basic credentials or OAuth credentials
31024
+ (preferred)
31025
+ * `organization` (`String!`): Azure DevOps organization name
31026
+ """
31027
+
31028
+ update_azure_devops_integration = sgqlc.types.Field(
31029
+ "UpdateAzureDevOpsIntegration",
31030
+ graphql_name="updateAzureDevopsIntegration",
31031
+ args=sgqlc.types.ArgDict(
31032
+ (
31033
+ (
31034
+ "basic_auth_credentials",
31035
+ sgqlc.types.Arg(
31036
+ AzureDevOpsBasicAuthCredentialsInput,
31037
+ graphql_name="basicAuthCredentials",
31038
+ default=None,
31039
+ ),
31040
+ ),
31041
+ (
31042
+ "integration_id",
31043
+ sgqlc.types.Arg(
31044
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
31045
+ ),
31046
+ ),
31047
+ (
31048
+ "integration_name",
31049
+ sgqlc.types.Arg(
31050
+ sgqlc.types.non_null(String), graphql_name="integrationName", default=None
31051
+ ),
31052
+ ),
31053
+ (
31054
+ "oauth_credentials",
31055
+ sgqlc.types.Arg(
31056
+ AzureDevOpsOauthCredentialsInput,
31057
+ graphql_name="oauthCredentials",
31058
+ default=None,
31059
+ ),
31060
+ ),
31061
+ (
31062
+ "organization",
31063
+ sgqlc.types.Arg(
31064
+ sgqlc.types.non_null(String), graphql_name="organization", default=None
31065
+ ),
31066
+ ),
31067
+ )
31068
+ ),
31069
+ )
31070
+ """(experimental) Update an Azure DevOps work item integration
31071
+
31072
+ Arguments:
31073
+
31074
+ * `basic_auth_credentials`
31075
+ (`AzureDevOpsBasicAuthCredentialsInput`): New basic auth
31076
+ credentials (optional, only if rotating)
31077
+ * `integration_id` (`UUID!`): The integration ID
31078
+ * `integration_name` (`String!`): Identifying name
31079
+ * `oauth_credentials` (`AzureDevOpsOauthCredentialsInput`): New
31080
+ OAuth credentials (optional, only if rotating)
31081
+ * `organization` (`String!`): Azure DevOps organization name
31082
+ """
31083
+
31084
+ link_azure_devops_integration = sgqlc.types.Field(
31085
+ LinkAzureDevOpsIntegration,
31086
+ graphql_name="linkAzureDevopsIntegration",
31087
+ args=sgqlc.types.ArgDict(
31088
+ (
31089
+ (
31090
+ "code",
31091
+ sgqlc.types.Arg(
31092
+ sgqlc.types.non_null(String), graphql_name="code", default=None
31093
+ ),
31094
+ ),
31095
+ (
31096
+ "state",
31097
+ sgqlc.types.Arg(
31098
+ sgqlc.types.non_null(String), graphql_name="state", default=None
31099
+ ),
31100
+ ),
31101
+ )
31102
+ ),
31103
+ )
31104
+ """(experimental) Complete OAuth flow for Azure DevOps work item
31105
+ integration
31106
+
31107
+ Arguments:
31108
+
31109
+ * `code` (`String!`): OAuth code from callback URL
31110
+ * `state` (`String!`): OAuth state from callback URL
31111
+ """
31112
+
31113
+ delete_azure_devops_integration = sgqlc.types.Field(
31114
+ DeleteAzureDevOpsIntegration,
31115
+ graphql_name="deleteAzureDevopsIntegration",
31116
+ args=sgqlc.types.ArgDict(
31117
+ (
31118
+ (
31119
+ "integration_id",
31120
+ sgqlc.types.Arg(
31121
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
31122
+ ),
31123
+ ),
31124
+ )
31125
+ ),
31126
+ )
31127
+ """(experimental) Delete an Azure DevOps work item integration
31128
+
31129
+ Arguments:
31130
+
31131
+ * `integration_id` (`UUID!`): The integration ID
31132
+ """
31133
+
31134
+ create_azure_devops_work_item_for_alert = sgqlc.types.Field(
31135
+ CreateAzureDevOpsWorkItemForAlert,
31136
+ graphql_name="createAzureDevopsWorkItemForAlert",
31137
+ args=sgqlc.types.ArgDict(
31138
+ (
31139
+ (
31140
+ "alert_id",
31141
+ sgqlc.types.Arg(
31142
+ sgqlc.types.non_null(UUID), graphql_name="alertId", default=None
31143
+ ),
31144
+ ),
31145
+ ("description", sgqlc.types.Arg(String, graphql_name="description", default=None)),
31146
+ (
31147
+ "integration_id",
31148
+ sgqlc.types.Arg(
31149
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
31150
+ ),
31151
+ ),
31152
+ (
31153
+ "project",
31154
+ sgqlc.types.Arg(
31155
+ sgqlc.types.non_null(String), graphql_name="project", default=None
31156
+ ),
31157
+ ),
31158
+ ("title", sgqlc.types.Arg(String, graphql_name="title", default=None)),
31159
+ (
31160
+ "work_item_type",
31161
+ sgqlc.types.Arg(
31162
+ sgqlc.types.non_null(String), graphql_name="workItemType", default=None
31163
+ ),
31164
+ ),
31165
+ )
31166
+ ),
31167
+ )
31168
+ """(experimental) Create Azure DevOps work item for alert
31169
+
31170
+ Arguments:
31171
+
31172
+ * `alert_id` (`UUID!`): ID of the alert
31173
+ * `description` (`String`): Work item description
31174
+ * `integration_id` (`UUID!`): ID of the Azure DevOps integration
31175
+ * `project` (`String!`): Azure DevOps project name
31176
+ * `title` (`String`): Work item title
31177
+ * `work_item_type` (`String!`): Work item type (Bug, Task, User
31178
+ Story, etc.)
31179
+ """
31180
+
31181
+ link_azure_devops_work_item_for_alert = sgqlc.types.Field(
31182
+ LinkAzureDevOpsWorkItemForAlert,
31183
+ graphql_name="linkAzureDevopsWorkItemForAlert",
31184
+ args=sgqlc.types.ArgDict(
31185
+ (
31186
+ (
31187
+ "alert_id",
31188
+ sgqlc.types.Arg(
31189
+ sgqlc.types.non_null(UUID), graphql_name="alertId", default=None
31190
+ ),
31191
+ ),
31192
+ (
31193
+ "integration_id",
31194
+ sgqlc.types.Arg(
31195
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
31196
+ ),
31197
+ ),
31198
+ (
31199
+ "work_item_url",
31200
+ sgqlc.types.Arg(
31201
+ sgqlc.types.non_null(String), graphql_name="workItemUrl", default=None
31202
+ ),
31203
+ ),
31204
+ )
31205
+ ),
31206
+ )
31207
+ """(experimental) Link existing Azure DevOps work item to alert
31208
+
31209
+ Arguments:
31210
+
31211
+ * `alert_id` (`UUID!`): ID of the alert
31212
+ * `integration_id` (`UUID!`): ID of the Azure DevOps integration
31213
+ * `work_item_url` (`String!`): URL of the Azure DevOps work item
31214
+ """
31215
+
31216
+ unlink_azure_devops_work_item_for_alert = sgqlc.types.Field(
31217
+ "UnlinkAzureDevOpsWorkItemForAlert",
31218
+ graphql_name="unlinkAzureDevopsWorkItemForAlert",
31219
+ args=sgqlc.types.ArgDict(
31220
+ (
31221
+ (
31222
+ "work_item_id",
31223
+ sgqlc.types.Arg(
31224
+ sgqlc.types.non_null(UUID), graphql_name="workItemId", default=None
31225
+ ),
31226
+ ),
31227
+ )
31228
+ ),
31229
+ )
31230
+ """(experimental) Unlink Azure DevOps work item from alert
31231
+
31232
+ Arguments:
31233
+
31234
+ * `work_item_id` (`UUID!`): The work item link ID (UUID)
31235
+ """
31236
+
30757
31237
  create_jira_integration = sgqlc.types.Field(
30758
31238
  CreateJiraIntegration,
30759
31239
  graphql_name="createJiraIntegration",
@@ -31206,8 +31686,9 @@ class Mutation(sgqlc.types.Type):
31206
31686
  backup_or_failure
31207
31687
  * `notification_type` (`String!`): Specify the notification
31208
31688
  integration to use. Supported options include: email, opsgenie,
31209
- pagerduty, slack, slack_v2, webhook, msteams, msteams_v2,
31210
- alation, servicenow, jira, webex, incidentio, datadog
31689
+ pagerduty, slack, slack_v2, google_chat, webhook, msteams,
31690
+ msteams_v2, alation, servicenow, jira, webex, incidentio,
31691
+ datadog, azure_devops
31211
31692
  * `recipient` (`String`): Deprecated
31212
31693
  * `recipients` (`[String]`): Destination to send notifications to
31213
31694
  * `rules` (`NotificationRoutingRules`): Routing rules
@@ -31379,7 +31860,7 @@ class Mutation(sgqlc.types.Type):
31379
31860
  integration to use. Supported options include: email, opsgenie,
31380
31861
  pagerduty, slack, slack_v2, google_chat, webhook, msteams,
31381
31862
  msteams_v2, alation, servicenow, jira, webex, incidentio,
31382
- datadog
31863
+ datadog, azure_devops
31383
31864
  * `recipients` (`[String]!`): Destination to send notifications to
31384
31865
  * `recipients_display_names` (`[String]`): Display names for the
31385
31866
  recipients. If this input parameter is provided, it should
@@ -44045,6 +44526,7 @@ class Query(sgqlc.types.Type):
44045
44526
  "generate_mc_sql",
44046
44527
  "get_sql_predicates",
44047
44528
  "get_transform_functions",
44529
+ "get_warehouse_supported_llm_models",
44048
44530
  "run_custom_query",
44049
44531
  "get_table_monitor_validation_statuses",
44050
44532
  "get_table_monitor_configuration",
@@ -44133,6 +44615,10 @@ class Query(sgqlc.types.Type):
44133
44615
  "get_servicenow_integrations",
44134
44616
  "get_servicenow_reference_values",
44135
44617
  "test_servicenow_credentials",
44618
+ "test_azure_devops_credentials",
44619
+ "get_azure_devops_integrations",
44620
+ "get_azure_devops_projects",
44621
+ "get_azure_devops_work_item_types",
44136
44622
  "get_jira_integrations",
44137
44623
  "search_jira_users",
44138
44624
  "get_jira_users",
@@ -45073,6 +45559,29 @@ class Query(sgqlc.types.Type):
45073
45559
  )
45074
45560
  """(experimental) Gets all available transform functions"""
45075
45561
 
45562
+ get_warehouse_supported_llm_models = sgqlc.types.Field(
45563
+ sgqlc.types.list_of(sgqlc.types.non_null(LLMModel)),
45564
+ graphql_name="getWarehouseSupportedLlmModels",
45565
+ args=sgqlc.types.ArgDict(
45566
+ (
45567
+ (
45568
+ "warehouse_type",
45569
+ sgqlc.types.Arg(
45570
+ sgqlc.types.non_null(String), graphql_name="warehouseType", default=None
45571
+ ),
45572
+ ),
45573
+ )
45574
+ ),
45575
+ )
45576
+ """(experimental) Gets all available LLM models across warehouse
45577
+ types
45578
+
45579
+ Arguments:
45580
+
45581
+ * `warehouse_type` (`String!`): Filter by warehouse type
45582
+ (snowflake, bigquery, databricks)
45583
+ """
45584
+
45076
45585
  run_custom_query = sgqlc.types.Field(
45077
45586
  "SQLResponse",
45078
45587
  graphql_name="runCustomQuery",
@@ -47339,6 +47848,112 @@ class Query(sgqlc.types.Type):
47339
47848
  ServiceNow integration
47340
47849
  """
47341
47850
 
47851
+ test_azure_devops_credentials = sgqlc.types.Field(
47852
+ "TestAzureDevOpsCredentialsOutput",
47853
+ graphql_name="testAzureDevopsCredentials",
47854
+ args=sgqlc.types.ArgDict(
47855
+ (
47856
+ (
47857
+ "organization",
47858
+ sgqlc.types.Arg(
47859
+ sgqlc.types.non_null(String), graphql_name="organization", default=None
47860
+ ),
47861
+ ),
47862
+ (
47863
+ "basic_auth_credentials",
47864
+ sgqlc.types.Arg(
47865
+ AzureDevOpsBasicAuthCredentialsInput,
47866
+ graphql_name="basicAuthCredentials",
47867
+ default=None,
47868
+ ),
47869
+ ),
47870
+ (
47871
+ "oauth_credentials",
47872
+ sgqlc.types.Arg(
47873
+ AzureDevOpsOauthCredentialsInput,
47874
+ graphql_name="oauthCredentials",
47875
+ default=None,
47876
+ ),
47877
+ ),
47878
+ )
47879
+ ),
47880
+ )
47881
+ """(experimental) Test the Azure DevOps connection credentials
47882
+
47883
+ Arguments:
47884
+
47885
+ * `organization` (`String!`): Azure DevOps organization name
47886
+ * `basic_auth_credentials`
47887
+ (`AzureDevOpsBasicAuthCredentialsInput`): Basic auth credentials
47888
+ to test (PAT)
47889
+ * `oauth_credentials` (`AzureDevOpsOauthCredentialsInput`): OAuth
47890
+ credentials to test (not yet supported for testing)
47891
+ """
47892
+
47893
+ get_azure_devops_integrations = sgqlc.types.Field(
47894
+ sgqlc.types.list_of(AzureDevOpsIntegrationOutput),
47895
+ graphql_name="getAzureDevopsIntegrations",
47896
+ args=sgqlc.types.ArgDict(
47897
+ (("integration_id", sgqlc.types.Arg(UUID, graphql_name="integrationId", default=None)),)
47898
+ ),
47899
+ )
47900
+ """(experimental) Get Azure DevOps work item integrations
47901
+
47902
+ Arguments:
47903
+
47904
+ * `integration_id` (`UUID`): Filter by integration ID
47905
+ """
47906
+
47907
+ get_azure_devops_projects = sgqlc.types.Field(
47908
+ sgqlc.types.list_of(AzureDevOpsProjectOutput),
47909
+ graphql_name="getAzureDevopsProjects",
47910
+ args=sgqlc.types.ArgDict(
47911
+ (
47912
+ (
47913
+ "integration_id",
47914
+ sgqlc.types.Arg(
47915
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
47916
+ ),
47917
+ ),
47918
+ )
47919
+ ),
47920
+ )
47921
+ """(experimental) Get list of projects for an Azure DevOps
47922
+ integration
47923
+
47924
+ Arguments:
47925
+
47926
+ * `integration_id` (`UUID!`): ID of the Azure DevOps integration
47927
+ """
47928
+
47929
+ get_azure_devops_work_item_types = sgqlc.types.Field(
47930
+ sgqlc.types.list_of(AzureDevOpsWorkItemTypeOutput),
47931
+ graphql_name="getAzureDevopsWorkItemTypes",
47932
+ args=sgqlc.types.ArgDict(
47933
+ (
47934
+ (
47935
+ "integration_id",
47936
+ sgqlc.types.Arg(
47937
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
47938
+ ),
47939
+ ),
47940
+ (
47941
+ "project",
47942
+ sgqlc.types.Arg(
47943
+ sgqlc.types.non_null(String), graphql_name="project", default=None
47944
+ ),
47945
+ ),
47946
+ )
47947
+ ),
47948
+ )
47949
+ """(experimental) Get list of work item types for a project
47950
+
47951
+ Arguments:
47952
+
47953
+ * `integration_id` (`UUID!`): ID of the Azure DevOps integration
47954
+ * `project` (`String!`): Project name
47955
+ """
47956
+
47342
47957
  get_jira_integrations = sgqlc.types.Field(
47343
47958
  sgqlc.types.list_of(JiraIntegrationOutput),
47344
47959
  graphql_name="getJiraIntegrations",
@@ -65486,6 +66101,16 @@ class TestAzureDataFactoryCredentials(sgqlc.types.Type):
65486
66101
  """Connection validation results."""
65487
66102
 
65488
66103
 
66104
+ class TestAzureDevOpsCredentialsOutput(sgqlc.types.Type):
66105
+ """Output type for credential testing."""
66106
+
66107
+ __schema__ = schema
66108
+ __field_names__ = ("valid_credentials",)
66109
+ valid_credentials = sgqlc.types.Field(
66110
+ sgqlc.types.non_null(Boolean), graphql_name="validCredentials"
66111
+ )
66112
+
66113
+
65489
66114
  class TestBqCredentials(sgqlc.types.Type):
65490
66115
  """Test a BQ connection"""
65491
66116
 
@@ -66680,6 +67305,7 @@ class Transform(sgqlc.types.Type):
66680
67305
  "output_type",
66681
67306
  "sql_expression",
66682
67307
  "field_config_list",
67308
+ "model_name",
66683
67309
  "function",
66684
67310
  "field",
66685
67311
  "id",
@@ -66703,6 +67329,8 @@ class Transform(sgqlc.types.Type):
66703
67329
  sgqlc.types.list_of(sgqlc.types.non_null(FieldConfig)), graphql_name="fieldConfigList"
66704
67330
  )
66705
67331
 
67332
+ model_name = sgqlc.types.Field(String, graphql_name="modelName")
67333
+
66706
67334
  function = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="function")
66707
67335
 
66708
67336
  field = sgqlc.types.Field(String, graphql_name="field")
@@ -67010,6 +67638,18 @@ class UnknownVectorIndexMetadata(sgqlc.types.Type):
67010
67638
  vector_db = sgqlc.types.Field(String, graphql_name="vectorDb")
67011
67639
 
67012
67640
 
67641
+ class UnlinkAzureDevOpsWorkItemForAlert(sgqlc.types.Type):
67642
+ """Unlink an Azure DevOps work item from a Monte Carlo alert. This
67643
+ mutation removes the link between a work item and an alert. The
67644
+ work item itself is not deleted in Azure DevOps.
67645
+ """
67646
+
67647
+ __schema__ = schema
67648
+ __field_names__ = ("unlinked",)
67649
+ unlinked = sgqlc.types.Field(Boolean, graphql_name="unlinked")
67650
+ """True if the work item was unlinked"""
67651
+
67652
+
67013
67653
  class UnlinkDatadogIncidentForAlert(sgqlc.types.Type):
67014
67654
  __schema__ = schema
67015
67655
  __field_names__ = ("unlinked",)
@@ -67117,6 +67757,20 @@ class UpdateAzureDataFactoryCredentialsV2Mutation(sgqlc.types.Type):
67117
67757
  result = sgqlc.types.Field("UpdateCredentialsV2Result", graphql_name="result")
67118
67758
 
67119
67759
 
67760
+ class UpdateAzureDevOpsIntegration(sgqlc.types.Type):
67761
+ """Update an existing Azure DevOps integration."""
67762
+
67763
+ __schema__ = schema
67764
+ __field_names__ = ("azure_devops_integration", "oauth_redirect_url")
67765
+ azure_devops_integration = sgqlc.types.Field(
67766
+ AzureDevOpsIntegrationOutput, graphql_name="azureDevopsIntegration"
67767
+ )
67768
+ """The updated integration"""
67769
+
67770
+ oauth_redirect_url = sgqlc.types.Field(String, graphql_name="oauthRedirectUrl")
67771
+ """OAuth redirect URL if OAuth credentials were provided"""
67772
+
67773
+
67120
67774
  class UpdateAzureDevopsInstallation(sgqlc.types.Type):
67121
67775
  __schema__ = schema
67122
67776
  __field_names__ = ("installation", "oauth_redirect_url")
@@ -69674,6 +70328,7 @@ class Alert(sgqlc.types.Type, NodeWithUUID):
69674
70328
  "service_now_incidents",
69675
70329
  "opsgenie_incidents",
69676
70330
  "datadog_incidents",
70331
+ "azure_devops_work_items",
69677
70332
  "created_time",
69678
70333
  "updated_time",
69679
70334
  "feedback",
@@ -69726,6 +70381,11 @@ class Alert(sgqlc.types.Type, NodeWithUUID):
69726
70381
  )
69727
70382
  """Datadog incidents associated with the alert"""
69728
70383
 
70384
+ azure_devops_work_items = sgqlc.types.Field(
70385
+ sgqlc.types.list_of("AzureDevOpsWorkItem"), graphql_name="azureDevopsWorkItems"
70386
+ )
70387
+ """Azure DevOps work items associated with the alert"""
70388
+
69729
70389
  created_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdTime")
69730
70390
 
69731
70391
  updated_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="updatedTime")
@@ -71131,6 +71791,42 @@ class AuthUser(sgqlc.types.Type, Node):
71131
71791
  """Last updated by"""
71132
71792
 
71133
71793
 
71794
+ class AzureDevOpsWorkItem(sgqlc.types.Type, NodeWithUUID):
71795
+ __schema__ = schema
71796
+ __field_names__ = (
71797
+ "project",
71798
+ "work_item_id",
71799
+ "work_item_type",
71800
+ "work_item_url",
71801
+ "created_at",
71802
+ "created_by",
71803
+ "integration_id",
71804
+ "originates_from_mc_notification",
71805
+ )
71806
+ project = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="project")
71807
+ """Azure DevOps project name where the work item was created"""
71808
+
71809
+ work_item_id = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="workItemId")
71810
+ """Azure DevOps work item ID"""
71811
+
71812
+ work_item_type = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="workItemType")
71813
+ """Work item type (Bug, Issue, Task, etc.)"""
71814
+
71815
+ work_item_url = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="workItemUrl")
71816
+ """URL to the work item in Azure DevOps"""
71817
+
71818
+ created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdAt")
71819
+
71820
+ created_by = sgqlc.types.Field(sgqlc.types.non_null(UserOutput), graphql_name="createdBy")
71821
+
71822
+ integration_id = sgqlc.types.Field(UUID, graphql_name="integrationId")
71823
+ """Azure DevOps integration ID"""
71824
+
71825
+ originates_from_mc_notification = sgqlc.types.Field(
71826
+ sgqlc.types.non_null(Boolean), graphql_name="originatesFromMcNotification"
71827
+ )
71828
+
71829
+
71134
71830
  class CatalogObjectMetadata(sgqlc.types.Type, Node):
71135
71831
  __schema__ = schema
71136
71832
  __field_names__ = (