gs2-cdk 1.0.94 → 1.0.96
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/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/distributor/stampSheet/IfExpressionByUserId.d.ts +1 -1
- package/distributor/stampSheet/IfExpressionByUserId.js +1 -1
- package/distributor/stampSheet/IfExpressionByUserId.js.map +1 -1
- package/distributor/stampSheet/IfExpressionByUserId.ts +1 -1
- 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/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
- package/version/model/VersionModel.d.ts +3 -1
- package/version/model/VersionModel.js +8 -2
- package/version/model/VersionModel.js.map +1 -1
- package/version/model/VersionModel.ts +8 -0
- package/version/model/enum/VersionModelApproveRequirement.d.ts +5 -0
- package/version/model/enum/VersionModelApproveRequirement.js +23 -0
- package/version/model/enum/VersionModelApproveRequirement.js.map +1 -0
- package/version/model/enum/VersionModelApproveRequirement.ts +23 -0
- package/version/model/index.d.ts +2 -1
- package/version/model/index.js +3 -1
- package/version/model/index.js.map +1 -1
- package/version/model/index.ts +2 -0
- package/version/model/options/VersionModelOptions.d.ts +2 -0
- package/version/model/options/VersionModelOptions.ts +2 -0
- package/version/model/options/VersionModelScopeIsActiveOptions.ts +1 -0
- package/version/model/options/VersionModelScopeIsPassiveOptions.ts +1 -0
- package/version/model/options/VersionModelTypeIsScheduleOptions.ts +1 -0
- package/version/model/options/VersionModelTypeIsSimpleOptions.ts +1 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BatchRequestPayloadOptions } from "./options/BatchRequestPayloadOptions";
|
|
2
|
+
import { BatchRequestPayloadService } from "./enum/BatchRequestPayloadService";
|
|
3
|
+
export default class BatchRequestPayload {
|
|
4
|
+
private readonly requestId;
|
|
5
|
+
private readonly service;
|
|
6
|
+
private readonly methodName;
|
|
7
|
+
private readonly parameter;
|
|
8
|
+
constructor(requestId: string, service: BatchRequestPayloadService, methodName: string, parameter: string, options?: BatchRequestPayloadOptions | null);
|
|
9
|
+
properties(): {
|
|
10
|
+
[name: string]: any;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class BatchRequestPayload {
|
|
4
|
+
constructor(requestId, service, methodName, parameter, options = null) {
|
|
5
|
+
this.requestId = requestId;
|
|
6
|
+
this.service = service;
|
|
7
|
+
this.methodName = methodName;
|
|
8
|
+
this.parameter = parameter;
|
|
9
|
+
}
|
|
10
|
+
properties() {
|
|
11
|
+
let properties = {};
|
|
12
|
+
if (this.requestId != null) {
|
|
13
|
+
properties["requestId"] = this.requestId;
|
|
14
|
+
}
|
|
15
|
+
if (this.service != null) {
|
|
16
|
+
properties["service"] = this.service;
|
|
17
|
+
}
|
|
18
|
+
if (this.methodName != null) {
|
|
19
|
+
properties["methodName"] = this.methodName;
|
|
20
|
+
}
|
|
21
|
+
if (this.parameter != null) {
|
|
22
|
+
properties["parameter"] = this.parameter;
|
|
23
|
+
}
|
|
24
|
+
return properties;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.default = BatchRequestPayload;
|
|
28
|
+
//# sourceMappingURL=BatchRequestPayload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchRequestPayload.js","sourceRoot":"","sources":["BatchRequestPayload.ts"],"names":[],"mappings":";;AAkBA,MAAqB,mBAAmB;IAMpC,YACI,SAAiB,EACjB,OAAmC,EACnC,UAAkB,EAClB,SAAiB,EACjB,UAA2C,IAAI;QAE/C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,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,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAtCD,sCAsCC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { BatchRequestPayloadOptions } from "./options/BatchRequestPayloadOptions";
|
|
17
|
+
import { BatchRequestPayloadService } from "./enum/BatchRequestPayloadService";
|
|
18
|
+
|
|
19
|
+
export default class BatchRequestPayload {
|
|
20
|
+
private readonly requestId: string;
|
|
21
|
+
private readonly service: BatchRequestPayloadService;
|
|
22
|
+
private readonly methodName: string;
|
|
23
|
+
private readonly parameter: string;
|
|
24
|
+
|
|
25
|
+
public constructor(
|
|
26
|
+
requestId: string,
|
|
27
|
+
service: BatchRequestPayloadService,
|
|
28
|
+
methodName: string,
|
|
29
|
+
parameter: string,
|
|
30
|
+
options: BatchRequestPayloadOptions|null = null,
|
|
31
|
+
) {
|
|
32
|
+
this.requestId = requestId;
|
|
33
|
+
this.service = service;
|
|
34
|
+
this.methodName = methodName;
|
|
35
|
+
this.parameter = parameter;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public properties(
|
|
39
|
+
): {[name: string]: any} {
|
|
40
|
+
let properties: {[name: string]: any} = {};
|
|
41
|
+
|
|
42
|
+
if (this.requestId != null) {
|
|
43
|
+
properties["requestId"] = this.requestId;
|
|
44
|
+
}
|
|
45
|
+
if (this.service != null) {
|
|
46
|
+
properties["service"] = this.service;
|
|
47
|
+
}
|
|
48
|
+
if (this.methodName != null) {
|
|
49
|
+
properties["methodName"] = this.methodName;
|
|
50
|
+
}
|
|
51
|
+
if (this.parameter != null) {
|
|
52
|
+
properties["parameter"] = this.parameter;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
return properties;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BatchResultPayloadOptions } from "./options/BatchResultPayloadOptions";
|
|
2
|
+
export default class BatchResultPayload {
|
|
3
|
+
private readonly requestId;
|
|
4
|
+
private readonly statusCode;
|
|
5
|
+
private readonly resultPayload;
|
|
6
|
+
constructor(requestId: string, statusCode: number, resultPayload: string, options?: BatchResultPayloadOptions | null);
|
|
7
|
+
properties(): {
|
|
8
|
+
[name: string]: any;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class BatchResultPayload {
|
|
4
|
+
constructor(requestId, statusCode, resultPayload, options = null) {
|
|
5
|
+
this.requestId = requestId;
|
|
6
|
+
this.statusCode = statusCode;
|
|
7
|
+
this.resultPayload = resultPayload;
|
|
8
|
+
}
|
|
9
|
+
properties() {
|
|
10
|
+
let properties = {};
|
|
11
|
+
if (this.requestId != null) {
|
|
12
|
+
properties["requestId"] = this.requestId;
|
|
13
|
+
}
|
|
14
|
+
if (this.statusCode != null) {
|
|
15
|
+
properties["statusCode"] = this.statusCode;
|
|
16
|
+
}
|
|
17
|
+
if (this.resultPayload != null) {
|
|
18
|
+
properties["resultPayload"] = this.resultPayload;
|
|
19
|
+
}
|
|
20
|
+
return properties;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.default = BatchResultPayload;
|
|
24
|
+
//# sourceMappingURL=BatchResultPayload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchResultPayload.js","sourceRoot":"","sources":["BatchResultPayload.ts"],"names":[],"mappings":";;AAiBA,MAAqB,kBAAkB;IAKnC,YACI,SAAiB,EACjB,UAAkB,EAClB,aAAqB,EACrB,UAA0C,IAAI;QAE9C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,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,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAhCD,qCAgCC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { BatchResultPayloadOptions } from "./options/BatchResultPayloadOptions";
|
|
17
|
+
|
|
18
|
+
export default class BatchResultPayload {
|
|
19
|
+
private readonly requestId: string;
|
|
20
|
+
private readonly statusCode: number;
|
|
21
|
+
private readonly resultPayload: string;
|
|
22
|
+
|
|
23
|
+
public constructor(
|
|
24
|
+
requestId: string,
|
|
25
|
+
statusCode: number,
|
|
26
|
+
resultPayload: string,
|
|
27
|
+
options: BatchResultPayloadOptions|null = null,
|
|
28
|
+
) {
|
|
29
|
+
this.requestId = requestId;
|
|
30
|
+
this.statusCode = statusCode;
|
|
31
|
+
this.resultPayload = resultPayload;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public properties(
|
|
35
|
+
): {[name: string]: any} {
|
|
36
|
+
let properties: {[name: string]: any} = {};
|
|
37
|
+
|
|
38
|
+
if (this.requestId != null) {
|
|
39
|
+
properties["requestId"] = this.requestId;
|
|
40
|
+
}
|
|
41
|
+
if (this.statusCode != null) {
|
|
42
|
+
properties["statusCode"] = this.statusCode;
|
|
43
|
+
}
|
|
44
|
+
if (this.resultPayload != null) {
|
|
45
|
+
properties["resultPayload"] = this.resultPayload;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
return properties;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare const BatchRequestPayloadService: {
|
|
2
|
+
readonly ACCOUNT: "account";
|
|
3
|
+
readonly AD_REWARD: "adReward";
|
|
4
|
+
readonly AUTH: "auth";
|
|
5
|
+
readonly BUFF: "buff";
|
|
6
|
+
readonly CHAT: "chat";
|
|
7
|
+
readonly DATASTORE: "datastore";
|
|
8
|
+
readonly DEPLOY: "deploy";
|
|
9
|
+
readonly DICTIONARY: "dictionary";
|
|
10
|
+
readonly DISTRIBUTOR: "distributor";
|
|
11
|
+
readonly ENCHANT: "enchant";
|
|
12
|
+
readonly ENHANCE: "enhance";
|
|
13
|
+
readonly EXCHANGE: "exchange";
|
|
14
|
+
readonly EXPERIENCE: "experience";
|
|
15
|
+
readonly FORMATION: "formation";
|
|
16
|
+
readonly FRIEND: "friend";
|
|
17
|
+
readonly GATEWAY: "gateway";
|
|
18
|
+
readonly GRADE: "grade";
|
|
19
|
+
readonly GUARD: "guard";
|
|
20
|
+
readonly GUILD: "guild";
|
|
21
|
+
readonly IDENTIFIER: "identifier";
|
|
22
|
+
readonly IDLE: "idle";
|
|
23
|
+
readonly INBOX: "inbox";
|
|
24
|
+
readonly INVENTORY: "inventory";
|
|
25
|
+
readonly JOB_QUEUE: "jobQueue";
|
|
26
|
+
readonly KEY: "key";
|
|
27
|
+
readonly LIMIT: "limit";
|
|
28
|
+
readonly LOCK: "lock";
|
|
29
|
+
readonly LOG: "log";
|
|
30
|
+
readonly LOGIN_REWARD: "loginReward";
|
|
31
|
+
readonly LOTTERY: "lottery";
|
|
32
|
+
readonly MATCHMAKING: "matchmaking";
|
|
33
|
+
readonly MEGA_FIELD: "megaField";
|
|
34
|
+
readonly MISSION: "mission";
|
|
35
|
+
readonly MONEY: "money";
|
|
36
|
+
readonly MONEY2: "money2";
|
|
37
|
+
readonly NEWS: "news";
|
|
38
|
+
readonly QUEST: "quest";
|
|
39
|
+
readonly RANKING: "ranking";
|
|
40
|
+
readonly RANKING2: "ranking2";
|
|
41
|
+
readonly REALTIME: "realtime";
|
|
42
|
+
readonly SCHEDULE: "schedule";
|
|
43
|
+
readonly SCRIPT: "script";
|
|
44
|
+
readonly SEASON_RATING: "seasonRating";
|
|
45
|
+
readonly SERIAL_KEY: "serialKey";
|
|
46
|
+
readonly SHOWCASE: "showcase";
|
|
47
|
+
readonly SKILL_TREE: "skillTree";
|
|
48
|
+
readonly STAMINA: "stamina";
|
|
49
|
+
readonly STATE_MACHINE: "stateMachine";
|
|
50
|
+
readonly VERSION: "version";
|
|
51
|
+
};
|
|
52
|
+
export type BatchRequestPayloadService = typeof BatchRequestPayloadService[keyof typeof BatchRequestPayloadService];
|
|
@@ -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
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConsumeAction, VerifyAction } from "../../core/model";
|
|
2
|
-
export default class IfExpressionByUserId extends
|
|
2
|
+
export default class IfExpressionByUserId extends VerifyAction {
|
|
3
3
|
private readonly namespaceName;
|
|
4
4
|
private readonly userId;
|
|
5
5
|
private readonly condition;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
const model_1 = require("../../core/model");
|
|
19
|
-
class IfExpressionByUserId extends model_1.
|
|
19
|
+
class IfExpressionByUserId extends model_1.VerifyAction {
|
|
20
20
|
constructor(namespaceName, condition, trueActions = null, falseActions = null, multiplyValueSpecifyingQuantity = null, timeOffsetToken = null, userId = "#{userId}") {
|
|
21
21
|
super();
|
|
22
22
|
this.trueActions = null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfExpressionByUserId.js","sourceRoot":"","sources":["IfExpressionByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA4E;AAE5E,MAAqB,oBAAqB,SAAQ,
|
|
1
|
+
{"version":3,"file":"IfExpressionByUserId.js","sourceRoot":"","sources":["IfExpressionByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA4E;AAE5E,MAAqB,oBAAqB,SAAQ,oBAAY;IAU1D,YACI,aAAqB,EACrB,SAAuB,EACvB,cAAoC,IAAI,EACxC,eAAqC,IAAI,EACzC,kCAAgD,IAAI,EACpD,kBAA+B,IAAI,EACnC,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAfK,gBAAW,GAAyB,IAAI,CAAC;QACzC,iBAAY,GAAyB,IAAI,CAAC;QAC1C,oCAA+B,GAAiB,IAAI,CAAC;QACrD,oBAAe,GAAgB,IAAI,CAAC;QAcjD,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,WAAW,GAAG,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,IAAI,CAAC;QACvC,IAAI,CAAC,YAAY,GAAG,YAAY,aAAZ,YAAY,cAAZ,YAAY,GAAI,IAAI,CAAC;QACzC,IAAI,CAAC,+BAA+B,GAAG,+BAA+B,aAA/B,+BAA+B,cAA/B,+BAA+B,GAAI,IAAI,CAAC;QAC/E,IAAI,CAAC,eAAe,GAAG,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,IAAI,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,OAAO;;QAEV,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,MAAA,IAAI,CAAC,SAAS,0CAAE,UAAU,EACnD,CAAC;SACL;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EAC7D,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,EAAE;YAC3B,UAAU,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EAC/D,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,+BAA+B,IAAI,IAAI,EAAE;YAC9C,UAAU,CAAC,iCAAiC,CAAC,GAAG,IAAI,CAAC,+BAA+B,CAAC;SACxF;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,qCAAqC,CAAC;IACjD,CAAC;CACJ;AAjED,uCAiEC"}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import {AcquireAction, ConsumeAction, VerifyAction} from "../../core/model";
|
|
18
18
|
|
|
19
|
-
export default class IfExpressionByUserId extends
|
|
19
|
+
export default class IfExpressionByUserId extends VerifyAction {
|
|
20
20
|
private readonly namespaceName: string;
|
|
21
21
|
private readonly userId: string;
|
|
22
22
|
private readonly condition: VerifyAction;
|
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"}
|