@itwin/rpcinterface-full-stack-tests 3.3.0-dev.25 → 3.3.0-dev.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39883,6 +39883,1219 @@ module.exports = function(xml, userOptions) {
39883
39883
  };
39884
39884
 
39885
39885
 
39886
+ /***/ }),
39887
+
39888
+ /***/ "../../core/bentley/lib/cjs/BeSQLite.js":
39889
+ /*!******************************************************!*\
39890
+ !*** D:/vsts_a/1/s/core/bentley/lib/cjs/BeSQLite.js ***!
39891
+ \******************************************************/
39892
+ /*! no static exports found */
39893
+ /***/ (function(module, exports, __webpack_require__) {
39894
+
39895
+ "use strict";
39896
+
39897
+ /*---------------------------------------------------------------------------------------------
39898
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
39899
+ * See LICENSE.md in the project root for license terms and full copyright notice.
39900
+ *--------------------------------------------------------------------------------------------*/
39901
+ /** @packageDocumentation
39902
+ * @module BeSQLite
39903
+ */
39904
+ Object.defineProperty(exports, "__esModule", { value: true });
39905
+ exports.DbResult = exports.DbOpcode = exports.OpenMode = void 0;
39906
+ /** Whether to open a database readonly or writeable.
39907
+ * @public
39908
+ */
39909
+ var OpenMode;
39910
+ (function (OpenMode) {
39911
+ OpenMode[OpenMode["Readonly"] = 1] = "Readonly";
39912
+ OpenMode[OpenMode["ReadWrite"] = 2] = "ReadWrite";
39913
+ })(OpenMode = exports.OpenMode || (exports.OpenMode = {}));
39914
+ /** Values, stored in changesets, that indicate what operation was performed on the database.
39915
+ * @public
39916
+ */
39917
+ var DbOpcode;
39918
+ (function (DbOpcode) {
39919
+ /** A row was deleted. */
39920
+ DbOpcode[DbOpcode["Delete"] = 9] = "Delete";
39921
+ /** A new row was inserted. */
39922
+ DbOpcode[DbOpcode["Insert"] = 18] = "Insert";
39923
+ /** Some columns of an existing row were updated. */
39924
+ DbOpcode[DbOpcode["Update"] = 23] = "Update";
39925
+ })(DbOpcode = exports.DbOpcode || (exports.DbOpcode = {}));
39926
+ /** Values for return codes from BeSQLite functions. Consult SQLite documentation for further explanations.
39927
+ * @public
39928
+ */
39929
+ /* eslint-disable @typescript-eslint/naming-convention */
39930
+ // Disabling for the rest of the file since eslint does not correctly parse the entire enum, only parts of it
39931
+ var DbResult;
39932
+ (function (DbResult) {
39933
+ /** Success */
39934
+ DbResult[DbResult["BE_SQLITE_OK"] = 0] = "BE_SQLITE_OK";
39935
+ /** SQL error or missing database */
39936
+ DbResult[DbResult["BE_SQLITE_ERROR"] = 1] = "BE_SQLITE_ERROR";
39937
+ /** Internal logic error */
39938
+ DbResult[DbResult["BE_SQLITE_INTERNAL"] = 2] = "BE_SQLITE_INTERNAL";
39939
+ /** Access permission denied */
39940
+ DbResult[DbResult["BE_SQLITE_PERM"] = 3] = "BE_SQLITE_PERM";
39941
+ /** Callback routine requested an abort */
39942
+ DbResult[DbResult["BE_SQLITE_ABORT"] = 4] = "BE_SQLITE_ABORT";
39943
+ /** The database file is locked */
39944
+ DbResult[DbResult["BE_SQLITE_BUSY"] = 5] = "BE_SQLITE_BUSY";
39945
+ /** A table in the database is locked */
39946
+ DbResult[DbResult["BE_SQLITE_LOCKED"] = 6] = "BE_SQLITE_LOCKED";
39947
+ /** A malloc() failed */
39948
+ DbResult[DbResult["BE_SQLITE_NOMEM"] = 7] = "BE_SQLITE_NOMEM";
39949
+ /** Attempt to write a readonly database */
39950
+ DbResult[DbResult["BE_SQLITE_READONLY"] = 8] = "BE_SQLITE_READONLY";
39951
+ /** Operation terminated by interrupt */
39952
+ DbResult[DbResult["BE_SQLITE_INTERRUPT"] = 9] = "BE_SQLITE_INTERRUPT";
39953
+ /** Some kind of disk I/O error occurred */
39954
+ DbResult[DbResult["BE_SQLITE_IOERR"] = 10] = "BE_SQLITE_IOERR";
39955
+ /** The database disk image is malformed */
39956
+ DbResult[DbResult["BE_SQLITE_CORRUPT"] = 11] = "BE_SQLITE_CORRUPT";
39957
+ /** NOT USED. Table or record not found */
39958
+ DbResult[DbResult["BE_SQLITE_NOTFOUND"] = 12] = "BE_SQLITE_NOTFOUND";
39959
+ /** Insertion failed because database is full or write operation failed because disk is full */
39960
+ DbResult[DbResult["BE_SQLITE_FULL"] = 13] = "BE_SQLITE_FULL";
39961
+ /** Unable to open the database file */
39962
+ DbResult[DbResult["BE_SQLITE_CANTOPEN"] = 14] = "BE_SQLITE_CANTOPEN";
39963
+ /** Database lock protocol error */
39964
+ DbResult[DbResult["BE_SQLITE_PROTOCOL"] = 15] = "BE_SQLITE_PROTOCOL";
39965
+ /** Database is empty */
39966
+ DbResult[DbResult["BE_SQLITE_EMPTY"] = 16] = "BE_SQLITE_EMPTY";
39967
+ /** The database schema changed */
39968
+ DbResult[DbResult["BE_SQLITE_SCHEMA"] = 17] = "BE_SQLITE_SCHEMA";
39969
+ /** String or BLOB exceeds size limit */
39970
+ DbResult[DbResult["BE_SQLITE_TOOBIG"] = 18] = "BE_SQLITE_TOOBIG";
39971
+ /** Abort due to constraint violation. See extended error values. */
39972
+ DbResult[DbResult["BE_SQLITE_CONSTRAINT_BASE"] = 19] = "BE_SQLITE_CONSTRAINT_BASE";
39973
+ /** Data type mismatch */
39974
+ DbResult[DbResult["BE_SQLITE_MISMATCH"] = 20] = "BE_SQLITE_MISMATCH";
39975
+ /** Library used incorrectly */
39976
+ DbResult[DbResult["BE_SQLITE_MISUSE"] = 21] = "BE_SQLITE_MISUSE";
39977
+ /** Uses OS features not supported on host */
39978
+ DbResult[DbResult["BE_SQLITE_NOLFS"] = 22] = "BE_SQLITE_NOLFS";
39979
+ /** Authorization denied */
39980
+ DbResult[DbResult["BE_SQLITE_AUTH"] = 23] = "BE_SQLITE_AUTH";
39981
+ /** Auxiliary database format error */
39982
+ DbResult[DbResult["BE_SQLITE_FORMAT"] = 24] = "BE_SQLITE_FORMAT";
39983
+ /** 2nd parameter to Bind out of range */
39984
+ DbResult[DbResult["BE_SQLITE_RANGE"] = 25] = "BE_SQLITE_RANGE";
39985
+ /** File opened that is not a database file */
39986
+ DbResult[DbResult["BE_SQLITE_NOTADB"] = 26] = "BE_SQLITE_NOTADB";
39987
+ /** Step() has another row ready */
39988
+ DbResult[DbResult["BE_SQLITE_ROW"] = 100] = "BE_SQLITE_ROW";
39989
+ /** Step() has finished executing */
39990
+ DbResult[DbResult["BE_SQLITE_DONE"] = 101] = "BE_SQLITE_DONE";
39991
+ DbResult[DbResult["BE_SQLITE_IOERR_READ"] = 266] = "BE_SQLITE_IOERR_READ";
39992
+ DbResult[DbResult["BE_SQLITE_IOERR_SHORT_READ"] = 522] = "BE_SQLITE_IOERR_SHORT_READ";
39993
+ DbResult[DbResult["BE_SQLITE_IOERR_WRITE"] = 778] = "BE_SQLITE_IOERR_WRITE";
39994
+ DbResult[DbResult["BE_SQLITE_IOERR_FSYNC"] = 1034] = "BE_SQLITE_IOERR_FSYNC";
39995
+ DbResult[DbResult["BE_SQLITE_IOERR_DIR_FSYNC"] = 1290] = "BE_SQLITE_IOERR_DIR_FSYNC";
39996
+ DbResult[DbResult["BE_SQLITE_IOERR_TRUNCATE"] = 1546] = "BE_SQLITE_IOERR_TRUNCATE";
39997
+ DbResult[DbResult["BE_SQLITE_IOERR_FSTAT"] = 1802] = "BE_SQLITE_IOERR_FSTAT";
39998
+ DbResult[DbResult["BE_SQLITE_IOERR_UNLOCK"] = 2058] = "BE_SQLITE_IOERR_UNLOCK";
39999
+ DbResult[DbResult["BE_SQLITE_IOERR_RDLOCK"] = 2314] = "BE_SQLITE_IOERR_RDLOCK";
40000
+ DbResult[DbResult["BE_SQLITE_IOERR_DELETE"] = 2570] = "BE_SQLITE_IOERR_DELETE";
40001
+ DbResult[DbResult["BE_SQLITE_IOERR_BLOCKED"] = 2826] = "BE_SQLITE_IOERR_BLOCKED";
40002
+ DbResult[DbResult["BE_SQLITE_IOERR_NOMEM"] = 3082] = "BE_SQLITE_IOERR_NOMEM";
40003
+ DbResult[DbResult["BE_SQLITE_IOERR_ACCESS"] = 3338] = "BE_SQLITE_IOERR_ACCESS";
40004
+ DbResult[DbResult["BE_SQLITE_IOERR_CHECKRESERVEDLOCK"] = 3594] = "BE_SQLITE_IOERR_CHECKRESERVEDLOCK";
40005
+ DbResult[DbResult["BE_SQLITE_IOERR_LOCK"] = 3850] = "BE_SQLITE_IOERR_LOCK";
40006
+ DbResult[DbResult["BE_SQLITE_IOERR_CLOSE"] = 4106] = "BE_SQLITE_IOERR_CLOSE";
40007
+ DbResult[DbResult["BE_SQLITE_IOERR_DIR_CLOSE"] = 4362] = "BE_SQLITE_IOERR_DIR_CLOSE";
40008
+ DbResult[DbResult["BE_SQLITE_IOERR_SHMOPEN"] = 4618] = "BE_SQLITE_IOERR_SHMOPEN";
40009
+ DbResult[DbResult["BE_SQLITE_IOERR_SHMSIZE"] = 4874] = "BE_SQLITE_IOERR_SHMSIZE";
40010
+ DbResult[DbResult["BE_SQLITE_IOERR_SHMLOCK"] = 5130] = "BE_SQLITE_IOERR_SHMLOCK";
40011
+ DbResult[DbResult["BE_SQLITE_IOERR_SHMMAP"] = 5386] = "BE_SQLITE_IOERR_SHMMAP";
40012
+ DbResult[DbResult["BE_SQLITE_IOERR_SEEK"] = 5642] = "BE_SQLITE_IOERR_SEEK";
40013
+ DbResult[DbResult["BE_SQLITE_IOERR_DELETE_NOENT"] = 5898] = "BE_SQLITE_IOERR_DELETE_NOENT";
40014
+ /** attempt to create a new file when a file by that name already exists */
40015
+ DbResult[DbResult["BE_SQLITE_ERROR_FileExists"] = 16777226] = "BE_SQLITE_ERROR_FileExists";
40016
+ /** attempt to open a BeSQLite::Db that is already in use somewhere. */
40017
+ DbResult[DbResult["BE_SQLITE_ERROR_AlreadyOpen"] = 33554442] = "BE_SQLITE_ERROR_AlreadyOpen";
40018
+ /** attempt to open a BeSQLite::Db that doesn't have a property table. */
40019
+ DbResult[DbResult["BE_SQLITE_ERROR_NoPropertyTable"] = 50331658] = "BE_SQLITE_ERROR_NoPropertyTable";
40020
+ /** the database name is not a file. */
40021
+ DbResult[DbResult["BE_SQLITE_ERROR_FileNotFound"] = 67108874] = "BE_SQLITE_ERROR_FileNotFound";
40022
+ /** there is no transaction active and the database was opened with AllowImplicitTransactions=false */
40023
+ DbResult[DbResult["BE_SQLITE_ERROR_NoTxnActive"] = 83886090] = "BE_SQLITE_ERROR_NoTxnActive";
40024
+ /** wrong BeSQLite profile version */
40025
+ DbResult[DbResult["BE_SQLITE_ERROR_BadDbProfile"] = 100663306] = "BE_SQLITE_ERROR_BadDbProfile";
40026
+ /** Profile of file could not be determined. */
40027
+ DbResult[DbResult["BE_SQLITE_ERROR_InvalidProfileVersion"] = 117440522] = "BE_SQLITE_ERROR_InvalidProfileVersion";
40028
+ /** Upgrade of profile of file failed. */
40029
+ DbResult[DbResult["BE_SQLITE_ERROR_ProfileUpgradeFailed"] = 134217738] = "BE_SQLITE_ERROR_ProfileUpgradeFailed";
40030
+ /** Profile of file is too old. Therefore file can only be opened read-only. */
40031
+ DbResult[DbResult["BE_SQLITE_ERROR_ProfileTooOldForReadWrite"] = 150994954] = "BE_SQLITE_ERROR_ProfileTooOldForReadWrite";
40032
+ /** Profile of file is too old. Therefore file cannot be opened. */
40033
+ DbResult[DbResult["BE_SQLITE_ERROR_ProfileTooOld"] = 167772170] = "BE_SQLITE_ERROR_ProfileTooOld";
40034
+ /** Profile of file is too new for read-write access. Therefore file can only be opened read-only. */
40035
+ DbResult[DbResult["BE_SQLITE_ERROR_ProfileTooNewForReadWrite"] = 184549386] = "BE_SQLITE_ERROR_ProfileTooNewForReadWrite";
40036
+ /** Profile of file is too new. Therefore file cannot be opened. */
40037
+ DbResult[DbResult["BE_SQLITE_ERROR_ProfileTooNew"] = 201326602] = "BE_SQLITE_ERROR_ProfileTooNew";
40038
+ /** attempt to commit with active changetrack */
40039
+ DbResult[DbResult["BE_SQLITE_ERROR_ChangeTrackError"] = 218103818] = "BE_SQLITE_ERROR_ChangeTrackError";
40040
+ /** invalid version of the revision file is being imported */
40041
+ DbResult[DbResult["BE_SQLITE_ERROR_InvalidChangeSetVersion"] = 234881034] = "BE_SQLITE_ERROR_InvalidChangeSetVersion";
40042
+ /** The schemas found in the database need to be upgraded */
40043
+ DbResult[DbResult["BE_SQLITE_ERROR_SchemaUpgradeRequired"] = 251658250] = "BE_SQLITE_ERROR_SchemaUpgradeRequired";
40044
+ /** The schemas found in the database are too new, and the application needs to be upgraded. */
40045
+ DbResult[DbResult["BE_SQLITE_ERROR_SchemaTooNew"] = 268435466] = "BE_SQLITE_ERROR_SchemaTooNew";
40046
+ /** The schemas found in the database are too old, and the DgnDb needs to be upgraded. */
40047
+ DbResult[DbResult["BE_SQLITE_ERROR_SchemaTooOld"] = 285212682] = "BE_SQLITE_ERROR_SchemaTooOld";
40048
+ /** Error acquiring a lock on the schemas before upgrade. */
40049
+ DbResult[DbResult["BE_SQLITE_ERROR_SchemaLockFailed"] = 301989898] = "BE_SQLITE_ERROR_SchemaLockFailed";
40050
+ /** Error upgrading the schemas in the database. */
40051
+ DbResult[DbResult["BE_SQLITE_ERROR_SchemaUpgradeFailed"] = 318767114] = "BE_SQLITE_ERROR_SchemaUpgradeFailed";
40052
+ /** Error importing the schemas into the database. */
40053
+ DbResult[DbResult["BE_SQLITE_ERROR_SchemaImportFailed"] = 335544330] = "BE_SQLITE_ERROR_SchemaImportFailed";
40054
+ /** Error acquiring locks or codes */
40055
+ DbResult[DbResult["BE_SQLITE_ERROR_CouldNotAcquireLocksOrCodes"] = 352321546] = "BE_SQLITE_ERROR_CouldNotAcquireLocksOrCodes";
40056
+ /** Recommended that the schemas found in the database be upgraded */
40057
+ DbResult[DbResult["BE_SQLITE_ERROR_SchemaUpgradeRecommended"] = 369098762] = "BE_SQLITE_ERROR_SchemaUpgradeRecommended";
40058
+ DbResult[DbResult["BE_SQLITE_LOCKED_SHAREDCACHE"] = 262] = "BE_SQLITE_LOCKED_SHAREDCACHE";
40059
+ DbResult[DbResult["BE_SQLITE_BUSY_RECOVERY"] = 261] = "BE_SQLITE_BUSY_RECOVERY";
40060
+ DbResult[DbResult["BE_SQLITE_CANTOPEN_NOTEMPDIR"] = 270] = "BE_SQLITE_CANTOPEN_NOTEMPDIR";
40061
+ DbResult[DbResult["BE_SQLITE_CANTOPEN_ISDIR"] = 526] = "BE_SQLITE_CANTOPEN_ISDIR";
40062
+ DbResult[DbResult["BE_SQLITE_CANTOPEN_FULLPATH"] = 782] = "BE_SQLITE_CANTOPEN_FULLPATH";
40063
+ DbResult[DbResult["BE_SQLITE_CORRUPT_VTAB"] = 267] = "BE_SQLITE_CORRUPT_VTAB";
40064
+ DbResult[DbResult["BE_SQLITE_READONLY_RECOVERY"] = 264] = "BE_SQLITE_READONLY_RECOVERY";
40065
+ DbResult[DbResult["BE_SQLITE_READONLY_CANTLOCK"] = 520] = "BE_SQLITE_READONLY_CANTLOCK";
40066
+ DbResult[DbResult["BE_SQLITE_READONLY_ROLLBACK"] = 776] = "BE_SQLITE_READONLY_ROLLBACK";
40067
+ DbResult[DbResult["BE_SQLITE_ABORT_ROLLBACK"] = 516] = "BE_SQLITE_ABORT_ROLLBACK";
40068
+ DbResult[DbResult["BE_SQLITE_CONSTRAINT_CHECK"] = 275] = "BE_SQLITE_CONSTRAINT_CHECK";
40069
+ DbResult[DbResult["BE_SQLITE_CONSTRAINT_COMMITHOOK"] = 531] = "BE_SQLITE_CONSTRAINT_COMMITHOOK";
40070
+ DbResult[DbResult["BE_SQLITE_CONSTRAINT_FOREIGNKEY"] = 787] = "BE_SQLITE_CONSTRAINT_FOREIGNKEY";
40071
+ DbResult[DbResult["BE_SQLITE_CONSTRAINT_FUNCTION"] = 1043] = "BE_SQLITE_CONSTRAINT_FUNCTION";
40072
+ DbResult[DbResult["BE_SQLITE_CONSTRAINT_NOTNULL"] = 1299] = "BE_SQLITE_CONSTRAINT_NOTNULL";
40073
+ DbResult[DbResult["BE_SQLITE_CONSTRAINT_PRIMARYKEY"] = 1555] = "BE_SQLITE_CONSTRAINT_PRIMARYKEY";
40074
+ DbResult[DbResult["BE_SQLITE_CONSTRAINT_TRIGGER"] = 1811] = "BE_SQLITE_CONSTRAINT_TRIGGER";
40075
+ DbResult[DbResult["BE_SQLITE_CONSTRAINT_UNIQUE"] = 2067] = "BE_SQLITE_CONSTRAINT_UNIQUE";
40076
+ DbResult[DbResult["BE_SQLITE_CONSTRAINT_VTAB"] = 2323] = "BE_SQLITE_CONSTRAINT_VTAB";
40077
+ })(DbResult = exports.DbResult || (exports.DbResult = {}));
40078
+ /* eslint-enable @typescript-eslint/naming-convention */
40079
+
40080
+
40081
+ /***/ }),
40082
+
40083
+ /***/ "../../core/bentley/lib/cjs/BentleyError.js":
40084
+ /*!**********************************************************!*\
40085
+ !*** D:/vsts_a/1/s/core/bentley/lib/cjs/BentleyError.js ***!
40086
+ \**********************************************************/
40087
+ /*! no static exports found */
40088
+ /***/ (function(module, exports, __webpack_require__) {
40089
+
40090
+ "use strict";
40091
+
40092
+ /*---------------------------------------------------------------------------------------------
40093
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
40094
+ * See LICENSE.md in the project root for license terms and full copyright notice.
40095
+ *--------------------------------------------------------------------------------------------*/
40096
+ /** @packageDocumentation
40097
+ * @module Errors
40098
+ */
40099
+ Object.defineProperty(exports, "__esModule", { value: true });
40100
+ exports.BentleyError = exports.RealityDataStatus = exports.GeoServiceStatus = exports.AuthStatus = exports.IModelHubStatus = exports.HttpStatus = exports.RepositoryStatus = exports.ChangeSetStatus = exports.RpcInterfaceStatus = exports.BriefcaseStatus = exports.IModelStatus = exports.BentleyStatus = void 0;
40101
+ const BeSQLite_1 = __webpack_require__(/*! ./BeSQLite */ "../../core/bentley/lib/cjs/BeSQLite.js");
40102
+ /** Standard status code.
40103
+ * This status code should be rarely used.
40104
+ * Prefer to throw an exception to indicate an error, rather than returning a special status code.
40105
+ * If a status code is to be returned, prefer to return a more specific error status type such as IModelStatus or DbResult.
40106
+ * @public
40107
+ */
40108
+ var BentleyStatus;
40109
+ (function (BentleyStatus) {
40110
+ BentleyStatus[BentleyStatus["SUCCESS"] = 0] = "SUCCESS";
40111
+ BentleyStatus[BentleyStatus["ERROR"] = 32768] = "ERROR";
40112
+ })(BentleyStatus = exports.BentleyStatus || (exports.BentleyStatus = {}));
40113
+ /** Status codes that are used in conjunction with [[BentleyError]].
40114
+ * Error status codes are divided into separate ranges for different kinds of errors. All known ranges at least should be defined here, to avoid collisions.
40115
+ * @public
40116
+ */
40117
+ var IModelStatus;
40118
+ (function (IModelStatus) {
40119
+ IModelStatus[IModelStatus["IMODEL_ERROR_BASE"] = 65536] = "IMODEL_ERROR_BASE";
40120
+ IModelStatus[IModelStatus["Success"] = 0] = "Success";
40121
+ IModelStatus[IModelStatus["AlreadyLoaded"] = 65537] = "AlreadyLoaded";
40122
+ IModelStatus[IModelStatus["AlreadyOpen"] = 65538] = "AlreadyOpen";
40123
+ IModelStatus[IModelStatus["BadArg"] = 65539] = "BadArg";
40124
+ IModelStatus[IModelStatus["BadElement"] = 65540] = "BadElement";
40125
+ IModelStatus[IModelStatus["BadModel"] = 65541] = "BadModel";
40126
+ IModelStatus[IModelStatus["BadRequest"] = 65542] = "BadRequest";
40127
+ IModelStatus[IModelStatus["BadSchema"] = 65543] = "BadSchema";
40128
+ IModelStatus[IModelStatus["CannotUndo"] = 65544] = "CannotUndo";
40129
+ IModelStatus[IModelStatus["CodeNotReserved"] = 65545] = "CodeNotReserved";
40130
+ IModelStatus[IModelStatus["DeletionProhibited"] = 65546] = "DeletionProhibited";
40131
+ IModelStatus[IModelStatus["DuplicateCode"] = 65547] = "DuplicateCode";
40132
+ IModelStatus[IModelStatus["DuplicateName"] = 65548] = "DuplicateName";
40133
+ IModelStatus[IModelStatus["ElementBlockedChange"] = 65549] = "ElementBlockedChange";
40134
+ IModelStatus[IModelStatus["FileAlreadyExists"] = 65550] = "FileAlreadyExists";
40135
+ IModelStatus[IModelStatus["FileNotFound"] = 65551] = "FileNotFound";
40136
+ IModelStatus[IModelStatus["FileNotLoaded"] = 65552] = "FileNotLoaded";
40137
+ IModelStatus[IModelStatus["ForeignKeyConstraint"] = 65553] = "ForeignKeyConstraint";
40138
+ IModelStatus[IModelStatus["IdExists"] = 65554] = "IdExists";
40139
+ IModelStatus[IModelStatus["InDynamicTransaction"] = 65555] = "InDynamicTransaction";
40140
+ IModelStatus[IModelStatus["InvalidCategory"] = 65556] = "InvalidCategory";
40141
+ IModelStatus[IModelStatus["InvalidCode"] = 65557] = "InvalidCode";
40142
+ IModelStatus[IModelStatus["InvalidCodeSpec"] = 65558] = "InvalidCodeSpec";
40143
+ IModelStatus[IModelStatus["InvalidId"] = 65559] = "InvalidId";
40144
+ IModelStatus[IModelStatus["InvalidName"] = 65560] = "InvalidName";
40145
+ IModelStatus[IModelStatus["InvalidParent"] = 65561] = "InvalidParent";
40146
+ IModelStatus[IModelStatus["InvalidProfileVersion"] = 65562] = "InvalidProfileVersion";
40147
+ IModelStatus[IModelStatus["IsCreatingChangeSet"] = 65563] = "IsCreatingChangeSet";
40148
+ IModelStatus[IModelStatus["LockNotHeld"] = 65564] = "LockNotHeld";
40149
+ IModelStatus[IModelStatus["Mismatch2d3d"] = 65565] = "Mismatch2d3d";
40150
+ IModelStatus[IModelStatus["MismatchGcs"] = 65566] = "MismatchGcs";
40151
+ IModelStatus[IModelStatus["MissingDomain"] = 65567] = "MissingDomain";
40152
+ IModelStatus[IModelStatus["MissingHandler"] = 65568] = "MissingHandler";
40153
+ IModelStatus[IModelStatus["MissingId"] = 65569] = "MissingId";
40154
+ IModelStatus[IModelStatus["NoGeometry"] = 65570] = "NoGeometry";
40155
+ IModelStatus[IModelStatus["NoMultiTxnOperation"] = 65571] = "NoMultiTxnOperation";
40156
+ IModelStatus[IModelStatus["NotEnabled"] = 65573] = "NotEnabled";
40157
+ IModelStatus[IModelStatus["NotFound"] = 65574] = "NotFound";
40158
+ IModelStatus[IModelStatus["NotOpen"] = 65575] = "NotOpen";
40159
+ IModelStatus[IModelStatus["NotOpenForWrite"] = 65576] = "NotOpenForWrite";
40160
+ IModelStatus[IModelStatus["NotSameUnitBase"] = 65577] = "NotSameUnitBase";
40161
+ IModelStatus[IModelStatus["NothingToRedo"] = 65578] = "NothingToRedo";
40162
+ IModelStatus[IModelStatus["NothingToUndo"] = 65579] = "NothingToUndo";
40163
+ IModelStatus[IModelStatus["ParentBlockedChange"] = 65580] = "ParentBlockedChange";
40164
+ IModelStatus[IModelStatus["ReadError"] = 65581] = "ReadError";
40165
+ IModelStatus[IModelStatus["ReadOnly"] = 65582] = "ReadOnly";
40166
+ IModelStatus[IModelStatus["ReadOnlyDomain"] = 65583] = "ReadOnlyDomain";
40167
+ IModelStatus[IModelStatus["RepositoryManagerError"] = 65584] = "RepositoryManagerError";
40168
+ IModelStatus[IModelStatus["SQLiteError"] = 65585] = "SQLiteError";
40169
+ IModelStatus[IModelStatus["TransactionActive"] = 65586] = "TransactionActive";
40170
+ IModelStatus[IModelStatus["UnitsMissing"] = 65587] = "UnitsMissing";
40171
+ IModelStatus[IModelStatus["UnknownFormat"] = 65588] = "UnknownFormat";
40172
+ IModelStatus[IModelStatus["UpgradeFailed"] = 65589] = "UpgradeFailed";
40173
+ IModelStatus[IModelStatus["ValidationFailed"] = 65590] = "ValidationFailed";
40174
+ IModelStatus[IModelStatus["VersionTooNew"] = 65591] = "VersionTooNew";
40175
+ IModelStatus[IModelStatus["VersionTooOld"] = 65592] = "VersionTooOld";
40176
+ IModelStatus[IModelStatus["ViewNotFound"] = 65593] = "ViewNotFound";
40177
+ IModelStatus[IModelStatus["WriteError"] = 65594] = "WriteError";
40178
+ IModelStatus[IModelStatus["WrongClass"] = 65595] = "WrongClass";
40179
+ IModelStatus[IModelStatus["WrongIModel"] = 65596] = "WrongIModel";
40180
+ IModelStatus[IModelStatus["WrongDomain"] = 65597] = "WrongDomain";
40181
+ IModelStatus[IModelStatus["WrongElement"] = 65598] = "WrongElement";
40182
+ IModelStatus[IModelStatus["WrongHandler"] = 65599] = "WrongHandler";
40183
+ IModelStatus[IModelStatus["WrongModel"] = 65600] = "WrongModel";
40184
+ IModelStatus[IModelStatus["ConstraintNotUnique"] = 65601] = "ConstraintNotUnique";
40185
+ IModelStatus[IModelStatus["NoGeoLocation"] = 65602] = "NoGeoLocation";
40186
+ IModelStatus[IModelStatus["ServerTimeout"] = 65603] = "ServerTimeout";
40187
+ IModelStatus[IModelStatus["NoContent"] = 65604] = "NoContent";
40188
+ IModelStatus[IModelStatus["NotRegistered"] = 65605] = "NotRegistered";
40189
+ IModelStatus[IModelStatus["FunctionNotFound"] = 65606] = "FunctionNotFound";
40190
+ IModelStatus[IModelStatus["NoActiveCommand"] = 65607] = "NoActiveCommand";
40191
+ })(IModelStatus = exports.IModelStatus || (exports.IModelStatus = {}));
40192
+ /** Error status from various briefcase operations
40193
+ * @beta Should these be internal?
40194
+ */
40195
+ var BriefcaseStatus;
40196
+ (function (BriefcaseStatus) {
40197
+ BriefcaseStatus[BriefcaseStatus["BRIEFCASE_STATUS_BASE"] = 131072] = "BRIEFCASE_STATUS_BASE";
40198
+ BriefcaseStatus[BriefcaseStatus["CannotAcquire"] = 131072] = "CannotAcquire";
40199
+ BriefcaseStatus[BriefcaseStatus["CannotDownload"] = 131073] = "CannotDownload";
40200
+ BriefcaseStatus[BriefcaseStatus["CannotUpload"] = 131074] = "CannotUpload";
40201
+ BriefcaseStatus[BriefcaseStatus["CannotCopy"] = 131075] = "CannotCopy";
40202
+ BriefcaseStatus[BriefcaseStatus["CannotDelete"] = 131076] = "CannotDelete";
40203
+ BriefcaseStatus[BriefcaseStatus["VersionNotFound"] = 131077] = "VersionNotFound";
40204
+ BriefcaseStatus[BriefcaseStatus["CannotApplyChanges"] = 131078] = "CannotApplyChanges";
40205
+ BriefcaseStatus[BriefcaseStatus["DownloadCancelled"] = 131079] = "DownloadCancelled";
40206
+ BriefcaseStatus[BriefcaseStatus["ContainsDeletedChangeSets"] = 131080] = "ContainsDeletedChangeSets";
40207
+ })(BriefcaseStatus = exports.BriefcaseStatus || (exports.BriefcaseStatus = {}));
40208
+ /** RpcInterface status codes
40209
+ * @beta Should these be internal?
40210
+ */
40211
+ var RpcInterfaceStatus;
40212
+ (function (RpcInterfaceStatus) {
40213
+ RpcInterfaceStatus[RpcInterfaceStatus["Success"] = 0] = "Success";
40214
+ RpcInterfaceStatus[RpcInterfaceStatus["RPC_INTERFACE_ERROR_BASE"] = 135168] = "RPC_INTERFACE_ERROR_BASE";
40215
+ /** The RpcInterface implemented by the server is incompatible with the interface requested by the client. */
40216
+ RpcInterfaceStatus[RpcInterfaceStatus["IncompatibleVersion"] = 135168] = "IncompatibleVersion";
40217
+ })(RpcInterfaceStatus = exports.RpcInterfaceStatus || (exports.RpcInterfaceStatus = {}));
40218
+ /** Error status from various Changeset operations
40219
+ * @beta Should these be internal?
40220
+ */
40221
+ var ChangeSetStatus;
40222
+ (function (ChangeSetStatus) {
40223
+ ChangeSetStatus[ChangeSetStatus["Success"] = 0] = "Success";
40224
+ ChangeSetStatus[ChangeSetStatus["CHANGESET_ERROR_BASE"] = 90112] = "CHANGESET_ERROR_BASE";
40225
+ /** Error applying a change set when reversing or reinstating it */
40226
+ ChangeSetStatus[ChangeSetStatus["ApplyError"] = 90113] = "ApplyError";
40227
+ /** Change tracking has not been enabled. The ChangeSet API mandates this. */
40228
+ ChangeSetStatus[ChangeSetStatus["ChangeTrackingNotEnabled"] = 90114] = "ChangeTrackingNotEnabled";
40229
+ /** Contents of the change stream are corrupted and does not match the ChangeSet */
40230
+ ChangeSetStatus[ChangeSetStatus["CorruptedChangeStream"] = 90115] = "CorruptedChangeStream";
40231
+ /** File containing the changes to the change set is not found */
40232
+ ChangeSetStatus[ChangeSetStatus["FileNotFound"] = 90116] = "FileNotFound";
40233
+ /** Error writing the contents of the change set to the backing change stream file */
40234
+ ChangeSetStatus[ChangeSetStatus["FileWriteError"] = 90117] = "FileWriteError";
40235
+ /** Cannot perform the operation since the Db has local changes */
40236
+ ChangeSetStatus[ChangeSetStatus["HasLocalChanges"] = 90118] = "HasLocalChanges";
40237
+ /** Cannot perform the operation since current transaction has uncommitted changes */
40238
+ ChangeSetStatus[ChangeSetStatus["HasUncommittedChanges"] = 90119] = "HasUncommittedChanges";
40239
+ /** Invalid ChangeSet Id */
40240
+ ChangeSetStatus[ChangeSetStatus["InvalidId"] = 90120] = "InvalidId";
40241
+ /** Invalid version of the change set */
40242
+ ChangeSetStatus[ChangeSetStatus["InvalidVersion"] = 90121] = "InvalidVersion";
40243
+ /** Cannot perform the operation since system is in the middle of a dynamic transaction */
40244
+ ChangeSetStatus[ChangeSetStatus["InDynamicTransaction"] = 90122] = "InDynamicTransaction";
40245
+ /** Cannot perform operation since system is in the middle of a creating a change set */
40246
+ ChangeSetStatus[ChangeSetStatus["IsCreatingChangeSet"] = 90123] = "IsCreatingChangeSet";
40247
+ /** Cannot perform operation since the system is not creating a change set */
40248
+ ChangeSetStatus[ChangeSetStatus["IsNotCreatingChangeSet"] = 90124] = "IsNotCreatingChangeSet";
40249
+ /** Error propagating the changes after the merge */
40250
+ ChangeSetStatus[ChangeSetStatus["MergePropagationError"] = 90125] = "MergePropagationError";
40251
+ /** No change sets to merge */
40252
+ ChangeSetStatus[ChangeSetStatus["NothingToMerge"] = 90126] = "NothingToMerge";
40253
+ /** No transactions are available to create a change set */
40254
+ ChangeSetStatus[ChangeSetStatus["NoTransactions"] = 90127] = "NoTransactions";
40255
+ /** Parent change set of the Db does not match the parent id of the change set */
40256
+ ChangeSetStatus[ChangeSetStatus["ParentMismatch"] = 90128] = "ParentMismatch";
40257
+ /** Error performing a SQLite operation on the Db */
40258
+ ChangeSetStatus[ChangeSetStatus["SQLiteError"] = 90129] = "SQLiteError";
40259
+ /** ChangeSet originated in a different Db */
40260
+ ChangeSetStatus[ChangeSetStatus["WrongDgnDb"] = 90130] = "WrongDgnDb";
40261
+ /** Could not open the DgnDb to merge change set */
40262
+ ChangeSetStatus[ChangeSetStatus["CouldNotOpenDgnDb"] = 90131] = "CouldNotOpenDgnDb";
40263
+ /** Cannot merge changes in in an open DgnDb. Close the DgnDb, and process the operation when it is opened. */
40264
+ ChangeSetStatus[ChangeSetStatus["MergeSchemaChangesOnOpen"] = 90132] = "MergeSchemaChangesOnOpen";
40265
+ /** Cannot reverse or reinstate schema changes. */
40266
+ ChangeSetStatus[ChangeSetStatus["ReverseOrReinstateSchemaChanges"] = 90133] = "ReverseOrReinstateSchemaChanges";
40267
+ /** Cannot process changes schema changes in an open DgnDb. Close the DgnDb, and process the operation when it is opened. */
40268
+ ChangeSetStatus[ChangeSetStatus["ProcessSchemaChangesOnOpen"] = 90134] = "ProcessSchemaChangesOnOpen";
40269
+ /** Cannot merge changes into a Readonly DgnDb. */
40270
+ ChangeSetStatus[ChangeSetStatus["CannotMergeIntoReadonly"] = 90135] = "CannotMergeIntoReadonly";
40271
+ /** Cannot merge changes into a Master DgnDb. */
40272
+ ChangeSetStatus[ChangeSetStatus["CannotMergeIntoMaster"] = 90136] = "CannotMergeIntoMaster";
40273
+ /** Cannot merge changes into a DgnDb that has reversed change sets. */
40274
+ ChangeSetStatus[ChangeSetStatus["CannotMergeIntoReversed"] = 90137] = "CannotMergeIntoReversed";
40275
+ })(ChangeSetStatus = exports.ChangeSetStatus || (exports.ChangeSetStatus = {}));
40276
+ /** Return codes for methods which perform repository management operations
40277
+ * @beta Should these be internal?
40278
+ */
40279
+ var RepositoryStatus;
40280
+ (function (RepositoryStatus) {
40281
+ RepositoryStatus[RepositoryStatus["Success"] = 0] = "Success";
40282
+ /** The repository server did not respond to a request */
40283
+ RepositoryStatus[RepositoryStatus["ServerUnavailable"] = 86017] = "ServerUnavailable";
40284
+ /** A requested lock was already held by another briefcase */
40285
+ RepositoryStatus[RepositoryStatus["LockAlreadyHeld"] = 86018] = "LockAlreadyHeld";
40286
+ /** Failed to sync briefcase manager with server */
40287
+ RepositoryStatus[RepositoryStatus["SyncError"] = 86019] = "SyncError";
40288
+ /** Response from server not understood */
40289
+ RepositoryStatus[RepositoryStatus["InvalidResponse"] = 86020] = "InvalidResponse";
40290
+ /** An operation requires local changes to be committed or abandoned */
40291
+ RepositoryStatus[RepositoryStatus["PendingTransactions"] = 86021] = "PendingTransactions";
40292
+ /** A lock cannot be relinquished because the associated object has been modified */
40293
+ RepositoryStatus[RepositoryStatus["LockUsed"] = 86022] = "LockUsed";
40294
+ /** An operation required creation of a ChangeSet, which failed */
40295
+ RepositoryStatus[RepositoryStatus["CannotCreateChangeSet"] = 86023] = "CannotCreateChangeSet";
40296
+ /** Request to server not understood */
40297
+ RepositoryStatus[RepositoryStatus["InvalidRequest"] = 86024] = "InvalidRequest";
40298
+ /** A change set committed to the server must be integrated into the briefcase before the operation can be completed */
40299
+ RepositoryStatus[RepositoryStatus["ChangeSetRequired"] = 86025] = "ChangeSetRequired";
40300
+ /** A requested DgnCode is reserved by another briefcase or in use */
40301
+ RepositoryStatus[RepositoryStatus["CodeUnavailable"] = 86026] = "CodeUnavailable";
40302
+ /** A DgnCode cannot be released because it has not been reserved by the requesting briefcase */
40303
+ RepositoryStatus[RepositoryStatus["CodeNotReserved"] = 86027] = "CodeNotReserved";
40304
+ /** A DgnCode cannot be relinquished because it has been used locally */
40305
+ RepositoryStatus[RepositoryStatus["CodeUsed"] = 86028] = "CodeUsed";
40306
+ /** A required lock is not held by this briefcase */
40307
+ RepositoryStatus[RepositoryStatus["LockNotHeld"] = 86029] = "LockNotHeld";
40308
+ /** Repository is currently locked, no changes allowed */
40309
+ RepositoryStatus[RepositoryStatus["RepositoryIsLocked"] = 86030] = "RepositoryIsLocked";
40310
+ /** Channel write constraint violation, such as an attempt to write outside the designated channel. */
40311
+ RepositoryStatus[RepositoryStatus["ChannelConstraintViolation"] = 86031] = "ChannelConstraintViolation";
40312
+ })(RepositoryStatus = exports.RepositoryStatus || (exports.RepositoryStatus = {}));
40313
+ /** Status from returned HTTP status code
40314
+ * @beta Should these be internal?
40315
+ */
40316
+ var HttpStatus;
40317
+ (function (HttpStatus) {
40318
+ /** 2xx Success */
40319
+ HttpStatus[HttpStatus["Success"] = 0] = "Success";
40320
+ /** 1xx Informational responses */
40321
+ HttpStatus[HttpStatus["Info"] = 94209] = "Info";
40322
+ /** 3xx Redirection */
40323
+ HttpStatus[HttpStatus["Redirection"] = 94210] = "Redirection";
40324
+ /** 4xx Client errors */
40325
+ HttpStatus[HttpStatus["ClientError"] = 94211] = "ClientError";
40326
+ /** 5xx Server errors */
40327
+ HttpStatus[HttpStatus["ServerError"] = 94212] = "ServerError";
40328
+ })(HttpStatus = exports.HttpStatus || (exports.HttpStatus = {}));
40329
+ /** iModelHub Services Errors
40330
+ * @beta Right package?
40331
+ */
40332
+ var IModelHubStatus;
40333
+ (function (IModelHubStatus) {
40334
+ IModelHubStatus[IModelHubStatus["Success"] = 0] = "Success";
40335
+ IModelHubStatus[IModelHubStatus["IMODELHUBERROR_BASE"] = 102400] = "IMODELHUBERROR_BASE";
40336
+ IModelHubStatus[IModelHubStatus["IMODELHUBERROR_REQUESTERRORBASE"] = 102656] = "IMODELHUBERROR_REQUESTERRORBASE";
40337
+ IModelHubStatus[IModelHubStatus["Unknown"] = 102401] = "Unknown";
40338
+ IModelHubStatus[IModelHubStatus["MissingRequiredProperties"] = 102402] = "MissingRequiredProperties";
40339
+ IModelHubStatus[IModelHubStatus["InvalidPropertiesValues"] = 102403] = "InvalidPropertiesValues";
40340
+ IModelHubStatus[IModelHubStatus["UserDoesNotHavePermission"] = 102404] = "UserDoesNotHavePermission";
40341
+ IModelHubStatus[IModelHubStatus["UserDoesNotHaveAccess"] = 102405] = "UserDoesNotHaveAccess";
40342
+ IModelHubStatus[IModelHubStatus["InvalidBriefcase"] = 102406] = "InvalidBriefcase";
40343
+ IModelHubStatus[IModelHubStatus["BriefcaseDoesNotExist"] = 102407] = "BriefcaseDoesNotExist";
40344
+ IModelHubStatus[IModelHubStatus["BriefcaseDoesNotBelongToUser"] = 102408] = "BriefcaseDoesNotBelongToUser";
40345
+ IModelHubStatus[IModelHubStatus["AnotherUserPushing"] = 102409] = "AnotherUserPushing";
40346
+ IModelHubStatus[IModelHubStatus["ChangeSetAlreadyExists"] = 102410] = "ChangeSetAlreadyExists";
40347
+ IModelHubStatus[IModelHubStatus["ChangeSetDoesNotExist"] = 102411] = "ChangeSetDoesNotExist";
40348
+ IModelHubStatus[IModelHubStatus["FileIsNotUploaded"] = 102412] = "FileIsNotUploaded";
40349
+ IModelHubStatus[IModelHubStatus["iModelIsNotInitialized"] = 102413] = "iModelIsNotInitialized";
40350
+ IModelHubStatus[IModelHubStatus["ChangeSetPointsToBadSeed"] = 102414] = "ChangeSetPointsToBadSeed";
40351
+ IModelHubStatus[IModelHubStatus["OperationFailed"] = 102415] = "OperationFailed";
40352
+ IModelHubStatus[IModelHubStatus["PullIsRequired"] = 102416] = "PullIsRequired";
40353
+ IModelHubStatus[IModelHubStatus["MaximumNumberOfBriefcasesPerUser"] = 102417] = "MaximumNumberOfBriefcasesPerUser";
40354
+ IModelHubStatus[IModelHubStatus["MaximumNumberOfBriefcasesPerUserPerMinute"] = 102418] = "MaximumNumberOfBriefcasesPerUserPerMinute";
40355
+ IModelHubStatus[IModelHubStatus["DatabaseTemporarilyLocked"] = 102419] = "DatabaseTemporarilyLocked";
40356
+ IModelHubStatus[IModelHubStatus["iModelIsLocked"] = 102420] = "iModelIsLocked";
40357
+ IModelHubStatus[IModelHubStatus["CodesExist"] = 102421] = "CodesExist";
40358
+ IModelHubStatus[IModelHubStatus["LocksExist"] = 102422] = "LocksExist";
40359
+ IModelHubStatus[IModelHubStatus["iModelAlreadyExists"] = 102423] = "iModelAlreadyExists";
40360
+ IModelHubStatus[IModelHubStatus["iModelDoesNotExist"] = 102424] = "iModelDoesNotExist";
40361
+ IModelHubStatus[IModelHubStatus["FileDoesNotExist"] = 102425] = "FileDoesNotExist";
40362
+ IModelHubStatus[IModelHubStatus["FileAlreadyExists"] = 102426] = "FileAlreadyExists";
40363
+ IModelHubStatus[IModelHubStatus["LockDoesNotExist"] = 102427] = "LockDoesNotExist";
40364
+ IModelHubStatus[IModelHubStatus["LockOwnedByAnotherBriefcase"] = 102428] = "LockOwnedByAnotherBriefcase";
40365
+ IModelHubStatus[IModelHubStatus["CodeStateInvalid"] = 102429] = "CodeStateInvalid";
40366
+ IModelHubStatus[IModelHubStatus["CodeReservedByAnotherBriefcase"] = 102430] = "CodeReservedByAnotherBriefcase";
40367
+ IModelHubStatus[IModelHubStatus["CodeDoesNotExist"] = 102431] = "CodeDoesNotExist";
40368
+ IModelHubStatus[IModelHubStatus["EventTypeDoesNotExist"] = 102432] = "EventTypeDoesNotExist";
40369
+ IModelHubStatus[IModelHubStatus["EventSubscriptionDoesNotExist"] = 102433] = "EventSubscriptionDoesNotExist";
40370
+ IModelHubStatus[IModelHubStatus["EventSubscriptionAlreadyExists"] = 102434] = "EventSubscriptionAlreadyExists";
40371
+ IModelHubStatus[IModelHubStatus["ITwinIdIsNotSpecified"] = 102435] = "ITwinIdIsNotSpecified";
40372
+ IModelHubStatus[IModelHubStatus["FailedToGetITwinPermissions"] = 102436] = "FailedToGetITwinPermissions";
40373
+ IModelHubStatus[IModelHubStatus["FailedToGetITwinMembers"] = 102437] = "FailedToGetITwinMembers";
40374
+ IModelHubStatus[IModelHubStatus["ChangeSetAlreadyHasVersion"] = 102438] = "ChangeSetAlreadyHasVersion";
40375
+ IModelHubStatus[IModelHubStatus["VersionAlreadyExists"] = 102439] = "VersionAlreadyExists";
40376
+ IModelHubStatus[IModelHubStatus["JobSchedulingFailed"] = 102440] = "JobSchedulingFailed";
40377
+ IModelHubStatus[IModelHubStatus["ConflictsAggregate"] = 102441] = "ConflictsAggregate";
40378
+ IModelHubStatus[IModelHubStatus["FailedToGetITwinById"] = 102442] = "FailedToGetITwinById";
40379
+ IModelHubStatus[IModelHubStatus["DatabaseOperationFailed"] = 102443] = "DatabaseOperationFailed";
40380
+ IModelHubStatus[IModelHubStatus["SeedFileInitializationFailed"] = 102444] = "SeedFileInitializationFailed";
40381
+ IModelHubStatus[IModelHubStatus["FailedToGetAssetPermissions"] = 102445] = "FailedToGetAssetPermissions";
40382
+ IModelHubStatus[IModelHubStatus["FailedToGetAssetMembers"] = 102446] = "FailedToGetAssetMembers";
40383
+ IModelHubStatus[IModelHubStatus["ITwinDoesNotExist"] = 102447] = "ITwinDoesNotExist";
40384
+ IModelHubStatus[IModelHubStatus["LockChunkDoesNotExist"] = 102449] = "LockChunkDoesNotExist";
40385
+ IModelHubStatus[IModelHubStatus["CheckpointAlreadyExists"] = 102450] = "CheckpointAlreadyExists";
40386
+ IModelHubStatus[IModelHubStatus["CheckpointDoesNotExist"] = 102451] = "CheckpointDoesNotExist";
40387
+ // Errors that are returned for incorrect iModelHub request.
40388
+ IModelHubStatus[IModelHubStatus["UndefinedArgumentError"] = 102657] = "UndefinedArgumentError";
40389
+ IModelHubStatus[IModelHubStatus["InvalidArgumentError"] = 102658] = "InvalidArgumentError";
40390
+ IModelHubStatus[IModelHubStatus["MissingDownloadUrlError"] = 102659] = "MissingDownloadUrlError";
40391
+ IModelHubStatus[IModelHubStatus["NotSupportedInBrowser"] = 102660] = "NotSupportedInBrowser";
40392
+ IModelHubStatus[IModelHubStatus["FileHandlerNotSet"] = 102661] = "FileHandlerNotSet";
40393
+ IModelHubStatus[IModelHubStatus["FileNotFound"] = 102662] = "FileNotFound";
40394
+ IModelHubStatus[IModelHubStatus["InitializationTimeout"] = 102663] = "InitializationTimeout";
40395
+ })(IModelHubStatus = exports.IModelHubStatus || (exports.IModelHubStatus = {}));
40396
+ /** Authentication Errors
40397
+ * @beta Internal? Right package?
40398
+ */
40399
+ var AuthStatus;
40400
+ (function (AuthStatus) {
40401
+ AuthStatus[AuthStatus["Success"] = 0] = "Success";
40402
+ AuthStatus[AuthStatus["AUTHSTATUS_BASE"] = 139264] = "AUTHSTATUS_BASE";
40403
+ AuthStatus[AuthStatus["Error"] = 139264] = "Error";
40404
+ })(AuthStatus = exports.AuthStatus || (exports.AuthStatus = {}));
40405
+ /** GeoServiceStatus errors
40406
+ * @public
40407
+ */
40408
+ var GeoServiceStatus;
40409
+ (function (GeoServiceStatus) {
40410
+ GeoServiceStatus[GeoServiceStatus["Success"] = 0] = "Success";
40411
+ GeoServiceStatus[GeoServiceStatus["GEOSERVICESTATUS_BASE"] = 147456] = "GEOSERVICESTATUS_BASE";
40412
+ // Error mapped from 'IModelStatus'
40413
+ GeoServiceStatus[GeoServiceStatus["NoGeoLocation"] = 65602] = "NoGeoLocation";
40414
+ // Following errors are mapped from 'GeoCoordStatus'
40415
+ GeoServiceStatus[GeoServiceStatus["OutOfUsefulRange"] = 147457] = "OutOfUsefulRange";
40416
+ GeoServiceStatus[GeoServiceStatus["OutOfMathematicalDomain"] = 147458] = "OutOfMathematicalDomain";
40417
+ GeoServiceStatus[GeoServiceStatus["NoDatumConverter"] = 147459] = "NoDatumConverter";
40418
+ GeoServiceStatus[GeoServiceStatus["VerticalDatumConvertError"] = 147460] = "VerticalDatumConvertError";
40419
+ GeoServiceStatus[GeoServiceStatus["CSMapError"] = 147461] = "CSMapError";
40420
+ GeoServiceStatus[GeoServiceStatus["Pending"] = 147462] = "Pending";
40421
+ })(GeoServiceStatus = exports.GeoServiceStatus || (exports.GeoServiceStatus = {}));
40422
+ /** Error status from various reality data operations
40423
+ * @alpha
40424
+ */
40425
+ var RealityDataStatus;
40426
+ (function (RealityDataStatus) {
40427
+ RealityDataStatus[RealityDataStatus["Success"] = 0] = "Success";
40428
+ RealityDataStatus[RealityDataStatus["REALITYDATA_ERROR_BASE"] = 151552] = "REALITYDATA_ERROR_BASE";
40429
+ RealityDataStatus[RealityDataStatus["InvalidData"] = 151553] = "InvalidData";
40430
+ })(RealityDataStatus = exports.RealityDataStatus || (exports.RealityDataStatus = {}));
40431
+ function isObject(obj) {
40432
+ return typeof obj === "object" && obj !== null;
40433
+ }
40434
+ /** Base exception class for iTwin.js exceptions.
40435
+ * @public
40436
+ */
40437
+ class BentleyError extends Error {
40438
+ /**
40439
+ * @param errorNumber The a number that identifies of the problem.
40440
+ * @param message message that describes the problem (should not be localized).
40441
+ * @param metaData metaData about the exception.
40442
+ */
40443
+ constructor(errorNumber, message, metaData) {
40444
+ super(message);
40445
+ this.errorNumber = errorNumber;
40446
+ this.errorNumber = errorNumber;
40447
+ this._metaData = metaData;
40448
+ this.name = this._initName();
40449
+ }
40450
+ /** Returns true if this BentleyError includes (optional) metadata. */
40451
+ get hasMetaData() { return undefined !== this._metaData; }
40452
+ /** get the meta data associated with this BentleyError, if any. */
40453
+ getMetaData() {
40454
+ return BentleyError.getMetaData(this._metaData);
40455
+ }
40456
+ /** get the metadata object associated with an ExceptionMetaData, if any. */
40457
+ static getMetaData(metaData) {
40458
+ return (typeof metaData === "function") ? metaData() : metaData;
40459
+ }
40460
+ /** This function returns the name of each error status. Override this method to handle more error status codes. */
40461
+ _initName() {
40462
+ switch (this.errorNumber) {
40463
+ case IModelStatus.AlreadyLoaded: return "Already Loaded";
40464
+ case IModelStatus.AlreadyOpen: return "Already Open";
40465
+ case IModelStatus.BadArg: return "Bad Arg";
40466
+ case IModelStatus.BadElement: return "Bad Element";
40467
+ case IModelStatus.BadModel: return "Bad Model";
40468
+ case IModelStatus.BadRequest: return "Bad Request";
40469
+ case IModelStatus.BadSchema: return "Bad Schema";
40470
+ case IModelStatus.CannotUndo: return "Can not Undo";
40471
+ case IModelStatus.CodeNotReserved: return "Code Not Reserved";
40472
+ case IModelStatus.DeletionProhibited: return "Deletion Prohibited";
40473
+ case IModelStatus.DuplicateCode: return "Duplicate Code";
40474
+ case IModelStatus.DuplicateName: return "Duplicate Name";
40475
+ case IModelStatus.ElementBlockedChange: return "Element Blocked Change";
40476
+ case IModelStatus.FileAlreadyExists: return "File Already Exists";
40477
+ case IModelStatus.FileNotFound: return "File Not Found";
40478
+ case IModelStatus.FileNotLoaded: return "File Not Loaded";
40479
+ case IModelStatus.ForeignKeyConstraint: return "ForeignKey Constraint";
40480
+ case IModelStatus.IdExists: return "Id Exists";
40481
+ case IModelStatus.InDynamicTransaction: return "InDynamicTransaction";
40482
+ case IModelStatus.InvalidCategory: return "Invalid Category";
40483
+ case IModelStatus.InvalidCode: return "Invalid Code";
40484
+ case IModelStatus.InvalidCodeSpec: return "Invalid CodeSpec";
40485
+ case IModelStatus.InvalidId: return "Invalid Id";
40486
+ case IModelStatus.InvalidName: return "Invalid Name";
40487
+ case IModelStatus.InvalidParent: return "Invalid Parent";
40488
+ case IModelStatus.InvalidProfileVersion: return "Invalid Profile Version";
40489
+ case IModelStatus.IsCreatingChangeSet: return "IsCreatingChangeSet";
40490
+ case IModelStatus.LockNotHeld: return "Lock Not Held";
40491
+ case IModelStatus.Mismatch2d3d: return "Mismatch 2d3d";
40492
+ case IModelStatus.MismatchGcs: return "Mismatch Gcs";
40493
+ case IModelStatus.MissingDomain: return "Missing Domain";
40494
+ case IModelStatus.MissingHandler: return "Missing Handler";
40495
+ case IModelStatus.MissingId: return "Missing Id";
40496
+ case IModelStatus.NoGeometry: return "No Geometry";
40497
+ case IModelStatus.NoMultiTxnOperation: return "NoMultiTxnOperation";
40498
+ case IModelStatus.NotEnabled: return "Not Enabled";
40499
+ case IModelStatus.NotFound: return "Not Found";
40500
+ case IModelStatus.NotOpen: return "Not Open";
40501
+ case IModelStatus.NotOpenForWrite: return "Not Open For Write";
40502
+ case IModelStatus.NotSameUnitBase: return "Not Same Unit Base";
40503
+ case IModelStatus.NothingToRedo: return "Nothing To Redo";
40504
+ case IModelStatus.NothingToUndo: return "Nothing To Undo";
40505
+ case IModelStatus.ParentBlockedChange: return "Parent Blocked Change";
40506
+ case IModelStatus.ReadError: return "Read Error";
40507
+ case IModelStatus.ReadOnly: return "ReadOnly";
40508
+ case IModelStatus.ReadOnlyDomain: return "ReadOnlyDomain";
40509
+ case IModelStatus.RepositoryManagerError: return "RepositoryManagerError";
40510
+ case IModelStatus.SQLiteError: return "SQLiteError";
40511
+ case IModelStatus.TransactionActive: return "Transaction Active";
40512
+ case IModelStatus.UnitsMissing: return "Units Missing";
40513
+ case IModelStatus.UnknownFormat: return "Unknown Format";
40514
+ case IModelStatus.UpgradeFailed: return "Upgrade Failed";
40515
+ case IModelStatus.ValidationFailed: return "Validation Failed";
40516
+ case IModelStatus.VersionTooNew: return "Version Too New";
40517
+ case IModelStatus.VersionTooOld: return "Version Too Old";
40518
+ case IModelStatus.ViewNotFound: return "View Not Found";
40519
+ case IModelStatus.WriteError: return "Write Error";
40520
+ case IModelStatus.WrongClass: return "Wrong Class";
40521
+ case IModelStatus.WrongIModel: return "Wrong IModel";
40522
+ case IModelStatus.WrongDomain: return "Wrong Domain";
40523
+ case IModelStatus.WrongElement: return "Wrong Element";
40524
+ case IModelStatus.WrongHandler: return "Wrong Handler";
40525
+ case IModelStatus.WrongModel: return "Wrong Model";
40526
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR: return "BE_SQLITE_ERROR";
40527
+ case BeSQLite_1.DbResult.BE_SQLITE_INTERNAL: return "BE_SQLITE_INTERNAL";
40528
+ case BeSQLite_1.DbResult.BE_SQLITE_PERM: return "BE_SQLITE_PERM";
40529
+ case BeSQLite_1.DbResult.BE_SQLITE_ABORT: return "BE_SQLITE_ABORT";
40530
+ case BeSQLite_1.DbResult.BE_SQLITE_BUSY: return "Db is busy";
40531
+ case BeSQLite_1.DbResult.BE_SQLITE_LOCKED: return "Db is Locked";
40532
+ case BeSQLite_1.DbResult.BE_SQLITE_NOMEM: return "BE_SQLITE_NOMEM";
40533
+ case BeSQLite_1.DbResult.BE_SQLITE_READONLY: return "Readonly";
40534
+ case BeSQLite_1.DbResult.BE_SQLITE_INTERRUPT: return "BE_SQLITE_INTERRUPT";
40535
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR: return "BE_SQLITE_IOERR";
40536
+ case BeSQLite_1.DbResult.BE_SQLITE_CORRUPT: return "BE_SQLITE_CORRUPT";
40537
+ case BeSQLite_1.DbResult.BE_SQLITE_NOTFOUND: return "Not Found";
40538
+ case BeSQLite_1.DbResult.BE_SQLITE_FULL: return "BE_SQLITE_FULL";
40539
+ case BeSQLite_1.DbResult.BE_SQLITE_CANTOPEN: return "Can't open";
40540
+ case BeSQLite_1.DbResult.BE_SQLITE_PROTOCOL: return "BE_SQLITE_PROTOCOL";
40541
+ case BeSQLite_1.DbResult.BE_SQLITE_EMPTY: return "BE_SQLITE_EMPTY";
40542
+ case BeSQLite_1.DbResult.BE_SQLITE_SCHEMA: return "BE_SQLITE_SCHEMA";
40543
+ case BeSQLite_1.DbResult.BE_SQLITE_TOOBIG: return "BE_SQLITE_TOOBIG";
40544
+ case BeSQLite_1.DbResult.BE_SQLITE_MISMATCH: return "BE_SQLITE_MISMATCH";
40545
+ case BeSQLite_1.DbResult.BE_SQLITE_MISUSE: return "BE_SQLITE_MISUSE";
40546
+ case BeSQLite_1.DbResult.BE_SQLITE_NOLFS: return "BE_SQLITE_NOLFS";
40547
+ case BeSQLite_1.DbResult.BE_SQLITE_AUTH: return "BE_SQLITE_AUTH";
40548
+ case BeSQLite_1.DbResult.BE_SQLITE_FORMAT: return "BE_SQLITE_FORMAT";
40549
+ case BeSQLite_1.DbResult.BE_SQLITE_RANGE: return "BE_SQLITE_RANGE";
40550
+ case BeSQLite_1.DbResult.BE_SQLITE_NOTADB: return "Not a Database";
40551
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_READ: return "BE_SQLITE_IOERR_READ";
40552
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_SHORT_READ: return "BE_SQLITE_IOERR_SHORT_READ";
40553
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_WRITE: return "BE_SQLITE_IOERR_WRITE";
40554
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_FSYNC: return "BE_SQLITE_IOERR_FSYNC";
40555
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_DIR_FSYNC: return "BE_SQLITE_IOERR_DIR_FSYNC";
40556
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_TRUNCATE: return "BE_SQLITE_IOERR_TRUNCATE";
40557
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_FSTAT: return "BE_SQLITE_IOERR_FSTAT";
40558
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_UNLOCK: return "BE_SQLITE_IOERR_UNLOCK";
40559
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_RDLOCK: return "BE_SQLITE_IOERR_RDLOCK";
40560
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_DELETE: return "BE_SQLITE_IOERR_DELETE";
40561
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_BLOCKED: return "BE_SQLITE_IOERR_BLOCKED";
40562
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_NOMEM: return "BE_SQLITE_IOERR_NOMEM";
40563
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_ACCESS: return "BE_SQLITE_IOERR_ACCESS";
40564
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_CHECKRESERVEDLOCK: return "BE_SQLITE_IOERR_CHECKRESERVEDLOCK";
40565
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_LOCK: return "BE_SQLITE_IOERR_LOCK";
40566
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_CLOSE: return "BE_SQLITE_IOERR_CLOSE";
40567
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_DIR_CLOSE: return "BE_SQLITE_IOERR_DIR_CLOSE";
40568
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_SHMOPEN: return "BE_SQLITE_IOERR_SHMOPEN";
40569
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_SHMSIZE: return "BE_SQLITE_IOERR_SHMSIZE";
40570
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_SHMLOCK: return "BE_SQLITE_IOERR_SHMLOCK";
40571
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_SHMMAP: return "BE_SQLITE_IOERR_SHMMAP";
40572
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_SEEK: return "BE_SQLITE_IOERR_SEEK";
40573
+ case BeSQLite_1.DbResult.BE_SQLITE_IOERR_DELETE_NOENT: return "BE_SQLITE_IOERR_DELETE_NOENT";
40574
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_FileExists: return "File Exists";
40575
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_AlreadyOpen: return "Already Open";
40576
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_NoPropertyTable: return "No Property Table";
40577
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_FileNotFound: return "File Not Found";
40578
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_NoTxnActive: return "No Txn Active";
40579
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_BadDbProfile: return "Bad Db Profile";
40580
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_InvalidProfileVersion: return "Invalid Profile Version";
40581
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_ProfileUpgradeFailed: return "Profile Upgrade Failed";
40582
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_ProfileTooOldForReadWrite: return "Profile Too Old For ReadWrite";
40583
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_ProfileTooOld: return "Profile Too Old";
40584
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_ProfileTooNewForReadWrite: return "Profile Too New For ReadWrite";
40585
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_ProfileTooNew: return "Profile Too New";
40586
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_ChangeTrackError: return "ChangeTrack Error";
40587
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_InvalidChangeSetVersion: return "Invalid ChangeSet Version";
40588
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_SchemaUpgradeRequired: return "Schema Upgrade Required";
40589
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_SchemaTooNew: return "Schema Too New";
40590
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_SchemaTooOld: return "Schema Too Old";
40591
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_SchemaLockFailed: return "Schema Lock Failed";
40592
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_SchemaUpgradeFailed: return "Schema Upgrade Failed";
40593
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_SchemaImportFailed: return "Schema Import Failed";
40594
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_CouldNotAcquireLocksOrCodes: return "Could Not Acquire Locks Or Codes";
40595
+ case BeSQLite_1.DbResult.BE_SQLITE_ERROR_SchemaUpgradeRecommended: return "Recommended that the schemas found in the database be upgraded";
40596
+ case BeSQLite_1.DbResult.BE_SQLITE_LOCKED_SHAREDCACHE: return "BE_SQLITE_LOCKED_SHAREDCACHE";
40597
+ case BeSQLite_1.DbResult.BE_SQLITE_BUSY_RECOVERY: return "BE_SQLITE_BUSY_RECOVERY";
40598
+ case BeSQLite_1.DbResult.BE_SQLITE_CANTOPEN_NOTEMPDIR: return "SQLite No Temp Dir";
40599
+ case BeSQLite_1.DbResult.BE_SQLITE_CANTOPEN_ISDIR: return "BE_SQLITE_CANTOPEN_ISDIR";
40600
+ case BeSQLite_1.DbResult.BE_SQLITE_CANTOPEN_FULLPATH: return "BE_SQLITE_CANTOPEN_FULLPATH";
40601
+ case BeSQLite_1.DbResult.BE_SQLITE_CORRUPT_VTAB: return "BE_SQLITE_CORRUPT_VTAB";
40602
+ case BeSQLite_1.DbResult.BE_SQLITE_READONLY_RECOVERY: return "BE_SQLITE_READONLY_RECOVERY";
40603
+ case BeSQLite_1.DbResult.BE_SQLITE_READONLY_CANTLOCK: return "BE_SQLITE_READONLY_CANTLOCK";
40604
+ case BeSQLite_1.DbResult.BE_SQLITE_READONLY_ROLLBACK: return "BE_SQLITE_READONLY_ROLLBACK";
40605
+ case BeSQLite_1.DbResult.BE_SQLITE_ABORT_ROLLBACK: return "BE_SQLITE_ABORT_ROLLBACK";
40606
+ case BeSQLite_1.DbResult.BE_SQLITE_CONSTRAINT_CHECK: return "BE_SQLITE_CONSTRAINT_CHECK";
40607
+ case BeSQLite_1.DbResult.BE_SQLITE_CONSTRAINT_COMMITHOOK: return "CommitHook Constraint Error";
40608
+ case BeSQLite_1.DbResult.BE_SQLITE_CONSTRAINT_FOREIGNKEY: return "Foreign Key Constraint Error";
40609
+ case BeSQLite_1.DbResult.BE_SQLITE_CONSTRAINT_FUNCTION: return "Function Constraint Error";
40610
+ case BeSQLite_1.DbResult.BE_SQLITE_CONSTRAINT_NOTNULL: return "NotNull Constraint Error";
40611
+ case BeSQLite_1.DbResult.BE_SQLITE_CONSTRAINT_PRIMARYKEY: return "Primary Key Constraint Error";
40612
+ case BeSQLite_1.DbResult.BE_SQLITE_CONSTRAINT_TRIGGER: return "Trigger Constraint Error";
40613
+ case BeSQLite_1.DbResult.BE_SQLITE_CONSTRAINT_UNIQUE: return "Unique Constraint Error";
40614
+ case BeSQLite_1.DbResult.BE_SQLITE_CONSTRAINT_VTAB: return "VTable Constraint Error";
40615
+ case BentleyStatus.ERROR: return "Error";
40616
+ case BriefcaseStatus.CannotAcquire: return "CannotAcquire";
40617
+ case BriefcaseStatus.CannotDownload: return "CannotDownload";
40618
+ case BriefcaseStatus.CannotCopy: return "CannotCopy";
40619
+ case BriefcaseStatus.CannotDelete: return "CannotDelete";
40620
+ case BriefcaseStatus.VersionNotFound: return "VersionNotFound";
40621
+ case BriefcaseStatus.DownloadCancelled: return "DownloadCancelled";
40622
+ case BriefcaseStatus.ContainsDeletedChangeSets: return "ContainsDeletedChangeSets";
40623
+ case RpcInterfaceStatus.IncompatibleVersion: return "RpcInterfaceStatus.IncompatibleVersion";
40624
+ case ChangeSetStatus.ApplyError: return "Error applying a change set";
40625
+ case ChangeSetStatus.ChangeTrackingNotEnabled: return "Change tracking has not been enabled. The ChangeSet API mandates this";
40626
+ case ChangeSetStatus.CorruptedChangeStream: return "Contents of the change stream are corrupted and does not match the ChangeSet";
40627
+ case ChangeSetStatus.FileNotFound: return "File containing the changes was not found";
40628
+ case ChangeSetStatus.FileWriteError: return "Error writing the contents of the change set to the backing change stream file";
40629
+ case ChangeSetStatus.HasLocalChanges: return "Cannot perform the operation since the Db has local changes";
40630
+ case ChangeSetStatus.HasUncommittedChanges: return "Cannot perform the operation since current transaction has uncommitted changes";
40631
+ case ChangeSetStatus.InvalidId: return "Invalid ChangeSet Id";
40632
+ case ChangeSetStatus.InvalidVersion: return "Invalid version of the change set";
40633
+ case ChangeSetStatus.InDynamicTransaction: return "Cannot perform the operation since system is in the middle of a dynamic transaction";
40634
+ case ChangeSetStatus.IsCreatingChangeSet: return "Cannot perform operation since system is in the middle of a creating a change set";
40635
+ case ChangeSetStatus.IsNotCreatingChangeSet: return "Cannot perform operation since the system is not creating a change set";
40636
+ case ChangeSetStatus.MergePropagationError: return "Error propagating the changes after the merge";
40637
+ case ChangeSetStatus.NothingToMerge: return "No change sets to merge";
40638
+ case ChangeSetStatus.NoTransactions: return "No transactions are available to create a change set";
40639
+ case ChangeSetStatus.ParentMismatch: return "Parent change set of the Db does not match the parent id of the change set";
40640
+ case ChangeSetStatus.SQLiteError: return "Error performing a SQLite operation on the Db";
40641
+ case ChangeSetStatus.WrongDgnDb: return "ChangeSet originated in a different Db";
40642
+ case ChangeSetStatus.CouldNotOpenDgnDb: return "Could not open the DgnDb to merge change set";
40643
+ case ChangeSetStatus.MergeSchemaChangesOnOpen: return "Cannot merge changes in in an open DgnDb. Close the DgnDb, and process the operation when it is opened";
40644
+ case ChangeSetStatus.ReverseOrReinstateSchemaChanges: return "Cannot reverse or reinstate schema changes.";
40645
+ case ChangeSetStatus.ProcessSchemaChangesOnOpen: return "Cannot process changes schema changes in an open DgnDb. Close the DgnDb, and process the operation when it is opened";
40646
+ case ChangeSetStatus.CannotMergeIntoReadonly: return "Cannot merge changes into a Readonly DgnDb";
40647
+ case ChangeSetStatus.CannotMergeIntoMaster: return "Cannot merge changes into a Master DgnDb";
40648
+ case ChangeSetStatus.CannotMergeIntoReversed: return "Cannot merge changes into a DgnDb that has reversed change sets";
40649
+ case RepositoryStatus.ServerUnavailable: return "ServerUnavailable";
40650
+ case RepositoryStatus.LockAlreadyHeld: return "LockAlreadyHeld";
40651
+ case RepositoryStatus.SyncError: return "SyncError";
40652
+ case RepositoryStatus.InvalidResponse: return "InvalidResponse";
40653
+ case RepositoryStatus.PendingTransactions: return "PendingTransactions";
40654
+ case RepositoryStatus.LockUsed: return "LockUsed";
40655
+ case RepositoryStatus.CannotCreateChangeSet: return "CannotCreateChangeSet";
40656
+ case RepositoryStatus.InvalidRequest: return "InvalidRequest";
40657
+ case RepositoryStatus.ChangeSetRequired: return "ChangeSetRequired";
40658
+ case RepositoryStatus.CodeUnavailable: return "CodeUnavailable";
40659
+ case RepositoryStatus.CodeNotReserved: return "CodeNotReserved";
40660
+ case RepositoryStatus.CodeUsed: return "CodeUsed";
40661
+ case RepositoryStatus.LockNotHeld: return "LockNotHeld";
40662
+ case RepositoryStatus.RepositoryIsLocked: return "RepositoryIsLocked";
40663
+ case RepositoryStatus.ChannelConstraintViolation: return "ChannelConstraintViolation";
40664
+ case HttpStatus.Info: return "HTTP Info";
40665
+ case HttpStatus.Redirection: return "HTTP Redirection";
40666
+ case HttpStatus.ClientError: return "HTTP Client error";
40667
+ case HttpStatus.ServerError: return "HTTP Server error";
40668
+ case IModelHubStatus.Unknown: return "Unknown error";
40669
+ case IModelHubStatus.MissingRequiredProperties: return "Missing required properties";
40670
+ case IModelHubStatus.InvalidPropertiesValues: return "Invalid properties values";
40671
+ case IModelHubStatus.UserDoesNotHavePermission: return "User does not have permission";
40672
+ case IModelHubStatus.UserDoesNotHaveAccess: return "User does not have access";
40673
+ case IModelHubStatus.InvalidBriefcase: return "Invalid briefcase";
40674
+ case IModelHubStatus.BriefcaseDoesNotExist: return "Briefcase does not exist";
40675
+ case IModelHubStatus.BriefcaseDoesNotBelongToUser: return "Briefcase does not belong to user";
40676
+ case IModelHubStatus.AnotherUserPushing: return "Another user pushing";
40677
+ case IModelHubStatus.ChangeSetAlreadyExists: return "ChangeSet already exists";
40678
+ case IModelHubStatus.ChangeSetDoesNotExist: return "ChangeSet does not exist";
40679
+ case IModelHubStatus.FileIsNotUploaded: return "File is not uploaded";
40680
+ case IModelHubStatus.iModelIsNotInitialized: return "iModel is not initialized";
40681
+ case IModelHubStatus.ChangeSetPointsToBadSeed: return "ChangeSet points to a bad seed file";
40682
+ case IModelHubStatus.OperationFailed: return "iModelHub operation has failed";
40683
+ case IModelHubStatus.PullIsRequired: return "Pull is required";
40684
+ case IModelHubStatus.MaximumNumberOfBriefcasesPerUser: return "Limit of briefcases per user was reached";
40685
+ case IModelHubStatus.MaximumNumberOfBriefcasesPerUserPerMinute: return "Limit of briefcases per user per minute was reached";
40686
+ case IModelHubStatus.DatabaseTemporarilyLocked: return "Database is temporarily locked";
40687
+ case IModelHubStatus.iModelIsLocked: return "iModel is locked";
40688
+ case IModelHubStatus.CodesExist: return "Code already exists";
40689
+ case IModelHubStatus.LocksExist: return "Lock already exists";
40690
+ case IModelHubStatus.iModelAlreadyExists: return "iModel already exists";
40691
+ case IModelHubStatus.iModelDoesNotExist: return "iModel does not exist";
40692
+ case IModelHubStatus.LockDoesNotExist: return "Lock does not exist";
40693
+ case IModelHubStatus.LockChunkDoesNotExist: return "Lock chunk does not exist";
40694
+ case IModelHubStatus.LockOwnedByAnotherBriefcase: return "Lock is owned by another briefcase";
40695
+ case IModelHubStatus.CodeStateInvalid: return "Code state is invalid";
40696
+ case IModelHubStatus.CodeReservedByAnotherBriefcase: return "Code is reserved by another briefcase";
40697
+ case IModelHubStatus.CodeDoesNotExist: return "Code does not exist";
40698
+ case IModelHubStatus.FileDoesNotExist: return "File does not exist";
40699
+ case IModelHubStatus.FileAlreadyExists: return "File already exists";
40700
+ case IModelHubStatus.EventTypeDoesNotExist: return "Event type does not exist";
40701
+ case IModelHubStatus.EventSubscriptionDoesNotExist: return "Event subscription does not exist";
40702
+ case IModelHubStatus.EventSubscriptionAlreadyExists: return "Event subscription already exists";
40703
+ case IModelHubStatus.ITwinIdIsNotSpecified: return "ITwin Id is not specified";
40704
+ case IModelHubStatus.FailedToGetITwinPermissions: return "Failed to get iTwin permissions";
40705
+ case IModelHubStatus.FailedToGetITwinMembers: return "Failed to get iTwin members";
40706
+ case IModelHubStatus.FailedToGetAssetPermissions: return "Failed to get asset permissions";
40707
+ case IModelHubStatus.FailedToGetAssetMembers: return "Failed to get asset members";
40708
+ case IModelHubStatus.ChangeSetAlreadyHasVersion: return "ChangeSet already has version";
40709
+ case IModelHubStatus.VersionAlreadyExists: return "Version already exists";
40710
+ case IModelHubStatus.JobSchedulingFailed: return "Failed to schedule a background job";
40711
+ case IModelHubStatus.ConflictsAggregate: return "Codes or locks are owned by another briefcase";
40712
+ case IModelHubStatus.FailedToGetITwinById: return "Failed to query iTwin by its id";
40713
+ case IModelHubStatus.DatabaseOperationFailed: return "Database operation has failed";
40714
+ case IModelHubStatus.ITwinDoesNotExist: return "ITwin does not exist";
40715
+ case IModelHubStatus.UndefinedArgumentError: return "Undefined argument";
40716
+ case IModelHubStatus.InvalidArgumentError: return "Invalid argument";
40717
+ case IModelHubStatus.MissingDownloadUrlError: return "Missing download url";
40718
+ case IModelHubStatus.NotSupportedInBrowser: return "Not supported in browser";
40719
+ case IModelHubStatus.FileHandlerNotSet: return "File handler is not set";
40720
+ case IModelHubStatus.FileNotFound: return "File not found";
40721
+ case AuthStatus.Error: return "Authorization error";
40722
+ case GeoServiceStatus.NoGeoLocation: return "No GeoLocation";
40723
+ case GeoServiceStatus.OutOfUsefulRange: return "Out of useful range";
40724
+ case GeoServiceStatus.OutOfMathematicalDomain: return "Out of mathematical domain";
40725
+ case GeoServiceStatus.NoDatumConverter: return "No datum converter";
40726
+ case GeoServiceStatus.VerticalDatumConvertError: return "Vertical datum convert error";
40727
+ case GeoServiceStatus.CSMapError: return "CSMap error";
40728
+ case GeoServiceStatus.Pending: return "Pending";
40729
+ case RealityDataStatus.InvalidData: return "Invalid or unknown data";
40730
+ case IModelStatus.Success:
40731
+ case BeSQLite_1.DbResult.BE_SQLITE_OK:
40732
+ case BeSQLite_1.DbResult.BE_SQLITE_ROW:
40733
+ case BeSQLite_1.DbResult.BE_SQLITE_DONE:
40734
+ case BentleyStatus.SUCCESS:
40735
+ return "Success";
40736
+ default:
40737
+ return `Error (${this.errorNumber})`;
40738
+ }
40739
+ }
40740
+ /** Use run-time type checking to safely get a useful string summary of an unknown error value, or `""` if none exists.
40741
+ * @note It's recommended to use this function in `catch` clauses, where a caught value cannot be assumed to be `instanceof Error`
40742
+ * @public
40743
+ */
40744
+ static getErrorMessage(error) {
40745
+ if (typeof error === "string")
40746
+ return error;
40747
+ if (error instanceof Error)
40748
+ return error.toString();
40749
+ if (isObject(error)) {
40750
+ if (typeof error.message === "string")
40751
+ return error.message;
40752
+ if (typeof error.msg === "string")
40753
+ return error.msg;
40754
+ if (error.toString() !== "[object Object]")
40755
+ return error.toString();
40756
+ }
40757
+ return "";
40758
+ }
40759
+ /** Use run-time type checking to safely get the call stack of an unknown error value, if possible.
40760
+ * @note It's recommended to use this function in `catch` clauses, where a caught value cannot be assumed to be `instanceof Error`
40761
+ * @public
40762
+ */
40763
+ static getErrorStack(error) {
40764
+ if (isObject(error) && typeof error.stack === "string")
40765
+ return error.stack;
40766
+ return undefined;
40767
+ }
40768
+ /** Use run-time type checking to safely get the metadata with an unknown error value, if possible.
40769
+ * @note It's recommended to use this function in `catch` clauses, where a caught value cannot be assumed to be `instanceof BentleyError`
40770
+ * @see [[BentleyError.getMetaData]]
40771
+ * @public
40772
+ */
40773
+ static getErrorMetadata(error) {
40774
+ if (isObject(error) && typeof error.getMetaData === "function") {
40775
+ const metadata = error.getMetaData();
40776
+ if (typeof metadata === "object" && metadata !== null)
40777
+ return metadata;
40778
+ }
40779
+ return undefined;
40780
+ }
40781
+ /** Returns a new `ErrorProps` object representing an unknown error value. Useful for logging or wrapping/re-throwing caught errors.
40782
+ * @note Unlike `Error` objects (which lose messages and call stacks when serialized to JSON), objects
40783
+ * returned by this are plain old JavaScript objects, and can be easily logged/serialized to JSON.
40784
+ * @public
40785
+ */
40786
+ static getErrorProps(error) {
40787
+ const serialized = {
40788
+ message: BentleyError.getErrorMessage(error),
40789
+ };
40790
+ const stack = BentleyError.getErrorStack(error);
40791
+ if (stack)
40792
+ serialized.stack = stack;
40793
+ const metadata = BentleyError.getErrorMetadata(error);
40794
+ if (metadata)
40795
+ serialized.metadata = metadata;
40796
+ return serialized;
40797
+ }
40798
+ }
40799
+ exports.BentleyError = BentleyError;
40800
+
40801
+
40802
+ /***/ }),
40803
+
40804
+ /***/ "../../core/bentley/lib/cjs/BentleyLoggerCategory.js":
40805
+ /*!*******************************************************************!*\
40806
+ !*** D:/vsts_a/1/s/core/bentley/lib/cjs/BentleyLoggerCategory.js ***!
40807
+ \*******************************************************************/
40808
+ /*! no static exports found */
40809
+ /***/ (function(module, exports, __webpack_require__) {
40810
+
40811
+ "use strict";
40812
+
40813
+ /*---------------------------------------------------------------------------------------------
40814
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
40815
+ * See LICENSE.md in the project root for license terms and full copyright notice.
40816
+ *--------------------------------------------------------------------------------------------*/
40817
+ /** @packageDocumentation
40818
+ * @module Logging
40819
+ */
40820
+ Object.defineProperty(exports, "__esModule", { value: true });
40821
+ exports.BentleyLoggerCategory = void 0;
40822
+ /** Logger categories used by this package
40823
+ * @see [Logger]($bentley)
40824
+ * @public
40825
+ */
40826
+ var BentleyLoggerCategory;
40827
+ (function (BentleyLoggerCategory) {
40828
+ /** The logger category used by common classes relating to ElementProps. */
40829
+ BentleyLoggerCategory["Performance"] = "Performance";
40830
+ })(BentleyLoggerCategory = exports.BentleyLoggerCategory || (exports.BentleyLoggerCategory = {}));
40831
+
40832
+
40833
+ /***/ }),
40834
+
40835
+ /***/ "../../core/bentley/lib/cjs/Logger.js":
40836
+ /*!****************************************************!*\
40837
+ !*** D:/vsts_a/1/s/core/bentley/lib/cjs/Logger.js ***!
40838
+ \****************************************************/
40839
+ /*! no static exports found */
40840
+ /***/ (function(module, exports, __webpack_require__) {
40841
+
40842
+ "use strict";
40843
+
40844
+ /*---------------------------------------------------------------------------------------------
40845
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
40846
+ * See LICENSE.md in the project root for license terms and full copyright notice.
40847
+ *--------------------------------------------------------------------------------------------*/
40848
+ /** @packageDocumentation
40849
+ * @module Logging
40850
+ */
40851
+ Object.defineProperty(exports, "__esModule", { value: true });
40852
+ exports.PerfLogger = exports.Logger = exports.LogLevel = void 0;
40853
+ const BentleyError_1 = __webpack_require__(/*! ./BentleyError */ "../../core/bentley/lib/cjs/BentleyError.js");
40854
+ const BentleyLoggerCategory_1 = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../core/bentley/lib/cjs/BentleyLoggerCategory.js");
40855
+ /** Use to categorize logging messages by severity.
40856
+ * @public
40857
+ */
40858
+ var LogLevel;
40859
+ (function (LogLevel) {
40860
+ /** Tracing and debugging - low level */
40861
+ LogLevel[LogLevel["Trace"] = 0] = "Trace";
40862
+ /** Information - mid level */
40863
+ LogLevel[LogLevel["Info"] = 1] = "Info";
40864
+ /** Warnings - high level */
40865
+ LogLevel[LogLevel["Warning"] = 2] = "Warning";
40866
+ /** Errors - highest level */
40867
+ LogLevel[LogLevel["Error"] = 3] = "Error";
40868
+ /** Higher than any real logging level. This is used to turn a category off. */
40869
+ LogLevel[LogLevel["None"] = 4] = "None";
40870
+ })(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
40871
+ /** Logger allows libraries and apps to report potentially useful information about operations, and it allows apps and users to control
40872
+ * how or if the logged information is displayed or collected. See [Learning about Logging]($docs/learning/common/Logging.md).
40873
+ * @public
40874
+ */
40875
+ class Logger {
40876
+ /** Initialize the logger streams. Should be called at application initialization time. */
40877
+ static initialize(logError, logWarning, logInfo, logTrace) {
40878
+ Logger._logError = logError;
40879
+ Logger._logWarning = logWarning;
40880
+ Logger._logInfo = logInfo;
40881
+ Logger._logTrace = logTrace;
40882
+ Logger.turnOffLevelDefault();
40883
+ Logger.turnOffCategories();
40884
+ }
40885
+ /** Initialize the logger to output to the console. */
40886
+ static initializeToConsole() {
40887
+ const logConsole = (level) => (category, message, metaData) => console.log(`${level} | ${category} | ${message} ${Logger.stringifyMetaData(metaData)}`); // eslint-disable-line no-console
40888
+ Logger.initialize(logConsole("Error"), logConsole("Warning"), logConsole("Info"), logConsole("Trace"));
40889
+ }
40890
+ /** merge the supplied metadata with all static metadata into one object */
40891
+ static getMetaData(metaData) {
40892
+ const metaObj = {};
40893
+ for (const meta of Logger.staticMetaData) {
40894
+ const val = BentleyError_1.BentleyError.getMetaData(meta[1]);
40895
+ if (val)
40896
+ Object.assign(metaObj, val);
40897
+ }
40898
+ Object.assign(metaObj, BentleyError_1.BentleyError.getMetaData(metaData)); // do this last so user supplied values take precedence
40899
+ return metaObj;
40900
+ }
40901
+ /** stringify the metadata for a log message by merging the supplied metadata with all static metadata into one object that is then `JSON.stringify`ed. */
40902
+ static stringifyMetaData(metaData) {
40903
+ const metaObj = this.getMetaData(metaData);
40904
+ return Object.keys(metaObj).length > 0 ? JSON.stringify(metaObj) : "";
40905
+ }
40906
+ /** Set the least severe level at which messages should be displayed by default. Call setLevel to override this default setting for specific categories. */
40907
+ static setLevelDefault(minLevel) {
40908
+ Logger._minLevel = minLevel;
40909
+ }
40910
+ /** Set the minimum logging level for the specified category. The minimum level is least severe level at which messages in the
40911
+ * specified category should be displayed.
40912
+ */
40913
+ static setLevel(category, minLevel) {
40914
+ Logger._categoryFilter.set(category, minLevel);
40915
+ }
40916
+ /** Interpret a string as the name of a LogLevel */
40917
+ static parseLogLevel(str) {
40918
+ switch (str.toUpperCase()) {
40919
+ case "EXCEPTION": return LogLevel.Error;
40920
+ case "FATAL": return LogLevel.Error;
40921
+ case "ERROR": return LogLevel.Error;
40922
+ case "WARNING": return LogLevel.Warning;
40923
+ case "INFO": return LogLevel.Info;
40924
+ case "TRACE": return LogLevel.Trace;
40925
+ case "DEBUG": return LogLevel.Trace;
40926
+ }
40927
+ return LogLevel.None;
40928
+ }
40929
+ /** Set the log level for multiple categories at once. Also see [[validateProps]] */
40930
+ static configureLevels(cfg) {
40931
+ Logger.validateProps(cfg);
40932
+ if (cfg.defaultLevel !== undefined) {
40933
+ this.setLevelDefault(Logger.parseLogLevel(cfg.defaultLevel));
40934
+ }
40935
+ if (cfg.categoryLevels !== undefined) {
40936
+ for (const cl of cfg.categoryLevels) {
40937
+ this.setLevel(cl.category, Logger.parseLogLevel(cl.logLevel));
40938
+ }
40939
+ }
40940
+ }
40941
+ static isLogLevel(v) {
40942
+ return LogLevel.hasOwnProperty(v);
40943
+ }
40944
+ /** Check that the specified object is a valid LoggerLevelsConfig. This is useful when reading a config from a .json file. */
40945
+ static validateProps(config) {
40946
+ const validProps = ["defaultLevel", "categoryLevels"];
40947
+ for (const prop of Object.keys(config)) {
40948
+ if (!validProps.includes(prop))
40949
+ throw new BentleyError_1.BentleyError(BentleyError_1.IModelStatus.BadArg, `LoggerLevelsConfig - unrecognized property: ${prop}`);
40950
+ if (prop === "defaultLevel") {
40951
+ if (!Logger.isLogLevel(config.defaultLevel))
40952
+ throw new BentleyError_1.BentleyError(BentleyError_1.IModelStatus.BadArg, `LoggerLevelsConfig.defaultLevel must be a LogLevel. Invalid value: ${JSON.stringify(config.defaultLevel)}`);
40953
+ }
40954
+ else if (prop === "categoryLevels") {
40955
+ const value = config[prop];
40956
+ if (!Array.isArray(value))
40957
+ throw new BentleyError_1.BentleyError(BentleyError_1.IModelStatus.BadArg, `LoggerLevelsConfig.categoryLevels must be an array. Invalid value: ${JSON.stringify(value)}`);
40958
+ for (const item of config[prop]) {
40959
+ if (!item.hasOwnProperty("category") || !item.hasOwnProperty("logLevel"))
40960
+ throw new BentleyError_1.BentleyError(BentleyError_1.IModelStatus.BadArg, `LoggerLevelsConfig.categoryLevels - each item must be a LoggerCategoryAndLevel {category: logLevel:}. Invalid value: ${JSON.stringify(item)}`);
40961
+ if (!Logger.isLogLevel(item.logLevel))
40962
+ throw new BentleyError_1.BentleyError(BentleyError_1.IModelStatus.BadArg, `LoggerLevelsConfig.categoryLevels - each item's logLevel property must be a LogLevel. Invalid value: ${JSON.stringify(item.logLevel)}`);
40963
+ }
40964
+ }
40965
+ }
40966
+ }
40967
+ /** Get the minimum logging level for the specified category. */
40968
+ static getLevel(category) {
40969
+ // Prefer the level set for this category specifically
40970
+ const minLevelForThisCategory = Logger._categoryFilter.get(category);
40971
+ if (minLevelForThisCategory !== undefined)
40972
+ return minLevelForThisCategory;
40973
+ // Fall back on the level set for the parent of this category.
40974
+ const parent = category.lastIndexOf(".");
40975
+ if (parent !== -1)
40976
+ return Logger.getLevel(category.slice(0, parent));
40977
+ // Fall back on the default level.
40978
+ return Logger._minLevel;
40979
+ }
40980
+ /** Turns off the least severe level at which messages should be displayed by default.
40981
+ * This turns off logging for all messages for which no category minimum level is defined.
40982
+ */
40983
+ static turnOffLevelDefault() {
40984
+ Logger._minLevel = undefined;
40985
+ }
40986
+ /** Turns off all category level filters previously defined with [[Logger.setLevel]].
40987
+ */
40988
+ static turnOffCategories() {
40989
+ Logger._categoryFilter.clear();
40990
+ }
40991
+ /** Check if messages in the specified category should be displayed at this level of severity. */
40992
+ static isEnabled(category, level) {
40993
+ const minLevel = Logger.getLevel(category);
40994
+ return (minLevel !== undefined) && (level >= minLevel);
40995
+ }
40996
+ /** Log the specified message to the **error** stream.
40997
+ * @param category The category of the message.
40998
+ * @param message The message.
40999
+ * @param metaData Optional data for the message
41000
+ */
41001
+ static logError(category, message, metaData) {
41002
+ if (Logger._logError && Logger.isEnabled(category, LogLevel.Error))
41003
+ Logger._logError(category, message, metaData);
41004
+ }
41005
+ static getExceptionMessage(err) {
41006
+ const stack = Logger.logExceptionCallstacks ? `\n${BentleyError_1.BentleyError.getErrorStack(err)}` : "";
41007
+ return BentleyError_1.BentleyError.getErrorMessage(err) + stack;
41008
+ }
41009
+ /** Log the specified exception. The special "ExceptionType" property will be added as metadata,
41010
+ * in addition to any other metadata that may be supplied by the caller, unless the
41011
+ * metadata supplied by the caller already includes this property.
41012
+ * @param category The category of the message.
41013
+ * @param err The exception object.
41014
+ * @param log The logger output function to use - defaults to Logger.logError
41015
+ * @param metaData Optional data for the message
41016
+ */
41017
+ static logException(category, err, log = Logger.logError) {
41018
+ log(category, Logger.getExceptionMessage(err), () => {
41019
+ return { ...BentleyError_1.BentleyError.getErrorMetadata(err), exceptionType: err.constructor.name };
41020
+ });
41021
+ }
41022
+ /** Log the specified message to the **warning** stream.
41023
+ * @param category The category of the message.
41024
+ * @param message The message.
41025
+ * @param metaData Optional data for the message
41026
+ */
41027
+ static logWarning(category, message, metaData) {
41028
+ if (Logger._logWarning && Logger.isEnabled(category, LogLevel.Warning))
41029
+ Logger._logWarning(category, message, metaData);
41030
+ }
41031
+ /** Log the specified message to the **info** stream.
41032
+ * @param category The category of the message.
41033
+ * @param message The message.
41034
+ * @param metaData Optional data for the message
41035
+ */
41036
+ static logInfo(category, message, metaData) {
41037
+ if (Logger._logInfo && Logger.isEnabled(category, LogLevel.Info))
41038
+ Logger._logInfo(category, message, metaData);
41039
+ }
41040
+ /** Log the specified message to the **trace** stream.
41041
+ * @param category The category of the message.
41042
+ * @param message The message.
41043
+ * @param metaData Optional data for the message
41044
+ */
41045
+ static logTrace(category, message, metaData) {
41046
+ if (Logger._logTrace && Logger.isEnabled(category, LogLevel.Trace))
41047
+ Logger._logTrace(category, message, metaData);
41048
+ }
41049
+ }
41050
+ exports.Logger = Logger;
41051
+ Logger._categoryFilter = new Map();
41052
+ Logger._minLevel = undefined;
41053
+ /** Should the call stack be included when an exception is logged? */
41054
+ Logger.logExceptionCallstacks = false;
41055
+ /** All static metadata is combined with per-call metadata and stringified in every log message.
41056
+ * Static metadata can either be an object or a function that returns an object.
41057
+ * Use a key to identify entries in the map so the can be removed individually.
41058
+ * @internal */
41059
+ Logger.staticMetaData = new Map();
41060
+ /** Simple performance diagnostics utility.
41061
+ * It measures the time from construction to disposal. On disposal it logs the routine name along with
41062
+ * the duration in milliseconds.
41063
+ * It also logs the routine name at construction time so that nested calls can be disambiguated.
41064
+ *
41065
+ * The timings are logged using the log category **Performance** and log severity [[LogLevel.INFO]].
41066
+ * Enable those, if you want to capture timings.
41067
+ * @public
41068
+ */
41069
+ class PerfLogger {
41070
+ constructor(operation, metaData) {
41071
+ this._operation = operation;
41072
+ this._metaData = metaData;
41073
+ if (!Logger.isEnabled(BentleyLoggerCategory_1.BentleyLoggerCategory.Performance, PerfLogger._severity)) {
41074
+ this._startTimeStamp = 0;
41075
+ return;
41076
+ }
41077
+ Logger.logInfo(BentleyLoggerCategory_1.BentleyLoggerCategory.Performance, `${this._operation},START`, this._metaData);
41078
+ this._startTimeStamp = new Date().getTime(); // take timestamp
41079
+ }
41080
+ logMessage() {
41081
+ const endTimeStamp = new Date().getTime();
41082
+ if (!Logger.isEnabled(BentleyLoggerCategory_1.BentleyLoggerCategory.Performance, PerfLogger._severity))
41083
+ return;
41084
+ Logger.logInfo(BentleyLoggerCategory_1.BentleyLoggerCategory.Performance, `${this._operation},END`, () => {
41085
+ const mdata = this._metaData ? BentleyError_1.BentleyError.getMetaData(this._metaData) : {};
41086
+ return {
41087
+ ...mdata, TimeElapsed: endTimeStamp - this._startTimeStamp, // eslint-disable-line @typescript-eslint/naming-convention
41088
+ };
41089
+ });
41090
+ }
41091
+ dispose() {
41092
+ this.logMessage();
41093
+ }
41094
+ }
41095
+ exports.PerfLogger = PerfLogger;
41096
+ PerfLogger._severity = LogLevel.Info;
41097
+
41098
+
39886
41099
  /***/ }),
39887
41100
 
39888
41101
  /***/ "../../core/bentley/lib/esm/AccessToken.js":
@@ -124868,7 +126081,7 @@ class Uniform {
124868
126081
  compile(prog) {
124869
126082
  Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(!this.isValid);
124870
126083
  if (undefined !== prog.glProgram) {
124871
- this._handle = _UniformHandle__WEBPACK_IMPORTED_MODULE_4__["UniformHandle"].create(prog.glProgram, this._name);
126084
+ this._handle = _UniformHandle__WEBPACK_IMPORTED_MODULE_4__["UniformHandle"].create(prog, this._name);
124872
126085
  }
124873
126086
  return this.isValid;
124874
126087
  }
@@ -130827,7 +132040,10 @@ function _getGradientDimension() {
130827
132040
  __webpack_require__.r(__webpack_exports__);
130828
132041
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UniformHandle", function() { return UniformHandle; });
130829
132042
  /* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
130830
- /* harmony import */ var _System__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./System */ "../../core/frontend/lib/esm/render/webgl/System.js");
132043
+ /* harmony import */ var _itwin_core_bentley_lib_cjs_Logger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-bentley/lib/cjs/Logger */ "../../core/bentley/lib/cjs/Logger.js");
132044
+ /* harmony import */ var _itwin_core_bentley_lib_cjs_Logger__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_itwin_core_bentley_lib_cjs_Logger__WEBPACK_IMPORTED_MODULE_1__);
132045
+ /* harmony import */ var _FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../FrontendLoggerCategory */ "../../core/frontend/lib/esm/FrontendLoggerCategory.js");
132046
+ /* harmony import */ var _System__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./System */ "../../core/frontend/lib/esm/render/webgl/System.js");
130831
132047
  /*---------------------------------------------------------------------------------------------
130832
132048
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
130833
132049
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -130837,6 +132053,8 @@ __webpack_require__.r(__webpack_exports__);
130837
132053
  */
130838
132054
 
130839
132055
 
132056
+
132057
+
130840
132058
  /** A handle to the location of a uniform within a shader program
130841
132059
  * @internal
130842
132060
  */
@@ -130847,9 +132065,19 @@ class UniformHandle {
130847
132065
  this._location = location;
130848
132066
  }
130849
132067
  static create(program, name) {
130850
- const location = _System__WEBPACK_IMPORTED_MODULE_1__["System"].instance.context.getUniformLocation(program, name);
130851
- if (null === location)
130852
- throw new Error(`uniform ${name} not found.`);
132068
+ let location = null;
132069
+ if (undefined !== program.glProgram) {
132070
+ location = _System__WEBPACK_IMPORTED_MODULE_3__["System"].instance.context.getUniformLocation(program.glProgram, name);
132071
+ }
132072
+ if (null === location) {
132073
+ const errMsg = `uniform ${name} not found in ${program.description}.`;
132074
+ if (_System__WEBPACK_IMPORTED_MODULE_3__["System"].instance.options.errorOnMissingUniform) {
132075
+ throw new Error(errMsg);
132076
+ }
132077
+ else {
132078
+ _itwin_core_bentley_lib_cjs_Logger__WEBPACK_IMPORTED_MODULE_1__["Logger"].logError(_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_2__["FrontendLoggerCategory"].Render, errMsg);
132079
+ }
132080
+ }
130853
132081
  return new UniformHandle(location);
130854
132082
  }
130855
132083
  updateData(type, data) {
@@ -130879,46 +132107,46 @@ class UniformHandle {
130879
132107
  }
130880
132108
  setMatrix3(mat) {
130881
132109
  if (this.updateData(1 /* Mat3 */, mat.data))
130882
- _System__WEBPACK_IMPORTED_MODULE_1__["System"].instance.context.uniformMatrix3fv(this._location, false, mat.data);
132110
+ _System__WEBPACK_IMPORTED_MODULE_3__["System"].instance.context.uniformMatrix3fv(this._location, false, mat.data);
130883
132111
  }
130884
132112
  setMatrix4(mat) {
130885
132113
  if (this.updateData(2 /* Mat4 */, mat.data))
130886
- _System__WEBPACK_IMPORTED_MODULE_1__["System"].instance.context.uniformMatrix4fv(this._location, false, mat.data);
132114
+ _System__WEBPACK_IMPORTED_MODULE_3__["System"].instance.context.uniformMatrix4fv(this._location, false, mat.data);
130887
132115
  }
130888
132116
  setUniform1iv(data) {
130889
132117
  if (this.updateData(9 /* IntArray */, data))
130890
- _System__WEBPACK_IMPORTED_MODULE_1__["System"].instance.context.uniform1iv(this._location, data);
132118
+ _System__WEBPACK_IMPORTED_MODULE_3__["System"].instance.context.uniform1iv(this._location, data);
130891
132119
  }
130892
132120
  setUniform1fv(data) {
130893
132121
  if (this.updateData(4 /* FloatArray */, data))
130894
- _System__WEBPACK_IMPORTED_MODULE_1__["System"].instance.context.uniform1fv(this._location, data);
132122
+ _System__WEBPACK_IMPORTED_MODULE_3__["System"].instance.context.uniform1fv(this._location, data);
130895
132123
  }
130896
132124
  setUniform2fv(data) {
130897
132125
  if (this.updateData(5 /* Vec2 */, data))
130898
- _System__WEBPACK_IMPORTED_MODULE_1__["System"].instance.context.uniform2fv(this._location, data);
132126
+ _System__WEBPACK_IMPORTED_MODULE_3__["System"].instance.context.uniform2fv(this._location, data);
130899
132127
  }
130900
132128
  setUniform3fv(data) {
130901
132129
  if (this.updateData(6 /* Vec3 */, data))
130902
- _System__WEBPACK_IMPORTED_MODULE_1__["System"].instance.context.uniform3fv(this._location, data);
132130
+ _System__WEBPACK_IMPORTED_MODULE_3__["System"].instance.context.uniform3fv(this._location, data);
130903
132131
  }
130904
132132
  setUniform4fv(data) {
130905
132133
  if (this.updateData(7 /* Vec4 */, data))
130906
- _System__WEBPACK_IMPORTED_MODULE_1__["System"].instance.context.uniform4fv(this._location, data);
132134
+ _System__WEBPACK_IMPORTED_MODULE_3__["System"].instance.context.uniform4fv(this._location, data);
130907
132135
  }
130908
132136
  setUniform1i(data) {
130909
132137
  if (this.updateDatum(8 /* Int */, data))
130910
- _System__WEBPACK_IMPORTED_MODULE_1__["System"].instance.context.uniform1i(this._location, data);
132138
+ _System__WEBPACK_IMPORTED_MODULE_3__["System"].instance.context.uniform1i(this._location, data);
130911
132139
  }
130912
132140
  setUniform1f(data) {
130913
132141
  if (this.updateDatum(3 /* Float */, data))
130914
- _System__WEBPACK_IMPORTED_MODULE_1__["System"].instance.context.uniform1f(this._location, data);
132142
+ _System__WEBPACK_IMPORTED_MODULE_3__["System"].instance.context.uniform1f(this._location, data);
130915
132143
  }
130916
132144
  setUniform1ui(data) {
130917
132145
  if (this.updateDatum(10 /* Uint */, data))
130918
- _System__WEBPACK_IMPORTED_MODULE_1__["System"].instance.context.uniform1ui(this._location, data);
132146
+ _System__WEBPACK_IMPORTED_MODULE_3__["System"].instance.context.uniform1ui(this._location, data);
130919
132147
  }
130920
132148
  setUniformBitflags(data) {
130921
- if (_System__WEBPACK_IMPORTED_MODULE_1__["System"].instance.capabilities.isWebGL2)
132149
+ if (_System__WEBPACK_IMPORTED_MODULE_3__["System"].instance.capabilities.isWebGL2)
130922
132150
  this.setUniform1ui(data);
130923
132151
  else
130924
132152
  this.setUniform1f(data);
@@ -169968,7 +171196,7 @@ SetupWalkCameraTool.iconSpec = "icon-camera-location";
169968
171196
  /*! exports provided: name, version, description, main, module, typings, license, scripts, repository, keywords, author, peerDependencies, //devDependencies, devDependencies, //dependencies, dependencies, nyc, eslintConfig, default */
169969
171197
  /***/ (function(module) {
169970
171198
 
169971
- module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.3.0-dev.25\",\"description\":\"iTwin.js frontend components\",\"main\":\"lib/cjs/core-frontend.js\",\"module\":\"lib/esm/core-frontend.js\",\"typings\":\"lib/cjs/core-frontend\",\"license\":\"MIT\",\"scripts\":{\"build\":\"npm run -s copy:public && npm run -s build:cjs\",\"build:ci\":\"npm run -s build && npm run -s build:esm\",\"build:cjs\":\"tsc 1>&2 --outDir lib/cjs\",\"build:esm\":\"tsc 1>&2 --module ES2020 --outDir lib/esm\",\"clean\":\"rimraf lib .rush/temp/package-deps*.json\",\"copy:public\":\"cpx \\\"./src/public/**/*\\\" ./lib/public\",\"docs\":\"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts\",\"extract-api\":\"betools extract-api --entry=core-frontend && npm run extract-extension-api\",\"extract-extension-api\":\"eslint --no-eslintrc -c \\\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\\" \\\"./src/**/*.ts\\\" 1>&2\",\"lint\":\"eslint -f visualstudio \\\"./src/**/*.ts\\\" 1>&2\",\"pseudolocalize\":\"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO\",\"test\":\"npm run -s webpackTests && certa -r chrome\",\"cover\":\"npm -s test\",\"test:debug\":\"certa -r chrome --debug\",\"webpackTests\":\"webpack --config ./src/test/utils/webpack.config.js 1>&2\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend\"},\"keywords\":[\"Bentley\",\"BIM\",\"iModel\",\"digital-twin\",\"iTwin\"],\"author\":{\"name\":\"Bentley Systems, Inc.\",\"url\":\"http://www.bentley.com\"},\"peerDependencies\":{\"@itwin/appui-abstract\":\"workspace:^3.3.0-dev.25\",\"@itwin/core-bentley\":\"workspace:^3.3.0-dev.25\",\"@itwin/core-common\":\"workspace:^3.3.0-dev.25\",\"@itwin/core-geometry\":\"workspace:^3.3.0-dev.25\",\"@itwin/core-orbitgt\":\"workspace:^3.3.0-dev.25\",\"@itwin/core-quantity\":\"workspace:^3.3.0-dev.25\",\"@itwin/webgl-compatibility\":\"workspace:^3.3.0-dev.25\"},\"//devDependencies\":[\"NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install\",\"NOTE: All tools used by scripts in this package must be listed as devDependencies\"],\"devDependencies\":{\"@itwin/appui-abstract\":\"workspace:*\",\"@itwin/build-tools\":\"workspace:*\",\"@itwin/core-bentley\":\"workspace:*\",\"@itwin/core-common\":\"workspace:*\",\"@itwin/core-geometry\":\"workspace:*\",\"@itwin/core-orbitgt\":\"workspace:*\",\"@itwin/core-quantity\":\"workspace:*\",\"@itwin/certa\":\"workspace:*\",\"@itwin/eslint-plugin\":\"workspace:*\",\"@itwin/webgl-compatibility\":\"workspace:*\",\"@types/chai\":\"^4.1.4\",\"@types/chai-as-promised\":\"^7\",\"@types/deep-assign\":\"^0.1.0\",\"@types/lodash\":\"^4.14.0\",\"@types/mocha\":\"^8.2.2\",\"@types/node\":\"16.11.7\",\"@types/qs\":\"^6.5.0\",\"@types/semver\":\"^5.5.0\",\"@types/superagent\":\"^4.1.14\",\"@types/sinon\":\"^9.0.0\",\"chai\":\"^4.1.2\",\"chai-as-promised\":\"^7\",\"cpx2\":\"^3.0.0\",\"eslint\":\"^7.11.0\",\"glob\":\"^7.1.2\",\"mocha\":\"^10.0.0\",\"nyc\":\"^15.1.0\",\"rimraf\":\"^3.0.2\",\"sinon\":\"^9.0.2\",\"source-map-loader\":\"^1.0.0\",\"typescript\":\"~4.4.0\",\"webpack\":\"4.42.0\"},\"//dependencies\":[\"NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API\",\"NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed\"],\"dependencies\":{\"@itwin/core-i18n\":\"workspace:*\",\"@itwin/core-telemetry\":\"workspace:*\",\"@loaders.gl/core\":\"^3.1.6\",\"@loaders.gl/draco\":\"^3.1.6\",\"deep-assign\":\"^2.0.0\",\"fuse.js\":\"^3.3.0\",\"lodash\":\"^4.17.10\",\"qs\":\"^6.5.1\",\"semver\":\"^5.5.0\",\"superagent\":\"^7.0.1\",\"wms-capabilities\":\"0.4.0\",\"xml-js\":\"~1.6.11\"},\"nyc\":{\"extends\":\"./node_modules/@itwin/build-tools/.nycrc\"},\"eslintConfig\":{\"plugins\":[\"@itwin\"],\"extends\":\"plugin:@itwin/itwinjs-recommended\",\"rules\":{\"@itwin/no-internal-barrel-imports\":[\"error\",{\"required-barrel-modules\":[\"./src/tile/internal.ts\"]}],\"@itwin/public-extension-exports\":[\"error\",{\"releaseTags\":[\"public\",\"preview\"],\"outputApiFile\":false}]},\"overrides\":[{\"files\":[\"*.test.ts\",\"*.test.tsx\",\"**/test/**/*.ts\"],\"rules\":{\"@itwin/no-internal-barrel-imports\":\"off\"}}]}}");
171199
+ module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.3.0-dev.26\",\"description\":\"iTwin.js frontend components\",\"main\":\"lib/cjs/core-frontend.js\",\"module\":\"lib/esm/core-frontend.js\",\"typings\":\"lib/cjs/core-frontend\",\"license\":\"MIT\",\"scripts\":{\"build\":\"npm run -s copy:public && npm run -s build:cjs\",\"build:ci\":\"npm run -s build && npm run -s build:esm\",\"build:cjs\":\"tsc 1>&2 --outDir lib/cjs\",\"build:esm\":\"tsc 1>&2 --module ES2020 --outDir lib/esm\",\"clean\":\"rimraf lib .rush/temp/package-deps*.json\",\"copy:public\":\"cpx \\\"./src/public/**/*\\\" ./lib/public\",\"docs\":\"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts\",\"extract-api\":\"betools extract-api --entry=core-frontend && npm run extract-extension-api\",\"extract-extension-api\":\"eslint --no-eslintrc -c \\\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\\" \\\"./src/**/*.ts\\\" 1>&2\",\"lint\":\"eslint -f visualstudio \\\"./src/**/*.ts\\\" 1>&2\",\"pseudolocalize\":\"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO\",\"test\":\"npm run -s webpackTests && certa -r chrome\",\"cover\":\"npm -s test\",\"test:debug\":\"certa -r chrome --debug\",\"webpackTests\":\"webpack --config ./src/test/utils/webpack.config.js 1>&2\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend\"},\"keywords\":[\"Bentley\",\"BIM\",\"iModel\",\"digital-twin\",\"iTwin\"],\"author\":{\"name\":\"Bentley Systems, Inc.\",\"url\":\"http://www.bentley.com\"},\"peerDependencies\":{\"@itwin/appui-abstract\":\"workspace:^3.3.0-dev.26\",\"@itwin/core-bentley\":\"workspace:^3.3.0-dev.26\",\"@itwin/core-common\":\"workspace:^3.3.0-dev.26\",\"@itwin/core-geometry\":\"workspace:^3.3.0-dev.26\",\"@itwin/core-orbitgt\":\"workspace:^3.3.0-dev.26\",\"@itwin/core-quantity\":\"workspace:^3.3.0-dev.26\",\"@itwin/webgl-compatibility\":\"workspace:^3.3.0-dev.26\"},\"//devDependencies\":[\"NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install\",\"NOTE: All tools used by scripts in this package must be listed as devDependencies\"],\"devDependencies\":{\"@itwin/appui-abstract\":\"workspace:*\",\"@itwin/build-tools\":\"workspace:*\",\"@itwin/core-bentley\":\"workspace:*\",\"@itwin/core-common\":\"workspace:*\",\"@itwin/core-geometry\":\"workspace:*\",\"@itwin/core-orbitgt\":\"workspace:*\",\"@itwin/core-quantity\":\"workspace:*\",\"@itwin/certa\":\"workspace:*\",\"@itwin/eslint-plugin\":\"workspace:*\",\"@itwin/webgl-compatibility\":\"workspace:*\",\"@types/chai\":\"^4.1.4\",\"@types/chai-as-promised\":\"^7\",\"@types/deep-assign\":\"^0.1.0\",\"@types/lodash\":\"^4.14.0\",\"@types/mocha\":\"^8.2.2\",\"@types/node\":\"16.11.7\",\"@types/qs\":\"^6.5.0\",\"@types/semver\":\"^5.5.0\",\"@types/superagent\":\"^4.1.14\",\"@types/sinon\":\"^9.0.0\",\"chai\":\"^4.1.2\",\"chai-as-promised\":\"^7\",\"cpx2\":\"^3.0.0\",\"eslint\":\"^7.11.0\",\"glob\":\"^7.1.2\",\"mocha\":\"^10.0.0\",\"nyc\":\"^15.1.0\",\"rimraf\":\"^3.0.2\",\"sinon\":\"^9.0.2\",\"source-map-loader\":\"^1.0.0\",\"typescript\":\"~4.4.0\",\"webpack\":\"4.42.0\"},\"//dependencies\":[\"NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API\",\"NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed\"],\"dependencies\":{\"@itwin/core-i18n\":\"workspace:*\",\"@itwin/core-telemetry\":\"workspace:*\",\"@loaders.gl/core\":\"^3.1.6\",\"@loaders.gl/draco\":\"^3.1.6\",\"deep-assign\":\"^2.0.0\",\"fuse.js\":\"^3.3.0\",\"lodash\":\"^4.17.10\",\"qs\":\"^6.5.1\",\"semver\":\"^5.5.0\",\"superagent\":\"^7.0.1\",\"wms-capabilities\":\"0.4.0\",\"xml-js\":\"~1.6.11\"},\"nyc\":{\"extends\":\"./node_modules/@itwin/build-tools/.nycrc\"},\"eslintConfig\":{\"plugins\":[\"@itwin\"],\"extends\":\"plugin:@itwin/itwinjs-recommended\",\"rules\":{\"@itwin/no-internal-barrel-imports\":[\"error\",{\"required-barrel-modules\":[\"./src/tile/internal.ts\"]}],\"@itwin/public-extension-exports\":[\"error\",{\"releaseTags\":[\"public\",\"preview\"],\"outputApiFile\":false}]},\"overrides\":[{\"files\":[\"*.test.ts\",\"*.test.tsx\",\"**/test/**/*.ts\"],\"rules\":{\"@itwin/no-internal-barrel-imports\":\"off\"}}]}}");
169972
171200
 
169973
171201
  /***/ }),
169974
171202
 
@@ -283420,7 +284648,7 @@ class TestContext {
283420
284648
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
283421
284649
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${(_a = process.env.IMJS_URL_PREFIX) !== null && _a !== void 0 ? _a : ""}api.bentley.com/imodels` } });
283422
284650
  await core_frontend_1.NoRenderApp.startup({
283423
- applicationVersion: "3.3.0-dev.25",
284651
+ applicationVersion: "3.3.0-dev.26",
283424
284652
  applicationId: this.settings.gprid,
283425
284653
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
283426
284654
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),