@compassdigital/sdk.typescript 4.920.0 → 4.922.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 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +18 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/auth.d.ts +8 -0
- package/lib/interface/auth.d.ts.map +1 -1
- package/lib/interface/centricos.d.ts +63 -1
- package/lib/interface/centricos.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +46 -0
- package/src/interface/auth.ts +15 -0
- package/src/interface/centricos.ts +86 -2
package/lib/index.js
CHANGED
|
@@ -7227,6 +7227,14 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
7227
7227
|
get_centricos_user_logs_csv(options) {
|
|
7228
7228
|
return this.request('centricos', '/centricos/user/logs/csv', 'GET', `/centricos/user/logs/csv`, null, options);
|
|
7229
7229
|
}
|
|
7230
|
+
/**
|
|
7231
|
+
* GET /centricos/loyalty/campaigns - List loyalty campaigns with redemptionCount composed from campaign stats for CentricOS
|
|
7232
|
+
*
|
|
7233
|
+
* @param options - additional request options
|
|
7234
|
+
*/
|
|
7235
|
+
get_centricos_loyalty_campaigns(options) {
|
|
7236
|
+
return this.request('centricos', '/centricos/loyalty/campaigns', 'GET', `/centricos/loyalty/campaigns`, null, options);
|
|
7237
|
+
}
|
|
7230
7238
|
/**
|
|
7231
7239
|
* GET /tax/v1/health-check - Health Check
|
|
7232
7240
|
*
|
|
@@ -7391,6 +7399,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
7391
7399
|
get_auth_connect_provider_authorize(provider, options) {
|
|
7392
7400
|
return this.request('auth', '/auth/connect/providers/{provider}/authorize', 'GET', `/auth/connect/providers/${provider}/authorize`, null, options);
|
|
7393
7401
|
}
|
|
7402
|
+
/**
|
|
7403
|
+
* POST /auth/connect/providers/{provider}/revoke - Revokes a messaging identity's link to its CD account.
|
|
7404
|
+
*
|
|
7405
|
+
* @param provider
|
|
7406
|
+
* @param body
|
|
7407
|
+
* @param options - additional request options
|
|
7408
|
+
*/
|
|
7409
|
+
post_auth_connect_provider_revoke(provider, body, options) {
|
|
7410
|
+
return this.request('auth', '/auth/connect/providers/{provider}/revoke', 'POST', `/auth/connect/providers/${provider}/revoke`, body, options);
|
|
7411
|
+
}
|
|
7394
7412
|
/**
|
|
7395
7413
|
* POST /auth/connect/providers/{provider} - Registers a provider's OIDC config for a product (e.g. Slack for thrive).
|
|
7396
7414
|
*
|