@compassdigital/sdk.typescript 4.731.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 +60 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +64 -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/lib/interface/consumer.d.ts +21 -0
- package/lib/interface/consumer.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +163 -0
- package/src/interface/auth.ts +113 -0
- package/src/interface/consumer.ts +41 -0
package/lib/index.js
CHANGED
|
@@ -5864,6 +5864,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
5864
5864
|
get_consumer_location_multigroup(id, options) {
|
|
5865
5865
|
return this.request('consumer', '/consumer/location-multigroup/{id}', 'GET', `/consumer/location-multigroup/${id}`, null, options);
|
|
5866
5866
|
}
|
|
5867
|
+
/**
|
|
5868
|
+
* GET /consumer/client-groups/{client} - Get a client's nearest sites with their business units and stations
|
|
5869
|
+
*
|
|
5870
|
+
* @param client - Client slug whose sites are returned
|
|
5871
|
+
* @param options - additional request options
|
|
5872
|
+
*/
|
|
5873
|
+
get_consumer_client_groups(client, options) {
|
|
5874
|
+
return this.request('consumer', '/consumer/client-groups/{client}', 'GET', `/consumer/client-groups/${client}`, null, options);
|
|
5875
|
+
}
|
|
5867
5876
|
/**
|
|
5868
5877
|
* GET /consumer/active-menus/{stationId} - Get current menu
|
|
5869
5878
|
*
|
|
@@ -7008,6 +7017,61 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
7008
7017
|
get_auth_jwt_assertion_jwk(options) {
|
|
7009
7018
|
return this.request('auth', '/auth/jwt-assertion/jwk', 'GET', `/auth/jwt-assertion/jwk`, null, options);
|
|
7010
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
|
+
}
|
|
7011
7075
|
/**
|
|
7012
7076
|
* GET /review - Get reviews by taxonomy
|
|
7013
7077
|
*
|