@thinkai/tai-api-contract 2.210.1 → 2.211.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.
- package/dist/generated/openapi.d.ts +135 -59
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +10 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/journeySteps.d.ts.map +1 -1
- package/dist/journeySteps.js +2 -1
- package/dist/journeySteps.js.map +1 -1
- package/openapi/openapi.yaml +118 -63
- package/openapi/x-test-status-map.json +96 -61
- package/package.json +1 -1
- package/src/generated/openapi.ts +135 -59
- package/src/index.ts +10 -10
- package/src/journeySteps.ts +2 -1
package/src/index.ts
CHANGED
|
@@ -1747,7 +1747,7 @@ export interface HrisProviderSyncResultDto {
|
|
|
1747
1747
|
error?: string;
|
|
1748
1748
|
}
|
|
1749
1749
|
|
|
1750
|
-
/** Response body for POST /workspaces/:id/
|
|
1750
|
+
/** Response body for POST /workspaces/:id/connectors/zenhr/reconnect. */
|
|
1751
1751
|
export interface ZenHrReconnectResultDto {
|
|
1752
1752
|
ok: boolean;
|
|
1753
1753
|
/** When true with ok=false, the SPA should start ZenHR OAuth next. */
|
|
@@ -1774,7 +1774,7 @@ export interface HrisTriggerSyncResultDto {
|
|
|
1774
1774
|
providers?: HrisProviderSyncResultDto[];
|
|
1775
1775
|
}
|
|
1776
1776
|
|
|
1777
|
-
/** Weekly bucket in GET .../
|
|
1777
|
+
/** Weekly bucket in GET .../connectors/ai-tool/:provider/summary */
|
|
1778
1778
|
export interface AiToolProviderSummaryWeekBucketDto {
|
|
1779
1779
|
weekLabel: string;
|
|
1780
1780
|
spendCents: number;
|
|
@@ -1790,7 +1790,7 @@ export interface AiToolProviderSummaryTopMoverDto {
|
|
|
1790
1790
|
currentSpendCents: number;
|
|
1791
1791
|
}
|
|
1792
1792
|
|
|
1793
|
-
/** Response for GET .../
|
|
1793
|
+
/** Response for GET .../connectors/ai-tool/:provider/summary */
|
|
1794
1794
|
export interface AiToolProviderSummaryDto {
|
|
1795
1795
|
provider: string;
|
|
1796
1796
|
from: string;
|
|
@@ -1811,7 +1811,7 @@ export interface AiToolProviderSummaryDto {
|
|
|
1811
1811
|
generatedAt: string;
|
|
1812
1812
|
}
|
|
1813
1813
|
|
|
1814
|
-
/** One day in GET .../
|
|
1814
|
+
/** One day in GET .../connectors/ai-tool/:provider/daily-series */
|
|
1815
1815
|
export interface AiToolDailySeriesPointDto {
|
|
1816
1816
|
day: string;
|
|
1817
1817
|
label: string;
|
|
@@ -1821,7 +1821,7 @@ export interface AiToolDailySeriesPointDto {
|
|
|
1821
1821
|
models: Record<string, number>;
|
|
1822
1822
|
}
|
|
1823
1823
|
|
|
1824
|
-
/** Response for GET .../
|
|
1824
|
+
/** Response for GET .../connectors/ai-tool/:provider/daily-series */
|
|
1825
1825
|
export interface AiToolDailySeriesDto {
|
|
1826
1826
|
provider: string;
|
|
1827
1827
|
from: string;
|
|
@@ -1837,7 +1837,7 @@ export interface AiToolDailySeriesDto {
|
|
|
1837
1837
|
generatedAt: string;
|
|
1838
1838
|
}
|
|
1839
1839
|
|
|
1840
|
-
/** One model row in GET .../
|
|
1840
|
+
/** One model row in GET .../connectors/ai-tool/:provider/model-breakdown */
|
|
1841
1841
|
export interface AiToolModelBreakdownItemDto {
|
|
1842
1842
|
modelName: string;
|
|
1843
1843
|
spendCents: number;
|
|
@@ -1845,7 +1845,7 @@ export interface AiToolModelBreakdownItemDto {
|
|
|
1845
1845
|
activeUsers: number;
|
|
1846
1846
|
}
|
|
1847
1847
|
|
|
1848
|
-
/** Response for GET .../
|
|
1848
|
+
/** Response for GET .../connectors/ai-tool/:provider/model-breakdown */
|
|
1849
1849
|
export interface AiToolModelBreakdownDto {
|
|
1850
1850
|
provider: string;
|
|
1851
1851
|
from: string;
|
|
@@ -1869,7 +1869,7 @@ export interface AiToolMemberSummaryDto {
|
|
|
1869
1869
|
productBreakdownCents?: Record<string, number>;
|
|
1870
1870
|
}
|
|
1871
1871
|
|
|
1872
|
-
/** Paginated response for GET .../
|
|
1872
|
+
/** Paginated response for GET .../connectors/ai-tool/:provider/members */
|
|
1873
1873
|
export interface AiToolMembersListDto {
|
|
1874
1874
|
members: AiToolMemberSummaryDto[];
|
|
1875
1875
|
total: number;
|
|
@@ -1887,7 +1887,7 @@ export interface AiToolTeamSummaryDto {
|
|
|
1887
1887
|
tokenCount: number;
|
|
1888
1888
|
}
|
|
1889
1889
|
|
|
1890
|
-
/** Response for GET .../
|
|
1890
|
+
/** Response for GET .../connectors/ai-tool/:provider/teams */
|
|
1891
1891
|
export interface AiToolTeamsListDto {
|
|
1892
1892
|
teams: AiToolTeamSummaryDto[];
|
|
1893
1893
|
total: number;
|
|
@@ -1916,7 +1916,7 @@ export interface AiToolMemberHeatmapDayDto {
|
|
|
1916
1916
|
tokenCount: number;
|
|
1917
1917
|
}
|
|
1918
1918
|
|
|
1919
|
-
/** Response for GET .../
|
|
1919
|
+
/** Response for GET .../connectors/ai-tool/:provider/members/:externalId */
|
|
1920
1920
|
export interface AiToolMemberDetailDto {
|
|
1921
1921
|
externalId: string;
|
|
1922
1922
|
email: string;
|
package/src/journeySteps.ts
CHANGED
|
@@ -41,8 +41,9 @@ export const JOURNEY_STEP_REGISTRY: readonly StepDef[] = [
|
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
id: "onboarding.integrations",
|
|
44
|
-
route: "/onboarding/
|
|
44
|
+
route: "/onboarding/connectors",
|
|
45
45
|
aliases: [
|
|
46
|
+
"/onboarding/integrations",
|
|
46
47
|
"/onboarding/platform",
|
|
47
48
|
"/phase-a/p3",
|
|
48
49
|
"/phase-a/p4",
|