@orbis-systems/orbis-api-clients 0.5.3 → 0.6.0

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.
@@ -86,6 +86,7 @@ class $3621850f1f570615$export$4f22f74eddb7716a {
86
86
  this.storage = config.storage ?? sessionStorage;
87
87
  this.axiosInstance = (0, ($parcel$interopDefault($5Loj3$axios))).create({
88
88
  baseURL: config.baseUrl,
89
+ withCredentials: config.withCredentials,
89
90
  headers: {
90
91
  'Content-Type': 'application/json',
91
92
  ...config.defaultHeaders
@@ -227,6 +228,7 @@ class $538ed1203bac2e79$export$f280b732bbc5934b extends (0, $3621850f1f570615$ex
227
228
  this.renewTokenCallback = renewTokenCallback;
228
229
  }
229
230
  async prepareAuthRequestConfig() {
231
+ if (this.config.withCredentials) return {};
230
232
  let { accessToken: accessToken } = this.getAuthData() || {};
231
233
  if (!accessToken) {
232
234
  (0, $5Loj3$consola.consola).warn('No access token found. Please set auth data after authorization.');
@@ -375,6 +377,20 @@ class $94a67bf1856cdfc2$export$accd73d198d77d2f {
375
377
  secure: true
376
378
  });
377
379
  }
380
+ /**
381
+ * @tags DataSource
382
+ * @name GetDataSourceBitMapping
383
+ * @summary Get All DataSource Bit Mappings - All users - available in Microservice
384
+ * @request GET:/api/datasource/data-source-bit-mapping
385
+ * @secure
386
+ */ getDataSourceBitMapping(config) {
387
+ return this.apiClient.request({
388
+ ...config,
389
+ url: `/datasource/data-source-bit-mapping`,
390
+ method: 'GET',
391
+ secure: true
392
+ });
393
+ }
378
394
  /**
379
395
  * @tags DataSource
380
396
  * @name GetDataSourceTallyCount