@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.
- package/lib/index.d.ts +14 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +13 -3
- package/lib/index.js.map +1 -1
- package/lib/interface/consumer.d.ts +54 -6
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/discount.d.ts +3 -1
- package/lib/interface/discount.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +31 -5
- package/src/interface/consumer.ts +93 -6
- package/src/interface/discount.ts +6 -3
|
@@ -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
|
}
|