gs2 1.4.33 → 1.4.34

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.
Files changed (61) hide show
  1. package/gateway/result/SendNotificationResult.d.ts +4 -0
  2. package/gateway/result/SendNotificationResult.js +21 -1
  3. package/gateway/result/SendNotificationResult.js.map +1 -1
  4. package/gateway/result/SendNotificationResult.ts +26 -1
  5. package/guild/model/GuildModel.d.ts +8 -0
  6. package/guild/model/GuildModel.js +29 -1
  7. package/guild/model/GuildModel.js.map +1 -1
  8. package/guild/model/GuildModel.ts +29 -1
  9. package/guild/model/GuildModelMaster.d.ts +8 -0
  10. package/guild/model/GuildModelMaster.js +28 -0
  11. package/guild/model/GuildModelMaster.js.map +1 -1
  12. package/guild/model/GuildModelMaster.ts +28 -0
  13. package/guild/request/BatchUpdateMemberRoleByGuildNameRequest.d.ts +38 -0
  14. package/guild/request/BatchUpdateMemberRoleByGuildNameRequest.js +131 -0
  15. package/guild/request/BatchUpdateMemberRoleByGuildNameRequest.js.map +1 -0
  16. package/guild/request/BatchUpdateMemberRoleByGuildNameRequest.ts +141 -0
  17. package/guild/request/BatchUpdateMemberRoleRequest.d.ts +38 -0
  18. package/guild/request/BatchUpdateMemberRoleRequest.js +131 -0
  19. package/guild/request/BatchUpdateMemberRoleRequest.js.map +1 -0
  20. package/guild/request/BatchUpdateMemberRoleRequest.ts +141 -0
  21. package/guild/request/CreateGuildModelMasterRequest.d.ts +8 -0
  22. package/guild/request/CreateGuildModelMasterRequest.js +29 -1
  23. package/guild/request/CreateGuildModelMasterRequest.js.map +1 -1
  24. package/guild/request/CreateGuildModelMasterRequest.ts +29 -1
  25. package/guild/request/UpdateGuildModelMasterRequest.d.ts +8 -0
  26. package/guild/request/UpdateGuildModelMasterRequest.js +29 -1
  27. package/guild/request/UpdateGuildModelMasterRequest.js.map +1 -1
  28. package/guild/request/UpdateGuildModelMasterRequest.ts +29 -1
  29. package/guild/request/index.d.ts +3 -1
  30. package/guild/request/index.js +6 -2
  31. package/guild/request/index.js.map +1 -1
  32. package/guild/request/index.ts +4 -0
  33. package/guild/rest.d.ts +2 -0
  34. package/guild/rest.js +72 -2
  35. package/guild/rest.js.map +1 -1
  36. package/guild/rest.ts +78 -0
  37. package/guild/result/BatchUpdateMemberRoleByGuildNameResult.d.ts +14 -0
  38. package/guild/result/BatchUpdateMemberRoleByGuildNameResult.js +48 -0
  39. package/guild/result/BatchUpdateMemberRoleByGuildNameResult.js.map +1 -0
  40. package/guild/result/BatchUpdateMemberRoleByGuildNameResult.ts +47 -0
  41. package/guild/result/BatchUpdateMemberRoleResult.d.ts +14 -0
  42. package/guild/result/BatchUpdateMemberRoleResult.js +48 -0
  43. package/guild/result/BatchUpdateMemberRoleResult.js.map +1 -0
  44. package/guild/result/BatchUpdateMemberRoleResult.ts +47 -0
  45. package/guild/result/index.d.ts +3 -1
  46. package/guild/result/index.js +6 -2
  47. package/guild/result/index.js.map +1 -1
  48. package/guild/result/index.ts +4 -0
  49. package/package.json +1 -1
  50. package/serialKey/result/VerifyByStampTaskResult.d.ts +4 -0
  51. package/serialKey/result/VerifyByStampTaskResult.js +15 -1
  52. package/serialKey/result/VerifyByStampTaskResult.js.map +1 -1
  53. package/serialKey/result/VerifyByStampTaskResult.ts +17 -0
  54. package/serialKey/result/VerifyCodeByUserIdResult.d.ts +4 -0
  55. package/serialKey/result/VerifyCodeByUserIdResult.js +16 -2
  56. package/serialKey/result/VerifyCodeByUserIdResult.js.map +1 -1
  57. package/serialKey/result/VerifyCodeByUserIdResult.ts +18 -1
  58. package/serialKey/result/VerifyCodeResult.d.ts +4 -0
  59. package/serialKey/result/VerifyCodeResult.js +16 -2
  60. package/serialKey/result/VerifyCodeResult.js.map +1 -1
  61. package/serialKey/result/VerifyCodeResult.ts +18 -1
@@ -19,6 +19,7 @@ import * as Gs2SerialKey from '../model'
19
19
 
20
20
  export default class VerifyCodeByUserIdResult implements IResult {
21
21
  private item: Gs2SerialKey.SerialKey|null = null;
22
+ private campaignModel: Gs2SerialKey.CampaignModel|null = null;
22
23
 
23
24
  public getItem(): Gs2SerialKey.SerialKey|null {
24
25
  return this.item;
@@ -34,14 +35,30 @@ export default class VerifyCodeByUserIdResult implements IResult {
34
35
  return this;
35
36
  }
36
37
 
38
+ public getCampaignModel(): Gs2SerialKey.CampaignModel|null {
39
+ return this.campaignModel;
40
+ }
41
+
42
+ public setCampaignModel(campaignModel: Gs2SerialKey.CampaignModel|null) {
43
+ this.campaignModel = campaignModel;
44
+ return this;
45
+ }
46
+
47
+ public withCampaignModel(campaignModel: Gs2SerialKey.CampaignModel|null): this {
48
+ this.campaignModel = campaignModel;
49
+ return this;
50
+ }
51
+
37
52
  public static fromDict(data: {[key: string]: any}): VerifyCodeByUserIdResult {
38
53
  return new VerifyCodeByUserIdResult()
39
- .withItem(Gs2SerialKey.SerialKey.fromDict(data["item"]));
54
+ .withItem(Gs2SerialKey.SerialKey.fromDict(data["item"]))
55
+ .withCampaignModel(Gs2SerialKey.CampaignModel.fromDict(data["campaignModel"]));
40
56
  }
41
57
 
42
58
  public toDict(): {[key: string]: any} {
43
59
  return {
44
60
  "item": this.getItem()?.toDict(),
61
+ "campaignModel": this.getCampaignModel()?.toDict(),
45
62
  };
46
63
  }
47
64
  }
@@ -2,9 +2,13 @@ import IResult from '../../core/interface/IResult';
2
2
  import * as Gs2SerialKey from '../model';
3
3
  export default class VerifyCodeResult implements IResult {
4
4
  private item;
5
+ private campaignModel;
5
6
  getItem(): Gs2SerialKey.SerialKey | null;
6
7
  setItem(item: Gs2SerialKey.SerialKey | null): this;
7
8
  withItem(item: Gs2SerialKey.SerialKey | null): this;
9
+ getCampaignModel(): Gs2SerialKey.CampaignModel | null;
10
+ setCampaignModel(campaignModel: Gs2SerialKey.CampaignModel | null): this;
11
+ withCampaignModel(campaignModel: Gs2SerialKey.CampaignModel | null): this;
8
12
  static fromDict(data: {
9
13
  [key: string]: any;
10
14
  }): VerifyCodeResult;
@@ -20,6 +20,7 @@ var Gs2SerialKey = tslib_1.__importStar(require("../model"));
20
20
  var VerifyCodeResult = /** @class */ (function () {
21
21
  function VerifyCodeResult() {
22
22
  this.item = null;
23
+ this.campaignModel = null;
23
24
  }
24
25
  VerifyCodeResult.prototype.getItem = function () {
25
26
  return this.item;
@@ -32,14 +33,27 @@ var VerifyCodeResult = /** @class */ (function () {
32
33
  this.item = item;
33
34
  return this;
34
35
  };
36
+ VerifyCodeResult.prototype.getCampaignModel = function () {
37
+ return this.campaignModel;
38
+ };
39
+ VerifyCodeResult.prototype.setCampaignModel = function (campaignModel) {
40
+ this.campaignModel = campaignModel;
41
+ return this;
42
+ };
43
+ VerifyCodeResult.prototype.withCampaignModel = function (campaignModel) {
44
+ this.campaignModel = campaignModel;
45
+ return this;
46
+ };
35
47
  VerifyCodeResult.fromDict = function (data) {
36
48
  return new VerifyCodeResult()
37
- .withItem(Gs2SerialKey.SerialKey.fromDict(data["item"]));
49
+ .withItem(Gs2SerialKey.SerialKey.fromDict(data["item"]))
50
+ .withCampaignModel(Gs2SerialKey.CampaignModel.fromDict(data["campaignModel"]));
38
51
  };
39
52
  VerifyCodeResult.prototype.toDict = function () {
40
- var _a;
53
+ var _a, _b;
41
54
  return {
42
55
  "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
56
+ "campaignModel": (_b = this.getCampaignModel()) === null || _b === void 0 ? void 0 : _b.toDict(),
43
57
  };
44
58
  };
45
59
  return VerifyCodeResult;
@@ -1 +1 @@
1
- {"version":3,"file":"VerifyCodeResult.js","sourceRoot":"","sources":["VerifyCodeResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,6DAAwC;AAExC;IAAA;QACY,SAAI,GAAgC,IAAI,CAAC;IA0BrD,CAAC;IAxBU,kCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,kCAAO,GAAd,UAAe,IAAiC;QAC5C,IAAI,CAAC,IAAI,GAAG,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E,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,yBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,gBAAgB,EAAE;aACxB,QAAQ,CAAC,YAAY,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;aACvD,iBAAiB,CAAC,YAAY,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IACvF,CAAC;IAEM,iCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;YAChC,eAAe,EAAE,MAAA,IAAI,CAAC,gBAAgB,EAAE,0CAAE,MAAM,EAAE;SACrD,CAAC;IACN,CAAC;IACL,uBAAC;AAAD,CAAC,AA5CD,IA4CC"}
@@ -19,6 +19,7 @@ import * as Gs2SerialKey from '../model'
19
19
 
20
20
  export default class VerifyCodeResult implements IResult {
21
21
  private item: Gs2SerialKey.SerialKey|null = null;
22
+ private campaignModel: Gs2SerialKey.CampaignModel|null = null;
22
23
 
23
24
  public getItem(): Gs2SerialKey.SerialKey|null {
24
25
  return this.item;
@@ -34,14 +35,30 @@ export default class VerifyCodeResult implements IResult {
34
35
  return this;
35
36
  }
36
37
 
38
+ public getCampaignModel(): Gs2SerialKey.CampaignModel|null {
39
+ return this.campaignModel;
40
+ }
41
+
42
+ public setCampaignModel(campaignModel: Gs2SerialKey.CampaignModel|null) {
43
+ this.campaignModel = campaignModel;
44
+ return this;
45
+ }
46
+
47
+ public withCampaignModel(campaignModel: Gs2SerialKey.CampaignModel|null): this {
48
+ this.campaignModel = campaignModel;
49
+ return this;
50
+ }
51
+
37
52
  public static fromDict(data: {[key: string]: any}): VerifyCodeResult {
38
53
  return new VerifyCodeResult()
39
- .withItem(Gs2SerialKey.SerialKey.fromDict(data["item"]));
54
+ .withItem(Gs2SerialKey.SerialKey.fromDict(data["item"]))
55
+ .withCampaignModel(Gs2SerialKey.CampaignModel.fromDict(data["campaignModel"]));
40
56
  }
41
57
 
42
58
  public toDict(): {[key: string]: any} {
43
59
  return {
44
60
  "item": this.getItem()?.toDict(),
61
+ "campaignModel": this.getCampaignModel()?.toDict(),
45
62
  };
46
63
  }
47
64
  }