@metamask-previews/subscription-controller 7.0.0-preview-c2ef75d18 → 7.0.0-preview-6b4bcdab3
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/CHANGELOG.md +1 -33
- package/dist/SubscriptionController-method-action-types.cjs.map +1 -1
- package/dist/SubscriptionController-method-action-types.d.cts +18 -55
- package/dist/SubscriptionController-method-action-types.d.cts.map +1 -1
- package/dist/SubscriptionController-method-action-types.d.mts +18 -55
- package/dist/SubscriptionController-method-action-types.d.mts.map +1 -1
- package/dist/SubscriptionController-method-action-types.mjs.map +1 -1
- package/dist/SubscriptionController.cjs +45 -165
- package/dist/SubscriptionController.cjs.map +1 -1
- package/dist/SubscriptionController.d.cts +17 -53
- package/dist/SubscriptionController.d.cts.map +1 -1
- package/dist/SubscriptionController.d.mts +17 -53
- package/dist/SubscriptionController.d.mts.map +1 -1
- package/dist/SubscriptionController.mjs +46 -166
- package/dist/SubscriptionController.mjs.map +1 -1
- package/dist/SubscriptionService-method-action-types.cjs.map +1 -1
- package/dist/SubscriptionService-method-action-types.d.cts +1 -5
- package/dist/SubscriptionService-method-action-types.d.cts.map +1 -1
- package/dist/SubscriptionService-method-action-types.d.mts +1 -5
- package/dist/SubscriptionService-method-action-types.d.mts.map +1 -1
- package/dist/SubscriptionService-method-action-types.mjs.map +1 -1
- package/dist/SubscriptionService-structs.cjs +12 -35
- package/dist/SubscriptionService-structs.cjs.map +1 -1
- package/dist/SubscriptionService-structs.d.cts +237 -185
- package/dist/SubscriptionService-structs.d.cts.map +1 -1
- package/dist/SubscriptionService-structs.d.mts +237 -185
- package/dist/SubscriptionService-structs.d.mts.map +1 -1
- package/dist/SubscriptionService-structs.mjs +14 -37
- package/dist/SubscriptionService-structs.mjs.map +1 -1
- package/dist/SubscriptionService.cjs +2 -24
- package/dist/SubscriptionService.cjs.map +1 -1
- package/dist/SubscriptionService.d.cts +1 -5
- package/dist/SubscriptionService.d.cts.map +1 -1
- package/dist/SubscriptionService.d.mts +1 -5
- package/dist/SubscriptionService.d.mts.map +1 -1
- package/dist/SubscriptionService.mjs +2 -24
- package/dist/SubscriptionService.mjs.map +1 -1
- package/dist/constants.cjs +0 -2
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.d.cts +0 -2
- package/dist/constants.d.cts.map +1 -1
- package/dist/constants.d.mts +0 -2
- package/dist/constants.d.mts.map +1 -1
- package/dist/constants.mjs +0 -2
- package/dist/constants.mjs.map +1 -1
- package/dist/index.cjs +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types.cjs +1 -27
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +10 -171
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts +10 -171
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +0 -26
- package/dist/types.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import type { TokenPaymentInfo } from "./types.mjs";
|
|
3
|
-
export declare const SubscriptionStruct: Struct<{
|
|
1
|
+
export declare const SubscriptionStruct: import("@metamask/superstruct").Struct<{
|
|
4
2
|
id: string;
|
|
5
3
|
products: {
|
|
6
|
-
name: "shield"
|
|
4
|
+
name: "shield";
|
|
7
5
|
currency: "usd";
|
|
8
6
|
unitAmount: number;
|
|
9
7
|
unitDecimals: number;
|
|
@@ -39,32 +37,31 @@ export declare const SubscriptionStruct: Struct<{
|
|
|
39
37
|
canceledAt?: string | undefined;
|
|
40
38
|
inactiveAt?: string | undefined;
|
|
41
39
|
}, {
|
|
42
|
-
id: Struct<string, null>;
|
|
43
|
-
products: Struct<{
|
|
44
|
-
name: "shield"
|
|
40
|
+
id: import("@metamask/superstruct").Struct<string, null>;
|
|
41
|
+
products: import("@metamask/superstruct").Struct<{
|
|
42
|
+
name: "shield";
|
|
45
43
|
currency: "usd";
|
|
46
44
|
unitAmount: number;
|
|
47
45
|
unitDecimals: number;
|
|
48
|
-
}[], Struct<{
|
|
49
|
-
name: "shield"
|
|
46
|
+
}[], import("@metamask/superstruct").Struct<{
|
|
47
|
+
name: "shield";
|
|
50
48
|
currency: "usd";
|
|
51
49
|
unitAmount: number;
|
|
52
50
|
unitDecimals: number;
|
|
53
51
|
}, {
|
|
54
|
-
name: Struct<"shield"
|
|
52
|
+
name: import("@metamask/superstruct").Struct<"shield", {
|
|
55
53
|
shield: "shield";
|
|
56
|
-
money_account_plus: "money_account_plus";
|
|
57
54
|
}>;
|
|
58
|
-
currency: Struct<"usd", {
|
|
55
|
+
currency: import("@metamask/superstruct").Struct<"usd", {
|
|
59
56
|
usd: "usd";
|
|
60
57
|
}>;
|
|
61
|
-
unitAmount: Struct<number, null>;
|
|
62
|
-
unitDecimals: Struct<number, null>;
|
|
58
|
+
unitAmount: import("@metamask/superstruct").Struct<number, null>;
|
|
59
|
+
unitDecimals: import("@metamask/superstruct").Struct<number, null>;
|
|
63
60
|
}>>;
|
|
64
|
-
currentPeriodStart: Struct<string, null>;
|
|
65
|
-
currentPeriodEnd: Struct<string, null>;
|
|
66
|
-
cancelAtPeriodEnd: Struct<boolean | undefined, null>;
|
|
67
|
-
status: Struct<"incomplete" | "incomplete_expired" | "provisional" | "trialing" | "active" | "past_due" | "unpaid" | "canceled" | "paused", {
|
|
61
|
+
currentPeriodStart: import("@metamask/superstruct").Struct<string, null>;
|
|
62
|
+
currentPeriodEnd: import("@metamask/superstruct").Struct<string, null>;
|
|
63
|
+
cancelAtPeriodEnd: import("@metamask/superstruct").Struct<boolean | undefined, null>;
|
|
64
|
+
status: import("@metamask/superstruct").Struct<"incomplete" | "incomplete_expired" | "provisional" | "trialing" | "active" | "past_due" | "unpaid" | "canceled" | "paused", {
|
|
68
65
|
incomplete: "incomplete";
|
|
69
66
|
incomplete_expired: "incomplete_expired";
|
|
70
67
|
provisional: "provisional";
|
|
@@ -75,11 +72,11 @@ export declare const SubscriptionStruct: Struct<{
|
|
|
75
72
|
canceled: "canceled";
|
|
76
73
|
paused: "paused";
|
|
77
74
|
}>;
|
|
78
|
-
interval: Struct<"month" | "year", {
|
|
75
|
+
interval: import("@metamask/superstruct").Struct<"month" | "year", {
|
|
79
76
|
month: "month";
|
|
80
77
|
year: "year";
|
|
81
78
|
}>;
|
|
82
|
-
paymentMethod: Struct<{
|
|
79
|
+
paymentMethod: import("@metamask/superstruct").Struct<{
|
|
83
80
|
type: "card";
|
|
84
81
|
card: {
|
|
85
82
|
brand: string;
|
|
@@ -95,26 +92,26 @@ export declare const SubscriptionStruct: Struct<{
|
|
|
95
92
|
error?: "approval_transaction_too_old" | "approval_transaction_reverted" | "approval_transaction_max_verification_attempts_reached" | "insufficient_balance" | "insufficient_allowance" | undefined;
|
|
96
93
|
};
|
|
97
94
|
}, null>;
|
|
98
|
-
trialPeriodDays: Struct<number | undefined, null>;
|
|
99
|
-
trialStart: Struct<string | undefined, null>;
|
|
100
|
-
trialEnd: Struct<string | undefined, null>;
|
|
101
|
-
endDate: Struct<string | undefined, null>;
|
|
102
|
-
canceledAt: Struct<string | undefined, null>;
|
|
103
|
-
cancelType: Struct<"allowed_immediate" | "allowed_at_period_end" | "not_allowed" | "not_allowed_pending_verification", {
|
|
95
|
+
trialPeriodDays: import("@metamask/superstruct").Struct<number | undefined, null>;
|
|
96
|
+
trialStart: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
97
|
+
trialEnd: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
98
|
+
endDate: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
99
|
+
canceledAt: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
100
|
+
cancelType: import("@metamask/superstruct").Struct<"allowed_immediate" | "allowed_at_period_end" | "not_allowed" | "not_allowed_pending_verification", {
|
|
104
101
|
allowed_immediate: "allowed_immediate";
|
|
105
102
|
allowed_at_period_end: "allowed_at_period_end";
|
|
106
103
|
not_allowed: "not_allowed";
|
|
107
104
|
not_allowed_pending_verification: "not_allowed_pending_verification";
|
|
108
105
|
}>;
|
|
109
|
-
inactiveAt: Struct<string | undefined, null>;
|
|
110
|
-
isEligibleForSupport: Struct<boolean, null>;
|
|
111
|
-
billingCycles: Struct<number | undefined, null>;
|
|
106
|
+
inactiveAt: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
107
|
+
isEligibleForSupport: import("@metamask/superstruct").Struct<boolean, null>;
|
|
108
|
+
billingCycles: import("@metamask/superstruct").Struct<number | undefined, null>;
|
|
112
109
|
}>;
|
|
113
|
-
export declare const GetSubscriptionsResponseStruct: Struct<{
|
|
110
|
+
export declare const GetSubscriptionsResponseStruct: import("@metamask/superstruct").Struct<{
|
|
114
111
|
subscriptions: {
|
|
115
112
|
id: string;
|
|
116
113
|
products: {
|
|
117
|
-
name: "shield"
|
|
114
|
+
name: "shield";
|
|
118
115
|
currency: "usd";
|
|
119
116
|
unitAmount: number;
|
|
120
117
|
unitDecimals: number;
|
|
@@ -150,12 +147,12 @@ export declare const GetSubscriptionsResponseStruct: Struct<{
|
|
|
150
147
|
canceledAt?: string | undefined;
|
|
151
148
|
inactiveAt?: string | undefined;
|
|
152
149
|
}[];
|
|
153
|
-
trialedProducts:
|
|
150
|
+
trialedProducts: "shield"[];
|
|
154
151
|
customerId?: string | undefined;
|
|
155
152
|
lastSubscription?: {
|
|
156
153
|
id: string;
|
|
157
154
|
products: {
|
|
158
|
-
name: "shield"
|
|
155
|
+
name: "shield";
|
|
159
156
|
currency: "usd";
|
|
160
157
|
unitAmount: number;
|
|
161
158
|
unitDecimals: number;
|
|
@@ -193,11 +190,11 @@ export declare const GetSubscriptionsResponseStruct: Struct<{
|
|
|
193
190
|
} | undefined;
|
|
194
191
|
rewardAccountId?: `${string}:${string}:${string}` | undefined;
|
|
195
192
|
}, {
|
|
196
|
-
customerId: Struct<string | undefined, null>;
|
|
197
|
-
subscriptions: Struct<{
|
|
193
|
+
customerId: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
194
|
+
subscriptions: import("@metamask/superstruct").Struct<{
|
|
198
195
|
id: string;
|
|
199
196
|
products: {
|
|
200
|
-
name: "shield"
|
|
197
|
+
name: "shield";
|
|
201
198
|
currency: "usd";
|
|
202
199
|
unitAmount: number;
|
|
203
200
|
unitDecimals: number;
|
|
@@ -232,10 +229,10 @@ export declare const GetSubscriptionsResponseStruct: Struct<{
|
|
|
232
229
|
endDate?: string | undefined;
|
|
233
230
|
canceledAt?: string | undefined;
|
|
234
231
|
inactiveAt?: string | undefined;
|
|
235
|
-
}[], Struct<{
|
|
232
|
+
}[], import("@metamask/superstruct").Struct<{
|
|
236
233
|
id: string;
|
|
237
234
|
products: {
|
|
238
|
-
name: "shield"
|
|
235
|
+
name: "shield";
|
|
239
236
|
currency: "usd";
|
|
240
237
|
unitAmount: number;
|
|
241
238
|
unitDecimals: number;
|
|
@@ -271,32 +268,31 @@ export declare const GetSubscriptionsResponseStruct: Struct<{
|
|
|
271
268
|
canceledAt?: string | undefined;
|
|
272
269
|
inactiveAt?: string | undefined;
|
|
273
270
|
}, {
|
|
274
|
-
id: Struct<string, null>;
|
|
275
|
-
products: Struct<{
|
|
276
|
-
name: "shield"
|
|
271
|
+
id: import("@metamask/superstruct").Struct<string, null>;
|
|
272
|
+
products: import("@metamask/superstruct").Struct<{
|
|
273
|
+
name: "shield";
|
|
277
274
|
currency: "usd";
|
|
278
275
|
unitAmount: number;
|
|
279
276
|
unitDecimals: number;
|
|
280
|
-
}[], Struct<{
|
|
281
|
-
name: "shield"
|
|
277
|
+
}[], import("@metamask/superstruct").Struct<{
|
|
278
|
+
name: "shield";
|
|
282
279
|
currency: "usd";
|
|
283
280
|
unitAmount: number;
|
|
284
281
|
unitDecimals: number;
|
|
285
282
|
}, {
|
|
286
|
-
name: Struct<"shield"
|
|
283
|
+
name: import("@metamask/superstruct").Struct<"shield", {
|
|
287
284
|
shield: "shield";
|
|
288
|
-
money_account_plus: "money_account_plus";
|
|
289
285
|
}>;
|
|
290
|
-
currency: Struct<"usd", {
|
|
286
|
+
currency: import("@metamask/superstruct").Struct<"usd", {
|
|
291
287
|
usd: "usd";
|
|
292
288
|
}>;
|
|
293
|
-
unitAmount: Struct<number, null>;
|
|
294
|
-
unitDecimals: Struct<number, null>;
|
|
289
|
+
unitAmount: import("@metamask/superstruct").Struct<number, null>;
|
|
290
|
+
unitDecimals: import("@metamask/superstruct").Struct<number, null>;
|
|
295
291
|
}>>;
|
|
296
|
-
currentPeriodStart: Struct<string, null>;
|
|
297
|
-
currentPeriodEnd: Struct<string, null>;
|
|
298
|
-
cancelAtPeriodEnd: Struct<boolean | undefined, null>;
|
|
299
|
-
status: Struct<"incomplete" | "incomplete_expired" | "provisional" | "trialing" | "active" | "past_due" | "unpaid" | "canceled" | "paused", {
|
|
292
|
+
currentPeriodStart: import("@metamask/superstruct").Struct<string, null>;
|
|
293
|
+
currentPeriodEnd: import("@metamask/superstruct").Struct<string, null>;
|
|
294
|
+
cancelAtPeriodEnd: import("@metamask/superstruct").Struct<boolean | undefined, null>;
|
|
295
|
+
status: import("@metamask/superstruct").Struct<"incomplete" | "incomplete_expired" | "provisional" | "trialing" | "active" | "past_due" | "unpaid" | "canceled" | "paused", {
|
|
300
296
|
incomplete: "incomplete";
|
|
301
297
|
incomplete_expired: "incomplete_expired";
|
|
302
298
|
provisional: "provisional";
|
|
@@ -307,11 +303,11 @@ export declare const GetSubscriptionsResponseStruct: Struct<{
|
|
|
307
303
|
canceled: "canceled";
|
|
308
304
|
paused: "paused";
|
|
309
305
|
}>;
|
|
310
|
-
interval: Struct<"month" | "year", {
|
|
306
|
+
interval: import("@metamask/superstruct").Struct<"month" | "year", {
|
|
311
307
|
month: "month";
|
|
312
308
|
year: "year";
|
|
313
309
|
}>;
|
|
314
|
-
paymentMethod: Struct<{
|
|
310
|
+
paymentMethod: import("@metamask/superstruct").Struct<{
|
|
315
311
|
type: "card";
|
|
316
312
|
card: {
|
|
317
313
|
brand: string;
|
|
@@ -327,29 +323,28 @@ export declare const GetSubscriptionsResponseStruct: Struct<{
|
|
|
327
323
|
error?: "approval_transaction_too_old" | "approval_transaction_reverted" | "approval_transaction_max_verification_attempts_reached" | "insufficient_balance" | "insufficient_allowance" | undefined;
|
|
328
324
|
};
|
|
329
325
|
}, null>;
|
|
330
|
-
trialPeriodDays: Struct<number | undefined, null>;
|
|
331
|
-
trialStart: Struct<string | undefined, null>;
|
|
332
|
-
trialEnd: Struct<string | undefined, null>;
|
|
333
|
-
endDate: Struct<string | undefined, null>;
|
|
334
|
-
canceledAt: Struct<string | undefined, null>;
|
|
335
|
-
cancelType: Struct<"allowed_immediate" | "allowed_at_period_end" | "not_allowed" | "not_allowed_pending_verification", {
|
|
326
|
+
trialPeriodDays: import("@metamask/superstruct").Struct<number | undefined, null>;
|
|
327
|
+
trialStart: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
328
|
+
trialEnd: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
329
|
+
endDate: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
330
|
+
canceledAt: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
331
|
+
cancelType: import("@metamask/superstruct").Struct<"allowed_immediate" | "allowed_at_period_end" | "not_allowed" | "not_allowed_pending_verification", {
|
|
336
332
|
allowed_immediate: "allowed_immediate";
|
|
337
333
|
allowed_at_period_end: "allowed_at_period_end";
|
|
338
334
|
not_allowed: "not_allowed";
|
|
339
335
|
not_allowed_pending_verification: "not_allowed_pending_verification";
|
|
340
336
|
}>;
|
|
341
|
-
inactiveAt: Struct<string | undefined, null>;
|
|
342
|
-
isEligibleForSupport: Struct<boolean, null>;
|
|
343
|
-
billingCycles: Struct<number | undefined, null>;
|
|
337
|
+
inactiveAt: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
338
|
+
isEligibleForSupport: import("@metamask/superstruct").Struct<boolean, null>;
|
|
339
|
+
billingCycles: import("@metamask/superstruct").Struct<number | undefined, null>;
|
|
344
340
|
}>>;
|
|
345
|
-
trialedProducts: Struct<
|
|
341
|
+
trialedProducts: import("@metamask/superstruct").Struct<"shield"[], import("@metamask/superstruct").Struct<"shield", {
|
|
346
342
|
shield: "shield";
|
|
347
|
-
money_account_plus: "money_account_plus";
|
|
348
343
|
}>>;
|
|
349
|
-
lastSubscription: Struct<{
|
|
344
|
+
lastSubscription: import("@metamask/superstruct").Struct<{
|
|
350
345
|
id: string;
|
|
351
346
|
products: {
|
|
352
|
-
name: "shield"
|
|
347
|
+
name: "shield";
|
|
353
348
|
currency: "usd";
|
|
354
349
|
unitAmount: number;
|
|
355
350
|
unitDecimals: number;
|
|
@@ -385,32 +380,31 @@ export declare const GetSubscriptionsResponseStruct: Struct<{
|
|
|
385
380
|
canceledAt?: string | undefined;
|
|
386
381
|
inactiveAt?: string | undefined;
|
|
387
382
|
} | undefined, {
|
|
388
|
-
id: Struct<string, null>;
|
|
389
|
-
products: Struct<{
|
|
390
|
-
name: "shield"
|
|
383
|
+
id: import("@metamask/superstruct").Struct<string, null>;
|
|
384
|
+
products: import("@metamask/superstruct").Struct<{
|
|
385
|
+
name: "shield";
|
|
391
386
|
currency: "usd";
|
|
392
387
|
unitAmount: number;
|
|
393
388
|
unitDecimals: number;
|
|
394
|
-
}[], Struct<{
|
|
395
|
-
name: "shield"
|
|
389
|
+
}[], import("@metamask/superstruct").Struct<{
|
|
390
|
+
name: "shield";
|
|
396
391
|
currency: "usd";
|
|
397
392
|
unitAmount: number;
|
|
398
393
|
unitDecimals: number;
|
|
399
394
|
}, {
|
|
400
|
-
name: Struct<"shield"
|
|
395
|
+
name: import("@metamask/superstruct").Struct<"shield", {
|
|
401
396
|
shield: "shield";
|
|
402
|
-
money_account_plus: "money_account_plus";
|
|
403
397
|
}>;
|
|
404
|
-
currency: Struct<"usd", {
|
|
398
|
+
currency: import("@metamask/superstruct").Struct<"usd", {
|
|
405
399
|
usd: "usd";
|
|
406
400
|
}>;
|
|
407
|
-
unitAmount: Struct<number, null>;
|
|
408
|
-
unitDecimals: Struct<number, null>;
|
|
401
|
+
unitAmount: import("@metamask/superstruct").Struct<number, null>;
|
|
402
|
+
unitDecimals: import("@metamask/superstruct").Struct<number, null>;
|
|
409
403
|
}>>;
|
|
410
|
-
currentPeriodStart: Struct<string, null>;
|
|
411
|
-
currentPeriodEnd: Struct<string, null>;
|
|
412
|
-
cancelAtPeriodEnd: Struct<boolean | undefined, null>;
|
|
413
|
-
status: Struct<"incomplete" | "incomplete_expired" | "provisional" | "trialing" | "active" | "past_due" | "unpaid" | "canceled" | "paused", {
|
|
404
|
+
currentPeriodStart: import("@metamask/superstruct").Struct<string, null>;
|
|
405
|
+
currentPeriodEnd: import("@metamask/superstruct").Struct<string, null>;
|
|
406
|
+
cancelAtPeriodEnd: import("@metamask/superstruct").Struct<boolean | undefined, null>;
|
|
407
|
+
status: import("@metamask/superstruct").Struct<"incomplete" | "incomplete_expired" | "provisional" | "trialing" | "active" | "past_due" | "unpaid" | "canceled" | "paused", {
|
|
414
408
|
incomplete: "incomplete";
|
|
415
409
|
incomplete_expired: "incomplete_expired";
|
|
416
410
|
provisional: "provisional";
|
|
@@ -421,11 +415,11 @@ export declare const GetSubscriptionsResponseStruct: Struct<{
|
|
|
421
415
|
canceled: "canceled";
|
|
422
416
|
paused: "paused";
|
|
423
417
|
}>;
|
|
424
|
-
interval: Struct<"month" | "year", {
|
|
418
|
+
interval: import("@metamask/superstruct").Struct<"month" | "year", {
|
|
425
419
|
month: "month";
|
|
426
420
|
year: "year";
|
|
427
421
|
}>;
|
|
428
|
-
paymentMethod: Struct<{
|
|
422
|
+
paymentMethod: import("@metamask/superstruct").Struct<{
|
|
429
423
|
type: "card";
|
|
430
424
|
card: {
|
|
431
425
|
brand: string;
|
|
@@ -441,34 +435,34 @@ export declare const GetSubscriptionsResponseStruct: Struct<{
|
|
|
441
435
|
error?: "approval_transaction_too_old" | "approval_transaction_reverted" | "approval_transaction_max_verification_attempts_reached" | "insufficient_balance" | "insufficient_allowance" | undefined;
|
|
442
436
|
};
|
|
443
437
|
}, null>;
|
|
444
|
-
trialPeriodDays: Struct<number | undefined, null>;
|
|
445
|
-
trialStart: Struct<string | undefined, null>;
|
|
446
|
-
trialEnd: Struct<string | undefined, null>;
|
|
447
|
-
endDate: Struct<string | undefined, null>;
|
|
448
|
-
canceledAt: Struct<string | undefined, null>;
|
|
449
|
-
cancelType: Struct<"allowed_immediate" | "allowed_at_period_end" | "not_allowed" | "not_allowed_pending_verification", {
|
|
438
|
+
trialPeriodDays: import("@metamask/superstruct").Struct<number | undefined, null>;
|
|
439
|
+
trialStart: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
440
|
+
trialEnd: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
441
|
+
endDate: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
442
|
+
canceledAt: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
443
|
+
cancelType: import("@metamask/superstruct").Struct<"allowed_immediate" | "allowed_at_period_end" | "not_allowed" | "not_allowed_pending_verification", {
|
|
450
444
|
allowed_immediate: "allowed_immediate";
|
|
451
445
|
allowed_at_period_end: "allowed_at_period_end";
|
|
452
446
|
not_allowed: "not_allowed";
|
|
453
447
|
not_allowed_pending_verification: "not_allowed_pending_verification";
|
|
454
448
|
}>;
|
|
455
|
-
inactiveAt: Struct<string | undefined, null>;
|
|
456
|
-
isEligibleForSupport: Struct<boolean, null>;
|
|
457
|
-
billingCycles: Struct<number | undefined, null>;
|
|
449
|
+
inactiveAt: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
450
|
+
isEligibleForSupport: import("@metamask/superstruct").Struct<boolean, null>;
|
|
451
|
+
billingCycles: import("@metamask/superstruct").Struct<number | undefined, null>;
|
|
458
452
|
}>;
|
|
459
|
-
rewardAccountId: Struct<`${string}:${string}:${string}` | undefined, null>;
|
|
453
|
+
rewardAccountId: import("@metamask/superstruct").Struct<`${string}:${string}:${string}` | undefined, null>;
|
|
460
454
|
}>;
|
|
461
|
-
export declare const StartSubscriptionResponseStruct: Struct<{
|
|
455
|
+
export declare const StartSubscriptionResponseStruct: import("@metamask/superstruct").Struct<{
|
|
462
456
|
checkoutSessionUrl: string;
|
|
463
457
|
}, {
|
|
464
|
-
checkoutSessionUrl: Struct<string, null>;
|
|
458
|
+
checkoutSessionUrl: import("@metamask/superstruct").Struct<string, null>;
|
|
465
459
|
}>;
|
|
466
|
-
export declare const StartCryptoSubscriptionResponseStruct: Struct<{
|
|
460
|
+
export declare const StartCryptoSubscriptionResponseStruct: import("@metamask/superstruct").Struct<{
|
|
467
461
|
status: "incomplete" | "incomplete_expired" | "provisional" | "trialing" | "active" | "past_due" | "unpaid" | "canceled" | "paused";
|
|
468
462
|
subscriptionId: string;
|
|
469
463
|
}, {
|
|
470
|
-
subscriptionId: Struct<string, null>;
|
|
471
|
-
status: Struct<"incomplete" | "incomplete_expired" | "provisional" | "trialing" | "active" | "past_due" | "unpaid" | "canceled" | "paused", {
|
|
464
|
+
subscriptionId: import("@metamask/superstruct").Struct<string, null>;
|
|
465
|
+
status: import("@metamask/superstruct").Struct<"incomplete" | "incomplete_expired" | "provisional" | "trialing" | "active" | "past_due" | "unpaid" | "canceled" | "paused", {
|
|
472
466
|
incomplete: "incomplete";
|
|
473
467
|
incomplete_expired: "incomplete_expired";
|
|
474
468
|
provisional: "provisional";
|
|
@@ -480,26 +474,26 @@ export declare const StartCryptoSubscriptionResponseStruct: Struct<{
|
|
|
480
474
|
paused: "paused";
|
|
481
475
|
}>;
|
|
482
476
|
}>;
|
|
483
|
-
export declare const UpdatePaymentMethodCardResponseStruct: Struct<{
|
|
477
|
+
export declare const UpdatePaymentMethodCardResponseStruct: import("@metamask/superstruct").Struct<{
|
|
484
478
|
redirectUrl: string;
|
|
485
479
|
}, {
|
|
486
|
-
redirectUrl: Struct<string, null>;
|
|
480
|
+
redirectUrl: import("@metamask/superstruct").Struct<string, null>;
|
|
487
481
|
}>;
|
|
488
|
-
export declare const BillingPortalResponseStruct: Struct<{
|
|
482
|
+
export declare const BillingPortalResponseStruct: import("@metamask/superstruct").Struct<{
|
|
489
483
|
url: string;
|
|
490
484
|
}, {
|
|
491
|
-
url: Struct<string, null>;
|
|
485
|
+
url: import("@metamask/superstruct").Struct<string, null>;
|
|
492
486
|
}>;
|
|
493
|
-
export declare const SubscriptionApiGeneralResponseStruct: Struct<{
|
|
487
|
+
export declare const SubscriptionApiGeneralResponseStruct: import("@metamask/superstruct").Struct<{
|
|
494
488
|
success: boolean;
|
|
495
489
|
message?: string | undefined;
|
|
496
490
|
}, {
|
|
497
|
-
success: Struct<boolean, null>;
|
|
498
|
-
message: Struct<string | undefined, null>;
|
|
491
|
+
success: import("@metamask/superstruct").Struct<boolean, null>;
|
|
492
|
+
message: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
499
493
|
}>;
|
|
500
|
-
export declare const PricingResponseStruct: Struct<{
|
|
494
|
+
export declare const PricingResponseStruct: import("@metamask/superstruct").Struct<{
|
|
501
495
|
products: {
|
|
502
|
-
name: "shield"
|
|
496
|
+
name: "shield";
|
|
503
497
|
prices: {
|
|
504
498
|
currency: "usd";
|
|
505
499
|
unitAmount: number;
|
|
@@ -510,24 +504,25 @@ export declare const PricingResponseStruct: Struct<{
|
|
|
510
504
|
minBillingCyclesForBalance: number;
|
|
511
505
|
}[];
|
|
512
506
|
}[];
|
|
513
|
-
paymentMethods:
|
|
514
|
-
type: "card";
|
|
515
|
-
products?: ("shield" | "money_account_plus")[] | undefined;
|
|
516
|
-
} | {
|
|
517
|
-
type: "crypto";
|
|
518
|
-
products?: ("shield" | "money_account_plus")[] | undefined;
|
|
519
|
-
cryptoAuthMethod?: "erc20_approval" | "delegation" | undefined;
|
|
507
|
+
paymentMethods: {
|
|
508
|
+
type: "card" | "crypto";
|
|
520
509
|
chains?: {
|
|
521
510
|
chainId: `0x${string}`;
|
|
522
511
|
paymentAddress: `0x${string}`;
|
|
523
|
-
tokens:
|
|
524
|
-
|
|
512
|
+
tokens: {
|
|
513
|
+
symbol: string;
|
|
514
|
+
address: `0x${string}`;
|
|
515
|
+
decimals: number;
|
|
516
|
+
conversionRate: {
|
|
517
|
+
usd: string;
|
|
518
|
+
};
|
|
519
|
+
}[];
|
|
525
520
|
isSponsorshipSupported?: boolean | undefined;
|
|
526
521
|
}[] | undefined;
|
|
527
|
-
}
|
|
522
|
+
}[];
|
|
528
523
|
}, {
|
|
529
|
-
products: Struct<{
|
|
530
|
-
name: "shield"
|
|
524
|
+
products: import("@metamask/superstruct").Struct<{
|
|
525
|
+
name: "shield";
|
|
531
526
|
prices: {
|
|
532
527
|
currency: "usd";
|
|
533
528
|
unitAmount: number;
|
|
@@ -537,8 +532,8 @@ export declare const PricingResponseStruct: Struct<{
|
|
|
537
532
|
minBillingCycles: number;
|
|
538
533
|
minBillingCyclesForBalance: number;
|
|
539
534
|
}[];
|
|
540
|
-
}[], Struct<{
|
|
541
|
-
name: "shield"
|
|
535
|
+
}[], import("@metamask/superstruct").Struct<{
|
|
536
|
+
name: "shield";
|
|
542
537
|
prices: {
|
|
543
538
|
currency: "usd";
|
|
544
539
|
unitAmount: number;
|
|
@@ -549,11 +544,10 @@ export declare const PricingResponseStruct: Struct<{
|
|
|
549
544
|
minBillingCyclesForBalance: number;
|
|
550
545
|
}[];
|
|
551
546
|
}, {
|
|
552
|
-
name: Struct<"shield"
|
|
547
|
+
name: import("@metamask/superstruct").Struct<"shield", {
|
|
553
548
|
shield: "shield";
|
|
554
|
-
money_account_plus: "money_account_plus";
|
|
555
549
|
}>;
|
|
556
|
-
prices: Struct<{
|
|
550
|
+
prices: import("@metamask/superstruct").Struct<{
|
|
557
551
|
currency: "usd";
|
|
558
552
|
unitAmount: number;
|
|
559
553
|
unitDecimals: number;
|
|
@@ -561,7 +555,7 @@ export declare const PricingResponseStruct: Struct<{
|
|
|
561
555
|
trialPeriodDays: number;
|
|
562
556
|
minBillingCycles: number;
|
|
563
557
|
minBillingCyclesForBalance: number;
|
|
564
|
-
}[], Struct<{
|
|
558
|
+
}[], import("@metamask/superstruct").Struct<{
|
|
565
559
|
currency: "usd";
|
|
566
560
|
unitAmount: number;
|
|
567
561
|
unitDecimals: number;
|
|
@@ -570,52 +564,112 @@ export declare const PricingResponseStruct: Struct<{
|
|
|
570
564
|
minBillingCycles: number;
|
|
571
565
|
minBillingCyclesForBalance: number;
|
|
572
566
|
}, {
|
|
573
|
-
interval: Struct<"month" | "year", {
|
|
567
|
+
interval: import("@metamask/superstruct").Struct<"month" | "year", {
|
|
574
568
|
month: "month";
|
|
575
569
|
year: "year";
|
|
576
570
|
}>;
|
|
577
|
-
unitAmount: Struct<number, null>;
|
|
578
|
-
unitDecimals: Struct<number, null>;
|
|
579
|
-
currency: Struct<"usd", {
|
|
571
|
+
unitAmount: import("@metamask/superstruct").Struct<number, null>;
|
|
572
|
+
unitDecimals: import("@metamask/superstruct").Struct<number, null>;
|
|
573
|
+
currency: import("@metamask/superstruct").Struct<"usd", {
|
|
580
574
|
usd: "usd";
|
|
581
575
|
}>;
|
|
582
|
-
trialPeriodDays: Struct<number, null>;
|
|
583
|
-
minBillingCycles: Struct<number, null>;
|
|
584
|
-
minBillingCyclesForBalance: Struct<number, null>;
|
|
576
|
+
trialPeriodDays: import("@metamask/superstruct").Struct<number, null>;
|
|
577
|
+
minBillingCycles: import("@metamask/superstruct").Struct<number, null>;
|
|
578
|
+
minBillingCyclesForBalance: import("@metamask/superstruct").Struct<number, null>;
|
|
585
579
|
}>>;
|
|
586
580
|
}>>;
|
|
587
|
-
paymentMethods: Struct<
|
|
588
|
-
type: "card";
|
|
589
|
-
products?: ("shield" | "money_account_plus")[] | undefined;
|
|
590
|
-
} | {
|
|
591
|
-
type: "crypto";
|
|
592
|
-
products?: ("shield" | "money_account_plus")[] | undefined;
|
|
593
|
-
cryptoAuthMethod?: "erc20_approval" | "delegation" | undefined;
|
|
581
|
+
paymentMethods: import("@metamask/superstruct").Struct<{
|
|
582
|
+
type: "card" | "crypto";
|
|
594
583
|
chains?: {
|
|
595
584
|
chainId: `0x${string}`;
|
|
596
585
|
paymentAddress: `0x${string}`;
|
|
597
|
-
tokens:
|
|
598
|
-
|
|
586
|
+
tokens: {
|
|
587
|
+
symbol: string;
|
|
588
|
+
address: `0x${string}`;
|
|
589
|
+
decimals: number;
|
|
590
|
+
conversionRate: {
|
|
591
|
+
usd: string;
|
|
592
|
+
};
|
|
593
|
+
}[];
|
|
599
594
|
isSponsorshipSupported?: boolean | undefined;
|
|
600
595
|
}[] | undefined;
|
|
601
|
-
}
|
|
602
|
-
type: "card";
|
|
603
|
-
products?: ("shield" | "money_account_plus")[] | undefined;
|
|
604
|
-
} | {
|
|
605
|
-
type: "crypto";
|
|
606
|
-
products?: ("shield" | "money_account_plus")[] | undefined;
|
|
607
|
-
cryptoAuthMethod?: "erc20_approval" | "delegation" | undefined;
|
|
596
|
+
}[], import("@metamask/superstruct").Struct<{
|
|
597
|
+
type: "card" | "crypto";
|
|
608
598
|
chains?: {
|
|
609
599
|
chainId: `0x${string}`;
|
|
610
600
|
paymentAddress: `0x${string}`;
|
|
611
|
-
tokens:
|
|
612
|
-
|
|
601
|
+
tokens: {
|
|
602
|
+
symbol: string;
|
|
603
|
+
address: `0x${string}`;
|
|
604
|
+
decimals: number;
|
|
605
|
+
conversionRate: {
|
|
606
|
+
usd: string;
|
|
607
|
+
};
|
|
608
|
+
}[];
|
|
613
609
|
isSponsorshipSupported?: boolean | undefined;
|
|
614
610
|
}[] | undefined;
|
|
615
|
-
},
|
|
611
|
+
}, {
|
|
612
|
+
type: import("@metamask/superstruct").Struct<"card" | "crypto", {
|
|
613
|
+
card: "card";
|
|
614
|
+
crypto: "crypto";
|
|
615
|
+
}>;
|
|
616
|
+
chains: import("@metamask/superstruct").Struct<{
|
|
617
|
+
chainId: `0x${string}`;
|
|
618
|
+
paymentAddress: `0x${string}`;
|
|
619
|
+
tokens: {
|
|
620
|
+
symbol: string;
|
|
621
|
+
address: `0x${string}`;
|
|
622
|
+
decimals: number;
|
|
623
|
+
conversionRate: {
|
|
624
|
+
usd: string;
|
|
625
|
+
};
|
|
626
|
+
}[];
|
|
627
|
+
isSponsorshipSupported?: boolean | undefined;
|
|
628
|
+
}[] | undefined, import("@metamask/superstruct").Struct<{
|
|
629
|
+
chainId: `0x${string}`;
|
|
630
|
+
paymentAddress: `0x${string}`;
|
|
631
|
+
tokens: {
|
|
632
|
+
symbol: string;
|
|
633
|
+
address: `0x${string}`;
|
|
634
|
+
decimals: number;
|
|
635
|
+
conversionRate: {
|
|
636
|
+
usd: string;
|
|
637
|
+
};
|
|
638
|
+
}[];
|
|
639
|
+
isSponsorshipSupported?: boolean | undefined;
|
|
640
|
+
}, {
|
|
641
|
+
chainId: import("@metamask/superstruct").Struct<`0x${string}`, null>;
|
|
642
|
+
paymentAddress: import("@metamask/superstruct").Struct<`0x${string}`, null>;
|
|
643
|
+
tokens: import("@metamask/superstruct").Struct<{
|
|
644
|
+
symbol: string;
|
|
645
|
+
address: `0x${string}`;
|
|
646
|
+
decimals: number;
|
|
647
|
+
conversionRate: {
|
|
648
|
+
usd: string;
|
|
649
|
+
};
|
|
650
|
+
}[], import("@metamask/superstruct").Struct<{
|
|
651
|
+
symbol: string;
|
|
652
|
+
address: `0x${string}`;
|
|
653
|
+
decimals: number;
|
|
654
|
+
conversionRate: {
|
|
655
|
+
usd: string;
|
|
656
|
+
};
|
|
657
|
+
}, {
|
|
658
|
+
symbol: import("@metamask/superstruct").Struct<string, null>;
|
|
659
|
+
address: import("@metamask/superstruct").Struct<`0x${string}`, null>;
|
|
660
|
+
decimals: import("@metamask/superstruct").Struct<number, null>;
|
|
661
|
+
conversionRate: import("@metamask/superstruct").Struct<{
|
|
662
|
+
usd: string;
|
|
663
|
+
}, {
|
|
664
|
+
usd: import("@metamask/superstruct").Struct<string, null>;
|
|
665
|
+
}>;
|
|
666
|
+
}>>;
|
|
667
|
+
isSponsorshipSupported: import("@metamask/superstruct").Struct<boolean | undefined, null>;
|
|
668
|
+
}>>;
|
|
669
|
+
}>>;
|
|
616
670
|
}>;
|
|
617
|
-
export declare const SubscriptionEligibilityStruct: Struct<{
|
|
618
|
-
product: "shield"
|
|
671
|
+
export declare const SubscriptionEligibilityStruct: import("@metamask/superstruct").Struct<{
|
|
672
|
+
product: "shield";
|
|
619
673
|
canSubscribe?: boolean | undefined;
|
|
620
674
|
canViewEntryModal?: boolean | undefined;
|
|
621
675
|
modalType?: "A" | "B" | undefined;
|
|
@@ -629,38 +683,37 @@ export declare const SubscriptionEligibilityStruct: Struct<{
|
|
|
629
683
|
assignedAt?: string | undefined;
|
|
630
684
|
hasAssignedCohortExpired?: boolean | undefined;
|
|
631
685
|
}, {
|
|
632
|
-
product: Struct<"shield"
|
|
686
|
+
product: import("@metamask/superstruct").Struct<"shield", {
|
|
633
687
|
shield: "shield";
|
|
634
|
-
money_account_plus: "money_account_plus";
|
|
635
688
|
}>;
|
|
636
|
-
canSubscribe: Struct<boolean | undefined, null>;
|
|
637
|
-
canViewEntryModal: Struct<boolean | undefined, null>;
|
|
638
|
-
modalType: Struct<"A" | "B" | undefined, {
|
|
689
|
+
canSubscribe: import("@metamask/superstruct").Struct<boolean | undefined, null>;
|
|
690
|
+
canViewEntryModal: import("@metamask/superstruct").Struct<boolean | undefined, null>;
|
|
691
|
+
modalType: import("@metamask/superstruct").Struct<"A" | "B" | undefined, {
|
|
639
692
|
A: "A";
|
|
640
693
|
B: "B";
|
|
641
694
|
}>;
|
|
642
|
-
cohorts: Struct<{
|
|
695
|
+
cohorts: import("@metamask/superstruct").Struct<{
|
|
643
696
|
cohort: string;
|
|
644
697
|
eligibilityRate: number;
|
|
645
698
|
priority: number;
|
|
646
699
|
eligible: boolean;
|
|
647
|
-
}[] | undefined, Struct<{
|
|
700
|
+
}[] | undefined, import("@metamask/superstruct").Struct<{
|
|
648
701
|
cohort: string;
|
|
649
702
|
eligibilityRate: number;
|
|
650
703
|
priority: number;
|
|
651
704
|
eligible: boolean;
|
|
652
705
|
}, {
|
|
653
|
-
cohort: Struct<string, null>;
|
|
654
|
-
eligibilityRate: Struct<number, null>;
|
|
655
|
-
priority: Struct<number, null>;
|
|
656
|
-
eligible: Struct<boolean, null>;
|
|
706
|
+
cohort: import("@metamask/superstruct").Struct<string, null>;
|
|
707
|
+
eligibilityRate: import("@metamask/superstruct").Struct<number, null>;
|
|
708
|
+
priority: import("@metamask/superstruct").Struct<number, null>;
|
|
709
|
+
eligible: import("@metamask/superstruct").Struct<boolean, null>;
|
|
657
710
|
}>>;
|
|
658
|
-
assignedCohort: Struct<string | null | undefined, null>;
|
|
659
|
-
assignedAt: Struct<string | undefined, null>;
|
|
660
|
-
hasAssignedCohortExpired: Struct<boolean | undefined, null>;
|
|
711
|
+
assignedCohort: import("@metamask/superstruct").Struct<string | null | undefined, null>;
|
|
712
|
+
assignedAt: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
713
|
+
hasAssignedCohortExpired: import("@metamask/superstruct").Struct<boolean | undefined, null>;
|
|
661
714
|
}>;
|
|
662
|
-
export declare const SubscriptionEligibilityArrayStruct: Struct<{
|
|
663
|
-
product: "shield"
|
|
715
|
+
export declare const SubscriptionEligibilityArrayStruct: import("@metamask/superstruct").Struct<{
|
|
716
|
+
product: "shield";
|
|
664
717
|
canSubscribe?: boolean | undefined;
|
|
665
718
|
canViewEntryModal?: boolean | undefined;
|
|
666
719
|
modalType?: "A" | "B" | undefined;
|
|
@@ -673,8 +726,8 @@ export declare const SubscriptionEligibilityArrayStruct: Struct<{
|
|
|
673
726
|
assignedCohort?: string | null | undefined;
|
|
674
727
|
assignedAt?: string | undefined;
|
|
675
728
|
hasAssignedCohortExpired?: boolean | undefined;
|
|
676
|
-
}[], Struct<{
|
|
677
|
-
product: "shield"
|
|
729
|
+
}[], import("@metamask/superstruct").Struct<{
|
|
730
|
+
product: "shield";
|
|
678
731
|
canSubscribe?: boolean | undefined;
|
|
679
732
|
canViewEntryModal?: boolean | undefined;
|
|
680
733
|
modalType?: "A" | "B" | undefined;
|
|
@@ -688,34 +741,33 @@ export declare const SubscriptionEligibilityArrayStruct: Struct<{
|
|
|
688
741
|
assignedAt?: string | undefined;
|
|
689
742
|
hasAssignedCohortExpired?: boolean | undefined;
|
|
690
743
|
}, {
|
|
691
|
-
product: Struct<"shield"
|
|
744
|
+
product: import("@metamask/superstruct").Struct<"shield", {
|
|
692
745
|
shield: "shield";
|
|
693
|
-
money_account_plus: "money_account_plus";
|
|
694
746
|
}>;
|
|
695
|
-
canSubscribe: Struct<boolean | undefined, null>;
|
|
696
|
-
canViewEntryModal: Struct<boolean | undefined, null>;
|
|
697
|
-
modalType: Struct<"A" | "B" | undefined, {
|
|
747
|
+
canSubscribe: import("@metamask/superstruct").Struct<boolean | undefined, null>;
|
|
748
|
+
canViewEntryModal: import("@metamask/superstruct").Struct<boolean | undefined, null>;
|
|
749
|
+
modalType: import("@metamask/superstruct").Struct<"A" | "B" | undefined, {
|
|
698
750
|
A: "A";
|
|
699
751
|
B: "B";
|
|
700
752
|
}>;
|
|
701
|
-
cohorts: Struct<{
|
|
753
|
+
cohorts: import("@metamask/superstruct").Struct<{
|
|
702
754
|
cohort: string;
|
|
703
755
|
eligibilityRate: number;
|
|
704
756
|
priority: number;
|
|
705
757
|
eligible: boolean;
|
|
706
|
-
}[] | undefined, Struct<{
|
|
758
|
+
}[] | undefined, import("@metamask/superstruct").Struct<{
|
|
707
759
|
cohort: string;
|
|
708
760
|
eligibilityRate: number;
|
|
709
761
|
priority: number;
|
|
710
762
|
eligible: boolean;
|
|
711
763
|
}, {
|
|
712
|
-
cohort: Struct<string, null>;
|
|
713
|
-
eligibilityRate: Struct<number, null>;
|
|
714
|
-
priority: Struct<number, null>;
|
|
715
|
-
eligible: Struct<boolean, null>;
|
|
764
|
+
cohort: import("@metamask/superstruct").Struct<string, null>;
|
|
765
|
+
eligibilityRate: import("@metamask/superstruct").Struct<number, null>;
|
|
766
|
+
priority: import("@metamask/superstruct").Struct<number, null>;
|
|
767
|
+
eligible: import("@metamask/superstruct").Struct<boolean, null>;
|
|
716
768
|
}>>;
|
|
717
|
-
assignedCohort: Struct<string | null | undefined, null>;
|
|
718
|
-
assignedAt: Struct<string | undefined, null>;
|
|
719
|
-
hasAssignedCohortExpired: Struct<boolean | undefined, null>;
|
|
769
|
+
assignedCohort: import("@metamask/superstruct").Struct<string | null | undefined, null>;
|
|
770
|
+
assignedAt: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
771
|
+
hasAssignedCohortExpired: import("@metamask/superstruct").Struct<boolean | undefined, null>;
|
|
720
772
|
}>>;
|
|
721
773
|
//# sourceMappingURL=SubscriptionService-structs.d.mts.map
|