@thinkai/tai-api-contract 2.203.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.
- package/dist/generated/openapi.d.ts +57 -2
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/openapi/openapi.yaml +101 -3
- package/package.json +1 -1
- package/src/generated/openapi.ts +57 -2
- package/src/index.ts +2 -0
|
@@ -724,7 +724,10 @@ export interface paths {
|
|
|
724
724
|
path?: never;
|
|
725
725
|
cookie?: never;
|
|
726
726
|
};
|
|
727
|
-
/**
|
|
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;
|
|
@@ -7253,6 +7302,8 @@ export interface components {
|
|
|
7253
7302
|
provider: "cursor" | "claude";
|
|
7254
7303
|
/** @description Provider member external id for the member detail route. */
|
|
7255
7304
|
externalId: string;
|
|
7305
|
+
/** @description Optional human-readable member name for overview link and card copy when resolved from org chart or seat roster. */
|
|
7306
|
+
displayName?: string;
|
|
7256
7307
|
};
|
|
7257
7308
|
/** @description One Key Insights panel card. Base fields (`id`, `tone`, `text`) apply to all insights. When `id` is `model_right_sizing`, clients MUST treat `dataQuality`, `limitation`, `recommendedAction`, and `evidence` as required; `scope` and `drilldown` are optional (person cards may set both). */
|
|
7258
7309
|
AiUsageSpendKeyInsightItemDto: {
|
|
@@ -13321,6 +13372,10 @@ export type OrgChartSaveResultDto = components['schemas']['OrgChartSaveResultDto
|
|
|
13321
13372
|
export type OrgStructureSourceBodyDto = components['schemas']['OrgStructureSourceBodyDto'];
|
|
13322
13373
|
export type OrgChartStructureAvailabilityDto = components['schemas']['OrgChartStructureAvailabilityDto'];
|
|
13323
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'];
|
|
13324
13379
|
export type OrgChartStatusDto = components['schemas']['OrgChartStatusDto'];
|
|
13325
13380
|
export type TenantSourceEntryDto = components['schemas']['TenantSourceEntryDto'];
|
|
13326
13381
|
export type CursorSourceDto = components['schemas']['CursorSourceDto'];
|
|
@@ -16346,7 +16401,7 @@ export interface operations {
|
|
|
16346
16401
|
};
|
|
16347
16402
|
requestBody?: never;
|
|
16348
16403
|
responses: {
|
|
16349
|
-
/** @description Structure source, identity mappings, and effective chart summary */
|
|
16404
|
+
/** @description Structure source, identity mappings, inactive-VCS samples, and effective chart summary */
|
|
16350
16405
|
200: {
|
|
16351
16406
|
headers: {
|
|
16352
16407
|
[name: string]: unknown;
|