graphiant-sdk 25.8.1__py3-none-any.whl → 25.9.2__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.
Files changed (64) hide show
  1. graphiant_sdk/__init__.py +3537 -1164
  2. graphiant_sdk/api/__init__.py +16 -1
  3. graphiant_sdk/api/default_api.py +8500 -6220
  4. graphiant_sdk/api_client.py +9 -2
  5. graphiant_sdk/configuration.py +1 -1
  6. graphiant_sdk/models/__init__.py +1196 -13
  7. graphiant_sdk/models/{v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_running_version.py → v1_diagnostic_reboot_device_id_put_request.py} +7 -11
  8. graphiant_sdk/models/v1_enterprise_allocation_get200_response_consumption_summary_global_summary.py +5 -1
  9. graphiant_sdk/models/{v1_extranet_sites_usage_post200_response.py → v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post200_response.py} +9 -9
  10. graphiant_sdk/models/{v2_extranet_service_overtime_consumption_post200_response_dl_agg_stats_inner.py → v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post200_response_dl_stats_inner.py} +4 -4
  11. graphiant_sdk/models/{v1_extranet_sites_usage_post_request.py → v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request.py} +4 -4
  12. graphiant_sdk/models/{v1_bwtracker_region_site_summary_post200_response_bwusage_summary.py → v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post200_response.py} +18 -21
  13. graphiant_sdk/models/{v2_extranet_consumers_usage_top_post200_response_top_consumers_inner.py → v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post200_response_top_consumers_inner.py} +4 -4
  14. graphiant_sdk/models/{v2_extranet_lan_segments_usage_top_post_request.py → v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request.py} +4 -4
  15. graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumption_overview_post200_response.py +115 -0
  16. graphiant_sdk/models/{v2_extranet_sites_consumption_overview_post200_response_lan_segments_inner.py → v1_extranet_b2b_monitoring_peering_service_consumption_overview_post200_response_first_level_inner.py} +4 -4
  17. graphiant_sdk/models/{v2_extranet_consumers_usage_top_post_request.py → v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request.py} +17 -7
  18. graphiant_sdk/models/{v1_bwtracker_region_site_summary_post200_response.py → v1_extranet_b2b_monitoring_peering_service_service_health_post200_response.py} +15 -11
  19. graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_health_post200_response_service_health_inner.py +100 -0
  20. graphiant_sdk/models/{v1_global_site_lists_id_sites_get200_response_entries_inner_tag_inner.py → v1_extranet_b2b_monitoring_peering_service_service_health_post200_response_service_health_inner_customer_prefix_health.py} +10 -12
  21. graphiant_sdk/models/{v2_extranet_service_overtime_consumption_post200_response.py → v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post200_response.py} +9 -9
  22. graphiant_sdk/models/{v2_extranet_sites_consumption_overview_post_request.py → v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request.py} +4 -4
  23. graphiant_sdk/models/{v2_assistant_conversation_context_history_post_request.py → v2_aggregated_notification_enable_disable_post_request.py} +4 -4
  24. graphiant_sdk/models/v2_aggregated_notification_get_state_get200_response.py +87 -0
  25. graphiant_sdk/models/v2_assurance_applicationdetailsbyname_post200_response_app_id_record.py +13 -1
  26. graphiant_sdk/models/{v1_software_auto_upgrade_default_get200_response_details.py → v2_assurance_applicationdetailsbyname_post200_response_app_id_record_exchange_service_inner.py} +9 -15
  27. graphiant_sdk/models/v2_assurance_applicationdetailsbyname_post200_response_app_name_record.py +11 -1
  28. graphiant_sdk/models/v2_assurance_bucket_app_servers_post_request.py +3 -1
  29. graphiant_sdk/models/v2_assurance_bucket_apps_post200_response_apps_inner.py +7 -1
  30. graphiant_sdk/models/v2_assurance_bucket_apps_post_request.py +3 -1
  31. graphiant_sdk/models/{v2_extranet_consumers_usage_top_post200_response.py → v2_assurance_bucket_services_post200_response.py} +15 -15
  32. graphiant_sdk/models/{v2_assurance_bucket_topologies_post_request.py → v2_assurance_bucket_services_post_request.py} +4 -4
  33. graphiant_sdk/models/v2_extranet_lan_segments_usage_top_post200_response.py +3 -3
  34. graphiant_sdk/models/v2_extranet_sites_consumption_overview_post200_response.py +7 -7
  35. {graphiant_sdk-25.8.1.dist-info → graphiant_sdk-25.9.2.dist-info}/METADATA +9 -20
  36. {graphiant_sdk-25.8.1.dist-info → graphiant_sdk-25.9.2.dist-info}/RECORD +59 -41
  37. test/test_v1_diagnostic_reboot_device_id_put_request.py +51 -0
  38. test/test_v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post200_response.py +67 -0
  39. test/test_v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post200_response_dl_stats_inner.py +55 -0
  40. test/test_v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request.py +64 -0
  41. test/test_v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post200_response.py +58 -0
  42. test/test_v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post200_response_top_consumers_inner.py +53 -0
  43. test/test_v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request.py +61 -0
  44. test/test_v1_extranet_b2b_monitoring_peering_service_consumption_overview_post200_response.py +81 -0
  45. test/test_v1_extranet_b2b_monitoring_peering_service_consumption_overview_post200_response_first_level_inner.py +57 -0
  46. test/test_v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request.py +65 -0
  47. test/test_v1_extranet_b2b_monitoring_peering_service_service_health_post200_response.py +62 -0
  48. test/test_v1_extranet_b2b_monitoring_peering_service_service_health_post200_response_service_health_inner.py +62 -0
  49. test/test_v1_extranet_b2b_monitoring_peering_service_service_health_post200_response_service_health_inner_customer_prefix_health.py +54 -0
  50. test/test_v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post200_response.py +66 -0
  51. test/test_v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request.py +63 -0
  52. test/test_v2_aggregated_notification_enable_disable_post_request.py +51 -0
  53. test/test_v2_aggregated_notification_get_state_get200_response.py +51 -0
  54. test/test_v2_assurance_applicationdetailsbyname_post200_response_app_id_record_exchange_service_inner.py +52 -0
  55. test/test_v2_assurance_bucket_services_post200_response.py +55 -0
  56. test/test_v2_assurance_bucket_services_post_request.py +51 -0
  57. graphiant_sdk/models/v1_devices_device_id_staged_config_compare_get200_response.py +0 -87
  58. graphiant_sdk/models/v1_healthcheck_devices_get200_response.py +0 -95
  59. graphiant_sdk/models/v1_healthcheck_devices_get200_response_details_inner.py +0 -124
  60. graphiant_sdk/models/v1_healthcheck_devices_get200_response_details_inner_odp_status.py +0 -89
  61. graphiant_sdk/models/v1_healthcheck_devices_get200_response_details_inner_onboarding_status.py +0 -89
  62. {graphiant_sdk-25.8.1.dist-info → graphiant_sdk-25.9.2.dist-info}/WHEEL +0 -0
  63. {graphiant_sdk-25.8.1.dist-info → graphiant_sdk-25.9.2.dist-info}/licenses/LICENSE +0 -0
  64. {graphiant_sdk-25.8.1.dist-info → graphiant_sdk-25.9.2.dist-info}/top_level.txt +0 -0
@@ -1,124 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Graphiant APIs
5
-
6
- **To use the APIs:** 1) Login using `/api/v1/auth/login` 2) Copy the value of \"token\" in the response 3) Click the \"Authorize\" button 4) In the \"Value\" text field enter: `Bearer <your token>` 5) Click \"Authorize\" 6) All requests are now authorized. **Token valid for 2 hours. If expired:** - Login again, click \"Authorize\", paste new token.
7
-
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- from __future__ import annotations
16
- import pprint
17
- import re # noqa: F401
18
- import json
19
-
20
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
21
- from typing import Any, ClassVar, Dict, List, Optional
22
- from graphiant_sdk.models.v1_healthcheck_devices_get200_response_details_inner_odp_status import V1HealthcheckDevicesGet200ResponseDetailsInnerOdpStatus
23
- from graphiant_sdk.models.v1_healthcheck_devices_get200_response_details_inner_onboarding_status import V1HealthcheckDevicesGet200ResponseDetailsInnerOnboardingStatus
24
- from typing import Optional, Set
25
- from typing_extensions import Self
26
-
27
- class V1HealthcheckDevicesGet200ResponseDetailsInner(BaseModel):
28
- """
29
- V1HealthcheckDevicesGet200ResponseDetailsInner
30
- """ # noqa: E501
31
- bgp_core_state: Optional[List[StrictBool]] = Field(default=None, alias="bgpCoreState")
32
- bgp_odp_state: Optional[List[StrictBool]] = Field(default=None, alias="bgpOdpState")
33
- core_tunnel_state: Optional[List[StrictBool]] = Field(default=None, alias="coreTunnelState")
34
- device_id: Optional[StrictInt] = Field(default=None, alias="deviceId")
35
- enterprise_id: Optional[StrictInt] = Field(default=None, alias="enterpriseId")
36
- gnmi_state: Optional[StrictBool] = Field(default=None, alias="gnmiState")
37
- ipsec_core_status: Optional[StrictStr] = Field(default=None, alias="ipsecCoreStatus")
38
- ipsec_odp_status: Optional[StrictStr] = Field(default=None, alias="ipsecOdpStatus")
39
- odp_status: Optional[V1HealthcheckDevicesGet200ResponseDetailsInnerOdpStatus] = Field(default=None, alias="odpStatus")
40
- odp_tunnel_state: Optional[List[StrictBool]] = Field(default=None, alias="odpTunnelState")
41
- onboarding_status: Optional[V1HealthcheckDevicesGet200ResponseDetailsInnerOnboardingStatus] = Field(default=None, alias="onboardingStatus")
42
- t2_status: Optional[V1HealthcheckDevicesGet200ResponseDetailsInnerOdpStatus] = Field(default=None, alias="t2Status")
43
- topo_gw_state: Optional[StrictStr] = Field(default=None, alias="topoGwState")
44
- tt_tunnel_state: Optional[List[StrictBool]] = Field(default=None, alias="ttTunnelState")
45
- __properties: ClassVar[List[str]] = ["bgpCoreState", "bgpOdpState", "coreTunnelState", "deviceId", "enterpriseId", "gnmiState", "ipsecCoreStatus", "ipsecOdpStatus", "odpStatus", "odpTunnelState", "onboardingStatus", "t2Status", "topoGwState", "ttTunnelState"]
46
-
47
- model_config = ConfigDict(
48
- populate_by_name=True,
49
- validate_assignment=True,
50
- protected_namespaces=(),
51
- )
52
-
53
-
54
- def to_str(self) -> str:
55
- """Returns the string representation of the model using alias"""
56
- return pprint.pformat(self.model_dump(by_alias=True))
57
-
58
- def to_json(self) -> str:
59
- """Returns the JSON representation of the model using alias"""
60
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
61
- return json.dumps(self.to_dict())
62
-
63
- @classmethod
64
- def from_json(cls, json_str: str) -> Optional[Self]:
65
- """Create an instance of V1HealthcheckDevicesGet200ResponseDetailsInner from a JSON string"""
66
- return cls.from_dict(json.loads(json_str))
67
-
68
- def to_dict(self) -> Dict[str, Any]:
69
- """Return the dictionary representation of the model using alias.
70
-
71
- This has the following differences from calling pydantic's
72
- `self.model_dump(by_alias=True)`:
73
-
74
- * `None` is only added to the output dict for nullable fields that
75
- were set at model initialization. Other fields with value `None`
76
- are ignored.
77
- """
78
- excluded_fields: Set[str] = set([
79
- ])
80
-
81
- _dict = self.model_dump(
82
- by_alias=True,
83
- exclude=excluded_fields,
84
- exclude_none=True,
85
- )
86
- # override the default output from pydantic by calling `to_dict()` of odp_status
87
- if self.odp_status:
88
- _dict['odpStatus'] = self.odp_status.to_dict()
89
- # override the default output from pydantic by calling `to_dict()` of onboarding_status
90
- if self.onboarding_status:
91
- _dict['onboardingStatus'] = self.onboarding_status.to_dict()
92
- # override the default output from pydantic by calling `to_dict()` of t2_status
93
- if self.t2_status:
94
- _dict['t2Status'] = self.t2_status.to_dict()
95
- return _dict
96
-
97
- @classmethod
98
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
99
- """Create an instance of V1HealthcheckDevicesGet200ResponseDetailsInner from a dict"""
100
- if obj is None:
101
- return None
102
-
103
- if not isinstance(obj, dict):
104
- return cls.model_validate(obj)
105
-
106
- _obj = cls.model_validate({
107
- "bgpCoreState": obj.get("bgpCoreState"),
108
- "bgpOdpState": obj.get("bgpOdpState"),
109
- "coreTunnelState": obj.get("coreTunnelState"),
110
- "deviceId": obj.get("deviceId"),
111
- "enterpriseId": obj.get("enterpriseId"),
112
- "gnmiState": obj.get("gnmiState"),
113
- "ipsecCoreStatus": obj.get("ipsecCoreStatus"),
114
- "ipsecOdpStatus": obj.get("ipsecOdpStatus"),
115
- "odpStatus": V1HealthcheckDevicesGet200ResponseDetailsInnerOdpStatus.from_dict(obj["odpStatus"]) if obj.get("odpStatus") is not None else None,
116
- "odpTunnelState": obj.get("odpTunnelState"),
117
- "onboardingStatus": V1HealthcheckDevicesGet200ResponseDetailsInnerOnboardingStatus.from_dict(obj["onboardingStatus"]) if obj.get("onboardingStatus") is not None else None,
118
- "t2Status": V1HealthcheckDevicesGet200ResponseDetailsInnerOdpStatus.from_dict(obj["t2Status"]) if obj.get("t2Status") is not None else None,
119
- "topoGwState": obj.get("topoGwState"),
120
- "ttTunnelState": obj.get("ttTunnelState")
121
- })
122
- return _obj
123
-
124
-
@@ -1,89 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Graphiant APIs
5
-
6
- **To use the APIs:** 1) Login using `/api/v1/auth/login` 2) Copy the value of \"token\" in the response 3) Click the \"Authorize\" button 4) In the \"Value\" text field enter: `Bearer <your token>` 5) Click \"Authorize\" 6) All requests are now authorized. **Token valid for 2 hours. If expired:** - Login again, click \"Authorize\", paste new token.
7
-
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- from __future__ import annotations
16
- import pprint
17
- import re # noqa: F401
18
- import json
19
-
20
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
21
- from typing import Any, ClassVar, Dict, List, Optional
22
- from typing import Optional, Set
23
- from typing_extensions import Self
24
-
25
- class V1HealthcheckDevicesGet200ResponseDetailsInnerOdpStatus(BaseModel):
26
- """
27
- V1HealthcheckDevicesGet200ResponseDetailsInnerOdpStatus
28
- """ # noqa: E501
29
- ip_address: Optional[StrictStr] = Field(default=None, alias="ipAddress")
30
- state: Optional[StrictBool] = None
31
- __properties: ClassVar[List[str]] = ["ipAddress", "state"]
32
-
33
- model_config = ConfigDict(
34
- populate_by_name=True,
35
- validate_assignment=True,
36
- protected_namespaces=(),
37
- )
38
-
39
-
40
- def to_str(self) -> str:
41
- """Returns the string representation of the model using alias"""
42
- return pprint.pformat(self.model_dump(by_alias=True))
43
-
44
- def to_json(self) -> str:
45
- """Returns the JSON representation of the model using alias"""
46
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
47
- return json.dumps(self.to_dict())
48
-
49
- @classmethod
50
- def from_json(cls, json_str: str) -> Optional[Self]:
51
- """Create an instance of V1HealthcheckDevicesGet200ResponseDetailsInnerOdpStatus from a JSON string"""
52
- return cls.from_dict(json.loads(json_str))
53
-
54
- def to_dict(self) -> Dict[str, Any]:
55
- """Return the dictionary representation of the model using alias.
56
-
57
- This has the following differences from calling pydantic's
58
- `self.model_dump(by_alias=True)`:
59
-
60
- * `None` is only added to the output dict for nullable fields that
61
- were set at model initialization. Other fields with value `None`
62
- are ignored.
63
- """
64
- excluded_fields: Set[str] = set([
65
- ])
66
-
67
- _dict = self.model_dump(
68
- by_alias=True,
69
- exclude=excluded_fields,
70
- exclude_none=True,
71
- )
72
- return _dict
73
-
74
- @classmethod
75
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
76
- """Create an instance of V1HealthcheckDevicesGet200ResponseDetailsInnerOdpStatus from a dict"""
77
- if obj is None:
78
- return None
79
-
80
- if not isinstance(obj, dict):
81
- return cls.model_validate(obj)
82
-
83
- _obj = cls.model_validate({
84
- "ipAddress": obj.get("ipAddress"),
85
- "state": obj.get("state")
86
- })
87
- return _obj
88
-
89
-
@@ -1,89 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Graphiant APIs
5
-
6
- **To use the APIs:** 1) Login using `/api/v1/auth/login` 2) Copy the value of \"token\" in the response 3) Click the \"Authorize\" button 4) In the \"Value\" text field enter: `Bearer <your token>` 5) Click \"Authorize\" 6) All requests are now authorized. **Token valid for 2 hours. If expired:** - Login again, click \"Authorize\", paste new token.
7
-
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- from __future__ import annotations
16
- import pprint
17
- import re # noqa: F401
18
- import json
19
-
20
- from pydantic import BaseModel, ConfigDict, StrictStr
21
- from typing import Any, ClassVar, Dict, List, Optional
22
- from typing import Optional, Set
23
- from typing_extensions import Self
24
-
25
- class V1HealthcheckDevicesGet200ResponseDetailsInnerOnboardingStatus(BaseModel):
26
- """
27
- V1HealthcheckDevicesGet200ResponseDetailsInnerOnboardingStatus
28
- """ # noqa: E501
29
- state: Optional[StrictStr] = None
30
- status: Optional[StrictStr] = None
31
- __properties: ClassVar[List[str]] = ["state", "status"]
32
-
33
- model_config = ConfigDict(
34
- populate_by_name=True,
35
- validate_assignment=True,
36
- protected_namespaces=(),
37
- )
38
-
39
-
40
- def to_str(self) -> str:
41
- """Returns the string representation of the model using alias"""
42
- return pprint.pformat(self.model_dump(by_alias=True))
43
-
44
- def to_json(self) -> str:
45
- """Returns the JSON representation of the model using alias"""
46
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
47
- return json.dumps(self.to_dict())
48
-
49
- @classmethod
50
- def from_json(cls, json_str: str) -> Optional[Self]:
51
- """Create an instance of V1HealthcheckDevicesGet200ResponseDetailsInnerOnboardingStatus from a JSON string"""
52
- return cls.from_dict(json.loads(json_str))
53
-
54
- def to_dict(self) -> Dict[str, Any]:
55
- """Return the dictionary representation of the model using alias.
56
-
57
- This has the following differences from calling pydantic's
58
- `self.model_dump(by_alias=True)`:
59
-
60
- * `None` is only added to the output dict for nullable fields that
61
- were set at model initialization. Other fields with value `None`
62
- are ignored.
63
- """
64
- excluded_fields: Set[str] = set([
65
- ])
66
-
67
- _dict = self.model_dump(
68
- by_alias=True,
69
- exclude=excluded_fields,
70
- exclude_none=True,
71
- )
72
- return _dict
73
-
74
- @classmethod
75
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
76
- """Create an instance of V1HealthcheckDevicesGet200ResponseDetailsInnerOnboardingStatus from a dict"""
77
- if obj is None:
78
- return None
79
-
80
- if not isinstance(obj, dict):
81
- return cls.model_validate(obj)
82
-
83
- _obj = cls.model_validate({
84
- "state": obj.get("state"),
85
- "status": obj.get("status")
86
- })
87
- return _obj
88
-
89
-