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 details. Create a flag

Parameters

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<CreateFlag200Response>

Inherited from

DefaultApi.createFlag

createFlagRaw()

Create a new flag in the application. Returns the created flag details. Create a flag

Parameters

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<CreateFlag200Response>>

Inherited from

DefaultApi.createFlagRaw

getApp()

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

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<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

Promisearrow-up-right<ApiResponse<App>>

Inherited from

DefaultApi.getAppRaw

getCompanyFlags()

Retrieve all flags with their targeting status for a specific company Get flags for a company

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<EntityFlagsResponse>

Inherited from

DefaultApi.getCompanyFlags

getCompanyFlagsRaw()

Retrieve all flags with their targeting status for a specific company Get flags for a company

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<EntityFlagsResponse>>

Inherited from

DefaultApi.getCompanyFlagsRaw

getEnvironment()

Retrieve details for a specific environment Get environment details

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<Environment>

Inherited from

DefaultApi.getEnvironment

getEnvironmentRaw()

Retrieve details for a specific environment Get environment details

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<Environment>>

Inherited from

DefaultApi.getEnvironmentRaw

getFlagTargeting()

Retrieve targeting for a flag in an environment Get flag targeting for an environment

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<FlagTargeting>

Inherited from

DefaultApi.getFlagTargeting

getFlagTargetingRaw()

Retrieve targeting for a flag in an environment Get flag targeting for an environment

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<FlagTargeting>>

Inherited from

DefaultApi.getFlagTargetingRaw

getUserFlags()

Retrieve all flags with their targeting status for a specific user Get flags for a user

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<EntityFlagsResponse>

Inherited from

DefaultApi.getUserFlags

getUserFlagsRaw()

Retrieve all flags with their targeting status for a specific user Get flags for a user

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<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

Promisearrow-up-right<AppHeaderCollection>

Inherited from

DefaultApi.listApps

listAppsRaw()

Retrieve all accessible applications List of applications

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<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

Promisearrow-up-right<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

Promisearrow-up-right<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

Promisearrow-up-right<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

Promisearrow-up-right<ApiResponse<FlagHeaderCollection>>

Inherited from

DefaultApi.listFlagsRaw

request()

Parameters

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<Responsearrow-up-right>

Overrides

DefaultApi.request

updateCompanyFlags()

Update specific targeting for flags for a company in an environment Update flag targeting for a company

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<EntityFlagsResponse>

Inherited from

DefaultApi.updateCompanyFlags

updateCompanyFlagsRaw()

Update specific targeting for flags for a company in an environment Update flag targeting for a company

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<EntityFlagsResponse>>

Inherited from

DefaultApi.updateCompanyFlagsRaw

updateFlag()

Update an existing flag Update a flag

Parameters

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<CreateFlag200Response>

Inherited from

DefaultApi.updateFlag

updateFlagRaw()

Update an existing flag Update a flag

Parameters

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<CreateFlag200Response>>

Inherited from

DefaultApi.updateFlagRaw

updateUserFlags()

Update specific targeting for flags for a user in an environment Update flag targeting for a user

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<EntityFlagsResponse>

Inherited from

DefaultApi.updateUserFlags

updateUserFlagsRaw()

Update specific targeting for flags for a user in an environment Update flag targeting for a user

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<EntityFlagsResponse>>

Inherited from

DefaultApi.updateUserFlagsRaw

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) => Promisearrow-up-right< | void | Responsearrow-up-right>)[]

Returns

T

Inherited from

DefaultApi.withPostMiddleware

withPreMiddleware()

Type Parameters

Type Parameter

T extends BaseAPI

Parameters

Parameter
Type

this

T

...preMiddlewares

( | undefined | (context: RequestContext) => Promisearrow-up-right<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

Promisearrow-up-right<Responsearrow-up-right>

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) => Promisearrow-up-right< | void | Responsearrow-up-right>)[]

Returns

T

withPreMiddleware()

Type Parameters

Type Parameter

T extends BaseAPI

Parameters

Parameter
Type

this

T

...preMiddlewares

( | undefined | (context: RequestContext) => Promisearrow-up-right<void | FetchParams>)[]

Returns

T


BlobApiResponse

Constructors

new BlobApiResponse()

Parameters

Parameter
Type

Returns

BlobApiResponse

Properties

Property
Modifier
Type

Methods

value()

Returns

Promisearrow-up-right<Blobarrow-up-right>


Configuration

Constructors

new Configuration()

Parameters

Parameter
Type

Returns

Configuration

Accessors

accessToken

Get Signature

Returns

| undefined | (name?: string, scopes?: string[]) => | string | Promisearrow-up-right<string>

apiKey

Get Signature

Returns

| undefined | (name: string) => | string | Promisearrow-up-right<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 | URLarrow-up-right, init?: RequestInit) => Promisearrow-up-right<Responsearrow-up-right>

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 details. Create a flag

Parameters

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<CreateFlag200Response>

Implementation of

DefaultApiInterface.createFlag

createFlagRaw()

Create a new flag in the application. Returns the created flag details. Create a flag

Parameters

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<CreateFlag200Response>>

Implementation of

DefaultApiInterface.createFlagRaw

getApp()

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

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<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

Promisearrow-up-right<ApiResponse<App>>

Implementation of

DefaultApiInterface.getAppRaw

getCompanyFlags()

Retrieve all flags with their targeting status for a specific company Get flags for a company

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<EntityFlagsResponse>

Implementation of

DefaultApiInterface.getCompanyFlags

getCompanyFlagsRaw()

Retrieve all flags with their targeting status for a specific company Get flags for a company

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<EntityFlagsResponse>>

Implementation of

DefaultApiInterface.getCompanyFlagsRaw

getEnvironment()

Retrieve details for a specific environment Get environment details

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<Environment>

Implementation of

DefaultApiInterface.getEnvironment

getEnvironmentRaw()

Retrieve details for a specific environment Get environment details

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<Environment>>

Implementation of

DefaultApiInterface.getEnvironmentRaw

getFlagTargeting()

Retrieve targeting for a flag in an environment Get flag targeting for an environment

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<FlagTargeting>

Implementation of

DefaultApiInterface.getFlagTargeting

getFlagTargetingRaw()

Retrieve targeting for a flag in an environment Get flag targeting for an environment

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<FlagTargeting>>

Implementation of

DefaultApiInterface.getFlagTargetingRaw

getUserFlags()

Retrieve all flags with their targeting status for a specific user Get flags for a user

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<EntityFlagsResponse>

Implementation of

DefaultApiInterface.getUserFlags

getUserFlagsRaw()

Retrieve all flags with their targeting status for a specific user Get flags for a user

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<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

Promisearrow-up-right<AppHeaderCollection>

Implementation of

DefaultApiInterface.listApps

listAppsRaw()

Retrieve all accessible applications List of applications

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<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

Promisearrow-up-right<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

Promisearrow-up-right<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

Promisearrow-up-right<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

Promisearrow-up-right<ApiResponse<FlagHeaderCollection>>

Implementation of

DefaultApiInterface.listFlagsRaw

request()

Parameters

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<Responsearrow-up-right>

Inherited from

BaseAPI.request

updateCompanyFlags()

Update specific targeting for flags for a company in an environment Update flag targeting for a company

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<EntityFlagsResponse>

Implementation of

DefaultApiInterface.updateCompanyFlags

updateCompanyFlagsRaw()

Update specific targeting for flags for a company in an environment Update flag targeting for a company

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<EntityFlagsResponse>>

Implementation of

DefaultApiInterface.updateCompanyFlagsRaw

updateFlag()

Update an existing flag Update a flag

Parameters

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<CreateFlag200Response>

Implementation of

DefaultApiInterface.updateFlag

updateFlagRaw()

Update an existing flag Update a flag

Parameters

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<CreateFlag200Response>>

Implementation of

DefaultApiInterface.updateFlagRaw

updateUserFlags()

Update specific targeting for flags for a user in an environment Update flag targeting for a user

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<EntityFlagsResponse>

Implementation of

DefaultApiInterface.updateUserFlags

updateUserFlagsRaw()

Update specific targeting for flags for a user in an environment Update flag targeting for a user

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<EntityFlagsResponse>>

Implementation of

DefaultApiInterface.updateUserFlagsRaw

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) => Promisearrow-up-right< | void | Responsearrow-up-right>)[]

Returns

T

Inherited from

BaseAPI.withPostMiddleware

withPreMiddleware()

Type Parameters

Type Parameter

T extends BaseAPI

Parameters

Parameter
Type

this

T

...preMiddlewares

( | undefined | (context: RequestContext) => Promisearrow-up-right<void | FetchParams>)[]

Returns

T

Inherited from

BaseAPI.withPreMiddleware


FetchError

Extends

Constructors

new FetchError()

Parameters

Parameter
Type

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: Errorarrow-up-right, 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

Methods

value()

Returns

Promisearrow-up-right<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: Errorarrow-up-right, 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: Errorarrow-up-right, 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

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: Errorarrow-up-right, 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

Methods

value()

Returns

Promisearrow-up-right<string>


VoidApiResponse

Constructors

new VoidApiResponse()

Parameters

Parameter
Type

Returns

VoidApiResponse

Properties

Property
Modifier
Type

Methods

value()

Returns

Promisearrow-up-right<void>

Interfaces

ApiResponse<T>

Type Parameters

Type Parameter

T

Properties

Property
Type

Methods

value()

Returns

Promisearrow-up-right<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 | Promisearrow-up-right<string> | (name?: string, scopes?: string[]) => | string | Promisearrow-up-right<string>

apiKey?

| string | Promisearrow-up-right<string> | (name: string) => | string | Promisearrow-up-right<string>

basePath?

string

credentials?

RequestCredentials

fetchApi?

(input: RequestInfo | URLarrow-up-right, init?: RequestInit) => Promisearrow-up-right<Responsearrow-up-right>

headers?

middleware?

password?

string

queryParamsStringify?

(params: HTTPQuery) => string

username?

string


Consume

Properties

Property
Type

contentType

string


CreateFlag200Response

CreateFlag200Response

Properties


CreateFlag200ResponseFlag

CreateFlag200ResponseFlag

Properties

Property
Type
Description

archived

boolean

Whether the flag is archived

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

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 details. Create a flag

Parameters

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<CreateFlag200Response>

createFlagRaw()

Create a new flag in the application. Returns the created flag details.

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<CreateFlag200Response>>

Throws

getApp()

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

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<App>

getAppRaw()

Retrieve a specific application by its identifier

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<App>>

Throws

getCompanyFlags()

Retrieve all flags with their targeting status for a specific company Get flags for a company

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<EntityFlagsResponse>

getCompanyFlagsRaw()

Retrieve all flags with their targeting status for a specific company

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<EntityFlagsResponse>>

Throws

getEnvironment()

Retrieve details for a specific environment Get environment details

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<Environment>

getEnvironmentRaw()

Retrieve details for a specific environment

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<Environment>>

Throws

getFlagTargeting()

Retrieve targeting for a flag in an environment Get flag targeting for an environment

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<FlagTargeting>

getFlagTargetingRaw()

Retrieve targeting for a flag in an environment

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<FlagTargeting>>

Throws

getUserFlags()

Retrieve all flags with their targeting status for a specific user Get flags for a user

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<EntityFlagsResponse>

getUserFlagsRaw()

Retrieve all flags with their targeting status for a specific user

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<EntityFlagsResponse>>

Throws

listApps()

Retrieve all accessible applications List of applications

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<AppHeaderCollection>

listAppsRaw()

Retrieve all accessible applications

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<AppHeaderCollection>>

Throws

listEnvironments()

Retrieve all environments for a specific application List environments for application

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<EnvironmentHeaderCollection>

listEnvironmentsRaw()

Retrieve all environments for a specific application

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<EnvironmentHeaderCollection>>

Throws

listFlags()

Retrieve all flags for a specific application List flags for application

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<FlagHeaderCollection>

listFlagsRaw()

Retrieve all flags for a specific application

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<FlagHeaderCollection>>

Throws

updateCompanyFlags()

Update specific targeting for flags for a company in an environment Update flag targeting for a company

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<EntityFlagsResponse>

updateCompanyFlagsRaw()

Update specific targeting for flags for a company in an environment

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<EntityFlagsResponse>>

Throws

updateFlag()

Update an existing flag Update a flag

Parameters

Parameter
Type

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<CreateFlag200Response>

updateFlagRaw()

Update an existing flag

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<CreateFlag200Response>>

Throws

updateUserFlags()

Update specific targeting for flags for a user in an environment Update flag targeting for a user

Parameters

Parameter
Type

requestParameters

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<EntityFlagsResponse>

updateUserFlagsRaw()

Update specific targeting for flags for a user in an environment

Parameters

Parameter
Type
Description

requestParameters

Request parameters for this operation.

initOverrides?

RequestInit | InitOverrideFunction

Returns

Promisearrow-up-right<ApiResponse<EntityFlagsResponse>>

Throws


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

Whether the flag is enabled for this entity


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

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

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 | URLarrow-up-right, init?: RequestInit) => Promisearrow-up-right<Responsearrow-up-right>

init

RequestInit

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

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

permanent

boolean

Whether the flag is permanent

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

flagKey

string

Unique flag key

specificTargets

{}

The flag targeting for each value

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

Promisearrow-up-right< | void | Responsearrow-up-right>

post()?

Parameters

Parameter
Type

Returns

Promisearrow-up-right< | void | Responsearrow-up-right>

pre()?

Parameters

Parameter
Type

Returns

Promisearrow-up-right<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 | URLarrow-up-right, init?: RequestInit) => Promisearrow-up-right<Responsearrow-up-right>

init

RequestInit

url

string


RequestOpts

Properties

Property
Type

body?

any

path

string

query?


ResponseContext

Properties

Property
Type

fetch

(input: RequestInfo | URLarrow-up-right, init?: RequestInit) => Promisearrow-up-right<Responsearrow-up-right>

init

RequestInit

url

string


ResponseTransformer()<T>

Type Parameters

Type Parameter

T

Parameters

Parameter
Type

json

any

Returns

T


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


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

Type Aliases

AppScopedApi<T>

Type Parameters

Type Parameter

T


EntityFlagUpdateSpecificTargetValueEnum


EnvironmentHeaderSortByColumn


ErrorResponseErrorCodeEnum


FetchAPI


FlagHeaderCollectionSortByEnum


FlagKeyFormat


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

Promisearrow-up-right<RequestInit>


Json


ModelPropertyNaming


OmitAppIdParam<F>

Type Parameters

Type Parameter

F


SegmentType


SortOrder


UpdateEntityFlagsBodyNotificationsEnum

Variables

BASE_PATH

Reflag API Feature flag management API

The version of the OpenAPI document: 3.0.1

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


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'

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'


FlagValue

The value of the flag served to the audience.

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


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


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


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


instanceOfUpdateFlagRequest()

Check if a given object implements the UpdateFlagRequest interface.

Parameters

Parameter
Type

value

object

Returns

value is UpdateFlagRequest


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


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


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

Last updated

Was this helpful?