@compassdigital/sdk.typescript 4.941.0 → 4.942.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 +18 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +17 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/consumer.d.ts +23 -0
- package/lib/interface/consumer.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +47 -0
- package/src/interface/consumer.ts +45 -0
package/lib/index.js
CHANGED
|
@@ -6702,6 +6702,23 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
6702
6702
|
post_consumer_user_access_code_redeem(body, options) {
|
|
6703
6703
|
return this.request('consumer', '/consumer/user/access-code/redeem', 'POST', `/consumer/user/access-code/redeem`, body, options);
|
|
6704
6704
|
}
|
|
6705
|
+
/**
|
|
6706
|
+
* GET /consumer/user/auth - Log a user in with their email and password
|
|
6707
|
+
*
|
|
6708
|
+
* @param options - additional request options
|
|
6709
|
+
*/
|
|
6710
|
+
get_consumer_user_auth(options) {
|
|
6711
|
+
return this.request('consumer', '/consumer/user/auth', 'GET', `/consumer/user/auth`, null, options);
|
|
6712
|
+
}
|
|
6713
|
+
/**
|
|
6714
|
+
* POST /consumer/user/auth - Exchange a refresh token for new access and refresh tokens
|
|
6715
|
+
*
|
|
6716
|
+
* @param body
|
|
6717
|
+
* @param options - additional request options
|
|
6718
|
+
*/
|
|
6719
|
+
post_consumer_user_auth(body, options) {
|
|
6720
|
+
return this.request('consumer', '/consumer/user/auth', 'POST', `/consumer/user/auth`, body, options);
|
|
6721
|
+
}
|
|
6705
6722
|
/**
|
|
6706
6723
|
* POST /ai/language/generate - Generate text from a given prompt
|
|
6707
6724
|
*
|