luminarycloud 0.18.0__py3-none-any.whl → 0.19.0__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.
- luminarycloud/__init__.py +4 -0
- luminarycloud/_client/client.py +21 -5
- luminarycloud/_client/http_client.py +168 -0
- luminarycloud/_client/rpc_error.py +1 -0
- luminarycloud/_client/tracing.py +72 -22
- luminarycloud/_helpers/_wait_for_mesh.py +5 -7
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.py +8 -8
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.pyi +9 -8
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.py +88 -55
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.pyi +108 -1
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.py +35 -0
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.pyi +16 -0
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.py +70 -40
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.pyi +64 -3
- luminarycloud/_proto/client/simulation_pb2.py +273 -269
- luminarycloud/_proto/client/simulation_pb2.pyi +23 -7
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.py +10 -10
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.pyi +9 -8
- luminarycloud/_proto/output/output_pb2.py +43 -36
- luminarycloud/_proto/output/output_pb2.pyi +28 -1
- luminarycloud/_proto/quantity/quantity_options_pb2.py +5 -4
- luminarycloud/_proto/quantity/quantity_options_pb2.pyi +4 -0
- luminarycloud/_proto/quantity/quantity_pb2.py +8 -8
- luminarycloud/enum/__init__.py +1 -0
- luminarycloud/enum/moment_convention_type.py +19 -0
- luminarycloud/enum/quantity_type.py +13 -0
- luminarycloud/exceptions.py +6 -0
- luminarycloud/outputs/output_definitions.py +5 -0
- luminarycloud/params/enum/_enum_wrappers.py +3 -2
- luminarycloud/params/simulation/monitor_plane_.py +1 -1
- luminarycloud/params/simulation/sliding_interfaces_.py +8 -0
- luminarycloud/physics_ai/inference.py +42 -26
- luminarycloud/pipelines/api.py +49 -102
- luminarycloud/pipelines/operators.py +4 -4
- luminarycloud/project.py +16 -44
- luminarycloud/simulation.py +6 -0
- luminarycloud/simulation_param.py +4 -2
- luminarycloud/simulation_queue.py +130 -0
- luminarycloud/simulation_template.py +6 -1
- luminarycloud/tables.py +14 -15
- luminarycloud/types/adfloat.py +3 -0
- luminarycloud/vis/interactive_scene.py +14 -1
- luminarycloud/vis/visualization.py +18 -2
- {luminarycloud-0.18.0.dist-info → luminarycloud-0.19.0.dist-info}/METADATA +1 -1
- {luminarycloud-0.18.0.dist-info → luminarycloud-0.19.0.dist-info}/RECORD +46 -48
- luminarycloud/_proto/api/v0/luminarycloud/pipelines/pipelines_pb2.py +0 -246
- luminarycloud/_proto/api/v0/luminarycloud/pipelines/pipelines_pb2.pyi +0 -420
- luminarycloud/_proto/api/v0/luminarycloud/pipelines/pipelines_pb2_grpc.py +0 -240
- luminarycloud/_proto/api/v0/luminarycloud/pipelines/pipelines_pb2_grpc.pyi +0 -90
- luminarycloud/enum/pipeline_job_status.py +0 -23
- {luminarycloud-0.18.0.dist-info → luminarycloud-0.19.0.dist-info}/WHEEL +0 -0
|
@@ -17,12 +17,20 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
|
17
17
|
from luminarycloud._proto.ratelimit import ratelimit_pb2 as proto_dot_ratelimit_dot_ratelimit__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nFproto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape.proto\x12\x41luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape\x1a\x1cgoogle/api/annotations.proto\x1a\x1fproto/ratelimit/ratelimit.proto\" \n\x1eGetAuthenticationStatusRequest\"3\n\x1cGetAuthenticationStatusReply\x12\x13\n\x0b\x61uth_active\x18\x01 \x01(\x08\"m\n\x0bOnshapePath\x12\x16\n\x0e\x63ompany_prefix\x18\x01 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x02 \x01(\t\x12\x0e\n\x06w_or_v\x18\x03 \x01(\t\x12\r\n\x05wv_id\x18\x04 \x01(\t\x12\x12\n\nelement_id\x18\x05 \x01(\t\"e\n\x0fOnshapeVariable\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\x12\x12\n\nexpression\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\">\n\x12OnshapeCompanyInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06prefix\x18\x03 \x01(\t\"`\n\x16OnshapeDocumentVersion\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"b\n\x18OnshapeDocumentWorkspace\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"\xdd\x02\n\x0fOnshapeDocument\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12k\n\x08versions\x18\x04 \x03(\x0b\x32Y.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentVersion\x12o\n\nworkspaces\x18\x05 \x03(\x0b\x32[.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentWorkspace\x12\x15\n\rmodified_time\x18\x06 \x01(\x03\x12\x15\n\rcreation_time\x18\x07 \x01(\x03\x42\x0c\n\n_thumbnail\"\x83\x01\n\x13OnshapeDocumentOnly\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\rmodified_time\x18\x04 \x01(\x03\x12\x15\n\rcreation_time\x18\x05 \x01(\x03\x42\x0c\n\n_thumbnail\"
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nFproto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape.proto\x12\x41luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape\x1a\x1cgoogle/api/annotations.proto\x1a\x1fproto/ratelimit/ratelimit.proto\" \n\x1eGetAuthenticationStatusRequest\"3\n\x1cGetAuthenticationStatusReply\x12\x13\n\x0b\x61uth_active\x18\x01 \x01(\x08\"m\n\x0bOnshapePath\x12\x16\n\x0e\x63ompany_prefix\x18\x01 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x02 \x01(\t\x12\x0e\n\x06w_or_v\x18\x03 \x01(\t\x12\r\n\x05wv_id\x18\x04 \x01(\t\x12\x12\n\nelement_id\x18\x05 \x01(\t\"e\n\x0fOnshapeVariable\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\x12\x12\n\nexpression\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\">\n\x12OnshapeCompanyInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06prefix\x18\x03 \x01(\t\"`\n\x16OnshapeDocumentVersion\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"b\n\x18OnshapeDocumentWorkspace\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"\xdd\x02\n\x0fOnshapeDocument\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12k\n\x08versions\x18\x04 \x03(\x0b\x32Y.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentVersion\x12o\n\nworkspaces\x18\x05 \x03(\x0b\x32[.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentWorkspace\x12\x15\n\rmodified_time\x18\x06 \x01(\x03\x12\x15\n\rcreation_time\x18\x07 \x01(\x03\x42\x0c\n\n_thumbnail\"\x83\x01\n\x13OnshapeDocumentOnly\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\rmodified_time\x18\x04 \x01(\x03\x12\x15\n\rcreation_time\x18\x05 \x01(\x03\x42\x0c\n\n_thumbnail\"m\n\x14ListDocumentsRequest\x12\x11\n\tnext_page\x18\x01 \x01(\t\x12\x15\n\rprevious_page\x18\x02 \x01(\t\x12\x13\n\x0bsearch_term\x18\x04 \x01(\t\x12\x16\n\x0e\x63ompany_prefix\x18\x03 \x01(\t\"\xa9\x01\n\x12ListDocumentsReply\x12i\n\tdocuments\x18\x01 \x03(\x0b\x32V.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentOnly\x12\x11\n\tnext_page\x18\x02 \x01(\t\x12\x15\n\rprevious_page\x18\x03 \x01(\t\"\x80\x01\n ListWorkspacesAndVersionsRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\xfe\x01\n\x1eListWorkspacesAndVersionsReply\x12o\n\nworkspaces\x18\x01 \x03(\x0b\x32[.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentWorkspace\x12k\n\x08versions\x18\x02 \x03(\x0b\x32Y.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentVersion\"p\n,ListDocumentsWithWorkspaceAndVersionsRequest\x12\x11\n\tnext_page\x18\x01 \x01(\t\x12\x15\n\rprevious_page\x18\x02 \x01(\t\x12\x16\n\x0e\x63ompany_prefix\x18\x03 \x01(\t\"\xbd\x01\n*ListDocumentsWithWorkspaceAndVersionsReply\x12\x65\n\tdocuments\x18\x01 \x03(\x0b\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocument\x12\x11\n\tnext_page\x18\x02 \x01(\t\x12\x15\n\rprevious_page\x18\x03 \x01(\t\"\xb5\x01\n\x0eOnshapeElement\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x63\n\x04type\x18\x03 \x01(\x0e\x32U.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeElementType\x12\x16\n\tthumbnail\x18\x04 \x01(\x0cH\x00\x88\x01\x01\x42\x0c\n\n_thumbnail\"\x82\x01\n\"ListImportablesForSelectionRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\x87\x01\n ListImportablesForSelectionReply\x12\x63\n\x08\x65lements\x18\x01 \x03(\x0b\x32Q.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeElement\"}\n\x1dListPartsForImportableRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\xbd\x01\n\x0bOnshapePart\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x65\n\x04type\x18\x04 \x01(\x0e\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePartTypeH\x01\x88\x01\x01\x42\x0c\n\n_thumbnailB\x07\n\x05_type\"|\n\x1bListPartsForImportableReply\x12]\n\x05parts\x18\x01 \x03(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePart\"\x1b\n\x19GetCompanyPrefixesRequest\"\x83\x01\n\x17GetCompanyPrefixesReply\x12h\n\tcompanies\x18\x01 \x03(\x0b\x32U.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeCompanyInfo\"u\n\x15\x46\x65tchVariablesRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\x82\x01\n\x13\x46\x65tchVariablesReply\x12\x65\n\tvariables\x18\x02 \x03(\x0b\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeVariableJ\x04\x08\x01\x10\x02\"u\n\x15GetElementNameRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"#\n\x13GetElementNameReply\x12\x0c\n\x04name\x18\x01 \x01(\t\"0\n\x15GetFeatureNameRequest\x12\x17\n\x0fweb_geometry_id\x18\x01 \x01(\t\"*\n\x13GetFeatureNameReply\x12\x13\n\x0b\x66\x65\x61tureName\x18\x01 \x01(\t*3\n\x12OnshapeElementType\x12\x0f\n\x0bPART_STUDIO\x10\x00\x12\x0c\n\x08\x41SSEMBLY\x10\x01*W\n\x0fOnshapePartType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05SHEET\x10\x01\x12\x08\n\x04WIRE\x10\x02\x12\r\n\tCOMPOSITE\x10\x03\x12\x08\n\x04MESH\x10\x04\x12\t\n\x05SOLID\x10\x05\x32\xaf\x14\n\x0eOnshapeService\x12\xa8\x02\n\x17GetAuthenticationStatus\x12\x61.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetAuthenticationStatusRequest\x1a_.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetAuthenticationStatusReply\"I\x82\xd3\xe4\x93\x02\x39\x12\x37/v0/thirdpartyintegration/onshape/authentication-status\x8a\xb5\x18\x06\x08<\x12\x02\x08\x01\x12\x8a\x02\n\x0e\x46\x65tchVariables\x12X.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.FetchVariablesRequest\x1aV.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.FetchVariablesReply\"F\x82\xd3\xe4\x93\x02\x36\"1/v0/thirdpartyintegration/onshape/fetch-variables:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xc6\x02\n%ListDocumentsWithWorkspaceAndVersions\x12o.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsWithWorkspaceAndVersionsRequest\x1am.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsWithWorkspaceAndVersionsReply\"=\x82\xd3\xe4\x93\x02-\x12+/v0/thirdpartyintegration/onshape/documents\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x83\x02\n\rListDocuments\x12W.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsRequest\x1aU.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsReply\"B\x82\xd3\xe4\x93\x02\x32\x12\x30/v0/thirdpartyintegration/onshape/documents-only\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xb0\x02\n\x19ListWorkspacesAndVersions\x12\x63.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListWorkspacesAndVersionsRequest\x1a\x61.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListWorkspacesAndVersionsReply\"K\x82\xd3\xe4\x93\x02;\x12\x39/v0/thirdpartyintegration/onshape/workspaces-and-versions\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xad\x02\n\x1bListImportablesForSelection\x12\x65.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListImportablesForSelectionRequest\x1a\x63.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListImportablesForSelectionReply\"B\x82\xd3\xe4\x93\x02\x32\"-/v0/thirdpartyintegration/onshape/importables:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x98\x02\n\x16ListPartsForImportable\x12`.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListPartsForImportableRequest\x1a^.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListPartsForImportableReply\"<\x82\xd3\xe4\x93\x02,\"\'/v0/thirdpartyintegration/onshape/parts:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x8d\x02\n\x12GetCompanyPrefixes\x12\\.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetCompanyPrefixesRequest\x1aZ.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetCompanyPrefixesReply\"=\x82\xd3\xe4\x93\x02-\x12+/v0/thirdpartyintegration/onshape/companies\x8a\xb5\x18\x06\x08<\x12\x02\x08\x01\x12\x87\x02\n\x0eGetElementName\x12X.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetElementNameRequest\x1aV.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetElementNameReply\"C\x82\xd3\xe4\x93\x02\x33\"./v0/thirdpartyintegration/onshape/element-name:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x42QZOluminarycloud.com/core/proto/api/v0/luminarycloud/thirdpartyintegration/onshapeb\x06proto3')
|
|
21
21
|
|
|
22
22
|
_ONSHAPEELEMENTTYPE = DESCRIPTOR.enum_types_by_name['OnshapeElementType']
|
|
23
23
|
OnshapeElementType = enum_type_wrapper.EnumTypeWrapper(_ONSHAPEELEMENTTYPE)
|
|
24
|
+
_ONSHAPEPARTTYPE = DESCRIPTOR.enum_types_by_name['OnshapePartType']
|
|
25
|
+
OnshapePartType = enum_type_wrapper.EnumTypeWrapper(_ONSHAPEPARTTYPE)
|
|
24
26
|
PART_STUDIO = 0
|
|
25
27
|
ASSEMBLY = 1
|
|
28
|
+
UNKNOWN = 0
|
|
29
|
+
SHEET = 1
|
|
30
|
+
WIRE = 2
|
|
31
|
+
COMPOSITE = 3
|
|
32
|
+
MESH = 4
|
|
33
|
+
SOLID = 5
|
|
26
34
|
|
|
27
35
|
|
|
28
36
|
_GETAUTHENTICATIONSTATUSREQUEST = DESCRIPTOR.message_types_by_name['GetAuthenticationStatusRequest']
|
|
@@ -52,6 +60,8 @@ _FETCHVARIABLESREQUEST = DESCRIPTOR.message_types_by_name['FetchVariablesRequest
|
|
|
52
60
|
_FETCHVARIABLESREPLY = DESCRIPTOR.message_types_by_name['FetchVariablesReply']
|
|
53
61
|
_GETELEMENTNAMEREQUEST = DESCRIPTOR.message_types_by_name['GetElementNameRequest']
|
|
54
62
|
_GETELEMENTNAMEREPLY = DESCRIPTOR.message_types_by_name['GetElementNameReply']
|
|
63
|
+
_GETFEATURENAMEREQUEST = DESCRIPTOR.message_types_by_name['GetFeatureNameRequest']
|
|
64
|
+
_GETFEATURENAMEREPLY = DESCRIPTOR.message_types_by_name['GetFeatureNameReply']
|
|
55
65
|
GetAuthenticationStatusRequest = _reflection.GeneratedProtocolMessageType('GetAuthenticationStatusRequest', (_message.Message,), {
|
|
56
66
|
'DESCRIPTOR' : _GETAUTHENTICATIONSTATUSREQUEST,
|
|
57
67
|
'__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
|
|
@@ -241,6 +251,20 @@ GetElementNameReply = _reflection.GeneratedProtocolMessageType('GetElementNameRe
|
|
|
241
251
|
})
|
|
242
252
|
_sym_db.RegisterMessage(GetElementNameReply)
|
|
243
253
|
|
|
254
|
+
GetFeatureNameRequest = _reflection.GeneratedProtocolMessageType('GetFeatureNameRequest', (_message.Message,), {
|
|
255
|
+
'DESCRIPTOR' : _GETFEATURENAMEREQUEST,
|
|
256
|
+
'__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
|
|
257
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetFeatureNameRequest)
|
|
258
|
+
})
|
|
259
|
+
_sym_db.RegisterMessage(GetFeatureNameRequest)
|
|
260
|
+
|
|
261
|
+
GetFeatureNameReply = _reflection.GeneratedProtocolMessageType('GetFeatureNameReply', (_message.Message,), {
|
|
262
|
+
'DESCRIPTOR' : _GETFEATURENAMEREPLY,
|
|
263
|
+
'__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
|
|
264
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetFeatureNameReply)
|
|
265
|
+
})
|
|
266
|
+
_sym_db.RegisterMessage(GetFeatureNameReply)
|
|
267
|
+
|
|
244
268
|
_ONSHAPESERVICE = DESCRIPTOR.services_by_name['OnshapeService']
|
|
245
269
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
246
270
|
|
|
@@ -264,8 +288,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
264
288
|
_ONSHAPESERVICE.methods_by_name['GetCompanyPrefixes']._serialized_options = b'\202\323\344\223\002-\022+/v0/thirdpartyintegration/onshape/companies\212\265\030\006\010<\022\002\010\001'
|
|
265
289
|
_ONSHAPESERVICE.methods_by_name['GetElementName']._options = None
|
|
266
290
|
_ONSHAPESERVICE.methods_by_name['GetElementName']._serialized_options = b'\202\323\344\223\0023\"./v0/thirdpartyintegration/onshape/element-name:\001*\212\265\030\006\010\n\022\002\010\005'
|
|
267
|
-
_ONSHAPEELEMENTTYPE._serialized_start=
|
|
268
|
-
_ONSHAPEELEMENTTYPE._serialized_end=
|
|
291
|
+
_ONSHAPEELEMENTTYPE._serialized_start=3795
|
|
292
|
+
_ONSHAPEELEMENTTYPE._serialized_end=3846
|
|
293
|
+
_ONSHAPEPARTTYPE._serialized_start=3848
|
|
294
|
+
_ONSHAPEPARTTYPE._serialized_end=3935
|
|
269
295
|
_GETAUTHENTICATIONSTATUSREQUEST._serialized_start=204
|
|
270
296
|
_GETAUTHENTICATIONSTATUSREQUEST._serialized_end=236
|
|
271
297
|
_GETAUTHENTICATIONSTATUSREPLY._serialized_start=238
|
|
@@ -285,41 +311,45 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
285
311
|
_ONSHAPEDOCUMENTONLY._serialized_start=1120
|
|
286
312
|
_ONSHAPEDOCUMENTONLY._serialized_end=1251
|
|
287
313
|
_LISTDOCUMENTSREQUEST._serialized_start=1253
|
|
288
|
-
_LISTDOCUMENTSREQUEST._serialized_end=
|
|
289
|
-
_LISTDOCUMENTSREPLY._serialized_start=
|
|
290
|
-
_LISTDOCUMENTSREPLY._serialized_end=
|
|
291
|
-
_LISTWORKSPACESANDVERSIONSREQUEST._serialized_start=
|
|
292
|
-
_LISTWORKSPACESANDVERSIONSREQUEST._serialized_end=
|
|
293
|
-
_LISTWORKSPACESANDVERSIONSREPLY._serialized_start=
|
|
294
|
-
_LISTWORKSPACESANDVERSIONSREPLY._serialized_end=
|
|
295
|
-
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_start=
|
|
296
|
-
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_end=
|
|
297
|
-
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_start=
|
|
298
|
-
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_end=
|
|
299
|
-
_ONSHAPEELEMENT._serialized_start=
|
|
300
|
-
_ONSHAPEELEMENT._serialized_end=
|
|
301
|
-
_LISTIMPORTABLESFORSELECTIONREQUEST._serialized_start=
|
|
302
|
-
_LISTIMPORTABLESFORSELECTIONREQUEST._serialized_end=
|
|
303
|
-
_LISTIMPORTABLESFORSELECTIONREPLY._serialized_start=
|
|
304
|
-
_LISTIMPORTABLESFORSELECTIONREPLY._serialized_end=
|
|
305
|
-
_LISTPARTSFORIMPORTABLEREQUEST._serialized_start=
|
|
306
|
-
_LISTPARTSFORIMPORTABLEREQUEST._serialized_end=
|
|
307
|
-
_ONSHAPEPART._serialized_start=
|
|
308
|
-
_ONSHAPEPART._serialized_end=
|
|
309
|
-
_LISTPARTSFORIMPORTABLEREPLY._serialized_start=
|
|
310
|
-
_LISTPARTSFORIMPORTABLEREPLY._serialized_end=
|
|
311
|
-
_GETCOMPANYPREFIXESREQUEST._serialized_start=
|
|
312
|
-
_GETCOMPANYPREFIXESREQUEST._serialized_end=
|
|
313
|
-
_GETCOMPANYPREFIXESREPLY._serialized_start=
|
|
314
|
-
_GETCOMPANYPREFIXESREPLY._serialized_end=
|
|
315
|
-
_FETCHVARIABLESREQUEST._serialized_start=
|
|
316
|
-
_FETCHVARIABLESREQUEST._serialized_end=
|
|
317
|
-
_FETCHVARIABLESREPLY._serialized_start=
|
|
318
|
-
_FETCHVARIABLESREPLY._serialized_end=
|
|
319
|
-
_GETELEMENTNAMEREQUEST._serialized_start=
|
|
320
|
-
_GETELEMENTNAMEREQUEST._serialized_end=
|
|
321
|
-
_GETELEMENTNAMEREPLY._serialized_start=
|
|
322
|
-
_GETELEMENTNAMEREPLY._serialized_end=
|
|
323
|
-
|
|
324
|
-
|
|
314
|
+
_LISTDOCUMENTSREQUEST._serialized_end=1362
|
|
315
|
+
_LISTDOCUMENTSREPLY._serialized_start=1365
|
|
316
|
+
_LISTDOCUMENTSREPLY._serialized_end=1534
|
|
317
|
+
_LISTWORKSPACESANDVERSIONSREQUEST._serialized_start=1537
|
|
318
|
+
_LISTWORKSPACESANDVERSIONSREQUEST._serialized_end=1665
|
|
319
|
+
_LISTWORKSPACESANDVERSIONSREPLY._serialized_start=1668
|
|
320
|
+
_LISTWORKSPACESANDVERSIONSREPLY._serialized_end=1922
|
|
321
|
+
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_start=1924
|
|
322
|
+
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_end=2036
|
|
323
|
+
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_start=2039
|
|
324
|
+
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_end=2228
|
|
325
|
+
_ONSHAPEELEMENT._serialized_start=2231
|
|
326
|
+
_ONSHAPEELEMENT._serialized_end=2412
|
|
327
|
+
_LISTIMPORTABLESFORSELECTIONREQUEST._serialized_start=2415
|
|
328
|
+
_LISTIMPORTABLESFORSELECTIONREQUEST._serialized_end=2545
|
|
329
|
+
_LISTIMPORTABLESFORSELECTIONREPLY._serialized_start=2548
|
|
330
|
+
_LISTIMPORTABLESFORSELECTIONREPLY._serialized_end=2683
|
|
331
|
+
_LISTPARTSFORIMPORTABLEREQUEST._serialized_start=2685
|
|
332
|
+
_LISTPARTSFORIMPORTABLEREQUEST._serialized_end=2810
|
|
333
|
+
_ONSHAPEPART._serialized_start=2813
|
|
334
|
+
_ONSHAPEPART._serialized_end=3002
|
|
335
|
+
_LISTPARTSFORIMPORTABLEREPLY._serialized_start=3004
|
|
336
|
+
_LISTPARTSFORIMPORTABLEREPLY._serialized_end=3128
|
|
337
|
+
_GETCOMPANYPREFIXESREQUEST._serialized_start=3130
|
|
338
|
+
_GETCOMPANYPREFIXESREQUEST._serialized_end=3157
|
|
339
|
+
_GETCOMPANYPREFIXESREPLY._serialized_start=3160
|
|
340
|
+
_GETCOMPANYPREFIXESREPLY._serialized_end=3291
|
|
341
|
+
_FETCHVARIABLESREQUEST._serialized_start=3293
|
|
342
|
+
_FETCHVARIABLESREQUEST._serialized_end=3410
|
|
343
|
+
_FETCHVARIABLESREPLY._serialized_start=3413
|
|
344
|
+
_FETCHVARIABLESREPLY._serialized_end=3543
|
|
345
|
+
_GETELEMENTNAMEREQUEST._serialized_start=3545
|
|
346
|
+
_GETELEMENTNAMEREQUEST._serialized_end=3662
|
|
347
|
+
_GETELEMENTNAMEREPLY._serialized_start=3664
|
|
348
|
+
_GETELEMENTNAMEREPLY._serialized_end=3699
|
|
349
|
+
_GETFEATURENAMEREQUEST._serialized_start=3701
|
|
350
|
+
_GETFEATURENAMEREQUEST._serialized_end=3749
|
|
351
|
+
_GETFEATURENAMEREPLY._serialized_start=3751
|
|
352
|
+
_GETFEATURENAMEREPLY._serialized_end=3793
|
|
353
|
+
_ONSHAPESERVICE._serialized_start=3938
|
|
354
|
+
_ONSHAPESERVICE._serialized_end=6545
|
|
325
355
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -33,6 +33,29 @@ PART_STUDIO: OnshapeElementType.ValueType # 0
|
|
|
33
33
|
ASSEMBLY: OnshapeElementType.ValueType # 1
|
|
34
34
|
global___OnshapeElementType = OnshapeElementType
|
|
35
35
|
|
|
36
|
+
class _OnshapePartType:
|
|
37
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
38
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
39
|
+
|
|
40
|
+
class _OnshapePartTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_OnshapePartType.ValueType], builtins.type): # noqa: F821
|
|
41
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
42
|
+
UNKNOWN: _OnshapePartType.ValueType # 0
|
|
43
|
+
SHEET: _OnshapePartType.ValueType # 1
|
|
44
|
+
WIRE: _OnshapePartType.ValueType # 2
|
|
45
|
+
COMPOSITE: _OnshapePartType.ValueType # 3
|
|
46
|
+
MESH: _OnshapePartType.ValueType # 4
|
|
47
|
+
SOLID: _OnshapePartType.ValueType # 5
|
|
48
|
+
|
|
49
|
+
class OnshapePartType(_OnshapePartType, metaclass=_OnshapePartTypeEnumTypeWrapper): ...
|
|
50
|
+
|
|
51
|
+
UNKNOWN: OnshapePartType.ValueType # 0
|
|
52
|
+
SHEET: OnshapePartType.ValueType # 1
|
|
53
|
+
WIRE: OnshapePartType.ValueType # 2
|
|
54
|
+
COMPOSITE: OnshapePartType.ValueType # 3
|
|
55
|
+
MESH: OnshapePartType.ValueType # 4
|
|
56
|
+
SOLID: OnshapePartType.ValueType # 5
|
|
57
|
+
global___OnshapePartType = OnshapePartType
|
|
58
|
+
|
|
36
59
|
class GetAuthenticationStatusRequest(google.protobuf.message.Message):
|
|
37
60
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
38
61
|
|
|
@@ -253,6 +276,7 @@ class ListDocumentsRequest(google.protobuf.message.Message):
|
|
|
253
276
|
|
|
254
277
|
NEXT_PAGE_FIELD_NUMBER: builtins.int
|
|
255
278
|
PREVIOUS_PAGE_FIELD_NUMBER: builtins.int
|
|
279
|
+
SEARCH_TERM_FIELD_NUMBER: builtins.int
|
|
256
280
|
COMPANY_PREFIX_FIELD_NUMBER: builtins.int
|
|
257
281
|
next_page: builtins.str
|
|
258
282
|
"""Value from reply to provide to get the next page.
|
|
@@ -264,6 +288,8 @@ class ListDocumentsRequest(google.protobuf.message.Message):
|
|
|
264
288
|
Only one of next_page or previous_page should be supplied.
|
|
265
289
|
If neither supplied, then the first page is returned.
|
|
266
290
|
"""
|
|
291
|
+
search_term: builtins.str
|
|
292
|
+
"""Document search term for listing documents."""
|
|
267
293
|
company_prefix: builtins.str
|
|
268
294
|
"""Company Prefix, as in https://{company_prefix}.onshape.com/...
|
|
269
295
|
Not needed if using next_page or previous_page
|
|
@@ -273,9 +299,10 @@ class ListDocumentsRequest(google.protobuf.message.Message):
|
|
|
273
299
|
*,
|
|
274
300
|
next_page: builtins.str = ...,
|
|
275
301
|
previous_page: builtins.str = ...,
|
|
302
|
+
search_term: builtins.str = ...,
|
|
276
303
|
company_prefix: builtins.str = ...,
|
|
277
304
|
) -> None: ...
|
|
278
|
-
def ClearField(self, field_name: typing_extensions.Literal["company_prefix", b"company_prefix", "next_page", b"next_page", "previous_page", b"previous_page"]) -> None: ...
|
|
305
|
+
def ClearField(self, field_name: typing_extensions.Literal["company_prefix", b"company_prefix", "next_page", b"next_page", "previous_page", b"previous_page", "search_term", b"search_term"]) -> None: ...
|
|
279
306
|
|
|
280
307
|
global___ListDocumentsRequest = ListDocumentsRequest
|
|
281
308
|
|
|
@@ -479,20 +506,26 @@ class OnshapePart(google.protobuf.message.Message):
|
|
|
479
506
|
ID_FIELD_NUMBER: builtins.int
|
|
480
507
|
NAME_FIELD_NUMBER: builtins.int
|
|
481
508
|
THUMBNAIL_FIELD_NUMBER: builtins.int
|
|
509
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
482
510
|
id: builtins.str
|
|
483
511
|
name: builtins.str
|
|
484
512
|
thumbnail: builtins.bytes
|
|
485
513
|
"""Thumbnail in PNG"""
|
|
514
|
+
type: global___OnshapePartType.ValueType
|
|
486
515
|
def __init__(
|
|
487
516
|
self,
|
|
488
517
|
*,
|
|
489
518
|
id: builtins.str = ...,
|
|
490
519
|
name: builtins.str = ...,
|
|
491
520
|
thumbnail: builtins.bytes | None = ...,
|
|
521
|
+
type: global___OnshapePartType.ValueType | None = ...,
|
|
492
522
|
) -> None: ...
|
|
493
|
-
def HasField(self, field_name: typing_extensions.Literal["_thumbnail", b"_thumbnail", "thumbnail", b"thumbnail"]) -> builtins.bool: ...
|
|
494
|
-
def ClearField(self, field_name: typing_extensions.Literal["_thumbnail", b"_thumbnail", "id", b"id", "name", b"name", "thumbnail", b"thumbnail"]) -> None: ...
|
|
523
|
+
def HasField(self, field_name: typing_extensions.Literal["_thumbnail", b"_thumbnail", "_type", b"_type", "thumbnail", b"thumbnail", "type", b"type"]) -> builtins.bool: ...
|
|
524
|
+
def ClearField(self, field_name: typing_extensions.Literal["_thumbnail", b"_thumbnail", "_type", b"_type", "id", b"id", "name", b"name", "thumbnail", b"thumbnail", "type", b"type"]) -> None: ...
|
|
525
|
+
@typing.overload
|
|
495
526
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_thumbnail", b"_thumbnail"]) -> typing_extensions.Literal["thumbnail"] | None: ...
|
|
527
|
+
@typing.overload
|
|
528
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_type", b"_type"]) -> typing_extensions.Literal["type"] | None: ...
|
|
496
529
|
|
|
497
530
|
global___OnshapePart = OnshapePart
|
|
498
531
|
|
|
@@ -595,3 +628,31 @@ class GetElementNameReply(google.protobuf.message.Message):
|
|
|
595
628
|
def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ...
|
|
596
629
|
|
|
597
630
|
global___GetElementNameReply = GetElementNameReply
|
|
631
|
+
|
|
632
|
+
class GetFeatureNameRequest(google.protobuf.message.Message):
|
|
633
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
634
|
+
|
|
635
|
+
WEB_GEOMETRY_ID_FIELD_NUMBER: builtins.int
|
|
636
|
+
web_geometry_id: builtins.str
|
|
637
|
+
def __init__(
|
|
638
|
+
self,
|
|
639
|
+
*,
|
|
640
|
+
web_geometry_id: builtins.str = ...,
|
|
641
|
+
) -> None: ...
|
|
642
|
+
def ClearField(self, field_name: typing_extensions.Literal["web_geometry_id", b"web_geometry_id"]) -> None: ...
|
|
643
|
+
|
|
644
|
+
global___GetFeatureNameRequest = GetFeatureNameRequest
|
|
645
|
+
|
|
646
|
+
class GetFeatureNameReply(google.protobuf.message.Message):
|
|
647
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
648
|
+
|
|
649
|
+
FEATURENAME_FIELD_NUMBER: builtins.int
|
|
650
|
+
featureName: builtins.str
|
|
651
|
+
def __init__(
|
|
652
|
+
self,
|
|
653
|
+
*,
|
|
654
|
+
featureName: builtins.str = ...,
|
|
655
|
+
) -> None: ...
|
|
656
|
+
def ClearField(self, field_name: typing_extensions.Literal["featureName", b"featureName"]) -> None: ...
|
|
657
|
+
|
|
658
|
+
global___GetFeatureNameReply = GetFeatureNameReply
|