⚡ (setVariable) Add "Environment name" value in Set variable block (#850)
Closes #848 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ### Summary by CodeRabbit - New Feature: Added "Environment name" as a new value type in the SetVariable function, allowing users to distinguish between 'web' and 'whatsapp' environments. - Refactor: Simplified session state handling in `resumeWhatsAppFlow.ts` for improved code clarity. - Refactor: Updated `startWhatsAppSession.ts` to include an initial session state with WhatsApp contact and expiry timeout, enhancing session management. - Bug Fix: Improved null handling in `executeSetVariable.ts` for 'Contact name' and 'Phone number', preventing potential issues with falsy values. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -1979,6 +1979,7 @@
|
||||
"enum": [
|
||||
"Custom",
|
||||
"Empty",
|
||||
"Environment name",
|
||||
"User ID",
|
||||
"Now",
|
||||
"Today",
|
||||
@@ -6367,6 +6368,7 @@
|
||||
"enum": [
|
||||
"Custom",
|
||||
"Empty",
|
||||
"Environment name",
|
||||
"User ID",
|
||||
"Now",
|
||||
"Today",
|
||||
@@ -10396,6 +10398,7 @@
|
||||
"enum": [
|
||||
"Custom",
|
||||
"Empty",
|
||||
"Environment name",
|
||||
"User ID",
|
||||
"Now",
|
||||
"Today",
|
||||
@@ -14565,6 +14568,7 @@
|
||||
"enum": [
|
||||
"Custom",
|
||||
"Empty",
|
||||
"Environment name",
|
||||
"User ID",
|
||||
"Now",
|
||||
"Today",
|
||||
@@ -18614,6 +18618,7 @@
|
||||
"enum": [
|
||||
"Custom",
|
||||
"Empty",
|
||||
"Environment name",
|
||||
"User ID",
|
||||
"Now",
|
||||
"Today",
|
||||
@@ -22718,6 +22723,7 @@
|
||||
"enum": [
|
||||
"Custom",
|
||||
"Empty",
|
||||
"Environment name",
|
||||
"User ID",
|
||||
"Now",
|
||||
"Today",
|
||||
@@ -26885,6 +26891,7 @@
|
||||
"enum": [
|
||||
"Custom",
|
||||
"Empty",
|
||||
"Environment name",
|
||||
"User ID",
|
||||
"Now",
|
||||
"Today",
|
||||
|
||||
@@ -1574,6 +1574,7 @@
|
||||
"enum": [
|
||||
"Custom",
|
||||
"Empty",
|
||||
"Environment name",
|
||||
"User ID",
|
||||
"Now",
|
||||
"Today",
|
||||
|
||||
Reference in New Issue
Block a user