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,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,8 @@ import UnityAd from "./UnityAd";
|
|
|
6
6
|
import { UnityAdOptions } from "./options/UnityAdOptions";
|
|
7
7
|
import AppLovinMax from "./AppLovinMax";
|
|
8
8
|
import { AppLovinMaxOptions } from "./options/AppLovinMaxOptions";
|
|
9
|
+
import MobileNotificationMessage from "./MobileNotificationMessage";
|
|
10
|
+
import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
|
|
9
11
|
import TransactionSettingV2 from "./TransactionSettingV2";
|
|
10
12
|
import { TransactionSettingV2Options } from "./options/TransactionSettingV2Options";
|
|
11
|
-
export { Namespace, NamespaceOptions, AdMob, AdMobOptions, UnityAd, UnityAdOptions, AppLovinMax, AppLovinMaxOptions, TransactionSettingV2, TransactionSettingV2Options, };
|
|
13
|
+
export { Namespace, NamespaceOptions, AdMob, AdMobOptions, UnityAd, UnityAdOptions, AppLovinMax, AppLovinMaxOptions, MobileNotificationMessage, MobileNotificationMessageOptions, TransactionSettingV2, TransactionSettingV2Options, };
|
package/adReward/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TransactionSettingV2 = exports.AppLovinMax = exports.UnityAd = exports.AdMob = exports.Namespace = void 0;
|
|
3
|
+
exports.TransactionSettingV2 = exports.MobileNotificationMessage = exports.AppLovinMax = exports.UnityAd = exports.AdMob = 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
|
|
@@ -25,6 +25,8 @@ const UnityAd_1 = tslib_1.__importDefault(require("./UnityAd"));
|
|
|
25
25
|
exports.UnityAd = UnityAd_1.default;
|
|
26
26
|
const AppLovinMax_1 = tslib_1.__importDefault(require("./AppLovinMax"));
|
|
27
27
|
exports.AppLovinMax = AppLovinMax_1.default;
|
|
28
|
+
const MobileNotificationMessage_1 = tslib_1.__importDefault(require("./MobileNotificationMessage"));
|
|
29
|
+
exports.MobileNotificationMessage = MobileNotificationMessage_1.default;
|
|
28
30
|
const TransactionSettingV2_1 = tslib_1.__importDefault(require("./TransactionSettingV2"));
|
|
29
31
|
exports.TransactionSettingV2 = TransactionSettingV2_1.default;
|
|
30
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -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;AAchC,oBAdG,mBAAS,CAcH;AAZb,4DAA4B;AAcxB,gBAdG,eAAK,CAcH;AAZT,gEAAgC;AAc5B,kBAdG,iBAAO,CAcH;AAZX,wEAAwC;AAcpC,sBAdG,qBAAW,CAcH;AAZf,oGAAoE;AAchE,oCAdG,mCAAyB,CAcH;AAZ7B,0FAA0D;AActD,+BAdG,8BAAoB,CAcH"}
|
package/adReward/model/index.ts
CHANGED
|
@@ -21,6 +21,8 @@ import UnityAd from "./UnityAd";
|
|
|
21
21
|
import { UnityAdOptions } from "./options/UnityAdOptions";
|
|
22
22
|
import AppLovinMax from "./AppLovinMax";
|
|
23
23
|
import { AppLovinMaxOptions } from "./options/AppLovinMaxOptions";
|
|
24
|
+
import MobileNotificationMessage from "./MobileNotificationMessage";
|
|
25
|
+
import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
|
|
24
26
|
import TransactionSettingV2 from "./TransactionSettingV2";
|
|
25
27
|
import { TransactionSettingV2Options } from "./options/TransactionSettingV2Options";
|
|
26
28
|
|
|
@@ -33,6 +35,8 @@ export {
|
|
|
33
35
|
UnityAdOptions,
|
|
34
36
|
AppLovinMax,
|
|
35
37
|
AppLovinMaxOptions,
|
|
38
|
+
MobileNotificationMessage,
|
|
39
|
+
MobileNotificationMessageOptions,
|
|
36
40
|
TransactionSettingV2,
|
|
37
41
|
TransactionSettingV2Options,
|
|
38
42
|
}
|
|
@@ -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
|
+
}
|
package/chat/model/index.d.ts
CHANGED
|
@@ -5,7 +5,9 @@ import { CategoryModelOptions } from "./options/CategoryModelOptions";
|
|
|
5
5
|
import { CategoryModelRejectAccessTokenPost } from "./enums/CategoryModelRejectAccessTokenPost";
|
|
6
6
|
import NotificationType from "./NotificationType";
|
|
7
7
|
import { NotificationTypeOptions } from "./options/NotificationTypeOptions";
|
|
8
|
+
import MobileNotificationMessage from "./MobileNotificationMessage";
|
|
9
|
+
import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
|
|
8
10
|
import TransactionSettingV2 from "./TransactionSettingV2";
|
|
9
11
|
import { TransactionSettingV2Options } from "./options/TransactionSettingV2Options";
|
|
10
12
|
import CurrentMasterData from "./CurrentMasterData";
|
|
11
|
-
export { Namespace, NamespaceOptions, CategoryModel, CategoryModelOptions, CategoryModelRejectAccessTokenPost, NotificationType, NotificationTypeOptions, TransactionSettingV2, TransactionSettingV2Options, CurrentMasterData, };
|
|
13
|
+
export { Namespace, NamespaceOptions, CategoryModel, CategoryModelOptions, CategoryModelRejectAccessTokenPost, NotificationType, NotificationTypeOptions, MobileNotificationMessage, MobileNotificationMessageOptions, TransactionSettingV2, TransactionSettingV2Options, CurrentMasterData, };
|
package/chat/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.NotificationType = exports.CategoryModelRejectAccessTokenPost = exports.CategoryModel = exports.Namespace = void 0;
|
|
3
|
+
exports.CurrentMasterData = exports.TransactionSettingV2 = exports.MobileNotificationMessage = exports.NotificationType = exports.CategoryModelRejectAccessTokenPost = exports.CategoryModel = 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
|
|
@@ -25,6 +25,8 @@ const CategoryModelRejectAccessTokenPost_1 = require("./enums/CategoryModelRejec
|
|
|
25
25
|
Object.defineProperty(exports, "CategoryModelRejectAccessTokenPost", { enumerable: true, get: function () { return CategoryModelRejectAccessTokenPost_1.CategoryModelRejectAccessTokenPost; } });
|
|
26
26
|
const NotificationType_1 = tslib_1.__importDefault(require("./NotificationType"));
|
|
27
27
|
exports.NotificationType = NotificationType_1.default;
|
|
28
|
+
const MobileNotificationMessage_1 = tslib_1.__importDefault(require("./MobileNotificationMessage"));
|
|
29
|
+
exports.MobileNotificationMessage = MobileNotificationMessage_1.default;
|
|
28
30
|
const TransactionSettingV2_1 = tslib_1.__importDefault(require("./TransactionSettingV2"));
|
|
29
31
|
exports.TransactionSettingV2 = TransactionSettingV2_1.default;
|
|
30
32
|
const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
|
package/chat/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;AAchC,oBAdG,mBAAS,CAcH;AAZb,4EAA4C;AAcxC,wBAdG,uBAAa,CAcH;AAZjB,mGAAgG;AAc5F,mHAdK,uEAAkC,OAcL;AAbtC,kFAAkD;AAc9C,2BAdG,0BAAgB,CAcH;AAZpB,oGAAoE;AAchE,oCAdG,mCAAyB,CAcH;AAZ7B,0FAA0D;AActD,+BAdG,8BAAoB,CAcH;AAZxB,oFAAoD;AAchD,4BAdG,2BAAiB,CAcH"}
|
package/chat/model/index.ts
CHANGED
|
@@ -20,6 +20,8 @@ import { CategoryModelOptions } from "./options/CategoryModelOptions";
|
|
|
20
20
|
import { CategoryModelRejectAccessTokenPost } from "./enums/CategoryModelRejectAccessTokenPost";
|
|
21
21
|
import NotificationType from "./NotificationType";
|
|
22
22
|
import { NotificationTypeOptions } from "./options/NotificationTypeOptions";
|
|
23
|
+
import MobileNotificationMessage from "./MobileNotificationMessage";
|
|
24
|
+
import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
|
|
23
25
|
import TransactionSettingV2 from "./TransactionSettingV2";
|
|
24
26
|
import { TransactionSettingV2Options } from "./options/TransactionSettingV2Options";
|
|
25
27
|
import CurrentMasterData from "./CurrentMasterData";
|
|
@@ -32,6 +34,8 @@ export {
|
|
|
32
34
|
CategoryModelRejectAccessTokenPost,
|
|
33
35
|
NotificationType,
|
|
34
36
|
NotificationTypeOptions,
|
|
37
|
+
MobileNotificationMessage,
|
|
38
|
+
MobileNotificationMessageOptions,
|
|
35
39
|
TransactionSettingV2,
|
|
36
40
|
TransactionSettingV2Options,
|
|
37
41
|
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"}
|
|
@@ -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,11 @@
|
|
|
1
|
+
import { UserDataEntryOptions } from "./options/UserDataEntryOptions";
|
|
2
|
+
export default class UserDataEntry {
|
|
3
|
+
private readonly service;
|
|
4
|
+
private readonly namespaceName;
|
|
5
|
+
private readonly kind;
|
|
6
|
+
private readonly payload;
|
|
7
|
+
constructor(service: string, namespaceName: string, kind: string, payload: string, options?: UserDataEntryOptions | null);
|
|
8
|
+
properties(): {
|
|
9
|
+
[name: string]: any;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class UserDataEntry {
|
|
4
|
+
constructor(service, namespaceName, kind, payload, options = null) {
|
|
5
|
+
this.service = service;
|
|
6
|
+
this.namespaceName = namespaceName;
|
|
7
|
+
this.kind = kind;
|
|
8
|
+
this.payload = payload;
|
|
9
|
+
}
|
|
10
|
+
properties() {
|
|
11
|
+
let properties = {};
|
|
12
|
+
if (this.service != null) {
|
|
13
|
+
properties["service"] = this.service;
|
|
14
|
+
}
|
|
15
|
+
if (this.namespaceName != null) {
|
|
16
|
+
properties["namespaceName"] = this.namespaceName;
|
|
17
|
+
}
|
|
18
|
+
if (this.kind != null) {
|
|
19
|
+
properties["kind"] = this.kind;
|
|
20
|
+
}
|
|
21
|
+
if (this.payload != null) {
|
|
22
|
+
properties["payload"] = this.payload;
|
|
23
|
+
}
|
|
24
|
+
return properties;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.default = UserDataEntry;
|
|
28
|
+
//# sourceMappingURL=UserDataEntry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserDataEntry.js","sourceRoot":"","sources":["UserDataEntry.ts"],"names":[],"mappings":";;AAiBA,MAAqB,aAAa;IAM9B,YACI,OAAe,EACf,aAAqB,EACrB,IAAY,EACZ,OAAe,EACf,UAAqC,IAAI;QAEzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;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;AAtCD,gCAsCC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { UserDataEntryOptions } from "./options/UserDataEntryOptions";
|
|
17
|
+
|
|
18
|
+
export default class UserDataEntry {
|
|
19
|
+
private readonly service: string;
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly kind: string;
|
|
22
|
+
private readonly payload: string;
|
|
23
|
+
|
|
24
|
+
public constructor(
|
|
25
|
+
service: string,
|
|
26
|
+
namespaceName: string,
|
|
27
|
+
kind: string,
|
|
28
|
+
payload: string,
|
|
29
|
+
options: UserDataEntryOptions|null = null,
|
|
30
|
+
) {
|
|
31
|
+
this.service = service;
|
|
32
|
+
this.namespaceName = namespaceName;
|
|
33
|
+
this.kind = kind;
|
|
34
|
+
this.payload = payload;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public properties(
|
|
38
|
+
): {[name: string]: any} {
|
|
39
|
+
let properties: {[name: string]: any} = {};
|
|
40
|
+
|
|
41
|
+
if (this.service != null) {
|
|
42
|
+
properties["service"] = this.service;
|
|
43
|
+
}
|
|
44
|
+
if (this.namespaceName != null) {
|
|
45
|
+
properties["namespaceName"] = this.namespaceName;
|
|
46
|
+
}
|
|
47
|
+
if (this.kind != null) {
|
|
48
|
+
properties["kind"] = this.kind;
|
|
49
|
+
}
|
|
50
|
+
if (this.payload != null) {
|
|
51
|
+
properties["payload"] = this.payload;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
return properties;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -7,6 +7,8 @@ import { BatchRequestPayloadOptions } from "./options/BatchRequestPayloadOptions
|
|
|
7
7
|
import { BatchRequestPayloadService } from "./enums/BatchRequestPayloadService";
|
|
8
8
|
import BatchResultPayload from "./BatchResultPayload";
|
|
9
9
|
import { BatchResultPayloadOptions } from "./options/BatchResultPayloadOptions";
|
|
10
|
+
import UserDataEntry from "./UserDataEntry";
|
|
11
|
+
import { UserDataEntryOptions } from "./options/UserDataEntryOptions";
|
|
10
12
|
import AcquireActionResult from "./AcquireActionResult";
|
|
11
13
|
import { AcquireActionResultOptions } from "./options/AcquireActionResultOptions";
|
|
12
14
|
import ConsumeActionResult from "./ConsumeActionResult";
|
|
@@ -17,5 +19,7 @@ import DistributeResource from "./DistributeResource";
|
|
|
17
19
|
import { DistributeResourceOptions } from "./options/DistributeResourceOptions";
|
|
18
20
|
import TransactionSettingV2 from "./TransactionSettingV2";
|
|
19
21
|
import { TransactionSettingV2Options } from "./options/TransactionSettingV2Options";
|
|
22
|
+
import MobileNotificationMessage from "./MobileNotificationMessage";
|
|
23
|
+
import { MobileNotificationMessageOptions } from "./options/MobileNotificationMessageOptions";
|
|
20
24
|
import CurrentMasterData from "./CurrentMasterData";
|
|
21
|
-
export { Namespace, NamespaceOptions, DistributorModel, DistributorModelOptions, BatchRequestPayload, BatchRequestPayloadOptions, BatchRequestPayloadService, BatchResultPayload, BatchResultPayloadOptions, AcquireActionResult, AcquireActionResultOptions, ConsumeActionResult, ConsumeActionResultOptions, VerifyActionResult, VerifyActionResultOptions, DistributeResource, DistributeResourceOptions, TransactionSettingV2, TransactionSettingV2Options, CurrentMasterData, };
|
|
25
|
+
export { Namespace, NamespaceOptions, DistributorModel, DistributorModelOptions, BatchRequestPayload, BatchRequestPayloadOptions, BatchRequestPayloadService, BatchResultPayload, BatchResultPayloadOptions, UserDataEntry, UserDataEntryOptions, AcquireActionResult, AcquireActionResultOptions, ConsumeActionResult, ConsumeActionResultOptions, VerifyActionResult, VerifyActionResultOptions, DistributeResource, DistributeResourceOptions, TransactionSettingV2, TransactionSettingV2Options, MobileNotificationMessage, MobileNotificationMessageOptions, CurrentMasterData, };
|