Adds several members to a group
Adds a member to several groups.
Adds several resources to a group.
Adds several roles to a group.
Attributes several roles to a member.
Adds a role to several groups
Adds a role to several members
Adds a service credential to several groups.
Get all groups (paginated).
Gets all members (paginated).
Gets all resources (paginated)
Gets all resource types (paginated)
Gets all roles in the account (paginated)
Gets all SCM credentials (account level).
Gets all service credentials (paginated).
Gets all SSOs.
Get All SSO Group Mappings (paginated).
Gets all SCM credentials for the user currently logged in.
Creates a Feature Flag
Creates a group.
Creates member on current tenant.
Creates an Account Order for Partner
Creates a role
Creates an SCM credential (account level).
Creates a service credential.
Creates a group mapping within an SSO.
Creates an SCM credential for the user currently logged in.
Deletes Partner
Deletes a group.
Deletes a role
Deletes the SCM credentials for the user currently logged in.
Deletes an SSO.
Deletes a group mapping from an SSO.
Disables Fido credentials for the given member.
Disables Personal Access Token (PAT) generation.
Enables Fido credentials for the given member.
Enables Personal Access Token (PAT) generation.
Lists all Feature Flags in an Account
Gets All Fido credentials for the given member (paginated).
Gets credentials from personal service client (create if not exists one to the logged user).
Get account member favorite resources
Get member favorite resources by type
Gets group by id.
Gets all members in a group (paginated).
Gets all resources of a group (paginated).
Gets all roles of a group.
Returns information if account data (name and slug) are available to be registered
Gets member by id.
Gets member Groups (paginated).
Gets member resources.
Gets member roles (paginated).
Parses a file with a configuration for an SSO. The protocol can be either SAML or OPENID.
Gets Partner by account Id
Gets Partners with whom it is allowed to share content.
Patches an SSO with a partial configuration change.
Verifies if Personal Access Token (PAT) generation is enabled.
Gets the preferences of a member.
Removes a member from a group
Removes a resource from a group.
Remove resource from member favorites
Removes a role from a group.
Removes a role from a member.
Removes a service credential from a group.
Sends an e-mail to reset the password of the member with the provided e-mail address.
Reset member OTP
Revokes a service credential.
Get a role by id
Gets all groups with the provided role (paginated)
Gets all members with the provided role (paginated)
Get the actions a role is allowed to perform
Gets the status for the SCM credential.
{ status: 'missing-account' }.{ status: 'missing-user' }.{ status: 'valid', mandate: boolean, hasUserConfiguration: boolean }. mandate indicates
if the SCM credential is mandatory at the account level for every user. hasUserConfiguration indicates if the user currently logged
in has an SCM credential configured or not.Gets the SCM provider.
Sends an email for downloading the CLI
Gets a service credential by id.
Gets all groups linked to a service credential.
Gets all the permissions linked to a service credential.
Creates an SSO. The protocol can be either SAML or OPENID.
Gets an SSO by id.
Gets the attributes of an SSO.
Updates a group.
Updates member on current tenant.
Updates Partner Account data.
Updates Partner Account Admin data.
Updates the preferences of a member.
Updates a role
Updates a specific role permission
Updates a role with new list of permissions
Updates an SCM credential (account level).
Updates an SSO. The payload will replace everything in the current configuration (won't be merged). Use patchSSO for merging.
Updates the attributes in a SSO.
Updates a group mapping within an SSO.
Updates an SCM credential for the user currently logged in.
Verifies if the current user has an SCM credential configured.
Validates new Partner account data
Validates the association limit for the partner. Yields { isValid: true } if valid or { isValid: false, message: string }
otherwise.
Validate permission access
ProtectedbuildProtectedcreateCreates a function that checks the permission for a request generated by an oazapfts function.
This is intended to help creating a manual operation.
the function generated by oazapfts.
a function that receives the variables of fn (if any) and returns a promise that resolves to true if the request is allowed
and false otherwise.
ProtectedcreateCreates a function that runs a oazapfts function with an abort signal.
This is intended to help creating a manual operation.
a function that receives a signal and the variables of fn (if any) and returns the same as fn.
ProtectedfetchMakes a request (same signature as globalThis.fetch). This request will prepend the base url to the url and, if there's an active
session, include authentication headers.
the url or request object.
Optionalinit: RequestInitthe fetch options.
a promise with the Response.
ProtectedinfiniteBuilds a query manually by using a configuration object.
the configuration object containing the name, a request function and a permission function.
Builds a query manually by using a configuration object.
the configuration object containing the name and a request function.
Builds a query automatically by using a function generated by oazapfts.
the oazapfts function.
the configuration for the infinite query.
Builds a query automatically by using a function generated by oazapfts with the variables page and size.
the oazapfts function that returns an array.
Optionaloptions: Partial<InfiniteQueryOptions<Variables, Result, PageParamName, Accumulator>>optional configuration for the infinite query. By default, it will use the variables page and size of the function passed in the first parameter.
Builds a query automatically by using a function generated by oazapfts in which the variables pageParamName is a string
which can be used for dynamic indexing.
the oazapfts function that returns an array.
optional configuration for the infinite query. By default, it will use the variables page and size of the function passed in the first parameter.
ProtectedisProtectedmutationBuilds a mutation manually by using a configuration object.
Builds a mutation manually by using a configuration object.
Builds a mutation automatically by using a function generated by oazapfts.
ProtectedqueryBuilds a query manually by using a configuration object.
Builds a query manually by using a configuration object.
Builds a query automatically by using a function generated by oazapfts.
ProtectedrequestVerifies if the current user is allowed to send the given request.
the request's method.
the path to the resource.
Optionalbody: string | objectthe request's body.
a promise that resolves to true if it's allowed or false otherwise.
ProtectedresolveURLProtectedstreamReads an EventSource from the endpoint. Differently than the original specification, this allows common HTTP requests with method and body to be made.
the url or request object.
Optionalinit: RequestInitthe fetch options.
a promise with a FetchEventStream, which is an AsyncGenerator.
StaticsetupSets up all network clients. Must be called before attempting to make any request.
An object with functions capable of checking, retrieving and ending the current session.
The environment to send the requests to.
Add account member favorite resource