fragment-python 0.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. fragment/__init__.py +0 -0
  2. fragment/client/__init__.py +1 -0
  3. fragment/client/async_client.py +67 -0
  4. fragment/codegen/__init__.py +0 -0
  5. fragment/codegen/helpers.py +51 -0
  6. fragment/codegen/main.py +64 -0
  7. fragment/codegen/plugins/__init__.py +0 -0
  8. fragment/codegen/plugins/generate_client_method.py +62 -0
  9. fragment/codegen/plugins/get_file_comment.py +18 -0
  10. fragment/exceptions.py +12 -0
  11. fragment/logger.py +6 -0
  12. fragment/sdk/__init__.py +478 -0
  13. fragment/sdk/add_ledger_entry.py +54 -0
  14. fragment/sdk/add_ledger_entry_runtime.py +54 -0
  15. fragment/sdk/async_client.py +69 -0
  16. fragment/sdk/base_model.py +29 -0
  17. fragment/sdk/client.py +1071 -0
  18. fragment/sdk/create_custom_link.py +40 -0
  19. fragment/sdk/create_ledger.py +49 -0
  20. fragment/sdk/enums.py +263 -0
  21. fragment/sdk/get_ledger.py +23 -0
  22. fragment/sdk/get_ledger_account_balance.py +23 -0
  23. fragment/sdk/get_ledger_account_lines.py +47 -0
  24. fragment/sdk/get_ledger_entry.py +41 -0
  25. fragment/sdk/get_schema.py +28 -0
  26. fragment/sdk/get_workspace.py +16 -0
  27. fragment/sdk/input_types.py +482 -0
  28. fragment/sdk/list_ledger_account_balances.py +53 -0
  29. fragment/sdk/list_ledger_accounts.py +50 -0
  30. fragment/sdk/list_ledger_entries.py +58 -0
  31. fragment/sdk/list_ledger_entry_group_balances.py +57 -0
  32. fragment/sdk/list_multi_currency_ledger_account_balances.py +130 -0
  33. fragment/sdk/reconcile_tx.py +55 -0
  34. fragment/sdk/reconcile_tx_runtime.py +55 -0
  35. fragment/sdk/store_schema.py +45 -0
  36. fragment/sdk/sync_custom_accounts.py +53 -0
  37. fragment/sdk/sync_custom_txs.py +44 -0
  38. fragment/sdk/update_ledger.py +39 -0
  39. fragment/sdk/update_ledger_entry.py +77 -0
  40. fragment/std_queries/queries.graphql +656 -0
  41. fragment_python-0.1.1.dist-info/LICENSE +201 -0
  42. fragment_python-0.1.1.dist-info/METADATA +142 -0
  43. fragment_python-0.1.1.dist-info/RECORD +45 -0
  44. fragment_python-0.1.1.dist-info/WHEEL +4 -0
  45. fragment_python-0.1.1.dist-info/entry_points.txt +3 -0
@@ -0,0 +1,130 @@
1
+ # Generated by fragment (with the help of ariadne-codegen)
2
+ # Source: queries/
3
+
4
+ from typing import Any, List, Optional
5
+
6
+ from pydantic import Field
7
+
8
+ from .base_model import BaseModel
9
+ from .enums import CurrencyCode, LedgerAccountTypes
10
+
11
+
12
+ class ListMultiCurrencyLedgerAccountBalances(BaseModel):
13
+ ledger: Optional["ListMultiCurrencyLedgerAccountBalancesLedger"]
14
+
15
+
16
+ class ListMultiCurrencyLedgerAccountBalancesLedger(BaseModel):
17
+ id: str
18
+ ik: Any
19
+ name: str
20
+ created: Any
21
+ ledger_accounts: "ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccounts" = (
22
+ Field(alias="ledgerAccounts")
23
+ )
24
+
25
+
26
+ class ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccounts(BaseModel):
27
+ nodes: List["ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodes"]
28
+ page_info: "ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsPageInfo" = (
29
+ Field(alias="pageInfo")
30
+ )
31
+
32
+
33
+ class ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodes(BaseModel):
34
+ id: str
35
+ path: str
36
+ name: Optional[str]
37
+ type: LedgerAccountTypes
38
+ created: Any
39
+ own_balances: (
40
+ "ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesOwnBalances"
41
+ ) = Field(alias="ownBalances")
42
+ child_balances: (
43
+ "ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesChildBalances"
44
+ ) = Field(alias="childBalances")
45
+ balances: "ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesBalances"
46
+
47
+
48
+ class ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesOwnBalances(
49
+ BaseModel
50
+ ):
51
+ nodes: List[
52
+ "ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesOwnBalancesNodes"
53
+ ]
54
+
55
+
56
+ class ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesOwnBalancesNodes(
57
+ BaseModel
58
+ ):
59
+ currency: "ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesOwnBalancesNodesCurrency"
60
+ amount: Any
61
+
62
+
63
+ class ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesOwnBalancesNodesCurrency(
64
+ BaseModel
65
+ ):
66
+ code: CurrencyCode
67
+ custom_currency_id: Optional[Any] = Field(alias="customCurrencyId")
68
+
69
+
70
+ class ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesChildBalances(
71
+ BaseModel
72
+ ):
73
+ nodes: List[
74
+ "ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesChildBalancesNodes"
75
+ ]
76
+
77
+
78
+ class ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesChildBalancesNodes(
79
+ BaseModel
80
+ ):
81
+ currency: "ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesChildBalancesNodesCurrency"
82
+ amount: Any
83
+
84
+
85
+ class ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesChildBalancesNodesCurrency(
86
+ BaseModel
87
+ ):
88
+ code: CurrencyCode
89
+ custom_currency_id: Optional[Any] = Field(alias="customCurrencyId")
90
+
91
+
92
+ class ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesBalances(
93
+ BaseModel
94
+ ):
95
+ nodes: List[
96
+ "ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesBalancesNodes"
97
+ ]
98
+
99
+
100
+ class ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesBalancesNodes(
101
+ BaseModel
102
+ ):
103
+ currency: "ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesBalancesNodesCurrency"
104
+ amount: Any
105
+
106
+
107
+ class ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesBalancesNodesCurrency(
108
+ BaseModel
109
+ ):
110
+ code: CurrencyCode
111
+ custom_currency_id: Optional[Any] = Field(alias="customCurrencyId")
112
+
113
+
114
+ class ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsPageInfo(BaseModel):
115
+ has_next_page: bool = Field(alias="hasNextPage")
116
+ end_cursor: Optional[str] = Field(alias="endCursor")
117
+ has_previous_page: bool = Field(alias="hasPreviousPage")
118
+ start_cursor: Optional[str] = Field(alias="startCursor")
119
+
120
+
121
+ ListMultiCurrencyLedgerAccountBalances.model_rebuild()
122
+ ListMultiCurrencyLedgerAccountBalancesLedger.model_rebuild()
123
+ ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccounts.model_rebuild()
124
+ ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodes.model_rebuild()
125
+ ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesOwnBalances.model_rebuild()
126
+ ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesOwnBalancesNodes.model_rebuild()
127
+ ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesChildBalances.model_rebuild()
128
+ ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesChildBalancesNodes.model_rebuild()
129
+ ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesBalances.model_rebuild()
130
+ ListMultiCurrencyLedgerAccountBalancesLedgerLedgerAccountsNodesBalancesNodes.model_rebuild()
@@ -0,0 +1,55 @@
1
+ # Generated by fragment (with the help of ariadne-codegen)
2
+ # Source: queries/
3
+
4
+ from typing import Any, List, Literal, Optional, Union
5
+
6
+ from pydantic import Field
7
+
8
+ from .base_model import BaseModel
9
+
10
+
11
+ class ReconcileTx(BaseModel):
12
+ reconcile_tx: Union[
13
+ "ReconcileTxReconcileTxBadRequestError",
14
+ "ReconcileTxReconcileTxInternalError",
15
+ "ReconcileTxReconcileTxReconcileTxResult",
16
+ ] = Field(alias="reconcileTx", discriminator="typename__")
17
+
18
+
19
+ class ReconcileTxReconcileTxBadRequestError(BaseModel):
20
+ typename__: Literal["BadRequestError"] = Field(alias="__typename")
21
+
22
+
23
+ class ReconcileTxReconcileTxInternalError(BaseModel):
24
+ typename__: Literal["InternalError"] = Field(alias="__typename")
25
+
26
+
27
+ class ReconcileTxReconcileTxReconcileTxResult(BaseModel):
28
+ typename__: Literal["ReconcileTxResult"] = Field(alias="__typename")
29
+ entry: "ReconcileTxReconcileTxReconcileTxResultEntry"
30
+ lines: List["ReconcileTxReconcileTxReconcileTxResultLines"]
31
+
32
+
33
+ class ReconcileTxReconcileTxReconcileTxResultEntry(BaseModel):
34
+ id: str
35
+ ik: str
36
+ date: Any
37
+ posted: Any
38
+ created: Any
39
+ description: Optional[str]
40
+
41
+
42
+ class ReconcileTxReconcileTxReconcileTxResultLines(BaseModel):
43
+ id: str
44
+ amount: Any
45
+ account: "ReconcileTxReconcileTxReconcileTxResultLinesAccount"
46
+ external_tx_id: Optional[str] = Field(alias="externalTxId")
47
+
48
+
49
+ class ReconcileTxReconcileTxReconcileTxResultLinesAccount(BaseModel):
50
+ path: str
51
+
52
+
53
+ ReconcileTx.model_rebuild()
54
+ ReconcileTxReconcileTxReconcileTxResult.model_rebuild()
55
+ ReconcileTxReconcileTxReconcileTxResultLines.model_rebuild()
@@ -0,0 +1,55 @@
1
+ # Generated by fragment (with the help of ariadne-codegen)
2
+ # Source: queries/
3
+
4
+ from typing import Any, List, Literal, Optional, Union
5
+
6
+ from pydantic import Field
7
+
8
+ from .base_model import BaseModel
9
+
10
+
11
+ class ReconcileTxRuntime(BaseModel):
12
+ reconcile_tx: Union[
13
+ "ReconcileTxRuntimeReconcileTxBadRequestError",
14
+ "ReconcileTxRuntimeReconcileTxInternalError",
15
+ "ReconcileTxRuntimeReconcileTxReconcileTxResult",
16
+ ] = Field(alias="reconcileTx", discriminator="typename__")
17
+
18
+
19
+ class ReconcileTxRuntimeReconcileTxBadRequestError(BaseModel):
20
+ typename__: Literal["BadRequestError"] = Field(alias="__typename")
21
+
22
+
23
+ class ReconcileTxRuntimeReconcileTxInternalError(BaseModel):
24
+ typename__: Literal["InternalError"] = Field(alias="__typename")
25
+
26
+
27
+ class ReconcileTxRuntimeReconcileTxReconcileTxResult(BaseModel):
28
+ typename__: Literal["ReconcileTxResult"] = Field(alias="__typename")
29
+ entry: "ReconcileTxRuntimeReconcileTxReconcileTxResultEntry"
30
+ lines: List["ReconcileTxRuntimeReconcileTxReconcileTxResultLines"]
31
+
32
+
33
+ class ReconcileTxRuntimeReconcileTxReconcileTxResultEntry(BaseModel):
34
+ id: str
35
+ ik: str
36
+ date: Any
37
+ posted: Any
38
+ created: Any
39
+ description: Optional[str]
40
+
41
+
42
+ class ReconcileTxRuntimeReconcileTxReconcileTxResultLines(BaseModel):
43
+ id: str
44
+ amount: Any
45
+ account: "ReconcileTxRuntimeReconcileTxReconcileTxResultLinesAccount"
46
+ external_tx_id: Optional[str] = Field(alias="externalTxId")
47
+
48
+
49
+ class ReconcileTxRuntimeReconcileTxReconcileTxResultLinesAccount(BaseModel):
50
+ path: str
51
+
52
+
53
+ ReconcileTxRuntime.model_rebuild()
54
+ ReconcileTxRuntimeReconcileTxReconcileTxResult.model_rebuild()
55
+ ReconcileTxRuntimeReconcileTxReconcileTxResultLines.model_rebuild()
@@ -0,0 +1,45 @@
1
+ # Generated by fragment (with the help of ariadne-codegen)
2
+ # Source: queries/
3
+
4
+ from typing import Any, Literal, Union
5
+
6
+ from pydantic import Field
7
+
8
+ from .base_model import BaseModel
9
+
10
+
11
+ class StoreSchema(BaseModel):
12
+ store_schema: Union[
13
+ "StoreSchemaStoreSchemaBadRequestError",
14
+ "StoreSchemaStoreSchemaInternalError",
15
+ "StoreSchemaStoreSchemaStoreSchemaResult",
16
+ ] = Field(alias="storeSchema", discriminator="typename__")
17
+
18
+
19
+ class StoreSchemaStoreSchemaBadRequestError(BaseModel):
20
+ typename__: Literal["BadRequestError"] = Field(alias="__typename")
21
+
22
+
23
+ class StoreSchemaStoreSchemaInternalError(BaseModel):
24
+ typename__: Literal["InternalError"] = Field(alias="__typename")
25
+
26
+
27
+ class StoreSchemaStoreSchemaStoreSchemaResult(BaseModel):
28
+ typename__: Literal["StoreSchemaResult"] = Field(alias="__typename")
29
+ schema_: "StoreSchemaStoreSchemaStoreSchemaResultSchema" = Field(alias="schema")
30
+
31
+
32
+ class StoreSchemaStoreSchemaStoreSchemaResultSchema(BaseModel):
33
+ key: Any
34
+ name: str
35
+ version: "StoreSchemaStoreSchemaStoreSchemaResultSchemaVersion"
36
+
37
+
38
+ class StoreSchemaStoreSchemaStoreSchemaResultSchemaVersion(BaseModel):
39
+ created: Any
40
+ version: int
41
+
42
+
43
+ StoreSchema.model_rebuild()
44
+ StoreSchemaStoreSchemaStoreSchemaResult.model_rebuild()
45
+ StoreSchemaStoreSchemaStoreSchemaResultSchema.model_rebuild()
@@ -0,0 +1,53 @@
1
+ # Generated by fragment (with the help of ariadne-codegen)
2
+ # Source: queries/
3
+
4
+ from typing import Any, List, Literal, Optional, Union
5
+
6
+ from pydantic import Field
7
+
8
+ from .base_model import BaseModel
9
+ from .enums import CurrencyCode
10
+
11
+
12
+ class SyncCustomAccounts(BaseModel):
13
+ sync_custom_accounts: Union[
14
+ "SyncCustomAccountsSyncCustomAccountsBadRequestError",
15
+ "SyncCustomAccountsSyncCustomAccountsInternalError",
16
+ "SyncCustomAccountsSyncCustomAccountsSyncCustomAccountsResult",
17
+ ] = Field(alias="syncCustomAccounts", discriminator="typename__")
18
+
19
+
20
+ class SyncCustomAccountsSyncCustomAccountsBadRequestError(BaseModel):
21
+ typename__: Literal["BadRequestError"] = Field(alias="__typename")
22
+
23
+
24
+ class SyncCustomAccountsSyncCustomAccountsInternalError(BaseModel):
25
+ typename__: Literal["InternalError"] = Field(alias="__typename")
26
+
27
+
28
+ class SyncCustomAccountsSyncCustomAccountsSyncCustomAccountsResult(BaseModel):
29
+ typename__: Literal["SyncCustomAccountsResult"] = Field(alias="__typename")
30
+ accounts: List[
31
+ "SyncCustomAccountsSyncCustomAccountsSyncCustomAccountsResultAccounts"
32
+ ]
33
+
34
+
35
+ class SyncCustomAccountsSyncCustomAccountsSyncCustomAccountsResultAccounts(BaseModel):
36
+ id: str
37
+ external_id: str = Field(alias="externalId")
38
+ name: str
39
+ currency: Optional[
40
+ "SyncCustomAccountsSyncCustomAccountsSyncCustomAccountsResultAccountsCurrency"
41
+ ]
42
+
43
+
44
+ class SyncCustomAccountsSyncCustomAccountsSyncCustomAccountsResultAccountsCurrency(
45
+ BaseModel
46
+ ):
47
+ code: CurrencyCode
48
+ custom_currency_id: Optional[Any] = Field(alias="customCurrencyId")
49
+
50
+
51
+ SyncCustomAccounts.model_rebuild()
52
+ SyncCustomAccountsSyncCustomAccountsSyncCustomAccountsResult.model_rebuild()
53
+ SyncCustomAccountsSyncCustomAccountsSyncCustomAccountsResultAccounts.model_rebuild()
@@ -0,0 +1,44 @@
1
+ # Generated by fragment (with the help of ariadne-codegen)
2
+ # Source: queries/
3
+
4
+ from typing import Any, List, Literal, Union
5
+
6
+ from pydantic import Field
7
+
8
+ from .base_model import BaseModel
9
+
10
+
11
+ class SyncCustomTxs(BaseModel):
12
+ sync_custom_txs: Union[
13
+ "SyncCustomTxsSyncCustomTxsBadRequestError",
14
+ "SyncCustomTxsSyncCustomTxsInternalError",
15
+ "SyncCustomTxsSyncCustomTxsSyncCustomTxsResult",
16
+ ] = Field(alias="syncCustomTxs", discriminator="typename__")
17
+
18
+
19
+ class SyncCustomTxsSyncCustomTxsBadRequestError(BaseModel):
20
+ typename__: Literal["BadRequestError"] = Field(alias="__typename")
21
+
22
+
23
+ class SyncCustomTxsSyncCustomTxsInternalError(BaseModel):
24
+ typename__: Literal["InternalError"] = Field(alias="__typename")
25
+
26
+
27
+ class SyncCustomTxsSyncCustomTxsSyncCustomTxsResult(BaseModel):
28
+ typename__: Literal["SyncCustomTxsResult"] = Field(alias="__typename")
29
+ txs: List["SyncCustomTxsSyncCustomTxsSyncCustomTxsResultTxs"]
30
+
31
+
32
+ class SyncCustomTxsSyncCustomTxsSyncCustomTxsResultTxs(BaseModel):
33
+ typename__: Literal["Tx"] = Field(alias="__typename")
34
+ link_id: str = Field(alias="linkId")
35
+ id: str
36
+ external_id: str = Field(alias="externalId")
37
+ external_account_id: str = Field(alias="externalAccountId")
38
+ amount: Any
39
+ description: str
40
+ posted: Any
41
+
42
+
43
+ SyncCustomTxs.model_rebuild()
44
+ SyncCustomTxsSyncCustomTxsSyncCustomTxsResult.model_rebuild()
@@ -0,0 +1,39 @@
1
+ # Generated by fragment (with the help of ariadne-codegen)
2
+ # Source: queries/
3
+
4
+ from typing import Any, Literal, Union
5
+
6
+ from pydantic import Field
7
+
8
+ from .base_model import BaseModel
9
+
10
+
11
+ class UpdateLedger(BaseModel):
12
+ update_ledger: Union[
13
+ "UpdateLedgerUpdateLedgerBadRequestError",
14
+ "UpdateLedgerUpdateLedgerInternalError",
15
+ "UpdateLedgerUpdateLedgerUpdateLedgerResult",
16
+ ] = Field(alias="updateLedger", discriminator="typename__")
17
+
18
+
19
+ class UpdateLedgerUpdateLedgerBadRequestError(BaseModel):
20
+ typename__: Literal["BadRequestError"] = Field(alias="__typename")
21
+
22
+
23
+ class UpdateLedgerUpdateLedgerInternalError(BaseModel):
24
+ typename__: Literal["InternalError"] = Field(alias="__typename")
25
+
26
+
27
+ class UpdateLedgerUpdateLedgerUpdateLedgerResult(BaseModel):
28
+ typename__: Literal["UpdateLedgerResult"] = Field(alias="__typename")
29
+ ledger: "UpdateLedgerUpdateLedgerUpdateLedgerResultLedger"
30
+
31
+
32
+ class UpdateLedgerUpdateLedgerUpdateLedgerResultLedger(BaseModel):
33
+ id: str
34
+ ik: Any
35
+ name: str
36
+
37
+
38
+ UpdateLedger.model_rebuild()
39
+ UpdateLedgerUpdateLedgerUpdateLedgerResult.model_rebuild()
@@ -0,0 +1,77 @@
1
+ # Generated by fragment (with the help of ariadne-codegen)
2
+ # Source: queries/
3
+
4
+ from typing import Any, List, Literal, Optional, Union
5
+
6
+ from pydantic import Field
7
+
8
+ from .base_model import BaseModel
9
+
10
+
11
+ class UpdateLedgerEntry(BaseModel):
12
+ update_ledger_entry: Union[
13
+ "UpdateLedgerEntryUpdateLedgerEntryBadRequestError",
14
+ "UpdateLedgerEntryUpdateLedgerEntryInternalError",
15
+ "UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResult",
16
+ ] = Field(alias="updateLedgerEntry", discriminator="typename__")
17
+
18
+
19
+ class UpdateLedgerEntryUpdateLedgerEntryBadRequestError(BaseModel):
20
+ typename__: Literal["BadRequestError"] = Field(alias="__typename")
21
+
22
+
23
+ class UpdateLedgerEntryUpdateLedgerEntryInternalError(BaseModel):
24
+ typename__: Literal["InternalError"] = Field(alias="__typename")
25
+
26
+
27
+ class UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResult(BaseModel):
28
+ typename__: Literal["UpdateLedgerEntryResult"] = Field(alias="__typename")
29
+ entry: "UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResultEntry"
30
+
31
+
32
+ class UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResultEntry(BaseModel):
33
+ id: str
34
+ ik: str
35
+ posted: Any
36
+ created: Any
37
+ description: Optional[str]
38
+ lines: "UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResultEntryLines"
39
+ groups: List["UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResultEntryGroups"]
40
+ tags: List["UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResultEntryTags"]
41
+
42
+
43
+ class UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResultEntryLines(BaseModel):
44
+ nodes: List[
45
+ "UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResultEntryLinesNodes"
46
+ ]
47
+
48
+
49
+ class UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResultEntryLinesNodes(
50
+ BaseModel
51
+ ):
52
+ id: str
53
+ amount: Any
54
+ account: "UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResultEntryLinesNodesAccount"
55
+
56
+
57
+ class UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResultEntryLinesNodesAccount(
58
+ BaseModel
59
+ ):
60
+ path: str
61
+
62
+
63
+ class UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResultEntryGroups(BaseModel):
64
+ key: Any
65
+ value: Any
66
+
67
+
68
+ class UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResultEntryTags(BaseModel):
69
+ key: Any
70
+ value: Any
71
+
72
+
73
+ UpdateLedgerEntry.model_rebuild()
74
+ UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResult.model_rebuild()
75
+ UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResultEntry.model_rebuild()
76
+ UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResultEntryLines.model_rebuild()
77
+ UpdateLedgerEntryUpdateLedgerEntryUpdateLedgerEntryResultEntryLinesNodes.model_rebuild()