Reference
Classes
Api
DefaultApi - interface
DefaultApiInterface
Extends
Constructors
new Api()
new Api(config?: ConfigurationParameters): ApiParameters
config?
Returns
Overrides
Properties
Methods
createFlag()
Create a new flag in the application. Returns the created flag and the resulting flag-state version for every environment. Create a flag
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<CreateFlag200Response>
Inherited from
createFlagRaw()
Create a new flag in the application. Returns the created flag and the resulting flag-state version for every environment. Create a flag
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<CreateFlag200Response>>
Inherited from
deleteCompany()
Synchronously delete a company and its related data from an environment. Requires the write:entities API key scope or admin member access. By default, users that belong only to this company are also deleted; set deleteUsers to false to preserve them. Users that belong to other companies are always preserved. Delete a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<object>
Inherited from
deleteCompanyRaw()
Synchronously delete a company and its related data from an environment. Requires the write:entities API key scope or admin member access. By default, users that belong only to this company are also deleted; set deleteUsers to false to preserve them. Users that belong to other companies are always preserved. Delete a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<object>>
Inherited from
deleteUser()
Synchronously delete a user and its related data, including company memberships, from an environment. Requires the write:entities API key scope or admin member access. Delete a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<object>
Inherited from
deleteUserRaw()
Synchronously delete a user and its related data, including company memberships, from an environment. Requires the write:entities API key scope or admin member access. Delete a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<object>>
Inherited from
getApp()
Retrieve a specific application by its identifier Get details of an application
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Inherited from
getAppRaw()
Retrieve a specific application by its identifier Get details of an application
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Inherited from
getCompanyFlags()
Retrieve flags evaluated with current runtime rules and the company's stored attributes. value is the evaluated enabled state, not a default or the last SDK result. specificTargetValue is saved assignment metadata and can remain true while No one makes value false. No user or other/request context is supplied; stored attributes may differ from a live SDK request. Get flags for a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Inherited from
getCompanyFlagsRaw()
Retrieve flags evaluated with current runtime rules and the company's stored attributes. value is the evaluated enabled state, not a default or the last SDK result. specificTargetValue is saved assignment metadata and can remain true while No one makes value false. No user or other/request context is supplied; stored attributes may differ from a live SDK request. Get flags for a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<EntityFlagsResponse>>
Inherited from
getEnvironment()
Retrieve details for a specific environment Get environment details
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Inherited from
getEnvironmentRaw()
Retrieve details for a specific environment Get environment details
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<Environment>>
Inherited from
getFlagTargeting()
Read a flag's authored targeting mode, saved explicit assignments, and compiled runtime enable rules with read scope. Saved targets may remain configured while No one disables all effective rules. Version, mode, assignments, and effective rules come from one configuration snapshot. This does not guarantee SDK propagation or replay a live evaluation context. Get flag targeting for an environment
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Inherited from
getFlagTargetingRaw()
Read a flag's authored targeting mode, saved explicit assignments, and compiled runtime enable rules with read scope. Saved targets may remain configured while No one disables all effective rules. Version, mode, assignments, and effective rules come from one configuration snapshot. This does not guarantee SDK propagation or replay a live evaluation context. Get flag targeting for an environment
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<FlagTargeting>>
Inherited from
DefaultApi.getFlagTargetingRaw
getUserFlags()
Retrieve flags evaluated with current runtime rules and stored user attributes, also checking each stored company membership separately. value is the evaluated enabled state, not a default or the last SDK result. specificTargetValue is saved assignment metadata and can remain true while No one makes value false. No other/request context is supplied; this is not a replay of a single live SDK request. Get flags for a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Inherited from
getUserFlagsRaw()
Retrieve flags evaluated with current runtime rules and stored user attributes, also checking each stored company membership separately. value is the evaluated enabled state, not a default or the last SDK result. specificTargetValue is saved assignment metadata and can remain true while No one makes value false. No other/request context is supplied; this is not a replay of a single live SDK request. Get flags for a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<EntityFlagsResponse>>
Inherited from
isJsonMime()
Check if the given MIME is a JSON MIME. JSON MIME examples: application/json application/json; charset=UTF8 APPLICATION/JSON application/vnd.company+json
Parameters
mime
undefined | null | string
MIME (Multipurpose Internet Mail Extensions)
Returns
boolean
True if the given MIME is JSON, false otherwise.
Inherited from
listApps()
Retrieve all accessible applications List of applications
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Inherited from
listAppsRaw()
Retrieve all accessible applications List of applications
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<AppHeaderCollection>>
Inherited from
listEnvironments()
Retrieve all environments for a specific application List environments for application
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<EnvironmentHeaderCollection>
Inherited from
listEnvironmentsRaw()
Retrieve all environments for a specific application List environments for application
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<EnvironmentHeaderCollection>>
Inherited from
DefaultApi.listEnvironmentsRaw
listFlags()
Retrieve all flags for a specific application List flags for application
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Inherited from
listFlagsRaw()
Retrieve all flags for a specific application List flags for application
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<FlagHeaderCollection>>
Inherited from
request()
Parameters
context
initOverrides?
RequestInit | InitOverrideFunction
Returns
Overrides
updateCompanyFlags()
Update specific targeting for flags for a company in an environment. Returns the environment flag-state version containing the completed update. Update flag targeting for a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<UpdateEntityFlagsResponse>
Inherited from
updateCompanyFlagsRaw()
Update specific targeting for flags for a company in an environment. Returns the environment flag-state version containing the completed update. Update flag targeting for a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<UpdateEntityFlagsResponse>>
Inherited from
DefaultApi.updateCompanyFlagsRaw
updateFlag()
Update an existing flag. Returns the current flag-state version for every environment, including any versions advanced by this update. Update a flag
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<CreateFlag200Response>
Inherited from
updateFlagRaw()
Update an existing flag. Returns the current flag-state version for every environment, including any versions advanced by this update. Update a flag
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<CreateFlag200Response>>
Inherited from
updateUserFlags()
Update specific targeting for flags for a user in an environment. Returns the environment flag-state version containing the completed update. Update flag targeting for a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<UpdateEntityFlagsResponse>
Inherited from
updateUserFlagsRaw()
Update specific targeting for flags for a user in an environment. Returns the environment flag-state version containing the completed update. Update flag targeting for a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<UpdateEntityFlagsResponse>>
Inherited from
upsertCompany()
Synchronously create or update a company in an environment. Requires the write:entities API key scope or admin member access. This scope also grants deletion through the corresponding entity DELETE endpoints, but does not grant membership changes or flag targeting; grant write:flag:targeting separately to assign flags and read for GET requests. Attributes accept JSON values and are normalized and merged using the same rules as ingestion. Recognized name and avatar attributes also update the corresponding company fields; top-level name takes precedence over name attributes. Omitting a field preserves its existing value. New companies may omit all fields. When this request succeeds, a subsequent company targeting request can read the company. Flag configuration propagation to SDKs is independent. Delayed ingestion writes may later replace overlapping values because the last database writer wins. Create or update a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<UpsertCompany200Response>
Inherited from
upsertCompanyRaw()
Synchronously create or update a company in an environment. Requires the write:entities API key scope or admin member access. This scope also grants deletion through the corresponding entity DELETE endpoints, but does not grant membership changes or flag targeting; grant write:flag:targeting separately to assign flags and read for GET requests. Attributes accept JSON values and are normalized and merged using the same rules as ingestion. Recognized name and avatar attributes also update the corresponding company fields; top-level name takes precedence over name attributes. Omitting a field preserves its existing value. New companies may omit all fields. When this request succeeds, a subsequent company targeting request can read the company. Flag configuration propagation to SDKs is independent. Delayed ingestion writes may later replace overlapping values because the last database writer wins. Create or update a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<UpsertCompany200Response>>
Inherited from
upsertUser()
Synchronously create or update a user in an environment. Requires the write:entities API key scope or admin member access. This scope also grants deletion through the corresponding entity DELETE endpoints, but does not grant membership changes or flag targeting; grant write:flag:targeting separately to assign flags and read for GET requests. Attributes accept JSON values and are normalized and merged using the same rules as ingestion. Recognized name, email, and avatar attributes also update the corresponding user fields; top-level name takes precedence over name attributes. Omitting a field preserves its existing value. New users may omit all fields. When this request succeeds, a subsequent user targeting request can read the user. Flag configuration propagation to SDKs is independent. Delayed ingestion writes may later replace overlapping values because the last database writer wins. Create or update a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<UpsertUser200Response>
Inherited from
upsertUserRaw()
Synchronously create or update a user in an environment. Requires the write:entities API key scope or admin member access. This scope also grants deletion through the corresponding entity DELETE endpoints, but does not grant membership changes or flag targeting; grant write:flag:targeting separately to assign flags and read for GET requests. Attributes accept JSON values and are normalized and merged using the same rules as ingestion. Recognized name, email, and avatar attributes also update the corresponding user fields; top-level name takes precedence over name attributes. Omitting a field preserves its existing value. New users may omit all fields. When this request succeeds, a subsequent user targeting request can read the user. Flag configuration propagation to SDKs is independent. Delayed ingestion writes may later replace overlapping values because the last database writer wins. Create or update a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<UpsertUser200Response>>
Inherited from
withMiddleware()
Type Parameters
T extends BaseAPI
Parameters
this
T
...middlewares
Returns
T
Inherited from
withPostMiddleware()
Type Parameters
T extends BaseAPI
Parameters
this
T
...postMiddlewares
( | undefined | (context: ResponseContext) => Promise< | void | Response>)[]
Returns
T
Inherited from
withPreMiddleware()
Type Parameters
T extends BaseAPI
Parameters
this
T
...preMiddlewares
( | undefined | (context: RequestContext) => Promise<void | FetchParams>)[]
Returns
T
Inherited from
BaseAPI
This is the base class for all generated API classes.
Extended by
Constructors
new BaseAPI()
Parameters
Returns
Properties
Methods
isJsonMime()
Check if the given MIME is a JSON MIME. JSON MIME examples: application/json application/json; charset=UTF8 APPLICATION/JSON application/vnd.company+json
Parameters
mime
undefined | null | string
MIME (Multipurpose Internet Mail Extensions)
Returns
boolean
True if the given MIME is JSON, false otherwise.
request()
Parameters
context
initOverrides?
RequestInit | InitOverrideFunction
Returns
withMiddleware()
Type Parameters
T extends BaseAPI
Parameters
this
T
...middlewares
Returns
T
withPostMiddleware()
Type Parameters
T extends BaseAPI
Parameters
this
T
...postMiddlewares
( | undefined | (context: ResponseContext) => Promise< | void | Response>)[]
Returns
T
withPreMiddleware()
Type Parameters
T extends BaseAPI
Parameters
this
T
...preMiddlewares
( | undefined | (context: RequestContext) => Promise<void | FetchParams>)[]
Returns
T
BlobApiResponse
Constructors
new BlobApiResponse()
Parameters
raw
Returns
Properties
Methods
value()
Returns
Configuration
Constructors
new Configuration()
Parameters
configuration
Returns
Accessors
accessToken
Get Signature
Returns
| undefined | (name?: string, scopes?: string[]) => | string | Promise<string>
apiKey
Get Signature
Returns
| undefined | (name: string) => | string | Promise<string>
basePath
Get Signature
Returns
string
config
Set Signature
Parameters
configuration
Returns
void
credentials
Get Signature
Returns
undefined | RequestCredentials
fetchApi
Get Signature
Returns
| undefined | (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>
headers
Get Signature
Returns
undefined | HTTPHeaders
middleware
Get Signature
Returns
password
Get Signature
Returns
undefined | string
queryParamsStringify
Get Signature
Returns
Function
Parameters
params
Returns
string
username
Get Signature
Returns
undefined | string
DefaultApi
DefaultApi - interface
DefaultApiInterface
Extends
Extended by
Implements
Constructors
new DefaultApi()
Parameters
Returns
Inherited from
Properties
Methods
createFlag()
Create a new flag in the application. Returns the created flag and the resulting flag-state version for every environment. Create a flag
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<CreateFlag200Response>
Implementation of
DefaultApiInterface.createFlag
createFlagRaw()
Create a new flag in the application. Returns the created flag and the resulting flag-state version for every environment. Create a flag
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<CreateFlag200Response>>
Implementation of
DefaultApiInterface.createFlagRaw
deleteCompany()
Synchronously delete a company and its related data from an environment. Requires the write:entities API key scope or admin member access. By default, users that belong only to this company are also deleted; set deleteUsers to false to preserve them. Users that belong to other companies are always preserved. Delete a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<object>
Implementation of
DefaultApiInterface.deleteCompany
deleteCompanyRaw()
Synchronously delete a company and its related data from an environment. Requires the write:entities API key scope or admin member access. By default, users that belong only to this company are also deleted; set deleteUsers to false to preserve them. Users that belong to other companies are always preserved. Delete a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<object>>
Implementation of
DefaultApiInterface.deleteCompanyRaw
deleteUser()
Synchronously delete a user and its related data, including company memberships, from an environment. Requires the write:entities API key scope or admin member access. Delete a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<object>
Implementation of
DefaultApiInterface.deleteUser
deleteUserRaw()
Synchronously delete a user and its related data, including company memberships, from an environment. Requires the write:entities API key scope or admin member access. Delete a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<object>>
Implementation of
DefaultApiInterface.deleteUserRaw
getApp()
Retrieve a specific application by its identifier Get details of an application
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Implementation of
getAppRaw()
Retrieve a specific application by its identifier Get details of an application
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Implementation of
getCompanyFlags()
Retrieve flags evaluated with current runtime rules and the company's stored attributes. value is the evaluated enabled state, not a default or the last SDK result. specificTargetValue is saved assignment metadata and can remain true while No one makes value false. No user or other/request context is supplied; stored attributes may differ from a live SDK request. Get flags for a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Implementation of
DefaultApiInterface.getCompanyFlags
getCompanyFlagsRaw()
Retrieve flags evaluated with current runtime rules and the company's stored attributes. value is the evaluated enabled state, not a default or the last SDK result. specificTargetValue is saved assignment metadata and can remain true while No one makes value false. No user or other/request context is supplied; stored attributes may differ from a live SDK request. Get flags for a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<EntityFlagsResponse>>
Implementation of
DefaultApiInterface.getCompanyFlagsRaw
getEnvironment()
Retrieve details for a specific environment Get environment details
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Implementation of
DefaultApiInterface.getEnvironment
getEnvironmentRaw()
Retrieve details for a specific environment Get environment details
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<Environment>>
Implementation of
DefaultApiInterface.getEnvironmentRaw
getFlagTargeting()
Read a flag's authored targeting mode, saved explicit assignments, and compiled runtime enable rules with read scope. Saved targets may remain configured while No one disables all effective rules. Version, mode, assignments, and effective rules come from one configuration snapshot. This does not guarantee SDK propagation or replay a live evaluation context. Get flag targeting for an environment
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Implementation of
DefaultApiInterface.getFlagTargeting
getFlagTargetingRaw()
Read a flag's authored targeting mode, saved explicit assignments, and compiled runtime enable rules with read scope. Saved targets may remain configured while No one disables all effective rules. Version, mode, assignments, and effective rules come from one configuration snapshot. This does not guarantee SDK propagation or replay a live evaluation context. Get flag targeting for an environment
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<FlagTargeting>>
Implementation of
DefaultApiInterface.getFlagTargetingRaw
getUserFlags()
Retrieve flags evaluated with current runtime rules and stored user attributes, also checking each stored company membership separately. value is the evaluated enabled state, not a default or the last SDK result. specificTargetValue is saved assignment metadata and can remain true while No one makes value false. No other/request context is supplied; this is not a replay of a single live SDK request. Get flags for a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Implementation of
DefaultApiInterface.getUserFlags
getUserFlagsRaw()
Retrieve flags evaluated with current runtime rules and stored user attributes, also checking each stored company membership separately. value is the evaluated enabled state, not a default or the last SDK result. specificTargetValue is saved assignment metadata and can remain true while No one makes value false. No other/request context is supplied; this is not a replay of a single live SDK request. Get flags for a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<EntityFlagsResponse>>
Implementation of
DefaultApiInterface.getUserFlagsRaw
isJsonMime()
Check if the given MIME is a JSON MIME. JSON MIME examples: application/json application/json; charset=UTF8 APPLICATION/JSON application/vnd.company+json
Parameters
mime
undefined | null | string
MIME (Multipurpose Internet Mail Extensions)
Returns
boolean
True if the given MIME is JSON, false otherwise.
Inherited from
listApps()
Retrieve all accessible applications List of applications
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Implementation of
listAppsRaw()
Retrieve all accessible applications List of applications
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<AppHeaderCollection>>
Implementation of
DefaultApiInterface.listAppsRaw
listEnvironments()
Retrieve all environments for a specific application List environments for application
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<EnvironmentHeaderCollection>
Implementation of
DefaultApiInterface.listEnvironments
listEnvironmentsRaw()
Retrieve all environments for a specific application List environments for application
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<EnvironmentHeaderCollection>>
Implementation of
DefaultApiInterface.listEnvironmentsRaw
listFlags()
Retrieve all flags for a specific application List flags for application
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Implementation of
listFlagsRaw()
Retrieve all flags for a specific application List flags for application
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<FlagHeaderCollection>>
Implementation of
DefaultApiInterface.listFlagsRaw
request()
Parameters
context
initOverrides?
RequestInit | InitOverrideFunction
Returns
Inherited from
updateCompanyFlags()
Update specific targeting for flags for a company in an environment. Returns the environment flag-state version containing the completed update. Update flag targeting for a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<UpdateEntityFlagsResponse>
Implementation of
DefaultApiInterface.updateCompanyFlags
updateCompanyFlagsRaw()
Update specific targeting for flags for a company in an environment. Returns the environment flag-state version containing the completed update. Update flag targeting for a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<UpdateEntityFlagsResponse>>
Implementation of
DefaultApiInterface.updateCompanyFlagsRaw
updateFlag()
Update an existing flag. Returns the current flag-state version for every environment, including any versions advanced by this update. Update a flag
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<CreateFlag200Response>
Implementation of
DefaultApiInterface.updateFlag
updateFlagRaw()
Update an existing flag. Returns the current flag-state version for every environment, including any versions advanced by this update. Update a flag
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<CreateFlag200Response>>
Implementation of
DefaultApiInterface.updateFlagRaw
updateUserFlags()
Update specific targeting for flags for a user in an environment. Returns the environment flag-state version containing the completed update. Update flag targeting for a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<UpdateEntityFlagsResponse>
Implementation of
DefaultApiInterface.updateUserFlags
updateUserFlagsRaw()
Update specific targeting for flags for a user in an environment. Returns the environment flag-state version containing the completed update. Update flag targeting for a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<UpdateEntityFlagsResponse>>
Implementation of
DefaultApiInterface.updateUserFlagsRaw
upsertCompany()
Synchronously create or update a company in an environment. Requires the write:entities API key scope or admin member access. This scope also grants deletion through the corresponding entity DELETE endpoints, but does not grant membership changes or flag targeting; grant write:flag:targeting separately to assign flags and read for GET requests. Attributes accept JSON values and are normalized and merged using the same rules as ingestion. Recognized name and avatar attributes also update the corresponding company fields; top-level name takes precedence over name attributes. Omitting a field preserves its existing value. New companies may omit all fields. When this request succeeds, a subsequent company targeting request can read the company. Flag configuration propagation to SDKs is independent. Delayed ingestion writes may later replace overlapping values because the last database writer wins. Create or update a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<UpsertCompany200Response>
Implementation of
DefaultApiInterface.upsertCompany
upsertCompanyRaw()
Synchronously create or update a company in an environment. Requires the write:entities API key scope or admin member access. This scope also grants deletion through the corresponding entity DELETE endpoints, but does not grant membership changes or flag targeting; grant write:flag:targeting separately to assign flags and read for GET requests. Attributes accept JSON values and are normalized and merged using the same rules as ingestion. Recognized name and avatar attributes also update the corresponding company fields; top-level name takes precedence over name attributes. Omitting a field preserves its existing value. New companies may omit all fields. When this request succeeds, a subsequent company targeting request can read the company. Flag configuration propagation to SDKs is independent. Delayed ingestion writes may later replace overlapping values because the last database writer wins. Create or update a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<UpsertCompany200Response>>
Implementation of
DefaultApiInterface.upsertCompanyRaw
upsertUser()
Synchronously create or update a user in an environment. Requires the write:entities API key scope or admin member access. This scope also grants deletion through the corresponding entity DELETE endpoints, but does not grant membership changes or flag targeting; grant write:flag:targeting separately to assign flags and read for GET requests. Attributes accept JSON values and are normalized and merged using the same rules as ingestion. Recognized name, email, and avatar attributes also update the corresponding user fields; top-level name takes precedence over name attributes. Omitting a field preserves its existing value. New users may omit all fields. When this request succeeds, a subsequent user targeting request can read the user. Flag configuration propagation to SDKs is independent. Delayed ingestion writes may later replace overlapping values because the last database writer wins. Create or update a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<UpsertUser200Response>
Implementation of
DefaultApiInterface.upsertUser
upsertUserRaw()
Synchronously create or update a user in an environment. Requires the write:entities API key scope or admin member access. This scope also grants deletion through the corresponding entity DELETE endpoints, but does not grant membership changes or flag targeting; grant write:flag:targeting separately to assign flags and read for GET requests. Attributes accept JSON values and are normalized and merged using the same rules as ingestion. Recognized name, email, and avatar attributes also update the corresponding user fields; top-level name takes precedence over name attributes. Omitting a field preserves its existing value. New users may omit all fields. When this request succeeds, a subsequent user targeting request can read the user. Flag configuration propagation to SDKs is independent. Delayed ingestion writes may later replace overlapping values because the last database writer wins. Create or update a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<ApiResponse<UpsertUser200Response>>
Implementation of
DefaultApiInterface.upsertUserRaw
withMiddleware()
Type Parameters
T extends BaseAPI
Parameters
this
T
...middlewares
Returns
T
Inherited from
withPostMiddleware()
Type Parameters
T extends BaseAPI
Parameters
this
T
...postMiddlewares
( | undefined | (context: ResponseContext) => Promise< | void | Response>)[]
Returns
T
Inherited from
withPreMiddleware()
Type Parameters
T extends BaseAPI
Parameters
this
T
...preMiddlewares
( | undefined | (context: RequestContext) => Promise<void | FetchParams>)[]
Returns
T
Inherited from
FetchError
Extends
Constructors
new FetchError()
Parameters
cause
msg?
string
Returns
Overrides
Properties
message
public
string
undefined
‐
‐
name
public
"FetchError"
"FetchError"
‐
stack?
public
string
undefined
‐
‐
prepareStackTrace?
static
(err: Error, stackTraces: CallSite[]) => any
undefined
Optional override for formatting stack traces
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
‐
stackTraceLimit
static
number
undefined
‐
‐
Methods
captureStackTrace()
Create .stack property on a target object
Parameters
targetObject
object
constructorOpt?
Returns
void
Inherited from
JSONApiResponse<T>
Type Parameters
T
Constructors
new JSONApiResponse()
Parameters
raw
transformer
Returns
Properties
Methods
value()
Returns
Promise<T>
ReflagApiError
Extends
Constructors
new ReflagApiError()
Parameters
status
number
message
string
code?
string
details?
unknown
Returns
Overrides
Properties
code?
public
string
‐
details?
public
unknown
‐
message
public
string
‐
name
public
string
‐
stack?
public
string
‐
status
public
number
‐
prepareStackTrace?
static
(err: Error, stackTraces: CallSite[]) => any
Optional override for formatting stack traces
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
stackTraceLimit
static
number
‐
Methods
captureStackTrace()
Create .stack property on a target object
Parameters
targetObject
object
constructorOpt?
Returns
void
Inherited from
RequiredError
Extends
Constructors
new RequiredError()
Parameters
field
string
msg?
string
Returns
Overrides
Properties
field
public
string
undefined
‐
‐
message
public
string
undefined
‐
‐
name
public
"RequiredError"
"RequiredError"
‐
stack?
public
string
undefined
‐
‐
prepareStackTrace?
static
(err: Error, stackTraces: CallSite[]) => any
undefined
Optional override for formatting stack traces
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
‐
stackTraceLimit
static
number
undefined
‐
‐
Methods
captureStackTrace()
Create .stack property on a target object
Parameters
targetObject
object
constructorOpt?
Returns
void
Inherited from
ResponseError
Extends
Constructors
new ResponseError()
Parameters
response
msg?
string
Returns
Overrides
Properties
message
public
string
undefined
‐
‐
name
public
"ResponseError"
"ResponseError"
‐
stack?
public
string
undefined
‐
‐
prepareStackTrace?
static
(err: Error, stackTraces: CallSite[]) => any
undefined
Optional override for formatting stack traces
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
‐
stackTraceLimit
static
number
undefined
‐
‐
Methods
captureStackTrace()
Create .stack property on a target object
Parameters
targetObject
object
constructorOpt?
Returns
void
Inherited from
TextApiResponse
Constructors
new TextApiResponse()
Parameters
raw
Returns
Properties
Methods
value()
Returns
Promise<string>
VoidApiResponse
Constructors
new VoidApiResponse()
Parameters
raw
Returns
Properties
Methods
value()
Returns
Promise<void>
Interfaces
ApiResponse<T>
Type Parameters
T
Properties
raw
Methods
value()
Returns
Promise<T>
App
App information with related collections App
Properties
demo
boolean
Whether the app is a demo app
id
string
App identifier
name
string
App name
AppHeader
Basic app information AppHeader
Properties
demo
boolean
Whether the app is a demo app
id
string
App identifier
name
string
App name
AppHeaderCollection
Collection of Basic app information AppHeaderCollection
Properties
ConfigurationParameters
Properties
accessToken?
basePath?
string
credentials?
RequestCredentials
headers?
middleware?
password?
string
queryParamsStringify?
(params: HTTPQuery) => string
username?
string
Consume
Properties
contentType
string
CreateFlag200Response
CreateFlag200Response
Properties
flagStateVersions
{}
Current flag-state version keyed by environment ID
CreateFlag200ResponseFlag
CreateFlag200ResponseFlag
Properties
archived
boolean
Whether the flag is archived
codeRefsCleanedUp
boolean
Whether code references for this flag have been cleaned up
codeRefsMarkedCleanAt?
string
Timestamp when code references were marked as cleaned up
codeRefsMarkedCleanUserName?
string
Name of the user who marked code references as cleaned up
createdAt?
string
Timestamp when the flag was created
description?
string
Flag description
id
string
Flag ID
key
string
Unique flag key
lastCheckAt?
string
Timestamp when the flag was last checked
lastTrackAt?
string
Timestamp when the flag was last tracked
name
string
Flag name
noRecentChecks
boolean
Whether the flag has no recent access checks
parentFlagId?
string
Parent flag ID
permanent
boolean
Whether the flag is permanent
rolledOutToEveryoneAt?
string
Timestamp when the flag was rolled out to everyone
stale
boolean
Whether the flag is stale
CreateFlagOperationRequest
CreateFlagRequest
Extends
Properties
appId
string
‐
description?
null | string
‐
key
string
Key of the flag
name
string
Name of the flag
ownerUserId?
null | string
‐
permanent?
boolean
‐
secret?
boolean
Whether the flag is secret
stageId?
string
Stage ID of the flag
CreateFlagRequest
CreateFlagRequest
Extended by
Properties
description?
null | string
‐
key
string
Key of the flag
name
string
Name of the flag
ownerUserId?
null | string
‐
permanent?
boolean
‐
secret?
boolean
Whether the flag is secret
stageId?
string
Stage ID of the flag
DefaultApiInterface
DefaultApi - interface
DefaultApiInterface
Methods
createFlag()
Create a new flag in the application. Returns the created flag and the resulting flag-state version for every environment. Create a flag
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<CreateFlag200Response>
createFlagRaw()
Create a new flag in the application. Returns the created flag and the resulting flag-state version for every environment.
Parameters
Returns
Promise<ApiResponse<CreateFlag200Response>>
Throws
deleteCompany()
Synchronously delete a company and its related data from an environment. Requires the write:entities API key scope or admin member access. By default, users that belong only to this company are also deleted; set deleteUsers to false to preserve them. Users that belong to other companies are always preserved. Delete a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<object>
deleteCompanyRaw()
Synchronously delete a company and its related data from an environment. Requires the write:entities API key scope or admin member access. By default, users that belong only to this company are also deleted; set deleteUsers to false to preserve them. Users that belong to other companies are always preserved.
Parameters
Returns
Promise<ApiResponse<object>>
Throws
deleteUser()
Synchronously delete a user and its related data, including company memberships, from an environment. Requires the write:entities API key scope or admin member access. Delete a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<object>
deleteUserRaw()
Synchronously delete a user and its related data, including company memberships, from an environment. Requires the write:entities API key scope or admin member access.
Parameters
Returns
Promise<ApiResponse<object>>
Throws
getApp()
Retrieve a specific application by its identifier Get details of an application
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
getAppRaw()
Retrieve a specific application by its identifier
Parameters
Returns
Throws
getCompanyFlags()
Retrieve flags evaluated with current runtime rules and the company's stored attributes. value is the evaluated enabled state, not a default or the last SDK result. specificTargetValue is saved assignment metadata and can remain true while No one makes value false. No user or other/request context is supplied; stored attributes may differ from a live SDK request. Get flags for a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
getCompanyFlagsRaw()
Retrieve flags evaluated with current runtime rules and the company's stored attributes. value is the evaluated enabled state, not a default or the last SDK result. specificTargetValue is saved assignment metadata and can remain true while No one makes value false. No user or other/request context is supplied; stored attributes may differ from a live SDK request.
Parameters
Returns
Promise<ApiResponse<EntityFlagsResponse>>
Throws
getEnvironment()
Retrieve details for a specific environment Get environment details
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
getEnvironmentRaw()
Retrieve details for a specific environment
Parameters
Returns
Promise<ApiResponse<Environment>>
Throws
getFlagTargeting()
Read a flag's authored targeting mode, saved explicit assignments, and compiled runtime enable rules with read scope. Saved targets may remain configured while No one disables all effective rules. Version, mode, assignments, and effective rules come from one configuration snapshot. This does not guarantee SDK propagation or replay a live evaluation context. Get flag targeting for an environment
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
getFlagTargetingRaw()
Read a flag's authored targeting mode, saved explicit assignments, and compiled runtime enable rules with read scope. Saved targets may remain configured while No one disables all effective rules. Version, mode, assignments, and effective rules come from one configuration snapshot. This does not guarantee SDK propagation or replay a live evaluation context.
Parameters
Returns
Promise<ApiResponse<FlagTargeting>>
Throws
getUserFlags()
Retrieve flags evaluated with current runtime rules and stored user attributes, also checking each stored company membership separately. value is the evaluated enabled state, not a default or the last SDK result. specificTargetValue is saved assignment metadata and can remain true while No one makes value false. No other/request context is supplied; this is not a replay of a single live SDK request. Get flags for a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
getUserFlagsRaw()
Retrieve flags evaluated with current runtime rules and stored user attributes, also checking each stored company membership separately. value is the evaluated enabled state, not a default or the last SDK result. specificTargetValue is saved assignment metadata and can remain true while No one makes value false. No other/request context is supplied; this is not a replay of a single live SDK request.
Parameters
Returns
Promise<ApiResponse<EntityFlagsResponse>>
Throws
listApps()
Retrieve all accessible applications List of applications
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
listAppsRaw()
Retrieve all accessible applications
Parameters
Returns
Promise<ApiResponse<AppHeaderCollection>>
Throws
listEnvironments()
Retrieve all environments for a specific application List environments for application
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<EnvironmentHeaderCollection>
listEnvironmentsRaw()
Retrieve all environments for a specific application
Parameters
Returns
Promise<ApiResponse<EnvironmentHeaderCollection>>
Throws
listFlags()
Retrieve all flags for a specific application List flags for application
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
listFlagsRaw()
Retrieve all flags for a specific application
Parameters
Returns
Promise<ApiResponse<FlagHeaderCollection>>
Throws
updateCompanyFlags()
Update specific targeting for flags for a company in an environment. Returns the environment flag-state version containing the completed update. Update flag targeting for a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<UpdateEntityFlagsResponse>
updateCompanyFlagsRaw()
Update specific targeting for flags for a company in an environment. Returns the environment flag-state version containing the completed update.
Parameters
Returns
Promise<ApiResponse<UpdateEntityFlagsResponse>>
Throws
updateFlag()
Update an existing flag. Returns the current flag-state version for every environment, including any versions advanced by this update. Update a flag
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<CreateFlag200Response>
updateFlagRaw()
Update an existing flag. Returns the current flag-state version for every environment, including any versions advanced by this update.
Parameters
Returns
Promise<ApiResponse<CreateFlag200Response>>
Throws
updateUserFlags()
Update specific targeting for flags for a user in an environment. Returns the environment flag-state version containing the completed update. Update flag targeting for a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<UpdateEntityFlagsResponse>
updateUserFlagsRaw()
Update specific targeting for flags for a user in an environment. Returns the environment flag-state version containing the completed update.
Parameters
Returns
Promise<ApiResponse<UpdateEntityFlagsResponse>>
Throws
upsertCompany()
Synchronously create or update a company in an environment. Requires the write:entities API key scope or admin member access. This scope also grants deletion through the corresponding entity DELETE endpoints, but does not grant membership changes or flag targeting; grant write:flag:targeting separately to assign flags and read for GET requests. Attributes accept JSON values and are normalized and merged using the same rules as ingestion. Recognized name and avatar attributes also update the corresponding company fields; top-level name takes precedence over name attributes. Omitting a field preserves its existing value. New companies may omit all fields. When this request succeeds, a subsequent company targeting request can read the company. Flag configuration propagation to SDKs is independent. Delayed ingestion writes may later replace overlapping values because the last database writer wins. Create or update a company
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<UpsertCompany200Response>
upsertCompanyRaw()
Synchronously create or update a company in an environment. Requires the write:entities API key scope or admin member access. This scope also grants deletion through the corresponding entity DELETE endpoints, but does not grant membership changes or flag targeting; grant write:flag:targeting separately to assign flags and read for GET requests. Attributes accept JSON values and are normalized and merged using the same rules as ingestion. Recognized name and avatar attributes also update the corresponding company fields; top-level name takes precedence over name attributes. Omitting a field preserves its existing value. New companies may omit all fields. When this request succeeds, a subsequent company targeting request can read the company. Flag configuration propagation to SDKs is independent. Delayed ingestion writes may later replace overlapping values because the last database writer wins.
Parameters
Returns
Promise<ApiResponse<UpsertCompany200Response>>
Throws
upsertUser()
Synchronously create or update a user in an environment. Requires the write:entities API key scope or admin member access. This scope also grants deletion through the corresponding entity DELETE endpoints, but does not grant membership changes or flag targeting; grant write:flag:targeting separately to assign flags and read for GET requests. Attributes accept JSON values and are normalized and merged using the same rules as ingestion. Recognized name, email, and avatar attributes also update the corresponding user fields; top-level name takes precedence over name attributes. Omitting a field preserves its existing value. New users may omit all fields. When this request succeeds, a subsequent user targeting request can read the user. Flag configuration propagation to SDKs is independent. Delayed ingestion writes may later replace overlapping values because the last database writer wins. Create or update a user
Parameters
requestParameters
initOverrides?
RequestInit | InitOverrideFunction
Returns
Promise<UpsertUser200Response>
upsertUserRaw()
Synchronously create or update a user in an environment. Requires the write:entities API key scope or admin member access. This scope also grants deletion through the corresponding entity DELETE endpoints, but does not grant membership changes or flag targeting; grant write:flag:targeting separately to assign flags and read for GET requests. Attributes accept JSON values and are normalized and merged using the same rules as ingestion. Recognized name, email, and avatar attributes also update the corresponding user fields; top-level name takes precedence over name attributes. Omitting a field preserves its existing value. New users may omit all fields. When this request succeeds, a subsequent user targeting request can read the user. Flag configuration propagation to SDKs is independent. Delayed ingestion writes may later replace overlapping values because the last database writer wins.
Parameters
Returns
Promise<ApiResponse<UpsertUser200Response>>
Throws
DeleteCompanyOperationRequest
DeleteCompanyRequest
Extends
Properties
appId
string
companyId
string
deleteUsers?
boolean
envId
string
DeleteCompanyRequest
DeleteCompanyRequest
Extended by
Properties
deleteUsers?
boolean
DeleteUserRequest
Properties
appId
string
envId
string
userId
string
EffectiveFlagFilter
A compiled runtime filter with segment and flag references resolved EffectiveFlagFilter
Properties
field
string
filter
filters
key
string
operator
partialRolloutAttribute
string
partialRolloutThreshold
number
value
boolean
values?
string[]
EffectiveFlagFilterAnyOf
EffectiveFlagFilterAnyOf
Properties
EffectiveFlagFilterAnyOf1
EffectiveFlagFilterAnyOf1
Properties
key
string
partialRolloutAttribute
string
partialRolloutThreshold
number
type
"rolloutPercentage"
EffectiveFlagFilterAnyOf2
EffectiveFlagFilterAnyOf2
Properties
type
"constant"
value
boolean
EffectiveFlagFilterAnyOf3
EffectiveFlagFilterAnyOf3
Properties
EffectiveFlagFilterAnyOf4
EffectiveFlagFilterAnyOf4
Properties
filter
type
"negation"
EffectiveFlagRule
One independent enable rule; a flag is enabled if any rule matches EffectiveFlagRule
Properties
filter
EntityFlag
Flag information with enabled status for an entity EntityFlag
Properties
createdAt
string
Timestamp when the flag was created
exposureCount
number
Number of times the entity was exposed to this flag
firstExposureAt
null | string
‐
firstTrackAt
null | string
‐
id
string
Flag ID
key
string
Unique flag key
lastCheckAt
null | string
‐
lastExposureAt
null | string
‐
lastTrackAt
null | string
‐
name
string
Flag name
specificTargetValue
null | boolean
‐
trackCount
number
Number of track events for this flag
value
boolean
Evaluated enabled state using current runtime rules and stored entity attributes, not the last SDK result or a default value. Company checks supply only company context. User checks supply user context and also check each stored company membership; no other/request context is supplied. Stored attributes and context may differ from a live SDK request.
EntityFlagsResponse
Response containing flags for an entity EntityFlagsResponse
Properties
pageIndex
number
Page index
pageSize
number
Page size
totalCount
number
Total number of flags
EntityFlagUpdate
Update for a single flag's explicit targeting override EntityFlagUpdate
Properties
flagKey
string
Unique flag key
specificTargetValue
null | true
‐
Environment
Environment details Environment
Properties
flagStateVersion
number
Environment version incremented when flag state changes
id
string
Environment identifier
isProduction
boolean
Whether the environment is a production environment
name
string
Environment name
order
number
Environment order in the app (zero-indexed)
EnvironmentHeader
Basic environment information EnvironmentHeader
Properties
flagStateVersion
number
Environment version incremented when flag state changes
id
string
Environment identifier
isProduction
boolean
Whether the environment is a production environment
name
string
Environment name
order
number
Environment order in the app (zero-indexed)
EnvironmentHeaderCollection
Collection of Basic environment information EnvironmentHeaderCollection
Properties
EnvironmentSdkAccess
SDK access details EnvironmentSdkAccess
Properties
publishableKey
string
Publishable key
secretKey
string
Secret key
ErrorContext
Properties
ErrorResponse
The error response, including individual issues, if applicable ErrorResponse
Properties
issues?
{}
Individual validation issues, if applicable
ErrorResponseError
The error ErrorResponseError
Properties
message
string
Human readable error message
FetchParams
Properties
init
RequestInit
url
string
FlagHeader
Basic flag information FlagHeader
Properties
archived
boolean
Whether the flag is archived
codeRefsCleanedUp
boolean
Whether code references for this flag have been cleaned up
codeRefsMarkedCleanAt?
string
Timestamp when code references were marked as cleaned up
codeRefsMarkedCleanUserName?
string
Name of the user who marked code references as cleaned up
createdAt?
string
Timestamp when the flag was created
description?
string
Flag description
id
string
Flag ID
key
string
Unique flag key
lastCheckAt?
string
Timestamp when the flag was last checked
lastTrackAt?
string
Timestamp when the flag was last tracked
name
string
Flag name
noRecentChecks
boolean
Whether the flag has no recent access checks
permanent
boolean
Whether the flag is permanent
rolledOutToEveryoneAt?
string
Timestamp when the flag was rolled out to everyone
stale
boolean
Whether the flag is stale
FlagHeaderCollection
Collection response containing flags FlagHeaderCollection
Properties
pageIndex
number
Page index
pageSize
number
Page size
totalCount
number
Total number of flags in collection
FlagTargeting
Flag targeting information and its audience FlagTargeting
Properties
effectiveRules
Compiled runtime enable rules, including active opt-ins, with segment and flag references resolved. Rules are evaluated independently (OR), not as one combined rule. Empty for No one, archived flags, or a configuration with no enable rules. Uses the same authored snapshot as version; does not guarantee SDK propagation or reproduce a live SDK context.
flagKey
string
Unique flag key
specificTargets
{}
Saved explicit assignments, preserved even when inactive. Use targetingMode and effectiveRules to interpret effective targeting, not list membership alone.
targetingMode
Authored targeting mode. Saved specific targets are inactive when this is none and are not required when it is everyone.
version
number
Flag targeting version
FlagValueTargeting
Flag targeting value and its audience FlagValueTargeting
Properties
companyIds
string[]
Companies that were explicitly given the value
userIds
string[]
Users that were explicitly given the value
GetAppRequest
Properties
appId
string
GetCompanyFlagsRequest
Properties
appId
string
companyId
string
envId
string
GetEnvironmentRequest
Properties
appId
string
envId
string
GetFlagTargetingRequest
Properties
appId
string
envId
string
flagKey
string
GetUserFlagsRequest
Properties
appId
string
envId
string
userId
string
ListAppsRequest
Properties
orgId?
string
ListEnvironmentsRequest
Properties
ListFlagsRequest
Properties
appId
string
Middleware
Methods
onError()?
Parameters
context
Returns
post()?
Parameters
context
Returns
pre()?
Parameters
context
Returns
Promise<void | FetchParams>
OrgHeader
Organization's basic information OrgHeader
Properties
id
string
Organization identifier
name
string
Organization name
ReflagUserHeader
Reflag user's basic information ReflagUserHeader
Properties
avatarUrl?
string
User's avatar URL
email
string
User's email
id
string
Reflag user identifier
name
string
User's name
RequestContext
Properties
RequestOpts
Properties
ResponseContext
Properties
ResponseTransformer()<T>
Type Parameters
T
Parameters
json
any
Returns
T
Schema0
Schema0
Schema1
Schema1
SegmentHeader
Segment's basic information SegmentHeader
Properties
StageHeader
Stage's basic information StageHeader
Properties
color
string
Stage color (HTML color name or hex code)
id
string
Stage identifier
name
string
Stage name
order
number
Stage order
UpdateCompanyFlagsRequest
Request body for updating flags for an entity UpdateEntityFlagsBody
Extends
Properties
appId
string
‐
changeDescription?
string
Description of the change for audit history
companyId
string
‐
envId
string
‐
notifications?
Destination list for notifications about the change. Use [] to disable notifications. Omit to use configured defaults.
UpdateEntityFlagsBody
Request body for updating flags for an entity UpdateEntityFlagsBody
Extended by
Properties
changeDescription?
string
Description of the change for audit history
notifications?
Destination list for notifications about the change. Use [] to disable notifications. Omit to use configured defaults.
UpdateEntityFlagsResponse
Updated entity flags and the environment flag-state version containing the change UpdateEntityFlagsResponse
Properties
flagStateVersion
number
Environment flag-state version containing the completed mutation
pageIndex
number
Page index
pageSize
number
Page size
totalCount
number
Total number of flags
UpdateFlagOperationRequest
UpdateFlagRequest
Extends
Properties
appId
string
‐
description?
null | string
‐
flagId
string
‐
isArchived?
boolean
‐
name?
string
Name of the flag
ownerUserId?
null | string
‐
permanent?
boolean
‐
secret?
boolean
Whether the flag is secret
stageId?
string
Stage ID of the flag
UpdateFlagRequest
UpdateFlagRequest
Extended by
Properties
description?
null | string
‐
isArchived?
boolean
‐
name?
string
Name of the flag
ownerUserId?
null | string
‐
permanent?
boolean
‐
secret?
boolean
Whether the flag is secret
stageId?
string
Stage ID of the flag
UpdateUserFlagsRequest
Request body for updating flags for an entity UpdateEntityFlagsBody
Extends
Properties
appId
string
‐
changeDescription?
string
Description of the change for audit history
envId
string
‐
notifications?
Destination list for notifications about the change. Use [] to disable notifications. Omit to use configured defaults.
userId
string
‐
UpsertCompany200Response
UpsertCompany200Response
Properties
attributes?
null | {}
‐
id
string
Company ID within your application
name?
string
Company name. Omit it to preserve an existing name; new companies may be unnamed.
UpsertCompanyOperationRequest
UpsertCompanyRequest
Extends
Properties
appId
string
‐
attributes?
null | {}
‐
companyId
string
‐
envId
string
‐
name?
string
Company name. Omit it to preserve an existing name; new companies may be unnamed.
UpsertCompanyRequest
UpsertCompanyRequest
Extended by
Properties
attributes?
null | {}
‐
name?
string
Company name. Omit it to preserve an existing name; new companies may be unnamed.
UpsertUser200Response
UpsertUser200Response
Properties
attributes?
null | {}
‐
id
string
User ID within your application
name?
string
User name. Omit it to preserve an existing name; new users may be unnamed.
UpsertUserOperationRequest
UpsertUserRequest
Extends
Properties
appId
string
‐
attributes?
null | {}
‐
envId
string
‐
name?
string
User name. Omit it to preserve an existing name; new users may be unnamed.
userId
string
‐
UpsertUserRequest
UpsertUserRequest
Extended by
Properties
attributes?
null | {}
‐
name?
string
User name. Omit it to preserve an existing name; new users may be unnamed.
Type Aliases
AppScopedApi<T>
Type Parameters
T
EffectiveFlagFilterAnyOf1TypeEnum
EffectiveFlagFilterAnyOf2TypeEnum
EffectiveFlagFilterAnyOf3OperatorEnum
EffectiveFlagFilterAnyOf3TypeEnum
EffectiveFlagFilterAnyOf4TypeEnum
EffectiveFlagFilterAnyOfOperatorEnum
EffectiveFlagFilterAnyOfTypeEnum
EffectiveFlagFilterOperatorEnum
EffectiveFlagFilterTypeEnum
EntityFlagUpdateSpecificTargetValueEnum
EnvironmentHeaderSortByColumn
ErrorResponseErrorCodeEnum
FetchAPI
FlagHeaderCollectionSortByEnum
FlagKeyFormat
FlagTargetingTargetingModeEnum
FlagValue
HTTPBody
HTTPHeaders
Index Signature
HTTPMethod
HTTPQuery
Index Signature
HTTPRequestInit
Type declaration
InitOverrideFunction()
Parameters
requestContext
{ context: RequestOpts; init: HTTPRequestInit; }
requestContext.context
requestContext.init
Returns
Promise<RequestInit>
Json
ModelPropertyNaming
OmitAppIdParam<F>
Type Parameters
F
SegmentType
SortOrder
UpdateEntityFlagsBodyNotificationsEnum
Variables
BASE_PATH
Reflag Management API Feature flag Management API
The version of the OpenAPI document: 3.1.0
NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.
COLLECTION_FORMATS
Type declaration
csv
string
","
pipes
string
"|"
ssv
string
" "
tsv
string
"\t"
DefaultConfig
EffectiveFlagFilterAnyOf1TypeEnum
Type declaration
RolloutPercentage
"rolloutPercentage"
'rolloutPercentage'
EffectiveFlagFilterAnyOf2TypeEnum
Type declaration
Constant
"constant"
'constant'
EffectiveFlagFilterAnyOf3OperatorEnum
Type declaration
And
"and"
'and'
Or
"or"
'or'
EffectiveFlagFilterAnyOf3TypeEnum
Type declaration
Group
"group"
'group'
EffectiveFlagFilterAnyOf4TypeEnum
Type declaration
Negation
"negation"
'negation'
EffectiveFlagFilterAnyOfOperatorEnum
Type declaration
After
"AFTER"
'AFTER'
AnyOf
"ANY_OF"
'ANY_OF'
Before
"BEFORE"
'BEFORE'
Contains
"CONTAINS"
'CONTAINS'
DateAfter
"DATE_AFTER"
'DATE_AFTER'
DateBefore
"DATE_BEFORE"
'DATE_BEFORE'
Gt
"GT"
'GT'
Is
"IS"
'IS'
IsFalse
"IS_FALSE"
'IS_FALSE'
IsNot
"IS_NOT"
'IS_NOT'
IsTrue
"IS_TRUE"
'IS_TRUE'
Lt
"LT"
'LT'
NotAnyOf
"NOT_ANY_OF"
'NOT_ANY_OF'
NotContains
"NOT_CONTAINS"
'NOT_CONTAINS'
NotSet
"NOT_SET"
'NOT_SET'
Set
"SET"
'SET'
EffectiveFlagFilterAnyOfTypeEnum
Type declaration
Context
"context"
'context'
EffectiveFlagFilterOperatorEnum
Type declaration
And
"and"
'and'
Or
"or"
'or'
EffectiveFlagFilterTypeEnum
Type declaration
Constant
"constant"
'constant'
Context
"context"
'context'
Group
"group"
'group'
Negation
"negation"
'negation'
RolloutPercentage
"rolloutPercentage"
'rolloutPercentage'
EntityFlagUpdateSpecificTargetValueEnum
Type declaration
True
true
true
EnvironmentHeaderSortByColumn
The column to sort by
Type declaration
Name
"name"
'name'
Order
"order"
'order'
ErrorResponseErrorCodeEnum
Type declaration
InvalidRequest
"invalid_request"
'invalid_request'
NotAllowed
"not_allowed"
'not_allowed'
NotAvailable
"not_available"
'not_available'
NotFound
"not_found"
'not_found'
NotPossible
"not_possible"
'not_possible'
Unauthenticated
"unauthenticated"
'unauthenticated'
Unauthorized
"unauthorized"
'unauthorized'
UnknownError
"unknown_error"
'unknown_error'
FlagHeaderCollectionSortByEnum
Type declaration
ArchivingChecks
"archivingChecks"
'archivingChecks'
AutoFeedbackSurveysEnabled
"autoFeedbackSurveysEnabled"
'autoFeedbackSurveysEnabled'
CreatedAt
"createdAt"
'createdAt'
EnvironmentStatus
"environmentStatus"
'environmentStatus'
Key
"key"
'key'
LastCheck
"lastCheck"
'lastCheck'
LastTrack
"lastTrack"
'lastTrack'
Name
"name"
'name'
Owner
"owner"
'owner'
RolledOutToEveryoneAt
"rolledOutToEveryoneAt"
'rolledOutToEveryoneAt'
Stage
"stage"
'stage'
Stale
"stale"
'stale'
FlagKeyFormat
The enforced key format when creating flags
Type declaration
CamelCase
"camelCase"
'camelCase'
Custom
"custom"
'custom'
KebabCaseLower
"kebabCaseLower"
'kebabCaseLower'
KebabCaseUpper
"kebabCaseUpper"
'kebabCaseUpper'
PascalCase
"pascalCase"
'pascalCase'
SnakeCaseLower
"snakeCaseLower"
'snakeCaseLower'
SnakeCaseUpper
"snakeCaseUpper"
'snakeCaseUpper'
FlagTargetingTargetingModeEnum
Type declaration
Everyone
"everyone"
'everyone'
None
"none"
'none'
Some
"some"
'some'
FlagValue
The saved explicit value for the audience; does not imply that targeting is active.
Type declaration
True
"true"
'true'
SegmentType
Segment type
Type declaration
All
"all"
'all'
Custom
"custom"
'custom'
SortOrder
Sort order applied to the sorting column
Type declaration
Asc
"asc"
'asc'
Desc
"desc"
'desc'
UpdateEntityFlagsBodyNotificationsEnum
Type declaration
LinearComment
"linearComment"
'linearComment'
Slack
"slack"
'slack'
Functions
AppFromJSON()
Parameters
json
any
Returns
AppFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
AppHeaderCollectionFromJSON()
Parameters
json
any
Returns
AppHeaderCollectionFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
AppHeaderCollectionToJSON()
Parameters
json
any
Returns
AppHeaderCollectionToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
AppHeaderFromJSON()
Parameters
json
any
Returns
AppHeaderFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
AppHeaderToJSON()
Parameters
json
any
Returns
AppHeaderToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
AppToJSON()
Parameters
json
any
Returns
AppToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
canConsumeForm()
Parameters
consumes
Consume[]
Returns
boolean
createAppClient()
Parameters
appId
string
config?
Returns
CreateFlag200ResponseFlagFromJSON()
Parameters
json
any
Returns
CreateFlag200ResponseFlagFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
CreateFlag200ResponseFlagToJSON()
Parameters
json
any
Returns
CreateFlag200ResponseFlagToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
CreateFlag200ResponseFromJSON()
Parameters
json
any
Returns
CreateFlag200ResponseFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
CreateFlag200ResponseToJSON()
Parameters
json
any
Returns
CreateFlag200ResponseToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
CreateFlagRequestFromJSON()
Parameters
json
any
Returns
CreateFlagRequestFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
CreateFlagRequestToJSON()
Parameters
json
any
Returns
CreateFlagRequestToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
DeleteCompanyRequestFromJSON()
Parameters
json
any
Returns
DeleteCompanyRequestFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
DeleteCompanyRequestToJSON()
Parameters
json
any
Returns
DeleteCompanyRequestToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
EffectiveFlagFilterAnyOf1FromJSON()
Parameters
json
any
Returns
EffectiveFlagFilterAnyOf1FromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
EffectiveFlagFilterAnyOf1ToJSON()
Parameters
json
any
Returns
EffectiveFlagFilterAnyOf1ToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
EffectiveFlagFilterAnyOf2FromJSON()
Parameters
json
any
Returns
EffectiveFlagFilterAnyOf2FromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
EffectiveFlagFilterAnyOf2ToJSON()
Parameters
json
any
Returns
EffectiveFlagFilterAnyOf2ToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
EffectiveFlagFilterAnyOf3FromJSON()
Parameters
json
any
Returns
EffectiveFlagFilterAnyOf3FromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
EffectiveFlagFilterAnyOf3ToJSON()
Parameters
json
any
Returns
EffectiveFlagFilterAnyOf3ToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
EffectiveFlagFilterAnyOf4FromJSON()
Parameters
json
any
Returns
EffectiveFlagFilterAnyOf4FromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
EffectiveFlagFilterAnyOf4ToJSON()
Parameters
json
any
Returns
EffectiveFlagFilterAnyOf4ToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
EffectiveFlagFilterAnyOfFromJSON()
Parameters
json
any
Returns
EffectiveFlagFilterAnyOfFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
EffectiveFlagFilterAnyOfToJSON()
Parameters
json
any
Returns
EffectiveFlagFilterAnyOfToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
EffectiveFlagFilterFromJSON()
Parameters
json
any
Returns
EffectiveFlagFilterFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
EffectiveFlagFilterToJSON()
Parameters
json
any
Returns
EffectiveFlagFilterToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
EffectiveFlagRuleFromJSON()
Parameters
json
any
Returns
EffectiveFlagRuleFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
EffectiveFlagRuleToJSON()
Parameters
json
any
Returns
EffectiveFlagRuleToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
EntityFlagFromJSON()
Parameters
json
any
Returns
EntityFlagFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
EntityFlagsResponseFromJSON()
Parameters
json
any
Returns
EntityFlagsResponseFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
EntityFlagsResponseToJSON()
Parameters
json
any
Returns
EntityFlagsResponseToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
EntityFlagToJSON()
Parameters
json
any
Returns
EntityFlagToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
EntityFlagUpdateFromJSON()
Parameters
json
any
Returns
EntityFlagUpdateFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
EntityFlagUpdateToJSON()
Parameters
json
any
Returns
EntityFlagUpdateToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
EnvironmentFromJSON()
Parameters
json
any
Returns
EnvironmentFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
EnvironmentHeaderCollectionFromJSON()
Parameters
json
any
Returns
EnvironmentHeaderCollectionFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
EnvironmentHeaderCollectionToJSON()
Parameters
json
any
Returns
EnvironmentHeaderCollectionToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
EnvironmentHeaderFromJSON()
Parameters
json
any
Returns
EnvironmentHeaderFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
EnvironmentHeaderSortByColumnFromJSON()
Parameters
json
any
Returns
EnvironmentHeaderSortByColumnFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
EnvironmentHeaderSortByColumnToJSON()
Parameters
value?
| null | EnvironmentHeaderSortByColumn
Returns
any
EnvironmentHeaderSortByColumnToJSONTyped()
Parameters
value
any
ignoreDiscriminator
boolean
Returns
EnvironmentHeaderToJSON()
Parameters
json
any
Returns
EnvironmentHeaderToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
EnvironmentSdkAccessFromJSON()
Parameters
json
any
Returns
EnvironmentSdkAccessFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
EnvironmentSdkAccessToJSON()
Parameters
json
any
Returns
EnvironmentSdkAccessToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
EnvironmentToJSON()
Parameters
json
any
Returns
EnvironmentToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
ErrorResponseErrorFromJSON()
Parameters
json
any
Returns
ErrorResponseErrorFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
ErrorResponseErrorToJSON()
Parameters
json
any
Returns
ErrorResponseErrorToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
ErrorResponseFromJSON()
Parameters
json
any
Returns
ErrorResponseFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
ErrorResponseToJSON()
Parameters
json
any
Returns
ErrorResponseToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
exists()
Parameters
json
any
key
string
Returns
boolean
FlagHeaderCollectionFromJSON()
Parameters
json
any
Returns
FlagHeaderCollectionFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
FlagHeaderCollectionToJSON()
Parameters
json
any
Returns
FlagHeaderCollectionToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
FlagHeaderFromJSON()
Parameters
json
any
Returns
FlagHeaderFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
FlagHeaderToJSON()
Parameters
json
any
Returns
FlagHeaderToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
FlagKeyFormatFromJSON()
Parameters
json
any
Returns
FlagKeyFormatFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
FlagKeyFormatToJSON()
Parameters
value?
null | FlagKeyFormat
Returns
any
FlagKeyFormatToJSONTyped()
Parameters
value
any
ignoreDiscriminator
boolean
Returns
FlagTargetingFromJSON()
Parameters
json
any
Returns
FlagTargetingFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
FlagTargetingToJSON()
Parameters
json
any
Returns
FlagTargetingToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
FlagValueFromJSON()
Parameters
json
any
Returns
FlagValueFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
FlagValueTargetingFromJSON()
Parameters
json
any
Returns
FlagValueTargetingFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
FlagValueTargetingToJSON()
Parameters
json
any
Returns
FlagValueTargetingToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
FlagValueToJSON()
Parameters
value?
null | "true"
Returns
any
FlagValueToJSONTyped()
Parameters
value
any
ignoreDiscriminator
boolean
Returns
instanceOfApp()
Check if a given object implements the App interface.
Parameters
value
object
Returns
value is App
instanceOfAppHeader()
Check if a given object implements the AppHeader interface.
Parameters
value
object
Returns
value is AppHeader
instanceOfAppHeaderCollection()
Check if a given object implements the AppHeaderCollection interface.
Parameters
value
object
Returns
value is AppHeaderCollection
instanceOfCreateFlag200Response()
Check if a given object implements the CreateFlag200Response interface.
Parameters
value
object
Returns
value is CreateFlag200Response
instanceOfCreateFlag200ResponseFlag()
Check if a given object implements the CreateFlag200ResponseFlag interface.
Parameters
value
object
Returns
value is CreateFlag200ResponseFlag
instanceOfCreateFlagRequest()
Check if a given object implements the CreateFlagRequest interface.
Parameters
value
object
Returns
value is CreateFlagRequest
instanceOfDeleteCompanyRequest()
Check if a given object implements the DeleteCompanyRequest interface.
Parameters
value
object
Returns
value is DeleteCompanyRequest
instanceOfEffectiveFlagFilter()
Check if a given object implements the EffectiveFlagFilter interface.
Parameters
value
object
Returns
value is EffectiveFlagFilter
instanceOfEffectiveFlagFilterAnyOf()
Check if a given object implements the EffectiveFlagFilterAnyOf interface.
Parameters
value
object
Returns
value is EffectiveFlagFilterAnyOf
instanceOfEffectiveFlagFilterAnyOf1()
Check if a given object implements the EffectiveFlagFilterAnyOf1 interface.
Parameters
value
object
Returns
value is EffectiveFlagFilterAnyOf1
instanceOfEffectiveFlagFilterAnyOf2()
Check if a given object implements the EffectiveFlagFilterAnyOf2 interface.
Parameters
value
object
Returns
value is EffectiveFlagFilterAnyOf2
instanceOfEffectiveFlagFilterAnyOf3()
Check if a given object implements the EffectiveFlagFilterAnyOf3 interface.
Parameters
value
object
Returns
value is EffectiveFlagFilterAnyOf3
instanceOfEffectiveFlagFilterAnyOf4()
Check if a given object implements the EffectiveFlagFilterAnyOf4 interface.
Parameters
value
object
Returns
value is EffectiveFlagFilterAnyOf4
instanceOfEffectiveFlagRule()
Check if a given object implements the EffectiveFlagRule interface.
Parameters
value
object
Returns
value is EffectiveFlagRule
instanceOfEntityFlag()
Check if a given object implements the EntityFlag interface.
Parameters
value
object
Returns
value is EntityFlag
instanceOfEntityFlagsResponse()
Check if a given object implements the EntityFlagsResponse interface.
Parameters
value
object
Returns
value is EntityFlagsResponse
instanceOfEntityFlagUpdate()
Check if a given object implements the EntityFlagUpdate interface.
Parameters
value
object
Returns
value is EntityFlagUpdate
instanceOfEnvironment()
Check if a given object implements the Environment interface.
Parameters
value
object
Returns
value is Environment
instanceOfEnvironmentHeader()
Check if a given object implements the EnvironmentHeader interface.
Parameters
value
object
Returns
value is EnvironmentHeader
instanceOfEnvironmentHeaderCollection()
Check if a given object implements the EnvironmentHeaderCollection interface.
Parameters
value
object
Returns
value is EnvironmentHeaderCollection
instanceOfEnvironmentHeaderSortByColumn()
Parameters
value
any
Returns
boolean
instanceOfEnvironmentSdkAccess()
Check if a given object implements the EnvironmentSdkAccess interface.
Parameters
value
object
Returns
value is EnvironmentSdkAccess
instanceOfErrorResponse()
Check if a given object implements the ErrorResponse interface.
Parameters
value
object
Returns
value is ErrorResponse
instanceOfErrorResponseError()
Check if a given object implements the ErrorResponseError interface.
Parameters
value
object
Returns
value is ErrorResponseError
instanceOfFlagHeader()
Check if a given object implements the FlagHeader interface.
Parameters
value
object
Returns
value is FlagHeader
instanceOfFlagHeaderCollection()
Check if a given object implements the FlagHeaderCollection interface.
Parameters
value
object
Returns
value is FlagHeaderCollection
instanceOfFlagKeyFormat()
Parameters
value
any
Returns
boolean
instanceOfFlagTargeting()
Check if a given object implements the FlagTargeting interface.
Parameters
value
object
Returns
value is FlagTargeting
instanceOfFlagValue()
Parameters
value
any
Returns
boolean
instanceOfFlagValueTargeting()
Check if a given object implements the FlagValueTargeting interface.
Parameters
value
object
Returns
value is FlagValueTargeting
instanceOfOrgHeader()
Check if a given object implements the OrgHeader interface.
Parameters
value
object
Returns
value is OrgHeader
instanceOfReflagUserHeader()
Check if a given object implements the ReflagUserHeader interface.
Parameters
value
object
Returns
value is ReflagUserHeader
instanceOfSchema0()
Check if a given object implements the Schema0 interface.
Parameters
value
object
Returns
value is Schema0
instanceOfSchema1()
Check if a given object implements the Schema1 interface.
Parameters
value
object
Returns
value is Schema1
instanceOfSegmentHeader()
Check if a given object implements the SegmentHeader interface.
Parameters
value
object
Returns
value is SegmentHeader
instanceOfSegmentType()
Parameters
value
any
Returns
boolean
instanceOfSortOrder()
Parameters
value
any
Returns
boolean
instanceOfStageHeader()
Check if a given object implements the StageHeader interface.
Parameters
value
object
Returns
value is StageHeader
instanceOfUpdateEntityFlagsBody()
Check if a given object implements the UpdateEntityFlagsBody interface.
Parameters
value
object
Returns
value is UpdateEntityFlagsBody
instanceOfUpdateEntityFlagsResponse()
Check if a given object implements the UpdateEntityFlagsResponse interface.
Parameters
value
object
Returns
value is UpdateEntityFlagsResponse
instanceOfUpdateFlagRequest()
Check if a given object implements the UpdateFlagRequest interface.
Parameters
value
object
Returns
value is UpdateFlagRequest
instanceOfUpsertCompany200Response()
Check if a given object implements the UpsertCompany200Response interface.
Parameters
value
object
Returns
value is UpsertCompany200Response
instanceOfUpsertCompanyRequest()
Check if a given object implements the UpsertCompanyRequest interface.
Parameters
value
object
Returns
value is UpsertCompanyRequest
instanceOfUpsertUser200Response()
Check if a given object implements the UpsertUser200Response interface.
Parameters
value
object
Returns
value is UpsertUser200Response
instanceOfUpsertUserRequest()
Check if a given object implements the UpsertUserRequest interface.
Parameters
value
object
Returns
value is UpsertUserRequest
mapValues()
Parameters
data
any
fn
(item: any) => any
Returns
OrgHeaderFromJSON()
Parameters
json
any
Returns
OrgHeaderFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
OrgHeaderToJSON()
Parameters
json
any
Returns
OrgHeaderToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
querystring()
Parameters
prefix
string
''
Returns
string
ReflagUserHeaderFromJSON()
Parameters
json
any
Returns
ReflagUserHeaderFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
ReflagUserHeaderToJSON()
Parameters
json
any
Returns
ReflagUserHeaderToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
Schema0FromJSON()
Parameters
json
any
Returns
Schema0FromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
Schema0ToJSON()
Parameters
json
any
Returns
Schema0ToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
Schema1FromJSON()
Parameters
json
any
Returns
Schema1FromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
Schema1ToJSON()
Parameters
json
any
Returns
Schema1ToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
SegmentHeaderFromJSON()
Parameters
json
any
Returns
SegmentHeaderFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
SegmentHeaderToJSON()
Parameters
json
any
Returns
SegmentHeaderToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
SegmentTypeFromJSON()
Parameters
json
any
Returns
SegmentTypeFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
SegmentTypeToJSON()
Parameters
value?
null | SegmentType
Returns
any
SegmentTypeToJSONTyped()
Parameters
value
any
ignoreDiscriminator
boolean
Returns
SortOrderFromJSON()
Parameters
json
any
Returns
SortOrderFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
SortOrderToJSON()
Parameters
value?
null | SortOrder
Returns
any
SortOrderToJSONTyped()
Parameters
value
any
ignoreDiscriminator
boolean
Returns
StageHeaderFromJSON()
Parameters
json
any
Returns
StageHeaderFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
StageHeaderToJSON()
Parameters
json
any
Returns
StageHeaderToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
UpdateEntityFlagsBodyFromJSON()
Parameters
json
any
Returns
UpdateEntityFlagsBodyFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
UpdateEntityFlagsBodyToJSON()
Parameters
json
any
Returns
UpdateEntityFlagsBodyToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
UpdateEntityFlagsResponseFromJSON()
Parameters
json
any
Returns
UpdateEntityFlagsResponseFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
UpdateEntityFlagsResponseToJSON()
Parameters
json
any
Returns
UpdateEntityFlagsResponseToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
UpdateFlagRequestFromJSON()
Parameters
json
any
Returns
UpdateFlagRequestFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
UpdateFlagRequestToJSON()
Parameters
json
any
Returns
UpdateFlagRequestToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
UpsertCompany200ResponseFromJSON()
Parameters
json
any
Returns
UpsertCompany200ResponseFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
UpsertCompany200ResponseToJSON()
Parameters
json
any
Returns
UpsertCompany200ResponseToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
UpsertCompanyRequestFromJSON()
Parameters
json
any
Returns
UpsertCompanyRequestFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
UpsertCompanyRequestToJSON()
Parameters
json
any
Returns
UpsertCompanyRequestToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
UpsertUser200ResponseFromJSON()
Parameters
json
any
Returns
UpsertUser200ResponseFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
UpsertUser200ResponseToJSON()
Parameters
json
any
Returns
UpsertUser200ResponseToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
UpsertUserRequestFromJSON()
Parameters
json
any
Returns
UpsertUserRequestFromJSONTyped()
Parameters
json
any
ignoreDiscriminator
boolean
Returns
UpsertUserRequestToJSON()
Parameters
json
any
Returns
UpsertUserRequestToJSONTyped()
Parameters
ignoreDiscriminator?
boolean
false
Returns
any
Last updated
Was this helpful?