@compassdigital/sdk.typescript 4.860.0 → 4.862.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 +16 -16
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -9
- package/lib/index.js.map +1 -1
- package/lib/interface/forecasting.d.ts +17 -17
- package/lib/interface/forecasting.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +1 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +42 -44
- package/src/interface/forecasting.ts +17 -19
- package/src/interface/menu.ts +1 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1666,23 +1666,23 @@ import {
|
|
|
1666
1666
|
} from './interface/timeslots';
|
|
1667
1667
|
|
|
1668
1668
|
import {
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1669
|
+
PostForecastingProductionSheetBody,
|
|
1670
|
+
PostForecastingProductionSheetResponse,
|
|
1671
|
+
GetForecastingProductionSheetQuery,
|
|
1672
|
+
GetForecastingProductionSheetResponse,
|
|
1673
|
+
GetForecastingScheduledMenuDataQuery,
|
|
1674
|
+
GetForecastingScheduledMenuDataResponse,
|
|
1675
|
+
PostForecastingItemForecastDiffBody,
|
|
1676
|
+
PostForecastingItemForecastDiffResponse,
|
|
1677
|
+
GetForecastingForecastMetadataQuery,
|
|
1678
|
+
GetForecastingForecastMetadataResponse,
|
|
1679
|
+
GetForecastingPingResponse,
|
|
1680
|
+
PostForecastingChatBody,
|
|
1681
|
+
PostForecastingChatResponse,
|
|
1682
|
+
PostForecastingChatFeedbackBody,
|
|
1683
|
+
PostForecastingChatFeedbackResponse,
|
|
1684
|
+
PostForecastingChatStreamBody,
|
|
1685
|
+
PostForecastingChatStreamResponse,
|
|
1686
1686
|
GetForecastingHealthResponse,
|
|
1687
1687
|
} from './interface/forecasting';
|
|
1688
1688
|
|
|
@@ -19248,10 +19248,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
19248
19248
|
* @param body
|
|
19249
19249
|
* @param options - additional request options
|
|
19250
19250
|
*/
|
|
19251
|
-
|
|
19252
|
-
body:
|
|
19251
|
+
post_forecasting_production_sheet(
|
|
19252
|
+
body: PostForecastingProductionSheetBody,
|
|
19253
19253
|
options?: RequestOptions,
|
|
19254
|
-
): ResponsePromise<
|
|
19254
|
+
): ResponsePromise<PostForecastingProductionSheetResponse> {
|
|
19255
19255
|
return this.request(
|
|
19256
19256
|
'forecasting',
|
|
19257
19257
|
'/forecasting/production-sheet',
|
|
@@ -19267,11 +19267,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
19267
19267
|
*
|
|
19268
19268
|
* @param options - additional request options
|
|
19269
19269
|
*/
|
|
19270
|
-
|
|
19270
|
+
get_forecasting_production_sheet(
|
|
19271
19271
|
options: {
|
|
19272
|
-
query:
|
|
19272
|
+
query: GetForecastingProductionSheetQuery;
|
|
19273
19273
|
} & RequestOptions,
|
|
19274
|
-
): ResponsePromise<
|
|
19274
|
+
): ResponsePromise<GetForecastingProductionSheetResponse> {
|
|
19275
19275
|
return this.request(
|
|
19276
19276
|
'forecasting',
|
|
19277
19277
|
'/forecasting/production-sheet',
|
|
@@ -19287,11 +19287,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
19287
19287
|
*
|
|
19288
19288
|
* @param options - additional request options
|
|
19289
19289
|
*/
|
|
19290
|
-
|
|
19290
|
+
get_forecasting_scheduled_menu_data(
|
|
19291
19291
|
options: {
|
|
19292
|
-
query:
|
|
19292
|
+
query: GetForecastingScheduledMenuDataQuery;
|
|
19293
19293
|
} & RequestOptions,
|
|
19294
|
-
): ResponsePromise<
|
|
19294
|
+
): ResponsePromise<GetForecastingScheduledMenuDataResponse> {
|
|
19295
19295
|
return this.request(
|
|
19296
19296
|
'forecasting',
|
|
19297
19297
|
'/forecasting/scheduled-menu-data',
|
|
@@ -19308,10 +19308,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
19308
19308
|
* @param body
|
|
19309
19309
|
* @param options - additional request options
|
|
19310
19310
|
*/
|
|
19311
|
-
|
|
19312
|
-
body:
|
|
19311
|
+
post_forecasting_item_forecast_diff(
|
|
19312
|
+
body: PostForecastingItemForecastDiffBody,
|
|
19313
19313
|
options?: RequestOptions,
|
|
19314
|
-
): ResponsePromise<
|
|
19314
|
+
): ResponsePromise<PostForecastingItemForecastDiffResponse> {
|
|
19315
19315
|
return this.request(
|
|
19316
19316
|
'forecasting',
|
|
19317
19317
|
'/forecasting/item-forecast-diff',
|
|
@@ -19327,11 +19327,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
19327
19327
|
*
|
|
19328
19328
|
* @param options - additional request options
|
|
19329
19329
|
*/
|
|
19330
|
-
|
|
19330
|
+
get_forecasting_forecast_metadata(
|
|
19331
19331
|
options: {
|
|
19332
|
-
query:
|
|
19332
|
+
query: GetForecastingForecastMetadataQuery;
|
|
19333
19333
|
} & RequestOptions,
|
|
19334
|
-
): ResponsePromise<
|
|
19334
|
+
): ResponsePromise<GetForecastingForecastMetadataResponse> {
|
|
19335
19335
|
return this.request(
|
|
19336
19336
|
'forecasting',
|
|
19337
19337
|
'/forecasting/forecast-metadata',
|
|
@@ -19347,9 +19347,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
19347
19347
|
*
|
|
19348
19348
|
* @param options - additional request options
|
|
19349
19349
|
*/
|
|
19350
|
-
|
|
19351
|
-
options?: RequestOptions,
|
|
19352
|
-
): ResponsePromise<ProductionSheetControllerPingResponse> {
|
|
19350
|
+
get_forecasting_ping(options?: RequestOptions): ResponsePromise<GetForecastingPingResponse> {
|
|
19353
19351
|
return this.request(
|
|
19354
19352
|
'forecasting',
|
|
19355
19353
|
'/forecasting/ping',
|
|
@@ -19366,10 +19364,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
19366
19364
|
* @param body
|
|
19367
19365
|
* @param options - additional request options
|
|
19368
19366
|
*/
|
|
19369
|
-
|
|
19370
|
-
body:
|
|
19367
|
+
post_forecasting_chat(
|
|
19368
|
+
body: PostForecastingChatBody,
|
|
19371
19369
|
options?: RequestOptions,
|
|
19372
|
-
): ResponsePromise<
|
|
19370
|
+
): ResponsePromise<PostForecastingChatResponse> {
|
|
19373
19371
|
return this.request(
|
|
19374
19372
|
'forecasting',
|
|
19375
19373
|
'/forecasting/chat',
|
|
@@ -19386,10 +19384,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
19386
19384
|
* @param body
|
|
19387
19385
|
* @param options - additional request options
|
|
19388
19386
|
*/
|
|
19389
|
-
|
|
19390
|
-
body:
|
|
19387
|
+
post_forecasting_chat_feedback(
|
|
19388
|
+
body: PostForecastingChatFeedbackBody,
|
|
19391
19389
|
options?: RequestOptions,
|
|
19392
|
-
): ResponsePromise<
|
|
19390
|
+
): ResponsePromise<PostForecastingChatFeedbackResponse> {
|
|
19393
19391
|
return this.request(
|
|
19394
19392
|
'forecasting',
|
|
19395
19393
|
'/forecasting/chat-feedback',
|
|
@@ -19406,10 +19404,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
19406
19404
|
* @param body
|
|
19407
19405
|
* @param options - additional request options
|
|
19408
19406
|
*/
|
|
19409
|
-
|
|
19410
|
-
body:
|
|
19407
|
+
post_forecasting_chat_stream(
|
|
19408
|
+
body: PostForecastingChatStreamBody,
|
|
19411
19409
|
options?: RequestOptions,
|
|
19412
|
-
): ResponsePromise<
|
|
19410
|
+
): ResponsePromise<PostForecastingChatStreamResponse> {
|
|
19413
19411
|
return this.request(
|
|
19414
19412
|
'forecasting',
|
|
19415
19413
|
'/forecasting/chat-stream',
|
|
@@ -195,13 +195,13 @@ export interface HealthResponseDTO {
|
|
|
195
195
|
|
|
196
196
|
// POST /forecasting/production-sheet - Create a new Production Sheet
|
|
197
197
|
|
|
198
|
-
export type
|
|
198
|
+
export type PostForecastingProductionSheetBody = CreateProductionSheetDto;
|
|
199
199
|
|
|
200
|
-
export type
|
|
200
|
+
export type PostForecastingProductionSheetResponse = ProductionSheetResponseDto;
|
|
201
201
|
|
|
202
202
|
// GET /forecasting/production-sheet - Get production sheet page
|
|
203
203
|
|
|
204
|
-
export interface
|
|
204
|
+
export interface GetForecastingProductionSheetQuery {
|
|
205
205
|
// Site ID the production sheet is for
|
|
206
206
|
siteId: string;
|
|
207
207
|
// Start date (ISO-8601)
|
|
@@ -236,54 +236,52 @@ export interface ProductionSheetControllerGetProductionSheetPaginatedQuery {
|
|
|
236
236
|
sortOrder?: 'asc' | 'desc';
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
export type
|
|
240
|
-
ProductionSheetPaginatedResponseDto;
|
|
239
|
+
export type GetForecastingProductionSheetResponse = ProductionSheetPaginatedResponseDto;
|
|
241
240
|
|
|
242
241
|
// GET /forecasting/scheduled-menu-data - Get scheduled menu data for a site for a given date
|
|
243
242
|
|
|
244
|
-
export interface
|
|
243
|
+
export interface GetForecastingScheduledMenuDataQuery {
|
|
245
244
|
siteId: string;
|
|
246
245
|
date: string;
|
|
247
246
|
}
|
|
248
247
|
|
|
249
|
-
export type
|
|
248
|
+
export type GetForecastingScheduledMenuDataResponse = {};
|
|
250
249
|
|
|
251
250
|
// POST /forecasting/item-forecast-diff - Send initial and updated forecast values for any items that had their forecast values manually updated in the centric UI prior to hitting 'Print and Save'
|
|
252
251
|
|
|
253
|
-
export type
|
|
252
|
+
export type PostForecastingItemForecastDiffBody = ItemDiffOnSaveRequestDto;
|
|
254
253
|
|
|
255
|
-
export type
|
|
256
|
-
ItemForecastDiffResponse;
|
|
254
|
+
export type PostForecastingItemForecastDiffResponse = ItemForecastDiffResponse;
|
|
257
255
|
|
|
258
256
|
// GET /forecasting/forecast-metadata - Get forecast meta data from Luna
|
|
259
257
|
|
|
260
|
-
export interface
|
|
258
|
+
export interface GetForecastingForecastMetadataQuery {
|
|
261
259
|
site_id: string;
|
|
262
260
|
}
|
|
263
261
|
|
|
264
|
-
export type
|
|
262
|
+
export type GetForecastingForecastMetadataResponse = {};
|
|
265
263
|
|
|
266
264
|
// GET /forecasting/ping - Forecasting Service liveness check
|
|
267
265
|
|
|
268
|
-
export type
|
|
266
|
+
export type GetForecastingPingResponse = {};
|
|
269
267
|
|
|
270
268
|
// POST /forecasting/chat - Relay a user chat message to Luna
|
|
271
269
|
|
|
272
|
-
export type
|
|
270
|
+
export type PostForecastingChatBody = ChatMessageDto;
|
|
273
271
|
|
|
274
|
-
export type
|
|
272
|
+
export type PostForecastingChatResponse = {};
|
|
275
273
|
|
|
276
274
|
// POST /forecasting/chat-feedback - Send user feedback for Luna chat messages
|
|
277
275
|
|
|
278
|
-
export type
|
|
276
|
+
export type PostForecastingChatFeedbackBody = ChatFeedbackDto;
|
|
279
277
|
|
|
280
|
-
export type
|
|
278
|
+
export type PostForecastingChatFeedbackResponse = {};
|
|
281
279
|
|
|
282
280
|
// POST /forecasting/chat-stream - Stream chat responses from Luna for forecasting chat
|
|
283
281
|
|
|
284
|
-
export type
|
|
282
|
+
export type PostForecastingChatStreamBody = ChatMessageDto;
|
|
285
283
|
|
|
286
|
-
export type
|
|
284
|
+
export type PostForecastingChatStreamResponse = {};
|
|
287
285
|
|
|
288
286
|
// GET /forecasting/health - Forecasting Service health check
|
|
289
287
|
|