-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathinfltrRev.js
41 lines (37 loc) · 1.2 KB
/
infltrRev.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
var obj = JSON.parse($response.body);
obj= {
"request_date_ms" : 1609502899253,
"request_date" : "2021-01-01T12:08:19Z",
"subscriber" : {
"non_subscriptions" : {
},
"first_seen" : "2021-01-01T12:06:19Z",
"original_application_version" : null,
"other_purchases" : {
},
"management_url" : null,
"subscriptions" : {
"com.Yooshr.infltr.subscriptionPremium.Yearly" : {
"is_sandbox" : false,
"period_type" : "normal",
"billing_issues_detected_at" : null,
"unsubscribe_detected_at" : null,
"expires_date" : "2030-02-18T07:52:54Z",
"original_purchase_date" : "2020-02-11T07:52:55Z",
"purchase_date" : "2020-02-11T07:52:54Z",
"store" : "app_store"
}
},
"entitlements" : {
"com.Yooshr.infltr.subscriptionPremium" : {
"expires_date" : "2030-02-18T07:52:54Z",
"product_identifier" : "com.Yooshr.infltr.subscriptionPremium.Yearly",
"purchase_date" : "2020-02-11T07:52:54Z"
}
},
"original_purchase_date" : null,
"original_app_user_id" : "$RCAnonymousID:84aa90d4df174bb5bac79bbb28682960",
"last_seen" : "2021-01-01T12:06:19Z"
}
};
$done({body: JSON.stringify(obj)});