⬆️ Upgrade dependencies
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
"paths": {
|
||||
"/t/process": {
|
||||
"post": {
|
||||
"operationId": "query.processTelemetryEvent",
|
||||
"operationId": "processTelemetryEvent",
|
||||
"description": "Only used for the cloud version of Typebot. It's the way it processes telemetry events and inject it to thrid-party services.",
|
||||
"requestBody": {
|
||||
"required": true,
|
||||
@ -388,7 +388,7 @@
|
||||
},
|
||||
"/linkedTypebots": {
|
||||
"get": {
|
||||
"operationId": "query.getLinkedTypebots",
|
||||
"operationId": "getLinkedTypebots",
|
||||
"summary": "Get linked typebots",
|
||||
"tags": [
|
||||
"Typebot"
|
||||
@ -1234,6 +1234,30 @@
|
||||
},
|
||||
"phoneNumber": {
|
||||
"type": "string"
|
||||
},
|
||||
"address": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"country": {
|
||||
"type": "string"
|
||||
},
|
||||
"line1": {
|
||||
"type": "string"
|
||||
},
|
||||
"line2": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"city": {
|
||||
"type": "string"
|
||||
},
|
||||
"postalCode": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
@ -1768,6 +1792,34 @@
|
||||
"isCode": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Custom",
|
||||
"Empty",
|
||||
"User ID",
|
||||
"Today",
|
||||
"Yesterday",
|
||||
"Tomorrow",
|
||||
"Random ID",
|
||||
"Map item with same index"
|
||||
]
|
||||
},
|
||||
"mapListItemParams": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"baseItemVariableId": {
|
||||
"type": "string"
|
||||
},
|
||||
"baseListVariableId": {
|
||||
"type": "string"
|
||||
},
|
||||
"targetListVariableId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"isExecutedOnClient": {
|
||||
"type": "boolean"
|
||||
}
|
||||
@ -2193,7 +2245,8 @@
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
"additionalProperties": false,
|
||||
"description": "Deprecated. Use `filter` instead."
|
||||
},
|
||||
"filter": {
|
||||
"type": "object",
|
||||
@ -2268,6 +2321,15 @@
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"totalRowsToExtract": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"All",
|
||||
"First",
|
||||
"Last",
|
||||
"Random"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@ -2312,7 +2374,8 @@
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
"additionalProperties": false,
|
||||
"description": "Deprecated. Use `filter` instead."
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -2358,7 +2421,8 @@
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
"additionalProperties": false,
|
||||
"description": "Deprecated. Use `filter` instead."
|
||||
}
|
||||
},
|
||||
"referenceCell": {
|
||||
@ -2377,6 +2441,60 @@
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"description": "Deprecated. Use `filter` instead."
|
||||
},
|
||||
"filter": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"comparisons": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"column": {
|
||||
"type": "string"
|
||||
},
|
||||
"comparisonOperator": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Equal to",
|
||||
"Not equal",
|
||||
"Contains",
|
||||
"Does not contain",
|
||||
"Greater than",
|
||||
"Less than",
|
||||
"Is set",
|
||||
"Is empty",
|
||||
"Starts with",
|
||||
"Ends with"
|
||||
]
|
||||
},
|
||||
"value": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"logicalOperator": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"OR",
|
||||
"AND"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"comparisons",
|
||||
"logicalOperator"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
@ -3162,7 +3280,7 @@
|
||||
},
|
||||
"/workspaces": {
|
||||
"get": {
|
||||
"operationId": "query.workspace.listWorkspaces",
|
||||
"operationId": "workspace-listWorkspaces",
|
||||
"summary": "List workspaces",
|
||||
"tags": [
|
||||
"Workspace"
|
||||
@ -3233,7 +3351,7 @@
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"operationId": "mutation.workspace.createWorkspace",
|
||||
"operationId": "workspace-createWorkspace",
|
||||
"summary": "Create workspace",
|
||||
"tags": [
|
||||
"Workspace"
|
||||
@ -3388,7 +3506,7 @@
|
||||
},
|
||||
"/workspaces/{workspaceId}": {
|
||||
"get": {
|
||||
"operationId": "query.workspace.getWorkspace",
|
||||
"operationId": "workspace-getWorkspace",
|
||||
"summary": "Get workspace",
|
||||
"tags": [
|
||||
"Workspace"
|
||||
@ -3531,7 +3649,7 @@
|
||||
}
|
||||
},
|
||||
"patch": {
|
||||
"operationId": "mutation.workspace.updateWorkspace",
|
||||
"operationId": "workspace-updateWorkspace",
|
||||
"summary": "Update workspace",
|
||||
"tags": [
|
||||
"Workspace"
|
||||
@ -3693,7 +3811,7 @@
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"operationId": "mutation.workspace.deleteWorkspace",
|
||||
"operationId": "workspace-deleteWorkspace",
|
||||
"summary": "Delete workspace",
|
||||
"tags": [
|
||||
"Workspace"
|
||||
@ -3741,7 +3859,7 @@
|
||||
},
|
||||
"/workspaces/{workspaceId}/members": {
|
||||
"get": {
|
||||
"operationId": "query.workspace.listMembersInWorkspace",
|
||||
"operationId": "workspace-listMembersInWorkspace",
|
||||
"summary": "List members in workspace",
|
||||
"tags": [
|
||||
"Workspace"
|
||||
@ -3834,7 +3952,7 @@
|
||||
},
|
||||
"/typebots": {
|
||||
"get": {
|
||||
"operationId": "query.typebot.listTypebots",
|
||||
"operationId": "typebot-listTypebots",
|
||||
"summary": "List typebots",
|
||||
"tags": [
|
||||
"Typebot"
|
||||
@ -3914,7 +4032,7 @@
|
||||
},
|
||||
"/typebots/{typebotId}/webhookBlocks": {
|
||||
"get": {
|
||||
"operationId": "query.webhook.listWebhookBlocks",
|
||||
"operationId": "webhook-listWebhookBlocks",
|
||||
"summary": "List webhook blocks",
|
||||
"description": "Returns a list of all the webhook blocks that you can subscribe to.",
|
||||
"tags": [
|
||||
@ -3982,7 +4100,7 @@
|
||||
},
|
||||
"/typebots/{typebotId}/webhookBlocks/{blockId}/getResultExample": {
|
||||
"get": {
|
||||
"operationId": "query.webhook.getResultExample",
|
||||
"operationId": "webhook-getResultExample",
|
||||
"summary": "Get result example",
|
||||
"description": "Returns \"fake\" result for webhook block to help you anticipate how the webhook will behave.",
|
||||
"tags": [
|
||||
@ -4037,8 +4155,7 @@
|
||||
"required": [
|
||||
"message",
|
||||
"Submitted at"
|
||||
],
|
||||
"additionalProperties": false
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
@ -4073,7 +4190,7 @@
|
||||
},
|
||||
"/typebots/{typebotId}/webhookBlocks/{blockId}/subscribe": {
|
||||
"post": {
|
||||
"operationId": "query.webhook.subscribeWebhook",
|
||||
"operationId": "webhook-subscribeWebhook",
|
||||
"summary": "Subscribe to webhook block",
|
||||
"tags": [
|
||||
"Webhook"
|
||||
@ -4153,7 +4270,7 @@
|
||||
},
|
||||
"/typebots/{typebotId}/webhookBlocks/{blockId}/unsubscribe": {
|
||||
"post": {
|
||||
"operationId": "query.webhook.unsubscribeWebhook",
|
||||
"operationId": "webhook-unsubscribeWebhook",
|
||||
"summary": "Unsubscribe from webhook block",
|
||||
"tags": [
|
||||
"Webhook"
|
||||
@ -4163,18 +4280,6 @@
|
||||
"Authorization": []
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
"required": true,
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "typebotId",
|
||||
@ -4226,7 +4331,7 @@
|
||||
},
|
||||
"/typebots/{typebotId}/results": {
|
||||
"get": {
|
||||
"operationId": "query.results.getResults",
|
||||
"operationId": "results-getResults",
|
||||
"summary": "List results",
|
||||
"tags": [
|
||||
"Results"
|
||||
@ -4406,7 +4511,7 @@
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"operationId": "mutation.results.deleteResults",
|
||||
"operationId": "results-deleteResults",
|
||||
"summary": "Delete results",
|
||||
"tags": [
|
||||
"Results"
|
||||
@ -4452,7 +4557,7 @@
|
||||
},
|
||||
"/typebots/{typebotId}/results/{resultId}/logs": {
|
||||
"get": {
|
||||
"operationId": "query.results.getResultLogs",
|
||||
"operationId": "results-getResultLogs",
|
||||
"summary": "List result logs",
|
||||
"tags": [
|
||||
"Results"
|
||||
@ -4542,7 +4647,7 @@
|
||||
},
|
||||
"/billing/subscription/portal": {
|
||||
"get": {
|
||||
"operationId": "query.billing.getBillingPortalUrl",
|
||||
"operationId": "billing-getBillingPortalUrl",
|
||||
"summary": "Get Stripe billing portal URL",
|
||||
"tags": [
|
||||
"Billing"
|
||||
@ -4590,7 +4695,7 @@
|
||||
},
|
||||
"/billing/invoices": {
|
||||
"get": {
|
||||
"operationId": "query.billing.listInvoices",
|
||||
"operationId": "billing-listInvoices",
|
||||
"summary": "List invoices",
|
||||
"tags": [
|
||||
"Billing"
|
||||
@ -4667,7 +4772,7 @@
|
||||
},
|
||||
"/billing/subscription/checkout": {
|
||||
"post": {
|
||||
"operationId": "mutation.billing.createCheckoutSession",
|
||||
"operationId": "billing-createCheckoutSession",
|
||||
"summary": "Create checkout session to create a new subscription",
|
||||
"tags": [
|
||||
"Billing"
|
||||
@ -4781,7 +4886,7 @@
|
||||
},
|
||||
"/billing/subscription": {
|
||||
"patch": {
|
||||
"operationId": "mutation.billing.updateSubscription",
|
||||
"operationId": "billing-updateSubscription",
|
||||
"summary": "Update subscription",
|
||||
"tags": [
|
||||
"Billing"
|
||||
@ -4798,6 +4903,9 @@
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"returnUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"workspaceId": {
|
||||
"type": "string"
|
||||
},
|
||||
@ -4826,6 +4934,7 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"returnUrl",
|
||||
"workspaceId",
|
||||
"plan",
|
||||
"additionalChats",
|
||||
@ -4945,12 +5054,14 @@
|
||||
"customSeatsLimit",
|
||||
"isQuarantined"
|
||||
],
|
||||
"additionalProperties": false
|
||||
"additionalProperties": false,
|
||||
"nullable": true
|
||||
},
|
||||
"checkoutUrl": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"workspace"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
@ -4962,7 +5073,7 @@
|
||||
}
|
||||
},
|
||||
"get": {
|
||||
"operationId": "query.billing.getSubscription",
|
||||
"operationId": "billing-getSubscription",
|
||||
"summary": "List invoices",
|
||||
"tags": [
|
||||
"Billing"
|
||||
@ -5041,7 +5152,7 @@
|
||||
},
|
||||
"/billing/usage": {
|
||||
"get": {
|
||||
"operationId": "query.billing.getUsage",
|
||||
"operationId": "billing-getUsage",
|
||||
"summary": "Get current plan usage",
|
||||
"tags": [
|
||||
"Billing"
|
||||
@ -5093,7 +5204,7 @@
|
||||
},
|
||||
"/billing/subscription/custom-checkout": {
|
||||
"post": {
|
||||
"operationId": "mutation.billing.createCustomCheckoutSession",
|
||||
"operationId": "billing-createCustomCheckoutSession",
|
||||
"summary": "Create custom checkout session to make a workspace pay for a custom plan",
|
||||
"tags": [
|
||||
"Billing"
|
||||
@ -5159,7 +5270,7 @@
|
||||
},
|
||||
"/credentials": {
|
||||
"post": {
|
||||
"operationId": "mutation.credentials.createCredentials",
|
||||
"operationId": "credentials-createCredentials",
|
||||
"summary": "Create credentials",
|
||||
"tags": [
|
||||
"Credentials"
|
||||
@ -5428,7 +5539,7 @@
|
||||
}
|
||||
},
|
||||
"get": {
|
||||
"operationId": "query.credentials.listCredentials",
|
||||
"operationId": "credentials-listCredentials",
|
||||
"summary": "List workspace credentials",
|
||||
"tags": [
|
||||
"Credentials"
|
||||
@ -5533,7 +5644,7 @@
|
||||
},
|
||||
"/credentials/:credentialsId": {
|
||||
"delete": {
|
||||
"operationId": "mutation.credentials.deleteCredentials",
|
||||
"operationId": "credentials-deleteCredentials",
|
||||
"summary": "Delete credentials",
|
||||
"tags": [
|
||||
"Credentials"
|
||||
@ -5589,7 +5700,7 @@
|
||||
},
|
||||
"/themeTemplates": {
|
||||
"get": {
|
||||
"operationId": "query.theme.listThemeTemplates",
|
||||
"operationId": "theme-listThemeTemplates",
|
||||
"summary": "List theme templates",
|
||||
"tags": [
|
||||
"Theme template"
|
||||
@ -5818,7 +5929,7 @@
|
||||
},
|
||||
"/themeTemplates/{themeTemplateId}": {
|
||||
"put": {
|
||||
"operationId": "mutation.theme.saveThemeTemplate",
|
||||
"operationId": "theme-saveThemeTemplate",
|
||||
"summary": "Save theme template",
|
||||
"tags": [
|
||||
"Theme template"
|
||||
@ -6244,7 +6355,7 @@
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"operationId": "mutation.theme.deleteThemeTemplate",
|
||||
"operationId": "theme-deleteThemeTemplate",
|
||||
"summary": "Delete a theme template",
|
||||
"tags": [
|
||||
"Theme template"
|
||||
|
@ -12,7 +12,7 @@
|
||||
"paths": {
|
||||
"/sendMessage": {
|
||||
"post": {
|
||||
"operationId": "query.sendMessage",
|
||||
"operationId": "sendMessage",
|
||||
"summary": "Send a message",
|
||||
"description": "To initiate a chat, do not provide a `sessionId` nor a `message`.\n\nContinue the conversation by providing the `sessionId` and the `message` that should answer the previous question.\n\nSet the `isPreview` option to `true` to chat with the non-published version of the typebot.",
|
||||
"security": [
|
||||
@ -847,6 +847,30 @@
|
||||
},
|
||||
"phoneNumber": {
|
||||
"type": "string"
|
||||
},
|
||||
"address": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"country": {
|
||||
"type": "string"
|
||||
},
|
||||
"line1": {
|
||||
"type": "string"
|
||||
},
|
||||
"line2": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"city": {
|
||||
"type": "string"
|
||||
},
|
||||
"postalCode": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
@ -1381,6 +1405,34 @@
|
||||
"isCode": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Custom",
|
||||
"Empty",
|
||||
"User ID",
|
||||
"Today",
|
||||
"Yesterday",
|
||||
"Tomorrow",
|
||||
"Random ID",
|
||||
"Map item with same index"
|
||||
]
|
||||
},
|
||||
"mapListItemParams": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"baseItemVariableId": {
|
||||
"type": "string"
|
||||
},
|
||||
"baseListVariableId": {
|
||||
"type": "string"
|
||||
},
|
||||
"targetListVariableId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"isExecutedOnClient": {
|
||||
"type": "boolean"
|
||||
}
|
||||
@ -1806,7 +1858,8 @@
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
"additionalProperties": false,
|
||||
"description": "Deprecated. Use `filter` instead."
|
||||
},
|
||||
"filter": {
|
||||
"type": "object",
|
||||
@ -1881,6 +1934,15 @@
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"totalRowsToExtract": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"All",
|
||||
"First",
|
||||
"Last",
|
||||
"Random"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@ -1925,7 +1987,8 @@
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
"additionalProperties": false,
|
||||
"description": "Deprecated. Use `filter` instead."
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -1971,7 +2034,8 @@
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
"additionalProperties": false,
|
||||
"description": "Deprecated. Use `filter` instead."
|
||||
}
|
||||
},
|
||||
"referenceCell": {
|
||||
@ -1990,6 +2054,60 @@
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"description": "Deprecated. Use `filter` instead."
|
||||
},
|
||||
"filter": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"comparisons": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"column": {
|
||||
"type": "string"
|
||||
},
|
||||
"comparisonOperator": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Equal to",
|
||||
"Not equal",
|
||||
"Contains",
|
||||
"Does not contain",
|
||||
"Greater than",
|
||||
"Less than",
|
||||
"Is set",
|
||||
"Is empty",
|
||||
"Starts with",
|
||||
"Ends with"
|
||||
]
|
||||
},
|
||||
"value": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"logicalOperator": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"OR",
|
||||
"AND"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"comparisons",
|
||||
"logicalOperator"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
@ -2816,6 +2934,22 @@
|
||||
},
|
||||
"isNewResultOnRefreshEnabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"rememberUser": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"isEnabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"storage": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"session",
|
||||
"local"
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@ -3072,6 +3206,9 @@
|
||||
"type": "object",
|
||||
"additionalProperties": {},
|
||||
"description": "[More info about prefilled variables.](https://docs.typebot.io/editor/variables#prefilled-variables)"
|
||||
},
|
||||
"isStreamEnabled": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@ -3107,8 +3244,7 @@
|
||||
},
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
]
|
||||
},
|
||||
{
|
||||
"anyOf": [
|
||||
@ -3798,6 +3934,30 @@
|
||||
},
|
||||
"phoneNumber": {
|
||||
"type": "string"
|
||||
},
|
||||
"address": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"country": {
|
||||
"type": "string"
|
||||
},
|
||||
"line1": {
|
||||
"type": "string"
|
||||
},
|
||||
"line2": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"city": {
|
||||
"type": "string"
|
||||
},
|
||||
"postalCode": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
@ -4133,8 +4293,7 @@
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -4148,8 +4307,7 @@
|
||||
"lastBubbleBlockId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"anyOf": [
|
||||
@ -4162,92 +4320,171 @@
|
||||
{
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"scriptToExecute": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"content": {
|
||||
"type": "string"
|
||||
},
|
||||
"args": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"anyOf": [
|
||||
{
|
||||
"scriptToExecute": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"content": {
|
||||
"type": "string"
|
||||
},
|
||||
"args": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"anyOf": [
|
||||
{
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
"type": "boolean"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"nullable": true
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"content",
|
||||
"args"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"content",
|
||||
"args"
|
||||
"scriptToExecute"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"redirect": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
"type": "string"
|
||||
},
|
||||
"isNewTab": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"isNewTab"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"redirect"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"scriptToExecute"
|
||||
],
|
||||
"additionalProperties": false
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"redirect": {
|
||||
"chatwoot": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
"type": "string"
|
||||
},
|
||||
"isNewTab": {
|
||||
"type": "boolean"
|
||||
"scriptToExecute": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"content": {
|
||||
"type": "string"
|
||||
},
|
||||
"args": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"anyOf": [
|
||||
{
|
||||
"anyOf": [
|
||||
{
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"content",
|
||||
"args"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"isNewTab"
|
||||
"scriptToExecute"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"redirect"
|
||||
"chatwoot"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@ -4256,75 +4493,38 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"chatwoot": {
|
||||
"googleAnalytics": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"scriptToExecute": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"content": {
|
||||
"type": "string"
|
||||
"trackingId": {
|
||||
"type": "string"
|
||||
},
|
||||
"category": {
|
||||
"type": "string"
|
||||
},
|
||||
"action": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
"args": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"anyOf": [
|
||||
{
|
||||
"anyOf": [
|
||||
{
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"content",
|
||||
"args"
|
||||
],
|
||||
"additionalProperties": false
|
||||
{}
|
||||
]
|
||||
},
|
||||
"sendTo": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"scriptToExecute"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"chatwoot"
|
||||
"googleAnalytics"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@ -4333,38 +4533,21 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"googleAnalytics": {
|
||||
"wait": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"trackingId": {
|
||||
"type": "string"
|
||||
},
|
||||
"category": {
|
||||
"type": "string"
|
||||
},
|
||||
"action": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{}
|
||||
]
|
||||
},
|
||||
"sendTo": {
|
||||
"type": "string"
|
||||
"secondsToWaitFor": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"secondsToWaitFor"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"googleAnalytics"
|
||||
"wait"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@ -4373,21 +4556,75 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"wait": {
|
||||
"setVariable": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"secondsToWaitFor": {
|
||||
"type": "number"
|
||||
"scriptToExecute": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"content": {
|
||||
"type": "string"
|
||||
},
|
||||
"args": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"anyOf": [
|
||||
{
|
||||
"anyOf": [
|
||||
{
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"content",
|
||||
"args"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"secondsToWaitFor"
|
||||
"scriptToExecute"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"wait"
|
||||
"setVariable"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@ -4396,75 +4633,38 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"setVariable": {
|
||||
"streamOpenAiChatCompletion": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"scriptToExecute": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"content": {
|
||||
"type": "string"
|
||||
},
|
||||
"args": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"anyOf": [
|
||||
{
|
||||
"anyOf": [
|
||||
{
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
"messages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"content": {
|
||||
"type": "string"
|
||||
},
|
||||
"role": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"system",
|
||||
"user",
|
||||
"assistant"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"content",
|
||||
"args"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"scriptToExecute"
|
||||
"messages"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"setVariable"
|
||||
"streamOpenAiChatCompletion"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@ -4666,6 +4866,22 @@
|
||||
},
|
||||
"isNewResultOnRefreshEnabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"rememberUser": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"isEnabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"storage": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"session",
|
||||
"local"
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@ -4785,7 +5001,7 @@
|
||||
},
|
||||
"/typebots/{typebotId}/blocks/{blockId}/storage/upload-url": {
|
||||
"get": {
|
||||
"operationId": "query.getUploadUrl",
|
||||
"operationId": "getUploadUrl",
|
||||
"summary": "Get upload URL for a file",
|
||||
"description": "Used for the web client to get the bucket upload file.",
|
||||
"parameters": [
|
||||
|
@ -16,10 +16,10 @@
|
||||
"api:generate": "tsx --tsconfig ../builder/tsconfig.json ../builder/src/helpers/server/generateOpenApi.ts && tsx --tsconfig ../viewer/openapi.tsconfig.json ../viewer/src/helpers/server/generateOpenApi.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "2.4.0",
|
||||
"@docusaurus/preset-classic": "2.4.0",
|
||||
"@docusaurus/theme-common": "2.4.0",
|
||||
"@docusaurus/theme-search-algolia": "2.4.0",
|
||||
"@docusaurus/core": "2.4.1",
|
||||
"@docusaurus/preset-classic": "2.4.1",
|
||||
"@docusaurus/theme-common": "2.4.1",
|
||||
"@docusaurus/theme-search-algolia": "2.4.1",
|
||||
"@mdx-js/react": "1.6.22",
|
||||
"@svgr/webpack": "6.5.1",
|
||||
"@typebot.io/docusaurus-preset-openapi": "0.6.5",
|
||||
|
Reference in New Issue
Block a user