Skip to content

Function: createAssetsClient() ​

ts
function createAssetsClient(config): object;

Defined in: src/assets/createAssetsClient.ts:134

Parameters ​

ParameterType
configAssetsClientConfig

Returns ​

object

connectedTickets ​

ts
connectedTickets: object;

connectedTickets.findObjectTickets ​

ts
findObjectTickets: (parameters, options?) => Promise<{
[key: string]: unknown;
  allTicketsQuery: string;
  tickets?: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ objectId: string; }-
parameters.objectIdstringThe id of the object to get connected tickets for
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; allTicketsQuery: string; tickets?: object[]; }>

globalConfig ​

ts
globalConfig: object;

globalConfig.updateGlobalConfiguration ​

ts
updateGlobalConfiguration: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ allowOtherObjectSchema?: boolean; id: string; quickCreateObjects?: boolean; validateQuickCreate?: boolean; }-
parameters.allowOtherObjectSchema?boolean-
parameters.id?stringObject schema id
parameters.quickCreateObjects?boolean-
parameters.validateQuickCreate?boolean-
options?RequestOptions-
Returns ​

Promise<void>

icons ​

ts
icons: object;

icons.findGlobalIcons ​

ts
findGlobalIcons: (options?) => Promise<object[]>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<object[]>

icons.getIcon ​

ts
getIcon: (parameters, options?) => Promise<{
[key: string]: unknown;
  id: string;
  name: string;
  url16: string;
  url48: string;
}>;
Parameters ​
ParameterType
parameters{ id: string; }
parameters.idstring
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; id: string; name: string; url16: string; url48: string; }>

icons.getIconImage ​

ts
getIconImage: (parameters, options?) => Promise<ArrayBuffer | ArrayBufferView<ArrayBufferLike>>;
Parameters ​
ParameterType
parameters{ id: string; size?: number; }
parameters.idstring
parameters.size?number
options?RequestOptions
Returns ​

Promise<ArrayBuffer | ArrayBufferView<ArrayBufferLike>>

imports ​

ts
imports: object;

imports.startImport ​

ts
startImport: (parameters, options?) => Promise<{
[key: string]: unknown;
  actor?: string;
  category?: string;
  currentStep?: number;
  currentStepTotalWorkUnits?: number;
  currentWorkDescription?: string;
  currentWorkUnits?: number;
  estimatedFinishDate?: Date;
  executionUUID?: string;
  finishedDate?: Date;
  numberOfSteps?: number;
  progressInPercent?: number;
  resourceId?: string;
  result?: string;
  resultData?: Record<string, any>;
  resultMessage?: string;
  startDate?: Date;
  status?: string;
  stepDescription?: string;
  totalWorkUnits?: number;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe id of the import configuration that should be started
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; actor?: string; category?: string; currentStep?: number; currentStepTotalWorkUnits?: number; currentWorkDescription?: string; currentWorkUnits?: number; estimatedFinishDate?: Date; executionUUID?: string; finishedDate?: Date; numberOfSteps?: number; progressInPercent?: number; resourceId?: string; result?: string; resultData?: Record<string, any>; resultMessage?: string; startDate?: Date; status?: string; stepDescription?: string; totalWorkUnits?: number; }>

importSources ​

ts
importSources: object;

importSources.cancelImportExecution ​

ts
cancelImportExecution: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ importExecutionId: string; importSourceId: string; }-
parameters.importExecutionIdstringThe importExecutionId of the import
parameters.importSourceId?stringThe importSourceId of the import source configuration for the external import
options?RequestOptions-
Returns ​

Promise<void>

importSources.createFailedImportHistory ​

ts
createFailedImportHistory: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ body?: Record<string, any>; executionId: string; importSourceId: string; }-
parameters.body?Record<string, any>-
parameters.executionId?stringThe executionId of the import execution
parameters.importSourceId?stringThe importSourceId of the import source configuration for the external import
options?RequestOptions-
Returns ​

Promise<void>

importSources.createImportSchedule ​

ts
createImportSchedule: (parameters, options?) => Promise<{
[key: string]: unknown;
  collectionId?: string;
  created?: Date;
  id?: string;
  importSourceId?: string;
  runInterval?: string & object | "ONCE" | "DAILY" | "WEEKLY" | "MONTHLY";
  startTime?: Date;
  updated?: Date;
}>;
Parameters ​
ParameterTypeDescription
parameters{ callbackUrl?: string | null; importSourceId: string; runInterval: string & object | "ONCE" | "DAILY" | "WEEKLY" | "MONTHLY"; startTime: unknown; }-
parameters.callbackUrl?string | nullOptional webhook URL to call after each scheduled import execution. The URL will receive a POST request with execution status.
parameters.importSourceId?stringThe ID of the import source to schedule
parameters.runInterval?string & object | "ONCE" | "DAILY" | "WEEKLY" | "MONTHLY"The frequency of the scheduled import. ONCE: runs only at startTime. DAILY: runs every day at the specified time. WEEKLY: runs every 7 days. MONTHLY: runs on the same day of each month.
parameters.startTime?unknownThe date and time when the first import should execute, in ISO 8601 format (e.g., '2024-01-15T02:00:00Z'). Must be in the future.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; collectionId?: string; created?: Date; id?: string; importSourceId?: string; runInterval?: string & object | "ONCE" | "DAILY" | "WEEKLY" | "MONTHLY"; startTime?: Date; updated?: Date; }>

importSources.deleteImportSchedule ​

ts
deleteImportSchedule: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ importScheduleId: string; importSourceId: string; }-
parameters.importScheduleIdstringThe ID of the import schedule to delete
parameters.importSourceId?stringThe ID of the import source
options?RequestOptions-
Returns ​

Promise<void>

importSources.generateImportSourceToken ​

ts
generateImportSourceToken: (parameters, options?) => Promise<void>;
Parameters ​
ParameterType
parameters{ importSourceId: string; }
parameters.importSourceIdstring
options?RequestOptions
Returns ​

Promise<void>

importSources.getImportConfigurationStatus ​

ts
getImportConfigurationStatus: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ importSourceId: string; }-
parameters.importSourceIdstringThe importSourceId of the import source configuration for the external import
options?RequestOptions-
Returns ​

Promise<void>

importSources.getImportExecutionStatus ​

ts
getImportExecutionStatus: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ importExecutionId: string; importSourceId: string; }-
parameters.importExecutionIdstringThe importExecutionId of the import
parameters.importSourceId?stringThe importSourceId of the import source configuration for the external import
options?RequestOptions-
Returns ​

Promise<void>

importSources.getImportSchedule ​

ts
getImportSchedule: (parameters, options?) => Promise<{
[key: string]: unknown;
  collectionId?: string;
  created?: Date;
  id?: string;
  importSourceId?: string;
  runInterval?: string & object | "ONCE" | "DAILY" | "WEEKLY" | "MONTHLY";
  startTime?: Date;
  updated?: Date;
}>;
Parameters ​
ParameterTypeDescription
parameters{ importScheduleId: string; importSourceId: string; }-
parameters.importScheduleIdstringThe ID of the import schedule
parameters.importSourceId?stringThe ID of the import source
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; collectionId?: string; created?: Date; id?: string; importSourceId?: string; runInterval?: string & object | "ONCE" | "DAILY" | "WEEKLY" | "MONTHLY"; startTime?: Date; updated?: Date; }>

ts
getImportScheduleLinks: (parameters, options?) => Promise<{
[key: string]: unknown;
  links?: {
   [key: string]: unknown;
     createSchedule: string;
     schedule?: string;
  };
  result?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ importSourceId: string; }-
parameters.importSourceIdstringThe importSourceId of the import source configuration for the external import
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; links?: { [key: string]: unknown; createSchedule: string; schedule?: string; }; result?: string; }>

importSources.getImportSource ​

ts
getImportSource: (parameters, options?) => Promise<{
[key: string]: unknown;
  collectionId?: string;
  created?: Date;
  dateFormat?: string;
  dateTimeFormat?: string;
  defaultConcatenator?: string;
  defaultHandleComputeIssueValues?: string | null;
  defaultHandleEmptyValues?: string;
  defaultHandleNotMappedValues?: string | null;
  defaultHandleNullValues?: string | null;
  defaultHandleUnknownValues?: string;
  description?: string | null;
  id?: string;
  importExecutionType?: string | null;
  importSourceModuleKey?:   | string & object
     | "rlabs-import-type-csv"
     | "rlabs-import-type-json"
     | "rlabs-import-type-external"
     | "insight-discovery-import"
     | "rlabs-import-type-dm-csv";
  importSourceOTEntries?: object[] | null;
  importSpecificConfiguration?: string;
  importStatus?:   | {
   [key: string]: unknown;
     configurationAuiLozenge?: string;
     configurationStatusType?: string & object | "ENABLED" | "DISABLED" | null;
     name?: string;
     reasonForInvalidity?: Record<string, any> | null;
     validation?: string;
     validationAuiLozenge?: string;
     validationStatusType?:   | string & object
        | "VALID"
        | "INVALID_CONFIGURATION"
        | "MODULE_UNINSTALLED"
        | null;
   }
     | null;
  integratedImportTypeExtensionId?: string | null;
  integratedImportTypeId?: number | null;
  isImportSourceSchedulingEnabled?: boolean | null;
  name?: string;
  objectSchemaId?: string;
  scheduledImportDetails?:   | {
   [key: string]: unknown;
     createdAt?: Date;
     importScheduleId?: string;
     nextScheduledTime?: Date;
     runFrequency?: string & object | "ONCE" | "DAILY" | "WEEKLY" | "MONTHLY";
     startTime?: Date;
   }
     | null;
  tokenGenerated?: boolean | null;
  updated?: Date;
  url?: string | null;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe unique identifier of the import source
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; collectionId?: string; created?: Date; dateFormat?: string; dateTimeFormat?: string; defaultConcatenator?: string; defaultHandleComputeIssueValues?: string | null; defaultHandleEmptyValues?: string; defaultHandleNotMappedValues?: string | null; defaultHandleNullValues?: string | null; defaultHandleUnknownValues?: string; description?: string | null; id?: string; importExecutionType?: string | null; importSourceModuleKey?: | string & object | "rlabs-import-type-csv" | "rlabs-import-type-json" | "rlabs-import-type-external" | "insight-discovery-import" | "rlabs-import-type-dm-csv"; importSourceOTEntries?: object[] | null; importSpecificConfiguration?: string; importStatus?: | { [key: string]: unknown; configurationAuiLozenge?: string; configurationStatusType?: string & object | "ENABLED" | "DISABLED" | null; name?: string; reasonForInvalidity?: Record<string, any> | null; validation?: string; validationAuiLozenge?: string; validationStatusType?: | string & object | "VALID" | "INVALID_CONFIGURATION" | "MODULE_UNINSTALLED" | null; } | null; integratedImportTypeExtensionId?: string | null; integratedImportTypeId?: number | null; isImportSourceSchedulingEnabled?: boolean | null; name?: string; objectSchemaId?: string; scheduledImportDetails?: | { [key: string]: unknown; createdAt?: Date; importScheduleId?: string; nextScheduledTime?: Date; runFrequency?: string & object | "ONCE" | "DAILY" | "WEEKLY" | "MONTHLY"; startTime?: Date; } | null; tokenGenerated?: boolean | null; updated?: Date; url?: string | null; }>

importSources.getLatestImportExecutionStatus ​

ts
getLatestImportExecutionStatus: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ importSourceId: string; }-
parameters.importSourceIdstringThe importSourceId of the import source configuration for the external import
options?RequestOptions-
Returns ​

Promise<void>

importSources.getSchemaAndMapping ​

ts
getSchemaAndMapping: (parameters, options?) => Promise<{
[key: string]: unknown;
  mapping?: Record<string, any>;
  schema?: Record<string, any>;
}>;
Parameters ​
ParameterTypeDescription
parameters{ importSourceId: string; }-
parameters.importSourceIdstringThe importSourceId of the import source configuration. For use with external imports only
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; mapping?: Record<string, any>; schema?: Record<string, any>; }>

importSources.getSchemaAndMappingProgress ​

ts
getSchemaAndMappingProgress: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ importSourceId: string; resourceId: string; }-
parameters.importSourceIdstringThe importSourceId of the import source configuration for the external import
parameters.resourceId?stringThe resourceId references the running schema and mapping operation
options?RequestOptions-
Returns ​

Promise<void>

importSources.startImportExecution ​

ts
startImportExecution: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ importSourceId: string; }-
parameters.importSourceIdstringThe importSourceId of the import source configuration for the external import
options?RequestOptions-
Returns ​

Promise<void>

importSources.submitImportExecutionData ​

ts
submitImportExecutionData: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ body?: Record<string, any>; importExecutionId: string; importSourceId: string; }-
parameters.body?Record<string, any>-
parameters.importExecutionId?stringThe importExecutionId of the import
parameters.importSourceId?stringThe importSourceId of the import source configuration for the external import
options?RequestOptions-
Returns ​

Promise<void>

importSources.submitImportExecutionProgress ​

ts
submitImportExecutionProgress: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ body?: Record<string, any>; importExecutionId: string; importSourceId: string; }-
parameters.body?Record<string, any>-
parameters.importExecutionId?stringThe importExecutionId of the import
parameters.importSourceId?stringThe importSourceId of the import source configuration for the external import
options?RequestOptions-
Returns ​

Promise<void>

importSources.submitSchemaAndMapping ​

ts
submitSchemaAndMapping: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ async?: boolean; importSourceId: string; mapping?: Record<string, any>; schema?: Record<string, any>; }-
parameters.async?booleanExecute the operation asynchronously
parameters.importSourceId?stringThe uuid of the import source configuration for the external import
parameters.mapping?Record<string, any>Object type and attribute mapping configuration for the import.
parameters.schema?Record<string, any>Object schema and status schema configuration for the import.
options?RequestOptions-
Returns ​

Promise<void>

importSources.updateImportSchedule ​

ts
updateImportSchedule: (parameters, options?) => Promise<{
[key: string]: unknown;
  collectionId?: string;
  created?: Date;
  id?: string;
  importSourceId?: string;
  runInterval?: string & object | "ONCE" | "DAILY" | "WEEKLY" | "MONTHLY";
  startTime?: Date;
  updated?: Date;
}>;
Parameters ​
ParameterTypeDescription
parameters{ callbackUrl?: string | null; importScheduleId: string; importSourceId: string; runInterval: string & object | "ONCE" | "DAILY" | "WEEKLY" | "MONTHLY"; startTime: unknown; }-
parameters.callbackUrl?string | nullOptional webhook URL to call after each scheduled import execution. The URL will receive a POST request with execution status.
parameters.importScheduleId?stringThe ID of the import schedule to update
parameters.importSourceId?stringThe ID of the import source
parameters.runInterval?string & object | "ONCE" | "DAILY" | "WEEKLY" | "MONTHLY"The frequency of the scheduled import. ONCE: runs only at startTime. DAILY: runs every day at the specified time. WEEKLY: runs every 7 days. MONTHLY: runs on the same day of each month.
parameters.startTime?unknownThe date and time when the first import should execute, in ISO 8601 format (e.g., '2024-01-15T02:00:00Z'). Must be in the future.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; collectionId?: string; created?: Date; id?: string; importSourceId?: string; runInterval?: string & object | "ONCE" | "DAILY" | "WEEKLY" | "MONTHLY"; startTime?: Date; updated?: Date; }>

importSources.updateSchemaAndMapping ​

ts
updateSchemaAndMapping: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ async?: boolean; importSourceId: string; mapping?: Record<string, any>; schema?: Record<string, any>; }-
parameters.async?booleanExecute the operation asynchronously
parameters.importSourceId?stringThe uuid of the import source configuration for the external import
parameters.mapping?Record<string, any>Object type and attribute mapping configuration for the import.
parameters.schema?Record<string, any>Object schema and status schema configuration for the import.
options?RequestOptions-
Returns ​

Promise<void>

objects ​

ts
objects: object;

objects.countObjectsByAql ​

ts
countObjectsByAql: (parameters, options?) => Promise<{
[key: string]: unknown;
  totalCount?: number;
}>;
Parameters ​
ParameterTypeDescription
parameters{ qlQuery: string; }-
parameters.qlQuerystringThe AQL that will filter the objects.
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; totalCount?: number; }>

objects.createObject ​

ts
createObject: (parameters, options?) => Promise<{
[key: string]: unknown;
  _links: {
   [key: string]: unknown;
     self: string;
  };
  attributes?: object[];
  avatar: {
   [key: string]: unknown;
     avatarUUID?: string;
     globalId: string;
     id?: string;
     objectId: string;
     url144: string;
     url16: string;
     url288: string;
     url48: string;
     url72: string;
     workspaceId: string;
  };
  created: Date;
  globalId: string;
  hasAvatar: boolean;
  id: string;
  label: string;
  objectKey: string;
  objectType: {
   [key: string]: unknown;
     abstractObjectType: boolean;
     created: Date;
     description?: string;
     globalId: string;
     icon: {
      [key: string]: unknown;
        id: string;
        name: string;
        url16: string;
        url48: string;
     };
     id: string;
     inherited: boolean;
     name: string;
     objectCount: number;
     objectSchemaId: string;
     parentObjectTypeId?: number;
     parentObjectTypeInherited: boolean;
     position: number;
     type?: number;
     updated: Date;
     workspaceId: string;
  };
  timestamp: number;
  updated: Date;
  workspaceId: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ attributes: object[]; avatarUUID?: string; hasAvatar?: boolean; objectTypeId: string; }-
parameters.attributesobject[]-
parameters.avatarUUID?stringThe UUID as retrieved by uploading an avatar.
parameters.hasAvatar?boolean-
parameters.objectTypeId?stringThe object type determines where the object should be stored and which attributes are available
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; _links: { [key: string]: unknown; self: string; }; attributes?: object[]; avatar: { [key: string]: unknown; avatarUUID?: string; globalId: string; id?: string; objectId: string; url144: string; url16: string; url288: string; url48: string; url72: string; workspaceId: string; }; created: Date; globalId: string; hasAvatar: boolean; id: string; label: string; objectKey: string; objectType: { [key: string]: unknown; abstractObjectType: boolean; created: Date; description?: string; globalId: string; icon: { [key: string]: unknown; id: string; name: string; url16: string; url48: string; }; id: string; inherited: boolean; name: string; objectCount: number; objectSchemaId: string; parentObjectTypeId?: number; parentObjectTypeInherited: boolean; position: number; type?: number; updated: Date; workspaceId: string; }; timestamp: number; updated: Date; workspaceId: string; }>

objects.deleteObject ​

ts
deleteObject: (parameters, options?) => Promise<unknown>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe object id to operate on
options?RequestOptions-
Returns ​

Promise<unknown>

objects.findObjectAttributes ​

ts
findObjectAttributes: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe object id to operate on
options?RequestOptions-
Returns ​

Promise<object[]>

objects.findObjectHistory ​

ts
findObjectHistory: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ asc?: boolean; id: string; }-
parameters.asc?booleanShould the history be retrieved in ascending order
parameters.id?stringThe object id to operate on
options?RequestOptions-
Returns ​

Promise<object[]>

objects.findObjectReferenceInfo ​

ts
findObjectReferenceInfo: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe object id to operate on
options?RequestOptions-
Returns ​

Promise<object[]>

objects.findObjectsByAql ​

ts
findObjectsByAql: (parameters, options?) => Promise<{
[key: string]: unknown;
  isLast: boolean;
  last: boolean;
  maxResults: number;
  objectTypeAttributes: object[];
  startAt: number;
  values: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters{ includeAttributes?: boolean; maxResults?: number; qlQuery: string; startAt?: number; }-
parameters.includeAttributes?booleanShould the objects attributes be included in the response. If this parameter is false only the information on the object will be returned and the object attributes will not be present
parameters.maxResults?numberThe maximum number of objects to return in this page of results. Actual number of results may be less, for example, if the last page of results is returned.
parameters.qlQuery?stringThe AQL that will fetch the objects.
parameters.startAt?numberThe starting index for the next page of results
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast: boolean; last: boolean; maxResults: number; objectTypeAttributes: object[]; startAt: number; values: object[]; }>

objects.loadObject ​

ts
loadObject: (parameters, options?) => Promise<{
[key: string]: unknown;
  _links: {
   [key: string]: unknown;
     self: string;
  };
  attributes?: object[];
  avatar: {
   [key: string]: unknown;
     avatarUUID?: string;
     globalId: string;
     id?: string;
     objectId: string;
     url144: string;
     url16: string;
     url288: string;
     url48: string;
     url72: string;
     workspaceId: string;
  };
  created: Date;
  globalId: string;
  hasAvatar: boolean;
  id: string;
  label: string;
  objectKey: string;
  objectType: {
   [key: string]: unknown;
     abstractObjectType: boolean;
     created: Date;
     description?: string;
     globalId: string;
     icon: {
      [key: string]: unknown;
        id: string;
        name: string;
        url16: string;
        url48: string;
     };
     id: string;
     inherited: boolean;
     name: string;
     objectCount: number;
     objectSchemaId: string;
     parentObjectTypeId?: number;
     parentObjectTypeInherited: boolean;
     position: number;
     type?: number;
     updated: Date;
     workspaceId: string;
  };
  timestamp: number;
  updated: Date;
  workspaceId: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe object id to operate on
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; _links: { [key: string]: unknown; self: string; }; attributes?: object[]; avatar: { [key: string]: unknown; avatarUUID?: string; globalId: string; id?: string; objectId: string; url144: string; url16: string; url288: string; url48: string; url72: string; workspaceId: string; }; created: Date; globalId: string; hasAvatar: boolean; id: string; label: string; objectKey: string; objectType: { [key: string]: unknown; abstractObjectType: boolean; created: Date; description?: string; globalId: string; icon: { [key: string]: unknown; id: string; name: string; url16: string; url48: string; }; id: string; inherited: boolean; name: string; objectCount: number; objectSchemaId: string; parentObjectTypeId?: number; parentObjectTypeInherited: boolean; position: number; type?: number; updated: Date; workspaceId: string; }; timestamp: number; updated: Date; workspaceId: string; }>

objects.updateObject ​

ts
updateObject: (parameters, options?) => Promise<{
[key: string]: unknown;
  _links: {
   [key: string]: unknown;
     self: string;
  };
  attributes?: object[];
  avatar: {
   [key: string]: unknown;
     avatarUUID?: string;
     globalId: string;
     id?: string;
     objectId: string;
     url144: string;
     url16: string;
     url288: string;
     url48: string;
     url72: string;
     workspaceId: string;
  };
  created: Date;
  globalId: string;
  hasAvatar: boolean;
  id: string;
  label: string;
  objectKey: string;
  objectType: {
   [key: string]: unknown;
     abstractObjectType: boolean;
     created: Date;
     description?: string;
     globalId: string;
     icon: {
      [key: string]: unknown;
        id: string;
        name: string;
        url16: string;
        url48: string;
     };
     id: string;
     inherited: boolean;
     name: string;
     objectCount: number;
     objectSchemaId: string;
     parentObjectTypeId?: number;
     parentObjectTypeInherited: boolean;
     position: number;
     type?: number;
     updated: Date;
     workspaceId: string;
  };
  timestamp: number;
  updated: Date;
  workspaceId: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ attributes: object[]; avatarUUID?: string; hasAvatar?: boolean; id: string; objectTypeId: string; }-
parameters.attributesobject[]-
parameters.avatarUUID?stringThe UUID as retrieved by uploading an avatar.
parameters.hasAvatar?boolean-
parameters.id?stringThe object id to operate on
parameters.objectTypeId?stringThe object type determines where the object should be stored and which attributes are available
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; _links: { [key: string]: unknown; self: string; }; attributes?: object[]; avatar: { [key: string]: unknown; avatarUUID?: string; globalId: string; id?: string; objectId: string; url144: string; url16: string; url288: string; url48: string; url72: string; workspaceId: string; }; created: Date; globalId: string; hasAvatar: boolean; id: string; label: string; objectKey: string; objectType: { [key: string]: unknown; abstractObjectType: boolean; created: Date; description?: string; globalId: string; icon: { [key: string]: unknown; id: string; name: string; url16: string; url48: string; }; id: string; inherited: boolean; name: string; objectCount: number; objectSchemaId: string; parentObjectTypeId?: number; parentObjectTypeInherited: boolean; position: number; type?: number; updated: Date; workspaceId: string; }; timestamp: number; updated: Date; workspaceId: string; }>

objectSchemas ​

ts
objectSchemas: object;

objectSchemas.createSchema ​

ts
createSchema: (parameters, options?) => Promise<{
[key: string]: unknown;
  canManage?: boolean;
  created: Date;
  description?: string;
  globalId: string;
  id: string;
  name: string;
  objectCount: number;
  objectSchemaKey: string;
  objectTypeCount: number;
  status?: string;
  updated: Date;
  workspaceId: string;
}>;
Parameters ​
ParameterType
parameters{ description?: string; name: string; objectSchemaKey: string; }
parameters.description?string
parameters.name?string
parameters.objectSchemaKey?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; canManage?: boolean; created: Date; description?: string; globalId: string; id: string; name: string; objectCount: number; objectSchemaKey: string; objectTypeCount: number; status?: string; updated: Date; workspaceId: string; }>

objectSchemas.deleteSchema ​

ts
deleteSchema: (parameters, options?) => Promise<{
[key: string]: unknown;
  canManage?: boolean;
  created: Date;
  description?: string;
  globalId: string;
  id: string;
  name: string;
  objectCount: number;
  objectSchemaKey: string;
  objectTypeCount: number;
  status?: string;
  updated: Date;
  workspaceId: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe object schema id
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; canManage?: boolean; created: Date; description?: string; globalId: string; id: string; name: string; objectCount: number; objectSchemaKey: string; objectTypeCount: number; status?: string; updated: Date; workspaceId: string; }>

objectSchemas.findSchemaAttributes ​

ts
findSchemaAttributes: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ extended?: boolean; id: string; onlyValueEditable?: boolean; query?: string; }-
parameters.extended?booleanInclude the object type with each object type attribute
parameters.id?stringThe object schema id
parameters.onlyValueEditable?booleanReturn only values that are associated with values that can be edited
parameters.query?stringA query that will be used to filter object type attributes by their name
options?RequestOptions-
Returns ​

Promise<object[]>

objectSchemas.findSchemaObjectTypes ​

ts
findSchemaObjectTypes: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ excludeAbstract?: boolean; id: string; }-
parameters.excludeAbstract?booleanIf true, filters out Abstract Object Types from the results
parameters.id?stringThe object schema id
options?RequestOptions-
Returns ​

Promise<object[]>

objectSchemas.findSchemaObjectTypesFlat ​

ts
findSchemaObjectTypesFlat: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters{ exclude?: string; id: string; includeObjectCounts?: boolean; query?: boolean; }-
parameters.exclude?stringExclude objects with this name
parameters.id?stringThe object schema id
parameters.includeObjectCounts?booleanIf true, the objectCount attribute is populated for each object type
parameters.query?booleanObject Type Names to search for
options?RequestOptions-
Returns ​

Promise<object[]>

objectSchemas.findSchemas ​

ts
findSchemas: (parameters?, options?) => Promise<{
[key: string]: unknown;
  isLast?: boolean;
  last?: boolean;
  maxResults: number;
  startAt: number;
  total: number;
  values: object[];
}>;
Parameters ​
ParameterTypeDescription
parameters?{ includeCounts?: boolean; maxResults?: number; startAt?: number; }-
parameters.includeCounts?booleanShould the object and object type count for schema be included in the response. If this parameter is false, object and object type count will return 0.
parameters.maxResults?numberThe maximum number of objects to return in this page of results. Actual number of results may be less, for example, if the last page of results is returned.
parameters.startAt?numberThe starting index for the next page of results
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; isLast?: boolean; last?: boolean; maxResults: number; startAt: number; total: number; values: object[]; }>

objectSchemas.loadSchema ​

ts
loadSchema: (parameters, options?) => Promise<{
[key: string]: unknown;
  canManage?: boolean;
  created: Date;
  description?: string;
  globalId: string;
  id: string;
  name: string;
  objectCount: number;
  objectSchemaKey: string;
  objectTypeCount: number;
  status?: string;
  updated: Date;
  workspaceId: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe object schema id
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; canManage?: boolean; created: Date; description?: string; globalId: string; id: string; name: string; objectCount: number; objectSchemaKey: string; objectTypeCount: number; status?: string; updated: Date; workspaceId: string; }>

objectSchemas.updateSchema ​

ts
updateSchema: (parameters, options?) => Promise<{
[key: string]: unknown;
  canManage?: boolean;
  created: Date;
  description?: string;
  globalId: string;
  id: string;
  name: string;
  objectCount: number;
  objectSchemaKey: string;
  objectTypeCount: number;
  status?: string;
  updated: Date;
  workspaceId: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ description?: string; id: string; name?: string; objectSchemaKey?: string; }-
parameters.description?string-
parameters.id?stringThe object schema id
parameters.name?string-
parameters.objectSchemaKey?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; canManage?: boolean; created: Date; description?: string; globalId: string; id: string; name: string; objectCount: number; objectSchemaKey: string; objectTypeCount: number; status?: string; updated: Date; workspaceId: string; }>

objectTypeAttributes ​

ts
objectTypeAttributes: object;

objectTypeAttributes.createObjectTypeAttribute ​

ts
createObjectTypeAttribute: (parameters, options?) => Promise<{
[key: string]: unknown;
  additionalValue?: string;
  defaultType?:   | {
   [key: string]: unknown;
     id: -1;
     name: "None";
   }
     | {
   [key: string]: unknown;
     id: 0;
     name: "Text";
   }
     | {
   [key: string]: unknown;
     id: 1;
     name: "Integer";
   }
     | {
   [key: string]: unknown;
     id: 2;
     name: "Boolean";
   }
     | {
   [key: string]: unknown;
     id: 3;
     name: "Double";
   }
     | {
   [key: string]: unknown;
     id: 4;
     name: "Date";
   }
     | {
   [key: string]: unknown;
     id: 5;
     name: "Time";
   }
     | {
   [key: string]: unknown;
     id: 6;
     name: "DateTime";
   }
     | {
   [key: string]: unknown;
     id: 7;
     name: "Url";
   }
     | {
   [key: string]: unknown;
     id: 8;
     name: "Email";
   }
     | {
   [key: string]: unknown;
     id: 9;
     name: "Textarea";
   }
     | {
   [key: string]: unknown;
     id: 10;
     name: "Select";
   }
     | {
   [key: string]: unknown;
     id: 11;
     name: "IP Address";
   };
  description?: string;
  editable?: boolean;
  globalId: string;
  hidden?: boolean;
  id: string;
  includeChildObjectTypes?: boolean;
  indexed: boolean;
  label: boolean;
  maximumCardinality?: number;
  minimumCardinality?: number;
  name?: string;
  objectType?: {
   [key: string]: unknown;
     abstractObjectType: boolean;
     created: Date;
     description?: string;
     globalId: string;
     icon: {
      [key: string]: unknown;
        id: string;
        name: string;
        url16: string;
        url48: string;
     };
     id: string;
     inherited: boolean;
     name: string;
     objectCount: number;
     objectSchemaId: string;
     parentObjectTypeId?: number;
     parentObjectTypeInherited: boolean;
     position: number;
     type?: number;
     updated: Date;
     workspaceId: string;
  };
  options?: string;
  position: number;
  qlQuery?: string;
  referenceObjectType?: {
   [key: string]: unknown;
     abstractObjectType: boolean;
     created: Date;
     description?: string;
     globalId: string;
     icon: {
      [key: string]: unknown;
        id: string;
        name: string;
        url16: string;
        url48: string;
     };
     id: string;
     inherited: boolean;
     name: string;
     objectCount: number;
     objectSchemaId: string;
     parentObjectTypeId?: number;
     parentObjectTypeInherited: boolean;
     position: number;
     type?: number;
     updated: Date;
     workspaceId: string;
  };
  referenceObjectTypeId?: string;
  referenceType?: {
   [key: string]: unknown;
     cdmData?: {
      [key: string]: unknown;
        types?: ...[];
     };
     color?: string;
     description?: string;
     globalId: string;
     id?: string;
     name: string;
     objectSchemaId?: string;
     url16?: string;
     workspaceId: string;
  };
  regexValidation?: string;
  removable?: boolean;
  sortable?: boolean;
  suffix?: string;
  summable?: boolean;
  system?: boolean;
  type?: number;
  typeValue?: string;
  typeValueMulti?: string[];
  uniqueAttribute?: boolean;
  workspaceId: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ additionalValue?: string; defaultTypeId?: number; description?: string; hidden?: boolean; includeChildObjectTypes?: boolean; label?: boolean; maximumCardinality?: number; minimumCardinality?: number; name: string; objectTypeId: string; options?: string; qlQuery?: string; regexValidation?: string; suffix?: string; summable?: boolean; type: number; typeValue?: string; typeValueMulti?: string[]; uniqueAttribute?: boolean; }-
parameters.additionalValue?stringValid for Type Url, User, Object and Confluence. For Url (DISABLED, ENABLED), for Object (ReferenceTypeId), for User (SHOW_PROFILE, HIDE_PROFILE), for Confluence (Confluence Space Id). It is mandatory for Type = Object reference
parameters.defaultTypeId?number
parameters.description?string-
parameters.hidden?booleanHide the object type attributes for Assets Users
parameters.includeChildObjectTypes?booleanValid for Type = Object reference and describes if children object types should be included in the selectable objects as well
parameters.label?boolean-
parameters.maximumCardinality?numberValid for Type Email, Select, Object, User, Group, Version and Project
parameters.minimumCardinality?numberValid for Type Email, Select, Object, User, Group, Version and Project
parameters.name?string-
parameters.objectTypeId?stringThe object type id that has this object type attribute associated with it
parameters.options?stringValid for Type Select. A comma separated list of all chosable options
parameters.qlQuery?stringValid for Type object reference. Allows specifying an AQL query to restrict which objects are selectable.
parameters.regexValidation?stringValid for Type Text and Email
parameters.suffix?stringValid for Integer and Double object type attributes
parameters.summable?booleanValid for Type Integer and Double. Should a sum be included in the view
parameters.type?number
parameters.typeValue?stringIt is mandatory for Type = Object reference and should point to the referenced object type id
parameters.typeValueMulti?string[]Valid for Type User. The Jira groups to restrict selection to
parameters.uniqueAttribute?booleanShould the values be unique for object attributes associated with this object type attribute
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; additionalValue?: string; defaultType?: | { [key: string]: unknown; id: -1; name: "None"; } | { [key: string]: unknown; id: 0; name: "Text"; } | { [key: string]: unknown; id: 1; name: "Integer"; } | { [key: string]: unknown; id: 2; name: "Boolean"; } | { [key: string]: unknown; id: 3; name: "Double"; } | { [key: string]: unknown; id: 4; name: "Date"; } | { [key: string]: unknown; id: 5; name: "Time"; } | { [key: string]: unknown; id: 6; name: "DateTime"; } | { [key: string]: unknown; id: 7; name: "Url"; } | { [key: string]: unknown; id: 8; name: "Email"; } | { [key: string]: unknown; id: 9; name: "Textarea"; } | { [key: string]: unknown; id: 10; name: "Select"; } | { [key: string]: unknown; id: 11; name: "IP Address"; }; description?: string; editable?: boolean; globalId: string; hidden?: boolean; id: string; includeChildObjectTypes?: boolean; indexed: boolean; label: boolean; maximumCardinality?: number; minimumCardinality?: number; name?: string; objectType?: { [key: string]: unknown; abstractObjectType: boolean; created: Date; description?: string; globalId: string; icon: { [key: string]: unknown; id: string; name: string; url16: string; url48: string; }; id: string; inherited: boolean; name: string; objectCount: number; objectSchemaId: string; parentObjectTypeId?: number; parentObjectTypeInherited: boolean; position: number; type?: number; updated: Date; workspaceId: string; }; options?: string; position: number; qlQuery?: string; referenceObjectType?: { [key: string]: unknown; abstractObjectType: boolean; created: Date; description?: string; globalId: string; icon: { [key: string]: unknown; id: string; name: string; url16: string; url48: string; }; id: string; inherited: boolean; name: string; objectCount: number; objectSchemaId: string; parentObjectTypeId?: number; parentObjectTypeInherited: boolean; position: number; type?: number; updated: Date; workspaceId: string; }; referenceObjectTypeId?: string; referenceType?: { [key: string]: unknown; cdmData?: { [key: string]: unknown; types?: ...[]; }; color?: string; description?: string; globalId: string; id?: string; name: string; objectSchemaId?: string; url16?: string; workspaceId: string; }; regexValidation?: string; removable?: boolean; sortable?: boolean; suffix?: string; summable?: boolean; system?: boolean; type?: number; typeValue?: string; typeValueMulti?: string[]; uniqueAttribute?: boolean; workspaceId: string; }>

objectTypeAttributes.deleteObjectTypeAttribute ​

ts
deleteObjectTypeAttribute: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe object type attribute id to be manipulated
options?RequestOptions-
Returns ​

Promise<void>

objectTypeAttributes.updateObjectTypeAttribute ​

ts
updateObjectTypeAttribute: (parameters, options?) => Promise<{
[key: string]: unknown;
  additionalValue?: string;
  defaultType?:   | {
   [key: string]: unknown;
     id: -1;
     name: "None";
   }
     | {
   [key: string]: unknown;
     id: 0;
     name: "Text";
   }
     | {
   [key: string]: unknown;
     id: 1;
     name: "Integer";
   }
     | {
   [key: string]: unknown;
     id: 2;
     name: "Boolean";
   }
     | {
   [key: string]: unknown;
     id: 3;
     name: "Double";
   }
     | {
   [key: string]: unknown;
     id: 4;
     name: "Date";
   }
     | {
   [key: string]: unknown;
     id: 5;
     name: "Time";
   }
     | {
   [key: string]: unknown;
     id: 6;
     name: "DateTime";
   }
     | {
   [key: string]: unknown;
     id: 7;
     name: "Url";
   }
     | {
   [key: string]: unknown;
     id: 8;
     name: "Email";
   }
     | {
   [key: string]: unknown;
     id: 9;
     name: "Textarea";
   }
     | {
   [key: string]: unknown;
     id: 10;
     name: "Select";
   }
     | {
   [key: string]: unknown;
     id: 11;
     name: "IP Address";
   };
  description?: string;
  editable?: boolean;
  globalId: string;
  hidden?: boolean;
  id: string;
  includeChildObjectTypes?: boolean;
  indexed: boolean;
  label: boolean;
  maximumCardinality?: number;
  minimumCardinality?: number;
  name?: string;
  objectType?: {
   [key: string]: unknown;
     abstractObjectType: boolean;
     created: Date;
     description?: string;
     globalId: string;
     icon: {
      [key: string]: unknown;
        id: string;
        name: string;
        url16: string;
        url48: string;
     };
     id: string;
     inherited: boolean;
     name: string;
     objectCount: number;
     objectSchemaId: string;
     parentObjectTypeId?: number;
     parentObjectTypeInherited: boolean;
     position: number;
     type?: number;
     updated: Date;
     workspaceId: string;
  };
  options?: string;
  position: number;
  qlQuery?: string;
  referenceObjectType?: {
   [key: string]: unknown;
     abstractObjectType: boolean;
     created: Date;
     description?: string;
     globalId: string;
     icon: {
      [key: string]: unknown;
        id: string;
        name: string;
        url16: string;
        url48: string;
     };
     id: string;
     inherited: boolean;
     name: string;
     objectCount: number;
     objectSchemaId: string;
     parentObjectTypeId?: number;
     parentObjectTypeInherited: boolean;
     position: number;
     type?: number;
     updated: Date;
     workspaceId: string;
  };
  referenceObjectTypeId?: string;
  referenceType?: {
   [key: string]: unknown;
     cdmData?: {
      [key: string]: unknown;
        types?: ...[];
     };
     color?: string;
     description?: string;
     globalId: string;
     id?: string;
     name: string;
     objectSchemaId?: string;
     url16?: string;
     workspaceId: string;
  };
  regexValidation?: string;
  removable?: boolean;
  sortable?: boolean;
  suffix?: string;
  summable?: boolean;
  system?: boolean;
  type?: number;
  typeValue?: string;
  typeValueMulti?: string[];
  uniqueAttribute?: boolean;
  workspaceId: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ additionalValue?: string; defaultTypeId?: number; description?: string; hidden?: boolean; id: string; includeChildObjectTypes?: boolean; label?: boolean; maximumCardinality?: number; minimumCardinality?: number; name?: string; objectTypeId: string; options?: string; qlQuery?: string; regexValidation?: string; suffix?: string; summable?: boolean; type?: number; typeValue?: string; typeValueMulti?: string[]; uniqueAttribute?: boolean; }-
parameters.additionalValue?stringValid for Type Url, User, Object and Confluence. For Url (DISABLED, ENABLED), for Object (ReferenceTypeId), for User (SHOW_PROFILE, HIDE_PROFILE), for Confluence (Confluence Space Id). It is mandatory for Type = Object reference
parameters.defaultTypeId?number
parameters.description?string-
parameters.hidden?booleanHide the object type attributes for Assets Users
parameters.id?stringThe object type attribute to manipulate
parameters.includeChildObjectTypes?booleanValid for Type = Object reference and describes if children object types should be included in the selectable objects as well
parameters.label?boolean-
parameters.maximumCardinality?numberValid for Type Email, Select, Object, User, Group, Version and Project
parameters.minimumCardinality?numberValid for Type Email, Select, Object, User, Group, Version and Project
parameters.name?string-
parameters.objectTypeId?stringThe object type id that has this object type attribute associated with it
parameters.options?stringValid for Type Select. A comma separated list of all chosable options
parameters.qlQuery?stringValid for Type object reference. Allows specifying an AQL query to restrict which objects are selectable.
parameters.regexValidation?stringValid for Type Text and Email
parameters.suffix?stringValid for Integer and Double object type attributes
parameters.summable?booleanValid for Type Integer and Double. Should a sum be included in the view
parameters.type?number
parameters.typeValue?stringIt is mandatory for Type = Object reference and should point to the referenced object type id
parameters.typeValueMulti?string[]Valid for Type User. The Jira groups to restrict selection to
parameters.uniqueAttribute?booleanShould the values be unique for object attributes associated with this object type attribute
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; additionalValue?: string; defaultType?: | { [key: string]: unknown; id: -1; name: "None"; } | { [key: string]: unknown; id: 0; name: "Text"; } | { [key: string]: unknown; id: 1; name: "Integer"; } | { [key: string]: unknown; id: 2; name: "Boolean"; } | { [key: string]: unknown; id: 3; name: "Double"; } | { [key: string]: unknown; id: 4; name: "Date"; } | { [key: string]: unknown; id: 5; name: "Time"; } | { [key: string]: unknown; id: 6; name: "DateTime"; } | { [key: string]: unknown; id: 7; name: "Url"; } | { [key: string]: unknown; id: 8; name: "Email"; } | { [key: string]: unknown; id: 9; name: "Textarea"; } | { [key: string]: unknown; id: 10; name: "Select"; } | { [key: string]: unknown; id: 11; name: "IP Address"; }; description?: string; editable?: boolean; globalId: string; hidden?: boolean; id: string; includeChildObjectTypes?: boolean; indexed: boolean; label: boolean; maximumCardinality?: number; minimumCardinality?: number; name?: string; objectType?: { [key: string]: unknown; abstractObjectType: boolean; created: Date; description?: string; globalId: string; icon: { [key: string]: unknown; id: string; name: string; url16: string; url48: string; }; id: string; inherited: boolean; name: string; objectCount: number; objectSchemaId: string; parentObjectTypeId?: number; parentObjectTypeInherited: boolean; position: number; type?: number; updated: Date; workspaceId: string; }; options?: string; position: number; qlQuery?: string; referenceObjectType?: { [key: string]: unknown; abstractObjectType: boolean; created: Date; description?: string; globalId: string; icon: { [key: string]: unknown; id: string; name: string; url16: string; url48: string; }; id: string; inherited: boolean; name: string; objectCount: number; objectSchemaId: string; parentObjectTypeId?: number; parentObjectTypeInherited: boolean; position: number; type?: number; updated: Date; workspaceId: string; }; referenceObjectTypeId?: string; referenceType?: { [key: string]: unknown; cdmData?: { [key: string]: unknown; types?: ...[]; }; color?: string; description?: string; globalId: string; id?: string; name: string; objectSchemaId?: string; url16?: string; workspaceId: string; }; regexValidation?: string; removable?: boolean; sortable?: boolean; suffix?: string; summable?: boolean; system?: boolean; type?: number; typeValue?: string; typeValueMulti?: string[]; uniqueAttribute?: boolean; workspaceId: string; }>

objectTypes ​

ts
objectTypes: object;

objectTypes.changeObjectTypePosition ​

ts
changeObjectTypePosition: (parameters, options?) => Promise<{
[key: string]: unknown;
  abstractObjectType: boolean;
  created: Date;
  description?: string;
  globalId: string;
  icon: {
   [key: string]: unknown;
     id: string;
     name: string;
     url16: string;
     url48: string;
  };
  id: string;
  inherited: boolean;
  name: string;
  objectCount: number;
  objectSchemaId: string;
  parentObjectTypeId?: number;
  parentObjectTypeInherited: boolean;
  position: number;
  type?: number;
  updated: Date;
  workspaceId: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; position: number; toObjectTypeId?: string; }-
parameters.idstring-
parameters.position?numberThe preffered position
parameters.toObjectTypeId?stringThe desired new parent of the object type
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; abstractObjectType: boolean; created: Date; description?: string; globalId: string; icon: { [key: string]: unknown; id: string; name: string; url16: string; url48: string; }; id: string; inherited: boolean; name: string; objectCount: number; objectSchemaId: string; parentObjectTypeId?: number; parentObjectTypeInherited: boolean; position: number; type?: number; updated: Date; workspaceId: string; }>

objectTypes.createObjectType ​

ts
createObjectType: (parameters, options?) => Promise<{
[key: string]: unknown;
  abstractObjectType: boolean;
  created: Date;
  description?: string;
  globalId: string;
  icon: {
   [key: string]: unknown;
     id: string;
     name: string;
     url16: string;
     url48: string;
  };
  id: string;
  inherited: boolean;
  name: string;
  objectCount: number;
  objectSchemaId: string;
  parentObjectTypeId?: number;
  parentObjectTypeInherited: boolean;
  position: number;
  type?: number;
  updated: Date;
  workspaceId: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ abstractObjectType?: boolean; description?: string; iconId: string; inherited?: boolean; name: string; objectSchemaId: string; parentObjectTypeId?: string; }-
parameters.abstractObjectType?boolean-
parameters.description?string-
parameters.iconId?string-
parameters.inherited?booleanDescribes if this object type is configured for inheritance i.e. it's children inherits the attributes of this object type
parameters.name?string-
parameters.objectSchemaId?string-
parameters.parentObjectTypeId?stringThe id of the parent object type
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; abstractObjectType: boolean; created: Date; description?: string; globalId: string; icon: { [key: string]: unknown; id: string; name: string; url16: string; url48: string; }; id: string; inherited: boolean; name: string; objectCount: number; objectSchemaId: string; parentObjectTypeId?: number; parentObjectTypeInherited: boolean; position: number; type?: number; updated: Date; workspaceId: string; }>

objectTypes.deleteObjectType ​

ts
deleteObjectType: (parameters, options?) => Promise<{
[key: string]: unknown;
  abstractObjectType: boolean;
  created: Date;
  description?: string;
  globalId: string;
  icon: {
   [key: string]: unknown;
     id: string;
     name: string;
     url16: string;
     url48: string;
  };
  id: string;
  inherited: boolean;
  name: string;
  objectCount: number;
  objectSchemaId: string;
  parentObjectTypeId?: number;
  parentObjectTypeInherited: boolean;
  position: number;
  type?: number;
  updated: Date;
  workspaceId: string;
}>;
Parameters ​
ParameterType
parameters{ id: string; }
parameters.idstring
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; abstractObjectType: boolean; created: Date; description?: string; globalId: string; icon: { [key: string]: unknown; id: string; name: string; url16: string; url48: string; }; id: string; inherited: boolean; name: string; objectCount: number; objectSchemaId: string; parentObjectTypeId?: number; parentObjectTypeInherited: boolean; position: number; type?: number; updated: Date; workspaceId: string; }>

objectTypes.findObjectTypeAttributes ​

ts
findObjectTypeAttributes: (parameters, options?) => Promise<object[]>;
Parameters ​
ParameterType
parameters{ excludeParentAttributes?: boolean; id: string; includeChildren?: boolean; includeValuesExist?: boolean; onlyValueEditable?: boolean; orderByName?: boolean; orderByRequired?: boolean; query?: string; }
parameters.excludeParentAttributes?boolean
parameters.id?string
parameters.includeChildren?boolean
parameters.includeValuesExist?boolean
parameters.onlyValueEditable?boolean
parameters.orderByName?boolean
parameters.orderByRequired?boolean
parameters.query?string
options?RequestOptions
Returns ​

Promise<object[]>

objectTypes.loadObjectType ​

ts
loadObjectType: (parameters, options?) => Promise<{
[key: string]: unknown;
  abstractObjectType: boolean;
  created: Date;
  description?: string;
  globalId: string;
  icon: {
   [key: string]: unknown;
     id: string;
     name: string;
     url16: string;
     url48: string;
  };
  id: string;
  inherited: boolean;
  name: string;
  objectCount: number;
  objectSchemaId: string;
  parentObjectTypeId?: number;
  parentObjectTypeInherited: boolean;
  position: number;
  type?: number;
  updated: Date;
  workspaceId: string;
}>;
Parameters ​
ParameterType
parameters{ id: string; }
parameters.idstring
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; abstractObjectType: boolean; created: Date; description?: string; globalId: string; icon: { [key: string]: unknown; id: string; name: string; url16: string; url48: string; }; id: string; inherited: boolean; name: string; objectCount: number; objectSchemaId: string; parentObjectTypeId?: number; parentObjectTypeInherited: boolean; position: number; type?: number; updated: Date; workspaceId: string; }>

objectTypes.updateObjectType ​

ts
updateObjectType: (parameters, options?) => Promise<{
[key: string]: unknown;
  abstractObjectType: boolean;
  created: Date;
  description?: string;
  globalId: string;
  icon: {
   [key: string]: unknown;
     id: string;
     name: string;
     url16: string;
     url48: string;
  };
  id: string;
  inherited: boolean;
  name: string;
  objectCount: number;
  objectSchemaId: string;
  parentObjectTypeId?: number;
  parentObjectTypeInherited: boolean;
  position: number;
  type?: number;
  updated: Date;
  workspaceId: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ abstractObjectType?: boolean; description?: string; iconId?: string; id: string; inherited?: boolean; name?: string; }-
parameters.abstractObjectType?boolean-
parameters.description?string-
parameters.iconId?string-
parameters.id?string-
parameters.inherited?booleanDescribes if this object type is configured for inheritance i.e. it's children inherits the attributes of this object type
parameters.name?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; abstractObjectType: boolean; created: Date; description?: string; globalId: string; icon: { [key: string]: unknown; id: string; name: string; url16: string; url48: string; }; id: string; inherited: boolean; name: string; objectCount: number; objectSchemaId: string; parentObjectTypeId?: number; parentObjectTypeInherited: boolean; position: number; type?: number; updated: Date; workspaceId: string; }>

progress ​

ts
progress: object;

progress.getImportProgress ​

ts
getImportProgress: (parameters, options?) => Promise<{
[key: string]: unknown;
  actor?: string;
  category?: string;
  currentStep?: number;
  currentStepTotalWorkUnits?: number;
  currentWorkDescription?: string;
  currentWorkUnits?: number;
  estimatedFinishDate?: Date;
  executionUUID?: string;
  finishedDate?: Date;
  numberOfSteps?: number;
  progressInPercent?: number;
  resourceId?: string;
  result?: string;
  resultData?: Record<string, any>;
  resultMessage?: string;
  startDate?: Date;
  status?: string;
  stepDescription?: string;
  totalWorkUnits?: number;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringThe id of the import source configuration that the progress should be fetched for
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; actor?: string; category?: string; currentStep?: number; currentStepTotalWorkUnits?: number; currentWorkDescription?: string; currentWorkUnits?: number; estimatedFinishDate?: Date; executionUUID?: string; finishedDate?: Date; numberOfSteps?: number; progressInPercent?: number; resourceId?: string; result?: string; resultData?: Record<string, any>; resultMessage?: string; startDate?: Date; status?: string; stepDescription?: string; totalWorkUnits?: number; }>

referenceTypes ​

ts
referenceTypes: object;

referenceTypes.createReferenceType ​

ts
createReferenceType: (parameters, options?) => Promise<{
[key: string]: unknown;
  cdmData?: {
   [key: string]: unknown;
     types?: object[];
  };
  color?: string;
  description?: string;
  globalId: string;
  id?: string;
  name: string;
  objectSchemaId?: string;
  url16?: string;
  workspaceId: string;
}>;
Parameters ​
ParameterType
parameters{ color?: string; description?: string; name: string; objectSchemaId?: string; }
parameters.color?string
parameters.description?string
parameters.name?string
parameters.objectSchemaId?string
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; cdmData?: { [key: string]: unknown; types?: object[]; }; color?: string; description?: string; globalId: string; id?: string; name: string; objectSchemaId?: string; url16?: string; workspaceId: string; }>

referenceTypes.findReferenceTypes ​

ts
findReferenceTypes: (parameters?, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters?{ includeAll?: boolean; objectSchemaId?: string; }-
parameters.includeAll?booleanInclude all reference types. Defaults to false
parameters.objectSchemaId?stringInclude reference types for the object schema id. If supplied reference types for the object schema will be returned otherwise all global will be returned
options?RequestOptions-
Returns ​

Promise<object[]>

statusTypes ​

ts
statusTypes: object;

statusTypes.createStatusType ​

ts
createStatusType: (parameters, options?) => Promise<{
[key: string]: unknown;
  category: number;
  description?: string;
  id: string;
  name: string;
  objectSchemaId?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ category: number; description?: string; name: string; objectSchemaId?: string; }-
parameters.categorynumber
parameters.description?string-
parameters.name?string-
parameters.objectSchemaId?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; category: number; description?: string; id: string; name: string; objectSchemaId?: string; }>

statusTypes.deleteStatusType ​

ts
deleteStatusType: (parameters, options?) => Promise<void>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringStatus type id
options?RequestOptions-
Returns ​

Promise<void>

statusTypes.findStatusTypes ​

ts
findStatusTypes: (parameters?, options?) => Promise<object[]>;
Parameters ​
ParameterTypeDescription
parameters?{ objectSchemaId?: string; }-
parameters.objectSchemaId?stringInclude statuses for the object schema id. If supplied statuses for the object schema will be returned otherwise all global will be returned
options?RequestOptions-
Returns ​

Promise<object[]>

statusTypes.getStatusType ​

ts
getStatusType: (parameters, options?) => Promise<{
[key: string]: unknown;
  category: number;
  description?: string;
  id: string;
  name: string;
  objectSchemaId?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ id: string; }-
parameters.idstringStatus type id
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; category: number; description?: string; id: string; name: string; objectSchemaId?: string; }>

statusTypes.updateStatusType ​

ts
updateStatusType: (parameters, options?) => Promise<{
[key: string]: unknown;
  category: number;
  description?: string;
  id: string;
  name: string;
  objectSchemaId?: string;
}>;
Parameters ​
ParameterTypeDescription
parameters{ category: number; description?: string; id: string; name: string; objectSchemaId?: string; }-
parameters.categorynumber
parameters.description?string-
parameters.id?stringStatus type id
parameters.name?string-
parameters.objectSchemaId?string-
options?RequestOptions-
Returns ​

Promise<{ [key: string]: unknown; category: number; description?: string; id: string; name: string; objectSchemaId?: string; }>

usage ​

ts
usage: object;

usage.getTenantUsageInfo ​

ts
getTenantUsageInfo: (options?) => Promise<{
[key: string]: unknown;
  perSchemaUsageInfo: object[];
  totalObjectsCount: number;
}>;
Parameters ​
ParameterType
options?RequestOptions
Returns ​

Promise<{ [key: string]: unknown; perSchemaUsageInfo: object[]; totalObjectsCount: number; }>