@compassdigital/sdk.typescript 4.836.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 +70 -11
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +87 -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/config.d.ts +24 -0
- package/lib/interface/config.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 +208 -24
- package/src/interface/auth.ts +49 -0
- package/src/interface/config.ts +47 -0
- package/src/interface/consumer.ts +42 -13
- package/src/interface/menu.ts +0 -37
package/lib/index.js
CHANGED
|
@@ -1861,6 +1861,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1861
1861
|
put_config_station_public(key, body, options) {
|
|
1862
1862
|
return this.request('config', '/config/station/{key}/public', 'PUT', `/config/station/${key}/public`, body, options);
|
|
1863
1863
|
}
|
|
1864
|
+
/**
|
|
1865
|
+
* PATCH /config/station/{key}/public - Partially update a station's public configuration
|
|
1866
|
+
*
|
|
1867
|
+
* @param key - station key (a location/brand id)
|
|
1868
|
+
* @param body
|
|
1869
|
+
* @param options - additional request options
|
|
1870
|
+
*/
|
|
1871
|
+
patch_config_station_public(key, body, options) {
|
|
1872
|
+
return this.request('config', '/config/station/{key}/public', 'PATCH', `/config/station/${key}/public`, body, options);
|
|
1873
|
+
}
|
|
1864
1874
|
/**
|
|
1865
1875
|
* GET /config/site/{key}/private - Get a site's private configuration
|
|
1866
1876
|
*
|
|
@@ -1899,6 +1909,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1899
1909
|
put_config_site_public(key, body, options) {
|
|
1900
1910
|
return this.request('config', '/config/site/{key}/public', 'PUT', `/config/site/${key}/public`, body, options);
|
|
1901
1911
|
}
|
|
1912
|
+
/**
|
|
1913
|
+
* PATCH /config/site/{key}/public - Partially update a site's public configuration
|
|
1914
|
+
*
|
|
1915
|
+
* @param key - site key (a location/group id)
|
|
1916
|
+
* @param body
|
|
1917
|
+
* @param options - additional request options
|
|
1918
|
+
*/
|
|
1919
|
+
patch_config_site_public(key, body, options) {
|
|
1920
|
+
return this.request('config', '/config/site/{key}/public', 'PATCH', `/config/site/${key}/public`, body, options);
|
|
1921
|
+
}
|
|
1902
1922
|
/**
|
|
1903
1923
|
* GET /config/business-unit/{key}/private - Get a business unit's private configuration
|
|
1904
1924
|
*
|
|
@@ -1937,6 +1957,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1937
1957
|
put_config_business_unit_public(key, body, options) {
|
|
1938
1958
|
return this.request('config', '/config/business-unit/{key}/public', 'PUT', `/config/business-unit/${key}/public`, body, options);
|
|
1939
1959
|
}
|
|
1960
|
+
/**
|
|
1961
|
+
* PATCH /config/business-unit/{key}/public - Partially update a business unit's public configuration
|
|
1962
|
+
*
|
|
1963
|
+
* @param key - business unit key (a location/location id)
|
|
1964
|
+
* @param body
|
|
1965
|
+
* @param options - additional request options
|
|
1966
|
+
*/
|
|
1967
|
+
patch_config_business_unit_public(key, body, options) {
|
|
1968
|
+
return this.request('config', '/config/business-unit/{key}/public', 'PATCH', `/config/business-unit/${key}/public`, body, options);
|
|
1969
|
+
}
|
|
1940
1970
|
/**
|
|
1941
1971
|
* GET /config/health - Config Service readiness and dependency health check
|
|
1942
1972
|
*
|
|
@@ -4807,16 +4837,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4807
4837
|
post_menu_v4_brand_category_attach_items(id, body, options) {
|
|
4808
4838
|
return this.request('menu', '/menu/v4/brand/{id}/category/attach-items', 'POST', `/menu/v4/brand/${id}/category/attach-items`, body, options);
|
|
4809
4839
|
}
|
|
4810
|
-
/**
|
|
4811
|
-
* POST /menu/v4/brand/{id}/swap-category-items
|
|
4812
|
-
*
|
|
4813
|
-
* @param id
|
|
4814
|
-
* @param body
|
|
4815
|
-
* @param options - additional request options
|
|
4816
|
-
*/
|
|
4817
|
-
post_menu_v4_brand_swap_category_items(id, body, options) {
|
|
4818
|
-
return this.request('menu', '/menu/v4/brand/{id}/swap-category-items', 'POST', `/menu/v4/brand/${id}/swap-category-items`, body, options);
|
|
4819
|
-
}
|
|
4820
4840
|
/**
|
|
4821
4841
|
* GET /menu/v4/brand/{id}/catalog-backup/versions
|
|
4822
4842
|
*
|
|
@@ -7446,6 +7466,63 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
7446
7466
|
post_auth_authorize_sso(body, options) {
|
|
7447
7467
|
return this.request('auth', '/auth/authorize/sso', 'POST', `/auth/authorize/sso`, body, options);
|
|
7448
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
|
+
}
|
|
7449
7526
|
/**
|
|
7450
7527
|
* GET /review - Get reviews by taxonomy
|
|
7451
7528
|
*
|