gs2-cdk 1.0.150 → 1.0.151

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 (35) hide show
  1. package/account/model/AccountDeletionSetting.d.ts +12 -0
  2. package/account/model/AccountDeletionSetting.js +24 -0
  3. package/account/model/AccountDeletionSetting.js.map +1 -0
  4. package/account/model/AccountDeletionSetting.ts +52 -0
  5. package/account/model/Namespace.d.ts +4 -0
  6. package/account/model/Namespace.js +24 -4
  7. package/account/model/Namespace.js.map +1 -1
  8. package/account/model/Namespace.ts +25 -0
  9. package/account/model/enums/AccountDeletionSettingCleanUserDataScope.d.ts +6 -0
  10. package/account/model/enums/AccountDeletionSettingCleanUserDataScope.js +24 -0
  11. package/account/model/enums/AccountDeletionSettingCleanUserDataScope.js.map +1 -0
  12. package/account/model/enums/AccountDeletionSettingCleanUserDataScope.ts +24 -0
  13. package/account/model/enums/AccountDeletionSettingLoginDuringGracePeriod.d.ts +5 -0
  14. package/account/model/enums/AccountDeletionSettingLoginDuringGracePeriod.js +23 -0
  15. package/account/model/enums/AccountDeletionSettingLoginDuringGracePeriod.js.map +1 -0
  16. package/account/model/enums/AccountDeletionSettingLoginDuringGracePeriod.ts +23 -0
  17. package/account/model/index.d.ts +5 -1
  18. package/account/model/index.js +7 -1
  19. package/account/model/index.js.map +1 -1
  20. package/account/model/index.ts +8 -0
  21. package/account/model/options/AccountDeletionSettingOptions.d.ts +2 -0
  22. package/account/model/options/AccountDeletionSettingOptions.js +3 -0
  23. package/account/model/options/AccountDeletionSettingOptions.js.map +1 -0
  24. package/account/model/options/AccountDeletionSettingOptions.ts +21 -0
  25. package/account/model/options/NamespaceOptions.d.ts +5 -0
  26. package/account/model/options/NamespaceOptions.ts +5 -0
  27. package/account/ref/DeletionScheduleRef.d.ts +6 -0
  28. package/account/ref/DeletionScheduleRef.js +38 -0
  29. package/account/ref/DeletionScheduleRef.js.map +1 -0
  30. package/account/ref/DeletionScheduleRef.ts +52 -0
  31. package/account/ref/index.d.ts +2 -1
  32. package/account/ref/index.js +3 -1
  33. package/account/ref/index.js.map +1 -1
  34. package/account/ref/index.ts +2 -0
  35. package/package.json +1 -1
@@ -0,0 +1,12 @@
1
+ import { AccountDeletionSettingOptions } from "./options/AccountDeletionSettingOptions";
2
+ import { AccountDeletionSettingLoginDuringGracePeriod } from "./enums/AccountDeletionSettingLoginDuringGracePeriod";
3
+ import { AccountDeletionSettingCleanUserDataScope } from "./enums/AccountDeletionSettingCleanUserDataScope";
4
+ export default class AccountDeletionSetting {
5
+ private readonly gracePeriodMinutes;
6
+ private readonly loginDuringGracePeriod;
7
+ private readonly cleanUserDataScope;
8
+ constructor(gracePeriodMinutes: number, loginDuringGracePeriod: AccountDeletionSettingLoginDuringGracePeriod, cleanUserDataScope: AccountDeletionSettingCleanUserDataScope, options?: AccountDeletionSettingOptions | null);
9
+ properties(): {
10
+ [name: string]: any;
11
+ };
12
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class AccountDeletionSetting {
4
+ constructor(gracePeriodMinutes, loginDuringGracePeriod, cleanUserDataScope, options = null) {
5
+ this.gracePeriodMinutes = gracePeriodMinutes;
6
+ this.loginDuringGracePeriod = loginDuringGracePeriod;
7
+ this.cleanUserDataScope = cleanUserDataScope;
8
+ }
9
+ properties() {
10
+ let properties = {};
11
+ if (this.gracePeriodMinutes != null) {
12
+ properties["gracePeriodMinutes"] = this.gracePeriodMinutes;
13
+ }
14
+ if (this.loginDuringGracePeriod != null) {
15
+ properties["loginDuringGracePeriod"] = this.loginDuringGracePeriod;
16
+ }
17
+ if (this.cleanUserDataScope != null) {
18
+ properties["cleanUserDataScope"] = this.cleanUserDataScope;
19
+ }
20
+ return properties;
21
+ }
22
+ }
23
+ exports.default = AccountDeletionSetting;
24
+ //# sourceMappingURL=AccountDeletionSetting.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountDeletionSetting.js","sourceRoot":"","sources":["AccountDeletionSetting.ts"],"names":[],"mappings":";;AAmBA,MAAqB,sBAAsB;IAKvC,YACI,kBAA0B,EAC1B,sBAAoE,EACpE,kBAA4D,EAC5D,UAA8C,IAAI;QAElD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QACrD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IACjD,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC;SAC9D;QACD,IAAI,IAAI,CAAC,sBAAsB,IAAI,IAAI,EAAE;YACrC,UAAU,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,sBAAsB,CAAC;SACtE;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC;SAC9D;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAhCD,yCAgCC"}
@@ -0,0 +1,52 @@
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 { AccountDeletionSettingOptions } from "./options/AccountDeletionSettingOptions";
17
+ import { AccountDeletionSettingLoginDuringGracePeriod } from "./enums/AccountDeletionSettingLoginDuringGracePeriod";
18
+ import { AccountDeletionSettingCleanUserDataScope } from "./enums/AccountDeletionSettingCleanUserDataScope";
19
+
20
+ export default class AccountDeletionSetting {
21
+ private readonly gracePeriodMinutes: number;
22
+ private readonly loginDuringGracePeriod: AccountDeletionSettingLoginDuringGracePeriod;
23
+ private readonly cleanUserDataScope: AccountDeletionSettingCleanUserDataScope;
24
+
25
+ public constructor(
26
+ gracePeriodMinutes: number,
27
+ loginDuringGracePeriod: AccountDeletionSettingLoginDuringGracePeriod,
28
+ cleanUserDataScope: AccountDeletionSettingCleanUserDataScope,
29
+ options: AccountDeletionSettingOptions|null = null,
30
+ ) {
31
+ this.gracePeriodMinutes = gracePeriodMinutes;
32
+ this.loginDuringGracePeriod = loginDuringGracePeriod;
33
+ this.cleanUserDataScope = cleanUserDataScope;
34
+ }
35
+
36
+ public properties(
37
+ ): {[name: string]: any} {
38
+ let properties: {[name: string]: any} = {};
39
+
40
+ if (this.gracePeriodMinutes != null) {
41
+ properties["gracePeriodMinutes"] = this.gracePeriodMinutes;
42
+ }
43
+ if (this.loginDuringGracePeriod != null) {
44
+ properties["loginDuringGracePeriod"] = this.loginDuringGracePeriod;
45
+ }
46
+ if (this.cleanUserDataScope != null) {
47
+ properties["cleanUserDataScope"] = this.cleanUserDataScope;
48
+ }
49
+
50
+ return properties;
51
+ }
52
+ }
@@ -18,6 +18,10 @@ export default class Namespace extends CdkResource {
18
18
  private readonly doTakeOverScript;
19
19
  private readonly banScript;
20
20
  private readonly unBanScript;
21
+ private readonly accountDeletionSetting;
22
+ private readonly requestDeletionScript;
23
+ private readonly cancelDeletionScript;
24
+ private readonly executeDeletionScript;
21
25
  private readonly logSetting;
22
26
  constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
23
27
  alternateKeys(): string;
@@ -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;
25
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
26
26
  super("Account_Namespace_" + name);
27
27
  this.description = null;
28
28
  /** @deprecated */
@@ -36,6 +36,10 @@ class Namespace extends model_1.CdkResource {
36
36
  this.doTakeOverScript = null;
37
37
  this.banScript = null;
38
38
  this.unBanScript = null;
39
+ this.accountDeletionSetting = null;
40
+ this.requestDeletionScript = null;
41
+ this.cancelDeletionScript = null;
42
+ this.executeDeletionScript = null;
39
43
  this.logSetting = null;
40
44
  this.stack = stack;
41
45
  this.name = name;
@@ -50,7 +54,11 @@ class Namespace extends model_1.CdkResource {
50
54
  this.doTakeOverScript = (_j = options === null || options === void 0 ? void 0 : options.doTakeOverScript) !== null && _j !== void 0 ? _j : null;
51
55
  this.banScript = (_k = options === null || options === void 0 ? void 0 : options.banScript) !== null && _k !== void 0 ? _k : null;
52
56
  this.unBanScript = (_l = options === null || options === void 0 ? void 0 : options.unBanScript) !== null && _l !== void 0 ? _l : null;
53
- this.logSetting = (_m = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _m !== void 0 ? _m : null;
57
+ this.accountDeletionSetting = (_m = options === null || options === void 0 ? void 0 : options.accountDeletionSetting) !== null && _m !== void 0 ? _m : null;
58
+ this.requestDeletionScript = (_o = options === null || options === void 0 ? void 0 : options.requestDeletionScript) !== null && _o !== void 0 ? _o : null;
59
+ this.cancelDeletionScript = (_p = options === null || options === void 0 ? void 0 : options.cancelDeletionScript) !== null && _p !== void 0 ? _p : null;
60
+ this.executeDeletionScript = (_q = options === null || options === void 0 ? void 0 : options.executeDeletionScript) !== null && _q !== void 0 ? _q : null;
61
+ this.logSetting = (_r = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _r !== void 0 ? _r : null;
54
62
  stack.addResource(this);
55
63
  }
56
64
  alternateKeys() {
@@ -60,7 +68,7 @@ class Namespace extends model_1.CdkResource {
60
68
  return "GS2::Account::Namespace";
61
69
  }
62
70
  properties() {
63
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
71
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
64
72
  let properties = {};
65
73
  if (this.name != null) {
66
74
  properties["Name"] = this.name;
@@ -98,8 +106,20 @@ class Namespace extends model_1.CdkResource {
98
106
  if (this.unBanScript != null) {
99
107
  properties["UnBanScript"] = (_h = this.unBanScript) === null || _h === void 0 ? void 0 : _h.properties();
100
108
  }
109
+ if (this.accountDeletionSetting != null) {
110
+ properties["AccountDeletionSetting"] = (_j = this.accountDeletionSetting) === null || _j === void 0 ? void 0 : _j.properties();
111
+ }
112
+ if (this.requestDeletionScript != null) {
113
+ properties["RequestDeletionScript"] = (_k = this.requestDeletionScript) === null || _k === void 0 ? void 0 : _k.properties();
114
+ }
115
+ if (this.cancelDeletionScript != null) {
116
+ properties["CancelDeletionScript"] = (_l = this.cancelDeletionScript) === null || _l === void 0 ? void 0 : _l.properties();
117
+ }
118
+ if (this.executeDeletionScript != null) {
119
+ properties["ExecuteDeletionScript"] = (_m = this.executeDeletionScript) === null || _m === void 0 ? void 0 : _m.properties();
120
+ }
101
121
  if (this.logSetting != null) {
102
- properties["LogSetting"] = (_j = this.logSetting) === null || _j === void 0 ? void 0 : _j.properties();
122
+ properties["LogSetting"] = (_o = this.logSetting) === null || _o === void 0 ? void 0 : _o.properties();
103
123
  }
104
124
  return properties;
105
125
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAMxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAiB9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,oBA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A,IAAI,CAAC,sBAAsB,0CAAE,UAAU,EAC7E,CAAC;SACL;QACD,IAAI,IAAI,CAAC,qBAAqB,IAAI,IAAI,EAAE;YACpC,UAAU,CAAC,uBAAuB,CAAC,GAAG,MAAA,IAAI,CAAC,qBAAqB,0CAAE,UAAU,EAC3E,CAAC;SACL;QACD,IAAI,IAAI,CAAC,oBAAoB,IAAI,IAAI,EAAE;YACnC,UAAU,CAAC,sBAAsB,CAAC,GAAG,MAAA,IAAI,CAAC,oBAAoB,0CAAE,UAAU,EACzE,CAAC;SACL;QACD,IAAI,IAAI,CAAC,qBAAqB,IAAI,IAAI,EAAE;YACpC,UAAU,CAAC,uBAAuB,CAAC,GAAG,MAAA,IAAI,CAAC,qBAAqB,0CAAE,UAAU,EAC3E,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,kBAAuC;QAEvC,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,kBAAkB,CACrB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AApKD,4BAoKC"}
@@ -19,6 +19,7 @@ import {GetAttr} from "../../core/func";
19
19
  import TransactionSetting from "../../core/model/TransactionSetting";
20
20
  import TransactionSettingV2 from "./TransactionSettingV2";
21
21
  import ScriptSetting from "../../core/model/ScriptSetting";
22
+ import AccountDeletionSetting from "./AccountDeletionSetting";
22
23
  import LogSetting from "../../core/model/LogSetting";
23
24
 
24
25
  import NamespaceRef from "../ref/NamespaceRef";
@@ -42,6 +43,10 @@ export default class Namespace extends CdkResource {
42
43
  private readonly doTakeOverScript: ScriptSetting|null = null;
43
44
  private readonly banScript: ScriptSetting|null = null;
44
45
  private readonly unBanScript: ScriptSetting|null = null;
46
+ private readonly accountDeletionSetting: AccountDeletionSetting|null = null;
47
+ private readonly requestDeletionScript: ScriptSetting|null = null;
48
+ private readonly cancelDeletionScript: ScriptSetting|null = null;
49
+ private readonly executeDeletionScript: ScriptSetting|null = null;
45
50
  private readonly logSetting: LogSetting|null = null;
46
51
 
47
52
  public constructor(
@@ -66,6 +71,10 @@ export default class Namespace extends CdkResource {
66
71
  this.doTakeOverScript = options?.doTakeOverScript ?? null;
67
72
  this.banScript = options?.banScript ?? null;
68
73
  this.unBanScript = options?.unBanScript ?? null;
74
+ this.accountDeletionSetting = options?.accountDeletionSetting ?? null;
75
+ this.requestDeletionScript = options?.requestDeletionScript ?? null;
76
+ this.cancelDeletionScript = options?.cancelDeletionScript ?? null;
77
+ this.executeDeletionScript = options?.executeDeletionScript ?? null;
69
78
  this.logSetting = options?.logSetting ?? null;
70
79
  stack.addResource(
71
80
  this,
@@ -131,6 +140,22 @@ export default class Namespace extends CdkResource {
131
140
  properties["UnBanScript"] = this.unBanScript?.properties(
132
141
  );
133
142
  }
143
+ if (this.accountDeletionSetting != null) {
144
+ properties["AccountDeletionSetting"] = this.accountDeletionSetting?.properties(
145
+ );
146
+ }
147
+ if (this.requestDeletionScript != null) {
148
+ properties["RequestDeletionScript"] = this.requestDeletionScript?.properties(
149
+ );
150
+ }
151
+ if (this.cancelDeletionScript != null) {
152
+ properties["CancelDeletionScript"] = this.cancelDeletionScript?.properties(
153
+ );
154
+ }
155
+ if (this.executeDeletionScript != null) {
156
+ properties["ExecuteDeletionScript"] = this.executeDeletionScript?.properties(
157
+ );
158
+ }
134
159
  if (this.logSetting != null) {
135
160
  properties["LogSetting"] = this.logSetting?.properties(
136
161
  );
@@ -0,0 +1,6 @@
1
+ export declare const AccountDeletionSettingCleanUserDataScope: {
2
+ readonly ACCOUNT: "account";
3
+ readonly PROJECT: "project";
4
+ readonly PROJECT_EXCEPT_MONEY: "projectExceptMoney";
5
+ };
6
+ export type AccountDeletionSettingCleanUserDataScope = typeof AccountDeletionSettingCleanUserDataScope[keyof typeof AccountDeletionSettingCleanUserDataScope];
@@ -0,0 +1,24 @@
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.AccountDeletionSettingCleanUserDataScope = void 0;
19
+ exports.AccountDeletionSettingCleanUserDataScope = {
20
+ ACCOUNT: "account",
21
+ PROJECT: "project",
22
+ PROJECT_EXCEPT_MONEY: "projectExceptMoney",
23
+ };
24
+ //# sourceMappingURL=AccountDeletionSettingCleanUserDataScope.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountDeletionSettingCleanUserDataScope.js","sourceRoot":"","sources":["AccountDeletionSettingCleanUserDataScope.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,wCAAwC,GAAG;IACpD,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,oBAAoB,EAAE,oBAAoB;CACpC,CAAC"}
@@ -0,0 +1,24 @@
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 AccountDeletionSettingCleanUserDataScope = {
20
+ ACCOUNT: "account",
21
+ PROJECT: "project",
22
+ PROJECT_EXCEPT_MONEY: "projectExceptMoney",
23
+ } as const;
24
+ export type AccountDeletionSettingCleanUserDataScope = typeof AccountDeletionSettingCleanUserDataScope[keyof typeof AccountDeletionSettingCleanUserDataScope];
@@ -0,0 +1,5 @@
1
+ export declare const AccountDeletionSettingLoginDuringGracePeriod: {
2
+ readonly REJECT: "reject";
3
+ readonly CANCEL: "cancel";
4
+ };
5
+ export type AccountDeletionSettingLoginDuringGracePeriod = typeof AccountDeletionSettingLoginDuringGracePeriod[keyof typeof AccountDeletionSettingLoginDuringGracePeriod];
@@ -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.AccountDeletionSettingLoginDuringGracePeriod = void 0;
19
+ exports.AccountDeletionSettingLoginDuringGracePeriod = {
20
+ REJECT: "reject",
21
+ CANCEL: "cancel",
22
+ };
23
+ //# sourceMappingURL=AccountDeletionSettingLoginDuringGracePeriod.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountDeletionSettingLoginDuringGracePeriod.js","sourceRoot":"","sources":["AccountDeletionSettingLoginDuringGracePeriod.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,4CAA4C,GAAG;IACxD,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACV,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 AccountDeletionSettingLoginDuringGracePeriod = {
20
+ REJECT: "reject",
21
+ CANCEL: "cancel",
22
+ } as const;
23
+ export type AccountDeletionSettingLoginDuringGracePeriod = typeof AccountDeletionSettingLoginDuringGracePeriod[keyof typeof AccountDeletionSettingLoginDuringGracePeriod];
@@ -10,7 +10,11 @@ import PlatformUser from "./PlatformUser";
10
10
  import { PlatformUserOptions } from "./options/PlatformUserOptions";
11
11
  import BanStatus from "./BanStatus";
12
12
  import { BanStatusOptions } from "./options/BanStatusOptions";
13
+ import AccountDeletionSetting from "./AccountDeletionSetting";
14
+ import { AccountDeletionSettingOptions } from "./options/AccountDeletionSettingOptions";
15
+ import { AccountDeletionSettingLoginDuringGracePeriod } from "./enums/AccountDeletionSettingLoginDuringGracePeriod";
16
+ import { AccountDeletionSettingCleanUserDataScope } from "./enums/AccountDeletionSettingCleanUserDataScope";
13
17
  import TransactionSettingV2 from "./TransactionSettingV2";
14
18
  import { TransactionSettingV2Options } from "./options/TransactionSettingV2Options";
15
19
  import CurrentMasterData from "./CurrentMasterData";
16
- export { Namespace, NamespaceOptions, TakeOverTypeModel, TakeOverTypeModelOptions, OpenIdConnectSetting, OpenIdConnectSettingOptions, ScopeValue, ScopeValueOptions, PlatformUser, PlatformUserOptions, BanStatus, BanStatusOptions, TransactionSettingV2, TransactionSettingV2Options, CurrentMasterData, };
20
+ export { Namespace, NamespaceOptions, TakeOverTypeModel, TakeOverTypeModelOptions, OpenIdConnectSetting, OpenIdConnectSettingOptions, ScopeValue, ScopeValueOptions, PlatformUser, PlatformUserOptions, BanStatus, BanStatusOptions, AccountDeletionSetting, AccountDeletionSettingOptions, AccountDeletionSettingLoginDuringGracePeriod, AccountDeletionSettingCleanUserDataScope, TransactionSettingV2, TransactionSettingV2Options, CurrentMasterData, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CurrentMasterData = exports.TransactionSettingV2 = exports.BanStatus = exports.PlatformUser = exports.ScopeValue = exports.OpenIdConnectSetting = exports.TakeOverTypeModel = exports.Namespace = void 0;
3
+ exports.CurrentMasterData = exports.TransactionSettingV2 = exports.AccountDeletionSettingCleanUserDataScope = exports.AccountDeletionSettingLoginDuringGracePeriod = exports.AccountDeletionSetting = exports.BanStatus = exports.PlatformUser = exports.ScopeValue = exports.OpenIdConnectSetting = exports.TakeOverTypeModel = 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
@@ -29,6 +29,12 @@ const PlatformUser_1 = tslib_1.__importDefault(require("./PlatformUser"));
29
29
  exports.PlatformUser = PlatformUser_1.default;
30
30
  const BanStatus_1 = tslib_1.__importDefault(require("./BanStatus"));
31
31
  exports.BanStatus = BanStatus_1.default;
32
+ const AccountDeletionSetting_1 = tslib_1.__importDefault(require("./AccountDeletionSetting"));
33
+ exports.AccountDeletionSetting = AccountDeletionSetting_1.default;
34
+ const AccountDeletionSettingLoginDuringGracePeriod_1 = require("./enums/AccountDeletionSettingLoginDuringGracePeriod");
35
+ Object.defineProperty(exports, "AccountDeletionSettingLoginDuringGracePeriod", { enumerable: true, get: function () { return AccountDeletionSettingLoginDuringGracePeriod_1.AccountDeletionSettingLoginDuringGracePeriod; } });
36
+ const AccountDeletionSettingCleanUserDataScope_1 = require("./enums/AccountDeletionSettingCleanUserDataScope");
37
+ Object.defineProperty(exports, "AccountDeletionSettingCleanUserDataScope", { enumerable: true, get: function () { return AccountDeletionSettingCleanUserDataScope_1.AccountDeletionSettingCleanUserDataScope; } });
32
38
  const TransactionSettingV2_1 = tslib_1.__importDefault(require("./TransactionSettingV2"));
33
39
  exports.TransactionSettingV2 = TransactionSettingV2_1.default;
34
40
  const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAiBhC,oBAjBG,mBAAS,CAiBH;AAfb,oFAAoD;AAiBhD,4BAjBG,2BAAiB,CAiBH;AAfrB,0FAA0D;AAiBtD,+BAjBG,8BAAoB,CAiBH;AAfxB,sEAAsC;AAiBlC,qBAjBG,oBAAU,CAiBH;AAfd,0EAA0C;AAiBtC,uBAjBG,sBAAY,CAiBH;AAfhB,oEAAoC;AAiBhC,oBAjBG,mBAAS,CAiBH;AAfb,0FAA0D;AAiBtD,+BAjBG,8BAAoB,CAiBH;AAfxB,oFAAoD;AAiBhD,4BAjBG,2BAAiB,CAiBH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAqBhC,oBArBG,mBAAS,CAqBH;AAnBb,oFAAoD;AAqBhD,4BArBG,2BAAiB,CAqBH;AAnBrB,0FAA0D;AAqBtD,+BArBG,8BAAoB,CAqBH;AAnBxB,sEAAsC;AAqBlC,qBArBG,oBAAU,CAqBH;AAnBd,0EAA0C;AAqBtC,uBArBG,sBAAY,CAqBH;AAnBhB,oEAAoC;AAqBhC,oBArBG,mBAAS,CAqBH;AAnBb,8FAA8D;AAqB1D,iCArBG,gCAAsB,CAqBH;AAnB1B,uHAAoH;AAqBhH,6HArBK,2FAA4C,OAqBL;AApBhD,+GAA4G;AAqBxG,yHArBK,mFAAwC,OAqBL;AApB5C,0FAA0D;AAqBtD,+BArBG,8BAAoB,CAqBH;AAnBxB,oFAAoD;AAqBhD,4BArBG,2BAAiB,CAqBH"}
@@ -25,6 +25,10 @@ import PlatformUser from "./PlatformUser";
25
25
  import { PlatformUserOptions } from "./options/PlatformUserOptions";
26
26
  import BanStatus from "./BanStatus";
27
27
  import { BanStatusOptions } from "./options/BanStatusOptions";
28
+ import AccountDeletionSetting from "./AccountDeletionSetting";
29
+ import { AccountDeletionSettingOptions } from "./options/AccountDeletionSettingOptions";
30
+ import { AccountDeletionSettingLoginDuringGracePeriod } from "./enums/AccountDeletionSettingLoginDuringGracePeriod";
31
+ import { AccountDeletionSettingCleanUserDataScope } from "./enums/AccountDeletionSettingCleanUserDataScope";
28
32
  import TransactionSettingV2 from "./TransactionSettingV2";
29
33
  import { TransactionSettingV2Options } from "./options/TransactionSettingV2Options";
30
34
  import CurrentMasterData from "./CurrentMasterData";
@@ -42,6 +46,10 @@ export {
42
46
  PlatformUserOptions,
43
47
  BanStatus,
44
48
  BanStatusOptions,
49
+ AccountDeletionSetting,
50
+ AccountDeletionSettingOptions,
51
+ AccountDeletionSettingLoginDuringGracePeriod,
52
+ AccountDeletionSettingCleanUserDataScope,
45
53
  TransactionSettingV2,
46
54
  TransactionSettingV2Options,
47
55
  CurrentMasterData,
@@ -0,0 +1,2 @@
1
+ export interface AccountDeletionSettingOptions {
2
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AccountDeletionSettingOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountDeletionSettingOptions.js","sourceRoot":"","sources":["AccountDeletionSettingOptions.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 { AccountDeletionSettingLoginDuringGracePeriod } from "../enums/AccountDeletionSettingLoginDuringGracePeriod";
17
+ import { AccountDeletionSettingCleanUserDataScope } from "../enums/AccountDeletionSettingCleanUserDataScope";
18
+
19
+ export interface AccountDeletionSettingOptions {
20
+ }
21
+
@@ -1,6 +1,7 @@
1
1
  import TransactionSetting from "../../../core/model/TransactionSetting";
2
2
  import TransactionSettingV2 from "../TransactionSettingV2";
3
3
  import ScriptSetting from "../../../core/model/ScriptSetting";
4
+ import AccountDeletionSetting from "../AccountDeletionSetting";
4
5
  import LogSetting from "../../../core/model/LogSetting";
5
6
  export interface NamespaceOptions {
6
7
  description?: string | null;
@@ -15,5 +16,9 @@ export interface NamespaceOptions {
15
16
  doTakeOverScript?: ScriptSetting | null;
16
17
  banScript?: ScriptSetting | null;
17
18
  unBanScript?: ScriptSetting | null;
19
+ accountDeletionSetting?: AccountDeletionSetting | null;
20
+ requestDeletionScript?: ScriptSetting | null;
21
+ cancelDeletionScript?: ScriptSetting | null;
22
+ executeDeletionScript?: ScriptSetting | null;
18
23
  logSetting?: LogSetting | null;
19
24
  }
@@ -16,6 +16,7 @@
16
16
  import TransactionSetting from "../../../core/model/TransactionSetting";
17
17
  import TransactionSettingV2 from "../TransactionSettingV2";
18
18
  import ScriptSetting from "../../../core/model/ScriptSetting";
19
+ import AccountDeletionSetting from "../AccountDeletionSetting";
19
20
  import LogSetting from "../../../core/model/LogSetting";
20
21
 
21
22
  export interface NamespaceOptions {
@@ -31,6 +32,10 @@ export interface NamespaceOptions {
31
32
  doTakeOverScript?: ScriptSetting|null;
32
33
  banScript?: ScriptSetting|null;
33
34
  unBanScript?: ScriptSetting|null;
35
+ accountDeletionSetting?: AccountDeletionSetting|null;
36
+ requestDeletionScript?: ScriptSetting|null;
37
+ cancelDeletionScript?: ScriptSetting|null;
38
+ executeDeletionScript?: ScriptSetting|null;
34
39
  logSetting?: LogSetting|null;
35
40
  }
36
41
 
@@ -0,0 +1,6 @@
1
+ export default class DeletionScheduleRef {
2
+ private readonly namespaceName;
3
+ private readonly scheduleKey;
4
+ constructor(namespaceName: string, scheduleKey: string);
5
+ grn(): string;
6
+ }
@@ -0,0 +1,38 @@
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
+ const func_1 = require("../../core/func");
19
+ class DeletionScheduleRef {
20
+ constructor(namespaceName, scheduleKey) {
21
+ this.namespaceName = namespaceName;
22
+ this.scheduleKey = scheduleKey;
23
+ }
24
+ grn() {
25
+ return new func_1.Join(":", [
26
+ "grn",
27
+ "gs2",
28
+ func_1.GetAttr.region().str(),
29
+ func_1.GetAttr.ownerId().str(),
30
+ "account",
31
+ this.namespaceName,
32
+ "deletionSchedule",
33
+ this.scheduleKey,
34
+ ]).str();
35
+ }
36
+ }
37
+ exports.default = DeletionScheduleRef;
38
+ //# sourceMappingURL=DeletionScheduleRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeletionScheduleRef.js","sourceRoot":"","sources":["DeletionScheduleRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,mBAAmB;IAIpC,YACI,aAAqB,EACrB,WAAmB;QAEnB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,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,SAAS;YACT,IAAI,CAAC,aAAa;YAClB,kBAAkB;YAClB,IAAI,CAAC,WAAW;SACnB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,sCAiCC"}
@@ -0,0 +1,52 @@
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 DeletionScheduleRef {
20
+ private readonly namespaceName: string;
21
+ private readonly scheduleKey: string;
22
+
23
+ public constructor(
24
+ namespaceName: string,
25
+ scheduleKey: string,
26
+ ) {
27
+ this.namespaceName = namespaceName;
28
+ this.scheduleKey = scheduleKey;
29
+ }
30
+
31
+ public grn(
32
+ ): string {
33
+ return new Join(
34
+ ":",
35
+ [
36
+ "grn",
37
+ "gs2",
38
+ GetAttr.region(
39
+ ).str(
40
+ ),
41
+ GetAttr.ownerId(
42
+ ).str(
43
+ ),
44
+ "account",
45
+ this.namespaceName,
46
+ "deletionSchedule",
47
+ this.scheduleKey,
48
+ ],
49
+ ).str(
50
+ );
51
+ }
52
+ }
@@ -1,5 +1,6 @@
1
1
  import NamespaceRef from "./NamespaceRef";
2
+ import DeletionScheduleRef from "./DeletionScheduleRef";
2
3
  import TakeOverTypeModelRef from "./TakeOverTypeModelRef";
3
4
  import MasterDataVersionRef from "./MasterDataVersionRef";
4
5
  import BanStatusRef from "./BanStatusRef";
5
- export { NamespaceRef, TakeOverTypeModelRef, MasterDataVersionRef, BanStatusRef, };
6
+ export { NamespaceRef, DeletionScheduleRef, TakeOverTypeModelRef, MasterDataVersionRef, BanStatusRef, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BanStatusRef = exports.MasterDataVersionRef = exports.TakeOverTypeModelRef = exports.NamespaceRef = void 0;
3
+ exports.BanStatusRef = exports.MasterDataVersionRef = exports.TakeOverTypeModelRef = exports.DeletionScheduleRef = 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,6 +19,8 @@ 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 DeletionScheduleRef_1 = tslib_1.__importDefault(require("./DeletionScheduleRef"));
23
+ exports.DeletionScheduleRef = DeletionScheduleRef_1.default;
22
24
  const TakeOverTypeModelRef_1 = tslib_1.__importDefault(require("./TakeOverTypeModelRef"));
23
25
  exports.TakeOverTypeModelRef = TakeOverTypeModelRef_1.default;
24
26
  const MasterDataVersionRef_1 = tslib_1.__importDefault(require("./MasterDataVersionRef"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAMtC,uBANG,sBAAY,CAMH;AALhB,0FAA0D;AAMtD,+BANG,8BAAoB,CAMH;AALxB,0FAA0D;AAMtD,+BANG,8BAAoB,CAMH;AALxB,0EAA0C;AAMtC,uBANG,sBAAY,CAMH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAOtC,uBAPG,sBAAY,CAOH;AANhB,wFAAwD;AAOpD,8BAPG,6BAAmB,CAOH;AANvB,0FAA0D;AAOtD,+BAPG,8BAAoB,CAOH;AANxB,0FAA0D;AAOtD,+BAPG,8BAAoB,CAOH;AANxB,0EAA0C;AAOtC,uBAPG,sBAAY,CAOH"}
@@ -14,12 +14,14 @@
14
14
  * permissions and limitations under the License.
15
15
  */
16
16
  import NamespaceRef from "./NamespaceRef";
17
+ import DeletionScheduleRef from "./DeletionScheduleRef";
17
18
  import TakeOverTypeModelRef from "./TakeOverTypeModelRef";
18
19
  import MasterDataVersionRef from "./MasterDataVersionRef";
19
20
  import BanStatusRef from "./BanStatusRef";
20
21
 
21
22
  export {
22
23
  NamespaceRef,
24
+ DeletionScheduleRef,
23
25
  TakeOverTypeModelRef,
24
26
  MasterDataVersionRef,
25
27
  BanStatusRef,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.150",
3
+ "version": "1.0.151",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"