@stack-spot/portal-network 0.177.1-beta.1 → 0.177.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 +0 -252
- package/dist/api/agent-tools.d.ts +6 -33
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +6 -19
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/codeShift.d.ts +10 -126
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +0 -84
- package/dist/api/codeShift.js.map +1 -1
- package/dist/apis-itau.json +2 -2
- package/dist/client/agent-tools.d.ts +6 -3
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +3 -3
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/code-shift.d.ts +4 -61
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +1 -46
- package/dist/client/code-shift.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +1 -1
- package/src/api/account.ts +0 -1
- package/src/api/agent-tools.ts +11 -57
- package/src/api/agent.ts +0 -2
- package/src/api/codeShift.ts +10 -293
- package/src/api/notification.ts +0 -2
- package/src/apis-itau.json +2 -2
- package/src/client/agent-tools.ts +3 -3
- package/src/client/ai.ts +0 -1
- package/src/client/code-shift.ts +0 -29
|
@@ -31,7 +31,7 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
31
31
|
createdByEmail?: string | null | undefined;
|
|
32
32
|
reportByEmail?: string | null | undefined;
|
|
33
33
|
orderBy?: "repository.url" | "repository.created_at" | "repository.updated_at" | "report.issues_count" | "report.total_files_count" | "report.analyzed_files_count" | "report.issues_files_count" | "report.created_at" | "report.updated_at" | "execution.status" | undefined;
|
|
34
|
-
orderDirection?:
|
|
34
|
+
orderDirection?: string | undefined;
|
|
35
35
|
tags?: string[] | null | undefined;
|
|
36
36
|
authorization: string;
|
|
37
37
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").ListRepositoryResponseRead>;
|
|
@@ -66,7 +66,7 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
66
66
|
createdByEmail?: string | null | undefined;
|
|
67
67
|
reportByEmail?: string | null | undefined;
|
|
68
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?:
|
|
69
|
+
orderDirection?: string | undefined;
|
|
70
70
|
tags?: string[] | null | undefined;
|
|
71
71
|
extension?: "csv" | "xlsx" | undefined;
|
|
72
72
|
authorization: string;
|
|
@@ -178,28 +178,6 @@ 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"> & {}, import("../api/codeShift.js").SearchReposInScmResponse>;
|
|
188
|
-
/**
|
|
189
|
-
* Imports repositories (v2)
|
|
190
|
-
*/
|
|
191
|
-
importRepositories: import("../network/types.js").MutationObject<Omit<{
|
|
192
|
-
searchId: string;
|
|
193
|
-
authorization: string;
|
|
194
|
-
importReposScmWithTagsRequest: import("../api/codeShift.js").ImportReposScmWithTagsRequest;
|
|
195
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").SearchReposInScmResponse>;
|
|
196
|
-
/**
|
|
197
|
-
* Gets repositories search by id (v2)
|
|
198
|
-
*/
|
|
199
|
-
getRepositoriesBySearchId: import("../network/types.js").QueryObject<Omit<{
|
|
200
|
-
searchId: string;
|
|
201
|
-
authorization: string;
|
|
202
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").ResponseSearchRepoByIdResponseRead>;
|
|
203
181
|
/**
|
|
204
182
|
* Validate if the user has permission.
|
|
205
183
|
* We do not use opa in this api, so this is the fn needed to check permissions.
|
|
@@ -268,7 +246,7 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
268
246
|
pageSize?: number | undefined;
|
|
269
247
|
page?: number | undefined;
|
|
270
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;
|
|
271
|
-
orderDirection?:
|
|
249
|
+
orderDirection?: string | undefined;
|
|
272
250
|
integrationId?: string | undefined;
|
|
273
251
|
authorization: string;
|
|
274
252
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").ListProgramGroupResponseRead>;
|
|
@@ -325,7 +303,7 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
325
303
|
tags?: string[] | null | undefined;
|
|
326
304
|
name?: string | null | undefined;
|
|
327
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;
|
|
328
|
-
orderDirection?:
|
|
306
|
+
orderDirection?: string | undefined;
|
|
329
307
|
integrationId?: string | undefined;
|
|
330
308
|
extension?: "csv" | "xlsx" | undefined;
|
|
331
309
|
authorization: string;
|
|
@@ -626,41 +604,6 @@ declare class CodeShift extends ReactQueryNetworkClient {
|
|
|
626
604
|
extension?: "csv" | "xlsx" | undefined;
|
|
627
605
|
authorization: string;
|
|
628
606
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
629
|
-
/**
|
|
630
|
-
* Analytics Repository Target Details
|
|
631
|
-
*/
|
|
632
|
-
analyticsRepositoryTargetDetails: import("../network/types.js").QueryObject<Omit<{
|
|
633
|
-
pageSize?: number | undefined;
|
|
634
|
-
page?: number | undefined;
|
|
635
|
-
repositoryUrl?: string | null | undefined;
|
|
636
|
-
targetName?: string | null | undefined;
|
|
637
|
-
tags?: string[] | null | undefined;
|
|
638
|
-
mode?: "scan" | "fix" | null | undefined;
|
|
639
|
-
moduleId?: string[] | null | undefined;
|
|
640
|
-
reportCreatedById?: string[] | null | undefined;
|
|
641
|
-
startDate?: string | undefined;
|
|
642
|
-
endDate?: string | undefined;
|
|
643
|
-
orderBy?: "repositoryUrl" | "moduleName" | "reportCreatedAt" | "issuesCount" | "sourceBranch" | "targetName" | "targetPath" | null | undefined;
|
|
644
|
-
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
645
|
-
authorization: string;
|
|
646
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/codeShift.js").AnalyticsRepositoryTargetDetailsResponse>;
|
|
647
|
-
/**
|
|
648
|
-
* Analytics Repository Target Details Download
|
|
649
|
-
*/
|
|
650
|
-
analyticsRepositoryTargetDetailsDownload: import("../network/types.js").QueryObject<Omit<{
|
|
651
|
-
repositoryUrl?: string | null | undefined;
|
|
652
|
-
targetName?: string | null | undefined;
|
|
653
|
-
tags?: string[] | null | undefined;
|
|
654
|
-
mode?: "scan" | "fix" | null | undefined;
|
|
655
|
-
moduleId?: string[] | null | undefined;
|
|
656
|
-
reportCreatedById?: string[] | null | undefined;
|
|
657
|
-
startDate?: string | undefined;
|
|
658
|
-
endDate?: string | undefined;
|
|
659
|
-
orderBy?: "repositoryUrl" | "moduleName" | "reportCreatedAt" | "issuesCount" | "sourceBranch" | "targetName" | "targetPath" | null | undefined;
|
|
660
|
-
orderDirection?: "ASC" | "DESC" | null | undefined;
|
|
661
|
-
extension?: "csv" | "xlsx" | undefined;
|
|
662
|
-
authorization: string;
|
|
663
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, any>;
|
|
664
607
|
}
|
|
665
608
|
export declare const codeShiftClient: CodeShift;
|
|
666
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
|
+
{"version":3,"file":"code-shift.d.ts","sourceRoot":"","sources":["../../src/client/code-shift.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AA8D7C,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;;OAEG;IACH,iBAAiB;;;;;;gIAA0F;IAC3G;;OAEG;IACH,MAAM;;;qHAAsE;IAC5E;;OA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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,
|
|
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';
|
|
@@ -196,33 +196,6 @@ 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
|
-
});
|
|
208
|
-
/**
|
|
209
|
-
* Imports repositories (v2)
|
|
210
|
-
*/
|
|
211
|
-
Object.defineProperty(this, "importRepositories", {
|
|
212
|
-
enumerable: true,
|
|
213
|
-
configurable: true,
|
|
214
|
-
writable: true,
|
|
215
|
-
value: this.mutation(removeAuthorizationParam(importReposWithTagsScmServiceV2ReposSearchScmSearchIdPost))
|
|
216
|
-
});
|
|
217
|
-
/**
|
|
218
|
-
* Gets repositories search by id (v2)
|
|
219
|
-
*/
|
|
220
|
-
Object.defineProperty(this, "getRepositoriesBySearchId", {
|
|
221
|
-
enumerable: true,
|
|
222
|
-
configurable: true,
|
|
223
|
-
writable: true,
|
|
224
|
-
value: this.query(removeAuthorizationParam(searchReposScmV2V2ReposSearchScmSearchIdGet))
|
|
225
|
-
});
|
|
226
199
|
/**
|
|
227
200
|
* Validate if the user has permission.
|
|
228
201
|
* We do not use opa in this api, so this is the fn needed to check permissions.
|
|
@@ -539,24 +512,6 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
539
512
|
writable: true,
|
|
540
513
|
value: this.query(removeAuthorizationParam(analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGroupsTargetDetailsDownloadGet))
|
|
541
514
|
});
|
|
542
|
-
/**
|
|
543
|
-
* Analytics Repository Target Details
|
|
544
|
-
*/
|
|
545
|
-
Object.defineProperty(this, "analyticsRepositoryTargetDetails", {
|
|
546
|
-
enumerable: true,
|
|
547
|
-
configurable: true,
|
|
548
|
-
writable: true,
|
|
549
|
-
value: this.query(removeAuthorizationParam(analyticsRepositoryTargetDetailsV1AnalyticsRepositoriesTargetDetailsGet))
|
|
550
|
-
});
|
|
551
|
-
/**
|
|
552
|
-
* Analytics Repository Target Details Download
|
|
553
|
-
*/
|
|
554
|
-
Object.defineProperty(this, "analyticsRepositoryTargetDetailsDownload", {
|
|
555
|
-
enumerable: true,
|
|
556
|
-
configurable: true,
|
|
557
|
-
writable: true,
|
|
558
|
-
value: this.query(removeAuthorizationParam(analyticsRepositoryTargetDetailsDownloadV1AnalyticsRepositoriesTargetDetailsDownloadGet))
|
|
559
|
-
});
|
|
560
515
|
}
|
|
561
516
|
buildStackSpotError(error) {
|
|
562
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":"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,EAC9C,yBAAyB,EACzB,+DAA+D,EAC/D,+EAA+E,EAC/E,yCAAyC,EACzC,kFAAkF,EACl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AAI,CAAC,KAAK,CAC1B,wBAAwB,CAAC,yBAAyB,CAAC,CACpD;WAAA;QACD;;WAEG;QACH;;;;mBAAgC,IAAI,CAAC,KAAK,CACxC,wBAAwB,CAAC,+DAA+D,CAAC,CAC1F;WAAA;QACD;;WAEG;QACH;;;;mBAAwC,IAAI,CAAC,KAAK,CAChD,wBAAwB,CAAC,+EAA+E,CAAC,CAC1G;WAAA;QACD;;WAEG;QACH;;;;mBAA6B,IAAI,CAAC,KAAK,CACrC,wBAAwB,CAAC,kEAAkE,CAAC,CAC7F;WAAA;QACD;;UAEE;QACF;;;;mBAAqC,IAAI,CAAC,KAAK,CAC7C,wBAAwB,CAAC,kFAAkF,CAAC,CAC7G;WAAA;QACD;;WAEG;QACH;;;;mBAAsC,IAAI,CAAC,KAAK,CAC9C,wBAAwB,CAAC,2EAA2E,CAAC,CACtG;WAAA;QACD;;WAEG;QACH;;;;mBAA8C,IAAI,CAAC,KAAK,CACtD,wBAAwB,CAAC,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"}
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
# Network
|
|
1
|
+
# Network
|
package/src/api/account.ts
CHANGED
package/src/api/agent-tools.ts
CHANGED
|
@@ -336,18 +336,6 @@ export type AgentToolExecutionResponse = {
|
|
|
336
336
|
result: string;
|
|
337
337
|
};
|
|
338
338
|
export type AgentVisibilityLevelEnum = "built_in" | "recently_used";
|
|
339
|
-
export type ListAgentRequest = {
|
|
340
|
-
/** Agent name to filter the list */
|
|
341
|
-
name?: string | null;
|
|
342
|
-
/** Agent slug to filter the list */
|
|
343
|
-
slug?: string | null;
|
|
344
|
-
/** Agent visibility to filter the list */
|
|
345
|
-
visibility?: AgentVisibilityLevelEnum | VisibilityLevelEnum;
|
|
346
|
-
/** Paginated param to configure page size */
|
|
347
|
-
size?: number;
|
|
348
|
-
/** Paginated param to configure which page is being requested */
|
|
349
|
-
page?: number;
|
|
350
|
-
};
|
|
351
339
|
export type KnowledgeSourcesConfig = {
|
|
352
340
|
knowledge_sources: string[];
|
|
353
341
|
max_number_of_kos?: number;
|
|
@@ -365,7 +353,6 @@ export type ListAgentResponse = {
|
|
|
365
353
|
avatar: string | null;
|
|
366
354
|
suggested_prompts: string[] | null;
|
|
367
355
|
knowledge_sources_config: KnowledgeSourcesConfig;
|
|
368
|
-
has_multiagent_tool?: boolean;
|
|
369
356
|
"type"?: string;
|
|
370
357
|
system_prompt?: string;
|
|
371
358
|
creator_name?: string;
|
|
@@ -380,7 +367,6 @@ export type KnowledgeSourcesConfigRequest = {
|
|
|
380
367
|
knowledge_sources?: string[] | null;
|
|
381
368
|
sealed?: boolean | null;
|
|
382
369
|
};
|
|
383
|
-
export type AgentMode = "autonomous" | "plan_approval" | "plan_and_critical_approval";
|
|
384
370
|
export type NewAgentRequest = {
|
|
385
371
|
/** LLM model name */
|
|
386
372
|
model_name?: string | null;
|
|
@@ -410,8 +396,6 @@ export type NewAgentRequest = {
|
|
|
410
396
|
llm_settings?: {
|
|
411
397
|
[key: string]: any;
|
|
412
398
|
} | null;
|
|
413
|
-
/** Agent mode */
|
|
414
|
-
mode?: AgentMode;
|
|
415
399
|
};
|
|
416
400
|
export type SearchAgentsRequest = {
|
|
417
401
|
/** Agent ids to filter for */
|
|
@@ -548,7 +532,6 @@ export type AgentModel = {
|
|
|
548
532
|
conversation_starter?: string[] | null;
|
|
549
533
|
use_only: boolean;
|
|
550
534
|
detail_mode: boolean;
|
|
551
|
-
mode: AgentMode;
|
|
552
535
|
structured_output?: {
|
|
553
536
|
[key: string]: any;
|
|
554
537
|
} | null;
|
|
@@ -593,8 +576,6 @@ export type UpdateAgentRequest = {
|
|
|
593
576
|
llm_settings?: {
|
|
594
577
|
[key: string]: any;
|
|
595
578
|
} | null;
|
|
596
|
-
/** Agent mode */
|
|
597
|
-
mode?: AgentMode | null;
|
|
598
579
|
};
|
|
599
580
|
export type ForkAgentRequest = {
|
|
600
581
|
/** Agent slug to fork */
|
|
@@ -1316,9 +1297,12 @@ export function executeToolV1AgentsToolsAgentToolIdExecutePost({ agentToolId, is
|
|
|
1316
1297
|
/**
|
|
1317
1298
|
* List Agents
|
|
1318
1299
|
*/
|
|
1319
|
-
export function listAgentsV1AgentsGet({
|
|
1320
|
-
|
|
1321
|
-
|
|
1300
|
+
export function listAgentsV1AgentsGet({ name, slug, visibility, size, page, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1301
|
+
name?: string | null;
|
|
1302
|
+
slug?: string | null;
|
|
1303
|
+
visibility?: AgentVisibilityLevelEnum | VisibilityLevelEnum;
|
|
1304
|
+
size?: number;
|
|
1305
|
+
page?: number;
|
|
1322
1306
|
xAccountId?: string | null;
|
|
1323
1307
|
xUsername?: string | null;
|
|
1324
1308
|
xUserId?: string | null;
|
|
@@ -1334,8 +1318,11 @@ export function listAgentsV1AgentsGet({ request, isPublic, xAccountId, xUsername
|
|
|
1334
1318
|
status: 422;
|
|
1335
1319
|
data: HttpValidationError;
|
|
1336
1320
|
}>(`/v1/agents${QS.query(QS.explode({
|
|
1337
|
-
|
|
1338
|
-
|
|
1321
|
+
name,
|
|
1322
|
+
slug,
|
|
1323
|
+
visibility,
|
|
1324
|
+
size,
|
|
1325
|
+
page
|
|
1339
1326
|
}))}`, {
|
|
1340
1327
|
...opts,
|
|
1341
1328
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
@@ -1900,36 +1887,6 @@ export function getAgentByKsIdV1AgentsKnowledgeSourceKsIdGet({ ksId, xAccountId,
|
|
|
1900
1887
|
})
|
|
1901
1888
|
}));
|
|
1902
1889
|
}
|
|
1903
|
-
/**
|
|
1904
|
-
* Migrate Agent Avatar By Id
|
|
1905
|
-
*/
|
|
1906
|
-
export function migrateAgentAvatarByIdV1AgentsAgentIdMigrateAvatarPost({ agentId, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1907
|
-
agentId: string;
|
|
1908
|
-
xAccountId?: string | null;
|
|
1909
|
-
xUsername?: string | null;
|
|
1910
|
-
xUserId?: string | null;
|
|
1911
|
-
xUserFullName?: string | null;
|
|
1912
|
-
authorization: string;
|
|
1913
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
1914
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1915
|
-
status: 204;
|
|
1916
|
-
} | {
|
|
1917
|
-
status: 404;
|
|
1918
|
-
} | {
|
|
1919
|
-
status: 422;
|
|
1920
|
-
data: HttpValidationError;
|
|
1921
|
-
}>(`/v1/agents/${encodeURIComponent(agentId)}/migrate-avatar`, {
|
|
1922
|
-
...opts,
|
|
1923
|
-
method: "POST",
|
|
1924
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1925
|
-
"x-account-id": xAccountId,
|
|
1926
|
-
"x-username": xUsername,
|
|
1927
|
-
"x-user-id": xUserId,
|
|
1928
|
-
"x-user-full-name": xUserFullName,
|
|
1929
|
-
authorization
|
|
1930
|
-
})
|
|
1931
|
-
}));
|
|
1932
|
-
}
|
|
1933
1890
|
/**
|
|
1934
1891
|
* List Agents
|
|
1935
1892
|
*/
|
|
@@ -2097,6 +2054,3 @@ export function internalForkToolkitsByIdsV1SpotToolkitsForkPost({ xAccountId, xU
|
|
|
2097
2054
|
})
|
|
2098
2055
|
})));
|
|
2099
2056
|
}
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|