Coverage for functions \ flipdare \ generated \ schema \ report \ restriction_report_schema.py: 100%

0 statements  

« prev     ^ index     » next       coverage.py v7.13.0, created at 2026-05-08 12:22 +1000

1#!/usr/bin/env python 

2# 

3# Copyright (c) 2026 Flipdare Pty Ltd. All rights reserved. 

4# 

5# This file is part of Flipdare's proprietary software and contains 

6# confidential and copyrighted material. Unauthorised copying, 

7# modification, distribution, or use of this file is strictly 

8# prohibited without prior written permission from Flipdare Pty Ltd. 

9# 

10# This software includes third-party components licensed under MIT, 

11# BSD, and Apache 2.0 licences. See THIRD_PARTY_NOTICES for details. 

12# 

13# NOTE: THIS FILE IS AUTO GENERATED. DO NOT EDIT. 

14# 

15# Generated by codegen_models.py 

16# 

17# Modify 'codegen_models.py' 

18# and re-run the script above to update. 

19# 

20 

21# pragma: no cover 

22 

23 

24from typing import TypedDict 

25from enum import StrEnum 

26 

27 

28class RestrictionReportKey(StrEnum): 

29 RESTRICTION_ID = "restriction_id" 

30 USER_ID = "user_id" 

31 IN_DANGER = "in_danger" 

32 FLAG_TYPE = "flag_type" 

33 STATUS = "status" 

34 REASON = "reason" 

35 ACTION = "action" 

36 DURATION = "duration" 

37 CATEGORY = "category" 

38 STOPWATCH_START = "stopwatch_start" 

39 STOPWATCH_END = "stopwatch_end" 

40 RESTRICTION_LINK = "restriction_link" 

41 CREATED_AT = "created_at" 

42 UPDATED_AT = "updated_at" 

43 

44 

45class RestrictionReportSchema(TypedDict): 

46 """Restriction Report Schema""" 

47 

48 restriction_id: str 

49 user_id: str 

50 in_danger: str 

51 flag_type: str 

52 status: str 

53 reason: str 

54 action: str 

55 duration: str 

56 category: str 

57 stopwatch_start: str 

58 stopwatch_end: str 

59 restriction_link: str 

60 created_at: str 

61 updated_at: str