gs2 1.3.147 → 1.3.149

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 (157) hide show
  1. package/package.json +1 -1
  2. package/showcase/model/PurchaseCount.d.ts +17 -0
  3. package/showcase/model/PurchaseCount.js +62 -0
  4. package/showcase/model/PurchaseCount.js.map +1 -0
  5. package/showcase/model/PurchaseCount.ts +60 -0
  6. package/showcase/model/RandomDisplayItem.d.ts +39 -0
  7. package/showcase/model/RandomDisplayItem.js +147 -0
  8. package/showcase/model/RandomDisplayItem.js.map +1 -0
  9. package/showcase/model/RandomDisplayItem.ts +148 -0
  10. package/showcase/model/RandomDisplayItemModel.d.ts +35 -0
  11. package/showcase/model/RandomDisplayItemModel.js +133 -0
  12. package/showcase/model/RandomDisplayItemModel.js.map +1 -0
  13. package/showcase/model/RandomDisplayItemModel.ts +134 -0
  14. package/showcase/model/RandomShowcase.d.ts +48 -0
  15. package/showcase/model/RandomShowcase.js +221 -0
  16. package/showcase/model/RandomShowcase.js.map +1 -0
  17. package/showcase/model/RandomShowcase.ts +237 -0
  18. package/showcase/model/RandomShowcaseMaster.d.ts +60 -0
  19. package/showcase/model/RandomShowcaseMaster.js +263 -0
  20. package/showcase/model/RandomShowcaseMaster.js.map +1 -0
  21. package/showcase/model/RandomShowcaseMaster.ts +279 -0
  22. package/showcase/model/index.d.ts +6 -1
  23. package/showcase/model/index.js +11 -1
  24. package/showcase/model/index.js.map +1 -1
  25. package/showcase/model/index.ts +10 -0
  26. package/showcase/request/CreateRandomShowcaseMasterRequest.d.ts +54 -0
  27. package/showcase/request/CreateRandomShowcaseMasterRequest.js +189 -0
  28. package/showcase/request/CreateRandomShowcaseMasterRequest.js.map +1 -0
  29. package/showcase/request/CreateRandomShowcaseMasterRequest.ts +196 -0
  30. package/showcase/request/DeleteRandomShowcaseMasterRequest.d.ts +25 -0
  31. package/showcase/request/DeleteRandomShowcaseMasterRequest.js +83 -0
  32. package/showcase/request/DeleteRandomShowcaseMasterRequest.js.map +1 -0
  33. package/showcase/request/DeleteRandomShowcaseMasterRequest.ts +90 -0
  34. package/showcase/request/DescribeRandomShowcaseMastersRequest.d.ts +29 -0
  35. package/showcase/request/DescribeRandomShowcaseMastersRequest.js +97 -0
  36. package/showcase/request/DescribeRandomShowcaseMastersRequest.js.map +1 -0
  37. package/showcase/request/DescribeRandomShowcaseMastersRequest.ts +104 -0
  38. package/showcase/request/DescribeRandomShowcaseSalesItemsByUserIdRequest.d.ts +29 -0
  39. package/showcase/request/DescribeRandomShowcaseSalesItemsByUserIdRequest.js +97 -0
  40. package/showcase/request/DescribeRandomShowcaseSalesItemsByUserIdRequest.js.map +1 -0
  41. package/showcase/request/DescribeRandomShowcaseSalesItemsByUserIdRequest.ts +104 -0
  42. package/showcase/request/DescribeRandomShowcaseSalesItemsRequest.d.ts +29 -0
  43. package/showcase/request/DescribeRandomShowcaseSalesItemsRequest.js +97 -0
  44. package/showcase/request/DescribeRandomShowcaseSalesItemsRequest.js.map +1 -0
  45. package/showcase/request/DescribeRandomShowcaseSalesItemsRequest.ts +104 -0
  46. package/showcase/request/ForceReDrawByUserIdByStampSheetRequest.d.ts +25 -0
  47. package/showcase/request/ForceReDrawByUserIdByStampSheetRequest.js +83 -0
  48. package/showcase/request/ForceReDrawByUserIdByStampSheetRequest.js.map +1 -0
  49. package/showcase/request/ForceReDrawByUserIdByStampSheetRequest.ts +90 -0
  50. package/showcase/request/ForceReDrawByUserIdRequest.d.ts +33 -0
  51. package/showcase/request/ForceReDrawByUserIdRequest.js +109 -0
  52. package/showcase/request/ForceReDrawByUserIdRequest.js.map +1 -0
  53. package/showcase/request/ForceReDrawByUserIdRequest.ts +119 -0
  54. package/showcase/request/GetRandomShowcaseMasterRequest.d.ts +25 -0
  55. package/showcase/request/GetRandomShowcaseMasterRequest.js +83 -0
  56. package/showcase/request/GetRandomShowcaseMasterRequest.js.map +1 -0
  57. package/showcase/request/GetRandomShowcaseMasterRequest.ts +90 -0
  58. package/showcase/request/GetRandomShowcaseSalesItemByUserIdRequest.d.ts +33 -0
  59. package/showcase/request/GetRandomShowcaseSalesItemByUserIdRequest.js +111 -0
  60. package/showcase/request/GetRandomShowcaseSalesItemByUserIdRequest.js.map +1 -0
  61. package/showcase/request/GetRandomShowcaseSalesItemByUserIdRequest.ts +118 -0
  62. package/showcase/request/GetRandomShowcaseSalesItemRequest.d.ts +33 -0
  63. package/showcase/request/GetRandomShowcaseSalesItemRequest.js +111 -0
  64. package/showcase/request/GetRandomShowcaseSalesItemRequest.js.map +1 -0
  65. package/showcase/request/GetRandomShowcaseSalesItemRequest.ts +118 -0
  66. package/showcase/request/IncrementPurchaseCountByStampTaskRequest.d.ts +25 -0
  67. package/showcase/request/IncrementPurchaseCountByStampTaskRequest.js +83 -0
  68. package/showcase/request/IncrementPurchaseCountByStampTaskRequest.js.map +1 -0
  69. package/showcase/request/IncrementPurchaseCountByStampTaskRequest.ts +90 -0
  70. package/showcase/request/IncrementPurchaseCountByUserIdRequest.d.ts +41 -0
  71. package/showcase/request/IncrementPurchaseCountByUserIdRequest.js +137 -0
  72. package/showcase/request/IncrementPurchaseCountByUserIdRequest.js.map +1 -0
  73. package/showcase/request/IncrementPurchaseCountByUserIdRequest.ts +147 -0
  74. package/showcase/request/RandomShowcaseBuyByUserIdRequest.d.ts +46 -0
  75. package/showcase/request/RandomShowcaseBuyByUserIdRequest.js +159 -0
  76. package/showcase/request/RandomShowcaseBuyByUserIdRequest.js.map +1 -0
  77. package/showcase/request/RandomShowcaseBuyByUserIdRequest.ts +169 -0
  78. package/showcase/request/RandomShowcaseBuyRequest.d.ts +46 -0
  79. package/showcase/request/RandomShowcaseBuyRequest.js +159 -0
  80. package/showcase/request/RandomShowcaseBuyRequest.js.map +1 -0
  81. package/showcase/request/RandomShowcaseBuyRequest.ts +169 -0
  82. package/showcase/request/UpdateRandomShowcaseMasterRequest.d.ts +54 -0
  83. package/showcase/request/UpdateRandomShowcaseMasterRequest.js +189 -0
  84. package/showcase/request/UpdateRandomShowcaseMasterRequest.js.map +1 -0
  85. package/showcase/request/UpdateRandomShowcaseMasterRequest.ts +196 -0
  86. package/showcase/request/index.d.ts +16 -1
  87. package/showcase/request/index.js +31 -1
  88. package/showcase/request/index.js.map +1 -1
  89. package/showcase/request/index.ts +30 -0
  90. package/showcase/rest.d.ts +15 -0
  91. package/showcase/rest.js +424 -0
  92. package/showcase/rest.js.map +1 -1
  93. package/showcase/rest.ts +484 -0
  94. package/showcase/result/CreateRandomShowcaseMasterResult.d.ts +14 -0
  95. package/showcase/result/CreateRandomShowcaseMasterResult.js +48 -0
  96. package/showcase/result/CreateRandomShowcaseMasterResult.js.map +1 -0
  97. package/showcase/result/CreateRandomShowcaseMasterResult.ts +48 -0
  98. package/showcase/result/DeleteRandomShowcaseMasterResult.d.ts +14 -0
  99. package/showcase/result/DeleteRandomShowcaseMasterResult.js +48 -0
  100. package/showcase/result/DeleteRandomShowcaseMasterResult.js.map +1 -0
  101. package/showcase/result/DeleteRandomShowcaseMasterResult.ts +48 -0
  102. package/showcase/result/DescribeRandomShowcaseMastersResult.d.ts +18 -0
  103. package/showcase/result/DescribeRandomShowcaseMastersResult.js +67 -0
  104. package/showcase/result/DescribeRandomShowcaseMastersResult.js.map +1 -0
  105. package/showcase/result/DescribeRandomShowcaseMastersResult.ts +73 -0
  106. package/showcase/result/DescribeRandomShowcaseSalesItemsByUserIdResult.d.ts +14 -0
  107. package/showcase/result/DescribeRandomShowcaseSalesItemsByUserIdResult.js +53 -0
  108. package/showcase/result/DescribeRandomShowcaseSalesItemsByUserIdResult.js.map +1 -0
  109. package/showcase/result/DescribeRandomShowcaseSalesItemsByUserIdResult.ts +56 -0
  110. package/showcase/result/DescribeRandomShowcaseSalesItemsResult.d.ts +14 -0
  111. package/showcase/result/DescribeRandomShowcaseSalesItemsResult.js +53 -0
  112. package/showcase/result/DescribeRandomShowcaseSalesItemsResult.js.map +1 -0
  113. package/showcase/result/DescribeRandomShowcaseSalesItemsResult.ts +56 -0
  114. package/showcase/result/ForceReDrawByUserIdByStampSheetResult.d.ts +14 -0
  115. package/showcase/result/ForceReDrawByUserIdByStampSheetResult.js +53 -0
  116. package/showcase/result/ForceReDrawByUserIdByStampSheetResult.js.map +1 -0
  117. package/showcase/result/ForceReDrawByUserIdByStampSheetResult.ts +56 -0
  118. package/showcase/result/ForceReDrawByUserIdResult.d.ts +14 -0
  119. package/showcase/result/ForceReDrawByUserIdResult.js +53 -0
  120. package/showcase/result/ForceReDrawByUserIdResult.js.map +1 -0
  121. package/showcase/result/ForceReDrawByUserIdResult.ts +56 -0
  122. package/showcase/result/GetRandomShowcaseMasterResult.d.ts +14 -0
  123. package/showcase/result/GetRandomShowcaseMasterResult.js +48 -0
  124. package/showcase/result/GetRandomShowcaseMasterResult.js.map +1 -0
  125. package/showcase/result/GetRandomShowcaseMasterResult.ts +48 -0
  126. package/showcase/result/GetRandomShowcaseSalesItemByUserIdResult.d.ts +14 -0
  127. package/showcase/result/GetRandomShowcaseSalesItemByUserIdResult.js +48 -0
  128. package/showcase/result/GetRandomShowcaseSalesItemByUserIdResult.js.map +1 -0
  129. package/showcase/result/GetRandomShowcaseSalesItemByUserIdResult.ts +48 -0
  130. package/showcase/result/GetRandomShowcaseSalesItemResult.d.ts +14 -0
  131. package/showcase/result/GetRandomShowcaseSalesItemResult.js +48 -0
  132. package/showcase/result/GetRandomShowcaseSalesItemResult.js.map +1 -0
  133. package/showcase/result/GetRandomShowcaseSalesItemResult.ts +48 -0
  134. package/showcase/result/IncrementPurchaseCountByStampTaskResult.d.ts +18 -0
  135. package/showcase/result/IncrementPurchaseCountByStampTaskResult.js +62 -0
  136. package/showcase/result/IncrementPurchaseCountByStampTaskResult.js.map +1 -0
  137. package/showcase/result/IncrementPurchaseCountByStampTaskResult.ts +65 -0
  138. package/showcase/result/IncrementPurchaseCountByUserIdResult.d.ts +14 -0
  139. package/showcase/result/IncrementPurchaseCountByUserIdResult.js +48 -0
  140. package/showcase/result/IncrementPurchaseCountByUserIdResult.js.map +1 -0
  141. package/showcase/result/IncrementPurchaseCountByUserIdResult.ts +48 -0
  142. package/showcase/result/RandomShowcaseBuyByUserIdResult.d.ts +30 -0
  143. package/showcase/result/RandomShowcaseBuyByUserIdResult.js +104 -0
  144. package/showcase/result/RandomShowcaseBuyByUserIdResult.js.map +1 -0
  145. package/showcase/result/RandomShowcaseBuyByUserIdResult.ts +116 -0
  146. package/showcase/result/RandomShowcaseBuyResult.d.ts +30 -0
  147. package/showcase/result/RandomShowcaseBuyResult.js +104 -0
  148. package/showcase/result/RandomShowcaseBuyResult.js.map +1 -0
  149. package/showcase/result/RandomShowcaseBuyResult.ts +116 -0
  150. package/showcase/result/UpdateRandomShowcaseMasterResult.d.ts +14 -0
  151. package/showcase/result/UpdateRandomShowcaseMasterResult.js +48 -0
  152. package/showcase/result/UpdateRandomShowcaseMasterResult.js.map +1 -0
  153. package/showcase/result/UpdateRandomShowcaseMasterResult.ts +48 -0
  154. package/showcase/result/index.d.ts +16 -1
  155. package/showcase/result/index.js +31 -1
  156. package/showcase/result/index.js.map +1 -1
  157. package/showcase/result/index.ts +30 -0
@@ -0,0 +1,48 @@
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
+ var tslib_1 = require("tslib");
19
+ var Gs2Showcase = tslib_1.__importStar(require("../model"));
20
+ var IncrementPurchaseCountByUserIdResult = /** @class */ (function () {
21
+ function IncrementPurchaseCountByUserIdResult() {
22
+ this.item = null;
23
+ }
24
+ IncrementPurchaseCountByUserIdResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ IncrementPurchaseCountByUserIdResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ IncrementPurchaseCountByUserIdResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ IncrementPurchaseCountByUserIdResult.fromDict = function (data) {
36
+ return new IncrementPurchaseCountByUserIdResult()
37
+ .withItem(Gs2Showcase.RandomDisplayItem.fromDict(data["item"]));
38
+ };
39
+ IncrementPurchaseCountByUserIdResult.prototype.toDict = function () {
40
+ var _a;
41
+ return {
42
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
43
+ };
44
+ };
45
+ return IncrementPurchaseCountByUserIdResult;
46
+ }());
47
+ exports.default = IncrementPurchaseCountByUserIdResult;
48
+ //# sourceMappingURL=IncrementPurchaseCountByUserIdResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IncrementPurchaseCountByUserIdResult.js","sourceRoot":"","sources":["IncrementPurchaseCountByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAAuC,IAAI,CAAC;IA0B5D,CAAC;IAxBU,sDAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,sDAAO,GAAd,UAAe,IAAwC;QACnD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uDAAQ,GAAf,UAAgB,IAAwC;QACpD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,6CAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,oCAAoC,EAAE;aAC5C,QAAQ,CAAC,WAAW,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACxE,CAAC;IAEM,qDAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,2CAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,48 @@
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 IResult from '../../core/interface/IResult';
18
+
19
+ import * as Gs2Showcase from '../model'
20
+
21
+ export default class IncrementPurchaseCountByUserIdResult implements IResult {
22
+ private item: Gs2Showcase.RandomDisplayItem|null = null;
23
+
24
+ public getItem(): Gs2Showcase.RandomDisplayItem|null {
25
+ return this.item;
26
+ }
27
+
28
+ public setItem(item: Gs2Showcase.RandomDisplayItem|null) {
29
+ this.item = item;
30
+ return this;
31
+ }
32
+
33
+ public withItem(item: Gs2Showcase.RandomDisplayItem|null): this {
34
+ this.item = item;
35
+ return this;
36
+ }
37
+
38
+ public static fromDict(data: {[key: string]: any}): IncrementPurchaseCountByUserIdResult {
39
+ return new IncrementPurchaseCountByUserIdResult()
40
+ .withItem(Gs2Showcase.RandomDisplayItem.fromDict(data["item"]));
41
+ }
42
+
43
+ public toDict(): {[key: string]: any} {
44
+ return {
45
+ "item": this.getItem()?.toDict(),
46
+ };
47
+ }
48
+ }
@@ -0,0 +1,30 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Showcase from '../model';
3
+ export default class RandomShowcaseBuyByUserIdResult implements IResult {
4
+ private item;
5
+ private transactionId;
6
+ private stampSheet;
7
+ private stampSheetEncryptionKeyId;
8
+ private autoRunStampSheet;
9
+ getItem(): Gs2Showcase.RandomDisplayItem | null;
10
+ setItem(item: Gs2Showcase.RandomDisplayItem | null): this;
11
+ withItem(item: Gs2Showcase.RandomDisplayItem | null): this;
12
+ getTransactionId(): string | null;
13
+ setTransactionId(transactionId: string | null): this;
14
+ withTransactionId(transactionId: string | null): this;
15
+ getStampSheet(): string | null;
16
+ setStampSheet(stampSheet: string | null): this;
17
+ withStampSheet(stampSheet: string | null): this;
18
+ getStampSheetEncryptionKeyId(): string | null;
19
+ setStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string | null): this;
20
+ withStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string | null): this;
21
+ getAutoRunStampSheet(): boolean | null;
22
+ setAutoRunStampSheet(autoRunStampSheet: boolean | null): this;
23
+ withAutoRunStampSheet(autoRunStampSheet: boolean | null): this;
24
+ static fromDict(data: {
25
+ [key: string]: any;
26
+ }): RandomShowcaseBuyByUserIdResult;
27
+ toDict(): {
28
+ [key: string]: any;
29
+ };
30
+ }
@@ -0,0 +1,104 @@
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
+ var tslib_1 = require("tslib");
19
+ var Gs2Showcase = tslib_1.__importStar(require("../model"));
20
+ var RandomShowcaseBuyByUserIdResult = /** @class */ (function () {
21
+ function RandomShowcaseBuyByUserIdResult() {
22
+ this.item = null;
23
+ this.transactionId = null;
24
+ this.stampSheet = null;
25
+ this.stampSheetEncryptionKeyId = null;
26
+ this.autoRunStampSheet = null;
27
+ }
28
+ RandomShowcaseBuyByUserIdResult.prototype.getItem = function () {
29
+ return this.item;
30
+ };
31
+ RandomShowcaseBuyByUserIdResult.prototype.setItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ RandomShowcaseBuyByUserIdResult.prototype.withItem = function (item) {
36
+ this.item = item;
37
+ return this;
38
+ };
39
+ RandomShowcaseBuyByUserIdResult.prototype.getTransactionId = function () {
40
+ return this.transactionId;
41
+ };
42
+ RandomShowcaseBuyByUserIdResult.prototype.setTransactionId = function (transactionId) {
43
+ this.transactionId = transactionId;
44
+ return this;
45
+ };
46
+ RandomShowcaseBuyByUserIdResult.prototype.withTransactionId = function (transactionId) {
47
+ this.transactionId = transactionId;
48
+ return this;
49
+ };
50
+ RandomShowcaseBuyByUserIdResult.prototype.getStampSheet = function () {
51
+ return this.stampSheet;
52
+ };
53
+ RandomShowcaseBuyByUserIdResult.prototype.setStampSheet = function (stampSheet) {
54
+ this.stampSheet = stampSheet;
55
+ return this;
56
+ };
57
+ RandomShowcaseBuyByUserIdResult.prototype.withStampSheet = function (stampSheet) {
58
+ this.stampSheet = stampSheet;
59
+ return this;
60
+ };
61
+ RandomShowcaseBuyByUserIdResult.prototype.getStampSheetEncryptionKeyId = function () {
62
+ return this.stampSheetEncryptionKeyId;
63
+ };
64
+ RandomShowcaseBuyByUserIdResult.prototype.setStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
65
+ this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
66
+ return this;
67
+ };
68
+ RandomShowcaseBuyByUserIdResult.prototype.withStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
69
+ this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
70
+ return this;
71
+ };
72
+ RandomShowcaseBuyByUserIdResult.prototype.getAutoRunStampSheet = function () {
73
+ return this.autoRunStampSheet;
74
+ };
75
+ RandomShowcaseBuyByUserIdResult.prototype.setAutoRunStampSheet = function (autoRunStampSheet) {
76
+ this.autoRunStampSheet = autoRunStampSheet;
77
+ return this;
78
+ };
79
+ RandomShowcaseBuyByUserIdResult.prototype.withAutoRunStampSheet = function (autoRunStampSheet) {
80
+ this.autoRunStampSheet = autoRunStampSheet;
81
+ return this;
82
+ };
83
+ RandomShowcaseBuyByUserIdResult.fromDict = function (data) {
84
+ return new RandomShowcaseBuyByUserIdResult()
85
+ .withItem(Gs2Showcase.RandomDisplayItem.fromDict(data["item"]))
86
+ .withTransactionId(data["transactionId"])
87
+ .withStampSheet(data["stampSheet"])
88
+ .withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
89
+ .withAutoRunStampSheet(data["autoRunStampSheet"]);
90
+ };
91
+ RandomShowcaseBuyByUserIdResult.prototype.toDict = function () {
92
+ var _a;
93
+ return {
94
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
95
+ "transactionId": this.getTransactionId(),
96
+ "stampSheet": this.getStampSheet(),
97
+ "stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
98
+ "autoRunStampSheet": this.getAutoRunStampSheet(),
99
+ };
100
+ };
101
+ return RandomShowcaseBuyByUserIdResult;
102
+ }());
103
+ exports.default = RandomShowcaseBuyByUserIdResult;
104
+ //# sourceMappingURL=RandomShowcaseBuyByUserIdResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RandomShowcaseBuyByUserIdResult.js","sourceRoot":"","sources":["RandomShowcaseBuyByUserIdResult.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,116 @@
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 IResult from '../../core/interface/IResult';
18
+
19
+ import * as Gs2Showcase from '../model'
20
+
21
+ export default class RandomShowcaseBuyByUserIdResult implements IResult {
22
+ private item: Gs2Showcase.RandomDisplayItem|null = null;
23
+ private transactionId: string|null = null;
24
+ private stampSheet: string|null = null;
25
+ private stampSheetEncryptionKeyId: string|null = null;
26
+ private autoRunStampSheet: boolean|null = null;
27
+
28
+ public getItem(): Gs2Showcase.RandomDisplayItem|null {
29
+ return this.item;
30
+ }
31
+
32
+ public setItem(item: Gs2Showcase.RandomDisplayItem|null) {
33
+ this.item = item;
34
+ return this;
35
+ }
36
+
37
+ public withItem(item: Gs2Showcase.RandomDisplayItem|null): this {
38
+ this.item = item;
39
+ return this;
40
+ }
41
+
42
+ public getTransactionId(): string|null {
43
+ return this.transactionId;
44
+ }
45
+
46
+ public setTransactionId(transactionId: string|null) {
47
+ this.transactionId = transactionId;
48
+ return this;
49
+ }
50
+
51
+ public withTransactionId(transactionId: string|null): this {
52
+ this.transactionId = transactionId;
53
+ return this;
54
+ }
55
+
56
+ public getStampSheet(): string|null {
57
+ return this.stampSheet;
58
+ }
59
+
60
+ public setStampSheet(stampSheet: string|null) {
61
+ this.stampSheet = stampSheet;
62
+ return this;
63
+ }
64
+
65
+ public withStampSheet(stampSheet: string|null): this {
66
+ this.stampSheet = stampSheet;
67
+ return this;
68
+ }
69
+
70
+ public getStampSheetEncryptionKeyId(): string|null {
71
+ return this.stampSheetEncryptionKeyId;
72
+ }
73
+
74
+ public setStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null) {
75
+ this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
76
+ return this;
77
+ }
78
+
79
+ public withStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null): this {
80
+ this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
81
+ return this;
82
+ }
83
+
84
+ public getAutoRunStampSheet(): boolean|null {
85
+ return this.autoRunStampSheet;
86
+ }
87
+
88
+ public setAutoRunStampSheet(autoRunStampSheet: boolean|null) {
89
+ this.autoRunStampSheet = autoRunStampSheet;
90
+ return this;
91
+ }
92
+
93
+ public withAutoRunStampSheet(autoRunStampSheet: boolean|null): this {
94
+ this.autoRunStampSheet = autoRunStampSheet;
95
+ return this;
96
+ }
97
+
98
+ public static fromDict(data: {[key: string]: any}): RandomShowcaseBuyByUserIdResult {
99
+ return new RandomShowcaseBuyByUserIdResult()
100
+ .withItem(Gs2Showcase.RandomDisplayItem.fromDict(data["item"]))
101
+ .withTransactionId(data["transactionId"])
102
+ .withStampSheet(data["stampSheet"])
103
+ .withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
104
+ .withAutoRunStampSheet(data["autoRunStampSheet"]);
105
+ }
106
+
107
+ public toDict(): {[key: string]: any} {
108
+ return {
109
+ "item": this.getItem()?.toDict(),
110
+ "transactionId": this.getTransactionId(),
111
+ "stampSheet": this.getStampSheet(),
112
+ "stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
113
+ "autoRunStampSheet": this.getAutoRunStampSheet(),
114
+ };
115
+ }
116
+ }
@@ -0,0 +1,30 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Showcase from '../model';
3
+ export default class RandomShowcaseBuyResult implements IResult {
4
+ private item;
5
+ private transactionId;
6
+ private stampSheet;
7
+ private stampSheetEncryptionKeyId;
8
+ private autoRunStampSheet;
9
+ getItem(): Gs2Showcase.RandomDisplayItem | null;
10
+ setItem(item: Gs2Showcase.RandomDisplayItem | null): this;
11
+ withItem(item: Gs2Showcase.RandomDisplayItem | null): this;
12
+ getTransactionId(): string | null;
13
+ setTransactionId(transactionId: string | null): this;
14
+ withTransactionId(transactionId: string | null): this;
15
+ getStampSheet(): string | null;
16
+ setStampSheet(stampSheet: string | null): this;
17
+ withStampSheet(stampSheet: string | null): this;
18
+ getStampSheetEncryptionKeyId(): string | null;
19
+ setStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string | null): this;
20
+ withStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string | null): this;
21
+ getAutoRunStampSheet(): boolean | null;
22
+ setAutoRunStampSheet(autoRunStampSheet: boolean | null): this;
23
+ withAutoRunStampSheet(autoRunStampSheet: boolean | null): this;
24
+ static fromDict(data: {
25
+ [key: string]: any;
26
+ }): RandomShowcaseBuyResult;
27
+ toDict(): {
28
+ [key: string]: any;
29
+ };
30
+ }
@@ -0,0 +1,104 @@
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
+ var tslib_1 = require("tslib");
19
+ var Gs2Showcase = tslib_1.__importStar(require("../model"));
20
+ var RandomShowcaseBuyResult = /** @class */ (function () {
21
+ function RandomShowcaseBuyResult() {
22
+ this.item = null;
23
+ this.transactionId = null;
24
+ this.stampSheet = null;
25
+ this.stampSheetEncryptionKeyId = null;
26
+ this.autoRunStampSheet = null;
27
+ }
28
+ RandomShowcaseBuyResult.prototype.getItem = function () {
29
+ return this.item;
30
+ };
31
+ RandomShowcaseBuyResult.prototype.setItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ RandomShowcaseBuyResult.prototype.withItem = function (item) {
36
+ this.item = item;
37
+ return this;
38
+ };
39
+ RandomShowcaseBuyResult.prototype.getTransactionId = function () {
40
+ return this.transactionId;
41
+ };
42
+ RandomShowcaseBuyResult.prototype.setTransactionId = function (transactionId) {
43
+ this.transactionId = transactionId;
44
+ return this;
45
+ };
46
+ RandomShowcaseBuyResult.prototype.withTransactionId = function (transactionId) {
47
+ this.transactionId = transactionId;
48
+ return this;
49
+ };
50
+ RandomShowcaseBuyResult.prototype.getStampSheet = function () {
51
+ return this.stampSheet;
52
+ };
53
+ RandomShowcaseBuyResult.prototype.setStampSheet = function (stampSheet) {
54
+ this.stampSheet = stampSheet;
55
+ return this;
56
+ };
57
+ RandomShowcaseBuyResult.prototype.withStampSheet = function (stampSheet) {
58
+ this.stampSheet = stampSheet;
59
+ return this;
60
+ };
61
+ RandomShowcaseBuyResult.prototype.getStampSheetEncryptionKeyId = function () {
62
+ return this.stampSheetEncryptionKeyId;
63
+ };
64
+ RandomShowcaseBuyResult.prototype.setStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
65
+ this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
66
+ return this;
67
+ };
68
+ RandomShowcaseBuyResult.prototype.withStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
69
+ this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
70
+ return this;
71
+ };
72
+ RandomShowcaseBuyResult.prototype.getAutoRunStampSheet = function () {
73
+ return this.autoRunStampSheet;
74
+ };
75
+ RandomShowcaseBuyResult.prototype.setAutoRunStampSheet = function (autoRunStampSheet) {
76
+ this.autoRunStampSheet = autoRunStampSheet;
77
+ return this;
78
+ };
79
+ RandomShowcaseBuyResult.prototype.withAutoRunStampSheet = function (autoRunStampSheet) {
80
+ this.autoRunStampSheet = autoRunStampSheet;
81
+ return this;
82
+ };
83
+ RandomShowcaseBuyResult.fromDict = function (data) {
84
+ return new RandomShowcaseBuyResult()
85
+ .withItem(Gs2Showcase.RandomDisplayItem.fromDict(data["item"]))
86
+ .withTransactionId(data["transactionId"])
87
+ .withStampSheet(data["stampSheet"])
88
+ .withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
89
+ .withAutoRunStampSheet(data["autoRunStampSheet"]);
90
+ };
91
+ RandomShowcaseBuyResult.prototype.toDict = function () {
92
+ var _a;
93
+ return {
94
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
95
+ "transactionId": this.getTransactionId(),
96
+ "stampSheet": this.getStampSheet(),
97
+ "stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
98
+ "autoRunStampSheet": this.getAutoRunStampSheet(),
99
+ };
100
+ };
101
+ return RandomShowcaseBuyResult;
102
+ }());
103
+ exports.default = RandomShowcaseBuyResult;
104
+ //# sourceMappingURL=RandomShowcaseBuyResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RandomShowcaseBuyResult.js","sourceRoot":"","sources":["RandomShowcaseBuyResult.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,116 @@
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 IResult from '../../core/interface/IResult';
18
+
19
+ import * as Gs2Showcase from '../model'
20
+
21
+ export default class RandomShowcaseBuyResult implements IResult {
22
+ private item: Gs2Showcase.RandomDisplayItem|null = null;
23
+ private transactionId: string|null = null;
24
+ private stampSheet: string|null = null;
25
+ private stampSheetEncryptionKeyId: string|null = null;
26
+ private autoRunStampSheet: boolean|null = null;
27
+
28
+ public getItem(): Gs2Showcase.RandomDisplayItem|null {
29
+ return this.item;
30
+ }
31
+
32
+ public setItem(item: Gs2Showcase.RandomDisplayItem|null) {
33
+ this.item = item;
34
+ return this;
35
+ }
36
+
37
+ public withItem(item: Gs2Showcase.RandomDisplayItem|null): this {
38
+ this.item = item;
39
+ return this;
40
+ }
41
+
42
+ public getTransactionId(): string|null {
43
+ return this.transactionId;
44
+ }
45
+
46
+ public setTransactionId(transactionId: string|null) {
47
+ this.transactionId = transactionId;
48
+ return this;
49
+ }
50
+
51
+ public withTransactionId(transactionId: string|null): this {
52
+ this.transactionId = transactionId;
53
+ return this;
54
+ }
55
+
56
+ public getStampSheet(): string|null {
57
+ return this.stampSheet;
58
+ }
59
+
60
+ public setStampSheet(stampSheet: string|null) {
61
+ this.stampSheet = stampSheet;
62
+ return this;
63
+ }
64
+
65
+ public withStampSheet(stampSheet: string|null): this {
66
+ this.stampSheet = stampSheet;
67
+ return this;
68
+ }
69
+
70
+ public getStampSheetEncryptionKeyId(): string|null {
71
+ return this.stampSheetEncryptionKeyId;
72
+ }
73
+
74
+ public setStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null) {
75
+ this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
76
+ return this;
77
+ }
78
+
79
+ public withStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null): this {
80
+ this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
81
+ return this;
82
+ }
83
+
84
+ public getAutoRunStampSheet(): boolean|null {
85
+ return this.autoRunStampSheet;
86
+ }
87
+
88
+ public setAutoRunStampSheet(autoRunStampSheet: boolean|null) {
89
+ this.autoRunStampSheet = autoRunStampSheet;
90
+ return this;
91
+ }
92
+
93
+ public withAutoRunStampSheet(autoRunStampSheet: boolean|null): this {
94
+ this.autoRunStampSheet = autoRunStampSheet;
95
+ return this;
96
+ }
97
+
98
+ public static fromDict(data: {[key: string]: any}): RandomShowcaseBuyResult {
99
+ return new RandomShowcaseBuyResult()
100
+ .withItem(Gs2Showcase.RandomDisplayItem.fromDict(data["item"]))
101
+ .withTransactionId(data["transactionId"])
102
+ .withStampSheet(data["stampSheet"])
103
+ .withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
104
+ .withAutoRunStampSheet(data["autoRunStampSheet"]);
105
+ }
106
+
107
+ public toDict(): {[key: string]: any} {
108
+ return {
109
+ "item": this.getItem()?.toDict(),
110
+ "transactionId": this.getTransactionId(),
111
+ "stampSheet": this.getStampSheet(),
112
+ "stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
113
+ "autoRunStampSheet": this.getAutoRunStampSheet(),
114
+ };
115
+ }
116
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Showcase from '../model';
3
+ export default class UpdateRandomShowcaseMasterResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Showcase.RandomShowcaseMaster | null;
6
+ setItem(item: Gs2Showcase.RandomShowcaseMaster | null): this;
7
+ withItem(item: Gs2Showcase.RandomShowcaseMaster | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): UpdateRandomShowcaseMasterResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }