@mpgd/platform 0.24.0 → 0.25.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/dist/index.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -164,6 +164,11 @@ export type PromotionRewardResult = {
|
|
|
164
164
|
* and receipt finalization remain server responsibilities.
|
|
165
165
|
*/
|
|
166
166
|
export interface PromotionRewardAdapter {
|
|
167
|
+
/** Read cached/provider-confirmed results only. Must never authorize or start a native payout. */
|
|
168
|
+
recoverReward?(input: {
|
|
169
|
+
readonly campaignId: string;
|
|
170
|
+
readonly idempotencyKey: string;
|
|
171
|
+
}): Promise<PromotionRewardResult>;
|
|
167
172
|
getAvailability(input: {
|
|
168
173
|
readonly campaignId: string;
|
|
169
174
|
}): Promise<PromotionRewardAvailability>;
|
package/package.json
CHANGED