@stack-spot/portal-network 0.193.0 → 0.194.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.
Files changed (68) hide show
  1. package/CHANGELOG.md +172 -0
  2. package/dist/api/account.d.ts +4 -116
  3. package/dist/api/account.d.ts.map +1 -1
  4. package/dist/api/account.js +9 -95
  5. package/dist/api/account.js.map +1 -1
  6. package/dist/api/ai.d.ts +189 -86
  7. package/dist/api/ai.d.ts.map +1 -1
  8. package/dist/api/ai.js +238 -142
  9. package/dist/api/ai.js.map +1 -1
  10. package/dist/api/cloudPlatform.d.ts +73 -126
  11. package/dist/api/cloudPlatform.d.ts.map +1 -1
  12. package/dist/api/cloudPlatform.js +82 -66
  13. package/dist/api/cloudPlatform.js.map +1 -1
  14. package/dist/api/codeShift.d.ts +214 -42
  15. package/dist/api/codeShift.d.ts.map +1 -1
  16. package/dist/api/codeShift.js +108 -10
  17. package/dist/api/codeShift.js.map +1 -1
  18. package/dist/api/discover.d.ts +23 -12
  19. package/dist/api/discover.d.ts.map +1 -1
  20. package/dist/api/discover.js +10 -0
  21. package/dist/api/discover.js.map +1 -1
  22. package/dist/client/account.d.ts +4 -0
  23. package/dist/client/account.d.ts.map +1 -1
  24. package/dist/client/account.js +10 -1
  25. package/dist/client/account.js.map +1 -1
  26. package/dist/client/ai.d.ts +46 -0
  27. package/dist/client/ai.d.ts.map +1 -1
  28. package/dist/client/ai.js +47 -2
  29. package/dist/client/ai.js.map +1 -1
  30. package/dist/client/cloud-platform.d.ts +155 -51
  31. package/dist/client/cloud-platform.d.ts.map +1 -1
  32. package/dist/client/cloud-platform.js +146 -47
  33. package/dist/client/cloud-platform.js.map +1 -1
  34. package/dist/client/code-shift.d.ts +72 -4
  35. package/dist/client/code-shift.d.ts.map +1 -1
  36. package/dist/client/code-shift.js +73 -1
  37. package/dist/client/code-shift.js.map +1 -1
  38. package/dist/client/discover.d.ts +7 -1
  39. package/dist/client/discover.d.ts.map +1 -1
  40. package/dist/client/discover.js +208 -0
  41. package/dist/client/discover.js.map +1 -1
  42. package/dist/client/types.d.ts +14 -0
  43. package/dist/client/types.d.ts.map +1 -1
  44. package/dist/error/dictionary/cloud-platform.d.ts +6 -0
  45. package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
  46. package/dist/error/dictionary/cloud-platform.js +6 -0
  47. package/dist/error/dictionary/cloud-platform.js.map +1 -1
  48. package/dist/utils/StreamedJson.d.ts.map +1 -1
  49. package/dist/utils/StreamedJson.js +9 -1
  50. package/dist/utils/StreamedJson.js.map +1 -1
  51. package/package.json +2 -2
  52. package/readme.md +2 -1
  53. package/src/api/account.ts +21 -192
  54. package/src/api/agent-tools.ts +3 -0
  55. package/src/api/agent.ts +2 -0
  56. package/src/api/ai.ts +364 -157
  57. package/src/api/cloudPlatform.ts +147 -204
  58. package/src/api/codeShift.ts +373 -47
  59. package/src/api/discover.ts +35 -12
  60. package/src/api/notification.ts +2 -0
  61. package/src/client/account.ts +5 -0
  62. package/src/client/ai.ts +42 -1
  63. package/src/client/cloud-platform.ts +84 -29
  64. package/src/client/code-shift.ts +40 -1
  65. package/src/client/discover.ts +220 -3
  66. package/src/client/types.ts +17 -2
  67. package/src/error/dictionary/cloud-platform.ts +6 -0
  68. package/src/utils/StreamedJson.tsx +9 -2
@@ -28,7 +28,7 @@ export type GetOpportunityResponse = {
28
28
  hypotheses: GetOpportunityResponseHypothesisResponse[];
29
29
  updatedBy?: string;
30
30
  updatedAt?: string;
31
- chatId?: string;
31
+ chatId: string;
32
32
  };
33
33
  export type UpdateOpportunityRequest = {
34
34
  title?: string;
@@ -42,7 +42,7 @@ export type UpdateOpportunityResponse = {
42
42
  createdAt?: string;
43
43
  updatedBy?: string;
44
44
  updatedAt?: string;
45
- chatId?: string;
45
+ chatId: string;
46
46
  };
47
47
  export type GetHypothesisResponseDocumentResponse = {
48
48
  id: string;
@@ -59,7 +59,7 @@ export type GetHypothesisResponse = {
59
59
  createdAt?: string;
60
60
  updatedBy?: string;
61
61
  updatedAt?: string;
62
- chatId?: string;
62
+ chatId: string;
63
63
  };
64
64
  export type UpdateHypothesisRequest = {
65
65
  title?: string;
@@ -74,7 +74,7 @@ export type UpdateHypothesisResponse = {
74
74
  createdAt?: string;
75
75
  updatedBy?: string;
76
76
  updatedAt?: string;
77
- chatId?: string;
77
+ chatId: string;
78
78
  };
79
79
  export type GetDocumentResponse = {
80
80
  id: string;
@@ -85,7 +85,7 @@ export type GetDocumentResponse = {
85
85
  createdAt?: string;
86
86
  updatedBy?: string;
87
87
  updatedAt?: string;
88
- chatId?: string;
88
+ chatId: string;
89
89
  };
90
90
  export type UpdateDocumentRequest = {
91
91
  title?: string;
@@ -101,7 +101,7 @@ export type UpdateDocumentResponse = {
101
101
  createdAt?: string;
102
102
  updatedBy?: string;
103
103
  updatedAt?: string;
104
- chatId?: string;
104
+ chatId: string;
105
105
  };
106
106
  export type SortResponse = {
107
107
  direction: string;
@@ -134,7 +134,7 @@ export type PageResponseGetOpportunityResponse = {
134
134
  export type CreateOpportunityRequest = {
135
135
  title?: string;
136
136
  description?: string;
137
- chatId?: string;
137
+ chatId: string;
138
138
  };
139
139
  export type CreateOpportunityResponse = {
140
140
  id: string;
@@ -144,13 +144,13 @@ export type CreateOpportunityResponse = {
144
144
  createdAt?: string;
145
145
  updatedBy?: string;
146
146
  updatedAt?: string;
147
- chatId?: string;
147
+ chatId: string;
148
148
  };
149
149
  export type CreateHypothesisRequest = {
150
150
  opportunityId?: string;
151
151
  title?: string;
152
152
  description?: string;
153
- chatId?: string;
153
+ chatId: string;
154
154
  };
155
155
  export type CreateHypothesisResponse = {
156
156
  id: string;
@@ -161,14 +161,14 @@ export type CreateHypothesisResponse = {
161
161
  createdAt?: string;
162
162
  updatedBy?: string;
163
163
  updatedAt?: string;
164
- chatId?: string;
164
+ chatId: string;
165
165
  };
166
166
  export type CreateDocumentRequest = {
167
167
  hypothesisId?: string;
168
168
  title?: string;
169
169
  description?: string;
170
170
  content?: string;
171
- chatId?: string;
171
+ chatId: string;
172
172
  };
173
173
  export type CreateDocumentResponse = {
174
174
  id: string;
@@ -179,7 +179,14 @@ export type CreateDocumentResponse = {
179
179
  createdAt?: string;
180
180
  updatedBy?: string;
181
181
  updatedAt?: string;
182
- chatId?: string;
182
+ chatId: string;
183
+ };
184
+ export type MessageRequest = {
185
+ prompt: string;
186
+ conversationId: string;
187
+ };
188
+ export type SseEmitter = {
189
+ timeout?: number;
183
190
  };
184
191
  export type GetArtifactResponse = {
185
192
  "type": "OPPORTUNITY" | "HYPOTHESIS" | "DOCUMENT";
@@ -405,6 +412,22 @@ export function create2({ createDocumentRequest }: {
405
412
  body: createDocumentRequest
406
413
  })));
407
414
  }
415
+ export function chat({ authorization, messageRequest }: {
416
+ authorization: string;
417
+ messageRequest: MessageRequest;
418
+ }, opts?: Oazapfts.RequestOpts) {
419
+ return oazapfts.ok(oazapfts.fetchJson<{
420
+ status: 200;
421
+ data: SseEmitter;
422
+ }>("/v2/ai/chat", oazapfts.json({
423
+ ...opts,
424
+ method: "POST",
425
+ body: messageRequest,
426
+ headers: oazapfts.mergeHeaders(opts?.headers, {
427
+ Authorization: authorization
428
+ })
429
+ })));
430
+ }
408
431
  /**
409
432
  * Get specific Document content
410
433
  */
@@ -332,3 +332,5 @@ export function delete1({ notificationIntentId }: {
332
332
  method: "DELETE"
333
333
  }));
334
334
  }
335
+
336
+
@@ -108,6 +108,7 @@ import {
108
108
  listScmCredentials1,
109
109
  listScmCredentials2, partialUpdateSso, personalAccessTokenAuthorization,
110
110
  personalContact,
111
+ reactivateTrialAccount,
111
112
  removeRoleFromMember,
112
113
  removeTrialAccount,
113
114
  resetOtp,
@@ -919,6 +920,10 @@ class AccountClient extends ReactQueryNetworkClient {
919
920
  * Get expiration data
920
921
  */
921
922
  getExpirationData = this.query(getPersonalAccountExpirationData)
923
+ /**
924
+ * Reactive trial account
925
+ */
926
+ reactivateTrialAccount = this.mutation(reactivateTrialAccount)
922
927
  }
923
928
 
924
929
  export const accountClient = new AccountClient()
package/src/client/ai.ts CHANGED
@@ -38,6 +38,8 @@ import {
38
38
  resetKnowledgeObjectsV1KnowledgeSourcesSlugObjectsDelete,
39
39
  runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost,
40
40
  searchKnowledgeSourcesV1KnowledgeSourcesSearchPost,
41
+ tokensByUserV1AnalyticsTokensByUserGet,
42
+ tokensDailyUsageV1AnalyticsTokensDailyUsageGet,
41
43
  updateQuickCommandV1QuickCommandsSlugPatch,
42
44
  updateTitleV1ConversationsConversationIdPatch,
43
45
  vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost,
@@ -257,6 +259,14 @@ class AIClient extends ReactQueryNetworkClient {
257
259
  * Removes the resource of type Quick Command from the list of favorites.
258
260
  */
259
261
  removeFavoriteQuickCommand = this.mutation(removeAuthorizationParam(deleteFavoriteV1QuickCommandsSlugFavoriteDelete))
262
+ /**
263
+ * Get Tokens Daily usage
264
+ */
265
+ analyticsTokensDailyUsage = this.query(removeAuthorizationParam(tokensDailyUsageV1AnalyticsTokensDailyUsageGet))
266
+ /**
267
+ * Get Tokens By User
268
+ */
269
+ analyticsTokensByUser = this.query(tokensByUserV1AnalyticsTokensByUserGet)
260
270
 
261
271
  private static async toolsOfAgent(agentId?: string) {
262
272
  try {
@@ -293,7 +303,9 @@ class AIClient extends ReactQueryNetworkClient {
293
303
  */
294
304
  async function transform(event: Partial<FixedChatResponse>, data: Partial<ChatResponseWithSteps>) {
295
305
  const info = event.agent_info
306
+
296
307
  if (!info) return
308
+
297
309
  const tools = await AIClient.toolsOfAgent(request.context?.agent_id)
298
310
  data.steps = data.steps ? [...data.steps] : []
299
311
 
@@ -349,6 +361,32 @@ class AIClient extends ReactQueryNetworkClient {
349
361
  data.steps.push({ id: 'answer', type: 'answer', status: 'pending' })
350
362
  }
351
363
 
364
+ if (info.type === 'planning' && info.action === 'awaiting_approval') {
365
+ data.steps.push({
366
+ id: 'planning',
367
+ type: 'planning',
368
+ status: 'awaiting_approval',
369
+ user_question: info.data?.user_question,
370
+ duration: info.duration || 0,
371
+ steps: info.data?.steps?.map(s => s.goal) ?? [],
372
+ goal: info.data?.plan_goal ?? '',
373
+ })
374
+ info.data?.steps.forEach(s => data.steps?.push({
375
+ id: s.id,
376
+ type: 'step',
377
+ status: 'pending',
378
+ input: s.goal,
379
+ attempts: [{
380
+ tools: s.tools?.map(t => ({
381
+ ...(tools.find(({ id }) => id === t.tool_id) ?? { id: t.tool_id, name: t.tool_id }),
382
+ executionId: t.tool_execution_id,
383
+ goal: t.goal,
384
+ })),
385
+ }],
386
+ }))
387
+ data.steps.push({ id: 'answer', type: 'answer', status: 'pending' })
388
+ }
389
+
352
390
  if (info.type === 'step' && info.action === 'start') {
353
391
  const step = data.steps.find(s => s.id === info.id)
354
392
  if (step) step.status = 'running'
@@ -415,6 +453,7 @@ class AIClient extends ReactQueryNetworkClient {
415
453
  const tool = tools?.find(({ id }) => id === info.data?.tool_id) ?? { id: info.data?.tool_id, name: info.data?.tool_id }
416
454
  currentStep.attempts[info.data.attempt-1].tools?.push({
417
455
  ...tool,
456
+ executionId: info.id,
418
457
  input,
419
458
  })
420
459
  } else {
@@ -426,6 +465,7 @@ class AIClient extends ReactQueryNetworkClient {
426
465
  currentStep.attempts[info.data.attempt-1] ??= { tools: [] }
427
466
  currentStep.attempts[info.data.attempt-1].tools?.push({
428
467
  ...tool,
468
+ executionId: info.id,
429
469
  input,
430
470
  })
431
471
  }
@@ -448,7 +488,7 @@ class AIClient extends ReactQueryNetworkClient {
448
488
  if (answerStep) answerStep.status = 'running'
449
489
  }
450
490
 
451
- if (info.type === 'final_answer' && info.action === 'end') {
491
+ if (info.type === 'chat' && info.action === 'end') {
452
492
  const answerStep = last(data.steps)
453
493
  if (answerStep) {
454
494
  answerStep.status = 'success'
@@ -475,3 +515,4 @@ class AIClient extends ReactQueryNetworkClient {
475
515
  }
476
516
 
477
517
  export const aiClient = new AIClient()
518
+
@@ -1,22 +1,28 @@
1
1
  import { HttpError } from '@oazapfts/runtime'
2
2
  import {
3
- acceptNetworkConnection,
4
3
  createCertificate,
5
4
  createCidr,
6
5
  createDnsRecord,
7
6
  createDnsZone,
8
7
  createFolder,
9
8
  createFoundation,
10
- createInbound,
11
9
  createNetwork,
12
- createNetworkConnection,
13
10
  createProject,
14
11
  createRuntime,
15
12
  createTenant,
16
13
  createVpn,
17
14
  defaults,
15
+ deleteCertificate,
16
+ deleteCidr,
17
+ deleteDnsRecord,
18
+ deleteDnsZone,
19
+ deleteFolder,
20
+ deleteNetwork,
21
+ deleteProject,
22
+ deleteVpn,
18
23
  getCertificate,
19
24
  getFolder,
25
+ getFolderTags,
20
26
  getFoundation,
21
27
  getNetwork,
22
28
  getProject,
@@ -26,13 +32,18 @@ import {
26
32
  listDnsRecord,
27
33
  listDnsZone,
28
34
  listFoundations,
29
- listInbound,
30
35
  listNetwork,
31
- listNetworkConnection,
32
36
  listRuntime,
33
37
  listTenant,
34
38
  listVpns,
35
39
  providers,
40
+ putCertificateTags,
41
+ putCidrTags,
42
+ putDnsZoneTags,
43
+ putFolderTags,
44
+ putNetworkTags,
45
+ putProjectTags,
46
+ putVpnTags,
36
47
  } from '../api/cloudPlatform'
37
48
  import { DefaultAPIError } from '../error/DefaultAPIError'
38
49
  import { StackspotAPIError } from '../error/StackspotAPIError'
@@ -125,26 +136,6 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
125
136
  * Create a network
126
137
  */
127
138
  createNetwork = this.mutation(removeAuthorizationParam(createNetwork))
128
- /**
129
- * Get a list of inbounds
130
- */
131
- listInbounds = this.query(removeAuthorizationParam(listInbound))
132
- /**
133
- * Create a inbound
134
- */
135
- createInbound = this.mutation(removeAuthorizationParam(createInbound))
136
- /**
137
- * Add a network connection
138
- */
139
- addNetworkConnection = this.mutation(removeAuthorizationParam(createNetworkConnection))
140
- /**
141
- * Get a network connection request
142
- */
143
- getNetworkConnections = this.query(removeAuthorizationParam(listNetworkConnection))
144
- /**
145
- * Accept a network connection
146
- */
147
- acceptNetworkConnection = this.mutation(removeAuthorizationParam(acceptNetworkConnection))
148
139
  /**
149
140
  * Get a list of vpn's
150
141
  */
@@ -170,13 +161,77 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
170
161
  */
171
162
  createTenant = this.mutation(removeAuthorizationParam(createTenant))
172
163
  /**
173
- * Get a list of runtimes
174
- */
164
+ * Get a list of runtimes
165
+ */
175
166
  listRuntimes = this.query(removeAuthorizationParam(listRuntime))
176
167
  /**
177
- * Create a runtime
178
- */
168
+ * Create a runtime
169
+ */
179
170
  createRuntime = this.mutation(removeAuthorizationParam(createRuntime))
171
+ /**
172
+ * Get a list of tags in folder
173
+ */
174
+ getFolderTags = this.query(removeAuthorizationParam(getFolderTags))
175
+ /**
176
+ * Update folder tags
177
+ */
178
+ updateFolderTags = this.mutation(removeAuthorizationParam(putFolderTags))
179
+ /**
180
+ * Update project tags
181
+ */
182
+ updateProjectTags = this.mutation(removeAuthorizationParam(putProjectTags))
183
+ /**
184
+ * Update network tags
185
+ */
186
+ updateNetworkTags = this.mutation(removeAuthorizationParam(putNetworkTags))
187
+ /**
188
+ * Update cidr tags
189
+ */
190
+ updateCidrTags = this.mutation(removeAuthorizationParam(putCidrTags))
191
+ /**
192
+ * Update dns zone tags
193
+ */
194
+ updateDnsZoneTags = this.mutation(removeAuthorizationParam(putDnsZoneTags))
195
+ /**
196
+ * Update certificate tags
197
+ */
198
+ updateCertificateTags = this.mutation(removeAuthorizationParam(putCertificateTags))
199
+ /**
200
+ * Update vpn tags
201
+ */
202
+ updateVpnTags = this.mutation(removeAuthorizationParam(putVpnTags))
203
+ /**
204
+ * Delete a folder
205
+ */
206
+ deleteFolder = this.mutation(removeAuthorizationParam(deleteFolder))
207
+ /**
208
+ * Delete a project
209
+ */
210
+ deleteProject = this.mutation(removeAuthorizationParam(deleteProject))
211
+ /**
212
+ * Delete a network
213
+ */
214
+ deleteNetwork = this.mutation(removeAuthorizationParam(deleteNetwork))
215
+ /**
216
+ * Delete a certificate
217
+ */
218
+ deleteCertificate = this.mutation(removeAuthorizationParam(deleteCertificate))
219
+ /**
220
+ * Delete a dns zone
221
+ */
222
+ deleteDnsZone = this.mutation(removeAuthorizationParam(deleteDnsZone))
223
+ /**
224
+ * Delete a dns record
225
+ */
226
+ deleteDnsRecord = this.mutation(removeAuthorizationParam(deleteDnsRecord))
227
+ /**
228
+ * Delete a VPN
229
+ */
230
+ deleteVPN = this.mutation(removeAuthorizationParam(deleteVpn))
231
+ /**
232
+ * Delete a CIDR
233
+ */
234
+ deleteCidr = this.mutation(removeAuthorizationParam(deleteCidr))
180
235
  }
181
236
 
182
237
  export const cloudPlatformClient = new CloudPlatformClient()
@@ -58,14 +58,21 @@ import {
58
58
  getModuleV1ModulesModuleIdGet,
59
59
  analyticsProgramGroupsTargetDetailsV1AnalyticsProgramGroupsTargetDetailsGet,
60
60
  analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGroupsTargetDetailsDownloadGet,
61
+ putCustomerRatingReportV1ReportsReportIdCustomerRatingPut,
61
62
  searchReposScmServiceV2ReposSearchScmPost,
62
63
  importReposWithTagsScmServiceV2ReposSearchScmSearchIdPost,
63
64
  searchReposScmV2V2ReposSearchScmSearchIdGet,
64
65
  analyticsRepositoryTargetDetailsV1AnalyticsRepositoriesTargetDetailsGet,
65
66
  analyticsRepositoryTargetDetailsDownloadV1AnalyticsRepositoriesTargetDetailsDownloadGet,
66
- putCustomerRatingReportV1ReportsReportIdCustomerRatingPut,
67
67
  updateModuleServiceV1ModulesModuleIdPut,
68
68
  downloadSearchReposScmV2V2ReposSearchScmSearchIdDownloadGet,
69
+ moduleFavoriteServiceAddV1ModulesModuleIdFavoritesPost,
70
+ moduleFavoriteServiceDeleteV1ModulesModuleIdFavoritesDelete,
71
+ patHealthCheckV1ScmPatHealthCheckGet,
72
+ createReposBatchServiceV2ReposBatchPost,
73
+ getImportResultV2ReposBatchImportIdGet,
74
+ getModuleDocsV1ModulesModuleIdDocsGet,
75
+ downloadImportResultV2ReposBatchImportIdDownloadGet,
69
76
  } from '../api/codeShift'
70
77
  import { DefaultAPIError } from '../error/DefaultAPIError'
71
78
  import { codeShiftDictionary } from '../error/dictionary/code-shift'
@@ -91,6 +98,18 @@ class CodeShift extends ReactQueryNetworkClient {
91
98
  * Creates repositories in batch.
92
99
  */
93
100
  createRepositoriesBatch = this.mutation(removeAuthorizationParam(createReposBatchServiceV1ReposBatchPost))
101
+ /**
102
+ * Imports repositories in batch.
103
+ */
104
+ createRepositoriesBatchV2 = this.mutation(removeAuthorizationParam(createReposBatchServiceV2ReposBatchPost))
105
+ /**
106
+ * Gets the status of a batch import.
107
+ */
108
+ getImportBatchResultsV2 = this.query(removeAuthorizationParam(getImportResultV2ReposBatchImportIdGet))
109
+ /**
110
+ * Downloads the import result for a batch.
111
+ */
112
+ downloadImportBatchResultsV2 = this.query(removeAuthorizationParam(downloadImportResultV2ReposBatchImportIdDownloadGet))
94
113
  /**
95
114
  * Gets list of repositories.
96
115
  */
@@ -123,6 +142,14 @@ class CodeShift extends ReactQueryNetworkClient {
123
142
  * Gets module by id.
124
143
  */
125
144
  module = this.query(removeAuthorizationParam(getModuleV1ModulesModuleIdGet))
145
+ /**
146
+ * Add a module in favorites.
147
+ */
148
+ addFavoriteModule = this.mutation(removeAuthorizationParam(moduleFavoriteServiceAddV1ModulesModuleIdFavoritesPost))
149
+ /**
150
+ * Remove a module from favorites.
151
+ */
152
+ removeFavoriteModule = this.mutation(removeAuthorizationParam(moduleFavoriteServiceDeleteV1ModulesModuleIdFavoritesDelete))
126
153
  /**
127
154
  * Gets module inputs.
128
155
  */
@@ -135,10 +162,18 @@ class CodeShift extends ReactQueryNetworkClient {
135
162
  * Updates a module.
136
163
  */
137
164
  updateModule = this.mutation(removeAuthorizationParam(updateModuleServiceV1ModulesModuleIdPut))
165
+ /**
166
+ * Adds a module to favorites.
167
+ */
168
+ addModuleToFavorites = this.mutation(removeAuthorizationParam(moduleFavoriteServiceAddV1ModulesModuleIdFavoritesPost))
138
169
  /**
139
170
  * Generates a report.
140
171
  */
141
172
  generateReport = this.mutation(removeAuthorizationParam(dispatchModuleServiceV1ModulesDispatchesPost))
173
+ /**
174
+ * Gets module docs.
175
+ */
176
+ moduleDocs = this.query(removeAuthorizationParam(getModuleDocsV1ModulesModuleIdDocsGet))
142
177
  /**
143
178
  * Gets repository reports.
144
179
  */
@@ -263,6 +298,10 @@ class CodeShift extends ReactQueryNetworkClient {
263
298
  * Validates a SCM URL.
264
299
  */
265
300
  validateSCMUrl = this.mutation(removeAuthorizationParam(validateScmUrlServiceV1ReposValidateScmUrlPost))
301
+ /**
302
+ * PAT Health Check
303
+ */
304
+ checkScmPatHealth = this.query(removeAuthorizationParam(patHealthCheckV1ScmPatHealthCheckGet))
266
305
  /**
267
306
  * Get Branches for a Repository
268
307
  */