gs2 1.4.156 → 1.4.157

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/experience/model/ExperienceModel.d.ts +4 -0
  2. package/experience/model/ExperienceModel.js +15 -1
  3. package/experience/model/ExperienceModel.js.map +1 -1
  4. package/experience/model/ExperienceModelMaster.d.ts +4 -0
  5. package/experience/model/ExperienceModelMaster.js +15 -0
  6. package/experience/model/ExperienceModelMaster.js.map +1 -1
  7. package/experience/model/LevelSync.d.ts +52 -0
  8. package/experience/model/LevelSync.js +253 -0
  9. package/experience/model/LevelSync.js.map +1 -0
  10. package/experience/model/LevelSyncSetting.d.ts +25 -0
  11. package/experience/model/LevelSyncSetting.js +90 -0
  12. package/experience/model/LevelSyncSetting.js.map +1 -0
  13. package/experience/model/Status.d.ts +4 -0
  14. package/experience/model/Status.js +14 -0
  15. package/experience/model/Status.js.map +1 -1
  16. package/experience/model/index.d.ts +3 -1
  17. package/experience/model/index.js +5 -1
  18. package/experience/model/index.js.map +1 -1
  19. package/experience/request/AddLevelSyncCapacityByStampSheetRequest.d.ts +25 -0
  20. package/experience/request/AddLevelSyncCapacityByStampSheetRequest.js +83 -0
  21. package/experience/request/AddLevelSyncCapacityByStampSheetRequest.js.map +1 -0
  22. package/experience/request/AddLevelSyncCapacityByUserIdRequest.d.ts +41 -0
  23. package/experience/request/AddLevelSyncCapacityByUserIdRequest.js +137 -0
  24. package/experience/request/AddLevelSyncCapacityByUserIdRequest.js.map +1 -0
  25. package/experience/request/CreateExperienceModelMasterRequest.d.ts +4 -0
  26. package/experience/request/CreateExperienceModelMasterRequest.js +15 -0
  27. package/experience/request/CreateExperienceModelMasterRequest.js.map +1 -1
  28. package/experience/request/DeleteLevelSyncByUserIdRequest.d.ts +37 -0
  29. package/experience/request/DeleteLevelSyncByUserIdRequest.js +123 -0
  30. package/experience/request/DeleteLevelSyncByUserIdRequest.js.map +1 -0
  31. package/experience/request/GetLevelSyncByUserIdRequest.d.ts +33 -0
  32. package/experience/request/GetLevelSyncByUserIdRequest.js +111 -0
  33. package/experience/request/GetLevelSyncByUserIdRequest.js.map +1 -0
  34. package/experience/request/GetLevelSyncRequest.d.ts +29 -0
  35. package/experience/request/GetLevelSyncRequest.js +97 -0
  36. package/experience/request/GetLevelSyncRequest.js.map +1 -0
  37. package/experience/request/MultiplyAcquireActionsByUserIdRequest.d.ts +4 -0
  38. package/experience/request/MultiplyAcquireActionsByUserIdRequest.js +14 -0
  39. package/experience/request/MultiplyAcquireActionsByUserIdRequest.js.map +1 -1
  40. package/experience/request/SetLevelSyncByUserIdRequest.d.ts +41 -0
  41. package/experience/request/SetLevelSyncByUserIdRequest.js +143 -0
  42. package/experience/request/SetLevelSyncByUserIdRequest.js.map +1 -0
  43. package/experience/request/SetLevelSyncCapacityByStampSheetRequest.d.ts +25 -0
  44. package/experience/request/SetLevelSyncCapacityByStampSheetRequest.js +83 -0
  45. package/experience/request/SetLevelSyncCapacityByStampSheetRequest.js.map +1 -0
  46. package/experience/request/SetLevelSyncCapacityByUserIdRequest.d.ts +41 -0
  47. package/experience/request/SetLevelSyncCapacityByUserIdRequest.js +137 -0
  48. package/experience/request/SetLevelSyncCapacityByUserIdRequest.js.map +1 -0
  49. package/experience/request/SetLevelSyncRequest.d.ts +37 -0
  50. package/experience/request/SetLevelSyncRequest.js +129 -0
  51. package/experience/request/SetLevelSyncRequest.js.map +1 -0
  52. package/experience/request/SubLevelSyncCapacityByStampTaskRequest.d.ts +25 -0
  53. package/experience/request/SubLevelSyncCapacityByStampTaskRequest.js +83 -0
  54. package/experience/request/SubLevelSyncCapacityByStampTaskRequest.js.map +1 -0
  55. package/experience/request/SubLevelSyncCapacityByUserIdRequest.d.ts +41 -0
  56. package/experience/request/SubLevelSyncCapacityByUserIdRequest.js +137 -0
  57. package/experience/request/SubLevelSyncCapacityByUserIdRequest.js.map +1 -0
  58. package/experience/request/SubLevelSyncCapacityRequest.d.ts +37 -0
  59. package/experience/request/SubLevelSyncCapacityRequest.js +123 -0
  60. package/experience/request/SubLevelSyncCapacityRequest.js.map +1 -0
  61. package/experience/request/UpdateExperienceModelMasterRequest.d.ts +4 -0
  62. package/experience/request/UpdateExperienceModelMasterRequest.js +15 -0
  63. package/experience/request/UpdateExperienceModelMasterRequest.js.map +1 -1
  64. package/experience/request/VerifyRankByUserIdRequest.d.ts +4 -0
  65. package/experience/request/VerifyRankByUserIdRequest.js +14 -0
  66. package/experience/request/VerifyRankByUserIdRequest.js.map +1 -1
  67. package/experience/request/VerifyRankRequest.d.ts +4 -0
  68. package/experience/request/VerifyRankRequest.js +15 -1
  69. package/experience/request/VerifyRankRequest.js.map +1 -1
  70. package/experience/request/index.d.ts +13 -1
  71. package/experience/request/index.js +25 -1
  72. package/experience/request/index.js.map +1 -1
  73. package/experience/rest.d.ts +12 -0
  74. package/experience/rest.js +288 -7
  75. package/experience/rest.js.map +1 -1
  76. package/experience/result/AddLevelSyncCapacityByStampSheetResult.d.ts +18 -0
  77. package/experience/result/AddLevelSyncCapacityByStampSheetResult.js +62 -0
  78. package/experience/result/AddLevelSyncCapacityByStampSheetResult.js.map +1 -0
  79. package/experience/result/AddLevelSyncCapacityByUserIdResult.d.ts +18 -0
  80. package/experience/result/AddLevelSyncCapacityByUserIdResult.js +62 -0
  81. package/experience/result/AddLevelSyncCapacityByUserIdResult.js.map +1 -0
  82. package/experience/result/DeleteLevelSyncByUserIdResult.d.ts +14 -0
  83. package/experience/result/DeleteLevelSyncByUserIdResult.js +48 -0
  84. package/experience/result/DeleteLevelSyncByUserIdResult.js.map +1 -0
  85. package/experience/result/GetLevelSyncByUserIdResult.d.ts +18 -0
  86. package/experience/result/GetLevelSyncByUserIdResult.js +62 -0
  87. package/experience/result/GetLevelSyncByUserIdResult.js.map +1 -0
  88. package/experience/result/GetLevelSyncResult.d.ts +18 -0
  89. package/experience/result/GetLevelSyncResult.js +62 -0
  90. package/experience/result/GetLevelSyncResult.js.map +1 -0
  91. package/experience/result/SetLevelSyncByUserIdResult.d.ts +18 -0
  92. package/experience/result/SetLevelSyncByUserIdResult.js +62 -0
  93. package/experience/result/SetLevelSyncByUserIdResult.js.map +1 -0
  94. package/experience/result/SetLevelSyncCapacityByStampSheetResult.d.ts +22 -0
  95. package/experience/result/SetLevelSyncCapacityByStampSheetResult.js +76 -0
  96. package/experience/result/SetLevelSyncCapacityByStampSheetResult.js.map +1 -0
  97. package/experience/result/SetLevelSyncCapacityByUserIdResult.d.ts +22 -0
  98. package/experience/result/SetLevelSyncCapacityByUserIdResult.js +76 -0
  99. package/experience/result/SetLevelSyncCapacityByUserIdResult.js.map +1 -0
  100. package/experience/result/SetLevelSyncResult.d.ts +18 -0
  101. package/experience/result/SetLevelSyncResult.js +62 -0
  102. package/experience/result/SetLevelSyncResult.js.map +1 -0
  103. package/experience/result/SubLevelSyncCapacityByStampTaskResult.d.ts +22 -0
  104. package/experience/result/SubLevelSyncCapacityByStampTaskResult.js +76 -0
  105. package/experience/result/SubLevelSyncCapacityByStampTaskResult.js.map +1 -0
  106. package/experience/result/SubLevelSyncCapacityByUserIdResult.d.ts +18 -0
  107. package/experience/result/SubLevelSyncCapacityByUserIdResult.js +62 -0
  108. package/experience/result/SubLevelSyncCapacityByUserIdResult.js.map +1 -0
  109. package/experience/result/SubLevelSyncCapacityResult.d.ts +18 -0
  110. package/experience/result/SubLevelSyncCapacityResult.js +62 -0
  111. package/experience/result/SubLevelSyncCapacityResult.js.map +1 -0
  112. package/experience/result/index.d.ts +13 -1
  113. package/experience/result/index.js +25 -1
  114. package/experience/result/index.js.map +1 -1
  115. package/package.json +1 -1
@@ -0,0 +1,143 @@
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 SetLevelSyncByUserIdRequest = /** @class */ (function () {
19
+ function SetLevelSyncByUserIdRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.userId = null;
24
+ this.experienceName = null;
25
+ this.propertyIds = null;
26
+ this.timeOffsetToken = null;
27
+ this.duplicationAvoider = null;
28
+ }
29
+ SetLevelSyncByUserIdRequest.prototype.getRequestId = function () {
30
+ return this.requestId;
31
+ };
32
+ SetLevelSyncByUserIdRequest.prototype.setRequestId = function (requestId) {
33
+ this.requestId = requestId;
34
+ return this;
35
+ };
36
+ SetLevelSyncByUserIdRequest.prototype.withRequestId = function (requestId) {
37
+ this.requestId = requestId;
38
+ return this;
39
+ };
40
+ SetLevelSyncByUserIdRequest.prototype.getContextStack = function () {
41
+ return this.contextStack;
42
+ };
43
+ SetLevelSyncByUserIdRequest.prototype.setContextStack = function (contextStack) {
44
+ this.contextStack = contextStack;
45
+ return this;
46
+ };
47
+ SetLevelSyncByUserIdRequest.prototype.withContextStack = function (contextStack) {
48
+ this.contextStack = contextStack;
49
+ return this;
50
+ };
51
+ SetLevelSyncByUserIdRequest.prototype.getNamespaceName = function () {
52
+ return this.namespaceName;
53
+ };
54
+ SetLevelSyncByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
55
+ this.namespaceName = namespaceName;
56
+ return this;
57
+ };
58
+ SetLevelSyncByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
59
+ this.namespaceName = namespaceName;
60
+ return this;
61
+ };
62
+ SetLevelSyncByUserIdRequest.prototype.getUserId = function () {
63
+ return this.userId;
64
+ };
65
+ SetLevelSyncByUserIdRequest.prototype.setUserId = function (userId) {
66
+ this.userId = userId;
67
+ return this;
68
+ };
69
+ SetLevelSyncByUserIdRequest.prototype.withUserId = function (userId) {
70
+ this.userId = userId;
71
+ return this;
72
+ };
73
+ SetLevelSyncByUserIdRequest.prototype.getExperienceName = function () {
74
+ return this.experienceName;
75
+ };
76
+ SetLevelSyncByUserIdRequest.prototype.setExperienceName = function (experienceName) {
77
+ this.experienceName = experienceName;
78
+ return this;
79
+ };
80
+ SetLevelSyncByUserIdRequest.prototype.withExperienceName = function (experienceName) {
81
+ this.experienceName = experienceName;
82
+ return this;
83
+ };
84
+ SetLevelSyncByUserIdRequest.prototype.getPropertyIds = function () {
85
+ return this.propertyIds;
86
+ };
87
+ SetLevelSyncByUserIdRequest.prototype.setPropertyIds = function (propertyIds) {
88
+ this.propertyIds = propertyIds;
89
+ return this;
90
+ };
91
+ SetLevelSyncByUserIdRequest.prototype.withPropertyIds = function (propertyIds) {
92
+ this.propertyIds = propertyIds;
93
+ return this;
94
+ };
95
+ SetLevelSyncByUserIdRequest.prototype.getTimeOffsetToken = function () {
96
+ return this.timeOffsetToken;
97
+ };
98
+ SetLevelSyncByUserIdRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
99
+ this.timeOffsetToken = timeOffsetToken;
100
+ return this;
101
+ };
102
+ SetLevelSyncByUserIdRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
103
+ this.timeOffsetToken = timeOffsetToken;
104
+ return this;
105
+ };
106
+ SetLevelSyncByUserIdRequest.prototype.getDuplicationAvoider = function () {
107
+ return this.duplicationAvoider;
108
+ };
109
+ SetLevelSyncByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
110
+ this.duplicationAvoider = duplicationAvoider;
111
+ return this;
112
+ };
113
+ SetLevelSyncByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
114
+ this.duplicationAvoider = duplicationAvoider;
115
+ return this;
116
+ };
117
+ SetLevelSyncByUserIdRequest.fromDict = function (data) {
118
+ return new SetLevelSyncByUserIdRequest()
119
+ .withNamespaceName(data["namespaceName"])
120
+ .withUserId(data["userId"])
121
+ .withExperienceName(data["experienceName"])
122
+ .withPropertyIds(data.propertyIds ?
123
+ data.propertyIds.map(function (item) {
124
+ return item;
125
+ }) : null)
126
+ .withTimeOffsetToken(data["timeOffsetToken"]);
127
+ };
128
+ SetLevelSyncByUserIdRequest.prototype.toDict = function () {
129
+ return {
130
+ "namespaceName": this.getNamespaceName(),
131
+ "userId": this.getUserId(),
132
+ "experienceName": this.getExperienceName(),
133
+ "propertyIds": this.getPropertyIds() ?
134
+ this.getPropertyIds().map(function (item) {
135
+ return item;
136
+ }) : null,
137
+ "timeOffsetToken": this.getTimeOffsetToken(),
138
+ };
139
+ };
140
+ return SetLevelSyncByUserIdRequest;
141
+ }());
142
+ exports.default = SetLevelSyncByUserIdRequest;
143
+ //# sourceMappingURL=SetLevelSyncByUserIdRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetLevelSyncByUserIdRequest.js","sourceRoot":"","sources":["../../../src/experience/request/SetLevelSyncByUserIdRequest.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,mBAAc,GAAgB,IAAI,CAAC;QACnC,gBAAW,GAAkB,IAAI,CAAC;QAClC,oBAAe,GAAgB,IAAI,CAAC;QACpC,uBAAkB,GAAgB,IAAI,CAAC;IA6HnD,CAAC;IA3HU,kDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,kDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;Q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AI,CAAC;YAChB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI,CAAC;aACR,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,CAAC;IAEM,4CAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,EAAE;YAC1C,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC;gBAClC,IAAI,CAAC,cAAc,EAAG,CAAC,GAAG,CAAC,UAAC,IAAY;oBACpC,OAAO,IAAI,CAAC;gBAChB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;YACR,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,kCAAC;AAAD,CAAC,AAtID,IAsIC"}
@@ -0,0 +1,25 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class SetLevelSyncCapacityByStampSheetRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private stampSheet;
6
+ private keyId;
7
+ getRequestId(): string | null;
8
+ setRequestId(requestId: string | null): this;
9
+ withRequestId(requestId: string | null): this;
10
+ getContextStack(): string | null;
11
+ setContextStack(contextStack: string | null): this;
12
+ withContextStack(contextStack: string | null): this;
13
+ getStampSheet(): string | null;
14
+ setStampSheet(stampSheet: string | null): this;
15
+ withStampSheet(stampSheet: string | null): this;
16
+ getKeyId(): string | null;
17
+ setKeyId(keyId: string | null): this;
18
+ withKeyId(keyId: string | null): this;
19
+ static fromDict(data: {
20
+ [key: string]: any;
21
+ }): SetLevelSyncCapacityByStampSheetRequest;
22
+ toDict(): {
23
+ [key: string]: any;
24
+ };
25
+ }
@@ -0,0 +1,83 @@
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 SetLevelSyncCapacityByStampSheetRequest = /** @class */ (function () {
19
+ function SetLevelSyncCapacityByStampSheetRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.stampSheet = null;
23
+ this.keyId = null;
24
+ }
25
+ SetLevelSyncCapacityByStampSheetRequest.prototype.getRequestId = function () {
26
+ return this.requestId;
27
+ };
28
+ SetLevelSyncCapacityByStampSheetRequest.prototype.setRequestId = function (requestId) {
29
+ this.requestId = requestId;
30
+ return this;
31
+ };
32
+ SetLevelSyncCapacityByStampSheetRequest.prototype.withRequestId = function (requestId) {
33
+ this.requestId = requestId;
34
+ return this;
35
+ };
36
+ SetLevelSyncCapacityByStampSheetRequest.prototype.getContextStack = function () {
37
+ return this.contextStack;
38
+ };
39
+ SetLevelSyncCapacityByStampSheetRequest.prototype.setContextStack = function (contextStack) {
40
+ this.contextStack = contextStack;
41
+ return this;
42
+ };
43
+ SetLevelSyncCapacityByStampSheetRequest.prototype.withContextStack = function (contextStack) {
44
+ this.contextStack = contextStack;
45
+ return this;
46
+ };
47
+ SetLevelSyncCapacityByStampSheetRequest.prototype.getStampSheet = function () {
48
+ return this.stampSheet;
49
+ };
50
+ SetLevelSyncCapacityByStampSheetRequest.prototype.setStampSheet = function (stampSheet) {
51
+ this.stampSheet = stampSheet;
52
+ return this;
53
+ };
54
+ SetLevelSyncCapacityByStampSheetRequest.prototype.withStampSheet = function (stampSheet) {
55
+ this.stampSheet = stampSheet;
56
+ return this;
57
+ };
58
+ SetLevelSyncCapacityByStampSheetRequest.prototype.getKeyId = function () {
59
+ return this.keyId;
60
+ };
61
+ SetLevelSyncCapacityByStampSheetRequest.prototype.setKeyId = function (keyId) {
62
+ this.keyId = keyId;
63
+ return this;
64
+ };
65
+ SetLevelSyncCapacityByStampSheetRequest.prototype.withKeyId = function (keyId) {
66
+ this.keyId = keyId;
67
+ return this;
68
+ };
69
+ SetLevelSyncCapacityByStampSheetRequest.fromDict = function (data) {
70
+ return new SetLevelSyncCapacityByStampSheetRequest()
71
+ .withStampSheet(data["stampSheet"])
72
+ .withKeyId(data["keyId"]);
73
+ };
74
+ SetLevelSyncCapacityByStampSheetRequest.prototype.toDict = function () {
75
+ return {
76
+ "stampSheet": this.getStampSheet(),
77
+ "keyId": this.getKeyId(),
78
+ };
79
+ };
80
+ return SetLevelSyncCapacityByStampSheetRequest;
81
+ }());
82
+ exports.default = SetLevelSyncCapacityByStampSheetRequest;
83
+ //# sourceMappingURL=SetLevelSyncCapacityByStampSheetRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetLevelSyncCapacityByStampSheetRequest.js","sourceRoot":"","sources":["../../../src/experience/request/SetLevelSyncCapacityByStampSheetRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,eAAU,GAAgB,IAAI,CAAC;QAC/B,UAAK,GAAgB,IAAI,CAAC;IAgEtC,CAAC;IA9DU,8DAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,8DAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+DAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iEA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
@@ -0,0 +1,41 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class SetLevelSyncCapacityByUserIdRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private userId;
7
+ private experienceName;
8
+ private capacity;
9
+ private timeOffsetToken;
10
+ private duplicationAvoider;
11
+ getRequestId(): string | null;
12
+ setRequestId(requestId: string | null): this;
13
+ withRequestId(requestId: string | null): this;
14
+ getContextStack(): string | null;
15
+ setContextStack(contextStack: string | null): this;
16
+ withContextStack(contextStack: string | null): this;
17
+ getNamespaceName(): string | null;
18
+ setNamespaceName(namespaceName: string | null): this;
19
+ withNamespaceName(namespaceName: string | null): this;
20
+ getUserId(): string | null;
21
+ setUserId(userId: string | null): this;
22
+ withUserId(userId: string | null): this;
23
+ getExperienceName(): string | null;
24
+ setExperienceName(experienceName: string | null): this;
25
+ withExperienceName(experienceName: string | null): this;
26
+ getCapacity(): number | null;
27
+ setCapacity(capacity: number | null): this;
28
+ withCapacity(capacity: number | null): this;
29
+ getTimeOffsetToken(): string | null;
30
+ setTimeOffsetToken(timeOffsetToken: string | null): this;
31
+ withTimeOffsetToken(timeOffsetToken: string | null): this;
32
+ getDuplicationAvoider(): string | null;
33
+ setDuplicationAvoider(duplicationAvoider: string | null): this;
34
+ withDuplicationAvoider(duplicationAvoider: string | null): this;
35
+ static fromDict(data: {
36
+ [key: string]: any;
37
+ }): SetLevelSyncCapacityByUserIdRequest;
38
+ toDict(): {
39
+ [key: string]: any;
40
+ };
41
+ }
@@ -0,0 +1,137 @@
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 SetLevelSyncCapacityByUserIdRequest = /** @class */ (function () {
19
+ function SetLevelSyncCapacityByUserIdRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.userId = null;
24
+ this.experienceName = null;
25
+ this.capacity = null;
26
+ this.timeOffsetToken = null;
27
+ this.duplicationAvoider = null;
28
+ }
29
+ SetLevelSyncCapacityByUserIdRequest.prototype.getRequestId = function () {
30
+ return this.requestId;
31
+ };
32
+ SetLevelSyncCapacityByUserIdRequest.prototype.setRequestId = function (requestId) {
33
+ this.requestId = requestId;
34
+ return this;
35
+ };
36
+ SetLevelSyncCapacityByUserIdRequest.prototype.withRequestId = function (requestId) {
37
+ this.requestId = requestId;
38
+ return this;
39
+ };
40
+ SetLevelSyncCapacityByUserIdRequest.prototype.getContextStack = function () {
41
+ return this.contextStack;
42
+ };
43
+ SetLevelSyncCapacityByUserIdRequest.prototype.setContextStack = function (contextStack) {
44
+ this.contextStack = contextStack;
45
+ return this;
46
+ };
47
+ SetLevelSyncCapacityByUserIdRequest.prototype.withContextStack = function (contextStack) {
48
+ this.contextStack = contextStack;
49
+ return this;
50
+ };
51
+ SetLevelSyncCapacityByUserIdRequest.prototype.getNamespaceName = function () {
52
+ return this.namespaceName;
53
+ };
54
+ SetLevelSyncCapacityByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
55
+ this.namespaceName = namespaceName;
56
+ return this;
57
+ };
58
+ SetLevelSyncCapacityByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
59
+ this.namespaceName = namespaceName;
60
+ return this;
61
+ };
62
+ SetLevelSyncCapacityByUserIdRequest.prototype.getUserId = function () {
63
+ return this.userId;
64
+ };
65
+ SetLevelSyncCapacityByUserIdRequest.prototype.setUserId = function (userId) {
66
+ this.userId = userId;
67
+ return this;
68
+ };
69
+ SetLevelSyncCapacityByUserIdRequest.prototype.withUserId = function (userId) {
70
+ this.userId = userId;
71
+ return this;
72
+ };
73
+ SetLevelSyncCapacityByUserIdRequest.prototype.getExperienceName = function () {
74
+ return this.experienceName;
75
+ };
76
+ SetLevelSyncCapacityByUserIdRequest.prototype.setExperienceName = function (experienceName) {
77
+ this.experienceName = experienceName;
78
+ return this;
79
+ };
80
+ SetLevelSyncCapacityByUserIdRequest.prototype.withExperienceName = function (experienceName) {
81
+ this.experienceName = experienceName;
82
+ return this;
83
+ };
84
+ SetLevelSyncCapacityByUserIdRequest.prototype.getCapacity = function () {
85
+ return this.capacity;
86
+ };
87
+ SetLevelSyncCapacityByUserIdRequest.prototype.setCapacity = function (capacity) {
88
+ this.capacity = capacity;
89
+ return this;
90
+ };
91
+ SetLevelSyncCapacityByUserIdRequest.prototype.withCapacity = function (capacity) {
92
+ this.capacity = capacity;
93
+ return this;
94
+ };
95
+ SetLevelSyncCapacityByUserIdRequest.prototype.getTimeOffsetToken = function () {
96
+ return this.timeOffsetToken;
97
+ };
98
+ SetLevelSyncCapacityByUserIdRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
99
+ this.timeOffsetToken = timeOffsetToken;
100
+ return this;
101
+ };
102
+ SetLevelSyncCapacityByUserIdRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
103
+ this.timeOffsetToken = timeOffsetToken;
104
+ return this;
105
+ };
106
+ SetLevelSyncCapacityByUserIdRequest.prototype.getDuplicationAvoider = function () {
107
+ return this.duplicationAvoider;
108
+ };
109
+ SetLevelSyncCapacityByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
110
+ this.duplicationAvoider = duplicationAvoider;
111
+ return this;
112
+ };
113
+ SetLevelSyncCapacityByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
114
+ this.duplicationAvoider = duplicationAvoider;
115
+ return this;
116
+ };
117
+ SetLevelSyncCapacityByUserIdRequest.fromDict = function (data) {
118
+ return new SetLevelSyncCapacityByUserIdRequest()
119
+ .withNamespaceName(data["namespaceName"])
120
+ .withUserId(data["userId"])
121
+ .withExperienceName(data["experienceName"])
122
+ .withCapacity(data["capacity"])
123
+ .withTimeOffsetToken(data["timeOffsetToken"]);
124
+ };
125
+ SetLevelSyncCapacityByUserIdRequest.prototype.toDict = function () {
126
+ return {
127
+ "namespaceName": this.getNamespaceName(),
128
+ "userId": this.getUserId(),
129
+ "experienceName": this.getExperienceName(),
130
+ "capacity": this.getCapacity(),
131
+ "timeOffsetToken": this.getTimeOffsetToken(),
132
+ };
133
+ };
134
+ return SetLevelSyncCapacityByUserIdRequest;
135
+ }());
136
+ exports.default = SetLevelSyncCapacityByUserIdRequest;
137
+ //# sourceMappingURL=SetLevelSyncCapacityByUserIdRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetLevelSyncCapacityByUserIdRequest.js","sourceRoot":"","sources":["../../../src/experience/request/SetLevelSyncCapacityByUserIdRequest.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,mBAAc,GAAgB,IAAI,CAAC;QACnC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,oBAAe,GAAgB,IAAI,CAAC;QACpC,uBAAkB,GAAgB,IAAI,CAAC;IAqHnD,CAAC;IAnHU,0DAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,0DAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2DAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IA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OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,EAAE;YAC1C,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,0CAAC;AAAD,CAAC,AA9HD,IA8HC"}
@@ -0,0 +1,37 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class SetLevelSyncRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private accessToken;
7
+ private experienceName;
8
+ private propertyIds;
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
+ getAccessToken(): string | null;
20
+ setAccessToken(accessToken: string | null): this;
21
+ withAccessToken(accessToken: string | null): this;
22
+ getExperienceName(): string | null;
23
+ setExperienceName(experienceName: string | null): this;
24
+ withExperienceName(experienceName: string | null): this;
25
+ getPropertyIds(): string[] | null;
26
+ setPropertyIds(propertyIds: string[] | null): this;
27
+ withPropertyIds(propertyIds: 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
+ }): SetLevelSyncRequest;
34
+ toDict(): {
35
+ [key: string]: any;
36
+ };
37
+ }
@@ -0,0 +1,129 @@
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 SetLevelSyncRequest = /** @class */ (function () {
19
+ function SetLevelSyncRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.accessToken = null;
24
+ this.experienceName = null;
25
+ this.propertyIds = null;
26
+ this.duplicationAvoider = null;
27
+ }
28
+ SetLevelSyncRequest.prototype.getRequestId = function () {
29
+ return this.requestId;
30
+ };
31
+ SetLevelSyncRequest.prototype.setRequestId = function (requestId) {
32
+ this.requestId = requestId;
33
+ return this;
34
+ };
35
+ SetLevelSyncRequest.prototype.withRequestId = function (requestId) {
36
+ this.requestId = requestId;
37
+ return this;
38
+ };
39
+ SetLevelSyncRequest.prototype.getContextStack = function () {
40
+ return this.contextStack;
41
+ };
42
+ SetLevelSyncRequest.prototype.setContextStack = function (contextStack) {
43
+ this.contextStack = contextStack;
44
+ return this;
45
+ };
46
+ SetLevelSyncRequest.prototype.withContextStack = function (contextStack) {
47
+ this.contextStack = contextStack;
48
+ return this;
49
+ };
50
+ SetLevelSyncRequest.prototype.getNamespaceName = function () {
51
+ return this.namespaceName;
52
+ };
53
+ SetLevelSyncRequest.prototype.setNamespaceName = function (namespaceName) {
54
+ this.namespaceName = namespaceName;
55
+ return this;
56
+ };
57
+ SetLevelSyncRequest.prototype.withNamespaceName = function (namespaceName) {
58
+ this.namespaceName = namespaceName;
59
+ return this;
60
+ };
61
+ SetLevelSyncRequest.prototype.getAccessToken = function () {
62
+ return this.accessToken;
63
+ };
64
+ SetLevelSyncRequest.prototype.setAccessToken = function (accessToken) {
65
+ this.accessToken = accessToken;
66
+ return this;
67
+ };
68
+ SetLevelSyncRequest.prototype.withAccessToken = function (accessToken) {
69
+ this.accessToken = accessToken;
70
+ return this;
71
+ };
72
+ SetLevelSyncRequest.prototype.getExperienceName = function () {
73
+ return this.experienceName;
74
+ };
75
+ SetLevelSyncRequest.prototype.setExperienceName = function (experienceName) {
76
+ this.experienceName = experienceName;
77
+ return this;
78
+ };
79
+ SetLevelSyncRequest.prototype.withExperienceName = function (experienceName) {
80
+ this.experienceName = experienceName;
81
+ return this;
82
+ };
83
+ SetLevelSyncRequest.prototype.getPropertyIds = function () {
84
+ return this.propertyIds;
85
+ };
86
+ SetLevelSyncRequest.prototype.setPropertyIds = function (propertyIds) {
87
+ this.propertyIds = propertyIds;
88
+ return this;
89
+ };
90
+ SetLevelSyncRequest.prototype.withPropertyIds = function (propertyIds) {
91
+ this.propertyIds = propertyIds;
92
+ return this;
93
+ };
94
+ SetLevelSyncRequest.prototype.getDuplicationAvoider = function () {
95
+ return this.duplicationAvoider;
96
+ };
97
+ SetLevelSyncRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
98
+ this.duplicationAvoider = duplicationAvoider;
99
+ return this;
100
+ };
101
+ SetLevelSyncRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
102
+ this.duplicationAvoider = duplicationAvoider;
103
+ return this;
104
+ };
105
+ SetLevelSyncRequest.fromDict = function (data) {
106
+ return new SetLevelSyncRequest()
107
+ .withNamespaceName(data["namespaceName"])
108
+ .withAccessToken(data["accessToken"])
109
+ .withExperienceName(data["experienceName"])
110
+ .withPropertyIds(data.propertyIds ?
111
+ data.propertyIds.map(function (item) {
112
+ return item;
113
+ }) : null);
114
+ };
115
+ SetLevelSyncRequest.prototype.toDict = function () {
116
+ return {
117
+ "namespaceName": this.getNamespaceName(),
118
+ "accessToken": this.getAccessToken(),
119
+ "experienceName": this.getExperienceName(),
120
+ "propertyIds": this.getPropertyIds() ?
121
+ this.getPropertyIds().map(function (item) {
122
+ return item;
123
+ }) : null,
124
+ };
125
+ };
126
+ return SetLevelSyncRequest;
127
+ }());
128
+ exports.default = SetLevelSyncRequest;
129
+ //# sourceMappingURL=SetLevelSyncRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetLevelSyncRequest.js","sourceRoot":"","sources":["../../../src/experience/request/SetLevelSyncRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,mBAAc,GAAgB,IAAI,CAAC;QACnC,gBAAW,GAAkB,IAAI,CAAC;QAClC,uBAAkB,GAAgB,IAAI,CAAC;IAgHnD,CAAC;IA9GU,0CAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,0CAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2CAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,6CAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8CAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8CAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,8CAAgB,GAAvB,UAAwB,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CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oDAAsB,GAA7B,UAA8B,kBAA+B;QACzD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,4BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,mBAAmB,EAAE;aAC3B,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;aACpC,kBAAkB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;aAC1C,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC/B,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,UAAC,IAA0B;gBAC5C,OAAO,IAAI,CAAC;YAChB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC;IAEM,oCAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,EAAE;YAC1C,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC;gBAClC,IAAI,CAAC,cAAc,EAAG,CAAC,GAAG,CAAC,UAAC,IAAY;oBACpC,OAAO,IAAI,CAAC;gBAChB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;SACX,CAAC;IACN,CAAC;IACL,0BAAC;AAAD,CAAC,AAxHD,IAwHC"}
@@ -0,0 +1,25 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class SubLevelSyncCapacityByStampTaskRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private stampTask;
6
+ private keyId;
7
+ getRequestId(): string | null;
8
+ setRequestId(requestId: string | null): this;
9
+ withRequestId(requestId: string | null): this;
10
+ getContextStack(): string | null;
11
+ setContextStack(contextStack: string | null): this;
12
+ withContextStack(contextStack: string | null): this;
13
+ getStampTask(): string | null;
14
+ setStampTask(stampTask: string | null): this;
15
+ withStampTask(stampTask: string | null): this;
16
+ getKeyId(): string | null;
17
+ setKeyId(keyId: string | null): this;
18
+ withKeyId(keyId: string | null): this;
19
+ static fromDict(data: {
20
+ [key: string]: any;
21
+ }): SubLevelSyncCapacityByStampTaskRequest;
22
+ toDict(): {
23
+ [key: string]: any;
24
+ };
25
+ }