@thinkai/tai-api-contract 2.231.2 → 2.234.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 +398 -0
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +55 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/openapi/openapi.yaml +471 -1
- package/package.json +1 -1
- package/src/generated/openapi.ts +398 -0
- package/src/index.ts +61 -0
|
@@ -4527,6 +4527,26 @@ export interface paths {
|
|
|
4527
4527
|
patch?: never;
|
|
4528
4528
|
trace?: never;
|
|
4529
4529
|
};
|
|
4530
|
+
"/workspaces/{workspaceId}/code-chat/indexes/{indexId}/arch-doc": {
|
|
4531
|
+
parameters: {
|
|
4532
|
+
query?: never;
|
|
4533
|
+
header?: never;
|
|
4534
|
+
path?: never;
|
|
4535
|
+
cookie?: never;
|
|
4536
|
+
};
|
|
4537
|
+
/**
|
|
4538
|
+
* Architecture document (.arch.md) for one repository index
|
|
4539
|
+
* @description The standard-shaped architecture document the last scan stored, beside how the document step ended. It is written during indexing from the code, and is the only architecture artifact: the short fields Ask searches are read out of it. Read-only; never calls a model. A repository scanned without documents returns status `missing` and a plain-words next step.
|
|
4540
|
+
*/
|
|
4541
|
+
get: operations["getCodeChatArchDoc"];
|
|
4542
|
+
put?: never;
|
|
4543
|
+
post?: never;
|
|
4544
|
+
delete?: never;
|
|
4545
|
+
options?: never;
|
|
4546
|
+
head?: never;
|
|
4547
|
+
patch?: never;
|
|
4548
|
+
trace?: never;
|
|
4549
|
+
};
|
|
4530
4550
|
"/workspaces/{workspaceId}/code-chat/indexes/{indexId}/wiki-config": {
|
|
4531
4551
|
parameters: {
|
|
4532
4552
|
query?: never;
|
|
@@ -6035,6 +6055,54 @@ export interface paths {
|
|
|
6035
6055
|
patch?: never;
|
|
6036
6056
|
trace?: never;
|
|
6037
6057
|
};
|
|
6058
|
+
"/workspaces/{workspaceId}/hris/roster": {
|
|
6059
|
+
parameters: {
|
|
6060
|
+
query?: never;
|
|
6061
|
+
header?: never;
|
|
6062
|
+
path?: never;
|
|
6063
|
+
cookie?: never;
|
|
6064
|
+
};
|
|
6065
|
+
/**
|
|
6066
|
+
* List HRIS roster people
|
|
6067
|
+
* @description Returns the merge-safe HRIS roster (provider fields + user overlay + sync presence) for a provider. Lazy-bootstraps from `hris_spa_org_chart` when the roster blob is empty. Requires workspace membership.
|
|
6068
|
+
*/
|
|
6069
|
+
get: operations["getHrisRoster"];
|
|
6070
|
+
put?: never;
|
|
6071
|
+
post?: never;
|
|
6072
|
+
delete?: never;
|
|
6073
|
+
options?: never;
|
|
6074
|
+
head?: never;
|
|
6075
|
+
/**
|
|
6076
|
+
* Patch HRIS roster overlay fields
|
|
6077
|
+
* @description Updates user overlay fields and/or presence actions (dismiss new, archive missing) by employeeId. Rematerializes the effective org chart when structure source is HRIS. Does not request a productivity remount. Requires workspace editor.
|
|
6078
|
+
*/
|
|
6079
|
+
patch: operations["patchHrisRoster"];
|
|
6080
|
+
trace?: never;
|
|
6081
|
+
};
|
|
6082
|
+
"/workspaces/{workspaceId}/hris/roster.csv": {
|
|
6083
|
+
parameters: {
|
|
6084
|
+
query?: never;
|
|
6085
|
+
header?: never;
|
|
6086
|
+
path?: never;
|
|
6087
|
+
cookie?: never;
|
|
6088
|
+
};
|
|
6089
|
+
/**
|
|
6090
|
+
* Download HRIS roster as CSV
|
|
6091
|
+
* @description Exports effective roster rows (provider + overlay) as CSV using org-chart column headers. Requires workspace membership.
|
|
6092
|
+
*/
|
|
6093
|
+
get: operations["downloadHrisRosterCsv"];
|
|
6094
|
+
put?: never;
|
|
6095
|
+
/**
|
|
6096
|
+
* Import HRIS roster overlay CSV
|
|
6097
|
+
* @description Parses CSV (org-chart headers) and merges overlay columns onto existing roster rows by employee_id (then email). Requires workspace editor.
|
|
6098
|
+
*/
|
|
6099
|
+
post: operations["importHrisRosterCsv"];
|
|
6100
|
+
delete?: never;
|
|
6101
|
+
options?: never;
|
|
6102
|
+
head?: never;
|
|
6103
|
+
patch?: never;
|
|
6104
|
+
trace?: never;
|
|
6105
|
+
};
|
|
6038
6106
|
"/workspaces/{workspaceId}/evals/packs": {
|
|
6039
6107
|
parameters: {
|
|
6040
6108
|
query?: never;
|
|
@@ -7521,6 +7589,29 @@ export interface components {
|
|
|
7521
7589
|
reason: components["schemas"]["AgentExecutionSkipReasonDto"];
|
|
7522
7590
|
}[];
|
|
7523
7591
|
};
|
|
7592
|
+
/** @description Model ids for one Code Intelligence task. A model id left out uses the platform default for the task (or, for `ask_explore`, the `ask_synthesize` pick). `useWorkspaceModel: true` runs the workspace-wide `cursorModel` / `claudeModel` instead and cannot be combined with a model id. */
|
|
7593
|
+
CodeIntelligenceTaskModelDto: {
|
|
7594
|
+
/** @description When true, the task runs the workspace-wide model instead of the platform default. */
|
|
7595
|
+
useWorkspaceModel?: boolean | null;
|
|
7596
|
+
cursorModel?: string | null;
|
|
7597
|
+
claudeModel?: string | null;
|
|
7598
|
+
};
|
|
7599
|
+
/** @description Platform default model ids per Code Intelligence task. */
|
|
7600
|
+
CodeIntelligenceTaskModelDefaultsDto: {
|
|
7601
|
+
index_bulk: components["schemas"]["CodeIntelligenceTaskModelDefaultDto"];
|
|
7602
|
+
ask_synthesize: components["schemas"]["CodeIntelligenceTaskModelDefaultDto"];
|
|
7603
|
+
ask_explore: components["schemas"]["CodeIntelligenceTaskModelDefaultDto"];
|
|
7604
|
+
};
|
|
7605
|
+
CodeIntelligenceTaskModelDefaultDto: {
|
|
7606
|
+
cursorModel: string;
|
|
7607
|
+
claudeModel: string;
|
|
7608
|
+
};
|
|
7609
|
+
/** @description Per-task model routing for Code Intelligence (ECG use cases). `index_bulk` is high-volume index-time work (rule-card describe, wiki outline and enrich). `ask_synthesize` writes the Ask answer. `ask_explore` is the Explore planner and inherits `ask_synthesize` when its cell is empty. A task with no cell runs the platform default for that task (see `codeIntelligenceTaskModelDefaults` on the workspace configuration). Set `useWorkspaceModel` on a task to run the workspace-wide `cursorModel` / `claudeModel` instead. Null clears every per-task model. Unknown task keys are rejected. */
|
|
7610
|
+
CodeIntelligenceModelsByTaskDto: {
|
|
7611
|
+
index_bulk?: components["schemas"]["CodeIntelligenceTaskModelDto"];
|
|
7612
|
+
ask_synthesize?: components["schemas"]["CodeIntelligenceTaskModelDto"];
|
|
7613
|
+
ask_explore?: components["schemas"]["CodeIntelligenceTaskModelDto"];
|
|
7614
|
+
} | null;
|
|
7524
7615
|
/** @description Partial update for Code Intelligence workspace settings (admin-only). */
|
|
7525
7616
|
PutCodeIntelligenceSettingsDto: {
|
|
7526
7617
|
enabled?: boolean;
|
|
@@ -7529,6 +7620,7 @@ export interface components {
|
|
|
7529
7620
|
provider?: components["schemas"]["AgentExecutionProviderDto"] | null;
|
|
7530
7621
|
cursorModel?: string | null;
|
|
7531
7622
|
claudeModel?: string | null;
|
|
7623
|
+
modelsByTask?: components["schemas"]["CodeIntelligenceModelsByTaskDto"] | null;
|
|
7532
7624
|
/** @description When false, turning Engineering Context Graph on and the cadence tick do not enqueue index jobs. Stored graphs, wiki pages, and agent.md stay. Defaults to true. */
|
|
7533
7625
|
indexingEnabled?: boolean;
|
|
7534
7626
|
/**
|
|
@@ -7657,6 +7749,10 @@ export interface components {
|
|
|
7657
7749
|
codeIntelligenceCursorModel?: string | null;
|
|
7658
7750
|
/** @description Optional Claude model override for Code Intelligence (null/empty → env default). */
|
|
7659
7751
|
codeIntelligenceClaudeModel?: string | null;
|
|
7752
|
+
/** @description Per-task model routing (`index_bulk`, `ask_synthesize`, `ask_explore`). Null when every task runs its platform default. */
|
|
7753
|
+
codeIntelligenceModelsByTask?: components["schemas"]["CodeIntelligenceModelsByTaskDto"] | null;
|
|
7754
|
+
/** @description The model each task runs when it has no cell of its own (the platform default), per provider. The screen reads this so it never states a model the server does not use. */
|
|
7755
|
+
readonly codeIntelligenceTaskModelDefaults?: components["schemas"]["CodeIntelligenceTaskModelDefaultsDto"];
|
|
7660
7756
|
/** @description When false, enable-enqueue and the cadence tick do not start an index wave. Defaults to true. */
|
|
7661
7757
|
codeIntelligenceIndexingEnabled?: boolean;
|
|
7662
7758
|
/**
|
|
@@ -12632,6 +12728,10 @@ export interface components {
|
|
|
12632
12728
|
error?: string;
|
|
12633
12729
|
/** @description Per-provider sync outcomes when one or more HRIS sources are configured. */
|
|
12634
12730
|
providers?: components["schemas"]["HrisProviderSyncResultDto"][];
|
|
12731
|
+
/** @description Sum of per-provider rosterAdded when status = ok or partial. */
|
|
12732
|
+
rosterAdded?: number;
|
|
12733
|
+
rosterUpdated?: number;
|
|
12734
|
+
rosterMissingFromSync?: number;
|
|
12635
12735
|
};
|
|
12636
12736
|
HrisProviderSyncResultDto: {
|
|
12637
12737
|
/** @description HRIS provider identifier (personio, zenhr, …). */
|
|
@@ -12642,6 +12742,71 @@ export interface components {
|
|
|
12642
12742
|
absenceCount?: number;
|
|
12643
12743
|
durationMs?: number;
|
|
12644
12744
|
error?: string;
|
|
12745
|
+
/** @description People newly inserted into the HRIS roster on this sync. */
|
|
12746
|
+
rosterAdded?: number;
|
|
12747
|
+
/** @description Existing roster people whose provider fields were refreshed. */
|
|
12748
|
+
rosterUpdated?: number;
|
|
12749
|
+
/** @description Roster people not present in this sync response (leavers / inactive). */
|
|
12750
|
+
rosterMissingFromSync?: number;
|
|
12751
|
+
};
|
|
12752
|
+
/** @enum {string} */
|
|
12753
|
+
HrisRosterSyncPresenceDto: "active" | "new" | "missing_from_sync" | "archived";
|
|
12754
|
+
HrisRosterPersonDto: {
|
|
12755
|
+
employeeId: string;
|
|
12756
|
+
email: string;
|
|
12757
|
+
name: string;
|
|
12758
|
+
title?: string;
|
|
12759
|
+
department?: string;
|
|
12760
|
+
/** @description Engineering team. When empty, department may be used as provisional team. */
|
|
12761
|
+
team?: string;
|
|
12762
|
+
managerId?: string;
|
|
12763
|
+
location?: string;
|
|
12764
|
+
githubUsername?: string;
|
|
12765
|
+
bitbucketNickname?: string;
|
|
12766
|
+
bitbucketUuid?: string;
|
|
12767
|
+
gitlabUsername?: string;
|
|
12768
|
+
alternateEmails?: string;
|
|
12769
|
+
syncPresence: components["schemas"]["HrisRosterSyncPresenceDto"];
|
|
12770
|
+
/** @description Which layer supplied each non-empty field on the effective row. */
|
|
12771
|
+
fieldSources?: {
|
|
12772
|
+
[key: string]: "provider" | "overlay";
|
|
12773
|
+
};
|
|
12774
|
+
/** @description Canonical required field keys that are still blank on the effective row. */
|
|
12775
|
+
incompleteFields: string[];
|
|
12776
|
+
};
|
|
12777
|
+
HrisRosterDto: {
|
|
12778
|
+
provider: string;
|
|
12779
|
+
/** Format: date-time */
|
|
12780
|
+
updatedAt: string | null;
|
|
12781
|
+
people: components["schemas"]["HrisRosterPersonDto"][];
|
|
12782
|
+
};
|
|
12783
|
+
HrisRosterPersonPatchDto: {
|
|
12784
|
+
employeeId: string;
|
|
12785
|
+
overlay?: {
|
|
12786
|
+
name?: string;
|
|
12787
|
+
email?: string;
|
|
12788
|
+
title?: string;
|
|
12789
|
+
department?: string;
|
|
12790
|
+
team?: string;
|
|
12791
|
+
managerId?: string;
|
|
12792
|
+
location?: string;
|
|
12793
|
+
githubUsername?: string;
|
|
12794
|
+
bitbucketNickname?: string;
|
|
12795
|
+
bitbucketUuid?: string;
|
|
12796
|
+
gitlabUsername?: string;
|
|
12797
|
+
alternateEmails?: string;
|
|
12798
|
+
};
|
|
12799
|
+
/** @description Clear syncPresence=new without archiving. */
|
|
12800
|
+
dismissNew?: boolean;
|
|
12801
|
+
/** @description Archive a missing_from_sync (or any) row. */
|
|
12802
|
+
archive?: boolean;
|
|
12803
|
+
};
|
|
12804
|
+
HrisRosterPatchDto: {
|
|
12805
|
+
people: components["schemas"]["HrisRosterPersonPatchDto"][];
|
|
12806
|
+
};
|
|
12807
|
+
HrisRosterCsvImportDto: {
|
|
12808
|
+
/** @description Full CSV text with org-chart headers. */
|
|
12809
|
+
csv: string;
|
|
12645
12810
|
};
|
|
12646
12811
|
ActivityLogPageDto: components["schemas"]["PageMetaDto"] & {
|
|
12647
12812
|
items: components["schemas"]["ActivityLogEntryDto"][];
|
|
@@ -13289,6 +13454,48 @@ export interface components {
|
|
|
13289
13454
|
updatedAt: string;
|
|
13290
13455
|
/** @description True when the indexed graph stores durable code excerpts (required for useful chat answers). */
|
|
13291
13456
|
hasCodeExcerpts?: boolean;
|
|
13457
|
+
/** @description How the decision-line card step ended on the last scan. Null when no card step has reported for this index (scanned before cards existed, or by an older worker). */
|
|
13458
|
+
ruleCards?: components["schemas"]["CodeChatIndexRuleCardsDto"] | null;
|
|
13459
|
+
/** @description How the architecture document step ended on the last scan. Null when no document step has reported for this index (documents off, or scanned by an older worker). */
|
|
13460
|
+
archDoc?: components["schemas"]["CodeChatIndexArchDocDto"] | null;
|
|
13461
|
+
};
|
|
13462
|
+
CodeChatIndexRuleCardsDto: {
|
|
13463
|
+
/**
|
|
13464
|
+
* @description ready: every card was embedded. partial: some cards have no description or were not embedded; the rest are searchable. failed: the step errored and cards from the last good scan are kept. skipped: the step did not run (turned off, or no model or embeddings key).
|
|
13465
|
+
* @enum {string}
|
|
13466
|
+
*/
|
|
13467
|
+
status: "ready" | "partial" | "failed" | "skipped";
|
|
13468
|
+
/** @description Plain-words explanation and next step. Null when status is ready with cards written. */
|
|
13469
|
+
reason: string | null;
|
|
13470
|
+
/** @description Decision lines found in this repository. */
|
|
13471
|
+
cards: number;
|
|
13472
|
+
/** Format: date-time */
|
|
13473
|
+
updatedAt: string | null;
|
|
13474
|
+
};
|
|
13475
|
+
CodeChatIndexArchDocDto: {
|
|
13476
|
+
/**
|
|
13477
|
+
* @description ready: document stored for this commit. failed: the step errored and the earlier document is kept. skipped: the step did not run (no model key, or too little code).
|
|
13478
|
+
* @enum {string}
|
|
13479
|
+
*/
|
|
13480
|
+
status: "ready" | "failed" | "skipped";
|
|
13481
|
+
/** @description Plain-words explanation and next step. */
|
|
13482
|
+
reason: string | null;
|
|
13483
|
+
/** Format: date-time */
|
|
13484
|
+
updatedAt: string | null;
|
|
13485
|
+
};
|
|
13486
|
+
CodeChatArchDocViewDto: {
|
|
13487
|
+
/**
|
|
13488
|
+
* @description missing means no step has reported and nothing is stored.
|
|
13489
|
+
* @enum {string}
|
|
13490
|
+
*/
|
|
13491
|
+
status: "ready" | "failed" | "skipped" | "missing";
|
|
13492
|
+
reason: string | null;
|
|
13493
|
+
/** Format: date-time */
|
|
13494
|
+
updatedAt: string | null;
|
|
13495
|
+
/** @description The document was written for an earlier commit than the index now holds. */
|
|
13496
|
+
stale: boolean;
|
|
13497
|
+
/** @description The `.arch.md` file content. Standard headings, in the same order for every repository. */
|
|
13498
|
+
markdown: string | null;
|
|
13292
13499
|
};
|
|
13293
13500
|
CodeChatIndexLastChangeDto: {
|
|
13294
13501
|
priorCommitSha: string;
|
|
@@ -13321,6 +13528,13 @@ export interface components {
|
|
|
13321
13528
|
phase?: "cloning" | "indexing" | "track_a" | "track_b" | "completing" | null;
|
|
13322
13529
|
/** @description Human-readable detail (e.g. enriching · page 3/8 · how-it-works). */
|
|
13323
13530
|
phaseDetail?: string | null;
|
|
13531
|
+
/** @description The steps this scan runs, in order, with each step's status. Only planned steps appear (for example decision lines and the architecture document only when enabled, wiki only when the scan writes pages). Null for jobs queued before this field existed. */
|
|
13532
|
+
steps?: {
|
|
13533
|
+
/** @enum {string} */
|
|
13534
|
+
key: "acquire" | "extract" | "model" | "decision_lines" | "arch_doc" | "wiki";
|
|
13535
|
+
/** @enum {string} */
|
|
13536
|
+
status: "planned" | "running" | "done" | "skipped" | "failed";
|
|
13537
|
+
}[] | null;
|
|
13324
13538
|
/** Format: date-time */
|
|
13325
13539
|
phaseUpdatedAt?: string | null;
|
|
13326
13540
|
trackAStatus?: components["schemas"]["CodeKnowledgeTrackStatus"];
|
|
@@ -15148,6 +15362,10 @@ export type AgentExecutionProviderDto = components['schemas']['AgentExecutionPro
|
|
|
15148
15362
|
export type PutAgentExecutionProvidersDto = components['schemas']['PutAgentExecutionProvidersDto'];
|
|
15149
15363
|
export type AgentExecutionSkipReasonDto = components['schemas']['AgentExecutionSkipReasonDto'];
|
|
15150
15364
|
export type AgentExecutionFallbackDto = components['schemas']['AgentExecutionFallbackDto'];
|
|
15365
|
+
export type CodeIntelligenceTaskModelDto = components['schemas']['CodeIntelligenceTaskModelDto'];
|
|
15366
|
+
export type CodeIntelligenceTaskModelDefaultsDto = components['schemas']['CodeIntelligenceTaskModelDefaultsDto'];
|
|
15367
|
+
export type CodeIntelligenceTaskModelDefaultDto = components['schemas']['CodeIntelligenceTaskModelDefaultDto'];
|
|
15368
|
+
export type CodeIntelligenceModelsByTaskDto = components['schemas']['CodeIntelligenceModelsByTaskDto'];
|
|
15151
15369
|
export type PutCodeIntelligenceSettingsDto = components['schemas']['PutCodeIntelligenceSettingsDto'];
|
|
15152
15370
|
export type CodeWikiGuidanceTopicDto = components['schemas']['CodeWikiGuidanceTopicDto'];
|
|
15153
15371
|
export type PutCodeIntelligenceAgentMdDto = components['schemas']['PutCodeIntelligenceAgentMdDto'];
|
|
@@ -15584,6 +15802,12 @@ export type ZenHrBranchSelectionDto = components['schemas']['ZenHrBranchSelectio
|
|
|
15584
15802
|
export type ZenHrBranchSelectionResultDto = components['schemas']['ZenHrBranchSelectionResultDto'];
|
|
15585
15803
|
export type HrisTriggerSyncResultDto = components['schemas']['HrisTriggerSyncResultDto'];
|
|
15586
15804
|
export type HrisProviderSyncResultDto = components['schemas']['HrisProviderSyncResultDto'];
|
|
15805
|
+
export type HrisRosterSyncPresenceDto = components['schemas']['HrisRosterSyncPresenceDto'];
|
|
15806
|
+
export type HrisRosterPersonDto = components['schemas']['HrisRosterPersonDto'];
|
|
15807
|
+
export type HrisRosterDto = components['schemas']['HrisRosterDto'];
|
|
15808
|
+
export type HrisRosterPersonPatchDto = components['schemas']['HrisRosterPersonPatchDto'];
|
|
15809
|
+
export type HrisRosterPatchDto = components['schemas']['HrisRosterPatchDto'];
|
|
15810
|
+
export type HrisRosterCsvImportDto = components['schemas']['HrisRosterCsvImportDto'];
|
|
15587
15811
|
export type ActivityLogPageDto = components['schemas']['ActivityLogPageDto'];
|
|
15588
15812
|
export type AutomationCostOperationDto = components['schemas']['AutomationCostOperationDto'];
|
|
15589
15813
|
export type AutomationCostSummaryRowDto = components['schemas']['AutomationCostSummaryRowDto'];
|
|
@@ -15667,6 +15891,9 @@ export type InsightsRecommendationsPageBundleResponse = components['schemas']['I
|
|
|
15667
15891
|
export type CodeChatIndexStatus = components['schemas']['CodeChatIndexStatus'];
|
|
15668
15892
|
export type CodeChatIndexer = components['schemas']['CodeChatIndexer'];
|
|
15669
15893
|
export type CodeChatIndexDto = components['schemas']['CodeChatIndexDto'];
|
|
15894
|
+
export type CodeChatIndexRuleCardsDto = components['schemas']['CodeChatIndexRuleCardsDto'];
|
|
15895
|
+
export type CodeChatIndexArchDocDto = components['schemas']['CodeChatIndexArchDocDto'];
|
|
15896
|
+
export type CodeChatArchDocViewDto = components['schemas']['CodeChatArchDocViewDto'];
|
|
15670
15897
|
export type CodeChatIndexLastChangeDto = components['schemas']['CodeChatIndexLastChangeDto'];
|
|
15671
15898
|
export type CodeKnowledgeJobDto = components['schemas']['CodeKnowledgeJobDto'];
|
|
15672
15899
|
export type CodeKnowledgeTrackStatus = components['schemas']['CodeKnowledgeTrackStatus'];
|
|
@@ -28312,6 +28539,37 @@ export interface operations {
|
|
|
28312
28539
|
};
|
|
28313
28540
|
};
|
|
28314
28541
|
};
|
|
28542
|
+
getCodeChatArchDoc: {
|
|
28543
|
+
parameters: {
|
|
28544
|
+
query?: never;
|
|
28545
|
+
header?: never;
|
|
28546
|
+
path: {
|
|
28547
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
28548
|
+
indexId: string;
|
|
28549
|
+
};
|
|
28550
|
+
cookie?: never;
|
|
28551
|
+
};
|
|
28552
|
+
requestBody?: never;
|
|
28553
|
+
responses: {
|
|
28554
|
+
/** @description Document and step outcome */
|
|
28555
|
+
200: {
|
|
28556
|
+
headers: {
|
|
28557
|
+
[name: string]: unknown;
|
|
28558
|
+
};
|
|
28559
|
+
content: {
|
|
28560
|
+
"application/json": components["schemas"]["CodeChatArchDocViewDto"];
|
|
28561
|
+
};
|
|
28562
|
+
};
|
|
28563
|
+
401: components["responses"]["Unauthorized"];
|
|
28564
|
+
/** @description Index not found */
|
|
28565
|
+
404: {
|
|
28566
|
+
headers: {
|
|
28567
|
+
[name: string]: unknown;
|
|
28568
|
+
};
|
|
28569
|
+
content?: never;
|
|
28570
|
+
};
|
|
28571
|
+
};
|
|
28572
|
+
};
|
|
28315
28573
|
getCodeChatEffectiveWikiConfig: {
|
|
28316
28574
|
parameters: {
|
|
28317
28575
|
query?: never;
|
|
@@ -31805,6 +32063,146 @@ export interface operations {
|
|
|
31805
32063
|
};
|
|
31806
32064
|
};
|
|
31807
32065
|
};
|
|
32066
|
+
getHrisRoster: {
|
|
32067
|
+
parameters: {
|
|
32068
|
+
query: {
|
|
32069
|
+
/** @description HRIS provider whose roster to return. */
|
|
32070
|
+
provider: "hibob" | "personio" | "zenhr" | "zelt";
|
|
32071
|
+
};
|
|
32072
|
+
header?: never;
|
|
32073
|
+
path: {
|
|
32074
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
32075
|
+
};
|
|
32076
|
+
cookie?: never;
|
|
32077
|
+
};
|
|
32078
|
+
requestBody?: never;
|
|
32079
|
+
responses: {
|
|
32080
|
+
/** @description Roster document */
|
|
32081
|
+
200: {
|
|
32082
|
+
headers: {
|
|
32083
|
+
[name: string]: unknown;
|
|
32084
|
+
};
|
|
32085
|
+
content: {
|
|
32086
|
+
"application/json": components["schemas"]["HrisRosterDto"];
|
|
32087
|
+
};
|
|
32088
|
+
};
|
|
32089
|
+
/** @description Missing or invalid provider */
|
|
32090
|
+
400: {
|
|
32091
|
+
headers: {
|
|
32092
|
+
[name: string]: unknown;
|
|
32093
|
+
};
|
|
32094
|
+
content: {
|
|
32095
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
32096
|
+
};
|
|
32097
|
+
};
|
|
32098
|
+
401: components["responses"]["Unauthorized"];
|
|
32099
|
+
403: components["responses"]["Forbidden"];
|
|
32100
|
+
};
|
|
32101
|
+
};
|
|
32102
|
+
patchHrisRoster: {
|
|
32103
|
+
parameters: {
|
|
32104
|
+
query: {
|
|
32105
|
+
provider: "hibob" | "personio" | "zenhr" | "zelt";
|
|
32106
|
+
};
|
|
32107
|
+
header?: never;
|
|
32108
|
+
path: {
|
|
32109
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
32110
|
+
};
|
|
32111
|
+
cookie?: never;
|
|
32112
|
+
};
|
|
32113
|
+
requestBody: {
|
|
32114
|
+
content: {
|
|
32115
|
+
"application/json": components["schemas"]["HrisRosterPatchDto"];
|
|
32116
|
+
};
|
|
32117
|
+
};
|
|
32118
|
+
responses: {
|
|
32119
|
+
/** @description Updated roster */
|
|
32120
|
+
200: {
|
|
32121
|
+
headers: {
|
|
32122
|
+
[name: string]: unknown;
|
|
32123
|
+
};
|
|
32124
|
+
content: {
|
|
32125
|
+
"application/json": components["schemas"]["HrisRosterDto"];
|
|
32126
|
+
};
|
|
32127
|
+
};
|
|
32128
|
+
/** @description Invalid body */
|
|
32129
|
+
400: {
|
|
32130
|
+
headers: {
|
|
32131
|
+
[name: string]: unknown;
|
|
32132
|
+
};
|
|
32133
|
+
content: {
|
|
32134
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
32135
|
+
};
|
|
32136
|
+
};
|
|
32137
|
+
401: components["responses"]["Unauthorized"];
|
|
32138
|
+
403: components["responses"]["Forbidden"];
|
|
32139
|
+
};
|
|
32140
|
+
};
|
|
32141
|
+
downloadHrisRosterCsv: {
|
|
32142
|
+
parameters: {
|
|
32143
|
+
query: {
|
|
32144
|
+
provider: "hibob" | "personio" | "zenhr" | "zelt";
|
|
32145
|
+
};
|
|
32146
|
+
header?: never;
|
|
32147
|
+
path: {
|
|
32148
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
32149
|
+
};
|
|
32150
|
+
cookie?: never;
|
|
32151
|
+
};
|
|
32152
|
+
requestBody?: never;
|
|
32153
|
+
responses: {
|
|
32154
|
+
/** @description CSV file */
|
|
32155
|
+
200: {
|
|
32156
|
+
headers: {
|
|
32157
|
+
[name: string]: unknown;
|
|
32158
|
+
};
|
|
32159
|
+
content: {
|
|
32160
|
+
"text/csv": string;
|
|
32161
|
+
};
|
|
32162
|
+
};
|
|
32163
|
+
401: components["responses"]["Unauthorized"];
|
|
32164
|
+
403: components["responses"]["Forbidden"];
|
|
32165
|
+
};
|
|
32166
|
+
};
|
|
32167
|
+
importHrisRosterCsv: {
|
|
32168
|
+
parameters: {
|
|
32169
|
+
query: {
|
|
32170
|
+
provider: "hibob" | "personio" | "zenhr" | "zelt";
|
|
32171
|
+
};
|
|
32172
|
+
header?: never;
|
|
32173
|
+
path: {
|
|
32174
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
32175
|
+
};
|
|
32176
|
+
cookie?: never;
|
|
32177
|
+
};
|
|
32178
|
+
requestBody: {
|
|
32179
|
+
content: {
|
|
32180
|
+
"application/json": components["schemas"]["HrisRosterCsvImportDto"];
|
|
32181
|
+
};
|
|
32182
|
+
};
|
|
32183
|
+
responses: {
|
|
32184
|
+
/** @description Updated roster after import */
|
|
32185
|
+
200: {
|
|
32186
|
+
headers: {
|
|
32187
|
+
[name: string]: unknown;
|
|
32188
|
+
};
|
|
32189
|
+
content: {
|
|
32190
|
+
"application/json": components["schemas"]["HrisRosterDto"];
|
|
32191
|
+
};
|
|
32192
|
+
};
|
|
32193
|
+
/** @description Invalid CSV */
|
|
32194
|
+
400: {
|
|
32195
|
+
headers: {
|
|
32196
|
+
[name: string]: unknown;
|
|
32197
|
+
};
|
|
32198
|
+
content: {
|
|
32199
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
32200
|
+
};
|
|
32201
|
+
};
|
|
32202
|
+
401: components["responses"]["Unauthorized"];
|
|
32203
|
+
403: components["responses"]["Forbidden"];
|
|
32204
|
+
};
|
|
32205
|
+
};
|
|
31808
32206
|
listEvalPacks: {
|
|
31809
32207
|
parameters: {
|
|
31810
32208
|
query?: never;
|