@stack-spot/portal-network 0.195.1 → 0.196.0-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 +79 -0
- package/dist/api/agent-tools.d.ts +135 -148
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +41 -4
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/agent.d.ts +55 -55
- package/dist/api/agent.d.ts.map +1 -1
- package/dist/api/ai.d.ts +196 -25
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +153 -22
- package/dist/api/ai.js.map +1 -1
- package/dist/api/cloudPlatformHorizon.d.ts +178 -9
- package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
- package/dist/api/cloudPlatformHorizon.js +69 -1
- package/dist/api/cloudPlatformHorizon.js.map +1 -1
- package/dist/api/codeShift.d.ts +315 -62
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +153 -12
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/discover.d.ts +23 -12
- package/dist/api/discover.d.ts.map +1 -1
- package/dist/api/discover.js +10 -0
- package/dist/api/discover.js.map +1 -1
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/client/account.d.ts +233 -233
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/agent-tools.d.ts +152 -126
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +29 -2
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/agent.d.ts +46 -46
- package/dist/client/agent.d.ts.map +1 -1
- package/dist/client/ai.d.ts +120 -110
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +29 -2
- package/dist/client/ai.js.map +1 -1
- package/dist/client/api-management.d.ts +2 -2
- package/dist/client/cloud-account.d.ts +13 -13
- package/dist/client/cloud-platform-horizon.d.ts +38 -19
- package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
- package/dist/client/cloud-platform-horizon.js +19 -1
- package/dist/client/cloud-platform-horizon.js.map +1 -1
- package/dist/client/cloud-platform.d.ts +50 -50
- package/dist/client/cloud-runtimes.d.ts +4 -4
- package/dist/client/cloud-services.d.ts +17 -17
- package/dist/client/cloud-services.d.ts.map +1 -1
- package/dist/client/code-shift.d.ts +349 -258
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +82 -1
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/content.d.ts +127 -132
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/data-integration.d.ts +55 -55
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/discover.d.ts +15 -9
- package/dist/client/discover.d.ts.map +1 -1
- package/dist/client/discover.js +208 -0
- package/dist/client/discover.js.map +1 -1
- package/dist/client/event-bus.d.ts.map +1 -1
- package/dist/client/gen-ai-inference.d.ts +20 -20
- package/dist/client/insights.d.ts +7 -7
- package/dist/client/notification.d.ts +10 -10
- package/dist/client/runtime-manager.d.ts +8 -8
- package/dist/client/types.d.ts +14 -0
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workflow.d.ts +10 -10
- package/dist/client/workspace-ai.d.ts +53 -53
- package/dist/client/workspace-manager.d.ts +77 -77
- package/dist/client/workspace-search.d.ts +2 -2
- package/dist/client/workspace.d.ts +58 -105
- package/dist/client/workspace.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.d.ts +6 -0
- package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.js +6 -0
- package/dist/error/dictionary/cloud-platform.js.map +1 -1
- package/dist/utils/StreamedJson.d.ts.map +1 -1
- package/dist/utils/StreamedJson.js +9 -1
- package/dist/utils/StreamedJson.js.map +1 -1
- package/package.json +2 -2
- package/src/api/agent-tools.ts +182 -150
- package/src/api/ai.ts +381 -40
- package/src/api/cloudPlatformHorizon.ts +412 -9
- package/src/api/codeShift.ts +607 -69
- package/src/api/discover.ts +35 -12
- package/src/client/agent-tools.ts +20 -2
- package/src/client/ai.ts +25 -10
- package/src/client/cloud-platform-horizon.ts +12 -4
- package/src/client/code-shift.ts +50 -1
- package/src/client/discover.ts +220 -3
- package/src/client/types.ts +17 -2
- package/src/error/dictionary/cloud-platform.ts +6 -0
- package/src/utils/StreamedJson.tsx +9 -2
package/dist/api/codeShift.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import * as Oazapfts from "@oazapfts/runtime";
|
|
8
8
|
export declare const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders>;
|
|
9
9
|
export declare const servers: {};
|
|
10
|
-
export type CodeShiftRole = "list-applications" | "create-application" | "list-repository" | "create-repository" | "delete-repository" | "dispatch-module" | "create-module" | "account-settings" | "list-integration" | "create-integration" | "delete-integration" | "list-program-group" | "create-program-group" | "delete-program-group" | "view-analytics" | "account-discovery-repos";
|
|
10
|
+
export type CodeShiftRole = "list-applications" | "create-application" | "list-repository" | "create-repository" | "delete-repository" | "dispatch-module" | "create-module" | "account-settings" | "list-integration" | "create-integration" | "delete-integration" | "list-program-group" | "create-program-group" | "delete-program-group" | "view-analytics" | "account-discovery-repos" | "account-validate-repos";
|
|
11
11
|
export type RolesResponse = {
|
|
12
12
|
result: boolean;
|
|
13
13
|
};
|
|
@@ -19,6 +19,36 @@ export type ValidationError = {
|
|
|
19
19
|
export type HttpValidationError = {
|
|
20
20
|
detail?: ValidationError[];
|
|
21
21
|
};
|
|
22
|
+
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_0027_ACCOUNT_SCM_CONFIG_NOT_FOUND_EXCEPTION" | "CODE_SHIFT_API_0028_USER_SCM_CONFIG_NOT_FOUND_EXCEPTION" | "CODE_SHIFT_API_0029_USER_CUSTOMER_RATING_CREATION_FORBIDDEN" | "CODE_SHIFT_API_0030_BROKEN_STACKSPOT_WORKFLOW_SCM_SETUP_BY_INVALID_TRIGGER_EXCEPTION" | "CODE_SHIFT_API_0031_GITHUB_SECONDARY_INDEX" | "CODE_SHIFT_API_0032_GITHUB_MISSING_PAT_SCOPE" | "CODE_SHIFT_API_0033_FEATURE_NOT_IMPLEMENTED_TO_SCM_YET" | "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_3101_SCM_GET_REPOSITORIES_NOT_FOUND" | "CODE_SHIFT_API_3102_SCM_GET_REPOSITORIES_UNAUTHORIZED" | "CODE_SHIFT_API_3103_SCM_GET_REPOSITORIES_FORBIDDEN" | "CODE_SHIFT_API_3104_SCM_GET_REPOSITORIES_SAML_ERROR" | "CODE_SHIFT_API_3110_SCM_GET_PULL_REQUEST_FAILURE" | "CODE_SHIFT_API_3111_SCM_GET_PULL_REQUEST_NOT_FOUND" | "CODE_SHIFT_API_3112_SCM_GET_PULL_REQUEST_UNAUTHORIZED" | "CODE_SHIFT_API_3113_SCM_GET_PULL_REQUEST_FORBIDDEN" | "CODE_SHIFT_API_3114_SCM_GET_PULL_REQUEST_SAML_ERROR" | "CODE_SHIFT_API_3120_SCM_GET_BRANCHES_FAILURE" | "CODE_SHIFT_API_3121_SCM_GET_BRANCHES_NOT_FOUND" | "CODE_SHIFT_API_3122_SCM_GET_BRANCHES_UNAUTHORIZED" | "CODE_SHIFT_API_3123_SCM_GET_BRANCHES_FORBIDDEN" | "CODE_SHIFT_API_3124_SCM_GET_BRANCHES_SAML_ERROR" | "CODE_SHIFT_API_3130_SCM_GET_SCM_REPOSITORY_FETCH_FAILURE" | "CODE_SHIFT_API_3131_SCM_REPOSITORY_NOT_FOUND" | "CODE_SHIFT_API_3132_SCM_REPOSITORY_UNAUTHORIZED" | "CODE_SHIFT_API_3133_SCM_REPOSITORY_FORBIDDEN" | "CODE_SHIFT_API_3134_SCM_REPOSITORY_SAML_ERROR" | "CODE_SHIFT_API_3140_SCM_GET_BRANCH_FAILURE" | "CODE_SHIFT_API_3142_SCM_GET_BRANCH_NOT_FOUND" | "CODE_SHIFT_API_3143_SCM_GET_BRANCH_UNAUTHORIZED" | "CODE_SHIFT_API_3144_SCM_GET_BRANCH_FORBIDDEN" | "CODE_SHIFT_API_3145_SCM_GET_BRANCH_SAML_ERROR" | "CODE_SHIFT_API_3150_SCM_GET_REPOSITORY_FILE_FAILURE" | "CODE_SHIFT_API_3151_SCM_GET_REPOSITORY_FILE_NOT_FOUND" | "CODE_SHIFT_API_3152_SCM_GET_REPOSITORY_FILE_UNAUTHORIZED" | "CODE_SHIFT_API_3153_SCM_GET_REPOSITORY_FILE_FORBIDDEN" | "CODE_SHIFT_API_3154_SCM_GET_REPOSITORY_FILE_SAML_ERROR" | "CODE_SHIFT_API_3160_SCM_GET_REPOSITORY_FILE_FAILURE" | "CODE_SHIFT_API_3161_SCM_GET_REPOSITORY_FILE_NOT_FOUND" | "CODE_SHIFT_API_3162_SCM_GET_REPOSITORY_FILE_UNAUTHORIZED" | "CODE_SHIFT_API_3163_SCM_GET_REPOSITORY_FILE_FORBIDDEN" | "CODE_SHIFT_API_3164_SCM_GET_REPOSITORY_FILE_SAML_ERROR" | "CODE_SHIFT_API_3170_SCM_GET_OWNER_FAILURE" | "CODE_SHIFT_API_3172_SCM_GET_OWNER_NOT_FOUND" | "CODE_SHIFT_API_3173_SCM_GET_OWNER_UNAUTHORIZED" | "CODE_SHIFT_API_3174_SCM_GET_OWNER_FORBIDDEN" | "CODE_SHIFT_API_3175_SCM_GET_OWNER_SAML_ERROR" | "CODE_SHIFT_API_3500_CONTENT_API_GET_WORKFLOW_VERSION_FAILURE" | "CODE_SHIFT_API_3501_CONTENT_API_GET_WORKFLOW_VERSION_NOT_FOUND" | "CODE_SHIFT_API_3502_CONTENT_API_GET_WORKFLOW_VERSION_FORBIDDEN" | "CODE_SHIFT_API_3503_CONTENT_API_GET_WORKFLOW_VERSION_UNAUTHORIZED" | "CODE_SHIFT_API_3510_CONTENT_API_GET_WORKFLOW_FAILURE" | "CODE_SHIFT_API_3511_CONTENT_API_GET_WORKFLOW_NOT_FOUND" | "CODE_SHIFT_API_3512_CONTENT_API_GET_WORKFLOW_FORBIDDEN" | "CODE_SHIFT_API_3513_CONTENT_API_GET_WORKFLOW_UNAUTHORIZED" | "CODE_SHIFT_API_3520_CONTENT_API_GET_WORKFLOW_INPUTS_FAILURE" | "CODE_SHIFT_API_3521_CONTENT_API_GET_WORKFLOW_INPUTS_NOT_FOUND" | "CODE_SHIFT_API_3522_CONTENT_API_GET_WORKFLOW_INPUTS_FORBIDDEN" | "CODE_SHIFT_API_3523_CONTENT_API_GET_WORKFLOW_INPUTS_UNAUTHORIZED" | "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";
|
|
23
|
+
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";
|
|
24
|
+
export type InvalidPayloadDetails = {
|
|
25
|
+
code: BadRequestExceptionTypes | ExceptionType;
|
|
26
|
+
field: string | null;
|
|
27
|
+
message?: string | null;
|
|
28
|
+
};
|
|
29
|
+
export type SuggestedMessage = {
|
|
30
|
+
ptBr: string | null;
|
|
31
|
+
enUs: string | null;
|
|
32
|
+
};
|
|
33
|
+
export type InvalidPayloadDetailsRead = {
|
|
34
|
+
code: BadRequestExceptionTypes | ExceptionType;
|
|
35
|
+
field: string | null;
|
|
36
|
+
message?: string | null;
|
|
37
|
+
suggestedMessages: SuggestedMessage | null;
|
|
38
|
+
};
|
|
39
|
+
export type HttpErrorResponse = {
|
|
40
|
+
status: string;
|
|
41
|
+
code: ExceptionType;
|
|
42
|
+
details: string;
|
|
43
|
+
validationDetails?: InvalidPayloadDetails[] | null;
|
|
44
|
+
};
|
|
45
|
+
export type HttpErrorResponseRead = {
|
|
46
|
+
status: string;
|
|
47
|
+
code: ExceptionType;
|
|
48
|
+
details: string;
|
|
49
|
+
validationDetails?: InvalidPayloadDetailsRead[] | null;
|
|
50
|
+
suggestedMessages: SuggestedMessage | null;
|
|
51
|
+
};
|
|
22
52
|
export type ModuleType = "repository" | "program_group";
|
|
23
53
|
export type InputRequest = {
|
|
24
54
|
name: string;
|
|
@@ -30,6 +60,20 @@ export type GitAction = {
|
|
|
30
60
|
branch: string;
|
|
31
61
|
directory: string;
|
|
32
62
|
};
|
|
63
|
+
export type ModuleVisibility = "Personal" | "Account";
|
|
64
|
+
export type UserRequest = {
|
|
65
|
+
/** User ID */
|
|
66
|
+
id: string;
|
|
67
|
+
/** User username */
|
|
68
|
+
username: string;
|
|
69
|
+
/** User email */
|
|
70
|
+
email: string;
|
|
71
|
+
};
|
|
72
|
+
export type ModulePermission = "read" | "write";
|
|
73
|
+
export type SharedUserRequest = {
|
|
74
|
+
user: UserRequest;
|
|
75
|
+
permission: ModulePermission;
|
|
76
|
+
};
|
|
33
77
|
export type CreateModuleRequest = {
|
|
34
78
|
/** Module name */
|
|
35
79
|
name: string;
|
|
@@ -46,7 +90,7 @@ export type CreateModuleRequest = {
|
|
|
46
90
|
/** Module tags */
|
|
47
91
|
tags: string[];
|
|
48
92
|
/** Inputs of module */
|
|
49
|
-
inputs
|
|
93
|
+
inputs?: InputRequest[] | null;
|
|
50
94
|
/** Module studio */
|
|
51
95
|
studio?: string | null;
|
|
52
96
|
/** Module studio */
|
|
@@ -54,36 +98,10 @@ export type CreateModuleRequest = {
|
|
|
54
98
|
[key: string]: any;
|
|
55
99
|
} | null;
|
|
56
100
|
gitAction?: GitAction | null;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
code: BadRequestExceptionTypes | ExceptionType;
|
|
62
|
-
field: string | null;
|
|
63
|
-
message?: string | null;
|
|
64
|
-
};
|
|
65
|
-
export type SuggestedMessage = {
|
|
66
|
-
ptBr: string | null;
|
|
67
|
-
enUs: string | null;
|
|
68
|
-
};
|
|
69
|
-
export type InvalidPayloadDetailsRead = {
|
|
70
|
-
code: BadRequestExceptionTypes | ExceptionType;
|
|
71
|
-
field: string | null;
|
|
72
|
-
message?: string | null;
|
|
73
|
-
suggestedMessages: SuggestedMessage | null;
|
|
74
|
-
};
|
|
75
|
-
export type HttpErrorResponse = {
|
|
76
|
-
status: string;
|
|
77
|
-
code: ExceptionType;
|
|
78
|
-
details: string;
|
|
79
|
-
validationDetails?: InvalidPayloadDetails[] | null;
|
|
80
|
-
};
|
|
81
|
-
export type HttpErrorResponseRead = {
|
|
82
|
-
status: string;
|
|
83
|
-
code: ExceptionType;
|
|
84
|
-
details: string;
|
|
85
|
-
validationDetails?: InvalidPayloadDetailsRead[] | null;
|
|
86
|
-
suggestedMessages: SuggestedMessage | null;
|
|
101
|
+
/** Module visibility */
|
|
102
|
+
visibility?: ModuleVisibility;
|
|
103
|
+
/** List of users to share the module with */
|
|
104
|
+
sharedWith?: SharedUserRequest[] | null;
|
|
87
105
|
};
|
|
88
106
|
export type InputResponse = {
|
|
89
107
|
name: string;
|
|
@@ -116,11 +134,17 @@ export type ModuleResponse = {
|
|
|
116
134
|
tags: string[];
|
|
117
135
|
/** Module inputs */
|
|
118
136
|
inputs: InputResponse[];
|
|
137
|
+
/** Flag to internal developed modules */
|
|
138
|
+
stackspotInternal: boolean;
|
|
119
139
|
/** Module studio */
|
|
120
140
|
constants?: {
|
|
121
141
|
[key: string]: any;
|
|
122
142
|
} | null;
|
|
143
|
+
/** Module visibility */
|
|
144
|
+
visibility: ModuleVisibility;
|
|
123
145
|
gitAction?: GitAction2 | null;
|
|
146
|
+
/** Flag to favor modules */
|
|
147
|
+
isFavorite: boolean;
|
|
124
148
|
};
|
|
125
149
|
export type ListModuleResponse = {
|
|
126
150
|
/** List of modules */
|
|
@@ -154,6 +178,21 @@ export type PutModuleRequest = {
|
|
|
154
178
|
[key: string]: any;
|
|
155
179
|
} | null;
|
|
156
180
|
gitAction?: GitAction | null;
|
|
181
|
+
/** Module visibility */
|
|
182
|
+
visibility?: ModuleVisibility | null;
|
|
183
|
+
/** List of users to share the module with */
|
|
184
|
+
sharedWith?: SharedUserRequest[] | null;
|
|
185
|
+
};
|
|
186
|
+
export type SharedPermissionResponse = {
|
|
187
|
+
/** User ID */
|
|
188
|
+
userId: string;
|
|
189
|
+
/** User email */
|
|
190
|
+
email: string;
|
|
191
|
+
/** Permission type: 'read' (view/execute) or 'write' (edit/manage) */
|
|
192
|
+
permission: ModulePermission;
|
|
193
|
+
};
|
|
194
|
+
export type UserResponse = {
|
|
195
|
+
name: string;
|
|
157
196
|
};
|
|
158
197
|
export type GetModuleResponse = {
|
|
159
198
|
/** Module ID */
|
|
@@ -177,6 +216,21 @@ export type GetModuleResponse = {
|
|
|
177
216
|
[key: string]: any;
|
|
178
217
|
} | null;
|
|
179
218
|
gitAction?: GitAction2 | null;
|
|
219
|
+
/** Module tags */
|
|
220
|
+
tags?: string[] | null;
|
|
221
|
+
/** Flag to internal developed modules */
|
|
222
|
+
stackspotInternal: boolean;
|
|
223
|
+
/** Module visibility */
|
|
224
|
+
visibility: ModuleVisibility;
|
|
225
|
+
/** List of users to share the module with */
|
|
226
|
+
sharedWith?: SharedPermissionResponse[] | null;
|
|
227
|
+
/** Flag to favor modules */
|
|
228
|
+
isFavorite: boolean;
|
|
229
|
+
/** Module usage */
|
|
230
|
+
totalUsage: number;
|
|
231
|
+
/** Module users */
|
|
232
|
+
totalUsers: number;
|
|
233
|
+
createdBy: UserResponse | null;
|
|
180
234
|
};
|
|
181
235
|
export type ExternalItemsModel = {
|
|
182
236
|
source: string;
|
|
@@ -194,7 +248,7 @@ export type OutputModel = {
|
|
|
194
248
|
};
|
|
195
249
|
export type InputModel = {
|
|
196
250
|
label: string;
|
|
197
|
-
name: string;
|
|
251
|
+
name: string | null;
|
|
198
252
|
"type": string;
|
|
199
253
|
required: boolean;
|
|
200
254
|
pattern: string | null;
|
|
@@ -218,6 +272,9 @@ export type GetModuleInputsResponse = {
|
|
|
218
272
|
inputs: InputModel[];
|
|
219
273
|
computedInputs: ComputedInputModel[] | null;
|
|
220
274
|
};
|
|
275
|
+
export type GetModuleDocsResponse = {
|
|
276
|
+
content: string;
|
|
277
|
+
};
|
|
221
278
|
export type Mode = "scan" | "fix";
|
|
222
279
|
export type ModuleDispatchRequest = {
|
|
223
280
|
/** Module mode */
|
|
@@ -252,6 +309,9 @@ export type TargetFilesRequest = {
|
|
|
252
309
|
details?: string | null;
|
|
253
310
|
dependsOn?: DependsOnRequest[] | null;
|
|
254
311
|
issues?: IssuesRequest[] | null;
|
|
312
|
+
totalTokenSent?: number | null;
|
|
313
|
+
totalTokenReceived?: number | null;
|
|
314
|
+
modified?: boolean | null;
|
|
255
315
|
};
|
|
256
316
|
export type LanguageInfoRequest = {
|
|
257
317
|
bytes: number;
|
|
@@ -293,7 +353,7 @@ export type ExecutionResponse = {
|
|
|
293
353
|
status: string | null;
|
|
294
354
|
conclusion: string | null;
|
|
295
355
|
};
|
|
296
|
-
export type
|
|
356
|
+
export type UserResponse2 = {
|
|
297
357
|
id: string;
|
|
298
358
|
name: string;
|
|
299
359
|
email: string;
|
|
@@ -322,6 +382,9 @@ export type TargetFilesResponse = {
|
|
|
322
382
|
details?: string | null;
|
|
323
383
|
dependsOn?: DependsOnResponse[] | null;
|
|
324
384
|
issues?: IssuesResponse[] | null;
|
|
385
|
+
totalTokenSent?: number | null;
|
|
386
|
+
totalTokenReceived?: number | null;
|
|
387
|
+
modified?: boolean | null;
|
|
325
388
|
};
|
|
326
389
|
export type ReportStatus = "waiting_dispatch" | "waiting_runner" | "dispatch_failure" | "in_progress" | "suspended" | "error" | "success" | "cancelled";
|
|
327
390
|
export type PullRequestResponse = {
|
|
@@ -338,7 +401,7 @@ export type CustomerRatingResponse = {
|
|
|
338
401
|
report_id: string;
|
|
339
402
|
score: number;
|
|
340
403
|
commentary: string | null;
|
|
341
|
-
created_by:
|
|
404
|
+
created_by: UserResponse2;
|
|
342
405
|
created_at: string;
|
|
343
406
|
};
|
|
344
407
|
export type LanguageResponse = {
|
|
@@ -356,7 +419,7 @@ export type GetReportResponse = {
|
|
|
356
419
|
mode: string;
|
|
357
420
|
sourceBranch: string | null;
|
|
358
421
|
targetBranch?: string | null;
|
|
359
|
-
createdBy:
|
|
422
|
+
createdBy: UserResponse2;
|
|
360
423
|
createdAt: string;
|
|
361
424
|
updatedAt: string;
|
|
362
425
|
filesCount: number | null;
|
|
@@ -393,7 +456,7 @@ export type GetReportResponseRead = {
|
|
|
393
456
|
mode: string;
|
|
394
457
|
sourceBranch: string | null;
|
|
395
458
|
targetBranch?: string | null;
|
|
396
|
-
createdBy:
|
|
459
|
+
createdBy: UserResponse2;
|
|
397
460
|
createdAt: string;
|
|
398
461
|
updatedAt: string;
|
|
399
462
|
filesCount: number | null;
|
|
@@ -441,7 +504,7 @@ export type ModuleResponse3 = {
|
|
|
441
504
|
id: string;
|
|
442
505
|
name: string;
|
|
443
506
|
};
|
|
444
|
-
export type
|
|
507
|
+
export type UserResponse3 = {
|
|
445
508
|
id: string;
|
|
446
509
|
name: string;
|
|
447
510
|
email: string;
|
|
@@ -454,7 +517,7 @@ export type ReportResponse = {
|
|
|
454
517
|
mode: string;
|
|
455
518
|
sourceBranch: string;
|
|
456
519
|
targetBranch?: string | null;
|
|
457
|
-
createdBy:
|
|
520
|
+
createdBy: UserResponse3;
|
|
458
521
|
createdAt: string;
|
|
459
522
|
updatedAt: string;
|
|
460
523
|
filesCount: number | null;
|
|
@@ -471,7 +534,7 @@ export type ReportResponseRead = {
|
|
|
471
534
|
mode: string;
|
|
472
535
|
sourceBranch: string;
|
|
473
536
|
targetBranch?: string | null;
|
|
474
|
-
createdBy:
|
|
537
|
+
createdBy: UserResponse3;
|
|
475
538
|
createdAt: string;
|
|
476
539
|
updatedAt: string;
|
|
477
540
|
filesCount: number | null;
|
|
@@ -505,7 +568,7 @@ export type CreateRepositoryRequest = {
|
|
|
505
568
|
defaultBranch: string;
|
|
506
569
|
tags?: string[] | null;
|
|
507
570
|
};
|
|
508
|
-
export type
|
|
571
|
+
export type UserResponse4 = {
|
|
509
572
|
id: string;
|
|
510
573
|
name: string;
|
|
511
574
|
email: string;
|
|
@@ -518,7 +581,7 @@ export type ReportResponse2 = {
|
|
|
518
581
|
moduleId: string;
|
|
519
582
|
sourceBranch: string;
|
|
520
583
|
targetBranch?: string | null;
|
|
521
|
-
createdBy:
|
|
584
|
+
createdBy: UserResponse4 | null;
|
|
522
585
|
createdAt: string;
|
|
523
586
|
updatedAt: string;
|
|
524
587
|
filesCount: number | null;
|
|
@@ -535,7 +598,7 @@ export type ReportResponseRead2 = {
|
|
|
535
598
|
moduleId: string;
|
|
536
599
|
sourceBranch: string;
|
|
537
600
|
targetBranch?: string | null;
|
|
538
|
-
createdBy:
|
|
601
|
+
createdBy: UserResponse4 | null;
|
|
539
602
|
createdAt: string;
|
|
540
603
|
updatedAt: string;
|
|
541
604
|
filesCount: number | null;
|
|
@@ -599,6 +662,15 @@ export type PutRepositoryRequest = {
|
|
|
599
662
|
export type ValidateScmUrlRequest = {
|
|
600
663
|
url?: string | null;
|
|
601
664
|
};
|
|
665
|
+
export type ValidateScmUrlResponse = {
|
|
666
|
+
url: string;
|
|
667
|
+
name: string | null;
|
|
668
|
+
id: string | null;
|
|
669
|
+
defaultBranch: string | null;
|
|
670
|
+
lastCommitDate: string | null;
|
|
671
|
+
archived: boolean | null;
|
|
672
|
+
visibility: string | null;
|
|
673
|
+
};
|
|
602
674
|
export type GetAccountSettingsRequest = {
|
|
603
675
|
maxSimultaneousExecution: number | null;
|
|
604
676
|
createRepositoryValidateBranch: boolean | null;
|
|
@@ -659,7 +731,7 @@ export type BodyCreateProgramGroupServiceV1ProgramGroupsPost = {
|
|
|
659
731
|
export type CreateProgramGroupResponse = {
|
|
660
732
|
id: string;
|
|
661
733
|
};
|
|
662
|
-
export type
|
|
734
|
+
export type UserResponse5 = {
|
|
663
735
|
id: string;
|
|
664
736
|
name: string;
|
|
665
737
|
email: string;
|
|
@@ -670,7 +742,7 @@ export type ReportResponse3 = {
|
|
|
670
742
|
execution: ExecutionResponse | null;
|
|
671
743
|
mode: string;
|
|
672
744
|
moduleId: string;
|
|
673
|
-
createdBy:
|
|
745
|
+
createdBy: UserResponse5 | null;
|
|
674
746
|
createdAt: string;
|
|
675
747
|
updatedAt: string;
|
|
676
748
|
filesCount: number | null;
|
|
@@ -685,7 +757,7 @@ export type ReportResponseRead3 = {
|
|
|
685
757
|
execution: ExecutionResponse | null;
|
|
686
758
|
mode: string;
|
|
687
759
|
moduleId: string;
|
|
688
|
-
createdBy:
|
|
760
|
+
createdBy: UserResponse5 | null;
|
|
689
761
|
createdAt: string;
|
|
690
762
|
updatedAt: string;
|
|
691
763
|
filesCount: number | null;
|
|
@@ -750,7 +822,7 @@ export type ModuleResponse4 = {
|
|
|
750
822
|
id: string;
|
|
751
823
|
name: string;
|
|
752
824
|
};
|
|
753
|
-
export type
|
|
825
|
+
export type UserResponse6 = {
|
|
754
826
|
id: string;
|
|
755
827
|
name: string;
|
|
756
828
|
email: string;
|
|
@@ -761,7 +833,7 @@ export type ReportResponse4 = {
|
|
|
761
833
|
"module": ModuleResponse4;
|
|
762
834
|
execution: ExecutionResponse | null;
|
|
763
835
|
mode: string;
|
|
764
|
-
createdBy:
|
|
836
|
+
createdBy: UserResponse6;
|
|
765
837
|
createdAt: string;
|
|
766
838
|
updatedAt: string;
|
|
767
839
|
filesCount: number | null;
|
|
@@ -776,7 +848,7 @@ export type ReportResponseRead4 = {
|
|
|
776
848
|
"module": ModuleResponse4;
|
|
777
849
|
execution: ExecutionResponse | null;
|
|
778
850
|
mode: string;
|
|
779
|
-
createdBy:
|
|
851
|
+
createdBy: UserResponse6;
|
|
780
852
|
createdAt: string;
|
|
781
853
|
updatedAt: string;
|
|
782
854
|
filesCount: number | null;
|
|
@@ -1027,6 +1099,9 @@ export type ProgramGroupsTargetDetailsResponse = {
|
|
|
1027
1099
|
[key: string]: any;
|
|
1028
1100
|
} | null;
|
|
1029
1101
|
customerScore?: number | null;
|
|
1102
|
+
totalTokenSent: number | null;
|
|
1103
|
+
totalTokenReceived: number | null;
|
|
1104
|
+
modified: boolean | null;
|
|
1030
1105
|
};
|
|
1031
1106
|
export type AnalyticsProgramGroupsTargetDetailsResponse = {
|
|
1032
1107
|
totalComponents?: number;
|
|
@@ -1047,6 +1122,9 @@ export type RepositoryTargetDetailsItemResponse = {
|
|
|
1047
1122
|
reportCreatedAt: string | null;
|
|
1048
1123
|
reportId: string | null;
|
|
1049
1124
|
customerScore?: number | null;
|
|
1125
|
+
totalTokenSent: number | null;
|
|
1126
|
+
totalTokenReceived: number | null;
|
|
1127
|
+
modified: boolean | null;
|
|
1050
1128
|
};
|
|
1051
1129
|
export type AnalyticsRepositoryTargetDetailsResponse = {
|
|
1052
1130
|
totalFiles?: number;
|
|
@@ -1054,13 +1132,51 @@ export type AnalyticsRepositoryTargetDetailsResponse = {
|
|
|
1054
1132
|
totalItems?: number;
|
|
1055
1133
|
items?: RepositoryTargetDetailsItemResponse[];
|
|
1056
1134
|
};
|
|
1057
|
-
export type
|
|
1135
|
+
export type ModuleExecutionTimesDetailsResponse = {
|
|
1136
|
+
/** Name of the module */
|
|
1137
|
+
moduleName: string;
|
|
1138
|
+
/** Version of the module */
|
|
1139
|
+
moduleVersion: string;
|
|
1140
|
+
/** Average queue time in seconds */
|
|
1141
|
+
queueTimeAvg: number;
|
|
1142
|
+
/** 95th percentile queue time in seconds */
|
|
1143
|
+
queueTimeP95: number;
|
|
1144
|
+
/** Average execution time in seconds */
|
|
1145
|
+
executionTimeAvg: number;
|
|
1146
|
+
/** 95th percentile execution time in seconds */
|
|
1147
|
+
executionTimeP95: number;
|
|
1148
|
+
/** Average total time in seconds */
|
|
1149
|
+
totalTimeAvg: number;
|
|
1150
|
+
/** 95th percentile total time in seconds */
|
|
1151
|
+
totalTimeP95: number;
|
|
1152
|
+
/** Number of executions */
|
|
1153
|
+
executionCount: number | null;
|
|
1154
|
+
};
|
|
1155
|
+
export type AnalyticsModuleExecutionTimesResponse = {
|
|
1156
|
+
/** Total number of modules analyzed */
|
|
1157
|
+
modulesCount?: number;
|
|
1158
|
+
/** Overall average queue time */
|
|
1159
|
+
queueTimeAvg: number | null;
|
|
1160
|
+
/** Overall 95th percentile queue time */
|
|
1161
|
+
queueTimeP95: number | null;
|
|
1162
|
+
/** Overall average execution time */
|
|
1163
|
+
executionTimeAvg: number | null;
|
|
1164
|
+
/** Overall 95th percentile execution time */
|
|
1165
|
+
executionTimeP95: number | null;
|
|
1166
|
+
/** Overall average total time */
|
|
1167
|
+
totalTimeAvg: number | null;
|
|
1168
|
+
/** Overall 95th percentile total time */
|
|
1169
|
+
totalTimeP95: number | null;
|
|
1170
|
+
/** Detailed metrics per module */
|
|
1171
|
+
items?: ModuleExecutionTimesDetailsResponse[];
|
|
1172
|
+
};
|
|
1173
|
+
export type UserResponse7 = {
|
|
1058
1174
|
id: string;
|
|
1059
1175
|
name: string;
|
|
1060
1176
|
email: string;
|
|
1061
1177
|
};
|
|
1062
1178
|
export type ListUserResponse = {
|
|
1063
|
-
items:
|
|
1179
|
+
items: UserResponse7[];
|
|
1064
1180
|
itemsCount: number;
|
|
1065
1181
|
};
|
|
1066
1182
|
export type SearchReposInScmRequest = {
|
|
@@ -1105,6 +1221,52 @@ export type ResponseSearchRepoByIdResponseRead = {
|
|
|
1105
1221
|
exceptions: HttpErrorResponseRead[];
|
|
1106
1222
|
items?: SearchRepoByIdResponse[];
|
|
1107
1223
|
};
|
|
1224
|
+
export type BodyCreateReposBatchServiceV2ReposBatchPost = {
|
|
1225
|
+
file: Blob;
|
|
1226
|
+
};
|
|
1227
|
+
export type CreateRepoBatchResponse = {
|
|
1228
|
+
id: string;
|
|
1229
|
+
};
|
|
1230
|
+
export type ImportStatus = "COMPLETED" | "PENDING";
|
|
1231
|
+
export type ValidateRepositoryStatus = "PENDING" | "SUCCESS" | "FAILURE" | "CONFLICT";
|
|
1232
|
+
export type BatchRepositoryResponse = {
|
|
1233
|
+
repositoryId: string | null;
|
|
1234
|
+
repositoryUrl: string;
|
|
1235
|
+
repositoryBranch: string;
|
|
1236
|
+
repositoryTags: string[];
|
|
1237
|
+
status: ValidateRepositoryStatus;
|
|
1238
|
+
line: number;
|
|
1239
|
+
repositoryName: string | null;
|
|
1240
|
+
repositoryArchived: boolean | null;
|
|
1241
|
+
repositoryPushedAt: string | null;
|
|
1242
|
+
repositoryVisibility: string | null;
|
|
1243
|
+
exceptions: HttpErrorResponse[];
|
|
1244
|
+
};
|
|
1245
|
+
export type BatchRepositoryResponseRead = {
|
|
1246
|
+
repositoryId: string | null;
|
|
1247
|
+
repositoryUrl: string;
|
|
1248
|
+
repositoryBranch: string;
|
|
1249
|
+
repositoryTags: string[];
|
|
1250
|
+
status: ValidateRepositoryStatus;
|
|
1251
|
+
line: number;
|
|
1252
|
+
repositoryName: string | null;
|
|
1253
|
+
repositoryArchived: boolean | null;
|
|
1254
|
+
repositoryPushedAt: string | null;
|
|
1255
|
+
repositoryVisibility: string | null;
|
|
1256
|
+
exceptions: HttpErrorResponseRead[];
|
|
1257
|
+
};
|
|
1258
|
+
export type GetImportResultResponse = {
|
|
1259
|
+
status: ImportStatus;
|
|
1260
|
+
totalItems: number;
|
|
1261
|
+
items: BatchRepositoryResponse[];
|
|
1262
|
+
repositoriesIds: string[];
|
|
1263
|
+
};
|
|
1264
|
+
export type GetImportResultResponseRead = {
|
|
1265
|
+
status: ImportStatus;
|
|
1266
|
+
totalItems: number;
|
|
1267
|
+
items: BatchRepositoryResponseRead[];
|
|
1268
|
+
repositoriesIds: string[];
|
|
1269
|
+
};
|
|
1108
1270
|
/**
|
|
1109
1271
|
* Check Role Route
|
|
1110
1272
|
*/
|
|
@@ -1112,6 +1274,20 @@ export declare function checkRoleRouteV1RolesRoleGet({ role, authorization }: {
|
|
|
1112
1274
|
role: CodeShiftRole;
|
|
1113
1275
|
authorization: string;
|
|
1114
1276
|
}, opts?: Oazapfts.RequestOpts): Promise<RolesResponse>;
|
|
1277
|
+
/**
|
|
1278
|
+
* Module Favorite Service Add
|
|
1279
|
+
*/
|
|
1280
|
+
export declare function moduleFavoriteServiceAddV1ModulesModuleIdFavoritesPost({ moduleId, authorization }: {
|
|
1281
|
+
moduleId: string;
|
|
1282
|
+
authorization: string;
|
|
1283
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1284
|
+
/**
|
|
1285
|
+
* Module Favorite Service Delete
|
|
1286
|
+
*/
|
|
1287
|
+
export declare function moduleFavoriteServiceDeleteV1ModulesModuleIdFavoritesDelete({ moduleId, authorization }: {
|
|
1288
|
+
moduleId: string;
|
|
1289
|
+
authorization: string;
|
|
1290
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1115
1291
|
/**
|
|
1116
1292
|
* Create Module Service
|
|
1117
1293
|
*/
|
|
@@ -1123,11 +1299,16 @@ export declare function createModuleServiceV1ModulesPost({ authorization, xAccou
|
|
|
1123
1299
|
/**
|
|
1124
1300
|
* List Modules Service
|
|
1125
1301
|
*/
|
|
1126
|
-
export declare function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, lastEvaluatedKey, xAccountSlug, authorization }: {
|
|
1302
|
+
export declare function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, lastEvaluatedKey, sharedWith, createdBy, visibility, name, tags, xAccountSlug, authorization }: {
|
|
1127
1303
|
pageSize?: number;
|
|
1128
1304
|
moduleType?: ModuleType | null;
|
|
1129
1305
|
page?: number;
|
|
1130
1306
|
lastEvaluatedKey?: string;
|
|
1307
|
+
sharedWith?: string | null;
|
|
1308
|
+
createdBy?: string | null;
|
|
1309
|
+
visibility?: ModuleVisibility | null;
|
|
1310
|
+
name?: string | null;
|
|
1311
|
+
tags?: string[] | null;
|
|
1131
1312
|
xAccountSlug?: string;
|
|
1132
1313
|
authorization: string;
|
|
1133
1314
|
}, opts?: Oazapfts.RequestOpts): Promise<ListModuleResponse>;
|
|
@@ -1162,6 +1343,14 @@ export declare function getModuleInputsV1ModulesModuleIdInputsGet({ moduleId, au
|
|
|
1162
1343
|
moduleId: string;
|
|
1163
1344
|
authorization: string;
|
|
1164
1345
|
}, opts?: Oazapfts.RequestOpts): Promise<GetModuleInputsResponse | null>;
|
|
1346
|
+
/**
|
|
1347
|
+
* Get Module Docs
|
|
1348
|
+
*/
|
|
1349
|
+
export declare function getModuleDocsV1ModulesModuleIdDocsGet({ moduleId, language, authorization }: {
|
|
1350
|
+
moduleId: string;
|
|
1351
|
+
language?: "pt-br" | "en-us";
|
|
1352
|
+
authorization: string;
|
|
1353
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetModuleDocsResponse | null>;
|
|
1165
1354
|
/**
|
|
1166
1355
|
* Dispatch Module Service
|
|
1167
1356
|
*/
|
|
@@ -1242,10 +1431,10 @@ export declare function listRepositoryReportV1ReposRepositoryIdReportsGet({ repo
|
|
|
1242
1431
|
/**
|
|
1243
1432
|
* Create Repos Batch Service
|
|
1244
1433
|
*/
|
|
1245
|
-
export declare function createReposBatchServiceV1ReposBatchPost({ tags, authorization,
|
|
1434
|
+
export declare function createReposBatchServiceV1ReposBatchPost({ tags, authorization, fastapiCompatV2BodyCreateReposBatchServiceV1ReposBatchPost }: {
|
|
1246
1435
|
tags?: string[] | null;
|
|
1247
1436
|
authorization: string;
|
|
1248
|
-
|
|
1437
|
+
fastapiCompatV2BodyCreateReposBatchServiceV1ReposBatchPost: BodyCreateReposBatchServiceV1ReposBatchPost;
|
|
1249
1438
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1250
1439
|
/**
|
|
1251
1440
|
* Create Repository Service
|
|
@@ -1316,10 +1505,11 @@ export declare function updateRepositoryServiceV1ReposRepositoryIdPut({ reposito
|
|
|
1316
1505
|
/**
|
|
1317
1506
|
* Validate Scm Url Service
|
|
1318
1507
|
*/
|
|
1319
|
-
export declare function validateScmUrlServiceV1ReposValidateScmUrlPost({ authorization, validateScmUrlRequest }: {
|
|
1508
|
+
export declare function validateScmUrlServiceV1ReposValidateScmUrlPost({ raiseConflict, authorization, validateScmUrlRequest }: {
|
|
1509
|
+
raiseConflict?: boolean;
|
|
1320
1510
|
authorization: string;
|
|
1321
1511
|
validateScmUrlRequest: ValidateScmUrlRequest;
|
|
1322
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1512
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ValidateScmUrlResponse>;
|
|
1323
1513
|
/**
|
|
1324
1514
|
* Get Account Settings
|
|
1325
1515
|
*/
|
|
@@ -1374,12 +1564,12 @@ export declare function deleteIntegrationServiceV1IntegrationsIntegrationIdDelet
|
|
|
1374
1564
|
/**
|
|
1375
1565
|
* Create Program Group Service
|
|
1376
1566
|
*/
|
|
1377
|
-
export declare function createProgramGroupServiceV1ProgramGroupsPost({ name, tags, integrationId, authorization,
|
|
1567
|
+
export declare function createProgramGroupServiceV1ProgramGroupsPost({ name, tags, integrationId, authorization, fastapiCompatV2BodyCreateProgramGroupServiceV1ProgramGroupsPost }: {
|
|
1378
1568
|
name: string;
|
|
1379
1569
|
tags?: string[] | null;
|
|
1380
1570
|
integrationId?: string;
|
|
1381
1571
|
authorization: string;
|
|
1382
|
-
|
|
1572
|
+
fastapiCompatV2BodyCreateProgramGroupServiceV1ProgramGroupsPost?: BodyCreateProgramGroupServiceV1ProgramGroupsPost;
|
|
1383
1573
|
}, opts?: Oazapfts.RequestOpts): Promise<CreateProgramGroupResponse>;
|
|
1384
1574
|
/**
|
|
1385
1575
|
* List Program Group Service
|
|
@@ -1422,13 +1612,13 @@ export declare function getProgramGroupByIdServiceV1ProgramGroupsProgramGroupIdG
|
|
|
1422
1612
|
/**
|
|
1423
1613
|
* Update Program Group Service
|
|
1424
1614
|
*/
|
|
1425
|
-
export declare function updateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut({ programGroupId, name, tags, integrationId, authorization,
|
|
1615
|
+
export declare function updateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut({ programGroupId, name, tags, integrationId, authorization, fastapiCompatV2BodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut }: {
|
|
1426
1616
|
programGroupId: string;
|
|
1427
1617
|
name?: string | null;
|
|
1428
1618
|
tags?: string[] | null;
|
|
1429
1619
|
integrationId?: string | null;
|
|
1430
1620
|
authorization: string;
|
|
1431
|
-
|
|
1621
|
+
fastapiCompatV2BodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut?: BodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut;
|
|
1432
1622
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1433
1623
|
/**
|
|
1434
1624
|
* Delete Program Group Service
|
|
@@ -1458,8 +1648,9 @@ export declare function listProgramGroupReportServiceV1ProgramGroupsProgramGroup
|
|
|
1458
1648
|
/**
|
|
1459
1649
|
* List Tags Service
|
|
1460
1650
|
*/
|
|
1461
|
-
export declare function listTagsServiceV1TagsGet({ name, authorization }: {
|
|
1651
|
+
export declare function listTagsServiceV1TagsGet({ name, $type, authorization }: {
|
|
1462
1652
|
name?: string | null;
|
|
1653
|
+
$type?: "Repository" | "Module";
|
|
1463
1654
|
authorization: string;
|
|
1464
1655
|
}, opts?: Oazapfts.RequestOpts): Promise<ListTagResponse>;
|
|
1465
1656
|
/**
|
|
@@ -1766,6 +1957,35 @@ export declare function analyticsRepositoryTargetDetailsDownloadV1AnalyticsRepos
|
|
|
1766
1957
|
extension?: "csv" | "xlsx";
|
|
1767
1958
|
authorization: string;
|
|
1768
1959
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1960
|
+
/**
|
|
1961
|
+
* Analytics Module Execution Times Report
|
|
1962
|
+
*/
|
|
1963
|
+
export declare function analyticsModuleExecutionTimesReportV1AnalyticsModulesExecutionTimesGet({ pageSize, page, moduleId, version, mode, startDate, endDate, orderBy, orderDirection, authorization }: {
|
|
1964
|
+
pageSize?: number;
|
|
1965
|
+
page?: number;
|
|
1966
|
+
moduleId?: string[] | null;
|
|
1967
|
+
version?: string[] | null;
|
|
1968
|
+
mode?: ("scan" | "fix") | null;
|
|
1969
|
+
startDate?: string;
|
|
1970
|
+
endDate?: string;
|
|
1971
|
+
orderBy?: ("moduleName" | "moduleVersion" | "queueTimeAvg" | "queueTimeP95" | "executionTimeAvg" | "executionTimeP95" | "totalTimeAvg" | "totalTimeP95" | "executionCount") | null;
|
|
1972
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1973
|
+
authorization: string;
|
|
1974
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AnalyticsModuleExecutionTimesResponse>;
|
|
1975
|
+
/**
|
|
1976
|
+
* Analytics Module Execution Times Download
|
|
1977
|
+
*/
|
|
1978
|
+
export declare function analyticsModuleExecutionTimesDownloadV1AnalyticsModulesExecutionTimesDownloadGet({ moduleId, version, mode, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
|
|
1979
|
+
moduleId?: string[] | null;
|
|
1980
|
+
version?: string[] | null;
|
|
1981
|
+
mode?: ("scan" | "fix") | null;
|
|
1982
|
+
startDate?: string;
|
|
1983
|
+
endDate?: string;
|
|
1984
|
+
orderBy?: ("moduleName" | "moduleVersion" | "queueTimeAvg" | "queueTimeP95" | "executionTimeAvg" | "executionTimeP95" | "totalTimeAvg" | "totalTimeP95" | "executionCount") | null;
|
|
1985
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1986
|
+
extension?: "csv" | "xlsx";
|
|
1987
|
+
authorization: string;
|
|
1988
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1769
1989
|
/**
|
|
1770
1990
|
* List User Service
|
|
1771
1991
|
*/
|
|
@@ -1801,5 +2021,38 @@ export declare function downloadSearchReposScmV2V2ReposSearchScmSearchIdDownload
|
|
|
1801
2021
|
searchId: string;
|
|
1802
2022
|
extension?: "csv" | "xlsx";
|
|
1803
2023
|
authorization: string;
|
|
1804
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
2024
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
2025
|
+
/**
|
|
2026
|
+
* Create Repos Batch Service
|
|
2027
|
+
*/
|
|
2028
|
+
export declare function createReposBatchServiceV2ReposBatchPost({ tags, authorization, fastapiCompatV2BodyCreateReposBatchServiceV2ReposBatchPost }: {
|
|
2029
|
+
tags?: string[] | null;
|
|
2030
|
+
authorization: string;
|
|
2031
|
+
fastapiCompatV2BodyCreateReposBatchServiceV2ReposBatchPost: BodyCreateReposBatchServiceV2ReposBatchPost;
|
|
2032
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CreateRepoBatchResponse>;
|
|
2033
|
+
/**
|
|
2034
|
+
* Get Import Result
|
|
2035
|
+
*/
|
|
2036
|
+
export declare function getImportResultV2ReposBatchImportIdGet({ importId, pageSize, page, authorization }: {
|
|
2037
|
+
importId: string;
|
|
2038
|
+
pageSize?: number;
|
|
2039
|
+
page?: number;
|
|
2040
|
+
authorization: string;
|
|
2041
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetImportResultResponseRead>;
|
|
2042
|
+
/**
|
|
2043
|
+
* Download Import Result
|
|
2044
|
+
*/
|
|
2045
|
+
export declare function downloadImportResultV2ReposBatchImportIdDownloadGet({ importId, language, status, extension, authorization }: {
|
|
2046
|
+
importId: string;
|
|
2047
|
+
language?: "ptBr" | "enUs";
|
|
2048
|
+
status?: ValidateRepositoryStatus | null;
|
|
2049
|
+
extension?: "csv" | "xlsx";
|
|
2050
|
+
authorization: string;
|
|
2051
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
2052
|
+
/**
|
|
2053
|
+
* Pat Health Check
|
|
2054
|
+
*/
|
|
2055
|
+
export declare function patHealthCheckV1ScmPatHealthCheckGet({ authorization }: {
|
|
2056
|
+
authorization: string;
|
|
2057
|
+
}, opts?: Oazapfts.RequestOpts): Promise<boolean>;
|
|
1805
2058
|
//# sourceMappingURL=codeShift.d.ts.map
|