@stack-spot/portal-network 0.173.1 → 0.174.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 +230 -0
- package/dist/api/ai.d.ts +2 -0
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js.map +1 -1
- package/dist/api/codeShift.d.ts +504 -23
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +217 -0
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/discover.d.ts +294 -0
- package/dist/api/discover.d.ts.map +1 -0
- package/dist/api/discover.js +180 -0
- package/dist/api/discover.js.map +1 -0
- package/dist/api-addresses.d.ts +11 -3
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/api-addresses.js +22 -2
- package/dist/api-addresses.js.map +1 -1
- package/dist/apis-itau.json +225 -0
- package/dist/apis.json +2 -2
- package/dist/client/code-shift.d.ts +183 -28
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +106 -7
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/data-integration.d.ts +9 -0
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/data-integration.js +10 -1
- package/dist/client/data-integration.js.map +1 -1
- package/dist/client/discover.d.ts +64 -0
- package/dist/client/discover.d.ts.map +1 -0
- package/dist/client/discover.js +124 -0
- package/dist/client/discover.js.map +1 -0
- package/dist/client/workspace-manager.d.ts +9 -0
- package/dist/client/workspace-manager.d.ts.map +1 -1
- package/dist/client/workspace-manager.js +11 -2
- package/dist/client/workspace-manager.js.map +1 -1
- package/dist/error/dictionary/cloud-platform.d.ts +70 -8
- package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.js +74 -12
- package/dist/error/dictionary/cloud-platform.js.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/network/NetworkClient.d.ts +4 -2
- package/dist/network/NetworkClient.d.ts.map +1 -1
- package/dist/network/NetworkClient.js +5 -3
- package/dist/network/NetworkClient.js.map +1 -1
- package/dist/network/types.d.ts +1 -0
- package/dist/network/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/readme.md +1 -1
- package/src/api/account.ts +1 -0
- package/src/api/agent-tools.ts +3 -0
- package/src/api/agent.ts +2 -0
- package/src/api/ai.ts +2 -0
- package/src/api/codeShift.ts +898 -33
- package/src/api/discover.ts +435 -0
- package/src/api/notification.ts +2 -0
- package/src/api-addresses.ts +26 -3
- package/src/apis-itau.json +225 -0
- package/src/apis.json +2 -2
- package/src/client/ai.ts +1 -0
- package/src/client/code-shift.ts +73 -7
- package/src/client/data-integration.ts +6 -0
- package/src/client/discover.ts +89 -0
- package/src/client/workspace-manager.ts +8 -1
- package/src/error/dictionary/cloud-platform.ts +74 -12
- package/src/index.ts +5 -3
- package/src/network/NetworkClient.ts +7 -4
- package/src/network/types.ts +2 -0
- package/dist/api/discovery.d.ts +0 -494
- package/dist/api/discovery.d.ts.map +0 -1
- package/dist/api/discovery.js +0 -205
- package/dist/api/discovery.js.map +0 -1
- package/dist/client/discovery.d.ts +0 -110
- package/dist/client/discovery.d.ts.map +0 -1
- package/dist/client/discovery.js +0 -133
- package/dist/client/discovery.js.map +0 -1
- package/src/api/discovery.ts +0 -729
- package/src/client/discovery.ts +0 -73
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ai": {
|
|
3
|
+
"url": {
|
|
4
|
+
"stg": "https://genai-code-buddy-api.stackspot.hom.aws.cloud.ihf",
|
|
5
|
+
"dev": "https://genai-code-buddy-api.stackspot.dev.aws.cloud.ihf",
|
|
6
|
+
"prd": "https://genai-code-buddy-api.stackspot.prod.aws.cloud.ihf"
|
|
7
|
+
},
|
|
8
|
+
"docs": "/openapi.json"
|
|
9
|
+
},
|
|
10
|
+
"workspace-ai": {
|
|
11
|
+
"url": {
|
|
12
|
+
"stg": "https://genai-workspace-ai-api.stackspot.hom.aws.cloud.ihf",
|
|
13
|
+
"dev": "https://genai-workspace-ai-api.stackspot.dev.aws.cloud.ihf",
|
|
14
|
+
"prd": "https://genai-workspace-ai-api.stackspot.prod.aws.cloud.ihf"
|
|
15
|
+
},
|
|
16
|
+
"docs": "/openapi.json"
|
|
17
|
+
},
|
|
18
|
+
"agent": {
|
|
19
|
+
"url": {
|
|
20
|
+
"stg": "",
|
|
21
|
+
"dev": "",
|
|
22
|
+
"prd": ""
|
|
23
|
+
},
|
|
24
|
+
"docs": "/q/openapi"
|
|
25
|
+
},
|
|
26
|
+
"agent-tools": {
|
|
27
|
+
"url": {
|
|
28
|
+
"stg": "https://genai-agent-tools-api.stackspot.hom.aws.cloud.ihf",
|
|
29
|
+
"dev": "https://genai-agent-tools-api.stackspot.dev.aws.cloud.ihf",
|
|
30
|
+
"prd": "https://genai-agent-tools-api.stackspot.prod.aws.cloud.ihf"
|
|
31
|
+
},
|
|
32
|
+
"docs": "/openapi.json"
|
|
33
|
+
},
|
|
34
|
+
"dataIntegration": {
|
|
35
|
+
"url": {
|
|
36
|
+
"stg": "https://genai-data-integration.stackspot.hom.aws.cloud.ihf",
|
|
37
|
+
"dev": "https://genai-data-integration.stackspot.dev.aws.cloud.ihf",
|
|
38
|
+
"prd": "https://genai-data-integration.stackspot.prod.aws.cloud.ihf"
|
|
39
|
+
},
|
|
40
|
+
"docs": "/openapi.json"
|
|
41
|
+
},
|
|
42
|
+
"workspace": {
|
|
43
|
+
"url": {
|
|
44
|
+
"stg": "",
|
|
45
|
+
"dev": "",
|
|
46
|
+
"prd": ""
|
|
47
|
+
},
|
|
48
|
+
"docs": "/v3/api-docs"
|
|
49
|
+
},
|
|
50
|
+
"account": {
|
|
51
|
+
"url": {
|
|
52
|
+
"stg": "https://account-account-api.stackspot.hom.aws.cloud.ihf",
|
|
53
|
+
"dev": "https://account-account-api.stackspot.dev.aws.cloud.ihf",
|
|
54
|
+
"prd": "https://account-account-api.stackspot.prod.aws.cloud.ihf"
|
|
55
|
+
},
|
|
56
|
+
"docs": "/v3/api-docs"
|
|
57
|
+
},
|
|
58
|
+
"content": {
|
|
59
|
+
"url": {
|
|
60
|
+
"stg": "",
|
|
61
|
+
"dev": "",
|
|
62
|
+
"prd": ""
|
|
63
|
+
},
|
|
64
|
+
"docs": "/v3/api-docs"
|
|
65
|
+
},
|
|
66
|
+
"eventBus": {
|
|
67
|
+
"url": {
|
|
68
|
+
"stg": "https://idp-event-bus-api.stackspot.hom.aws.cloud.ihf",
|
|
69
|
+
"dev": "https://idp-event-bus-api.stackspot.dev.aws.cloud.ihf",
|
|
70
|
+
"prd": "https://idp-event-bus-api.stackspot.prod.aws.cloud.ihf"
|
|
71
|
+
},
|
|
72
|
+
"docs": "/v3/api-docs"
|
|
73
|
+
},
|
|
74
|
+
"serviceCatalog": {
|
|
75
|
+
"url": {
|
|
76
|
+
"stg": "",
|
|
77
|
+
"dev": "",
|
|
78
|
+
"prd": ""
|
|
79
|
+
},
|
|
80
|
+
"docs": "/v3/api-docs"
|
|
81
|
+
},
|
|
82
|
+
"apiRuntime": {
|
|
83
|
+
"url": {
|
|
84
|
+
"stg": "",
|
|
85
|
+
"dev": "",
|
|
86
|
+
"prd": ""
|
|
87
|
+
},
|
|
88
|
+
"docs": "/v3/api-docs"
|
|
89
|
+
},
|
|
90
|
+
"cloudServices": {
|
|
91
|
+
"url": {
|
|
92
|
+
"stg": "",
|
|
93
|
+
"dev": "",
|
|
94
|
+
"prd": ""
|
|
95
|
+
},
|
|
96
|
+
"docs": "/v3/api-docs"
|
|
97
|
+
},
|
|
98
|
+
"cloudAccount": {
|
|
99
|
+
"url": {
|
|
100
|
+
"stg": "",
|
|
101
|
+
"dev": "",
|
|
102
|
+
"prd": ""
|
|
103
|
+
},
|
|
104
|
+
"docs": "/v3/api-docs"
|
|
105
|
+
},
|
|
106
|
+
"dataPlatform": {
|
|
107
|
+
"url": {
|
|
108
|
+
"stg": "",
|
|
109
|
+
"dev": "",
|
|
110
|
+
"prd": ""
|
|
111
|
+
},
|
|
112
|
+
"docs": "/v3/api-docs"
|
|
113
|
+
},
|
|
114
|
+
"insights": {
|
|
115
|
+
"url": {
|
|
116
|
+
"stg": "",
|
|
117
|
+
"dev": "",
|
|
118
|
+
"prd": ""
|
|
119
|
+
},
|
|
120
|
+
"docs": "/v3/api-docs"
|
|
121
|
+
},
|
|
122
|
+
"workflows": {
|
|
123
|
+
"url": {
|
|
124
|
+
"stg": "",
|
|
125
|
+
"dev": "",
|
|
126
|
+
"prd": ""
|
|
127
|
+
},
|
|
128
|
+
"docs": "/openapi.json"
|
|
129
|
+
},
|
|
130
|
+
"workspaceManager": {
|
|
131
|
+
"url": {
|
|
132
|
+
"stg": "",
|
|
133
|
+
"dev": "",
|
|
134
|
+
"prd": ""
|
|
135
|
+
},
|
|
136
|
+
"docs": "/v3/api-docs"
|
|
137
|
+
},
|
|
138
|
+
"workspaceSearchEngine": {
|
|
139
|
+
"url": {
|
|
140
|
+
"stg": "",
|
|
141
|
+
"dev": "",
|
|
142
|
+
"prd": ""
|
|
143
|
+
},
|
|
144
|
+
"docs": "/v3/api-docs"
|
|
145
|
+
},
|
|
146
|
+
"permissionValidation": {
|
|
147
|
+
"url": {
|
|
148
|
+
"stg": "https://portal-opa-server.stackspot.dev.aws.cloud.ihf/v1/validate",
|
|
149
|
+
"dev": "https://portal-opa-server.stackspot.hom.aws.cloud.ihf/v1/validate",
|
|
150
|
+
"prd": "https://portal-opa-server.stackspot.prod.aws.cloud.ihf/v1/validate"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"apiManagement": {
|
|
154
|
+
"url": {
|
|
155
|
+
"stg": "",
|
|
156
|
+
"dev": "",
|
|
157
|
+
"prd": ""
|
|
158
|
+
},
|
|
159
|
+
"docs": "/v3/api-docs"
|
|
160
|
+
},
|
|
161
|
+
"secrets": {
|
|
162
|
+
"url": {
|
|
163
|
+
"stg": "",
|
|
164
|
+
"dev": "",
|
|
165
|
+
"prd": ""
|
|
166
|
+
},
|
|
167
|
+
"docs": "/v3/api-docs"
|
|
168
|
+
},
|
|
169
|
+
"notification": {
|
|
170
|
+
"url": {
|
|
171
|
+
"stg": "https://account-notification-engine.stackspot.hom.aws.cloud.ihf",
|
|
172
|
+
"dev": "https://account-notification-engine.stackspot.dev.aws.cloud.ihf",
|
|
173
|
+
"prd": "https://account-notification-engine.stackspot.prod.aws.cloud.ihf"
|
|
174
|
+
},
|
|
175
|
+
"docs": "/v3/api-docs"
|
|
176
|
+
},
|
|
177
|
+
"cloudPlatform": {
|
|
178
|
+
"url": {
|
|
179
|
+
"stg": "",
|
|
180
|
+
"dev": "",
|
|
181
|
+
"prd": ""
|
|
182
|
+
},
|
|
183
|
+
"docs": "/v3/api-docs"
|
|
184
|
+
},
|
|
185
|
+
"cloudRuntimes": {
|
|
186
|
+
"url": {
|
|
187
|
+
"stg": "",
|
|
188
|
+
"dev": "",
|
|
189
|
+
"prd": ""
|
|
190
|
+
},
|
|
191
|
+
"docs": "/v3/api-docs"
|
|
192
|
+
},
|
|
193
|
+
"cloudPlatformHorizon": {
|
|
194
|
+
"url": {
|
|
195
|
+
"stg": "",
|
|
196
|
+
"dev": "",
|
|
197
|
+
"prd": ""
|
|
198
|
+
},
|
|
199
|
+
"docs": "/v3/api-docs"
|
|
200
|
+
},
|
|
201
|
+
"codeShift": {
|
|
202
|
+
"url": {
|
|
203
|
+
"stg": "",
|
|
204
|
+
"dev": "",
|
|
205
|
+
"prd": ""
|
|
206
|
+
},
|
|
207
|
+
"docs": "/openapi.json"
|
|
208
|
+
},
|
|
209
|
+
"genAiInference": {
|
|
210
|
+
"url": {
|
|
211
|
+
"stg": "https://genai-inference-app.stackspot.hom.aws.cloud.ihf",
|
|
212
|
+
"dev": "https://genai-inference-app.stackspot.dev.aws.cloud.ihf",
|
|
213
|
+
"prd": "https://genai-inference-app.stackpot.prod.aws.cloud.ihf"
|
|
214
|
+
},
|
|
215
|
+
"docs": "/openapi.json"
|
|
216
|
+
},
|
|
217
|
+
"discover": {
|
|
218
|
+
"url": {
|
|
219
|
+
"stg": "",
|
|
220
|
+
"dev": "",
|
|
221
|
+
"prd": ""
|
|
222
|
+
},
|
|
223
|
+
"docs": "/v3/api-docs"
|
|
224
|
+
}
|
|
225
|
+
}
|
package/dist/apis.json
CHANGED
|
@@ -214,11 +214,11 @@
|
|
|
214
214
|
},
|
|
215
215
|
"docs": "/openapi.json"
|
|
216
216
|
},
|
|
217
|
-
"
|
|
217
|
+
"discover": {
|
|
218
218
|
"url": {
|
|
219
219
|
"dev": "https://discover-discover-core.dev.stackspot.com",
|
|
220
220
|
"stg": "https://discover-discover-core.stg.stackspot.com",
|
|
221
|
-
"prd": "https://discover-
|
|
221
|
+
"prd": "https://discover-core.stackspot.com"
|
|
222
222
|
},
|
|
223
223
|
"docs": "/v3/api-docs"
|
|
224
224
|
}
|
|
@@ -30,18 +30,18 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
30
30
|
moduleId?: string | undefined;
|
|
31
31
|
createdByEmail?: string | null | undefined;
|
|
32
32
|
reportByEmail?: string | null | undefined;
|
|
33
|
-
orderBy?:
|
|
34
|
-
orderDirection?:
|
|
33
|
+
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" | undefined;
|
|
34
|
+
orderDirection?: "ASC" | "DESC" | "asc" | "desc" | undefined;
|
|
35
35
|
tags?: string[] | null | undefined;
|
|
36
36
|
authorization: string;
|
|
37
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").
|
|
37
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").ListRepositoryResponseRead>;
|
|
38
38
|
/**
|
|
39
39
|
* Gets a repository
|
|
40
40
|
*/
|
|
41
41
|
repository: import("../network/types.js").QueryObject<Omit<{
|
|
42
42
|
repositoryId: string;
|
|
43
43
|
authorization: string;
|
|
44
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").
|
|
44
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").RepositoryResponseRead>;
|
|
45
45
|
/**
|
|
46
46
|
* Deletes a repository
|
|
47
47
|
*/
|
|
@@ -57,6 +57,20 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
57
57
|
authorization: string;
|
|
58
58
|
putRepositoryRequest: import("../api/codeShift.js").PutRepositoryRequest;
|
|
59
59
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
60
|
+
/**
|
|
61
|
+
* List Repository Download Service
|
|
62
|
+
*/
|
|
63
|
+
repositoryDownload: import("../network/types.js").QueryObject<Omit<{
|
|
64
|
+
filter?: string | undefined;
|
|
65
|
+
moduleId?: string | undefined;
|
|
66
|
+
createdByEmail?: string | null | undefined;
|
|
67
|
+
reportByEmail?: string | null | undefined;
|
|
68
|
+
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" | undefined;
|
|
69
|
+
orderDirection?: "ASC" | "DESC" | "asc" | "desc" | undefined;
|
|
70
|
+
tags?: string[] | null | undefined;
|
|
71
|
+
extension?: "csv" | "xlsx" | undefined;
|
|
72
|
+
authorization: string;
|
|
73
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
60
74
|
/**
|
|
61
75
|
* Get a report for a pull request by id.
|
|
62
76
|
*/
|
|
@@ -72,15 +86,29 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
72
86
|
moduleType?: import("../api/codeShift.js").ModuleType | null | undefined;
|
|
73
87
|
page?: number | undefined;
|
|
74
88
|
lastEvaluatedKey?: string | undefined;
|
|
75
|
-
xAccountSlug?:
|
|
89
|
+
xAccountSlug?: string | undefined;
|
|
76
90
|
authorization: string;
|
|
77
91
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").ListModuleResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* Gets module by id.
|
|
94
|
+
*/
|
|
95
|
+
module: import("../network/types.js").QueryObject<Omit<{
|
|
96
|
+
moduleId: string;
|
|
97
|
+
authorization: string;
|
|
98
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").GetModuleResponse>;
|
|
99
|
+
/**
|
|
100
|
+
* Gets module inputs.
|
|
101
|
+
*/
|
|
102
|
+
modulesInputs: import("../network/types.js").QueryObject<Omit<{
|
|
103
|
+
moduleId: string;
|
|
104
|
+
authorization: string;
|
|
105
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").GetModuleInputsResponse>;
|
|
78
106
|
/**
|
|
79
107
|
* Creates a module.
|
|
80
108
|
*/
|
|
81
109
|
createModule: import("../network/types.js").MutationObject<Omit<{
|
|
82
110
|
authorization: string;
|
|
83
|
-
xAccountSlug?:
|
|
111
|
+
xAccountSlug?: string | undefined;
|
|
84
112
|
createModuleRequest: import("../api/codeShift.js").CreateModuleRequest;
|
|
85
113
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
86
114
|
/**
|
|
@@ -99,14 +127,14 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
99
127
|
page?: number | undefined;
|
|
100
128
|
lastEvaluatedKey?: string | undefined;
|
|
101
129
|
authorization: string;
|
|
102
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").
|
|
130
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").ListRepositoryReportResponseRead>;
|
|
103
131
|
/**
|
|
104
132
|
* Gets report.
|
|
105
133
|
*/
|
|
106
134
|
report: import("../network/types.js").QueryObject<Omit<{
|
|
107
135
|
reportId: string;
|
|
108
136
|
authorization: string;
|
|
109
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").
|
|
137
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").GetReportResponseRead>;
|
|
110
138
|
/**
|
|
111
139
|
* Downloads a report as a csv file.
|
|
112
140
|
*/
|
|
@@ -150,6 +178,13 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
150
178
|
extension?: "csv" | "xlsx" | undefined;
|
|
151
179
|
authorization: string;
|
|
152
180
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
181
|
+
/**
|
|
182
|
+
* Searches for repositories (v2)
|
|
183
|
+
*/
|
|
184
|
+
searchRepositoryV2: import("../network/types.js").MutationObject<Omit<{
|
|
185
|
+
authorization: string;
|
|
186
|
+
searchReposInScmRequest: import("../api/codeShift.js").SearchReposInScmRequest;
|
|
187
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, unknown>;
|
|
153
188
|
/**
|
|
154
189
|
* Validate if the user has permission.
|
|
155
190
|
* We do not use opa in this api, so this is the fn needed to check permissions.
|
|
@@ -217,11 +252,11 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
217
252
|
name?: string | null | undefined;
|
|
218
253
|
pageSize?: number | undefined;
|
|
219
254
|
page?: number | undefined;
|
|
220
|
-
orderBy?:
|
|
221
|
-
orderDirection?:
|
|
255
|
+
orderBy?: "report.issues_count" | "report.total_files_count" | "report.analyzed_files_count" | "report.issues_files_count" | "report.created_at" | "report.updated_at" | "execution.status" | "program_group.name" | "program_group.created_at" | "program_group.updated_at" | undefined;
|
|
256
|
+
orderDirection?: "ASC" | "DESC" | "asc" | "desc" | undefined;
|
|
222
257
|
integrationId?: string | undefined;
|
|
223
258
|
authorization: string;
|
|
224
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").
|
|
259
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").ListProgramGroupResponseRead>;
|
|
225
260
|
/**
|
|
226
261
|
* Gets a program group by id.
|
|
227
262
|
*/
|
|
@@ -238,7 +273,7 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
238
273
|
page?: number | undefined;
|
|
239
274
|
lastEvaluatedKey?: string | undefined;
|
|
240
275
|
authorization: string;
|
|
241
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").
|
|
276
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").ListProgramGroupReportResponseRead>;
|
|
242
277
|
/**
|
|
243
278
|
* Updates a program group.
|
|
244
279
|
*/
|
|
@@ -265,6 +300,21 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
265
300
|
programGroupId: string;
|
|
266
301
|
authorization: string;
|
|
267
302
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
303
|
+
/**
|
|
304
|
+
* List Program Group Download Service
|
|
305
|
+
*/
|
|
306
|
+
programGroupDownload: import("../network/types.js").QueryObject<Omit<{
|
|
307
|
+
moduleId?: string | null | undefined;
|
|
308
|
+
createdByEmail?: string | null | undefined;
|
|
309
|
+
reportByEmail?: string | null | undefined;
|
|
310
|
+
tags?: string[] | null | undefined;
|
|
311
|
+
name?: string | null | undefined;
|
|
312
|
+
orderBy?: "report.issues_count" | "report.total_files_count" | "report.analyzed_files_count" | "report.issues_files_count" | "report.created_at" | "report.updated_at" | "execution.status" | "program_group.name" | "program_group.created_at" | "program_group.updated_at" | undefined;
|
|
313
|
+
orderDirection?: "ASC" | "DESC" | "asc" | "desc" | undefined;
|
|
314
|
+
integrationId?: string | undefined;
|
|
315
|
+
extension?: "csv" | "xlsx" | undefined;
|
|
316
|
+
authorization: string;
|
|
317
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
268
318
|
/**
|
|
269
319
|
* Gets list of tags.
|
|
270
320
|
*/
|
|
@@ -304,7 +354,7 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
304
354
|
executedBy?: string[] | null | undefined;
|
|
305
355
|
repositoryUrl?: string | null | undefined;
|
|
306
356
|
tags?: string[] | null | undefined;
|
|
307
|
-
orderBy?: "mode" | "repositoryUrl" | "moduleName" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues" | null | undefined;
|
|
357
|
+
orderBy?: "mode" | "repositoryUrl" | "moduleName" | "merged" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues" | null | undefined;
|
|
308
358
|
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
309
359
|
startDate?: string | null | undefined;
|
|
310
360
|
endDate?: string | null | undefined;
|
|
@@ -362,21 +412,18 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
362
412
|
authorization: string;
|
|
363
413
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").AnalyticsProgramGroupsLastReportStatusResponse>;
|
|
364
414
|
/**
|
|
365
|
-
* Analytics Program Groups
|
|
415
|
+
* Analytics Program Groups Last Report Status Download
|
|
366
416
|
*/
|
|
367
|
-
|
|
368
|
-
pageSize?: number | undefined;
|
|
369
|
-
page?: number | undefined;
|
|
370
|
-
executedBy?: string[] | null | undefined;
|
|
417
|
+
analyticsProgramGroupsLastReportStatusDownload: import("../network/types.js").QueryObject<Omit<{
|
|
371
418
|
moduleId?: string[] | null | undefined;
|
|
372
|
-
|
|
373
|
-
orderBy?: "name" | "totalScan" | "totalScanFailure" | "totalScanSuccess" | "totalFix" | "totalFixFailure" | "totalFixSuccess" | null | undefined;
|
|
419
|
+
orderBy?: "mode" | "moduleName" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues" | "programName" | null | undefined;
|
|
374
420
|
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
375
|
-
programGroupName?: string | null | undefined;
|
|
376
421
|
startDate?: string | null | undefined;
|
|
377
422
|
endDate?: string | null | undefined;
|
|
423
|
+
reportType?: "repository" | "program_group" | null | undefined;
|
|
424
|
+
extension?: "csv" | "xlsx" | undefined;
|
|
378
425
|
authorization: string;
|
|
379
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {},
|
|
426
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
380
427
|
/**
|
|
381
428
|
* Analytics User Usage
|
|
382
429
|
*/
|
|
@@ -423,18 +470,21 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
423
470
|
authorization: string;
|
|
424
471
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
425
472
|
/**
|
|
426
|
-
* Analytics Program Groups
|
|
473
|
+
* Analytics Program Groups Usage
|
|
427
474
|
*/
|
|
428
|
-
|
|
475
|
+
analyticsProgramGroupsUsage: import("../network/types.js").QueryObject<Omit<{
|
|
476
|
+
pageSize?: number | undefined;
|
|
477
|
+
page?: number | undefined;
|
|
478
|
+
executedBy?: string[] | null | undefined;
|
|
429
479
|
moduleId?: string[] | null | undefined;
|
|
430
|
-
|
|
480
|
+
tags?: string[] | null | undefined;
|
|
481
|
+
orderBy?: "name" | "totalScan" | "totalScanFailure" | "totalScanSuccess" | "totalFix" | "totalFixFailure" | "totalFixSuccess" | null | undefined;
|
|
431
482
|
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
483
|
+
programGroupName?: string | null | undefined;
|
|
432
484
|
startDate?: string | null | undefined;
|
|
433
485
|
endDate?: string | null | undefined;
|
|
434
|
-
reportType?: "repository" | "program_group" | null | undefined;
|
|
435
|
-
extension?: "csv" | "xlsx" | undefined;
|
|
436
486
|
authorization: string;
|
|
437
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {},
|
|
487
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").AnalyticsProgramGroupsUsageResponse>;
|
|
438
488
|
/**
|
|
439
489
|
* Analytics Program Groups Usage Download
|
|
440
490
|
*/
|
|
@@ -456,6 +506,111 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
456
506
|
getUsersService: import("../network/types.js").QueryObject<Omit<{
|
|
457
507
|
authorization: string;
|
|
458
508
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").ListUserResponse>;
|
|
509
|
+
/**
|
|
510
|
+
* Analytics Program Groups Details
|
|
511
|
+
*/
|
|
512
|
+
analyticsProgramGroupsDetails: import("../network/types.js").QueryObject<Omit<{
|
|
513
|
+
pageSize?: number | undefined;
|
|
514
|
+
page?: number | undefined;
|
|
515
|
+
programName?: string | null | undefined;
|
|
516
|
+
tags?: string[] | null | undefined;
|
|
517
|
+
mode?: "scan" | "fix" | null | undefined;
|
|
518
|
+
moduleId?: string[] | null | undefined;
|
|
519
|
+
programCreatedById?: string[] | null | undefined;
|
|
520
|
+
reportCreatedById?: string[] | null | undefined;
|
|
521
|
+
startDate?: string | undefined;
|
|
522
|
+
endDate?: string | undefined;
|
|
523
|
+
orderBy?: "mode" | "moduleName" | "reportCreatedAt" | "programGroupName" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds" | null | undefined;
|
|
524
|
+
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
525
|
+
authorization: string;
|
|
526
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").AnalyticsProgramGroupsDetailsResponse>;
|
|
527
|
+
/**
|
|
528
|
+
* Analytics Program Groups Details Download
|
|
529
|
+
*/
|
|
530
|
+
analyticsProgramGroupsDetailsDownload: import("../network/types.js").QueryObject<Omit<{
|
|
531
|
+
programName?: string | null | undefined;
|
|
532
|
+
tags?: string[] | null | undefined;
|
|
533
|
+
mode?: "scan" | "fix" | null | undefined;
|
|
534
|
+
moduleId?: string[] | null | undefined;
|
|
535
|
+
programCreatedById?: string[] | null | undefined;
|
|
536
|
+
reportCreatedById?: string[] | null | undefined;
|
|
537
|
+
startDate?: string | undefined;
|
|
538
|
+
endDate?: string | undefined;
|
|
539
|
+
orderBy?: "mode" | "moduleName" | "reportCreatedAt" | "programGroupName" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds" | null | undefined;
|
|
540
|
+
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
541
|
+
extension?: "csv" | "xlsx" | undefined;
|
|
542
|
+
authorization: string;
|
|
543
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
544
|
+
/**
|
|
545
|
+
* Analytics Program Groups Details
|
|
546
|
+
*/
|
|
547
|
+
analyticsRepositoryDetails: import("../network/types.js").QueryObject<Omit<{
|
|
548
|
+
pageSize?: number | undefined;
|
|
549
|
+
page?: number | undefined;
|
|
550
|
+
repositoryUrl?: string | null | undefined;
|
|
551
|
+
tags?: string[] | null | undefined;
|
|
552
|
+
mode?: "scan" | "fix" | null | undefined;
|
|
553
|
+
moduleId?: string[] | null | undefined;
|
|
554
|
+
repositoryCreatedById?: string[] | null | undefined;
|
|
555
|
+
executedBy?: string[] | null | undefined;
|
|
556
|
+
startDate?: string | undefined;
|
|
557
|
+
endDate?: string | undefined;
|
|
558
|
+
orderBy?: "repositoryUrl" | "moduleName" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds" | "sourceBranch" | "targetBranch" | "moduleVersion" | "pullRequestLink" | "reportCreatedByEmail" | "repositoryCreatedByEmail" | "repositoryCreatedByName" | null | undefined;
|
|
559
|
+
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
560
|
+
authorization: string;
|
|
561
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").AnalyticsRepositoryDetailedReportResponse>;
|
|
562
|
+
/**
|
|
563
|
+
* Analytics Program Groups Details Download
|
|
564
|
+
*/
|
|
565
|
+
analyticsRepositoryDetailsDownload: import("../network/types.js").QueryObject<Omit<{
|
|
566
|
+
repositoryUrl?: string | null | undefined;
|
|
567
|
+
tags?: string[] | null | undefined;
|
|
568
|
+
mode?: "scan" | "fix" | null | undefined;
|
|
569
|
+
moduleId?: string[] | null | undefined;
|
|
570
|
+
repositoryCreatedById?: string[] | null | undefined;
|
|
571
|
+
reportCreatedById?: string[] | null | undefined;
|
|
572
|
+
startDate?: string | undefined;
|
|
573
|
+
endDate?: string | undefined;
|
|
574
|
+
orderBy?: "repositoryUrl" | "moduleName" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds" | "sourceBranch" | "targetBranch" | "moduleVersion" | "pullRequestLink" | "reportCreatedByEmail" | "repositoryCreatedByEmail" | "repositoryCreatedByName" | null | undefined;
|
|
575
|
+
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
576
|
+
extension?: "csv" | "xlsx" | undefined;
|
|
577
|
+
authorization: string;
|
|
578
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").AnalyticsRepositoryDetailedReportResponse>;
|
|
579
|
+
/**
|
|
580
|
+
* Analytics Program Groups Target Details
|
|
581
|
+
*/
|
|
582
|
+
analyticsProgramGroupsTargetDetails: import("../network/types.js").QueryObject<Omit<{
|
|
583
|
+
pageSize?: number | undefined;
|
|
584
|
+
page?: number | undefined;
|
|
585
|
+
programName?: string | null | undefined;
|
|
586
|
+
componentName?: string | null | undefined;
|
|
587
|
+
tags?: string[] | null | undefined;
|
|
588
|
+
mode?: "scan" | "fix" | null | undefined;
|
|
589
|
+
moduleId?: string[] | null | undefined;
|
|
590
|
+
reportCreatedById?: string[] | null | undefined;
|
|
591
|
+
startDate?: string | undefined;
|
|
592
|
+
endDate?: string | undefined;
|
|
593
|
+
orderBy?: "mode" | "moduleName" | "reportCreatedAt" | "totalIssues" | "programGroupName" | "executionStartedAt" | "executionCompletedAt" | "changedFilesCount" | "componentAppName" | "componentName" | "componentType" | null | undefined;
|
|
594
|
+
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
595
|
+
authorization: string;
|
|
596
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").AnalyticsProgramGroupsTargetDetailsResponse>;
|
|
597
|
+
/**
|
|
598
|
+
* Analytics Program Groups Target Details Download
|
|
599
|
+
*/
|
|
600
|
+
analyticsProgramGroupsTargetDetailsDownload: import("../network/types.js").QueryObject<Omit<{
|
|
601
|
+
programName?: string | null | undefined;
|
|
602
|
+
tags?: string[] | null | undefined;
|
|
603
|
+
mode?: "scan" | "fix" | null | undefined;
|
|
604
|
+
moduleId?: string[] | null | undefined;
|
|
605
|
+
componentName?: string | null | undefined;
|
|
606
|
+
reportCreatedById?: string[] | null | undefined;
|
|
607
|
+
startDate?: string | undefined;
|
|
608
|
+
endDate?: string | undefined;
|
|
609
|
+
orderBy?: "mode" | "moduleName" | "reportCreatedAt" | "totalIssues" | "programGroupName" | "executionStartedAt" | "executionCompletedAt" | "changedFilesCount" | "componentAppName" | "componentName" | "componentType" | null | undefined;
|
|
610
|
+
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
611
|
+
extension?: "csv" | "xlsx" | undefined;
|
|
612
|
+
authorization: string;
|
|
613
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
459
614
|
}
|
|
460
615
|
export declare const codeShiftClient: CodeShift;
|
|
461
616
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-shift.d.ts","sourceRoot":"","sources":["../../src/client/code-shift.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"code-shift.d.ts","sourceRoot":"","sources":["../../src/client/code-shift.ts"],"names":[],"mappings":"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"}
|