gs2 1.4.50 → 1.4.52
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/exchange/model/Namespace.d.ts +4 -0
- package/exchange/model/Namespace.js +16 -2
- package/exchange/model/Namespace.js.map +1 -1
- package/exchange/model/Namespace.ts +14 -0
- package/exchange/request/CreateNamespaceRequest.d.ts +4 -0
- package/exchange/request/CreateNamespaceRequest.js +16 -2
- package/exchange/request/CreateNamespaceRequest.js.map +1 -1
- package/exchange/request/CreateNamespaceRequest.ts +14 -0
- package/exchange/request/UpdateNamespaceRequest.d.ts +4 -0
- package/exchange/request/UpdateNamespaceRequest.js +16 -2
- package/exchange/request/UpdateNamespaceRequest.js.map +1 -1
- package/exchange/request/UpdateNamespaceRequest.ts +14 -0
- package/exchange/rest.js +10 -8
- package/exchange/rest.js.map +1 -1
- package/exchange/rest.ts +2 -0
- package/inbox/request/BatchReadMessagesByUserIdRequest.d.ts +42 -0
- package/inbox/request/BatchReadMessagesByUserIdRequest.js +151 -0
- package/inbox/request/BatchReadMessagesByUserIdRequest.js.map +1 -0
- package/inbox/request/BatchReadMessagesByUserIdRequest.ts +163 -0
- package/inbox/request/BatchReadMessagesRequest.d.ts +38 -0
- package/inbox/request/BatchReadMessagesRequest.js +137 -0
- package/inbox/request/BatchReadMessagesRequest.js.map +1 -0
- package/inbox/request/BatchReadMessagesRequest.ts +149 -0
- package/inbox/request/index.d.ts +3 -1
- package/inbox/request/index.js +5 -1
- package/inbox/request/index.js.map +1 -1
- package/inbox/request/index.ts +4 -0
- package/inbox/rest.d.ts +2 -0
- package/inbox/rest.js +69 -0
- package/inbox/rest.js.map +1 -1
- package/inbox/rest.ts +77 -0
- package/inbox/result/BatchReadMessagesByUserIdResult.d.ts +43 -0
- package/inbox/result/BatchReadMessagesByUserIdResult.js +153 -0
- package/inbox/result/BatchReadMessagesByUserIdResult.js.map +1 -0
- package/inbox/result/BatchReadMessagesByUserIdResult.ts +175 -0
- package/inbox/result/BatchReadMessagesResult.d.ts +43 -0
- package/inbox/result/BatchReadMessagesResult.js +153 -0
- package/inbox/result/BatchReadMessagesResult.js.map +1 -0
- package/inbox/result/BatchReadMessagesResult.ts +175 -0
- package/inbox/result/index.d.ts +3 -1
- package/inbox/result/index.js +5 -1
- package/inbox/result/index.js.map +1 -1
- package/inbox/result/index.ts +4 -0
- package/package.json +1 -1
- package/script/result/DebugInvokeResult.d.ts +9 -0
- package/script/result/DebugInvokeResult.js +30 -1
- package/script/result/DebugInvokeResult.js.map +1 -1
- package/script/result/DebugInvokeResult.ts +35 -0
- package/script/result/InvokeByStampSheetResult.d.ts +9 -0
- package/script/result/InvokeByStampSheetResult.js +30 -1
- package/script/result/InvokeByStampSheetResult.js.map +1 -1
- package/script/result/InvokeByStampSheetResult.ts +35 -0
- package/script/result/InvokeScriptResult.d.ts +9 -0
- package/script/result/InvokeScriptResult.js +30 -1
- package/script/result/InvokeScriptResult.js.map +1 -1
- package/script/result/InvokeScriptResult.ts +35 -0
|
@@ -0,0 +1,175 @@
|
|
|
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 IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Inbox from '../model'
|
|
19
|
+
import * as Gs2Core from '../../core'
|
|
20
|
+
|
|
21
|
+
export default class BatchReadMessagesByUserIdResult implements IResult {
|
|
22
|
+
private items: Gs2Inbox.Message[]|null = null;
|
|
23
|
+
private transactionId: string|null = null;
|
|
24
|
+
private stampSheet: string|null = null;
|
|
25
|
+
private stampSheetEncryptionKeyId: string|null = null;
|
|
26
|
+
private autoRunStampSheet: boolean|null = null;
|
|
27
|
+
private atomicCommit: boolean|null = null;
|
|
28
|
+
private transaction: string|null = null;
|
|
29
|
+
private transactionResult: Gs2Core.TransactionResult|null = null;
|
|
30
|
+
|
|
31
|
+
public getItems(): Gs2Inbox.Message[]|null {
|
|
32
|
+
return this.items;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public setItems(items: Gs2Inbox.Message[]|null) {
|
|
36
|
+
this.items = items;
|
|
37
|
+
return this;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public withItems(items: Gs2Inbox.Message[]|null): this {
|
|
41
|
+
this.items = items;
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public getTransactionId(): string|null {
|
|
46
|
+
return this.transactionId;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
public setTransactionId(transactionId: string|null) {
|
|
50
|
+
this.transactionId = transactionId;
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public withTransactionId(transactionId: string|null): this {
|
|
55
|
+
this.transactionId = transactionId;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public getStampSheet(): string|null {
|
|
60
|
+
return this.stampSheet;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
public setStampSheet(stampSheet: string|null) {
|
|
64
|
+
this.stampSheet = stampSheet;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
public withStampSheet(stampSheet: string|null): this {
|
|
69
|
+
this.stampSheet = stampSheet;
|
|
70
|
+
return this;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
public getStampSheetEncryptionKeyId(): string|null {
|
|
74
|
+
return this.stampSheetEncryptionKeyId;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
public setStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null) {
|
|
78
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
79
|
+
return this;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
public withStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null): this {
|
|
83
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
84
|
+
return this;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
public getAutoRunStampSheet(): boolean|null {
|
|
88
|
+
return this.autoRunStampSheet;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
public setAutoRunStampSheet(autoRunStampSheet: boolean|null) {
|
|
92
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
93
|
+
return this;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
public withAutoRunStampSheet(autoRunStampSheet: boolean|null): this {
|
|
97
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
98
|
+
return this;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
public getAtomicCommit(): boolean|null {
|
|
102
|
+
return this.atomicCommit;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
public setAtomicCommit(atomicCommit: boolean|null) {
|
|
106
|
+
this.atomicCommit = atomicCommit;
|
|
107
|
+
return this;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
public withAtomicCommit(atomicCommit: boolean|null): this {
|
|
111
|
+
this.atomicCommit = atomicCommit;
|
|
112
|
+
return this;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
public getTransaction(): string|null {
|
|
116
|
+
return this.transaction;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
public setTransaction(transaction: string|null) {
|
|
120
|
+
this.transaction = transaction;
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
public withTransaction(transaction: string|null): this {
|
|
125
|
+
this.transaction = transaction;
|
|
126
|
+
return this;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
public getTransactionResult(): Gs2Core.TransactionResult|null {
|
|
130
|
+
return this.transactionResult;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
public setTransactionResult(transactionResult: Gs2Core.TransactionResult|null) {
|
|
134
|
+
this.transactionResult = transactionResult;
|
|
135
|
+
return this;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
public withTransactionResult(transactionResult: Gs2Core.TransactionResult|null): this {
|
|
139
|
+
this.transactionResult = transactionResult;
|
|
140
|
+
return this;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
public static fromDict(data: {[key: string]: any}): BatchReadMessagesByUserIdResult {
|
|
144
|
+
return new BatchReadMessagesByUserIdResult()
|
|
145
|
+
.withItems(data.items ?
|
|
146
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
147
|
+
return Gs2Inbox.Message.fromDict(item);
|
|
148
|
+
}
|
|
149
|
+
) : null)
|
|
150
|
+
.withTransactionId(data["transactionId"])
|
|
151
|
+
.withStampSheet(data["stampSheet"])
|
|
152
|
+
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
153
|
+
.withAutoRunStampSheet(data["autoRunStampSheet"])
|
|
154
|
+
.withAtomicCommit(data["atomicCommit"])
|
|
155
|
+
.withTransaction(data["transaction"])
|
|
156
|
+
.withTransactionResult(Gs2Core.TransactionResult.fromDict(data["transactionResult"]));
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
public toDict(): {[key: string]: any} {
|
|
160
|
+
return {
|
|
161
|
+
"items": this.getItems() ?
|
|
162
|
+
this.getItems()!.map((item: Gs2Inbox.Message) => {
|
|
163
|
+
return item.toDict();
|
|
164
|
+
}
|
|
165
|
+
) : null,
|
|
166
|
+
"transactionId": this.getTransactionId(),
|
|
167
|
+
"stampSheet": this.getStampSheet(),
|
|
168
|
+
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
169
|
+
"autoRunStampSheet": this.getAutoRunStampSheet(),
|
|
170
|
+
"atomicCommit": this.getAtomicCommit(),
|
|
171
|
+
"transaction": this.getTransaction(),
|
|
172
|
+
"transactionResult": this.getTransactionResult()?.toDict(),
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Inbox from '../model';
|
|
3
|
+
import * as Gs2Core from '../../core';
|
|
4
|
+
export default class BatchReadMessagesResult implements IResult {
|
|
5
|
+
private items;
|
|
6
|
+
private transactionId;
|
|
7
|
+
private stampSheet;
|
|
8
|
+
private stampSheetEncryptionKeyId;
|
|
9
|
+
private autoRunStampSheet;
|
|
10
|
+
private atomicCommit;
|
|
11
|
+
private transaction;
|
|
12
|
+
private transactionResult;
|
|
13
|
+
getItems(): Gs2Inbox.Message[] | null;
|
|
14
|
+
setItems(items: Gs2Inbox.Message[] | null): this;
|
|
15
|
+
withItems(items: Gs2Inbox.Message[] | null): this;
|
|
16
|
+
getTransactionId(): string | null;
|
|
17
|
+
setTransactionId(transactionId: string | null): this;
|
|
18
|
+
withTransactionId(transactionId: string | null): this;
|
|
19
|
+
getStampSheet(): string | null;
|
|
20
|
+
setStampSheet(stampSheet: string | null): this;
|
|
21
|
+
withStampSheet(stampSheet: string | null): this;
|
|
22
|
+
getStampSheetEncryptionKeyId(): string | null;
|
|
23
|
+
setStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string | null): this;
|
|
24
|
+
withStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string | null): this;
|
|
25
|
+
getAutoRunStampSheet(): boolean | null;
|
|
26
|
+
setAutoRunStampSheet(autoRunStampSheet: boolean | null): this;
|
|
27
|
+
withAutoRunStampSheet(autoRunStampSheet: boolean | null): this;
|
|
28
|
+
getAtomicCommit(): boolean | null;
|
|
29
|
+
setAtomicCommit(atomicCommit: boolean | null): this;
|
|
30
|
+
withAtomicCommit(atomicCommit: boolean | null): this;
|
|
31
|
+
getTransaction(): string | null;
|
|
32
|
+
setTransaction(transaction: string | null): this;
|
|
33
|
+
withTransaction(transaction: string | null): this;
|
|
34
|
+
getTransactionResult(): Gs2Core.TransactionResult | null;
|
|
35
|
+
setTransactionResult(transactionResult: Gs2Core.TransactionResult | null): this;
|
|
36
|
+
withTransactionResult(transactionResult: Gs2Core.TransactionResult | null): this;
|
|
37
|
+
static fromDict(data: {
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
}): BatchReadMessagesResult;
|
|
40
|
+
toDict(): {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
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
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Inbox = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var Gs2Core = tslib_1.__importStar(require("../../core"));
|
|
21
|
+
var BatchReadMessagesResult = /** @class */ (function () {
|
|
22
|
+
function BatchReadMessagesResult() {
|
|
23
|
+
this.items = null;
|
|
24
|
+
this.transactionId = null;
|
|
25
|
+
this.stampSheet = null;
|
|
26
|
+
this.stampSheetEncryptionKeyId = null;
|
|
27
|
+
this.autoRunStampSheet = null;
|
|
28
|
+
this.atomicCommit = null;
|
|
29
|
+
this.transaction = null;
|
|
30
|
+
this.transactionResult = null;
|
|
31
|
+
}
|
|
32
|
+
BatchReadMessagesResult.prototype.getItems = function () {
|
|
33
|
+
return this.items;
|
|
34
|
+
};
|
|
35
|
+
BatchReadMessagesResult.prototype.setItems = function (items) {
|
|
36
|
+
this.items = items;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
BatchReadMessagesResult.prototype.withItems = function (items) {
|
|
40
|
+
this.items = items;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
BatchReadMessagesResult.prototype.getTransactionId = function () {
|
|
44
|
+
return this.transactionId;
|
|
45
|
+
};
|
|
46
|
+
BatchReadMessagesResult.prototype.setTransactionId = function (transactionId) {
|
|
47
|
+
this.transactionId = transactionId;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
BatchReadMessagesResult.prototype.withTransactionId = function (transactionId) {
|
|
51
|
+
this.transactionId = transactionId;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
BatchReadMessagesResult.prototype.getStampSheet = function () {
|
|
55
|
+
return this.stampSheet;
|
|
56
|
+
};
|
|
57
|
+
BatchReadMessagesResult.prototype.setStampSheet = function (stampSheet) {
|
|
58
|
+
this.stampSheet = stampSheet;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
BatchReadMessagesResult.prototype.withStampSheet = function (stampSheet) {
|
|
62
|
+
this.stampSheet = stampSheet;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
BatchReadMessagesResult.prototype.getStampSheetEncryptionKeyId = function () {
|
|
66
|
+
return this.stampSheetEncryptionKeyId;
|
|
67
|
+
};
|
|
68
|
+
BatchReadMessagesResult.prototype.setStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
|
|
69
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
BatchReadMessagesResult.prototype.withStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
|
|
73
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
74
|
+
return this;
|
|
75
|
+
};
|
|
76
|
+
BatchReadMessagesResult.prototype.getAutoRunStampSheet = function () {
|
|
77
|
+
return this.autoRunStampSheet;
|
|
78
|
+
};
|
|
79
|
+
BatchReadMessagesResult.prototype.setAutoRunStampSheet = function (autoRunStampSheet) {
|
|
80
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
BatchReadMessagesResult.prototype.withAutoRunStampSheet = function (autoRunStampSheet) {
|
|
84
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
85
|
+
return this;
|
|
86
|
+
};
|
|
87
|
+
BatchReadMessagesResult.prototype.getAtomicCommit = function () {
|
|
88
|
+
return this.atomicCommit;
|
|
89
|
+
};
|
|
90
|
+
BatchReadMessagesResult.prototype.setAtomicCommit = function (atomicCommit) {
|
|
91
|
+
this.atomicCommit = atomicCommit;
|
|
92
|
+
return this;
|
|
93
|
+
};
|
|
94
|
+
BatchReadMessagesResult.prototype.withAtomicCommit = function (atomicCommit) {
|
|
95
|
+
this.atomicCommit = atomicCommit;
|
|
96
|
+
return this;
|
|
97
|
+
};
|
|
98
|
+
BatchReadMessagesResult.prototype.getTransaction = function () {
|
|
99
|
+
return this.transaction;
|
|
100
|
+
};
|
|
101
|
+
BatchReadMessagesResult.prototype.setTransaction = function (transaction) {
|
|
102
|
+
this.transaction = transaction;
|
|
103
|
+
return this;
|
|
104
|
+
};
|
|
105
|
+
BatchReadMessagesResult.prototype.withTransaction = function (transaction) {
|
|
106
|
+
this.transaction = transaction;
|
|
107
|
+
return this;
|
|
108
|
+
};
|
|
109
|
+
BatchReadMessagesResult.prototype.getTransactionResult = function () {
|
|
110
|
+
return this.transactionResult;
|
|
111
|
+
};
|
|
112
|
+
BatchReadMessagesResult.prototype.setTransactionResult = function (transactionResult) {
|
|
113
|
+
this.transactionResult = transactionResult;
|
|
114
|
+
return this;
|
|
115
|
+
};
|
|
116
|
+
BatchReadMessagesResult.prototype.withTransactionResult = function (transactionResult) {
|
|
117
|
+
this.transactionResult = transactionResult;
|
|
118
|
+
return this;
|
|
119
|
+
};
|
|
120
|
+
BatchReadMessagesResult.fromDict = function (data) {
|
|
121
|
+
return new BatchReadMessagesResult()
|
|
122
|
+
.withItems(data.items ?
|
|
123
|
+
data.items.map(function (item) {
|
|
124
|
+
return Gs2Inbox.Message.fromDict(item);
|
|
125
|
+
}) : null)
|
|
126
|
+
.withTransactionId(data["transactionId"])
|
|
127
|
+
.withStampSheet(data["stampSheet"])
|
|
128
|
+
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
129
|
+
.withAutoRunStampSheet(data["autoRunStampSheet"])
|
|
130
|
+
.withAtomicCommit(data["atomicCommit"])
|
|
131
|
+
.withTransaction(data["transaction"])
|
|
132
|
+
.withTransactionResult(Gs2Core.TransactionResult.fromDict(data["transactionResult"]));
|
|
133
|
+
};
|
|
134
|
+
BatchReadMessagesResult.prototype.toDict = function () {
|
|
135
|
+
var _a;
|
|
136
|
+
return {
|
|
137
|
+
"items": this.getItems() ?
|
|
138
|
+
this.getItems().map(function (item) {
|
|
139
|
+
return item.toDict();
|
|
140
|
+
}) : null,
|
|
141
|
+
"transactionId": this.getTransactionId(),
|
|
142
|
+
"stampSheet": this.getStampSheet(),
|
|
143
|
+
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
144
|
+
"autoRunStampSheet": this.getAutoRunStampSheet(),
|
|
145
|
+
"atomicCommit": this.getAtomicCommit(),
|
|
146
|
+
"transaction": this.getTransaction(),
|
|
147
|
+
"transactionResult": (_a = this.getTransactionResult()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
return BatchReadMessagesResult;
|
|
151
|
+
}());
|
|
152
|
+
exports.default = BatchReadMessagesResult;
|
|
153
|
+
//# sourceMappingURL=BatchReadMessagesResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchReadMessagesResult.js","sourceRoot":"","sources":["BatchReadMessagesResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,yDAAoC;AACpC,0DAAqC;AAErC;IAAA;QACY,UAAK,GAA4B,IAAI,CAAC;QACtC,kBAAa,GAAgB,IAAI,CAAC;QAClC,eAAU,GAAgB,IAAI,CAAC;QAC/B,8BAAyB,GAAgB,IAAI,CAAC;QAC9C,sBAAiB,GAAiB,IAAI,CAAC;QACvC,iBAAY,GAAiB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,sBAAiB,GAAmC,IAAI,CAAC;IAkJrE,CAAC;IAhJU,0CAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,0CAAQ,GAAf,UAAgB,KAA8B;QAC1C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2CAAS,GAAhB,UAAiB,KAA8B;QAC3C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,kDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mDAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CA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iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC;IAC9F,CAAC;IAEM,wCAAM,GAAb;;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAAsB;oBACxC,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;YACR,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,2BAA2B,EAAE,IAAI,CAAC,4BAA4B,EAAE;YAChE,mBAAmB,EAAE,IAAI,CAAC,oBAAoB,EAAE;YAChD,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE;YACtC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,mBAAmB,EAAE,MAAA,IAAI,CAAC,oBAAoB,EAAE,0CAAE,MAAM,EAAE;SAC7D,CAAC;IACN,CAAC;IACL,8BAAC;AAAD,CAAC,AA1JD,IA0JC"}
|
|
@@ -0,0 +1,175 @@
|
|
|
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 IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Inbox from '../model'
|
|
19
|
+
import * as Gs2Core from '../../core'
|
|
20
|
+
|
|
21
|
+
export default class BatchReadMessagesResult implements IResult {
|
|
22
|
+
private items: Gs2Inbox.Message[]|null = null;
|
|
23
|
+
private transactionId: string|null = null;
|
|
24
|
+
private stampSheet: string|null = null;
|
|
25
|
+
private stampSheetEncryptionKeyId: string|null = null;
|
|
26
|
+
private autoRunStampSheet: boolean|null = null;
|
|
27
|
+
private atomicCommit: boolean|null = null;
|
|
28
|
+
private transaction: string|null = null;
|
|
29
|
+
private transactionResult: Gs2Core.TransactionResult|null = null;
|
|
30
|
+
|
|
31
|
+
public getItems(): Gs2Inbox.Message[]|null {
|
|
32
|
+
return this.items;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public setItems(items: Gs2Inbox.Message[]|null) {
|
|
36
|
+
this.items = items;
|
|
37
|
+
return this;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public withItems(items: Gs2Inbox.Message[]|null): this {
|
|
41
|
+
this.items = items;
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public getTransactionId(): string|null {
|
|
46
|
+
return this.transactionId;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
public setTransactionId(transactionId: string|null) {
|
|
50
|
+
this.transactionId = transactionId;
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public withTransactionId(transactionId: string|null): this {
|
|
55
|
+
this.transactionId = transactionId;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public getStampSheet(): string|null {
|
|
60
|
+
return this.stampSheet;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
public setStampSheet(stampSheet: string|null) {
|
|
64
|
+
this.stampSheet = stampSheet;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
public withStampSheet(stampSheet: string|null): this {
|
|
69
|
+
this.stampSheet = stampSheet;
|
|
70
|
+
return this;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
public getStampSheetEncryptionKeyId(): string|null {
|
|
74
|
+
return this.stampSheetEncryptionKeyId;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
public setStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null) {
|
|
78
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
79
|
+
return this;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
public withStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null): this {
|
|
83
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
84
|
+
return this;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
public getAutoRunStampSheet(): boolean|null {
|
|
88
|
+
return this.autoRunStampSheet;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
public setAutoRunStampSheet(autoRunStampSheet: boolean|null) {
|
|
92
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
93
|
+
return this;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
public withAutoRunStampSheet(autoRunStampSheet: boolean|null): this {
|
|
97
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
98
|
+
return this;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
public getAtomicCommit(): boolean|null {
|
|
102
|
+
return this.atomicCommit;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
public setAtomicCommit(atomicCommit: boolean|null) {
|
|
106
|
+
this.atomicCommit = atomicCommit;
|
|
107
|
+
return this;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
public withAtomicCommit(atomicCommit: boolean|null): this {
|
|
111
|
+
this.atomicCommit = atomicCommit;
|
|
112
|
+
return this;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
public getTransaction(): string|null {
|
|
116
|
+
return this.transaction;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
public setTransaction(transaction: string|null) {
|
|
120
|
+
this.transaction = transaction;
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
public withTransaction(transaction: string|null): this {
|
|
125
|
+
this.transaction = transaction;
|
|
126
|
+
return this;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
public getTransactionResult(): Gs2Core.TransactionResult|null {
|
|
130
|
+
return this.transactionResult;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
public setTransactionResult(transactionResult: Gs2Core.TransactionResult|null) {
|
|
134
|
+
this.transactionResult = transactionResult;
|
|
135
|
+
return this;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
public withTransactionResult(transactionResult: Gs2Core.TransactionResult|null): this {
|
|
139
|
+
this.transactionResult = transactionResult;
|
|
140
|
+
return this;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
public static fromDict(data: {[key: string]: any}): BatchReadMessagesResult {
|
|
144
|
+
return new BatchReadMessagesResult()
|
|
145
|
+
.withItems(data.items ?
|
|
146
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
147
|
+
return Gs2Inbox.Message.fromDict(item);
|
|
148
|
+
}
|
|
149
|
+
) : null)
|
|
150
|
+
.withTransactionId(data["transactionId"])
|
|
151
|
+
.withStampSheet(data["stampSheet"])
|
|
152
|
+
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
153
|
+
.withAutoRunStampSheet(data["autoRunStampSheet"])
|
|
154
|
+
.withAtomicCommit(data["atomicCommit"])
|
|
155
|
+
.withTransaction(data["transaction"])
|
|
156
|
+
.withTransactionResult(Gs2Core.TransactionResult.fromDict(data["transactionResult"]));
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
public toDict(): {[key: string]: any} {
|
|
160
|
+
return {
|
|
161
|
+
"items": this.getItems() ?
|
|
162
|
+
this.getItems()!.map((item: Gs2Inbox.Message) => {
|
|
163
|
+
return item.toDict();
|
|
164
|
+
}
|
|
165
|
+
) : null,
|
|
166
|
+
"transactionId": this.getTransactionId(),
|
|
167
|
+
"stampSheet": this.getStampSheet(),
|
|
168
|
+
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
169
|
+
"autoRunStampSheet": this.getAutoRunStampSheet(),
|
|
170
|
+
"atomicCommit": this.getAtomicCommit(),
|
|
171
|
+
"transaction": this.getTransaction(),
|
|
172
|
+
"transactionResult": this.getTransactionResult()?.toDict(),
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
}
|
package/inbox/result/index.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ import OpenMessageResult from "./OpenMessageResult";
|
|
|
22
22
|
import OpenMessageByUserIdResult from "./OpenMessageByUserIdResult";
|
|
23
23
|
import ReadMessageResult from "./ReadMessageResult";
|
|
24
24
|
import ReadMessageByUserIdResult from "./ReadMessageByUserIdResult";
|
|
25
|
+
import BatchReadMessagesResult from "./BatchReadMessagesResult";
|
|
26
|
+
import BatchReadMessagesByUserIdResult from "./BatchReadMessagesByUserIdResult";
|
|
25
27
|
import DeleteMessageResult from "./DeleteMessageResult";
|
|
26
28
|
import DeleteMessageByUserIdResult from "./DeleteMessageByUserIdResult";
|
|
27
29
|
import SendByStampSheetResult from "./SendByStampSheetResult";
|
|
@@ -41,4 +43,4 @@ import GetGlobalMessageResult from "./GetGlobalMessageResult";
|
|
|
41
43
|
import GetReceivedByUserIdResult from "./GetReceivedByUserIdResult";
|
|
42
44
|
import UpdateReceivedByUserIdResult from "./UpdateReceivedByUserIdResult";
|
|
43
45
|
import DeleteReceivedByUserIdResult from "./DeleteReceivedByUserIdResult";
|
|
44
|
-
export { DescribeNamespacesResult, CreateNamespaceResult, GetNamespaceStatusResult, GetNamespaceResult, UpdateNamespaceResult, DeleteNamespaceResult, DumpUserDataByUserIdResult, CheckDumpUserDataByUserIdResult, CleanUserDataByUserIdResult, CheckCleanUserDataByUserIdResult, PrepareImportUserDataByUserIdResult, ImportUserDataByUserIdResult, CheckImportUserDataByUserIdResult, DescribeMessagesResult, DescribeMessagesByUserIdResult, SendMessageByUserIdResult, GetMessageResult, GetMessageByUserIdResult, ReceiveGlobalMessageResult, ReceiveGlobalMessageByUserIdResult, OpenMessageResult, OpenMessageByUserIdResult, ReadMessageResult, ReadMessageByUserIdResult, DeleteMessageResult, DeleteMessageByUserIdResult, SendByStampSheetResult, OpenByStampTaskResult, DeleteMessageByStampTaskResult, ExportMasterResult, GetCurrentMessageMasterResult, UpdateCurrentMessageMasterResult, UpdateCurrentMessageMasterFromGitHubResult, DescribeGlobalMessageMastersResult, CreateGlobalMessageMasterResult, GetGlobalMessageMasterResult, UpdateGlobalMessageMasterResult, DeleteGlobalMessageMasterResult, DescribeGlobalMessagesResult, GetGlobalMessageResult, GetReceivedByUserIdResult, UpdateReceivedByUserIdResult, DeleteReceivedByUserIdResult, };
|
|
46
|
+
export { DescribeNamespacesResult, CreateNamespaceResult, GetNamespaceStatusResult, GetNamespaceResult, UpdateNamespaceResult, DeleteNamespaceResult, DumpUserDataByUserIdResult, CheckDumpUserDataByUserIdResult, CleanUserDataByUserIdResult, CheckCleanUserDataByUserIdResult, PrepareImportUserDataByUserIdResult, ImportUserDataByUserIdResult, CheckImportUserDataByUserIdResult, DescribeMessagesResult, DescribeMessagesByUserIdResult, SendMessageByUserIdResult, GetMessageResult, GetMessageByUserIdResult, ReceiveGlobalMessageResult, ReceiveGlobalMessageByUserIdResult, OpenMessageResult, OpenMessageByUserIdResult, ReadMessageResult, ReadMessageByUserIdResult, BatchReadMessagesResult, BatchReadMessagesByUserIdResult, DeleteMessageResult, DeleteMessageByUserIdResult, SendByStampSheetResult, OpenByStampTaskResult, DeleteMessageByStampTaskResult, ExportMasterResult, GetCurrentMessageMasterResult, UpdateCurrentMessageMasterResult, UpdateCurrentMessageMasterFromGitHubResult, DescribeGlobalMessageMastersResult, CreateGlobalMessageMasterResult, GetGlobalMessageMasterResult, UpdateGlobalMessageMasterResult, DeleteGlobalMessageMasterResult, DescribeGlobalMessagesResult, GetGlobalMessageResult, GetReceivedByUserIdResult, UpdateReceivedByUserIdResult, DeleteReceivedByUserIdResult, };
|
package/inbox/result/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteReceivedByUserIdResult = exports.UpdateReceivedByUserIdResult = exports.GetReceivedByUserIdResult = exports.GetGlobalMessageResult = exports.DescribeGlobalMessagesResult = exports.DeleteGlobalMessageMasterResult = exports.UpdateGlobalMessageMasterResult = exports.GetGlobalMessageMasterResult = exports.CreateGlobalMessageMasterResult = exports.DescribeGlobalMessageMastersResult = exports.UpdateCurrentMessageMasterFromGitHubResult = exports.UpdateCurrentMessageMasterResult = exports.GetCurrentMessageMasterResult = exports.ExportMasterResult = exports.DeleteMessageByStampTaskResult = exports.OpenByStampTaskResult = exports.SendByStampSheetResult = exports.DeleteMessageByUserIdResult = exports.DeleteMessageResult = exports.ReadMessageByUserIdResult = exports.ReadMessageResult = exports.OpenMessageByUserIdResult = exports.OpenMessageResult = exports.ReceiveGlobalMessageByUserIdResult = exports.ReceiveGlobalMessageResult = exports.GetMessageByUserIdResult = exports.GetMessageResult = exports.SendMessageByUserIdResult = exports.DescribeMessagesByUserIdResult = exports.DescribeMessagesResult = exports.CheckImportUserDataByUserIdResult = exports.ImportUserDataByUserIdResult = exports.PrepareImportUserDataByUserIdResult = exports.CheckCleanUserDataByUserIdResult = exports.CleanUserDataByUserIdResult = exports.CheckDumpUserDataByUserIdResult = exports.DumpUserDataByUserIdResult = exports.DeleteNamespaceResult = exports.UpdateNamespaceResult = exports.GetNamespaceResult = exports.GetNamespaceStatusResult = exports.CreateNamespaceResult = exports.DescribeNamespacesResult = void 0;
|
|
3
|
+
exports.DeleteReceivedByUserIdResult = exports.UpdateReceivedByUserIdResult = exports.GetReceivedByUserIdResult = exports.GetGlobalMessageResult = exports.DescribeGlobalMessagesResult = exports.DeleteGlobalMessageMasterResult = exports.UpdateGlobalMessageMasterResult = exports.GetGlobalMessageMasterResult = exports.CreateGlobalMessageMasterResult = exports.DescribeGlobalMessageMastersResult = exports.UpdateCurrentMessageMasterFromGitHubResult = exports.UpdateCurrentMessageMasterResult = exports.GetCurrentMessageMasterResult = exports.ExportMasterResult = exports.DeleteMessageByStampTaskResult = exports.OpenByStampTaskResult = exports.SendByStampSheetResult = exports.DeleteMessageByUserIdResult = exports.DeleteMessageResult = exports.BatchReadMessagesByUserIdResult = exports.BatchReadMessagesResult = exports.ReadMessageByUserIdResult = exports.ReadMessageResult = exports.OpenMessageByUserIdResult = exports.OpenMessageResult = exports.ReceiveGlobalMessageByUserIdResult = exports.ReceiveGlobalMessageResult = exports.GetMessageByUserIdResult = exports.GetMessageResult = exports.SendMessageByUserIdResult = exports.DescribeMessagesByUserIdResult = exports.DescribeMessagesResult = exports.CheckImportUserDataByUserIdResult = exports.ImportUserDataByUserIdResult = exports.PrepareImportUserDataByUserIdResult = exports.CheckCleanUserDataByUserIdResult = exports.CleanUserDataByUserIdResult = exports.CheckDumpUserDataByUserIdResult = exports.DumpUserDataByUserIdResult = exports.DeleteNamespaceResult = exports.UpdateNamespaceResult = exports.GetNamespaceResult = exports.GetNamespaceStatusResult = exports.CreateNamespaceResult = exports.DescribeNamespacesResult = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -65,6 +65,10 @@ var ReadMessageResult_1 = tslib_1.__importDefault(require("./ReadMessageResult")
|
|
|
65
65
|
exports.ReadMessageResult = ReadMessageResult_1.default;
|
|
66
66
|
var ReadMessageByUserIdResult_1 = tslib_1.__importDefault(require("./ReadMessageByUserIdResult"));
|
|
67
67
|
exports.ReadMessageByUserIdResult = ReadMessageByUserIdResult_1.default;
|
|
68
|
+
var BatchReadMessagesResult_1 = tslib_1.__importDefault(require("./BatchReadMessagesResult"));
|
|
69
|
+
exports.BatchReadMessagesResult = BatchReadMessagesResult_1.default;
|
|
70
|
+
var BatchReadMessagesByUserIdResult_1 = tslib_1.__importDefault(require("./BatchReadMessagesByUserIdResult"));
|
|
71
|
+
exports.BatchReadMessagesByUserIdResult = BatchReadMessagesByUserIdResult_1.default;
|
|
68
72
|
var DeleteMessageResult_1 = tslib_1.__importDefault(require("./DeleteMessageResult"));
|
|
69
73
|
exports.DeleteMessageResult = DeleteMessageResult_1.default;
|
|
70
74
|
var DeleteMessageByUserIdResult_1 = tslib_1.__importDefault(require("./DeleteMessageByUserIdResult"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gGAAiE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gGAAiE;AA+C7D,mCA/CG,kCAAwB,CA+CH;AA9C5B,0FAA2D;AA+CvD,gCA/CG,+BAAqB,CA+CH;AA9CzB,gGAAiE;AA+C7D,mCA/CG,kCAAwB,CA+CH;AA9C5B,oFAAqD;AA+CjD,6BA/CG,4BAAkB,CA+CH;AA9CtB,0FAA2D;AA+CvD,gCA/CG,+BAAqB,CA+CH;AA9CzB,0FAA2D;AA+CvD,gCA/CG,+BAAqB,CA+CH;AA9CzB,oGAAqE;AA+CjE,qCA/CG,oCAA0B,CA+CH;AA9C9B,8GAA+E;AA+C3E,0CA/CG,yCAA+B,CA+CH;AA9CnC,sGAAuE;AA+CnE,sCA/CG,qCAA2B,CA+CH;AA9C/B,gHAAiF;AA+C7E,2CA/CG,0CAAgC,CA+CH;AA9CpC,sHAAuF;AA+CnF,8CA/CG,6CAAmC,CA+CH;AA9CvC,wGAAyE;AA+CrE,uCA/CG,sCAA4B,CA+CH;AA9ChC,kHAAmF;AA+C/E,4CA/CG,2CAAiC,CA+CH;AA9CrC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C,8GAA+E;AA+C3E,0CA/CG,yCAA+B,CA+CH;AA9CnC,8GAA+E;AA+C3E,0CA/CG,yCAA+B,CA+CH;AA9CnC,wGAAyE;AA+CrE,uCA/CG,sCAA4B,CA+CH;AA9ChC,4FAA6D;AA+CzD,iCA/CG,gCAAsB,CA+CH;AA9C1B,kGAAmE;AA+C/D,oCA/CG,mCAAyB,CA+CH;AA9C7B,wGAAyE;AA+CrE,uCA/CG,sCAA4B,CA+CH;AA9ChC,wGAAyE;AA+CrE,uCA/CG,sCAA4B,CA+CH"}
|
package/inbox/result/index.ts
CHANGED
|
@@ -37,6 +37,8 @@ import OpenMessageResult from "./OpenMessageResult"
|
|
|
37
37
|
import OpenMessageByUserIdResult from "./OpenMessageByUserIdResult"
|
|
38
38
|
import ReadMessageResult from "./ReadMessageResult"
|
|
39
39
|
import ReadMessageByUserIdResult from "./ReadMessageByUserIdResult"
|
|
40
|
+
import BatchReadMessagesResult from "./BatchReadMessagesResult"
|
|
41
|
+
import BatchReadMessagesByUserIdResult from "./BatchReadMessagesByUserIdResult"
|
|
40
42
|
import DeleteMessageResult from "./DeleteMessageResult"
|
|
41
43
|
import DeleteMessageByUserIdResult from "./DeleteMessageByUserIdResult"
|
|
42
44
|
import SendByStampSheetResult from "./SendByStampSheetResult"
|
|
@@ -82,6 +84,8 @@ export {
|
|
|
82
84
|
OpenMessageByUserIdResult,
|
|
83
85
|
ReadMessageResult,
|
|
84
86
|
ReadMessageByUserIdResult,
|
|
87
|
+
BatchReadMessagesResult,
|
|
88
|
+
BatchReadMessagesByUserIdResult,
|
|
85
89
|
DeleteMessageResult,
|
|
86
90
|
DeleteMessageByUserIdResult,
|
|
87
91
|
SendByStampSheetResult,
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import IResult from '../../core/interface/IResult';
|
|
2
2
|
import * as Gs2Script from '../model';
|
|
3
|
+
import * as Gs2Core from '../../core';
|
|
3
4
|
export default class DebugInvokeResult implements IResult {
|
|
4
5
|
private code;
|
|
5
6
|
private result;
|
|
6
7
|
private transaction;
|
|
7
8
|
private randomStatus;
|
|
9
|
+
private atomicCommit;
|
|
10
|
+
private transactionResult;
|
|
8
11
|
private executeTime;
|
|
9
12
|
private charged;
|
|
10
13
|
private output;
|
|
@@ -20,6 +23,12 @@ export default class DebugInvokeResult implements IResult {
|
|
|
20
23
|
getRandomStatus(): Gs2Script.RandomStatus | null;
|
|
21
24
|
setRandomStatus(randomStatus: Gs2Script.RandomStatus | null): this;
|
|
22
25
|
withRandomStatus(randomStatus: Gs2Script.RandomStatus | null): this;
|
|
26
|
+
getAtomicCommit(): boolean | null;
|
|
27
|
+
setAtomicCommit(atomicCommit: boolean | null): this;
|
|
28
|
+
withAtomicCommit(atomicCommit: boolean | null): this;
|
|
29
|
+
getTransactionResult(): Gs2Core.TransactionResult | null;
|
|
30
|
+
setTransactionResult(transactionResult: Gs2Core.TransactionResult | null): this;
|
|
31
|
+
withTransactionResult(transactionResult: Gs2Core.TransactionResult | null): this;
|
|
23
32
|
getExecuteTime(): number | null;
|
|
24
33
|
setExecuteTime(executeTime: number | null): this;
|
|
25
34
|
withExecuteTime(executeTime: number | null): this;
|