2
0

Auto continue bot on whatsApp if starting block is input (#849)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

**New Features:**
- Added WhatsApp integration feature to the Pro plan.

**Refactor:**
- Introduced the ability to exclude specific plans from being displayed
in the Change Plan Modal.
- Renamed the function `isProPlan` to `hasProPerks`, enhancing code
readability and maintainability.
- Updated the `EmbedButton` component to handle a new `lockTagPlan`
property and use the `modal` function instead of the `Modal` component.

**Chore:**
- Removed the `whatsAppPhoneNumberId` field from the `Typebot` model
across various files, simplifying the data structure of the model.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Baptiste Arnaud
2023-09-25 17:20:42 +02:00
committed by GitHub
parent 459fc4debc
commit b81fcf0167
30 changed files with 224 additions and 140 deletions

View File

@@ -8687,6 +8687,12 @@
"comparisons"
],
"additionalProperties": false
},
"sessionExpiryTimeout": {
"type": "number",
"maximum": 48,
"minimum": 0.01,
"description": "Expiration delay in hours after latest interaction"
}
},
"additionalProperties": false
@@ -12799,6 +12805,12 @@
"comparisons"
],
"additionalProperties": false
},
"sessionExpiryTimeout": {
"type": "number",
"maximum": 48,
"minimum": 0.01,
"description": "Expiration delay in hours after latest interaction"
}
},
"additionalProperties": false
@@ -12874,10 +12886,6 @@
"isClosed": {
"type": "boolean"
},
"whatsAppPhoneNumberId": {
"type": "string",
"nullable": true
},
"whatsAppCredentialsId": {
"type": "string",
"nullable": true
@@ -12903,7 +12911,6 @@
"resultsTablePreferences",
"isArchived",
"isClosed",
"whatsAppPhoneNumberId",
"whatsAppCredentialsId"
],
"additionalProperties": false
@@ -16878,6 +16885,12 @@
"comparisons"
],
"additionalProperties": false
},
"sessionExpiryTimeout": {
"type": "number",
"maximum": 48,
"minimum": 0.01,
"description": "Expiration delay in hours after latest interaction"
}
},
"additionalProperties": false
@@ -17020,10 +17033,6 @@
"isClosed": {
"type": "boolean"
},
"whatsAppPhoneNumberId": {
"type": "string",
"nullable": true
},
"whatsAppCredentialsId": {
"type": "string",
"nullable": true
@@ -21014,6 +21023,12 @@
"comparisons"
],
"additionalProperties": false
},
"sessionExpiryTimeout": {
"type": "number",
"maximum": 48,
"minimum": 0.01,
"description": "Expiration delay in hours after latest interaction"
}
},
"additionalProperties": false
@@ -21089,10 +21104,6 @@
"isClosed": {
"type": "boolean"
},
"whatsAppPhoneNumberId": {
"type": "string",
"nullable": true
},
"whatsAppCredentialsId": {
"type": "string",
"nullable": true
@@ -21118,7 +21129,6 @@
"resultsTablePreferences",
"isArchived",
"isClosed",
"whatsAppPhoneNumberId",
"whatsAppCredentialsId"
],
"additionalProperties": false
@@ -25117,6 +25127,12 @@
"comparisons"
],
"additionalProperties": false
},
"sessionExpiryTimeout": {
"type": "number",
"maximum": 48,
"minimum": 0.01,
"description": "Expiration delay in hours after latest interaction"
}
},
"additionalProperties": false
@@ -25192,10 +25208,6 @@
"isClosed": {
"type": "boolean"
},
"whatsAppPhoneNumberId": {
"type": "string",
"nullable": true
},
"whatsAppCredentialsId": {
"type": "string",
"nullable": true
@@ -25221,7 +25233,6 @@
"resultsTablePreferences",
"isArchived",
"isClosed",
"whatsAppPhoneNumberId",
"whatsAppCredentialsId"
],
"additionalProperties": false
@@ -29279,6 +29290,12 @@
"comparisons"
],
"additionalProperties": false
},
"sessionExpiryTimeout": {
"type": "number",
"maximum": 48,
"minimum": 0.01,
"description": "Expiration delay in hours after latest interaction"
}
},
"additionalProperties": false