@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compassdigital/sdk.typescript",
3
- "version": "4.860.0",
3
+ "version": "4.862.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -1666,23 +1666,23 @@ import {
1666
1666
  } from './interface/timeslots';
1667
1667
 
1668
1668
  import {
1669
- ProductionSheetControllerCreateSheetBody,
1670
- ProductionSheetControllerCreateSheetResponse,
1671
- ProductionSheetControllerGetProductionSheetPaginatedQuery,
1672
- ProductionSheetControllerGetProductionSheetPaginatedResponse,
1673
- ProductionSheetControllerGetScheduledMenuDataQuery,
1674
- ProductionSheetControllerGetScheduledMenuDataResponse,
1675
- ProductionSheetControllerSaveItemForecastDifferentialBody,
1676
- ProductionSheetControllerSaveItemForecastDifferentialResponse,
1677
- ProductionSheetControllerGetForecastMetaDataQuery,
1678
- ProductionSheetControllerGetForecastMetaDataResponse,
1679
- ProductionSheetControllerPingResponse,
1680
- ProductionSheetControllerSendChatMessageBody,
1681
- ProductionSheetControllerSendChatMessageResponse,
1682
- ProductionSheetControllerSendChatFeedbackBody,
1683
- ProductionSheetControllerSendChatFeedbackResponse,
1684
- ProductionSheetControllerChatStreamBody,
1685
- ProductionSheetControllerChatStreamResponse,
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
- ProductionSheetController_createSheet(
19252
- body: ProductionSheetControllerCreateSheetBody,
19251
+ post_forecasting_production_sheet(
19252
+ body: PostForecastingProductionSheetBody,
19253
19253
  options?: RequestOptions,
19254
- ): ResponsePromise<ProductionSheetControllerCreateSheetResponse> {
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
- ProductionSheetController_getProductionSheetPaginated(
19270
+ get_forecasting_production_sheet(
19271
19271
  options: {
19272
- query: ProductionSheetControllerGetProductionSheetPaginatedQuery;
19272
+ query: GetForecastingProductionSheetQuery;
19273
19273
  } & RequestOptions,
19274
- ): ResponsePromise<ProductionSheetControllerGetProductionSheetPaginatedResponse> {
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
- ProductionSheetController_getScheduledMenuData(
19290
+ get_forecasting_scheduled_menu_data(
19291
19291
  options: {
19292
- query: ProductionSheetControllerGetScheduledMenuDataQuery;
19292
+ query: GetForecastingScheduledMenuDataQuery;
19293
19293
  } & RequestOptions,
19294
- ): ResponsePromise<ProductionSheetControllerGetScheduledMenuDataResponse> {
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
- ProductionSheetController_saveItemForecastDifferential(
19312
- body: ProductionSheetControllerSaveItemForecastDifferentialBody,
19311
+ post_forecasting_item_forecast_diff(
19312
+ body: PostForecastingItemForecastDiffBody,
19313
19313
  options?: RequestOptions,
19314
- ): ResponsePromise<ProductionSheetControllerSaveItemForecastDifferentialResponse> {
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
- ProductionSheetController_getForecastMetaData(
19330
+ get_forecasting_forecast_metadata(
19331
19331
  options: {
19332
- query: ProductionSheetControllerGetForecastMetaDataQuery;
19332
+ query: GetForecastingForecastMetadataQuery;
19333
19333
  } & RequestOptions,
19334
- ): ResponsePromise<ProductionSheetControllerGetForecastMetaDataResponse> {
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
- ProductionSheetController_ping(
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
- ProductionSheetController_sendChatMessage(
19370
- body: ProductionSheetControllerSendChatMessageBody,
19367
+ post_forecasting_chat(
19368
+ body: PostForecastingChatBody,
19371
19369
  options?: RequestOptions,
19372
- ): ResponsePromise<ProductionSheetControllerSendChatMessageResponse> {
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
- ProductionSheetController_sendChatFeedback(
19390
- body: ProductionSheetControllerSendChatFeedbackBody,
19387
+ post_forecasting_chat_feedback(
19388
+ body: PostForecastingChatFeedbackBody,
19391
19389
  options?: RequestOptions,
19392
- ): ResponsePromise<ProductionSheetControllerSendChatFeedbackResponse> {
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
- ProductionSheetController_chatStream(
19410
- body: ProductionSheetControllerChatStreamBody,
19407
+ post_forecasting_chat_stream(
19408
+ body: PostForecastingChatStreamBody,
19411
19409
  options?: RequestOptions,
19412
- ): ResponsePromise<ProductionSheetControllerChatStreamResponse> {
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 ProductionSheetControllerCreateSheetBody = CreateProductionSheetDto;
198
+ export type PostForecastingProductionSheetBody = CreateProductionSheetDto;
199
199
 
200
- export type ProductionSheetControllerCreateSheetResponse = ProductionSheetResponseDto;
200
+ export type PostForecastingProductionSheetResponse = ProductionSheetResponseDto;
201
201
 
202
202
  // GET /forecasting/production-sheet - Get production sheet page
203
203
 
204
- export interface ProductionSheetControllerGetProductionSheetPaginatedQuery {
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 ProductionSheetControllerGetProductionSheetPaginatedResponse =
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 ProductionSheetControllerGetScheduledMenuDataQuery {
243
+ export interface GetForecastingScheduledMenuDataQuery {
245
244
  siteId: string;
246
245
  date: string;
247
246
  }
248
247
 
249
- export type ProductionSheetControllerGetScheduledMenuDataResponse = {};
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 ProductionSheetControllerSaveItemForecastDifferentialBody = ItemDiffOnSaveRequestDto;
252
+ export type PostForecastingItemForecastDiffBody = ItemDiffOnSaveRequestDto;
254
253
 
255
- export type ProductionSheetControllerSaveItemForecastDifferentialResponse =
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 ProductionSheetControllerGetForecastMetaDataQuery {
258
+ export interface GetForecastingForecastMetadataQuery {
261
259
  site_id: string;
262
260
  }
263
261
 
264
- export type ProductionSheetControllerGetForecastMetaDataResponse = {};
262
+ export type GetForecastingForecastMetadataResponse = {};
265
263
 
266
264
  // GET /forecasting/ping - Forecasting Service liveness check
267
265
 
268
- export type ProductionSheetControllerPingResponse = {};
266
+ export type GetForecastingPingResponse = {};
269
267
 
270
268
  // POST /forecasting/chat - Relay a user chat message to Luna
271
269
 
272
- export type ProductionSheetControllerSendChatMessageBody = ChatMessageDto;
270
+ export type PostForecastingChatBody = ChatMessageDto;
273
271
 
274
- export type ProductionSheetControllerSendChatMessageResponse = {};
272
+ export type PostForecastingChatResponse = {};
275
273
 
276
274
  // POST /forecasting/chat-feedback - Send user feedback for Luna chat messages
277
275
 
278
- export type ProductionSheetControllerSendChatFeedbackBody = ChatFeedbackDto;
276
+ export type PostForecastingChatFeedbackBody = ChatFeedbackDto;
279
277
 
280
- export type ProductionSheetControllerSendChatFeedbackResponse = {};
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 ProductionSheetControllerChatStreamBody = ChatMessageDto;
282
+ export type PostForecastingChatStreamBody = ChatMessageDto;
285
283
 
286
- export type ProductionSheetControllerChatStreamResponse = {};
284
+ export type PostForecastingChatStreamResponse = {};
287
285
 
288
286
  // GET /forecasting/health - Forecasting Service health check
289
287
 
@@ -458,6 +458,7 @@ export interface Items {
458
458
 
459
459
  export interface PatchMenu {
460
460
  id?: string;
461
+ location_brand?: string;
461
462
  meta?: {
462
463
  // User ID
463
464
  locked_by_user?: string;