@compassdigital/sdk.typescript 4.340.0 → 4.342.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.
@@ -449,13 +449,16 @@ export type PutDiscountPublishBody = PutDiscountPublishRequestDTO;
449
449
 
450
450
  export type PutDiscountPublishResponse = PutDiscountPublishResponseDTO;
451
451
 
452
- // GET /discount/rewards - Get eligible rewards for a customer and site
452
+ // GET /discount/site/{id}/rewards - Get eligible rewards for a customer and site
453
+
454
+ export interface GetRewardsPath {
455
+ // Site ID
456
+ id: string;
457
+ }
453
458
 
454
459
  export interface GetRewardsQuery {
455
460
  // Customer ID to fetch rewards for
456
461
  customerId?: string;
457
- // Site ID to filter rewards by
458
- siteId: string;
459
462
  // Graphql query string
460
463
  _query?: string;
461
464
  }