Coverage for functions \ flipdare \ generated \ schema \ email \ body \ user \ flag_email_schema.py: 100%
0 statements
« prev ^ index » next coverage.py v7.13.0, created at 2026-05-08 12:22 +1000
« 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#
21# pragma: no cover
24from typing import TypedDict
25from enum import StrEnum
28class FlagEmailKey(StrEnum):
29 TO_NAME = "to_name"
30 OBJ_ID = "obj_id"
31 OBJ_LABEL = "obj_label"
32 REASON = "reason"
33 DESCRIPTION = "description"
34 IS_BANNED = "is_banned"
35 IS_SUSPENDED = "is_suspended"
36 IS_BEING_REVIEWED = "is_being_reviewed"
37 IS_WARNING = "is_warning"
38 IS_RESTRICTED = "is_restricted"
39 RESTRICTION_PREFIX = "restriction_prefix"
40 RESTRICTION_LENGTH = "restriction_length"
41 RESTRICTION_ACTION = "restriction_action"
44class FlagEmailSchema(TypedDict):
45 """user flag email schema"""
47 to_name: str
48 obj_id: str
49 obj_label: str
50 reason: str
51 description: str
52 is_banned: bool
53 is_suspended: bool
54 is_being_reviewed: bool
55 is_warning: bool
56 is_restricted: bool
57 restriction_prefix: str
58 restriction_length: str
59 restriction_action: str