@bentley/imodeljs-native
Advanced tools
Comparing version
@@ -28,3 +28,6 @@ import { BentleyStatus, ChangeSetApplyOption, ChangeSetStatus, DbOpcode, DbResult, GuidString, Id64Array, Id64String, IDisposable, IModelStatus, Logger, OpenMode, RepositoryStatus, StatusCodeWithMessage } from "@bentley/bentleyjs-core"; | ||
HomeUse = 3, | ||
PreActivation = 4 | ||
PreActivation = 4, | ||
Evaluation = 5, | ||
Academic = 6, | ||
Practitioner = 7 | ||
} | ||
@@ -302,2 +305,3 @@ const enum UpgradeMode { | ||
static getUncompressSize(sourceFile: string): string; | ||
static dumpChangesetToDb(sourceFile: string, dbFile: string, includeCols: boolean): BentleyStatus; | ||
} | ||
@@ -571,3 +575,11 @@ /** | ||
principalId: string; | ||
expiresOn: string; | ||
} | ||
const enum TrackUsageStatus { | ||
BadParam = -2, | ||
NotEntitled = -1, | ||
Error = 0, | ||
EntitledButErrorUsageTracking = 1, | ||
Success = 2 | ||
} | ||
/** Authentication methods used by the native addon | ||
@@ -588,2 +600,3 @@ * @internal | ||
static checkEntitlement(accessToken: string, appVersionStr: string, projectId: GuidString, authType?: AuthType, productId?: number, deviceId?: string, correlationId?: string): Entitlement; | ||
static entitlementWorkflow(accessToken: string, appVersionStr: string, projectId: GuidString, authType: AuthType, productIds: number[], deviceId: string, correlationId: string): Promise<TrackUsageStatus>; | ||
} | ||
@@ -590,0 +603,0 @@ class DisableNativeAssertions implements IDisposable { |
{ | ||
"name": "@bentley/imodeljs-native", | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
"version": "2.0.28", | ||
"version": "2.0.29", | ||
"main": "IModelJsNative.js", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
44807
1.36%797
1.66%