bruce-models 7.1.51 → 7.1.53

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.
@@ -1484,6 +1484,8 @@ var BruceApi;
1484
1484
  (function (BruceApi$$1) {
1485
1485
  // Minimum API version that supports server-side token proxies.
1486
1486
  BruceApi$$1.VERSION_WITH_PROXIES = "1.0.6437";
1487
+ // Minimum API version that supports uploading tileset source files as Client Files.
1488
+ BruceApi$$1.VERSION_WITH_CLIENT_FILE_SOURCES = "1.0.6448";
1487
1489
  /**
1488
1490
  * This is the request handler for Bruce Api,
1489
1491
  * it should be passed to any method that wants to communicate with this particular api.
@@ -10409,6 +10411,27 @@ var DataSource;
10409
10411
  });
10410
10412
  }
10411
10413
  DataSource.Analyze = Analyze;
10414
+ /**
10415
+ * Makes a diagnostic sample request to a registered data source.
10416
+ * This calls: POST source/{source_id}/requestSample
10417
+ * @param params
10418
+ */
10419
+ function RequestSample(params) {
10420
+ return __awaiter(this, void 0, void 0, function* () {
10421
+ let { sourceId, options, api, req: reqParams } = params;
10422
+ if (!sourceId) {
10423
+ throw ("Source ID is required.");
10424
+ }
10425
+ if (!api) {
10426
+ api = ENVIRONMENT.Api().GetBruceApi();
10427
+ }
10428
+ const res = yield api.POST(`source/${sourceId}/requestSample`, options !== null && options !== void 0 ? options : {}, Api.PrepReqParams(reqParams));
10429
+ return {
10430
+ sample: res
10431
+ };
10432
+ });
10433
+ }
10434
+ DataSource.RequestSample = RequestSample;
10412
10435
  /**
10413
10436
  * Returns cache identifier for a data source by ID.
10414
10437
  * Example: {
@@ -18996,7 +19019,7 @@ var UrlUtils;
18996
19019
  })(UrlUtils || (UrlUtils = {}));
18997
19020
 
18998
19021
  // This is updated with the package.json version on build.
18999
- const VERSION = "7.1.51";
19022
+ const VERSION = "7.1.53";
19000
19023
 
19001
19024
  export { VERSION, Account, AccountConcept, AccountFeatures, AccountInvite, AccountLimits, AccountTemplate, AccountType, AnnDocument, AbstractApi, Api, ApiGetters, BruceApi, GlobalApi, GuardianApi, Assembly, Calculator, ChangeSet, ClientFile, Bounds, BruceEvent, BruceVariable, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, GeoJson, Geometry, LRUCache, UTC, CustomForm, DashboardView, DataFeed, DataLab, DataLabGroup, DataSource, DataTransform, Comment, Entity, EntityAttachment, EntityAttachmentType, EntityAttribute, EntityComment, EntityCoords, EntityHistoricData, EntityLink, EntityLod, EntityLodCategory, EntityRelation, EntityRelationType, EntitySource, EntityTableView, EntityTag, EntityType, EntityTypeTrigger, ENVIRONMENT, ExportBrz, ExportUsd, ImportAssembly, ImportCad, ImportCsv, ImportGeoJson, ImportJson, ImportKml, ImportLcc, ImportedFile, Uploader, Markup, NAVIGATOR_CHAT_EVENT_ENTITY_HIGHLIGHT_APPLIED, NAVIGATOR_CHAT_EVENT_SCENE_CONTEXT_PREFETCHED, NavigatorChatClient, NavigatorMcpWebSocketClient, Plugin, ProgramKey, MenuItem, ProjectView, ProjectViewBookmark, ProjectViewBookmarkGroup, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewLegacyTile, ProjectViewTile, ZoomControl, Scenario, HostingLocation, MessageBroker, PendingAction, RecordChangeFeed, Style, Tileset, Tracking, Permission, Session, User, UserGroup, UserMfaMethod, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils };
19002
19025
  //# sourceMappingURL=bruce-models.es5.js.map