@compassdigital/sdk.typescript 4.271.0 → 4.272.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/calendar.d.ts +12 -0
- package/lib/interface/calendar.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +15 -0
- package/src/interface/calendar.ts +18 -0
|
@@ -96,6 +96,13 @@ export interface MenuHours {
|
|
|
96
96
|
|
|
97
97
|
export type BrandOrMenuState = 'open' | 'closed' | 'preorder';
|
|
98
98
|
|
|
99
|
+
export interface PingResponse {
|
|
100
|
+
status?: string;
|
|
101
|
+
message?: string;
|
|
102
|
+
timestamp?: string;
|
|
103
|
+
service?: string;
|
|
104
|
+
}
|
|
105
|
+
|
|
99
106
|
// GET /calendar/{id}
|
|
100
107
|
|
|
101
108
|
export interface GetCalendarPath {
|
|
@@ -188,3 +195,14 @@ export interface PostCalendarSyncPath {
|
|
|
188
195
|
export type PostCalendarSyncResponse = Success;
|
|
189
196
|
|
|
190
197
|
export interface PostCalendarSyncRequest extends BaseRequest, PostCalendarSyncPath {}
|
|
198
|
+
|
|
199
|
+
// GET /ping - Service ping endpoint for basic connectivity check
|
|
200
|
+
|
|
201
|
+
export interface GetPingQuery {
|
|
202
|
+
// Graphql query string
|
|
203
|
+
_query?: string;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export type GetPingResponse = PingResponse;
|
|
207
|
+
|
|
208
|
+
export interface GetPingRequest extends BaseRequest, RequestQuery<GetPingQuery> {}
|