gs2 1.3.257 → 1.3.258

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 (65) hide show
  1. package/money2/model/DailyTransactionHistory.d.ts +54 -0
  2. package/money2/model/DailyTransactionHistory.js +293 -0
  3. package/money2/model/DailyTransactionHistory.js.map +1 -0
  4. package/money2/model/DailyTransactionHistory.ts +315 -0
  5. package/money2/model/UnusedBalance.d.ts +35 -0
  6. package/money2/model/UnusedBalance.js +171 -0
  7. package/money2/model/UnusedBalance.js.map +1 -0
  8. package/money2/model/UnusedBalance.ts +184 -0
  9. package/money2/model/index.d.ts +3 -1
  10. package/money2/model/index.js +5 -1
  11. package/money2/model/index.js.map +1 -1
  12. package/money2/model/index.ts +4 -0
  13. package/money2/request/DescribeDailyTransactionHistoriesByCurrencyRequest.d.ts +41 -0
  14. package/money2/request/DescribeDailyTransactionHistoriesByCurrencyRequest.js +139 -0
  15. package/money2/request/DescribeDailyTransactionHistoriesByCurrencyRequest.js.map +1 -0
  16. package/money2/request/DescribeDailyTransactionHistoriesByCurrencyRequest.ts +146 -0
  17. package/money2/request/DescribeDailyTransactionHistoriesRequest.d.ts +41 -0
  18. package/money2/request/DescribeDailyTransactionHistoriesRequest.js +139 -0
  19. package/money2/request/DescribeDailyTransactionHistoriesRequest.js.map +1 -0
  20. package/money2/request/DescribeDailyTransactionHistoriesRequest.ts +146 -0
  21. package/money2/request/DescribeUnusedBalancesRequest.d.ts +29 -0
  22. package/money2/request/DescribeUnusedBalancesRequest.js +97 -0
  23. package/money2/request/DescribeUnusedBalancesRequest.js.map +1 -0
  24. package/money2/request/DescribeUnusedBalancesRequest.ts +104 -0
  25. package/money2/request/GetDailyTransactionHistoryRequest.d.ts +37 -0
  26. package/money2/request/GetDailyTransactionHistoryRequest.js +125 -0
  27. package/money2/request/GetDailyTransactionHistoryRequest.js.map +1 -0
  28. package/money2/request/GetDailyTransactionHistoryRequest.ts +132 -0
  29. package/money2/request/GetUnusedBalanceRequest.d.ts +25 -0
  30. package/money2/request/GetUnusedBalanceRequest.js +83 -0
  31. package/money2/request/GetUnusedBalanceRequest.js.map +1 -0
  32. package/money2/request/GetUnusedBalanceRequest.ts +90 -0
  33. package/money2/request/index.d.ts +6 -1
  34. package/money2/request/index.js +11 -1
  35. package/money2/request/index.js.map +1 -1
  36. package/money2/request/index.ts +10 -0
  37. package/money2/rest.d.ts +5 -0
  38. package/money2/rest.js +127 -0
  39. package/money2/rest.js.map +1 -1
  40. package/money2/rest.ts +147 -0
  41. package/money2/result/DescribeDailyTransactionHistoriesByCurrencyResult.d.ts +18 -0
  42. package/money2/result/DescribeDailyTransactionHistoriesByCurrencyResult.js +67 -0
  43. package/money2/result/DescribeDailyTransactionHistoriesByCurrencyResult.js.map +1 -0
  44. package/money2/result/DescribeDailyTransactionHistoriesByCurrencyResult.ts +72 -0
  45. package/money2/result/DescribeDailyTransactionHistoriesResult.d.ts +18 -0
  46. package/money2/result/DescribeDailyTransactionHistoriesResult.js +67 -0
  47. package/money2/result/DescribeDailyTransactionHistoriesResult.js.map +1 -0
  48. package/money2/result/DescribeDailyTransactionHistoriesResult.ts +72 -0
  49. package/money2/result/DescribeUnusedBalancesResult.d.ts +18 -0
  50. package/money2/result/DescribeUnusedBalancesResult.js +67 -0
  51. package/money2/result/DescribeUnusedBalancesResult.js.map +1 -0
  52. package/money2/result/DescribeUnusedBalancesResult.ts +72 -0
  53. package/money2/result/GetDailyTransactionHistoryResult.d.ts +14 -0
  54. package/money2/result/GetDailyTransactionHistoryResult.js +48 -0
  55. package/money2/result/GetDailyTransactionHistoryResult.js.map +1 -0
  56. package/money2/result/GetDailyTransactionHistoryResult.ts +47 -0
  57. package/money2/result/GetUnusedBalanceResult.d.ts +14 -0
  58. package/money2/result/GetUnusedBalanceResult.js +48 -0
  59. package/money2/result/GetUnusedBalanceResult.js.map +1 -0
  60. package/money2/result/GetUnusedBalanceResult.ts +47 -0
  61. package/money2/result/index.d.ts +6 -1
  62. package/money2/result/index.js +11 -1
  63. package/money2/result/index.js.map +1 -1
  64. package/money2/result/index.ts +10 -0
  65. package/package.json +1 -1
@@ -0,0 +1,67 @@
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 DescribeDailyTransactionHistoriesByCurrencyResult = /** @class */ (function () {
21
+ function DescribeDailyTransactionHistoriesByCurrencyResult() {
22
+ this.items = null;
23
+ this.nextPageToken = null;
24
+ }
25
+ DescribeDailyTransactionHistoriesByCurrencyResult.prototype.getItems = function () {
26
+ return this.items;
27
+ };
28
+ DescribeDailyTransactionHistoriesByCurrencyResult.prototype.setItems = function (items) {
29
+ this.items = items;
30
+ return this;
31
+ };
32
+ DescribeDailyTransactionHistoriesByCurrencyResult.prototype.withItems = function (items) {
33
+ this.items = items;
34
+ return this;
35
+ };
36
+ DescribeDailyTransactionHistoriesByCurrencyResult.prototype.getNextPageToken = function () {
37
+ return this.nextPageToken;
38
+ };
39
+ DescribeDailyTransactionHistoriesByCurrencyResult.prototype.setNextPageToken = function (nextPageToken) {
40
+ this.nextPageToken = nextPageToken;
41
+ return this;
42
+ };
43
+ DescribeDailyTransactionHistoriesByCurrencyResult.prototype.withNextPageToken = function (nextPageToken) {
44
+ this.nextPageToken = nextPageToken;
45
+ return this;
46
+ };
47
+ DescribeDailyTransactionHistoriesByCurrencyResult.fromDict = function (data) {
48
+ return new DescribeDailyTransactionHistoriesByCurrencyResult()
49
+ .withItems(data.items ?
50
+ data.items.map(function (item) {
51
+ return Gs2Money2.DailyTransactionHistory.fromDict(item);
52
+ }) : [])
53
+ .withNextPageToken(data["nextPageToken"]);
54
+ };
55
+ DescribeDailyTransactionHistoriesByCurrencyResult.prototype.toDict = function () {
56
+ return {
57
+ "items": this.getItems() ?
58
+ this.getItems().map(function (item) {
59
+ return item.toDict();
60
+ }) : [],
61
+ "nextPageToken": this.getNextPageToken(),
62
+ };
63
+ };
64
+ return DescribeDailyTransactionHistoriesByCurrencyResult;
65
+ }());
66
+ exports.default = DescribeDailyTransactionHistoriesByCurrencyResult;
67
+ //# sourceMappingURL=DescribeDailyTransactionHistoriesByCurrencyResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeDailyTransactionHistoriesByCurrencyResult.js","sourceRoot":"","sources":["DescribeDailyTransactionHistoriesByCurrencyResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,UAAK,GAA6C,IAAI,CAAC;QACvD,kBAAa,GAAgB,IAAI,CAAC;IAkD9C,CAAC;IAhDU,oEAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,oEAAQ,GAAf,UAAgB,KAA+C;QAC3D,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qEAAS,GAAhB,UAAiB,KAA+C;QAC5D,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4EAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,4EAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6EAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,0DAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,iDAAiD,EAAE;aACzD,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,SAAS,CAAC,uBAAuB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC5D,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC;aACN,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,kEAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAAuC;oBACzD,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,wDAAC;AAAD,CAAC,AApDD,IAoDC"}
@@ -0,0 +1,72 @@
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 DescribeDailyTransactionHistoriesByCurrencyResult implements IResult {
21
+ private items: Gs2Money2.DailyTransactionHistory[]|null = null;
22
+ private nextPageToken: string|null = null;
23
+
24
+ public getItems(): Gs2Money2.DailyTransactionHistory[]|null {
25
+ return this.items;
26
+ }
27
+
28
+ public setItems(items: Gs2Money2.DailyTransactionHistory[]|null) {
29
+ this.items = items;
30
+ return this;
31
+ }
32
+
33
+ public withItems(items: Gs2Money2.DailyTransactionHistory[]|null): this {
34
+ this.items = items;
35
+ return this;
36
+ }
37
+
38
+ public getNextPageToken(): string|null {
39
+ return this.nextPageToken;
40
+ }
41
+
42
+ public setNextPageToken(nextPageToken: string|null) {
43
+ this.nextPageToken = nextPageToken;
44
+ return this;
45
+ }
46
+
47
+ public withNextPageToken(nextPageToken: string|null): this {
48
+ this.nextPageToken = nextPageToken;
49
+ return this;
50
+ }
51
+
52
+ public static fromDict(data: {[key: string]: any}): DescribeDailyTransactionHistoriesByCurrencyResult {
53
+ return new DescribeDailyTransactionHistoriesByCurrencyResult()
54
+ .withItems(data.items ?
55
+ data.items.map((item: {[key: string]: any}) => {
56
+ return Gs2Money2.DailyTransactionHistory.fromDict(item);
57
+ }
58
+ ) : [])
59
+ .withNextPageToken(data["nextPageToken"]);
60
+ }
61
+
62
+ public toDict(): {[key: string]: any} {
63
+ return {
64
+ "items": this.getItems() ?
65
+ this.getItems()!.map((item: Gs2Money2.DailyTransactionHistory) => {
66
+ return item.toDict();
67
+ }
68
+ ) : [],
69
+ "nextPageToken": this.getNextPageToken(),
70
+ };
71
+ }
72
+ }
@@ -0,0 +1,18 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Money2 from '../model';
3
+ export default class DescribeDailyTransactionHistoriesResult implements IResult {
4
+ private items;
5
+ private nextPageToken;
6
+ getItems(): Gs2Money2.DailyTransactionHistory[] | null;
7
+ setItems(items: Gs2Money2.DailyTransactionHistory[] | null): this;
8
+ withItems(items: Gs2Money2.DailyTransactionHistory[] | null): this;
9
+ getNextPageToken(): string | null;
10
+ setNextPageToken(nextPageToken: string | null): this;
11
+ withNextPageToken(nextPageToken: string | null): this;
12
+ static fromDict(data: {
13
+ [key: string]: any;
14
+ }): DescribeDailyTransactionHistoriesResult;
15
+ toDict(): {
16
+ [key: string]: any;
17
+ };
18
+ }
@@ -0,0 +1,67 @@
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 DescribeDailyTransactionHistoriesResult = /** @class */ (function () {
21
+ function DescribeDailyTransactionHistoriesResult() {
22
+ this.items = null;
23
+ this.nextPageToken = null;
24
+ }
25
+ DescribeDailyTransactionHistoriesResult.prototype.getItems = function () {
26
+ return this.items;
27
+ };
28
+ DescribeDailyTransactionHistoriesResult.prototype.setItems = function (items) {
29
+ this.items = items;
30
+ return this;
31
+ };
32
+ DescribeDailyTransactionHistoriesResult.prototype.withItems = function (items) {
33
+ this.items = items;
34
+ return this;
35
+ };
36
+ DescribeDailyTransactionHistoriesResult.prototype.getNextPageToken = function () {
37
+ return this.nextPageToken;
38
+ };
39
+ DescribeDailyTransactionHistoriesResult.prototype.setNextPageToken = function (nextPageToken) {
40
+ this.nextPageToken = nextPageToken;
41
+ return this;
42
+ };
43
+ DescribeDailyTransactionHistoriesResult.prototype.withNextPageToken = function (nextPageToken) {
44
+ this.nextPageToken = nextPageToken;
45
+ return this;
46
+ };
47
+ DescribeDailyTransactionHistoriesResult.fromDict = function (data) {
48
+ return new DescribeDailyTransactionHistoriesResult()
49
+ .withItems(data.items ?
50
+ data.items.map(function (item) {
51
+ return Gs2Money2.DailyTransactionHistory.fromDict(item);
52
+ }) : [])
53
+ .withNextPageToken(data["nextPageToken"]);
54
+ };
55
+ DescribeDailyTransactionHistoriesResult.prototype.toDict = function () {
56
+ return {
57
+ "items": this.getItems() ?
58
+ this.getItems().map(function (item) {
59
+ return item.toDict();
60
+ }) : [],
61
+ "nextPageToken": this.getNextPageToken(),
62
+ };
63
+ };
64
+ return DescribeDailyTransactionHistoriesResult;
65
+ }());
66
+ exports.default = DescribeDailyTransactionHistoriesResult;
67
+ //# sourceMappingURL=DescribeDailyTransactionHistoriesResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeDailyTransactionHistoriesResult.js","sourceRoot":"","sources":["DescribeDailyTransactionHistoriesResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,UAAK,GAA6C,IAAI,CAAC;QACvD,kBAAa,GAAgB,IAAI,CAAC;IAkD9C,CAAC;IAhDU,0DAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,0DAAQ,GAAf,UAAgB,KAA+C;QAC3D,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2DAAS,GAAhB,UAAiB,KAA+C;QAC5D,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kEAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,kEAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mEAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,gDAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,uCAAuC,EAAE;aAC/C,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,SAAS,CAAC,uBAAuB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC5D,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC;aACN,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,wDAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAAuC;oBACzD,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,8CAAC;AAAD,CAAC,AApDD,IAoDC"}
@@ -0,0 +1,72 @@
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 DescribeDailyTransactionHistoriesResult implements IResult {
21
+ private items: Gs2Money2.DailyTransactionHistory[]|null = null;
22
+ private nextPageToken: string|null = null;
23
+
24
+ public getItems(): Gs2Money2.DailyTransactionHistory[]|null {
25
+ return this.items;
26
+ }
27
+
28
+ public setItems(items: Gs2Money2.DailyTransactionHistory[]|null) {
29
+ this.items = items;
30
+ return this;
31
+ }
32
+
33
+ public withItems(items: Gs2Money2.DailyTransactionHistory[]|null): this {
34
+ this.items = items;
35
+ return this;
36
+ }
37
+
38
+ public getNextPageToken(): string|null {
39
+ return this.nextPageToken;
40
+ }
41
+
42
+ public setNextPageToken(nextPageToken: string|null) {
43
+ this.nextPageToken = nextPageToken;
44
+ return this;
45
+ }
46
+
47
+ public withNextPageToken(nextPageToken: string|null): this {
48
+ this.nextPageToken = nextPageToken;
49
+ return this;
50
+ }
51
+
52
+ public static fromDict(data: {[key: string]: any}): DescribeDailyTransactionHistoriesResult {
53
+ return new DescribeDailyTransactionHistoriesResult()
54
+ .withItems(data.items ?
55
+ data.items.map((item: {[key: string]: any}) => {
56
+ return Gs2Money2.DailyTransactionHistory.fromDict(item);
57
+ }
58
+ ) : [])
59
+ .withNextPageToken(data["nextPageToken"]);
60
+ }
61
+
62
+ public toDict(): {[key: string]: any} {
63
+ return {
64
+ "items": this.getItems() ?
65
+ this.getItems()!.map((item: Gs2Money2.DailyTransactionHistory) => {
66
+ return item.toDict();
67
+ }
68
+ ) : [],
69
+ "nextPageToken": this.getNextPageToken(),
70
+ };
71
+ }
72
+ }
@@ -0,0 +1,18 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Money2 from '../model';
3
+ export default class DescribeUnusedBalancesResult implements IResult {
4
+ private items;
5
+ private nextPageToken;
6
+ getItems(): Gs2Money2.UnusedBalance[] | null;
7
+ setItems(items: Gs2Money2.UnusedBalance[] | null): this;
8
+ withItems(items: Gs2Money2.UnusedBalance[] | null): this;
9
+ getNextPageToken(): string | null;
10
+ setNextPageToken(nextPageToken: string | null): this;
11
+ withNextPageToken(nextPageToken: string | null): this;
12
+ static fromDict(data: {
13
+ [key: string]: any;
14
+ }): DescribeUnusedBalancesResult;
15
+ toDict(): {
16
+ [key: string]: any;
17
+ };
18
+ }
@@ -0,0 +1,67 @@
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 DescribeUnusedBalancesResult = /** @class */ (function () {
21
+ function DescribeUnusedBalancesResult() {
22
+ this.items = null;
23
+ this.nextPageToken = null;
24
+ }
25
+ DescribeUnusedBalancesResult.prototype.getItems = function () {
26
+ return this.items;
27
+ };
28
+ DescribeUnusedBalancesResult.prototype.setItems = function (items) {
29
+ this.items = items;
30
+ return this;
31
+ };
32
+ DescribeUnusedBalancesResult.prototype.withItems = function (items) {
33
+ this.items = items;
34
+ return this;
35
+ };
36
+ DescribeUnusedBalancesResult.prototype.getNextPageToken = function () {
37
+ return this.nextPageToken;
38
+ };
39
+ DescribeUnusedBalancesResult.prototype.setNextPageToken = function (nextPageToken) {
40
+ this.nextPageToken = nextPageToken;
41
+ return this;
42
+ };
43
+ DescribeUnusedBalancesResult.prototype.withNextPageToken = function (nextPageToken) {
44
+ this.nextPageToken = nextPageToken;
45
+ return this;
46
+ };
47
+ DescribeUnusedBalancesResult.fromDict = function (data) {
48
+ return new DescribeUnusedBalancesResult()
49
+ .withItems(data.items ?
50
+ data.items.map(function (item) {
51
+ return Gs2Money2.UnusedBalance.fromDict(item);
52
+ }) : [])
53
+ .withNextPageToken(data["nextPageToken"]);
54
+ };
55
+ DescribeUnusedBalancesResult.prototype.toDict = function () {
56
+ return {
57
+ "items": this.getItems() ?
58
+ this.getItems().map(function (item) {
59
+ return item.toDict();
60
+ }) : [],
61
+ "nextPageToken": this.getNextPageToken(),
62
+ };
63
+ };
64
+ return DescribeUnusedBalancesResult;
65
+ }());
66
+ exports.default = DescribeUnusedBalancesResult;
67
+ //# sourceMappingURL=DescribeUnusedBalancesResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeUnusedBalancesResult.js","sourceRoot":"","sources":["DescribeUnusedBalancesResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,UAAK,GAAmC,IAAI,CAAC;QAC7C,kBAAa,GAAgB,IAAI,CAAC;IAkD9C,CAAC;IAhDU,+CAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,+CAAQ,GAAf,UAAgB,KAAqC;QACjD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gDAAS,GAAhB,UAAiB,KAAqC;QAClD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,uDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wDAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,qCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,4BAA4B,EAAE;aACpC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,SAAS,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAClD,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC;aACN,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,6CAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAA6B;oBAC/C,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,mCAAC;AAAD,CAAC,AApDD,IAoDC"}
@@ -0,0 +1,72 @@
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 DescribeUnusedBalancesResult implements IResult {
21
+ private items: Gs2Money2.UnusedBalance[]|null = null;
22
+ private nextPageToken: string|null = null;
23
+
24
+ public getItems(): Gs2Money2.UnusedBalance[]|null {
25
+ return this.items;
26
+ }
27
+
28
+ public setItems(items: Gs2Money2.UnusedBalance[]|null) {
29
+ this.items = items;
30
+ return this;
31
+ }
32
+
33
+ public withItems(items: Gs2Money2.UnusedBalance[]|null): this {
34
+ this.items = items;
35
+ return this;
36
+ }
37
+
38
+ public getNextPageToken(): string|null {
39
+ return this.nextPageToken;
40
+ }
41
+
42
+ public setNextPageToken(nextPageToken: string|null) {
43
+ this.nextPageToken = nextPageToken;
44
+ return this;
45
+ }
46
+
47
+ public withNextPageToken(nextPageToken: string|null): this {
48
+ this.nextPageToken = nextPageToken;
49
+ return this;
50
+ }
51
+
52
+ public static fromDict(data: {[key: string]: any}): DescribeUnusedBalancesResult {
53
+ return new DescribeUnusedBalancesResult()
54
+ .withItems(data.items ?
55
+ data.items.map((item: {[key: string]: any}) => {
56
+ return Gs2Money2.UnusedBalance.fromDict(item);
57
+ }
58
+ ) : [])
59
+ .withNextPageToken(data["nextPageToken"]);
60
+ }
61
+
62
+ public toDict(): {[key: string]: any} {
63
+ return {
64
+ "items": this.getItems() ?
65
+ this.getItems()!.map((item: Gs2Money2.UnusedBalance) => {
66
+ return item.toDict();
67
+ }
68
+ ) : [],
69
+ "nextPageToken": this.getNextPageToken(),
70
+ };
71
+ }
72
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Money2 from '../model';
3
+ export default class GetDailyTransactionHistoryResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Money2.DailyTransactionHistory | null;
6
+ setItem(item: Gs2Money2.DailyTransactionHistory | null): this;
7
+ withItem(item: Gs2Money2.DailyTransactionHistory | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetDailyTransactionHistoryResult;
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 GetDailyTransactionHistoryResult = /** @class */ (function () {
21
+ function GetDailyTransactionHistoryResult() {
22
+ this.item = null;
23
+ }
24
+ GetDailyTransactionHistoryResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetDailyTransactionHistoryResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetDailyTransactionHistoryResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetDailyTransactionHistoryResult.fromDict = function (data) {
36
+ return new GetDailyTransactionHistoryResult()
37
+ .withItem(Gs2Money2.DailyTransactionHistory.fromDict(data["item"]));
38
+ };
39
+ GetDailyTransactionHistoryResult.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 GetDailyTransactionHistoryResult;
46
+ }());
47
+ exports.default = GetDailyTransactionHistoryResult;
48
+ //# sourceMappingURL=GetDailyTransactionHistoryResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetDailyTransactionHistoryResult.js","sourceRoot":"","sources":["GetDailyTransactionHistoryResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,SAAI,GAA2C,IAAI,CAAC;IA0BhE,CAAC;IAxBU,kDAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,kDAAO,GAAd,UAAe,IAA4C;QACvD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mDAAQ,GAAf,UAAgB,IAA4C;QACxD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,yCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,gCAAgC,EAAE;aACxC,QAAQ,CAAC,SAAS,CAAC,uBAAuB,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC5E,CAAC;IAEM,iDAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,uCAAC;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 GetDailyTransactionHistoryResult implements IResult {
21
+ private item: Gs2Money2.DailyTransactionHistory|null = null;
22
+
23
+ public getItem(): Gs2Money2.DailyTransactionHistory|null {
24
+ return this.item;
25
+ }
26
+
27
+ public setItem(item: Gs2Money2.DailyTransactionHistory|null) {
28
+ this.item = item;
29
+ return this;
30
+ }
31
+
32
+ public withItem(item: Gs2Money2.DailyTransactionHistory|null): this {
33
+ this.item = item;
34
+ return this;
35
+ }
36
+
37
+ public static fromDict(data: {[key: string]: any}): GetDailyTransactionHistoryResult {
38
+ return new GetDailyTransactionHistoryResult()
39
+ .withItem(Gs2Money2.DailyTransactionHistory.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 GetUnusedBalanceResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Money2.UnusedBalance | null;
6
+ setItem(item: Gs2Money2.UnusedBalance | null): this;
7
+ withItem(item: Gs2Money2.UnusedBalance | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetUnusedBalanceResult;
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 GetUnusedBalanceResult = /** @class */ (function () {
21
+ function GetUnusedBalanceResult() {
22
+ this.item = null;
23
+ }
24
+ GetUnusedBalanceResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetUnusedBalanceResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetUnusedBalanceResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetUnusedBalanceResult.fromDict = function (data) {
36
+ return new GetUnusedBalanceResult()
37
+ .withItem(Gs2Money2.UnusedBalance.fromDict(data["item"]));
38
+ };
39
+ GetUnusedBalanceResult.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 GetUnusedBalanceResult;
46
+ }());
47
+ exports.default = GetUnusedBalanceResult;
48
+ //# sourceMappingURL=GetUnusedBalanceResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetUnusedBalanceResult.js","sourceRoot":"","sources":["GetUnusedBalanceResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,SAAI,GAAiC,IAAI,CAAC;IA0BtD,CAAC;IAxBU,wCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,wCAAO,GAAd,UAAe,IAAkC;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yCAAQ,GAAf,UAAgB,IAAkC;QAC9C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,+BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,sBAAsB,EAAE;aAC9B,QAAQ,CAAC,SAAS,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAClE,CAAC;IAEM,uCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,6BAAC;AAAD,CAAC,AA3BD,IA2BC"}