@stack-spot/portal-network 0.198.2 → 0.198.4

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 (45) hide show
  1. package/CHANGELOG.md +14 -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 +124 -124
  11. package/dist/client/agent-tools.d.ts.map +1 -1
  12. package/dist/client/agent-tools.js +10 -1
  13. package/dist/client/agent-tools.js.map +1 -1
  14. package/dist/client/agent.d.ts +46 -46
  15. package/dist/client/agent.d.ts.map +1 -1
  16. package/dist/client/ai.d.ts +106 -106
  17. package/dist/client/ai.d.ts.map +1 -1
  18. package/dist/client/api-management.d.ts +2 -2
  19. package/dist/client/cloud-account.d.ts +13 -13
  20. package/dist/client/cloud-platform-horizon.d.ts +19 -19
  21. package/dist/client/cloud-platform.d.ts +50 -50
  22. package/dist/client/cloud-runtimes.d.ts +4 -4
  23. package/dist/client/cloud-services.d.ts +17 -17
  24. package/dist/client/cloud-services.d.ts.map +1 -1
  25. package/dist/client/code-shift.d.ts +261 -261
  26. package/dist/client/content.d.ts +127 -132
  27. package/dist/client/content.d.ts.map +1 -1
  28. package/dist/client/data-integration.d.ts +55 -55
  29. package/dist/client/data-integration.d.ts.map +1 -1
  30. package/dist/client/discover.d.ts +8 -8
  31. package/dist/client/discover.d.ts.map +1 -1
  32. package/dist/client/event-bus.d.ts.map +1 -1
  33. package/dist/client/gen-ai-inference.d.ts +20 -20
  34. package/dist/client/insights.d.ts +7 -7
  35. package/dist/client/notification.d.ts +10 -10
  36. package/dist/client/runtime-manager.d.ts +8 -8
  37. package/dist/client/workflow.d.ts +10 -10
  38. package/dist/client/workspace-ai.d.ts +48 -48
  39. package/dist/client/workspace-manager.d.ts +77 -77
  40. package/dist/client/workspace-search.d.ts +2 -2
  41. package/dist/client/workspace.d.ts +58 -105
  42. package/dist/client/workspace.d.ts.map +1 -1
  43. package/package.json +1 -1
  44. package/src/api/agent-tools.ts +6 -0
  45. package/src/client/agent-tools.ts +10 -1
@@ -1,5 +1,5 @@
1
1
  import { HttpError } from '@oazapfts/runtime';
2
- import { Pageable } from '../api/content.js';
2
+ import { getListOfInputs, Pageable } from '../api/content.js';
3
3
  import { StackspotAPIError } from '../error/StackspotAPIError.js';
4
4
  import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient.js';
5
5
  import { OperationObject } from '../network/types.js';
@@ -30,28 +30,28 @@ declare class ContentClient extends ReactQueryNetworkClient {
30
30
  * Gets all stack version by a list of ids
31
31
  */
32
32
  allStackVersionByIds: import("../network/types.js").QueryObject<{
33
- xWorkspaceId?: string | undefined;
33
+ xWorkspaceId?: string;
34
34
  filterStackVersionRequest: import("../api/content.js").FilterStackVersionRequest;
35
35
  }, import("../api/content.js").GetStackVersionResponse[]>;
36
36
  /**
37
37
  * Gets all studios
38
38
  */
39
39
  studios: import("../network/types.js").QueryObject<Omit<{
40
- xWorkspaceId?: string | undefined;
41
- filter?: string | undefined;
40
+ xWorkspaceId?: string;
41
+ filter?: string;
42
42
  }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/content.js").StudioResponse[]>;
43
43
  /**
44
44
  * Gets all studios
45
45
  */
46
46
  studiosWithPagination: import("../network/types.js").InfiniteQueryObject<Omit<{
47
- xWorkspaceId?: string | undefined;
47
+ xWorkspaceId?: string;
48
48
  authorization: string;
49
- filter?: string | undefined;
50
- view?: "ALL" | "FAVORITES" | undefined;
51
- startersOnly?: boolean | undefined;
52
- infraOnly?: boolean | undefined;
53
- workspaceId?: string | undefined;
54
- hasBaseWorkflows?: boolean | undefined;
49
+ filter?: string;
50
+ view?: "FAVORITES" | "ALL";
51
+ startersOnly?: boolean;
52
+ infraOnly?: boolean;
53
+ workspaceId?: string;
54
+ hasBaseWorkflows?: boolean;
55
55
  pageable: Pageable;
56
56
  }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/content.js").PageStudioResponse, "content">;
57
57
  /**
@@ -63,7 +63,7 @@ declare class ContentClient extends ReactQueryNetworkClient {
63
63
  */
64
64
  studio: import("../network/types.js").QueryObject<{
65
65
  studioIdOrSlug: string;
66
- xWorkspaceId?: string | undefined;
66
+ xWorkspaceId?: string;
67
67
  }, import("../api/content.js").StudioResponse>;
68
68
  /**
69
69
  * Creates a studio
@@ -133,7 +133,7 @@ declare class ContentClient extends ReactQueryNetworkClient {
133
133
  * Gets stacks from a given studio
134
134
  */
135
135
  stacksFromStudios: import("../network/types.js").QueryObject<{
136
- xWorkspaceId?: string | undefined;
136
+ xWorkspaceId?: string;
137
137
  studioSlug: string;
138
138
  pageable: Pageable;
139
139
  filterStackRequest: import("../api/content.js").FilterStackRequest;
@@ -142,7 +142,7 @@ declare class ContentClient extends ReactQueryNetworkClient {
142
142
  * Gets stacks from a given studio
143
143
  */
144
144
  stacksFromStudio: import("../network/types.js").QueryObject<{
145
- xWorkspaceId?: string | undefined;
145
+ xWorkspaceId?: string;
146
146
  studioSlug: string;
147
147
  pageable: Pageable;
148
148
  filterStackV2Request: import("../api/content.js").FilterStackV2Request;
@@ -153,32 +153,32 @@ declare class ContentClient extends ReactQueryNetworkClient {
153
153
  stackFromStudio: import("../network/types.js").QueryObject<{
154
154
  studioSlug: string;
155
155
  stackSlug: string;
156
- semanticVersion?: string | undefined;
157
- status?: ("DRAFT" | "PUBLISHED" | "DEPRECATED" | "ARCHIVED" | "UNPUBLISHED")[] | undefined;
158
- xWorkspaceId?: string | undefined;
156
+ semanticVersion?: string;
157
+ status?: ("DRAFT" | "PUBLISHED" | "DEPRECATED" | "ARCHIVED" | "UNPUBLISHED")[];
158
+ xWorkspaceId?: string;
159
159
  }, import("../api/content.js").GetStackVersionResponse>;
160
160
  /**
161
161
  * Lists all versions of a Stack
162
162
  */
163
163
  versionsOfStack: import("../network/types.js").QueryObject<{
164
164
  stackId: string;
165
- xWorkspaceId?: string | undefined;
166
- startersOnly?: boolean | undefined;
167
- infraOnly?: boolean | undefined;
168
- workspaceId?: string | undefined;
165
+ xWorkspaceId?: string;
166
+ startersOnly?: boolean;
167
+ infraOnly?: boolean;
168
+ workspaceId?: string;
169
169
  }, import("../api/content.js").StackVersionListResponse[]>;
170
170
  /**
171
171
  * Gets workflows from a given studio
172
172
  */
173
173
  workflowsFromStudio: import("../network/types.js").InfiniteQueryObject<{
174
174
  studioSlug: string;
175
- xWorkspaceId?: string | undefined;
176
- displayName?: string | undefined;
177
- $type?: "extension" | "create" | "deploy" | "destroy" | "reusable" | "rollback" | "starter" | undefined;
178
- slug?: string | undefined;
179
- description?: string | undefined;
180
- status?: ("PUBLISHED" | "DEPRECATED")[] | undefined;
181
- baseOnly?: boolean | undefined;
175
+ xWorkspaceId?: string;
176
+ displayName?: string;
177
+ $type?: "create" | "deploy" | "destroy" | "reusable" | "rollback" | "starter" | "extension";
178
+ slug?: string;
179
+ description?: string;
180
+ status?: ("PUBLISHED" | "DEPRECATED")[];
181
+ baseOnly?: boolean;
182
182
  pageable: Pageable;
183
183
  }, import("../api/content.js").PageGetWorkflowsByStudioResponse, "content">;
184
184
  /**
@@ -187,15 +187,15 @@ declare class ContentClient extends ReactQueryNetworkClient {
187
187
  stacksUsesWorkflow: import("../network/types.js").QueryObject<{
188
188
  studioSlug: string;
189
189
  workflowSlug: string;
190
- filter?: string | undefined;
190
+ filter?: string;
191
191
  pageable: Pageable;
192
192
  }, import("../api/content.js").PageWorkflowStacksResponse>;
193
193
  /**
194
194
  * Get list of workflow by stack.
195
195
  */
196
196
  workflowsFromStackUsage: import("../network/types.js").QueryObject<{
197
- page?: number | undefined;
198
- size?: number | undefined;
197
+ page?: number;
198
+ size?: number;
199
199
  studioSlug: string;
200
200
  workflowSlug: string;
201
201
  stackId: string;
@@ -213,12 +213,12 @@ declare class ContentClient extends ReactQueryNetworkClient {
213
213
  * Gets list of workflow that are used by a specific workflow.
214
214
  */
215
215
  workflowsUsageOfWorkflow: import("../network/types.js").QueryObject<{
216
- page?: number | undefined;
217
- size?: number | undefined;
216
+ page?: number;
217
+ size?: number;
218
218
  studioSlug: string;
219
219
  workflowSlug: string;
220
- filter?: string | undefined;
221
- $type?: "extension" | "create" | "deploy" | "destroy" | "reusable" | "rollback" | "starter" | undefined;
220
+ filter?: string;
221
+ $type?: "create" | "deploy" | "destroy" | "reusable" | "rollback" | "starter" | "extension";
222
222
  }, import("../api/content.js").PageGetWorkflowUsageOfWorkflowResponse>;
223
223
  /**
224
224
  * Gets list of workflow versions that are used by a specific workflow.
@@ -233,10 +233,10 @@ declare class ContentClient extends ReactQueryNetworkClient {
233
233
  * Gets all account workflows
234
234
  */
235
235
  accountWorkflows: import("../network/types.js").InfiniteQueryObject<{
236
- filter?: string | undefined;
237
- accountOnly?: boolean | undefined;
238
- page?: number | undefined;
239
- size?: number | undefined;
236
+ filter?: string;
237
+ accountOnly?: boolean;
238
+ page?: number;
239
+ size?: number;
240
240
  }, import("../api/content.js").PageAccountWorkflowResponse, "content">;
241
241
  /**
242
242
  * Gets workflow doc
@@ -245,7 +245,7 @@ declare class ContentClient extends ReactQueryNetworkClient {
245
245
  studioSlug: string;
246
246
  documentationId: string;
247
247
  language: string;
248
- status?: string | undefined;
248
+ status?: string;
249
249
  }, import("../api/content.js").DocumentationResponse>;
250
250
  /**
251
251
  * Gets a workflow by slug
@@ -253,8 +253,8 @@ declare class ContentClient extends ReactQueryNetworkClient {
253
253
  workflow: import("../network/types.js").QueryObject<{
254
254
  studioSlug: string;
255
255
  workflowSlug: string;
256
- version?: string | undefined;
257
- xWorkspaceId?: string | undefined;
256
+ version?: string;
257
+ xWorkspaceId?: string;
258
258
  }, import("../api/content.js").GetWorkflowResponse>;
259
259
  /**
260
260
  * Gets all the versions of a workflow
@@ -262,8 +262,8 @@ declare class ContentClient extends ReactQueryNetworkClient {
262
262
  workflowVersions: import("../network/types.js").QueryObject<{
263
263
  studioSlug: string;
264
264
  workflowSlug: string;
265
- status?: "PUBLISHED" | "DEPRECATED" | undefined;
266
- xWorkspaceId?: string | undefined;
265
+ status?: "PUBLISHED" | "DEPRECATED";
266
+ xWorkspaceId?: string;
267
267
  pageable: Pageable;
268
268
  }, import("../api/content.js").PageListWorkflowVersionsResponse>;
269
269
  /**
@@ -271,10 +271,10 @@ declare class ContentClient extends ReactQueryNetworkClient {
271
271
  */
272
272
  workflowsFromStackVersion: import("../network/types.js").QueryObject<{
273
273
  stackVersionId: string;
274
- xWorkspaceId?: string | undefined;
275
- displayName?: string | undefined;
276
- $type?: string | undefined;
277
- target?: string | undefined;
274
+ xWorkspaceId?: string;
275
+ displayName?: string;
276
+ $type?: string;
277
+ target?: string;
278
278
  pageable: Pageable;
279
279
  }, import("../api/content.js").PageListStackWorkflowResponse>;
280
280
  /**
@@ -297,7 +297,7 @@ declare class ContentClient extends ReactQueryNetworkClient {
297
297
  availableWorkflowVersionsBySlug: import("../network/types.js").QueryObject<{
298
298
  studioSlug: string;
299
299
  workflowSlug: string;
300
- xWorkspaceId?: string | undefined;
300
+ xWorkspaceId?: string;
301
301
  range: string;
302
302
  pageable: Pageable;
303
303
  }, import("../api/content.js").PageGetAvailableWorkflowVersionsResponse>;
@@ -314,7 +314,7 @@ declare class ContentClient extends ReactQueryNetworkClient {
314
314
  workspacesUsingStack: import("../network/types.js").QueryObject<{
315
315
  studioSlug: string;
316
316
  stackSlug: string;
317
- filter?: string | undefined;
317
+ filter?: string;
318
318
  pageable: Pageable;
319
319
  }, import("../api/content.js").PageStackWorkspaceViewResponse>;
320
320
  /**
@@ -345,10 +345,10 @@ declare class ContentClient extends ReactQueryNetworkClient {
345
345
  * Gets list of Workflow versions using the plugin
346
346
  */
347
347
  workflowVersionsPluginUsage: import("../network/types.js").QueryObject<{
348
- page?: number | undefined;
349
- size?: number | undefined;
350
- sort?: "PLUGIN_VERSION" | "WORKFLOW_VERSION" | undefined;
351
- direction?: "ASC" | "DESC" | undefined;
348
+ page?: number;
349
+ size?: number;
350
+ sort?: "PLUGIN_VERSION" | "WORKFLOW_VERSION";
351
+ direction?: "ASC" | "DESC";
352
352
  studioSlug: string;
353
353
  workflowSlug: string;
354
354
  pluginId: string;
@@ -359,7 +359,7 @@ declare class ContentClient extends ReactQueryNetworkClient {
359
359
  stacksUsingPlugin: import("../network/types.js").QueryObject<{
360
360
  studioSlug: string;
361
361
  pluginSlug: string;
362
- filter?: string | undefined;
362
+ filter?: string;
363
363
  pageable: Pageable;
364
364
  }, import("../api/content.js").PagePluginStacksResponse>;
365
365
  /**
@@ -369,7 +369,7 @@ declare class ContentClient extends ReactQueryNetworkClient {
369
369
  studioSlug: string;
370
370
  pluginSlug: string;
371
371
  stackId: string;
372
- xWorkspaceId?: string | undefined;
372
+ xWorkspaceId?: string;
373
373
  pageable: Pageable;
374
374
  }, import("../api/content.js").PageGetPluginStackUsageResponse>;
375
375
  /**
@@ -378,9 +378,9 @@ declare class ContentClient extends ReactQueryNetworkClient {
378
378
  pluginsRequiresPlugin: import("../network/types.js").QueryObject<{
379
379
  studioSlug: string;
380
380
  pluginSlug: string;
381
- studio?: string | undefined;
382
- filter?: string | undefined;
383
- $type?: "INFRA" | "APP" | undefined;
381
+ studio?: string;
382
+ filter?: string;
383
+ $type?: "INFRA" | "APP";
384
384
  pageable: Pageable;
385
385
  }, import("../api/content.js").PagePluginViewUsageMonitorResponse>;
386
386
  /**
@@ -398,8 +398,8 @@ declare class ContentClient extends ReactQueryNetworkClient {
398
398
  starterUsingPlugin: import("../network/types.js").QueryObject<{
399
399
  studioSlug: string;
400
400
  pluginSlug: string;
401
- filter?: string | undefined;
402
- $type?: "INFRA" | "APP" | undefined;
401
+ filter?: string;
402
+ $type?: "APP" | "INFRA";
403
403
  pageable: Pageable;
404
404
  }, import("../api/content.js").PagePluginStarterResponse>;
405
405
  /**
@@ -417,7 +417,7 @@ declare class ContentClient extends ReactQueryNetworkClient {
417
417
  infrastructureUsingPlugin: import("../network/types.js").QueryObject<{
418
418
  studioSlug: string;
419
419
  pluginSlug: string;
420
- filter?: string | undefined;
420
+ filter?: string;
421
421
  pageable: Pageable;
422
422
  }, import("../api/content.js").PagePluginInfrastructureViewResponse>;
423
423
  /**
@@ -435,7 +435,7 @@ declare class ContentClient extends ReactQueryNetworkClient {
435
435
  applicationUsingPlugin: import("../network/types.js").QueryObject<{
436
436
  studioSlug: string;
437
437
  pluginSlug: string;
438
- filter?: string | undefined;
438
+ filter?: string;
439
439
  pageable: Pageable;
440
440
  }, import("../api/content.js").PagePluginApplicationsResponse>;
441
441
  /**
@@ -444,8 +444,8 @@ declare class ContentClient extends ReactQueryNetworkClient {
444
444
  workflowsUsingPlugin: import("../network/types.js").QueryObject<{
445
445
  studioSlug: string;
446
446
  pluginSlug: string;
447
- filter?: string | undefined;
448
- $type?: "extension" | "create" | "deploy" | "destroy" | "reusable" | "rollback" | "starter" | undefined;
447
+ filter?: string;
448
+ $type?: "create" | "deploy" | "destroy" | "reusable" | "rollback" | "starter" | "extension";
449
449
  pageable: Pageable;
450
450
  }, import("../api/content.js").PageGetWorkflowsUsingPluginResponse>;
451
451
  /**
@@ -509,7 +509,7 @@ declare class ContentClient extends ReactQueryNetworkClient {
509
509
  */
510
510
  deletePluginVersion: import("../network/types.js").MutationObject<{
511
511
  pluginVersionId: string;
512
- $override?: boolean | undefined;
512
+ $override?: boolean;
513
513
  }, unknown>;
514
514
  /**
515
515
  * Gets Action by Slug and Studio
@@ -517,8 +517,8 @@ declare class ContentClient extends ReactQueryNetworkClient {
517
517
  action: import("../network/types.js").QueryObject<{
518
518
  studioSlug: string;
519
519
  actionSlug: string;
520
- version?: string | undefined;
521
- xWorkspaceId?: string | undefined;
520
+ version?: string;
521
+ xWorkspaceId?: string;
522
522
  }, import("../api/content.js").GetActionResponse>;
523
523
  /**
524
524
  * Gets all Versions of Action
@@ -526,49 +526,49 @@ declare class ContentClient extends ReactQueryNetworkClient {
526
526
  actionVersions: import("../network/types.js").QueryObject<{
527
527
  studioSlug: string;
528
528
  actionSlug: string;
529
- status?: ("DRAFT" | "PUBLISHED" | "DEPRECATED" | "ARCHIVED" | "REPROVED")[] | undefined;
530
- xWorkspaceId?: string | undefined;
531
- requiresConnection?: boolean | undefined;
529
+ status?: ("DRAFT" | "PUBLISHED" | "DEPRECATED" | "REPROVED" | "ARCHIVED")[];
530
+ xWorkspaceId?: string;
531
+ requiresConnection?: boolean;
532
532
  }, import("../api/content.js").ListActionVersionResponse>;
533
533
  /**
534
534
  * Gets Action by Action Version Id
535
535
  */
536
536
  actionByActionVersionId: import("../network/types.js").QueryObject<{
537
537
  actionVersionId: string;
538
- xWorkspaceId?: string | undefined;
538
+ xWorkspaceId?: string;
539
539
  }, import("../api/content.js").GetActionResponse>;
540
540
  /**
541
541
  * Gets list of Actions V2
542
542
  */
543
543
  actionsV2: import("../network/types.js").InfiniteQueryObject<{
544
- studioSlug?: string | undefined;
545
- actionSlug?: string | undefined;
546
- requiresConnection?: boolean | undefined;
547
- filter?: string | undefined;
548
- accountOnly?: boolean | undefined;
544
+ studioSlug?: string;
545
+ actionSlug?: string;
546
+ requiresConnection?: boolean;
547
+ filter?: string;
548
+ accountOnly?: boolean;
549
549
  pageable: Pageable;
550
550
  }, import("../api/content.js").PageListActionV2Response, "content">;
551
551
  /**
552
552
  * Gets list of Actions V1
553
553
  */
554
554
  actions: import("../network/types.js").QueryObject<{
555
- studioSlug?: string | undefined;
556
- name?: string | undefined;
557
- $type?: string | undefined;
558
- technologies?: string[] | undefined;
559
- status?: ("PENDING_APPROVAL" | "PENDING_CREATOR_UPDATE" | "PUBLICATION_APPROVED" | "PUBLICATION_DECLINED")[] | undefined;
560
- filter?: string | undefined;
561
- accountOnly?: boolean | undefined;
562
- xWorkspaceId?: string | undefined;
563
- requiresConnection?: boolean | undefined;
555
+ studioSlug?: string;
556
+ name?: string;
557
+ $type?: string;
558
+ technologies?: string[];
559
+ status?: ("PENDING_APPROVAL" | "PENDING_CREATOR_UPDATE" | "PUBLICATION_APPROVED" | "PUBLICATION_DECLINED")[];
560
+ filter?: string;
561
+ accountOnly?: boolean;
562
+ xWorkspaceId?: string;
563
+ requiresConnection?: boolean;
564
564
  }, import("../api/content.js").ActionResponse[]>;
565
565
  /**
566
566
  * Get list of Actions in Stack
567
567
  */
568
568
  actionsInStack: import("../network/types.js").QueryObject<{
569
569
  stackVersionId: string;
570
- forPluginVersionId?: string | undefined;
571
- xWorkspaceId?: string | undefined;
570
+ forPluginVersionId?: string;
571
+ xWorkspaceId?: string;
572
572
  }, import("../api/content.js").GetStackActionResponse[]>;
573
573
  /**
574
574
  * Add Action to Stack Version
@@ -621,7 +621,7 @@ declare class ContentClient extends ReactQueryNetworkClient {
621
621
  studioSlug: string;
622
622
  actionSlug: string;
623
623
  version: string;
624
- xWorkspaceId?: string | undefined;
624
+ xWorkspaceId?: string;
625
625
  }, string>;
626
626
  /**
627
627
  * Get Action Version range by Action Slug
@@ -629,16 +629,16 @@ declare class ContentClient extends ReactQueryNetworkClient {
629
629
  actionVersionRange: import("../network/types.js").QueryObject<{
630
630
  studioSlug: string;
631
631
  actionSlug: string;
632
- xWorkspaceId?: string | undefined;
632
+ xWorkspaceId?: string;
633
633
  range: string;
634
- requiresConnection?: boolean | undefined;
634
+ requiresConnection?: boolean;
635
635
  pageable: Pageable;
636
636
  }, import("../api/content.js").PageActionVersionDto>;
637
637
  /**
638
638
  * Get Actions from Stack
639
639
  */
640
640
  actionsFromStack: import("../network/types.js").QueryObject<{
641
- xWorkspaceId?: string | undefined;
641
+ xWorkspaceId?: string;
642
642
  stackVersionId: string;
643
643
  pageable: Pageable;
644
644
  filterStackActionRequest: import("../api/content.js").FilterStackActionRequest;
@@ -656,7 +656,7 @@ declare class ContentClient extends ReactQueryNetworkClient {
656
656
  * Gets a list of plugin versions from list of ids.
657
657
  */
658
658
  pluginVersionsByIds: import("../network/types.js").QueryObject<{
659
- xWorkspaceId?: string | undefined;
659
+ xWorkspaceId?: string;
660
660
  filterPluginVersionByIdsRequest: import("../api/content.js").FilterPluginVersionByIdsRequest;
661
661
  }, import("../api/content.js").PluginVersionResponse[]>;
662
662
  /**
@@ -664,18 +664,13 @@ declare class ContentClient extends ReactQueryNetworkClient {
664
664
  */
665
665
  listPluginsFromStack: import("../network/types.js").QueryObject<{
666
666
  stackVersionId: string;
667
- starterType?: "INFRA" | "APP" | undefined;
668
- xWorkspaceId?: string | undefined;
667
+ starterType?: "APP" | "INFRA";
668
+ xWorkspaceId?: string;
669
669
  }, import("../api/content.js").GetStackPluginsResponse>;
670
670
  /**
671
671
  * Gets the inputs of a specific Action. This fn is only used for permission purposes.
672
672
  */
673
- actionInputs: OperationObject<{
674
- actionVersionId: string;
675
- xWorkspaceId?: string | undefined;
676
- accountId?: string | undefined;
677
- accountIdHeader?: string | undefined;
678
- }>;
673
+ actionInputs: OperationObject<Parameters<typeof getListOfInputs>[0]>;
679
674
  /**
680
675
  * Gets action versions by ids
681
676
  */
@@ -687,61 +682,61 @@ declare class ContentClient extends ReactQueryNetworkClient {
687
682
  */
688
683
  startersInStackVersion: import("../network/types.js").QueryObject<{
689
684
  stackVersionId: string;
690
- $type?: "INFRA" | "APP" | undefined;
691
- appAllowed?: boolean | undefined;
692
- xWorkspaceId?: string | undefined;
685
+ $type?: "APP" | "INFRA";
686
+ appAllowed?: boolean;
687
+ xWorkspaceId?: string;
693
688
  }, import("../api/content.js").StarterResponseWithRange[]>;
694
689
  /**
695
690
  * Gets a stack from a stack version id
696
691
  */
697
692
  getStackByVersionId: import("../network/types.js").QueryObject<{
698
693
  stackVersionId: string;
699
- xWorkspaceId?: string | undefined;
694
+ xWorkspaceId?: string;
700
695
  }, import("../api/content.js").GetStackVersionResponse>;
701
696
  /**
702
697
  * View all stacks V3 by account
703
698
  */
704
699
  getAllStacksV3: import("../network/types.js").QueryObject<{
705
- isAccountHolder?: boolean | undefined;
706
- view?: "ALL" | "FAVORITES" | undefined;
707
- filter?: string | undefined;
708
- page?: number | undefined;
709
- size?: number | undefined;
710
- sort?: "NAME" | "VERSION" | "DATE" | "STUDIO_NAME" | undefined;
711
- direction?: "ASC" | "DESC" | undefined;
700
+ isAccountHolder?: boolean;
701
+ view?: "FAVORITES" | "ALL";
702
+ filter?: string;
703
+ page?: number;
704
+ size?: number;
705
+ sort?: "NAME" | "DATE" | "STUDIO_NAME" | "VERSION";
706
+ direction?: "ASC" | "DESC";
712
707
  }, import("../api/content.js").PageGetStackV3Response>;
713
708
  /**
714
709
  * View all stacks by account
715
710
  */
716
711
  getAllStacks: import("../network/types.js").QueryObject<{
717
- xWorkspaceId?: string | undefined;
718
- isAccountHolder?: boolean | undefined;
712
+ xWorkspaceId?: string;
713
+ isAccountHolder?: boolean;
719
714
  }, import("../api/content.js").GetStackV2Response[]>;
720
715
  /**
721
716
  * List most used stack versions
722
717
  */
723
718
  listMostUsedStackVersions: import("../network/types.js").QueryObject<{
724
- filter?: string | undefined;
719
+ filter?: string;
725
720
  pageable: Pageable;
726
721
  }, import("../api/content.js").PageStackVersionMostUsedListResponse>;
727
722
  /**
728
723
  * List plugins v2
729
724
  */
730
725
  pluginsV2: import("../network/types.js").InfiniteQueryObject<{
731
- studioSlug?: string | undefined;
732
- pluginVersionId?: string | undefined;
733
- name?: string | undefined;
734
- $type?: "INFRA" | "APP" | undefined;
735
- technologies?: string[] | undefined;
736
- status?: ("PENDING_APPROVAL" | "PENDING_CREATOR_UPDATE" | "PUBLICATION_APPROVED" | "PUBLICATION_DECLINED")[] | undefined;
737
- filter?: string | undefined;
738
- starterType?: "INFRA" | "APP" | undefined;
739
- accountOnly?: boolean | undefined;
740
- xWorkspaceId?: string | undefined;
741
- page?: number | undefined;
742
- size?: number | undefined;
743
- sort?: "NAME" | "VERSION" | undefined;
744
- direction?: "ASC" | "DESC" | undefined;
726
+ studioSlug?: string;
727
+ pluginVersionId?: string;
728
+ name?: string;
729
+ $type?: "INFRA" | "APP";
730
+ technologies?: string[];
731
+ status?: ("PENDING_APPROVAL" | "PENDING_CREATOR_UPDATE" | "PUBLICATION_APPROVED" | "PUBLICATION_DECLINED")[];
732
+ filter?: string;
733
+ starterType?: "APP" | "INFRA";
734
+ accountOnly?: boolean;
735
+ xWorkspaceId?: string;
736
+ page?: number;
737
+ size?: number;
738
+ sort?: "NAME" | "VERSION";
739
+ direction?: "ASC" | "DESC";
745
740
  }, import("../api/content.js").PagePluginVersionResponse, "content">;
746
741
  /**
747
742
  * Get plugin
@@ -749,8 +744,8 @@ declare class ContentClient extends ReactQueryNetworkClient {
749
744
  plugin: import("../network/types.js").QueryObject<{
750
745
  studioSlug: string;
751
746
  pluginSlug: string;
752
- version?: string | undefined;
753
- xWorkspaceId?: string | undefined;
747
+ version?: string;
748
+ xWorkspaceId?: string;
754
749
  }, import("../api/content.js").GetPluginResponse>;
755
750
  /**
756
751
  * Deprecate workflow version
@@ -783,7 +778,7 @@ declare class ContentClient extends ReactQueryNetworkClient {
783
778
  */
784
779
  workflowInputs: import("../network/types.js").QueryObject<{
785
780
  workflowVersionId: string;
786
- xWorkspaceId?: string | undefined;
781
+ xWorkspaceId?: string;
787
782
  }, import("../api/content.js").WorkflowInputV2Response>;
788
783
  }
789
784
  export declare const contentClient: ContentClient;
@@ -1 +1 @@
1
- {"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../src/client/content.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EAwFL,QAAQ,EAST,MAAM,gBAAgB,CAAA;AAGvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAMlD,cAAM,aAAc,SAAQ,uBAAuB;;IAKjD,SAAS,CAAC,mBAAmB,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