@compassdigital/sdk.typescript 4.691.0 → 4.695.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 +23 -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/delivery.d.ts +91 -0
- package/lib/interface/delivery.d.ts.map +1 -1
- package/lib/interface/location.d.ts +1 -0
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/messages/commands/UpdateOrderStatusCommand.d.ts +1 -1
- package/lib/messages/commands/UpdateOrderStatusCommand.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +70 -1
- package/src/interface/delivery.ts +160 -0
- package/src/interface/location.ts +1 -0
- package/src/messages/commands/UpdateOrderStatusCommand.ts +2 -0
package/lib/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ import { DeleteDiscountResponse, GetDiscountResponse, PutDiscountBody, PutDiscou
|
|
|
32
32
|
import { GetLoyaltyBundlesQuery, GetLoyaltyBundlesResponse, PostLoyaltyBundleBody, PostLoyaltyBundleResponse, GetLoyaltyBundleResponse, PatchLoyaltyBundleBody, PatchLoyaltyBundleResponse, DeleteLoyaltyBundleResponse, GetLoyaltyCampaignsQuery, GetLoyaltyCampaignsResponse, PostLoyaltyCampaignBody, PostLoyaltyCampaignResponse, GetLoyaltyCampaignResponse, PutLoyaltyCampaignBody, PutLoyaltyCampaignResponse, DeleteLoyaltyCampaignResponse, PatchLoyaltyCampaignStatusBody, PatchLoyaltyCampaignStatusResponse, PostLoyaltyCampaignCloneResponse, GetLoyaltyVouchersQuery, GetLoyaltyVouchersResponse, PostLoyaltyVoucherBody, PostLoyaltyVoucherResponse, GetLoyaltyVoucherResponse, PutLoyaltyVoucherBody, PutLoyaltyVoucherResponse, DeleteLoyaltyVoucherResponse, PostLoyaltyVoucherRevokeBody, PostLoyaltyVoucherRevokeResponse, PostLoyaltyVouchersBatchBody, PostLoyaltyVouchersBatchResponse, GetLoyaltyVoucherRedemptionsQuery, GetLoyaltyVoucherRedemptionsResponse, PostLoyaltyVouchersValidateBody, PostLoyaltyVouchersValidateResponse, PostLoyaltyVouchersRedeemBody, PostLoyaltyVouchersRedeemResponse, GetLoyaltySegmentsQuery, GetLoyaltySegmentsResponse, PostLoyaltySegmentBody, PostLoyaltySegmentResponse, GetLoyaltySegmentAttributesResponse, PostLoyaltySegmentPreviewCountBody, PostLoyaltySegmentPreviewCountResponse, GetLoyaltySegmentResponse, PatchLoyaltySegmentBody, PatchLoyaltySegmentResponse, DeleteLoyaltySegmentResponse, GetLoyaltySegmentMembersQuery, GetLoyaltySegmentMembersResponse, PostLoyaltySegmentMembersBody, PostLoyaltySegmentMembersResponse, DeleteLoyaltySegmentMembersBody, DeleteLoyaltySegmentMembersResponse, PostLoyaltyRedemptionRollbackBody, PostLoyaltyRedemptionRollbackResponse, GetLoyaltyRewardsQuery, GetLoyaltyRewardsResponse, PostLoyaltyRewardBody, PostLoyaltyRewardResponse, GetLoyaltyRewardResponse, PutLoyaltyRewardBody, PutLoyaltyRewardResponse, PatchLoyaltyRewardStatusBody, PatchLoyaltyRewardStatusResponse, GetLoyaltyRewardCardsQuery, GetLoyaltyRewardCardsResponse, GetLoyaltyRewardCardResponse, PostLoyaltyRewardCardAdjustBody, PostLoyaltyRewardCardAdjustResponse, PostLoyaltyRewardOrderEarnBody, PostLoyaltyRewardOrderEarnResponse } from './interface/loyalty';
|
|
33
33
|
import { GetTimeslotsBrandQuery, GetTimeslotsBrandResponse, PostTimeslotsBrandsBody, PostTimeslotsBrandsResponse, PostTimeslotsBrandIncrementBody, PostTimeslotsBrandIncrementResponse } from './interface/timeslots';
|
|
34
34
|
import { ProductionSheetControllerCreateSheetBody, ProductionSheetControllerCreateSheetResponse, ProductionSheetControllerGetProductionSheetPaginatedQuery, ProductionSheetControllerGetProductionSheetPaginatedResponse, ProductionSheetControllerGetScheduledMenuDataQuery, ProductionSheetControllerGetScheduledMenuDataResponse, ProductionSheetControllerSaveItemForecastDifferentialBody, ProductionSheetControllerSaveItemForecastDifferentialResponse, ProductionSheetControllerSendChatMessageBody, ProductionSheetControllerSendChatMessageResponse, ProductionSheetControllerSendChatFeedbackBody, ProductionSheetControllerSendChatFeedbackResponse, ProductionSheetControllerGetForecastMetaDataQuery, ProductionSheetControllerGetForecastMetaDataResponse, ProductionSheetControllerPingResponse, ProductionSheetControllerChatStreamBody, ProductionSheetControllerChatStreamResponse, GetForecastingHealthResponse } from './interface/forecasting';
|
|
35
|
-
import { GetDeliveryHealthResponse, PostDeliveryOrderReadyResponse } from './interface/delivery';
|
|
35
|
+
import { GetDeliveryHealthResponse, PostDeliveryOrderReadyResponse, PostDeliveryOrderOpenLidResponse, PostDeliveryOrderCloseLidResponse, PostDeliveryOrderStatusBody, PostDeliveryOrderStatusResponse } from './interface/delivery';
|
|
36
36
|
import { BaseServiceClient, RequestOptions, ResponsePromise } from './base';
|
|
37
37
|
export * from './base';
|
|
38
38
|
export declare class ServiceClient extends BaseServiceClient {
|
|
@@ -6561,5 +6561,27 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
6561
6561
|
* @param options - additional request options
|
|
6562
6562
|
*/
|
|
6563
6563
|
post_delivery_order_ready(id: string, options?: RequestOptions): ResponsePromise<PostDeliveryOrderReadyResponse>;
|
|
6564
|
+
/**
|
|
6565
|
+
* POST /delivery/order/{id}/open - Open the lid of an AVRIDE order
|
|
6566
|
+
*
|
|
6567
|
+
* @param id
|
|
6568
|
+
* @param options - additional request options
|
|
6569
|
+
*/
|
|
6570
|
+
post_delivery_order_open_lid(id: string, options?: RequestOptions): ResponsePromise<PostDeliveryOrderOpenLidResponse>;
|
|
6571
|
+
/**
|
|
6572
|
+
* POST /delivery/order/{id}/close - Close the lid of an AVRIDE order
|
|
6573
|
+
*
|
|
6574
|
+
* @param id
|
|
6575
|
+
* @param options - additional request options
|
|
6576
|
+
*/
|
|
6577
|
+
post_delivery_order_close_lid(id: string, options?: RequestOptions): ResponsePromise<PostDeliveryOrderCloseLidResponse>;
|
|
6578
|
+
/**
|
|
6579
|
+
* POST /delivery/order/{id}/status - Update a delivery order's status on its delivery-orders record
|
|
6580
|
+
*
|
|
6581
|
+
* @param id
|
|
6582
|
+
* @param body
|
|
6583
|
+
* @param options - additional request options
|
|
6584
|
+
*/
|
|
6585
|
+
post_delivery_order_status(id: string, body: PostDeliveryOrderStatusBody, options?: RequestOptions): ResponsePromise<PostDeliveryOrderStatusResponse>;
|
|
6564
6586
|
}
|
|
6565
6587
|
//# sourceMappingURL=index.d.ts.map
|