@stack-spot/portal-network 0.189.0 → 0.190.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 (51) hide show
  1. package/CHANGELOG.md +146 -0
  2. package/dist/api/account.d.ts +85 -202
  3. package/dist/api/account.d.ts.map +1 -1
  4. package/dist/api/account.js +68 -140
  5. package/dist/api/account.js.map +1 -1
  6. package/dist/api/ai.d.ts +189 -86
  7. package/dist/api/ai.d.ts.map +1 -1
  8. package/dist/api/ai.js +238 -142
  9. package/dist/api/ai.js.map +1 -1
  10. package/dist/api/cloudPlatform.d.ts +363 -188
  11. package/dist/api/cloudPlatform.d.ts.map +1 -1
  12. package/dist/api/cloudPlatform.js +253 -80
  13. package/dist/api/cloudPlatform.js.map +1 -1
  14. package/dist/api/codeShift.d.ts +5 -3
  15. package/dist/api/codeShift.d.ts.map +1 -1
  16. package/dist/api/codeShift.js.map +1 -1
  17. package/dist/api/genAiInference.d.ts +22 -2
  18. package/dist/api/genAiInference.d.ts.map +1 -1
  19. package/dist/api/genAiInference.js +22 -3
  20. package/dist/api/genAiInference.js.map +1 -1
  21. package/dist/client/account.d.ts +18 -4
  22. package/dist/client/account.d.ts.map +1 -1
  23. package/dist/client/account.js +58 -31
  24. package/dist/client/account.js.map +1 -1
  25. package/dist/client/ai.d.ts +29 -0
  26. package/dist/client/ai.d.ts.map +1 -1
  27. package/dist/client/ai.js +121 -14
  28. package/dist/client/ai.js.map +1 -1
  29. package/dist/client/cloud-platform.d.ts +128 -1
  30. package/dist/client/cloud-platform.d.ts.map +1 -1
  31. package/dist/client/cloud-platform.js +92 -2
  32. package/dist/client/cloud-platform.js.map +1 -1
  33. package/dist/client/code-shift.js +1 -1
  34. package/dist/client/code-shift.js.map +1 -1
  35. package/dist/client/types.d.ts +26 -5
  36. package/dist/client/types.d.ts.map +1 -1
  37. package/package.json +3 -3
  38. package/readme.md +2 -1
  39. package/src/api/account.ts +127 -392
  40. package/src/api/agent-tools.ts +3 -0
  41. package/src/api/agent.ts +2 -0
  42. package/src/api/ai.ts +364 -157
  43. package/src/api/cloudPlatform.ts +638 -264
  44. package/src/api/codeShift.ts +5 -3
  45. package/src/api/genAiInference.ts +47 -4
  46. package/src/api/notification.ts +2 -0
  47. package/src/client/account.ts +54 -38
  48. package/src/client/ai.ts +126 -13
  49. package/src/client/cloud-platform.ts +52 -2
  50. package/src/client/code-shift.ts +1 -1
  51. package/src/client/types.ts +27 -5
@@ -276,12 +276,30 @@ export type AccountScmInfoResponse = {
276
276
  urlProvider?: string;
277
277
  };
278
278
  export type Value = object;
279
+ export type Basic = Value & {
280
+ /** PAT repository Username */
281
+ user?: string;
282
+ /** PAT repository password */
283
+ pass?: string;
284
+ };
285
+ export type GithubApp = Value & {
286
+ /** GithubApp App Id */
287
+ appId?: string;
288
+ /** GithubApp Client Id */
289
+ clientId?: string;
290
+ /** GithubApp Client Secret */
291
+ clientSecret?: string;
292
+ /** GithubApp Installer Id */
293
+ installationId?: string;
294
+ /** GithubApp private key */
295
+ privateKey?: string;
296
+ };
279
297
  export type AccountScmInfoUpdateRequest = {
280
298
  /** SCM Type */
281
299
  "type"?: "PAT" | "GITHUBAPP";
282
300
  /** SCM repository provider */
283
301
  provider?: "GITHUB" | "GITLAB" | "BITBUCKET" | "AZURE" | "GITLAB_ONPRM";
284
- value?: Value;
302
+ value?: Basic | GithubApp;
285
303
  /** SCM Workflow repository URL */
286
304
  workflowUrl?: string;
287
305
  /** Flag used when SCM repository account credential configuration is mandated */
@@ -293,7 +311,7 @@ export type AccountScmInfoSaveRequest = {
293
311
  "type": "PAT" | "GITHUBAPP";
294
312
  /** SCM repository provider */
295
313
  provider: "GITHUB" | "GITLAB" | "BITBUCKET" | "AZURE" | "GITLAB_ONPRM";
296
- value: Value;
314
+ value: Basic | GithubApp;
297
315
  /** Connection URL for on-premises provider */
298
316
  urlProvider?: string;
299
317
  /** SCM Workflow repository URL */
@@ -431,31 +449,6 @@ export type UpdatePasswordRequest = {
431
449
  /** New password */
432
450
  password: string;
433
451
  };
434
- export type InvitationUserResponse = {
435
- email: string;
436
- };
437
- export type UserInvitationResponse = {
438
- /** Unique identifier of the invitation */
439
- id: string;
440
- /** Identifier of the associated account */
441
- accountId: string;
442
- sender: InvitationUserResponse;
443
- invitedUser: InvitationUserResponse;
444
- /** Timestamp when the invitation was created */
445
- createdAt: string;
446
- /** Timestamp when the invitation was resent */
447
- resentAt: string;
448
- /** Timestamp when the invitation will expire */
449
- expirationDate: string;
450
- /** Role assigned to the invited user */
451
- roleName: string;
452
- /** Indicates whether the account is assigned to the invited user */
453
- assignAccount: boolean;
454
- /** Magic link associated with the invitation */
455
- magicLink: string;
456
- /** Current status of the invitation */
457
- status: "ACCEPTED" | "PENDING" | "CANCELLED";
458
- };
459
452
  export type UpdateSalesRepresentativesRequest = {
460
453
  /** List of emails from sales representatives responsible for the account. */
461
454
  salesRepresentatives: string[];
@@ -1126,22 +1119,6 @@ export type MemberEmailRequest = {
1126
1119
  /** Member email */
1127
1120
  email: string;
1128
1121
  };
1129
- export type InviteNewMemberRequest = {
1130
- /** Member email */
1131
- email: string;
1132
- /** Member name */
1133
- name: string;
1134
- /** Member surname */
1135
- surname: string;
1136
- /** Member group ID */
1137
- groupId?: string;
1138
- };
1139
- export type InviteMembersResponse = {
1140
- /** Status Message */
1141
- msg: string;
1142
- /** Members with error */
1143
- errors: string[];
1144
- };
1145
1122
  export type PersonalLeadRequest = {
1146
1123
  /** Lead name */
1147
1124
  name: string;
@@ -1212,16 +1189,6 @@ export type EnterpriseLeadRequest = {
1212
1189
  /** Contact reason */
1213
1190
  reason?: string;
1214
1191
  };
1215
- export type CreateUserInvitationRequest = {
1216
- /** User email */
1217
- email: string;
1218
- /** User role in account */
1219
- role: string;
1220
- /** Indicates whether account will be shared with user or not */
1221
- assignAccount: boolean;
1222
- /** Language to use in invitation e-mail */
1223
- lang: string;
1224
- };
1225
1192
  export type NewGroupRequest = {
1226
1193
  /** Group name */
1227
1194
  name: string;
@@ -1387,20 +1354,6 @@ export type CampaignAvailableResponse = {
1387
1354
  /** Campaign Status */
1388
1355
  isAvailable: boolean;
1389
1356
  };
1390
- export type SwitchAccountRequest = {
1391
- /** Account slug to switch to */
1392
- accountId: string;
1393
- };
1394
- export type ExchangeAccountResponse = {
1395
- /** Personal Access Token generated by User Personal Client on user behalf */
1396
- access_token: string;
1397
- /** Refresh Token */
1398
- refresh_token: string;
1399
- /** The token type */
1400
- token_type: string;
1401
- /** The number of seconds before the access_token expires */
1402
- expires_in: number;
1403
- };
1404
1357
  export type PersonalClientCredentialsResponse = {
1405
1358
  /** The Client ID used for authentication */
1406
1359
  clientId: string;
@@ -1565,13 +1518,9 @@ export type PersonalAccountExpirationDataResponse = {
1565
1518
  /** Account name */
1566
1519
  name: string;
1567
1520
  /** Account remaining trial days */
1568
- remainingTrialDays: number;
1521
+ remainingTrialDays?: number;
1569
1522
  /** Date that trial Account will be blocked */
1570
- validUntil: string;
1571
- };
1572
- export type AccountCollaboratorRequest = {
1573
- /** The API id of account requester */
1574
- accountApiId: string;
1523
+ validUntil?: string;
1575
1524
  };
1576
1525
  export type PageResponseAccountSsoGroupMappingResponse = {
1577
1526
  /** Current page content */
@@ -2184,16 +2133,6 @@ export type AccountScmStatusResponse = {
2184
2133
  };
2185
2134
  export type RolePermissionResponse = {
2186
2135
  status?: boolean;
2187
- /** Permission ID from StackSpot IAM */
2188
- id: string;
2189
- /** Permission's name */
2190
- name: string;
2191
- /** Permission's description */
2192
- description?: string;
2193
- /** Permission's creation timestamp */
2194
- createdAt: string;
2195
- /** The statements defined in the permission */
2196
- statements: PermissionStatementResponse[];
2197
2136
  };
2198
2137
  export type ResourceDto = {
2199
2138
  /** Unique identifier of the resource. */
@@ -2277,6 +2216,8 @@ export type PersonalAccountDetailsResponse = {
2277
2216
  accountId: string;
2278
2217
  /** Full name of the account owner. */
2279
2218
  fullName: string;
2219
+ /** Date and time until the account is valid. */
2220
+ validUntil?: string;
2280
2221
  /** Date and time that the account was created. */
2281
2222
  createdAt: string;
2282
2223
  campaign?: Campaign;
@@ -2416,7 +2357,7 @@ export declare function deleteAccountAssociation({ featureFlagId, accountId }: {
2416
2357
  /**
2417
2358
  * Retrieves a list of SCM credentials associated with the current user's account, including secret names and provider details.
2418
2359
  */
2419
- export declare function listScmCredentials1(opts?: Oazapfts.RequestOpts): Promise<UserScmInfoResponse[]>;
2360
+ export declare function listScmCredentials(opts?: Oazapfts.RequestOpts): Promise<UserScmInfoResponse[]>;
2420
2361
  /**
2421
2362
  * Updates the SCM credentials for a user by saving the new secret information and triggering an update event.
2422
2363
  */
@@ -2475,7 +2416,7 @@ export declare function deleteScope({ scopeId }: {
2475
2416
  /**
2476
2417
  * Retrieves a list of SCM credentials associated with the current user's account.
2477
2418
  */
2478
- export declare function listScmCredentials2(opts?: Oazapfts.RequestOpts): Promise<AccountScmInfoResponse[]>;
2419
+ export declare function listScmCredentials1(opts?: Oazapfts.RequestOpts): Promise<AccountScmInfoResponse[]>;
2479
2420
  /**
2480
2421
  * Updates the SCM credentials for the current user's account, saving the changes and triggering an update event.
2481
2422
  */
@@ -2504,7 +2445,7 @@ export declare function deleteAccountRole({ roleId }: {
2504
2445
  /**
2505
2446
  * Retrieves a of resources and their associated actions with their status compared to a specified role.
2506
2447
  */
2507
- export declare function getResourcesAndActionsWithStatus1({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2448
+ export declare function getResourcesAndActionsWithStatus({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2508
2449
  roleId: string;
2509
2450
  size?: any;
2510
2451
  page?: any;
@@ -2552,12 +2493,6 @@ export declare function updateUserPassword({ memberId, updatePasswordRequest }:
2552
2493
  memberId: string;
2553
2494
  updatePasswordRequest: UpdatePasswordRequest;
2554
2495
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2555
- /**
2556
- * Accepts an invitation for a user to collaborate on an account.
2557
- */
2558
- export declare function accept({ id }: {
2559
- id: string;
2560
- }, opts?: Oazapfts.RequestOpts): Promise<UserInvitationResponse>;
2561
2496
  /**
2562
2497
  * Updates the sales representatives associated with an active account.
2563
2498
  */
@@ -2635,7 +2570,7 @@ export declare function getServiceCredentials({ size, page, sort, direction, sea
2635
2570
  multiFilterMode?: string;
2636
2571
  filterIn?: any;
2637
2572
  name?: string;
2638
- status?: string;
2573
+ status?: "ACTIVE" | "DISABLED" | "REVOKED" | "EXPIRED";
2639
2574
  }, opts?: Oazapfts.RequestOpts): Promise<PageResponseServiceCredentialResponse>;
2640
2575
  /**
2641
2576
  * Creates a new service credential for the current user.
@@ -2652,7 +2587,7 @@ export declare function getFeatures({ featureFlagPageRequest }: {
2652
2587
  /**
2653
2588
  * Returns a list of Feature Flags associated with the current user's account.
2654
2589
  */
2655
- export declare function getFeatures2(opts?: Oazapfts.RequestOpts): Promise<FeatureFlagsResponseV2[]>;
2590
+ export declare function getFeatures1(opts?: Oazapfts.RequestOpts): Promise<FeatureFlagsResponseV2[]>;
2656
2591
  /**
2657
2592
  * Creates a new Feature Flag and returns its unique identifier.
2658
2593
  */
@@ -2662,7 +2597,7 @@ export declare function create({ createFeatureFlagRequest }: {
2662
2597
  /**
2663
2598
  * Returns a paged list of Feature Flags associated with the current user's account.
2664
2599
  */
2665
- export declare function getFeatures1({ accountId, featureFlagPageRequest }: {
2600
+ export declare function getFeatures2({ accountId, featureFlagPageRequest }: {
2666
2601
  accountId: string;
2667
2602
  featureFlagPageRequest?: FeatureFlagPageRequest;
2668
2603
  }, opts?: Oazapfts.RequestOpts): Promise<PageResponseFeatureFlagsResponsePagedV2>;
@@ -2694,9 +2629,9 @@ export declare function createExternalLink({ accountId, externalLinkRequest }: {
2694
2629
  */
2695
2630
  export declare function getServiceCredentials1({ name, status, page, size }: {
2696
2631
  name?: string;
2697
- status?: string;
2698
- page?: string;
2699
- size?: string;
2632
+ status?: "ACTIVE" | "DISABLED" | "REVOKED" | "EXPIRED";
2633
+ page?: number;
2634
+ size?: number;
2700
2635
  }, opts?: Oazapfts.RequestOpts): Promise<ServiceCredentialResponse[]>;
2701
2636
  /**
2702
2637
  * Create Service Credential
@@ -2713,7 +2648,7 @@ export declare function notifyServiceCredentialExpiration({ serviceCredentialExp
2713
2648
  /**
2714
2649
  * Find secrets with multiple filters and conditions
2715
2650
  */
2716
- export declare function findSecrets1({ size, page, sort, direction, search, filterByScope, filterByType, filterByScopedBy, filterByScopedValue, authorizedOnly }: {
2651
+ export declare function findSecrets({ size, page, sort, direction, search, filterByScope, filterByType, filterByScopedBy, filterByScopedValue, authorizedOnly }: {
2717
2652
  size?: any;
2718
2653
  page?: any;
2719
2654
  sort?: string;
@@ -2734,21 +2669,23 @@ export declare function createSecret({ createSecretRequest }: {
2734
2669
  /**
2735
2670
  * Associate a secret with a resource
2736
2671
  */
2737
- export declare function associateResource({ secretId, resourceSlug }: {
2672
+ export declare function associateResource({ secretId, resourceSlug, resourceTypeSlug }: {
2738
2673
  secretId: string;
2739
2674
  resourceSlug: string;
2675
+ resourceTypeSlug: string;
2740
2676
  }, opts?: Oazapfts.RequestOpts): Promise<never>;
2741
2677
  /**
2742
2678
  * Disassociate a secret with a resource
2743
2679
  */
2744
- export declare function disassociateResource({ secretId, resourceSlug }: {
2680
+ export declare function disassociateResource({ secretId, resourceSlug, resourceTypeSlug }: {
2745
2681
  secretId: string;
2746
2682
  resourceSlug: string;
2683
+ resourceTypeSlug: string;
2747
2684
  }, opts?: Oazapfts.RequestOpts): Promise<never>;
2748
2685
  /**
2749
2686
  * Check if user has access to secret
2750
2687
  */
2751
- export declare function findSecrets({ checkSecretAccessRequest }: {
2688
+ export declare function findSecrets1({ checkSecretAccessRequest }: {
2752
2689
  checkSecretAccessRequest: CheckSecretAccessRequest;
2753
2690
  }, opts?: Oazapfts.RequestOpts): Promise<CheckSecretAccessResponse>;
2754
2691
  /**
@@ -2766,7 +2703,7 @@ export declare function createScope({ iamCreateScopeRequest }: {
2766
2703
  /**
2767
2704
  * Retrieves a list of roles available to the current account.
2768
2705
  */
2769
- export declare function getRoles3({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2706
+ export declare function getRoles({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2770
2707
  size?: any;
2771
2708
  page?: any;
2772
2709
  sort?: string;
@@ -2787,7 +2724,7 @@ export declare function createAccountRole({ createAccountRoleRequest }: {
2787
2724
  /**
2788
2725
  * Retrieves a list of role members for a specified role.
2789
2726
  */
2790
- export declare function getRoleMembers1({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2727
+ export declare function getRoleMembers({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2791
2728
  roleId: string;
2792
2729
  size?: any;
2793
2730
  page?: any;
@@ -2810,7 +2747,7 @@ export declare function addRoleToMember({ roleId, addRoleToMemberRequest }: {
2810
2747
  /**
2811
2748
  * Retrieves a list of role groups associated with a specific group ID.
2812
2749
  */
2813
- export declare function getRoleGroups1({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2750
+ export declare function getRoleGroups({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2814
2751
  roleId: string;
2815
2752
  size?: any;
2816
2753
  page?: any;
@@ -2833,7 +2770,7 @@ export declare function bindRoleGroups({ roleId, roleGroupIdsRequest }: {
2833
2770
  /**
2834
2771
  * Retrieves a list of resources.
2835
2772
  */
2836
- export declare function getResources1({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2773
+ export declare function getResources({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2837
2774
  size?: any;
2838
2775
  page?: any;
2839
2776
  sort?: string;
@@ -2854,7 +2791,7 @@ export declare function createResource({ createResourceRequest }: {
2854
2791
  /**
2855
2792
  * Retrieves a list of account members for a specified account.
2856
2793
  */
2857
- export declare function getAccountMembers2({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2794
+ export declare function getAccountMembers({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2858
2795
  size?: any;
2859
2796
  page?: any;
2860
2797
  sort?: string;
@@ -2875,7 +2812,7 @@ export declare function createUser({ createUserRequest }: {
2875
2812
  /**
2876
2813
  * Retrieves a paginated list of roles associated with a specific member.
2877
2814
  */
2878
- export declare function getRoles4({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2815
+ export declare function getRoles1({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2879
2816
  memberId: string;
2880
2817
  size?: any;
2881
2818
  page?: any;
@@ -2904,7 +2841,7 @@ export declare function resetOtp({ memberId }: {
2904
2841
  /**
2905
2842
  * Retrieves a list of groups associated with a specific member.
2906
2843
  */
2907
- export declare function getMemberGroups1({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2844
+ export declare function getMemberGroups({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2908
2845
  memberId: string;
2909
2846
  size?: any;
2910
2847
  page?: any;
@@ -2950,12 +2887,6 @@ export declare function addAccountMemberFavorite({ memberId, createFavoriteResou
2950
2887
  export declare function resetPassword({ memberEmailRequest }: {
2951
2888
  memberEmailRequest: MemberEmailRequest;
2952
2889
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2953
- /**
2954
- * Invites new members to an account and assigns them to the default group based on the account type.
2955
- */
2956
- export declare function inviteMembers({ body }: {
2957
- body: InviteNewMemberRequest[];
2958
- }, opts?: Oazapfts.RequestOpts): Promise<InviteMembersResponse>;
2959
2890
  /**
2960
2891
  * Create a personal lead contact
2961
2892
  */
@@ -2968,25 +2899,10 @@ export declare function personalContact({ personalLeadRequest }: {
2968
2899
  export declare function enterpriseContact({ enterpriseLeadRequest }: {
2969
2900
  enterpriseLeadRequest: EnterpriseLeadRequest;
2970
2901
  }, opts?: Oazapfts.RequestOpts): Promise<LeadResponse>;
2971
- /**
2972
- * Lists user invitations for account
2973
- */
2974
- export declare function listUserInvitations({ filterBy, filterValue, page, size }: {
2975
- filterBy?: string;
2976
- filterValue?: string;
2977
- page?: string;
2978
- size?: string;
2979
- }, opts?: Oazapfts.RequestOpts): Promise<UserInvitationResponse[]>;
2980
- /**
2981
- * Creates and sends an invitation to a user to join an account.
2982
- */
2983
- export declare function createUserInvitation({ createUserInvitationRequest }: {
2984
- createUserInvitationRequest: CreateUserInvitationRequest;
2985
- }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2986
2902
  /**
2987
2903
  * Get Groups
2988
2904
  */
2989
- export declare function getGroups1({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, includeDefaultGroup }: {
2905
+ export declare function getGroups({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, includeDefaultGroup }: {
2990
2906
  size?: any;
2991
2907
  page?: any;
2992
2908
  sort?: string;
@@ -3008,7 +2924,7 @@ export declare function save({ newGroupRequest }: {
3008
2924
  /**
3009
2925
  * Get Group members
3010
2926
  */
3011
- export declare function getRoles5({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2927
+ export declare function getRoles2({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3012
2928
  groupId: string;
3013
2929
  size?: any;
3014
2930
  page?: any;
@@ -3031,7 +2947,7 @@ export declare function bindRoles({ groupId, groupRoleIdsRequest }: {
3031
2947
  /**
3032
2948
  * Get Group Resources
3033
2949
  */
3034
- export declare function getGroupResources1({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2950
+ export declare function getGroupResources({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3035
2951
  groupId: string;
3036
2952
  size?: any;
3037
2953
  page?: any;
@@ -3054,7 +2970,7 @@ export declare function addResourcesToGroup({ groupId, addResourcesToGroupReques
3054
2970
  /**
3055
2971
  * Get Group members
3056
2972
  */
3057
- export declare function getMembers1({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
2973
+ export declare function getMembers({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3058
2974
  groupId: string;
3059
2975
  size?: any;
3060
2976
  page?: any;
@@ -3120,16 +3036,7 @@ export declare function createExtensionLink({ extensionLinkCreateRequest }: {
3120
3036
  */
3121
3037
  export declare function receiveWebhook({ provider, body }: {
3122
3038
  provider: string;
3123
- body: {
3124
- short?: number;
3125
- char?: string;
3126
- int?: number;
3127
- long?: number;
3128
- float?: number;
3129
- double?: number;
3130
- direct?: boolean;
3131
- readOnly?: boolean;
3132
- };
3039
+ body: string;
3133
3040
  }, opts?: Oazapfts.RequestOpts): Promise<never>;
3134
3041
  /**
3135
3042
  * Check if user has answered forms
@@ -3159,12 +3066,6 @@ export declare function sendContactEmail({ contactEmailRequest }: {
3159
3066
  export declare function validateCampaignCode({ code }: {
3160
3067
  code: string;
3161
3068
  }, opts?: Oazapfts.RequestOpts): Promise<CampaignAvailableResponse>;
3162
- /**
3163
- * Switch user to account passed in the body
3164
- */
3165
- export declare function switchAccount({ switchAccountRequest }: {
3166
- switchAccountRequest: SwitchAccountRequest;
3167
- }, opts?: Oazapfts.RequestOpts): Promise<ExchangeAccountResponse>;
3168
3069
  /**
3169
3070
  * Get credentials from personal service client (create if not exists one to the logged user).
3170
3071
  */
@@ -3172,7 +3073,7 @@ export declare function getPersonalClientCredentials(opts?: Oazapfts.RequestOpts
3172
3073
  /**
3173
3074
  * Get an Access Token generated With Audience on logged user behalf, since previously authorized.
3174
3075
  */
3175
- export declare function getPersonalAccessToken1({ apiAuthorization, generateTokenFromPersonalAccountRequest }: {
3076
+ export declare function getPersonalAccessToken({ apiAuthorization, generateTokenFromPersonalAccountRequest }: {
3176
3077
  apiAuthorization: string;
3177
3078
  generateTokenFromPersonalAccountRequest?: GenerateTokenFromPersonalAccountRequest;
3178
3079
  }, opts?: Oazapfts.RequestOpts): Promise<PersonalAccessTokenResponse>;
@@ -3239,7 +3140,7 @@ export declare function updateVisionOne({ updateVisionOneIntegrationRequest }: {
3239
3140
  /**
3240
3141
  * Finds and returns a list of accounts filtered by account type.
3241
3142
  */
3242
- export declare function getAccounts1({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3143
+ export declare function getAccounts({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3243
3144
  size?: any;
3244
3145
  page?: any;
3245
3146
  sort?: string;
@@ -3267,12 +3168,6 @@ export declare function createTrialAccount({ accountTrialCreateRequest }: {
3267
3168
  * Sets trial account to be removed after expiration.
3268
3169
  */
3269
3170
  export declare function removeTrialAccount(opts?: Oazapfts.RequestOpts): Promise<unknown>;
3270
- /**
3271
- * Adds a collaborator to an account with a specified role.
3272
- */
3273
- export declare function addCollaborator({ accountCollaboratorRequest }: {
3274
- accountCollaboratorRequest: AccountCollaboratorRequest;
3275
- }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
3276
3171
  /**
3277
3172
  * Retrieves a list of SSO group mappings.
3278
3173
  */
@@ -3421,6 +3316,12 @@ export declare function enableSecret({ secretId }: {
3421
3316
  export declare function disableSecret({ secretId }: {
3422
3317
  secretId: string;
3423
3318
  }, opts?: Oazapfts.RequestOpts): Promise<never>;
3319
+ /**
3320
+ * Cancel Secret delete
3321
+ */
3322
+ export declare function cancelSecretDelete({ secretId }: {
3323
+ secretId: string;
3324
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
3424
3325
  /**
3425
3326
  * Migrate Api Key Secrets to new version
3426
3327
  */
@@ -3480,18 +3381,6 @@ export declare function deactivateFidoCredentials({ memberId }: {
3480
3381
  export declare function enableFidoCredentials({ memberId }: {
3481
3382
  memberId: string;
3482
3383
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
3483
- /**
3484
- * Cancel a user invitation.
3485
- */
3486
- export declare function cancelUserInvitation({ id }: {
3487
- id: string;
3488
- }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
3489
- /**
3490
- * Resends a user invitation for a specified account.
3491
- */
3492
- export declare function resendUserInvitation({ id }: {
3493
- id: string;
3494
- }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
3495
3384
  /**
3496
3385
  * Get Group by ID
3497
3386
  */
@@ -3558,6 +3447,10 @@ export declare function addNewEmailDomain({ accountId, addNewEmailDomainRequest
3558
3447
  accountId: string;
3559
3448
  addNewEmailDomainRequest: AddNewEmailDomainRequest;
3560
3449
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
3450
+ /**
3451
+ * Reactivates a Trial account.
3452
+ */
3453
+ export declare function reactivateTrialAccount(opts?: Oazapfts.RequestOpts): Promise<unknown>;
3561
3454
  /**
3562
3455
  * Update personal account details
3563
3456
  */
@@ -3617,7 +3510,7 @@ export declare function updatePartnerAccountAdminData({ id, accountPartnerAdminD
3617
3510
  /**
3618
3511
  * Retrieves a list of SCM credentials associated with the current user's account, including secret names and provider details.
3619
3512
  */
3620
- export declare function listScmCredentials({ userId }: {
3513
+ export declare function listScmCredentials2({ userId }: {
3621
3514
  userId: string;
3622
3515
  }, opts?: Oazapfts.RequestOpts): Promise<UserScmInfoResponse[]>;
3623
3516
  /**
@@ -3635,7 +3528,7 @@ export declare function getServiceCredentialByIdRateLimit({ clientId }: {
3635
3528
  /**
3636
3529
  * Get Roles
3637
3530
  */
3638
- export declare function getRoles({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3531
+ export declare function getRoles3({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3639
3532
  size?: any;
3640
3533
  page?: any;
3641
3534
  sort?: string;
@@ -3650,7 +3543,7 @@ export declare function getRoles({ size, page, sort, direction, search, filterMo
3650
3543
  /**
3651
3544
  * Get all Global Resources and Actions compared to role
3652
3545
  */
3653
- export declare function getResourcesAndActionsWithStatus({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3546
+ export declare function getResourcesAndActionsWithStatus1({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3654
3547
  roleId: string;
3655
3548
  size?: any;
3656
3549
  page?: any;
@@ -3666,7 +3559,7 @@ export declare function getResourcesAndActionsWithStatus({ roleId, size, page, s
3666
3559
  /**
3667
3560
  * Get role members
3668
3561
  */
3669
- export declare function getRoleMembers({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3562
+ export declare function getRoleMembers1({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3670
3563
  roleId: string;
3671
3564
  size?: any;
3672
3565
  page?: any;
@@ -3682,7 +3575,7 @@ export declare function getRoleMembers({ roleId, size, page, sort, direction, se
3682
3575
  /**
3683
3576
  * Get Groups from role
3684
3577
  */
3685
- export declare function getRoleGroups({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3578
+ export declare function getRoleGroups1({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3686
3579
  roleId: string;
3687
3580
  size?: any;
3688
3581
  page?: any;
@@ -3698,7 +3591,7 @@ export declare function getRoleGroups({ roleId, size, page, sort, direction, sea
3698
3591
  /**
3699
3592
  * Retrieves a list of resources.
3700
3593
  */
3701
- export declare function getResources({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3594
+ export declare function getResources1({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3702
3595
  size?: any;
3703
3596
  page?: any;
3704
3597
  sort?: string;
@@ -3760,7 +3653,7 @@ export declare function getResourceTypes({ size, page, sort, direction, search,
3760
3653
  /**
3761
3654
  * Retrieves a list of account members.
3762
3655
  */
3763
- export declare function getAccountMembers({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3656
+ export declare function getAccountMembers1({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3764
3657
  size?: any;
3765
3658
  page?: any;
3766
3659
  sort?: string;
@@ -3775,7 +3668,7 @@ export declare function getAccountMembers({ size, page, sort, direction, search,
3775
3668
  /**
3776
3669
  * Retrieves a list of roles associated with a specific member.
3777
3670
  */
3778
- export declare function getRoles1({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3671
+ export declare function getRoles4({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3779
3672
  memberId: string;
3780
3673
  size?: any;
3781
3674
  page?: any;
@@ -3791,7 +3684,7 @@ export declare function getRoles1({ memberId, size, page, sort, direction, searc
3791
3684
  /**
3792
3685
  * Retrieves a list of groups for a specified member.
3793
3686
  */
3794
- export declare function getMemberGroups({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3687
+ export declare function getMemberGroups1({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3795
3688
  memberId: string;
3796
3689
  size?: any;
3797
3690
  page?: any;
@@ -3807,7 +3700,7 @@ export declare function getMemberGroups({ memberId, size, page, sort, direction,
3807
3700
  /**
3808
3701
  * Get Groups
3809
3702
  */
3810
- export declare function getGroups({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, includeDefaultGroup }: {
3703
+ export declare function getGroups1({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, includeDefaultGroup }: {
3811
3704
  size?: any;
3812
3705
  page?: any;
3813
3706
  sort?: string;
@@ -3823,7 +3716,7 @@ export declare function getGroups({ size, page, sort, direction, search, filterM
3823
3716
  /**
3824
3717
  * Get Group roles
3825
3718
  */
3826
- export declare function getRoles2({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3719
+ export declare function getRoles5({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3827
3720
  groupId: string;
3828
3721
  size?: any;
3829
3722
  page?: any;
@@ -3839,7 +3732,7 @@ export declare function getRoles2({ groupId, size, page, sort, direction, search
3839
3732
  /**
3840
3733
  * Get Group Resources
3841
3734
  */
3842
- export declare function getGroupResources({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3735
+ export declare function getGroupResources1({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3843
3736
  groupId: string;
3844
3737
  size?: any;
3845
3738
  page?: any;
@@ -3855,7 +3748,7 @@ export declare function getGroupResources({ groupId, size, page, sort, direction
3855
3748
  /**
3856
3749
  * Get Group members
3857
3750
  */
3858
- export declare function getMembers({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3751
+ export declare function getMembers1({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3859
3752
  groupId: string;
3860
3753
  size?: any;
3861
3754
  page?: any;
@@ -3889,8 +3782,8 @@ export declare function isCreatedScmCredentials(opts?: Oazapfts.RequestOpts): Pr
3889
3782
  /**
3890
3783
  * Get Accounts
3891
3784
  */
3892
- export declare function getAccounts({ accountType, slug, id }: {
3893
- accountType?: string;
3785
+ export declare function getAccounts1({ accountType, slug, id }: {
3786
+ accountType?: "ENTERPRISE" | "PARTNER" | "FREEMIUM";
3894
3787
  slug?: string;
3895
3788
  id?: string;
3896
3789
  }, opts?: Oazapfts.RequestOpts): Promise<AccountDataReadResponse[]>;
@@ -3903,7 +3796,7 @@ export declare function getAccount({ id }: {
3903
3796
  /**
3904
3797
  * Get Account Members
3905
3798
  */
3906
- export declare function getAccountMembers1({ id, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3799
+ export declare function getAccountMembers2({ id, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
3907
3800
  id: string;
3908
3801
  size?: any;
3909
3802
  page?: any;
@@ -3937,10 +3830,11 @@ export declare function getServiceCredentialGroups1({ id }: {
3937
3830
  /**
3938
3831
  * Retrieve secret value
3939
3832
  */
3940
- export declare function getSecretValue({ xMemberId, xAccountId, xResourceSlug, secretId }: {
3833
+ export declare function getSecretValue({ xMemberId, xAccountId, xResourceSlug, xResourceTypeSlug, secretId }: {
3941
3834
  xMemberId?: string;
3942
3835
  xAccountId?: string;
3943
3836
  xResourceSlug?: string;
3837
+ xResourceTypeSlug?: string;
3944
3838
  secretId: string;
3945
3839
  }, opts?: Oazapfts.RequestOpts): Promise<SecretResponse>;
3946
3840
  /**
@@ -4052,21 +3946,6 @@ export declare function listMemberFavoritesByResource({ memberId, resourceType }
4052
3946
  memberId: string;
4053
3947
  resourceType: string;
4054
3948
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
4055
- /**
4056
- * Retrieves a list of account members and collaborators associated with the current user's account.
4057
- */
4058
- export declare function getAccountMembersToCollaborators({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
4059
- size?: any;
4060
- page?: any;
4061
- sort?: string;
4062
- direction?: "ASC" | "DESC";
4063
- search?: string;
4064
- filterMode?: "MATCH" | "CONTAINS" | "IN";
4065
- filterBy?: string;
4066
- filterValue?: string;
4067
- multiFilterMode?: string;
4068
- filterIn?: any;
4069
- }, opts?: Oazapfts.RequestOpts): Promise<AccountMemberResponse[]>;
4070
3949
  /**
4071
3950
  * Returns a list of Feature Flags associated with the current user's account.
4072
3951
  */
@@ -4123,6 +4002,10 @@ export declare function getTrialSsoSettings(opts?: Oazapfts.RequestOpts): Promis
4123
4002
  * Finds and returns personal account details.
4124
4003
  */
4125
4004
  export declare function getPersonalAccountDetails(opts?: Oazapfts.RequestOpts): Promise<PersonalAccountDetailsResponse>;
4005
+ /**
4006
+ * Finds and returns personal account expiration data associated with the provided token.
4007
+ */
4008
+ export declare function getPersonalAccountExpirationData(opts?: Oazapfts.RequestOpts): Promise<PersonalAccountExpirationDataResponse>;
4126
4009
  /**
4127
4010
  * Retrieves a list of SSO for the current account.
4128
4011
  */