gs2-cdk 1.0.141 → 1.0.143

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 (173) hide show
  1. package/adReward/model/MobileNotificationMessage.d.ts +10 -0
  2. package/adReward/model/MobileNotificationMessage.js +28 -0
  3. package/adReward/model/MobileNotificationMessage.js.map +1 -0
  4. package/adReward/model/MobileNotificationMessage.ts +47 -0
  5. package/adReward/model/index.d.ts +3 -1
  6. package/adReward/model/index.js +3 -1
  7. package/adReward/model/index.js.map +1 -1
  8. package/adReward/model/index.ts +4 -0
  9. package/adReward/model/options/MobileNotificationMessageOptions.d.ts +5 -0
  10. package/adReward/model/options/MobileNotificationMessageOptions.js +18 -0
  11. package/adReward/model/options/MobileNotificationMessageOptions.js.map +1 -0
  12. package/adReward/model/options/MobileNotificationMessageOptions.ts +22 -0
  13. package/chat/model/MobileNotificationMessage.d.ts +10 -0
  14. package/chat/model/MobileNotificationMessage.js +28 -0
  15. package/chat/model/MobileNotificationMessage.js.map +1 -0
  16. package/chat/model/MobileNotificationMessage.ts +47 -0
  17. package/chat/model/index.d.ts +3 -1
  18. package/chat/model/index.js +3 -1
  19. package/chat/model/index.js.map +1 -1
  20. package/chat/model/index.ts +4 -0
  21. package/chat/model/options/MobileNotificationMessageOptions.d.ts +5 -0
  22. package/chat/model/options/MobileNotificationMessageOptions.js +18 -0
  23. package/chat/model/options/MobileNotificationMessageOptions.js.map +1 -0
  24. package/chat/model/options/MobileNotificationMessageOptions.ts +22 -0
  25. package/distributor/model/MobileNotificationMessage.d.ts +10 -0
  26. package/distributor/model/MobileNotificationMessage.js +28 -0
  27. package/distributor/model/MobileNotificationMessage.js.map +1 -0
  28. package/distributor/model/MobileNotificationMessage.ts +47 -0
  29. package/distributor/model/UserDataEntry.d.ts +11 -0
  30. package/distributor/model/UserDataEntry.js +28 -0
  31. package/distributor/model/UserDataEntry.js.map +1 -0
  32. package/distributor/model/UserDataEntry.ts +56 -0
  33. package/distributor/model/index.d.ts +5 -1
  34. package/distributor/model/index.js +5 -1
  35. package/distributor/model/index.js.map +1 -1
  36. package/distributor/model/index.ts +8 -0
  37. package/distributor/model/options/MobileNotificationMessageOptions.d.ts +5 -0
  38. package/distributor/model/options/MobileNotificationMessageOptions.js +18 -0
  39. package/distributor/model/options/MobileNotificationMessageOptions.js.map +1 -0
  40. package/distributor/model/options/MobileNotificationMessageOptions.ts +22 -0
  41. package/distributor/model/options/UserDataEntryOptions.d.ts +2 -0
  42. package/distributor/model/options/UserDataEntryOptions.js +18 -0
  43. package/distributor/model/options/UserDataEntryOptions.js.map +1 -0
  44. package/distributor/model/options/UserDataEntryOptions.ts +19 -0
  45. package/friend/model/MobileNotificationMessage.d.ts +10 -0
  46. package/friend/model/MobileNotificationMessage.js +28 -0
  47. package/friend/model/MobileNotificationMessage.js.map +1 -0
  48. package/friend/model/MobileNotificationMessage.ts +47 -0
  49. package/friend/model/index.d.ts +3 -1
  50. package/friend/model/index.js +3 -1
  51. package/friend/model/index.js.map +1 -1
  52. package/friend/model/index.ts +4 -0
  53. package/friend/model/options/MobileNotificationMessageOptions.d.ts +5 -0
  54. package/friend/model/options/MobileNotificationMessageOptions.js +18 -0
  55. package/friend/model/options/MobileNotificationMessageOptions.js.map +1 -0
  56. package/friend/model/options/MobileNotificationMessageOptions.ts +22 -0
  57. package/gateway/model/MobileNotificationMessage.d.ts +10 -0
  58. package/gateway/model/MobileNotificationMessage.js +28 -0
  59. package/gateway/model/MobileNotificationMessage.js.map +1 -0
  60. package/gateway/model/MobileNotificationMessage.ts +47 -0
  61. package/gateway/model/SendNotificationEntry.d.ts +1 -0
  62. package/gateway/model/SendNotificationEntry.js +6 -1
  63. package/gateway/model/SendNotificationEntry.js.map +1 -1
  64. package/gateway/model/SendNotificationEntry.ts +7 -0
  65. package/gateway/model/index.d.ts +3 -1
  66. package/gateway/model/index.js +3 -1
  67. package/gateway/model/index.js.map +1 -1
  68. package/gateway/model/index.ts +4 -0
  69. package/gateway/model/options/MobileNotificationMessageOptions.d.ts +5 -0
  70. package/gateway/model/options/MobileNotificationMessageOptions.js +18 -0
  71. package/gateway/model/options/MobileNotificationMessageOptions.js.map +1 -0
  72. package/gateway/model/options/MobileNotificationMessageOptions.ts +22 -0
  73. package/gateway/model/options/SendNotificationEntryOptions.d.ts +2 -0
  74. package/gateway/model/options/SendNotificationEntryOptions.js +0 -15
  75. package/gateway/model/options/SendNotificationEntryOptions.js.map +1 -1
  76. package/gateway/model/options/SendNotificationEntryOptions.ts +2 -0
  77. package/guild/model/MobileNotificationMessage.d.ts +10 -0
  78. package/guild/model/MobileNotificationMessage.js +28 -0
  79. package/guild/model/MobileNotificationMessage.js.map +1 -0
  80. package/guild/model/MobileNotificationMessage.ts +47 -0
  81. package/guild/model/options/MobileNotificationMessageOptions.d.ts +5 -0
  82. package/guild/model/options/MobileNotificationMessageOptions.js +18 -0
  83. package/guild/model/options/MobileNotificationMessageOptions.js.map +1 -0
  84. package/guild/model/options/MobileNotificationMessageOptions.ts +22 -0
  85. package/identifier/model/User.js.map +1 -1
  86. package/identifier/model/User.ts +1 -0
  87. package/identifier/model/enums/IdentifierDataStoreKeyScheme.d.ts +5 -0
  88. package/identifier/model/enums/IdentifierDataStoreKeyScheme.js +23 -0
  89. package/identifier/model/enums/IdentifierDataStoreKeyScheme.js.map +1 -0
  90. package/identifier/model/enums/IdentifierDataStoreKeyScheme.ts +23 -0
  91. package/identifier/model/enums/UserDataStoreKeyScheme.d.ts +5 -0
  92. package/identifier/model/enums/UserDataStoreKeyScheme.js +23 -0
  93. package/identifier/model/enums/UserDataStoreKeyScheme.js.map +1 -0
  94. package/identifier/model/enums/UserDataStoreKeyScheme.ts +23 -0
  95. package/inbox/model/MobileNotificationMessage.d.ts +10 -0
  96. package/inbox/model/MobileNotificationMessage.js +28 -0
  97. package/inbox/model/MobileNotificationMessage.js.map +1 -0
  98. package/inbox/model/MobileNotificationMessage.ts +47 -0
  99. package/inbox/model/index.d.ts +3 -1
  100. package/inbox/model/index.js +3 -1
  101. package/inbox/model/index.js.map +1 -1
  102. package/inbox/model/index.ts +4 -0
  103. package/inbox/model/options/MobileNotificationMessageOptions.d.ts +5 -0
  104. package/inbox/model/options/MobileNotificationMessageOptions.js +18 -0
  105. package/inbox/model/options/MobileNotificationMessageOptions.js.map +1 -0
  106. package/inbox/model/options/MobileNotificationMessageOptions.ts +22 -0
  107. package/jobQueue/model/MobileNotificationMessage.d.ts +10 -0
  108. package/jobQueue/model/MobileNotificationMessage.js +28 -0
  109. package/jobQueue/model/MobileNotificationMessage.js.map +1 -0
  110. package/jobQueue/model/MobileNotificationMessage.ts +47 -0
  111. package/jobQueue/model/index.d.ts +3 -1
  112. package/jobQueue/model/index.js +3 -1
  113. package/jobQueue/model/index.js.map +1 -1
  114. package/jobQueue/model/index.ts +4 -0
  115. package/jobQueue/model/options/MobileNotificationMessageOptions.d.ts +5 -0
  116. package/jobQueue/model/options/MobileNotificationMessageOptions.js +18 -0
  117. package/jobQueue/model/options/MobileNotificationMessageOptions.js.map +1 -0
  118. package/jobQueue/model/options/MobileNotificationMessageOptions.ts +22 -0
  119. package/matchmaking/model/MobileNotificationMessage.d.ts +10 -0
  120. package/matchmaking/model/MobileNotificationMessage.js +28 -0
  121. package/matchmaking/model/MobileNotificationMessage.js.map +1 -0
  122. package/matchmaking/model/MobileNotificationMessage.ts +47 -0
  123. package/matchmaking/model/index.d.ts +3 -1
  124. package/matchmaking/model/index.js +3 -1
  125. package/matchmaking/model/index.js.map +1 -1
  126. package/matchmaking/model/index.ts +4 -0
  127. package/matchmaking/model/options/MobileNotificationMessageOptions.d.ts +5 -0
  128. package/matchmaking/model/options/MobileNotificationMessageOptions.js +18 -0
  129. package/matchmaking/model/options/MobileNotificationMessageOptions.js.map +1 -0
  130. package/matchmaking/model/options/MobileNotificationMessageOptions.ts +22 -0
  131. package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2RealtimeOptions.ts +1 -0
  132. package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2ScriptOptions.ts +1 -0
  133. package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsNoneOptions.ts +1 -0
  134. package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2RealtimeOptions.ts +1 -0
  135. package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2ScriptOptions.ts +1 -0
  136. package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsNoneOptions.ts +1 -0
  137. package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsDisableOptions.ts +1 -0
  138. package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsEnableOptions.ts +1 -0
  139. package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsDisableOptions.ts +1 -0
  140. package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsEnableOptions.ts +1 -0
  141. package/mission/model/MobileNotificationMessage.d.ts +10 -0
  142. package/mission/model/MobileNotificationMessage.js +28 -0
  143. package/mission/model/MobileNotificationMessage.js.map +1 -0
  144. package/mission/model/MobileNotificationMessage.ts +47 -0
  145. package/mission/model/index.d.ts +3 -1
  146. package/mission/model/index.js +3 -1
  147. package/mission/model/index.js.map +1 -1
  148. package/mission/model/index.ts +4 -0
  149. package/mission/model/options/MobileNotificationMessageOptions.d.ts +5 -0
  150. package/mission/model/options/MobileNotificationMessageOptions.js +18 -0
  151. package/mission/model/options/MobileNotificationMessageOptions.js.map +1 -0
  152. package/mission/model/options/MobileNotificationMessageOptions.ts +22 -0
  153. package/money2/model/MobileNotificationMessage.d.ts +10 -0
  154. package/money2/model/MobileNotificationMessage.js +28 -0
  155. package/money2/model/MobileNotificationMessage.js.map +1 -0
  156. package/money2/model/MobileNotificationMessage.ts +47 -0
  157. package/money2/model/index.d.ts +3 -1
  158. package/money2/model/index.js +3 -1
  159. package/money2/model/index.js.map +1 -1
  160. package/money2/model/index.ts +4 -0
  161. package/money2/model/options/MobileNotificationMessageOptions.d.ts +5 -0
  162. package/money2/model/options/MobileNotificationMessageOptions.js +18 -0
  163. package/money2/model/options/MobileNotificationMessageOptions.js.map +1 -0
  164. package/money2/model/options/MobileNotificationMessageOptions.ts +22 -0
  165. package/package.json +1 -1
  166. package/realtime/model/MobileNotificationMessage.d.ts +10 -0
  167. package/realtime/model/MobileNotificationMessage.js +28 -0
  168. package/realtime/model/MobileNotificationMessage.js.map +1 -0
  169. package/realtime/model/MobileNotificationMessage.ts +47 -0
  170. package/realtime/model/options/MobileNotificationMessageOptions.d.ts +5 -0
  171. package/realtime/model/options/MobileNotificationMessageOptions.js +18 -0
  172. package/realtime/model/options/MobileNotificationMessageOptions.js.map +1 -0
  173. package/realtime/model/options/MobileNotificationMessageOptions.ts +22 -0
@@ -0,0 +1,22 @@
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
+ export interface MobileNotificationMessageOptions {
18
+ locale?: string|null;
19
+ title?: string|null;
20
+ message?: string|null;
21
+ }
22
+
@@ -1,3 +1,5 @@
1
+ import MobileNotificationMessage from "../MobileNotificationMessage";
1
2
  export interface SendNotificationEntryOptions {
2
3
  sound?: string | null;
4
+ mobileNotificationMessages?: MobileNotificationMessage[] | null;
3
5
  }
@@ -1,18 +1,3 @@
1
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
2
  Object.defineProperty(exports, "__esModule", { value: true });
18
3
  //# sourceMappingURL=SendNotificationEntryOptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SendNotificationEntryOptions.js","sourceRoot":"","sources":["SendNotificationEntryOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
1
+ {"version":3,"file":"SendNotificationEntryOptions.js","sourceRoot":"","sources":["SendNotificationEntryOptions.ts"],"names":[],"mappings":""}
@@ -13,8 +13,10 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import MobileNotificationMessage from "../MobileNotificationMessage";
16
17
 
17
18
  export interface SendNotificationEntryOptions {
18
19
  sound?: string|null;
20
+ mobileNotificationMessages?: MobileNotificationMessage[]|null;
19
21
  }
20
22
 
@@ -0,0 +1,10 @@
1
+ import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
2
+ export default class MobileNotificationMessage {
3
+ private readonly locale;
4
+ private readonly title;
5
+ private readonly message;
6
+ constructor(options?: MobileNotificationMessageOptions | null);
7
+ properties(): {
8
+ [name: string]: any;
9
+ };
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class MobileNotificationMessage {
4
+ constructor(options = null) {
5
+ var _a, _b, _c;
6
+ this.locale = null;
7
+ this.title = null;
8
+ this.message = null;
9
+ this.locale = (_a = options === null || options === void 0 ? void 0 : options.locale) !== null && _a !== void 0 ? _a : null;
10
+ this.title = (_b = options === null || options === void 0 ? void 0 : options.title) !== null && _b !== void 0 ? _b : null;
11
+ this.message = (_c = options === null || options === void 0 ? void 0 : options.message) !== null && _c !== void 0 ? _c : null;
12
+ }
13
+ properties() {
14
+ let properties = {};
15
+ if (this.locale != null) {
16
+ properties["locale"] = this.locale;
17
+ }
18
+ if (this.title != null) {
19
+ properties["title"] = this.title;
20
+ }
21
+ if (this.message != null) {
22
+ properties["message"] = this.message;
23
+ }
24
+ return properties;
25
+ }
26
+ }
27
+ exports.default = MobileNotificationMessage;
28
+ //# sourceMappingURL=MobileNotificationMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobileNotificationMessage.js","sourceRoot":"","sources":["MobileNotificationMessage.ts"],"names":[],"mappings":";;AAiBA,MAAqB,yBAAyB;IAK1C,YACI,UAAiD,IAAI;;QALxC,WAAM,GAAgB,IAAI,CAAC;QAC3B,UAAK,GAAgB,IAAI,CAAC;QAC1B,YAAO,GAAgB,IAAI,CAAC;QAKzC,IAAI,CAAC,MAAM,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,IAAI,CAAC;QACtC,IAAI,CAAC,KAAK,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,mCAAI,IAAI,CAAC;QACpC,IAAI,CAAC,OAAO,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,mCAAI,IAAI,CAAC;IAC5C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA7BD,4CA6BC"}
@@ -0,0 +1,47 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+ import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
17
+
18
+ export default class MobileNotificationMessage {
19
+ private readonly locale: string|null = null;
20
+ private readonly title: string|null = null;
21
+ private readonly message: string|null = null;
22
+
23
+ public constructor(
24
+ options: MobileNotificationMessageOptions|null = null,
25
+ ) {
26
+ this.locale = options?.locale ?? null;
27
+ this.title = options?.title ?? null;
28
+ this.message = options?.message ?? null;
29
+ }
30
+
31
+ public properties(
32
+ ): {[name: string]: any} {
33
+ let properties: {[name: string]: any} = {};
34
+
35
+ if (this.locale != null) {
36
+ properties["locale"] = this.locale;
37
+ }
38
+ if (this.title != null) {
39
+ properties["title"] = this.title;
40
+ }
41
+ if (this.message != null) {
42
+ properties["message"] = this.message;
43
+ }
44
+
45
+ return properties;
46
+ }
47
+ }
@@ -0,0 +1,5 @@
1
+ export interface MobileNotificationMessageOptions {
2
+ locale?: string | null;
3
+ title?: string | null;
4
+ message?: string | null;
5
+ }
@@ -0,0 +1,18 @@
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
+ //# sourceMappingURL=MobileNotificationMessageOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobileNotificationMessageOptions.js","sourceRoot":"","sources":["MobileNotificationMessageOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,22 @@
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
+ export interface MobileNotificationMessageOptions {
18
+ locale?: string|null;
19
+ title?: string|null;
20
+ message?: string|null;
21
+ }
22
+
@@ -1 +1 @@
1
- {"version":3,"file":"User.js","sourceRoot":"","sources":["User.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AACxC,sEAAsC;AACtC,0FAA0D;AAG1D,qEAAqC;AAIrC,MAAqB,IAAK,SAAQ,mBAAW;IAKzC,YACI,KAAY,EACZ,IAAY,EACZ,UAA4B,IAAI;;QAEhC,KAAK,CACD,kBAAkB,GAAG,IAAI,CAC5B,CAAC;QATW,gBAAW,GAAgB,IAAI,CAAC;QAW7C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;QAChD,KAAK,CAAC,WAAW,CACb,IAAI,CACP,CAAC;IACN,CAAC;IAGM,aAAa;QAEhB,OAAO,MAAM,CAAC;IAClB,CAAC;IAEM,YAAY;QAEf,OAAO,uBAAuB,CAAC;IACnC,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,iBAAO,CACd,IAAI,CAAC,IAAK,CACb,CAAC;IACN,CAAC;IAGM,MAAM,CACT,cAA8B;QAE9B,IAAI,8BAAoB,CACpB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,cAAc,CAAC,uBAAuB,EACrC,CAAC,GAAG,EACJ,CACJ,CAAC,YAAY,CACV,IAAI,CACP,CAAC,YAAY,CACV,cAAc,CACjB,CAAC;QAEF,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,SAAS,CACZ,iBAAyB;QAEzB,IAAI,8BAAoB,CACpB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,iBAAiB,CACpB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QAEF,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAAE,IAAI,oBAAU,CAC1B,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,CACZ,CAAC;QACF,UAAU,CAAC,YAAY,CACnB,IAAI,CACP,CAAC;QAEF,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,aAAa;QAEhB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,aAAa,EACb,IAAI,CACP,CAAC;IACN,CAAC;CACJ;AA5GD,uBA4GC"}
1
+ {"version":3,"file":"User.js","sourceRoot":"","sources":["User.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AACxC,sEAAsC;AACtC,0FAA0D;AAG1D,qEAAqC;AAKrC,MAAqB,IAAK,SAAQ,mBAAW;IAKzC,YACI,KAAY,EACZ,IAAY,EACZ,UAA4B,IAAI;;QAEhC,KAAK,CACD,kBAAkB,GAAG,IAAI,CAC5B,CAAC;QATW,gBAAW,GAAgB,IAAI,CAAC;QAW7C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;QAChD,KAAK,CAAC,WAAW,CACb,IAAI,CACP,CAAC;IACN,CAAC;IAGM,aAAa;QAEhB,OAAO,MAAM,CAAC;IAClB,CAAC;IAEM,YAAY;QAEf,OAAO,uBAAuB,CAAC;IACnC,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,iBAAO,CACd,IAAI,CAAC,IAAK,CACb,CAAC;IACN,CAAC;IAGM,MAAM,CACT,cAA8B;QAE9B,IAAI,8BAAoB,CACpB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,cAAc,CAAC,uBAAuB,EACrC,CAAC,GAAG,EACJ,CACJ,CAAC,YAAY,CACV,IAAI,CACP,CAAC,YAAY,CACV,cAAc,CACjB,CAAC;QAEF,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,SAAS,CACZ,iBAAyB;QAEzB,IAAI,8BAAoB,CACpB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,iBAAiB,CACpB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QAEF,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAAE,IAAI,oBAAU,CAC1B,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,CACZ,CAAC;QACF,UAAU,CAAC,YAAY,CACnB,IAAI,CACP,CAAC;QAEF,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,aAAa;QAEhB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,aAAa,EACb,IAAI,CACP,CAAC;IACN,CAAC;CACJ;AA5GD,uBA4GC"}
@@ -21,6 +21,7 @@ import AttachSecurityPolicy from "./AttachSecurityPolicy";
21
21
  import SecurityPolicy from "./SecurityPolicy";
22
22
 
23
23
  import UserRef from "../ref/UserRef";
24
+ import { UserDataStoreKeyScheme } from "./enums/UserDataStoreKeyScheme";
24
25
 
25
26
  import { UserOptions } from "./options/UserOptions";
26
27
 
@@ -0,0 +1,5 @@
1
+ export declare const IdentifierDataStoreKeyScheme: {
2
+ readonly V1: "v1";
3
+ readonly V2: "v2";
4
+ };
5
+ export type IdentifierDataStoreKeyScheme = typeof IdentifierDataStoreKeyScheme[keyof typeof IdentifierDataStoreKeyScheme];
@@ -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.IdentifierDataStoreKeyScheme = void 0;
19
+ exports.IdentifierDataStoreKeyScheme = {
20
+ V1: "v1",
21
+ V2: "v2",
22
+ };
23
+ //# sourceMappingURL=IdentifierDataStoreKeyScheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IdentifierDataStoreKeyScheme.js","sourceRoot":"","sources":["IdentifierDataStoreKeyScheme.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,4BAA4B,GAAG;IACxC,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;CACF,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 IdentifierDataStoreKeyScheme = {
20
+ V1: "v1",
21
+ V2: "v2",
22
+ } as const;
23
+ export type IdentifierDataStoreKeyScheme = typeof IdentifierDataStoreKeyScheme[keyof typeof IdentifierDataStoreKeyScheme];
@@ -0,0 +1,5 @@
1
+ export declare const UserDataStoreKeyScheme: {
2
+ readonly V1: "v1";
3
+ readonly V2: "v2";
4
+ };
5
+ export type UserDataStoreKeyScheme = typeof UserDataStoreKeyScheme[keyof typeof UserDataStoreKeyScheme];
@@ -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.UserDataStoreKeyScheme = void 0;
19
+ exports.UserDataStoreKeyScheme = {
20
+ V1: "v1",
21
+ V2: "v2",
22
+ };
23
+ //# sourceMappingURL=UserDataStoreKeyScheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserDataStoreKeyScheme.js","sourceRoot":"","sources":["UserDataStoreKeyScheme.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,sBAAsB,GAAG;IAClC,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;CACF,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 UserDataStoreKeyScheme = {
20
+ V1: "v1",
21
+ V2: "v2",
22
+ } as const;
23
+ export type UserDataStoreKeyScheme = typeof UserDataStoreKeyScheme[keyof typeof UserDataStoreKeyScheme];
@@ -0,0 +1,10 @@
1
+ import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
2
+ export default class MobileNotificationMessage {
3
+ private readonly locale;
4
+ private readonly title;
5
+ private readonly message;
6
+ constructor(options?: MobileNotificationMessageOptions | null);
7
+ properties(): {
8
+ [name: string]: any;
9
+ };
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class MobileNotificationMessage {
4
+ constructor(options = null) {
5
+ var _a, _b, _c;
6
+ this.locale = null;
7
+ this.title = null;
8
+ this.message = null;
9
+ this.locale = (_a = options === null || options === void 0 ? void 0 : options.locale) !== null && _a !== void 0 ? _a : null;
10
+ this.title = (_b = options === null || options === void 0 ? void 0 : options.title) !== null && _b !== void 0 ? _b : null;
11
+ this.message = (_c = options === null || options === void 0 ? void 0 : options.message) !== null && _c !== void 0 ? _c : null;
12
+ }
13
+ properties() {
14
+ let properties = {};
15
+ if (this.locale != null) {
16
+ properties["locale"] = this.locale;
17
+ }
18
+ if (this.title != null) {
19
+ properties["title"] = this.title;
20
+ }
21
+ if (this.message != null) {
22
+ properties["message"] = this.message;
23
+ }
24
+ return properties;
25
+ }
26
+ }
27
+ exports.default = MobileNotificationMessage;
28
+ //# sourceMappingURL=MobileNotificationMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobileNotificationMessage.js","sourceRoot":"","sources":["MobileNotificationMessage.ts"],"names":[],"mappings":";;AAiBA,MAAqB,yBAAyB;IAK1C,YACI,UAAiD,IAAI;;QALxC,WAAM,GAAgB,IAAI,CAAC;QAC3B,UAAK,GAAgB,IAAI,CAAC;QAC1B,YAAO,GAAgB,IAAI,CAAC;QAKzC,IAAI,CAAC,MAAM,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,IAAI,CAAC;QACtC,IAAI,CAAC,KAAK,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,mCAAI,IAAI,CAAC;QACpC,IAAI,CAAC,OAAO,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,mCAAI,IAAI,CAAC;IAC5C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA7BD,4CA6BC"}
@@ -0,0 +1,47 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+ import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
17
+
18
+ export default class MobileNotificationMessage {
19
+ private readonly locale: string|null = null;
20
+ private readonly title: string|null = null;
21
+ private readonly message: string|null = null;
22
+
23
+ public constructor(
24
+ options: MobileNotificationMessageOptions|null = null,
25
+ ) {
26
+ this.locale = options?.locale ?? null;
27
+ this.title = options?.title ?? null;
28
+ this.message = options?.message ?? null;
29
+ }
30
+
31
+ public properties(
32
+ ): {[name: string]: any} {
33
+ let properties: {[name: string]: any} = {};
34
+
35
+ if (this.locale != null) {
36
+ properties["locale"] = this.locale;
37
+ }
38
+ if (this.title != null) {
39
+ properties["title"] = this.title;
40
+ }
41
+ if (this.message != null) {
42
+ properties["message"] = this.message;
43
+ }
44
+
45
+ return properties;
46
+ }
47
+ }
@@ -12,7 +12,9 @@ import AcquireActionResult from "./AcquireActionResult";
12
12
  import { AcquireActionResultOptions } from "./options/AcquireActionResultOptions";
13
13
  import TransactionResult from "./TransactionResult";
14
14
  import { TransactionResultOptions } from "./options/TransactionResultOptions";
15
+ import MobileNotificationMessage from "./MobileNotificationMessage";
16
+ import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
15
17
  import TransactionSettingV2 from "./TransactionSettingV2";
16
18
  import { TransactionSettingV2Options } from "./options/TransactionSettingV2Options";
17
19
  import CurrentMasterData from "./CurrentMasterData";
18
- export { Namespace, NamespaceOptions, GlobalMessage, GlobalMessageOptions, TimeSpan, TimeSpanOptions, VerifyActionResult, VerifyActionResultOptions, ConsumeActionResult, ConsumeActionResultOptions, AcquireActionResult, AcquireActionResultOptions, TransactionResult, TransactionResultOptions, TransactionSettingV2, TransactionSettingV2Options, CurrentMasterData, };
20
+ export { Namespace, NamespaceOptions, GlobalMessage, GlobalMessageOptions, TimeSpan, TimeSpanOptions, VerifyActionResult, VerifyActionResultOptions, ConsumeActionResult, ConsumeActionResultOptions, AcquireActionResult, AcquireActionResultOptions, TransactionResult, TransactionResultOptions, MobileNotificationMessage, MobileNotificationMessageOptions, TransactionSettingV2, TransactionSettingV2Options, CurrentMasterData, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CurrentMasterData = exports.TransactionSettingV2 = exports.TransactionResult = exports.AcquireActionResult = exports.ConsumeActionResult = exports.VerifyActionResult = exports.TimeSpan = exports.GlobalMessage = exports.Namespace = void 0;
3
+ exports.CurrentMasterData = exports.TransactionSettingV2 = exports.MobileNotificationMessage = exports.TransactionResult = exports.AcquireActionResult = exports.ConsumeActionResult = exports.VerifyActionResult = exports.TimeSpan = exports.GlobalMessage = 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
@@ -31,6 +31,8 @@ const AcquireActionResult_1 = tslib_1.__importDefault(require("./AcquireActionRe
31
31
  exports.AcquireActionResult = AcquireActionResult_1.default;
32
32
  const TransactionResult_1 = tslib_1.__importDefault(require("./TransactionResult"));
33
33
  exports.TransactionResult = TransactionResult_1.default;
34
+ const MobileNotificationMessage_1 = tslib_1.__importDefault(require("./MobileNotificationMessage"));
35
+ exports.MobileNotificationMessage = MobileNotificationMessage_1.default;
34
36
  const TransactionSettingV2_1 = tslib_1.__importDefault(require("./TransactionSettingV2"));
35
37
  exports.TransactionSettingV2 = TransactionSettingV2_1.default;
36
38
  const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAmBhC,oBAnBG,mBAAS,CAmBH;AAjBb,4EAA4C;AAmBxC,wBAnBG,uBAAa,CAmBH;AAjBjB,kEAAkC;AAmB9B,mBAnBG,kBAAQ,CAmBH;AAjBZ,sFAAsD;AAmBlD,6BAnBG,4BAAkB,CAmBH;AAjBtB,wFAAwD;AAmBpD,8BAnBG,6BAAmB,CAmBH;AAjBvB,wFAAwD;AAmBpD,8BAnBG,6BAAmB,CAmBH;AAjBvB,oFAAoD;AAmBhD,4BAnBG,2BAAiB,CAmBH;AAjBrB,0FAA0D;AAmBtD,+BAnBG,8BAAoB,CAmBH;AAjBxB,oFAAoD;AAmBhD,4BAnBG,2BAAiB,CAmBH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAqBhC,oBArBG,mBAAS,CAqBH;AAnBb,4EAA4C;AAqBxC,wBArBG,uBAAa,CAqBH;AAnBjB,kEAAkC;AAqB9B,mBArBG,kBAAQ,CAqBH;AAnBZ,sFAAsD;AAqBlD,6BArBG,4BAAkB,CAqBH;AAnBtB,wFAAwD;AAqBpD,8BArBG,6BAAmB,CAqBH;AAnBvB,wFAAwD;AAqBpD,8BArBG,6BAAmB,CAqBH;AAnBvB,oFAAoD;AAqBhD,4BArBG,2BAAiB,CAqBH;AAnBrB,oGAAoE;AAqBhE,oCArBG,mCAAyB,CAqBH;AAnB7B,0FAA0D;AAqBtD,+BArBG,8BAAoB,CAqBH;AAnBxB,oFAAoD;AAqBhD,4BArBG,2BAAiB,CAqBH"}
@@ -27,6 +27,8 @@ import AcquireActionResult from "./AcquireActionResult";
27
27
  import { AcquireActionResultOptions } from "./options/AcquireActionResultOptions";
28
28
  import TransactionResult from "./TransactionResult";
29
29
  import { TransactionResultOptions } from "./options/TransactionResultOptions";
30
+ import MobileNotificationMessage from "./MobileNotificationMessage";
31
+ import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
30
32
  import TransactionSettingV2 from "./TransactionSettingV2";
31
33
  import { TransactionSettingV2Options } from "./options/TransactionSettingV2Options";
32
34
  import CurrentMasterData from "./CurrentMasterData";
@@ -46,6 +48,8 @@ export {
46
48
  AcquireActionResultOptions,
47
49
  TransactionResult,
48
50
  TransactionResultOptions,
51
+ MobileNotificationMessage,
52
+ MobileNotificationMessageOptions,
49
53
  TransactionSettingV2,
50
54
  TransactionSettingV2Options,
51
55
  CurrentMasterData,
@@ -0,0 +1,5 @@
1
+ export interface MobileNotificationMessageOptions {
2
+ locale?: string | null;
3
+ title?: string | null;
4
+ message?: string | null;
5
+ }
@@ -0,0 +1,18 @@
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
+ //# sourceMappingURL=MobileNotificationMessageOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobileNotificationMessageOptions.js","sourceRoot":"","sources":["MobileNotificationMessageOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,22 @@
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
+ export interface MobileNotificationMessageOptions {
18
+ locale?: string|null;
19
+ title?: string|null;
20
+ message?: string|null;
21
+ }
22
+
@@ -0,0 +1,10 @@
1
+ import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
2
+ export default class MobileNotificationMessage {
3
+ private readonly locale;
4
+ private readonly title;
5
+ private readonly message;
6
+ constructor(options?: MobileNotificationMessageOptions | null);
7
+ properties(): {
8
+ [name: string]: any;
9
+ };
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class MobileNotificationMessage {
4
+ constructor(options = null) {
5
+ var _a, _b, _c;
6
+ this.locale = null;
7
+ this.title = null;
8
+ this.message = null;
9
+ this.locale = (_a = options === null || options === void 0 ? void 0 : options.locale) !== null && _a !== void 0 ? _a : null;
10
+ this.title = (_b = options === null || options === void 0 ? void 0 : options.title) !== null && _b !== void 0 ? _b : null;
11
+ this.message = (_c = options === null || options === void 0 ? void 0 : options.message) !== null && _c !== void 0 ? _c : null;
12
+ }
13
+ properties() {
14
+ let properties = {};
15
+ if (this.locale != null) {
16
+ properties["locale"] = this.locale;
17
+ }
18
+ if (this.title != null) {
19
+ properties["title"] = this.title;
20
+ }
21
+ if (this.message != null) {
22
+ properties["message"] = this.message;
23
+ }
24
+ return properties;
25
+ }
26
+ }
27
+ exports.default = MobileNotificationMessage;
28
+ //# sourceMappingURL=MobileNotificationMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobileNotificationMessage.js","sourceRoot":"","sources":["MobileNotificationMessage.ts"],"names":[],"mappings":";;AAiBA,MAAqB,yBAAyB;IAK1C,YACI,UAAiD,IAAI;;QALxC,WAAM,GAAgB,IAAI,CAAC;QAC3B,UAAK,GAAgB,IAAI,CAAC;QAC1B,YAAO,GAAgB,IAAI,CAAC;QAKzC,IAAI,CAAC,MAAM,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,IAAI,CAAC;QACtC,IAAI,CAAC,KAAK,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,mCAAI,IAAI,CAAC;QACpC,IAAI,CAAC,OAAO,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,mCAAI,IAAI,CAAC;IAC5C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA7BD,4CA6BC"}