pycarlo 0.10.195__py3-none-any.whl → 0.10.197__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.json CHANGED
@@ -1389,6 +1389,142 @@
1389
1389
  }
1390
1390
  }
1391
1391
  },
1392
+ {
1393
+ "args": [
1394
+ {
1395
+ "defaultValue": null,
1396
+ "description": "The integration ID",
1397
+ "name": "integrationId",
1398
+ "type": {
1399
+ "kind": "NON_NULL",
1400
+ "name": null,
1401
+ "ofType": {
1402
+ "kind": "SCALAR",
1403
+ "name": "UUID",
1404
+ "ofType": null
1405
+ }
1406
+ }
1407
+ },
1408
+ {
1409
+ "defaultValue": null,
1410
+ "description": "A query to filter teams",
1411
+ "name": "query",
1412
+ "type": {
1413
+ "kind": "SCALAR",
1414
+ "name": "String",
1415
+ "ofType": null
1416
+ }
1417
+ },
1418
+ {
1419
+ "defaultValue": null,
1420
+ "description": "List of team ids to filter by",
1421
+ "name": "ids",
1422
+ "type": {
1423
+ "kind": "LIST",
1424
+ "name": null,
1425
+ "ofType": {
1426
+ "kind": "SCALAR",
1427
+ "name": "String",
1428
+ "ofType": null
1429
+ }
1430
+ }
1431
+ },
1432
+ {
1433
+ "defaultValue": null,
1434
+ "description": "Page number (default: 0)",
1435
+ "name": "pageNumber",
1436
+ "type": {
1437
+ "kind": "SCALAR",
1438
+ "name": "Int",
1439
+ "ofType": null
1440
+ }
1441
+ },
1442
+ {
1443
+ "defaultValue": null,
1444
+ "description": "Page size (default: 100)",
1445
+ "name": "pageSize",
1446
+ "type": {
1447
+ "kind": "SCALAR",
1448
+ "name": "Int",
1449
+ "ofType": null
1450
+ }
1451
+ }
1452
+ ],
1453
+ "deprecationReason": null,
1454
+ "description": "(experimental) Get the list of Datadog incident teams",
1455
+ "isDeprecated": false,
1456
+ "name": "getDatadogTeams",
1457
+ "type": {
1458
+ "kind": "LIST",
1459
+ "name": null,
1460
+ "ofType": {
1461
+ "kind": "OBJECT",
1462
+ "name": "DatadogTeamOutput",
1463
+ "ofType": null
1464
+ }
1465
+ }
1466
+ },
1467
+ {
1468
+ "args": [
1469
+ {
1470
+ "defaultValue": null,
1471
+ "description": "The integration ID",
1472
+ "name": "integrationId",
1473
+ "type": {
1474
+ "kind": "NON_NULL",
1475
+ "name": null,
1476
+ "ofType": {
1477
+ "kind": "SCALAR",
1478
+ "name": "UUID",
1479
+ "ofType": null
1480
+ }
1481
+ }
1482
+ },
1483
+ {
1484
+ "defaultValue": null,
1485
+ "description": "A query to filter services",
1486
+ "name": "query",
1487
+ "type": {
1488
+ "kind": "SCALAR",
1489
+ "name": "String",
1490
+ "ofType": null
1491
+ }
1492
+ },
1493
+ {
1494
+ "defaultValue": null,
1495
+ "description": "Page number (default: 0)",
1496
+ "name": "pageNumber",
1497
+ "type": {
1498
+ "kind": "SCALAR",
1499
+ "name": "Int",
1500
+ "ofType": null
1501
+ }
1502
+ },
1503
+ {
1504
+ "defaultValue": null,
1505
+ "description": "Page size (default: 100)",
1506
+ "name": "pageSize",
1507
+ "type": {
1508
+ "kind": "SCALAR",
1509
+ "name": "Int",
1510
+ "ofType": null
1511
+ }
1512
+ }
1513
+ ],
1514
+ "deprecationReason": null,
1515
+ "description": "(experimental) Get the list of Datadog incident services",
1516
+ "isDeprecated": false,
1517
+ "name": "getDatadogServices",
1518
+ "type": {
1519
+ "kind": "LIST",
1520
+ "name": null,
1521
+ "ofType": {
1522
+ "kind": "OBJECT",
1523
+ "name": "DatadogServiceOutput",
1524
+ "ofType": null
1525
+ }
1526
+ }
1527
+ },
1392
1528
  {
1393
1529
  "args": [
1394
1530
  {
@@ -4660,7 +4796,18 @@
4660
4796
  }
4661
4797
  },
4662
4798
  {
4663
- "args": [],
4799
+ "args": [
4800
+ {
4801
+ "defaultValue": "true",
4802
+ "description": "Whether to include the MCP keys created by service accounts",
4803
+ "name": "includeCreatedByServiceAccounts",
4804
+ "type": {
4805
+ "kind": "SCALAR",
4806
+ "name": "Boolean",
4807
+ "ofType": null
4808
+ }
4809
+ }
4810
+ ],
4664
4811
  "deprecationReason": null,
4665
4812
  "description": "(experimental) Retrieve MCP integration keys created by the current user",
4666
4813
  "isDeprecated": false,
@@ -38106,6 +38253,18 @@
38106
38253
  "ofType": null
38107
38254
  }
38108
38255
  }
38256
+ },
38257
+ {
38258
+ "args": [],
38259
+ "deprecationReason": null,
38260
+ "description": "Default values for Datadog incident fields",
38261
+ "isDeprecated": false,
38262
+ "name": "defaultIncidentFields",
38263
+ "type": {
38264
+ "kind": "SCALAR",
38265
+ "name": "JSONString",
38266
+ "ofType": null
38267
+ }
38109
38268
  }
38110
38269
  ],
38111
38270
  "inputFields": null,
@@ -38169,6 +38328,92 @@
38169
38328
  "name": "DatadogUserOutput",
38170
38329
  "possibleTypes": null
38171
38330
  },
38331
+ {
38332
+ "description": "A Datadog incident team",
38333
+ "enumValues": null,
38334
+ "fields": [
38335
+ {
38336
+ "args": [],
38337
+ "deprecationReason": null,
38338
+ "description": "Datadog team id",
38339
+ "isDeprecated": false,
38340
+ "name": "id",
38341
+ "type": {
38342
+ "kind": "NON_NULL",
38343
+ "name": null,
38344
+ "ofType": {
38345
+ "kind": "SCALAR",
38346
+ "name": "String",
38347
+ "ofType": null
38348
+ }
38349
+ }
38350
+ },
38351
+ {
38352
+ "args": [],
38353
+ "deprecationReason": null,
38354
+ "description": "Team name",
38355
+ "isDeprecated": false,
38356
+ "name": "name",
38357
+ "type": {
38358
+ "kind": "NON_NULL",
38359
+ "name": null,
38360
+ "ofType": {
38361
+ "kind": "SCALAR",
38362
+ "name": "String",
38363
+ "ofType": null
38364
+ }
38365
+ }
38366
+ }
38367
+ ],
38368
+ "inputFields": null,
38369
+ "interfaces": [],
38370
+ "kind": "OBJECT",
38371
+ "name": "DatadogTeamOutput",
38372
+ "possibleTypes": null
38373
+ },
38374
+ {
38375
+ "description": "A Datadog incident service",
38376
+ "enumValues": null,
38377
+ "fields": [
38378
+ {
38379
+ "args": [],
38380
+ "deprecationReason": null,
38381
+ "description": "Datadog service id",
38382
+ "isDeprecated": false,
38383
+ "name": "id",
38384
+ "type": {
38385
+ "kind": "NON_NULL",
38386
+ "name": null,
38387
+ "ofType": {
38388
+ "kind": "SCALAR",
38389
+ "name": "String",
38390
+ "ofType": null
38391
+ }
38392
+ }
38393
+ },
38394
+ {
38395
+ "args": [],
38396
+ "deprecationReason": null,
38397
+ "description": "Service name",
38398
+ "isDeprecated": false,
38399
+ "name": "name",
38400
+ "type": {
38401
+ "kind": "NON_NULL",
38402
+ "name": null,
38403
+ "ofType": {
38404
+ "kind": "SCALAR",
38405
+ "name": "String",
38406
+ "ofType": null
38407
+ }
38408
+ }
38409
+ }
38410
+ ],
38411
+ "inputFields": null,
38412
+ "interfaces": [],
38413
+ "kind": "OBJECT",
38414
+ "name": "DatadogServiceOutput",
38415
+ "possibleTypes": null
38416
+ },
38172
38417
  {
38173
38418
  "description": null,
38174
38419
  "enumValues": null,
@@ -150034,6 +150279,16 @@
150034
150279
  }
150035
150280
  }
150036
150281
  },
150282
+ {
150283
+ "defaultValue": null,
150284
+ "description": "Default values for Datadog incident fields",
150285
+ "name": "defaultIncidentFields",
150286
+ "type": {
150287
+ "kind": "SCALAR",
150288
+ "name": "JSONString",
150289
+ "ofType": null
150290
+ }
150291
+ },
150037
150292
  {
150038
150293
  "defaultValue": null,
150039
150294
  "description": "Identifying name",
@@ -150095,6 +150350,16 @@
150095
150350
  "ofType": null
150096
150351
  }
150097
150352
  },
150353
+ {
150354
+ "defaultValue": null,
150355
+ "description": "Default values for Datadog incident fields",
150356
+ "name": "defaultIncidentFields",
150357
+ "type": {
150358
+ "kind": "SCALAR",
150359
+ "name": "JSONString",
150360
+ "ofType": null
150361
+ }
150362
+ },
150098
150363
  {
150099
150364
  "defaultValue": null,
150100
150365
  "description": "The integration ID",
@@ -150211,6 +150476,16 @@
150211
150476
  "ofType": null
150212
150477
  }
150213
150478
  },
150479
+ {
150480
+ "defaultValue": null,
150481
+ "description": "Additional incident fields (key->value).",
150482
+ "name": "fields",
150483
+ "type": {
150484
+ "kind": "SCALAR",
150485
+ "name": "JSONString",
150486
+ "ofType": null
150487
+ }
150488
+ },
150214
150489
  {
150215
150490
  "defaultValue": null,
150216
150491
  "description": "ID of the Datadog integration",
@@ -184392,7 +184667,7 @@
184392
184667
  },
184393
184668
  {
184394
184669
  "defaultValue": null,
184395
- "description": "Field-value pairs to include as additional fields (when creating incidents in ServiceNow or JIRA)",
184670
+ "description": "Field-value pairs to include as additional fields (when creating incidents in ServiceNow, Datadog or JIRA)",
184396
184671
  "name": "includeIncidentFields",
184397
184672
  "type": {
184398
184673
  "kind": "SCALAR",
pycarlo/lib/schema.py CHANGED
@@ -8131,7 +8131,7 @@ class NotificationExtra(sgqlc.types.Input):
8131
8131
 
8132
8132
  include_incident_fields = sgqlc.types.Field(JSONString, graphql_name="includeIncidentFields")
8133
8133
  """Field-value pairs to include as additional fields (when creating
8134
- incidents in ServiceNow or JIRA)
8134
+ incidents in ServiceNow, Datadog or JIRA)
8135
8135
  """
8136
8136
 
8137
8137
  jira_project_id = sgqlc.types.Field(Int, graphql_name="jiraProjectId")
@@ -18456,7 +18456,7 @@ class DatadogIntegrationOutput(sgqlc.types.Type):
18456
18456
  """A Datadog integration"""
18457
18457
 
18458
18458
  __schema__ = schema
18459
- __field_names__ = ("integration_id", "integration_name", "site")
18459
+ __field_names__ = ("integration_id", "integration_name", "site", "default_incident_fields")
18460
18460
  integration_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="integrationId")
18461
18461
  """The integration ID"""
18462
18462
 
@@ -18468,6 +18468,33 @@ class DatadogIntegrationOutput(sgqlc.types.Type):
18468
18468
  site = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="site")
18469
18469
  """Datadog site (e.g. datadoghq.com)"""
18470
18470
 
18471
+ default_incident_fields = sgqlc.types.Field(JSONString, graphql_name="defaultIncidentFields")
18472
+ """Default values for Datadog incident fields"""
18473
+
18474
+
18475
+ class DatadogServiceOutput(sgqlc.types.Type):
18476
+ """A Datadog incident service"""
18477
+
18478
+ __schema__ = schema
18479
+ __field_names__ = ("id", "name")
18480
+ id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="id")
18481
+ """Datadog service id"""
18482
+
18483
+ name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="name")
18484
+ """Service name"""
18485
+
18486
+
18487
+ class DatadogTeamOutput(sgqlc.types.Type):
18488
+ """A Datadog incident team"""
18489
+
18490
+ __schema__ = schema
18491
+ __field_names__ = ("id", "name")
18492
+ id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="id")
18493
+ """Datadog team id"""
18494
+
18495
+ name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="name")
18496
+ """Team name"""
18497
+
18471
18498
 
18472
18499
  class DatadogUserOutput(sgqlc.types.Type):
18473
18500
  """A Datadog user"""
@@ -26164,6 +26191,10 @@ class Mutation(sgqlc.types.Type):
26164
26191
  sgqlc.types.non_null(String), graphql_name="applicationKey", default=None
26165
26192
  ),
26166
26193
  ),
26194
+ (
26195
+ "default_incident_fields",
26196
+ sgqlc.types.Arg(JSONString, graphql_name="defaultIncidentFields", default=None),
26197
+ ),
26167
26198
  (
26168
26199
  "integration_name",
26169
26200
  sgqlc.types.Arg(
@@ -26185,6 +26216,8 @@ class Mutation(sgqlc.types.Type):
26185
26216
 
26186
26217
  * `api_key` (`String!`): Datadog API key
26187
26218
  * `application_key` (`String!`): Datadog Application key
26219
+ * `default_incident_fields` (`JSONString`): Default values for
26220
+ Datadog incident fields
26188
26221
  * `integration_name` (`String!`): Identifying name
26189
26222
  * `site` (`String!`): Datadog site (e.g. datadoghq.com)
26190
26223
  """
@@ -26199,6 +26232,10 @@ class Mutation(sgqlc.types.Type):
26199
26232
  "application_key",
26200
26233
  sgqlc.types.Arg(String, graphql_name="applicationKey", default=None),
26201
26234
  ),
26235
+ (
26236
+ "default_incident_fields",
26237
+ sgqlc.types.Arg(JSONString, graphql_name="defaultIncidentFields", default=None),
26238
+ ),
26202
26239
  (
26203
26240
  "integration_id",
26204
26241
  sgqlc.types.Arg(
@@ -26226,6 +26263,8 @@ class Mutation(sgqlc.types.Type):
26226
26263
 
26227
26264
  * `api_key` (`String`): Datadog API key
26228
26265
  * `application_key` (`String`): Datadog Application key
26266
+ * `default_incident_fields` (`JSONString`): Default values for
26267
+ Datadog incident fields
26229
26268
  * `integration_id` (`UUID!`): The integration ID
26230
26269
  * `integration_name` (`String!`): Identifying name
26231
26270
  * `site` (`String!`): Datadog site (e.g. datadoghq.com)
@@ -26268,6 +26307,7 @@ class Mutation(sgqlc.types.Type):
26268
26307
  sgqlc.types.Arg(String, graphql_name="commanderEmail", default=None),
26269
26308
  ),
26270
26309
  ("description", sgqlc.types.Arg(String, graphql_name="description", default=None)),
26310
+ ("fields", sgqlc.types.Arg(JSONString, graphql_name="fields", default=None)),
26271
26311
  (
26272
26312
  "integration_id",
26273
26313
  sgqlc.types.Arg(
@@ -26291,6 +26331,8 @@ class Mutation(sgqlc.types.Type):
26291
26331
  * `commander_email` (`String`): Email of the incident commander to
26292
26332
  assign
26293
26333
  * `description` (`String`): Description of the incident
26334
+ * `fields` (`JSONString`): Additional incident fields
26335
+ (key->value).
26294
26336
  * `integration_id` (`UUID!`): ID of the Datadog integration
26295
26337
  * `title` (`String!`): Title of the incident
26296
26338
  """
@@ -44591,6 +44633,8 @@ class Query(sgqlc.types.Type):
44591
44633
  "test_datadog_credentials",
44592
44634
  "get_datadog_integrations",
44593
44635
  "get_datadog_users",
44636
+ "get_datadog_teams",
44637
+ "get_datadog_services",
44594
44638
  "get_billing_credit_grants",
44595
44639
  "get_contract_commits",
44596
44640
  "get_billing_invoices",
@@ -45804,6 +45848,65 @@ class Query(sgqlc.types.Type):
45804
45848
  * `query` (`String`): A query to filter users
45805
45849
  """
45806
45850
 
45851
+ get_datadog_teams = sgqlc.types.Field(
45852
+ sgqlc.types.list_of(DatadogTeamOutput),
45853
+ graphql_name="getDatadogTeams",
45854
+ args=sgqlc.types.ArgDict(
45855
+ (
45856
+ (
45857
+ "integration_id",
45858
+ sgqlc.types.Arg(
45859
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
45860
+ ),
45861
+ ),
45862
+ ("query", sgqlc.types.Arg(String, graphql_name="query", default=None)),
45863
+ (
45864
+ "ids",
45865
+ sgqlc.types.Arg(sgqlc.types.list_of(String), graphql_name="ids", default=None),
45866
+ ),
45867
+ ("page_number", sgqlc.types.Arg(Int, graphql_name="pageNumber", default=None)),
45868
+ ("page_size", sgqlc.types.Arg(Int, graphql_name="pageSize", default=None)),
45869
+ )
45870
+ ),
45871
+ )
45872
+ """(experimental) Get the list of Datadog incident teams
45873
+
45874
+ Arguments:
45875
+
45876
+ * `integration_id` (`UUID!`): The integration ID
45877
+ * `query` (`String`): A query to filter teams
45878
+ * `ids` (`[String]`): List of team ids to filter by
45879
+ * `page_number` (`Int`): Page number (default: 0)
45880
+ * `page_size` (`Int`): Page size (default: 100)
45881
+ """
45882
+
45883
+ get_datadog_services = sgqlc.types.Field(
45884
+ sgqlc.types.list_of(DatadogServiceOutput),
45885
+ graphql_name="getDatadogServices",
45886
+ args=sgqlc.types.ArgDict(
45887
+ (
45888
+ (
45889
+ "integration_id",
45890
+ sgqlc.types.Arg(
45891
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
45892
+ ),
45893
+ ),
45894
+ ("query", sgqlc.types.Arg(String, graphql_name="query", default=None)),
45895
+ ("page_number", sgqlc.types.Arg(Int, graphql_name="pageNumber", default=None)),
45896
+ ("page_size", sgqlc.types.Arg(Int, graphql_name="pageSize", default=None)),
45897
+ )
45898
+ ),
45899
+ )
45900
+ """(experimental) Get the list of Datadog incident services
45901
+
45902
+ Arguments:
45903
+
45904
+ * `integration_id` (`UUID!`): The integration ID
45905
+ * `query` (`String`): A query to filter services
45906
+ * `page_number` (`Int`): Page number (default: 0)
45907
+ * `page_size` (`Int`): Page size (default: 100)
45908
+ """
45909
+
45807
45910
  get_billing_credit_grants = sgqlc.types.Field(
45808
45911
  BillingCreditGrantResults,
45809
45912
  graphql_name="getBillingCreditGrants",
@@ -47649,10 +47752,27 @@ class Query(sgqlc.types.Type):
47649
47752
  """
47650
47753
 
47651
47754
  get_my_mcp_integration_keys = sgqlc.types.Field(
47652
- sgqlc.types.list_of(IntegrationKeyMetadata), graphql_name="getMyMcpIntegrationKeys"
47755
+ sgqlc.types.list_of(IntegrationKeyMetadata),
47756
+ graphql_name="getMyMcpIntegrationKeys",
47757
+ args=sgqlc.types.ArgDict(
47758
+ (
47759
+ (
47760
+ "include_created_by_service_accounts",
47761
+ sgqlc.types.Arg(
47762
+ Boolean, graphql_name="includeCreatedByServiceAccounts", default=True
47763
+ ),
47764
+ ),
47765
+ )
47766
+ ),
47653
47767
  )
47654
47768
  """(experimental) Retrieve MCP integration keys created by the
47655
47769
  current user
47770
+
47771
+ Arguments:
47772
+
47773
+ * `include_created_by_service_accounts` (`Boolean`): Whether to
47774
+ include the MCP keys created by service accounts (default:
47775
+ `true`)
47656
47776
  """
47657
47777
 
47658
47778
  get_opsgenie_integrations = sgqlc.types.Field(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.195
3
+ Version: 0.10.197
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -35,10 +35,10 @@ pycarlo/features/user/queries.py,sha256=m97RvM0oiBlrU5xmOwe_JJ5N0G0NG5hIOeyQqN2O
35
35
  pycarlo/features/user/service.py,sha256=DHkhuonySaHro07NTd0YNe3cNkDk62CiRTY77dhVaMs,2890
36
36
  pycarlo/lib/README.md,sha256=QGNeUefPzLKGyZqn5aITpcFgkC9WQTNS292BGisRFHk,139
37
37
  pycarlo/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- pycarlo/lib/schema.json,sha256=Vz_BFcP_LpH3l4n39MtNBZGixtMbPwpJNRRwTry918c,6340122
39
- pycarlo/lib/schema.py,sha256=F9d7kze0WCycD6E3WLhQdcQyKuNr6tc0BeSCEXBb7Bw,2760489
40
- pycarlo-0.10.195.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.195.dist-info/METADATA,sha256=xscEV3X4VBbafrUAHZbCQt3zErYNY04eTBdUbNiDr-o,8742
42
- pycarlo-0.10.195.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.195.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.195.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=NzurEixwh7W2j5MpRPscZbt6-37EOz3oYmzAOKAOw48,6348969
39
+ pycarlo/lib/schema.py,sha256=Ao_EmuzczpmqE8mTDi5PyvOW__Nl-zjtKzOoELCmFSA,2764929
40
+ pycarlo-0.10.197.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.197.dist-info/METADATA,sha256=uO1r1k8SKhSBOxfD1LWx0MsZeKFu7JgCm6y_1KbihOc,8742
42
+ pycarlo-0.10.197.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.197.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.197.dist-info/RECORD,,