@compassdigital/sdk.typescript 4.734.0 → 4.735.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 +36 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +45 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/auth.d.ts +37 -0
- package/lib/interface/auth.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +105 -0
- package/src/interface/auth.ts +70 -0
package/lib/index.js
CHANGED
|
@@ -7072,6 +7072,51 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
7072
7072
|
get_auth_connect_providers(options) {
|
|
7073
7073
|
return this.request('auth', '/auth/connect/providers', 'GET', `/auth/connect/providers`, null, options);
|
|
7074
7074
|
}
|
|
7075
|
+
/**
|
|
7076
|
+
* POST /auth/oauth-clients - Registers a new OAuth client and returns its client_secret exactly once.
|
|
7077
|
+
*
|
|
7078
|
+
* @param body
|
|
7079
|
+
* @param options - additional request options
|
|
7080
|
+
*/
|
|
7081
|
+
post_auth_oauth_clients(body, options) {
|
|
7082
|
+
return this.request('auth', '/auth/oauth-clients', 'POST', `/auth/oauth-clients`, body, options);
|
|
7083
|
+
}
|
|
7084
|
+
/**
|
|
7085
|
+
* GET /auth/oauth-clients - Returns every registered OAuth client, redacted.
|
|
7086
|
+
*
|
|
7087
|
+
* @param options - additional request options
|
|
7088
|
+
*/
|
|
7089
|
+
get_auth_oauth_clients(options) {
|
|
7090
|
+
return this.request('auth', '/auth/oauth-clients', 'GET', `/auth/oauth-clients`, null, options);
|
|
7091
|
+
}
|
|
7092
|
+
/**
|
|
7093
|
+
* PUT /auth/oauth-clients/{clientId} - Updates an OAuth client's display name.
|
|
7094
|
+
*
|
|
7095
|
+
* @param clientId
|
|
7096
|
+
* @param body
|
|
7097
|
+
* @param options - additional request options
|
|
7098
|
+
*/
|
|
7099
|
+
put_auth_oauth_client(clientId, body, options) {
|
|
7100
|
+
return this.request('auth', '/auth/oauth-clients/{clientId}', 'PUT', `/auth/oauth-clients/${clientId}`, body, options);
|
|
7101
|
+
}
|
|
7102
|
+
/**
|
|
7103
|
+
* GET /auth/oauth-clients/{clientId} - Returns a single registered OAuth client, redacted.
|
|
7104
|
+
*
|
|
7105
|
+
* @param clientId
|
|
7106
|
+
* @param options - additional request options
|
|
7107
|
+
*/
|
|
7108
|
+
get_auth_oauth_client(clientId, options) {
|
|
7109
|
+
return this.request('auth', '/auth/oauth-clients/{clientId}', 'GET', `/auth/oauth-clients/${clientId}`, null, options);
|
|
7110
|
+
}
|
|
7111
|
+
/**
|
|
7112
|
+
* DELETE /auth/oauth-clients/{clientId} - Deletes a registered OAuth client.
|
|
7113
|
+
*
|
|
7114
|
+
* @param clientId
|
|
7115
|
+
* @param options - additional request options
|
|
7116
|
+
*/
|
|
7117
|
+
delete_auth_oauth_client(clientId, options) {
|
|
7118
|
+
return this.request('auth', '/auth/oauth-clients/{clientId}', 'DELETE', `/auth/oauth-clients/${clientId}`, null, options);
|
|
7119
|
+
}
|
|
7075
7120
|
/**
|
|
7076
7121
|
* GET /review - Get reviews by taxonomy
|
|
7077
7122
|
*
|