@stack-spot/portal-network 0.202.1 → 0.203.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 (126) hide show
  1. package/CHANGELOG.md +247 -0
  2. package/dist/api/account.d.ts +344 -91
  3. package/dist/api/account.d.ts.map +1 -1
  4. package/dist/api/account.js +203 -46
  5. package/dist/api/account.js.map +1 -1
  6. package/dist/api/accountAssetManager.d.ts +309 -0
  7. package/dist/api/accountAssetManager.d.ts.map +1 -0
  8. package/dist/api/accountAssetManager.js +169 -0
  9. package/dist/api/accountAssetManager.js.map +1 -0
  10. package/dist/api/agent-tools.d.ts +623 -141
  11. package/dist/api/agent-tools.d.ts.map +1 -1
  12. package/dist/api/agent-tools.js +168 -45
  13. package/dist/api/agent-tools.js.map +1 -1
  14. package/dist/api/ai.d.ts +135 -24
  15. package/dist/api/ai.d.ts.map +1 -1
  16. package/dist/api/ai.js +79 -26
  17. package/dist/api/ai.js.map +1 -1
  18. package/dist/api/codeShift.d.ts +127 -9
  19. package/dist/api/codeShift.d.ts.map +1 -1
  20. package/dist/api/codeShift.js +73 -6
  21. package/dist/api/codeShift.js.map +1 -1
  22. package/dist/api/discover.d.ts +79 -4
  23. package/dist/api/discover.d.ts.map +1 -1
  24. package/dist/api/discover.js +73 -7
  25. package/dist/api/discover.js.map +1 -1
  26. package/dist/api/edpBfa.d.ts +215 -0
  27. package/dist/api/edpBfa.d.ts.map +1 -0
  28. package/dist/api/edpBfa.js +87 -0
  29. package/dist/api/edpBfa.js.map +1 -0
  30. package/dist/api/workspace-ai.d.ts +41 -0
  31. package/dist/api/workspace-ai.d.ts.map +1 -1
  32. package/dist/api/workspace-ai.js +34 -0
  33. package/dist/api/workspace-ai.js.map +1 -1
  34. package/dist/api-addresses.d.ts +13 -20
  35. package/dist/api-addresses.d.ts.map +1 -1
  36. package/dist/api-addresses.js +60 -17
  37. package/dist/api-addresses.js.map +1 -1
  38. package/dist/apis-itau.json +16 -0
  39. package/dist/apis.json +16 -0
  40. package/dist/client/account-asset-manager.d.ts +112 -0
  41. package/dist/client/account-asset-manager.d.ts.map +1 -0
  42. package/dist/client/account-asset-manager.js +160 -0
  43. package/dist/client/account-asset-manager.js.map +1 -0
  44. package/dist/client/account.d.ts +11 -9
  45. package/dist/client/account.d.ts.map +1 -1
  46. package/dist/client/account.js +11 -8
  47. package/dist/client/account.js.map +1 -1
  48. package/dist/client/agent-tools.d.ts +108 -3
  49. package/dist/client/agent-tools.d.ts.map +1 -1
  50. package/dist/client/agent-tools.js +95 -10
  51. package/dist/client/agent-tools.js.map +1 -1
  52. package/dist/client/ai.d.ts +148 -1
  53. package/dist/client/ai.d.ts.map +1 -1
  54. package/dist/client/ai.js +149 -17
  55. package/dist/client/ai.js.map +1 -1
  56. package/dist/client/code-shift.d.ts +54 -3
  57. package/dist/client/code-shift.d.ts.map +1 -1
  58. package/dist/client/code-shift.js +46 -1
  59. package/dist/client/code-shift.js.map +1 -1
  60. package/dist/client/data-integration.d.ts.map +1 -1
  61. package/dist/client/data-integration.js +8 -1
  62. package/dist/client/data-integration.js.map +1 -1
  63. package/dist/client/discover.d.ts +16 -2
  64. package/dist/client/discover.d.ts.map +1 -1
  65. package/dist/client/discover.js +28 -1
  66. package/dist/client/discover.js.map +1 -1
  67. package/dist/client/edp-bfa.d.ts +16 -0
  68. package/dist/client/edp-bfa.d.ts.map +1 -0
  69. package/dist/client/edp-bfa.js +24 -0
  70. package/dist/client/edp-bfa.js.map +1 -0
  71. package/dist/client/notification.d.ts +7 -0
  72. package/dist/client/notification.d.ts.map +1 -1
  73. package/dist/client/notification.js +10 -1
  74. package/dist/client/notification.js.map +1 -1
  75. package/dist/client/types.d.ts +11 -3
  76. package/dist/client/types.d.ts.map +1 -1
  77. package/dist/client/workspace-ai.d.ts +13 -3
  78. package/dist/client/workspace-ai.d.ts.map +1 -1
  79. package/dist/client/workspace-ai.js +17 -3
  80. package/dist/client/workspace-ai.js.map +1 -1
  81. package/dist/client/workspace-manager.d.ts +15 -0
  82. package/dist/client/workspace-manager.d.ts.map +1 -1
  83. package/dist/client/workspace-manager.js +19 -1
  84. package/dist/client/workspace-manager.js.map +1 -1
  85. package/dist/error/dictionary/accountAssetManager.d.ts +11 -0
  86. package/dist/error/dictionary/accountAssetManager.d.ts.map +1 -0
  87. package/dist/error/dictionary/accountAssetManager.js +11 -0
  88. package/dist/error/dictionary/accountAssetManager.js.map +1 -0
  89. package/dist/index.d.ts +3 -1
  90. package/dist/index.d.ts.map +1 -1
  91. package/dist/index.js +3 -1
  92. package/dist/index.js.map +1 -1
  93. package/dist/network/NetworkClient.d.ts.map +1 -1
  94. package/dist/network/NetworkClient.js +12 -2
  95. package/dist/network/NetworkClient.js.map +1 -1
  96. package/dist/network/types.d.ts +1 -0
  97. package/dist/network/types.d.ts.map +1 -1
  98. package/package.json +2 -2
  99. package/readme.md +39 -1
  100. package/src/api/account.ts +592 -165
  101. package/src/api/accountAssetManager.ts +771 -0
  102. package/src/api/agent-tools.ts +824 -188
  103. package/src/api/ai.ts +206 -38
  104. package/src/api/codeShift.ts +233 -12
  105. package/src/api/discover.ts +153 -10
  106. package/src/api/edpBfa.ts +472 -0
  107. package/src/api/workspace-ai.ts +83 -0
  108. package/src/api-addresses.ts +93 -37
  109. package/src/apis-itau.json +16 -0
  110. package/src/apis.json +16 -0
  111. package/src/client/account-asset-manager.ts +100 -0
  112. package/src/client/account.ts +11 -7
  113. package/src/client/agent-tools.ts +64 -16
  114. package/src/client/ai.ts +129 -19
  115. package/src/client/code-shift.ts +29 -0
  116. package/src/client/data-integration.ts +9 -2
  117. package/src/client/discover.ts +15 -2
  118. package/src/client/edp-bfa.ts +24 -0
  119. package/src/client/notification.ts +6 -1
  120. package/src/client/types.ts +12 -3
  121. package/src/client/workspace-ai.ts +21 -6
  122. package/src/client/workspace-manager.ts +13 -0
  123. package/src/error/dictionary/accountAssetManager.ts +12 -0
  124. package/src/index.ts +4 -1
  125. package/src/network/NetworkClient.ts +13 -4
  126. package/src/network/types.ts +1 -0
@@ -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 */
@@ -400,8 +402,6 @@ export type AccountMemberStackspotIamDto = {
400
402
  export type UpdateUserRequest = {
401
403
  /** User username */
402
404
  username?: string;
403
- /** User email */
404
- email?: string;
405
405
  /** User first name */
406
406
  firstName?: string;
407
407
  /** User last name */
@@ -449,14 +449,14 @@ export type UpdatePasswordRequest = {
449
449
  /** New password */
450
450
  password: string;
451
451
  };
452
- export type UpdateSalesRepresentativesRequest = {
453
- /** List of emails from sales representatives responsible for the account. */
454
- salesRepresentatives: string[];
455
- };
456
452
  export type AccountStatusRequest = {
457
453
  /** Account enabled */
458
454
  enabled: boolean;
459
455
  };
456
+ export type UpdateSalesRepresentativesRequest = {
457
+ /** List of emails from sales representatives responsible for the account. */
458
+ salesRepresentatives: string[];
459
+ };
460
460
  export type AttributeImporter = {
461
461
  /** External user attribute */
462
462
  externalUserAttribute?: string;
@@ -640,6 +640,66 @@ export type ServiceCredentialCreateResponseV2 = {
640
640
  /** Account tenant */
641
641
  tenant: string;
642
642
  };
643
+ export type ResourceTypeDto = {
644
+ /** Id of resource type. */
645
+ id: string;
646
+ /** Name of resource type. */
647
+ name: string;
648
+ /** Slug of resource type. */
649
+ slug: string;
650
+ /** Description of resource type. */
651
+ description: string;
652
+ /** Creation date of resource type. */
653
+ createdAt: string;
654
+ };
655
+ export type ResourceResponse = {
656
+ /** Id of resource. */
657
+ id: string;
658
+ /** Name of resource. */
659
+ name: string;
660
+ /** Description of resource. */
661
+ description?: string;
662
+ "type"?: ResourceTypeDto;
663
+ /** Name of resource. */
664
+ slug: string;
665
+ };
666
+ export type PageResponseResourceResponse = {
667
+ /** Current page content */
668
+ items?: ResourceResponse[];
669
+ /** Total elements found */
670
+ totalElements: number;
671
+ /** Current page number */
672
+ page: number;
673
+ /** Length of current page items */
674
+ size: number;
675
+ /** Total pages found */
676
+ totalPages: number;
677
+ };
678
+ export type ResourceTypeRequest = {
679
+ id?: string;
680
+ slug?: string;
681
+ };
682
+ export type CreateResourceV2Request = {
683
+ /** Resource name */
684
+ name: string;
685
+ /** Resource slug */
686
+ slug: string;
687
+ "type": ResourceTypeRequest;
688
+ /** Resource description */
689
+ description: string;
690
+ /** Resource Parent ID */
691
+ parentId?: string;
692
+ };
693
+ export type IdResponse = {
694
+ /** Id response. */
695
+ id: string;
696
+ };
697
+ export type AddResourceToGroupBySlugAndTypeRequest = {
698
+ /** Resource slug. */
699
+ slug: string;
700
+ /** Resource Type. */
701
+ "type": string;
702
+ };
643
703
  export type FeatureFlagPageRequest = {
644
704
  size?: number;
645
705
  page: number;
@@ -928,10 +988,6 @@ export type CreateAccountRoleRequest = {
928
988
  /** Account Role description */
929
989
  description?: string;
930
990
  };
931
- export type IdResponse = {
932
- /** Id response. */
933
- id: string;
934
- };
935
991
  export type RoleMemberResponse = {
936
992
  /** Member ID */
937
993
  id: string;
@@ -967,29 +1023,6 @@ export type RoleGroupIdsRequest = {
967
1023
  /** List of group IDs to be bound to the role. */
968
1024
  ids: string[];
969
1025
  };
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
1026
  export type CreateResourceRequest = {
994
1027
  /** Account resource name */
995
1028
  name: string;
@@ -1000,6 +1033,46 @@ export type CreateResourceRequest = {
1000
1033
  /** Account resource description */
1001
1034
  description?: string;
1002
1035
  };
1036
+ export type ResourceReviewAnswerDto = {
1037
+ id: string;
1038
+ memberId: string;
1039
+ comment: string;
1040
+ createdAt: string;
1041
+ updatedAt?: string;
1042
+ };
1043
+ export type ViewResourceReviewResponse = {
1044
+ id: string;
1045
+ memberId: string;
1046
+ rating: number;
1047
+ comment?: string;
1048
+ resourceType: string;
1049
+ resourceSlug: string;
1050
+ createdAt: string;
1051
+ updatedAt?: string;
1052
+ reviewAnswers?: ResourceReviewAnswerDto[];
1053
+ };
1054
+ export type PageResponseViewResourceReviewResponse = {
1055
+ /** Current page content */
1056
+ items?: ViewResourceReviewResponse[];
1057
+ /** Total elements found */
1058
+ totalElements: number;
1059
+ /** Current page number */
1060
+ page: number;
1061
+ /** Length of current page items */
1062
+ size: number;
1063
+ /** Total pages found */
1064
+ totalPages: number;
1065
+ };
1066
+ export type CreateResourceReviewRequest = {
1067
+ /** Evaluation grade, represented by an integer between 1 and 5. */
1068
+ rating: number;
1069
+ /** Evaluation comment */
1070
+ comment?: string;
1071
+ };
1072
+ export type CreateReviewAnswerRequest = {
1073
+ /** Comment of the review. */
1074
+ answer: string;
1075
+ };
1003
1076
  export type AccountMemberResponse = {
1004
1077
  /** Account member id */
1005
1078
  id: string;
@@ -1511,6 +1584,14 @@ export type AccountTrialCreateRequest = {
1511
1584
  reachedBy?: ("GOOGLE_SEARCH" | "REFERRAL" | "SOCIAL_MEDIA" | "ONLINE_AD" | "EVENT_CONFERENCE" | "EMAIL_CAMPAIGN" | "FRIEND_COLLEAGUE" | "BLOG_ARTICLE" | "YOUTUBE_VIDEO_CONTENT" | "ZUP_OFFICIAL_CHANNELS" | "OTHER")[];
1512
1585
  /** The custom channel used for the trial user to reach Stackspot */
1513
1586
  customReachedBy?: string;
1587
+ /** Identify the source of the access (LinkedIn, Facebook, Instagram, etc.) */
1588
+ utmSource?: string;
1589
+ /** Identifies the campaign medium */
1590
+ utmMedium?: string;
1591
+ /** Identifies the campaign name, specific promotion, or slogan. */
1592
+ utmCampaign?: string;
1593
+ /** Identifies the paid term in paid search campaigns (keyword). */
1594
+ utmTerm?: string;
1514
1595
  };
1515
1596
  export type PersonalAccountExpirationDataResponse = {
1516
1597
  /** Account id */
@@ -1640,6 +1721,43 @@ export type ValidateAccountPartnerDataRequest = {
1640
1721
  /** Email domains list that account users will use to login into StackSpot. Example: zup.com.br */
1641
1722
  domains?: string[];
1642
1723
  };
1724
+ export type PrivilegeResourceTypeIdentificationRequest = {
1725
+ /** Slug of the resource type. */
1726
+ slug?: string;
1727
+ /** ID of the resource type. */
1728
+ id?: string;
1729
+ };
1730
+ export type PrivilegeResourceIdentificationRequest = {
1731
+ "type": PrivilegeResourceTypeIdentificationRequest;
1732
+ /** Slug of the resource. */
1733
+ slug: string;
1734
+ };
1735
+ export type PrivilegeActionIdentificationRequest = {
1736
+ /** ID of the action. */
1737
+ id?: string;
1738
+ /** Slug of the action. */
1739
+ slug?: string;
1740
+ };
1741
+ export type RemovePrivilegeToGroupRequest = {
1742
+ /** List of resources to which the privilege applies. */
1743
+ resources: PrivilegeResourceIdentificationRequest[];
1744
+ /** List of resource types to which the privilege applies. */
1745
+ resource_types: PrivilegeResourceTypeIdentificationRequest[];
1746
+ /** List of actions to which the privilege applies. */
1747
+ actions: PrivilegeActionIdentificationRequest[];
1748
+ /** Whether the privilege is inheritable by child resources. */
1749
+ inheritable: boolean;
1750
+ };
1751
+ export type AddPrivilegeToGroupRequest = {
1752
+ /** List of resources to which the privilege applies. */
1753
+ resources: PrivilegeResourceIdentificationRequest[];
1754
+ /** List of resource types to which the privilege applies. */
1755
+ resource_types: PrivilegeResourceTypeIdentificationRequest[];
1756
+ /** List of actions to which the privilege applies. */
1757
+ actions: PrivilegeActionIdentificationRequest[];
1758
+ /** Whether the privilege is inheritable by child resources. */
1759
+ inheritable: boolean;
1760
+ };
1643
1761
  export type RotateServiceCredentialSecretRequest = {
1644
1762
  /** Service credential secret */
1645
1763
  secret: string;
@@ -1687,6 +1805,16 @@ export type ServiceCredentialAssociateGroupRequest = {
1687
1805
  /** Service credential groups ids */
1688
1806
  teams: string[];
1689
1807
  };
1808
+ export type UpdateResourceReviewRequest = {
1809
+ /** Evaluation grade, represented by an integer between 1 and 5. */
1810
+ rating?: number;
1811
+ /** Evaluation comment */
1812
+ comment?: string;
1813
+ };
1814
+ export type UpdateReviewAnswerRequest = {
1815
+ /** Comment of the review. */
1816
+ answer: string;
1817
+ };
1690
1818
  export type ReadPreferencesResponse = {
1691
1819
  /** Dashboard widgets preferences */
1692
1820
  dashboardWidgets?: string[];
@@ -1903,18 +2031,6 @@ export type PageResponseRoleGroupResponse = {
1903
2031
  /** Total pages found */
1904
2032
  totalPages: number;
1905
2033
  };
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
2034
  export type MembersFromResourceResponse = {
1919
2035
  /** Member ID */
1920
2036
  id: string;
@@ -2232,7 +2348,7 @@ export type PersonalAccountDetailsResponse = {
2232
2348
  /** Custom position of the account owner in the company, if not listed. */
2233
2349
  otherPosition?: string | null;
2234
2350
  /** 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;
2351
+ 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
2352
  /** Custom description of how the account owner was reached, if not listed. */
2237
2353
  customReachedBy?: string | null;
2238
2354
  };
@@ -2283,6 +2399,35 @@ export type AccountPartnerResponse = {
2283
2399
  /** Account current status */
2284
2400
  isActive: boolean;
2285
2401
  };
2402
+ export type ResourceTypeIdentifierRequest = {
2403
+ /** Slug of the resource type. */
2404
+ slug?: string;
2405
+ /** ID of the resource type. */
2406
+ id?: string;
2407
+ };
2408
+ export type DeleteResourceRequestV3 = {
2409
+ "type": ResourceTypeIdentifierRequest;
2410
+ /** Slug of the resource to be deleted */
2411
+ slug: string;
2412
+ };
2413
+ export type DeleteResourceResponseV3 = {
2414
+ /** Unique identifier of the resource. */
2415
+ id: string;
2416
+ /** Name of the resource. */
2417
+ name: string;
2418
+ /** Slug version of the resource name. */
2419
+ slug: string;
2420
+ /** Optional description of the resource. */
2421
+ description?: string;
2422
+ "type"?: ResourceTypeDto;
2423
+ };
2424
+ export type PageDtoDeleteResourceResponseV3 = {
2425
+ items: DeleteResourceResponseV3[];
2426
+ size: number;
2427
+ totalElements: number;
2428
+ page: number;
2429
+ totalPages: number;
2430
+ };
2286
2431
  /**
2287
2432
  * Retrieves a list of rate limit with the associated service credential.
2288
2433
  */
@@ -2493,6 +2638,13 @@ export declare function updateUserPassword({ memberId, updatePasswordRequest }:
2493
2638
  memberId: string;
2494
2639
  updatePasswordRequest: UpdatePasswordRequest;
2495
2640
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2641
+ /**
2642
+ * Updates an account status based on the provided account ID.
2643
+ */
2644
+ export declare function updateAccountStatus({ accountId, accountStatusRequest }: {
2645
+ accountId: string;
2646
+ accountStatusRequest: AccountStatusRequest;
2647
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2496
2648
  /**
2497
2649
  * Updates the sales representatives associated with an active account.
2498
2650
  */
@@ -2503,7 +2655,7 @@ export declare function updateSalesRepresentatives({ accountId, updateSalesRepre
2503
2655
  /**
2504
2656
  * Enables an account by updating its status.
2505
2657
  */
2506
- export declare function updateAccountStatus({ accountId, accountStatusRequest }: {
2658
+ export declare function updateAccountStatus1({ accountId, accountStatusRequest }: {
2507
2659
  accountId: string;
2508
2660
  accountStatusRequest: AccountStatusRequest;
2509
2661
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
@@ -2578,6 +2730,50 @@ export declare function getServiceCredentials({ size, page, sort, direction, sea
2578
2730
  export declare function createServiceCredential({ serviceCredentialCreateRequestV2 }: {
2579
2731
  serviceCredentialCreateRequestV2: ServiceCredentialCreateRequestV2;
2580
2732
  }, opts?: Oazapfts.RequestOpts): Promise<ServiceCredentialCreateResponseV2>;
2733
+ /**
2734
+ * Retrieves a list of resources.
2735
+ */
2736
+ export declare function getResources({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2737
+ size?: any;
2738
+ page?: any;
2739
+ sort?: string;
2740
+ direction?: "ASC" | "DESC";
2741
+ search?: string;
2742
+ filterMode?: "MATCH" | "CONTAINS" | "IN";
2743
+ filterBy?: string;
2744
+ filterValue?: string;
2745
+ multiFilterMode?: string;
2746
+ filterIn?: any;
2747
+ }, opts?: Oazapfts.RequestOpts): Promise<PageResponseResourceResponse>;
2748
+ /**
2749
+ * Creates a new resource for the account.
2750
+ */
2751
+ export declare function createResource({ createResourceV2Request }: {
2752
+ createResourceV2Request: CreateResourceV2Request;
2753
+ }, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
2754
+ /**
2755
+ * Get Group Resources
2756
+ */
2757
+ export declare function getGroupResources({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2758
+ groupId: string;
2759
+ size?: any;
2760
+ page?: any;
2761
+ sort?: string;
2762
+ direction?: "ASC" | "DESC";
2763
+ search?: string;
2764
+ filterMode?: "MATCH" | "CONTAINS" | "IN";
2765
+ filterBy?: string;
2766
+ filterValue?: string;
2767
+ multiFilterMode?: string;
2768
+ filterIn?: any;
2769
+ }, opts?: Oazapfts.RequestOpts): Promise<PageResponseResourceResponse>;
2770
+ /**
2771
+ * Add Multiple Resources to Group
2772
+ */
2773
+ export declare function addResourcesToGroupBySlugAndType({ groupId, body }: {
2774
+ groupId: string;
2775
+ body: AddResourceToGroupBySlugAndTypeRequest[];
2776
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2581
2777
  /**
2582
2778
  * Returns a paged list of Feature Flags associated with the current user's account.
2583
2779
  */
@@ -2770,7 +2966,7 @@ export declare function bindRoleGroups({ roleId, roleGroupIdsRequest }: {
2770
2966
  /**
2771
2967
  * Retrieves a list of resources.
2772
2968
  */
2773
- export declare function getResources({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2969
+ export declare function getResources1({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2774
2970
  size?: any;
2775
2971
  page?: any;
2776
2972
  sort?: string;
@@ -2785,9 +2981,43 @@ export declare function getResources({ size, page, sort, direction, search, filt
2785
2981
  /**
2786
2982
  * Creates a new resource for the account.
2787
2983
  */
2788
- export declare function createResource({ createResourceRequest }: {
2984
+ export declare function createResource1({ createResourceRequest }: {
2789
2985
  createResourceRequest: CreateResourceRequest;
2790
2986
  }, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
2987
+ /**
2988
+ * Get all resources reviews
2989
+ */
2990
+ export declare function getReviews({ resourceSlug, resourceTypeSlug, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2991
+ resourceSlug: string;
2992
+ resourceTypeSlug: string;
2993
+ size?: any;
2994
+ page?: any;
2995
+ sort?: string;
2996
+ direction?: "ASC" | "DESC";
2997
+ search?: string;
2998
+ filterMode?: "MATCH" | "CONTAINS" | "IN";
2999
+ filterBy?: string;
3000
+ filterValue?: string;
3001
+ multiFilterMode?: string;
3002
+ filterIn?: any;
3003
+ }, opts?: Oazapfts.RequestOpts): Promise<PageResponseViewResourceReviewResponse>;
3004
+ /**
3005
+ * Create a resource review
3006
+ */
3007
+ export declare function createReview({ resourceSlug, resourceTypeSlug, xMemberId, createResourceReviewRequest }: {
3008
+ resourceSlug: string;
3009
+ resourceTypeSlug: string;
3010
+ xMemberId: string;
3011
+ createResourceReviewRequest: CreateResourceReviewRequest;
3012
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
3013
+ /**
3014
+ * Create an answer to a review
3015
+ */
3016
+ export declare function createReviewAnswer({ reviewId, xMemberId, createReviewAnswerRequest }: {
3017
+ reviewId: string;
3018
+ xMemberId: string;
3019
+ createReviewAnswerRequest: CreateReviewAnswerRequest;
3020
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
2791
3021
  /**
2792
3022
  * Retrieves a list of account members for a specified account.
2793
3023
  */
@@ -2947,7 +3177,7 @@ export declare function bindRoles({ groupId, groupRoleIdsRequest }: {
2947
3177
  /**
2948
3178
  * Get Group Resources
2949
3179
  */
2950
- export declare function getGroupResources({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3180
+ export declare function getGroupResources1({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2951
3181
  groupId: string;
2952
3182
  size?: any;
2953
3183
  page?: any;
@@ -2991,9 +3221,11 @@ export declare function bindGroupMembers({ groupId, groupMemberIdsRequest }: {
2991
3221
  groupMemberIdsRequest: GroupMemberIdsRequest;
2992
3222
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2993
3223
  /**
2994
- * List all Account Extensions
3224
+ * List extensions that user is allowed to manage
2995
3225
  */
2996
- export declare function listExtensions(opts?: Oazapfts.RequestOpts): Promise<ExtensionReadResponse[]>;
3226
+ export declare function listManageableExtensions({ actions }: {
3227
+ actions?: string[];
3228
+ }, opts?: Oazapfts.RequestOpts): Promise<ExtensionReadResponse[]>;
2997
3229
  /**
2998
3230
  * Create Account Extension
2999
3231
  */
@@ -3221,6 +3453,20 @@ export declare function createPartner({ createAccountPartnerOrderRequest }: {
3221
3453
  export declare function validateNewPartnerData({ validateAccountPartnerDataRequest }: {
3222
3454
  validateAccountPartnerDataRequest: ValidateAccountPartnerDataRequest;
3223
3455
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
3456
+ /**
3457
+ * Removes privileges to group's default role.
3458
+ */
3459
+ export declare function removePermissions({ groupId, body }: {
3460
+ groupId: string;
3461
+ body: RemovePrivilegeToGroupRequest[];
3462
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
3463
+ /**
3464
+ * Add privileges to group's default role.
3465
+ */
3466
+ export declare function addPrivilegesToGroup({ groupId, body }: {
3467
+ groupId: string;
3468
+ body: AddPrivilegeToGroupRequest[];
3469
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
3224
3470
  /**
3225
3471
  * Rotates the secret of a service credential.
3226
3472
  */
@@ -3326,6 +3572,38 @@ export declare function cancelSecretDelete({ secretId }: {
3326
3572
  * Migrate Api Key Secrets to new version
3327
3573
  */
3328
3574
  export declare function migrateApiKeySecretsToV2(opts?: Oazapfts.RequestOpts): Promise<never>;
3575
+ /**
3576
+ * Delete a resources review
3577
+ */
3578
+ export declare function deleteReview({ reviewId, xMemberId }: {
3579
+ reviewId: string;
3580
+ xMemberId: string;
3581
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
3582
+ /**
3583
+ * Update a resources review
3584
+ */
3585
+ export declare function updateReview({ reviewId, xMemberId, updateResourceReviewRequest }: {
3586
+ reviewId: string;
3587
+ xMemberId: string;
3588
+ updateResourceReviewRequest: UpdateResourceReviewRequest;
3589
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
3590
+ /**
3591
+ * Delete an answer to a review
3592
+ */
3593
+ export declare function deleteReviewAnswer({ answerId, reviewId, xMemberId }: {
3594
+ answerId: string;
3595
+ reviewId: string;
3596
+ xMemberId: string;
3597
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
3598
+ /**
3599
+ * Edit an evaluation comment
3600
+ */
3601
+ export declare function editReviewAnswer({ reviewId, answerId, xMemberId, updateReviewAnswerRequest }: {
3602
+ reviewId: string;
3603
+ answerId: string;
3604
+ xMemberId: string;
3605
+ updateReviewAnswerRequest: UpdateReviewAnswerRequest;
3606
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
3329
3607
  /**
3330
3608
  * Retrieves the preferences of a specific member.
3331
3609
  */
@@ -3588,21 +3866,6 @@ export declare function getRoleGroups1({ roleId, size, page, sort, direction, se
3588
3866
  multiFilterMode?: string;
3589
3867
  filterIn?: any;
3590
3868
  }, 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
3869
  /**
3607
3870
  * Retrieves a list of members for a specified resource.
3608
3871
  */
@@ -3729,22 +3992,6 @@ export declare function getRoles5({ groupId, size, page, sort, direction, search
3729
3992
  multiFilterMode?: string;
3730
3993
  filterIn?: any;
3731
3994
  }, 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
3995
  /**
3749
3996
  * Get Group members
3750
3997
  */
@@ -4037,6 +4284,12 @@ export declare function getPartnersSharingAllowed({ name }: {
4037
4284
  * Validate Partner association limit
4038
4285
  */
4039
4286
  export declare function validatePartnerAssociationLimit(opts?: Oazapfts.RequestOpts): Promise<unknown>;
4287
+ /**
4288
+ * Deletes a resource from the account by resource type and resource slug.
4289
+ */
4290
+ export declare function deleteResource({ deleteResourceRequestV3 }: {
4291
+ deleteResourceRequestV3: DeleteResourceRequestV3;
4292
+ }, opts?: Oazapfts.RequestOpts): Promise<PageDtoDeleteResourceResponseV3>;
4040
4293
  /**
4041
4294
  * Disassociate Group to Service Credential
4042
4295
  */
@@ -4054,7 +4307,7 @@ export declare function removeRoleFromMember({ roleId, memberId }: {
4054
4307
  /**
4055
4308
  * Deletes a resource from the account.
4056
4309
  */
4057
- export declare function deleteResource({ resourceId }: {
4310
+ export declare function deleteResource1({ resourceId }: {
4058
4311
  resourceId: string;
4059
4312
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
4060
4313
  /**