project book event
This commit is contained in:
@@ -123,6 +123,16 @@ from api_events.events.decision_book.decision_book_decision_book_items import (
|
||||
DecisionBookDecisionBookItemsUpdateEventMethod,
|
||||
DecisionBookDecisionBookItemsPatchEventMethod,
|
||||
)
|
||||
from api_events.events.decision_book.project_decision_book import (
|
||||
ProjectDecisionBookCreateEvents,
|
||||
ProjectDecisionBookUpdateEvents,
|
||||
ProjectDecisionBookPatchEvents,
|
||||
)
|
||||
from api_events.events.decision_book.project_decision_book_person import (
|
||||
ProjectDecisionBookPersonCreateEvents,
|
||||
ProjectDecisionBookPersonUpdateEvents,
|
||||
ProjectDecisionBookPersonPatchEvents,
|
||||
)
|
||||
from api_events.events.events.events_bind_events import (
|
||||
EventBindOccupantEventMethod,
|
||||
EventBindEmployeeEventMethod,
|
||||
@@ -208,6 +218,12 @@ __all__ = [
|
||||
"DecisionBookDecisionBookItemsCreateEventMethod",
|
||||
"DecisionBookDecisionBookItemsUpdateEventMethod",
|
||||
"DecisionBookDecisionBookItemsPatchEventMethod",
|
||||
"ProjectDecisionBookCreateEvents",
|
||||
"ProjectDecisionBookUpdateEvents",
|
||||
"ProjectDecisionBookPatchEvents",
|
||||
"ProjectDecisionBookPersonCreateEvents",
|
||||
"ProjectDecisionBookPersonUpdateEvents",
|
||||
"ProjectDecisionBookPersonPatchEvents",
|
||||
"CompanyPatchEventMethod",
|
||||
"CompanyCreateEventMethod",
|
||||
"CompanyUpdateEventMethod",
|
||||
|
||||
42
api_events/events/decision_book/project_decision_book.py
Normal file
42
api_events/events/decision_book/project_decision_book.py
Normal file
@@ -0,0 +1,42 @@
|
||||
from api_events.events.abstract_class import MethodToEvent, ActionsSchema
|
||||
from api_objects.auth.token_objects import EmployeeTokenObject, OccupantTokenObject
|
||||
from api_validations.core_response import AlchemyJsonResponse
|
||||
|
||||
|
||||
class ProjectDecisionBookCreateEvents(MethodToEvent):
|
||||
|
||||
event_type = "CREATE"
|
||||
|
||||
__event_keys__ = {
|
||||
"b8e44bb2-f157-4dd5-8a24-0e02db4877c9": "project_decision_book_create",
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def project_decision_book_create(cls, request, *args, **kwargs):
|
||||
pass
|
||||
|
||||
|
||||
class ProjectDecisionBookUpdateEvents(MethodToEvent):
|
||||
|
||||
event_type = "UPDATE"
|
||||
|
||||
__event_keys__ = {
|
||||
"bfe3ef13-030f-495f-b692-94bcb746d700": "project_decision_book_update",
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def project_decision_book_update(cls, request, *args, **kwargs):
|
||||
pass
|
||||
|
||||
|
||||
class ProjectDecisionBookPatchEvents(MethodToEvent):
|
||||
|
||||
event_type = "PATCH"
|
||||
|
||||
__event_keys__ = {
|
||||
"444d67a0-b3a8-4ca2-9d8d-f1acc75011e0": "project_decision_book_patch",
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def project_decision_book_patch(cls, request, *args, **kwargs):
|
||||
pass
|
||||
@@ -0,0 +1,42 @@
|
||||
from api_events.events.abstract_class import MethodToEvent, ActionsSchema
|
||||
from api_objects.auth.token_objects import EmployeeTokenObject, OccupantTokenObject
|
||||
from api_validations.core_response import AlchemyJsonResponse
|
||||
|
||||
|
||||
class ProjectDecisionBookPersonCreateEvents(MethodToEvent):
|
||||
|
||||
event_type = "CREATE"
|
||||
|
||||
__event_keys__ = {
|
||||
"9c88e314-84e8-435e-8c1e-6a5aae80b2e6": "project_decision_book_person_create",
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def project_decision_book_create(cls, request, *args, **kwargs):
|
||||
return
|
||||
|
||||
|
||||
class ProjectDecisionBookPersonUpdateEvents(MethodToEvent):
|
||||
|
||||
event_type = "UPDATE"
|
||||
|
||||
__event_keys__ = {
|
||||
"7fbd18a0-c099-4494-ada1-bb23e39bb141": "project_decision_book_update_person",
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def project_decision_book_update(cls, request, *args, **kwargs):
|
||||
return
|
||||
|
||||
|
||||
class ProjectDecisionBookPersonPatchEvents(MethodToEvent):
|
||||
|
||||
event_type = "PATCH"
|
||||
|
||||
__event_keys__ = {
|
||||
"a122e84a-5556-4bf7-b680-1f47c438d4f7": "project_decision_book_person_patch",
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def project_decision_book_patch(cls, request, *args, **kwargs):
|
||||
return
|
||||
@@ -1,6 +0,0 @@
|
||||
from api_events.events.abstract_class import MethodToEvent, ActionsSchema
|
||||
from api_objects.auth.token_objects import EmployeeTokenObject, OccupantTokenObject
|
||||
from api_validations.core_response import AlchemyJsonResponse
|
||||
|
||||
|
||||
class ProjectDecisionBookProjectDecisionBookEvents(MethodToEvent): ...
|
||||
@@ -1,6 +0,0 @@
|
||||
from api_events.events.abstract_class import MethodToEvent, ActionsSchema
|
||||
from api_objects.auth.token_objects import EmployeeTokenObject, OccupantTokenObject
|
||||
from api_validations.core_response import AlchemyJsonResponse
|
||||
|
||||
|
||||
class ProjectDecisionBookProjectDecisionBookPersonEvents(MethodToEvent): ...
|
||||
Reference in New Issue
Block a user