@thinkai/tai-api-contract 2.161.0 → 2.162.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.
@@ -2399,6 +2399,26 @@ export interface paths {
2399
2399
  patch?: never;
2400
2400
  trace?: never;
2401
2401
  };
2402
+ "/workspaces/{workspaceId}/assessment-dictionary": {
2403
+ parameters: {
2404
+ query?: never;
2405
+ header?: never;
2406
+ path?: never;
2407
+ cookie?: never;
2408
+ };
2409
+ /**
2410
+ * Read the versioned assessment launch dictionary
2411
+ * @description Returns approved assessment constants and explicit `unset` markers for unresolved decisions. Callers must fail closed instead of substituting values for an unset decision. Any workspace member may read it.
2412
+ */
2413
+ get: operations["getAssessmentDictionary"];
2414
+ put?: never;
2415
+ post?: never;
2416
+ delete?: never;
2417
+ options?: never;
2418
+ head?: never;
2419
+ patch?: never;
2420
+ trace?: never;
2421
+ };
2402
2422
  "/workspaces/{workspaceId}/report-center/exports": {
2403
2423
  parameters: {
2404
2424
  query?: never;
@@ -8705,6 +8725,65 @@ export interface components {
8705
8725
  * @enum {string}
8706
8726
  */
8707
8727
  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" | "code_insights.design_run_started" | "integrations.agent_execution.provider_changed" | "integrations.repo_eligibility.overrides_changed" | "integrations.repo_eligibility.languages_refresh_requested" | "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.zelt.added" | "integrations.zelt.removed" | "report.exported";
8728
+ UnsetAssessmentDecisionDto: {
8729
+ /** @enum {string} */
8730
+ status: "unset";
8731
+ };
8732
+ AssessmentDictionaryDto: {
8733
+ /** @enum {string} */
8734
+ version: "2026-10-18.1";
8735
+ /** @enum {integer} */
8736
+ periodDays: 90;
8737
+ /** @enum {integer} */
8738
+ transitionDays: 14;
8739
+ /** @enum {integer} */
8740
+ repairDays: 14;
8741
+ /** @enum {integer} */
8742
+ secureLinkDays: 14;
8743
+ /** @enum {integer} */
8744
+ accessDaysAfterDelivery: 30;
8745
+ /** @enum {integer} */
8746
+ maxRepositories: 50;
8747
+ /** @enum {integer} */
8748
+ maxActiveEngineers: 500;
8749
+ /** @enum {integer} */
8750
+ dataCoverageRefreshCapDays: 90;
8751
+ /** @enum {integer} */
8752
+ aiUsageMaxRangeDays: 180;
8753
+ /** @enum {integer} */
8754
+ cursorChunkDays: 30;
8755
+ /** @enum {integer} */
8756
+ claudeChunkDays: 31;
8757
+ watermarks: {
8758
+ /** @enum {string} */
8759
+ notValidated: "NOT VALIDATED";
8760
+ /** @enum {string} */
8761
+ syntheticSample: "SAMPLE · SYNTHETIC DATA";
8762
+ };
8763
+ offerIds: ("engineering_readiness_baseline" | "agentic_ai_roi")[];
8764
+ sourceProviders: ("github" | "gitlab" | "bitbucket")[];
8765
+ aiProviders: ("cursor" | "claude" | "copilot")[];
8766
+ optionalProviders: {
8767
+ roadmap: "jira"[];
8768
+ incident: ("pagerduty" | "opsgenie" | "goalert" | "newrelic" | "prometheus" | "grafana")[];
8769
+ };
8770
+ selfManagedGit: {
8771
+ /** @enum {string} */
8772
+ status: "supported";
8773
+ providers: ("gitlab_self_managed" | "bitbucket_data_center")[];
8774
+ };
8775
+ unresolved: {
8776
+ baselinePrice: components["schemas"]["UnsetAssessmentDecisionDto"];
8777
+ premiumPrice: components["schemas"]["UnsetAssessmentDecisionDto"];
8778
+ currency: components["schemas"]["UnsetAssessmentDecisionDto"];
8779
+ creditWindowDays: components["schemas"]["UnsetAssessmentDecisionDto"];
8780
+ jiraLinkageMinimum: components["schemas"]["UnsetAssessmentDecisionDto"];
8781
+ confounderRules: components["schemas"]["UnsetAssessmentDecisionDto"];
8782
+ activeEngineerRule: components["schemas"]["UnsetAssessmentDecisionDto"];
8783
+ workingDayCalendar: components["schemas"]["UnsetAssessmentDecisionDto"];
8784
+ countryAllowList: components["schemas"]["UnsetAssessmentDecisionDto"];
8785
+ };
8786
+ };
8708
8787
  /** @description Metadata for a successful Report Center PDF download. Secret-free; no table payloads. Recorded as `report.exported` on the workspace activity log. */
8709
8788
  ReportCenterExportRecordBodyDto: {
8710
8789
  /** @description Applied insights range id (e.g. `30d`, `cr:2026-01-01:2026-01-31`). */
@@ -11243,6 +11322,8 @@ export type PutAgenticFoundationRepoScopeAppliedDto = components['schemas']['Put
11243
11322
  export type PutAgenticFoundationRepoScopeFailureDto = components['schemas']['PutAgenticFoundationRepoScopeFailureDto'];
11244
11323
  export type PutAgenticFoundationRepoScopeResponseDto = components['schemas']['PutAgenticFoundationRepoScopeResponseDto'];
11245
11324
  export type ActivityLogEventTypeDto = components['schemas']['ActivityLogEventTypeDto'];
11325
+ export type UnsetAssessmentDecisionDto = components['schemas']['UnsetAssessmentDecisionDto'];
11326
+ export type AssessmentDictionaryDto = components['schemas']['AssessmentDictionaryDto'];
11246
11327
  export type ReportCenterExportRecordBodyDto = components['schemas']['ReportCenterExportRecordBodyDto'];
11247
11328
  export type ReportCenterExportRecordResponseDto = components['schemas']['ReportCenterExportRecordResponseDto'];
11248
11329
  export type ActivityLogActorDto = components['schemas']['ActivityLogActorDto'];
@@ -17869,6 +17950,39 @@ export interface operations {
17869
17950
  };
17870
17951
  };
17871
17952
  };
17953
+ getAssessmentDictionary: {
17954
+ parameters: {
17955
+ query?: never;
17956
+ header?: never;
17957
+ path: {
17958
+ workspaceId: components["parameters"]["WorkspaceId"];
17959
+ };
17960
+ cookie?: never;
17961
+ };
17962
+ requestBody?: never;
17963
+ responses: {
17964
+ /** @description Current assessment dictionary */
17965
+ 200: {
17966
+ headers: {
17967
+ [name: string]: unknown;
17968
+ };
17969
+ content: {
17970
+ "application/json": components["schemas"]["AssessmentDictionaryDto"];
17971
+ };
17972
+ };
17973
+ 401: components["responses"]["Unauthorized"];
17974
+ 403: components["responses"]["Forbidden"];
17975
+ /** @description Workspace does not exist */
17976
+ 404: {
17977
+ headers: {
17978
+ [name: string]: unknown;
17979
+ };
17980
+ content: {
17981
+ "application/json": components["schemas"]["ErrorMessageDto"];
17982
+ };
17983
+ };
17984
+ };
17985
+ };
17872
17986
  recordReportCenterExport: {
17873
17987
  parameters: {
17874
17988
  query?: never;