reach_commons 0.15.4__tar.gz → 0.15.5__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.
- {reach_commons-0.15.4 → reach_commons-0.15.5}/PKG-INFO +1 -1
- {reach_commons-0.15.4 → reach_commons-0.15.5}/pyproject.toml +1 -1
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/reach_aws/sqs.py +14 -2
- {reach_commons-0.15.4 → reach_commons-0.15.5}/README.md +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/__init__.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/app_logging/__init__.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/app_logging/http_logger.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/app_logging/log_deprecated_endpoints.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/app_logging/logger.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/app_logging/logging_config.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/clients/__init__.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/clients/event_processor.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/clients/hubspot.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/clients/outscraper.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/clients/reach_data_bridge.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/clients/reach_ops_api.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/mongo/__init__.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/mongo/customer_persistence.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/mongo/customer_persistence_async.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/mongo/validation/__init__.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/reach_aws/__init__.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/reach_aws/commons.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/reach_aws/dynamo_db.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/reach_aws/exceptions.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/reach_aws/firehose.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/reach_aws/kms.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/reach_aws/s3.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/reach_base_model.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/redis_manager.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/utils.py +0 -0
- {reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/validations.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# isort .; black .; poetry build; poetry publish
|
|
2
2
|
[tool.poetry]
|
|
3
3
|
name = "reach_commons"
|
|
4
|
-
version = "0.15.
|
|
4
|
+
version = "0.15.5"
|
|
5
5
|
description = "Reach Commons is a versatile utility library designed to streamline and enhance development workflows within the Reach ecosystem."
|
|
6
6
|
authors = ["Wilson Moraes <wmoraes@getreach.ai>"]
|
|
7
7
|
license = "MIT"
|
|
@@ -442,6 +442,8 @@ class SmsProcessorSQSNotifier(SQSClient):
|
|
|
442
442
|
long_url: str = None,
|
|
443
443
|
delay_seconds=2,
|
|
444
444
|
send_at=None,
|
|
445
|
+
message_type=None,
|
|
446
|
+
campaign_id=None,
|
|
445
447
|
):
|
|
446
448
|
message_data = {
|
|
447
449
|
"body": body,
|
|
@@ -450,8 +452,18 @@ class SmsProcessorSQSNotifier(SQSClient):
|
|
|
450
452
|
"message_id": message_id,
|
|
451
453
|
"long_url": long_url,
|
|
452
454
|
}
|
|
453
|
-
|
|
454
|
-
|
|
455
|
+
|
|
456
|
+
message_data.update(
|
|
457
|
+
{
|
|
458
|
+
k: v
|
|
459
|
+
for k, v in {
|
|
460
|
+
"send_at": send_at,
|
|
461
|
+
"message_type": message_type,
|
|
462
|
+
"campaign_id": campaign_id,
|
|
463
|
+
}.items()
|
|
464
|
+
if v is not None
|
|
465
|
+
}
|
|
466
|
+
)
|
|
455
467
|
|
|
456
468
|
message_attributes = {"service_name": self.SERVICE_NAME}
|
|
457
469
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/app_logging/log_deprecated_endpoints.py
RENAMED
|
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
|
{reach_commons-0.15.4 → reach_commons-0.15.5}/reach_commons/mongo/customer_persistence_async.py
RENAMED
|
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
|