stableops 1.1.1__tar.gz → 1.2.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.
Files changed (35) hide show
  1. {stableops-1.1.1 → stableops-1.2.0}/PKG-INFO +1 -1
  2. {stableops-1.1.1 → stableops-1.2.0}/pyproject.toml +1 -1
  3. {stableops-1.1.1 → stableops-1.2.0}/stableops/__init__.py +1 -1
  4. {stableops-1.1.1 → stableops-1.2.0}/stableops/types.py +8 -2
  5. {stableops-1.1.1 → stableops-1.2.0}/.github/workflows/publish.yml +0 -0
  6. {stableops-1.1.1 → stableops-1.2.0}/.gitignore +0 -0
  7. {stableops-1.1.1 → stableops-1.2.0}/.pylintrc +0 -0
  8. {stableops-1.1.1 → stableops-1.2.0}/LICENSE +0 -0
  9. {stableops-1.1.1 → stableops-1.2.0}/README.md +0 -0
  10. {stableops-1.1.1 → stableops-1.2.0}/README.zh-CN.md +0 -0
  11. {stableops-1.1.1 → stableops-1.2.0}/examples/README.md +0 -0
  12. {stableops-1.1.1 → stableops-1.2.0}/examples/async_example.py +0 -0
  13. {stableops-1.1.1 → stableops-1.2.0}/examples/create_order.py +0 -0
  14. {stableops-1.1.1 → stableops-1.2.0}/examples/webhook_handler.py +0 -0
  15. {stableops-1.1.1 → stableops-1.2.0}/stableops/addresses.py +0 -0
  16. {stableops-1.1.1 → stableops-1.2.0}/stableops/agents.py +0 -0
  17. {stableops-1.1.1 → stableops-1.2.0}/stableops/checkout_sessions.py +0 -0
  18. {stableops-1.1.1 → stableops-1.2.0}/stableops/client.py +0 -0
  19. {stableops-1.1.1 → stableops-1.2.0}/stableops/errors.py +0 -0
  20. {stableops-1.1.1 → stableops-1.2.0}/stableops/http.py +0 -0
  21. {stableops-1.1.1 → stableops-1.2.0}/stableops/merchant_subscriptions.py +0 -0
  22. {stableops-1.1.1 → stableops-1.2.0}/stableops/payment_links.py +0 -0
  23. {stableops-1.1.1 → stableops-1.2.0}/stableops/payment_orders.py +0 -0
  24. {stableops-1.1.1 → stableops-1.2.0}/stableops/py.typed +0 -0
  25. {stableops-1.1.1 → stableops-1.2.0}/stableops/refunds.py +0 -0
  26. {stableops-1.1.1 → stableops-1.2.0}/stableops/webhooks.py +0 -0
  27. {stableops-1.1.1 → stableops-1.2.0}/tests/test_addresses.py +0 -0
  28. {stableops-1.1.1 → stableops-1.2.0}/tests/test_agents.py +0 -0
  29. {stableops-1.1.1 → stableops-1.2.0}/tests/test_checkout_sessions.py +0 -0
  30. {stableops-1.1.1 → stableops-1.2.0}/tests/test_http.py +0 -0
  31. {stableops-1.1.1 → stableops-1.2.0}/tests/test_merchant_subscriptions.py +0 -0
  32. {stableops-1.1.1 → stableops-1.2.0}/tests/test_payment_orders.py +0 -0
  33. {stableops-1.1.1 → stableops-1.2.0}/tests/test_refunds_and_payment_links.py +0 -0
  34. {stableops-1.1.1 → stableops-1.2.0}/tests/test_types.py +0 -0
  35. {stableops-1.1.1 → stableops-1.2.0}/tests/test_webhooks.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: stableops
3
- Version: 1.1.1
3
+ Version: 1.2.0
4
4
  Summary: Official Python SDK for StableOps - Stablecoin payment infrastructure
5
5
  Project-URL: Homepage, https://stableops.dev
6
6
  Project-URL: Documentation, https://stableops.dev/docs
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "stableops"
7
- version = "1.1.1"
7
+ version = "1.2.0"
8
8
  description = "Official Python SDK for StableOps - Stablecoin payment infrastructure"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -90,7 +90,7 @@ from stableops.webhooks import (
90
90
  verify_webhook_signature,
91
91
  )
92
92
 
93
- __version__ = "1.1.1"
93
+ __version__ = "1.2.0"
94
94
 
95
95
  __all__ = [
96
96
  # Client
@@ -595,7 +595,10 @@ class CreatePaymentLinkInput(BaseModel):
595
595
  """Input for creating a reusable payment link."""
596
596
 
597
597
  title: str
598
- amount: str
598
+ amount: Optional[str] = None
599
+ amount_type: Optional[Literal["fixed", "custom"]] = None
600
+ min_amount: Optional[str] = None
601
+ suggested_amounts: Optional[List[str]] = None
599
602
  accepted_assets: List[AcceptedAssetInput]
600
603
  description: Optional[str] = None
601
604
  amount_mode: Optional[AmountMode] = None
@@ -626,7 +629,10 @@ class PaymentLink(BaseModel):
626
629
  slug: str
627
630
  title: str
628
631
  description: Optional[str]
629
- amount: str
632
+ amount: Optional[str]
633
+ amount_type: Optional[Literal["fixed", "custom"]] = None
634
+ min_amount: Optional[str] = None
635
+ suggested_amounts: Optional[List[str]] = None
630
636
  amount_mode: AmountMode
631
637
  settlement_asset: Optional[Asset]
632
638
  accepted_assets: List[AcceptedAssetInput]
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