ggez-banking-sdk 0.2.17 → 0.2.19
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.
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ChainType } from "../../../constants";
|
|
2
1
|
interface ICoin {
|
|
3
2
|
amount: string;
|
|
4
3
|
denom: string;
|
|
@@ -10,7 +9,6 @@ interface IAuthentication {
|
|
|
10
9
|
interface IBaseRequest {
|
|
11
10
|
info: {
|
|
12
11
|
account_id: number;
|
|
13
|
-
chain_type: ChainType;
|
|
14
12
|
};
|
|
15
13
|
authentication: IAuthentication[];
|
|
16
14
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
type GiftData = {
|
|
2
2
|
id: number;
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
promotionId: number;
|
|
4
|
+
promotionCode: string;
|
|
5
5
|
type: number;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
orderId: number;
|
|
7
|
+
orderStatus: number;
|
|
8
|
+
claimedDate: string | null;
|
|
9
|
+
claimedPrizeAmount: number;
|
|
10
|
+
claimedPrizeAsset: string;
|
|
11
11
|
};
|
|
12
12
|
export type { GiftData };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Amount } from ".";
|
|
2
2
|
type LotteryPrize = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
prizeName: string;
|
|
4
|
+
prizeNameLocale: string;
|
|
5
|
+
prizeDesc: string;
|
|
6
|
+
prizeDescLocale: string;
|
|
7
|
+
numberOfPrizes: number;
|
|
8
|
+
prizeAmount: Amount;
|
|
9
9
|
};
|
|
10
10
|
export { LotteryPrize };
|
|
@@ -4,22 +4,22 @@ type PromotionDetails = {
|
|
|
4
4
|
id: number;
|
|
5
5
|
code: string;
|
|
6
6
|
name: string;
|
|
7
|
-
|
|
7
|
+
localeName: string;
|
|
8
8
|
type: PromotionType;
|
|
9
|
-
|
|
9
|
+
referralCode?: string;
|
|
10
10
|
visibility: PromotionVisibility;
|
|
11
11
|
status: PromotionStatus;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
12
|
+
startDate: string;
|
|
13
|
+
endDate: string;
|
|
14
|
+
allowedParticipants: number;
|
|
15
|
+
claimedParticipants: number;
|
|
16
|
+
totalPromotionAmount: Amount;
|
|
17
|
+
minPrize: number;
|
|
18
|
+
maxPrize: number;
|
|
19
|
+
promotionPrizes: Amount[];
|
|
20
|
+
claimedAmounts: number;
|
|
21
|
+
enabledGames: PromotionGames[];
|
|
22
|
+
enableLottery: boolean;
|
|
23
|
+
lotteryPrizes?: LotteryPrize[];
|
|
24
24
|
};
|
|
25
25
|
export type { PromotionDetails };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ggez-banking-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.19",
|
|
4
4
|
"description": "A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|