ai-lls-lib 1.4.0rc4__py3-none-any.whl → 1.5.0rc2__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 ai-lls-lib might be problematic. Click here for more details.
- ai_lls_lib/__init__.py +6 -2
- ai_lls_lib/payment/stripe_manager.py +2 -3
- {ai_lls_lib-1.4.0rc4.dist-info → ai_lls_lib-1.5.0rc2.dist-info}/METADATA +3 -2
- {ai_lls_lib-1.4.0rc4.dist-info → ai_lls_lib-1.5.0rc2.dist-info}/RECORD +6 -6
- {ai_lls_lib-1.4.0rc4.dist-info → ai_lls_lib-1.5.0rc2.dist-info}/WHEEL +1 -1
- {ai_lls_lib-1.4.0rc4.dist-info → ai_lls_lib-1.5.0rc2.dist-info}/entry_points.txt +0 -0
ai_lls_lib/__init__.py
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
"""
|
|
2
|
-
AI LLS Library - Core business logic for Landline Scrubber
|
|
2
|
+
AI LLS Library - Core business logic for Landline Scrubber.
|
|
3
|
+
|
|
4
|
+
This library provides phone verification and DNC checking capabilities.
|
|
5
|
+
|
|
6
|
+
Version 1.5.x includes removal of environment-based Stripe filtering.
|
|
3
7
|
"""
|
|
4
8
|
from ai_lls_lib.core.models import (
|
|
5
9
|
PhoneVerification,
|
|
@@ -13,7 +17,7 @@ from ai_lls_lib.core.verifier import PhoneVerifier
|
|
|
13
17
|
from ai_lls_lib.core.processor import BulkProcessor
|
|
14
18
|
from ai_lls_lib.core.cache import DynamoDBCache
|
|
15
19
|
|
|
16
|
-
__version__ = "1.
|
|
20
|
+
__version__ = "1.5.0-rc.2"
|
|
17
21
|
__all__ = [
|
|
18
22
|
"PhoneVerification",
|
|
19
23
|
"BulkJob",
|
|
@@ -59,7 +59,6 @@ class StripeManager:
|
|
|
59
59
|
|
|
60
60
|
# Filter by our metadata conventions
|
|
61
61
|
if (metadata.get("product_type") == "landline_scrubber" and
|
|
62
|
-
metadata.get("environment") == self.environment and
|
|
63
62
|
metadata.get("active") == "true"):
|
|
64
63
|
|
|
65
64
|
# Convert to Plan object
|
|
@@ -74,8 +73,8 @@ class StripeManager:
|
|
|
74
73
|
|
|
75
74
|
except stripe.error.StripeError as e:
|
|
76
75
|
logger.error(f"Stripe error listing plans: {e}")
|
|
77
|
-
#
|
|
78
|
-
|
|
76
|
+
# Let error propagate - no fallback to mock data
|
|
77
|
+
raise
|
|
79
78
|
|
|
80
79
|
def create_setup_intent(self, user_id: str) -> Dict[str, str]:
|
|
81
80
|
"""
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: ai-lls-lib
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.5.0rc2
|
|
4
4
|
Summary: Landline Scrubber core library - phone verification and DNC checking
|
|
5
5
|
Author: LandlineScrubber Team
|
|
6
6
|
Requires-Python: >=3.12,<4.0
|
|
7
7
|
Classifier: Programming Language :: Python :: 3
|
|
8
8
|
Classifier: Programming Language :: Python :: 3.12
|
|
9
9
|
Classifier: Programming Language :: Python :: 3.13
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
10
11
|
Requires-Dist: aws-lambda-powertools (>=2.30.0,<3.0.0)
|
|
11
12
|
Requires-Dist: boto3 (>=1.34.0,<2.0.0)
|
|
12
13
|
Requires-Dist: click (>=8.1.0,<9.0.0)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
ai_lls_lib/__init__.py,sha256=
|
|
1
|
+
ai_lls_lib/__init__.py,sha256=yGOMgG4bC7TXLU3TfWUd-OvY45lWw2lPZCm9P4bUpfg,734
|
|
2
2
|
ai_lls_lib/auth/__init__.py,sha256=ZjwlfTvYUo9A9BaLinaXW2elxYectScmu0XtKAppSFs,198
|
|
3
3
|
ai_lls_lib/auth/context_parser.py,sha256=AWyGWejrFR0jJ7fMhajdA1ABo656Qlvs2YAzz-IfTrs,2290
|
|
4
4
|
ai_lls_lib/cli/__init__.py,sha256=HyjnIBGlrbTlHQ82n_UppjtJbZl4_7QsnAgRqNlXKMU,77
|
|
@@ -19,7 +19,7 @@ ai_lls_lib/core/verifier.py,sha256=dM5DkVudc29Evsd-QSkX9cQEM8EeUJQlCYxImDIJ7Uc,2
|
|
|
19
19
|
ai_lls_lib/payment/__init__.py,sha256=uQwWZ2tw-cxS06hbWiKu8ubxzzYCmxeKBQQU7m_mRX4,308
|
|
20
20
|
ai_lls_lib/payment/credit_manager.py,sha256=DH_t8AMx74vexegoTD3UkFNA1XuomIQWOZu9VoJMO3E,7340
|
|
21
21
|
ai_lls_lib/payment/models.py,sha256=LxGop5e1hhUmBCpnzJwU-dDQSLHy6uM6gSFYYo2V_FI,3609
|
|
22
|
-
ai_lls_lib/payment/stripe_manager.py,sha256=
|
|
22
|
+
ai_lls_lib/payment/stripe_manager.py,sha256=cSJvRWk1OT16SlDh5BMyoEQD8TU0IzeP0TaL8e2U4zA,18423
|
|
23
23
|
ai_lls_lib/payment/webhook_processor.py,sha256=bAf8oUBzvCsb1stzKZ-cjZs02T-RJl-MeVnZmnnj5UM,8980
|
|
24
24
|
ai_lls_lib/providers/__init__.py,sha256=xDh9KY3pgDef59CqQlAR215bawxdEY2OP-BRRT9ru_c,186
|
|
25
25
|
ai_lls_lib/providers/base.py,sha256=WSnSkHtRvwpX8QtGINjO-EWsZL0augp5E8M1DPwpf00,709
|
|
@@ -27,7 +27,7 @@ ai_lls_lib/providers/external.py,sha256=T8P_XtLNCXZBB0DzK4fradNBoiapIbpQ09Ai4Dih
|
|
|
27
27
|
ai_lls_lib/providers/stub.py,sha256=n8WCcuqcv62DnIO-WPhuold-AC3yrxjQAboJ4CO2n6U,1198
|
|
28
28
|
ai_lls_lib/testing/__init__.py,sha256=NytBz7T0YtNLDArRYHsczaeopIQmmBeV21-XXUprdeY,42
|
|
29
29
|
ai_lls_lib/testing/fixtures.py,sha256=OC1huorIqUndePoUTfgoU-aDvsWAFJqmQ6fGDjH9E14,3414
|
|
30
|
-
ai_lls_lib-1.
|
|
31
|
-
ai_lls_lib-1.
|
|
32
|
-
ai_lls_lib-1.
|
|
33
|
-
ai_lls_lib-1.
|
|
30
|
+
ai_lls_lib-1.5.0rc2.dist-info/METADATA,sha256=a2SLLbCbWuVjXJd05ESeQT5hnUKQjJVw0CpKdS20JpI,7302
|
|
31
|
+
ai_lls_lib-1.5.0rc2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
32
|
+
ai_lls_lib-1.5.0rc2.dist-info/entry_points.txt,sha256=Pi0V_HBViEKGFbNQKatl5lhhnHHBXlxaom-5gH9gXZ0,55
|
|
33
|
+
ai_lls_lib-1.5.0rc2.dist-info/RECORD,,
|
|
File without changes
|