@compassdigital/sdk.typescript 4.858.0 → 4.859.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 +8 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/vendor.d.ts +17 -0
- package/lib/interface/vendor.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +15 -0
- package/src/interface/vendor.ts +30 -0
package/lib/index.js
CHANGED
|
@@ -5789,6 +5789,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
5789
5789
|
get_vendor_auth(options) {
|
|
5790
5790
|
return this.request('vendor', '/vendor/auth', 'GET', `/vendor/auth`, null, options);
|
|
5791
5791
|
}
|
|
5792
|
+
/**
|
|
5793
|
+
* POST /vendor/token - Get access token using the OAuth 2.0 client credentials grant
|
|
5794
|
+
*
|
|
5795
|
+
* @param body
|
|
5796
|
+
* @param options - additional request options
|
|
5797
|
+
*/
|
|
5798
|
+
post_vendor_token(body, options) {
|
|
5799
|
+
return this.request('vendor', '/vendor/token', 'POST', `/vendor/token`, body, options);
|
|
5800
|
+
}
|
|
5792
5801
|
/**
|
|
5793
5802
|
* GET /vendor/{id}/key - Get list of Vendor keys
|
|
5794
5803
|
*
|