@thinkai/tai-api-contract 2.33.1-pr.731.7 → 2.34.0-pr.810.1

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.
@@ -1549,30 +1549,6 @@ export interface paths {
1549
1549
  patch?: never;
1550
1550
  trace?: never;
1551
1551
  };
1552
- "/workspaces/{workspaceId}/repo-eligibility": {
1553
- parameters: {
1554
- query?: never;
1555
- header?: never;
1556
- path?: never;
1557
- cookie?: never;
1558
- };
1559
- /**
1560
- * Get repo-sync eligibility gate (defaults + per-workspace overrides)
1561
- * @description Returns the effective repo-sync eligibility gate (archived / fork / size / count) for the workspace: the global `defaults`, any per-workspace `overrides`, the merged `effective` values, and whether the caller can edit without platform-admin (`canEditUnrestricted`). Member-level read access.
1562
- */
1563
- get: operations["getWorkspaceRepoEligibility"];
1564
- /**
1565
- * Set per-workspace repo-sync eligibility overrides
1566
- * @description Set (or clear, with an empty `overrides`) the per-workspace repo-sync eligibility overrides. **Platform admins** may set any value (raise caps, `0` = unlimited, include archived/forks). **Workspace admins** may only make the gate *more restrictive* than the platform defaults (lower caps, exclude archived/forks) — exceeding a platform limit returns `403` (`repo_eligibility_bound_exceeded`). Requires workspace admin or platform admin.
1567
- */
1568
- put: operations["putWorkspaceRepoEligibility"];
1569
- post?: never;
1570
- delete?: never;
1571
- options?: never;
1572
- head?: never;
1573
- patch?: never;
1574
- trace?: never;
1575
- };
1576
1552
  "/workspaces/{workspaceId}/readiness/cursor-key-usage": {
1577
1553
  parameters: {
1578
1554
  query?: never;
@@ -1753,6 +1729,24 @@ export interface paths {
1753
1729
  patch?: never;
1754
1730
  trace?: never;
1755
1731
  };
1732
+ "/me/consent": {
1733
+ parameters: {
1734
+ query?: never;
1735
+ header?: never;
1736
+ path?: never;
1737
+ cookie?: never;
1738
+ };
1739
+ /** Get cookie/storage consent for current user */
1740
+ get: operations["getMyConsent"];
1741
+ /** Upsert cookie/storage consent */
1742
+ put: operations["putMyConsent"];
1743
+ post?: never;
1744
+ delete?: never;
1745
+ options?: never;
1746
+ head?: never;
1747
+ patch?: never;
1748
+ trace?: never;
1749
+ };
1756
1750
  "/workspaces/{workspaceId}/org-chart/import": {
1757
1751
  parameters: {
1758
1752
  query?: never;
@@ -2315,7 +2309,12 @@ export interface components {
2315
2309
  /** @description Short label for the week column (MM/DD), aligned with Measure charts. */
2316
2310
  weekLabel?: string;
2317
2311
  mergedPrCount: number;
2312
+ /** @description DORA change failure rate (deployments/incidents), not CI build failures. */
2318
2313
  failRatePercent: number;
2314
+ /** @description GitHub Actions / Checks CI build failure rate for the week bucket (failed runs / (failed + passed) * 100). Zero when GitHub Actions CI is disabled. */
2315
+ ciFailRatePercent?: number;
2316
+ /** @description Count of build.failed events in the week bucket when CI ingest is enabled. */
2317
+ ciBuildFailuresCount?: number;
2319
2318
  /** @description Mean hours from PR creation to first review in this week bucket. */
2320
2319
  avgReviewWaitHours?: number;
2321
2320
  /** @description Mean hours from first review to first approval in this week bucket. */
@@ -2348,6 +2347,8 @@ export interface components {
2348
2347
  scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
2349
2348
  /** Format: date-time */
2350
2349
  generatedAt: string;
2350
+ /** @description True when the workspace has opted in to GitHub Actions CI ingest. */
2351
+ githubActionsCiEnabled?: boolean;
2351
2352
  teams: components["schemas"]["ProductivityInsightsAggregatedTeamRowDto"][];
2352
2353
  };
2353
2354
  ProductivityInsightsMergedPrTrendWeekDto: {
@@ -2392,11 +2393,16 @@ export interface components {
2392
2393
  periodAvgMergedPrs: number;
2393
2394
  /** @description Average change failure rate over the range when available. */
2394
2395
  avgFailRatePercent?: number;
2396
+ /** @description Average GitHub Actions CI build failure rate over the range when CI ingest is enabled. */
2397
+ avgCiFailRatePercent?: number;
2395
2398
  };
2396
2399
  ProductivityInsightsTeamSummaryDto: {
2397
2400
  totalMergedPrs: number;
2398
2401
  avgMergedPrsPerWeek: number;
2402
+ /** @description Average DORA change failure rate over the range when available. */
2399
2403
  avgFailRatePercent: number;
2404
+ /** @description Average GitHub Actions CI build failure rate over the range when CI ingest is enabled. */
2405
+ avgCiFailRatePercent?: number;
2400
2406
  headcount: number;
2401
2407
  };
2402
2408
  ProductivityInsightsTeamDetailDto: {
@@ -2423,6 +2429,8 @@ export interface components {
2423
2429
  scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
2424
2430
  /** Format: date-time */
2425
2431
  generatedAt: string;
2432
+ /** @description True when the workspace has opted in to GitHub Actions CI ingest. */
2433
+ githubActionsCiEnabled?: boolean;
2426
2434
  /** @description Present when `teamId` query is omitted — top-ranked teams. */
2427
2435
  items?: components["schemas"]["ProductivityInsightsTeamLeaderItemDto"][];
2428
2436
  /** @description Present when `teamId` query is set — single-team drilldown. */
@@ -2470,11 +2478,16 @@ export interface components {
2470
2478
  totalMergedPrs: number;
2471
2479
  avgMergedPrsPerWeek: number;
2472
2480
  totalAbsenceDays: number;
2481
+ /** @description Average DORA change failure rate over the range when available. */
2473
2482
  avgFailRate: number;
2483
+ /** @description Average GitHub Actions CI build failure rate over the range when CI ingest is enabled. */
2484
+ avgCiFailRate?: number;
2474
2485
  mergedPrDelta: number;
2475
2486
  avgMergedPrsPerWeekDelta: number;
2476
2487
  totalAbsenceDaysDelta: number;
2477
2488
  avgFailRateDelta: number;
2489
+ /** @description Change in average CI build failure rate vs the prior comparison window. */
2490
+ avgCiFailRateDelta?: number;
2478
2491
  };
2479
2492
  ProductivityInsightsContributorDetailDto: {
2480
2493
  /** Format: uuid */
@@ -2486,6 +2499,8 @@ export interface components {
2486
2499
  scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
2487
2500
  /** Format: date-time */
2488
2501
  generatedAt: string;
2502
+ /** @description True when the workspace has opted in to GitHub Actions CI ingest. */
2503
+ githubActionsCiEnabled?: boolean;
2489
2504
  contributor: components["schemas"]["ProductivityInsightsContributorProfileDto"];
2490
2505
  weeks: components["schemas"]["ProductivityInsightsContributorActivityWeekDto"][];
2491
2506
  summary: components["schemas"]["ProductivityInsightsContributorActivitySummaryDto"];
@@ -2504,6 +2519,8 @@ export interface components {
2504
2519
  periodAvgMergedPrs: number;
2505
2520
  /** @description Mean weekly change-failure rate when available. */
2506
2521
  avgFailRatePercent?: number;
2522
+ /** @description Mean weekly GitHub Actions CI build failure rate when CI ingest is enabled. */
2523
+ avgCiFailRatePercent?: number;
2507
2524
  };
2508
2525
  ProductivityInsightsNeedsAttentionDto: {
2509
2526
  /** Format: uuid */
@@ -2514,6 +2531,8 @@ export interface components {
2514
2531
  entityType: "teams" | "contributors";
2515
2532
  /** Format: date-time */
2516
2533
  generatedAt: string;
2534
+ /** @description True when GitHub Actions CI ingest is enabled for this workspace. */
2535
+ githubActionsCiEnabled?: boolean;
2517
2536
  items: components["schemas"]["ProductivityInsightsNeedsAttentionItemDto"][];
2518
2537
  };
2519
2538
  AiUsageSpendAggregatedTeamWeekDto: {
@@ -2782,54 +2801,6 @@ export interface components {
2782
2801
  * @description Last push or metadata update from GitHub when available.
2783
2802
  */
2784
2803
  updatedAt?: string | null;
2785
- /** @description True when the repository is archived (read-only on GitHub). */
2786
- archived?: boolean | null;
2787
- /** @description True when the repository is a fork of another repository. */
2788
- fork?: boolean | null;
2789
- /** @description True when the repository is disabled on GitHub. */
2790
- disabled?: boolean | null;
2791
- /** @description Repository size in KB as reported by GitHub. */
2792
- size?: number | null;
2793
- /** @description All reasons this repo was skipped during sync or is ineligible for analysis. Each entry is a human-readable explanation (e.g. "This repo is archived"). Empty or absent means the repo passed all checks. */
2794
- ineligibleReasons?: string[] | null;
2795
- /**
2796
- * @description Language-based eligibility for Agentic-Foundation readiness analysis (issue #44). `ineligible` repos (no supported stack) render read-only/orange in the AF list with no analyze/score/fix actions. Mixed monorepos with a supported secondary stack are `eligible`. Distinct from `ineligibleReasons`, which reflects structural sync gates.
2797
- * @enum {string|null}
2798
- */
2799
- eligibilityStatus?: "eligible" | "ineligible" | null;
2800
- /** @description Human-readable explanation when `eligibilityStatus` is `ineligible` (e.g. "This repository's primary language (Python) is not supported in v1"). */
2801
- eligibilityReason?: string | null;
2802
- /** @description Dominant supported stack (by GitHub language bytes), one of backend_jvm | ios_app | web_spa | backend_go | backend_python. Null for ineligible repos. */
2803
- primaryStack?: string | null;
2804
- /** @description Second supported stack for a multi-stack repo, or null. */
2805
- secondaryStack?: string | null;
2806
- /** @description All supported stacks detected for the repo (ordered, primary first). Empty/null when no supported stack is present. Drives multi-stack scanning and the orange mixed-monorepo box in the AF UI. */
2807
- supportedStacks?: string[] | null;
2808
- };
2809
- /** @description Resolved repo-sync eligibility gate (defaults or effective). All fields present. */
2810
- RepoEligibilityConfigDto: {
2811
- /** @description Skip archived repos during GitHub repo sync. */
2812
- excludeArchived: boolean;
2813
- /** @description Skip forked repos. Forks are included by default. */
2814
- excludeForks: boolean;
2815
- /** @description Max repo size in KB (GitHub-reported). 0 = no limit. */
2816
- maxRepoSizeKb: number;
2817
- /** @description Max repos materialized per workspace per sync. 0 = no limit. */
2818
- maxReposPerWorkspace: number;
2819
- };
2820
- /** @description Per-workspace overrides for the repo-sync eligibility gate. Any field present wins over the global default; omit a field to inherit the default. An empty object clears all overrides. */
2821
- RepoEligibilityOverridesDto: {
2822
- excludeArchived?: boolean | null;
2823
- excludeForks?: boolean | null;
2824
- maxRepoSizeKb?: number | null;
2825
- maxReposPerWorkspace?: number | null;
2826
- };
2827
- WorkspaceRepoEligibilityDto: {
2828
- defaults: components["schemas"]["RepoEligibilityConfigDto"];
2829
- overrides: components["schemas"]["RepoEligibilityOverridesDto"];
2830
- effective: components["schemas"]["RepoEligibilityConfigDto"];
2831
- /** @description True when the caller is a platform admin (may set any value, incl. raising caps). */
2832
- canEditUnrestricted: boolean;
2833
2804
  };
2834
2805
  GithubMissingPermissionDto: {
2835
2806
  /** @description GitHub App permission key (e.g. contents, pull_requests). */
@@ -3228,7 +3199,7 @@ export interface components {
3228
3199
  scorePercent?: number;
3229
3200
  /** @description Per-criterion status counts from the latest successful scan */
3230
3201
  criteriaSummary?: components["schemas"]["ReadinessCriteriaSummaryDto"] | null;
3231
- /** @description Individual rubric criterion outcomes from the latest successful scan. Always present on the single-repo detail endpoint; empty array when no scan has completed yet for this dimension. */
3202
+ /** @description Individual rubric criterion outcomes from the latest successful scan. Always present on the single-repo detail endpoint. When the repo has a succeeded scan but a dimension was not evaluated (e.g. Section I on older runs), the API returns full rubric placeholders with status `blocked`. Empty array only when the repo has no succeeded scan yet. */
3232
3203
  criteriaDetails: components["schemas"]["CriterionDetailDto"][];
3233
3204
  issues: components["schemas"]["ReadinessIssueDto"][];
3234
3205
  };
@@ -3322,19 +3293,6 @@ export interface components {
3322
3293
  * @enum {string|null}
3323
3294
  */
3324
3295
  archivedReason?: "github_removed" | "installation_disconnected" | "installation_replaced" | "superseded" | null;
3325
- /**
3326
- * @description Language-based eligibility for Agentic-Foundation analysis (#44). `ineligible` repos (no v1-supported stack) render read-only/orange in the AF list with no analyze/score/fix actions; the server also rejects analyze requests for them. Null until the first sync/scan computes it.
3327
- * @enum {string|null}
3328
- */
3329
- eligibilityStatus?: "eligible" | "ineligible" | null;
3330
- /** @description Human-readable explanation when `eligibilityStatus` is `ineligible`. */
3331
- eligibilityReason?: string | null;
3332
- /** @description Dominant supported stack — backend_jvm | ios_app | web_spa | backend_go | backend_python. Null when ineligible/uncomputed. */
3333
- primaryStack?: string | null;
3334
- /** @description Second supported stack for a multi-stack repo, or null. */
3335
- secondaryStack?: string | null;
3336
- /** @description All supported stacks detected (ordered, primary first). Empty/null when none. */
3337
- supportedStacks?: string[] | null;
3338
3296
  };
3339
3297
  /** @description Single-repo detail response. Identical to RepoReadinessScoreDto except dimensions use DimensionScoreDetailDto (criteriaDetails required per dimension). */
3340
3298
  RepoReadinessScoreDetailDto: {
@@ -3661,6 +3619,34 @@ export interface components {
3661
3619
  /** @description Temporary backward-compatibility alias (e.g. "Invalid timezone"). */
3662
3620
  legacyError?: string | null;
3663
3621
  };
3622
+ ConsentCategoriesDto: {
3623
+ /** @description Functional storage (preferences, onboarding, UI state). */
3624
+ functional: boolean;
3625
+ /** @description Analytics and product telemetry in the browser. */
3626
+ analytics: boolean;
3627
+ /** @description Advertising and remarketing tags. */
3628
+ marketing: boolean;
3629
+ };
3630
+ PutConsentBodyDto: {
3631
+ /** @description Cookie policy version the user consented to. */
3632
+ policyVersion: string;
3633
+ categories: components["schemas"]["ConsentCategoriesDto"];
3634
+ };
3635
+ ConsentRecordDto: {
3636
+ policyVersion: string;
3637
+ categories: components["schemas"]["ConsentCategoriesDto"];
3638
+ /**
3639
+ * Format: date-time
3640
+ * @description When consent was last recorded (UTC).
3641
+ */
3642
+ recordedAt: string;
3643
+ };
3644
+ ConsentValidationErrorDto: {
3645
+ /** @enum {string} */
3646
+ error: "ValidationError";
3647
+ issues: components["schemas"]["ValidationIssueDto"][];
3648
+ legacyError?: string | null;
3649
+ };
3664
3650
  OrgChartImportBodyDto: {
3665
3651
  /** @description Path in `org-charts` bucket after Supabase upload */
3666
3652
  storagePath: string;
@@ -3796,7 +3782,7 @@ export interface components {
3796
3782
  * @description Type of workspace lifecycle event.
3797
3783
  * @enum {string}
3798
3784
  */
3799
- ActivityLogEventTypeDto: "repo.added" | "repo.removed" | "repo.readded" | "integration.github.added" | "integration.github.updated" | "integration.github.removed" | "integration.github.permissions_changed" | "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" | "integrations.agent_execution.provider_changed" | "integrations.repo_eligibility.overrides_changed" | "integrations.cursor.platform_key_enabled" | "integrations.cursor.platform_key_disabled" | "member.invited" | "member.role_changed" | "member.removed" | "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" | "readiness.scan_precheck_failed" | "productivity.ingest.completed" | "productivity.ingest.failed" | "productivity.ingest.skipped";
3785
+ ActivityLogEventTypeDto: "repo.added" | "repo.removed" | "repo.readded" | "integration.github.added" | "integration.github.updated" | "integration.github.removed" | "integration.github.permissions_changed" | "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" | "config.cursor.added" | "config.cursor.updated" | "config.cursor.removed" | "config.cursor.platform_key_enabled" | "config.cursor.platform_key_disabled" | "config.claude.added" | "config.claude.updated" | "config.claude.removed" | "config.agent_execution.provider_changed" | "member.invited" | "member.role_changed" | "member.removed";
3800
3786
  ActivityLogActorDto: {
3801
3787
  /** Format: uuid */
3802
3788
  userId: string;
@@ -4167,9 +4153,6 @@ export type CreateWorkspaceBodyDto = components['schemas']['CreateWorkspaceBodyD
4167
4153
  export type CompanyProfileDto = components['schemas']['CompanyProfileDto'];
4168
4154
  export type GithubAccountDto = components['schemas']['GithubAccountDto'];
4169
4155
  export type GithubInstalledRepoDto = components['schemas']['GithubInstalledRepoDto'];
4170
- export type RepoEligibilityConfigDto = components['schemas']['RepoEligibilityConfigDto'];
4171
- export type RepoEligibilityOverridesDto = components['schemas']['RepoEligibilityOverridesDto'];
4172
- export type WorkspaceRepoEligibilityDto = components['schemas']['WorkspaceRepoEligibilityDto'];
4173
4156
  export type GithubMissingPermissionDto = components['schemas']['GithubMissingPermissionDto'];
4174
4157
  export type GithubInstallationSummaryDto = components['schemas']['GithubInstallationSummaryDto'];
4175
4158
  export type GithubPendingApprovalDto = components['schemas']['GithubPendingApprovalDto'];
@@ -4260,6 +4243,10 @@ export type NotificationPreferencesDto = components['schemas']['NotificationPref
4260
4243
  export type PreferencesDto = components['schemas']['PreferencesDto'];
4261
4244
  export type ValidationIssueDto = components['schemas']['ValidationIssueDto'];
4262
4245
  export type PreferencesValidationErrorDto = components['schemas']['PreferencesValidationErrorDto'];
4246
+ export type ConsentCategoriesDto = components['schemas']['ConsentCategoriesDto'];
4247
+ export type PutConsentBodyDto = components['schemas']['PutConsentBodyDto'];
4248
+ export type ConsentRecordDto = components['schemas']['ConsentRecordDto'];
4249
+ export type ConsentValidationErrorDto = components['schemas']['ConsentValidationErrorDto'];
4263
4250
  export type OrgChartImportBodyDto = components['schemas']['OrgChartImportBodyDto'];
4264
4251
  export type YourAiJourneyPrSignalsWeekDto = components['schemas']['YourAiJourneyPrSignalsWeekDto'];
4265
4252
  export type YourAiJourneyPrSignalsDto = components['schemas']['YourAiJourneyPrSignalsDto'];
@@ -7355,10 +7342,6 @@ export interface operations {
7355
7342
  offset?: components["parameters"]["PaginationOffset"];
7356
7343
  /** @description Sort direction. */
7357
7344
  order?: components["parameters"]["PaginationOrder"];
7358
- /** @description Server-side sort column (the activity "5 W's"). Combined with `order` (asc/desc). Defaults to `when` (occurredAt). `occurredAt`/`id` is always the tiebreaker. */
7359
- sort?: "when" | "who" | "what" | "why" | "where";
7360
- /** @description Coarse product-area grouping filter (#156). `integration` = GitHub + AI-tool key events; `agentic_foundation` = repos, readiness scans, fixes; `workspace_team` = members + HRIS; `productivity` = productivity ingest lifecycle events. Omit (or pass `all`) for every area. */
7361
- productArea?: "integration" | "agentic_foundation" | "workspace_team" | "productivity" | "all";
7362
7345
  /** @description Filter to a specific event type. */
7363
7346
  eventType?: components["schemas"]["ActivityLogEventTypeDto"];
7364
7347
  /** @description Filter to events performed by a specific user (UUID). */
@@ -8302,80 +8285,6 @@ export interface operations {
8302
8285
  403: components["responses"]["Forbidden"];
8303
8286
  };
8304
8287
  };
8305
- getWorkspaceRepoEligibility: {
8306
- parameters: {
8307
- query?: never;
8308
- header?: never;
8309
- path: {
8310
- workspaceId: components["parameters"]["WorkspaceId"];
8311
- };
8312
- cookie?: never;
8313
- };
8314
- requestBody?: never;
8315
- responses: {
8316
- /** @description Effective repo-eligibility configuration */
8317
- 200: {
8318
- headers: {
8319
- [name: string]: unknown;
8320
- };
8321
- content: {
8322
- "application/json": components["schemas"]["WorkspaceRepoEligibilityDto"];
8323
- };
8324
- };
8325
- 401: components["responses"]["Unauthorized"];
8326
- 403: components["responses"]["Forbidden"];
8327
- };
8328
- };
8329
- putWorkspaceRepoEligibility: {
8330
- parameters: {
8331
- query?: never;
8332
- header?: never;
8333
- path: {
8334
- workspaceId: components["parameters"]["WorkspaceId"];
8335
- };
8336
- cookie?: never;
8337
- };
8338
- requestBody: {
8339
- content: {
8340
- "application/json": {
8341
- overrides: components["schemas"]["RepoEligibilityOverridesDto"];
8342
- };
8343
- };
8344
- };
8345
- responses: {
8346
- /** @description Overrides saved */
8347
- 200: {
8348
- headers: {
8349
- [name: string]: unknown;
8350
- };
8351
- content: {
8352
- "application/json": {
8353
- overrides: components["schemas"]["RepoEligibilityOverridesDto"];
8354
- effective: components["schemas"]["RepoEligibilityConfigDto"];
8355
- };
8356
- };
8357
- };
8358
- /** @description Invalid request body */
8359
- 400: {
8360
- headers: {
8361
- [name: string]: unknown;
8362
- };
8363
- content: {
8364
- "application/json": components["schemas"]["ErrorMessageDto"];
8365
- };
8366
- };
8367
- 401: components["responses"]["Unauthorized"];
8368
- /** @description Forbidden, or a workspace-admin value exceeds a platform limit (`repo_eligibility_bound_exceeded`) */
8369
- 403: {
8370
- headers: {
8371
- [name: string]: unknown;
8372
- };
8373
- content: {
8374
- "application/json": components["schemas"]["ErrorMessageDto"];
8375
- };
8376
- };
8377
- };
8378
- };
8379
8288
  getCursorKeyUsage: {
8380
8289
  parameters: {
8381
8290
  query?: never;
@@ -8765,6 +8674,70 @@ export interface operations {
8765
8674
  401: components["responses"]["Unauthorized"];
8766
8675
  };
8767
8676
  };
8677
+ getMyConsent: {
8678
+ parameters: {
8679
+ query?: never;
8680
+ header?: never;
8681
+ path?: never;
8682
+ cookie?: never;
8683
+ };
8684
+ requestBody?: never;
8685
+ responses: {
8686
+ /** @description Consent record */
8687
+ 200: {
8688
+ headers: {
8689
+ [name: string]: unknown;
8690
+ };
8691
+ content: {
8692
+ "application/json": components["schemas"]["ConsentRecordDto"];
8693
+ };
8694
+ };
8695
+ 401: components["responses"]["Unauthorized"];
8696
+ /** @description No consent record stored yet */
8697
+ 404: {
8698
+ headers: {
8699
+ [name: string]: unknown;
8700
+ };
8701
+ content: {
8702
+ "application/json": components["schemas"]["ErrorMessageDto"];
8703
+ };
8704
+ };
8705
+ };
8706
+ };
8707
+ putMyConsent: {
8708
+ parameters: {
8709
+ query?: never;
8710
+ header?: never;
8711
+ path?: never;
8712
+ cookie?: never;
8713
+ };
8714
+ requestBody: {
8715
+ content: {
8716
+ "application/json": components["schemas"]["PutConsentBodyDto"];
8717
+ };
8718
+ };
8719
+ responses: {
8720
+ /** @description Saved consent record */
8721
+ 200: {
8722
+ headers: {
8723
+ [name: string]: unknown;
8724
+ };
8725
+ content: {
8726
+ "application/json": components["schemas"]["ConsentRecordDto"];
8727
+ };
8728
+ };
8729
+ /** @description Validation failed */
8730
+ 400: {
8731
+ headers: {
8732
+ [name: string]: unknown;
8733
+ };
8734
+ content: {
8735
+ "application/json": components["schemas"]["ConsentValidationErrorDto"];
8736
+ };
8737
+ };
8738
+ 401: components["responses"]["Unauthorized"];
8739
+ };
8740
+ };
8768
8741
  postOrgChartImport: {
8769
8742
  parameters: {
8770
8743
  query?: never;