@stack-spot/portal-network 0.174.0 → 0.175.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/api/codeShift.d.ts +488 -21
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +204 -0
- package/dist/api/codeShift.js.map +1 -1
- package/dist/client/code-shift.d.ts +174 -26
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +97 -7
- package/dist/client/code-shift.js.map +1 -1
- package/package.json +1 -1
- package/src/api/codeShift.ts +849 -32
- package/src/client/code-shift.ts +68 -7
package/src/client/code-shift.ts
CHANGED
|
@@ -48,6 +48,16 @@ import {
|
|
|
48
48
|
updateRepositoryServiceV1ReposRepositoryIdPut,
|
|
49
49
|
validateScmUrlServiceV1ReposValidateScmUrlPost,
|
|
50
50
|
listUserServiceV1UsersGet,
|
|
51
|
+
analyticsProgramGroupsDetailsV1AnalyticsProgramGroupsDetailsGet,
|
|
52
|
+
analyticsProgramGroupsDetailsDownloadV1AnalyticsProgramGroupsDetailsDownloadGet,
|
|
53
|
+
getModuleInputsV1ModulesModuleIdInputsGet,
|
|
54
|
+
analyticsRepositoryDetailedReportDownloadV1AnalyticsRepositoriesDetailsDownloadGet,
|
|
55
|
+
analyticsRepositoryDetailedReportV1AnalyticsRepositoriesDetailsGet,
|
|
56
|
+
listRepositoryDownloadServiceV1ReposDownloadGet,
|
|
57
|
+
listProgramGroupDownloadServiceV1ProgramGroupsDownloadGet,
|
|
58
|
+
getModuleV1ModulesModuleIdGet,
|
|
59
|
+
analyticsProgramGroupsTargetDetailsV1AnalyticsProgramGroupsTargetDetailsGet,
|
|
60
|
+
analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGroupsTargetDetailsDownloadGet,
|
|
51
61
|
} from '../api/codeShift'
|
|
52
62
|
import { DefaultAPIError } from '../error/DefaultAPIError'
|
|
53
63
|
import { codeShiftDictionary } from '../error/dictionary/code-shift'
|
|
@@ -89,6 +99,10 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
89
99
|
* Updates a repository
|
|
90
100
|
*/
|
|
91
101
|
updateRepository = this.mutation(removeAuthorizationParam(updateRepositoryServiceV1ReposRepositoryIdPut))
|
|
102
|
+
/**
|
|
103
|
+
* List Repository Download Service
|
|
104
|
+
*/
|
|
105
|
+
repositoryDownload = this.query(removeAuthorizationParam(listRepositoryDownloadServiceV1ReposDownloadGet))
|
|
92
106
|
/**
|
|
93
107
|
* Get a report for a pull request by id.
|
|
94
108
|
*/
|
|
@@ -97,6 +111,14 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
97
111
|
* Gets modules.
|
|
98
112
|
*/
|
|
99
113
|
modules = this.query(removeAuthorizationParam(listModulesServiceV1ModulesGet))
|
|
114
|
+
/**
|
|
115
|
+
* Gets module by id.
|
|
116
|
+
*/
|
|
117
|
+
module = this.query(removeAuthorizationParam(getModuleV1ModulesModuleIdGet))
|
|
118
|
+
/**
|
|
119
|
+
* Gets module inputs.
|
|
120
|
+
*/
|
|
121
|
+
modulesInputs = this.query(removeAuthorizationParam(getModuleInputsV1ModulesModuleIdInputsGet))
|
|
100
122
|
/**
|
|
101
123
|
* Creates a module.
|
|
102
124
|
*/
|
|
@@ -192,6 +214,10 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
192
214
|
* Deletes a program group.
|
|
193
215
|
*/
|
|
194
216
|
deleteProgramGroup = this.mutation(removeAuthorizationParam(deleteProgramGroupServiceV1ProgramGroupsProgramGroupIdDelete))
|
|
217
|
+
/**
|
|
218
|
+
* List Program Group Download Service
|
|
219
|
+
*/
|
|
220
|
+
programGroupDownload = this.query(removeAuthorizationParam(listProgramGroupDownloadServiceV1ProgramGroupsDownloadGet))
|
|
195
221
|
/**
|
|
196
222
|
* Gets list of tags.
|
|
197
223
|
*/
|
|
@@ -204,7 +230,6 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
204
230
|
* Get Branches for a Repository
|
|
205
231
|
*/
|
|
206
232
|
getBranches = this.query(removeAuthorizationParam(listBranchesServiceV1ReposBranchesGet))
|
|
207
|
-
|
|
208
233
|
/**
|
|
209
234
|
* General Report Success And Errors
|
|
210
235
|
*/
|
|
@@ -234,9 +259,11 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
234
259
|
removeAuthorizationParam(analyticsProgramGroupsLastReportStatusV1AnalyticsProgramGroupsLastReportStatusGet),
|
|
235
260
|
)
|
|
236
261
|
/**
|
|
237
|
-
* Analytics Program Groups
|
|
262
|
+
* Analytics Program Groups Last Report Status Download
|
|
238
263
|
*/
|
|
239
|
-
|
|
264
|
+
analyticsProgramGroupsLastReportStatusDownload = this.query(
|
|
265
|
+
removeAuthorizationParam(analyticsProgramGroupsLastReportStatusDownloadV1AnalyticsProgramGroupsLastReportStatusDownloadGet),
|
|
266
|
+
)
|
|
240
267
|
/**
|
|
241
268
|
* Analytics User Usage
|
|
242
269
|
*/
|
|
@@ -252,11 +279,9 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
252
279
|
removeAuthorizationParam(analyticsRepositoryUsageDownloadV1AnalyticsRepositoriesUsageDownloadGet),
|
|
253
280
|
)
|
|
254
281
|
/**
|
|
255
|
-
* Analytics Program Groups
|
|
282
|
+
* Analytics Program Groups Usage
|
|
256
283
|
*/
|
|
257
|
-
|
|
258
|
-
removeAuthorizationParam(analyticsProgramGroupsLastReportStatusDownloadV1AnalyticsProgramGroupsLastReportStatusDownloadGet),
|
|
259
|
-
)
|
|
284
|
+
analyticsProgramGroupsUsage = this.query(removeAuthorizationParam(analyticsProgramGroupsUsageV1AnalyticsProgramGroupsUsageGet))
|
|
260
285
|
/**
|
|
261
286
|
* Analytics Program Groups Usage Download
|
|
262
287
|
*/
|
|
@@ -269,6 +294,42 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
269
294
|
getUsersService = this.query(
|
|
270
295
|
removeAuthorizationParam(listUserServiceV1UsersGet),
|
|
271
296
|
)
|
|
297
|
+
/**
|
|
298
|
+
* Analytics Program Groups Details
|
|
299
|
+
*/
|
|
300
|
+
analyticsProgramGroupsDetails = this.query(
|
|
301
|
+
removeAuthorizationParam(analyticsProgramGroupsDetailsV1AnalyticsProgramGroupsDetailsGet),
|
|
302
|
+
)
|
|
303
|
+
/**
|
|
304
|
+
* Analytics Program Groups Details Download
|
|
305
|
+
*/
|
|
306
|
+
analyticsProgramGroupsDetailsDownload = this.query(
|
|
307
|
+
removeAuthorizationParam(analyticsProgramGroupsDetailsDownloadV1AnalyticsProgramGroupsDetailsDownloadGet),
|
|
308
|
+
)
|
|
309
|
+
/**
|
|
310
|
+
* Analytics Program Groups Details
|
|
311
|
+
*/
|
|
312
|
+
analyticsRepositoryDetails = this.query(
|
|
313
|
+
removeAuthorizationParam(analyticsRepositoryDetailedReportV1AnalyticsRepositoriesDetailsGet),
|
|
314
|
+
)
|
|
315
|
+
/**
|
|
316
|
+
* Analytics Program Groups Details Download
|
|
317
|
+
*/
|
|
318
|
+
analyticsRepositoryDetailsDownload = this.query(
|
|
319
|
+
removeAuthorizationParam(analyticsRepositoryDetailedReportDownloadV1AnalyticsRepositoriesDetailsDownloadGet),
|
|
320
|
+
)
|
|
321
|
+
/**
|
|
322
|
+
* Analytics Program Groups Target Details
|
|
323
|
+
*/
|
|
324
|
+
analyticsProgramGroupsTargetDetails = this.query(
|
|
325
|
+
removeAuthorizationParam(analyticsProgramGroupsTargetDetailsV1AnalyticsProgramGroupsTargetDetailsGet),
|
|
326
|
+
)
|
|
327
|
+
/**
|
|
328
|
+
* Analytics Program Groups Target Details Download
|
|
329
|
+
*/
|
|
330
|
+
analyticsProgramGroupsTargetDetailsDownload = this.query(
|
|
331
|
+
removeAuthorizationParam(analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGroupsTargetDetailsDownloadGet),
|
|
332
|
+
)
|
|
272
333
|
}
|
|
273
334
|
|
|
274
335
|
export const codeShiftClient = new CodeShift()
|