Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(V2): update swagger definition #42

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 77 additions & 58 deletions openapi/2024-08-28.json → openapi/2024-09-05.json
Original file line number Diff line number Diff line change
Expand Up @@ -2216,6 +2216,13 @@
"nullable": true
}
},
"required": [
"city",
"continent",
"country",
"state",
"streetAddress"
],
"type": "object"
},
"OpportunityPaged": {
Expand Down Expand Up @@ -2479,10 +2486,6 @@
}
},
"required": [
"createdAt",
"creatorId",
"entity",
"id",
"type"
],
"type": "object",
Expand Down Expand Up @@ -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",
Expand All @@ -2950,11 +2951,13 @@
"items": {
"$ref": "#/components/schemas/Attendee"
},
"type": "array",
"nullable": true
"type": "array"
}
},
"required": [
"attendees",
"id",
"startTime",
"type"
],
"type": "object"
Expand All @@ -2979,6 +2982,10 @@
]
}
},
"required": [
"emailAddress",
"person"
],
"type": "object"
},
"PersonData": {
Expand All @@ -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",
Expand Down Expand Up @@ -3020,6 +3026,13 @@
"type": "string"
}
},
"required": [
"firstName",
"id",
"lastName",
"primaryEmailAddress",
"type"
],
"type": "object"
},
"Meeting": {
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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"
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -3130,8 +3136,7 @@
"items": {
"$ref": "#/components/schemas/Attendee"
},
"type": "array",
"nullable": true
"type": "array"
},
"cc": {
"description": "The cc recipients of the email",
Expand All @@ -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"
Expand All @@ -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",
Expand All @@ -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"
Expand All @@ -3194,11 +3202,15 @@
"items": {
"$ref": "#/components/schemas/PersonData"
},
"type": "array",
"nullable": true
"type": "array"
}
},
"required": [
"direction",
"id",
"manualCreator",
"participants",
"sentAt",
"type"
],
"type": "object"
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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",
Expand All @@ -3404,6 +3415,12 @@
"nullable": true
}
},
"required": [
"color",
"dropdownOptionId",
"rank",
"text"
],
"type": "object"
},
"RankedDropdownValue": {
Expand Down Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions src/v2/generated/models/Attendee.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions src/v2/generated/models/ChatMessage.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/v2/generated/models/CompanyData.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading