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
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CurrentMasterData = exports.TransactionSettingV2 = exports.DistributeResource = exports.VerifyActionResult = exports.ConsumeActionResult = exports.AcquireActionResult = exports.BatchResultPayload = exports.BatchRequestPayloadService = exports.BatchRequestPayload = exports.DistributorModel = exports.Namespace = void 0;
3
+ exports.CurrentMasterData = exports.MobileNotificationMessage = exports.TransactionSettingV2 = exports.DistributeResource = exports.VerifyActionResult = exports.ConsumeActionResult = exports.AcquireActionResult = exports.UserDataEntry = exports.BatchResultPayload = exports.BatchRequestPayloadService = exports.BatchRequestPayload = exports.DistributorModel = 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
@@ -27,6 +27,8 @@ const BatchRequestPayloadService_1 = require("./enums/BatchRequestPayloadService
27
27
  Object.defineProperty(exports, "BatchRequestPayloadService", { enumerable: true, get: function () { return BatchRequestPayloadService_1.BatchRequestPayloadService; } });
28
28
  const BatchResultPayload_1 = tslib_1.__importDefault(require("./BatchResultPayload"));
29
29
  exports.BatchResultPayload = BatchResultPayload_1.default;
30
+ const UserDataEntry_1 = tslib_1.__importDefault(require("./UserDataEntry"));
31
+ exports.UserDataEntry = UserDataEntry_1.default;
30
32
  const AcquireActionResult_1 = tslib_1.__importDefault(require("./AcquireActionResult"));
31
33
  exports.AcquireActionResult = AcquireActionResult_1.default;
32
34
  const ConsumeActionResult_1 = tslib_1.__importDefault(require("./ConsumeActionResult"));
@@ -37,6 +39,8 @@ const DistributeResource_1 = tslib_1.__importDefault(require("./DistributeResour
37
39
  exports.DistributeResource = DistributeResource_1.default;
38
40
  const TransactionSettingV2_1 = tslib_1.__importDefault(require("./TransactionSettingV2"));
39
41
  exports.TransactionSettingV2 = TransactionSettingV2_1.default;
42
+ const MobileNotificationMessage_1 = tslib_1.__importDefault(require("./MobileNotificationMessage"));
43
+ exports.MobileNotificationMessage = MobileNotificationMessage_1.default;
40
44
  const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
41
45
  exports.CurrentMasterData = CurrentMasterData_1.default;
42
46
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAsBhC,oBAtBG,mBAAS,CAsBH;AApBb,kFAAkD;AAsB9C,2BAtBG,0BAAgB,CAsBH;AApBpB,wFAAwD;AAsBpD,8BAtBG,6BAAmB,CAsBH;AApBvB,mFAAgF;AAsB5E,2GAtBK,uDAA0B,OAsBL;AArB9B,sFAAsD;AAsBlD,6BAtBG,4BAAkB,CAsBH;AApBtB,wFAAwD;AAsBpD,8BAtBG,6BAAmB,CAsBH;AApBvB,wFAAwD;AAsBpD,8BAtBG,6BAAmB,CAsBH;AApBvB,sFAAsD;AAsBlD,6BAtBG,4BAAkB,CAsBH;AApBtB,sFAAsD;AAsBlD,6BAtBG,4BAAkB,CAsBH;AApBtB,0FAA0D;AAsBtD,+BAtBG,8BAAoB,CAsBH;AApBxB,oFAAoD;AAsBhD,4BAtBG,2BAAiB,CAsBH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AA0BhC,oBA1BG,mBAAS,CA0BH;AAxBb,kFAAkD;AA0B9C,2BA1BG,0BAAgB,CA0BH;AAxBpB,wFAAwD;AA0BpD,8BA1BG,6BAAmB,CA0BH;AAxBvB,mFAAgF;AA0B5E,2GA1BK,uDAA0B,OA0BL;AAzB9B,sFAAsD;AA0BlD,6BA1BG,4BAAkB,CA0BH;AAxBtB,4EAA4C;AA0BxC,wBA1BG,uBAAa,CA0BH;AAxBjB,wFAAwD;AA0BpD,8BA1BG,6BAAmB,CA0BH;AAxBvB,wFAAwD;AA0BpD,8BA1BG,6BAAmB,CA0BH;AAxBvB,sFAAsD;AA0BlD,6BA1BG,4BAAkB,CA0BH;AAxBtB,sFAAsD;AA0BlD,6BA1BG,4BAAkB,CA0BH;AAxBtB,0FAA0D;AA0BtD,+BA1BG,8BAAoB,CA0BH;AAxBxB,oGAAoE;AA0BhE,oCA1BG,mCAAyB,CA0BH;AAxB7B,oFAAoD;AA0BhD,4BA1BG,2BAAiB,CA0BH"}
@@ -22,6 +22,8 @@ import { BatchRequestPayloadOptions } from "./options/BatchRequestPayloadOptions
22
22
  import { BatchRequestPayloadService } from "./enums/BatchRequestPayloadService";
23
23
  import BatchResultPayload from "./BatchResultPayload";
24
24
  import { BatchResultPayloadOptions } from "./options/BatchResultPayloadOptions";
25
+ import UserDataEntry from "./UserDataEntry";
26
+ import { UserDataEntryOptions } from "./options/UserDataEntryOptions";
25
27
  import AcquireActionResult from "./AcquireActionResult";
26
28
  import { AcquireActionResultOptions } from "./options/AcquireActionResultOptions";
27
29
  import ConsumeActionResult from "./ConsumeActionResult";
@@ -32,6 +34,8 @@ import DistributeResource from "./DistributeResource";
32
34
  import { DistributeResourceOptions } from "./options/DistributeResourceOptions";
33
35
  import TransactionSettingV2 from "./TransactionSettingV2";
34
36
  import { TransactionSettingV2Options } from "./options/TransactionSettingV2Options";
37
+ import MobileNotificationMessage from "./MobileNotificationMessage";
38
+ import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
35
39
  import CurrentMasterData from "./CurrentMasterData";
36
40
 
37
41
  export {
@@ -44,6 +48,8 @@ export {
44
48
  BatchRequestPayloadService,
45
49
  BatchResultPayload,
46
50
  BatchResultPayloadOptions,
51
+ UserDataEntry,
52
+ UserDataEntryOptions,
47
53
  AcquireActionResult,
48
54
  AcquireActionResultOptions,
49
55
  ConsumeActionResult,
@@ -54,5 +60,7 @@ export {
54
60
  DistributeResourceOptions,
55
61
  TransactionSettingV2,
56
62
  TransactionSettingV2Options,
63
+ MobileNotificationMessage,
64
+ MobileNotificationMessageOptions,
57
65
  CurrentMasterData,
58
66
  }
@@ -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,2 @@
1
+ export interface UserDataEntryOptions {
2
+ }
@@ -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=UserDataEntryOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserDataEntryOptions.js","sourceRoot":"","sources":["UserDataEntryOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,19 @@
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 UserDataEntryOptions {
18
+ }
19
+
@@ -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
+ }
@@ -1,5 +1,7 @@
1
1
  import Namespace from "./Namespace";
2
2
  import { NamespaceOptions } from "./options/NamespaceOptions";
3
+ import MobileNotificationMessage from "./MobileNotificationMessage";
4
+ import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
3
5
  import TransactionSettingV2 from "./TransactionSettingV2";
4
6
  import { TransactionSettingV2Options } from "./options/TransactionSettingV2Options";
5
- export { Namespace, NamespaceOptions, TransactionSettingV2, TransactionSettingV2Options, };
7
+ export { Namespace, NamespaceOptions, MobileNotificationMessage, MobileNotificationMessageOptions, TransactionSettingV2, TransactionSettingV2Options, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransactionSettingV2 = exports.Namespace = void 0;
3
+ exports.TransactionSettingV2 = exports.MobileNotificationMessage = 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
@@ -19,6 +19,8 @@ const tslib_1 = require("tslib");
19
19
  */
20
20
  const Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
21
21
  exports.Namespace = Namespace_1.default;
22
+ const MobileNotificationMessage_1 = tslib_1.__importDefault(require("./MobileNotificationMessage"));
23
+ exports.MobileNotificationMessage = MobileNotificationMessage_1.default;
22
24
  const TransactionSettingV2_1 = tslib_1.__importDefault(require("./TransactionSettingV2"));
23
25
  exports.TransactionSettingV2 = TransactionSettingV2_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,oEAAoC;AAMhC,oBANG,mBAAS,CAMH;AAJb,0FAA0D;AAMtD,+BANG,8BAAoB,CAMH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAQhC,oBARG,mBAAS,CAQH;AANb,oGAAoE;AAQhE,oCARG,mCAAyB,CAQH;AAN7B,0FAA0D;AAQtD,+BARG,8BAAoB,CAQH"}
@@ -15,12 +15,16 @@
15
15
  */
16
16
  import Namespace from "./Namespace";
17
17
  import { NamespaceOptions } from "./options/NamespaceOptions";
18
+ import MobileNotificationMessage from "./MobileNotificationMessage";
19
+ import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
18
20
  import TransactionSettingV2 from "./TransactionSettingV2";
19
21
  import { TransactionSettingV2Options } from "./options/TransactionSettingV2Options";
20
22
 
21
23
  export {
22
24
  Namespace,
23
25
  NamespaceOptions,
26
+ MobileNotificationMessage,
27
+ MobileNotificationMessageOptions,
24
28
  TransactionSettingV2,
25
29
  TransactionSettingV2Options,
26
30
  }
@@ -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"}
@@ -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
+ }
@@ -6,6 +6,7 @@ export default class SendNotificationEntry {
6
6
  private readonly payload;
7
7
  private readonly enableTransferMobileNotification;
8
8
  private readonly sound;
9
+ private readonly mobileNotificationMessages;
9
10
  constructor(userId: string, issuer: string, subject: string, payload: string, enableTransferMobileNotification: boolean, options?: SendNotificationEntryOptions | null);
10
11
  properties(): {
11
12
  [name: string]: any;
@@ -2,14 +2,16 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class SendNotificationEntry {
4
4
  constructor(userId, issuer, subject, payload, enableTransferMobileNotification, options = null) {
5
- var _a;
5
+ var _a, _b;
6
6
  this.sound = null;
7
+ this.mobileNotificationMessages = null;
7
8
  this.userId = userId;
8
9
  this.issuer = issuer;
9
10
  this.subject = subject;
10
11
  this.payload = payload;
11
12
  this.enableTransferMobileNotification = enableTransferMobileNotification;
12
13
  this.sound = (_a = options === null || options === void 0 ? void 0 : options.sound) !== null && _a !== void 0 ? _a : null;
14
+ this.mobileNotificationMessages = (_b = options === null || options === void 0 ? void 0 : options.mobileNotificationMessages) !== null && _b !== void 0 ? _b : null;
13
15
  }
14
16
  properties() {
15
17
  let properties = {};
@@ -31,6 +33,9 @@ class SendNotificationEntry {
31
33
  if (this.sound != null) {
32
34
  properties["sound"] = this.sound;
33
35
  }
36
+ if (this.mobileNotificationMessages != null) {
37
+ properties["mobileNotificationMessages"] = this.mobileNotificationMessages.map(v => v.properties());
38
+ }
34
39
  return properties;
35
40
  }
36
41
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SendNotificationEntry.js","sourceRoot":"","sources":["SendNotificationEntry.ts"],"names":[],"mappings":";;AAiBA,MAAqB,qBAAqB;IAQtC,YACI,MAAc,EACd,MAAc,EACd,OAAe,EACf,OAAe,EACf,gCAAyC,EACzC,UAA6C,IAAI;;QARpC,UAAK,GAAgB,IAAI,CAAC;QAUvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,gCAAgC,GAAG,gCAAgC,CAAC;QACzE,IAAI,CAAC,KAAK,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,mCAAI,IAAI,CAAC;IACxC,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,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,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QACD,IAAI,IAAI,CAAC,gCAAgC,IAAI,IAAI,EAAE;YAC/C,UAAU,CAAC,kCAAkC,CAAC,GAAG,IAAI,CAAC,gCAAgC,CAAC;SAC1F;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAjDD,wCAiDC"}
1
+ {"version":3,"file":"SendNotificationEntry.js","sourceRoot":"","sources":["SendNotificationEntry.ts"],"names":[],"mappings":";;AAkBA,MAAqB,qBAAqB;IAStC,YACI,MAAc,EACd,MAAc,EACd,OAAe,EACf,OAAe,EACf,gCAAyC,EACzC,UAA6C,IAAI;;QATpC,UAAK,GAAgB,IAAI,CAAC;QAC1B,+BAA0B,GAAqC,IAAI,CAAC;QAUjF,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,gCAAgC,GAAG,gCAAgC,CAAC;QACzE,IAAI,CAAC,KAAK,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,mCAAI,IAAI,CAAC;QACpC,IAAI,CAAC,0BAA0B,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,0BAA0B,mCAAI,IAAI,CAAC;IAClF,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,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,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QACD,IAAI,IAAI,CAAC,gCAAgC,IAAI,IAAI,EAAE;YAC/C,UAAU,CAAC,kCAAkC,CAAC,GAAG,IAAI,CAAC,gCAAgC,CAAC;SAC1F;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,0BAA0B,IAAI,IAAI,EAAE;YACzC,UAAU,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC,0BAA0B,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EAC3F,CAAC,CAAC;SACV;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAvDD,wCAuDC"}
@@ -13,6 +13,7 @@
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
  import { SendNotificationEntryOptions } from "./options/SendNotificationEntryOptions";
17
18
 
18
19
  export default class SendNotificationEntry {
@@ -22,6 +23,7 @@ export default class SendNotificationEntry {
22
23
  private readonly payload: string;
23
24
  private readonly enableTransferMobileNotification: boolean;
24
25
  private readonly sound: string|null = null;
26
+ private readonly mobileNotificationMessages: MobileNotificationMessage[]|null = null;
25
27
 
26
28
  public constructor(
27
29
  userId: string,
@@ -37,6 +39,7 @@ export default class SendNotificationEntry {
37
39
  this.payload = payload;
38
40
  this.enableTransferMobileNotification = enableTransferMobileNotification;
39
41
  this.sound = options?.sound ?? null;
42
+ this.mobileNotificationMessages = options?.mobileNotificationMessages ?? null;
40
43
  }
41
44
 
42
45
  public properties(
@@ -61,6 +64,10 @@ export default class SendNotificationEntry {
61
64
  if (this.sound != null) {
62
65
  properties["sound"] = this.sound;
63
66
  }
67
+ if (this.mobileNotificationMessages != null) {
68
+ properties["mobileNotificationMessages"] = this.mobileNotificationMessages.map(v => v.properties(
69
+ ));
70
+ }
64
71
 
65
72
  return properties;
66
73
  }
@@ -2,6 +2,8 @@ import Namespace from "./Namespace";
2
2
  import { NamespaceOptions } from "./options/NamespaceOptions";
3
3
  import SendNotificationEntry from "./SendNotificationEntry";
4
4
  import { SendNotificationEntryOptions } from "./options/SendNotificationEntryOptions";
5
+ import MobileNotificationMessage from "./MobileNotificationMessage";
6
+ import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
5
7
  import TransactionSettingV2 from "./TransactionSettingV2";
6
8
  import { TransactionSettingV2Options } from "./options/TransactionSettingV2Options";
7
- export { Namespace, NamespaceOptions, SendNotificationEntry, SendNotificationEntryOptions, TransactionSettingV2, TransactionSettingV2Options, };
9
+ export { Namespace, NamespaceOptions, SendNotificationEntry, SendNotificationEntryOptions, MobileNotificationMessage, MobileNotificationMessageOptions, TransactionSettingV2, TransactionSettingV2Options, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransactionSettingV2 = exports.SendNotificationEntry = exports.Namespace = void 0;
3
+ exports.TransactionSettingV2 = exports.MobileNotificationMessage = exports.SendNotificationEntry = 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
@@ -21,6 +21,8 @@ const Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
21
21
  exports.Namespace = Namespace_1.default;
22
22
  const SendNotificationEntry_1 = tslib_1.__importDefault(require("./SendNotificationEntry"));
23
23
  exports.SendNotificationEntry = SendNotificationEntry_1.default;
24
+ const MobileNotificationMessage_1 = tslib_1.__importDefault(require("./MobileNotificationMessage"));
25
+ exports.MobileNotificationMessage = MobileNotificationMessage_1.default;
24
26
  const TransactionSettingV2_1 = tslib_1.__importDefault(require("./TransactionSettingV2"));
25
27
  exports.TransactionSettingV2 = TransactionSettingV2_1.default;
26
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAQhC,oBARG,mBAAS,CAQH;AANb,4FAA4D;AAQxD,gCARG,+BAAqB,CAQH;AANzB,0FAA0D;AAQtD,+BARG,8BAAoB,CAQH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAUhC,oBAVG,mBAAS,CAUH;AARb,4FAA4D;AAUxD,gCAVG,+BAAqB,CAUH;AARzB,oGAAoE;AAUhE,oCAVG,mCAAyB,CAUH;AAR7B,0FAA0D;AAUtD,+BAVG,8BAAoB,CAUH"}
@@ -17,6 +17,8 @@ import Namespace from "./Namespace";
17
17
  import { NamespaceOptions } from "./options/NamespaceOptions";
18
18
  import SendNotificationEntry from "./SendNotificationEntry";
19
19
  import { SendNotificationEntryOptions } from "./options/SendNotificationEntryOptions";
20
+ import MobileNotificationMessage from "./MobileNotificationMessage";
21
+ import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
20
22
  import TransactionSettingV2 from "./TransactionSettingV2";
21
23
  import { TransactionSettingV2Options } from "./options/TransactionSettingV2Options";
22
24
 
@@ -25,6 +27,8 @@ export {
25
27
  NamespaceOptions,
26
28
  SendNotificationEntry,
27
29
  SendNotificationEntryOptions,
30
+ MobileNotificationMessage,
31
+ MobileNotificationMessageOptions,
28
32
  TransactionSettingV2,
29
33
  TransactionSettingV2Options,
30
34
  }
@@ -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"}