@stack-spot/portal-network 0.136.0 → 0.136.2

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.
@@ -6,14 +6,13 @@
6
6
  */
7
7
  import * as Oazapfts from "@oazapfts/runtime"
8
8
  import * as QS from "@oazapfts/runtime/query"
9
-
10
9
  export const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders> = {
11
10
  headers: {},
12
- baseUrl: "https://account-account-api.stg.stackspot.com",
11
+ baseUrl: "https://account-account-api.dev.stackspot.com",
13
12
  }
14
13
  const oazapfts = Oazapfts.runtime(defaults)
15
14
  export const servers = {
16
- generatedServerUrl: "https://account-account-api.stg.stackspot.com"
15
+ generatedServerUrl: "https://account-account-api.dev.stackspot.com"
17
16
  }
18
17
  export type RateLimitValue = {
19
18
  "type": "ACCOUNT" | "SERVICE_CREDENTIAL"
@@ -196,6 +195,10 @@ export type SecretResponse = {
196
195
  value?: {
197
196
  [key: string]: string
198
197
  }
198
+ /** Secret schema */
199
+ schema?: {
200
+ [key: string]: string
201
+ }
199
202
  }
200
203
  export type UpdateSecretRequest = {
201
204
  /** Secret name */
@@ -867,9 +870,9 @@ export type IamCreateScopeRequest = {
867
870
  }
868
871
  }
869
872
  export type PermissionActionResponse = {
870
- /** The action ID */
873
+ /** The action id from StackSpot IAM */
871
874
  id: string
872
- /** The client ID */
875
+ /** The client ID from StackSpot IAM */
873
876
  clientId?: string
874
877
  /** Action's name */
875
878
  name: string
@@ -879,9 +882,9 @@ export type PermissionActionResponse = {
879
882
  createdAt: string
880
883
  }
881
884
  export type PermissionTypeResponse = {
882
- /** Resource type ID */
885
+ /** Resource type ID from StackSpot IAM */
883
886
  id: string
884
- /** Resource type client ID */
887
+ /** Resource type client ID from StackSpot IAM */
885
888
  clientId?: string
886
889
  /** Resource type name */
887
890
  name: string
@@ -891,9 +894,9 @@ export type PermissionTypeResponse = {
891
894
  createdAt: string
892
895
  }
893
896
  export type PermissionResourceResponse = {
894
- /** Resource ID */
897
+ /** Resource ID from StackSpot IAM */
895
898
  id: string
896
- /** Resource's client ID */
899
+ /** Resource's client ID from StackSpot IAM */
897
900
  clientId?: string
898
901
  /** Resource's name */
899
902
  name: string
@@ -908,7 +911,7 @@ export type PermissionStatementResponse = {
908
911
  resource: PermissionResourceResponse
909
912
  }
910
913
  export type PermissionResponse = {
911
- /** Permission ID */
914
+ /** Permission ID from StackSpot IAM */
912
915
  id: string
913
916
  /** Permission's name */
914
917
  name: string
@@ -920,7 +923,7 @@ export type PermissionResponse = {
920
923
  statements: PermissionStatementResponse[]
921
924
  }
922
925
  export type RoleResponse = {
923
- /** Role id */
926
+ /** Role id from Keycloak */
924
927
  id: string
925
928
  /** Role name */
926
929
  name: string
@@ -1689,7 +1692,7 @@ export type DeleteGroupPermissionsRequest = {
1689
1692
  resourceSlug: string
1690
1693
  }
1691
1694
  export type UpdateGroupPermissionsRequest = {
1692
- /** Permission Action name */
1695
+ /** Permission Action */
1693
1696
  actionName: string
1694
1697
  /** Slug from resource type */
1695
1698
  resourceTypeSlug: string
@@ -2047,18 +2050,6 @@ export type FeatureFlagReadResponse = {
2047
2050
  [key: string]: FeatureFlagReadResourceResponse
2048
2051
  }
2049
2052
  }
2050
- export type AccountCollaborationInfoResponse = {
2051
- /** Account ID */
2052
- id: string
2053
- /** Account Name */
2054
- name: string
2055
- /** Account Tenant */
2056
- tenant: string
2057
- /** Account Slug */
2058
- slug: string
2059
- /** Role type of user in Account */
2060
- roleType: "OWNER" | "MEMBER"
2061
- }
2062
2053
  export type AccountDataReadResponse = {
2063
2054
  /** Account ID */
2064
2055
  id: string
@@ -2134,7 +2125,7 @@ export type AccountScmStatusResponse = {
2134
2125
  }
2135
2126
  export type RolePermissionResponse = {
2136
2127
  status?: boolean
2137
- /** Permission ID */
2128
+ /** Permission ID from StackSpot IAM */
2138
2129
  id: string
2139
2130
  /** Permission's name */
2140
2131
  name: string
@@ -3333,7 +3324,8 @@ export function create({ createFeatureFlagRequest }: {
3333
3324
  /**
3334
3325
  * Returns a paged list of Feature Flags associated with the current user's account.
3335
3326
  */
3336
- export function getFeatures1({ featureFlagPageRequest }: {
3327
+ export function getFeatures1({ accountId, featureFlagPageRequest }: {
3328
+ accountId: string
3337
3329
  featureFlagPageRequest?: FeatureFlagPageRequest
3338
3330
  }, opts?: Oazapfts.RequestOpts) {
3339
3331
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -3345,7 +3337,7 @@ export function getFeatures1({ featureFlagPageRequest }: {
3345
3337
  } | {
3346
3338
  status: 500
3347
3339
  data: PageResponseFeatureFlagsResponsePagedV2
3348
- }>("/v2/admin/feature-flags/list", oazapfts.json({
3340
+ }>(`/v2/admin/feature-flags/account/${encodeURIComponent(accountId)}`, oazapfts.json({
3349
3341
  ...opts,
3350
3342
  method: "POST",
3351
3343
  body: featureFlagPageRequest
@@ -3423,7 +3415,7 @@ export function createExternalLink({ accountId, externalLinkRequest }: {
3423
3415
  })))
3424
3416
  }
3425
3417
  /**
3426
- * Retrieves a list of service credentials with their associated owner information if available.
3418
+ * Get Service Credentials
3427
3419
  */
3428
3420
  export function getServiceCredentials1({ name, status, page, size }: {
3429
3421
  name?: string
@@ -3450,7 +3442,7 @@ export function getServiceCredentials1({ name, status, page, size }: {
3450
3442
  }))
3451
3443
  }
3452
3444
  /**
3453
- * Creates a new service credential for an account.
3445
+ * Create Service Credential
3454
3446
  */
3455
3447
  export function createServiceCredential1({ serviceCredentialCreateRequest }: {
3456
3448
  serviceCredentialCreateRequest: ServiceCredentialCreateRequest
@@ -3477,7 +3469,7 @@ export function createServiceCredential1({ serviceCredentialCreateRequest }: {
3477
3469
  })))
3478
3470
  }
3479
3471
  /**
3480
- * Notifies the user about the expiration of the service credential via email.
3472
+ * Notify about Service Credential expiration
3481
3473
  */
3482
3474
  export function notifyServiceCredentialExpiration({ serviceCredentialExpirationRequest }: {
3483
3475
  serviceCredentialExpirationRequest: ServiceCredentialExpirationNotifyRequest
@@ -4140,7 +4132,7 @@ export function createFidoMagicLink({ memberId, magicLinkRequest }: {
4140
4132
  })))
4141
4133
  }
4142
4134
  /**
4143
- * Lists all favorite resources associated with a specific member.
4135
+ * Get account member favorite resources
4144
4136
  */
4145
4137
  export function listAccountMemberFavorites({ memberId }: {
4146
4138
  memberId: string
@@ -4159,7 +4151,7 @@ export function listAccountMemberFavorites({ memberId }: {
4159
4151
  }))
4160
4152
  }
4161
4153
  /**
4162
- * Adds a favorite resource to a member.
4154
+ * Add account member favorite resource
4163
4155
  */
4164
4156
  export function addAccountMemberFavorite({ memberId, createFavoriteResourceRequest }: {
4165
4157
  memberId: string
@@ -4333,7 +4325,7 @@ export function createUserInvitation({ createUserInvitationRequest }: {
4333
4325
  })))
4334
4326
  }
4335
4327
  /**
4336
- * Returns a list of group information.
4328
+ * Get Groups
4337
4329
  */
4338
4330
  export function getGroups1({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, includeDefaultGroup }: {
4339
4331
  size?: any
@@ -4374,7 +4366,7 @@ export function getGroups1({ size, page, sort, direction, search, filterMode, fi
4374
4366
  }))
4375
4367
  }
4376
4368
  /**
4377
- * Creates a new group.
4369
+ * Create Group
4378
4370
  */
4379
4371
  export function save({ newGroupRequest }: {
4380
4372
  newGroupRequest: NewGroupRequest
@@ -4398,7 +4390,7 @@ export function save({ newGroupRequest }: {
4398
4390
  })))
4399
4391
  }
4400
4392
  /**
4401
- * Retrieves a list of roles for a specified group.
4393
+ * Get Group members
4402
4394
  */
4403
4395
  export function getRoles5({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
4404
4396
  groupId: string
@@ -4438,7 +4430,7 @@ export function getRoles5({ groupId, size, page, sort, direction, search, filter
4438
4430
  }))
4439
4431
  }
4440
4432
  /**
4441
- * Binds a list of roles to a specified group.
4433
+ * Bind Group roles
4442
4434
  */
4443
4435
  export function bindRoles({ groupId, groupRoleIdsRequest }: {
4444
4436
  groupId: string
@@ -4464,7 +4456,7 @@ export function bindRoles({ groupId, groupRoleIdsRequest }: {
4464
4456
  })))
4465
4457
  }
4466
4458
  /**
4467
- * Retrieves a list of resource associated with a specific group.
4459
+ * Get Group Resources
4468
4460
  */
4469
4461
  export function getGroupResources1({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
4470
4462
  groupId: string
@@ -4504,7 +4496,7 @@ export function getGroupResources1({ groupId, size, page, sort, direction, searc
4504
4496
  }))
4505
4497
  }
4506
4498
  /**
4507
- * Adds a list of resources to a specified group.
4499
+ * Add Multiple Resources to Group
4508
4500
  */
4509
4501
  export function addResourcesToGroup({ groupId, addResourcesToGroupRequest }: {
4510
4502
  groupId: string
@@ -4525,7 +4517,7 @@ export function addResourcesToGroup({ groupId, addResourcesToGroupRequest }: {
4525
4517
  })))
4526
4518
  }
4527
4519
  /**
4528
- * Retrieves a list of members fir a specific group.
4520
+ * Get Group members
4529
4521
  */
4530
4522
  export function getMembers1({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
4531
4523
  groupId: string
@@ -4565,7 +4557,7 @@ export function getMembers1({ groupId, size, page, sort, direction, search, filt
4565
4557
  }))
4566
4558
  }
4567
4559
  /**
4568
- * Bind members to a specified group.
4560
+ * Bind Group member
4569
4561
  */
4570
4562
  export function bindGroupMembers({ groupId, groupMemberIdsRequest }: {
4571
4563
  groupId: string
@@ -4591,7 +4583,7 @@ export function bindGroupMembers({ groupId, groupMemberIdsRequest }: {
4591
4583
  })))
4592
4584
  }
4593
4585
  /**
4594
- * Retrieves a list of extensions associated with the current user's account.
4586
+ * List all Account Extensions
4595
4587
  */
4596
4588
  export function listExtensions(opts?: Oazapfts.RequestOpts) {
4597
4589
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -4614,7 +4606,7 @@ export function listExtensions(opts?: Oazapfts.RequestOpts) {
4614
4606
  }))
4615
4607
  }
4616
4608
  /**
4617
- * Creates a new extension for the account.
4609
+ * Create Account Extension
4618
4610
  */
4619
4611
  export function createExtension({ extensionCreateRequest }: {
4620
4612
  extensionCreateRequest: ExtensionCreateRequest
@@ -4640,7 +4632,7 @@ export function createExtension({ extensionCreateRequest }: {
4640
4632
  })))
4641
4633
  }
4642
4634
  /**
4643
- * Retrieves a list of available versions for a specified extension.
4635
+ * List all Account Extension Versions
4644
4636
  */
4645
4637
  export function listExtensionVersions({ slug }: {
4646
4638
  slug: string
@@ -4665,7 +4657,7 @@ export function listExtensionVersions({ slug }: {
4665
4657
  }))
4666
4658
  }
4667
4659
  /**
4668
- * Creates a new version of an extension.
4660
+ * Create Account Extension Version
4669
4661
  */
4670
4662
  export function createExtensionVersion({ slug, name, body }: {
4671
4663
  slug: string
@@ -4698,7 +4690,7 @@ export function createExtensionVersion({ slug, name, body }: {
4698
4690
  })))
4699
4691
  }
4700
4692
  /**
4701
- * Lists all account's extension links.
4693
+ * List all Account Extension Links
4702
4694
  */
4703
4695
  export function listExtensionLinks({ workspaceId, $type, extensionSlug, showOnlyActive }: {
4704
4696
  workspaceId?: string
@@ -4731,7 +4723,7 @@ export function listExtensionLinks({ workspaceId, $type, extensionSlug, showOnly
4731
4723
  }))
4732
4724
  }
4733
4725
  /**
4734
- * Creates a new extension link for the account.
4726
+ * Create Account Extension Link
4735
4727
  */
4736
4728
  export function createExtensionLink({ extensionLinkCreateRequest }: {
4737
4729
  extensionLinkCreateRequest: ExtensionLinkCreateRequest
@@ -4758,7 +4750,7 @@ export function createExtensionLink({ extensionLinkCreateRequest }: {
4758
4750
  })))
4759
4751
  }
4760
4752
  /**
4761
- * Sends a welcome email to a new user.
4753
+ * Send Welcome Email
4762
4754
  */
4763
4755
  export function sendWelcomeEmail({ welcomeEmailRequest }: {
4764
4756
  welcomeEmailRequest: WelcomeEmailRequest
@@ -4778,7 +4770,7 @@ export function sendWelcomeEmail({ welcomeEmailRequest }: {
4778
4770
  })))
4779
4771
  }
4780
4772
  /**
4781
- * Sends a download email to the current user.
4773
+ * Send Download Email
4782
4774
  */
4783
4775
  export function sendDownloadEmail(opts?: Oazapfts.RequestOpts) {
4784
4776
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -4798,7 +4790,7 @@ export function sendDownloadEmail(opts?: Oazapfts.RequestOpts) {
4798
4790
  }))
4799
4791
  }
4800
4792
  /**
4801
- * Sends a contact email.
4793
+ * Send contact email
4802
4794
  */
4803
4795
  export function sendContactEmail({ contactEmailRequest }: {
4804
4796
  contactEmailRequest: ContactEmailRequest
@@ -4835,7 +4827,7 @@ export function validateCampaignCode({ code }: {
4835
4827
  }))
4836
4828
  }
4837
4829
  /**
4838
- * Switches the user to the account specified in the body.
4830
+ * Switch user to account passed in the body
4839
4831
  */
4840
4832
  export function switchAccount({ switchAccountRequest }: {
4841
4833
  switchAccountRequest: SwitchAccountRequest
@@ -4862,7 +4854,7 @@ export function switchAccount({ switchAccountRequest }: {
4862
4854
  })))
4863
4855
  }
4864
4856
  /**
4865
- * Gets credentials from personal service client (create if not exists one to the logged user).
4857
+ * Get credentials from personal service client (create if not exists one to the logged user).
4866
4858
  */
4867
4859
  export function getPersonalClientCredentials(opts?: Oazapfts.RequestOpts) {
4868
4860
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -4911,7 +4903,7 @@ export function getPersonalAccessToken1({ apiAuthorization, generateTokenFromPer
4911
4903
  })))
4912
4904
  }
4913
4905
  /**
4914
- * Disables the client that generates Personal Access Tokens.
4906
+ * Disable client that generates Personal Access Tokens.
4915
4907
  */
4916
4908
  export function disablePersonalAccessTokenGeneration(opts?: Oazapfts.RequestOpts) {
4917
4909
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -4928,7 +4920,7 @@ export function disablePersonalAccessTokenGeneration(opts?: Oazapfts.RequestOpts
4928
4920
  }))
4929
4921
  }
4930
4922
  /**
4931
- * Checks whether a client exists and is authorized to generate an Access Token on behalf of the logged-in user.
4923
+ * Verify if exists a client created (authorized) to generate Access Token on logged user behalf.
4932
4924
  */
4933
4925
  export function personalAccessTokenAuthorization(opts?: Oazapfts.RequestOpts) {
4934
4926
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -4947,7 +4939,7 @@ export function personalAccessTokenAuthorization(opts?: Oazapfts.RequestOpts) {
4947
4939
  }))
4948
4940
  }
4949
4941
  /**
4950
- * Authorizes the creation of a client to generate Personal Access Tokens on your behalf.
4942
+ * Authorize creating a client to generate Personal Access Tokens on your behalf.
4951
4943
  */
4952
4944
  export function createPersonalAccessToken(opts?: Oazapfts.RequestOpts) {
4953
4945
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -4970,7 +4962,7 @@ export function createPersonalAccessToken(opts?: Oazapfts.RequestOpts) {
4970
4962
  }))
4971
4963
  }
4972
4964
  /**
4973
- * Retrieves an Access Token generated on behalf of the logged-in user's service account, provided that prior authorization has been granted.
4965
+ * Get an Access Token generated on logged user's service account behalf, since previously authorized.
4974
4966
  */
4975
4967
  export function getPersonalAccessTokenFromServiceAccountOnly(opts?: Oazapfts.RequestOpts) {
4976
4968
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -4994,7 +4986,7 @@ export function getPersonalAccessTokenFromServiceAccountOnly(opts?: Oazapfts.Req
4994
4986
  }))
4995
4987
  }
4996
4988
  /**
4997
- * Generates a device code data for a user.
4989
+ * Generate device code.
4998
4990
  */
4999
4991
  export function deviceCode({ email, freemiumAccess, codeChallenge, body }: {
5000
4992
  email: string
@@ -5292,7 +5284,7 @@ export function ssoParseConfigurationFile({ protocol, body }: {
5292
5284
  })))
5293
5285
  }
5294
5286
  /**
5295
- * Creates a partner account order.
5287
+ * Create an Account Order for Partner
5296
5288
  */
5297
5289
  export function createPartner({ createAccountPartnerOrderRequest }: {
5298
5290
  createAccountPartnerOrderRequest: CreateAccountPartnerOrderRequest
@@ -5308,7 +5300,7 @@ export function createPartner({ createAccountPartnerOrderRequest }: {
5308
5300
  data: ErrorResponse
5309
5301
  } | {
5310
5302
  status: 500
5311
- data: ErrorResponse
5303
+ data: IdDefaultResponse
5312
5304
  }>("/v1/account-orders/partners", oazapfts.json({
5313
5305
  ...opts,
5314
5306
  method: "POST",
@@ -5316,7 +5308,7 @@ export function createPartner({ createAccountPartnerOrderRequest }: {
5316
5308
  })))
5317
5309
  }
5318
5310
  /**
5319
- * Validates new Partner account data.
5311
+ * Validate new Partner account data
5320
5312
  */
5321
5313
  export function validateNewPartnerData({ validateAccountPartnerDataRequest }: {
5322
5314
  validateAccountPartnerDataRequest: ValidateAccountPartnerDataRequest
@@ -5331,7 +5323,6 @@ export function validateNewPartnerData({ validateAccountPartnerDataRequest }: {
5331
5323
  data: ErrorResponse
5332
5324
  } | {
5333
5325
  status: 500
5334
- data: ErrorResponse
5335
5326
  }>("/v1/account-orders/partners/validations/creation-data", oazapfts.json({
5336
5327
  ...opts,
5337
5328
  method: "POST",
@@ -5460,7 +5451,7 @@ export function updateMemberPermissions({ memberId, body }: {
5460
5451
  })))
5461
5452
  }
5462
5453
  /**
5463
- * Deletes specific permissions from a group.
5454
+ * Delete Group permissions
5464
5455
  */
5465
5456
  export function deleteGroupPermissions({ groupId, body }: {
5466
5457
  groupId: string
@@ -5484,7 +5475,7 @@ export function deleteGroupPermissions({ groupId, body }: {
5484
5475
  })))
5485
5476
  }
5486
5477
  /**
5487
- * Updates the permissions of a specified group.
5478
+ * Update Group permissions
5488
5479
  */
5489
5480
  export function updateGroupPermissions({ groupId, body }: {
5490
5481
  groupId: string
@@ -5607,7 +5598,7 @@ export function associateGroupToServiceCredential({ id, serviceCredentialAssocia
5607
5598
  })))
5608
5599
  }
5609
5600
  /**
5610
- * Revokes a service credential.
5601
+ * Revoke Service Credential
5611
5602
  */
5612
5603
  export function revokeServiceCredential1({ id }: {
5613
5604
  id: string
@@ -5885,7 +5876,7 @@ export function resendUserInvitation({ id }: {
5885
5876
  }))
5886
5877
  }
5887
5878
  /**
5888
- * Retrieves information about a specific group by its ID.
5879
+ * Get Group by ID
5889
5880
  */
5890
5881
  export function getGroupById({ groupId }: {
5891
5882
  groupId: string
@@ -5907,7 +5898,7 @@ export function getGroupById({ groupId }: {
5907
5898
  }))
5908
5899
  }
5909
5900
  /**
5910
- * Deletes a group by its ID.
5901
+ * Delete Group
5911
5902
  */
5912
5903
  export function delete1({ groupId }: {
5913
5904
  groupId: string
@@ -5929,7 +5920,7 @@ export function delete1({ groupId }: {
5929
5920
  }))
5930
5921
  }
5931
5922
  /**
5932
- * Updates an existing group.
5923
+ * Update Group
5933
5924
  */
5934
5925
  export function update1({ groupId, updateGroupRequest }: {
5935
5926
  groupId: string
@@ -5957,7 +5948,7 @@ export function update1({ groupId, updateGroupRequest }: {
5957
5948
  })))
5958
5949
  }
5959
5950
  /**
5960
- * Deletes specific permissions from a group.
5951
+ * Delete Group permissions
5961
5952
  */
5962
5953
  export function deleteGroupPermissions1({ groupId, deleteGroupPermissionsRequest }: {
5963
5954
  groupId: string
@@ -5981,7 +5972,7 @@ export function deleteGroupPermissions1({ groupId, deleteGroupPermissionsRequest
5981
5972
  })))
5982
5973
  }
5983
5974
  /**
5984
- * Updates the permissions of a specified group.
5975
+ * Update Group permissions
5985
5976
  */
5986
5977
  export function updateGroupPermissions1({ groupId, updateGroupPermissionsRequest }: {
5987
5978
  groupId: string
@@ -6005,7 +5996,7 @@ export function updateGroupPermissions1({ groupId, updateGroupPermissionsRequest
6005
5996
  })))
6006
5997
  }
6007
5998
  /**
6008
- * Deletes an account's extension.
5999
+ * Delete Account Extension
6009
6000
  */
6010
6001
  export function deleteExtension({ slug }: {
6011
6002
  slug: string
@@ -6030,7 +6021,7 @@ export function deleteExtension({ slug }: {
6030
6021
  }))
6031
6022
  }
6032
6023
  /**
6033
- * Updates an account's extension.
6024
+ * Update Account Extension
6034
6025
  */
6035
6026
  export function updateExtension({ slug, extensionUpdateRequest }: {
6036
6027
  slug: string
@@ -6059,7 +6050,7 @@ export function updateExtension({ slug, extensionUpdateRequest }: {
6059
6050
  })))
6060
6051
  }
6061
6052
  /**
6062
- * Deletes an extension link by its ID.
6053
+ * Delete Account Extension Link
6063
6054
  */
6064
6055
  export function deleteExtensionLink({ id }: {
6065
6056
  id: string
@@ -6084,7 +6075,7 @@ export function deleteExtensionLink({ id }: {
6084
6075
  }))
6085
6076
  }
6086
6077
  /**
6087
- * Updates a specified account's extension link.
6078
+ * Update Account Extension Link
6088
6079
  */
6089
6080
  export function updateExtensionLink({ id, extensionLinkUpdateRequest }: {
6090
6081
  id: string
@@ -6236,7 +6227,7 @@ export function updateRateLimit({ updateRateLimitRequest }: {
6236
6227
  })))
6237
6228
  }
6238
6229
  /**
6239
- * Retrieves partner account details by account Id.
6230
+ * Get Partner by account Id
6240
6231
  */
6241
6232
  export function getPartnerAccount({ id }: {
6242
6233
  id: string
@@ -6258,7 +6249,7 @@ export function getPartnerAccount({ id }: {
6258
6249
  }))
6259
6250
  }
6260
6251
  /**
6261
- * Inactivates a partner account by disabling its associated tenant and updating its status.
6252
+ * Delete Partner
6262
6253
  */
6263
6254
  export function deletePartner({ id }: {
6264
6255
  id: string
@@ -6280,7 +6271,7 @@ export function deletePartner({ id }: {
6280
6271
  }))
6281
6272
  }
6282
6273
  /**
6283
- * Updates the partner account data.
6274
+ * Update Partner Account data.
6284
6275
  */
6285
6276
  export function updatePartnerAccountData({ id, accountPartnerAccountDataUpdateRequest }: {
6286
6277
  id: string
@@ -6304,7 +6295,7 @@ export function updatePartnerAccountData({ id, accountPartnerAccountDataUpdateRe
6304
6295
  })))
6305
6296
  }
6306
6297
  /**
6307
- * Updates the partner admin data for a specific account.
6298
+ * Update Partner Account Admin data.
6308
6299
  */
6309
6300
  export function updatePartnerAccountAdminData({ id, accountPartnerAdminDataUpdateRequest }: {
6310
6301
  id: string
@@ -6385,7 +6376,7 @@ export function getServiceCredentialByIdRateLimit({ clientId }: {
6385
6376
  }))
6386
6377
  }
6387
6378
  /**
6388
- * Retrieves a list of roles for the current tenant.
6379
+ * Get Roles
6389
6380
  */
6390
6381
  export function getRoles({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
6391
6382
  size?: any
@@ -6424,7 +6415,7 @@ export function getRoles({ size, page, sort, direction, search, filterMode, filt
6424
6415
  }))
6425
6416
  }
6426
6417
  /**
6427
- * Retrieves a list of all global resources and their associated actions for a specified role.
6418
+ * Get all Global Resources and Actions compared to role
6428
6419
  */
6429
6420
  export function getResourcesAndActionsWithStatus({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
6430
6421
  roleId: string
@@ -6464,7 +6455,7 @@ export function getResourcesAndActionsWithStatus({ roleId, size, page, sort, dir
6464
6455
  }))
6465
6456
  }
6466
6457
  /**
6467
- * Retrieves a list of members associated with a specific role.
6458
+ * Get role members
6468
6459
  */
6469
6460
  export function getRoleMembers({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
6470
6461
  roleId: string
@@ -6504,7 +6495,7 @@ export function getRoleMembers({ roleId, size, page, sort, direction, search, fi
6504
6495
  }))
6505
6496
  }
6506
6497
  /**
6507
- * Retrieves a list of role groups associated with a specific role ID.
6498
+ * Get Groups from role
6508
6499
  */
6509
6500
  export function getRoleGroups({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
6510
6501
  roleId: string
@@ -6663,7 +6654,7 @@ export function getResourceGroups({ resourceId, size, page, sort, direction, sea
6663
6654
  }))
6664
6655
  }
6665
6656
  /**
6666
- * Finds and retrieves a list of resource types for the current account.
6657
+ * Get Resource Types
6667
6658
  */
6668
6659
  export function getResourceTypes({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
6669
6660
  size?: any
@@ -6821,7 +6812,7 @@ export function getMemberGroups({ memberId, size, page, sort, direction, search,
6821
6812
  }))
6822
6813
  }
6823
6814
  /**
6824
- * Returns a list of group details.
6815
+ * Get Groups
6825
6816
  */
6826
6817
  export function getGroups({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, includeDefaultGroup }: {
6827
6818
  size?: any
@@ -6862,7 +6853,7 @@ export function getGroups({ size, page, sort, direction, search, filterMode, fil
6862
6853
  }))
6863
6854
  }
6864
6855
  /**
6865
- * Retrieves a list of roles for a specified group.
6856
+ * Get Group roles
6866
6857
  */
6867
6858
  export function getRoles2({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
6868
6859
  groupId: string
@@ -6902,7 +6893,7 @@ export function getRoles2({ groupId, size, page, sort, direction, search, filter
6902
6893
  }))
6903
6894
  }
6904
6895
  /**
6905
- * Finds and returns a list of resources associated with a specific group.
6896
+ * Get Group Resources
6906
6897
  */
6907
6898
  export function getGroupResources({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
6908
6899
  groupId: string
@@ -6942,7 +6933,7 @@ export function getGroupResources({ groupId, size, page, sort, direction, search
6942
6933
  }))
6943
6934
  }
6944
6935
  /**
6945
- * Returns a list of members from a specified group.
6936
+ * Get Group members
6946
6937
  */
6947
6938
  export function getMembers({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
6948
6939
  groupId: string
@@ -7049,24 +7040,7 @@ export function isCreatedScmCredentials(opts?: Oazapfts.RequestOpts) {
7049
7040
  }))
7050
7041
  }
7051
7042
  /**
7052
- * Retrieves a list of user accounts along with their collaboration roles for the current authenticated user.
7053
- */
7054
- export function getUserAccountWithRole(opts?: Oazapfts.RequestOpts) {
7055
- return oazapfts.ok(oazapfts.fetchJson<{
7056
- status: 200
7057
- data: AccountCollaborationInfoResponse[]
7058
- } | {
7059
- status: 403
7060
- data: ErrorResponse
7061
- } | {
7062
- status: 500
7063
- data: ErrorResponse
7064
- }>("/v1/users/accounts", {
7065
- ...opts
7066
- }))
7067
- }
7068
- /**
7069
- * Finds and returns a list of active accounts.
7043
+ * Get Accounts
7070
7044
  */
7071
7045
  export function getAccounts({ accountType, slug, id }: {
7072
7046
  accountType?: string
@@ -7091,7 +7065,7 @@ export function getAccounts({ accountType, slug, id }: {
7091
7065
  }))
7092
7066
  }
7093
7067
  /**
7094
- * Finds and retrieves active account details by the provided account ID.
7068
+ * Get Account by id
7095
7069
  */
7096
7070
  export function getAccount({ id }: {
7097
7071
  id: string
@@ -7113,7 +7087,7 @@ export function getAccount({ id }: {
7113
7087
  }))
7114
7088
  }
7115
7089
  /**
7116
- * Returns a list of account members for a specified account.
7090
+ * Get Account Members
7117
7091
  */
7118
7092
  export function getAccountMembers1({ id, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
7119
7093
  id: string
@@ -7153,7 +7127,7 @@ export function getAccountMembers1({ id, size, page, sort, direction, search, fi
7153
7127
  }))
7154
7128
  }
7155
7129
  /**
7156
- * Retrieves the service credential details for a given client ID.
7130
+ * Get Service Credential by ID (Client ID)
7157
7131
  */
7158
7132
  export function getServiceCredential({ id }: {
7159
7133
  id: string
@@ -7191,7 +7165,7 @@ export function getServiceCredentialPermissions({ id }: {
7191
7165
  }))
7192
7166
  }
7193
7167
  /**
7194
- * Retrieves a list of service credential groups associated with a specific client ID.
7168
+ * List service credential groups
7195
7169
  */
7196
7170
  export function getServiceCredentialGroups1({ id }: {
7197
7171
  id: string
@@ -7395,7 +7369,7 @@ export function getResourceGroups1({ resourceId, size, page, sort, direction, se
7395
7369
  }))
7396
7370
  }
7397
7371
  /**
7398
- * Finds and retrieves a list of resource types for the current account.
7372
+ * Get Resource Types
7399
7373
  */
7400
7374
  export function getResourceTypes1({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
7401
7375
  size?: any
@@ -7434,7 +7408,7 @@ export function getResourceTypes1({ size, page, sort, direction, search, filterM
7434
7408
  }))
7435
7409
  }
7436
7410
  /**
7437
- * Validates user permission access for resources.
7411
+ * Validate permission access
7438
7412
  */
7439
7413
  export function getAccess({ resourceType, resource, action, attribute }: {
7440
7414
  resourceType: string
@@ -7477,7 +7451,7 @@ export function getResources2({ memberId }: {
7477
7451
  }))
7478
7452
  }
7479
7453
  /**
7480
- * Lists the IDs of a member's favorite resources of a specified type.
7454
+ * Get member favorite resources by type
7481
7455
  */
7482
7456
  export function listMemberFavoritesByResource({ memberId, resourceType }: {
7483
7457
  memberId: string
@@ -7485,7 +7459,7 @@ export function listMemberFavoritesByResource({ memberId, resourceType }: {
7485
7459
  }, opts?: Oazapfts.RequestOpts) {
7486
7460
  return oazapfts.ok(oazapfts.fetchJson<{
7487
7461
  status: 200
7488
- data: string[]
7462
+ data: any
7489
7463
  } | {
7490
7464
  status: 404
7491
7465
  data: ErrorResponse
@@ -7553,7 +7527,7 @@ export function getFeatures3(opts?: Oazapfts.RequestOpts) {
7553
7527
  }))
7554
7528
  }
7555
7529
  /**
7556
- * Retrieves the details of a specific extension version.
7530
+ * Get a Account Extension Version
7557
7531
  */
7558
7532
  export function getExtensionVersion({ slug, versionName }: {
7559
7533
  slug: string
@@ -7579,7 +7553,7 @@ export function getExtensionVersion({ slug, versionName }: {
7579
7553
  }))
7580
7554
  }
7581
7555
  /**
7582
- * Deletes a specific version of an extension.
7556
+ * Delete Account Extension Version
7583
7557
  */
7584
7558
  export function deleteExtensionVersion({ slug, versionName }: {
7585
7559
  slug: string
@@ -7605,7 +7579,7 @@ export function deleteExtensionVersion({ slug, versionName }: {
7605
7579
  }))
7606
7580
  }
7607
7581
  /**
7608
- * Retrieves the details of the extension's active version.
7582
+ * Get the active Extension Version
7609
7583
  */
7610
7584
  export function getActiveExtensionVersion({ slug }: {
7611
7585
  slug: string
@@ -7630,7 +7604,7 @@ export function getActiveExtensionVersion({ slug }: {
7630
7604
  }))
7631
7605
  }
7632
7606
  /**
7633
- * Gets the Authentication Configuration for an account.
7607
+ * Get Authentication Configuration for account
7634
7608
  */
7635
7609
  export function getAuthenticationConfig({ tenantSlug }: {
7636
7610
  tenantSlug: string
@@ -7821,7 +7795,7 @@ export function getAllAccountSso({ size, page, sort, direction, search, filterMo
7821
7795
  }))
7822
7796
  }
7823
7797
  /**
7824
- * Finds and returns a list of partners who are sharing content.
7798
+ * Get Partners who are sharing content.
7825
7799
  */
7826
7800
  export function getSharingPartners({ name }: {
7827
7801
  name?: string
@@ -7845,7 +7819,7 @@ export function getSharingPartners({ name }: {
7845
7819
  }))
7846
7820
  }
7847
7821
  /**
7848
- * Finds and returns a list of partners with whom sharing content is allowed.
7822
+ * Get Partners with whom it is allowed to share content.
7849
7823
  */
7850
7824
  export function getPartnersSharingAllowed({ name }: {
7851
7825
  name?: string
@@ -7869,7 +7843,7 @@ export function getPartnersSharingAllowed({ name }: {
7869
7843
  }))
7870
7844
  }
7871
7845
  /**
7872
- * Validates Partner association limit.
7846
+ * Validate Partner association limit
7873
7847
  */
7874
7848
  export function validatePartnerAssociationLimit(opts?: Oazapfts.RequestOpts) {
7875
7849
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -7882,13 +7856,12 @@ export function validatePartnerAssociationLimit(opts?: Oazapfts.RequestOpts) {
7882
7856
  data: ErrorResponse
7883
7857
  } | {
7884
7858
  status: 500
7885
- data: ErrorResponse
7886
7859
  }>("/v1/account-orders/partners/validations/association-limit", {
7887
7860
  ...opts
7888
7861
  }))
7889
7862
  }
7890
7863
  /**
7891
- * Disassociates a group from a service credential.
7864
+ * Disassociate Group to Service Credential
7892
7865
  */
7893
7866
  export function disassociateGroupToServiceCredential({ id, groupId }: {
7894
7867
  id: string
@@ -8003,7 +7976,7 @@ export function deleteFidoKey({ memberId, keyId }: {
8003
7976
  }))
8004
7977
  }
8005
7978
  /**
8006
- * Removes a specified resource from a member favorites.
7979
+ * Remove resource from member favorites
8007
7980
  */
8008
7981
  export function deleteMemberFavorite({ memberId, resourceType, resourceId }: {
8009
7982
  memberId: string
@@ -8024,7 +7997,7 @@ export function deleteMemberFavorite({ memberId, resourceType, resourceId }: {
8024
7997
  }))
8025
7998
  }
8026
7999
  /**
8027
- * Deletes a specific role from a group.
8000
+ * Delete Group role
8028
8001
  */
8029
8002
  export function deleteRole({ groupId, roleId }: {
8030
8003
  groupId: string
@@ -8047,7 +8020,7 @@ export function deleteRole({ groupId, roleId }: {
8047
8020
  }))
8048
8021
  }
8049
8022
  /**
8050
- * Removes a resource from a specified group.
8023
+ * Delete Resource from Group
8051
8024
  */
8052
8025
  export function deleteResourceFromGroup({ groupId, resourceId }: {
8053
8026
  groupId: string
@@ -8067,7 +8040,7 @@ export function deleteResourceFromGroup({ groupId, resourceId }: {
8067
8040
  }))
8068
8041
  }
8069
8042
  /**
8070
- * Deletes a member from a specified group.
8043
+ * Delete Group member
8071
8044
  */
8072
8045
  export function deleteMember({ groupId, memberId }: {
8073
8046
  groupId: string