ggez-banking-sdk 0.0.78 → 0.0.80

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.
@@ -1108,8 +1108,8 @@ export declare enum PromotionType {
1108
1108
  Referral = 2
1109
1109
  }
1110
1110
  export declare enum PromotionVisibility {
1111
- Invite = 1,
1112
- Public = 2
1111
+ Public = 1,
1112
+ Invite = 2
1113
1113
  }
1114
1114
  export declare enum PromotionStatus {
1115
1115
  Active = 1,
@@ -1170,8 +1170,8 @@ var PromotionType;
1170
1170
  })(PromotionType || (exports.PromotionType = PromotionType = {}));
1171
1171
  var PromotionVisibility;
1172
1172
  (function (PromotionVisibility) {
1173
- PromotionVisibility[PromotionVisibility["Invite"] = 1] = "Invite";
1174
- PromotionVisibility[PromotionVisibility["Public"] = 2] = "Public";
1173
+ PromotionVisibility[PromotionVisibility["Public"] = 1] = "Public";
1174
+ PromotionVisibility[PromotionVisibility["Invite"] = 2] = "Invite";
1175
1175
  })(PromotionVisibility || (exports.PromotionVisibility = PromotionVisibility = {}));
1176
1176
  var PromotionStatus;
1177
1177
  (function (PromotionStatus) {
@@ -17,7 +17,7 @@ export type PromotionDetails = {
17
17
  name: string;
18
18
  locale_name: string;
19
19
  type: PromotionType;
20
- referral_user_id?: string;
20
+ referral_code?: string;
21
21
  visibility: PromotionVisibility;
22
22
  status: PromotionStatus;
23
23
  start_date: string;
@@ -35,6 +35,7 @@ export type PromotionDetails = {
35
35
  };
36
36
  export type SocialMediaPlatform = "twitter" | "instagram" | "facebook" | "linkedin" | "youtube";
37
37
  export interface Gift {
38
+ id: number;
38
39
  promotion_id: number;
39
40
  promotion_code: string;
40
41
  type: GGEZGiftType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.0.78",
3
+ "version": "0.0.80",
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
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",