gs2-cdk 1.0.121 → 1.0.133
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/core/model/NotificationSetting.d.ts +2 -0
- package/core/model/NotificationSetting.js +3 -1
- package/core/model/NotificationSetting.js.map +1 -1
- package/core/model/NotificationSetting.ts +3 -0
- package/core/model/NotificationSettingOptions.d.ts +2 -0
- package/core/model/NotificationSettingOptions.ts +3 -0
- package/core/model/ScriptSetting.d.ts +3 -2
- package/core/model/ScriptSetting.js +3 -1
- package/core/model/ScriptSetting.js.map +1 -1
- package/core/model/ScriptSetting.ts +7 -3
- package/core/model/ScriptSettingOptions.d.ts +7 -0
- package/core/model/ScriptSettingOptions.js +18 -0
- package/core/model/ScriptSettingOptions.js.map +1 -0
- package/core/model/ScriptSettingOptions.ts +27 -0
- package/core/model/index.d.ts +4 -1
- package/core/model/index.js +5 -1
- package/core/model/index.js.map +1 -1
- package/core/model/index.ts +6 -0
- package/core/model/nums/NotificationSettingEnable.d.ts +5 -0
- package/core/model/nums/NotificationSettingEnable.js +23 -0
- package/core/model/nums/NotificationSettingEnable.js.map +1 -0
- package/core/model/nums/NotificationSettingEnable.ts +23 -0
- package/core/model/nums/ScriptSettingDoneTriggerTargetType.d.ts +6 -0
- package/core/model/nums/ScriptSettingDoneTriggerTargetType.js +24 -0
- package/core/model/nums/ScriptSettingDoneTriggerTargetType.js.map +1 -0
- package/core/model/nums/ScriptSettingDoneTriggerTargetType.ts +24 -0
- package/gateway/model/SendNotificationEntry.d.ts +13 -0
- package/gateway/model/SendNotificationEntry.js +38 -0
- package/gateway/model/SendNotificationEntry.js.map +1 -0
- package/gateway/model/SendNotificationEntry.ts +67 -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/SendNotificationEntryOptions.d.ts +3 -0
- package/gateway/model/options/SendNotificationEntryOptions.js +18 -0
- package/gateway/model/options/SendNotificationEntryOptions.js.map +1 -0
- package/gateway/model/options/SendNotificationEntryOptions.ts +20 -0
- package/guild/model/Namespace.d.ts +1 -0
- package/guild/model/Namespace.js +16 -11
- package/guild/model/Namespace.js.map +1 -1
- package/guild/model/Namespace.ts +5 -0
- package/guild/model/options/NamespaceOptions.d.ts +1 -0
- package/guild/model/options/NamespaceOptions.ts +1 -0
- package/identifier/model/index.d.ts +3 -1
- package/identifier/model/index.js +5 -1
- package/identifier/model/index.js.map +1 -1
- package/identifier/model/index.ts +4 -0
- package/limit/model/Namespace.d.ts +1 -0
- package/limit/model/Namespace.js +9 -4
- package/limit/model/Namespace.js.map +1 -1
- package/limit/model/Namespace.ts +7 -0
- package/limit/model/options/NamespaceOptions.d.ts +2 -0
- package/limit/model/options/NamespaceOptions.ts +2 -0
- package/matchmaking/model/Namespace.d.ts +3 -5
- package/matchmaking/model/Namespace.js +19 -17
- package/matchmaking/model/Namespace.js.map +1 -1
- package/matchmaking/model/Namespace.ts +4 -6
- package/matchmaking/model/options/NamespaceOptions.d.ts +4 -0
- package/matchmaking/model/options/NamespaceOptions.ts +2 -0
- package/money2/model/DepositTransaction.js +0 -3
- package/money2/model/DepositTransaction.js.map +1 -1
- package/money2/model/DepositTransaction.ts +0 -3
- package/package.json +1 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { NotificationSettingOptions } from "./NotificationSettingOptions";
|
|
2
|
+
import { NotificationSettingEnable } from "./nums/NotificationSettingEnable";
|
|
2
3
|
export default class NotificationSetting {
|
|
3
4
|
gatewayNamespaceId: string | null;
|
|
4
5
|
enableTransferMobileNotification: boolean | null;
|
|
5
6
|
sound: string | null;
|
|
7
|
+
enable: NotificationSettingEnable | null;
|
|
6
8
|
constructor(options?: NotificationSettingOptions | null);
|
|
7
9
|
properties(): {
|
|
8
10
|
[name: string]: any;
|
|
@@ -15,12 +15,14 @@
|
|
|
15
15
|
* permissions and limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const NotificationSettingEnable_1 = require("./nums/NotificationSettingEnable");
|
|
18
19
|
class NotificationSetting {
|
|
19
20
|
constructor(options = null) {
|
|
20
|
-
var _a, _b, _c;
|
|
21
|
+
var _a, _b, _c, _d;
|
|
21
22
|
this.gatewayNamespaceId = (_a = options === null || options === void 0 ? void 0 : options.gatewayNamespaceId) !== null && _a !== void 0 ? _a : null;
|
|
22
23
|
this.enableTransferMobileNotification = (_b = options === null || options === void 0 ? void 0 : options.enableTransferMobileNotification) !== null && _b !== void 0 ? _b : false;
|
|
23
24
|
this.sound = (_c = options === null || options === void 0 ? void 0 : options.sound) !== null && _c !== void 0 ? _c : null;
|
|
25
|
+
this.enable = (_d = options === null || options === void 0 ? void 0 : options.enable) !== null && _d !== void 0 ? _d : NotificationSettingEnable_1.NotificationSettingEnable.ENABLED;
|
|
24
26
|
}
|
|
25
27
|
properties() {
|
|
26
28
|
let properties = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationSetting.js","sourceRoot":"","sources":["NotificationSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;
|
|
1
|
+
{"version":3,"file":"NotificationSetting.js","sourceRoot":"","sources":["NotificationSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAGH,gFAA6E;AAE7E,MAAqB,mBAAmB;IAOpC,YACI,UAA2C,IAAI;;QAE/C,IAAI,CAAC,kBAAkB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB,mCAAI,IAAI,CAAC;QAC9D,IAAI,CAAC,gCAAgC,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gCAAgC,mCAAI,KAAK,CAAC;QAC3F,IAAI,CAAC,KAAK,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,mCAAI,IAAI,CAAC;QACpC,IAAI,CAAC,MAAM,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,qDAAyB,CAAC,OAAO,CAAC;IACvE,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC;SAC9D;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;AA/BD,sCA+BC"}
|
|
@@ -15,12 +15,14 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { NotificationSettingOptions } from "./NotificationSettingOptions";
|
|
18
|
+
import { NotificationSettingEnable } from "./nums/NotificationSettingEnable";
|
|
18
19
|
|
|
19
20
|
export default class NotificationSetting {
|
|
20
21
|
|
|
21
22
|
gatewayNamespaceId: string | null;
|
|
22
23
|
enableTransferMobileNotification: boolean | null;
|
|
23
24
|
sound: string | null;
|
|
25
|
+
enable: NotificationSettingEnable | null;
|
|
24
26
|
|
|
25
27
|
public constructor(
|
|
26
28
|
options: NotificationSettingOptions|null = null,
|
|
@@ -28,6 +30,7 @@ export default class NotificationSetting {
|
|
|
28
30
|
this.gatewayNamespaceId = options?.gatewayNamespaceId ?? null;
|
|
29
31
|
this.enableTransferMobileNotification = options?.enableTransferMobileNotification ?? false;
|
|
30
32
|
this.sound = options?.sound ?? null;
|
|
33
|
+
this.enable = options?.enable ?? NotificationSettingEnable.ENABLED;
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
public properties(): { [name: string]: any } {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { NotificationSettingEnable } from "./nums/NotificationSettingEnable";
|
|
1
2
|
export interface NotificationSettingOptions {
|
|
2
3
|
gatewayNamespaceId?: string | null;
|
|
3
4
|
enableTransferMobileNotification?: boolean | null;
|
|
4
5
|
sound?: string | null;
|
|
6
|
+
enable?: NotificationSettingEnable | null;
|
|
5
7
|
}
|
|
@@ -14,9 +14,12 @@
|
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
+
import { NotificationSettingEnable } from "./nums/NotificationSettingEnable";
|
|
18
|
+
|
|
17
19
|
export interface NotificationSettingOptions {
|
|
18
20
|
gatewayNamespaceId?: string|null;
|
|
19
21
|
enableTransferMobileNotification?: boolean|null;
|
|
20
22
|
sound?: string|null;
|
|
23
|
+
enable?: NotificationSettingEnable|null;
|
|
21
24
|
}
|
|
22
25
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { ScriptSettingDoneTriggerTargetType } from "./nums/ScriptSettingDoneTriggerTargetType";
|
|
1
2
|
export default class ScriptSetting {
|
|
2
3
|
triggerScriptId: string | null;
|
|
3
|
-
doneTriggerTargetType:
|
|
4
|
+
doneTriggerTargetType: ScriptSettingDoneTriggerTargetType;
|
|
4
5
|
doneTriggerScriptId: string | null;
|
|
5
6
|
doneTriggerQueueNamespaceId: string | null;
|
|
6
|
-
constructor(doneTriggerTargetType:
|
|
7
|
+
constructor(doneTriggerTargetType: ScriptSettingDoneTriggerTargetType, triggerScriptId?: string | null, doneTriggerScriptId?: string | null, doneTriggerQueueNamespaceId?: string | null);
|
|
7
8
|
properties(): {
|
|
8
9
|
[name: string]: any;
|
|
9
10
|
};
|
|
@@ -15,10 +15,12 @@
|
|
|
15
15
|
* permissions and limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const ScriptSettingDoneTriggerTargetType_1 = require("./nums/ScriptSettingDoneTriggerTargetType");
|
|
18
19
|
class ScriptSetting {
|
|
19
20
|
constructor(doneTriggerTargetType, triggerScriptId = null, doneTriggerScriptId = null, doneTriggerQueueNamespaceId = null) {
|
|
21
|
+
this.doneTriggerTargetType = ScriptSettingDoneTriggerTargetType_1.ScriptSettingDoneTriggerTargetType.NONE;
|
|
20
22
|
this.triggerScriptId = triggerScriptId;
|
|
21
|
-
this.doneTriggerTargetType = doneTriggerTargetType;
|
|
23
|
+
this.doneTriggerTargetType = doneTriggerTargetType !== null && doneTriggerTargetType !== void 0 ? doneTriggerTargetType : ScriptSettingDoneTriggerTargetType_1.ScriptSettingDoneTriggerTargetType.NONE;
|
|
22
24
|
this.doneTriggerScriptId = doneTriggerScriptId;
|
|
23
25
|
this.doneTriggerQueueNamespaceId = doneTriggerQueueNamespaceId;
|
|
24
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScriptSetting.js","sourceRoot":"","sources":["ScriptSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,MAAqB,aAAa;IAQ9B,YACI,
|
|
1
|
+
{"version":3,"file":"ScriptSetting.js","sourceRoot":"","sources":["ScriptSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,kGAEmD;AAEnD,MAAqB,aAAa;IAQ9B,YACI,qBAAyD,EACzD,kBAAiC,IAAI,EACrC,sBAAqC,IAAI,EACzC,8BAA6C,IAAI;QATrD,0BAAqB,GAAsC,uEAAkC,CAAC,IAAI,CAAC;QAW/F,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,aAArB,qBAAqB,cAArB,qBAAqB,GAAI,uEAAkC,CAAC,IAAI,CAAC;QAC9F,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,2BAA2B,GAAG,2BAA2B,CAAC;IACnE,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QACD,IAAI,IAAI,CAAC,qBAAqB,IAAI,IAAI,EAAE;YACpC,UAAU,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,qBAAqB,CAAC;SACpE;QACD,IAAI,IAAI,CAAC,mBAAmB,IAAI,IAAI,EAAE;YAClC,UAAU,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,mBAAmB,CAAC;SAChE;QACD,IAAI,IAAI,CAAC,2BAA2B,IAAI,IAAI,EAAE;YAC1C,UAAU,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAAC,2BAA2B,CAAC;SAChF;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAtCD,gCAsCC"}
|
|
@@ -14,22 +14,26 @@
|
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
+
import {
|
|
18
|
+
ScriptSettingDoneTriggerTargetType
|
|
19
|
+
} from "./nums/ScriptSettingDoneTriggerTargetType";
|
|
20
|
+
|
|
17
21
|
export default class ScriptSetting {
|
|
18
22
|
|
|
19
23
|
triggerScriptId: string | null;
|
|
20
|
-
doneTriggerTargetType:
|
|
24
|
+
doneTriggerTargetType: ScriptSettingDoneTriggerTargetType= ScriptSettingDoneTriggerTargetType.NONE;
|
|
21
25
|
doneTriggerScriptId: string | null;
|
|
22
26
|
doneTriggerQueueNamespaceId: string | null;
|
|
23
27
|
|
|
24
28
|
|
|
25
29
|
public constructor(
|
|
26
|
-
doneTriggerTargetType:
|
|
30
|
+
doneTriggerTargetType: ScriptSettingDoneTriggerTargetType,
|
|
27
31
|
triggerScriptId: string | null = null,
|
|
28
32
|
doneTriggerScriptId: string | null = null,
|
|
29
33
|
doneTriggerQueueNamespaceId: string | null = null,
|
|
30
34
|
) {
|
|
31
35
|
this.triggerScriptId = triggerScriptId;
|
|
32
|
-
this.doneTriggerTargetType = doneTriggerTargetType;
|
|
36
|
+
this.doneTriggerTargetType = doneTriggerTargetType ?? ScriptSettingDoneTriggerTargetType.NONE;
|
|
33
37
|
this.doneTriggerScriptId = doneTriggerScriptId;
|
|
34
38
|
this.doneTriggerQueueNamespaceId = doneTriggerQueueNamespaceId;
|
|
35
39
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ScriptSettingDoneTriggerTargetType } from "./nums/ScriptSettingDoneTriggerTargetType";
|
|
2
|
+
export interface ScriptSettingOptions {
|
|
3
|
+
triggerScriptId?: string | null;
|
|
4
|
+
doneTriggerTargetType?: ScriptSettingDoneTriggerTargetType;
|
|
5
|
+
doneTriggerScriptId?: string | null;
|
|
6
|
+
doneTriggerQueueNamespaceId?: string | null;
|
|
7
|
+
}
|
|
@@ -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=ScriptSettingOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScriptSettingOptions.js","sourceRoot":"","sources":["ScriptSettingOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import {
|
|
18
|
+
ScriptSettingDoneTriggerTargetType
|
|
19
|
+
} from "./nums/ScriptSettingDoneTriggerTargetType";
|
|
20
|
+
|
|
21
|
+
export interface ScriptSettingOptions {
|
|
22
|
+
triggerScriptId?: string|null;
|
|
23
|
+
doneTriggerTargetType?: ScriptSettingDoneTriggerTargetType;
|
|
24
|
+
doneTriggerScriptId?: string|null;
|
|
25
|
+
doneTriggerQueueNamespaceId?: string|null;
|
|
26
|
+
}
|
|
27
|
+
|
package/core/model/index.d.ts
CHANGED
|
@@ -5,7 +5,10 @@ import ConsumeAction from "./ConsumeAction";
|
|
|
5
5
|
import VerifyAction from "./VerifyAction";
|
|
6
6
|
import LogSetting from "./LogSetting";
|
|
7
7
|
import NotificationSetting from "./NotificationSetting";
|
|
8
|
+
import { NotificationSettingEnable } from "./nums/NotificationSettingEnable";
|
|
8
9
|
import ScriptSetting from "./ScriptSetting";
|
|
10
|
+
import { ScriptSettingDoneTriggerTargetType } from "./nums/ScriptSettingDoneTriggerTargetType";
|
|
9
11
|
import Stack from "./Stack";
|
|
10
12
|
import TransactionSetting from "./TransactionSetting";
|
|
11
|
-
|
|
13
|
+
import { TransactionSettingOptions } from "./TransactionSettingOptions";
|
|
14
|
+
export { AcquireAction, CdkResource, Config, ConsumeAction, VerifyAction, LogSetting, NotificationSetting, NotificationSettingEnable, ScriptSetting, ScriptSettingDoneTriggerTargetType, Stack, TransactionSetting, TransactionSettingOptions };
|
package/core/model/index.js
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* permissions and limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.TransactionSetting = exports.Stack = exports.ScriptSetting = exports.NotificationSetting = exports.LogSetting = exports.VerifyAction = exports.ConsumeAction = exports.Config = exports.CdkResource = exports.AcquireAction = void 0;
|
|
18
|
+
exports.TransactionSetting = exports.Stack = exports.ScriptSettingDoneTriggerTargetType = exports.ScriptSetting = exports.NotificationSettingEnable = exports.NotificationSetting = exports.LogSetting = exports.VerifyAction = exports.ConsumeAction = exports.Config = exports.CdkResource = exports.AcquireAction = void 0;
|
|
19
19
|
const tslib_1 = require("tslib");
|
|
20
20
|
const AcquireAction_1 = tslib_1.__importDefault(require("./AcquireAction"));
|
|
21
21
|
exports.AcquireAction = AcquireAction_1.default;
|
|
@@ -31,8 +31,12 @@ const LogSetting_1 = tslib_1.__importDefault(require("./LogSetting"));
|
|
|
31
31
|
exports.LogSetting = LogSetting_1.default;
|
|
32
32
|
const NotificationSetting_1 = tslib_1.__importDefault(require("./NotificationSetting"));
|
|
33
33
|
exports.NotificationSetting = NotificationSetting_1.default;
|
|
34
|
+
const NotificationSettingEnable_1 = require("./nums/NotificationSettingEnable");
|
|
35
|
+
Object.defineProperty(exports, "NotificationSettingEnable", { enumerable: true, get: function () { return NotificationSettingEnable_1.NotificationSettingEnable; } });
|
|
34
36
|
const ScriptSetting_1 = tslib_1.__importDefault(require("./ScriptSetting"));
|
|
35
37
|
exports.ScriptSetting = ScriptSetting_1.default;
|
|
38
|
+
const ScriptSettingDoneTriggerTargetType_1 = require("./nums/ScriptSettingDoneTriggerTargetType");
|
|
39
|
+
Object.defineProperty(exports, "ScriptSettingDoneTriggerTargetType", { enumerable: true, get: function () { return ScriptSettingDoneTriggerTargetType_1.ScriptSettingDoneTriggerTargetType; } });
|
|
36
40
|
const Stack_1 = tslib_1.__importDefault(require("./Stack"));
|
|
37
41
|
exports.Stack = Stack_1.default;
|
|
38
42
|
const TransactionSetting_1 = tslib_1.__importDefault(require("./TransactionSetting"));
|
package/core/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;AAEH,4EAA4C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;AAEH,4EAA4C;AAexC,wBAfG,uBAAa,CAeH;AAdjB,wEAAwC;AAepC,sBAfG,qBAAW,CAeH;AAdf,8DAA8B;AAe1B,iBAfG,gBAAM,CAeH;AAdV,4EAA4C;AAexC,wBAfG,uBAAa,CAeH;AAdjB,0EAA0C;AAetC,uBAfG,sBAAY,CAeH;AAdhB,sEAAsC;AAelC,qBAfG,oBAAU,CAeH;AAdd,wFAAwD;AAepD,8BAfG,6BAAmB,CAeH;AAdvB,gFAA6E;AAezE,0GAfK,qDAAyB,OAeL;AAd7B,4EAA4C;AAexC,wBAfG,uBAAa,CAeH;AAdjB,kGAA+F;AAe3F,mHAfK,uEAAkC,OAeL;AAdtC,4DAA4B;AAexB,gBAfG,eAAK,CAeH;AAdT,sFAAsD;AAelD,6BAfG,4BAAkB,CAeH"}
|
package/core/model/index.ts
CHANGED
|
@@ -21,9 +21,12 @@ import ConsumeAction from "./ConsumeAction";
|
|
|
21
21
|
import VerifyAction from "./VerifyAction";
|
|
22
22
|
import LogSetting from "./LogSetting";
|
|
23
23
|
import NotificationSetting from "./NotificationSetting";
|
|
24
|
+
import { NotificationSettingEnable } from "./nums/NotificationSettingEnable";
|
|
24
25
|
import ScriptSetting from "./ScriptSetting";
|
|
26
|
+
import { ScriptSettingDoneTriggerTargetType } from "./nums/ScriptSettingDoneTriggerTargetType";
|
|
25
27
|
import Stack from "./Stack";
|
|
26
28
|
import TransactionSetting from "./TransactionSetting";
|
|
29
|
+
import { TransactionSettingOptions } from "./TransactionSettingOptions";
|
|
27
30
|
|
|
28
31
|
export {
|
|
29
32
|
AcquireAction,
|
|
@@ -33,7 +36,10 @@ export {
|
|
|
33
36
|
VerifyAction,
|
|
34
37
|
LogSetting,
|
|
35
38
|
NotificationSetting,
|
|
39
|
+
NotificationSettingEnable,
|
|
36
40
|
ScriptSetting,
|
|
41
|
+
ScriptSettingDoneTriggerTargetType,
|
|
37
42
|
Stack,
|
|
38
43
|
TransactionSetting,
|
|
44
|
+
TransactionSettingOptions
|
|
39
45
|
}
|
|
@@ -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.NotificationSettingEnable = void 0;
|
|
19
|
+
exports.NotificationSettingEnable = {
|
|
20
|
+
ENABLED: "Enabled",
|
|
21
|
+
DISABLED: "Disabled",
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=NotificationSettingEnable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationSettingEnable.js","sourceRoot":"","sources":["NotificationSettingEnable.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,yBAAyB,GAAG;IACrC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACd,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 NotificationSettingEnable = {
|
|
20
|
+
ENABLED: "Enabled",
|
|
21
|
+
DISABLED: "Disabled",
|
|
22
|
+
} as const;
|
|
23
|
+
export type NotificationSettingEnable = typeof NotificationSettingEnable[keyof typeof NotificationSettingEnable];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const ScriptSettingDoneTriggerTargetType: {
|
|
2
|
+
readonly NONE: "none";
|
|
3
|
+
readonly GS2_SCRIPT: "gs2_script";
|
|
4
|
+
readonly AWS: "aws";
|
|
5
|
+
};
|
|
6
|
+
export type ScriptSettingDoneTriggerTargetType = typeof ScriptSettingDoneTriggerTargetType[keyof typeof ScriptSettingDoneTriggerTargetType];
|
|
@@ -0,0 +1,24 @@
|
|
|
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.ScriptSettingDoneTriggerTargetType = void 0;
|
|
19
|
+
exports.ScriptSettingDoneTriggerTargetType = {
|
|
20
|
+
NONE: "none",
|
|
21
|
+
GS2_SCRIPT: "gs2_script",
|
|
22
|
+
AWS: "aws",
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=ScriptSettingDoneTriggerTargetType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScriptSettingDoneTriggerTargetType.js","sourceRoot":"","sources":["ScriptSettingDoneTriggerTargetType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,kCAAkC,GAAG;IAC9C,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;IACxB,GAAG,EAAE,KAAK;CACJ,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 ScriptSettingDoneTriggerTargetType = {
|
|
20
|
+
NONE: "none",
|
|
21
|
+
GS2_SCRIPT: "gs2_script",
|
|
22
|
+
AWS: "aws",
|
|
23
|
+
} as const;
|
|
24
|
+
export type ScriptSettingDoneTriggerTargetType = typeof ScriptSettingDoneTriggerTargetType[keyof typeof ScriptSettingDoneTriggerTargetType];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SendNotificationEntryOptions } from "./options/SendNotificationEntryOptions";
|
|
2
|
+
export default class SendNotificationEntry {
|
|
3
|
+
private readonly userId;
|
|
4
|
+
private readonly issuer;
|
|
5
|
+
private readonly subject;
|
|
6
|
+
private readonly payload;
|
|
7
|
+
private readonly enableTransferMobileNotification;
|
|
8
|
+
private readonly sound;
|
|
9
|
+
constructor(userId: string, issuer: string, subject: string, payload: string, enableTransferMobileNotification: boolean, options?: SendNotificationEntryOptions | null);
|
|
10
|
+
properties(): {
|
|
11
|
+
[name: string]: any;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class SendNotificationEntry {
|
|
4
|
+
constructor(userId, issuer, subject, payload, enableTransferMobileNotification, options = null) {
|
|
5
|
+
var _a;
|
|
6
|
+
this.sound = null;
|
|
7
|
+
this.userId = userId;
|
|
8
|
+
this.issuer = issuer;
|
|
9
|
+
this.subject = subject;
|
|
10
|
+
this.payload = payload;
|
|
11
|
+
this.enableTransferMobileNotification = enableTransferMobileNotification;
|
|
12
|
+
this.sound = (_a = options === null || options === void 0 ? void 0 : options.sound) !== null && _a !== void 0 ? _a : null;
|
|
13
|
+
}
|
|
14
|
+
properties() {
|
|
15
|
+
let properties = {};
|
|
16
|
+
if (this.userId != null) {
|
|
17
|
+
properties["userId"] = this.userId;
|
|
18
|
+
}
|
|
19
|
+
if (this.issuer != null) {
|
|
20
|
+
properties["issuer"] = this.issuer;
|
|
21
|
+
}
|
|
22
|
+
if (this.subject != null) {
|
|
23
|
+
properties["subject"] = this.subject;
|
|
24
|
+
}
|
|
25
|
+
if (this.payload != null) {
|
|
26
|
+
properties["payload"] = this.payload;
|
|
27
|
+
}
|
|
28
|
+
if (this.enableTransferMobileNotification != null) {
|
|
29
|
+
properties["enableTransferMobileNotification"] = this.enableTransferMobileNotification;
|
|
30
|
+
}
|
|
31
|
+
if (this.sound != null) {
|
|
32
|
+
properties["sound"] = this.sound;
|
|
33
|
+
}
|
|
34
|
+
return properties;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.default = SendNotificationEntry;
|
|
38
|
+
//# sourceMappingURL=SendNotificationEntry.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,67 @@
|
|
|
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 { SendNotificationEntryOptions } from "./options/SendNotificationEntryOptions";
|
|
17
|
+
|
|
18
|
+
export default class SendNotificationEntry {
|
|
19
|
+
private readonly userId: string;
|
|
20
|
+
private readonly issuer: string;
|
|
21
|
+
private readonly subject: string;
|
|
22
|
+
private readonly payload: string;
|
|
23
|
+
private readonly enableTransferMobileNotification: boolean;
|
|
24
|
+
private readonly sound: string|null = null;
|
|
25
|
+
|
|
26
|
+
public constructor(
|
|
27
|
+
userId: string,
|
|
28
|
+
issuer: string,
|
|
29
|
+
subject: string,
|
|
30
|
+
payload: string,
|
|
31
|
+
enableTransferMobileNotification: boolean,
|
|
32
|
+
options: SendNotificationEntryOptions|null = null,
|
|
33
|
+
) {
|
|
34
|
+
this.userId = userId;
|
|
35
|
+
this.issuer = issuer;
|
|
36
|
+
this.subject = subject;
|
|
37
|
+
this.payload = payload;
|
|
38
|
+
this.enableTransferMobileNotification = enableTransferMobileNotification;
|
|
39
|
+
this.sound = options?.sound ?? null;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public properties(
|
|
43
|
+
): {[name: string]: any} {
|
|
44
|
+
let properties: {[name: string]: any} = {};
|
|
45
|
+
|
|
46
|
+
if (this.userId != null) {
|
|
47
|
+
properties["userId"] = this.userId;
|
|
48
|
+
}
|
|
49
|
+
if (this.issuer != null) {
|
|
50
|
+
properties["issuer"] = this.issuer;
|
|
51
|
+
}
|
|
52
|
+
if (this.subject != null) {
|
|
53
|
+
properties["subject"] = this.subject;
|
|
54
|
+
}
|
|
55
|
+
if (this.payload != null) {
|
|
56
|
+
properties["payload"] = this.payload;
|
|
57
|
+
}
|
|
58
|
+
if (this.enableTransferMobileNotification != null) {
|
|
59
|
+
properties["enableTransferMobileNotification"] = this.enableTransferMobileNotification;
|
|
60
|
+
}
|
|
61
|
+
if (this.sound != null) {
|
|
62
|
+
properties["sound"] = this.sound;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
return properties;
|
|
66
|
+
}
|
|
67
|
+
}
|
package/gateway/model/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import Namespace from "./Namespace";
|
|
2
2
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
3
|
-
|
|
3
|
+
import SendNotificationEntry from "./SendNotificationEntry";
|
|
4
|
+
import { SendNotificationEntryOptions } from "./options/SendNotificationEntryOptions";
|
|
5
|
+
export { Namespace, NamespaceOptions, SendNotificationEntry, SendNotificationEntryOptions, };
|
package/gateway/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Namespace = void 0;
|
|
3
|
+
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
|
|
@@ -19,4 +19,6 @@ 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 SendNotificationEntry_1 = tslib_1.__importDefault(require("./SendNotificationEntry"));
|
|
23
|
+
exports.SendNotificationEntry = SendNotificationEntry_1.default;
|
|
22
24
|
//# 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;AAMhC,oBANG,mBAAS,CAMH;AAJb,4FAA4D;AAMxD,gCANG,+BAAqB,CAMH"}
|
package/gateway/model/index.ts
CHANGED
|
@@ -15,8 +15,12 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import Namespace from "./Namespace";
|
|
17
17
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
18
|
+
import SendNotificationEntry from "./SendNotificationEntry";
|
|
19
|
+
import { SendNotificationEntryOptions } from "./options/SendNotificationEntryOptions";
|
|
18
20
|
|
|
19
21
|
export {
|
|
20
22
|
Namespace,
|
|
21
23
|
NamespaceOptions,
|
|
24
|
+
SendNotificationEntry,
|
|
25
|
+
SendNotificationEntryOptions,
|
|
22
26
|
}
|
|
@@ -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=SendNotificationEntryOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SendNotificationEntryOptions.js","sourceRoot":"","sources":["SendNotificationEntryOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 SendNotificationEntryOptions {
|
|
18
|
+
sound?: string|null;
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -12,6 +12,7 @@ export default class Namespace extends CdkResource {
|
|
|
12
12
|
private readonly joinNotification;
|
|
13
13
|
private readonly leaveNotification;
|
|
14
14
|
private readonly changeMemberNotification;
|
|
15
|
+
private readonly changeMemberNotificationIgnoreChangeMetadata;
|
|
15
16
|
private readonly receiveRequestNotification;
|
|
16
17
|
private readonly removeRequestNotification;
|
|
17
18
|
private readonly createGuildScript;
|