@compassdigital/sdk.typescript 4.835.0 → 4.837.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 +25 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +30 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/config.d.ts +24 -0
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/loyalty.d.ts +2 -0
- package/lib/interface/loyalty.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +72 -0
- package/src/interface/config.ts +47 -0
- package/src/interface/loyalty.ts +4 -0
package/lib/index.js
CHANGED
|
@@ -1861,6 +1861,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1861
1861
|
put_config_station_public(key, body, options) {
|
|
1862
1862
|
return this.request('config', '/config/station/{key}/public', 'PUT', `/config/station/${key}/public`, body, options);
|
|
1863
1863
|
}
|
|
1864
|
+
/**
|
|
1865
|
+
* PATCH /config/station/{key}/public - Partially update a station's public configuration
|
|
1866
|
+
*
|
|
1867
|
+
* @param key - station key (a location/brand id)
|
|
1868
|
+
* @param body
|
|
1869
|
+
* @param options - additional request options
|
|
1870
|
+
*/
|
|
1871
|
+
patch_config_station_public(key, body, options) {
|
|
1872
|
+
return this.request('config', '/config/station/{key}/public', 'PATCH', `/config/station/${key}/public`, body, options);
|
|
1873
|
+
}
|
|
1864
1874
|
/**
|
|
1865
1875
|
* GET /config/site/{key}/private - Get a site's private configuration
|
|
1866
1876
|
*
|
|
@@ -1899,6 +1909,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1899
1909
|
put_config_site_public(key, body, options) {
|
|
1900
1910
|
return this.request('config', '/config/site/{key}/public', 'PUT', `/config/site/${key}/public`, body, options);
|
|
1901
1911
|
}
|
|
1912
|
+
/**
|
|
1913
|
+
* PATCH /config/site/{key}/public - Partially update a site's public configuration
|
|
1914
|
+
*
|
|
1915
|
+
* @param key - site key (a location/group id)
|
|
1916
|
+
* @param body
|
|
1917
|
+
* @param options - additional request options
|
|
1918
|
+
*/
|
|
1919
|
+
patch_config_site_public(key, body, options) {
|
|
1920
|
+
return this.request('config', '/config/site/{key}/public', 'PATCH', `/config/site/${key}/public`, body, options);
|
|
1921
|
+
}
|
|
1902
1922
|
/**
|
|
1903
1923
|
* GET /config/business-unit/{key}/private - Get a business unit's private configuration
|
|
1904
1924
|
*
|
|
@@ -1937,6 +1957,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1937
1957
|
put_config_business_unit_public(key, body, options) {
|
|
1938
1958
|
return this.request('config', '/config/business-unit/{key}/public', 'PUT', `/config/business-unit/${key}/public`, body, options);
|
|
1939
1959
|
}
|
|
1960
|
+
/**
|
|
1961
|
+
* PATCH /config/business-unit/{key}/public - Partially update a business unit's public configuration
|
|
1962
|
+
*
|
|
1963
|
+
* @param key - business unit key (a location/location id)
|
|
1964
|
+
* @param body
|
|
1965
|
+
* @param options - additional request options
|
|
1966
|
+
*/
|
|
1967
|
+
patch_config_business_unit_public(key, body, options) {
|
|
1968
|
+
return this.request('config', '/config/business-unit/{key}/public', 'PATCH', `/config/business-unit/${key}/public`, body, options);
|
|
1969
|
+
}
|
|
1940
1970
|
/**
|
|
1941
1971
|
* GET /config/health - Config Service readiness and dependency health check
|
|
1942
1972
|
*
|