@compassdigital/sdk.typescript 4.732.0 → 4.733.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 +50 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +55 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/auth.d.ts +65 -0
- package/lib/interface/auth.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +139 -0
- package/src/interface/auth.ts +113 -0
package/lib/index.js
CHANGED
|
@@ -7017,6 +7017,61 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
7017
7017
|
get_auth_jwt_assertion_jwk(options) {
|
|
7018
7018
|
return this.request('auth', '/auth/jwt-assertion/jwk', 'GET', `/auth/jwt-assertion/jwk`, null, options);
|
|
7019
7019
|
}
|
|
7020
|
+
/**
|
|
7021
|
+
* GET /auth/connect/providers/{provider}/authorize - Starts linking a messaging identity (Slack, Teams) to the caller's CD account.
|
|
7022
|
+
*
|
|
7023
|
+
* @param provider
|
|
7024
|
+
* @param options - additional request options
|
|
7025
|
+
*/
|
|
7026
|
+
get_auth_connect_provider_authorize(provider, options) {
|
|
7027
|
+
return this.request('auth', '/auth/connect/providers/{provider}/authorize', 'GET', `/auth/connect/providers/${provider}/authorize`, null, options);
|
|
7028
|
+
}
|
|
7029
|
+
/**
|
|
7030
|
+
* POST /auth/connect/providers/{provider} - Registers a provider's OIDC config for a product (e.g. Slack for thrive).
|
|
7031
|
+
*
|
|
7032
|
+
* @param provider
|
|
7033
|
+
* @param body
|
|
7034
|
+
* @param options - additional request options
|
|
7035
|
+
*/
|
|
7036
|
+
post_auth_connect_provider_config(provider, body, options) {
|
|
7037
|
+
return this.request('auth', '/auth/connect/providers/{provider}', 'POST', `/auth/connect/providers/${provider}`, body, options);
|
|
7038
|
+
}
|
|
7039
|
+
/**
|
|
7040
|
+
* PUT /auth/connect/providers/{provider} - Updates a product's existing OIDC provider config (full replace).
|
|
7041
|
+
*
|
|
7042
|
+
* @param provider
|
|
7043
|
+
* @param body
|
|
7044
|
+
* @param options - additional request options
|
|
7045
|
+
*/
|
|
7046
|
+
put_auth_connect_provider_config(provider, body, options) {
|
|
7047
|
+
return this.request('auth', '/auth/connect/providers/{provider}', 'PUT', `/auth/connect/providers/${provider}`, body, options);
|
|
7048
|
+
}
|
|
7049
|
+
/**
|
|
7050
|
+
* GET /auth/connect/providers/{provider} - Returns a product's registered OIDC provider config.
|
|
7051
|
+
*
|
|
7052
|
+
* @param provider
|
|
7053
|
+
* @param options - additional request options
|
|
7054
|
+
*/
|
|
7055
|
+
get_auth_connect_provider_config(provider, options) {
|
|
7056
|
+
return this.request('auth', '/auth/connect/providers/{provider}', 'GET', `/auth/connect/providers/${provider}`, null, options);
|
|
7057
|
+
}
|
|
7058
|
+
/**
|
|
7059
|
+
* DELETE /auth/connect/providers/{provider} - Deletes a product's OIDC provider config.
|
|
7060
|
+
*
|
|
7061
|
+
* @param provider
|
|
7062
|
+
* @param options - additional request options
|
|
7063
|
+
*/
|
|
7064
|
+
delete_auth_connect_provider_config(provider, options) {
|
|
7065
|
+
return this.request('auth', '/auth/connect/providers/{provider}', 'DELETE', `/auth/connect/providers/${provider}`, null, options);
|
|
7066
|
+
}
|
|
7067
|
+
/**
|
|
7068
|
+
* GET /auth/connect/providers - Returns every registered connect provider config, across every product.
|
|
7069
|
+
*
|
|
7070
|
+
* @param options - additional request options
|
|
7071
|
+
*/
|
|
7072
|
+
get_auth_connect_providers(options) {
|
|
7073
|
+
return this.request('auth', '/auth/connect/providers', 'GET', `/auth/connect/providers`, null, options);
|
|
7074
|
+
}
|
|
7020
7075
|
/**
|
|
7021
7076
|
* GET /review - Get reviews by taxonomy
|
|
7022
7077
|
*
|