SalesCandy Git archive
sugarrush-main-library-layer
Packages shared SugarRush code and dependencies as a Lambda layer.
README
This repository packages shared SugarRush code and dependencies as a Lambda layer. It centralizes common logic and standardized node modules for consistency across services.
Use Case: Provides a standardized, shared library layer for multiple microservices within the SugarRush ecosystem. Inputs are service-specific data structures, and the output is the execution of shared business logic.
Selected files and folders
README.mdpackage.json
Reconstructed issues
Summaries inferred from the archive. Original issue records are unavailable here.
Handle multi-project assignment array
Previously, assignment logic might fail if a lead was associated with multiple projects. This change ensures the system correctly processes and handles project assignments when the input data provides an array of project IDs.
Ensure phone number is string for hashing
A type error occurred when hashing lead data if the phone number was not explicitly provided as a string type. This update enforces string casting for phone numbers before hashing to prevent runtime failures.
Support leads with preset status/date import
The system lacked the ability to import leads that already possessed a predefined status or submission date. This revision adds necessary support to allow these specific lead attributes to be correctly processed during the import workflow.
Selected commits
-
Add support for importing leads with preset status and submission date
Reza Rosli ·
b494aa682aaed11ccf308ff9370a69001bee51c8 -
Ensure lead data provided phone numbe as string, because it will cause a type error when hashed
Reza Rosli ·
480555a4a87c4f1a4f14f47491adc9c692f66794 -
Handle multi-project assignment if the data provided is an array
Reza Rosli ·
b8ae29299a710af38e6aedc20d80aa3a256d8876 -
Improve logging
Reza Rosli ·
f5cdcfa944f412a6f0dbaa67a71059f118a936a6 -
Move debouncer code to earlier stage and fix logs
Reza Rosli ·
dc31326ae2998a3533f43f6d3c1b1f1837dbae3b -
Fix the name for offline lead source
Reza Rosli ·
4b9e6c2be65d28c770479d722c514890cd28eeed -
Updates for rewrite for classic api (lead source API)
Reza Rosli ·
f3626debca03ef975e93d5feb1c14281a10d1015 -
Fix conflicted file name
Reza Rosli ·
ee49927265f16c2a9fcde1a917352b200e3f8dbb -
Add deprecation notice
Reza Rosli ·
bdd135da9946c01de2eab741e1cf4f4e278e41e2 -
Disable debug logs
Reza Rosli ·
aa2a8462617154205319cba26d073eea12c0388a -
Disable debug logs (for real)
Reza Rosli ·
6cda39d16e08991945233fda83fe8b8699cc755b -
Revert "Remove usage of deprecated function"
Reza Rosli ·
62d4bddeba7ba93782bc7abe27cb341e987641b9 -
Remove usage of deprecated function
Reza Rosli ·
2dc48581a22bcd5c8a35e8c3dd2b72975b901b94 -
Deprecated file
Reza Rosli ·
b080e40f4d0671f35275bbee72a93b6f020207db -
Bugfix
Reza Rosli ·
a28b68030f551252cc2783b39e6906402edd0930 -
Fix problems with inconsistent srxqVersion vs srqxVersion fields
Reza Rosli ·
a09e3c980ca7842a42242cb0f140c5f792d68be6 -
Migrate s3 bucket handlers
Reza Rosli ·
4abb663f97af911a7679e5e477b83e1354ddeb33 -
Rewrote lead source create
Reza Rosli ·
95beff3f355833c9a02197f0e541d6dee99a9139 -
Move files
Reza Rosli ·
e1d4925a3787252ce94bf5c21abe2cff1f0053ae -
Change main branch reference in gitlab-ci
Reza Rosli ·
18f68c15ad700497382e516f20b58cc9ae013c96 -
Initial commit, forked from previous library code
Reza Rosli ·
0e95f91bc73572071dbb2d99f245620580ca2a00 -
Initial commit
Reza Rosli ·
53ef6211701462771dc32ea246fd1974de2aa3ad