gs2-cdk 1.0.116 → 1.0.118

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 (51) hide show
  1. package/chat/model/CategoryModel.d.ts +9 -0
  2. package/chat/model/CategoryModel.js +22 -0
  3. package/chat/model/CategoryModel.js.map +1 -0
  4. package/chat/model/CategoryModel.ts +44 -0
  5. package/chat/model/CurrentMasterData.d.ts +13 -0
  6. package/chat/model/CurrentMasterData.js +50 -0
  7. package/chat/model/CurrentMasterData.js.map +1 -0
  8. package/chat/model/CurrentMasterData.ts +70 -0
  9. package/chat/model/Namespace.d.ts +2 -0
  10. package/chat/model/Namespace.js +5 -0
  11. package/chat/model/Namespace.js.map +1 -1
  12. package/chat/model/Namespace.ts +15 -0
  13. package/chat/model/enums/CategoryModelRejectAccessTokenPost.d.ts +5 -0
  14. package/chat/model/enums/CategoryModelRejectAccessTokenPost.js +23 -0
  15. package/chat/model/enums/CategoryModelRejectAccessTokenPost.js.map +1 -0
  16. package/chat/model/enums/CategoryModelRejectAccessTokenPost.ts +23 -0
  17. package/chat/model/index.d.ts +5 -1
  18. package/chat/model/index.js +7 -1
  19. package/chat/model/index.js.map +1 -1
  20. package/chat/model/index.ts +8 -0
  21. package/chat/model/options/CategoryModelOptions.d.ts +4 -0
  22. package/chat/model/options/CategoryModelOptions.js +3 -0
  23. package/chat/model/options/CategoryModelOptions.js.map +1 -0
  24. package/chat/model/options/CategoryModelOptions.ts +21 -0
  25. package/chat/ref/CategoryModelRef.d.ts +6 -0
  26. package/chat/ref/CategoryModelRef.js +40 -0
  27. package/chat/ref/CategoryModelRef.js.map +1 -0
  28. package/chat/ref/CategoryModelRef.ts +54 -0
  29. package/chat/ref/MasterDataObjectRef.d.ts +5 -0
  30. package/chat/ref/MasterDataObjectRef.js +25 -0
  31. package/chat/ref/MasterDataObjectRef.js.map +1 -0
  32. package/chat/ref/MasterDataObjectRef.ts +30 -0
  33. package/chat/ref/MasterDataVersionRef.d.ts +6 -0
  34. package/chat/ref/MasterDataVersionRef.js +26 -0
  35. package/chat/ref/MasterDataVersionRef.js.map +1 -0
  36. package/chat/ref/MasterDataVersionRef.ts +33 -0
  37. package/chat/ref/NamespaceRef.d.ts +2 -0
  38. package/chat/ref/NamespaceRef.js +5 -0
  39. package/chat/ref/NamespaceRef.js.map +1 -1
  40. package/chat/ref/NamespaceRef.ts +10 -0
  41. package/chat/ref/index.d.ts +4 -1
  42. package/chat/ref/index.js +7 -1
  43. package/chat/ref/index.js.map +1 -1
  44. package/chat/ref/index.ts +6 -0
  45. package/guild/model/Namespace.d.ts +1 -0
  46. package/guild/model/Namespace.js +15 -10
  47. package/guild/model/Namespace.js.map +1 -1
  48. package/guild/model/Namespace.ts +6 -0
  49. package/guild/model/options/NamespaceOptions.d.ts +1 -0
  50. package/guild/model/options/NamespaceOptions.ts +1 -0
  51. package/package.json +1 -1
@@ -0,0 +1,9 @@
1
+ import { CategoryModelOptions } from "./options/CategoryModelOptions";
2
+ export default class CategoryModel {
3
+ private readonly category;
4
+ private readonly rejectAccessTokenPost;
5
+ constructor(category: number, options?: CategoryModelOptions | null);
6
+ properties(): {
7
+ [name: string]: any;
8
+ };
9
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class CategoryModel {
4
+ constructor(category, options = null) {
5
+ var _a;
6
+ this.rejectAccessTokenPost = null;
7
+ this.category = category;
8
+ this.rejectAccessTokenPost = (_a = options === null || options === void 0 ? void 0 : options.rejectAccessTokenPost) !== null && _a !== void 0 ? _a : null;
9
+ }
10
+ properties() {
11
+ let properties = {};
12
+ if (this.category != null) {
13
+ properties["category"] = this.category;
14
+ }
15
+ if (this.rejectAccessTokenPost != null) {
16
+ properties["rejectAccessTokenPost"] = this.rejectAccessTokenPost;
17
+ }
18
+ return properties;
19
+ }
20
+ }
21
+ exports.default = CategoryModel;
22
+ //# sourceMappingURL=CategoryModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoryModel.js","sourceRoot":"","sources":["CategoryModel.ts"],"names":[],"mappings":";;AAkBA,MAAqB,aAAa;IAI9B,YACI,QAAgB,EAChB,UAAqC,IAAI;;QAJ5B,0BAAqB,GAA4C,IAAI,CAAC;QAMnF,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,qBAAqB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,qBAAqB,mCAAI,IAAI,CAAC;IACxE,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,qBAAqB,IAAI,IAAI,EAAE;YACpC,UAAU,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,qBAAqB,CAAC;SACpE;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAzBD,gCAyBC"}
@@ -0,0 +1,44 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+ import { CategoryModelOptions } from "./options/CategoryModelOptions";
17
+ import { CategoryModelRejectAccessTokenPost } from "./enums/CategoryModelRejectAccessTokenPost";
18
+
19
+ export default class CategoryModel {
20
+ private readonly category: number;
21
+ private readonly rejectAccessTokenPost: CategoryModelRejectAccessTokenPost|null = null;
22
+
23
+ public constructor(
24
+ category: number,
25
+ options: CategoryModelOptions|null = null,
26
+ ) {
27
+ this.category = category;
28
+ this.rejectAccessTokenPost = options?.rejectAccessTokenPost ?? null;
29
+ }
30
+
31
+ public properties(
32
+ ): {[name: string]: any} {
33
+ let properties: {[name: string]: any} = {};
34
+
35
+ if (this.category != null) {
36
+ properties["category"] = this.category;
37
+ }
38
+ if (this.rejectAccessTokenPost != null) {
39
+ properties["rejectAccessTokenPost"] = this.rejectAccessTokenPost;
40
+ }
41
+
42
+ return properties;
43
+ }
44
+ }
@@ -0,0 +1,13 @@
1
+ import { CdkResource, Stack } from "../../core/model";
2
+ import CategoryModel from "./CategoryModel";
3
+ export default class CurrentMasterData extends CdkResource {
4
+ private readonly version;
5
+ private readonly namespaceName;
6
+ private readonly categoryModels;
7
+ constructor(stack: Stack, namespaceName: string, categoryModels: CategoryModel[]);
8
+ alternateKeys(): string;
9
+ resourceType(): string;
10
+ properties(): {
11
+ [name: string]: any;
12
+ };
13
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /*
4
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
5
+ * Reserved.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License").
8
+ * You may not use this file except in compliance with the License.
9
+ * A copy of the License is located at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * or in the "license" file accompanying this file. This file is distributed
14
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
15
+ * express or implied. See the License for the specific language governing
16
+ * permissions and limitations under the License.
17
+ */
18
+ const model_1 = require("../../core/model");
19
+ class CurrentMasterData extends model_1.CdkResource {
20
+ constructor(stack, namespaceName, categoryModels) {
21
+ super("Chat_CurrentModelMaster_" + namespaceName);
22
+ this.version = "2020-04-30";
23
+ this.namespaceName = namespaceName;
24
+ this.categoryModels = categoryModels;
25
+ stack.addResource(this);
26
+ }
27
+ alternateKeys() {
28
+ return this.namespaceName;
29
+ }
30
+ resourceType() {
31
+ return "GS2::Chat::CurrentModelMaster";
32
+ }
33
+ properties() {
34
+ let properties = {};
35
+ let settings = {};
36
+ settings["version"] = this.version;
37
+ if (this.categoryModels != null) {
38
+ settings["categoryModels"] = this.categoryModels.map(v => v.properties());
39
+ }
40
+ if (this.namespaceName != null) {
41
+ properties["NamespaceName"] = this.namespaceName;
42
+ }
43
+ if (settings != null) {
44
+ properties["Settings"] = settings;
45
+ }
46
+ return properties;
47
+ }
48
+ }
49
+ exports.default = CurrentMasterData;
50
+ //# sourceMappingURL=CurrentMasterData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CurrentMasterData.js","sourceRoot":"","sources":["CurrentMasterData.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AACH,4CAAoD;AAGpD,MAAqB,iBAAkB,SAAQ,mBAAW;IAKtD,YACI,KAAY,EACZ,aAAqB,EACrB,cAA+B;QAE/B,KAAK,CACD,0BAA0B,GAAG,aAAa,CAC7C,CAAC;QAXW,YAAO,GAAU,YAAY,CAAC;QAa3C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,KAAK,CAAC,WAAW,CACb,IAAI,CACP,CAAC;IACN,CAAC;IAEM,aAAa;QAEhB,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,YAAY;QAEf,OAAO,+BAA+B,CAAC;IAC3C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAC3C,IAAI,QAAQ,GAA0B,EAAE,CAAC;QAEzC,QAAQ,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAA;QAClC,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,QAAQ,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACjE,CAAC,CAAC;SACV;QAED,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,QAAQ,IAAI,IAAI,EAAE;YAClB,UAAU,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;SACrC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAnDD,oCAmDC"}
@@ -0,0 +1,70 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+ import {CdkResource, Stack} from "../../core/model";
17
+ import CategoryModel from "./CategoryModel";
18
+
19
+ export default class CurrentMasterData extends CdkResource {
20
+ private readonly version: string= "2020-04-30";
21
+ private readonly namespaceName: string;
22
+ private readonly categoryModels: CategoryModel[];
23
+
24
+ public constructor(
25
+ stack: Stack,
26
+ namespaceName: string,
27
+ categoryModels: CategoryModel[],
28
+ ) {
29
+ super(
30
+ "Chat_CurrentModelMaster_" + namespaceName
31
+ );
32
+
33
+ this.namespaceName = namespaceName;
34
+ this.categoryModels = categoryModels;
35
+ stack.addResource(
36
+ this,
37
+ );
38
+ }
39
+
40
+ public alternateKeys(
41
+ ) {
42
+ return this.namespaceName;
43
+ }
44
+
45
+ public resourceType(
46
+ ): string {
47
+ return "GS2::Chat::CurrentModelMaster";
48
+ }
49
+
50
+ public properties(
51
+ ): {[name: string]: any} {
52
+ let properties: {[name: string]: any} = {};
53
+ let settings: {[name: string]: any} = {};
54
+
55
+ settings["version"] = this.version
56
+ if (this.categoryModels != null) {
57
+ settings["categoryModels"] = this.categoryModels.map(v => v.properties(
58
+ ));
59
+ }
60
+
61
+ if (this.namespaceName != null) {
62
+ properties["NamespaceName"] = this.namespaceName;
63
+ }
64
+ if (settings != null) {
65
+ properties["Settings"] = settings;
66
+ }
67
+
68
+ return properties;
69
+ }
70
+ }
@@ -1,6 +1,7 @@
1
1
  import { CdkResource, Stack } from "../../core/model";
2
2
  import { GetAttr } from "../../core/func";
3
3
  import NamespaceRef from "../ref/NamespaceRef";
4
+ import CategoryModel from "./CategoryModel";
4
5
  import { NamespaceOptions } from "./options/NamespaceOptions";
5
6
  export default class Namespace extends CdkResource {
6
7
  private readonly stack;
@@ -23,4 +24,5 @@ export default class Namespace extends CdkResource {
23
24
  };
24
25
  ref(): NamespaceRef;
25
26
  getAttrNamespaceId(): GetAttr;
27
+ masterData(categoryModels: CategoryModel[]): Namespace;
26
28
  }
@@ -19,6 +19,7 @@ const tslib_1 = require("tslib");
19
19
  const model_1 = require("../../core/model");
20
20
  const func_1 = require("../../core/func");
21
21
  const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
22
+ const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
22
23
  class Namespace extends model_1.CdkResource {
23
24
  constructor(stack, name, options = null) {
24
25
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
@@ -97,6 +98,10 @@ class Namespace extends model_1.CdkResource {
97
98
  getAttrNamespaceId() {
98
99
  return new func_1.GetAttr(this, "Item.NamespaceId", null);
99
100
  }
101
+ masterData(categoryModels) {
102
+ new CurrentMasterData_1.default(this.stack, this.name, categoryModels).addDependsOn(this);
103
+ return this;
104
+ }
100
105
  }
101
106
  exports.default = Namespace;
102
107
  //# sourceMappingURL=Namespace.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Namespace.js","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CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA/HD,4BA+HC"}
@@ -21,6 +21,8 @@ import NotificationSetting from "../../core/model/NotificationSetting";
21
21
  import LogSetting from "../../core/model/LogSetting";
22
22
 
23
23
  import NamespaceRef from "../ref/NamespaceRef";
24
+ import CurrentMasterData from "./CurrentMasterData";
25
+ import CategoryModel from "./CategoryModel";
24
26
 
25
27
  import { NamespaceOptions } from "./options/NamespaceOptions";
26
28
 
@@ -138,4 +140,17 @@ export default class Namespace extends CdkResource {
138
140
  null,
139
141
  );
140
142
  }
143
+
144
+ public masterData(
145
+ categoryModels: CategoryModel[],
146
+ ): Namespace {
147
+ new CurrentMasterData(
148
+ this.stack,
149
+ this.name,
150
+ categoryModels,
151
+ ).addDependsOn(
152
+ this,
153
+ );
154
+ return this;
155
+ }
141
156
  }
@@ -0,0 +1,5 @@
1
+ export declare const CategoryModelRejectAccessTokenPost: {
2
+ readonly ENABLED: "Enabled";
3
+ readonly DISABLED: "Disabled";
4
+ };
5
+ export type CategoryModelRejectAccessTokenPost = typeof CategoryModelRejectAccessTokenPost[keyof typeof CategoryModelRejectAccessTokenPost];
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
+ * Reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License").
7
+ * You may not use this file except in compliance with the License.
8
+ * A copy of the License is located at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * or in the "license" file accompanying this file. This file is distributed
13
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ * express or implied. See the License for the specific language governing
15
+ * permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.CategoryModelRejectAccessTokenPost = void 0;
19
+ exports.CategoryModelRejectAccessTokenPost = {
20
+ ENABLED: "Enabled",
21
+ DISABLED: "Disabled",
22
+ };
23
+ //# sourceMappingURL=CategoryModelRejectAccessTokenPost.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoryModelRejectAccessTokenPost.js","sourceRoot":"","sources":["CategoryModelRejectAccessTokenPost.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,kCAAkC,GAAG;IAC9C,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACd,CAAC"}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+
18
+
19
+ export const CategoryModelRejectAccessTokenPost = {
20
+ ENABLED: "Enabled",
21
+ DISABLED: "Disabled",
22
+ } as const;
23
+ export type CategoryModelRejectAccessTokenPost = typeof CategoryModelRejectAccessTokenPost[keyof typeof CategoryModelRejectAccessTokenPost];
@@ -1,5 +1,9 @@
1
1
  import Namespace from "./Namespace";
2
2
  import { NamespaceOptions } from "./options/NamespaceOptions";
3
+ import CategoryModel from "./CategoryModel";
4
+ import { CategoryModelOptions } from "./options/CategoryModelOptions";
5
+ import { CategoryModelRejectAccessTokenPost } from "./enums/CategoryModelRejectAccessTokenPost";
3
6
  import NotificationType from "./NotificationType";
4
7
  import { NotificationTypeOptions } from "./options/NotificationTypeOptions";
5
- export { Namespace, NamespaceOptions, NotificationType, NotificationTypeOptions, };
8
+ import CurrentMasterData from "./CurrentMasterData";
9
+ export { Namespace, NamespaceOptions, CategoryModel, CategoryModelOptions, CategoryModelRejectAccessTokenPost, NotificationType, NotificationTypeOptions, CurrentMasterData, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NotificationType = exports.Namespace = void 0;
3
+ exports.CurrentMasterData = exports.NotificationType = exports.CategoryModelRejectAccessTokenPost = exports.CategoryModel = exports.Namespace = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  /*
6
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
@@ -19,6 +19,12 @@ const tslib_1 = require("tslib");
19
19
  */
20
20
  const Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
21
21
  exports.Namespace = Namespace_1.default;
22
+ const CategoryModel_1 = tslib_1.__importDefault(require("./CategoryModel"));
23
+ exports.CategoryModel = CategoryModel_1.default;
24
+ const CategoryModelRejectAccessTokenPost_1 = require("./enums/CategoryModelRejectAccessTokenPost");
25
+ Object.defineProperty(exports, "CategoryModelRejectAccessTokenPost", { enumerable: true, get: function () { return CategoryModelRejectAccessTokenPost_1.CategoryModelRejectAccessTokenPost; } });
22
26
  const NotificationType_1 = tslib_1.__importDefault(require("./NotificationType"));
23
27
  exports.NotificationType = NotificationType_1.default;
28
+ const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
29
+ exports.CurrentMasterData = CurrentMasterData_1.default;
24
30
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAMhC,oBANG,mBAAS,CAMH;AAJb,kFAAkD;AAM9C,2BANG,0BAAgB,CAMH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAUhC,oBAVG,mBAAS,CAUH;AARb,4EAA4C;AAUxC,wBAVG,uBAAa,CAUH;AARjB,mGAAgG;AAU5F,mHAVK,uEAAkC,OAUL;AATtC,kFAAkD;AAU9C,2BAVG,0BAAgB,CAUH;AARpB,oFAAoD;AAUhD,4BAVG,2BAAiB,CAUH"}
@@ -15,12 +15,20 @@
15
15
  */
16
16
  import Namespace from "./Namespace";
17
17
  import { NamespaceOptions } from "./options/NamespaceOptions";
18
+ import CategoryModel from "./CategoryModel";
19
+ import { CategoryModelOptions } from "./options/CategoryModelOptions";
20
+ import { CategoryModelRejectAccessTokenPost } from "./enums/CategoryModelRejectAccessTokenPost";
18
21
  import NotificationType from "./NotificationType";
19
22
  import { NotificationTypeOptions } from "./options/NotificationTypeOptions";
23
+ import CurrentMasterData from "./CurrentMasterData";
20
24
 
21
25
  export {
22
26
  Namespace,
23
27
  NamespaceOptions,
28
+ CategoryModel,
29
+ CategoryModelOptions,
30
+ CategoryModelRejectAccessTokenPost,
24
31
  NotificationType,
25
32
  NotificationTypeOptions,
33
+ CurrentMasterData,
26
34
  }
@@ -0,0 +1,4 @@
1
+ import { CategoryModelRejectAccessTokenPost } from "../enums/CategoryModelRejectAccessTokenPost";
2
+ export interface CategoryModelOptions {
3
+ rejectAccessTokenPost?: CategoryModelRejectAccessTokenPost | null;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CategoryModelOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoryModelOptions.js","sourceRoot":"","sources":["CategoryModelOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+ import { CategoryModelRejectAccessTokenPost } from "../enums/CategoryModelRejectAccessTokenPost";
17
+
18
+ export interface CategoryModelOptions {
19
+ rejectAccessTokenPost?: CategoryModelRejectAccessTokenPost|null;
20
+ }
21
+
@@ -0,0 +1,6 @@
1
+ export default class CategoryModelRef {
2
+ private readonly namespaceName;
3
+ private readonly category;
4
+ constructor(namespaceName: string, category: number);
5
+ grn(): string;
6
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
+ * Reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License").
7
+ * You may not use this file except in compliance with the License.
8
+ * A copy of the License is located at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * or in the "license" file accompanying this file. This file is distributed
13
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ * express or implied. See the License for the specific language governing
15
+ * permissions and limitations under the License.
16
+ *
17
+ * deny overwrite
18
+ */
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ const func_1 = require("../../core/func");
21
+ class CategoryModelRef {
22
+ constructor(namespaceName, category) {
23
+ this.namespaceName = namespaceName;
24
+ this.category = category;
25
+ }
26
+ grn() {
27
+ return new func_1.Join(":", [
28
+ "grn",
29
+ "gs2",
30
+ func_1.GetAttr.region().str(),
31
+ func_1.GetAttr.ownerId().str(),
32
+ "chat",
33
+ this.namespaceName,
34
+ "model",
35
+ this.category.toString(),
36
+ ]).str();
37
+ }
38
+ }
39
+ exports.default = CategoryModelRef;
40
+ //# sourceMappingURL=CategoryModelRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoryModelRef.js","sourceRoot":"","sources":["CategoryModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;AAEH,0CAA8C;AAE9C,MAAqB,gBAAgB;IAIjC,YACI,aAAqB,EACrB,QAAgB;QAEhB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,MAAM;YACN,IAAI,CAAC,aAAa;YAClB,OAAO;YACP,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE;SAC3B,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,mCAiCC"}
@@ -0,0 +1,54 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ *
16
+ * deny overwrite
17
+ */
18
+
19
+ import {GetAttr, Join} from "../../core/func";
20
+
21
+ export default class CategoryModelRef {
22
+ private readonly namespaceName: string;
23
+ private readonly category: number;
24
+
25
+ public constructor(
26
+ namespaceName: string,
27
+ category: number,
28
+ ) {
29
+ this.namespaceName = namespaceName;
30
+ this.category = category;
31
+ }
32
+
33
+ public grn(
34
+ ): string {
35
+ return new Join(
36
+ ":",
37
+ [
38
+ "grn",
39
+ "gs2",
40
+ GetAttr.region(
41
+ ).str(
42
+ ),
43
+ GetAttr.ownerId(
44
+ ).str(
45
+ ),
46
+ "chat",
47
+ this.namespaceName,
48
+ "model",
49
+ this.category.toString(),
50
+ ],
51
+ ).str(
52
+ );
53
+ }
54
+ }
@@ -0,0 +1,5 @@
1
+ export default class MasterDataObjectRef {
2
+ private readonly namespaceName;
3
+ private readonly objectKey;
4
+ constructor(namespaceName: string, objectKey: string);
5
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
+ * Reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License").
7
+ * You may not use this file except in compliance with the License.
8
+ * A copy of the License is located at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * or in the "license" file accompanying this file. This file is distributed
13
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ * express or implied. See the License for the specific language governing
15
+ * permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ class MasterDataObjectRef {
19
+ constructor(namespaceName, objectKey) {
20
+ this.namespaceName = namespaceName;
21
+ this.objectKey = objectKey;
22
+ }
23
+ }
24
+ exports.default = MasterDataObjectRef;
25
+ //# sourceMappingURL=MasterDataObjectRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MasterDataObjectRef.js","sourceRoot":"","sources":["MasterDataObjectRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH,MAAqB,mBAAmB;IAIpC,YACI,aAAqB,EACrB,SAAiB;QAEjB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AAXD,sCAWC"}
@@ -0,0 +1,30 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ import {GetAttr, Join} from "../../core/func";
18
+
19
+ export default class MasterDataObjectRef {
20
+ private readonly namespaceName: string;
21
+ private readonly objectKey: string;
22
+
23
+ public constructor(
24
+ namespaceName: string,
25
+ objectKey: string,
26
+ ) {
27
+ this.namespaceName = namespaceName;
28
+ this.objectKey = objectKey;
29
+ }
30
+ }
@@ -0,0 +1,6 @@
1
+ export default class MasterDataVersionRef {
2
+ private readonly namespaceName;
3
+ private readonly objectKey;
4
+ private readonly versionId;
5
+ constructor(namespaceName: string, objectKey: string, versionId: string);
6
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
+ * Reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License").
7
+ * You may not use this file except in compliance with the License.
8
+ * A copy of the License is located at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * or in the "license" file accompanying this file. This file is distributed
13
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ * express or implied. See the License for the specific language governing
15
+ * permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ class MasterDataVersionRef {
19
+ constructor(namespaceName, objectKey, versionId) {
20
+ this.namespaceName = namespaceName;
21
+ this.objectKey = objectKey;
22
+ this.versionId = versionId;
23
+ }
24
+ }
25
+ exports.default = MasterDataVersionRef;
26
+ //# sourceMappingURL=MasterDataVersionRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MasterDataVersionRef.js","sourceRoot":"","sources":["MasterDataVersionRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH,MAAqB,oBAAoB;IAKrC,YACI,aAAqB,EACrB,SAAiB,EACjB,SAAiB;QAEjB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AAdD,uCAcC"}
@@ -0,0 +1,33 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ import {GetAttr, Join} from "../../core/func";
18
+
19
+ export default class MasterDataVersionRef {
20
+ private readonly namespaceName: string;
21
+ private readonly objectKey: string;
22
+ private readonly versionId: string;
23
+
24
+ public constructor(
25
+ namespaceName: string,
26
+ objectKey: string,
27
+ versionId: string,
28
+ ) {
29
+ this.namespaceName = namespaceName;
30
+ this.objectKey = objectKey;
31
+ this.versionId = versionId;
32
+ }
33
+ }
@@ -1,5 +1,7 @@
1
+ import CategoryModelRef from "./CategoryModelRef";
1
2
  export default class NamespaceRef {
2
3
  private readonly namespaceName;
3
4
  constructor(namespaceName: string);
5
+ categoryModel(category: number): CategoryModelRef;
4
6
  grn(): string;
5
7
  }
@@ -15,11 +15,16 @@
15
15
  * permissions and limitations under the License.
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ const tslib_1 = require("tslib");
18
19
  const func_1 = require("../../core/func");
20
+ const CategoryModelRef_1 = tslib_1.__importDefault(require("./CategoryModelRef"));
19
21
  class NamespaceRef {
20
22
  constructor(namespaceName) {
21
23
  this.namespaceName = namespaceName;
22
24
  }
25
+ categoryModel(category) {
26
+ return new CategoryModelRef_1.default(this.namespaceName, category);
27
+ }
23
28
  grn() {
24
29
  return new func_1.Join(":", [
25
30
  "grn",
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,MAAM;YACN,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA5BD,+BA4BC"}
1
+ {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,kFAAkD;AAElD,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,aAAa,CAChB,QAAgB;QAEhB,OAAO,IAAI,0BAAgB,CACvB,IAAI,CAAC,aAAa,EAClB,QAAQ,CACX,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,MAAM;YACN,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AArCD,+BAqCC"}
@@ -15,6 +15,7 @@
15
15
  */
16
16
 
17
17
  import {GetAttr, Join} from "../../core/func";
18
+ import CategoryModelRef from "./CategoryModelRef";
18
19
 
19
20
  export default class NamespaceRef {
20
21
  private readonly namespaceName: string;
@@ -25,6 +26,15 @@ export default class NamespaceRef {
25
26
  this.namespaceName = namespaceName;
26
27
  }
27
28
 
29
+ public categoryModel(
30
+ category: number,
31
+ ): CategoryModelRef {
32
+ return new CategoryModelRef(
33
+ this.namespaceName,
34
+ category,
35
+ );
36
+ }
37
+
28
38
  public grn(
29
39
  ): string {
30
40
  return new Join(
@@ -1,2 +1,5 @@
1
1
  import NamespaceRef from "./NamespaceRef";
2
- export { NamespaceRef, };
2
+ import CategoryModelRef from "./CategoryModelRef";
3
+ import MasterDataObjectRef from "./MasterDataObjectRef";
4
+ import MasterDataVersionRef from "./MasterDataVersionRef";
5
+ export { NamespaceRef, CategoryModelRef, MasterDataObjectRef, MasterDataVersionRef, };
package/chat/ref/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NamespaceRef = void 0;
3
+ exports.MasterDataVersionRef = exports.MasterDataObjectRef = exports.CategoryModelRef = exports.NamespaceRef = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  /*
6
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
@@ -19,4 +19,10 @@ const tslib_1 = require("tslib");
19
19
  */
20
20
  const NamespaceRef_1 = tslib_1.__importDefault(require("./NamespaceRef"));
21
21
  exports.NamespaceRef = NamespaceRef_1.default;
22
+ const CategoryModelRef_1 = tslib_1.__importDefault(require("./CategoryModelRef"));
23
+ exports.CategoryModelRef = CategoryModelRef_1.default;
24
+ const MasterDataObjectRef_1 = tslib_1.__importDefault(require("./MasterDataObjectRef"));
25
+ exports.MasterDataObjectRef = MasterDataObjectRef_1.default;
26
+ const MasterDataVersionRef_1 = tslib_1.__importDefault(require("./MasterDataVersionRef"));
27
+ exports.MasterDataVersionRef = MasterDataVersionRef_1.default;
22
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAGtC,uBAHG,sBAAY,CAGH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAMtC,uBANG,sBAAY,CAMH;AALhB,kFAAkD;AAM9C,2BANG,0BAAgB,CAMH;AALpB,wFAAwD;AAMpD,8BANG,6BAAmB,CAMH;AALvB,0FAA0D;AAMtD,+BANG,8BAAoB,CAMH"}
package/chat/ref/index.ts CHANGED
@@ -14,7 +14,13 @@
14
14
  * permissions and limitations under the License.
15
15
  */
16
16
  import NamespaceRef from "./NamespaceRef";
17
+ import CategoryModelRef from "./CategoryModelRef";
18
+ import MasterDataObjectRef from "./MasterDataObjectRef";
19
+ import MasterDataVersionRef from "./MasterDataVersionRef";
17
20
 
18
21
  export {
19
22
  NamespaceRef,
23
+ CategoryModelRef,
24
+ MasterDataObjectRef,
25
+ MasterDataVersionRef,
20
26
  }
@@ -16,6 +16,7 @@ export default class Namespace extends CdkResource {
16
16
  private readonly createGuildScript;
17
17
  private readonly updateGuildScript;
18
18
  private readonly joinGuildScript;
19
+ private readonly receiveJoinRequestScript;
19
20
  private readonly leaveGuildScript;
20
21
  private readonly changeRoleScript;
21
22
  private readonly deleteGuildScript;
@@ -22,7 +22,7 @@ const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
22
22
  const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
23
23
  class Namespace extends model_1.CdkResource {
24
24
  constructor(stack, name, options = null) {
25
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
25
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
26
26
  super("Guild_Namespace_" + name);
27
27
  this.description = null;
28
28
  this.changeNotification = null;
@@ -34,6 +34,7 @@ class Namespace extends model_1.CdkResource {
34
34
  this.createGuildScript = null;
35
35
  this.updateGuildScript = null;
36
36
  this.joinGuildScript = null;
37
+ this.receiveJoinRequestScript = null;
37
38
  this.leaveGuildScript = null;
38
39
  this.changeRoleScript = null;
39
40
  this.deleteGuildScript = null;
@@ -50,10 +51,11 @@ class Namespace extends model_1.CdkResource {
50
51
  this.createGuildScript = (_h = options === null || options === void 0 ? void 0 : options.createGuildScript) !== null && _h !== void 0 ? _h : null;
51
52
  this.updateGuildScript = (_j = options === null || options === void 0 ? void 0 : options.updateGuildScript) !== null && _j !== void 0 ? _j : null;
52
53
  this.joinGuildScript = (_k = options === null || options === void 0 ? void 0 : options.joinGuildScript) !== null && _k !== void 0 ? _k : null;
53
- this.leaveGuildScript = (_l = options === null || options === void 0 ? void 0 : options.leaveGuildScript) !== null && _l !== void 0 ? _l : null;
54
- this.changeRoleScript = (_m = options === null || options === void 0 ? void 0 : options.changeRoleScript) !== null && _m !== void 0 ? _m : null;
55
- this.deleteGuildScript = (_o = options === null || options === void 0 ? void 0 : options.deleteGuildScript) !== null && _o !== void 0 ? _o : null;
56
- this.logSetting = (_p = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _p !== void 0 ? _p : null;
54
+ this.receiveJoinRequestScript = (_l = options === null || options === void 0 ? void 0 : options.receiveJoinRequestScript) !== null && _l !== void 0 ? _l : null;
55
+ this.leaveGuildScript = (_m = options === null || options === void 0 ? void 0 : options.leaveGuildScript) !== null && _m !== void 0 ? _m : null;
56
+ this.changeRoleScript = (_o = options === null || options === void 0 ? void 0 : options.changeRoleScript) !== null && _o !== void 0 ? _o : null;
57
+ this.deleteGuildScript = (_p = options === null || options === void 0 ? void 0 : options.deleteGuildScript) !== null && _p !== void 0 ? _p : null;
58
+ this.logSetting = (_q = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _q !== void 0 ? _q : null;
57
59
  stack.addResource(this);
58
60
  }
59
61
  alternateKeys() {
@@ -63,7 +65,7 @@ class Namespace extends model_1.CdkResource {
63
65
  return "GS2::Guild::Namespace";
64
66
  }
65
67
  properties() {
66
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
68
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
67
69
  let properties = {};
68
70
  if (this.name != null) {
69
71
  properties["Name"] = this.name;
@@ -98,17 +100,20 @@ class Namespace extends model_1.CdkResource {
98
100
  if (this.joinGuildScript != null) {
99
101
  properties["JoinGuildScript"] = (_j = this.joinGuildScript) === null || _j === void 0 ? void 0 : _j.properties();
100
102
  }
103
+ if (this.receiveJoinRequestScript != null) {
104
+ properties["ReceiveJoinRequestScript"] = (_k = this.receiveJoinRequestScript) === null || _k === void 0 ? void 0 : _k.properties();
105
+ }
101
106
  if (this.leaveGuildScript != null) {
102
- properties["LeaveGuildScript"] = (_k = this.leaveGuildScript) === null || _k === void 0 ? void 0 : _k.properties();
107
+ properties["LeaveGuildScript"] = (_l = this.leaveGuildScript) === null || _l === void 0 ? void 0 : _l.properties();
103
108
  }
104
109
  if (this.changeRoleScript != null) {
105
- properties["ChangeRoleScript"] = (_l = this.changeRoleScript) === null || _l === void 0 ? void 0 : _l.properties();
110
+ properties["ChangeRoleScript"] = (_m = this.changeRoleScript) === null || _m === void 0 ? void 0 : _m.properties();
106
111
  }
107
112
  if (this.deleteGuildScript != null) {
108
- properties["DeleteGuildScript"] = (_m = this.deleteGuildScript) === null || _m === void 0 ? void 0 : _m.properties();
113
+ properties["DeleteGuildScript"] = (_o = this.deleteGuildScript) === null || _o === void 0 ? void 0 : _o.properties();
109
114
  }
110
115
  if (this.logSetting != null) {
111
- properties["LogSetting"] = (_o = this.logSetting) === null || _o === void 0 ? void 0 : _o.properties();
116
+ properties["LogSetting"] = (_p = this.logSetting) === null || _p === void 0 ? void 0 : _p.properties();
112
117
  }
113
118
  return properties;
114
119
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAKxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAkB9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,kBAAkB,GAAG,IAAI,CAC5B,CAAC;QAtBW,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAA6B,IAAI,CAAC;QACpD,qBAAgB,GAA6B,IAAI,CAAC;QAClD,sBAAiB,GAA6B,IAAI,CAAC;QACnD,6BAAwB,GAA6B,IAAI,CAAC;QAC1D,+BAA0B,GAA6B,IAAI,CAAC;QAC5D,8BAAyB,GAA6B,IAAI,CAAC;QAC3D,sBAAiB,GAAuB,IAAI,CAAC;QAC7C,sBAAiB,GAAuB,IAAI,CAAC;QAC7C,oBAAe,GAAuB,IAAI,CAAC;QAC3C,qBAAgB,GAAuB,IAAI,CAAC;QAC5C,qBAAgB,GAAuB,IAAI,CAAC;QAC5C,sBAAiB,GAAuB,IAAI,CAAC;QAC7C,eAAU,GAAoB,IAAI,CAAC;QAWhD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;QAChD,IAAI,CAAC,kBAAkB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB,mCAAI,IAAI,CAAC;QAC9D,IAAI,CAAC,gBAAgB,GAAG,MAAA,OAAO,aAAP,OAA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AAI,CAAC,iBAAiB,0CAAE,UAAU,EACnE,CAAC;SACL;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,UAAU,EACrD,CAAC;SACL;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,IAAK,CACb,CAAC;IACN,CAAC;IAEM,kBAAkB;QAErB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,kBAAkB,EAClB,IAAI,CACP,CAAC;IACN,CAAC;IAEM,UAAU,CACb,WAAyB;QAEzB,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,WAAW,CACd,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA/JD,4BA+JC"}
@@ -39,6 +39,7 @@ export default class Namespace extends CdkResource {
39
39
  private readonly createGuildScript: ScriptSetting|null = null;
40
40
  private readonly updateGuildScript: ScriptSetting|null = null;
41
41
  private readonly joinGuildScript: ScriptSetting|null = null;
42
+ private readonly receiveJoinRequestScript: ScriptSetting|null = null;
42
43
  private readonly leaveGuildScript: ScriptSetting|null = null;
43
44
  private readonly changeRoleScript: ScriptSetting|null = null;
44
45
  private readonly deleteGuildScript: ScriptSetting|null = null;
@@ -65,6 +66,7 @@ export default class Namespace extends CdkResource {
65
66
  this.createGuildScript = options?.createGuildScript ?? null;
66
67
  this.updateGuildScript = options?.updateGuildScript ?? null;
67
68
  this.joinGuildScript = options?.joinGuildScript ?? null;
69
+ this.receiveJoinRequestScript = options?.receiveJoinRequestScript ?? null;
68
70
  this.leaveGuildScript = options?.leaveGuildScript ?? null;
69
71
  this.changeRoleScript = options?.changeRoleScript ?? null;
70
72
  this.deleteGuildScript = options?.deleteGuildScript ?? null;
@@ -131,6 +133,10 @@ export default class Namespace extends CdkResource {
131
133
  properties["JoinGuildScript"] = this.joinGuildScript?.properties(
132
134
  );
133
135
  }
136
+ if (this.receiveJoinRequestScript != null) {
137
+ properties["ReceiveJoinRequestScript"] = this.receiveJoinRequestScript?.properties(
138
+ );
139
+ }
134
140
  if (this.leaveGuildScript != null) {
135
141
  properties["LeaveGuildScript"] = this.leaveGuildScript?.properties(
136
142
  );
@@ -12,6 +12,7 @@ export interface NamespaceOptions {
12
12
  createGuildScript?: ScriptSetting | null;
13
13
  updateGuildScript?: ScriptSetting | null;
14
14
  joinGuildScript?: ScriptSetting | null;
15
+ receiveJoinRequestScript?: ScriptSetting | null;
15
16
  leaveGuildScript?: ScriptSetting | null;
16
17
  changeRoleScript?: ScriptSetting | null;
17
18
  deleteGuildScript?: ScriptSetting | null;
@@ -28,6 +28,7 @@ export interface NamespaceOptions {
28
28
  createGuildScript?: ScriptSetting|null;
29
29
  updateGuildScript?: ScriptSetting|null;
30
30
  joinGuildScript?: ScriptSetting|null;
31
+ receiveJoinRequestScript?: ScriptSetting|null;
31
32
  leaveGuildScript?: ScriptSetting|null;
32
33
  changeRoleScript?: ScriptSetting|null;
33
34
  deleteGuildScript?: ScriptSetting|null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.116",
3
+ "version": "1.0.118",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"