@stack-spot/portal-network 0.229.0 → 0.229.2
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 +16 -0
- package/dist/api/account.d.ts +331 -5
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +167 -5
- package/dist/api/account.js.map +1 -1
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/api-addresses.js +0 -1
- package/dist/api-addresses.js.map +1 -1
- package/dist/apis-itau.json +0 -8
- package/dist/apis.json +0 -8
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +6 -6
- package/dist/client/types.d.ts +0 -48
- package/dist/client/types.d.ts.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/api/account.ts +590 -5
- package/src/api-addresses.ts +0 -1
- package/src/apis-itau.json +0 -8
- package/src/apis.json +0 -8
- package/src/client/account.ts +10 -10
- package/src/client/types.ts +9 -66
- package/src/index.ts +0 -1
- package/dist/api/cloudServices.d.ts +0 -614
- package/dist/api/cloudServices.d.ts.map +0 -1
- package/dist/api/cloudServices.js +0 -355
- package/dist/api/cloudServices.js.map +0 -1
- package/dist/client/cloud-services.d.ts +0 -113
- package/dist/client/cloud-services.d.ts.map +0 -1
- package/dist/client/cloud-services.js +0 -146
- package/dist/client/cloud-services.js.map +0 -1
- package/src/api/cloudServices.ts +0 -1445
- package/src/client/cloud-services.ts +0 -94
package/src/apis-itau.json
CHANGED
|
@@ -87,14 +87,6 @@
|
|
|
87
87
|
},
|
|
88
88
|
"docs": "/v3/api-docs"
|
|
89
89
|
},
|
|
90
|
-
"cloudServices": {
|
|
91
|
-
"url": {
|
|
92
|
-
"dev": "https://cloud-services-cloud-services-api.dev.stackspot.com",
|
|
93
|
-
"stg": "https://cloud-services-cloud-services-api.stg.stackspot.com",
|
|
94
|
-
"prd": "https://cloud-services-api.stackspot.com"
|
|
95
|
-
},
|
|
96
|
-
"docs": "/v3/api-docs"
|
|
97
|
-
},
|
|
98
90
|
"cloudAccount": {
|
|
99
91
|
"url": {
|
|
100
92
|
"dev": "https://account-account-external-connections-api.dev.stackspot.com",
|
package/src/apis.json
CHANGED
|
@@ -87,14 +87,6 @@
|
|
|
87
87
|
},
|
|
88
88
|
"docs": "/v3/api-docs"
|
|
89
89
|
},
|
|
90
|
-
"cloudServices": {
|
|
91
|
-
"url": {
|
|
92
|
-
"dev": "https://cloud-services-cloud-services-api.dev.stackspot.com",
|
|
93
|
-
"stg": "https://cloud-services-cloud-services-api.stg.stackspot.com",
|
|
94
|
-
"prd": "https://cloud-services-api.stackspot.com"
|
|
95
|
-
},
|
|
96
|
-
"docs": "/v3/api-docs"
|
|
97
|
-
},
|
|
98
90
|
"cloudAccount": {
|
|
99
91
|
"url": {
|
|
100
92
|
"dev": "https://account-account-external-connections-api.dev.stackspot.com",
|
package/src/client/account.ts
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
cancelSecretDelete,
|
|
15
15
|
create,
|
|
16
16
|
create1,
|
|
17
|
-
|
|
17
|
+
create3,
|
|
18
18
|
createAccountRole, createExtension, createExtensionLink,
|
|
19
19
|
createExtensionVersion, createFidoMagicLink, createGroupMapping,
|
|
20
20
|
createPartner,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
createUser,
|
|
27
27
|
deactivateFidoCredentials,
|
|
28
28
|
defaults,
|
|
29
|
-
|
|
29
|
+
delete2,
|
|
30
30
|
deleteAccountRole,
|
|
31
31
|
deleteExtension,
|
|
32
32
|
deleteExtensionLink,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
getAllMemberFidoCredentials,
|
|
60
60
|
getAllServiceCredentialRateLimit,
|
|
61
61
|
getById,
|
|
62
|
-
|
|
62
|
+
getById3,
|
|
63
63
|
getEnabledFeatureFlagsForAccount,
|
|
64
64
|
getExtensionVersion,
|
|
65
65
|
getExternalLinksByType,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
getGroups2,
|
|
75
75
|
getMemberById,
|
|
76
76
|
getMemberGroups,
|
|
77
|
-
|
|
77
|
+
getMemberGroups2,
|
|
78
78
|
getMemberPreferences,
|
|
79
79
|
getMembers,
|
|
80
80
|
getMembers1,
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
rotateServiceCredentialSecret,
|
|
130
130
|
save,
|
|
131
131
|
scmCredentialSave, scmCredentialSave1, scmCredentialUpdate, scmCredentialUpdate1, scmDelete, sendDownloadEmail, ssoAddAttributes,
|
|
132
|
-
ssoConfigure, ssoGetAttributesConfig, ssoParseConfigurationFile,
|
|
132
|
+
ssoConfigure, ssoGetAttributesConfig, ssoParseConfigurationFile, update2,
|
|
133
133
|
updateAccountRole,
|
|
134
134
|
updateExtension,
|
|
135
135
|
updateExtensionLink,
|
|
@@ -309,11 +309,11 @@ class AccountClient extends ReactQueryNetworkClient {
|
|
|
309
309
|
/**
|
|
310
310
|
* Updates a group.
|
|
311
311
|
*/
|
|
312
|
-
updateGroup = this.mutation(
|
|
312
|
+
updateGroup = this.mutation(update2)
|
|
313
313
|
/**
|
|
314
314
|
* Deletes a group.
|
|
315
315
|
*/
|
|
316
|
-
deleteGroup = this.mutation(
|
|
316
|
+
deleteGroup = this.mutation(delete2)
|
|
317
317
|
/**
|
|
318
318
|
* Gets all members in a group (paginated).
|
|
319
319
|
*/
|
|
@@ -646,7 +646,7 @@ class AccountClient extends ReactQueryNetworkClient {
|
|
|
646
646
|
/**
|
|
647
647
|
* Get Members Groups By Profile
|
|
648
648
|
*/
|
|
649
|
-
allMembersGroupsByProfileWithPagination = this.query(
|
|
649
|
+
allMembersGroupsByProfileWithPagination = this.query(getMemberGroups2)
|
|
650
650
|
/**
|
|
651
651
|
* Get Members Roles By Profile
|
|
652
652
|
*/
|
|
@@ -906,7 +906,7 @@ class AccountClient extends ReactQueryNetworkClient {
|
|
|
906
906
|
/**
|
|
907
907
|
* Create an enterprise account
|
|
908
908
|
*/
|
|
909
|
-
createEnterpriseAccount = this.mutation(
|
|
909
|
+
createEnterpriseAccount = this.mutation(create3)
|
|
910
910
|
/**
|
|
911
911
|
* Lists enterprise accounts
|
|
912
912
|
*/
|
|
@@ -951,7 +951,7 @@ class AccountClient extends ReactQueryNetworkClient {
|
|
|
951
951
|
/**
|
|
952
952
|
* Get Service Credential V3
|
|
953
953
|
*/
|
|
954
|
-
getServiceCredential = this.query(
|
|
954
|
+
getServiceCredential = this.query(getById3)
|
|
955
955
|
/**
|
|
956
956
|
* Get Resources Types with actions
|
|
957
957
|
*/
|
package/src/client/types.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { AccountScmInfoSaveRequest, AccountScmInfoUpdateRequest, AccountScmStatu
|
|
|
3
3
|
import { AgentVisibilityLevelEnum, HttpMethod, ListAgentCoreResponse, VisibilityLevelEnum } from '../api/agent-tools'
|
|
4
4
|
import { ChatResponse3, ContentDependencyResponse, ConversationHistoryResponse, ConversationResponse, DependencyResponse, QuickCommandResponse, QuickCommandStepResult, SourceKnowledgeSource, SourceProjectFile3, SourceStackAi } from '../api/ai'
|
|
5
5
|
import { ConnectAccountRequestV2, ManagedAccountProvisionRequest } from '../api/cloudAccount'
|
|
6
|
-
import { AllocationCostRequest, AllocationCostResponse, ChargePeriod, getAllocationCostFilters, ManagedService, ServiceResource } from '../api/cloudServices'
|
|
7
6
|
import { ChatRequest } from '../api/genAiInference'
|
|
8
7
|
import { Action } from '../api/workspace-ai'
|
|
9
8
|
import { ActivityResponse, FullInputContextResponse, InputConditionResponse, InputValuesContextResponse, PaginatedActivityResponse, PluginForAppCreationV2Response, PluginInputValuesInConsolidatedContextResponse, ValueByEnvResponse, WorkflowForCreationResponse } from '../api/workspaceManager'
|
|
@@ -51,62 +50,6 @@ export interface UpdateSCMRequest {
|
|
|
51
50
|
},
|
|
52
51
|
}
|
|
53
52
|
|
|
54
|
-
export type AllocationCostType = Parameters<typeof getAllocationCostFilters>[0]['$type']
|
|
55
|
-
|
|
56
|
-
export interface CostAllocationVariables {
|
|
57
|
-
allocationCostRequest: Omit<AllocationCostRequest, 'stackSpotAccountId' | 'billingAccountId'> & {
|
|
58
|
-
stackSpotAccountId: string,
|
|
59
|
-
billingAccountId: string[],
|
|
60
|
-
},
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
interface ServiceNameResponse {
|
|
64
|
-
type: 'ServiceNameResponse',
|
|
65
|
-
chargePeriod?: ChargePeriod,
|
|
66
|
-
/** Represents an offering that can be purchased from a cloud provider. */
|
|
67
|
-
serviceName?: string,
|
|
68
|
-
/** Effective cost post discounts and amortizations. */
|
|
69
|
-
effectiveCost?: number,
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
interface TagResponse {
|
|
73
|
-
type: 'TagResponse',
|
|
74
|
-
chargePeriod?: ChargePeriod,
|
|
75
|
-
/** Tag key: Identifies a grouping attribute or category for resources or constructs. */
|
|
76
|
-
tagKey?: string,
|
|
77
|
-
/** Tag value: Specifies the group or category detail that the resource or construct belongs to. */
|
|
78
|
-
tagValue?: string,
|
|
79
|
-
/** Effective cost post discounts and amortizations. */
|
|
80
|
-
effectiveCost?: number,
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
interface UsageUnitResponse {
|
|
84
|
-
type: 'UsageUnitResponse',
|
|
85
|
-
chargePeriod?: ChargePeriod,
|
|
86
|
-
/** Represents an offering that can be purchased from a cloud provider. */
|
|
87
|
-
serviceName?: string,
|
|
88
|
-
/** Represents the volume of a given resource or service used or purchased based on the Usage Unit. */
|
|
89
|
-
usageQuantity?: number,
|
|
90
|
-
/** Defines the unit of measurement for the resource or service. */
|
|
91
|
-
usageUnit?: string,
|
|
92
|
-
/** Effective cost post discounts and amortizations. */
|
|
93
|
-
effectiveCost?: number,
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export type CostAllocationData = ServiceNameResponse | TagResponse | UsageUnitResponse
|
|
97
|
-
|
|
98
|
-
export interface CostAllocationResult extends Omit<AllocationCostResponse, 'data'> {
|
|
99
|
-
data: CostAllocationData[],
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
interface FixedServiceResource extends Omit<ServiceResource, 'id'> {
|
|
103
|
-
id: string,
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export interface FixedManagedService extends Omit<ManagedService, 'resources'> {
|
|
107
|
-
resources: FixedServiceResource[],
|
|
108
|
-
}
|
|
109
|
-
|
|
110
53
|
export interface FixedConnectAccountRequestV2 extends ConnectAccountRequestV2 {
|
|
111
54
|
credential?: {
|
|
112
55
|
iamRole?: string,
|
|
@@ -360,11 +303,11 @@ export interface ToolCallsAgentInfo extends BaseAgentInfo {
|
|
|
360
303
|
export type AgentInfo = GenericAgentInfo | PlanningAgentInfo | StepAgentInfo | ToolAgentInfo | ToolCallsAgentInfo
|
|
361
304
|
|
|
362
305
|
export type ChatResponse = {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
306
|
+
message: string,
|
|
307
|
+
cross_account_source: SourceKnowledgeSource[],
|
|
308
|
+
source: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile3)[],
|
|
309
|
+
message_id: string | null,
|
|
310
|
+
stop_reason: 'stop',
|
|
368
311
|
};
|
|
369
312
|
|
|
370
313
|
export interface FixedChatResponse extends ChatResponse {
|
|
@@ -449,7 +392,7 @@ interface BaseQCContext {
|
|
|
449
392
|
code?: string,
|
|
450
393
|
executionId: string,
|
|
451
394
|
signal: AbortSignal,
|
|
452
|
-
isRemote?: boolean,
|
|
395
|
+
isRemote?: boolean,
|
|
453
396
|
headers?: Record<string, string>,
|
|
454
397
|
conversation_id?: string,
|
|
455
398
|
}
|
|
@@ -462,8 +405,8 @@ export interface QCContextExecution extends BaseQCContext {
|
|
|
462
405
|
qc: QuickCommandResponse,
|
|
463
406
|
}
|
|
464
407
|
|
|
465
|
-
export interface QCProgressProps{
|
|
466
|
-
update?: (index: number) => void,
|
|
467
|
-
remove?: () => void,
|
|
408
|
+
export interface QCProgressProps {
|
|
409
|
+
update?: (index: number) => void,
|
|
410
|
+
remove?: () => void,
|
|
468
411
|
onStepChange?: (stepResult: any) => void,
|
|
469
412
|
}
|
package/src/index.ts
CHANGED
|
@@ -9,7 +9,6 @@ export { apiManagementClient } from './client/api-management'
|
|
|
9
9
|
export { cloudAccountClient } from './client/cloud-account'
|
|
10
10
|
export { cloudPlatformClient } from './client/cloud-platform'
|
|
11
11
|
export { cloudRuntimesClient } from './client/cloud-runtimes'
|
|
12
|
-
export { cloudServicesClient } from './client/cloud-services'
|
|
13
12
|
export { codeShiftClient } from './client/code-shift'
|
|
14
13
|
export { contentClient } from './client/content'
|
|
15
14
|
export { dataIntegrationClient } from './client/data-integration'
|