@quesmed/types-rn 2.6.118 → 2.6.119
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/models/Subscription.d.ts
CHANGED
package/models/Subscription.js
CHANGED
|
@@ -15,6 +15,7 @@ var ECancelReasons;
|
|
|
15
15
|
})(ECancelReasons = exports.ECancelReasons || (exports.ECancelReasons = {}));
|
|
16
16
|
var ESubSource;
|
|
17
17
|
(function (ESubSource) {
|
|
18
|
-
ESubSource[ESubSource["
|
|
19
|
-
ESubSource[ESubSource["
|
|
18
|
+
ESubSource[ESubSource["ALL"] = 0] = "ALL";
|
|
19
|
+
ESubSource[ESubSource["STRIPE"] = 1] = "STRIPE";
|
|
20
|
+
ESubSource[ESubSource["REVENUE_CAT"] = 2] = "REVENUE_CAT";
|
|
20
21
|
})(ESubSource = exports.ESubSource || (exports.ESubSource = {}));
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EProductDuration, EProductType, IEntitlement, IProductFeedback, IUser } from '../../../models';
|
|
1
|
+
import { EProductDuration, EProductType, ESubSource, IEntitlement, IProductFeedback, IUser } from '../../../models';
|
|
2
2
|
import { AdminData } from '../../types';
|
|
3
3
|
export declare const IMPORT_STATS: import("@apollo/client").DocumentNode;
|
|
4
4
|
export interface IImportStats {
|
|
@@ -34,6 +34,7 @@ export type IEarningsVar = {
|
|
|
34
34
|
to: Date | number | null;
|
|
35
35
|
force: boolean;
|
|
36
36
|
subType: ESubType;
|
|
37
|
+
source: ESubSource;
|
|
37
38
|
};
|
|
38
39
|
export type IEarningsData = AdminData<IRevenue[], 'earnings'>;
|
|
39
40
|
export declare const USER_STATUS: import("@apollo/client").DocumentNode;
|
|
@@ -22,6 +22,7 @@ exports.EARNINGS = (0, client_1.gql) `
|
|
|
22
22
|
$from: Date
|
|
23
23
|
$to: Date
|
|
24
24
|
$force: Boolean!
|
|
25
|
+
$source: Int
|
|
25
26
|
) {
|
|
26
27
|
admin {
|
|
27
28
|
earnings(
|
|
@@ -30,6 +31,7 @@ exports.EARNINGS = (0, client_1.gql) `
|
|
|
30
31
|
from: $from
|
|
31
32
|
to: $to
|
|
32
33
|
force: $force
|
|
34
|
+
source: $source
|
|
33
35
|
) {
|
|
34
36
|
entitlement {
|
|
35
37
|
id
|