fragment-python 0.5.1__tar.gz → 0.5.2__tar.gz
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.
- {fragment_python-0.5.1 → fragment_python-0.5.2}/PKG-INFO +1 -1
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/__init__.py +96 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/client.py +313 -0
- fragment_python-0.5.2/fragment/sdk/get_account_data_migrations.py +114 -0
- fragment_python-0.5.2/fragment/sdk/get_entries_to_migrate_for_ledger_account_data_migration.py +100 -0
- fragment_python-0.5.2/fragment/sdk/get_entries_to_migrate_for_ledger_entry_data_migration.py +100 -0
- fragment_python-0.5.2/fragment/sdk/get_entry_data_migrations.py +113 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/input_types.py +3 -3
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/std_queries/queries.graphql +233 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/__init__.py +96 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/client.py +313 -0
- fragment_python-0.5.2/fragment/sync_sdk/get_account_data_migrations.py +114 -0
- fragment_python-0.5.2/fragment/sync_sdk/get_entries_to_migrate_for_ledger_account_data_migration.py +100 -0
- fragment_python-0.5.2/fragment/sync_sdk/get_entries_to_migrate_for_ledger_entry_data_migration.py +100 -0
- fragment_python-0.5.2/fragment/sync_sdk/get_entry_data_migrations.py +113 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/input_types.py +3 -3
- {fragment_python-0.5.1 → fragment_python-0.5.2}/pyproject.toml +1 -1
- {fragment_python-0.5.1 → fragment_python-0.5.2}/LICENSE +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/README.md +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/__init__.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/client/__init__.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/client/async_client.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/client/sync_client.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/codegen/__init__.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/codegen/helpers.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/codegen/main.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/codegen/plugins/__init__.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/codegen/plugins/generate_client_method.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/codegen/plugins/get_file_comment.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/exceptions.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/logger.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/add_ledger_entry.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/add_ledger_entry_runtime.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/async_client.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/base_model.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/create_custom_currency.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/create_custom_link.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/create_ledger.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/delete_custom_txs.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/delete_ledger.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/delete_schema.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/enums.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/get_ledger.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/get_ledger_account_balance.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/get_ledger_account_balance_with_child_rollup.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/get_ledger_account_lines.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/get_ledger_entry.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/get_schema.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/get_workspace.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/list_ledger_account_balances.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/list_ledger_accounts.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/list_ledger_entries.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/list_ledger_entry_group_balances.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/list_multi_currency_ledger_account_balances.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/migrate_ledger_entry.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/reconcile_tx.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/reconcile_tx_runtime.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/reverse_ledger_entry.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/store_schema.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/sync_custom_accounts.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/sync_custom_txs.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/update_ledger.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sdk/update_ledger_entry.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/add_ledger_entry.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/add_ledger_entry_runtime.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/async_client.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/base_model.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/create_custom_currency.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/create_custom_link.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/create_ledger.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/delete_custom_txs.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/delete_ledger.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/delete_schema.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/enums.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/get_ledger.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/get_ledger_account_balance.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/get_ledger_account_balance_with_child_rollup.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/get_ledger_account_lines.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/get_ledger_entry.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/get_schema.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/get_workspace.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/list_ledger_account_balances.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/list_ledger_accounts.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/list_ledger_entries.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/list_ledger_entry_group_balances.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/list_multi_currency_ledger_account_balances.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/migrate_ledger_entry.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/reconcile_tx.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/reconcile_tx_runtime.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/reverse_ledger_entry.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/store_schema.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/sync_client.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/sync_custom_accounts.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/sync_custom_txs.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/update_ledger.py +0 -0
- {fragment_python-0.5.1 → fragment_python-0.5.2}/fragment/sync_sdk/update_ledger_entry.py +0 -0
|
@@ -86,6 +86,58 @@ from .enums import (
|
|
|
86
86
|
TxType,
|
|
87
87
|
UnitEnv,
|
|
88
88
|
)
|
|
89
|
+
from .get_account_data_migrations import (
|
|
90
|
+
GetAccountDataMigrations,
|
|
91
|
+
GetAccountDataMigrationsLedger,
|
|
92
|
+
GetAccountDataMigrationsLedgerLedgerAccountDataMigrations,
|
|
93
|
+
GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodes,
|
|
94
|
+
GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesCurrentMigration,
|
|
95
|
+
GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesHistory,
|
|
96
|
+
GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesHistoryNodes,
|
|
97
|
+
GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesHistoryPageInfo,
|
|
98
|
+
GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesLedgerEntries,
|
|
99
|
+
GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodes,
|
|
100
|
+
GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesLedgerEntriesPageInfo,
|
|
101
|
+
GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsPageInfo,
|
|
102
|
+
)
|
|
103
|
+
from .get_entries_to_migrate_for_ledger_account_data_migration import (
|
|
104
|
+
GetEntriesToMigrateForLedgerAccountDataMigration,
|
|
105
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedger,
|
|
106
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrations,
|
|
107
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodes,
|
|
108
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntries,
|
|
109
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodes,
|
|
110
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodesLines,
|
|
111
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodesLinesNodes,
|
|
112
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodesLinesNodesAccount,
|
|
113
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesPageInfo,
|
|
114
|
+
)
|
|
115
|
+
from .get_entries_to_migrate_for_ledger_entry_data_migration import (
|
|
116
|
+
GetEntriesToMigrateForLedgerEntryDataMigration,
|
|
117
|
+
GetEntriesToMigrateForLedgerEntryDataMigrationLedger,
|
|
118
|
+
GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrations,
|
|
119
|
+
GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrationsNodes,
|
|
120
|
+
GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrationsNodesLedgerEntries,
|
|
121
|
+
GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrationsNodesLedgerEntriesNodes,
|
|
122
|
+
GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrationsNodesLedgerEntriesNodesLines,
|
|
123
|
+
GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrationsNodesLedgerEntriesNodesLinesNodes,
|
|
124
|
+
GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrationsNodesLedgerEntriesNodesLinesNodesAccount,
|
|
125
|
+
GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrationsNodesLedgerEntriesPageInfo,
|
|
126
|
+
)
|
|
127
|
+
from .get_entry_data_migrations import (
|
|
128
|
+
GetEntryDataMigrations,
|
|
129
|
+
GetEntryDataMigrationsLedger,
|
|
130
|
+
GetEntryDataMigrationsLedgerLedgerEntryDataMigrations,
|
|
131
|
+
GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodes,
|
|
132
|
+
GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodesCurrentMigration,
|
|
133
|
+
GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodesHistory,
|
|
134
|
+
GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodesHistoryNodes,
|
|
135
|
+
GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodesHistoryPageInfo,
|
|
136
|
+
GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodesLedgerEntries,
|
|
137
|
+
GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodesLedgerEntriesNodes,
|
|
138
|
+
GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodesLedgerEntriesPageInfo,
|
|
139
|
+
GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsPageInfo,
|
|
140
|
+
)
|
|
89
141
|
from .get_ledger import GetLedger, GetLedgerLedger
|
|
90
142
|
from .get_ledger_account_balance import (
|
|
91
143
|
GetLedgerAccountBalance,
|
|
@@ -398,6 +450,50 @@ __all__ = [
|
|
|
398
450
|
"ExternalAccountMatchInput",
|
|
399
451
|
"ExternalTransferType",
|
|
400
452
|
"ExternalTxSource",
|
|
453
|
+
"GetAccountDataMigrations",
|
|
454
|
+
"GetAccountDataMigrationsLedger",
|
|
455
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrations",
|
|
456
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodes",
|
|
457
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesCurrentMigration",
|
|
458
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesHistory",
|
|
459
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesHistoryNodes",
|
|
460
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesHistoryPageInfo",
|
|
461
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesLedgerEntries",
|
|
462
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodes",
|
|
463
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesLedgerEntriesPageInfo",
|
|
464
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsPageInfo",
|
|
465
|
+
"GetEntriesToMigrateForLedgerAccountDataMigration",
|
|
466
|
+
"GetEntriesToMigrateForLedgerAccountDataMigrationLedger",
|
|
467
|
+
"GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrations",
|
|
468
|
+
"GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodes",
|
|
469
|
+
"GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntries",
|
|
470
|
+
"GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodes",
|
|
471
|
+
"GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodesLines",
|
|
472
|
+
"GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodesLinesNodes",
|
|
473
|
+
"GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodesLinesNodesAccount",
|
|
474
|
+
"GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesPageInfo",
|
|
475
|
+
"GetEntriesToMigrateForLedgerEntryDataMigration",
|
|
476
|
+
"GetEntriesToMigrateForLedgerEntryDataMigrationLedger",
|
|
477
|
+
"GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrations",
|
|
478
|
+
"GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrationsNodes",
|
|
479
|
+
"GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrationsNodesLedgerEntries",
|
|
480
|
+
"GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrationsNodesLedgerEntriesNodes",
|
|
481
|
+
"GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrationsNodesLedgerEntriesNodesLines",
|
|
482
|
+
"GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrationsNodesLedgerEntriesNodesLinesNodes",
|
|
483
|
+
"GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrationsNodesLedgerEntriesNodesLinesNodesAccount",
|
|
484
|
+
"GetEntriesToMigrateForLedgerEntryDataMigrationLedgerLedgerEntryDataMigrationsNodesLedgerEntriesPageInfo",
|
|
485
|
+
"GetEntryDataMigrations",
|
|
486
|
+
"GetEntryDataMigrationsLedger",
|
|
487
|
+
"GetEntryDataMigrationsLedgerLedgerEntryDataMigrations",
|
|
488
|
+
"GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodes",
|
|
489
|
+
"GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodesCurrentMigration",
|
|
490
|
+
"GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodesHistory",
|
|
491
|
+
"GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodesHistoryNodes",
|
|
492
|
+
"GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodesHistoryPageInfo",
|
|
493
|
+
"GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodesLedgerEntries",
|
|
494
|
+
"GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodesLedgerEntriesNodes",
|
|
495
|
+
"GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsNodesLedgerEntriesPageInfo",
|
|
496
|
+
"GetEntryDataMigrationsLedgerLedgerEntryDataMigrationsPageInfo",
|
|
401
497
|
"GetLedger",
|
|
402
498
|
"GetLedgerAccountBalance",
|
|
403
499
|
"GetLedgerAccountBalanceLedgerAccount",
|
|
@@ -13,6 +13,14 @@ from .delete_custom_txs import DeleteCustomTxs
|
|
|
13
13
|
from .delete_ledger import DeleteLedger
|
|
14
14
|
from .delete_schema import DeleteSchema
|
|
15
15
|
from .enums import ReadBalanceConsistencyMode
|
|
16
|
+
from .get_account_data_migrations import GetAccountDataMigrations
|
|
17
|
+
from .get_entries_to_migrate_for_ledger_account_data_migration import (
|
|
18
|
+
GetEntriesToMigrateForLedgerAccountDataMigration,
|
|
19
|
+
)
|
|
20
|
+
from .get_entries_to_migrate_for_ledger_entry_data_migration import (
|
|
21
|
+
GetEntriesToMigrateForLedgerEntryDataMigration,
|
|
22
|
+
)
|
|
23
|
+
from .get_entry_data_migrations import GetEntryDataMigrations
|
|
16
24
|
from .get_ledger import GetLedger
|
|
17
25
|
from .get_ledger_account_balance import GetLedgerAccountBalance
|
|
18
26
|
from .get_ledger_account_balance_with_child_rollup import (
|
|
@@ -27,7 +35,9 @@ from .input_types import (
|
|
|
27
35
|
CurrencyMatchInput,
|
|
28
36
|
CustomAccountInput,
|
|
29
37
|
CustomTxInput,
|
|
38
|
+
LedgerAccountDataMigrationsFilterSet,
|
|
30
39
|
LedgerEntriesFilterSet,
|
|
40
|
+
LedgerEntryDataMigrationsFilterSet,
|
|
31
41
|
LedgerEntryGroupBalanceFilterSet,
|
|
32
42
|
LedgerEntryGroupInput,
|
|
33
43
|
LedgerEntryInput,
|
|
@@ -1446,6 +1456,309 @@ class Client(AsyncFragmentClient):
|
|
|
1446
1456
|
data = self.get_data(response)
|
|
1447
1457
|
return ListLedgerEntryGroupBalances.model_validate(data)
|
|
1448
1458
|
|
|
1459
|
+
async def get_entry_data_migrations(
|
|
1460
|
+
self,
|
|
1461
|
+
ledger_ik: Any,
|
|
1462
|
+
filter: Optional[LedgerEntryDataMigrationsFilterSet] = None,
|
|
1463
|
+
after: Optional[str] = None,
|
|
1464
|
+
before: Optional[str] = None,
|
|
1465
|
+
first: Optional[int] = None,
|
|
1466
|
+
last: Optional[int] = None,
|
|
1467
|
+
**kwargs: Any
|
|
1468
|
+
) -> GetEntryDataMigrations:
|
|
1469
|
+
query = gql(
|
|
1470
|
+
"""
|
|
1471
|
+
query getEntryDataMigrations($ledgerIk: SafeString!, $filter: LedgerEntryDataMigrationsFilterSet, $after: String, $before: String, $first: Int, $last: Int) {
|
|
1472
|
+
ledger(ledger: {ik: $ledgerIk}) {
|
|
1473
|
+
ledgerEntryDataMigrations(
|
|
1474
|
+
first: $first
|
|
1475
|
+
after: $after
|
|
1476
|
+
before: $before
|
|
1477
|
+
last: $last
|
|
1478
|
+
filter: $filter
|
|
1479
|
+
) {
|
|
1480
|
+
nodes {
|
|
1481
|
+
entryType
|
|
1482
|
+
typeVersion
|
|
1483
|
+
status
|
|
1484
|
+
currentMigration {
|
|
1485
|
+
schemaVersion
|
|
1486
|
+
status
|
|
1487
|
+
}
|
|
1488
|
+
ledgerEntries {
|
|
1489
|
+
nodes {
|
|
1490
|
+
id
|
|
1491
|
+
type
|
|
1492
|
+
posted
|
|
1493
|
+
parameters
|
|
1494
|
+
}
|
|
1495
|
+
pageInfo {
|
|
1496
|
+
hasNextPage
|
|
1497
|
+
endCursor
|
|
1498
|
+
hasPreviousPage
|
|
1499
|
+
startCursor
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
history {
|
|
1503
|
+
nodes {
|
|
1504
|
+
schemaVersion
|
|
1505
|
+
status
|
|
1506
|
+
}
|
|
1507
|
+
pageInfo {
|
|
1508
|
+
hasNextPage
|
|
1509
|
+
endCursor
|
|
1510
|
+
hasPreviousPage
|
|
1511
|
+
startCursor
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
pageInfo {
|
|
1516
|
+
hasNextPage
|
|
1517
|
+
endCursor
|
|
1518
|
+
hasPreviousPage
|
|
1519
|
+
startCursor
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
"""
|
|
1525
|
+
)
|
|
1526
|
+
variables: Dict[str, object] = {
|
|
1527
|
+
"ledgerIk": ledger_ik,
|
|
1528
|
+
"filter": filter,
|
|
1529
|
+
"after": after,
|
|
1530
|
+
"before": before,
|
|
1531
|
+
"first": first,
|
|
1532
|
+
"last": last,
|
|
1533
|
+
}
|
|
1534
|
+
response = await self.execute(
|
|
1535
|
+
query=query,
|
|
1536
|
+
operation_name="getEntryDataMigrations",
|
|
1537
|
+
variables=variables,
|
|
1538
|
+
**kwargs
|
|
1539
|
+
)
|
|
1540
|
+
data = self.get_data(response)
|
|
1541
|
+
return GetEntryDataMigrations.model_validate(data)
|
|
1542
|
+
|
|
1543
|
+
async def get_entries_to_migrate_for_ledger_entry_data_migration(
|
|
1544
|
+
self,
|
|
1545
|
+
ledger_ik: Any,
|
|
1546
|
+
entry_type: str,
|
|
1547
|
+
type_version: str,
|
|
1548
|
+
after: Optional[str] = None,
|
|
1549
|
+
before: Optional[str] = None,
|
|
1550
|
+
first: Optional[int] = None,
|
|
1551
|
+
last: Optional[int] = None,
|
|
1552
|
+
**kwargs: Any
|
|
1553
|
+
) -> GetEntriesToMigrateForLedgerEntryDataMigration:
|
|
1554
|
+
query = gql(
|
|
1555
|
+
"""
|
|
1556
|
+
query getEntriesToMigrateForLedgerEntryDataMigration($ledgerIk: SafeString!, $entryType: String!, $typeVersion: String!, $after: String, $before: String, $first: Int, $last: Int) {
|
|
1557
|
+
ledger(ledger: {ik: $ledgerIk}) {
|
|
1558
|
+
ledgerEntryDataMigrations(
|
|
1559
|
+
filter: {entryType: {equalTo: $entryType}, typeVersion: {equalTo: $typeVersion}}
|
|
1560
|
+
) {
|
|
1561
|
+
nodes {
|
|
1562
|
+
ledgerEntries(first: $first, after: $after, last: $last, before: $before) {
|
|
1563
|
+
nodes {
|
|
1564
|
+
id
|
|
1565
|
+
ik
|
|
1566
|
+
type
|
|
1567
|
+
typeVersion
|
|
1568
|
+
description
|
|
1569
|
+
posted
|
|
1570
|
+
created
|
|
1571
|
+
parameters
|
|
1572
|
+
lines {
|
|
1573
|
+
nodes {
|
|
1574
|
+
id
|
|
1575
|
+
amount
|
|
1576
|
+
account {
|
|
1577
|
+
path
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
pageInfo {
|
|
1583
|
+
hasNextPage
|
|
1584
|
+
endCursor
|
|
1585
|
+
hasPreviousPage
|
|
1586
|
+
startCursor
|
|
1587
|
+
}
|
|
1588
|
+
}
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
"""
|
|
1594
|
+
)
|
|
1595
|
+
variables: Dict[str, object] = {
|
|
1596
|
+
"ledgerIk": ledger_ik,
|
|
1597
|
+
"entryType": entry_type,
|
|
1598
|
+
"typeVersion": type_version,
|
|
1599
|
+
"after": after,
|
|
1600
|
+
"before": before,
|
|
1601
|
+
"first": first,
|
|
1602
|
+
"last": last,
|
|
1603
|
+
}
|
|
1604
|
+
response = await self.execute(
|
|
1605
|
+
query=query,
|
|
1606
|
+
operation_name="getEntriesToMigrateForLedgerEntryDataMigration",
|
|
1607
|
+
variables=variables,
|
|
1608
|
+
**kwargs
|
|
1609
|
+
)
|
|
1610
|
+
data = self.get_data(response)
|
|
1611
|
+
return GetEntriesToMigrateForLedgerEntryDataMigration.model_validate(data)
|
|
1612
|
+
|
|
1613
|
+
async def get_account_data_migrations(
|
|
1614
|
+
self,
|
|
1615
|
+
ledger_ik: Any,
|
|
1616
|
+
filter: Optional[LedgerAccountDataMigrationsFilterSet] = None,
|
|
1617
|
+
after: Optional[str] = None,
|
|
1618
|
+
before: Optional[str] = None,
|
|
1619
|
+
first: Optional[int] = None,
|
|
1620
|
+
last: Optional[int] = None,
|
|
1621
|
+
**kwargs: Any
|
|
1622
|
+
) -> GetAccountDataMigrations:
|
|
1623
|
+
query = gql(
|
|
1624
|
+
"""
|
|
1625
|
+
query getAccountDataMigrations($ledgerIk: SafeString!, $filter: LedgerAccountDataMigrationsFilterSet, $after: String, $before: String, $first: Int, $last: Int) {
|
|
1626
|
+
ledger(ledger: {ik: $ledgerIk}) {
|
|
1627
|
+
ledgerAccountDataMigrations(
|
|
1628
|
+
first: $first
|
|
1629
|
+
after: $after
|
|
1630
|
+
before: $before
|
|
1631
|
+
last: $last
|
|
1632
|
+
filter: $filter
|
|
1633
|
+
) {
|
|
1634
|
+
nodes {
|
|
1635
|
+
accountPath
|
|
1636
|
+
status
|
|
1637
|
+
currentMigration {
|
|
1638
|
+
schemaVersion
|
|
1639
|
+
status
|
|
1640
|
+
}
|
|
1641
|
+
ledgerEntries {
|
|
1642
|
+
nodes {
|
|
1643
|
+
id
|
|
1644
|
+
type
|
|
1645
|
+
posted
|
|
1646
|
+
parameters
|
|
1647
|
+
}
|
|
1648
|
+
pageInfo {
|
|
1649
|
+
hasNextPage
|
|
1650
|
+
endCursor
|
|
1651
|
+
hasPreviousPage
|
|
1652
|
+
startCursor
|
|
1653
|
+
}
|
|
1654
|
+
}
|
|
1655
|
+
history {
|
|
1656
|
+
nodes {
|
|
1657
|
+
schemaVersion
|
|
1658
|
+
status
|
|
1659
|
+
}
|
|
1660
|
+
pageInfo {
|
|
1661
|
+
hasNextPage
|
|
1662
|
+
endCursor
|
|
1663
|
+
hasPreviousPage
|
|
1664
|
+
startCursor
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
pageInfo {
|
|
1669
|
+
hasNextPage
|
|
1670
|
+
endCursor
|
|
1671
|
+
hasPreviousPage
|
|
1672
|
+
startCursor
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
"""
|
|
1678
|
+
)
|
|
1679
|
+
variables: Dict[str, object] = {
|
|
1680
|
+
"ledgerIk": ledger_ik,
|
|
1681
|
+
"filter": filter,
|
|
1682
|
+
"after": after,
|
|
1683
|
+
"before": before,
|
|
1684
|
+
"first": first,
|
|
1685
|
+
"last": last,
|
|
1686
|
+
}
|
|
1687
|
+
response = await self.execute(
|
|
1688
|
+
query=query,
|
|
1689
|
+
operation_name="getAccountDataMigrations",
|
|
1690
|
+
variables=variables,
|
|
1691
|
+
**kwargs
|
|
1692
|
+
)
|
|
1693
|
+
data = self.get_data(response)
|
|
1694
|
+
return GetAccountDataMigrations.model_validate(data)
|
|
1695
|
+
|
|
1696
|
+
async def get_entries_to_migrate_for_ledger_account_data_migration(
|
|
1697
|
+
self,
|
|
1698
|
+
ledger_ik: Any,
|
|
1699
|
+
account_path: str,
|
|
1700
|
+
after: Optional[str] = None,
|
|
1701
|
+
before: Optional[str] = None,
|
|
1702
|
+
first: Optional[int] = None,
|
|
1703
|
+
last: Optional[int] = None,
|
|
1704
|
+
**kwargs: Any
|
|
1705
|
+
) -> GetEntriesToMigrateForLedgerAccountDataMigration:
|
|
1706
|
+
query = gql(
|
|
1707
|
+
"""
|
|
1708
|
+
query getEntriesToMigrateForLedgerAccountDataMigration($ledgerIk: SafeString!, $accountPath: String!, $after: String, $before: String, $first: Int, $last: Int) {
|
|
1709
|
+
ledger(ledger: {ik: $ledgerIk}) {
|
|
1710
|
+
ledgerAccountDataMigrations(filter: {accountPath: {equalTo: $accountPath}}) {
|
|
1711
|
+
nodes {
|
|
1712
|
+
ledgerEntries(first: $first, after: $after, last: $last, before: $before) {
|
|
1713
|
+
nodes {
|
|
1714
|
+
id
|
|
1715
|
+
ik
|
|
1716
|
+
type
|
|
1717
|
+
typeVersion
|
|
1718
|
+
description
|
|
1719
|
+
posted
|
|
1720
|
+
created
|
|
1721
|
+
parameters
|
|
1722
|
+
lines {
|
|
1723
|
+
nodes {
|
|
1724
|
+
id
|
|
1725
|
+
amount
|
|
1726
|
+
account {
|
|
1727
|
+
path
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
pageInfo {
|
|
1733
|
+
hasNextPage
|
|
1734
|
+
endCursor
|
|
1735
|
+
hasPreviousPage
|
|
1736
|
+
startCursor
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
}
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1743
|
+
"""
|
|
1744
|
+
)
|
|
1745
|
+
variables: Dict[str, object] = {
|
|
1746
|
+
"ledgerIk": ledger_ik,
|
|
1747
|
+
"accountPath": account_path,
|
|
1748
|
+
"after": after,
|
|
1749
|
+
"before": before,
|
|
1750
|
+
"first": first,
|
|
1751
|
+
"last": last,
|
|
1752
|
+
}
|
|
1753
|
+
response = await self.execute(
|
|
1754
|
+
query=query,
|
|
1755
|
+
operation_name="getEntriesToMigrateForLedgerAccountDataMigration",
|
|
1756
|
+
variables=variables,
|
|
1757
|
+
**kwargs
|
|
1758
|
+
)
|
|
1759
|
+
data = self.get_data(response)
|
|
1760
|
+
return GetEntriesToMigrateForLedgerAccountDataMigration.model_validate(data)
|
|
1761
|
+
|
|
1449
1762
|
async def create_custom_currency(
|
|
1450
1763
|
self, id: Any, name: str, precision: int, custom_code: str, **kwargs: Any
|
|
1451
1764
|
) -> CreateCustomCurrency:
|
|
@@ -0,0 +1,114 @@
|
|
|
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 LedgerDataMigrationStatus
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class GetAccountDataMigrations(BaseModel):
|
|
13
|
+
ledger: Optional["GetAccountDataMigrationsLedger"]
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class GetAccountDataMigrationsLedger(BaseModel):
|
|
17
|
+
ledger_account_data_migrations: (
|
|
18
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrations"
|
|
19
|
+
) = Field(alias="ledgerAccountDataMigrations")
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class GetAccountDataMigrationsLedgerLedgerAccountDataMigrations(BaseModel):
|
|
23
|
+
nodes: List["GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodes"]
|
|
24
|
+
page_info: "GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsPageInfo" = (
|
|
25
|
+
Field(alias="pageInfo")
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodes(BaseModel):
|
|
30
|
+
account_path: str = Field(alias="accountPath")
|
|
31
|
+
status: LedgerDataMigrationStatus
|
|
32
|
+
current_migration: Optional[
|
|
33
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesCurrentMigration"
|
|
34
|
+
] = Field(alias="currentMigration")
|
|
35
|
+
ledger_entries: (
|
|
36
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesLedgerEntries"
|
|
37
|
+
) = Field(alias="ledgerEntries")
|
|
38
|
+
history: "GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesHistory"
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesCurrentMigration(
|
|
42
|
+
BaseModel
|
|
43
|
+
):
|
|
44
|
+
schema_version: int = Field(alias="schemaVersion")
|
|
45
|
+
status: LedgerDataMigrationStatus
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
class GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesLedgerEntries(
|
|
49
|
+
BaseModel
|
|
50
|
+
):
|
|
51
|
+
nodes: List[
|
|
52
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodes"
|
|
53
|
+
]
|
|
54
|
+
page_info: (
|
|
55
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesLedgerEntriesPageInfo"
|
|
56
|
+
) = Field(alias="pageInfo")
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
class GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodes(
|
|
60
|
+
BaseModel
|
|
61
|
+
):
|
|
62
|
+
id: str
|
|
63
|
+
type: Optional[Any]
|
|
64
|
+
posted: Any
|
|
65
|
+
parameters: Optional[Any]
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
class GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesLedgerEntriesPageInfo(
|
|
69
|
+
BaseModel
|
|
70
|
+
):
|
|
71
|
+
has_next_page: bool = Field(alias="hasNextPage")
|
|
72
|
+
end_cursor: Optional[str] = Field(alias="endCursor")
|
|
73
|
+
has_previous_page: bool = Field(alias="hasPreviousPage")
|
|
74
|
+
start_cursor: Optional[str] = Field(alias="startCursor")
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
class GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesHistory(BaseModel):
|
|
78
|
+
nodes: List[
|
|
79
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesHistoryNodes"
|
|
80
|
+
]
|
|
81
|
+
page_info: (
|
|
82
|
+
"GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesHistoryPageInfo"
|
|
83
|
+
) = Field(alias="pageInfo")
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
class GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesHistoryNodes(
|
|
87
|
+
BaseModel
|
|
88
|
+
):
|
|
89
|
+
schema_version: int = Field(alias="schemaVersion")
|
|
90
|
+
status: LedgerDataMigrationStatus
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
class GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesHistoryPageInfo(
|
|
94
|
+
BaseModel
|
|
95
|
+
):
|
|
96
|
+
has_next_page: bool = Field(alias="hasNextPage")
|
|
97
|
+
end_cursor: Optional[str] = Field(alias="endCursor")
|
|
98
|
+
has_previous_page: bool = Field(alias="hasPreviousPage")
|
|
99
|
+
start_cursor: Optional[str] = Field(alias="startCursor")
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
class GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsPageInfo(BaseModel):
|
|
103
|
+
has_next_page: bool = Field(alias="hasNextPage")
|
|
104
|
+
end_cursor: Optional[str] = Field(alias="endCursor")
|
|
105
|
+
has_previous_page: bool = Field(alias="hasPreviousPage")
|
|
106
|
+
start_cursor: Optional[str] = Field(alias="startCursor")
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
GetAccountDataMigrations.model_rebuild()
|
|
110
|
+
GetAccountDataMigrationsLedger.model_rebuild()
|
|
111
|
+
GetAccountDataMigrationsLedgerLedgerAccountDataMigrations.model_rebuild()
|
|
112
|
+
GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodes.model_rebuild()
|
|
113
|
+
GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesLedgerEntries.model_rebuild()
|
|
114
|
+
GetAccountDataMigrationsLedgerLedgerAccountDataMigrationsNodesHistory.model_rebuild()
|
fragment_python-0.5.2/fragment/sdk/get_entries_to_migrate_for_ledger_account_data_migration.py
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
|
|
10
|
+
|
|
11
|
+
class GetEntriesToMigrateForLedgerAccountDataMigration(BaseModel):
|
|
12
|
+
ledger: Optional["GetEntriesToMigrateForLedgerAccountDataMigrationLedger"]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class GetEntriesToMigrateForLedgerAccountDataMigrationLedger(BaseModel):
|
|
16
|
+
ledger_account_data_migrations: (
|
|
17
|
+
"GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrations"
|
|
18
|
+
) = Field(alias="ledgerAccountDataMigrations")
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrations(
|
|
22
|
+
BaseModel
|
|
23
|
+
):
|
|
24
|
+
nodes: List[
|
|
25
|
+
"GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodes"
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodes(
|
|
30
|
+
BaseModel
|
|
31
|
+
):
|
|
32
|
+
ledger_entries: (
|
|
33
|
+
"GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntries"
|
|
34
|
+
) = Field(alias="ledgerEntries")
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntries(
|
|
38
|
+
BaseModel
|
|
39
|
+
):
|
|
40
|
+
nodes: List[
|
|
41
|
+
"GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodes"
|
|
42
|
+
]
|
|
43
|
+
page_info: (
|
|
44
|
+
"GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesPageInfo"
|
|
45
|
+
) = Field(alias="pageInfo")
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
class GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodes(
|
|
49
|
+
BaseModel
|
|
50
|
+
):
|
|
51
|
+
id: str
|
|
52
|
+
ik: str
|
|
53
|
+
type: Optional[Any]
|
|
54
|
+
type_version: Optional[int] = Field(alias="typeVersion")
|
|
55
|
+
description: Optional[str]
|
|
56
|
+
posted: Any
|
|
57
|
+
created: Any
|
|
58
|
+
parameters: Optional[Any]
|
|
59
|
+
lines: "GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodesLines"
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodesLines(
|
|
63
|
+
BaseModel
|
|
64
|
+
):
|
|
65
|
+
nodes: List[
|
|
66
|
+
"GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodesLinesNodes"
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
class GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodesLinesNodes(
|
|
71
|
+
BaseModel
|
|
72
|
+
):
|
|
73
|
+
id: str
|
|
74
|
+
amount: Any
|
|
75
|
+
account: "GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodesLinesNodesAccount"
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
class GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodesLinesNodesAccount(
|
|
79
|
+
BaseModel
|
|
80
|
+
):
|
|
81
|
+
path: str
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
class GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesPageInfo(
|
|
85
|
+
BaseModel
|
|
86
|
+
):
|
|
87
|
+
has_next_page: bool = Field(alias="hasNextPage")
|
|
88
|
+
end_cursor: Optional[str] = Field(alias="endCursor")
|
|
89
|
+
has_previous_page: bool = Field(alias="hasPreviousPage")
|
|
90
|
+
start_cursor: Optional[str] = Field(alias="startCursor")
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
GetEntriesToMigrateForLedgerAccountDataMigration.model_rebuild()
|
|
94
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedger.model_rebuild()
|
|
95
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrations.model_rebuild()
|
|
96
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodes.model_rebuild()
|
|
97
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntries.model_rebuild()
|
|
98
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodes.model_rebuild()
|
|
99
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodesLines.model_rebuild()
|
|
100
|
+
GetEntriesToMigrateForLedgerAccountDataMigrationLedgerLedgerAccountDataMigrationsNodesLedgerEntriesNodesLinesNodes.model_rebuild()
|