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

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
@@ -1588,6 +1604,22 @@ class $da89e2663382a79a$export$82b8d343c504672 {
1588
1604
  secure: true
1589
1605
  });
1590
1606
  }
1607
+ /**
1608
+ * @tags Quote
1609
+ * @name GetBondsChart
1610
+ * @summary Query Bonds historical chart data - All users - available in Microservice
1611
+ * @request GET:/api/quote/bonds-chart
1612
+ * @secure
1613
+ */ getBondsChart(query, config) {
1614
+ return this.apiClient.request({
1615
+ ...config,
1616
+ url: `/quote/bonds-chart`,
1617
+ method: 'GET',
1618
+ params: query,
1619
+ secure: true,
1620
+ responseType: 'json'
1621
+ });
1622
+ }
1591
1623
  /**
1592
1624
  * @tags Quote
1593
1625
  * @name GetMutualFunds