autoassembler 0.3.1__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.
- autoassembler/.fernignore +7 -0
- autoassembler/__init__.py +537 -0
- autoassembler/_custom/__init__.py +56 -0
- autoassembler/_custom/assemblies.py +226 -0
- autoassembler/_custom/assemblies_api.py +188 -0
- autoassembler/_custom/credentials.py +248 -0
- autoassembler/_custom/http.py +42 -0
- autoassembler/_custom/operations.py +258 -0
- autoassembler/_custom/planning.py +598 -0
- autoassembler/_custom/planning_api.py +225 -0
- autoassembler/_default_clients.py +32 -0
- autoassembler/_version.py +8 -0
- autoassembler/alpha/__init__.py +63 -0
- autoassembler/alpha/client.py +82 -0
- autoassembler/alpha/jobs/__init__.py +39 -0
- autoassembler/alpha/jobs/client.py +338 -0
- autoassembler/alpha/jobs/raw_client.py +641 -0
- autoassembler/alpha/jobs/types/__init__.py +42 -0
- autoassembler/alpha/jobs/types/cancel_job_jobs_response.py +12 -0
- autoassembler/alpha/jobs/types/list_jobs_jobs_response.py +30 -0
- autoassembler/alpha/jobs/types/list_jobs_jobs_response_pagination.py +22 -0
- autoassembler/alpha/jobs/types/retry_job_jobs_response.py +16 -0
- autoassembler/alpha/planning/__init__.py +49 -0
- autoassembler/alpha/planning/client.py +201 -0
- autoassembler/alpha/planning/raw_client.py +268 -0
- autoassembler/alpha/planning/types/__init__.py +47 -0
- autoassembler/alpha/planning/types/apply_ops_planning_request_namespace.py +5 -0
- autoassembler/alpha/planning/types/apply_ops_planning_request_ops_item.py +13 -0
- autoassembler/alpha/planning/types/apply_ops_planning_request_ops_item_op.py +58 -0
- autoassembler/alpha/planning/types/apply_ops_planning_response.py +13 -0
- autoassembler/alpha/raw_client.py +13 -0
- autoassembler/assemblies/__init__.py +73 -0
- autoassembler/assemblies/client.py +1177 -0
- autoassembler/assemblies/raw_client.py +1557 -0
- autoassembler/assemblies/types/__init__.py +71 -0
- autoassembler/assemblies/types/delete_assembly_response.py +12 -0
- autoassembler/assemblies/types/download_assembly_cad_request_namespace.py +5 -0
- autoassembler/assemblies/types/get_assembly_info_request_namespace.py +5 -0
- autoassembler/assemblies/types/get_status_request_namespace.py +5 -0
- autoassembler/assemblies/types/get_status_response.py +16 -0
- autoassembler/assemblies/types/get_status_response_progress.py +13 -0
- autoassembler/assemblies/types/get_status_response_status.py +7 -0
- autoassembler/assemblies/types/get_structure_request_namespace.py +5 -0
- autoassembler/assemblies/types/list_assembly_versions_request_namespace.py +5 -0
- autoassembler/assemblies/types/list_connections_request_namespace.py +5 -0
- autoassembler/assemblies/types/process_request_namespace.py +5 -0
- autoassembler/assemblies/types/update_assembly_info_request_namespace.py +5 -0
- autoassembler/auth/__init__.py +34 -0
- autoassembler/auth/client.py +282 -0
- autoassembler/auth/raw_client.py +413 -0
- autoassembler/auth/types/__init__.py +36 -0
- autoassembler/auth/types/create_access_token_request_grant_type.py +7 -0
- autoassembler/base_client.py +328 -0
- autoassembler/client.py +262 -0
- autoassembler/core/__init__.py +127 -0
- autoassembler/core/api_error.py +23 -0
- autoassembler/core/client_wrapper.py +147 -0
- autoassembler/core/datetime_utils.py +70 -0
- autoassembler/core/file.py +67 -0
- autoassembler/core/force_multipart.py +18 -0
- autoassembler/core/http_client.py +965 -0
- autoassembler/core/http_response.py +63 -0
- autoassembler/core/http_sse/__init__.py +42 -0
- autoassembler/core/http_sse/_api.py +455 -0
- autoassembler/core/http_sse/_decoders.py +74 -0
- autoassembler/core/http_sse/_exceptions.py +7 -0
- autoassembler/core/http_sse/_models.py +17 -0
- autoassembler/core/jsonable_encoder.py +133 -0
- autoassembler/core/logging.py +107 -0
- autoassembler/core/parse_error.py +36 -0
- autoassembler/core/pydantic_utilities.py +486 -0
- autoassembler/core/query_encoder.py +58 -0
- autoassembler/core/remove_none_from_dict.py +11 -0
- autoassembler/core/request_options.py +40 -0
- autoassembler/core/serialization.py +347 -0
- autoassembler/environment.py +7 -0
- autoassembler/errors/__init__.py +56 -0
- autoassembler/errors/bad_request_error.py +10 -0
- autoassembler/errors/conflict_error.py +10 -0
- autoassembler/errors/forbidden_error.py +11 -0
- autoassembler/errors/internal_server_error.py +11 -0
- autoassembler/errors/not_found_error.py +11 -0
- autoassembler/errors/unauthorized_error.py +10 -0
- autoassembler/errors/unprocessable_entity_error.py +11 -0
- autoassembler/operation.py +196 -0
- autoassembler/operations/__init__.py +4 -0
- autoassembler/operations/client.py +209 -0
- autoassembler/operations/raw_client.py +343 -0
- autoassembler/planning/__init__.py +70 -0
- autoassembler/planning/client.py +1174 -0
- autoassembler/planning/raw_client.py +1349 -0
- autoassembler/planning/types/__init__.py +68 -0
- autoassembler/planning/types/adapt_request_namespace.py +5 -0
- autoassembler/planning/types/create_mpp_request_body.py +8 -0
- autoassembler/planning/types/create_mpp_request_namespace.py +5 -0
- autoassembler/planning/types/delete_mpp_request_namespace.py +5 -0
- autoassembler/planning/types/delete_mpp_response.py +12 -0
- autoassembler/planning/types/evaluate_dfa_request_namespace.py +5 -0
- autoassembler/planning/types/get_mpp_request_namespace.py +5 -0
- autoassembler/planning/types/get_mpp_response.py +27 -0
- autoassembler/planning/types/list_mpps_request_namespace.py +5 -0
- autoassembler/planning/types/plan_request_namespace.py +5 -0
- autoassembler/planning/types/validate_request_namespace.py +5 -0
- autoassembler/py.typed +0 -0
- autoassembler/sessions/__init__.py +4 -0
- autoassembler/sessions/client.py +102 -0
- autoassembler/sessions/raw_client.py +126 -0
- autoassembler/types/__init__.py +344 -0
- autoassembler/types/access_token_response.py +14 -0
- autoassembler/types/active_session.py +25 -0
- autoassembler/types/active_session_namespace.py +5 -0
- autoassembler/types/adapt_mpp_accepted.py +26 -0
- autoassembler/types/assembly.py +30 -0
- autoassembler/types/assembly_connection.py +21 -0
- autoassembler/types/assembly_connection_relationship.py +5 -0
- autoassembler/types/assembly_connections_response.py +13 -0
- autoassembler/types/assembly_diff_metadata.py +35 -0
- autoassembler/types/assembly_diff_response.py +34 -0
- autoassembler/types/assembly_info.py +36 -0
- autoassembler/types/assembly_json_response.py +15 -0
- autoassembler/types/assembly_process_metadata.py +32 -0
- autoassembler/types/assembly_process_response.py +18 -0
- autoassembler/types/assembly_search_hit.py +31 -0
- autoassembler/types/assembly_version_summary.py +27 -0
- autoassembler/types/conflict_error_body.py +19 -0
- autoassembler/types/conflict_error_body_error.py +5 -0
- autoassembler/types/create_mpp_request.py +13 -0
- autoassembler/types/device_authorization_response.py +17 -0
- autoassembler/types/diff_accepted.py +42 -0
- autoassembler/types/diff_context_node.py +20 -0
- autoassembler/types/diff_details.py +73 -0
- autoassembler/types/diff_error_response.py +38 -0
- autoassembler/types/diff_flags.py +74 -0
- autoassembler/types/diff_ml_semantics.py +55 -0
- autoassembler/types/diff_node.py +26 -0
- autoassembler/types/diff_node_pair_with_parts.py +90 -0
- autoassembler/types/diff_node_with_parent.py +15 -0
- autoassembler/types/diff_reference_target_nodes.py +25 -0
- autoassembler/types/diff_report.py +24 -0
- autoassembler/types/diff_rigid_alignment.py +30 -0
- autoassembler/types/diff_summary.py +121 -0
- autoassembler/types/diff_summary_assembly_labels.py +44 -0
- autoassembler/types/diff_summary_geometric_diffs.py +24 -0
- autoassembler/types/diff_summary_persistent_edges_congruence.py +24 -0
- autoassembler/types/diff_summary_persistent_edges_congruence_pose.py +24 -0
- autoassembler/types/diff_summary_persistent_nodes_congruence.py +24 -0
- autoassembler/types/diff_summary_persistent_nodes_congruence_pose.py +24 -0
- autoassembler/types/diff_summary_total_parts.py +24 -0
- autoassembler/types/diff_swap.py +65 -0
- autoassembler/types/diff_swap_confidence.py +5 -0
- autoassembler/types/diff_swap_group.py +92 -0
- autoassembler/types/diff_validation_issue.py +38 -0
- autoassembler/types/diff_validation_issue_severity.py +5 -0
- autoassembler/types/diff_validation_result.py +35 -0
- autoassembler/types/diff_warning.py +79 -0
- autoassembler/types/diff_warning_reason.py +18 -0
- autoassembler/types/diff_warning_severity.py +5 -0
- autoassembler/types/error_response.py +30 -0
- autoassembler/types/filter.py +19 -0
- autoassembler/types/filter_field.py +7 -0
- autoassembler/types/filter_operator.py +5 -0
- autoassembler/types/job.py +123 -0
- autoassembler/types/job_progress.py +24 -0
- autoassembler/types/job_status.py +5 -0
- autoassembler/types/list_operations_response.py +25 -0
- autoassembler/types/manufacturing_process_plan.py +57 -0
- autoassembler/types/mpp_adapt_metadata.py +48 -0
- autoassembler/types/mpp_adapt_response.py +22 -0
- autoassembler/types/mpp_evaluate_dfa_metadata.py +47 -0
- autoassembler/types/mpp_evaluate_dfa_response.py +22 -0
- autoassembler/types/mpp_plan_metadata.py +47 -0
- autoassembler/types/mpp_plan_response.py +22 -0
- autoassembler/types/mpp_summary.py +20 -0
- autoassembler/types/mpp_validate_metadata.py +47 -0
- autoassembler/types/mpp_validate_response.py +22 -0
- autoassembler/types/o_auth_error_response.py +14 -0
- autoassembler/types/o_auth_error_response_error.py +18 -0
- autoassembler/types/operation.py +27 -0
- autoassembler/types/operation_error.py +21 -0
- autoassembler/types/operation_metadata.py +148 -0
- autoassembler/types/operation_response.py +94 -0
- autoassembler/types/process_assembly_accepted.py +14 -0
- autoassembler/types/process_assembly_response.py +55 -0
- autoassembler/types/process_assembly_skipped.py +14 -0
- autoassembler/types/search_assemblies_response.py +14 -0
- autoassembler/types/seq_plan_accepted.py +24 -0
- autoassembler/types/sever.py +33 -0
- autoassembler/types/sever_kind.py +5 -0
- autoassembler/types/sever_source.py +5 -0
- autoassembler/types/sort.py +8 -0
- autoassembler/types/upload_response.py +19 -0
- autoassembler/types/user_info.py +19 -0
- autoassembler/types/user_info_response.py +23 -0
- autoassembler/types/user_info_response_providers.py +14 -0
- autoassembler-0.3.1.dist-info/METADATA +209 -0
- autoassembler-0.3.1.dist-info/RECORD +198 -0
- autoassembler-0.3.1.dist-info/WHEEL +4 -0
- autoassembler-0.3.1.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
# isort: skip_file
|
|
4
|
+
|
|
5
|
+
import typing
|
|
6
|
+
from importlib import import_module
|
|
7
|
+
|
|
8
|
+
if typing.TYPE_CHECKING:
|
|
9
|
+
from .access_token_response import AccessTokenResponse
|
|
10
|
+
from .active_session import ActiveSession
|
|
11
|
+
from .active_session_namespace import ActiveSessionNamespace
|
|
12
|
+
from .adapt_mpp_accepted import AdaptMppAccepted
|
|
13
|
+
from .assembly import Assembly
|
|
14
|
+
from .assembly_connection import AssemblyConnection
|
|
15
|
+
from .assembly_connection_relationship import AssemblyConnectionRelationship
|
|
16
|
+
from .assembly_connections_response import AssemblyConnectionsResponse
|
|
17
|
+
from .assembly_diff_metadata import AssemblyDiffMetadata
|
|
18
|
+
from .assembly_diff_response import AssemblyDiffResponse
|
|
19
|
+
from .assembly_info import AssemblyInfo
|
|
20
|
+
from .assembly_json_response import AssemblyJsonResponse
|
|
21
|
+
from .assembly_process_metadata import AssemblyProcessMetadata
|
|
22
|
+
from .assembly_process_response import AssemblyProcessResponse
|
|
23
|
+
from .assembly_search_hit import AssemblySearchHit
|
|
24
|
+
from .assembly_version_summary import AssemblyVersionSummary
|
|
25
|
+
from .conflict_error_body import ConflictErrorBody
|
|
26
|
+
from .conflict_error_body_error import ConflictErrorBodyError
|
|
27
|
+
from .create_mpp_request import CreateMppRequest
|
|
28
|
+
from .device_authorization_response import DeviceAuthorizationResponse
|
|
29
|
+
from .diff_accepted import DiffAccepted
|
|
30
|
+
from .diff_context_node import DiffContextNode
|
|
31
|
+
from .diff_details import DiffDetails
|
|
32
|
+
from .diff_error_response import DiffErrorResponse
|
|
33
|
+
from .diff_flags import DiffFlags
|
|
34
|
+
from .diff_ml_semantics import DiffMlSemantics
|
|
35
|
+
from .diff_node import DiffNode
|
|
36
|
+
from .diff_node_pair_with_parts import DiffNodePairWithParts
|
|
37
|
+
from .diff_node_with_parent import DiffNodeWithParent
|
|
38
|
+
from .diff_reference_target_nodes import DiffReferenceTargetNodes
|
|
39
|
+
from .diff_report import DiffReport
|
|
40
|
+
from .diff_rigid_alignment import DiffRigidAlignment
|
|
41
|
+
from .diff_summary import DiffSummary
|
|
42
|
+
from .diff_summary_assembly_labels import DiffSummaryAssemblyLabels
|
|
43
|
+
from .diff_summary_geometric_diffs import DiffSummaryGeometricDiffs
|
|
44
|
+
from .diff_summary_persistent_edges_congruence import DiffSummaryPersistentEdgesCongruence
|
|
45
|
+
from .diff_summary_persistent_edges_congruence_pose import DiffSummaryPersistentEdgesCongruencePose
|
|
46
|
+
from .diff_summary_persistent_nodes_congruence import DiffSummaryPersistentNodesCongruence
|
|
47
|
+
from .diff_summary_persistent_nodes_congruence_pose import DiffSummaryPersistentNodesCongruencePose
|
|
48
|
+
from .diff_summary_total_parts import DiffSummaryTotalParts
|
|
49
|
+
from .diff_swap import DiffSwap
|
|
50
|
+
from .diff_swap_confidence import DiffSwapConfidence
|
|
51
|
+
from .diff_swap_group import DiffSwapGroup
|
|
52
|
+
from .diff_validation_issue import DiffValidationIssue
|
|
53
|
+
from .diff_validation_issue_severity import DiffValidationIssueSeverity
|
|
54
|
+
from .diff_validation_result import DiffValidationResult
|
|
55
|
+
from .diff_warning import DiffWarning
|
|
56
|
+
from .diff_warning_reason import DiffWarningReason
|
|
57
|
+
from .diff_warning_severity import DiffWarningSeverity
|
|
58
|
+
from .error_response import ErrorResponse
|
|
59
|
+
from .filter import Filter
|
|
60
|
+
from .filter_field import FilterField
|
|
61
|
+
from .filter_operator import FilterOperator
|
|
62
|
+
from .job import Job
|
|
63
|
+
from .job_progress import JobProgress
|
|
64
|
+
from .job_status import JobStatus
|
|
65
|
+
from .list_operations_response import ListOperationsResponse
|
|
66
|
+
from .manufacturing_process_plan import ManufacturingProcessPlan
|
|
67
|
+
from .mpp_adapt_metadata import MppAdaptMetadata
|
|
68
|
+
from .mpp_adapt_response import MppAdaptResponse
|
|
69
|
+
from .mpp_evaluate_dfa_metadata import MppEvaluateDfaMetadata
|
|
70
|
+
from .mpp_evaluate_dfa_response import MppEvaluateDfaResponse
|
|
71
|
+
from .mpp_plan_metadata import MppPlanMetadata
|
|
72
|
+
from .mpp_plan_response import MppPlanResponse
|
|
73
|
+
from .mpp_summary import MppSummary
|
|
74
|
+
from .mpp_validate_metadata import MppValidateMetadata
|
|
75
|
+
from .mpp_validate_response import MppValidateResponse
|
|
76
|
+
from .o_auth_error_response import OAuthErrorResponse
|
|
77
|
+
from .o_auth_error_response_error import OAuthErrorResponseError
|
|
78
|
+
from .operation import Operation
|
|
79
|
+
from .operation_error import OperationError
|
|
80
|
+
from .operation_metadata import (
|
|
81
|
+
OperationMetadata,
|
|
82
|
+
OperationMetadata_AssemblyDiff,
|
|
83
|
+
OperationMetadata_AssemblyProcess,
|
|
84
|
+
OperationMetadata_MppAdapt,
|
|
85
|
+
OperationMetadata_MppEvaluateDfa,
|
|
86
|
+
OperationMetadata_MppPlan,
|
|
87
|
+
OperationMetadata_MppValidate,
|
|
88
|
+
)
|
|
89
|
+
from .operation_response import (
|
|
90
|
+
OperationResponse,
|
|
91
|
+
OperationResponse_AssemblyDiff,
|
|
92
|
+
OperationResponse_AssemblyProcess,
|
|
93
|
+
OperationResponse_MppAdapt,
|
|
94
|
+
OperationResponse_MppEvaluateDfa,
|
|
95
|
+
OperationResponse_MppPlan,
|
|
96
|
+
OperationResponse_MppValidate,
|
|
97
|
+
)
|
|
98
|
+
from .process_assembly_accepted import ProcessAssemblyAccepted
|
|
99
|
+
from .process_assembly_response import (
|
|
100
|
+
ProcessAssemblyResponse,
|
|
101
|
+
ProcessAssemblyResponse_AlreadyProcessed,
|
|
102
|
+
ProcessAssemblyResponse_CacheCleared,
|
|
103
|
+
ProcessAssemblyResponse_Ok,
|
|
104
|
+
)
|
|
105
|
+
from .process_assembly_skipped import ProcessAssemblySkipped
|
|
106
|
+
from .search_assemblies_response import SearchAssembliesResponse
|
|
107
|
+
from .seq_plan_accepted import SeqPlanAccepted
|
|
108
|
+
from .sever import Sever
|
|
109
|
+
from .sever_kind import SeverKind
|
|
110
|
+
from .sever_source import SeverSource
|
|
111
|
+
from .sort import Sort
|
|
112
|
+
from .upload_response import UploadResponse
|
|
113
|
+
from .user_info import UserInfo
|
|
114
|
+
from .user_info_response import UserInfoResponse
|
|
115
|
+
from .user_info_response_providers import UserInfoResponseProviders
|
|
116
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
117
|
+
"AccessTokenResponse": ".access_token_response",
|
|
118
|
+
"ActiveSession": ".active_session",
|
|
119
|
+
"ActiveSessionNamespace": ".active_session_namespace",
|
|
120
|
+
"AdaptMppAccepted": ".adapt_mpp_accepted",
|
|
121
|
+
"Assembly": ".assembly",
|
|
122
|
+
"AssemblyConnection": ".assembly_connection",
|
|
123
|
+
"AssemblyConnectionRelationship": ".assembly_connection_relationship",
|
|
124
|
+
"AssemblyConnectionsResponse": ".assembly_connections_response",
|
|
125
|
+
"AssemblyDiffMetadata": ".assembly_diff_metadata",
|
|
126
|
+
"AssemblyDiffResponse": ".assembly_diff_response",
|
|
127
|
+
"AssemblyInfo": ".assembly_info",
|
|
128
|
+
"AssemblyJsonResponse": ".assembly_json_response",
|
|
129
|
+
"AssemblyProcessMetadata": ".assembly_process_metadata",
|
|
130
|
+
"AssemblyProcessResponse": ".assembly_process_response",
|
|
131
|
+
"AssemblySearchHit": ".assembly_search_hit",
|
|
132
|
+
"AssemblyVersionSummary": ".assembly_version_summary",
|
|
133
|
+
"ConflictErrorBody": ".conflict_error_body",
|
|
134
|
+
"ConflictErrorBodyError": ".conflict_error_body_error",
|
|
135
|
+
"CreateMppRequest": ".create_mpp_request",
|
|
136
|
+
"DeviceAuthorizationResponse": ".device_authorization_response",
|
|
137
|
+
"DiffAccepted": ".diff_accepted",
|
|
138
|
+
"DiffContextNode": ".diff_context_node",
|
|
139
|
+
"DiffDetails": ".diff_details",
|
|
140
|
+
"DiffErrorResponse": ".diff_error_response",
|
|
141
|
+
"DiffFlags": ".diff_flags",
|
|
142
|
+
"DiffMlSemantics": ".diff_ml_semantics",
|
|
143
|
+
"DiffNode": ".diff_node",
|
|
144
|
+
"DiffNodePairWithParts": ".diff_node_pair_with_parts",
|
|
145
|
+
"DiffNodeWithParent": ".diff_node_with_parent",
|
|
146
|
+
"DiffReferenceTargetNodes": ".diff_reference_target_nodes",
|
|
147
|
+
"DiffReport": ".diff_report",
|
|
148
|
+
"DiffRigidAlignment": ".diff_rigid_alignment",
|
|
149
|
+
"DiffSummary": ".diff_summary",
|
|
150
|
+
"DiffSummaryAssemblyLabels": ".diff_summary_assembly_labels",
|
|
151
|
+
"DiffSummaryGeometricDiffs": ".diff_summary_geometric_diffs",
|
|
152
|
+
"DiffSummaryPersistentEdgesCongruence": ".diff_summary_persistent_edges_congruence",
|
|
153
|
+
"DiffSummaryPersistentEdgesCongruencePose": ".diff_summary_persistent_edges_congruence_pose",
|
|
154
|
+
"DiffSummaryPersistentNodesCongruence": ".diff_summary_persistent_nodes_congruence",
|
|
155
|
+
"DiffSummaryPersistentNodesCongruencePose": ".diff_summary_persistent_nodes_congruence_pose",
|
|
156
|
+
"DiffSummaryTotalParts": ".diff_summary_total_parts",
|
|
157
|
+
"DiffSwap": ".diff_swap",
|
|
158
|
+
"DiffSwapConfidence": ".diff_swap_confidence",
|
|
159
|
+
"DiffSwapGroup": ".diff_swap_group",
|
|
160
|
+
"DiffValidationIssue": ".diff_validation_issue",
|
|
161
|
+
"DiffValidationIssueSeverity": ".diff_validation_issue_severity",
|
|
162
|
+
"DiffValidationResult": ".diff_validation_result",
|
|
163
|
+
"DiffWarning": ".diff_warning",
|
|
164
|
+
"DiffWarningReason": ".diff_warning_reason",
|
|
165
|
+
"DiffWarningSeverity": ".diff_warning_severity",
|
|
166
|
+
"ErrorResponse": ".error_response",
|
|
167
|
+
"Filter": ".filter",
|
|
168
|
+
"FilterField": ".filter_field",
|
|
169
|
+
"FilterOperator": ".filter_operator",
|
|
170
|
+
"Job": ".job",
|
|
171
|
+
"JobProgress": ".job_progress",
|
|
172
|
+
"JobStatus": ".job_status",
|
|
173
|
+
"ListOperationsResponse": ".list_operations_response",
|
|
174
|
+
"ManufacturingProcessPlan": ".manufacturing_process_plan",
|
|
175
|
+
"MppAdaptMetadata": ".mpp_adapt_metadata",
|
|
176
|
+
"MppAdaptResponse": ".mpp_adapt_response",
|
|
177
|
+
"MppEvaluateDfaMetadata": ".mpp_evaluate_dfa_metadata",
|
|
178
|
+
"MppEvaluateDfaResponse": ".mpp_evaluate_dfa_response",
|
|
179
|
+
"MppPlanMetadata": ".mpp_plan_metadata",
|
|
180
|
+
"MppPlanResponse": ".mpp_plan_response",
|
|
181
|
+
"MppSummary": ".mpp_summary",
|
|
182
|
+
"MppValidateMetadata": ".mpp_validate_metadata",
|
|
183
|
+
"MppValidateResponse": ".mpp_validate_response",
|
|
184
|
+
"OAuthErrorResponse": ".o_auth_error_response",
|
|
185
|
+
"OAuthErrorResponseError": ".o_auth_error_response_error",
|
|
186
|
+
"Operation": ".operation",
|
|
187
|
+
"OperationError": ".operation_error",
|
|
188
|
+
"OperationMetadata": ".operation_metadata",
|
|
189
|
+
"OperationMetadata_AssemblyDiff": ".operation_metadata",
|
|
190
|
+
"OperationMetadata_AssemblyProcess": ".operation_metadata",
|
|
191
|
+
"OperationMetadata_MppAdapt": ".operation_metadata",
|
|
192
|
+
"OperationMetadata_MppEvaluateDfa": ".operation_metadata",
|
|
193
|
+
"OperationMetadata_MppPlan": ".operation_metadata",
|
|
194
|
+
"OperationMetadata_MppValidate": ".operation_metadata",
|
|
195
|
+
"OperationResponse": ".operation_response",
|
|
196
|
+
"OperationResponse_AssemblyDiff": ".operation_response",
|
|
197
|
+
"OperationResponse_AssemblyProcess": ".operation_response",
|
|
198
|
+
"OperationResponse_MppAdapt": ".operation_response",
|
|
199
|
+
"OperationResponse_MppEvaluateDfa": ".operation_response",
|
|
200
|
+
"OperationResponse_MppPlan": ".operation_response",
|
|
201
|
+
"OperationResponse_MppValidate": ".operation_response",
|
|
202
|
+
"ProcessAssemblyAccepted": ".process_assembly_accepted",
|
|
203
|
+
"ProcessAssemblyResponse": ".process_assembly_response",
|
|
204
|
+
"ProcessAssemblyResponse_AlreadyProcessed": ".process_assembly_response",
|
|
205
|
+
"ProcessAssemblyResponse_CacheCleared": ".process_assembly_response",
|
|
206
|
+
"ProcessAssemblyResponse_Ok": ".process_assembly_response",
|
|
207
|
+
"ProcessAssemblySkipped": ".process_assembly_skipped",
|
|
208
|
+
"SearchAssembliesResponse": ".search_assemblies_response",
|
|
209
|
+
"SeqPlanAccepted": ".seq_plan_accepted",
|
|
210
|
+
"Sever": ".sever",
|
|
211
|
+
"SeverKind": ".sever_kind",
|
|
212
|
+
"SeverSource": ".sever_source",
|
|
213
|
+
"Sort": ".sort",
|
|
214
|
+
"UploadResponse": ".upload_response",
|
|
215
|
+
"UserInfo": ".user_info",
|
|
216
|
+
"UserInfoResponse": ".user_info_response",
|
|
217
|
+
"UserInfoResponseProviders": ".user_info_response_providers",
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
222
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
223
|
+
if module_name is None:
|
|
224
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
225
|
+
try:
|
|
226
|
+
module = import_module(module_name, __package__)
|
|
227
|
+
if module_name == f".{attr_name}":
|
|
228
|
+
return module
|
|
229
|
+
else:
|
|
230
|
+
return getattr(module, attr_name)
|
|
231
|
+
except ImportError as e:
|
|
232
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
233
|
+
except AttributeError as e:
|
|
234
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
def __dir__():
|
|
238
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
239
|
+
return sorted(lazy_attrs)
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
__all__ = [
|
|
243
|
+
"AccessTokenResponse",
|
|
244
|
+
"ActiveSession",
|
|
245
|
+
"ActiveSessionNamespace",
|
|
246
|
+
"AdaptMppAccepted",
|
|
247
|
+
"Assembly",
|
|
248
|
+
"AssemblyConnection",
|
|
249
|
+
"AssemblyConnectionRelationship",
|
|
250
|
+
"AssemblyConnectionsResponse",
|
|
251
|
+
"AssemblyDiffMetadata",
|
|
252
|
+
"AssemblyDiffResponse",
|
|
253
|
+
"AssemblyInfo",
|
|
254
|
+
"AssemblyJsonResponse",
|
|
255
|
+
"AssemblyProcessMetadata",
|
|
256
|
+
"AssemblyProcessResponse",
|
|
257
|
+
"AssemblySearchHit",
|
|
258
|
+
"AssemblyVersionSummary",
|
|
259
|
+
"ConflictErrorBody",
|
|
260
|
+
"ConflictErrorBodyError",
|
|
261
|
+
"CreateMppRequest",
|
|
262
|
+
"DeviceAuthorizationResponse",
|
|
263
|
+
"DiffAccepted",
|
|
264
|
+
"DiffContextNode",
|
|
265
|
+
"DiffDetails",
|
|
266
|
+
"DiffErrorResponse",
|
|
267
|
+
"DiffFlags",
|
|
268
|
+
"DiffMlSemantics",
|
|
269
|
+
"DiffNode",
|
|
270
|
+
"DiffNodePairWithParts",
|
|
271
|
+
"DiffNodeWithParent",
|
|
272
|
+
"DiffReferenceTargetNodes",
|
|
273
|
+
"DiffReport",
|
|
274
|
+
"DiffRigidAlignment",
|
|
275
|
+
"DiffSummary",
|
|
276
|
+
"DiffSummaryAssemblyLabels",
|
|
277
|
+
"DiffSummaryGeometricDiffs",
|
|
278
|
+
"DiffSummaryPersistentEdgesCongruence",
|
|
279
|
+
"DiffSummaryPersistentEdgesCongruencePose",
|
|
280
|
+
"DiffSummaryPersistentNodesCongruence",
|
|
281
|
+
"DiffSummaryPersistentNodesCongruencePose",
|
|
282
|
+
"DiffSummaryTotalParts",
|
|
283
|
+
"DiffSwap",
|
|
284
|
+
"DiffSwapConfidence",
|
|
285
|
+
"DiffSwapGroup",
|
|
286
|
+
"DiffValidationIssue",
|
|
287
|
+
"DiffValidationIssueSeverity",
|
|
288
|
+
"DiffValidationResult",
|
|
289
|
+
"DiffWarning",
|
|
290
|
+
"DiffWarningReason",
|
|
291
|
+
"DiffWarningSeverity",
|
|
292
|
+
"ErrorResponse",
|
|
293
|
+
"Filter",
|
|
294
|
+
"FilterField",
|
|
295
|
+
"FilterOperator",
|
|
296
|
+
"Job",
|
|
297
|
+
"JobProgress",
|
|
298
|
+
"JobStatus",
|
|
299
|
+
"ListOperationsResponse",
|
|
300
|
+
"ManufacturingProcessPlan",
|
|
301
|
+
"MppAdaptMetadata",
|
|
302
|
+
"MppAdaptResponse",
|
|
303
|
+
"MppEvaluateDfaMetadata",
|
|
304
|
+
"MppEvaluateDfaResponse",
|
|
305
|
+
"MppPlanMetadata",
|
|
306
|
+
"MppPlanResponse",
|
|
307
|
+
"MppSummary",
|
|
308
|
+
"MppValidateMetadata",
|
|
309
|
+
"MppValidateResponse",
|
|
310
|
+
"OAuthErrorResponse",
|
|
311
|
+
"OAuthErrorResponseError",
|
|
312
|
+
"Operation",
|
|
313
|
+
"OperationError",
|
|
314
|
+
"OperationMetadata",
|
|
315
|
+
"OperationMetadata_AssemblyDiff",
|
|
316
|
+
"OperationMetadata_AssemblyProcess",
|
|
317
|
+
"OperationMetadata_MppAdapt",
|
|
318
|
+
"OperationMetadata_MppEvaluateDfa",
|
|
319
|
+
"OperationMetadata_MppPlan",
|
|
320
|
+
"OperationMetadata_MppValidate",
|
|
321
|
+
"OperationResponse",
|
|
322
|
+
"OperationResponse_AssemblyDiff",
|
|
323
|
+
"OperationResponse_AssemblyProcess",
|
|
324
|
+
"OperationResponse_MppAdapt",
|
|
325
|
+
"OperationResponse_MppEvaluateDfa",
|
|
326
|
+
"OperationResponse_MppPlan",
|
|
327
|
+
"OperationResponse_MppValidate",
|
|
328
|
+
"ProcessAssemblyAccepted",
|
|
329
|
+
"ProcessAssemblyResponse",
|
|
330
|
+
"ProcessAssemblyResponse_AlreadyProcessed",
|
|
331
|
+
"ProcessAssemblyResponse_CacheCleared",
|
|
332
|
+
"ProcessAssemblyResponse_Ok",
|
|
333
|
+
"ProcessAssemblySkipped",
|
|
334
|
+
"SearchAssembliesResponse",
|
|
335
|
+
"SeqPlanAccepted",
|
|
336
|
+
"Sever",
|
|
337
|
+
"SeverKind",
|
|
338
|
+
"SeverSource",
|
|
339
|
+
"Sort",
|
|
340
|
+
"UploadResponse",
|
|
341
|
+
"UserInfo",
|
|
342
|
+
"UserInfoResponse",
|
|
343
|
+
"UserInfoResponseProviders",
|
|
344
|
+
]
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class AccessTokenResponse(UniversalBaseModel):
|
|
10
|
+
access_token: str
|
|
11
|
+
expires_in: int
|
|
12
|
+
token_type: str
|
|
13
|
+
|
|
14
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
import typing_extensions
|
|
7
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
8
|
+
from ..core.serialization import FieldMetadata
|
|
9
|
+
from .active_session_namespace import ActiveSessionNamespace
|
|
10
|
+
from .mpp_summary import MppSummary
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ActiveSession(UniversalBaseModel):
|
|
14
|
+
assembly_id: typing_extensions.Annotated[str, FieldMetadata(alias="assemblyId"), pydantic.Field(alias="assemblyId")]
|
|
15
|
+
assembly_name: typing_extensions.Annotated[
|
|
16
|
+
str, FieldMetadata(alias="assemblyName"), pydantic.Field(alias="assemblyName")
|
|
17
|
+
]
|
|
18
|
+
namespace: ActiveSessionNamespace = pydantic.Field()
|
|
19
|
+
"""
|
|
20
|
+
Assembly namespace used in API paths (`user`, `shared`, or `public`).
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
mpps: typing.List[MppSummary]
|
|
24
|
+
|
|
25
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
import typing_extensions
|
|
7
|
+
from ..core.serialization import FieldMetadata
|
|
8
|
+
from .operation import Operation
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class AdaptMppAccepted(Operation):
|
|
12
|
+
"""
|
|
13
|
+
The operation tracking the adaptation (AIP-151): poll `GET /api/v4/operations/{id}` until it is `done`. `mppId` names the MPP it creates. `jobId` is the worker job's key, which the operation replaces, and will be removed.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
mpp_id: typing_extensions.Annotated[str, FieldMetadata(alias="mppId"), pydantic.Field(alias="mppId")]
|
|
17
|
+
job_id: typing_extensions.Annotated[
|
|
18
|
+
str,
|
|
19
|
+
FieldMetadata(alias="jobId"),
|
|
20
|
+
pydantic.Field(alias="jobId", description="Job key — the `key` of `GET /api/v4/jobs/{key}`."),
|
|
21
|
+
]
|
|
22
|
+
"""
|
|
23
|
+
Job key — the `key` of `GET /api/v4/jobs/{key}`.
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
import typing_extensions
|
|
8
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
9
|
+
from ..core.serialization import FieldMetadata
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class Assembly(UniversalBaseModel):
|
|
13
|
+
id: typing_extensions.Annotated[
|
|
14
|
+
typing.Optional[str], FieldMetadata(alias="_id"), pydantic.Field(alias="_id", default=None)
|
|
15
|
+
]
|
|
16
|
+
is_public: typing_extensions.Annotated[
|
|
17
|
+
typing.Optional[bool], FieldMetadata(alias="isPublic"), pydantic.Field(alias="isPublic", default=None)
|
|
18
|
+
]
|
|
19
|
+
name: typing.Optional[str] = None
|
|
20
|
+
path: typing.Optional[str] = None
|
|
21
|
+
uploaded_at: typing_extensions.Annotated[
|
|
22
|
+
typing.Optional[dt.datetime],
|
|
23
|
+
FieldMetadata(alias="uploadedAt"),
|
|
24
|
+
pydantic.Field(alias="uploadedAt", default=None),
|
|
25
|
+
]
|
|
26
|
+
uploaded_by: typing_extensions.Annotated[
|
|
27
|
+
typing.Optional[str], FieldMetadata(alias="uploadedBy"), pydantic.Field(alias="uploadedBy", default=None)
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .assembly_connection_relationship import AssemblyConnectionRelationship
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class AssemblyConnection(UniversalBaseModel):
|
|
11
|
+
parts: typing.List[str] = pydantic.Field()
|
|
12
|
+
"""
|
|
13
|
+
Connected occurrence IDs.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
relationship: AssemblyConnectionRelationship = pydantic.Field()
|
|
17
|
+
"""
|
|
18
|
+
Geometric relationship between the occurrences.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .assembly_connection import AssemblyConnection
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class AssemblyConnectionsResponse(UniversalBaseModel):
|
|
11
|
+
connections: typing.List[AssemblyConnection]
|
|
12
|
+
|
|
13
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
import typing_extensions
|
|
8
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
9
|
+
from ..core.serialization import FieldMetadata
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class AssemblyDiffMetadata(UniversalBaseModel):
|
|
13
|
+
"""
|
|
14
|
+
Metadata of an async `POST /assemblies/diff` operation.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
reference_id: typing_extensions.Annotated[
|
|
18
|
+
str, FieldMetadata(alias="referenceId"), pydantic.Field(alias="referenceId")
|
|
19
|
+
]
|
|
20
|
+
target_id: typing_extensions.Annotated[str, FieldMetadata(alias="targetId"), pydantic.Field(alias="targetId")]
|
|
21
|
+
create_time: typing_extensions.Annotated[
|
|
22
|
+
dt.datetime, FieldMetadata(alias="createTime"), pydantic.Field(alias="createTime")
|
|
23
|
+
]
|
|
24
|
+
end_time: typing_extensions.Annotated[
|
|
25
|
+
typing.Optional[dt.datetime],
|
|
26
|
+
FieldMetadata(alias="endTime"),
|
|
27
|
+
pydantic.Field(
|
|
28
|
+
alias="endTime", default=None, description="When the outcome was recorded; absent until `done`."
|
|
29
|
+
),
|
|
30
|
+
]
|
|
31
|
+
"""
|
|
32
|
+
When the outcome was recorded; absent until `done`.
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
import typing_extensions
|
|
7
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
8
|
+
from ..core.serialization import FieldMetadata
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class AssemblyDiffResponse(UniversalBaseModel):
|
|
12
|
+
"""
|
|
13
|
+
Response of an async `POST /assemblies/diff` operation: the report is written and `resultUrl` serves it.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
result_url: typing_extensions.Annotated[
|
|
17
|
+
str,
|
|
18
|
+
FieldMetadata(alias="resultUrl"),
|
|
19
|
+
pydantic.Field(alias="resultUrl", description="Where the diff report is served."),
|
|
20
|
+
]
|
|
21
|
+
"""
|
|
22
|
+
Where the diff report is served.
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
viewer_url: typing_extensions.Annotated[
|
|
26
|
+
str,
|
|
27
|
+
FieldMetadata(alias="viewerUrl"),
|
|
28
|
+
pydantic.Field(alias="viewerUrl", description="The standalone assembly diff page."),
|
|
29
|
+
]
|
|
30
|
+
"""
|
|
31
|
+
The standalone assembly diff page.
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
import typing_extensions
|
|
8
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
9
|
+
from ..core.serialization import FieldMetadata
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class AssemblyInfo(UniversalBaseModel):
|
|
13
|
+
id: typing_extensions.Annotated[
|
|
14
|
+
typing.Optional[str], FieldMetadata(alias="_id"), pydantic.Field(alias="_id", default=None)
|
|
15
|
+
]
|
|
16
|
+
name: typing.Optional[str] = None
|
|
17
|
+
path: typing.Optional[str] = None
|
|
18
|
+
is_public: typing_extensions.Annotated[
|
|
19
|
+
typing.Optional[bool], FieldMetadata(alias="isPublic"), pydantic.Field(alias="isPublic", default=None)
|
|
20
|
+
]
|
|
21
|
+
uploaded_by: typing_extensions.Annotated[
|
|
22
|
+
typing.Optional[str], FieldMetadata(alias="uploadedBy"), pydantic.Field(alias="uploadedBy", default=None)
|
|
23
|
+
]
|
|
24
|
+
uploaded_at: typing_extensions.Annotated[
|
|
25
|
+
typing.Optional[dt.datetime],
|
|
26
|
+
FieldMetadata(alias="uploadedAt"),
|
|
27
|
+
pydantic.Field(alias="uploadedAt", default=None),
|
|
28
|
+
]
|
|
29
|
+
external_id: typing_extensions.Annotated[
|
|
30
|
+
typing.Optional[str], FieldMetadata(alias="externalId"), pydantic.Field(alias="externalId", default=None)
|
|
31
|
+
]
|
|
32
|
+
version_name: typing_extensions.Annotated[
|
|
33
|
+
typing.Optional[str], FieldMetadata(alias="versionName"), pydantic.Field(alias="versionName", default=None)
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class AssemblyJsonResponse(UniversalBaseModel):
|
|
10
|
+
ebom: typing.Dict[str, typing.Any] = pydantic.Field()
|
|
11
|
+
"""
|
|
12
|
+
Assembly structure. Leaf nodes include occurrence IDs and part metadata.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
import typing_extensions
|
|
8
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
9
|
+
from ..core.serialization import FieldMetadata
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class AssemblyProcessMetadata(UniversalBaseModel):
|
|
13
|
+
"""
|
|
14
|
+
Metadata of a `POST …/process` operation.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
assembly_id: typing_extensions.Annotated[str, FieldMetadata(alias="assemblyId"), pydantic.Field(alias="assemblyId")]
|
|
18
|
+
create_time: typing_extensions.Annotated[
|
|
19
|
+
dt.datetime, FieldMetadata(alias="createTime"), pydantic.Field(alias="createTime")
|
|
20
|
+
]
|
|
21
|
+
end_time: typing_extensions.Annotated[
|
|
22
|
+
typing.Optional[dt.datetime],
|
|
23
|
+
FieldMetadata(alias="endTime"),
|
|
24
|
+
pydantic.Field(
|
|
25
|
+
alias="endTime", default=None, description="When the outcome was recorded; absent until `done`."
|
|
26
|
+
),
|
|
27
|
+
]
|
|
28
|
+
"""
|
|
29
|
+
When the outcome was recorded; absent until `done`.
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
import typing_extensions
|
|
7
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
8
|
+
from ..core.serialization import FieldMetadata
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class AssemblyProcessResponse(UniversalBaseModel):
|
|
12
|
+
"""
|
|
13
|
+
Response of a `POST …/process` operation: the assembly is processed and ready to diff or plan.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
assembly_id: typing_extensions.Annotated[str, FieldMetadata(alias="assemblyId"), pydantic.Field(alias="assemblyId")]
|
|
17
|
+
|
|
18
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|