@compassdigital/sdk.typescript 4.862.0 → 4.864.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 +15 -8
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +17 -8
- package/lib/index.js.map +1 -1
- package/lib/interface/config.d.ts +16 -0
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +0 -3
- package/lib/interface/vendor.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +39 -10
- package/src/interface/config.ts +29 -0
- package/src/interface/vendor.ts +0 -6
package/lib/index.js
CHANGED
|
@@ -1757,6 +1757,23 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1757
1757
|
get_config_appconfig(options) {
|
|
1758
1758
|
return this.request('config', '/config/appconfig', 'GET', `/config/appconfig`, null, options);
|
|
1759
1759
|
}
|
|
1760
|
+
/**
|
|
1761
|
+
* GET /config/app-clients - Get the per-client exclusive access settings
|
|
1762
|
+
*
|
|
1763
|
+
* @param options - additional request options
|
|
1764
|
+
*/
|
|
1765
|
+
get_config_app_clients(options) {
|
|
1766
|
+
return this.request('config', '/config/app-clients', 'GET', `/config/app-clients`, null, options);
|
|
1767
|
+
}
|
|
1768
|
+
/**
|
|
1769
|
+
* PUT /config/app-clients - Replace the per-client exclusive access settings
|
|
1770
|
+
*
|
|
1771
|
+
* @param body
|
|
1772
|
+
* @param options - additional request options
|
|
1773
|
+
*/
|
|
1774
|
+
put_config_app_clients(body, options) {
|
|
1775
|
+
return this.request('config', '/config/app-clients', 'PUT', `/config/app-clients`, body, options);
|
|
1776
|
+
}
|
|
1760
1777
|
/**
|
|
1761
1778
|
* GET /config/{key} - get a configuration
|
|
1762
1779
|
*
|
|
@@ -5781,14 +5798,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
5781
5798
|
delete_vendor(id, options) {
|
|
5782
5799
|
return this.request('vendor', '/vendor/{id}', 'DELETE', `/vendor/${id}`, null, options);
|
|
5783
5800
|
}
|
|
5784
|
-
/**
|
|
5785
|
-
* GET /vendor/auth - Get access token for accessing our APIs
|
|
5786
|
-
*
|
|
5787
|
-
* @param options - additional request options
|
|
5788
|
-
*/
|
|
5789
|
-
get_vendor_auth(options) {
|
|
5790
|
-
return this.request('vendor', '/vendor/auth', 'GET', `/vendor/auth`, null, options);
|
|
5791
|
-
}
|
|
5792
5801
|
/**
|
|
5793
5802
|
* POST /vendor/token - Get access token using the OAuth 2.0 client credentials grant
|
|
5794
5803
|
*
|