gs2 1.4.77 → 1.4.79

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 (113) hide show
  1. package/freeze/index.d.ts +5 -0
  2. package/freeze/index.js +28 -0
  3. package/freeze/index.js.map +1 -0
  4. package/freeze/index.ts +27 -0
  5. package/freeze/model/Microservice.d.ts +17 -0
  6. package/freeze/model/Microservice.js +62 -0
  7. package/freeze/model/Microservice.js.map +1 -0
  8. package/freeze/model/Microservice.ts +62 -0
  9. package/freeze/model/Output.d.ts +35 -0
  10. package/freeze/model/Output.js +171 -0
  11. package/freeze/model/Output.js.map +1 -0
  12. package/freeze/model/Output.ts +186 -0
  13. package/freeze/model/Stage.d.ts +46 -0
  14. package/freeze/model/Stage.js +195 -0
  15. package/freeze/model/Stage.js.map +1 -0
  16. package/freeze/model/Stage.ts +207 -0
  17. package/freeze/model/index.d.ts +4 -0
  18. package/freeze/model/index.js +26 -0
  19. package/freeze/model/index.js.map +1 -0
  20. package/freeze/model/index.ts +24 -0
  21. package/freeze/request/DescribeOutputsRequest.d.ts +29 -0
  22. package/freeze/request/DescribeOutputsRequest.js +97 -0
  23. package/freeze/request/DescribeOutputsRequest.js.map +1 -0
  24. package/freeze/request/DescribeOutputsRequest.ts +104 -0
  25. package/freeze/request/DescribeStagesRequest.d.ts +17 -0
  26. package/freeze/request/DescribeStagesRequest.js +54 -0
  27. package/freeze/request/DescribeStagesRequest.js.map +1 -0
  28. package/freeze/request/DescribeStagesRequest.ts +62 -0
  29. package/freeze/request/GetOutputRequest.d.ts +25 -0
  30. package/freeze/request/GetOutputRequest.js +83 -0
  31. package/freeze/request/GetOutputRequest.js.map +1 -0
  32. package/freeze/request/GetOutputRequest.ts +90 -0
  33. package/freeze/request/GetStageRequest.d.ts +21 -0
  34. package/freeze/request/GetStageRequest.js +69 -0
  35. package/freeze/request/GetStageRequest.js.map +1 -0
  36. package/freeze/request/GetStageRequest.ts +76 -0
  37. package/freeze/request/PromoteStageRequest.d.ts +21 -0
  38. package/freeze/request/PromoteStageRequest.js +69 -0
  39. package/freeze/request/PromoteStageRequest.js.map +1 -0
  40. package/freeze/request/PromoteStageRequest.ts +76 -0
  41. package/freeze/request/RollbackStageRequest.d.ts +21 -0
  42. package/freeze/request/RollbackStageRequest.js +69 -0
  43. package/freeze/request/RollbackStageRequest.js.map +1 -0
  44. package/freeze/request/RollbackStageRequest.ts +76 -0
  45. package/freeze/request/index.d.ts +7 -0
  46. package/freeze/request/index.js +32 -0
  47. package/freeze/request/index.js.map +1 -0
  48. package/freeze/request/index.ts +30 -0
  49. package/freeze/rest.d.ts +13 -0
  50. package/freeze/rest.js +173 -0
  51. package/freeze/rest.js.map +1 -0
  52. package/freeze/rest.ts +195 -0
  53. package/freeze/result/DescribeOutputsResult.d.ts +18 -0
  54. package/freeze/result/DescribeOutputsResult.js +67 -0
  55. package/freeze/result/DescribeOutputsResult.js.map +1 -0
  56. package/freeze/result/DescribeOutputsResult.ts +72 -0
  57. package/freeze/result/DescribeStagesResult.d.ts +14 -0
  58. package/freeze/result/DescribeStagesResult.js +53 -0
  59. package/freeze/result/DescribeStagesResult.js.map +1 -0
  60. package/freeze/result/DescribeStagesResult.ts +55 -0
  61. package/freeze/result/GetOutputResult.d.ts +14 -0
  62. package/freeze/result/GetOutputResult.js +48 -0
  63. package/freeze/result/GetOutputResult.js.map +1 -0
  64. package/freeze/result/GetOutputResult.ts +47 -0
  65. package/freeze/result/GetStageResult.d.ts +22 -0
  66. package/freeze/result/GetStageResult.js +88 -0
  67. package/freeze/result/GetStageResult.js.map +1 -0
  68. package/freeze/result/GetStageResult.ts +97 -0
  69. package/freeze/result/PromoteStageResult.d.ts +14 -0
  70. package/freeze/result/PromoteStageResult.js +48 -0
  71. package/freeze/result/PromoteStageResult.js.map +1 -0
  72. package/freeze/result/PromoteStageResult.ts +47 -0
  73. package/freeze/result/RollbackStageResult.d.ts +14 -0
  74. package/freeze/result/RollbackStageResult.js +48 -0
  75. package/freeze/result/RollbackStageResult.js.map +1 -0
  76. package/freeze/result/RollbackStageResult.ts +47 -0
  77. package/freeze/result/index.d.ts +7 -0
  78. package/freeze/result/index.js +32 -0
  79. package/freeze/result/index.js.map +1 -0
  80. package/freeze/result/index.ts +30 -0
  81. package/friend/request/AddFriendByUserIdRequest.d.ts +37 -0
  82. package/friend/request/AddFriendByUserIdRequest.js +123 -0
  83. package/friend/request/AddFriendByUserIdRequest.js.map +1 -0
  84. package/friend/request/AddFriendByUserIdRequest.ts +133 -0
  85. package/friend/request/AddFriendRequest.d.ts +33 -0
  86. package/friend/request/AddFriendRequest.js +109 -0
  87. package/friend/request/AddFriendRequest.js.map +1 -0
  88. package/friend/request/AddFriendRequest.ts +119 -0
  89. package/friend/request/index.d.ts +3 -1
  90. package/friend/request/index.js +6 -2
  91. package/friend/request/index.js.map +1 -1
  92. package/friend/request/index.ts +4 -0
  93. package/friend/rest.d.ts +2 -0
  94. package/friend/rest.js +67 -0
  95. package/friend/rest.js.map +1 -1
  96. package/friend/rest.ts +75 -0
  97. package/friend/result/AddFriendByUserIdResult.d.ts +14 -0
  98. package/friend/result/AddFriendByUserIdResult.js +48 -0
  99. package/friend/result/AddFriendByUserIdResult.js.map +1 -0
  100. package/friend/result/AddFriendByUserIdResult.ts +47 -0
  101. package/friend/result/AddFriendResult.d.ts +14 -0
  102. package/friend/result/AddFriendResult.js +48 -0
  103. package/friend/result/AddFriendResult.js.map +1 -0
  104. package/friend/result/AddFriendResult.ts +47 -0
  105. package/friend/result/index.d.ts +3 -1
  106. package/friend/result/index.js +6 -2
  107. package/friend/result/index.js.map +1 -1
  108. package/friend/result/index.ts +4 -0
  109. package/index.d.ts +2 -1
  110. package/index.js +4 -2
  111. package/index.js.map +1 -1
  112. package/index.ts +2 -0
  113. package/package.json +1 -1
@@ -0,0 +1,88 @@
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 Gs2Freeze = tslib_1.__importStar(require("../model"));
20
+ var GetStageResult = /** @class */ (function () {
21
+ function GetStageResult() {
22
+ this.item = null;
23
+ this.source = null;
24
+ this.current = null;
25
+ }
26
+ GetStageResult.prototype.getItem = function () {
27
+ return this.item;
28
+ };
29
+ GetStageResult.prototype.setItem = function (item) {
30
+ this.item = item;
31
+ return this;
32
+ };
33
+ GetStageResult.prototype.withItem = function (item) {
34
+ this.item = item;
35
+ return this;
36
+ };
37
+ GetStageResult.prototype.getSource = function () {
38
+ return this.source;
39
+ };
40
+ GetStageResult.prototype.setSource = function (source) {
41
+ this.source = source;
42
+ return this;
43
+ };
44
+ GetStageResult.prototype.withSource = function (source) {
45
+ this.source = source;
46
+ return this;
47
+ };
48
+ GetStageResult.prototype.getCurrent = function () {
49
+ return this.current;
50
+ };
51
+ GetStageResult.prototype.setCurrent = function (current) {
52
+ this.current = current;
53
+ return this;
54
+ };
55
+ GetStageResult.prototype.withCurrent = function (current) {
56
+ this.current = current;
57
+ return this;
58
+ };
59
+ GetStageResult.fromDict = function (data) {
60
+ return new GetStageResult()
61
+ .withItem(Gs2Freeze.Stage.fromDict(data["item"]))
62
+ .withSource(data.source ?
63
+ data.source.map(function (item) {
64
+ return Gs2Freeze.Microservice.fromDict(item);
65
+ }) : null)
66
+ .withCurrent(data.current ?
67
+ data.current.map(function (item) {
68
+ return Gs2Freeze.Microservice.fromDict(item);
69
+ }) : null);
70
+ };
71
+ GetStageResult.prototype.toDict = function () {
72
+ var _a;
73
+ return {
74
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
75
+ "source": this.getSource() ?
76
+ this.getSource().map(function (item) {
77
+ return item.toDict();
78
+ }) : null,
79
+ "current": this.getCurrent() ?
80
+ this.getCurrent().map(function (item) {
81
+ return item.toDict();
82
+ }) : null,
83
+ };
84
+ };
85
+ return GetStageResult;
86
+ }());
87
+ exports.default = GetStageResult;
88
+ //# sourceMappingURL=GetStageResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetStageResult.js","sourceRoot":"","sources":["GetStageResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,SAAI,GAAyB,IAAI,CAAC;QAClC,WAAM,GAAkC,IAAI,CAAC;QAC7C,YAAO,GAAkC,IAAI,CAAC;IA0E1D,CAAC;IAxEU,gCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,gCAAO,GAAd,UAAe,IAA0B;QACrC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iCAAQ,GAAf,UAAgB,IAA0B;QACtC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kCAAS,GAAhB;QACI,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAEM,kCAAS,GAAhB,UAAiB,MAAqC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mCAAU,GAAjB,UAAkB,MAAqC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mCAAU,GAAjB;QACI,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAEM,mCAAU,GAAjB,UAAkB,OAAs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BAChD,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;SACX,CAAC;IACN,CAAC;IACL,qBAAC;AAAD,CAAC,AA7ED,IA6EC"}
@@ -0,0 +1,97 @@
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 Gs2Freeze from '../model'
19
+
20
+ export default class GetStageResult implements IResult {
21
+ private item: Gs2Freeze.Stage|null = null;
22
+ private source: Gs2Freeze.Microservice[]|null = null;
23
+ private current: Gs2Freeze.Microservice[]|null = null;
24
+
25
+ public getItem(): Gs2Freeze.Stage|null {
26
+ return this.item;
27
+ }
28
+
29
+ public setItem(item: Gs2Freeze.Stage|null) {
30
+ this.item = item;
31
+ return this;
32
+ }
33
+
34
+ public withItem(item: Gs2Freeze.Stage|null): this {
35
+ this.item = item;
36
+ return this;
37
+ }
38
+
39
+ public getSource(): Gs2Freeze.Microservice[]|null {
40
+ return this.source;
41
+ }
42
+
43
+ public setSource(source: Gs2Freeze.Microservice[]|null) {
44
+ this.source = source;
45
+ return this;
46
+ }
47
+
48
+ public withSource(source: Gs2Freeze.Microservice[]|null): this {
49
+ this.source = source;
50
+ return this;
51
+ }
52
+
53
+ public getCurrent(): Gs2Freeze.Microservice[]|null {
54
+ return this.current;
55
+ }
56
+
57
+ public setCurrent(current: Gs2Freeze.Microservice[]|null) {
58
+ this.current = current;
59
+ return this;
60
+ }
61
+
62
+ public withCurrent(current: Gs2Freeze.Microservice[]|null): this {
63
+ this.current = current;
64
+ return this;
65
+ }
66
+
67
+ public static fromDict(data: {[key: string]: any}): GetStageResult {
68
+ return new GetStageResult()
69
+ .withItem(Gs2Freeze.Stage.fromDict(data["item"]))
70
+ .withSource(data.source ?
71
+ data.source.map((item: {[key: string]: any}) => {
72
+ return Gs2Freeze.Microservice.fromDict(item);
73
+ }
74
+ ) : null)
75
+ .withCurrent(data.current ?
76
+ data.current.map((item: {[key: string]: any}) => {
77
+ return Gs2Freeze.Microservice.fromDict(item);
78
+ }
79
+ ) : null);
80
+ }
81
+
82
+ public toDict(): {[key: string]: any} {
83
+ return {
84
+ "item": this.getItem()?.toDict(),
85
+ "source": this.getSource() ?
86
+ this.getSource()!.map((item: Gs2Freeze.Microservice) => {
87
+ return item.toDict();
88
+ }
89
+ ) : null,
90
+ "current": this.getCurrent() ?
91
+ this.getCurrent()!.map((item: Gs2Freeze.Microservice) => {
92
+ return item.toDict();
93
+ }
94
+ ) : null,
95
+ };
96
+ }
97
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Freeze from '../model';
3
+ export default class PromoteStageResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Freeze.Stage | null;
6
+ setItem(item: Gs2Freeze.Stage | null): this;
7
+ withItem(item: Gs2Freeze.Stage | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): PromoteStageResult;
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 Gs2Freeze = tslib_1.__importStar(require("../model"));
20
+ var PromoteStageResult = /** @class */ (function () {
21
+ function PromoteStageResult() {
22
+ this.item = null;
23
+ }
24
+ PromoteStageResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ PromoteStageResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ PromoteStageResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ PromoteStageResult.fromDict = function (data) {
36
+ return new PromoteStageResult()
37
+ .withItem(Gs2Freeze.Stage.fromDict(data["item"]));
38
+ };
39
+ PromoteStageResult.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 PromoteStageResult;
46
+ }());
47
+ exports.default = PromoteStageResult;
48
+ //# sourceMappingURL=PromoteStageResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PromoteStageResult.js","sourceRoot":"","sources":["PromoteStageResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,SAAI,GAAyB,IAAI,CAAC;IA0B9C,CAAC;IAxBU,oCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,oCAAO,GAAd,UAAe,IAA0B;QACrC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qCAAQ,GAAf,UAAgB,IAA0B;QACtC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,2BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,kBAAkB,EAAE;aAC1B,QAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC1D,CAAC;IAEM,mCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,yBAAC;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 Gs2Freeze from '../model'
19
+
20
+ export default class PromoteStageResult implements IResult {
21
+ private item: Gs2Freeze.Stage|null = null;
22
+
23
+ public getItem(): Gs2Freeze.Stage|null {
24
+ return this.item;
25
+ }
26
+
27
+ public setItem(item: Gs2Freeze.Stage|null) {
28
+ this.item = item;
29
+ return this;
30
+ }
31
+
32
+ public withItem(item: Gs2Freeze.Stage|null): this {
33
+ this.item = item;
34
+ return this;
35
+ }
36
+
37
+ public static fromDict(data: {[key: string]: any}): PromoteStageResult {
38
+ return new PromoteStageResult()
39
+ .withItem(Gs2Freeze.Stage.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 Gs2Freeze from '../model';
3
+ export default class RollbackStageResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Freeze.Stage | null;
6
+ setItem(item: Gs2Freeze.Stage | null): this;
7
+ withItem(item: Gs2Freeze.Stage | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): RollbackStageResult;
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 Gs2Freeze = tslib_1.__importStar(require("../model"));
20
+ var RollbackStageResult = /** @class */ (function () {
21
+ function RollbackStageResult() {
22
+ this.item = null;
23
+ }
24
+ RollbackStageResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ RollbackStageResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ RollbackStageResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ RollbackStageResult.fromDict = function (data) {
36
+ return new RollbackStageResult()
37
+ .withItem(Gs2Freeze.Stage.fromDict(data["item"]));
38
+ };
39
+ RollbackStageResult.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 RollbackStageResult;
46
+ }());
47
+ exports.default = RollbackStageResult;
48
+ //# sourceMappingURL=RollbackStageResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RollbackStageResult.js","sourceRoot":"","sources":["RollbackStageResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,SAAI,GAAyB,IAAI,CAAC;IA0B9C,CAAC;IAxBU,qCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,qCAAO,GAAd,UAAe,IAA0B;QACrC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sCAAQ,GAAf,UAAgB,IAA0B;QACtC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,4BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,mBAAmB,EAAE;aAC3B,QAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC1D,CAAC;IAEM,oCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,0BAAC;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 Gs2Freeze from '../model'
19
+
20
+ export default class RollbackStageResult implements IResult {
21
+ private item: Gs2Freeze.Stage|null = null;
22
+
23
+ public getItem(): Gs2Freeze.Stage|null {
24
+ return this.item;
25
+ }
26
+
27
+ public setItem(item: Gs2Freeze.Stage|null) {
28
+ this.item = item;
29
+ return this;
30
+ }
31
+
32
+ public withItem(item: Gs2Freeze.Stage|null): this {
33
+ this.item = item;
34
+ return this;
35
+ }
36
+
37
+ public static fromDict(data: {[key: string]: any}): RollbackStageResult {
38
+ return new RollbackStageResult()
39
+ .withItem(Gs2Freeze.Stage.fromDict(data["item"]));
40
+ }
41
+
42
+ public toDict(): {[key: string]: any} {
43
+ return {
44
+ "item": this.getItem()?.toDict(),
45
+ };
46
+ }
47
+ }
@@ -0,0 +1,7 @@
1
+ import DescribeStagesResult from "./DescribeStagesResult";
2
+ import GetStageResult from "./GetStageResult";
3
+ import PromoteStageResult from "./PromoteStageResult";
4
+ import RollbackStageResult from "./RollbackStageResult";
5
+ import DescribeOutputsResult from "./DescribeOutputsResult";
6
+ import GetOutputResult from "./GetOutputResult";
7
+ export { DescribeStagesResult, GetStageResult, PromoteStageResult, RollbackStageResult, DescribeOutputsResult, GetOutputResult, };
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetOutputResult = exports.DescribeOutputsResult = exports.RollbackStageResult = exports.PromoteStageResult = exports.GetStageResult = exports.DescribeStagesResult = void 0;
4
+ var tslib_1 = require("tslib");
5
+ /*
6
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
7
+ Reserved.
8
+
9
+ Licensed under the Apache License, Version 2.0 (the "License").
10
+ You may not use this file except in compliance with the License.
11
+ A copy of the License is located at
12
+
13
+ http://www.apache.org/licenses/LICENSE-2.0
14
+
15
+ or in the "license" file accompanying this file. This file is distributed
16
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
17
+ express or implied. See the License for the specific language governing
18
+ permissions and limitations under the License.
19
+ */
20
+ var DescribeStagesResult_1 = tslib_1.__importDefault(require("./DescribeStagesResult"));
21
+ exports.DescribeStagesResult = DescribeStagesResult_1.default;
22
+ var GetStageResult_1 = tslib_1.__importDefault(require("./GetStageResult"));
23
+ exports.GetStageResult = GetStageResult_1.default;
24
+ var PromoteStageResult_1 = tslib_1.__importDefault(require("./PromoteStageResult"));
25
+ exports.PromoteStageResult = PromoteStageResult_1.default;
26
+ var RollbackStageResult_1 = tslib_1.__importDefault(require("./RollbackStageResult"));
27
+ exports.RollbackStageResult = RollbackStageResult_1.default;
28
+ var DescribeOutputsResult_1 = tslib_1.__importDefault(require("./DescribeOutputsResult"));
29
+ exports.DescribeOutputsResult = DescribeOutputsResult_1.default;
30
+ var GetOutputResult_1 = tslib_1.__importDefault(require("./GetOutputResult"));
31
+ exports.GetOutputResult = GetOutputResult_1.default;
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,wFAAyD;AAQrD,+BARG,8BAAoB,CAQH;AAPxB,4EAA6C;AAQzC,yBARG,wBAAc,CAQH;AAPlB,oFAAqD;AAQjD,6BARG,4BAAkB,CAQH;AAPtB,sFAAuD;AAQnD,8BARG,6BAAmB,CAQH;AAPvB,0FAA2D;AAQvD,gCARG,+BAAqB,CAQH;AAPzB,8EAA+C;AAQ3C,0BARG,yBAAe,CAQH"}
@@ -0,0 +1,30 @@
1
+ /*
2
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
3
+ Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License").
6
+ You may not use this file except in compliance with the License.
7
+ A copy of the License is located at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ or in the "license" file accompanying this file. This file is distributed
12
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ express or implied. See the License for the specific language governing
14
+ permissions and limitations under the License.
15
+ */
16
+ import DescribeStagesResult from "./DescribeStagesResult"
17
+ import GetStageResult from "./GetStageResult"
18
+ import PromoteStageResult from "./PromoteStageResult"
19
+ import RollbackStageResult from "./RollbackStageResult"
20
+ import DescribeOutputsResult from "./DescribeOutputsResult"
21
+ import GetOutputResult from "./GetOutputResult"
22
+
23
+ export {
24
+ DescribeStagesResult,
25
+ GetStageResult,
26
+ PromoteStageResult,
27
+ RollbackStageResult,
28
+ DescribeOutputsResult,
29
+ GetOutputResult,
30
+ };
@@ -0,0 +1,37 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class AddFriendByUserIdRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private userId;
7
+ private targetUserId;
8
+ private timeOffsetToken;
9
+ private duplicationAvoider;
10
+ getRequestId(): string | null;
11
+ setRequestId(requestId: string | null): this;
12
+ withRequestId(requestId: string | null): this;
13
+ getContextStack(): string | null;
14
+ setContextStack(contextStack: string | null): this;
15
+ withContextStack(contextStack: string | null): this;
16
+ getNamespaceName(): string | null;
17
+ setNamespaceName(namespaceName: string | null): this;
18
+ withNamespaceName(namespaceName: string | null): this;
19
+ getUserId(): string | null;
20
+ setUserId(userId: string | null): this;
21
+ withUserId(userId: string | null): this;
22
+ getTargetUserId(): string | null;
23
+ setTargetUserId(targetUserId: string | null): this;
24
+ withTargetUserId(targetUserId: string | null): this;
25
+ getTimeOffsetToken(): string | null;
26
+ setTimeOffsetToken(timeOffsetToken: string | null): this;
27
+ withTimeOffsetToken(timeOffsetToken: string | null): this;
28
+ getDuplicationAvoider(): string | null;
29
+ setDuplicationAvoider(duplicationAvoider: string | null): this;
30
+ withDuplicationAvoider(duplicationAvoider: string | null): this;
31
+ static fromDict(data: {
32
+ [key: string]: any;
33
+ }): AddFriendByUserIdRequest;
34
+ toDict(): {
35
+ [key: string]: any;
36
+ };
37
+ }
@@ -0,0 +1,123 @@
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 AddFriendByUserIdRequest = /** @class */ (function () {
19
+ function AddFriendByUserIdRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.userId = null;
24
+ this.targetUserId = null;
25
+ this.timeOffsetToken = null;
26
+ this.duplicationAvoider = null;
27
+ }
28
+ AddFriendByUserIdRequest.prototype.getRequestId = function () {
29
+ return this.requestId;
30
+ };
31
+ AddFriendByUserIdRequest.prototype.setRequestId = function (requestId) {
32
+ this.requestId = requestId;
33
+ return this;
34
+ };
35
+ AddFriendByUserIdRequest.prototype.withRequestId = function (requestId) {
36
+ this.requestId = requestId;
37
+ return this;
38
+ };
39
+ AddFriendByUserIdRequest.prototype.getContextStack = function () {
40
+ return this.contextStack;
41
+ };
42
+ AddFriendByUserIdRequest.prototype.setContextStack = function (contextStack) {
43
+ this.contextStack = contextStack;
44
+ return this;
45
+ };
46
+ AddFriendByUserIdRequest.prototype.withContextStack = function (contextStack) {
47
+ this.contextStack = contextStack;
48
+ return this;
49
+ };
50
+ AddFriendByUserIdRequest.prototype.getNamespaceName = function () {
51
+ return this.namespaceName;
52
+ };
53
+ AddFriendByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
54
+ this.namespaceName = namespaceName;
55
+ return this;
56
+ };
57
+ AddFriendByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
58
+ this.namespaceName = namespaceName;
59
+ return this;
60
+ };
61
+ AddFriendByUserIdRequest.prototype.getUserId = function () {
62
+ return this.userId;
63
+ };
64
+ AddFriendByUserIdRequest.prototype.setUserId = function (userId) {
65
+ this.userId = userId;
66
+ return this;
67
+ };
68
+ AddFriendByUserIdRequest.prototype.withUserId = function (userId) {
69
+ this.userId = userId;
70
+ return this;
71
+ };
72
+ AddFriendByUserIdRequest.prototype.getTargetUserId = function () {
73
+ return this.targetUserId;
74
+ };
75
+ AddFriendByUserIdRequest.prototype.setTargetUserId = function (targetUserId) {
76
+ this.targetUserId = targetUserId;
77
+ return this;
78
+ };
79
+ AddFriendByUserIdRequest.prototype.withTargetUserId = function (targetUserId) {
80
+ this.targetUserId = targetUserId;
81
+ return this;
82
+ };
83
+ AddFriendByUserIdRequest.prototype.getTimeOffsetToken = function () {
84
+ return this.timeOffsetToken;
85
+ };
86
+ AddFriendByUserIdRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
87
+ this.timeOffsetToken = timeOffsetToken;
88
+ return this;
89
+ };
90
+ AddFriendByUserIdRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
91
+ this.timeOffsetToken = timeOffsetToken;
92
+ return this;
93
+ };
94
+ AddFriendByUserIdRequest.prototype.getDuplicationAvoider = function () {
95
+ return this.duplicationAvoider;
96
+ };
97
+ AddFriendByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
98
+ this.duplicationAvoider = duplicationAvoider;
99
+ return this;
100
+ };
101
+ AddFriendByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
102
+ this.duplicationAvoider = duplicationAvoider;
103
+ return this;
104
+ };
105
+ AddFriendByUserIdRequest.fromDict = function (data) {
106
+ return new AddFriendByUserIdRequest()
107
+ .withNamespaceName(data["namespaceName"])
108
+ .withUserId(data["userId"])
109
+ .withTargetUserId(data["targetUserId"])
110
+ .withTimeOffsetToken(data["timeOffsetToken"]);
111
+ };
112
+ AddFriendByUserIdRequest.prototype.toDict = function () {
113
+ return {
114
+ "namespaceName": this.getNamespaceName(),
115
+ "userId": this.getUserId(),
116
+ "targetUserId": this.getTargetUserId(),
117
+ "timeOffsetToken": this.getTimeOffsetToken(),
118
+ };
119
+ };
120
+ return AddFriendByUserIdRequest;
121
+ }());
122
+ exports.default = AddFriendByUserIdRequest;
123
+ //# sourceMappingURL=AddFriendByUserIdRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddFriendByUserIdRequest.js","sourceRoot":"","sources":["AddFriendByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,WAAM,GAAgB,IAAI,CAAC;QAC3B,iBAAY,GAAgB,IAAI,CAAC;QACjC,oBAAe,GAAgB,IAAI,CAAC;QACpC,uBAAkB,GAAgB,IAAI,CAAC;IAwGnD,CAAC;IAtGU,+CAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,+CAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,kDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,mDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IA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