gs2 1.4.21 → 1.4.22

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/dictionary/model/Entry.d.ts +2 -2
  2. package/dictionary/model/Entry.js +10 -10
  3. package/dictionary/model/Entry.js.map +1 -1
  4. package/dictionary/model/Entry.ts +10 -10
  5. package/dictionary/model/EntryModel.d.ts +2 -2
  6. package/dictionary/model/EntryModel.js +9 -9
  7. package/dictionary/model/EntryModel.js.map +1 -1
  8. package/dictionary/model/EntryModel.ts +9 -9
  9. package/dictionary/model/EntryModelMaster.d.ts +2 -2
  10. package/dictionary/model/EntryModelMaster.js +9 -9
  11. package/dictionary/model/EntryModelMaster.js.map +1 -1
  12. package/dictionary/model/EntryModelMaster.ts +9 -9
  13. package/guild/request/SearchGuildsByUserIdRequest.d.ts +4 -0
  14. package/guild/request/SearchGuildsByUserIdRequest.js +14 -0
  15. package/guild/request/SearchGuildsByUserIdRequest.js.map +1 -1
  16. package/guild/request/SearchGuildsByUserIdRequest.ts +14 -0
  17. package/guild/request/SearchGuildsRequest.d.ts +4 -0
  18. package/guild/request/SearchGuildsRequest.js +14 -0
  19. package/guild/request/SearchGuildsRequest.js.map +1 -1
  20. package/guild/request/SearchGuildsRequest.ts +14 -0
  21. package/guild/rest.js +8 -6
  22. package/guild/rest.js.map +1 -1
  23. package/guild/rest.ts +2 -0
  24. package/log/request/QueryAccessLogRequest.d.ts +0 -4
  25. package/log/request/QueryAccessLogRequest.js +0 -12
  26. package/log/request/QueryAccessLogRequest.js.map +1 -1
  27. package/log/request/QueryAccessLogRequest.ts +0 -15
  28. package/log/request/QueryAccessLogWithTelemetryRequest.d.ts +0 -4
  29. package/log/request/QueryAccessLogWithTelemetryRequest.js +0 -12
  30. package/log/request/QueryAccessLogWithTelemetryRequest.js.map +1 -1
  31. package/log/request/QueryAccessLogWithTelemetryRequest.ts +0 -15
  32. package/log/request/QueryExecuteStampSheetLogRequest.d.ts +0 -4
  33. package/log/request/QueryExecuteStampSheetLogRequest.js +0 -12
  34. package/log/request/QueryExecuteStampSheetLogRequest.js.map +1 -1
  35. package/log/request/QueryExecuteStampSheetLogRequest.ts +0 -15
  36. package/log/request/QueryExecuteStampTaskLogRequest.d.ts +0 -4
  37. package/log/request/QueryExecuteStampTaskLogRequest.js +0 -12
  38. package/log/request/QueryExecuteStampTaskLogRequest.js.map +1 -1
  39. package/log/request/QueryExecuteStampTaskLogRequest.ts +0 -15
  40. package/log/request/QueryIssueStampSheetLogRequest.d.ts +0 -4
  41. package/log/request/QueryIssueStampSheetLogRequest.js +0 -12
  42. package/log/request/QueryIssueStampSheetLogRequest.js.map +1 -1
  43. package/log/request/QueryIssueStampSheetLogRequest.ts +0 -15
  44. package/log/rest.js +56 -71
  45. package/log/rest.js.map +1 -1
  46. package/log/rest.ts +0 -15
  47. package/package.json +1 -1
  48. package/script/request/InvokeByStampSheetRequest.d.ts +25 -0
  49. package/script/request/InvokeByStampSheetRequest.js +83 -0
  50. package/script/request/InvokeByStampSheetRequest.js.map +1 -0
  51. package/script/request/InvokeByStampSheetRequest.ts +90 -0
  52. package/script/request/InvokeScriptRequest.d.ts +4 -0
  53. package/script/request/InvokeScriptRequest.js +12 -0
  54. package/script/request/InvokeScriptRequest.js.map +1 -1
  55. package/script/request/InvokeScriptRequest.ts +15 -0
  56. package/script/request/index.d.ts +2 -1
  57. package/script/request/index.js +3 -1
  58. package/script/request/index.js.map +1 -1
  59. package/script/request/index.ts +2 -0
  60. package/script/rest.d.ts +1 -0
  61. package/script/rest.js +37 -7
  62. package/script/rest.js.map +1 -1
  63. package/script/rest.ts +34 -0
  64. package/script/result/InvokeByStampSheetResult.d.ts +38 -0
  65. package/script/result/InvokeByStampSheetResult.js +138 -0
  66. package/script/result/InvokeByStampSheetResult.js.map +1 -0
  67. package/script/result/InvokeByStampSheetResult.ts +157 -0
  68. package/script/result/index.d.ts +2 -1
  69. package/script/result/index.js +3 -1
  70. package/script/result/index.js.map +1 -1
  71. package/script/result/index.ts +2 -0
  72. package/serialKey/request/IssueOnceRequest.d.ts +29 -0
  73. package/serialKey/request/IssueOnceRequest.js +97 -0
  74. package/serialKey/request/IssueOnceRequest.js.map +1 -0
  75. package/serialKey/request/IssueOnceRequest.ts +104 -0
  76. package/serialKey/request/VerifyByStampTaskRequest.d.ts +25 -0
  77. package/serialKey/request/VerifyByStampTaskRequest.js +83 -0
  78. package/serialKey/request/VerifyByStampTaskRequest.js.map +1 -0
  79. package/serialKey/request/VerifyByStampTaskRequest.ts +90 -0
  80. package/serialKey/request/VerifyCodeByUserIdRequest.d.ts +41 -0
  81. package/serialKey/request/VerifyCodeByUserIdRequest.js +137 -0
  82. package/serialKey/request/VerifyCodeByUserIdRequest.js.map +1 -0
  83. package/serialKey/request/VerifyCodeByUserIdRequest.ts +147 -0
  84. package/serialKey/request/VerifyCodeRequest.d.ts +37 -0
  85. package/serialKey/request/VerifyCodeRequest.js +123 -0
  86. package/serialKey/request/VerifyCodeRequest.js.map +1 -0
  87. package/serialKey/request/VerifyCodeRequest.ts +133 -0
  88. package/serialKey/request/index.d.ts +5 -1
  89. package/serialKey/request/index.js +9 -1
  90. package/serialKey/request/index.js.map +1 -1
  91. package/serialKey/request/index.ts +8 -0
  92. package/serialKey/rest.d.ts +4 -0
  93. package/serialKey/rest.js +124 -0
  94. package/serialKey/rest.js.map +1 -1
  95. package/serialKey/rest.ts +140 -0
  96. package/serialKey/result/IssueOnceResult.d.ts +14 -0
  97. package/serialKey/result/IssueOnceResult.js +48 -0
  98. package/serialKey/result/IssueOnceResult.js.map +1 -0
  99. package/serialKey/result/IssueOnceResult.ts +47 -0
  100. package/serialKey/result/VerifyByStampTaskResult.d.ts +18 -0
  101. package/serialKey/result/VerifyByStampTaskResult.js +62 -0
  102. package/serialKey/result/VerifyByStampTaskResult.js.map +1 -0
  103. package/serialKey/result/VerifyByStampTaskResult.ts +64 -0
  104. package/serialKey/result/VerifyCodeByUserIdResult.d.ts +14 -0
  105. package/serialKey/result/VerifyCodeByUserIdResult.js +48 -0
  106. package/serialKey/result/VerifyCodeByUserIdResult.js.map +1 -0
  107. package/serialKey/result/VerifyCodeByUserIdResult.ts +47 -0
  108. package/serialKey/result/VerifyCodeResult.d.ts +14 -0
  109. package/serialKey/result/VerifyCodeResult.js +48 -0
  110. package/serialKey/result/VerifyCodeResult.js.map +1 -0
  111. package/serialKey/result/VerifyCodeResult.ts +47 -0
  112. package/serialKey/result/index.d.ts +5 -1
  113. package/serialKey/result/index.js +9 -1
  114. package/serialKey/result/index.js.map +1 -1
  115. package/serialKey/result/index.ts +8 -0
@@ -0,0 +1,157 @@
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 Gs2Script from '../model'
19
+
20
+ export default class InvokeByStampSheetResult implements IResult {
21
+ private code: number|null = null;
22
+ private result: string|null = null;
23
+ private transaction: Gs2Script.Transaction|null = null;
24
+ private randomStatus: Gs2Script.RandomStatus|null = null;
25
+ private executeTime: number|null = null;
26
+ private charged: number|null = null;
27
+ private output: string[]|null = null;
28
+
29
+ public getCode(): number|null {
30
+ return this.code;
31
+ }
32
+
33
+ public setCode(code: number|null) {
34
+ this.code = code;
35
+ return this;
36
+ }
37
+
38
+ public withCode(code: number|null): this {
39
+ this.code = code;
40
+ return this;
41
+ }
42
+
43
+ public getResult(): string|null {
44
+ return this.result;
45
+ }
46
+
47
+ public setResult(result: string|null) {
48
+ this.result = result;
49
+ return this;
50
+ }
51
+
52
+ public withResult(result: string|null): this {
53
+ this.result = result;
54
+ return this;
55
+ }
56
+
57
+ public getTransaction(): Gs2Script.Transaction|null {
58
+ return this.transaction;
59
+ }
60
+
61
+ public setTransaction(transaction: Gs2Script.Transaction|null) {
62
+ this.transaction = transaction;
63
+ return this;
64
+ }
65
+
66
+ public withTransaction(transaction: Gs2Script.Transaction|null): this {
67
+ this.transaction = transaction;
68
+ return this;
69
+ }
70
+
71
+ public getRandomStatus(): Gs2Script.RandomStatus|null {
72
+ return this.randomStatus;
73
+ }
74
+
75
+ public setRandomStatus(randomStatus: Gs2Script.RandomStatus|null) {
76
+ this.randomStatus = randomStatus;
77
+ return this;
78
+ }
79
+
80
+ public withRandomStatus(randomStatus: Gs2Script.RandomStatus|null): this {
81
+ this.randomStatus = randomStatus;
82
+ return this;
83
+ }
84
+
85
+ public getExecuteTime(): number|null {
86
+ return this.executeTime;
87
+ }
88
+
89
+ public setExecuteTime(executeTime: number|null) {
90
+ this.executeTime = executeTime;
91
+ return this;
92
+ }
93
+
94
+ public withExecuteTime(executeTime: number|null): this {
95
+ this.executeTime = executeTime;
96
+ return this;
97
+ }
98
+
99
+ public getCharged(): number|null {
100
+ return this.charged;
101
+ }
102
+
103
+ public setCharged(charged: number|null) {
104
+ this.charged = charged;
105
+ return this;
106
+ }
107
+
108
+ public withCharged(charged: number|null): this {
109
+ this.charged = charged;
110
+ return this;
111
+ }
112
+
113
+ public getOutput(): string[]|null {
114
+ return this.output;
115
+ }
116
+
117
+ public setOutput(output: string[]|null) {
118
+ this.output = output;
119
+ return this;
120
+ }
121
+
122
+ public withOutput(output: string[]|null): this {
123
+ this.output = output;
124
+ return this;
125
+ }
126
+
127
+ public static fromDict(data: {[key: string]: any}): InvokeByStampSheetResult {
128
+ return new InvokeByStampSheetResult()
129
+ .withCode(data["code"])
130
+ .withResult(data["result"])
131
+ .withTransaction(Gs2Script.Transaction.fromDict(data["transaction"]))
132
+ .withRandomStatus(Gs2Script.RandomStatus.fromDict(data["randomStatus"]))
133
+ .withExecuteTime(data["executeTime"])
134
+ .withCharged(data["charged"])
135
+ .withOutput(data.output ?
136
+ data.output.map((item: {[key: string]: any}) => {
137
+ return item;
138
+ }
139
+ ) : []);
140
+ }
141
+
142
+ public toDict(): {[key: string]: any} {
143
+ return {
144
+ "code": this.getCode(),
145
+ "result": this.getResult(),
146
+ "transaction": this.getTransaction()?.toDict(),
147
+ "randomStatus": this.getRandomStatus()?.toDict(),
148
+ "executeTime": this.getExecuteTime(),
149
+ "charged": this.getCharged(),
150
+ "output": this.getOutput() ?
151
+ this.getOutput()!.map((item: string) => {
152
+ return item;
153
+ }
154
+ ) : [],
155
+ };
156
+ }
157
+ }
@@ -13,4 +13,5 @@ import UpdateScriptFromGitHubResult from "./UpdateScriptFromGitHubResult";
13
13
  import DeleteScriptResult from "./DeleteScriptResult";
14
14
  import InvokeScriptResult from "./InvokeScriptResult";
15
15
  import DebugInvokeResult from "./DebugInvokeResult";
16
- export { DescribeNamespacesResult, CreateNamespaceResult, GetNamespaceStatusResult, GetNamespaceResult, UpdateNamespaceResult, DeleteNamespaceResult, DescribeScriptsResult, CreateScriptResult, CreateScriptFromGitHubResult, GetScriptResult, UpdateScriptResult, UpdateScriptFromGitHubResult, DeleteScriptResult, InvokeScriptResult, DebugInvokeResult, };
16
+ import InvokeByStampSheetResult from "./InvokeByStampSheetResult";
17
+ export { DescribeNamespacesResult, CreateNamespaceResult, GetNamespaceStatusResult, GetNamespaceResult, UpdateNamespaceResult, DeleteNamespaceResult, DescribeScriptsResult, CreateScriptResult, CreateScriptFromGitHubResult, GetScriptResult, UpdateScriptResult, UpdateScriptFromGitHubResult, DeleteScriptResult, InvokeScriptResult, DebugInvokeResult, InvokeByStampSheetResult, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DebugInvokeResult = exports.InvokeScriptResult = exports.DeleteScriptResult = exports.UpdateScriptFromGitHubResult = exports.UpdateScriptResult = exports.GetScriptResult = exports.CreateScriptFromGitHubResult = exports.CreateScriptResult = exports.DescribeScriptsResult = exports.DeleteNamespaceResult = exports.UpdateNamespaceResult = exports.GetNamespaceResult = exports.GetNamespaceStatusResult = exports.CreateNamespaceResult = exports.DescribeNamespacesResult = void 0;
3
+ exports.InvokeByStampSheetResult = exports.DebugInvokeResult = exports.InvokeScriptResult = exports.DeleteScriptResult = exports.UpdateScriptFromGitHubResult = exports.UpdateScriptResult = exports.GetScriptResult = exports.CreateScriptFromGitHubResult = exports.CreateScriptResult = exports.DescribeScriptsResult = exports.DeleteNamespaceResult = exports.UpdateNamespaceResult = exports.GetNamespaceResult = exports.GetNamespaceStatusResult = exports.CreateNamespaceResult = exports.DescribeNamespacesResult = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  /*
6
6
  Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
@@ -47,4 +47,6 @@ var InvokeScriptResult_1 = tslib_1.__importDefault(require("./InvokeScriptResult
47
47
  exports.InvokeScriptResult = InvokeScriptResult_1.default;
48
48
  var DebugInvokeResult_1 = tslib_1.__importDefault(require("./DebugInvokeResult"));
49
49
  exports.DebugInvokeResult = DebugInvokeResult_1.default;
50
+ var InvokeByStampSheetResult_1 = tslib_1.__importDefault(require("./InvokeByStampSheetResult"));
51
+ exports.InvokeByStampSheetResult = InvokeByStampSheetResult_1.default;
50
52
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gGAAiE;AAiB7D,mCAjBG,kCAAwB,CAiBH;AAhB5B,0FAA2D;AAiBvD,gCAjBG,+BAAqB,CAiBH;AAhBzB,gGAAiE;AAiB7D,mCAjBG,kCAAwB,CAiBH;AAhB5B,oFAAqD;AAiBjD,6BAjBG,4BAAkB,CAiBH;AAhBtB,0FAA2D;AAiBvD,gCAjBG,+BAAqB,CAiBH;AAhBzB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kBjD,6BAlBG,4BAAkB,CAkBH;AAjBtB,kFAAmD;AAkB/C,4BAlBG,2BAAiB,CAkBH;AAjBrB,gGAAiE;AAkB7D,mCAlBG,kCAAwB,CAkBH"}
@@ -28,6 +28,7 @@ import UpdateScriptFromGitHubResult from "./UpdateScriptFromGitHubResult"
28
28
  import DeleteScriptResult from "./DeleteScriptResult"
29
29
  import InvokeScriptResult from "./InvokeScriptResult"
30
30
  import DebugInvokeResult from "./DebugInvokeResult"
31
+ import InvokeByStampSheetResult from "./InvokeByStampSheetResult"
31
32
 
32
33
  export {
33
34
  DescribeNamespacesResult,
@@ -45,4 +46,5 @@ export {
45
46
  DeleteScriptResult,
46
47
  InvokeScriptResult,
47
48
  DebugInvokeResult,
49
+ InvokeByStampSheetResult,
48
50
  };
@@ -0,0 +1,29 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class IssueOnceRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private campaignModelName;
7
+ private metadata;
8
+ getRequestId(): string | null;
9
+ setRequestId(requestId: string | null): this;
10
+ withRequestId(requestId: string | null): this;
11
+ getContextStack(): string | null;
12
+ setContextStack(contextStack: string | null): this;
13
+ withContextStack(contextStack: string | null): this;
14
+ getNamespaceName(): string | null;
15
+ setNamespaceName(namespaceName: string | null): this;
16
+ withNamespaceName(namespaceName: string | null): this;
17
+ getCampaignModelName(): string | null;
18
+ setCampaignModelName(campaignModelName: string | null): this;
19
+ withCampaignModelName(campaignModelName: string | null): this;
20
+ getMetadata(): string | null;
21
+ setMetadata(metadata: string | null): this;
22
+ withMetadata(metadata: string | null): this;
23
+ static fromDict(data: {
24
+ [key: string]: any;
25
+ }): IssueOnceRequest;
26
+ toDict(): {
27
+ [key: string]: any;
28
+ };
29
+ }
@@ -0,0 +1,97 @@
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 IssueOnceRequest = /** @class */ (function () {
19
+ function IssueOnceRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.campaignModelName = null;
24
+ this.metadata = null;
25
+ }
26
+ IssueOnceRequest.prototype.getRequestId = function () {
27
+ return this.requestId;
28
+ };
29
+ IssueOnceRequest.prototype.setRequestId = function (requestId) {
30
+ this.requestId = requestId;
31
+ return this;
32
+ };
33
+ IssueOnceRequest.prototype.withRequestId = function (requestId) {
34
+ this.requestId = requestId;
35
+ return this;
36
+ };
37
+ IssueOnceRequest.prototype.getContextStack = function () {
38
+ return this.contextStack;
39
+ };
40
+ IssueOnceRequest.prototype.setContextStack = function (contextStack) {
41
+ this.contextStack = contextStack;
42
+ return this;
43
+ };
44
+ IssueOnceRequest.prototype.withContextStack = function (contextStack) {
45
+ this.contextStack = contextStack;
46
+ return this;
47
+ };
48
+ IssueOnceRequest.prototype.getNamespaceName = function () {
49
+ return this.namespaceName;
50
+ };
51
+ IssueOnceRequest.prototype.setNamespaceName = function (namespaceName) {
52
+ this.namespaceName = namespaceName;
53
+ return this;
54
+ };
55
+ IssueOnceRequest.prototype.withNamespaceName = function (namespaceName) {
56
+ this.namespaceName = namespaceName;
57
+ return this;
58
+ };
59
+ IssueOnceRequest.prototype.getCampaignModelName = function () {
60
+ return this.campaignModelName;
61
+ };
62
+ IssueOnceRequest.prototype.setCampaignModelName = function (campaignModelName) {
63
+ this.campaignModelName = campaignModelName;
64
+ return this;
65
+ };
66
+ IssueOnceRequest.prototype.withCampaignModelName = function (campaignModelName) {
67
+ this.campaignModelName = campaignModelName;
68
+ return this;
69
+ };
70
+ IssueOnceRequest.prototype.getMetadata = function () {
71
+ return this.metadata;
72
+ };
73
+ IssueOnceRequest.prototype.setMetadata = function (metadata) {
74
+ this.metadata = metadata;
75
+ return this;
76
+ };
77
+ IssueOnceRequest.prototype.withMetadata = function (metadata) {
78
+ this.metadata = metadata;
79
+ return this;
80
+ };
81
+ IssueOnceRequest.fromDict = function (data) {
82
+ return new IssueOnceRequest()
83
+ .withNamespaceName(data["namespaceName"])
84
+ .withCampaignModelName(data["campaignModelName"])
85
+ .withMetadata(data["metadata"]);
86
+ };
87
+ IssueOnceRequest.prototype.toDict = function () {
88
+ return {
89
+ "namespaceName": this.getNamespaceName(),
90
+ "campaignModelName": this.getCampaignModelName(),
91
+ "metadata": this.getMetadata(),
92
+ };
93
+ };
94
+ return IssueOnceRequest;
95
+ }());
96
+ exports.default = IssueOnceRequest;
97
+ //# sourceMappingURL=IssueOnceRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IssueOnceRequest.js","sourceRoot":"","sources":["IssueOnceRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,sBAAiB,GAAgB,IAAI,CAAC;QACtC,aAAQ,GAAgB,IAAI,CAAC;IA6EzC,CAAC;IA3EU,uCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,uCAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wCAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;I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A0B;QAC7C,OAAO,IAAI,gBAAgB,EAAE;aACxB,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,qBAAqB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;aAChD,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IACxC,CAAC;IAEM,iCAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,mBAAmB,EAAE,IAAI,CAAC,oBAAoB,EAAE;YAChD,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;SACjC,CAAC;IACN,CAAC;IACL,uBAAC;AAAD,CAAC,AAnFD,IAmFC"}
@@ -0,0 +1,104 @@
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 Gs2SerialKey from '../model'
20
+
21
+ export default class IssueOnceRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private campaignModelName: string|null = null;
27
+ private metadata: string|null = null;
28
+
29
+ public getRequestId(): string|null {
30
+ return this.requestId;
31
+ }
32
+
33
+ public setRequestId(requestId: string|null) {
34
+ this.requestId = requestId;
35
+ return this;
36
+ }
37
+
38
+ public withRequestId(requestId: string|null): this {
39
+ this.requestId = requestId;
40
+ return this;
41
+ }
42
+
43
+ public getContextStack(): string|null {
44
+ return this.contextStack;
45
+ }
46
+
47
+ public setContextStack(contextStack: string|null) {
48
+ this.contextStack = contextStack;
49
+ return this;
50
+ }
51
+
52
+ public withContextStack(contextStack: string|null): this {
53
+ this.contextStack = contextStack;
54
+ return this;
55
+ }
56
+ public getNamespaceName(): string|null {
57
+ return this.namespaceName;
58
+ }
59
+ public setNamespaceName(namespaceName: string|null) {
60
+ this.namespaceName = namespaceName;
61
+ return this;
62
+ }
63
+ public withNamespaceName(namespaceName: string|null): this {
64
+ this.namespaceName = namespaceName;
65
+ return this;
66
+ }
67
+ public getCampaignModelName(): string|null {
68
+ return this.campaignModelName;
69
+ }
70
+ public setCampaignModelName(campaignModelName: string|null) {
71
+ this.campaignModelName = campaignModelName;
72
+ return this;
73
+ }
74
+ public withCampaignModelName(campaignModelName: string|null): this {
75
+ this.campaignModelName = campaignModelName;
76
+ return this;
77
+ }
78
+ public getMetadata(): string|null {
79
+ return this.metadata;
80
+ }
81
+ public setMetadata(metadata: string|null) {
82
+ this.metadata = metadata;
83
+ return this;
84
+ }
85
+ public withMetadata(metadata: string|null): this {
86
+ this.metadata = metadata;
87
+ return this;
88
+ }
89
+
90
+ public static fromDict(data: {[key: string]: any}): IssueOnceRequest {
91
+ return new IssueOnceRequest()
92
+ .withNamespaceName(data["namespaceName"])
93
+ .withCampaignModelName(data["campaignModelName"])
94
+ .withMetadata(data["metadata"]);
95
+ }
96
+
97
+ public toDict(): {[key: string]: any} {
98
+ return {
99
+ "namespaceName": this.getNamespaceName(),
100
+ "campaignModelName": this.getCampaignModelName(),
101
+ "metadata": this.getMetadata(),
102
+ };
103
+ }
104
+ }
@@ -0,0 +1,25 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class VerifyByStampTaskRequest 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
+ }): VerifyByStampTaskRequest;
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 VerifyByStampTaskRequest = /** @class */ (function () {
19
+ function VerifyByStampTaskRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.stampTask = null;
23
+ this.keyId = null;
24
+ }
25
+ VerifyByStampTaskRequest.prototype.getRequestId = function () {
26
+ return this.requestId;
27
+ };
28
+ VerifyByStampTaskRequest.prototype.setRequestId = function (requestId) {
29
+ this.requestId = requestId;
30
+ return this;
31
+ };
32
+ VerifyByStampTaskRequest.prototype.withRequestId = function (requestId) {
33
+ this.requestId = requestId;
34
+ return this;
35
+ };
36
+ VerifyByStampTaskRequest.prototype.getContextStack = function () {
37
+ return this.contextStack;
38
+ };
39
+ VerifyByStampTaskRequest.prototype.setContextStack = function (contextStack) {
40
+ this.contextStack = contextStack;
41
+ return this;
42
+ };
43
+ VerifyByStampTaskRequest.prototype.withContextStack = function (contextStack) {
44
+ this.contextStack = contextStack;
45
+ return this;
46
+ };
47
+ VerifyByStampTaskRequest.prototype.getStampTask = function () {
48
+ return this.stampTask;
49
+ };
50
+ VerifyByStampTaskRequest.prototype.setStampTask = function (stampTask) {
51
+ this.stampTask = stampTask;
52
+ return this;
53
+ };
54
+ VerifyByStampTaskRequest.prototype.withStampTask = function (stampTask) {
55
+ this.stampTask = stampTask;
56
+ return this;
57
+ };
58
+ VerifyByStampTaskRequest.prototype.getKeyId = function () {
59
+ return this.keyId;
60
+ };
61
+ VerifyByStampTaskRequest.prototype.setKeyId = function (keyId) {
62
+ this.keyId = keyId;
63
+ return this;
64
+ };
65
+ VerifyByStampTaskRequest.prototype.withKeyId = function (keyId) {
66
+ this.keyId = keyId;
67
+ return this;
68
+ };
69
+ VerifyByStampTaskRequest.fromDict = function (data) {
70
+ return new VerifyByStampTaskRequest()
71
+ .withStampTask(data["stampTask"])
72
+ .withKeyId(data["keyId"]);
73
+ };
74
+ VerifyByStampTaskRequest.prototype.toDict = function () {
75
+ return {
76
+ "stampTask": this.getStampTask(),
77
+ "keyId": this.getKeyId(),
78
+ };
79
+ };
80
+ return VerifyByStampTaskRequest;
81
+ }());
82
+ exports.default = VerifyByStampTaskRequest;
83
+ //# sourceMappingURL=VerifyByStampTaskRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyByStampTaskRequest.js","sourceRoot":"","sources":["VerifyByStampTaskRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,cAAS,GAAgB,IAAI,CAAC;QAC9B,UAAK,GAAgB,IAAI,CAAC;IAgEtC,CAAC;IA9DU,+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,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EAAE;YAChC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,+BAAC;AAAD,CAAC,AArED,IAqEC"}
@@ -0,0 +1,90 @@
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 Gs2SerialKey from '../model'
20
+
21
+ export default class VerifyByStampTaskRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private stampTask: string|null = null;
26
+ private keyId: string|null = null;
27
+
28
+ public getRequestId(): string|null {
29
+ return this.requestId;
30
+ }
31
+
32
+ public setRequestId(requestId: string|null) {
33
+ this.requestId = requestId;
34
+ return this;
35
+ }
36
+
37
+ public withRequestId(requestId: string|null): this {
38
+ this.requestId = requestId;
39
+ return this;
40
+ }
41
+
42
+ public getContextStack(): string|null {
43
+ return this.contextStack;
44
+ }
45
+
46
+ public setContextStack(contextStack: string|null) {
47
+ this.contextStack = contextStack;
48
+ return this;
49
+ }
50
+
51
+ public withContextStack(contextStack: string|null): this {
52
+ this.contextStack = contextStack;
53
+ return this;
54
+ }
55
+ public getStampTask(): string|null {
56
+ return this.stampTask;
57
+ }
58
+ public setStampTask(stampTask: string|null) {
59
+ this.stampTask = stampTask;
60
+ return this;
61
+ }
62
+ public withStampTask(stampTask: string|null): this {
63
+ this.stampTask = stampTask;
64
+ return this;
65
+ }
66
+ public getKeyId(): string|null {
67
+ return this.keyId;
68
+ }
69
+ public setKeyId(keyId: string|null) {
70
+ this.keyId = keyId;
71
+ return this;
72
+ }
73
+ public withKeyId(keyId: string|null): this {
74
+ this.keyId = keyId;
75
+ return this;
76
+ }
77
+
78
+ public static fromDict(data: {[key: string]: any}): VerifyByStampTaskRequest {
79
+ return new VerifyByStampTaskRequest()
80
+ .withStampTask(data["stampTask"])
81
+ .withKeyId(data["keyId"]);
82
+ }
83
+
84
+ public toDict(): {[key: string]: any} {
85
+ return {
86
+ "stampTask": this.getStampTask(),
87
+ "keyId": this.getKeyId(),
88
+ };
89
+ }
90
+ }