sonatype-guide-api-client 0.0.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.
- sonatype_guide_api_client/__init__.py +169 -0
- sonatype_guide_api_client/api/__init__.py +13 -0
- sonatype_guide_api_client/api/billing_api.py +1543 -0
- sonatype_guide_api_client/api/components_api.py +2125 -0
- sonatype_guide_api_client/api/credits_api.py +529 -0
- sonatype_guide_api_client/api/current_user_organization_api.py +2156 -0
- sonatype_guide_api_client/api/current_user_tokens_api.py +1097 -0
- sonatype_guide_api_client/api/ossi_controller_api.py +1381 -0
- sonatype_guide_api_client/api/recommendations_api.py +318 -0
- sonatype_guide_api_client/api/usage_api.py +1346 -0
- sonatype_guide_api_client/api/vulnerabilities_api.py +654 -0
- sonatype_guide_api_client/api_client.py +805 -0
- sonatype_guide_api_client/api_response.py +21 -0
- sonatype_guide_api_client/configuration.py +583 -0
- sonatype_guide_api_client/exceptions.py +217 -0
- sonatype_guide_api_client/models/__init__.py +69 -0
- sonatype_guide_api_client/models/affected_component_version.py +96 -0
- sonatype_guide_api_client/models/api_search_response.py +96 -0
- sonatype_guide_api_client/models/api_search_response_affected_component_version.py +104 -0
- sonatype_guide_api_client/models/api_search_response_component_detail_document.py +104 -0
- sonatype_guide_api_client/models/api_search_response_component_document.py +104 -0
- sonatype_guide_api_client/models/api_search_response_vulnerability_document.py +104 -0
- sonatype_guide_api_client/models/billing_dto.py +107 -0
- sonatype_guide_api_client/models/billing_period.py +91 -0
- sonatype_guide_api_client/models/billing_periods_response.py +101 -0
- sonatype_guide_api_client/models/bulk_remove_members_request.py +89 -0
- sonatype_guide_api_client/models/component_artifact.py +105 -0
- sonatype_guide_api_client/models/component_detail_document.py +133 -0
- sonatype_guide_api_client/models/component_document.py +121 -0
- sonatype_guide_api_client/models/component_license.py +92 -0
- sonatype_guide_api_client/models/component_report_get.py +104 -0
- sonatype_guide_api_client/models/component_report_post.py +102 -0
- sonatype_guide_api_client/models/create_token_request.py +91 -0
- sonatype_guide_api_client/models/credit_balance.py +125 -0
- sonatype_guide_api_client/models/credit_usage.py +97 -0
- sonatype_guide_api_client/models/cumulative_credit_usage.py +104 -0
- sonatype_guide_api_client/models/current_user_organization_response.py +112 -0
- sonatype_guide_api_client/models/customer_info.py +90 -0
- sonatype_guide_api_client/models/daily_credit_usage.py +93 -0
- sonatype_guide_api_client/models/from_version.py +110 -0
- sonatype_guide_api_client/models/invite_users_request.py +89 -0
- sonatype_guide_api_client/models/invoice.py +103 -0
- sonatype_guide_api_client/models/organization_billing_dto.py +92 -0
- sonatype_guide_api_client/models/organization_dtov2.py +98 -0
- sonatype_guide_api_client/models/organization_members_response.py +113 -0
- sonatype_guide_api_client/models/organization_plan_dto.py +100 -0
- sonatype_guide_api_client/models/organization_response.py +99 -0
- sonatype_guide_api_client/models/organization_usage_dto.py +92 -0
- sonatype_guide_api_client/models/ossi_vulnerability_post.py +106 -0
- sonatype_guide_api_client/models/period_dto.py +91 -0
- sonatype_guide_api_client/models/plan.py +101 -0
- sonatype_guide_api_client/models/plan_dtov2.py +120 -0
- sonatype_guide_api_client/models/plan_info.py +96 -0
- sonatype_guide_api_client/models/plans_response.py +96 -0
- sonatype_guide_api_client/models/purl_request_post.py +88 -0
- sonatype_guide_api_client/models/recommendation_request.py +89 -0
- sonatype_guide_api_client/models/recommendation_response.py +102 -0
- sonatype_guide_api_client/models/recommended_version.py +108 -0
- sonatype_guide_api_client/models/reference.py +90 -0
- sonatype_guide_api_client/models/refid.py +92 -0
- sonatype_guide_api_client/models/subscription_details_response.py +98 -0
- sonatype_guide_api_client/models/update_organization_request.py +92 -0
- sonatype_guide_api_client/models/usage_dto.py +96 -0
- sonatype_guide_api_client/models/user_token_dto.py +99 -0
- sonatype_guide_api_client/models/user_token_with_plaintext_dto.py +94 -0
- sonatype_guide_api_client/models/vulnerability_detail_document.py +145 -0
- sonatype_guide_api_client/models/vulnerability_document.py +115 -0
- sonatype_guide_api_client/models/vulnerable_method.py +92 -0
- sonatype_guide_api_client/py.typed +0 -0
- sonatype_guide_api_client/rest.py +259 -0
- sonatype_guide_api_client-0.0.2.dist-info/METADATA +227 -0
- sonatype_guide_api_client-0.0.2.dist-info/RECORD +75 -0
- sonatype_guide_api_client-0.0.2.dist-info/WHEEL +5 -0
- sonatype_guide_api_client-0.0.2.dist-info/licenses/LICENSE +201 -0
- sonatype_guide_api_client-0.0.2.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
Sonatype Guide API
|
|
7
|
+
|
|
8
|
+
REST API into [Sonatype Guide](https://guide.sonatype.com).
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 202601
|
|
11
|
+
Contact: community@sonatype.com
|
|
12
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
13
|
+
|
|
14
|
+
Do not edit the class manually.
|
|
15
|
+
""" # noqa: E501
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
__version__ = "1.0.0"
|
|
19
|
+
|
|
20
|
+
# Define package exports
|
|
21
|
+
__all__ = [
|
|
22
|
+
"BillingApi",
|
|
23
|
+
"ComponentsApi",
|
|
24
|
+
"CreditsApi",
|
|
25
|
+
"CurrentUserOrganizationApi",
|
|
26
|
+
"CurrentUserTokensApi",
|
|
27
|
+
"RecommendationsApi",
|
|
28
|
+
"UsageApi",
|
|
29
|
+
"VulnerabilitiesApi",
|
|
30
|
+
"OssiControllerApi",
|
|
31
|
+
"ApiResponse",
|
|
32
|
+
"ApiClient",
|
|
33
|
+
"Configuration",
|
|
34
|
+
"OpenApiException",
|
|
35
|
+
"ApiTypeError",
|
|
36
|
+
"ApiValueError",
|
|
37
|
+
"ApiKeyError",
|
|
38
|
+
"ApiAttributeError",
|
|
39
|
+
"ApiException",
|
|
40
|
+
"AffectedComponentVersion",
|
|
41
|
+
"ApiSearchResponse",
|
|
42
|
+
"ApiSearchResponseAffectedComponentVersion",
|
|
43
|
+
"ApiSearchResponseComponentDetailDocument",
|
|
44
|
+
"ApiSearchResponseComponentDocument",
|
|
45
|
+
"ApiSearchResponseVulnerabilityDocument",
|
|
46
|
+
"BillingDTO",
|
|
47
|
+
"BillingPeriod",
|
|
48
|
+
"BillingPeriodsResponse",
|
|
49
|
+
"BulkRemoveMembersRequest",
|
|
50
|
+
"ComponentArtifact",
|
|
51
|
+
"ComponentDetailDocument",
|
|
52
|
+
"ComponentDocument",
|
|
53
|
+
"ComponentLicense",
|
|
54
|
+
"ComponentReportGet",
|
|
55
|
+
"ComponentReportPost",
|
|
56
|
+
"CreateTokenRequest",
|
|
57
|
+
"CreditBalance",
|
|
58
|
+
"CreditUsage",
|
|
59
|
+
"CumulativeCreditUsage",
|
|
60
|
+
"CurrentUserOrganizationResponse",
|
|
61
|
+
"CustomerInfo",
|
|
62
|
+
"DailyCreditUsage",
|
|
63
|
+
"FromVersion",
|
|
64
|
+
"InviteUsersRequest",
|
|
65
|
+
"Invoice",
|
|
66
|
+
"OrganizationBillingDTO",
|
|
67
|
+
"OrganizationDTOv2",
|
|
68
|
+
"OrganizationMembersResponse",
|
|
69
|
+
"OrganizationPlanDTO",
|
|
70
|
+
"OrganizationResponse",
|
|
71
|
+
"OrganizationUsageDTO",
|
|
72
|
+
"OssiVulnerabilityPost",
|
|
73
|
+
"PeriodDTO",
|
|
74
|
+
"Plan",
|
|
75
|
+
"PlanDTOv2",
|
|
76
|
+
"PlanInfo",
|
|
77
|
+
"PlansResponse",
|
|
78
|
+
"PurlRequestPost",
|
|
79
|
+
"RecommendationRequest",
|
|
80
|
+
"RecommendationResponse",
|
|
81
|
+
"RecommendedVersion",
|
|
82
|
+
"Reference",
|
|
83
|
+
"Refid",
|
|
84
|
+
"SubscriptionDetailsResponse",
|
|
85
|
+
"UpdateOrganizationRequest",
|
|
86
|
+
"UsageDTO",
|
|
87
|
+
"UserTokenDTO",
|
|
88
|
+
"UserTokenWithPlaintextDTO",
|
|
89
|
+
"VulnerabilityDetailDocument",
|
|
90
|
+
"VulnerabilityDocument",
|
|
91
|
+
"VulnerableMethod",
|
|
92
|
+
]
|
|
93
|
+
|
|
94
|
+
# import apis into sdk package
|
|
95
|
+
from sonatype_guide_api_client.api.billing_api import BillingApi as BillingApi
|
|
96
|
+
from sonatype_guide_api_client.api.components_api import ComponentsApi as ComponentsApi
|
|
97
|
+
from sonatype_guide_api_client.api.credits_api import CreditsApi as CreditsApi
|
|
98
|
+
from sonatype_guide_api_client.api.current_user_organization_api import CurrentUserOrganizationApi as CurrentUserOrganizationApi
|
|
99
|
+
from sonatype_guide_api_client.api.current_user_tokens_api import CurrentUserTokensApi as CurrentUserTokensApi
|
|
100
|
+
from sonatype_guide_api_client.api.recommendations_api import RecommendationsApi as RecommendationsApi
|
|
101
|
+
from sonatype_guide_api_client.api.usage_api import UsageApi as UsageApi
|
|
102
|
+
from sonatype_guide_api_client.api.vulnerabilities_api import VulnerabilitiesApi as VulnerabilitiesApi
|
|
103
|
+
from sonatype_guide_api_client.api.ossi_controller_api import OssiControllerApi as OssiControllerApi
|
|
104
|
+
|
|
105
|
+
# import ApiClient
|
|
106
|
+
from sonatype_guide_api_client.api_response import ApiResponse as ApiResponse
|
|
107
|
+
from sonatype_guide_api_client.api_client import ApiClient as ApiClient
|
|
108
|
+
from sonatype_guide_api_client.configuration import Configuration as Configuration
|
|
109
|
+
from sonatype_guide_api_client.exceptions import OpenApiException as OpenApiException
|
|
110
|
+
from sonatype_guide_api_client.exceptions import ApiTypeError as ApiTypeError
|
|
111
|
+
from sonatype_guide_api_client.exceptions import ApiValueError as ApiValueError
|
|
112
|
+
from sonatype_guide_api_client.exceptions import ApiKeyError as ApiKeyError
|
|
113
|
+
from sonatype_guide_api_client.exceptions import ApiAttributeError as ApiAttributeError
|
|
114
|
+
from sonatype_guide_api_client.exceptions import ApiException as ApiException
|
|
115
|
+
|
|
116
|
+
# import models into sdk package
|
|
117
|
+
from sonatype_guide_api_client.models.affected_component_version import AffectedComponentVersion as AffectedComponentVersion
|
|
118
|
+
from sonatype_guide_api_client.models.api_search_response import ApiSearchResponse as ApiSearchResponse
|
|
119
|
+
from sonatype_guide_api_client.models.api_search_response_affected_component_version import ApiSearchResponseAffectedComponentVersion as ApiSearchResponseAffectedComponentVersion
|
|
120
|
+
from sonatype_guide_api_client.models.api_search_response_component_detail_document import ApiSearchResponseComponentDetailDocument as ApiSearchResponseComponentDetailDocument
|
|
121
|
+
from sonatype_guide_api_client.models.api_search_response_component_document import ApiSearchResponseComponentDocument as ApiSearchResponseComponentDocument
|
|
122
|
+
from sonatype_guide_api_client.models.api_search_response_vulnerability_document import ApiSearchResponseVulnerabilityDocument as ApiSearchResponseVulnerabilityDocument
|
|
123
|
+
from sonatype_guide_api_client.models.billing_dto import BillingDTO as BillingDTO
|
|
124
|
+
from sonatype_guide_api_client.models.billing_period import BillingPeriod as BillingPeriod
|
|
125
|
+
from sonatype_guide_api_client.models.billing_periods_response import BillingPeriodsResponse as BillingPeriodsResponse
|
|
126
|
+
from sonatype_guide_api_client.models.bulk_remove_members_request import BulkRemoveMembersRequest as BulkRemoveMembersRequest
|
|
127
|
+
from sonatype_guide_api_client.models.component_artifact import ComponentArtifact as ComponentArtifact
|
|
128
|
+
from sonatype_guide_api_client.models.component_detail_document import ComponentDetailDocument as ComponentDetailDocument
|
|
129
|
+
from sonatype_guide_api_client.models.component_document import ComponentDocument as ComponentDocument
|
|
130
|
+
from sonatype_guide_api_client.models.component_license import ComponentLicense as ComponentLicense
|
|
131
|
+
from sonatype_guide_api_client.models.component_report_get import ComponentReportGet as ComponentReportGet
|
|
132
|
+
from sonatype_guide_api_client.models.component_report_post import ComponentReportPost as ComponentReportPost
|
|
133
|
+
from sonatype_guide_api_client.models.create_token_request import CreateTokenRequest as CreateTokenRequest
|
|
134
|
+
from sonatype_guide_api_client.models.credit_balance import CreditBalance as CreditBalance
|
|
135
|
+
from sonatype_guide_api_client.models.credit_usage import CreditUsage as CreditUsage
|
|
136
|
+
from sonatype_guide_api_client.models.cumulative_credit_usage import CumulativeCreditUsage as CumulativeCreditUsage
|
|
137
|
+
from sonatype_guide_api_client.models.current_user_organization_response import CurrentUserOrganizationResponse as CurrentUserOrganizationResponse
|
|
138
|
+
from sonatype_guide_api_client.models.customer_info import CustomerInfo as CustomerInfo
|
|
139
|
+
from sonatype_guide_api_client.models.daily_credit_usage import DailyCreditUsage as DailyCreditUsage
|
|
140
|
+
from sonatype_guide_api_client.models.from_version import FromVersion as FromVersion
|
|
141
|
+
from sonatype_guide_api_client.models.invite_users_request import InviteUsersRequest as InviteUsersRequest
|
|
142
|
+
from sonatype_guide_api_client.models.invoice import Invoice as Invoice
|
|
143
|
+
from sonatype_guide_api_client.models.organization_billing_dto import OrganizationBillingDTO as OrganizationBillingDTO
|
|
144
|
+
from sonatype_guide_api_client.models.organization_dtov2 import OrganizationDTOv2 as OrganizationDTOv2
|
|
145
|
+
from sonatype_guide_api_client.models.organization_members_response import OrganizationMembersResponse as OrganizationMembersResponse
|
|
146
|
+
from sonatype_guide_api_client.models.organization_plan_dto import OrganizationPlanDTO as OrganizationPlanDTO
|
|
147
|
+
from sonatype_guide_api_client.models.organization_response import OrganizationResponse as OrganizationResponse
|
|
148
|
+
from sonatype_guide_api_client.models.organization_usage_dto import OrganizationUsageDTO as OrganizationUsageDTO
|
|
149
|
+
from sonatype_guide_api_client.models.ossi_vulnerability_post import OssiVulnerabilityPost as OssiVulnerabilityPost
|
|
150
|
+
from sonatype_guide_api_client.models.period_dto import PeriodDTO as PeriodDTO
|
|
151
|
+
from sonatype_guide_api_client.models.plan import Plan as Plan
|
|
152
|
+
from sonatype_guide_api_client.models.plan_dtov2 import PlanDTOv2 as PlanDTOv2
|
|
153
|
+
from sonatype_guide_api_client.models.plan_info import PlanInfo as PlanInfo
|
|
154
|
+
from sonatype_guide_api_client.models.plans_response import PlansResponse as PlansResponse
|
|
155
|
+
from sonatype_guide_api_client.models.purl_request_post import PurlRequestPost as PurlRequestPost
|
|
156
|
+
from sonatype_guide_api_client.models.recommendation_request import RecommendationRequest as RecommendationRequest
|
|
157
|
+
from sonatype_guide_api_client.models.recommendation_response import RecommendationResponse as RecommendationResponse
|
|
158
|
+
from sonatype_guide_api_client.models.recommended_version import RecommendedVersion as RecommendedVersion
|
|
159
|
+
from sonatype_guide_api_client.models.reference import Reference as Reference
|
|
160
|
+
from sonatype_guide_api_client.models.refid import Refid as Refid
|
|
161
|
+
from sonatype_guide_api_client.models.subscription_details_response import SubscriptionDetailsResponse as SubscriptionDetailsResponse
|
|
162
|
+
from sonatype_guide_api_client.models.update_organization_request import UpdateOrganizationRequest as UpdateOrganizationRequest
|
|
163
|
+
from sonatype_guide_api_client.models.usage_dto import UsageDTO as UsageDTO
|
|
164
|
+
from sonatype_guide_api_client.models.user_token_dto import UserTokenDTO as UserTokenDTO
|
|
165
|
+
from sonatype_guide_api_client.models.user_token_with_plaintext_dto import UserTokenWithPlaintextDTO as UserTokenWithPlaintextDTO
|
|
166
|
+
from sonatype_guide_api_client.models.vulnerability_detail_document import VulnerabilityDetailDocument as VulnerabilityDetailDocument
|
|
167
|
+
from sonatype_guide_api_client.models.vulnerability_document import VulnerabilityDocument as VulnerabilityDocument
|
|
168
|
+
from sonatype_guide_api_client.models.vulnerable_method import VulnerableMethod as VulnerableMethod
|
|
169
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
# import apis into api package
|
|
4
|
+
from sonatype_guide_api_client.api.billing_api import BillingApi
|
|
5
|
+
from sonatype_guide_api_client.api.components_api import ComponentsApi
|
|
6
|
+
from sonatype_guide_api_client.api.credits_api import CreditsApi
|
|
7
|
+
from sonatype_guide_api_client.api.current_user_organization_api import CurrentUserOrganizationApi
|
|
8
|
+
from sonatype_guide_api_client.api.current_user_tokens_api import CurrentUserTokensApi
|
|
9
|
+
from sonatype_guide_api_client.api.recommendations_api import RecommendationsApi
|
|
10
|
+
from sonatype_guide_api_client.api.usage_api import UsageApi
|
|
11
|
+
from sonatype_guide_api_client.api.vulnerabilities_api import VulnerabilitiesApi
|
|
12
|
+
from sonatype_guide_api_client.api.ossi_controller_api import OssiControllerApi
|
|
13
|
+
|