{
	"components": {
		"examples": {},
		"headers": {},
		"parameters": {},
		"requestBodies": {},
		"responses": {},
		"schemas": {
			"TimeBasedRuleDto": {
				"properties": {
					"isActive": {
						"type": "boolean"
					},
					"timeBetweenTickets": {
						"type": "number",
						"format": "double"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"ClosedTicketReplyRuleDto": {
				"properties": {
					"isActive": {
						"type": "boolean"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"TicketCreationRulesDto": {
				"properties": {
					"timeBased": {
						"$ref": "#/components/schemas/TimeBasedRuleDto"
					},
					"replyAfterClosure": {
						"$ref": "#/components/schemas/ClosedTicketReplyRuleDto"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"MessageSettingsDto": {
				"properties": {
					"attachSenderName": {
						"type": "boolean"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"ChannelSchemaDto": {
				"properties": {
					"name": {
						"type": "string"
					},
					"isEnabled": {
						"type": "boolean"
					},
					"widgetId": {
						"type": "string"
					},
					"apiKey": {
						"type": "string"
					},
					"phoneNumberId": {
						"type": "string"
					},
					"fbBusinessAccountId": {
						"type": "string"
					},
					"waBusinessAccountId": {
						"type": "string"
					},
					"instagramBusinessId": {
						"type": "string"
					},
					"accessToken": {
						"type": "string"
					},
					"pageId": {
						"type": "string"
					},
					"slackChannelId": {
						"type": "string"
					},
					"botToken": {
						"type": "string"
					},
					"botUsername": {
						"type": "string"
					},
					"webhookSecret": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"ticketCreationRules": {
						"$ref": "#/components/schemas/TicketCreationRulesDto"
					},
					"messageSettings": {
						"$ref": "#/components/schemas/MessageSettingsDto"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"NativeDate": {
				"type": "string"
			},
			"ObjectId": {
				"type": "string"
			},
			"IfAny_typeofcontactViewSchema.any.ObtainSchemaGeneric_typeofcontactViewSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"project": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"conditions": {},
							"name": {
								"type": "string"
							},
							"targetAudience": {
								"type": "string"
							}
						},
						"required": [
							"targetAudience"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofcontactViewSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofcontactViewSchema.any.ObtainSchemaGeneric_typeofcontactViewSchema.DocType__"
			},
			"ContactView": {
				"$ref": "#/components/schemas/InferSchemaType_typeofcontactViewSchema_"
			},
			"FlattenMaps_T_": {
				"properties": {},
				"type": "object"
			},
			"Document": {
				"$ref": "#/components/schemas/FlattenMaps_T_",
				"description": "Generic types for Document:\n*  T - the type of _id\n*  TQueryHelpers - Object with any helpers that should be mixed into the Query type\n*  DocType - the type of the actual Document created"
			},
			"ContactViewDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/ContactView"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"CreateContactViewDTO": {
				"properties": {
					"name": {
						"type": "string"
					},
					"targetAudience": {
						"type": "string"
					},
					"conditions": {}
				},
				"required": [
					"name",
					"targetAudience",
					"conditions"
				],
				"type": "object",
				"additionalProperties": false
			},
			"IfAny_typeofemailTemplateSchema.any.ObtainSchemaGeneric_typeofemailTemplateSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"lastEditedBy": {
								"$ref": "#/components/schemas/ObjectId"
							},
							"htmlContent": {},
							"project": {
								"$ref": "#/components/schemas/ObjectId"
							},
							"organisation": {
								"$ref": "#/components/schemas/ObjectId"
							},
							"title": {
								"type": "string"
							}
						},
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofemailTemplateSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofemailTemplateSchema.any.ObtainSchemaGeneric_typeofemailTemplateSchema.DocType__"
			},
			"EmailTemplateI": {
				"$ref": "#/components/schemas/InferSchemaType_typeofemailTemplateSchema_"
			},
			"EmailTemplateDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/EmailTemplateI"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"Translatable": {
				"properties": {
					"localized": {}
				},
				"required": [
					"localized"
				],
				"type": "object",
				"additionalProperties": false
			},
			"EmailTemplateDto": {
				"properties": {
					"title": {
						"type": "string"
					},
					"htmlContent": {
						"$ref": "#/components/schemas/Translatable"
					}
				},
				"required": [
					"title",
					"htmlContent"
				],
				"type": "object",
				"additionalProperties": false
			},
			"IfAny_typeofmessageTemplateSchema.any.ObtainSchemaGeneric_typeofmessageTemplateSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"lexorank": {
								"type": "string"
							},
							"project": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"content": {},
							"title": {
								"type": "string"
							},
							"actions": {
								"items": {},
								"type": "array"
							},
							"attachments": {
								"items": {},
								"type": "array"
							},
							"isPublic": {
								"type": "boolean"
							},
							"users": {
								"items": {
									"$ref": "#/components/schemas/ObjectId"
								},
								"type": "array"
							}
						},
						"required": [
							"actions",
							"attachments",
							"isPublic",
							"users"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofmessageTemplateSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofmessageTemplateSchema.any.ObtainSchemaGeneric_typeofmessageTemplateSchema.DocType__"
			},
			"MessageTemplate": {
				"$ref": "#/components/schemas/InferSchemaType_typeofmessageTemplateSchema_"
			},
			"MessageTemplateDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/MessageTemplate"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"MessageTemplateDTO": {
				"properties": {
					"title": {
						"type": "string"
					},
					"content": {},
					"lexorank": {
						"type": "string"
					},
					"isPublic": {
						"type": "boolean"
					},
					"users": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"attachments": {
						"items": {},
						"type": "array"
					},
					"actions": {
						"items": {
							"properties": {
								"data": {},
								"type": {
									"type": "string"
								}
							},
							"required": [
								"type"
							],
							"type": "object"
						},
						"type": "array"
					}
				},
				"required": [
					"title",
					"content",
					"lexorank"
				],
				"type": "object",
				"additionalProperties": false
			},
			"IfAny_typeofnotificationActivitySchema.any.ObtainSchemaGeneric_typeofnotificationActivitySchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"previewData": {
								"$ref": "#/components/schemas/ObjectId"
							},
							"sender": {
								"$ref": "#/components/schemas/ObjectId"
							},
							"project": {
								"$ref": "#/components/schemas/ObjectId"
							},
							"isRead": {
								"type": "boolean"
							},
							"metaData": {},
							"previewDataType": {
								"type": "string"
							},
							"messageParams": {},
							"notificationType": {
								"type": "string"
							},
							"category": {
								"type": "string"
							},
							"receiver": {
								"$ref": "#/components/schemas/ObjectId"
							},
							"senderUserType": {
								"type": "string"
							},
							"actions": {
								"items": {
									"properties": {
										"label": {
											"type": "string"
										},
										"type": {
											"type": "string",
											"enum": [
												"link",
												"modal",
												"callback"
											]
										},
										"payload": {}
									},
									"required": [
										"payload"
									],
									"type": "object"
								},
								"type": "array"
							}
						},
						"required": [
							"isRead",
							"metaData",
							"previewDataType",
							"messageParams",
							"notificationType",
							"category",
							"receiver",
							"senderUserType",
							"actions"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofnotificationActivitySchema_": {
				"$ref": "#/components/schemas/IfAny_typeofnotificationActivitySchema.any.ObtainSchemaGeneric_typeofnotificationActivitySchema.DocType__"
			},
			"NotificationActivityI": {
				"$ref": "#/components/schemas/InferSchemaType_typeofnotificationActivitySchema_"
			},
			"NotificationActivityDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/NotificationActivityI"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"IfAny_typeofprojectActionSchema.any.ObtainSchemaGeneric_typeofprojectActionSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"excludeData": {
								"properties": {
									"replays": {
										"type": "boolean"
									},
									"screenshot": {
										"type": "boolean"
									},
									"customEventLog": {
										"type": "boolean"
									},
									"networkLogs": {
										"type": "boolean"
									},
									"consoleLog": {
										"type": "boolean"
									},
									"customData": {
										"type": "boolean"
									},
									"metaData": {
										"type": "boolean"
									}
								},
								"type": "object"
							},
							"collectEmail": {
								"type": "boolean"
							},
							"feedbackType": {
								"type": "string"
							},
							"singlePageForm": {
								"type": "boolean"
							},
							"enableUserScreenRecording": {
								"type": "boolean"
							},
							"disableUserScreenshot": {
								"type": "boolean"
							},
							"showConversation": {
								"type": "boolean"
							},
							"chatStyle": {
								"type": "boolean"
							},
							"screenshotTitle": {},
							"thanksMessage": {},
							"captureTitle": {},
							"introMessage": {},
							"project": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"title": {},
							"form": {
								"items": {},
								"type": "array"
							},
							"actionId": {
								"type": "string"
							},
							"default": {
								"type": "boolean"
							}
						},
						"required": [
							"form",
							"actionId",
							"default"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofprojectActionSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofprojectActionSchema.any.ObtainSchemaGeneric_typeofprojectActionSchema.DocType__"
			},
			"ProjectActionI": {
				"$ref": "#/components/schemas/InferSchemaType_typeofprojectActionSchema_"
			},
			"ProjectActionDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/ProjectActionI"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"IfAny_typeofpropertySchema.any.ObtainSchemaGeneric_typeofpropertySchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"visability": {
								"properties": {
									"sharedDetail": {
										"type": "boolean"
									},
									"sharedSidebar": {
										"type": "boolean"
									},
									"card": {
										"type": "boolean"
									},
									"detail": {
										"type": "boolean"
									},
									"sidebar": {
										"type": "boolean"
									},
									"create": {
										"type": "boolean"
									}
								},
								"required": [
									"sharedDetail",
									"sharedSidebar",
									"card",
									"detail",
									"sidebar",
									"create"
								],
								"type": "object"
							},
							"isSystem": {
								"type": "boolean"
							},
							"onlyShowWhenDataIsSet": {
								"type": "boolean"
							},
							"readOnly": {
								"type": "boolean"
							},
							"restrictions": {
								"type": "string"
							},
							"labelIcon": {
								"type": "string"
							},
							"project": {
								"$ref": "#/components/schemas/ObjectId"
							},
							"validation": {
								"type": "string"
							},
							"placeholder": {},
							"path": {
								"type": "string"
							},
							"required": {
								"type": "boolean"
							},
							"targetSource": {
								"type": "string"
							},
							"fieldId": {
								"type": "string"
							},
							"label": {
								"type": "string"
							},
							"options": {
								"items": {
									"properties": {
										"type": {
											"properties": {
												"value": {
													"type": "string"
												},
												"label": {},
												"icon": {
													"type": "string"
												}
											},
											"type": "object"
										}
									},
									"type": "object"
								},
								"type": "array"
							},
							"type": {
								"type": "string"
							}
						},
						"required": [
							"targetSource",
							"fieldId",
							"label",
							"options",
							"type"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofpropertySchema_": {
				"$ref": "#/components/schemas/IfAny_typeofpropertySchema.any.ObtainSchemaGeneric_typeofpropertySchema.DocType__"
			},
			"PropertyI": {
				"$ref": "#/components/schemas/InferSchemaType_typeofpropertySchema_"
			},
			"PropertyDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/PropertyI"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"OptionDto": {
				"properties": {
					"label": {},
					"value": {
						"type": "string"
					},
					"icon": {
						"type": "string"
					}
				},
				"required": [
					"label",
					"value"
				],
				"type": "object",
				"additionalProperties": false
			},
			"VisabilityDto": {
				"properties": {
					"sidebar": {
						"type": "boolean"
					},
					"detail": {
						"type": "boolean"
					},
					"create": {
						"type": "boolean"
					},
					"card": {
						"type": "boolean"
					},
					"sharedSidebar": {
						"type": "boolean"
					},
					"sharedDetail": {
						"type": "boolean"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"PropertyDto": {
				"properties": {
					"type": {
						"type": "string"
					},
					"label": {
						"type": "string"
					},
					"placeholder": {},
					"fieldId": {
						"type": "string"
					},
					"validation": {
						"type": "string"
					},
					"restrictions": {
						"type": "string"
					},
					"targetSource": {
						"type": "string"
					},
					"required": {
						"type": "boolean"
					},
					"readOnly": {
						"type": "boolean"
					},
					"onlyShowWhenDataIsSet": {
						"type": "boolean"
					},
					"options": {
						"items": {
							"$ref": "#/components/schemas/OptionDto"
						},
						"type": "array"
					},
					"visability": {
						"$ref": "#/components/schemas/VisabilityDto"
					},
					"path": {
						"type": "string"
					}
				},
				"required": [
					"type",
					"label",
					"fieldId",
					"targetSource"
				],
				"type": "object",
				"additionalProperties": false
			},
			"Types.ObjectId": {
				"type": "string"
			},
			"SessionDto": {
				"properties": {
					"gleapId": {
						"type": "string"
					},
					"gleapHash": {
						"type": "string"
					},
					"lang": {
						"type": "string"
					},
					"firstActivity": {},
					"lastHeardFrom": {},
					"lastActivity": {},
					"lastFeedbackReport": {},
					"project": {
						"$ref": "#/components/schemas/Types.ObjectId"
					},
					"organisation": {
						"$ref": "#/components/schemas/Types.ObjectId"
					},
					"unsubscribed": {
						"type": "boolean"
					},
					"unsubscribedAt": {},
					"unsubscribeReason": {
						"type": "string"
					},
					"lastPageView": {},
					"userId": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"location": {},
					"email": {
						"type": "string"
					},
					"avatar": {
						"type": "string"
					},
					"companyId": {
						"type": "string"
					},
					"emailOnly": {
						"type": "boolean"
					},
					"companyName": {
						"type": "string"
					},
					"deviceType": {
						"type": "string"
					},
					"platform": {
						"type": "string"
					},
					"sla": {
						"type": "number",
						"format": "double"
					},
					"phone": {
						"type": "string"
					},
					"blocked": {
						"type": "boolean"
					},
					"plan": {
						"type": "string"
					},
					"value": {
						"type": "number",
						"format": "double"
					},
					"sessions": {
						"type": "number",
						"format": "double"
					},
					"facebookId": {
						"type": "string"
					},
					"instagramId": {
						"type": "string"
					},
					"instagramUsername": {
						"type": "string"
					},
					"telegramChatId": {
						"type": "string"
					},
					"telegramUsername": {
						"type": "string"
					},
					"outboundHistory": {},
					"countFeedbackReports": {
						"type": "number",
						"format": "double"
					},
					"countFeedbackComments": {
						"type": "number",
						"format": "double"
					},
					"tags": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"checklistTasks": {},
					"customData": {},
					"eventData": {}
				},
				"type": "object",
				"additionalProperties": false
			},
			"Document_any.any.any_": {
				"$ref": "#/components/schemas/FlattenMaps_T_",
				"description": "Generic types for Document:\n*  T - the type of _id\n*  TQueryHelpers - Object with any helpers that should be mixed into the Query type\n*  DocType - the type of the actual Document created"
			},
			"ImportIntercomSessionDto": {
				"properties": {
					"endpoint": {
						"type": "string"
					},
					"apiKey": {
						"type": "string"
					}
				},
				"required": [
					"endpoint",
					"apiKey"
				],
				"type": "object",
				"additionalProperties": false
			},
			"IfAny_typeofteamSchema.any.ObtainSchemaGeneric_typeofteamSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"operatingHours": {
								"properties": {
									"staticTranslations": {
										"properties": {
											"outOfOfficeMessage": {}
										},
										"type": "object"
									},
									"replyTime": {},
									"timezone": {
										"type": "string"
									},
									"openingTimes": {
										"items": {
											"properties": {
												"closingTime": {
													"type": "string"
												},
												"openingTime": {
													"type": "string"
												},
												"day": {
													"type": "string"
												},
												"replyTime": {}
											},
											"type": "object"
										},
										"type": "array"
									},
									"alwaysOnline": {
										"type": "boolean"
									},
									"enabled": {
										"type": "boolean"
									}
								},
								"required": [
									"openingTimes",
									"alwaysOnline",
									"enabled"
								],
								"type": "object"
							},
							"project": {
								"$ref": "#/components/schemas/ObjectId"
							},
							"slaOptions": {
								"properties": {
									"defaultSla": {
										"type": "number",
										"format": "double"
									}
								},
								"type": "object"
							},
							"name": {
								"type": "string"
							},
							"ticketAmount": {
								"type": "number",
								"format": "double"
							},
							"limitTicketAmount": {
								"type": "boolean"
							},
							"needQueueRerun": {
								"type": "boolean"
							},
							"selectOnlyOnlineMembers": {
								"type": "boolean"
							},
							"members": {
								"items": {
									"$ref": "#/components/schemas/ObjectId"
								},
								"type": "array"
							},
							"assignmentMethod": {
								"type": "string",
								"enum": [
									"random",
									"balanced",
									"manual",
									"circular"
								]
							}
						},
						"required": [
							"ticketAmount",
							"limitTicketAmount",
							"needQueueRerun",
							"selectOnlyOnlineMembers",
							"members",
							"assignmentMethod"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofteamSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofteamSchema.any.ObtainSchemaGeneric_typeofteamSchema.DocType__"
			},
			"TeamI": {
				"$ref": "#/components/schemas/InferSchemaType_typeofteamSchema_"
			},
			"TeamDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/TeamI"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"AssignmentMethod": {
				"enum": [
					"random",
					"balanced",
					"manual",
					"circular"
				],
				"type": "string"
			},
			"TeamDto": {
				"properties": {
					"name": {
						"type": "string"
					},
					"assignmentMethod": {
						"$ref": "#/components/schemas/AssignmentMethod"
					},
					"members": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"selectOnlyOnlineMembers": {
						"type": "boolean"
					},
					"needQueueRerun": {
						"type": "boolean"
					},
					"limitTicketAmount": {
						"type": "boolean"
					},
					"ticketAmount": {
						"type": "number",
						"format": "double"
					},
					"slaOptions": {
						"properties": {
							"defaultSla": {
								"type": "number",
								"format": "double"
							}
						},
						"type": "object"
					},
					"operatingHours": {
						"properties": {
							"openingTimes": {
								"items": {
									"properties": {
										"replyTime": {},
										"closingTime": {
											"type": "string"
										},
										"openingTime": {
											"type": "string"
										},
										"day": {
											"type": "string"
										}
									},
									"type": "object"
								},
								"type": "array"
							},
							"staticTranslations": {
								"properties": {
									"outOfOfficeMessage": {}
								},
								"type": "object"
							},
							"replyTime": {},
							"alwaysOnline": {
								"type": "boolean"
							},
							"timezone": {
								"type": "string"
							},
							"enabled": {
								"type": "boolean"
							}
						},
						"type": "object"
					}
				},
				"required": [
					"name",
					"assignmentMethod",
					"members"
				],
				"type": "object",
				"additionalProperties": false
			},
			"IfAny_typeofticketViewSchema.any.ObtainSchemaGeneric_typeofticketViewSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"sortBy": {},
							"project": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"conditions": {},
							"name": {
								"type": "string"
							},
							"dataSources": {
								"items": {
									"type": "string"
								},
								"type": "array"
							},
							"viewType": {
								"type": "string",
								"enum": [
									"list",
									"board"
								]
							},
							"isPublic": {
								"type": "boolean"
							},
							"users": {
								"items": {
									"$ref": "#/components/schemas/ObjectId"
								},
								"type": "array"
							}
						},
						"required": [
							"dataSources",
							"viewType",
							"isPublic",
							"users"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofticketViewSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofticketViewSchema.any.ObtainSchemaGeneric_typeofticketViewSchema.DocType__"
			},
			"TicketView": {
				"$ref": "#/components/schemas/InferSchemaType_typeofticketViewSchema_"
			},
			"TicketViewDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/TicketView"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"TicketViewDTO": {
				"properties": {
					"name": {
						"type": "string"
					},
					"conditions": {},
					"sortBy": {},
					"users": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"isPublic": {
						"type": "boolean"
					},
					"viewType": {
						"type": "string"
					},
					"dataSources": {
						"items": {
							"type": "string"
						},
						"type": "array"
					}
				},
				"required": [
					"name"
				],
				"type": "object",
				"additionalProperties": false
			},
			"WhatsAppTemplateMessageDocument": {
				"$ref": "#/components/schemas/FlattenMaps_T_"
			},
			"FallbackUserDto": {
				"properties": {
					"username": {
						"type": "string"
					},
					"email": {
						"type": "string"
					},
					"imageUrl": {
						"type": "string"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"AttachmentDto": {
				"properties": {
					"name": {
						"type": "string"
					},
					"url": {
						"type": "string"
					},
					"type": {
						"type": "string"
					}
				},
				"required": [
					"name",
					"url"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ChannelDto": {
				"properties": {
					"id": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"messageId": {
						"type": "string"
					}
				},
				"required": [
					"id"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CreateMessageDto": {
				"properties": {
					"user": {
						"type": "string"
					},
					"session": {
						"type": "string"
					},
					"bot": {
						"type": "boolean"
					},
					"fallbackUser": {
						"$ref": "#/components/schemas/FallbackUserDto"
					},
					"messageRef": {
						"type": "string"
					},
					"ticket": {
						"type": "string"
					},
					"data": {},
					"translatedData": {},
					"type": {
						"type": "string"
					},
					"emailId": {
						"type": "string"
					},
					"sessionNotificationsUnread": {
						"type": "boolean"
					},
					"outbound": {
						"type": "string"
					},
					"outboundTemplate": {
						"type": "string"
					},
					"outboundSubject": {
						"type": "string"
					},
					"status": {},
					"statusHistory": {
						"items": {},
						"type": "array"
					},
					"comment": {},
					"replyTo": {
						"type": "string"
					},
					"kaiChat": {
						"type": "boolean"
					},
					"aiData": {},
					"attachments": {
						"items": {
							"$ref": "#/components/schemas/AttachmentDto"
						},
						"type": "array"
					},
					"actions": {
						"items": {
							"properties": {
								"data": {},
								"type": {
									"type": "string"
								}
							},
							"required": [
								"type"
							],
							"type": "object"
						},
						"type": "array"
					},
					"channel": {
						"$ref": "#/components/schemas/ChannelDto"
					},
					"sendToChannel": {
						"type": "boolean"
					},
					"isNote": {
						"type": "boolean"
					},
					"rating": {
						"type": "string"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"UpdateMessageDto": {
				"properties": {
					"user": {
						"type": "string"
					},
					"session": {
						"type": "string"
					},
					"bot": {
						"type": "boolean"
					},
					"fallbackUser": {
						"$ref": "#/components/schemas/FallbackUserDto"
					},
					"messageRef": {
						"type": "string"
					},
					"ticket": {
						"type": "string"
					},
					"data": {},
					"translatedData": {},
					"type": {
						"type": "string"
					},
					"emailId": {
						"type": "string"
					},
					"sessionNotificationsUnread": {
						"type": "boolean"
					},
					"outbound": {
						"type": "string"
					},
					"outboundTemplate": {
						"type": "string"
					},
					"outboundSubject": {
						"type": "string"
					},
					"status": {},
					"statusHistory": {
						"items": {},
						"type": "array"
					},
					"comment": {},
					"replyTo": {
						"type": "string"
					},
					"kaiChat": {
						"type": "boolean"
					},
					"aiData": {},
					"attachments": {
						"items": {
							"$ref": "#/components/schemas/AttachmentDto"
						},
						"type": "array"
					},
					"actions": {
						"items": {
							"properties": {
								"data": {},
								"type": {
									"type": "string"
								}
							},
							"required": [
								"type"
							],
							"type": "object"
						},
						"type": "array"
					},
					"channel": {
						"$ref": "#/components/schemas/ChannelDto"
					},
					"sendToChannel": {
						"type": "boolean"
					},
					"isNote": {
						"type": "boolean"
					},
					"rating": {
						"type": "string"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"SuggestFaqDto": {
				"properties": {
					"accept": {
						"type": "boolean"
					}
				},
				"required": [
					"accept"
				],
				"type": "object",
				"additionalProperties": false
			},
			"IfAny_typeofhelpcenterCollectionSchema.any.ObtainSchemaGeneric_typeofhelpcenterCollectionSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"iconUrl": {
								"type": "string"
							},
							"extendedAudienceFilter": {},
							"baseAudienceFilter": {},
							"docId": {
								"type": "number",
								"format": "double"
							},
							"lexorank": {
								"type": "string"
							},
							"project": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"parent": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"externalId": {
								"type": "string"
							},
							"title": {},
							"description": {},
							"targetAudience": {
								"type": "string"
							}
						},
						"required": [
							"targetAudience"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofhelpcenterCollectionSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofhelpcenterCollectionSchema.any.ObtainSchemaGeneric_typeofhelpcenterCollectionSchema.DocType__"
			},
			"HelpcenterCollectionI": {
				"$ref": "#/components/schemas/InferSchemaType_typeofhelpcenterCollectionSchema_"
			},
			"HelpcenterCollectionDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/HelpcenterCollectionI"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"HelpCenterCollectionDto": {
				"properties": {
					"title": {},
					"description": {},
					"iconUrl": {
						"type": "string"
					},
					"project": {
						"$ref": "#/components/schemas/Types.ObjectId"
					},
					"lexorank": {
						"type": "string"
					},
					"docId": {
						"type": "number",
						"format": "double"
					},
					"parent": {
						"allOf": [
							{
								"$ref": "#/components/schemas/Types.ObjectId"
							}
						],
						"nullable": true
					},
					"externalId": {
						"type": "string"
					},
					"targetAudience": {
						"type": "string",
						"default": "all"
					},
					"baseAudienceFilter": {},
					"extendedAudienceFilter": {}
				},
				"type": "object",
				"additionalProperties": false
			},
			"CollectionWithCounts": {
				"allOf": [
					{
						"$ref": "#/components/schemas/HelpcenterCollectionDocument"
					},
					{
						"properties": {
							"subCollectionsCount": {
								"type": "number",
								"format": "double"
							},
							"articlesCount": {
								"type": "number",
								"format": "double"
							}
						},
						"required": [
							"subCollectionsCount",
							"articlesCount"
						],
						"type": "object"
					}
				]
			},
			"IfAny_typeofhelpcenterArticleSchema.any.ObtainSchemaGeneric_typeofhelpcenterArticleSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"extendedAudienceFilter": {},
							"baseAudienceFilter": {},
							"docId": {
								"type": "number",
								"format": "double"
							},
							"author": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"helpcenterCollection": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"upvotes": {},
							"plainContent": {},
							"lexorank": {
								"type": "string"
							},
							"project": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"externalId": {
								"type": "string"
							},
							"content": {},
							"title": {},
							"description": {},
							"sourceUsage": {
								"type": "number",
								"format": "double"
							},
							"isDraft": {
								"type": "boolean"
							},
							"tags": {
								"items": {
									"type": "string"
								},
								"type": "array"
							},
							"targetAudience": {
								"type": "string"
							}
						},
						"required": [
							"sourceUsage",
							"isDraft",
							"tags",
							"targetAudience"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofhelpcenterArticleSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofhelpcenterArticleSchema.any.ObtainSchemaGeneric_typeofhelpcenterArticleSchema.DocType__"
			},
			"HelpcenterArticleI": {
				"$ref": "#/components/schemas/InferSchemaType_typeofhelpcenterArticleSchema_"
			},
			"HelpcenterArticleDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/HelpcenterArticleI"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"HelpcenterArticleDto": {
				"properties": {
					"title": {},
					"description": {},
					"content": {},
					"plainContent": {},
					"helpcenterCollection": {
						"$ref": "#/components/schemas/Types.ObjectId"
					},
					"author": {
						"$ref": "#/components/schemas/Types.ObjectId"
					},
					"project": {
						"$ref": "#/components/schemas/Types.ObjectId"
					},
					"isDraft": {
						"type": "boolean",
						"default": true
					},
					"docId": {
						"type": "number",
						"format": "double"
					},
					"lexorank": {
						"type": "string"
					},
					"upvotes": {},
					"targetAudience": {
						"type": "string",
						"default": "all"
					},
					"externalId": {
						"type": "string"
					},
					"baseAudienceFilter": {},
					"extendedAudienceFilter": {},
					"tags": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"newCollectionId": {
						"type": "string"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"CreateSharedMessageDto": {
				"properties": {
					"comment": {
						"type": "string"
					},
					"recaptchaToken": {
						"type": "string"
					},
					"htmlComment": {
						"type": "string"
					},
					"attachments": {
						"items": {
							"$ref": "#/components/schemas/AttachmentDto"
						},
						"type": "array"
					},
					"ticketShareToken": {
						"type": "string"
					}
				},
				"required": [
					"comment",
					"ticketShareToken"
				],
				"type": "object",
				"additionalProperties": false
			},
			"RatingEnum": {
				"enum": [
					"positive",
					"negative"
				],
				"type": "string"
			},
			"MessageRatingDto": {
				"properties": {
					"rating": {
						"$ref": "#/components/schemas/RatingEnum"
					}
				},
				"required": [
					"rating"
				],
				"type": "object",
				"additionalProperties": false
			},
			"RedirectMatchType": {
				"enum": [
					"exact",
					"pattern"
				],
				"type": "string"
			},
			"IfAny_typeofhelpcenterRedirectSchema.any.ObtainSchemaGeneric_typeofhelpcenterRedirectSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"matchType": {
								"$ref": "#/components/schemas/RedirectMatchType"
							},
							"newUrl": {
								"type": "string"
							},
							"oldUrl": {
								"type": "string"
							},
							"project": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							}
						},
						"required": [
							"matchType",
							"newUrl",
							"oldUrl",
							"project"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofhelpcenterRedirectSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofhelpcenterRedirectSchema.any.ObtainSchemaGeneric_typeofhelpcenterRedirectSchema.DocType__"
			},
			"HelpcenterRedirect": {
				"$ref": "#/components/schemas/InferSchemaType_typeofhelpcenterRedirectSchema_"
			},
			"HelpcenterRedirectDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/HelpcenterRedirect"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"HelpcenterRedirectDTO": {
				"properties": {
					"oldUrl": {
						"type": "string"
					},
					"newUrl": {
						"type": "string"
					},
					"matchType": {
						"$ref": "#/components/schemas/RedirectMatchType"
					}
				},
				"required": [
					"oldUrl",
					"newUrl",
					"matchType"
				],
				"type": "object",
				"additionalProperties": false
			},
			"BotDto": {
				"properties": {
					"active": {
						"type": "boolean"
					},
					"currentBot": {
						"type": "string"
					},
					"currentActionFlow": {
						"type": "string"
					},
					"currentAction": {
						"type": "number",
						"format": "double"
					},
					"forwardedToSupportAt": {
						"type": "string",
						"format": "date-time"
					},
					"kaiActive": {
						"type": "boolean"
					},
					"noAnswerFound": {
						"type": "boolean"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"BugPriority": {
				"enum": [
					"LOW",
					"MEDIUM",
					"HIGH"
				],
				"type": "string"
			},
			"Sentiment": {
				"enum": [
					"positive",
					"negative",
					"neutral"
				],
				"type": "string"
			},
			"Record_string.any_": {
				"properties": {},
				"type": "object",
				"description": "Construct a type with a set of properties K of type T"
			},
			"LastResponseDto": {
				"properties": {
					"contact": {
						"type": "string",
						"format": "date-time"
					},
					"admin": {
						"type": "string",
						"format": "date-time"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"UpvoteDto": {
				"properties": {
					"email": {
						"type": "string"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"TicketChannelDto": {
				"properties": {
					"id": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"metaData": {}
				},
				"required": [
					"id"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CreateTicketDto": {
				"properties": {
					"title": {
						"type": "string"
					},
					"conversationClosed": {
						"type": "boolean"
					},
					"bot": {
						"$ref": "#/components/schemas/BotDto"
					},
					"content": {},
					"plainContent": {
						"type": "string"
					},
					"imageUrl": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"latestComment": {
						"type": "string"
					},
					"latestPublicComment": {
						"type": "string"
					},
					"slaBreached": {
						"type": "boolean"
					},
					"hidden": {
						"type": "boolean"
					},
					"needInitialPush": {
						"type": "boolean"
					},
					"noHumanInteraction": {
						"type": "boolean"
					},
					"snoozed": {
						"type": "boolean"
					},
					"snoozedUntil": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"processingUser": {
						"type": "string"
					},
					"processingTeam": {
						"type": "string"
					},
					"queued": {
						"type": "boolean"
					},
					"queuedAt": {
						"type": "string",
						"format": "date-time"
					},
					"mentions": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"emailRefs": {
						"items": {},
						"type": "array"
					},
					"attributes": {},
					"formData": {},
					"form": {},
					"aiSummary": {
						"type": "string"
					},
					"aiSupportSummary": {
						"type": "string"
					},
					"dueDate": {
						"anyOf": [
							{
								"type": "string",
								"format": "date-time"
							},
							{
								"type": "string"
							}
						]
					},
					"linkedTickets": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"duplicateOf": {
						"type": "string"
					},
					"duplicatesCount": {
						"type": "number",
						"format": "double"
					},
					"session": {},
					"sessions": {
						"items": {},
						"type": "array"
					},
					"outbound": {
						"type": "string"
					},
					"priority": {
						"$ref": "#/components/schemas/BugPriority"
					},
					"type": {
						"type": "string"
					},
					"sentiment": {
						"$ref": "#/components/schemas/Sentiment"
					},
					"status": {
						"type": "string"
					},
					"shareToken": {
						"type": "string"
					},
					"secretShareToken": {
						"type": "string"
					},
					"lexorank": {
						"type": "string"
					},
					"bugId": {
						"type": "number",
						"format": "double"
					},
					"project": {
						"type": "string"
					},
					"organisation": {
						"type": "string"
					},
					"screenshotUrl": {
						"type": "string"
					},
					"screenshotBroke": {
						"type": "string",
						"format": "date-time"
					},
					"generatingScreenshot": {
						"type": "boolean"
					},
					"screenshotRenderingFailed": {
						"type": "boolean"
					},
					"screenshotLive": {
						"type": "boolean"
					},
					"screenshotDataUrl": {},
					"isSilent": {
						"type": "boolean"
					},
					"replayDataUrl": {
						"type": "string"
					},
					"replayUrl": {
						"type": "string"
					},
					"generatingReplay": {
						"type": "boolean"
					},
					"replayStartDate": {
						"type": "string",
						"format": "date-time"
					},
					"replayRenderingStartedAt": {
						"type": "string",
						"format": "date-time"
					},
					"replayRenderingFailed": {
						"type": "boolean"
					},
					"replayLive": {
						"type": "boolean"
					},
					"originalEmailContent": {
						"type": "string"
					},
					"hasWebReplay": {
						"type": "boolean"
					},
					"integrations": {
						"$ref": "#/components/schemas/Record_string.any_"
					},
					"metaData": {},
					"actionLog": {},
					"customData": {},
					"replay": {},
					"lastResponse": {
						"$ref": "#/components/schemas/LastResponseDto"
					},
					"attachments": {
						"items": {
							"$ref": "#/components/schemas/AttachmentDto"
						},
						"type": "array"
					},
					"lastNotification": {
						"type": "string",
						"format": "date-time"
					},
					"faqSuggested": {
						"type": "boolean"
					},
					"notificationsUnread": {
						"type": "boolean"
					},
					"sessionNotificationsUnread": {
						"type": "boolean"
					},
					"hasAgentReply": {
						"type": "boolean"
					},
					"conversationRating": {
						"type": "number",
						"format": "double"
					},
					"upvotesCount": {
						"type": "number",
						"format": "double"
					},
					"upvotes": {
						"items": {
							"$ref": "#/components/schemas/UpvoteDto"
						},
						"type": "array"
					},
					"screenRecordingUrl": {
						"type": "string"
					},
					"firstAssignmentAt": {
						"type": "string",
						"format": "date-time"
					},
					"archived": {
						"type": "boolean"
					},
					"archivedAt": {
						"type": "string",
						"format": "date-time"
					},
					"disabled": {
						"type": "boolean"
					},
					"isSpam": {
						"type": "boolean"
					},
					"tags": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"score": {
						"type": "number",
						"format": "double"
					},
					"channel": {
						"$ref": "#/components/schemas/TicketChannelDto"
					},
					"manuallyAdded": {
						"type": "boolean"
					},
					"fromData": {},
					"consoleLog": {},
					"customEventLog": {},
					"networkLogs": {},
					"isManualStart": {
						"type": "boolean"
					},
					"botId": {
						"type": "string"
					},
					"preventAutoReply": {
						"type": "boolean"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"CreateTicketWithMessageDto": {
				"properties": {
					"type": {
						"type": "string"
					},
					"title": {
						"type": "string"
					},
					"message": {
						"type": "string"
					},
					"priority": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"processingUser": {
						"type": "string"
					},
					"processingTeam": {
						"type": "string"
					},
					"tags": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"session": {
						"type": "string"
					},
					"email": {
						"type": "string"
					},
					"formData": {
						"$ref": "#/components/schemas/Record_string.any_"
					}
				},
				"required": [
					"type",
					"title"
				],
				"type": "object",
				"additionalProperties": false
			},
			"UpdateTicketDto": {
				"properties": {
					"title": {
						"type": "string"
					},
					"conversationClosed": {
						"type": "boolean"
					},
					"bot": {
						"$ref": "#/components/schemas/BotDto"
					},
					"content": {},
					"plainContent": {
						"type": "string"
					},
					"imageUrl": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"latestComment": {
						"type": "string"
					},
					"latestPublicComment": {
						"type": "string"
					},
					"slaBreached": {
						"type": "boolean"
					},
					"hidden": {
						"type": "boolean"
					},
					"needInitialPush": {
						"type": "boolean"
					},
					"noHumanInteraction": {
						"type": "boolean"
					},
					"snoozed": {
						"type": "boolean"
					},
					"snoozedUntil": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"processingUser": {
						"type": "string"
					},
					"processingTeam": {
						"type": "string"
					},
					"queued": {
						"type": "boolean"
					},
					"queuedAt": {
						"type": "string",
						"format": "date-time"
					},
					"mentions": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"emailRefs": {
						"items": {},
						"type": "array"
					},
					"attributes": {},
					"formData": {},
					"form": {},
					"aiSummary": {
						"type": "string"
					},
					"aiSupportSummary": {
						"type": "string"
					},
					"dueDate": {
						"anyOf": [
							{
								"type": "string",
								"format": "date-time"
							},
							{
								"type": "string"
							}
						]
					},
					"linkedTickets": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"duplicateOf": {
						"type": "string"
					},
					"duplicatesCount": {
						"type": "number",
						"format": "double"
					},
					"session": {},
					"sessions": {
						"items": {},
						"type": "array"
					},
					"outbound": {
						"type": "string"
					},
					"priority": {
						"$ref": "#/components/schemas/BugPriority"
					},
					"type": {
						"type": "string"
					},
					"sentiment": {
						"$ref": "#/components/schemas/Sentiment"
					},
					"status": {
						"type": "string"
					},
					"shareToken": {
						"type": "string"
					},
					"secretShareToken": {
						"type": "string"
					},
					"lexorank": {
						"type": "string"
					},
					"bugId": {
						"type": "number",
						"format": "double"
					},
					"project": {
						"type": "string"
					},
					"organisation": {
						"type": "string"
					},
					"screenshotUrl": {
						"type": "string"
					},
					"screenshotBroke": {
						"type": "string",
						"format": "date-time"
					},
					"generatingScreenshot": {
						"type": "boolean"
					},
					"screenshotRenderingFailed": {
						"type": "boolean"
					},
					"screenshotLive": {
						"type": "boolean"
					},
					"screenshotDataUrl": {},
					"isSilent": {
						"type": "boolean"
					},
					"replayDataUrl": {
						"type": "string"
					},
					"replayUrl": {
						"type": "string"
					},
					"generatingReplay": {
						"type": "boolean"
					},
					"replayStartDate": {
						"type": "string",
						"format": "date-time"
					},
					"replayRenderingStartedAt": {
						"type": "string",
						"format": "date-time"
					},
					"replayRenderingFailed": {
						"type": "boolean"
					},
					"replayLive": {
						"type": "boolean"
					},
					"originalEmailContent": {
						"type": "string"
					},
					"hasWebReplay": {
						"type": "boolean"
					},
					"integrations": {
						"$ref": "#/components/schemas/Record_string.any_"
					},
					"metaData": {},
					"actionLog": {},
					"customData": {},
					"replay": {},
					"lastResponse": {
						"$ref": "#/components/schemas/LastResponseDto"
					},
					"attachments": {
						"items": {
							"$ref": "#/components/schemas/AttachmentDto"
						},
						"type": "array"
					},
					"lastNotification": {
						"type": "string",
						"format": "date-time"
					},
					"faqSuggested": {
						"type": "boolean"
					},
					"notificationsUnread": {
						"type": "boolean"
					},
					"sessionNotificationsUnread": {
						"type": "boolean"
					},
					"hasAgentReply": {
						"type": "boolean"
					},
					"conversationRating": {
						"type": "number",
						"format": "double"
					},
					"upvotesCount": {
						"type": "number",
						"format": "double"
					},
					"upvotes": {
						"items": {
							"$ref": "#/components/schemas/UpvoteDto"
						},
						"type": "array"
					},
					"screenRecordingUrl": {
						"type": "string"
					},
					"firstAssignmentAt": {
						"type": "string",
						"format": "date-time"
					},
					"archived": {
						"type": "boolean"
					},
					"archivedAt": {
						"type": "string",
						"format": "date-time"
					},
					"disabled": {
						"type": "boolean"
					},
					"isSpam": {
						"type": "boolean"
					},
					"tags": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"score": {
						"type": "number",
						"format": "double"
					},
					"channel": {
						"$ref": "#/components/schemas/TicketChannelDto"
					},
					"manuallyAdded": {
						"type": "boolean"
					},
					"fromData": {},
					"forceCloseOverride": {
						"type": "boolean"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"IfAny_typeofoutboundSchema.any.ObtainSchemaGeneric_typeofoutboundSchema.DocType__": {
				"properties": {
					"searchContent": {
						"type": "string"
					},
					"emailTemplate": {
						"properties": {
							"isValid": {
								"properties": {},
								"type": "object"
							},
							"createFromHexString": {
								"properties": {},
								"type": "object"
							},
							"createFromTime": {
								"properties": {},
								"type": "object"
							},
							"generate": {
								"properties": {},
								"type": "object"
							},
							"cacheHexString": {},
							"prototype": {
								"$ref": "#/components/schemas/ObjectId"
							}
						},
						"type": "object"
					},
					"sourceOutbound": {
						"properties": {
							"isValid": {
								"properties": {},
								"type": "object"
							},
							"createFromHexString": {
								"properties": {},
								"type": "object"
							},
							"createFromTime": {
								"properties": {},
								"type": "object"
							},
							"generate": {
								"properties": {},
								"type": "object"
							},
							"cacheHexString": {},
							"prototype": {
								"$ref": "#/components/schemas/ObjectId"
							}
						},
						"type": "object"
					},
					"trigger": {},
					"pageFilterDelay": {
						"type": "number",
						"format": "double"
					},
					"pageFilter": {
						"type": "string"
					},
					"eventTriggerDelay": {
						"type": "number",
						"format": "double"
					},
					"eventTrigger": {
						"type": "string"
					},
					"actionType": {
						"type": "string"
					},
					"sentAt": {
						"type": "string",
						"format": "date-time"
					},
					"stats": {},
					"subject": {},
					"coverImageUrl": {
						"type": "string"
					},
					"subType": {
						"type": "string"
					},
					"sender": {
						"properties": {
							"isValid": {
								"properties": {},
								"type": "object"
							},
							"createFromHexString": {
								"properties": {},
								"type": "object"
							},
							"createFromTime": {
								"properties": {},
								"type": "object"
							},
							"generate": {
								"properties": {},
								"type": "object"
							},
							"cacheHexString": {},
							"prototype": {
								"$ref": "#/components/schemas/ObjectId"
							}
						},
						"type": "object"
					},
					"project": {
						"properties": {
							"isValid": {
								"properties": {},
								"type": "object"
							},
							"createFromHexString": {
								"properties": {},
								"type": "object"
							},
							"createFromTime": {
								"properties": {},
								"type": "object"
							},
							"generate": {
								"properties": {},
								"type": "object"
							},
							"cacheHexString": {},
							"prototype": {
								"$ref": "#/components/schemas/ObjectId"
							}
						},
						"type": "object"
					},
					"data": {},
					"conditions": {},
					"config": {},
					"message": {},
					"aiSummaryOutdated": {
						"type": "boolean"
					},
					"aiSummary": {
						"type": "string"
					},
					"organisation": {
						"properties": {
							"isValid": {
								"properties": {},
								"type": "object"
							},
							"createFromHexString": {
								"properties": {},
								"type": "object"
							},
							"createFromTime": {
								"properties": {},
								"type": "object"
							},
							"generate": {
								"properties": {},
								"type": "object"
							},
							"cacheHexString": {},
							"prototype": {
								"$ref": "#/components/schemas/ObjectId"
							}
						},
						"type": "object"
					},
					"createdBy": {
						"properties": {
							"isValid": {
								"properties": {},
								"type": "object"
							},
							"createFromHexString": {
								"properties": {},
								"type": "object"
							},
							"createFromTime": {
								"properties": {},
								"type": "object"
							},
							"generate": {
								"properties": {},
								"type": "object"
							},
							"cacheHexString": {},
							"prototype": {
								"$ref": "#/components/schemas/ObjectId"
							}
						},
						"type": "object"
					},
					"startSendingAfter": {
						"type": "string",
						"format": "date-time"
					},
					"stopSendingAfter": {
						"type": "string",
						"format": "date-time"
					},
					"pageRules": {
						"items": {
							"properties": {
								"pageFilter": {
									"type": "string"
								},
								"pageFilterType": {
									"type": "string",
									"enum": [
										"is",
										"contains",
										"isnot",
										"notcontains",
										"startswith",
										"endswith",
										"empty",
										"notempty"
									]
								}
							},
							"required": [
								"pageFilterType"
							],
							"type": "object"
						},
						"type": "array"
					},
					"pageFilterType": {
						"type": "string",
						"enum": [
							"is",
							"contains",
							"isnot",
							"notcontains",
							"startswith",
							"endswith",
							"empty",
							"notempty"
						]
					},
					"frequencyDays": {
						"type": "number",
						"format": "double"
					},
					"frequency": {
						"type": "string"
					},
					"frequencyType": {
						"type": "string"
					},
					"format": {
						"type": "string"
					},
					"sent": {
						"type": "boolean"
					},
					"sound": {
						"type": "boolean"
					},
					"newTrigger": {
						"type": "boolean"
					},
					"tags": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"updatedAt": {
						"type": "string",
						"format": "date-time"
					},
					"status": {
						"type": "string"
					},
					"targetAudience": {
						"type": "string"
					},
					"createdAt": {
						"type": "string",
						"format": "date-time"
					},
					"hidden": {
						"type": "boolean"
					},
					"name": {
						"type": "string"
					},
					"type": {
						"type": "string"
					}
				},
				"required": [
					"startSendingAfter",
					"stopSendingAfter",
					"pageRules",
					"pageFilterType",
					"frequencyDays",
					"frequency",
					"frequencyType",
					"format",
					"sent",
					"sound",
					"newTrigger",
					"tags",
					"updatedAt",
					"status",
					"targetAudience",
					"createdAt",
					"hidden",
					"name",
					"type"
				],
				"type": "object"
			},
			"InferSchemaType_typeofoutboundSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofoutboundSchema.any.ObtainSchemaGeneric_typeofoutboundSchema.DocType__"
			},
			"OutboundI": {
				"$ref": "#/components/schemas/InferSchemaType_typeofoutboundSchema_"
			},
			"OutboundDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/OutboundI"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"Record_string.string_": {
				"properties": {},
				"type": "object",
				"description": "Construct a type with a set of properties K of type T"
			},
			"CreateAIContentDto": {
				"properties": {
					"title": {
						"type": "string"
					},
					"content": {},
					"contentId": {
						"type": "string"
					},
					"batchId": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"readMoreUrl": {
						"type": "string"
					},
					"readMoreLabel": {
						"type": "string"
					}
				},
				"required": [
					"title",
					"content",
					"contentId",
					"type"
				],
				"type": "object",
				"additionalProperties": false
			},
			"UpdateAIContentDto": {
				"properties": {
					"title": {
						"type": "string"
					},
					"content": {},
					"type": {
						"type": "string"
					},
					"batchId": {
						"type": "string"
					},
					"readMoreUrl": {
						"type": "string"
					},
					"readMoreLabel": {
						"type": "string"
					}
				},
				"required": [
					"title",
					"content",
					"type"
				],
				"type": "object",
				"additionalProperties": false
			},
			"AnswerSourceFile": {
				"properties": {
					"repo": {
						"type": "string"
					},
					"path": {
						"type": "string"
					}
				},
				"required": [
					"repo",
					"path"
				],
				"type": "object",
				"additionalProperties": false
			},
			"AnswerI": {
				"properties": {
					"question": {
						"type": "string"
					},
					"lang": {
						"type": "string"
					},
					"answer": {
						"type": "string"
					},
					"session": {
						"anyOf": [
							{
								"$ref": "#/components/schemas/Types.ObjectId"
							},
							{
								"type": "string"
							}
						]
					},
					"sourceName": {
						"type": "string"
					},
					"sourceLink": {
						"type": "string"
					},
					"sourceUsage": {
						"type": "number",
						"format": "double"
					},
					"ticket": {
						"anyOf": [
							{
								"$ref": "#/components/schemas/Types.ObjectId"
							},
							{
								"type": "string"
							}
						]
					},
					"acknowledged": {
						"type": "boolean"
					},
					"skipped": {
						"type": "boolean"
					},
					"preventChunking": {
						"type": "boolean"
					},
					"fileProcessingId": {
						"type": "string"
					},
					"fileProcessingCheckUrl": {
						"type": "string"
					},
					"fileProcessingStatus": {
						"type": "string",
						"enum": [
							"processing",
							"completed",
							"failed"
						]
					},
					"fileProcessingError": {},
					"type": {
						"type": "string",
						"enum": [
							"text",
							"file",
							"product",
							"notion",
							"code_knowledge",
							"youtube"
						]
					},
					"batchId": {
						"type": "string"
					},
					"kaiSuggestion": {
						"type": "boolean"
					},
					"kaiMissingContext": {
						"type": "boolean"
					},
					"project": {
						"anyOf": [
							{
								"$ref": "#/components/schemas/Types.ObjectId"
							},
							{
								"type": "string"
							}
						]
					},
					"organisation": {
						"anyOf": [
							{
								"$ref": "#/components/schemas/Types.ObjectId"
							},
							{
								"type": "string"
							}
						]
					},
					"tags": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"externalId": {
						"type": "string"
					},
					"editedSections": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"analysisIdProduced": {
						"type": "string"
					},
					"sourceFiles": {
						"items": {
							"$ref": "#/components/schemas/AnswerSourceFile"
						},
						"type": "array"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"AnswerDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/AnswerI"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"CreateAnswerDTO": {
				"properties": {
					"question": {
						"type": "string"
					},
					"answer": {
						"type": "string"
					},
					"sourceName": {
						"type": "string"
					},
					"sourceLink": {
						"type": "string"
					},
					"tags": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"skipped": {
						"type": "boolean"
					},
					"fileProcessingId": {
						"type": "string"
					},
					"fileProcessingStatus": {
						"type": "string"
					},
					"fileProcessingError": {
						"type": "string"
					},
					"fileProcessingCheckUrl": {
						"type": "string"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"UpdateAnswerDTO": {
				"properties": {
					"question": {
						"type": "string"
					},
					"answer": {
						"type": "string"
					},
					"sourceName": {
						"type": "string"
					},
					"sourceLink": {
						"type": "string"
					},
					"tags": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"skipped": {
						"type": "boolean"
					},
					"fileProcessingId": {
						"type": "string"
					},
					"fileProcessingStatus": {
						"type": "string"
					},
					"fileProcessingError": {
						"type": "string"
					},
					"fileProcessingCheckUrl": {
						"type": "string"
					},
					"acknowledged": {
						"type": "boolean"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"ReplaceAnswerSectionDto": {
				"properties": {
					"sectionHeading": {
						"type": "string"
					},
					"newContent": {
						"type": "string"
					}
				},
				"required": [
					"sectionHeading",
					"newContent"
				],
				"type": "object",
				"additionalProperties": false
			},
			"DeleteAnswerSectionDto": {
				"properties": {
					"sectionHeading": {
						"type": "string"
					}
				},
				"required": [
					"sectionHeading"
				],
				"type": "object",
				"additionalProperties": false
			},
			"BotDocument": {
				"$ref": "#/components/schemas/FlattenMaps_T_"
			},
			"IfAny_typeofkaiFunctionsSchema.any.ObtainSchemaGeneric_typeofkaiFunctionsSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"testValues": {},
							"responseMode": {},
							"exampleResponse": {},
							"customDataFormat": {},
							"selectedFields": {},
							"dataAccessMode": {},
							"parameters": {},
							"certificates": {},
							"customAnswerPrompt": {
								"type": "string"
							},
							"project": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"headers": {},
							"organisation": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"description": {
								"type": "string"
							},
							"url": {
								"type": "string"
							},
							"name": {
								"type": "string"
							},
							"access": {
								"items": {
									"type": "string"
								},
								"type": "array"
							},
							"method": {
								"type": "string",
								"enum": [
									"GET",
									"DELETE",
									"POST",
									"PUT",
									"PATCH"
								]
							},
							"type": {
								"type": "string",
								"enum": [
									"qa",
									"action"
								]
							}
						},
						"required": [
							"access",
							"method",
							"type"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofkaiFunctionsSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofkaiFunctionsSchema.any.ObtainSchemaGeneric_typeofkaiFunctionsSchema.DocType__"
			},
			"KaiFunctionI": {
				"$ref": "#/components/schemas/InferSchemaType_typeofkaiFunctionsSchema_"
			},
			"KaiFunctionDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/KaiFunctionI"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"CreateKaiFunction": {
				"properties": {
					"name": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"access": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"description": {
						"type": "string"
					},
					"customAnswerPrompt": {
						"type": "string"
					},
					"certificates": {},
					"url": {
						"type": "string"
					},
					"headers": {},
					"parameters": {},
					"dataAccessMode": {},
					"selectedFields": {},
					"customDataFormat": {},
					"exampleResponse": {},
					"responseMode": {},
					"testValues": {},
					"method": {
						"type": "string"
					}
				},
				"required": [
					"name",
					"type",
					"access",
					"description",
					"customAnswerPrompt",
					"certificates",
					"url",
					"headers",
					"parameters",
					"dataAccessMode",
					"selectedFields",
					"customDataFormat",
					"exampleResponse",
					"responseMode",
					"testValues",
					"method"
				],
				"type": "object",
				"additionalProperties": false
			},
			"AxiosHeaderValue": {
				"anyOf": [
					{
						"$ref": "#/components/schemas/AxiosHeaders"
					},
					{
						"type": "string"
					},
					{
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					{
						"type": "number",
						"format": "double"
					},
					{
						"type": "boolean"
					}
				],
				"nullable": true
			},
			"RawAxiosHeaders": {
				"properties": {},
				"type": "object",
				"additionalProperties": {
					"$ref": "#/components/schemas/AxiosHeaderValue"
				}
			},
			"AxiosHeaders": {
				"$ref": "#/components/schemas/RawAxiosHeaders"
			},
			"Partial_RawAxiosHeaders-and-RawCommonResponseHeaders_": {
				"properties": {
					"Content-Length": {
						"$ref": "#/components/schemas/AxiosHeaderValue"
					},
					"Content-Encoding": {
						"$ref": "#/components/schemas/AxiosHeaderValue"
					},
					"Content-Type": {
						"$ref": "#/components/schemas/AxiosHeaderValue"
					},
					"Server": {
						"$ref": "#/components/schemas/AxiosHeaderValue"
					},
					"Cache-Control": {
						"$ref": "#/components/schemas/AxiosHeaderValue"
					},
					"set-cookie": {
						"items": {
							"type": "string"
						},
						"type": "array"
					}
				},
				"type": "object",
				"description": "Make all properties in T optional"
			},
			"RawAxiosResponseHeaders": {
				"$ref": "#/components/schemas/Partial_RawAxiosHeaders-and-RawCommonResponseHeaders_"
			},
			"AxiosResponseHeaders": {
				"allOf": [
					{
						"$ref": "#/components/schemas/RawAxiosResponseHeaders"
					},
					{
						"$ref": "#/components/schemas/AxiosHeaders"
					}
				]
			},
			"Partial_any_": {
				"properties": {},
				"type": "object",
				"description": "Make all properties in T optional"
			},
			"UpdateDomainDto": {
				"properties": {
					"senderType": {
						"type": "string"
					},
					"senderName": {
						"type": "string"
					},
					"senderEmail": {
						"type": "string"
					},
					"replyToName": {
						"type": "string"
					},
					"emailNativeReplyTo": {
						"type": "boolean"
					},
					"nativeReplyToEmail": {
						"type": "string"
					}
				},
				"required": [
					"senderType"
				],
				"type": "object",
				"additionalProperties": false
			},
			"WebCrawlerTaskDocument": {
				"$ref": "#/components/schemas/FlattenMaps_T_"
			},
			"HeaderDto": {
				"properties": {
					"key": {
						"type": "string"
					},
					"value": {
						"type": "string"
					}
				},
				"required": [
					"key",
					"value"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CreateWebCrawlerDto": {
				"properties": {
					"url": {
						"type": "string"
					},
					"followLinks": {
						"type": "boolean"
					},
					"excludePaths": {
						"type": "string"
					},
					"includePaths": {
						"type": "string"
					},
					"excludeTags": {
						"type": "string"
					},
					"includeTags": {
						"type": "string"
					},
					"isSitemap": {
						"type": "boolean"
					},
					"ignoreQueryParameters": {
						"type": "boolean"
					},
					"waitForResponse": {
						"type": "boolean"
					},
					"recrawl": {
						"type": "boolean"
					},
					"headers": {
						"items": {
							"$ref": "#/components/schemas/HeaderDto"
						},
						"type": "array"
					}
				},
				"required": [
					"url"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CustomerDataResponse": {
				"description": "DTO for customer data response",
				"properties": {
					"success": {
						"type": "boolean"
					},
					"message": {
						"type": "string"
					},
					"data": {
						"items": {
							"properties": {
								"createdAt": {
									"type": "string",
									"format": "date-time"
								},
								"events": {},
								"customData": {},
								"userId": {
									"type": "string"
								},
								"name": {
									"type": "string"
								},
								"email": {
									"type": "string"
								},
								"id": {
									"type": "string"
								}
							},
							"required": [
								"createdAt",
								"events",
								"customData",
								"userId",
								"name",
								"email",
								"id"
							],
							"type": "object"
						},
						"type": "array"
					}
				},
				"required": [
					"success"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CustomerDataRequestPayload": {
				"description": "DTO for customer data request webhook payload",
				"properties": {
					"shop_id": {
						"type": "number",
						"format": "double"
					},
					"shop_domain": {
						"type": "string"
					},
					"customer": {
						"properties": {
							"phone": {
								"type": "string"
							},
							"email": {
								"type": "string"
							},
							"id": {
								"type": "number",
								"format": "double"
							}
						},
						"required": [
							"email",
							"id"
						],
						"type": "object"
					},
					"orders_requested": {
						"type": "boolean"
					}
				},
				"required": [
					"shop_id",
					"shop_domain",
					"customer",
					"orders_requested"
				],
				"type": "object",
				"additionalProperties": false
			},
			"RedactionResponse": {
				"description": "DTO for redaction response",
				"properties": {
					"success": {
						"type": "boolean"
					},
					"message": {
						"type": "string"
					}
				},
				"required": [
					"success",
					"message"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CustomerRedactPayload": {
				"description": "DTO for customer data redaction webhook payload",
				"properties": {
					"shop_id": {
						"type": "number",
						"format": "double"
					},
					"shop_domain": {
						"type": "string"
					},
					"customer": {
						"properties": {
							"phone": {
								"type": "string"
							},
							"email": {
								"type": "string"
							},
							"id": {
								"type": "number",
								"format": "double"
							}
						},
						"required": [
							"email",
							"id"
						],
						"type": "object"
					}
				},
				"required": [
					"shop_id",
					"shop_domain",
					"customer"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ShopRedactPayload": {
				"description": "DTO for shop data redaction webhook payload",
				"properties": {
					"shop_id": {
						"type": "number",
						"format": "double"
					},
					"shop_domain": {
						"type": "string"
					}
				},
				"required": [
					"shop_id",
					"shop_domain"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CreateProjectDto": {
				"properties": {
					"name": {
						"type": "string"
					},
					"picture": {
						"type": "string"
					},
					"description": {
						"type": "string"
					}
				},
				"required": [
					"name"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CreateConversationDto": {
				"properties": {
					"title": {
						"type": "string"
					},
					"session": {
						"type": "string"
					},
					"channel": {},
					"processingTeam": {
						"type": "string"
					},
					"initiatedByAgent": {
						"type": "boolean"
					}
				},
				"required": [
					"title"
				],
				"type": "object",
				"additionalProperties": false
			},
			"EditorAIActionDto": {
				"properties": {
					"action": {
						"type": "string",
						"enum": [
							"emojify",
							"capitalize",
							"simplify",
							"fix-spelling-and-grammar",
							"shorten",
							"extend",
							"adjust-tone",
							"tldr",
							"translate",
							"complete",
							"rephrase",
							"ai-writer",
							"custom-regenerate",
							"prompt"
						]
					},
					"text": {
						"type": "string"
					},
					"data": {}
				},
				"required": [
					"action"
				],
				"type": "object",
				"additionalProperties": false
			},
			"IfAny_typeofroleSchema.any.ObtainSchemaGeneric_typeofroleSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"alias": {
								"type": "string"
							},
							"organisation": {
								"$ref": "#/components/schemas/ObjectId"
							},
							"description": {
								"type": "string"
							},
							"name": {
								"type": "string"
							},
							"permissionGroups": {
								"items": {
									"type": "string"
								},
								"type": "array"
							}
						},
						"required": [
							"permissionGroups"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofroleSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofroleSchema.any.ObtainSchemaGeneric_typeofroleSchema.DocType__"
			},
			"RoleI": {
				"$ref": "#/components/schemas/InferSchemaType_typeofroleSchema_"
			},
			"RoleDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/RoleI"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"IfAny_typeofinvitationSchema.any.ObtainSchemaGeneric_typeofinvitationSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"project": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"email": {
								"type": "string"
							},
							"organisation": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"role": {
								"type": "string"
							},
							"name": {
								"type": "string"
							},
							"type": {
								"type": "string",
								"enum": [
									"organisation",
									"project"
								]
							}
						},
						"required": [
							"role",
							"name",
							"type"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofinvitationSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofinvitationSchema.any.ObtainSchemaGeneric_typeofinvitationSchema.DocType__"
			},
			"Invitation": {
				"$ref": "#/components/schemas/InferSchemaType_typeofinvitationSchema_"
			},
			"InvitationDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/Invitation"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"CreateOrganisationDto": {
				"properties": {
					"name": {
						"type": "string"
					},
					"picture": {
						"type": "string"
					},
					"masterOrganisationId": {
						"type": "string"
					},
					"homepage": {
						"type": "string"
					}
				},
				"required": [
					"name"
				],
				"type": "object",
				"additionalProperties": false
			},
			"FetchWebsiteCiDto": {
				"properties": {
					"url": {
						"type": "string"
					}
				},
				"required": [
					"url"
				],
				"type": "object",
				"additionalProperties": false
			},
			"UpdateUserRoleDto": {
				"properties": {
					"role": {
						"type": "string"
					}
				},
				"required": [
					"role"
				],
				"type": "object",
				"additionalProperties": false
			},
			"UserType": {
				"enum": [
					"default",
					"sso",
					"service_account"
				],
				"type": "string"
			},
			"Pick_InferSchemaType_typeofuserSchema_.Exclude_keyofInferSchemaType_typeofuserSchema_.notificationPreferences__": {
				"properties": {
					"_id": {
						"properties": {
							"isValid": {
								"properties": {},
								"type": "object"
							},
							"createFromHexString": {
								"properties": {},
								"type": "object"
							},
							"createFromTime": {
								"properties": {},
								"type": "object"
							},
							"generate": {
								"properties": {},
								"type": "object"
							},
							"cacheHexString": {},
							"prototype": {
								"$ref": "#/components/schemas/ObjectId"
							}
						},
						"type": "object"
					},
					"hidden": {
						"type": "boolean"
					},
					"createdAt": {
						"$ref": "#/components/schemas/NativeDate"
					},
					"email": {
						"type": "string"
					},
					"updatedAt": {
						"$ref": "#/components/schemas/NativeDate"
					},
					"userType": {
						"$ref": "#/components/schemas/UserType"
					},
					"identityProvider": {
						"properties": {
							"providerId": {
								"type": "string"
							},
							"userId": {
								"type": "string"
							}
						},
						"type": "object"
					},
					"password": {
						"type": "string"
					},
					"firstName": {
						"type": "string"
					},
					"lastName": {
						"type": "string"
					},
					"profileImageUrl": {
						"type": "string"
					},
					"lastSeen": {
						"type": "string",
						"format": "date-time"
					},
					"lastAutoAssign": {
						"type": "string",
						"format": "date-time"
					},
					"available": {
						"type": "boolean"
					},
					"unavailableProjects": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"services": {
						"properties": {
							"default": {}
						},
						"type": "object"
					},
					"serviceAccountApiToken": {
						"type": "string"
					},
					"confirmed": {
						"type": "boolean"
					},
					"referral": {
						"type": "string"
					},
					"code": {
						"type": "string"
					},
					"codeCreatedAt": {
						"type": "string",
						"format": "date-time"
					},
					"otp": {
						"type": "string"
					},
					"otpCreatedAt": {
						"type": "string",
						"format": "date-time"
					},
					"userRole": {
						"type": "string"
					},
					"knewGleapFrom": {
						"type": "string"
					},
					"userUsage": {
						"type": "string"
					},
					"utm_source": {
						"type": "string"
					},
					"utm_medium": {
						"type": "string"
					},
					"utm_term": {
						"type": "string"
					},
					"utm_content": {
						"type": "string"
					},
					"utm_campaign": {
						"type": "string"
					},
					"gaClientId": {
						"type": "string"
					},
					"gaSessionId": {
						"type": "string"
					},
					"marketingTracking": {
						"properties": {
							"generateLeadTrackedAt": {
								"type": "string",
								"format": "date-time"
							},
							"signupTrackedAt": {
								"type": "string",
								"format": "date-time"
							}
						},
						"type": "object"
					},
					"completedOnboarding": {
						"type": "boolean"
					},
					"onboardingFlow": {
						"type": "string"
					},
					"mastercardUser": {
						"type": "boolean"
					},
					"fcmTokens": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"twoFactorAuthentication": {
						"properties": {
							"currentWebAuthnChallenge": {
								"type": "string"
							},
							"methods": {
								"properties": {
									"webAuthn": {
										"items": {
											"properties": {
												"counter": {
													"type": "number",
													"format": "double"
												},
												"publicKey": {
													"type": "string"
												},
												"credentialID": {
													"type": "string"
												},
												"name": {
													"type": "string"
												}
											},
											"type": "object"
										},
										"type": "array"
									}
								},
								"required": [
									"webAuthn"
								],
								"type": "object"
							},
							"isEnabled": {
								"type": "boolean"
							}
						},
						"type": "object"
					},
					"notificationSettings": {
						"properties": {
							"preventNotificationsWhereICreator": {
								"type": "boolean"
							},
							"directlySendNotifications": {
								"type": "boolean"
							},
							"sendEmailOnlyWhenOffline": {
								"type": "boolean"
							}
						},
						"required": [
							"preventNotificationsWhereICreator",
							"directlySendNotifications",
							"sendEmailOnlyWhenOffline"
						],
						"type": "object"
					}
				},
				"required": [
					"createdAt",
					"updatedAt"
				],
				"type": "object",
				"description": "From T, pick a set of properties whose keys are in the union K"
			},
			"Omit_InferSchemaType_typeofuserSchema_.notificationPreferences_": {
				"$ref": "#/components/schemas/Pick_InferSchemaType_typeofuserSchema_.Exclude_keyofInferSchemaType_typeofuserSchema_.notificationPreferences__",
				"description": "Construct a type with the properties of T except for those in type K."
			},
			"NotificationPreference": {
				"properties": {
					"push": {
						"type": "boolean"
					},
					"inApp": {
						"type": "boolean"
					},
					"email": {
						"type": "boolean"
					}
				},
				"required": [
					"push",
					"inApp",
					"email"
				],
				"type": "object",
				"additionalProperties": false
			},
			"NotificationPreferences": {
				"properties": {
					"all-ticket-messages": {
						"$ref": "#/components/schemas/NotificationPreference"
					},
					"all-sla-breached": {
						"$ref": "#/components/schemas/NotificationPreference"
					},
					"personal-ticket-messages": {
						"$ref": "#/components/schemas/NotificationPreference"
					},
					"all-created-tickets": {
						"$ref": "#/components/schemas/NotificationPreference"
					},
					"personal-assignment": {
						"$ref": "#/components/schemas/NotificationPreference"
					},
					"personal-mention": {
						"$ref": "#/components/schemas/NotificationPreference"
					},
					"team-ticket-messages": {
						"$ref": "#/components/schemas/NotificationPreference"
					},
					"team-ticket-assignment": {
						"$ref": "#/components/schemas/NotificationPreference"
					}
				},
				"required": [
					"all-ticket-messages",
					"all-sla-breached",
					"personal-ticket-messages",
					"all-created-tickets",
					"personal-assignment",
					"personal-mention",
					"team-ticket-messages",
					"team-ticket-assignment"
				],
				"type": "object",
				"additionalProperties": false
			},
			"UserI": {
				"allOf": [
					{
						"$ref": "#/components/schemas/Omit_InferSchemaType_typeofuserSchema_.notificationPreferences_"
					},
					{
						"properties": {
							"notificationPreferences": {
								"$ref": "#/components/schemas/NotificationPreferences"
							}
						},
						"required": [
							"notificationPreferences"
						],
						"type": "object"
					}
				]
			},
			"UserDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/UserI"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"UpdateUserDto": {
				"properties": {
					"firstName": {
						"type": "string"
					},
					"lastName": {
						"type": "string"
					},
					"userRole": {
						"type": "string"
					},
					"knewGleapFrom": {
						"type": "string"
					},
					"userUsage": {
						"type": "string"
					},
					"profileImageUrl": {
						"type": "string"
					},
					"completedOnboarding": {
						"type": "boolean"
					},
					"oldpassword": {
						"type": "string"
					},
					"available": {
						"type": "boolean"
					},
					"unavailableProjects": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"notificationPreferences": {},
					"notificationSettings": {}
				},
				"type": "object",
				"additionalProperties": false
			},
			"CreateUserDto": {
				"properties": {
					"name": {
						"type": "string"
					},
					"email": {
						"type": "string"
					},
					"password": {
						"type": "string"
					},
					"referral": {
						"type": "string"
					},
					"utm_source": {
						"type": "string",
						"nullable": true
					},
					"utm_medium": {
						"type": "string",
						"nullable": true
					},
					"utm_term": {
						"type": "string",
						"nullable": true
					},
					"utm_content": {
						"type": "string",
						"nullable": true
					},
					"utm_campaign": {
						"type": "string",
						"nullable": true
					},
					"onboardingFlow": {
						"type": "string"
					},
					"turnstileToken": {
						"type": "string"
					},
					"gaClientId": {
						"type": "string"
					},
					"gaSessionId": {
						"type": "string"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"BarChartStatisticTypes": {
				"enum": [
					"NEW_TICKETS_COUNT",
					"TICKET_CLOSE_COUNT",
					"REPLIES_COUNT",
					"MEDIAN_FIRST_RESPONSE_TIME",
					"MEDIAN_TIME_TO_CLOSE",
					"MEDIAN_REPLY_TIME",
					"MEDIAN_CONVERSATION_RATING",
					"MEDIAN_REASSIGNMENT_COUNT",
					"MEDIAN_TIME_TO_FIRST_ASSIGNMENT",
					"HELP_CENTER_ARTICLE_VIEW_COUNT",
					"NEWS_VIEW_COUNT",
					"CHANGELOG_VIEW_COUNT",
					"KAI_INVOLVED",
					"MESSAGE_COUNT",
					"AI_QUESTIONS_ASKED_COUNT",
					"CUSTOMER_SUPPORT_REQUESTED",
					"SLA_BREACHES_COUNT",
					"SLA_STARTED_COUNT",
					"TICKET_CREATION_GROUPED_BY_DATE_AND_TAGS",
					"AI_RATING_GROUPED_BY_DATE",
					"WIDGET_OPENED_COUNT_BY_DATE",
					"HOME_MENU_CLICK_COUNT_BY_DATE",
					"CONVERSATION_STARTED_COUNT_BY_DATE"
				],
				"type": "string"
			},
			"AgentBarChartTypes": {
				"enum": [
					"AGENT_RUNS_COUNT_BY_DATE",
					"AGENT_COST_BY_DATE",
					"AGENT_TASKS_CREATED_BY_DATE",
					"AGENT_TASKS_RESOLVED_BY_DATE"
				],
				"type": "string"
			},
			"FactTypes": {
				"enum": [
					"MEDIAN_FIRST_RESPONSE_TIME",
					"MEDIAN_TIME_TO_CLOSE",
					"TICKET_CLOSE_COUNT",
					"MEDIAN_CONVERSATION_RATING",
					"TICKET_MEDIAN_REPLY_TIME",
					"MEDIAN_FIRST_ASSIGNMENT_TIME",
					"NEW_TICKETS_COUNT",
					"TICKET_COUNT_BY_QUERY",
					"TICKET_REPLIES_COUNT",
					"TICKET_WORKED_ON_COUNT",
					"TICKETS_WITH_OTHER_STATUS_THEN_OPEN_OR_CLOSED_COUNT",
					"HELP_CENTER_ARTICLE_VIEW_COUNT",
					"NEWS_VIEW_COUNT",
					"CHANGELOG_VIEW_COUNT",
					"KAI_ANSWERED_COUNT",
					"KAI_NO_ANSWER_COUNT",
					"KAI_ROUTED_TO_AGENT_RATE_COUNT",
					"KAI_DEFLECTION_RATE",
					"KAI_DEFLECTION_RATE_UNIQUE_USERS",
					"KAI_ROUTED_TO_AGENT_RATE_UNIQUE_USERS",
					"KAI_ROUTED_TO_AGENT_RATE",
					"KAI_POSITIVE_FEEDBACK_RATE",
					"KAI_NEGATIVE_FEEDBACK_RATE",
					"KAI_POSITIVE_FEEDBACK_PERCENTAGE",
					"SNAPSHOT_AGENTS_ONLINE_COUNT",
					"SNAPSHOT_OPEN_TICKETS",
					"MESSAGE_COUNT",
					"AI_QUESTIONS_ASKED_COUNT",
					"SLA_BREACHES_COUNT",
					"SLA_COMPLIANCE",
					"SLA_NOT_COMPLIANCE",
					"SLA_BREACHES_COUNT",
					"SLA_NO_BREACHES_COUNT",
					"TICKETS_WITHOUT_COMMENTS_RATE",
					"KAI_DEFLECTION_COUNT",
					"KAI_ROUTED_TO_AGENT_COUNT",
					"WIDGET_OPENED_COUNT",
					"HOME_MENU_CLICK_COUNT",
					"CONVERSATION_STARTED_COUNT"
				],
				"type": "string"
			},
			"AgentFactTypes": {
				"enum": [
					"AGENT_RUNS_COUNT",
					"AGENT_RESOLUTION_RATE",
					"AGENT_ESCALATION_RATE",
					"AGENT_MEDIAN_DURATION",
					"AGENT_TOTAL_COST",
					"AGENT_TOTAL_TOKENS",
					"AGENT_TASKS_CREATED_COUNT",
					"AGENT_TASKS_COMPLETION_RATE",
					"AGENT_TASKS_OPEN_COUNT",
					"AGENT_TASKS_MEDIAN_RESOLUTION_TIME"
				],
				"type": "string"
			},
			"StatisticListTypes": {
				"enum": [
					"AVERAGE_RATING_PER_USER_RESULT_LIST",
					"TEAM_PERFORMANCE_LIST",
					"ARTICLE_SEARCH_RESULT_LIST",
					"ARTICLE_SEARCH_WITH_NO_RESULT_LIST",
					"ARTICLE_VIEW_STATISTICS_LIST",
					"TICKETS_WITH_RATING_LIST",
					"LIVE_AGENTS_TEAM",
					"SNAPSHOT_TICKETS",
					"OPEN_TICKETS_PER_AGENT",
					"LATEST_NEGATIVE_AI_FEEDBACK",
					"SLA_REPORTS_LIST",
					"HOME_MENU_CLICKS_LIST"
				],
				"type": "string"
			},
			"AgentListTypes": {
				"enum": [
					"AGENT_PERFORMANCE_LIST",
					"AGENT_TOOL_USAGE_LIST",
					"AGENT_TASKS_BY_AGENT_LIST",
					"OPEN_AGENT_TASKS_LIST"
				],
				"type": "string"
			},
			"HeatmapTypes": {
				"enum": [
					"BUSIEST_HOURS_PER_WEEKDAY",
					"BUSIEST_COMMENTS_PER_WEEKDAY"
				],
				"type": "string"
			},
			"SSOProviderConfigDto": {
				"properties": {
					"name": {
						"type": "string"
					},
					"issuerUrl": {
						"type": "string"
					},
					"clientId": {
						"type": "string"
					},
					"clientSecret": {
						"type": "string"
					},
					"scope": {
						"type": "string"
					},
					"defaultRole": {
						"type": "string"
					},
					"enabled": {
						"type": "boolean"
					},
					"allowedDomains": {
						"items": {
							"type": "string"
						},
						"type": "array"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"Partial_SSOProviderConfigDto_": {
				"properties": {
					"name": {
						"type": "string"
					},
					"issuerUrl": {
						"type": "string"
					},
					"clientId": {
						"type": "string"
					},
					"clientSecret": {
						"type": "string"
					},
					"scope": {
						"type": "string"
					},
					"defaultRole": {
						"type": "string"
					},
					"enabled": {
						"type": "boolean"
					},
					"allowedDomains": {
						"items": {
							"type": "string"
						},
						"type": "array"
					}
				},
				"type": "object",
				"description": "Make all properties in T optional"
			},
			"AssetType": {
				"enum": [
					"image",
					"document",
					"video",
					"audio",
					"other"
				],
				"type": "string"
			},
			"IfAny_typeofassetSchema.any.ObtainSchemaGeneric_typeofassetSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"associatedEntity": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"description": {
								"type": "string"
							},
							"uploadedBy": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"assetType": {
								"$ref": "#/components/schemas/AssetType"
							},
							"mimeType": {
								"type": "string"
							},
							"fileUrl": {
								"type": "string"
							},
							"filename": {
								"type": "string"
							},
							"tags": {
								"items": {
									"type": "string"
								},
								"type": "array"
							},
							"project": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							}
						},
						"required": [
							"uploadedBy",
							"assetType",
							"mimeType",
							"fileUrl",
							"filename",
							"tags",
							"project"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofassetSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofassetSchema.any.ObtainSchemaGeneric_typeofassetSchema.DocType__"
			},
			"Asset": {
				"$ref": "#/components/schemas/InferSchemaType_typeofassetSchema_"
			},
			"AssetDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/Asset"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"CreateAssetDto": {
				"properties": {
					"filename": {
						"type": "string"
					},
					"fileUrl": {
						"type": "string"
					},
					"mimeType": {
						"type": "string"
					},
					"assetType": {
						"$ref": "#/components/schemas/AssetType"
					},
					"associatedEntity": {
						"type": "string"
					},
					"tags": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"description": {
						"type": "string"
					}
				},
				"required": [
					"filename",
					"fileUrl",
					"mimeType"
				],
				"type": "object",
				"additionalProperties": false
			},
			"NoteType": {
				"enum": [
					"default",
					"phone_call",
					"meeting"
				],
				"type": "string"
			},
			"IfAny_typeofnoteSchema.any.ObtainSchemaGeneric_typeofnoteSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"createdBy": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"associatedEntity": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"metaData": {},
							"project": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"content": {},
							"title": {
								"type": "string"
							},
							"type": {
								"$ref": "#/components/schemas/NoteType"
							}
						},
						"required": [
							"associatedEntity",
							"metaData",
							"project",
							"content",
							"title",
							"type"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofnoteSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofnoteSchema.any.ObtainSchemaGeneric_typeofnoteSchema.DocType__"
			},
			"Note": {
				"$ref": "#/components/schemas/InferSchemaType_typeofnoteSchema_"
			},
			"NoteDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/Note"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"CreateNoteDto": {
				"properties": {
					"title": {
						"type": "string"
					},
					"content": {},
					"associatedEntity": {
						"$ref": "#/components/schemas/Types.ObjectId"
					},
					"type": {
						"$ref": "#/components/schemas/NoteType"
					}
				},
				"required": [
					"title",
					"content"
				],
				"type": "object",
				"additionalProperties": false
			},
			"UpdateNoteDto": {
				"properties": {
					"title": {
						"type": "string"
					},
					"content": {},
					"associatedEntity": {
						"$ref": "#/components/schemas/Types.ObjectId"
					},
					"type": {
						"$ref": "#/components/schemas/NoteType"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"IfAny_typeofwebhookSchema.any.ObtainSchemaGeneric_typeofwebhookSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"filters": {},
							"events": {
								"items": {
									"type": "string"
								},
								"type": "array"
							},
							"project": {
								"$ref": "#/components/schemas/ObjectId"
							},
							"headers": {
								"items": {
									"properties": {
										"value": {
											"type": "string"
										},
										"key": {
											"type": "string"
										}
									},
									"required": [
										"value",
										"key"
									],
									"type": "object"
								},
								"type": "array"
							},
							"enabled": {
								"type": "boolean"
							},
							"url": {
								"type": "string"
							},
							"name": {
								"type": "string"
							}
						},
						"required": [
							"filters",
							"events",
							"project",
							"headers",
							"enabled",
							"url",
							"name"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofwebhookSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofwebhookSchema.any.ObtainSchemaGeneric_typeofwebhookSchema.DocType__"
			},
			"WebhookI": {
				"$ref": "#/components/schemas/InferSchemaType_typeofwebhookSchema_"
			},
			"WebhookDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/WebhookI"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"WebhookDto": {
				"properties": {
					"name": {
						"type": "string"
					},
					"url": {
						"type": "string"
					},
					"enabled": {
						"type": "boolean"
					},
					"events": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"headers": {
						"items": {
							"$ref": "#/components/schemas/HeaderDto"
						},
						"type": "array"
					},
					"filters": {
						"properties": {
							"ticketTypes": {
								"items": {
									"type": "string"
								},
								"type": "array"
							}
						},
						"type": "object"
					}
				},
				"required": [
					"name",
					"url"
				],
				"type": "object",
				"additionalProperties": false
			},
			"FlattenMaps_any_": {
				"properties": {},
				"type": "object"
			},
			"KnowledgeSearchResult": {
				"properties": {
					"sourceId": {
						"type": "string"
					},
					"sourceType": {
						"type": "string"
					},
					"title": {
						"type": "string"
					},
					"content": {
						"type": "string"
					},
					"url": {
						"type": "string"
					}
				},
				"required": [
					"sourceId",
					"sourceType",
					"content"
				],
				"type": "object",
				"additionalProperties": false
			},
			"KnowledgeSearchResponse": {
				"properties": {
					"results": {
						"items": {
							"$ref": "#/components/schemas/KnowledgeSearchResult"
						},
						"type": "array"
					},
					"count": {
						"type": "number",
						"format": "double"
					}
				},
				"required": [
					"results",
					"count"
				],
				"type": "object",
				"additionalProperties": false
			},
			"KnowledgeSearchDto": {
				"properties": {
					"query": {
						"type": "string"
					},
					"documentTypeFilter": {
						"type": "string"
					},
					"internally": {
						"type": "boolean"
					},
					"lang": {
						"type": "string"
					},
					"limit": {
						"type": "number",
						"format": "double"
					}
				},
				"required": [
					"query"
				],
				"type": "object",
				"additionalProperties": false
			},
			"SimilarTicketResult": {
				"properties": {
					"ticketId": {
						"type": "string"
					},
					"title": {
						"type": "string"
					},
					"similarity": {
						"type": "number",
						"format": "double"
					},
					"content": {
						"type": "string"
					}
				},
				"required": [
					"ticketId",
					"title",
					"similarity",
					"content"
				],
				"type": "object",
				"additionalProperties": false
			},
			"SimilarTicketsResponse": {
				"properties": {
					"results": {
						"items": {
							"$ref": "#/components/schemas/SimilarTicketResult"
						},
						"type": "array"
					},
					"count": {
						"type": "number",
						"format": "double"
					}
				},
				"required": [
					"results",
					"count"
				],
				"type": "object",
				"additionalProperties": false
			},
			"SimilarTicketsSearchDto": {
				"properties": {
					"query": {
						"type": "string"
					},
					"excludeTicketId": {
						"type": "string"
					},
					"limit": {
						"type": "number",
						"format": "double"
					}
				},
				"required": [
					"query"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CompleteTaskRequest": {
				"properties": {
					"message": {
						"type": "string"
					},
					"customerMessage": {
						"type": "string"
					},
					"feedback": {
						"type": "string"
					},
					"questionAnswers": {
						"items": {
							"items": {
								"type": "string"
							},
							"type": "array"
						},
						"type": "array"
					}
				},
				"required": [
					"message"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ApproveTaskRequest": {
				"properties": {
					"message": {
						"type": "string"
					},
					"customerMessage": {
						"type": "string"
					},
					"feedback": {
						"type": "string"
					},
					"questionAnswers": {
						"items": {
							"items": {
								"type": "string"
							},
							"type": "array"
						},
						"type": "array"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"RejectTaskRequest": {
				"properties": {
					"message": {
						"type": "string"
					},
					"feedback": {
						"type": "string"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"RedirectTaskRequest": {
				"properties": {
					"message": {
						"type": "string"
					}
				},
				"required": [
					"message"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CreateTaskNoteBody": {
				"properties": {
					"content": {}
				},
				"required": [
					"content"
				],
				"type": "object",
				"additionalProperties": false
			},
			"TranslationEntryType": {
				"description": "Supported translatable entity types.\nUse as the `type` query parameter on GET /translations/entries to filter results.",
				"enum": [
					"article",
					"collection",
					"emailtemplate",
					"statictranslation"
				],
				"type": "string"
			},
			"PutTranslationEntryDto": {
				"properties": {
					"language": {
						"type": "string",
						"description": "The language code to set the translation for (e.g., \"en\", \"de\", \"fr\")."
					},
					"fields": {
						"description": "Key-value pairs of translatable fields.\nKeys depend on the entity type (e.g., \"title\", \"description\", \"content\" for articles).\nValues are plain text or HTML strings depending on the field type.",
						"example": {
							"title": "Getting Started",
							"description": "Learn the basics",
							"content": "<p>Welcome</p>"
						}
					}
				},
				"required": [
					"language",
					"fields"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ChatCompletionResult": {
				"properties": {
					"id": {
						"type": "string"
					},
					"object": {
						"type": "string"
					},
					"created": {
						"type": "number",
						"format": "double"
					},
					"model": {
						"type": "string"
					},
					"provider": {
						"type": "string"
					},
					"choices": {
						"items": {
							"properties": {
								"finish_reason": {
									"type": "string"
								},
								"message": {
									"properties": {
										"content": {
											"type": "string"
										},
										"role": {
											"type": "string"
										}
									},
									"required": [
										"content",
										"role"
									],
									"type": "object"
								},
								"index": {
									"type": "number",
									"format": "double"
								}
							},
							"required": [
								"finish_reason",
								"message",
								"index"
							],
							"type": "object"
						},
						"type": "array"
					},
					"usage": {
						"properties": {
							"total_tokens": {
								"type": "number",
								"format": "double"
							},
							"completion_tokens": {
								"type": "number",
								"format": "double"
							},
							"prompt_tokens": {
								"type": "number",
								"format": "double"
							}
						},
						"required": [
							"total_tokens",
							"completion_tokens",
							"prompt_tokens"
						],
						"type": "object"
					}
				},
				"required": [
					"id",
					"object",
					"created",
					"model",
					"provider",
					"choices",
					"usage"
				],
				"type": "object",
				"additionalProperties": false
			},
			"TokenCostEstimateUsageResult": {
				"properties": {
					"model": {
						"type": "string"
					},
					"providerModel": {
						"type": "string"
					},
					"inputTokens": {
						"type": "number",
						"format": "double"
					},
					"cachedInputTokens": {
						"type": "number",
						"format": "double"
					},
					"cacheWriteInputTokens": {
						"type": "number",
						"format": "double"
					},
					"outputTokens": {
						"type": "number",
						"format": "double"
					},
					"reasoningTokens": {
						"type": "number",
						"format": "double"
					},
					"rawCostUsd": {
						"type": "number",
						"format": "double",
						"description": "Raw provider cost in USD (no customer markup). Returned alone —\nthe previous `costUsd` + `costFactor` fields were dropped because\nexposing both let any caller recover the markup multiplier with a\nsingle division."
					}
				},
				"required": [
					"model",
					"providerModel",
					"inputTokens",
					"cachedInputTokens",
					"cacheWriteInputTokens",
					"outputTokens",
					"reasoningTokens",
					"rawCostUsd"
				],
				"type": "object",
				"additionalProperties": false
			},
			"TokenCostEstimateResult": {
				"properties": {
					"usages": {
						"items": {
							"$ref": "#/components/schemas/TokenCostEstimateUsageResult"
						},
						"type": "array"
					},
					"rawCostUsd": {
						"type": "number",
						"format": "double",
						"description": "Sum of raw provider cost across the requested usages."
					}
				},
				"required": [
					"usages",
					"rawCostUsd"
				],
				"type": "object",
				"additionalProperties": false
			},
			"TokenCostEstimateUsageInput": {
				"properties": {
					"model": {
						"type": "string"
					},
					"inputTokens": {
						"type": "number",
						"format": "double"
					},
					"outputTokens": {
						"type": "number",
						"format": "double"
					},
					"reasoningTokens": {
						"type": "number",
						"format": "double"
					},
					"cachedInputTokens": {
						"type": "number",
						"format": "double"
					},
					"cacheWriteInputTokens": {
						"type": "number",
						"format": "double"
					}
				},
				"required": [
					"model"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CloudSessionModel": {
				"type": "string",
				"enum": [
					"anthropic/claude-fable-5",
					"anthropic/claude-sonnet-4-6",
					"anthropic/claude-opus-4-8",
					"anthropic/claude-haiku-4-5",
					"openai/gpt-5.5",
					"openai/gpt-5.4-mini",
					"google/gemini-3.1-pro-preview",
					"google/gemini-3.5-flash",
					"google/gemini-3-flash-preview",
					"google/gemini-3.1-flash-lite",
					"xai/grok-4.3",
					"openrouter/moonshotai/kimi-k2.7-code",
					"openrouter/moonshotai/kimi-k2.6",
					"openrouter/minimax/minimax-m3",
					"openrouter/qwen/qwen3.6-plus",
					"openrouter/deepseek/deepseek-v4-pro",
					"openrouter/deepseek/deepseek-v4-flash"
				]
			},
			"CloudSessionAgent": {
				"type": "string",
				"enum": [
					"plan",
					"build"
				]
			},
			"CloudSessionEffort": {
				"type": "string",
				"enum": [
					"low",
					"medium",
					"high",
					"extra_high",
					"max"
				]
			},
			"KaiAttachmentDto": {
				"description": "Attachment payload sent with Kai Code messages. Mirrors\n`AttachmentDto` from the ticket-message DTO so the Frontend reuses\nthe same upload flow (R2 → CDN URL) for both surfaces.",
				"properties": {
					"name": {
						"type": "string"
					},
					"url": {
						"type": "string"
					},
					"type": {
						"type": "string"
					}
				},
				"required": [
					"name",
					"url",
					"type"
				],
				"type": "object",
				"additionalProperties": false
			},
			"KaiCodeMcpComposio": {
				"properties": {
					"connectedAccountId": {
						"type": "string"
					},
					"appKey": {
						"type": "string"
					},
					"logo": {
						"type": "string"
					}
				},
				"required": [
					"connectedAccountId",
					"appKey"
				],
				"type": "object",
				"additionalProperties": false
			},
			"KaiCodeMcpServerStatus": {
				"properties": {
					"ok": {
						"type": "boolean"
					},
					"checkedAt": {
						"type": "string"
					},
					"toolCount": {
						"type": "number",
						"format": "double"
					},
					"errorMessage": {
						"type": "string"
					},
					"stderrTail": {
						"type": "string"
					},
					"durationMs": {
						"type": "number",
						"format": "double"
					}
				},
				"required": [
					"ok",
					"checkedAt"
				],
				"type": "object",
				"additionalProperties": false
			},
			"KaiCodeMcpServer": {
				"properties": {
					"id": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"transport": {
						"type": "string",
						"enum": [
							"stdio",
							"http"
						]
					},
					"command": {
						"type": "string"
					},
					"args": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"env": {},
					"url": {
						"type": "string"
					},
					"enabled": {
						"type": "boolean"
					},
					"disabledTools": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"composio": {
						"$ref": "#/components/schemas/KaiCodeMcpComposio"
					},
					"preset": {
						"type": "string"
					},
					"customHeaders": {},
					"lastStatus": {
						"$ref": "#/components/schemas/KaiCodeMcpServerStatus"
					}
				},
				"required": [
					"id",
					"name",
					"transport",
					"enabled"
				],
				"type": "object",
				"additionalProperties": false
			},
			"KaiCodePostMergeMode": {
				"type": "string",
				"enum": [
					"none",
					"task",
					"auto_message"
				]
			},
			"KaiCodePostMergeBehavior": {
				"properties": {
					"mode": {
						"$ref": "#/components/schemas/KaiCodePostMergeMode"
					},
					"autoMessageDelayMinutes": {
						"type": "number",
						"format": "double"
					}
				},
				"required": [
					"mode",
					"autoMessageDelayMinutes"
				],
				"type": "object",
				"additionalProperties": false
			},
			"KaiCodeSettings": {
				"properties": {
					"mcpServers": {
						"items": {
							"$ref": "#/components/schemas/KaiCodeMcpServer"
						},
						"type": "array"
					},
					"customInstructions": {
						"type": "string"
					},
					"resolutionAnalystModel": {
						"type": "string",
						"nullable": true
					},
					"resolutionAnalystEffort": {
						"type": "string",
						"nullable": true
					},
					"defaultSessionModel": {
						"type": "string",
						"nullable": true
					},
					"postMergeBehavior": {
						"$ref": "#/components/schemas/KaiCodePostMergeBehavior"
					},
					"customerReplyInstructions": {
						"type": "string"
					}
				},
				"required": [
					"mcpServers",
					"customInstructions",
					"resolutionAnalystModel",
					"resolutionAnalystEffort",
					"defaultSessionModel",
					"postMergeBehavior",
					"customerReplyInstructions"
				],
				"type": "object",
				"additionalProperties": false
			},
			"KaiCodeMcpServerInput": {
				"properties": {
					"id": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"transport": {
						"type": "string",
						"enum": [
							"stdio",
							"http"
						]
					},
					"command": {
						"type": "string"
					},
					"args": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"env": {},
					"url": {
						"type": "string"
					},
					"enabled": {
						"type": "boolean"
					},
					"disabledTools": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"composio": {
						"$ref": "#/components/schemas/KaiCodeMcpComposio"
					},
					"preset": {
						"type": "string"
					},
					"customHeaders": {}
				},
				"required": [
					"name"
				],
				"type": "object",
				"additionalProperties": false
			},
			"Partial_KaiCodePostMergeBehavior_": {
				"properties": {
					"mode": {
						"$ref": "#/components/schemas/KaiCodePostMergeMode"
					},
					"autoMessageDelayMinutes": {
						"type": "number",
						"format": "double"
					}
				},
				"type": "object",
				"description": "Make all properties in T optional"
			},
			"ModelProvider": {
				"type": "string",
				"enum": [
					"anthropic",
					"openai",
					"google",
					"xai",
					"openrouter",
					"mistral",
					"deepseek",
					"local"
				]
			},
			"AiModelCost": {
				"properties": {
					"input": {
						"type": "number",
						"format": "double"
					},
					"cachedInput": {
						"type": "number",
						"format": "double"
					},
					"cacheWriteInput": {
						"type": "number",
						"format": "double"
					},
					"output": {
						"type": "number",
						"format": "double"
					},
					"longContextThreshold": {
						"type": "number",
						"format": "double"
					},
					"longInputMultiplier": {
						"type": "number",
						"format": "double"
					},
					"longOutputMultiplier": {
						"type": "number",
						"format": "double"
					}
				},
				"required": [
					"input",
					"output"
				],
				"type": "object",
				"additionalProperties": false
			},
			"AiModelCapabilities": {
				"properties": {
					"chat": {
						"type": "boolean"
					},
					"vision": {
						"type": "boolean"
					},
					"tools": {
						"type": "boolean"
					},
					"streaming": {
						"type": "boolean"
					},
					"transcription": {
						"type": "boolean"
					},
					"reasoning": {
						"type": "boolean"
					},
					"minimalReasoning": {
						"type": "boolean"
					},
					"temperatureUnsupported": {
						"type": "boolean",
						"description": "Anthropic models that reject `temperature` (claude-opus-4-8)."
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"AiModelPickers": {
				"description": "Per-runtime UI-picker visibility.\n\n`kaiAgent`            → Kai default support agent dropdown\n`kaiCodeCloud`        → Kai Code cloud runtime model picker\n`kaiCodeOpenCode`     → Kai Code desktop OpenCode runtime model picker\n\nModels excluded from every picker but still in the catalog are\neither subagent-only (e.g. Kimi K2.5) or special-purpose (transcription,\nCodex CLI) — they appear elsewhere via `capabilities.transcription`\nor via the static `staticModels` list of CLI-only runtimes.",
				"properties": {
					"kaiAgent": {
						"type": "boolean"
					},
					"kaiCodeCloud": {
						"type": "boolean"
					},
					"kaiCodeOpenCode": {
						"type": "boolean"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"ModelEffort": {
				"type": "string",
				"enum": [
					"low",
					"medium",
					"high",
					"extra_high",
					"max"
				]
			},
			"ModelIconKey": {
				"type": "string",
				"enum": [
					"anthropic",
					"openai",
					"google",
					"xai",
					"meta",
					"mistral",
					"cohere",
					"kimi",
					"minimax",
					"qwen",
					"deepseek",
					"glm",
					"local"
				]
			},
			"AiModelPublicDto": {
				"description": "Public DTO. Strips internal-only fields (`providerRoute` — exposes\nAPI-key env names) and any markup-related metadata. Customer-facing\ncost figures (`averageCostPerAnswerUsd`) are pre-computed server-side\nso the Frontend never needs the markup multiplier.",
				"properties": {
					"id": {
						"type": "string"
					},
					"displayName": {
						"type": "string"
					},
					"shortLabel": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"provider": {
						"$ref": "#/components/schemas/ModelProvider"
					},
					"contextWindow": {
						"type": "number",
						"format": "double"
					},
					"costPerMillionTokens": {
						"$ref": "#/components/schemas/AiModelCost"
					},
					"capabilities": {
						"$ref": "#/components/schemas/AiModelCapabilities"
					},
					"pickers": {
						"$ref": "#/components/schemas/AiModelPickers"
					},
					"supportedEfforts": {
						"items": {
							"$ref": "#/components/schemas/ModelEffort"
						},
						"type": "array"
					},
					"defaultEffort": {
						"$ref": "#/components/schemas/ModelEffort"
					},
					"subagentModelId": {
						"type": "string"
					},
					"aliases": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"iconKey": {
						"$ref": "#/components/schemas/ModelIconKey"
					},
					"opencodeId": {
						"type": "string"
					},
					"variant1M": {
						"type": "boolean"
					},
					"averageCostPerAnswerUsd": {
						"type": "string",
						"description": "Customer-facing average cost (USD) for a typical Kai support\nanswer. Pre-multiplied by the default Kai markup so the Frontend\ncan render the figure without ever seeing the multiplier."
					}
				},
				"required": [
					"id",
					"displayName",
					"provider",
					"costPerMillionTokens"
				],
				"type": "object",
				"additionalProperties": false
			},
			"AiPickerOption": {
				"properties": {
					"value": {
						"type": "string",
						"description": "Value persisted on the project / session. Either an alias or a canonical id."
					},
					"label": {
						"type": "string"
					}
				},
				"required": [
					"value",
					"label"
				],
				"type": "object",
				"additionalProperties": false
			},
			"Record_ModelRuntime.string_": {
				"properties": {
					"cloud": {
						"type": "string"
					},
					"opencode": {
						"type": "string"
					},
					"claudeCode": {
						"type": "string"
					},
					"codex": {
						"type": "string"
					}
				},
				"type": "object",
				"description": "Construct a type with a set of properties K of type T"
			},
			"AiModelsPublicResponse": {
				"properties": {
					"models": {
						"items": {
							"$ref": "#/components/schemas/AiModelPublicDto"
						},
						"type": "array",
						"description": "Full catalog (every entry, no filtering)."
					},
					"pickers": {
						"properties": {
							"transcription": {
								"items": {
									"$ref": "#/components/schemas/AiPickerOption"
								},
								"type": "array",
								"description": "STT models (transcription-capable)."
							},
							"kaiCodeOpenCode": {
								"items": {
									"$ref": "#/components/schemas/AiPickerOption"
								},
								"type": "array",
								"description": "Kai Code OpenCode (desktop) runtime model picker."
							},
							"kaiCodeCloud": {
								"items": {
									"$ref": "#/components/schemas/AiPickerOption"
								},
								"type": "array",
								"description": "Kai Code cloud runtime model picker."
							},
							"kaiAgent": {
								"items": {
									"$ref": "#/components/schemas/AiPickerOption"
								},
								"type": "array",
								"description": "Default Kai support agent dropdown."
							}
						},
						"required": [
							"transcription",
							"kaiCodeOpenCode",
							"kaiCodeCloud",
							"kaiAgent"
						],
						"type": "object",
						"description": "Curated picker lists (replaces FE iterate-and-filter logic)."
					},
					"runtimeDefaults": {
						"$ref": "#/components/schemas/Record_ModelRuntime.string_",
						"description": "Per-runtime default modelId."
					}
				},
				"required": [
					"models",
					"pickers",
					"runtimeDefaults"
				],
				"type": "object",
				"additionalProperties": false
			},
			"TotalTokenUsageDto": {
				"properties": {
					"inputTokens": {
						"type": "number",
						"format": "double"
					},
					"outputTokens": {
						"type": "number",
						"format": "double"
					}
				},
				"required": [
					"inputTokens",
					"outputTokens"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ModelTokenUsageDto": {
				"properties": {
					"inputTokens": {
						"type": "number",
						"format": "double"
					},
					"outputTokens": {
						"type": "number",
						"format": "double"
					},
					"model": {
						"type": "string"
					}
				},
				"required": [
					"inputTokens",
					"outputTokens",
					"model"
				],
				"type": "object",
				"additionalProperties": false
			},
			"RepoRoleDto": {
				"properties": {
					"repo": {
						"type": "string"
					},
					"role": {
						"type": "string"
					}
				},
				"required": [
					"repo"
				],
				"type": "object",
				"additionalProperties": false
			},
			"SourceFileRefDto": {
				"properties": {
					"repo": {
						"type": "string"
					},
					"path": {
						"type": "string"
					}
				},
				"required": [
					"repo",
					"path"
				],
				"type": "object",
				"additionalProperties": false
			},
			"AreaUpdateDto": {
				"properties": {
					"areaId": {
						"type": "string"
					},
					"areaName": {
						"type": "string"
					},
					"areaDescription": {
						"type": "string"
					},
					"repos": {
						"items": {
							"$ref": "#/components/schemas/RepoRoleDto"
						},
						"type": "array"
					},
					"sourceFiles": {
						"items": {
							"$ref": "#/components/schemas/SourceFileRefDto"
						},
						"type": "array"
					},
					"notesMarkdown": {
						"type": "string"
					}
				},
				"required": [
					"areaId",
					"areaName",
					"repos",
					"sourceFiles",
					"notesMarkdown"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CodeKnowledgeAnalysisCallbackBodyDto": {
				"properties": {
					"projectId": {
						"type": "string"
					},
					"analysisId": {
						"type": "string"
					},
					"batchIndex": {
						"type": "number",
						"format": "double"
					},
					"isFinal": {
						"type": "boolean"
					},
					"totalTokenUsage": {
						"$ref": "#/components/schemas/TotalTokenUsageDto"
					},
					"model": {
						"type": "string"
					},
					"modelBreakdown": {
						"items": {
							"$ref": "#/components/schemas/ModelTokenUsageDto"
						},
						"type": "array"
					},
					"analysisMode": {
						"type": "string"
					},
					"indexedCommits": {
						"description": "Map of repo subdirectory name → HEAD commit SHA at index time.\nTyped as `any` to bypass TSOA 5.1.1's `Record<string, T>` schema-generation bug,\nwhich silently strips every key with `noImplicitAdditionalProperties: 'silently-remove-extras'`."
					},
					"areaUpdates": {
						"items": {
							"$ref": "#/components/schemas/AreaUpdateDto"
						},
						"type": "array"
					},
					"areasDeleted": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"coverageManifestMd": {
						"type": "string"
					},
					"failed": {
						"type": "boolean"
					},
					"error": {
						"type": "string"
					}
				},
				"required": [
					"projectId",
					"analysisId"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CodeKnowledgeDiffReindexDto": {
				"description": "Manual diff-reindex trigger. All fields are optional except `repo`:\n - `fromSha` defaults to the repo's `lastIndexedCommitSha` (server-side).\n - `toSha`   defaults to the repo's current GitHub branch HEAD (server-side).\nThe webhook auto-trigger uses the same service with both SHAs supplied.",
				"properties": {
					"repo": {
						"type": "string"
					},
					"fromSha": {
						"type": "string"
					},
					"toSha": {
						"type": "string"
					}
				},
				"required": [
					"repo"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CodeKnowledgeStatus": {
				"properties": {
					"status": {
						"type": "string",
						"enum": [
							"idle",
							"indexing",
							"failed"
						]
					},
					"analysisId": {
						"type": "string"
					},
					"startedAt": {
						"type": "string",
						"format": "date-time"
					},
					"completedAt": {
						"type": "string",
						"format": "date-time"
					},
					"failureReason": {
						"type": "string"
					},
					"mode": {
						"type": "string",
						"enum": [
							"full",
							"incremental"
						]
					},
					"lastFullReindexAt": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"status"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CodeKnowledgeRepositoryDocument": {
				"$ref": "#/components/schemas/FlattenMaps_T_"
			},
			"CodeRepositoryProvider": {
				"enum": [
					"github",
					"azure"
				],
				"type": "string"
			},
			"CreateCodeKnowledgeRepositoryDto": {
				"properties": {
					"provider": {
						"$ref": "#/components/schemas/CodeRepositoryProvider"
					},
					"remoteId": {
						"type": "string"
					},
					"owner": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"fullName": {
						"type": "string"
					},
					"defaultBranch": {
						"type": "string"
					},
					"indexBranch": {
						"type": "string"
					},
					"namespace": {
						"type": "string"
					}
				},
				"required": [
					"provider",
					"remoteId",
					"owner",
					"name",
					"fullName"
				],
				"type": "object",
				"additionalProperties": false
			},
			"UpdateCodeKnowledgeRepositoryDto": {
				"properties": {
					"indexBranch": {
						"type": "string"
					},
					"autoReindexOnPush": {
						"type": "boolean"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"GithubRepoSourceAuthResponseDto": {
				"properties": {
					"provider": {
						"$ref": "#/components/schemas/CodeRepositoryProvider"
					},
					"hasInstallation": {
						"type": "boolean",
						"description": "True when the \"Kai by Gleap\" GitHub App is installed for this project."
					},
					"accountLogin": {
						"type": "string",
						"description": "The org/user account the app is installed on."
					},
					"accountType": {
						"type": "string",
						"description": "'Organization' | 'User'."
					}
				},
				"required": [
					"provider",
					"hasInstallation"
				],
				"type": "object",
				"additionalProperties": false
			},
			"GithubAuthRequestDto": {
				"properties": {
					"installationId": {
						"type": "number",
						"format": "double"
					}
				},
				"required": [
					"installationId"
				],
				"type": "object",
				"additionalProperties": false
			},
			"GithubRepositoryListItemDto": {
				"properties": {
					"id": {
						"type": "string"
					},
					"remoteId": {
						"type": "string"
					},
					"owner": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"fullName": {
						"type": "string"
					},
					"defaultBranch": {
						"type": "string"
					},
					"private": {
						"type": "boolean"
					},
					"accessible": {
						"type": "boolean",
						"description": "Always true for App installations — kept for frontend compatibility."
					}
				},
				"required": [
					"id",
					"remoteId",
					"owner",
					"name",
					"fullName",
					"private",
					"accessible"
				],
				"type": "object",
				"additionalProperties": false
			},
			"KaiRepositoryDocument": {
				"$ref": "#/components/schemas/FlattenMaps_T_"
			},
			"CreateKaiRepositoryDto": {
				"properties": {
					"provider": {
						"$ref": "#/components/schemas/CodeRepositoryProvider"
					},
					"remoteId": {
						"type": "string"
					},
					"owner": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"fullName": {
						"type": "string"
					},
					"defaultBranch": {
						"type": "string"
					},
					"branch": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"namespace": {
						"type": "string"
					}
				},
				"required": [
					"provider",
					"remoteId",
					"owner",
					"name",
					"fullName"
				],
				"type": "object",
				"additionalProperties": false
			},
			"UpdateKaiRepositoryDto": {
				"properties": {
					"branch": {
						"type": "string"
					},
					"description": {
						"type": "string"
					}
				},
				"type": "object",
				"additionalProperties": false
			},
			"CodeKnowledgeAskDto": {
				"properties": {
					"question": {
						"type": "string"
					}
				},
				"required": [
					"question"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ContactMemoryActor": {
				"type": "string",
				"enum": [
					"bot",
					"draft_reply",
					"copilot",
					"admin",
					"consolidation",
					"unknown"
				]
			},
			"ContactMemoryListItem": {
				"properties": {
					"name": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"actor": {
						"$ref": "#/components/schemas/ContactMemoryActor"
					},
					"actorUserId": {
						"type": "string"
					},
					"updatedAt": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"name",
					"description",
					"actor",
					"updatedAt"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ContactMemoryEntry": {
				"properties": {
					"name": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"content": {
						"type": "string"
					},
					"actor": {
						"$ref": "#/components/schemas/ContactMemoryActor"
					},
					"actorUserId": {
						"type": "string"
					},
					"createdAt": {
						"type": "string",
						"format": "date-time"
					},
					"updatedAt": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"name",
					"description",
					"content",
					"actor",
					"createdAt",
					"updatedAt"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ContactMemoryWriteResult": {
				"properties": {
					"ok": {
						"type": "boolean"
					},
					"reason": {
						"type": "string",
						"enum": [
							"disabled",
							"no_userId",
							"invalid_input",
							"session_not_found"
						]
					},
					"consolidationEnqueued": {
						"type": "boolean"
					},
					"entries": {
						"type": "number",
						"format": "double"
					}
				},
				"required": [
					"ok"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ContactMemoryEntryBody": {
				"properties": {
					"name": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"content": {
						"type": "string"
					}
				},
				"required": [
					"name",
					"content"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ContactMemoryUpdateBody": {
				"properties": {
					"description": {
						"type": "string"
					},
					"content": {
						"type": "string"
					}
				},
				"required": [
					"content"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ImportYouTubeVideoDto": {
				"properties": {
					"url": {
						"type": "string"
					},
					"batchId": {
						"type": "string"
					}
				},
				"required": [
					"url"
				],
				"type": "object",
				"additionalProperties": false
			},
			"VideoMetadata": {
				"properties": {
					"videoId": {
						"type": "string"
					},
					"title": {
						"type": "string"
					},
					"durationSeconds": {
						"type": "number",
						"format": "double"
					},
					"thumbnailUrl": {
						"type": "string"
					},
					"channelName": {
						"type": "string"
					},
					"privacyStatus": {
						"anyOf": [
							{
								"type": "string"
							},
							{
								"type": "string",
								"enum": [
									"public",
									"unlisted",
									"private"
								]
							}
						]
					}
				},
				"required": [
					"videoId",
					"title",
					"durationSeconds",
					"thumbnailUrl",
					"channelName",
					"privacyStatus"
				],
				"type": "object",
				"additionalProperties": false
			},
			"PreviewYouTubeDto": {
				"properties": {
					"url": {
						"type": "string"
					}
				},
				"required": [
					"url"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ImportYouTubeBatchDto": {
				"properties": {
					"url": {
						"type": "string"
					}
				},
				"required": [
					"url"
				],
				"type": "object",
				"additionalProperties": false
			},
			"InternalFetchBody": {
				"properties": {
					"projectId": {
						"type": "string"
					},
					"taskId": {
						"type": "string"
					},
					"url": {
						"type": "string"
					},
					"format": {
						"type": "string",
						"enum": [
							"markdown",
							"html",
							"json"
						]
					}
				},
				"required": [
					"projectId",
					"url"
				],
				"type": "object",
				"additionalProperties": {}
			},
			"InternalSearchBody": {
				"properties": {
					"projectId": {
						"type": "string"
					},
					"taskId": {
						"type": "string"
					},
					"query": {
						"type": "string"
					},
					"limit": {
						"type": "number",
						"format": "double"
					},
					"country": {
						"type": "string"
					},
					"location": {
						"type": "string"
					},
					"language": {
						"type": "string"
					}
				},
				"required": [
					"projectId",
					"query"
				],
				"type": "object",
				"additionalProperties": {}
			},
			"IfAny_typeofcustomComponentSchema.any.ObtainSchemaGeneric_typeofcustomComponentSchema.DocType__": {
				"allOf": [
					{
						"properties": {
							"updatedAt": {
								"$ref": "#/components/schemas/NativeDate"
							},
							"createdAt": {
								"$ref": "#/components/schemas/NativeDate"
							}
						},
						"required": [
							"updatedAt",
							"createdAt"
						],
						"type": "object"
					},
					{
						"properties": {
							"createdBy": {
								"$ref": "#/components/schemas/ObjectId"
							},
							"isPublished": {
								"type": "boolean"
							},
							"exampleData": {},
							"sanitizedTemplate": {
								"type": "string"
							},
							"template": {
								"type": "string"
							},
							"whenToUse": {
								"type": "string"
							},
							"project": {
								"properties": {
									"isValid": {
										"properties": {},
										"type": "object"
									},
									"createFromHexString": {
										"properties": {},
										"type": "object"
									},
									"createFromTime": {
										"properties": {},
										"type": "object"
									},
									"generate": {
										"properties": {},
										"type": "object"
									},
									"cacheHexString": {},
									"prototype": {
										"$ref": "#/components/schemas/ObjectId"
									}
								},
								"type": "object"
							},
							"description": {
								"type": "string"
							},
							"name": {
								"type": "string"
							},
							"schema": {}
						},
						"required": [
							"isPublished",
							"exampleData",
							"sanitizedTemplate",
							"template",
							"whenToUse",
							"project",
							"description",
							"name",
							"schema"
						],
						"type": "object"
					}
				]
			},
			"InferSchemaType_typeofcustomComponentSchema_": {
				"$ref": "#/components/schemas/IfAny_typeofcustomComponentSchema.any.ObtainSchemaGeneric_typeofcustomComponentSchema.DocType__"
			},
			"CustomComponent": {
				"$ref": "#/components/schemas/InferSchemaType_typeofcustomComponentSchema_"
			},
			"CustomComponentDocument": {
				"allOf": [
					{
						"$ref": "#/components/schemas/CustomComponent"
					},
					{
						"$ref": "#/components/schemas/Document"
					}
				]
			},
			"CustomComponentDTO": {
				"properties": {
					"name": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"whenToUse": {
						"type": "string"
					},
					"schema": {},
					"template": {
						"type": "string"
					},
					"exampleData": {},
					"isPublished": {
						"type": "boolean"
					}
				},
				"required": [
					"name",
					"schema",
					"template"
				],
				"type": "object",
				"additionalProperties": false
			},
			"DesktopHandoffSnapshotRepo": {
				"properties": {
					"remoteUrl": {
						"type": "string"
					},
					"fullName": {
						"type": "string"
					},
					"branch": {
						"type": "string"
					},
					"baseBranch": {
						"type": "string"
					},
					"description": {
						"type": "string"
					}
				},
				"required": [
					"remoteUrl"
				],
				"type": "object",
				"additionalProperties": false
			},
			"DesktopHandoffSnapshotPr": {
				"properties": {
					"repoUrl": {
						"type": "string"
					},
					"prUrl": {
						"type": "string"
					},
					"prNumber": {
						"type": "number",
						"format": "double"
					},
					"branch": {
						"type": "string"
					},
					"repoFullName": {
						"type": "string"
					},
					"state": {
						"type": "string",
						"enum": [
							"open",
							"closed",
							"merged"
						]
					}
				},
				"required": [
					"repoUrl",
					"prUrl",
					"prNumber",
					"branch"
				],
				"type": "object",
				"additionalProperties": false
			},
			"DesktopHandoffSnapshot": {
				"properties": {
					"success": {
						"type": "boolean"
					},
					"sessionId": {
						"type": "string"
					},
					"projectId": {
						"type": "string"
					},
					"title": {
						"type": "string",
						"nullable": true
					},
					"status": {
						"type": "string"
					},
					"repos": {
						"items": {
							"$ref": "#/components/schemas/DesktopHandoffSnapshotRepo"
						},
						"type": "array"
					},
					"pullRequests": {
						"items": {
							"$ref": "#/components/schemas/DesktopHandoffSnapshotPr"
						},
						"type": "array"
					}
				},
				"required": [
					"success",
					"sessionId",
					"projectId",
					"title",
					"status",
					"repos",
					"pullRequests"
				],
				"type": "object",
				"additionalProperties": false
			},
			"AzureRepoSourceAuthResponseDto": {
				"properties": {
					"provider": {
						"$ref": "#/components/schemas/CodeRepositoryProvider"
					},
					"hasInstallation": {
						"type": "boolean"
					},
					"accountLogin": {
						"type": "string"
					}
				},
				"required": [
					"provider",
					"hasInstallation"
				],
				"type": "object",
				"additionalProperties": false
			},
			"AzureAuthRequestDto": {
				"properties": {
					"code": {
						"type": "string"
					},
					"redirectUri": {
						"type": "string"
					}
				},
				"required": [
					"code"
				],
				"type": "object",
				"additionalProperties": false
			},
			"AzureRepositoryListItemDto": {
				"properties": {
					"id": {
						"type": "string"
					},
					"remoteId": {
						"type": "string"
					},
					"owner": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"fullName": {
						"type": "string"
					},
					"namespace": {
						"type": "string"
					},
					"defaultBranch": {
						"type": "string"
					},
					"private": {
						"type": "boolean"
					},
					"accessible": {
						"type": "boolean"
					}
				},
				"required": [
					"id",
					"remoteId",
					"owner",
					"name",
					"fullName",
					"namespace",
					"private",
					"accessible"
				],
				"type": "object",
				"additionalProperties": false
			}
		},
		"securitySchemes": {
			"jwt": {
				"type": "http",
				"scheme": "bearer",
				"bearerFormat": "JWT"
			}
		}
	},
	"info": {
		"title": "gleap-server",
		"version": "14.0.0",
		"contact": {}
	},
	"openapi": "3.0.0",
	"paths": {
		"/message-templates": {
			"post": {
				"operationId": "CreateMessageTemplate",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/MessageTemplateDocument"
								}
							}
						}
					}
				},
				"description": "Create a new message template.",
				"summary": "Create a new message template.",
				"tags": [
					"Message templates"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/MessageTemplateDTO"
							}
						}
					}
				}
			},
			"get": {
				"operationId": "FindMessageTemplates",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"anyOf": [
										{
											"items": {
												"$ref": "#/components/schemas/MessageTemplateDocument"
											},
											"type": "array"
										},
										{
											"properties": {
												"totalCount": {
													"type": "number",
													"format": "double"
												},
												"data": {
													"items": {
														"$ref": "#/components/schemas/MessageTemplateDocument"
													},
													"type": "array"
												}
											},
											"required": [
												"totalCount",
												"data"
											],
											"type": "object"
										}
									]
								}
							}
						}
					}
				},
				"description": "Find all message templates of a project.",
				"summary": "Find all message templates.",
				"tags": [
					"Message templates"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "limit",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "skip",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "searchTerm",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "visibility",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "withCount",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/message-templates/{messageTemplateId}": {
			"get": {
				"operationId": "FindMessageTemplateById",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/MessageTemplateDocument"
								}
							}
						}
					}
				},
				"description": "Find all message templates of a project.",
				"summary": "Find all message templates.",
				"tags": [
					"Message templates"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "messageTemplateId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"put": {
				"operationId": "UpdateTeam",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/MessageTemplateDocument"
								}
							}
						}
					}
				},
				"description": "Update a message template.",
				"summary": "Update a message template.",
				"tags": [
					"Message templates"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "messageTemplateId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/MessageTemplateDTO"
							}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteMessageTemplate",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/MessageTemplateDocument"
								}
							}
						}
					}
				},
				"description": "Delete a message template.",
				"summary": "Delete a message template",
				"tags": [
					"Message templates"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "messageTemplateId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/sessions": {
			"post": {
				"operationId": "CreateSession",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Create a new session and associate it with a project.",
				"summary": "Create a new session",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/SessionDto"
							}
						}
					}
				}
			},
			"get": {
				"operationId": "GetSessions",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Get all sessions associated with a project.",
				"summary": "Get all sessions",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/sessions/{sessionId}": {
			"put": {
				"operationId": "UpdateSession",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Update a session and associate it with a project.",
				"summary": "Update a session",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"get": {
				"operationId": "GetSession",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Get a session by id.",
				"summary": "Get a session",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"delete": {
				"operationId": "DeleteSession",
				"responses": {
					"204": {
						"description": "No content"
					}
				},
				"description": "Delete a session by id.",
				"summary": "Delete a session",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/sessions/{sessionId}/resubscribe": {
			"put": {
				"operationId": "ResubscribeSession",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"type": "boolean"
								}
							}
						}
					}
				},
				"description": "Resubscribe a session.",
				"summary": "Resubscribe a session",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {},
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/sessions/search": {
			"get": {
				"operationId": "SearchSessions",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Search for sessions.",
				"summary": "Search for sessions",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/sessions/export": {
			"get": {
				"operationId": "ExportSessions",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Export sessions.",
				"summary": "Export sessions",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/sessions/warmup": {
			"post": {
				"operationId": "WarmupSessions",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"ok": {
											"type": "boolean"
										}
									},
									"required": [
										"ok"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Pre-warm OpenSearch shards + Redis list cache for the active project.\nFire-and-forget: returns {ok:true} immediately while the warmup runs in\nthe background. Triggered from the frontend right before a session query\nis likely (sidebar hover, global search modal mount, RecipientPicker mount,\nperiodic refresh while on the Sessions page) so the user doesn't pay the\ncold-shard penalty on first interaction.",
				"summary": "Pre-warm sessions cache for the active project",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/sessions/by-user-id/{userId}": {
			"get": {
				"operationId": "FindSessionByUserId",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"allOf": [
										{
											"properties": {
												"eventData": {},
												"checklistTasks": {},
												"outboundHistory": {},
												"plan": {
													"type": "string"
												},
												"telegramUsername": {
													"type": "string"
												},
												"telegramChatId": {
													"type": "string"
												},
												"instagramUsername": {
													"type": "string"
												},
												"instagramId": {
													"type": "string"
												},
												"facebookId": {
													"type": "string"
												},
												"phone": {
													"type": "string"
												},
												"sla": {
													"type": "number",
													"format": "double"
												},
												"companyName": {
													"type": "string"
												},
												"platform": {
													"type": "string"
												},
												"deviceType": {
													"type": "string"
												},
												"companyId": {
													"type": "string"
												},
												"avatar": {
													"type": "string"
												},
												"location": {},
												"lastPageView": {},
												"unsubscribedAt": {
													"type": "string",
													"format": "date-time"
												},
												"unsubscribeReason": {
													"type": "string"
												},
												"lastFeedbackReport": {
													"type": "string",
													"format": "date-time"
												},
												"lastActivity": {
													"type": "string",
													"format": "date-time"
												},
												"lastHeardFrom": {
													"type": "string",
													"format": "date-time"
												},
												"gleapHash": {
													"type": "string"
												},
												"gleapId": {
													"type": "string"
												},
												"customData": {},
												"project": {
													"properties": {
														"isValid": {
															"properties": {},
															"type": "object"
														},
														"createFromHexString": {
															"properties": {},
															"type": "object"
														},
														"createFromTime": {
															"properties": {},
															"type": "object"
														},
														"generate": {
															"properties": {},
															"type": "object"
														},
														"cacheHexString": {},
														"prototype": {
															"$ref": "#/components/schemas/ObjectId"
														}
													},
													"type": "object"
												},
												"email": {
													"type": "string"
												},
												"userId": {
													"type": "string"
												},
												"organisation": {
													"properties": {
														"isValid": {
															"properties": {},
															"type": "object"
														},
														"createFromHexString": {
															"properties": {},
															"type": "object"
														},
														"createFromTime": {
															"properties": {},
															"type": "object"
														},
														"generate": {
															"properties": {},
															"type": "object"
														},
														"cacheHexString": {},
														"prototype": {
															"$ref": "#/components/schemas/ObjectId"
														}
													},
													"type": "object"
												},
												"name": {
													"type": "string"
												},
												"countFeedbackComments": {
													"type": "number",
													"format": "double"
												},
												"countFeedbackReports": {
													"type": "number",
													"format": "double"
												},
												"identityHistory": {
													"items": {
														"properties": {
															"changes": {
																"properties": {
																	"email": {
																		"properties": {
																			"to": {
																				"type": "string"
																			},
																			"from": {
																				"type": "string"
																			}
																		},
																		"type": "object"
																	},
																	"userId": {
																		"properties": {
																			"to": {
																				"type": "string"
																			},
																			"from": {
																				"type": "string"
																			}
																		},
																		"type": "object"
																	},
																	"name": {
																		"properties": {
																			"to": {
																				"type": "string"
																			},
																			"from": {
																				"type": "string"
																			}
																		},
																		"type": "object"
																	}
																},
																"type": "object"
															},
															"by": {
																"properties": {
																	"referer": {
																		"type": "string"
																	},
																	"originalUrl": {
																		"type": "string"
																	},
																	"hasApiKey": {
																		"type": "boolean"
																	},
																	"userEmail": {
																		"type": "string"
																	},
																	"source": {
																		"type": "string"
																	},
																	"method": {
																		"type": "string"
																	},
																	"userId": {
																		"type": "string"
																	}
																},
																"type": "object"
															},
															"_id": {},
															"at": {
																"type": "string",
																"format": "date-time"
															}
														},
														"required": [
															"at"
														],
														"type": "object"
													},
													"type": "array"
												},
												"memory": {
													"items": {
														"properties": {
															"actorUserId": {
																"properties": {
																	"isValid": {
																		"properties": {},
																		"type": "object"
																	},
																	"createFromHexString": {
																		"properties": {},
																		"type": "object"
																	},
																	"createFromTime": {
																		"properties": {},
																		"type": "object"
																	},
																	"generate": {
																		"properties": {},
																		"type": "object"
																	},
																	"cacheHexString": {},
																	"prototype": {
																		"$ref": "#/components/schemas/ObjectId"
																	}
																},
																"type": "object"
															},
															"actor": {
																"type": "string"
															},
															"updatedAt": {
																"type": "string",
																"format": "date-time"
															},
															"createdAt": {
																"type": "string",
																"format": "date-time"
															},
															"content": {
																"type": "string"
															},
															"description": {
																"type": "string"
															},
															"name": {
																"type": "string"
															}
														},
														"required": [
															"actor",
															"updatedAt",
															"createdAt",
															"content",
															"description",
															"name"
														],
														"type": "object"
													},
													"type": "array"
												},
												"tags": {
													"items": {
														"type": "string"
													},
													"type": "array"
												},
												"sessions": {
													"type": "number",
													"format": "double"
												},
												"emailOnly": {
													"type": "boolean"
												},
												"blocked": {
													"type": "boolean"
												},
												"unsubscribed": {
													"type": "boolean"
												},
												"firstActivity": {
													"type": "string",
													"format": "date-time"
												},
												"lang": {
													"type": "string"
												},
												"updatedAt": {
													"type": "string",
													"format": "date-time"
												},
												"value": {
													"type": "number",
													"format": "double"
												},
												"createdAt": {
													"type": "string",
													"format": "date-time"
												},
												"_id": {
													"properties": {
														"isValid": {
															"properties": {},
															"type": "object"
														},
														"createFromHexString": {
															"properties": {},
															"type": "object"
														},
														"createFromTime": {
															"properties": {},
															"type": "object"
														},
														"generate": {
															"properties": {},
															"type": "object"
														},
														"cacheHexString": {},
														"prototype": {
															"$ref": "#/components/schemas/ObjectId"
														}
													},
													"type": "object"
												}
											},
											"required": [
												"countFeedbackComments",
												"countFeedbackReports",
												"identityHistory",
												"memory",
												"tags",
												"sessions",
												"emailOnly",
												"blocked",
												"unsubscribed",
												"firstActivity",
												"lang",
												"updatedAt",
												"value",
												"createdAt",
												"_id"
											],
											"type": "object"
										},
										{
											"$ref": "#/components/schemas/Document_any.any.any_"
										},
										{
											"properties": {
												"_id": {
													"$ref": "#/components/schemas/ObjectId"
												}
											},
											"required": [
												"_id"
											],
											"type": "object"
										}
									]
								}
							}
						}
					}
				},
				"description": "Get a session by user id.",
				"summary": "Get a session by user id",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/sessions/{sessionId}/activities": {
			"get": {
				"operationId": "GetSessionActivities",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Get session activities by id.",
				"summary": "Get session activities",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/sessions/{sessionId}/events": {
			"get": {
				"operationId": "GetSessionEvents",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Get session events by id.",
				"summary": "Get session events",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/sessions/importer": {
			"post": {
				"operationId": "ImportSession",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"type": "string"
									},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Import a session.",
				"summary": "Import a session",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			}
		},
		"/sessions/importer/intercom": {
			"post": {
				"operationId": "ImportSessionIntercom",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Import sessions from intercom.",
				"summary": "Import sessions from intercom",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ImportIntercomSessionDto"
							}
						}
					}
				}
			}
		},
		"/sessions/importer/hubspot": {
			"post": {
				"operationId": "ImportSessionHubspot",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Import sessions from HubSpot.",
				"summary": "Import sessions from HubSpot",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"apiKey": {
										"type": "string"
									}
								},
								"required": [
									"apiKey"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/sessions/importer/zendesk": {
			"post": {
				"operationId": "ImportSessionZendesk",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Import sessions (contacts) from Zendesk.",
				"summary": "Import sessions from Zendesk",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"apiToken": {
										"type": "string"
									},
									"email": {
										"type": "string"
									},
									"subdomain": {
										"type": "string"
									}
								},
								"required": [
									"apiToken",
									"email",
									"subdomain"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/sessions/unsubscribe": {
			"post": {
				"operationId": "UnsubscribeSessions",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"success": {
											"type": "boolean"
										}
									},
									"required": [
										"success"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Unsubscribe sessions.",
				"summary": "Unsubscribe sessions",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"reason": {
										"type": "string"
									},
									"sessions": {
										"items": {
											"properties": {
												"userId": {
													"type": "string"
												},
												"email": {
													"type": "string"
												}
											},
											"type": "object"
										},
										"type": "array"
									}
								},
								"required": [
									"sessions"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/sessions/{sessionId}/checklists": {
			"get": {
				"operationId": "GetChecklistsForSession",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Get checklists for a session.",
				"summary": "Get session checklists",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/sessions/{sessionId}/identity-history": {
			"get": {
				"operationId": "GetSessionIdentityHistory",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"history": {}
									},
									"required": [
										"history"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Get the identity-change history for a session — every recorded\nmutation of email / name / userId on this contact record. Stripped\nfrom default session responses (see session.model.ts toJSON), so\nthis is the only path that returns it.",
				"summary": "Get session identity history",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/sessions/{sessionId}/stripe": {
			"get": {
				"operationId": "FindSessionStripeInfo",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {},
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Get Stripe information for a session.",
				"summary": "Get session Stripe info",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/sessions/{sessionId}/chargebee": {
			"get": {
				"operationId": "FindSessionChargebeeInfo",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {},
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Get Chargebee information for a session.",
				"summary": "Get session Chargebee info",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/sessions/{sessionId}/lemonsqueezy": {
			"get": {
				"operationId": "FindSessionLemonSqueezyInfo",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {},
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Get LemonSqueezy information for a session.",
				"summary": "Get session LemonSqueezy info",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/sessions/{sessionId}/shopify": {
			"get": {
				"operationId": "FindSessionShopifyInfo",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {},
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Get Shopify information for a session.",
				"summary": "Get session Shopify info",
				"tags": [
					"Session"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/teams": {
			"post": {
				"operationId": "CreateTeam",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/TeamDocument"
								}
							}
						}
					}
				},
				"description": "Create a new team and associate it with a project.",
				"summary": "Create a new team",
				"tags": [
					"Team"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/TeamDto"
							}
						}
					}
				}
			},
			"get": {
				"operationId": "GetTeams",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/TeamDocument"
									},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Get all teams associated with a project.",
				"summary": "Get all teams",
				"tags": [
					"Team"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/teams/{teamId}": {
			"put": {
				"operationId": "UpdateTeam",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/TeamDocument"
								}
							}
						}
					}
				},
				"description": "Update a team.",
				"summary": "Update a team",
				"tags": [
					"Team"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "teamId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/TeamDto"
							}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteTeam",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/TeamDocument"
								}
							}
						}
					}
				},
				"description": "Delete a team.",
				"summary": "Delete a team",
				"tags": [
					"Team"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "teamId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/messages": {
			"post": {
				"operationId": "CreateMessage",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {},
								"examples": {
									"Example 1": {
										"value": {
											"ticket": "507f1f77bcf86cd799439011",
											"comment": {
												"type": "paragraph",
												"content": [
													{
														"type": "text",
														"text": "Thank you for reporting this issue. We are looking into it."
													}
												]
											},
											"type": "COMMENT",
											"bot": false,
											"attachments": [
												{
													"name": "screenshot.png",
													"url": "https://example.com/screenshots/screenshot.png",
													"type": "image/png"
												}
											]
										}
									}
								}
							}
						}
					}
				},
				"description": "Create a new message",
				"summary": "Create a new message",
				"tags": [
					"Messages"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateMessageDto"
							}
						}
					}
				}
			},
			"get": {
				"operationId": "GetMessages",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"anyOf": [
										{
											"items": {},
											"type": "array"
										},
										{
											"properties": {
												"nextBefore": {},
												"hasMore": {
													"type": "boolean"
												},
												"items": {
													"items": {},
													"type": "array"
												}
											},
											"required": [
												"nextBefore",
												"hasMore",
												"items"
											],
											"type": "object"
										}
									]
								},
								"examples": {
									"Example 1": {
										"value": [
											{
												"_id": "507f1f77bcf86cd799439015",
												"id": "507f1f77bcf86cd799439015",
												"ticket": "507f1f77bcf86cd799439011",
												"comment": {
													"type": "doc",
													"content": [
														{
															"type": "paragraph",
															"content": [
																{
																	"type": "text",
																	"text": "This is a sample message content."
																}
															]
														}
													]
												},
												"type": "COMMENT",
												"bot": false,
												"user": {
													"_id": "507f1f77bcf86cd799439012",
													"email": "support@example.com",
													"firstName": "John",
													"lastName": "Doe"
												},
												"session": {
													"_id": "507f1f77bcf86cd799439013",
													"email": "user@example.com"
												},
												"createdAt": "2024-01-15T10:30:00.000Z",
												"updatedAt": "2024-01-15T10:30:00.000Z",
												"index": 0
											},
											{
												"_id": "507f1f77bcf86cd799439016",
												"id": "507f1f77bcf86cd799439016",
												"ticket": "507f1f77bcf86cd799439011",
												"comment": {
													"type": "doc",
													"content": [
														{
															"type": "paragraph",
															"content": [
																{
																	"type": "text",
																	"text": "Thank you for the update!"
																}
															]
														}
													]
												},
												"type": "COMMENT",
												"bot": false,
												"user": {
													"_id": "507f1f77bcf86cd799439017",
													"email": "user@example.com",
													"firstName": "Jane",
													"lastName": "Smith"
												},
												"session": {
													"_id": "507f1f77bcf86cd799439013",
													"email": "user@example.com"
												},
												"createdAt": "2024-01-15T11:00:00.000Z",
												"updatedAt": "2024-01-15T11:00:00.000Z",
												"index": 1
											}
										]
									}
								}
							}
						}
					}
				},
				"description": "Get messages by query with support for filtering, sorting, and pagination.\n\n**Filtering:**\n- Filter by ticket: `ticket=507f1f77bcf86cd799439011`\n- Filter by type: `type=COMMENT` or `type=COMMENT,NOTE`\n- Filter by bot messages: `bot=true` or `bot=false`\n- Filter by date range: `createdAt>=2024-01-01&createdAt<=2024-12-31`\n\n**Sorting:**\n- Sort by creation date: `sort=-createdAt` (newest first) or `sort=createdAt` (oldest first)\n- Sort by updated date: `sort=-updatedAt`\n\n**Pagination:**\n- Limit results: `limit=50` (default up to 10000)\n- Skip results: `skip=0` (for pagination: `skip=(page-1)*limit`)\n\n**Translation:**\n- Auto-translate messages: `language=es` (language code for target language)",
				"summary": "Find messages by query",
				"tags": [
					"Messages"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "paginated",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "before",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Maximum number of messages to return (default: no limit, max: 10000)",
						"in": "query",
						"name": "limit",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						},
						"example": "50"
					},
					{
						"in": "query",
						"name": "showHistory",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/messages/search": {
			"get": {
				"operationId": "SearchMessages",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"hits": {}
									},
									"required": [
										"hits"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Search messages",
				"summary": "Search messages",
				"tags": [
					"Messages"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "searchTerm",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/messages/{messageId}": {
			"put": {
				"operationId": "UpdateMessage",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Update a message",
				"summary": "Update a message",
				"tags": [
					"Messages"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "messageId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdateMessageDto"
							}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteMessage",
				"responses": {
					"204": {
						"description": "No content"
					}
				},
				"description": "Delete a message",
				"summary": "Delete a comment",
				"tags": [
					"Messages"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "messageId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/messages/{messageId}/faq": {
			"post": {
				"operationId": "SuggestFaq",
				"responses": {
					"204": {
						"description": "No content"
					}
				},
				"description": "Suggest a FAQ from a message",
				"summary": "FAQ suggestion",
				"tags": [
					"Messages"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "messageId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/SuggestFaqDto"
							}
						}
					}
				}
			}
		},
		"/helpcenter/collections": {
			"post": {
				"operationId": "CreateHelpcenterCollection",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/HelpcenterCollectionDocument"
								}
							}
						}
					}
				},
				"summary": "Create a new collection",
				"tags": [
					"Help center collections"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/HelpCenterCollectionDto"
							}
						}
					}
				}
			},
			"get": {
				"operationId": "GetHelpcenterCollections",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/CollectionWithCounts"
									},
									"type": "array"
								}
							}
						}
					}
				},
				"summary": "Get all collections",
				"tags": [
					"Help center collections"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/helpcenter/collections/all": {
			"get": {
				"operationId": "GetAllHelpcenterCollections",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/HelpcenterCollectionDocument"
									},
									"type": "array"
								}
							}
						}
					}
				},
				"summary": "Get all collections with subcollections",
				"tags": [
					"Help center collections"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/helpcenter/collections/{helpcenterCollectionId}": {
			"get": {
				"operationId": "GetHelpcenterCollectionItem",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/HelpcenterCollectionDocument"
								}
							}
						}
					}
				},
				"summary": "Get a collection",
				"tags": [
					"Help center collections"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "helpcenterCollectionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"put": {
				"operationId": "UpdateHelpcenterCollection",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/HelpcenterCollectionDocument"
								}
							}
						}
					}
				},
				"summary": "Update a collection",
				"tags": [
					"Help center collections"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "helpcenterCollectionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/HelpCenterCollectionDto"
							}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteHelpcenterCollection",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"success": {
											"type": "boolean"
										}
									},
									"required": [
										"success"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"summary": "Delete a collection",
				"tags": [
					"Help center collections"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "helpcenterCollectionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/helpcenter/collections/{helpcenterCollectionId}/toggle-publish": {
			"put": {
				"operationId": "UnpublishHelpcenterCollection",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"success": {
											"type": "boolean"
										}
									},
									"required": [
										"success"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"summary": "Toggle publish status",
				"tags": [
					"Help center collections"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "helpcenterCollectionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"unpublished": {
										"type": "boolean"
									}
								},
								"required": [
									"unpublished"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/helpcenter/collections/{helpcenterCollectionId}/articles": {
			"post": {
				"operationId": "CreateHelpcenterArticle",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/HelpcenterArticleDocument"
								}
							}
						}
					}
				},
				"summary": "Create a new article",
				"tags": [
					"Help center articles"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/HelpcenterArticleDto"
							}
						}
					}
				}
			},
			"get": {
				"operationId": "GetHelpcenterArticles",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/HelpcenterArticleDocument"
									},
									"type": "array"
								}
							}
						}
					}
				},
				"summary": "Get all articles",
				"tags": [
					"Help center articles"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/helpcenter/collections/{helpcenterCollectionId}/articles/{helpcenterArticleId}": {
			"get": {
				"operationId": "GetHelpcenterArticleItem",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/HelpcenterArticleDocument"
								}
							}
						}
					}
				},
				"summary": "Get an article",
				"tags": [
					"Help center articles"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "helpcenterArticleId",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"put": {
				"operationId": "UpdateHelpcenterArticleItem",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/HelpcenterArticleDocument"
								}
							}
						}
					}
				},
				"summary": "Update an article",
				"tags": [
					"Help center articles"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "helpcenterArticleId",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/HelpcenterArticleDto"
							}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteHelpcenterArticleItem",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"success": {
											"type": "boolean"
										}
									},
									"required": [
										"success"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"summary": "Delete an article",
				"tags": [
					"Help center articles"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "helpcenterArticleId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/helpcenter/collections/{helpcenterCollectionId}/articles/{helpcenterArticleId}/move": {
			"put": {
				"operationId": "MoveHelpcenterArticleItem",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/HelpcenterArticleDocument"
								}
							}
						}
					}
				},
				"summary": "Move an article",
				"tags": [
					"Help center articles"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "helpcenterArticleId",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"newCollectionId": {
										"type": "string"
									}
								},
								"required": [
									"newCollectionId"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/shared/helpcenter/search": {
			"get": {
				"operationId": "GetHelpcenterCollections",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"domainRedirect": {},
										"redirectUrl": {},
										"session": {
											"properties": {
												"gleapHash": {},
												"gleapId": {},
												"userName": {},
												"userEmail": {},
												"userId": {}
											},
											"required": [
												"gleapHash",
												"gleapId",
												"userName",
												"userEmail",
												"userId"
											],
											"type": "object"
										},
										"project": {
											"properties": {
												"defaultDomain": {
													"type": "string"
												},
												"customDomain": {},
												"apiKey": {},
												"flowConfig": {
													"properties": {
														"localizationOptions": {},
														"operatorAvatarImage": {},
														"hideBranding": {},
														"backgroundColor": {},
														"headerColor": {},
														"color": {},
														"helpcenterConfig": {}
													},
													"required": [
														"localizationOptions",
														"operatorAvatarImage",
														"hideBranding",
														"backgroundColor",
														"headerColor",
														"color",
														"helpcenterConfig"
													],
													"type": "object"
												},
												"name": {}
											},
											"required": [
												"defaultDomain",
												"customDomain",
												"apiKey",
												"flowConfig",
												"name"
											],
											"type": "object"
										},
										"data": {}
									},
									"required": [
										"domainRedirect",
										"redirectUrl",
										"session",
										"project",
										"data"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"summary": "Search help center articles",
				"tags": [
					"Help center"
				],
				"security": [],
				"parameters": []
			}
		},
		"/shared/helpcenter/sources": {
			"get": {
				"operationId": "GetHelpcenterSources",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"sources": {
											"items": {
												"properties": {
													"sourceType": {},
													"type": {
														"type": "string"
													},
													"extract": {},
													"url": {},
													"title": {},
													"id": {}
												},
												"required": [
													"sourceType",
													"type",
													"extract",
													"url",
													"title",
													"id"
												],
												"type": "object"
											},
											"type": "array"
										}
									},
									"required": [
										"sources"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"summary": "Get help center sources",
				"tags": [
					"Help center"
				],
				"security": [],
				"parameters": []
			}
		},
		"/shared/helpcenter/answer": {
			"get": {
				"operationId": "AnswerHelpCenterQuestion",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"answer": {}
									},
									"required": [
										"answer"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"summary": "Answer help center question",
				"tags": [
					"Help center"
				],
				"security": [],
				"parameters": []
			}
		},
		"/helpcenter-redirect": {
			"post": {
				"operationId": "CreateHelpcenterRedirect",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/HelpcenterRedirectDocument"
								}
							}
						}
					}
				},
				"description": "Create a new redirect.",
				"summary": "Create a new redirect.",
				"tags": [
					"Help center redirects"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/HelpcenterRedirectDTO"
							}
						}
					}
				}
			},
			"get": {
				"operationId": "FindRedirects",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/HelpcenterRedirectDocument"
									},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Find all redirects of a project.",
				"summary": "Find all redirects.",
				"tags": [
					"Help center redirects"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/helpcenter-redirect/{redirectId}": {
			"put": {
				"operationId": "UpdateRedirect",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/HelpcenterRedirectDocument"
								}
							}
						}
					}
				},
				"description": "Update a redirect.",
				"summary": "Update a redirect.",
				"tags": [
					"Help center redirects"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "redirectId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/HelpcenterRedirectDTO"
							}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteRedirect",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/HelpcenterRedirectDocument"
								}
							}
						}
					}
				},
				"description": "Delete a redirect.",
				"summary": "Delete a redirect",
				"tags": [
					"Help center redirects"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "redirectId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets": {
			"post": {
				"operationId": "CreateTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {},
								"examples": {
									"Example 1": {
										"value": {
											"title": "Login button not working",
											"description": "Users cannot log in when clicking the login button",
											"type": "BUG",
											"status": "OPEN",
											"priority": "HIGH",
											"customData": {
												"browser": "Chrome",
												"version": "120.0.0.0"
											}
										}
									}
								}
							}
						}
					}
				},
				"summary": "Create a new ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateTicketDto"
							}
						}
					}
				}
			},
			"get": {
				"operationId": "GetTickets",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {},
								"examples": {
									"Example 1": {
										"value": {
											"tickets": [
												{
													"_id": "507f1f77bcf86cd799439011",
													"id": "507f1f77bcf86cd799439011",
													"title": "Login button not working",
													"formData": {
														"description": "Users cannot log in when clicking the login button"
													},
													"type": "BUG",
													"status": "OPEN",
													"priority": "HIGH",
													"createdAt": "2024-01-15T10:30:00.000Z",
													"updatedAt": "2024-01-15T11:45:00.000Z",
													"processingUser": {
														"_id": "507f1f77bcf86cd799439012",
														"email": "support@example.com",
														"firstName": "John",
														"lastName": "Doe"
													},
													"session": {
														"_id": "507f1f77bcf86cd799439013",
														"email": "user@example.com"
													},
													"latestComment": {
														"_id": "507f1f77bcf86cd799439014",
														"data": {
															"content": "Any update on this issue?"
														}
													}
												}
											],
											"count": 1,
											"totalCount": 42
										}
									}
								}
							}
						}
					}
				},
				"description": "Get all tickets in a project with support for filtering, sorting, and pagination.\n\n**Filtering:**\n- Filter by type: `type=BUG` or `type=BUG,FEATURE_REQUEST`\n- Filter by status: `status=OPEN`\n- Filter by priority: `priority=HIGH` or `priority=HIGH,MEDIUM`\n- Filter by archived state: `archived=false` or `ignoreArchived=true`\n- Filter by spam: `isSpam=false`\n\n**Sorting:**\n- Sort by creation date: `sort=-createdAt` (newest first) or `sort=createdAt` (oldest first)\n- Sort by priority: `sort=priority` (ascending: LOW, MEDIUM, HIGH) or `sort=-priority` (descending)\n- Sort by updated date: `sort=-updatedAt`\n\n**Pagination:**\n- Limit results: `limit=20` (default up to 1000)\n- Skip results: `skip=0` (for pagination: `skip=(page-1)*limit`)",
				"summary": "Get all tickets",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/compose": {
			"post": {
				"operationId": "CreateTicketWithMessage",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Create a new ticket with an optional initial message",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateTicketWithMessageDto"
							}
						}
					}
				}
			}
		},
		"/tickets/search": {
			"get": {
				"operationId": "SearchForTickets",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Search for tickets",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/extendedsearch": {
			"get": {
				"operationId": "SearchForTicketsExtended",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Search for tickets",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/by-session-query": {
			"get": {
				"operationId": "FindTicketsBySessionQuery",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Find tickets by session query",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "email",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "userId",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "phone",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "customData.TIN",
						"required": false,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/export": {
			"get": {
				"operationId": "ExportTickets",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Export tickets",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/notification/{shareToken}": {
			"get": {
				"operationId": "GetNotificationTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get notification ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "path",
						"name": "shareToken",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/csv-export": {
			"get": {
				"operationId": "ExportTicketsAsCSV",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Export tickets",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/export-fields": {
			"get": {
				"operationId": "GetTicketExportFields",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "type",
						"required": false,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/tracker-tickets": {
			"post": {
				"operationId": "CreateTrackerTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Create a tracker ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"customerName": {
										"type": "string"
									},
									"customerEmail": {
										"type": "string"
									},
									"linkedTicketIds": {
										"items": {
											"type": "string"
										},
										"type": "array"
									},
									"description": {
										"type": "string"
									},
									"title": {
										"type": "string"
									},
									"type": {
										"type": "string"
									}
								},
								"type": "object"
							}
						}
					}
				}
			},
			"get": {
				"operationId": "FindTrackerTickets",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Find tracker tickets",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "searchTerm",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "page",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					}
				]
			}
		},
		"/tickets/search-feature-requests": {
			"get": {
				"operationId": "SearchFeatureRequests",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Search feature requests semantically",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "query",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "limit",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "minScore",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					}
				]
			}
		},
		"/tickets/generate-data": {
			"post": {
				"operationId": "GenerateTrackerTicketData",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Generate tracker ticket data with AI",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"sourceTicketId": {
										"type": "string"
									},
									"type": {
										"type": "string"
									}
								},
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/tickets/ticketscount": {
			"get": {
				"operationId": "GetTicketCount",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get ticket count",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/{ticketId}/audit-export": {
			"get": {
				"operationId": "ExportTicketAuditEndpoint",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Export a single ticket for audit",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/{ticketId}": {
			"get": {
				"operationId": "GetTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get a ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"put": {
				"operationId": "UpdateTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Update a ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdateTicketDto"
							}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Delete a ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/merge": {
			"put": {
				"operationId": "MergeTickets",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Merge multiple tickets into one",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"shouldMergeContacts": {
										"type": "boolean"
									},
									"shouldMergeTasks": {
										"type": "boolean"
									},
									"shouldCreateNewTicket": {
										"type": "boolean"
									},
									"ticketsToMergeIds": {
										"items": {
											"type": "string"
										},
										"type": "array"
									},
									"targetTicketId": {
										"type": "string"
									}
								},
								"required": [
									"shouldMergeContacts",
									"shouldMergeTasks",
									"shouldCreateNewTicket",
									"ticketsToMergeIds"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/tickets/deduplicate": {
			"post": {
				"operationId": "FindDuplicates",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Find duplicate feature requests",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": false,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/deduplicate/merge": {
			"put": {
				"operationId": "MergeDuplicateGroup",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Merge a duplicate group",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"duplicateTicketIds": {
										"items": {
											"type": "string"
										},
										"type": "array"
									},
									"mainTicketId": {
										"type": "string"
									}
								},
								"required": [
									"duplicateTicketIds",
									"mainTicketId"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/tickets/{ticketId}/console-logs": {
			"get": {
				"operationId": "GetConsoleLogsForTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get console logs for a ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/{ticketId}/activity-logs": {
			"get": {
				"operationId": "GetActivityLogsForTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get activity logs for a ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/{ticketId}/network-logs": {
			"get": {
				"operationId": "GetNetworkLogsForTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get network logs for a ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/{ticketId}/replay": {
			"get": {
				"operationId": "GetReplayForTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get network logs for a ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/{ticketId}/typing": {
			"post": {
				"operationId": "IndicateUserTyping",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Indicate user typing",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"typing": {
										"type": "boolean"
									}
								},
								"required": [
									"typing"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/tickets/{ticketId}/viewing": {
			"post": {
				"operationId": "IndicateUserViewing",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Indicate user viewing",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"viewing": {
										"type": "boolean"
									}
								},
								"required": [
									"viewing"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/tickets/{ticketId}/snooze": {
			"put": {
				"operationId": "SnoozeTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Snooze a ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"duration": {
										"type": "number",
										"format": "double"
									}
								},
								"required": [
									"duration"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/tickets/{ticketId}/link": {
			"put": {
				"operationId": "LinkTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Link a ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"targetTicketId": {
										"type": "string"
									}
								},
								"required": [
									"targetTicketId"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/tickets/{ticketId}/unlink": {
			"put": {
				"operationId": "UnlinkTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Unlink a ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"targetTicketId": {
										"type": "string"
									}
								},
								"required": [
									"targetTicketId"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/tickets/{ticketId}/archive": {
			"put": {
				"operationId": "ArchiveTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Archive a ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/archive/all": {
			"put": {
				"operationId": "ArchiveAllTickets",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Archive a ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"type": {
										"type": "string"
									},
									"status": {
										"type": "string"
									}
								},
								"required": [
									"type",
									"status"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/tickets/{ticketId}/unarchive": {
			"put": {
				"operationId": "UnarchiveTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Unarchive a ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/{ticketId}/workflow": {
			"post": {
				"operationId": "RunWorkflow",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Run workflow",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"workflowId": {
										"type": "string"
									}
								},
								"required": [
									"workflowId"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/tickets/{ticketId}/send-to-integration": {
			"post": {
				"operationId": "SendTicketToIntegration",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Send ticket to integration",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"integrationType": {
										"type": "string"
									},
									"integrationId": {
										"type": "string"
									}
								},
								"required": [
									"integrationType",
									"integrationId"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/tickets/{ticketId}/vote": {
			"post": {
				"operationId": "VoteForTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Vote for ticket",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"action": {
										"type": "string",
										"enum": [
											"toggle",
											"subscribe",
											"unsubscribe"
										]
									},
									"name": {
										"type": "string"
									},
									"email": {
										"type": "string"
									}
								},
								"required": [
									"email"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/tickets/{ticketId}/draft-reply": {
			"post": {
				"operationId": "GenerateDraftReply",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Generate AI draft reply",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/tickets/{ticketId}/send-transcript": {
			"post": {
				"operationId": "SendTicketTranscript",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Send ticket conversation transcript to multiple emails",
				"tags": [
					"Ticket"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"emails": {
										"items": {
											"type": "string"
										},
										"type": "array"
									}
								},
								"required": [
									"emails"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/engagement/banners": {
			"post": {
				"operationId": "CreateBanner",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Create a new banner",
				"tags": [
					"Engagement Banner"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"get": {
				"operationId": "GetBanners",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get all banners",
				"tags": [
					"Engagement Banner"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/banners/{bannerId}": {
			"put": {
				"operationId": "UpdateBanner",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Update an banner",
				"tags": [
					"Engagement Banner"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "bannerId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteBanner",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Delete an banner",
				"tags": [
					"Engagement Banner"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "bannerId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"get": {
				"operationId": "GetBanner",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get an banner",
				"tags": [
					"Engagement Banner"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "bannerId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/chat-messages": {
			"post": {
				"operationId": "CreateChatMessage",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Create a new chat message",
				"tags": [
					"Engagement Chat Message"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"get": {
				"operationId": "GetChatMessages",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get all chat messages",
				"tags": [
					"Engagement Chat Message"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/chat-messages/{chatMessageId}": {
			"put": {
				"operationId": "UpdateChatMessage",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Update an chat message",
				"tags": [
					"Engagement Chat Message"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "chatMessageId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteChatMessage",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Delete an chat message",
				"tags": [
					"Engagement Chat Message"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "chatMessageId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"get": {
				"operationId": "GetChatMessage",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get an chat message",
				"tags": [
					"Engagement Chat Message"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "chatMessageId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/cobrowse": {
			"post": {
				"operationId": "CreateCobrowseProductTour",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Create a new cobrowse product tour",
				"tags": [
					"Engagement Cobrowse"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"get": {
				"operationId": "GetCobrowseProductTours",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get all cobrowse product tours",
				"tags": [
					"Engagement Cobrowse"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/cobrowse/{cobrowseProductTourId}": {
			"put": {
				"operationId": "UpdateCobrowseProductTour",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Update an cobrowse product tour",
				"tags": [
					"Engagement Cobrowse"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "cobrowseProductTourId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteCobrowseProductTour",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Delete an cobrowse product tour",
				"tags": [
					"Engagement Cobrowse"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "cobrowseProductTourId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"get": {
				"operationId": "GetCobrowseProductTour",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get an cobrowse product tour",
				"tags": [
					"Engagement Cobrowse"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "cobrowseProductTourId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/emails": {
			"post": {
				"operationId": "CreateEngagementEmail",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Create a new email",
				"tags": [
					"Engagement Email"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"get": {
				"operationId": "GetEngagementEmails",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get all emails",
				"tags": [
					"Engagement Email"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/emails/{engagementEmailId}": {
			"put": {
				"operationId": "UpdateEngagementEmail",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Update an email",
				"tags": [
					"Engagement Email"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "engagementEmailId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteEngagementEmail",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Delete an email",
				"tags": [
					"Engagement Email"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "engagementEmailId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"get": {
				"operationId": "GetEngagementEmail",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get an email",
				"tags": [
					"Engagement Email"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "engagementEmailId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/emails/{engagementEmailId}/send-email-preview": {
			"post": {
				"operationId": "SendEmailPreview",
				"responses": {
					"204": {
						"description": "No content"
					}
				},
				"description": "Send email preview",
				"summary": "Send email preview",
				"tags": [
					"Engagement Email"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "engagementEmailId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"lang": {
										"type": "string"
									},
									"emails": {
										"items": {
											"type": "string"
										},
										"type": "array"
									}
								},
								"required": [
									"emails"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/engagement/news": {
			"post": {
				"operationId": "CreateNewsArticle",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OutboundDocument"
								}
							}
						}
					}
				},
				"summary": "Create a new engagement news article",
				"tags": [
					"Engagement News"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"get": {
				"operationId": "GetNewsArticles",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/OutboundDocument"
									},
									"type": "array"
								}
							}
						}
					}
				},
				"summary": "Get all engagement news articles",
				"tags": [
					"Engagement News"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "withoutChangelogs",
						"required": false,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/news/{newsId}": {
			"get": {
				"operationId": "GetNewsArticle",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OutboundDocument"
								}
							}
						}
					}
				},
				"summary": "Get an engagement news article",
				"tags": [
					"Engagement News"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "newsId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"put": {
				"operationId": "UpdateNewsArticle",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"allOf": [
										{
											"properties": {
												"searchContent": {
													"type": "string"
												},
												"emailTemplate": {
													"properties": {
														"isValid": {
															"properties": {},
															"type": "object"
														},
														"createFromHexString": {
															"properties": {},
															"type": "object"
														},
														"createFromTime": {
															"properties": {},
															"type": "object"
														},
														"generate": {
															"properties": {},
															"type": "object"
														},
														"cacheHexString": {},
														"prototype": {
															"$ref": "#/components/schemas/ObjectId"
														}
													},
													"type": "object"
												},
												"sourceOutbound": {
													"properties": {
														"isValid": {
															"properties": {},
															"type": "object"
														},
														"createFromHexString": {
															"properties": {},
															"type": "object"
														},
														"createFromTime": {
															"properties": {},
															"type": "object"
														},
														"generate": {
															"properties": {},
															"type": "object"
														},
														"cacheHexString": {},
														"prototype": {
															"$ref": "#/components/schemas/ObjectId"
														}
													},
													"type": "object"
												},
												"trigger": {},
												"pageFilterDelay": {
													"type": "number",
													"format": "double"
												},
												"pageFilter": {
													"type": "string"
												},
												"eventTriggerDelay": {
													"type": "number",
													"format": "double"
												},
												"eventTrigger": {
													"type": "string"
												},
												"actionType": {
													"type": "string"
												},
												"sentAt": {
													"type": "string",
													"format": "date-time"
												},
												"stats": {},
												"subject": {},
												"coverImageUrl": {
													"type": "string"
												},
												"subType": {
													"type": "string"
												},
												"sender": {
													"properties": {
														"isValid": {
															"properties": {},
															"type": "object"
														},
														"createFromHexString": {
															"properties": {},
															"type": "object"
														},
														"createFromTime": {
															"properties": {},
															"type": "object"
														},
														"generate": {
															"properties": {},
															"type": "object"
														},
														"cacheHexString": {},
														"prototype": {
															"$ref": "#/components/schemas/ObjectId"
														}
													},
													"type": "object"
												},
												"project": {
													"properties": {
														"isValid": {
															"properties": {},
															"type": "object"
														},
														"createFromHexString": {
															"properties": {},
															"type": "object"
														},
														"createFromTime": {
															"properties": {},
															"type": "object"
														},
														"generate": {
															"properties": {},
															"type": "object"
														},
														"cacheHexString": {},
														"prototype": {
															"$ref": "#/components/schemas/ObjectId"
														}
													},
													"type": "object"
												},
												"data": {},
												"conditions": {},
												"config": {},
												"message": {},
												"aiSummaryOutdated": {
													"type": "boolean"
												},
												"aiSummary": {
													"type": "string"
												},
												"organisation": {
													"properties": {
														"isValid": {
															"properties": {},
															"type": "object"
														},
														"createFromHexString": {
															"properties": {},
															"type": "object"
														},
														"createFromTime": {
															"properties": {},
															"type": "object"
														},
														"generate": {
															"properties": {},
															"type": "object"
														},
														"cacheHexString": {},
														"prototype": {
															"$ref": "#/components/schemas/ObjectId"
														}
													},
													"type": "object"
												},
												"createdBy": {
													"properties": {
														"isValid": {
															"properties": {},
															"type": "object"
														},
														"createFromHexString": {
															"properties": {},
															"type": "object"
														},
														"createFromTime": {
															"properties": {},
															"type": "object"
														},
														"generate": {
															"properties": {},
															"type": "object"
														},
														"cacheHexString": {},
														"prototype": {
															"$ref": "#/components/schemas/ObjectId"
														}
													},
													"type": "object"
												},
												"startSendingAfter": {
													"type": "string",
													"format": "date-time"
												},
												"stopSendingAfter": {
													"type": "string",
													"format": "date-time"
												},
												"pageRules": {
													"items": {
														"properties": {
															"pageFilter": {
																"type": "string"
															},
															"pageFilterType": {
																"type": "string",
																"enum": [
																	"is",
																	"contains",
																	"isnot",
																	"notcontains",
																	"startswith",
																	"endswith",
																	"empty",
																	"notempty"
																]
															}
														},
														"required": [
															"pageFilterType"
														],
														"type": "object"
													},
													"type": "array"
												},
												"pageFilterType": {
													"type": "string",
													"enum": [
														"is",
														"contains",
														"isnot",
														"notcontains",
														"startswith",
														"endswith",
														"empty",
														"notempty"
													]
												},
												"frequencyDays": {
													"type": "number",
													"format": "double"
												},
												"frequency": {
													"type": "string"
												},
												"frequencyType": {
													"type": "string"
												},
												"format": {
													"type": "string"
												},
												"sent": {
													"type": "boolean"
												},
												"sound": {
													"type": "boolean"
												},
												"newTrigger": {
													"type": "boolean"
												},
												"tags": {
													"items": {
														"type": "string"
													},
													"type": "array"
												},
												"updatedAt": {
													"type": "string",
													"format": "date-time"
												},
												"status": {
													"type": "string"
												},
												"targetAudience": {
													"type": "string"
												},
												"createdAt": {
													"type": "string",
													"format": "date-time"
												},
												"hidden": {
													"type": "boolean"
												},
												"name": {
													"type": "string"
												},
												"type": {
													"type": "string"
												}
											},
											"required": [
												"startSendingAfter",
												"stopSendingAfter",
												"pageRules",
												"pageFilterType",
												"frequencyDays",
												"frequency",
												"frequencyType",
												"format",
												"sent",
												"sound",
												"newTrigger",
												"tags",
												"updatedAt",
												"status",
												"targetAudience",
												"createdAt",
												"hidden",
												"name",
												"type"
											],
											"type": "object"
										},
										{
											"$ref": "#/components/schemas/Document_any.any.any_"
										},
										{
											"properties": {
												"_id": {
													"$ref": "#/components/schemas/ObjectId"
												}
											},
											"required": [
												"_id"
											],
											"type": "object"
										}
									]
								}
							}
						}
					}
				},
				"summary": "Update a news article.",
				"tags": [
					"Engagement News"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "newsId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteNewsArticle",
				"responses": {
					"204": {
						"description": "No content"
					}
				},
				"summary": "Delete a news article.",
				"tags": [
					"Engagement News"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "newsId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/product-tours": {
			"post": {
				"operationId": "CreateEngagementProductTour",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Create a new product tour",
				"tags": [
					"Engagement Product Tour"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"get": {
				"operationId": "GetEngagementProductTours",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get all product tours",
				"tags": [
					"Engagement Product Tour"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/product-tours/{productTourId}": {
			"put": {
				"operationId": "UpdateEngagementProductTour",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Update a product tour",
				"tags": [
					"Engagement Product Tour"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "productTourId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteEngagementProductTour",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Delete a product tour",
				"tags": [
					"Engagement Product Tour"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "productTourId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"get": {
				"operationId": "GetEngagementProductTour",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get a product tour",
				"tags": [
					"Engagement Product Tour"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "productTourId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/push-notifications": {
			"post": {
				"operationId": "CreateEngagementPushNotification",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Create a new push notification",
				"tags": [
					"Engagement Push Notification"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"get": {
				"operationId": "GetEngagementPushNotifications",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get all push notification",
				"tags": [
					"Engagement Push Notification"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/push-notifications/{pushNotificationId}": {
			"put": {
				"operationId": "UpdateEngagementPushNotification",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Update a push notification",
				"tags": [
					"Engagement Push Notification"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "pushNotificationId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteEngagementPushNotification",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Delete a push notification",
				"tags": [
					"Engagement Push Notification"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "pushNotificationId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"get": {
				"operationId": "GetEngagementPushNotification",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get a push notification",
				"tags": [
					"Engagement Push Notification"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "pushNotificationId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/surveys": {
			"post": {
				"operationId": "CreateSurvey",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Create a new survey",
				"tags": [
					"Engagement Survey"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"get": {
				"operationId": "GetSurveys",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get all survey",
				"tags": [
					"Engagement Survey"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/surveys/{surveyId}": {
			"put": {
				"operationId": "UpdateSurvey",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Update a survey",
				"tags": [
					"Engagement Survey"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "surveyId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteSurvey",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Delete a survey",
				"tags": [
					"Engagement Survey"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "surveyId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"get": {
				"operationId": "GetSurvey",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get a survey",
				"tags": [
					"Engagement Survey"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "surveyId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/surveys/{surveyId}/responses": {
			"get": {
				"operationId": "GetSurveyResponses",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get all survey responses",
				"tags": [
					"Engagement Survey"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "surveyId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/surveys/{surveyId}/responses/export": {
			"get": {
				"operationId": "ExportSurveyResponses",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Export survey responses",
				"tags": [
					"Engagement Survey"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "surveyId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/surveys/{surveyId}/responses/read": {
			"put": {
				"operationId": "MarkSurveyResponsesAsRead",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Mark all survey responses as read",
				"tags": [
					"Engagement Survey"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "surveyId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/surveys/{surveyId}/responses/samples": {
			"get": {
				"operationId": "GetSurveyResponseSamples",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get all survey response samples",
				"tags": [
					"Engagement Survey"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "surveyId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/surveys/{surveyId}/responses/summarize": {
			"get": {
				"operationId": "SummarizeSurveyResponses",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Summarize survey responses",
				"tags": [
					"Engagement Survey"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "surveyId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/tooltips": {
			"post": {
				"operationId": "CreateTooltip",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Create a new tooltip",
				"tags": [
					"Engagement Tooltip"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"get": {
				"operationId": "GetTooltips",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get all tooltip",
				"tags": [
					"Engagement Tooltip"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/tooltips/{tooltipId}": {
			"put": {
				"operationId": "UpdateTooltip",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Update a tooltip",
				"tags": [
					"Engagement Tooltip"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "tooltipId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteTooltip",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Delete a tooltip",
				"tags": [
					"Engagement Tooltip"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "tooltipId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"get": {
				"operationId": "GetTooltip",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get a tooltip",
				"tags": [
					"Engagement Tooltip"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "tooltipId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/whatsapp-messages": {
			"post": {
				"operationId": "CreateWhatsappMessage",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Create a new whatsapp message",
				"tags": [
					"Engagement Whatsapp Messages"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"get": {
				"operationId": "GetWhatsappMessages",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get all whatsapp message",
				"tags": [
					"Engagement Whatsapp Messages"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/whatsapp-messages/{whatsappMessageId}": {
			"put": {
				"operationId": "UpdateWhatsappMessage",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Update a whatsapp message",
				"tags": [
					"Engagement Whatsapp Messages"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "whatsappMessageId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteWhatsappMessage",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Delete a whatsapp message",
				"tags": [
					"Engagement Whatsapp Messages"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "whatsappMessageId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"get": {
				"operationId": "GetWhatsappMessage",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get a whatsapp message",
				"tags": [
					"Engagement Whatsapp Messages"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "whatsappMessageId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/whatsapp-messages/send-template": {
			"post": {
				"operationId": "SendWhatsappTemplateMessage",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Send a whatsapp template message",
				"tags": [
					"Engagement Whatsapp Messages"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"customValues": {
										"$ref": "#/components/schemas/Record_string.string_",
										"description": "Key-value map of template variable overrides. Keys must match the templateVariable names from your variable mapping (e.g. { \"order_number\": \"ORD-123\", \"customer_name\": \"John\" })"
									},
									"languageCode": {
										"type": "string",
										"description": "Language code (e.g. \"en_US\"). Falls back to the contact's language or \"en_US\""
									},
									"templateName": {
										"type": "string",
										"description": "Name of the WhatsApp template registered with Meta"
									},
									"channelId": {
										"type": "string",
										"description": "The WhatsApp channel ID from your project"
									},
									"to": {
										"type": "string",
										"description": "Recipient phone number (E.164 format, e.g. \"+14155552671\")"
									}
								},
								"required": [
									"templateName",
									"channelId",
									"to"
								],
								"type": "object"
							},
							"example": {
								"to": "+14155552671",
								"channelId": "6620f1a2b3c4d5e6f7890123",
								"templateName": "order_confirmation",
								"languageCode": "en_US",
								"customValues": {
									"order_number": "ORD-2026-4821",
									"delivery_date": "March 15, 2026",
									"customer_name": "John Doe"
								}
							}
						}
					}
				}
			}
		},
		"/engagement/checklists": {
			"post": {
				"operationId": "CreateChecklist",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Create a new checklist",
				"tags": [
					"Engagement Checklist"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"get": {
				"operationId": "GetChecklists",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get all checklists",
				"tags": [
					"Engagement Checklist"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/checklists/{checklistId}": {
			"put": {
				"operationId": "UpdateChecklist",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Update a checklist",
				"tags": [
					"Engagement Checklist"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "checklistId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteChecklist",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Delete a checklist",
				"tags": [
					"Engagement Checklist"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "checklistId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"get": {
				"operationId": "GetChecklist",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get a checklist",
				"tags": [
					"Engagement Checklist"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "checklistId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagements/{engagementId}/activities": {
			"get": {
				"operationId": "GetEngagementActivities",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get engagement activities",
				"tags": [
					"Engagement"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "engagementId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagements/{engagementId}/activities/count": {
			"get": {
				"operationId": "GetEngagementActivitiesCount",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get engagement activities count",
				"tags": [
					"Engagement"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "engagementId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagements/{engagementId}/recipients": {
			"get": {
				"operationId": "FindEngagementRecipients",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Find engagement recipients",
				"tags": [
					"Engagement"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "engagementId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagements/{engagementId}/statistics": {
			"get": {
				"operationId": "GetEngagementStatistics",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get engagement statistics",
				"tags": [
					"Engagement"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "engagementId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagements/{engagementId}/fixed-audience-samples": {
			"post": {
				"operationId": "GetEngagementFixedAudienceSamples",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get engagement fixed audience samples",
				"tags": [
					"Engagement"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "engagementId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			}
		},
		"/engagements/{engagementId}/clone": {
			"post": {
				"operationId": "CloneEngagement",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Clone engagement",
				"tags": [
					"Engagement"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "engagementId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			}
		},
		"/aicontent": {
			"post": {
				"operationId": "Create",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Create or update AI content",
				"summary": "Create AI content",
				"tags": [
					"AI content"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateAIContentDto"
							}
						}
					}
				}
			}
		},
		"/aicontent/{contentId}": {
			"get": {
				"operationId": "FindByContentId",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Get AI content by contentId",
				"summary": "Get AI content by contentId",
				"tags": [
					"AI content"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "contentId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"put": {
				"operationId": "UpdateByContentId",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Update AI content by contentId",
				"summary": "Update AI content by contentId",
				"tags": [
					"AI content"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "contentId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdateAIContentDto"
							}
						}
					}
				}
			},
			"delete": {
				"operationId": "RemoveByContentId",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"success": {
											"type": "boolean"
										}
									},
									"required": [
										"success"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Delete AI content by contentId",
				"summary": "Delete AI content by contentId",
				"tags": [
					"AI content"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "contentId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/aicontent/oldbatches": {
			"delete": {
				"operationId": "RemoveOldBatches",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"deleted": {},
										"success": {
											"type": "boolean"
										}
									},
									"required": [
										"deleted",
										"success"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Delete all AI content except the current batch",
				"summary": "Delete old AI content batches",
				"tags": [
					"AI content"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"type": {
										"type": "string"
									},
									"currentBatchId": {
										"type": "string"
									}
								},
								"required": [
									"currentBatchId"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/aicontent/batch/{batchId}": {
			"delete": {
				"operationId": "RemoveByBatchId",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"deleted": {},
										"success": {
											"type": "boolean"
										}
									},
									"required": [
										"deleted",
										"success"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Delete all AI content by batchId",
				"summary": "Delete AI content by batchId",
				"tags": [
					"AI content"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "batchId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/modals": {
			"post": {
				"operationId": "CreateModal",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Create a new modal",
				"tags": [
					"Engagement Modal"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"get": {
				"operationId": "GetModals",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get all modals",
				"tags": [
					"Engagement Modal"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/engagement/modals/{modalId}": {
			"put": {
				"operationId": "UpdateModal",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Update a modal",
				"tags": [
					"Engagement Modal"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "modalId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteModal",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Delete a modal",
				"tags": [
					"Engagement Modal"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "modalId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"get": {
				"operationId": "GetModal",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get a modal",
				"tags": [
					"Engagement Modal"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "modalId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/invitations": {
			"get": {
				"operationId": "GetMyInvitations",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/InvitationDocument"
									},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Get all invitations for a user.",
				"summary": "Get all invitations for a user",
				"tags": [
					"Invitation"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": []
			}
		},
		"/invitations/{invitationId}": {
			"delete": {
				"operationId": "DeleteInvitation",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"type": "boolean"
								}
							}
						}
					}
				},
				"description": "Delete an invitation.",
				"summary": "Delete an invitation",
				"tags": [
					"Invitation"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "invitationId",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"put": {
				"operationId": "UpdateInvitation",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"type": "boolean"
								}
							}
						}
					}
				},
				"description": "Update an invitation.",
				"summary": "Update an invitation",
				"tags": [
					"Invitation"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "invitationId",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"accept": {
										"type": "boolean"
									}
								},
								"required": [
									"accept"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/invitations/{invitationId}/role": {
			"put": {
				"operationId": "UpdateInvitationRole",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/InvitationDocument"
								}
							}
						}
					}
				},
				"description": "Update an invitation for a project.",
				"summary": "Update an invitation for a project",
				"tags": [
					"Invitation"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "path",
						"name": "invitationId",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"role": {
										"type": "string"
									}
								},
								"required": [
									"role"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/invitations/organisations/{organisationId}": {
			"get": {
				"operationId": "GetOrganisationInvitations",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/InvitationDocument"
									},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Get all invitations for an organisation.",
				"summary": "Get all invitations for an organisation",
				"tags": [
					"Invitation"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "organisationId",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"post": {
				"operationId": "CreateOrganisationInvitation",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Create a new invitation for an organisation.",
				"summary": "Create a new invitation for an organisation",
				"tags": [
					"Invitation"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "organisationId",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"emails": {
										"items": {
											"type": "string"
										},
										"type": "array"
									}
								},
								"required": [
									"emails"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/invitations/projects": {
			"get": {
				"operationId": "GetProjectInvitations",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/InvitationDocument"
									},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Get all invitations for a project.",
				"summary": "Get all invitations for a project",
				"tags": [
					"Invitation"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": []
			},
			"post": {
				"operationId": "CreateProjectInvitation",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Create a new invitation for a project.",
				"summary": "Create a new invitation for a project",
				"tags": [
					"Invitation"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"emails": {
										"items": {
											"type": "string"
										},
										"type": "array"
									}
								},
								"required": [
									"emails"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/projects/users": {
			"get": {
				"operationId": "GetUsers",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Get all users for a project.",
				"summary": "Get all users for a project",
				"tags": [
					"Project"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/projects/users/{userId}": {
			"put": {
				"operationId": "UpdateUser",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"type": "boolean"
								}
							}
						}
					}
				},
				"description": "Update a user for a project.",
				"summary": "Update a user for a project",
				"tags": [
					"Project"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "userId",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"role": {
										"type": "string"
									}
								},
								"required": [
									"role"
								],
								"type": "object"
							}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteUser",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"type": "boolean"
								}
							}
						}
					}
				},
				"description": "Delete a user for a project.",
				"summary": "Delete a user for a project",
				"tags": [
					"Project"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "userId",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/users/me": {
			"get": {
				"operationId": "GetMe",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/UserDocument"
								}
							}
						}
					}
				},
				"description": "Get current user.",
				"summary": "Get current user.",
				"tags": [
					"User"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": []
			}
		},
		"/users/me/reassign-tickets": {
			"post": {
				"operationId": "ReassignTickets",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"success": {
											"type": "boolean"
										}
									},
									"required": [
										"success"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Reassign all tickets to the user.",
				"summary": "Reassign all tickets to the user.",
				"tags": [
					"User"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": []
			}
		},
		"/users/unified-inbox": {
			"get": {
				"operationId": "GetUnifiedInboxTickets",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get unified inbox tickets",
				"tags": [
					"User"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "type",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "filteredProjectId",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "page",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "limit",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					}
				]
			}
		},
		"/users/unified-inbox/{ticketId}": {
			"get": {
				"operationId": "GetUnifiedInboxTicket",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get unified inbox ticket",
				"tags": [
					"User"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "ticketId",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/users/{userId}": {
			"put": {
				"operationId": "Update",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Update user.",
				"summary": "Update user.",
				"tags": [
					"User"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdateUserDto"
							}
						}
					}
				}
			}
		},
		"/users/me/permissions": {
			"get": {
				"operationId": "GetMyPermissions",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"permissions": {
											"items": {
												"type": "string"
											},
											"type": "array"
										},
										"roles": {
											"items": {
												"type": "string"
											},
											"type": "array"
										}
									},
									"required": [
										"permissions",
										"roles"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Get current user's role permissions.",
				"summary": "Get current user's role permissions.",
				"tags": [
					"User"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": []
			}
		},
		"/users": {
			"post": {
				"operationId": "Create",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Authenticate user for Pusher session.",
				"summary": "Authenticate user for Pusher session.",
				"tags": [
					"User"
				],
				"security": [],
				"parameters": [],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateUserDto"
							}
						}
					}
				}
			}
		},
		"/users/verify": {
			"post": {
				"operationId": "Verify",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Authenticate user for Pusher session.",
				"summary": "Authenticate user for Pusher session.",
				"tags": [
					"User"
				],
				"security": [],
				"parameters": [],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"code": {
										"type": "string"
									},
									"email": {
										"type": "string"
									}
								},
								"required": [
									"code",
									"email"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/users/resend": {
			"post": {
				"operationId": "Resend",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"type": "boolean"
								}
							}
						}
					}
				},
				"description": "Resend a verification code to the user's email.",
				"summary": "Resend a verification code to the user's email.",
				"tags": [
					"User"
				],
				"security": [],
				"parameters": [],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"id": {
										"type": "string"
									}
								},
								"required": [
									"id"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/users/me/session-auth": {
			"post": {
				"operationId": "AuthenticateUserPusherSession",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Authenticate user for Pusher session.",
				"summary": "Authenticate user for Pusher session.",
				"tags": [
					"User"
				],
				"security": [],
				"parameters": [],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"socket_id": {
										"type": "string"
									}
								},
								"required": [
									"socket_id"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/users/me/session-channel-auth": {
			"post": {
				"operationId": "AuthenticateUserPusherChannelSession",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Authenticate user for Pusher session.",
				"summary": "Authenticate user for Pusher session.",
				"tags": [
					"User"
				],
				"security": [],
				"parameters": [],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"properties": {
									"socket_id": {
										"type": "string"
									},
									"channel_name": {
										"type": "string"
									}
								},
								"required": [
									"socket_id",
									"channel_name"
								],
								"type": "object"
							}
						}
					}
				}
			}
		},
		"/statistics/bar-chart": {
			"get": {
				"operationId": "GetChartData",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Get bar chart data for various statistics",
				"tags": [
					"Statistics"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"description": "- Type of chart data to retrieve (e.g., NEW_TICKETS_COUNT, MEDIAN_FIRST_RESPONSE_TIME)",
						"in": "query",
						"name": "chartType",
						"required": true,
						"schema": {}
					},
					{
						"description": "- Timezone for date calculations (e.g., \"America/New_York\")",
						"in": "query",
						"name": "timezone",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Grouping interval (\"day\", \"month\", \"year\")",
						"in": "query",
						"name": "groupInterval",
						"required": false,
						"schema": {
							"type": "string",
							"enum": [
								"day",
								"month",
								"year"
							]
						}
					},
					{
						"in": "query",
						"name": "skip",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "limit",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "groupedBy",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Aggregation type (\"MEDIAN\", \"AVERAGE\")",
						"in": "query",
						"name": "aggsType",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Start date for filtering (ISO format)",
						"in": "query",
						"name": "startDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- End date for filtering (ISO format)",
						"in": "query",
						"name": "endDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "createdAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "updatedAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "outbound",
						"required": false,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/statistics/facts": {
			"get": {
				"operationId": "GetFactData",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Get fact data for various statistics",
				"tags": [
					"Statistics"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"description": "- Type of fact data to retrieve (e.g., NEW_TICKETS_COUNT, MEDIAN_TIME_TO_CLOSE)",
						"in": "query",
						"name": "chartType",
						"required": true,
						"schema": {}
					},
					{
						"description": "- Timezone for date calculations",
						"in": "query",
						"name": "timezone",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "groupInterval",
						"required": false,
						"schema": {
							"type": "string",
							"enum": [
								"day",
								"month",
								"year"
							]
						}
					},
					{
						"in": "query",
						"name": "skip",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "limit",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "groupedBy",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Aggregation type (\"MEDIAN\", \"AVERAGE\")",
						"in": "query",
						"name": "aggsType",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Start date for filtering (ISO format)",
						"in": "query",
						"name": "startDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- End date for filtering (ISO format)",
						"in": "query",
						"name": "endDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "createdAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "updatedAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "outbound",
						"required": false,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/statistics/lists": {
			"get": {
				"operationId": "GetListData",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Get list data for various statistics",
				"tags": [
					"Statistics"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"description": "- Type of list data to retrieve (e.g., TEAM_PERFORMANCE_LIST, ARTICLE_SEARCH_RESULT_LIST)",
						"in": "query",
						"name": "chartType",
						"required": true,
						"schema": {}
					},
					{
						"description": "- Timezone for date calculations",
						"in": "query",
						"name": "timezone",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "groupInterval",
						"required": false,
						"schema": {
							"type": "string",
							"enum": [
								"day",
								"month",
								"year"
							]
						}
					},
					{
						"description": "- Number of records to skip (pagination)",
						"in": "query",
						"name": "skip",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"description": "- Maximum number of records to return",
						"in": "query",
						"name": "limit",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "groupedBy",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "aggsType",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "startDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "endDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "createdAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "updatedAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Whether to use working hours calculations",
						"in": "query",
						"name": "useWorkingHours",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/statistics/lists/export": {
			"get": {
				"operationId": "ExportListData",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Export list data as CSV",
				"tags": [
					"Statistics"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"description": "- Type of list data to export (e.g., TEAM_PERFORMANCE_LIST)",
						"in": "query",
						"name": "chartType",
						"required": true,
						"schema": {}
					},
					{
						"description": "- Timezone for date calculations",
						"in": "query",
						"name": "timezone",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "groupInterval",
						"required": false,
						"schema": {
							"type": "string",
							"enum": [
								"day",
								"month",
								"year"
							]
						}
					},
					{
						"in": "query",
						"name": "skip",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "limit",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "groupedBy",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "aggsType",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "startDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "endDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "createdAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "updatedAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Whether to use working hours calculations",
						"in": "query",
						"name": "useWorkingHours",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/statistics/heatmap": {
			"get": {
				"operationId": "GetHeatmapData",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Get heatmap data for activity patterns",
				"tags": [
					"Statistics"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"description": "- Type of heatmap data (BUSIEST_HOURS_PER_WEEKDAY, BUSIEST_COMMENTS_PER_WEEKDAY)",
						"in": "query",
						"name": "chartType",
						"required": true,
						"schema": {
							"$ref": "#/components/schemas/HeatmapTypes"
						}
					},
					{
						"description": "- Timezone for date calculations",
						"in": "query",
						"name": "timezone",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "groupInterval",
						"required": false,
						"schema": {
							"type": "string",
							"enum": [
								"day",
								"month",
								"year"
							]
						}
					},
					{
						"in": "query",
						"name": "skip",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "limit",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "groupedBy",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "aggsType",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Start date for filtering (ISO format)",
						"in": "query",
						"name": "startDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- End date for filtering (ISO format)",
						"in": "query",
						"name": "endDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "createdAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "updatedAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/statistics/email-overview": {
			"get": {
				"operationId": "GetEmailOverviewStats",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Get email overview statistics",
				"tags": [
					"Statistics"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"description": "- Timezone for date calculations",
						"in": "query",
						"name": "timezone",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "groupInterval",
						"required": false,
						"schema": {
							"type": "string",
							"enum": [
								"day",
								"month",
								"year"
							]
						}
					},
					{
						"in": "query",
						"name": "skip",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "limit",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "groupedBy",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "aggsType",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Start date for filtering (ISO format)",
						"in": "query",
						"name": "startDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- End date for filtering (ISO format)",
						"in": "query",
						"name": "endDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "createdAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "updatedAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Specific email server key",
						"in": "query",
						"name": "emailServerKey",
						"required": false,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/statistics/email-client-usage": {
			"get": {
				"operationId": "GetEmailClientUsageStats",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Get email client usage statistics",
				"tags": [
					"Statistics"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"description": "- Timezone for date calculations",
						"in": "query",
						"name": "timezone",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "groupInterval",
						"required": false,
						"schema": {
							"type": "string",
							"enum": [
								"day",
								"month",
								"year"
							]
						}
					},
					{
						"in": "query",
						"name": "skip",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "limit",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "groupedBy",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "aggsType",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Start date for filtering (ISO format)",
						"in": "query",
						"name": "startDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- End date for filtering (ISO format)",
						"in": "query",
						"name": "endDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "createdAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "updatedAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Specific email server key",
						"in": "query",
						"name": "emailServerKey",
						"required": false,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/statistics/email-client-bounces": {
			"get": {
				"operationId": "GetEmailClientBouncesStats",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Get email client bounce statistics",
				"tags": [
					"Statistics"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"description": "- Timezone for date calculations",
						"in": "query",
						"name": "timezone",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "groupInterval",
						"required": false,
						"schema": {
							"type": "string",
							"enum": [
								"day",
								"month",
								"year"
							]
						}
					},
					{
						"in": "query",
						"name": "skip",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "limit",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "groupedBy",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "aggsType",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Start date for filtering (ISO format)",
						"in": "query",
						"name": "startDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- End date for filtering (ISO format)",
						"in": "query",
						"name": "endDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "createdAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "updatedAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Specific email server key",
						"in": "query",
						"name": "emailServerKey",
						"required": false,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/statistics/raw-data": {
			"get": {
				"operationId": "GetRawStatistics",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"description": "Get raw statistics data",
				"tags": [
					"Statistics"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"description": "- Timezone for date calculations",
						"in": "query",
						"name": "timezone",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "groupInterval",
						"required": false,
						"schema": {
							"type": "string",
							"enum": [
								"day",
								"month",
								"year"
							]
						}
					},
					{
						"in": "query",
						"name": "skip",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "limit",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "groupedBy",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "aggsType",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Start date for filtering (ISO format)",
						"in": "query",
						"name": "startDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- End date for filtering (ISO format)",
						"in": "query",
						"name": "endDate",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "createdAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "updatedAt",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "- Type of raw data to retrieve",
						"in": "query",
						"name": "type",
						"required": false,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/knowledge/search": {
			"post": {
				"operationId": "SearchKnowledge",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/KnowledgeSearchResponse"
								}
							}
						}
					}
				},
				"summary": "Search knowledge documents",
				"tags": [
					"Knowledge"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/KnowledgeSearchDto"
							}
						}
					}
				}
			}
		},
		"/knowledge/similar-tickets": {
			"post": {
				"operationId": "FindSimilarTickets",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SimilarTicketsResponse"
								}
							}
						}
					}
				},
				"summary": "Find similar tickets",
				"tags": [
					"Knowledge"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/SimilarTicketsSearchDto"
							}
						}
					}
				}
			}
		},
		"/translations/entries": {
			"get": {
				"operationId": "ListEntries",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "List all translatable entries",
				"tags": [
					"Translations"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "type",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/TranslationEntryType"
						}
					}
				]
			}
		},
		"/translations/entries/{entryId}": {
			"get": {
				"operationId": "GetEntry",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Get a single translatable entry",
				"tags": [
					"Translations"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "path",
						"name": "entryId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "language",
						"required": false,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"put": {
				"operationId": "PutEntry",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {}
							}
						}
					}
				},
				"summary": "Update a translatable entry",
				"tags": [
					"Translations"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "path",
						"name": "entryId",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/PutTranslationEntryDto"
							}
						}
					}
				}
			}
		},
		"/ai/models": {
			"get": {
				"operationId": "GetModels",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AiModelsPublicResponse"
								}
							}
						}
					}
				},
				"description": "Returns the model catalog (selectable + non-selectable), category\ndefaults, per-runtime defaults, and per-usage-type cost markups.",
				"summary": "Get AI model catalog",
				"tags": [
					"AiModels"
				],
				"security": [],
				"parameters": []
			}
		},
		"/code/ask": {
			"post": {
				"operationId": "AskCode",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"answer": {
											"type": "string"
										}
									},
									"required": [
										"answer"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"summary": "Ask a question about the project's connected source repositories",
				"tags": [
					"Code"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CodeKnowledgeAskDto"
							}
						}
					}
				}
			}
		},
		"/sessions/{sessionId}/memory": {
			"get": {
				"operationId": "ListEntries",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/ContactMemoryListItem"
									},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "List memory entries (no content) for a contact session.",
				"summary": "List contact memory entries",
				"tags": [
					"ContactMemory"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"post": {
				"operationId": "CreateEntry",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ContactMemoryWriteResult"
								}
							}
						}
					}
				},
				"description": "Create or upsert a memory entry by name.",
				"summary": "Create or update a contact memory entry",
				"tags": [
					"ContactMemory"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ContactMemoryEntryBody"
							}
						}
					}
				}
			},
			"delete": {
				"operationId": "ClearAll",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ContactMemoryWriteResult"
								}
							}
						}
					}
				},
				"description": "Clear all memory entries for a contact.",
				"summary": "Clear all contact memory entries",
				"tags": [
					"ContactMemory"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/sessions/{sessionId}/memory/{entryName}": {
			"get": {
				"operationId": "GetEntry",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ContactMemoryEntry"
								}
							}
						}
					}
				},
				"description": "Get the full content of a single memory entry.",
				"summary": "Get one contact memory entry",
				"tags": [
					"ContactMemory"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "path",
						"name": "entryName",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"put": {
				"operationId": "UpdateEntry",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ContactMemoryWriteResult"
								}
							}
						}
					}
				},
				"description": "Update an existing memory entry by name.",
				"summary": "Update a contact memory entry",
				"tags": [
					"ContactMemory"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "path",
						"name": "entryName",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ContactMemoryUpdateBody"
							}
						}
					}
				}
			},
			"delete": {
				"operationId": "DeleteEntry",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ContactMemoryWriteResult"
								}
							}
						}
					}
				},
				"description": "Delete one memory entry by name.",
				"summary": "Delete a contact memory entry",
				"tags": [
					"ContactMemory"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "sessionId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "path",
						"name": "entryName",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/youtube-source": {
			"post": {
				"operationId": "ImportVideo",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"status": {
											"type": "string"
										},
										"videoId": {
											"type": "string"
										},
										"jobId": {
											"type": "string"
										}
									},
									"required": [
										"status",
										"videoId",
										"jobId"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Import a single YouTube video for AI content analysis",
				"summary": "Import YouTube video",
				"tags": [
					"AI content"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ImportYouTubeVideoDto"
							}
						}
					}
				}
			},
			"get": {
				"operationId": "List",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"total": {
											"type": "number",
											"format": "double"
										},
										"videos": {
											"items": {
												"properties": {
													"createdAt": {},
													"durationSeconds": {},
													"channelName": {},
													"batchId": {},
													"error": {},
													"status": {},
													"url": {},
													"thumbnailUrl": {},
													"title": {},
													"videoId": {},
													"id": {}
												},
												"required": [
													"createdAt",
													"durationSeconds",
													"channelName",
													"batchId",
													"error",
													"status",
													"url",
													"thumbnailUrl",
													"title",
													"videoId",
													"id"
												],
												"type": "object"
											},
											"type": "array"
										}
									},
									"required": [
										"total",
										"videos"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"description": "List all YouTube video content for the project",
				"summary": "List YouTube content",
				"tags": [
					"AI content"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/youtube-source/preview": {
			"post": {
				"operationId": "Preview",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"anyOf": [
										{
											"properties": {
												"estimatedCostCents": {
													"type": "number",
													"format": "double"
												},
												"video": {
													"allOf": [
														{
															"$ref": "#/components/schemas/VideoMetadata"
														},
														{
															"properties": {
																"alreadyImported": {
																	"type": "boolean"
																}
															},
															"required": [
																"alreadyImported"
															],
															"type": "object"
														}
													]
												},
												"type": {
													"type": "string",
													"enum": [
														"video"
													],
													"nullable": false
												}
											},
											"required": [
												"estimatedCostCents",
												"video",
												"type"
											],
											"type": "object"
										},
										{
											"properties": {
												"estimatedCostCents": {
													"type": "number",
													"format": "double"
												},
												"videos": {
													"items": {
														"allOf": [
															{
																"$ref": "#/components/schemas/VideoMetadata"
															},
															{
																"properties": {
																	"alreadyImported": {
																		"type": "boolean"
																	}
																},
																"required": [
																	"alreadyImported"
																],
																"type": "object"
															}
														]
													},
													"type": "array"
												},
												"alreadyImportedCount": {
													"type": "number",
													"format": "double"
												},
												"billableDurationSeconds": {
													"type": "number",
													"format": "double"
												},
												"totalDurationSeconds": {
													"type": "number",
													"format": "double"
												},
												"videoCount": {
													"type": "number",
													"format": "double"
												},
												"thumbnailUrl": {
													"type": "string"
												},
												"channelName": {
													"type": "string"
												},
												"title": {
													"type": "string"
												},
												"type": {
													"type": "string",
													"enum": [
														"channel",
														"playlist"
													]
												}
											},
											"required": [
												"estimatedCostCents",
												"videos",
												"alreadyImportedCount",
												"billableDurationSeconds",
												"totalDurationSeconds",
												"videoCount",
												"thumbnailUrl",
												"channelName",
												"title",
												"type"
											],
											"type": "object"
										}
									]
								}
							}
						}
					}
				},
				"description": "Preview a YouTube URL before importing. Fetches metadata + an exact\ncost estimate (in cents) for the video or full playlist/channel.\nFor large playlists this can take a few seconds — the client is\nexpected to show a spinner.",
				"summary": "Preview YouTube URL",
				"tags": [
					"AI content"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/PreviewYouTubeDto"
							}
						}
					}
				}
			}
		},
		"/youtube-source/batch": {
			"post": {
				"operationId": "ImportBatch",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"status": {
											"type": "string"
										},
										"batchId": {
											"type": "string"
										}
									},
									"required": [
										"status",
										"batchId"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Import a YouTube playlist or channel for bulk AI content analysis",
				"summary": "Import YouTube playlist/channel",
				"tags": [
					"AI content"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ImportYouTubeBatchDto"
							}
						}
					}
				}
			}
		},
		"/youtube-source/{videoId}": {
			"delete": {
				"operationId": "DeleteVideo",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"success": {
											"type": "boolean"
										}
									},
									"required": [
										"success"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Delete a single YouTube video's content",
				"summary": "Delete YouTube video content",
				"tags": [
					"AI content"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "videoId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/youtube-source/batch/{batchId}": {
			"delete": {
				"operationId": "DeleteBatch",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"properties": {
										"deleted": {},
										"success": {
											"type": "boolean"
										}
									},
									"required": [
										"deleted",
										"success"
									],
									"type": "object"
								}
							}
						}
					}
				},
				"description": "Delete all YouTube content from a batch",
				"summary": "Delete YouTube batch content",
				"tags": [
					"AI content"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "batchId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/custom-components": {
			"post": {
				"operationId": "Create",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CustomComponentDocument"
								}
							}
						}
					}
				},
				"description": "Create a new custom AI message component.",
				"summary": "Create a new custom component.",
				"tags": [
					"Custom components"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CustomComponentDTO"
							}
						}
					}
				}
			},
			"get": {
				"operationId": "Find",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"anyOf": [
										{
											"items": {
												"$ref": "#/components/schemas/CustomComponentDocument"
											},
											"type": "array"
										},
										{
											"properties": {
												"totalCount": {
													"type": "number",
													"format": "double"
												},
												"data": {
													"items": {
														"$ref": "#/components/schemas/CustomComponentDocument"
													},
													"type": "array"
												}
											},
											"required": [
												"totalCount",
												"data"
											],
											"type": "object"
										}
									]
								}
							}
						}
					}
				},
				"description": "Find all custom components of a project.",
				"summary": "Find all custom components.",
				"tags": [
					"Custom components"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "limit",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "skip",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "searchTerm",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "publishedOnly",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "withCount",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/custom-components/{customComponentId}": {
			"get": {
				"operationId": "FindOne",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CustomComponentDocument"
								}
							}
						}
					}
				},
				"description": "Find one custom component by ID.",
				"summary": "Find one custom component.",
				"tags": [
					"Custom components"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "customComponentId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			},
			"put": {
				"operationId": "Update",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CustomComponentDocument"
								}
							}
						}
					}
				},
				"description": "Update a custom component.",
				"summary": "Update a custom component.",
				"tags": [
					"Custom components"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "customComponentId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CustomComponentDTO"
							}
						}
					}
				}
			},
			"delete": {
				"operationId": "Remove",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CustomComponentDocument"
								}
							}
						}
					}
				},
				"description": "Delete a custom component.",
				"summary": "Delete a custom component.",
				"tags": [
					"Custom components"
				],
				"security": [
					{
						"jwt": []
					}
				],
				"parameters": [
					{
						"in": "path",
						"name": "customComponentId",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "project",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		}
	},
	"servers": [
		{
			"url": "https://api.gleap.io/v3"
		}
	]
}