@orbis-systems/orbis-api-clients 0.4.5 → 0.5.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.
@@ -117,7 +117,7 @@ class $3621850f1f570615$export$4f22f74eddb7716a {
117
117
  if (contentType === "multipart/form-data" && typeof data === 'object') requestConfig.data = this.createFormData(data);
118
118
  if (contentType === "text/plain" && typeof data !== 'string') requestConfig.data = JSON.stringify(data);
119
119
  }
120
- const mergedConfig = (0, $6VTA9$lodash.merge)(requestConfig.secure ?? this.config.defaultSecure ? await this.prepareAuthRequestConfig() : {}, contentType ? {
120
+ const mergedConfig = (0, $6VTA9$lodash.merge)(requestConfig.secure ?? this.config.defaultSecure ?? true ? await this.prepareAuthRequestConfig() : {}, contentType ? {
121
121
  headers: {
122
122
  'Content-Type': contentType
123
123
  }
@@ -1774,6 +1774,39 @@ class $90df50d8e16156b7$export$55bc3cd7df55e5aa {
1774
1774
  responseType: 'json'
1775
1775
  });
1776
1776
  }
1777
+ /**
1778
+ * @description Retrieve slider articles
1779
+ * @tags Passport
1780
+ * @name GetPassportSliderArticles
1781
+ * @summary Get Slider Articles
1782
+ * @request GET:/passport/slider-articles
1783
+ */ getPassportSliderArticles(config) {
1784
+ return this.apiClient.request({
1785
+ ...config,
1786
+ url: `v1/passport/slider-articles`,
1787
+ method: 'GET',
1788
+ secure: false,
1789
+ contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1790
+ responseType: 'json'
1791
+ });
1792
+ }
1793
+ /**
1794
+ * @description Upsert slider articles
1795
+ * @tags Passport
1796
+ * @name UpsertPassportSliderArticles
1797
+ * @summary Upsert slider articles
1798
+ * @request POST:/passport/slider-articles
1799
+ */ upsertPassportSliderArticles(request, config) {
1800
+ return this.apiClient.request({
1801
+ ...config,
1802
+ url: `v1/passport/slider-articles`,
1803
+ method: 'POST',
1804
+ data: request,
1805
+ secure: false,
1806
+ contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1807
+ responseType: 'json'
1808
+ });
1809
+ }
1777
1810
  }
1778
1811
 
1779
1812