neops_graphql 1.7.20.dev0__tar.gz → 1.7.25.dev0__tar.gz

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 (71) hide show
  1. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/PKG-INFO +1 -1
  2. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/client.py +67 -13
  3. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/pyproject.toml +1 -1
  4. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/README.md +0 -0
  5. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/__init__.py +0 -0
  6. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/abort_execution.py +0 -0
  7. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/add_api_key.py +0 -0
  8. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/add_role.py +0 -0
  9. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/add_role_device_group.py +0 -0
  10. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/add_role_neops_task.py +0 -0
  11. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/add_user.py +0 -0
  12. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/add_users_to_role.py +0 -0
  13. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/archive_or_delete_task.py +0 -0
  14. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/async_base_client.py +0 -0
  15. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/autocomplete_fields.py +0 -0
  16. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/base_model.py +0 -0
  17. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/client_aggregation.py +0 -0
  18. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/clients.py +0 -0
  19. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/cron_execution_type.py +0 -0
  20. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/device_aggregation.py +0 -0
  21. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/device_group_elastic.py +0 -0
  22. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/device_group_upsert.py +0 -0
  23. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/device_upsert.py +0 -0
  24. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/devices.py +0 -0
  25. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/discovery.py +0 -0
  26. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/enums.py +0 -0
  27. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/exceptions.py +0 -0
  28. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/execute_neops_task.py +0 -0
  29. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/execution.py +0 -0
  30. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/execution_subscription.py +0 -0
  31. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/executions_detail.py +0 -0
  32. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/executions_elastic.py +0 -0
  33. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/executions_simple.py +0 -0
  34. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/get_role.py +0 -0
  35. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/group_aggregation.py +0 -0
  36. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/input_types.py +0 -0
  37. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/interface_aggregation.py +0 -0
  38. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/interfaces.py +0 -0
  39. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/json_form.py +0 -0
  40. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/location_upsert.py +0 -0
  41. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/login.py +0 -0
  42. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/neops_provider.py +0 -0
  43. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/neops_task_create_mutation.py +0 -0
  44. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/neops_task_unarchive.py +0 -0
  45. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/neops_tasks.py +0 -0
  46. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/permissions.py +0 -0
  47. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/platforms.py +0 -0
  48. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/process_overview.py +0 -0
  49. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/providers.py +0 -0
  50. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/refresh_token.py +0 -0
  51. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/reports.py +0 -0
  52. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/reports_execute.py +0 -0
  53. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/role_device_group.py +0 -0
  54. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/role_device_group_upsert.py +0 -0
  55. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/role_neops_task.py +0 -0
  56. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/role_neops_task_upsert.py +0 -0
  57. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/role_permission_element.py +0 -0
  58. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/role_permission_element_upsert.py +0 -0
  59. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/role_permission_upsert.py +0 -0
  60. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/role_permissions.py +0 -0
  61. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/role_scope_upsert.py +0 -0
  62. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/role_user.py +0 -0
  63. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/rollback.py +0 -0
  64. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/saved_search_create.py +0 -0
  65. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/saved_search_delete.py +0 -0
  66. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/saved_searches.py +0 -0
  67. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/scope_delete.py +0 -0
  68. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/scopes.py +0 -0
  69. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/scopes_upsert.py +0 -0
  70. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/single_discovery.py +0 -0
  71. {neops_graphql-1.7.20.dev0 → neops_graphql-1.7.25.dev0}/neops_graphql/topology.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neops_graphql
3
- Version: 1.7.20.dev0
3
+ Version: 1.7.25.dev0
4
4
  Summary: A low-level generated GraphQL for Neops
5
5
  Author: Leandro Lerena
6
6
  Author-email: leandro.lerena@zebbra.ch
@@ -384,12 +384,20 @@ class Client(AsyncBaseClient):
384
384
  self,
385
385
  aggr_field: str,
386
386
  query: Union[Optional[str], UnsetType] = UNSET,
387
+ size: Union[Optional[int], UnsetType] = UNSET,
388
+ scope: Union[Optional[int], UnsetType] = UNSET,
387
389
  **kwargs: Any
388
390
  ) -> ClientAggregation:
389
391
  _query = gql(
390
392
  """
391
- query clientAggregation($aggrField: String!, $query: String) {
392
- clientAggregation(aggrField: $aggrField, query: $query, queryTypeGlobal: true) {
393
+ query clientAggregation($aggrField: String!, $query: String, $size: Int, $scope: Int) {
394
+ clientAggregation(
395
+ aggrField: $aggrField
396
+ query: $query
397
+ queryTypeGlobal: true
398
+ size: $size
399
+ scope: $scope
400
+ ) {
393
401
  results {
394
402
  value
395
403
  count
@@ -400,7 +408,12 @@ class Client(AsyncBaseClient):
400
408
  }
401
409
  """
402
410
  )
403
- variables: Dict[str, object] = {"aggrField": aggr_field, "query": query}
411
+ variables: Dict[str, object] = {
412
+ "aggrField": aggr_field,
413
+ "query": query,
414
+ "size": size,
415
+ "scope": scope,
416
+ }
404
417
  response = await self.execute(
405
418
  query=_query,
406
419
  operation_name="clientAggregation",
@@ -503,12 +516,20 @@ class Client(AsyncBaseClient):
503
516
  self,
504
517
  aggr_field: str,
505
518
  query: Union[Optional[str], UnsetType] = UNSET,
519
+ size: Union[Optional[int], UnsetType] = UNSET,
520
+ scope: Union[Optional[int], UnsetType] = UNSET,
506
521
  **kwargs: Any
507
522
  ) -> DeviceAggregation:
508
523
  _query = gql(
509
524
  """
510
- query deviceAggregation($aggrField: String!, $query: String) {
511
- deviceAggregation(aggrField: $aggrField, query: $query, queryTypeGlobal: true) {
525
+ query deviceAggregation($aggrField: String!, $query: String, $size: Int, $scope: Int) {
526
+ deviceAggregation(
527
+ aggrField: $aggrField
528
+ query: $query
529
+ queryTypeGlobal: true
530
+ size: $size
531
+ scope: $scope
532
+ ) {
512
533
  results {
513
534
  value
514
535
  count
@@ -519,7 +540,12 @@ class Client(AsyncBaseClient):
519
540
  }
520
541
  """
521
542
  )
522
- variables: Dict[str, object] = {"aggrField": aggr_field, "query": query}
543
+ variables: Dict[str, object] = {
544
+ "aggrField": aggr_field,
545
+ "query": query,
546
+ "size": size,
547
+ "scope": scope,
548
+ }
523
549
  response = await self.execute(
524
550
  query=_query,
525
551
  operation_name="deviceAggregation",
@@ -1332,12 +1358,20 @@ class Client(AsyncBaseClient):
1332
1358
  self,
1333
1359
  aggr_field: str,
1334
1360
  query: Union[Optional[str], UnsetType] = UNSET,
1361
+ size: Union[Optional[int], UnsetType] = UNSET,
1362
+ scope: Union[Optional[int], UnsetType] = UNSET,
1335
1363
  **kwargs: Any
1336
1364
  ) -> GroupAggregation:
1337
1365
  _query = gql(
1338
1366
  """
1339
- query groupAggregation($aggrField: String!, $query: String) {
1340
- groupAggregation(aggrField: $aggrField, query: $query, queryTypeGlobal: true) {
1367
+ query groupAggregation($aggrField: String!, $query: String, $size: Int, $scope: Int) {
1368
+ groupAggregation(
1369
+ aggrField: $aggrField
1370
+ query: $query
1371
+ queryTypeGlobal: true
1372
+ size: $size
1373
+ scope: $scope
1374
+ ) {
1341
1375
  results {
1342
1376
  value
1343
1377
  count
@@ -1348,7 +1382,12 @@ class Client(AsyncBaseClient):
1348
1382
  }
1349
1383
  """
1350
1384
  )
1351
- variables: Dict[str, object] = {"aggrField": aggr_field, "query": query}
1385
+ variables: Dict[str, object] = {
1386
+ "aggrField": aggr_field,
1387
+ "query": query,
1388
+ "size": size,
1389
+ "scope": scope,
1390
+ }
1352
1391
  response = await self.execute(
1353
1392
  query=_query,
1354
1393
  operation_name="groupAggregation",
@@ -1362,15 +1401,19 @@ class Client(AsyncBaseClient):
1362
1401
  self,
1363
1402
  aggr_field: str,
1364
1403
  query: Union[Optional[str], UnsetType] = UNSET,
1404
+ size: Union[Optional[int], UnsetType] = UNSET,
1405
+ scope: Union[Optional[int], UnsetType] = UNSET,
1365
1406
  **kwargs: Any
1366
1407
  ) -> InterfaceAggregation:
1367
1408
  _query = gql(
1368
1409
  """
1369
- query interfaceAggregation($aggrField: String!, $query: String) {
1410
+ query interfaceAggregation($aggrField: String!, $query: String, $size: Int, $scope: Int) {
1370
1411
  interfaceAggregation(
1371
1412
  aggrField: $aggrField
1372
1413
  query: $query
1373
1414
  queryTypeGlobal: true
1415
+ size: $size
1416
+ scope: $scope
1374
1417
  ) {
1375
1418
  results {
1376
1419
  value
@@ -1382,7 +1425,12 @@ class Client(AsyncBaseClient):
1382
1425
  }
1383
1426
  """
1384
1427
  )
1385
- variables: Dict[str, object] = {"aggrField": aggr_field, "query": query}
1428
+ variables: Dict[str, object] = {
1429
+ "aggrField": aggr_field,
1430
+ "query": query,
1431
+ "size": size,
1432
+ "scope": scope,
1433
+ }
1386
1434
  response = await self.execute(
1387
1435
  query=_query,
1388
1436
  operation_name="interfaceAggregation",
@@ -1685,11 +1733,14 @@ class Client(AsyncBaseClient):
1685
1733
  provider_identifier: Union[Optional[str], UnsetType] = UNSET,
1686
1734
  show_archived_only: Union[Optional[bool], UnsetType] = UNSET,
1687
1735
  show_archived: Union[Optional[bool], UnsetType] = UNSET,
1736
+ ordering: Union[Optional[str], UnsetType] = UNSET,
1737
+ page: Union[Optional[int], UnsetType] = UNSET,
1738
+ page_size: Union[Optional[int], UnsetType] = UNSET,
1688
1739
  **kwargs: Any
1689
1740
  ) -> NeopsTasks:
1690
1741
  query = gql(
1691
1742
  """
1692
- query neopsTasks($id: Decimal, $permission: String = "read", $scope: Decimal, $runOn: String, $uniqueTaskNameStartsWith: String, $uniqueTaskName: String, $providerIdentifierContains: String, $providerIdentifier: String, $showArchivedOnly: Boolean = false, $showArchived: Boolean = false) {
1743
+ query neopsTasks($id: Decimal, $permission: String = "read", $scope: Decimal, $runOn: String, $uniqueTaskNameStartsWith: String, $uniqueTaskName: String, $providerIdentifierContains: String, $providerIdentifier: String, $showArchivedOnly: Boolean = false, $showArchived: Boolean = false, $ordering: String = "name", $page: Int = 1, $pageSize: Int = 999) {
1693
1744
  neopsTasks(
1694
1745
  id: $id
1695
1746
  permission: $permission
@@ -1702,7 +1753,7 @@ class Client(AsyncBaseClient):
1702
1753
  showArchived: $showArchived
1703
1754
  showArchivedOnly: $showArchivedOnly
1704
1755
  ) {
1705
- results {
1756
+ results(page: $page, pageSize: $pageSize, ordering: $ordering) {
1706
1757
  id
1707
1758
  name
1708
1759
  description
@@ -1752,6 +1803,9 @@ class Client(AsyncBaseClient):
1752
1803
  "providerIdentifier": provider_identifier,
1753
1804
  "showArchivedOnly": show_archived_only,
1754
1805
  "showArchived": show_archived,
1806
+ "ordering": ordering,
1807
+ "page": page,
1808
+ "pageSize": page_size,
1755
1809
  }
1756
1810
  response = await self.execute(
1757
1811
  query=query, operation_name="neopsTasks", variables=variables, **kwargs
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "neops_graphql"
3
- version = "1.7.20.dev"
3
+ version = "1.7.25.dev"
4
4
  description = "A low-level generated GraphQL for Neops"
5
5
  authors = ["Leandro Lerena <leandro.lerena@zebbra.ch>"]
6
6
  readme = "README.md"