gs2-cdk 1.0.145 → 1.0.147

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 (141) hide show
  1. package/enhance/model/UnleashIndividualMaterialSetting.d.ts +19 -0
  2. package/enhance/model/UnleashIndividualMaterialSetting.js +42 -0
  3. package/enhance/model/UnleashIndividualMaterialSetting.js.map +1 -0
  4. package/enhance/model/UnleashIndividualMaterialSetting.ts +104 -0
  5. package/enhance/model/UnleashMaterial.d.ts +18 -0
  6. package/enhance/model/UnleashMaterial.js +43 -0
  7. package/enhance/model/UnleashMaterial.js.map +1 -0
  8. package/enhance/model/UnleashMaterial.ts +89 -0
  9. package/enhance/model/UnleashMaterialSelection.d.ts +9 -0
  10. package/enhance/model/UnleashMaterialSelection.js +20 -0
  11. package/enhance/model/UnleashMaterialSelection.js.map +1 -0
  12. package/enhance/model/UnleashMaterialSelection.ts +44 -0
  13. package/enhance/model/UnleashQuantityMaterialSetting.d.ts +16 -0
  14. package/enhance/model/UnleashQuantityMaterialSetting.js +42 -0
  15. package/enhance/model/UnleashQuantityMaterialSetting.js.map +1 -0
  16. package/enhance/model/UnleashQuantityMaterialSetting.ts +85 -0
  17. package/enhance/model/UnleashRateEntryModel.d.ts +9 -1
  18. package/enhance/model/UnleashRateEntryModel.js +24 -2
  19. package/enhance/model/UnleashRateEntryModel.js.map +1 -1
  20. package/enhance/model/UnleashRateEntryModel.ts +49 -3
  21. package/enhance/model/UnleashRateModel.d.ts +1 -0
  22. package/enhance/model/UnleashRateModel.js +6 -1
  23. package/enhance/model/UnleashRateModel.js.map +1 -1
  24. package/enhance/model/UnleashRateModel.ts +9 -0
  25. package/enhance/model/UnleashRecipe.d.ts +12 -0
  26. package/enhance/model/UnleashRecipe.js +31 -0
  27. package/enhance/model/UnleashRecipe.js.map +1 -0
  28. package/enhance/model/UnleashRecipe.ts +58 -0
  29. package/enhance/model/enums/UnleashIndividualMaterialSettingGradeCondition.d.ts +6 -0
  30. package/enhance/model/enums/UnleashIndividualMaterialSettingGradeCondition.js +24 -0
  31. package/enhance/model/enums/UnleashIndividualMaterialSettingGradeCondition.js.map +1 -0
  32. package/enhance/model/enums/UnleashIndividualMaterialSettingGradeCondition.ts +24 -0
  33. package/enhance/model/enums/UnleashIndividualMaterialSettingMatchType.d.ts +5 -0
  34. package/enhance/model/enums/UnleashIndividualMaterialSettingMatchType.js +23 -0
  35. package/enhance/model/enums/UnleashIndividualMaterialSettingMatchType.js.map +1 -0
  36. package/enhance/model/enums/UnleashIndividualMaterialSettingMatchType.ts +23 -0
  37. package/enhance/model/enums/UnleashMaterialMaterialType.d.ts +5 -0
  38. package/enhance/model/enums/UnleashMaterialMaterialType.js +23 -0
  39. package/enhance/model/enums/UnleashMaterialMaterialType.js.map +1 -0
  40. package/enhance/model/enums/UnleashMaterialMaterialType.ts +23 -0
  41. package/enhance/model/enums/UnleashQuantityMaterialSettingMatchType.d.ts +5 -0
  42. package/enhance/model/enums/UnleashQuantityMaterialSettingMatchType.js +23 -0
  43. package/enhance/model/enums/UnleashQuantityMaterialSettingMatchType.js.map +1 -0
  44. package/enhance/model/enums/UnleashQuantityMaterialSettingMatchType.ts +23 -0
  45. package/enhance/model/enums/UnleashRateEntryModelType.d.ts +5 -0
  46. package/enhance/model/enums/UnleashRateEntryModelType.js +23 -0
  47. package/enhance/model/enums/UnleashRateEntryModelType.js.map +1 -0
  48. package/enhance/model/enums/UnleashRateEntryModelType.ts +23 -0
  49. package/enhance/model/index.d.ts +25 -1
  50. package/enhance/model/index.js +21 -1
  51. package/enhance/model/index.js.map +1 -1
  52. package/enhance/model/index.ts +48 -0
  53. package/enhance/model/options/UnleashIndividualMaterialSettingGradeConditionIsAnyOptions.d.ts +2 -0
  54. package/enhance/model/options/UnleashIndividualMaterialSettingGradeConditionIsAnyOptions.js +3 -0
  55. package/enhance/model/options/UnleashIndividualMaterialSettingGradeConditionIsAnyOptions.js.map +1 -0
  56. package/enhance/model/options/UnleashIndividualMaterialSettingGradeConditionIsAnyOptions.ts +20 -0
  57. package/enhance/model/options/UnleashIndividualMaterialSettingGradeConditionIsEqualOptions.d.ts +2 -0
  58. package/enhance/model/options/UnleashIndividualMaterialSettingGradeConditionIsEqualOptions.js +3 -0
  59. package/enhance/model/options/UnleashIndividualMaterialSettingGradeConditionIsEqualOptions.js.map +1 -0
  60. package/enhance/model/options/UnleashIndividualMaterialSettingGradeConditionIsEqualOptions.ts +20 -0
  61. package/enhance/model/options/UnleashIndividualMaterialSettingGradeConditionIsSameAsTargetOptions.d.ts +2 -0
  62. package/enhance/model/options/UnleashIndividualMaterialSettingGradeConditionIsSameAsTargetOptions.js +3 -0
  63. package/enhance/model/options/UnleashIndividualMaterialSettingGradeConditionIsSameAsTargetOptions.js.map +1 -0
  64. package/enhance/model/options/UnleashIndividualMaterialSettingGradeConditionIsSameAsTargetOptions.ts +20 -0
  65. package/enhance/model/options/UnleashIndividualMaterialSettingOptions.d.ts +3 -0
  66. package/enhance/model/options/UnleashIndividualMaterialSettingOptions.js +3 -0
  67. package/enhance/model/options/UnleashIndividualMaterialSettingOptions.js.map +1 -0
  68. package/enhance/model/options/UnleashIndividualMaterialSettingOptions.ts +22 -0
  69. package/enhance/model/options/UnleashMaterialMaterialTypeIsIndividualOptions.d.ts +2 -0
  70. package/enhance/model/options/UnleashMaterialMaterialTypeIsIndividualOptions.js +3 -0
  71. package/enhance/model/options/UnleashMaterialMaterialTypeIsIndividualOptions.js.map +1 -0
  72. package/enhance/model/options/UnleashMaterialMaterialTypeIsIndividualOptions.ts +21 -0
  73. package/enhance/model/options/UnleashMaterialMaterialTypeIsQuantityOptions.d.ts +2 -0
  74. package/enhance/model/options/UnleashMaterialMaterialTypeIsQuantityOptions.js +3 -0
  75. package/enhance/model/options/UnleashMaterialMaterialTypeIsQuantityOptions.js.map +1 -0
  76. package/enhance/model/options/UnleashMaterialMaterialTypeIsQuantityOptions.ts +21 -0
  77. package/enhance/model/options/UnleashMaterialOptions.d.ts +6 -0
  78. package/enhance/model/options/UnleashMaterialOptions.js +3 -0
  79. package/enhance/model/options/UnleashMaterialOptions.js.map +1 -0
  80. package/enhance/model/options/UnleashMaterialOptions.ts +24 -0
  81. package/enhance/model/options/UnleashMaterialSelectionOptions.d.ts +2 -0
  82. package/enhance/model/options/UnleashMaterialSelectionOptions.js +18 -0
  83. package/enhance/model/options/UnleashMaterialSelectionOptions.js.map +1 -0
  84. package/enhance/model/options/UnleashMaterialSelectionOptions.ts +19 -0
  85. package/enhance/model/options/UnleashQuantityMaterialSettingMatchTypeIsSameGroupOptions.d.ts +2 -0
  86. package/enhance/model/options/UnleashQuantityMaterialSettingMatchTypeIsSameGroupOptions.js +3 -0
  87. package/enhance/model/options/UnleashQuantityMaterialSettingMatchTypeIsSameGroupOptions.js.map +1 -0
  88. package/enhance/model/options/UnleashQuantityMaterialSettingMatchTypeIsSameGroupOptions.ts +19 -0
  89. package/enhance/model/options/UnleashQuantityMaterialSettingMatchTypeIsSpecifiedOptions.d.ts +2 -0
  90. package/enhance/model/options/UnleashQuantityMaterialSettingMatchTypeIsSpecifiedOptions.js +3 -0
  91. package/enhance/model/options/UnleashQuantityMaterialSettingMatchTypeIsSpecifiedOptions.js.map +1 -0
  92. package/enhance/model/options/UnleashQuantityMaterialSettingMatchTypeIsSpecifiedOptions.ts +19 -0
  93. package/enhance/model/options/UnleashQuantityMaterialSettingOptions.d.ts +4 -0
  94. package/enhance/model/options/UnleashQuantityMaterialSettingOptions.js +3 -0
  95. package/enhance/model/options/UnleashQuantityMaterialSettingOptions.js.map +1 -0
  96. package/enhance/model/options/UnleashQuantityMaterialSettingOptions.ts +22 -0
  97. package/enhance/model/options/UnleashRateEntryModelOptions.d.ts +3 -0
  98. package/enhance/model/options/UnleashRateEntryModelOptions.js +0 -15
  99. package/enhance/model/options/UnleashRateEntryModelOptions.js.map +1 -1
  100. package/enhance/model/options/UnleashRateEntryModelOptions.ts +7 -0
  101. package/enhance/model/options/UnleashRateEntryModelTypeIsRecipeOptions.d.ts +2 -0
  102. package/enhance/model/options/UnleashRateEntryModelTypeIsRecipeOptions.js +3 -0
  103. package/enhance/model/options/UnleashRateEntryModelTypeIsRecipeOptions.js.map +1 -0
  104. package/enhance/model/options/UnleashRateEntryModelTypeIsRecipeOptions.ts +23 -0
  105. package/enhance/model/options/UnleashRateEntryModelTypeIsSimpleOptions.d.ts +2 -0
  106. package/enhance/model/options/UnleashRateEntryModelTypeIsSimpleOptions.js +3 -0
  107. package/enhance/model/options/UnleashRateEntryModelTypeIsSimpleOptions.js.map +1 -0
  108. package/enhance/model/options/UnleashRateEntryModelTypeIsSimpleOptions.ts +23 -0
  109. package/enhance/model/options/UnleashRateModelOptions.d.ts +1 -0
  110. package/enhance/model/options/UnleashRateModelOptions.ts +5 -0
  111. package/enhance/model/options/UnleashRecipeOptions.d.ts +4 -0
  112. package/enhance/model/options/UnleashRecipeOptions.js +3 -0
  113. package/enhance/model/options/UnleashRecipeOptions.js.map +1 -0
  114. package/enhance/model/options/UnleashRecipeOptions.ts +24 -0
  115. package/enhance/stampSheet/UnleashByUserId.d.ts +4 -1
  116. package/enhance/stampSheet/UnleashByUserId.js +13 -2
  117. package/enhance/stampSheet/UnleashByUserId.js.map +1 -1
  118. package/enhance/stampSheet/UnleashByUserId.ts +17 -3
  119. package/package.json +1 -1
  120. package/realtime/model/Namespace.d.ts +3 -0
  121. package/realtime/model/Namespace.js +18 -3
  122. package/realtime/model/Namespace.js.map +1 -1
  123. package/realtime/model/Namespace.ts +15 -0
  124. package/realtime/model/enums/NamespaceServerType.d.ts +2 -0
  125. package/realtime/model/enums/NamespaceServerType.js +2 -0
  126. package/realtime/model/enums/NamespaceServerType.js.map +1 -1
  127. package/realtime/model/enums/NamespaceServerType.ts +2 -0
  128. package/realtime/model/options/NamespaceOptions.d.ts +3 -0
  129. package/realtime/model/options/NamespaceOptions.ts +3 -0
  130. package/realtime/model/options/NamespaceServerTypeIsRelayOptions.d.ts +13 -0
  131. package/realtime/model/options/NamespaceServerTypeIsRelayOptions.js +3 -0
  132. package/realtime/model/options/NamespaceServerTypeIsRelayOptions.js.map +1 -0
  133. package/realtime/model/options/NamespaceServerTypeIsRelayOptions.ts +32 -0
  134. package/realtime/model/options/NamespaceServerTypeIsStateMachineOptions.d.ts +13 -0
  135. package/realtime/model/options/NamespaceServerTypeIsStateMachineOptions.js +3 -0
  136. package/realtime/model/options/NamespaceServerTypeIsStateMachineOptions.js.map +1 -0
  137. package/realtime/model/options/NamespaceServerTypeIsStateMachineOptions.ts +32 -0
  138. package/realtime/model/options/NamespaceServerTypeIsSyncOptions.d.ts +13 -0
  139. package/realtime/model/options/NamespaceServerTypeIsSyncOptions.js +3 -0
  140. package/realtime/model/options/NamespaceServerTypeIsSyncOptions.js.map +1 -0
  141. package/realtime/model/options/NamespaceServerTypeIsSyncOptions.ts +32 -0
@@ -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
+ import UnleashIndividualMaterialSetting from "../UnleashIndividualMaterialSetting";
17
+ import UnleashQuantityMaterialSetting from "../UnleashQuantityMaterialSetting";
18
+ import UnleashMaterial from "../UnleashMaterial";
19
+ import UnleashRecipe from "../UnleashRecipe";
20
+ import { UnleashRateEntryModelType } from "../enums/UnleashRateEntryModelType";
21
+
22
+ export interface UnleashRateEntryModelTypeIsSimpleOptions {
23
+ }
@@ -1,4 +1,5 @@
1
1
  export interface UnleashRateModelOptions {
2
2
  description?: string | null;
3
3
  metadata?: string | null;
4
+ groupKeyHierarchy?: string[] | null;
4
5
  }
@@ -13,10 +13,15 @@
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 UnleashIndividualMaterialSetting from "../UnleashIndividualMaterialSetting";
17
+ import UnleashQuantityMaterialSetting from "../UnleashQuantityMaterialSetting";
18
+ import UnleashMaterial from "../UnleashMaterial";
19
+ import UnleashRecipe from "../UnleashRecipe";
16
20
  import UnleashRateEntryModel from "../UnleashRateEntryModel";
17
21
 
18
22
  export interface UnleashRateModelOptions {
19
23
  description?: string|null;
20
24
  metadata?: string|null;
25
+ groupKeyHierarchy?: string[]|null;
21
26
  }
22
27
 
@@ -0,0 +1,4 @@
1
+ export interface UnleashRecipeOptions {
2
+ metadata?: string | null;
3
+ targetGroupKeys?: string[] | null;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=UnleashRecipeOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UnleashRecipeOptions.js","sourceRoot":"","sources":["UnleashRecipeOptions.ts"],"names":[],"mappings":""}
@@ -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
+ import UnleashIndividualMaterialSetting from "../UnleashIndividualMaterialSetting";
17
+ import UnleashQuantityMaterialSetting from "../UnleashQuantityMaterialSetting";
18
+ import UnleashMaterial from "../UnleashMaterial";
19
+
20
+ export interface UnleashRecipeOptions {
21
+ metadata?: string|null;
22
+ targetGroupKeys?: string[]|null;
23
+ }
24
+
@@ -1,4 +1,5 @@
1
1
  import { AcquireAction } from "../../core/model";
2
+ import UnleashMaterialSelection from "../model/UnleashMaterialSelection";
2
3
  import { Config } from "../../core/model";
3
4
  export default class UnleashByUserId extends AcquireAction {
4
5
  private readonly namespaceName;
@@ -6,9 +7,11 @@ export default class UnleashByUserId extends AcquireAction {
6
7
  private readonly userId;
7
8
  private readonly targetItemSetId;
8
9
  private readonly materials;
10
+ private readonly recipeName;
11
+ private readonly recipeMaterials;
9
12
  private readonly config;
10
13
  private readonly timeOffsetToken;
11
- constructor(namespaceName: string, rateName: string, targetItemSetId: string, materials: string[], config?: Config[] | null, timeOffsetToken?: string | null, userId?: string);
14
+ constructor(namespaceName: string, rateName: string, targetItemSetId: string, materials?: string[] | null, recipeName?: string | null, recipeMaterials?: UnleashMaterialSelection[] | null, config?: Config[] | null, timeOffsetToken?: string | null, userId?: string);
12
15
  request(): {
13
16
  [name: string]: any;
14
17
  };
@@ -17,14 +17,19 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  const model_1 = require("../../core/model");
19
19
  class UnleashByUserId extends model_1.AcquireAction {
20
- constructor(namespaceName, rateName, targetItemSetId, materials, config = null, timeOffsetToken = null, userId = "#{userId}") {
20
+ constructor(namespaceName, rateName, targetItemSetId, materials = null, recipeName = null, recipeMaterials = null, config = null, timeOffsetToken = null, userId = "#{userId}") {
21
21
  super();
22
+ this.materials = null;
23
+ this.recipeName = null;
24
+ this.recipeMaterials = null;
22
25
  this.config = null;
23
26
  this.timeOffsetToken = null;
24
27
  this.namespaceName = namespaceName;
25
28
  this.rateName = rateName;
26
29
  this.targetItemSetId = targetItemSetId;
27
- this.materials = materials;
30
+ this.materials = materials !== null && materials !== void 0 ? materials : null;
31
+ this.recipeName = recipeName !== null && recipeName !== void 0 ? recipeName : null;
32
+ this.recipeMaterials = recipeMaterials !== null && recipeMaterials !== void 0 ? recipeMaterials : null;
28
33
  this.config = config !== null && config !== void 0 ? config : null;
29
34
  this.timeOffsetToken = timeOffsetToken !== null && timeOffsetToken !== void 0 ? timeOffsetToken : null;
30
35
  this.userId = userId;
@@ -46,6 +51,12 @@ class UnleashByUserId extends model_1.AcquireAction {
46
51
  if (this.materials != null) {
47
52
  properties["materials"] = this.materials;
48
53
  }
54
+ if (this.recipeName != null) {
55
+ properties["recipeName"] = this.recipeName;
56
+ }
57
+ if (this.recipeMaterials != null) {
58
+ properties["recipeMaterials"] = this.recipeMaterials.map(v => v.properties());
59
+ }
49
60
  if (this.config != null) {
50
61
  properties["config"] = this.config.map(v => v.properties());
51
62
  }
@@ -1 +1 @@
1
- {"version":3,"file":"UnleashByUserId.js","sourceRoot":"","sources":["UnleashByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA4E;AAG5E,MAAqB,eAAgB,SAAQ,qBAAa;IAUtD,YACI,aAAqB,EACrB,QAAgB,EAChB,eAAuB,EACvB,SAAmB,EACnB,SAAwB,IAAI,EAC5B,kBAA+B,IAAI,EACnC,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAbK,WAAM,GAAkB,IAAI,CAAC;QAC7B,oBAAe,GAAgB,IAAI,CAAC;QAcjD,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,IAAI,CAAC;QAC7B,IAAI,CAAC,eAAe,GAAG,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,IAAI,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,OAAO;QAEV,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CA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IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QACD,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACrE,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACnD,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,4BAA4B,CAAC;IACxC,CAAC;CACJ;AA5ED,kCA4EC"}
@@ -15,6 +15,7 @@
15
15
  */
16
16
 
17
17
  import {AcquireAction, ConsumeAction, VerifyAction} from "../../core/model";
18
+ import UnleashMaterialSelection from "../model/UnleashMaterialSelection";
18
19
  import { Config } from "../../core/model";
19
20
 
20
21
  export default class UnleashByUserId extends AcquireAction {
@@ -22,7 +23,9 @@ export default class UnleashByUserId extends AcquireAction {
22
23
  private readonly rateName: string;
23
24
  private readonly userId: string;
24
25
  private readonly targetItemSetId: string;
25
- private readonly materials: string[];
26
+ private readonly materials: string[]|null = null;
27
+ private readonly recipeName: string|null = null;
28
+ private readonly recipeMaterials: UnleashMaterialSelection[]|null = null;
26
29
  private readonly config: Config[]|null = null;
27
30
  private readonly timeOffsetToken: string|null = null;
28
31
 
@@ -31,7 +34,9 @@ export default class UnleashByUserId extends AcquireAction {
31
34
  namespaceName: string,
32
35
  rateName: string,
33
36
  targetItemSetId: string,
34
- materials: string[],
37
+ materials: string[]|null = null,
38
+ recipeName: string|null = null,
39
+ recipeMaterials: UnleashMaterialSelection[]|null = null,
35
40
  config: Config[]|null = null,
36
41
  timeOffsetToken: string|null = null,
37
42
  userId: string = "#{userId}",
@@ -41,7 +46,9 @@ export default class UnleashByUserId extends AcquireAction {
41
46
  this.namespaceName = namespaceName;
42
47
  this.rateName = rateName;
43
48
  this.targetItemSetId = targetItemSetId;
44
- this.materials = materials;
49
+ this.materials = materials ?? null;
50
+ this.recipeName = recipeName ?? null;
51
+ this.recipeMaterials = recipeMaterials ?? null;
45
52
  this.config = config ?? null;
46
53
  this.timeOffsetToken = timeOffsetToken ?? null;
47
54
  this.userId = userId;
@@ -66,6 +73,13 @@ export default class UnleashByUserId extends AcquireAction {
66
73
  if (this.materials != null) {
67
74
  properties["materials"] = this.materials;
68
75
  }
76
+ if (this.recipeName != null) {
77
+ properties["recipeName"] = this.recipeName;
78
+ }
79
+ if (this.recipeMaterials != null) {
80
+ properties["recipeMaterials"] = this.recipeMaterials.map(v => v.properties(
81
+ ));
82
+ }
69
83
  if (this.config != null) {
70
84
  properties["config"] = this.config.map(v => v.properties(
71
85
  ));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.145",
3
+ "version": "1.0.147",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -13,6 +13,9 @@ export default class Namespace extends CdkResource {
13
13
  /** @deprecated */
14
14
  private readonly transactionSetting;
15
15
  private readonly transactionSettingV2;
16
+ private readonly objectCatalog;
17
+ private readonly stateMachineNamespaceId;
18
+ private readonly stateMachineVersion;
16
19
  private readonly createNotification;
17
20
  private readonly logSetting;
18
21
  constructor(stack: Stack, name: string, serverType: NamespaceServerType, serverSpec: NamespaceServerSpec, options?: NamespaceOptions | null);
@@ -21,12 +21,15 @@ const func_1 = require("../../core/func");
21
21
  const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
22
22
  class Namespace extends model_1.CdkResource {
23
23
  constructor(stack, name, serverType, serverSpec, options = null) {
24
- var _a, _b, _c, _d, _e;
24
+ var _a, _b, _c, _d, _e, _f, _g, _h;
25
25
  super("Realtime_Namespace_" + name);
26
26
  this.description = null;
27
27
  /** @deprecated */
28
28
  this.transactionSetting = null;
29
29
  this.transactionSettingV2 = null;
30
+ this.objectCatalog = null;
31
+ this.stateMachineNamespaceId = null;
32
+ this.stateMachineVersion = null;
30
33
  this.createNotification = null;
31
34
  this.logSetting = null;
32
35
  this.stack = stack;
@@ -36,8 +39,11 @@ class Namespace extends model_1.CdkResource {
36
39
  this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
37
40
  this.transactionSetting = (_b = options === null || options === void 0 ? void 0 : options.transactionSetting) !== null && _b !== void 0 ? _b : null;
38
41
  this.transactionSettingV2 = (_c = options === null || options === void 0 ? void 0 : options.transactionSettingV2) !== null && _c !== void 0 ? _c : null;
39
- this.createNotification = (_d = options === null || options === void 0 ? void 0 : options.createNotification) !== null && _d !== void 0 ? _d : null;
40
- this.logSetting = (_e = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _e !== void 0 ? _e : null;
42
+ this.objectCatalog = (_d = options === null || options === void 0 ? void 0 : options.objectCatalog) !== null && _d !== void 0 ? _d : null;
43
+ this.stateMachineNamespaceId = (_e = options === null || options === void 0 ? void 0 : options.stateMachineNamespaceId) !== null && _e !== void 0 ? _e : null;
44
+ this.stateMachineVersion = (_f = options === null || options === void 0 ? void 0 : options.stateMachineVersion) !== null && _f !== void 0 ? _f : null;
45
+ this.createNotification = (_g = options === null || options === void 0 ? void 0 : options.createNotification) !== null && _g !== void 0 ? _g : null;
46
+ this.logSetting = (_h = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _h !== void 0 ? _h : null;
41
47
  stack.addResource(this);
42
48
  }
43
49
  alternateKeys() {
@@ -67,6 +73,15 @@ class Namespace extends model_1.CdkResource {
67
73
  if (this.serverSpec != null) {
68
74
  properties["ServerSpec"] = this.serverSpec;
69
75
  }
76
+ if (this.objectCatalog != null) {
77
+ properties["ObjectCatalog"] = this.objectCatalog;
78
+ }
79
+ if (this.stateMachineNamespaceId != null) {
80
+ properties["StateMachineNamespaceId"] = this.stateMachineNamespaceId;
81
+ }
82
+ if (this.stateMachineVersion != null) {
83
+ properties["StateMachineVersion"] = this.stateMachineVersion;
84
+ }
70
85
  if (this.createNotification != null) {
71
86
  properties["CreateNotification"] = (_c = this.createNotification) === null || _c === void 0 ? void 0 : _c.properties();
72
87
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAMxC,+EAA+C;AAM/C,MAAqB,SAAU,SAAQ,mBAAW;IAY9C,YACI,KAAY,EACZ,IAAY,EACZ,UAA+B,EAC/B,UAA+B,EAC/B,UAAiC,IAAI;;QAErC,KAAK,CACD,qBAAqB,GAAG,IAAI,CAC/B,CAAC;QAhBW,gBAAW,GAAgB,IAAI,CAAC;QACjD,kBAAkB;QACD,uBAAkB,GAA4B,IAAI,CAAC;QACnD,yBAAoB,GAA8B,IAAI,CAAC;QACvD,uBAAkB,GAA6B,IAAI,CAAC;QACpD,eAAU,GAAoB,IAAI,CAAC;QAahD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,U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;SAChE;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,MAAA,IAAI,CAAC,kBAAkB,0CAAE,UAAU,EACrE,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;CACJ;AAlHD,4BAkHC"}
@@ -36,6 +36,9 @@ export default class Namespace extends CdkResource {
36
36
  /** @deprecated */
37
37
  private readonly transactionSetting: TransactionSetting|null = null;
38
38
  private readonly transactionSettingV2: TransactionSettingV2|null = null;
39
+ private readonly objectCatalog: string|null = null;
40
+ private readonly stateMachineNamespaceId: string|null = null;
41
+ private readonly stateMachineVersion: number|null = null;
39
42
  private readonly createNotification: NotificationSetting|null = null;
40
43
  private readonly logSetting: LogSetting|null = null;
41
44
 
@@ -57,6 +60,9 @@ export default class Namespace extends CdkResource {
57
60
  this.description = options?.description ?? null;
58
61
  this.transactionSetting = options?.transactionSetting ?? null;
59
62
  this.transactionSettingV2 = options?.transactionSettingV2 ?? null;
63
+ this.objectCatalog = options?.objectCatalog ?? null;
64
+ this.stateMachineNamespaceId = options?.stateMachineNamespaceId ?? null;
65
+ this.stateMachineVersion = options?.stateMachineVersion ?? null;
60
66
  this.createNotification = options?.createNotification ?? null;
61
67
  this.logSetting = options?.logSetting ?? null;
62
68
  stack.addResource(
@@ -99,6 +105,15 @@ export default class Namespace extends CdkResource {
99
105
  if (this.serverSpec != null) {
100
106
  properties["ServerSpec"] = this.serverSpec;
101
107
  }
108
+ if (this.objectCatalog != null) {
109
+ properties["ObjectCatalog"] = this.objectCatalog;
110
+ }
111
+ if (this.stateMachineNamespaceId != null) {
112
+ properties["StateMachineNamespaceId"] = this.stateMachineNamespaceId;
113
+ }
114
+ if (this.stateMachineVersion != null) {
115
+ properties["StateMachineVersion"] = this.stateMachineVersion;
116
+ }
102
117
  if (this.createNotification != null) {
103
118
  properties["CreateNotification"] = this.createNotification?.properties(
104
119
  );
@@ -1,4 +1,6 @@
1
1
  export declare const NamespaceServerType: {
2
2
  readonly RELAY: "relay";
3
+ readonly SYNC: "sync";
4
+ readonly STATE_MACHINE: "stateMachine";
3
5
  };
4
6
  export type NamespaceServerType = typeof NamespaceServerType[keyof typeof NamespaceServerType];
@@ -18,5 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.NamespaceServerType = void 0;
19
19
  exports.NamespaceServerType = {
20
20
  RELAY: "relay",
21
+ SYNC: "sync",
22
+ STATE_MACHINE: "stateMachine",
21
23
  };
22
24
  //# sourceMappingURL=NamespaceServerType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceServerType.js","sourceRoot":"","sources":["NamespaceServerType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,mBAAmB,GAAG;IAC/B,KAAK,EAAE,OAAO;CACR,CAAC"}
1
+ {"version":3,"file":"NamespaceServerType.js","sourceRoot":"","sources":["NamespaceServerType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,mBAAmB,GAAG;IAC/B,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,cAAc;CACvB,CAAC"}
@@ -18,5 +18,7 @@
18
18
 
19
19
  export const NamespaceServerType = {
20
20
  RELAY: "relay",
21
+ SYNC: "sync",
22
+ STATE_MACHINE: "stateMachine",
21
23
  } as const;
22
24
  export type NamespaceServerType = typeof NamespaceServerType[keyof typeof NamespaceServerType];
@@ -7,6 +7,9 @@ export interface NamespaceOptions {
7
7
  /** @deprecated */
8
8
  transactionSetting?: TransactionSetting | null;
9
9
  transactionSettingV2?: TransactionSettingV2 | null;
10
+ objectCatalog?: string | null;
11
+ stateMachineNamespaceId?: string | null;
12
+ stateMachineVersion?: number | null;
10
13
  createNotification?: NotificationSetting | null;
11
14
  logSetting?: LogSetting | null;
12
15
  }
@@ -25,6 +25,9 @@ export interface NamespaceOptions {
25
25
  /** @deprecated */
26
26
  transactionSetting?: TransactionSetting|null;
27
27
  transactionSettingV2?: TransactionSettingV2|null;
28
+ objectCatalog?: string|null;
29
+ stateMachineNamespaceId?: string|null;
30
+ stateMachineVersion?: number|null;
28
31
  createNotification?: NotificationSetting|null;
29
32
  logSetting?: LogSetting|null;
30
33
  }
@@ -0,0 +1,13 @@
1
+ import { TransactionSetting } from "../../../core/model";
2
+ import TransactionSettingV2 from "../TransactionSettingV2";
3
+ import { NotificationSetting } from "../../../core/model";
4
+ import { LogSetting } from "../../../core/model";
5
+ export interface NamespaceServerTypeIsRelayOptions {
6
+ description?: string | null;
7
+ transactionSetting?: TransactionSetting | null;
8
+ transactionSettingV2?: TransactionSettingV2 | null;
9
+ stateMachineVersion?: number | null;
10
+ createNotification?: NotificationSetting | null;
11
+ logSetting?: LogSetting | null;
12
+ revision?: number | null;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=NamespaceServerTypeIsRelayOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NamespaceServerTypeIsRelayOptions.js","sourceRoot":"","sources":["NamespaceServerTypeIsRelayOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
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 { TransactionSetting } from "../../../core/model";
17
+ import TransactionSettingV2 from "../TransactionSettingV2";
18
+ import MobileNotificationMessage from "../MobileNotificationMessage";
19
+ import { NotificationSetting } from "../../../core/model";
20
+ import { LogSetting } from "../../../core/model";
21
+ import { NamespaceServerType } from "../enums/NamespaceServerType";
22
+ import { NamespaceServerSpec } from "../enums/NamespaceServerSpec";
23
+
24
+ export interface NamespaceServerTypeIsRelayOptions {
25
+ description?: string|null;
26
+ transactionSetting?: TransactionSetting|null;
27
+ transactionSettingV2?: TransactionSettingV2|null;
28
+ stateMachineVersion?: number|null;
29
+ createNotification?: NotificationSetting|null;
30
+ logSetting?: LogSetting|null;
31
+ revision?: number|null;
32
+ }
@@ -0,0 +1,13 @@
1
+ import { TransactionSetting } from "../../../core/model";
2
+ import TransactionSettingV2 from "../TransactionSettingV2";
3
+ import { NotificationSetting } from "../../../core/model";
4
+ import { LogSetting } from "../../../core/model";
5
+ export interface NamespaceServerTypeIsStateMachineOptions {
6
+ description?: string | null;
7
+ transactionSetting?: TransactionSetting | null;
8
+ transactionSettingV2?: TransactionSettingV2 | null;
9
+ stateMachineVersion?: number | null;
10
+ createNotification?: NotificationSetting | null;
11
+ logSetting?: LogSetting | null;
12
+ revision?: number | null;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=NamespaceServerTypeIsStateMachineOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NamespaceServerTypeIsStateMachineOptions.js","sourceRoot":"","sources":["NamespaceServerTypeIsStateMachineOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
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 { TransactionSetting } from "../../../core/model";
17
+ import TransactionSettingV2 from "../TransactionSettingV2";
18
+ import MobileNotificationMessage from "../MobileNotificationMessage";
19
+ import { NotificationSetting } from "../../../core/model";
20
+ import { LogSetting } from "../../../core/model";
21
+ import { NamespaceServerType } from "../enums/NamespaceServerType";
22
+ import { NamespaceServerSpec } from "../enums/NamespaceServerSpec";
23
+
24
+ export interface NamespaceServerTypeIsStateMachineOptions {
25
+ description?: string|null;
26
+ transactionSetting?: TransactionSetting|null;
27
+ transactionSettingV2?: TransactionSettingV2|null;
28
+ stateMachineVersion?: number|null;
29
+ createNotification?: NotificationSetting|null;
30
+ logSetting?: LogSetting|null;
31
+ revision?: number|null;
32
+ }
@@ -0,0 +1,13 @@
1
+ import { TransactionSetting } from "../../../core/model";
2
+ import TransactionSettingV2 from "../TransactionSettingV2";
3
+ import { NotificationSetting } from "../../../core/model";
4
+ import { LogSetting } from "../../../core/model";
5
+ export interface NamespaceServerTypeIsSyncOptions {
6
+ description?: string | null;
7
+ transactionSetting?: TransactionSetting | null;
8
+ transactionSettingV2?: TransactionSettingV2 | null;
9
+ stateMachineVersion?: number | null;
10
+ createNotification?: NotificationSetting | null;
11
+ logSetting?: LogSetting | null;
12
+ revision?: number | null;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=NamespaceServerTypeIsSyncOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NamespaceServerTypeIsSyncOptions.js","sourceRoot":"","sources":["NamespaceServerTypeIsSyncOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
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 { TransactionSetting } from "../../../core/model";
17
+ import TransactionSettingV2 from "../TransactionSettingV2";
18
+ import MobileNotificationMessage from "../MobileNotificationMessage";
19
+ import { NotificationSetting } from "../../../core/model";
20
+ import { LogSetting } from "../../../core/model";
21
+ import { NamespaceServerType } from "../enums/NamespaceServerType";
22
+ import { NamespaceServerSpec } from "../enums/NamespaceServerSpec";
23
+
24
+ export interface NamespaceServerTypeIsSyncOptions {
25
+ description?: string|null;
26
+ transactionSetting?: TransactionSetting|null;
27
+ transactionSettingV2?: TransactionSettingV2|null;
28
+ stateMachineVersion?: number|null;
29
+ createNotification?: NotificationSetting|null;
30
+ logSetting?: LogSetting|null;
31
+ revision?: number|null;
32
+ }