Skip to content

Commit

Permalink
Update contract for call participant customer/contact
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoinacio committed Nov 13, 2023
1 parent b7e5e8b commit 0cc0df7
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 48 deletions.
52 changes: 28 additions & 24 deletions apiary.apib
Original file line number Diff line number Diff line change
Expand Up @@ -3345,13 +3345,14 @@ Get a list of calls.
+ (object)
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
+ added_at: `2021-11-21T18:14:15+00:00` (string, nullable)
+ customer (object, nullable)
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
+ type: `company` (string)
+ participant (object, nullable)
+ customer (object, nullable)
+ type: `company` (string)
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
+ contact (object, nullable)
+ type: `contact` (string)
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
+ description: `Call with customer` (string, nullable)
+ optional_contact (object, nullable)
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
+ type: `contact` (string)
+ outcome (object, nullable)
+ type: `callOutcome` (string)
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
Expand Down Expand Up @@ -3384,13 +3385,14 @@ Get information about a call.
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
+ added_at: `2016-02-01T16:44:33+00:00` (string, nullable)
+ completed_at: `2016-02-04T16:44:33+00:00` (string, nullable)
+ customer (object, nullable)
+ type: `company` (string)
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string)
+ participant (object, nullable)
+ customer (object, nullable)
+ type: `company` (string)
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string)
+ contact (object, nullable)
+ type: `contact` (string)
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string)
+ description: `Description of the call` (string, nullable)
+ optional_contact (object, nullable)
+ type: `contact` (string)
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string)
+ outcome (object, nullable)
+ type: `callOutcome` (string)
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
Expand All @@ -3413,12 +3415,13 @@ Add a new call.

+ Attributes
+ description: `Description of the call` (string, optional)
+ customer (object, required)
+ type (enum, required)
+ Members
+ company
+ contact
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string, required)
+ participant (object, required)
+ customer (object, required)
+ type (enum, required)
+ Members
+ company
+ contact
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string, required)
+ due_at: `2016-02-04T16:00:00+00:00` (string, required)
+ assignee (object, required)
+ type (enum, required)
Expand All @@ -3443,12 +3446,13 @@ Update a new call.
+ Attributes
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string, required)
+ description: `Description of the call` (string, optional)
+ customer (object, optional)
+ type (enum, required)
+ Members
+ company
+ contact
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string, required)
+ participant (object, optional)
+ customer (object, optional)
+ type (enum, required)
+ Members
+ company
+ contact
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string, required)
+ due_at: `2016-02-04T16:00:00+00:00` (string, optional)
+ assignee (object, optional)
+ type (enum, required)
Expand Down
52 changes: 28 additions & 24 deletions src/04-calendar/calls.apib
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ Get a list of calls.
+ (object)
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
+ added_at: `2021-11-21T18:14:15+00:00` (string, nullable)
+ customer (object, nullable)
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
+ type: `company` (string)
+ participant (object, nullable)
+ customer (object, nullable)
+ type: `company` (string)
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
+ contact (object, nullable)
+ type: `contact` (string)
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
+ description: `Call with customer` (string, nullable)
+ optional_contact (object, nullable)
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
+ type: `contact` (string)
+ outcome (object, nullable)
+ type: `callOutcome` (string)
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
Expand Down Expand Up @@ -65,13 +66,14 @@ Get information about a call.
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
+ added_at: `2016-02-01T16:44:33+00:00` (string, nullable)
+ completed_at: `2016-02-04T16:44:33+00:00` (string, nullable)
+ customer (object, nullable)
+ type: `company` (string)
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string)
+ participant (object, nullable)
+ customer (object, nullable)
+ type: `company` (string)
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string)
+ contact (object, nullable)
+ type: `contact` (string)
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string)
+ description: `Description of the call` (string, nullable)
+ optional_contact (object, nullable)
+ type: `contact` (string)
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string)
+ outcome (object, nullable)
+ type: `callOutcome` (string)
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string)
Expand All @@ -94,12 +96,13 @@ Add a new call.

+ Attributes
+ description: `Description of the call` (string, optional)
+ customer (object, required)
+ type (enum, required)
+ Members
+ company
+ contact
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string, required)
+ participant (object, required)
+ customer (object, required)
+ type (enum, required)
+ Members
+ company
+ contact
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string, required)
+ due_at: `2016-02-04T16:00:00+00:00` (string, required)
+ assignee (object, required)
+ type (enum, required)
Expand All @@ -124,12 +127,13 @@ Update a new call.
+ Attributes
+ id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string, required)
+ description: `Description of the call` (string, optional)
+ customer (object, optional)
+ type (enum, required)
+ Members
+ company
+ contact
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string, required)
+ participant (object, optional)
+ customer (object, optional)
+ type (enum, required)
+ Members
+ company
+ contact
+ id: `2659dc4d-444b-4ced-b51c-b87591f604d7` (string, required)
+ due_at: `2016-02-04T16:00:00+00:00` (string, optional)
+ assignee (object, optional)
+ type (enum, required)
Expand Down

0 comments on commit 0cc0df7

Please sign in to comment.