@compassdigital/sdk.typescript 4.267.0 → 4.269.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 +29 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +27 -3
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +62 -3
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/messages/commands/UpdateOrderStatusCommand.d.ts +16 -0
- package/lib/messages/commands/UpdateOrderStatusCommand.d.ts.map +1 -0
- package/lib/messages/commands/UpdateOrderStatusCommand.js +4 -0
- package/lib/messages/commands/UpdateOrderStatusCommand.js.map +1 -0
- package/lib/messages/commands/index.d.ts +1 -0
- package/lib/messages/commands/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +52 -7
- package/src/interface/menu.ts +97 -4
- package/src/messages/commands/UpdateOrderStatusCommand.ts +17 -0
- package/src/messages/commands/index.ts +2 -0
package/lib/interface/menu.d.ts
CHANGED
|
@@ -362,6 +362,28 @@ export interface ZippedExcelExport {
|
|
|
362
362
|
file?: string;
|
|
363
363
|
format?: string;
|
|
364
364
|
}
|
|
365
|
+
export interface PingResponse {
|
|
366
|
+
status: string;
|
|
367
|
+
message: string;
|
|
368
|
+
timestamp: string;
|
|
369
|
+
service: string;
|
|
370
|
+
}
|
|
371
|
+
export interface HealthResponse {
|
|
372
|
+
status: 'healthy' | 'unhealthy' | 'degraded';
|
|
373
|
+
timestamp: string;
|
|
374
|
+
version: string;
|
|
375
|
+
dependencies: HealthDependency[];
|
|
376
|
+
metadata: {
|
|
377
|
+
region: string;
|
|
378
|
+
service: string;
|
|
379
|
+
};
|
|
380
|
+
}
|
|
381
|
+
export interface HealthDependency {
|
|
382
|
+
name: string;
|
|
383
|
+
status: 'healthy' | 'unhealthy' | 'degraded';
|
|
384
|
+
responseTimeMs: number;
|
|
385
|
+
details: string | null;
|
|
386
|
+
}
|
|
365
387
|
export interface GlobalMenuGroupDTO {
|
|
366
388
|
name?: string;
|
|
367
389
|
is_active?: boolean;
|
|
@@ -1681,6 +1703,18 @@ export interface CategoryItemRelationshipDTO {
|
|
|
1681
1703
|
permissions?: Record<string, any>;
|
|
1682
1704
|
[index: string]: any;
|
|
1683
1705
|
}
|
|
1706
|
+
export interface HealthDependencyDTO {
|
|
1707
|
+
name: string;
|
|
1708
|
+
status: string;
|
|
1709
|
+
responseTimeMs?: number;
|
|
1710
|
+
details?: string;
|
|
1711
|
+
[index: string]: any;
|
|
1712
|
+
}
|
|
1713
|
+
export interface HealthMetadataDTO {
|
|
1714
|
+
region: string;
|
|
1715
|
+
service: string;
|
|
1716
|
+
[index: string]: any;
|
|
1717
|
+
}
|
|
1684
1718
|
export interface GetMenusQuery {
|
|
1685
1719
|
query: string;
|
|
1686
1720
|
_query?: string;
|
|
@@ -1888,6 +1922,18 @@ export type PostMenuPartialGroupItemOptionsResponse = Items;
|
|
|
1888
1922
|
export interface PostMenuPartialGroupItemOptionsRequest extends BaseRequest, RequestQuery<PostMenuPartialGroupItemOptionsQuery>, PostMenuPartialGroupItemOptionsPath {
|
|
1889
1923
|
body: PostMenuPartialGroupItemOptionsBody;
|
|
1890
1924
|
}
|
|
1925
|
+
export interface PingQuery {
|
|
1926
|
+
_query?: string;
|
|
1927
|
+
}
|
|
1928
|
+
export type PingResponse$0 = PingResponse;
|
|
1929
|
+
export interface PingRequest extends BaseRequest, RequestQuery<PingQuery> {
|
|
1930
|
+
}
|
|
1931
|
+
export interface HealthQuery {
|
|
1932
|
+
_query?: string;
|
|
1933
|
+
}
|
|
1934
|
+
export type HealthResponse$0 = HealthResponse;
|
|
1935
|
+
export interface HealthRequest extends BaseRequest, RequestQuery<HealthQuery> {
|
|
1936
|
+
}
|
|
1891
1937
|
export interface PostMenuV3LocalMenuGroupBody {
|
|
1892
1938
|
name: string;
|
|
1893
1939
|
is_active?: boolean;
|
|
@@ -7903,16 +7949,29 @@ export interface GetMenuV4CategoryAttachableItemsResponse {
|
|
|
7903
7949
|
}
|
|
7904
7950
|
export interface GetMenuV4CategoryAttachableItemsRequest extends BaseRequest, RequestQuery<GetMenuV4CategoryAttachableItemsQuery>, GetMenuV4CategoryAttachableItemsPath {
|
|
7905
7951
|
}
|
|
7906
|
-
export interface
|
|
7952
|
+
export interface GetMenuV3PingQuery {
|
|
7907
7953
|
_query?: string;
|
|
7908
7954
|
}
|
|
7909
|
-
export interface
|
|
7955
|
+
export interface GetMenuV3PingResponse {
|
|
7910
7956
|
status: string;
|
|
7911
7957
|
message: string;
|
|
7912
7958
|
timestamp: string;
|
|
7913
7959
|
service: string;
|
|
7914
7960
|
[index: string]: any;
|
|
7915
7961
|
}
|
|
7916
|
-
export interface
|
|
7962
|
+
export interface GetMenuV3PingRequest extends BaseRequest, RequestQuery<GetMenuV3PingQuery> {
|
|
7963
|
+
}
|
|
7964
|
+
export interface GetMenuV3HealthQuery {
|
|
7965
|
+
_query?: string;
|
|
7966
|
+
}
|
|
7967
|
+
export interface GetMenuV3HealthResponse {
|
|
7968
|
+
status: string;
|
|
7969
|
+
timestamp: string;
|
|
7970
|
+
version: string;
|
|
7971
|
+
dependencies: HealthDependencyDTO[];
|
|
7972
|
+
metadata: HealthMetadataDTO;
|
|
7973
|
+
[index: string]: any;
|
|
7974
|
+
}
|
|
7975
|
+
export interface GetMenuV3HealthRequest extends BaseRequest, RequestQuery<GetMenuV3HealthQuery> {
|
|
7917
7976
|
}
|
|
7918
7977
|
//# sourceMappingURL=menu.d.ts.map
|