gs2 1.4.98 → 1.4.100
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/account/rest.d.ts +1 -0
- package/account/rest.js +445 -444
- package/account/rest.js.map +1 -1
- package/account/rest.ts +67 -65
- package/adReward/rest.d.ts +1 -0
- package/adReward/rest.js +136 -135
- package/adReward/rest.js.map +1 -1
- package/adReward/rest.ts +24 -22
- package/auth/rest.d.ts +1 -0
- package/auth/rest.js +30 -29
- package/auth/rest.js.map +1 -1
- package/auth/rest.ts +7 -5
- package/buff/rest.d.ts +1 -0
- package/buff/rest.js +162 -161
- package/buff/rest.js.map +1 -1
- package/buff/rest.ts +30 -28
- package/chat/rest.d.ts +1 -0
- package/chat/rest.js +396 -395
- package/chat/rest.js.map +1 -1
- package/chat/rest.ts +56 -54
- package/datastore/rest.d.ts +1 -0
- package/datastore/rest.js +282 -281
- package/datastore/rest.js.map +1 -1
- package/datastore/rest.ts +41 -39
- package/deploy/rest.d.ts +1 -0
- package/deploy/rest.js +122 -121
- package/deploy/rest.js.map +1 -1
- package/deploy/rest.ts +26 -24
- package/dictionary/rest.d.ts +1 -0
- package/dictionary/rest.js +317 -316
- package/dictionary/rest.js.map +1 -1
- package/dictionary/rest.ts +53 -51
- package/distributor/rest.d.ts +1 -0
- package/distributor/rest.js +295 -294
- package/distributor/rest.js.map +1 -1
- package/distributor/rest.ts +50 -48
- package/enchant/rest.d.ts +1 -0
- package/enchant/rest.js +375 -374
- package/enchant/rest.js.map +1 -1
- package/enchant/rest.ts +58 -56
- package/enhance/rest.d.ts +1 -0
- package/enhance/rest.js +338 -337
- package/enhance/rest.js.map +1 -1
- package/enhance/rest.ts +52 -50
- package/exchange/rest.d.ts +1 -0
- package/exchange/rest.js +377 -376
- package/exchange/rest.js.map +1 -1
- package/exchange/rest.ts +56 -54
- package/experience/rest.d.ts +1 -0
- package/experience/rest.js +430 -429
- package/experience/rest.js.map +1 -1
- package/experience/rest.ts +62 -60
- package/formation/rest.d.ts +1 -0
- package/formation/rest.js +549 -548
- package/formation/rest.js.map +1 -1
- package/formation/rest.ts +81 -79
- package/freeze/rest.d.ts +1 -0
- package/freeze/rest.js +27 -26
- package/freeze/rest.js.map +1 -1
- package/freeze/rest.ts +8 -6
- package/friend/rest.d.ts +1 -0
- package/friend/rest.js +442 -441
- package/friend/rest.js.map +1 -1
- package/friend/rest.ts +61 -59
- package/gateway/model/WebSocketSession.d.ts +4 -0
- package/gateway/model/WebSocketSession.js +14 -0
- package/gateway/model/WebSocketSession.js.map +1 -1
- package/gateway/model/WebSocketSession.ts +14 -0
- package/gateway/request/SetUserIdByUserIdRequest.d.ts +4 -0
- package/gateway/request/SetUserIdByUserIdRequest.js +14 -0
- package/gateway/request/SetUserIdByUserIdRequest.js.map +1 -1
- package/gateway/request/SetUserIdByUserIdRequest.ts +14 -0
- package/gateway/request/SetUserIdRequest.d.ts +4 -0
- package/gateway/request/SetUserIdRequest.js +14 -0
- package/gateway/request/SetUserIdRequest.js.map +1 -1
- package/gateway/request/SetUserIdRequest.ts +14 -0
- package/gateway/rest.d.ts +1 -0
- package/gateway/rest.js +180 -177
- package/gateway/rest.js.map +1 -1
- package/gateway/rest.ts +32 -28
- package/grade/rest.d.ts +1 -0
- package/grade/rest.js +329 -328
- package/grade/rest.js.map +1 -1
- package/grade/rest.ts +50 -48
- package/guard/rest.d.ts +1 -0
- package/guard/rest.js +34 -33
- package/guard/rest.js.map +1 -1
- package/guard/rest.ts +9 -7
- package/guild/rest.d.ts +1 -0
- package/guild/rest.js +770 -769
- package/guild/rest.js.map +1 -1
- package/guild/rest.ts +95 -93
- package/identifier/rest.d.ts +1 -0
- package/identifier/rest.js +145 -144
- package/identifier/rest.js.map +1 -1
- package/identifier/rest.ts +32 -30
- package/idle/rest.d.ts +1 -0
- package/idle/rest.js +266 -265
- package/idle/rest.js.map +1 -1
- package/idle/rest.ts +44 -42
- package/inbox/rest.d.ts +1 -0
- package/inbox/rest.js +319 -318
- package/inbox/rest.js.map +1 -1
- package/inbox/rest.ts +50 -48
- package/inventory/rest.d.ts +1 -0
- package/inventory/rest.js +1001 -1000
- package/inventory/rest.js.map +1 -1
- package/inventory/rest.ts +137 -135
- package/jobQueue/rest.d.ts +1 -0
- package/jobQueue/rest.js +155 -154
- package/jobQueue/rest.js.map +1 -1
- package/jobQueue/rest.ts +27 -25
- package/key/rest.d.ts +1 -0
- package/key/rest.js +107 -106
- package/key/rest.js.map +1 -1
- package/key/rest.ts +21 -19
- package/limit/rest.d.ts +1 -0
- package/limit/rest.js +264 -263
- package/limit/rest.js.map +1 -1
- package/limit/rest.ts +42 -40
- package/lock/rest.d.ts +1 -0
- package/lock/rest.js +91 -90
- package/lock/rest.js.map +1 -1
- package/lock/rest.ts +16 -14
- package/log/rest.d.ts +1 -0
- package/log/rest.js +220 -219
- package/log/rest.js.map +1 -1
- package/log/rest.ts +25 -23
- package/loginReward/rest.d.ts +1 -0
- package/loginReward/rest.js +268 -267
- package/loginReward/rest.js.map +1 -1
- package/loginReward/rest.ts +43 -41
- package/lottery/rest.d.ts +1 -0
- package/lottery/rest.js +318 -317
- package/lottery/rest.js.map +1 -1
- package/lottery/rest.ts +52 -50
- package/matchmaking/rest.d.ts +1 -0
- package/matchmaking/rest.js +540 -539
- package/matchmaking/rest.js.map +1 -1
- package/matchmaking/rest.ts +75 -73
- package/megaField/rest.d.ts +1 -0
- package/megaField/rest.js +225 -224
- package/megaField/rest.js.map +1 -1
- package/megaField/rest.ts +36 -34
- package/mission/rest.d.ts +1 -0
- package/mission/rest.js +576 -575
- package/mission/rest.js.map +1 -1
- package/mission/rest.ts +81 -79
- package/money/rest.d.ts +1 -0
- package/money/rest.js +201 -200
- package/money/rest.js.map +1 -1
- package/money/rest.ts +31 -29
- package/money2/rest.d.ts +1 -0
- package/money2/rest.js +432 -431
- package/money2/rest.js.map +1 -1
- package/money2/rest.ts +65 -63
- package/news/rest.d.ts +1 -0
- package/news/rest.js +94 -93
- package/news/rest.js.map +1 -1
- package/news/rest.ts +20 -18
- package/package.json +1 -1
- package/project/rest.d.ts +1 -0
- package/project/rest.js +265 -264
- package/project/rest.js.map +1 -1
- package/project/rest.ts +46 -44
- package/quest/rest.d.ts +1 -0
- package/quest/rest.js +338 -337
- package/quest/rest.js.map +1 -1
- package/quest/rest.ts +52 -50
- package/ranking/rest.d.ts +1 -0
- package/ranking/rest.js +337 -336
- package/ranking/rest.js.map +1 -1
- package/ranking/rest.ts +48 -46
- package/ranking2/rest.d.ts +1 -0
- package/ranking2/rest.js +889 -888
- package/ranking2/rest.js.map +1 -1
- package/ranking2/rest.ts +112 -110
- package/realtime/rest.d.ts +1 -0
- package/realtime/rest.js +68 -67
- package/realtime/rest.js.map +1 -1
- package/realtime/rest.ts +14 -12
- package/schedule/rest.d.ts +1 -0
- package/schedule/rest.js +311 -310
- package/schedule/rest.js.map +1 -1
- package/schedule/rest.ts +49 -47
- package/script/rest.d.ts +1 -0
- package/script/rest.js +109 -108
- package/script/rest.js.map +1 -1
- package/script/rest.ts +19 -17
- package/seasonRating/rest.d.ts +1 -0
- package/seasonRating/rest.js +205 -204
- package/seasonRating/rest.js.map +1 -1
- package/seasonRating/rest.ts +37 -35
- package/serialKey/rest.d.ts +1 -0
- package/serialKey/rest.js +246 -245
- package/serialKey/rest.js.map +1 -1
- package/serialKey/rest.ts +44 -42
- package/showcase/rest.d.ts +1 -0
- package/showcase/rest.js +395 -394
- package/showcase/rest.js.map +1 -1
- package/showcase/rest.ts +60 -58
- package/skillTree/rest.d.ts +1 -0
- package/skillTree/rest.js +267 -266
- package/skillTree/rest.js.map +1 -1
- package/skillTree/rest.ts +43 -41
- package/stamina/rest.d.ts +1 -0
- package/stamina/rest.js +596 -595
- package/stamina/rest.js.map +1 -1
- package/stamina/rest.ts +85 -83
- package/stateMachine/rest.d.ts +1 -0
- package/stateMachine/rest.js +208 -207
- package/stateMachine/rest.js.map +1 -1
- package/stateMachine/rest.ts +33 -31
- package/version/rest.d.ts +1 -0
- package/version/rest.js +259 -258
- package/version/rest.js.map +1 -1
- package/version/rest.ts +41 -39
- package/watch/rest.d.ts +1 -0
- package/watch/rest.js +334 -333
- package/watch/rest.js.map +1 -1
- package/watch/rest.ts +80 -78
package/money2/rest.js
CHANGED
|
@@ -26,8 +26,8 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
26
26
|
return _super.call(this, session) || this;
|
|
27
27
|
}
|
|
28
28
|
Gs2Money2RestClient.prototype.describeNamespaces = function (request) {
|
|
29
|
-
var _a, _b, _c, _d;
|
|
30
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/')
|
|
29
|
+
var _a, _b, _c, _d, _e;
|
|
30
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/')
|
|
31
31
|
.replace('{service}', 'money2')
|
|
32
32
|
.replace('{region}', this.session.region);
|
|
33
33
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -35,10 +35,10 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
35
35
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
36
36
|
}
|
|
37
37
|
var params = {
|
|
38
|
-
'contextStack': (
|
|
39
|
-
'namePrefix': String((
|
|
40
|
-
'pageToken': String((
|
|
41
|
-
'limit': String((
|
|
38
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
39
|
+
'namePrefix': String((_c = request.getNamePrefix()) !== null && _c !== void 0 ? _c : null),
|
|
40
|
+
'pageToken': String((_d = request.getPageToken()) !== null && _d !== void 0 ? _d : null),
|
|
41
|
+
'limit': String((_e = request.getLimit()) !== null && _e !== void 0 ? _e : null),
|
|
42
42
|
};
|
|
43
43
|
return axios_1.default.get(url, {
|
|
44
44
|
params: params,
|
|
@@ -50,8 +50,8 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
50
50
|
});
|
|
51
51
|
};
|
|
52
52
|
Gs2Money2RestClient.prototype.createNamespace = function (request) {
|
|
53
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
54
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/')
|
|
53
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
|
54
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/')
|
|
55
55
|
.replace('{service}', 'money2')
|
|
56
56
|
.replace('{region}', this.session.region);
|
|
57
57
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -59,22 +59,22 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
59
59
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
60
60
|
}
|
|
61
61
|
var body = {
|
|
62
|
-
'contextStack': (
|
|
63
|
-
'name': (
|
|
64
|
-
'currencyUsagePriority': (
|
|
65
|
-
'description': (
|
|
66
|
-
'transactionSetting': (
|
|
67
|
-
'sharedFreeCurrency': (
|
|
68
|
-
'platformSetting': (
|
|
69
|
-
'depositBalanceScript': (
|
|
70
|
-
'withdrawBalanceScript': (
|
|
71
|
-
'verifyReceiptScript': (
|
|
72
|
-
'subscribeScript': (
|
|
73
|
-
'renewScript': (
|
|
74
|
-
'unsubscribeScript': (
|
|
75
|
-
'takeOverScript': (
|
|
76
|
-
'changeSubscriptionStatusNotification': (
|
|
77
|
-
'logSetting': (
|
|
62
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
63
|
+
'name': (_c = request.getName()) !== null && _c !== void 0 ? _c : null,
|
|
64
|
+
'currencyUsagePriority': (_d = request.getCurrencyUsagePriority()) !== null && _d !== void 0 ? _d : null,
|
|
65
|
+
'description': (_e = request.getDescription()) !== null && _e !== void 0 ? _e : null,
|
|
66
|
+
'transactionSetting': (_g = (_f = request.getTransactionSetting()) === null || _f === void 0 ? void 0 : _f.toDict()) !== null && _g !== void 0 ? _g : null,
|
|
67
|
+
'sharedFreeCurrency': (_h = request.getSharedFreeCurrency()) !== null && _h !== void 0 ? _h : null,
|
|
68
|
+
'platformSetting': (_k = (_j = request.getPlatformSetting()) === null || _j === void 0 ? void 0 : _j.toDict()) !== null && _k !== void 0 ? _k : null,
|
|
69
|
+
'depositBalanceScript': (_m = (_l = request.getDepositBalanceScript()) === null || _l === void 0 ? void 0 : _l.toDict()) !== null && _m !== void 0 ? _m : null,
|
|
70
|
+
'withdrawBalanceScript': (_p = (_o = request.getWithdrawBalanceScript()) === null || _o === void 0 ? void 0 : _o.toDict()) !== null && _p !== void 0 ? _p : null,
|
|
71
|
+
'verifyReceiptScript': (_r = (_q = request.getVerifyReceiptScript()) === null || _q === void 0 ? void 0 : _q.toDict()) !== null && _r !== void 0 ? _r : null,
|
|
72
|
+
'subscribeScript': (_s = request.getSubscribeScript()) !== null && _s !== void 0 ? _s : null,
|
|
73
|
+
'renewScript': (_t = request.getRenewScript()) !== null && _t !== void 0 ? _t : null,
|
|
74
|
+
'unsubscribeScript': (_u = request.getUnsubscribeScript()) !== null && _u !== void 0 ? _u : null,
|
|
75
|
+
'takeOverScript': (_w = (_v = request.getTakeOverScript()) === null || _v === void 0 ? void 0 : _v.toDict()) !== null && _w !== void 0 ? _w : null,
|
|
76
|
+
'changeSubscriptionStatusNotification': (_y = (_x = request.getChangeSubscriptionStatusNotification()) === null || _x === void 0 ? void 0 : _x.toDict()) !== null && _y !== void 0 ? _y : null,
|
|
77
|
+
'logSetting': (_0 = (_z = request.getLogSetting()) === null || _z === void 0 ? void 0 : _z.toDict()) !== null && _0 !== void 0 ? _0 : null,
|
|
78
78
|
};
|
|
79
79
|
return axios_1.default.post(url, body, {
|
|
80
80
|
headers: headers,
|
|
@@ -90,17 +90,17 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
90
90
|
});
|
|
91
91
|
};
|
|
92
92
|
Gs2Money2RestClient.prototype.getNamespaceStatus = function (request) {
|
|
93
|
-
var _a, _b, _c;
|
|
94
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/status')
|
|
93
|
+
var _a, _b, _c, _d;
|
|
94
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/status')
|
|
95
95
|
.replace('{service}', 'money2')
|
|
96
96
|
.replace('{region}', this.session.region)
|
|
97
|
-
.replace('{namespaceName}', String((
|
|
97
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
98
98
|
var headers = this.createAuthorizedHeaders();
|
|
99
99
|
if (request.getRequestId()) {
|
|
100
100
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
101
101
|
}
|
|
102
102
|
var params = {
|
|
103
|
-
'contextStack': (
|
|
103
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
104
104
|
};
|
|
105
105
|
return axios_1.default.get(url, {
|
|
106
106
|
params: params,
|
|
@@ -112,17 +112,17 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
112
112
|
});
|
|
113
113
|
};
|
|
114
114
|
Gs2Money2RestClient.prototype.getNamespace = function (request) {
|
|
115
|
-
var _a, _b, _c;
|
|
116
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
|
|
115
|
+
var _a, _b, _c, _d;
|
|
116
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
|
|
117
117
|
.replace('{service}', 'money2')
|
|
118
118
|
.replace('{region}', this.session.region)
|
|
119
|
-
.replace('{namespaceName}', String((
|
|
119
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
120
120
|
var headers = this.createAuthorizedHeaders();
|
|
121
121
|
if (request.getRequestId()) {
|
|
122
122
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
123
123
|
}
|
|
124
124
|
var params = {
|
|
125
|
-
'contextStack': (
|
|
125
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
126
126
|
};
|
|
127
127
|
return axios_1.default.get(url, {
|
|
128
128
|
params: params,
|
|
@@ -134,30 +134,30 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
134
134
|
});
|
|
135
135
|
};
|
|
136
136
|
Gs2Money2RestClient.prototype.updateNamespace = function (request) {
|
|
137
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
138
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
|
|
137
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
|
138
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
|
|
139
139
|
.replace('{service}', 'money2')
|
|
140
140
|
.replace('{region}', this.session.region)
|
|
141
|
-
.replace('{namespaceName}', String((
|
|
141
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
142
142
|
var headers = this.createAuthorizedHeaders();
|
|
143
143
|
if (request.getRequestId()) {
|
|
144
144
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
145
145
|
}
|
|
146
146
|
var body = {
|
|
147
|
-
'contextStack': (
|
|
148
|
-
'currencyUsagePriority': (
|
|
149
|
-
'description': (
|
|
150
|
-
'transactionSetting': (
|
|
151
|
-
'platformSetting': (
|
|
152
|
-
'depositBalanceScript': (
|
|
153
|
-
'withdrawBalanceScript': (
|
|
154
|
-
'verifyReceiptScript': (
|
|
155
|
-
'subscribeScript': (
|
|
156
|
-
'renewScript': (
|
|
157
|
-
'unsubscribeScript': (
|
|
158
|
-
'takeOverScript': (
|
|
159
|
-
'changeSubscriptionStatusNotification': (
|
|
160
|
-
'logSetting': (
|
|
147
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
148
|
+
'currencyUsagePriority': (_e = request.getCurrencyUsagePriority()) !== null && _e !== void 0 ? _e : null,
|
|
149
|
+
'description': (_f = request.getDescription()) !== null && _f !== void 0 ? _f : null,
|
|
150
|
+
'transactionSetting': (_h = (_g = request.getTransactionSetting()) === null || _g === void 0 ? void 0 : _g.toDict()) !== null && _h !== void 0 ? _h : null,
|
|
151
|
+
'platformSetting': (_k = (_j = request.getPlatformSetting()) === null || _j === void 0 ? void 0 : _j.toDict()) !== null && _k !== void 0 ? _k : null,
|
|
152
|
+
'depositBalanceScript': (_m = (_l = request.getDepositBalanceScript()) === null || _l === void 0 ? void 0 : _l.toDict()) !== null && _m !== void 0 ? _m : null,
|
|
153
|
+
'withdrawBalanceScript': (_p = (_o = request.getWithdrawBalanceScript()) === null || _o === void 0 ? void 0 : _o.toDict()) !== null && _p !== void 0 ? _p : null,
|
|
154
|
+
'verifyReceiptScript': (_r = (_q = request.getVerifyReceiptScript()) === null || _q === void 0 ? void 0 : _q.toDict()) !== null && _r !== void 0 ? _r : null,
|
|
155
|
+
'subscribeScript': (_s = request.getSubscribeScript()) !== null && _s !== void 0 ? _s : null,
|
|
156
|
+
'renewScript': (_t = request.getRenewScript()) !== null && _t !== void 0 ? _t : null,
|
|
157
|
+
'unsubscribeScript': (_u = request.getUnsubscribeScript()) !== null && _u !== void 0 ? _u : null,
|
|
158
|
+
'takeOverScript': (_w = (_v = request.getTakeOverScript()) === null || _v === void 0 ? void 0 : _v.toDict()) !== null && _w !== void 0 ? _w : null,
|
|
159
|
+
'changeSubscriptionStatusNotification': (_y = (_x = request.getChangeSubscriptionStatusNotification()) === null || _x === void 0 ? void 0 : _x.toDict()) !== null && _y !== void 0 ? _y : null,
|
|
160
|
+
'logSetting': (_0 = (_z = request.getLogSetting()) === null || _z === void 0 ? void 0 : _z.toDict()) !== null && _0 !== void 0 ? _0 : null,
|
|
161
161
|
};
|
|
162
162
|
return axios_1.default.put(url, body, {
|
|
163
163
|
headers: headers,
|
|
@@ -173,17 +173,17 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
173
173
|
});
|
|
174
174
|
};
|
|
175
175
|
Gs2Money2RestClient.prototype.deleteNamespace = function (request) {
|
|
176
|
-
var _a, _b, _c;
|
|
177
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
|
|
176
|
+
var _a, _b, _c, _d;
|
|
177
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
|
|
178
178
|
.replace('{service}', 'money2')
|
|
179
179
|
.replace('{region}', this.session.region)
|
|
180
|
-
.replace('{namespaceName}', String((
|
|
180
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
181
181
|
var headers = this.createAuthorizedHeaders();
|
|
182
182
|
if (request.getRequestId()) {
|
|
183
183
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
184
184
|
}
|
|
185
185
|
var params = {
|
|
186
|
-
'contextStack': (
|
|
186
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
187
187
|
};
|
|
188
188
|
return axios_1.default.delete(url, {
|
|
189
189
|
params: params,
|
|
@@ -195,8 +195,8 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
195
195
|
});
|
|
196
196
|
};
|
|
197
197
|
Gs2Money2RestClient.prototype.getServiceVersion = function (request) {
|
|
198
|
-
var _a;
|
|
199
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/version')
|
|
198
|
+
var _a, _b;
|
|
199
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/version')
|
|
200
200
|
.replace('{service}', 'money2')
|
|
201
201
|
.replace('{region}', this.session.region);
|
|
202
202
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -204,7 +204,7 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
204
204
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
205
205
|
}
|
|
206
206
|
var params = {
|
|
207
|
-
'contextStack': (
|
|
207
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
208
208
|
};
|
|
209
209
|
return axios_1.default.get(url, {
|
|
210
210
|
params: params,
|
|
@@ -216,20 +216,20 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
216
216
|
});
|
|
217
217
|
};
|
|
218
218
|
Gs2Money2RestClient.prototype.dumpUserDataByUserId = function (request) {
|
|
219
|
-
var _a, _b, _c, _d;
|
|
220
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/dump/user/{userId}')
|
|
219
|
+
var _a, _b, _c, _d, _e;
|
|
220
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/dump/user/{userId}')
|
|
221
221
|
.replace('{service}', 'money2')
|
|
222
222
|
.replace('{region}', this.session.region)
|
|
223
|
-
.replace('{userId}', String((
|
|
223
|
+
.replace('{userId}', String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null'));
|
|
224
224
|
var headers = this.createAuthorizedHeaders();
|
|
225
225
|
if (request.getRequestId()) {
|
|
226
226
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
227
227
|
}
|
|
228
228
|
if (request.getTimeOffsetToken()) {
|
|
229
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
229
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
|
|
230
230
|
}
|
|
231
231
|
var body = {
|
|
232
|
-
'contextStack': (
|
|
232
|
+
'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
|
|
233
233
|
};
|
|
234
234
|
return axios_1.default.post(url, body, {
|
|
235
235
|
headers: headers,
|
|
@@ -245,20 +245,20 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
245
245
|
});
|
|
246
246
|
};
|
|
247
247
|
Gs2Money2RestClient.prototype.checkDumpUserDataByUserId = function (request) {
|
|
248
|
-
var _a, _b, _c, _d;
|
|
249
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/dump/user/{userId}')
|
|
248
|
+
var _a, _b, _c, _d, _e;
|
|
249
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/dump/user/{userId}')
|
|
250
250
|
.replace('{service}', 'money2')
|
|
251
251
|
.replace('{region}', this.session.region)
|
|
252
|
-
.replace('{userId}', String((
|
|
252
|
+
.replace('{userId}', String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null'));
|
|
253
253
|
var headers = this.createAuthorizedHeaders();
|
|
254
254
|
if (request.getRequestId()) {
|
|
255
255
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
256
256
|
}
|
|
257
257
|
if (request.getTimeOffsetToken()) {
|
|
258
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
258
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
|
|
259
259
|
}
|
|
260
260
|
var params = {
|
|
261
|
-
'contextStack': (
|
|
261
|
+
'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
|
|
262
262
|
};
|
|
263
263
|
return axios_1.default.get(url, {
|
|
264
264
|
params: params,
|
|
@@ -270,20 +270,20 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
270
270
|
});
|
|
271
271
|
};
|
|
272
272
|
Gs2Money2RestClient.prototype.cleanUserDataByUserId = function (request) {
|
|
273
|
-
var _a, _b, _c, _d;
|
|
274
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/clean/user/{userId}')
|
|
273
|
+
var _a, _b, _c, _d, _e;
|
|
274
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/clean/user/{userId}')
|
|
275
275
|
.replace('{service}', 'money2')
|
|
276
276
|
.replace('{region}', this.session.region)
|
|
277
|
-
.replace('{userId}', String((
|
|
277
|
+
.replace('{userId}', String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null'));
|
|
278
278
|
var headers = this.createAuthorizedHeaders();
|
|
279
279
|
if (request.getRequestId()) {
|
|
280
280
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
281
281
|
}
|
|
282
282
|
if (request.getTimeOffsetToken()) {
|
|
283
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
283
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
|
|
284
284
|
}
|
|
285
285
|
var body = {
|
|
286
|
-
'contextStack': (
|
|
286
|
+
'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
|
|
287
287
|
};
|
|
288
288
|
return axios_1.default.post(url, body, {
|
|
289
289
|
headers: headers,
|
|
@@ -299,20 +299,20 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
299
299
|
});
|
|
300
300
|
};
|
|
301
301
|
Gs2Money2RestClient.prototype.checkCleanUserDataByUserId = function (request) {
|
|
302
|
-
var _a, _b, _c, _d;
|
|
303
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/clean/user/{userId}')
|
|
302
|
+
var _a, _b, _c, _d, _e;
|
|
303
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/clean/user/{userId}')
|
|
304
304
|
.replace('{service}', 'money2')
|
|
305
305
|
.replace('{region}', this.session.region)
|
|
306
|
-
.replace('{userId}', String((
|
|
306
|
+
.replace('{userId}', String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null'));
|
|
307
307
|
var headers = this.createAuthorizedHeaders();
|
|
308
308
|
if (request.getRequestId()) {
|
|
309
309
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
310
310
|
}
|
|
311
311
|
if (request.getTimeOffsetToken()) {
|
|
312
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
312
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
|
|
313
313
|
}
|
|
314
314
|
var params = {
|
|
315
|
-
'contextStack': (
|
|
315
|
+
'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
|
|
316
316
|
};
|
|
317
317
|
return axios_1.default.get(url, {
|
|
318
318
|
params: params,
|
|
@@ -324,20 +324,20 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
324
324
|
});
|
|
325
325
|
};
|
|
326
326
|
Gs2Money2RestClient.prototype.prepareImportUserDataByUserId = function (request) {
|
|
327
|
-
var _a, _b, _c, _d;
|
|
328
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}/prepare')
|
|
327
|
+
var _a, _b, _c, _d, _e;
|
|
328
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}/prepare')
|
|
329
329
|
.replace('{service}', 'money2')
|
|
330
330
|
.replace('{region}', this.session.region)
|
|
331
|
-
.replace('{userId}', String((
|
|
331
|
+
.replace('{userId}', String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null'));
|
|
332
332
|
var headers = this.createAuthorizedHeaders();
|
|
333
333
|
if (request.getRequestId()) {
|
|
334
334
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
335
335
|
}
|
|
336
336
|
if (request.getTimeOffsetToken()) {
|
|
337
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
337
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
|
|
338
338
|
}
|
|
339
339
|
var body = {
|
|
340
|
-
'contextStack': (
|
|
340
|
+
'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
|
|
341
341
|
};
|
|
342
342
|
return axios_1.default.post(url, body, {
|
|
343
343
|
headers: headers,
|
|
@@ -353,21 +353,21 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
353
353
|
});
|
|
354
354
|
};
|
|
355
355
|
Gs2Money2RestClient.prototype.importUserDataByUserId = function (request) {
|
|
356
|
-
var _a, _b, _c, _d, _e;
|
|
357
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}')
|
|
356
|
+
var _a, _b, _c, _d, _e, _f;
|
|
357
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}')
|
|
358
358
|
.replace('{service}', 'money2')
|
|
359
359
|
.replace('{region}', this.session.region)
|
|
360
|
-
.replace('{userId}', String((
|
|
360
|
+
.replace('{userId}', String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null'));
|
|
361
361
|
var headers = this.createAuthorizedHeaders();
|
|
362
362
|
if (request.getRequestId()) {
|
|
363
363
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
364
364
|
}
|
|
365
365
|
if (request.getTimeOffsetToken()) {
|
|
366
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
366
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
|
|
367
367
|
}
|
|
368
368
|
var body = {
|
|
369
|
-
'contextStack': (
|
|
370
|
-
'uploadToken': (
|
|
369
|
+
'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
|
|
370
|
+
'uploadToken': (_f = request.getUploadToken()) !== null && _f !== void 0 ? _f : null,
|
|
371
371
|
};
|
|
372
372
|
return axios_1.default.post(url, body, {
|
|
373
373
|
headers: headers,
|
|
@@ -383,21 +383,21 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
383
383
|
});
|
|
384
384
|
};
|
|
385
385
|
Gs2Money2RestClient.prototype.checkImportUserDataByUserId = function (request) {
|
|
386
|
-
var _a, _b, _c, _d, _e, _f;
|
|
387
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}/{uploadToken}')
|
|
386
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
387
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}/{uploadToken}')
|
|
388
388
|
.replace('{service}', 'money2')
|
|
389
389
|
.replace('{region}', this.session.region)
|
|
390
|
-
.replace('{userId}', String((
|
|
391
|
-
.replace('{uploadToken}', String((
|
|
390
|
+
.replace('{userId}', String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null'))
|
|
391
|
+
.replace('{uploadToken}', String((_d = request.getUploadToken()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUploadToken()) !== null && _e !== void 0 ? _e : 'null'));
|
|
392
392
|
var headers = this.createAuthorizedHeaders();
|
|
393
393
|
if (request.getRequestId()) {
|
|
394
394
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
395
395
|
}
|
|
396
396
|
if (request.getTimeOffsetToken()) {
|
|
397
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
397
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_f = request.getTimeOffsetToken()) !== null && _f !== void 0 ? _f : null;
|
|
398
398
|
}
|
|
399
399
|
var params = {
|
|
400
|
-
'contextStack': (
|
|
400
|
+
'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
|
|
401
401
|
};
|
|
402
402
|
return axios_1.default.get(url, {
|
|
403
403
|
params: params,
|
|
@@ -409,22 +409,22 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
409
409
|
});
|
|
410
410
|
};
|
|
411
411
|
Gs2Money2RestClient.prototype.describeWallets = function (request) {
|
|
412
|
-
var _a, _b, _c, _d, _e, _f;
|
|
413
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/wallet')
|
|
412
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
413
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/wallet')
|
|
414
414
|
.replace('{service}', 'money2')
|
|
415
415
|
.replace('{region}', this.session.region)
|
|
416
|
-
.replace('{namespaceName}', String((
|
|
416
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
417
417
|
var headers = this.createAuthorizedHeaders();
|
|
418
418
|
if (request.getRequestId()) {
|
|
419
419
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
420
420
|
}
|
|
421
421
|
if (request.getAccessToken()) {
|
|
422
|
-
headers['X-GS2-ACCESS-TOKEN'] = (
|
|
422
|
+
headers['X-GS2-ACCESS-TOKEN'] = (_d = request.getAccessToken()) !== null && _d !== void 0 ? _d : null;
|
|
423
423
|
}
|
|
424
424
|
var params = {
|
|
425
|
-
'contextStack': (
|
|
426
|
-
'pageToken': String((
|
|
427
|
-
'limit': String((
|
|
425
|
+
'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
|
|
426
|
+
'pageToken': String((_f = request.getPageToken()) !== null && _f !== void 0 ? _f : null),
|
|
427
|
+
'limit': String((_g = request.getLimit()) !== null && _g !== void 0 ? _g : null),
|
|
428
428
|
};
|
|
429
429
|
return axios_1.default.get(url, {
|
|
430
430
|
params: params,
|
|
@@ -436,23 +436,23 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
436
436
|
});
|
|
437
437
|
};
|
|
438
438
|
Gs2Money2RestClient.prototype.describeWalletsByUserId = function (request) {
|
|
439
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
440
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/wallet')
|
|
439
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
440
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/wallet')
|
|
441
441
|
.replace('{service}', 'money2')
|
|
442
442
|
.replace('{region}', this.session.region)
|
|
443
|
-
.replace('{namespaceName}', String((
|
|
444
|
-
.replace('{userId}', String((
|
|
443
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
444
|
+
.replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'));
|
|
445
445
|
var headers = this.createAuthorizedHeaders();
|
|
446
446
|
if (request.getRequestId()) {
|
|
447
447
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
448
448
|
}
|
|
449
449
|
if (request.getTimeOffsetToken()) {
|
|
450
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
450
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_f = request.getTimeOffsetToken()) !== null && _f !== void 0 ? _f : null;
|
|
451
451
|
}
|
|
452
452
|
var params = {
|
|
453
|
-
'contextStack': (
|
|
454
|
-
'pageToken': String((
|
|
455
|
-
'limit': String((
|
|
453
|
+
'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
|
|
454
|
+
'pageToken': String((_h = request.getPageToken()) !== null && _h !== void 0 ? _h : null),
|
|
455
|
+
'limit': String((_j = request.getLimit()) !== null && _j !== void 0 ? _j : null),
|
|
456
456
|
};
|
|
457
457
|
return axios_1.default.get(url, {
|
|
458
458
|
params: params,
|
|
@@ -464,21 +464,21 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
464
464
|
});
|
|
465
465
|
};
|
|
466
466
|
Gs2Money2RestClient.prototype.getWallet = function (request) {
|
|
467
|
-
var _a, _b, _c, _d, _e, _f;
|
|
468
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/wallet/{slot}')
|
|
467
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
468
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/wallet/{slot}')
|
|
469
469
|
.replace('{service}', 'money2')
|
|
470
470
|
.replace('{region}', this.session.region)
|
|
471
|
-
.replace('{namespaceName}', String((
|
|
472
|
-
.replace('{slot}', String((
|
|
471
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
472
|
+
.replace('{slot}', String((_d = request.getSlot()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSlot()) !== null && _e !== void 0 ? _e : 'null'));
|
|
473
473
|
var headers = this.createAuthorizedHeaders();
|
|
474
474
|
if (request.getRequestId()) {
|
|
475
475
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
476
476
|
}
|
|
477
477
|
if (request.getAccessToken()) {
|
|
478
|
-
headers['X-GS2-ACCESS-TOKEN'] = (
|
|
478
|
+
headers['X-GS2-ACCESS-TOKEN'] = (_f = request.getAccessToken()) !== null && _f !== void 0 ? _f : null;
|
|
479
479
|
}
|
|
480
480
|
var params = {
|
|
481
|
-
'contextStack': (
|
|
481
|
+
'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
|
|
482
482
|
};
|
|
483
483
|
return axios_1.default.get(url, {
|
|
484
484
|
params: params,
|
|
@@ -490,22 +490,22 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
490
490
|
});
|
|
491
491
|
};
|
|
492
492
|
Gs2Money2RestClient.prototype.getWalletByUserId = function (request) {
|
|
493
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
494
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/wallet/{slot}')
|
|
493
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
494
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/wallet/{slot}')
|
|
495
495
|
.replace('{service}', 'money2')
|
|
496
496
|
.replace('{region}', this.session.region)
|
|
497
|
-
.replace('{namespaceName}', String((
|
|
498
|
-
.replace('{userId}', String((
|
|
499
|
-
.replace('{slot}', String((
|
|
497
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
498
|
+
.replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'))
|
|
499
|
+
.replace('{slot}', String((_f = request.getSlot()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getSlot()) !== null && _g !== void 0 ? _g : 'null'));
|
|
500
500
|
var headers = this.createAuthorizedHeaders();
|
|
501
501
|
if (request.getRequestId()) {
|
|
502
502
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
503
503
|
}
|
|
504
504
|
if (request.getTimeOffsetToken()) {
|
|
505
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
505
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_h = request.getTimeOffsetToken()) !== null && _h !== void 0 ? _h : null;
|
|
506
506
|
}
|
|
507
507
|
var params = {
|
|
508
|
-
'contextStack': (
|
|
508
|
+
'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
|
|
509
509
|
};
|
|
510
510
|
return axios_1.default.get(url, {
|
|
511
511
|
params: params,
|
|
@@ -517,26 +517,26 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
517
517
|
});
|
|
518
518
|
};
|
|
519
519
|
Gs2Money2RestClient.prototype.depositByUserId = function (request) {
|
|
520
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
521
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/wallet/{slot}/deposit')
|
|
520
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
521
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/wallet/{slot}/deposit')
|
|
522
522
|
.replace('{service}', 'money2')
|
|
523
523
|
.replace('{region}', this.session.region)
|
|
524
|
-
.replace('{namespaceName}', String((
|
|
525
|
-
.replace('{userId}', String((
|
|
526
|
-
.replace('{slot}', String((
|
|
524
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
525
|
+
.replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'))
|
|
526
|
+
.replace('{slot}', String((_f = request.getSlot()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getSlot()) !== null && _g !== void 0 ? _g : 'null'));
|
|
527
527
|
var headers = this.createAuthorizedHeaders();
|
|
528
528
|
if (request.getRequestId()) {
|
|
529
529
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
530
530
|
}
|
|
531
531
|
if (request.getDuplicationAvoider()) {
|
|
532
|
-
headers['X-GS2-DUPLICATION-AVOIDER'] = (
|
|
532
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = (_h = request.getDuplicationAvoider()) !== null && _h !== void 0 ? _h : null;
|
|
533
533
|
}
|
|
534
534
|
if (request.getTimeOffsetToken()) {
|
|
535
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
535
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_j = request.getTimeOffsetToken()) !== null && _j !== void 0 ? _j : null;
|
|
536
536
|
}
|
|
537
537
|
var body = {
|
|
538
|
-
'contextStack': (
|
|
539
|
-
'depositTransactions': (
|
|
538
|
+
'contextStack': (_k = request.getContextStack()) !== null && _k !== void 0 ? _k : null,
|
|
539
|
+
'depositTransactions': (_m = (_l = request.getDepositTransactions()) === null || _l === void 0 ? void 0 : _l.map(function (item) { return item.toDict(); })) !== null && _m !== void 0 ? _m : null,
|
|
540
540
|
};
|
|
541
541
|
return axios_1.default.post(url, body, {
|
|
542
542
|
headers: headers,
|
|
@@ -552,26 +552,26 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
552
552
|
});
|
|
553
553
|
};
|
|
554
554
|
Gs2Money2RestClient.prototype.withdraw = function (request) {
|
|
555
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
556
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/wallet/{slot}/withdraw')
|
|
555
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
556
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/wallet/{slot}/withdraw')
|
|
557
557
|
.replace('{service}', 'money2')
|
|
558
558
|
.replace('{region}', this.session.region)
|
|
559
|
-
.replace('{namespaceName}', String((
|
|
560
|
-
.replace('{slot}', String((
|
|
559
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
560
|
+
.replace('{slot}', String((_d = request.getSlot()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSlot()) !== null && _e !== void 0 ? _e : 'null'));
|
|
561
561
|
var headers = this.createAuthorizedHeaders();
|
|
562
562
|
if (request.getRequestId()) {
|
|
563
563
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
564
564
|
}
|
|
565
565
|
if (request.getAccessToken()) {
|
|
566
|
-
headers['X-GS2-ACCESS-TOKEN'] = (
|
|
566
|
+
headers['X-GS2-ACCESS-TOKEN'] = (_f = request.getAccessToken()) !== null && _f !== void 0 ? _f : null;
|
|
567
567
|
}
|
|
568
568
|
if (request.getDuplicationAvoider()) {
|
|
569
|
-
headers['X-GS2-DUPLICATION-AVOIDER'] = (
|
|
569
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = (_g = request.getDuplicationAvoider()) !== null && _g !== void 0 ? _g : null;
|
|
570
570
|
}
|
|
571
571
|
var body = {
|
|
572
|
-
'contextStack': (
|
|
573
|
-
'withdrawCount': (
|
|
574
|
-
'paidOnly': (
|
|
572
|
+
'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
|
|
573
|
+
'withdrawCount': (_j = request.getWithdrawCount()) !== null && _j !== void 0 ? _j : null,
|
|
574
|
+
'paidOnly': (_k = request.getPaidOnly()) !== null && _k !== void 0 ? _k : null,
|
|
575
575
|
};
|
|
576
576
|
return axios_1.default.post(url, body, {
|
|
577
577
|
headers: headers,
|
|
@@ -587,27 +587,27 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
587
587
|
});
|
|
588
588
|
};
|
|
589
589
|
Gs2Money2RestClient.prototype.withdrawByUserId = function (request) {
|
|
590
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
591
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/wallet/{slot}/withdraw')
|
|
590
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
591
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/wallet/{slot}/withdraw')
|
|
592
592
|
.replace('{service}', 'money2')
|
|
593
593
|
.replace('{region}', this.session.region)
|
|
594
|
-
.replace('{namespaceName}', String((
|
|
595
|
-
.replace('{userId}', String((
|
|
596
|
-
.replace('{slot}', String((
|
|
594
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
595
|
+
.replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'))
|
|
596
|
+
.replace('{slot}', String((_f = request.getSlot()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getSlot()) !== null && _g !== void 0 ? _g : 'null'));
|
|
597
597
|
var headers = this.createAuthorizedHeaders();
|
|
598
598
|
if (request.getRequestId()) {
|
|
599
599
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
600
600
|
}
|
|
601
601
|
if (request.getDuplicationAvoider()) {
|
|
602
|
-
headers['X-GS2-DUPLICATION-AVOIDER'] = (
|
|
602
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = (_h = request.getDuplicationAvoider()) !== null && _h !== void 0 ? _h : null;
|
|
603
603
|
}
|
|
604
604
|
if (request.getTimeOffsetToken()) {
|
|
605
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
605
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_j = request.getTimeOffsetToken()) !== null && _j !== void 0 ? _j : null;
|
|
606
606
|
}
|
|
607
607
|
var body = {
|
|
608
|
-
'contextStack': (
|
|
609
|
-
'withdrawCount': (
|
|
610
|
-
'paidOnly': (
|
|
608
|
+
'contextStack': (_k = request.getContextStack()) !== null && _k !== void 0 ? _k : null,
|
|
609
|
+
'withdrawCount': (_l = request.getWithdrawCount()) !== null && _l !== void 0 ? _l : null,
|
|
610
|
+
'paidOnly': (_m = request.getPaidOnly()) !== null && _m !== void 0 ? _m : null,
|
|
611
611
|
};
|
|
612
612
|
return axios_1.default.post(url, body, {
|
|
613
613
|
headers: headers,
|
|
@@ -623,8 +623,8 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
623
623
|
});
|
|
624
624
|
};
|
|
625
625
|
Gs2Money2RestClient.prototype.depositByStampSheet = function (request) {
|
|
626
|
-
var _a, _b, _c;
|
|
627
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/deposit')
|
|
626
|
+
var _a, _b, _c, _d;
|
|
627
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/deposit')
|
|
628
628
|
.replace('{service}', 'money2')
|
|
629
629
|
.replace('{region}', this.session.region);
|
|
630
630
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -632,9 +632,9 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
632
632
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
633
633
|
}
|
|
634
634
|
var body = {
|
|
635
|
-
'contextStack': (
|
|
636
|
-
'stampSheet': (
|
|
637
|
-
'keyId': (
|
|
635
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
636
|
+
'stampSheet': (_c = request.getStampSheet()) !== null && _c !== void 0 ? _c : null,
|
|
637
|
+
'keyId': (_d = request.getKeyId()) !== null && _d !== void 0 ? _d : null,
|
|
638
638
|
};
|
|
639
639
|
return axios_1.default.post(url, body, {
|
|
640
640
|
headers: headers,
|
|
@@ -650,8 +650,8 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
650
650
|
});
|
|
651
651
|
};
|
|
652
652
|
Gs2Money2RestClient.prototype.withdrawByStampTask = function (request) {
|
|
653
|
-
var _a, _b, _c;
|
|
654
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/withdraw')
|
|
653
|
+
var _a, _b, _c, _d;
|
|
654
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/withdraw')
|
|
655
655
|
.replace('{service}', 'money2')
|
|
656
656
|
.replace('{region}', this.session.region);
|
|
657
657
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -659,9 +659,9 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
659
659
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
660
660
|
}
|
|
661
661
|
var body = {
|
|
662
|
-
'contextStack': (
|
|
663
|
-
'stampTask': (
|
|
664
|
-
'keyId': (
|
|
662
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
663
|
+
'stampTask': (_c = request.getStampTask()) !== null && _c !== void 0 ? _c : null,
|
|
664
|
+
'keyId': (_d = request.getKeyId()) !== null && _d !== void 0 ? _d : null,
|
|
665
665
|
};
|
|
666
666
|
return axios_1.default.post(url, body, {
|
|
667
667
|
headers: headers,
|
|
@@ -677,25 +677,25 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
677
677
|
});
|
|
678
678
|
};
|
|
679
679
|
Gs2Money2RestClient.prototype.describeEventsByUserId = function (request) {
|
|
680
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
681
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/event/user/{userId}')
|
|
680
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
681
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/event/user/{userId}')
|
|
682
682
|
.replace('{service}', 'money2')
|
|
683
683
|
.replace('{region}', this.session.region)
|
|
684
|
-
.replace('{namespaceName}', String((
|
|
685
|
-
.replace('{userId}', String((
|
|
684
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
685
|
+
.replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'));
|
|
686
686
|
var headers = this.createAuthorizedHeaders();
|
|
687
687
|
if (request.getRequestId()) {
|
|
688
688
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
689
689
|
}
|
|
690
690
|
if (request.getTimeOffsetToken()) {
|
|
691
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
691
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_f = request.getTimeOffsetToken()) !== null && _f !== void 0 ? _f : null;
|
|
692
692
|
}
|
|
693
693
|
var params = {
|
|
694
|
-
'contextStack': (
|
|
695
|
-
'begin': String((
|
|
696
|
-
'end': String((
|
|
697
|
-
'pageToken': String((
|
|
698
|
-
'limit': String((
|
|
694
|
+
'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
|
|
695
|
+
'begin': String((_h = request.getBegin()) !== null && _h !== void 0 ? _h : null),
|
|
696
|
+
'end': String((_j = request.getEnd()) !== null && _j !== void 0 ? _j : null),
|
|
697
|
+
'pageToken': String((_k = request.getPageToken()) !== null && _k !== void 0 ? _k : null),
|
|
698
|
+
'limit': String((_l = request.getLimit()) !== null && _l !== void 0 ? _l : null),
|
|
699
699
|
};
|
|
700
700
|
return axios_1.default.get(url, {
|
|
701
701
|
params: params,
|
|
@@ -707,18 +707,18 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
707
707
|
});
|
|
708
708
|
};
|
|
709
709
|
Gs2Money2RestClient.prototype.getEventByTransactionId = function (request) {
|
|
710
|
-
var _a, _b, _c, _d, _e;
|
|
711
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/event/{transactionId}')
|
|
710
|
+
var _a, _b, _c, _d, _e, _f;
|
|
711
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/event/{transactionId}')
|
|
712
712
|
.replace('{service}', 'money2')
|
|
713
713
|
.replace('{region}', this.session.region)
|
|
714
|
-
.replace('{namespaceName}', String((
|
|
715
|
-
.replace('{transactionId}', String((
|
|
714
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
715
|
+
.replace('{transactionId}', String((_d = request.getTransactionId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getTransactionId()) !== null && _e !== void 0 ? _e : 'null'));
|
|
716
716
|
var headers = this.createAuthorizedHeaders();
|
|
717
717
|
if (request.getRequestId()) {
|
|
718
718
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
719
719
|
}
|
|
720
720
|
var params = {
|
|
721
|
-
'contextStack': (
|
|
721
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
722
722
|
};
|
|
723
723
|
return axios_1.default.get(url, {
|
|
724
724
|
params: params,
|
|
@@ -730,25 +730,25 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
730
730
|
});
|
|
731
731
|
};
|
|
732
732
|
Gs2Money2RestClient.prototype.verifyReceipt = function (request) {
|
|
733
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
734
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/content/{contentName}/receipt/verify')
|
|
733
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
734
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/content/{contentName}/receipt/verify')
|
|
735
735
|
.replace('{service}', 'money2')
|
|
736
736
|
.replace('{region}', this.session.region)
|
|
737
|
-
.replace('{namespaceName}', String((
|
|
738
|
-
.replace('{contentName}', String((
|
|
737
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
738
|
+
.replace('{contentName}', String((_d = request.getContentName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getContentName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
739
739
|
var headers = this.createAuthorizedHeaders();
|
|
740
740
|
if (request.getRequestId()) {
|
|
741
741
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
742
742
|
}
|
|
743
743
|
if (request.getAccessToken()) {
|
|
744
|
-
headers['X-GS2-ACCESS-TOKEN'] = (
|
|
744
|
+
headers['X-GS2-ACCESS-TOKEN'] = (_f = request.getAccessToken()) !== null && _f !== void 0 ? _f : null;
|
|
745
745
|
}
|
|
746
746
|
if (request.getDuplicationAvoider()) {
|
|
747
|
-
headers['X-GS2-DUPLICATION-AVOIDER'] = (
|
|
747
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = (_g = request.getDuplicationAvoider()) !== null && _g !== void 0 ? _g : null;
|
|
748
748
|
}
|
|
749
749
|
var body = {
|
|
750
|
-
'contextStack': (
|
|
751
|
-
'receipt': (
|
|
750
|
+
'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
|
|
751
|
+
'receipt': (_k = (_j = request.getReceipt()) === null || _j === void 0 ? void 0 : _j.toDict()) !== null && _k !== void 0 ? _k : null,
|
|
752
752
|
};
|
|
753
753
|
return axios_1.default.post(url, body, {
|
|
754
754
|
headers: headers,
|
|
@@ -764,26 +764,26 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
764
764
|
});
|
|
765
765
|
};
|
|
766
766
|
Gs2Money2RestClient.prototype.verifyReceiptByUserId = function (request) {
|
|
767
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
768
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/content/{contentName}/receipt/verify')
|
|
767
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
768
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/content/{contentName}/receipt/verify')
|
|
769
769
|
.replace('{service}', 'money2')
|
|
770
770
|
.replace('{region}', this.session.region)
|
|
771
|
-
.replace('{namespaceName}', String((
|
|
772
|
-
.replace('{userId}', String((
|
|
773
|
-
.replace('{contentName}', String((
|
|
771
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
772
|
+
.replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'))
|
|
773
|
+
.replace('{contentName}', String((_f = request.getContentName()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getContentName()) !== null && _g !== void 0 ? _g : 'null'));
|
|
774
774
|
var headers = this.createAuthorizedHeaders();
|
|
775
775
|
if (request.getRequestId()) {
|
|
776
776
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
777
777
|
}
|
|
778
778
|
if (request.getDuplicationAvoider()) {
|
|
779
|
-
headers['X-GS2-DUPLICATION-AVOIDER'] = (
|
|
779
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = (_h = request.getDuplicationAvoider()) !== null && _h !== void 0 ? _h : null;
|
|
780
780
|
}
|
|
781
781
|
if (request.getTimeOffsetToken()) {
|
|
782
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
782
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_j = request.getTimeOffsetToken()) !== null && _j !== void 0 ? _j : null;
|
|
783
783
|
}
|
|
784
784
|
var body = {
|
|
785
|
-
'contextStack': (
|
|
786
|
-
'receipt': (
|
|
785
|
+
'contextStack': (_k = request.getContextStack()) !== null && _k !== void 0 ? _k : null,
|
|
786
|
+
'receipt': (_m = (_l = request.getReceipt()) === null || _l === void 0 ? void 0 : _l.toDict()) !== null && _m !== void 0 ? _m : null,
|
|
787
787
|
};
|
|
788
788
|
return axios_1.default.post(url, body, {
|
|
789
789
|
headers: headers,
|
|
@@ -799,8 +799,8 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
799
799
|
});
|
|
800
800
|
};
|
|
801
801
|
Gs2Money2RestClient.prototype.verifyReceiptByStampTask = function (request) {
|
|
802
|
-
var _a, _b, _c;
|
|
803
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/receipt/verify')
|
|
802
|
+
var _a, _b, _c, _d;
|
|
803
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/receipt/verify')
|
|
804
804
|
.replace('{service}', 'money2')
|
|
805
805
|
.replace('{region}', this.session.region);
|
|
806
806
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -808,9 +808,9 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
808
808
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
809
809
|
}
|
|
810
810
|
var body = {
|
|
811
|
-
'contextStack': (
|
|
812
|
-
'stampTask': (
|
|
813
|
-
'keyId': (
|
|
811
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
812
|
+
'stampTask': (_c = request.getStampTask()) !== null && _c !== void 0 ? _c : null,
|
|
813
|
+
'keyId': (_d = request.getKeyId()) !== null && _d !== void 0 ? _d : null,
|
|
814
814
|
};
|
|
815
815
|
return axios_1.default.post(url, body, {
|
|
816
816
|
headers: headers,
|
|
@@ -826,20 +826,20 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
826
826
|
});
|
|
827
827
|
};
|
|
828
828
|
Gs2Money2RestClient.prototype.describeSubscriptionStatuses = function (request) {
|
|
829
|
-
var _a, _b, _c, _d;
|
|
830
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/subscription')
|
|
829
|
+
var _a, _b, _c, _d, _e;
|
|
830
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/subscription')
|
|
831
831
|
.replace('{service}', 'money2')
|
|
832
832
|
.replace('{region}', this.session.region)
|
|
833
|
-
.replace('{namespaceName}', String((
|
|
833
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
834
834
|
var headers = this.createAuthorizedHeaders();
|
|
835
835
|
if (request.getRequestId()) {
|
|
836
836
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
837
837
|
}
|
|
838
838
|
if (request.getAccessToken()) {
|
|
839
|
-
headers['X-GS2-ACCESS-TOKEN'] = (
|
|
839
|
+
headers['X-GS2-ACCESS-TOKEN'] = (_d = request.getAccessToken()) !== null && _d !== void 0 ? _d : null;
|
|
840
840
|
}
|
|
841
841
|
var params = {
|
|
842
|
-
'contextStack': (
|
|
842
|
+
'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
|
|
843
843
|
};
|
|
844
844
|
return axios_1.default.get(url, {
|
|
845
845
|
params: params,
|
|
@@ -851,21 +851,21 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
851
851
|
});
|
|
852
852
|
};
|
|
853
853
|
Gs2Money2RestClient.prototype.describeSubscriptionStatusesByUserId = function (request) {
|
|
854
|
-
var _a, _b, _c, _d, _e, _f;
|
|
855
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/subscription')
|
|
854
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
855
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/subscription')
|
|
856
856
|
.replace('{service}', 'money2')
|
|
857
857
|
.replace('{region}', this.session.region)
|
|
858
|
-
.replace('{namespaceName}', String((
|
|
859
|
-
.replace('{userId}', String((
|
|
858
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
859
|
+
.replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'));
|
|
860
860
|
var headers = this.createAuthorizedHeaders();
|
|
861
861
|
if (request.getRequestId()) {
|
|
862
862
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
863
863
|
}
|
|
864
864
|
if (request.getTimeOffsetToken()) {
|
|
865
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
865
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_f = request.getTimeOffsetToken()) !== null && _f !== void 0 ? _f : null;
|
|
866
866
|
}
|
|
867
867
|
var params = {
|
|
868
|
-
'contextStack': (
|
|
868
|
+
'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
|
|
869
869
|
};
|
|
870
870
|
return axios_1.default.get(url, {
|
|
871
871
|
params: params,
|
|
@@ -877,21 +877,21 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
877
877
|
});
|
|
878
878
|
};
|
|
879
879
|
Gs2Money2RestClient.prototype.getSubscriptionStatus = function (request) {
|
|
880
|
-
var _a, _b, _c, _d, _e, _f;
|
|
881
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/subscription/{contentName}')
|
|
880
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
881
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/subscription/{contentName}')
|
|
882
882
|
.replace('{service}', 'money2')
|
|
883
883
|
.replace('{region}', this.session.region)
|
|
884
|
-
.replace('{namespaceName}', String((
|
|
885
|
-
.replace('{contentName}', String((
|
|
884
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
885
|
+
.replace('{contentName}', String((_d = request.getContentName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getContentName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
886
886
|
var headers = this.createAuthorizedHeaders();
|
|
887
887
|
if (request.getRequestId()) {
|
|
888
888
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
889
889
|
}
|
|
890
890
|
if (request.getAccessToken()) {
|
|
891
|
-
headers['X-GS2-ACCESS-TOKEN'] = (
|
|
891
|
+
headers['X-GS2-ACCESS-TOKEN'] = (_f = request.getAccessToken()) !== null && _f !== void 0 ? _f : null;
|
|
892
892
|
}
|
|
893
893
|
var params = {
|
|
894
|
-
'contextStack': (
|
|
894
|
+
'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
|
|
895
895
|
};
|
|
896
896
|
return axios_1.default.get(url, {
|
|
897
897
|
params: params,
|
|
@@ -903,22 +903,22 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
903
903
|
});
|
|
904
904
|
};
|
|
905
905
|
Gs2Money2RestClient.prototype.getSubscriptionStatusByUserId = function (request) {
|
|
906
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
907
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/subscription/{contentName}')
|
|
906
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
907
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/subscription/{contentName}')
|
|
908
908
|
.replace('{service}', 'money2')
|
|
909
909
|
.replace('{region}', this.session.region)
|
|
910
|
-
.replace('{namespaceName}', String((
|
|
911
|
-
.replace('{userId}', String((
|
|
912
|
-
.replace('{contentName}', String((
|
|
910
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
911
|
+
.replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'))
|
|
912
|
+
.replace('{contentName}', String((_f = request.getContentName()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getContentName()) !== null && _g !== void 0 ? _g : 'null'));
|
|
913
913
|
var headers = this.createAuthorizedHeaders();
|
|
914
914
|
if (request.getRequestId()) {
|
|
915
915
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
916
916
|
}
|
|
917
917
|
if (request.getTimeOffsetToken()) {
|
|
918
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
918
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_h = request.getTimeOffsetToken()) !== null && _h !== void 0 ? _h : null;
|
|
919
919
|
}
|
|
920
920
|
var params = {
|
|
921
|
-
'contextStack': (
|
|
921
|
+
'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
|
|
922
922
|
};
|
|
923
923
|
return axios_1.default.get(url, {
|
|
924
924
|
params: params,
|
|
@@ -930,24 +930,24 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
930
930
|
});
|
|
931
931
|
};
|
|
932
932
|
Gs2Money2RestClient.prototype.allocateSubscriptionStatus = function (request) {
|
|
933
|
-
var _a, _b, _c, _d, _e, _f;
|
|
934
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/allocate/subscription')
|
|
933
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
934
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/allocate/subscription')
|
|
935
935
|
.replace('{service}', 'money2')
|
|
936
936
|
.replace('{region}', this.session.region)
|
|
937
|
-
.replace('{namespaceName}', String((
|
|
937
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
938
938
|
var headers = this.createAuthorizedHeaders();
|
|
939
939
|
if (request.getRequestId()) {
|
|
940
940
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
941
941
|
}
|
|
942
942
|
if (request.getAccessToken()) {
|
|
943
|
-
headers['X-GS2-ACCESS-TOKEN'] = (
|
|
943
|
+
headers['X-GS2-ACCESS-TOKEN'] = (_d = request.getAccessToken()) !== null && _d !== void 0 ? _d : null;
|
|
944
944
|
}
|
|
945
945
|
if (request.getDuplicationAvoider()) {
|
|
946
|
-
headers['X-GS2-DUPLICATION-AVOIDER'] = (
|
|
946
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = (_e = request.getDuplicationAvoider()) !== null && _e !== void 0 ? _e : null;
|
|
947
947
|
}
|
|
948
948
|
var body = {
|
|
949
|
-
'contextStack': (
|
|
950
|
-
'receipt': (
|
|
949
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
950
|
+
'receipt': (_g = request.getReceipt()) !== null && _g !== void 0 ? _g : null,
|
|
951
951
|
};
|
|
952
952
|
return axios_1.default.post(url, body, {
|
|
953
953
|
headers: headers,
|
|
@@ -963,25 +963,25 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
963
963
|
});
|
|
964
964
|
};
|
|
965
965
|
Gs2Money2RestClient.prototype.allocateSubscriptionStatusByUserId = function (request) {
|
|
966
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
967
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/allocate/subscription')
|
|
966
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
967
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/allocate/subscription')
|
|
968
968
|
.replace('{service}', 'money2')
|
|
969
969
|
.replace('{region}', this.session.region)
|
|
970
|
-
.replace('{namespaceName}', String((
|
|
971
|
-
.replace('{userId}', String((
|
|
970
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
971
|
+
.replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'));
|
|
972
972
|
var headers = this.createAuthorizedHeaders();
|
|
973
973
|
if (request.getRequestId()) {
|
|
974
974
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
975
975
|
}
|
|
976
976
|
if (request.getDuplicationAvoider()) {
|
|
977
|
-
headers['X-GS2-DUPLICATION-AVOIDER'] = (
|
|
977
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = (_f = request.getDuplicationAvoider()) !== null && _f !== void 0 ? _f : null;
|
|
978
978
|
}
|
|
979
979
|
if (request.getTimeOffsetToken()) {
|
|
980
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
980
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_g = request.getTimeOffsetToken()) !== null && _g !== void 0 ? _g : null;
|
|
981
981
|
}
|
|
982
982
|
var body = {
|
|
983
|
-
'contextStack': (
|
|
984
|
-
'receipt': (
|
|
983
|
+
'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
|
|
984
|
+
'receipt': (_j = request.getReceipt()) !== null && _j !== void 0 ? _j : null,
|
|
985
985
|
};
|
|
986
986
|
return axios_1.default.post(url, body, {
|
|
987
987
|
headers: headers,
|
|
@@ -997,24 +997,24 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
997
997
|
});
|
|
998
998
|
};
|
|
999
999
|
Gs2Money2RestClient.prototype.takeoverSubscriptionStatus = function (request) {
|
|
1000
|
-
var _a, _b, _c, _d, _e, _f;
|
|
1001
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/takeover/subscription')
|
|
1000
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1001
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/takeover/subscription')
|
|
1002
1002
|
.replace('{service}', 'money2')
|
|
1003
1003
|
.replace('{region}', this.session.region)
|
|
1004
|
-
.replace('{namespaceName}', String((
|
|
1004
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1005
1005
|
var headers = this.createAuthorizedHeaders();
|
|
1006
1006
|
if (request.getRequestId()) {
|
|
1007
1007
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1008
1008
|
}
|
|
1009
1009
|
if (request.getAccessToken()) {
|
|
1010
|
-
headers['X-GS2-ACCESS-TOKEN'] = (
|
|
1010
|
+
headers['X-GS2-ACCESS-TOKEN'] = (_d = request.getAccessToken()) !== null && _d !== void 0 ? _d : null;
|
|
1011
1011
|
}
|
|
1012
1012
|
if (request.getDuplicationAvoider()) {
|
|
1013
|
-
headers['X-GS2-DUPLICATION-AVOIDER'] = (
|
|
1013
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = (_e = request.getDuplicationAvoider()) !== null && _e !== void 0 ? _e : null;
|
|
1014
1014
|
}
|
|
1015
1015
|
var body = {
|
|
1016
|
-
'contextStack': (
|
|
1017
|
-
'receipt': (
|
|
1016
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1017
|
+
'receipt': (_g = request.getReceipt()) !== null && _g !== void 0 ? _g : null,
|
|
1018
1018
|
};
|
|
1019
1019
|
return axios_1.default.post(url, body, {
|
|
1020
1020
|
headers: headers,
|
|
@@ -1030,25 +1030,25 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1030
1030
|
});
|
|
1031
1031
|
};
|
|
1032
1032
|
Gs2Money2RestClient.prototype.takeoverSubscriptionStatusByUserId = function (request) {
|
|
1033
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1034
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/takeover/subscription')
|
|
1033
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1034
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/takeover/subscription')
|
|
1035
1035
|
.replace('{service}', 'money2')
|
|
1036
1036
|
.replace('{region}', this.session.region)
|
|
1037
|
-
.replace('{namespaceName}', String((
|
|
1038
|
-
.replace('{userId}', String((
|
|
1037
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1038
|
+
.replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1039
1039
|
var headers = this.createAuthorizedHeaders();
|
|
1040
1040
|
if (request.getRequestId()) {
|
|
1041
1041
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1042
1042
|
}
|
|
1043
1043
|
if (request.getDuplicationAvoider()) {
|
|
1044
|
-
headers['X-GS2-DUPLICATION-AVOIDER'] = (
|
|
1044
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = (_f = request.getDuplicationAvoider()) !== null && _f !== void 0 ? _f : null;
|
|
1045
1045
|
}
|
|
1046
1046
|
if (request.getTimeOffsetToken()) {
|
|
1047
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
1047
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_g = request.getTimeOffsetToken()) !== null && _g !== void 0 ? _g : null;
|
|
1048
1048
|
}
|
|
1049
1049
|
var body = {
|
|
1050
|
-
'contextStack': (
|
|
1051
|
-
'receipt': (
|
|
1050
|
+
'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
|
|
1051
|
+
'receipt': (_j = request.getReceipt()) !== null && _j !== void 0 ? _j : null,
|
|
1052
1052
|
};
|
|
1053
1053
|
return axios_1.default.post(url, body, {
|
|
1054
1054
|
headers: headers,
|
|
@@ -1064,23 +1064,23 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1064
1064
|
});
|
|
1065
1065
|
};
|
|
1066
1066
|
Gs2Money2RestClient.prototype.describeRefundHistoriesByUserId = function (request) {
|
|
1067
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1068
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/refund/user/{userId}')
|
|
1067
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1068
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/refund/user/{userId}')
|
|
1069
1069
|
.replace('{service}', 'money2')
|
|
1070
1070
|
.replace('{region}', this.session.region)
|
|
1071
|
-
.replace('{namespaceName}', String((
|
|
1072
|
-
.replace('{userId}', String((
|
|
1071
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1072
|
+
.replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1073
1073
|
var headers = this.createAuthorizedHeaders();
|
|
1074
1074
|
if (request.getRequestId()) {
|
|
1075
1075
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1076
1076
|
}
|
|
1077
1077
|
if (request.getTimeOffsetToken()) {
|
|
1078
|
-
headers['X-GS2-TIME-OFFSET-TOKEN'] = (
|
|
1078
|
+
headers['X-GS2-TIME-OFFSET-TOKEN'] = (_f = request.getTimeOffsetToken()) !== null && _f !== void 0 ? _f : null;
|
|
1079
1079
|
}
|
|
1080
1080
|
var params = {
|
|
1081
|
-
'contextStack': (
|
|
1082
|
-
'pageToken': String((
|
|
1083
|
-
'limit': String((
|
|
1081
|
+
'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
|
|
1082
|
+
'pageToken': String((_h = request.getPageToken()) !== null && _h !== void 0 ? _h : null),
|
|
1083
|
+
'limit': String((_j = request.getLimit()) !== null && _j !== void 0 ? _j : null),
|
|
1084
1084
|
};
|
|
1085
1085
|
return axios_1.default.get(url, {
|
|
1086
1086
|
params: params,
|
|
@@ -1092,22 +1092,22 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1092
1092
|
});
|
|
1093
1093
|
};
|
|
1094
1094
|
Gs2Money2RestClient.prototype.describeRefundHistoriesByDate = function (request) {
|
|
1095
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1096
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/refund/date/{year}/{month}')
|
|
1095
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
1096
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/refund/date/{year}/{month}')
|
|
1097
1097
|
.replace('{service}', 'money2')
|
|
1098
1098
|
.replace('{region}', this.session.region)
|
|
1099
|
-
.replace('{namespaceName}', String((
|
|
1100
|
-
.replace('{year}', String((
|
|
1101
|
-
.replace('{month}', String((
|
|
1099
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1100
|
+
.replace('{year}', String((_d = request.getYear()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getYear()) !== null && _e !== void 0 ? _e : 'null'))
|
|
1101
|
+
.replace('{month}', String((_f = request.getMonth()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getMonth()) !== null && _g !== void 0 ? _g : 'null'));
|
|
1102
1102
|
var headers = this.createAuthorizedHeaders();
|
|
1103
1103
|
if (request.getRequestId()) {
|
|
1104
1104
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1105
1105
|
}
|
|
1106
1106
|
var params = {
|
|
1107
|
-
'contextStack': (
|
|
1108
|
-
'day': String((
|
|
1109
|
-
'pageToken': String((
|
|
1110
|
-
'limit': String((
|
|
1107
|
+
'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
|
|
1108
|
+
'day': String((_j = request.getDay()) !== null && _j !== void 0 ? _j : null),
|
|
1109
|
+
'pageToken': String((_k = request.getPageToken()) !== null && _k !== void 0 ? _k : null),
|
|
1110
|
+
'limit': String((_l = request.getLimit()) !== null && _l !== void 0 ? _l : null),
|
|
1111
1111
|
};
|
|
1112
1112
|
return axios_1.default.get(url, {
|
|
1113
1113
|
params: params,
|
|
@@ -1119,18 +1119,18 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1119
1119
|
});
|
|
1120
1120
|
};
|
|
1121
1121
|
Gs2Money2RestClient.prototype.getRefundHistory = function (request) {
|
|
1122
|
-
var _a, _b, _c, _d, _e;
|
|
1123
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/refund/{transactionId}')
|
|
1122
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1123
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/refund/{transactionId}')
|
|
1124
1124
|
.replace('{service}', 'money2')
|
|
1125
1125
|
.replace('{region}', this.session.region)
|
|
1126
|
-
.replace('{namespaceName}', String((
|
|
1127
|
-
.replace('{transactionId}', String((
|
|
1126
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1127
|
+
.replace('{transactionId}', String((_d = request.getTransactionId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getTransactionId()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1128
1128
|
var headers = this.createAuthorizedHeaders();
|
|
1129
1129
|
if (request.getRequestId()) {
|
|
1130
1130
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1131
1131
|
}
|
|
1132
1132
|
var params = {
|
|
1133
|
-
'contextStack': (
|
|
1133
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1134
1134
|
};
|
|
1135
1135
|
return axios_1.default.get(url, {
|
|
1136
1136
|
params: params,
|
|
@@ -1142,17 +1142,17 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1142
1142
|
});
|
|
1143
1143
|
};
|
|
1144
1144
|
Gs2Money2RestClient.prototype.describeStoreContentModels = function (request) {
|
|
1145
|
-
var _a, _b, _c;
|
|
1146
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/model/content')
|
|
1145
|
+
var _a, _b, _c, _d;
|
|
1146
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/model/content')
|
|
1147
1147
|
.replace('{service}', 'money2')
|
|
1148
1148
|
.replace('{region}', this.session.region)
|
|
1149
|
-
.replace('{namespaceName}', String((
|
|
1149
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1150
1150
|
var headers = this.createAuthorizedHeaders();
|
|
1151
1151
|
if (request.getRequestId()) {
|
|
1152
1152
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1153
1153
|
}
|
|
1154
1154
|
var params = {
|
|
1155
|
-
'contextStack': (
|
|
1155
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1156
1156
|
};
|
|
1157
1157
|
return axios_1.default.get(url, {
|
|
1158
1158
|
params: params,
|
|
@@ -1164,18 +1164,18 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1164
1164
|
});
|
|
1165
1165
|
};
|
|
1166
1166
|
Gs2Money2RestClient.prototype.getStoreContentModel = function (request) {
|
|
1167
|
-
var _a, _b, _c, _d, _e;
|
|
1168
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/model/content/{contentName}')
|
|
1167
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1168
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/model/content/{contentName}')
|
|
1169
1169
|
.replace('{service}', 'money2')
|
|
1170
1170
|
.replace('{region}', this.session.region)
|
|
1171
|
-
.replace('{namespaceName}', String((
|
|
1172
|
-
.replace('{contentName}', String((
|
|
1171
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1172
|
+
.replace('{contentName}', String((_d = request.getContentName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getContentName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1173
1173
|
var headers = this.createAuthorizedHeaders();
|
|
1174
1174
|
if (request.getRequestId()) {
|
|
1175
1175
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1176
1176
|
}
|
|
1177
1177
|
var params = {
|
|
1178
|
-
'contextStack': (
|
|
1178
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1179
1179
|
};
|
|
1180
1180
|
return axios_1.default.get(url, {
|
|
1181
1181
|
params: params,
|
|
@@ -1187,20 +1187,20 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1187
1187
|
});
|
|
1188
1188
|
};
|
|
1189
1189
|
Gs2Money2RestClient.prototype.describeStoreContentModelMasters = function (request) {
|
|
1190
|
-
var _a, _b, _c, _d, _e, _f;
|
|
1191
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model')
|
|
1190
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1191
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model')
|
|
1192
1192
|
.replace('{service}', 'money2')
|
|
1193
1193
|
.replace('{region}', this.session.region)
|
|
1194
|
-
.replace('{namespaceName}', String((
|
|
1194
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1195
1195
|
var headers = this.createAuthorizedHeaders();
|
|
1196
1196
|
if (request.getRequestId()) {
|
|
1197
1197
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1198
1198
|
}
|
|
1199
1199
|
var params = {
|
|
1200
|
-
'contextStack': (
|
|
1201
|
-
'namePrefix': String((
|
|
1202
|
-
'pageToken': String((
|
|
1203
|
-
'limit': String((
|
|
1200
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1201
|
+
'namePrefix': String((_e = request.getNamePrefix()) !== null && _e !== void 0 ? _e : null),
|
|
1202
|
+
'pageToken': String((_f = request.getPageToken()) !== null && _f !== void 0 ? _f : null),
|
|
1203
|
+
'limit': String((_g = request.getLimit()) !== null && _g !== void 0 ? _g : null),
|
|
1204
1204
|
};
|
|
1205
1205
|
return axios_1.default.get(url, {
|
|
1206
1206
|
params: params,
|
|
@@ -1212,22 +1212,22 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1212
1212
|
});
|
|
1213
1213
|
};
|
|
1214
1214
|
Gs2Money2RestClient.prototype.createStoreContentModelMaster = function (request) {
|
|
1215
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1216
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model')
|
|
1215
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
1216
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model')
|
|
1217
1217
|
.replace('{service}', 'money2')
|
|
1218
1218
|
.replace('{region}', this.session.region)
|
|
1219
|
-
.replace('{namespaceName}', String((
|
|
1219
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1220
1220
|
var headers = this.createAuthorizedHeaders();
|
|
1221
1221
|
if (request.getRequestId()) {
|
|
1222
1222
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1223
1223
|
}
|
|
1224
1224
|
var body = {
|
|
1225
|
-
'contextStack': (
|
|
1226
|
-
'name': (
|
|
1227
|
-
'description': (
|
|
1228
|
-
'metadata': (
|
|
1229
|
-
'appleAppStore': (
|
|
1230
|
-
'googlePlay': (
|
|
1225
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1226
|
+
'name': (_e = request.getName()) !== null && _e !== void 0 ? _e : null,
|
|
1227
|
+
'description': (_f = request.getDescription()) !== null && _f !== void 0 ? _f : null,
|
|
1228
|
+
'metadata': (_g = request.getMetadata()) !== null && _g !== void 0 ? _g : null,
|
|
1229
|
+
'appleAppStore': (_j = (_h = request.getAppleAppStore()) === null || _h === void 0 ? void 0 : _h.toDict()) !== null && _j !== void 0 ? _j : null,
|
|
1230
|
+
'googlePlay': (_l = (_k = request.getGooglePlay()) === null || _k === void 0 ? void 0 : _k.toDict()) !== null && _l !== void 0 ? _l : null,
|
|
1231
1231
|
};
|
|
1232
1232
|
return axios_1.default.post(url, body, {
|
|
1233
1233
|
headers: headers,
|
|
@@ -1243,18 +1243,18 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1243
1243
|
});
|
|
1244
1244
|
};
|
|
1245
1245
|
Gs2Money2RestClient.prototype.getStoreContentModelMaster = function (request) {
|
|
1246
|
-
var _a, _b, _c, _d, _e;
|
|
1247
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/{contentName}')
|
|
1246
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1247
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/{contentName}')
|
|
1248
1248
|
.replace('{service}', 'money2')
|
|
1249
1249
|
.replace('{region}', this.session.region)
|
|
1250
|
-
.replace('{namespaceName}', String((
|
|
1251
|
-
.replace('{contentName}', String((
|
|
1250
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1251
|
+
.replace('{contentName}', String((_d = request.getContentName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getContentName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1252
1252
|
var headers = this.createAuthorizedHeaders();
|
|
1253
1253
|
if (request.getRequestId()) {
|
|
1254
1254
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1255
1255
|
}
|
|
1256
1256
|
var params = {
|
|
1257
|
-
'contextStack': (
|
|
1257
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1258
1258
|
};
|
|
1259
1259
|
return axios_1.default.get(url, {
|
|
1260
1260
|
params: params,
|
|
@@ -1266,22 +1266,22 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1266
1266
|
});
|
|
1267
1267
|
};
|
|
1268
1268
|
Gs2Money2RestClient.prototype.updateStoreContentModelMaster = function (request) {
|
|
1269
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
1270
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/{contentName}')
|
|
1269
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
1270
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/{contentName}')
|
|
1271
1271
|
.replace('{service}', 'money2')
|
|
1272
1272
|
.replace('{region}', this.session.region)
|
|
1273
|
-
.replace('{namespaceName}', String((
|
|
1274
|
-
.replace('{contentName}', String((
|
|
1273
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1274
|
+
.replace('{contentName}', String((_d = request.getContentName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getContentName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1275
1275
|
var headers = this.createAuthorizedHeaders();
|
|
1276
1276
|
if (request.getRequestId()) {
|
|
1277
1277
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1278
1278
|
}
|
|
1279
1279
|
var body = {
|
|
1280
|
-
'contextStack': (
|
|
1281
|
-
'description': (
|
|
1282
|
-
'metadata': (
|
|
1283
|
-
'appleAppStore': (
|
|
1284
|
-
'googlePlay': (
|
|
1280
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1281
|
+
'description': (_g = request.getDescription()) !== null && _g !== void 0 ? _g : null,
|
|
1282
|
+
'metadata': (_h = request.getMetadata()) !== null && _h !== void 0 ? _h : null,
|
|
1283
|
+
'appleAppStore': (_k = (_j = request.getAppleAppStore()) === null || _j === void 0 ? void 0 : _j.toDict()) !== null && _k !== void 0 ? _k : null,
|
|
1284
|
+
'googlePlay': (_m = (_l = request.getGooglePlay()) === null || _l === void 0 ? void 0 : _l.toDict()) !== null && _m !== void 0 ? _m : null,
|
|
1285
1285
|
};
|
|
1286
1286
|
return axios_1.default.put(url, body, {
|
|
1287
1287
|
headers: headers,
|
|
@@ -1297,18 +1297,18 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1297
1297
|
});
|
|
1298
1298
|
};
|
|
1299
1299
|
Gs2Money2RestClient.prototype.deleteStoreContentModelMaster = function (request) {
|
|
1300
|
-
var _a, _b, _c, _d, _e;
|
|
1301
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/{contentName}')
|
|
1300
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1301
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/{contentName}')
|
|
1302
1302
|
.replace('{service}', 'money2')
|
|
1303
1303
|
.replace('{region}', this.session.region)
|
|
1304
|
-
.replace('{namespaceName}', String((
|
|
1305
|
-
.replace('{contentName}', String((
|
|
1304
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1305
|
+
.replace('{contentName}', String((_d = request.getContentName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getContentName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1306
1306
|
var headers = this.createAuthorizedHeaders();
|
|
1307
1307
|
if (request.getRequestId()) {
|
|
1308
1308
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1309
1309
|
}
|
|
1310
1310
|
var params = {
|
|
1311
|
-
'contextStack': (
|
|
1311
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1312
1312
|
};
|
|
1313
1313
|
return axios_1.default.delete(url, {
|
|
1314
1314
|
params: params,
|
|
@@ -1320,17 +1320,17 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1320
1320
|
});
|
|
1321
1321
|
};
|
|
1322
1322
|
Gs2Money2RestClient.prototype.describeStoreSubscriptionContentModels = function (request) {
|
|
1323
|
-
var _a, _b, _c;
|
|
1324
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/model/subscription/content')
|
|
1323
|
+
var _a, _b, _c, _d;
|
|
1324
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/model/subscription/content')
|
|
1325
1325
|
.replace('{service}', 'money2')
|
|
1326
1326
|
.replace('{region}', this.session.region)
|
|
1327
|
-
.replace('{namespaceName}', String((
|
|
1327
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1328
1328
|
var headers = this.createAuthorizedHeaders();
|
|
1329
1329
|
if (request.getRequestId()) {
|
|
1330
1330
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1331
1331
|
}
|
|
1332
1332
|
var params = {
|
|
1333
|
-
'contextStack': (
|
|
1333
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1334
1334
|
};
|
|
1335
1335
|
return axios_1.default.get(url, {
|
|
1336
1336
|
params: params,
|
|
@@ -1342,18 +1342,18 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1342
1342
|
});
|
|
1343
1343
|
};
|
|
1344
1344
|
Gs2Money2RestClient.prototype.getStoreSubscriptionContentModel = function (request) {
|
|
1345
|
-
var _a, _b, _c, _d, _e;
|
|
1346
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/model/subscription/content/{contentName}')
|
|
1345
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1346
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/model/subscription/content/{contentName}')
|
|
1347
1347
|
.replace('{service}', 'money2')
|
|
1348
1348
|
.replace('{region}', this.session.region)
|
|
1349
|
-
.replace('{namespaceName}', String((
|
|
1350
|
-
.replace('{contentName}', String((
|
|
1349
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1350
|
+
.replace('{contentName}', String((_d = request.getContentName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getContentName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1351
1351
|
var headers = this.createAuthorizedHeaders();
|
|
1352
1352
|
if (request.getRequestId()) {
|
|
1353
1353
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1354
1354
|
}
|
|
1355
1355
|
var params = {
|
|
1356
|
-
'contextStack': (
|
|
1356
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1357
1357
|
};
|
|
1358
1358
|
return axios_1.default.get(url, {
|
|
1359
1359
|
params: params,
|
|
@@ -1365,20 +1365,20 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1365
1365
|
});
|
|
1366
1366
|
};
|
|
1367
1367
|
Gs2Money2RestClient.prototype.describeStoreSubscriptionContentModelMasters = function (request) {
|
|
1368
|
-
var _a, _b, _c, _d, _e, _f;
|
|
1369
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/subscription')
|
|
1368
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1369
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/subscription')
|
|
1370
1370
|
.replace('{service}', 'money2')
|
|
1371
1371
|
.replace('{region}', this.session.region)
|
|
1372
|
-
.replace('{namespaceName}', String((
|
|
1372
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1373
1373
|
var headers = this.createAuthorizedHeaders();
|
|
1374
1374
|
if (request.getRequestId()) {
|
|
1375
1375
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1376
1376
|
}
|
|
1377
1377
|
var params = {
|
|
1378
|
-
'contextStack': (
|
|
1379
|
-
'namePrefix': String((
|
|
1380
|
-
'pageToken': String((
|
|
1381
|
-
'limit': String((
|
|
1378
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1379
|
+
'namePrefix': String((_e = request.getNamePrefix()) !== null && _e !== void 0 ? _e : null),
|
|
1380
|
+
'pageToken': String((_f = request.getPageToken()) !== null && _f !== void 0 ? _f : null),
|
|
1381
|
+
'limit': String((_g = request.getLimit()) !== null && _g !== void 0 ? _g : null),
|
|
1382
1382
|
};
|
|
1383
1383
|
return axios_1.default.get(url, {
|
|
1384
1384
|
params: params,
|
|
@@ -1390,27 +1390,27 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1390
1390
|
});
|
|
1391
1391
|
};
|
|
1392
1392
|
Gs2Money2RestClient.prototype.createStoreSubscriptionContentModelMaster = function (request) {
|
|
1393
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
1394
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/subscription')
|
|
1393
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
1394
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/subscription')
|
|
1395
1395
|
.replace('{service}', 'money2')
|
|
1396
1396
|
.replace('{region}', this.session.region)
|
|
1397
|
-
.replace('{namespaceName}', String((
|
|
1397
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1398
1398
|
var headers = this.createAuthorizedHeaders();
|
|
1399
1399
|
if (request.getRequestId()) {
|
|
1400
1400
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1401
1401
|
}
|
|
1402
1402
|
var body = {
|
|
1403
|
-
'contextStack': (
|
|
1404
|
-
'name': (
|
|
1405
|
-
'description': (
|
|
1406
|
-
'metadata': (
|
|
1407
|
-
'scheduleNamespaceId': (
|
|
1408
|
-
'triggerName': (
|
|
1409
|
-
'triggerExtendMode': (
|
|
1410
|
-
'rollupHour': (
|
|
1411
|
-
'reallocateSpanDays': (
|
|
1412
|
-
'appleAppStore': (
|
|
1413
|
-
'googlePlay': (
|
|
1403
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1404
|
+
'name': (_e = request.getName()) !== null && _e !== void 0 ? _e : null,
|
|
1405
|
+
'description': (_f = request.getDescription()) !== null && _f !== void 0 ? _f : null,
|
|
1406
|
+
'metadata': (_g = request.getMetadata()) !== null && _g !== void 0 ? _g : null,
|
|
1407
|
+
'scheduleNamespaceId': (_h = request.getScheduleNamespaceId()) !== null && _h !== void 0 ? _h : null,
|
|
1408
|
+
'triggerName': (_j = request.getTriggerName()) !== null && _j !== void 0 ? _j : null,
|
|
1409
|
+
'triggerExtendMode': (_k = request.getTriggerExtendMode()) !== null && _k !== void 0 ? _k : null,
|
|
1410
|
+
'rollupHour': (_l = request.getRollupHour()) !== null && _l !== void 0 ? _l : null,
|
|
1411
|
+
'reallocateSpanDays': (_m = request.getReallocateSpanDays()) !== null && _m !== void 0 ? _m : null,
|
|
1412
|
+
'appleAppStore': (_p = (_o = request.getAppleAppStore()) === null || _o === void 0 ? void 0 : _o.toDict()) !== null && _p !== void 0 ? _p : null,
|
|
1413
|
+
'googlePlay': (_r = (_q = request.getGooglePlay()) === null || _q === void 0 ? void 0 : _q.toDict()) !== null && _r !== void 0 ? _r : null,
|
|
1414
1414
|
};
|
|
1415
1415
|
return axios_1.default.post(url, body, {
|
|
1416
1416
|
headers: headers,
|
|
@@ -1426,18 +1426,18 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1426
1426
|
});
|
|
1427
1427
|
};
|
|
1428
1428
|
Gs2Money2RestClient.prototype.getStoreSubscriptionContentModelMaster = function (request) {
|
|
1429
|
-
var _a, _b, _c, _d, _e;
|
|
1430
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/subscription/{contentName}')
|
|
1429
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1430
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/subscription/{contentName}')
|
|
1431
1431
|
.replace('{service}', 'money2')
|
|
1432
1432
|
.replace('{region}', this.session.region)
|
|
1433
|
-
.replace('{namespaceName}', String((
|
|
1434
|
-
.replace('{contentName}', String((
|
|
1433
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1434
|
+
.replace('{contentName}', String((_d = request.getContentName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getContentName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1435
1435
|
var headers = this.createAuthorizedHeaders();
|
|
1436
1436
|
if (request.getRequestId()) {
|
|
1437
1437
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1438
1438
|
}
|
|
1439
1439
|
var params = {
|
|
1440
|
-
'contextStack': (
|
|
1440
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1441
1441
|
};
|
|
1442
1442
|
return axios_1.default.get(url, {
|
|
1443
1443
|
params: params,
|
|
@@ -1449,27 +1449,27 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1449
1449
|
});
|
|
1450
1450
|
};
|
|
1451
1451
|
Gs2Money2RestClient.prototype.updateStoreSubscriptionContentModelMaster = function (request) {
|
|
1452
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
1453
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/subscription/{contentName}')
|
|
1452
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
1453
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/subscription/{contentName}')
|
|
1454
1454
|
.replace('{service}', 'money2')
|
|
1455
1455
|
.replace('{region}', this.session.region)
|
|
1456
|
-
.replace('{namespaceName}', String((
|
|
1457
|
-
.replace('{contentName}', String((
|
|
1456
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1457
|
+
.replace('{contentName}', String((_d = request.getContentName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getContentName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1458
1458
|
var headers = this.createAuthorizedHeaders();
|
|
1459
1459
|
if (request.getRequestId()) {
|
|
1460
1460
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1461
1461
|
}
|
|
1462
1462
|
var body = {
|
|
1463
|
-
'contextStack': (
|
|
1464
|
-
'description': (
|
|
1465
|
-
'metadata': (
|
|
1466
|
-
'scheduleNamespaceId': (
|
|
1467
|
-
'triggerName': (
|
|
1468
|
-
'triggerExtendMode': (
|
|
1469
|
-
'rollupHour': (
|
|
1470
|
-
'reallocateSpanDays': (
|
|
1471
|
-
'appleAppStore': (
|
|
1472
|
-
'googlePlay': (
|
|
1463
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1464
|
+
'description': (_g = request.getDescription()) !== null && _g !== void 0 ? _g : null,
|
|
1465
|
+
'metadata': (_h = request.getMetadata()) !== null && _h !== void 0 ? _h : null,
|
|
1466
|
+
'scheduleNamespaceId': (_j = request.getScheduleNamespaceId()) !== null && _j !== void 0 ? _j : null,
|
|
1467
|
+
'triggerName': (_k = request.getTriggerName()) !== null && _k !== void 0 ? _k : null,
|
|
1468
|
+
'triggerExtendMode': (_l = request.getTriggerExtendMode()) !== null && _l !== void 0 ? _l : null,
|
|
1469
|
+
'rollupHour': (_m = request.getRollupHour()) !== null && _m !== void 0 ? _m : null,
|
|
1470
|
+
'reallocateSpanDays': (_o = request.getReallocateSpanDays()) !== null && _o !== void 0 ? _o : null,
|
|
1471
|
+
'appleAppStore': (_q = (_p = request.getAppleAppStore()) === null || _p === void 0 ? void 0 : _p.toDict()) !== null && _q !== void 0 ? _q : null,
|
|
1472
|
+
'googlePlay': (_s = (_r = request.getGooglePlay()) === null || _r === void 0 ? void 0 : _r.toDict()) !== null && _s !== void 0 ? _s : null,
|
|
1473
1473
|
};
|
|
1474
1474
|
return axios_1.default.put(url, body, {
|
|
1475
1475
|
headers: headers,
|
|
@@ -1485,18 +1485,18 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1485
1485
|
});
|
|
1486
1486
|
};
|
|
1487
1487
|
Gs2Money2RestClient.prototype.deleteStoreSubscriptionContentModelMaster = function (request) {
|
|
1488
|
-
var _a, _b, _c, _d, _e;
|
|
1489
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/subscription/{contentName}')
|
|
1488
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1489
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/subscription/{contentName}')
|
|
1490
1490
|
.replace('{service}', 'money2')
|
|
1491
1491
|
.replace('{region}', this.session.region)
|
|
1492
|
-
.replace('{namespaceName}', String((
|
|
1493
|
-
.replace('{contentName}', String((
|
|
1492
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1493
|
+
.replace('{contentName}', String((_d = request.getContentName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getContentName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1494
1494
|
var headers = this.createAuthorizedHeaders();
|
|
1495
1495
|
if (request.getRequestId()) {
|
|
1496
1496
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1497
1497
|
}
|
|
1498
1498
|
var params = {
|
|
1499
|
-
'contextStack': (
|
|
1499
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1500
1500
|
};
|
|
1501
1501
|
return axios_1.default.delete(url, {
|
|
1502
1502
|
params: params,
|
|
@@ -1508,17 +1508,17 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1508
1508
|
});
|
|
1509
1509
|
};
|
|
1510
1510
|
Gs2Money2RestClient.prototype.exportMaster = function (request) {
|
|
1511
|
-
var _a, _b, _c;
|
|
1512
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/export')
|
|
1511
|
+
var _a, _b, _c, _d;
|
|
1512
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/export')
|
|
1513
1513
|
.replace('{service}', 'money2')
|
|
1514
1514
|
.replace('{region}', this.session.region)
|
|
1515
|
-
.replace('{namespaceName}', String((
|
|
1515
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1516
1516
|
var headers = this.createAuthorizedHeaders();
|
|
1517
1517
|
if (request.getRequestId()) {
|
|
1518
1518
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1519
1519
|
}
|
|
1520
1520
|
var params = {
|
|
1521
|
-
'contextStack': (
|
|
1521
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1522
1522
|
};
|
|
1523
1523
|
return axios_1.default.get(url, {
|
|
1524
1524
|
params: params,
|
|
@@ -1530,17 +1530,17 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1530
1530
|
});
|
|
1531
1531
|
};
|
|
1532
1532
|
Gs2Money2RestClient.prototype.getCurrentModelMaster = function (request) {
|
|
1533
|
-
var _a, _b, _c;
|
|
1534
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
|
|
1533
|
+
var _a, _b, _c, _d;
|
|
1534
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
|
|
1535
1535
|
.replace('{service}', 'money2')
|
|
1536
1536
|
.replace('{region}', this.session.region)
|
|
1537
|
-
.replace('{namespaceName}', String((
|
|
1537
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1538
1538
|
var headers = this.createAuthorizedHeaders();
|
|
1539
1539
|
if (request.getRequestId()) {
|
|
1540
1540
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1541
1541
|
}
|
|
1542
1542
|
var params = {
|
|
1543
|
-
'contextStack': (
|
|
1543
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1544
1544
|
};
|
|
1545
1545
|
return axios_1.default.get(url, {
|
|
1546
1546
|
params: params,
|
|
@@ -1552,17 +1552,17 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1552
1552
|
});
|
|
1553
1553
|
};
|
|
1554
1554
|
Gs2Money2RestClient.prototype.preUpdateCurrentModelMaster = function (request) {
|
|
1555
|
-
var _a, _b, _c;
|
|
1556
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
|
|
1555
|
+
var _a, _b, _c, _d;
|
|
1556
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
|
|
1557
1557
|
.replace('{service}', 'money2')
|
|
1558
1558
|
.replace('{region}', this.session.region)
|
|
1559
|
-
.replace('{namespaceName}', String((
|
|
1559
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1560
1560
|
var headers = this.createAuthorizedHeaders();
|
|
1561
1561
|
if (request.getRequestId()) {
|
|
1562
1562
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1563
1563
|
}
|
|
1564
1564
|
var body = {
|
|
1565
|
-
'contextStack': (
|
|
1565
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1566
1566
|
};
|
|
1567
1567
|
return axios_1.default.post(url, body, {
|
|
1568
1568
|
headers: headers,
|
|
@@ -1578,20 +1578,20 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1578
1578
|
});
|
|
1579
1579
|
};
|
|
1580
1580
|
Gs2Money2RestClient.prototype.updateCurrentModelMaster = function (request) {
|
|
1581
|
-
var _a, _b, _c, _d, _e, _f;
|
|
1582
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
|
|
1581
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1582
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
|
|
1583
1583
|
.replace('{service}', 'money2')
|
|
1584
1584
|
.replace('{region}', this.session.region)
|
|
1585
|
-
.replace('{namespaceName}', String((
|
|
1585
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1586
1586
|
var headers = this.createAuthorizedHeaders();
|
|
1587
1587
|
if (request.getRequestId()) {
|
|
1588
1588
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1589
1589
|
}
|
|
1590
1590
|
var body = {
|
|
1591
|
-
'contextStack': (
|
|
1592
|
-
'mode': (
|
|
1593
|
-
'settings': (
|
|
1594
|
-
'uploadToken': (
|
|
1591
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1592
|
+
'mode': (_e = request.getMode()) !== null && _e !== void 0 ? _e : null,
|
|
1593
|
+
'settings': (_f = request.getSettings()) !== null && _f !== void 0 ? _f : null,
|
|
1594
|
+
'uploadToken': (_g = request.getUploadToken()) !== null && _g !== void 0 ? _g : null,
|
|
1595
1595
|
};
|
|
1596
1596
|
return axios_1.default.put(url, body, {
|
|
1597
1597
|
headers: headers,
|
|
@@ -1607,18 +1607,18 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1607
1607
|
});
|
|
1608
1608
|
};
|
|
1609
1609
|
Gs2Money2RestClient.prototype.updateCurrentModelMasterFromGitHub = function (request) {
|
|
1610
|
-
var _a, _b, _c, _d, _e;
|
|
1611
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/from_git_hub')
|
|
1610
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1611
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/from_git_hub')
|
|
1612
1612
|
.replace('{service}', 'money2')
|
|
1613
1613
|
.replace('{region}', this.session.region)
|
|
1614
|
-
.replace('{namespaceName}', String((
|
|
1614
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1615
1615
|
var headers = this.createAuthorizedHeaders();
|
|
1616
1616
|
if (request.getRequestId()) {
|
|
1617
1617
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1618
1618
|
}
|
|
1619
1619
|
var body = {
|
|
1620
|
-
'contextStack': (
|
|
1621
|
-
'checkoutSetting': (
|
|
1620
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1621
|
+
'checkoutSetting': (_f = (_e = request.getCheckoutSetting()) === null || _e === void 0 ? void 0 : _e.toDict()) !== null && _f !== void 0 ? _f : null,
|
|
1622
1622
|
};
|
|
1623
1623
|
return axios_1.default.put(url, body, {
|
|
1624
1624
|
headers: headers,
|
|
@@ -1634,22 +1634,22 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1634
1634
|
});
|
|
1635
1635
|
};
|
|
1636
1636
|
Gs2Money2RestClient.prototype.describeDailyTransactionHistoriesByCurrency = function (request) {
|
|
1637
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1638
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/transaction/daily/currency/{currency}/date/{year}')
|
|
1637
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
1638
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/transaction/daily/currency/{currency}/date/{year}')
|
|
1639
1639
|
.replace('{service}', 'money2')
|
|
1640
1640
|
.replace('{region}', this.session.region)
|
|
1641
|
-
.replace('{namespaceName}', String((
|
|
1642
|
-
.replace('{currency}', String((
|
|
1643
|
-
.replace('{year}', String((
|
|
1641
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1642
|
+
.replace('{currency}', String((_d = request.getCurrency()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getCurrency()) !== null && _e !== void 0 ? _e : 'null'))
|
|
1643
|
+
.replace('{year}', String((_f = request.getYear()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getYear()) !== null && _g !== void 0 ? _g : 'null'));
|
|
1644
1644
|
var headers = this.createAuthorizedHeaders();
|
|
1645
1645
|
if (request.getRequestId()) {
|
|
1646
1646
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1647
1647
|
}
|
|
1648
1648
|
var params = {
|
|
1649
|
-
'contextStack': (
|
|
1650
|
-
'month': String((
|
|
1651
|
-
'pageToken': String((
|
|
1652
|
-
'limit': String((
|
|
1649
|
+
'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
|
|
1650
|
+
'month': String((_j = request.getMonth()) !== null && _j !== void 0 ? _j : null),
|
|
1651
|
+
'pageToken': String((_k = request.getPageToken()) !== null && _k !== void 0 ? _k : null),
|
|
1652
|
+
'limit': String((_l = request.getLimit()) !== null && _l !== void 0 ? _l : null),
|
|
1653
1653
|
};
|
|
1654
1654
|
return axios_1.default.get(url, {
|
|
1655
1655
|
params: params,
|
|
@@ -1661,22 +1661,22 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1661
1661
|
});
|
|
1662
1662
|
};
|
|
1663
1663
|
Gs2Money2RestClient.prototype.describeDailyTransactionHistories = function (request) {
|
|
1664
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1665
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/transaction/daily/{year}')
|
|
1664
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1665
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/transaction/daily/{year}')
|
|
1666
1666
|
.replace('{service}', 'money2')
|
|
1667
1667
|
.replace('{region}', this.session.region)
|
|
1668
|
-
.replace('{namespaceName}', String((
|
|
1669
|
-
.replace('{year}', String((
|
|
1668
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1669
|
+
.replace('{year}', String((_d = request.getYear()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getYear()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1670
1670
|
var headers = this.createAuthorizedHeaders();
|
|
1671
1671
|
if (request.getRequestId()) {
|
|
1672
1672
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1673
1673
|
}
|
|
1674
1674
|
var params = {
|
|
1675
|
-
'contextStack': (
|
|
1676
|
-
'month': String((
|
|
1677
|
-
'day': String((
|
|
1678
|
-
'pageToken': String((
|
|
1679
|
-
'limit': String((
|
|
1675
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1676
|
+
'month': String((_g = request.getMonth()) !== null && _g !== void 0 ? _g : null),
|
|
1677
|
+
'day': String((_h = request.getDay()) !== null && _h !== void 0 ? _h : null),
|
|
1678
|
+
'pageToken': String((_j = request.getPageToken()) !== null && _j !== void 0 ? _j : null),
|
|
1679
|
+
'limit': String((_k = request.getLimit()) !== null && _k !== void 0 ? _k : null),
|
|
1680
1680
|
};
|
|
1681
1681
|
return axios_1.default.get(url, {
|
|
1682
1682
|
params: params,
|
|
@@ -1688,21 +1688,21 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1688
1688
|
});
|
|
1689
1689
|
};
|
|
1690
1690
|
Gs2Money2RestClient.prototype.getDailyTransactionHistory = function (request) {
|
|
1691
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
1692
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/transaction/daily/{year}/{month}/{day}/currency/{currency}')
|
|
1691
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
1692
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/transaction/daily/{year}/{month}/{day}/currency/{currency}')
|
|
1693
1693
|
.replace('{service}', 'money2')
|
|
1694
1694
|
.replace('{region}', this.session.region)
|
|
1695
|
-
.replace('{namespaceName}', String((
|
|
1696
|
-
.replace('{year}', String((
|
|
1697
|
-
.replace('{month}', String((
|
|
1698
|
-
.replace('{day}', String((
|
|
1699
|
-
.replace('{currency}', String((
|
|
1695
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1696
|
+
.replace('{year}', String((_d = request.getYear()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getYear()) !== null && _e !== void 0 ? _e : 'null'))
|
|
1697
|
+
.replace('{month}', String((_f = request.getMonth()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getMonth()) !== null && _g !== void 0 ? _g : 'null'))
|
|
1698
|
+
.replace('{day}', String((_h = request.getDay()) !== null && _h !== void 0 ? _h : 'null') === "" ? "null" : String((_j = request.getDay()) !== null && _j !== void 0 ? _j : 'null'))
|
|
1699
|
+
.replace('{currency}', String((_k = request.getCurrency()) !== null && _k !== void 0 ? _k : 'null') === "" ? "null" : String((_l = request.getCurrency()) !== null && _l !== void 0 ? _l : 'null'));
|
|
1700
1700
|
var headers = this.createAuthorizedHeaders();
|
|
1701
1701
|
if (request.getRequestId()) {
|
|
1702
1702
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1703
1703
|
}
|
|
1704
1704
|
var params = {
|
|
1705
|
-
'contextStack': (
|
|
1705
|
+
'contextStack': (_m = request.getContextStack()) !== null && _m !== void 0 ? _m : null,
|
|
1706
1706
|
};
|
|
1707
1707
|
return axios_1.default.get(url, {
|
|
1708
1708
|
params: params,
|
|
@@ -1714,19 +1714,19 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1714
1714
|
});
|
|
1715
1715
|
};
|
|
1716
1716
|
Gs2Money2RestClient.prototype.describeUnusedBalances = function (request) {
|
|
1717
|
-
var _a, _b, _c, _d, _e;
|
|
1718
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/balance/unused')
|
|
1717
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1718
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/balance/unused')
|
|
1719
1719
|
.replace('{service}', 'money2')
|
|
1720
1720
|
.replace('{region}', this.session.region)
|
|
1721
|
-
.replace('{namespaceName}', String((
|
|
1721
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1722
1722
|
var headers = this.createAuthorizedHeaders();
|
|
1723
1723
|
if (request.getRequestId()) {
|
|
1724
1724
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1725
1725
|
}
|
|
1726
1726
|
var params = {
|
|
1727
|
-
'contextStack': (
|
|
1728
|
-
'pageToken': String((
|
|
1729
|
-
'limit': String((
|
|
1727
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1728
|
+
'pageToken': String((_e = request.getPageToken()) !== null && _e !== void 0 ? _e : null),
|
|
1729
|
+
'limit': String((_f = request.getLimit()) !== null && _f !== void 0 ? _f : null),
|
|
1730
1730
|
};
|
|
1731
1731
|
return axios_1.default.get(url, {
|
|
1732
1732
|
params: params,
|
|
@@ -1738,18 +1738,18 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1738
1738
|
});
|
|
1739
1739
|
};
|
|
1740
1740
|
Gs2Money2RestClient.prototype.getUnusedBalance = function (request) {
|
|
1741
|
-
var _a, _b, _c, _d, _e;
|
|
1742
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/balance/unused/{currency}')
|
|
1741
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1742
|
+
var url = ((_a = Gs2Money2RestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/balance/unused/{currency}')
|
|
1743
1743
|
.replace('{service}', 'money2')
|
|
1744
1744
|
.replace('{region}', this.session.region)
|
|
1745
|
-
.replace('{namespaceName}', String((
|
|
1746
|
-
.replace('{currency}', String((
|
|
1745
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1746
|
+
.replace('{currency}', String((_d = request.getCurrency()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getCurrency()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1747
1747
|
var headers = this.createAuthorizedHeaders();
|
|
1748
1748
|
if (request.getRequestId()) {
|
|
1749
1749
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1750
1750
|
}
|
|
1751
1751
|
var params = {
|
|
1752
|
-
'contextStack': (
|
|
1752
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1753
1753
|
};
|
|
1754
1754
|
return axios_1.default.get(url, {
|
|
1755
1755
|
params: params,
|
|
@@ -1760,6 +1760,7 @@ var Gs2Money2RestClient = /** @class */ (function (_super) {
|
|
|
1760
1760
|
throw JSON.parse(error.response.data.message);
|
|
1761
1761
|
});
|
|
1762
1762
|
};
|
|
1763
|
+
Gs2Money2RestClient.ENDPOINT_HOST = null;
|
|
1763
1764
|
return Gs2Money2RestClient;
|
|
1764
1765
|
}(AbstractGs2RestClient_1.default));
|
|
1765
1766
|
exports.default = Gs2Money2RestClient;
|