@stack-spot/portal-network 0.194.2 → 0.195.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 +174 -0
- package/dist/api/agent-tools.d.ts +6 -0
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/agent.d.ts +55 -55
- package/dist/api/agent.d.ts.map +1 -1
- package/dist/api/ai.d.ts +189 -86
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +238 -142
- package/dist/api/ai.js.map +1 -1
- package/dist/api/cloudPlatform.d.ts +70 -129
- package/dist/api/cloudPlatform.d.ts.map +1 -1
- package/dist/api/cloudPlatform.js +79 -72
- package/dist/api/cloudPlatform.js.map +1 -1
- package/dist/api/codeShift.d.ts +315 -62
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +153 -12
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/discover.d.ts +23 -12
- package/dist/api/discover.d.ts.map +1 -1
- package/dist/api/discover.js +10 -0
- package/dist/api/discover.js.map +1 -1
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/client/account.d.ts +233 -233
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/agent-tools.d.ts +124 -124
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +10 -1
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/agent.d.ts +46 -46
- package/dist/client/agent.d.ts.map +1 -1
- package/dist/client/ai.d.ts +123 -77
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +44 -1
- package/dist/client/ai.js.map +1 -1
- package/dist/client/api-management.d.ts +2 -2
- package/dist/client/cloud-account.d.ts +13 -13
- package/dist/client/cloud-platform-horizon.d.ts +19 -19
- package/dist/client/cloud-platform.d.ts +114 -89
- package/dist/client/cloud-platform.d.ts.map +1 -1
- package/dist/client/cloud-platform.js +73 -46
- package/dist/client/cloud-platform.js.map +1 -1
- package/dist/client/cloud-runtimes.d.ts +4 -4
- package/dist/client/cloud-services.d.ts +17 -17
- package/dist/client/cloud-services.d.ts.map +1 -1
- package/dist/client/code-shift.d.ts +356 -258
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +91 -1
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/content.d.ts +127 -132
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/data-integration.d.ts +55 -55
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/discover.d.ts +15 -9
- package/dist/client/discover.d.ts.map +1 -1
- package/dist/client/discover.js +208 -0
- package/dist/client/discover.js.map +1 -1
- package/dist/client/event-bus.d.ts.map +1 -1
- package/dist/client/gen-ai-inference.d.ts +20 -20
- package/dist/client/insights.d.ts +7 -7
- package/dist/client/notification.d.ts +10 -10
- package/dist/client/runtime-manager.d.ts +8 -8
- package/dist/client/types.d.ts +14 -0
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workflow.d.ts +10 -10
- package/dist/client/workspace-ai.d.ts +48 -48
- package/dist/client/workspace-manager.d.ts +77 -77
- package/dist/client/workspace-search.d.ts +2 -2
- package/dist/client/workspace.d.ts +58 -105
- package/dist/client/workspace.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.d.ts +6 -0
- package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.js +6 -0
- package/dist/error/dictionary/cloud-platform.js.map +1 -1
- package/dist/utils/StreamedJson.d.ts.map +1 -1
- package/dist/utils/StreamedJson.js +9 -1
- package/dist/utils/StreamedJson.js.map +1 -1
- package/package.json +2 -2
- package/readme.md +2 -1
- package/src/api/account.ts +1 -0
- package/src/api/agent-tools.ts +9 -0
- package/src/api/agent.ts +2 -0
- package/src/api/ai.ts +364 -157
- package/src/api/cloudPlatform.ts +142 -216
- package/src/api/codeShift.ts +607 -69
- package/src/api/discover.ts +35 -12
- package/src/api/notification.ts +2 -0
- package/src/client/agent-tools.ts +10 -1
- package/src/client/ai.ts +37 -0
- package/src/client/cloud-platform.ts +40 -25
- package/src/client/code-shift.ts +54 -1
- package/src/client/discover.ts +220 -3
- package/src/client/types.ts +17 -2
- package/src/error/dictionary/cloud-platform.ts +6 -0
- package/src/utils/StreamedJson.tsx +9 -2
|
@@ -10,8 +10,8 @@ declare class CloudServicesClient extends ReactQueryNetworkClient {
|
|
|
10
10
|
* Gets overview of costs over the current month, last month and last 3 months.
|
|
11
11
|
*/
|
|
12
12
|
costOverview: import("../network/types.js").QueryObject<Omit<{
|
|
13
|
-
sortBy?: string
|
|
14
|
-
sortOrder?: string
|
|
13
|
+
sortBy?: string;
|
|
14
|
+
sortOrder?: string;
|
|
15
15
|
}, "sortOrder"> & {
|
|
16
16
|
sortOrder?: "asc" | "desc" | undefined;
|
|
17
17
|
}, import("../api/cloudServices.js").CostOverview>;
|
|
@@ -28,13 +28,13 @@ declare class CloudServicesClient extends ReactQueryNetworkClient {
|
|
|
28
28
|
alerts: import("../network/types.js").InfiniteQueryObject<{
|
|
29
29
|
workspace: string;
|
|
30
30
|
env: string;
|
|
31
|
-
pillar?: "SECURITY" | "COST_OPTIMIZATION" | "RELIABILITY"
|
|
32
|
-
severity?: "
|
|
33
|
-
status?: "PENDING" | "NOT_APPLICABLE" | "COMPLETED"
|
|
34
|
-
search?: string
|
|
35
|
-
sort?: ("STATUS_ASC" | "STATUS_DESC" | "POLICIES_ASC" | "POLICIES_DESC" | "PILLAR_ASC" | "PILLAR_DESC" | "SEVERITY_ASC" | "SEVERITY_DESC")[]
|
|
36
|
-
page?: number
|
|
37
|
-
pageSize?: number
|
|
31
|
+
pillar?: "SECURITY" | "COST_OPTIMIZATION" | "RELIABILITY";
|
|
32
|
+
severity?: "LOW" | "MEDIUM" | "HIGH" | "MANDATORY";
|
|
33
|
+
status?: "PENDING" | "NOT_APPLICABLE" | "COMPLETED";
|
|
34
|
+
search?: string;
|
|
35
|
+
sort?: ("STATUS_ASC" | "STATUS_DESC" | "POLICIES_ASC" | "POLICIES_DESC" | "PILLAR_ASC" | "PILLAR_DESC" | "SEVERITY_ASC" | "SEVERITY_DESC")[];
|
|
36
|
+
page?: number;
|
|
37
|
+
pageSize?: number;
|
|
38
38
|
}, import("../api/cloudServices.js").PaginatedResponseAlert, "data">;
|
|
39
39
|
/**
|
|
40
40
|
* Lists instances of a particular service resource running in a workspace.
|
|
@@ -42,8 +42,8 @@ declare class CloudServicesClient extends ReactQueryNetworkClient {
|
|
|
42
42
|
allInstancesOfResource: import("../network/types.js").QueryObject<{
|
|
43
43
|
workspaceId: string;
|
|
44
44
|
resourceId: string;
|
|
45
|
-
pageToken?: string
|
|
46
|
-
search?: string
|
|
45
|
+
pageToken?: string;
|
|
46
|
+
search?: string;
|
|
47
47
|
}, import("../api/cloudServices.js").ManagedResourceList>;
|
|
48
48
|
/**
|
|
49
49
|
* Lists all managed services.
|
|
@@ -62,16 +62,16 @@ declare class CloudServicesClient extends ReactQueryNetworkClient {
|
|
|
62
62
|
*/
|
|
63
63
|
guardRails: import("../network/types.js").QueryObject<{
|
|
64
64
|
account: string;
|
|
65
|
-
workspace?: string
|
|
66
|
-
env?: string
|
|
65
|
+
workspace?: string;
|
|
66
|
+
env?: string;
|
|
67
67
|
}, import("../api/cloudServices.js").GroupedGuardrailResponse[]>;
|
|
68
68
|
/**
|
|
69
69
|
* Enables a Guard Rail in any level
|
|
70
70
|
*/
|
|
71
71
|
enableGuardRail: import("../network/types.js").MutationObject<{
|
|
72
72
|
account: string;
|
|
73
|
-
workspace?: string
|
|
74
|
-
env?: string
|
|
73
|
+
workspace?: string;
|
|
74
|
+
env?: string;
|
|
75
75
|
enable: boolean;
|
|
76
76
|
guardrailId: string;
|
|
77
77
|
}, unknown>;
|
|
@@ -83,7 +83,7 @@ declare class CloudServicesClient extends ReactQueryNetworkClient {
|
|
|
83
83
|
* Lists the filters related to the given type.
|
|
84
84
|
*/
|
|
85
85
|
costAllocationFilters: import("../network/types.js").QueryObject<{
|
|
86
|
-
$type: "
|
|
86
|
+
$type: "SUB_ACCOUNT_ID" | "REGION";
|
|
87
87
|
}, string[]>;
|
|
88
88
|
/**
|
|
89
89
|
* Gets a CSV file with the data of `costAllocation`.
|
|
@@ -105,7 +105,7 @@ declare class CloudServicesClient extends ReactQueryNetworkClient {
|
|
|
105
105
|
*/
|
|
106
106
|
billingAccounts: import("../network/types.js").QueryObject<{
|
|
107
107
|
stackSpotAccountId: string;
|
|
108
|
-
showDeleted?: boolean
|
|
108
|
+
showDeleted?: boolean;
|
|
109
109
|
}, BillingAccountSummaryResponse[]>;
|
|
110
110
|
}
|
|
111
111
|
export declare const cloudServicesClient: CloudServicesClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloud-services.d.ts","sourceRoot":"","sources":["../../src/client/cloud-services.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EACL,6BAA6B,EAI9B,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAC5E,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,mBAAmB,EAAiD,MAAM,SAAS,CAAA;AAG3I,cAAM,mBAAoB,SAAQ,uBAAuB;;IAKvD,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,iBAAiB;IAIlE;;OAEG;IACH,YAAY
|
|
1
|
+
{"version":3,"file":"cloud-services.d.ts","sourceRoot":"","sources":["../../src/client/cloud-services.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EACL,6BAA6B,EAI9B,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,O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