For the complete documentation index, see llms.txt. This page is also available as Markdown.

Reference

Classes

Api

DefaultApi - interface

DefaultApiInterface

Extends

Constructors

new Api()

new Api(config?: ConfigurationParameters): Api

Parameters

Parameter
Type

Returns

Api

Overrides

DefaultApi.constructor

Properties

Property
Modifier
Type
Default value

configuration

protected

DefaultConfig

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

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<CreateFlag200Response>

Inherited from

DefaultApi.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

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<CreateFlag200Response>>

Inherited from

DefaultApi.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

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<object>

Inherited from

DefaultApi.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

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<object>>

Inherited from

DefaultApi.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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<object>

Inherited from

DefaultApi.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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<object>>

Inherited from

DefaultApi.deleteUserRaw

getApp()

Retrieve a specific application by its identifier Get details of an application

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<App>

Inherited from

DefaultApi.getApp

getAppRaw()

Retrieve a specific application by its identifier Get details of an application

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<App>>

Inherited from

DefaultApi.getAppRaw

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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<EntityFlagsResponse>

Inherited from

DefaultApi.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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<EntityFlagsResponse>>

Inherited from

DefaultApi.getCompanyFlagsRaw

getEnvironment()

Retrieve details for a specific environment Get environment details

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<Environment>

Inherited from

DefaultApi.getEnvironment

getEnvironmentRaw()

Retrieve details for a specific environment Get environment details

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<Environment>>

Inherited from

DefaultApi.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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<FlagTargeting>

Inherited from

DefaultApi.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

Parameter
Type

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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<EntityFlagsResponse>

Inherited from

DefaultApi.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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<EntityFlagsResponse>>

Inherited from

DefaultApi.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

Parameter
Type
Description

mime

undefined | null | string

MIME (Multipurpose Internet Mail Extensions)

Returns

boolean

True if the given MIME is JSON, false otherwise.

Inherited from

DefaultApi.isJsonMime

listApps()

Retrieve all accessible applications List of applications

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<AppHeaderCollection>

Inherited from

DefaultApi.listApps

listAppsRaw()

Retrieve all accessible applications List of applications

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<AppHeaderCollection>>

Inherited from

DefaultApi.listAppsRaw

listEnvironments()

Retrieve all environments for a specific application List environments for application

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<EnvironmentHeaderCollection>

Inherited from

DefaultApi.listEnvironments

listEnvironmentsRaw()

Retrieve all environments for a specific application List environments for application

Parameters

Parameter
Type

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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<FlagHeaderCollection>

Inherited from

DefaultApi.listFlags

listFlagsRaw()

Retrieve all flags for a specific application List flags for application

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<FlagHeaderCollection>>

Inherited from

DefaultApi.listFlagsRaw

request()

Parameters

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<Response>

Overrides

DefaultApi.request

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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<UpdateEntityFlagsResponse>

Inherited from

DefaultApi.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

Parameter
Type

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

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<CreateFlag200Response>

Inherited from

DefaultApi.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

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<CreateFlag200Response>>

Inherited from

DefaultApi.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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<UpdateEntityFlagsResponse>

Inherited from

DefaultApi.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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<UpdateEntityFlagsResponse>>

Inherited from

DefaultApi.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

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<UpsertCompany200Response>

Inherited from

DefaultApi.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

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<UpsertCompany200Response>>

Inherited from

DefaultApi.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

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<UpsertUser200Response>

Inherited from

DefaultApi.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

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<UpsertUser200Response>>

Inherited from

DefaultApi.upsertUserRaw

withMiddleware()

Type Parameters

Type Parameter

T extends BaseAPI

Parameters

Parameter
Type

this

T

...middlewares

Returns

T

Inherited from

DefaultApi.withMiddleware

withPostMiddleware()

Type Parameters

Type Parameter

T extends BaseAPI

Parameters

Parameter
Type

this

T

...postMiddlewares

( | undefined | (context: ResponseContext) => Promise< | void | Response>)[]

Returns

T

Inherited from

DefaultApi.withPostMiddleware

withPreMiddleware()

Type Parameters

Type Parameter

T extends BaseAPI

Parameters

Parameter
Type

this

T

...preMiddlewares

( | undefined | (context: RequestContext) => Promise<void | FetchParams>)[]

Returns

T

Inherited from

DefaultApi.withPreMiddleware


BaseAPI

This is the base class for all generated API classes.

Extended by

Constructors

new BaseAPI()

Parameters

Parameter
Type
Default value

configuration

DefaultConfig

Returns

BaseAPI

Properties

Property
Modifier
Type
Default value

configuration

protected

DefaultConfig

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

Parameter
Type
Description

mime

undefined | null | string

MIME (Multipurpose Internet Mail Extensions)

Returns

boolean

True if the given MIME is JSON, false otherwise.

request()

Parameters

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<Response>

withMiddleware()

Type Parameters

Type Parameter

T extends BaseAPI

Parameters

Parameter
Type

this

T

...middlewares

Returns

T

withPostMiddleware()

Type Parameters

Type Parameter

T extends BaseAPI

Parameters

Parameter
Type

this

T

...postMiddlewares

( | undefined | (context: ResponseContext) => Promise< | void | Response>)[]

Returns

T

withPreMiddleware()

Type Parameters

Type Parameter

T extends BaseAPI

Parameters

Parameter
Type

this

T

...preMiddlewares

( | undefined | (context: RequestContext) => Promise<void | FetchParams>)[]

Returns

T


BlobApiResponse

Constructors

new BlobApiResponse()

Parameters

Parameter
Type

Returns

BlobApiResponse

Properties

Property
Modifier
Type

raw

public

Methods

value()

Returns

Promise<Blob>


Configuration

Constructors

new Configuration()

Parameters

Parameter
Type

Returns

Configuration

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

Parameter
Type

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

Middleware[]

password

Get Signature

Returns

undefined | string

queryParamsStringify

Get Signature

Returns

Function

Parameters

Parameter
Type

params

Returns

string

username

Get Signature

Returns

undefined | string


DefaultApi

DefaultApi - interface

DefaultApiInterface

Extends

Extended by

Implements

Constructors

new DefaultApi()

Parameters

Parameter
Type
Default value

configuration

DefaultConfig

Returns

DefaultApi

Inherited from

BaseAPI.constructor

Properties

Property
Modifier
Type
Default value

configuration

protected

DefaultConfig

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

Parameter
Type

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

Parameter
Type

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

Parameter
Type

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

Parameter
Type

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

Parameter
Type

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

Parameter
Type

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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<App>

Implementation of

DefaultApiInterface.getApp

getAppRaw()

Retrieve a specific application by its identifier Get details of an application

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<App>>

Implementation of

DefaultApiInterface.getAppRaw

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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<EntityFlagsResponse>

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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<EntityFlagsResponse>>

Implementation of

DefaultApiInterface.getCompanyFlagsRaw

getEnvironment()

Retrieve details for a specific environment Get environment details

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<Environment>

Implementation of

DefaultApiInterface.getEnvironment

getEnvironmentRaw()

Retrieve details for a specific environment Get environment details

Parameters

Parameter
Type

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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<FlagTargeting>

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

Parameter
Type

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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<EntityFlagsResponse>

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

Parameter
Type

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

Parameter
Type
Description

mime

undefined | null | string

MIME (Multipurpose Internet Mail Extensions)

Returns

boolean

True if the given MIME is JSON, false otherwise.

Inherited from

BaseAPI.isJsonMime

listApps()

Retrieve all accessible applications List of applications

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<AppHeaderCollection>

Implementation of

DefaultApiInterface.listApps

listAppsRaw()

Retrieve all accessible applications List of applications

Parameters

Parameter
Type

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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<EnvironmentHeaderCollection>

Implementation of

DefaultApiInterface.listEnvironments

listEnvironmentsRaw()

Retrieve all environments for a specific application List environments for application

Parameters

Parameter
Type

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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<FlagHeaderCollection>

Implementation of

DefaultApiInterface.listFlags

listFlagsRaw()

Retrieve all flags for a specific application List flags for application

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<FlagHeaderCollection>>

Implementation of

DefaultApiInterface.listFlagsRaw

request()

Parameters

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<Response>

Inherited from

BaseAPI.request

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

Parameter
Type

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

Parameter
Type

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

Parameter
Type

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

Parameter
Type

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

Parameter
Type

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

Parameter
Type

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

Parameter
Type

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

Parameter
Type

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

Parameter
Type

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

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<UpsertUser200Response>>

Implementation of

DefaultApiInterface.upsertUserRaw

withMiddleware()

Type Parameters

Type Parameter

T extends BaseAPI

Parameters

Parameter
Type

this

T

...middlewares

Returns

T

Inherited from

BaseAPI.withMiddleware

withPostMiddleware()

Type Parameters

Type Parameter

T extends BaseAPI

Parameters

Parameter
Type

this

T

...postMiddlewares

( | undefined | (context: ResponseContext) => Promise< | void | Response>)[]

Returns

T

Inherited from

BaseAPI.withPostMiddleware

withPreMiddleware()

Type Parameters

Type Parameter

T extends BaseAPI

Parameters

Parameter
Type

this

T

...preMiddlewares

( | undefined | (context: RequestContext) => Promise<void | FetchParams>)[]

Returns

T

Inherited from

BaseAPI.withPreMiddleware


FetchError

Extends

Constructors

new FetchError()

Parameters

Parameter
Type

cause

msg?

string

Returns

FetchError

Overrides

Properties

Property
Modifier
Type
Default value
Description
Overrides

cause

public

undefined

‐

‐

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

Parameter
Type

targetObject

object

constructorOpt?

Returns

void

Inherited from


JSONApiResponse<T>

Type Parameters

Type Parameter

T

Constructors

new JSONApiResponse()

Parameters

Parameter
Type

Returns

JSONApiResponse<T>

Properties

Property
Modifier
Type

raw

public

Methods

value()

Returns

Promise<T>


ReflagApiError

Extends

Constructors

new ReflagApiError()

Parameters

Parameter
Type

status

number

message

string

code?

string

details?

unknown

Returns

ReflagApiError

Overrides

Properties

Property
Modifier
Type
Description

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

Parameter
Type

targetObject

object

constructorOpt?

Returns

void

Inherited from


RequiredError

Extends

Constructors

new RequiredError()

Parameters

Parameter
Type

field

string

msg?

string

Returns

RequiredError

Overrides

Properties

Property
Modifier
Type
Default value
Description
Overrides

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

Parameter
Type

targetObject

object

constructorOpt?

Returns

void

Inherited from


ResponseError

Extends

Constructors

new ResponseError()

Parameters

Parameter
Type

response

msg?

string

Returns

ResponseError

Overrides

Properties

Property
Modifier
Type
Default value
Description
Overrides

message

public

string

undefined

‐

‐

name

public

"ResponseError"

"ResponseError"

‐

response

public

undefined

‐

‐

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

Parameter
Type

targetObject

object

constructorOpt?

Returns

void

Inherited from


TextApiResponse

Constructors

new TextApiResponse()

Parameters

Parameter
Type

Returns

TextApiResponse

Properties

Property
Modifier
Type

raw

public

Methods

value()

Returns

Promise<string>


VoidApiResponse

Constructors

new VoidApiResponse()

Parameters

Parameter
Type

Returns

VoidApiResponse

Properties

Property
Modifier
Type

raw

public

Methods

value()

Returns

Promise<void>

Interfaces

ApiResponse<T>

Type Parameters

Type Parameter

T

Properties

Property
Type

Methods

value()

Returns

Promise<T>


App

App information with related collections App

Properties

Property
Type
Description

demo

boolean

Whether the app is a demo app

environments

Environments within the app

flagKeyFormat

‐

id

string

App identifier

name

string

App name

org

‐

segments

Segments within the app

stages

Stages within the app


AppHeader

Basic app information AppHeader

Properties

Property
Type
Description

demo

boolean

Whether the app is a demo app

environments

Environments within the app

flagKeyFormat

‐

id

string

App identifier

name

string

App name

org

‐


AppHeaderCollection

Collection of Basic app information AppHeaderCollection

Properties

Property
Type
Description

data

The individual items in the collection


ConfigurationParameters

Properties

Property
Type

accessToken?

| string | Promise<string> | (name?: string, scopes?: string[]) => | string | Promise<string>

apiKey?

| string | Promise<string> | (name: string) => | string | Promise<string>

basePath?

string

credentials?

RequestCredentials

fetchApi?

(input: RequestInfo | URL, init?: RequestInit) => Promise<Response>

headers?

middleware?

password?

string

queryParamsStringify?

(params: HTTPQuery) => string

username?

string


Consume

Properties

Property
Type

contentType

string


CreateFlag200Response

CreateFlag200Response

Properties

Property
Type
Description

flagStateVersions

{}

Current flag-state version keyed by environment ID


CreateFlag200ResponseFlag

CreateFlag200ResponseFlag

Properties

Property
Type
Description

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

stage?

‐

stale

boolean

Whether the flag is stale


CreateFlagOperationRequest

CreateFlagRequest

Extends

Properties

Property
Type
Description

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

Property
Type
Description

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

Parameter
Type

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

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

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

Parameter
Type

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

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

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

Parameter
Type

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

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

Returns

Promise<ApiResponse<object>>

Throws

getApp()

Retrieve a specific application by its identifier Get details of an application

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<App>

getAppRaw()

Retrieve a specific application by its identifier

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

Returns

Promise<ApiResponse<App>>

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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<EntityFlagsResponse>

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

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

Returns

Promise<ApiResponse<EntityFlagsResponse>>

Throws

getEnvironment()

Retrieve details for a specific environment Get environment details

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<Environment>

getEnvironmentRaw()

Retrieve details for a specific environment

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<FlagTargeting>

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

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

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

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<EntityFlagsResponse>

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

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

Returns

Promise<ApiResponse<EntityFlagsResponse>>

Throws

listApps()

Retrieve all accessible applications List of applications

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<AppHeaderCollection>

listAppsRaw()

Retrieve all accessible applications

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

Returns

Promise<ApiResponse<AppHeaderCollection>>

Throws

listEnvironments()

Retrieve all environments for a specific application List environments for application

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<EnvironmentHeaderCollection>

listEnvironmentsRaw()

Retrieve all environments for a specific application

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

Returns

Promise<ApiResponse<EnvironmentHeaderCollection>>

Throws

listFlags()

Retrieve all flags for a specific application List flags for application

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promise<FlagHeaderCollection>

listFlagsRaw()

Retrieve all flags for a specific application

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

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

Parameter
Type

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

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

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

Parameter
Type

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

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

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

Parameter
Type

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

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

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

Parameter
Type

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

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

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

Parameter
Type

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

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

‐

Returns

Promise<ApiResponse<UpsertUser200Response>>

Throws


DeleteCompanyOperationRequest

DeleteCompanyRequest

Extends

Properties

Property
Type

appId

string

companyId

string

deleteUsers?

boolean

envId

string


DeleteCompanyRequest

DeleteCompanyRequest

Extended by

Properties

Property
Type

deleteUsers?

boolean


DeleteUserRequest

Properties

Property
Type

appId

string

envId

string

userId

string


EffectiveFlagFilter

A compiled runtime filter with segment and flag references resolved EffectiveFlagFilter

Properties

Property
Type

field

string

key

string

partialRolloutAttribute

string

partialRolloutThreshold

number

value

boolean

values?

string[]


EffectiveFlagFilterAnyOf

EffectiveFlagFilterAnyOf

Properties

Property
Type

field

string

type

"context"

values?

string[]


EffectiveFlagFilterAnyOf1

EffectiveFlagFilterAnyOf1

Properties

Property
Type

key

string

partialRolloutAttribute

string

partialRolloutThreshold

number

type

"rolloutPercentage"


EffectiveFlagFilterAnyOf2

EffectiveFlagFilterAnyOf2

Properties

Property
Type

type

"constant"

value

boolean


EffectiveFlagFilterAnyOf3

EffectiveFlagFilterAnyOf3

Properties

Property
Type

EffectiveFlagFilterAnyOf4

EffectiveFlagFilterAnyOf4

Properties

Property
Type

type

"negation"


EffectiveFlagRule

One independent enable rule; a flag is enabled if any rule matches EffectiveFlagRule

Properties

Property
Type

EntityFlag

Flag information with enabled status for an entity EntityFlag

Properties

Property
Type
Description

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

Property
Type
Description

data

List of flags with their enabled status

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

Property
Type
Description

flagKey

string

Unique flag key

specificTargetValue

null | true

‐


Environment

Environment details Environment

Properties

Property
Type
Description

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

Property
Type
Description

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

Property
Type
Description

data

The individual items in the collection

sortOrder

‐


EnvironmentSdkAccess

SDK access details EnvironmentSdkAccess

Properties

Property
Type
Description

publishableKey

string

Publishable key

secretKey

string

Secret key


ErrorContext

Properties

Property
Type

error

unknown

fetch

(input: RequestInfo | URL, init?: RequestInit) => Promise<Response>

init

RequestInit

response?

url

string


ErrorResponse

The error response, including individual issues, if applicable ErrorResponse

Properties

Property
Type
Description

issues?

{}

Individual validation issues, if applicable


ErrorResponseError

The error ErrorResponseError

Properties

Property
Type
Description

message

string

Human readable error message


FetchParams

Properties

Property
Type

init

RequestInit

url

string


FlagHeader

Basic flag information FlagHeader

Properties

Property
Type
Description

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

stage?

‐

stale

boolean

Whether the flag is stale


FlagHeaderCollection

Collection response containing flags FlagHeaderCollection

Properties

Property
Type
Description

data

Page of the collection of flags

pageIndex

number

Page index

pageSize

number

Page size

sortOrder

Sort order

totalCount

number

Total number of flags in collection


FlagTargeting

Flag targeting information and its audience FlagTargeting

Properties

Property
Type
Description

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.

updatedAt

Last time the targeting was updated

version

number

Flag targeting version


FlagValueTargeting

Flag targeting value and its audience FlagValueTargeting

Properties

Property
Type
Description

companyIds

string[]

Companies that were explicitly given the value

userIds

string[]

Users that were explicitly given the value


GetAppRequest

Properties

Property
Type

appId

string


GetCompanyFlagsRequest

Properties

Property
Type

appId

string

companyId

string

envId

string


GetEnvironmentRequest

Properties

Property
Type

appId

string

envId

string


GetFlagTargetingRequest

Properties

Property
Type

appId

string

envId

string

flagKey

string


GetUserFlagsRequest

Properties

Property
Type

appId

string

envId

string

userId

string


ListAppsRequest

Properties

Property
Type

orgId?

string


ListEnvironmentsRequest

Properties

Property
Type

appId

string

sortOrder?


ListFlagsRequest

Properties

Property
Type

appId

string


Middleware

Methods

onError()?

Parameters

Parameter
Type

Returns

Promise< | void | Response>

post()?

Parameters

Parameter
Type

Returns

Promise< | void | Response>

pre()?

Parameters

Parameter
Type

Returns

Promise<void | FetchParams>


OrgHeader

Organization's basic information OrgHeader

Properties

Property
Type
Description

id

string

Organization identifier

name

string

Organization name


ReflagUserHeader

Reflag user's basic information ReflagUserHeader

Properties

Property
Type
Description

avatarUrl?

string

User's avatar URL

email

string

User's email

id

string

Reflag user identifier

name

string

User's name


RequestContext

Properties

Property
Type

fetch

(input: RequestInfo | URL, init?: RequestInit) => Promise<Response>

init

RequestInit

url

string


RequestOpts

Properties

Property
Type

body?

any

path

string

query?


ResponseContext

Properties

Property
Type

fetch

(input: RequestInfo | URL, init?: RequestInit) => Promise<Response>

init

RequestInit

response

url

string


ResponseTransformer()<T>

Type Parameters

Type Parameter

T

Parameters

Parameter
Type

json

any

Returns

T


Schema0

Schema0


Schema1

Schema1


SegmentHeader

Segment's basic information SegmentHeader

Properties

Property
Type
Description

id

string

Segment identifier

name

string

Segment name


StageHeader

Stage's basic information StageHeader

Properties

Property
Type
Description

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

Property
Type
Description

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.

updates

List of flag updates to apply


UpdateEntityFlagsBody

Request body for updating flags for an entity UpdateEntityFlagsBody

Extended by

Properties

Property
Type
Description

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.

updates

List of flag updates to apply


UpdateEntityFlagsResponse

Updated entity flags and the environment flag-state version containing the change UpdateEntityFlagsResponse

Properties

Property
Type
Description

data

List of flags with their enabled status

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

Property
Type
Description

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

Property
Type
Description

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

Property
Type
Description

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.

updates

List of flag updates to apply

userId

string

‐


UpsertCompany200Response

UpsertCompany200Response

Properties

Property
Type
Description

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

Property
Type
Description

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

Property
Type
Description

attributes?

null | {}

‐

name?

string

Company name. Omit it to preserve an existing name; new companies may be unnamed.


UpsertUser200Response

UpsertUser200Response

Properties

Property
Type
Description

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

Property
Type
Description

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

Property
Type
Description

attributes?

null | {}

‐

name?

string

User name. Omit it to preserve an existing name; new users may be unnamed.

Type Aliases

AppScopedApi<T>

Type Parameters

Type Parameter

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

Name
Type

credentials?

RequestCredentials

headers?


InitOverrideFunction()

Parameters

Parameter
Type

requestContext

{ context: RequestOpts; init: HTTPRequestInit; }

requestContext.context

requestContext.init

Returns

Promise<RequestInit>


Json


ModelPropertyNaming


OmitAppIdParam<F>

Type Parameters

Type Parameter

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

Name
Type
Default value

csv

string

","

pipes

string

"|"

ssv

string

" "

tsv

string

"\t"


DefaultConfig


EffectiveFlagFilterAnyOf1TypeEnum

Type declaration

Name
Type
Default value

RolloutPercentage

"rolloutPercentage"

'rolloutPercentage'


EffectiveFlagFilterAnyOf2TypeEnum

Type declaration

Name
Type
Default value

Constant

"constant"

'constant'


EffectiveFlagFilterAnyOf3OperatorEnum

Type declaration

Name
Type
Default value

And

"and"

'and'

Or

"or"

'or'


EffectiveFlagFilterAnyOf3TypeEnum

Type declaration

Name
Type
Default value

Group

"group"

'group'


EffectiveFlagFilterAnyOf4TypeEnum

Type declaration

Name
Type
Default value

Negation

"negation"

'negation'


EffectiveFlagFilterAnyOfOperatorEnum

Type declaration

Name
Type
Default value

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

Name
Type
Default value

Context

"context"

'context'


EffectiveFlagFilterOperatorEnum

Type declaration

Name
Type
Default value

And

"and"

'and'

Or

"or"

'or'


EffectiveFlagFilterTypeEnum

Type declaration

Name
Type
Default value

Constant

"constant"

'constant'

Context

"context"

'context'

Group

"group"

'group'

Negation

"negation"

'negation'

RolloutPercentage

"rolloutPercentage"

'rolloutPercentage'


EntityFlagUpdateSpecificTargetValueEnum

Type declaration

Name
Type
Default value

True

true

true


EnvironmentHeaderSortByColumn

The column to sort by

Type declaration

Name
Type
Default value

Name

"name"

'name'

Order

"order"

'order'


ErrorResponseErrorCodeEnum

Type declaration

Name
Type
Default value

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

Name
Type
Default value

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

Name
Type
Default value

CamelCase

"camelCase"

'camelCase'

Custom

"custom"

'custom'

KebabCaseLower

"kebabCaseLower"

'kebabCaseLower'

KebabCaseUpper

"kebabCaseUpper"

'kebabCaseUpper'

PascalCase

"pascalCase"

'pascalCase'

SnakeCaseLower

"snakeCaseLower"

'snakeCaseLower'

SnakeCaseUpper

"snakeCaseUpper"

'snakeCaseUpper'


FlagTargetingTargetingModeEnum

Type declaration

Name
Type
Default value

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

Name
Type
Default value

True

"true"

'true'


SegmentType

Segment type

Type declaration

Name
Type
Default value

All

"all"

'all'

Custom

"custom"

'custom'


SortOrder

Sort order applied to the sorting column

Type declaration

Name
Type
Default value

Asc

"asc"

'asc'

Desc

"desc"

'desc'


UpdateEntityFlagsBodyNotificationsEnum

Type declaration

Name
Type
Default value

LinearComment

"linearComment"

'linearComment'

Slack

"slack"

'slack'

Functions

AppFromJSON()

Parameters

Parameter
Type

json

any

Returns

App


AppFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

App


AppHeaderCollectionFromJSON()

Parameters

Parameter
Type

json

any

Returns

AppHeaderCollection


AppHeaderCollectionFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

AppHeaderCollection


AppHeaderCollectionToJSON()

Parameters

Parameter
Type

json

any

Returns

AppHeaderCollection


AppHeaderCollectionToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


AppHeaderFromJSON()

Parameters

Parameter
Type

json

any

Returns

AppHeader


AppHeaderFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

AppHeader


AppHeaderToJSON()

Parameters

Parameter
Type

json

any

Returns

AppHeader


AppHeaderToJSONTyped()

Parameters

Parameter
Type
Default value

value?

null | AppHeader

undefined

ignoreDiscriminator?

boolean

false

Returns

any


AppToJSON()

Parameters

Parameter
Type

json

any

Returns

App


AppToJSONTyped()

Parameters

Parameter
Type
Default value

value?

null | App

undefined

ignoreDiscriminator?

boolean

false

Returns

any


canConsumeForm()

Parameters

Parameter
Type

consumes

Returns

boolean


createAppClient()

Parameters

Parameter
Type

appId

string

Returns

AppScopedApi<Api>


CreateFlag200ResponseFlagFromJSON()

Parameters

Parameter
Type

json

any

Returns

CreateFlag200ResponseFlag


CreateFlag200ResponseFlagFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

CreateFlag200ResponseFlag


CreateFlag200ResponseFlagToJSON()

Parameters

Parameter
Type

json

any

Returns

CreateFlag200ResponseFlag


CreateFlag200ResponseFlagToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


CreateFlag200ResponseFromJSON()

Parameters

Parameter
Type

json

any

Returns

CreateFlag200Response


CreateFlag200ResponseFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

CreateFlag200Response


CreateFlag200ResponseToJSON()

Parameters

Parameter
Type

json

any

Returns

CreateFlag200Response


CreateFlag200ResponseToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


CreateFlagRequestFromJSON()

Parameters

Parameter
Type

json

any

Returns

CreateFlagRequest


CreateFlagRequestFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

CreateFlagRequest


CreateFlagRequestToJSON()

Parameters

Parameter
Type

json

any

Returns

CreateFlagRequest


CreateFlagRequestToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


DeleteCompanyRequestFromJSON()

Parameters

Parameter
Type

json

any

Returns

DeleteCompanyRequest


DeleteCompanyRequestFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

DeleteCompanyRequest


DeleteCompanyRequestToJSON()

Parameters

Parameter
Type

json

any

Returns

DeleteCompanyRequest


DeleteCompanyRequestToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


EffectiveFlagFilterAnyOf1FromJSON()

Parameters

Parameter
Type

json

any

Returns

EffectiveFlagFilterAnyOf1


EffectiveFlagFilterAnyOf1FromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

EffectiveFlagFilterAnyOf1


EffectiveFlagFilterAnyOf1ToJSON()

Parameters

Parameter
Type

json

any

Returns

EffectiveFlagFilterAnyOf1


EffectiveFlagFilterAnyOf1ToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


EffectiveFlagFilterAnyOf2FromJSON()

Parameters

Parameter
Type

json

any

Returns

EffectiveFlagFilterAnyOf2


EffectiveFlagFilterAnyOf2FromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

EffectiveFlagFilterAnyOf2


EffectiveFlagFilterAnyOf2ToJSON()

Parameters

Parameter
Type

json

any

Returns

EffectiveFlagFilterAnyOf2


EffectiveFlagFilterAnyOf2ToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


EffectiveFlagFilterAnyOf3FromJSON()

Parameters

Parameter
Type

json

any

Returns

EffectiveFlagFilterAnyOf3


EffectiveFlagFilterAnyOf3FromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

EffectiveFlagFilterAnyOf3


EffectiveFlagFilterAnyOf3ToJSON()

Parameters

Parameter
Type

json

any

Returns

EffectiveFlagFilterAnyOf3


EffectiveFlagFilterAnyOf3ToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


EffectiveFlagFilterAnyOf4FromJSON()

Parameters

Parameter
Type

json

any

Returns

EffectiveFlagFilterAnyOf4


EffectiveFlagFilterAnyOf4FromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

EffectiveFlagFilterAnyOf4


EffectiveFlagFilterAnyOf4ToJSON()

Parameters

Parameter
Type

json

any

Returns

EffectiveFlagFilterAnyOf4


EffectiveFlagFilterAnyOf4ToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


EffectiveFlagFilterAnyOfFromJSON()

Parameters

Parameter
Type

json

any

Returns

EffectiveFlagFilterAnyOf


EffectiveFlagFilterAnyOfFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

EffectiveFlagFilterAnyOf


EffectiveFlagFilterAnyOfToJSON()

Parameters

Parameter
Type

json

any

Returns

EffectiveFlagFilterAnyOf


EffectiveFlagFilterAnyOfToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


EffectiveFlagFilterFromJSON()

Parameters

Parameter
Type

json

any

Returns

EffectiveFlagFilter


EffectiveFlagFilterFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

EffectiveFlagFilter


EffectiveFlagFilterToJSON()

Parameters

Parameter
Type

json

any

Returns

EffectiveFlagFilter


EffectiveFlagFilterToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


EffectiveFlagRuleFromJSON()

Parameters

Parameter
Type

json

any

Returns

EffectiveFlagRule


EffectiveFlagRuleFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

EffectiveFlagRule


EffectiveFlagRuleToJSON()

Parameters

Parameter
Type

json

any

Returns

EffectiveFlagRule


EffectiveFlagRuleToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


EntityFlagFromJSON()

Parameters

Parameter
Type

json

any

Returns

EntityFlag


EntityFlagFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

EntityFlag


EntityFlagsResponseFromJSON()

Parameters

Parameter
Type

json

any

Returns

EntityFlagsResponse


EntityFlagsResponseFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

EntityFlagsResponse


EntityFlagsResponseToJSON()

Parameters

Parameter
Type

json

any

Returns

EntityFlagsResponse


EntityFlagsResponseToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


EntityFlagToJSON()

Parameters

Parameter
Type

json

any

Returns

EntityFlag


EntityFlagToJSONTyped()

Parameters

Parameter
Type
Default value

value?

null | EntityFlag

undefined

ignoreDiscriminator?

boolean

false

Returns

any


EntityFlagUpdateFromJSON()

Parameters

Parameter
Type

json

any

Returns

EntityFlagUpdate


EntityFlagUpdateFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

EntityFlagUpdate


EntityFlagUpdateToJSON()

Parameters

Parameter
Type

json

any

Returns

EntityFlagUpdate


EntityFlagUpdateToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


EnvironmentFromJSON()

Parameters

Parameter
Type

json

any

Returns

Environment


EnvironmentFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

Environment


EnvironmentHeaderCollectionFromJSON()

Parameters

Parameter
Type

json

any

Returns

EnvironmentHeaderCollection


EnvironmentHeaderCollectionFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

EnvironmentHeaderCollection


EnvironmentHeaderCollectionToJSON()

Parameters

Parameter
Type

json

any

Returns

EnvironmentHeaderCollection


EnvironmentHeaderCollectionToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


EnvironmentHeaderFromJSON()

Parameters

Parameter
Type

json

any

Returns

EnvironmentHeader


EnvironmentHeaderFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

EnvironmentHeader


EnvironmentHeaderSortByColumnFromJSON()

Parameters

Parameter
Type

json

any

Returns

EnvironmentHeaderSortByColumn


EnvironmentHeaderSortByColumnFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

EnvironmentHeaderSortByColumn


EnvironmentHeaderSortByColumnToJSON()

Parameters

Parameter
Type

Returns

any


EnvironmentHeaderSortByColumnToJSONTyped()

Parameters

Parameter
Type

value

any

ignoreDiscriminator

boolean

Returns

EnvironmentHeaderSortByColumn


EnvironmentHeaderToJSON()

Parameters

Parameter
Type

json

any

Returns

EnvironmentHeader


EnvironmentHeaderToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


EnvironmentSdkAccessFromJSON()

Parameters

Parameter
Type

json

any

Returns

EnvironmentSdkAccess


EnvironmentSdkAccessFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

EnvironmentSdkAccess


EnvironmentSdkAccessToJSON()

Parameters

Parameter
Type

json

any

Returns

EnvironmentSdkAccess


EnvironmentSdkAccessToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


EnvironmentToJSON()

Parameters

Parameter
Type

json

any

Returns

Environment


EnvironmentToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


ErrorResponseErrorFromJSON()

Parameters

Parameter
Type

json

any

Returns

ErrorResponseError


ErrorResponseErrorFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

ErrorResponseError


ErrorResponseErrorToJSON()

Parameters

Parameter
Type

json

any

Returns

ErrorResponseError


ErrorResponseErrorToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


ErrorResponseFromJSON()

Parameters

Parameter
Type

json

any

Returns

ErrorResponse


ErrorResponseFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

ErrorResponse


ErrorResponseToJSON()

Parameters

Parameter
Type

json

any

Returns

ErrorResponse


ErrorResponseToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


exists()

Parameters

Parameter
Type

json

any

key

string

Returns

boolean


FlagHeaderCollectionFromJSON()

Parameters

Parameter
Type

json

any

Returns

FlagHeaderCollection


FlagHeaderCollectionFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

FlagHeaderCollection


FlagHeaderCollectionToJSON()

Parameters

Parameter
Type

json

any

Returns

FlagHeaderCollection


FlagHeaderCollectionToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


FlagHeaderFromJSON()

Parameters

Parameter
Type

json

any

Returns

FlagHeader


FlagHeaderFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

FlagHeader


FlagHeaderToJSON()

Parameters

Parameter
Type

json

any

Returns

FlagHeader


FlagHeaderToJSONTyped()

Parameters

Parameter
Type
Default value

value?

null | FlagHeader

undefined

ignoreDiscriminator?

boolean

false

Returns

any


FlagKeyFormatFromJSON()

Parameters

Parameter
Type

json

any

Returns

FlagKeyFormat


FlagKeyFormatFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

FlagKeyFormat


FlagKeyFormatToJSON()

Parameters

Parameter
Type

value?

Returns

any


FlagKeyFormatToJSONTyped()

Parameters

Parameter
Type

value

any

ignoreDiscriminator

boolean

Returns

FlagKeyFormat


FlagTargetingFromJSON()

Parameters

Parameter
Type

json

any

Returns

FlagTargeting


FlagTargetingFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

FlagTargeting


FlagTargetingToJSON()

Parameters

Parameter
Type

json

any

Returns

FlagTargeting


FlagTargetingToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


FlagValueFromJSON()

Parameters

Parameter
Type

json

any

Returns

FlagValue


FlagValueFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

FlagValue


FlagValueTargetingFromJSON()

Parameters

Parameter
Type

json

any

Returns

FlagValueTargeting


FlagValueTargetingFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

FlagValueTargeting


FlagValueTargetingToJSON()

Parameters

Parameter
Type

json

any

Returns

FlagValueTargeting


FlagValueTargetingToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


FlagValueToJSON()

Parameters

Parameter
Type

value?

null | "true"

Returns

any


FlagValueToJSONTyped()

Parameters

Parameter
Type

value

any

ignoreDiscriminator

boolean

Returns

FlagValue


instanceOfApp()

Check if a given object implements the App interface.

Parameters

Parameter
Type

value

object

Returns

value is App


instanceOfAppHeader()

Check if a given object implements the AppHeader interface.

Parameters

Parameter
Type

value

object

Returns

value is AppHeader


instanceOfAppHeaderCollection()

Check if a given object implements the AppHeaderCollection interface.

Parameters

Parameter
Type

value

object

Returns

value is AppHeaderCollection


instanceOfCreateFlag200Response()

Check if a given object implements the CreateFlag200Response interface.

Parameters

Parameter
Type

value

object

Returns

value is CreateFlag200Response


instanceOfCreateFlag200ResponseFlag()

Check if a given object implements the CreateFlag200ResponseFlag interface.

Parameters

Parameter
Type

value

object

Returns

value is CreateFlag200ResponseFlag


instanceOfCreateFlagRequest()

Check if a given object implements the CreateFlagRequest interface.

Parameters

Parameter
Type

value

object

Returns

value is CreateFlagRequest


instanceOfDeleteCompanyRequest()

Check if a given object implements the DeleteCompanyRequest interface.

Parameters

Parameter
Type

value

object

Returns

value is DeleteCompanyRequest


instanceOfEffectiveFlagFilter()

Check if a given object implements the EffectiveFlagFilter interface.

Parameters

Parameter
Type

value

object

Returns

value is EffectiveFlagFilter


instanceOfEffectiveFlagFilterAnyOf()

Check if a given object implements the EffectiveFlagFilterAnyOf interface.

Parameters

Parameter
Type

value

object

Returns

value is EffectiveFlagFilterAnyOf


instanceOfEffectiveFlagFilterAnyOf1()

Check if a given object implements the EffectiveFlagFilterAnyOf1 interface.

Parameters

Parameter
Type

value

object

Returns

value is EffectiveFlagFilterAnyOf1


instanceOfEffectiveFlagFilterAnyOf2()

Check if a given object implements the EffectiveFlagFilterAnyOf2 interface.

Parameters

Parameter
Type

value

object

Returns

value is EffectiveFlagFilterAnyOf2


instanceOfEffectiveFlagFilterAnyOf3()

Check if a given object implements the EffectiveFlagFilterAnyOf3 interface.

Parameters

Parameter
Type

value

object

Returns

value is EffectiveFlagFilterAnyOf3


instanceOfEffectiveFlagFilterAnyOf4()

Check if a given object implements the EffectiveFlagFilterAnyOf4 interface.

Parameters

Parameter
Type

value

object

Returns

value is EffectiveFlagFilterAnyOf4


instanceOfEffectiveFlagRule()

Check if a given object implements the EffectiveFlagRule interface.

Parameters

Parameter
Type

value

object

Returns

value is EffectiveFlagRule


instanceOfEntityFlag()

Check if a given object implements the EntityFlag interface.

Parameters

Parameter
Type

value

object

Returns

value is EntityFlag


instanceOfEntityFlagsResponse()

Check if a given object implements the EntityFlagsResponse interface.

Parameters

Parameter
Type

value

object

Returns

value is EntityFlagsResponse


instanceOfEntityFlagUpdate()

Check if a given object implements the EntityFlagUpdate interface.

Parameters

Parameter
Type

value

object

Returns

value is EntityFlagUpdate


instanceOfEnvironment()

Check if a given object implements the Environment interface.

Parameters

Parameter
Type

value

object

Returns

value is Environment


instanceOfEnvironmentHeader()

Check if a given object implements the EnvironmentHeader interface.

Parameters

Parameter
Type

value

object

Returns

value is EnvironmentHeader


instanceOfEnvironmentHeaderCollection()

Check if a given object implements the EnvironmentHeaderCollection interface.

Parameters

Parameter
Type

value

object

Returns

value is EnvironmentHeaderCollection


instanceOfEnvironmentHeaderSortByColumn()

Parameters

Parameter
Type

value

any

Returns

boolean


instanceOfEnvironmentSdkAccess()

Check if a given object implements the EnvironmentSdkAccess interface.

Parameters

Parameter
Type

value

object

Returns

value is EnvironmentSdkAccess


instanceOfErrorResponse()

Check if a given object implements the ErrorResponse interface.

Parameters

Parameter
Type

value

object

Returns

value is ErrorResponse


instanceOfErrorResponseError()

Check if a given object implements the ErrorResponseError interface.

Parameters

Parameter
Type

value

object

Returns

value is ErrorResponseError


instanceOfFlagHeader()

Check if a given object implements the FlagHeader interface.

Parameters

Parameter
Type

value

object

Returns

value is FlagHeader


instanceOfFlagHeaderCollection()

Check if a given object implements the FlagHeaderCollection interface.

Parameters

Parameter
Type

value

object

Returns

value is FlagHeaderCollection


instanceOfFlagKeyFormat()

Parameters

Parameter
Type

value

any

Returns

boolean


instanceOfFlagTargeting()

Check if a given object implements the FlagTargeting interface.

Parameters

Parameter
Type

value

object

Returns

value is FlagTargeting


instanceOfFlagValue()

Parameters

Parameter
Type

value

any

Returns

boolean


instanceOfFlagValueTargeting()

Check if a given object implements the FlagValueTargeting interface.

Parameters

Parameter
Type

value

object

Returns

value is FlagValueTargeting


instanceOfOrgHeader()

Check if a given object implements the OrgHeader interface.

Parameters

Parameter
Type

value

object

Returns

value is OrgHeader


instanceOfReflagUserHeader()

Check if a given object implements the ReflagUserHeader interface.

Parameters

Parameter
Type

value

object

Returns

value is ReflagUserHeader


instanceOfSchema0()

Check if a given object implements the Schema0 interface.

Parameters

Parameter
Type

value

object

Returns

value is Schema0


instanceOfSchema1()

Check if a given object implements the Schema1 interface.

Parameters

Parameter
Type

value

object

Returns

value is Schema1


instanceOfSegmentHeader()

Check if a given object implements the SegmentHeader interface.

Parameters

Parameter
Type

value

object

Returns

value is SegmentHeader


instanceOfSegmentType()

Parameters

Parameter
Type

value

any

Returns

boolean


instanceOfSortOrder()

Parameters

Parameter
Type

value

any

Returns

boolean


instanceOfStageHeader()

Check if a given object implements the StageHeader interface.

Parameters

Parameter
Type

value

object

Returns

value is StageHeader


instanceOfUpdateEntityFlagsBody()

Check if a given object implements the UpdateEntityFlagsBody interface.

Parameters

Parameter
Type

value

object

Returns

value is UpdateEntityFlagsBody


instanceOfUpdateEntityFlagsResponse()

Check if a given object implements the UpdateEntityFlagsResponse interface.

Parameters

Parameter
Type

value

object

Returns

value is UpdateEntityFlagsResponse


instanceOfUpdateFlagRequest()

Check if a given object implements the UpdateFlagRequest interface.

Parameters

Parameter
Type

value

object

Returns

value is UpdateFlagRequest


instanceOfUpsertCompany200Response()

Check if a given object implements the UpsertCompany200Response interface.

Parameters

Parameter
Type

value

object

Returns

value is UpsertCompany200Response


instanceOfUpsertCompanyRequest()

Check if a given object implements the UpsertCompanyRequest interface.

Parameters

Parameter
Type

value

object

Returns

value is UpsertCompanyRequest


instanceOfUpsertUser200Response()

Check if a given object implements the UpsertUser200Response interface.

Parameters

Parameter
Type

value

object

Returns

value is UpsertUser200Response


instanceOfUpsertUserRequest()

Check if a given object implements the UpsertUserRequest interface.

Parameters

Parameter
Type

value

object

Returns

value is UpsertUserRequest


mapValues()

Parameters

Parameter
Type

data

any

fn

(item: any) => any

Returns


OrgHeaderFromJSON()

Parameters

Parameter
Type

json

any

Returns

OrgHeader


OrgHeaderFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

OrgHeader


OrgHeaderToJSON()

Parameters

Parameter
Type

json

any

Returns

OrgHeader


OrgHeaderToJSONTyped()

Parameters

Parameter
Type
Default value

value?

null | OrgHeader

undefined

ignoreDiscriminator?

boolean

false

Returns

any


querystring()

Parameters

Parameter
Type
Default value

params

undefined

prefix

string

''

Returns

string


ReflagUserHeaderFromJSON()

Parameters

Parameter
Type

json

any

Returns

ReflagUserHeader


ReflagUserHeaderFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

ReflagUserHeader


ReflagUserHeaderToJSON()

Parameters

Parameter
Type

json

any

Returns

ReflagUserHeader


ReflagUserHeaderToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


Schema0FromJSON()

Parameters

Parameter
Type

json

any

Returns

Schema0


Schema0FromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

Schema0


Schema0ToJSON()

Parameters

Parameter
Type

json

any

Returns

Schema0


Schema0ToJSONTyped()

Parameters

Parameter
Type
Default value

value?

null | Schema0

undefined

ignoreDiscriminator?

boolean

false

Returns

any


Schema1FromJSON()

Parameters

Parameter
Type

json

any

Returns

Schema1


Schema1FromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

Schema1


Schema1ToJSON()

Parameters

Parameter
Type

json

any

Returns

Schema1


Schema1ToJSONTyped()

Parameters

Parameter
Type
Default value

value?

null | Schema1

undefined

ignoreDiscriminator?

boolean

false

Returns

any


SegmentHeaderFromJSON()

Parameters

Parameter
Type

json

any

Returns

SegmentHeader


SegmentHeaderFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

SegmentHeader


SegmentHeaderToJSON()

Parameters

Parameter
Type

json

any

Returns

SegmentHeader


SegmentHeaderToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


SegmentTypeFromJSON()

Parameters

Parameter
Type

json

any

Returns

SegmentType


SegmentTypeFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

SegmentType


SegmentTypeToJSON()

Parameters

Parameter
Type

value?

Returns

any


SegmentTypeToJSONTyped()

Parameters

Parameter
Type

value

any

ignoreDiscriminator

boolean

Returns

SegmentType


SortOrderFromJSON()

Parameters

Parameter
Type

json

any

Returns

SortOrder


SortOrderFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

SortOrder


SortOrderToJSON()

Parameters

Parameter
Type

value?

null | SortOrder

Returns

any


SortOrderToJSONTyped()

Parameters

Parameter
Type

value

any

ignoreDiscriminator

boolean

Returns

SortOrder


StageHeaderFromJSON()

Parameters

Parameter
Type

json

any

Returns

StageHeader


StageHeaderFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

StageHeader


StageHeaderToJSON()

Parameters

Parameter
Type

json

any

Returns

StageHeader


StageHeaderToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


UpdateEntityFlagsBodyFromJSON()

Parameters

Parameter
Type

json

any

Returns

UpdateEntityFlagsBody


UpdateEntityFlagsBodyFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

UpdateEntityFlagsBody


UpdateEntityFlagsBodyToJSON()

Parameters

Parameter
Type

json

any

Returns

UpdateEntityFlagsBody


UpdateEntityFlagsBodyToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


UpdateEntityFlagsResponseFromJSON()

Parameters

Parameter
Type

json

any

Returns

UpdateEntityFlagsResponse


UpdateEntityFlagsResponseFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

UpdateEntityFlagsResponse


UpdateEntityFlagsResponseToJSON()

Parameters

Parameter
Type

json

any

Returns

UpdateEntityFlagsResponse


UpdateEntityFlagsResponseToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


UpdateFlagRequestFromJSON()

Parameters

Parameter
Type

json

any

Returns

UpdateFlagRequest


UpdateFlagRequestFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

UpdateFlagRequest


UpdateFlagRequestToJSON()

Parameters

Parameter
Type

json

any

Returns

UpdateFlagRequest


UpdateFlagRequestToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


UpsertCompany200ResponseFromJSON()

Parameters

Parameter
Type

json

any

Returns

UpsertCompany200Response


UpsertCompany200ResponseFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

UpsertCompany200Response


UpsertCompany200ResponseToJSON()

Parameters

Parameter
Type

json

any

Returns

UpsertCompany200Response


UpsertCompany200ResponseToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


UpsertCompanyRequestFromJSON()

Parameters

Parameter
Type

json

any

Returns

UpsertCompanyRequest


UpsertCompanyRequestFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

UpsertCompanyRequest


UpsertCompanyRequestToJSON()

Parameters

Parameter
Type

json

any

Returns

UpsertCompanyRequest


UpsertCompanyRequestToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


UpsertUser200ResponseFromJSON()

Parameters

Parameter
Type

json

any

Returns

UpsertUser200Response


UpsertUser200ResponseFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

UpsertUser200Response


UpsertUser200ResponseToJSON()

Parameters

Parameter
Type

json

any

Returns

UpsertUser200Response


UpsertUser200ResponseToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any


UpsertUserRequestFromJSON()

Parameters

Parameter
Type

json

any

Returns

UpsertUserRequest


UpsertUserRequestFromJSONTyped()

Parameters

Parameter
Type

json

any

ignoreDiscriminator

boolean

Returns

UpsertUserRequest


UpsertUserRequestToJSON()

Parameters

Parameter
Type

json

any

Returns

UpsertUserRequest


UpsertUserRequestToJSONTyped()

Parameters

Parameter
Type
Default value

value?

undefined

ignoreDiscriminator?

boolean

false

Returns

any

Last updated

Was this helpful?