@compassdigital/sdk.typescript 4.817.0 → 4.819.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 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +28 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/mealplan.d.ts +106 -0
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/messages/events/DiscountCreatedEvent.d.ts +4 -2
- package/lib/messages/events/DiscountCreatedEvent.d.ts.map +1 -1
- package/lib/messages/events/DiscountPublishedEvent.d.ts +7 -2
- package/lib/messages/events/DiscountPublishedEvent.d.ts.map +1 -1
- package/lib/messages/events/DiscountUpdatedEvent.d.ts +4 -2
- package/lib/messages/events/DiscountUpdatedEvent.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +74 -0
- package/src/interface/mealplan.ts +180 -0
- package/src/messages/events/DiscountCreatedEvent.ts +9 -2
- package/src/messages/events/DiscountPublishedEvent.ts +12 -2
- package/src/messages/events/DiscountUpdatedEvent.ts +9 -2
package/lib/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { PostPartnerEventBody, PostPartnerEventResponse, GetPartnerSwaggerRespon
|
|
|
6
6
|
import { PostEmailBody, PostEmailResponse, GetEmailPingResponse, GetEmailHealthResponse } from './interface/email';
|
|
7
7
|
import { PostTaskBody, PostTaskResponse, GetTaskResponse, PatchTaskBody, PatchTaskResponse, DeleteTaskResponse, GetTaskOrderQuery, GetTaskOrderResponse, GetTaskOrderKdsResponse, PatchTaskOrderKdsBody, PatchTaskOrderKdsResponse, GetTaskAssigneeQuery, GetTaskAssigneeResponse, GetTaskLocationBrandQuery, GetTaskLocationBrandResponse, GetTaskLocationGroupQuery, GetTaskLocationGroupResponse } from './interface/task';
|
|
8
8
|
import { GetKdsDevicesQuery, GetKdsDevicesResponse, GetKdsDeviceLocationsQuery, GetKdsDeviceLocationsResponse, PostKdsDeviceAuthBody, PostKdsDeviceAuthResponse, DeleteKdsDeviceAuthResponse, PatchKdsDeviceInfoBody, PatchKdsDeviceInfoResponse, DeleteKdsDeviceInfoResponse, GetKdsSwaggerResponse } from './interface/kds';
|
|
9
|
-
import { PostMealplanBody, PostMealplanResponse, PutMealplanBody, PutMealplanResponse, GetMealplanQuery, GetMealplanResponse, DeleteMealplanBody, DeleteMealplanResponse, PostMealplanCallbackQuery, PostMealplanCallbackBody, PostMealplanCallbackResponse, GetMealplanBarcodeResponse, GetMealplanTenderResponse, DeleteMealplanTenderBody, DeleteMealplanTenderResponse, PatchMealplanTenderBody, PatchMealplanTenderResponse, PostMealplanVerifyQuery, PostMealplanVerifyBody, PostMealplanVerifyResponse, PutMealplanVerifyBody, PutMealplanVerifyResponse, PostMealplanAuthorizeBody, PostMealplanAuthorizeResponse, PostMealplanInternalTendersBody, PostMealplanInternalTendersResponse, PostMealplanInternalDebitBody, PostMealplanInternalDebitResponse, GetMealplanInstitutionsResponse, PostMealplanInternalRefundBody, PostMealplanInternalRefundResponse } from './interface/mealplan';
|
|
9
|
+
import { PostMealplanBody, PostMealplanResponse, PutMealplanBody, PutMealplanResponse, GetMealplanQuery, GetMealplanResponse, DeleteMealplanBody, DeleteMealplanResponse, PostMealplanCallbackQuery, PostMealplanCallbackBody, PostMealplanCallbackResponse, GetMealplanBarcodeResponse, GetMealplanTenderResponse, DeleteMealplanTenderBody, DeleteMealplanTenderResponse, PatchMealplanTenderBody, PatchMealplanTenderResponse, PostMealplanVerifyQuery, PostMealplanVerifyBody, PostMealplanVerifyResponse, PutMealplanVerifyBody, PutMealplanVerifyResponse, PostMealplanAuthorizeBody, PostMealplanAuthorizeResponse, PostMealplanInternalTendersBody, PostMealplanInternalTendersResponse, PostMealplanInternalDebitBody, PostMealplanInternalDebitResponse, GetMealplanInstitutionsResponse, PostMealplanInternalRefundBody, PostMealplanInternalRefundResponse, GetMealplanHealthQuery, GetMealplanHealthResponse, GetMealplanHealthGuestListQuery, GetMealplanHealthGuestListResponse, GetMealplanHealthGuestQuery, GetMealplanHealthGuestResponse } from './interface/mealplan';
|
|
10
10
|
import { PostDatalakeSqlBody, PostDatalakeSqlResponse, GetDatalakeSwaggerResponse } from './interface/datalake';
|
|
11
11
|
import { PostPromoBody, PostPromoResponse, GetPromosQuery, GetPromosResponse, GetPromoQuery, GetPromoResponse, PutPromoBody, PutPromoResponse, DeletePromoResponse, GetPromoCompanyLocationGroupQuery, GetPromoCompanyLocationGroupResponse, PostPromoValidateVoucherBody, PostPromoValidateVoucherResponse, PostPromoValidateVouchersBody, PostPromoValidateVouchersResponse, PostPromoRedeemVoucherBody, PostPromoRedeemVoucherResponse, PostPromoRedeemVouchersBody, PostPromoRedeemVouchersResponse, PostPromoVoucherBody, PostPromoVoucherResponse, PutPromoVoucherBody, PutPromoVoucherResponse, DeletePromoVoucherQuery, DeletePromoVoucherResponse, PostPromoCustomerBody, PostPromoCustomerResponse, DeletePromoCustomerBody, DeletePromoCustomerResponse, PostPromoVoucherReverseBody, PostPromoVoucherReverseResponse, PostPromoVoucherReverseStackableBody, PostPromoVoucherReverseStackableResponse, PostPromoVoucherifyActivityExecuteBody, PostPromoVoucherifyActivityExecuteResponse, GetPromoVoucherifyActivityConfigResponse, GetPromoPingResponse$0, GetPromoHealthResponse$0 } from './interface/promo';
|
|
12
12
|
import { GetConfigAppconfigResponse, GetConfigResponse, PostConfigBody, PostConfigResponse, PutConfigBody, PutConfigResponse, DeleteConfigResponse, GetConfigPublicResponse, PostConfigPublicBody, PostConfigPublicResponse, PutConfigPublicBody, PutConfigPublicResponse, DeleteConfigPublicResponse, GetConfigStationPrivateResponse, PutConfigStationPrivateBody, PutConfigStationPrivateResponse, GetConfigStationPublicResponse, PutConfigStationPublicBody, PutConfigStationPublicResponse, GetConfigSitePrivateResponse, PutConfigSitePrivateBody, PutConfigSitePrivateResponse, GetConfigSitePublicResponse, PutConfigSitePublicBody, PutConfigSitePublicResponse, GetConfigBusinessUnitPrivateResponse, PutConfigBusinessUnitPrivateBody, PutConfigBusinessUnitPrivateResponse, GetConfigBusinessUnitPublicResponse, PutConfigBusinessUnitPublicBody, PutConfigBusinessUnitPublicResponse, GetConfigHealthResponse, GetConfigPingResponse } from './interface/config';
|
|
@@ -1296,6 +1296,34 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
1296
1296
|
* @param options - additional request options
|
|
1297
1297
|
*/
|
|
1298
1298
|
post_mealplan_internal_refund(id: string, body: PostMealplanInternalRefundBody, options?: RequestOptions): ResponsePromise<PostMealplanInternalRefundResponse>;
|
|
1299
|
+
/**
|
|
1300
|
+
* GET /mealplan/{id}/health - Meal plan health and findings for a site
|
|
1301
|
+
*
|
|
1302
|
+
* @param id - Meal plan id. The site it names is what the report is keyed by.
|
|
1303
|
+
* @param options - additional request options
|
|
1304
|
+
*/
|
|
1305
|
+
get_mealplan_health(id: string, options?: {
|
|
1306
|
+
query?: GetMealplanHealthQuery;
|
|
1307
|
+
} & RequestOptions): ResponsePromise<GetMealplanHealthResponse>;
|
|
1308
|
+
/**
|
|
1309
|
+
* GET /mealplan/{id}/health/guest - Guests affected by meal plan failures at a site
|
|
1310
|
+
*
|
|
1311
|
+
* @param id - Meal plan id. The site it names is what the report is keyed by.
|
|
1312
|
+
* @param options - additional request options
|
|
1313
|
+
*/
|
|
1314
|
+
get_mealplan_health_guest_list(id: string, options?: {
|
|
1315
|
+
query?: GetMealplanHealthGuestListQuery;
|
|
1316
|
+
} & RequestOptions): ResponsePromise<GetMealplanHealthGuestListResponse>;
|
|
1317
|
+
/**
|
|
1318
|
+
* GET /mealplan/{id}/health/guest/{user} - What happened to one guest at a site
|
|
1319
|
+
*
|
|
1320
|
+
* @param id - Meal plan id. The site it names is what the report is keyed by.
|
|
1321
|
+
* @param user - Guest user id
|
|
1322
|
+
* @param options - additional request options
|
|
1323
|
+
*/
|
|
1324
|
+
get_mealplan_health_guest(id: string, user: string, options?: {
|
|
1325
|
+
query?: GetMealplanHealthGuestQuery;
|
|
1326
|
+
} & RequestOptions): ResponsePromise<GetMealplanHealthGuestResponse>;
|
|
1299
1327
|
/**
|
|
1300
1328
|
* POST /datalake/sql - Query datalake for data
|
|
1301
1329
|
*
|