⬆️ 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"
|
||||
|
||||
Reference in New Issue
Block a user