gs2 1.3.260 → 1.3.262

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 (120) hide show
  1. package/account/model/PlatformId.d.ts +40 -0
  2. package/account/model/PlatformId.js +205 -0
  3. package/account/model/PlatformId.js.map +1 -0
  4. package/account/model/PlatformId.ts +221 -0
  5. package/account/model/PlatformUser.d.ts +21 -0
  6. package/account/model/PlatformUser.js +76 -0
  7. package/account/model/PlatformUser.js.map +1 -0
  8. package/account/model/PlatformUser.ts +74 -0
  9. package/account/model/index.d.ts +3 -1
  10. package/account/model/index.js +5 -1
  11. package/account/model/index.js.map +1 -1
  12. package/account/model/index.ts +4 -0
  13. package/account/request/CreatePlatformIdByUserIdRequest.d.ts +41 -0
  14. package/account/request/CreatePlatformIdByUserIdRequest.js +137 -0
  15. package/account/request/CreatePlatformIdByUserIdRequest.js.map +1 -0
  16. package/account/request/CreatePlatformIdByUserIdRequest.ts +147 -0
  17. package/account/request/CreatePlatformIdRequest.d.ts +37 -0
  18. package/account/request/CreatePlatformIdRequest.js +123 -0
  19. package/account/request/CreatePlatformIdRequest.js.map +1 -0
  20. package/account/request/CreatePlatformIdRequest.ts +133 -0
  21. package/account/request/DeletePlatformIdByUserIdRequest.d.ts +37 -0
  22. package/account/request/DeletePlatformIdByUserIdRequest.js +123 -0
  23. package/account/request/DeletePlatformIdByUserIdRequest.js.map +1 -0
  24. package/account/request/DeletePlatformIdByUserIdRequest.ts +133 -0
  25. package/account/request/DeletePlatformIdByUserIdentifierRequest.d.ts +33 -0
  26. package/account/request/DeletePlatformIdByUserIdentifierRequest.js +109 -0
  27. package/account/request/DeletePlatformIdByUserIdentifierRequest.js.map +1 -0
  28. package/account/request/DeletePlatformIdByUserIdentifierRequest.ts +119 -0
  29. package/account/request/DeletePlatformIdRequest.d.ts +37 -0
  30. package/account/request/DeletePlatformIdRequest.js +123 -0
  31. package/account/request/DeletePlatformIdRequest.js.map +1 -0
  32. package/account/request/DeletePlatformIdRequest.ts +133 -0
  33. package/account/request/DescribePlatformIdsByUserIdRequest.d.ts +37 -0
  34. package/account/request/DescribePlatformIdsByUserIdRequest.js +125 -0
  35. package/account/request/DescribePlatformIdsByUserIdRequest.js.map +1 -0
  36. package/account/request/DescribePlatformIdsByUserIdRequest.ts +132 -0
  37. package/account/request/DescribePlatformIdsRequest.d.ts +33 -0
  38. package/account/request/DescribePlatformIdsRequest.js +111 -0
  39. package/account/request/DescribePlatformIdsRequest.js.map +1 -0
  40. package/account/request/DescribePlatformIdsRequest.ts +118 -0
  41. package/account/request/FindPlatformIdByUserIdRequest.d.ts +41 -0
  42. package/account/request/FindPlatformIdByUserIdRequest.js +137 -0
  43. package/account/request/FindPlatformIdByUserIdRequest.js.map +1 -0
  44. package/account/request/FindPlatformIdByUserIdRequest.ts +147 -0
  45. package/account/request/FindPlatformIdRequest.d.ts +37 -0
  46. package/account/request/FindPlatformIdRequest.js +123 -0
  47. package/account/request/FindPlatformIdRequest.js.map +1 -0
  48. package/account/request/FindPlatformIdRequest.ts +133 -0
  49. package/account/request/GetPlatformIdByUserIdRequest.d.ts +33 -0
  50. package/account/request/GetPlatformIdByUserIdRequest.js +111 -0
  51. package/account/request/GetPlatformIdByUserIdRequest.js.map +1 -0
  52. package/account/request/GetPlatformIdByUserIdRequest.ts +118 -0
  53. package/account/request/GetPlatformIdRequest.d.ts +29 -0
  54. package/account/request/GetPlatformIdRequest.js +97 -0
  55. package/account/request/GetPlatformIdRequest.js.map +1 -0
  56. package/account/request/GetPlatformIdRequest.ts +104 -0
  57. package/account/request/index.d.ts +12 -1
  58. package/account/request/index.js +23 -1
  59. package/account/request/index.js.map +1 -1
  60. package/account/request/index.ts +22 -0
  61. package/account/rest.d.ts +11 -0
  62. package/account/rest.js +325 -0
  63. package/account/rest.js.map +1 -1
  64. package/account/rest.ts +369 -0
  65. package/account/result/CreatePlatformIdByUserIdResult.d.ts +14 -0
  66. package/account/result/CreatePlatformIdByUserIdResult.js +48 -0
  67. package/account/result/CreatePlatformIdByUserIdResult.js.map +1 -0
  68. package/account/result/CreatePlatformIdByUserIdResult.ts +47 -0
  69. package/account/result/CreatePlatformIdResult.d.ts +14 -0
  70. package/account/result/CreatePlatformIdResult.js +48 -0
  71. package/account/result/CreatePlatformIdResult.js.map +1 -0
  72. package/account/result/CreatePlatformIdResult.ts +47 -0
  73. package/account/result/DeletePlatformIdByUserIdResult.d.ts +14 -0
  74. package/account/result/DeletePlatformIdByUserIdResult.js +48 -0
  75. package/account/result/DeletePlatformIdByUserIdResult.js.map +1 -0
  76. package/account/result/DeletePlatformIdByUserIdResult.ts +47 -0
  77. package/account/result/DeletePlatformIdByUserIdentifierResult.d.ts +14 -0
  78. package/account/result/DeletePlatformIdByUserIdentifierResult.js +48 -0
  79. package/account/result/DeletePlatformIdByUserIdentifierResult.js.map +1 -0
  80. package/account/result/DeletePlatformIdByUserIdentifierResult.ts +47 -0
  81. package/account/result/DeletePlatformIdResult.d.ts +14 -0
  82. package/account/result/DeletePlatformIdResult.js +48 -0
  83. package/account/result/DeletePlatformIdResult.js.map +1 -0
  84. package/account/result/DeletePlatformIdResult.ts +47 -0
  85. package/account/result/DescribePlatformIdsByUserIdResult.d.ts +18 -0
  86. package/account/result/DescribePlatformIdsByUserIdResult.js +67 -0
  87. package/account/result/DescribePlatformIdsByUserIdResult.js.map +1 -0
  88. package/account/result/DescribePlatformIdsByUserIdResult.ts +72 -0
  89. package/account/result/DescribePlatformIdsResult.d.ts +18 -0
  90. package/account/result/DescribePlatformIdsResult.js +67 -0
  91. package/account/result/DescribePlatformIdsResult.js.map +1 -0
  92. package/account/result/DescribePlatformIdsResult.ts +72 -0
  93. package/account/result/FindPlatformIdByUserIdResult.d.ts +14 -0
  94. package/account/result/FindPlatformIdByUserIdResult.js +48 -0
  95. package/account/result/FindPlatformIdByUserIdResult.js.map +1 -0
  96. package/account/result/FindPlatformIdByUserIdResult.ts +47 -0
  97. package/account/result/FindPlatformIdResult.d.ts +14 -0
  98. package/account/result/FindPlatformIdResult.js +48 -0
  99. package/account/result/FindPlatformIdResult.js.map +1 -0
  100. package/account/result/FindPlatformIdResult.ts +47 -0
  101. package/account/result/GetPlatformIdByUserIdResult.d.ts +14 -0
  102. package/account/result/GetPlatformIdByUserIdResult.js +48 -0
  103. package/account/result/GetPlatformIdByUserIdResult.js.map +1 -0
  104. package/account/result/GetPlatformIdByUserIdResult.ts +47 -0
  105. package/account/result/GetPlatformIdResult.d.ts +14 -0
  106. package/account/result/GetPlatformIdResult.js +48 -0
  107. package/account/result/GetPlatformIdResult.js.map +1 -0
  108. package/account/result/GetPlatformIdResult.ts +47 -0
  109. package/account/result/index.d.ts +12 -1
  110. package/account/result/index.js +23 -1
  111. package/account/result/index.js.map +1 -1
  112. package/account/result/index.ts +22 -0
  113. package/identifier/request/LoginRequest.js +2 -2
  114. package/identifier/request/LoginRequest.js.map +1 -1
  115. package/identifier/request/LoginRequest.ts +2 -2
  116. package/package.json +1 -1
  117. package/schedule/model/RepeatSetting.d.ts +12 -0
  118. package/schedule/model/RepeatSetting.js +43 -1
  119. package/schedule/model/RepeatSetting.js.map +1 -1
  120. package/schedule/model/RepeatSetting.ts +43 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LogSetting = exports.ScriptSetting = exports.BanStatus = exports.DataOwner = exports.TakeOver = exports.Account = exports.Namespace = void 0;
3
+ exports.LogSetting = exports.ScriptSetting = exports.BanStatus = exports.PlatformUser = exports.DataOwner = exports.PlatformId = exports.TakeOver = exports.Account = exports.Namespace = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  /*
6
6
  Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
@@ -23,8 +23,12 @@ var Account_1 = tslib_1.__importDefault(require("./Account"));
23
23
  exports.Account = Account_1.default;
24
24
  var TakeOver_1 = tslib_1.__importDefault(require("./TakeOver"));
25
25
  exports.TakeOver = TakeOver_1.default;
26
+ var PlatformId_1 = tslib_1.__importDefault(require("./PlatformId"));
27
+ exports.PlatformId = PlatformId_1.default;
26
28
  var DataOwner_1 = tslib_1.__importDefault(require("./DataOwner"));
27
29
  exports.DataOwner = DataOwner_1.default;
30
+ var PlatformUser_1 = tslib_1.__importDefault(require("./PlatformUser"));
31
+ exports.PlatformUser = PlatformUser_1.default;
28
32
  var BanStatus_1 = tslib_1.__importDefault(require("./BanStatus"));
29
33
  exports.BanStatus = BanStatus_1.default;
30
34
  var ScriptSetting_1 = tslib_1.__importDefault(require("./ScriptSetting"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;AAS/B,oBATG,mBAAS,CASH;AARb,8DAA+B;AAS3B,kBATG,iBAAO,CASH;AARX,gEAAiC;AAS7B,mBATG,kBAAQ,CASH;AARZ,kEAAmC;AAS/B,oBATG,mBAAS,CASH;AARb,kEAAmC;AAS/B,oBATG,mBAAS,CASH;AARb,0EAA2C;AASvC,wBATG,uBAAa,CASH;AARjB,oEAAqC;AASjC,qBATG,oBAAU,CASH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;AAW/B,oBAXG,mBAAS,CAWH;AAVb,8DAA+B;AAW3B,kBAXG,iBAAO,CAWH;AAVX,gEAAiC;AAW7B,mBAXG,kBAAQ,CAWH;AAVZ,oEAAqC;AAWjC,qBAXG,oBAAU,CAWH;AAVd,kEAAmC;AAW/B,oBAXG,mBAAS,CAWH;AAVb,wEAAyC;AAWrC,uBAXG,sBAAY,CAWH;AAVhB,kEAAmC;AAW/B,oBAXG,mBAAS,CAWH;AAVb,0EAA2C;AAWvC,wBAXG,uBAAa,CAWH;AAVjB,oEAAqC;AAWjC,qBAXG,oBAAU,CAWH"}
@@ -16,7 +16,9 @@ permissions and limitations under the License.
16
16
  import Namespace from "./Namespace"
17
17
  import Account from "./Account"
18
18
  import TakeOver from "./TakeOver"
19
+ import PlatformId from "./PlatformId"
19
20
  import DataOwner from "./DataOwner"
21
+ import PlatformUser from "./PlatformUser"
20
22
  import BanStatus from "./BanStatus"
21
23
  import ScriptSetting from "./ScriptSetting"
22
24
  import LogSetting from "./LogSetting"
@@ -25,7 +27,9 @@ export {
25
27
  Namespace,
26
28
  Account,
27
29
  TakeOver,
30
+ PlatformId,
28
31
  DataOwner,
32
+ PlatformUser,
29
33
  BanStatus,
30
34
  ScriptSetting,
31
35
  LogSetting,
@@ -0,0 +1,41 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class CreatePlatformIdByUserIdRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private userId;
7
+ private type;
8
+ private userIdentifier;
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
+ getType(): number | null;
24
+ setType(type: number | null): this;
25
+ withType(type: number | null): this;
26
+ getUserIdentifier(): string | null;
27
+ setUserIdentifier(userIdentifier: string | null): this;
28
+ withUserIdentifier(userIdentifier: string | 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
+ }): CreatePlatformIdByUserIdRequest;
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 CreatePlatformIdByUserIdRequest = /** @class */ (function () {
19
+ function CreatePlatformIdByUserIdRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.userId = null;
24
+ this.type = null;
25
+ this.userIdentifier = null;
26
+ this.timeOffsetToken = null;
27
+ this.duplicationAvoider = null;
28
+ }
29
+ CreatePlatformIdByUserIdRequest.prototype.getRequestId = function () {
30
+ return this.requestId;
31
+ };
32
+ CreatePlatformIdByUserIdRequest.prototype.setRequestId = function (requestId) {
33
+ this.requestId = requestId;
34
+ return this;
35
+ };
36
+ CreatePlatformIdByUserIdRequest.prototype.withRequestId = function (requestId) {
37
+ this.requestId = requestId;
38
+ return this;
39
+ };
40
+ CreatePlatformIdByUserIdRequest.prototype.getContextStack = function () {
41
+ return this.contextStack;
42
+ };
43
+ CreatePlatformIdByUserIdRequest.prototype.setContextStack = function (contextStack) {
44
+ this.contextStack = contextStack;
45
+ return this;
46
+ };
47
+ CreatePlatformIdByUserIdRequest.prototype.withContextStack = function (contextStack) {
48
+ this.contextStack = contextStack;
49
+ return this;
50
+ };
51
+ CreatePlatformIdByUserIdRequest.prototype.getNamespaceName = function () {
52
+ return this.namespaceName;
53
+ };
54
+ CreatePlatformIdByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
55
+ this.namespaceName = namespaceName;
56
+ return this;
57
+ };
58
+ CreatePlatformIdByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
59
+ this.namespaceName = namespaceName;
60
+ return this;
61
+ };
62
+ CreatePlatformIdByUserIdRequest.prototype.getUserId = function () {
63
+ return this.userId;
64
+ };
65
+ CreatePlatformIdByUserIdRequest.prototype.setUserId = function (userId) {
66
+ this.userId = userId;
67
+ return this;
68
+ };
69
+ CreatePlatformIdByUserIdRequest.prototype.withUserId = function (userId) {
70
+ this.userId = userId;
71
+ return this;
72
+ };
73
+ CreatePlatformIdByUserIdRequest.prototype.getType = function () {
74
+ return this.type;
75
+ };
76
+ CreatePlatformIdByUserIdRequest.prototype.setType = function (type) {
77
+ this.type = type;
78
+ return this;
79
+ };
80
+ CreatePlatformIdByUserIdRequest.prototype.withType = function (type) {
81
+ this.type = type;
82
+ return this;
83
+ };
84
+ CreatePlatformIdByUserIdRequest.prototype.getUserIdentifier = function () {
85
+ return this.userIdentifier;
86
+ };
87
+ CreatePlatformIdByUserIdRequest.prototype.setUserIdentifier = function (userIdentifier) {
88
+ this.userIdentifier = userIdentifier;
89
+ return this;
90
+ };
91
+ CreatePlatformIdByUserIdRequest.prototype.withUserIdentifier = function (userIdentifier) {
92
+ this.userIdentifier = userIdentifier;
93
+ return this;
94
+ };
95
+ CreatePlatformIdByUserIdRequest.prototype.getTimeOffsetToken = function () {
96
+ return this.timeOffsetToken;
97
+ };
98
+ CreatePlatformIdByUserIdRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
99
+ this.timeOffsetToken = timeOffsetToken;
100
+ return this;
101
+ };
102
+ CreatePlatformIdByUserIdRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
103
+ this.timeOffsetToken = timeOffsetToken;
104
+ return this;
105
+ };
106
+ CreatePlatformIdByUserIdRequest.prototype.getDuplicationAvoider = function () {
107
+ return this.duplicationAvoider;
108
+ };
109
+ CreatePlatformIdByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
110
+ this.duplicationAvoider = duplicationAvoider;
111
+ return this;
112
+ };
113
+ CreatePlatformIdByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
114
+ this.duplicationAvoider = duplicationAvoider;
115
+ return this;
116
+ };
117
+ CreatePlatformIdByUserIdRequest.fromDict = function (data) {
118
+ return new CreatePlatformIdByUserIdRequest()
119
+ .withNamespaceName(data["namespaceName"])
120
+ .withUserId(data["userId"])
121
+ .withType(data["type"])
122
+ .withUserIdentifier(data["userIdentifier"])
123
+ .withTimeOffsetToken(data["timeOffsetToken"]);
124
+ };
125
+ CreatePlatformIdByUserIdRequest.prototype.toDict = function () {
126
+ return {
127
+ "namespaceName": this.getNamespaceName(),
128
+ "userId": this.getUserId(),
129
+ "type": this.getType(),
130
+ "userIdentifier": this.getUserIdentifier(),
131
+ "timeOffsetToken": this.getTimeOffsetToken(),
132
+ };
133
+ };
134
+ return CreatePlatformIdByUserIdRequest;
135
+ }());
136
+ exports.default = CreatePlatformIdByUserIdRequest;
137
+ //# sourceMappingURL=CreatePlatformIdByUserIdRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreatePlatformIdByUserIdRequest.js","sourceRoot":"","sources":["CreatePlatformIdByUserIdRequest.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,SAAI,GAAgB,IAAI,CAAC;QACzB,mBAAc,GAAgB,IAAI,CAAC;QACnC,oBAAe,GAAgB,IAAI,CAAC;QACpC,uBAAkB,GAAgB,IAAI,CAAC;IAqHnD,CAAC;IAnHU,sDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IA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,CAAC;aAC1B,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;aACtB,kBAAkB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;aAC1C,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,CAAC;IAEM,gDAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,EAAE;YAC1C,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,sCAAC;AAAD,CAAC,AA9HD,IA8HC"}
@@ -0,0 +1,147 @@
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 IRequest from '../../core/interface/IRequest';
18
+
19
+ import * as Gs2Account from '../model'
20
+
21
+ export default class CreatePlatformIdByUserIdRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private userId: string|null = null;
27
+ private type: number|null = null;
28
+ private userIdentifier: string|null = null;
29
+ private timeOffsetToken: string|null = null;
30
+ private duplicationAvoider: string|null = null;
31
+
32
+ public getRequestId(): string|null {
33
+ return this.requestId;
34
+ }
35
+
36
+ public setRequestId(requestId: string|null) {
37
+ this.requestId = requestId;
38
+ return this;
39
+ }
40
+
41
+ public withRequestId(requestId: string|null): this {
42
+ this.requestId = requestId;
43
+ return this;
44
+ }
45
+
46
+ public getContextStack(): string|null {
47
+ return this.contextStack;
48
+ }
49
+
50
+ public setContextStack(contextStack: string|null) {
51
+ this.contextStack = contextStack;
52
+ return this;
53
+ }
54
+
55
+ public withContextStack(contextStack: string|null): this {
56
+ this.contextStack = contextStack;
57
+ return this;
58
+ }
59
+ public getNamespaceName(): string|null {
60
+ return this.namespaceName;
61
+ }
62
+ public setNamespaceName(namespaceName: string|null) {
63
+ this.namespaceName = namespaceName;
64
+ return this;
65
+ }
66
+ public withNamespaceName(namespaceName: string|null): this {
67
+ this.namespaceName = namespaceName;
68
+ return this;
69
+ }
70
+ public getUserId(): string|null {
71
+ return this.userId;
72
+ }
73
+ public setUserId(userId: string|null) {
74
+ this.userId = userId;
75
+ return this;
76
+ }
77
+ public withUserId(userId: string|null): this {
78
+ this.userId = userId;
79
+ return this;
80
+ }
81
+ public getType(): number|null {
82
+ return this.type;
83
+ }
84
+ public setType(type: number|null) {
85
+ this.type = type;
86
+ return this;
87
+ }
88
+ public withType(type: number|null): this {
89
+ this.type = type;
90
+ return this;
91
+ }
92
+ public getUserIdentifier(): string|null {
93
+ return this.userIdentifier;
94
+ }
95
+ public setUserIdentifier(userIdentifier: string|null) {
96
+ this.userIdentifier = userIdentifier;
97
+ return this;
98
+ }
99
+ public withUserIdentifier(userIdentifier: string|null): this {
100
+ this.userIdentifier = userIdentifier;
101
+ return this;
102
+ }
103
+ public getTimeOffsetToken(): string|null {
104
+ return this.timeOffsetToken;
105
+ }
106
+ public setTimeOffsetToken(timeOffsetToken: string|null) {
107
+ this.timeOffsetToken = timeOffsetToken;
108
+ return this;
109
+ }
110
+ public withTimeOffsetToken(timeOffsetToken: string|null): this {
111
+ this.timeOffsetToken = timeOffsetToken;
112
+ return this;
113
+ }
114
+
115
+ public getDuplicationAvoider(): string|null {
116
+ return this.duplicationAvoider;
117
+ }
118
+
119
+ public setDuplicationAvoider(duplicationAvoider: string|null) {
120
+ this.duplicationAvoider = duplicationAvoider;
121
+ return this;
122
+ }
123
+
124
+ public withDuplicationAvoider(duplicationAvoider: string|null): this {
125
+ this.duplicationAvoider = duplicationAvoider;
126
+ return this;
127
+ }
128
+
129
+ public static fromDict(data: {[key: string]: any}): CreatePlatformIdByUserIdRequest {
130
+ return new CreatePlatformIdByUserIdRequest()
131
+ .withNamespaceName(data["namespaceName"])
132
+ .withUserId(data["userId"])
133
+ .withType(data["type"])
134
+ .withUserIdentifier(data["userIdentifier"])
135
+ .withTimeOffsetToken(data["timeOffsetToken"]);
136
+ }
137
+
138
+ public toDict(): {[key: string]: any} {
139
+ return {
140
+ "namespaceName": this.getNamespaceName(),
141
+ "userId": this.getUserId(),
142
+ "type": this.getType(),
143
+ "userIdentifier": this.getUserIdentifier(),
144
+ "timeOffsetToken": this.getTimeOffsetToken(),
145
+ };
146
+ }
147
+ }
@@ -0,0 +1,37 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class CreatePlatformIdRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private accessToken;
7
+ private type;
8
+ private userIdentifier;
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
+ getType(): number | null;
23
+ setType(type: number | null): this;
24
+ withType(type: number | null): this;
25
+ getUserIdentifier(): string | null;
26
+ setUserIdentifier(userIdentifier: string | null): this;
27
+ withUserIdentifier(userIdentifier: 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
+ }): CreatePlatformIdRequest;
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 CreatePlatformIdRequest = /** @class */ (function () {
19
+ function CreatePlatformIdRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.accessToken = null;
24
+ this.type = null;
25
+ this.userIdentifier = null;
26
+ this.duplicationAvoider = null;
27
+ }
28
+ CreatePlatformIdRequest.prototype.getRequestId = function () {
29
+ return this.requestId;
30
+ };
31
+ CreatePlatformIdRequest.prototype.setRequestId = function (requestId) {
32
+ this.requestId = requestId;
33
+ return this;
34
+ };
35
+ CreatePlatformIdRequest.prototype.withRequestId = function (requestId) {
36
+ this.requestId = requestId;
37
+ return this;
38
+ };
39
+ CreatePlatformIdRequest.prototype.getContextStack = function () {
40
+ return this.contextStack;
41
+ };
42
+ CreatePlatformIdRequest.prototype.setContextStack = function (contextStack) {
43
+ this.contextStack = contextStack;
44
+ return this;
45
+ };
46
+ CreatePlatformIdRequest.prototype.withContextStack = function (contextStack) {
47
+ this.contextStack = contextStack;
48
+ return this;
49
+ };
50
+ CreatePlatformIdRequest.prototype.getNamespaceName = function () {
51
+ return this.namespaceName;
52
+ };
53
+ CreatePlatformIdRequest.prototype.setNamespaceName = function (namespaceName) {
54
+ this.namespaceName = namespaceName;
55
+ return this;
56
+ };
57
+ CreatePlatformIdRequest.prototype.withNamespaceName = function (namespaceName) {
58
+ this.namespaceName = namespaceName;
59
+ return this;
60
+ };
61
+ CreatePlatformIdRequest.prototype.getAccessToken = function () {
62
+ return this.accessToken;
63
+ };
64
+ CreatePlatformIdRequest.prototype.setAccessToken = function (accessToken) {
65
+ this.accessToken = accessToken;
66
+ return this;
67
+ };
68
+ CreatePlatformIdRequest.prototype.withAccessToken = function (accessToken) {
69
+ this.accessToken = accessToken;
70
+ return this;
71
+ };
72
+ CreatePlatformIdRequest.prototype.getType = function () {
73
+ return this.type;
74
+ };
75
+ CreatePlatformIdRequest.prototype.setType = function (type) {
76
+ this.type = type;
77
+ return this;
78
+ };
79
+ CreatePlatformIdRequest.prototype.withType = function (type) {
80
+ this.type = type;
81
+ return this;
82
+ };
83
+ CreatePlatformIdRequest.prototype.getUserIdentifier = function () {
84
+ return this.userIdentifier;
85
+ };
86
+ CreatePlatformIdRequest.prototype.setUserIdentifier = function (userIdentifier) {
87
+ this.userIdentifier = userIdentifier;
88
+ return this;
89
+ };
90
+ CreatePlatformIdRequest.prototype.withUserIdentifier = function (userIdentifier) {
91
+ this.userIdentifier = userIdentifier;
92
+ return this;
93
+ };
94
+ CreatePlatformIdRequest.prototype.getDuplicationAvoider = function () {
95
+ return this.duplicationAvoider;
96
+ };
97
+ CreatePlatformIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
98
+ this.duplicationAvoider = duplicationAvoider;
99
+ return this;
100
+ };
101
+ CreatePlatformIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
102
+ this.duplicationAvoider = duplicationAvoider;
103
+ return this;
104
+ };
105
+ CreatePlatformIdRequest.fromDict = function (data) {
106
+ return new CreatePlatformIdRequest()
107
+ .withNamespaceName(data["namespaceName"])
108
+ .withAccessToken(data["accessToken"])
109
+ .withType(data["type"])
110
+ .withUserIdentifier(data["userIdentifier"]);
111
+ };
112
+ CreatePlatformIdRequest.prototype.toDict = function () {
113
+ return {
114
+ "namespaceName": this.getNamespaceName(),
115
+ "accessToken": this.getAccessToken(),
116
+ "type": this.getType(),
117
+ "userIdentifier": this.getUserIdentifier(),
118
+ };
119
+ };
120
+ return CreatePlatformIdRequest;
121
+ }());
122
+ exports.default = CreatePlatformIdRequest;
123
+ //# sourceMappingURL=CreatePlatformIdRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreatePlatformIdRequest.js","sourceRoot":"","sources":["CreatePlatformIdRequest.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,SAAI,GAAgB,IAAI,CAAC;QACzB,mBAAc,GAAgB,IAAI,CAAC;QACnC,uBAAkB,GAAgB,IAAI,CAAC;IAwGnD,CAAC;IAtGU,8CAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,8CAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+CAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,iDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG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AAqB,GAA5B;QACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACnC,CAAC;IAEM,uDAAqB,GAA5B,UAA6B,kBAA+B;QACxD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wDAAsB,GAA7B,UAA8B,kBAA+B;QACzD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,gCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,uBAAuB,EAAE;aAC/B,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;aACpC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;aACtB,kBAAkB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACpD,CAAC;IAEM,wCAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,EAAE;SAC7C,CAAC;IACN,CAAC;IACL,8BAAC;AAAD,CAAC,AAhHD,IAgHC"}
@@ -0,0 +1,133 @@
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 IRequest from '../../core/interface/IRequest';
18
+
19
+ import * as Gs2Account from '../model'
20
+
21
+ export default class CreatePlatformIdRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private accessToken: string|null = null;
27
+ private type: number|null = null;
28
+ private userIdentifier: string|null = null;
29
+ private duplicationAvoider: string|null = null;
30
+
31
+ public getRequestId(): string|null {
32
+ return this.requestId;
33
+ }
34
+
35
+ public setRequestId(requestId: string|null) {
36
+ this.requestId = requestId;
37
+ return this;
38
+ }
39
+
40
+ public withRequestId(requestId: string|null): this {
41
+ this.requestId = requestId;
42
+ return this;
43
+ }
44
+
45
+ public getContextStack(): string|null {
46
+ return this.contextStack;
47
+ }
48
+
49
+ public setContextStack(contextStack: string|null) {
50
+ this.contextStack = contextStack;
51
+ return this;
52
+ }
53
+
54
+ public withContextStack(contextStack: string|null): this {
55
+ this.contextStack = contextStack;
56
+ return this;
57
+ }
58
+ public getNamespaceName(): string|null {
59
+ return this.namespaceName;
60
+ }
61
+ public setNamespaceName(namespaceName: string|null) {
62
+ this.namespaceName = namespaceName;
63
+ return this;
64
+ }
65
+ public withNamespaceName(namespaceName: string|null): this {
66
+ this.namespaceName = namespaceName;
67
+ return this;
68
+ }
69
+ public getAccessToken(): string|null {
70
+ return this.accessToken;
71
+ }
72
+ public setAccessToken(accessToken: string|null) {
73
+ this.accessToken = accessToken;
74
+ return this;
75
+ }
76
+ public withAccessToken(accessToken: string|null): this {
77
+ this.accessToken = accessToken;
78
+ return this;
79
+ }
80
+ public getType(): number|null {
81
+ return this.type;
82
+ }
83
+ public setType(type: number|null) {
84
+ this.type = type;
85
+ return this;
86
+ }
87
+ public withType(type: number|null): this {
88
+ this.type = type;
89
+ return this;
90
+ }
91
+ public getUserIdentifier(): string|null {
92
+ return this.userIdentifier;
93
+ }
94
+ public setUserIdentifier(userIdentifier: string|null) {
95
+ this.userIdentifier = userIdentifier;
96
+ return this;
97
+ }
98
+ public withUserIdentifier(userIdentifier: string|null): this {
99
+ this.userIdentifier = userIdentifier;
100
+ return this;
101
+ }
102
+
103
+ public getDuplicationAvoider(): string|null {
104
+ return this.duplicationAvoider;
105
+ }
106
+
107
+ public setDuplicationAvoider(duplicationAvoider: string|null) {
108
+ this.duplicationAvoider = duplicationAvoider;
109
+ return this;
110
+ }
111
+
112
+ public withDuplicationAvoider(duplicationAvoider: string|null): this {
113
+ this.duplicationAvoider = duplicationAvoider;
114
+ return this;
115
+ }
116
+
117
+ public static fromDict(data: {[key: string]: any}): CreatePlatformIdRequest {
118
+ return new CreatePlatformIdRequest()
119
+ .withNamespaceName(data["namespaceName"])
120
+ .withAccessToken(data["accessToken"])
121
+ .withType(data["type"])
122
+ .withUserIdentifier(data["userIdentifier"]);
123
+ }
124
+
125
+ public toDict(): {[key: string]: any} {
126
+ return {
127
+ "namespaceName": this.getNamespaceName(),
128
+ "accessToken": this.getAccessToken(),
129
+ "type": this.getType(),
130
+ "userIdentifier": this.getUserIdentifier(),
131
+ };
132
+ }
133
+ }