pycarlo 0.10.184__py3-none-any.whl → 0.10.185__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
 
@@ -13961,6 +14003,89 @@ class AzureAgentTasksSummary(sgqlc.types.Type):
13961
14003
  """Number of completed tasks"""
13962
14004
 
13963
14005
 
14006
+ class AzureDevOpsIntegrationOutput(sgqlc.types.Type):
14007
+ """Output type for Azure DevOps integration."""
14008
+
14009
+ __schema__ = schema
14010
+ __field_names__ = ("integration_id", "integration_name", "organization")
14011
+ integration_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="integrationId")
14012
+ """The integration ID"""
14013
+
14014
+ integration_name = sgqlc.types.Field(
14015
+ sgqlc.types.non_null(String), graphql_name="integrationName"
14016
+ )
14017
+ """A short name to identify the integration"""
14018
+
14019
+ organization = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="organization")
14020
+ """Azure DevOps organization name"""
14021
+
14022
+
14023
+ class AzureDevOpsProjectOutput(sgqlc.types.Type):
14024
+ """Output type for Azure DevOps project."""
14025
+
14026
+ __schema__ = schema
14027
+ __field_names__ = ("id", "name", "description")
14028
+ id = sgqlc.types.Field(String, graphql_name="id")
14029
+ """Project ID"""
14030
+
14031
+ name = sgqlc.types.Field(String, graphql_name="name")
14032
+ """Project name"""
14033
+
14034
+ description = sgqlc.types.Field(String, graphql_name="description")
14035
+ """Project description"""
14036
+
14037
+
14038
+ class AzureDevOpsWorkItemOutput(sgqlc.types.Type):
14039
+ """Output type for Azure DevOps work item operations."""
14040
+
14041
+ __schema__ = schema
14042
+ __field_names__ = (
14043
+ "work_item_id",
14044
+ "alert_id",
14045
+ "integration_id",
14046
+ "work_item_url",
14047
+ "work_item_type",
14048
+ "project",
14049
+ "created_by_email",
14050
+ "created_at",
14051
+ )
14052
+ work_item_id = sgqlc.types.Field(String, graphql_name="workItemId")
14053
+ """Work item ID in Azure DevOps"""
14054
+
14055
+ alert_id = sgqlc.types.Field(UUID, graphql_name="alertId")
14056
+ """Alert/incident UUID"""
14057
+
14058
+ integration_id = sgqlc.types.Field(UUID, graphql_name="integrationId")
14059
+ """Integration UUID"""
14060
+
14061
+ work_item_url = sgqlc.types.Field(String, graphql_name="workItemUrl")
14062
+ """URL to the work item in Azure DevOps"""
14063
+
14064
+ work_item_type = sgqlc.types.Field(String, graphql_name="workItemType")
14065
+ """Type of work item (Bug, Task, User Story)"""
14066
+
14067
+ project = sgqlc.types.Field(String, graphql_name="project")
14068
+ """Project name"""
14069
+
14070
+ created_by_email = sgqlc.types.Field(String, graphql_name="createdByEmail")
14071
+ """Email of user who created the work item"""
14072
+
14073
+ created_at = sgqlc.types.Field(DateTime, graphql_name="createdAt")
14074
+ """When the work item was created"""
14075
+
14076
+
14077
+ class AzureDevOpsWorkItemTypeOutput(sgqlc.types.Type):
14078
+ """Output type for Azure DevOps work item type."""
14079
+
14080
+ __schema__ = schema
14081
+ __field_names__ = ("name", "description")
14082
+ name = sgqlc.types.Field(String, graphql_name="name")
14083
+ """Work item type name (e.g., Bug, Task, User Story)"""
14084
+
14085
+ description = sgqlc.types.Field(String, graphql_name="description")
14086
+ """Work item type description"""
14087
+
14088
+
13964
14089
  class AzureDevopsBasicAuthCredentials(sgqlc.types.Type):
13965
14090
  __schema__ = schema
13966
14091
  __field_names__ = ("access_token",)
@@ -16005,6 +16130,33 @@ class CreateAccountSecret(sgqlc.types.Type):
16005
16130
  """The secret that was created"""
16006
16131
 
16007
16132
 
16133
+ class CreateAzureDevOpsIntegration(sgqlc.types.Type):
16134
+ """Create a new Azure DevOps integration."""
16135
+
16136
+ __schema__ = schema
16137
+ __field_names__ = ("azure_devops_integration", "oauth_redirect_url")
16138
+ azure_devops_integration = sgqlc.types.Field(
16139
+ AzureDevOpsIntegrationOutput, graphql_name="azureDevopsIntegration"
16140
+ )
16141
+ """The created integration"""
16142
+
16143
+ oauth_redirect_url = sgqlc.types.Field(String, graphql_name="oauthRedirectUrl")
16144
+ """OAuth redirect URL if OAuth credentials were provided"""
16145
+
16146
+
16147
+ class CreateAzureDevOpsWorkItemForAlert(sgqlc.types.Type):
16148
+ """Create a new Azure DevOps work item from a Monte Carlo alert.
16149
+ This mutation creates a work item in Azure DevOps and links it to
16150
+ the alert.
16151
+ """
16152
+
16153
+ __schema__ = schema
16154
+ __field_names__ = ("azure_devops_work_item",)
16155
+ azure_devops_work_item = sgqlc.types.Field(
16156
+ AzureDevOpsWorkItemOutput, graphql_name="azureDevopsWorkItem"
16157
+ )
16158
+
16159
+
16008
16160
  class CreateAzureDevopsInstallation(sgqlc.types.Type):
16009
16161
  __schema__ = schema
16010
16162
  __field_names__ = ("installation", "oauth_redirect_url")
@@ -18912,6 +19064,15 @@ class DeleteAuthorizationGroup(sgqlc.types.Type):
18912
19064
  """Number of groups deleted."""
18913
19065
 
18914
19066
 
19067
+ class DeleteAzureDevOpsIntegration(sgqlc.types.Type):
19068
+ """Delete an Azure DevOps integration."""
19069
+
19070
+ __schema__ = schema
19071
+ __field_names__ = ("deleted",)
19072
+ deleted = sgqlc.types.Field(Boolean, graphql_name="deleted")
19073
+ """If the integration was deleted"""
19074
+
19075
+
18915
19076
  class DeleteAzureDevopsInstallation(sgqlc.types.Type):
18916
19077
  __schema__ = schema
18917
19078
  __field_names__ = ("success",)
@@ -23734,6 +23895,33 @@ class LineageSources(sgqlc.types.Type):
23734
23895
  """Source columns from this source table"""
23735
23896
 
23736
23897
 
23898
+ class LinkAzureDevOpsIntegration(sgqlc.types.Type):
23899
+ """Complete OAuth flow for Azure DevOps integration."""
23900
+
23901
+ __schema__ = schema
23902
+ __field_names__ = ("success", "azure_devops_integration")
23903
+ success = sgqlc.types.Field(Boolean, graphql_name="success")
23904
+ """True if exchanging code for tokens was successful"""
23905
+
23906
+ azure_devops_integration = sgqlc.types.Field(
23907
+ AzureDevOpsIntegrationOutput, graphql_name="azureDevopsIntegration"
23908
+ )
23909
+ """Created or updated Azure DevOps integration"""
23910
+
23911
+
23912
+ class LinkAzureDevOpsWorkItemForAlert(sgqlc.types.Type):
23913
+ """Link an existing Azure DevOps work item to a Monte Carlo alert.
23914
+ This mutation creates a link between an existing work item and an
23915
+ alert without creating a new work item.
23916
+ """
23917
+
23918
+ __schema__ = schema
23919
+ __field_names__ = ("azure_devops_work_item",)
23920
+ azure_devops_work_item = sgqlc.types.Field(
23921
+ AzureDevOpsWorkItemOutput, graphql_name="azureDevopsWorkItem"
23922
+ )
23923
+
23924
+
23737
23925
  class LinkAzureDevopsInstallation(sgqlc.types.Type):
23738
23926
  """Called from the FE when an OAuth callback is received."""
23739
23927
 
@@ -25406,6 +25594,13 @@ class Mutation(sgqlc.types.Type):
25406
25594
  "create_servicenow_incident_for_alert",
25407
25595
  "link_servicenow_incident_for_alert",
25408
25596
  "unlink_servicenow_incident_for_alert",
25597
+ "create_azure_devops_integration",
25598
+ "update_azure_devops_integration",
25599
+ "link_azure_devops_integration",
25600
+ "delete_azure_devops_integration",
25601
+ "create_azure_devops_work_item_for_alert",
25602
+ "link_azure_devops_work_item_for_alert",
25603
+ "unlink_azure_devops_work_item_for_alert",
25409
25604
  "create_jira_integration",
25410
25605
  "update_jira_integration",
25411
25606
  "update_jira_integration_webhook_secret",
@@ -30754,6 +30949,265 @@ class Mutation(sgqlc.types.Type):
30754
30949
  * `integration_id` (`UUID!`): ID of the integration
30755
30950
  """
30756
30951
 
30952
+ create_azure_devops_integration = sgqlc.types.Field(
30953
+ CreateAzureDevOpsIntegration,
30954
+ graphql_name="createAzureDevopsIntegration",
30955
+ args=sgqlc.types.ArgDict(
30956
+ (
30957
+ (
30958
+ "basic_auth_credentials",
30959
+ sgqlc.types.Arg(
30960
+ AzureDevOpsBasicAuthCredentialsInput,
30961
+ graphql_name="basicAuthCredentials",
30962
+ default=None,
30963
+ ),
30964
+ ),
30965
+ (
30966
+ "integration_name",
30967
+ sgqlc.types.Arg(
30968
+ sgqlc.types.non_null(String), graphql_name="integrationName", default=None
30969
+ ),
30970
+ ),
30971
+ (
30972
+ "oauth_credentials",
30973
+ sgqlc.types.Arg(
30974
+ AzureDevOpsOauthCredentialsInput,
30975
+ graphql_name="oauthCredentials",
30976
+ default=None,
30977
+ ),
30978
+ ),
30979
+ (
30980
+ "organization",
30981
+ sgqlc.types.Arg(
30982
+ sgqlc.types.non_null(String), graphql_name="organization", default=None
30983
+ ),
30984
+ ),
30985
+ )
30986
+ ),
30987
+ )
30988
+ """(experimental) Create an Azure DevOps work item integration
30989
+
30990
+ Arguments:
30991
+
30992
+ * `basic_auth_credentials`
30993
+ (`AzureDevOpsBasicAuthCredentialsInput`): Provide either basic
30994
+ credentials or OAuth credentials
30995
+ * `integration_name` (`String!`): Identifying name
30996
+ * `oauth_credentials` (`AzureDevOpsOauthCredentialsInput`):
30997
+ Provide either basic credentials or OAuth credentials
30998
+ (preferred)
30999
+ * `organization` (`String!`): Azure DevOps organization name
31000
+ """
31001
+
31002
+ update_azure_devops_integration = sgqlc.types.Field(
31003
+ "UpdateAzureDevOpsIntegration",
31004
+ graphql_name="updateAzureDevopsIntegration",
31005
+ args=sgqlc.types.ArgDict(
31006
+ (
31007
+ (
31008
+ "basic_auth_credentials",
31009
+ sgqlc.types.Arg(
31010
+ AzureDevOpsBasicAuthCredentialsInput,
31011
+ graphql_name="basicAuthCredentials",
31012
+ default=None,
31013
+ ),
31014
+ ),
31015
+ (
31016
+ "integration_id",
31017
+ sgqlc.types.Arg(
31018
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
31019
+ ),
31020
+ ),
31021
+ (
31022
+ "integration_name",
31023
+ sgqlc.types.Arg(
31024
+ sgqlc.types.non_null(String), graphql_name="integrationName", default=None
31025
+ ),
31026
+ ),
31027
+ (
31028
+ "oauth_credentials",
31029
+ sgqlc.types.Arg(
31030
+ AzureDevOpsOauthCredentialsInput,
31031
+ graphql_name="oauthCredentials",
31032
+ default=None,
31033
+ ),
31034
+ ),
31035
+ (
31036
+ "organization",
31037
+ sgqlc.types.Arg(
31038
+ sgqlc.types.non_null(String), graphql_name="organization", default=None
31039
+ ),
31040
+ ),
31041
+ )
31042
+ ),
31043
+ )
31044
+ """(experimental) Update an Azure DevOps work item integration
31045
+
31046
+ Arguments:
31047
+
31048
+ * `basic_auth_credentials`
31049
+ (`AzureDevOpsBasicAuthCredentialsInput`): New basic auth
31050
+ credentials (optional, only if rotating)
31051
+ * `integration_id` (`UUID!`): The integration ID
31052
+ * `integration_name` (`String!`): Identifying name
31053
+ * `oauth_credentials` (`AzureDevOpsOauthCredentialsInput`): New
31054
+ OAuth credentials (optional, only if rotating)
31055
+ * `organization` (`String!`): Azure DevOps organization name
31056
+ """
31057
+
31058
+ link_azure_devops_integration = sgqlc.types.Field(
31059
+ LinkAzureDevOpsIntegration,
31060
+ graphql_name="linkAzureDevopsIntegration",
31061
+ args=sgqlc.types.ArgDict(
31062
+ (
31063
+ (
31064
+ "code",
31065
+ sgqlc.types.Arg(
31066
+ sgqlc.types.non_null(String), graphql_name="code", default=None
31067
+ ),
31068
+ ),
31069
+ (
31070
+ "state",
31071
+ sgqlc.types.Arg(
31072
+ sgqlc.types.non_null(String), graphql_name="state", default=None
31073
+ ),
31074
+ ),
31075
+ )
31076
+ ),
31077
+ )
31078
+ """(experimental) Complete OAuth flow for Azure DevOps work item
31079
+ integration
31080
+
31081
+ Arguments:
31082
+
31083
+ * `code` (`String!`): OAuth code from callback URL
31084
+ * `state` (`String!`): OAuth state from callback URL
31085
+ """
31086
+
31087
+ delete_azure_devops_integration = sgqlc.types.Field(
31088
+ DeleteAzureDevOpsIntegration,
31089
+ graphql_name="deleteAzureDevopsIntegration",
31090
+ args=sgqlc.types.ArgDict(
31091
+ (
31092
+ (
31093
+ "integration_id",
31094
+ sgqlc.types.Arg(
31095
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
31096
+ ),
31097
+ ),
31098
+ )
31099
+ ),
31100
+ )
31101
+ """(experimental) Delete an Azure DevOps work item integration
31102
+
31103
+ Arguments:
31104
+
31105
+ * `integration_id` (`UUID!`): The integration ID
31106
+ """
31107
+
31108
+ create_azure_devops_work_item_for_alert = sgqlc.types.Field(
31109
+ CreateAzureDevOpsWorkItemForAlert,
31110
+ graphql_name="createAzureDevopsWorkItemForAlert",
31111
+ args=sgqlc.types.ArgDict(
31112
+ (
31113
+ (
31114
+ "alert_id",
31115
+ sgqlc.types.Arg(
31116
+ sgqlc.types.non_null(UUID), graphql_name="alertId", default=None
31117
+ ),
31118
+ ),
31119
+ ("description", sgqlc.types.Arg(String, graphql_name="description", default=None)),
31120
+ (
31121
+ "integration_id",
31122
+ sgqlc.types.Arg(
31123
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
31124
+ ),
31125
+ ),
31126
+ (
31127
+ "project",
31128
+ sgqlc.types.Arg(
31129
+ sgqlc.types.non_null(String), graphql_name="project", default=None
31130
+ ),
31131
+ ),
31132
+ ("title", sgqlc.types.Arg(String, graphql_name="title", default=None)),
31133
+ (
31134
+ "work_item_type",
31135
+ sgqlc.types.Arg(
31136
+ sgqlc.types.non_null(String), graphql_name="workItemType", default=None
31137
+ ),
31138
+ ),
31139
+ )
31140
+ ),
31141
+ )
31142
+ """(experimental) Create Azure DevOps work item for alert
31143
+
31144
+ Arguments:
31145
+
31146
+ * `alert_id` (`UUID!`): ID of the alert
31147
+ * `description` (`String`): Work item description
31148
+ * `integration_id` (`UUID!`): ID of the Azure DevOps integration
31149
+ * `project` (`String!`): Azure DevOps project name
31150
+ * `title` (`String`): Work item title
31151
+ * `work_item_type` (`String!`): Work item type (Bug, Task, User
31152
+ Story, etc.)
31153
+ """
31154
+
31155
+ link_azure_devops_work_item_for_alert = sgqlc.types.Field(
31156
+ LinkAzureDevOpsWorkItemForAlert,
31157
+ graphql_name="linkAzureDevopsWorkItemForAlert",
31158
+ args=sgqlc.types.ArgDict(
31159
+ (
31160
+ (
31161
+ "alert_id",
31162
+ sgqlc.types.Arg(
31163
+ sgqlc.types.non_null(UUID), graphql_name="alertId", default=None
31164
+ ),
31165
+ ),
31166
+ (
31167
+ "integration_id",
31168
+ sgqlc.types.Arg(
31169
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
31170
+ ),
31171
+ ),
31172
+ (
31173
+ "work_item_url",
31174
+ sgqlc.types.Arg(
31175
+ sgqlc.types.non_null(String), graphql_name="workItemUrl", default=None
31176
+ ),
31177
+ ),
31178
+ )
31179
+ ),
31180
+ )
31181
+ """(experimental) Link existing Azure DevOps work item to alert
31182
+
31183
+ Arguments:
31184
+
31185
+ * `alert_id` (`UUID!`): ID of the alert
31186
+ * `integration_id` (`UUID!`): ID of the Azure DevOps integration
31187
+ * `work_item_url` (`String!`): URL of the Azure DevOps work item
31188
+ """
31189
+
31190
+ unlink_azure_devops_work_item_for_alert = sgqlc.types.Field(
31191
+ "UnlinkAzureDevOpsWorkItemForAlert",
31192
+ graphql_name="unlinkAzureDevopsWorkItemForAlert",
31193
+ args=sgqlc.types.ArgDict(
31194
+ (
31195
+ (
31196
+ "work_item_id",
31197
+ sgqlc.types.Arg(
31198
+ sgqlc.types.non_null(UUID), graphql_name="workItemId", default=None
31199
+ ),
31200
+ ),
31201
+ )
31202
+ ),
31203
+ )
31204
+ """(experimental) Unlink Azure DevOps work item from alert
31205
+
31206
+ Arguments:
31207
+
31208
+ * `work_item_id` (`UUID!`): The work item link ID (UUID)
31209
+ """
31210
+
30757
31211
  create_jira_integration = sgqlc.types.Field(
30758
31212
  CreateJiraIntegration,
30759
31213
  graphql_name="createJiraIntegration",
@@ -31206,8 +31660,9 @@ class Mutation(sgqlc.types.Type):
31206
31660
  backup_or_failure
31207
31661
  * `notification_type` (`String!`): Specify the notification
31208
31662
  integration to use. Supported options include: email, opsgenie,
31209
- pagerduty, slack, slack_v2, webhook, msteams, msteams_v2,
31210
- alation, servicenow, jira, webex, incidentio, datadog
31663
+ pagerduty, slack, slack_v2, google_chat, webhook, msteams,
31664
+ msteams_v2, alation, servicenow, jira, webex, incidentio,
31665
+ datadog, azure_devops
31211
31666
  * `recipient` (`String`): Deprecated
31212
31667
  * `recipients` (`[String]`): Destination to send notifications to
31213
31668
  * `rules` (`NotificationRoutingRules`): Routing rules
@@ -31379,7 +31834,7 @@ class Mutation(sgqlc.types.Type):
31379
31834
  integration to use. Supported options include: email, opsgenie,
31380
31835
  pagerduty, slack, slack_v2, google_chat, webhook, msteams,
31381
31836
  msteams_v2, alation, servicenow, jira, webex, incidentio,
31382
- datadog
31837
+ datadog, azure_devops
31383
31838
  * `recipients` (`[String]!`): Destination to send notifications to
31384
31839
  * `recipients_display_names` (`[String]`): Display names for the
31385
31840
  recipients. If this input parameter is provided, it should
@@ -44133,6 +44588,10 @@ class Query(sgqlc.types.Type):
44133
44588
  "get_servicenow_integrations",
44134
44589
  "get_servicenow_reference_values",
44135
44590
  "test_servicenow_credentials",
44591
+ "test_azure_devops_credentials",
44592
+ "get_azure_devops_integrations",
44593
+ "get_azure_devops_projects",
44594
+ "get_azure_devops_work_item_types",
44136
44595
  "get_jira_integrations",
44137
44596
  "search_jira_users",
44138
44597
  "get_jira_users",
@@ -47339,6 +47798,112 @@ class Query(sgqlc.types.Type):
47339
47798
  ServiceNow integration
47340
47799
  """
47341
47800
 
47801
+ test_azure_devops_credentials = sgqlc.types.Field(
47802
+ "TestAzureDevOpsCredentialsOutput",
47803
+ graphql_name="testAzureDevopsCredentials",
47804
+ args=sgqlc.types.ArgDict(
47805
+ (
47806
+ (
47807
+ "organization",
47808
+ sgqlc.types.Arg(
47809
+ sgqlc.types.non_null(String), graphql_name="organization", default=None
47810
+ ),
47811
+ ),
47812
+ (
47813
+ "basic_auth_credentials",
47814
+ sgqlc.types.Arg(
47815
+ AzureDevOpsBasicAuthCredentialsInput,
47816
+ graphql_name="basicAuthCredentials",
47817
+ default=None,
47818
+ ),
47819
+ ),
47820
+ (
47821
+ "oauth_credentials",
47822
+ sgqlc.types.Arg(
47823
+ AzureDevOpsOauthCredentialsInput,
47824
+ graphql_name="oauthCredentials",
47825
+ default=None,
47826
+ ),
47827
+ ),
47828
+ )
47829
+ ),
47830
+ )
47831
+ """(experimental) Test the Azure DevOps connection credentials
47832
+
47833
+ Arguments:
47834
+
47835
+ * `organization` (`String!`): Azure DevOps organization name
47836
+ * `basic_auth_credentials`
47837
+ (`AzureDevOpsBasicAuthCredentialsInput`): Basic auth credentials
47838
+ to test (PAT)
47839
+ * `oauth_credentials` (`AzureDevOpsOauthCredentialsInput`): OAuth
47840
+ credentials to test (not yet supported for testing)
47841
+ """
47842
+
47843
+ get_azure_devops_integrations = sgqlc.types.Field(
47844
+ sgqlc.types.list_of(AzureDevOpsIntegrationOutput),
47845
+ graphql_name="getAzureDevopsIntegrations",
47846
+ args=sgqlc.types.ArgDict(
47847
+ (("integration_id", sgqlc.types.Arg(UUID, graphql_name="integrationId", default=None)),)
47848
+ ),
47849
+ )
47850
+ """(experimental) Get Azure DevOps work item integrations
47851
+
47852
+ Arguments:
47853
+
47854
+ * `integration_id` (`UUID`): Filter by integration ID
47855
+ """
47856
+
47857
+ get_azure_devops_projects = sgqlc.types.Field(
47858
+ sgqlc.types.list_of(AzureDevOpsProjectOutput),
47859
+ graphql_name="getAzureDevopsProjects",
47860
+ args=sgqlc.types.ArgDict(
47861
+ (
47862
+ (
47863
+ "integration_id",
47864
+ sgqlc.types.Arg(
47865
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
47866
+ ),
47867
+ ),
47868
+ )
47869
+ ),
47870
+ )
47871
+ """(experimental) Get list of projects for an Azure DevOps
47872
+ integration
47873
+
47874
+ Arguments:
47875
+
47876
+ * `integration_id` (`UUID!`): ID of the Azure DevOps integration
47877
+ """
47878
+
47879
+ get_azure_devops_work_item_types = sgqlc.types.Field(
47880
+ sgqlc.types.list_of(AzureDevOpsWorkItemTypeOutput),
47881
+ graphql_name="getAzureDevopsWorkItemTypes",
47882
+ args=sgqlc.types.ArgDict(
47883
+ (
47884
+ (
47885
+ "integration_id",
47886
+ sgqlc.types.Arg(
47887
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
47888
+ ),
47889
+ ),
47890
+ (
47891
+ "project",
47892
+ sgqlc.types.Arg(
47893
+ sgqlc.types.non_null(String), graphql_name="project", default=None
47894
+ ),
47895
+ ),
47896
+ )
47897
+ ),
47898
+ )
47899
+ """(experimental) Get list of work item types for a project
47900
+
47901
+ Arguments:
47902
+
47903
+ * `integration_id` (`UUID!`): ID of the Azure DevOps integration
47904
+ * `project` (`String!`): Project name
47905
+ """
47906
+
47342
47907
  get_jira_integrations = sgqlc.types.Field(
47343
47908
  sgqlc.types.list_of(JiraIntegrationOutput),
47344
47909
  graphql_name="getJiraIntegrations",
@@ -65486,6 +66051,16 @@ class TestAzureDataFactoryCredentials(sgqlc.types.Type):
65486
66051
  """Connection validation results."""
65487
66052
 
65488
66053
 
66054
+ class TestAzureDevOpsCredentialsOutput(sgqlc.types.Type):
66055
+ """Output type for credential testing."""
66056
+
66057
+ __schema__ = schema
66058
+ __field_names__ = ("valid_credentials",)
66059
+ valid_credentials = sgqlc.types.Field(
66060
+ sgqlc.types.non_null(Boolean), graphql_name="validCredentials"
66061
+ )
66062
+
66063
+
65489
66064
  class TestBqCredentials(sgqlc.types.Type):
65490
66065
  """Test a BQ connection"""
65491
66066
 
@@ -67010,6 +67585,18 @@ class UnknownVectorIndexMetadata(sgqlc.types.Type):
67010
67585
  vector_db = sgqlc.types.Field(String, graphql_name="vectorDb")
67011
67586
 
67012
67587
 
67588
+ class UnlinkAzureDevOpsWorkItemForAlert(sgqlc.types.Type):
67589
+ """Unlink an Azure DevOps work item from a Monte Carlo alert. This
67590
+ mutation removes the link between a work item and an alert. The
67591
+ work item itself is not deleted in Azure DevOps.
67592
+ """
67593
+
67594
+ __schema__ = schema
67595
+ __field_names__ = ("unlinked",)
67596
+ unlinked = sgqlc.types.Field(Boolean, graphql_name="unlinked")
67597
+ """True if the work item was unlinked"""
67598
+
67599
+
67013
67600
  class UnlinkDatadogIncidentForAlert(sgqlc.types.Type):
67014
67601
  __schema__ = schema
67015
67602
  __field_names__ = ("unlinked",)
@@ -67117,6 +67704,20 @@ class UpdateAzureDataFactoryCredentialsV2Mutation(sgqlc.types.Type):
67117
67704
  result = sgqlc.types.Field("UpdateCredentialsV2Result", graphql_name="result")
67118
67705
 
67119
67706
 
67707
+ class UpdateAzureDevOpsIntegration(sgqlc.types.Type):
67708
+ """Update an existing Azure DevOps integration."""
67709
+
67710
+ __schema__ = schema
67711
+ __field_names__ = ("azure_devops_integration", "oauth_redirect_url")
67712
+ azure_devops_integration = sgqlc.types.Field(
67713
+ AzureDevOpsIntegrationOutput, graphql_name="azureDevopsIntegration"
67714
+ )
67715
+ """The updated integration"""
67716
+
67717
+ oauth_redirect_url = sgqlc.types.Field(String, graphql_name="oauthRedirectUrl")
67718
+ """OAuth redirect URL if OAuth credentials were provided"""
67719
+
67720
+
67120
67721
  class UpdateAzureDevopsInstallation(sgqlc.types.Type):
67121
67722
  __schema__ = schema
67122
67723
  __field_names__ = ("installation", "oauth_redirect_url")
@@ -69674,6 +70275,7 @@ class Alert(sgqlc.types.Type, NodeWithUUID):
69674
70275
  "service_now_incidents",
69675
70276
  "opsgenie_incidents",
69676
70277
  "datadog_incidents",
70278
+ "azure_devops_work_items",
69677
70279
  "created_time",
69678
70280
  "updated_time",
69679
70281
  "feedback",
@@ -69726,6 +70328,11 @@ class Alert(sgqlc.types.Type, NodeWithUUID):
69726
70328
  )
69727
70329
  """Datadog incidents associated with the alert"""
69728
70330
 
70331
+ azure_devops_work_items = sgqlc.types.Field(
70332
+ sgqlc.types.list_of("AzureDevOpsWorkItem"), graphql_name="azureDevopsWorkItems"
70333
+ )
70334
+ """Azure DevOps work items associated with the alert"""
70335
+
69729
70336
  created_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdTime")
69730
70337
 
69731
70338
  updated_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="updatedTime")
@@ -71131,6 +71738,42 @@ class AuthUser(sgqlc.types.Type, Node):
71131
71738
  """Last updated by"""
71132
71739
 
71133
71740
 
71741
+ class AzureDevOpsWorkItem(sgqlc.types.Type, NodeWithUUID):
71742
+ __schema__ = schema
71743
+ __field_names__ = (
71744
+ "project",
71745
+ "work_item_id",
71746
+ "work_item_type",
71747
+ "work_item_url",
71748
+ "created_at",
71749
+ "created_by",
71750
+ "integration_id",
71751
+ "originates_from_mc_notification",
71752
+ )
71753
+ project = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="project")
71754
+ """Azure DevOps project name where the work item was created"""
71755
+
71756
+ work_item_id = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="workItemId")
71757
+ """Azure DevOps work item ID"""
71758
+
71759
+ work_item_type = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="workItemType")
71760
+ """Work item type (Bug, Issue, Task, etc.)"""
71761
+
71762
+ work_item_url = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="workItemUrl")
71763
+ """URL to the work item in Azure DevOps"""
71764
+
71765
+ created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdAt")
71766
+
71767
+ created_by = sgqlc.types.Field(sgqlc.types.non_null(UserOutput), graphql_name="createdBy")
71768
+
71769
+ integration_id = sgqlc.types.Field(UUID, graphql_name="integrationId")
71770
+ """Azure DevOps integration ID"""
71771
+
71772
+ originates_from_mc_notification = sgqlc.types.Field(
71773
+ sgqlc.types.non_null(Boolean), graphql_name="originatesFromMcNotification"
71774
+ )
71775
+
71776
+
71134
71777
  class CatalogObjectMetadata(sgqlc.types.Type, Node):
71135
71778
  __schema__ = schema
71136
71779
  __field_names__ = (