@bytexbyte/ike-app-api 1.0.0 → 1.0.2
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/lib/App.js +5 -4
- package/lib/Auth/index.d.ts +3 -3
- package/lib/Auth/index.js +32 -32
- package/lib/Batch/index.js +3 -3
- package/lib/Contract/index.js +2 -2
- package/lib/DigitalCustomization/index.js +6 -6
- package/lib/File/index.js +9 -6
- package/lib/InAppNotification/index.d.ts +3 -3
- package/lib/InAppNotification/index.js +1 -1
- package/lib/InAppNotification/type.d.ts +1 -1
- package/lib/Mfa/index.d.ts +1 -1
- package/lib/Mfa/index.js +7 -6
- package/lib/Redeem/index.js +5 -4
- package/lib/RegisterDeviceCode/index.js +4 -3
- package/lib/Scan/index.js +13 -10
- package/lib/Tags/index.d.ts +1 -1
- package/lib/Tags/index.js +63 -50
- package/lib/User/index.d.ts +1 -1
- package/lib/User/index.js +123 -95
- package/lib/config.js +2 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +0 -1
- package/lib/types.d.ts +11 -11
- package/lib/types.js +11 -11
- package/package.json +2 -2
package/lib/types.d.ts
CHANGED
|
@@ -526,62 +526,62 @@ export declare const BlockChainStatusType: {
|
|
|
526
526
|
transferred: string;
|
|
527
527
|
fail: string;
|
|
528
528
|
};
|
|
529
|
-
export declare type BlockChainStatusType =
|
|
529
|
+
export declare type BlockChainStatusType = typeof BlockChainStatusType[keyof typeof BlockChainStatusType];
|
|
530
530
|
export declare const AgeVerificationType: {
|
|
531
531
|
none: string;
|
|
532
532
|
eighteen: string;
|
|
533
533
|
twentyOne: string;
|
|
534
534
|
};
|
|
535
|
-
export declare type AgeVerificationType =
|
|
535
|
+
export declare type AgeVerificationType = typeof AgeVerificationType[keyof typeof AgeVerificationType];
|
|
536
536
|
export declare const NftStatusType: {
|
|
537
537
|
none: string;
|
|
538
538
|
denied: string;
|
|
539
539
|
approved: string;
|
|
540
540
|
pending: string;
|
|
541
541
|
};
|
|
542
|
-
export declare type NftStatusType =
|
|
542
|
+
export declare type NftStatusType = typeof NftStatusType[keyof typeof NftStatusType];
|
|
543
543
|
export declare const FromType: {
|
|
544
544
|
email: string;
|
|
545
545
|
phone: string;
|
|
546
546
|
};
|
|
547
|
-
export declare type FromType =
|
|
547
|
+
export declare type FromType = typeof FromType[keyof typeof FromType];
|
|
548
548
|
export declare const osType: {
|
|
549
549
|
ios: string;
|
|
550
550
|
android: string;
|
|
551
551
|
};
|
|
552
|
-
export declare type osType =
|
|
552
|
+
export declare type osType = typeof osType[keyof typeof osType];
|
|
553
553
|
export declare const RuleType: {
|
|
554
554
|
scan: string;
|
|
555
555
|
referral: string;
|
|
556
556
|
redeemNFT: string;
|
|
557
557
|
redeemGoldenTicket: string;
|
|
558
558
|
};
|
|
559
|
-
export declare type RuleType =
|
|
559
|
+
export declare type RuleType = typeof RuleType[keyof typeof RuleType];
|
|
560
560
|
export declare const RewardType: {
|
|
561
561
|
fixedAmount: string;
|
|
562
562
|
percentage: string;
|
|
563
563
|
};
|
|
564
|
-
export declare type RewardType =
|
|
564
|
+
export declare type RewardType = typeof RewardType[keyof typeof RewardType];
|
|
565
565
|
export declare const MinimumPurchaseRequirementsType: {
|
|
566
566
|
quantity: string;
|
|
567
567
|
amount: string;
|
|
568
568
|
};
|
|
569
|
-
export declare type MinimumPurchaseRequirementsType =
|
|
569
|
+
export declare type MinimumPurchaseRequirementsType = typeof MinimumPurchaseRequirementsType[keyof typeof MinimumPurchaseRequirementsType];
|
|
570
570
|
export declare const ContractType: {
|
|
571
571
|
Erc721: string;
|
|
572
572
|
Erc1155: string;
|
|
573
573
|
};
|
|
574
|
-
export declare type ContractType =
|
|
574
|
+
export declare type ContractType = typeof ContractType[keyof typeof ContractType];
|
|
575
575
|
export declare const ContractStatusType: {
|
|
576
576
|
none: string;
|
|
577
577
|
denied: string;
|
|
578
578
|
approved: string;
|
|
579
579
|
pending: string;
|
|
580
580
|
};
|
|
581
|
-
export declare type ContractStatusType =
|
|
581
|
+
export declare type ContractStatusType = typeof ContractStatusType[keyof typeof ContractStatusType];
|
|
582
582
|
export declare const LogType: {
|
|
583
583
|
pointLog: string;
|
|
584
584
|
rewardLog: string;
|
|
585
585
|
pendingPointLog: string;
|
|
586
586
|
};
|
|
587
|
-
export declare type LogType =
|
|
587
|
+
export declare type LogType = typeof LogType[keyof typeof LogType];
|
package/lib/types.js
CHANGED
|
@@ -12,53 +12,53 @@ exports.BlockChainStatusType = {
|
|
|
12
12
|
minted: 'minted',
|
|
13
13
|
transferring: 'transferring',
|
|
14
14
|
transferred: 'transferred',
|
|
15
|
-
fail: 'fail'
|
|
15
|
+
fail: 'fail',
|
|
16
16
|
};
|
|
17
17
|
exports.AgeVerificationType = {
|
|
18
18
|
none: 'none',
|
|
19
19
|
eighteen: 'eighteen',
|
|
20
|
-
twentyOne: 'twentyOne'
|
|
20
|
+
twentyOne: 'twentyOne',
|
|
21
21
|
};
|
|
22
22
|
exports.NftStatusType = {
|
|
23
23
|
none: 'none',
|
|
24
24
|
denied: 'denied',
|
|
25
25
|
approved: 'approved',
|
|
26
|
-
pending: 'pending'
|
|
26
|
+
pending: 'pending',
|
|
27
27
|
};
|
|
28
28
|
exports.FromType = {
|
|
29
29
|
email: 'email',
|
|
30
|
-
phone: 'phone'
|
|
30
|
+
phone: 'phone',
|
|
31
31
|
};
|
|
32
32
|
exports.osType = {
|
|
33
33
|
ios: 'ios',
|
|
34
|
-
android: 'android'
|
|
34
|
+
android: 'android',
|
|
35
35
|
};
|
|
36
36
|
exports.RuleType = {
|
|
37
37
|
scan: 'scan',
|
|
38
38
|
referral: 'referral',
|
|
39
39
|
redeemNFT: 'redeemNFT',
|
|
40
|
-
redeemGoldenTicket: 'redeemGoldenTicket'
|
|
40
|
+
redeemGoldenTicket: 'redeemGoldenTicket',
|
|
41
41
|
};
|
|
42
42
|
exports.RewardType = {
|
|
43
43
|
fixedAmount: 'fixedAmount',
|
|
44
|
-
percentage: 'percentage'
|
|
44
|
+
percentage: 'percentage',
|
|
45
45
|
};
|
|
46
46
|
exports.MinimumPurchaseRequirementsType = {
|
|
47
47
|
quantity: 'quantity',
|
|
48
|
-
amount: 'amount'
|
|
48
|
+
amount: 'amount',
|
|
49
49
|
};
|
|
50
50
|
exports.ContractType = {
|
|
51
51
|
Erc721: 'Erc721',
|
|
52
|
-
Erc1155: 'Erc1155'
|
|
52
|
+
Erc1155: 'Erc1155',
|
|
53
53
|
};
|
|
54
54
|
exports.ContractStatusType = {
|
|
55
55
|
none: 'none',
|
|
56
56
|
denied: 'denied',
|
|
57
57
|
approved: 'approved',
|
|
58
|
-
pending: 'pending'
|
|
58
|
+
pending: 'pending',
|
|
59
59
|
};
|
|
60
60
|
exports.LogType = {
|
|
61
61
|
pointLog: 'pointLog',
|
|
62
62
|
rewardLog: 'rewardLog',
|
|
63
|
-
pendingPointLog: 'pendingPointLog'
|
|
63
|
+
pendingPointLog: 'pendingPointLog',
|
|
64
64
|
};
|
package/package.json
CHANGED