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.
- package/adReward/model/MobileNotificationMessage.d.ts +10 -0
- package/adReward/model/MobileNotificationMessage.js +28 -0
- package/adReward/model/MobileNotificationMessage.js.map +1 -0
- package/adReward/model/MobileNotificationMessage.ts +47 -0
- package/adReward/model/index.d.ts +3 -1
- package/adReward/model/index.js +3 -1
- package/adReward/model/index.js.map +1 -1
- package/adReward/model/index.ts +4 -0
- package/adReward/model/options/MobileNotificationMessageOptions.d.ts +5 -0
- package/adReward/model/options/MobileNotificationMessageOptions.js +18 -0
- package/adReward/model/options/MobileNotificationMessageOptions.js.map +1 -0
- package/adReward/model/options/MobileNotificationMessageOptions.ts +22 -0
- package/chat/model/MobileNotificationMessage.d.ts +10 -0
- package/chat/model/MobileNotificationMessage.js +28 -0
- package/chat/model/MobileNotificationMessage.js.map +1 -0
- package/chat/model/MobileNotificationMessage.ts +47 -0
- package/chat/model/index.d.ts +3 -1
- package/chat/model/index.js +3 -1
- package/chat/model/index.js.map +1 -1
- package/chat/model/index.ts +4 -0
- package/chat/model/options/MobileNotificationMessageOptions.d.ts +5 -0
- package/chat/model/options/MobileNotificationMessageOptions.js +18 -0
- package/chat/model/options/MobileNotificationMessageOptions.js.map +1 -0
- package/chat/model/options/MobileNotificationMessageOptions.ts +22 -0
- package/distributor/model/MobileNotificationMessage.d.ts +10 -0
- package/distributor/model/MobileNotificationMessage.js +28 -0
- package/distributor/model/MobileNotificationMessage.js.map +1 -0
- package/distributor/model/MobileNotificationMessage.ts +47 -0
- package/distributor/model/UserDataEntry.d.ts +11 -0
- package/distributor/model/UserDataEntry.js +28 -0
- package/distributor/model/UserDataEntry.js.map +1 -0
- package/distributor/model/UserDataEntry.ts +56 -0
- package/distributor/model/index.d.ts +5 -1
- package/distributor/model/index.js +5 -1
- package/distributor/model/index.js.map +1 -1
- package/distributor/model/index.ts +8 -0
- package/distributor/model/options/MobileNotificationMessageOptions.d.ts +5 -0
- package/distributor/model/options/MobileNotificationMessageOptions.js +18 -0
- package/distributor/model/options/MobileNotificationMessageOptions.js.map +1 -0
- package/distributor/model/options/MobileNotificationMessageOptions.ts +22 -0
- package/distributor/model/options/UserDataEntryOptions.d.ts +2 -0
- package/distributor/model/options/UserDataEntryOptions.js +18 -0
- package/distributor/model/options/UserDataEntryOptions.js.map +1 -0
- package/distributor/model/options/UserDataEntryOptions.ts +19 -0
- package/friend/model/MobileNotificationMessage.d.ts +10 -0
- package/friend/model/MobileNotificationMessage.js +28 -0
- package/friend/model/MobileNotificationMessage.js.map +1 -0
- package/friend/model/MobileNotificationMessage.ts +47 -0
- package/friend/model/index.d.ts +3 -1
- package/friend/model/index.js +3 -1
- package/friend/model/index.js.map +1 -1
- package/friend/model/index.ts +4 -0
- package/friend/model/options/MobileNotificationMessageOptions.d.ts +5 -0
- package/friend/model/options/MobileNotificationMessageOptions.js +18 -0
- package/friend/model/options/MobileNotificationMessageOptions.js.map +1 -0
- package/friend/model/options/MobileNotificationMessageOptions.ts +22 -0
- package/gateway/model/MobileNotificationMessage.d.ts +10 -0
- package/gateway/model/MobileNotificationMessage.js +28 -0
- package/gateway/model/MobileNotificationMessage.js.map +1 -0
- package/gateway/model/MobileNotificationMessage.ts +47 -0
- package/gateway/model/SendNotificationEntry.d.ts +1 -0
- package/gateway/model/SendNotificationEntry.js +6 -1
- package/gateway/model/SendNotificationEntry.js.map +1 -1
- package/gateway/model/SendNotificationEntry.ts +7 -0
- package/gateway/model/index.d.ts +3 -1
- package/gateway/model/index.js +3 -1
- package/gateway/model/index.js.map +1 -1
- package/gateway/model/index.ts +4 -0
- package/gateway/model/options/MobileNotificationMessageOptions.d.ts +5 -0
- package/gateway/model/options/MobileNotificationMessageOptions.js +18 -0
- package/gateway/model/options/MobileNotificationMessageOptions.js.map +1 -0
- package/gateway/model/options/MobileNotificationMessageOptions.ts +22 -0
- package/gateway/model/options/SendNotificationEntryOptions.d.ts +2 -0
- package/gateway/model/options/SendNotificationEntryOptions.js +0 -15
- package/gateway/model/options/SendNotificationEntryOptions.js.map +1 -1
- package/gateway/model/options/SendNotificationEntryOptions.ts +2 -0
- package/guild/model/MobileNotificationMessage.d.ts +10 -0
- package/guild/model/MobileNotificationMessage.js +28 -0
- package/guild/model/MobileNotificationMessage.js.map +1 -0
- package/guild/model/MobileNotificationMessage.ts +47 -0
- package/guild/model/options/MobileNotificationMessageOptions.d.ts +5 -0
- package/guild/model/options/MobileNotificationMessageOptions.js +18 -0
- package/guild/model/options/MobileNotificationMessageOptions.js.map +1 -0
- package/guild/model/options/MobileNotificationMessageOptions.ts +22 -0
- package/identifier/model/User.js.map +1 -1
- package/identifier/model/User.ts +1 -0
- package/identifier/model/enums/IdentifierDataStoreKeyScheme.d.ts +5 -0
- package/identifier/model/enums/IdentifierDataStoreKeyScheme.js +23 -0
- package/identifier/model/enums/IdentifierDataStoreKeyScheme.js.map +1 -0
- package/identifier/model/enums/IdentifierDataStoreKeyScheme.ts +23 -0
- package/identifier/model/enums/UserDataStoreKeyScheme.d.ts +5 -0
- package/identifier/model/enums/UserDataStoreKeyScheme.js +23 -0
- package/identifier/model/enums/UserDataStoreKeyScheme.js.map +1 -0
- package/identifier/model/enums/UserDataStoreKeyScheme.ts +23 -0
- package/inbox/model/MobileNotificationMessage.d.ts +10 -0
- package/inbox/model/MobileNotificationMessage.js +28 -0
- package/inbox/model/MobileNotificationMessage.js.map +1 -0
- package/inbox/model/MobileNotificationMessage.ts +47 -0
- package/inbox/model/index.d.ts +3 -1
- package/inbox/model/index.js +3 -1
- package/inbox/model/index.js.map +1 -1
- package/inbox/model/index.ts +4 -0
- package/inbox/model/options/MobileNotificationMessageOptions.d.ts +5 -0
- package/inbox/model/options/MobileNotificationMessageOptions.js +18 -0
- package/inbox/model/options/MobileNotificationMessageOptions.js.map +1 -0
- package/inbox/model/options/MobileNotificationMessageOptions.ts +22 -0
- package/jobQueue/model/MobileNotificationMessage.d.ts +10 -0
- package/jobQueue/model/MobileNotificationMessage.js +28 -0
- package/jobQueue/model/MobileNotificationMessage.js.map +1 -0
- package/jobQueue/model/MobileNotificationMessage.ts +47 -0
- package/jobQueue/model/index.d.ts +3 -1
- package/jobQueue/model/index.js +3 -1
- package/jobQueue/model/index.js.map +1 -1
- package/jobQueue/model/index.ts +4 -0
- package/jobQueue/model/options/MobileNotificationMessageOptions.d.ts +5 -0
- package/jobQueue/model/options/MobileNotificationMessageOptions.js +18 -0
- package/jobQueue/model/options/MobileNotificationMessageOptions.js.map +1 -0
- package/jobQueue/model/options/MobileNotificationMessageOptions.ts +22 -0
- package/matchmaking/model/MobileNotificationMessage.d.ts +10 -0
- package/matchmaking/model/MobileNotificationMessage.js +28 -0
- package/matchmaking/model/MobileNotificationMessage.js.map +1 -0
- package/matchmaking/model/MobileNotificationMessage.ts +47 -0
- package/matchmaking/model/index.d.ts +3 -1
- package/matchmaking/model/index.js +3 -1
- package/matchmaking/model/index.js.map +1 -1
- package/matchmaking/model/index.ts +4 -0
- package/matchmaking/model/options/MobileNotificationMessageOptions.d.ts +5 -0
- package/matchmaking/model/options/MobileNotificationMessageOptions.js +18 -0
- package/matchmaking/model/options/MobileNotificationMessageOptions.js.map +1 -0
- package/matchmaking/model/options/MobileNotificationMessageOptions.ts +22 -0
- package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2RealtimeOptions.ts +1 -0
- package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2ScriptOptions.ts +1 -0
- package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsNoneOptions.ts +1 -0
- package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2RealtimeOptions.ts +1 -0
- package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2ScriptOptions.ts +1 -0
- package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsNoneOptions.ts +1 -0
- package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsDisableOptions.ts +1 -0
- package/matchmaking/model/options/NamespaceEnableCollaborateSeasonRatingIsEnableOptions.ts +1 -0
- package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsDisableOptions.ts +1 -0
- package/matchmaking/model/options/NamespaceEnableDisconnectDetectionIsEnableOptions.ts +1 -0
- package/mission/model/MobileNotificationMessage.d.ts +10 -0
- package/mission/model/MobileNotificationMessage.js +28 -0
- package/mission/model/MobileNotificationMessage.js.map +1 -0
- package/mission/model/MobileNotificationMessage.ts +47 -0
- package/mission/model/index.d.ts +3 -1
- package/mission/model/index.js +3 -1
- package/mission/model/index.js.map +1 -1
- package/mission/model/index.ts +4 -0
- package/mission/model/options/MobileNotificationMessageOptions.d.ts +5 -0
- package/mission/model/options/MobileNotificationMessageOptions.js +18 -0
- package/mission/model/options/MobileNotificationMessageOptions.js.map +1 -0
- package/mission/model/options/MobileNotificationMessageOptions.ts +22 -0
- package/money2/model/MobileNotificationMessage.d.ts +10 -0
- package/money2/model/MobileNotificationMessage.js +28 -0
- package/money2/model/MobileNotificationMessage.js.map +1 -0
- package/money2/model/MobileNotificationMessage.ts +47 -0
- package/money2/model/index.d.ts +3 -1
- package/money2/model/index.js +3 -1
- package/money2/model/index.js.map +1 -1
- package/money2/model/index.ts +4 -0
- package/money2/model/options/MobileNotificationMessageOptions.d.ts +5 -0
- package/money2/model/options/MobileNotificationMessageOptions.js +18 -0
- package/money2/model/options/MobileNotificationMessageOptions.js.map +1 -0
- package/money2/model/options/MobileNotificationMessageOptions.ts +22 -0
- package/package.json +1 -1
- package/realtime/model/MobileNotificationMessage.d.ts +10 -0
- package/realtime/model/MobileNotificationMessage.js +28 -0
- package/realtime/model/MobileNotificationMessage.js.map +1 -0
- package/realtime/model/MobileNotificationMessage.ts +47 -0
- package/realtime/model/options/MobileNotificationMessageOptions.d.ts +5 -0
- package/realtime/model/options/MobileNotificationMessageOptions.js +18 -0
- package/realtime/model/options/MobileNotificationMessageOptions.js.map +1 -0
- 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,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":"
|
|
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,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;
|
|
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"}
|
package/identifier/model/User.ts
CHANGED
|
@@ -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,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,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
|
+
}
|
package/inbox/model/index.d.ts
CHANGED
|
@@ -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, };
|
package/inbox/model/index.js
CHANGED
|
@@ -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"));
|
package/inbox/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;
|
|
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"}
|
package/inbox/model/index.ts
CHANGED
|
@@ -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,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"}
|