Coverage for functions \ flipdare \ generated \ schema \ payment \ stripe_create_account_request_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, NotRequired 

25from flipdare.generated.shared.stripe.stripe_account_type import StripeAccountType 

26from flipdare.generated.shared.stripe.stripe_currency_code import StripeCurrencyCode 

27from flipdare.generated.shared.stripe.stripe_country_code import StripeCountryCode 

28from enum import StrEnum 

29 

30 

31class StripeCreateAccountRequestKey(StrEnum): 

32 UID = "uid" 

33 FIRST_NAME = "first_name" 

34 LAST_NAME = "last_name" 

35 ACCOUNT_TYPE = "account_type" 

36 CURRENCY_CODE = "currency_code" 

37 COUNTRY_CODE = "country_code" 

38 EMAIL = "email" 

39 OVERWRITE = "overwrite" 

40 

41 

42class StripeCreateAccountRequestSchema(TypedDict): 

43 """Request body for creating a new Stripe connected account.""" 

44 

45 uid: str 

46 first_name: str 

47 last_name: str 

48 account_type: StripeAccountType 

49 currency_code: StripeCurrencyCode 

50 country_code: StripeCountryCode 

51 email: NotRequired[str] 

52 overwrite: NotRequired[bool]