@compassdigital/sdk.typescript 4.837.0 → 4.838.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 +45 -10
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +57 -10
- package/lib/index.js.map +1 -1
- package/lib/interface/auth.d.ts +22 -0
- package/lib/interface/auth.d.ts.map +1 -1
- package/lib/interface/consumer.d.ts +24 -10
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +0 -27
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +136 -24
- package/src/interface/auth.ts +49 -0
- package/src/interface/consumer.ts +42 -13
- package/src/interface/menu.ts +0 -37
package/lib/index.js
CHANGED
|
@@ -4837,16 +4837,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4837
4837
|
post_menu_v4_brand_category_attach_items(id, body, options) {
|
|
4838
4838
|
return this.request('menu', '/menu/v4/brand/{id}/category/attach-items', 'POST', `/menu/v4/brand/${id}/category/attach-items`, body, options);
|
|
4839
4839
|
}
|
|
4840
|
-
/**
|
|
4841
|
-
* POST /menu/v4/brand/{id}/swap-category-items
|
|
4842
|
-
*
|
|
4843
|
-
* @param id
|
|
4844
|
-
* @param body
|
|
4845
|
-
* @param options - additional request options
|
|
4846
|
-
*/
|
|
4847
|
-
post_menu_v4_brand_swap_category_items(id, body, options) {
|
|
4848
|
-
return this.request('menu', '/menu/v4/brand/{id}/swap-category-items', 'POST', `/menu/v4/brand/${id}/swap-category-items`, body, options);
|
|
4849
|
-
}
|
|
4850
4840
|
/**
|
|
4851
4841
|
* GET /menu/v4/brand/{id}/catalog-backup/versions
|
|
4852
4842
|
*
|
|
@@ -7476,6 +7466,63 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
7476
7466
|
post_auth_authorize_sso(body, options) {
|
|
7477
7467
|
return this.request('auth', '/auth/authorize/sso', 'POST', `/auth/authorize/sso`, body, options);
|
|
7478
7468
|
}
|
|
7469
|
+
/**
|
|
7470
|
+
* POST /auth/authorize/deny - User declined the authorization request (RFC 6749 s4.1.2.1 access_denied).
|
|
7471
|
+
*
|
|
7472
|
+
* @param body
|
|
7473
|
+
* @param options - additional request options
|
|
7474
|
+
*/
|
|
7475
|
+
post_auth_authorize_deny(body, options) {
|
|
7476
|
+
return this.request('auth', '/auth/authorize/deny', 'POST', `/auth/authorize/deny`, body, options);
|
|
7477
|
+
}
|
|
7478
|
+
/**
|
|
7479
|
+
* GET /.well-known/oauth-authorization-server - Authorization-server metadata at the root path (RFC 8414).
|
|
7480
|
+
*
|
|
7481
|
+
* @param options - additional request options
|
|
7482
|
+
*/
|
|
7483
|
+
get_well_known_oauth_authorization_server(options) {
|
|
7484
|
+
return this.request('auth', '/.well-known/oauth-authorization-server', 'GET', `/.well-known/oauth-authorization-server`, null, options);
|
|
7485
|
+
}
|
|
7486
|
+
/**
|
|
7487
|
+
* GET /.well-known/oauth-authorization-server/auth - Authorization-server metadata with the issuer path inserted (RFC 8414).
|
|
7488
|
+
*
|
|
7489
|
+
* @param options - additional request options
|
|
7490
|
+
*/
|
|
7491
|
+
get_well_known_oauth_authorization_server_auth(options) {
|
|
7492
|
+
return this.request('auth', '/.well-known/oauth-authorization-server/auth', 'GET', `/.well-known/oauth-authorization-server/auth`, null, options);
|
|
7493
|
+
}
|
|
7494
|
+
/**
|
|
7495
|
+
* GET /.well-known/openid-configuration - OpenID Provider metadata at the root path (OIDC discovery).
|
|
7496
|
+
*
|
|
7497
|
+
* @param options - additional request options
|
|
7498
|
+
*/
|
|
7499
|
+
get_well_known_openid_configuration(options) {
|
|
7500
|
+
return this.request('auth', '/.well-known/openid-configuration', 'GET', `/.well-known/openid-configuration`, null, options);
|
|
7501
|
+
}
|
|
7502
|
+
/**
|
|
7503
|
+
* GET /.well-known/openid-configuration/auth - OpenID Provider metadata with the issuer path inserted (OIDC discovery).
|
|
7504
|
+
*
|
|
7505
|
+
* @param options - additional request options
|
|
7506
|
+
*/
|
|
7507
|
+
get_well_known_openid_configuration_auth(options) {
|
|
7508
|
+
return this.request('auth', '/.well-known/openid-configuration/auth', 'GET', `/.well-known/openid-configuration/auth`, null, options);
|
|
7509
|
+
}
|
|
7510
|
+
/**
|
|
7511
|
+
* GET /.well-known/oauth-protected-resource - Protected-resource metadata when the URL names no resource (RFC 9728).
|
|
7512
|
+
*
|
|
7513
|
+
* @param options - additional request options
|
|
7514
|
+
*/
|
|
7515
|
+
get_well_known_oauth_protected_resource(options) {
|
|
7516
|
+
return this.request('auth', '/.well-known/oauth-protected-resource', 'GET', `/.well-known/oauth-protected-resource`, null, options);
|
|
7517
|
+
}
|
|
7518
|
+
/**
|
|
7519
|
+
* GET /.well-known/oauth-protected-resource/agent/thrive/mcp - Protected-resource metadata for the thrive MCP endpoint (RFC 9728 §3.1).
|
|
7520
|
+
*
|
|
7521
|
+
* @param options - additional request options
|
|
7522
|
+
*/
|
|
7523
|
+
get_well_known_oauth_protected_resource_agent_thrive_mcp(options) {
|
|
7524
|
+
return this.request('auth', '/.well-known/oauth-protected-resource/agent/thrive/mcp', 'GET', `/.well-known/oauth-protected-resource/agent/thrive/mcp`, null, options);
|
|
7525
|
+
}
|
|
7479
7526
|
/**
|
|
7480
7527
|
* GET /review - Get reviews by taxonomy
|
|
7481
7528
|
*
|