Skip to content

Commit

Permalink
Fix types for responses on syncs
Browse files Browse the repository at this point in the history
  • Loading branch information
nalanj committed Dec 10, 2024
1 parent 6dfe5f8 commit adfda31
Show file tree
Hide file tree
Showing 168 changed files with 4,313 additions and 168 deletions.
9 changes: 8 additions & 1 deletion integrations/aircall-basic/syncs/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,11 @@ _No request body_

### Request Response

_No request response_
```json
{
"id": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>"
}
```
8 changes: 7 additions & 1 deletion integrations/airtable/syncs/bases.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,10 @@ _No request body_

### Request Response

_No request response_
```json
{
"id": "<string>",
"name": "<string>",
"permissionLevel": "<none | read | comment | edit | create>"
}
```
28 changes: 27 additions & 1 deletion integrations/airtable/syncs/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,30 @@ _No request body_

### Request Response

_No request response_
```json
{
"baseId": "<string>",
"baseName": "<string>",
"id": "<string>",
"name": "<string>",
"views": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>"
}
],
"fields": [
{
"id": "<string>",
"description": "<string>",
"name": "<string>",
"type": "<string>",
"options?": {
"__string": "<any>"
}
}
],
"primaryFieldId": "<string>"
}
```
11 changes: 10 additions & 1 deletion integrations/asana/syncs/projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,13 @@ _No request body_

### Request Response

_No request response_
```json
{
"__extends": {
"gid": "<string>",
"resource_type": "<string>",
"name": "<string>"
},
"id": "<string>"
}
```
16 changes: 15 additions & 1 deletion integrations/asana/syncs/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,18 @@ _No request body_

### Request Response

_No request response_
```json
{
"__extends": {
"created_at": "<string | null>",
"modified_at": "<string | null>"
},
"id": "<string>",
"title": "<string>",
"url": "<string>",
"status": "<string>",
"description": "<string | null>",
"assignee": "<User | null>",
"due_date": "<string | null>"
}
```
13 changes: 12 additions & 1 deletion integrations/asana/syncs/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,15 @@ _No request body_

### Request Response

_No request response_
```json
{
"__extends": {
"created_at": "<string | null>",
"modified_at": "<string | null>"
},
"id": "<string>",
"name": "<string>",
"email": "<string | null>",
"avatar_url": "<string | null>"
}
```
12 changes: 11 additions & 1 deletion integrations/asana/syncs/workspaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,14 @@ _No request body_

### Request Response

_No request response_
```json
{
"__extends": {
"gid": "<string>",
"resource_type": "<string>",
"name": "<string>"
},
"id": "<string>",
"is_organization": "<boolean>"
}
```
67 changes: 66 additions & 1 deletion integrations/ashby/syncs/candidates.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,69 @@ _No request body_

### Request Response

_No request response_
```json
{
"id": "<string>",
"createdAt": "<date>",
"name": "<string>",
"primaryEmailAddress": {
"value": "<string>",
"type": "<string>",
"isPrimary": "<boolean>"
},
"emailAddresses": [
"<string>"
],
"primaryPhoneNumber": {
"value": "<string>",
"type": "<string>",
"isPrimary": "<boolean>"
},
"phoneNumbers": [
"<string>"
],
"socialLinks": [
"<string>"
],
"tags": [
"<string>"
],
"position": "<string>",
"company": "<string>",
"school": "<string>",
"applicationIds": [
"<string>"
],
"resumeFileHandle": {
"id": "<string>",
"name": "<string>",
"handle": "<string>"
},
"fileHandles": [
"<string>"
],
"customFields": [
"<string>"
],
"profileUrl": "<string>",
"source": {
"id": "<string>",
"title": "<string>",
"isArchived": "<boolean>",
"sourceType": {
"id": "<string>",
"title": "<string>",
"isArchived": "<boolean>"
}
},
"creditedToUser": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"globalRole": "<string>",
"isEnabled": "<boolean>",
"updatedAt": "<date>"
}
}
```
43 changes: 42 additions & 1 deletion integrations/ashby/syncs/jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,45 @@ _No request body_

### Request Response

_No request response_
```json
{
"id": "<string>",
"title": "<string>",
"confidential": "<boolean>",
"status": "<string>",
"employmentType": "<string>",
"locationId": "<string>",
"departmentId": "<string>",
"defaultInterviewPlanId": "<string>",
"interviewPlanIds": [
"<string>"
],
"customFields": [
"<string>"
],
"jobPostingIds": [
"<string>"
],
"customRequisitionId": "<string>",
"hiringTeam": [
"<string>"
],
"updatedAt": "<date>",
"location": {
"id": "<string>",
"name": "<string>",
"isArchived": "<boolean>",
"address": {
"postalAddress": {
"addressCountry": "<string>",
"addressRegion": "<string>",
"addressLocality": "<string>"
}
},
"isRemote": "<boolean>"
},
"openings": [
"<string>"
]
}
```
Loading

0 comments on commit adfda31

Please sign in to comment.