gs2-cdk 1.0.36 → 1.0.37

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 (115) hide show
  1. package/dictionary/ref/EntryModelRef.d.ts +2 -0
  2. package/dictionary/ref/EntryModelRef.js +4 -0
  3. package/dictionary/ref/EntryModelRef.js.map +1 -1
  4. package/dictionary/ref/EntryModelRef.ts +14 -0
  5. package/dictionary/ref/NamespaceRef.d.ts +2 -0
  6. package/dictionary/ref/NamespaceRef.js +4 -0
  7. package/dictionary/ref/NamespaceRef.js.map +1 -1
  8. package/dictionary/ref/NamespaceRef.ts +14 -0
  9. package/dictionary/stampSheet/VerifyEntryByUserId.d.ts +4 -0
  10. package/dictionary/stampSheet/VerifyEntryByUserId.js +30 -0
  11. package/dictionary/stampSheet/VerifyEntryByUserId.js.map +1 -0
  12. package/dictionary/stampSheet/VerifyEntryByUserId.ts +39 -0
  13. package/dictionary/stampSheet/index.d.ts +2 -1
  14. package/dictionary/stampSheet/index.js +3 -1
  15. package/dictionary/stampSheet/index.js.map +1 -1
  16. package/dictionary/stampSheet/index.ts +2 -0
  17. package/enhance/ref/NamespaceRef.d.ts +1 -1
  18. package/enhance/ref/NamespaceRef.js +1 -1
  19. package/enhance/ref/NamespaceRef.js.map +1 -1
  20. package/enhance/ref/NamespaceRef.ts +1 -1
  21. package/exchange/ref/NamespaceRef.d.ts +2 -2
  22. package/exchange/ref/NamespaceRef.js +2 -2
  23. package/exchange/ref/NamespaceRef.js.map +1 -1
  24. package/exchange/ref/NamespaceRef.ts +2 -2
  25. package/experience/model/Namespace.d.ts +1 -1
  26. package/experience/model/Namespace.js +4 -4
  27. package/experience/model/Namespace.js.map +1 -1
  28. package/experience/model/Namespace.ts +4 -4
  29. package/experience/model/options/NamespaceOptions.d.ts +1 -1
  30. package/experience/model/options/NamespaceOptions.ts +1 -1
  31. package/experience/ref/NamespaceRef.d.ts +6 -2
  32. package/experience/ref/NamespaceRef.js +10 -2
  33. package/experience/ref/NamespaceRef.js.map +1 -1
  34. package/experience/ref/NamespaceRef.ts +38 -2
  35. package/experience/stampSheet/VerifyRankByUserId.d.ts +4 -0
  36. package/experience/stampSheet/VerifyRankByUserId.js +32 -0
  37. package/experience/stampSheet/VerifyRankByUserId.js.map +1 -0
  38. package/experience/stampSheet/VerifyRankByUserId.ts +43 -0
  39. package/experience/stampSheet/VerifyRankCapByUserId.d.ts +4 -0
  40. package/experience/stampSheet/VerifyRankCapByUserId.js +32 -0
  41. package/experience/stampSheet/VerifyRankCapByUserId.js.map +1 -0
  42. package/experience/stampSheet/VerifyRankCapByUserId.ts +43 -0
  43. package/experience/stampSheet/index.d.ts +3 -1
  44. package/experience/stampSheet/index.js +5 -1
  45. package/experience/stampSheet/index.js.map +1 -1
  46. package/experience/stampSheet/index.ts +4 -0
  47. package/inbox/ref/NamespaceRef.d.ts +2 -2
  48. package/inbox/ref/NamespaceRef.js +2 -2
  49. package/inbox/ref/NamespaceRef.js.map +1 -1
  50. package/inbox/ref/NamespaceRef.ts +2 -2
  51. package/inventory/ref/BigInventoryModelRef.d.ts +2 -0
  52. package/inventory/ref/BigInventoryModelRef.js +4 -0
  53. package/inventory/ref/BigInventoryModelRef.js.map +1 -1
  54. package/inventory/ref/BigInventoryModelRef.ts +17 -0
  55. package/inventory/ref/BigItemModelRef.d.ts +2 -0
  56. package/inventory/ref/BigItemModelRef.js +4 -0
  57. package/inventory/ref/BigItemModelRef.js.map +1 -1
  58. package/inventory/ref/BigItemModelRef.ts +16 -0
  59. package/inventory/ref/InventoryModelRef.d.ts +8 -4
  60. package/inventory/ref/InventoryModelRef.js +15 -7
  61. package/inventory/ref/InventoryModelRef.js.map +1 -1
  62. package/inventory/ref/InventoryModelRef.ts +42 -8
  63. package/inventory/ref/ItemModelRef.d.ts +6 -4
  64. package/inventory/ref/ItemModelRef.js +11 -7
  65. package/inventory/ref/ItemModelRef.js.map +1 -1
  66. package/inventory/ref/ItemModelRef.ts +26 -8
  67. package/inventory/stampSheet/VerifyBigItemByUserId.d.ts +4 -0
  68. package/inventory/stampSheet/VerifyBigItemByUserId.js +32 -0
  69. package/inventory/stampSheet/VerifyBigItemByUserId.js.map +1 -0
  70. package/inventory/stampSheet/VerifyBigItemByUserId.ts +43 -0
  71. package/inventory/stampSheet/VerifyInventoryCurrentMaxCapacityByUserId.d.ts +4 -0
  72. package/inventory/stampSheet/VerifyInventoryCurrentMaxCapacityByUserId.js +31 -0
  73. package/inventory/stampSheet/VerifyInventoryCurrentMaxCapacityByUserId.js.map +1 -0
  74. package/inventory/stampSheet/VerifyInventoryCurrentMaxCapacityByUserId.ts +41 -0
  75. package/inventory/stampSheet/VerifyItemSetByUserId.d.ts +4 -0
  76. package/inventory/stampSheet/VerifyItemSetByUserId.js +33 -0
  77. package/inventory/stampSheet/VerifyItemSetByUserId.js.map +1 -0
  78. package/inventory/stampSheet/VerifyItemSetByUserId.ts +45 -0
  79. package/inventory/stampSheet/VerifySimpleItemByUserId.d.ts +4 -0
  80. package/inventory/stampSheet/VerifySimpleItemByUserId.js +32 -0
  81. package/inventory/stampSheet/VerifySimpleItemByUserId.js.map +1 -0
  82. package/inventory/stampSheet/VerifySimpleItemByUserId.ts +43 -0
  83. package/inventory/stampSheet/index.d.ts +5 -1
  84. package/inventory/stampSheet/index.js +9 -1
  85. package/inventory/stampSheet/index.js.map +1 -1
  86. package/inventory/stampSheet/index.ts +8 -0
  87. package/jobQueue/ref/NamespaceRef.d.ts +1 -1
  88. package/jobQueue/ref/NamespaceRef.js +1 -1
  89. package/jobQueue/ref/NamespaceRef.js.map +1 -1
  90. package/jobQueue/ref/NamespaceRef.ts +1 -1
  91. package/limit/ref/NamespaceRef.d.ts +4 -2
  92. package/limit/ref/NamespaceRef.js +6 -2
  93. package/limit/ref/NamespaceRef.js.map +1 -1
  94. package/limit/ref/NamespaceRef.ts +20 -2
  95. package/limit/stampSheet/VerifyCounterByUserId.d.ts +4 -0
  96. package/limit/stampSheet/VerifyCounterByUserId.js +32 -0
  97. package/limit/stampSheet/VerifyCounterByUserId.js.map +1 -0
  98. package/limit/stampSheet/VerifyCounterByUserId.ts +43 -0
  99. package/limit/stampSheet/index.d.ts +2 -1
  100. package/limit/stampSheet/index.js +3 -1
  101. package/limit/stampSheet/index.js.map +1 -1
  102. package/limit/stampSheet/index.ts +2 -0
  103. package/money/ref/NamespaceRef.d.ts +1 -1
  104. package/money/ref/NamespaceRef.js +1 -1
  105. package/money/ref/NamespaceRef.js.map +1 -1
  106. package/money/ref/NamespaceRef.ts +1 -1
  107. package/package.json +1 -1
  108. package/quest/ref/NamespaceRef.d.ts +1 -1
  109. package/quest/ref/NamespaceRef.js +1 -1
  110. package/quest/ref/NamespaceRef.js.map +1 -1
  111. package/quest/ref/NamespaceRef.ts +1 -1
  112. package/stateMachine/ref/NamespaceRef.d.ts +1 -1
  113. package/stateMachine/ref/NamespaceRef.js +1 -1
  114. package/stateMachine/ref/NamespaceRef.js.map +1 -1
  115. package/stateMachine/ref/NamespaceRef.ts +1 -1
@@ -0,0 +1,32 @@
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 VerifyRankByUserId extends model_1.ConsumeAction {
20
+ constructor(namespaceName, experienceName, verifyType, propertyId, rankValue = null, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["experienceName"] = experienceName;
24
+ properties["verifyType"] = verifyType;
25
+ properties["propertyId"] = propertyId;
26
+ properties["rankValue"] = rankValue;
27
+ properties["userId"] = userId;
28
+ super("Gs2Experience:VerifyRankByUserId", properties);
29
+ }
30
+ }
31
+ exports.default = VerifyRankByUserId;
32
+ //# sourceMappingURL=VerifyRankByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyRankByUserId.js","sourceRoot":"","sources":["VerifyRankByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,kBAAmB,SAAQ,qBAAa;IAEzD,YACI,aAAqB,EACrB,cAAsB,EACtB,UAAkB,EAClB,UAAkB,EAClB,YAAyB,IAAI,EAC7B,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,gBAAgB,CAAC,GAAG,cAAc,CAAA;QAC7C,UAAU,CAAC,YAAY,CAAC,GAAG,UAAU,CAAA;QACrC,UAAU,CAAC,YAAY,CAAC,GAAG,UAAU,CAAA;QACrC,UAAU,CAAC,WAAW,CAAC,GAAG,SAAS,CAAA;QACnC,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,kCAAkC,EAClC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAxBD,qCAwBC"}
@@ -0,0 +1,43 @@
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
+
19
+ export default class VerifyRankByUserId extends ConsumeAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ experienceName: string,
24
+ verifyType: string,
25
+ propertyId: string,
26
+ rankValue: number|null = null,
27
+ userId: string|null = "#{userId}",
28
+ ) {
29
+ let properties: {[name: string]: any} = {};
30
+
31
+ properties["namespaceName"] = namespaceName
32
+ properties["experienceName"] = experienceName
33
+ properties["verifyType"] = verifyType
34
+ properties["propertyId"] = propertyId
35
+ properties["rankValue"] = rankValue
36
+ properties["userId"] = userId
37
+
38
+ super(
39
+ "Gs2Experience:VerifyRankByUserId",
40
+ properties,
41
+ );
42
+ }
43
+ }
@@ -0,0 +1,4 @@
1
+ import { ConsumeAction } from "../../core/model";
2
+ export default class VerifyRankCapByUserId extends ConsumeAction {
3
+ constructor(namespaceName: string, experienceName: string, verifyType: string, propertyId: string, rankCapValue: number, userId?: string | null);
4
+ }
@@ -0,0 +1,32 @@
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 VerifyRankCapByUserId extends model_1.ConsumeAction {
20
+ constructor(namespaceName, experienceName, verifyType, propertyId, rankCapValue, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["experienceName"] = experienceName;
24
+ properties["verifyType"] = verifyType;
25
+ properties["propertyId"] = propertyId;
26
+ properties["rankCapValue"] = rankCapValue;
27
+ properties["userId"] = userId;
28
+ super("Gs2Experience:VerifyRankCapByUserId", properties);
29
+ }
30
+ }
31
+ exports.default = VerifyRankCapByUserId;
32
+ //# sourceMappingURL=VerifyRankCapByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyRankCapByUserId.js","sourceRoot":"","sources":["VerifyRankCapByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,qBAAsB,SAAQ,qBAAa;IAE5D,YACI,aAAqB,EACrB,cAAsB,EACtB,UAAkB,EAClB,UAAkB,EAClB,YAAoB,EACpB,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,gBAAgB,CAAC,GAAG,cAAc,CAAA;QAC7C,UAAU,CAAC,YAAY,CAAC,GAAG,UAAU,CAAA;QACrC,UAAU,CAAC,YAAY,CAAC,GAAG,UAAU,CAAA;QACrC,UAAU,CAAC,cAAc,CAAC,GAAG,YAAY,CAAA;QACzC,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,qCAAqC,EACrC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAxBD,wCAwBC"}
@@ -0,0 +1,43 @@
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
+
19
+ export default class VerifyRankCapByUserId extends ConsumeAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ experienceName: string,
24
+ verifyType: string,
25
+ propertyId: string,
26
+ rankCapValue: number,
27
+ userId: string|null = "#{userId}",
28
+ ) {
29
+ let properties: {[name: string]: any} = {};
30
+
31
+ properties["namespaceName"] = namespaceName
32
+ properties["experienceName"] = experienceName
33
+ properties["verifyType"] = verifyType
34
+ properties["propertyId"] = propertyId
35
+ properties["rankCapValue"] = rankCapValue
36
+ properties["userId"] = userId
37
+
38
+ super(
39
+ "Gs2Experience:VerifyRankCapByUserId",
40
+ properties,
41
+ );
42
+ }
43
+ }
@@ -4,4 +4,6 @@ import SetRankCapByUserId from "./SetRankCapByUserId";
4
4
  import MultiplyAcquireActionsByUserId from "./MultiplyAcquireActionsByUserId";
5
5
  import SubExperienceByUserId from "./SubExperienceByUserId";
6
6
  import SubRankCapByUserId from "./SubRankCapByUserId";
7
- export { AddExperienceByUserId, AddRankCapByUserId, SetRankCapByUserId, MultiplyAcquireActionsByUserId, SubExperienceByUserId, SubRankCapByUserId, };
7
+ import VerifyRankByUserId from "./VerifyRankByUserId";
8
+ import VerifyRankCapByUserId from "./VerifyRankCapByUserId";
9
+ export { AddExperienceByUserId, AddRankCapByUserId, SetRankCapByUserId, MultiplyAcquireActionsByUserId, SubExperienceByUserId, SubRankCapByUserId, VerifyRankByUserId, VerifyRankCapByUserId, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubRankCapByUserId = exports.SubExperienceByUserId = exports.MultiplyAcquireActionsByUserId = exports.SetRankCapByUserId = exports.AddRankCapByUserId = exports.AddExperienceByUserId = void 0;
3
+ exports.VerifyRankCapByUserId = exports.VerifyRankByUserId = exports.SubRankCapByUserId = exports.SubExperienceByUserId = exports.MultiplyAcquireActionsByUserId = exports.SetRankCapByUserId = exports.AddRankCapByUserId = exports.AddExperienceByUserId = 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,4 +29,8 @@ const SubExperienceByUserId_1 = tslib_1.__importDefault(require("./SubExperience
29
29
  exports.SubExperienceByUserId = SubExperienceByUserId_1.default;
30
30
  const SubRankCapByUserId_1 = tslib_1.__importDefault(require("./SubRankCapByUserId"));
31
31
  exports.SubRankCapByUserId = SubRankCapByUserId_1.default;
32
+ const VerifyRankByUserId_1 = tslib_1.__importDefault(require("./VerifyRankByUserId"));
33
+ exports.VerifyRankByUserId = VerifyRankByUserId_1.default;
34
+ const VerifyRankCapByUserId_1 = tslib_1.__importDefault(require("./VerifyRankCapByUserId"));
35
+ exports.VerifyRankCapByUserId = VerifyRankCapByUserId_1.default;
32
36
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,4FAA4D;AAQxD,gCARG,+BAAqB,CAQH;AAPzB,sFAAsD;AAQlD,6BARG,4BAAkB,CAQH;AAPtB,sFAAsD;AAQlD,6BARG,4BAAkB,CAQH;AAPtB,8GAA8E;AAQ1E,yCARG,wCAA8B,CAQH;AAPlC,4FAA4D;AAQxD,gCARG,+BAAqB,CAQH;AAPzB,sFAAsD;AAQlD,6BARG,4BAAkB,CAQH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,4FAA4D;AAUxD,gCAVG,+BAAqB,CAUH;AATzB,sFAAsD;AAUlD,6BAVG,4BAAkB,CAUH;AATtB,sFAAsD;AAUlD,6BAVG,4BAAkB,CAUH;AATtB,8GAA8E;AAU1E,yCAVG,wCAA8B,CAUH;AATlC,4FAA4D;AAUxD,gCAVG,+BAAqB,CAUH;AATzB,sFAAsD;AAUlD,6BAVG,4BAAkB,CAUH;AATtB,sFAAsD;AAUlD,6BAVG,4BAAkB,CAUH;AATtB,4FAA4D;AAUxD,gCAVG,+BAAqB,CAUH"}
@@ -19,6 +19,8 @@ import SetRankCapByUserId from "./SetRankCapByUserId";
19
19
  import MultiplyAcquireActionsByUserId from "./MultiplyAcquireActionsByUserId";
20
20
  import SubExperienceByUserId from "./SubExperienceByUserId";
21
21
  import SubRankCapByUserId from "./SubRankCapByUserId";
22
+ import VerifyRankByUserId from "./VerifyRankByUserId";
23
+ import VerifyRankCapByUserId from "./VerifyRankCapByUserId";
22
24
 
23
25
  export {
24
26
  AddExperienceByUserId,
@@ -27,4 +29,6 @@ export {
27
29
  MultiplyAcquireActionsByUserId,
28
30
  SubExperienceByUserId,
29
31
  SubRankCapByUserId,
32
+ VerifyRankByUserId,
33
+ VerifyRankCapByUserId,
30
34
  }
@@ -9,7 +9,7 @@ export default class NamespaceRef {
9
9
  constructor(namespaceName: string);
10
10
  globalMessage(globalMessageName: string): GlobalMessageRef;
11
11
  sendMessage(metadata: string, readAcquireActions?: AcquireAction[] | null, expiresAt?: number | null, expiresTimeSpan?: TimeSpan | null, userId?: string | null): SendMessageByUserId;
12
- openMessage(messageName: string, userId?: string | null): OpenMessageByUserId;
13
- deleteMessage(messageName: string, userId?: string | null): DeleteMessageByUserId;
12
+ openMessage(messageName?: string | null, userId?: string | null): OpenMessageByUserId;
13
+ deleteMessage(messageName?: string | null, userId?: string | null): DeleteMessageByUserId;
14
14
  grn(): string;
15
15
  }
@@ -31,10 +31,10 @@ class NamespaceRef {
31
31
  sendMessage(metadata, readAcquireActions = null, expiresAt = null, expiresTimeSpan = null, userId = "#{userId}") {
32
32
  return new SendMessageByUserId_1.default(this.namespaceName, metadata, readAcquireActions, expiresAt, expiresTimeSpan, userId);
33
33
  }
34
- openMessage(messageName, userId = "#{userId}") {
34
+ openMessage(messageName = null, userId = "#{userId}") {
35
35
  return new OpenMessageByUserId_1.default(this.namespaceName, messageName, userId);
36
36
  }
37
- deleteMessage(messageName, userId = "#{userId}") {
37
+ deleteMessage(messageName = null, userId = "#{userId}") {
38
38
  return new DeleteMessageByUserId_1.default(this.namespaceName, messageName, userId);
39
39
  }
40
40
  grn() {
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,kFAAkD;AAClD,oGAAoE;AAGpE,oGAAoE;AACpE,wGAAwE;AAExE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,aAAa,CAChB,iBAAyB;QAEzB,OAAO,IAAI,0BAAgB,CACvB,IAAI,CAAC,aAAa,EAClB,iBAAiB,CACpB,CAAC;IACN,CAAC;IAEM,WAAW,CACd,QAAgB,EAChB,qBAA2C,IAAI,EAC/C,YAAyB,IAAI,EAC7B,kBAAiC,IAAI,EACrC,SAAsB,WAAW;QAEjC,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,eAAe,EACf,MAAM,CACT,CAAC;IACN,CAAC;IAEM,WAAW,CACd,WAAmB,EACnB,SAAsB,WAAW;QAEjC,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,WAAmB,EACnB,SAAsB,WAAW;QAEjC,OAAO,IAAI,+BAAqB,CAC5B,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,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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IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA5ED,+BA4EC"}
@@ -58,7 +58,7 @@ export default class NamespaceRef {
58
58
  }
59
59
 
60
60
  public openMessage(
61
- messageName: string,
61
+ messageName: string|null = null,
62
62
  userId: string|null = "#{userId}",
63
63
  ): OpenMessageByUserId {
64
64
  return new OpenMessageByUserId(
@@ -69,7 +69,7 @@ export default class NamespaceRef {
69
69
  }
70
70
 
71
71
  public deleteMessage(
72
- messageName: string,
72
+ messageName: string|null = null,
73
73
  userId: string|null = "#{userId}",
74
74
  ): DeleteMessageByUserId {
75
75
  return new DeleteMessageByUserId(
@@ -1,6 +1,7 @@
1
1
  import BigItemModelRef from "./BigItemModelRef";
2
2
  import AcquireBigItemByUserId from "../stampSheet/AcquireBigItemByUserId";
3
3
  import ConsumeBigItemByUserId from "../stampSheet/ConsumeBigItemByUserId";
4
+ import VerifyBigItemByUserId from "../stampSheet/VerifyBigItemByUserId";
4
5
  export default class BigInventoryModelRef {
5
6
  private readonly namespaceName;
6
7
  private readonly inventoryName;
@@ -8,5 +9,6 @@ export default class BigInventoryModelRef {
8
9
  bigItemModel(itemName: string): BigItemModelRef;
9
10
  acquireBigItem(itemName: string, acquireCount: string, userId?: string | null): AcquireBigItemByUserId;
10
11
  consumeBigItem(itemName: string, consumeCount: string, userId?: string | null): ConsumeBigItemByUserId;
12
+ verifyBigItem(itemName: string, verifyType: string, count: string, userId?: string | null): VerifyBigItemByUserId;
11
13
  grn(): string;
12
14
  }
@@ -20,6 +20,7 @@ const func_1 = require("../../core/func");
20
20
  const BigItemModelRef_1 = tslib_1.__importDefault(require("./BigItemModelRef"));
21
21
  const AcquireBigItemByUserId_1 = tslib_1.__importDefault(require("../stampSheet/AcquireBigItemByUserId"));
22
22
  const ConsumeBigItemByUserId_1 = tslib_1.__importDefault(require("../stampSheet/ConsumeBigItemByUserId"));
23
+ const VerifyBigItemByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyBigItemByUserId"));
23
24
  class BigInventoryModelRef {
24
25
  constructor(namespaceName, inventoryName) {
25
26
  this.namespaceName = namespaceName;
@@ -34,6 +35,9 @@ class BigInventoryModelRef {
34
35
  consumeBigItem(itemName, consumeCount, userId = "#{userId}") {
35
36
  return new ConsumeBigItemByUserId_1.default(this.namespaceName, this.inventoryName, itemName, consumeCount, userId);
36
37
  }
38
+ verifyBigItem(itemName, verifyType, count, userId = "#{userId}") {
39
+ return new VerifyBigItemByUserId_1.default(this.namespaceName, this.inventoryName, itemName, verifyType, count, userId);
40
+ }
37
41
  grn() {
38
42
  return new func_1.Join(":", [
39
43
  "grn",
@@ -1 +1 @@
1
- {"version":3,"file":"BigInventoryModelRef.js","sourceRoot":"","sources":["BigInventoryModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,gFAAgD;AAChD,0GAA0E;AAC1E,0GAA0E;AAE1E,MAAqB,oBAAoB;IAIrC,YACI,aAAqB,EACrB,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,YAAY,CACf,QAAgB;QAEhB,OAAO,IAAI,yBAAe,CACtB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,QAAQ,CACX,CAAC;IACN,CAAC;IAEM,cAAc,CACjB,QAAgB,EAChB,YAAoB,EACpB,SAAsB,WAAW;QAEjC,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,QAAQ,EACR,YAAY,EACZ,MAAM,CACT,CAAC;IACN,CAAC;IAEM,cAAc,CACjB,QAAgB,EAChB,YAAoB,EACpB,SAAsB,WAAW;QAEjC,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,QAAQ,EACR,YAAY,EACZ,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,WAAW;YACX,IAAI,CAAC,aAAa;YAClB,KAAK;YACL,OAAO;YACP,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAxED,uCAwEC"}
1
+ {"version":3,"file":"BigInventoryModelRef.js","sourceRoot":"","sources":["BigInventoryModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,gFAAgD;AAChD,0GAA0E;AAC1E,0GAA0E;AAC1E,wGAAwE;AAExE,MAAqB,oBAAoB;IAIrC,YACI,aAAqB,EACrB,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,YAAY,CACf,QAAgB;QAEhB,OAAO,IAAI,yBAAe,CACtB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,QAAQ,CACX,CAAC;IACN,CAAC;IAEM,cAAc,CACjB,QAAgB,EAChB,YAAoB,EACpB,SAAsB,WAAW;QAEjC,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,QAAQ,EACR,YAAY,EACZ,MAAM,CACT,CAAC;IACN,CAAC;IAEM,cAAc,CACjB,QAAgB,EAChB,YAAoB,EACpB,SAAsB,WAAW;QAEjC,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,QAAQ,EACR,YAAY,EACZ,MAAM,CACT,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,QAAgB,EAChB,UAAkB,EAClB,KAAa,EACb,SAAsB,WAAW;QAEjC,OAAO,IAAI,+BAAqB,CAC5B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,QAAQ,EACR,UAAU,EACV,KAAK,EACL,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,WAAW;YACX,IAAI,CAAC,aAAa;YAClB,KAAK;YACL,OAAO;YACP,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAxFD,uCAwFC"}
@@ -18,6 +18,7 @@ import {GetAttr, Join} from "../../core/func";
18
18
  import BigItemModelRef from "./BigItemModelRef";
19
19
  import AcquireBigItemByUserId from "../stampSheet/AcquireBigItemByUserId";
20
20
  import ConsumeBigItemByUserId from "../stampSheet/ConsumeBigItemByUserId";
21
+ import VerifyBigItemByUserId from "../stampSheet/VerifyBigItemByUserId";
21
22
 
22
23
  export default class BigInventoryModelRef {
23
24
  private readonly namespaceName: string;
@@ -69,6 +70,22 @@ export default class BigInventoryModelRef {
69
70
  );
70
71
  }
71
72
 
73
+ public verifyBigItem(
74
+ itemName: string,
75
+ verifyType: string,
76
+ count: string,
77
+ userId: string|null = "#{userId}",
78
+ ): VerifyBigItemByUserId {
79
+ return new VerifyBigItemByUserId(
80
+ this.namespaceName,
81
+ this.inventoryName,
82
+ itemName,
83
+ verifyType,
84
+ count,
85
+ userId,
86
+ );
87
+ }
88
+
72
89
  public grn(
73
90
  ): string {
74
91
  return new Join(
@@ -1,5 +1,6 @@
1
1
  import AcquireBigItemByUserId from "../stampSheet/AcquireBigItemByUserId";
2
2
  import ConsumeBigItemByUserId from "../stampSheet/ConsumeBigItemByUserId";
3
+ import VerifyBigItemByUserId from "../stampSheet/VerifyBigItemByUserId";
3
4
  export default class BigItemModelRef {
4
5
  private readonly namespaceName;
5
6
  private readonly inventoryName;
@@ -7,5 +8,6 @@ export default class BigItemModelRef {
7
8
  constructor(namespaceName: string, inventoryName: string, itemName: string);
8
9
  acquireBigItem(acquireCount: string, userId?: string | null): AcquireBigItemByUserId;
9
10
  consumeBigItem(consumeCount: string, userId?: string | null): ConsumeBigItemByUserId;
11
+ verifyBigItem(verifyType: string, count: string, userId?: string | null): VerifyBigItemByUserId;
10
12
  grn(): string;
11
13
  }
@@ -19,6 +19,7 @@ const tslib_1 = require("tslib");
19
19
  const func_1 = require("../../core/func");
20
20
  const AcquireBigItemByUserId_1 = tslib_1.__importDefault(require("../stampSheet/AcquireBigItemByUserId"));
21
21
  const ConsumeBigItemByUserId_1 = tslib_1.__importDefault(require("../stampSheet/ConsumeBigItemByUserId"));
22
+ const VerifyBigItemByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyBigItemByUserId"));
22
23
  class BigItemModelRef {
23
24
  constructor(namespaceName, inventoryName, itemName) {
24
25
  this.namespaceName = namespaceName;
@@ -31,6 +32,9 @@ class BigItemModelRef {
31
32
  consumeBigItem(consumeCount, userId = "#{userId}") {
32
33
  return new ConsumeBigItemByUserId_1.default(this.namespaceName, this.inventoryName, this.itemName, consumeCount, userId);
33
34
  }
35
+ verifyBigItem(verifyType, count, userId = "#{userId}") {
36
+ return new VerifyBigItemByUserId_1.default(this.namespaceName, this.inventoryName, this.itemName, verifyType, count, userId);
37
+ }
34
38
  grn() {
35
39
  return new func_1.Join(":", [
36
40
  "grn",
@@ -1 +1 @@
1
- {"version":3,"file":"BigItemModelRef.js","sourceRoot":"","sources":["BigItemModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0GAA0E;AAC1E,0GAA0E;AAE1E,MAAqB,eAAe;IAKhC,YACI,aAAqB,EACrB,aAAqB,EACrB,QAAgB;QAEhB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AC7B,CAAC;IAEM,cAAc,CACjB,YAAoB,EACpB,SAAsB,WAAW;QAEjC,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,QAAQ,EACb,YAAY,EACZ,MAAM,CACT,CAAC;IACN,CAAC;IAEM,cAAc,CACjB,YAAoB,EACpB,SAAsB,WAAW;QAEjC,OAAO,IAAI,gCAAsB,CAC7B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,QAAQ,EACb,YAAY,EACZ,MAAM,CACT,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,UAAkB,EAClB,KAAa,EACb,SAAsB,WAAW;QAEjC,OAAO,IAAI,+BAAqB,CAC5B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,QAAQ,EACb,UAAU,EACV,KAAK,EACL,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,WAAW;YACX,IAAI,CAAC,aAAa;YAClB,KAAK;YACL,OAAO;YACP,IAAI,CAAC,aAAa;YAClB,MAAM;YACN,IAAI,CAAC,QAAQ;SAChB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAhFD,kCAgFC"}
@@ -17,6 +17,7 @@
17
17
  import {GetAttr, Join} from "../../core/func";
18
18
  import AcquireBigItemByUserId from "../stampSheet/AcquireBigItemByUserId";
19
19
  import ConsumeBigItemByUserId from "../stampSheet/ConsumeBigItemByUserId";
20
+ import VerifyBigItemByUserId from "../stampSheet/VerifyBigItemByUserId";
20
21
 
21
22
  export default class BigItemModelRef {
22
23
  private readonly namespaceName: string;
@@ -59,6 +60,21 @@ export default class BigItemModelRef {
59
60
  );
60
61
  }
61
62
 
63
+ public verifyBigItem(
64
+ verifyType: string,
65
+ count: string,
66
+ userId: string|null = "#{userId}",
67
+ ): VerifyBigItemByUserId {
68
+ return new VerifyBigItemByUserId(
69
+ this.namespaceName,
70
+ this.inventoryName,
71
+ this.itemName,
72
+ verifyType,
73
+ count,
74
+ userId,
75
+ );
76
+ }
77
+
62
78
  public grn(
63
79
  ): string {
64
80
  return new Join(
@@ -4,7 +4,9 @@ import SetCapacityByUserId from "../stampSheet/SetCapacityByUserId";
4
4
  import AcquireItemSetByUserId from "../stampSheet/AcquireItemSetByUserId";
5
5
  import AddReferenceOfByUserId from "../stampSheet/AddReferenceOfByUserId";
6
6
  import DeleteReferenceOfByUserId from "../stampSheet/DeleteReferenceOfByUserId";
7
+ import VerifyInventoryCurrentMaxCapacityByUserId from "../stampSheet/VerifyInventoryCurrentMaxCapacityByUserId";
7
8
  import ConsumeItemSetByUserId from "../stampSheet/ConsumeItemSetByUserId";
9
+ import VerifyItemSetByUserId from "../stampSheet/VerifyItemSetByUserId";
8
10
  import VerifyReferenceOfByUserId from "../stampSheet/VerifyReferenceOfByUserId";
9
11
  export default class InventoryModelRef {
10
12
  private readonly namespaceName;
@@ -13,10 +15,12 @@ export default class InventoryModelRef {
13
15
  itemModel(itemName: string): ItemModelRef;
14
16
  addCapacity(addCapacityValue: number, userId?: string | null): AddCapacityByUserId;
15
17
  setCapacity(newCapacityValue: number, userId?: string | null): SetCapacityByUserId;
16
- acquireItemSet(itemName: string, acquireCount: number, expiresAt: number, createNewItemSet: boolean, itemSetName?: string | null, userId?: string | null): AcquireItemSetByUserId;
17
- addReferenceOf(itemName: string, itemSetName: string, referenceOf: string, userId?: string | null): AddReferenceOfByUserId;
18
- deleteReferenceOf(itemName: string, itemSetName: string, referenceOf: string, userId?: string | null): DeleteReferenceOfByUserId;
18
+ acquireItemSet(itemName: string, acquireCount: number, expiresAt?: number | null, createNewItemSet?: boolean | null, itemSetName?: string | null, userId?: string | null): AcquireItemSetByUserId;
19
+ addReferenceOf(itemName: string, referenceOf: string, itemSetName?: string | null, userId?: string | null): AddReferenceOfByUserId;
20
+ deleteReferenceOf(itemName: string, referenceOf: string, itemSetName?: string | null, userId?: string | null): DeleteReferenceOfByUserId;
21
+ verifyInventoryCurrentMaxCapacity(verifyType: string, currentInventoryMaxCapacity: number, userId?: string | null): VerifyInventoryCurrentMaxCapacityByUserId;
19
22
  consumeItemSet(itemName: string, consumeCount: number, itemSetName?: string | null, userId?: string | null): ConsumeItemSetByUserId;
20
- verifyReferenceOf(itemName: string, itemSetName: string, referenceOf: string, verifyType: string, userId?: string | null): VerifyReferenceOfByUserId;
23
+ verifyItemSet(itemName: string, verifyType: string, count: number, itemSetName?: string | null, userId?: string | null): VerifyItemSetByUserId;
24
+ verifyReferenceOf(itemName: string, referenceOf: string, verifyType: string, itemSetName?: string | null, userId?: string | null): VerifyReferenceOfByUserId;
21
25
  grn(): string;
22
26
  }
@@ -23,7 +23,9 @@ const SetCapacityByUserId_1 = tslib_1.__importDefault(require("../stampSheet/Set
23
23
  const AcquireItemSetByUserId_1 = tslib_1.__importDefault(require("../stampSheet/AcquireItemSetByUserId"));
24
24
  const AddReferenceOfByUserId_1 = tslib_1.__importDefault(require("../stampSheet/AddReferenceOfByUserId"));
25
25
  const DeleteReferenceOfByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DeleteReferenceOfByUserId"));
26
+ const VerifyInventoryCurrentMaxCapacityByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyInventoryCurrentMaxCapacityByUserId"));
26
27
  const ConsumeItemSetByUserId_1 = tslib_1.__importDefault(require("../stampSheet/ConsumeItemSetByUserId"));
28
+ const VerifyItemSetByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyItemSetByUserId"));
27
29
  const VerifyReferenceOfByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyReferenceOfByUserId"));
28
30
  class InventoryModelRef {
29
31
  constructor(namespaceName, inventoryName) {
@@ -39,20 +41,26 @@ class InventoryModelRef {
39
41
  setCapacity(newCapacityValue, userId = "#{userId}") {
40
42
  return new SetCapacityByUserId_1.default(this.namespaceName, this.inventoryName, newCapacityValue, userId);
41
43
  }
42
- acquireItemSet(itemName, acquireCount, expiresAt, createNewItemSet, itemSetName = null, userId = "#{userId}") {
44
+ acquireItemSet(itemName, acquireCount, expiresAt = null, createNewItemSet = null, itemSetName = null, userId = "#{userId}") {
43
45
  return new AcquireItemSetByUserId_1.default(this.namespaceName, this.inventoryName, itemName, acquireCount, expiresAt, createNewItemSet, itemSetName, userId);
44
46
  }
45
- addReferenceOf(itemName, itemSetName, referenceOf, userId = "#{userId}") {
46
- return new AddReferenceOfByUserId_1.default(this.namespaceName, this.inventoryName, itemName, itemSetName, referenceOf, userId);
47
+ addReferenceOf(itemName, referenceOf, itemSetName = null, userId = "#{userId}") {
48
+ return new AddReferenceOfByUserId_1.default(this.namespaceName, this.inventoryName, itemName, referenceOf, itemSetName, userId);
47
49
  }
48
- deleteReferenceOf(itemName, itemSetName, referenceOf, userId = "#{userId}") {
49
- return new DeleteReferenceOfByUserId_1.default(this.namespaceName, this.inventoryName, itemName, itemSetName, referenceOf, userId);
50
+ deleteReferenceOf(itemName, referenceOf, itemSetName = null, userId = "#{userId}") {
51
+ return new DeleteReferenceOfByUserId_1.default(this.namespaceName, this.inventoryName, itemName, referenceOf, itemSetName, userId);
52
+ }
53
+ verifyInventoryCurrentMaxCapacity(verifyType, currentInventoryMaxCapacity, userId = "#{userId}") {
54
+ return new VerifyInventoryCurrentMaxCapacityByUserId_1.default(this.namespaceName, this.inventoryName, verifyType, currentInventoryMaxCapacity, userId);
50
55
  }
51
56
  consumeItemSet(itemName, consumeCount, itemSetName = null, userId = "#{userId}") {
52
57
  return new ConsumeItemSetByUserId_1.default(this.namespaceName, this.inventoryName, itemName, consumeCount, itemSetName, userId);
53
58
  }
54
- verifyReferenceOf(itemName, itemSetName, referenceOf, verifyType, userId = "#{userId}") {
55
- return new VerifyReferenceOfByUserId_1.default(this.namespaceName, this.inventoryName, itemName, itemSetName, referenceOf, verifyType, userId);
59
+ verifyItemSet(itemName, verifyType, count, itemSetName = null, userId = "#{userId}") {
60
+ return new VerifyItemSetByUserId_1.default(this.namespaceName, this.inventoryName, itemName, verifyType, count, itemSetName, userId);
61
+ }
62
+ verifyReferenceOf(itemName, referenceOf, verifyType, itemSetName = null, userId = "#{userId}") {
63
+ return new VerifyReferenceOfByUserId_1.default(this.namespaceName, this.inventoryName, itemName, referenceOf, verifyType, itemSetName, userId);
56
64
  }
57
65
  grn() {
58
66
  return new func_1.Join(":", [
@@ -1 +1 @@
1
- {"version":3,"file":"InventoryModelRef.js","sourceRoot":"","sources":["InventoryModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0EAA0C;AAC1C,oGAAoE;AACpE,oGAAoE;AACpE,0GAA0E;AAC1E,0GAA0E;AAC1E,gHAAgF;AAChF,0GAA0E;AAC1E,gHAAgF;AAEhF,MAAqB,iBAAiB;IAIlC,YACI,aAAqB,EACrB,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,SAAS,CACZ,QAAgB;QAEhB,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,QAAQ,CACX,CAAC;IACN,CAAC;IAEM,WAAW,CACd,gBAAwB,EACxB,SAAsB,WAAW;QAEjC,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,gBAAgB,EAChB,MAAM,CACT,CAAC;IACN,CAAC;IAEM,WAAW,CACd,gBAAwB,EACxB,SAAsB,WAAW;QAEjC,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,gBAAg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,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,WAAW;YACX,IAAI,CAAC,aAAa;YAClB,OAAO;YACP,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAzJD,oCAyJC"}
1
+ {"version":3,"file":"InventoryModelRef.js","sourceRoot":"","sources":["InventoryModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0EAA0C;AAC1C,oGAAoE;AACpE,oGAAoE;AACpE,0GAA0E;AAC1E,0GAA0E;AAC1E,gHAAgF;AAChF,gJAAgH;AAChH,0GAA0E;AAC1E,wGAAwE;AACxE,gHAAgF;AAEhF,MAAqB,iBAAiB;IAIlC,YACI,aAAqB,EACrB,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,SAAS,CACZ,QAAgB;QAEhB,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,QAAQ,CACX,CAAC;IACN,CAAC;IAEM,WAAW,CACd,gBAAwB,EACxB,SAAsB,WAAW;QAEjC,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,gBAAgB,EAChB,MAAM,CACT,CAAC;IACN,CAAC;IAEM,WAAW,CACd,gBAAwB,EACxB,SAAsB,WAAW;QAEjC,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,gBAAgB,EAChB,MAAM,CACT,CAAC;IACN,CAAC;IAEM,cAAc,CACjB,QAAgB,EAChB,YAAoB,EACpB,YAAyB,IAA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CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,QAAQ,EACR,UAAU,EACV,KAAK,EACL,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,iBAAiB,CACpB,QAAgB,EAChB,WAAmB,EACnB,UAAkB,EAClB,cAA2B,IAAI,EAC/B,SAAsB,WAAW;QAEjC,OAAO,IAAI,mCAAyB,CAChC,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,QAAQ,EACR,WAAW,EACX,UAAU,EACV,WAAW,EACX,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,WAAW;YACX,IAAI,CAAC,aAAa;YAClB,OAAO;YACP,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAzLD,oCAyLC"}
@@ -21,7 +21,9 @@ import SetCapacityByUserId from "../stampSheet/SetCapacityByUserId";
21
21
  import AcquireItemSetByUserId from "../stampSheet/AcquireItemSetByUserId";
22
22
  import AddReferenceOfByUserId from "../stampSheet/AddReferenceOfByUserId";
23
23
  import DeleteReferenceOfByUserId from "../stampSheet/DeleteReferenceOfByUserId";
24
+ import VerifyInventoryCurrentMaxCapacityByUserId from "../stampSheet/VerifyInventoryCurrentMaxCapacityByUserId";
24
25
  import ConsumeItemSetByUserId from "../stampSheet/ConsumeItemSetByUserId";
26
+ import VerifyItemSetByUserId from "../stampSheet/VerifyItemSetByUserId";
25
27
  import VerifyReferenceOfByUserId from "../stampSheet/VerifyReferenceOfByUserId";
26
28
 
27
29
  export default class InventoryModelRef {
@@ -73,8 +75,8 @@ export default class InventoryModelRef {
73
75
  public acquireItemSet(
74
76
  itemName: string,
75
77
  acquireCount: number,
76
- expiresAt: number,
77
- createNewItemSet: boolean,
78
+ expiresAt: number|null = null,
79
+ createNewItemSet: boolean|null = null,
78
80
  itemSetName: string|null = null,
79
81
  userId: string|null = "#{userId}",
80
82
  ): AcquireItemSetByUserId {
@@ -92,32 +94,46 @@ export default class InventoryModelRef {
92
94
 
93
95
  public addReferenceOf(
94
96
  itemName: string,
95
- itemSetName: string,
96
97
  referenceOf: string,
98
+ itemSetName: string|null = null,
97
99
  userId: string|null = "#{userId}",
98
100
  ): AddReferenceOfByUserId {
99
101
  return new AddReferenceOfByUserId(
100
102
  this.namespaceName,
101
103
  this.inventoryName,
102
104
  itemName,
103
- itemSetName,
104
105
  referenceOf,
106
+ itemSetName,
105
107
  userId,
106
108
  );
107
109
  }
108
110
 
109
111
  public deleteReferenceOf(
110
112
  itemName: string,
111
- itemSetName: string,
112
113
  referenceOf: string,
114
+ itemSetName: string|null = null,
113
115
  userId: string|null = "#{userId}",
114
116
  ): DeleteReferenceOfByUserId {
115
117
  return new DeleteReferenceOfByUserId(
116
118
  this.namespaceName,
117
119
  this.inventoryName,
118
120
  itemName,
119
- itemSetName,
120
121
  referenceOf,
122
+ itemSetName,
123
+ userId,
124
+ );
125
+ }
126
+
127
+ public verifyInventoryCurrentMaxCapacity(
128
+ verifyType: string,
129
+ currentInventoryMaxCapacity: number,
130
+ userId: string|null = "#{userId}",
131
+ ): VerifyInventoryCurrentMaxCapacityByUserId {
132
+ return new VerifyInventoryCurrentMaxCapacityByUserId(
133
+ this.namespaceName,
134
+ this.inventoryName,
135
+ verifyType,
136
+ currentInventoryMaxCapacity,
121
137
  userId,
122
138
  );
123
139
  }
@@ -138,20 +154,38 @@ export default class InventoryModelRef {
138
154
  );
139
155
  }
140
156
 
157
+ public verifyItemSet(
158
+ itemName: string,
159
+ verifyType: string,
160
+ count: number,
161
+ itemSetName: string|null = null,
162
+ userId: string|null = "#{userId}",
163
+ ): VerifyItemSetByUserId {
164
+ return new VerifyItemSetByUserId(
165
+ this.namespaceName,
166
+ this.inventoryName,
167
+ itemName,
168
+ verifyType,
169
+ count,
170
+ itemSetName,
171
+ userId,
172
+ );
173
+ }
174
+
141
175
  public verifyReferenceOf(
142
176
  itemName: string,
143
- itemSetName: string,
144
177
  referenceOf: string,
145
178
  verifyType: string,
179
+ itemSetName: string|null = null,
146
180
  userId: string|null = "#{userId}",
147
181
  ): VerifyReferenceOfByUserId {
148
182
  return new VerifyReferenceOfByUserId(
149
183
  this.namespaceName,
150
184
  this.inventoryName,
151
185
  itemName,
152
- itemSetName,
153
186
  referenceOf,
154
187
  verifyType,
188
+ itemSetName,
155
189
  userId,
156
190
  );
157
191
  }