fragment-python 1.3.0__tar.gz → 1.4.0__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-1.3.0 → fragment_python-1.4.0}/PKG-INFO +1 -1
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/__init__.py +2 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/client.py +7 -0
- {fragment_python-1.3.0/fragment/sync_sdk → fragment_python-1.4.0/fragment/sdk}/create_payment.py +12 -2
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/enums.py +1 -1
- {fragment_python-1.3.0/fragment/sync_sdk → fragment_python-1.4.0/fragment/sdk}/input_types.py +8 -2
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/std_queries/queries.graphql +7 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/__init__.py +2 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/client.py +7 -0
- {fragment_python-1.3.0/fragment/sdk → fragment_python-1.4.0/fragment/sync_sdk}/create_payment.py +12 -2
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/enums.py +1 -1
- {fragment_python-1.3.0/fragment/sdk → fragment_python-1.4.0/fragment/sync_sdk}/input_types.py +8 -2
- {fragment_python-1.3.0 → fragment_python-1.4.0}/pyproject.toml +3 -3
- {fragment_python-1.3.0 → fragment_python-1.4.0}/LICENSE +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/README.md +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/__init__.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/client/__init__.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/client/async_client.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/client/sync_client.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/codegen/__init__.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/codegen/helpers.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/codegen/main.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/codegen/plugins/__init__.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/codegen/plugins/generate_client_method.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/codegen/plugins/generate_typed_entries.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/codegen/plugins/get_file_comment.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/codegen/typed_entries.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/exceptions.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/logger.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/py.typed +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/add_ledger_entries.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/add_ledger_entry.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/add_ledger_entry_runtime.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/async_client.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/base_model.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/create_custom_currency.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/create_custom_link.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/create_ledger.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/delete_custom_txs.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/delete_ledger.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/delete_schema.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/get_account_data_migrations.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/get_entries_to_migrate_for_ledger_account_data_migration.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/get_entries_to_migrate_for_ledger_entry_data_migration.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/get_entry_data_migrations.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/get_ledger.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/get_ledger_account_balance.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/get_ledger_account_balance_with_child_rollup.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/get_ledger_account_lines.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/get_ledger_entry.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/get_payment.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/get_schema.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/get_workspace.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/instantiate_ledger_account.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/list_ledger_account_balances.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/list_ledger_accounts.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/list_ledger_entries.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/list_ledger_entry_group_balances.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/list_multi_currency_ledger_account_balances.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/list_payments.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/migrate_ledger_entry.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/reconcile_tx.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/reconcile_tx_runtime.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/reverse_ledger_entry.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/store_schema.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/sync_custom_accounts.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/sync_custom_txs.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/typed_entries.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/update_ledger.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/update_ledger_entry.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/add_ledger_entries.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/add_ledger_entry.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/add_ledger_entry_runtime.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/async_client.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/base_model.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/create_custom_currency.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/create_custom_link.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/create_ledger.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/delete_custom_txs.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/delete_ledger.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/delete_schema.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_account_data_migrations.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_entries_to_migrate_for_ledger_account_data_migration.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_entries_to_migrate_for_ledger_entry_data_migration.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_entry_data_migrations.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_ledger.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_ledger_account_balance.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_ledger_account_balance_with_child_rollup.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_ledger_account_lines.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_ledger_entry.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_payment.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_schema.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_workspace.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/instantiate_ledger_account.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/list_ledger_account_balances.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/list_ledger_accounts.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/list_ledger_entries.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/list_ledger_entry_group_balances.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/list_multi_currency_ledger_account_balances.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/list_payments.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/migrate_ledger_entry.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/reconcile_tx.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/reconcile_tx_runtime.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/reverse_ledger_entry.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/store_schema.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/sync_client.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/sync_custom_accounts.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/sync_custom_txs.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/typed_entries.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/update_ledger.py +0 -0
- {fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/update_ledger_entry.py +0 -0
|
@@ -60,6 +60,7 @@ from .create_payment import (
|
|
|
60
60
|
CreatePaymentCreatePaymentBadRequestError,
|
|
61
61
|
CreatePaymentCreatePaymentCreatePaymentResult,
|
|
62
62
|
CreatePaymentCreatePaymentCreatePaymentResultPayment,
|
|
63
|
+
CreatePaymentCreatePaymentCreatePaymentResultPaymentCurrency,
|
|
63
64
|
CreatePaymentCreatePaymentInternalError,
|
|
64
65
|
)
|
|
65
66
|
from .delete_custom_txs import (
|
|
@@ -498,6 +499,7 @@ __all__ = [
|
|
|
498
499
|
"CreatePaymentCreatePaymentBadRequestError",
|
|
499
500
|
"CreatePaymentCreatePaymentCreatePaymentResult",
|
|
500
501
|
"CreatePaymentCreatePaymentCreatePaymentResultPayment",
|
|
502
|
+
"CreatePaymentCreatePaymentCreatePaymentResultPaymentCurrency",
|
|
501
503
|
"CreatePaymentCreatePaymentInternalError",
|
|
502
504
|
"CreatePaymentInput",
|
|
503
505
|
"CurrencyCode",
|
|
@@ -1858,8 +1858,15 @@ class Client(AsyncFragmentClient):
|
|
|
1858
1858
|
__typename
|
|
1859
1859
|
... on CreatePaymentResult {
|
|
1860
1860
|
payment {
|
|
1861
|
+
id
|
|
1862
|
+
ik
|
|
1861
1863
|
clientSecret
|
|
1862
1864
|
status
|
|
1865
|
+
amount
|
|
1866
|
+
mode
|
|
1867
|
+
currency {
|
|
1868
|
+
code
|
|
1869
|
+
}
|
|
1863
1870
|
}
|
|
1864
1871
|
}
|
|
1865
1872
|
... on BadRequestError {
|
{fragment_python-1.3.0/fragment/sync_sdk → fragment_python-1.4.0/fragment/sdk}/create_payment.py
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Generated by fragment (with the help of ariadne-codegen)
|
|
2
2
|
# Source: queries/
|
|
3
3
|
|
|
4
|
-
from typing import Literal, Union
|
|
4
|
+
from typing import Any, Literal, Union
|
|
5
5
|
|
|
6
6
|
from pydantic import Field
|
|
7
7
|
|
|
8
8
|
from .base_model import BaseModel
|
|
9
|
-
from .enums import PaymentStatus
|
|
9
|
+
from .enums import PaymentCurrencyCode, PaymentMode, PaymentStatus
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class CreatePayment(BaseModel):
|
|
@@ -30,8 +30,17 @@ class CreatePaymentCreatePaymentCreatePaymentResult(BaseModel):
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
class CreatePaymentCreatePaymentCreatePaymentResultPayment(BaseModel):
|
|
33
|
+
id: str
|
|
34
|
+
ik: Any
|
|
33
35
|
client_secret: str = Field(alias="clientSecret")
|
|
34
36
|
status: PaymentStatus
|
|
37
|
+
amount: Any
|
|
38
|
+
mode: PaymentMode
|
|
39
|
+
currency: "CreatePaymentCreatePaymentCreatePaymentResultPaymentCurrency"
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class CreatePaymentCreatePaymentCreatePaymentResultPaymentCurrency(BaseModel):
|
|
43
|
+
code: PaymentCurrencyCode
|
|
35
44
|
|
|
36
45
|
|
|
37
46
|
class CreatePaymentCreatePaymentInternalError(BaseModel):
|
|
@@ -43,3 +52,4 @@ class CreatePaymentCreatePaymentInternalError(BaseModel):
|
|
|
43
52
|
|
|
44
53
|
CreatePayment.model_rebuild()
|
|
45
54
|
CreatePaymentCreatePaymentCreatePaymentResult.model_rebuild()
|
|
55
|
+
CreatePaymentCreatePaymentCreatePaymentResultPayment.model_rebuild()
|
{fragment_python-1.3.0/fragment/sync_sdk → fragment_python-1.4.0/fragment/sdk}/input_types.py
RENAMED
|
@@ -606,6 +606,8 @@ class LedgerLinesFilterSet(BaseModel):
|
|
|
606
606
|
"Filter by the currency of the Ledger Line."
|
|
607
607
|
date: Optional["DateFilter"] = None
|
|
608
608
|
"Use this filter to filter Ledger Lines by their `posted` date."
|
|
609
|
+
external_tx_ids: Optional[list[str]] = Field(alias="externalTxIds", default=None)
|
|
610
|
+
"Filter Ledger Lines by the external IDs of their linked transactions. Only supported on `LedgerAccount.lines` for a linked Ledger Account."
|
|
609
611
|
is_reversal: Optional[bool] = Field(alias="isReversal", default=None)
|
|
610
612
|
"Use this to filter Ledger Lines that were posted to this Ledger Account, using `reverseLedgerEntry`."
|
|
611
613
|
is_reversed: Optional[bool] = Field(alias="isReversed", default=None)
|
|
@@ -648,7 +650,11 @@ class LedgersFilterSet(BaseModel):
|
|
|
648
650
|
|
|
649
651
|
|
|
650
652
|
class LinkMatchInput(BaseModel):
|
|
651
|
-
|
|
653
|
+
"""Specify a Link by ID, or a Custom Link by its creation IK."""
|
|
654
|
+
|
|
655
|
+
id: Optional[str] = None
|
|
656
|
+
ik: Optional[Any] = None
|
|
657
|
+
"The IK passed to createCustomLink. If id is also provided, both must identify the same Link."
|
|
652
658
|
|
|
653
659
|
|
|
654
660
|
class MigrateLedgerEntryInput(BaseModel):
|
|
@@ -965,7 +971,7 @@ class SchemaPaymentAccountingInput(BaseModel):
|
|
|
965
971
|
through its lifecycle, keyed by lifecycle transition."""
|
|
966
972
|
|
|
967
973
|
initiated: Optional["SchemaPaymentEntryInput"] = None
|
|
968
|
-
"Posted when the payment is
|
|
974
|
+
"Posted when the payment is captured. Optional."
|
|
969
975
|
settled: "SchemaPaymentEntryInput"
|
|
970
976
|
"Posted when the payment settles. Every Payment Type must define it."
|
|
971
977
|
|
|
@@ -1291,8 +1291,15 @@ mutation createPayment(
|
|
|
1291
1291
|
__typename
|
|
1292
1292
|
... on CreatePaymentResult {
|
|
1293
1293
|
payment {
|
|
1294
|
+
id
|
|
1295
|
+
ik
|
|
1294
1296
|
clientSecret
|
|
1295
1297
|
status
|
|
1298
|
+
amount
|
|
1299
|
+
mode
|
|
1300
|
+
currency {
|
|
1301
|
+
code
|
|
1302
|
+
}
|
|
1296
1303
|
}
|
|
1297
1304
|
}
|
|
1298
1305
|
... on BadRequestError {
|
|
@@ -59,6 +59,7 @@ from .create_payment import (
|
|
|
59
59
|
CreatePaymentCreatePaymentBadRequestError,
|
|
60
60
|
CreatePaymentCreatePaymentCreatePaymentResult,
|
|
61
61
|
CreatePaymentCreatePaymentCreatePaymentResultPayment,
|
|
62
|
+
CreatePaymentCreatePaymentCreatePaymentResultPaymentCurrency,
|
|
62
63
|
CreatePaymentCreatePaymentInternalError,
|
|
63
64
|
)
|
|
64
65
|
from .delete_custom_txs import (
|
|
@@ -497,6 +498,7 @@ __all__ = [
|
|
|
497
498
|
"CreatePaymentCreatePaymentBadRequestError",
|
|
498
499
|
"CreatePaymentCreatePaymentCreatePaymentResult",
|
|
499
500
|
"CreatePaymentCreatePaymentCreatePaymentResultPayment",
|
|
501
|
+
"CreatePaymentCreatePaymentCreatePaymentResultPaymentCurrency",
|
|
500
502
|
"CreatePaymentCreatePaymentInternalError",
|
|
501
503
|
"CreatePaymentInput",
|
|
502
504
|
"CurrencyCode",
|
|
@@ -1852,8 +1852,15 @@ class Client(SyncFragmentClient):
|
|
|
1852
1852
|
__typename
|
|
1853
1853
|
... on CreatePaymentResult {
|
|
1854
1854
|
payment {
|
|
1855
|
+
id
|
|
1856
|
+
ik
|
|
1855
1857
|
clientSecret
|
|
1856
1858
|
status
|
|
1859
|
+
amount
|
|
1860
|
+
mode
|
|
1861
|
+
currency {
|
|
1862
|
+
code
|
|
1863
|
+
}
|
|
1857
1864
|
}
|
|
1858
1865
|
}
|
|
1859
1866
|
... on BadRequestError {
|
{fragment_python-1.3.0/fragment/sdk → fragment_python-1.4.0/fragment/sync_sdk}/create_payment.py
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Generated by fragment (with the help of ariadne-codegen)
|
|
2
2
|
# Source: queries/
|
|
3
3
|
|
|
4
|
-
from typing import Literal, Union
|
|
4
|
+
from typing import Any, Literal, Union
|
|
5
5
|
|
|
6
6
|
from pydantic import Field
|
|
7
7
|
|
|
8
8
|
from .base_model import BaseModel
|
|
9
|
-
from .enums import PaymentStatus
|
|
9
|
+
from .enums import PaymentCurrencyCode, PaymentMode, PaymentStatus
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class CreatePayment(BaseModel):
|
|
@@ -30,8 +30,17 @@ class CreatePaymentCreatePaymentCreatePaymentResult(BaseModel):
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
class CreatePaymentCreatePaymentCreatePaymentResultPayment(BaseModel):
|
|
33
|
+
id: str
|
|
34
|
+
ik: Any
|
|
33
35
|
client_secret: str = Field(alias="clientSecret")
|
|
34
36
|
status: PaymentStatus
|
|
37
|
+
amount: Any
|
|
38
|
+
mode: PaymentMode
|
|
39
|
+
currency: "CreatePaymentCreatePaymentCreatePaymentResultPaymentCurrency"
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class CreatePaymentCreatePaymentCreatePaymentResultPaymentCurrency(BaseModel):
|
|
43
|
+
code: PaymentCurrencyCode
|
|
35
44
|
|
|
36
45
|
|
|
37
46
|
class CreatePaymentCreatePaymentInternalError(BaseModel):
|
|
@@ -43,3 +52,4 @@ class CreatePaymentCreatePaymentInternalError(BaseModel):
|
|
|
43
52
|
|
|
44
53
|
CreatePayment.model_rebuild()
|
|
45
54
|
CreatePaymentCreatePaymentCreatePaymentResult.model_rebuild()
|
|
55
|
+
CreatePaymentCreatePaymentCreatePaymentResultPayment.model_rebuild()
|
{fragment_python-1.3.0/fragment/sdk → fragment_python-1.4.0/fragment/sync_sdk}/input_types.py
RENAMED
|
@@ -606,6 +606,8 @@ class LedgerLinesFilterSet(BaseModel):
|
|
|
606
606
|
"Filter by the currency of the Ledger Line."
|
|
607
607
|
date: Optional["DateFilter"] = None
|
|
608
608
|
"Use this filter to filter Ledger Lines by their `posted` date."
|
|
609
|
+
external_tx_ids: Optional[list[str]] = Field(alias="externalTxIds", default=None)
|
|
610
|
+
"Filter Ledger Lines by the external IDs of their linked transactions. Only supported on `LedgerAccount.lines` for a linked Ledger Account."
|
|
609
611
|
is_reversal: Optional[bool] = Field(alias="isReversal", default=None)
|
|
610
612
|
"Use this to filter Ledger Lines that were posted to this Ledger Account, using `reverseLedgerEntry`."
|
|
611
613
|
is_reversed: Optional[bool] = Field(alias="isReversed", default=None)
|
|
@@ -648,7 +650,11 @@ class LedgersFilterSet(BaseModel):
|
|
|
648
650
|
|
|
649
651
|
|
|
650
652
|
class LinkMatchInput(BaseModel):
|
|
651
|
-
|
|
653
|
+
"""Specify a Link by ID, or a Custom Link by its creation IK."""
|
|
654
|
+
|
|
655
|
+
id: Optional[str] = None
|
|
656
|
+
ik: Optional[Any] = None
|
|
657
|
+
"The IK passed to createCustomLink. If id is also provided, both must identify the same Link."
|
|
652
658
|
|
|
653
659
|
|
|
654
660
|
class MigrateLedgerEntryInput(BaseModel):
|
|
@@ -965,7 +971,7 @@ class SchemaPaymentAccountingInput(BaseModel):
|
|
|
965
971
|
through its lifecycle, keyed by lifecycle transition."""
|
|
966
972
|
|
|
967
973
|
initiated: Optional["SchemaPaymentEntryInput"] = None
|
|
968
|
-
"Posted when the payment is
|
|
974
|
+
"Posted when the payment is captured. Optional."
|
|
969
975
|
settled: "SchemaPaymentEntryInput"
|
|
970
976
|
"Posted when the payment settles. Every Payment Type must define it."
|
|
971
977
|
|
|
@@ -5,7 +5,7 @@ target_package_name = "fragment_graphql_client"
|
|
|
5
5
|
|
|
6
6
|
[tool.poetry]
|
|
7
7
|
name = "fragment-python"
|
|
8
|
-
version = "1.
|
|
8
|
+
version = "1.4.0"
|
|
9
9
|
description = "Python SDK for https://fragment.dev/"
|
|
10
10
|
authors = ["Fragment Foundries Inc"]
|
|
11
11
|
license = "Apache 2.0"
|
|
@@ -27,8 +27,8 @@ pylint = "^3.2.6"
|
|
|
27
27
|
black = "^26.3.1"
|
|
28
28
|
isort = "^5.13.2"
|
|
29
29
|
mypy = "^1.11.2"
|
|
30
|
-
pytest = "^
|
|
31
|
-
pytest-asyncio = "^
|
|
30
|
+
pytest = "^9.0.3"
|
|
31
|
+
pytest-asyncio = "^1.4.0"
|
|
32
32
|
|
|
33
33
|
[build-system]
|
|
34
34
|
requires = ["poetry-core"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/codegen/plugins/generate_client_method.py
RENAMED
|
File without changes
|
{fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/codegen/plugins/generate_typed_entries.py
RENAMED
|
File without changes
|
{fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/codegen/plugins/get_file_comment.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/list_ledger_account_balances.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sdk/list_ledger_entry_group_balances.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/add_ledger_entry_runtime.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_account_data_migrations.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_entry_data_migrations.py
RENAMED
|
File without changes
|
|
File without changes
|
{fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_ledger_account_balance.py
RENAMED
|
File without changes
|
|
File without changes
|
{fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/get_ledger_account_lines.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/instantiate_ledger_account.py
RENAMED
|
File without changes
|
{fragment_python-1.3.0 → fragment_python-1.4.0}/fragment/sync_sdk/list_ledger_account_balances.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|