gs2 1.3.194 → 1.3.196
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/inventory/model/HeldCount.d.ts +17 -0
- package/inventory/model/HeldCount.js +62 -0
- package/inventory/model/HeldCount.js.map +1 -0
- package/inventory/model/HeldCount.ts +60 -0
- package/inventory/model/index.d.ts +2 -1
- package/inventory/model/index.js +3 -1
- package/inventory/model/index.js.map +1 -1
- package/inventory/model/index.ts +2 -0
- package/inventory/request/SetBigItemByStampSheetRequest.d.ts +25 -0
- package/inventory/request/SetBigItemByStampSheetRequest.js +83 -0
- package/inventory/request/SetBigItemByStampSheetRequest.js.map +1 -0
- package/inventory/request/SetBigItemByStampSheetRequest.ts +90 -0
- package/inventory/request/SetBigItemByUserIdRequest.d.ts +41 -0
- package/inventory/request/SetBigItemByUserIdRequest.js +137 -0
- package/inventory/request/SetBigItemByUserIdRequest.js.map +1 -0
- package/inventory/request/SetBigItemByUserIdRequest.ts +147 -0
- package/inventory/request/SetSimpleItemsByStampSheetRequest.d.ts +25 -0
- package/inventory/request/SetSimpleItemsByStampSheetRequest.js +83 -0
- package/inventory/request/SetSimpleItemsByStampSheetRequest.js.map +1 -0
- package/inventory/request/SetSimpleItemsByStampSheetRequest.ts +90 -0
- package/inventory/request/SetSimpleItemsByUserIdRequest.d.ts +38 -0
- package/inventory/request/SetSimpleItemsByUserIdRequest.js +131 -0
- package/inventory/request/SetSimpleItemsByUserIdRequest.js.map +1 -0
- package/inventory/request/SetSimpleItemsByUserIdRequest.ts +141 -0
- package/inventory/request/index.d.ts +5 -1
- package/inventory/request/index.js +9 -1
- package/inventory/request/index.js.map +1 -1
- package/inventory/request/index.ts +8 -0
- package/inventory/rest.d.ts +4 -0
- package/inventory/rest.js +119 -0
- package/inventory/rest.js.map +1 -1
- package/inventory/rest.ts +135 -0
- package/inventory/result/SetBigItemByStampSheetResult.d.ts +14 -0
- package/inventory/result/SetBigItemByStampSheetResult.js +48 -0
- package/inventory/result/SetBigItemByStampSheetResult.js.map +1 -0
- package/inventory/result/SetBigItemByStampSheetResult.ts +48 -0
- package/inventory/result/SetBigItemByUserIdResult.d.ts +14 -0
- package/inventory/result/SetBigItemByUserIdResult.js +48 -0
- package/inventory/result/SetBigItemByUserIdResult.js.map +1 -0
- package/inventory/result/SetBigItemByUserIdResult.ts +48 -0
- package/inventory/result/SetSimpleItemsByStampSheetResult.d.ts +14 -0
- package/inventory/result/SetSimpleItemsByStampSheetResult.js +53 -0
- package/inventory/result/SetSimpleItemsByStampSheetResult.js.map +1 -0
- package/inventory/result/SetSimpleItemsByStampSheetResult.ts +56 -0
- package/inventory/result/SetSimpleItemsByUserIdResult.d.ts +14 -0
- package/inventory/result/SetSimpleItemsByUserIdResult.js +53 -0
- package/inventory/result/SetSimpleItemsByUserIdResult.js.map +1 -0
- package/inventory/result/SetSimpleItemsByUserIdResult.ts +56 -0
- package/inventory/result/index.d.ts +5 -1
- package/inventory/result/index.js +9 -1
- package/inventory/result/index.js.map +1 -1
- package/inventory/result/index.ts +8 -0
- package/package.json +1 -1
- package/stateMachine/model/AutoRunTransactionSetting.d.ts +17 -0
- package/stateMachine/model/AutoRunTransactionSetting.js +62 -0
- package/stateMachine/model/AutoRunTransactionSetting.js.map +1 -0
- package/stateMachine/model/AutoRunTransactionSetting.ts +60 -0
- package/stateMachine/model/ChangeStateEvent.d.ts +21 -0
- package/stateMachine/model/ChangeStateEvent.js +76 -0
- package/stateMachine/model/ChangeStateEvent.js.map +1 -0
- package/stateMachine/model/ChangeStateEvent.ts +74 -0
- package/stateMachine/model/EmitEvent.d.ts +21 -0
- package/stateMachine/model/EmitEvent.js +76 -0
- package/stateMachine/model/EmitEvent.js.map +1 -0
- package/stateMachine/model/EmitEvent.ts +74 -0
- package/stateMachine/model/Event.d.ts +23 -0
- package/stateMachine/model/Event.js +80 -0
- package/stateMachine/model/Event.js.map +1 -0
- package/stateMachine/model/Event.ts +76 -0
- package/stateMachine/model/Namespace.d.ts +9 -0
- package/stateMachine/model/Namespace.js +34 -5
- package/stateMachine/model/Namespace.js.map +1 -1
- package/stateMachine/model/Namespace.ts +29 -0
- package/stateMachine/model/RandomStatus.d.ts +18 -0
- package/stateMachine/model/RandomStatus.js +70 -0
- package/stateMachine/model/RandomStatus.js.map +1 -0
- package/stateMachine/model/RandomStatus.ts +69 -0
- package/stateMachine/model/RandomUsed.d.ts +17 -0
- package/stateMachine/model/RandomUsed.js +62 -0
- package/stateMachine/model/RandomUsed.js.map +1 -0
- package/stateMachine/model/RandomUsed.ts +60 -0
- package/stateMachine/model/Status.d.ts +13 -0
- package/stateMachine/model/Status.js +44 -0
- package/stateMachine/model/Status.js.map +1 -1
- package/stateMachine/model/Status.ts +44 -0
- package/stateMachine/model/TransactionSetting.d.ts +28 -0
- package/stateMachine/model/TransactionSetting.js +93 -0
- package/stateMachine/model/TransactionSetting.js.map +1 -0
- package/stateMachine/model/TransactionSetting.ts +91 -0
- package/stateMachine/model/index.d.ts +7 -1
- package/stateMachine/model/index.js +13 -1
- package/stateMachine/model/index.js.map +1 -1
- package/stateMachine/model/index.ts +12 -0
- package/stateMachine/request/CreateNamespaceRequest.d.ts +8 -0
- package/stateMachine/request/CreateNamespaceRequest.js +33 -5
- package/stateMachine/request/CreateNamespaceRequest.js.map +1 -1
- package/stateMachine/request/CreateNamespaceRequest.ts +28 -0
- package/stateMachine/request/ReportByUserIdRequest.d.ts +38 -0
- package/stateMachine/request/ReportByUserIdRequest.js +131 -0
- package/stateMachine/request/ReportByUserIdRequest.js.map +1 -0
- package/stateMachine/request/ReportByUserIdRequest.ts +141 -0
- package/stateMachine/request/ReportRequest.d.ts +38 -0
- package/stateMachine/request/ReportRequest.js +131 -0
- package/stateMachine/request/ReportRequest.js.map +1 -0
- package/stateMachine/request/ReportRequest.ts +141 -0
- package/stateMachine/request/StartStateMachineByUserIdRequest.d.ts +4 -0
- package/stateMachine/request/StartStateMachineByUserIdRequest.js +14 -0
- package/stateMachine/request/StartStateMachineByUserIdRequest.js.map +1 -1
- package/stateMachine/request/StartStateMachineByUserIdRequest.ts +14 -0
- package/stateMachine/request/UpdateNamespaceRequest.d.ts +8 -0
- package/stateMachine/request/UpdateNamespaceRequest.js +33 -5
- package/stateMachine/request/UpdateNamespaceRequest.js.map +1 -1
- package/stateMachine/request/UpdateNamespaceRequest.ts +28 -0
- package/stateMachine/request/index.d.ts +3 -1
- package/stateMachine/request/index.js +5 -1
- package/stateMachine/request/index.js.map +1 -1
- package/stateMachine/request/index.ts +4 -0
- package/stateMachine/rest.d.ts +2 -0
- package/stateMachine/rest.js +85 -14
- package/stateMachine/rest.js.map +1 -1
- package/stateMachine/rest.ts +79 -0
- package/stateMachine/result/ReportByUserIdResult.d.ts +14 -0
- package/stateMachine/result/ReportByUserIdResult.js +48 -0
- package/stateMachine/result/ReportByUserIdResult.js.map +1 -0
- package/stateMachine/result/ReportByUserIdResult.ts +48 -0
- package/stateMachine/result/ReportResult.d.ts +14 -0
- package/stateMachine/result/ReportResult.js +48 -0
- package/stateMachine/result/ReportResult.js.map +1 -0
- package/stateMachine/result/ReportResult.ts +48 -0
- package/stateMachine/result/index.d.ts +3 -1
- package/stateMachine/result/index.js +5 -1
- package/stateMachine/result/index.js.map +1 -1
- package/stateMachine/result/index.ts +4 -0
|
@@ -5,6 +5,8 @@ export default class CreateNamespaceRequest implements IRequest {
|
|
|
5
5
|
private contextStack;
|
|
6
6
|
private name;
|
|
7
7
|
private description;
|
|
8
|
+
private supportSpeculativeExecution;
|
|
9
|
+
private transactionSetting;
|
|
8
10
|
private startScript;
|
|
9
11
|
private passScript;
|
|
10
12
|
private errorScript;
|
|
@@ -22,6 +24,12 @@ export default class CreateNamespaceRequest implements IRequest {
|
|
|
22
24
|
getDescription(): string | null;
|
|
23
25
|
setDescription(description: string | null): this;
|
|
24
26
|
withDescription(description: string | null): this;
|
|
27
|
+
getSupportSpeculativeExecution(): string | null;
|
|
28
|
+
setSupportSpeculativeExecution(supportSpeculativeExecution: string | null): this;
|
|
29
|
+
withSupportSpeculativeExecution(supportSpeculativeExecution: string | null): this;
|
|
30
|
+
getTransactionSetting(): Gs2StateMachine.TransactionSetting | null;
|
|
31
|
+
setTransactionSetting(transactionSetting: Gs2StateMachine.TransactionSetting | null): this;
|
|
32
|
+
withTransactionSetting(transactionSetting: Gs2StateMachine.TransactionSetting | null): this;
|
|
25
33
|
getStartScript(): Gs2StateMachine.ScriptSetting | null;
|
|
26
34
|
setStartScript(startScript: Gs2StateMachine.ScriptSetting | null): this;
|
|
27
35
|
withStartScript(startScript: Gs2StateMachine.ScriptSetting | null): this;
|
|
@@ -23,6 +23,8 @@ var CreateNamespaceRequest = /** @class */ (function () {
|
|
|
23
23
|
this.contextStack = null;
|
|
24
24
|
this.name = null;
|
|
25
25
|
this.description = null;
|
|
26
|
+
this.supportSpeculativeExecution = null;
|
|
27
|
+
this.transactionSetting = null;
|
|
26
28
|
this.startScript = null;
|
|
27
29
|
this.passScript = null;
|
|
28
30
|
this.errorScript = null;
|
|
@@ -73,6 +75,28 @@ var CreateNamespaceRequest = /** @class */ (function () {
|
|
|
73
75
|
this.description = description;
|
|
74
76
|
return this;
|
|
75
77
|
};
|
|
78
|
+
CreateNamespaceRequest.prototype.getSupportSpeculativeExecution = function () {
|
|
79
|
+
return this.supportSpeculativeExecution;
|
|
80
|
+
};
|
|
81
|
+
CreateNamespaceRequest.prototype.setSupportSpeculativeExecution = function (supportSpeculativeExecution) {
|
|
82
|
+
this.supportSpeculativeExecution = supportSpeculativeExecution;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
CreateNamespaceRequest.prototype.withSupportSpeculativeExecution = function (supportSpeculativeExecution) {
|
|
86
|
+
this.supportSpeculativeExecution = supportSpeculativeExecution;
|
|
87
|
+
return this;
|
|
88
|
+
};
|
|
89
|
+
CreateNamespaceRequest.prototype.getTransactionSetting = function () {
|
|
90
|
+
return this.transactionSetting;
|
|
91
|
+
};
|
|
92
|
+
CreateNamespaceRequest.prototype.setTransactionSetting = function (transactionSetting) {
|
|
93
|
+
this.transactionSetting = transactionSetting;
|
|
94
|
+
return this;
|
|
95
|
+
};
|
|
96
|
+
CreateNamespaceRequest.prototype.withTransactionSetting = function (transactionSetting) {
|
|
97
|
+
this.transactionSetting = transactionSetting;
|
|
98
|
+
return this;
|
|
99
|
+
};
|
|
76
100
|
CreateNamespaceRequest.prototype.getStartScript = function () {
|
|
77
101
|
return this.startScript;
|
|
78
102
|
};
|
|
@@ -132,6 +156,8 @@ var CreateNamespaceRequest = /** @class */ (function () {
|
|
|
132
156
|
return new CreateNamespaceRequest()
|
|
133
157
|
.withName(data["name"])
|
|
134
158
|
.withDescription(data["description"])
|
|
159
|
+
.withSupportSpeculativeExecution(data["supportSpeculativeExecution"])
|
|
160
|
+
.withTransactionSetting(Gs2StateMachine.TransactionSetting.fromDict(data["transactionSetting"]))
|
|
135
161
|
.withStartScript(Gs2StateMachine.ScriptSetting.fromDict(data["startScript"]))
|
|
136
162
|
.withPassScript(Gs2StateMachine.ScriptSetting.fromDict(data["passScript"]))
|
|
137
163
|
.withErrorScript(Gs2StateMachine.ScriptSetting.fromDict(data["errorScript"]))
|
|
@@ -139,15 +165,17 @@ var CreateNamespaceRequest = /** @class */ (function () {
|
|
|
139
165
|
.withLogSetting(Gs2StateMachine.LogSetting.fromDict(data["logSetting"]));
|
|
140
166
|
};
|
|
141
167
|
CreateNamespaceRequest.prototype.toDict = function () {
|
|
142
|
-
var _a, _b, _c, _d;
|
|
168
|
+
var _a, _b, _c, _d, _e;
|
|
143
169
|
return {
|
|
144
170
|
"name": this.getName(),
|
|
145
171
|
"description": this.getDescription(),
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
172
|
+
"supportSpeculativeExecution": this.getSupportSpeculativeExecution(),
|
|
173
|
+
"transactionSetting": (_a = this.getTransactionSetting()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
174
|
+
"startScript": (_b = this.getStartScript()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
175
|
+
"passScript": (_c = this.getPassScript()) === null || _c === void 0 ? void 0 : _c.toDict(),
|
|
176
|
+
"errorScript": (_d = this.getErrorScript()) === null || _d === void 0 ? void 0 : _d.toDict(),
|
|
149
177
|
"lowestStateMachineVersion": this.getLowestStateMachineVersion(),
|
|
150
|
-
"logSetting": (
|
|
178
|
+
"logSetting": (_e = this.getLogSetting()) === null || _e === void 0 ? void 0 : _e.toDict(),
|
|
151
179
|
};
|
|
152
180
|
};
|
|
153
181
|
return CreateNamespaceRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateNamespaceRequest.js","sourceRoot":"","sources":["CreateNamespaceRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,gEAA2C;AAE3C;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,SAAI,GAAgB,IAAI,CAAC;QACzB,gBAAW,GAAgB,IAAI,CAAC;QAChC,gBAAW,GAAuC,IAAI,CAAC;QACvD,eAAU,GAAuC,IAAI,CAAC;QACtD,gBAAW,GAAuC,IAAI,CAAC;QACvD,8BAAyB,GAAgB,IAAI,CAAC;QAC9C,eAAU,GAAoC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateNamespaceRequest.js","sourceRoot":"","sources":["CreateNamespaceRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,gEAA2C;AAE3C;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,SAAI,GAAgB,IAAI,CAAC;QACzB,gBAAW,GAAgB,IAAI,CAAC;QAChC,gCAA2B,GAAgB,IAAI,CAAC;QAChD,uBAAkB,GAA4C,IAAI,CAAC;QACnE,gBAAW,GAAuC,IAAI,CAAC;QACvD,eAAU,GAAuC,IAAI,CAAC;QACtD,gBAAW,GAAuC,IA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Ae,CAAC,eAAe,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;aAC5E,cAAc,CAAC,eAAe,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;aAC1E,eAAe,CAAC,eAAe,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;aAC5E,6BAA6B,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;aAChE,cAAc,CAAC,eAAe,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IACjF,CAAC;IAEM,uCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,6BAA6B,EAAE,IAAI,CAAC,8BAA8B,EAAE;YACpE,oBAAoB,EAAE,MAAA,IAAI,CAAC,qBAAqB,EAAE,0CAAE,MAAM,EAAE;YAC5D,aAAa,EAAE,MAAA,IAAI,CAAC,cAAc,EAAE,0CAAE,MAAM,EAAE;YAC9C,YAAY,EAAE,MAAA,IAAI,CAAC,aAAa,EAAE,0CAAE,MAAM,EAAE;YAC5C,aAAa,EAAE,MAAA,IAAI,CAAC,cAAc,EAAE,0CAAE,MAAM,EAAE;YAC9C,2BAA2B,EAAE,IAAI,CAAC,4BAA4B,EAAE;YAChE,YAAY,EAAE,MAAA,IAAI,CAAC,aAAa,EAAE,0CAAE,MAAM,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,6BAAC;AAAD,CAAC,AAvKD,IAuKC"}
|
|
@@ -24,6 +24,8 @@ export default class CreateNamespaceRequest implements IRequest {
|
|
|
24
24
|
private contextStack: string|null = null;
|
|
25
25
|
private name: string|null = null;
|
|
26
26
|
private description: string|null = null;
|
|
27
|
+
private supportSpeculativeExecution: string|null = null;
|
|
28
|
+
private transactionSetting: Gs2StateMachine.TransactionSetting|null = null;
|
|
27
29
|
private startScript: Gs2StateMachine.ScriptSetting|null = null;
|
|
28
30
|
private passScript: Gs2StateMachine.ScriptSetting|null = null;
|
|
29
31
|
private errorScript: Gs2StateMachine.ScriptSetting|null = null;
|
|
@@ -79,6 +81,28 @@ export default class CreateNamespaceRequest implements IRequest {
|
|
|
79
81
|
this.description = description;
|
|
80
82
|
return this;
|
|
81
83
|
}
|
|
84
|
+
public getSupportSpeculativeExecution(): string|null {
|
|
85
|
+
return this.supportSpeculativeExecution;
|
|
86
|
+
}
|
|
87
|
+
public setSupportSpeculativeExecution(supportSpeculativeExecution: string|null) {
|
|
88
|
+
this.supportSpeculativeExecution = supportSpeculativeExecution;
|
|
89
|
+
return this;
|
|
90
|
+
}
|
|
91
|
+
public withSupportSpeculativeExecution(supportSpeculativeExecution: string|null): this {
|
|
92
|
+
this.supportSpeculativeExecution = supportSpeculativeExecution;
|
|
93
|
+
return this;
|
|
94
|
+
}
|
|
95
|
+
public getTransactionSetting(): Gs2StateMachine.TransactionSetting|null {
|
|
96
|
+
return this.transactionSetting;
|
|
97
|
+
}
|
|
98
|
+
public setTransactionSetting(transactionSetting: Gs2StateMachine.TransactionSetting|null) {
|
|
99
|
+
this.transactionSetting = transactionSetting;
|
|
100
|
+
return this;
|
|
101
|
+
}
|
|
102
|
+
public withTransactionSetting(transactionSetting: Gs2StateMachine.TransactionSetting|null): this {
|
|
103
|
+
this.transactionSetting = transactionSetting;
|
|
104
|
+
return this;
|
|
105
|
+
}
|
|
82
106
|
public getStartScript(): Gs2StateMachine.ScriptSetting|null {
|
|
83
107
|
return this.startScript;
|
|
84
108
|
}
|
|
@@ -139,6 +163,8 @@ export default class CreateNamespaceRequest implements IRequest {
|
|
|
139
163
|
return new CreateNamespaceRequest()
|
|
140
164
|
.withName(data["name"])
|
|
141
165
|
.withDescription(data["description"])
|
|
166
|
+
.withSupportSpeculativeExecution(data["supportSpeculativeExecution"])
|
|
167
|
+
.withTransactionSetting(Gs2StateMachine.TransactionSetting.fromDict(data["transactionSetting"]))
|
|
142
168
|
.withStartScript(Gs2StateMachine.ScriptSetting.fromDict(data["startScript"]))
|
|
143
169
|
.withPassScript(Gs2StateMachine.ScriptSetting.fromDict(data["passScript"]))
|
|
144
170
|
.withErrorScript(Gs2StateMachine.ScriptSetting.fromDict(data["errorScript"]))
|
|
@@ -150,6 +176,8 @@ export default class CreateNamespaceRequest implements IRequest {
|
|
|
150
176
|
return {
|
|
151
177
|
"name": this.getName(),
|
|
152
178
|
"description": this.getDescription(),
|
|
179
|
+
"supportSpeculativeExecution": this.getSupportSpeculativeExecution(),
|
|
180
|
+
"transactionSetting": this.getTransactionSetting()?.toDict(),
|
|
153
181
|
"startScript": this.getStartScript()?.toDict(),
|
|
154
182
|
"passScript": this.getPassScript()?.toDict(),
|
|
155
183
|
"errorScript": this.getErrorScript()?.toDict(),
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
import * as Gs2StateMachine from '../model';
|
|
3
|
+
export default class ReportByUserIdRequest implements IRequest {
|
|
4
|
+
private requestId;
|
|
5
|
+
private contextStack;
|
|
6
|
+
private namespaceName;
|
|
7
|
+
private userId;
|
|
8
|
+
private statusName;
|
|
9
|
+
private events;
|
|
10
|
+
private duplicationAvoider;
|
|
11
|
+
getRequestId(): string | null;
|
|
12
|
+
setRequestId(requestId: string | null): this;
|
|
13
|
+
withRequestId(requestId: string | null): this;
|
|
14
|
+
getContextStack(): string | null;
|
|
15
|
+
setContextStack(contextStack: string | null): this;
|
|
16
|
+
withContextStack(contextStack: string | null): this;
|
|
17
|
+
getNamespaceName(): string | null;
|
|
18
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
20
|
+
getUserId(): string | null;
|
|
21
|
+
setUserId(userId: string | null): this;
|
|
22
|
+
withUserId(userId: string | null): this;
|
|
23
|
+
getStatusName(): string | null;
|
|
24
|
+
setStatusName(statusName: string | null): this;
|
|
25
|
+
withStatusName(statusName: string | null): this;
|
|
26
|
+
getEvents(): Gs2StateMachine.Event[] | null;
|
|
27
|
+
setEvents(events: Gs2StateMachine.Event[] | null): this;
|
|
28
|
+
withEvents(events: Gs2StateMachine.Event[] | null): this;
|
|
29
|
+
getDuplicationAvoider(): string | null;
|
|
30
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
31
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
32
|
+
static fromDict(data: {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}): ReportByUserIdRequest;
|
|
35
|
+
toDict(): {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
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 Gs2StateMachine = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var ReportByUserIdRequest = /** @class */ (function () {
|
|
21
|
+
function ReportByUserIdRequest() {
|
|
22
|
+
this.requestId = null;
|
|
23
|
+
this.contextStack = null;
|
|
24
|
+
this.namespaceName = null;
|
|
25
|
+
this.userId = null;
|
|
26
|
+
this.statusName = null;
|
|
27
|
+
this.events = null;
|
|
28
|
+
this.duplicationAvoider = null;
|
|
29
|
+
}
|
|
30
|
+
ReportByUserIdRequest.prototype.getRequestId = function () {
|
|
31
|
+
return this.requestId;
|
|
32
|
+
};
|
|
33
|
+
ReportByUserIdRequest.prototype.setRequestId = function (requestId) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
ReportByUserIdRequest.prototype.withRequestId = function (requestId) {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
ReportByUserIdRequest.prototype.getContextStack = function () {
|
|
42
|
+
return this.contextStack;
|
|
43
|
+
};
|
|
44
|
+
ReportByUserIdRequest.prototype.setContextStack = function (contextStack) {
|
|
45
|
+
this.contextStack = contextStack;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
ReportByUserIdRequest.prototype.withContextStack = function (contextStack) {
|
|
49
|
+
this.contextStack = contextStack;
|
|
50
|
+
return this;
|
|
51
|
+
};
|
|
52
|
+
ReportByUserIdRequest.prototype.getNamespaceName = function () {
|
|
53
|
+
return this.namespaceName;
|
|
54
|
+
};
|
|
55
|
+
ReportByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
56
|
+
this.namespaceName = namespaceName;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
ReportByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
60
|
+
this.namespaceName = namespaceName;
|
|
61
|
+
return this;
|
|
62
|
+
};
|
|
63
|
+
ReportByUserIdRequest.prototype.getUserId = function () {
|
|
64
|
+
return this.userId;
|
|
65
|
+
};
|
|
66
|
+
ReportByUserIdRequest.prototype.setUserId = function (userId) {
|
|
67
|
+
this.userId = userId;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
ReportByUserIdRequest.prototype.withUserId = function (userId) {
|
|
71
|
+
this.userId = userId;
|
|
72
|
+
return this;
|
|
73
|
+
};
|
|
74
|
+
ReportByUserIdRequest.prototype.getStatusName = function () {
|
|
75
|
+
return this.statusName;
|
|
76
|
+
};
|
|
77
|
+
ReportByUserIdRequest.prototype.setStatusName = function (statusName) {
|
|
78
|
+
this.statusName = statusName;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
ReportByUserIdRequest.prototype.withStatusName = function (statusName) {
|
|
82
|
+
this.statusName = statusName;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
ReportByUserIdRequest.prototype.getEvents = function () {
|
|
86
|
+
return this.events;
|
|
87
|
+
};
|
|
88
|
+
ReportByUserIdRequest.prototype.setEvents = function (events) {
|
|
89
|
+
this.events = events;
|
|
90
|
+
return this;
|
|
91
|
+
};
|
|
92
|
+
ReportByUserIdRequest.prototype.withEvents = function (events) {
|
|
93
|
+
this.events = events;
|
|
94
|
+
return this;
|
|
95
|
+
};
|
|
96
|
+
ReportByUserIdRequest.prototype.getDuplicationAvoider = function () {
|
|
97
|
+
return this.duplicationAvoider;
|
|
98
|
+
};
|
|
99
|
+
ReportByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
100
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
101
|
+
return this;
|
|
102
|
+
};
|
|
103
|
+
ReportByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
104
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
105
|
+
return this;
|
|
106
|
+
};
|
|
107
|
+
ReportByUserIdRequest.fromDict = function (data) {
|
|
108
|
+
return new ReportByUserIdRequest()
|
|
109
|
+
.withNamespaceName(data["namespaceName"])
|
|
110
|
+
.withUserId(data["userId"])
|
|
111
|
+
.withStatusName(data["statusName"])
|
|
112
|
+
.withEvents(data.events ?
|
|
113
|
+
data.events.map(function (item) {
|
|
114
|
+
return Gs2StateMachine.Event.fromDict(item);
|
|
115
|
+
}) : []);
|
|
116
|
+
};
|
|
117
|
+
ReportByUserIdRequest.prototype.toDict = function () {
|
|
118
|
+
return {
|
|
119
|
+
"namespaceName": this.getNamespaceName(),
|
|
120
|
+
"userId": this.getUserId(),
|
|
121
|
+
"statusName": this.getStatusName(),
|
|
122
|
+
"events": this.getEvents() ?
|
|
123
|
+
this.getEvents().map(function (item) {
|
|
124
|
+
return item.toDict();
|
|
125
|
+
}) : [],
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
return ReportByUserIdRequest;
|
|
129
|
+
}());
|
|
130
|
+
exports.default = ReportByUserIdRequest;
|
|
131
|
+
//# sourceMappingURL=ReportByUserIdRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportByUserIdRequest.js","sourceRoot":"","sources":["ReportByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,gEAA2C;AAE3C;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,WAAM,GAAgB,IAAI,CAAC;QAC3B,eAAU,GAAgB,IAAI,CAAC;QAC/B,WAAM,GAAiC,IAAI,CAAC;QAC5C,uBAAkB,GAAgB,IAAI,CAAC;IAgHnD,CAAC;IA9GU,4CAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,4CAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+CAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,+CAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,G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AC,EAAE;SACT,CAAC;IACN,CAAC;IACL,4BAAC;AAAD,CAAC,AAxHD,IAwHC"}
|
|
@@ -0,0 +1,141 @@
|
|
|
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 IRequest from '../../core/interface/IRequest';
|
|
18
|
+
|
|
19
|
+
import * as Gs2StateMachine from '../model'
|
|
20
|
+
|
|
21
|
+
export default class ReportByUserIdRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private userId: string|null = null;
|
|
27
|
+
private statusName: string|null = null;
|
|
28
|
+
private events: Gs2StateMachine.Event[]|null = null;
|
|
29
|
+
private duplicationAvoider: string|null = null;
|
|
30
|
+
|
|
31
|
+
public getRequestId(): string|null {
|
|
32
|
+
return this.requestId;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public setRequestId(requestId: string|null) {
|
|
36
|
+
this.requestId = requestId;
|
|
37
|
+
return this;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public withRequestId(requestId: string|null): this {
|
|
41
|
+
this.requestId = requestId;
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public getContextStack(): string|null {
|
|
46
|
+
return this.contextStack;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
public setContextStack(contextStack: string|null) {
|
|
50
|
+
this.contextStack = contextStack;
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public withContextStack(contextStack: string|null): this {
|
|
55
|
+
this.contextStack = contextStack;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
public getNamespaceName(): string|null {
|
|
59
|
+
return this.namespaceName;
|
|
60
|
+
}
|
|
61
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
62
|
+
this.namespaceName = namespaceName;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
66
|
+
this.namespaceName = namespaceName;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
public getUserId(): string|null {
|
|
70
|
+
return this.userId;
|
|
71
|
+
}
|
|
72
|
+
public setUserId(userId: string|null) {
|
|
73
|
+
this.userId = userId;
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
public withUserId(userId: string|null): this {
|
|
77
|
+
this.userId = userId;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
public getStatusName(): string|null {
|
|
81
|
+
return this.statusName;
|
|
82
|
+
}
|
|
83
|
+
public setStatusName(statusName: string|null) {
|
|
84
|
+
this.statusName = statusName;
|
|
85
|
+
return this;
|
|
86
|
+
}
|
|
87
|
+
public withStatusName(statusName: string|null): this {
|
|
88
|
+
this.statusName = statusName;
|
|
89
|
+
return this;
|
|
90
|
+
}
|
|
91
|
+
public getEvents(): Gs2StateMachine.Event[]|null {
|
|
92
|
+
return this.events;
|
|
93
|
+
}
|
|
94
|
+
public setEvents(events: Gs2StateMachine.Event[]|null) {
|
|
95
|
+
this.events = events;
|
|
96
|
+
return this;
|
|
97
|
+
}
|
|
98
|
+
public withEvents(events: Gs2StateMachine.Event[]|null): this {
|
|
99
|
+
this.events = events;
|
|
100
|
+
return this;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
public getDuplicationAvoider(): string|null {
|
|
104
|
+
return this.duplicationAvoider;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
108
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
109
|
+
return this;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
113
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
114
|
+
return this;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
public static fromDict(data: {[key: string]: any}): ReportByUserIdRequest {
|
|
118
|
+
return new ReportByUserIdRequest()
|
|
119
|
+
.withNamespaceName(data["namespaceName"])
|
|
120
|
+
.withUserId(data["userId"])
|
|
121
|
+
.withStatusName(data["statusName"])
|
|
122
|
+
.withEvents(data.events ?
|
|
123
|
+
data.events.map((item: {[key: string]: any}) => {
|
|
124
|
+
return Gs2StateMachine.Event.fromDict(item);
|
|
125
|
+
}
|
|
126
|
+
) : []);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
public toDict(): {[key: string]: any} {
|
|
130
|
+
return {
|
|
131
|
+
"namespaceName": this.getNamespaceName(),
|
|
132
|
+
"userId": this.getUserId(),
|
|
133
|
+
"statusName": this.getStatusName(),
|
|
134
|
+
"events": this.getEvents() ?
|
|
135
|
+
this.getEvents()!.map((item: Gs2StateMachine.Event) => {
|
|
136
|
+
return item.toDict();
|
|
137
|
+
}
|
|
138
|
+
) : [],
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
import * as Gs2StateMachine from '../model';
|
|
3
|
+
export default class ReportRequest implements IRequest {
|
|
4
|
+
private requestId;
|
|
5
|
+
private contextStack;
|
|
6
|
+
private namespaceName;
|
|
7
|
+
private accessToken;
|
|
8
|
+
private statusName;
|
|
9
|
+
private events;
|
|
10
|
+
private duplicationAvoider;
|
|
11
|
+
getRequestId(): string | null;
|
|
12
|
+
setRequestId(requestId: string | null): this;
|
|
13
|
+
withRequestId(requestId: string | null): this;
|
|
14
|
+
getContextStack(): string | null;
|
|
15
|
+
setContextStack(contextStack: string | null): this;
|
|
16
|
+
withContextStack(contextStack: string | null): this;
|
|
17
|
+
getNamespaceName(): string | null;
|
|
18
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
20
|
+
getAccessToken(): string | null;
|
|
21
|
+
setAccessToken(accessToken: string | null): this;
|
|
22
|
+
withAccessToken(accessToken: string | null): this;
|
|
23
|
+
getStatusName(): string | null;
|
|
24
|
+
setStatusName(statusName: string | null): this;
|
|
25
|
+
withStatusName(statusName: string | null): this;
|
|
26
|
+
getEvents(): Gs2StateMachine.Event[] | null;
|
|
27
|
+
setEvents(events: Gs2StateMachine.Event[] | null): this;
|
|
28
|
+
withEvents(events: Gs2StateMachine.Event[] | null): this;
|
|
29
|
+
getDuplicationAvoider(): string | null;
|
|
30
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
31
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
32
|
+
static fromDict(data: {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}): ReportRequest;
|
|
35
|
+
toDict(): {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
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 Gs2StateMachine = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var ReportRequest = /** @class */ (function () {
|
|
21
|
+
function ReportRequest() {
|
|
22
|
+
this.requestId = null;
|
|
23
|
+
this.contextStack = null;
|
|
24
|
+
this.namespaceName = null;
|
|
25
|
+
this.accessToken = null;
|
|
26
|
+
this.statusName = null;
|
|
27
|
+
this.events = null;
|
|
28
|
+
this.duplicationAvoider = null;
|
|
29
|
+
}
|
|
30
|
+
ReportRequest.prototype.getRequestId = function () {
|
|
31
|
+
return this.requestId;
|
|
32
|
+
};
|
|
33
|
+
ReportRequest.prototype.setRequestId = function (requestId) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
ReportRequest.prototype.withRequestId = function (requestId) {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
ReportRequest.prototype.getContextStack = function () {
|
|
42
|
+
return this.contextStack;
|
|
43
|
+
};
|
|
44
|
+
ReportRequest.prototype.setContextStack = function (contextStack) {
|
|
45
|
+
this.contextStack = contextStack;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
ReportRequest.prototype.withContextStack = function (contextStack) {
|
|
49
|
+
this.contextStack = contextStack;
|
|
50
|
+
return this;
|
|
51
|
+
};
|
|
52
|
+
ReportRequest.prototype.getNamespaceName = function () {
|
|
53
|
+
return this.namespaceName;
|
|
54
|
+
};
|
|
55
|
+
ReportRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
56
|
+
this.namespaceName = namespaceName;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
ReportRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
60
|
+
this.namespaceName = namespaceName;
|
|
61
|
+
return this;
|
|
62
|
+
};
|
|
63
|
+
ReportRequest.prototype.getAccessToken = function () {
|
|
64
|
+
return this.accessToken;
|
|
65
|
+
};
|
|
66
|
+
ReportRequest.prototype.setAccessToken = function (accessToken) {
|
|
67
|
+
this.accessToken = accessToken;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
ReportRequest.prototype.withAccessToken = function (accessToken) {
|
|
71
|
+
this.accessToken = accessToken;
|
|
72
|
+
return this;
|
|
73
|
+
};
|
|
74
|
+
ReportRequest.prototype.getStatusName = function () {
|
|
75
|
+
return this.statusName;
|
|
76
|
+
};
|
|
77
|
+
ReportRequest.prototype.setStatusName = function (statusName) {
|
|
78
|
+
this.statusName = statusName;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
ReportRequest.prototype.withStatusName = function (statusName) {
|
|
82
|
+
this.statusName = statusName;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
ReportRequest.prototype.getEvents = function () {
|
|
86
|
+
return this.events;
|
|
87
|
+
};
|
|
88
|
+
ReportRequest.prototype.setEvents = function (events) {
|
|
89
|
+
this.events = events;
|
|
90
|
+
return this;
|
|
91
|
+
};
|
|
92
|
+
ReportRequest.prototype.withEvents = function (events) {
|
|
93
|
+
this.events = events;
|
|
94
|
+
return this;
|
|
95
|
+
};
|
|
96
|
+
ReportRequest.prototype.getDuplicationAvoider = function () {
|
|
97
|
+
return this.duplicationAvoider;
|
|
98
|
+
};
|
|
99
|
+
ReportRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
100
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
101
|
+
return this;
|
|
102
|
+
};
|
|
103
|
+
ReportRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
104
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
105
|
+
return this;
|
|
106
|
+
};
|
|
107
|
+
ReportRequest.fromDict = function (data) {
|
|
108
|
+
return new ReportRequest()
|
|
109
|
+
.withNamespaceName(data["namespaceName"])
|
|
110
|
+
.withAccessToken(data["accessToken"])
|
|
111
|
+
.withStatusName(data["statusName"])
|
|
112
|
+
.withEvents(data.events ?
|
|
113
|
+
data.events.map(function (item) {
|
|
114
|
+
return Gs2StateMachine.Event.fromDict(item);
|
|
115
|
+
}) : []);
|
|
116
|
+
};
|
|
117
|
+
ReportRequest.prototype.toDict = function () {
|
|
118
|
+
return {
|
|
119
|
+
"namespaceName": this.getNamespaceName(),
|
|
120
|
+
"accessToken": this.getAccessToken(),
|
|
121
|
+
"statusName": this.getStatusName(),
|
|
122
|
+
"events": this.getEvents() ?
|
|
123
|
+
this.getEvents().map(function (item) {
|
|
124
|
+
return item.toDict();
|
|
125
|
+
}) : [],
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
return ReportRequest;
|
|
129
|
+
}());
|
|
130
|
+
exports.default = ReportRequest;
|
|
131
|
+
//# sourceMappingURL=ReportRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportRequest.js","sourceRoot":"","sources":["ReportRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,gEAA2C;AAE3C;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,eAAU,GAAgB,IAAI,CAAC;QAC/B,WAAM,GAAiC,IAAI,CAAC;QAC5C,uBAAkB,GAAgB,IAAI,CAAC;IAgHnD,CAAC;IA9GU,oCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,oCAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAA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