gs2 1.4.99 → 1.4.101

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.
Files changed (209) hide show
  1. package/account/rest.d.ts +1 -0
  2. package/account/rest.js +445 -444
  3. package/account/rest.js.map +1 -1
  4. package/account/rest.ts +67 -65
  5. package/adReward/rest.d.ts +1 -0
  6. package/adReward/rest.js +136 -135
  7. package/adReward/rest.js.map +1 -1
  8. package/adReward/rest.ts +24 -22
  9. package/auth/rest.d.ts +1 -0
  10. package/auth/rest.js +30 -29
  11. package/auth/rest.js.map +1 -1
  12. package/auth/rest.ts +7 -5
  13. package/buff/rest.d.ts +1 -0
  14. package/buff/rest.js +162 -161
  15. package/buff/rest.js.map +1 -1
  16. package/buff/rest.ts +30 -28
  17. package/chat/rest.d.ts +1 -0
  18. package/chat/rest.js +396 -395
  19. package/chat/rest.js.map +1 -1
  20. package/chat/rest.ts +56 -54
  21. package/datastore/rest.d.ts +1 -0
  22. package/datastore/rest.js +282 -281
  23. package/datastore/rest.js.map +1 -1
  24. package/datastore/rest.ts +41 -39
  25. package/deploy/rest.d.ts +1 -0
  26. package/deploy/rest.js +122 -121
  27. package/deploy/rest.js.map +1 -1
  28. package/deploy/rest.ts +26 -24
  29. package/dictionary/rest.d.ts +1 -0
  30. package/dictionary/rest.js +317 -316
  31. package/dictionary/rest.js.map +1 -1
  32. package/dictionary/rest.ts +53 -51
  33. package/distributor/rest.d.ts +1 -0
  34. package/distributor/rest.js +295 -294
  35. package/distributor/rest.js.map +1 -1
  36. package/distributor/rest.ts +50 -48
  37. package/enchant/rest.d.ts +1 -0
  38. package/enchant/rest.js +375 -374
  39. package/enchant/rest.js.map +1 -1
  40. package/enchant/rest.ts +58 -56
  41. package/enhance/rest.d.ts +1 -0
  42. package/enhance/rest.js +338 -337
  43. package/enhance/rest.js.map +1 -1
  44. package/enhance/rest.ts +52 -50
  45. package/exchange/rest.d.ts +1 -0
  46. package/exchange/rest.js +377 -376
  47. package/exchange/rest.js.map +1 -1
  48. package/exchange/rest.ts +56 -54
  49. package/experience/rest.d.ts +1 -0
  50. package/experience/rest.js +430 -429
  51. package/experience/rest.js.map +1 -1
  52. package/experience/rest.ts +62 -60
  53. package/formation/rest.d.ts +1 -0
  54. package/formation/rest.js +549 -548
  55. package/formation/rest.js.map +1 -1
  56. package/formation/rest.ts +81 -79
  57. package/freeze/rest.d.ts +1 -0
  58. package/freeze/rest.js +27 -26
  59. package/freeze/rest.js.map +1 -1
  60. package/freeze/rest.ts +8 -6
  61. package/friend/rest.d.ts +1 -0
  62. package/friend/rest.js +442 -441
  63. package/friend/rest.js.map +1 -1
  64. package/friend/rest.ts +61 -59
  65. package/gateway/rest.d.ts +1 -0
  66. package/gateway/rest.js +180 -179
  67. package/gateway/rest.js.map +1 -1
  68. package/gateway/rest.ts +30 -28
  69. package/grade/rest.d.ts +1 -0
  70. package/grade/rest.js +329 -328
  71. package/grade/rest.js.map +1 -1
  72. package/grade/rest.ts +50 -48
  73. package/guard/rest.d.ts +1 -0
  74. package/guard/rest.js +34 -33
  75. package/guard/rest.js.map +1 -1
  76. package/guard/rest.ts +9 -7
  77. package/guild/rest.d.ts +1 -0
  78. package/guild/rest.js +770 -769
  79. package/guild/rest.js.map +1 -1
  80. package/guild/rest.ts +95 -93
  81. package/identifier/rest.d.ts +1 -0
  82. package/identifier/rest.js +145 -144
  83. package/identifier/rest.js.map +1 -1
  84. package/identifier/rest.ts +32 -30
  85. package/idle/rest.d.ts +1 -0
  86. package/idle/rest.js +266 -265
  87. package/idle/rest.js.map +1 -1
  88. package/idle/rest.ts +44 -42
  89. package/inbox/rest.d.ts +1 -0
  90. package/inbox/rest.js +319 -318
  91. package/inbox/rest.js.map +1 -1
  92. package/inbox/rest.ts +50 -48
  93. package/inventory/rest.d.ts +1 -0
  94. package/inventory/rest.js +1001 -1000
  95. package/inventory/rest.js.map +1 -1
  96. package/inventory/rest.ts +137 -135
  97. package/jobQueue/rest.d.ts +1 -0
  98. package/jobQueue/rest.js +155 -154
  99. package/jobQueue/rest.js.map +1 -1
  100. package/jobQueue/rest.ts +27 -25
  101. package/key/rest.d.ts +1 -0
  102. package/key/rest.js +107 -106
  103. package/key/rest.js.map +1 -1
  104. package/key/rest.ts +21 -19
  105. package/limit/rest.d.ts +1 -0
  106. package/limit/rest.js +264 -263
  107. package/limit/rest.js.map +1 -1
  108. package/limit/rest.ts +42 -40
  109. package/lock/rest.d.ts +1 -0
  110. package/lock/rest.js +91 -90
  111. package/lock/rest.js.map +1 -1
  112. package/lock/rest.ts +16 -14
  113. package/log/rest.d.ts +1 -0
  114. package/log/rest.js +220 -219
  115. package/log/rest.js.map +1 -1
  116. package/log/rest.ts +25 -23
  117. package/loginReward/rest.d.ts +1 -0
  118. package/loginReward/rest.js +268 -267
  119. package/loginReward/rest.js.map +1 -1
  120. package/loginReward/rest.ts +43 -41
  121. package/lottery/rest.d.ts +1 -0
  122. package/lottery/rest.js +318 -317
  123. package/lottery/rest.js.map +1 -1
  124. package/lottery/rest.ts +52 -50
  125. package/matchmaking/rest.d.ts +1 -0
  126. package/matchmaking/rest.js +540 -539
  127. package/matchmaking/rest.js.map +1 -1
  128. package/matchmaking/rest.ts +75 -73
  129. package/megaField/rest.d.ts +1 -0
  130. package/megaField/rest.js +225 -224
  131. package/megaField/rest.js.map +1 -1
  132. package/megaField/rest.ts +36 -34
  133. package/mission/rest.d.ts +1 -0
  134. package/mission/rest.js +576 -575
  135. package/mission/rest.js.map +1 -1
  136. package/mission/rest.ts +81 -79
  137. package/money/rest.d.ts +1 -0
  138. package/money/rest.js +201 -200
  139. package/money/rest.js.map +1 -1
  140. package/money/rest.ts +31 -29
  141. package/money2/rest.d.ts +1 -0
  142. package/money2/rest.js +432 -431
  143. package/money2/rest.js.map +1 -1
  144. package/money2/rest.ts +65 -63
  145. package/news/rest.d.ts +1 -0
  146. package/news/rest.js +94 -93
  147. package/news/rest.js.map +1 -1
  148. package/news/rest.ts +20 -18
  149. package/package.json +1 -1
  150. package/project/rest.d.ts +1 -0
  151. package/project/rest.js +265 -264
  152. package/project/rest.js.map +1 -1
  153. package/project/rest.ts +46 -44
  154. package/quest/rest.d.ts +1 -0
  155. package/quest/rest.js +338 -337
  156. package/quest/rest.js.map +1 -1
  157. package/quest/rest.ts +52 -50
  158. package/ranking/rest.d.ts +1 -0
  159. package/ranking/rest.js +337 -336
  160. package/ranking/rest.js.map +1 -1
  161. package/ranking/rest.ts +48 -46
  162. package/ranking2/rest.d.ts +1 -0
  163. package/ranking2/rest.js +889 -888
  164. package/ranking2/rest.js.map +1 -1
  165. package/ranking2/rest.ts +112 -110
  166. package/realtime/rest.d.ts +1 -0
  167. package/realtime/rest.js +68 -67
  168. package/realtime/rest.js.map +1 -1
  169. package/realtime/rest.ts +14 -12
  170. package/schedule/rest.d.ts +1 -0
  171. package/schedule/rest.js +311 -310
  172. package/schedule/rest.js.map +1 -1
  173. package/schedule/rest.ts +49 -47
  174. package/script/rest.d.ts +1 -0
  175. package/script/rest.js +109 -108
  176. package/script/rest.js.map +1 -1
  177. package/script/rest.ts +19 -17
  178. package/seasonRating/rest.d.ts +1 -0
  179. package/seasonRating/rest.js +205 -204
  180. package/seasonRating/rest.js.map +1 -1
  181. package/seasonRating/rest.ts +37 -35
  182. package/serialKey/rest.d.ts +1 -0
  183. package/serialKey/rest.js +246 -245
  184. package/serialKey/rest.js.map +1 -1
  185. package/serialKey/rest.ts +44 -42
  186. package/showcase/rest.d.ts +1 -0
  187. package/showcase/rest.js +395 -394
  188. package/showcase/rest.js.map +1 -1
  189. package/showcase/rest.ts +60 -58
  190. package/skillTree/rest.d.ts +1 -0
  191. package/skillTree/rest.js +267 -266
  192. package/skillTree/rest.js.map +1 -1
  193. package/skillTree/rest.ts +43 -41
  194. package/stamina/rest.d.ts +1 -0
  195. package/stamina/rest.js +596 -595
  196. package/stamina/rest.js.map +1 -1
  197. package/stamina/rest.ts +85 -83
  198. package/stateMachine/rest.d.ts +1 -0
  199. package/stateMachine/rest.js +208 -207
  200. package/stateMachine/rest.js.map +1 -1
  201. package/stateMachine/rest.ts +33 -31
  202. package/version/rest.d.ts +1 -0
  203. package/version/rest.js +259 -258
  204. package/version/rest.js.map +1 -1
  205. package/version/rest.ts +41 -39
  206. package/watch/rest.d.ts +1 -0
  207. package/watch/rest.js +334 -333
  208. package/watch/rest.js.map +1 -1
  209. package/watch/rest.ts +80 -78
@@ -26,8 +26,8 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
26
26
  return _super.call(this, session) || this;
27
27
  }
28
28
  Gs2DistributorRestClient.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 = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/')
31
31
  .replace('{service}', 'distributor')
32
32
  .replace('{region}', this.session.region);
33
33
  var headers = this.createAuthorizedHeaders();
@@ -35,10 +35,10 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
35
35
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
36
36
  }
37
37
  var params = {
38
- 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
39
- 'namePrefix': String((_b = request.getNamePrefix()) !== null && _b !== void 0 ? _b : null),
40
- 'pageToken': String((_c = request.getPageToken()) !== null && _c !== void 0 ? _c : null),
41
- 'limit': String((_d = request.getLimit()) !== null && _d !== void 0 ? _d : null),
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 Gs2DistributorRestClient = /** @class */ (function (_super) {
50
50
  });
51
51
  };
52
52
  Gs2DistributorRestClient.prototype.createNamespace = function (request) {
53
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
54
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/')
53
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
54
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/')
55
55
  .replace('{service}', 'distributor')
56
56
  .replace('{region}', this.session.region);
57
57
  var headers = this.createAuthorizedHeaders();
@@ -59,14 +59,14 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
59
59
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
60
60
  }
61
61
  var body = {
62
- 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
63
- 'name': (_b = request.getName()) !== null && _b !== void 0 ? _b : null,
64
- 'description': (_c = request.getDescription()) !== null && _c !== void 0 ? _c : null,
65
- 'transactionSetting': (_e = (_d = request.getTransactionSetting()) === null || _d === void 0 ? void 0 : _d.toDict()) !== null && _e !== void 0 ? _e : null,
66
- 'assumeUserId': (_f = request.getAssumeUserId()) !== null && _f !== void 0 ? _f : null,
67
- 'autoRunStampSheetNotification': (_h = (_g = request.getAutoRunStampSheetNotification()) === null || _g === void 0 ? void 0 : _g.toDict()) !== null && _h !== void 0 ? _h : null,
68
- 'autoRunTransactionNotification': (_k = (_j = request.getAutoRunTransactionNotification()) === null || _j === void 0 ? void 0 : _j.toDict()) !== null && _k !== void 0 ? _k : null,
69
- 'logSetting': (_m = (_l = request.getLogSetting()) === null || _l === void 0 ? void 0 : _l.toDict()) !== null && _m !== void 0 ? _m : null,
62
+ 'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
63
+ 'name': (_c = request.getName()) !== null && _c !== void 0 ? _c : null,
64
+ 'description': (_d = request.getDescription()) !== null && _d !== void 0 ? _d : null,
65
+ 'transactionSetting': (_f = (_e = request.getTransactionSetting()) === null || _e === void 0 ? void 0 : _e.toDict()) !== null && _f !== void 0 ? _f : null,
66
+ 'assumeUserId': (_g = request.getAssumeUserId()) !== null && _g !== void 0 ? _g : null,
67
+ 'autoRunStampSheetNotification': (_j = (_h = request.getAutoRunStampSheetNotification()) === null || _h === void 0 ? void 0 : _h.toDict()) !== null && _j !== void 0 ? _j : null,
68
+ 'autoRunTransactionNotification': (_l = (_k = request.getAutoRunTransactionNotification()) === null || _k === void 0 ? void 0 : _k.toDict()) !== null && _l !== void 0 ? _l : null,
69
+ 'logSetting': (_o = (_m = request.getLogSetting()) === null || _m === void 0 ? void 0 : _m.toDict()) !== null && _o !== void 0 ? _o : null,
70
70
  };
71
71
  return axios_1.default.post(url, body, {
72
72
  headers: headers,
@@ -82,17 +82,17 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
82
82
  });
83
83
  };
84
84
  Gs2DistributorRestClient.prototype.getNamespaceStatus = function (request) {
85
- var _a, _b, _c;
86
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/status')
85
+ var _a, _b, _c, _d;
86
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/status')
87
87
  .replace('{service}', 'distributor')
88
88
  .replace('{region}', this.session.region)
89
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
89
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
90
90
  var headers = this.createAuthorizedHeaders();
91
91
  if (request.getRequestId()) {
92
92
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
93
93
  }
94
94
  var params = {
95
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
95
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
96
96
  };
97
97
  return axios_1.default.get(url, {
98
98
  params: params,
@@ -104,17 +104,17 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
104
104
  });
105
105
  };
106
106
  Gs2DistributorRestClient.prototype.getNamespace = function (request) {
107
- var _a, _b, _c;
108
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
107
+ var _a, _b, _c, _d;
108
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}')
109
109
  .replace('{service}', 'distributor')
110
110
  .replace('{region}', this.session.region)
111
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
111
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
112
112
  var headers = this.createAuthorizedHeaders();
113
113
  if (request.getRequestId()) {
114
114
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
115
115
  }
116
116
  var params = {
117
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
117
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
118
118
  };
119
119
  return axios_1.default.get(url, {
120
120
  params: params,
@@ -126,23 +126,23 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
126
126
  });
127
127
  };
128
128
  Gs2DistributorRestClient.prototype.updateNamespace = function (request) {
129
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
130
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
129
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
130
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}')
131
131
  .replace('{service}', 'distributor')
132
132
  .replace('{region}', this.session.region)
133
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
133
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
134
134
  var headers = this.createAuthorizedHeaders();
135
135
  if (request.getRequestId()) {
136
136
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
137
137
  }
138
138
  var body = {
139
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
140
- 'description': (_d = request.getDescription()) !== null && _d !== void 0 ? _d : null,
141
- 'transactionSetting': (_f = (_e = request.getTransactionSetting()) === null || _e === void 0 ? void 0 : _e.toDict()) !== null && _f !== void 0 ? _f : null,
142
- 'assumeUserId': (_g = request.getAssumeUserId()) !== null && _g !== void 0 ? _g : null,
143
- 'autoRunStampSheetNotification': (_j = (_h = request.getAutoRunStampSheetNotification()) === null || _h === void 0 ? void 0 : _h.toDict()) !== null && _j !== void 0 ? _j : null,
144
- 'autoRunTransactionNotification': (_l = (_k = request.getAutoRunTransactionNotification()) === null || _k === void 0 ? void 0 : _k.toDict()) !== null && _l !== void 0 ? _l : null,
145
- 'logSetting': (_o = (_m = request.getLogSetting()) === null || _m === void 0 ? void 0 : _m.toDict()) !== null && _o !== void 0 ? _o : null,
139
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
140
+ 'description': (_e = request.getDescription()) !== null && _e !== void 0 ? _e : null,
141
+ 'transactionSetting': (_g = (_f = request.getTransactionSetting()) === null || _f === void 0 ? void 0 : _f.toDict()) !== null && _g !== void 0 ? _g : null,
142
+ 'assumeUserId': (_h = request.getAssumeUserId()) !== null && _h !== void 0 ? _h : null,
143
+ 'autoRunStampSheetNotification': (_k = (_j = request.getAutoRunStampSheetNotification()) === null || _j === void 0 ? void 0 : _j.toDict()) !== null && _k !== void 0 ? _k : null,
144
+ 'autoRunTransactionNotification': (_m = (_l = request.getAutoRunTransactionNotification()) === null || _l === void 0 ? void 0 : _l.toDict()) !== null && _m !== void 0 ? _m : null,
145
+ 'logSetting': (_p = (_o = request.getLogSetting()) === null || _o === void 0 ? void 0 : _o.toDict()) !== null && _p !== void 0 ? _p : null,
146
146
  };
147
147
  return axios_1.default.put(url, body, {
148
148
  headers: headers,
@@ -158,17 +158,17 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
158
158
  });
159
159
  };
160
160
  Gs2DistributorRestClient.prototype.deleteNamespace = function (request) {
161
- var _a, _b, _c;
162
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
161
+ var _a, _b, _c, _d;
162
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}')
163
163
  .replace('{service}', 'distributor')
164
164
  .replace('{region}', this.session.region)
165
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
165
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
166
166
  var headers = this.createAuthorizedHeaders();
167
167
  if (request.getRequestId()) {
168
168
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
169
169
  }
170
170
  var params = {
171
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
171
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
172
172
  };
173
173
  return axios_1.default.delete(url, {
174
174
  params: params,
@@ -180,8 +180,8 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
180
180
  });
181
181
  };
182
182
  Gs2DistributorRestClient.prototype.getServiceVersion = function (request) {
183
- var _a;
184
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/version')
183
+ var _a, _b;
184
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/system/version')
185
185
  .replace('{service}', 'distributor')
186
186
  .replace('{region}', this.session.region);
187
187
  var headers = this.createAuthorizedHeaders();
@@ -189,7 +189,7 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
189
189
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
190
190
  }
191
191
  var params = {
192
- 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
192
+ 'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
193
193
  };
194
194
  return axios_1.default.get(url, {
195
195
  params: params,
@@ -201,20 +201,20 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
201
201
  });
202
202
  };
203
203
  Gs2DistributorRestClient.prototype.describeDistributorModelMasters = function (request) {
204
- var _a, _b, _c, _d, _e, _f;
205
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/distributor')
204
+ var _a, _b, _c, _d, _e, _f, _g;
205
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/master/distributor')
206
206
  .replace('{service}', 'distributor')
207
207
  .replace('{region}', this.session.region)
208
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
208
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
209
209
  var headers = this.createAuthorizedHeaders();
210
210
  if (request.getRequestId()) {
211
211
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
212
212
  }
213
213
  var params = {
214
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
215
- 'namePrefix': String((_d = request.getNamePrefix()) !== null && _d !== void 0 ? _d : null),
216
- 'pageToken': String((_e = request.getPageToken()) !== null && _e !== void 0 ? _e : null),
217
- 'limit': String((_f = request.getLimit()) !== null && _f !== void 0 ? _f : null),
214
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
215
+ 'namePrefix': String((_e = request.getNamePrefix()) !== null && _e !== void 0 ? _e : null),
216
+ 'pageToken': String((_f = request.getPageToken()) !== null && _f !== void 0 ? _f : null),
217
+ 'limit': String((_g = request.getLimit()) !== null && _g !== void 0 ? _g : null),
218
218
  };
219
219
  return axios_1.default.get(url, {
220
220
  params: params,
@@ -226,22 +226,22 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
226
226
  });
227
227
  };
228
228
  Gs2DistributorRestClient.prototype.createDistributorModelMaster = function (request) {
229
- var _a, _b, _c, _d, _e, _f, _g, _h;
230
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/distributor')
229
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
230
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/master/distributor')
231
231
  .replace('{service}', 'distributor')
232
232
  .replace('{region}', this.session.region)
233
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
233
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
234
234
  var headers = this.createAuthorizedHeaders();
235
235
  if (request.getRequestId()) {
236
236
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
237
237
  }
238
238
  var body = {
239
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
240
- 'name': (_d = request.getName()) !== null && _d !== void 0 ? _d : null,
241
- 'description': (_e = request.getDescription()) !== null && _e !== void 0 ? _e : null,
242
- 'metadata': (_f = request.getMetadata()) !== null && _f !== void 0 ? _f : null,
243
- 'inboxNamespaceId': (_g = request.getInboxNamespaceId()) !== null && _g !== void 0 ? _g : null,
244
- 'whiteListTargetIds': (_h = request.getWhiteListTargetIds()) !== null && _h !== void 0 ? _h : null,
239
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
240
+ 'name': (_e = request.getName()) !== null && _e !== void 0 ? _e : null,
241
+ 'description': (_f = request.getDescription()) !== null && _f !== void 0 ? _f : null,
242
+ 'metadata': (_g = request.getMetadata()) !== null && _g !== void 0 ? _g : null,
243
+ 'inboxNamespaceId': (_h = request.getInboxNamespaceId()) !== null && _h !== void 0 ? _h : null,
244
+ 'whiteListTargetIds': (_j = request.getWhiteListTargetIds()) !== null && _j !== void 0 ? _j : null,
245
245
  };
246
246
  return axios_1.default.post(url, body, {
247
247
  headers: headers,
@@ -257,18 +257,18 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
257
257
  });
258
258
  };
259
259
  Gs2DistributorRestClient.prototype.getDistributorModelMaster = function (request) {
260
- var _a, _b, _c, _d, _e;
261
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/distributor/{distributorName}')
260
+ var _a, _b, _c, _d, _e, _f;
261
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/master/distributor/{distributorName}')
262
262
  .replace('{service}', 'distributor')
263
263
  .replace('{region}', this.session.region)
264
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
265
- .replace('{distributorName}', String((_c = request.getDistributorName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getDistributorName()) !== null && _d !== void 0 ? _d : 'null'));
264
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
265
+ .replace('{distributorName}', String((_d = request.getDistributorName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getDistributorName()) !== null && _e !== void 0 ? _e : 'null'));
266
266
  var headers = this.createAuthorizedHeaders();
267
267
  if (request.getRequestId()) {
268
268
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
269
269
  }
270
270
  var params = {
271
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
271
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
272
272
  };
273
273
  return axios_1.default.get(url, {
274
274
  params: params,
@@ -280,22 +280,22 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
280
280
  });
281
281
  };
282
282
  Gs2DistributorRestClient.prototype.updateDistributorModelMaster = function (request) {
283
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
284
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/distributor/{distributorName}')
283
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
284
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/master/distributor/{distributorName}')
285
285
  .replace('{service}', 'distributor')
286
286
  .replace('{region}', this.session.region)
287
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
288
- .replace('{distributorName}', String((_c = request.getDistributorName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getDistributorName()) !== null && _d !== void 0 ? _d : 'null'));
287
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
288
+ .replace('{distributorName}', String((_d = request.getDistributorName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getDistributorName()) !== null && _e !== void 0 ? _e : 'null'));
289
289
  var headers = this.createAuthorizedHeaders();
290
290
  if (request.getRequestId()) {
291
291
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
292
292
  }
293
293
  var body = {
294
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
295
- 'description': (_f = request.getDescription()) !== null && _f !== void 0 ? _f : null,
296
- 'metadata': (_g = request.getMetadata()) !== null && _g !== void 0 ? _g : null,
297
- 'inboxNamespaceId': (_h = request.getInboxNamespaceId()) !== null && _h !== void 0 ? _h : null,
298
- 'whiteListTargetIds': (_j = request.getWhiteListTargetIds()) !== null && _j !== void 0 ? _j : null,
294
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
295
+ 'description': (_g = request.getDescription()) !== null && _g !== void 0 ? _g : null,
296
+ 'metadata': (_h = request.getMetadata()) !== null && _h !== void 0 ? _h : null,
297
+ 'inboxNamespaceId': (_j = request.getInboxNamespaceId()) !== null && _j !== void 0 ? _j : null,
298
+ 'whiteListTargetIds': (_k = request.getWhiteListTargetIds()) !== null && _k !== void 0 ? _k : null,
299
299
  };
300
300
  return axios_1.default.put(url, body, {
301
301
  headers: headers,
@@ -311,18 +311,18 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
311
311
  });
312
312
  };
313
313
  Gs2DistributorRestClient.prototype.deleteDistributorModelMaster = function (request) {
314
- var _a, _b, _c, _d, _e;
315
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/distributor/{distributorName}')
314
+ var _a, _b, _c, _d, _e, _f;
315
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/master/distributor/{distributorName}')
316
316
  .replace('{service}', 'distributor')
317
317
  .replace('{region}', this.session.region)
318
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
319
- .replace('{distributorName}', String((_c = request.getDistributorName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getDistributorName()) !== null && _d !== void 0 ? _d : 'null'));
318
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
319
+ .replace('{distributorName}', String((_d = request.getDistributorName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getDistributorName()) !== null && _e !== void 0 ? _e : 'null'));
320
320
  var headers = this.createAuthorizedHeaders();
321
321
  if (request.getRequestId()) {
322
322
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
323
323
  }
324
324
  var params = {
325
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
325
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
326
326
  };
327
327
  return axios_1.default.delete(url, {
328
328
  params: params,
@@ -334,17 +334,17 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
334
334
  });
335
335
  };
336
336
  Gs2DistributorRestClient.prototype.describeDistributorModels = function (request) {
337
- var _a, _b, _c;
338
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distributor')
337
+ var _a, _b, _c, _d;
338
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/distributor')
339
339
  .replace('{service}', 'distributor')
340
340
  .replace('{region}', this.session.region)
341
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
341
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
342
342
  var headers = this.createAuthorizedHeaders();
343
343
  if (request.getRequestId()) {
344
344
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
345
345
  }
346
346
  var params = {
347
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
347
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
348
348
  };
349
349
  return axios_1.default.get(url, {
350
350
  params: params,
@@ -356,18 +356,18 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
356
356
  });
357
357
  };
358
358
  Gs2DistributorRestClient.prototype.getDistributorModel = function (request) {
359
- var _a, _b, _c, _d, _e;
360
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distributor/{distributorName}')
359
+ var _a, _b, _c, _d, _e, _f;
360
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/distributor/{distributorName}')
361
361
  .replace('{service}', 'distributor')
362
362
  .replace('{region}', this.session.region)
363
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
364
- .replace('{distributorName}', String((_c = request.getDistributorName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getDistributorName()) !== null && _d !== void 0 ? _d : 'null'));
363
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
364
+ .replace('{distributorName}', String((_d = request.getDistributorName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getDistributorName()) !== null && _e !== void 0 ? _e : 'null'));
365
365
  var headers = this.createAuthorizedHeaders();
366
366
  if (request.getRequestId()) {
367
367
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
368
368
  }
369
369
  var params = {
370
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
370
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
371
371
  };
372
372
  return axios_1.default.get(url, {
373
373
  params: params,
@@ -379,17 +379,17 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
379
379
  });
380
380
  };
381
381
  Gs2DistributorRestClient.prototype.exportMaster = function (request) {
382
- var _a, _b, _c;
383
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/export')
382
+ var _a, _b, _c, _d;
383
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/master/export')
384
384
  .replace('{service}', 'distributor')
385
385
  .replace('{region}', this.session.region)
386
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
386
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
387
387
  var headers = this.createAuthorizedHeaders();
388
388
  if (request.getRequestId()) {
389
389
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
390
390
  }
391
391
  var params = {
392
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
392
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
393
393
  };
394
394
  return axios_1.default.get(url, {
395
395
  params: params,
@@ -401,17 +401,17 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
401
401
  });
402
402
  };
403
403
  Gs2DistributorRestClient.prototype.getCurrentDistributorMaster = function (request) {
404
- var _a, _b, _c;
405
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
404
+ var _a, _b, _c, _d;
405
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/master')
406
406
  .replace('{service}', 'distributor')
407
407
  .replace('{region}', this.session.region)
408
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
408
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
409
409
  var headers = this.createAuthorizedHeaders();
410
410
  if (request.getRequestId()) {
411
411
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
412
412
  }
413
413
  var params = {
414
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
414
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
415
415
  };
416
416
  return axios_1.default.get(url, {
417
417
  params: params,
@@ -423,17 +423,17 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
423
423
  });
424
424
  };
425
425
  Gs2DistributorRestClient.prototype.preUpdateCurrentDistributorMaster = function (request) {
426
- var _a, _b, _c;
427
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
426
+ var _a, _b, _c, _d;
427
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/master')
428
428
  .replace('{service}', 'distributor')
429
429
  .replace('{region}', this.session.region)
430
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
430
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
431
431
  var headers = this.createAuthorizedHeaders();
432
432
  if (request.getRequestId()) {
433
433
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
434
434
  }
435
435
  var body = {
436
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
436
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
437
437
  };
438
438
  return axios_1.default.post(url, body, {
439
439
  headers: headers,
@@ -449,20 +449,20 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
449
449
  });
450
450
  };
451
451
  Gs2DistributorRestClient.prototype.updateCurrentDistributorMaster = function (request) {
452
- var _a, _b, _c, _d, _e, _f;
453
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
452
+ var _a, _b, _c, _d, _e, _f, _g;
453
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/master')
454
454
  .replace('{service}', 'distributor')
455
455
  .replace('{region}', this.session.region)
456
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
456
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
457
457
  var headers = this.createAuthorizedHeaders();
458
458
  if (request.getRequestId()) {
459
459
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
460
460
  }
461
461
  var body = {
462
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
463
- 'mode': (_d = request.getMode()) !== null && _d !== void 0 ? _d : null,
464
- 'settings': (_e = request.getSettings()) !== null && _e !== void 0 ? _e : null,
465
- 'uploadToken': (_f = request.getUploadToken()) !== null && _f !== void 0 ? _f : null,
462
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
463
+ 'mode': (_e = request.getMode()) !== null && _e !== void 0 ? _e : null,
464
+ 'settings': (_f = request.getSettings()) !== null && _f !== void 0 ? _f : null,
465
+ 'uploadToken': (_g = request.getUploadToken()) !== null && _g !== void 0 ? _g : null,
466
466
  };
467
467
  return axios_1.default.put(url, body, {
468
468
  headers: headers,
@@ -478,18 +478,18 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
478
478
  });
479
479
  };
480
480
  Gs2DistributorRestClient.prototype.updateCurrentDistributorMasterFromGitHub = function (request) {
481
- var _a, _b, _c, _d, _e;
482
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/from_git_hub')
481
+ var _a, _b, _c, _d, _e, _f;
482
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/master/from_git_hub')
483
483
  .replace('{service}', 'distributor')
484
484
  .replace('{region}', this.session.region)
485
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
485
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
486
486
  var headers = this.createAuthorizedHeaders();
487
487
  if (request.getRequestId()) {
488
488
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
489
489
  }
490
490
  var body = {
491
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
492
- 'checkoutSetting': (_e = (_d = request.getCheckoutSetting()) === null || _d === void 0 ? void 0 : _d.toDict()) !== null && _e !== void 0 ? _e : null,
491
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
492
+ 'checkoutSetting': (_f = (_e = request.getCheckoutSetting()) === null || _e === void 0 ? void 0 : _e.toDict()) !== null && _f !== void 0 ? _f : null,
493
493
  };
494
494
  return axios_1.default.put(url, body, {
495
495
  headers: headers,
@@ -505,26 +505,26 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
505
505
  });
506
506
  };
507
507
  Gs2DistributorRestClient.prototype.distribute = function (request) {
508
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
509
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distribute/{distributorName}')
508
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
509
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/distribute/{distributorName}')
510
510
  .replace('{service}', 'distributor')
511
511
  .replace('{region}', this.session.region)
512
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
513
- .replace('{distributorName}', String((_c = request.getDistributorName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getDistributorName()) !== null && _d !== void 0 ? _d : 'null'));
512
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
513
+ .replace('{distributorName}', String((_d = request.getDistributorName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getDistributorName()) !== null && _e !== void 0 ? _e : 'null'));
514
514
  var headers = this.createAuthorizedHeaders();
515
515
  if (request.getRequestId()) {
516
516
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
517
517
  }
518
518
  if (request.getDuplicationAvoider()) {
519
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_e = request.getDuplicationAvoider()) !== null && _e !== void 0 ? _e : null;
519
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_f = request.getDuplicationAvoider()) !== null && _f !== void 0 ? _f : null;
520
520
  }
521
521
  if (request.getTimeOffsetToken()) {
522
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_f = request.getTimeOffsetToken()) !== null && _f !== void 0 ? _f : null;
522
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_g = request.getTimeOffsetToken()) !== null && _g !== void 0 ? _g : null;
523
523
  }
524
524
  var body = {
525
- 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
526
- 'userId': (_h = request.getUserId()) !== null && _h !== void 0 ? _h : null,
527
- 'distributeResource': (_k = (_j = request.getDistributeResource()) === null || _j === void 0 ? void 0 : _j.toDict()) !== null && _k !== void 0 ? _k : null,
525
+ 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
526
+ 'userId': (_j = request.getUserId()) !== null && _j !== void 0 ? _j : null,
527
+ 'distributeResource': (_l = (_k = request.getDistributeResource()) === null || _k === void 0 ? void 0 : _k.toDict()) !== null && _l !== void 0 ? _l : null,
528
528
  };
529
529
  return axios_1.default.post(url, body, {
530
530
  headers: headers,
@@ -540,8 +540,8 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
540
540
  });
541
541
  };
542
542
  Gs2DistributorRestClient.prototype.distributeWithoutOverflowProcess = function (request) {
543
- var _a, _b, _c, _d, _e, _f;
544
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/distribute')
543
+ var _a, _b, _c, _d, _e, _f, _g;
544
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/distribute')
545
545
  .replace('{service}', 'distributor')
546
546
  .replace('{region}', this.session.region);
547
547
  var headers = this.createAuthorizedHeaders();
@@ -549,15 +549,15 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
549
549
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
550
550
  }
551
551
  if (request.getDuplicationAvoider()) {
552
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_a = request.getDuplicationAvoider()) !== null && _a !== void 0 ? _a : null;
552
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_b = request.getDuplicationAvoider()) !== null && _b !== void 0 ? _b : null;
553
553
  }
554
554
  if (request.getTimeOffsetToken()) {
555
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_b = request.getTimeOffsetToken()) !== null && _b !== void 0 ? _b : null;
555
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_c = request.getTimeOffsetToken()) !== null && _c !== void 0 ? _c : null;
556
556
  }
557
557
  var body = {
558
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
559
- 'userId': (_d = request.getUserId()) !== null && _d !== void 0 ? _d : null,
560
- 'distributeResource': (_f = (_e = request.getDistributeResource()) === null || _e === void 0 ? void 0 : _e.toDict()) !== null && _f !== void 0 ? _f : null,
558
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
559
+ 'userId': (_e = request.getUserId()) !== null && _e !== void 0 ? _e : null,
560
+ 'distributeResource': (_g = (_f = request.getDistributeResource()) === null || _f === void 0 ? void 0 : _f.toDict()) !== null && _g !== void 0 ? _g : null,
561
561
  };
562
562
  return axios_1.default.post(url, body, {
563
563
  headers: headers,
@@ -573,19 +573,19 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
573
573
  });
574
574
  };
575
575
  Gs2DistributorRestClient.prototype.runVerifyTask = function (request) {
576
- var _a, _b, _c, _d, _e;
577
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distribute/stamp/verifyTask/run')
576
+ var _a, _b, _c, _d, _e, _f;
577
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/distribute/stamp/verifyTask/run')
578
578
  .replace('{service}', 'distributor')
579
579
  .replace('{region}', this.session.region)
580
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
580
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
581
581
  var headers = this.createAuthorizedHeaders();
582
582
  if (request.getRequestId()) {
583
583
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
584
584
  }
585
585
  var body = {
586
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
587
- 'verifyTask': (_d = request.getVerifyTask()) !== null && _d !== void 0 ? _d : null,
588
- 'keyId': (_e = request.getKeyId()) !== null && _e !== void 0 ? _e : null,
586
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
587
+ 'verifyTask': (_e = request.getVerifyTask()) !== null && _e !== void 0 ? _e : null,
588
+ 'keyId': (_f = request.getKeyId()) !== null && _f !== void 0 ? _f : null,
589
589
  };
590
590
  return axios_1.default.post(url, body, {
591
591
  headers: headers,
@@ -601,19 +601,19 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
601
601
  });
602
602
  };
603
603
  Gs2DistributorRestClient.prototype.runStampTask = function (request) {
604
- var _a, _b, _c, _d, _e;
605
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distribute/stamp/task/run')
604
+ var _a, _b, _c, _d, _e, _f;
605
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/distribute/stamp/task/run')
606
606
  .replace('{service}', 'distributor')
607
607
  .replace('{region}', this.session.region)
608
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
608
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
609
609
  var headers = this.createAuthorizedHeaders();
610
610
  if (request.getRequestId()) {
611
611
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
612
612
  }
613
613
  var body = {
614
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
615
- 'stampTask': (_d = request.getStampTask()) !== null && _d !== void 0 ? _d : null,
616
- 'keyId': (_e = request.getKeyId()) !== null && _e !== void 0 ? _e : null,
614
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
615
+ 'stampTask': (_e = request.getStampTask()) !== null && _e !== void 0 ? _e : null,
616
+ 'keyId': (_f = request.getKeyId()) !== null && _f !== void 0 ? _f : null,
617
617
  };
618
618
  return axios_1.default.post(url, body, {
619
619
  headers: headers,
@@ -629,19 +629,19 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
629
629
  });
630
630
  };
631
631
  Gs2DistributorRestClient.prototype.runStampSheet = function (request) {
632
- var _a, _b, _c, _d, _e;
633
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distribute/stamp/sheet/run')
632
+ var _a, _b, _c, _d, _e, _f;
633
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/distribute/stamp/sheet/run')
634
634
  .replace('{service}', 'distributor')
635
635
  .replace('{region}', this.session.region)
636
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
636
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
637
637
  var headers = this.createAuthorizedHeaders();
638
638
  if (request.getRequestId()) {
639
639
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
640
640
  }
641
641
  var body = {
642
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
643
- 'stampSheet': (_d = request.getStampSheet()) !== null && _d !== void 0 ? _d : null,
644
- 'keyId': (_e = request.getKeyId()) !== null && _e !== void 0 ? _e : null,
642
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
643
+ 'stampSheet': (_e = request.getStampSheet()) !== null && _e !== void 0 ? _e : null,
644
+ 'keyId': (_f = request.getKeyId()) !== null && _f !== void 0 ? _f : null,
645
645
  };
646
646
  return axios_1.default.post(url, body, {
647
647
  headers: headers,
@@ -657,19 +657,19 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
657
657
  });
658
658
  };
659
659
  Gs2DistributorRestClient.prototype.runStampSheetExpress = function (request) {
660
- var _a, _b, _c, _d, _e;
661
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distribute/stamp/run')
660
+ var _a, _b, _c, _d, _e, _f;
661
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/distribute/stamp/run')
662
662
  .replace('{service}', 'distributor')
663
663
  .replace('{region}', this.session.region)
664
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
664
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
665
665
  var headers = this.createAuthorizedHeaders();
666
666
  if (request.getRequestId()) {
667
667
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
668
668
  }
669
669
  var body = {
670
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
671
- 'stampSheet': (_d = request.getStampSheet()) !== null && _d !== void 0 ? _d : null,
672
- 'keyId': (_e = request.getKeyId()) !== null && _e !== void 0 ? _e : null,
670
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
671
+ 'stampSheet': (_e = request.getStampSheet()) !== null && _e !== void 0 ? _e : null,
672
+ 'keyId': (_f = request.getKeyId()) !== null && _f !== void 0 ? _f : null,
673
673
  };
674
674
  return axios_1.default.post(url, body, {
675
675
  headers: headers,
@@ -685,8 +685,8 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
685
685
  });
686
686
  };
687
687
  Gs2DistributorRestClient.prototype.runVerifyTaskWithoutNamespace = function (request) {
688
- var _a, _b, _c;
689
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/verifyTask/run')
688
+ var _a, _b, _c, _d;
689
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/stamp/verifyTask/run')
690
690
  .replace('{service}', 'distributor')
691
691
  .replace('{region}', this.session.region);
692
692
  var headers = this.createAuthorizedHeaders();
@@ -694,9 +694,9 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
694
694
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
695
695
  }
696
696
  var body = {
697
- 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
698
- 'verifyTask': (_b = request.getVerifyTask()) !== null && _b !== void 0 ? _b : null,
699
- 'keyId': (_c = request.getKeyId()) !== null && _c !== void 0 ? _c : null,
697
+ 'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
698
+ 'verifyTask': (_c = request.getVerifyTask()) !== null && _c !== void 0 ? _c : null,
699
+ 'keyId': (_d = request.getKeyId()) !== null && _d !== void 0 ? _d : null,
700
700
  };
701
701
  return axios_1.default.post(url, body, {
702
702
  headers: headers,
@@ -712,8 +712,8 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
712
712
  });
713
713
  };
714
714
  Gs2DistributorRestClient.prototype.runStampTaskWithoutNamespace = function (request) {
715
- var _a, _b, _c;
716
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/task/run')
715
+ var _a, _b, _c, _d;
716
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/stamp/task/run')
717
717
  .replace('{service}', 'distributor')
718
718
  .replace('{region}', this.session.region);
719
719
  var headers = this.createAuthorizedHeaders();
@@ -721,9 +721,9 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
721
721
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
722
722
  }
723
723
  var body = {
724
- 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
725
- 'stampTask': (_b = request.getStampTask()) !== null && _b !== void 0 ? _b : null,
726
- 'keyId': (_c = request.getKeyId()) !== null && _c !== void 0 ? _c : null,
724
+ 'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
725
+ 'stampTask': (_c = request.getStampTask()) !== null && _c !== void 0 ? _c : null,
726
+ 'keyId': (_d = request.getKeyId()) !== null && _d !== void 0 ? _d : null,
727
727
  };
728
728
  return axios_1.default.post(url, body, {
729
729
  headers: headers,
@@ -739,8 +739,8 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
739
739
  });
740
740
  };
741
741
  Gs2DistributorRestClient.prototype.runStampSheetWithoutNamespace = function (request) {
742
- var _a, _b, _c;
743
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/sheet/run')
742
+ var _a, _b, _c, _d;
743
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/stamp/sheet/run')
744
744
  .replace('{service}', 'distributor')
745
745
  .replace('{region}', this.session.region);
746
746
  var headers = this.createAuthorizedHeaders();
@@ -748,9 +748,9 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
748
748
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
749
749
  }
750
750
  var body = {
751
- 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
752
- 'stampSheet': (_b = request.getStampSheet()) !== null && _b !== void 0 ? _b : null,
753
- 'keyId': (_c = request.getKeyId()) !== null && _c !== void 0 ? _c : null,
751
+ 'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
752
+ 'stampSheet': (_c = request.getStampSheet()) !== null && _c !== void 0 ? _c : null,
753
+ 'keyId': (_d = request.getKeyId()) !== null && _d !== void 0 ? _d : null,
754
754
  };
755
755
  return axios_1.default.post(url, body, {
756
756
  headers: headers,
@@ -766,8 +766,8 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
766
766
  });
767
767
  };
768
768
  Gs2DistributorRestClient.prototype.runStampSheetExpressWithoutNamespace = function (request) {
769
- var _a, _b, _c;
770
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/run')
769
+ var _a, _b, _c, _d;
770
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/stamp/run')
771
771
  .replace('{service}', 'distributor')
772
772
  .replace('{region}', this.session.region);
773
773
  var headers = this.createAuthorizedHeaders();
@@ -775,9 +775,9 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
775
775
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
776
776
  }
777
777
  var body = {
778
- 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
779
- 'stampSheet': (_b = request.getStampSheet()) !== null && _b !== void 0 ? _b : null,
780
- 'keyId': (_c = request.getKeyId()) !== null && _c !== void 0 ? _c : null,
778
+ 'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
779
+ 'stampSheet': (_c = request.getStampSheet()) !== null && _c !== void 0 ? _c : null,
780
+ 'keyId': (_d = request.getKeyId()) !== null && _d !== void 0 ? _d : null,
781
781
  };
782
782
  return axios_1.default.post(url, body, {
783
783
  headers: headers,
@@ -793,8 +793,8 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
793
793
  });
794
794
  };
795
795
  Gs2DistributorRestClient.prototype.setTransactionDefaultConfig = function (request) {
796
- var _a, _b, _c, _d, _e;
797
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/transaction/user/me/config')
796
+ var _a, _b, _c, _d, _e, _f;
797
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/transaction/user/me/config')
798
798
  .replace('{service}', 'distributor')
799
799
  .replace('{region}', this.session.region);
800
800
  var headers = this.createAuthorizedHeaders();
@@ -802,14 +802,14 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
802
802
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
803
803
  }
804
804
  if (request.getAccessToken()) {
805
- headers['X-GS2-ACCESS-TOKEN'] = (_a = request.getAccessToken()) !== null && _a !== void 0 ? _a : null;
805
+ headers['X-GS2-ACCESS-TOKEN'] = (_b = request.getAccessToken()) !== null && _b !== void 0 ? _b : null;
806
806
  }
807
807
  if (request.getDuplicationAvoider()) {
808
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_b = request.getDuplicationAvoider()) !== null && _b !== void 0 ? _b : null;
808
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_c = request.getDuplicationAvoider()) !== null && _c !== void 0 ? _c : null;
809
809
  }
810
810
  var body = {
811
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
812
- 'config': (_e = (_d = request.getConfig()) === null || _d === void 0 ? void 0 : _d.map(function (item) { return item.toDict(); })) !== null && _e !== void 0 ? _e : null,
811
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
812
+ 'config': (_f = (_e = request.getConfig()) === null || _e === void 0 ? void 0 : _e.map(function (item) { return item.toDict(); })) !== null && _f !== void 0 ? _f : null,
813
813
  };
814
814
  return axios_1.default.post(url, body, {
815
815
  headers: headers,
@@ -825,24 +825,24 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
825
825
  });
826
826
  };
827
827
  Gs2DistributorRestClient.prototype.setTransactionDefaultConfigByUserId = function (request) {
828
- var _a, _b, _c, _d, _e, _f, _g;
829
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/transaction/user/{userId}/config')
828
+ var _a, _b, _c, _d, _e, _f, _g, _h;
829
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/transaction/user/{userId}/config')
830
830
  .replace('{service}', 'distributor')
831
831
  .replace('{region}', this.session.region)
832
- .replace('{userId}', String((_a = request.getUserId()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null'));
832
+ .replace('{userId}', String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null'));
833
833
  var headers = this.createAuthorizedHeaders();
834
834
  if (request.getRequestId()) {
835
835
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
836
836
  }
837
837
  if (request.getDuplicationAvoider()) {
838
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_c = request.getDuplicationAvoider()) !== null && _c !== void 0 ? _c : null;
838
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_d = request.getDuplicationAvoider()) !== null && _d !== void 0 ? _d : null;
839
839
  }
840
840
  if (request.getTimeOffsetToken()) {
841
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
841
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_e = request.getTimeOffsetToken()) !== null && _e !== void 0 ? _e : null;
842
842
  }
843
843
  var body = {
844
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
845
- 'config': (_g = (_f = request.getConfig()) === null || _f === void 0 ? void 0 : _f.map(function (item) { return item.toDict(); })) !== null && _g !== void 0 ? _g : null,
844
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
845
+ 'config': (_h = (_g = request.getConfig()) === null || _g === void 0 ? void 0 : _g.map(function (item) { return item.toDict(); })) !== null && _h !== void 0 ? _h : null,
846
846
  };
847
847
  return axios_1.default.post(url, body, {
848
848
  headers: headers,
@@ -858,20 +858,20 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
858
858
  });
859
859
  };
860
860
  Gs2DistributorRestClient.prototype.freezeMasterData = function (request) {
861
- var _a, _b, _c, _d;
862
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/masterdata/freeze')
861
+ var _a, _b, _c, _d, _e;
862
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/user/me/masterdata/freeze')
863
863
  .replace('{service}', 'distributor')
864
864
  .replace('{region}', this.session.region)
865
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
865
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
866
866
  var headers = this.createAuthorizedHeaders();
867
867
  if (request.getRequestId()) {
868
868
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
869
869
  }
870
870
  if (request.getAccessToken()) {
871
- headers['X-GS2-ACCESS-TOKEN'] = (_c = request.getAccessToken()) !== null && _c !== void 0 ? _c : null;
871
+ headers['X-GS2-ACCESS-TOKEN'] = (_d = request.getAccessToken()) !== null && _d !== void 0 ? _d : null;
872
872
  }
873
873
  var body = {
874
- 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
874
+ 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
875
875
  };
876
876
  return axios_1.default.post(url, body, {
877
877
  headers: headers,
@@ -887,21 +887,21 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
887
887
  });
888
888
  };
889
889
  Gs2DistributorRestClient.prototype.freezeMasterDataByUserId = function (request) {
890
- var _a, _b, _c, _d, _e, _f;
891
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/masterdata/freeze')
890
+ var _a, _b, _c, _d, _e, _f, _g;
891
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/user/{userId}/masterdata/freeze')
892
892
  .replace('{service}', 'distributor')
893
893
  .replace('{region}', this.session.region)
894
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
895
- .replace('{userId}', String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null'));
894
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
895
+ .replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'));
896
896
  var headers = this.createAuthorizedHeaders();
897
897
  if (request.getRequestId()) {
898
898
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
899
899
  }
900
900
  if (request.getTimeOffsetToken()) {
901
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_e = request.getTimeOffsetToken()) !== null && _e !== void 0 ? _e : null;
901
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_f = request.getTimeOffsetToken()) !== null && _f !== void 0 ? _f : null;
902
902
  }
903
903
  var body = {
904
- 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
904
+ 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
905
905
  };
906
906
  return axios_1.default.post(url, body, {
907
907
  headers: headers,
@@ -917,19 +917,19 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
917
917
  });
918
918
  };
919
919
  Gs2DistributorRestClient.prototype.signFreezeMasterDataTimestamp = function (request) {
920
- var _a, _b, _c, _d, _e;
921
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/masterdata/freeze/timestamp')
920
+ var _a, _b, _c, _d, _e, _f;
921
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/masterdata/freeze/timestamp')
922
922
  .replace('{service}', 'distributor')
923
923
  .replace('{region}', this.session.region)
924
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
924
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
925
925
  var headers = this.createAuthorizedHeaders();
926
926
  if (request.getRequestId()) {
927
927
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
928
928
  }
929
929
  var body = {
930
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
931
- 'timestamp': (_d = request.getTimestamp()) !== null && _d !== void 0 ? _d : null,
932
- 'keyId': (_e = request.getKeyId()) !== null && _e !== void 0 ? _e : null,
930
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
931
+ 'timestamp': (_e = request.getTimestamp()) !== null && _e !== void 0 ? _e : null,
932
+ 'keyId': (_f = request.getKeyId()) !== null && _f !== void 0 ? _f : null,
933
933
  };
934
934
  return axios_1.default.post(url, body, {
935
935
  headers: headers,
@@ -945,23 +945,23 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
945
945
  });
946
946
  };
947
947
  Gs2DistributorRestClient.prototype.freezeMasterDataBySignedTimestamp = function (request) {
948
- var _a, _b, _c, _d, _e, _f, _g;
949
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/masterdata/freeze/timestamp')
948
+ var _a, _b, _c, _d, _e, _f, _g, _h;
949
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/user/me/masterdata/freeze/timestamp')
950
950
  .replace('{service}', 'distributor')
951
951
  .replace('{region}', this.session.region)
952
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
952
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
953
953
  var headers = this.createAuthorizedHeaders();
954
954
  if (request.getRequestId()) {
955
955
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
956
956
  }
957
957
  if (request.getAccessToken()) {
958
- headers['X-GS2-ACCESS-TOKEN'] = (_c = request.getAccessToken()) !== null && _c !== void 0 ? _c : null;
958
+ headers['X-GS2-ACCESS-TOKEN'] = (_d = request.getAccessToken()) !== null && _d !== void 0 ? _d : null;
959
959
  }
960
960
  var body = {
961
- 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
962
- 'body': (_e = request.getBody()) !== null && _e !== void 0 ? _e : null,
963
- 'signature': (_f = request.getSignature()) !== null && _f !== void 0 ? _f : null,
964
- 'keyId': (_g = request.getKeyId()) !== null && _g !== void 0 ? _g : null,
961
+ 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
962
+ 'body': (_f = request.getBody()) !== null && _f !== void 0 ? _f : null,
963
+ 'signature': (_g = request.getSignature()) !== null && _g !== void 0 ? _g : null,
964
+ 'keyId': (_h = request.getKeyId()) !== null && _h !== void 0 ? _h : null,
965
965
  };
966
966
  return axios_1.default.post(url, body, {
967
967
  headers: headers,
@@ -977,21 +977,21 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
977
977
  });
978
978
  };
979
979
  Gs2DistributorRestClient.prototype.freezeMasterDataByTimestamp = function (request) {
980
- var _a, _b, _c, _d, _e;
981
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/masterdata/freeze/timestamp/raw')
980
+ var _a, _b, _c, _d, _e, _f;
981
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/user/me/masterdata/freeze/timestamp/raw')
982
982
  .replace('{service}', 'distributor')
983
983
  .replace('{region}', this.session.region)
984
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
984
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
985
985
  var headers = this.createAuthorizedHeaders();
986
986
  if (request.getRequestId()) {
987
987
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
988
988
  }
989
989
  if (request.getAccessToken()) {
990
- headers['X-GS2-ACCESS-TOKEN'] = (_c = request.getAccessToken()) !== null && _c !== void 0 ? _c : null;
990
+ headers['X-GS2-ACCESS-TOKEN'] = (_d = request.getAccessToken()) !== null && _d !== void 0 ? _d : null;
991
991
  }
992
992
  var body = {
993
- 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
994
- 'timestamp': (_e = request.getTimestamp()) !== null && _e !== void 0 ? _e : null,
993
+ 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
994
+ 'timestamp': (_f = request.getTimestamp()) !== null && _f !== void 0 ? _f : null,
995
995
  };
996
996
  return axios_1.default.post(url, body, {
997
997
  headers: headers,
@@ -1007,8 +1007,8 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1007
1007
  });
1008
1008
  };
1009
1009
  Gs2DistributorRestClient.prototype.batchExecuteApi = function (request) {
1010
- var _a, _b, _c;
1011
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/batch/execute')
1010
+ var _a, _b, _c, _d;
1011
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/batch/execute')
1012
1012
  .replace('{service}', 'distributor')
1013
1013
  .replace('{region}', this.session.region);
1014
1014
  var headers = this.createAuthorizedHeaders();
@@ -1016,8 +1016,8 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1016
1016
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1017
1017
  }
1018
1018
  var body = {
1019
- 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
1020
- 'requestPayloads': (_c = (_b = request.getRequestPayloads()) === null || _b === void 0 ? void 0 : _b.map(function (item) { return item.toDict(); })) !== null && _c !== void 0 ? _c : null,
1019
+ 'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
1020
+ 'requestPayloads': (_d = (_c = request.getRequestPayloads()) === null || _c === void 0 ? void 0 : _c.map(function (item) { return item.toDict(); })) !== null && _d !== void 0 ? _d : null,
1021
1021
  };
1022
1022
  return axios_1.default.post(url, body, {
1023
1023
  headers: headers,
@@ -1033,28 +1033,28 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1033
1033
  });
1034
1034
  };
1035
1035
  Gs2DistributorRestClient.prototype.ifExpressionByUserId = function (request) {
1036
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
1037
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/expression/if')
1036
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
1037
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/expression/if')
1038
1038
  .replace('{service}', 'distributor')
1039
1039
  .replace('{region}', this.session.region)
1040
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
1040
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
1041
1041
  var headers = this.createAuthorizedHeaders();
1042
1042
  if (request.getRequestId()) {
1043
1043
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1044
1044
  }
1045
1045
  if (request.getDuplicationAvoider()) {
1046
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_c = request.getDuplicationAvoider()) !== null && _c !== void 0 ? _c : null;
1046
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_d = request.getDuplicationAvoider()) !== null && _d !== void 0 ? _d : null;
1047
1047
  }
1048
1048
  if (request.getTimeOffsetToken()) {
1049
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
1049
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_e = request.getTimeOffsetToken()) !== null && _e !== void 0 ? _e : null;
1050
1050
  }
1051
1051
  var body = {
1052
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1053
- 'userId': (_f = request.getUserId()) !== null && _f !== void 0 ? _f : null,
1054
- 'condition': (_h = (_g = request.getCondition()) === null || _g === void 0 ? void 0 : _g.toDict()) !== null && _h !== void 0 ? _h : null,
1055
- 'trueActions': (_k = (_j = request.getTrueActions()) === null || _j === void 0 ? void 0 : _j.map(function (item) { return item.toDict(); })) !== null && _k !== void 0 ? _k : null,
1056
- 'falseActions': (_m = (_l = request.getFalseActions()) === null || _l === void 0 ? void 0 : _l.map(function (item) { return item.toDict(); })) !== null && _m !== void 0 ? _m : null,
1057
- 'multiplyValueSpecifyingQuantity': (_o = request.getMultiplyValueSpecifyingQuantity()) !== null && _o !== void 0 ? _o : null,
1052
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1053
+ 'userId': (_g = request.getUserId()) !== null && _g !== void 0 ? _g : null,
1054
+ 'condition': (_j = (_h = request.getCondition()) === null || _h === void 0 ? void 0 : _h.toDict()) !== null && _j !== void 0 ? _j : null,
1055
+ 'trueActions': (_l = (_k = request.getTrueActions()) === null || _k === void 0 ? void 0 : _k.map(function (item) { return item.toDict(); })) !== null && _l !== void 0 ? _l : null,
1056
+ 'falseActions': (_o = (_m = request.getFalseActions()) === null || _m === void 0 ? void 0 : _m.map(function (item) { return item.toDict(); })) !== null && _o !== void 0 ? _o : null,
1057
+ 'multiplyValueSpecifyingQuantity': (_p = request.getMultiplyValueSpecifyingQuantity()) !== null && _p !== void 0 ? _p : null,
1058
1058
  };
1059
1059
  return axios_1.default.post(url, body, {
1060
1060
  headers: headers,
@@ -1070,25 +1070,25 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1070
1070
  });
1071
1071
  };
1072
1072
  Gs2DistributorRestClient.prototype.andExpressionByUserId = function (request) {
1073
- var _a, _b, _c, _d, _e, _f, _g, _h;
1074
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/expression/and')
1073
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1074
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/expression/and')
1075
1075
  .replace('{service}', 'distributor')
1076
1076
  .replace('{region}', this.session.region)
1077
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
1077
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
1078
1078
  var headers = this.createAuthorizedHeaders();
1079
1079
  if (request.getRequestId()) {
1080
1080
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1081
1081
  }
1082
1082
  if (request.getDuplicationAvoider()) {
1083
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_c = request.getDuplicationAvoider()) !== null && _c !== void 0 ? _c : null;
1083
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_d = request.getDuplicationAvoider()) !== null && _d !== void 0 ? _d : null;
1084
1084
  }
1085
1085
  if (request.getTimeOffsetToken()) {
1086
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
1086
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_e = request.getTimeOffsetToken()) !== null && _e !== void 0 ? _e : null;
1087
1087
  }
1088
1088
  var body = {
1089
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1090
- 'userId': (_f = request.getUserId()) !== null && _f !== void 0 ? _f : null,
1091
- 'actions': (_h = (_g = request.getActions()) === null || _g === void 0 ? void 0 : _g.map(function (item) { return item.toDict(); })) !== null && _h !== void 0 ? _h : null,
1089
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1090
+ 'userId': (_g = request.getUserId()) !== null && _g !== void 0 ? _g : null,
1091
+ 'actions': (_j = (_h = request.getActions()) === null || _h === void 0 ? void 0 : _h.map(function (item) { return item.toDict(); })) !== null && _j !== void 0 ? _j : null,
1092
1092
  };
1093
1093
  return axios_1.default.post(url, body, {
1094
1094
  headers: headers,
@@ -1104,25 +1104,25 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1104
1104
  });
1105
1105
  };
1106
1106
  Gs2DistributorRestClient.prototype.orExpressionByUserId = function (request) {
1107
- var _a, _b, _c, _d, _e, _f, _g, _h;
1108
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/expression/or')
1107
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1108
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/expression/or')
1109
1109
  .replace('{service}', 'distributor')
1110
1110
  .replace('{region}', this.session.region)
1111
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
1111
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
1112
1112
  var headers = this.createAuthorizedHeaders();
1113
1113
  if (request.getRequestId()) {
1114
1114
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1115
1115
  }
1116
1116
  if (request.getDuplicationAvoider()) {
1117
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_c = request.getDuplicationAvoider()) !== null && _c !== void 0 ? _c : null;
1117
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_d = request.getDuplicationAvoider()) !== null && _d !== void 0 ? _d : null;
1118
1118
  }
1119
1119
  if (request.getTimeOffsetToken()) {
1120
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
1120
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_e = request.getTimeOffsetToken()) !== null && _e !== void 0 ? _e : null;
1121
1121
  }
1122
1122
  var body = {
1123
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1124
- 'userId': (_f = request.getUserId()) !== null && _f !== void 0 ? _f : null,
1125
- 'actions': (_h = (_g = request.getActions()) === null || _g === void 0 ? void 0 : _g.map(function (item) { return item.toDict(); })) !== null && _h !== void 0 ? _h : null,
1123
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1124
+ 'userId': (_g = request.getUserId()) !== null && _g !== void 0 ? _g : null,
1125
+ 'actions': (_j = (_h = request.getActions()) === null || _h === void 0 ? void 0 : _h.map(function (item) { return item.toDict(); })) !== null && _j !== void 0 ? _j : null,
1126
1126
  };
1127
1127
  return axios_1.default.post(url, body, {
1128
1128
  headers: headers,
@@ -1138,8 +1138,8 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1138
1138
  });
1139
1139
  };
1140
1140
  Gs2DistributorRestClient.prototype.ifExpressionByStampTask = function (request) {
1141
- var _a, _b, _c;
1142
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/expression/if')
1141
+ var _a, _b, _c, _d;
1142
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/stamp/expression/if')
1143
1143
  .replace('{service}', 'distributor')
1144
1144
  .replace('{region}', this.session.region);
1145
1145
  var headers = this.createAuthorizedHeaders();
@@ -1147,9 +1147,9 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1147
1147
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1148
1148
  }
1149
1149
  var body = {
1150
- 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
1151
- 'stampTask': (_b = request.getStampTask()) !== null && _b !== void 0 ? _b : null,
1152
- 'keyId': (_c = request.getKeyId()) !== null && _c !== void 0 ? _c : null,
1150
+ 'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
1151
+ 'stampTask': (_c = request.getStampTask()) !== null && _c !== void 0 ? _c : null,
1152
+ 'keyId': (_d = request.getKeyId()) !== null && _d !== void 0 ? _d : null,
1153
1153
  };
1154
1154
  return axios_1.default.post(url, body, {
1155
1155
  headers: headers,
@@ -1165,8 +1165,8 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1165
1165
  });
1166
1166
  };
1167
1167
  Gs2DistributorRestClient.prototype.andExpressionByStampTask = function (request) {
1168
- var _a, _b, _c;
1169
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/expression/and')
1168
+ var _a, _b, _c, _d;
1169
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/stamp/expression/and')
1170
1170
  .replace('{service}', 'distributor')
1171
1171
  .replace('{region}', this.session.region);
1172
1172
  var headers = this.createAuthorizedHeaders();
@@ -1174,9 +1174,9 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1174
1174
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1175
1175
  }
1176
1176
  var body = {
1177
- 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
1178
- 'stampTask': (_b = request.getStampTask()) !== null && _b !== void 0 ? _b : null,
1179
- 'keyId': (_c = request.getKeyId()) !== null && _c !== void 0 ? _c : null,
1177
+ 'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
1178
+ 'stampTask': (_c = request.getStampTask()) !== null && _c !== void 0 ? _c : null,
1179
+ 'keyId': (_d = request.getKeyId()) !== null && _d !== void 0 ? _d : null,
1180
1180
  };
1181
1181
  return axios_1.default.post(url, body, {
1182
1182
  headers: headers,
@@ -1192,8 +1192,8 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1192
1192
  });
1193
1193
  };
1194
1194
  Gs2DistributorRestClient.prototype.orExpressionByStampTask = function (request) {
1195
- var _a, _b, _c;
1196
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/expression/or')
1195
+ var _a, _b, _c, _d;
1196
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/stamp/expression/or')
1197
1197
  .replace('{service}', 'distributor')
1198
1198
  .replace('{region}', this.session.region);
1199
1199
  var headers = this.createAuthorizedHeaders();
@@ -1201,9 +1201,9 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1201
1201
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1202
1202
  }
1203
1203
  var body = {
1204
- 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
1205
- 'stampTask': (_b = request.getStampTask()) !== null && _b !== void 0 ? _b : null,
1206
- 'keyId': (_c = request.getKeyId()) !== null && _c !== void 0 ? _c : null,
1204
+ 'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
1205
+ 'stampTask': (_c = request.getStampTask()) !== null && _c !== void 0 ? _c : null,
1206
+ 'keyId': (_d = request.getKeyId()) !== null && _d !== void 0 ? _d : null,
1207
1207
  };
1208
1208
  return axios_1.default.post(url, body, {
1209
1209
  headers: headers,
@@ -1219,21 +1219,21 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1219
1219
  });
1220
1220
  };
1221
1221
  Gs2DistributorRestClient.prototype.getStampSheetResult = function (request) {
1222
- var _a, _b, _c, _d, _e, _f;
1223
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/stampSheet/{transactionId}/result')
1222
+ var _a, _b, _c, _d, _e, _f, _g;
1223
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/user/me/stampSheet/{transactionId}/result')
1224
1224
  .replace('{service}', 'distributor')
1225
1225
  .replace('{region}', this.session.region)
1226
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1227
- .replace('{transactionId}', String((_c = request.getTransactionId()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getTransactionId()) !== null && _d !== void 0 ? _d : 'null'));
1226
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1227
+ .replace('{transactionId}', String((_d = request.getTransactionId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getTransactionId()) !== null && _e !== void 0 ? _e : 'null'));
1228
1228
  var headers = this.createAuthorizedHeaders();
1229
1229
  if (request.getRequestId()) {
1230
1230
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1231
1231
  }
1232
1232
  if (request.getAccessToken()) {
1233
- headers['X-GS2-ACCESS-TOKEN'] = (_e = request.getAccessToken()) !== null && _e !== void 0 ? _e : null;
1233
+ headers['X-GS2-ACCESS-TOKEN'] = (_f = request.getAccessToken()) !== null && _f !== void 0 ? _f : null;
1234
1234
  }
1235
1235
  var params = {
1236
- 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1236
+ 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
1237
1237
  };
1238
1238
  return axios_1.default.get(url, {
1239
1239
  params: params,
@@ -1245,22 +1245,22 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1245
1245
  });
1246
1246
  };
1247
1247
  Gs2DistributorRestClient.prototype.getStampSheetResultByUserId = function (request) {
1248
- var _a, _b, _c, _d, _e, _f, _g, _h;
1249
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/stampSheet/{transactionId}/result')
1248
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1249
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/user/{userId}/stampSheet/{transactionId}/result')
1250
1250
  .replace('{service}', 'distributor')
1251
1251
  .replace('{region}', this.session.region)
1252
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1253
- .replace('{userId}', String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null'))
1254
- .replace('{transactionId}', String((_e = request.getTransactionId()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getTransactionId()) !== null && _f !== void 0 ? _f : 'null'));
1252
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1253
+ .replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'))
1254
+ .replace('{transactionId}', String((_f = request.getTransactionId()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getTransactionId()) !== null && _g !== void 0 ? _g : 'null'));
1255
1255
  var headers = this.createAuthorizedHeaders();
1256
1256
  if (request.getRequestId()) {
1257
1257
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1258
1258
  }
1259
1259
  if (request.getTimeOffsetToken()) {
1260
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_g = request.getTimeOffsetToken()) !== null && _g !== void 0 ? _g : null;
1260
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_h = request.getTimeOffsetToken()) !== null && _h !== void 0 ? _h : null;
1261
1261
  }
1262
1262
  var params = {
1263
- 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
1263
+ 'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
1264
1264
  };
1265
1265
  return axios_1.default.get(url, {
1266
1266
  params: params,
@@ -1272,26 +1272,26 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1272
1272
  });
1273
1273
  };
1274
1274
  Gs2DistributorRestClient.prototype.runTransaction = function (request) {
1275
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1276
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/{ownerId}/{namespaceName}/user/{userId}/transaction/run')
1275
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
1276
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/system/{ownerId}/{namespaceName}/user/{userId}/transaction/run')
1277
1277
  .replace('{service}', 'distributor')
1278
1278
  .replace('{region}', this.session.region)
1279
- .replace('{ownerId}', String((_a = request.getOwnerId()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getOwnerId()) !== null && _b !== void 0 ? _b : 'null'))
1280
- .replace('{namespaceName}', String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getNamespaceName()) !== null && _d !== void 0 ? _d : 'null'))
1281
- .replace('{userId}', String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getUserId()) !== null && _f !== void 0 ? _f : 'null'));
1279
+ .replace('{ownerId}', String((_b = request.getOwnerId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getOwnerId()) !== null && _c !== void 0 ? _c : 'null'))
1280
+ .replace('{namespaceName}', String((_d = request.getNamespaceName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getNamespaceName()) !== null && _e !== void 0 ? _e : 'null'))
1281
+ .replace('{userId}', String((_f = request.getUserId()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getUserId()) !== null && _g !== void 0 ? _g : 'null'));
1282
1282
  var headers = this.createAuthorizedHeaders();
1283
1283
  if (request.getRequestId()) {
1284
1284
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1285
1285
  }
1286
1286
  if (request.getDuplicationAvoider()) {
1287
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_g = request.getDuplicationAvoider()) !== null && _g !== void 0 ? _g : null;
1287
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_h = request.getDuplicationAvoider()) !== null && _h !== void 0 ? _h : null;
1288
1288
  }
1289
1289
  if (request.getTimeOffsetToken()) {
1290
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_h = request.getTimeOffsetToken()) !== null && _h !== void 0 ? _h : null;
1290
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_j = request.getTimeOffsetToken()) !== null && _j !== void 0 ? _j : null;
1291
1291
  }
1292
1292
  var body = {
1293
- 'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
1294
- 'transaction': (_k = request.getTransaction()) !== null && _k !== void 0 ? _k : null,
1293
+ 'contextStack': (_k = request.getContextStack()) !== null && _k !== void 0 ? _k : null,
1294
+ 'transaction': (_l = request.getTransaction()) !== null && _l !== void 0 ? _l : null,
1295
1295
  };
1296
1296
  return axios_1.default.post(url, body, {
1297
1297
  headers: headers,
@@ -1307,21 +1307,21 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1307
1307
  });
1308
1308
  };
1309
1309
  Gs2DistributorRestClient.prototype.getTransactionResult = function (request) {
1310
- var _a, _b, _c, _d, _e, _f;
1311
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/transaction/{transactionId}/result')
1310
+ var _a, _b, _c, _d, _e, _f, _g;
1311
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/user/me/transaction/{transactionId}/result')
1312
1312
  .replace('{service}', 'distributor')
1313
1313
  .replace('{region}', this.session.region)
1314
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1315
- .replace('{transactionId}', String((_c = request.getTransactionId()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getTransactionId()) !== null && _d !== void 0 ? _d : 'null'));
1314
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1315
+ .replace('{transactionId}', String((_d = request.getTransactionId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getTransactionId()) !== null && _e !== void 0 ? _e : 'null'));
1316
1316
  var headers = this.createAuthorizedHeaders();
1317
1317
  if (request.getRequestId()) {
1318
1318
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1319
1319
  }
1320
1320
  if (request.getAccessToken()) {
1321
- headers['X-GS2-ACCESS-TOKEN'] = (_e = request.getAccessToken()) !== null && _e !== void 0 ? _e : null;
1321
+ headers['X-GS2-ACCESS-TOKEN'] = (_f = request.getAccessToken()) !== null && _f !== void 0 ? _f : null;
1322
1322
  }
1323
1323
  var params = {
1324
- 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1324
+ 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
1325
1325
  };
1326
1326
  return axios_1.default.get(url, {
1327
1327
  params: params,
@@ -1333,22 +1333,22 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1333
1333
  });
1334
1334
  };
1335
1335
  Gs2DistributorRestClient.prototype.getTransactionResultByUserId = function (request) {
1336
- var _a, _b, _c, _d, _e, _f, _g, _h;
1337
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/transaction/{transactionId}/result')
1336
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1337
+ var url = (((_a = Gs2DistributorRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST) + '/{namespaceName}/user/{userId}/transaction/{transactionId}/result')
1338
1338
  .replace('{service}', 'distributor')
1339
1339
  .replace('{region}', this.session.region)
1340
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1341
- .replace('{userId}', String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null'))
1342
- .replace('{transactionId}', String((_e = request.getTransactionId()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getTransactionId()) !== null && _f !== void 0 ? _f : 'null'));
1340
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1341
+ .replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'))
1342
+ .replace('{transactionId}', String((_f = request.getTransactionId()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getTransactionId()) !== null && _g !== void 0 ? _g : 'null'));
1343
1343
  var headers = this.createAuthorizedHeaders();
1344
1344
  if (request.getRequestId()) {
1345
1345
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1346
1346
  }
1347
1347
  if (request.getTimeOffsetToken()) {
1348
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_g = request.getTimeOffsetToken()) !== null && _g !== void 0 ? _g : null;
1348
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_h = request.getTimeOffsetToken()) !== null && _h !== void 0 ? _h : null;
1349
1349
  }
1350
1350
  var params = {
1351
- 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
1351
+ 'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
1352
1352
  };
1353
1353
  return axios_1.default.get(url, {
1354
1354
  params: params,
@@ -1359,6 +1359,7 @@ var Gs2DistributorRestClient = /** @class */ (function (_super) {
1359
1359
  throw JSON.parse(error.response.data.message);
1360
1360
  });
1361
1361
  };
1362
+ Gs2DistributorRestClient.ENDPOINT_HOST = null;
1362
1363
  return Gs2DistributorRestClient;
1363
1364
  }(AbstractGs2RestClient_1.default));
1364
1365
  exports.default = Gs2DistributorRestClient;