Skip to content

Commit fad3689

Browse files
algolia-botraed667
andcommitted
feat(specs): add lastUpdatedAt to personalization real-time user (#5126) (generated) [skip ci]
Co-authored-by: Raed <[email protected]>
1 parent 2ee13af commit fad3689

File tree

4 files changed

+25
-0
lines changed

4 files changed

+25
-0
lines changed

clients/algoliasearch-client-javascript/packages/advanced-personalization/model/realtimeUser.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ export type RealtimeUser = {
1313
*/
1414
userID: string;
1515

16+
/**
17+
* Date and time when the profile was last computed, in RFC 3339 format.
18+
*/
19+
lastUpdatedAt: string;
20+
1621
/**
1722
* Index personalization filters by index name.
1823
*/

docs/bundled/advanced-personalization.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,6 +1400,7 @@
14001400
"required": [
14011401
"version",
14021402
"userID",
1403+
"lastUpdatedAt",
14031404
"search"
14041405
],
14051406
"properties": {
@@ -1411,6 +1412,11 @@
14111412
"type": "string",
14121413
"description": "User ID of the user."
14131414
},
1415+
"lastUpdatedAt": {
1416+
"type": "string",
1417+
"description": "Date and time when the profile was last computed, in RFC 3339 format.",
1418+
"example": "2023-06-15T15:06:04.249906Z"
1419+
},
14141420
"search": {
14151421
"type": "object",
14161422
"description": "Index personalization filters by index name.\n",

docs/bundled/advanced-personalization.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,6 +1411,7 @@ components:
14111411
required:
14121412
- version
14131413
- userID
1414+
- lastUpdatedAt
14141415
- search
14151416
properties:
14161417
version:
@@ -1419,6 +1420,12 @@ components:
14191420
userID:
14201421
type: string
14211422
description: User ID of the user.
1423+
lastUpdatedAt:
1424+
type: string
1425+
description: >-
1426+
Date and time when the profile was last computed, in RFC 3339
1427+
format.
1428+
example: '2023-06-15T15:06:04.249906Z'
14221429
search:
14231430
type: object
14241431
description: |

specs/bundled/advanced-personalization.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,6 +1121,7 @@ components:
11211121
required:
11221122
- version
11231123
- userID
1124+
- lastUpdatedAt
11241125
- search
11251126
properties:
11261127
version:
@@ -1129,6 +1130,12 @@ components:
11291130
userID:
11301131
type: string
11311132
description: User ID of the user.
1133+
lastUpdatedAt:
1134+
type: string
1135+
description: >-
1136+
Date and time when the profile was last computed, in RFC 3339
1137+
format.
1138+
example: '2023-06-15T15:06:04.249906Z'
11321139
search:
11331140
type: object
11341141
description: |

0 commit comments

Comments
 (0)