gs2 1.4.25 → 1.4.27

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 (64) hide show
  1. package/guild/model/Namespace.d.ts +8 -0
  2. package/guild/model/Namespace.js +39 -11
  3. package/guild/model/Namespace.js.map +1 -1
  4. package/guild/model/Namespace.ts +28 -0
  5. package/guild/request/CreateNamespaceRequest.d.ts +8 -0
  6. package/guild/request/CreateNamespaceRequest.js +39 -11
  7. package/guild/request/CreateNamespaceRequest.js.map +1 -1
  8. package/guild/request/CreateNamespaceRequest.ts +28 -0
  9. package/guild/request/UpdateNamespaceRequest.d.ts +8 -0
  10. package/guild/request/UpdateNamespaceRequest.js +39 -11
  11. package/guild/request/UpdateNamespaceRequest.js.map +1 -1
  12. package/guild/request/UpdateNamespaceRequest.ts +28 -0
  13. package/guild/rest.js +26 -22
  14. package/guild/rest.js.map +1 -1
  15. package/guild/rest.ts +4 -0
  16. package/identifier/request/AttachGuardRequest.d.ts +29 -0
  17. package/identifier/request/AttachGuardRequest.js +97 -0
  18. package/identifier/request/AttachGuardRequest.js.map +1 -0
  19. package/identifier/request/AttachGuardRequest.ts +104 -0
  20. package/identifier/request/DescribeAttachedGuardsRequest.d.ts +25 -0
  21. package/identifier/request/DescribeAttachedGuardsRequest.js +83 -0
  22. package/identifier/request/DescribeAttachedGuardsRequest.js.map +1 -0
  23. package/identifier/request/DescribeAttachedGuardsRequest.ts +90 -0
  24. package/identifier/request/DetachGuardRequest.d.ts +29 -0
  25. package/identifier/request/DetachGuardRequest.js +97 -0
  26. package/identifier/request/DetachGuardRequest.js.map +1 -0
  27. package/identifier/request/DetachGuardRequest.ts +104 -0
  28. package/identifier/request/index.d.ts +4 -1
  29. package/identifier/request/index.js +7 -1
  30. package/identifier/request/index.js.map +1 -1
  31. package/identifier/request/index.ts +6 -0
  32. package/identifier/rest.d.ts +3 -0
  33. package/identifier/rest.js +75 -0
  34. package/identifier/rest.js.map +1 -1
  35. package/identifier/rest.ts +87 -0
  36. package/identifier/result/AttachGuardResult.d.ts +13 -0
  37. package/identifier/result/AttachGuardResult.js +51 -0
  38. package/identifier/result/AttachGuardResult.js.map +1 -0
  39. package/identifier/result/AttachGuardResult.ts +54 -0
  40. package/identifier/result/DescribeAttachedGuardsResult.d.ts +13 -0
  41. package/identifier/result/DescribeAttachedGuardsResult.js +51 -0
  42. package/identifier/result/DescribeAttachedGuardsResult.js.map +1 -0
  43. package/identifier/result/DescribeAttachedGuardsResult.ts +54 -0
  44. package/identifier/result/DetachGuardResult.d.ts +13 -0
  45. package/identifier/result/DetachGuardResult.js +51 -0
  46. package/identifier/result/DetachGuardResult.js.map +1 -0
  47. package/identifier/result/DetachGuardResult.ts +54 -0
  48. package/identifier/result/index.d.ts +4 -1
  49. package/identifier/result/index.js +7 -1
  50. package/identifier/result/index.js.map +1 -1
  51. package/identifier/result/index.ts +6 -0
  52. package/lock/request/index.d.ts +1 -3
  53. package/lock/request/index.js +1 -5
  54. package/lock/request/index.js.map +1 -1
  55. package/lock/request/index.ts +0 -4
  56. package/lock/rest.d.ts +0 -2
  57. package/lock/rest.js +0 -55
  58. package/lock/rest.js.map +1 -1
  59. package/lock/rest.ts +0 -63
  60. package/lock/result/index.d.ts +1 -3
  61. package/lock/result/index.js +1 -5
  62. package/lock/result/index.js.map +1 -1
  63. package/lock/result/index.ts +0 -4
  64. package/package.json +1 -1
@@ -23,12 +23,14 @@ var UpdateNamespaceRequest = /** @class */ (function () {
23
23
  this.contextStack = null;
24
24
  this.namespaceName = null;
25
25
  this.description = null;
26
+ this.changeNotification = null;
26
27
  this.joinNotification = null;
27
28
  this.leaveNotification = null;
28
29
  this.changeMemberNotification = null;
29
30
  this.receiveRequestNotification = null;
30
31
  this.removeRequestNotification = null;
31
32
  this.createGuildScript = null;
33
+ this.updateGuildScript = null;
32
34
  this.joinGuildScript = null;
33
35
  this.leaveGuildScript = null;
34
36
  this.changeRoleScript = null;
@@ -78,6 +80,17 @@ var UpdateNamespaceRequest = /** @class */ (function () {
78
80
  this.description = description;
79
81
  return this;
80
82
  };
83
+ UpdateNamespaceRequest.prototype.getChangeNotification = function () {
84
+ return this.changeNotification;
85
+ };
86
+ UpdateNamespaceRequest.prototype.setChangeNotification = function (changeNotification) {
87
+ this.changeNotification = changeNotification;
88
+ return this;
89
+ };
90
+ UpdateNamespaceRequest.prototype.withChangeNotification = function (changeNotification) {
91
+ this.changeNotification = changeNotification;
92
+ return this;
93
+ };
81
94
  UpdateNamespaceRequest.prototype.getJoinNotification = function () {
82
95
  return this.joinNotification;
83
96
  };
@@ -144,6 +157,17 @@ var UpdateNamespaceRequest = /** @class */ (function () {
144
157
  this.createGuildScript = createGuildScript;
145
158
  return this;
146
159
  };
160
+ UpdateNamespaceRequest.prototype.getUpdateGuildScript = function () {
161
+ return this.updateGuildScript;
162
+ };
163
+ UpdateNamespaceRequest.prototype.setUpdateGuildScript = function (updateGuildScript) {
164
+ this.updateGuildScript = updateGuildScript;
165
+ return this;
166
+ };
167
+ UpdateNamespaceRequest.prototype.withUpdateGuildScript = function (updateGuildScript) {
168
+ this.updateGuildScript = updateGuildScript;
169
+ return this;
170
+ };
147
171
  UpdateNamespaceRequest.prototype.getJoinGuildScript = function () {
148
172
  return this.joinGuildScript;
149
173
  };
@@ -192,32 +216,36 @@ var UpdateNamespaceRequest = /** @class */ (function () {
192
216
  return new UpdateNamespaceRequest()
193
217
  .withNamespaceName(data["namespaceName"])
194
218
  .withDescription(data["description"])
219
+ .withChangeNotification(Gs2Guild.NotificationSetting.fromDict(data["changeNotification"]))
195
220
  .withJoinNotification(Gs2Guild.NotificationSetting.fromDict(data["joinNotification"]))
196
221
  .withLeaveNotification(Gs2Guild.NotificationSetting.fromDict(data["leaveNotification"]))
197
222
  .withChangeMemberNotification(Gs2Guild.NotificationSetting.fromDict(data["changeMemberNotification"]))
198
223
  .withReceiveRequestNotification(Gs2Guild.NotificationSetting.fromDict(data["receiveRequestNotification"]))
199
224
  .withRemoveRequestNotification(Gs2Guild.NotificationSetting.fromDict(data["removeRequestNotification"]))
200
225
  .withCreateGuildScript(Gs2Guild.ScriptSetting.fromDict(data["createGuildScript"]))
226
+ .withUpdateGuildScript(Gs2Guild.ScriptSetting.fromDict(data["updateGuildScript"]))
201
227
  .withJoinGuildScript(Gs2Guild.ScriptSetting.fromDict(data["joinGuildScript"]))
202
228
  .withLeaveGuildScript(Gs2Guild.ScriptSetting.fromDict(data["leaveGuildScript"]))
203
229
  .withChangeRoleScript(Gs2Guild.ScriptSetting.fromDict(data["changeRoleScript"]))
204
230
  .withLogSetting(Gs2Guild.LogSetting.fromDict(data["logSetting"]));
205
231
  };
206
232
  UpdateNamespaceRequest.prototype.toDict = function () {
207
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
233
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
208
234
  return {
209
235
  "namespaceName": this.getNamespaceName(),
210
236
  "description": this.getDescription(),
211
- "joinNotification": (_a = this.getJoinNotification()) === null || _a === void 0 ? void 0 : _a.toDict(),
212
- "leaveNotification": (_b = this.getLeaveNotification()) === null || _b === void 0 ? void 0 : _b.toDict(),
213
- "changeMemberNotification": (_c = this.getChangeMemberNotification()) === null || _c === void 0 ? void 0 : _c.toDict(),
214
- "receiveRequestNotification": (_d = this.getReceiveRequestNotification()) === null || _d === void 0 ? void 0 : _d.toDict(),
215
- "removeRequestNotification": (_e = this.getRemoveRequestNotification()) === null || _e === void 0 ? void 0 : _e.toDict(),
216
- "createGuildScript": (_f = this.getCreateGuildScript()) === null || _f === void 0 ? void 0 : _f.toDict(),
217
- "joinGuildScript": (_g = this.getJoinGuildScript()) === null || _g === void 0 ? void 0 : _g.toDict(),
218
- "leaveGuildScript": (_h = this.getLeaveGuildScript()) === null || _h === void 0 ? void 0 : _h.toDict(),
219
- "changeRoleScript": (_j = this.getChangeRoleScript()) === null || _j === void 0 ? void 0 : _j.toDict(),
220
- "logSetting": (_k = this.getLogSetting()) === null || _k === void 0 ? void 0 : _k.toDict(),
237
+ "changeNotification": (_a = this.getChangeNotification()) === null || _a === void 0 ? void 0 : _a.toDict(),
238
+ "joinNotification": (_b = this.getJoinNotification()) === null || _b === void 0 ? void 0 : _b.toDict(),
239
+ "leaveNotification": (_c = this.getLeaveNotification()) === null || _c === void 0 ? void 0 : _c.toDict(),
240
+ "changeMemberNotification": (_d = this.getChangeMemberNotification()) === null || _d === void 0 ? void 0 : _d.toDict(),
241
+ "receiveRequestNotification": (_e = this.getReceiveRequestNotification()) === null || _e === void 0 ? void 0 : _e.toDict(),
242
+ "removeRequestNotification": (_f = this.getRemoveRequestNotification()) === null || _f === void 0 ? void 0 : _f.toDict(),
243
+ "createGuildScript": (_g = this.getCreateGuildScript()) === null || _g === void 0 ? void 0 : _g.toDict(),
244
+ "updateGuildScript": (_h = this.getUpdateGuildScript()) === null || _h === void 0 ? void 0 : _h.toDict(),
245
+ "joinGuildScript": (_j = this.getJoinGuildScript()) === null || _j === void 0 ? void 0 : _j.toDict(),
246
+ "leaveGuildScript": (_k = this.getLeaveGuildScript()) === null || _k === void 0 ? void 0 : _k.toDict(),
247
+ "changeRoleScript": (_l = this.getChangeRoleScript()) === null || _l === void 0 ? void 0 : _l.toDict(),
248
+ "logSetting": (_m = this.getLogSetting()) === null || _m === void 0 ? void 0 : _m.toDict(),
221
249
  };
222
250
  };
223
251
  return UpdateNamespaceRequest;
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateNamespaceRequest.js","sourceRoot":"","sources":["UpdateNamespaceRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,yDAAoC;AAEpC;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,qBAAgB,GAAsC,IAAI,CAAC;QAC3D,sBAAiB,GAAsC,IAAI,CAAC;QAC5D,6BA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GAAb;;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,oBAAoB,EAAE,MAAA,IAAI,CAAC,qBAAqB,EAAE,0CAAE,MAAM,EAAE;YAC5D,kBAAkB,EAAE,MAAA,IAAI,CAAC,mBAAmB,EAAE,0CAAE,MAAM,EAAE;YACxD,mBAAmB,EAAE,MAAA,IAAI,CAAC,oBAAoB,EAAE,0CAAE,MAAM,EAAE;YAC1D,0BAA0B,EAAE,MAAA,IAAI,CAAC,2BAA2B,EAAE,0CAAE,MAAM,EAAE;YACxE,4BAA4B,EAAE,MAAA,IAAI,CAAC,6BAA6B,EAAE,0CAAE,MAAM,EAAE;YAC5E,2BAA2B,EAAE,MAAA,IAAI,CAAC,4BAA4B,EAAE,0CAAE,MAAM,EAAE;YAC1E,mBAAmB,EAAE,MAAA,IAAI,CAAC,oBAAoB,EAAE,0CAAE,MAAM,EAAE;YAC1D,mBAAmB,EAAE,MAAA,IAAI,CAAC,oBAAoB,EAAE,0CAAE,MAAM,EAAE;YAC1D,iBAAiB,EAAE,MAAA,IAAI,CAAC,kBAAkB,EAAE,0CAAE,MAAM,EAAE;YACtD,kBAAkB,EAAE,MAAA,IAAI,CAAC,mBAAmB,EAAE,0CAAE,MAAM,EAAE;YACxD,kBAAkB,EAAE,MAAA,IAAI,CAAC,mBAAmB,EAAE,0CAAE,MAAM,EAAE;YACxD,YAAY,EAAE,MAAA,IAAI,CAAC,aAAa,EAAE,0CAAE,MAAM,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,6BAAC;AAAD,CAAC,AA7OD,IA6OC"}
@@ -24,12 +24,14 @@ export default class UpdateNamespaceRequest implements IRequest {
24
24
  private contextStack: string|null = null;
25
25
  private namespaceName: string|null = null;
26
26
  private description: string|null = null;
27
+ private changeNotification: Gs2Guild.NotificationSetting|null = null;
27
28
  private joinNotification: Gs2Guild.NotificationSetting|null = null;
28
29
  private leaveNotification: Gs2Guild.NotificationSetting|null = null;
29
30
  private changeMemberNotification: Gs2Guild.NotificationSetting|null = null;
30
31
  private receiveRequestNotification: Gs2Guild.NotificationSetting|null = null;
31
32
  private removeRequestNotification: Gs2Guild.NotificationSetting|null = null;
32
33
  private createGuildScript: Gs2Guild.ScriptSetting|null = null;
34
+ private updateGuildScript: Gs2Guild.ScriptSetting|null = null;
33
35
  private joinGuildScript: Gs2Guild.ScriptSetting|null = null;
34
36
  private leaveGuildScript: Gs2Guild.ScriptSetting|null = null;
35
37
  private changeRoleScript: Gs2Guild.ScriptSetting|null = null;
@@ -84,6 +86,17 @@ export default class UpdateNamespaceRequest implements IRequest {
84
86
  this.description = description;
85
87
  return this;
86
88
  }
89
+ public getChangeNotification(): Gs2Guild.NotificationSetting|null {
90
+ return this.changeNotification;
91
+ }
92
+ public setChangeNotification(changeNotification: Gs2Guild.NotificationSetting|null) {
93
+ this.changeNotification = changeNotification;
94
+ return this;
95
+ }
96
+ public withChangeNotification(changeNotification: Gs2Guild.NotificationSetting|null): this {
97
+ this.changeNotification = changeNotification;
98
+ return this;
99
+ }
87
100
  public getJoinNotification(): Gs2Guild.NotificationSetting|null {
88
101
  return this.joinNotification;
89
102
  }
@@ -150,6 +163,17 @@ export default class UpdateNamespaceRequest implements IRequest {
150
163
  this.createGuildScript = createGuildScript;
151
164
  return this;
152
165
  }
166
+ public getUpdateGuildScript(): Gs2Guild.ScriptSetting|null {
167
+ return this.updateGuildScript;
168
+ }
169
+ public setUpdateGuildScript(updateGuildScript: Gs2Guild.ScriptSetting|null) {
170
+ this.updateGuildScript = updateGuildScript;
171
+ return this;
172
+ }
173
+ public withUpdateGuildScript(updateGuildScript: Gs2Guild.ScriptSetting|null): this {
174
+ this.updateGuildScript = updateGuildScript;
175
+ return this;
176
+ }
153
177
  public getJoinGuildScript(): Gs2Guild.ScriptSetting|null {
154
178
  return this.joinGuildScript;
155
179
  }
@@ -199,12 +223,14 @@ export default class UpdateNamespaceRequest implements IRequest {
199
223
  return new UpdateNamespaceRequest()
200
224
  .withNamespaceName(data["namespaceName"])
201
225
  .withDescription(data["description"])
226
+ .withChangeNotification(Gs2Guild.NotificationSetting.fromDict(data["changeNotification"]))
202
227
  .withJoinNotification(Gs2Guild.NotificationSetting.fromDict(data["joinNotification"]))
203
228
  .withLeaveNotification(Gs2Guild.NotificationSetting.fromDict(data["leaveNotification"]))
204
229
  .withChangeMemberNotification(Gs2Guild.NotificationSetting.fromDict(data["changeMemberNotification"]))
205
230
  .withReceiveRequestNotification(Gs2Guild.NotificationSetting.fromDict(data["receiveRequestNotification"]))
206
231
  .withRemoveRequestNotification(Gs2Guild.NotificationSetting.fromDict(data["removeRequestNotification"]))
207
232
  .withCreateGuildScript(Gs2Guild.ScriptSetting.fromDict(data["createGuildScript"]))
233
+ .withUpdateGuildScript(Gs2Guild.ScriptSetting.fromDict(data["updateGuildScript"]))
208
234
  .withJoinGuildScript(Gs2Guild.ScriptSetting.fromDict(data["joinGuildScript"]))
209
235
  .withLeaveGuildScript(Gs2Guild.ScriptSetting.fromDict(data["leaveGuildScript"]))
210
236
  .withChangeRoleScript(Gs2Guild.ScriptSetting.fromDict(data["changeRoleScript"]))
@@ -215,12 +241,14 @@ export default class UpdateNamespaceRequest implements IRequest {
215
241
  return {
216
242
  "namespaceName": this.getNamespaceName(),
217
243
  "description": this.getDescription(),
244
+ "changeNotification": this.getChangeNotification()?.toDict(),
218
245
  "joinNotification": this.getJoinNotification()?.toDict(),
219
246
  "leaveNotification": this.getLeaveNotification()?.toDict(),
220
247
  "changeMemberNotification": this.getChangeMemberNotification()?.toDict(),
221
248
  "receiveRequestNotification": this.getReceiveRequestNotification()?.toDict(),
222
249
  "removeRequestNotification": this.getRemoveRequestNotification()?.toDict(),
223
250
  "createGuildScript": this.getCreateGuildScript()?.toDict(),
251
+ "updateGuildScript": this.getUpdateGuildScript()?.toDict(),
224
252
  "joinGuildScript": this.getJoinGuildScript()?.toDict(),
225
253
  "leaveGuildScript": this.getLeaveGuildScript()?.toDict(),
226
254
  "changeRoleScript": this.getChangeRoleScript()?.toDict(),
package/guild/rest.js CHANGED
@@ -49,7 +49,7 @@ var Gs2GuildRestClient = /** @class */ (function (_super) {
49
49
  });
50
50
  };
51
51
  Gs2GuildRestClient.prototype.createNamespace = function (request) {
52
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
52
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2;
53
53
  var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/')
54
54
  .replace('{service}', 'guild')
55
55
  .replace('{region}', this.session.region);
@@ -61,16 +61,18 @@ var Gs2GuildRestClient = /** @class */ (function (_super) {
61
61
  'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
62
62
  'name': (_b = request.getName()) !== null && _b !== void 0 ? _b : null,
63
63
  'description': (_c = request.getDescription()) !== null && _c !== void 0 ? _c : null,
64
- 'joinNotification': (_e = (_d = request.getJoinNotification()) === null || _d === void 0 ? void 0 : _d.toDict()) !== null && _e !== void 0 ? _e : null,
65
- 'leaveNotification': (_g = (_f = request.getLeaveNotification()) === null || _f === void 0 ? void 0 : _f.toDict()) !== null && _g !== void 0 ? _g : null,
66
- 'changeMemberNotification': (_j = (_h = request.getChangeMemberNotification()) === null || _h === void 0 ? void 0 : _h.toDict()) !== null && _j !== void 0 ? _j : null,
67
- 'receiveRequestNotification': (_l = (_k = request.getReceiveRequestNotification()) === null || _k === void 0 ? void 0 : _k.toDict()) !== null && _l !== void 0 ? _l : null,
68
- 'removeRequestNotification': (_o = (_m = request.getRemoveRequestNotification()) === null || _m === void 0 ? void 0 : _m.toDict()) !== null && _o !== void 0 ? _o : null,
69
- 'createGuildScript': (_q = (_p = request.getCreateGuildScript()) === null || _p === void 0 ? void 0 : _p.toDict()) !== null && _q !== void 0 ? _q : null,
70
- 'joinGuildScript': (_s = (_r = request.getJoinGuildScript()) === null || _r === void 0 ? void 0 : _r.toDict()) !== null && _s !== void 0 ? _s : null,
71
- 'leaveGuildScript': (_u = (_t = request.getLeaveGuildScript()) === null || _t === void 0 ? void 0 : _t.toDict()) !== null && _u !== void 0 ? _u : null,
72
- 'changeRoleScript': (_w = (_v = request.getChangeRoleScript()) === null || _v === void 0 ? void 0 : _v.toDict()) !== null && _w !== void 0 ? _w : null,
73
- 'logSetting': (_y = (_x = request.getLogSetting()) === null || _x === void 0 ? void 0 : _x.toDict()) !== null && _y !== void 0 ? _y : null,
64
+ 'changeNotification': (_e = (_d = request.getChangeNotification()) === null || _d === void 0 ? void 0 : _d.toDict()) !== null && _e !== void 0 ? _e : null,
65
+ 'joinNotification': (_g = (_f = request.getJoinNotification()) === null || _f === void 0 ? void 0 : _f.toDict()) !== null && _g !== void 0 ? _g : null,
66
+ 'leaveNotification': (_j = (_h = request.getLeaveNotification()) === null || _h === void 0 ? void 0 : _h.toDict()) !== null && _j !== void 0 ? _j : null,
67
+ 'changeMemberNotification': (_l = (_k = request.getChangeMemberNotification()) === null || _k === void 0 ? void 0 : _k.toDict()) !== null && _l !== void 0 ? _l : null,
68
+ 'receiveRequestNotification': (_o = (_m = request.getReceiveRequestNotification()) === null || _m === void 0 ? void 0 : _m.toDict()) !== null && _o !== void 0 ? _o : null,
69
+ 'removeRequestNotification': (_q = (_p = request.getRemoveRequestNotification()) === null || _p === void 0 ? void 0 : _p.toDict()) !== null && _q !== void 0 ? _q : null,
70
+ 'createGuildScript': (_s = (_r = request.getCreateGuildScript()) === null || _r === void 0 ? void 0 : _r.toDict()) !== null && _s !== void 0 ? _s : null,
71
+ 'updateGuildScript': (_u = (_t = request.getUpdateGuildScript()) === null || _t === void 0 ? void 0 : _t.toDict()) !== null && _u !== void 0 ? _u : null,
72
+ 'joinGuildScript': (_w = (_v = request.getJoinGuildScript()) === null || _v === void 0 ? void 0 : _v.toDict()) !== null && _w !== void 0 ? _w : null,
73
+ 'leaveGuildScript': (_y = (_x = request.getLeaveGuildScript()) === null || _x === void 0 ? void 0 : _x.toDict()) !== null && _y !== void 0 ? _y : null,
74
+ 'changeRoleScript': (_0 = (_z = request.getChangeRoleScript()) === null || _z === void 0 ? void 0 : _z.toDict()) !== null && _0 !== void 0 ? _0 : null,
75
+ 'logSetting': (_2 = (_1 = request.getLogSetting()) === null || _1 === void 0 ? void 0 : _1.toDict()) !== null && _2 !== void 0 ? _2 : null,
74
76
  };
75
77
  return axios_1.default.post(url, body, {
76
78
  headers: headers,
@@ -130,7 +132,7 @@ var Gs2GuildRestClient = /** @class */ (function (_super) {
130
132
  });
131
133
  };
132
134
  Gs2GuildRestClient.prototype.updateNamespace = function (request) {
133
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
135
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
134
136
  var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
135
137
  .replace('{service}', 'guild')
136
138
  .replace('{region}', this.session.region)
@@ -142,16 +144,18 @@ var Gs2GuildRestClient = /** @class */ (function (_super) {
142
144
  var body = {
143
145
  'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
144
146
  'description': (_d = request.getDescription()) !== null && _d !== void 0 ? _d : null,
145
- 'joinNotification': (_f = (_e = request.getJoinNotification()) === null || _e === void 0 ? void 0 : _e.toDict()) !== null && _f !== void 0 ? _f : null,
146
- 'leaveNotification': (_h = (_g = request.getLeaveNotification()) === null || _g === void 0 ? void 0 : _g.toDict()) !== null && _h !== void 0 ? _h : null,
147
- 'changeMemberNotification': (_k = (_j = request.getChangeMemberNotification()) === null || _j === void 0 ? void 0 : _j.toDict()) !== null && _k !== void 0 ? _k : null,
148
- 'receiveRequestNotification': (_m = (_l = request.getReceiveRequestNotification()) === null || _l === void 0 ? void 0 : _l.toDict()) !== null && _m !== void 0 ? _m : null,
149
- 'removeRequestNotification': (_p = (_o = request.getRemoveRequestNotification()) === null || _o === void 0 ? void 0 : _o.toDict()) !== null && _p !== void 0 ? _p : null,
150
- 'createGuildScript': (_r = (_q = request.getCreateGuildScript()) === null || _q === void 0 ? void 0 : _q.toDict()) !== null && _r !== void 0 ? _r : null,
151
- 'joinGuildScript': (_t = (_s = request.getJoinGuildScript()) === null || _s === void 0 ? void 0 : _s.toDict()) !== null && _t !== void 0 ? _t : null,
152
- 'leaveGuildScript': (_v = (_u = request.getLeaveGuildScript()) === null || _u === void 0 ? void 0 : _u.toDict()) !== null && _v !== void 0 ? _v : null,
153
- 'changeRoleScript': (_x = (_w = request.getChangeRoleScript()) === null || _w === void 0 ? void 0 : _w.toDict()) !== null && _x !== void 0 ? _x : null,
154
- 'logSetting': (_z = (_y = request.getLogSetting()) === null || _y === void 0 ? void 0 : _y.toDict()) !== null && _z !== void 0 ? _z : null,
147
+ 'changeNotification': (_f = (_e = request.getChangeNotification()) === null || _e === void 0 ? void 0 : _e.toDict()) !== null && _f !== void 0 ? _f : null,
148
+ 'joinNotification': (_h = (_g = request.getJoinNotification()) === null || _g === void 0 ? void 0 : _g.toDict()) !== null && _h !== void 0 ? _h : null,
149
+ 'leaveNotification': (_k = (_j = request.getLeaveNotification()) === null || _j === void 0 ? void 0 : _j.toDict()) !== null && _k !== void 0 ? _k : null,
150
+ 'changeMemberNotification': (_m = (_l = request.getChangeMemberNotification()) === null || _l === void 0 ? void 0 : _l.toDict()) !== null && _m !== void 0 ? _m : null,
151
+ 'receiveRequestNotification': (_p = (_o = request.getReceiveRequestNotification()) === null || _o === void 0 ? void 0 : _o.toDict()) !== null && _p !== void 0 ? _p : null,
152
+ 'removeRequestNotification': (_r = (_q = request.getRemoveRequestNotification()) === null || _q === void 0 ? void 0 : _q.toDict()) !== null && _r !== void 0 ? _r : null,
153
+ 'createGuildScript': (_t = (_s = request.getCreateGuildScript()) === null || _s === void 0 ? void 0 : _s.toDict()) !== null && _t !== void 0 ? _t : null,
154
+ 'updateGuildScript': (_v = (_u = request.getUpdateGuildScript()) === null || _u === void 0 ? void 0 : _u.toDict()) !== null && _v !== void 0 ? _v : null,
155
+ 'joinGuildScript': (_x = (_w = request.getJoinGuildScript()) === null || _w === void 0 ? void 0 : _w.toDict()) !== null && _x !== void 0 ? _x : null,
156
+ 'leaveGuildScript': (_z = (_y = request.getLeaveGuildScript()) === null || _y === void 0 ? void 0 : _y.toDict()) !== null && _z !== void 0 ? _z : null,
157
+ 'changeRoleScript': (_1 = (_0 = request.getChangeRoleScript()) === null || _0 === void 0 ? void 0 : _0.toDict()) !== null && _1 !== void 0 ? _1 : null,
158
+ 'logSetting': (_3 = (_2 = request.getLogSetting()) === null || _2 === void 0 ? void 0 : _2.toDict()) !== null && _3 !== void 0 ? _3 : null,
155
159
  };
156
160
  return axios_1.default.put(url, body, {
157
161
  headers: headers,