gs2 1.3.8 → 1.3.32
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/package.json +1 -1
- package/src/account/request/CreateTakeOverByUserIdRequest.ts +15 -0
- package/src/account/request/DeleteBnlinkRequest.ts +113 -0
- package/src/account/request/DeleteTakeOverByUserIdentifierRequest.ts +15 -0
- package/src/account/request/DescribeBnlinksRequest.ts +181 -0
- package/src/account/request/GetBnlinkRequest.ts +113 -0
- package/src/account/request/SetBnlinkRequest.ts +113 -0
- package/src/account/request/UpdateTakeOverByUserIdRequest.ts +15 -0
- package/src/account/request/UpdateTimeOffsetRequest.ts +15 -0
- package/src/account/rest.ts +12 -0
- package/src/account/result/DeleteBnlinkResult.ts +48 -0
- package/src/account/result/DescribeBnlinksResult.ts +73 -0
- package/src/account/result/GetBnlinkResult.ts +48 -0
- package/src/account/result/SetBnlinkResult.ts +48 -0
- package/src/auth/model/AccessToken.ts +18 -11
- package/src/auth/request/LoginBySignatureRequest.ts +0 -17
- package/src/auth/rest.ts +0 -1
- package/src/chat/request/PostByUserIdRequest.ts +15 -0
- package/src/chat/request/SubscribeByUserIdRequest.ts +15 -0
- package/src/chat/request/UnsubscribeByUserIdRequest.ts +15 -0
- package/src/chat/request/UpdateNotificationTypeByUserIdRequest.ts +15 -0
- package/src/chat/rest.ts +12 -0
- package/src/datastore/request/DeleteDataObjectByUserIdRequest.ts +15 -0
- package/src/datastore/request/DoneUploadByUserIdRequest.ts +15 -0
- package/src/datastore/request/PrepareDownloadByGenerationAndUserIdRequest.ts +15 -0
- package/src/datastore/request/PrepareDownloadByUserIdAndDataObjectNameAndGenerationRequest.ts +15 -0
- package/src/datastore/request/PrepareDownloadByUserIdAndDataObjectNameRequest.ts +15 -0
- package/src/datastore/request/PrepareDownloadByUserIdRequest.ts +15 -0
- package/src/datastore/request/PrepareReUploadByUserIdRequest.ts +15 -0
- package/src/datastore/request/PrepareUploadByUserIdRequest.ts +15 -0
- package/src/datastore/request/UpdateDataObjectByUserIdRequest.ts +15 -0
- package/src/datastore/rest.ts +27 -0
- package/src/deploy/model/Event.ts +1 -1
- package/src/deploy/model/Output.ts +1 -1
- package/src/deploy/model/Resource.ts +1 -1
- package/src/deploy/model/Stack.ts +1 -1
- package/src/dictionary/request/AddEntriesByUserIdRequest.ts +15 -0
- package/src/dictionary/request/ResetByUserIdRequest.ts +15 -0
- package/src/dictionary/rest.ts +6 -0
- package/src/enhance/request/CreateProgressByUserIdRequest.ts +15 -0
- package/src/enhance/request/DeleteProgressByUserIdRequest.ts +15 -0
- package/src/enhance/request/DirectEnhanceByUserIdRequest.ts +15 -0
- package/src/enhance/request/EndByUserIdRequest.ts +15 -0
- package/src/enhance/request/StartByUserIdRequest.ts +15 -0
- package/src/enhance/rest.ts +15 -0
- package/src/exchange/request/AcquireByUserIdRequest.ts +15 -0
- package/src/exchange/request/AcquireForceByUserIdRequest.ts +15 -0
- package/src/exchange/request/CreateAwaitByUserIdRequest.ts +15 -0
- package/src/exchange/request/DeleteAwaitByUserIdRequest.ts +15 -0
- package/src/exchange/request/ExchangeByUserIdRequest.ts +15 -0
- package/src/exchange/request/SkipByUserIdRequest.ts +15 -0
- package/src/exchange/rest.ts +18 -0
- package/src/experience/request/AddExperienceByUserIdRequest.ts +15 -0
- package/src/experience/request/AddRankCapByUserIdRequest.ts +15 -0
- package/src/experience/request/DeleteStatusByUserIdRequest.ts +15 -0
- package/src/experience/request/SetExperienceByUserIdRequest.ts +15 -0
- package/src/experience/request/SetRankCapByUserIdRequest.ts +15 -0
- package/src/experience/rest.ts +15 -0
- package/src/formation/request/AcquireActionsToFormPropertiesRequest.ts +15 -0
- package/src/formation/request/AddMoldCapacityByUserIdRequest.ts +15 -0
- package/src/formation/request/DeleteFormByUserIdRequest.ts +15 -0
- package/src/formation/request/DeleteMoldByUserIdRequest.ts +15 -0
- package/src/formation/request/SetFormByUserIdRequest.ts +15 -0
- package/src/formation/request/SetMoldCapacityByUserIdRequest.ts +15 -0
- package/src/formation/rest.ts +18 -0
- package/src/friend/request/AcceptRequestByUserIdRequest.ts +15 -0
- package/src/friend/request/DeleteFriendByUserIdRequest.ts +15 -0
- package/src/friend/request/DeleteProfileByUserIdRequest.ts +15 -0
- package/src/friend/request/DeleteRequestByUserIdRequest.ts +15 -0
- package/src/friend/request/FollowByUserIdRequest.ts +15 -0
- package/src/friend/request/RegisterBlackListByUserIdRequest.ts +15 -0
- package/src/friend/request/RejectRequestByUserIdRequest.ts +15 -0
- package/src/friend/request/SendRequestByUserIdRequest.ts +15 -0
- package/src/friend/request/UnfollowByUserIdRequest.ts +15 -0
- package/src/friend/request/UnregisterBlackListByUserIdRequest.ts +15 -0
- package/src/friend/request/UpdateProfileByUserIdRequest.ts +15 -0
- package/src/friend/rest.ts +33 -0
- package/src/friend/result/DeleteProfileByUserIdResult.ts +18 -1
- package/src/gateway/request/DeleteFirebaseTokenByUserIdRequest.ts +15 -0
- package/src/gateway/request/SendMobileNotificationByUserIdRequest.ts +15 -0
- package/src/gateway/request/SendNotificationRequest.ts +15 -0
- package/src/gateway/request/SetFirebaseTokenByUserIdRequest.ts +15 -0
- package/src/gateway/request/SetUserIdByUserIdRequest.ts +15 -0
- package/src/gateway/rest.ts +15 -0
- package/src/inbox/request/DeleteMessageByUserIdRequest.ts +15 -0
- package/src/inbox/request/DeleteReceivedByUserIdRequest.ts +15 -0
- package/src/inbox/request/OpenMessageByUserIdRequest.ts +15 -0
- package/src/inbox/request/ReadMessageByUserIdRequest.ts +15 -0
- package/src/inbox/request/ReceiveGlobalMessageByUserIdRequest.ts +15 -0
- package/src/inbox/request/SendMessageByUserIdRequest.ts +15 -0
- package/src/inbox/request/UpdateReceivedByUserIdRequest.ts +15 -0
- package/src/inbox/rest.ts +21 -0
- package/src/inventory/request/AcquireItemSetByUserIdRequest.ts +15 -0
- package/src/inventory/request/AddCapacityByUserIdRequest.ts +15 -0
- package/src/inventory/request/AddReferenceOfByUserIdRequest.ts +15 -0
- package/src/inventory/request/ConsumeItemSetByUserIdRequest.ts +15 -0
- package/src/inventory/request/DeleteInventoryByUserIdRequest.ts +15 -0
- package/src/inventory/request/DeleteItemSetByUserIdRequest.ts +15 -0
- package/src/inventory/request/DeleteReferenceOfByUserIdRequest.ts +15 -0
- package/src/inventory/request/SetCapacityByUserIdRequest.ts +15 -0
- package/src/inventory/request/VerifyReferenceOfByUserIdRequest.ts +15 -0
- package/src/inventory/rest.ts +27 -0
- package/src/jobQueue/request/DeleteDeadLetterJobByUserIdRequest.ts +15 -0
- package/src/jobQueue/request/DeleteJobByUserIdRequest.ts +15 -0
- package/src/jobQueue/request/PushByUserIdRequest.ts +15 -0
- package/src/jobQueue/request/RunByUserIdRequest.ts +15 -0
- package/src/jobQueue/rest.ts +12 -0
- package/src/limit/request/CountUpByUserIdRequest.ts +15 -0
- package/src/limit/request/DeleteCounterByUserIdRequest.ts +15 -0
- package/src/limit/rest.ts +6 -0
- package/src/lock/request/DeleteMutexByUserIdRequest.ts +15 -0
- package/src/lock/request/LockByUserIdRequest.ts +15 -0
- package/src/lock/request/UnlockByUserIdRequest.ts +15 -0
- package/src/lock/rest.ts +9 -0
- package/src/lottery/model/Box.ts +44 -2
- package/src/lottery/request/DrawByUserIdRequest.ts +15 -0
- package/src/lottery/request/ResetBoxByUserIdRequest.ts +15 -0
- package/src/lottery/request/index.ts +0 -2
- package/src/lottery/rest.ts +6 -28
- package/src/lottery/result/DrawByStampSheetResult.ts +1 -18
- package/src/lottery/result/DrawByUserIdResult.ts +1 -18
- package/src/lottery/result/index.ts +0 -2
- package/src/matchmaking/request/CancelMatchmakingByUserIdRequest.ts +15 -0
- package/src/matchmaking/request/CreateGatheringByUserIdRequest.ts +15 -0
- package/src/matchmaking/request/DeleteRatingRequest.ts +15 -0
- package/src/matchmaking/request/DoMatchmakingByUserIdRequest.ts +15 -0
- package/src/matchmaking/request/UpdateGatheringByUserIdRequest.ts +15 -0
- package/src/matchmaking/rest.ts +15 -0
- package/src/mission/request/CompleteByUserIdRequest.ts +15 -0
- package/src/mission/request/DeleteCompleteByUserIdRequest.ts +15 -0
- package/src/mission/request/DeleteCounterByUserIdRequest.ts +15 -0
- package/src/mission/request/IncreaseCounterByUserIdRequest.ts +15 -0
- package/src/mission/request/ReceiveByUserIdRequest.ts +15 -0
- package/src/mission/rest.ts +15 -0
- package/src/money/request/DepositByUserIdRequest.ts +15 -0
- package/src/money/request/RecordReceiptRequest.ts +15 -0
- package/src/money/request/WithdrawByUserIdRequest.ts +15 -0
- package/src/money/rest.ts +9 -0
- package/src/project/result/DeleteAccountResult.ts +18 -1
- package/src/project/result/ForgetResult.ts +1 -18
- package/src/quest/request/CreateProgressByUserIdRequest.ts +15 -0
- package/src/quest/request/DeleteCompletedQuestListByUserIdRequest.ts +15 -0
- package/src/quest/request/DeleteProgressByUserIdRequest.ts +15 -0
- package/src/quest/request/EndByUserIdRequest.ts +15 -0
- package/src/quest/request/StartByUserIdRequest.ts +15 -0
- package/src/quest/rest.ts +15 -0
- package/src/ranking/request/PutScoreByUserIdRequest.ts +15 -0
- package/src/ranking/request/SubscribeByUserIdRequest.ts +15 -0
- package/src/ranking/request/UnsubscribeByUserIdRequest.ts +15 -0
- package/src/ranking/rest.ts +9 -0
- package/src/ranking/result/CalcRankingResult.ts +18 -1
- package/src/schedule/request/DeleteTriggerByUserIdRequest.ts +15 -0
- package/src/schedule/request/TriggerByUserIdRequest.ts +15 -0
- package/src/schedule/rest.ts +6 -0
- package/src/stamina/request/ConsumeStaminaByUserIdRequest.ts +15 -0
- package/src/stamina/request/DeleteStaminaByUserIdRequest.ts +15 -0
- package/src/stamina/request/RaiseMaxValueByUserIdRequest.ts +15 -0
- package/src/stamina/request/RecoverStaminaByUserIdRequest.ts +15 -0
- package/src/stamina/request/SetMaxValueByUserIdRequest.ts +15 -0
- package/src/stamina/request/SetRecoverIntervalByUserIdRequest.ts +15 -0
- package/src/stamina/request/SetRecoverValueByUserIdRequest.ts +15 -0
- package/src/stamina/request/UpdateStaminaByUserIdRequest.ts +15 -0
- package/src/stamina/rest.ts +24 -0
- package/src/version/request/AcceptBneAgreementByUserIdRequest.ts +138 -0
- package/src/version/request/AcceptBneAgreementRequest.ts +138 -0
- package/src/version/request/AcceptByUserIdRequest.ts +15 -0
- package/src/version/request/CheckVersionByUserIdRequest.ts +15 -0
- package/src/version/request/DeleteAcceptVersionByUserIdRequest.ts +15 -0
- package/src/version/request/DescribeBneAgreementTextUrlsByUserIdRequest.ts +130 -0
- package/src/version/request/DescribeBneAgreementTextUrlsRequest.ts +130 -0
- package/src/version/request/GetBneAgreementByUserIdRequest.ts +113 -0
- package/src/version/request/GetBneAgreementRequest.ts +113 -0
- package/src/version/request/GetBneAgreementUrlByUserIdRequest.ts +164 -0
- package/src/version/request/GetBneAgreementUrlRequest.ts +164 -0
- package/src/version/rest.ts +9 -0
- package/src/version/result/AcceptBneAgreementByUserIdResult.ts +56 -0
- package/src/version/result/AcceptBneAgreementResult.ts +56 -0
- package/src/version/result/DescribeBneAgreementTextUrlsByUserIdResult.ts +56 -0
- package/src/version/result/DescribeBneAgreementTextUrlsResult.ts +56 -0
- package/src/version/result/GetBneAgreementByUserIdResult.ts +56 -0
- package/src/version/result/GetBneAgreementResult.ts +56 -0
- package/src/version/result/GetBneAgreementUrlByUserIdResult.ts +48 -0
- package/src/version/result/GetBneAgreementUrlResult.ts +48 -0
|
@@ -0,0 +1,113 @@
|
|
|
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 Gs2Version from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetBneAgreementRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private bneAgreementClientId: string|null = null;
|
|
27
|
+
private accessToken: string|null = null;
|
|
28
|
+
|
|
29
|
+
public getRequestId(): string|null {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public setRequestId(requestId: string|null) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public withRequestId(requestId: string|null): this {
|
|
39
|
+
this.requestId = requestId;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public getContextStack(): string|null {
|
|
44
|
+
return this.contextStack;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public setContextStack(contextStack: string|null) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public withContextStack(contextStack: string|null): this {
|
|
53
|
+
this.contextStack = contextStack;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
public getNamespaceName(): string|null {
|
|
58
|
+
return this.namespaceName;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
62
|
+
this.namespaceName = namespaceName;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
67
|
+
this.namespaceName = namespaceName;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
public getBneAgreementClientId(): string|null {
|
|
72
|
+
return this.bneAgreementClientId;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
public setBneAgreementClientId(bneAgreementClientId: string|null) {
|
|
76
|
+
this.bneAgreementClientId = bneAgreementClientId;
|
|
77
|
+
return this;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
public withBneAgreementClientId(bneAgreementClientId: string|null): this {
|
|
81
|
+
this.bneAgreementClientId = bneAgreementClientId;
|
|
82
|
+
return this;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
public getAccessToken(): string|null {
|
|
86
|
+
return this.accessToken;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
public setAccessToken(accessToken: string|null) {
|
|
90
|
+
this.accessToken = accessToken;
|
|
91
|
+
return this;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
public withAccessToken(accessToken: string|null): this {
|
|
95
|
+
this.accessToken = accessToken;
|
|
96
|
+
return this;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
public static fromDict(data: {[key: string]: any}): GetBneAgreementRequest {
|
|
100
|
+
return new GetBneAgreementRequest()
|
|
101
|
+
.withNamespaceName(data["namespaceName"])
|
|
102
|
+
.withBneAgreementClientId(data["bneAgreementClientId"])
|
|
103
|
+
.withAccessToken(data["accessToken"]);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
public toDict(): {[key: string]: any} {
|
|
107
|
+
return {
|
|
108
|
+
"namespaceName": this.getNamespaceName(),
|
|
109
|
+
"bneAgreementClientId": this.getBneAgreementClientId(),
|
|
110
|
+
"accessToken": this.getAccessToken(),
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
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 Gs2Version from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetBneAgreementUrlByUserIdRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private bneAgreementClientId: string|null = null;
|
|
27
|
+
private userId: string|null = null;
|
|
28
|
+
private lang: string|null = null;
|
|
29
|
+
private callbackUrl: string|null = null;
|
|
30
|
+
private visibleBrandLogo: boolean|null = null;
|
|
31
|
+
|
|
32
|
+
public getRequestId(): string|null {
|
|
33
|
+
return this.requestId;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
public setRequestId(requestId: string|null) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public withRequestId(requestId: string|null): this {
|
|
42
|
+
this.requestId = requestId;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public getContextStack(): string|null {
|
|
47
|
+
return this.contextStack;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public setContextStack(contextStack: string|null) {
|
|
51
|
+
this.contextStack = contextStack;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public withContextStack(contextStack: string|null): this {
|
|
56
|
+
this.contextStack = contextStack;
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public getNamespaceName(): string|null {
|
|
61
|
+
return this.namespaceName;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
65
|
+
this.namespaceName = namespaceName;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
70
|
+
this.namespaceName = namespaceName;
|
|
71
|
+
return this;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public getBneAgreementClientId(): string|null {
|
|
75
|
+
return this.bneAgreementClientId;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
public setBneAgreementClientId(bneAgreementClientId: string|null) {
|
|
79
|
+
this.bneAgreementClientId = bneAgreementClientId;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
public withBneAgreementClientId(bneAgreementClientId: string|null): this {
|
|
84
|
+
this.bneAgreementClientId = bneAgreementClientId;
|
|
85
|
+
return this;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
public getUserId(): string|null {
|
|
89
|
+
return this.userId;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
public setUserId(userId: string|null) {
|
|
93
|
+
this.userId = userId;
|
|
94
|
+
return this;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
public withUserId(userId: string|null): this {
|
|
98
|
+
this.userId = userId;
|
|
99
|
+
return this;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
public getLang(): string|null {
|
|
103
|
+
return this.lang;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
public setLang(lang: string|null) {
|
|
107
|
+
this.lang = lang;
|
|
108
|
+
return this;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
public withLang(lang: string|null): this {
|
|
112
|
+
this.lang = lang;
|
|
113
|
+
return this;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
public getCallbackUrl(): string|null {
|
|
117
|
+
return this.callbackUrl;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
public setCallbackUrl(callbackUrl: string|null) {
|
|
121
|
+
this.callbackUrl = callbackUrl;
|
|
122
|
+
return this;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
public withCallbackUrl(callbackUrl: string|null): this {
|
|
126
|
+
this.callbackUrl = callbackUrl;
|
|
127
|
+
return this;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
public getVisibleBrandLogo(): boolean|null {
|
|
131
|
+
return this.visibleBrandLogo;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
public setVisibleBrandLogo(visibleBrandLogo: boolean|null) {
|
|
135
|
+
this.visibleBrandLogo = visibleBrandLogo;
|
|
136
|
+
return this;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
public withVisibleBrandLogo(visibleBrandLogo: boolean|null): this {
|
|
140
|
+
this.visibleBrandLogo = visibleBrandLogo;
|
|
141
|
+
return this;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
public static fromDict(data: {[key: string]: any}): GetBneAgreementUrlByUserIdRequest {
|
|
145
|
+
return new GetBneAgreementUrlByUserIdRequest()
|
|
146
|
+
.withNamespaceName(data["namespaceName"])
|
|
147
|
+
.withBneAgreementClientId(data["bneAgreementClientId"])
|
|
148
|
+
.withUserId(data["userId"])
|
|
149
|
+
.withLang(data["lang"])
|
|
150
|
+
.withCallbackUrl(data["callbackUrl"])
|
|
151
|
+
.withVisibleBrandLogo(data["visibleBrandLogo"]);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
public toDict(): {[key: string]: any} {
|
|
155
|
+
return {
|
|
156
|
+
"namespaceName": this.getNamespaceName(),
|
|
157
|
+
"bneAgreementClientId": this.getBneAgreementClientId(),
|
|
158
|
+
"userId": this.getUserId(),
|
|
159
|
+
"lang": this.getLang(),
|
|
160
|
+
"callbackUrl": this.getCallbackUrl(),
|
|
161
|
+
"visibleBrandLogo": this.getVisibleBrandLogo(),
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
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 Gs2Version from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetBneAgreementUrlRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private bneAgreementClientId: string|null = null;
|
|
27
|
+
private accessToken: string|null = null;
|
|
28
|
+
private lang: string|null = null;
|
|
29
|
+
private callbackUrl: string|null = null;
|
|
30
|
+
private visibleBrandLogo: boolean|null = null;
|
|
31
|
+
|
|
32
|
+
public getRequestId(): string|null {
|
|
33
|
+
return this.requestId;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
public setRequestId(requestId: string|null) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public withRequestId(requestId: string|null): this {
|
|
42
|
+
this.requestId = requestId;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public getContextStack(): string|null {
|
|
47
|
+
return this.contextStack;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public setContextStack(contextStack: string|null) {
|
|
51
|
+
this.contextStack = contextStack;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public withContextStack(contextStack: string|null): this {
|
|
56
|
+
this.contextStack = contextStack;
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public getNamespaceName(): string|null {
|
|
61
|
+
return this.namespaceName;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
65
|
+
this.namespaceName = namespaceName;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
70
|
+
this.namespaceName = namespaceName;
|
|
71
|
+
return this;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public getBneAgreementClientId(): string|null {
|
|
75
|
+
return this.bneAgreementClientId;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
public setBneAgreementClientId(bneAgreementClientId: string|null) {
|
|
79
|
+
this.bneAgreementClientId = bneAgreementClientId;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
public withBneAgreementClientId(bneAgreementClientId: string|null): this {
|
|
84
|
+
this.bneAgreementClientId = bneAgreementClientId;
|
|
85
|
+
return this;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
public getAccessToken(): string|null {
|
|
89
|
+
return this.accessToken;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
public setAccessToken(accessToken: string|null) {
|
|
93
|
+
this.accessToken = accessToken;
|
|
94
|
+
return this;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
public withAccessToken(accessToken: string|null): this {
|
|
98
|
+
this.accessToken = accessToken;
|
|
99
|
+
return this;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
public getLang(): string|null {
|
|
103
|
+
return this.lang;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
public setLang(lang: string|null) {
|
|
107
|
+
this.lang = lang;
|
|
108
|
+
return this;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
public withLang(lang: string|null): this {
|
|
112
|
+
this.lang = lang;
|
|
113
|
+
return this;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
public getCallbackUrl(): string|null {
|
|
117
|
+
return this.callbackUrl;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
public setCallbackUrl(callbackUrl: string|null) {
|
|
121
|
+
this.callbackUrl = callbackUrl;
|
|
122
|
+
return this;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
public withCallbackUrl(callbackUrl: string|null): this {
|
|
126
|
+
this.callbackUrl = callbackUrl;
|
|
127
|
+
return this;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
public getVisibleBrandLogo(): boolean|null {
|
|
131
|
+
return this.visibleBrandLogo;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
public setVisibleBrandLogo(visibleBrandLogo: boolean|null) {
|
|
135
|
+
this.visibleBrandLogo = visibleBrandLogo;
|
|
136
|
+
return this;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
public withVisibleBrandLogo(visibleBrandLogo: boolean|null): this {
|
|
140
|
+
this.visibleBrandLogo = visibleBrandLogo;
|
|
141
|
+
return this;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
public static fromDict(data: {[key: string]: any}): GetBneAgreementUrlRequest {
|
|
145
|
+
return new GetBneAgreementUrlRequest()
|
|
146
|
+
.withNamespaceName(data["namespaceName"])
|
|
147
|
+
.withBneAgreementClientId(data["bneAgreementClientId"])
|
|
148
|
+
.withAccessToken(data["accessToken"])
|
|
149
|
+
.withLang(data["lang"])
|
|
150
|
+
.withCallbackUrl(data["callbackUrl"])
|
|
151
|
+
.withVisibleBrandLogo(data["visibleBrandLogo"]);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
public toDict(): {[key: string]: any} {
|
|
155
|
+
return {
|
|
156
|
+
"namespaceName": this.getNamespaceName(),
|
|
157
|
+
"bneAgreementClientId": this.getBneAgreementClientId(),
|
|
158
|
+
"accessToken": this.getAccessToken(),
|
|
159
|
+
"lang": this.getLang(),
|
|
160
|
+
"callbackUrl": this.getCallbackUrl(),
|
|
161
|
+
"visibleBrandLogo": this.getVisibleBrandLogo(),
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
}
|
package/src/version/rest.ts
CHANGED
|
@@ -520,6 +520,9 @@ export default class Gs2VersionRestClient extends AbstractGs2RestClient {
|
|
|
520
520
|
if (request.getRequestId()) {
|
|
521
521
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
522
522
|
}
|
|
523
|
+
if (request.getDuplicationAvoider()) {
|
|
524
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
525
|
+
}
|
|
523
526
|
const body: {[key: string]: any} = {
|
|
524
527
|
'contextStack': request.getContextStack() ?? null,
|
|
525
528
|
'versionName': request.getVersionName() ?? null,
|
|
@@ -641,6 +644,9 @@ export default class Gs2VersionRestClient extends AbstractGs2RestClient {
|
|
|
641
644
|
if (request.getRequestId()) {
|
|
642
645
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
643
646
|
}
|
|
647
|
+
if (request.getDuplicationAvoider()) {
|
|
648
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
649
|
+
}
|
|
644
650
|
const params: {[key: string]: any} = {
|
|
645
651
|
'contextStack': request.getContextStack() ?? null,
|
|
646
652
|
};
|
|
@@ -702,6 +708,9 @@ export default class Gs2VersionRestClient extends AbstractGs2RestClient {
|
|
|
702
708
|
if (request.getRequestId()) {
|
|
703
709
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
704
710
|
}
|
|
711
|
+
if (request.getDuplicationAvoider()) {
|
|
712
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
713
|
+
}
|
|
705
714
|
const body: {[key: string]: any} = {
|
|
706
715
|
'contextStack': request.getContextStack() ?? null,
|
|
707
716
|
'targetVersions': request.getTargetVersions()?.map((item) => item.toDict()) ?? null,
|
|
@@ -0,0 +1,56 @@
|
|
|
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 Gs2Version from '../model'
|
|
20
|
+
|
|
21
|
+
export default class AcceptBneAgreementByUserIdResult implements IResult {
|
|
22
|
+
private items: Gs2Version.BandaiNamcoConsentStatus[]|null = null;
|
|
23
|
+
|
|
24
|
+
public getItems(): Gs2Version.BandaiNamcoConsentStatus[]|null {
|
|
25
|
+
return this.items;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItems(items: Gs2Version.BandaiNamcoConsentStatus[]|null) {
|
|
29
|
+
this.items = items;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItems(items: Gs2Version.BandaiNamcoConsentStatus[]|null): this {
|
|
34
|
+
this.items = items;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): AcceptBneAgreementByUserIdResult {
|
|
39
|
+
return new AcceptBneAgreementByUserIdResult()
|
|
40
|
+
.withItems(data.items ?
|
|
41
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
42
|
+
return Gs2Version.BandaiNamcoConsentStatus.fromDict(item);
|
|
43
|
+
}
|
|
44
|
+
) : []);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public toDict(): {[key: string]: any} {
|
|
48
|
+
return {
|
|
49
|
+
"items": this.getItems() ?
|
|
50
|
+
this.getItems()!.map((item: Gs2Version.BandaiNamcoConsentStatus) => {
|
|
51
|
+
return item.toDict();
|
|
52
|
+
}
|
|
53
|
+
) : [],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 Gs2Version from '../model'
|
|
20
|
+
|
|
21
|
+
export default class AcceptBneAgreementResult implements IResult {
|
|
22
|
+
private items: Gs2Version.BandaiNamcoConsentStatus[]|null = null;
|
|
23
|
+
|
|
24
|
+
public getItems(): Gs2Version.BandaiNamcoConsentStatus[]|null {
|
|
25
|
+
return this.items;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItems(items: Gs2Version.BandaiNamcoConsentStatus[]|null) {
|
|
29
|
+
this.items = items;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItems(items: Gs2Version.BandaiNamcoConsentStatus[]|null): this {
|
|
34
|
+
this.items = items;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): AcceptBneAgreementResult {
|
|
39
|
+
return new AcceptBneAgreementResult()
|
|
40
|
+
.withItems(data.items ?
|
|
41
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
42
|
+
return Gs2Version.BandaiNamcoConsentStatus.fromDict(item);
|
|
43
|
+
}
|
|
44
|
+
) : []);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public toDict(): {[key: string]: any} {
|
|
48
|
+
return {
|
|
49
|
+
"items": this.getItems() ?
|
|
50
|
+
this.getItems()!.map((item: Gs2Version.BandaiNamcoConsentStatus) => {
|
|
51
|
+
return item.toDict();
|
|
52
|
+
}
|
|
53
|
+
) : [],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 Gs2Version from '../model'
|
|
20
|
+
|
|
21
|
+
export default class DescribeBneAgreementTextUrlsByUserIdResult implements IResult {
|
|
22
|
+
private items: Gs2Version.BandaiNamcoConsentTextUrl[]|null = null;
|
|
23
|
+
|
|
24
|
+
public getItems(): Gs2Version.BandaiNamcoConsentTextUrl[]|null {
|
|
25
|
+
return this.items;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItems(items: Gs2Version.BandaiNamcoConsentTextUrl[]|null) {
|
|
29
|
+
this.items = items;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItems(items: Gs2Version.BandaiNamcoConsentTextUrl[]|null): this {
|
|
34
|
+
this.items = items;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): DescribeBneAgreementTextUrlsByUserIdResult {
|
|
39
|
+
return new DescribeBneAgreementTextUrlsByUserIdResult()
|
|
40
|
+
.withItems(data.items ?
|
|
41
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
42
|
+
return Gs2Version.BandaiNamcoConsentTextUrl.fromDict(item);
|
|
43
|
+
}
|
|
44
|
+
) : []);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public toDict(): {[key: string]: any} {
|
|
48
|
+
return {
|
|
49
|
+
"items": this.getItems() ?
|
|
50
|
+
this.getItems()!.map((item: Gs2Version.BandaiNamcoConsentTextUrl) => {
|
|
51
|
+
return item.toDict();
|
|
52
|
+
}
|
|
53
|
+
) : [],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 Gs2Version from '../model'
|
|
20
|
+
|
|
21
|
+
export default class DescribeBneAgreementTextUrlsResult implements IResult {
|
|
22
|
+
private items: Gs2Version.BandaiNamcoConsentTextUrl[]|null = null;
|
|
23
|
+
|
|
24
|
+
public getItems(): Gs2Version.BandaiNamcoConsentTextUrl[]|null {
|
|
25
|
+
return this.items;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItems(items: Gs2Version.BandaiNamcoConsentTextUrl[]|null) {
|
|
29
|
+
this.items = items;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItems(items: Gs2Version.BandaiNamcoConsentTextUrl[]|null): this {
|
|
34
|
+
this.items = items;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): DescribeBneAgreementTextUrlsResult {
|
|
39
|
+
return new DescribeBneAgreementTextUrlsResult()
|
|
40
|
+
.withItems(data.items ?
|
|
41
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
42
|
+
return Gs2Version.BandaiNamcoConsentTextUrl.fromDict(item);
|
|
43
|
+
}
|
|
44
|
+
) : []);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public toDict(): {[key: string]: any} {
|
|
48
|
+
return {
|
|
49
|
+
"items": this.getItems() ?
|
|
50
|
+
this.getItems()!.map((item: Gs2Version.BandaiNamcoConsentTextUrl) => {
|
|
51
|
+
return item.toDict();
|
|
52
|
+
}
|
|
53
|
+
) : [],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
}
|