@compassdigital/sdk.typescript 4.788.0 → 4.790.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 +61 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +76 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/config.d.ts +56 -0
- package/lib/interface/config.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +180 -0
- package/src/interface/config.ts +104 -0
package/lib/index.js
CHANGED
|
@@ -1779,6 +1779,82 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1779
1779
|
delete_config_public(key, options) {
|
|
1780
1780
|
return this.request('config', '/config/public/{key}', 'DELETE', `/config/public/${key}`, null, options);
|
|
1781
1781
|
}
|
|
1782
|
+
/**
|
|
1783
|
+
* GET /config/station/{key}/private - Get a station's private configuration
|
|
1784
|
+
*
|
|
1785
|
+
* @param key - station key (a location/brand id)
|
|
1786
|
+
* @param options - additional request options
|
|
1787
|
+
*/
|
|
1788
|
+
get_config_station_private(key, options) {
|
|
1789
|
+
return this.request('config', '/config/station/{key}/private', 'GET', `/config/station/${key}/private`, null, options);
|
|
1790
|
+
}
|
|
1791
|
+
/**
|
|
1792
|
+
* PUT /config/station/{key}/private - Update a station's private configuration
|
|
1793
|
+
*
|
|
1794
|
+
* @param key - station key (a location/brand id)
|
|
1795
|
+
* @param body
|
|
1796
|
+
* @param options - additional request options
|
|
1797
|
+
*/
|
|
1798
|
+
put_config_station_private(key, body, options) {
|
|
1799
|
+
return this.request('config', '/config/station/{key}/private', 'PUT', `/config/station/${key}/private`, body, options);
|
|
1800
|
+
}
|
|
1801
|
+
/**
|
|
1802
|
+
* GET /config/station/{key}/public - Get a station's public configuration
|
|
1803
|
+
*
|
|
1804
|
+
* @param key - station key (a location/brand id)
|
|
1805
|
+
* @param options - additional request options
|
|
1806
|
+
*/
|
|
1807
|
+
get_config_station_public(key, options) {
|
|
1808
|
+
return this.request('config', '/config/station/{key}/public', 'GET', `/config/station/${key}/public`, null, options);
|
|
1809
|
+
}
|
|
1810
|
+
/**
|
|
1811
|
+
* PUT /config/station/{key}/public - Update a station's public configuration
|
|
1812
|
+
*
|
|
1813
|
+
* @param key - station key (a location/brand id)
|
|
1814
|
+
* @param body
|
|
1815
|
+
* @param options - additional request options
|
|
1816
|
+
*/
|
|
1817
|
+
put_config_station_public(key, body, options) {
|
|
1818
|
+
return this.request('config', '/config/station/{key}/public', 'PUT', `/config/station/${key}/public`, body, options);
|
|
1819
|
+
}
|
|
1820
|
+
/**
|
|
1821
|
+
* GET /config/site/{key}/private - Get a site's private configuration
|
|
1822
|
+
*
|
|
1823
|
+
* @param key - site key (a location/group id)
|
|
1824
|
+
* @param options - additional request options
|
|
1825
|
+
*/
|
|
1826
|
+
get_config_site_private(key, options) {
|
|
1827
|
+
return this.request('config', '/config/site/{key}/private', 'GET', `/config/site/${key}/private`, null, options);
|
|
1828
|
+
}
|
|
1829
|
+
/**
|
|
1830
|
+
* PUT /config/site/{key}/private - Update a site's private configuration
|
|
1831
|
+
*
|
|
1832
|
+
* @param key - site key (a location/group id)
|
|
1833
|
+
* @param body
|
|
1834
|
+
* @param options - additional request options
|
|
1835
|
+
*/
|
|
1836
|
+
put_config_site_private(key, body, options) {
|
|
1837
|
+
return this.request('config', '/config/site/{key}/private', 'PUT', `/config/site/${key}/private`, body, options);
|
|
1838
|
+
}
|
|
1839
|
+
/**
|
|
1840
|
+
* GET /config/site/{key}/public - Get a site's public configuration
|
|
1841
|
+
*
|
|
1842
|
+
* @param key - site key (a location/group id)
|
|
1843
|
+
* @param options - additional request options
|
|
1844
|
+
*/
|
|
1845
|
+
get_config_site_public(key, options) {
|
|
1846
|
+
return this.request('config', '/config/site/{key}/public', 'GET', `/config/site/${key}/public`, null, options);
|
|
1847
|
+
}
|
|
1848
|
+
/**
|
|
1849
|
+
* PUT /config/site/{key}/public - Update a site's public configuration
|
|
1850
|
+
*
|
|
1851
|
+
* @param key - site key (a location/group id)
|
|
1852
|
+
* @param body
|
|
1853
|
+
* @param options - additional request options
|
|
1854
|
+
*/
|
|
1855
|
+
put_config_site_public(key, body, options) {
|
|
1856
|
+
return this.request('config', '/config/site/{key}/public', 'PUT', `/config/site/${key}/public`, body, options);
|
|
1857
|
+
}
|
|
1782
1858
|
/**
|
|
1783
1859
|
* GET /config/health - Config Service readiness and dependency health check
|
|
1784
1860
|
*
|