@compassdigital/sdk.typescript 4.793.0 → 4.795.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.
package/lib/index.js CHANGED
@@ -1855,6 +1855,44 @@ class ServiceClient extends base_1.BaseServiceClient {
1855
1855
  put_config_site_public(key, body, options) {
1856
1856
  return this.request('config', '/config/site/{key}/public', 'PUT', `/config/site/${key}/public`, body, options);
1857
1857
  }
1858
+ /**
1859
+ * GET /config/business-unit/{key}/private - Get a business unit's private configuration
1860
+ *
1861
+ * @param key - business unit key (a location/location id)
1862
+ * @param options - additional request options
1863
+ */
1864
+ get_config_business_unit_private(key, options) {
1865
+ return this.request('config', '/config/business-unit/{key}/private', 'GET', `/config/business-unit/${key}/private`, null, options);
1866
+ }
1867
+ /**
1868
+ * PUT /config/business-unit/{key}/private - Update a business unit's private configuration
1869
+ *
1870
+ * @param key - business unit key (a location/location id)
1871
+ * @param body
1872
+ * @param options - additional request options
1873
+ */
1874
+ put_config_business_unit_private(key, body, options) {
1875
+ return this.request('config', '/config/business-unit/{key}/private', 'PUT', `/config/business-unit/${key}/private`, body, options);
1876
+ }
1877
+ /**
1878
+ * GET /config/business-unit/{key}/public - Get a business unit's public configuration
1879
+ *
1880
+ * @param key - business unit key (a location/location id)
1881
+ * @param options - additional request options
1882
+ */
1883
+ get_config_business_unit_public(key, options) {
1884
+ return this.request('config', '/config/business-unit/{key}/public', 'GET', `/config/business-unit/${key}/public`, null, options);
1885
+ }
1886
+ /**
1887
+ * PUT /config/business-unit/{key}/public - Update a business unit's public configuration
1888
+ *
1889
+ * @param key - business unit key (a location/location id)
1890
+ * @param body
1891
+ * @param options - additional request options
1892
+ */
1893
+ put_config_business_unit_public(key, body, options) {
1894
+ return this.request('config', '/config/business-unit/{key}/public', 'PUT', `/config/business-unit/${key}/public`, body, options);
1895
+ }
1858
1896
  /**
1859
1897
  * GET /config/health - Config Service readiness and dependency health check
1860
1898
  *
@@ -2219,6 +2257,16 @@ class ServiceClient extends base_1.BaseServiceClient {
2219
2257
  get_user_secret(id, key, options) {
2220
2258
  return this.request('user', '/user/{id}/secret/{key}', 'GET', `/user/${id}/secret/${key}`, null, options);
2221
2259
  }
2260
+ /**
2261
+ * DELETE /user/{id}/secret/{key} - Delete a secret key
2262
+ *
2263
+ * @param id - User ID
2264
+ * @param key
2265
+ * @param options - additional request options
2266
+ */
2267
+ delete_user_secret(id, key, options) {
2268
+ return this.request('user', '/user/{id}/secret/{key}', 'DELETE', `/user/${id}/secret/${key}`, null, options);
2269
+ }
2222
2270
  /**
2223
2271
  * POST /user/forgotpassword - Reset the users password
2224
2272
  *