diff --git a/openapi/2024-08-28.json b/openapi/2024-09-05.json similarity index 98% rename from openapi/2024-08-28.json rename to openapi/2024-09-05.json index 7ea7749..70b2c29 100644 --- a/openapi/2024-08-28.json +++ b/openapi/2024-09-05.json @@ -2216,6 +2216,13 @@ "nullable": true } }, + "required": [ + "city", + "continent", + "country", + "state", + "streetAddress" + ], "type": "object" }, "OpportunityPaged": { @@ -2479,10 +2486,6 @@ } }, "required": [ - "createdAt", - "creatorId", - "entity", - "id", "type" ], "type": "object", @@ -2932,15 +2935,13 @@ "description": "The phon_call's unique identifier", "example": 1, "format": "int64", - "type": "integer", - "nullable": true + "type": "integer" }, "startTime": { "description": "The call start time", "example": "2023-02-03 04:00:00.000000000 Z", "format": "date-time", - "type": "string", - "nullable": true + "type": "string" }, "attendees": { "description": "People attending the call", @@ -2950,11 +2951,13 @@ "items": { "$ref": "#/components/schemas/Attendee" }, - "type": "array", - "nullable": true + "type": "array" } }, "required": [ + "attendees", + "id", + "startTime", "type" ], "type": "object" @@ -2979,6 +2982,10 @@ ] } }, + "required": [ + "emailAddress", + "person" + ], "type": "object" }, "PersonData": { @@ -2987,8 +2994,7 @@ "description": "The persons's unique identifier", "example": 1, "format": "int64", - "type": "integer", - "nullable": true + "type": "integer" }, "firstName": { "description": "The person's first name", @@ -3020,6 +3026,13 @@ "type": "string" } }, + "required": [ + "firstName", + "id", + "lastName", + "primaryEmailAddress", + "type" + ], "type": "object" }, "Meeting": { @@ -3036,8 +3049,7 @@ "description": "The meeting's unique identifier", "example": 1, "format": "int64", - "type": "integer", - "nullable": true + "type": "integer" }, "title": { "description": "The meeting's title", @@ -3048,15 +3060,13 @@ "allDay": { "description": "Whether the meeting is an all-day event", "example": false, - "type": "boolean", - "nullable": true + "type": "boolean" }, "startTime": { "description": "The meeting start time", "example": "2023-02-03 04:00:00.000000000 Z", "format": "date-time", - "type": "string", - "nullable": true + "type": "string" }, "endTime": { "description": "The meeting end time", @@ -3073,11 +3083,16 @@ "items": { "$ref": "#/components/schemas/Attendee" }, - "type": "array", - "nullable": true + "type": "array" } }, "required": [ + "allDay", + "attendees", + "endTime", + "id", + "startTime", + "title", "type" ], "type": "object" @@ -3096,8 +3111,7 @@ "description": "The email's unique identifier", "example": 1, "format": "int64", - "type": "integer", - "nullable": true + "type": "integer" }, "subject": { "description": "The subject of the email", @@ -3109,18 +3123,10 @@ "description": "The time the email was sent", "example": "2023-01-01 00:00:00.000000000 Z", "format": "date-time", - "type": "string", - "nullable": true + "type": "string" }, "from": { - "oneOf": [ - { - "$ref": "#/components/schemas/Attendee" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Attendee" }, "to": { "description": "The recipients of the email", @@ -3130,8 +3136,7 @@ "items": { "$ref": "#/components/schemas/Attendee" }, - "type": "array", - "nullable": true + "type": "array" }, "cc": { "description": "The cc recipients of the email", @@ -3141,11 +3146,16 @@ "items": { "$ref": "#/components/schemas/Attendee" }, - "type": "array", - "nullable": true + "type": "array" } }, "required": [ + "cc", + "from", + "id", + "sentAt", + "subject", + "to", "type" ], "type": "object" @@ -3164,8 +3174,7 @@ "description": "The chat message's unique identifier", "example": 1, "format": "int64", - "type": "integer", - "nullable": true + "type": "integer" }, "direction": { "description": "The direction of the chat message", @@ -3180,8 +3189,7 @@ "description": "The time the chat message was sent", "example": "2023-01-01 00:00:00.000000000 Z", "format": "date-time", - "type": "string", - "nullable": true + "type": "string" }, "manualCreator": { "$ref": "#/components/schemas/PersonData" @@ -3194,11 +3202,15 @@ "items": { "$ref": "#/components/schemas/PersonData" }, - "type": "array", - "nullable": true + "type": "array" } }, "required": [ + "direction", + "id", + "manualCreator", + "participants", + "sentAt", "type" ], "type": "object" @@ -3337,16 +3349,18 @@ "description": "Dropdown item's unique identifier", "example": 1, "format": "int64", - "type": "integer", - "nullable": true + "type": "integer" }, "text": { "description": "Dropdown item text", "example": "first", - "type": "string", - "nullable": true + "type": "string" } }, + "required": [ + "dropdownOptionId", + "text" + ], "type": "object" }, "DropdownValue": { @@ -3381,21 +3395,18 @@ "description": "Dropdown item's unique identifier", "example": 1, "format": "int64", - "type": "integer", - "nullable": true + "type": "integer" }, "text": { "description": "Dropdown item text", "example": "first", - "type": "string", - "nullable": true + "type": "string" }, "rank": { "description": "Dropdown item rank", "example": 0, "format": "int64", - "type": "integer", - "nullable": true + "type": "integer" }, "color": { "description": "Dropdown item color", @@ -3404,6 +3415,12 @@ "nullable": true } }, + "required": [ + "color", + "dropdownOptionId", + "rank", + "text" + ], "type": "object" }, "RankedDropdownValue": { @@ -3626,23 +3643,25 @@ "description": "The company's unique identifier", "example": 1, "format": "int64", - "type": "integer", - "nullable": true + "type": "integer" }, "name": { "description": "The company's name", "example": "Acme", - "type": "string", - "nullable": true + "type": "string" }, "domain": { "description": "The company's primary domain", "example": "acme.co", "format": "hostname", - "type": "string", - "nullable": true + "type": "string" } }, + "required": [ + "domain", + "id", + "name" + ], "type": "object" }, "CompanyValue": { diff --git a/src/v2/generated/models/Attendee.ts b/src/v2/generated/models/Attendee.ts index dd04a91..9aaa3ad 100644 --- a/src/v2/generated/models/Attendee.ts +++ b/src/v2/generated/models/Attendee.ts @@ -17,8 +17,8 @@ export class Attendee { /** * The email addresses of the attendee */ - 'emailAddress'?: string | null; - 'person'?: PersonData | null; + 'emailAddress': string | null; + 'person': PersonData | null; static readonly discriminator: string | undefined = undefined; diff --git a/src/v2/generated/models/ChatMessage.ts b/src/v2/generated/models/ChatMessage.ts index 411ba3c..57a9e9e 100644 --- a/src/v2/generated/models/ChatMessage.ts +++ b/src/v2/generated/models/ChatMessage.ts @@ -21,20 +21,20 @@ export class ChatMessage { /** * The chat message\'s unique identifier */ - 'id'?: number | null; + 'id': number; /** * The direction of the chat message */ - 'direction'?: ChatMessageDirectionEnum; + 'direction': ChatMessageDirectionEnum; /** * The time the chat message was sent */ - 'sentAt'?: Date | null; - 'manualCreator'?: PersonData; + 'sentAt': Date; + 'manualCreator': PersonData; /** * The participants of the chat */ - 'participants'?: Array | null; + 'participants': Array; static readonly discriminator: string | undefined = undefined; diff --git a/src/v2/generated/models/CompanyData.ts b/src/v2/generated/models/CompanyData.ts index 1b1913b..9963028 100644 --- a/src/v2/generated/models/CompanyData.ts +++ b/src/v2/generated/models/CompanyData.ts @@ -16,15 +16,15 @@ export class CompanyData { /** * The company\'s unique identifier */ - 'id'?: number | null; + 'id': number; /** * The company\'s name */ - 'name'?: string | null; + 'name': string; /** * The company\'s primary domain */ - 'domain'?: string | null; + 'domain': string; static readonly discriminator: string | undefined = undefined; diff --git a/src/v2/generated/models/Dropdown.ts b/src/v2/generated/models/Dropdown.ts index 24d6b25..447983b 100644 --- a/src/v2/generated/models/Dropdown.ts +++ b/src/v2/generated/models/Dropdown.ts @@ -16,11 +16,11 @@ export class Dropdown { /** * Dropdown item\'s unique identifier */ - 'dropdownOptionId'?: number | null; + 'dropdownOptionId': number; /** * Dropdown item text */ - 'text'?: string | null; + 'text': string; static readonly discriminator: string | undefined = undefined; diff --git a/src/v2/generated/models/Email.ts b/src/v2/generated/models/Email.ts index 31bfd2a..bacc6ac 100644 --- a/src/v2/generated/models/Email.ts +++ b/src/v2/generated/models/Email.ts @@ -21,24 +21,24 @@ export class Email { /** * The email\'s unique identifier */ - 'id'?: number | null; + 'id': number; /** * The subject of the email */ - 'subject'?: string | null; + 'subject': string | null; /** * The time the email was sent */ - 'sentAt'?: Date | null; - '_from'?: Attendee | null; + 'sentAt': Date; + '_from': Attendee; /** * The recipients of the email */ - 'to'?: Array | null; + 'to': Array; /** * The cc recipients of the email */ - 'cc'?: Array | null; + 'cc': Array; static readonly discriminator: string | undefined = undefined; diff --git a/src/v2/generated/models/Location.ts b/src/v2/generated/models/Location.ts index e27551a..8a33a3d 100644 --- a/src/v2/generated/models/Location.ts +++ b/src/v2/generated/models/Location.ts @@ -16,23 +16,23 @@ export class Location { /** * Street address */ - 'streetAddress'?: string | null; + 'streetAddress': string | null; /** * City */ - 'city'?: string | null; + 'city': string | null; /** * State */ - 'state'?: string | null; + 'state': string | null; /** * Country */ - 'country'?: string | null; + 'country': string | null; /** * Continent */ - 'continent'?: string | null; + 'continent': string | null; static readonly discriminator: string | undefined = undefined; diff --git a/src/v2/generated/models/Meeting.ts b/src/v2/generated/models/Meeting.ts index 70cdd30..5359c8a 100644 --- a/src/v2/generated/models/Meeting.ts +++ b/src/v2/generated/models/Meeting.ts @@ -21,27 +21,27 @@ export class Meeting { /** * The meeting\'s unique identifier */ - 'id'?: number | null; + 'id': number; /** * The meeting\'s title */ - 'title'?: string | null; + 'title': string | null; /** * Whether the meeting is an all-day event */ - 'allDay'?: boolean | null; + 'allDay': boolean; /** * The meeting start time */ - 'startTime'?: Date | null; + 'startTime': Date; /** * The meeting end time */ - 'endTime'?: Date | null; + 'endTime': Date | null; /** * People attending the meeting */ - 'attendees'?: Array | null; + 'attendees': Array; static readonly discriminator: string | undefined = undefined; diff --git a/src/v2/generated/models/PersonData.ts b/src/v2/generated/models/PersonData.ts index 9971c9e..81f8c26 100644 --- a/src/v2/generated/models/PersonData.ts +++ b/src/v2/generated/models/PersonData.ts @@ -16,23 +16,23 @@ export class PersonData { /** * The persons\'s unique identifier */ - 'id'?: number | null; + 'id': number; /** * The person\'s first name */ - 'firstName'?: string | null; + 'firstName': string | null; /** * The person\'s last name */ - 'lastName'?: string | null; + 'lastName': string | null; /** * The person\'s primary email address */ - 'primaryEmailAddress'?: string | null; + 'primaryEmailAddress': string | null; /** * The person\'s type */ - 'type'?: PersonDataTypeEnum; + 'type': PersonDataTypeEnum; static readonly discriminator: string | undefined = undefined; diff --git a/src/v2/generated/models/PhoneCall.ts b/src/v2/generated/models/PhoneCall.ts index 0a597aa..e405470 100644 --- a/src/v2/generated/models/PhoneCall.ts +++ b/src/v2/generated/models/PhoneCall.ts @@ -21,15 +21,15 @@ export class PhoneCall { /** * The phon_call\'s unique identifier */ - 'id'?: number | null; + 'id': number; /** * The call start time */ - 'startTime'?: Date | null; + 'startTime': Date; /** * People attending the call */ - 'attendees'?: Array | null; + 'attendees': Array; static readonly discriminator: string | undefined = undefined; diff --git a/src/v2/generated/models/RankedDropdown.ts b/src/v2/generated/models/RankedDropdown.ts index 59fef48..8f3161e 100644 --- a/src/v2/generated/models/RankedDropdown.ts +++ b/src/v2/generated/models/RankedDropdown.ts @@ -16,19 +16,19 @@ export class RankedDropdown { /** * Dropdown item\'s unique identifier */ - 'dropdownOptionId'?: number | null; + 'dropdownOptionId': number; /** * Dropdown item text */ - 'text'?: string | null; + 'text': string; /** * Dropdown item rank */ - 'rank'?: number | null; + 'rank': number; /** * Dropdown item color */ - 'color'?: string | null; + 'color': string | null; static readonly discriminator: string | undefined = undefined;