@celigo/api-specs 0.2.230 → 0.2.231
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/profile.yml +25 -7
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/profile.yml
CHANGED
|
@@ -74,12 +74,14 @@ paths:
|
|
|
74
74
|
tags:
|
|
75
75
|
- Profile
|
|
76
76
|
description: |-
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
Replaces the preferences of the currently-authenticated user with the
|
|
78
|
+
request body. Send the complete object returned by `GET /v1/preferences`
|
|
79
|
+
with your changes applied: fields you omit are removed, and omitting
|
|
80
|
+
`defaultAShareId` switches the session to the owner account.
|
|
79
81
|
x-celigo-ai-guidance:
|
|
80
82
|
- |-
|
|
81
83
|
AI guidance:
|
|
82
|
-
-
|
|
84
|
+
- Call `GET /v1/preferences` first and send the whole object back with your changes; a partial body wipes the omitted fields.
|
|
83
85
|
- Prefer updating `dateFormat` / `timeFormat` here (not in `/api/profile`).
|
|
84
86
|
requestBody:
|
|
85
87
|
required: true
|
|
@@ -91,13 +93,29 @@ paths:
|
|
|
91
93
|
change-theme:
|
|
92
94
|
summary: Switch to dark mode
|
|
93
95
|
value:
|
|
96
|
+
environment: production
|
|
97
|
+
defaultAShareId: own
|
|
98
|
+
defaultEnvId: 60a2c4e6f321d800129a1a3c
|
|
99
|
+
dateFormat: MM/DD/YYYY
|
|
100
|
+
timeFormat: h:mm:ss A
|
|
94
101
|
colorTheme: dark
|
|
102
|
+
showRelativeDateTime: false
|
|
103
|
+
drawerOpened: true
|
|
104
|
+
enableAIChatbot: true
|
|
105
|
+
sampleIntegrationRequired: false
|
|
95
106
|
change-date-format:
|
|
96
107
|
summary: Change date and time display
|
|
97
108
|
value:
|
|
109
|
+
environment: production
|
|
110
|
+
defaultAShareId: own
|
|
111
|
+
defaultEnvId: 60a2c4e6f321d800129a1a3c
|
|
98
112
|
dateFormat: YYYY-MM-DD
|
|
99
113
|
timeFormat: HH:mm:ss
|
|
114
|
+
colorTheme: system
|
|
100
115
|
showRelativeDateTime: false
|
|
116
|
+
drawerOpened: true
|
|
117
|
+
enableAIChatbot: true
|
|
118
|
+
sampleIntegrationRequired: false
|
|
101
119
|
responses:
|
|
102
120
|
'200':
|
|
103
121
|
description: Updated preferences object
|
|
@@ -353,13 +371,13 @@ components:
|
|
|
353
371
|
Request:
|
|
354
372
|
type: object
|
|
355
373
|
description: |-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
374
|
+
The complete preferences object sent to `PUT /v1/preferences`. The
|
|
375
|
+
body replaces the stored preferences, so include every field you want
|
|
376
|
+
to keep. `featureFlags` in the body are ignored.
|
|
359
377
|
x-celigo-ai-guidance:
|
|
360
378
|
- |-
|
|
361
379
|
AI guidance:
|
|
362
|
-
- Send
|
|
380
|
+
- Send the full object from `GET /v1/preferences` with your changes applied, not a partial object.
|
|
363
381
|
- Use this endpoint (not `/api/profile`) to change `dateFormat` and `timeFormat`.
|
|
364
382
|
allOf:
|
|
365
383
|
- $ref: '#/components/schemas/PreferencesBase'
|
package/package.json
CHANGED