gs2 1.3.170 → 1.3.171
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/adReward/index.d.ts +5 -0
- package/adReward/index.js +28 -0
- package/adReward/index.js.map +1 -0
- package/adReward/index.ts +27 -0
- package/adReward/model/AdMob.d.ts +13 -0
- package/adReward/model/AdMob.js +54 -0
- package/adReward/model/AdMob.js.map +1 -0
- package/adReward/model/AdMob.ts +54 -0
- package/adReward/model/History.d.ts +27 -0
- package/adReward/model/History.js +97 -0
- package/adReward/model/History.js.map +1 -0
- package/adReward/model/History.ts +98 -0
- package/adReward/model/LogSetting.d.ts +13 -0
- package/adReward/model/LogSetting.js +48 -0
- package/adReward/model/LogSetting.js.map +1 -0
- package/adReward/model/LogSetting.ts +46 -0
- package/adReward/model/Namespace.d.ts +58 -0
- package/adReward/model/Namespace.js +229 -0
- package/adReward/model/Namespace.js.map +1 -0
- package/adReward/model/Namespace.ts +237 -0
- package/adReward/model/NotificationSetting.d.ts +21 -0
- package/adReward/model/NotificationSetting.js +76 -0
- package/adReward/model/NotificationSetting.js.map +1 -0
- package/adReward/model/NotificationSetting.ts +74 -0
- package/adReward/model/Point.d.ts +39 -0
- package/adReward/model/Point.js +185 -0
- package/adReward/model/Point.js.map +1 -0
- package/adReward/model/Point.ts +198 -0
- package/adReward/model/UnityAd.d.ts +13 -0
- package/adReward/model/UnityAd.js +54 -0
- package/adReward/model/UnityAd.js.map +1 -0
- package/adReward/model/UnityAd.ts +54 -0
- package/adReward/model/index.d.ts +8 -0
- package/adReward/model/index.js +34 -0
- package/adReward/model/index.js.map +1 -0
- package/adReward/model/index.ts +32 -0
- package/adReward/request/AcquirePointByStampSheetRequest.d.ts +25 -0
- package/adReward/request/AcquirePointByStampSheetRequest.js +83 -0
- package/adReward/request/AcquirePointByStampSheetRequest.js.map +1 -0
- package/adReward/request/AcquirePointByStampSheetRequest.ts +90 -0
- package/adReward/request/AcquirePointByUserIdRequest.d.ts +33 -0
- package/adReward/request/AcquirePointByUserIdRequest.js +109 -0
- package/adReward/request/AcquirePointByUserIdRequest.js.map +1 -0
- package/adReward/request/AcquirePointByUserIdRequest.ts +119 -0
- package/adReward/request/ConsumePointByStampTaskRequest.d.ts +25 -0
- package/adReward/request/ConsumePointByStampTaskRequest.js +83 -0
- package/adReward/request/ConsumePointByStampTaskRequest.js.map +1 -0
- package/adReward/request/ConsumePointByStampTaskRequest.ts +90 -0
- package/adReward/request/ConsumePointByUserIdRequest.d.ts +33 -0
- package/adReward/request/ConsumePointByUserIdRequest.js +109 -0
- package/adReward/request/ConsumePointByUserIdRequest.js.map +1 -0
- package/adReward/request/ConsumePointByUserIdRequest.ts +119 -0
- package/adReward/request/ConsumePointRequest.d.ts +33 -0
- package/adReward/request/ConsumePointRequest.js +109 -0
- package/adReward/request/ConsumePointRequest.js.map +1 -0
- package/adReward/request/ConsumePointRequest.ts +119 -0
- package/adReward/request/CreateNamespaceRequest.d.ts +42 -0
- package/adReward/request/CreateNamespaceRequest.js +142 -0
- package/adReward/request/CreateNamespaceRequest.js.map +1 -0
- package/adReward/request/CreateNamespaceRequest.ts +146 -0
- package/adReward/request/DeleteNamespaceRequest.d.ts +21 -0
- package/adReward/request/DeleteNamespaceRequest.js +69 -0
- package/adReward/request/DeleteNamespaceRequest.js.map +1 -0
- package/adReward/request/DeleteNamespaceRequest.ts +76 -0
- package/adReward/request/DeletePointByUserIdRequest.d.ts +29 -0
- package/adReward/request/DeletePointByUserIdRequest.js +95 -0
- package/adReward/request/DeletePointByUserIdRequest.js.map +1 -0
- package/adReward/request/DeletePointByUserIdRequest.ts +105 -0
- package/adReward/request/DescribeNamespacesRequest.d.ts +25 -0
- package/adReward/request/DescribeNamespacesRequest.js +83 -0
- package/adReward/request/DescribeNamespacesRequest.js.map +1 -0
- package/adReward/request/DescribeNamespacesRequest.ts +90 -0
- package/adReward/request/GetNamespaceRequest.d.ts +21 -0
- package/adReward/request/GetNamespaceRequest.js +69 -0
- package/adReward/request/GetNamespaceRequest.js.map +1 -0
- package/adReward/request/GetNamespaceRequest.ts +76 -0
- package/adReward/request/GetNamespaceStatusRequest.d.ts +21 -0
- package/adReward/request/GetNamespaceStatusRequest.js +69 -0
- package/adReward/request/GetNamespaceStatusRequest.js.map +1 -0
- package/adReward/request/GetNamespaceStatusRequest.ts +76 -0
- package/adReward/request/GetPointByUserIdRequest.d.ts +25 -0
- package/adReward/request/GetPointByUserIdRequest.js +83 -0
- package/adReward/request/GetPointByUserIdRequest.js.map +1 -0
- package/adReward/request/GetPointByUserIdRequest.ts +90 -0
- package/adReward/request/GetPointRequest.d.ts +25 -0
- package/adReward/request/GetPointRequest.js +83 -0
- package/adReward/request/GetPointRequest.js.map +1 -0
- package/adReward/request/GetPointRequest.ts +90 -0
- package/adReward/request/UpdateNamespaceRequest.d.ts +42 -0
- package/adReward/request/UpdateNamespaceRequest.js +142 -0
- package/adReward/request/UpdateNamespaceRequest.js.map +1 -0
- package/adReward/request/UpdateNamespaceRequest.ts +146 -0
- package/adReward/request/index.d.ts +15 -0
- package/adReward/request/index.js +48 -0
- package/adReward/request/index.js.map +1 -0
- package/adReward/request/index.ts +46 -0
- package/adReward/rest.d.ts +21 -0
- package/adReward/rest.js +409 -0
- package/adReward/rest.js.map +1 -0
- package/adReward/rest.ts +463 -0
- package/adReward/result/AcquirePointByStampSheetResult.d.ts +14 -0
- package/adReward/result/AcquirePointByStampSheetResult.js +48 -0
- package/adReward/result/AcquirePointByStampSheetResult.js.map +1 -0
- package/adReward/result/AcquirePointByStampSheetResult.ts +48 -0
- package/adReward/result/AcquirePointByUserIdResult.d.ts +14 -0
- package/adReward/result/AcquirePointByUserIdResult.js +48 -0
- package/adReward/result/AcquirePointByUserIdResult.js.map +1 -0
- package/adReward/result/AcquirePointByUserIdResult.ts +48 -0
- package/adReward/result/ConsumePointByStampTaskResult.d.ts +18 -0
- package/adReward/result/ConsumePointByStampTaskResult.js +62 -0
- package/adReward/result/ConsumePointByStampTaskResult.js.map +1 -0
- package/adReward/result/ConsumePointByStampTaskResult.ts +65 -0
- package/adReward/result/ConsumePointByUserIdResult.d.ts +14 -0
- package/adReward/result/ConsumePointByUserIdResult.js +48 -0
- package/adReward/result/ConsumePointByUserIdResult.js.map +1 -0
- package/adReward/result/ConsumePointByUserIdResult.ts +48 -0
- package/adReward/result/ConsumePointResult.d.ts +14 -0
- package/adReward/result/ConsumePointResult.js +48 -0
- package/adReward/result/ConsumePointResult.js.map +1 -0
- package/adReward/result/ConsumePointResult.ts +48 -0
- package/adReward/result/CreateNamespaceResult.d.ts +14 -0
- package/adReward/result/CreateNamespaceResult.js +48 -0
- package/adReward/result/CreateNamespaceResult.js.map +1 -0
- package/adReward/result/CreateNamespaceResult.ts +48 -0
- package/adReward/result/DeleteNamespaceResult.d.ts +14 -0
- package/adReward/result/DeleteNamespaceResult.js +48 -0
- package/adReward/result/DeleteNamespaceResult.js.map +1 -0
- package/adReward/result/DeleteNamespaceResult.ts +48 -0
- package/adReward/result/DeletePointByUserIdResult.d.ts +14 -0
- package/adReward/result/DeletePointByUserIdResult.js +48 -0
- package/adReward/result/DeletePointByUserIdResult.js.map +1 -0
- package/adReward/result/DeletePointByUserIdResult.ts +48 -0
- package/adReward/result/DescribeNamespacesResult.d.ts +18 -0
- package/adReward/result/DescribeNamespacesResult.js +67 -0
- package/adReward/result/DescribeNamespacesResult.js.map +1 -0
- package/adReward/result/DescribeNamespacesResult.ts +73 -0
- package/adReward/result/GetNamespaceResult.d.ts +14 -0
- package/adReward/result/GetNamespaceResult.js +48 -0
- package/adReward/result/GetNamespaceResult.js.map +1 -0
- package/adReward/result/GetNamespaceResult.ts +48 -0
- package/adReward/result/GetNamespaceStatusResult.d.ts +13 -0
- package/adReward/result/GetNamespaceStatusResult.js +45 -0
- package/adReward/result/GetNamespaceStatusResult.js.map +1 -0
- package/adReward/result/GetNamespaceStatusResult.ts +48 -0
- package/adReward/result/GetPointByUserIdResult.d.ts +14 -0
- package/adReward/result/GetPointByUserIdResult.js +48 -0
- package/adReward/result/GetPointByUserIdResult.js.map +1 -0
- package/adReward/result/GetPointByUserIdResult.ts +48 -0
- package/adReward/result/GetPointResult.d.ts +14 -0
- package/adReward/result/GetPointResult.js +48 -0
- package/adReward/result/GetPointResult.js.map +1 -0
- package/adReward/result/GetPointResult.ts +48 -0
- package/adReward/result/UpdateNamespaceResult.d.ts +14 -0
- package/adReward/result/UpdateNamespaceResult.js +48 -0
- package/adReward/result/UpdateNamespaceResult.js.map +1 -0
- package/adReward/result/UpdateNamespaceResult.ts +48 -0
- package/adReward/result/index.d.ts +15 -0
- package/adReward/result/index.js +48 -0
- package/adReward/result/index.js.map +1 -0
- package/adReward/result/index.ts +46 -0
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/index.ts +2 -0
- package/package.json +1 -1
package/adReward/rest.ts
ADDED
|
@@ -0,0 +1,463 @@
|
|
|
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 AbstractGs2RestClient from '../core/AbstractGs2RestClient';
|
|
18
|
+
import { Gs2Constant, Gs2RestSession } from '../core/model';
|
|
19
|
+
import * as Request from './request';
|
|
20
|
+
import * as Result from './result';
|
|
21
|
+
|
|
22
|
+
import axios from 'axios';
|
|
23
|
+
|
|
24
|
+
export default class Gs2AdRewardRestClient extends AbstractGs2RestClient {
|
|
25
|
+
|
|
26
|
+
constructor(session: Gs2RestSession) {
|
|
27
|
+
super(session);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
public describeNamespaces(request: Request.DescribeNamespacesRequest): Promise<Result.DescribeNamespacesResult> {
|
|
31
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/')
|
|
32
|
+
.replace('{service}', 'ad-reward')
|
|
33
|
+
.replace('{region}', this.session.region);
|
|
34
|
+
|
|
35
|
+
const headers = this.createAuthorizedHeaders();
|
|
36
|
+
if (request.getRequestId()) {
|
|
37
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
38
|
+
}
|
|
39
|
+
const params: {[key: string]: any} = {
|
|
40
|
+
'contextStack': request.getContextStack() ?? null,
|
|
41
|
+
'pageToken': String(request.getPageToken() ?? null),
|
|
42
|
+
'limit': String(request.getLimit() ?? null),
|
|
43
|
+
};
|
|
44
|
+
return axios.get(
|
|
45
|
+
url,
|
|
46
|
+
{
|
|
47
|
+
params,
|
|
48
|
+
headers,
|
|
49
|
+
},
|
|
50
|
+
).then((response: any) => {
|
|
51
|
+
return Result.DescribeNamespacesResult.fromDict(response.data);
|
|
52
|
+
}).catch((error: any) => {
|
|
53
|
+
throw JSON.parse(error.response.data.message);
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
public createNamespace(request: Request.CreateNamespaceRequest): Promise<Result.CreateNamespaceResult> {
|
|
58
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/')
|
|
59
|
+
.replace('{service}', 'ad-reward')
|
|
60
|
+
.replace('{region}', this.session.region);
|
|
61
|
+
|
|
62
|
+
const headers = this.createAuthorizedHeaders();
|
|
63
|
+
if (request.getRequestId()) {
|
|
64
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
65
|
+
}
|
|
66
|
+
const body: {[key: string]: any} = {
|
|
67
|
+
'contextStack': request.getContextStack() ?? null,
|
|
68
|
+
'name': request.getName() ?? null,
|
|
69
|
+
'admob': request.getAdmob()?.toDict() ?? null,
|
|
70
|
+
'unityAd': request.getUnityAd()?.toDict() ?? null,
|
|
71
|
+
'description': request.getDescription() ?? null,
|
|
72
|
+
'changePointNotification': request.getChangePointNotification()?.toDict() ?? null,
|
|
73
|
+
'logSetting': request.getLogSetting()?.toDict() ?? null,
|
|
74
|
+
};
|
|
75
|
+
return axios.post(
|
|
76
|
+
url,
|
|
77
|
+
body,
|
|
78
|
+
{
|
|
79
|
+
headers,
|
|
80
|
+
},
|
|
81
|
+
).then((response: any) => {
|
|
82
|
+
return Result.CreateNamespaceResult.fromDict(response.data);
|
|
83
|
+
}).catch((error: any) => {
|
|
84
|
+
if (error.response) {
|
|
85
|
+
throw JSON.parse(error.response.data.message);
|
|
86
|
+
} else {
|
|
87
|
+
throw [];
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
public getNamespaceStatus(request: Request.GetNamespaceStatusRequest): Promise<Result.GetNamespaceStatusResult> {
|
|
93
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/status')
|
|
94
|
+
.replace('{service}', 'ad-reward')
|
|
95
|
+
.replace('{region}', this.session.region)
|
|
96
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
97
|
+
|
|
98
|
+
const headers = this.createAuthorizedHeaders();
|
|
99
|
+
if (request.getRequestId()) {
|
|
100
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
101
|
+
}
|
|
102
|
+
const params: {[key: string]: any} = {
|
|
103
|
+
'contextStack': request.getContextStack() ?? null,
|
|
104
|
+
};
|
|
105
|
+
return axios.get(
|
|
106
|
+
url,
|
|
107
|
+
{
|
|
108
|
+
params,
|
|
109
|
+
headers,
|
|
110
|
+
},
|
|
111
|
+
).then((response: any) => {
|
|
112
|
+
return Result.GetNamespaceStatusResult.fromDict(response.data);
|
|
113
|
+
}).catch((error: any) => {
|
|
114
|
+
throw JSON.parse(error.response.data.message);
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
public getNamespace(request: Request.GetNamespaceRequest): Promise<Result.GetNamespaceResult> {
|
|
119
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
|
|
120
|
+
.replace('{service}', 'ad-reward')
|
|
121
|
+
.replace('{region}', this.session.region)
|
|
122
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
123
|
+
|
|
124
|
+
const headers = this.createAuthorizedHeaders();
|
|
125
|
+
if (request.getRequestId()) {
|
|
126
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
127
|
+
}
|
|
128
|
+
const params: {[key: string]: any} = {
|
|
129
|
+
'contextStack': request.getContextStack() ?? null,
|
|
130
|
+
};
|
|
131
|
+
return axios.get(
|
|
132
|
+
url,
|
|
133
|
+
{
|
|
134
|
+
params,
|
|
135
|
+
headers,
|
|
136
|
+
},
|
|
137
|
+
).then((response: any) => {
|
|
138
|
+
return Result.GetNamespaceResult.fromDict(response.data);
|
|
139
|
+
}).catch((error: any) => {
|
|
140
|
+
throw JSON.parse(error.response.data.message);
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
public updateNamespace(request: Request.UpdateNamespaceRequest): Promise<Result.UpdateNamespaceResult> {
|
|
145
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
|
|
146
|
+
.replace('{service}', 'ad-reward')
|
|
147
|
+
.replace('{region}', this.session.region)
|
|
148
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
149
|
+
|
|
150
|
+
const headers = this.createAuthorizedHeaders();
|
|
151
|
+
if (request.getRequestId()) {
|
|
152
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
153
|
+
}
|
|
154
|
+
const body: {[key: string]: any} = {
|
|
155
|
+
'contextStack': request.getContextStack() ?? null,
|
|
156
|
+
'description': request.getDescription() ?? null,
|
|
157
|
+
'admob': request.getAdmob()?.toDict() ?? null,
|
|
158
|
+
'unityAd': request.getUnityAd()?.toDict() ?? null,
|
|
159
|
+
'changePointNotification': request.getChangePointNotification()?.toDict() ?? null,
|
|
160
|
+
'logSetting': request.getLogSetting()?.toDict() ?? null,
|
|
161
|
+
};
|
|
162
|
+
return axios.put(
|
|
163
|
+
url,
|
|
164
|
+
body,
|
|
165
|
+
{
|
|
166
|
+
headers,
|
|
167
|
+
},
|
|
168
|
+
).then((response: any) => {
|
|
169
|
+
return Result.UpdateNamespaceResult.fromDict(response.data);
|
|
170
|
+
}).catch((error: any) => {
|
|
171
|
+
if (error.response) {
|
|
172
|
+
throw JSON.parse(error.response.data.message);
|
|
173
|
+
} else {
|
|
174
|
+
throw [];
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
public deleteNamespace(request: Request.DeleteNamespaceRequest): Promise<Result.DeleteNamespaceResult> {
|
|
180
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
|
|
181
|
+
.replace('{service}', 'ad-reward')
|
|
182
|
+
.replace('{region}', this.session.region)
|
|
183
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
184
|
+
|
|
185
|
+
const headers = this.createAuthorizedHeaders();
|
|
186
|
+
if (request.getRequestId()) {
|
|
187
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
188
|
+
}
|
|
189
|
+
const params: {[key: string]: any} = {
|
|
190
|
+
'contextStack': request.getContextStack() ?? null,
|
|
191
|
+
};
|
|
192
|
+
return axios.delete(
|
|
193
|
+
url,
|
|
194
|
+
{
|
|
195
|
+
params,
|
|
196
|
+
headers,
|
|
197
|
+
},
|
|
198
|
+
).then((response: any) => {
|
|
199
|
+
return Result.DeleteNamespaceResult.fromDict(response.data);
|
|
200
|
+
}).catch((error: any) => {
|
|
201
|
+
throw JSON.parse(error.response.data.message);
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
public getPoint(request: Request.GetPointRequest): Promise<Result.GetPointResult> {
|
|
206
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/point')
|
|
207
|
+
.replace('{service}', 'ad-reward')
|
|
208
|
+
.replace('{region}', this.session.region)
|
|
209
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
210
|
+
|
|
211
|
+
const headers = this.createAuthorizedHeaders();
|
|
212
|
+
if (request.getRequestId()) {
|
|
213
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
214
|
+
}
|
|
215
|
+
if (request.getAccessToken()) {
|
|
216
|
+
headers['X-GS2-ACCESS-TOKEN'] = request.getAccessToken() ?? null;
|
|
217
|
+
}
|
|
218
|
+
const params: {[key: string]: any} = {
|
|
219
|
+
'contextStack': request.getContextStack() ?? null,
|
|
220
|
+
};
|
|
221
|
+
return axios.get(
|
|
222
|
+
url,
|
|
223
|
+
{
|
|
224
|
+
params,
|
|
225
|
+
headers,
|
|
226
|
+
},
|
|
227
|
+
).then((response: any) => {
|
|
228
|
+
return Result.GetPointResult.fromDict(response.data);
|
|
229
|
+
}).catch((error: any) => {
|
|
230
|
+
throw JSON.parse(error.response.data.message);
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
public getPointByUserId(request: Request.GetPointByUserIdRequest): Promise<Result.GetPointByUserIdResult> {
|
|
235
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/point')
|
|
236
|
+
.replace('{service}', 'ad-reward')
|
|
237
|
+
.replace('{region}', this.session.region)
|
|
238
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
239
|
+
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'));
|
|
240
|
+
|
|
241
|
+
const headers = this.createAuthorizedHeaders();
|
|
242
|
+
if (request.getRequestId()) {
|
|
243
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
244
|
+
}
|
|
245
|
+
const params: {[key: string]: any} = {
|
|
246
|
+
'contextStack': request.getContextStack() ?? null,
|
|
247
|
+
};
|
|
248
|
+
return axios.get(
|
|
249
|
+
url,
|
|
250
|
+
{
|
|
251
|
+
params,
|
|
252
|
+
headers,
|
|
253
|
+
},
|
|
254
|
+
).then((response: any) => {
|
|
255
|
+
return Result.GetPointByUserIdResult.fromDict(response.data);
|
|
256
|
+
}).catch((error: any) => {
|
|
257
|
+
throw JSON.parse(error.response.data.message);
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
public acquirePointByUserId(request: Request.AcquirePointByUserIdRequest): Promise<Result.AcquirePointByUserIdResult> {
|
|
262
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/point/acquire')
|
|
263
|
+
.replace('{service}', 'ad-reward')
|
|
264
|
+
.replace('{region}', this.session.region)
|
|
265
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
266
|
+
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'));
|
|
267
|
+
|
|
268
|
+
const headers = this.createAuthorizedHeaders();
|
|
269
|
+
if (request.getRequestId()) {
|
|
270
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
271
|
+
}
|
|
272
|
+
if (request.getDuplicationAvoider()) {
|
|
273
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
274
|
+
}
|
|
275
|
+
const body: {[key: string]: any} = {
|
|
276
|
+
'contextStack': request.getContextStack() ?? null,
|
|
277
|
+
'point': request.getPoint() ?? null,
|
|
278
|
+
};
|
|
279
|
+
return axios.post(
|
|
280
|
+
url,
|
|
281
|
+
body,
|
|
282
|
+
{
|
|
283
|
+
headers,
|
|
284
|
+
},
|
|
285
|
+
).then((response: any) => {
|
|
286
|
+
return Result.AcquirePointByUserIdResult.fromDict(response.data);
|
|
287
|
+
}).catch((error: any) => {
|
|
288
|
+
if (error.response) {
|
|
289
|
+
throw JSON.parse(error.response.data.message);
|
|
290
|
+
} else {
|
|
291
|
+
throw [];
|
|
292
|
+
}
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
public consumePoint(request: Request.ConsumePointRequest): Promise<Result.ConsumePointResult> {
|
|
297
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/point/consume')
|
|
298
|
+
.replace('{service}', 'ad-reward')
|
|
299
|
+
.replace('{region}', this.session.region)
|
|
300
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
301
|
+
|
|
302
|
+
const headers = this.createAuthorizedHeaders();
|
|
303
|
+
if (request.getRequestId()) {
|
|
304
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
305
|
+
}
|
|
306
|
+
if (request.getAccessToken()) {
|
|
307
|
+
headers['X-GS2-ACCESS-TOKEN'] = request.getAccessToken() ?? null;
|
|
308
|
+
}
|
|
309
|
+
if (request.getDuplicationAvoider()) {
|
|
310
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
311
|
+
}
|
|
312
|
+
const body: {[key: string]: any} = {
|
|
313
|
+
'contextStack': request.getContextStack() ?? null,
|
|
314
|
+
'point': request.getPoint() ?? null,
|
|
315
|
+
};
|
|
316
|
+
return axios.post(
|
|
317
|
+
url,
|
|
318
|
+
body,
|
|
319
|
+
{
|
|
320
|
+
headers,
|
|
321
|
+
},
|
|
322
|
+
).then((response: any) => {
|
|
323
|
+
return Result.ConsumePointResult.fromDict(response.data);
|
|
324
|
+
}).catch((error: any) => {
|
|
325
|
+
if (error.response) {
|
|
326
|
+
throw JSON.parse(error.response.data.message);
|
|
327
|
+
} else {
|
|
328
|
+
throw [];
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
public consumePointByUserId(request: Request.ConsumePointByUserIdRequest): Promise<Result.ConsumePointByUserIdResult> {
|
|
334
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/point/consume')
|
|
335
|
+
.replace('{service}', 'ad-reward')
|
|
336
|
+
.replace('{region}', this.session.region)
|
|
337
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
338
|
+
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'));
|
|
339
|
+
|
|
340
|
+
const headers = this.createAuthorizedHeaders();
|
|
341
|
+
if (request.getRequestId()) {
|
|
342
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
343
|
+
}
|
|
344
|
+
if (request.getDuplicationAvoider()) {
|
|
345
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
346
|
+
}
|
|
347
|
+
const body: {[key: string]: any} = {
|
|
348
|
+
'contextStack': request.getContextStack() ?? null,
|
|
349
|
+
'point': request.getPoint() ?? null,
|
|
350
|
+
};
|
|
351
|
+
return axios.post(
|
|
352
|
+
url,
|
|
353
|
+
body,
|
|
354
|
+
{
|
|
355
|
+
headers,
|
|
356
|
+
},
|
|
357
|
+
).then((response: any) => {
|
|
358
|
+
return Result.ConsumePointByUserIdResult.fromDict(response.data);
|
|
359
|
+
}).catch((error: any) => {
|
|
360
|
+
if (error.response) {
|
|
361
|
+
throw JSON.parse(error.response.data.message);
|
|
362
|
+
} else {
|
|
363
|
+
throw [];
|
|
364
|
+
}
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
public deletePointByUserId(request: Request.DeletePointByUserIdRequest): Promise<Result.DeletePointByUserIdResult> {
|
|
369
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/point/delete')
|
|
370
|
+
.replace('{service}', 'ad-reward')
|
|
371
|
+
.replace('{region}', this.session.region)
|
|
372
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
373
|
+
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'));
|
|
374
|
+
|
|
375
|
+
const headers = this.createAuthorizedHeaders();
|
|
376
|
+
if (request.getRequestId()) {
|
|
377
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
378
|
+
}
|
|
379
|
+
if (request.getDuplicationAvoider()) {
|
|
380
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
381
|
+
}
|
|
382
|
+
const body: {[key: string]: any} = {
|
|
383
|
+
'contextStack': request.getContextStack() ?? null,
|
|
384
|
+
};
|
|
385
|
+
return axios.post(
|
|
386
|
+
url,
|
|
387
|
+
body,
|
|
388
|
+
{
|
|
389
|
+
headers,
|
|
390
|
+
},
|
|
391
|
+
).then((response: any) => {
|
|
392
|
+
return Result.DeletePointByUserIdResult.fromDict(response.data);
|
|
393
|
+
}).catch((error: any) => {
|
|
394
|
+
if (error.response) {
|
|
395
|
+
throw JSON.parse(error.response.data.message);
|
|
396
|
+
} else {
|
|
397
|
+
throw [];
|
|
398
|
+
}
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
public consumePointByStampTask(request: Request.ConsumePointByStampTaskRequest): Promise<Result.ConsumePointByStampTaskResult> {
|
|
403
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/point/consume')
|
|
404
|
+
.replace('{service}', 'ad-reward')
|
|
405
|
+
.replace('{region}', this.session.region);
|
|
406
|
+
|
|
407
|
+
const headers = this.createAuthorizedHeaders();
|
|
408
|
+
if (request.getRequestId()) {
|
|
409
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
410
|
+
}
|
|
411
|
+
const body: {[key: string]: any} = {
|
|
412
|
+
'contextStack': request.getContextStack() ?? null,
|
|
413
|
+
'stampTask': request.getStampTask() ?? null,
|
|
414
|
+
'keyId': request.getKeyId() ?? null,
|
|
415
|
+
};
|
|
416
|
+
return axios.post(
|
|
417
|
+
url,
|
|
418
|
+
body,
|
|
419
|
+
{
|
|
420
|
+
headers,
|
|
421
|
+
},
|
|
422
|
+
).then((response: any) => {
|
|
423
|
+
return Result.ConsumePointByStampTaskResult.fromDict(response.data);
|
|
424
|
+
}).catch((error: any) => {
|
|
425
|
+
if (error.response) {
|
|
426
|
+
throw JSON.parse(error.response.data.message);
|
|
427
|
+
} else {
|
|
428
|
+
throw [];
|
|
429
|
+
}
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
public acquirePointByStampSheet(request: Request.AcquirePointByStampSheetRequest): Promise<Result.AcquirePointByStampSheetResult> {
|
|
434
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/point/acquire')
|
|
435
|
+
.replace('{service}', 'ad-reward')
|
|
436
|
+
.replace('{region}', this.session.region);
|
|
437
|
+
|
|
438
|
+
const headers = this.createAuthorizedHeaders();
|
|
439
|
+
if (request.getRequestId()) {
|
|
440
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
441
|
+
}
|
|
442
|
+
const body: {[key: string]: any} = {
|
|
443
|
+
'contextStack': request.getContextStack() ?? null,
|
|
444
|
+
'stampSheet': request.getStampSheet() ?? null,
|
|
445
|
+
'keyId': request.getKeyId() ?? null,
|
|
446
|
+
};
|
|
447
|
+
return axios.post(
|
|
448
|
+
url,
|
|
449
|
+
body,
|
|
450
|
+
{
|
|
451
|
+
headers,
|
|
452
|
+
},
|
|
453
|
+
).then((response: any) => {
|
|
454
|
+
return Result.AcquirePointByStampSheetResult.fromDict(response.data);
|
|
455
|
+
}).catch((error: any) => {
|
|
456
|
+
if (error.response) {
|
|
457
|
+
throw JSON.parse(error.response.data.message);
|
|
458
|
+
} else {
|
|
459
|
+
throw [];
|
|
460
|
+
}
|
|
461
|
+
});
|
|
462
|
+
}
|
|
463
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2AdReward from '../model';
|
|
3
|
+
export default class AcquirePointByStampSheetResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2AdReward.Point | null;
|
|
6
|
+
setItem(item: Gs2AdReward.Point | null): this;
|
|
7
|
+
withItem(item: Gs2AdReward.Point | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): AcquirePointByStampSheetResult;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 Gs2AdReward = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var AcquirePointByStampSheetResult = /** @class */ (function () {
|
|
21
|
+
function AcquirePointByStampSheetResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
AcquirePointByStampSheetResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
AcquirePointByStampSheetResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
AcquirePointByStampSheetResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
AcquirePointByStampSheetResult.fromDict = function (data) {
|
|
36
|
+
return new AcquirePointByStampSheetResult()
|
|
37
|
+
.withItem(Gs2AdReward.Point.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
AcquirePointByStampSheetResult.prototype.toDict = function () {
|
|
40
|
+
var _a;
|
|
41
|
+
return {
|
|
42
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
return AcquirePointByStampSheetResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = AcquirePointByStampSheetResult;
|
|
48
|
+
//# sourceMappingURL=AcquirePointByStampSheetResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcquirePointByStampSheetResult.js","sourceRoot":"","sources":["AcquirePointByStampSheetResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA2B,IAAI,CAAC;IA0BhD,CAAC;IAxBU,gDAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,gDAAO,GAAd,UAAe,IAA4B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iDAAQ,GAAf,UAAgB,IAA4B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,uCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,8BAA8B,EAAE;aACtC,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC5D,CAAC;IAEM,+CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,qCAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 Gs2AdReward from '../model'
|
|
20
|
+
|
|
21
|
+
export default class AcquirePointByStampSheetResult implements IResult {
|
|
22
|
+
private item: Gs2AdReward.Point|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2AdReward.Point|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2AdReward.Point|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2AdReward.Point|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): AcquirePointByStampSheetResult {
|
|
39
|
+
return new AcquirePointByStampSheetResult()
|
|
40
|
+
.withItem(Gs2AdReward.Point.fromDict(data["item"]));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"item": this.getItem()?.toDict(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2AdReward from '../model';
|
|
3
|
+
export default class AcquirePointByUserIdResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2AdReward.Point | null;
|
|
6
|
+
setItem(item: Gs2AdReward.Point | null): this;
|
|
7
|
+
withItem(item: Gs2AdReward.Point | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): AcquirePointByUserIdResult;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 Gs2AdReward = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var AcquirePointByUserIdResult = /** @class */ (function () {
|
|
21
|
+
function AcquirePointByUserIdResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
AcquirePointByUserIdResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
AcquirePointByUserIdResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
AcquirePointByUserIdResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
AcquirePointByUserIdResult.fromDict = function (data) {
|
|
36
|
+
return new AcquirePointByUserIdResult()
|
|
37
|
+
.withItem(Gs2AdReward.Point.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
AcquirePointByUserIdResult.prototype.toDict = function () {
|
|
40
|
+
var _a;
|
|
41
|
+
return {
|
|
42
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
return AcquirePointByUserIdResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = AcquirePointByUserIdResult;
|
|
48
|
+
//# sourceMappingURL=AcquirePointByUserIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcquirePointByUserIdResult.js","sourceRoot":"","sources":["AcquirePointByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA2B,IAAI,CAAC;IA0BhD,CAAC;IAxBU,4CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,4CAAO,GAAd,UAAe,IAA4B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAQ,GAAf,UAAgB,IAA4B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,mCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,0BAA0B,EAAE;aAClC,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC5D,CAAC;IAEM,2CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,iCAAC;AAAD,CAAC,AA3BD,IA2BC"}
|