django-barobill 0.1.2__py3-none-any.whl → 0.1.3__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.
@@ -0,0 +1,17 @@
1
+ # Generated by Django 5.1.5 on 2025-07-21 04:42
2
+
3
+ from django.db import migrations, models
4
+
5
+
6
+ class Migration(migrations.Migration):
7
+
8
+ dependencies = [
9
+ ('django_barobill', '0001_initial'),
10
+ ]
11
+
12
+ operations = [
13
+ migrations.AddConstraint(
14
+ model_name='partner',
15
+ constraint=models.UniqueConstraint(fields=('brn', 'userid', 'dev'), name='unique_partner_brn_userid'),
16
+ ),
17
+ ]
django_barobill/models.py CHANGED
@@ -3,7 +3,7 @@ from typing import Optional
3
3
 
4
4
  from django.db import models
5
5
  from django.utils import timezone
6
- from zeep import Client
6
+ from zeep import Client, Transport
7
7
 
8
8
  from django_barobill.choices import BankAccountCollectCycle, BankAccountBank, BankAccountAccountType, BankAccountTransactionDirection
9
9
  from django_barobill.errors import BarobillAPIError, BarobillError
@@ -20,7 +20,8 @@ class BankHelper:
20
20
  endpoint = "https://testws.baroservice.com/BANKACCOUNT.asmx?wsdl"
21
21
  else:
22
22
  endpoint = "https://ws.baroservice.com/BANKACCOUNT.asmx?wsdl"
23
- return Client(endpoint)
23
+ transport = Transport(timeout=60)
24
+ return Client(endpoint, transport=transport)
24
25
 
25
26
  def get_bank_account_management_url(self):
26
27
  return self.client.service.GetBankAccountManagementURL(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: django-barobill
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A reusable Django app for integration with BaroBill services.
5
5
  Home-page: https://github.com/cuhong/django-barobill
6
6
  Author: cuhong
@@ -3,17 +3,18 @@ django_barobill/admin.py,sha256=suMo4x8I3JBxAFBVIdE-5qnqZ6JAZV0FESABHOSc-vg,63
3
3
  django_barobill/apps.py,sha256=VUIGjvRJJKmOM0WaBbqoU5QULCvC0YGKhKIMFYGpXxI,161
4
4
  django_barobill/choices.py,sha256=qkh5baFFCycTOKcTiU2DSu2iDJTiIQyhFgQ8uNSWyDo,1236
5
5
  django_barobill/errors.py,sha256=lKEEEKzAdwAueQOLhoSLe-B9VLT-S7hqUCrkfpkRXp8,3555
6
- django_barobill/models.py,sha256=PvAsCqSpQZ0W61y6wWnLkz6A0HHQMlj_oq-l5_SLC7E,17527
6
+ django_barobill/models.py,sha256=tn7U_RdIq3O0g3QPTisK8wcuWxC2trjBIhKRnXE9GP0,17601
7
7
  django_barobill/parsers.py,sha256=boBB9ePTRJrOmoEql23VQk_TDcaWqbEwJhxtW9Gx2Yc,1027
8
8
  django_barobill/tests.py,sha256=iG0hzKegA86ls4QxLY_p6sgZ0fkb_CD0HyzY-aO28ic,1661
9
9
  django_barobill/utils.py,sha256=eKSI-QgM8WTHA1vUukbZnVKEhiMcX7wzxLPcJ_6VKVE,200
10
10
  django_barobill/views.py,sha256=xc1IQHrsij7j33TUbo-_oewy3vs03pw_etpBWaMYJl0,63
11
11
  django_barobill/migrations/0001_initial.py,sha256=Uh8Nx0mOJQjXnPhzXmT7mrQx5zTbE8bNQSJJXTqHNpU,5176
12
+ django_barobill/migrations/0002_partner_unique_partner_brn_userid.py,sha256=zZBfyODWR836qdCo4Bzt8j0EdVW2gwAlsrVTVOr7A10,424
12
13
  django_barobill/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
14
  django_barobill/migrations/__pycache__/0001_initial.cpython-312.pyc,sha256=e9D59BlhPF0qvZ_QM6iSS53LkFe0LpaJ8t0RlzKqzzw,5537
14
15
  django_barobill/migrations/__pycache__/__init__.cpython-312.pyc,sha256=vKIJDzcsTZu8PdXPuC052vkL9-T0Fi69yIxRo4BI57s,181
15
- django_barobill-0.1.2.dist-info/LICENSE,sha256=o5IEBFE4Yr1q_q2_HvPqL2YXAfakEBi0X2WS9CDJlyY,1063
16
- django_barobill-0.1.2.dist-info/METADATA,sha256=KneDIWMjsDhSqXcn2eOdpKKZvdb6bx0kTPJfou5bpqk,3389
17
- django_barobill-0.1.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
18
- django_barobill-0.1.2.dist-info/top_level.txt,sha256=RmcbZUqTKXVI1jksKTaeennFkcSemFHwgxSMPqE7YgU,16
19
- django_barobill-0.1.2.dist-info/RECORD,,
16
+ django_barobill-0.1.3.dist-info/LICENSE,sha256=o5IEBFE4Yr1q_q2_HvPqL2YXAfakEBi0X2WS9CDJlyY,1063
17
+ django_barobill-0.1.3.dist-info/METADATA,sha256=r2-NC15eBta8Bzz7Hiy0qskGc0DtnWm14rushWPaW2E,3389
18
+ django_barobill-0.1.3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
19
+ django_barobill-0.1.3.dist-info/top_level.txt,sha256=RmcbZUqTKXVI1jksKTaeennFkcSemFHwgxSMPqE7YgU,16
20
+ django_barobill-0.1.3.dist-info/RECORD,,