@@ -3791,6 +3791,7 @@ components:
37913791 - GENERATED_Q_AND_A
37923792 - INLINE_MENU
37933793 - NATIVE_RESULT
3794+ - PRISM
37943795 - Q_AND_A
37953796 - RELATED_QUESTIONS
37963797 - REPORT_ISSUE
@@ -3982,6 +3983,7 @@ components:
39823983 - WORKFLOWS
39833984 - SUMMARY
39843985 - GENERAL
3986+ - PRISM
39853987 - PROMPTS
39863988 trackingTokens:
39873989 type: array
@@ -5810,6 +5812,72 @@ components:
58105812 $ref: "#/components/schemas/QuerySuggestion"
58115813 person:
58125814 $ref: "#/components/schemas/Person"
5815+ IconConfig:
5816+ description: Defines how to render an icon
5817+ properties:
5818+ generatedBackgroundColorKey:
5819+ type: string
5820+ backgroundColor:
5821+ type: string
5822+ color:
5823+ type: string
5824+ key:
5825+ type: string
5826+ iconType:
5827+ enum:
5828+ - COLLECTION
5829+ - CUSTOM
5830+ - DATASOURCE
5831+ - DATASOURCE_INSTANCE
5832+ - FAVICON
5833+ - FILE_TYPE
5834+ - GENERATED_BACKGROUND
5835+ - GLYPH
5836+ - MIME_TYPE
5837+ - NO_ICON
5838+ - PERSON
5839+ - REACTIONS
5840+ - URL
5841+ masked:
5842+ type: boolean
5843+ description: Whether the icon should be masked based on current theme.
5844+ name:
5845+ type: string
5846+ description: The name of the icon if applicable, e.g. the glyph name for `IconType.GLYPH` icons.
5847+ url:
5848+ type: string
5849+ description: The URL to an image to be displayed if applicable, e.g. the URL for `iconType.URL` icons.
5850+ example:
5851+ color: "#343CED"
5852+ key: person_icon
5853+ iconType: GLYPH
5854+ name: user
5855+ ChatMetadata:
5856+ description: Metadata of a Chat a user had with Glean Assistant. This contains no actual conversational content.
5857+ properties:
5858+ id:
5859+ type: string
5860+ description: The opaque id of the Chat.
5861+ createTime:
5862+ type: integer
5863+ description: Server Unix timestamp of the creation time (in seconds since epoch UTC).
5864+ createdBy:
5865+ $ref: "#/components/schemas/Person"
5866+ description: The user who created this Chat.
5867+ updateTime:
5868+ type: integer
5869+ description: Server Unix timestamp of the update time (in seconds since epoch UTC).
5870+ name:
5871+ type: string
5872+ description: The name of the Chat.
5873+ applicationId:
5874+ type: string
5875+ description: The ID of the AI App that this Chat is associated to.
5876+ applicationName:
5877+ type: string
5878+ description: The display name of the AI App that this Chat is associated to.
5879+ icon:
5880+ $ref: "#/components/schemas/IconConfig"
58135881 RelatedDocuments:
58145882 properties:
58155883 relation:
@@ -5944,6 +6012,8 @@ components:
59446012 $ref: "#/components/schemas/Shortcut"
59456013 querySuggestions:
59466014 $ref: "#/components/schemas/QuerySuggestionList"
6015+ chat:
6016+ $ref: "#/components/schemas/ChatMetadata"
59476017 relatedDocuments:
59486018 type: array
59496019 items:
@@ -6291,46 +6361,6 @@ components:
62916361 enum:
62926362 - DEFAULT
62936363 - OUT_OF_OFFICE
6294- IconConfig:
6295- description: Defines how to render an icon
6296- properties:
6297- generatedBackgroundColorKey:
6298- type: string
6299- backgroundColor:
6300- type: string
6301- color:
6302- type: string
6303- key:
6304- type: string
6305- iconType:
6306- enum:
6307- - COLLECTION
6308- - CUSTOM
6309- - DATASOURCE
6310- - DATASOURCE_INSTANCE
6311- - FAVICON
6312- - FILE_TYPE
6313- - GENERATED_BACKGROUND
6314- - GLYPH
6315- - MIME_TYPE
6316- - NO_ICON
6317- - PERSON
6318- - REACTIONS
6319- - URL
6320- masked:
6321- type: boolean
6322- description: Whether the icon should be masked based on current theme.
6323- name:
6324- type: string
6325- description: The name of the icon if applicable, e.g. the glyph name for `IconType.GLYPH` icons.
6326- url:
6327- type: string
6328- description: The URL to an image to be displayed if applicable, e.g. the URL for `iconType.URL` icons.
6329- example:
6330- color: "#343CED"
6331- key: person_icon
6332- iconType: GLYPH
6333- name: user
63346364 Badge:
63356365 type: object
63366366 description: Displays a user's accomplishment or milestone
@@ -7528,32 +7558,6 @@ components:
75287558 id:
75297559 type: string
75307560 description: The id of the Chat to be retrieved.
7531- ChatMetadata:
7532- description: Metadata of a Chat a user had with Glean Assistant. This contains no actual conversational content.
7533- properties:
7534- id:
7535- type: string
7536- description: The opaque id of the Chat.
7537- createTime:
7538- type: integer
7539- description: Server Unix timestamp of the creation time (in seconds since epoch UTC).
7540- createdBy:
7541- $ref: "#/components/schemas/Person"
7542- description: The user who created this Chat.
7543- updateTime:
7544- type: integer
7545- description: Server Unix timestamp of the update time (in seconds since epoch UTC).
7546- name:
7547- type: string
7548- description: The name of the Chat.
7549- applicationId:
7550- type: string
7551- description: The ID of the AI App that this Chat is associated to.
7552- applicationName:
7553- type: string
7554- description: The display name of the AI App that this Chat is associated to.
7555- icon:
7556- $ref: "#/components/schemas/IconConfig"
75577561 Chat:
75587562 description: A historical representation of a series of chat messages a user had with Glean Assistant.
75597563 allOf:
@@ -8053,6 +8057,8 @@ components:
80538057 oneOf:
80548058 - $ref: "#/components/schemas/Document"
80558059 - type: object
8060+ required:
8061+ - error
80568062 properties:
80578063 error:
80588064 type: string
@@ -9305,6 +9311,7 @@ components:
93059311 - ENTITY
93069312 - GOLINK
93079313 - HISTORY
9314+ - CHAT_HISTORY
93089315 - NEW_CHAT
93099316 - OPERATOR
93109317 - OPERATOR_VALUE
@@ -9418,6 +9425,7 @@ components:
94189425 - ENTITY
94199426 - GOLINK
94209427 - HISTORY
9428+ - CHAT_HISTORY
94219429 - NEW_CHAT
94229430 - OPERATOR
94239431 - OPERATOR_VALUE
0 commit comments