gs2-cdk 1.0.95 → 1.0.97
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/account/model/OpenIdConnectSetting.d.ts +2 -0
- package/account/model/OpenIdConnectSetting.js +11 -1
- package/account/model/OpenIdConnectSetting.js.map +1 -1
- package/account/model/OpenIdConnectSetting.ts +12 -0
- package/account/model/ScopeValue.d.ts +9 -0
- package/account/model/ScopeValue.js +22 -0
- package/account/model/ScopeValue.js.map +1 -0
- package/account/model/ScopeValue.ts +43 -0
- package/account/model/TakeOverTypeModel.js.map +1 -1
- package/account/model/TakeOverTypeModel.ts +1 -0
- package/account/model/index.d.ts +3 -1
- package/account/model/index.js +3 -1
- package/account/model/index.js.map +1 -1
- package/account/model/index.ts +4 -0
- package/account/model/options/OpenIdConnectSettingOptions.d.ts +3 -0
- package/account/model/options/OpenIdConnectSettingOptions.js +0 -15
- package/account/model/options/OpenIdConnectSettingOptions.js.map +1 -1
- package/account/model/options/OpenIdConnectSettingOptions.ts +3 -0
- package/account/model/options/ScopeValueOptions.d.ts +3 -0
- package/account/model/options/ScopeValueOptions.js +18 -0
- package/account/model/options/ScopeValueOptions.js.map +1 -0
- package/account/model/options/ScopeValueOptions.ts +20 -0
- package/account/model/options/TakeOverTypeModelOptions.ts +1 -0
- package/distributor/model/BatchRequestPayload.d.ts +12 -0
- package/distributor/model/BatchRequestPayload.js +28 -0
- package/distributor/model/BatchRequestPayload.js.map +1 -0
- package/distributor/model/BatchRequestPayload.ts +57 -0
- package/distributor/model/BatchResultPayload.d.ts +10 -0
- package/distributor/model/BatchResultPayload.js +24 -0
- package/distributor/model/BatchResultPayload.js.map +1 -0
- package/distributor/model/BatchResultPayload.ts +50 -0
- package/distributor/model/enum/BatchRequestPayloadService.d.ts +52 -0
- package/distributor/model/enum/BatchRequestPayloadService.js +70 -0
- package/distributor/model/enum/BatchRequestPayloadService.js.map +1 -0
- package/distributor/model/enum/BatchRequestPayloadService.ts +70 -0
- package/distributor/model/index.d.ts +6 -1
- package/distributor/model/index.js +7 -1
- package/distributor/model/index.js.map +1 -1
- package/distributor/model/index.ts +10 -0
- package/distributor/model/options/BatchRequestPayloadOptions.d.ts +2 -0
- package/distributor/model/options/BatchRequestPayloadOptions.js +3 -0
- package/distributor/model/options/BatchRequestPayloadOptions.js.map +1 -0
- package/distributor/model/options/BatchRequestPayloadOptions.ts +20 -0
- package/distributor/model/options/BatchResultPayloadOptions.d.ts +2 -0
- package/distributor/model/options/BatchResultPayloadOptions.js +18 -0
- package/distributor/model/options/BatchResultPayloadOptions.js.map +1 -0
- package/distributor/model/options/BatchResultPayloadOptions.ts +19 -0
- package/guild/model/Inbox.d.ts +1 -0
- package/guild/model/Inbox.js +7 -2
- package/guild/model/Inbox.js.map +1 -1
- package/guild/model/Inbox.ts +7 -0
- package/guild/model/Member.d.ts +1 -0
- package/guild/model/Member.js +6 -0
- package/guild/model/Member.js.map +1 -1
- package/guild/model/Member.ts +5 -0
- package/guild/model/ReceiveMemberRequest.d.ts +1 -0
- package/guild/model/ReceiveMemberRequest.js +6 -0
- package/guild/model/ReceiveMemberRequest.js.map +1 -1
- package/guild/model/ReceiveMemberRequest.ts +5 -0
- package/guild/model/options/GuildOptions.d.ts +2 -0
- package/guild/model/options/GuildOptions.ts +2 -0
- package/guild/model/options/InboxOptions.d.ts +2 -0
- package/guild/model/options/InboxOptions.js +0 -15
- package/guild/model/options/InboxOptions.js.map +1 -1
- package/guild/model/options/InboxOptions.ts +2 -0
- package/guild/model/options/MemberOptions.d.ts +1 -0
- package/guild/model/options/MemberOptions.ts +1 -0
- package/guild/model/options/ReceiveMemberRequestOptions.d.ts +1 -0
- package/guild/model/options/ReceiveMemberRequestOptions.ts +1 -0
- package/mission/model/CounterScopeModel.d.ts +4 -0
- package/mission/model/CounterScopeModel.js +17 -1
- package/mission/model/CounterScopeModel.js.map +1 -1
- package/mission/model/CounterScopeModel.ts +26 -0
- package/mission/model/MissionGroupModel.d.ts +4 -0
- package/mission/model/MissionGroupModel.js +20 -1
- package/mission/model/MissionGroupModel.js.map +1 -1
- package/mission/model/MissionGroupModel.ts +30 -0
- package/mission/model/enum/CounterScopeModelResetType.d.ts +1 -0
- package/mission/model/enum/CounterScopeModelResetType.js +1 -0
- package/mission/model/enum/CounterScopeModelResetType.js.map +1 -1
- package/mission/model/enum/CounterScopeModelResetType.ts +1 -0
- package/mission/model/enum/MissionGroupModelResetType.d.ts +1 -0
- package/mission/model/enum/MissionGroupModelResetType.js +1 -0
- package/mission/model/enum/MissionGroupModelResetType.js.map +1 -1
- package/mission/model/enum/MissionGroupModelResetType.ts +1 -0
- package/mission/model/enum/MissionTaskModelTargetResetType.d.ts +1 -0
- package/mission/model/enum/MissionTaskModelTargetResetType.js +1 -0
- package/mission/model/enum/MissionTaskModelTargetResetType.js.map +1 -1
- package/mission/model/enum/MissionTaskModelTargetResetType.ts +1 -0
- package/mission/model/enum/ScopedValueResetType.d.ts +1 -0
- package/mission/model/enum/ScopedValueResetType.js +1 -0
- package/mission/model/enum/ScopedValueResetType.js.map +1 -1
- package/mission/model/enum/ScopedValueResetType.ts +1 -0
- package/mission/model/enum/TargetCounterModelResetType.d.ts +1 -0
- package/mission/model/enum/TargetCounterModelResetType.js +1 -0
- package/mission/model/enum/TargetCounterModelResetType.js.map +1 -1
- package/mission/model/enum/TargetCounterModelResetType.ts +1 -0
- package/mission/model/index.d.ts +3 -1
- package/mission/model/index.js.map +1 -1
- package/mission/model/index.ts +4 -0
- package/mission/model/options/CounterScopeModelOptions.d.ts +2 -0
- package/mission/model/options/CounterScopeModelOptions.ts +2 -0
- package/mission/model/options/CounterScopeModelResetTypeIsDaysOptions.d.ts +2 -0
- package/mission/model/options/CounterScopeModelResetTypeIsDaysOptions.js +3 -0
- package/mission/model/options/CounterScopeModelResetTypeIsDaysOptions.js.map +1 -0
- package/mission/model/options/CounterScopeModelResetTypeIsDaysOptions.ts +22 -0
- package/mission/model/options/MissionGroupModelOptions.d.ts +2 -0
- package/mission/model/options/MissionGroupModelOptions.ts +2 -0
- package/mission/model/options/MissionGroupModelResetTypeIsDaysOptions.d.ts +6 -0
- package/mission/model/options/MissionGroupModelResetTypeIsDaysOptions.js +3 -0
- package/mission/model/options/MissionGroupModelResetTypeIsDaysOptions.js.map +1 -0
- package/mission/model/options/MissionGroupModelResetTypeIsDaysOptions.ts +27 -0
- package/mission/stampSheet/enum/CounterResetType.d.ts +1 -0
- package/mission/stampSheet/enum/CounterResetType.js +1 -0
- package/mission/stampSheet/enum/CounterResetType.js.map +1 -1
- package/mission/stampSheet/enum/CounterResetType.ts +1 -0
- package/package.json +1 -1
- package/ranking2/model/ClusterRankingModel.d.ts +3 -1
- package/ranking2/model/ClusterRankingModel.js +5 -1
- package/ranking2/model/ClusterRankingModel.js.map +1 -1
- package/ranking2/model/ClusterRankingModel.ts +7 -0
- package/ranking2/model/GlobalRankingModel.d.ts +3 -1
- package/ranking2/model/GlobalRankingModel.js +5 -1
- package/ranking2/model/GlobalRankingModel.js.map +1 -1
- package/ranking2/model/GlobalRankingModel.ts +7 -0
- package/ranking2/model/enum/ClusterRankingModelRewardCalculationIndex.d.ts +5 -0
- package/ranking2/model/enum/ClusterRankingModelRewardCalculationIndex.js +23 -0
- package/ranking2/model/enum/ClusterRankingModelRewardCalculationIndex.js.map +1 -0
- package/ranking2/model/enum/ClusterRankingModelRewardCalculationIndex.ts +23 -0
- package/ranking2/model/enum/GlobalRankingModelRewardCalculationIndex.d.ts +5 -0
- package/ranking2/model/enum/GlobalRankingModelRewardCalculationIndex.js +23 -0
- package/ranking2/model/enum/GlobalRankingModelRewardCalculationIndex.js.map +1 -0
- package/ranking2/model/enum/GlobalRankingModelRewardCalculationIndex.ts +23 -0
- package/ranking2/model/index.d.ts +3 -1
- package/ranking2/model/index.js +5 -1
- package/ranking2/model/index.js.map +1 -1
- package/ranking2/model/index.ts +4 -0
- package/ranking2/model/options/ClusterRankingModelOptions.ts +1 -0
- package/ranking2/model/options/GlobalRankingModelOptions.ts +1 -0
|
@@ -0,0 +1,70 @@
|
|
|
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.BatchRequestPayloadService = void 0;
|
|
19
|
+
exports.BatchRequestPayloadService = {
|
|
20
|
+
ACCOUNT: "account",
|
|
21
|
+
AD_REWARD: "adReward",
|
|
22
|
+
AUTH: "auth",
|
|
23
|
+
BUFF: "buff",
|
|
24
|
+
CHAT: "chat",
|
|
25
|
+
DATASTORE: "datastore",
|
|
26
|
+
DEPLOY: "deploy",
|
|
27
|
+
DICTIONARY: "dictionary",
|
|
28
|
+
DISTRIBUTOR: "distributor",
|
|
29
|
+
ENCHANT: "enchant",
|
|
30
|
+
ENHANCE: "enhance",
|
|
31
|
+
EXCHANGE: "exchange",
|
|
32
|
+
EXPERIENCE: "experience",
|
|
33
|
+
FORMATION: "formation",
|
|
34
|
+
FRIEND: "friend",
|
|
35
|
+
GATEWAY: "gateway",
|
|
36
|
+
GRADE: "grade",
|
|
37
|
+
GUARD: "guard",
|
|
38
|
+
GUILD: "guild",
|
|
39
|
+
IDENTIFIER: "identifier",
|
|
40
|
+
IDLE: "idle",
|
|
41
|
+
INBOX: "inbox",
|
|
42
|
+
INVENTORY: "inventory",
|
|
43
|
+
JOB_QUEUE: "jobQueue",
|
|
44
|
+
KEY: "key",
|
|
45
|
+
LIMIT: "limit",
|
|
46
|
+
LOCK: "lock",
|
|
47
|
+
LOG: "log",
|
|
48
|
+
LOGIN_REWARD: "loginReward",
|
|
49
|
+
LOTTERY: "lottery",
|
|
50
|
+
MATCHMAKING: "matchmaking",
|
|
51
|
+
MEGA_FIELD: "megaField",
|
|
52
|
+
MISSION: "mission",
|
|
53
|
+
MONEY: "money",
|
|
54
|
+
MONEY2: "money2",
|
|
55
|
+
NEWS: "news",
|
|
56
|
+
QUEST: "quest",
|
|
57
|
+
RANKING: "ranking",
|
|
58
|
+
RANKING2: "ranking2",
|
|
59
|
+
REALTIME: "realtime",
|
|
60
|
+
SCHEDULE: "schedule",
|
|
61
|
+
SCRIPT: "script",
|
|
62
|
+
SEASON_RATING: "seasonRating",
|
|
63
|
+
SERIAL_KEY: "serialKey",
|
|
64
|
+
SHOWCASE: "showcase",
|
|
65
|
+
SKILL_TREE: "skillTree",
|
|
66
|
+
STAMINA: "stamina",
|
|
67
|
+
STATE_MACHINE: "stateMachine",
|
|
68
|
+
VERSION: "version",
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=BatchRequestPayloadService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchRequestPayloadService.js","sourceRoot":"","sources":["BatchRequestPayloadService.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,UAAU;IACrB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,UAAU;IACrB,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,YAAY,EAAE,aAAa;IAC3B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,WAAW;IACvB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,cAAc;IAC7B,UAAU,EAAE,WAAW;IACvB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,WAAW;IACvB,OAAO,EAAE,SAAS;IAClB,aAAa,EAAE,cAAc;IAC7B,OAAO,EAAE,SAAS;CACZ,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 BatchRequestPayloadService = {
|
|
20
|
+
ACCOUNT: "account",
|
|
21
|
+
AD_REWARD: "adReward",
|
|
22
|
+
AUTH: "auth",
|
|
23
|
+
BUFF: "buff",
|
|
24
|
+
CHAT: "chat",
|
|
25
|
+
DATASTORE: "datastore",
|
|
26
|
+
DEPLOY: "deploy",
|
|
27
|
+
DICTIONARY: "dictionary",
|
|
28
|
+
DISTRIBUTOR: "distributor",
|
|
29
|
+
ENCHANT: "enchant",
|
|
30
|
+
ENHANCE: "enhance",
|
|
31
|
+
EXCHANGE: "exchange",
|
|
32
|
+
EXPERIENCE: "experience",
|
|
33
|
+
FORMATION: "formation",
|
|
34
|
+
FRIEND: "friend",
|
|
35
|
+
GATEWAY: "gateway",
|
|
36
|
+
GRADE: "grade",
|
|
37
|
+
GUARD: "guard",
|
|
38
|
+
GUILD: "guild",
|
|
39
|
+
IDENTIFIER: "identifier",
|
|
40
|
+
IDLE: "idle",
|
|
41
|
+
INBOX: "inbox",
|
|
42
|
+
INVENTORY: "inventory",
|
|
43
|
+
JOB_QUEUE: "jobQueue",
|
|
44
|
+
KEY: "key",
|
|
45
|
+
LIMIT: "limit",
|
|
46
|
+
LOCK: "lock",
|
|
47
|
+
LOG: "log",
|
|
48
|
+
LOGIN_REWARD: "loginReward",
|
|
49
|
+
LOTTERY: "lottery",
|
|
50
|
+
MATCHMAKING: "matchmaking",
|
|
51
|
+
MEGA_FIELD: "megaField",
|
|
52
|
+
MISSION: "mission",
|
|
53
|
+
MONEY: "money",
|
|
54
|
+
MONEY2: "money2",
|
|
55
|
+
NEWS: "news",
|
|
56
|
+
QUEST: "quest",
|
|
57
|
+
RANKING: "ranking",
|
|
58
|
+
RANKING2: "ranking2",
|
|
59
|
+
REALTIME: "realtime",
|
|
60
|
+
SCHEDULE: "schedule",
|
|
61
|
+
SCRIPT: "script",
|
|
62
|
+
SEASON_RATING: "seasonRating",
|
|
63
|
+
SERIAL_KEY: "serialKey",
|
|
64
|
+
SHOWCASE: "showcase",
|
|
65
|
+
SKILL_TREE: "skillTree",
|
|
66
|
+
STAMINA: "stamina",
|
|
67
|
+
STATE_MACHINE: "stateMachine",
|
|
68
|
+
VERSION: "version",
|
|
69
|
+
} as const;
|
|
70
|
+
export type BatchRequestPayloadService = typeof BatchRequestPayloadService[keyof typeof BatchRequestPayloadService];
|
|
@@ -2,6 +2,11 @@ import Namespace from "./Namespace";
|
|
|
2
2
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
3
3
|
import DistributorModel from "./DistributorModel";
|
|
4
4
|
import { DistributorModelOptions } from "./options/DistributorModelOptions";
|
|
5
|
+
import BatchRequestPayload from "./BatchRequestPayload";
|
|
6
|
+
import { BatchRequestPayloadOptions } from "./options/BatchRequestPayloadOptions";
|
|
7
|
+
import { BatchRequestPayloadService } from "./enum/BatchRequestPayloadService";
|
|
8
|
+
import BatchResultPayload from "./BatchResultPayload";
|
|
9
|
+
import { BatchResultPayloadOptions } from "./options/BatchResultPayloadOptions";
|
|
5
10
|
import AcquireActionResult from "./AcquireActionResult";
|
|
6
11
|
import { AcquireActionResultOptions } from "./options/AcquireActionResultOptions";
|
|
7
12
|
import ConsumeActionResult from "./ConsumeActionResult";
|
|
@@ -11,4 +16,4 @@ import { VerifyActionResultOptions } from "./options/VerifyActionResultOptions";
|
|
|
11
16
|
import DistributeResource from "./DistributeResource";
|
|
12
17
|
import { DistributeResourceOptions } from "./options/DistributeResourceOptions";
|
|
13
18
|
import CurrentMasterData from "./CurrentMasterData";
|
|
14
|
-
export { Namespace, NamespaceOptions, DistributorModel, DistributorModelOptions, AcquireActionResult, AcquireActionResultOptions, ConsumeActionResult, ConsumeActionResultOptions, VerifyActionResult, VerifyActionResultOptions, DistributeResource, DistributeResourceOptions, CurrentMasterData, };
|
|
19
|
+
export { Namespace, NamespaceOptions, DistributorModel, DistributorModelOptions, BatchRequestPayload, BatchRequestPayloadOptions, BatchRequestPayloadService, BatchResultPayload, BatchResultPayloadOptions, AcquireActionResult, AcquireActionResultOptions, ConsumeActionResult, ConsumeActionResultOptions, VerifyActionResult, VerifyActionResultOptions, DistributeResource, DistributeResourceOptions, CurrentMasterData, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CurrentMasterData = exports.DistributeResource = exports.VerifyActionResult = exports.ConsumeActionResult = exports.AcquireActionResult = exports.DistributorModel = exports.Namespace = void 0;
|
|
3
|
+
exports.CurrentMasterData = exports.DistributeResource = exports.VerifyActionResult = exports.ConsumeActionResult = exports.AcquireActionResult = exports.BatchResultPayload = exports.BatchRequestPayloadService = exports.BatchRequestPayload = exports.DistributorModel = exports.Namespace = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -21,6 +21,12 @@ const Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
|
|
|
21
21
|
exports.Namespace = Namespace_1.default;
|
|
22
22
|
const DistributorModel_1 = tslib_1.__importDefault(require("./DistributorModel"));
|
|
23
23
|
exports.DistributorModel = DistributorModel_1.default;
|
|
24
|
+
const BatchRequestPayload_1 = tslib_1.__importDefault(require("./BatchRequestPayload"));
|
|
25
|
+
exports.BatchRequestPayload = BatchRequestPayload_1.default;
|
|
26
|
+
const BatchRequestPayloadService_1 = require("./enum/BatchRequestPayloadService");
|
|
27
|
+
Object.defineProperty(exports, "BatchRequestPayloadService", { enumerable: true, get: function () { return BatchRequestPayloadService_1.BatchRequestPayloadService; } });
|
|
28
|
+
const BatchResultPayload_1 = tslib_1.__importDefault(require("./BatchResultPayload"));
|
|
29
|
+
exports.BatchResultPayload = BatchResultPayload_1.default;
|
|
24
30
|
const AcquireActionResult_1 = tslib_1.__importDefault(require("./AcquireActionResult"));
|
|
25
31
|
exports.AcquireActionResult = AcquireActionResult_1.default;
|
|
26
32
|
const ConsumeActionResult_1 = tslib_1.__importDefault(require("./ConsumeActionResult"));
|
|
@@ -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;AAoBhC,oBApBG,mBAAS,CAoBH;AAlBb,kFAAkD;AAoB9C,2BApBG,0BAAgB,CAoBH;AAlBpB,wFAAwD;AAoBpD,8BApBG,6BAAmB,CAoBH;AAlBvB,kFAA+E;AAoB3E,2GApBK,uDAA0B,OAoBL;AAnB9B,sFAAsD;AAoBlD,6BApBG,4BAAkB,CAoBH;AAlBtB,wFAAwD;AAoBpD,8BApBG,6BAAmB,CAoBH;AAlBvB,wFAAwD;AAoBpD,8BApBG,6BAAmB,CAoBH;AAlBvB,sFAAsD;AAoBlD,6BApBG,4BAAkB,CAoBH;AAlBtB,sFAAsD;AAoBlD,6BApBG,4BAAkB,CAoBH;AAlBtB,oFAAoD;AAoBhD,4BApBG,2BAAiB,CAoBH"}
|
|
@@ -17,6 +17,11 @@ import Namespace from "./Namespace";
|
|
|
17
17
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
18
18
|
import DistributorModel from "./DistributorModel";
|
|
19
19
|
import { DistributorModelOptions } from "./options/DistributorModelOptions";
|
|
20
|
+
import BatchRequestPayload from "./BatchRequestPayload";
|
|
21
|
+
import { BatchRequestPayloadOptions } from "./options/BatchRequestPayloadOptions";
|
|
22
|
+
import { BatchRequestPayloadService } from "./enum/BatchRequestPayloadService";
|
|
23
|
+
import BatchResultPayload from "./BatchResultPayload";
|
|
24
|
+
import { BatchResultPayloadOptions } from "./options/BatchResultPayloadOptions";
|
|
20
25
|
import AcquireActionResult from "./AcquireActionResult";
|
|
21
26
|
import { AcquireActionResultOptions } from "./options/AcquireActionResultOptions";
|
|
22
27
|
import ConsumeActionResult from "./ConsumeActionResult";
|
|
@@ -32,6 +37,11 @@ export {
|
|
|
32
37
|
NamespaceOptions,
|
|
33
38
|
DistributorModel,
|
|
34
39
|
DistributorModelOptions,
|
|
40
|
+
BatchRequestPayload,
|
|
41
|
+
BatchRequestPayloadOptions,
|
|
42
|
+
BatchRequestPayloadService,
|
|
43
|
+
BatchResultPayload,
|
|
44
|
+
BatchResultPayloadOptions,
|
|
35
45
|
AcquireActionResult,
|
|
36
46
|
AcquireActionResultOptions,
|
|
37
47
|
ConsumeActionResult,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchRequestPayloadOptions.js","sourceRoot":"","sources":["BatchRequestPayloadOptions.ts"],"names":[],"mappings":""}
|
|
@@ -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
|
+
import { BatchRequestPayloadService } from "../enum/BatchRequestPayloadService";
|
|
17
|
+
|
|
18
|
+
export interface BatchRequestPayloadOptions {
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -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=BatchResultPayloadOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchResultPayloadOptions.js","sourceRoot":"","sources":["BatchResultPayloadOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
export interface BatchResultPayloadOptions {
|
|
18
|
+
}
|
|
19
|
+
|
package/guild/model/Inbox.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { InboxOptions } from "./options/InboxOptions";
|
|
|
2
2
|
export default class Inbox {
|
|
3
3
|
private readonly guildName;
|
|
4
4
|
private readonly fromUserIds;
|
|
5
|
+
private readonly receiveMemberRequests;
|
|
5
6
|
private readonly revision;
|
|
6
7
|
constructor(guildName: string, options?: InboxOptions | null);
|
|
7
8
|
properties(): {
|
package/guild/model/Inbox.js
CHANGED
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class Inbox {
|
|
4
4
|
constructor(guildName, options = null) {
|
|
5
|
-
var _a, _b;
|
|
5
|
+
var _a, _b, _c;
|
|
6
6
|
this.fromUserIds = null;
|
|
7
|
+
this.receiveMemberRequests = null;
|
|
7
8
|
this.revision = null;
|
|
8
9
|
this.guildName = guildName;
|
|
9
10
|
this.fromUserIds = (_a = options === null || options === void 0 ? void 0 : options.fromUserIds) !== null && _a !== void 0 ? _a : null;
|
|
10
|
-
this.
|
|
11
|
+
this.receiveMemberRequests = (_b = options === null || options === void 0 ? void 0 : options.receiveMemberRequests) !== null && _b !== void 0 ? _b : null;
|
|
12
|
+
this.revision = (_c = options === null || options === void 0 ? void 0 : options.revision) !== null && _c !== void 0 ? _c : null;
|
|
11
13
|
}
|
|
12
14
|
properties() {
|
|
13
15
|
let properties = {};
|
|
@@ -17,6 +19,9 @@ class Inbox {
|
|
|
17
19
|
if (this.fromUserIds != null) {
|
|
18
20
|
properties["fromUserIds"] = this.fromUserIds;
|
|
19
21
|
}
|
|
22
|
+
if (this.receiveMemberRequests != null) {
|
|
23
|
+
properties["receiveMemberRequests"] = this.receiveMemberRequests.map(v => v.properties());
|
|
24
|
+
}
|
|
20
25
|
return properties;
|
|
21
26
|
}
|
|
22
27
|
}
|
package/guild/model/Inbox.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Inbox.js","sourceRoot":"","sources":["Inbox.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Inbox.js","sourceRoot":"","sources":["Inbox.ts"],"names":[],"mappings":";;AAkBA,MAAqB,KAAK;IAMtB,YACI,SAAiB,EACjB,UAA6B,IAAI;;QANpB,gBAAW,GAAkB,IAAI,CAAC;QAClC,0BAAqB,GAAgC,IAAI,CAAC;QAC1D,aAAQ,GAAgB,IAAI,CAAC;QAM1C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;QAChD,IAAI,CAAC,qBAAqB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,qBAAqB,mCAAI,IAAI,CAAC;QACpE,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;IAC9C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,qBAAqB,IAAI,IAAI,EAAE;YACpC,UAAU,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACjF,CAAC,CAAC;SACV;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAjCD,wBAiCC"}
|
package/guild/model/Inbox.ts
CHANGED
|
@@ -13,11 +13,13 @@
|
|
|
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 ReceiveMemberRequest from "./ReceiveMemberRequest";
|
|
16
17
|
import { InboxOptions } from "./options/InboxOptions";
|
|
17
18
|
|
|
18
19
|
export default class Inbox {
|
|
19
20
|
private readonly guildName: string;
|
|
20
21
|
private readonly fromUserIds: string[]|null = null;
|
|
22
|
+
private readonly receiveMemberRequests: ReceiveMemberRequest[]|null = null;
|
|
21
23
|
private readonly revision: number|null = null;
|
|
22
24
|
|
|
23
25
|
public constructor(
|
|
@@ -26,6 +28,7 @@ export default class Inbox {
|
|
|
26
28
|
) {
|
|
27
29
|
this.guildName = guildName;
|
|
28
30
|
this.fromUserIds = options?.fromUserIds ?? null;
|
|
31
|
+
this.receiveMemberRequests = options?.receiveMemberRequests ?? null;
|
|
29
32
|
this.revision = options?.revision ?? null;
|
|
30
33
|
}
|
|
31
34
|
|
|
@@ -39,6 +42,10 @@ export default class Inbox {
|
|
|
39
42
|
if (this.fromUserIds != null) {
|
|
40
43
|
properties["fromUserIds"] = this.fromUserIds;
|
|
41
44
|
}
|
|
45
|
+
if (this.receiveMemberRequests != null) {
|
|
46
|
+
properties["receiveMemberRequests"] = this.receiveMemberRequests.map(v => v.properties(
|
|
47
|
+
));
|
|
48
|
+
}
|
|
42
49
|
|
|
43
50
|
return properties;
|
|
44
51
|
}
|
package/guild/model/Member.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { MemberOptions } from "./options/MemberOptions";
|
|
|
2
2
|
export default class Member {
|
|
3
3
|
private readonly userId;
|
|
4
4
|
private readonly roleName;
|
|
5
|
+
private readonly metadata;
|
|
5
6
|
constructor(userId: string, roleName: string, options?: MemberOptions | null);
|
|
6
7
|
properties(): {
|
|
7
8
|
[name: string]: any;
|
package/guild/model/Member.js
CHANGED
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class Member {
|
|
4
4
|
constructor(userId, roleName, options = null) {
|
|
5
|
+
var _a;
|
|
6
|
+
this.metadata = null;
|
|
5
7
|
this.userId = userId;
|
|
6
8
|
this.roleName = roleName;
|
|
9
|
+
this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
|
|
7
10
|
}
|
|
8
11
|
properties() {
|
|
9
12
|
let properties = {};
|
|
@@ -13,6 +16,9 @@ class Member {
|
|
|
13
16
|
if (this.roleName != null) {
|
|
14
17
|
properties["roleName"] = this.roleName;
|
|
15
18
|
}
|
|
19
|
+
if (this.metadata != null) {
|
|
20
|
+
properties["metadata"] = this.metadata;
|
|
21
|
+
}
|
|
16
22
|
return properties;
|
|
17
23
|
}
|
|
18
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Member.js","sourceRoot":"","sources":["Member.ts"],"names":[],"mappings":";;AAiBA,MAAqB,MAAM;
|
|
1
|
+
{"version":3,"file":"Member.js","sourceRoot":"","sources":["Member.ts"],"names":[],"mappings":";;AAiBA,MAAqB,MAAM;IAKvB,YACI,MAAc,EACd,QAAgB,EAChB,UAA8B,IAAI;;QALrB,aAAQ,GAAgB,IAAI,CAAC;QAO1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;IAC9C,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,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA/BD,yBA+BC"}
|
package/guild/model/Member.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { MemberOptions } from "./options/MemberOptions";
|
|
|
18
18
|
export default class Member {
|
|
19
19
|
private readonly userId: string;
|
|
20
20
|
private readonly roleName: string;
|
|
21
|
+
private readonly metadata: string|null = null;
|
|
21
22
|
|
|
22
23
|
public constructor(
|
|
23
24
|
userId: string,
|
|
@@ -26,6 +27,7 @@ export default class Member {
|
|
|
26
27
|
) {
|
|
27
28
|
this.userId = userId;
|
|
28
29
|
this.roleName = roleName;
|
|
30
|
+
this.metadata = options?.metadata ?? null;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
public properties(
|
|
@@ -38,6 +40,9 @@ export default class Member {
|
|
|
38
40
|
if (this.roleName != null) {
|
|
39
41
|
properties["roleName"] = this.roleName;
|
|
40
42
|
}
|
|
43
|
+
if (this.metadata != null) {
|
|
44
|
+
properties["metadata"] = this.metadata;
|
|
45
|
+
}
|
|
41
46
|
|
|
42
47
|
return properties;
|
|
43
48
|
}
|
|
@@ -2,6 +2,7 @@ import { ReceiveMemberRequestOptions } from "./options/ReceiveMemberRequestOptio
|
|
|
2
2
|
export default class ReceiveMemberRequest {
|
|
3
3
|
private readonly userId;
|
|
4
4
|
private readonly targetGuildName;
|
|
5
|
+
private readonly metadata;
|
|
5
6
|
constructor(userId: string, targetGuildName: string, options?: ReceiveMemberRequestOptions | null);
|
|
6
7
|
properties(): {
|
|
7
8
|
[name: string]: any;
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class ReceiveMemberRequest {
|
|
4
4
|
constructor(userId, targetGuildName, options = null) {
|
|
5
|
+
var _a;
|
|
6
|
+
this.metadata = null;
|
|
5
7
|
this.userId = userId;
|
|
6
8
|
this.targetGuildName = targetGuildName;
|
|
9
|
+
this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
|
|
7
10
|
}
|
|
8
11
|
properties() {
|
|
9
12
|
let properties = {};
|
|
@@ -13,6 +16,9 @@ class ReceiveMemberRequest {
|
|
|
13
16
|
if (this.targetGuildName != null) {
|
|
14
17
|
properties["targetGuildName"] = this.targetGuildName;
|
|
15
18
|
}
|
|
19
|
+
if (this.metadata != null) {
|
|
20
|
+
properties["metadata"] = this.metadata;
|
|
21
|
+
}
|
|
16
22
|
return properties;
|
|
17
23
|
}
|
|
18
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReceiveMemberRequest.js","sourceRoot":"","sources":["ReceiveMemberRequest.ts"],"names":[],"mappings":";;AAiBA,MAAqB,oBAAoB;
|
|
1
|
+
{"version":3,"file":"ReceiveMemberRequest.js","sourceRoot":"","sources":["ReceiveMemberRequest.ts"],"names":[],"mappings":";;AAiBA,MAAqB,oBAAoB;IAKrC,YACI,MAAc,EACd,eAAuB,EACvB,UAA4C,IAAI;;QALnC,aAAQ,GAAgB,IAAI,CAAC;QAO1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;IAC9C,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,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA/BD,uCA+BC"}
|
|
@@ -18,6 +18,7 @@ import { ReceiveMemberRequestOptions } from "./options/ReceiveMemberRequestOptio
|
|
|
18
18
|
export default class ReceiveMemberRequest {
|
|
19
19
|
private readonly userId: string;
|
|
20
20
|
private readonly targetGuildName: string;
|
|
21
|
+
private readonly metadata: string|null = null;
|
|
21
22
|
|
|
22
23
|
public constructor(
|
|
23
24
|
userId: string,
|
|
@@ -26,6 +27,7 @@ export default class ReceiveMemberRequest {
|
|
|
26
27
|
) {
|
|
27
28
|
this.userId = userId;
|
|
28
29
|
this.targetGuildName = targetGuildName;
|
|
30
|
+
this.metadata = options?.metadata ?? null;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
public properties(
|
|
@@ -38,6 +40,9 @@ export default class ReceiveMemberRequest {
|
|
|
38
40
|
if (this.targetGuildName != null) {
|
|
39
41
|
properties["targetGuildName"] = this.targetGuildName;
|
|
40
42
|
}
|
|
43
|
+
if (this.metadata != null) {
|
|
44
|
+
properties["metadata"] = this.metadata;
|
|
45
|
+
}
|
|
41
46
|
|
|
42
47
|
return properties;
|
|
43
48
|
}
|
|
@@ -5,6 +5,8 @@ export interface GuildOptions {
|
|
|
5
5
|
attribute3?: number | null;
|
|
6
6
|
attribute4?: number | null;
|
|
7
7
|
attribute5?: number | null;
|
|
8
|
+
metadata?: string | null;
|
|
9
|
+
memberMetadata?: string | null;
|
|
8
10
|
customRoles?: RoleModel[] | null;
|
|
9
11
|
guildMemberDefaultRole?: string | null;
|
|
10
12
|
timeOffsetToken?: string | null;
|
|
@@ -22,6 +22,8 @@ export interface GuildOptions {
|
|
|
22
22
|
attribute3?: number|null;
|
|
23
23
|
attribute4?: number|null;
|
|
24
24
|
attribute5?: number|null;
|
|
25
|
+
metadata?: string|null;
|
|
26
|
+
memberMetadata?: string|null;
|
|
25
27
|
customRoles?: RoleModel[]|null;
|
|
26
28
|
guildMemberDefaultRole?: string|null;
|
|
27
29
|
timeOffsetToken?: string|null;
|
|
@@ -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=InboxOptions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InboxOptions.js","sourceRoot":"","sources":["InboxOptions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InboxOptions.js","sourceRoot":"","sources":["InboxOptions.ts"],"names":[],"mappings":""}
|
|
@@ -13,9 +13,11 @@
|
|
|
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 ReceiveMemberRequest from "../ReceiveMemberRequest";
|
|
16
17
|
|
|
17
18
|
export interface InboxOptions {
|
|
18
19
|
fromUserIds?: string[]|null;
|
|
20
|
+
receiveMemberRequests?: ReceiveMemberRequest[]|null;
|
|
19
21
|
revision?: number|null;
|
|
20
22
|
}
|
|
21
23
|
|
|
@@ -6,6 +6,7 @@ import { CounterScopeModelResetTypeIsNotResetOptions } from "./options/CounterSc
|
|
|
6
6
|
import { CounterScopeModelResetTypeIsDailyOptions } from "./options/CounterScopeModelResetTypeIsDailyOptions";
|
|
7
7
|
import { CounterScopeModelResetTypeIsWeeklyOptions } from "./options/CounterScopeModelResetTypeIsWeeklyOptions";
|
|
8
8
|
import { CounterScopeModelResetTypeIsMonthlyOptions } from "./options/CounterScopeModelResetTypeIsMonthlyOptions";
|
|
9
|
+
import { CounterScopeModelResetTypeIsDaysOptions } from "./options/CounterScopeModelResetTypeIsDaysOptions";
|
|
9
10
|
import { CounterScopeModelScopeType } from "./enum/CounterScopeModelScopeType";
|
|
10
11
|
import { CounterScopeModelResetType } from "./enum/CounterScopeModelResetType";
|
|
11
12
|
import { CounterScopeModelResetDayOfWeek } from "./enum/CounterScopeModelResetDayOfWeek";
|
|
@@ -17,6 +18,8 @@ export default class CounterScopeModel {
|
|
|
17
18
|
private readonly resetHour;
|
|
18
19
|
private readonly conditionName;
|
|
19
20
|
private readonly condition;
|
|
21
|
+
private readonly anchorTimestamp;
|
|
22
|
+
private readonly days;
|
|
20
23
|
constructor(scopeType: CounterScopeModelScopeType, options?: CounterScopeModelOptions | null);
|
|
21
24
|
static scopeTypeIsResetTiming(resetType: CounterScopeModelResetType, options?: CounterScopeModelScopeTypeIsResetTimingOptions | null): CounterScopeModel;
|
|
22
25
|
static scopeTypeIsVerifyAction(conditionName: string, condition: VerifyAction, options?: CounterScopeModelScopeTypeIsVerifyActionOptions | null): CounterScopeModel;
|
|
@@ -24,6 +27,7 @@ export default class CounterScopeModel {
|
|
|
24
27
|
static resetTypeIsDaily(scopeType: CounterScopeModelScopeType, resetHour: number, options?: CounterScopeModelResetTypeIsDailyOptions | null): CounterScopeModel;
|
|
25
28
|
static resetTypeIsWeekly(scopeType: CounterScopeModelScopeType, resetDayOfWeek: CounterScopeModelResetDayOfWeek, resetHour: number, options?: CounterScopeModelResetTypeIsWeeklyOptions | null): CounterScopeModel;
|
|
26
29
|
static resetTypeIsMonthly(scopeType: CounterScopeModelScopeType, resetDayOfMonth: number, resetHour: number, options?: CounterScopeModelResetTypeIsMonthlyOptions | null): CounterScopeModel;
|
|
30
|
+
static resetTypeIsDays(scopeType: CounterScopeModelScopeType, anchorTimestamp: number, days: number, options?: CounterScopeModelResetTypeIsDaysOptions | null): CounterScopeModel;
|
|
27
31
|
properties(): {
|
|
28
32
|
[name: string]: any;
|
|
29
33
|
};
|