gs2-cdk 1.0.22 → 1.0.23

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 (39) hide show
  1. package/enchant/ref/NamespaceRef.d.ts +5 -0
  2. package/enchant/ref/NamespaceRef.js +10 -0
  3. package/enchant/ref/NamespaceRef.js.map +1 -1
  4. package/enchant/ref/NamespaceRef.ts +35 -0
  5. package/enchant/stampSheet/SetBalanceParameterStatusByUserId.d.ts +5 -0
  6. package/enchant/stampSheet/SetBalanceParameterStatusByUserId.js +31 -0
  7. package/enchant/stampSheet/SetBalanceParameterStatusByUserId.js.map +1 -0
  8. package/enchant/stampSheet/SetBalanceParameterStatusByUserId.ts +42 -0
  9. package/enchant/stampSheet/SetRarityParameterStatusByUserId.d.ts +5 -0
  10. package/enchant/stampSheet/SetRarityParameterStatusByUserId.js +31 -0
  11. package/enchant/stampSheet/SetRarityParameterStatusByUserId.js.map +1 -0
  12. package/enchant/stampSheet/SetRarityParameterStatusByUserId.ts +42 -0
  13. package/enchant/stampSheet/index.d.ts +3 -1
  14. package/enchant/stampSheet/index.js +5 -1
  15. package/enchant/stampSheet/index.js.map +1 -1
  16. package/enchant/stampSheet/index.ts +4 -0
  17. package/package.json +1 -1
  18. package/ranking/model/CategoryModel.d.ts +1 -0
  19. package/ranking/model/CategoryModel.js +12 -5
  20. package/ranking/model/CategoryModel.js.map +1 -1
  21. package/ranking/model/CategoryModel.ts +9 -0
  22. package/ranking/model/Scope.d.ts +9 -0
  23. package/ranking/model/Scope.js +20 -0
  24. package/ranking/model/Scope.js.map +1 -0
  25. package/ranking/model/Scope.ts +44 -0
  26. package/ranking/model/index.d.ts +3 -1
  27. package/ranking/model/index.js +3 -1
  28. package/ranking/model/index.js.map +1 -1
  29. package/ranking/model/index.ts +4 -0
  30. package/ranking/model/options/CategoryModelOptions.d.ts +2 -0
  31. package/ranking/model/options/CategoryModelOptions.ts +2 -0
  32. package/ranking/model/options/CategoryModelScopeIsGlobalOptions.d.ts +2 -0
  33. package/ranking/model/options/CategoryModelScopeIsGlobalOptions.ts +2 -0
  34. package/ranking/model/options/CategoryModelScopeIsScopedOptions.d.ts +2 -0
  35. package/ranking/model/options/CategoryModelScopeIsScopedOptions.ts +2 -0
  36. package/ranking/model/options/ScopeOptions.d.ts +2 -0
  37. package/ranking/model/options/ScopeOptions.js +18 -0
  38. package/ranking/model/options/ScopeOptions.js.map +1 -0
  39. package/ranking/model/options/ScopeOptions.ts +19 -0
@@ -1,17 +1,22 @@
1
1
  import BalanceParameterModelRef from "./BalanceParameterModelRef";
2
2
  import RarityParameterModelRef from "./RarityParameterModelRef";
3
3
  import ReDrawBalanceParameterStatusByUserId from "../stampSheet/ReDrawBalanceParameterStatusByUserId";
4
+ import SetBalanceParameterStatusByUserId from "../stampSheet/SetBalanceParameterStatusByUserId";
4
5
  import ReDrawRarityParameterStatusByUserId from "../stampSheet/ReDrawRarityParameterStatusByUserId";
5
6
  import AddRarityParameterStatusByUserId from "../stampSheet/AddRarityParameterStatusByUserId";
7
+ import SetRarityParameterStatusByUserId from "../stampSheet/SetRarityParameterStatusByUserId";
6
8
  import VerifyRarityParameterStatusByUserId from "../stampSheet/VerifyRarityParameterStatusByUserId";
9
+ import { BalanceParameterValue, RarityParameterValue } from "../model";
7
10
  export default class NamespaceRef {
8
11
  private readonly namespaceName;
9
12
  constructor(namespaceName: string);
10
13
  balanceParameterModel(parameterName: string): BalanceParameterModelRef;
11
14
  rarityParameterModel(parameterName: string): RarityParameterModelRef;
12
15
  reDrawBalanceParameterStatus(parameterName: string, propertyId: string, fixedParameterNames?: string[] | null, userId?: string | null): ReDrawBalanceParameterStatusByUserId;
16
+ setBalanceParameterStatus(parameterName: string, propertyId: string, parameterValues: BalanceParameterValue[], userId?: string | null): SetBalanceParameterStatusByUserId;
13
17
  reDrawRarityParameterStatus(parameterName: string, propertyId: string, fixedParameterNames?: string[] | null, userId?: string | null): ReDrawRarityParameterStatusByUserId;
14
18
  addRarityParameterStatus(parameterName: string, propertyId: string, count: number, userId?: string | null): AddRarityParameterStatusByUserId;
19
+ setRarityParameterStatus(parameterName: string, propertyId: string, parameterValues?: RarityParameterValue[] | null, userId?: string | null): SetRarityParameterStatusByUserId;
15
20
  verifyRarityParameterStatus(parameterName: string, propertyId: string, verifyType: string, parameterValueName: string, parameterCount: number, userId?: string | null): VerifyRarityParameterStatusByUserId;
16
21
  grn(): string;
17
22
  }
@@ -13,6 +13,8 @@
13
13
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
14
  * express or implied. See the License for the specific language governing
15
15
  * permissions and limitations under the License.
16
+ *
17
+ * deny overwrite
16
18
  */
17
19
  Object.defineProperty(exports, "__esModule", { value: true });
18
20
  const tslib_1 = require("tslib");
@@ -20,8 +22,10 @@ const func_1 = require("../../core/func");
20
22
  const BalanceParameterModelRef_1 = tslib_1.__importDefault(require("./BalanceParameterModelRef"));
21
23
  const RarityParameterModelRef_1 = tslib_1.__importDefault(require("./RarityParameterModelRef"));
22
24
  const ReDrawBalanceParameterStatusByUserId_1 = tslib_1.__importDefault(require("../stampSheet/ReDrawBalanceParameterStatusByUserId"));
25
+ const SetBalanceParameterStatusByUserId_1 = tslib_1.__importDefault(require("../stampSheet/SetBalanceParameterStatusByUserId"));
23
26
  const ReDrawRarityParameterStatusByUserId_1 = tslib_1.__importDefault(require("../stampSheet/ReDrawRarityParameterStatusByUserId"));
24
27
  const AddRarityParameterStatusByUserId_1 = tslib_1.__importDefault(require("../stampSheet/AddRarityParameterStatusByUserId"));
28
+ const SetRarityParameterStatusByUserId_1 = tslib_1.__importDefault(require("../stampSheet/SetRarityParameterStatusByUserId"));
25
29
  const VerifyRarityParameterStatusByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyRarityParameterStatusByUserId"));
26
30
  class NamespaceRef {
27
31
  constructor(namespaceName) {
@@ -36,12 +40,18 @@ class NamespaceRef {
36
40
  reDrawBalanceParameterStatus(parameterName, propertyId, fixedParameterNames = null, userId = "#{userId}") {
37
41
  return new ReDrawBalanceParameterStatusByUserId_1.default(this.namespaceName, parameterName, propertyId, fixedParameterNames, userId);
38
42
  }
43
+ setBalanceParameterStatus(parameterName, propertyId, parameterValues, userId = "#{userId}") {
44
+ return new SetBalanceParameterStatusByUserId_1.default(this.namespaceName, parameterName, propertyId, parameterValues, userId);
45
+ }
39
46
  reDrawRarityParameterStatus(parameterName, propertyId, fixedParameterNames = null, userId = "#{userId}") {
40
47
  return new ReDrawRarityParameterStatusByUserId_1.default(this.namespaceName, parameterName, propertyId, fixedParameterNames, userId);
41
48
  }
42
49
  addRarityParameterStatus(parameterName, propertyId, count, userId = "#{userId}") {
43
50
  return new AddRarityParameterStatusByUserId_1.default(this.namespaceName, parameterName, propertyId, count, userId);
44
51
  }
52
+ setRarityParameterStatus(parameterName, propertyId, parameterValues = null, userId = "#{userId}") {
53
+ return new SetRarityParameterStatusByUserId_1.default(this.namespaceName, parameterName, propertyId, parameterValues, userId);
54
+ }
45
55
  verifyRarityParameterStatus(parameterName, propertyId, verifyType, parameterValueName, parameterCount, userId = "#{userId}") {
46
56
  return new VerifyRarityParameterStatusByUserId_1.default(this.namespaceName, parameterName, propertyId, verifyType, parameterValueName, parameterCount, userId);
47
57
  }
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,kGAAkE;AAClE,gGAAgE;AAChE,sIAAsG;AACtG,oIAAoG;AACpG,8HAA8F;AAC9F,oIAAoG;AAEpG,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,qBAAqB,CACxB,aAAqB;QAErB,OAAO,IAAI,kCAAwB,CAC/B,IAAI,CAAC,aAAa,EAClB,aAAa,CAChB,CAAC;IACN,CAAC;IAEM,oBAAoB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O,IAAI,0CAAgC,CACvC,IAAI,CAAC,aAAa,EAClB,aAAa,EACb,UAAU,EACV,KAAK,EACL,MAAM,CACT,CAAC;IACN,CAAC;IAEM,wBAAwB,CAC3B,aAAqB,EACrB,UAAkB,EAClB,kBAA+C,IAAI,EACnD,SAAsB,WAAW;QAEjC,OAAO,IAAI,0CAAgC,CACvC,IAAI,CAAC,aAAa,EAClB,aAAa,EACb,UAAU,EACV,eAAe,EACf,MAAM,CACT,CAAC;IACN,CAAC;IAEM,2BAA2B,CAC9B,aAAqB,EACrB,UAAkB,EAClB,UAAkB,EAClB,kBAA0B,EAC1B,cAAsB,EACtB,SAAsB,WAAW;QAEjC,OAAO,IAAI,6CAAmC,CAC1C,IAAI,CAAC,aAAa,EAClB,aAAa,EACb,UAAU,EACV,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,MAAM,CACT,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,SAAS;YACT,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA5ID,+BA4IC"}
@@ -12,15 +12,20 @@
12
12
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
+ *
16
+ * deny overwrite
15
17
  */
16
18
 
17
19
  import {GetAttr, Join} from "../../core/func";
18
20
  import BalanceParameterModelRef from "./BalanceParameterModelRef";
19
21
  import RarityParameterModelRef from "./RarityParameterModelRef";
20
22
  import ReDrawBalanceParameterStatusByUserId from "../stampSheet/ReDrawBalanceParameterStatusByUserId";
23
+ import SetBalanceParameterStatusByUserId from "../stampSheet/SetBalanceParameterStatusByUserId";
21
24
  import ReDrawRarityParameterStatusByUserId from "../stampSheet/ReDrawRarityParameterStatusByUserId";
22
25
  import AddRarityParameterStatusByUserId from "../stampSheet/AddRarityParameterStatusByUserId";
26
+ import SetRarityParameterStatusByUserId from "../stampSheet/SetRarityParameterStatusByUserId";
23
27
  import VerifyRarityParameterStatusByUserId from "../stampSheet/VerifyRarityParameterStatusByUserId";
28
+ import {BalanceParameterValue, RarityParameterValue} from "../model";
24
29
 
25
30
  export default class NamespaceRef {
26
31
  private readonly namespaceName: string;
@@ -64,6 +69,21 @@ export default class NamespaceRef {
64
69
  );
65
70
  }
66
71
 
72
+ public setBalanceParameterStatus(
73
+ parameterName: string,
74
+ propertyId: string,
75
+ parameterValues: BalanceParameterValue[],
76
+ userId: string|null = "#{userId}",
77
+ ): SetBalanceParameterStatusByUserId {
78
+ return new SetBalanceParameterStatusByUserId(
79
+ this.namespaceName,
80
+ parameterName,
81
+ propertyId,
82
+ parameterValues,
83
+ userId,
84
+ );
85
+ }
86
+
67
87
  public reDrawRarityParameterStatus(
68
88
  parameterName: string,
69
89
  propertyId: string,
@@ -94,6 +114,21 @@ export default class NamespaceRef {
94
114
  );
95
115
  }
96
116
 
117
+ public setRarityParameterStatus(
118
+ parameterName: string,
119
+ propertyId: string,
120
+ parameterValues: RarityParameterValue[]|null = null,
121
+ userId: string|null = "#{userId}",
122
+ ): SetRarityParameterStatusByUserId {
123
+ return new SetRarityParameterStatusByUserId(
124
+ this.namespaceName,
125
+ parameterName,
126
+ propertyId,
127
+ parameterValues,
128
+ userId,
129
+ );
130
+ }
131
+
97
132
  public verifyRarityParameterStatus(
98
133
  parameterName: string,
99
134
  propertyId: string,
@@ -0,0 +1,5 @@
1
+ import { AcquireAction } from "../../core/model";
2
+ import BalanceParameterValue from "../model/BalanceParameterValue";
3
+ export default class SetBalanceParameterStatusByUserId extends AcquireAction {
4
+ constructor(namespaceName: string, parameterName: string, propertyId: string, parameterValues: BalanceParameterValue[], userId?: string | null);
5
+ }
@@ -0,0 +1,31 @@
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 model_1 = require("../../core/model");
19
+ class SetBalanceParameterStatusByUserId extends model_1.AcquireAction {
20
+ constructor(namespaceName, parameterName, propertyId, parameterValues, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["parameterName"] = parameterName;
24
+ properties["propertyId"] = propertyId;
25
+ properties["parameterValues"] = parameterValues;
26
+ properties["userId"] = userId;
27
+ super("Gs2Enchant:SetBalanceParameterStatusByUserId", properties);
28
+ }
29
+ }
30
+ exports.default = SetBalanceParameterStatusByUserId;
31
+ //# sourceMappingURL=SetBalanceParameterStatusByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetBalanceParameterStatusByUserId.js","sourceRoot":"","sources":["SetBalanceParameterStatusByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAG9D,MAAqB,iCAAkC,SAAQ,qBAAa;IAExE,YACI,aAAqB,EACrB,aAAqB,EACrB,UAAkB,EAClB,eAAwC,EACxC,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,YAAY,CAAC,GAAG,UAAU,CAAA;QACrC,UAAU,CAAC,iBAAiB,CAAC,GAAG,eAAe,CAAA;QAC/C,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,8CAA8C,EAC9C,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAtBD,oDAsBC"}
@@ -0,0 +1,42 @@
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 {AcquireAction, ConsumeAction} from "../../core/model";
18
+ import BalanceParameterValue from "../model/BalanceParameterValue";
19
+
20
+ export default class SetBalanceParameterStatusByUserId extends AcquireAction {
21
+
22
+ public constructor(
23
+ namespaceName: string,
24
+ parameterName: string,
25
+ propertyId: string,
26
+ parameterValues: BalanceParameterValue[],
27
+ userId: string|null = "#{userId}",
28
+ ) {
29
+ let properties: {[name: string]: any} = {};
30
+
31
+ properties["namespaceName"] = namespaceName
32
+ properties["parameterName"] = parameterName
33
+ properties["propertyId"] = propertyId
34
+ properties["parameterValues"] = parameterValues
35
+ properties["userId"] = userId
36
+
37
+ super(
38
+ "Gs2Enchant:SetBalanceParameterStatusByUserId",
39
+ properties,
40
+ );
41
+ }
42
+ }
@@ -0,0 +1,5 @@
1
+ import { AcquireAction } from "../../core/model";
2
+ import RarityParameterValue from "../model/RarityParameterValue";
3
+ export default class SetRarityParameterStatusByUserId extends AcquireAction {
4
+ constructor(namespaceName: string, parameterName: string, propertyId: string, parameterValues?: RarityParameterValue[] | null, userId?: string | null);
5
+ }
@@ -0,0 +1,31 @@
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 model_1 = require("../../core/model");
19
+ class SetRarityParameterStatusByUserId extends model_1.AcquireAction {
20
+ constructor(namespaceName, parameterName, propertyId, parameterValues = null, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["parameterName"] = parameterName;
24
+ properties["propertyId"] = propertyId;
25
+ properties["parameterValues"] = parameterValues;
26
+ properties["userId"] = userId;
27
+ super("Gs2Enchant:SetRarityParameterStatusByUserId", properties);
28
+ }
29
+ }
30
+ exports.default = SetRarityParameterStatusByUserId;
31
+ //# sourceMappingURL=SetRarityParameterStatusByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetRarityParameterStatusByUserId.js","sourceRoot":"","sources":["SetRarityParameterStatusByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAG9D,MAAqB,gCAAiC,SAAQ,qBAAa;IAEvE,YACI,aAAqB,EACrB,aAAqB,EACrB,UAAkB,EAClB,kBAA+C,IAAI,EACnD,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,YAAY,CAAC,GAAG,UAAU,CAAA;QACrC,UAAU,CAAC,iBAAiB,CAAC,GAAG,eAAe,CAAA;QAC/C,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,6CAA6C,EAC7C,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAtBD,mDAsBC"}
@@ -0,0 +1,42 @@
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 {AcquireAction, ConsumeAction} from "../../core/model";
18
+ import RarityParameterValue from "../model/RarityParameterValue";
19
+
20
+ export default class SetRarityParameterStatusByUserId extends AcquireAction {
21
+
22
+ public constructor(
23
+ namespaceName: string,
24
+ parameterName: string,
25
+ propertyId: string,
26
+ parameterValues: RarityParameterValue[]|null = null,
27
+ userId: string|null = "#{userId}",
28
+ ) {
29
+ let properties: {[name: string]: any} = {};
30
+
31
+ properties["namespaceName"] = namespaceName
32
+ properties["parameterName"] = parameterName
33
+ properties["propertyId"] = propertyId
34
+ properties["parameterValues"] = parameterValues
35
+ properties["userId"] = userId
36
+
37
+ super(
38
+ "Gs2Enchant:SetRarityParameterStatusByUserId",
39
+ properties,
40
+ );
41
+ }
42
+ }
@@ -1,5 +1,7 @@
1
1
  import ReDrawBalanceParameterStatusByUserId from "./ReDrawBalanceParameterStatusByUserId";
2
+ import SetBalanceParameterStatusByUserId from "./SetBalanceParameterStatusByUserId";
2
3
  import ReDrawRarityParameterStatusByUserId from "./ReDrawRarityParameterStatusByUserId";
3
4
  import AddRarityParameterStatusByUserId from "./AddRarityParameterStatusByUserId";
5
+ import SetRarityParameterStatusByUserId from "./SetRarityParameterStatusByUserId";
4
6
  import VerifyRarityParameterStatusByUserId from "./VerifyRarityParameterStatusByUserId";
5
- export { ReDrawBalanceParameterStatusByUserId, ReDrawRarityParameterStatusByUserId, AddRarityParameterStatusByUserId, VerifyRarityParameterStatusByUserId, };
7
+ export { ReDrawBalanceParameterStatusByUserId, SetBalanceParameterStatusByUserId, ReDrawRarityParameterStatusByUserId, AddRarityParameterStatusByUserId, SetRarityParameterStatusByUserId, VerifyRarityParameterStatusByUserId, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VerifyRarityParameterStatusByUserId = exports.AddRarityParameterStatusByUserId = exports.ReDrawRarityParameterStatusByUserId = exports.ReDrawBalanceParameterStatusByUserId = void 0;
3
+ exports.VerifyRarityParameterStatusByUserId = exports.SetRarityParameterStatusByUserId = exports.AddRarityParameterStatusByUserId = exports.ReDrawRarityParameterStatusByUserId = exports.SetBalanceParameterStatusByUserId = exports.ReDrawBalanceParameterStatusByUserId = 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,10 +19,14 @@ const tslib_1 = require("tslib");
19
19
  */
20
20
  const ReDrawBalanceParameterStatusByUserId_1 = tslib_1.__importDefault(require("./ReDrawBalanceParameterStatusByUserId"));
21
21
  exports.ReDrawBalanceParameterStatusByUserId = ReDrawBalanceParameterStatusByUserId_1.default;
22
+ const SetBalanceParameterStatusByUserId_1 = tslib_1.__importDefault(require("./SetBalanceParameterStatusByUserId"));
23
+ exports.SetBalanceParameterStatusByUserId = SetBalanceParameterStatusByUserId_1.default;
22
24
  const ReDrawRarityParameterStatusByUserId_1 = tslib_1.__importDefault(require("./ReDrawRarityParameterStatusByUserId"));
23
25
  exports.ReDrawRarityParameterStatusByUserId = ReDrawRarityParameterStatusByUserId_1.default;
24
26
  const AddRarityParameterStatusByUserId_1 = tslib_1.__importDefault(require("./AddRarityParameterStatusByUserId"));
25
27
  exports.AddRarityParameterStatusByUserId = AddRarityParameterStatusByUserId_1.default;
28
+ const SetRarityParameterStatusByUserId_1 = tslib_1.__importDefault(require("./SetRarityParameterStatusByUserId"));
29
+ exports.SetRarityParameterStatusByUserId = SetRarityParameterStatusByUserId_1.default;
26
30
  const VerifyRarityParameterStatusByUserId_1 = tslib_1.__importDefault(require("./VerifyRarityParameterStatusByUserId"));
27
31
  exports.VerifyRarityParameterStatusByUserId = VerifyRarityParameterStatusByUserId_1.default;
28
32
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0HAA0F;AAMtF,+CANG,8CAAoC,CAMH;AALxC,wHAAwF;AAMpF,8CANG,6CAAmC,CAMH;AALvC,kHAAkF;AAM9E,2CANG,0CAAgC,CAMH;AALpC,wHAAwF;AAMpF,8CANG,6CAAmC,CAMH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0HAA0F;AAQtF,+CARG,8CAAoC,CAQH;AAPxC,oHAAoF;AAQhF,4CARG,2CAAiC,CAQH;AAPrC,wHAAwF;AAQpF,8CARG,6CAAmC,CAQH;AAPvC,kHAAkF;AAQ9E,2CARG,0CAAgC,CAQH;AAPpC,kHAAkF;AAQ9E,2CARG,0CAAgC,CAQH;AAPpC,wHAAwF;AAQpF,8CARG,6CAAmC,CAQH"}
@@ -14,13 +14,17 @@
14
14
  * permissions and limitations under the License.
15
15
  */
16
16
  import ReDrawBalanceParameterStatusByUserId from "./ReDrawBalanceParameterStatusByUserId";
17
+ import SetBalanceParameterStatusByUserId from "./SetBalanceParameterStatusByUserId";
17
18
  import ReDrawRarityParameterStatusByUserId from "./ReDrawRarityParameterStatusByUserId";
18
19
  import AddRarityParameterStatusByUserId from "./AddRarityParameterStatusByUserId";
20
+ import SetRarityParameterStatusByUserId from "./SetRarityParameterStatusByUserId";
19
21
  import VerifyRarityParameterStatusByUserId from "./VerifyRarityParameterStatusByUserId";
20
22
 
21
23
  export {
22
24
  ReDrawBalanceParameterStatusByUserId,
25
+ SetBalanceParameterStatusByUserId,
23
26
  ReDrawRarityParameterStatusByUserId,
24
27
  AddRarityParameterStatusByUserId,
28
+ SetRarityParameterStatusByUserId,
25
29
  VerifyRarityParameterStatusByUserId,
26
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -15,6 +15,7 @@ export default class CategoryModel {
15
15
  private readonly calculateFixedTimingHour;
16
16
  private readonly calculateFixedTimingMinute;
17
17
  private readonly calculateIntervalMinutes;
18
+ private readonly additionalScopes;
18
19
  private readonly entryPeriodEventId;
19
20
  private readonly accessPeriodEventId;
20
21
  private readonly ignoreUserIds;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const CategoryModelScope_1 = require("./enum/CategoryModelScope");
4
4
  class CategoryModel {
5
5
  constructor(name, orderDirection, scope, uniqueByUserId, options = null) {
6
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
6
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
7
7
  this.metadata = null;
8
8
  this.minimumValue = null;
9
9
  this.maximumValue = null;
@@ -11,6 +11,7 @@ class CategoryModel {
11
11
  this.calculateFixedTimingHour = null;
12
12
  this.calculateFixedTimingMinute = null;
13
13
  this.calculateIntervalMinutes = null;
14
+ this.additionalScopes = null;
14
15
  this.entryPeriodEventId = null;
15
16
  this.accessPeriodEventId = null;
16
17
  this.ignoreUserIds = null;
@@ -26,10 +27,11 @@ class CategoryModel {
26
27
  this.calculateFixedTimingHour = (_e = options === null || options === void 0 ? void 0 : options.calculateFixedTimingHour) !== null && _e !== void 0 ? _e : null;
27
28
  this.calculateFixedTimingMinute = (_f = options === null || options === void 0 ? void 0 : options.calculateFixedTimingMinute) !== null && _f !== void 0 ? _f : null;
28
29
  this.calculateIntervalMinutes = (_g = options === null || options === void 0 ? void 0 : options.calculateIntervalMinutes) !== null && _g !== void 0 ? _g : null;
29
- this.entryPeriodEventId = (_h = options === null || options === void 0 ? void 0 : options.entryPeriodEventId) !== null && _h !== void 0 ? _h : null;
30
- this.accessPeriodEventId = (_j = options === null || options === void 0 ? void 0 : options.accessPeriodEventId) !== null && _j !== void 0 ? _j : null;
31
- this.ignoreUserIds = (_k = options === null || options === void 0 ? void 0 : options.ignoreUserIds) !== null && _k !== void 0 ? _k : null;
32
- this.generation = (_l = options === null || options === void 0 ? void 0 : options.generation) !== null && _l !== void 0 ? _l : null;
30
+ this.additionalScopes = (_h = options === null || options === void 0 ? void 0 : options.additionalScopes) !== null && _h !== void 0 ? _h : null;
31
+ this.entryPeriodEventId = (_j = options === null || options === void 0 ? void 0 : options.entryPeriodEventId) !== null && _j !== void 0 ? _j : null;
32
+ this.accessPeriodEventId = (_k = options === null || options === void 0 ? void 0 : options.accessPeriodEventId) !== null && _k !== void 0 ? _k : null;
33
+ this.ignoreUserIds = (_l = options === null || options === void 0 ? void 0 : options.ignoreUserIds) !== null && _l !== void 0 ? _l : null;
34
+ this.generation = (_m = options === null || options === void 0 ? void 0 : options.generation) !== null && _m !== void 0 ? _m : null;
33
35
  }
34
36
  static scopeIsGlobal(name, orderDirection, uniqueByUserId, calculateIntervalMinutes, options = null) {
35
37
  return new CategoryModel(name, orderDirection, CategoryModelScope_1.CategoryModelScope.GLOBAL, uniqueByUserId, {
@@ -39,6 +41,7 @@ class CategoryModel {
39
41
  maximumValue: options === null || options === void 0 ? void 0 : options.maximumValue,
40
42
  calculateFixedTimingHour: options === null || options === void 0 ? void 0 : options.calculateFixedTimingHour,
41
43
  calculateFixedTimingMinute: options === null || options === void 0 ? void 0 : options.calculateFixedTimingMinute,
44
+ additionalScopes: options === null || options === void 0 ? void 0 : options.additionalScopes,
42
45
  entryPeriodEventId: options === null || options === void 0 ? void 0 : options.entryPeriodEventId,
43
46
  accessPeriodEventId: options === null || options === void 0 ? void 0 : options.accessPeriodEventId,
44
47
  ignoreUserIds: options === null || options === void 0 ? void 0 : options.ignoreUserIds,
@@ -52,6 +55,7 @@ class CategoryModel {
52
55
  maximumValue: options === null || options === void 0 ? void 0 : options.maximumValue,
53
56
  calculateFixedTimingHour: options === null || options === void 0 ? void 0 : options.calculateFixedTimingHour,
54
57
  calculateFixedTimingMinute: options === null || options === void 0 ? void 0 : options.calculateFixedTimingMinute,
58
+ additionalScopes: options === null || options === void 0 ? void 0 : options.additionalScopes,
55
59
  entryPeriodEventId: options === null || options === void 0 ? void 0 : options.entryPeriodEventId,
56
60
  accessPeriodEventId: options === null || options === void 0 ? void 0 : options.accessPeriodEventId,
57
61
  ignoreUserIds: options === null || options === void 0 ? void 0 : options.ignoreUserIds,
@@ -93,6 +97,9 @@ class CategoryModel {
93
97
  if (this.calculateIntervalMinutes != null) {
94
98
  properties["calculateIntervalMinutes"] = this.calculateIntervalMinutes;
95
99
  }
100
+ if (this.additionalScopes != null) {
101
+ properties["additionalScopes"] = this.additionalScopes.map(v => v.properties());
102
+ }
96
103
  if (this.entryPeriodEventId != null) {
97
104
  properties["entryPeriodEventId"] = this.entryPeriodEventId;
98
105
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CategoryModel.js","sourceRoot":"","sources":["CategoryModel.ts"],"names":[],"mappings":";;AAmBA,kEAA+D;AAE/D,MAAqB,aAAa;IAiB9B,YACI,IAAY,EACZ,cAA2C,EAC3C,KAAyB,EACzB,cAAuB,EACvB,UAAqC,IAAI;;QAjB5B,aAAQ,GAAgB,IAAI,CAAC;QAC7B,iBAAY,GAAgB,IAAI,CAAC;QACjC,iBAAY,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,wBAAwB,CAAC;SAC1E;QACD,IAAI,IAAI,CAAC,0BAA0B,IAAI,IAAI,EAAE;YACzC,UAAU,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC,0BAA0B,CAAC;SAC9E;QACD,IAAI,IAAI,CAAC,wBAAwB,IAAI,IAAI,EAAE;YACvC,UAAU,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,wBAAwB,CAAC;SAC1E;QACD,IAAI,IAAI,CAAC,gBAAgB,IAAI,IAAI,EAAE;YAC/B,UAAU,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACvE,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC;SAC9D;QACD,IAAI,IAAI,CAAC,mBAAmB,IAAI,IAAI,EAAE;YAClC,UAAU,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,mBAAmB,CAAC;SAChE;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAzJD,gCAyJC"}
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import Scope from "./Scope";
16
17
  import { CategoryModelOptions } from "./options/CategoryModelOptions";
17
18
  import { CategoryModelScopeIsGlobalOptions } from "./options/CategoryModelScopeIsGlobalOptions";
18
19
  import { CategoryModelScopeIsScopedOptions } from "./options/CategoryModelScopeIsScopedOptions";
@@ -31,6 +32,7 @@ export default class CategoryModel {
31
32
  private readonly calculateFixedTimingHour: number|null = null;
32
33
  private readonly calculateFixedTimingMinute: number|null = null;
33
34
  private readonly calculateIntervalMinutes: number|null = null;
35
+ private readonly additionalScopes: Scope[]|null = null;
34
36
  private readonly entryPeriodEventId: string|null = null;
35
37
  private readonly accessPeriodEventId: string|null = null;
36
38
  private readonly ignoreUserIds: string[]|null = null;
@@ -54,6 +56,7 @@ export default class CategoryModel {
54
56
  this.calculateFixedTimingHour = options?.calculateFixedTimingHour ?? null;
55
57
  this.calculateFixedTimingMinute = options?.calculateFixedTimingMinute ?? null;
56
58
  this.calculateIntervalMinutes = options?.calculateIntervalMinutes ?? null;
59
+ this.additionalScopes = options?.additionalScopes ?? null;
57
60
  this.entryPeriodEventId = options?.entryPeriodEventId ?? null;
58
61
  this.accessPeriodEventId = options?.accessPeriodEventId ?? null;
59
62
  this.ignoreUserIds = options?.ignoreUserIds ?? null;
@@ -79,6 +82,7 @@ export default class CategoryModel {
79
82
  maximumValue: options?.maximumValue,
80
83
  calculateFixedTimingHour: options?.calculateFixedTimingHour,
81
84
  calculateFixedTimingMinute: options?.calculateFixedTimingMinute,
85
+ additionalScopes: options?.additionalScopes,
82
86
  entryPeriodEventId: options?.entryPeriodEventId,
83
87
  accessPeriodEventId: options?.accessPeriodEventId,
84
88
  ignoreUserIds: options?.ignoreUserIds,
@@ -104,6 +108,7 @@ export default class CategoryModel {
104
108
  maximumValue: options?.maximumValue,
105
109
  calculateFixedTimingHour: options?.calculateFixedTimingHour,
106
110
  calculateFixedTimingMinute: options?.calculateFixedTimingMinute,
111
+ additionalScopes: options?.additionalScopes,
107
112
  entryPeriodEventId: options?.entryPeriodEventId,
108
113
  accessPeriodEventId: options?.accessPeriodEventId,
109
114
  ignoreUserIds: options?.ignoreUserIds,
@@ -149,6 +154,10 @@ export default class CategoryModel {
149
154
  if (this.calculateIntervalMinutes != null) {
150
155
  properties["calculateIntervalMinutes"] = this.calculateIntervalMinutes;
151
156
  }
157
+ if (this.additionalScopes != null) {
158
+ properties["additionalScopes"] = this.additionalScopes.map(v => v.properties(
159
+ ));
160
+ }
152
161
  if (this.entryPeriodEventId != null) {
153
162
  properties["entryPeriodEventId"] = this.entryPeriodEventId;
154
163
  }
@@ -0,0 +1,9 @@
1
+ import { ScopeOptions } from "./options/ScopeOptions";
2
+ export default class Scope {
3
+ private readonly name;
4
+ private readonly targetDays;
5
+ constructor(name: string, targetDays: number, options?: ScopeOptions | null);
6
+ properties(): {
7
+ [name: string]: any;
8
+ };
9
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class Scope {
4
+ constructor(name, targetDays, options = null) {
5
+ this.name = name;
6
+ this.targetDays = targetDays;
7
+ }
8
+ properties() {
9
+ let properties = {};
10
+ if (this.name != null) {
11
+ properties["name"] = this.name;
12
+ }
13
+ if (this.targetDays != null) {
14
+ properties["targetDays"] = this.targetDays;
15
+ }
16
+ return properties;
17
+ }
18
+ }
19
+ exports.default = Scope;
20
+ //# sourceMappingURL=Scope.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Scope.js","sourceRoot":"","sources":["Scope.ts"],"names":[],"mappings":";;AAiBA,MAAqB,KAAK;IAItB,YACI,IAAY,EACZ,UAAkB,EAClB,UAA6B,IAAI;QAEjC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA1BD,wBA0BC"}
@@ -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 { ScopeOptions } from "./options/ScopeOptions";
17
+
18
+ export default class Scope {
19
+ private readonly name: string;
20
+ private readonly targetDays: number;
21
+
22
+ public constructor(
23
+ name: string,
24
+ targetDays: number,
25
+ options: ScopeOptions|null = null,
26
+ ) {
27
+ this.name = name;
28
+ this.targetDays = targetDays;
29
+ }
30
+
31
+ public properties(
32
+ ): {[name: string]: any} {
33
+ let properties: {[name: string]: any} = {};
34
+
35
+ if (this.name != null) {
36
+ properties["name"] = this.name;
37
+ }
38
+ if (this.targetDays != null) {
39
+ properties["targetDays"] = this.targetDays;
40
+ }
41
+
42
+ return properties;
43
+ }
44
+ }
@@ -6,7 +6,9 @@ import { CategoryModelOrderDirection } from "./enum/CategoryModelOrderDirection"
6
6
  import { CategoryModelScope } from "./enum/CategoryModelScope";
7
7
  import { CategoryModelScopeIsGlobalOptions } from "./options/CategoryModelScopeIsGlobalOptions";
8
8
  import { CategoryModelScopeIsScopedOptions } from "./options/CategoryModelScopeIsScopedOptions";
9
+ import Scope from "./Scope";
10
+ import { ScopeOptions } from "./options/ScopeOptions";
9
11
  import CalculatedAt from "./CalculatedAt";
10
12
  import { CalculatedAtOptions } from "./options/CalculatedAtOptions";
11
13
  import CurrentMasterData from "./CurrentMasterData";
12
- export { Namespace, NamespaceOptions, CategoryModel, CategoryModelOptions, CategoryModelOrderDirection, CategoryModelScope, CategoryModelScopeIsGlobalOptions, CategoryModelScopeIsScopedOptions, CalculatedAt, CalculatedAtOptions, CurrentMasterData, };
14
+ export { Namespace, NamespaceOptions, CategoryModel, CategoryModelOptions, CategoryModelOrderDirection, CategoryModelScope, CategoryModelScopeIsGlobalOptions, CategoryModelScopeIsScopedOptions, Scope, ScopeOptions, CalculatedAt, CalculatedAtOptions, CurrentMasterData, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CurrentMasterData = exports.CalculatedAt = exports.CategoryModelScope = exports.CategoryModelOrderDirection = exports.CategoryModel = exports.Namespace = void 0;
3
+ exports.CurrentMasterData = exports.CalculatedAt = exports.Scope = exports.CategoryModelScope = exports.CategoryModelOrderDirection = 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
@@ -25,6 +25,8 @@ const CategoryModelOrderDirection_1 = require("./enum/CategoryModelOrderDirectio
25
25
  Object.defineProperty(exports, "CategoryModelOrderDirection", { enumerable: true, get: function () { return CategoryModelOrderDirection_1.CategoryModelOrderDirection; } });
26
26
  const CategoryModelScope_1 = require("./enum/CategoryModelScope");
27
27
  Object.defineProperty(exports, "CategoryModelScope", { enumerable: true, get: function () { return CategoryModelScope_1.CategoryModelScope; } });
28
+ const Scope_1 = tslib_1.__importDefault(require("./Scope"));
29
+ exports.Scope = Scope_1.default;
28
30
  const CalculatedAt_1 = tslib_1.__importDefault(require("./CalculatedAt"));
29
31
  exports.CalculatedAt = CalculatedAt_1.default;
30
32
  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;AAahC,oBAbG,mBAAS,CAaH;AAXb,4EAA4C;AAaxC,wBAbG,uBAAa,CAaH;AAXjB,oFAAiF;AAa7E,4GAbK,yDAA2B,OAaL;AAZ/B,kEAA+D;AAa3D,mGAbK,uCAAkB,OAaL;AAVtB,0EAA0C;AAatC,uBAbG,sBAAY,CAaH;AAXhB,oFAAoD;AAahD,4BAbG,2BAAiB,CAaH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAehC,oBAfG,mBAAS,CAeH;AAbb,4EAA4C;AAexC,wBAfG,uBAAa,CAeH;AAbjB,oFAAiF;AAe7E,4GAfK,yDAA2B,OAeL;AAd/B,kEAA+D;AAe3D,mGAfK,uCAAkB,OAeL;AAZtB,4DAA4B;AAexB,gBAfG,eAAK,CAeH;AAbT,0EAA0C;AAetC,uBAfG,sBAAY,CAeH;AAbhB,oFAAoD;AAehD,4BAfG,2BAAiB,CAeH"}
@@ -21,6 +21,8 @@ import { CategoryModelOrderDirection } from "./enum/CategoryModelOrderDirection"
21
21
  import { CategoryModelScope } from "./enum/CategoryModelScope";
22
22
  import { CategoryModelScopeIsGlobalOptions } from "./options/CategoryModelScopeIsGlobalOptions"
23
23
  import { CategoryModelScopeIsScopedOptions } from "./options/CategoryModelScopeIsScopedOptions"
24
+ import Scope from "./Scope";
25
+ import { ScopeOptions } from "./options/ScopeOptions";
24
26
  import CalculatedAt from "./CalculatedAt";
25
27
  import { CalculatedAtOptions } from "./options/CalculatedAtOptions";
26
28
  import CurrentMasterData from "./CurrentMasterData";
@@ -34,6 +36,8 @@ export {
34
36
  CategoryModelScope,
35
37
  CategoryModelScopeIsGlobalOptions,
36
38
  CategoryModelScopeIsScopedOptions,
39
+ Scope,
40
+ ScopeOptions,
37
41
  CalculatedAt,
38
42
  CalculatedAtOptions,
39
43
  CurrentMasterData,
@@ -1,3 +1,4 @@
1
+ import Scope from "../Scope";
1
2
  export interface CategoryModelOptions {
2
3
  metadata?: string | null;
3
4
  minimumValue?: number | null;
@@ -6,6 +7,7 @@ export interface CategoryModelOptions {
6
7
  calculateFixedTimingHour?: number | null;
7
8
  calculateFixedTimingMinute?: number | null;
8
9
  calculateIntervalMinutes?: number | null;
10
+ additionalScopes?: Scope[] | null;
9
11
  entryPeriodEventId?: string | null;
10
12
  accessPeriodEventId?: string | null;
11
13
  ignoreUserIds?: string[] | null;
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import Scope from "../Scope";
16
17
  import { CategoryModelOrderDirection } from "../enum/CategoryModelOrderDirection";
17
18
  import { CategoryModelScope } from "../enum/CategoryModelScope";
18
19
 
@@ -24,6 +25,7 @@ export interface CategoryModelOptions {
24
25
  calculateFixedTimingHour?: number|null;
25
26
  calculateFixedTimingMinute?: number|null;
26
27
  calculateIntervalMinutes?: number|null;
28
+ additionalScopes?: Scope[]|null;
27
29
  entryPeriodEventId?: string|null;
28
30
  accessPeriodEventId?: string|null;
29
31
  ignoreUserIds?: string[]|null;
@@ -1,9 +1,11 @@
1
+ import Scope from "../Scope";
1
2
  export interface CategoryModelScopeIsGlobalOptions {
2
3
  metadata?: string | null;
3
4
  minimumValue?: number | null;
4
5
  maximumValue?: number | null;
5
6
  calculateFixedTimingHour?: number | null;
6
7
  calculateFixedTimingMinute?: number | null;
8
+ additionalScopes?: Scope[] | null;
7
9
  entryPeriodEventId?: string | null;
8
10
  accessPeriodEventId?: string | null;
9
11
  ignoreUserIds?: string[] | null;
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import Scope from "../Scope";
16
17
  import { CategoryModelOrderDirection } from "../enum/CategoryModelOrderDirection";
17
18
  import { CategoryModelScope } from "../enum/CategoryModelScope";
18
19
 
@@ -22,6 +23,7 @@ export interface CategoryModelScopeIsGlobalOptions {
22
23
  maximumValue?: number|null;
23
24
  calculateFixedTimingHour?: number|null;
24
25
  calculateFixedTimingMinute?: number|null;
26
+ additionalScopes?: Scope[]|null;
25
27
  entryPeriodEventId?: string|null;
26
28
  accessPeriodEventId?: string|null;
27
29
  ignoreUserIds?: string[]|null;
@@ -1,9 +1,11 @@
1
+ import Scope from "../Scope";
1
2
  export interface CategoryModelScopeIsScopedOptions {
2
3
  metadata?: string | null;
3
4
  minimumValue?: number | null;
4
5
  maximumValue?: number | null;
5
6
  calculateFixedTimingHour?: number | null;
6
7
  calculateFixedTimingMinute?: number | null;
8
+ additionalScopes?: Scope[] | null;
7
9
  entryPeriodEventId?: string | null;
8
10
  accessPeriodEventId?: string | null;
9
11
  ignoreUserIds?: string[] | null;
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import Scope from "../Scope";
16
17
  import { CategoryModelOrderDirection } from "../enum/CategoryModelOrderDirection";
17
18
  import { CategoryModelScope } from "../enum/CategoryModelScope";
18
19
 
@@ -22,6 +23,7 @@ export interface CategoryModelScopeIsScopedOptions {
22
23
  maximumValue?: number|null;
23
24
  calculateFixedTimingHour?: number|null;
24
25
  calculateFixedTimingMinute?: number|null;
26
+ additionalScopes?: Scope[]|null;
25
27
  entryPeriodEventId?: string|null;
26
28
  accessPeriodEventId?: string|null;
27
29
  ignoreUserIds?: string[]|null;
@@ -0,0 +1,2 @@
1
+ export interface ScopeOptions {
2
+ }
@@ -0,0 +1,18 @@
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
+ //# sourceMappingURL=ScopeOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScopeOptions.js","sourceRoot":"","sources":["ScopeOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,19 @@
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
+ export interface ScopeOptions {
18
+ }
19
+