gs2 1.3.153 → 1.3.154
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/experience/model/AcquireAction.d.ts +17 -0
- package/experience/model/AcquireAction.js +62 -0
- package/experience/model/AcquireAction.js.map +1 -0
- package/experience/model/AcquireAction.ts +60 -0
- package/experience/model/AcquireActionRate.d.ts +17 -0
- package/experience/model/AcquireActionRate.js +68 -0
- package/experience/model/AcquireActionRate.js.map +1 -0
- package/experience/model/AcquireActionRate.ts +68 -0
- package/experience/model/ExperienceModel.d.ts +5 -0
- package/experience/model/ExperienceModel.js +22 -1
- package/experience/model/ExperienceModel.js.map +1 -1
- package/experience/model/ExperienceModel.ts +24 -1
- package/experience/model/ExperienceModelMaster.d.ts +5 -0
- package/experience/model/ExperienceModelMaster.js +22 -0
- package/experience/model/ExperienceModelMaster.js.map +1 -1
- package/experience/model/ExperienceModelMaster.ts +23 -0
- package/experience/model/Namespace.d.ts +5 -0
- package/experience/model/Namespace.js +21 -6
- package/experience/model/Namespace.js.map +1 -1
- package/experience/model/Namespace.ts +15 -0
- package/experience/model/TransactionSetting.d.ts +25 -0
- package/experience/model/TransactionSetting.js +90 -0
- package/experience/model/TransactionSetting.js.map +1 -0
- package/experience/model/TransactionSetting.ts +88 -0
- package/experience/model/index.d.ts +4 -1
- package/experience/model/index.js +7 -1
- package/experience/model/index.js.map +1 -1
- package/experience/model/index.ts +6 -0
- package/experience/request/CreateExperienceModelMasterRequest.d.ts +5 -0
- package/experience/request/CreateExperienceModelMasterRequest.js +23 -1
- package/experience/request/CreateExperienceModelMasterRequest.js.map +1 -1
- package/experience/request/CreateExperienceModelMasterRequest.ts +23 -1
- package/experience/request/CreateNamespaceRequest.d.ts +4 -0
- package/experience/request/CreateNamespaceRequest.js +20 -6
- package/experience/request/CreateNamespaceRequest.js.map +1 -1
- package/experience/request/CreateNamespaceRequest.ts +14 -0
- package/experience/request/MultiplyAcquireActionsByStampSheetRequest.d.ts +25 -0
- package/experience/request/MultiplyAcquireActionsByStampSheetRequest.js +83 -0
- package/experience/request/MultiplyAcquireActionsByStampSheetRequest.js.map +1 -0
- package/experience/request/MultiplyAcquireActionsByStampSheetRequest.ts +90 -0
- package/experience/request/MultiplyAcquireActionsByUserIdRequest.d.ts +46 -0
- package/experience/request/MultiplyAcquireActionsByUserIdRequest.js +159 -0
- package/experience/request/MultiplyAcquireActionsByUserIdRequest.js.map +1 -0
- package/experience/request/MultiplyAcquireActionsByUserIdRequest.ts +169 -0
- package/experience/request/UpdateExperienceModelMasterRequest.d.ts +5 -0
- package/experience/request/UpdateExperienceModelMasterRequest.js +23 -1
- package/experience/request/UpdateExperienceModelMasterRequest.js.map +1 -1
- package/experience/request/UpdateExperienceModelMasterRequest.ts +23 -1
- package/experience/request/UpdateNamespaceRequest.d.ts +4 -0
- package/experience/request/UpdateNamespaceRequest.js +20 -6
- package/experience/request/UpdateNamespaceRequest.js.map +1 -1
- package/experience/request/UpdateNamespaceRequest.ts +14 -0
- package/experience/request/index.d.ts +3 -1
- package/experience/request/index.js +5 -1
- package/experience/request/index.js.map +1 -1
- package/experience/request/index.ts +4 -0
- package/experience/rest.d.ts +2 -0
- package/experience/rest.js +81 -16
- package/experience/rest.js.map +1 -1
- package/experience/rest.ts +73 -0
- package/experience/result/MultiplyAcquireActionsByStampSheetResult.d.ts +30 -0
- package/experience/result/MultiplyAcquireActionsByStampSheetResult.js +109 -0
- package/experience/result/MultiplyAcquireActionsByStampSheetResult.js.map +1 -0
- package/experience/result/MultiplyAcquireActionsByStampSheetResult.ts +124 -0
- package/experience/result/MultiplyAcquireActionsByUserIdResult.d.ts +30 -0
- package/experience/result/MultiplyAcquireActionsByUserIdResult.js +109 -0
- package/experience/result/MultiplyAcquireActionsByUserIdResult.js.map +1 -0
- package/experience/result/MultiplyAcquireActionsByUserIdResult.ts +124 -0
- package/experience/result/index.d.ts +3 -1
- package/experience/result/index.js +5 -1
- package/experience/result/index.js.map +1 -1
- package/experience/result/index.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,124 @@
|
|
|
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
|
+
|
|
19
|
+
import * as Gs2Experience from '../model'
|
|
20
|
+
|
|
21
|
+
export default class MultiplyAcquireActionsByStampSheetResult implements IResult {
|
|
22
|
+
private items: Gs2Experience.AcquireAction[]|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
|
+
|
|
28
|
+
public getItems(): Gs2Experience.AcquireAction[]|null {
|
|
29
|
+
return this.items;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public setItems(items: Gs2Experience.AcquireAction[]|null) {
|
|
33
|
+
this.items = items;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public withItems(items: Gs2Experience.AcquireAction[]|null): this {
|
|
38
|
+
this.items = items;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public getTransactionId(): string|null {
|
|
43
|
+
return this.transactionId;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public setTransactionId(transactionId: string|null) {
|
|
47
|
+
this.transactionId = transactionId;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public withTransactionId(transactionId: string|null): this {
|
|
52
|
+
this.transactionId = transactionId;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
public getStampSheet(): string|null {
|
|
57
|
+
return this.stampSheet;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public setStampSheet(stampSheet: string|null) {
|
|
61
|
+
this.stampSheet = stampSheet;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
public withStampSheet(stampSheet: string|null): this {
|
|
66
|
+
this.stampSheet = stampSheet;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public getStampSheetEncryptionKeyId(): string|null {
|
|
71
|
+
return this.stampSheetEncryptionKeyId;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public setStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null) {
|
|
75
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
public withStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null): this {
|
|
80
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
81
|
+
return this;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
public getAutoRunStampSheet(): boolean|null {
|
|
85
|
+
return this.autoRunStampSheet;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
public setAutoRunStampSheet(autoRunStampSheet: boolean|null) {
|
|
89
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
public withAutoRunStampSheet(autoRunStampSheet: boolean|null): this {
|
|
94
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
95
|
+
return this;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
public static fromDict(data: {[key: string]: any}): MultiplyAcquireActionsByStampSheetResult {
|
|
99
|
+
return new MultiplyAcquireActionsByStampSheetResult()
|
|
100
|
+
.withItems(data.items ?
|
|
101
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
102
|
+
return Gs2Experience.AcquireAction.fromDict(item);
|
|
103
|
+
}
|
|
104
|
+
) : [])
|
|
105
|
+
.withTransactionId(data["transactionId"])
|
|
106
|
+
.withStampSheet(data["stampSheet"])
|
|
107
|
+
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
108
|
+
.withAutoRunStampSheet(data["autoRunStampSheet"]);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
public toDict(): {[key: string]: any} {
|
|
112
|
+
return {
|
|
113
|
+
"items": this.getItems() ?
|
|
114
|
+
this.getItems()!.map((item: Gs2Experience.AcquireAction) => {
|
|
115
|
+
return item.toDict();
|
|
116
|
+
}
|
|
117
|
+
) : [],
|
|
118
|
+
"transactionId": this.getTransactionId(),
|
|
119
|
+
"stampSheet": this.getStampSheet(),
|
|
120
|
+
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
121
|
+
"autoRunStampSheet": this.getAutoRunStampSheet(),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Experience from '../model';
|
|
3
|
+
export default class MultiplyAcquireActionsByUserIdResult implements IResult {
|
|
4
|
+
private items;
|
|
5
|
+
private transactionId;
|
|
6
|
+
private stampSheet;
|
|
7
|
+
private stampSheetEncryptionKeyId;
|
|
8
|
+
private autoRunStampSheet;
|
|
9
|
+
getItems(): Gs2Experience.AcquireAction[] | null;
|
|
10
|
+
setItems(items: Gs2Experience.AcquireAction[] | null): this;
|
|
11
|
+
withItems(items: Gs2Experience.AcquireAction[] | null): this;
|
|
12
|
+
getTransactionId(): string | null;
|
|
13
|
+
setTransactionId(transactionId: string | null): this;
|
|
14
|
+
withTransactionId(transactionId: string | null): this;
|
|
15
|
+
getStampSheet(): string | null;
|
|
16
|
+
setStampSheet(stampSheet: string | null): this;
|
|
17
|
+
withStampSheet(stampSheet: string | null): this;
|
|
18
|
+
getStampSheetEncryptionKeyId(): string | null;
|
|
19
|
+
setStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string | null): this;
|
|
20
|
+
withStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string | null): this;
|
|
21
|
+
getAutoRunStampSheet(): boolean | null;
|
|
22
|
+
setAutoRunStampSheet(autoRunStampSheet: boolean | null): this;
|
|
23
|
+
withAutoRunStampSheet(autoRunStampSheet: boolean | null): this;
|
|
24
|
+
static fromDict(data: {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}): MultiplyAcquireActionsByUserIdResult;
|
|
27
|
+
toDict(): {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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 Gs2Experience = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var MultiplyAcquireActionsByUserIdResult = /** @class */ (function () {
|
|
21
|
+
function MultiplyAcquireActionsByUserIdResult() {
|
|
22
|
+
this.items = null;
|
|
23
|
+
this.transactionId = null;
|
|
24
|
+
this.stampSheet = null;
|
|
25
|
+
this.stampSheetEncryptionKeyId = null;
|
|
26
|
+
this.autoRunStampSheet = null;
|
|
27
|
+
}
|
|
28
|
+
MultiplyAcquireActionsByUserIdResult.prototype.getItems = function () {
|
|
29
|
+
return this.items;
|
|
30
|
+
};
|
|
31
|
+
MultiplyAcquireActionsByUserIdResult.prototype.setItems = function (items) {
|
|
32
|
+
this.items = items;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
MultiplyAcquireActionsByUserIdResult.prototype.withItems = function (items) {
|
|
36
|
+
this.items = items;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
MultiplyAcquireActionsByUserIdResult.prototype.getTransactionId = function () {
|
|
40
|
+
return this.transactionId;
|
|
41
|
+
};
|
|
42
|
+
MultiplyAcquireActionsByUserIdResult.prototype.setTransactionId = function (transactionId) {
|
|
43
|
+
this.transactionId = transactionId;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
MultiplyAcquireActionsByUserIdResult.prototype.withTransactionId = function (transactionId) {
|
|
47
|
+
this.transactionId = transactionId;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
MultiplyAcquireActionsByUserIdResult.prototype.getStampSheet = function () {
|
|
51
|
+
return this.stampSheet;
|
|
52
|
+
};
|
|
53
|
+
MultiplyAcquireActionsByUserIdResult.prototype.setStampSheet = function (stampSheet) {
|
|
54
|
+
this.stampSheet = stampSheet;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
MultiplyAcquireActionsByUserIdResult.prototype.withStampSheet = function (stampSheet) {
|
|
58
|
+
this.stampSheet = stampSheet;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
MultiplyAcquireActionsByUserIdResult.prototype.getStampSheetEncryptionKeyId = function () {
|
|
62
|
+
return this.stampSheetEncryptionKeyId;
|
|
63
|
+
};
|
|
64
|
+
MultiplyAcquireActionsByUserIdResult.prototype.setStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
|
|
65
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
66
|
+
return this;
|
|
67
|
+
};
|
|
68
|
+
MultiplyAcquireActionsByUserIdResult.prototype.withStampSheetEncryptionKeyId = function (stampSheetEncryptionKeyId) {
|
|
69
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
MultiplyAcquireActionsByUserIdResult.prototype.getAutoRunStampSheet = function () {
|
|
73
|
+
return this.autoRunStampSheet;
|
|
74
|
+
};
|
|
75
|
+
MultiplyAcquireActionsByUserIdResult.prototype.setAutoRunStampSheet = function (autoRunStampSheet) {
|
|
76
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
MultiplyAcquireActionsByUserIdResult.prototype.withAutoRunStampSheet = function (autoRunStampSheet) {
|
|
80
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
MultiplyAcquireActionsByUserIdResult.fromDict = function (data) {
|
|
84
|
+
return new MultiplyAcquireActionsByUserIdResult()
|
|
85
|
+
.withItems(data.items ?
|
|
86
|
+
data.items.map(function (item) {
|
|
87
|
+
return Gs2Experience.AcquireAction.fromDict(item);
|
|
88
|
+
}) : [])
|
|
89
|
+
.withTransactionId(data["transactionId"])
|
|
90
|
+
.withStampSheet(data["stampSheet"])
|
|
91
|
+
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
92
|
+
.withAutoRunStampSheet(data["autoRunStampSheet"]);
|
|
93
|
+
};
|
|
94
|
+
MultiplyAcquireActionsByUserIdResult.prototype.toDict = function () {
|
|
95
|
+
return {
|
|
96
|
+
"items": this.getItems() ?
|
|
97
|
+
this.getItems().map(function (item) {
|
|
98
|
+
return item.toDict();
|
|
99
|
+
}) : [],
|
|
100
|
+
"transactionId": this.getTransactionId(),
|
|
101
|
+
"stampSheet": this.getStampSheet(),
|
|
102
|
+
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
103
|
+
"autoRunStampSheet": this.getAutoRunStampSheet(),
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
return MultiplyAcquireActionsByUserIdResult;
|
|
107
|
+
}());
|
|
108
|
+
exports.default = MultiplyAcquireActionsByUserIdResult;
|
|
109
|
+
//# sourceMappingURL=MultiplyAcquireActionsByUserIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiplyAcquireActionsByUserIdResult.js","sourceRoot":"","sources":["MultiplyAcquireActionsByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,8DAAyC;AAEzC;IAAA;QACY,UAAK,GAAuC,IAAI,CAAC;QACjD,kBAAa,GAAgB,IAAI,CAAC;QAClC,eAAU,GAAgB,IAAI,CAAC;QAC/B,8BAAyB,GAAgB,IAAI,CAAC;QAC9C,sBAAiB,GAAiB,IAAI,CAAC;IAkGnD,CAAC;IAhGU,uDAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,uDAAQ,GAAf,UAAgB,KAAyC;QACrD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wDAAS,GAAhB,UAAiB,KAAyC;QACtD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+DAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,+DAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gEAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4DAAa,GAApB;QACI,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IAEM,4DAAa,GAApB,UAAqB,UAAuB;QACxC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6DAAc,GAArB,UAAsB,UAAuB;QACzC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2EAA4B,GAAnC;QACI,OAAO,IAAI,CAAC,yBAAyB,CAAC;IAC1C,CAAC;IAEM,2EAA4B,GAAnC,UAAoC,yBAAsC;QACtE,IAAI,CAAC,yBAAyB,GAAG,yBAAyB,CAAC;QAC3D,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4EAA6B,GAApC,UAAqC,yBAAsC;QACvE,IAAI,CAAC,yBAAyB,GAAG,yBAAyB,CAAC;QAC3D,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mEAAoB,GAA3B;QACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAClC,CAAC;IAEM,mEAAoB,GAA3B,UAA4B,iBAA+B;QACvD,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oEAAqB,GAA5B,UAA6B,iBAA+B;QACxD,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,6CAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,oCAAoC,EAAE;aAC5C,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACtD,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC;aACN,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;aAClC,6BAA6B,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;aAChE,qBAAqB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAC1D,CAAC;IAEM,qDAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAAiC;oBACnD,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,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;SACnD,CAAC;IACN,CAAC;IACL,2CAAC;AAAD,CAAC,AAvGD,IAuGC"}
|
|
@@ -0,0 +1,124 @@
|
|
|
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
|
+
|
|
19
|
+
import * as Gs2Experience from '../model'
|
|
20
|
+
|
|
21
|
+
export default class MultiplyAcquireActionsByUserIdResult implements IResult {
|
|
22
|
+
private items: Gs2Experience.AcquireAction[]|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
|
+
|
|
28
|
+
public getItems(): Gs2Experience.AcquireAction[]|null {
|
|
29
|
+
return this.items;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public setItems(items: Gs2Experience.AcquireAction[]|null) {
|
|
33
|
+
this.items = items;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public withItems(items: Gs2Experience.AcquireAction[]|null): this {
|
|
38
|
+
this.items = items;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public getTransactionId(): string|null {
|
|
43
|
+
return this.transactionId;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public setTransactionId(transactionId: string|null) {
|
|
47
|
+
this.transactionId = transactionId;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public withTransactionId(transactionId: string|null): this {
|
|
52
|
+
this.transactionId = transactionId;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
public getStampSheet(): string|null {
|
|
57
|
+
return this.stampSheet;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public setStampSheet(stampSheet: string|null) {
|
|
61
|
+
this.stampSheet = stampSheet;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
public withStampSheet(stampSheet: string|null): this {
|
|
66
|
+
this.stampSheet = stampSheet;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public getStampSheetEncryptionKeyId(): string|null {
|
|
71
|
+
return this.stampSheetEncryptionKeyId;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public setStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null) {
|
|
75
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
public withStampSheetEncryptionKeyId(stampSheetEncryptionKeyId: string|null): this {
|
|
80
|
+
this.stampSheetEncryptionKeyId = stampSheetEncryptionKeyId;
|
|
81
|
+
return this;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
public getAutoRunStampSheet(): boolean|null {
|
|
85
|
+
return this.autoRunStampSheet;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
public setAutoRunStampSheet(autoRunStampSheet: boolean|null) {
|
|
89
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
public withAutoRunStampSheet(autoRunStampSheet: boolean|null): this {
|
|
94
|
+
this.autoRunStampSheet = autoRunStampSheet;
|
|
95
|
+
return this;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
public static fromDict(data: {[key: string]: any}): MultiplyAcquireActionsByUserIdResult {
|
|
99
|
+
return new MultiplyAcquireActionsByUserIdResult()
|
|
100
|
+
.withItems(data.items ?
|
|
101
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
102
|
+
return Gs2Experience.AcquireAction.fromDict(item);
|
|
103
|
+
}
|
|
104
|
+
) : [])
|
|
105
|
+
.withTransactionId(data["transactionId"])
|
|
106
|
+
.withStampSheet(data["stampSheet"])
|
|
107
|
+
.withStampSheetEncryptionKeyId(data["stampSheetEncryptionKeyId"])
|
|
108
|
+
.withAutoRunStampSheet(data["autoRunStampSheet"]);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
public toDict(): {[key: string]: any} {
|
|
112
|
+
return {
|
|
113
|
+
"items": this.getItems() ?
|
|
114
|
+
this.getItems()!.map((item: Gs2Experience.AcquireAction) => {
|
|
115
|
+
return item.toDict();
|
|
116
|
+
}
|
|
117
|
+
) : [],
|
|
118
|
+
"transactionId": this.getTransactionId(),
|
|
119
|
+
"stampSheet": this.getStampSheet(),
|
|
120
|
+
"stampSheetEncryptionKeyId": this.getStampSheetEncryptionKeyId(),
|
|
121
|
+
"autoRunStampSheet": this.getAutoRunStampSheet(),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
}
|
|
@@ -34,4 +34,6 @@ import DeleteStatusByUserIdResult from "./DeleteStatusByUserIdResult";
|
|
|
34
34
|
import AddExperienceByStampSheetResult from "./AddExperienceByStampSheetResult";
|
|
35
35
|
import AddRankCapByStampSheetResult from "./AddRankCapByStampSheetResult";
|
|
36
36
|
import SetRankCapByStampSheetResult from "./SetRankCapByStampSheetResult";
|
|
37
|
-
|
|
37
|
+
import MultiplyAcquireActionsByUserIdResult from "./MultiplyAcquireActionsByUserIdResult";
|
|
38
|
+
import MultiplyAcquireActionsByStampSheetResult from "./MultiplyAcquireActionsByStampSheetResult";
|
|
39
|
+
export { DescribeNamespacesResult, CreateNamespaceResult, GetNamespaceStatusResult, GetNamespaceResult, UpdateNamespaceResult, DeleteNamespaceResult, DescribeExperienceModelMastersResult, CreateExperienceModelMasterResult, GetExperienceModelMasterResult, UpdateExperienceModelMasterResult, DeleteExperienceModelMasterResult, DescribeExperienceModelsResult, GetExperienceModelResult, DescribeThresholdMastersResult, CreateThresholdMasterResult, GetThresholdMasterResult, UpdateThresholdMasterResult, DeleteThresholdMasterResult, ExportMasterResult, GetCurrentExperienceMasterResult, UpdateCurrentExperienceMasterResult, UpdateCurrentExperienceMasterFromGitHubResult, DescribeStatusesResult, DescribeStatusesByUserIdResult, GetStatusResult, GetStatusByUserIdResult, GetStatusWithSignatureResult, GetStatusWithSignatureByUserIdResult, AddExperienceByUserIdResult, SetExperienceByUserIdResult, AddRankCapByUserIdResult, SetRankCapByUserIdResult, DeleteStatusByUserIdResult, AddExperienceByStampSheetResult, AddRankCapByStampSheetResult, SetRankCapByStampSheetResult, MultiplyAcquireActionsByUserIdResult, MultiplyAcquireActionsByStampSheetResult, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SetRankCapByStampSheetResult = exports.AddRankCapByStampSheetResult = exports.AddExperienceByStampSheetResult = exports.DeleteStatusByUserIdResult = exports.SetRankCapByUserIdResult = exports.AddRankCapByUserIdResult = exports.SetExperienceByUserIdResult = exports.AddExperienceByUserIdResult = exports.GetStatusWithSignatureByUserIdResult = exports.GetStatusWithSignatureResult = exports.GetStatusByUserIdResult = exports.GetStatusResult = exports.DescribeStatusesByUserIdResult = exports.DescribeStatusesResult = exports.UpdateCurrentExperienceMasterFromGitHubResult = exports.UpdateCurrentExperienceMasterResult = exports.GetCurrentExperienceMasterResult = exports.ExportMasterResult = exports.DeleteThresholdMasterResult = exports.UpdateThresholdMasterResult = exports.GetThresholdMasterResult = exports.CreateThresholdMasterResult = exports.DescribeThresholdMastersResult = exports.GetExperienceModelResult = exports.DescribeExperienceModelsResult = exports.DeleteExperienceModelMasterResult = exports.UpdateExperienceModelMasterResult = exports.GetExperienceModelMasterResult = exports.CreateExperienceModelMasterResult = exports.DescribeExperienceModelMastersResult = exports.DeleteNamespaceResult = exports.UpdateNamespaceResult = exports.GetNamespaceResult = exports.GetNamespaceStatusResult = exports.CreateNamespaceResult = exports.DescribeNamespacesResult = void 0;
|
|
3
|
+
exports.MultiplyAcquireActionsByStampSheetResult = exports.MultiplyAcquireActionsByUserIdResult = exports.SetRankCapByStampSheetResult = exports.AddRankCapByStampSheetResult = exports.AddExperienceByStampSheetResult = exports.DeleteStatusByUserIdResult = exports.SetRankCapByUserIdResult = exports.AddRankCapByUserIdResult = exports.SetExperienceByUserIdResult = exports.AddExperienceByUserIdResult = exports.GetStatusWithSignatureByUserIdResult = exports.GetStatusWithSignatureResult = exports.GetStatusByUserIdResult = exports.GetStatusResult = exports.DescribeStatusesByUserIdResult = exports.DescribeStatusesResult = exports.UpdateCurrentExperienceMasterFromGitHubResult = exports.UpdateCurrentExperienceMasterResult = exports.GetCurrentExperienceMasterResult = exports.ExportMasterResult = exports.DeleteThresholdMasterResult = exports.UpdateThresholdMasterResult = exports.GetThresholdMasterResult = exports.CreateThresholdMasterResult = exports.DescribeThresholdMastersResult = exports.GetExperienceModelResult = exports.DescribeExperienceModelsResult = exports.DeleteExperienceModelMasterResult = exports.UpdateExperienceModelMasterResult = exports.GetExperienceModelMasterResult = exports.CreateExperienceModelMasterResult = exports.DescribeExperienceModelMastersResult = 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
|
|
@@ -89,4 +89,8 @@ var AddRankCapByStampSheetResult_1 = tslib_1.__importDefault(require("./AddRankC
|
|
|
89
89
|
exports.AddRankCapByStampSheetResult = AddRankCapByStampSheetResult_1.default;
|
|
90
90
|
var SetRankCapByStampSheetResult_1 = tslib_1.__importDefault(require("./SetRankCapByStampSheetResult"));
|
|
91
91
|
exports.SetRankCapByStampSheetResult = SetRankCapByStampSheetResult_1.default;
|
|
92
|
+
var MultiplyAcquireActionsByUserIdResult_1 = tslib_1.__importDefault(require("./MultiplyAcquireActionsByUserIdResult"));
|
|
93
|
+
exports.MultiplyAcquireActionsByUserIdResult = MultiplyAcquireActionsByUserIdResult_1.default;
|
|
94
|
+
var MultiplyAcquireActionsByStampSheetResult_1 = tslib_1.__importDefault(require("./MultiplyAcquireActionsByStampSheetResult"));
|
|
95
|
+
exports.MultiplyAcquireActionsByStampSheetResult = MultiplyAcquireActionsByStampSheetResult_1.default;
|
|
92
96
|
//# sourceMappingURL=index.js.map
|
|
@@ -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;AAwC7D,mCAxCG,kCAAwB,CAwCH;AAvC5B,0FAA2D;AAwCvD,gCAxCG,+BAAqB,CAwCH;AAvCzB,gGAAiE;AAwC7D,mCAxCG,kCAAwB,CAwCH;AAvC5B,oFAAqD;AAwCjD,6BAxCG,4BAAkB,CAwCH;AAvCtB,0FAA2D;AAwCvD,gCAxCG,+BAAqB,CAwCH;AAvCzB,0FAA2D;AAwCvD,gCAxCG,+BAAqB,CAwCH;AAvCzB,wHAAyF;AAwCrF,+CAxCG,8CAAoC,CAwCH;AAvCxC,kHAAmF;AAwC/E,4CAxCG,2CAAiC,CAwCH;AAvCrC,4GAA6E;AAwCzE,yCAxCG,wCAA8B,CAwCH;AAvClC,kHAAmF;AAwC/E,4CAxCG,2CAAiC,CAwCH;AAvCrC,kHAAmF;AAwC/E,4CAxCG,2CAAiC,CAwCH;AAvCrC,4GAA6E;AAwCzE,yCAxCG,wCAA8B,CAwCH;AAvClC,gGAAiE;AAwC7D,mCAxCG,kCAAwB,CAwCH;AAvC5B,4GAA6E;AAwCzE,yCAxCG,wCAA8B,CAwCH;AAvClC,sGAAuE;AAwCnE,sCAxCG,qCAA2B,CAwCH;AAvC/B,gGAAiE;AAwC7D,mCAxCG,kCAAwB,CAwCH;AAvC5B,sGAAuE;AAwCnE,sCAxCG,qCAA2B,CAwCH;AAvC/B,sGAAuE;AAwCnE,sCAxCG,qCAA2B,CAwCH;AAvC/B,oFAAqD;AAwCjD,6BAxCG,4BAAkB,CAwCH;AAvCtB,gHAAiF;AAwC7E,2CAxCG,0CAAgC,CAwCH;AAvCpC,sHAAuF;AAwCnF,8CAxCG,6CAAmC,CAwCH;AAvCvC,0IAA2G;AAwCvG,wDAxCG,uDAA6C,CAwCH;AAvCjD,4FAA6D;AAwCzD,iCAxCG,gCAAsB,CAwCH;AAvC1B,4GAA6E;AAwCzE,yCAxCG,wCAA8B,CAwCH;AAvClC,8EAA+C;AAwC3C,0BAxCG,yBAAe,CAwCH;AAvCnB,8FAA+D;AAwC3D,kCAxCG,iCAAuB,CAwCH;AAvC3B,wGAAyE;AAwCrE,uCAxCG,sCAA4B,CAwCH;AAvChC,wHAAyF;AAwCrF,+CAxCG,8CAAoC,CAwCH;AAvCxC,sGAAuE;AAwCnE,sCAxCG,qCAA2B,CAwCH;AAvC/B,sGAAuE;AAwCnE,sCAxCG,qCAA2B,CAwCH;AAvC/B,gGAAiE;AAwC7D,mCAxCG,kCAAwB,CAwCH;AAvC5B,gGAAiE;AAwC7D,mCAxCG,kCAAwB,CAwCH;AAvC5B,oGAAqE;AAwCjE,qCAxCG,oCAA0B,CAwCH;AAvC9B,8GAA+E;AAwC3E,0CAxCG,yCAA+B,CAwCH;AAvCnC,wGAAyE;AAwCrE,uCAxCG,sCAA4B,CAwCH;AAvChC,wGAAyE;AAwCrE,uCAxCG,sCAA4B,CAwCH;AAvChC,wHAAyF;AAwCrF,+CAxCG,8CAAoC,CAwCH;AAvCxC,gIAAiG;AAwC7F,mDAxCG,kDAAwC,CAwCH"}
|
|
@@ -49,6 +49,8 @@ import DeleteStatusByUserIdResult from "./DeleteStatusByUserIdResult"
|
|
|
49
49
|
import AddExperienceByStampSheetResult from "./AddExperienceByStampSheetResult"
|
|
50
50
|
import AddRankCapByStampSheetResult from "./AddRankCapByStampSheetResult"
|
|
51
51
|
import SetRankCapByStampSheetResult from "./SetRankCapByStampSheetResult"
|
|
52
|
+
import MultiplyAcquireActionsByUserIdResult from "./MultiplyAcquireActionsByUserIdResult"
|
|
53
|
+
import MultiplyAcquireActionsByStampSheetResult from "./MultiplyAcquireActionsByStampSheetResult"
|
|
52
54
|
|
|
53
55
|
export {
|
|
54
56
|
DescribeNamespacesResult,
|
|
@@ -87,4 +89,6 @@ export {
|
|
|
87
89
|
AddExperienceByStampSheetResult,
|
|
88
90
|
AddRankCapByStampSheetResult,
|
|
89
91
|
SetRankCapByStampSheetResult,
|
|
92
|
+
MultiplyAcquireActionsByUserIdResult,
|
|
93
|
+
MultiplyAcquireActionsByStampSheetResult,
|
|
90
94
|
};
|