gs2 1.4.56 → 1.4.57

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 (129) hide show
  1. package/money2/model/AppleAppStoreSubscriptionContent.d.ts +13 -0
  2. package/money2/model/AppleAppStoreSubscriptionContent.js +48 -0
  3. package/money2/model/AppleAppStoreSubscriptionContent.js.map +1 -0
  4. package/money2/model/AppleAppStoreSubscriptionContent.ts +48 -0
  5. package/money2/model/GooglePlaySubscriptionContent.d.ts +13 -0
  6. package/money2/model/GooglePlaySubscriptionContent.js +48 -0
  7. package/money2/model/GooglePlaySubscriptionContent.js.map +1 -0
  8. package/money2/model/GooglePlaySubscriptionContent.ts +48 -0
  9. package/money2/model/StoreSubscriptionContentModel.d.ts +44 -0
  10. package/money2/model/StoreSubscriptionContentModel.js +202 -0
  11. package/money2/model/StoreSubscriptionContentModel.js.map +1 -0
  12. package/money2/model/StoreSubscriptionContentModel.ts +216 -0
  13. package/money2/model/StoreSubscriptionContentModelMaster.d.ts +60 -0
  14. package/money2/model/StoreSubscriptionContentModelMaster.js +258 -0
  15. package/money2/model/StoreSubscriptionContentModelMaster.js.map +1 -0
  16. package/money2/model/StoreSubscriptionContentModelMaster.ts +272 -0
  17. package/money2/model/SubscribeTransaction.d.ts +6 -5
  18. package/money2/model/SubscribeTransaction.js +36 -16
  19. package/money2/model/SubscribeTransaction.js.map +1 -1
  20. package/money2/model/SubscribeTransaction.ts +38 -15
  21. package/money2/model/SubscriptionStatus.d.ts +32 -0
  22. package/money2/model/SubscriptionStatus.js +119 -0
  23. package/money2/model/SubscriptionStatus.js.map +1 -0
  24. package/money2/model/SubscriptionStatus.ts +123 -0
  25. package/money2/model/index.d.ts +6 -1
  26. package/money2/model/index.js +11 -1
  27. package/money2/model/index.js.map +1 -1
  28. package/money2/model/index.ts +10 -0
  29. package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.d.ts +50 -0
  30. package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js +170 -0
  31. package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js.map +1 -0
  32. package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.ts +174 -0
  33. package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.d.ts +25 -0
  34. package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.js +83 -0
  35. package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.js.map +1 -0
  36. package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.ts +90 -0
  37. package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.d.ts +29 -0
  38. package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.js +97 -0
  39. package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.js.map +1 -0
  40. package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.ts +104 -0
  41. package/money2/request/DescribeStoreSubscriptionContentModelsRequest.d.ts +21 -0
  42. package/money2/request/DescribeStoreSubscriptionContentModelsRequest.js +69 -0
  43. package/money2/request/DescribeStoreSubscriptionContentModelsRequest.js.map +1 -0
  44. package/money2/request/DescribeStoreSubscriptionContentModelsRequest.ts +76 -0
  45. package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.d.ts +29 -0
  46. package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.js +97 -0
  47. package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.js.map +1 -0
  48. package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.ts +104 -0
  49. package/money2/request/DescribeSubscriptionStatusesRequest.d.ts +25 -0
  50. package/money2/request/DescribeSubscriptionStatusesRequest.js +83 -0
  51. package/money2/request/DescribeSubscriptionStatusesRequest.js.map +1 -0
  52. package/money2/request/DescribeSubscriptionStatusesRequest.ts +90 -0
  53. package/money2/request/GetStoreSubscriptionContentModelMasterRequest.d.ts +25 -0
  54. package/money2/request/GetStoreSubscriptionContentModelMasterRequest.js +83 -0
  55. package/money2/request/GetStoreSubscriptionContentModelMasterRequest.js.map +1 -0
  56. package/money2/request/GetStoreSubscriptionContentModelMasterRequest.ts +90 -0
  57. package/money2/request/GetStoreSubscriptionContentModelRequest.d.ts +25 -0
  58. package/money2/request/GetStoreSubscriptionContentModelRequest.js +83 -0
  59. package/money2/request/GetStoreSubscriptionContentModelRequest.js.map +1 -0
  60. package/money2/request/GetStoreSubscriptionContentModelRequest.ts +90 -0
  61. package/money2/request/GetSubscriptionStatusByUserIdRequest.d.ts +33 -0
  62. package/money2/request/GetSubscriptionStatusByUserIdRequest.js +111 -0
  63. package/money2/request/GetSubscriptionStatusByUserIdRequest.js.map +1 -0
  64. package/money2/request/GetSubscriptionStatusByUserIdRequest.ts +118 -0
  65. package/money2/request/GetSubscriptionStatusRequest.d.ts +29 -0
  66. package/money2/request/GetSubscriptionStatusRequest.js +97 -0
  67. package/money2/request/GetSubscriptionStatusRequest.js.map +1 -0
  68. package/money2/request/GetSubscriptionStatusRequest.ts +104 -0
  69. package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.d.ts +50 -0
  70. package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js +170 -0
  71. package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js.map +1 -0
  72. package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.ts +174 -0
  73. package/money2/request/index.d.ts +12 -1
  74. package/money2/request/index.js +24 -1
  75. package/money2/request/index.js.map +1 -1
  76. package/money2/request/index.ts +22 -0
  77. package/money2/rest.d.ts +11 -0
  78. package/money2/rest.js +285 -0
  79. package/money2/rest.js.map +1 -1
  80. package/money2/rest.ts +329 -0
  81. package/money2/result/CreateStoreSubscriptionContentModelMasterResult.d.ts +14 -0
  82. package/money2/result/CreateStoreSubscriptionContentModelMasterResult.js +48 -0
  83. package/money2/result/CreateStoreSubscriptionContentModelMasterResult.js.map +1 -0
  84. package/money2/result/CreateStoreSubscriptionContentModelMasterResult.ts +47 -0
  85. package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.d.ts +14 -0
  86. package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.js +48 -0
  87. package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.js.map +1 -0
  88. package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.ts +47 -0
  89. package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.d.ts +18 -0
  90. package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.js +67 -0
  91. package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.js.map +1 -0
  92. package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.ts +72 -0
  93. package/money2/result/DescribeStoreSubscriptionContentModelsResult.d.ts +14 -0
  94. package/money2/result/DescribeStoreSubscriptionContentModelsResult.js +53 -0
  95. package/money2/result/DescribeStoreSubscriptionContentModelsResult.js.map +1 -0
  96. package/money2/result/DescribeStoreSubscriptionContentModelsResult.ts +55 -0
  97. package/money2/result/DescribeSubscriptionStatusesByUserIdResult.d.ts +14 -0
  98. package/money2/result/DescribeSubscriptionStatusesByUserIdResult.js +53 -0
  99. package/money2/result/DescribeSubscriptionStatusesByUserIdResult.js.map +1 -0
  100. package/money2/result/DescribeSubscriptionStatusesByUserIdResult.ts +55 -0
  101. package/money2/result/DescribeSubscriptionStatusesResult.d.ts +14 -0
  102. package/money2/result/DescribeSubscriptionStatusesResult.js +53 -0
  103. package/money2/result/DescribeSubscriptionStatusesResult.js.map +1 -0
  104. package/money2/result/DescribeSubscriptionStatusesResult.ts +55 -0
  105. package/money2/result/GetStoreSubscriptionContentModelMasterResult.d.ts +14 -0
  106. package/money2/result/GetStoreSubscriptionContentModelMasterResult.js +48 -0
  107. package/money2/result/GetStoreSubscriptionContentModelMasterResult.js.map +1 -0
  108. package/money2/result/GetStoreSubscriptionContentModelMasterResult.ts +47 -0
  109. package/money2/result/GetStoreSubscriptionContentModelResult.d.ts +14 -0
  110. package/money2/result/GetStoreSubscriptionContentModelResult.js +48 -0
  111. package/money2/result/GetStoreSubscriptionContentModelResult.js.map +1 -0
  112. package/money2/result/GetStoreSubscriptionContentModelResult.ts +47 -0
  113. package/money2/result/GetSubscriptionStatusByUserIdResult.d.ts +14 -0
  114. package/money2/result/GetSubscriptionStatusByUserIdResult.js +48 -0
  115. package/money2/result/GetSubscriptionStatusByUserIdResult.js.map +1 -0
  116. package/money2/result/GetSubscriptionStatusByUserIdResult.ts +47 -0
  117. package/money2/result/GetSubscriptionStatusResult.d.ts +14 -0
  118. package/money2/result/GetSubscriptionStatusResult.js +48 -0
  119. package/money2/result/GetSubscriptionStatusResult.js.map +1 -0
  120. package/money2/result/GetSubscriptionStatusResult.ts +47 -0
  121. package/money2/result/UpdateStoreSubscriptionContentModelMasterResult.d.ts +14 -0
  122. package/money2/result/UpdateStoreSubscriptionContentModelMasterResult.js +48 -0
  123. package/money2/result/UpdateStoreSubscriptionContentModelMasterResult.js.map +1 -0
  124. package/money2/result/UpdateStoreSubscriptionContentModelMasterResult.ts +47 -0
  125. package/money2/result/index.d.ts +12 -1
  126. package/money2/result/index.js +24 -1
  127. package/money2/result/index.js.map +1 -1
  128. package/money2/result/index.ts +22 -0
  129. package/package.json +1 -1
@@ -0,0 +1,53 @@
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 Gs2Money2 = tslib_1.__importStar(require("../model"));
20
+ var DescribeSubscriptionStatusesResult = /** @class */ (function () {
21
+ function DescribeSubscriptionStatusesResult() {
22
+ this.items = null;
23
+ }
24
+ DescribeSubscriptionStatusesResult.prototype.getItems = function () {
25
+ return this.items;
26
+ };
27
+ DescribeSubscriptionStatusesResult.prototype.setItems = function (items) {
28
+ this.items = items;
29
+ return this;
30
+ };
31
+ DescribeSubscriptionStatusesResult.prototype.withItems = function (items) {
32
+ this.items = items;
33
+ return this;
34
+ };
35
+ DescribeSubscriptionStatusesResult.fromDict = function (data) {
36
+ return new DescribeSubscriptionStatusesResult()
37
+ .withItems(data.items ?
38
+ data.items.map(function (item) {
39
+ return Gs2Money2.SubscriptionStatus.fromDict(item);
40
+ }) : null);
41
+ };
42
+ DescribeSubscriptionStatusesResult.prototype.toDict = function () {
43
+ return {
44
+ "items": this.getItems() ?
45
+ this.getItems().map(function (item) {
46
+ return item.toDict();
47
+ }) : null,
48
+ };
49
+ };
50
+ return DescribeSubscriptionStatusesResult;
51
+ }());
52
+ exports.default = DescribeSubscriptionStatusesResult;
53
+ //# sourceMappingURL=DescribeSubscriptionStatusesResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeSubscriptionStatusesResult.js","sourceRoot":"","sources":["DescribeSubscriptionStatusesResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,UAAK,GAAwC,IAAI,CAAC;IAkC9D,CAAC;IAhCU,qDAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,qDAAQ,GAAf,UAAgB,KAA0C;QACtD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sDAAS,GAAhB,UAAiB,KAA0C;QACvD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,2CAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,kCAAkC,EAAE;aAC1C,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,SAAS,CAAC,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACvD,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC;IAEM,mDAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAAkC;oBACpD,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;SACX,CAAC;IACN,CAAC;IACL,yCAAC;AAAD,CAAC,AAnCD,IAmCC"}
@@ -0,0 +1,55 @@
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
+ import * as Gs2Money2 from '../model'
19
+
20
+ export default class DescribeSubscriptionStatusesResult implements IResult {
21
+ private items: Gs2Money2.SubscriptionStatus[]|null = null;
22
+
23
+ public getItems(): Gs2Money2.SubscriptionStatus[]|null {
24
+ return this.items;
25
+ }
26
+
27
+ public setItems(items: Gs2Money2.SubscriptionStatus[]|null) {
28
+ this.items = items;
29
+ return this;
30
+ }
31
+
32
+ public withItems(items: Gs2Money2.SubscriptionStatus[]|null): this {
33
+ this.items = items;
34
+ return this;
35
+ }
36
+
37
+ public static fromDict(data: {[key: string]: any}): DescribeSubscriptionStatusesResult {
38
+ return new DescribeSubscriptionStatusesResult()
39
+ .withItems(data.items ?
40
+ data.items.map((item: {[key: string]: any}) => {
41
+ return Gs2Money2.SubscriptionStatus.fromDict(item);
42
+ }
43
+ ) : null);
44
+ }
45
+
46
+ public toDict(): {[key: string]: any} {
47
+ return {
48
+ "items": this.getItems() ?
49
+ this.getItems()!.map((item: Gs2Money2.SubscriptionStatus) => {
50
+ return item.toDict();
51
+ }
52
+ ) : null,
53
+ };
54
+ }
55
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Money2 from '../model';
3
+ export default class GetStoreSubscriptionContentModelMasterResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Money2.StoreSubscriptionContentModelMaster | null;
6
+ setItem(item: Gs2Money2.StoreSubscriptionContentModelMaster | null): this;
7
+ withItem(item: Gs2Money2.StoreSubscriptionContentModelMaster | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetStoreSubscriptionContentModelMasterResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -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 Gs2Money2 = tslib_1.__importStar(require("../model"));
20
+ var GetStoreSubscriptionContentModelMasterResult = /** @class */ (function () {
21
+ function GetStoreSubscriptionContentModelMasterResult() {
22
+ this.item = null;
23
+ }
24
+ GetStoreSubscriptionContentModelMasterResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetStoreSubscriptionContentModelMasterResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetStoreSubscriptionContentModelMasterResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetStoreSubscriptionContentModelMasterResult.fromDict = function (data) {
36
+ return new GetStoreSubscriptionContentModelMasterResult()
37
+ .withItem(Gs2Money2.StoreSubscriptionContentModelMaster.fromDict(data["item"]));
38
+ };
39
+ GetStoreSubscriptionContentModelMasterResult.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 GetStoreSubscriptionContentModelMasterResult;
46
+ }());
47
+ exports.default = GetStoreSubscriptionContentModelMasterResult;
48
+ //# sourceMappingURL=GetStoreSubscriptionContentModelMasterResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetStoreSubscriptionContentModelMasterResult.js","sourceRoot":"","sources":["GetStoreSubscriptionContentModelMasterResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,SAAI,GAAuD,IAAI,CAAC;IA0B5E,CAAC;IAxBU,8DAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,8DAAO,GAAd,UAAe,IAAwD;QACnE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+DAAQ,GAAf,UAAgB,IAAwD;QACpE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,qDAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,4CAA4C,EAAE;aACpD,QAAQ,CAAC,SAAS,CAAC,mCAAmC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACxF,CAAC;IAEM,6DAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,mDAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,47 @@
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
+ import * as Gs2Money2 from '../model'
19
+
20
+ export default class GetStoreSubscriptionContentModelMasterResult implements IResult {
21
+ private item: Gs2Money2.StoreSubscriptionContentModelMaster|null = null;
22
+
23
+ public getItem(): Gs2Money2.StoreSubscriptionContentModelMaster|null {
24
+ return this.item;
25
+ }
26
+
27
+ public setItem(item: Gs2Money2.StoreSubscriptionContentModelMaster|null) {
28
+ this.item = item;
29
+ return this;
30
+ }
31
+
32
+ public withItem(item: Gs2Money2.StoreSubscriptionContentModelMaster|null): this {
33
+ this.item = item;
34
+ return this;
35
+ }
36
+
37
+ public static fromDict(data: {[key: string]: any}): GetStoreSubscriptionContentModelMasterResult {
38
+ return new GetStoreSubscriptionContentModelMasterResult()
39
+ .withItem(Gs2Money2.StoreSubscriptionContentModelMaster.fromDict(data["item"]));
40
+ }
41
+
42
+ public toDict(): {[key: string]: any} {
43
+ return {
44
+ "item": this.getItem()?.toDict(),
45
+ };
46
+ }
47
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Money2 from '../model';
3
+ export default class GetStoreSubscriptionContentModelResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Money2.StoreSubscriptionContentModel | null;
6
+ setItem(item: Gs2Money2.StoreSubscriptionContentModel | null): this;
7
+ withItem(item: Gs2Money2.StoreSubscriptionContentModel | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetStoreSubscriptionContentModelResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -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 Gs2Money2 = tslib_1.__importStar(require("../model"));
20
+ var GetStoreSubscriptionContentModelResult = /** @class */ (function () {
21
+ function GetStoreSubscriptionContentModelResult() {
22
+ this.item = null;
23
+ }
24
+ GetStoreSubscriptionContentModelResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetStoreSubscriptionContentModelResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetStoreSubscriptionContentModelResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetStoreSubscriptionContentModelResult.fromDict = function (data) {
36
+ return new GetStoreSubscriptionContentModelResult()
37
+ .withItem(Gs2Money2.StoreSubscriptionContentModel.fromDict(data["item"]));
38
+ };
39
+ GetStoreSubscriptionContentModelResult.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 GetStoreSubscriptionContentModelResult;
46
+ }());
47
+ exports.default = GetStoreSubscriptionContentModelResult;
48
+ //# sourceMappingURL=GetStoreSubscriptionContentModelResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetStoreSubscriptionContentModelResult.js","sourceRoot":"","sources":["GetStoreSubscriptionContentModelResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,SAAI,GAAiD,IAAI,CAAC;IA0BtE,CAAC;IAxBU,wDAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,wDAAO,GAAd,UAAe,IAAkD;QAC7D,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yDAAQ,GAAf,UAAgB,IAAkD;QAC9D,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,+CAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,sCAAsC,EAAE;aAC9C,QAAQ,CAAC,SAAS,CAAC,6BAA6B,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAClF,CAAC;IAEM,uDAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,6CAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,47 @@
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
+ import * as Gs2Money2 from '../model'
19
+
20
+ export default class GetStoreSubscriptionContentModelResult implements IResult {
21
+ private item: Gs2Money2.StoreSubscriptionContentModel|null = null;
22
+
23
+ public getItem(): Gs2Money2.StoreSubscriptionContentModel|null {
24
+ return this.item;
25
+ }
26
+
27
+ public setItem(item: Gs2Money2.StoreSubscriptionContentModel|null) {
28
+ this.item = item;
29
+ return this;
30
+ }
31
+
32
+ public withItem(item: Gs2Money2.StoreSubscriptionContentModel|null): this {
33
+ this.item = item;
34
+ return this;
35
+ }
36
+
37
+ public static fromDict(data: {[key: string]: any}): GetStoreSubscriptionContentModelResult {
38
+ return new GetStoreSubscriptionContentModelResult()
39
+ .withItem(Gs2Money2.StoreSubscriptionContentModel.fromDict(data["item"]));
40
+ }
41
+
42
+ public toDict(): {[key: string]: any} {
43
+ return {
44
+ "item": this.getItem()?.toDict(),
45
+ };
46
+ }
47
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Money2 from '../model';
3
+ export default class GetSubscriptionStatusByUserIdResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Money2.SubscriptionStatus | null;
6
+ setItem(item: Gs2Money2.SubscriptionStatus | null): this;
7
+ withItem(item: Gs2Money2.SubscriptionStatus | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetSubscriptionStatusByUserIdResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -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 Gs2Money2 = tslib_1.__importStar(require("../model"));
20
+ var GetSubscriptionStatusByUserIdResult = /** @class */ (function () {
21
+ function GetSubscriptionStatusByUserIdResult() {
22
+ this.item = null;
23
+ }
24
+ GetSubscriptionStatusByUserIdResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetSubscriptionStatusByUserIdResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetSubscriptionStatusByUserIdResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetSubscriptionStatusByUserIdResult.fromDict = function (data) {
36
+ return new GetSubscriptionStatusByUserIdResult()
37
+ .withItem(Gs2Money2.SubscriptionStatus.fromDict(data["item"]));
38
+ };
39
+ GetSubscriptionStatusByUserIdResult.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 GetSubscriptionStatusByUserIdResult;
46
+ }());
47
+ exports.default = GetSubscriptionStatusByUserIdResult;
48
+ //# sourceMappingURL=GetSubscriptionStatusByUserIdResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetSubscriptionStatusByUserIdResult.js","sourceRoot":"","sources":["GetSubscriptionStatusByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,SAAI,GAAsC,IAAI,CAAC;IA0B3D,CAAC;IAxBU,qDAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,qDAAO,GAAd,UAAe,IAAuC;QAClD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sDAAQ,GAAf,UAAgB,IAAuC;QACnD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,4CAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,mCAAmC,EAAE;aAC3C,QAAQ,CAAC,SAAS,CAAC,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACvE,CAAC;IAEM,oDAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,0CAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,47 @@
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
+ import * as Gs2Money2 from '../model'
19
+
20
+ export default class GetSubscriptionStatusByUserIdResult implements IResult {
21
+ private item: Gs2Money2.SubscriptionStatus|null = null;
22
+
23
+ public getItem(): Gs2Money2.SubscriptionStatus|null {
24
+ return this.item;
25
+ }
26
+
27
+ public setItem(item: Gs2Money2.SubscriptionStatus|null) {
28
+ this.item = item;
29
+ return this;
30
+ }
31
+
32
+ public withItem(item: Gs2Money2.SubscriptionStatus|null): this {
33
+ this.item = item;
34
+ return this;
35
+ }
36
+
37
+ public static fromDict(data: {[key: string]: any}): GetSubscriptionStatusByUserIdResult {
38
+ return new GetSubscriptionStatusByUserIdResult()
39
+ .withItem(Gs2Money2.SubscriptionStatus.fromDict(data["item"]));
40
+ }
41
+
42
+ public toDict(): {[key: string]: any} {
43
+ return {
44
+ "item": this.getItem()?.toDict(),
45
+ };
46
+ }
47
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Money2 from '../model';
3
+ export default class GetSubscriptionStatusResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Money2.SubscriptionStatus | null;
6
+ setItem(item: Gs2Money2.SubscriptionStatus | null): this;
7
+ withItem(item: Gs2Money2.SubscriptionStatus | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetSubscriptionStatusResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -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 Gs2Money2 = tslib_1.__importStar(require("../model"));
20
+ var GetSubscriptionStatusResult = /** @class */ (function () {
21
+ function GetSubscriptionStatusResult() {
22
+ this.item = null;
23
+ }
24
+ GetSubscriptionStatusResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetSubscriptionStatusResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetSubscriptionStatusResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetSubscriptionStatusResult.fromDict = function (data) {
36
+ return new GetSubscriptionStatusResult()
37
+ .withItem(Gs2Money2.SubscriptionStatus.fromDict(data["item"]));
38
+ };
39
+ GetSubscriptionStatusResult.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 GetSubscriptionStatusResult;
46
+ }());
47
+ exports.default = GetSubscriptionStatusResult;
48
+ //# sourceMappingURL=GetSubscriptionStatusResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetSubscriptionStatusResult.js","sourceRoot":"","sources":["GetSubscriptionStatusResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,SAAI,GAAsC,IAAI,CAAC;IA0B3D,CAAC;IAxBU,6CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,6CAAO,GAAd,UAAe,IAAuC;QAClD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8CAAQ,GAAf,UAAgB,IAAuC;QACnD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,oCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,2BAA2B,EAAE;aACnC,QAAQ,CAAC,SAAS,CAAC,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACvE,CAAC;IAEM,4CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,kCAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,47 @@
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
+ import * as Gs2Money2 from '../model'
19
+
20
+ export default class GetSubscriptionStatusResult implements IResult {
21
+ private item: Gs2Money2.SubscriptionStatus|null = null;
22
+
23
+ public getItem(): Gs2Money2.SubscriptionStatus|null {
24
+ return this.item;
25
+ }
26
+
27
+ public setItem(item: Gs2Money2.SubscriptionStatus|null) {
28
+ this.item = item;
29
+ return this;
30
+ }
31
+
32
+ public withItem(item: Gs2Money2.SubscriptionStatus|null): this {
33
+ this.item = item;
34
+ return this;
35
+ }
36
+
37
+ public static fromDict(data: {[key: string]: any}): GetSubscriptionStatusResult {
38
+ return new GetSubscriptionStatusResult()
39
+ .withItem(Gs2Money2.SubscriptionStatus.fromDict(data["item"]));
40
+ }
41
+
42
+ public toDict(): {[key: string]: any} {
43
+ return {
44
+ "item": this.getItem()?.toDict(),
45
+ };
46
+ }
47
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Money2 from '../model';
3
+ export default class UpdateStoreSubscriptionContentModelMasterResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Money2.StoreSubscriptionContentModelMaster | null;
6
+ setItem(item: Gs2Money2.StoreSubscriptionContentModelMaster | null): this;
7
+ withItem(item: Gs2Money2.StoreSubscriptionContentModelMaster | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): UpdateStoreSubscriptionContentModelMasterResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -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 Gs2Money2 = tslib_1.__importStar(require("../model"));
20
+ var UpdateStoreSubscriptionContentModelMasterResult = /** @class */ (function () {
21
+ function UpdateStoreSubscriptionContentModelMasterResult() {
22
+ this.item = null;
23
+ }
24
+ UpdateStoreSubscriptionContentModelMasterResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ UpdateStoreSubscriptionContentModelMasterResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ UpdateStoreSubscriptionContentModelMasterResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ UpdateStoreSubscriptionContentModelMasterResult.fromDict = function (data) {
36
+ return new UpdateStoreSubscriptionContentModelMasterResult()
37
+ .withItem(Gs2Money2.StoreSubscriptionContentModelMaster.fromDict(data["item"]));
38
+ };
39
+ UpdateStoreSubscriptionContentModelMasterResult.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 UpdateStoreSubscriptionContentModelMasterResult;
46
+ }());
47
+ exports.default = UpdateStoreSubscriptionContentModelMasterResult;
48
+ //# sourceMappingURL=UpdateStoreSubscriptionContentModelMasterResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateStoreSubscriptionContentModelMasterResult.js","sourceRoot":"","sources":["UpdateStoreSubscriptionContentModelMasterResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,SAAI,GAAuD,IAAI,CAAC;IA0B5E,CAAC;IAxBU,iEAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,iEAAO,GAAd,UAAe,IAAwD;QACnE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kEAAQ,GAAf,UAAgB,IAAwD;QACpE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,wDAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,+CAA+C,EAAE;aACvD,QAAQ,CAAC,SAAS,CAAC,mCAAmC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACxF,CAAC;IAEM,gEAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,sDAAC;AAAD,CAAC,AA3BD,IA2BC"}