@compassdigital/sdk.typescript 4.793.0 → 4.794.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.d.ts +31 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +38 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/config.d.ts +66 -0
- package/lib/interface/config.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +90 -0
- package/src/interface/config.ts +115 -0
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
|
*
|