gs2-cdk 1.0.55 → 1.0.57

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 (177) hide show
  1. package/distributor/model/StampSheetResult.d.ts +2 -0
  2. package/distributor/model/StampSheetResult.js +15 -5
  3. package/distributor/model/StampSheetResult.js.map +1 -1
  4. package/distributor/model/StampSheetResult.ts +10 -0
  5. package/distributor/model/options/StampSheetResultOptions.d.ts +2 -0
  6. package/distributor/model/options/StampSheetResultOptions.ts +2 -0
  7. package/exchange/ref/NamespaceRef.d.ts +1 -1
  8. package/exchange/ref/NamespaceRef.js +2 -2
  9. package/exchange/ref/NamespaceRef.js.map +1 -1
  10. package/exchange/ref/NamespaceRef.ts +2 -0
  11. package/exchange/stampSheet/CreateAwaitByUserId.d.ts +3 -1
  12. package/exchange/stampSheet/CreateAwaitByUserId.js +6 -1
  13. package/exchange/stampSheet/CreateAwaitByUserId.js.map +1 -1
  14. package/exchange/stampSheet/CreateAwaitByUserId.ts +8 -0
  15. package/formation/model/Namespace.d.ts +1 -0
  16. package/formation/model/Namespace.js +9 -4
  17. package/formation/model/Namespace.js.map +1 -1
  18. package/formation/model/Namespace.ts +6 -0
  19. package/formation/model/options/NamespaceOptions.d.ts +1 -0
  20. package/formation/model/options/NamespaceOptions.ts +1 -0
  21. package/idle/ref/NamespaceRef.d.ts +2 -0
  22. package/idle/ref/NamespaceRef.js +4 -0
  23. package/idle/ref/NamespaceRef.js.map +1 -1
  24. package/idle/ref/NamespaceRef.ts +14 -0
  25. package/idle/stampSheet/SetMaximumIdleMinutesByUserId.d.ts +12 -0
  26. package/idle/stampSheet/SetMaximumIdleMinutesByUserId.js +49 -0
  27. package/idle/stampSheet/SetMaximumIdleMinutesByUserId.js.map +1 -0
  28. package/idle/stampSheet/SetMaximumIdleMinutesByUserId.ts +63 -0
  29. package/idle/stampSheet/index.d.ts +2 -1
  30. package/idle/stampSheet/index.js +3 -1
  31. package/idle/stampSheet/index.js.map +1 -1
  32. package/idle/stampSheet/index.ts +2 -0
  33. package/log/model/AccessLogWithTelemetry.d.ts +18 -0
  34. package/log/model/AccessLogWithTelemetry.js +54 -0
  35. package/log/model/AccessLogWithTelemetry.js.map +1 -0
  36. package/log/model/AccessLogWithTelemetry.ts +92 -0
  37. package/log/model/enum/AccessLogWithTelemetryStatus.d.ts +5 -0
  38. package/log/model/enum/AccessLogWithTelemetryStatus.js +23 -0
  39. package/log/model/enum/AccessLogWithTelemetryStatus.js.map +1 -0
  40. package/log/model/enum/AccessLogWithTelemetryStatus.ts +23 -0
  41. package/log/model/index.d.ts +4 -1
  42. package/log/model/index.js +5 -1
  43. package/log/model/index.js.map +1 -1
  44. package/log/model/index.ts +6 -0
  45. package/log/model/options/AccessLogWithTelemetryOptions.d.ts +3 -0
  46. package/log/model/options/AccessLogWithTelemetryOptions.js +3 -0
  47. package/log/model/options/AccessLogWithTelemetryOptions.js.map +1 -0
  48. package/log/model/options/AccessLogWithTelemetryOptions.ts +21 -0
  49. package/package.json +1 -1
  50. package/schedule/ref/NamespaceRef.d.ts +3 -0
  51. package/schedule/ref/NamespaceRef.js +4 -0
  52. package/schedule/ref/NamespaceRef.js.map +1 -1
  53. package/schedule/ref/NamespaceRef.ts +15 -0
  54. package/schedule/stampSheet/VerifyEventByUserId.d.ts +13 -0
  55. package/schedule/stampSheet/VerifyEventByUserId.js +48 -0
  56. package/schedule/stampSheet/VerifyEventByUserId.js.map +1 -0
  57. package/schedule/stampSheet/VerifyEventByUserId.ts +64 -0
  58. package/schedule/stampSheet/enum/EventVerifyType.d.ts +5 -0
  59. package/schedule/stampSheet/enum/EventVerifyType.js +23 -0
  60. package/schedule/stampSheet/enum/EventVerifyType.js.map +1 -0
  61. package/schedule/stampSheet/enum/EventVerifyType.ts +23 -0
  62. package/schedule/stampSheet/index.d.ts +2 -1
  63. package/schedule/stampSheet/index.js +3 -1
  64. package/schedule/stampSheet/index.js.map +1 -1
  65. package/schedule/stampSheet/index.ts +2 -0
  66. package/seasonRating/index.d.ts +12 -0
  67. package/seasonRating/index.js +32 -0
  68. package/seasonRating/index.js.map +1 -0
  69. package/seasonRating/index.ts +36 -0
  70. package/seasonRating/model/CurrentMasterData.d.ts +13 -0
  71. package/seasonRating/model/CurrentMasterData.js +50 -0
  72. package/seasonRating/model/CurrentMasterData.js.map +1 -0
  73. package/seasonRating/model/CurrentMasterData.ts +70 -0
  74. package/seasonRating/model/GameResult.d.ts +9 -0
  75. package/seasonRating/model/GameResult.js +20 -0
  76. package/seasonRating/model/GameResult.js.map +1 -0
  77. package/seasonRating/model/GameResult.ts +44 -0
  78. package/seasonRating/model/MatchSession.d.ts +18 -0
  79. package/seasonRating/model/MatchSession.js +61 -0
  80. package/seasonRating/model/MatchSession.js.map +1 -0
  81. package/seasonRating/model/MatchSession.ts +93 -0
  82. package/seasonRating/model/Namespace.d.ts +21 -0
  83. package/seasonRating/model/Namespace.js +72 -0
  84. package/seasonRating/model/Namespace.js.map +1 -0
  85. package/seasonRating/model/Namespace.ts +115 -0
  86. package/seasonRating/model/SeasonModel.d.ts +12 -0
  87. package/seasonRating/model/SeasonModel.js +30 -0
  88. package/seasonRating/model/SeasonModel.js.map +1 -0
  89. package/seasonRating/model/SeasonModel.ts +57 -0
  90. package/seasonRating/model/SignedBallot.d.ts +9 -0
  91. package/seasonRating/model/SignedBallot.js +20 -0
  92. package/seasonRating/model/SignedBallot.js.map +1 -0
  93. package/seasonRating/model/SignedBallot.ts +44 -0
  94. package/seasonRating/model/TierModel.d.ts +12 -0
  95. package/seasonRating/model/TierModel.js +34 -0
  96. package/seasonRating/model/TierModel.js.map +1 -0
  97. package/seasonRating/model/TierModel.ts +61 -0
  98. package/seasonRating/model/Vote.d.ts +0 -0
  99. package/seasonRating/model/Vote.js +19 -0
  100. package/seasonRating/model/Vote.js.map +1 -0
  101. package/seasonRating/model/Vote.ts +17 -0
  102. package/seasonRating/model/WrittenBallot.d.ts +0 -0
  103. package/seasonRating/model/WrittenBallot.js +19 -0
  104. package/seasonRating/model/WrittenBallot.js.map +1 -0
  105. package/seasonRating/model/WrittenBallot.ts +17 -0
  106. package/seasonRating/model/index.d.ts +15 -0
  107. package/seasonRating/model/index.js +36 -0
  108. package/seasonRating/model/index.js.map +1 -0
  109. package/seasonRating/model/index.ts +48 -0
  110. package/seasonRating/model/options/GameResultOptions.d.ts +2 -0
  111. package/seasonRating/model/options/GameResultOptions.js +18 -0
  112. package/seasonRating/model/options/GameResultOptions.js.map +1 -0
  113. package/seasonRating/model/options/GameResultOptions.ts +19 -0
  114. package/seasonRating/model/options/MatchSessionOptions.d.ts +4 -0
  115. package/seasonRating/model/options/MatchSessionOptions.js +18 -0
  116. package/seasonRating/model/options/MatchSessionOptions.js.map +1 -0
  117. package/seasonRating/model/options/MatchSessionOptions.ts +21 -0
  118. package/seasonRating/model/options/NamespaceOptions.d.ts +7 -0
  119. package/seasonRating/model/options/NamespaceOptions.js +3 -0
  120. package/seasonRating/model/options/NamespaceOptions.js.map +1 -0
  121. package/seasonRating/model/options/NamespaceOptions.ts +24 -0
  122. package/seasonRating/model/options/SeasonModelOptions.d.ts +3 -0
  123. package/seasonRating/model/options/SeasonModelOptions.js +3 -0
  124. package/seasonRating/model/options/SeasonModelOptions.js.map +1 -0
  125. package/seasonRating/model/options/SeasonModelOptions.ts +21 -0
  126. package/seasonRating/model/options/SignedBallotOptions.d.ts +2 -0
  127. package/seasonRating/model/options/SignedBallotOptions.js +18 -0
  128. package/seasonRating/model/options/SignedBallotOptions.js.map +1 -0
  129. package/seasonRating/model/options/SignedBallotOptions.ts +19 -0
  130. package/seasonRating/model/options/TierModelOptions.d.ts +3 -0
  131. package/seasonRating/model/options/TierModelOptions.js +18 -0
  132. package/seasonRating/model/options/TierModelOptions.js.map +1 -0
  133. package/seasonRating/model/options/TierModelOptions.ts +20 -0
  134. package/seasonRating/model/options/VoteOptions.d.ts +0 -0
  135. package/seasonRating/model/options/VoteOptions.js +19 -0
  136. package/seasonRating/model/options/VoteOptions.js.map +1 -0
  137. package/seasonRating/model/options/VoteOptions.ts +17 -0
  138. package/seasonRating/model/options/WrittenBallotOptions.d.ts +4 -0
  139. package/seasonRating/model/options/WrittenBallotOptions.js +3 -0
  140. package/seasonRating/model/options/WrittenBallotOptions.js.map +1 -0
  141. package/seasonRating/model/options/WrittenBallotOptions.ts +23 -0
  142. package/seasonRating/ref/MatchSessionRef.d.ts +6 -0
  143. package/seasonRating/ref/MatchSessionRef.js +38 -0
  144. package/seasonRating/ref/MatchSessionRef.js.map +1 -0
  145. package/seasonRating/ref/MatchSessionRef.ts +52 -0
  146. package/seasonRating/ref/NamespaceRef.d.ts +7 -0
  147. package/seasonRating/ref/NamespaceRef.js +40 -0
  148. package/seasonRating/ref/NamespaceRef.js.map +1 -0
  149. package/seasonRating/ref/NamespaceRef.ts +59 -0
  150. package/seasonRating/ref/SeasonModelRef.d.ts +6 -0
  151. package/seasonRating/ref/SeasonModelRef.js +38 -0
  152. package/seasonRating/ref/SeasonModelRef.js.map +1 -0
  153. package/seasonRating/ref/SeasonModelRef.ts +52 -0
  154. package/seasonRating/ref/VoteRef.d.ts +7 -0
  155. package/seasonRating/ref/VoteRef.js +40 -0
  156. package/seasonRating/ref/VoteRef.js.map +1 -0
  157. package/seasonRating/ref/VoteRef.ts +56 -0
  158. package/seasonRating/ref/index.d.ts +5 -0
  159. package/seasonRating/ref/index.js +28 -0
  160. package/seasonRating/ref/index.js.map +1 -0
  161. package/seasonRating/ref/index.ts +26 -0
  162. package/seasonRating/stampSheet/index.d.ts +1 -0
  163. package/seasonRating/stampSheet/index.js +18 -0
  164. package/seasonRating/stampSheet/index.js.map +1 -0
  165. package/seasonRating/stampSheet/index.ts +18 -0
  166. package/skillTree/ref/NamespaceRef.d.ts +2 -2
  167. package/skillTree/ref/NamespaceRef.js +4 -4
  168. package/skillTree/ref/NamespaceRef.js.map +1 -1
  169. package/skillTree/ref/NamespaceRef.ts +4 -0
  170. package/skillTree/stampSheet/MarkReleaseByUserId.d.ts +2 -1
  171. package/skillTree/stampSheet/MarkReleaseByUserId.js +5 -1
  172. package/skillTree/stampSheet/MarkReleaseByUserId.js.map +1 -1
  173. package/skillTree/stampSheet/MarkReleaseByUserId.ts +6 -0
  174. package/skillTree/stampSheet/MarkRestrainByUserId.d.ts +2 -1
  175. package/skillTree/stampSheet/MarkRestrainByUserId.js +5 -1
  176. package/skillTree/stampSheet/MarkRestrainByUserId.js.map +1 -1
  177. package/skillTree/stampSheet/MarkRestrainByUserId.ts +6 -0
@@ -0,0 +1,18 @@
1
+ import { AccessLogWithTelemetryOptions } from "./options/AccessLogWithTelemetryOptions";
2
+ import { AccessLogWithTelemetryStatus } from "./enum/AccessLogWithTelemetryStatus";
3
+ export default class AccessLogWithTelemetry {
4
+ private readonly timestamp;
5
+ private readonly sourceRequestId;
6
+ private readonly requestId;
7
+ private readonly duration;
8
+ private readonly service;
9
+ private readonly method;
10
+ private readonly request;
11
+ private readonly result;
12
+ private readonly status;
13
+ private readonly userId;
14
+ constructor(timestamp: number, sourceRequestId: string, requestId: string, duration: number, service: string, method: string, request: string, result: string, status: AccessLogWithTelemetryStatus, options?: AccessLogWithTelemetryOptions | null);
15
+ properties(): {
16
+ [name: string]: any;
17
+ };
18
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class AccessLogWithTelemetry {
4
+ constructor(timestamp, sourceRequestId, requestId, duration, service, method, request, result, status, options = null) {
5
+ var _a;
6
+ this.userId = null;
7
+ this.timestamp = timestamp;
8
+ this.sourceRequestId = sourceRequestId;
9
+ this.requestId = requestId;
10
+ this.duration = duration;
11
+ this.service = service;
12
+ this.method = method;
13
+ this.request = request;
14
+ this.result = result;
15
+ this.status = status;
16
+ this.userId = (_a = options === null || options === void 0 ? void 0 : options.userId) !== null && _a !== void 0 ? _a : null;
17
+ }
18
+ properties() {
19
+ let properties = {};
20
+ if (this.timestamp != null) {
21
+ properties["timestamp"] = this.timestamp;
22
+ }
23
+ if (this.sourceRequestId != null) {
24
+ properties["sourceRequestId"] = this.sourceRequestId;
25
+ }
26
+ if (this.requestId != null) {
27
+ properties["requestId"] = this.requestId;
28
+ }
29
+ if (this.duration != null) {
30
+ properties["duration"] = this.duration;
31
+ }
32
+ if (this.service != null) {
33
+ properties["service"] = this.service;
34
+ }
35
+ if (this.method != null) {
36
+ properties["method"] = this.method;
37
+ }
38
+ if (this.userId != null) {
39
+ properties["userId"] = this.userId;
40
+ }
41
+ if (this.request != null) {
42
+ properties["request"] = this.request;
43
+ }
44
+ if (this.result != null) {
45
+ properties["result"] = this.result;
46
+ }
47
+ if (this.status != null) {
48
+ properties["status"] = this.status;
49
+ }
50
+ return properties;
51
+ }
52
+ }
53
+ exports.default = AccessLogWithTelemetry;
54
+ //# sourceMappingURL=AccessLogWithTelemetry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccessLogWithTelemetry.js","sourceRoot":"","sources":["AccessLogWithTelemetry.ts"],"names":[],"mappings":";;AAkBA,MAAqB,sBAAsB;IAYvC,YACI,SAAiB,EACjB,eAAuB,EACvB,SAAiB,EACjB,QAAgB,EAChB,OAAe,EACf,MAAc,EACd,OAAe,EACf,MAAc,EACd,MAAoC,EACpC,UAA8C,IAAI;;QAZrC,WAAM,GAAgB,IAAI,CAAC;QAcxC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,IAAI,CAAC;IAC1C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QACD,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAzED,yCAyEC"}
@@ -0,0 +1,92 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+ import { AccessLogWithTelemetryOptions } from "./options/AccessLogWithTelemetryOptions";
17
+ import { AccessLogWithTelemetryStatus } from "./enum/AccessLogWithTelemetryStatus";
18
+
19
+ export default class AccessLogWithTelemetry {
20
+ private readonly timestamp: number;
21
+ private readonly sourceRequestId: string;
22
+ private readonly requestId: string;
23
+ private readonly duration: number;
24
+ private readonly service: string;
25
+ private readonly method: string;
26
+ private readonly request: string;
27
+ private readonly result: string;
28
+ private readonly status: AccessLogWithTelemetryStatus;
29
+ private readonly userId: string|null = null;
30
+
31
+ public constructor(
32
+ timestamp: number,
33
+ sourceRequestId: string,
34
+ requestId: string,
35
+ duration: number,
36
+ service: string,
37
+ method: string,
38
+ request: string,
39
+ result: string,
40
+ status: AccessLogWithTelemetryStatus,
41
+ options: AccessLogWithTelemetryOptions|null = null,
42
+ ) {
43
+ this.timestamp = timestamp;
44
+ this.sourceRequestId = sourceRequestId;
45
+ this.requestId = requestId;
46
+ this.duration = duration;
47
+ this.service = service;
48
+ this.method = method;
49
+ this.request = request;
50
+ this.result = result;
51
+ this.status = status;
52
+ this.userId = options?.userId ?? null;
53
+ }
54
+
55
+ public properties(
56
+ ): {[name: string]: any} {
57
+ let properties: {[name: string]: any} = {};
58
+
59
+ if (this.timestamp != null) {
60
+ properties["timestamp"] = this.timestamp;
61
+ }
62
+ if (this.sourceRequestId != null) {
63
+ properties["sourceRequestId"] = this.sourceRequestId;
64
+ }
65
+ if (this.requestId != null) {
66
+ properties["requestId"] = this.requestId;
67
+ }
68
+ if (this.duration != null) {
69
+ properties["duration"] = this.duration;
70
+ }
71
+ if (this.service != null) {
72
+ properties["service"] = this.service;
73
+ }
74
+ if (this.method != null) {
75
+ properties["method"] = this.method;
76
+ }
77
+ if (this.userId != null) {
78
+ properties["userId"] = this.userId;
79
+ }
80
+ if (this.request != null) {
81
+ properties["request"] = this.request;
82
+ }
83
+ if (this.result != null) {
84
+ properties["result"] = this.result;
85
+ }
86
+ if (this.status != null) {
87
+ properties["status"] = this.status;
88
+ }
89
+
90
+ return properties;
91
+ }
92
+ }
@@ -0,0 +1,5 @@
1
+ export declare const AccessLogWithTelemetryStatus: {
2
+ readonly OK: "ok";
3
+ readonly ERROR: "error";
4
+ };
5
+ export type AccessLogWithTelemetryStatus = typeof AccessLogWithTelemetryStatus[keyof typeof AccessLogWithTelemetryStatus];
@@ -0,0 +1,23 @@
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
+ exports.AccessLogWithTelemetryStatus = void 0;
19
+ exports.AccessLogWithTelemetryStatus = {
20
+ OK: "ok",
21
+ ERROR: "error",
22
+ };
23
+ //# sourceMappingURL=AccessLogWithTelemetryStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccessLogWithTelemetryStatus.js","sourceRoot":"","sources":["AccessLogWithTelemetryStatus.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,4BAA4B,GAAG;IACxC,EAAE,EAAE,IAAI;IACR,KAAK,EAAE,OAAO;CACR,CAAC"}
@@ -0,0 +1,23 @@
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
+
18
+
19
+ export const AccessLogWithTelemetryStatus = {
20
+ OK: "ok",
21
+ ERROR: "error",
22
+ } as const;
23
+ export type AccessLogWithTelemetryStatus = typeof AccessLogWithTelemetryStatus[keyof typeof AccessLogWithTelemetryStatus];
@@ -20,4 +20,7 @@ import ExecuteStampTaskLog from "./ExecuteStampTaskLog";
20
20
  import { ExecuteStampTaskLogOptions } from "./options/ExecuteStampTaskLogOptions";
21
21
  import ExecuteStampTaskLogCount from "./ExecuteStampTaskLogCount";
22
22
  import { ExecuteStampTaskLogCountOptions } from "./options/ExecuteStampTaskLogCountOptions";
23
- export { Namespace, NamespaceOptions, NamespaceType, NamespaceTypeIsGs2Options, NamespaceTypeIsBigqueryOptions, NamespaceTypeIsFirehoseOptions, AccessLog, AccessLogOptions, AccessLogCount, AccessLogCountOptions, IssueStampSheetLog, IssueStampSheetLogOptions, IssueStampSheetLogCount, IssueStampSheetLogCountOptions, ExecuteStampSheetLog, ExecuteStampSheetLogOptions, ExecuteStampSheetLogCount, ExecuteStampSheetLogCountOptions, ExecuteStampTaskLog, ExecuteStampTaskLogOptions, ExecuteStampTaskLogCount, ExecuteStampTaskLogCountOptions, };
23
+ import AccessLogWithTelemetry from "./AccessLogWithTelemetry";
24
+ import { AccessLogWithTelemetryOptions } from "./options/AccessLogWithTelemetryOptions";
25
+ import { AccessLogWithTelemetryStatus } from "./enum/AccessLogWithTelemetryStatus";
26
+ export { Namespace, NamespaceOptions, NamespaceType, NamespaceTypeIsGs2Options, NamespaceTypeIsBigqueryOptions, NamespaceTypeIsFirehoseOptions, AccessLog, AccessLogOptions, AccessLogCount, AccessLogCountOptions, IssueStampSheetLog, IssueStampSheetLogOptions, IssueStampSheetLogCount, IssueStampSheetLogCountOptions, ExecuteStampSheetLog, ExecuteStampSheetLogOptions, ExecuteStampSheetLogCount, ExecuteStampSheetLogCountOptions, ExecuteStampTaskLog, ExecuteStampTaskLogOptions, ExecuteStampTaskLogCount, ExecuteStampTaskLogCountOptions, AccessLogWithTelemetry, AccessLogWithTelemetryOptions, AccessLogWithTelemetryStatus, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExecuteStampTaskLogCount = exports.ExecuteStampTaskLog = exports.ExecuteStampSheetLogCount = exports.ExecuteStampSheetLog = exports.IssueStampSheetLogCount = exports.IssueStampSheetLog = exports.AccessLogCount = exports.AccessLog = exports.NamespaceType = exports.Namespace = void 0;
3
+ exports.AccessLogWithTelemetryStatus = exports.AccessLogWithTelemetry = exports.ExecuteStampTaskLogCount = exports.ExecuteStampTaskLog = exports.ExecuteStampSheetLogCount = exports.ExecuteStampSheetLog = exports.IssueStampSheetLogCount = exports.IssueStampSheetLog = exports.AccessLogCount = exports.AccessLog = exports.NamespaceType = exports.Namespace = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  /*
6
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
@@ -37,4 +37,8 @@ const ExecuteStampTaskLog_1 = tslib_1.__importDefault(require("./ExecuteStampTas
37
37
  exports.ExecuteStampTaskLog = ExecuteStampTaskLog_1.default;
38
38
  const ExecuteStampTaskLogCount_1 = tslib_1.__importDefault(require("./ExecuteStampTaskLogCount"));
39
39
  exports.ExecuteStampTaskLogCount = ExecuteStampTaskLogCount_1.default;
40
+ const AccessLogWithTelemetry_1 = tslib_1.__importDefault(require("./AccessLogWithTelemetry"));
41
+ exports.AccessLogWithTelemetry = AccessLogWithTelemetry_1.default;
42
+ const AccessLogWithTelemetryStatus_1 = require("./enum/AccessLogWithTelemetryStatus");
43
+ Object.defineProperty(exports, "AccessLogWithTelemetryStatus", { enumerable: true, get: function () { return AccessLogWithTelemetryStatus_1.AccessLogWithTelemetryStatus; } });
40
44
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAwBhC,oBAxBG,mBAAS,CAwBH;AAtBb,wDAAqD;AAwBjD,8FAxBK,6BAAa,OAwBL;AApBjB,oEAAoC;AAwBhC,oBAxBG,mBAAS,CAwBH;AAtBb,8EAA8C;AAwB1C,yBAxBG,wBAAc,CAwBH;AAtBlB,sFAAsD;AAwBlD,6BAxBG,4BAAkB,CAwBH;AAtBtB,gGAAgE;AAwB5D,kCAxBG,iCAAuB,CAwBH;AAtB3B,0FAA0D;AAwBtD,+BAxBG,8BAAoB,CAwBH;AAtBxB,oGAAoE;AAwBhE,oCAxBG,mCAAyB,CAwBH;AAtB7B,wFAAwD;AAwBpD,8BAxBG,6BAAmB,CAwBH;AAtBvB,kGAAkE;AAwB9D,mCAxBG,kCAAwB,CAwBH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AA2BhC,oBA3BG,mBAAS,CA2BH;AAzBb,wDAAqD;AA2BjD,8FA3BK,6BAAa,OA2BL;AAvBjB,oEAAoC;AA2BhC,oBA3BG,mBAAS,CA2BH;AAzBb,8EAA8C;AA2B1C,yBA3BG,wBAAc,CA2BH;AAzBlB,sFAAsD;AA2BlD,6BA3BG,4BAAkB,CA2BH;AAzBtB,gGAAgE;AA2B5D,kCA3BG,iCAAuB,CA2BH;AAzB3B,0FAA0D;AA2BtD,+BA3BG,8BAAoB,CA2BH;AAzBxB,oGAAoE;AA2BhE,oCA3BG,mCAAyB,CA2BH;AAzB7B,wFAAwD;AA2BpD,8BA3BG,6BAAmB,CA2BH;AAzBvB,kGAAkE;AA2B9D,mCA3BG,kCAAwB,CA2BH;AAzB5B,8FAA8D;AA2B1D,iCA3BG,gCAAsB,CA2BH;AAzB1B,sFAAmF;AA2B/E,6GA3BK,2DAA4B,OA2BL"}
@@ -35,6 +35,9 @@ import ExecuteStampTaskLog from "./ExecuteStampTaskLog";
35
35
  import { ExecuteStampTaskLogOptions } from "./options/ExecuteStampTaskLogOptions";
36
36
  import ExecuteStampTaskLogCount from "./ExecuteStampTaskLogCount";
37
37
  import { ExecuteStampTaskLogCountOptions } from "./options/ExecuteStampTaskLogCountOptions";
38
+ import AccessLogWithTelemetry from "./AccessLogWithTelemetry";
39
+ import { AccessLogWithTelemetryOptions } from "./options/AccessLogWithTelemetryOptions";
40
+ import { AccessLogWithTelemetryStatus } from "./enum/AccessLogWithTelemetryStatus";
38
41
 
39
42
  export {
40
43
  Namespace,
@@ -59,4 +62,7 @@ export {
59
62
  ExecuteStampTaskLogOptions,
60
63
  ExecuteStampTaskLogCount,
61
64
  ExecuteStampTaskLogCountOptions,
65
+ AccessLogWithTelemetry,
66
+ AccessLogWithTelemetryOptions,
67
+ AccessLogWithTelemetryStatus,
62
68
  }
@@ -0,0 +1,3 @@
1
+ export interface AccessLogWithTelemetryOptions {
2
+ userId?: string | null;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AccessLogWithTelemetryOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccessLogWithTelemetryOptions.js","sourceRoot":"","sources":["AccessLogWithTelemetryOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+ import { AccessLogWithTelemetryStatus } from "../enum/AccessLogWithTelemetryStatus";
17
+
18
+ export interface AccessLogWithTelemetryOptions {
19
+ userId?: string|null;
20
+ }
21
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.55",
3
+ "version": "1.0.57",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -1,10 +1,13 @@
1
1
  import TriggerByUserId from "../stampSheet/TriggerByUserId";
2
2
  import { TriggerTriggerStrategy } from "../stampSheet/enum/TriggerTriggerStrategy";
3
3
  import DeleteTriggerByUserId from "../stampSheet/DeleteTriggerByUserId";
4
+ import VerifyEventByUserId from "../stampSheet/VerifyEventByUserId";
5
+ import { EventVerifyType } from "../stampSheet/enum/EventVerifyType";
4
6
  export default class NamespaceRef {
5
7
  private readonly namespaceName;
6
8
  constructor(namespaceName: string);
7
9
  trigger(triggerName: string, triggerStrategy: TriggerTriggerStrategy, ttl: number, userId?: string): TriggerByUserId;
8
10
  deleteTrigger(triggerName: string, userId?: string): DeleteTriggerByUserId;
11
+ verifyEvent(eventName: string, verifyType: EventVerifyType, userId?: string): VerifyEventByUserId;
9
12
  grn(): string;
10
13
  }
@@ -19,6 +19,7 @@ const tslib_1 = require("tslib");
19
19
  const func_1 = require("../../core/func");
20
20
  const TriggerByUserId_1 = tslib_1.__importDefault(require("../stampSheet/TriggerByUserId"));
21
21
  const DeleteTriggerByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DeleteTriggerByUserId"));
22
+ const VerifyEventByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyEventByUserId"));
22
23
  class NamespaceRef {
23
24
  constructor(namespaceName) {
24
25
  this.namespaceName = namespaceName;
@@ -29,6 +30,9 @@ class NamespaceRef {
29
30
  deleteTrigger(triggerName, userId = "#{userId}") {
30
31
  return new DeleteTriggerByUserId_1.default(this.namespaceName, triggerName, userId);
31
32
  }
33
+ verifyEvent(eventName, verifyType, userId = "#{userId}") {
34
+ return new VerifyEventByUserId_1.default(this.namespaceName, eventName, verifyType, userId);
35
+ }
32
36
  grn() {
33
37
  return new func_1.Join(":", [
34
38
  "grn",
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,4FAA4D;AAE5D,wGAAwE;AAExE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,OAAO,CACV,WAAmB,EACnB,eAAuC,EACvC,GAAW,EACX,SAAiB,WAAW;QAE5B,OAAO,IAAI,yBAAe,CACtB,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,eAAe,EACf,GAAG,EACH,MAAM,CACT,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,WAAmB,EACnB,SAAiB,WAAW;QAE5B,OAAO,IAAI,+BAAqB,CAC5B,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,UAAU;YACV,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAtDD,+BAsDC"}
1
+ {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,4FAA4D;AAE5D,wGAAwE;AACxE,oGAAoE;AAGpE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,OAAO,CACV,WAAmB,EACnB,eAAuC,EACvC,GAAW,EACX,SAAiB,WAAW;QAE5B,OAAO,IAAI,yBAAe,CACtB,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,eAAe,EACf,GAAG,EACH,MAAM,CACT,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,WAAmB,EACnB,SAAiB,WAAW;QAE5B,OAAO,IAAI,+BAAqB,CAC5B,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,WAAW,CACd,SAAiB,EACjB,UAA2B,EAC3B,SAAiB,WAAW;QAE5B,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,SAAS,EACT,UAAU,EACV,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,UAAU;YACV,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAnED,+BAmEC"}
@@ -18,6 +18,8 @@ import {GetAttr, Join} from "../../core/func";
18
18
  import TriggerByUserId from "../stampSheet/TriggerByUserId";
19
19
  import { TriggerTriggerStrategy } from "../stampSheet/enum/TriggerTriggerStrategy";
20
20
  import DeleteTriggerByUserId from "../stampSheet/DeleteTriggerByUserId";
21
+ import VerifyEventByUserId from "../stampSheet/VerifyEventByUserId";
22
+ import { EventVerifyType } from "../stampSheet/enum/EventVerifyType";
21
23
 
22
24
  export default class NamespaceRef {
23
25
  private readonly namespaceName: string;
@@ -54,6 +56,19 @@ export default class NamespaceRef {
54
56
  );
55
57
  }
56
58
 
59
+ public verifyEvent(
60
+ eventName: string,
61
+ verifyType: EventVerifyType,
62
+ userId: string = "#{userId}",
63
+ ): VerifyEventByUserId {
64
+ return new VerifyEventByUserId(
65
+ this.namespaceName,
66
+ eventName,
67
+ verifyType,
68
+ userId,
69
+ );
70
+ }
71
+
57
72
  public grn(
58
73
  ): string {
59
74
  return new Join(
@@ -0,0 +1,13 @@
1
+ import { ConsumeAction } from "../../core/model";
2
+ import { EventVerifyType } from "./enum/EventVerifyType";
3
+ export default class VerifyEventByUserId extends ConsumeAction {
4
+ private readonly namespaceName;
5
+ private readonly userId;
6
+ private readonly eventName;
7
+ private readonly verifyType;
8
+ constructor(namespaceName: string, eventName: string, verifyType: EventVerifyType, userId?: string);
9
+ request(): {
10
+ [name: string]: any;
11
+ };
12
+ action(): string;
13
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
+ * Reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License").
7
+ * You may not use this file except in compliance with the License.
8
+ * A copy of the License is located at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * or in the "license" file accompanying this file. This file is distributed
13
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ * express or implied. See the License for the specific language governing
15
+ * permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ const model_1 = require("../../core/model");
19
+ class VerifyEventByUserId extends model_1.ConsumeAction {
20
+ constructor(namespaceName, eventName, verifyType, userId = "#{userId}") {
21
+ super();
22
+ this.namespaceName = namespaceName;
23
+ this.eventName = eventName;
24
+ this.verifyType = verifyType;
25
+ this.userId = userId;
26
+ }
27
+ request() {
28
+ let properties = {};
29
+ if (this.namespaceName != null) {
30
+ properties["namespaceName"] = this.namespaceName;
31
+ }
32
+ if (this.userId != null) {
33
+ properties["userId"] = this.userId;
34
+ }
35
+ if (this.eventName != null) {
36
+ properties["eventName"] = this.eventName;
37
+ }
38
+ if (this.verifyType != null) {
39
+ properties["verifyType"] = this.verifyType;
40
+ }
41
+ return properties;
42
+ }
43
+ action() {
44
+ return "Gs2Schedule:VerifyEventByUserId";
45
+ }
46
+ }
47
+ exports.default = VerifyEventByUserId;
48
+ //# sourceMappingURL=VerifyEventByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyEventByUserId.js","sourceRoot":"","sources":["VerifyEventByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAG9D,MAAqB,mBAAoB,SAAQ,qBAAa;IAO1D,YACI,aAAqB,EACrB,SAAiB,EACjB,UAA2B,EAC3B,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,OAAO;QAEV,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,iCAAiC,CAAC;IAC7C,CAAC;CACJ;AA5CD,sCA4CC"}
@@ -0,0 +1,64 @@
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 {AcquireAction, ConsumeAction} from "../../core/model";
18
+ import { EventVerifyType } from "./enum/EventVerifyType";
19
+
20
+ export default class VerifyEventByUserId extends ConsumeAction {
21
+ private readonly namespaceName: string;
22
+ private readonly userId: string;
23
+ private readonly eventName: string;
24
+ private readonly verifyType: EventVerifyType;
25
+
26
+
27
+ public constructor(
28
+ namespaceName: string,
29
+ eventName: string,
30
+ verifyType: EventVerifyType,
31
+ userId: string = "#{userId}",
32
+ ) {
33
+ super();
34
+
35
+ this.namespaceName = namespaceName;
36
+ this.eventName = eventName;
37
+ this.verifyType = verifyType;
38
+ this.userId = userId;
39
+ }
40
+
41
+ public request(
42
+ ): {[name: string]: any} {
43
+ let properties: {[name: string]: any} = {};
44
+
45
+ if (this.namespaceName != null) {
46
+ properties["namespaceName"] = this.namespaceName;
47
+ }
48
+ if (this.userId != null) {
49
+ properties["userId"] = this.userId;
50
+ }
51
+ if (this.eventName != null) {
52
+ properties["eventName"] = this.eventName;
53
+ }
54
+ if (this.verifyType != null) {
55
+ properties["verifyType"] = this.verifyType;
56
+ }
57
+
58
+ return properties;
59
+ }
60
+
61
+ public action(): string {
62
+ return "Gs2Schedule:VerifyEventByUserId";
63
+ }
64
+ }
@@ -0,0 +1,5 @@
1
+ export declare const EventVerifyType: {
2
+ readonly IN_SCHEDULE: "inSchedule";
3
+ readonly NOT_IN_SCHEDULE: "notInSchedule";
4
+ };
5
+ export type EventVerifyType = typeof EventVerifyType[keyof typeof EventVerifyType];
@@ -0,0 +1,23 @@
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
+ exports.EventVerifyType = void 0;
19
+ exports.EventVerifyType = {
20
+ IN_SCHEDULE: "inSchedule",
21
+ NOT_IN_SCHEDULE: "notInSchedule",
22
+ };
23
+ //# sourceMappingURL=EventVerifyType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventVerifyType.js","sourceRoot":"","sources":["EventVerifyType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,eAAe,GAAG;IAC3B,WAAW,EAAE,YAAY;IACzB,eAAe,EAAE,eAAe;CAC1B,CAAC"}
@@ -0,0 +1,23 @@
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
+
18
+
19
+ export const EventVerifyType = {
20
+ IN_SCHEDULE: "inSchedule",
21
+ NOT_IN_SCHEDULE: "notInSchedule",
22
+ } as const;
23
+ export type EventVerifyType = typeof EventVerifyType[keyof typeof EventVerifyType];
@@ -1,3 +1,4 @@
1
1
  import TriggerByUserId from "./TriggerByUserId";
2
2
  import DeleteTriggerByUserId from "./DeleteTriggerByUserId";
3
- export { TriggerByUserId, DeleteTriggerByUserId, };
3
+ import VerifyEventByUserId from "./VerifyEventByUserId";
4
+ export { TriggerByUserId, DeleteTriggerByUserId, VerifyEventByUserId, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteTriggerByUserId = exports.TriggerByUserId = void 0;
3
+ exports.VerifyEventByUserId = exports.DeleteTriggerByUserId = exports.TriggerByUserId = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  /*
6
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
@@ -21,4 +21,6 @@ const TriggerByUserId_1 = tslib_1.__importDefault(require("./TriggerByUserId"));
21
21
  exports.TriggerByUserId = TriggerByUserId_1.default;
22
22
  const DeleteTriggerByUserId_1 = tslib_1.__importDefault(require("./DeleteTriggerByUserId"));
23
23
  exports.DeleteTriggerByUserId = DeleteTriggerByUserId_1.default;
24
+ const VerifyEventByUserId_1 = tslib_1.__importDefault(require("./VerifyEventByUserId"));
25
+ exports.VerifyEventByUserId = VerifyEventByUserId_1.default;
24
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gFAAgD;AAI5C,0BAJG,yBAAe,CAIH;AAHnB,4FAA4D;AAIxD,gCAJG,+BAAqB,CAIH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gFAAgD;AAK5C,0BALG,yBAAe,CAKH;AAJnB,4FAA4D;AAKxD,gCALG,+BAAqB,CAKH;AAJzB,wFAAwD;AAKpD,8BALG,6BAAmB,CAKH"}
@@ -15,8 +15,10 @@
15
15
  */
16
16
  import TriggerByUserId from "./TriggerByUserId";
17
17
  import DeleteTriggerByUserId from "./DeleteTriggerByUserId";
18
+ import VerifyEventByUserId from "./VerifyEventByUserId";
18
19
 
19
20
  export {
20
21
  TriggerByUserId,
21
22
  DeleteTriggerByUserId,
23
+ VerifyEventByUserId,
22
24
  }