# Models

## The PublicApiMeetingTypeDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingTypeDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the meeting type"},"name":{"type":"string","description":"Descriptive name of the meeting type"}},"required":["id","name"]}}}}
```

## The PublicApiMeetingDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingDto":{"type":"object","properties":{"meetingId":{"type":"string","description":"Unique identifier for the meeting"},"status":{"type":"string","enum":["scheduled","processing","completed"],"description":"Current status of the meeting"},"name":{"type":"string","description":"Name or title of the meeting"},"startDateTime":{"format":"date-time","type":"string","description":"Date and time when the meeting is scheduled to start"},"endDateTime":{"format":"date-time","type":"string","description":"Date and time when the meeting ended "},"duration":{"type":"number","description":"Duration of the meeting in seconds"},"description":{"type":"string","description":"Detailed description of the meeting"},"mediaType":{"type":"string","enum":["videocall","presential","phonecall"],"description":"Media type of the meeting"},"language":{"type":"string","description":"Language of the meeting in ISO 639-1 format"},"thumbnailUrl":{"type":"string","description":"URL of the meeting thumbnail image"},"meetingType":{"description":"Meeting type associated with this meeting ","allOf":[{"$ref":"#/components/schemas/PublicApiMeetingTypeDto"}]},"aiScore":{"type":"number","description":"AI score or rating of the meeting "},"url":{"type":"string","description":"URL of the meeting"},"calendarEventId":{"type":"string","description":"Unique identifier of the calendar event, if the meeting is associated with a calendar event"}},"required":["meetingId","status","name","startDateTime","url"]},"PublicApiMeetingTypeDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the meeting type"},"name":{"type":"string","description":"Descriptive name of the meeting type"}},"required":["id","name"]}}}}
```

## The PublicApiGetMeetingsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetMeetingsResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingDto"}}},"required":["statusCode","count","error","data"]},"PublicApiMeetingDto":{"type":"object","properties":{"meetingId":{"type":"string","description":"Unique identifier for the meeting"},"status":{"type":"string","enum":["scheduled","processing","completed"],"description":"Current status of the meeting"},"name":{"type":"string","description":"Name or title of the meeting"},"startDateTime":{"format":"date-time","type":"string","description":"Date and time when the meeting is scheduled to start"},"endDateTime":{"format":"date-time","type":"string","description":"Date and time when the meeting ended "},"duration":{"type":"number","description":"Duration of the meeting in seconds"},"description":{"type":"string","description":"Detailed description of the meeting"},"mediaType":{"type":"string","enum":["videocall","presential","phonecall"],"description":"Media type of the meeting"},"language":{"type":"string","description":"Language of the meeting in ISO 639-1 format"},"thumbnailUrl":{"type":"string","description":"URL of the meeting thumbnail image"},"meetingType":{"description":"Meeting type associated with this meeting ","allOf":[{"$ref":"#/components/schemas/PublicApiMeetingTypeDto"}]},"aiScore":{"type":"number","description":"AI score or rating of the meeting "},"url":{"type":"string","description":"URL of the meeting"},"calendarEventId":{"type":"string","description":"Unique identifier of the calendar event, if the meeting is associated with a calendar event"}},"required":["meetingId","status","name","startDateTime","url"]},"PublicApiMeetingTypeDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the meeting type"},"name":{"type":"string","description":"Descriptive name of the meeting type"}},"required":["id","name"]}}}}
```

## The PublicApiMeetingUploadRequestDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingUploadRequestDto":{"type":"object","properties":{"name":{"type":"string","description":"Name of the meeting for uploading"},"mediaUrl":{"type":"string","description":"URL of the media file to upload (alternative to file upload)"},"startDateTime":{"format":"date-time","type":"string","description":"Scheduled start date and time of the meeting"},"description":{"type":"string","description":"Description of the meeting "},"file":{"type":"string","description":"Video file to upload (alternative to mediaUrl)","format":"binary"},"ownerId":{"type":"string","description":"ID of the user who owns this meeting"},"personIds":{"description":"Array of person IDs for this meeting participants. Use comma to separate the values","type":"array","items":{"type":"string"}}},"required":["name","startDateTime"]}}}}
```

## The PublicApiMeetingUploadResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingUploadResponseDto":{"type":"object","properties":{"meetingId":{"type":"string","description":"Unique identifier of the uploaded meeting"}},"required":["meetingId"]}}}}
```

## The PublicApiPostMeetingUploadResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiPostMeetingUploadResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiMeetingUploadResponseDto"}},"required":["statusCode","count","error","data"]},"PublicApiMeetingUploadResponseDto":{"type":"object","properties":{"meetingId":{"type":"string","description":"Unique identifier of the uploaded meeting"}},"required":["meetingId"]}}}}
```

## The PublicApiGetMeetingByIdResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetMeetingByIdResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiMeetingDto"}},"required":["statusCode","count","error","data"]},"PublicApiMeetingDto":{"type":"object","properties":{"meetingId":{"type":"string","description":"Unique identifier for the meeting"},"status":{"type":"string","enum":["scheduled","processing","completed"],"description":"Current status of the meeting"},"name":{"type":"string","description":"Name or title of the meeting"},"startDateTime":{"format":"date-time","type":"string","description":"Date and time when the meeting is scheduled to start"},"endDateTime":{"format":"date-time","type":"string","description":"Date and time when the meeting ended "},"duration":{"type":"number","description":"Duration of the meeting in seconds"},"description":{"type":"string","description":"Detailed description of the meeting"},"mediaType":{"type":"string","enum":["videocall","presential","phonecall"],"description":"Media type of the meeting"},"language":{"type":"string","description":"Language of the meeting in ISO 639-1 format"},"thumbnailUrl":{"type":"string","description":"URL of the meeting thumbnail image"},"meetingType":{"description":"Meeting type associated with this meeting ","allOf":[{"$ref":"#/components/schemas/PublicApiMeetingTypeDto"}]},"aiScore":{"type":"number","description":"AI score or rating of the meeting "},"url":{"type":"string","description":"URL of the meeting"},"calendarEventId":{"type":"string","description":"Unique identifier of the calendar event, if the meeting is associated with a calendar event"}},"required":["meetingId","status","name","startDateTime","url"]},"PublicApiMeetingTypeDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the meeting type"},"name":{"type":"string","description":"Descriptive name of the meeting type"}},"required":["id","name"]}}}}
```

## The PublicApiMeetingParticipantDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingParticipantDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the participant"},"name":{"type":"string","description":"Name of the participant"},"email":{"type":"string","description":"Email address of the participant"},"isHost":{"type":"boolean","description":"Indicates if the participant is the host"},"isInternal":{"type":"boolean","description":"Indicates if the participant is internal to the organization"}},"required":["id","name"]}}}}
```

## The PublicApiGetMeetingParticipantsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetMeetingParticipantsResponseDto":{"type":"object","properties":{"meetingId":{"type":"string","description":"Unique identifier of the meeting"},"participants":{"description":"List of participants in the meeting","type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingParticipantDto"}}},"required":["meetingId","participants"]},"PublicApiMeetingParticipantDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the participant"},"name":{"type":"string","description":"Name of the participant"},"email":{"type":"string","description":"Email address of the participant"},"isHost":{"type":"boolean","description":"Indicates if the participant is the host"},"isInternal":{"type":"boolean","description":"Indicates if the participant is internal to the organization"}},"required":["id","name"]}}}}
```

## The PublicApiGetMeetingMeetingParticipantsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetMeetingMeetingParticipantsResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiGetMeetingParticipantsResponseDto"}},"required":["statusCode","count","error","data"]},"PublicApiGetMeetingParticipantsResponseDto":{"type":"object","properties":{"meetingId":{"type":"string","description":"Unique identifier of the meeting"},"participants":{"description":"List of participants in the meeting","type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingParticipantDto"}}},"required":["meetingId","participants"]},"PublicApiMeetingParticipantDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the participant"},"name":{"type":"string","description":"Name of the participant"},"email":{"type":"string","description":"Email address of the participant"},"isHost":{"type":"boolean","description":"Indicates if the participant is the host"},"isInternal":{"type":"boolean","description":"Indicates if the participant is internal to the organization"}},"required":["id","name"]}}}}
```

## The PublicApiMeetingNextStepDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingNextStepDto":{"type":"object","properties":{"action":{"type":"string","description":"Action to be taken in the next step"},"actors":{"description":"Actors responsible for the next step","type":"array","items":{"type":"string"}},"deadline":{"type":"string","description":"Deadline for completing the next step (consider Date if deadline is meant to be a date, using string for example)"}},"required":["action","actors","deadline"]}}}}
```

## The PublicApiMeetingTopicDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingTopicDto":{"type":"object","properties":{"title":{"type":"string","description":"Title of the topic discussed"},"description":{"type":"string","description":"Description of the topic discussed"}},"required":["title","description"]}}}}
```

## The PublicApiMeetingSummaryResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingSummaryResponseDto":{"type":"object","properties":{"meetingId":{"type":"string","description":"Unique identifier of the meeting"},"summary":{"type":"string","description":"Summary of the meeting "},"nextSteps":{"description":"List of next steps identified during the meeting ","type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingNextStepDto"}},"aiOpinion":{"type":"string","description":"AI-generated opinion or sentiment about the meeting "},"topics":{"description":"List of topics discussed during the meeting ","type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingTopicDto"}}},"required":["meetingId"]},"PublicApiMeetingNextStepDto":{"type":"object","properties":{"action":{"type":"string","description":"Action to be taken in the next step"},"actors":{"description":"Actors responsible for the next step","type":"array","items":{"type":"string"}},"deadline":{"type":"string","description":"Deadline for completing the next step (consider Date if deadline is meant to be a date, using string for example)"}},"required":["action","actors","deadline"]},"PublicApiMeetingTopicDto":{"type":"object","properties":{"title":{"type":"string","description":"Title of the topic discussed"},"description":{"type":"string","description":"Description of the topic discussed"}},"required":["title","description"]}}}}
```

## The PublicApiGetMeetingSummaryResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetMeetingSummaryResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiMeetingSummaryResponseDto"}},"required":["statusCode","count","error","data"]},"PublicApiMeetingSummaryResponseDto":{"type":"object","properties":{"meetingId":{"type":"string","description":"Unique identifier of the meeting"},"summary":{"type":"string","description":"Summary of the meeting "},"nextSteps":{"description":"List of next steps identified during the meeting ","type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingNextStepDto"}},"aiOpinion":{"type":"string","description":"AI-generated opinion or sentiment about the meeting "},"topics":{"description":"List of topics discussed during the meeting ","type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingTopicDto"}}},"required":["meetingId"]},"PublicApiMeetingNextStepDto":{"type":"object","properties":{"action":{"type":"string","description":"Action to be taken in the next step"},"actors":{"description":"Actors responsible for the next step","type":"array","items":{"type":"string"}},"deadline":{"type":"string","description":"Deadline for completing the next step (consider Date if deadline is meant to be a date, using string for example)"}},"required":["action","actors","deadline"]},"PublicApiMeetingTopicDto":{"type":"object","properties":{"title":{"type":"string","description":"Title of the topic discussed"},"description":{"type":"string","description":"Description of the topic discussed"}},"required":["title","description"]}}}}
```

## The PublicApiTranscriptSegmentDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiTranscriptSegmentDto":{"type":"object","properties":{"startTime":{"type":"number","description":"Start time of the transcript segment in seconds"},"endTime":{"type":"number","description":"End time of the transcript segment in seconds"},"personId":{"type":"string","description":"Internal Identifier of the person who spoke"},"participantName":{"type":"string","description":"Name of the participant who spoke"},"content":{"type":"string","description":"Content of the transcript"}},"required":["startTime","endTime","personId","participantName","content"]}}}}
```

## The PublicApiMeetingTranscriptResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingTranscriptResponseDto":{"type":"object","properties":{"meetingId":{"type":"string","description":"Unique identifier of the meeting"},"transcript":{"description":"List of transcript segments for the meeting","type":"array","items":{"$ref":"#/components/schemas/PublicApiTranscriptSegmentDto"}}},"required":["meetingId","transcript"]},"PublicApiTranscriptSegmentDto":{"type":"object","properties":{"startTime":{"type":"number","description":"Start time of the transcript segment in seconds"},"endTime":{"type":"number","description":"End time of the transcript segment in seconds"},"personId":{"type":"string","description":"Internal Identifier of the person who spoke"},"participantName":{"type":"string","description":"Name of the participant who spoke"},"content":{"type":"string","description":"Content of the transcript"}},"required":["startTime","endTime","personId","participantName","content"]}}}}
```

## The PublicApiGetMeetingTranscriptResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetMeetingTranscriptResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiMeetingTranscriptResponseDto"}},"required":["statusCode","count","error","data"]},"PublicApiMeetingTranscriptResponseDto":{"type":"object","properties":{"meetingId":{"type":"string","description":"Unique identifier of the meeting"},"transcript":{"description":"List of transcript segments for the meeting","type":"array","items":{"$ref":"#/components/schemas/PublicApiTranscriptSegmentDto"}}},"required":["meetingId","transcript"]},"PublicApiTranscriptSegmentDto":{"type":"object","properties":{"startTime":{"type":"number","description":"Start time of the transcript segment in seconds"},"endTime":{"type":"number","description":"End time of the transcript segment in seconds"},"personId":{"type":"string","description":"Internal Identifier of the person who spoke"},"participantName":{"type":"string","description":"Name of the participant who spoke"},"content":{"type":"string","description":"Content of the transcript"}},"required":["startTime","endTime","personId","participantName","content"]}}}}
```

## The PublicApiMeetingNoteDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingNoteDto":{"type":"object","properties":{"id":{"type":"string","description":"ID of the meeting note"},"tag":{"type":"string","description":"Tag associated with the note"},"content":{"type":"string","description":"Content of the note"},"priority":{"type":"string","description":"Priority level of the note","enum":["low","medium","high"]},"meetingId":{"type":"string","description":"ID of the associated meeting"},"smartCategoryId":{"type":"string","description":"ID of the associated smart category"},"isManual":{"type":"boolean","description":"Whether the note was manually created"},"startTimestamp":{"type":"number","description":"Start timestamp of the note"},"endTimestamp":{"type":"number","description":"End timestamp of the note"}},"required":["id","content","meetingId","smartCategoryId","isManual"]}}}}
```

## The PublicApiMeetingMeetingNotesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingMeetingNotesResponseDto":{"type":"object","properties":{"meetingId":{"type":"string","description":"Unique identifier of the meeting"},"notes":{"description":"List of notes taken during the meeting","type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingNoteDto"}}},"required":["meetingId","notes"]},"PublicApiMeetingNoteDto":{"type":"object","properties":{"id":{"type":"string","description":"ID of the meeting note"},"tag":{"type":"string","description":"Tag associated with the note"},"content":{"type":"string","description":"Content of the note"},"priority":{"type":"string","description":"Priority level of the note","enum":["low","medium","high"]},"meetingId":{"type":"string","description":"ID of the associated meeting"},"smartCategoryId":{"type":"string","description":"ID of the associated smart category"},"isManual":{"type":"boolean","description":"Whether the note was manually created"},"startTimestamp":{"type":"number","description":"Start timestamp of the note"},"endTimestamp":{"type":"number","description":"End timestamp of the note"}},"required":["id","content","meetingId","smartCategoryId","isManual"]}}}}
```

## The PublicApiGetMeetingMeetingNotesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetMeetingMeetingNotesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiMeetingMeetingNotesResponseDto"}},"required":["statusCode","count","error","data"]},"PublicApiMeetingMeetingNotesResponseDto":{"type":"object","properties":{"meetingId":{"type":"string","description":"Unique identifier of the meeting"},"notes":{"description":"List of notes taken during the meeting","type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingNoteDto"}}},"required":["meetingId","notes"]},"PublicApiMeetingNoteDto":{"type":"object","properties":{"id":{"type":"string","description":"ID of the meeting note"},"tag":{"type":"string","description":"Tag associated with the note"},"content":{"type":"string","description":"Content of the note"},"priority":{"type":"string","description":"Priority level of the note","enum":["low","medium","high"]},"meetingId":{"type":"string","description":"ID of the associated meeting"},"smartCategoryId":{"type":"string","description":"ID of the associated smart category"},"isManual":{"type":"boolean","description":"Whether the note was manually created"},"startTimestamp":{"type":"number","description":"Start timestamp of the note"},"endTimestamp":{"type":"number","description":"End timestamp of the note"}},"required":["id","content","meetingId","smartCategoryId","isManual"]}}}}
```

## The PublicApiMeetingChatMessageDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingChatMessageDto":{"type":"object","properties":{"question":{"type":"string","description":"Question of the chat message"},"answer":{"type":"string","description":"Answer of the chat message"}},"required":["question","answer"]}}}}
```

## The PublicApiMeetingChatResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingChatResponseDto":{"type":"object","properties":{"meetingId":{"type":"string","description":"Unique identifier of the meeting"},"messages":{"description":"List of chat messages for the meeting","type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingChatMessageDto"}}},"required":["meetingId","messages"]},"PublicApiMeetingChatMessageDto":{"type":"object","properties":{"question":{"type":"string","description":"Question of the chat message"},"answer":{"type":"string","description":"Answer of the chat message"}},"required":["question","answer"]}}}}
```

## The PublicApiGetMeetingChatResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetMeetingChatResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiMeetingChatResponseDto"}},"required":["statusCode","count","error","data"]},"PublicApiMeetingChatResponseDto":{"type":"object","properties":{"meetingId":{"type":"string","description":"Unique identifier of the meeting"},"messages":{"description":"List of chat messages for the meeting","type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingChatMessageDto"}}},"required":["meetingId","messages"]},"PublicApiMeetingChatMessageDto":{"type":"object","properties":{"question":{"type":"string","description":"Question of the chat message"},"answer":{"type":"string","description":"Answer of the chat message"}},"required":["question","answer"]}}}}
```

## The PublicApiDeleteMeetingByIdResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiDeleteMeetingByIdResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiMeetingContactDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingContactDto":{"type":"object","properties":{"contactId":{"type":"string","description":"Contact ID"}},"required":["contactId"]}}}}
```

## The PublicApiGetMeetingContactsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetMeetingContactsResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingContactDto"}}},"required":["statusCode","count","error","data"]},"PublicApiMeetingContactDto":{"type":"object","properties":{"contactId":{"type":"string","description":"Contact ID"}},"required":["contactId"]}}}}
```

## The PublicApiMeetingCompanyDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingCompanyDto":{"type":"object","properties":{"companyId":{"type":"string","description":"Company ID"}},"required":["companyId"]}}}}
```

## The PublicApiGetMeetingCompaniesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetMeetingCompaniesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingCompanyDto"}}},"required":["statusCode","count","error","data"]},"PublicApiMeetingCompanyDto":{"type":"object","properties":{"companyId":{"type":"string","description":"Company ID"}},"required":["companyId"]}}}}
```

## The PublicApiMeetingOpportunityDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingOpportunityDto":{"type":"object","properties":{"opportunityId":{"type":"string","description":"Opportunity ID"}},"required":["opportunityId"]}}}}
```

## The PublicApiGetMeetingOpportunitiesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetMeetingOpportunitiesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingOpportunityDto"}}},"required":["statusCode","count","error","data"]},"PublicApiMeetingOpportunityDto":{"type":"object","properties":{"opportunityId":{"type":"string","description":"Opportunity ID"}},"required":["opportunityId"]}}}}
```

## The PublicApiMeetingCallTypeDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiMeetingCallTypeDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the call type"},"name":{"type":"string","description":"Descriptive name of the call type"}},"required":["id","name"]}}}}
```

## The PublicApiCallDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCallDto":{"type":"object","properties":{"callId":{"type":"string","description":"Unique identifier for the call"},"status":{"type":"string","enum":["processing","completed"],"description":"Current status of the call"},"name":{"type":"string","description":"Name or title of the call"},"startDateTime":{"format":"date-time","type":"string","description":"Date and time when the call started"},"endDateTime":{"format":"date-time","type":"string","description":"Date and time when the call ended"},"duration":{"type":"number","description":"Duration of the call in seconds"},"description":{"type":"string","description":"Detailed description of the call"},"language":{"type":"string","description":"Language of the call in ISO 639-1 format"},"direction":{"type":"string","description":"Direction of the call (inbound/outbound)"},"fromNumber":{"type":"string","description":"Phone number of the caller"},"toNumber":{"type":"string","description":"Phone number of the callee"},"callType":{"description":"Call type associated with this call","allOf":[{"$ref":"#/components/schemas/PublicApiMeetingCallTypeDto"}]},"aiScore":{"type":"number","description":"AI score or rating of the call"},"url":{"type":"string","description":"URL of the call"}},"required":["callId","status","name","startDateTime","direction","url"]},"PublicApiMeetingCallTypeDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the call type"},"name":{"type":"string","description":"Descriptive name of the call type"}},"required":["id","name"]}}}}
```

## The PublicApiGetCallsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCallsResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCallDto"}},"required":["statusCode","count","error","data"]},"PublicApiCallDto":{"type":"object","properties":{"callId":{"type":"string","description":"Unique identifier for the call"},"status":{"type":"string","enum":["processing","completed"],"description":"Current status of the call"},"name":{"type":"string","description":"Name or title of the call"},"startDateTime":{"format":"date-time","type":"string","description":"Date and time when the call started"},"endDateTime":{"format":"date-time","type":"string","description":"Date and time when the call ended"},"duration":{"type":"number","description":"Duration of the call in seconds"},"description":{"type":"string","description":"Detailed description of the call"},"language":{"type":"string","description":"Language of the call in ISO 639-1 format"},"direction":{"type":"string","description":"Direction of the call (inbound/outbound)"},"fromNumber":{"type":"string","description":"Phone number of the caller"},"toNumber":{"type":"string","description":"Phone number of the callee"},"callType":{"description":"Call type associated with this call","allOf":[{"$ref":"#/components/schemas/PublicApiMeetingCallTypeDto"}]},"aiScore":{"type":"number","description":"AI score or rating of the call"},"url":{"type":"string","description":"URL of the call"}},"required":["callId","status","name","startDateTime","direction","url"]},"PublicApiMeetingCallTypeDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the call type"},"name":{"type":"string","description":"Descriptive name of the call type"}},"required":["id","name"]}}}}
```

## The PublicApiCallUploadRequestDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCallUploadRequestDto":{"type":"object","properties":{"name":{"type":"string","description":"Name of the call for uploading"},"mediaUrl":{"type":"string","description":"URL of the media file to upload (alternative to file upload)"},"startDateTime":{"format":"date-time","type":"string","description":"Scheduled start date and time of the call"},"description":{"type":"string","description":"Description of the call"},"fromNumber":{"type":"string","description":"Phone number of the caller"},"toNumber":{"type":"string","description":"Phone number of the callee"},"file":{"type":"string","description":"Audio file to upload (alternative to mediaUrl). It must be a valid mp3 / wav file","format":"binary"},"ownerId":{"type":"string","description":"ID of the user who owns this call"},"personIds":{"description":"Array of person IDs for call participants. Use comma to separate values. Recommendation: include the owner's personId here to guarantee feedback generation.","type":"array","items":{"type":"string"}}},"required":["name","startDateTime"]}}}}
```

## The PublicApiCallUploadResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCallUploadResponseDto":{"type":"object","properties":{"callId":{"type":"string","description":"Unique identifier of the uploaded call"}},"required":["callId"]}}}}
```

## The PublicApiPostCallUploadResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiPostCallUploadResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCallUploadResponseDto"}},"required":["statusCode","count","error","data"]},"PublicApiCallUploadResponseDto":{"type":"object","properties":{"callId":{"type":"string","description":"Unique identifier of the uploaded call"}},"required":["callId"]}}}}
```

## The PublicApiGetCallByIdResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCallByIdResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCallDto"}},"required":["statusCode","count","error","data"]},"PublicApiCallDto":{"type":"object","properties":{"callId":{"type":"string","description":"Unique identifier for the call"},"status":{"type":"string","enum":["processing","completed"],"description":"Current status of the call"},"name":{"type":"string","description":"Name or title of the call"},"startDateTime":{"format":"date-time","type":"string","description":"Date and time when the call started"},"endDateTime":{"format":"date-time","type":"string","description":"Date and time when the call ended"},"duration":{"type":"number","description":"Duration of the call in seconds"},"description":{"type":"string","description":"Detailed description of the call"},"language":{"type":"string","description":"Language of the call in ISO 639-1 format"},"direction":{"type":"string","description":"Direction of the call (inbound/outbound)"},"fromNumber":{"type":"string","description":"Phone number of the caller"},"toNumber":{"type":"string","description":"Phone number of the callee"},"callType":{"description":"Call type associated with this call","allOf":[{"$ref":"#/components/schemas/PublicApiMeetingCallTypeDto"}]},"aiScore":{"type":"number","description":"AI score or rating of the call"},"url":{"type":"string","description":"URL of the call"}},"required":["callId","status","name","startDateTime","direction","url"]},"PublicApiMeetingCallTypeDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the call type"},"name":{"type":"string","description":"Descriptive name of the call type"}},"required":["id","name"]}}}}
```

## The PublicApiCallParticipantDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCallParticipantDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the participant"},"name":{"type":"string","description":"Name of the participant"},"phone":{"type":"string","description":"Phone number of the participant"},"isHost":{"type":"boolean","description":"Whether the participant is the host of the call"},"isInternal":{"type":"boolean","description":"Whether the participant is internal to the organization"}},"required":["id","name"]}}}}
```

## The PublicApiCallParticipantsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCallParticipantsResponseDto":{"type":"object","properties":{"callId":{"type":"string","description":"Unique identifier of the call"},"participants":{"description":"List of participants in the call","type":"array","items":{"$ref":"#/components/schemas/PublicApiCallParticipantDto"}}},"required":["callId","participants"]},"PublicApiCallParticipantDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the participant"},"name":{"type":"string","description":"Name of the participant"},"phone":{"type":"string","description":"Phone number of the participant"},"isHost":{"type":"boolean","description":"Whether the participant is the host of the call"},"isInternal":{"type":"boolean","description":"Whether the participant is internal to the organization"}},"required":["id","name"]}}}}
```

## The PublicApiGetCallParticipantsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCallParticipantsResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCallParticipantsResponseDto"}},"required":["statusCode","count","error","data"]},"PublicApiCallParticipantsResponseDto":{"type":"object","properties":{"callId":{"type":"string","description":"Unique identifier of the call"},"participants":{"description":"List of participants in the call","type":"array","items":{"$ref":"#/components/schemas/PublicApiCallParticipantDto"}}},"required":["callId","participants"]},"PublicApiCallParticipantDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the participant"},"name":{"type":"string","description":"Name of the participant"},"phone":{"type":"string","description":"Phone number of the participant"},"isHost":{"type":"boolean","description":"Whether the participant is the host of the call"},"isInternal":{"type":"boolean","description":"Whether the participant is internal to the organization"}},"required":["id","name"]}}}}
```

## The PublicApiCallNextStepDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCallNextStepDto":{"type":"object","properties":{"action":{"type":"string","description":"Action to be taken in the next step"},"actors":{"description":"Actors responsible for the next step","type":"array","items":{"type":"string"}},"deadline":{"type":"string","description":"Deadline for completing the next step"}},"required":["action","actors","deadline"]}}}}
```

## The PublicApiCallSummaryResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCallSummaryResponseDto":{"type":"object","properties":{"callId":{"type":"string","description":"Unique identifier of the call"},"summary":{"type":"string","description":"Summary of the call"},"nextSteps":{"description":"List of next steps identified during the call","type":"array","items":{"$ref":"#/components/schemas/PublicApiCallNextStepDto"}},"aiOpinion":{"type":"string","description":"AI-generated opinion or sentiment about the call"},"insights":{"type":"object","description":"Call insights"}},"required":["callId"]},"PublicApiCallNextStepDto":{"type":"object","properties":{"action":{"type":"string","description":"Action to be taken in the next step"},"actors":{"description":"Actors responsible for the next step","type":"array","items":{"type":"string"}},"deadline":{"type":"string","description":"Deadline for completing the next step"}},"required":["action","actors","deadline"]}}}}
```

## The PublicApiGetCallSummaryResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCallSummaryResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCallSummaryResponseDto"}},"required":["statusCode","count","error","data"]},"PublicApiCallSummaryResponseDto":{"type":"object","properties":{"callId":{"type":"string","description":"Unique identifier of the call"},"summary":{"type":"string","description":"Summary of the call"},"nextSteps":{"description":"List of next steps identified during the call","type":"array","items":{"$ref":"#/components/schemas/PublicApiCallNextStepDto"}},"aiOpinion":{"type":"string","description":"AI-generated opinion or sentiment about the call"},"insights":{"type":"object","description":"Call insights"}},"required":["callId"]},"PublicApiCallNextStepDto":{"type":"object","properties":{"action":{"type":"string","description":"Action to be taken in the next step"},"actors":{"description":"Actors responsible for the next step","type":"array","items":{"type":"string"}},"deadline":{"type":"string","description":"Deadline for completing the next step"}},"required":["action","actors","deadline"]}}}}
```

## The PublicApiCallTranscriptSegmentDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCallTranscriptSegmentDto":{"type":"object","properties":{"startTime":{"type":"number","description":"Start time of the transcript segment in seconds"},"endTime":{"type":"number","description":"End time of the transcript segment in seconds"},"personId":{"type":"string","description":"Internal Identifier of the person who spoke"},"participantName":{"type":"string","description":"Name of the participant who spoke"},"content":{"type":"string","description":"Content of the transcript"}},"required":["startTime","endTime","personId","participantName","content"]}}}}
```

## The PublicApiCallTranscriptResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCallTranscriptResponseDto":{"type":"object","properties":{"callId":{"type":"string","description":"Unique identifier of the call"},"transcript":{"description":"List of transcript segments for the call","type":"array","items":{"$ref":"#/components/schemas/PublicApiCallTranscriptSegmentDto"}}},"required":["callId","transcript"]},"PublicApiCallTranscriptSegmentDto":{"type":"object","properties":{"startTime":{"type":"number","description":"Start time of the transcript segment in seconds"},"endTime":{"type":"number","description":"End time of the transcript segment in seconds"},"personId":{"type":"string","description":"Internal Identifier of the person who spoke"},"participantName":{"type":"string","description":"Name of the participant who spoke"},"content":{"type":"string","description":"Content of the transcript"}},"required":["startTime","endTime","personId","participantName","content"]}}}}
```

## The PublicApiGetCallTranscriptResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCallTranscriptResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCallTranscriptResponseDto"}},"required":["statusCode","count","error","data"]},"PublicApiCallTranscriptResponseDto":{"type":"object","properties":{"callId":{"type":"string","description":"Unique identifier of the call"},"transcript":{"description":"List of transcript segments for the call","type":"array","items":{"$ref":"#/components/schemas/PublicApiCallTranscriptSegmentDto"}}},"required":["callId","transcript"]},"PublicApiCallTranscriptSegmentDto":{"type":"object","properties":{"startTime":{"type":"number","description":"Start time of the transcript segment in seconds"},"endTime":{"type":"number","description":"End time of the transcript segment in seconds"},"personId":{"type":"string","description":"Internal Identifier of the person who spoke"},"participantName":{"type":"string","description":"Name of the participant who spoke"},"content":{"type":"string","description":"Content of the transcript"}},"required":["startTime","endTime","personId","participantName","content"]}}}}
```

## The PublicApiCallNoteDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCallNoteDto":{"type":"object","properties":{"content":{"type":"string","description":"Content of the note"},"smartCategory":{"type":"object","description":"Smart category of the note"}},"required":["content","smartCategory"]}}}}
```

## The PublicApiCallNotesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCallNotesResponseDto":{"type":"object","properties":{"callId":{"type":"string","description":"Unique identifier of the call"},"notes":{"description":"List of notes from the call","type":"array","items":{"$ref":"#/components/schemas/PublicApiCallNoteDto"}}},"required":["callId","notes"]},"PublicApiCallNoteDto":{"type":"object","properties":{"content":{"type":"string","description":"Content of the note"},"smartCategory":{"type":"object","description":"Smart category of the note"}},"required":["content","smartCategory"]}}}}
```

## The PublicApiGetCallNotesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCallNotesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCallNotesResponseDto"}},"required":["statusCode","count","error","data"]},"PublicApiCallNotesResponseDto":{"type":"object","properties":{"callId":{"type":"string","description":"Unique identifier of the call"},"notes":{"description":"List of notes from the call","type":"array","items":{"$ref":"#/components/schemas/PublicApiCallNoteDto"}}},"required":["callId","notes"]},"PublicApiCallNoteDto":{"type":"object","properties":{"content":{"type":"string","description":"Content of the note"},"smartCategory":{"type":"object","description":"Smart category of the note"}},"required":["content","smartCategory"]}}}}
```

## The PublicApiCallChatMessageDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCallChatMessageDto":{"type":"object","properties":{"question":{"type":"string","description":"Question asked in the chat"},"answer":{"type":"string","description":"Answer provided in the chat"}},"required":["question","answer"]}}}}
```

## The PublicApiCallChatResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCallChatResponseDto":{"type":"object","properties":{"callId":{"type":"string","description":"Unique identifier of the call"},"messages":{"description":"List of chat messages in the call","type":"array","items":{"$ref":"#/components/schemas/PublicApiCallChatMessageDto"}}},"required":["callId","messages"]},"PublicApiCallChatMessageDto":{"type":"object","properties":{"question":{"type":"string","description":"Question asked in the chat"},"answer":{"type":"string","description":"Answer provided in the chat"}},"required":["question","answer"]}}}}
```

## The PublicApiGetCallChatResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCallChatResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCallChatResponseDto"}},"required":["statusCode","count","error","data"]},"PublicApiCallChatResponseDto":{"type":"object","properties":{"callId":{"type":"string","description":"Unique identifier of the call"},"messages":{"description":"List of chat messages in the call","type":"array","items":{"$ref":"#/components/schemas/PublicApiCallChatMessageDto"}}},"required":["callId","messages"]},"PublicApiCallChatMessageDto":{"type":"object","properties":{"question":{"type":"string","description":"Question asked in the chat"},"answer":{"type":"string","description":"Answer provided in the chat"}},"required":["question","answer"]}}}}
```

## The PublicApiDeleteCallByIdResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiDeleteCallByIdResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiGetCallContactsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCallContactsResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiMeetingContactDto"}},"required":["statusCode","count","error","data"]},"PublicApiMeetingContactDto":{"type":"object","properties":{"contactId":{"type":"string","description":"Contact ID"}},"required":["contactId"]}}}}
```

## The PublicApiGetCallCompaniesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCallCompaniesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiMeetingCompanyDto"}},"required":["statusCode","count","error","data"]},"PublicApiMeetingCompanyDto":{"type":"object","properties":{"companyId":{"type":"string","description":"Company ID"}},"required":["companyId"]}}}}
```

## The PublicApiGetCallOpportunitiesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCallOpportunitiesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiMeetingOpportunityDto"}},"required":["statusCode","count","error","data"]},"PublicApiMeetingOpportunityDto":{"type":"object","properties":{"opportunityId":{"type":"string","description":"Opportunity ID"}},"required":["opportunityId"]}}}}
```

## The PublicApiGetMeetingNotesListResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetMeetingNotesListResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingNoteDto"}}},"required":["statusCode","count","error","data"]},"PublicApiMeetingNoteDto":{"type":"object","properties":{"id":{"type":"string","description":"ID of the meeting note"},"tag":{"type":"string","description":"Tag associated with the note"},"content":{"type":"string","description":"Content of the note"},"priority":{"type":"string","description":"Priority level of the note","enum":["low","medium","high"]},"meetingId":{"type":"string","description":"ID of the associated meeting"},"smartCategoryId":{"type":"string","description":"ID of the associated smart category"},"isManual":{"type":"boolean","description":"Whether the note was manually created"},"startTimestamp":{"type":"number","description":"Start timestamp of the note"},"endTimestamp":{"type":"number","description":"End timestamp of the note"}},"required":["id","content","meetingId","smartCategoryId","isManual"]}}}}
```

## The PublicApiGetMeetingNoteByIdResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetMeetingNoteByIdResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiMeetingNoteDto"}},"required":["statusCode","count","error","data"]},"PublicApiMeetingNoteDto":{"type":"object","properties":{"id":{"type":"string","description":"ID of the meeting note"},"tag":{"type":"string","description":"Tag associated with the note"},"content":{"type":"string","description":"Content of the note"},"priority":{"type":"string","description":"Priority level of the note","enum":["low","medium","high"]},"meetingId":{"type":"string","description":"ID of the associated meeting"},"smartCategoryId":{"type":"string","description":"ID of the associated smart category"},"isManual":{"type":"boolean","description":"Whether the note was manually created"},"startTimestamp":{"type":"number","description":"Start timestamp of the note"},"endTimestamp":{"type":"number","description":"End timestamp of the note"}},"required":["id","content","meetingId","smartCategoryId","isManual"]}}}}
```

## The PublicApiGetMeetingTypesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetMeetingTypesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiMeetingTypeDto"}}},"required":["statusCode","count","error","data"]},"PublicApiMeetingTypeDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the meeting type"},"name":{"type":"string","description":"Descriptive name of the meeting type"}},"required":["id","name"]}}}}
```

## The PublicApiGetMeetingTypeByIdResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetMeetingTypeByIdResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiMeetingTypeDto"}},"required":["statusCode","count","error","data"]},"PublicApiMeetingTypeDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the meeting type"},"name":{"type":"string","description":"Descriptive name of the meeting type"}},"required":["id","name"]}}}}
```

## The PublicApiCallTypeScoreDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCallTypeScoreDto":{"type":"object","properties":{"value":{"type":"number","description":"Score value"},"type":{"type":"string","description":"Score type"}},"required":["value","type"]}}}}
```

## The PublicApiCallTypeDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCallTypeDto":{"type":"object","properties":{"id":{"type":"string","description":"ID of the meeting type"},"name":{"type":"string","description":"Name of the meeting type"},"description":{"type":"string","description":"Description of the meeting type"},"isEnabled":{"type":"boolean","description":"Whether the meeting type is enabled"},"score":{"description":"Scores associated with the meeting type","type":"array","items":{"$ref":"#/components/schemas/PublicApiCallTypeScoreDto"}},"type":{"type":"string","description":"Type of meeting","enum":["videocall","presential","phonecall"]}},"required":["id","name","isEnabled","type"]},"PublicApiCallTypeScoreDto":{"type":"object","properties":{"value":{"type":"number","description":"Score value"},"type":{"type":"string","description":"Score type"}},"required":["value","type"]}}}}
```

## The PublicApiGetCallTypesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCallTypesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiCallTypeDto"}}},"required":["statusCode","count","error","data"]},"PublicApiCallTypeDto":{"type":"object","properties":{"id":{"type":"string","description":"ID of the meeting type"},"name":{"type":"string","description":"Name of the meeting type"},"description":{"type":"string","description":"Description of the meeting type"},"isEnabled":{"type":"boolean","description":"Whether the meeting type is enabled"},"score":{"description":"Scores associated with the meeting type","type":"array","items":{"$ref":"#/components/schemas/PublicApiCallTypeScoreDto"}},"type":{"type":"string","description":"Type of meeting","enum":["videocall","presential","phonecall"]}},"required":["id","name","isEnabled","type"]},"PublicApiCallTypeScoreDto":{"type":"object","properties":{"value":{"type":"number","description":"Score value"},"type":{"type":"string","description":"Score type"}},"required":["value","type"]}}}}
```

## The PublicApiGetCallTypeByIdResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCallTypeByIdResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCallTypeDto"}},"required":["statusCode","count","error","data"]},"PublicApiCallTypeDto":{"type":"object","properties":{"id":{"type":"string","description":"ID of the meeting type"},"name":{"type":"string","description":"Name of the meeting type"},"description":{"type":"string","description":"Description of the meeting type"},"isEnabled":{"type":"boolean","description":"Whether the meeting type is enabled"},"score":{"description":"Scores associated with the meeting type","type":"array","items":{"$ref":"#/components/schemas/PublicApiCallTypeScoreDto"}},"type":{"type":"string","description":"Type of meeting","enum":["videocall","presential","phonecall"]}},"required":["id","name","isEnabled","type"]},"PublicApiCallTypeScoreDto":{"type":"object","properties":{"value":{"type":"number","description":"Score value"},"type":{"type":"string","description":"Score type"}},"required":["value","type"]}}}}
```

## The PublicApiSmartCategoryDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiSmartCategoryDto":{"type":"object","properties":{"id":{"type":"string","description":"ID of the smart category"},"name":{"type":"string","description":"Name of the smart category"},"description":{"type":"string","description":"Description of the smart category"},"type":{"type":"string","description":"Type of meeting this category applies to","enum":["videocall","presential","phonecall"]},"createdAt":{"format":"date-time","type":"string","description":"Creation date of the smart category"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date of the smart category"}},"required":["id","name","type","createdAt","updatedAt"]}}}}
```

## The PublicApiGetSmartCategoriesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetSmartCategoriesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiSmartCategoryDto"}}},"required":["statusCode","count","error","data"]},"PublicApiSmartCategoryDto":{"type":"object","properties":{"id":{"type":"string","description":"ID of the smart category"},"name":{"type":"string","description":"Name of the smart category"},"description":{"type":"string","description":"Description of the smart category"},"type":{"type":"string","description":"Type of meeting this category applies to","enum":["videocall","presential","phonecall"]},"createdAt":{"format":"date-time","type":"string","description":"Creation date of the smart category"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date of the smart category"}},"required":["id","name","type","createdAt","updatedAt"]}}}}
```

## The PublicApiGetSmartCategoryByIdResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetSmartCategoryByIdResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiSmartCategoryDto"}},"required":["statusCode","count","error","data"]},"PublicApiSmartCategoryDto":{"type":"object","properties":{"id":{"type":"string","description":"ID of the smart category"},"name":{"type":"string","description":"Name of the smart category"},"description":{"type":"string","description":"Description of the smart category"},"type":{"type":"string","description":"Type of meeting this category applies to","enum":["videocall","presential","phonecall"]},"createdAt":{"format":"date-time","type":"string","description":"Creation date of the smart category"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date of the smart category"}},"required":["id","name","type","createdAt","updatedAt"]}}}}
```

## The PublicApiGetCallNoteByIdResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCallNoteByIdResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCallNoteDto"}},"required":["statusCode","count","error","data"]},"PublicApiCallNoteDto":{"type":"object","properties":{"content":{"type":"string","description":"Content of the note"},"smartCategory":{"type":"object","description":"Smart category of the note"}},"required":["content","smartCategory"]}}}}
```

## The PublicApiCalendarEventParticipantDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCalendarEventParticipantDto":{"type":"object","properties":{"email":{"type":"string","description":"Email address of the participant"},"name":{"type":"string","description":"Name of the participant"},"status":{"type":"string","description":"Response status of the participant","default":"yes"}},"required":["email"]}}}}
```

## The PublicApiCalendarEventConferencingDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCalendarEventConferencingDto":{"type":"object","properties":{"provider":{"type":"string","description":"Conferencing provider"},"details":{"type":"object","properties":{"url":{"type":"string"}}}},"required":["details"]}}}}
```

## The PublicApiCalendarEventDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCalendarEventDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the calendar event"},"calendarId":{"type":"string","description":"Calendar ID this event belongs to"},"title":{"type":"string","description":"Title of the calendar event"},"description":{"type":"string","description":"Description of the calendar event"},"startDateTime":{"format":"date-time","type":"string","description":"Date and time when the event starts"},"endDateTime":{"format":"date-time","type":"string","description":"Date and time when the event ends"},"location":{"type":"string","description":"Location of the event"},"status":{"type":"string","enum":["completed","confirmed","tentative","cancelled"],"description":"Status of the calendar event"},"visibility":{"type":"string","enum":["default","public","private"],"description":"Visibility of the calendar event"},"organizerEmail":{"type":"string","description":"Email of the event organizer"},"organizerName":{"type":"string","description":"Name of the event organizer"},"busy":{"type":"boolean","description":"Whether the event is marked as busy"},"readOnly":{"type":"boolean","description":"Whether the event is read-only"},"hideParticipants":{"type":"boolean","description":"Whether to hide participants"},"htmlLink":{"type":"string","description":"HTML link to the event"},"iCalUID":{"type":"string","description":"iCal UID of the event"},"nylasId":{"type":"string","description":"Nylas ID of the event"},"masterEventId":{"type":"string","description":"Master event ID for recurring events"},"duration":{"type":"number","description":"Duration of the event in seconds"},"recurrence":{"description":"Recurrence rules for the event","type":"array","items":{"type":"string"}},"participants":{"description":"Event participants","type":"array","items":{"$ref":"#/components/schemas/PublicApiCalendarEventParticipantDto"}},"conferencing":{"description":"Conferencing properties","allOf":[{"$ref":"#/components/schemas/PublicApiCalendarEventConferencingDto"}]},"metadata":{"type":"object","description":"Additional metadata for the event"},"createdAt":{"format":"date-time","type":"string","description":"Date and time when the event was created"},"updatedAt":{"format":"date-time","type":"string","description":"Date and time when the event was last updated"}},"required":["id","title","startDateTime","endDateTime","status","visibility","createdAt","updatedAt"]},"PublicApiCalendarEventParticipantDto":{"type":"object","properties":{"email":{"type":"string","description":"Email address of the participant"},"name":{"type":"string","description":"Name of the participant"},"status":{"type":"string","description":"Response status of the participant","default":"yes"}},"required":["email"]},"PublicApiCalendarEventConferencingDto":{"type":"object","properties":{"provider":{"type":"string","description":"Conferencing provider"},"details":{"type":"object","properties":{"url":{"type":"string"}}}},"required":["details"]}}}}
```

## The PublicApiGetCalendarEventsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCalendarEventsResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiCalendarEventDto"}}},"required":["statusCode","count","error","data"]},"PublicApiCalendarEventDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the calendar event"},"calendarId":{"type":"string","description":"Calendar ID this event belongs to"},"title":{"type":"string","description":"Title of the calendar event"},"description":{"type":"string","description":"Description of the calendar event"},"startDateTime":{"format":"date-time","type":"string","description":"Date and time when the event starts"},"endDateTime":{"format":"date-time","type":"string","description":"Date and time when the event ends"},"location":{"type":"string","description":"Location of the event"},"status":{"type":"string","enum":["completed","confirmed","tentative","cancelled"],"description":"Status of the calendar event"},"visibility":{"type":"string","enum":["default","public","private"],"description":"Visibility of the calendar event"},"organizerEmail":{"type":"string","description":"Email of the event organizer"},"organizerName":{"type":"string","description":"Name of the event organizer"},"busy":{"type":"boolean","description":"Whether the event is marked as busy"},"readOnly":{"type":"boolean","description":"Whether the event is read-only"},"hideParticipants":{"type":"boolean","description":"Whether to hide participants"},"htmlLink":{"type":"string","description":"HTML link to the event"},"iCalUID":{"type":"string","description":"iCal UID of the event"},"nylasId":{"type":"string","description":"Nylas ID of the event"},"masterEventId":{"type":"string","description":"Master event ID for recurring events"},"duration":{"type":"number","description":"Duration of the event in seconds"},"recurrence":{"description":"Recurrence rules for the event","type":"array","items":{"type":"string"}},"participants":{"description":"Event participants","type":"array","items":{"$ref":"#/components/schemas/PublicApiCalendarEventParticipantDto"}},"conferencing":{"description":"Conferencing properties","allOf":[{"$ref":"#/components/schemas/PublicApiCalendarEventConferencingDto"}]},"metadata":{"type":"object","description":"Additional metadata for the event"},"createdAt":{"format":"date-time","type":"string","description":"Date and time when the event was created"},"updatedAt":{"format":"date-time","type":"string","description":"Date and time when the event was last updated"}},"required":["id","title","startDateTime","endDateTime","status","visibility","createdAt","updatedAt"]},"PublicApiCalendarEventParticipantDto":{"type":"object","properties":{"email":{"type":"string","description":"Email address of the participant"},"name":{"type":"string","description":"Name of the participant"},"status":{"type":"string","description":"Response status of the participant","default":"yes"}},"required":["email"]},"PublicApiCalendarEventConferencingDto":{"type":"object","properties":{"provider":{"type":"string","description":"Conferencing provider"},"details":{"type":"object","properties":{"url":{"type":"string"}}}},"required":["details"]}}}}
```

## The PublicApiGetCalendarEventByIdResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCalendarEventByIdResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCalendarEventDto"}},"required":["statusCode","count","error","data"]},"PublicApiCalendarEventDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the calendar event"},"calendarId":{"type":"string","description":"Calendar ID this event belongs to"},"title":{"type":"string","description":"Title of the calendar event"},"description":{"type":"string","description":"Description of the calendar event"},"startDateTime":{"format":"date-time","type":"string","description":"Date and time when the event starts"},"endDateTime":{"format":"date-time","type":"string","description":"Date and time when the event ends"},"location":{"type":"string","description":"Location of the event"},"status":{"type":"string","enum":["completed","confirmed","tentative","cancelled"],"description":"Status of the calendar event"},"visibility":{"type":"string","enum":["default","public","private"],"description":"Visibility of the calendar event"},"organizerEmail":{"type":"string","description":"Email of the event organizer"},"organizerName":{"type":"string","description":"Name of the event organizer"},"busy":{"type":"boolean","description":"Whether the event is marked as busy"},"readOnly":{"type":"boolean","description":"Whether the event is read-only"},"hideParticipants":{"type":"boolean","description":"Whether to hide participants"},"htmlLink":{"type":"string","description":"HTML link to the event"},"iCalUID":{"type":"string","description":"iCal UID of the event"},"nylasId":{"type":"string","description":"Nylas ID of the event"},"masterEventId":{"type":"string","description":"Master event ID for recurring events"},"duration":{"type":"number","description":"Duration of the event in seconds"},"recurrence":{"description":"Recurrence rules for the event","type":"array","items":{"type":"string"}},"participants":{"description":"Event participants","type":"array","items":{"$ref":"#/components/schemas/PublicApiCalendarEventParticipantDto"}},"conferencing":{"description":"Conferencing properties","allOf":[{"$ref":"#/components/schemas/PublicApiCalendarEventConferencingDto"}]},"metadata":{"type":"object","description":"Additional metadata for the event"},"createdAt":{"format":"date-time","type":"string","description":"Date and time when the event was created"},"updatedAt":{"format":"date-time","type":"string","description":"Date and time when the event was last updated"}},"required":["id","title","startDateTime","endDateTime","status","visibility","createdAt","updatedAt"]},"PublicApiCalendarEventParticipantDto":{"type":"object","properties":{"email":{"type":"string","description":"Email address of the participant"},"name":{"type":"string","description":"Name of the participant"},"status":{"type":"string","description":"Response status of the participant","default":"yes"}},"required":["email"]},"PublicApiCalendarEventConferencingDto":{"type":"object","properties":{"provider":{"type":"string","description":"Conferencing provider"},"details":{"type":"object","properties":{"url":{"type":"string"}}}},"required":["details"]}}}}
```

## The PublicApiCreateCalendarEventDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateCalendarEventDto":{"type":"object","properties":{"calendarId":{"type":"string","description":"Calendar ID this event belongs to"},"title":{"type":"string","description":"Title of the calendar event"},"description":{"type":"string","description":"Description of the calendar event"},"startDateTime":{"format":"date-time","type":"string","description":"Date and time when the event starts"},"endDateTime":{"format":"date-time","type":"string","description":"Date and time when the event ends"},"location":{"type":"string","description":"Location of the event"},"status":{"type":"string","enum":["completed","confirmed","tentative","cancelled"],"description":"Status of the calendar event"},"visibility":{"type":"string","enum":["default","public","private"],"description":"Visibility of the calendar event"},"organizerEmail":{"type":"string","description":"Email of the event organizer"},"organizerName":{"type":"string","description":"Name of the event organizer"},"busy":{"type":"boolean","description":"Whether the event is marked as busy"},"readOnly":{"type":"boolean","description":"Whether the event is read-only"},"hideParticipants":{"type":"boolean","description":"Whether to hide participants"},"duration":{"type":"number","description":"Duration of the event in seconds"},"recurrence":{"description":"Recurrence rules for the event","type":"array","items":{"type":"string"}},"participants":{"description":"Event participants","type":"array","items":{"$ref":"#/components/schemas/PublicApiCalendarEventParticipantDto"}},"meetingUrl":{"type":"string","description":"Meeting URL"},"metadata":{"type":"object","description":"Additional metadata for the event"}},"required":["calendarId","title","startDateTime","endDateTime"]},"PublicApiCalendarEventParticipantDto":{"type":"object","properties":{"email":{"type":"string","description":"Email address of the participant"},"name":{"type":"string","description":"Name of the participant"},"status":{"type":"string","description":"Response status of the participant","default":"yes"}},"required":["email"]}}}}
```

## The PublicApiCreateCalendarEventResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateCalendarEventResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCalendarEventDto"}},"required":["statusCode","count","error","data"]},"PublicApiCalendarEventDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the calendar event"},"calendarId":{"type":"string","description":"Calendar ID this event belongs to"},"title":{"type":"string","description":"Title of the calendar event"},"description":{"type":"string","description":"Description of the calendar event"},"startDateTime":{"format":"date-time","type":"string","description":"Date and time when the event starts"},"endDateTime":{"format":"date-time","type":"string","description":"Date and time when the event ends"},"location":{"type":"string","description":"Location of the event"},"status":{"type":"string","enum":["completed","confirmed","tentative","cancelled"],"description":"Status of the calendar event"},"visibility":{"type":"string","enum":["default","public","private"],"description":"Visibility of the calendar event"},"organizerEmail":{"type":"string","description":"Email of the event organizer"},"organizerName":{"type":"string","description":"Name of the event organizer"},"busy":{"type":"boolean","description":"Whether the event is marked as busy"},"readOnly":{"type":"boolean","description":"Whether the event is read-only"},"hideParticipants":{"type":"boolean","description":"Whether to hide participants"},"htmlLink":{"type":"string","description":"HTML link to the event"},"iCalUID":{"type":"string","description":"iCal UID of the event"},"nylasId":{"type":"string","description":"Nylas ID of the event"},"masterEventId":{"type":"string","description":"Master event ID for recurring events"},"duration":{"type":"number","description":"Duration of the event in seconds"},"recurrence":{"description":"Recurrence rules for the event","type":"array","items":{"type":"string"}},"participants":{"description":"Event participants","type":"array","items":{"$ref":"#/components/schemas/PublicApiCalendarEventParticipantDto"}},"conferencing":{"description":"Conferencing properties","allOf":[{"$ref":"#/components/schemas/PublicApiCalendarEventConferencingDto"}]},"metadata":{"type":"object","description":"Additional metadata for the event"},"createdAt":{"format":"date-time","type":"string","description":"Date and time when the event was created"},"updatedAt":{"format":"date-time","type":"string","description":"Date and time when the event was last updated"}},"required":["id","title","startDateTime","endDateTime","status","visibility","createdAt","updatedAt"]},"PublicApiCalendarEventParticipantDto":{"type":"object","properties":{"email":{"type":"string","description":"Email address of the participant"},"name":{"type":"string","description":"Name of the participant"},"status":{"type":"string","description":"Response status of the participant","default":"yes"}},"required":["email"]},"PublicApiCalendarEventConferencingDto":{"type":"object","properties":{"provider":{"type":"string","description":"Conferencing provider"},"details":{"type":"object","properties":{"url":{"type":"string"}}}},"required":["details"]}}}}
```

## The PublicApiUpdateCalendarEventDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiUpdateCalendarEventDto":{"type":"object","properties":{"title":{"type":"string","description":"Title of the calendar event"},"description":{"type":"string","description":"Description of the calendar event"},"startDateTime":{"format":"date-time","type":"string","description":"Date and time when the event starts"},"endDateTime":{"format":"date-time","type":"string","description":"Date and time when the event ends"},"location":{"type":"string","description":"Location of the event"},"status":{"type":"string","enum":["completed","confirmed","tentative","cancelled"],"description":"Status of the calendar event"},"visibility":{"type":"string","enum":["default","public","private"],"description":"Visibility of the calendar event"},"organizerEmail":{"type":"string","description":"Email of the event organizer"},"organizerName":{"type":"string","description":"Name of the event organizer"},"busy":{"type":"boolean","description":"Whether the event is marked as busy"},"readOnly":{"type":"boolean","description":"Whether the event is read-only"},"hideParticipants":{"type":"boolean","description":"Whether to hide participants"},"duration":{"type":"number","description":"Duration of the event in seconds"},"recurrence":{"description":"Recurrence rules for the event","type":"array","items":{"type":"string"}},"participants":{"description":"Event participants","type":"array","items":{"$ref":"#/components/schemas/PublicApiCalendarEventParticipantDto"}},"meetingUrl":{"type":"string","description":"Meeting URL"},"metadata":{"type":"object","description":"Additional metadata for the event"}}},"PublicApiCalendarEventParticipantDto":{"type":"object","properties":{"email":{"type":"string","description":"Email address of the participant"},"name":{"type":"string","description":"Name of the participant"},"status":{"type":"string","description":"Response status of the participant","default":"yes"}},"required":["email"]}}}}
```

## The PublicApiUpdateCalendarEventResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiUpdateCalendarEventResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCalendarEventDto"}},"required":["statusCode","count","error","data"]},"PublicApiCalendarEventDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the calendar event"},"calendarId":{"type":"string","description":"Calendar ID this event belongs to"},"title":{"type":"string","description":"Title of the calendar event"},"description":{"type":"string","description":"Description of the calendar event"},"startDateTime":{"format":"date-time","type":"string","description":"Date and time when the event starts"},"endDateTime":{"format":"date-time","type":"string","description":"Date and time when the event ends"},"location":{"type":"string","description":"Location of the event"},"status":{"type":"string","enum":["completed","confirmed","tentative","cancelled"],"description":"Status of the calendar event"},"visibility":{"type":"string","enum":["default","public","private"],"description":"Visibility of the calendar event"},"organizerEmail":{"type":"string","description":"Email of the event organizer"},"organizerName":{"type":"string","description":"Name of the event organizer"},"busy":{"type":"boolean","description":"Whether the event is marked as busy"},"readOnly":{"type":"boolean","description":"Whether the event is read-only"},"hideParticipants":{"type":"boolean","description":"Whether to hide participants"},"htmlLink":{"type":"string","description":"HTML link to the event"},"iCalUID":{"type":"string","description":"iCal UID of the event"},"nylasId":{"type":"string","description":"Nylas ID of the event"},"masterEventId":{"type":"string","description":"Master event ID for recurring events"},"duration":{"type":"number","description":"Duration of the event in seconds"},"recurrence":{"description":"Recurrence rules for the event","type":"array","items":{"type":"string"}},"participants":{"description":"Event participants","type":"array","items":{"$ref":"#/components/schemas/PublicApiCalendarEventParticipantDto"}},"conferencing":{"description":"Conferencing properties","allOf":[{"$ref":"#/components/schemas/PublicApiCalendarEventConferencingDto"}]},"metadata":{"type":"object","description":"Additional metadata for the event"},"createdAt":{"format":"date-time","type":"string","description":"Date and time when the event was created"},"updatedAt":{"format":"date-time","type":"string","description":"Date and time when the event was last updated"}},"required":["id","title","startDateTime","endDateTime","status","visibility","createdAt","updatedAt"]},"PublicApiCalendarEventParticipantDto":{"type":"object","properties":{"email":{"type":"string","description":"Email address of the participant"},"name":{"type":"string","description":"Name of the participant"},"status":{"type":"string","description":"Response status of the participant","default":"yes"}},"required":["email"]},"PublicApiCalendarEventConferencingDto":{"type":"object","properties":{"provider":{"type":"string","description":"Conferencing provider"},"details":{"type":"object","properties":{"url":{"type":"string"}}}},"required":["details"]}}}}
```

## The PublicApiDeleteCalendarEventResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiDeleteCalendarEventResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiCalendarDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCalendarDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the calendar"},"name":{"type":"string","description":"Name of the calendar"},"description":{"type":"string","description":"Description of the calendar"},"hexColor":{"type":"string","description":"Hex color code for the calendar"},"hexForegroundColor":{"type":"string","description":"Hex foreground color code for the calendar"},"isPrimary":{"type":"boolean","description":"Whether this is the primary calendar"},"location":{"type":"string","description":"Location associated with the calendar"},"timezone":{"type":"string","description":"IANA time zone database formatted string"},"readOnly":{"type":"boolean","description":"Whether the calendar is read-only"},"metadata":{"type":"object","description":"Additional metadata for the calendar"},"createdAt":{"format":"date-time","type":"string","description":"Date and time when the calendar was created"},"updatedAt":{"format":"date-time","type":"string","description":"Date and time when the calendar was last updated"}},"required":["id","name","createdAt","updatedAt"]}}}}
```

## The PublicApiGetCalendarsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCalendarsResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiCalendarDto"}}},"required":["statusCode","count","error","data"]},"PublicApiCalendarDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the calendar"},"name":{"type":"string","description":"Name of the calendar"},"description":{"type":"string","description":"Description of the calendar"},"hexColor":{"type":"string","description":"Hex color code for the calendar"},"hexForegroundColor":{"type":"string","description":"Hex foreground color code for the calendar"},"isPrimary":{"type":"boolean","description":"Whether this is the primary calendar"},"location":{"type":"string","description":"Location associated with the calendar"},"timezone":{"type":"string","description":"IANA time zone database formatted string"},"readOnly":{"type":"boolean","description":"Whether the calendar is read-only"},"metadata":{"type":"object","description":"Additional metadata for the calendar"},"createdAt":{"format":"date-time","type":"string","description":"Date and time when the calendar was created"},"updatedAt":{"format":"date-time","type":"string","description":"Date and time when the calendar was last updated"}},"required":["id","name","createdAt","updatedAt"]}}}}
```

## The PublicApiGetCalendarByIdResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCalendarByIdResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCalendarDto"}},"required":["statusCode","count","error","data"]},"PublicApiCalendarDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the calendar"},"name":{"type":"string","description":"Name of the calendar"},"description":{"type":"string","description":"Description of the calendar"},"hexColor":{"type":"string","description":"Hex color code for the calendar"},"hexForegroundColor":{"type":"string","description":"Hex foreground color code for the calendar"},"isPrimary":{"type":"boolean","description":"Whether this is the primary calendar"},"location":{"type":"string","description":"Location associated with the calendar"},"timezone":{"type":"string","description":"IANA time zone database formatted string"},"readOnly":{"type":"boolean","description":"Whether the calendar is read-only"},"metadata":{"type":"object","description":"Additional metadata for the calendar"},"createdAt":{"format":"date-time","type":"string","description":"Date and time when the calendar was created"},"updatedAt":{"format":"date-time","type":"string","description":"Date and time when the calendar was last updated"}},"required":["id","name","createdAt","updatedAt"]}}}}
```

## The PublicApiCreateCalendarDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateCalendarDto":{"type":"object","properties":{"name":{"type":"string","description":"Name of the calendar"},"description":{"type":"string","description":"Description of the calendar"},"hexColor":{"type":"string","description":"Hex color code for the calendar"},"hexForegroundColor":{"type":"string","description":"Hex foreground color code for the calendar"},"isPrimary":{"type":"boolean","description":"Whether this is the primary calendar"},"location":{"type":"string","description":"Location associated with the calendar"},"timezone":{"type":"string","description":"IANA time zone database formatted string"},"readOnly":{"type":"boolean","description":"Whether the calendar is read-only"},"metadata":{"type":"object","description":"Additional metadata for the calendar"}},"required":["name"]}}}}
```

## The PublicApiCreateCalendarResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateCalendarResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCalendarDto"}},"required":["statusCode","count","error","data"]},"PublicApiCalendarDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the calendar"},"name":{"type":"string","description":"Name of the calendar"},"description":{"type":"string","description":"Description of the calendar"},"hexColor":{"type":"string","description":"Hex color code for the calendar"},"hexForegroundColor":{"type":"string","description":"Hex foreground color code for the calendar"},"isPrimary":{"type":"boolean","description":"Whether this is the primary calendar"},"location":{"type":"string","description":"Location associated with the calendar"},"timezone":{"type":"string","description":"IANA time zone database formatted string"},"readOnly":{"type":"boolean","description":"Whether the calendar is read-only"},"metadata":{"type":"object","description":"Additional metadata for the calendar"},"createdAt":{"format":"date-time","type":"string","description":"Date and time when the calendar was created"},"updatedAt":{"format":"date-time","type":"string","description":"Date and time when the calendar was last updated"}},"required":["id","name","createdAt","updatedAt"]}}}}
```

## The PublicApiUpdateCalendarDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiUpdateCalendarDto":{"type":"object","properties":{"name":{"type":"string","description":"Name of the calendar"},"description":{"type":"string","description":"Description of the calendar"},"hexColor":{"type":"string","description":"Hex color code for the calendar"},"hexForegroundColor":{"type":"string","description":"Hex foreground color code for the calendar"},"isPrimary":{"type":"boolean","description":"Whether this is the primary calendar"},"location":{"type":"string","description":"Location associated with the calendar"},"timezone":{"type":"string","description":"IANA time zone database formatted string"},"readOnly":{"type":"boolean","description":"Whether the calendar is read-only"},"metadata":{"type":"object","description":"Additional metadata for the calendar"}}}}}}
```

## The PublicApiUpdateCalendarResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiUpdateCalendarResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCalendarDto"}},"required":["statusCode","count","error","data"]},"PublicApiCalendarDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the calendar"},"name":{"type":"string","description":"Name of the calendar"},"description":{"type":"string","description":"Description of the calendar"},"hexColor":{"type":"string","description":"Hex color code for the calendar"},"hexForegroundColor":{"type":"string","description":"Hex foreground color code for the calendar"},"isPrimary":{"type":"boolean","description":"Whether this is the primary calendar"},"location":{"type":"string","description":"Location associated with the calendar"},"timezone":{"type":"string","description":"IANA time zone database formatted string"},"readOnly":{"type":"boolean","description":"Whether the calendar is read-only"},"metadata":{"type":"object","description":"Additional metadata for the calendar"},"createdAt":{"format":"date-time","type":"string","description":"Date and time when the calendar was created"},"updatedAt":{"format":"date-time","type":"string","description":"Date and time when the calendar was last updated"}},"required":["id","name","createdAt","updatedAt"]}}}}
```

## The PublicApiDeleteCalendarResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiDeleteCalendarResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiCompanyDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCompanyDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the company"},"name":{"type":"string","description":"Name of the company"},"domain":{"type":"string","description":"Company domain"},"description":{"type":"string","description":"Company description"},"industry":{"type":"string","description":"Company industry"},"phone":{"type":"string","description":"Company phone number"},"email":{"type":"string","description":"Company email address"},"currency":{"type":"string","description":"Company currency"},"address":{"type":"string","description":"Company address"},"postalCode":{"type":"string","description":"Postal code"},"city":{"type":"string","description":"City"},"nEmployees":{"type":"number","description":"Number of employees"},"source":{"type":"string","description":"Company source"},"annualRevenue":{"type":"number","description":"Annual revenue"},"status":{"type":"string","description":"Company status"},"foundationYear":{"type":"number","description":"Foundation year"},"sellRating":{"type":"number","description":"Sell rating (0-100)"},"linkedinUrl":{"type":"string","description":"LinkedIn URL"},"parentCompanyId":{"type":"string","description":"Parent company ID"},"createdAt":{"format":"date-time","type":"string","description":"Creation date"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date"}},"required":["id","name","createdAt","updatedAt"]}}}}
```

## The PublicApiGetCompaniesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCompaniesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiCompanyDto"}}},"required":["statusCode","count","error","data"]},"PublicApiCompanyDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the company"},"name":{"type":"string","description":"Name of the company"},"domain":{"type":"string","description":"Company domain"},"description":{"type":"string","description":"Company description"},"industry":{"type":"string","description":"Company industry"},"phone":{"type":"string","description":"Company phone number"},"email":{"type":"string","description":"Company email address"},"currency":{"type":"string","description":"Company currency"},"address":{"type":"string","description":"Company address"},"postalCode":{"type":"string","description":"Postal code"},"city":{"type":"string","description":"City"},"nEmployees":{"type":"number","description":"Number of employees"},"source":{"type":"string","description":"Company source"},"annualRevenue":{"type":"number","description":"Annual revenue"},"status":{"type":"string","description":"Company status"},"foundationYear":{"type":"number","description":"Foundation year"},"sellRating":{"type":"number","description":"Sell rating (0-100)"},"linkedinUrl":{"type":"string","description":"LinkedIn URL"},"parentCompanyId":{"type":"string","description":"Parent company ID"},"createdAt":{"format":"date-time","type":"string","description":"Creation date"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date"}},"required":["id","name","createdAt","updatedAt"]}}}}
```

## The PublicApiRecommendedActionDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiRecommendedActionDto":{"type":"object","properties":{"actionType":{"type":"string","enum":["next_step","send_case_study","call_decision_maker","address_objection","schedule_demo","send_proposal","follow_up","escalate","discovery_call","check_in","propose_expansion"]},"instruction":{"type":"string"},"suggestedMessage":{"type":"string"},"deadline":{"type":"string"}},"required":["actionType","instruction"]}}}}
```

## The PublicApiCommercialStateDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCommercialStateDto":{"type":"object","properties":{"state":{"type":"string","enum":["exploration","active_evaluation","high_intent","blocked","risk","expansion","post_sale"]},"confidence":{"type":"number","description":"Internal confidence score 0-1"},"confidenceLevel":{"type":"string","enum":["low","medium","high"]},"whyNow":{"type":"string"},"subMotives":{"type":"array","items":{"type":"string"}},"recommendedAction":{"$ref":"#/components/schemas/PublicApiRecommendedActionDto"},"lastCalculatedAt":{"type":"string"},"stateChangedAt":{"type":"string"},"previousState":{"type":"string","enum":["exploration","active_evaluation","high_intent","blocked","risk","expansion","post_sale"]},"triggerSignals":{"type":"array","items":{"type":"string"}}},"required":["state","confidence","confidenceLevel","whyNow","subMotives","recommendedAction","lastCalculatedAt","triggerSignals"]},"PublicApiRecommendedActionDto":{"type":"object","properties":{"actionType":{"type":"string","enum":["next_step","send_case_study","call_decision_maker","address_objection","schedule_demo","send_proposal","follow_up","escalate","discovery_call","check_in","propose_expansion"]},"instruction":{"type":"string"},"suggestedMessage":{"type":"string"},"deadline":{"type":"string"}},"required":["actionType","instruction"]}}}}
```

## The PublicApiCompanyStatusStateDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCompanyStatusStateDto":{"type":"object","properties":{"currentState":{"description":"Paragraphs shown as “Current status” in the UI (Markdown source segments).","type":"array","items":{"type":"string"}},"needs":{"type":"array","items":{"type":"string"}},"objections":{"type":"array","items":{"type":"string"}}},"required":["currentState","needs","objections"]}}}}
```

## The PublicApiCompanyAiStatusDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCompanyAiStatusDto":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"state":{"$ref":"#/components/schemas/PublicApiCompanyStatusStateDto"}},"required":["id","createdAt","updatedAt","state"]},"PublicApiCompanyStatusStateDto":{"type":"object","properties":{"currentState":{"description":"Paragraphs shown as “Current status” in the UI (Markdown source segments).","type":"array","items":{"type":"string"}},"needs":{"type":"array","items":{"type":"string"}},"objections":{"type":"array","items":{"type":"string"}}},"required":["currentState","needs","objections"]}}}}
```

## The PublicApiSuggestedActionDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiSuggestedActionDto":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"priority":{"type":"string","enum":["high","medium","low"]},"category":{"type":"string","enum":["positive","risk","neutral"]},"relatedSignals":{"type":"array","items":{"type":"string"}},"confidence":{"type":"number"},"relevanceScore":{"type":"number"},"firstDetectedAt":{"type":"string"},"lastDetectedAt":{"type":"string"},"occurrences":{"type":"number"},"activityIds":{"type":"array","items":{"type":"string"}},"activityNames":{"type":"array","items":{"type":"string"}},"activityTypes":{"type":"array","items":{"type":"string"}}},"required":["id","title","description","priority","category","relatedSignals","confidence","relevanceScore","firstDetectedAt","lastDetectedAt","occurrences","activityIds"]}}}}
```

## The PublicApiSignalEvidenceDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiSignalEvidenceDto":{"type":"object","properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"}},"required":["text","start","end"]}}}}
```

## The PublicApiSignalSummaryItemDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiSignalSummaryItemDto":{"type":"object","properties":{"signalTypeCode":{"type":"string"},"signalTypeTitle":{"type":"string"},"signalTypeDescription":{"type":"string"},"signalTypeCategory":{"type":"string","enum":["positive","risk","neutral"]},"value":{"type":"string"},"changeType":{"type":"string","nullable":true},"detectedAt":{"type":"string"},"activityId":{"type":"string"},"activityName":{"type":"string"},"activityType":{"type":"string"},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiSignalEvidenceDto"}},"relevanceScore":{"type":"number"}},"required":["signalTypeCode","signalTypeTitle","signalTypeDescription","signalTypeCategory","value","detectedAt","activityId","evidence","relevanceScore"]},"PublicApiSignalEvidenceDto":{"type":"object","properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"}},"required":["text","start","end"]}}}}
```

## The PublicApiSignalsByCategoryDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiSignalsByCategoryDto":{"type":"object","properties":{"positive":{"type":"number"},"risk":{"type":"number"},"neutral":{"type":"number"}},"required":["positive","risk","neutral"]}}}}
```

## The PublicApiCompanySuggestedActionsMetadataDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCompanySuggestedActionsMetadataDto":{"type":"object","properties":{"totalSignals":{"type":"number"},"signalsByCategory":{"$ref":"#/components/schemas/PublicApiSignalsByCategoryDto"},"decayHalfLifeDays":{"type":"number"}},"required":["totalSignals","signalsByCategory","decayHalfLifeDays"]},"PublicApiSignalsByCategoryDto":{"type":"object","properties":{"positive":{"type":"number"},"risk":{"type":"number"},"neutral":{"type":"number"}},"required":["positive","risk","neutral"]}}}}
```

## The PublicApiCompanySuggestedActionsBundleDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCompanySuggestedActionsBundleDto":{"type":"object","properties":{"suggestedActions":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiSuggestedActionDto"}},"signals":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiSignalSummaryItemDto"}},"lastUpdated":{"type":"string"},"metadata":{"$ref":"#/components/schemas/PublicApiCompanySuggestedActionsMetadataDto"}},"required":["suggestedActions","signals","lastUpdated","metadata"]},"PublicApiSuggestedActionDto":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"priority":{"type":"string","enum":["high","medium","low"]},"category":{"type":"string","enum":["positive","risk","neutral"]},"relatedSignals":{"type":"array","items":{"type":"string"}},"confidence":{"type":"number"},"relevanceScore":{"type":"number"},"firstDetectedAt":{"type":"string"},"lastDetectedAt":{"type":"string"},"occurrences":{"type":"number"},"activityIds":{"type":"array","items":{"type":"string"}},"activityNames":{"type":"array","items":{"type":"string"}},"activityTypes":{"type":"array","items":{"type":"string"}}},"required":["id","title","description","priority","category","relatedSignals","confidence","relevanceScore","firstDetectedAt","lastDetectedAt","occurrences","activityIds"]},"PublicApiSignalSummaryItemDto":{"type":"object","properties":{"signalTypeCode":{"type":"string"},"signalTypeTitle":{"type":"string"},"signalTypeDescription":{"type":"string"},"signalTypeCategory":{"type":"string","enum":["positive","risk","neutral"]},"value":{"type":"string"},"changeType":{"type":"string","nullable":true},"detectedAt":{"type":"string"},"activityId":{"type":"string"},"activityName":{"type":"string"},"activityType":{"type":"string"},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiSignalEvidenceDto"}},"relevanceScore":{"type":"number"}},"required":["signalTypeCode","signalTypeTitle","signalTypeDescription","signalTypeCategory","value","detectedAt","activityId","evidence","relevanceScore"]},"PublicApiSignalEvidenceDto":{"type":"object","properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"}},"required":["text","start","end"]},"PublicApiCompanySuggestedActionsMetadataDto":{"type":"object","properties":{"totalSignals":{"type":"number"},"signalsByCategory":{"$ref":"#/components/schemas/PublicApiSignalsByCategoryDto"},"decayHalfLifeDays":{"type":"number"}},"required":["totalSignals","signalsByCategory","decayHalfLifeDays"]},"PublicApiSignalsByCategoryDto":{"type":"object","properties":{"positive":{"type":"number"},"risk":{"type":"number"},"neutral":{"type":"number"}},"required":["positive","risk","neutral"]}}}}
```

## The PublicApiCompanyDetailsTabDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCompanyDetailsTabDto":{"type":"object","properties":{"commercialState":{"nullable":true,"description":"Commercial “sales moment”; same JSON as company.commercial_state when present.","allOf":[{"$ref":"#/components/schemas/PublicApiCommercialStateDto"}]},"aiStatus":{"nullable":true,"description":"Latest AI company_status row (Current status, Needs, Objections).","allOf":[{"$ref":"#/components/schemas/PublicApiCompanyAiStatusDto"}]},"suggestedActions":{"nullable":true,"description":"Suggested actions + signal summaries from company.suggested_actions.","allOf":[{"$ref":"#/components/schemas/PublicApiCompanySuggestedActionsBundleDto"}]}}},"PublicApiCommercialStateDto":{"type":"object","properties":{"state":{"type":"string","enum":["exploration","active_evaluation","high_intent","blocked","risk","expansion","post_sale"]},"confidence":{"type":"number","description":"Internal confidence score 0-1"},"confidenceLevel":{"type":"string","enum":["low","medium","high"]},"whyNow":{"type":"string"},"subMotives":{"type":"array","items":{"type":"string"}},"recommendedAction":{"$ref":"#/components/schemas/PublicApiRecommendedActionDto"},"lastCalculatedAt":{"type":"string"},"stateChangedAt":{"type":"string"},"previousState":{"type":"string","enum":["exploration","active_evaluation","high_intent","blocked","risk","expansion","post_sale"]},"triggerSignals":{"type":"array","items":{"type":"string"}}},"required":["state","confidence","confidenceLevel","whyNow","subMotives","recommendedAction","lastCalculatedAt","triggerSignals"]},"PublicApiRecommendedActionDto":{"type":"object","properties":{"actionType":{"type":"string","enum":["next_step","send_case_study","call_decision_maker","address_objection","schedule_demo","send_proposal","follow_up","escalate","discovery_call","check_in","propose_expansion"]},"instruction":{"type":"string"},"suggestedMessage":{"type":"string"},"deadline":{"type":"string"}},"required":["actionType","instruction"]},"PublicApiCompanyAiStatusDto":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"state":{"$ref":"#/components/schemas/PublicApiCompanyStatusStateDto"}},"required":["id","createdAt","updatedAt","state"]},"PublicApiCompanyStatusStateDto":{"type":"object","properties":{"currentState":{"description":"Paragraphs shown as “Current status” in the UI (Markdown source segments).","type":"array","items":{"type":"string"}},"needs":{"type":"array","items":{"type":"string"}},"objections":{"type":"array","items":{"type":"string"}}},"required":["currentState","needs","objections"]},"PublicApiCompanySuggestedActionsBundleDto":{"type":"object","properties":{"suggestedActions":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiSuggestedActionDto"}},"signals":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiSignalSummaryItemDto"}},"lastUpdated":{"type":"string"},"metadata":{"$ref":"#/components/schemas/PublicApiCompanySuggestedActionsMetadataDto"}},"required":["suggestedActions","signals","lastUpdated","metadata"]},"PublicApiSuggestedActionDto":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"priority":{"type":"string","enum":["high","medium","low"]},"category":{"type":"string","enum":["positive","risk","neutral"]},"relatedSignals":{"type":"array","items":{"type":"string"}},"confidence":{"type":"number"},"relevanceScore":{"type":"number"},"firstDetectedAt":{"type":"string"},"lastDetectedAt":{"type":"string"},"occurrences":{"type":"number"},"activityIds":{"type":"array","items":{"type":"string"}},"activityNames":{"type":"array","items":{"type":"string"}},"activityTypes":{"type":"array","items":{"type":"string"}}},"required":["id","title","description","priority","category","relatedSignals","confidence","relevanceScore","firstDetectedAt","lastDetectedAt","occurrences","activityIds"]},"PublicApiSignalSummaryItemDto":{"type":"object","properties":{"signalTypeCode":{"type":"string"},"signalTypeTitle":{"type":"string"},"signalTypeDescription":{"type":"string"},"signalTypeCategory":{"type":"string","enum":["positive","risk","neutral"]},"value":{"type":"string"},"changeType":{"type":"string","nullable":true},"detectedAt":{"type":"string"},"activityId":{"type":"string"},"activityName":{"type":"string"},"activityType":{"type":"string"},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiSignalEvidenceDto"}},"relevanceScore":{"type":"number"}},"required":["signalTypeCode","signalTypeTitle","signalTypeDescription","signalTypeCategory","value","detectedAt","activityId","evidence","relevanceScore"]},"PublicApiSignalEvidenceDto":{"type":"object","properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"}},"required":["text","start","end"]},"PublicApiCompanySuggestedActionsMetadataDto":{"type":"object","properties":{"totalSignals":{"type":"number"},"signalsByCategory":{"$ref":"#/components/schemas/PublicApiSignalsByCategoryDto"},"decayHalfLifeDays":{"type":"number"}},"required":["totalSignals","signalsByCategory","decayHalfLifeDays"]},"PublicApiSignalsByCategoryDto":{"type":"object","properties":{"positive":{"type":"number"},"risk":{"type":"number"},"neutral":{"type":"number"}},"required":["positive","risk","neutral"]}}}}
```

## The PublicApiGetCompanyDetailsTabResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCompanyDetailsTabResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCompanyDetailsTabDto"}},"required":["statusCode","count","error","data"]},"PublicApiCompanyDetailsTabDto":{"type":"object","properties":{"commercialState":{"nullable":true,"description":"Commercial “sales moment”; same JSON as company.commercial_state when present.","allOf":[{"$ref":"#/components/schemas/PublicApiCommercialStateDto"}]},"aiStatus":{"nullable":true,"description":"Latest AI company_status row (Current status, Needs, Objections).","allOf":[{"$ref":"#/components/schemas/PublicApiCompanyAiStatusDto"}]},"suggestedActions":{"nullable":true,"description":"Suggested actions + signal summaries from company.suggested_actions.","allOf":[{"$ref":"#/components/schemas/PublicApiCompanySuggestedActionsBundleDto"}]}}},"PublicApiCommercialStateDto":{"type":"object","properties":{"state":{"type":"string","enum":["exploration","active_evaluation","high_intent","blocked","risk","expansion","post_sale"]},"confidence":{"type":"number","description":"Internal confidence score 0-1"},"confidenceLevel":{"type":"string","enum":["low","medium","high"]},"whyNow":{"type":"string"},"subMotives":{"type":"array","items":{"type":"string"}},"recommendedAction":{"$ref":"#/components/schemas/PublicApiRecommendedActionDto"},"lastCalculatedAt":{"type":"string"},"stateChangedAt":{"type":"string"},"previousState":{"type":"string","enum":["exploration","active_evaluation","high_intent","blocked","risk","expansion","post_sale"]},"triggerSignals":{"type":"array","items":{"type":"string"}}},"required":["state","confidence","confidenceLevel","whyNow","subMotives","recommendedAction","lastCalculatedAt","triggerSignals"]},"PublicApiRecommendedActionDto":{"type":"object","properties":{"actionType":{"type":"string","enum":["next_step","send_case_study","call_decision_maker","address_objection","schedule_demo","send_proposal","follow_up","escalate","discovery_call","check_in","propose_expansion"]},"instruction":{"type":"string"},"suggestedMessage":{"type":"string"},"deadline":{"type":"string"}},"required":["actionType","instruction"]},"PublicApiCompanyAiStatusDto":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"state":{"$ref":"#/components/schemas/PublicApiCompanyStatusStateDto"}},"required":["id","createdAt","updatedAt","state"]},"PublicApiCompanyStatusStateDto":{"type":"object","properties":{"currentState":{"description":"Paragraphs shown as “Current status” in the UI (Markdown source segments).","type":"array","items":{"type":"string"}},"needs":{"type":"array","items":{"type":"string"}},"objections":{"type":"array","items":{"type":"string"}}},"required":["currentState","needs","objections"]},"PublicApiCompanySuggestedActionsBundleDto":{"type":"object","properties":{"suggestedActions":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiSuggestedActionDto"}},"signals":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiSignalSummaryItemDto"}},"lastUpdated":{"type":"string"},"metadata":{"$ref":"#/components/schemas/PublicApiCompanySuggestedActionsMetadataDto"}},"required":["suggestedActions","signals","lastUpdated","metadata"]},"PublicApiSuggestedActionDto":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"priority":{"type":"string","enum":["high","medium","low"]},"category":{"type":"string","enum":["positive","risk","neutral"]},"relatedSignals":{"type":"array","items":{"type":"string"}},"confidence":{"type":"number"},"relevanceScore":{"type":"number"},"firstDetectedAt":{"type":"string"},"lastDetectedAt":{"type":"string"},"occurrences":{"type":"number"},"activityIds":{"type":"array","items":{"type":"string"}},"activityNames":{"type":"array","items":{"type":"string"}},"activityTypes":{"type":"array","items":{"type":"string"}}},"required":["id","title","description","priority","category","relatedSignals","confidence","relevanceScore","firstDetectedAt","lastDetectedAt","occurrences","activityIds"]},"PublicApiSignalSummaryItemDto":{"type":"object","properties":{"signalTypeCode":{"type":"string"},"signalTypeTitle":{"type":"string"},"signalTypeDescription":{"type":"string"},"signalTypeCategory":{"type":"string","enum":["positive","risk","neutral"]},"value":{"type":"string"},"changeType":{"type":"string","nullable":true},"detectedAt":{"type":"string"},"activityId":{"type":"string"},"activityName":{"type":"string"},"activityType":{"type":"string"},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiSignalEvidenceDto"}},"relevanceScore":{"type":"number"}},"required":["signalTypeCode","signalTypeTitle","signalTypeDescription","signalTypeCategory","value","detectedAt","activityId","evidence","relevanceScore"]},"PublicApiSignalEvidenceDto":{"type":"object","properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"}},"required":["text","start","end"]},"PublicApiCompanySuggestedActionsMetadataDto":{"type":"object","properties":{"totalSignals":{"type":"number"},"signalsByCategory":{"$ref":"#/components/schemas/PublicApiSignalsByCategoryDto"},"decayHalfLifeDays":{"type":"number"}},"required":["totalSignals","signalsByCategory","decayHalfLifeDays"]},"PublicApiSignalsByCategoryDto":{"type":"object","properties":{"positive":{"type":"number"},"risk":{"type":"number"},"neutral":{"type":"number"}},"required":["positive","risk","neutral"]}}}}
```

## The PublicApiGetCompanyByIdResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCompanyByIdResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCompanyDto"}},"required":["statusCode","count","error","data"]},"PublicApiCompanyDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the company"},"name":{"type":"string","description":"Name of the company"},"domain":{"type":"string","description":"Company domain"},"description":{"type":"string","description":"Company description"},"industry":{"type":"string","description":"Company industry"},"phone":{"type":"string","description":"Company phone number"},"email":{"type":"string","description":"Company email address"},"currency":{"type":"string","description":"Company currency"},"address":{"type":"string","description":"Company address"},"postalCode":{"type":"string","description":"Postal code"},"city":{"type":"string","description":"City"},"nEmployees":{"type":"number","description":"Number of employees"},"source":{"type":"string","description":"Company source"},"annualRevenue":{"type":"number","description":"Annual revenue"},"status":{"type":"string","description":"Company status"},"foundationYear":{"type":"number","description":"Foundation year"},"sellRating":{"type":"number","description":"Sell rating (0-100)"},"linkedinUrl":{"type":"string","description":"LinkedIn URL"},"parentCompanyId":{"type":"string","description":"Parent company ID"},"createdAt":{"format":"date-time","type":"string","description":"Creation date"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date"}},"required":["id","name","createdAt","updatedAt"]}}}}
```

## The PublicApiCreateCompanyDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateCompanyDto":{"type":"object","properties":{"name":{"type":"string","description":"Name of the company"},"domain":{"type":"string","description":"Company domain"},"description":{"type":"string","description":"Company description"},"industry":{"type":"string","description":"Company industry"},"phone":{"type":"string","description":"Company phone number"},"email":{"type":"string","description":"Company email address"},"currency":{"type":"string","description":"Company currency"},"address":{"type":"string","description":"Company address"},"postalCode":{"type":"string","description":"Postal code"},"city":{"type":"string","description":"City"},"nEmployees":{"type":"number","description":"Number of employees"},"source":{"type":"string","description":"Company source"},"annualRevenue":{"type":"number","description":"Annual revenue"},"status":{"type":"string","description":"Company status"},"foundationYear":{"type":"number","description":"Foundation year"},"sellRating":{"type":"number","description":"Sell rating (0-100)"},"linkedinUrl":{"type":"string","description":"LinkedIn URL"},"parentCompanyId":{"type":"string","description":"Parent company ID"}},"required":["name","domain"]}}}}
```

## The PublicApiCreateCompanyResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateCompanyResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCompanyDto"}},"required":["statusCode","count","error","data"]},"PublicApiCompanyDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the company"},"name":{"type":"string","description":"Name of the company"},"domain":{"type":"string","description":"Company domain"},"description":{"type":"string","description":"Company description"},"industry":{"type":"string","description":"Company industry"},"phone":{"type":"string","description":"Company phone number"},"email":{"type":"string","description":"Company email address"},"currency":{"type":"string","description":"Company currency"},"address":{"type":"string","description":"Company address"},"postalCode":{"type":"string","description":"Postal code"},"city":{"type":"string","description":"City"},"nEmployees":{"type":"number","description":"Number of employees"},"source":{"type":"string","description":"Company source"},"annualRevenue":{"type":"number","description":"Annual revenue"},"status":{"type":"string","description":"Company status"},"foundationYear":{"type":"number","description":"Foundation year"},"sellRating":{"type":"number","description":"Sell rating (0-100)"},"linkedinUrl":{"type":"string","description":"LinkedIn URL"},"parentCompanyId":{"type":"string","description":"Parent company ID"},"createdAt":{"format":"date-time","type":"string","description":"Creation date"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date"}},"required":["id","name","createdAt","updatedAt"]}}}}
```

## The PublicApiUpdateCompanyDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiUpdateCompanyDto":{"type":"object","properties":{"name":{"type":"string","description":"Name of the company"},"domain":{"type":"string","description":"Company domain"},"description":{"type":"string","description":"Company description"},"industry":{"type":"string","description":"Company industry"},"phone":{"type":"string","description":"Company phone number"},"email":{"type":"string","description":"Company email address"},"currency":{"type":"string","description":"Company currency"},"address":{"type":"string","description":"Company address"},"postalCode":{"type":"string","description":"Postal code"},"city":{"type":"string","description":"City"},"nEmployees":{"type":"number","description":"Number of employees"},"source":{"type":"string","description":"Company source"},"annualRevenue":{"type":"number","description":"Annual revenue"},"status":{"type":"string","description":"Company status"},"foundationYear":{"type":"number","description":"Foundation year"},"sellRating":{"type":"number","description":"Sell rating (0-100)"},"linkedinUrl":{"type":"string","description":"LinkedIn URL"},"parentCompanyId":{"type":"string","description":"Parent company ID"}}}}}}
```

## The PublicApiUpdateCompanyResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiUpdateCompanyResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCompanyDto"}},"required":["statusCode","count","error","data"]},"PublicApiCompanyDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the company"},"name":{"type":"string","description":"Name of the company"},"domain":{"type":"string","description":"Company domain"},"description":{"type":"string","description":"Company description"},"industry":{"type":"string","description":"Company industry"},"phone":{"type":"string","description":"Company phone number"},"email":{"type":"string","description":"Company email address"},"currency":{"type":"string","description":"Company currency"},"address":{"type":"string","description":"Company address"},"postalCode":{"type":"string","description":"Postal code"},"city":{"type":"string","description":"City"},"nEmployees":{"type":"number","description":"Number of employees"},"source":{"type":"string","description":"Company source"},"annualRevenue":{"type":"number","description":"Annual revenue"},"status":{"type":"string","description":"Company status"},"foundationYear":{"type":"number","description":"Foundation year"},"sellRating":{"type":"number","description":"Sell rating (0-100)"},"linkedinUrl":{"type":"string","description":"LinkedIn URL"},"parentCompanyId":{"type":"string","description":"Parent company ID"},"createdAt":{"format":"date-time","type":"string","description":"Creation date"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date"}},"required":["id","name","createdAt","updatedAt"]}}}}
```

## The PublicApiDeleteCompanyResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiDeleteCompanyResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiCompanyIntegrationDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCompanyIntegrationDto":{"type":"object","properties":{"integrationType":{"type":"string","description":"Integration type"},"integrationName":{"type":"string","description":"Integration name"},"integrationId":{"type":"string","description":"ID of the record in the integration"}},"required":["integrationType","integrationName","integrationId"]}}}}
```

## The PublicApiCompanyIntegrationsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCompanyIntegrationsResponseDto":{"type":"object","properties":{"companyId":{"type":"string","description":"Company ID"},"integrations":{"description":"List of company integrations","type":"array","items":{"$ref":"#/components/schemas/PublicApiCompanyIntegrationDto"}}},"required":["companyId","integrations"]},"PublicApiCompanyIntegrationDto":{"type":"object","properties":{"integrationType":{"type":"string","description":"Integration type"},"integrationName":{"type":"string","description":"Integration name"},"integrationId":{"type":"string","description":"ID of the record in the integration"}},"required":["integrationType","integrationName","integrationId"]}}}}
```

## The PublicApiGetCompanyIntegrationsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCompanyIntegrationsResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiCompanyIntegrationsResponseDto"}},"required":["statusCode","count","error","data"]},"PublicApiCompanyIntegrationsResponseDto":{"type":"object","properties":{"companyId":{"type":"string","description":"Company ID"},"integrations":{"description":"List of company integrations","type":"array","items":{"$ref":"#/components/schemas/PublicApiCompanyIntegrationDto"}}},"required":["companyId","integrations"]},"PublicApiCompanyIntegrationDto":{"type":"object","properties":{"integrationType":{"type":"string","description":"Integration type"},"integrationName":{"type":"string","description":"Integration name"},"integrationId":{"type":"string","description":"ID of the record in the integration"}},"required":["integrationType","integrationName","integrationId"]}}}}
```

## The PublicApiCompanyContactDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCompanyContactDto":{"type":"object","properties":{"contactId":{"type":"string","description":"Contact ID"},"contactFirstName":{"type":"string","description":"Contact first name"},"contactLastName":{"type":"string","description":"Contact last name"},"contactEmail":{"type":"string","description":"Contact email"},"contactTitlePosition":{"type":"string","description":"Contact title/position"}},"required":["contactId","contactEmail"]}}}}
```

## The PublicApiGetCompanyContactsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCompanyContactsResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiCompanyContactDto"}}},"required":["statusCode","count","error","data"]},"PublicApiCompanyContactDto":{"type":"object","properties":{"contactId":{"type":"string","description":"Contact ID"},"contactFirstName":{"type":"string","description":"Contact first name"},"contactLastName":{"type":"string","description":"Contact last name"},"contactEmail":{"type":"string","description":"Contact email"},"contactTitlePosition":{"type":"string","description":"Contact title/position"}},"required":["contactId","contactEmail"]}}}}
```

## The PublicApiCompanyOpportunityDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCompanyOpportunityDto":{"type":"object","properties":{"opportunityId":{"type":"string","description":"Opportunity ID"},"opportunityName":{"type":"string","description":"Opportunity name"},"opportunityAmount":{"type":"number","description":"Opportunity amount"},"opportunityStatus":{"type":"string","description":"Opportunity status"}},"required":["opportunityId","opportunityName"]}}}}
```

## The PublicApiGetCompanyOpportunitiesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetCompanyOpportunitiesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiCompanyOpportunityDto"}}},"required":["statusCode","count","error","data"]},"PublicApiCompanyOpportunityDto":{"type":"object","properties":{"opportunityId":{"type":"string","description":"Opportunity ID"},"opportunityName":{"type":"string","description":"Opportunity name"},"opportunityAmount":{"type":"number","description":"Opportunity amount"},"opportunityStatus":{"type":"string","description":"Opportunity status"}},"required":["opportunityId","opportunityName"]}}}}
```

## The PublicApiCreateCompanyContactDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateCompanyContactDto":{"type":"object","properties":{"contactId":{"type":"string","description":"Contact ID"}},"required":["contactId"]}}}}
```

## The PublicApiCreateCompanyContactResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateCompanyContactResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiDeleteCompanyContactResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiDeleteCompanyContactResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiCreateCompanyOpportunityDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateCompanyOpportunityDto":{"type":"object","properties":{"opportunityId":{"type":"string","description":"Opportunity ID"}},"required":["opportunityId"]}}}}
```

## The PublicApiCreateCompanyOpportunityResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateCompanyOpportunityResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiDeleteCompanyOpportunityResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiDeleteCompanyOpportunityResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiOpportunityDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiOpportunityDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the opportunity"},"name":{"type":"string","description":"Name of the opportunity"},"amount":{"type":"number","description":"Opportunity amount"},"finalAmount":{"type":"number","description":"Final opportunity amount"},"risk":{"type":"string","description":"Opportunity risk level","enum":["Low","Medium","High"]},"priority":{"type":"string","description":"Opportunity priority level","enum":["Low","Medium","High"]},"description":{"type":"string","description":"Opportunity description"},"featuredNotes":{"type":"string","description":"Featured notes for the opportunity"},"nextStep":{"type":"string","description":"Next step for the opportunity"},"closeDate":{"format":"date-time","type":"string","description":"Actual close date"},"closeProbability":{"type":"number","description":"Close probability (0-100)"},"status":{"type":"string","description":"Opportunity status","enum":["won","lost","open","archived","break"]},"createdAt":{"format":"date-time","type":"string","description":"Creation date"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date"}},"required":["id","name","createdAt","updatedAt"]}}}}
```

## The PublicApiGetOpportunitiesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetOpportunitiesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiOpportunityDto"}}},"required":["statusCode","count","error","data"]},"PublicApiOpportunityDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the opportunity"},"name":{"type":"string","description":"Name of the opportunity"},"amount":{"type":"number","description":"Opportunity amount"},"finalAmount":{"type":"number","description":"Final opportunity amount"},"risk":{"type":"string","description":"Opportunity risk level","enum":["Low","Medium","High"]},"priority":{"type":"string","description":"Opportunity priority level","enum":["Low","Medium","High"]},"description":{"type":"string","description":"Opportunity description"},"featuredNotes":{"type":"string","description":"Featured notes for the opportunity"},"nextStep":{"type":"string","description":"Next step for the opportunity"},"closeDate":{"format":"date-time","type":"string","description":"Actual close date"},"closeProbability":{"type":"number","description":"Close probability (0-100)"},"status":{"type":"string","description":"Opportunity status","enum":["won","lost","open","archived","break"]},"createdAt":{"format":"date-time","type":"string","description":"Creation date"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date"}},"required":["id","name","createdAt","updatedAt"]}}}}
```

## The PublicApiGetOpportunityByIdResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetOpportunityByIdResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiOpportunityDto"}},"required":["statusCode","count","error","data"]},"PublicApiOpportunityDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the opportunity"},"name":{"type":"string","description":"Name of the opportunity"},"amount":{"type":"number","description":"Opportunity amount"},"finalAmount":{"type":"number","description":"Final opportunity amount"},"risk":{"type":"string","description":"Opportunity risk level","enum":["Low","Medium","High"]},"priority":{"type":"string","description":"Opportunity priority level","enum":["Low","Medium","High"]},"description":{"type":"string","description":"Opportunity description"},"featuredNotes":{"type":"string","description":"Featured notes for the opportunity"},"nextStep":{"type":"string","description":"Next step for the opportunity"},"closeDate":{"format":"date-time","type":"string","description":"Actual close date"},"closeProbability":{"type":"number","description":"Close probability (0-100)"},"status":{"type":"string","description":"Opportunity status","enum":["won","lost","open","archived","break"]},"createdAt":{"format":"date-time","type":"string","description":"Creation date"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date"}},"required":["id","name","createdAt","updatedAt"]}}}}
```

## The PublicApiCreateOpportunityDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateOpportunityDto":{"type":"object","properties":{"name":{"type":"string","description":"Name of the opportunity"},"amount":{"type":"number","description":"Opportunity amount"},"finalAmount":{"type":"number","description":"Final opportunity amount"},"risk":{"type":"string","description":"Opportunity risk level","enum":["Low","Medium","High"]},"priority":{"type":"string","description":"Opportunity priority level","enum":["Low","Medium","High"]},"description":{"type":"string","description":"Opportunity description"},"featuredNotes":{"type":"string","description":"Featured notes for the opportunity"},"nextStep":{"type":"string","description":"Next step for the opportunity"},"closeDate":{"format":"date-time","type":"string","description":"Actual close date"},"closeProbability":{"type":"number","description":"Close probability (0-100)"},"status":{"type":"string","description":"Opportunity status","enum":["won","lost","open","archived","break"]}},"required":["name"]}}}}
```

## The PublicApiCreateOpportunityResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateOpportunityResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiOpportunityDto"}},"required":["statusCode","count","error","data"]},"PublicApiOpportunityDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the opportunity"},"name":{"type":"string","description":"Name of the opportunity"},"amount":{"type":"number","description":"Opportunity amount"},"finalAmount":{"type":"number","description":"Final opportunity amount"},"risk":{"type":"string","description":"Opportunity risk level","enum":["Low","Medium","High"]},"priority":{"type":"string","description":"Opportunity priority level","enum":["Low","Medium","High"]},"description":{"type":"string","description":"Opportunity description"},"featuredNotes":{"type":"string","description":"Featured notes for the opportunity"},"nextStep":{"type":"string","description":"Next step for the opportunity"},"closeDate":{"format":"date-time","type":"string","description":"Actual close date"},"closeProbability":{"type":"number","description":"Close probability (0-100)"},"status":{"type":"string","description":"Opportunity status","enum":["won","lost","open","archived","break"]},"createdAt":{"format":"date-time","type":"string","description":"Creation date"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date"}},"required":["id","name","createdAt","updatedAt"]}}}}
```

## The PublicApiUpdateOpportunityDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiUpdateOpportunityDto":{"type":"object","properties":{"name":{"type":"string","description":"Name of the opportunity"},"amount":{"type":"number","description":"Opportunity amount"},"finalAmount":{"type":"number","description":"Final opportunity amount"},"risk":{"type":"string","description":"Opportunity risk level","enum":["Low","Medium","High"]},"priority":{"type":"string","description":"Opportunity priority level","enum":["Low","Medium","High"]},"description":{"type":"string","description":"Opportunity description"},"featuredNotes":{"type":"string","description":"Featured notes for the opportunity"},"nextStep":{"type":"string","description":"Next step for the opportunity"},"closeDate":{"format":"date-time","type":"string","description":"Actual close date"},"closeProbability":{"type":"number","description":"Close probability (0-100)"},"status":{"type":"string","description":"Opportunity status","enum":["won","lost","open","archived","break"]}}}}}}
```

## The PublicApiUpdateOpportunityResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiUpdateOpportunityResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiOpportunityDto"}},"required":["statusCode","count","error","data"]},"PublicApiOpportunityDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the opportunity"},"name":{"type":"string","description":"Name of the opportunity"},"amount":{"type":"number","description":"Opportunity amount"},"finalAmount":{"type":"number","description":"Final opportunity amount"},"risk":{"type":"string","description":"Opportunity risk level","enum":["Low","Medium","High"]},"priority":{"type":"string","description":"Opportunity priority level","enum":["Low","Medium","High"]},"description":{"type":"string","description":"Opportunity description"},"featuredNotes":{"type":"string","description":"Featured notes for the opportunity"},"nextStep":{"type":"string","description":"Next step for the opportunity"},"closeDate":{"format":"date-time","type":"string","description":"Actual close date"},"closeProbability":{"type":"number","description":"Close probability (0-100)"},"status":{"type":"string","description":"Opportunity status","enum":["won","lost","open","archived","break"]},"createdAt":{"format":"date-time","type":"string","description":"Creation date"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date"}},"required":["id","name","createdAt","updatedAt"]}}}}
```

## The PublicApiDeleteOpportunityResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiDeleteOpportunityResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiOpportunityIntegrationDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiOpportunityIntegrationDto":{"type":"object","properties":{"integrationType":{"type":"string","description":"Integration type"},"integrationName":{"type":"string","description":"Integration name"},"integrationId":{"type":"string","description":"ID of the record in the integration"}},"required":["integrationType","integrationName","integrationId"]}}}}
```

## The PublicApiOpportunityIntegrationsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiOpportunityIntegrationsResponseDto":{"type":"object","properties":{"opportunityId":{"type":"string","description":"Opportunity ID"},"integrations":{"description":"List of opportunity integrations","type":"array","items":{"$ref":"#/components/schemas/PublicApiOpportunityIntegrationDto"}}},"required":["opportunityId","integrations"]},"PublicApiOpportunityIntegrationDto":{"type":"object","properties":{"integrationType":{"type":"string","description":"Integration type"},"integrationName":{"type":"string","description":"Integration name"},"integrationId":{"type":"string","description":"ID of the record in the integration"}},"required":["integrationType","integrationName","integrationId"]}}}}
```

## The PublicApiGetOpportunityIntegrationsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetOpportunityIntegrationsResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiOpportunityIntegrationsResponseDto"}},"required":["statusCode","count","error","data"]},"PublicApiOpportunityIntegrationsResponseDto":{"type":"object","properties":{"opportunityId":{"type":"string","description":"Opportunity ID"},"integrations":{"description":"List of opportunity integrations","type":"array","items":{"$ref":"#/components/schemas/PublicApiOpportunityIntegrationDto"}}},"required":["opportunityId","integrations"]},"PublicApiOpportunityIntegrationDto":{"type":"object","properties":{"integrationType":{"type":"string","description":"Integration type"},"integrationName":{"type":"string","description":"Integration name"},"integrationId":{"type":"string","description":"ID of the record in the integration"}},"required":["integrationType","integrationName","integrationId"]}}}}
```

## The PublicApiOpportunityContactDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiOpportunityContactDto":{"type":"object","properties":{"contactId":{"type":"string","description":"Contact ID"},"contactFirstName":{"type":"string","description":"Contact first name"},"contactLastName":{"type":"string","description":"Contact last name"},"contactEmail":{"type":"string","description":"Contact email"},"contactTitlePosition":{"type":"string","description":"Contact title/position"}},"required":["contactId","contactEmail"]}}}}
```

## The PublicApiGetOpportunityContactsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetOpportunityContactsResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiOpportunityContactDto"}}},"required":["statusCode","count","error","data"]},"PublicApiOpportunityContactDto":{"type":"object","properties":{"contactId":{"type":"string","description":"Contact ID"},"contactFirstName":{"type":"string","description":"Contact first name"},"contactLastName":{"type":"string","description":"Contact last name"},"contactEmail":{"type":"string","description":"Contact email"},"contactTitlePosition":{"type":"string","description":"Contact title/position"}},"required":["contactId","contactEmail"]}}}}
```

## The PublicApiOpportunityCompanyDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiOpportunityCompanyDto":{"type":"object","properties":{"companyId":{"type":"string","description":"Company ID"},"companyName":{"type":"string","description":"Company name"},"companyDomain":{"type":"string","description":"Company domain"},"isPrimary":{"type":"boolean","description":"Is primary company for this opportunity"}},"required":["companyId","companyName"]}}}}
```

## The PublicApiGetOpportunityCompaniesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetOpportunityCompaniesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiOpportunityCompanyDto"}}},"required":["statusCode","count","error","data"]},"PublicApiOpportunityCompanyDto":{"type":"object","properties":{"companyId":{"type":"string","description":"Company ID"},"companyName":{"type":"string","description":"Company name"},"companyDomain":{"type":"string","description":"Company domain"},"isPrimary":{"type":"boolean","description":"Is primary company for this opportunity"}},"required":["companyId","companyName"]}}}}
```

## The PublicApiCreateOpportunityContactDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateOpportunityContactDto":{"type":"object","properties":{"contactId":{"type":"string","description":"Contact ID"}},"required":["contactId"]}}}}
```

## The PublicApiCreateOpportunityContactResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateOpportunityContactResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiDeleteOpportunityContactResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiDeleteOpportunityContactResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiDeleteOpportunityCompanyResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiDeleteOpportunityCompanyResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiCreateOpportunityCompanyDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateOpportunityCompanyDto":{"type":"object","properties":{"companyId":{"type":"string","description":"Company ID"}},"required":["companyId"]}}}}
```

## The PublicApiCreateOpportunityCompanyResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateOpportunityCompanyResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiContactDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiContactDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the contact"},"firstName":{"type":"string","description":"First name of the contact"},"lastName":{"type":"string","description":"Last name of the contact"},"salutation":{"type":"string","description":"Salutation of the contact"},"birthday":{"format":"date-time","type":"string","description":"Birthday of the contact"},"email":{"type":"string","description":"Email address of the contact"},"phone":{"type":"string","description":"Phone number of the contact"},"genderIdentity":{"type":"string","description":"Gender identity of the contact"},"pronouns":{"type":"string","description":"Pronouns of the contact"},"fax":{"type":"string","description":"Fax number of the contact"},"linkedinUrl":{"type":"string","description":"LinkedIn URL of the contact"},"address":{"type":"string","description":"Address of the contact"},"postalCode":{"type":"string","description":"Postal code of the contact"},"city":{"type":"string","description":"City of the contact"},"state":{"type":"string","description":"State of the contact"},"country":{"type":"string","description":"Country of the contact"},"currency":{"type":"string","description":"Currency preference of the contact"},"titlePosition":{"type":"string","description":"Title/Position of the contact"},"language":{"type":"string","description":"Language preference of the contact"},"assistant":{"type":"string","description":"Assistant name of the contact"},"assistantPhone":{"type":"string","description":"Assistant phone number"},"division":{"type":"string","description":"Division of the contact"},"department":{"type":"string","description":"Department of the contact"},"description":{"type":"string","description":"Description of the contact"},"leadSource":{"type":"string","description":"Lead source of the contact"},"leadRecordType":{"type":"string","description":"Lead record type"},"reportsTo":{"type":"string","description":"Reports to contact ID"},"createdAt":{"format":"date-time","type":"string","description":"Creation date"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date"},"personId":{"type":"string","description":"ID of the person associated with this contact"}},"required":["id","email","createdAt","updatedAt","personId"]}}}}
```

## The PublicApiGetContactsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetContactsResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiContactDto"}}},"required":["statusCode","count","error","data"]},"PublicApiContactDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the contact"},"firstName":{"type":"string","description":"First name of the contact"},"lastName":{"type":"string","description":"Last name of the contact"},"salutation":{"type":"string","description":"Salutation of the contact"},"birthday":{"format":"date-time","type":"string","description":"Birthday of the contact"},"email":{"type":"string","description":"Email address of the contact"},"phone":{"type":"string","description":"Phone number of the contact"},"genderIdentity":{"type":"string","description":"Gender identity of the contact"},"pronouns":{"type":"string","description":"Pronouns of the contact"},"fax":{"type":"string","description":"Fax number of the contact"},"linkedinUrl":{"type":"string","description":"LinkedIn URL of the contact"},"address":{"type":"string","description":"Address of the contact"},"postalCode":{"type":"string","description":"Postal code of the contact"},"city":{"type":"string","description":"City of the contact"},"state":{"type":"string","description":"State of the contact"},"country":{"type":"string","description":"Country of the contact"},"currency":{"type":"string","description":"Currency preference of the contact"},"titlePosition":{"type":"string","description":"Title/Position of the contact"},"language":{"type":"string","description":"Language preference of the contact"},"assistant":{"type":"string","description":"Assistant name of the contact"},"assistantPhone":{"type":"string","description":"Assistant phone number"},"division":{"type":"string","description":"Division of the contact"},"department":{"type":"string","description":"Department of the contact"},"description":{"type":"string","description":"Description of the contact"},"leadSource":{"type":"string","description":"Lead source of the contact"},"leadRecordType":{"type":"string","description":"Lead record type"},"reportsTo":{"type":"string","description":"Reports to contact ID"},"createdAt":{"format":"date-time","type":"string","description":"Creation date"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date"},"personId":{"type":"string","description":"ID of the person associated with this contact"}},"required":["id","email","createdAt","updatedAt","personId"]}}}}
```

## The PublicApiGetContactByIdResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetContactByIdResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiContactDto"}},"required":["statusCode","count","error","data"]},"PublicApiContactDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the contact"},"firstName":{"type":"string","description":"First name of the contact"},"lastName":{"type":"string","description":"Last name of the contact"},"salutation":{"type":"string","description":"Salutation of the contact"},"birthday":{"format":"date-time","type":"string","description":"Birthday of the contact"},"email":{"type":"string","description":"Email address of the contact"},"phone":{"type":"string","description":"Phone number of the contact"},"genderIdentity":{"type":"string","description":"Gender identity of the contact"},"pronouns":{"type":"string","description":"Pronouns of the contact"},"fax":{"type":"string","description":"Fax number of the contact"},"linkedinUrl":{"type":"string","description":"LinkedIn URL of the contact"},"address":{"type":"string","description":"Address of the contact"},"postalCode":{"type":"string","description":"Postal code of the contact"},"city":{"type":"string","description":"City of the contact"},"state":{"type":"string","description":"State of the contact"},"country":{"type":"string","description":"Country of the contact"},"currency":{"type":"string","description":"Currency preference of the contact"},"titlePosition":{"type":"string","description":"Title/Position of the contact"},"language":{"type":"string","description":"Language preference of the contact"},"assistant":{"type":"string","description":"Assistant name of the contact"},"assistantPhone":{"type":"string","description":"Assistant phone number"},"division":{"type":"string","description":"Division of the contact"},"department":{"type":"string","description":"Department of the contact"},"description":{"type":"string","description":"Description of the contact"},"leadSource":{"type":"string","description":"Lead source of the contact"},"leadRecordType":{"type":"string","description":"Lead record type"},"reportsTo":{"type":"string","description":"Reports to contact ID"},"createdAt":{"format":"date-time","type":"string","description":"Creation date"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date"},"personId":{"type":"string","description":"ID of the person associated with this contact"}},"required":["id","email","createdAt","updatedAt","personId"]}}}}
```

## The PublicApiCreateContactDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateContactDto":{"type":"object","properties":{"firstName":{"type":"string","description":"First name of the contact"},"lastName":{"type":"string","description":"Last name of the contact"},"salutation":{"type":"string","description":"Salutation of the contact"},"birthday":{"format":"date-time","type":"string","description":"Birthday of the contact"},"email":{"type":"string","description":"Email address of the contact"},"phone":{"type":"string","description":"Phone number of the contact"},"genderIdentity":{"type":"string","description":"Gender identity of the contact"},"pronouns":{"type":"string","description":"Pronouns of the contact"},"fax":{"type":"string","description":"Fax number of the contact"},"linkedinUrl":{"type":"string","description":"LinkedIn URL of the contact"},"address":{"type":"string","description":"Address of the contact"},"postalCode":{"type":"string","description":"Postal code of the contact"},"city":{"type":"string","description":"City of the contact"},"state":{"type":"string","description":"State of the contact"},"country":{"type":"string","description":"Country of the contact"},"currency":{"type":"string","description":"Currency preference of the contact"},"titlePosition":{"type":"string","description":"Title/Position of the contact"},"language":{"type":"string","description":"Language preference of the contact"},"assistant":{"type":"string","description":"Assistant name of the contact"},"assistantPhone":{"type":"string","description":"Assistant phone number"},"division":{"type":"string","description":"Division of the contact"},"department":{"type":"string","description":"Department of the contact"},"description":{"type":"string","description":"Description of the contact"},"leadSource":{"type":"string","description":"Lead source of the contact"},"leadRecordType":{"type":"string","description":"Lead record type"},"reportsTo":{"type":"string","description":"Reports to contact ID"}},"required":["email"]}}}}
```

## The PublicApiCreateContactResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateContactResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiContactDto"}},"required":["statusCode","count","error","data"]},"PublicApiContactDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the contact"},"firstName":{"type":"string","description":"First name of the contact"},"lastName":{"type":"string","description":"Last name of the contact"},"salutation":{"type":"string","description":"Salutation of the contact"},"birthday":{"format":"date-time","type":"string","description":"Birthday of the contact"},"email":{"type":"string","description":"Email address of the contact"},"phone":{"type":"string","description":"Phone number of the contact"},"genderIdentity":{"type":"string","description":"Gender identity of the contact"},"pronouns":{"type":"string","description":"Pronouns of the contact"},"fax":{"type":"string","description":"Fax number of the contact"},"linkedinUrl":{"type":"string","description":"LinkedIn URL of the contact"},"address":{"type":"string","description":"Address of the contact"},"postalCode":{"type":"string","description":"Postal code of the contact"},"city":{"type":"string","description":"City of the contact"},"state":{"type":"string","description":"State of the contact"},"country":{"type":"string","description":"Country of the contact"},"currency":{"type":"string","description":"Currency preference of the contact"},"titlePosition":{"type":"string","description":"Title/Position of the contact"},"language":{"type":"string","description":"Language preference of the contact"},"assistant":{"type":"string","description":"Assistant name of the contact"},"assistantPhone":{"type":"string","description":"Assistant phone number"},"division":{"type":"string","description":"Division of the contact"},"department":{"type":"string","description":"Department of the contact"},"description":{"type":"string","description":"Description of the contact"},"leadSource":{"type":"string","description":"Lead source of the contact"},"leadRecordType":{"type":"string","description":"Lead record type"},"reportsTo":{"type":"string","description":"Reports to contact ID"},"createdAt":{"format":"date-time","type":"string","description":"Creation date"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date"},"personId":{"type":"string","description":"ID of the person associated with this contact"}},"required":["id","email","createdAt","updatedAt","personId"]}}}}
```

## The PublicApiUpdateContactDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiUpdateContactDto":{"type":"object","properties":{"firstName":{"type":"string","description":"First name of the contact"},"lastName":{"type":"string","description":"Last name of the contact"},"salutation":{"type":"string","description":"Salutation of the contact"},"birthday":{"format":"date-time","type":"string","description":"Birthday of the contact"},"email":{"type":"string","description":"Email address of the contact"},"phone":{"type":"string","description":"Phone number of the contact"},"genderIdentity":{"type":"string","description":"Gender identity of the contact"},"pronouns":{"type":"string","description":"Pronouns of the contact"},"fax":{"type":"string","description":"Fax number of the contact"},"linkedinUrl":{"type":"string","description":"LinkedIn URL of the contact"},"address":{"type":"string","description":"Address of the contact"},"postalCode":{"type":"string","description":"Postal code of the contact"},"city":{"type":"string","description":"City of the contact"},"state":{"type":"string","description":"State of the contact"},"country":{"type":"string","description":"Country of the contact"},"currency":{"type":"string","description":"Currency preference of the contact"},"titlePosition":{"type":"string","description":"Title/Position of the contact"},"language":{"type":"string","description":"Language preference of the contact"},"assistant":{"type":"string","description":"Assistant name of the contact"},"assistantPhone":{"type":"string","description":"Assistant phone number"},"division":{"type":"string","description":"Division of the contact"},"department":{"type":"string","description":"Department of the contact"},"description":{"type":"string","description":"Description of the contact"},"leadSource":{"type":"string","description":"Lead source of the contact"},"leadRecordType":{"type":"string","description":"Lead record type"},"reportsTo":{"type":"string","description":"Reports to contact ID"}}}}}}
```

## The PublicApiUpdateContactResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiUpdateContactResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiContactDto"}},"required":["statusCode","count","error","data"]},"PublicApiContactDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the contact"},"firstName":{"type":"string","description":"First name of the contact"},"lastName":{"type":"string","description":"Last name of the contact"},"salutation":{"type":"string","description":"Salutation of the contact"},"birthday":{"format":"date-time","type":"string","description":"Birthday of the contact"},"email":{"type":"string","description":"Email address of the contact"},"phone":{"type":"string","description":"Phone number of the contact"},"genderIdentity":{"type":"string","description":"Gender identity of the contact"},"pronouns":{"type":"string","description":"Pronouns of the contact"},"fax":{"type":"string","description":"Fax number of the contact"},"linkedinUrl":{"type":"string","description":"LinkedIn URL of the contact"},"address":{"type":"string","description":"Address of the contact"},"postalCode":{"type":"string","description":"Postal code of the contact"},"city":{"type":"string","description":"City of the contact"},"state":{"type":"string","description":"State of the contact"},"country":{"type":"string","description":"Country of the contact"},"currency":{"type":"string","description":"Currency preference of the contact"},"titlePosition":{"type":"string","description":"Title/Position of the contact"},"language":{"type":"string","description":"Language preference of the contact"},"assistant":{"type":"string","description":"Assistant name of the contact"},"assistantPhone":{"type":"string","description":"Assistant phone number"},"division":{"type":"string","description":"Division of the contact"},"department":{"type":"string","description":"Department of the contact"},"description":{"type":"string","description":"Description of the contact"},"leadSource":{"type":"string","description":"Lead source of the contact"},"leadRecordType":{"type":"string","description":"Lead record type"},"reportsTo":{"type":"string","description":"Reports to contact ID"},"createdAt":{"format":"date-time","type":"string","description":"Creation date"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date"},"personId":{"type":"string","description":"ID of the person associated with this contact"}},"required":["id","email","createdAt","updatedAt","personId"]}}}}
```

## The PublicApiDeleteContactResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiDeleteContactResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiContactIntegrationDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiContactIntegrationDto":{"type":"object","properties":{"integrationType":{"type":"string","description":"Integration type"},"integrationName":{"type":"string","description":"Integration name"},"integrationId":{"type":"string","description":"ID of the record in the integration"}},"required":["integrationType","integrationName","integrationId"]}}}}
```

## The PublicApiContactIntegrationsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiContactIntegrationsResponseDto":{"type":"object","properties":{"contactId":{"type":"string","description":"Contact ID"},"integrations":{"description":"List of contact integrations","type":"array","items":{"$ref":"#/components/schemas/PublicApiContactIntegrationDto"}}},"required":["contactId","integrations"]},"PublicApiContactIntegrationDto":{"type":"object","properties":{"integrationType":{"type":"string","description":"Integration type"},"integrationName":{"type":"string","description":"Integration name"},"integrationId":{"type":"string","description":"ID of the record in the integration"}},"required":["integrationType","integrationName","integrationId"]}}}}
```

## The PublicApiGetContactIntegrationsResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetContactIntegrationsResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiContactIntegrationsResponseDto"}},"required":["statusCode","count","error","data"]},"PublicApiContactIntegrationsResponseDto":{"type":"object","properties":{"contactId":{"type":"string","description":"Contact ID"},"integrations":{"description":"List of contact integrations","type":"array","items":{"$ref":"#/components/schemas/PublicApiContactIntegrationDto"}}},"required":["contactId","integrations"]},"PublicApiContactIntegrationDto":{"type":"object","properties":{"integrationType":{"type":"string","description":"Integration type"},"integrationName":{"type":"string","description":"Integration name"},"integrationId":{"type":"string","description":"ID of the record in the integration"}},"required":["integrationType","integrationName","integrationId"]}}}}
```

## The PublicApiContactCompanyDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiContactCompanyDto":{"type":"object","properties":{"companyId":{"type":"string","description":"Company ID"},"companyName":{"type":"string","description":"Company name"},"companyDomain":{"type":"string","description":"Company domain"}},"required":["companyId","companyName"]}}}}
```

## The PublicApiGetContactCompaniesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetContactCompaniesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiContactCompanyDto"}}},"required":["statusCode","count","error","data"]},"PublicApiContactCompanyDto":{"type":"object","properties":{"companyId":{"type":"string","description":"Company ID"},"companyName":{"type":"string","description":"Company name"},"companyDomain":{"type":"string","description":"Company domain"}},"required":["companyId","companyName"]}}}}
```

## The PublicApiContactOpportunityDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiContactOpportunityDto":{"type":"object","properties":{"opportunityId":{"type":"string","description":"Opportunity ID"},"opportunityName":{"type":"string","description":"Opportunity name"},"opportunityAmount":{"type":"number","description":"Opportunity amount"},"opportunityStatus":{"type":"string","description":"Opportunity status"}},"required":["opportunityId","opportunityName"]}}}}
```

## The PublicApiGetContactOpportunitiesResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetContactOpportunitiesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiContactOpportunityDto"}}},"required":["statusCode","count","error","data"]},"PublicApiContactOpportunityDto":{"type":"object","properties":{"opportunityId":{"type":"string","description":"Opportunity ID"},"opportunityName":{"type":"string","description":"Opportunity name"},"opportunityAmount":{"type":"number","description":"Opportunity amount"},"opportunityStatus":{"type":"string","description":"Opportunity status"}},"required":["opportunityId","opportunityName"]}}}}
```

## The PublicApiCreateContactCompanyDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateContactCompanyDto":{"type":"object","properties":{"companyId":{"type":"string","description":"Company ID"}},"required":["companyId"]}}}}
```

## The PublicApiCreateContactCompanyResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateContactCompanyResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiDeleteContactCompanyResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiDeleteContactCompanyResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiCreateContactOpportunityDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateContactOpportunityDto":{"type":"object","properties":{"opportunityId":{"type":"string","description":"Opportunity ID"}},"required":["opportunityId"]}}}}
```

## The PublicApiCreateContactOpportunityResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiCreateContactOpportunityResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiDeleteContactOpportunityResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiDeleteContactOpportunityResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"boolean"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiUserDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiUserDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the user"},"email":{"type":"string","description":"Email address of the user"},"firstName":{"type":"string","description":"First name of the user"},"lastName":{"type":"string","description":"Last name of the user"},"phone":{"type":"string","description":"Phone number of the user"},"position":{"type":"string","description":"Job position of the user","enum":["founder","c_level","engineering_product","sales_manager","account_executive","closer","sales_development_representative","marketing","customer_support_success","finance","business_analyst","operations","other"]},"metadata":{"type":"object","description":"Additional metadata for the user"},"personId":{"type":"string","description":"ID of the person associated with this user"}},"required":["id","email","firstName","lastName","personId"]}}}}
```

## The PublicApiGetUsersResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiGetUsersResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"description":"Array of users","type":"array","items":{"$ref":"#/components/schemas/PublicApiUserDto"}}},"required":["statusCode","count","error","data"]},"PublicApiUserDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the user"},"email":{"type":"string","description":"Email address of the user"},"firstName":{"type":"string","description":"First name of the user"},"lastName":{"type":"string","description":"Last name of the user"},"phone":{"type":"string","description":"Phone number of the user"},"position":{"type":"string","description":"Job position of the user","enum":["founder","c_level","engineering_product","sales_manager","account_executive","closer","sales_development_representative","marketing","customer_support_success","finance","business_analyst","operations","other"]},"metadata":{"type":"object","description":"Additional metadata for the user"},"personId":{"type":"string","description":"ID of the person associated with this user"}},"required":["id","email","firstName","lastName","personId"]}}}}
```

## The PublicApiUserMetadataUpdateDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiUserMetadataUpdateDto":{"type":"object","properties":{"metadata":{"type":"object","description":"Metadata fields to update for the user"}},"required":["metadata"]}}}}
```

## The PublicApiUserMetadataResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiUserMetadataResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"object","description":"Updated user metadata"}},"required":["statusCode","count","error","data"]}}}}
```

## The PublicApiStartCallWebhookDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiStartCallWebhookDto":{"type":"object","properties":{"name":{"type":"string","description":"Full name of the contact"},"email":{"type":"string","description":"Email address of the contact (optional if phone is provided)"},"phone":{"type":"string","description":"Phone in E.164 format (e.g., +1234567890)"},"dynamicVariables":{"type":"object","description":"Dynamic variables to be used in the voice agent prompt. Must match the variables configured in the agent."}},"required":["name","phone"]}}}}
```

## The PublicApiStartCallWebhookResponseDto object

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"components":{"schemas":{"PublicApiStartCallWebhookResponseDto":{"type":"object","properties":{"callId":{"type":"string","description":"ID of the created voice agent call"},"status":{"type":"string","description":"Status of the call","enum":["queued","ringing","in_progress","completed","failed","cancelled"]},"contactId":{"type":"string","description":"ID of the contact associated with the call"},"phoneNumber":{"type":"string","description":"Phone number being called"},"createdAt":{"format":"date-time","type":"string","description":"Timestamp when the call was created"}},"required":["callId","status","contactId","phoneNumber","createdAt"]}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.salescaling.com/api/models.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
