@stack-spot/portal-network 0.157.1-beta.2 → 0.158.0
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 +12 -58
- package/dist/api/account.d.ts +40 -5
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +34 -2
- package/dist/api/account.js.map +1 -1
- package/dist/api/codeShift.d.ts +196 -110
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +94 -37
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/discovery.d.ts +222 -33
- package/dist/api/discovery.d.ts.map +1 -1
- package/dist/api/discovery.js +78 -27
- package/dist/api/discovery.js.map +1 -1
- package/dist/api/workspaceManager.d.ts +387 -48
- package/dist/api/workspaceManager.d.ts.map +1 -1
- package/dist/api/workspaceManager.js +334 -2
- package/dist/api/workspaceManager.js.map +1 -1
- package/dist/apis.json +1 -1
- package/dist/client/account.d.ts +1 -1
- package/dist/client/agent-tools.d.ts +3 -89
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +2 -133
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/agent.d.ts +50 -5
- package/dist/client/agent.d.ts.map +1 -1
- package/dist/client/agent.js +64 -0
- package/dist/client/agent.js.map +1 -1
- package/dist/client/ai.d.ts +0 -7
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +1 -10
- package/dist/client/ai.js.map +1 -1
- package/dist/client/code-shift.d.ts +67 -25
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +73 -30
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/discovery.d.ts +6 -12
- package/dist/client/discovery.d.ts.map +1 -1
- package/dist/client/discovery.js +5 -14
- package/dist/client/discovery.js.map +1 -1
- package/dist/client/gen-ai-inference.d.ts +0 -9
- package/dist/client/gen-ai-inference.d.ts.map +1 -1
- package/dist/client/gen-ai-inference.js +1 -10
- package/dist/client/gen-ai-inference.js.map +1 -1
- package/dist/client/types.d.ts +4 -5
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workspace-manager.d.ts +6 -0
- package/dist/client/workspace-manager.d.ts.map +1 -1
- package/dist/client/workspace-manager.js +10 -1
- package/dist/client/workspace-manager.js.map +1 -1
- package/dist/error/DefaultAPIError.d.ts +1 -1
- package/dist/error/DefaultAPIError.d.ts.map +1 -1
- package/dist/error/DefaultAPIError.js +0 -7
- package/dist/error/DefaultAPIError.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +1 -1
- package/src/api/account.ts +79 -7
- package/src/api/agent-tools.ts +0 -3
- package/src/api/agent.ts +0 -2
- package/src/api/codeShift.ts +481 -257
- package/src/api/discovery.ts +309 -49
- package/src/api/notification.ts +0 -2
- package/src/api/workspaceManager.ts +409 -50
- package/src/apis.json +1 -1
- package/src/client/agent-tools.ts +3 -102
- package/src/client/agent.ts +68 -0
- package/src/client/ai.ts +0 -6
- package/src/client/code-shift.ts +57 -19
- package/src/client/discovery.ts +5 -9
- package/src/client/gen-ai-inference.ts +1 -6
- package/src/client/types.ts +5 -7
- package/src/client/workspace-manager.ts +5 -0
- package/src/error/DefaultAPIError.ts +1 -9
- package/dist/error/types.d.ts +0 -18
- package/dist/error/types.d.ts.map +0 -1
- package/dist/error/types.js +0 -2
- package/dist/error/types.js.map +0 -1
- package/src/error/types.ts +0 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,48 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.
|
|
3
|
+
## [0.158.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.157.0...portal-network@v0.158.0) (2025-07-17)
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
###
|
|
6
|
+
### Features
|
|
7
7
|
|
|
8
|
-
*
|
|
8
|
+
* workflow extensions ([#1234](https://github.com/stack-spot/portal-commons/issues/1234)) ([3b320ab](https://github.com/stack-spot/portal-commons/commit/3b320ab7ecff15c3af48625d1ba22396b36dcffc))
|
|
9
9
|
|
|
10
|
-
## [0.157.0
|
|
10
|
+
## [0.157.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.156.2...portal-network@v0.157.0) (2025-07-16)
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
### Features
|
|
14
14
|
|
|
15
|
-
* add
|
|
16
|
-
* code shift validate scm url beta ([#1205](https://github.com/stack-spot/portal-commons/issues/1205)) ([bdf9984](https://github.com/stack-spot/portal-commons/commit/bdf9984d304f90197b734d4aba8eb12528a74e1d))
|
|
15
|
+
* add query in workspace manager ([#1232](https://github.com/stack-spot/portal-commons/issues/1232)) ([17c617f](https://github.com/stack-spot/portal-commons/commit/17c617fbde32035f4d2ed677ebcec55b1463a3d2))
|
|
17
16
|
|
|
18
|
-
## [0.156.
|
|
17
|
+
## [0.156.2](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.156.1...portal-network@v0.156.2) (2025-07-15)
|
|
19
18
|
|
|
20
19
|
|
|
21
20
|
### Bug Fixes
|
|
22
21
|
|
|
23
|
-
*
|
|
22
|
+
* update discover prd url ([#1218](https://github.com/stack-spot/portal-commons/issues/1218)) ([7b67606](https://github.com/stack-spot/portal-commons/commit/7b6760621ccbce2040387128d210c3a6ad7a36da))
|
|
24
23
|
|
|
25
|
-
## [0.156.
|
|
24
|
+
## [0.156.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.156.0...portal-network@v0.156.1) (2025-07-15)
|
|
26
25
|
|
|
27
26
|
|
|
28
|
-
###
|
|
27
|
+
### Bug Fixes
|
|
29
28
|
|
|
30
|
-
*
|
|
29
|
+
* changes in discover api ([#1215](https://github.com/stack-spot/portal-commons/issues/1215)) ([cb95a55](https://github.com/stack-spot/portal-commons/commit/cb95a550824854e268cce2b2a7e8adaf1b360e83))
|
|
31
30
|
|
|
32
|
-
## [0.
|
|
31
|
+
## [0.156.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.155.0...portal-network@v0.156.0) (2025-07-11)
|
|
33
32
|
|
|
34
33
|
|
|
35
34
|
### Features
|
|
36
35
|
|
|
37
|
-
*
|
|
38
|
-
* Add calculate condition ([#1170](https://github.com/stack-spot/portal-commons/issues/1170)) ([9a4557f](https://github.com/stack-spot/portal-commons/commit/9a4557f1a5d810649f6222c5181cd8c1e53c3d54))
|
|
39
|
-
* code shift validate scm url ([#1195](https://github.com/stack-spot/portal-commons/issues/1195)) ([53ecdd0](https://github.com/stack-spot/portal-commons/commit/53ecdd0805494cdb072c25f05f26303b7049e874))
|
|
40
|
-
* New account methods ([#1185](https://github.com/stack-spot/portal-commons/issues/1185)) ([2ada8ea](https://github.com/stack-spot/portal-commons/commit/2ada8eaaf1362bb90e43920d58d02be8cede93db))
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
### Bug Fixes
|
|
44
|
-
|
|
45
|
-
* Improve naming ([#1188](https://github.com/stack-spot/portal-commons/issues/1188)) ([5beeb04](https://github.com/stack-spot/portal-commons/commit/5beeb040a4adc22ba38c1dfeaf866105e4236b9d))
|
|
36
|
+
* 1530 refactor ks ([#1187](https://github.com/stack-spot/portal-commons/issues/1187)) ([b133ec8](https://github.com/stack-spot/portal-commons/commit/b133ec8a047623adf4db9d839017a551fae80029))
|
|
46
37
|
|
|
47
38
|
## [0.155.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.154.1...portal-network@v0.155.0) (2025-07-10)
|
|
48
39
|
|
|
@@ -66,49 +57,12 @@
|
|
|
66
57
|
* New account methods ([#1185](https://github.com/stack-spot/portal-commons/issues/1185)) ([2ada8ea](https://github.com/stack-spot/portal-commons/commit/2ada8eaaf1362bb90e43920d58d02be8cede93db))
|
|
67
58
|
|
|
68
59
|
## [0.153.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.152.0...portal-network@v0.153.0) (2025-07-10)
|
|
69
|
-
## [0.154.0-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.153.0-beta.2...portal-network-beta@v0.154.0-beta.2) (2025-07-10)
|
|
70
60
|
|
|
71
61
|
|
|
72
62
|
### Features
|
|
73
63
|
|
|
74
64
|
* add new requests in data integration api ([#1180](https://github.com/stack-spot/portal-commons/issues/1180)) ([c72662b](https://github.com/stack-spot/portal-commons/commit/c72662bef9f71a6fa166838e669d79987428b026))
|
|
75
65
|
|
|
76
|
-
## [0.153.0-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.152.0-beta.2...portal-network-beta@v0.153.0-beta.2) (2025-07-09)
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
### Features
|
|
80
|
-
|
|
81
|
-
* code shift validate scm url ([#1181](https://github.com/stack-spot/portal-commons/issues/1181)) ([0286404](https://github.com/stack-spot/portal-commons/commit/0286404be9c40b273afde21fc096bd309159da22))
|
|
82
|
-
|
|
83
|
-
## [0.152.0-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.151.0-beta.2...portal-network-beta@v0.152.0-beta.2) (2025-07-08)
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
### Features
|
|
87
|
-
|
|
88
|
-
* add new requests in workspace ai ([#1177](https://github.com/stack-spot/portal-commons/issues/1177)) ([02a1c3b](https://github.com/stack-spot/portal-commons/commit/02a1c3bec4dbbe012a558159dcc6df8137396ba9))
|
|
89
|
-
* add workflow error message ([#1150](https://github.com/stack-spot/portal-commons/issues/1150)) ([f6e71f8](https://github.com/stack-spot/portal-commons/commit/f6e71f825a6d97c9ef42673d1589d99cb49d2426))
|
|
90
|
-
* toolkit fork ([#1171](https://github.com/stack-spot/portal-commons/issues/1171)) ([73b8c4a](https://github.com/stack-spot/portal-commons/commit/73b8c4a382885fb396bc1d05e0c6bce69c1dbff0))
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
### Bug Fixes
|
|
94
|
-
|
|
95
|
-
* map cnt workflow errors ([#1165](https://github.com/stack-spot/portal-commons/issues/1165)) ([4409958](https://github.com/stack-spot/portal-commons/commit/4409958fbc4e7448a128f61ccdb9dcc8fc274c30))
|
|
96
|
-
* merge 'feat-beta-releases' into beta-releases ([cb9e293](https://github.com/stack-spot/portal-commons/commit/cb9e2936740e3b97d4724c092c6d114e80701319))
|
|
97
|
-
* publish Test ([#1160](https://github.com/stack-spot/portal-commons/issues/1160)) ([4507af5](https://github.com/stack-spot/portal-commons/commit/4507af5de59d6a5603d74965c75be67216e86c2b))
|
|
98
|
-
* test ([e974bb4](https://github.com/stack-spot/portal-commons/commit/e974bb47ee5333bcf1d25307a92b17f2c1e93a1a))
|
|
99
|
-
* test ([b8ccf50](https://github.com/stack-spot/portal-commons/commit/b8ccf507a4291abf19b83b0b4ca7b1a9893764d7))
|
|
100
|
-
* test ([#1134](https://github.com/stack-spot/portal-commons/issues/1134)) ([e58acb9](https://github.com/stack-spot/portal-commons/commit/e58acb90919f03e99debb0ae159385bd5aaa63d6))
|
|
101
|
-
* test ([#1135](https://github.com/stack-spot/portal-commons/issues/1135)) ([558c524](https://github.com/stack-spot/portal-commons/commit/558c5243e599031f6bee6160614fbae9ec715d5d))
|
|
102
|
-
* test ([#1157](https://github.com/stack-spot/portal-commons/issues/1157)) ([2c50106](https://github.com/stack-spot/portal-commons/commit/2c5010606c2b9c2b95091370bef895727b1c36ec))
|
|
103
|
-
* Test ([#1162](https://github.com/stack-spot/portal-commons/issues/1162)) ([94c553d](https://github.com/stack-spot/portal-commons/commit/94c553d41ec9c3a77d3c79292fc7552938c56080))
|
|
104
|
-
* teste ([01ab2f6](https://github.com/stack-spot/portal-commons/commit/01ab2f6deb912cf19256bd874b33ebe266579c90))
|
|
105
|
-
* testing ([#1128](https://github.com/stack-spot/portal-commons/issues/1128)) ([54a3e1c](https://github.com/stack-spot/portal-commons/commit/54a3e1c49c787275646e0ac6238ae32b7338f592))
|
|
106
|
-
* Testing ([#1144](https://github.com/stack-spot/portal-commons/issues/1144)) ([7671400](https://github.com/stack-spot/portal-commons/commit/76714008d9ba587af41d46135e2819fc7b2b991a))
|
|
107
|
-
* testing ([#1146](https://github.com/stack-spot/portal-commons/issues/1146)) ([fd80eff](https://github.com/stack-spot/portal-commons/commit/fd80eff96a07182ead5ad8d5975796a558b97830))
|
|
108
|
-
* update 'main' into beta-release ([5205864](https://github.com/stack-spot/portal-commons/commit/5205864d2f7782035d640648c8a8554c01573936))
|
|
109
|
-
* update tools 'feat-1615-agent-migration' into beta-release ([d9c6b6f](https://github.com/stack-spot/portal-commons/commit/d9c6b6fccbdcaacaa5067b7e3f1251c7ffe8236a))
|
|
110
|
-
* update version ([#1179](https://github.com/stack-spot/portal-commons/issues/1179)) ([76e4408](https://github.com/stack-spot/portal-commons/commit/76e4408f5cfa084ab010e31f2a7cada104111d6c))
|
|
111
|
-
|
|
112
66
|
## [0.152.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.151.0...portal-network@v0.152.0) (2025-07-08)
|
|
113
67
|
|
|
114
68
|
|
package/dist/api/account.d.ts
CHANGED
|
@@ -167,7 +167,7 @@ export type SecretResponse = {
|
|
|
167
167
|
/** Secret scope */
|
|
168
168
|
scope: "USER" | "SCOPED" | "ACCOUNT";
|
|
169
169
|
/** Scoped to */
|
|
170
|
-
scopedTo?: "WORKSPACE";
|
|
170
|
+
scopedTo?: "WORKSPACE" | "SPOT";
|
|
171
171
|
/** Scoped to value */
|
|
172
172
|
scopedValue?: string;
|
|
173
173
|
/** Expiration date of the secret */
|
|
@@ -205,7 +205,7 @@ export type UpdateSecretRequest = {
|
|
|
205
205
|
/** Secret scope */
|
|
206
206
|
scope?: "USER" | "SCOPED" | "ACCOUNT";
|
|
207
207
|
/** Scoped to */
|
|
208
|
-
scopedTo?: "WORKSPACE";
|
|
208
|
+
scopedTo?: "WORKSPACE" | "SPOT";
|
|
209
209
|
/** Scope value */
|
|
210
210
|
scopeValue?: string;
|
|
211
211
|
/** Expiration date of the secret */
|
|
@@ -822,7 +822,7 @@ export type CreateSecretRequest = {
|
|
|
822
822
|
/** Secret scope */
|
|
823
823
|
scope: "USER" | "SCOPED" | "ACCOUNT";
|
|
824
824
|
/** Scoped of */
|
|
825
|
-
scopedTo?: "WORKSPACE";
|
|
825
|
+
scopedTo?: "WORKSPACE" | "SPOT";
|
|
826
826
|
/** Bind to scope value */
|
|
827
827
|
scopeValue?: string;
|
|
828
828
|
/** Expiration date of the secret */
|
|
@@ -1353,6 +1353,19 @@ export type ExtensionLinkCreateResponse = {
|
|
|
1353
1353
|
/** The Extension path */
|
|
1354
1354
|
path?: string;
|
|
1355
1355
|
};
|
|
1356
|
+
export type InputStreamSource = {
|
|
1357
|
+
inputStream?: object;
|
|
1358
|
+
};
|
|
1359
|
+
export type HasUserAnsweredFormRequest = {
|
|
1360
|
+
formIds: string[];
|
|
1361
|
+
"from"?: string;
|
|
1362
|
+
to?: string;
|
|
1363
|
+
};
|
|
1364
|
+
export type HasUserAnsweredFormResponse = {
|
|
1365
|
+
answers: {
|
|
1366
|
+
[key: string]: string[];
|
|
1367
|
+
};
|
|
1368
|
+
};
|
|
1356
1369
|
export type WelcomeEmailRequest = {
|
|
1357
1370
|
/** Firstname of the contact requester */
|
|
1358
1371
|
firstName: string;
|
|
@@ -2652,7 +2665,7 @@ export declare function findSecrets1({ size, page, sort, direction, search, filt
|
|
|
2652
2665
|
search?: string;
|
|
2653
2666
|
filterByScope?: "USER" | "SCOPED" | "ACCOUNT";
|
|
2654
2667
|
filterByType?: "API_KEY" | "OAUTH" | "CERTIFICATE" | "KEY_VALUE" | "BEARER_TOKEN";
|
|
2655
|
-
filterByScopedBy?: "WORKSPACE";
|
|
2668
|
+
filterByScopedBy?: "WORKSPACE" | "SPOT";
|
|
2656
2669
|
filterByScopedValue?: string;
|
|
2657
2670
|
authorizedOnly?: boolean;
|
|
2658
2671
|
}, opts?: Oazapfts.RequestOpts): Promise<PageResponseSecretResponse>;
|
|
@@ -3032,6 +3045,19 @@ export declare function listExtensionLinks({ workspaceId, $type, extensionSlug,
|
|
|
3032
3045
|
export declare function createExtensionLink({ extensionLinkCreateRequest }: {
|
|
3033
3046
|
extensionLinkCreateRequest: ExtensionLinkCreateRequest;
|
|
3034
3047
|
}, opts?: Oazapfts.RequestOpts): Promise<ExtensionLinkCreateResponse>;
|
|
3048
|
+
/**
|
|
3049
|
+
* Receive engagement form webhook
|
|
3050
|
+
*/
|
|
3051
|
+
export declare function receiveWebhook({ provider, inputStreamSource }: {
|
|
3052
|
+
provider: string;
|
|
3053
|
+
inputStreamSource: InputStreamSource;
|
|
3054
|
+
}, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
3055
|
+
/**
|
|
3056
|
+
* Check if user has answered forms
|
|
3057
|
+
*/
|
|
3058
|
+
export declare function hasUserAnsweredForm({ hasUserAnsweredFormRequest }: {
|
|
3059
|
+
hasUserAnsweredFormRequest: HasUserAnsweredFormRequest;
|
|
3060
|
+
}, opts?: Oazapfts.RequestOpts): Promise<HasUserAnsweredFormResponse>;
|
|
3035
3061
|
/**
|
|
3036
3062
|
* Send Welcome Email
|
|
3037
3063
|
*/
|
|
@@ -3744,6 +3770,13 @@ export declare function getEnabledFeatureFlagsForAccount({ queryParams }: {
|
|
|
3744
3770
|
export declare function getExternalLinksByType({ externalLinkType }: {
|
|
3745
3771
|
externalLinkType: string;
|
|
3746
3772
|
}, opts?: Oazapfts.RequestOpts): Promise<ExternalLinkResponse>;
|
|
3773
|
+
/**
|
|
3774
|
+
* Returns the Feature Flag.
|
|
3775
|
+
*/
|
|
3776
|
+
export declare function getFeatureFlag1({ id, accountId }: {
|
|
3777
|
+
id: number;
|
|
3778
|
+
accountId: string;
|
|
3779
|
+
}, opts?: Oazapfts.RequestOpts): Promise<FeatureFlagsAccountResponse>;
|
|
3747
3780
|
/**
|
|
3748
3781
|
* Verifies if SCM credentials exist for the current user's account and email, throwing an error if not found.
|
|
3749
3782
|
*/
|
|
@@ -3799,7 +3832,9 @@ export declare function getServiceCredentialGroups1({ id }: {
|
|
|
3799
3832
|
/**
|
|
3800
3833
|
* Retrieve secret value
|
|
3801
3834
|
*/
|
|
3802
|
-
export declare function getSecretValue({ secretId }: {
|
|
3835
|
+
export declare function getSecretValue({ xMemberId, xAccountId, secretId }: {
|
|
3836
|
+
xMemberId?: string;
|
|
3837
|
+
xAccountId?: string;
|
|
3803
3838
|
secretId: string;
|
|
3804
3839
|
}, opts?: Oazapfts.RequestOpts): Promise<SecretResponse>;
|
|
3805
3840
|
/**
|