@compassdigital/sdk.typescript 4.251.0 → 4.253.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 +9 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +8 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +12 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +15 -0
- package/src/interface/location.ts +1 -1
- package/src/interface/menu.ts +17 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1036,6 +1036,8 @@ import {
|
|
|
1036
1036
|
DeleteMenuV4CategoryDetachItemsResponse,
|
|
1037
1037
|
GetMenuV4CategoryAttachableItemsQuery,
|
|
1038
1038
|
GetMenuV4CategoryAttachableItemsResponse,
|
|
1039
|
+
GetMenuPingQuery,
|
|
1040
|
+
GetMenuPingResponse,
|
|
1039
1041
|
} from './interface/menu';
|
|
1040
1042
|
|
|
1041
1043
|
import {
|
|
@@ -11343,6 +11345,19 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
11343
11345
|
);
|
|
11344
11346
|
}
|
|
11345
11347
|
|
|
11348
|
+
/**
|
|
11349
|
+
* GET /menu/ping
|
|
11350
|
+
*
|
|
11351
|
+
* @param options - additional request options
|
|
11352
|
+
*/
|
|
11353
|
+
get_menu_ping(
|
|
11354
|
+
options?: {
|
|
11355
|
+
query?: GetMenuPingQuery;
|
|
11356
|
+
} & RequestOptions,
|
|
11357
|
+
): ResponsePromise<GetMenuPingResponse> {
|
|
11358
|
+
return this.request('menu', '/menu/ping', 'GET', `/menu/ping`, null, options);
|
|
11359
|
+
}
|
|
11360
|
+
|
|
11346
11361
|
/**
|
|
11347
11362
|
* GET /catalog/status - Get the status of the Catalog service
|
|
11348
11363
|
*
|
|
@@ -691,7 +691,7 @@ export interface GetLocationMultigroupQuery {
|
|
|
691
691
|
longitude?: string;
|
|
692
692
|
// Merge multigroups from different providers. Set false to get only from queried provider
|
|
693
693
|
merge?: string;
|
|
694
|
-
//
|
|
694
|
+
// @deprecated
|
|
695
695
|
expanded?: boolean;
|
|
696
696
|
// return additional attributes in response
|
|
697
697
|
extended?: boolean;
|
package/src/interface/menu.ts
CHANGED
|
@@ -10499,3 +10499,20 @@ export interface GetMenuV4CategoryAttachableItemsRequest
|
|
|
10499
10499
|
extends BaseRequest,
|
|
10500
10500
|
RequestQuery<GetMenuV4CategoryAttachableItemsQuery>,
|
|
10501
10501
|
GetMenuV4CategoryAttachableItemsPath {}
|
|
10502
|
+
|
|
10503
|
+
// GET /menu/ping
|
|
10504
|
+
|
|
10505
|
+
export interface GetMenuPingQuery {
|
|
10506
|
+
// Graphql query string
|
|
10507
|
+
_query?: string;
|
|
10508
|
+
}
|
|
10509
|
+
|
|
10510
|
+
export interface GetMenuPingResponse {
|
|
10511
|
+
status: string;
|
|
10512
|
+
message: string;
|
|
10513
|
+
timestamp: string;
|
|
10514
|
+
service: string;
|
|
10515
|
+
[index: string]: any;
|
|
10516
|
+
}
|
|
10517
|
+
|
|
10518
|
+
export interface GetMenuPingRequest extends BaseRequest, RequestQuery<GetMenuPingQuery> {}
|