@compassdigital/sdk.typescript 4.972.0 → 4.973.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.
@@ -4858,6 +4858,28 @@ export interface ConsumerPostPaymentCashlessBody {
4858
4858
  token: string;
4859
4859
  }
4860
4860
 
4861
+ export interface DeleteConsumerPaymentTokenBody {
4862
+ // Payment token to delete
4863
+ token: string;
4864
+ // CDL Site Id
4865
+ siteId: string;
4866
+ }
4867
+
4868
+ export interface DeleteConsumerPaymentTokenResponse {
4869
+ // Whether the payment token was deleted
4870
+ success?: boolean;
4871
+ }
4872
+
4873
+ export interface DeleteConsumerPaymentCashlessBody {
4874
+ // IDs of the cashless tenders to delete
4875
+ tenders?: string[];
4876
+ }
4877
+
4878
+ export interface DeleteConsumerPaymentCashlessResponse {
4879
+ // Cashless tenders remaining after the delete
4880
+ tenders?: ConsumerCashlessTender[];
4881
+ }
4882
+
4861
4883
  export interface ReviewDTO {
4862
4884
  taxonomy?: Record<string, any>;
4863
4885
  id: string;
@@ -5534,6 +5556,17 @@ export type PostPaymentCashlessConsumerBody = ConsumerPostPaymentCashlessBody;
5534
5556
 
5535
5557
  export type PostPaymentCashlessConsumerResponse = ConsumerGetPaymentCashlessResponse;
5536
5558
 
5559
+ // DELETE /consumer/payment/{id}/cashless - Delete payment cashless tenders
5560
+
5561
+ export interface DeleteConsumerPaymentCashlessPath {
5562
+ // Payment ID
5563
+ id: string;
5564
+ }
5565
+
5566
+ export type DeleteConsumerPaymentCashlessBody$0 = DeleteConsumerPaymentCashlessBody;
5567
+
5568
+ export type DeleteConsumerPaymentCashlessResponse$0 = DeleteConsumerPaymentCashlessResponse;
5569
+
5537
5570
  // GET /consumer/payment/{id}/clienttoken - get payment client token
5538
5571
 
5539
5572
  export interface GetPaymentClienttokenConsumerPath {
@@ -5586,6 +5619,12 @@ export type PostConsumerPaymentTokenBody$0 = PostConsumerPaymentTokenBody;
5586
5619
 
5587
5620
  export type PostConsumerPaymentTokenResponse$0 = PostConsumerPaymentTokenResponse;
5588
5621
 
5622
+ // DELETE /consumer/payment/token - Delete a saved payment token from the user profile
5623
+
5624
+ export type DeleteConsumerPaymentTokenBody$0 = DeleteConsumerPaymentTokenBody;
5625
+
5626
+ export type DeleteConsumerPaymentTokenResponse$0 = DeleteConsumerPaymentTokenResponse;
5627
+
5589
5628
  // GET /consumer/shoppingcart/{id} - Get a shopping cart by ID
5590
5629
 
5591
5630
  export interface GetConsumerShoppingcartPath {