svc-infra 0.1.585__py3-none-any.whl → 0.1.586__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.

Potentially problematic release.


This version of svc-infra might be problematic. Click here for more details.

@@ -433,7 +433,7 @@ def build_payments_routers(prefix: str = "/payments") -> list[DualAPIRouter]:
433
433
  return await svc.get_intent(provider_intent_id)
434
434
 
435
435
  # STATEMENTS (rollup)
436
- @svc.get(
436
+ @prot.get(
437
437
  "/statements/daily",
438
438
  response_model=list[StatementRow],
439
439
  name="payments_daily_statements",
@@ -627,7 +627,7 @@ def build_payments_routers(prefix: str = "/payments") -> list[DualAPIRouter]:
627
627
  return out
628
628
 
629
629
  # ===== Disputes =====
630
- @svc.get(
630
+ @prot.get(
631
631
  "/disputes",
632
632
  name="payments_list_disputes",
633
633
  response_model=Paginated[DisputeOut],
@@ -644,7 +644,7 @@ def build_payments_routers(prefix: str = "/payments") -> list[DualAPIRouter]:
644
644
  )
645
645
  return ctx.wrap(items, next_cursor=next_cursor)
646
646
 
647
- @svc.get(
647
+ @prot.get(
648
648
  "/disputes/{provider_dispute_id}",
649
649
  name="payments_get_dispute",
650
650
  response_model=DisputeOut,
@@ -653,7 +653,7 @@ def build_payments_routers(prefix: str = "/payments") -> list[DualAPIRouter]:
653
653
  async def get_dispute(provider_dispute_id: str, svc: PaymentsService = Depends(get_service)):
654
654
  return await svc.get_dispute(provider_dispute_id)
655
655
 
656
- @svc.post(
656
+ @prot.post(
657
657
  "/disputes/{provider_dispute_id}/submit_evidence",
658
658
  name="payments_submit_dispute_evidence",
659
659
  dependencies=[Depends(require_idempotency_key)],
@@ -670,13 +670,13 @@ def build_payments_routers(prefix: str = "/payments") -> list[DualAPIRouter]:
670
670
  return out
671
671
 
672
672
  # ===== Balance & Payouts =====
673
- @svc.get(
673
+ @prot.get(
674
674
  "/balance", name="payments_get_balance", response_model=BalanceSnapshotOut, tags=["Balance"]
675
675
  )
676
676
  async def get_balance(svc: PaymentsService = Depends(get_service)):
677
677
  return await svc.get_balance_snapshot()
678
678
 
679
- @svc.get(
679
+ @prot.get(
680
680
  "/payouts",
681
681
  name="payments_list_payouts",
682
682
  response_model=Paginated[PayoutOut],
@@ -785,7 +785,7 @@ def build_payments_routers(prefix: str = "/payments") -> list[DualAPIRouter]:
785
785
  ):
786
786
  return await svc.get_product(provider_product_id)
787
787
 
788
- @svc.get(
788
+ @prot.get(
789
789
  "/products",
790
790
  response_model=Paginated[ProductOut],
791
791
  name="payments_list_products",
@@ -819,7 +819,7 @@ def build_payments_routers(prefix: str = "/payments") -> list[DualAPIRouter]:
819
819
  return out
820
820
 
821
821
  # ===== Prices: get/list/update (active toggle) =====
822
- @svc.get(
822
+ @prot.get(
823
823
  "/prices/{provider_price_id}",
824
824
  response_model=PriceOut,
825
825
  name="payments_get_price",
@@ -830,7 +830,7 @@ def build_payments_routers(prefix: str = "/payments") -> list[DualAPIRouter]:
830
830
  ):
831
831
  return await svc.get_price(provider_price_id)
832
832
 
833
- @svc.get(
833
+ @prot.get(
834
834
  "/prices",
835
835
  response_model=Paginated[PriceOut],
836
836
  name="payments_list_prices",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: svc-infra
3
- Version: 0.1.585
3
+ Version: 0.1.586
4
4
  Summary: Infrastructure for building and deploying prod-ready services
5
5
  License: MIT
6
6
  Keywords: fastapi,sqlalchemy,alembic,auth,infra,async,pydantic
@@ -12,7 +12,7 @@ svc_infra/apf_payments/settings.py,sha256=VnNQbajbv843buUisqa82xOQ-f5JA8JzHD8o01
12
12
  svc_infra/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  svc_infra/api/fastapi/__init__.py,sha256=VVdQjak74_wTDqmvL05_C97vIFugQxPVU-3JQEFBgR8,747
14
14
  svc_infra/api/fastapi/apf_payments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- svc_infra/api/fastapi/apf_payments/router.py,sha256=PtG_uUSdysfj10NJx0wKMFU4W4qNMn-1ra9CTJKpafg,34880
15
+ svc_infra/api/fastapi/apf_payments/router.py,sha256=cee_MQ7VBlcsc9oMN1L9s-IjdNENvYgjLWwPIeoGPEM,34889
16
16
  svc_infra/api/fastapi/apf_payments/setup.py,sha256=PX-LHDiyu2eDuaw2m98VPUkF6EmXXRkbjRqh_gL8Kls,2263
17
17
  svc_infra/api/fastapi/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  svc_infra/api/fastapi/auth/_cookies.py,sha256=U4heUmMnLezHx8U6ksuUEpSZ6sNMJcIO0gdLpmZ5FXw,1367
@@ -228,7 +228,7 @@ svc_infra/obs/templates/sidecars/railway/__init__.py,sha256=47DEQpj8HBSa-_TImW-5
228
228
  svc_infra/obs/templates/sidecars/railway/agent.yaml,sha256=hYv35yG92XEP_4joMFmMcVTD-4fG_zHitmChjreUJh4,516
229
229
  svc_infra/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
230
230
  svc_infra/utils.py,sha256=VX1yjTx61-YvAymyRhGy18DhybiVdPddiYD_FlKTbJU,952
231
- svc_infra-0.1.585.dist-info/METADATA,sha256=eIpmIuv9ZuGXw9Wkxx-VJNFqcIzfbCREVl97JLRG7gk,3487
232
- svc_infra-0.1.585.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
233
- svc_infra-0.1.585.dist-info/entry_points.txt,sha256=6x_nZOsjvn6hRZsMgZLgTasaCSKCgAjsGhACe_CiP0U,48
234
- svc_infra-0.1.585.dist-info/RECORD,,
231
+ svc_infra-0.1.586.dist-info/METADATA,sha256=4SPlQZV0C5x9xvRO_yiUSII9AcRksY1L3Wg6JzfasHM,3487
232
+ svc_infra-0.1.586.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
233
+ svc_infra-0.1.586.dist-info/entry_points.txt,sha256=6x_nZOsjvn6hRZsMgZLgTasaCSKCgAjsGhACe_CiP0U,48
234
+ svc_infra-0.1.586.dist-info/RECORD,,