decord/source/modules/premium/UserTrialActionCreators.android.tsx

33 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 7373
2026-07-24 07:16:23 +00:00
// Function ID: 59488
2026-07-23 10:11:24 +00:00
// Dependencies: [5, 653, 507, 686, 2]
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
// Module 7373
import asyncGeneratorStep from "asyncGeneratorStep";
import ME from "ME";
let closure_4;
let closure_5;
const require = arg1;
({ Endpoints: closure_4, PaymentGateways: closure_5 } = ME);
const result = require("_isNativeReflectConstruct").fileFinishedImporting("modules/premium/UserTrialActionCreators.android.tsx");
export default {
2026-07-20 16:05:17 +00:00
acknowledgeUserTrialOffer(premiumTrialOffer) {
2026-07-23 10:11:24 +00:00
let closure_0 = premiumTrialOffer;
2026-07-20 16:05:17 +00:00
return callback(async () => {
2026-07-23 10:11:24 +00:00
if (null == outer1_0.expires_at) {
const HTTP = callback(outer2_2[2]).HTTP;
let obj = { url: outer2_4.USER_TRIAL_OFFER_ACKNOWLEDGED(outer1_0.id) };
obj = { payment_gateway: outer2_5.GOOGLE };
2026-07-20 16:05:17 +00:00
obj.body = obj;
2026-07-23 10:11:24 +00:00
obj.rejectWithError = callback(outer2_2[2]).rejectWithMigratedError();
obj = outer2_1(outer2_2[3]);
2026-07-20 16:05:17 +00:00
const obj1 = { type: "BILLING_USER_TRIAL_OFFER_ACKNOWLEDGED_SUCCESS", userTrialOffer: yield HTTP.post(obj).body };
obj.dispatch(obj1);
2026-07-23 10:11:24 +00:00
const obj5 = callback(outer2_2[2]);
2026-07-20 16:05:17 +00:00
}
})();
}
};