@stack-spot/portal-network 0.167.1 → 0.168.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 (40) hide show
  1. package/CHANGELOG.md +103 -0
  2. package/dist/api/account.d.ts +168 -58
  3. package/dist/api/account.d.ts.map +1 -1
  4. package/dist/api/account.js +124 -31
  5. package/dist/api/account.js.map +1 -1
  6. package/dist/api/agent-tools.d.ts +163 -8
  7. package/dist/api/agent-tools.d.ts.map +1 -1
  8. package/dist/api/agent-tools.js +142 -8
  9. package/dist/api/agent-tools.js.map +1 -1
  10. package/dist/api/codeShift.d.ts +358 -12
  11. package/dist/api/codeShift.d.ts.map +1 -1
  12. package/dist/api/codeShift.js +245 -4
  13. package/dist/api/codeShift.js.map +1 -1
  14. package/dist/api/workspace-ai.d.ts +3 -2
  15. package/dist/api/workspace-ai.d.ts.map +1 -1
  16. package/dist/api/workspace-ai.js.map +1 -1
  17. package/dist/client/account.d.ts +1 -4
  18. package/dist/client/account.d.ts.map +1 -1
  19. package/dist/client/account.js +2 -11
  20. package/dist/client/account.js.map +1 -1
  21. package/dist/client/agent-tools.d.ts +38 -2
  22. package/dist/client/agent-tools.d.ts.map +1 -1
  23. package/dist/client/agent-tools.js +20 -2
  24. package/dist/client/agent-tools.js.map +1 -1
  25. package/dist/client/code-shift.d.ts +171 -1
  26. package/dist/client/code-shift.d.ts.map +1 -1
  27. package/dist/client/code-shift.js +109 -1
  28. package/dist/client/code-shift.js.map +1 -1
  29. package/package.json +2 -2
  30. package/readme.md +1 -1
  31. package/src/api/account.ts +333 -110
  32. package/src/api/agent-tools.ts +330 -15
  33. package/src/api/agent.ts +2 -0
  34. package/src/api/codeShift.ts +779 -14
  35. package/src/api/notification.ts +2 -0
  36. package/src/api/workspace-ai.ts +3 -2
  37. package/src/client/account.ts +6 -11
  38. package/src/client/agent-tools.ts +11 -2
  39. package/src/client/ai.ts +1 -0
  40. package/src/client/code-shift.ts +77 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.168.0-beta.1](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@0.165.2-beta.2...portal-network-beta@v0.165.2-beta.2) (2025-08-13)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Expands analytics API for enhanced usage reporting ([#1381](https://github.com/stack-spot/portal-commons/issues/1381)) ([9e8d020](https://github.com/stack-spot/portal-commons/commit/9e8d020518c45810e053526c52f276fd3f06214a))
9
+
10
+ ## [0.165.1-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.165.0-beta.2...portal-network-beta@v0.165.1-beta.2) (2025-08-12)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * Update readme.md ([a245ec0](https://github.com/stack-spot/portal-commons/commit/a245ec05902b65e0f9063fe7d9233cfc10d45d57))
16
+
17
+ ## [0.168.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.167.2...portal-network@v0.168.0) (2025-08-07)
18
+
19
+
20
+ ### Features
21
+
22
+ * Upd agent tools api ([#1357](https://github.com/stack-spot/portal-commons/issues/1357)) ([572c68f](https://github.com/stack-spot/portal-commons/commit/572c68faaaea9ed78ca361a8864477c4d29adc95))
23
+
24
+ ## [0.167.2](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.167.1...portal-network@v0.167.2) (2025-08-07)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * Fix enum workspace ai ([#1355](https://github.com/stack-spot/portal-commons/issues/1355)) ([4a485be](https://github.com/stack-spot/portal-commons/commit/4a485be42b222364330453bcbaab1c27983b4d93))
30
+
3
31
  ## [0.167.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.167.0...portal-network@v0.167.1) (2025-08-07)
4
32
 
5
33
 
@@ -142,6 +170,29 @@
142
170
 
143
171
  * changes in discover api ([#1215](https://github.com/stack-spot/portal-commons/issues/1215)) ([cb95a55](https://github.com/stack-spot/portal-commons/commit/cb95a550824854e268cce2b2a7e8adaf1b360e83))
144
172
 
173
+ ## [0.157.1-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.157.0-beta.2...portal-network-beta@v0.157.1-beta.2) (2025-07-14)
174
+
175
+
176
+ ### Bug Fixes
177
+
178
+ * Refactors report types and adds `ReportStatus` enum ([#1209](https://github.com/stack-spot/portal-commons/issues/1209)) ([7132382](https://github.com/stack-spot/portal-commons/commit/7132382a337d3f521153ad43e529764082b81b68))
179
+
180
+ ## [0.157.0-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.156.1-beta.2...portal-network-beta@v0.157.0-beta.2) (2025-07-14)
181
+
182
+
183
+ ### Features
184
+
185
+ * add suggested messages beta ([#1204](https://github.com/stack-spot/portal-commons/issues/1204)) ([40b58f1](https://github.com/stack-spot/portal-commons/commit/40b58f1c0b1bd5c06d9365c8cb36ad3c53b5d114))
186
+ * 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))
187
+
188
+ ## [0.156.1-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.156.0-beta.2...portal-network-beta@v0.156.1-beta.2) (2025-07-11)
189
+
190
+
191
+ ### Bug Fixes
192
+
193
+ * add sendAgentMessage ([#1198](https://github.com/stack-spot/portal-commons/issues/1198)) ([c16b103](https://github.com/stack-spot/portal-commons/commit/c16b1031155661a1ad957fb909d7c44c827137a9))
194
+
195
+ ## [0.156.0-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.155.0-beta.2...portal-network-beta@v0.156.0-beta.2) (2025-07-11)
145
196
  ## [0.156.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.155.0...portal-network@v0.156.0) (2025-07-11)
146
197
 
147
198
 
@@ -149,6 +200,21 @@
149
200
 
150
201
  * 1530 refactor ks ([#1187](https://github.com/stack-spot/portal-commons/issues/1187)) ([b133ec8](https://github.com/stack-spot/portal-commons/commit/b133ec8a047623adf4db9d839017a551fae80029))
151
202
 
203
+ ## [0.155.0-beta.2](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.154.0-beta.2...portal-network-beta@v0.155.0-beta.2) (2025-07-11)
204
+
205
+
206
+ ### Features
207
+
208
+ * accordion component beta ([#1191](https://github.com/stack-spot/portal-commons/issues/1191)) ([b49a388](https://github.com/stack-spot/portal-commons/commit/b49a388660523bab21abcdb17fc92341ffd40570))
209
+ * Add calculate condition ([#1170](https://github.com/stack-spot/portal-commons/issues/1170)) ([9a4557f](https://github.com/stack-spot/portal-commons/commit/9a4557f1a5d810649f6222c5181cd8c1e53c3d54))
210
+ * 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))
211
+ * New account methods ([#1185](https://github.com/stack-spot/portal-commons/issues/1185)) ([2ada8ea](https://github.com/stack-spot/portal-commons/commit/2ada8eaaf1362bb90e43920d58d02be8cede93db))
212
+
213
+
214
+ ### Bug Fixes
215
+
216
+ * Improve naming ([#1188](https://github.com/stack-spot/portal-commons/issues/1188)) ([5beeb04](https://github.com/stack-spot/portal-commons/commit/5beeb040a4adc22ba38c1dfeaf866105e4236b9d))
217
+
152
218
  ## [0.155.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.154.1...portal-network@v0.155.0) (2025-07-10)
153
219
 
154
220
 
@@ -171,12 +237,49 @@
171
237
  * New account methods ([#1185](https://github.com/stack-spot/portal-commons/issues/1185)) ([2ada8ea](https://github.com/stack-spot/portal-commons/commit/2ada8eaaf1362bb90e43920d58d02be8cede93db))
172
238
 
173
239
  ## [0.153.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.152.0...portal-network@v0.153.0) (2025-07-10)
240
+ ## [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)
174
241
 
175
242
 
176
243
  ### Features
177
244
 
178
245
  * 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))
179
246
 
247
+ ## [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)
248
+
249
+
250
+ ### Features
251
+
252
+ * 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))
253
+
254
+ ## [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)
255
+
256
+
257
+ ### Features
258
+
259
+ * 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))
260
+ * add workflow error message ([#1150](https://github.com/stack-spot/portal-commons/issues/1150)) ([f6e71f8](https://github.com/stack-spot/portal-commons/commit/f6e71f825a6d97c9ef42673d1589d99cb49d2426))
261
+ * toolkit fork ([#1171](https://github.com/stack-spot/portal-commons/issues/1171)) ([73b8c4a](https://github.com/stack-spot/portal-commons/commit/73b8c4a382885fb396bc1d05e0c6bce69c1dbff0))
262
+
263
+
264
+ ### Bug Fixes
265
+
266
+ * map cnt workflow errors ([#1165](https://github.com/stack-spot/portal-commons/issues/1165)) ([4409958](https://github.com/stack-spot/portal-commons/commit/4409958fbc4e7448a128f61ccdb9dcc8fc274c30))
267
+ * merge 'feat-beta-releases' into beta-releases ([cb9e293](https://github.com/stack-spot/portal-commons/commit/cb9e2936740e3b97d4724c092c6d114e80701319))
268
+ * publish Test ([#1160](https://github.com/stack-spot/portal-commons/issues/1160)) ([4507af5](https://github.com/stack-spot/portal-commons/commit/4507af5de59d6a5603d74965c75be67216e86c2b))
269
+ * test ([e974bb4](https://github.com/stack-spot/portal-commons/commit/e974bb47ee5333bcf1d25307a92b17f2c1e93a1a))
270
+ * test ([b8ccf50](https://github.com/stack-spot/portal-commons/commit/b8ccf507a4291abf19b83b0b4ca7b1a9893764d7))
271
+ * test ([#1134](https://github.com/stack-spot/portal-commons/issues/1134)) ([e58acb9](https://github.com/stack-spot/portal-commons/commit/e58acb90919f03e99debb0ae159385bd5aaa63d6))
272
+ * test ([#1135](https://github.com/stack-spot/portal-commons/issues/1135)) ([558c524](https://github.com/stack-spot/portal-commons/commit/558c5243e599031f6bee6160614fbae9ec715d5d))
273
+ * test ([#1157](https://github.com/stack-spot/portal-commons/issues/1157)) ([2c50106](https://github.com/stack-spot/portal-commons/commit/2c5010606c2b9c2b95091370bef895727b1c36ec))
274
+ * Test ([#1162](https://github.com/stack-spot/portal-commons/issues/1162)) ([94c553d](https://github.com/stack-spot/portal-commons/commit/94c553d41ec9c3a77d3c79292fc7552938c56080))
275
+ * teste ([01ab2f6](https://github.com/stack-spot/portal-commons/commit/01ab2f6deb912cf19256bd874b33ebe266579c90))
276
+ * testing ([#1128](https://github.com/stack-spot/portal-commons/issues/1128)) ([54a3e1c](https://github.com/stack-spot/portal-commons/commit/54a3e1c49c787275646e0ac6238ae32b7338f592))
277
+ * Testing ([#1144](https://github.com/stack-spot/portal-commons/issues/1144)) ([7671400](https://github.com/stack-spot/portal-commons/commit/76714008d9ba587af41d46135e2819fc7b2b991a))
278
+ * testing ([#1146](https://github.com/stack-spot/portal-commons/issues/1146)) ([fd80eff](https://github.com/stack-spot/portal-commons/commit/fd80eff96a07182ead5ad8d5975796a558b97830))
279
+ * update 'main' into beta-release ([5205864](https://github.com/stack-spot/portal-commons/commit/5205864d2f7782035d640648c8a8554c01573936))
280
+ * update tools 'feat-1615-agent-migration' into beta-release ([d9c6b6f](https://github.com/stack-spot/portal-commons/commit/d9c6b6fccbdcaacaa5067b7e3f1251c7ffe8236a))
281
+ * update version ([#1179](https://github.com/stack-spot/portal-commons/issues/1179)) ([76e4408](https://github.com/stack-spot/portal-commons/commit/76e4408f5cfa084ab010e31f2a7cada104111d6c))
282
+
180
283
  ## [0.152.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.151.0...portal-network@v0.152.0) (2025-07-08)
181
284
 
182
285
 
@@ -93,6 +93,22 @@ export type UpdateFeatureFlagAccountRequest = {
93
93
  /** The feature flag is enabled */
94
94
  enabled: boolean;
95
95
  };
96
+ export type FeatureFlagsResponseV2 = {
97
+ /** The feature flag id */
98
+ id: number;
99
+ /** The feature flag name */
100
+ name: string;
101
+ /** The feature flag slug */
102
+ slug: string;
103
+ /** The feature flag description */
104
+ description: string;
105
+ /** If the feature flag is auto create or not in the current account */
106
+ autoCreate: boolean;
107
+ /** If the feature flag is system or not in the current account */
108
+ system: boolean;
109
+ /** The the resources in the feature flag */
110
+ resources?: string[];
111
+ };
96
112
  export type UpdateFeatureFlagRequest = {
97
113
  /** The feature flag name */
98
114
  name: string;
@@ -194,6 +210,8 @@ export type SecretResponse = {
194
210
  schema?: {
195
211
  [key: string]: string;
196
212
  };
213
+ /** Last used at */
214
+ lastUsedAt: string;
197
215
  };
198
216
  export type UpdateSecretRequest = {
199
217
  /** Secret name */
@@ -681,24 +699,6 @@ export type PageResponseFeatureFlagsResponsePagedV2 = {
681
699
  /** Total pages found */
682
700
  totalPages: number;
683
701
  };
684
- export type FeatureFlagsResponseV2 = {
685
- /** The feature flag id */
686
- id: number;
687
- /** The feature flag name */
688
- name: string;
689
- /** The feature flag slug */
690
- slug: string;
691
- /** The feature flag description */
692
- description: string;
693
- /** If the feature flag is auto create or not in the current account */
694
- autoCreate: boolean;
695
- /** If the feature flag is enabled or not in the current account */
696
- enabled?: boolean;
697
- /** If the feature flag is system or not in the current account */
698
- system: boolean;
699
- /** The the resources in the feature flag */
700
- resources?: string[];
701
- };
702
702
  export type CreateFeatureFlagRequest = {
703
703
  /** The feature flag name */
704
704
  name: string;
@@ -1436,6 +1436,54 @@ export type DeviceCodeResponse = {
1436
1436
  /** OpenID Well Known url for current account */
1437
1437
  openIdWellKnownUrl: string;
1438
1438
  };
1439
+ export type UpdateTrialSsoSettingsRequest = {
1440
+ /** github */
1441
+ github: boolean;
1442
+ /** microsoft */
1443
+ microsoft: boolean;
1444
+ /** google */
1445
+ google: boolean;
1446
+ };
1447
+ export type UpdateTrialSsoSettingsResponse = {
1448
+ /** Is github SSO enabled */
1449
+ github: boolean;
1450
+ /** Is microsoft SSO enabled */
1451
+ microsoft: boolean;
1452
+ /** Is google SSO enabled */
1453
+ google: boolean;
1454
+ };
1455
+ export type UpdateSecretsSettingsResponse = {
1456
+ /** Maximum amount of secrets allowed per account */
1457
+ max_overall_secrets_amount?: number;
1458
+ };
1459
+ export type UpdateSecretsSettingsRequest = {
1460
+ /** Maximum amount of secrets allowed per account */
1461
+ max_overall_secrets_amount?: number;
1462
+ };
1463
+ export type UpdateCatalogSettingsRequest = {
1464
+ /** Number of threads used on catalog integration */
1465
+ threads: number;
1466
+ };
1467
+ export type UpdateCatalogSettingsResponse = {
1468
+ /** Number of threads used on catalog integration */
1469
+ threads: number;
1470
+ };
1471
+ export type VisionOneIntegrationResponse = {
1472
+ /** Is Vision One integration enabled */
1473
+ enabled: boolean;
1474
+ /** Vision One Service Gateway host */
1475
+ host: string;
1476
+ /** Vision One Service Gateway port */
1477
+ port: number;
1478
+ };
1479
+ export type UpdateVisionOneIntegrationRequest = {
1480
+ /** Is Vision One integration enabled */
1481
+ enabled: boolean;
1482
+ /** Vision One Service Gateway host */
1483
+ host: string;
1484
+ /** Vision One Service Gateway port */
1485
+ port: number;
1486
+ };
1439
1487
  export type AccountResponse = {
1440
1488
  /** Account id */
1441
1489
  accountApiId: string;
@@ -1492,24 +1540,6 @@ export type CreateAccountOrderRequest = {
1492
1540
  /** Email list of the sales representatives responsible for this request. */
1493
1541
  salesRepresentatives: string[];
1494
1542
  };
1495
- export type UpdateTrialSsoSettingsRequest = {
1496
- /** github */
1497
- github: boolean;
1498
- /** microsoft */
1499
- microsoft: boolean;
1500
- /** google */
1501
- google: boolean;
1502
- };
1503
- export type UpdateTrialSsoSettingsResponse = {
1504
- /** Entity id */
1505
- id: number;
1506
- /** Is github SSO enabled */
1507
- github: boolean;
1508
- /** Is microsoft SSO enabled */
1509
- microsoft: boolean;
1510
- /** Is google SSO enabled */
1511
- google: boolean;
1512
- };
1513
1543
  export type AccountTrialCreateRequest = {
1514
1544
  /** The slug to use in URL as unique identifying part representing the account (https://developer.mozilla.org/en-US/docs/Glossary/Slug). Example: zup */
1515
1545
  slug: string;
@@ -2121,6 +2151,28 @@ export type FullResourceResponse = {
2121
2151
  globalResourceId: string;
2122
2152
  createdAt: string;
2123
2153
  };
2154
+ export type ResourceAssociationResponse = {
2155
+ /** Resource name */
2156
+ name: string;
2157
+ /** Resource type */
2158
+ "type": string;
2159
+ /** Resource slug */
2160
+ slug: string;
2161
+ /** Last time in days that the resource associated with secret was used */
2162
+ daysSinceLastUsed: number;
2163
+ };
2164
+ export type PageResponseResourceAssociationResponse = {
2165
+ /** Current page content */
2166
+ items?: ResourceAssociationResponse[];
2167
+ /** Total elements found */
2168
+ totalElements: number;
2169
+ /** Current page number */
2170
+ page: number;
2171
+ /** Length of current page items */
2172
+ size: number;
2173
+ /** Total pages found */
2174
+ totalPages: number;
2175
+ };
2124
2176
  export type AccountScmProviderResponse = {
2125
2177
  /** SCM repository provider */
2126
2178
  provider: "GITHUB" | "GITLAB" | "BITBUCKET" | "AZURE" | "GITLAB_ONPRM";
@@ -2226,8 +2278,6 @@ export type PersonalAccountDetailsResponse = {
2226
2278
  accountId: string;
2227
2279
  /** Full name of the account owner. */
2228
2280
  fullName: string;
2229
- /** Date and time until the account is valid. */
2230
- validUntil: string;
2231
2281
  /** Date and time that the account was created. */
2232
2282
  createdAt: string;
2233
2283
  campaign?: Campaign;
@@ -2322,6 +2372,12 @@ export declare function updateFeatureFlag({ id, updateFeatureFlagAccountRequest
2322
2372
  id: number;
2323
2373
  updateFeatureFlagAccountRequest: UpdateFeatureFlagAccountRequest;
2324
2374
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2375
+ /**
2376
+ * Returns the Feature Flag.
2377
+ */
2378
+ export declare function getFeatureFlag1({ id }: {
2379
+ id: number;
2380
+ }, opts?: Oazapfts.RequestOpts): Promise<FeatureFlagsResponseV2>;
2325
2381
  /**
2326
2382
  * Updates an existing Feature Flag with the provided details.
2327
2383
  */
@@ -2394,7 +2450,8 @@ export declare function updateSecret({ secretId, updateSecretRequest }: {
2394
2450
  /**
2395
2451
  * Delete secret by ID
2396
2452
  */
2397
- export declare function deleteSecret({ secretId }: {
2453
+ export declare function deleteSecret({ immediate, secretId }: {
2454
+ immediate?: boolean;
2398
2455
  secretId: string;
2399
2456
  }, opts?: Oazapfts.RequestOpts): Promise<never>;
2400
2457
  /**
@@ -2675,6 +2732,20 @@ export declare function findSecrets1({ size, page, sort, direction, search, filt
2675
2732
  export declare function createSecret({ createSecretRequest }: {
2676
2733
  createSecretRequest: CreateSecretRequest;
2677
2734
  }, opts?: Oazapfts.RequestOpts): Promise<SecretResponse>;
2735
+ /**
2736
+ * Associate a secret with a resource
2737
+ */
2738
+ export declare function associateResource({ secretId, resourceSlug }: {
2739
+ secretId: string;
2740
+ resourceSlug: string;
2741
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
2742
+ /**
2743
+ * Disassociate a secret with a resource
2744
+ */
2745
+ export declare function disassociateResource({ secretId, resourceSlug }: {
2746
+ secretId: string;
2747
+ resourceSlug: string;
2748
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
2678
2749
  /**
2679
2750
  * Check if user has access to secret
2680
2751
  */
@@ -3122,6 +3193,41 @@ export declare function deviceCode({ email, freemiumAccess, codeChallenge, body
3122
3193
  codeChallenge: string;
3123
3194
  body?: Blob;
3124
3195
  }, opts?: Oazapfts.RequestOpts): Promise<DeviceCodeResponse>;
3196
+ /**
3197
+ * Allows to enable or disable trial SSO integrations.
3198
+ */
3199
+ export declare function updateTrialSsoSettings({ updateTrialSsoSettingsRequest }: {
3200
+ updateTrialSsoSettingsRequest: UpdateTrialSsoSettingsRequest;
3201
+ }, opts?: Oazapfts.RequestOpts): Promise<UpdateTrialSsoSettingsResponse>;
3202
+ /**
3203
+ * Gets application settings related to secrets.
3204
+ */
3205
+ export declare function getSecretSettings({ xAccountId }: {
3206
+ xAccountId?: string;
3207
+ }, opts?: Oazapfts.RequestOpts): Promise<UpdateSecretsSettingsResponse>;
3208
+ /**
3209
+ * Manages application settings related to secrets.
3210
+ */
3211
+ export declare function updateSecretSettings({ xAccountId, updateSecretsSettingsRequest }: {
3212
+ xAccountId?: string;
3213
+ updateSecretsSettingsRequest: UpdateSecretsSettingsRequest;
3214
+ }, opts?: Oazapfts.RequestOpts): Promise<UpdateSecretsSettingsResponse>;
3215
+ /**
3216
+ * Allows to manage catalog integration.
3217
+ */
3218
+ export declare function updateCatalogSettings({ updateCatalogSettingsRequest }: {
3219
+ updateCatalogSettingsRequest: UpdateCatalogSettingsRequest;
3220
+ }, opts?: Oazapfts.RequestOpts): Promise<UpdateCatalogSettingsResponse>;
3221
+ /**
3222
+ * Gets the Vision One integration parameters for new accounts.
3223
+ */
3224
+ export declare function getVisionOne(opts?: Oazapfts.RequestOpts): Promise<VisionOneIntegrationResponse>;
3225
+ /**
3226
+ * Changes the Vision One integration parameters for new accounts.
3227
+ */
3228
+ export declare function updateVisionOne({ updateVisionOneIntegrationRequest }: {
3229
+ updateVisionOneIntegrationRequest: UpdateVisionOneIntegrationRequest;
3230
+ }, opts?: Oazapfts.RequestOpts): Promise<VisionOneIntegrationResponse>;
3125
3231
  /**
3126
3232
  * Finds and returns a list of accounts filtered by account type.
3127
3233
  */
@@ -3143,12 +3249,6 @@ export declare function getAccounts1({ size, page, sort, direction, search, filt
3143
3249
  export declare function create1({ createAccountOrderRequest }: {
3144
3250
  createAccountOrderRequest: CreateAccountOrderRequest;
3145
3251
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
3146
- /**
3147
- * Allows to enable or disable trial SSO integrations.
3148
- */
3149
- export declare function updateTrialSsoSettings({ updateTrialSsoSettingsRequest }: {
3150
- updateTrialSsoSettingsRequest: UpdateTrialSsoSettingsRequest;
3151
- }, opts?: Oazapfts.RequestOpts): Promise<UpdateTrialSsoSettingsResponse>;
3152
3252
  /**
3153
3253
  * Creates a Trial account.
3154
3254
  */
@@ -3313,6 +3413,10 @@ export declare function enableSecret({ secretId }: {
3313
3413
  export declare function disableSecret({ secretId }: {
3314
3414
  secretId: string;
3315
3415
  }, opts?: Oazapfts.RequestOpts): Promise<never>;
3416
+ /**
3417
+ * Migrate Api Key Secrets to new version
3418
+ */
3419
+ export declare function migrateApiKeySecretsToV2(opts?: Oazapfts.RequestOpts): Promise<never>;
3316
3420
  /**
3317
3421
  * Retrieves the preferences of a specific member.
3318
3422
  */
@@ -3770,13 +3874,6 @@ export declare function getEnabledFeatureFlagsForAccount({ queryParams }: {
3770
3874
  export declare function getExternalLinksByType({ externalLinkType }: {
3771
3875
  externalLinkType: string;
3772
3876
  }, 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>;
3780
3877
  /**
3781
3878
  * Verifies if SCM credentials exist for the current user's account and email, throwing an error if not found.
3782
3879
  */
@@ -3832,11 +3929,28 @@ export declare function getServiceCredentialGroups1({ id }: {
3832
3929
  /**
3833
3930
  * Retrieve secret value
3834
3931
  */
3835
- export declare function getSecretValue({ xMemberId, xAccountId, secretId }: {
3932
+ export declare function getSecretValue({ xMemberId, xAccountId, xResourceSlug, secretId }: {
3836
3933
  xMemberId?: string;
3837
3934
  xAccountId?: string;
3935
+ xResourceSlug?: string;
3838
3936
  secretId: string;
3839
3937
  }, opts?: Oazapfts.RequestOpts): Promise<SecretResponse>;
3938
+ /**
3939
+ * Retrieve the resource associated to the secret
3940
+ */
3941
+ export declare function findAssociations({ secretId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3942
+ secretId: string;
3943
+ size?: any;
3944
+ page?: any;
3945
+ sort?: string;
3946
+ direction?: "ASC" | "DESC";
3947
+ search?: string;
3948
+ filterMode?: "MATCH" | "CONTAINS" | "IN";
3949
+ filterBy?: string;
3950
+ filterValue?: string;
3951
+ multiFilterMode?: string;
3952
+ filterIn?: any;
3953
+ }, opts?: Oazapfts.RequestOpts): Promise<PageResponseResourceAssociationResponse>;
3840
3954
  /**
3841
3955
  * Retrieves the SCM provider information for the current user's account.
3842
3956
  */
@@ -3994,17 +4108,13 @@ export declare function getAccountSlug({ accountId }: {
3994
4108
  accountId: string;
3995
4109
  }, opts?: Oazapfts.RequestOpts): Promise<AccountSlugResponse>;
3996
4110
  /**
3997
- * Retrieves the current status of trial SSO integrations.
4111
+ * Gets the SSO configuration for Freemium.
3998
4112
  */
3999
4113
  export declare function getTrialSsoSettings(opts?: Oazapfts.RequestOpts): Promise<TrialSsoSettingsResponse>;
4000
4114
  /**
4001
4115
  * Finds and returns personal account details.
4002
4116
  */
4003
4117
  export declare function getPersonalAccountDetails(opts?: Oazapfts.RequestOpts): Promise<PersonalAccountDetailsResponse>;
4004
- /**
4005
- * Finds and returns personal account expiration data associated with the provided token.
4006
- */
4007
- export declare function getPersonalAccountExpirationData(opts?: Oazapfts.RequestOpts): Promise<PersonalAccountExpirationDataResponse>;
4008
4118
  /**
4009
4119
  * Retrieves a list of SSO for the current account.
4010
4120
  */