@stack-spot/portal-network 0.178.0 → 0.178.1-beta.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/CHANGELOG.md +248 -21
- package/dist/api/agent-tools.d.ts +85 -6
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +37 -6
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/codeShift.d.ts +126 -10
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +84 -0
- package/dist/api/codeShift.js.map +1 -1
- package/dist/apis-itau.json +57 -57
- package/dist/client/agent-tools.d.ts +15 -6
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +13 -4
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/code-shift.d.ts +61 -4
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +46 -1
- package/dist/client/code-shift.js.map +1 -1
- package/dist/error/dictionary/cloud-platform.js +1 -1
- package/dist/error/dictionary/cloud-platform.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +1 -1
- package/src/api/account.ts +1 -0
- package/src/api/agent-tools.ts +131 -11
- package/src/api/agent.ts +2 -0
- package/src/api/codeShift.ts +293 -10
- package/src/api/notification.ts +2 -0
- package/src/apis-itau.json +58 -58
- package/src/client/agent-tools.ts +9 -4
- package/src/client/ai.ts +1 -0
- package/src/client/code-shift.ts +29 -0
- package/src/error/dictionary/cloud-platform.ts +1 -1
package/src/api/agent-tools.ts
CHANGED
|
@@ -336,6 +336,18 @@ export type AgentToolExecutionResponse = {
|
|
|
336
336
|
result: string;
|
|
337
337
|
};
|
|
338
338
|
export type AgentVisibilityLevelEnum = "built_in" | "recently_used";
|
|
339
|
+
export type ListAgentRequest = {
|
|
340
|
+
/** Agent name to filter the list */
|
|
341
|
+
name?: string | null;
|
|
342
|
+
/** Agent slug to filter the list */
|
|
343
|
+
slug?: string | null;
|
|
344
|
+
/** Agent visibility to filter the list */
|
|
345
|
+
visibility?: AgentVisibilityLevelEnum | VisibilityLevelEnum;
|
|
346
|
+
/** Paginated param to configure page size */
|
|
347
|
+
size?: number;
|
|
348
|
+
/** Paginated param to configure which page is being requested */
|
|
349
|
+
page?: number;
|
|
350
|
+
};
|
|
339
351
|
export type KnowledgeSourcesConfig = {
|
|
340
352
|
knowledge_sources: string[];
|
|
341
353
|
max_number_of_kos?: number;
|
|
@@ -353,6 +365,7 @@ export type ListAgentResponse = {
|
|
|
353
365
|
avatar: string | null;
|
|
354
366
|
suggested_prompts: string[] | null;
|
|
355
367
|
knowledge_sources_config: KnowledgeSourcesConfig;
|
|
368
|
+
has_multiagent_tool?: boolean;
|
|
356
369
|
"type"?: string;
|
|
357
370
|
system_prompt?: string;
|
|
358
371
|
creator_name?: string;
|
|
@@ -367,6 +380,7 @@ export type KnowledgeSourcesConfigRequest = {
|
|
|
367
380
|
knowledge_sources?: string[] | null;
|
|
368
381
|
sealed?: boolean | null;
|
|
369
382
|
};
|
|
383
|
+
export type AgentMode = "autonomous" | "plan_approval" | "plan_and_critical_approval";
|
|
370
384
|
export type NewAgentRequest = {
|
|
371
385
|
/** LLM model name */
|
|
372
386
|
model_name?: string | null;
|
|
@@ -396,6 +410,8 @@ export type NewAgentRequest = {
|
|
|
396
410
|
llm_settings?: {
|
|
397
411
|
[key: string]: any;
|
|
398
412
|
} | null;
|
|
413
|
+
/** Agent mode */
|
|
414
|
+
mode?: AgentMode;
|
|
399
415
|
};
|
|
400
416
|
export type SearchAgentsRequest = {
|
|
401
417
|
/** Agent ids to filter for */
|
|
@@ -532,6 +548,7 @@ export type AgentModel = {
|
|
|
532
548
|
conversation_starter?: string[] | null;
|
|
533
549
|
use_only: boolean;
|
|
534
550
|
detail_mode: boolean;
|
|
551
|
+
mode: AgentMode;
|
|
535
552
|
structured_output?: {
|
|
536
553
|
[key: string]: any;
|
|
537
554
|
} | null;
|
|
@@ -576,6 +593,8 @@ export type UpdateAgentRequest = {
|
|
|
576
593
|
llm_settings?: {
|
|
577
594
|
[key: string]: any;
|
|
578
595
|
} | null;
|
|
596
|
+
/** Agent mode */
|
|
597
|
+
mode?: AgentMode | null;
|
|
579
598
|
};
|
|
580
599
|
export type ForkAgentRequest = {
|
|
581
600
|
/** Agent slug to fork */
|
|
@@ -600,6 +619,46 @@ export type ListAgentResponseV2 = {
|
|
|
600
619
|
system_prompt?: string;
|
|
601
620
|
creator_name?: string;
|
|
602
621
|
};
|
|
622
|
+
export type ListAgentRequestV3 = {
|
|
623
|
+
/** Agent name to filter the list */
|
|
624
|
+
name?: string | null;
|
|
625
|
+
/** Agent slug to filter the list */
|
|
626
|
+
slug?: string | null;
|
|
627
|
+
/** Paginated param to configure page size */
|
|
628
|
+
size?: number;
|
|
629
|
+
/** Paginated param to configure which page is being requested */
|
|
630
|
+
page?: number;
|
|
631
|
+
/** Filter by a list of agent visibility levels. When provided, overrides the single 'visibility' parameter */
|
|
632
|
+
visibility_list?: (AgentVisibilityLevelEnum | VisibilityLevelEnum)[];
|
|
633
|
+
};
|
|
634
|
+
export type KnowledgeSourcesConfigResponseV3 = {
|
|
635
|
+
knowledge_sources: string[];
|
|
636
|
+
max_number_of_kos?: number;
|
|
637
|
+
relevancy_threshold?: number;
|
|
638
|
+
similarity_function?: string;
|
|
639
|
+
post_processing?: boolean;
|
|
640
|
+
};
|
|
641
|
+
export type AgentResponseV3 = {
|
|
642
|
+
id: string;
|
|
643
|
+
name: string;
|
|
644
|
+
slug: string;
|
|
645
|
+
created_by: string | null;
|
|
646
|
+
created_at: string | null;
|
|
647
|
+
visibility_level: string;
|
|
648
|
+
avatar: string | null;
|
|
649
|
+
suggested_prompts: string[] | null;
|
|
650
|
+
knowledge_sources_config: KnowledgeSourcesConfigResponseV3;
|
|
651
|
+
has_multiagent_tool?: boolean;
|
|
652
|
+
"type"?: string;
|
|
653
|
+
system_prompt?: string;
|
|
654
|
+
creator_name?: string;
|
|
655
|
+
is_favorite?: boolean;
|
|
656
|
+
is_recently_used?: boolean;
|
|
657
|
+
};
|
|
658
|
+
export type PaginatedResponseAgentResponseV3 = {
|
|
659
|
+
total_pages: number;
|
|
660
|
+
items: AgentResponseV3[];
|
|
661
|
+
};
|
|
603
662
|
export type InternalListToolkitsRequest = {
|
|
604
663
|
/** List of toolkit IDs to retrieve */
|
|
605
664
|
toolkit_ids: string[];
|
|
@@ -1297,12 +1356,9 @@ export function executeToolV1AgentsToolsAgentToolIdExecutePost({ agentToolId, is
|
|
|
1297
1356
|
/**
|
|
1298
1357
|
* List Agents
|
|
1299
1358
|
*/
|
|
1300
|
-
export function listAgentsV1AgentsGet({
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
visibility?: AgentVisibilityLevelEnum | VisibilityLevelEnum;
|
|
1304
|
-
size?: number;
|
|
1305
|
-
page?: number;
|
|
1359
|
+
export function listAgentsV1AgentsGet({ request, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1360
|
+
request: ListAgentRequest;
|
|
1361
|
+
isPublic?: boolean;
|
|
1306
1362
|
xAccountId?: string | null;
|
|
1307
1363
|
xUsername?: string | null;
|
|
1308
1364
|
xUserId?: string | null;
|
|
@@ -1318,11 +1374,8 @@ export function listAgentsV1AgentsGet({ name, slug, visibility, size, page, xAcc
|
|
|
1318
1374
|
status: 422;
|
|
1319
1375
|
data: HttpValidationError;
|
|
1320
1376
|
}>(`/v1/agents${QS.query(QS.explode({
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
visibility,
|
|
1324
|
-
size,
|
|
1325
|
-
page
|
|
1377
|
+
request,
|
|
1378
|
+
is_public: isPublic
|
|
1326
1379
|
}))}`, {
|
|
1327
1380
|
...opts,
|
|
1328
1381
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
@@ -1887,6 +1940,36 @@ export function getAgentByKsIdV1AgentsKnowledgeSourceKsIdGet({ ksId, xAccountId,
|
|
|
1887
1940
|
})
|
|
1888
1941
|
}));
|
|
1889
1942
|
}
|
|
1943
|
+
/**
|
|
1944
|
+
* Migrate Agent Avatar By Id
|
|
1945
|
+
*/
|
|
1946
|
+
export function migrateAgentAvatarByIdV1AgentsAgentIdMigrateAvatarPost({ agentId, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1947
|
+
agentId: string;
|
|
1948
|
+
xAccountId?: string | null;
|
|
1949
|
+
xUsername?: string | null;
|
|
1950
|
+
xUserId?: string | null;
|
|
1951
|
+
xUserFullName?: string | null;
|
|
1952
|
+
authorization: string;
|
|
1953
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1954
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1955
|
+
status: 204;
|
|
1956
|
+
} | {
|
|
1957
|
+
status: 404;
|
|
1958
|
+
} | {
|
|
1959
|
+
status: 422;
|
|
1960
|
+
data: HttpValidationError;
|
|
1961
|
+
}>(`/v1/agents/${encodeURIComponent(agentId)}/migrate-avatar`, {
|
|
1962
|
+
...opts,
|
|
1963
|
+
method: "POST",
|
|
1964
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1965
|
+
"x-account-id": xAccountId,
|
|
1966
|
+
"x-username": xUsername,
|
|
1967
|
+
"x-user-id": xUserId,
|
|
1968
|
+
"x-user-full-name": xUserFullName,
|
|
1969
|
+
authorization
|
|
1970
|
+
})
|
|
1971
|
+
}));
|
|
1972
|
+
}
|
|
1890
1973
|
/**
|
|
1891
1974
|
* List Agents
|
|
1892
1975
|
*/
|
|
@@ -1959,6 +2042,40 @@ export function searchAgentsV2AgentsSearchPost({ xAccountId, xUsername, xUserId,
|
|
|
1959
2042
|
})
|
|
1960
2043
|
})));
|
|
1961
2044
|
}
|
|
2045
|
+
/**
|
|
2046
|
+
* List Agents
|
|
2047
|
+
*/
|
|
2048
|
+
export function listAgentsV3AgentsGet({ filters, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
2049
|
+
filters: ListAgentRequestV3;
|
|
2050
|
+
isPublic?: boolean;
|
|
2051
|
+
xAccountId?: string | null;
|
|
2052
|
+
xUsername?: string | null;
|
|
2053
|
+
xUserId?: string | null;
|
|
2054
|
+
xUserFullName?: string | null;
|
|
2055
|
+
authorization: string;
|
|
2056
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2057
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2058
|
+
status: 200;
|
|
2059
|
+
data: PaginatedResponseAgentResponseV3;
|
|
2060
|
+
} | {
|
|
2061
|
+
status: 404;
|
|
2062
|
+
} | {
|
|
2063
|
+
status: 422;
|
|
2064
|
+
data: HttpValidationError;
|
|
2065
|
+
}>(`/v3/agents${QS.query(QS.explode({
|
|
2066
|
+
filters,
|
|
2067
|
+
is_public: isPublic
|
|
2068
|
+
}))}`, {
|
|
2069
|
+
...opts,
|
|
2070
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2071
|
+
"x-account-id": xAccountId,
|
|
2072
|
+
"x-username": xUsername,
|
|
2073
|
+
"x-user-id": xUserId,
|
|
2074
|
+
"x-user-full-name": xUserFullName,
|
|
2075
|
+
authorization
|
|
2076
|
+
})
|
|
2077
|
+
}));
|
|
2078
|
+
}
|
|
1962
2079
|
/**
|
|
1963
2080
|
* Internal List Toolkits By Ids
|
|
1964
2081
|
*/
|
|
@@ -2054,3 +2171,6 @@ export function internalForkToolkitsByIdsV1SpotToolkitsForkPost({ xAccountId, xU
|
|
|
2054
2171
|
})
|
|
2055
2172
|
})));
|
|
2056
2173
|
}
|
|
2174
|
+
|
|
2175
|
+
|
|
2176
|
+
|
package/src/api/agent.ts
CHANGED
package/src/api/codeShift.ts
CHANGED
|
@@ -60,7 +60,7 @@ export type CreateModuleRequest = {
|
|
|
60
60
|
} | null;
|
|
61
61
|
gitAction?: GitAction | null;
|
|
62
62
|
};
|
|
63
|
-
export type ExceptionType = "CODE_SHIFT_API_0000_UNEXPECTED_ERROR" | "CODE_SHIFT_API_0001_INVALID_VALUE" | "CODE_SHIFT_API_0002_NOT_IMPLEMENTED" | "CODE_SHIFT_API_0003_NOT_FOUND" | "CODE_SHIFT_API_0004_VALIDATION_ERROR" | "CODE_SHIFT_API_0005_CONFLICT" | "CODE_SHIFT_API_0006_INVALID_REPO_URL" | "CODE_SHIFT_API_0007_FORBIDDEN" | "CODE_SHIFT_API_0008_DEFAULT_BRANCH" | "CODE_SHIFT_API_0009_INVALID_SPREADSHEET" | "CODE_SHIFT_API_0010_PR_LINK_NOT_EXISTS" | "CODE_SHIFT_API_0011_EMPTY_SPREADSHEET" | "CODE_SHIFT_API_0012_REPOSITORY_NOT_EXISTS_IN_SCM" | "CODE_SHIFT_API_0013_SCM_BRANCH_NOT_EXISTS_EXCEPTION" | "CODE_SHIFT_API_0014_ACCOUNT_NOT_FOUND_EXCEPTION" | "CODE_SHIFT_API_0015_INVALID_WORKFLOW_URL_EXCEPTION" | "CODE_SHIFT_API_0016_INVALID_ACTION_YAML_EXCEPTION" | "CODE_SHIFT_API_0017_FAIL_READING_ACTION_INPUTS_EXCEPTION" | "CODE_SHIFT_API_0018_MODULE_DISPATCHER_GENERIC_EXCEPTION" | "CODE_SHIFT_API_0019_GITHUB_DISPATCH_WORKFLOW_UNAUTHORIZED_EXCEPTION" | "CODE_SHIFT_API_0020_GITHUB_SAML_EXCEPTION" | "CODE_SHIFT_API_0021_GITHUB_AUTHORIZATION_ENCODING_EXCEPTION" | "CODE_SHIFT_API_0022_GITHUB_DISPATCH_WORKFLOW_NOT_FOUND_EXCEPTION" | "CODE_SHIFT_API_3000_WORKFLOW_API_DISPATCH_FAILURE" | "CODE_SHIFT_API_3001_WORKFLOW_API_DISPATCH_FORBIDDEN" | "CODE_SHIFT_API_3009_WORKFLOW_API_DISPATCH_PARSE_ERROR" | "CODE_SHIFT_API_3010_AWS_SECRET_MANAGER_GET_SECRET_FAILURE" | "CODE_SHIFT_API_3011_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR" | "CODE_SHIFT_API_3100_SCM_GET_REPOSITORIES_FAILURE" | "CODE_SHIFT_API_3110_SCM_GET_PULL_REQUEST_FAILURE" | "CODE_SHIFT_API_3120_SCM_GET_BRANCHES_FAILURE" | "CODE_SHIFT_API_3130_SCM_GET_SCM_REPOSITORY_FETCH_FAILURE" | "CODE_SHIFT_API_3131_SCM_REPOSITORY_NOT_FOUND" | "CODE_SHIFT_API_3140_SCM_GET_BRANCH_FAILURE" | "CODE_SHIFT_API_3142_SCM_GET_BRANCHES_NOT_FOUND" | "CODE_SHIFT_API_3150_SCM_GET_REPOSITORY_FILE_FAILURE" | "CODE_SHIFT_API_3151_SCM_GET_REPOSITORY_FILE_NOT_FOUND" | "CODE_SHIFT_API_3500_CONTENT_API_GET_WORKFLOW_VERSION_FAILURE" | "CODE_SHIFT_API_4000_ACCOUNTS_API_PAT_FAILURE" | "CODE_SHIFT_API_4001_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4002_ACCOUNTS_API_PAT_NOT_FOUND" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_4010_GET_SCM_CREDENTIALS_FAILURE" | "CODE_SHIFT_API_4011_GET_SCM_CREDENTIALS_FORBIDDEN" | "CODE_SHIFT_API_4012_GET_SCM_CREDENTIALS_NOT_FOUND" | "CODE_SHIFT_API_4019_GET_SCM_CREDENTIALS_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
|
|
63
|
+
export type ExceptionType = "CODE_SHIFT_API_0000_UNEXPECTED_ERROR" | "CODE_SHIFT_API_0001_INVALID_VALUE" | "CODE_SHIFT_API_0002_NOT_IMPLEMENTED" | "CODE_SHIFT_API_0003_NOT_FOUND" | "CODE_SHIFT_API_0004_VALIDATION_ERROR" | "CODE_SHIFT_API_0005_CONFLICT" | "CODE_SHIFT_API_0006_INVALID_REPO_URL" | "CODE_SHIFT_API_0007_FORBIDDEN" | "CODE_SHIFT_API_0008_DEFAULT_BRANCH" | "CODE_SHIFT_API_0009_INVALID_SPREADSHEET" | "CODE_SHIFT_API_0010_PR_LINK_NOT_EXISTS" | "CODE_SHIFT_API_0011_EMPTY_SPREADSHEET" | "CODE_SHIFT_API_0012_REPOSITORY_NOT_EXISTS_IN_SCM" | "CODE_SHIFT_API_0013_SCM_BRANCH_NOT_EXISTS_EXCEPTION" | "CODE_SHIFT_API_0014_ACCOUNT_NOT_FOUND_EXCEPTION" | "CODE_SHIFT_API_0015_INVALID_WORKFLOW_URL_EXCEPTION" | "CODE_SHIFT_API_0016_INVALID_ACTION_YAML_EXCEPTION" | "CODE_SHIFT_API_0017_FAIL_READING_ACTION_INPUTS_EXCEPTION" | "CODE_SHIFT_API_0018_MODULE_DISPATCHER_GENERIC_EXCEPTION" | "CODE_SHIFT_API_0019_GITHUB_DISPATCH_WORKFLOW_UNAUTHORIZED_EXCEPTION" | "CODE_SHIFT_API_0020_GITHUB_SAML_EXCEPTION" | "CODE_SHIFT_API_0021_GITHUB_AUTHORIZATION_ENCODING_EXCEPTION" | "CODE_SHIFT_API_0022_GITHUB_DISPATCH_WORKFLOW_NOT_FOUND_EXCEPTION" | "CODE_SHIFT_API_0023_GENERIC_FAILURE_SEARCHING_REPOSITORY_EXCEPTION" | "CODE_SHIFT_API_0024_COMPONENTS_MAX_SIZE_ALLOWED_EXCEPTION" | "CODE_SHIFT_API_0025_INVALID_SEARCH_REPOSITORY_STATUS_SAVE_EXCEPTION" | "CODE_SHIFT_API_0026_SEARCH_REPO_EMPTY_RESULT_EXCEPTION" | "CODE_SHIFT_API_3000_WORKFLOW_API_DISPATCH_FAILURE" | "CODE_SHIFT_API_3001_WORKFLOW_API_DISPATCH_FORBIDDEN" | "CODE_SHIFT_API_3009_WORKFLOW_API_DISPATCH_PARSE_ERROR" | "CODE_SHIFT_API_3010_AWS_SECRET_MANAGER_GET_SECRET_FAILURE" | "CODE_SHIFT_API_3011_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR" | "CODE_SHIFT_API_3100_SCM_GET_REPOSITORIES_FAILURE" | "CODE_SHIFT_API_3110_SCM_GET_PULL_REQUEST_FAILURE" | "CODE_SHIFT_API_3120_SCM_GET_BRANCHES_FAILURE" | "CODE_SHIFT_API_3130_SCM_GET_SCM_REPOSITORY_FETCH_FAILURE" | "CODE_SHIFT_API_3131_SCM_REPOSITORY_NOT_FOUND" | "CODE_SHIFT_API_3140_SCM_GET_BRANCH_FAILURE" | "CODE_SHIFT_API_3142_SCM_GET_BRANCHES_NOT_FOUND" | "CODE_SHIFT_API_3150_SCM_GET_REPOSITORY_FILE_FAILURE" | "CODE_SHIFT_API_3151_SCM_GET_REPOSITORY_FILE_NOT_FOUND" | "CODE_SHIFT_API_3160_SCM_GET_REPOSITORY_FILE_FAILURE" | "CODE_SHIFT_API_3500_CONTENT_API_GET_WORKFLOW_VERSION_FAILURE" | "CODE_SHIFT_API_4000_ACCOUNTS_API_PAT_FAILURE" | "CODE_SHIFT_API_4001_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4002_ACCOUNTS_API_PAT_NOT_FOUND" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_4010_GET_SCM_CREDENTIALS_FAILURE" | "CODE_SHIFT_API_4011_GET_SCM_CREDENTIALS_FORBIDDEN" | "CODE_SHIFT_API_4012_GET_SCM_CREDENTIALS_NOT_FOUND" | "CODE_SHIFT_API_4019_GET_SCM_CREDENTIALS_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
|
|
64
64
|
export type BadRequestExceptionTypes = "CODE_SHIFT_API_1001_DECODE_JWT_ERROR" | "CODE_SHIFT_API_2001_BAD_REQUEST_REQUIRED_FIELD" | "CODE_SHIFT_API_2002_BAD_REQUEST_EMPTY_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2003_BAD_REQUEST_TYPE_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2004_BAD_REQUEST_VALUE_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2005_BAD_REQUEST_VALUE_FIELD_MAX_LENGTH" | "CODE_SHIFT_API_2006_BAD_REQUEST_VALUE_FIELD_MIN_LENGTH" | "CODE_SHIFT_API_2007_BAD_REQUEST_VALUE_REGEX_DOESNT_MATCH" | "CODE_SHIFT_API_2008_BAD_REQUEST_VALUE_FIELD_NUMBER_NOT_LT" | "CODE_SHIFT_API_2100_CREATE_BODY_REPO_AND_REPO_CREATE_ACTION" | "CODE_SHIFT_API_2101_CREATE_BODY_NOT_REPO_AND_NOT_REPO_CREATE_ACTION" | "CODE_SHIFT_API_2102_BAD_REQUEST_DATE_MAX_INTERVAL" | "CODE_SHIFT_API_2103_BAD_REQUEST_INVALID_PAGE" | "CODE_SHIFT_API_2104_BAD_REQUEST_DUPLICATED_ALIAS" | "CODE_SHIFT_API_2105_BAD_REQUEST_INVALID_REPO_URL" | "CODE_SHIFT_API_2110_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_WITHOUT_CONCLUSION" | "CODE_SHIFT_API_2112_BAD_REQUEST_PUT_STEP_STATUS_NOT_COMPLETED_AND_CONCLUSION_DEFINED" | "CODE_SHIFT_API_2113_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_AND_COMPLETED_AT_NOT_DEFINED" | "CODE_SHIFT_API_2114_BAD_REQUEST_PUT_STEP_STATUS_IN_PROGRESS_AND_STARTED_AT_NOT_DEFINED" | "CODE_SHIFT_API_2115_BAD_REQUEST_PUT_STEP_COMPLETED_AT_DEFINED_AND_STATUS_NOT_COMPLETED" | "CODE_SHIFT_API_2116_BAD_REQUEST_PUT_STEP_STARTED_AT_DEFINED_AND_STATUS_PENDING" | "CODE_SHIFT_API_2117_BAD_REQUEST_PUT_STEP_LOG_DEFINED_AND_CONCLUSION_IS_NOT_FAILURE" | "CODE_SHIFT_API_2120_BAD_REQUEST_MULTIPLE_INTEGRATION" | "CODE_SHIFT_API_2121_BAD_REQUEST_EMPTY_INTEGRATION" | "CODE_SHIFT_API_2121_BAD_REQUEST_EMPTY_TARGET" | "CODE_SHIFT_API_2121_BAD_REQUEST_FILLED_TARGET" | "CODE_SHIFT_API_2999_BAD_REQUEST_UNMAPPED";
|
|
65
65
|
export type InvalidPayloadDetails = {
|
|
66
66
|
code: BadRequestExceptionTypes | ExceptionType;
|
|
@@ -264,6 +264,8 @@ export type PutReportRequest = {
|
|
|
264
264
|
customOutputs?: {
|
|
265
265
|
[key: string]: any;
|
|
266
266
|
} | null;
|
|
267
|
+
totalTokenSent?: number | null;
|
|
268
|
+
totalTokenReceived?: number | null;
|
|
267
269
|
};
|
|
268
270
|
export type ModuleResponse2 = {
|
|
269
271
|
id: string;
|
|
@@ -345,6 +347,8 @@ export type GetReportResponse = {
|
|
|
345
347
|
customOutputs?: {
|
|
346
348
|
[key: string]: any;
|
|
347
349
|
} | null;
|
|
350
|
+
totalTokenSent?: number | null;
|
|
351
|
+
totalTokenReceived?: number | null;
|
|
348
352
|
targetFiles: TargetFilesResponse[];
|
|
349
353
|
errorLog?: string | null;
|
|
350
354
|
exceptions: HttpErrorResponse[];
|
|
@@ -378,6 +382,8 @@ export type GetReportResponseRead = {
|
|
|
378
382
|
customOutputs?: {
|
|
379
383
|
[key: string]: any;
|
|
380
384
|
} | null;
|
|
385
|
+
totalTokenSent?: number | null;
|
|
386
|
+
totalTokenReceived?: number | null;
|
|
381
387
|
targetFiles: TargetFilesResponse[];
|
|
382
388
|
errorLog?: string | null;
|
|
383
389
|
exceptions: HttpErrorResponseRead[];
|
|
@@ -960,7 +966,7 @@ export type AnalyticsRepositoryDetailedReportResponse = {
|
|
|
960
966
|
};
|
|
961
967
|
export type ProgramGroupsTargetDetailsResponse = {
|
|
962
968
|
programGroupName: string;
|
|
963
|
-
programGroupTags?: string | null;
|
|
969
|
+
programGroupTags?: string[] | null;
|
|
964
970
|
mode: string;
|
|
965
971
|
moduleName: string;
|
|
966
972
|
reportCreatedAt: string;
|
|
@@ -971,17 +977,35 @@ export type ProgramGroupsTargetDetailsResponse = {
|
|
|
971
977
|
componentType: string;
|
|
972
978
|
totalIssues?: number;
|
|
973
979
|
changedFilesCount?: number;
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
980
|
+
customOutputs?: {
|
|
981
|
+
[key: string]: any;
|
|
982
|
+
} | null;
|
|
977
983
|
};
|
|
978
984
|
export type AnalyticsProgramGroupsTargetDetailsResponse = {
|
|
979
985
|
totalComponents?: number;
|
|
980
986
|
totalIssues?: number;
|
|
981
|
-
|
|
987
|
+
totalProgramGroups?: number;
|
|
982
988
|
totalItems?: number;
|
|
983
989
|
items?: ProgramGroupsTargetDetailsResponse[];
|
|
984
990
|
};
|
|
991
|
+
export type RepositoryTargetDetailsItemResponse = {
|
|
992
|
+
repositoryUrl: string;
|
|
993
|
+
sourceBranch: string | null;
|
|
994
|
+
moduleName: string | null;
|
|
995
|
+
targetName: string | null;
|
|
996
|
+
moduleInputs: string | null;
|
|
997
|
+
targetPath: string | null;
|
|
998
|
+
targetDetails: string | null;
|
|
999
|
+
issuesCount?: number | null;
|
|
1000
|
+
reportCreatedAt: string | null;
|
|
1001
|
+
reportId: string | null;
|
|
1002
|
+
};
|
|
1003
|
+
export type AnalyticsRepositoryTargetDetailsResponse = {
|
|
1004
|
+
totalFiles?: number;
|
|
1005
|
+
totalIssues?: number;
|
|
1006
|
+
totalItems?: number;
|
|
1007
|
+
items?: RepositoryTargetDetailsItemResponse[];
|
|
1008
|
+
};
|
|
985
1009
|
export type UserResponse6 = {
|
|
986
1010
|
id: string;
|
|
987
1011
|
name: string;
|
|
@@ -991,6 +1015,41 @@ export type ListUserResponse = {
|
|
|
991
1015
|
items: UserResponse6[];
|
|
992
1016
|
itemsCount: number;
|
|
993
1017
|
};
|
|
1018
|
+
export type SearchReposInScmRequest = {
|
|
1019
|
+
repositoryName: string;
|
|
1020
|
+
codeTerm?: string | null;
|
|
1021
|
+
};
|
|
1022
|
+
export type SearchReposInScmResponse = {
|
|
1023
|
+
search_id: string;
|
|
1024
|
+
};
|
|
1025
|
+
export type RepositoryPayload = {
|
|
1026
|
+
url: string;
|
|
1027
|
+
tags: string[];
|
|
1028
|
+
};
|
|
1029
|
+
export type ImportReposScmWithTagsRequest = {
|
|
1030
|
+
repositories: RepositoryPayload[];
|
|
1031
|
+
};
|
|
1032
|
+
export type SearchRepoByIdResponse = {
|
|
1033
|
+
url: string;
|
|
1034
|
+
name: string;
|
|
1035
|
+
defaultBranch: string;
|
|
1036
|
+
lastCommitDate: string;
|
|
1037
|
+
archived: boolean;
|
|
1038
|
+
visibility?: "public" | "private" | "internal";
|
|
1039
|
+
alreadyCreated?: boolean;
|
|
1040
|
+
};
|
|
1041
|
+
export type ResponseSearchRepoByIdResponse = {
|
|
1042
|
+
total: number | null;
|
|
1043
|
+
status?: string;
|
|
1044
|
+
exceptions: HttpErrorResponse[];
|
|
1045
|
+
items?: SearchRepoByIdResponse[];
|
|
1046
|
+
};
|
|
1047
|
+
export type ResponseSearchRepoByIdResponseRead = {
|
|
1048
|
+
total: number | null;
|
|
1049
|
+
status?: string;
|
|
1050
|
+
exceptions: HttpErrorResponseRead[];
|
|
1051
|
+
items?: SearchRepoByIdResponse[];
|
|
1052
|
+
};
|
|
994
1053
|
/**
|
|
995
1054
|
* Check Role Route
|
|
996
1055
|
*/
|
|
@@ -1611,7 +1670,7 @@ export function listRepositoryServiceV1ReposGet({ pageSize, page, lastEvaluatedK
|
|
|
1611
1670
|
createdByEmail?: string | null;
|
|
1612
1671
|
reportByEmail?: string | null;
|
|
1613
1672
|
orderBy?: "repository.url" | "repository.created_at" | "repository.updated_at" | "report.issues_count" | "report.total_files_count" | "report.analyzed_files_count" | "report.issues_files_count" | "report.created_at" | "report.updated_at" | "execution.status";
|
|
1614
|
-
orderDirection?:
|
|
1673
|
+
orderDirection?: "asc" | "desc" | "ASC" | "DESC";
|
|
1615
1674
|
tags?: string[] | null;
|
|
1616
1675
|
authorization: string;
|
|
1617
1676
|
}, opts?: Oazapfts.RequestOpts) {
|
|
@@ -1662,7 +1721,7 @@ export function listRepositoryDownloadServiceV1ReposDownloadGet({ filter, module
|
|
|
1662
1721
|
createdByEmail?: string | null;
|
|
1663
1722
|
reportByEmail?: string | null;
|
|
1664
1723
|
orderBy?: "repository.url" | "repository.created_at" | "repository.updated_at" | "report.issues_count" | "report.total_files_count" | "report.analyzed_files_count" | "report.issues_files_count" | "report.created_at" | "report.updated_at" | "execution.status";
|
|
1665
|
-
orderDirection?:
|
|
1724
|
+
orderDirection?: "asc" | "desc" | "ASC" | "DESC";
|
|
1666
1725
|
tags?: string[] | null;
|
|
1667
1726
|
extension?: "csv" | "xlsx";
|
|
1668
1727
|
authorization: string;
|
|
@@ -2075,7 +2134,7 @@ export function listProgramGroupServiceV1ProgramGroupsGet({ moduleId, createdByE
|
|
|
2075
2134
|
pageSize?: number;
|
|
2076
2135
|
page?: number;
|
|
2077
2136
|
orderBy?: "program_group.name" | "program_group.created_at" | "program_group.updated_at" | "report.issues_count" | "report.total_files_count" | "report.analyzed_files_count" | "report.issues_files_count" | "report.created_at" | "report.updated_at" | "execution.status";
|
|
2078
|
-
orderDirection?:
|
|
2137
|
+
orderDirection?: "asc" | "desc" | "ASC" | "DESC";
|
|
2079
2138
|
integrationId?: string;
|
|
2080
2139
|
authorization: string;
|
|
2081
2140
|
}, opts?: Oazapfts.RequestOpts) {
|
|
@@ -2113,7 +2172,7 @@ export function listProgramGroupDownloadServiceV1ProgramGroupsDownloadGet({ modu
|
|
|
2113
2172
|
tags?: string[] | null;
|
|
2114
2173
|
name?: string | null;
|
|
2115
2174
|
orderBy?: "program_group.name" | "program_group.created_at" | "program_group.updated_at" | "report.issues_count" | "report.total_files_count" | "report.analyzed_files_count" | "report.issues_files_count" | "report.created_at" | "report.updated_at" | "execution.status";
|
|
2116
|
-
orderDirection?:
|
|
2175
|
+
orderDirection?: "asc" | "desc" | "ASC" | "DESC";
|
|
2117
2176
|
integrationId?: string;
|
|
2118
2177
|
extension?: "csv" | "xlsx";
|
|
2119
2178
|
authorization: string;
|
|
@@ -3196,6 +3255,120 @@ export function analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGro
|
|
|
3196
3255
|
})
|
|
3197
3256
|
}));
|
|
3198
3257
|
}
|
|
3258
|
+
/**
|
|
3259
|
+
* Analytics Repository Target Details
|
|
3260
|
+
*/
|
|
3261
|
+
export function analyticsRepositoryTargetDetailsV1AnalyticsRepositoriesTargetDetailsGet({ pageSize, page, repositoryUrl, targetName, tags, mode, moduleId, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
|
|
3262
|
+
pageSize?: number;
|
|
3263
|
+
page?: number;
|
|
3264
|
+
repositoryUrl?: string | null;
|
|
3265
|
+
targetName?: string | null;
|
|
3266
|
+
tags?: string[] | null;
|
|
3267
|
+
mode?: ("scan" | "fix") | null;
|
|
3268
|
+
moduleId?: string[] | null;
|
|
3269
|
+
reportCreatedById?: string[] | null;
|
|
3270
|
+
startDate?: string;
|
|
3271
|
+
endDate?: string;
|
|
3272
|
+
orderBy?: ("repositoryUrl" | "sourceBranch" | "moduleName" | "targetName" | "targetPath" | "issuesCount" | "reportCreatedAt") | null;
|
|
3273
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
3274
|
+
authorization: string;
|
|
3275
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3276
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3277
|
+
status: 200;
|
|
3278
|
+
data: AnalyticsRepositoryTargetDetailsResponse;
|
|
3279
|
+
} | {
|
|
3280
|
+
status: 400;
|
|
3281
|
+
data: HttpErrorResponseRead;
|
|
3282
|
+
} | {
|
|
3283
|
+
status: 401;
|
|
3284
|
+
data: HttpErrorResponseRead;
|
|
3285
|
+
} | {
|
|
3286
|
+
status: 404;
|
|
3287
|
+
data: HttpErrorResponseRead;
|
|
3288
|
+
} | {
|
|
3289
|
+
status: 422;
|
|
3290
|
+
} | {
|
|
3291
|
+
status: 500;
|
|
3292
|
+
data: HttpErrorResponseRead;
|
|
3293
|
+
} | {
|
|
3294
|
+
status: 503;
|
|
3295
|
+
data: HttpErrorResponseRead;
|
|
3296
|
+
}>(`/v1/analytics/repositories/target-details${QS.query(QS.explode({
|
|
3297
|
+
pageSize,
|
|
3298
|
+
page,
|
|
3299
|
+
repositoryUrl,
|
|
3300
|
+
targetName,
|
|
3301
|
+
tags,
|
|
3302
|
+
mode,
|
|
3303
|
+
moduleId,
|
|
3304
|
+
reportCreatedById,
|
|
3305
|
+
startDate,
|
|
3306
|
+
endDate,
|
|
3307
|
+
orderBy,
|
|
3308
|
+
orderDirection
|
|
3309
|
+
}))}`, {
|
|
3310
|
+
...opts,
|
|
3311
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3312
|
+
authorization
|
|
3313
|
+
})
|
|
3314
|
+
}));
|
|
3315
|
+
}
|
|
3316
|
+
/**
|
|
3317
|
+
* Analytics Repository Target Details Download
|
|
3318
|
+
*/
|
|
3319
|
+
export function analyticsRepositoryTargetDetailsDownloadV1AnalyticsRepositoriesTargetDetailsDownloadGet({ repositoryUrl, targetName, tags, mode, moduleId, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
|
|
3320
|
+
repositoryUrl?: string | null;
|
|
3321
|
+
targetName?: string | null;
|
|
3322
|
+
tags?: string[] | null;
|
|
3323
|
+
mode?: ("scan" | "fix") | null;
|
|
3324
|
+
moduleId?: string[] | null;
|
|
3325
|
+
reportCreatedById?: string[] | null;
|
|
3326
|
+
startDate?: string;
|
|
3327
|
+
endDate?: string;
|
|
3328
|
+
orderBy?: ("repositoryUrl" | "sourceBranch" | "moduleName" | "targetName" | "targetPath" | "issuesCount" | "reportCreatedAt") | null;
|
|
3329
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
3330
|
+
extension?: "csv" | "xlsx";
|
|
3331
|
+
authorization: string;
|
|
3332
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3333
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3334
|
+
status: 200;
|
|
3335
|
+
data: any;
|
|
3336
|
+
} | {
|
|
3337
|
+
status: 400;
|
|
3338
|
+
data: HttpErrorResponseRead;
|
|
3339
|
+
} | {
|
|
3340
|
+
status: 401;
|
|
3341
|
+
data: HttpErrorResponseRead;
|
|
3342
|
+
} | {
|
|
3343
|
+
status: 404;
|
|
3344
|
+
data: HttpErrorResponseRead;
|
|
3345
|
+
} | {
|
|
3346
|
+
status: 422;
|
|
3347
|
+
} | {
|
|
3348
|
+
status: 500;
|
|
3349
|
+
data: HttpErrorResponseRead;
|
|
3350
|
+
} | {
|
|
3351
|
+
status: 503;
|
|
3352
|
+
data: HttpErrorResponseRead;
|
|
3353
|
+
}>(`/v1/analytics/repositories/target-details/download${QS.query(QS.explode({
|
|
3354
|
+
repositoryUrl,
|
|
3355
|
+
targetName,
|
|
3356
|
+
tags,
|
|
3357
|
+
mode,
|
|
3358
|
+
moduleId,
|
|
3359
|
+
reportCreatedById,
|
|
3360
|
+
startDate,
|
|
3361
|
+
endDate,
|
|
3362
|
+
orderBy,
|
|
3363
|
+
orderDirection,
|
|
3364
|
+
extension
|
|
3365
|
+
}))}`, {
|
|
3366
|
+
...opts,
|
|
3367
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3368
|
+
authorization
|
|
3369
|
+
})
|
|
3370
|
+
}));
|
|
3371
|
+
}
|
|
3199
3372
|
/**
|
|
3200
3373
|
* List User Service
|
|
3201
3374
|
*/
|
|
@@ -3215,3 +3388,113 @@ export function listUserServiceV1UsersGet({ authorization }: {
|
|
|
3215
3388
|
})
|
|
3216
3389
|
}));
|
|
3217
3390
|
}
|
|
3391
|
+
/**
|
|
3392
|
+
* Search Repos Scm Service
|
|
3393
|
+
*/
|
|
3394
|
+
export function searchReposScmServiceV2ReposSearchScmPost({ authorization, searchReposInScmRequest }: {
|
|
3395
|
+
authorization: string;
|
|
3396
|
+
searchReposInScmRequest: SearchReposInScmRequest;
|
|
3397
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3398
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3399
|
+
status: 200;
|
|
3400
|
+
data: SearchReposInScmResponse;
|
|
3401
|
+
} | {
|
|
3402
|
+
status: 207;
|
|
3403
|
+
data: HttpErrorResponseRead;
|
|
3404
|
+
} | {
|
|
3405
|
+
status: 400;
|
|
3406
|
+
data: HttpErrorResponseRead;
|
|
3407
|
+
} | {
|
|
3408
|
+
status: 401;
|
|
3409
|
+
data: HttpErrorResponseRead;
|
|
3410
|
+
} | {
|
|
3411
|
+
status: 404;
|
|
3412
|
+
data: HttpErrorResponseRead;
|
|
3413
|
+
} | {
|
|
3414
|
+
status: 422;
|
|
3415
|
+
} | {
|
|
3416
|
+
status: 500;
|
|
3417
|
+
data: HttpErrorResponseRead;
|
|
3418
|
+
} | {
|
|
3419
|
+
status: 503;
|
|
3420
|
+
data: HttpErrorResponseRead;
|
|
3421
|
+
}>("/v2/repos/search-scm", oazapfts.json({
|
|
3422
|
+
...opts,
|
|
3423
|
+
method: "POST",
|
|
3424
|
+
body: searchReposInScmRequest,
|
|
3425
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3426
|
+
authorization
|
|
3427
|
+
})
|
|
3428
|
+
})));
|
|
3429
|
+
}
|
|
3430
|
+
/**
|
|
3431
|
+
* Import Repos With Tags Scm Service
|
|
3432
|
+
*/
|
|
3433
|
+
export function importReposWithTagsScmServiceV2ReposSearchScmSearchIdPost({ searchId, authorization, importReposScmWithTagsRequest }: {
|
|
3434
|
+
searchId: string;
|
|
3435
|
+
authorization: string;
|
|
3436
|
+
importReposScmWithTagsRequest: ImportReposScmWithTagsRequest;
|
|
3437
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3438
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3439
|
+
status: 200;
|
|
3440
|
+
data: SearchReposInScmResponse;
|
|
3441
|
+
} | {
|
|
3442
|
+
status: 400;
|
|
3443
|
+
data: HttpErrorResponseRead;
|
|
3444
|
+
} | {
|
|
3445
|
+
status: 401;
|
|
3446
|
+
data: HttpErrorResponseRead;
|
|
3447
|
+
} | {
|
|
3448
|
+
status: 404;
|
|
3449
|
+
data: HttpErrorResponseRead;
|
|
3450
|
+
} | {
|
|
3451
|
+
status: 422;
|
|
3452
|
+
} | {
|
|
3453
|
+
status: 500;
|
|
3454
|
+
data: HttpErrorResponseRead;
|
|
3455
|
+
} | {
|
|
3456
|
+
status: 503;
|
|
3457
|
+
data: HttpErrorResponseRead;
|
|
3458
|
+
}>(`/v2/repos/search-scm/${encodeURIComponent(searchId)}`, oazapfts.json({
|
|
3459
|
+
...opts,
|
|
3460
|
+
method: "POST",
|
|
3461
|
+
body: importReposScmWithTagsRequest,
|
|
3462
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3463
|
+
authorization
|
|
3464
|
+
})
|
|
3465
|
+
})));
|
|
3466
|
+
}
|
|
3467
|
+
/**
|
|
3468
|
+
* Search Repos Scm V2
|
|
3469
|
+
*/
|
|
3470
|
+
export function searchReposScmV2V2ReposSearchScmSearchIdGet({ searchId, authorization }: {
|
|
3471
|
+
searchId: string;
|
|
3472
|
+
authorization: string;
|
|
3473
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3474
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3475
|
+
status: 200;
|
|
3476
|
+
data: ResponseSearchRepoByIdResponseRead;
|
|
3477
|
+
} | {
|
|
3478
|
+
status: 400;
|
|
3479
|
+
data: HttpErrorResponseRead;
|
|
3480
|
+
} | {
|
|
3481
|
+
status: 401;
|
|
3482
|
+
data: HttpErrorResponseRead;
|
|
3483
|
+
} | {
|
|
3484
|
+
status: 404;
|
|
3485
|
+
data: HttpErrorResponseRead;
|
|
3486
|
+
} | {
|
|
3487
|
+
status: 422;
|
|
3488
|
+
} | {
|
|
3489
|
+
status: 500;
|
|
3490
|
+
data: HttpErrorResponseRead;
|
|
3491
|
+
} | {
|
|
3492
|
+
status: 503;
|
|
3493
|
+
data: HttpErrorResponseRead;
|
|
3494
|
+
}>(`/v2/repos/search-scm/${encodeURIComponent(searchId)}`, {
|
|
3495
|
+
...opts,
|
|
3496
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3497
|
+
authorization
|
|
3498
|
+
})
|
|
3499
|
+
}));
|
|
3500
|
+
}
|