@thinkai/tai-api-contract 2.204.0 → 2.205.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.
@@ -724,7 +724,10 @@ export interface paths {
724
724
  path?: never;
725
725
  cookie?: never;
726
726
  };
727
- /** Effective org chart status (structure + identity) */
727
+ /**
728
+ * Effective org chart status (structure + identity)
729
+ * @description Returns structure source, HRIS identity mismatch samples, effective chart summary, and inactive-VCS identity samples (roster handles with no matching productivity contributor activity in the lookback). When the workspace has zero known VCS actors in the lookback, `identity.inactiveVcs.waitingForProductivitySync` is true and samples stay empty (no mass false positives).
730
+ */
728
731
  get: operations["getWorkspaceOrgChartStatus"];
729
732
  put?: never;
730
733
  post?: never;
@@ -5924,6 +5927,51 @@ export interface components {
5924
5927
  employeeId?: string;
5925
5928
  githubUsername?: string;
5926
5929
  };
5930
+ /**
5931
+ * @description Connected VCS provider family for an inactive handle sample.
5932
+ * @enum {string}
5933
+ */
5934
+ OrgChartInactiveVcsProviderDto: "github" | "bitbucket" | "gitlab";
5935
+ /**
5936
+ * @description Roster identity field that did not match productivity actors in the lookback.
5937
+ * @enum {string}
5938
+ */
5939
+ OrgChartInactiveVcsFieldDto: "githubUsername" | "gitlabUsername" | "bitbucketNickname" | "bitbucketUuid";
5940
+ /** @description One roster VCS handle with no case-insensitive match against known productivity / contributor actors in the lookback. Severity is warning; does not block Save. */
5941
+ OrgChartInactiveVcsIdentitySampleDto: {
5942
+ /** @description Org-chart person id (typically work email). */
5943
+ personId: string;
5944
+ /** @description Primary work email when known. */
5945
+ email?: string;
5946
+ /** @description Person display name from the org chart when known. */
5947
+ displayName?: string;
5948
+ provider: components["schemas"]["OrgChartInactiveVcsProviderDto"];
5949
+ field: components["schemas"]["OrgChartInactiveVcsFieldDto"];
5950
+ /** @description The roster handle value that did not match (trimmed, as stored). */
5951
+ handle: string;
5952
+ };
5953
+ /** @description Inactive-VCS identity quality for the org-structure page. Lookback prefers the workspace productivity ingest coverage window when productivity ingest has started; otherwise the last 90 days. When `actorCount` is 0, `waitingForProductivitySync` is true and samples stay empty. */
5954
+ OrgChartInactiveVcsIdentityDto: {
5955
+ /** @description True when no known VCS actors exist in the lookback (informational empty state; do not treat every roster handle as inactive). */
5956
+ waitingForProductivitySync: boolean;
5957
+ lookbackDays: number;
5958
+ /**
5959
+ * Format: date
5960
+ * @description Inclusive lookback start (UTC calendar day, YYYY-MM-DD).
5961
+ */
5962
+ lookbackFrom: string;
5963
+ /**
5964
+ * Format: date
5965
+ * @description Inclusive lookback end (UTC calendar day, YYYY-MM-DD).
5966
+ */
5967
+ lookbackTo: string;
5968
+ /** @description Distinct known VCS actor handles observed in the lookback. */
5969
+ actorCount: number;
5970
+ /** @description Full count of inactive roster handles (not capped). */
5971
+ inactiveVcsCount: number;
5972
+ /** @description Sample of inactive handles (cap ≥ unmatchedSample; at least 25). */
5973
+ inactiveVcsSample: components["schemas"]["OrgChartInactiveVcsIdentitySampleDto"][];
5974
+ };
5927
5975
  OrgChartStatusDto: {
5928
5976
  structure: {
5929
5977
  /** @enum {string} */
@@ -5940,6 +5988,7 @@ export interface components {
5940
5988
  updatedAt: string | null;
5941
5989
  unmatchedCount: number;
5942
5990
  unmatchedSample: components["schemas"]["OrgChartUnmatchedIdentitySampleDto"][];
5991
+ inactiveVcs: components["schemas"]["OrgChartInactiveVcsIdentityDto"];
5943
5992
  };
5944
5993
  effective: {
5945
5994
  personCount: number;
@@ -13323,6 +13372,10 @@ export type OrgChartSaveResultDto = components['schemas']['OrgChartSaveResultDto
13323
13372
  export type OrgStructureSourceBodyDto = components['schemas']['OrgStructureSourceBodyDto'];
13324
13373
  export type OrgChartStructureAvailabilityDto = components['schemas']['OrgChartStructureAvailabilityDto'];
13325
13374
  export type OrgChartUnmatchedIdentitySampleDto = components['schemas']['OrgChartUnmatchedIdentitySampleDto'];
13375
+ export type OrgChartInactiveVcsProviderDto = components['schemas']['OrgChartInactiveVcsProviderDto'];
13376
+ export type OrgChartInactiveVcsFieldDto = components['schemas']['OrgChartInactiveVcsFieldDto'];
13377
+ export type OrgChartInactiveVcsIdentitySampleDto = components['schemas']['OrgChartInactiveVcsIdentitySampleDto'];
13378
+ export type OrgChartInactiveVcsIdentityDto = components['schemas']['OrgChartInactiveVcsIdentityDto'];
13326
13379
  export type OrgChartStatusDto = components['schemas']['OrgChartStatusDto'];
13327
13380
  export type TenantSourceEntryDto = components['schemas']['TenantSourceEntryDto'];
13328
13381
  export type CursorSourceDto = components['schemas']['CursorSourceDto'];
@@ -16348,7 +16401,7 @@ export interface operations {
16348
16401
  };
16349
16402
  requestBody?: never;
16350
16403
  responses: {
16351
- /** @description Structure source, identity mappings, and effective chart summary */
16404
+ /** @description Structure source, identity mappings, inactive-VCS samples, and effective chart summary */
16352
16405
  200: {
16353
16406
  headers: {
16354
16407
  [name: string]: unknown;