events updated
This commit is contained in:
@@ -27,6 +27,7 @@ class DecisionBookListEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"5c10d6ae-2aee-4243-a7c3-94826d028d13": "building_decision_book_list",
|
||||
}
|
||||
__event_validation__ = {"5c10d6ae-2aee-4243-a7c3-94826d028d13": None}
|
||||
|
||||
@classmethod
|
||||
def building_decision_book_list(
|
||||
@@ -67,6 +68,7 @@ class DecisionBookCreateEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"0a68cb44-271a-4829-81f6-cd99a5f326b4": "building_decision_book_create",
|
||||
}
|
||||
__event_validation__ = {"0a68cb44-271a-4829-81f6-cd99a5f326b4": InsertDecisionBook}
|
||||
|
||||
@classmethod
|
||||
def building_decision_book_create(
|
||||
@@ -177,6 +179,7 @@ class DecisionBookUpdateEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"6bc7035c-3b53-4c0a-8cc9-1ec9c6af1e29": "building_decision_book_update",
|
||||
}
|
||||
__event_validation__ = {"6bc7035c-3b53-4c0a-8cc9-1ec9c6af1e29": None}
|
||||
|
||||
@classmethod
|
||||
def building_decision_book_update(cls, data: InsertDecisionBook, token_dict: dict):
|
||||
@@ -189,6 +192,7 @@ class DecisionBookPatchEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"7b58ed84-9a65-4588-994d-30df8366b050": "building_decision_book_patch",
|
||||
}
|
||||
__event_validation__ = {"7b58ed84-9a65-4588-994d-30df8366b050": None}
|
||||
|
||||
@classmethod
|
||||
def building_decision_book_patch(cls, data: InsertDecisionBook, token_dict: dict):
|
||||
@@ -201,6 +205,7 @@ class DecisionBookApprovalEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"fc745142-3437-4ca2-89fa-c5a3e2b5c6c2": "building_decision_book_approval",
|
||||
}
|
||||
__event_validation__ = {"fc745142-3437-4ca2-89fa-c5a3e2b5c6c2": None}
|
||||
|
||||
@classmethod
|
||||
def building_decision_book_approval(cls, data, token_dict):
|
||||
|
||||
@@ -40,6 +40,7 @@ class DecisionBookDecisionBookItemsListEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"eb36de59-8268-4d96-80b6-5d01c12bf0b1": "building_decision_book_items_list",
|
||||
}
|
||||
__event_validation__ = {"eb36de59-8268-4d96-80b6-5d01c12bf0b1": None}
|
||||
|
||||
@classmethod
|
||||
def building_decision_book_items_list(
|
||||
@@ -120,6 +121,9 @@ class DecisionBookDecisionBookItemsCreateEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"dce10509-0da5-46fb-af3c-a81d54d5481c": "building_decision_book_items_create",
|
||||
}
|
||||
__event_validation__ = {
|
||||
"dce10509-0da5-46fb-af3c-a81d54d5481c": InsertBuildDecisionBookItems
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def iterate_over_build_parts(
|
||||
@@ -494,6 +498,7 @@ class DecisionBookDecisionBookItemsUpdateEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"f0fdfe1b-806b-4175-ad50-a1a165c0dfb7": "building_decision_book_items_update",
|
||||
}
|
||||
__event_validation__ = {"f0fdfe1b-806b-4175-ad50-a1a165c0dfb7": None}
|
||||
|
||||
@classmethod
|
||||
def building_decision_book_items_update(
|
||||
@@ -510,6 +515,7 @@ class DecisionBookDecisionBookItemsPatchEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"42328809-b516-477b-82cc-2d6fadf28843": "building_decision_book_items_patch",
|
||||
}
|
||||
__event_validation__ = {"42328809-b516-477b-82cc-2d6fadf28843": None}
|
||||
|
||||
@classmethod
|
||||
def building_decision_book_items_patch(
|
||||
|
||||
@@ -27,6 +27,7 @@ class DecisionBookDecisionBookItemsDebitsListEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"a1d2b1f6-9b8d-4f6b-8f4d-6b1f6a9d8b1a": "decision_book_decision_book_items_debits_list",
|
||||
}
|
||||
__event_validation__ = {"a1d2b1f6-9b8d-4f6b-8f4d-6b1f6a9d8b1a": None}
|
||||
|
||||
@classmethod
|
||||
def decision_book_decision_book_items_debits_list(
|
||||
@@ -54,6 +55,7 @@ class DecisionBookDecisionBookItemsDebitsCreateEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"a1d2b1f6-9b8d-4f6b-8f4d-6b1f6a9d8b1a": "decision_book_decision_book_items_debits_create",
|
||||
}
|
||||
__event_validation__ = {"a1d2b1f6-9b8d-4f6b-8f4d-6b1f6a9d8b1a": None}
|
||||
|
||||
@classmethod
|
||||
def decision_book_decision_book_items_debits_create(
|
||||
|
||||
@@ -34,6 +34,7 @@ class DecisionBookPersonListEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"ea324dc0-3b08-4896-9040-7fa0401a176f": "building_decision_book_person_list",
|
||||
}
|
||||
__event_validation__ = {"ea324dc0-3b08-4896-9040-7fa0401a176f": None}
|
||||
|
||||
@classmethod
|
||||
def building_decision_book_person_list(
|
||||
@@ -48,6 +49,9 @@ class DecisionBookPersonAddEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"e346f720-880b-4b07-93d6-9ac76fbbaa33": "building_decision_book_person_add",
|
||||
}
|
||||
__event_validation__ = {
|
||||
"e346f720-880b-4b07-93d6-9ac76fbbaa33": DecisionBookDecisionBookInvitationsUpdate
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def building_decision_book_person_add(
|
||||
@@ -142,6 +146,9 @@ class DecisionBookPersonRemoveEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"30588869-04cd-48ea-ad00-0e4f8dd7f735": "building_decision_book_people_remove",
|
||||
}
|
||||
__event_validation__ = {
|
||||
"30588869-04cd-48ea-ad00-0e4f8dd7f735": RemoveDecisionBookPerson
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def building_decision_book_people_remove(
|
||||
@@ -156,6 +163,9 @@ class DecisionBookPersonAttendEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"bdcba521-0116-441c-ace1-84c5b68c86c7": "decision_book_invitations_attend",
|
||||
}
|
||||
__event_validation__ = {
|
||||
"bdcba521-0116-441c-ace1-84c5b68c86c7": DecisionBookDecisionBookInvitationsAttend
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def decision_book_invitations_attend(
|
||||
@@ -222,6 +232,9 @@ class DecisionBookPersonAssignOccupantEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"c0b65098-9c79-4212-b1d0-c7e7836cf141": "decision_book_invitations_assign_occupant",
|
||||
}
|
||||
__event_validation__ = {
|
||||
"c0b65098-9c79-4212-b1d0-c7e7836cf141": DecisionBookDecisionBookInvitationsAssign
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def decision_book_invitations_assign_occupant(
|
||||
|
||||
@@ -32,6 +32,7 @@ class BuildDecisionBookInvitationsListEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"e2277528-8c9c-4c0c-ae64-3ce80cae664b": "decision_book_invitations_list",
|
||||
}
|
||||
__event_validation__ = {"e2277528-8c9c-4c0c-ae64-3ce80cae664b": None}
|
||||
|
||||
@classmethod
|
||||
def decision_book_invitations_list(
|
||||
@@ -48,6 +49,9 @@ class BuildDecisionBookInvitationsCreateEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"d0bfa20c-841d-421c-98e6-d308f938d16a": "decision_book_invitations_create",
|
||||
}
|
||||
__event_validation__ = {
|
||||
"d0bfa20c-841d-421c-98e6-d308f938d16a": DecisionBookDecisionBookInvitations
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def decision_book_invitations_create(
|
||||
@@ -248,6 +252,9 @@ class BuildDecisionBookInvitationsUpdateEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"92413636-53a8-4a05-842c-1485a64e00d1": "decision_book_invitations_attend",
|
||||
}
|
||||
__event_validation__ = {
|
||||
"92413636-53a8-4a05-842c-1485a64e00d1": DecisionBookDecisionBookInvitationsUpdate
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def decision_book_invitations_attend(
|
||||
|
||||
@@ -32,6 +32,7 @@ class ProjectDecisionBookListEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"96459b36-37f2-4d5b-8370-c459058d5bce": "project_decision_book_list",
|
||||
}
|
||||
__event_validation__ = {"96459b36-37f2-4d5b-8370-c459058d5bce": None}
|
||||
|
||||
@classmethod
|
||||
def project_decision_book_list(
|
||||
@@ -76,6 +77,9 @@ class ProjectDecisionBookCreateEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"b8e44bb2-f157-4dd5-8a24-0e02db4877c9": "project_decision_book_create",
|
||||
}
|
||||
__event_validation__ = {
|
||||
"b8e44bb2-f157-4dd5-8a24-0e02db4877c9": InsertBuildDecisionBookProjects
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def project_decision_book_create(
|
||||
@@ -132,6 +136,9 @@ class ProjectDecisionBookUpdateEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"bfe3ef13-030f-495f-b692-94bcb746d700": "project_decision_book_update",
|
||||
}
|
||||
__event_validation__ = {
|
||||
"bfe3ef13-030f-495f-b692-94bcb746d700": UpdateBuildDecisionBookProjects
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def project_decision_book_update(
|
||||
@@ -209,6 +216,9 @@ class ProjectDecisionBookApprovalEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"a83a83fe-8446-4c60-9ae5-d1c06adbf626": "project_decision_book_approval",
|
||||
}
|
||||
__event_validation__ = {
|
||||
"a83a83fe-8446-4c60-9ae5-d1c06adbf626": ApprovalsBuildDecisionBookProjects
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def project_decision_book_approval(
|
||||
@@ -334,6 +344,7 @@ class ProjectDecisionBookPatchEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"444d67a0-b3a8-4ca2-9d8d-f1acc75011e0": "project_decision_book_patch",
|
||||
}
|
||||
__event_validation__ = {"444d67a0-b3a8-4ca2-9d8d-f1acc75011e0": None}
|
||||
|
||||
@classmethod
|
||||
def project_decision_book_patch(
|
||||
|
||||
@@ -23,6 +23,7 @@ class BuildDecisionBookProjectItemsListEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"ce3630e4-2bf9-4433-bdab-1ee72117e54b": "build_decision_book_project_items_list",
|
||||
}
|
||||
__event_validation__ = {"ce3630e4-2bf9-4433-bdab-1ee72117e54b": None}
|
||||
|
||||
@staticmethod
|
||||
def build_decision_book_project_items_list(
|
||||
@@ -45,11 +46,14 @@ class BuildDecisionBookProjectItemsCreateEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"b27e4fd0-6e3e-441b-9b33-806ac7082444": "build_decision_book_project_items_create",
|
||||
}
|
||||
__event_validation__ = {
|
||||
"b27e4fd0-6e3e-441b-9b33-806ac7082444": InsertBuildDecisionBookProjectItems,
|
||||
}
|
||||
|
||||
@staticmethod
|
||||
def build_decision_book_project_items_create(
|
||||
token_dict: Union[EmployeeTokenObject, OccupantTokenObject],
|
||||
data: InsertBuildDecisionBookProjectItems,
|
||||
token_dict: Union[EmployeeTokenObject, OccupantTokenObject],
|
||||
):
|
||||
if isinstance(token_dict, EmployeeTokenObject):
|
||||
raise BuildDecisionBookProjectItems.raise_http_exception(
|
||||
@@ -90,6 +94,9 @@ class BuildDecisionBookProjectItemsUpdateEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"b2b7cdce-9a0c-4722-90ff-8bef36b4ec6b": "build_decision_book_project_items_update",
|
||||
}
|
||||
__event_validation__ = {
|
||||
"b2b7cdce-9a0c-4722-90ff-8bef36b4ec6b": UpdateBuildDecisionBookProjectItems
|
||||
}
|
||||
|
||||
@staticmethod
|
||||
def build_decision_book_project_items_update(
|
||||
@@ -110,6 +117,7 @@ class BuildDecisionBookProjectItemsPatchEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"e59d50df-dd22-4823-aeae-b9490332885c": "build_decision_book_project_items_patch",
|
||||
}
|
||||
__event_validation__ = {"e59d50df-dd22-4823-aeae-b9490332885c": None}
|
||||
|
||||
@staticmethod
|
||||
def build_decision_book_project_items_patch(
|
||||
|
||||
@@ -23,6 +23,7 @@ class ProjectDecisionBookPersonListEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"7101b5ca-8bef-40f9-8b4d-646d9994e18f": "project_decision_book_person_list",
|
||||
}
|
||||
__event_validation__ = {"7101b5ca-8bef-40f9-8b4d-646d9994e18f": None}
|
||||
|
||||
@classmethod
|
||||
def project_decision_book_person_list(
|
||||
@@ -64,6 +65,9 @@ class ProjectDecisionBookPersonCreateEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"9c88e314-84e8-435e-8c1e-6a5aae80b2e6": "project_decision_book_person_create",
|
||||
}
|
||||
__event_validation__ = {
|
||||
"9c88e314-84e8-435e-8c1e-6a5aae80b2e6": InsertBuildDecisionBookProjectPerson
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def project_decision_book_create(
|
||||
@@ -99,6 +103,9 @@ class ProjectDecisionBookPersonUpdateEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"7fbd18a0-c099-4494-ada1-bb23e39bb141": "project_decision_book_update_person",
|
||||
}
|
||||
__event_validation__ = {
|
||||
"7fbd18a0-c099-4494-ada1-bb23e39bb141": UpdateBuildDecisionBookProjectPerson
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def project_decision_book_update(
|
||||
@@ -135,6 +142,7 @@ class ProjectDecisionBookPersonPatchEventMethods(MethodToEvent):
|
||||
__event_keys__ = {
|
||||
"a122e84a-5556-4bf7-b680-1f47c438d4f7": "project_decision_book_person_patch",
|
||||
}
|
||||
__event_validation__ = {"a122e84a-5556-4bf7-b680-1f47c438d4f7": None}
|
||||
|
||||
@classmethod
|
||||
def project_decision_book_patch(
|
||||
|
||||
Reference in New Issue
Block a user