@stack-spot/portal-network 0.198.2 → 0.198.3

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 (42) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/api/agent-tools.d.ts +6 -0
  3. package/dist/api/agent-tools.d.ts.map +1 -1
  4. package/dist/api/agent-tools.js.map +1 -1
  5. package/dist/api/agent.d.ts +55 -55
  6. package/dist/api/agent.d.ts.map +1 -1
  7. package/dist/api-addresses.d.ts.map +1 -1
  8. package/dist/client/account.d.ts +233 -233
  9. package/dist/client/account.d.ts.map +1 -1
  10. package/dist/client/agent-tools.d.ts +123 -123
  11. package/dist/client/agent-tools.d.ts.map +1 -1
  12. package/dist/client/agent.d.ts +46 -46
  13. package/dist/client/agent.d.ts.map +1 -1
  14. package/dist/client/ai.d.ts +106 -106
  15. package/dist/client/ai.d.ts.map +1 -1
  16. package/dist/client/api-management.d.ts +2 -2
  17. package/dist/client/cloud-account.d.ts +13 -13
  18. package/dist/client/cloud-platform-horizon.d.ts +19 -19
  19. package/dist/client/cloud-platform.d.ts +50 -50
  20. package/dist/client/cloud-runtimes.d.ts +4 -4
  21. package/dist/client/cloud-services.d.ts +17 -17
  22. package/dist/client/cloud-services.d.ts.map +1 -1
  23. package/dist/client/code-shift.d.ts +261 -261
  24. package/dist/client/content.d.ts +127 -132
  25. package/dist/client/content.d.ts.map +1 -1
  26. package/dist/client/data-integration.d.ts +55 -55
  27. package/dist/client/data-integration.d.ts.map +1 -1
  28. package/dist/client/discover.d.ts +8 -8
  29. package/dist/client/discover.d.ts.map +1 -1
  30. package/dist/client/event-bus.d.ts.map +1 -1
  31. package/dist/client/gen-ai-inference.d.ts +20 -20
  32. package/dist/client/insights.d.ts +7 -7
  33. package/dist/client/notification.d.ts +10 -10
  34. package/dist/client/runtime-manager.d.ts +8 -8
  35. package/dist/client/workflow.d.ts +10 -10
  36. package/dist/client/workspace-ai.d.ts +48 -48
  37. package/dist/client/workspace-manager.d.ts +77 -77
  38. package/dist/client/workspace-search.d.ts +2 -2
  39. package/dist/client/workspace.d.ts +58 -105
  40. package/dist/client/workspace.d.ts.map +1 -1
  41. package/package.json +1 -1
  42. package/src/api/agent-tools.ts +6 -0
@@ -1,4 +1,5 @@
1
1
  import { HttpError } from '@oazapfts/runtime';
2
+ import { contextControllerlistAccountContext, contextControllerlistConsolidatedContext, contextV2ControlleraddTypedContextInAccount, contextV2ControlleraddTypedContextInWorkspace, workspaceApplicationControllerdeleteApplication, workspaceApplicationControllergetApplication, workspaceControllerdelete, workspaceSharedInfrastructureControllerdeleteSharedInfra, workspaceSharedInfrastructureControllergetSharedInfrastructure, workspaceStackControlleraddStack, workspaceStackControllerdeleteStack, workspaceStackControllergetStackById, workspaceStackControllergetStacks } from '../api/workspace.js';
2
3
  import { StackspotAPIError } from '../error/StackspotAPIError.js';
3
4
  import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient.js';
4
5
  import { OperationObject } from '../network/types.js';
@@ -10,7 +11,7 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
10
11
  */
11
12
  allConnectionInterfaces: import("../network/types.js").QueryObject<{
12
13
  workspaceId: string;
13
- typeId?: string | undefined;
14
+ typeId?: string;
14
15
  }, import("../api/workspace.js").ConnectionInterfaceSummaryResponse[]>;
15
16
  /**
16
17
  * Gets a connection interface from a workspace
@@ -18,7 +19,7 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
18
19
  connectionInterface: import("../network/types.js").QueryObject<{
19
20
  workspaceId: string;
20
21
  connectionInterfaceId: string;
21
- environmentId?: string | undefined;
22
+ environmentId?: string;
22
23
  }, import("../api/workspace.js").ConnectionInterfaceDetailsResponse>;
23
24
  /**
24
25
  * Get available connection interface for a workspace by connection interface slug
@@ -26,8 +27,8 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
26
27
  workspaceAvailableConnInterfaceBySlug: import("../network/types.js").QueryObject<{
27
28
  workspaceId: string;
28
29
  slug: string;
29
- environmentId?: string | undefined;
30
- accountId?: string | undefined;
30
+ environmentId?: string;
31
+ accountId?: string;
31
32
  }, import("../api/workspace.js").ConnectionInterfaceDetailsV2Response>;
32
33
  /**
33
34
  * Get available connection interface for an application by connection interface slug
@@ -35,7 +36,7 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
35
36
  applicationAvailableConnInterface: import("../network/types.js").QueryObject<{
36
37
  applicationId: string;
37
38
  slug: string;
38
- environmentId?: string | undefined;
39
+ environmentId?: string;
39
40
  }, import("../api/workspace.js").ConnectionInterfaceDetailsV2Response>;
40
41
  /**
41
42
  * Updates the visibility of a connection interface
@@ -73,14 +74,14 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
73
74
  */
74
75
  checkConnectionInterfaceAvailability: import("../network/types.js").QueryObject<{
75
76
  slug: string;
76
- applicationId?: string | undefined;
77
- sharedInfraId?: string | undefined;
77
+ applicationId?: string;
78
+ sharedInfraId?: string;
78
79
  }, import("../api/workspace.js").CheckConnectionSlugAvailabilityResponse>;
79
80
  /**
80
81
  * Gets all environments
81
82
  */
82
83
  environments: import("../network/types.js").QueryObject<{
83
- accountId?: string | undefined;
84
+ accountId?: string;
84
85
  }, import("../api/workspace.js").EnvironmentReadResponse[]>;
85
86
  /**
86
87
  * Gets environment by Id
@@ -113,7 +114,7 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
113
114
  */
114
115
  allEmbeddedLinksInWorkspace: import("../network/types.js").QueryObject<{
115
116
  workspaceId: string;
116
- name?: string | undefined;
117
+ name?: string;
117
118
  }, import("../api/workspace.js").WorkspaceEmbeddedLinkReadResponse[]>;
118
119
  /**
119
120
  * Creates an embedded link in a workspace
@@ -158,7 +159,7 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
158
159
  allEmbeddedLinksInApplication: import("../network/types.js").QueryObject<{
159
160
  workspaceId: string;
160
161
  applicationId: string;
161
- name?: string | undefined;
162
+ name?: string;
162
163
  }, import("../api/workspace.js").ApplicationEmbeddedLinkReadResponse[]>;
163
164
  /**
164
165
  * Creates an embedded link in an application
@@ -197,9 +198,9 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
197
198
  * Gets all workspaces
198
199
  */
199
200
  workspaces: import("../network/types.js").QueryObject<{
200
- name?: string | undefined;
201
- aclOnly?: boolean | undefined;
202
- accountId?: string | undefined;
201
+ name?: string;
202
+ aclOnly?: boolean;
203
+ accountId?: string;
203
204
  }, import("../api/workspace.js").WorkspaceReadResponse[]>;
204
205
  /**
205
206
  * Gets a workspace
@@ -232,8 +233,8 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
232
233
  */
233
234
  applications: import("../network/types.js").QueryObject<{
234
235
  workspaceId: string;
235
- name?: string | undefined;
236
- stackVersionId?: string | undefined;
236
+ name?: string;
237
+ stackVersionId?: string;
237
238
  }, import("../api/workspace.js").ApplicationReadResponse[]>;
238
239
  /**
239
240
  * Gets an application
@@ -254,8 +255,8 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
254
255
  */
255
256
  allSharedInfra: import("../network/types.js").QueryObject<{
256
257
  workspaceId: string;
257
- name?: string | undefined;
258
- stackVersionId?: string | undefined;
258
+ name?: string;
259
+ stackVersionId?: string;
259
260
  }, import("../api/workspace.js").SharedInfraDetailsResponse[]>;
260
261
  /**
261
262
  * Gets a shared infra
@@ -299,8 +300,8 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
299
300
  * Gets account workflows
300
301
  */
301
302
  accountWorkflows: import("../network/types.js").QueryObject<{
302
- $type?: "CREATE_API" | "CREATE_APP" | "CREATE_INFRA" | undefined;
303
- name?: string | undefined;
303
+ $type?: "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
304
+ name?: string;
304
305
  }, import("../api/workspace.js").WorkflowResponse[]>;
305
306
  /**
306
307
  * Gets workflows from a stack
@@ -321,19 +322,19 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
321
322
  * @deprecated consume from Workspace Manager API
322
323
  */
323
324
  accountVariables: import("../network/types.js").QueryObject<{
324
- accountId?: string | undefined;
325
- name?: string | undefined;
326
- page?: number | undefined;
327
- size?: number | undefined;
328
- sortBy?: "NAME" | "VALUE" | "CREATED_AT" | undefined;
329
- sortDir?: "ASC" | "DESC" | undefined;
325
+ accountId?: string;
326
+ name?: string;
327
+ page?: number;
328
+ size?: number;
329
+ sortBy?: "NAME" | "VALUE" | "CREATED_AT";
330
+ sortDir?: "ASC" | "DESC";
330
331
  }, import("../api/workspace.js").PaginatedAccountVariableResponse>;
331
332
  /**
332
333
  * Get an account variable by name
333
334
  * @deprecated consume from Workspace Manager API
334
335
  */
335
336
  getAccountVariable: import("../network/types.js").QueryObject<{
336
- accountId?: string | undefined;
337
+ accountId?: string;
337
338
  name: string;
338
339
  }, import("../api/workspace.js").AccountVariableResponse>;
339
340
  /**
@@ -341,7 +342,7 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
341
342
  * @deprecated consume from Workspace Manager API
342
343
  */
343
344
  accountVariableUsage: import("../network/types.js").QueryObject<{
344
- accountId?: string | undefined;
345
+ accountId?: string;
345
346
  name: string;
346
347
  }, import("../api/workspace.js").AccountVariableUsageResponse>;
347
348
  /**
@@ -372,21 +373,21 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
372
373
  */
373
374
  workspaceVariables: import("../network/types.js").QueryObject<{
374
375
  workspaceId: string;
375
- accountId?: string | undefined;
376
- page?: number | undefined;
377
- size?: number | undefined;
378
- sortBy?: "NAME" | "VALUE" | "CREATED_AT" | undefined;
379
- sortDir?: "ASC" | "DESC" | undefined;
380
- mandate?: boolean | undefined;
381
- name?: string | undefined;
382
- showEmptyValues?: boolean | undefined;
376
+ accountId?: string;
377
+ page?: number;
378
+ size?: number;
379
+ sortBy?: "NAME" | "VALUE" | "CREATED_AT";
380
+ sortDir?: "ASC" | "DESC";
381
+ mandate?: boolean;
382
+ name?: string;
383
+ showEmptyValues?: boolean;
383
384
  }, import("../api/workspace.js").PaginatedWorkspaceVariableResponse>;
384
385
  /**
385
386
  * Get a workspace variable by name
386
387
  * @deprecated consume from Workspace Manager API
387
388
  */
388
389
  getWorkspaceVariable: import("../network/types.js").QueryObject<{
389
- accountId?: string | undefined;
390
+ accountId?: string;
390
391
  workspaceId: string;
391
392
  name: string;
392
393
  }, import("../api/workspace.js").WorkspaceVariableResponse>;
@@ -404,7 +405,7 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
404
405
  */
405
406
  linksInWorkspace: import("../network/types.js").QueryObject<{
406
407
  workspaceId: string;
407
- name?: string | undefined;
408
+ name?: string;
408
409
  }, import("../api/workspace.js").WorkspaceLinkReadResponse[]>;
409
410
  /**
410
411
  * Adds a link to a workspace
@@ -505,114 +506,66 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
505
506
  /**
506
507
  * Gets stacks in a workspace. This fn is only used for permission purposes.
507
508
  */
508
- stacks: OperationObject<{
509
- workspaceId: string;
510
- }>;
509
+ stacks: OperationObject<Parameters<typeof workspaceStackControllergetStacks>[0]>;
511
510
  /**
512
511
  * List workspace context inputs for a plugin or action in a stack. This fn is only used for permission purposes.
513
512
  */
514
- listConsolidatedWorkspaceContext: OperationObject<{
515
- workspaceId: string;
516
- stackVersionId: string;
517
- $type: "action" | "workflow" | "plugin";
518
- envName?: string | undefined;
519
- externalId?: string | undefined;
520
- }>;
513
+ listConsolidatedWorkspaceContext: OperationObject<Parameters<typeof contextControllerlistConsolidatedContext>[0]>;
521
514
  /**
522
515
  * List account context inputs for a plugin or action in a stack. This fn is only used for permission purposes.
523
516
  */
524
- listConsolidatedContext: OperationObject<{
525
- stackVersionId: string;
526
- $type: "action" | "workflow" | "plugin";
527
- envName?: string | undefined;
528
- externalId?: string | undefined;
529
- }>;
517
+ listConsolidatedContext: OperationObject<Parameters<typeof contextControllerlistAccountContext>[0]>;
530
518
  /**
531
519
  * Save workspace context inputs for a plugin or action in a stack. This fn is only used for permission purposes.
532
520
  */
533
- saveContextInWorkspace: OperationObject<{
534
- workspaceId: string;
535
- stackVersionId: string;
536
- externalId: string;
537
- $type: "action" | "workflow" | "plugin";
538
- contextValuesRequest: import("../api/workspace.js").ContextValuesRequest;
539
- }>;
521
+ saveContextInWorkspace: OperationObject<Parameters<typeof contextV2ControlleraddTypedContextInWorkspace>[0]>;
540
522
  /**
541
523
  * Save workspace context inputs for a plugin or action in the account. This fn is only used for permission purposes.
542
524
  */
543
- saveContextInAccount: OperationObject<{
544
- stackVersionId: string;
545
- externalId: string;
546
- $type: "action" | "workflow" | "plugin";
547
- contextValuesRequest: import("../api/workspace.js").ContextValuesRequest;
548
- }>;
525
+ saveContextInAccount: OperationObject<Parameters<typeof contextV2ControlleraddTypedContextInAccount>[0]>;
549
526
  /**
550
527
  * Add stack to workspace. This fn is only used for permission purposes.
551
528
  */
552
- addStackInWorkspace: OperationObject<{
553
- workspaceId: string;
554
- addStackInWorkspaceRequest: import("../api/workspace.js").AddStackInWorkspaceRequest;
555
- }>;
529
+ addStackInWorkspace: OperationObject<Parameters<typeof workspaceStackControlleraddStack>[0]>;
556
530
  /**
557
531
  * Removes a stack from a workspace. This fn is only used for permission purposes.
558
532
  */
559
- removeStackFromWorkspace: OperationObject<{
560
- workspaceId: string;
561
- stackVersionId: string;
562
- }>;
533
+ removeStackFromWorkspace: OperationObject<Parameters<typeof workspaceStackControllerdeleteStack>[0]>;
563
534
  /**
564
535
  * Gets a stack in a workspace . This fn is only used for permission purposes.
565
536
  */
566
- stackInWorkspace: OperationObject<{
567
- workspaceId: string;
568
- stackVersionId: string;
569
- }>;
537
+ stackInWorkspace: OperationObject<Parameters<typeof workspaceStackControllergetStackById>[0]>;
570
538
  /**
571
539
  * Deletes a workspace . This fn is only used for permission purposes.
572
540
  */
573
- deleteWorkspace: OperationObject<{
574
- workspaceId: string;
575
- }>;
541
+ deleteWorkspace: OperationObject<Parameters<typeof workspaceControllerdelete>[0]>;
576
542
  /**
577
543
  * Deletes an application. This fn is only used for permission purposes.
578
544
  */
579
- deleteApplication: OperationObject<{
580
- workspaceId: string;
581
- applicationId: string;
582
- accountId?: string | undefined;
583
- }>;
545
+ deleteApplication: OperationObject<Parameters<typeof workspaceApplicationControllerdeleteApplication>[0]>;
584
546
  /**
585
547
  * Deletes an infra. This fn is only used for permission purposes.
586
548
  */
587
- deleteInfra: OperationObject<{
588
- workspaceId: string;
589
- sharedInfraId: string;
590
- }>;
549
+ deleteInfra: OperationObject<Parameters<typeof workspaceSharedInfrastructureControllerdeleteSharedInfra>[0]>;
591
550
  /**
592
551
  * Gets the detail of an application. This fn is only used for permission purposes.
593
552
  */
594
- applicationDetail: OperationObject<{
595
- workspaceId: string;
596
- applicationId: string;
597
- }>;
553
+ applicationDetail: OperationObject<Parameters<typeof workspaceApplicationControllergetApplication>[0]>;
598
554
  /**
599
555
  * Gets the detail of an infra. This fn is only used for permission purposes.
600
556
  */
601
- infraDetail: OperationObject<{
602
- workspaceId: string;
603
- sharedInfraId: string;
604
- }>;
557
+ infraDetail: OperationObject<Parameters<typeof workspaceSharedInfrastructureControllergetSharedInfrastructure>[0]>;
605
558
  /**
606
559
  * Get all workspaces without stack version and favorites filter
607
560
  */
608
561
  getWorkspacesWithoutStackFilter: import("../network/types.js").QueryObject<{
609
- name?: string | undefined;
610
- aclOnly?: boolean | undefined;
611
- accountId?: string | undefined;
612
- page?: number | undefined;
613
- size?: number | undefined;
614
- sortBy?: "NAME" | "DESCRIPTION" | undefined;
615
- sortDir?: "ASC" | "DESC" | undefined;
562
+ name?: string;
563
+ aclOnly?: boolean;
564
+ accountId?: string;
565
+ page?: number;
566
+ size?: number;
567
+ sortBy?: "NAME" | "DESCRIPTION";
568
+ sortDir?: "ASC" | "DESC";
616
569
  }, import("../api/workspace.js").WorkspacePageResponse>;
617
570
  /**
618
571
  * List all stacks with context for given account and given stackVersionId list.
@@ -1 +1 @@
1
- {"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../src/client/workspace.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAqF7C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,eAAe,EAA4C,eAAe,CAAC,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAC3H;;QAEI;IACJ,iBAAiB,EAAkE,eAAe,CAAC,UAAU,CAAC,OAAO,+CAA+C,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IACzK;;QAEI;IACJ,WAAW,EAA2E,eAAe,CAAC,UAAU,CAAC,OAAO,wDAAwD,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IACrL;;QAEI;IACJ,iBAAiB,EAA+D,eAAe,CAAC,UAAU,CAAC,OAAO,4CAA4C,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IACnK;;QAEI;IACJ,WAAW,EAAiF,eAAe,CAAC,UAAU,CAAC,OAAO,8DAA8D,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IACjM;;OAEG;IACH,+BAA+B;;;;;;;;yDAAmE;IAClG;;OAEG;IACH,wBAAwB;;+DAAsE;IAC9F;;;OAGG;IACH,6BAA6B;;;;gBAA6D;IAE1F;;;OAGG;IACH,2BAA2B;;;gBAA2D;CACvF;AAED,eAAO,MAAM,eAAe,iBAAwB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stack-spot/portal-network",
3
- "version": "0.198.2",
3
+ "version": "0.198.3",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -370,6 +370,7 @@ export type KnowledgeSourcesConfigRequest = {
370
370
  sealed?: boolean | null;
371
371
  };
372
372
  export type AgentMode = "autonomous" | "plan_approval" | "plan_and_critical_approval";
373
+ export type AgentMemory = "vector" | "buffer";
373
374
  export type NewAgentRequest = {
374
375
  /** LLM model name */
375
376
  model_name?: string | null;
@@ -401,6 +402,8 @@ export type NewAgentRequest = {
401
402
  } | null;
402
403
  /** Agent mode */
403
404
  mode?: AgentMode;
405
+ /** Agent memory */
406
+ memory?: AgentMemory;
404
407
  /** Available models for this particular agent */
405
408
  available_models_ids?: string[];
406
409
  };
@@ -559,6 +562,7 @@ export type AgentModel = {
559
562
  updated_by?: string | null;
560
563
  updated_at?: string | null;
561
564
  available_llm_models?: AgentLlmModelDto[];
565
+ memory?: AgentMemory;
562
566
  };
563
567
  export type UpdateAgentRequest = {
564
568
  use_only?: boolean | null;
@@ -594,6 +598,8 @@ export type UpdateAgentRequest = {
594
598
  mode?: AgentMode | null;
595
599
  /** Available models for this particular agent */
596
600
  available_models_ids?: string[];
601
+ /** Agent memory */
602
+ memory?: AgentMemory;
597
603
  };
598
604
  export type ForkAgentRequest = {
599
605
  /** Agent slug to fork */