@stack-spot/portal-network 0.224.1 → 0.226.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 CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.226.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.225.0...portal-network@v0.226.0) (2026-03-02)
4
+
5
+
6
+ ### Features
7
+
8
+ * 3399 paralelismo qc refactor try ([#2038](https://github.com/stack-spot/portal-commons/issues/2038)) ([4df4772](https://github.com/stack-spot/portal-commons/commit/4df477239bc6606086f63149dfeaffb036c086df))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Change id to name ([#2063](https://github.com/stack-spot/portal-commons/issues/2063)) ([88400af](https://github.com/stack-spot/portal-commons/commit/88400af94e78624955ab464d67eaea732efb3fa7))
14
+
15
+ ## [0.225.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.224.1...portal-network@v0.225.0) (2026-03-02)
16
+
17
+
18
+ ### Features
19
+
20
+ * Service Credential AI prop ([#2066](https://github.com/stack-spot/portal-commons/issues/2066)) ([1204ceb](https://github.com/stack-spot/portal-commons/commit/1204cebabb3ca0b89abdb41b7fee29c43f80e61e))
21
+
3
22
  ## [0.224.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.224.0...portal-network@v0.224.1) (2026-02-26)
4
23
 
5
24
 
@@ -667,22 +667,20 @@ export type PageResponseServiceCredentialResponseV3 = {
667
667
  export type Permissions = {
668
668
  /** Resource ID */
669
669
  resourceId: string;
670
- /** Action ID */
671
670
  actions: string[];
672
671
  };
673
672
  export type ServiceCredentialCreateRequestV3 = {
674
673
  /** Service credential name */
675
674
  name: string;
676
- /** Service credential expiration days */
677
- description: string;
675
+ /** Service credential description */
676
+ description?: string;
678
677
  /** Service credential expiration days */
679
678
  expirationDays?: number;
680
679
  /** Service credential token expiration minutes */
681
680
  tokenExpirationMinutes?: number;
682
- /** GroupId's */
683
- groups: string[];
681
+ groups?: string[];
684
682
  /** List of permissions */
685
- permissions: Permissions[];
683
+ permissions?: Permissions[];
686
684
  };
687
685
  export type ServiceCredentialIdResponseV3 = {
688
686
  /** Service Credential Id */
@@ -2141,6 +2139,35 @@ export type AccountPartnerAdminDataUpdateRequest = {
2141
2139
  /** Admin email */
2142
2140
  email: string;
2143
2141
  };
2142
+ export type ResourceTypeIdentifierRequest = {
2143
+ /** Slug of the resource type. */
2144
+ slug?: string;
2145
+ /** ID of the resource type. */
2146
+ id?: string;
2147
+ };
2148
+ export type DeleteResourceRequestV3 = {
2149
+ "type": ResourceTypeIdentifierRequest;
2150
+ /** Slug of the resource to be deleted */
2151
+ slug: string;
2152
+ };
2153
+ export type DeleteResourceResponseV3 = {
2154
+ /** Unique identifier of the resource. */
2155
+ id: string;
2156
+ /** Name of the resource. */
2157
+ name: string;
2158
+ /** Slug version of the resource name. */
2159
+ slug: string;
2160
+ /** Optional description of the resource. */
2161
+ description?: string;
2162
+ "type"?: ResourceTypeResponse;
2163
+ };
2164
+ export type PageDtoDeleteResourceResponseV3 = {
2165
+ items: DeleteResourceResponseV3[];
2166
+ size: number;
2167
+ totalElements: number;
2168
+ page: number;
2169
+ totalPages: number;
2170
+ };
2144
2171
  export type ResourceTypeActionResponse = {
2145
2172
  /** Unique identifier of the action. */
2146
2173
  id: string;
@@ -2583,35 +2610,6 @@ export type AccountPartnerResponse = {
2583
2610
  /** Account current status */
2584
2611
  isActive: boolean;
2585
2612
  };
2586
- export type ResourceTypeIdentifierRequest = {
2587
- /** Slug of the resource type. */
2588
- slug?: string;
2589
- /** ID of the resource type. */
2590
- id?: string;
2591
- };
2592
- export type DeleteResourceRequestV3 = {
2593
- "type": ResourceTypeIdentifierRequest;
2594
- /** Slug of the resource to be deleted */
2595
- slug: string;
2596
- };
2597
- export type DeleteResourceResponseV3 = {
2598
- /** Unique identifier of the resource. */
2599
- id: string;
2600
- /** Name of the resource. */
2601
- name: string;
2602
- /** Slug version of the resource name. */
2603
- slug: string;
2604
- /** Optional description of the resource. */
2605
- description?: string;
2606
- "type"?: ResourceTypeResponse;
2607
- };
2608
- export type PageDtoDeleteResourceResponseV3 = {
2609
- items: DeleteResourceResponseV3[];
2610
- size: number;
2611
- totalElements: number;
2612
- page: number;
2613
- totalPages: number;
2614
- };
2615
2613
  /**
2616
2614
  * Get service credential permissions
2617
2615
  */
@@ -4113,6 +4111,27 @@ export declare function updatePartnerAccountAdminData({ id, accountPartnerAdminD
4113
4111
  id: string;
4114
4112
  accountPartnerAdminDataUpdateRequest: AccountPartnerAdminDataUpdateRequest;
4115
4113
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
4114
+ /**
4115
+ * Retrieve AI Resources
4116
+ */
4117
+ export declare function getAiResources({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
4118
+ size?: any;
4119
+ page?: any;
4120
+ sort?: string;
4121
+ direction?: "ASC" | "DESC";
4122
+ search?: string;
4123
+ filterMode?: "MATCH" | "CONTAINS" | "IN";
4124
+ filterBy?: string;
4125
+ filterValue?: string;
4126
+ multiFilterMode?: string;
4127
+ filterIn?: any;
4128
+ }, opts?: Oazapfts.RequestOpts): Promise<PageResponseResourceResponse>;
4129
+ /**
4130
+ * Deletes a resource from the account by resource type and resource slug.
4131
+ */
4132
+ export declare function deleteResource({ deleteResourceRequestV3 }: {
4133
+ deleteResourceRequestV3: DeleteResourceRequestV3;
4134
+ }, opts?: Oazapfts.RequestOpts): Promise<PageDtoDeleteResourceResponseV3>;
4116
4135
  /**
4117
4136
  * Get Resource Types
4118
4137
  */
@@ -4502,7 +4521,7 @@ export declare function getResourceGroups1({ resourceId, size, page, sort, direc
4502
4521
  /**
4503
4522
  * Get Resource Types
4504
4523
  */
4505
- export declare function getResourceTypes2({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
4524
+ export declare function getResourceTypes2({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, aiResources }: {
4506
4525
  size?: any;
4507
4526
  page?: any;
4508
4527
  sort?: string;
@@ -4513,6 +4532,7 @@ export declare function getResourceTypes2({ size, page, sort, direction, search,
4513
4532
  filterValue?: string;
4514
4533
  multiFilterMode?: string;
4515
4534
  filterIn?: any;
4535
+ aiResources?: boolean;
4516
4536
  }, opts?: Oazapfts.RequestOpts): Promise<ResourceTypeResponse[]>;
4517
4537
  /**
4518
4538
  * Validate permission access
@@ -4627,12 +4647,6 @@ export declare function getPartnersSharingAllowed({ name }: {
4627
4647
  * Validate Partner association limit
4628
4648
  */
4629
4649
  export declare function validatePartnerAssociationLimit(opts?: Oazapfts.RequestOpts): Promise<unknown>;
4630
- /**
4631
- * Deletes a resource from the account by resource type and resource slug.
4632
- */
4633
- export declare function deleteResource({ deleteResourceRequestV3 }: {
4634
- deleteResourceRequestV3: DeleteResourceRequestV3;
4635
- }, opts?: Oazapfts.RequestOpts): Promise<PageDtoDeleteResourceResponseV3>;
4636
4650
  /**
4637
4651
  * Disassociate Group to Service Credential
4638
4652
  */