@stack-spot/portal-network 0.173.1 → 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 +14 -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/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/apis.json +2 -2
- 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/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/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/api/codeShift.ts +849 -32
- package/src/api/discover.ts +435 -0
- package/src/apis.json +2 -2
- package/src/client/code-shift.ts +68 -7
- package/src/client/discover.ts +89 -0
- package/src/index.ts +2 -1
- 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
|
@@ -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?:
|
|
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
34
|
orderDirection?: string | 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?: string | 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
|
*/
|
|
@@ -217,11 +245,11 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
217
245
|
name?: string | null | undefined;
|
|
218
246
|
pageSize?: number | undefined;
|
|
219
247
|
page?: number | undefined;
|
|
220
|
-
orderBy?:
|
|
248
|
+
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;
|
|
221
249
|
orderDirection?: string | undefined;
|
|
222
250
|
integrationId?: string | undefined;
|
|
223
251
|
authorization: string;
|
|
224
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").
|
|
252
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").ListProgramGroupResponseRead>;
|
|
225
253
|
/**
|
|
226
254
|
* Gets a program group by id.
|
|
227
255
|
*/
|
|
@@ -238,7 +266,7 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
238
266
|
page?: number | undefined;
|
|
239
267
|
lastEvaluatedKey?: string | undefined;
|
|
240
268
|
authorization: string;
|
|
241
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").
|
|
269
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").ListProgramGroupReportResponseRead>;
|
|
242
270
|
/**
|
|
243
271
|
* Updates a program group.
|
|
244
272
|
*/
|
|
@@ -265,6 +293,21 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
265
293
|
programGroupId: string;
|
|
266
294
|
authorization: string;
|
|
267
295
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
296
|
+
/**
|
|
297
|
+
* List Program Group Download Service
|
|
298
|
+
*/
|
|
299
|
+
programGroupDownload: import("../network/types.js").QueryObject<Omit<{
|
|
300
|
+
moduleId?: string | null | undefined;
|
|
301
|
+
createdByEmail?: string | null | undefined;
|
|
302
|
+
reportByEmail?: string | null | undefined;
|
|
303
|
+
tags?: string[] | null | undefined;
|
|
304
|
+
name?: string | null | undefined;
|
|
305
|
+
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;
|
|
306
|
+
orderDirection?: string | undefined;
|
|
307
|
+
integrationId?: string | undefined;
|
|
308
|
+
extension?: "csv" | "xlsx" | undefined;
|
|
309
|
+
authorization: string;
|
|
310
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
268
311
|
/**
|
|
269
312
|
* Gets list of tags.
|
|
270
313
|
*/
|
|
@@ -304,7 +347,7 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
304
347
|
executedBy?: string[] | null | undefined;
|
|
305
348
|
repositoryUrl?: string | null | undefined;
|
|
306
349
|
tags?: string[] | null | undefined;
|
|
307
|
-
orderBy?: "mode" | "repositoryUrl" | "moduleName" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues" | null | undefined;
|
|
350
|
+
orderBy?: "mode" | "repositoryUrl" | "moduleName" | "merged" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues" | null | undefined;
|
|
308
351
|
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
309
352
|
startDate?: string | null | undefined;
|
|
310
353
|
endDate?: string | null | undefined;
|
|
@@ -362,21 +405,18 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
362
405
|
authorization: string;
|
|
363
406
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").AnalyticsProgramGroupsLastReportStatusResponse>;
|
|
364
407
|
/**
|
|
365
|
-
* Analytics Program Groups
|
|
408
|
+
* Analytics Program Groups Last Report Status Download
|
|
366
409
|
*/
|
|
367
|
-
|
|
368
|
-
pageSize?: number | undefined;
|
|
369
|
-
page?: number | undefined;
|
|
370
|
-
executedBy?: string[] | null | undefined;
|
|
410
|
+
analyticsProgramGroupsLastReportStatusDownload: import("../network/types.js").QueryObject<Omit<{
|
|
371
411
|
moduleId?: string[] | null | undefined;
|
|
372
|
-
|
|
373
|
-
orderBy?: "name" | "totalScan" | "totalScanFailure" | "totalScanSuccess" | "totalFix" | "totalFixFailure" | "totalFixSuccess" | null | undefined;
|
|
412
|
+
orderBy?: "mode" | "moduleName" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues" | "programName" | null | undefined;
|
|
374
413
|
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
375
|
-
programGroupName?: string | null | undefined;
|
|
376
414
|
startDate?: string | null | undefined;
|
|
377
415
|
endDate?: string | null | undefined;
|
|
416
|
+
reportType?: "repository" | "program_group" | null | undefined;
|
|
417
|
+
extension?: "csv" | "xlsx" | undefined;
|
|
378
418
|
authorization: string;
|
|
379
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {},
|
|
419
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
380
420
|
/**
|
|
381
421
|
* Analytics User Usage
|
|
382
422
|
*/
|
|
@@ -423,18 +463,21 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
423
463
|
authorization: string;
|
|
424
464
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
425
465
|
/**
|
|
426
|
-
* Analytics Program Groups
|
|
466
|
+
* Analytics Program Groups Usage
|
|
427
467
|
*/
|
|
428
|
-
|
|
468
|
+
analyticsProgramGroupsUsage: import("../network/types.js").QueryObject<Omit<{
|
|
469
|
+
pageSize?: number | undefined;
|
|
470
|
+
page?: number | undefined;
|
|
471
|
+
executedBy?: string[] | null | undefined;
|
|
429
472
|
moduleId?: string[] | null | undefined;
|
|
430
|
-
|
|
473
|
+
tags?: string[] | null | undefined;
|
|
474
|
+
orderBy?: "name" | "totalScan" | "totalScanFailure" | "totalScanSuccess" | "totalFix" | "totalFixFailure" | "totalFixSuccess" | null | undefined;
|
|
431
475
|
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
476
|
+
programGroupName?: string | null | undefined;
|
|
432
477
|
startDate?: string | null | undefined;
|
|
433
478
|
endDate?: string | null | undefined;
|
|
434
|
-
reportType?: "repository" | "program_group" | null | undefined;
|
|
435
|
-
extension?: "csv" | "xlsx" | undefined;
|
|
436
479
|
authorization: string;
|
|
437
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {},
|
|
480
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").AnalyticsProgramGroupsUsageResponse>;
|
|
438
481
|
/**
|
|
439
482
|
* Analytics Program Groups Usage Download
|
|
440
483
|
*/
|
|
@@ -456,6 +499,111 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
456
499
|
getUsersService: import("../network/types.js").QueryObject<Omit<{
|
|
457
500
|
authorization: string;
|
|
458
501
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").ListUserResponse>;
|
|
502
|
+
/**
|
|
503
|
+
* Analytics Program Groups Details
|
|
504
|
+
*/
|
|
505
|
+
analyticsProgramGroupsDetails: import("../network/types.js").QueryObject<Omit<{
|
|
506
|
+
pageSize?: number | undefined;
|
|
507
|
+
page?: number | undefined;
|
|
508
|
+
programName?: string | null | undefined;
|
|
509
|
+
tags?: string[] | null | undefined;
|
|
510
|
+
mode?: "scan" | "fix" | null | undefined;
|
|
511
|
+
moduleId?: string[] | null | undefined;
|
|
512
|
+
programCreatedById?: string[] | null | undefined;
|
|
513
|
+
reportCreatedById?: string[] | null | undefined;
|
|
514
|
+
startDate?: string | undefined;
|
|
515
|
+
endDate?: string | undefined;
|
|
516
|
+
orderBy?: "mode" | "moduleName" | "reportCreatedAt" | "programGroupName" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds" | null | undefined;
|
|
517
|
+
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
518
|
+
authorization: string;
|
|
519
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").AnalyticsProgramGroupsDetailsResponse>;
|
|
520
|
+
/**
|
|
521
|
+
* Analytics Program Groups Details Download
|
|
522
|
+
*/
|
|
523
|
+
analyticsProgramGroupsDetailsDownload: import("../network/types.js").QueryObject<Omit<{
|
|
524
|
+
programName?: string | null | undefined;
|
|
525
|
+
tags?: string[] | null | undefined;
|
|
526
|
+
mode?: "scan" | "fix" | null | undefined;
|
|
527
|
+
moduleId?: string[] | null | undefined;
|
|
528
|
+
programCreatedById?: string[] | null | undefined;
|
|
529
|
+
reportCreatedById?: string[] | null | undefined;
|
|
530
|
+
startDate?: string | undefined;
|
|
531
|
+
endDate?: string | undefined;
|
|
532
|
+
orderBy?: "mode" | "moduleName" | "reportCreatedAt" | "programGroupName" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds" | null | undefined;
|
|
533
|
+
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
534
|
+
extension?: "csv" | "xlsx" | undefined;
|
|
535
|
+
authorization: string;
|
|
536
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
537
|
+
/**
|
|
538
|
+
* Analytics Program Groups Details
|
|
539
|
+
*/
|
|
540
|
+
analyticsRepositoryDetails: import("../network/types.js").QueryObject<Omit<{
|
|
541
|
+
pageSize?: number | undefined;
|
|
542
|
+
page?: number | undefined;
|
|
543
|
+
repositoryUrl?: string | null | undefined;
|
|
544
|
+
tags?: string[] | null | undefined;
|
|
545
|
+
mode?: "scan" | "fix" | null | undefined;
|
|
546
|
+
moduleId?: string[] | null | undefined;
|
|
547
|
+
repositoryCreatedById?: string[] | null | undefined;
|
|
548
|
+
executedBy?: string[] | null | undefined;
|
|
549
|
+
startDate?: string | undefined;
|
|
550
|
+
endDate?: string | undefined;
|
|
551
|
+
orderBy?: "repositoryUrl" | "moduleName" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds" | "sourceBranch" | "targetBranch" | "moduleVersion" | "pullRequestLink" | "reportCreatedByEmail" | "repositoryCreatedByEmail" | "repositoryCreatedByName" | null | undefined;
|
|
552
|
+
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
553
|
+
authorization: string;
|
|
554
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").AnalyticsRepositoryDetailedReportResponse>;
|
|
555
|
+
/**
|
|
556
|
+
* Analytics Program Groups Details Download
|
|
557
|
+
*/
|
|
558
|
+
analyticsRepositoryDetailsDownload: import("../network/types.js").QueryObject<Omit<{
|
|
559
|
+
repositoryUrl?: string | null | undefined;
|
|
560
|
+
tags?: string[] | null | undefined;
|
|
561
|
+
mode?: "scan" | "fix" | null | undefined;
|
|
562
|
+
moduleId?: string[] | null | undefined;
|
|
563
|
+
repositoryCreatedById?: string[] | null | undefined;
|
|
564
|
+
reportCreatedById?: string[] | null | undefined;
|
|
565
|
+
startDate?: string | undefined;
|
|
566
|
+
endDate?: string | undefined;
|
|
567
|
+
orderBy?: "repositoryUrl" | "moduleName" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds" | "sourceBranch" | "targetBranch" | "moduleVersion" | "pullRequestLink" | "reportCreatedByEmail" | "repositoryCreatedByEmail" | "repositoryCreatedByName" | null | undefined;
|
|
568
|
+
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
569
|
+
extension?: "csv" | "xlsx" | undefined;
|
|
570
|
+
authorization: string;
|
|
571
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").AnalyticsRepositoryDetailedReportResponse>;
|
|
572
|
+
/**
|
|
573
|
+
* Analytics Program Groups Target Details
|
|
574
|
+
*/
|
|
575
|
+
analyticsProgramGroupsTargetDetails: import("../network/types.js").QueryObject<Omit<{
|
|
576
|
+
pageSize?: number | undefined;
|
|
577
|
+
page?: number | undefined;
|
|
578
|
+
programName?: string | null | undefined;
|
|
579
|
+
componentName?: string | null | undefined;
|
|
580
|
+
tags?: string[] | null | undefined;
|
|
581
|
+
mode?: "scan" | "fix" | null | undefined;
|
|
582
|
+
moduleId?: string[] | null | undefined;
|
|
583
|
+
reportCreatedById?: string[] | null | undefined;
|
|
584
|
+
startDate?: string | undefined;
|
|
585
|
+
endDate?: string | undefined;
|
|
586
|
+
orderBy?: "mode" | "moduleName" | "reportCreatedAt" | "totalIssues" | "programGroupName" | "executionStartedAt" | "executionCompletedAt" | "changedFilesCount" | "componentAppName" | "componentName" | "componentType" | null | undefined;
|
|
587
|
+
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
588
|
+
authorization: string;
|
|
589
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").AnalyticsProgramGroupsTargetDetailsResponse>;
|
|
590
|
+
/**
|
|
591
|
+
* Analytics Program Groups Target Details Download
|
|
592
|
+
*/
|
|
593
|
+
analyticsProgramGroupsTargetDetailsDownload: import("../network/types.js").QueryObject<Omit<{
|
|
594
|
+
programName?: string | null | undefined;
|
|
595
|
+
tags?: string[] | null | undefined;
|
|
596
|
+
mode?: "scan" | "fix" | null | undefined;
|
|
597
|
+
moduleId?: string[] | null | undefined;
|
|
598
|
+
componentName?: string | null | undefined;
|
|
599
|
+
reportCreatedById?: string[] | null | undefined;
|
|
600
|
+
startDate?: string | undefined;
|
|
601
|
+
endDate?: string | undefined;
|
|
602
|
+
orderBy?: "mode" | "moduleName" | "reportCreatedAt" | "totalIssues" | "programGroupName" | "executionStartedAt" | "executionCompletedAt" | "changedFilesCount" | "componentAppName" | "componentName" | "componentType" | null | undefined;
|
|
603
|
+
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
604
|
+
extension?: "csv" | "xlsx" | undefined;
|
|
605
|
+
authorization: string;
|
|
606
|
+
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
459
607
|
}
|
|
460
608
|
export declare const codeShiftClient: CodeShift;
|
|
461
609
|
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
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A0B;;;;;;;;;;;;;;yIAEzB;IACD;;MAEE;IACF,kCAAkC;;;;;;;;;;;;;yIAEjC;IACD;;OAEG;IACH,mCAAmC;;;;;;;;;;;;;;2IAElC;IACD;;OAEG;IACH,2CAA2C;;;;;;;;;;;;;wEAE1C;CACF;AAED,eAAO,MAAM,eAAe,WAAkB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { analyticsRepositoryLastReportStatusDownloadV1AnalyticsRepositoriesLastReportStatusDownloadGet, analyticsRepositoryLastReportStatusV1AnalyticsRepositoriesLastReportStatusGet, analyticsRepositoryUsageDownloadV1AnalyticsRepositoriesUsageDownloadGet, analyticsRepositoryUsageV1AnalyticsRepositoriesUsageGet, analyticsProgramGroupsLastReportStatusDownloadV1AnalyticsProgramGroupsLastReportStatusDownloadGet, analyticsProgramGroupsLastReportStatusV1AnalyticsProgramGroupsLastReportStatusGet, analyticsProgramGroupsUsageDownloadV1AnalyticsProgramGroupsUsageDownloadGet, analyticsProgramGroupsUsageV1AnalyticsProgramGroupsUsageGet, analyticsUserUsageDownloadV1AnalyticsUsersUsageDownloadGet, analyticsUserUsageV1AnalyticsUsersUsageGet, checkRoleRouteV1RolesRoleGet, createAccountSettingsV1SettingsPut, createIntegrationServiceV1IntegrationsPost, createModuleServiceV1ModulesPost, createProgramGroupServiceV1ProgramGroupsPost, createReposBatchServiceV1ReposBatchPost, createRepositoryServiceV1ReposPost, defaults, deleteIntegrationServiceV1IntegrationsIntegrationIdDelete, deleteProgramGroupServiceV1ProgramGroupsProgramGroupIdDelete, deleteRepositoryServiceV1ReposRepositoryIdDelete, dispatchModuleServiceV1ModulesDispatchesPost, downloadReportV1ReportsReportIdDownloadGet, downloadSearchReposScmServiceV1ReposSearchScmSearchRepoIdDownloadGet, generalReportSuccessAndErrorsV1AnalyticsReportsGeneralSuccessAndErrorsGet, getAccountSettingsV1SettingsGet, getIntegrationByIdServiceV1IntegrationsIntegrationIdGet, getProgramGroupByIdServiceV1ProgramGroupsProgramGroupIdGet, getReportPullRequestContentV1ReportsReportIdPullRequestGet, getReportV1ReportsReportIdGet, getRepositoryByIdServiceV1ReposRepositoryIdGet, getStatusSearchReposScmServiceV1ReposSearchScmSearchRepoIdStatusGet, listBranchesServiceV1ReposBranchesGet, listIntegrationServiceV1IntegrationsGet, listModulesServiceV1ModulesGet, listProgramGroupReportServiceV1ProgramGroupsProgramGroupIdReportsGet, listProgramGroupServiceV1ProgramGroupsGet, listRepositoryReportV1ReposRepositoryIdReportsGet, listRepositoryServiceV1ReposGet, listTagsServiceV1TagsGet, searchReposScmServiceV1ReposSearchScmGet, updateIntegrationServiceV1IntegrationsIntegrationIdPut, updateProgramGroupComponentsServiceV1ProgramGroupsProgramGroupIdComponentsPut, updateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut, updateRepositoryServiceV1ReposRepositoryIdPut, validateScmUrlServiceV1ReposValidateScmUrlPost, listUserServiceV1UsersGet, } from '../api/codeShift.js';
|
|
1
|
+
import { analyticsRepositoryLastReportStatusDownloadV1AnalyticsRepositoriesLastReportStatusDownloadGet, analyticsRepositoryLastReportStatusV1AnalyticsRepositoriesLastReportStatusGet, analyticsRepositoryUsageDownloadV1AnalyticsRepositoriesUsageDownloadGet, analyticsRepositoryUsageV1AnalyticsRepositoriesUsageGet, analyticsProgramGroupsLastReportStatusDownloadV1AnalyticsProgramGroupsLastReportStatusDownloadGet, analyticsProgramGroupsLastReportStatusV1AnalyticsProgramGroupsLastReportStatusGet, analyticsProgramGroupsUsageDownloadV1AnalyticsProgramGroupsUsageDownloadGet, analyticsProgramGroupsUsageV1AnalyticsProgramGroupsUsageGet, analyticsUserUsageDownloadV1AnalyticsUsersUsageDownloadGet, analyticsUserUsageV1AnalyticsUsersUsageGet, checkRoleRouteV1RolesRoleGet, createAccountSettingsV1SettingsPut, createIntegrationServiceV1IntegrationsPost, createModuleServiceV1ModulesPost, createProgramGroupServiceV1ProgramGroupsPost, createReposBatchServiceV1ReposBatchPost, createRepositoryServiceV1ReposPost, defaults, deleteIntegrationServiceV1IntegrationsIntegrationIdDelete, deleteProgramGroupServiceV1ProgramGroupsProgramGroupIdDelete, deleteRepositoryServiceV1ReposRepositoryIdDelete, dispatchModuleServiceV1ModulesDispatchesPost, downloadReportV1ReportsReportIdDownloadGet, downloadSearchReposScmServiceV1ReposSearchScmSearchRepoIdDownloadGet, generalReportSuccessAndErrorsV1AnalyticsReportsGeneralSuccessAndErrorsGet, getAccountSettingsV1SettingsGet, getIntegrationByIdServiceV1IntegrationsIntegrationIdGet, getProgramGroupByIdServiceV1ProgramGroupsProgramGroupIdGet, getReportPullRequestContentV1ReportsReportIdPullRequestGet, getReportV1ReportsReportIdGet, getRepositoryByIdServiceV1ReposRepositoryIdGet, getStatusSearchReposScmServiceV1ReposSearchScmSearchRepoIdStatusGet, listBranchesServiceV1ReposBranchesGet, listIntegrationServiceV1IntegrationsGet, listModulesServiceV1ModulesGet, listProgramGroupReportServiceV1ProgramGroupsProgramGroupIdReportsGet, listProgramGroupServiceV1ProgramGroupsGet, listRepositoryReportV1ReposRepositoryIdReportsGet, listRepositoryServiceV1ReposGet, listTagsServiceV1TagsGet, searchReposScmServiceV1ReposSearchScmGet, updateIntegrationServiceV1IntegrationsIntegrationIdPut, updateProgramGroupComponentsServiceV1ProgramGroupsProgramGroupIdComponentsPut, updateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut, updateRepositoryServiceV1ReposRepositoryIdPut, validateScmUrlServiceV1ReposValidateScmUrlPost, listUserServiceV1UsersGet, analyticsProgramGroupsDetailsV1AnalyticsProgramGroupsDetailsGet, analyticsProgramGroupsDetailsDownloadV1AnalyticsProgramGroupsDetailsDownloadGet, getModuleInputsV1ModulesModuleIdInputsGet, analyticsRepositoryDetailedReportDownloadV1AnalyticsRepositoriesDetailsDownloadGet, analyticsRepositoryDetailedReportV1AnalyticsRepositoriesDetailsGet, listRepositoryDownloadServiceV1ReposDownloadGet, listProgramGroupDownloadServiceV1ProgramGroupsDownloadGet, getModuleV1ModulesModuleIdGet, analyticsProgramGroupsTargetDetailsV1AnalyticsProgramGroupsTargetDetailsGet, analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGroupsTargetDetailsDownloadGet, } from '../api/codeShift.js';
|
|
2
2
|
import { DefaultAPIError } from '../error/DefaultAPIError.js';
|
|
3
3
|
import { codeShiftDictionary } from '../error/dictionary/code-shift.js';
|
|
4
4
|
import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient.js';
|
|
@@ -61,6 +61,15 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
61
61
|
writable: true,
|
|
62
62
|
value: this.mutation(removeAuthorizationParam(updateRepositoryServiceV1ReposRepositoryIdPut))
|
|
63
63
|
});
|
|
64
|
+
/**
|
|
65
|
+
* List Repository Download Service
|
|
66
|
+
*/
|
|
67
|
+
Object.defineProperty(this, "repositoryDownload", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
configurable: true,
|
|
70
|
+
writable: true,
|
|
71
|
+
value: this.query(removeAuthorizationParam(listRepositoryDownloadServiceV1ReposDownloadGet))
|
|
72
|
+
});
|
|
64
73
|
/**
|
|
65
74
|
* Get a report for a pull request by id.
|
|
66
75
|
*/
|
|
@@ -79,6 +88,24 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
79
88
|
writable: true,
|
|
80
89
|
value: this.query(removeAuthorizationParam(listModulesServiceV1ModulesGet))
|
|
81
90
|
});
|
|
91
|
+
/**
|
|
92
|
+
* Gets module by id.
|
|
93
|
+
*/
|
|
94
|
+
Object.defineProperty(this, "module", {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
configurable: true,
|
|
97
|
+
writable: true,
|
|
98
|
+
value: this.query(removeAuthorizationParam(getModuleV1ModulesModuleIdGet))
|
|
99
|
+
});
|
|
100
|
+
/**
|
|
101
|
+
* Gets module inputs.
|
|
102
|
+
*/
|
|
103
|
+
Object.defineProperty(this, "modulesInputs", {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
configurable: true,
|
|
106
|
+
writable: true,
|
|
107
|
+
value: this.query(removeAuthorizationParam(getModuleInputsV1ModulesModuleIdInputsGet))
|
|
108
|
+
});
|
|
82
109
|
/**
|
|
83
110
|
* Creates a module.
|
|
84
111
|
*/
|
|
@@ -287,6 +314,15 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
287
314
|
writable: true,
|
|
288
315
|
value: this.mutation(removeAuthorizationParam(deleteProgramGroupServiceV1ProgramGroupsProgramGroupIdDelete))
|
|
289
316
|
});
|
|
317
|
+
/**
|
|
318
|
+
* List Program Group Download Service
|
|
319
|
+
*/
|
|
320
|
+
Object.defineProperty(this, "programGroupDownload", {
|
|
321
|
+
enumerable: true,
|
|
322
|
+
configurable: true,
|
|
323
|
+
writable: true,
|
|
324
|
+
value: this.query(removeAuthorizationParam(listProgramGroupDownloadServiceV1ProgramGroupsDownloadGet))
|
|
325
|
+
});
|
|
290
326
|
/**
|
|
291
327
|
* Gets list of tags.
|
|
292
328
|
*/
|
|
@@ -360,13 +396,13 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
360
396
|
value: this.query(removeAuthorizationParam(analyticsProgramGroupsLastReportStatusV1AnalyticsProgramGroupsLastReportStatusGet))
|
|
361
397
|
});
|
|
362
398
|
/**
|
|
363
|
-
* Analytics Program Groups
|
|
399
|
+
* Analytics Program Groups Last Report Status Download
|
|
364
400
|
*/
|
|
365
|
-
Object.defineProperty(this, "
|
|
401
|
+
Object.defineProperty(this, "analyticsProgramGroupsLastReportStatusDownload", {
|
|
366
402
|
enumerable: true,
|
|
367
403
|
configurable: true,
|
|
368
404
|
writable: true,
|
|
369
|
-
value: this.query(removeAuthorizationParam(
|
|
405
|
+
value: this.query(removeAuthorizationParam(analyticsProgramGroupsLastReportStatusDownloadV1AnalyticsProgramGroupsLastReportStatusDownloadGet))
|
|
370
406
|
});
|
|
371
407
|
/**
|
|
372
408
|
* Analytics User Usage
|
|
@@ -396,13 +432,13 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
396
432
|
value: this.query(removeAuthorizationParam(analyticsRepositoryUsageDownloadV1AnalyticsRepositoriesUsageDownloadGet))
|
|
397
433
|
});
|
|
398
434
|
/**
|
|
399
|
-
* Analytics Program Groups
|
|
435
|
+
* Analytics Program Groups Usage
|
|
400
436
|
*/
|
|
401
|
-
Object.defineProperty(this, "
|
|
437
|
+
Object.defineProperty(this, "analyticsProgramGroupsUsage", {
|
|
402
438
|
enumerable: true,
|
|
403
439
|
configurable: true,
|
|
404
440
|
writable: true,
|
|
405
|
-
value: this.query(removeAuthorizationParam(
|
|
441
|
+
value: this.query(removeAuthorizationParam(analyticsProgramGroupsUsageV1AnalyticsProgramGroupsUsageGet))
|
|
406
442
|
});
|
|
407
443
|
/**
|
|
408
444
|
* Analytics Program Groups Usage Download
|
|
@@ -422,6 +458,60 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
422
458
|
writable: true,
|
|
423
459
|
value: this.query(removeAuthorizationParam(listUserServiceV1UsersGet))
|
|
424
460
|
});
|
|
461
|
+
/**
|
|
462
|
+
* Analytics Program Groups Details
|
|
463
|
+
*/
|
|
464
|
+
Object.defineProperty(this, "analyticsProgramGroupsDetails", {
|
|
465
|
+
enumerable: true,
|
|
466
|
+
configurable: true,
|
|
467
|
+
writable: true,
|
|
468
|
+
value: this.query(removeAuthorizationParam(analyticsProgramGroupsDetailsV1AnalyticsProgramGroupsDetailsGet))
|
|
469
|
+
});
|
|
470
|
+
/**
|
|
471
|
+
* Analytics Program Groups Details Download
|
|
472
|
+
*/
|
|
473
|
+
Object.defineProperty(this, "analyticsProgramGroupsDetailsDownload", {
|
|
474
|
+
enumerable: true,
|
|
475
|
+
configurable: true,
|
|
476
|
+
writable: true,
|
|
477
|
+
value: this.query(removeAuthorizationParam(analyticsProgramGroupsDetailsDownloadV1AnalyticsProgramGroupsDetailsDownloadGet))
|
|
478
|
+
});
|
|
479
|
+
/**
|
|
480
|
+
* Analytics Program Groups Details
|
|
481
|
+
*/
|
|
482
|
+
Object.defineProperty(this, "analyticsRepositoryDetails", {
|
|
483
|
+
enumerable: true,
|
|
484
|
+
configurable: true,
|
|
485
|
+
writable: true,
|
|
486
|
+
value: this.query(removeAuthorizationParam(analyticsRepositoryDetailedReportV1AnalyticsRepositoriesDetailsGet))
|
|
487
|
+
});
|
|
488
|
+
/**
|
|
489
|
+
* Analytics Program Groups Details Download
|
|
490
|
+
*/
|
|
491
|
+
Object.defineProperty(this, "analyticsRepositoryDetailsDownload", {
|
|
492
|
+
enumerable: true,
|
|
493
|
+
configurable: true,
|
|
494
|
+
writable: true,
|
|
495
|
+
value: this.query(removeAuthorizationParam(analyticsRepositoryDetailedReportDownloadV1AnalyticsRepositoriesDetailsDownloadGet))
|
|
496
|
+
});
|
|
497
|
+
/**
|
|
498
|
+
* Analytics Program Groups Target Details
|
|
499
|
+
*/
|
|
500
|
+
Object.defineProperty(this, "analyticsProgramGroupsTargetDetails", {
|
|
501
|
+
enumerable: true,
|
|
502
|
+
configurable: true,
|
|
503
|
+
writable: true,
|
|
504
|
+
value: this.query(removeAuthorizationParam(analyticsProgramGroupsTargetDetailsV1AnalyticsProgramGroupsTargetDetailsGet))
|
|
505
|
+
});
|
|
506
|
+
/**
|
|
507
|
+
* Analytics Program Groups Target Details Download
|
|
508
|
+
*/
|
|
509
|
+
Object.defineProperty(this, "analyticsProgramGroupsTargetDetailsDownload", {
|
|
510
|
+
enumerable: true,
|
|
511
|
+
configurable: true,
|
|
512
|
+
writable: true,
|
|
513
|
+
value: this.query(removeAuthorizationParam(analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGroupsTargetDetailsDownloadGet))
|
|
514
|
+
});
|
|
425
515
|
}
|
|
426
516
|
buildStackSpotError(error) {
|
|
427
517
|
return new DefaultAPIError(error.data, error.status, codeShiftDictionary, error.headers);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-shift.js","sourceRoot":"","sources":["../../src/client/code-shift.ts"],"names":[],"mappings":"AAE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2FAA2F,CAAC,CACtH;WAAA;IApQD,CAAC;IAES,mBAAmB,CAAC,KAAgB;QAC5C,OAAO,IAAI,eAAe,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE,mBAAmB,EAAE,KAAK,CAAC,OAAO,CAAC,CAAA;IAC1F,CAAC;CAiQF;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,SAAS,EAAE,CAAA"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { HttpError } from '@oazapfts/runtime';
|
|
2
|
+
import { ConversationResponse } from '../api/ai.js';
|
|
3
|
+
import { GetOpportunityResponse } from '../api/discover.js';
|
|
4
|
+
import { StackspotAPIError } from '../error/StackspotAPIError.js';
|
|
5
|
+
import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient.js';
|
|
6
|
+
export interface ChatConversionDetails extends ConversationResponse {
|
|
7
|
+
opportunityName?: string;
|
|
8
|
+
hypothesisCount?: number;
|
|
9
|
+
}
|
|
10
|
+
declare class DiscoverClient extends ReactQueryNetworkClient {
|
|
11
|
+
constructor();
|
|
12
|
+
protected buildStackSpotError(error: HttpError): StackspotAPIError;
|
|
13
|
+
opportunities: import("../network/types.js").QueryObject<{
|
|
14
|
+
filter?: string | undefined;
|
|
15
|
+
page?: number | undefined;
|
|
16
|
+
size?: number | undefined;
|
|
17
|
+
sort?: string | undefined;
|
|
18
|
+
direction?: string | undefined;
|
|
19
|
+
}, import("../api/discover.js").PageResponseGetOpportunityResponse>;
|
|
20
|
+
opportunity: import("../network/types.js").QueryObject<{
|
|
21
|
+
opportunityId: string;
|
|
22
|
+
}, GetOpportunityResponse>;
|
|
23
|
+
hypotheses: import("../network/types.js").QueryObject<{
|
|
24
|
+
opportunityId: string;
|
|
25
|
+
}, import("../api/discover.js").GetHypothesisResponse[]>;
|
|
26
|
+
hypothesisById: import("../network/types.js").QueryObject<{
|
|
27
|
+
hypothesisId: string;
|
|
28
|
+
}, import("../api/discover.js").GetHypothesisResponse>;
|
|
29
|
+
documents: import("../network/types.js").QueryObject<{
|
|
30
|
+
hypothesisId: string;
|
|
31
|
+
}, import("../api/discover.js").GetDocumentResponse[]>;
|
|
32
|
+
document: import("../network/types.js").QueryObject<{
|
|
33
|
+
documentId: string;
|
|
34
|
+
}, import("../api/discover.js").GetDocumentResponse>;
|
|
35
|
+
artifacts: import("../network/types.js").QueryObject<{
|
|
36
|
+
chatId: string;
|
|
37
|
+
}, import("../api/discover.js").GetArtifactResponse[]>;
|
|
38
|
+
createOpportunity: import("../network/types.js").MutationObject<{
|
|
39
|
+
createOpportunityRequest: import("../api/discover.js").CreateOpportunityRequest;
|
|
40
|
+
}, import("../api/discover.js").CreateOpportunityResponse>;
|
|
41
|
+
createHypothesis: import("../network/types.js").MutationObject<{
|
|
42
|
+
createHypothesisRequest: import("../api/discover.js").CreateHypothesisRequest;
|
|
43
|
+
}, import("../api/discover.js").CreateHypothesisResponse>;
|
|
44
|
+
createDocument: import("../network/types.js").MutationObject<{
|
|
45
|
+
createDocumentRequest: import("../api/discover.js").CreateDocumentRequest;
|
|
46
|
+
}, import("../api/discover.js").CreateDocumentResponse>;
|
|
47
|
+
deleteOpportunity: import("../network/types.js").MutationObject<{
|
|
48
|
+
opportunityId: string;
|
|
49
|
+
}, never>;
|
|
50
|
+
deleteHypothesis: import("../network/types.js").MutationObject<{
|
|
51
|
+
hypothesisId: string;
|
|
52
|
+
}, never>;
|
|
53
|
+
deleteDocument: import("../network/types.js").MutationObject<{
|
|
54
|
+
documentId: string;
|
|
55
|
+
}, never>;
|
|
56
|
+
chats: Omit<import("../network/types.js").QueryObject<{
|
|
57
|
+
filter?: string | undefined;
|
|
58
|
+
page?: number | undefined;
|
|
59
|
+
size?: number | undefined;
|
|
60
|
+
}, ChatConversionDetails[]>, "isAllowed" | "useAllowed" | "getPermissionKey">;
|
|
61
|
+
}
|
|
62
|
+
export declare const discoverClient: DiscoverClient;
|
|
63
|
+
export {};
|
|
64
|
+
//# sourceMappingURL=discover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discover.d.ts","sourceRoot":"","sources":["../../src/client/discover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAE7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAChD,OAAO,EAAuJ,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAE7M,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAE9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAG5E,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IACjE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,cAAM,cAAe,SAAQ,uBAAuB;;IAKlD,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,iBAAiB;IAIlE,aAAa;;;;;;qEAAqB;IAElC,WAAW;;+BAAsB;IAEjC,UAAU;;0DAAsB;IAEhC,cAAc;;wDAAuB;IAErC,SAAS;;wDAAiC;IAE1C,QAAQ;;sDAAuB;IAE/B,SAAS;;wDAAsB;IAE/B,iBAAiB;;4DAAwB;IAEzC,gBAAgB;;2DAAyB;IAEzC,cAAc;;yDAAyB;IAEvC,iBAAiB;;cAA4B;IAE7C,gBAAgB;;cAA6B;IAE7C,cAAc;;cAA6B;IAE3C,KAAK;;;;kFAmCH;CACH;AAED,eAAO,MAAM,cAAc,gBAAuB,CAAA"}
|