@stack-spot/portal-network 0.208.0 → 0.208.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.208.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.208.0...portal-network@v0.208.1) (2025-12-16)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * New API Account and Network ([#1897](https://github.com/stack-spot/portal-commons/issues/1897)) ([850a8a8](https://github.com/stack-spot/portal-commons/commit/850a8a8b2d53fe5bc7bd4b62ad6fe0c9a7e27409))
9
+
3
10
  ## [0.208.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.207.0...portal-network@v0.208.0) (2025-12-15)
4
11
 
5
12
 
@@ -158,6 +158,8 @@ export type UserScmInfoResponse = {
158
158
  secretName: string;
159
159
  /** Provider type */
160
160
  provider: "GITHUB" | "GITLAB" | "BITBUCKET" | "AZURE" | "GITLAB_ONPRM";
161
+ /** User email */
162
+ email: string;
161
163
  };
162
164
  export type UserScmInfoRequest = {
163
165
  /** Repository Username */
@@ -278,21 +280,21 @@ export type AccountScmInfoResponse = {
278
280
  export type Value = object;
279
281
  export type Basic = Value & {
280
282
  /** PAT repository Username */
281
- user?: string;
283
+ user: string;
282
284
  /** PAT repository password */
283
- pass?: string;
285
+ pass: string;
284
286
  };
285
287
  export type GithubApp = Value & {
286
288
  /** GithubApp App Id */
287
- appId?: string;
289
+ appId: string;
288
290
  /** GithubApp Client Id */
289
- clientId?: string;
291
+ clientId: string;
290
292
  /** GithubApp Client Secret */
291
- clientSecret?: string;
293
+ clientSecret: string;
292
294
  /** GithubApp Installer Id */
293
- installationId?: string;
295
+ installationId: string;
294
296
  /** GithubApp private key */
295
- privateKey?: string;
297
+ privateKey: string;
296
298
  };
297
299
  export type AccountScmInfoUpdateRequest = {
298
300
  /** SCM Type */
@@ -449,14 +451,14 @@ export type UpdatePasswordRequest = {
449
451
  /** New password */
450
452
  password: string;
451
453
  };
452
- export type UpdateSalesRepresentativesRequest = {
453
- /** List of emails from sales representatives responsible for the account. */
454
- salesRepresentatives: string[];
455
- };
456
454
  export type AccountStatusRequest = {
457
455
  /** Account enabled */
458
456
  enabled: boolean;
459
457
  };
458
+ export type UpdateSalesRepresentativesRequest = {
459
+ /** List of emails from sales representatives responsible for the account. */
460
+ salesRepresentatives: string[];
461
+ };
460
462
  export type AttributeImporter = {
461
463
  /** External user attribute */
462
464
  externalUserAttribute?: string;
@@ -640,6 +642,66 @@ export type ServiceCredentialCreateResponseV2 = {
640
642
  /** Account tenant */
641
643
  tenant: string;
642
644
  };
645
+ export type ResourceTypeDto = {
646
+ /** Id of resource type. */
647
+ id: string;
648
+ /** Name of resource type. */
649
+ name: string;
650
+ /** Slug of resource type. */
651
+ slug: string;
652
+ /** Description of resource type. */
653
+ description: string;
654
+ /** Creation date of resource type. */
655
+ createdAt: string;
656
+ };
657
+ export type ResourceResponse = {
658
+ /** Id of resource. */
659
+ id: string;
660
+ /** Name of resource. */
661
+ name: string;
662
+ /** Description of resource. */
663
+ description?: string;
664
+ "type"?: ResourceTypeDto;
665
+ /** Name of resource. */
666
+ slug: string;
667
+ };
668
+ export type PageResponseResourceResponse = {
669
+ /** Current page content */
670
+ items?: ResourceResponse[];
671
+ /** Total elements found */
672
+ totalElements: number;
673
+ /** Current page number */
674
+ page: number;
675
+ /** Length of current page items */
676
+ size: number;
677
+ /** Total pages found */
678
+ totalPages: number;
679
+ };
680
+ export type ResourceTypeRequest = {
681
+ id?: string;
682
+ slug?: string;
683
+ };
684
+ export type CreateResourceV2Request = {
685
+ /** Resource name */
686
+ name: string;
687
+ /** Resource slug */
688
+ slug: string;
689
+ "type": ResourceTypeRequest;
690
+ /** Resource description */
691
+ description: string;
692
+ /** Resource Parent ID */
693
+ parentId?: string;
694
+ };
695
+ export type IdResponse = {
696
+ /** Id response. */
697
+ id: string;
698
+ };
699
+ export type AddResourceToGroupBySlugAndTypeRequest = {
700
+ /** Resource slug. */
701
+ slug: string;
702
+ /** Resource Type. */
703
+ "type": string;
704
+ };
643
705
  export type FeatureFlagPageRequest = {
644
706
  size?: number;
645
707
  page: number;
@@ -928,10 +990,6 @@ export type CreateAccountRoleRequest = {
928
990
  /** Account Role description */
929
991
  description?: string;
930
992
  };
931
- export type IdResponse = {
932
- /** Id response. */
933
- id: string;
934
- };
935
993
  export type RoleMemberResponse = {
936
994
  /** Member ID */
937
995
  id: string;
@@ -967,29 +1025,6 @@ export type RoleGroupIdsRequest = {
967
1025
  /** List of group IDs to be bound to the role. */
968
1026
  ids: string[];
969
1027
  };
970
- export type ResourceTypeDto = {
971
- /** Id of resource type. */
972
- id: string;
973
- /** Name of resource type. */
974
- name: string;
975
- /** Slug of resource type. */
976
- slug: string;
977
- /** Description of resource type. */
978
- description: string;
979
- /** Creation date of resource type. */
980
- createdAt: string;
981
- };
982
- export type ResourceResponse = {
983
- /** Id of resource. */
984
- id: string;
985
- /** Name of resource. */
986
- name: string;
987
- /** Description of resource. */
988
- description?: string;
989
- "type"?: ResourceTypeDto;
990
- /** Name of resource. */
991
- slug: string;
992
- };
993
1028
  export type CreateResourceRequest = {
994
1029
  /** Account resource name */
995
1030
  name: string;
@@ -1000,6 +1035,46 @@ export type CreateResourceRequest = {
1000
1035
  /** Account resource description */
1001
1036
  description?: string;
1002
1037
  };
1038
+ export type ResourceReviewAnswerDto = {
1039
+ id: string;
1040
+ memberId: string;
1041
+ comment: string;
1042
+ createdAt: string;
1043
+ updatedAt?: string;
1044
+ };
1045
+ export type ViewResourceReviewResponse = {
1046
+ id: string;
1047
+ memberId: string;
1048
+ rating: number;
1049
+ comment?: string;
1050
+ resourceType: string;
1051
+ resourceSlug: string;
1052
+ createdAt: string;
1053
+ updatedAt?: string;
1054
+ reviewAnswers?: ResourceReviewAnswerDto[];
1055
+ };
1056
+ export type PageResponseViewResourceReviewResponse = {
1057
+ /** Current page content */
1058
+ items?: ViewResourceReviewResponse[];
1059
+ /** Total elements found */
1060
+ totalElements: number;
1061
+ /** Current page number */
1062
+ page: number;
1063
+ /** Length of current page items */
1064
+ size: number;
1065
+ /** Total pages found */
1066
+ totalPages: number;
1067
+ };
1068
+ export type CreateResourceReviewRequest = {
1069
+ /** Evaluation grade, represented by an integer between 1 and 5. */
1070
+ rating: number;
1071
+ /** Evaluation comment */
1072
+ comment?: string;
1073
+ };
1074
+ export type CreateReviewAnswerRequest = {
1075
+ /** Comment of the review. */
1076
+ answer: string;
1077
+ };
1003
1078
  export type AccountMemberResponse = {
1004
1079
  /** Account member id */
1005
1080
  id: string;
@@ -1640,6 +1715,43 @@ export type ValidateAccountPartnerDataRequest = {
1640
1715
  /** Email domains list that account users will use to login into StackSpot. Example: zup.com.br */
1641
1716
  domains?: string[];
1642
1717
  };
1718
+ export type PrivilegeResourceTypeIdentificationRequest = {
1719
+ /** Slug of the resource type. */
1720
+ slug?: string;
1721
+ /** ID of the resource type. */
1722
+ id?: string;
1723
+ };
1724
+ export type PrivilegeResourceIdentificationRequest = {
1725
+ "type": PrivilegeResourceTypeIdentificationRequest;
1726
+ /** Slug of the resource. */
1727
+ slug: string;
1728
+ };
1729
+ export type PrivilegeActionIdentificationRequest = {
1730
+ /** ID of the action. */
1731
+ id?: string;
1732
+ /** Slug of the action. */
1733
+ slug?: string;
1734
+ };
1735
+ export type RemovePrivilegeToGroupRequest = {
1736
+ /** List of resources to which the privilege applies. */
1737
+ resources: PrivilegeResourceIdentificationRequest[];
1738
+ /** List of resource types to which the privilege applies. */
1739
+ resource_types: PrivilegeResourceTypeIdentificationRequest[];
1740
+ /** List of actions to which the privilege applies. */
1741
+ actions: PrivilegeActionIdentificationRequest[];
1742
+ /** Whether the privilege is inheritable by child resources. */
1743
+ inheritable: boolean;
1744
+ };
1745
+ export type AddPrivilegeToGroupRequest = {
1746
+ /** List of resources to which the privilege applies. */
1747
+ resources: PrivilegeResourceIdentificationRequest[];
1748
+ /** List of resource types to which the privilege applies. */
1749
+ resource_types: PrivilegeResourceTypeIdentificationRequest[];
1750
+ /** List of actions to which the privilege applies. */
1751
+ actions: PrivilegeActionIdentificationRequest[];
1752
+ /** Whether the privilege is inheritable by child resources. */
1753
+ inheritable: boolean;
1754
+ };
1643
1755
  export type RotateServiceCredentialSecretRequest = {
1644
1756
  /** Service credential secret */
1645
1757
  secret: string;
@@ -1687,6 +1799,16 @@ export type ServiceCredentialAssociateGroupRequest = {
1687
1799
  /** Service credential groups ids */
1688
1800
  teams: string[];
1689
1801
  };
1802
+ export type UpdateResourceReviewRequest = {
1803
+ /** Evaluation grade, represented by an integer between 1 and 5. */
1804
+ rating?: number;
1805
+ /** Evaluation comment */
1806
+ comment?: string;
1807
+ };
1808
+ export type UpdateReviewAnswerRequest = {
1809
+ /** Comment of the review. */
1810
+ answer: string;
1811
+ };
1690
1812
  export type ReadPreferencesResponse = {
1691
1813
  /** Dashboard widgets preferences */
1692
1814
  dashboardWidgets?: string[];
@@ -1903,18 +2025,6 @@ export type PageResponseRoleGroupResponse = {
1903
2025
  /** Total pages found */
1904
2026
  totalPages: number;
1905
2027
  };
1906
- export type PageResponseResourceResponse = {
1907
- /** Current page content */
1908
- items?: ResourceResponse[];
1909
- /** Total elements found */
1910
- totalElements: number;
1911
- /** Current page number */
1912
- page: number;
1913
- /** Length of current page items */
1914
- size: number;
1915
- /** Total pages found */
1916
- totalPages: number;
1917
- };
1918
2028
  export type MembersFromResourceResponse = {
1919
2029
  /** Member ID */
1920
2030
  id: string;
@@ -2232,7 +2342,7 @@ export type PersonalAccountDetailsResponse = {
2232
2342
  /** Custom position of the account owner in the company, if not listed. */
2233
2343
  otherPosition?: string | null;
2234
2344
  /** How the account owner was reached. */
2235
- reachedBy?: (("GOOGLE_SEARCH" | "REFERRAL" | "SOCIAL_MEDIA" | "ONLINE_AD" | "EVENT_CONFERENCE" | "EMAIL_CAMPAIGN" | "FRIEND_COLLEAGUE" | "BLOG_ARTICLE" | "YOUTUBE_VIDEO_CONTENT" | "ZUP_OFFICIAL_CHANNELS" | "OTHER") | null)[] | null;
2345
+ reachedBy?: ("GOOGLE_SEARCH" | "REFERRAL" | "SOCIAL_MEDIA" | "ONLINE_AD" | "EVENT_CONFERENCE" | "EMAIL_CAMPAIGN" | "FRIEND_COLLEAGUE" | "BLOG_ARTICLE" | "YOUTUBE_VIDEO_CONTENT" | "ZUP_OFFICIAL_CHANNELS" | "OTHER")[] | null;
2236
2346
  /** Custom description of how the account owner was reached, if not listed. */
2237
2347
  customReachedBy?: string | null;
2238
2348
  };
@@ -2283,6 +2393,30 @@ export type AccountPartnerResponse = {
2283
2393
  /** Account current status */
2284
2394
  isActive: boolean;
2285
2395
  };
2396
+ export type DeleteResourceRequestV3 = {
2397
+ /** ID of the type of the resource to be deleted */
2398
+ resourceTypeId: string;
2399
+ /** Slug of the resource to be deleted */
2400
+ slug: string;
2401
+ };
2402
+ export type DeleteResourceResponseV3 = {
2403
+ /** Unique identifier of the resource. */
2404
+ id: string;
2405
+ /** Name of the resource. */
2406
+ name: string;
2407
+ /** Slug version of the resource name. */
2408
+ slug: string;
2409
+ /** Optional description of the resource. */
2410
+ description?: string;
2411
+ "type"?: ResourceTypeDto;
2412
+ };
2413
+ export type PageDtoDeleteResourceResponseV3 = {
2414
+ items: DeleteResourceResponseV3[];
2415
+ size: number;
2416
+ totalElements: number;
2417
+ page: number;
2418
+ totalPages: number;
2419
+ };
2286
2420
  /**
2287
2421
  * Retrieves a list of rate limit with the associated service credential.
2288
2422
  */
@@ -2493,6 +2627,13 @@ export declare function updateUserPassword({ memberId, updatePasswordRequest }:
2493
2627
  memberId: string;
2494
2628
  updatePasswordRequest: UpdatePasswordRequest;
2495
2629
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2630
+ /**
2631
+ * Updates an account status based on the provided account ID.
2632
+ */
2633
+ export declare function updateAccountStatus({ accountId, accountStatusRequest }: {
2634
+ accountId: string;
2635
+ accountStatusRequest: AccountStatusRequest;
2636
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2496
2637
  /**
2497
2638
  * Updates the sales representatives associated with an active account.
2498
2639
  */
@@ -2503,7 +2644,7 @@ export declare function updateSalesRepresentatives({ accountId, updateSalesRepre
2503
2644
  /**
2504
2645
  * Enables an account by updating its status.
2505
2646
  */
2506
- export declare function updateAccountStatus({ accountId, accountStatusRequest }: {
2647
+ export declare function updateAccountStatus1({ accountId, accountStatusRequest }: {
2507
2648
  accountId: string;
2508
2649
  accountStatusRequest: AccountStatusRequest;
2509
2650
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
@@ -2578,6 +2719,50 @@ export declare function getServiceCredentials({ size, page, sort, direction, sea
2578
2719
  export declare function createServiceCredential({ serviceCredentialCreateRequestV2 }: {
2579
2720
  serviceCredentialCreateRequestV2: ServiceCredentialCreateRequestV2;
2580
2721
  }, opts?: Oazapfts.RequestOpts): Promise<ServiceCredentialCreateResponseV2>;
2722
+ /**
2723
+ * Retrieves a list of resources.
2724
+ */
2725
+ export declare function getResources({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2726
+ size?: any;
2727
+ page?: any;
2728
+ sort?: string;
2729
+ direction?: "ASC" | "DESC";
2730
+ search?: string;
2731
+ filterMode?: "MATCH" | "CONTAINS" | "IN";
2732
+ filterBy?: string;
2733
+ filterValue?: string;
2734
+ multiFilterMode?: string;
2735
+ filterIn?: any;
2736
+ }, opts?: Oazapfts.RequestOpts): Promise<PageResponseResourceResponse>;
2737
+ /**
2738
+ * Creates a new resource for the account.
2739
+ */
2740
+ export declare function createResource({ createResourceV2Request }: {
2741
+ createResourceV2Request: CreateResourceV2Request;
2742
+ }, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
2743
+ /**
2744
+ * Get Group Resources
2745
+ */
2746
+ export declare function getGroupResources({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2747
+ groupId: string;
2748
+ size?: any;
2749
+ page?: any;
2750
+ sort?: string;
2751
+ direction?: "ASC" | "DESC";
2752
+ search?: string;
2753
+ filterMode?: "MATCH" | "CONTAINS" | "IN";
2754
+ filterBy?: string;
2755
+ filterValue?: string;
2756
+ multiFilterMode?: string;
2757
+ filterIn?: any;
2758
+ }, opts?: Oazapfts.RequestOpts): Promise<PageResponseResourceResponse>;
2759
+ /**
2760
+ * Add Multiple Resources to Group
2761
+ */
2762
+ export declare function addResourcesToGroupBySlugAndType({ groupId, body }: {
2763
+ groupId: string;
2764
+ body: AddResourceToGroupBySlugAndTypeRequest[];
2765
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2581
2766
  /**
2582
2767
  * Returns a paged list of Feature Flags associated with the current user's account.
2583
2768
  */
@@ -2770,7 +2955,7 @@ export declare function bindRoleGroups({ roleId, roleGroupIdsRequest }: {
2770
2955
  /**
2771
2956
  * Retrieves a list of resources.
2772
2957
  */
2773
- export declare function getResources({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2958
+ export declare function getResources1({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2774
2959
  size?: any;
2775
2960
  page?: any;
2776
2961
  sort?: string;
@@ -2785,9 +2970,43 @@ export declare function getResources({ size, page, sort, direction, search, filt
2785
2970
  /**
2786
2971
  * Creates a new resource for the account.
2787
2972
  */
2788
- export declare function createResource({ createResourceRequest }: {
2973
+ export declare function createResource1({ createResourceRequest }: {
2789
2974
  createResourceRequest: CreateResourceRequest;
2790
2975
  }, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
2976
+ /**
2977
+ * Get all resources reviews
2978
+ */
2979
+ export declare function getReviews({ resourceSlug, resourceTypeSlug, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2980
+ resourceSlug: string;
2981
+ resourceTypeSlug: string;
2982
+ size?: any;
2983
+ page?: any;
2984
+ sort?: string;
2985
+ direction?: "ASC" | "DESC";
2986
+ search?: string;
2987
+ filterMode?: "MATCH" | "CONTAINS" | "IN";
2988
+ filterBy?: string;
2989
+ filterValue?: string;
2990
+ multiFilterMode?: string;
2991
+ filterIn?: any;
2992
+ }, opts?: Oazapfts.RequestOpts): Promise<PageResponseViewResourceReviewResponse>;
2993
+ /**
2994
+ * Create a resource review
2995
+ */
2996
+ export declare function createReview({ resourceSlug, resourceTypeSlug, xMemberId, createResourceReviewRequest }: {
2997
+ resourceSlug: string;
2998
+ resourceTypeSlug: string;
2999
+ xMemberId: string;
3000
+ createResourceReviewRequest: CreateResourceReviewRequest;
3001
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
3002
+ /**
3003
+ * Create an answer to a review
3004
+ */
3005
+ export declare function createReviewAnswer({ reviewId, xMemberId, createReviewAnswerRequest }: {
3006
+ reviewId: string;
3007
+ xMemberId: string;
3008
+ createReviewAnswerRequest: CreateReviewAnswerRequest;
3009
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
2791
3010
  /**
2792
3011
  * Retrieves a list of account members for a specified account.
2793
3012
  */
@@ -2947,7 +3166,7 @@ export declare function bindRoles({ groupId, groupRoleIdsRequest }: {
2947
3166
  /**
2948
3167
  * Get Group Resources
2949
3168
  */
2950
- export declare function getGroupResources({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3169
+ export declare function getGroupResources1({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2951
3170
  groupId: string;
2952
3171
  size?: any;
2953
3172
  page?: any;
@@ -2991,9 +3210,11 @@ export declare function bindGroupMembers({ groupId, groupMemberIdsRequest }: {
2991
3210
  groupMemberIdsRequest: GroupMemberIdsRequest;
2992
3211
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2993
3212
  /**
2994
- * List all Account Extensions
3213
+ * List extensions that user is allowed to manage
2995
3214
  */
2996
- export declare function listExtensions(opts?: Oazapfts.RequestOpts): Promise<ExtensionReadResponse[]>;
3215
+ export declare function listManageableExtensions({ actions }: {
3216
+ actions?: string[];
3217
+ }, opts?: Oazapfts.RequestOpts): Promise<ExtensionReadResponse[]>;
2997
3218
  /**
2998
3219
  * Create Account Extension
2999
3220
  */
@@ -3221,6 +3442,20 @@ export declare function createPartner({ createAccountPartnerOrderRequest }: {
3221
3442
  export declare function validateNewPartnerData({ validateAccountPartnerDataRequest }: {
3222
3443
  validateAccountPartnerDataRequest: ValidateAccountPartnerDataRequest;
3223
3444
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
3445
+ /**
3446
+ * Removes privileges to group's default role.
3447
+ */
3448
+ export declare function removePermissions({ groupId, body }: {
3449
+ groupId: string;
3450
+ body: RemovePrivilegeToGroupRequest[];
3451
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
3452
+ /**
3453
+ * Add privileges to group's default role.
3454
+ */
3455
+ export declare function addPrivilegesToGroup({ groupId, body }: {
3456
+ groupId: string;
3457
+ body: AddPrivilegeToGroupRequest[];
3458
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
3224
3459
  /**
3225
3460
  * Rotates the secret of a service credential.
3226
3461
  */
@@ -3326,6 +3561,38 @@ export declare function cancelSecretDelete({ secretId }: {
3326
3561
  * Migrate Api Key Secrets to new version
3327
3562
  */
3328
3563
  export declare function migrateApiKeySecretsToV2(opts?: Oazapfts.RequestOpts): Promise<never>;
3564
+ /**
3565
+ * Delete a resources review
3566
+ */
3567
+ export declare function deleteReview({ reviewId, xMemberId }: {
3568
+ reviewId: string;
3569
+ xMemberId: string;
3570
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
3571
+ /**
3572
+ * Update a resources review
3573
+ */
3574
+ export declare function updateReview({ reviewId, xMemberId, updateResourceReviewRequest }: {
3575
+ reviewId: string;
3576
+ xMemberId: string;
3577
+ updateResourceReviewRequest: UpdateResourceReviewRequest;
3578
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
3579
+ /**
3580
+ * Delete an answer to a review
3581
+ */
3582
+ export declare function deleteReviewAnswer({ answerId, reviewId, xMemberId }: {
3583
+ answerId: string;
3584
+ reviewId: string;
3585
+ xMemberId: string;
3586
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
3587
+ /**
3588
+ * Edit an evaluation comment
3589
+ */
3590
+ export declare function editReviewAnswer({ reviewId, answerId, xMemberId, updateReviewAnswerRequest }: {
3591
+ reviewId: string;
3592
+ answerId: string;
3593
+ xMemberId: string;
3594
+ updateReviewAnswerRequest: UpdateReviewAnswerRequest;
3595
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
3329
3596
  /**
3330
3597
  * Retrieves the preferences of a specific member.
3331
3598
  */
@@ -3588,21 +3855,6 @@ export declare function getRoleGroups1({ roleId, size, page, sort, direction, se
3588
3855
  multiFilterMode?: string;
3589
3856
  filterIn?: any;
3590
3857
  }, opts?: Oazapfts.RequestOpts): Promise<PageResponseRoleGroupResponse>;
3591
- /**
3592
- * Retrieves a list of resources.
3593
- */
3594
- export declare function getResources1({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3595
- size?: any;
3596
- page?: any;
3597
- sort?: string;
3598
- direction?: "ASC" | "DESC";
3599
- search?: string;
3600
- filterMode?: "MATCH" | "CONTAINS" | "IN";
3601
- filterBy?: string;
3602
- filterValue?: string;
3603
- multiFilterMode?: string;
3604
- filterIn?: any;
3605
- }, opts?: Oazapfts.RequestOpts): Promise<PageResponseResourceResponse>;
3606
3858
  /**
3607
3859
  * Retrieves a list of members for a specified resource.
3608
3860
  */
@@ -3729,22 +3981,6 @@ export declare function getRoles5({ groupId, size, page, sort, direction, search
3729
3981
  multiFilterMode?: string;
3730
3982
  filterIn?: any;
3731
3983
  }, opts?: Oazapfts.RequestOpts): Promise<PageResponseRoleResponse>;
3732
- /**
3733
- * Get Group Resources
3734
- */
3735
- export declare function getGroupResources1({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3736
- groupId: string;
3737
- size?: any;
3738
- page?: any;
3739
- sort?: string;
3740
- direction?: "ASC" | "DESC";
3741
- search?: string;
3742
- filterMode?: "MATCH" | "CONTAINS" | "IN";
3743
- filterBy?: string;
3744
- filterValue?: string;
3745
- multiFilterMode?: string;
3746
- filterIn?: any;
3747
- }, opts?: Oazapfts.RequestOpts): Promise<PageResponseResourceResponse>;
3748
3984
  /**
3749
3985
  * Get Group members
3750
3986
  */
@@ -4037,6 +4273,12 @@ export declare function getPartnersSharingAllowed({ name }: {
4037
4273
  * Validate Partner association limit
4038
4274
  */
4039
4275
  export declare function validatePartnerAssociationLimit(opts?: Oazapfts.RequestOpts): Promise<unknown>;
4276
+ /**
4277
+ * Deletes a resource from the account by resource type and resource slug.
4278
+ */
4279
+ export declare function deleteResource({ deleteResourceRequestV3 }: {
4280
+ deleteResourceRequestV3: DeleteResourceRequestV3;
4281
+ }, opts?: Oazapfts.RequestOpts): Promise<PageDtoDeleteResourceResponseV3>;
4040
4282
  /**
4041
4283
  * Disassociate Group to Service Credential
4042
4284
  */
@@ -4054,7 +4296,7 @@ export declare function removeRoleFromMember({ roleId, memberId }: {
4054
4296
  /**
4055
4297
  * Deletes a resource from the account.
4056
4298
  */
4057
- export declare function deleteResource({ resourceId }: {
4299
+ export declare function deleteResource1({ resourceId }: {
4058
4300
  resourceId: string;
4059
4301
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
4060
4302
  /**