wag-managment-api-service-latest
Go to file
berkay eaadfefeaf updated email service 2025-03-26 11:11:56 +03:00
ApiLayers updated yml 2025-03-25 11:54:13 +03:00
ApiServices/AuthApiService services updated 2025-03-25 10:43:25 +03:00
BankServices updated email service 2025-03-26 11:11:56 +03:00
Commons updated and cleaned 2025-03-24 13:36:14 +03:00
Configs updated yml 2025-03-25 11:54:13 +03:00
EmptyRunner updated and cleaned 2025-03-24 13:36:14 +03:00
Events redis added 2025-03-25 10:45:20 +03:00
Schemas updated and cleaned 2025-03-24 13:36:14 +03:00
Services session maker updated 2025-03-25 12:53:30 +03:00
alembic updated and cleaned 2025-03-24 13:36:14 +03:00
.dockerignore updated ReadMe.md 2025-03-21 14:15:22 +03:00
.gitignore updated Empty Runner 2025-03-22 00:30:51 +03:00
.python-version updated Empty Runner 2025-03-22 00:30:51 +03:00
README.md updated Bank Services 2025-03-23 21:44:50 +03:00
alembic.ini updated Empty Runner 2025-03-22 00:30:51 +03:00
docker-compose.yml updated yml 2025-03-25 12:24:09 +03:00
email.env configs from env updated 2025-03-25 11:26:23 +03:00
pyproject.toml services updated 2025-03-25 10:43:25 +03:00
uv.lock services updated 2025-03-25 10:43:25 +03:00

README.md

uv add arrow redbox alembic fastapi uvicorn sqlalchemy-mixins redis psycopg2-binary pymongo rsa redmail unidecode textdistance pandas faker requests cryptography

user_creds_create user_creds_update

timezone Comparator must be used as GMT+0 and users GMT+X [Base Collection don't have find_one / find_all bla bla]ApiEnumDropdown: functions [ enum_class = mapped_column(String, nullable=False, comment="Enum Constant Name") key = mapped_column(String, nullable=False, comment="Enum Key") value = mapped_column(String, nullable=False, comment="Enum Value") description = mapped_column(String, nullable=True) ] BuildType: functions [ build_type = mapped_column(String, nullable=False, comment="Build Type") description = mapped_column(String, nullable=True) ] OccupantType: functions [ occupant_type = mapped_column(String, nullable=False, comment="Occupant Type") description = mapped_column(String, nullable=True) ]

create & update & select is_confirmed = True

find_one / find_all is found @Database is_confirmed = False raise Exception Record is in database but not confirmed by supervisor

find_or_create -> If record is not found create it if found.is_deleted = True: return "Record is found but deleted. Please contact your supervisor" if found.is_confirmed = False: return "Record is found but not confirmed by supervisor"

update Which fields are possible to update except

  • is_confirmed

delete -> Update is_deleted = True except

  • id

destroy -> Only available for system

patch -> Only available for system [event] Retrieve available events for token user

  • Occupant Information + Occupant [Settings] -> Event Group [Settings] Occupant [Accounts] -> Event Group [Accounts] Occupant [Decision Book] -> Event Group [Decision Book] Occupant [Projects] -> Event Group [Projects] Occupant [Events] -> Event Group [Events] Occupant [Company] -> Event Group [Company] Occupant [People] -> Event Group [People] Occupant [Build] -> Event Group [Build] Occupant [Address] -> Event Group [Address]

ApiActions: insert_ insert_bulk update_ update_bulk delete_ delete_bulk patch_ patch_bulk

InnerJoin: pass

class FilterFromUser: raise_exception = FilterModelofEvent(**filter_records)

HTTP_404_NOT_FOUND make available for Next.js HTTP_401_UNAUTHORIZED make available for Next.js HTTP_403_FORBIDDEN make available for Next.js HTTP_400_BAD_REQUEST make available for Next.js

class DecisionBookDecisionBookItemsListEventMethods(MethodToEvent):

event_type = "SELECT"
__event_keys__ = {
    "eb36de59-8268-4d96-80b6-5d01c12bf0b1": "building_decision_book_items_list",
}
event_description = "List Decision Book Items"