fx-shared-models 0.2.3__tar.gz → 0.2.4__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 (126) hide show
  1. {fx_shared_models-0.2.3/fx_shared_models.egg-info → fx_shared_models-0.2.4}/PKG-INFO +1 -1
  2. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4/fx_shared_models.egg-info}/PKG-INFO +1 -1
  3. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/fx_shared_models.egg-info/SOURCES.txt +1 -0
  4. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/setup.py +1 -1
  5. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/__init__.py +1 -1
  6. fx_shared_models-0.2.4/shared_models/common/__pycache__/mixins.cpython-313.pyc +0 -0
  7. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/__pycache__/models.cpython-313.pyc +0 -0
  8. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/models.py +2 -2
  9. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/LICENSE +0 -0
  10. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/MANIFEST.in +0 -0
  11. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/README.md +0 -0
  12. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/fx_shared_models.egg-info/dependency_links.txt +0 -0
  13. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/fx_shared_models.egg-info/requires.txt +0 -0
  14. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/fx_shared_models.egg-info/top_level.txt +0 -0
  15. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/setup.cfg +0 -0
  16. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/accounts/__init__.py +0 -0
  17. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/accounts/apps.py +0 -0
  18. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/accounts/migrations/0001_initial.py +0 -0
  19. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/accounts/migrations/0002_remove_account_group_type_account_has_bonus_and_more.py +0 -0
  20. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/accounts/migrations/0003_account_is_archived_account_is_trading_enabled.py +0 -0
  21. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/accounts/migrations/0004_alter_account_created_at_alter_account_created_by_and_more.py +0 -0
  22. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/accounts/migrations/0005_account_currency.py +0 -0
  23. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/accounts/migrations/0006_alter_account_options.py +0 -0
  24. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/accounts/migrations/__init__.py +0 -0
  25. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/accounts/models.py +0 -0
  26. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/common/__pycache__/base.cpython-313.pyc +0 -0
  27. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/common/__pycache__/utils.cpython-313.pyc +0 -0
  28. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/common/base.py +0 -0
  29. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/common/mixins.py +0 -0
  30. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/common/utils.py +0 -0
  31. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/company_ba/__init__.py +0 -0
  32. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/company_ba/apps.py +0 -0
  33. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/company_ba/migrations/0001_initial.py +0 -0
  34. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/company_ba/migrations/__init__.py +0 -0
  35. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/company_ba/models.py +0 -0
  36. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/constants.py +0 -0
  37. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/__init__.py +0 -0
  38. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/__pycache__/__init__.cpython-313.pyc +0 -0
  39. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/__pycache__/apps.cpython-313.pyc +0 -0
  40. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/apps.py +0 -0
  41. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/0001_initial.py +0 -0
  42. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/0002_alter_customer_email_alter_customer_first_name_and_more.py +0 -0
  43. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/0004_customerauth_two_factor_backup_codes_and_more.py +0 -0
  44. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/0005_customerauth_temp_webauthn_challenge.py +0 -0
  45. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/0006_customerauth_webauthn_challenge.py +0 -0
  46. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/0007_customerauth_blocked_customerauth_blocked_at_and_more.py +0 -0
  47. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/0008_customer_email_hash.py +0 -0
  48. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/__init__.py +0 -0
  49. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/__pycache__/0001_initial.cpython-313.pyc +0 -0
  50. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/__pycache__/0002_alter_customer_email_alter_customer_first_name_and_more.cpython-313.pyc +0 -0
  51. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/__pycache__/0004_customerauth_two_factor_backup_codes_and_more.cpython-313.pyc +0 -0
  52. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/__pycache__/0005_customerauth_temp_webauthn_challenge.cpython-313.pyc +0 -0
  53. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/__pycache__/0006_customerauth_webauthn_challenge.cpython-313.pyc +0 -0
  54. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/__pycache__/0007_customerauth_blocked_customerauth_blocked_at_and_more.cpython-313.pyc +0 -0
  55. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/__pycache__/0008_customer_email_hash.cpython-313.pyc +0 -0
  56. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/customers/migrations/__pycache__/__init__.cpython-313.pyc +0 -0
  57. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/ib_commission/__init__.py +0 -0
  58. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/ib_commission/apps.py +0 -0
  59. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/ib_commission/migrations/0001_initial.py +0 -0
  60. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/ib_commission/migrations/0002_alter_clientibmapping_id_and_more.py +0 -0
  61. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/ib_commission/migrations/0003_commissiondistribution_is_pass_up_and_more.py +0 -0
  62. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/ib_commission/migrations/0004_rename_ib_commissi_account_76e731_idx_ib_commissi_account_10d556_idx_and_more.py +0 -0
  63. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/ib_commission/migrations/0005_alter_ibagreementmember_start_date.py +0 -0
  64. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/ib_commission/migrations/0006_clientibmapping_agreement_and_more.py +0 -0
  65. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/ib_commission/migrations/0007_alter_clientibmapping_mt5_login.py +0 -0
  66. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/ib_commission/migrations/0008_commissiondistribution_is_processed_and_more.py +0 -0
  67. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/ib_commission/migrations/0009_commissiondistribution_processing_notes_and_more.py +0 -0
  68. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/ib_commission/migrations/__init__.py +0 -0
  69. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/ib_commission/models.py +0 -0
  70. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/ib_commission/services/__init__.py +0 -0
  71. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/ib_commission/services/commission_calculator_service.py +0 -0
  72. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/services/group_resolver.py +0 -0
  73. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/__pycache__/apps.cpython-313.pyc +0 -0
  74. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/__pycache__/serializers.cpython-313.pyc +0 -0
  75. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/apps.py +0 -0
  76. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/0001_initial.py +0 -0
  77. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/0002_rename_is_enabled_systemsetting_is_active.py +0 -0
  78. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/0003_tradingplatformserver.py +0 -0
  79. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/0004_tradingplatformserver_connection_timeout_and_more.py +0 -0
  80. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/0005_accountsequence_accounttype.py +0 -0
  81. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/0006_alter_accounttype_sequence.py +0 -0
  82. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/0007_remove_accounttype_default_group_type_and_more.py +0 -0
  83. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/0008_paymentgatewayconfig_paymentmethodconfig_and_more.py +0 -0
  84. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/0009_alter_accountsequence_created_at_and_more.py +0 -0
  85. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/0010_alter_paymentgatewayconfig_gateway_and_more.py +0 -0
  86. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/__init__.py +0 -0
  87. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/__pycache__/0001_initial.cpython-313.pyc +0 -0
  88. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/__pycache__/0002_rename_is_enabled_systemsetting_is_active.cpython-313.pyc +0 -0
  89. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/__pycache__/0003_tradingplatformserver.cpython-313.pyc +0 -0
  90. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/__pycache__/0004_tradingplatformserver_connection_timeout_and_more.cpython-313.pyc +0 -0
  91. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/__pycache__/0005_accountsequence_accounttype.cpython-313.pyc +0 -0
  92. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/__pycache__/0006_alter_accounttype_sequence.cpython-313.pyc +0 -0
  93. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/__pycache__/0007_remove_accounttype_default_group_type_and_more.cpython-313.pyc +0 -0
  94. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/__pycache__/0008_paymentgatewayconfig_paymentmethodconfig_and_more.cpython-313.pyc +0 -0
  95. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/__pycache__/0009_alter_accountsequence_created_at_and_more.cpython-313.pyc +0 -0
  96. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/__pycache__/0010_alter_paymentgatewayconfig_gateway_and_more.cpython-313.pyc +0 -0
  97. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/migrations/__pycache__/__init__.cpython-313.pyc +0 -0
  98. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/__init__.py +0 -0
  99. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/__pycache__/__init__.cpython-313.pyc +0 -0
  100. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/__pycache__/account_sequence.cpython-313.pyc +0 -0
  101. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/__pycache__/account_types.cpython-313.pyc +0 -0
  102. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/__pycache__/accounts.cpython-313.pyc +0 -0
  103. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/__pycache__/base.cpython-313.pyc +0 -0
  104. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/__pycache__/email.cpython-313.pyc +0 -0
  105. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/__pycache__/group_configurations.cpython-313.pyc +0 -0
  106. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/__pycache__/payment_methods.cpython-313.pyc +0 -0
  107. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/__pycache__/trading_platform.cpython-313.pyc +0 -0
  108. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/__pycache__/transaction_configs.cpython-313.pyc +0 -0
  109. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/account_sequence.py +0 -0
  110. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/account_types.py +0 -0
  111. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/base.py +0 -0
  112. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/email.py +0 -0
  113. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/group_configurations.py +0 -0
  114. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/payment_methods.py +0 -0
  115. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/trading_platform.py +0 -0
  116. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/models/transaction_configs.py +0 -0
  117. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/system_settings/serializers.py +0 -0
  118. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/transactions/__init__.py +0 -0
  119. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/transactions/apps.py +0 -0
  120. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/transactions/constants.py +0 -0
  121. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/transactions/enums.py +0 -0
  122. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/transactions/migrations/0001_initial.py +0 -0
  123. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/transactions/migrations/0002_transaction_mt5_ticket.py +0 -0
  124. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/transactions/migrations/0003_alter_transaction_options.py +0 -0
  125. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/transactions/migrations/__init__.py +0 -0
  126. {fx_shared_models-0.2.3 → fx_shared_models-0.2.4}/shared_models/transactions/models.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fx-shared-models
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Shared models for FX Backend
5
5
  Home-page: https://github.com/fxbackend/fx-shared-models
6
6
  Author: FX Backend
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fx-shared-models
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Shared models for FX Backend
5
5
  Home-page: https://github.com/fxbackend/fx-shared-models
6
6
  Author: FX Backend
@@ -23,6 +23,7 @@ shared_models/common/base.py
23
23
  shared_models/common/mixins.py
24
24
  shared_models/common/utils.py
25
25
  shared_models/common/__pycache__/base.cpython-313.pyc
26
+ shared_models/common/__pycache__/mixins.cpython-313.pyc
26
27
  shared_models/common/__pycache__/utils.cpython-313.pyc
27
28
  shared_models/company_ba/__init__.py
28
29
  shared_models/company_ba/apps.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_namespace_packages
2
2
 
3
3
  setup(
4
4
  name='fx-shared-models',
5
- version='0.2.3',
5
+ version='0.2.4',
6
6
  packages=find_namespace_packages(include=['shared_models*']),
7
7
  install_requires=[
8
8
  'Django>=3.0',
@@ -3,4 +3,4 @@ Shared models package for FX Backend
3
3
  Contains Customer, System Settings, and IB Commission models
4
4
  """
5
5
 
6
- __version__ = '0.2.3'
6
+ __version__ = '0.2.4'
@@ -435,8 +435,8 @@ class CustomerAuth(SensitiveFieldsTrackingMixin, BaseModel):
435
435
  blocked_reason = models.TextField(blank=True, null=True)
436
436
  blocked_at = models.DateTimeField(null=True, blank=True)
437
437
  unblocked_at = models.DateTimeField(null=True, blank=True)
438
- blocked_by = models.ForeignKey('crm_user.CRMUser', null=True, blank=True, on_delete=models.SET_NULL, related_name='blocked_customers')
439
- unblocked_by = models.ForeignKey('crm_user.CRMUser', null=True, blank=True, on_delete=models.SET_NULL, related_name='unblocked_customers')
438
+ # blocked_by = models.ForeignKey('crm_user.CRMUser', null=True, blank=True, on_delete=models.SET_NULL, related_name='blocked_customers')
439
+ # unblocked_by = models.ForeignKey('crm_user.CRMUser', null=True, blank=True, on_delete=models.SET_NULL, related_name='unblocked_customers')
440
440
 
441
441
  def set_password(self, raw_password):
442
442
  self.password = make_password(raw_password)