@stack-spot/portal-network 0.172.3-beta.1 → 0.173.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 +20 -0
- package/dist/api/codeShift.d.ts +21 -5
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +13 -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 +12 -5
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +10 -1
- 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 +55 -5
- package/src/api/discover.ts +435 -0
- package/src/apis.json +2 -2
- package/src/client/code-shift.ts +5 -0
- 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
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* v0
|
|
4
|
+
* DO NOT MODIFY - This file has been generated using oazapfts.
|
|
5
|
+
* See https://www.npmjs.com/package/oazapfts
|
|
6
|
+
*/
|
|
7
|
+
import * as Oazapfts from "@oazapfts/runtime";
|
|
8
|
+
export declare const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders>;
|
|
9
|
+
export declare const servers: {
|
|
10
|
+
generatedServerUrl: string;
|
|
11
|
+
};
|
|
12
|
+
export type GetOpportunityResponseHypothesisResponse = {
|
|
13
|
+
id: string;
|
|
14
|
+
title: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
export type GetOpportunityResponse = {
|
|
18
|
+
id: string;
|
|
19
|
+
title: string;
|
|
20
|
+
description: string;
|
|
21
|
+
createdBy: string;
|
|
22
|
+
createdAt?: string;
|
|
23
|
+
hypotheses: GetOpportunityResponseHypothesisResponse[];
|
|
24
|
+
updatedBy?: string;
|
|
25
|
+
updatedAt?: string;
|
|
26
|
+
chatId?: string;
|
|
27
|
+
};
|
|
28
|
+
export type UpdateOpportunityRequest = {
|
|
29
|
+
title?: string;
|
|
30
|
+
description?: string;
|
|
31
|
+
};
|
|
32
|
+
export type UpdateOpportunityResponse = {
|
|
33
|
+
id: string;
|
|
34
|
+
title: string;
|
|
35
|
+
description: string;
|
|
36
|
+
createdBy: string;
|
|
37
|
+
createdAt?: string;
|
|
38
|
+
updatedBy?: string;
|
|
39
|
+
updatedAt?: string;
|
|
40
|
+
chatId?: string;
|
|
41
|
+
};
|
|
42
|
+
export type GetHypothesisResponseDocumentResponse = {
|
|
43
|
+
id: string;
|
|
44
|
+
title: string;
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
export type GetHypothesisResponse = {
|
|
48
|
+
id: string;
|
|
49
|
+
opportunityId: string;
|
|
50
|
+
title: string;
|
|
51
|
+
description: string;
|
|
52
|
+
documents: GetHypothesisResponseDocumentResponse[];
|
|
53
|
+
createdBy: string;
|
|
54
|
+
createdAt?: string;
|
|
55
|
+
updatedBy?: string;
|
|
56
|
+
updatedAt?: string;
|
|
57
|
+
chatId?: string;
|
|
58
|
+
};
|
|
59
|
+
export type UpdateHypothesisRequest = {
|
|
60
|
+
title?: string;
|
|
61
|
+
description?: string;
|
|
62
|
+
};
|
|
63
|
+
export type UpdateHypothesisResponse = {
|
|
64
|
+
id: string;
|
|
65
|
+
opportunityId: string;
|
|
66
|
+
title: string;
|
|
67
|
+
description: string;
|
|
68
|
+
createdBy: string;
|
|
69
|
+
createdAt?: string;
|
|
70
|
+
updatedBy?: string;
|
|
71
|
+
updatedAt?: string;
|
|
72
|
+
chatId?: string;
|
|
73
|
+
};
|
|
74
|
+
export type GetDocumentResponse = {
|
|
75
|
+
id: string;
|
|
76
|
+
hypothesisId: string;
|
|
77
|
+
title: string;
|
|
78
|
+
description: string;
|
|
79
|
+
createdBy: string;
|
|
80
|
+
createdAt?: string;
|
|
81
|
+
updatedBy?: string;
|
|
82
|
+
updatedAt?: string;
|
|
83
|
+
chatId?: string;
|
|
84
|
+
};
|
|
85
|
+
export type UpdateDocumentRequest = {
|
|
86
|
+
title?: string;
|
|
87
|
+
description?: string;
|
|
88
|
+
content?: string;
|
|
89
|
+
};
|
|
90
|
+
export type UpdateDocumentResponse = {
|
|
91
|
+
id: string;
|
|
92
|
+
hypothesisId: string;
|
|
93
|
+
title: string;
|
|
94
|
+
description: string;
|
|
95
|
+
createdBy: string;
|
|
96
|
+
createdAt?: string;
|
|
97
|
+
updatedBy?: string;
|
|
98
|
+
updatedAt?: string;
|
|
99
|
+
chatId?: string;
|
|
100
|
+
};
|
|
101
|
+
export type SortResponse = {
|
|
102
|
+
direction: string;
|
|
103
|
+
nullHandling: string;
|
|
104
|
+
ascending: boolean;
|
|
105
|
+
property: string;
|
|
106
|
+
ignoreCase: boolean;
|
|
107
|
+
};
|
|
108
|
+
export type PageableResponse = {
|
|
109
|
+
offset: number;
|
|
110
|
+
sort: SortResponse[];
|
|
111
|
+
paged: boolean;
|
|
112
|
+
pageSize: number;
|
|
113
|
+
pageNumber: number;
|
|
114
|
+
unpaged: boolean;
|
|
115
|
+
};
|
|
116
|
+
export type PageResponseGetOpportunityResponse = {
|
|
117
|
+
totalElements: number;
|
|
118
|
+
totalPages: number;
|
|
119
|
+
first: boolean;
|
|
120
|
+
last: boolean;
|
|
121
|
+
size: number;
|
|
122
|
+
content: GetOpportunityResponse[];
|
|
123
|
+
"number": number;
|
|
124
|
+
sort: SortResponse[];
|
|
125
|
+
numberOfElements: number;
|
|
126
|
+
pageable: PageableResponse;
|
|
127
|
+
empty: boolean;
|
|
128
|
+
};
|
|
129
|
+
export type CreateOpportunityRequest = {
|
|
130
|
+
title?: string;
|
|
131
|
+
description?: string;
|
|
132
|
+
chatId?: string;
|
|
133
|
+
};
|
|
134
|
+
export type CreateOpportunityResponse = {
|
|
135
|
+
id: string;
|
|
136
|
+
title: string;
|
|
137
|
+
description: string;
|
|
138
|
+
createdBy: string;
|
|
139
|
+
createdAt?: string;
|
|
140
|
+
updatedBy?: string;
|
|
141
|
+
updatedAt?: string;
|
|
142
|
+
chatId?: string;
|
|
143
|
+
};
|
|
144
|
+
export type CreateHypothesisRequest = {
|
|
145
|
+
opportunityId?: string;
|
|
146
|
+
title?: string;
|
|
147
|
+
description?: string;
|
|
148
|
+
chatId?: string;
|
|
149
|
+
};
|
|
150
|
+
export type CreateHypothesisResponse = {
|
|
151
|
+
id: string;
|
|
152
|
+
opportunityId: string;
|
|
153
|
+
title: string;
|
|
154
|
+
description: string;
|
|
155
|
+
createdBy: string;
|
|
156
|
+
createdAt?: string;
|
|
157
|
+
updatedBy?: string;
|
|
158
|
+
updatedAt?: string;
|
|
159
|
+
chatId?: string;
|
|
160
|
+
};
|
|
161
|
+
export type CreateDocumentRequest = {
|
|
162
|
+
hypothesisId?: string;
|
|
163
|
+
title?: string;
|
|
164
|
+
description?: string;
|
|
165
|
+
content?: string;
|
|
166
|
+
chatId?: string;
|
|
167
|
+
};
|
|
168
|
+
export type CreateDocumentResponse = {
|
|
169
|
+
id: string;
|
|
170
|
+
hypothesisId: string;
|
|
171
|
+
title: string;
|
|
172
|
+
description: string;
|
|
173
|
+
createdBy: string;
|
|
174
|
+
createdAt?: string;
|
|
175
|
+
updatedBy?: string;
|
|
176
|
+
updatedAt?: string;
|
|
177
|
+
chatId?: string;
|
|
178
|
+
};
|
|
179
|
+
export type GetArtifactResponse = {
|
|
180
|
+
"type": "OPPORTUNITY" | "HYPOTHESIS" | "DOCUMENT";
|
|
181
|
+
id: string;
|
|
182
|
+
title: string;
|
|
183
|
+
description: string;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* Get specific Opportunity
|
|
187
|
+
*/
|
|
188
|
+
export declare function getById({ opportunityId }: {
|
|
189
|
+
opportunityId: string;
|
|
190
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetOpportunityResponse>;
|
|
191
|
+
/**
|
|
192
|
+
* Update specific Opportunity
|
|
193
|
+
*/
|
|
194
|
+
export declare function updateById({ opportunityId, updateOpportunityRequest }: {
|
|
195
|
+
opportunityId: string;
|
|
196
|
+
updateOpportunityRequest: UpdateOpportunityRequest;
|
|
197
|
+
}, opts?: Oazapfts.RequestOpts): Promise<UpdateOpportunityResponse>;
|
|
198
|
+
/**
|
|
199
|
+
* Delete specific Opportunity
|
|
200
|
+
*/
|
|
201
|
+
export declare function deleteById({ opportunityId }: {
|
|
202
|
+
opportunityId: string;
|
|
203
|
+
}, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
204
|
+
/**
|
|
205
|
+
* Get specific Hypothesis
|
|
206
|
+
*/
|
|
207
|
+
export declare function getById1({ hypothesisId }: {
|
|
208
|
+
hypothesisId: string;
|
|
209
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetHypothesisResponse>;
|
|
210
|
+
/**
|
|
211
|
+
* Update specific Hypothesis
|
|
212
|
+
*/
|
|
213
|
+
export declare function updateById1({ hypothesisId, updateHypothesisRequest }: {
|
|
214
|
+
hypothesisId: string;
|
|
215
|
+
updateHypothesisRequest: UpdateHypothesisRequest;
|
|
216
|
+
}, opts?: Oazapfts.RequestOpts): Promise<UpdateHypothesisResponse>;
|
|
217
|
+
/**
|
|
218
|
+
* Delete specific Hypothesis
|
|
219
|
+
*/
|
|
220
|
+
export declare function deleteById1({ hypothesisId }: {
|
|
221
|
+
hypothesisId: string;
|
|
222
|
+
}, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
223
|
+
/**
|
|
224
|
+
* Get specific Document
|
|
225
|
+
*/
|
|
226
|
+
export declare function getById2({ documentId }: {
|
|
227
|
+
documentId: string;
|
|
228
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetDocumentResponse>;
|
|
229
|
+
/**
|
|
230
|
+
* Update specific Document
|
|
231
|
+
*/
|
|
232
|
+
export declare function updateById2({ documentId, updateDocumentRequest }: {
|
|
233
|
+
documentId: string;
|
|
234
|
+
updateDocumentRequest: UpdateDocumentRequest;
|
|
235
|
+
}, opts?: Oazapfts.RequestOpts): Promise<UpdateDocumentResponse>;
|
|
236
|
+
/**
|
|
237
|
+
* Delete specific Document
|
|
238
|
+
*/
|
|
239
|
+
export declare function deleteById2({ documentId }: {
|
|
240
|
+
documentId: string;
|
|
241
|
+
}, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
242
|
+
/**
|
|
243
|
+
* Get all Opportunities
|
|
244
|
+
*/
|
|
245
|
+
export declare function getAll({ filter, page, size, sort, direction }: {
|
|
246
|
+
filter?: string;
|
|
247
|
+
page?: number;
|
|
248
|
+
size?: number;
|
|
249
|
+
sort?: string;
|
|
250
|
+
direction?: string;
|
|
251
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PageResponseGetOpportunityResponse>;
|
|
252
|
+
/**
|
|
253
|
+
* Create new Opportunity
|
|
254
|
+
*/
|
|
255
|
+
export declare function create({ createOpportunityRequest }: {
|
|
256
|
+
createOpportunityRequest: CreateOpportunityRequest;
|
|
257
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CreateOpportunityResponse>;
|
|
258
|
+
/**
|
|
259
|
+
* Get all Hypotheses
|
|
260
|
+
*/
|
|
261
|
+
export declare function getAll1({ opportunityId }: {
|
|
262
|
+
opportunityId: string;
|
|
263
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetHypothesisResponse[]>;
|
|
264
|
+
/**
|
|
265
|
+
* Create new Hypothesis
|
|
266
|
+
*/
|
|
267
|
+
export declare function create1({ createHypothesisRequest }: {
|
|
268
|
+
createHypothesisRequest: CreateHypothesisRequest;
|
|
269
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CreateHypothesisResponse>;
|
|
270
|
+
/**
|
|
271
|
+
* Get all Documents by Hypothesis
|
|
272
|
+
*/
|
|
273
|
+
export declare function getAllByHypothesis({ hypothesisId }: {
|
|
274
|
+
hypothesisId: string;
|
|
275
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetDocumentResponse[]>;
|
|
276
|
+
/**
|
|
277
|
+
* Create Document
|
|
278
|
+
*/
|
|
279
|
+
export declare function create2({ createDocumentRequest }: {
|
|
280
|
+
createDocumentRequest: CreateDocumentRequest;
|
|
281
|
+
}, opts?: Oazapfts.RequestOpts): Promise<CreateDocumentResponse>;
|
|
282
|
+
/**
|
|
283
|
+
* Get specific Document content
|
|
284
|
+
*/
|
|
285
|
+
export declare function getContentById({ documentId }: {
|
|
286
|
+
documentId: string;
|
|
287
|
+
}, opts?: Oazapfts.RequestOpts): Promise<string>;
|
|
288
|
+
/**
|
|
289
|
+
* Get chat artifacts
|
|
290
|
+
*/
|
|
291
|
+
export declare function getAll2({ chatId }: {
|
|
292
|
+
chatId: string;
|
|
293
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetArtifactResponse[]>;
|
|
294
|
+
//# sourceMappingURL=discover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discover.d.ts","sourceRoot":"","sources":["../../src/api/discover.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAE9C,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC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QAAQ,CAAC,WAAW,oCAS7B;AACD;;GAEG;AACH,wBAAgB,OAAO,CAAC,EAAE,uBAAuB,EAAE,EAAE;IACjD,uBAAuB,EAAE,uBAAuB,CAAC;CACpD,EAAE,IAAI,CAAC,EAAE,QAAQ,CAAC,WAAW,qCAS7B;AACD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,YAAY,EAAE,EAAE;IACjD,YAAY,EAAE,MAAM,CAAC;CACxB,EAAE,IAAI,CAAC,EAAE,QAAQ,CAAC,WAAW,kCAS7B;AACD;;GAEG;AACH,wBAAgB,OAAO,CAAC,EAAE,qBAAqB,EAAE,EAAE;IAC/C,qBAAqB,EAAE,qBAAqB,CAAC;CAChD,EAAE,IAAI,CAAC,EAAE,QAAQ,CAAC,WAAW,mCAS7B;AACD;;GAEG;AACH,wBAAgB,cAAc,CAAC,EAAE,UAAU,EAAE,EAAE;IAC3C,UAAU,EAAE,MAAM,CAAC;CACtB,EAAE,IAAI,CAAC,EAAE,QAAQ,CAAC,WAAW,mBAO7B;AACD;;GAEG;AACH,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE;IAChC,MAAM,EAAE,MAAM,CAAC;CAClB,EAAE,IAAI,CAAC,EAAE,QAAQ,CAAC,WAAW,kCAS7B"}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* v0
|
|
4
|
+
* DO NOT MODIFY - This file has been generated using oazapfts.
|
|
5
|
+
* See https://www.npmjs.com/package/oazapfts
|
|
6
|
+
*/
|
|
7
|
+
import * as Oazapfts from "@oazapfts/runtime";
|
|
8
|
+
import * as QS from "@oazapfts/runtime/query";
|
|
9
|
+
export const defaults = {
|
|
10
|
+
headers: {},
|
|
11
|
+
baseUrl: "https://discover-discover-core.stg.stackspot.com",
|
|
12
|
+
};
|
|
13
|
+
const oazapfts = Oazapfts.runtime(defaults);
|
|
14
|
+
export const servers = {
|
|
15
|
+
generatedServerUrl: "https://discover-discover-core.stg.stackspot.com"
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Get specific Opportunity
|
|
19
|
+
*/
|
|
20
|
+
export function getById({ opportunityId }, opts) {
|
|
21
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v2/opportunities/${encodeURIComponent(opportunityId)}`, {
|
|
22
|
+
...opts
|
|
23
|
+
}));
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Update specific Opportunity
|
|
27
|
+
*/
|
|
28
|
+
export function updateById({ opportunityId, updateOpportunityRequest }, opts) {
|
|
29
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v2/opportunities/${encodeURIComponent(opportunityId)}`, oazapfts.json({
|
|
30
|
+
...opts,
|
|
31
|
+
method: "PUT",
|
|
32
|
+
body: updateOpportunityRequest
|
|
33
|
+
})));
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Delete specific Opportunity
|
|
37
|
+
*/
|
|
38
|
+
export function deleteById({ opportunityId }, opts) {
|
|
39
|
+
return oazapfts.ok(oazapfts.fetchText(`/v2/opportunities/${encodeURIComponent(opportunityId)}`, {
|
|
40
|
+
...opts,
|
|
41
|
+
method: "DELETE"
|
|
42
|
+
}));
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Get specific Hypothesis
|
|
46
|
+
*/
|
|
47
|
+
export function getById1({ hypothesisId }, opts) {
|
|
48
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v2/hypotheses/${encodeURIComponent(hypothesisId)}`, {
|
|
49
|
+
...opts
|
|
50
|
+
}));
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Update specific Hypothesis
|
|
54
|
+
*/
|
|
55
|
+
export function updateById1({ hypothesisId, updateHypothesisRequest }, opts) {
|
|
56
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v2/hypotheses/${encodeURIComponent(hypothesisId)}`, oazapfts.json({
|
|
57
|
+
...opts,
|
|
58
|
+
method: "PUT",
|
|
59
|
+
body: updateHypothesisRequest
|
|
60
|
+
})));
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Delete specific Hypothesis
|
|
64
|
+
*/
|
|
65
|
+
export function deleteById1({ hypothesisId }, opts) {
|
|
66
|
+
return oazapfts.ok(oazapfts.fetchText(`/v2/hypotheses/${encodeURIComponent(hypothesisId)}`, {
|
|
67
|
+
...opts,
|
|
68
|
+
method: "DELETE"
|
|
69
|
+
}));
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Get specific Document
|
|
73
|
+
*/
|
|
74
|
+
export function getById2({ documentId }, opts) {
|
|
75
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v2/documents/${encodeURIComponent(documentId)}`, {
|
|
76
|
+
...opts
|
|
77
|
+
}));
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Update specific Document
|
|
81
|
+
*/
|
|
82
|
+
export function updateById2({ documentId, updateDocumentRequest }, opts) {
|
|
83
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v2/documents/${encodeURIComponent(documentId)}`, oazapfts.json({
|
|
84
|
+
...opts,
|
|
85
|
+
method: "PUT",
|
|
86
|
+
body: updateDocumentRequest
|
|
87
|
+
})));
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Delete specific Document
|
|
91
|
+
*/
|
|
92
|
+
export function deleteById2({ documentId }, opts) {
|
|
93
|
+
return oazapfts.ok(oazapfts.fetchText(`/v2/documents/${encodeURIComponent(documentId)}`, {
|
|
94
|
+
...opts,
|
|
95
|
+
method: "DELETE"
|
|
96
|
+
}));
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Get all Opportunities
|
|
100
|
+
*/
|
|
101
|
+
export function getAll({ filter, page, size, sort, direction }, opts) {
|
|
102
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v2/opportunities${QS.query(QS.explode({
|
|
103
|
+
filter,
|
|
104
|
+
page,
|
|
105
|
+
size,
|
|
106
|
+
sort,
|
|
107
|
+
direction
|
|
108
|
+
}))}`, {
|
|
109
|
+
...opts
|
|
110
|
+
}));
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Create new Opportunity
|
|
114
|
+
*/
|
|
115
|
+
export function create({ createOpportunityRequest }, opts) {
|
|
116
|
+
return oazapfts.ok(oazapfts.fetchJson("/v2/opportunities", oazapfts.json({
|
|
117
|
+
...opts,
|
|
118
|
+
method: "POST",
|
|
119
|
+
body: createOpportunityRequest
|
|
120
|
+
})));
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Get all Hypotheses
|
|
124
|
+
*/
|
|
125
|
+
export function getAll1({ opportunityId }, opts) {
|
|
126
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v2/hypotheses${QS.query(QS.explode({
|
|
127
|
+
opportunityId
|
|
128
|
+
}))}`, {
|
|
129
|
+
...opts
|
|
130
|
+
}));
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Create new Hypothesis
|
|
134
|
+
*/
|
|
135
|
+
export function create1({ createHypothesisRequest }, opts) {
|
|
136
|
+
return oazapfts.ok(oazapfts.fetchJson("/v2/hypotheses", oazapfts.json({
|
|
137
|
+
...opts,
|
|
138
|
+
method: "POST",
|
|
139
|
+
body: createHypothesisRequest
|
|
140
|
+
})));
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Get all Documents by Hypothesis
|
|
144
|
+
*/
|
|
145
|
+
export function getAllByHypothesis({ hypothesisId }, opts) {
|
|
146
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v2/documents${QS.query(QS.explode({
|
|
147
|
+
hypothesisId
|
|
148
|
+
}))}`, {
|
|
149
|
+
...opts
|
|
150
|
+
}));
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Create Document
|
|
154
|
+
*/
|
|
155
|
+
export function create2({ createDocumentRequest }, opts) {
|
|
156
|
+
return oazapfts.ok(oazapfts.fetchJson("/v2/documents", oazapfts.json({
|
|
157
|
+
...opts,
|
|
158
|
+
method: "POST",
|
|
159
|
+
body: createDocumentRequest
|
|
160
|
+
})));
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Get specific Document content
|
|
164
|
+
*/
|
|
165
|
+
export function getContentById({ documentId }, opts) {
|
|
166
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v2/documents/${encodeURIComponent(documentId)}/content`, {
|
|
167
|
+
...opts
|
|
168
|
+
}));
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Get chat artifacts
|
|
172
|
+
*/
|
|
173
|
+
export function getAll2({ chatId }, opts) {
|
|
174
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v2/artifacts${QS.query(QS.explode({
|
|
175
|
+
chatId
|
|
176
|
+
}))}`, {
|
|
177
|
+
...opts
|
|
178
|
+
}));
|
|
179
|
+
}
|
|
180
|
+
//# sourceMappingURL=discover.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discover.js","sourceRoot":"","sources":["../../src/api/discover.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAC9C,MAAM,CAAC,MAAM,QAAQ,GAA8C;IAC/D,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,kDAAkD;CAC9D,CAAC;AACF,MAAM,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC5C,MAAM,CAAC,MAAM,OAAO,GAAG;IACnB,kBAAkB,EAAE,kDAAkD;CACzE,CAAC;AA8KF;;GAEG;AACH,MAAM,UAAU,OAAO,CAAC,EAAE,aAAa,EAEtC,EAAE,IAA2B;IAC1B,OAAO,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,SAAS,CAGlC,qBAAqB,kBAAkB,CAAC,aAAa,CAAC,EAAE,EAAE;QACzD,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gB,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,CAAC;QACnC,YAAY;KACf,CAAC,CAAC,EAAE,EAAE;QACH,GAAG,IAAI;KACV,CAAC,CAAC,CAAC;AACR,CAAC;AACD;;GAEG;AACH,MAAM,UAAU,OAAO,CAAC,EAAE,qBAAqB,EAE9C,EAAE,IAA2B;IAC1B,OAAO,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,SAAS,CAGlC,eAAe,EAAE,QAAQ,CAAC,IAAI,CAAC;QAC9B,GAAG,IAAI;QACP,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,qBAAqB;KAC9B,CAAC,CAAC,CAAC,CAAC;AACT,CAAC;AACD;;GAEG;AACH,MAAM,UAAU,cAAc,CAAC,EAAE,UAAU,EAE1C,EAAE,IAA2B;IAC1B,OAAO,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,SAAS,CAGlC,iBAAiB,kBAAkB,CAAC,UAAU,CAAC,UAAU,EAAE;QAC1D,GAAG,IAAI;KACV,CAAC,CAAC,CAAC;AACR,CAAC;AACD;;GAEG;AACH,MAAM,UAAU,OAAO,CAAC,EAAE,MAAM,EAE/B,EAAE,IAA2B;IAC1B,OAAO,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,SAAS,CAGlC,gBAAgB,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,CAAC;QACnC,MAAM;KACT,CAAC,CAAC,EAAE,EAAE;QACH,GAAG,IAAI;KACV,CAAC,CAAC,CAAC;AACR,CAAC"}
|
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,7 +30,7 @@ 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;
|
|
@@ -65,7 +65,7 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
65
65
|
moduleId?: string | undefined;
|
|
66
66
|
createdByEmail?: string | null | undefined;
|
|
67
67
|
reportByEmail?: string | null | undefined;
|
|
68
|
-
orderBy?:
|
|
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
69
|
orderDirection?: string | undefined;
|
|
70
70
|
tags?: string[] | null | undefined;
|
|
71
71
|
extension?: "csv" | "xlsx" | undefined;
|
|
@@ -178,6 +178,13 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
178
178
|
extension?: "csv" | "xlsx" | undefined;
|
|
179
179
|
authorization: string;
|
|
180
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>;
|
|
181
188
|
/**
|
|
182
189
|
* Validate if the user has permission.
|
|
183
190
|
* We do not use opa in this api, so this is the fn needed to check permissions.
|
|
@@ -245,7 +252,7 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
245
252
|
name?: string | null | undefined;
|
|
246
253
|
pageSize?: number | undefined;
|
|
247
254
|
page?: number | undefined;
|
|
248
|
-
orderBy?:
|
|
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;
|
|
249
256
|
orderDirection?: string | undefined;
|
|
250
257
|
integrationId?: string | undefined;
|
|
251
258
|
authorization: string;
|
|
@@ -302,7 +309,7 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
302
309
|
reportByEmail?: string | null | undefined;
|
|
303
310
|
tags?: string[] | null | undefined;
|
|
304
311
|
name?: string | null | undefined;
|
|
305
|
-
orderBy?:
|
|
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;
|
|
306
313
|
orderDirection?: string | undefined;
|
|
307
314
|
integrationId?: string | undefined;
|
|
308
315
|
extension?: "csv" | "xlsx" | undefined;
|
|
@@ -347,7 +354,7 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
347
354
|
executedBy?: string[] | null | undefined;
|
|
348
355
|
repositoryUrl?: string | null | undefined;
|
|
349
356
|
tags?: string[] | null | undefined;
|
|
350
|
-
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;
|
|
351
358
|
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
352
359
|
startDate?: string | null | undefined;
|
|
353
360
|
endDate?: string | null | undefined;
|
|
@@ -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":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AA+D7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAI5E,cAAM,SAAU,SAAQ,uBAAuB;;IAK7C,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,iBAAiB;IAIlE;;OAEG;IACH,gBAAgB;;;wEAA8E;IAC9F;;OAEG;IACH,uBAAuB;;;;wEAAmF;IAC1G;;OAEG;IACH,YAAY;;;;;;;;;;;;0HAAwE;IACpF;;OAEG;IACH,UAAU;;;sHAAuF;IACjG;;OAEG;IACH,gBAAgB;;;wEAA4F;IAC5G;;OAEG;IACH,gBAAgB;;;;wEAAyF;IACzG;;OAEG;IACH,kBAAkB;;;;;;;;;;wEAAwF;IAC1G;;OAEG;IACH,2BAA2B;;;8GAAmG;IAC9H;;OAEG;IACH,OAAO;;;;;;;kHAAuE;IAC9E;;OAEG;IACH,MAAM;;;iHAAsE;IAC5E;;OAEG;IACH,aAAa;;;uHAAkF;IAC/F;;OAEG;IACH,YAAY;;;;wEAA4E;IACxF;;OAEG;IACH,cAAc;;;wEAAwF;IACtG;;OA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;IACH,8CAA8C;;;;;;;;;wEAE7C;IACD;;OAEG;IACH,kBAAkB;;;;;;;;;;;0HAAmF;IACrG;;OAEG;IACH,0BAA0B;;;;;;;;;;wEAAmG;IAC7H;;OAEG;IACH,gCAAgC;;;;;;;;;;;;wEAE/B;IACD;;OAEG;IACH,2BAA2B;;;;;;;;;;;;mIAAoG;IAC/H;;OAEG;IACH,mCAAmC;;;;;;;;;;;wEAElC;IACD;;OAEG;IACH,eAAe;;gHAEd;IACD;;OAEG;IACH,6BAA6B;;;;;;;;;;;;;;qIAE5B;IACD;;OAEG;IACH,qCAAqC;;;;;;;;;;;;;wEAEpC;IACD;;OAEG;IACH,0BAA0B;;;;;;;;;;;;;;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, analyticsProgramGroupsDetailsV1AnalyticsProgramGroupsDetailsGet, analyticsProgramGroupsDetailsDownloadV1AnalyticsProgramGroupsDetailsDownloadGet, getModuleInputsV1ModulesModuleIdInputsGet, analyticsRepositoryDetailedReportDownloadV1AnalyticsRepositoriesDetailsDownloadGet, analyticsRepositoryDetailedReportV1AnalyticsRepositoriesDetailsGet, listRepositoryDownloadServiceV1ReposDownloadGet, listProgramGroupDownloadServiceV1ProgramGroupsDownloadGet, getModuleV1ModulesModuleIdGet, analyticsProgramGroupsTargetDetailsV1AnalyticsProgramGroupsTargetDetailsGet, analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGroupsTargetDetailsDownloadGet, } 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, searchReposScmServiceV2ReposSearchScmPost, } 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';
|
|
@@ -196,6 +196,15 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
196
196
|
writable: true,
|
|
197
197
|
value: this.mutation(removeAuthorizationParam(downloadSearchReposScmServiceV1ReposSearchScmSearchRepoIdDownloadGet))
|
|
198
198
|
});
|
|
199
|
+
/**
|
|
200
|
+
* Searches for repositories (v2)
|
|
201
|
+
*/
|
|
202
|
+
Object.defineProperty(this, "searchRepositoryV2", {
|
|
203
|
+
enumerable: true,
|
|
204
|
+
configurable: true,
|
|
205
|
+
writable: true,
|
|
206
|
+
value: this.mutation(removeAuthorizationParam(searchReposScmServiceV2ReposSearchScmPost))
|
|
207
|
+
});
|
|
199
208
|
/**
|
|
200
209
|
* Validate if the user has permission.
|
|
201
210
|
* We do not use opa in this api, so this is the fn needed to check permissions.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-shift.js","sourceRoot":"","sources":["../../src/client/code-shift.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,6FAA6F,EAC7F,6EAA6E,EAC7E,uEAAuE,EACvE,uDAAuD,EACvD,iGAAiG,EACjG,iFAAiF,EACjF,2EAA2E,EAC3E,2DAA2D,EAC3D,0DAA0D,EAC1D,0CAA0C,EAC1C,4BAA4B,EAC5B,kCAAkC,EAClC,0CAA0C,EAC1C,gCAAgC,EAChC,4CAA4C,EAC5C,uCAAuC,EACvC,kCAAkC,EAClC,QAAQ,EACR,yDAAyD,EACzD,4DAA4D,EAC5D,gDAAgD,EAChD,4CAA4C,EAC5C,0CAA0C,EAC1C,oEAAoE,EACpE,yEAAyE,EACzE,+BAA+B,EAC/B,uDAAuD,EACvD,0DAA0D,EAC1D,0DAA0D,EAC1D,6BAA6B,EAC7B,8CAA8C,EAC9C,mEAAmE,EACnE,qCAAqC,EACrC,uCAAuC,EACvC,8BAA8B,EAC9B,oEAAoE,EACpE,yCAAyC,EACzC,iDAAiD,EACjD,+BAA+B,EAC/B,wBAAwB,EACxB,wCAAwC,EACxC,sDAAsD,EACtD,6EAA6E,EAC7E,yDAAyD,EACzD,6CAA6C,EAC7C,8CAA8C,EAC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