ComponentsServiceBase constructor
ComponentsServiceBase()
Implementation
ComponentsServiceBase() {
$addMethod($grpc.ServiceMethod<$0.ComponentsServiceCreateRequest,
$1.IdentifierResponse>(
'Create',
create_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.ComponentsServiceCreateRequest.fromBuffer(value),
($1.IdentifierResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ComponentsServiceSendToStoreRequest,
$1.IdentifierResponse>(
'SendToStore',
sendToStore_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.ComponentsServiceSendToStoreRequest.fromBuffer(value),
($1.IdentifierResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ComponentsServiceUpdateRequest,
$1.IdentifierResponse>(
'Update',
update_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.ComponentsServiceUpdateRequest.fromBuffer(value),
($1.IdentifierResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifierUUIDWithUserComment,
$1.IdentifierResponse>(
'SendForRework',
sendForRework_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.IdentifierUUIDWithUserComment.fromBuffer(value),
($1.IdentifierResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifierUUIDWithUserComment,
$1.IdentifierResponse>(
'SendForQC',
sendForQC_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.IdentifierUUIDWithUserComment.fromBuffer(value),
($1.IdentifierResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifierUUIDWithUserComment,
$1.IdentifierResponse>(
'SplitLot',
splitLot_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.IdentifierUUIDWithUserComment.fromBuffer(value),
($1.IdentifierResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.InventoryPartitionRequest,
$1.IdentifierResponse>(
'Partition',
partition_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.InventoryPartitionRequest.fromBuffer(value),
($1.IdentifierResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifierUUIDWithUserComment,
$1.IdentifierResponse>(
'Consume',
consume_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.IdentifierUUIDWithUserComment.fromBuffer(value),
($1.IdentifierResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifierUUIDWithUserComment,
$1.IdentifierResponse>(
'Reject',
reject_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.IdentifierUUIDWithUserComment.fromBuffer(value),
($1.IdentifierResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifierUUIDWithUserComment,
$1.IdentifierResponse>(
'Scrap',
scrap_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.IdentifierUUIDWithUserComment.fromBuffer(value),
($1.IdentifierResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifierUUIDWithUserComment,
$1.IdentifierResponse>(
'ReturnMaterial',
returnMaterial_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.IdentifierUUIDWithUserComment.fromBuffer(value),
($1.IdentifierResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifierUUIDWithUserComment,
$1.IdentifierResponse>(
'Discard',
discard_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.IdentifierUUIDWithUserComment.fromBuffer(value),
($1.IdentifierResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifierUUIDWithUserComment,
$1.IdentifierResponse>(
'CommentAdd',
commentAdd_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.IdentifierUUIDWithUserComment.fromBuffer(value),
($1.IdentifierResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<
$2.MagicLinksServiceCreateRequestForSpecificResource, $2.MagicLink>(
'CreateMagicLink',
createMagicLink_Pre,
false,
false,
($core.List<$core.int> value) =>
$2.MagicLinksServiceCreateRequestForSpecificResource.fromBuffer(
value),
($2.MagicLink value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.Identifier, $0.Component>(
'ViewByID',
viewByID_Pre,
false,
false,
($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
($0.Component value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifierUUID, $0.Component>(
'ViewByUUID',
viewByUUID_Pre,
false,
false,
($core.List<$core.int> value) => $1.IdentifierUUID.fromBuffer(value),
($0.Component value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.Identifier, $0.Component>(
'ViewEssentialByID',
viewEssentialByID_Pre,
false,
false,
($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
($0.Component value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifierUUID, $0.Component>(
'ViewEssentialByUUID',
viewEssentialByUUID_Pre,
false,
false,
($core.List<$core.int> value) => $1.IdentifierUUID.fromBuffer(value),
($0.Component value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifiersList, $0.ComponentsList>(
'ViewFromIDs',
viewFromIDs_Pre,
false,
false,
($core.List<$core.int> value) => $1.IdentifiersList.fromBuffer(value),
($0.ComponentsList value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifierUUIDsList, $0.ComponentsList>(
'ViewFromUUIDs',
viewFromUUIDs_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.IdentifierUUIDsList.fromBuffer(value),
($0.ComponentsList value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.ActiveStatus, $0.ComponentsList>(
'ViewAll',
viewAll_Pre,
false,
false,
($core.List<$core.int> value) => $1.ActiveStatus.fromBuffer(value),
($0.ComponentsList value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ComponentsServicePaginationReq,
$0.ComponentsServicePaginationResponse>(
'ViewWithPagination',
viewWithPagination_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.ComponentsServicePaginationReq.fromBuffer(value),
($0.ComponentsServicePaginationResponse value) =>
value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifierWithSearchKey, $3.FamiliesList>(
'ViewFamiliesInProductionPlan',
viewFamiliesInProductionPlan_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.IdentifierWithSearchKey.fromBuffer(value),
($3.FamiliesList value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$3.FilterFamiliesReqForIdentifier, $3.FamiliesList>(
'FilterFamiliesInProductionPlan',
filterFamiliesInProductionPlan_Pre,
false,
false,
($core.List<$core.int> value) =>
$3.FilterFamiliesReqForIdentifier.fromBuffer(value),
($3.FamiliesList value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.Identifier, $1.StandardFile>(
'DownloadQCReportByID',
downloadQCReportByID_Pre,
false,
false,
($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
($1.StandardFile value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifierUUID, $1.StandardFile>(
'DownloadQCReportByUUID',
downloadQCReportByUUID_Pre,
false,
false,
($core.List<$core.int> value) => $1.IdentifierUUID.fromBuffer(value),
($1.StandardFile value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.Identifier, $1.StandardFile>(
'DownloadLabelByID',
downloadLabelByID_Pre,
false,
false,
($core.List<$core.int> value) => $1.Identifier.fromBuffer(value),
($1.StandardFile value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.IdentifierUUID, $1.StandardFile>(
'DownloadLabelByUUID',
downloadLabelByUUID_Pre,
false,
false,
($core.List<$core.int> value) => $1.IdentifierUUID.fromBuffer(value),
($1.StandardFile value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$1.IdentifierUUID, $1.InventoryInteractionsList>(
'ViewInventoryInteractions',
viewInventoryInteractions_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.IdentifierUUID.fromBuffer(value),
($1.InventoryInteractionsList value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ComponentsServiceSearchAllReq,
$0.ComponentsList>(
'SearchAll',
searchAll_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.ComponentsServiceSearchAllReq.fromBuffer(value),
($0.ComponentsList value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$0.ComponentsServiceFilterReq, $0.ComponentsList>(
'Filter',
filter_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.ComponentsServiceFilterReq.fromBuffer(value),
($0.ComponentsList value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$0.ComponentsServiceCountReq, $1.CountResponse>(
'Count',
count_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.ComponentsServiceCountReq.fromBuffer(value),
($1.CountResponse value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$0.ComponentsServiceFilterReq, $1.StandardFile>(
'DownloadAsCSV',
downloadAsCSV_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.ComponentsServiceFilterReq.fromBuffer(value),
($1.StandardFile value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.Empty, $1.StandardFile>(
'DownloadImportTemplate',
downloadImportTemplate_Pre,
false,
false,
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
($1.StandardFile value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.StandardFile, $1.IdentifierUUIDsList>(
'ImportFromCSV',
importFromCSV_Pre,
false,
false,
($core.List<$core.int> value) => $1.StandardFile.fromBuffer(value),
($1.IdentifierUUIDsList value) => value.writeToBuffer()));
}