Skip to content

Commit f0fae11

Browse files
s-hardingclaude
andauthored
Flatten scorecard notes to a plain array (correction to #673) (#676)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 6a58852 commit f0fae11

1 file changed

Lines changed: 33 additions & 60 deletions

File tree

‎descriptions/0/api.intercom.io.yaml‎

Lines changed: 33 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -12506,16 +12506,13 @@ paths:
1250612506
admin_id: '884120017'
1250712507
review_status: submitted
1250812508
notes:
12509-
type: note.list
12510-
notes:
12511-
- type: note
12512-
id: '9001'
12513-
created_at: 1734537900
12514-
updated_at: 1734537900
12515-
author:
12516-
type: admin
12517-
admin_id: '884120017'
12518-
body: Great empathy in the second reply.
12509+
- id: '9001'
12510+
created_at: 1734537900
12511+
updated_at: 1734537900
12512+
author:
12513+
type: admin
12514+
admin_id: '884120017'
12515+
body: Great empathy in the second reply.
1251912516
evaluators:
1252012517
- evaluator_id: '54321'
1252112518
result:
@@ -13221,16 +13218,13 @@ paths:
1322113218
admin_id: '884120017'
1322213219
review_status: submitted
1322313220
notes:
13224-
type: note.list
13225-
notes:
13226-
- type: note
13227-
id: '9001'
13228-
created_at: 1734537900
13229-
updated_at: 1734537900
13230-
author:
13231-
type: admin
13232-
admin_id: '884120017'
13233-
body: Great empathy in the second reply.
13221+
- id: '9001'
13222+
created_at: 1734537900
13223+
updated_at: 1734537900
13224+
author:
13225+
type: admin
13226+
admin_id: '884120017'
13227+
body: Great empathy in the second reply.
1323413228
evaluators:
1323513229
- evaluator_id: '54321'
1323613230
result:
@@ -13966,16 +13960,13 @@ paths:
1396613960
admin_id: '884120017'
1396713961
review_status: submitted
1396813962
notes:
13969-
type: note.list
13970-
notes:
13971-
- type: note
13972-
id: '9001'
13973-
created_at: 1734537900
13974-
updated_at: 1734537900
13975-
author:
13976-
type: admin
13977-
admin_id: '884120017'
13978-
body: Great empathy in the second reply.
13963+
- id: '9001'
13964+
created_at: 1734537900
13965+
updated_at: 1734537900
13966+
author:
13967+
type: admin
13968+
admin_id: '884120017'
13969+
body: Great empathy in the second reply.
1397913970
evaluators:
1398013971
- evaluator_id: '54321'
1398113972
result:
@@ -33510,7 +33501,18 @@ components:
3351033501
description: The status of the review of this scorecard, as shown in the QA reviews list in Intercom. `unreviewed` while the review is waiting for a reviewer's verdict; `submitted` once the review has been submitted; `passed_review`, `needs_fix`, `wont_fix` or `fix_complete` when a teammate set a specific outcome. Null when no review exists for this scorecard.
3351133502
example: submitted
3351233503
notes:
33513-
"$ref": "#/components/schemas/conversation_scorecard_notes"
33504+
type: array
33505+
description: The notes teammates left on the QA review linked to this scorecard entry. Empty when the scorecard has no linked review.
33506+
example:
33507+
- id: '9001'
33508+
created_at: 1734537900
33509+
updated_at: 1734537900
33510+
author:
33511+
type: admin
33512+
admin_id: '884120017'
33513+
body: Great empathy in the second reply.
33514+
items:
33515+
"$ref": "#/components/schemas/conversation_scorecard_note"
3351433516
evaluators:
3351533517
type: array
3351633518
description: Per-evaluator results within this scorecard.
@@ -33536,42 +33538,13 @@ components:
3353633538
nullable: true
3353733539
description: The id of the admin who reviewed the scorecard. Present only when `type` is `admin`.
3353833540
example: '884120017'
33539-
conversation_scorecard_notes:
33540-
title: Scorecard Notes
33541-
type: object
33542-
x-tags:
33543-
- Conversations
33544-
description: The notes teammates left on the QA review linked to this scorecard entry. The list is empty when the scorecard has no linked review.
33545-
properties:
33546-
type:
33547-
type: string
33548-
description: String representing the object's type. Always has the value `note.list`.
33549-
example: note.list
33550-
notes:
33551-
type: array
33552-
description: The notes on the linked review, oldest first.
33553-
example:
33554-
- type: note
33555-
id: '9001'
33556-
created_at: 1734537900
33557-
updated_at: 1734537900
33558-
author:
33559-
type: admin
33560-
admin_id: '884120017'
33561-
body: Great empathy in the second reply.
33562-
items:
33563-
"$ref": "#/components/schemas/conversation_scorecard_note"
3356433541
conversation_scorecard_note:
3356533542
title: Scorecard Note
3356633543
type: object
3356733544
x-tags:
3356833545
- Conversations
3356933546
description: A note a teammate left on the QA review of this scorecard.
3357033547
properties:
33571-
type:
33572-
type: string
33573-
description: String representing the object's type. Always has the value `note`.
33574-
example: note
3357533548
id:
3357633549
type: string
3357733550
description: The id of the note.

0 commit comments

Comments
 (0)