@thinkai/tai-api-contract 2.227.0 → 2.228.0
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/openapi/openapi.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ThinkAI API
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.228.0
|
|
5
5
|
description: >
|
|
6
6
|
Contract surface for the AI Driven SDLC backend used by ThinkAI.
|
|
7
7
|
Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
|
|
@@ -13671,8 +13671,10 @@ paths:
|
|
|
13671
13671
|
tags: [Preferences]
|
|
13672
13672
|
summary: Get preferences for current user
|
|
13673
13673
|
description: >
|
|
13674
|
-
Returns saved preferences, including `notificationChannels
|
|
13675
|
-
|
|
13674
|
+
Returns saved preferences, including `notificationChannels` and `designVersion`
|
|
13675
|
+
(`null` when the person has never chosen). An empty or missing profile returns
|
|
13676
|
+
defaults (`email.status` is `digest`; every other channel cell is `off`;
|
|
13677
|
+
`designVersion` and `designVersionChangedAt` are `null`).
|
|
13676
13678
|
operationId: getMyPreferences
|
|
13677
13679
|
responses:
|
|
13678
13680
|
"200":
|
|
@@ -13692,7 +13694,9 @@ paths:
|
|
|
13692
13694
|
`notificationChannels` replaces those cells; any missing key inside it uses the
|
|
13693
13695
|
default (`email.status` = `digest`, every other cell = `off`). Setting
|
|
13694
13696
|
`email.status` to `off` returns 400 `notification_channel_required`. In-app
|
|
13695
|
-
`notifications` booleans are independent of these cells.
|
|
13697
|
+
`notifications` booleans are independent of these cells. `designVersion` and
|
|
13698
|
+
`designVersionChangedAt` are not accepted; the stored design choice is kept.
|
|
13699
|
+
Use `PUT /me/design-version` to change it.
|
|
13696
13700
|
operationId: putMyPreferences
|
|
13697
13701
|
requestBody:
|
|
13698
13702
|
required: true
|
|
@@ -13720,6 +13724,44 @@ paths:
|
|
|
13720
13724
|
"401":
|
|
13721
13725
|
$ref: "#/components/responses/Unauthorized"
|
|
13722
13726
|
|
|
13727
|
+
/me/design-version:
|
|
13728
|
+
put:
|
|
13729
|
+
tags: [Preferences]
|
|
13730
|
+
summary: Save the current user's design version
|
|
13731
|
+
description: >
|
|
13732
|
+
Writes `designVersion` and `designVersionChangedAt` on the user's preferences.
|
|
13733
|
+
A change inserts a `tai_design_switch_events` row (user, workspace, from, to,
|
|
13734
|
+
reason, note, route, created_at). Repeating the same version does not insert a
|
|
13735
|
+
row. When `reason` is sent with the same version, it is copied onto the person's
|
|
13736
|
+
latest event if that event has no reason and is less than 24 hours old; an
|
|
13737
|
+
optional `note` on that call is stored when the event has none.
|
|
13738
|
+
`reason` is `missing` | `hard_to_find` | `hard_to_read` | `broken` |
|
|
13739
|
+
`prefer_classic`. `note` is optional free text, at most 500 characters.
|
|
13740
|
+
`route` is the app path (no query string), at most 200 characters.
|
|
13741
|
+
`PUT /me/preferences` cannot change this choice.
|
|
13742
|
+
operationId: putMyDesignVersion
|
|
13743
|
+
requestBody:
|
|
13744
|
+
required: true
|
|
13745
|
+
content:
|
|
13746
|
+
application/json:
|
|
13747
|
+
schema:
|
|
13748
|
+
$ref: "#/components/schemas/PutDesignVersionBodyDto"
|
|
13749
|
+
responses:
|
|
13750
|
+
"200":
|
|
13751
|
+
description: Updated preferences including `designVersion`
|
|
13752
|
+
content:
|
|
13753
|
+
application/json:
|
|
13754
|
+
schema:
|
|
13755
|
+
$ref: "#/components/schemas/PreferencesDto"
|
|
13756
|
+
"400":
|
|
13757
|
+
description: Validation failed (unknown fields, invalid version, reason, note, or route).
|
|
13758
|
+
content:
|
|
13759
|
+
application/json:
|
|
13760
|
+
schema:
|
|
13761
|
+
$ref: "#/components/schemas/PreferencesValidationErrorDto"
|
|
13762
|
+
"401":
|
|
13763
|
+
$ref: "#/components/responses/Unauthorized"
|
|
13764
|
+
|
|
13723
13765
|
/me/consent:
|
|
13724
13766
|
get:
|
|
13725
13767
|
tags: [Consent]
|
|
@@ -22880,7 +22922,9 @@ components:
|
|
|
22880
22922
|
sections:
|
|
22881
22923
|
type: object
|
|
22882
22924
|
additionalProperties: true
|
|
22883
|
-
description:
|
|
22925
|
+
description: >
|
|
22926
|
+
Per-source personal data (memberships, AI-tool, dashboard, absences, org
|
|
22927
|
+
chart, activity, code chat, design switch events).
|
|
22884
22928
|
residualPersonData:
|
|
22885
22929
|
type: array
|
|
22886
22930
|
items:
|
|
@@ -27362,6 +27406,8 @@ components:
|
|
|
27362
27406
|
notifications,
|
|
27363
27407
|
buddyEnabled,
|
|
27364
27408
|
notificationChannels,
|
|
27409
|
+
designVersion,
|
|
27410
|
+
designVersionChangedAt,
|
|
27365
27411
|
]
|
|
27366
27412
|
properties:
|
|
27367
27413
|
theme:
|
|
@@ -27383,13 +27429,59 @@ components:
|
|
|
27383
27429
|
values are false (opt-in only).
|
|
27384
27430
|
notificationChannels:
|
|
27385
27431
|
$ref: "#/components/schemas/NotificationChannelsDto"
|
|
27432
|
+
designVersion:
|
|
27433
|
+
allOf:
|
|
27434
|
+
- $ref: "#/components/schemas/DesignVersion"
|
|
27435
|
+
nullable: true
|
|
27436
|
+
description: >
|
|
27437
|
+
Saved design choice. `null` means the person has never chosen. Written
|
|
27438
|
+
only via `PUT /me/design-version`.
|
|
27439
|
+
designVersionChangedAt:
|
|
27440
|
+
type: string
|
|
27441
|
+
format: date-time
|
|
27442
|
+
nullable: true
|
|
27443
|
+
description: When `designVersion` last changed. `null` when never chosen.
|
|
27444
|
+
|
|
27445
|
+
DesignVersion:
|
|
27446
|
+
type: string
|
|
27447
|
+
enum: [v1, v2]
|
|
27448
|
+
description: Classic (`v1`) or new (`v2`) design.
|
|
27449
|
+
|
|
27450
|
+
DesignSwitchReason:
|
|
27451
|
+
type: string
|
|
27452
|
+
enum: [missing, hard_to_find, hard_to_read, broken, prefer_classic]
|
|
27453
|
+
description: >
|
|
27454
|
+
Closed-set reason for leaving or declining the new design
|
|
27455
|
+
(DESIGN_SYSTEM.md § Design switch).
|
|
27456
|
+
|
|
27457
|
+
PutDesignVersionBodyDto:
|
|
27458
|
+
type: object
|
|
27459
|
+
additionalProperties: false
|
|
27460
|
+
required: [version]
|
|
27461
|
+
description: >
|
|
27462
|
+
Body for `PUT /me/design-version`. Optional `note` is at most 500 characters.
|
|
27463
|
+
`route` is the app path (no query string), at most 200 characters.
|
|
27464
|
+
properties:
|
|
27465
|
+
version:
|
|
27466
|
+
$ref: "#/components/schemas/DesignVersion"
|
|
27467
|
+
reason:
|
|
27468
|
+
$ref: "#/components/schemas/DesignSwitchReason"
|
|
27469
|
+
note:
|
|
27470
|
+
type: string
|
|
27471
|
+
maxLength: 500
|
|
27472
|
+
description: Optional free-text feedback stored on the switch event.
|
|
27473
|
+
route:
|
|
27474
|
+
type: string
|
|
27475
|
+
maxLength: 200
|
|
27476
|
+
description: App path the person was on. Query strings are not stored.
|
|
27386
27477
|
|
|
27387
27478
|
PutPreferencesBodyDto:
|
|
27388
27479
|
type: object
|
|
27389
27480
|
additionalProperties: false
|
|
27390
27481
|
description: >
|
|
27391
27482
|
Body for `PUT /me/preferences`. `notificationChannels` may be omitted to keep
|
|
27392
|
-
stored cells.
|
|
27483
|
+
stored cells. `designVersion` and `designVersionChangedAt` are not accepted;
|
|
27484
|
+
the stored design choice is kept. Use `PUT /me/design-version` to change it.
|
|
27393
27485
|
required:
|
|
27394
27486
|
[theme, sidebarCollapsed, timezone, dataRefreshInterval, notifications, buddyEnabled]
|
|
27395
27487
|
properties:
|
|
@@ -28029,6 +28121,7 @@ components:
|
|
|
28029
28121
|
- productivity.ingest.completed
|
|
28030
28122
|
- productivity.ingest.failed
|
|
28031
28123
|
- productivity.ingest.skipped
|
|
28124
|
+
- productivity.ingest.backfill_completed
|
|
28032
28125
|
- productivity.ingest.repo_skipped
|
|
28033
28126
|
- productivity.ingest.coverage_gap_detected
|
|
28034
28127
|
- integrations.newrelic.added
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -5331,12 +5331,12 @@ export interface paths {
|
|
|
5331
5331
|
};
|
|
5332
5332
|
/**
|
|
5333
5333
|
* Get preferences for current user
|
|
5334
|
-
* @description Returns saved preferences, including `notificationChannels
|
|
5334
|
+
* @description Returns saved preferences, including `notificationChannels` and `designVersion` (`null` when the person has never chosen). An empty or missing profile returns defaults (`email.status` is `digest`; every other channel cell is `off`; `designVersion` and `designVersionChangedAt` are `null`).
|
|
5335
5335
|
*/
|
|
5336
5336
|
get: operations["getMyPreferences"];
|
|
5337
5337
|
/**
|
|
5338
5338
|
* Upsert preferences
|
|
5339
|
-
* @description Replaces the saved preferences object. Omitting `notificationChannels` keeps the stored cells, or the defaults when none are stored. A body that includes `notificationChannels` replaces those cells; any missing key inside it uses the default (`email.status` = `digest`, every other cell = `off`). Setting `email.status` to `off` returns 400 `notification_channel_required`. In-app `notifications` booleans are independent of these cells.
|
|
5339
|
+
* @description Replaces the saved preferences object. Omitting `notificationChannels` keeps the stored cells, or the defaults when none are stored. A body that includes `notificationChannels` replaces those cells; any missing key inside it uses the default (`email.status` = `digest`, every other cell = `off`). Setting `email.status` to `off` returns 400 `notification_channel_required`. In-app `notifications` booleans are independent of these cells. `designVersion` and `designVersionChangedAt` are not accepted; the stored design choice is kept. Use `PUT /me/design-version` to change it.
|
|
5340
5340
|
*/
|
|
5341
5341
|
put: operations["putMyPreferences"];
|
|
5342
5342
|
post?: never;
|
|
@@ -5346,6 +5346,26 @@ export interface paths {
|
|
|
5346
5346
|
patch?: never;
|
|
5347
5347
|
trace?: never;
|
|
5348
5348
|
};
|
|
5349
|
+
"/me/design-version": {
|
|
5350
|
+
parameters: {
|
|
5351
|
+
query?: never;
|
|
5352
|
+
header?: never;
|
|
5353
|
+
path?: never;
|
|
5354
|
+
cookie?: never;
|
|
5355
|
+
};
|
|
5356
|
+
get?: never;
|
|
5357
|
+
/**
|
|
5358
|
+
* Save the current user's design version
|
|
5359
|
+
* @description Writes `designVersion` and `designVersionChangedAt` on the user's preferences. A change inserts a `tai_design_switch_events` row (user, workspace, from, to, reason, note, route, created_at). Repeating the same version does not insert a row. When `reason` is sent with the same version, it is copied onto the person's latest event if that event has no reason and is less than 24 hours old; an optional `note` on that call is stored when the event has none. `reason` is `missing` | `hard_to_find` | `hard_to_read` | `broken` | `prefer_classic`. `note` is optional free text, at most 500 characters. `route` is the app path (no query string), at most 200 characters. `PUT /me/preferences` cannot change this choice.
|
|
5360
|
+
*/
|
|
5361
|
+
put: operations["putMyDesignVersion"];
|
|
5362
|
+
post?: never;
|
|
5363
|
+
delete?: never;
|
|
5364
|
+
options?: never;
|
|
5365
|
+
head?: never;
|
|
5366
|
+
patch?: never;
|
|
5367
|
+
trace?: never;
|
|
5368
|
+
};
|
|
5349
5369
|
"/me/consent": {
|
|
5350
5370
|
parameters: {
|
|
5351
5371
|
query?: never;
|
|
@@ -9337,7 +9357,7 @@ export interface components {
|
|
|
9337
9357
|
subject: {
|
|
9338
9358
|
[key: string]: unknown;
|
|
9339
9359
|
};
|
|
9340
|
-
/** @description Per-source personal data (memberships, AI-tool, dashboard, absences, org chart, activity, code chat). */
|
|
9360
|
+
/** @description Per-source personal data (memberships, AI-tool, dashboard, absences, org chart, activity, code chat, design switch events). */
|
|
9341
9361
|
sections?: {
|
|
9342
9362
|
[key: string]: unknown;
|
|
9343
9363
|
};
|
|
@@ -11355,8 +11375,34 @@ export interface components {
|
|
|
11355
11375
|
*/
|
|
11356
11376
|
buddyEnabled: boolean;
|
|
11357
11377
|
notificationChannels: components["schemas"]["NotificationChannelsDto"];
|
|
11378
|
+
/** @description Saved design choice. `null` means the person has never chosen. Written only via `PUT /me/design-version`. */
|
|
11379
|
+
designVersion: components["schemas"]["DesignVersion"] | null;
|
|
11380
|
+
/**
|
|
11381
|
+
* Format: date-time
|
|
11382
|
+
* @description When `designVersion` last changed. `null` when never chosen.
|
|
11383
|
+
*/
|
|
11384
|
+
designVersionChangedAt: string | null;
|
|
11385
|
+
};
|
|
11386
|
+
/**
|
|
11387
|
+
* @description Classic (`v1`) or new (`v2`) design.
|
|
11388
|
+
* @enum {string}
|
|
11389
|
+
*/
|
|
11390
|
+
DesignVersion: "v1" | "v2";
|
|
11391
|
+
/**
|
|
11392
|
+
* @description Closed-set reason for leaving or declining the new design (DESIGN_SYSTEM.md § Design switch).
|
|
11393
|
+
* @enum {string}
|
|
11394
|
+
*/
|
|
11395
|
+
DesignSwitchReason: "missing" | "hard_to_find" | "hard_to_read" | "broken" | "prefer_classic";
|
|
11396
|
+
/** @description Body for `PUT /me/design-version`. Optional `note` is at most 500 characters. `route` is the app path (no query string), at most 200 characters. */
|
|
11397
|
+
PutDesignVersionBodyDto: {
|
|
11398
|
+
version: components["schemas"]["DesignVersion"];
|
|
11399
|
+
reason?: components["schemas"]["DesignSwitchReason"];
|
|
11400
|
+
/** @description Optional free-text feedback stored on the switch event. */
|
|
11401
|
+
note?: string;
|
|
11402
|
+
/** @description App path the person was on. Query strings are not stored. */
|
|
11403
|
+
route?: string;
|
|
11358
11404
|
};
|
|
11359
|
-
/** @description Body for `PUT /me/preferences`. `notificationChannels` may be omitted to keep stored cells. */
|
|
11405
|
+
/** @description Body for `PUT /me/preferences`. `notificationChannels` may be omitted to keep stored cells. `designVersion` and `designVersionChangedAt` are not accepted; the stored design choice is kept. Use `PUT /me/design-version` to change it. */
|
|
11360
11406
|
PutPreferencesBodyDto: {
|
|
11361
11407
|
theme: components["schemas"]["ThemePreference"];
|
|
11362
11408
|
sidebarCollapsed: boolean;
|
|
@@ -11625,7 +11671,7 @@ export interface components {
|
|
|
11625
11671
|
* @description Type of workspace lifecycle event.
|
|
11626
11672
|
* @enum {string}
|
|
11627
11673
|
*/
|
|
11628
|
-
ActivityLogEventTypeDto: "repo.added" | "repo.removed" | "repo.readded" | "integration.github.added" | "integration.github.updated" | "integration.github.removed" | "integration.github.permissions_changed" | "integration.github.suspended" | "integration.github.unsuspended" | "integration.github.repo_added" | "integration.github.repo_removed" | "fix.requested" | "fix.generating" | "fix.pr_created" | "fix.merged" | "fix.failed" | "readiness.scan_started" | "readiness.scan_completed" | "readiness.scan_failed" | "readiness.scan_partial" | "readiness.agent_execution_fallback" | "code_insights.design_run_started" | "integrations.agent_execution.provider_changed" | "integrations.repo_eligibility.overrides_changed" | "integrations.repo_eligibility.languages_refresh_requested" | "rules_skills.soft_quality.override" | "integrations.cursor.platform_key_enabled" | "integrations.cursor.platform_key_disabled" | "member.invited" | "member.invite_accepted" | "member.invite_rejected" | "member.role_changed" | "member.removed" | "hris.personio.sync_started" | "hris.personio.sync_completed" | "hris.personio.sync_failed" | "hris.zenhr.sync_started" | "hris.zenhr.sync_completed" | "hris.zenhr.sync_failed" | "hris.zelt.sync_started" | "hris.zelt.sync_completed" | "hris.zelt.sync_failed" | "hris.hibob.sync_started" | "hris.hibob.sync_completed" | "hris.hibob.sync_failed" | "hris.sync_started" | "hris.sync_completed" | "hris.sync_failed" | "repo.sync_skipped" | "integrations.cursor.execution_key.added" | "integrations.cursor.execution_key.updated" | "integrations.cursor.execution_key.removed" | "integrations.cursor.execution_key.check_failed" | "integrations.cursor.admin_key.added" | "integrations.cursor.admin_key.updated" | "integrations.cursor.admin_key.removed" | "integrations.claude.execution_key.added" | "integrations.claude.execution_key.updated" | "integrations.claude.execution_key.removed" | "integrations.claude.execution_key.check_failed" | "integrations.claude.admin_key.added" | "integrations.claude.admin_key.updated" | "integrations.claude.admin_key.removed" | "integrations.claude.analytics_key.added" | "integrations.claude.analytics_key.updated" | "integrations.claude.analytics_key.removed" | "integrations.code_intelligence.settings_changed" | "integrations.code_intelligence.execution_key.added" | "integrations.code_intelligence.execution_key.updated" | "integrations.code_intelligence.execution_key.removed" | "integrations.code_intelligence.execution_key.check_failed" | "readiness.scan_precheck_failed" | "productivity.ingest.completed" | "productivity.ingest.failed" | "productivity.ingest.skipped" | "productivity.ingest.repo_skipped" | "productivity.ingest.coverage_gap_detected" | "integrations.newrelic.added" | "integrations.newrelic.removed" | "integrations.newrelic.sync_completed" | "integrations.newrelic.sync_failed" | "integrations.prometheus.added" | "integrations.prometheus.removed" | "integrations.prometheus.sync_completed" | "integrations.prometheus.sync_failed" | "integrations.grafana.added" | "integrations.grafana.removed" | "integrations.grafana.sync_completed" | "integrations.grafana.sync_failed" | "integrations.datadog.added" | "integrations.datadog.removed" | "integrations.datadog.sync_completed" | "integrations.datadog.sync_failed" | "integrations.sentry.added" | "integrations.sentry.removed" | "integrations.sentry.sync_completed" | "integrations.sentry.sync_failed" | "integrations.zelt.added" | "integrations.zelt.removed" | "report.exported" | "report.assessment_stored" | "report.assessment_link_sent" | "report.assessment_link_revoked" | "report.assessment_downloaded" | "report.assessment_hidden" | "report.assessment_restored" | "workspace.aggregate_use.changed" | "workspace.assessment_rollout.changed" | "config.strict_insights_on_trust.changed";
|
|
11674
|
+
ActivityLogEventTypeDto: "repo.added" | "repo.removed" | "repo.readded" | "integration.github.added" | "integration.github.updated" | "integration.github.removed" | "integration.github.permissions_changed" | "integration.github.suspended" | "integration.github.unsuspended" | "integration.github.repo_added" | "integration.github.repo_removed" | "fix.requested" | "fix.generating" | "fix.pr_created" | "fix.merged" | "fix.failed" | "readiness.scan_started" | "readiness.scan_completed" | "readiness.scan_failed" | "readiness.scan_partial" | "readiness.agent_execution_fallback" | "code_insights.design_run_started" | "integrations.agent_execution.provider_changed" | "integrations.repo_eligibility.overrides_changed" | "integrations.repo_eligibility.languages_refresh_requested" | "rules_skills.soft_quality.override" | "integrations.cursor.platform_key_enabled" | "integrations.cursor.platform_key_disabled" | "member.invited" | "member.invite_accepted" | "member.invite_rejected" | "member.role_changed" | "member.removed" | "hris.personio.sync_started" | "hris.personio.sync_completed" | "hris.personio.sync_failed" | "hris.zenhr.sync_started" | "hris.zenhr.sync_completed" | "hris.zenhr.sync_failed" | "hris.zelt.sync_started" | "hris.zelt.sync_completed" | "hris.zelt.sync_failed" | "hris.hibob.sync_started" | "hris.hibob.sync_completed" | "hris.hibob.sync_failed" | "hris.sync_started" | "hris.sync_completed" | "hris.sync_failed" | "repo.sync_skipped" | "integrations.cursor.execution_key.added" | "integrations.cursor.execution_key.updated" | "integrations.cursor.execution_key.removed" | "integrations.cursor.execution_key.check_failed" | "integrations.cursor.admin_key.added" | "integrations.cursor.admin_key.updated" | "integrations.cursor.admin_key.removed" | "integrations.claude.execution_key.added" | "integrations.claude.execution_key.updated" | "integrations.claude.execution_key.removed" | "integrations.claude.execution_key.check_failed" | "integrations.claude.admin_key.added" | "integrations.claude.admin_key.updated" | "integrations.claude.admin_key.removed" | "integrations.claude.analytics_key.added" | "integrations.claude.analytics_key.updated" | "integrations.claude.analytics_key.removed" | "integrations.code_intelligence.settings_changed" | "integrations.code_intelligence.execution_key.added" | "integrations.code_intelligence.execution_key.updated" | "integrations.code_intelligence.execution_key.removed" | "integrations.code_intelligence.execution_key.check_failed" | "readiness.scan_precheck_failed" | "productivity.ingest.completed" | "productivity.ingest.failed" | "productivity.ingest.skipped" | "productivity.ingest.backfill_completed" | "productivity.ingest.repo_skipped" | "productivity.ingest.coverage_gap_detected" | "integrations.newrelic.added" | "integrations.newrelic.removed" | "integrations.newrelic.sync_completed" | "integrations.newrelic.sync_failed" | "integrations.prometheus.added" | "integrations.prometheus.removed" | "integrations.prometheus.sync_completed" | "integrations.prometheus.sync_failed" | "integrations.grafana.added" | "integrations.grafana.removed" | "integrations.grafana.sync_completed" | "integrations.grafana.sync_failed" | "integrations.datadog.added" | "integrations.datadog.removed" | "integrations.datadog.sync_completed" | "integrations.datadog.sync_failed" | "integrations.sentry.added" | "integrations.sentry.removed" | "integrations.sentry.sync_completed" | "integrations.sentry.sync_failed" | "integrations.zelt.added" | "integrations.zelt.removed" | "report.exported" | "report.assessment_stored" | "report.assessment_link_sent" | "report.assessment_link_revoked" | "report.assessment_downloaded" | "report.assessment_hidden" | "report.assessment_restored" | "workspace.aggregate_use.changed" | "workspace.assessment_rollout.changed" | "config.strict_insights_on_trust.changed";
|
|
11629
11675
|
/** @description Current legal-approved opt-in notice, or `unset` while opt-in is unavailable. */
|
|
11630
11676
|
AggregateUseNoticeStatusDto: {
|
|
11631
11677
|
/** @enum {string} */
|
|
@@ -15424,6 +15470,9 @@ export type PutNotificationEmailChannelsDto = components['schemas']['PutNotifica
|
|
|
15424
15470
|
export type PutNotificationChatChannelsDto = components['schemas']['PutNotificationChatChannelsDto'];
|
|
15425
15471
|
export type PutNotificationChannelsDto = components['schemas']['PutNotificationChannelsDto'];
|
|
15426
15472
|
export type PreferencesDto = components['schemas']['PreferencesDto'];
|
|
15473
|
+
export type DesignVersion = components['schemas']['DesignVersion'];
|
|
15474
|
+
export type DesignSwitchReason = components['schemas']['DesignSwitchReason'];
|
|
15475
|
+
export type PutDesignVersionBodyDto = components['schemas']['PutDesignVersionBodyDto'];
|
|
15427
15476
|
export type PutPreferencesBodyDto = components['schemas']['PutPreferencesBodyDto'];
|
|
15428
15477
|
export type NotificationChannelRequiredErrorDto = components['schemas']['NotificationChannelRequiredErrorDto'];
|
|
15429
15478
|
export type ValidationIssueDto = components['schemas']['ValidationIssueDto'];
|
|
@@ -30005,6 +30054,40 @@ export interface operations {
|
|
|
30005
30054
|
401: components["responses"]["Unauthorized"];
|
|
30006
30055
|
};
|
|
30007
30056
|
};
|
|
30057
|
+
putMyDesignVersion: {
|
|
30058
|
+
parameters: {
|
|
30059
|
+
query?: never;
|
|
30060
|
+
header?: never;
|
|
30061
|
+
path?: never;
|
|
30062
|
+
cookie?: never;
|
|
30063
|
+
};
|
|
30064
|
+
requestBody: {
|
|
30065
|
+
content: {
|
|
30066
|
+
"application/json": components["schemas"]["PutDesignVersionBodyDto"];
|
|
30067
|
+
};
|
|
30068
|
+
};
|
|
30069
|
+
responses: {
|
|
30070
|
+
/** @description Updated preferences including `designVersion` */
|
|
30071
|
+
200: {
|
|
30072
|
+
headers: {
|
|
30073
|
+
[name: string]: unknown;
|
|
30074
|
+
};
|
|
30075
|
+
content: {
|
|
30076
|
+
"application/json": components["schemas"]["PreferencesDto"];
|
|
30077
|
+
};
|
|
30078
|
+
};
|
|
30079
|
+
/** @description Validation failed (unknown fields, invalid version, reason, note, or route). */
|
|
30080
|
+
400: {
|
|
30081
|
+
headers: {
|
|
30082
|
+
[name: string]: unknown;
|
|
30083
|
+
};
|
|
30084
|
+
content: {
|
|
30085
|
+
"application/json": components["schemas"]["PreferencesValidationErrorDto"];
|
|
30086
|
+
};
|
|
30087
|
+
};
|
|
30088
|
+
401: components["responses"]["Unauthorized"];
|
|
30089
|
+
};
|
|
30090
|
+
};
|
|
30008
30091
|
getMyConsent: {
|
|
30009
30092
|
parameters: {
|
|
30010
30093
|
query?: never;
|