Coverage for functions \ flipdare \ generated \ schema \ payment \ stripe_refresh_account_response_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, 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
31class StripeRefreshAccountResponseKey(StrEnum):
32 UID = "uid"
33 ACCOUNT_TYPE = "account_type"
34 ONBOARD_RESULT = "onboard_result"
35 ONBOARD_RESULT_MESSAGE = "onboard_result_message"
36 DISABLED = "disabled"
37 DISABLED_REASON = "disabled_reason"
38 CLOSED = "closed"
39 NAME = "name"
40 CURRENCY_CODE = "currency_code"
41 COUNTRY_CODE = "country_code"
42 ACCOUNT_ID = "account_id"
43 CUSTOMER_ID = "customer_id"
46class StripeRefreshAccountResponseSchema(TypedDict):
47 """Response body for refreshing a Stripe account."""
49 uid: str
50 account_type: StripeAccountType
51 onboard_result: str
52 onboard_result_message: str
53 disabled: bool
54 disabled_reason: NotRequired[str]
55 closed: bool
56 name: NotRequired[str]
57 currency_code: NotRequired[StripeCurrencyCode]
58 country_code: NotRequired[StripeCountryCode]
59 account_id: NotRequired[str]
60 customer_id: NotRequired[str]