@lcdp/api-react-rest-client 2.5.5-develop.6787497078 → 2.5.5-develop.6796323718

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 (194) hide show
  1. package/auth/src/apis/AuthApi.js +51 -35
  2. package/auth/src/apis/ManageApiKeyApi.js +77 -53
  3. package/auth/src/apis/SearchApiKeyApi.js +52 -36
  4. package/auth/src/runtime.d.ts +2 -2
  5. package/auth/src/runtime.js +1 -1
  6. package/banking-operation/src/apis/ManageLevyApi.js +52 -36
  7. package/banking-operation/src/apis/ManageOrderPaymentApi.js +52 -36
  8. package/banking-operation/src/apis/SearchLevyApi.js +52 -36
  9. package/banking-operation/src/apis/SearchOrderPaymentApi.js +26 -18
  10. package/banking-operation/src/runtime.d.ts +2 -2
  11. package/banking-operation/src/runtime.js +1 -1
  12. package/catalog/src/apis/ManageProductInsightApi.js +77 -53
  13. package/catalog/src/apis/SearchProductInsightApi.js +52 -36
  14. package/catalog/src/runtime.d.ts +2 -2
  15. package/catalog/src/runtime.js +1 -1
  16. package/challenge/src/apis/ManageChallengesApi.js +26 -18
  17. package/challenge/src/runtime.d.ts +2 -2
  18. package/challenge/src/runtime.js +1 -1
  19. package/configuration/src/apis/ManageVariableApi.js +25 -17
  20. package/configuration/src/apis/ManageVatApi.js +51 -35
  21. package/configuration/src/apis/SearchVatApi.js +52 -36
  22. package/configuration/src/runtime.d.ts +2 -2
  23. package/configuration/src/runtime.js +1 -1
  24. package/content/src/apis/ManageContentApi.js +26 -18
  25. package/content/src/runtime.d.ts +2 -2
  26. package/content/src/runtime.js +1 -1
  27. package/factory/src/apis/ManageAssemblyApi.js +53 -35
  28. package/factory/src/apis/ManageAssemblyOperationApi.js +26 -18
  29. package/factory/src/apis/SearchAssemblyApi.js +104 -72
  30. package/factory/src/apis/SearchAssemblyLineApi.js +52 -36
  31. package/factory/src/apis/SearchAssemblyOperationApi.js +52 -36
  32. package/factory/src/runtime.d.ts +2 -2
  33. package/factory/src/runtime.js +1 -1
  34. package/favorite/src/apis/ManageFavoriteProductApi.js +103 -71
  35. package/favorite/src/runtime.d.ts +2 -2
  36. package/favorite/src/runtime.js +1 -1
  37. package/geo/src/apis/SearchCountryApi.js +26 -18
  38. package/geo/src/runtime.d.ts +2 -2
  39. package/geo/src/runtime.js +1 -1
  40. package/inventory/src/apis/ManageInventoryApi.js +126 -86
  41. package/inventory/src/apis/SearchInventoryApi.js +260 -180
  42. package/inventory/src/runtime.d.ts +2 -2
  43. package/inventory/src/runtime.js +1 -1
  44. package/invoice/src/apis/ManageInvoiceApi.js +52 -36
  45. package/invoice/src/apis/ManageInvoiceLineApi.js +51 -35
  46. package/invoice/src/apis/ManageInvoicesSummaryApi.js +25 -17
  47. package/invoice/src/apis/SearchInvoiceApi.js +52 -36
  48. package/invoice/src/apis/SearchInvoiceLineApi.js +26 -18
  49. package/invoice/src/apis/SearchOrderTallyApi.js +52 -36
  50. package/invoice/src/runtime.d.ts +2 -2
  51. package/invoice/src/runtime.js +1 -1
  52. package/laboratory/src/apis/ManageLaboratoryApi.js +26 -18
  53. package/laboratory/src/apis/SearchLaboratoryApi.js +52 -36
  54. package/laboratory/src/runtime.d.ts +2 -2
  55. package/laboratory/src/runtime.js +1 -1
  56. package/laboratory-store/src/apis/ManageLaboratoryStoreApi.js +52 -36
  57. package/laboratory-store/src/apis/ManageLaboratoryStoreImageApi.js +106 -70
  58. package/laboratory-store/src/apis/SearchLaboratoryStoreApi.js +52 -36
  59. package/laboratory-store/src/runtime.d.ts +2 -2
  60. package/laboratory-store/src/runtime.js +1 -1
  61. package/laboratory-store-log/src/apis/SearchLaboratoryStoreLogApi.js +26 -18
  62. package/laboratory-store-log/src/runtime.d.ts +2 -2
  63. package/laboratory-store-log/src/runtime.js +1 -1
  64. package/lexicon/src/apis/ManageLexiconApi.js +51 -35
  65. package/lexicon/src/apis/SearchLexiconApi.js +104 -72
  66. package/lexicon/src/runtime.d.ts +2 -2
  67. package/lexicon/src/runtime.js +1 -1
  68. package/litigation/src/apis/ManageLitigationApi.js +25 -17
  69. package/litigation/src/runtime.d.ts +2 -2
  70. package/litigation/src/runtime.js +1 -1
  71. package/magic-cart/src/apis/ManageExpressOrderApi.js +26 -18
  72. package/magic-cart/src/runtime.d.ts +2 -2
  73. package/magic-cart/src/runtime.js +1 -1
  74. package/mandate/src/apis/ManageMandatesApi.js +103 -71
  75. package/mandate/src/runtime.d.ts +2 -2
  76. package/mandate/src/runtime.js +1 -1
  77. package/mangopay-hook/src/runtime.d.ts +2 -2
  78. package/mangopay-hook/src/runtime.js +1 -1
  79. package/message/src/apis/ManageMessageApi.js +127 -87
  80. package/message/src/apis/SearchMessageApi.js +78 -54
  81. package/message/src/runtime.d.ts +2 -2
  82. package/message/src/runtime.js +1 -1
  83. package/notification/src/apis/ManageNotificationApi.js +51 -35
  84. package/notification/src/apis/ManageNotificationTypeApi.js +79 -53
  85. package/notification/src/apis/SearchNotificationApi.js +52 -36
  86. package/notification/src/apis/SearchNotificationTypeApi.js +78 -54
  87. package/notification/src/runtime.d.ts +2 -2
  88. package/notification/src/runtime.js +1 -1
  89. package/order/src/apis/ManageMetaOrderApi.js +51 -35
  90. package/order/src/apis/ManageOrderApi.js +229 -157
  91. package/order/src/apis/ManageOrderItemApi.js +128 -88
  92. package/order/src/apis/SearchOrderApi.js +104 -72
  93. package/order/src/apis/SearchOrderItemApi.js +130 -90
  94. package/order/src/runtime.d.ts +2 -2
  95. package/order/src/runtime.js +1 -1
  96. package/order-log/src/apis/SearchOrderLogApi.js +26 -18
  97. package/order-log/src/runtime.d.ts +2 -2
  98. package/order-log/src/runtime.js +1 -1
  99. package/outrage-message/src/apis/ManageOutrageMessageApi.js +77 -53
  100. package/outrage-message/src/apis/SearchOutrageMessageApi.js +52 -36
  101. package/outrage-message/src/runtime.d.ts +2 -2
  102. package/outrage-message/src/runtime.js +1 -1
  103. package/package.json +1 -1
  104. package/product/src/apis/ManageProductApi.js +52 -36
  105. package/product/src/apis/ManageProductImageApi.js +52 -34
  106. package/product/src/apis/ManageProductProscriptionApi.js +51 -35
  107. package/product/src/apis/SearchProductApi.js +52 -36
  108. package/product/src/apis/SearchProductImageApi.js +52 -36
  109. package/product/src/apis/SearchProductMetadataApi.js +104 -72
  110. package/product/src/apis/SearchProductProscriptionApi.js +26 -18
  111. package/product/src/runtime.d.ts +2 -2
  112. package/product/src/runtime.js +1 -1
  113. package/pub/src/apis/ManagePubApi.js +102 -70
  114. package/pub/src/apis/ManagePubImageApi.js +28 -18
  115. package/pub/src/apis/SearchPubApi.js +78 -54
  116. package/pub/src/runtime.d.ts +2 -2
  117. package/pub/src/runtime.js +1 -1
  118. package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.js +26 -18
  119. package/recommendation/src/apis/SearchProductPriceRecommendationApi.js +26 -18
  120. package/recommendation/src/apis/SearchProductRecommendationApi.js +26 -18
  121. package/recommendation/src/runtime.d.ts +2 -2
  122. package/recommendation/src/runtime.js +1 -1
  123. package/rfx/src/apis/ManageRfiApi.js +25 -17
  124. package/rfx/src/apis/ManageRfilApi.js +25 -17
  125. package/rfx/src/apis/ManageRfoApi.js +25 -17
  126. package/rfx/src/apis/ManageRfoiApi.js +52 -36
  127. package/rfx/src/apis/SearchRfoiApi.js +26 -18
  128. package/rfx/src/runtime.d.ts +2 -2
  129. package/rfx/src/runtime.js +1 -1
  130. package/sale-offer/src/apis/ManageSaleOfferApi.js +153 -105
  131. package/sale-offer/src/apis/SearchSaleOfferApi.js +52 -36
  132. package/sale-offer/src/runtime.d.ts +2 -2
  133. package/sale-offer/src/runtime.js +1 -1
  134. package/sale-offer-log/src/apis/SearchSaleOfferLogApi.js +26 -18
  135. package/sale-offer-log/src/runtime.d.ts +2 -2
  136. package/sale-offer-log/src/runtime.js +1 -1
  137. package/servant/src/apis/ManageTaskApi.js +25 -17
  138. package/servant/src/apis/SearchServantApi.js +26 -18
  139. package/servant/src/runtime.d.ts +2 -2
  140. package/servant/src/runtime.js +1 -1
  141. package/shipment/src/apis/ManageOrderCarriageApi.js +26 -18
  142. package/shipment/src/apis/ManageShipmentApi.js +52 -36
  143. package/shipment/src/apis/SearchOrderCarriageApi.js +52 -36
  144. package/shipment/src/runtime.d.ts +2 -2
  145. package/shipment/src/runtime.js +1 -1
  146. package/shopping-cart/src/apis/ManageCartApi.js +52 -36
  147. package/shopping-cart/src/apis/ManageCartSubCartApi.js +77 -53
  148. package/shopping-cart/src/apis/ManageCartSubCartLineApi.js +128 -88
  149. package/shopping-cart/src/runtime.d.ts +2 -2
  150. package/shopping-cart/src/runtime.js +1 -1
  151. package/statistic/src/apis/SearchSaleOfferStatisticsApi.js +52 -36
  152. package/statistic/src/runtime.d.ts +2 -2
  153. package/statistic/src/runtime.js +1 -1
  154. package/subscription/src/apis/ManageSubscriptionApi.js +77 -53
  155. package/subscription/src/apis/ManageSubscriptionPlanApi.js +26 -18
  156. package/subscription/src/apis/SearchSubscriptionApi.js +26 -18
  157. package/subscription/src/apis/SearchSubscriptionPlanApi.js +52 -36
  158. package/subscription/src/apis/SearchSubscriptionPlanFeatureApi.js +26 -18
  159. package/subscription/src/runtime.d.ts +2 -2
  160. package/subscription/src/runtime.js +1 -1
  161. package/thread/src/apis/ManageThreadCommentApi.js +52 -36
  162. package/thread/src/apis/SearchThreadApi.js +26 -18
  163. package/thread/src/apis/SearchThreadCommentApi.js +26 -18
  164. package/thread/src/runtime.d.ts +2 -2
  165. package/thread/src/runtime.js +1 -1
  166. package/ubo/src/apis/ManageUboDeclarationApi.js +26 -18
  167. package/ubo/src/apis/SearchUboDeclarationApi.js +26 -18
  168. package/ubo/src/runtime.d.ts +2 -2
  169. package/ubo/src/runtime.js +1 -1
  170. package/user/src/apis/ManagePasswordApi.js +50 -34
  171. package/user/src/apis/ManageUserApi.js +177 -121
  172. package/user/src/apis/ManageUserBankAccountApi.js +52 -36
  173. package/user/src/apis/ManageUserDocumentApi.js +82 -54
  174. package/user/src/apis/ManageUserFavoriteLaboratoryStoreApi.js +100 -68
  175. package/user/src/apis/ManageUserRestrictionApi.js +200 -136
  176. package/user/src/apis/ManageUserRoleApi.js +26 -18
  177. package/user/src/apis/ManageUserRuleApi.js +51 -35
  178. package/user/src/apis/ManageUserSocialNetworksApi.js +52 -36
  179. package/user/src/apis/ManageUserTransportApi.js +26 -18
  180. package/user/src/apis/SearchUserApi.js +156 -108
  181. package/user/src/apis/SearchUserDocumentApi.js +180 -124
  182. package/user/src/apis/SearchUserFavoriteLaboratoryStoreApi.js +52 -36
  183. package/user/src/apis/SearchUserFeatureApi.js +26 -18
  184. package/user/src/apis/SearchUserRestrictionApi.js +104 -72
  185. package/user/src/apis/SearchUserRuleApi.js +26 -18
  186. package/user/src/apis/SearchUserSocialNetworksApi.js +52 -36
  187. package/user/src/apis/SearchUserTransportApi.js +52 -36
  188. package/user/src/runtime.d.ts +2 -2
  189. package/user/src/runtime.js +1 -1
  190. package/wish/src/apis/ManageWishApi.js +75 -51
  191. package/wish/src/apis/SearchProductEnthusiasmApi.js +26 -18
  192. package/wish/src/apis/SearchWishApi.js +52 -36
  193. package/wish/src/runtime.d.ts +2 -2
  194. package/wish/src/runtime.js +1 -1
@@ -80,9 +80,9 @@ var SearchInventoryApi = /** @class */ (function (_super) {
80
80
  */
81
81
  SearchInventoryApi.prototype.getCurrentInventoryActiveProductsRaw = function (requestParameters) {
82
82
  return __awaiter(this, void 0, void 0, function () {
83
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_1;
84
- return __generator(this, function (_a) {
85
- switch (_a.label) {
83
+ var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_1;
84
+ return __generator(this, function (_b) {
85
+ switch (_b.label) {
86
86
  case 0:
87
87
  queryParameters = {};
88
88
  if (requestParameters.q !== undefined) {
@@ -107,24 +107,32 @@ var SearchInventoryApi = /** @class */ (function (_super) {
107
107
  if (this.configuration && this.configuration.apiKey) {
108
108
  headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
109
109
  }
110
- if (this.configuration && this.configuration.accessToken) {
111
- token = this.configuration.accessToken;
112
- tokenString = typeof token === 'function' ? token("bearerAuth", []) : token;
113
- if (tokenString) {
114
- headerParameters["Authorization"] = "Bearer ".concat(tokenString);
115
- }
116
- }
117
- _a.label = 1;
110
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
111
+ token = this.configuration.accessToken;
112
+ if (!(typeof token === 'function')) return [3 /*break*/, 2];
113
+ return [4 /*yield*/, token("bearerAuth", [])];
118
114
  case 1:
119
- _a.trys.push([1, 3, , 4]);
115
+ _a = _b.sent();
116
+ return [3 /*break*/, 3];
117
+ case 2:
118
+ _a = token;
119
+ _b.label = 3;
120
+ case 3:
121
+ tokenString = _a;
122
+ if (tokenString) {
123
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
124
+ }
125
+ _b.label = 4;
126
+ case 4:
127
+ _b.trys.push([4, 6, , 7]);
120
128
  return [4 /*yield*/, this.request({
121
129
  path: "/inventories/me/active-products",
122
130
  method: 'GET',
123
131
  headers: headerParameters,
124
132
  query: queryParameters,
125
133
  })];
126
- case 2:
127
- response = _a.sent();
134
+ case 5:
135
+ response = _b.sent();
128
136
  contentType = response.headers.get("content-type");
129
137
  if (contentType && contentType.indexOf("application/json") !== -1) {
130
138
  return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.PaginatedActiveProductsFromJSON)(jsonValue); })];
@@ -136,12 +144,12 @@ var SearchInventoryApi = /** @class */ (function (_super) {
136
144
  // TODO : Better handling of others application types
137
145
  return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
138
146
  }
139
- return [3 /*break*/, 4];
140
- case 3:
141
- response_1 = _a.sent();
147
+ return [3 /*break*/, 7];
148
+ case 6:
149
+ response_1 = _b.sent();
142
150
  console.debug(response_1);
143
151
  throw response_1;
144
- case 4: return [2 /*return*/];
152
+ case 7: return [2 /*return*/];
145
153
  }
146
154
  });
147
155
  });
@@ -168,9 +176,9 @@ var SearchInventoryApi = /** @class */ (function (_super) {
168
176
  */
169
177
  SearchInventoryApi.prototype.getCurrentInventoryMisalignedProductsRaw = function (requestParameters) {
170
178
  return __awaiter(this, void 0, void 0, function () {
171
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_2;
172
- return __generator(this, function (_a) {
173
- switch (_a.label) {
179
+ var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_2;
180
+ return __generator(this, function (_b) {
181
+ switch (_b.label) {
174
182
  case 0:
175
183
  queryParameters = {};
176
184
  if (requestParameters.q !== undefined) {
@@ -195,24 +203,32 @@ var SearchInventoryApi = /** @class */ (function (_super) {
195
203
  if (this.configuration && this.configuration.apiKey) {
196
204
  headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
197
205
  }
198
- if (this.configuration && this.configuration.accessToken) {
199
- token = this.configuration.accessToken;
200
- tokenString = typeof token === 'function' ? token("bearerAuth", []) : token;
201
- if (tokenString) {
202
- headerParameters["Authorization"] = "Bearer ".concat(tokenString);
203
- }
204
- }
205
- _a.label = 1;
206
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
207
+ token = this.configuration.accessToken;
208
+ if (!(typeof token === 'function')) return [3 /*break*/, 2];
209
+ return [4 /*yield*/, token("bearerAuth", [])];
206
210
  case 1:
207
- _a.trys.push([1, 3, , 4]);
211
+ _a = _b.sent();
212
+ return [3 /*break*/, 3];
213
+ case 2:
214
+ _a = token;
215
+ _b.label = 3;
216
+ case 3:
217
+ tokenString = _a;
218
+ if (tokenString) {
219
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
220
+ }
221
+ _b.label = 4;
222
+ case 4:
223
+ _b.trys.push([4, 6, , 7]);
208
224
  return [4 /*yield*/, this.request({
209
225
  path: "/inventories/me/misaligned-products",
210
226
  method: 'GET',
211
227
  headers: headerParameters,
212
228
  query: queryParameters,
213
229
  })];
214
- case 2:
215
- response = _a.sent();
230
+ case 5:
231
+ response = _b.sent();
216
232
  contentType = response.headers.get("content-type");
217
233
  if (contentType && contentType.indexOf("application/json") !== -1) {
218
234
  return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.PaginatedMisalignedProductsFromJSON)(jsonValue); })];
@@ -224,12 +240,12 @@ var SearchInventoryApi = /** @class */ (function (_super) {
224
240
  // TODO : Better handling of others application types
225
241
  return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
226
242
  }
227
- return [3 /*break*/, 4];
228
- case 3:
229
- response_2 = _a.sent();
243
+ return [3 /*break*/, 7];
244
+ case 6:
245
+ response_2 = _b.sent();
230
246
  console.debug(response_2);
231
247
  throw response_2;
232
- case 4: return [2 /*return*/];
248
+ case 7: return [2 /*return*/];
233
249
  }
234
250
  });
235
251
  });
@@ -256,9 +272,9 @@ var SearchInventoryApi = /** @class */ (function (_super) {
256
272
  */
257
273
  SearchInventoryApi.prototype.getCurrentInventoryOverstockProductsRaw = function (requestParameters) {
258
274
  return __awaiter(this, void 0, void 0, function () {
259
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_3;
260
- return __generator(this, function (_a) {
261
- switch (_a.label) {
275
+ var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_3;
276
+ return __generator(this, function (_b) {
277
+ switch (_b.label) {
262
278
  case 0:
263
279
  queryParameters = {};
264
280
  if (requestParameters.q !== undefined) {
@@ -295,24 +311,32 @@ var SearchInventoryApi = /** @class */ (function (_super) {
295
311
  if (this.configuration && this.configuration.apiKey) {
296
312
  headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
297
313
  }
298
- if (this.configuration && this.configuration.accessToken) {
299
- token = this.configuration.accessToken;
300
- tokenString = typeof token === 'function' ? token("bearerAuth", []) : token;
301
- if (tokenString) {
302
- headerParameters["Authorization"] = "Bearer ".concat(tokenString);
303
- }
304
- }
305
- _a.label = 1;
314
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
315
+ token = this.configuration.accessToken;
316
+ if (!(typeof token === 'function')) return [3 /*break*/, 2];
317
+ return [4 /*yield*/, token("bearerAuth", [])];
306
318
  case 1:
307
- _a.trys.push([1, 3, , 4]);
319
+ _a = _b.sent();
320
+ return [3 /*break*/, 3];
321
+ case 2:
322
+ _a = token;
323
+ _b.label = 3;
324
+ case 3:
325
+ tokenString = _a;
326
+ if (tokenString) {
327
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
328
+ }
329
+ _b.label = 4;
330
+ case 4:
331
+ _b.trys.push([4, 6, , 7]);
308
332
  return [4 /*yield*/, this.request({
309
333
  path: "/inventories/me/overstock-products",
310
334
  method: 'GET',
311
335
  headers: headerParameters,
312
336
  query: queryParameters,
313
337
  })];
314
- case 2:
315
- response = _a.sent();
338
+ case 5:
339
+ response = _b.sent();
316
340
  contentType = response.headers.get("content-type");
317
341
  if (contentType && contentType.indexOf("application/json") !== -1) {
318
342
  return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.PaginatedOverstockProductsFromJSON)(jsonValue); })];
@@ -324,12 +348,12 @@ var SearchInventoryApi = /** @class */ (function (_super) {
324
348
  // TODO : Better handling of others application types
325
349
  return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
326
350
  }
327
- return [3 /*break*/, 4];
328
- case 3:
329
- response_3 = _a.sent();
351
+ return [3 /*break*/, 7];
352
+ case 6:
353
+ response_3 = _b.sent();
330
354
  console.debug(response_3);
331
355
  throw response_3;
332
- case 4: return [2 /*return*/];
356
+ case 7: return [2 /*return*/];
333
357
  }
334
358
  });
335
359
  });
@@ -356,33 +380,41 @@ var SearchInventoryApi = /** @class */ (function (_super) {
356
380
  */
357
381
  SearchInventoryApi.prototype.getCurrentInventoryStatisticsRaw = function () {
358
382
  return __awaiter(this, void 0, void 0, function () {
359
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_4;
360
- return __generator(this, function (_a) {
361
- switch (_a.label) {
383
+ var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_4;
384
+ return __generator(this, function (_b) {
385
+ switch (_b.label) {
362
386
  case 0:
363
387
  queryParameters = {};
364
388
  headerParameters = {};
365
389
  if (this.configuration && this.configuration.apiKey) {
366
390
  headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
367
391
  }
368
- if (this.configuration && this.configuration.accessToken) {
369
- token = this.configuration.accessToken;
370
- tokenString = typeof token === 'function' ? token("bearerAuth", []) : token;
371
- if (tokenString) {
372
- headerParameters["Authorization"] = "Bearer ".concat(tokenString);
373
- }
374
- }
375
- _a.label = 1;
392
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
393
+ token = this.configuration.accessToken;
394
+ if (!(typeof token === 'function')) return [3 /*break*/, 2];
395
+ return [4 /*yield*/, token("bearerAuth", [])];
376
396
  case 1:
377
- _a.trys.push([1, 3, , 4]);
397
+ _a = _b.sent();
398
+ return [3 /*break*/, 3];
399
+ case 2:
400
+ _a = token;
401
+ _b.label = 3;
402
+ case 3:
403
+ tokenString = _a;
404
+ if (tokenString) {
405
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
406
+ }
407
+ _b.label = 4;
408
+ case 4:
409
+ _b.trys.push([4, 6, , 7]);
378
410
  return [4 /*yield*/, this.request({
379
411
  path: "/inventories/me/statistics",
380
412
  method: 'GET',
381
413
  headers: headerParameters,
382
414
  query: queryParameters,
383
415
  })];
384
- case 2:
385
- response = _a.sent();
416
+ case 5:
417
+ response = _b.sent();
386
418
  contentType = response.headers.get("content-type");
387
419
  if (contentType && contentType.indexOf("application/json") !== -1) {
388
420
  return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.StatisticsFromJSON)(jsonValue); })];
@@ -394,12 +426,12 @@ var SearchInventoryApi = /** @class */ (function (_super) {
394
426
  // TODO : Better handling of others application types
395
427
  return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
396
428
  }
397
- return [3 /*break*/, 4];
398
- case 3:
399
- response_4 = _a.sent();
429
+ return [3 /*break*/, 7];
430
+ case 6:
431
+ response_4 = _b.sent();
400
432
  console.debug(response_4);
401
433
  throw response_4;
402
- case 4: return [2 /*return*/];
434
+ case 7: return [2 /*return*/];
403
435
  }
404
436
  });
405
437
  });
@@ -427,33 +459,41 @@ var SearchInventoryApi = /** @class */ (function (_super) {
427
459
  */
428
460
  SearchInventoryApi.prototype.getCurrentInventorySynchroneityRaw = function () {
429
461
  return __awaiter(this, void 0, void 0, function () {
430
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_5;
431
- return __generator(this, function (_a) {
432
- switch (_a.label) {
462
+ var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_5;
463
+ return __generator(this, function (_b) {
464
+ switch (_b.label) {
433
465
  case 0:
434
466
  queryParameters = {};
435
467
  headerParameters = {};
436
468
  if (this.configuration && this.configuration.apiKey) {
437
469
  headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
438
470
  }
439
- if (this.configuration && this.configuration.accessToken) {
440
- token = this.configuration.accessToken;
441
- tokenString = typeof token === 'function' ? token("bearerAuth", []) : token;
442
- if (tokenString) {
443
- headerParameters["Authorization"] = "Bearer ".concat(tokenString);
444
- }
445
- }
446
- _a.label = 1;
471
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
472
+ token = this.configuration.accessToken;
473
+ if (!(typeof token === 'function')) return [3 /*break*/, 2];
474
+ return [4 /*yield*/, token("bearerAuth", [])];
447
475
  case 1:
448
- _a.trys.push([1, 3, , 4]);
476
+ _a = _b.sent();
477
+ return [3 /*break*/, 3];
478
+ case 2:
479
+ _a = token;
480
+ _b.label = 3;
481
+ case 3:
482
+ tokenString = _a;
483
+ if (tokenString) {
484
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
485
+ }
486
+ _b.label = 4;
487
+ case 4:
488
+ _b.trys.push([4, 6, , 7]);
449
489
  return [4 /*yield*/, this.request({
450
490
  path: "/inventories/me/synchroneity",
451
491
  method: 'GET',
452
492
  headers: headerParameters,
453
493
  query: queryParameters,
454
494
  })];
455
- case 2:
456
- response = _a.sent();
495
+ case 5:
496
+ response = _b.sent();
457
497
  contentType = response.headers.get("content-type");
458
498
  if (contentType && contentType.indexOf("application/json") !== -1) {
459
499
  return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.SynchroneityFromJSON)(jsonValue); })];
@@ -465,12 +505,12 @@ var SearchInventoryApi = /** @class */ (function (_super) {
465
505
  // TODO : Better handling of others application types
466
506
  return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
467
507
  }
468
- return [3 /*break*/, 4];
469
- case 3:
470
- response_5 = _a.sent();
508
+ return [3 /*break*/, 7];
509
+ case 6:
510
+ response_5 = _b.sent();
471
511
  console.debug(response_5);
472
512
  throw response_5;
473
- case 4: return [2 /*return*/];
513
+ case 7: return [2 /*return*/];
474
514
  }
475
515
  });
476
516
  });
@@ -498,9 +538,9 @@ var SearchInventoryApi = /** @class */ (function (_super) {
498
538
  */
499
539
  SearchInventoryApi.prototype.getInventoryActiveProductsRaw = function (requestParameters) {
500
540
  return __awaiter(this, void 0, void 0, function () {
501
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_6;
502
- return __generator(this, function (_a) {
503
- switch (_a.label) {
541
+ var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_6;
542
+ return __generator(this, function (_b) {
543
+ switch (_b.label) {
504
544
  case 0:
505
545
  if (requestParameters.inventoryId === null || requestParameters.inventoryId === undefined) {
506
546
  throw new runtime_1.RequiredError('inventoryId', 'Required parameter requestParameters.inventoryId was null or undefined when calling getInventoryActiveProducts.');
@@ -528,24 +568,32 @@ var SearchInventoryApi = /** @class */ (function (_super) {
528
568
  if (this.configuration && this.configuration.apiKey) {
529
569
  headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
530
570
  }
531
- if (this.configuration && this.configuration.accessToken) {
532
- token = this.configuration.accessToken;
533
- tokenString = typeof token === 'function' ? token("bearerAuth", []) : token;
534
- if (tokenString) {
535
- headerParameters["Authorization"] = "Bearer ".concat(tokenString);
536
- }
537
- }
538
- _a.label = 1;
571
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
572
+ token = this.configuration.accessToken;
573
+ if (!(typeof token === 'function')) return [3 /*break*/, 2];
574
+ return [4 /*yield*/, token("bearerAuth", [])];
539
575
  case 1:
540
- _a.trys.push([1, 3, , 4]);
576
+ _a = _b.sent();
577
+ return [3 /*break*/, 3];
578
+ case 2:
579
+ _a = token;
580
+ _b.label = 3;
581
+ case 3:
582
+ tokenString = _a;
583
+ if (tokenString) {
584
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
585
+ }
586
+ _b.label = 4;
587
+ case 4:
588
+ _b.trys.push([4, 6, , 7]);
541
589
  return [4 /*yield*/, this.request({
542
590
  path: "/inventories/{inventoryId}/active-products".replace("{".concat("inventoryId", "}"), encodeURIComponent(String(requestParameters.inventoryId))),
543
591
  method: 'GET',
544
592
  headers: headerParameters,
545
593
  query: queryParameters,
546
594
  })];
547
- case 2:
548
- response = _a.sent();
595
+ case 5:
596
+ response = _b.sent();
549
597
  contentType = response.headers.get("content-type");
550
598
  if (contentType && contentType.indexOf("application/json") !== -1) {
551
599
  return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.PaginatedActiveProductsFromJSON)(jsonValue); })];
@@ -557,12 +605,12 @@ var SearchInventoryApi = /** @class */ (function (_super) {
557
605
  // TODO : Better handling of others application types
558
606
  return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
559
607
  }
560
- return [3 /*break*/, 4];
561
- case 3:
562
- response_6 = _a.sent();
608
+ return [3 /*break*/, 7];
609
+ case 6:
610
+ response_6 = _b.sent();
563
611
  console.debug(response_6);
564
612
  throw response_6;
565
- case 4: return [2 /*return*/];
613
+ case 7: return [2 /*return*/];
566
614
  }
567
615
  });
568
616
  });
@@ -589,9 +637,9 @@ var SearchInventoryApi = /** @class */ (function (_super) {
589
637
  */
590
638
  SearchInventoryApi.prototype.getInventoryMisalignedProductsRaw = function (requestParameters) {
591
639
  return __awaiter(this, void 0, void 0, function () {
592
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_7;
593
- return __generator(this, function (_a) {
594
- switch (_a.label) {
640
+ var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_7;
641
+ return __generator(this, function (_b) {
642
+ switch (_b.label) {
595
643
  case 0:
596
644
  if (requestParameters.inventoryId === null || requestParameters.inventoryId === undefined) {
597
645
  throw new runtime_1.RequiredError('inventoryId', 'Required parameter requestParameters.inventoryId was null or undefined when calling getInventoryMisalignedProducts.');
@@ -619,24 +667,32 @@ var SearchInventoryApi = /** @class */ (function (_super) {
619
667
  if (this.configuration && this.configuration.apiKey) {
620
668
  headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
621
669
  }
622
- if (this.configuration && this.configuration.accessToken) {
623
- token = this.configuration.accessToken;
624
- tokenString = typeof token === 'function' ? token("bearerAuth", []) : token;
625
- if (tokenString) {
626
- headerParameters["Authorization"] = "Bearer ".concat(tokenString);
627
- }
628
- }
629
- _a.label = 1;
670
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
671
+ token = this.configuration.accessToken;
672
+ if (!(typeof token === 'function')) return [3 /*break*/, 2];
673
+ return [4 /*yield*/, token("bearerAuth", [])];
630
674
  case 1:
631
- _a.trys.push([1, 3, , 4]);
675
+ _a = _b.sent();
676
+ return [3 /*break*/, 3];
677
+ case 2:
678
+ _a = token;
679
+ _b.label = 3;
680
+ case 3:
681
+ tokenString = _a;
682
+ if (tokenString) {
683
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
684
+ }
685
+ _b.label = 4;
686
+ case 4:
687
+ _b.trys.push([4, 6, , 7]);
632
688
  return [4 /*yield*/, this.request({
633
689
  path: "/inventories/{inventoryId}/misaligned-products".replace("{".concat("inventoryId", "}"), encodeURIComponent(String(requestParameters.inventoryId))),
634
690
  method: 'GET',
635
691
  headers: headerParameters,
636
692
  query: queryParameters,
637
693
  })];
638
- case 2:
639
- response = _a.sent();
694
+ case 5:
695
+ response = _b.sent();
640
696
  contentType = response.headers.get("content-type");
641
697
  if (contentType && contentType.indexOf("application/json") !== -1) {
642
698
  return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.PaginatedMisalignedProductsFromJSON)(jsonValue); })];
@@ -648,12 +704,12 @@ var SearchInventoryApi = /** @class */ (function (_super) {
648
704
  // TODO : Better handling of others application types
649
705
  return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
650
706
  }
651
- return [3 /*break*/, 4];
652
- case 3:
653
- response_7 = _a.sent();
707
+ return [3 /*break*/, 7];
708
+ case 6:
709
+ response_7 = _b.sent();
654
710
  console.debug(response_7);
655
711
  throw response_7;
656
- case 4: return [2 /*return*/];
712
+ case 7: return [2 /*return*/];
657
713
  }
658
714
  });
659
715
  });
@@ -680,9 +736,9 @@ var SearchInventoryApi = /** @class */ (function (_super) {
680
736
  */
681
737
  SearchInventoryApi.prototype.getInventoryOverstockProductsRaw = function (requestParameters) {
682
738
  return __awaiter(this, void 0, void 0, function () {
683
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_8;
684
- return __generator(this, function (_a) {
685
- switch (_a.label) {
739
+ var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_8;
740
+ return __generator(this, function (_b) {
741
+ switch (_b.label) {
686
742
  case 0:
687
743
  if (requestParameters.inventoryId === null || requestParameters.inventoryId === undefined) {
688
744
  throw new runtime_1.RequiredError('inventoryId', 'Required parameter requestParameters.inventoryId was null or undefined when calling getInventoryOverstockProducts.');
@@ -722,24 +778,32 @@ var SearchInventoryApi = /** @class */ (function (_super) {
722
778
  if (this.configuration && this.configuration.apiKey) {
723
779
  headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
724
780
  }
725
- if (this.configuration && this.configuration.accessToken) {
726
- token = this.configuration.accessToken;
727
- tokenString = typeof token === 'function' ? token("bearerAuth", []) : token;
728
- if (tokenString) {
729
- headerParameters["Authorization"] = "Bearer ".concat(tokenString);
730
- }
731
- }
732
- _a.label = 1;
781
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
782
+ token = this.configuration.accessToken;
783
+ if (!(typeof token === 'function')) return [3 /*break*/, 2];
784
+ return [4 /*yield*/, token("bearerAuth", [])];
733
785
  case 1:
734
- _a.trys.push([1, 3, , 4]);
786
+ _a = _b.sent();
787
+ return [3 /*break*/, 3];
788
+ case 2:
789
+ _a = token;
790
+ _b.label = 3;
791
+ case 3:
792
+ tokenString = _a;
793
+ if (tokenString) {
794
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
795
+ }
796
+ _b.label = 4;
797
+ case 4:
798
+ _b.trys.push([4, 6, , 7]);
735
799
  return [4 /*yield*/, this.request({
736
800
  path: "/inventories/{inventoryId}/overstock-products".replace("{".concat("inventoryId", "}"), encodeURIComponent(String(requestParameters.inventoryId))),
737
801
  method: 'GET',
738
802
  headers: headerParameters,
739
803
  query: queryParameters,
740
804
  })];
741
- case 2:
742
- response = _a.sent();
805
+ case 5:
806
+ response = _b.sent();
743
807
  contentType = response.headers.get("content-type");
744
808
  if (contentType && contentType.indexOf("application/json") !== -1) {
745
809
  return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.PaginatedOverstockProductsFromJSON)(jsonValue); })];
@@ -751,12 +815,12 @@ var SearchInventoryApi = /** @class */ (function (_super) {
751
815
  // TODO : Better handling of others application types
752
816
  return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
753
817
  }
754
- return [3 /*break*/, 4];
755
- case 3:
756
- response_8 = _a.sent();
818
+ return [3 /*break*/, 7];
819
+ case 6:
820
+ response_8 = _b.sent();
757
821
  console.debug(response_8);
758
822
  throw response_8;
759
- case 4: return [2 /*return*/];
823
+ case 7: return [2 /*return*/];
760
824
  }
761
825
  });
762
826
  });
@@ -783,9 +847,9 @@ var SearchInventoryApi = /** @class */ (function (_super) {
783
847
  */
784
848
  SearchInventoryApi.prototype.getInventoryStatisticsRaw = function (requestParameters) {
785
849
  return __awaiter(this, void 0, void 0, function () {
786
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_9;
787
- return __generator(this, function (_a) {
788
- switch (_a.label) {
850
+ var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_9;
851
+ return __generator(this, function (_b) {
852
+ switch (_b.label) {
789
853
  case 0:
790
854
  if (requestParameters.inventoryId === null || requestParameters.inventoryId === undefined) {
791
855
  throw new runtime_1.RequiredError('inventoryId', 'Required parameter requestParameters.inventoryId was null or undefined when calling getInventoryStatistics.');
@@ -795,24 +859,32 @@ var SearchInventoryApi = /** @class */ (function (_super) {
795
859
  if (this.configuration && this.configuration.apiKey) {
796
860
  headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
797
861
  }
798
- if (this.configuration && this.configuration.accessToken) {
799
- token = this.configuration.accessToken;
800
- tokenString = typeof token === 'function' ? token("bearerAuth", []) : token;
801
- if (tokenString) {
802
- headerParameters["Authorization"] = "Bearer ".concat(tokenString);
803
- }
804
- }
805
- _a.label = 1;
862
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
863
+ token = this.configuration.accessToken;
864
+ if (!(typeof token === 'function')) return [3 /*break*/, 2];
865
+ return [4 /*yield*/, token("bearerAuth", [])];
806
866
  case 1:
807
- _a.trys.push([1, 3, , 4]);
867
+ _a = _b.sent();
868
+ return [3 /*break*/, 3];
869
+ case 2:
870
+ _a = token;
871
+ _b.label = 3;
872
+ case 3:
873
+ tokenString = _a;
874
+ if (tokenString) {
875
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
876
+ }
877
+ _b.label = 4;
878
+ case 4:
879
+ _b.trys.push([4, 6, , 7]);
808
880
  return [4 /*yield*/, this.request({
809
881
  path: "/inventories/{inventoryId}/statistics".replace("{".concat("inventoryId", "}"), encodeURIComponent(String(requestParameters.inventoryId))),
810
882
  method: 'GET',
811
883
  headers: headerParameters,
812
884
  query: queryParameters,
813
885
  })];
814
- case 2:
815
- response = _a.sent();
886
+ case 5:
887
+ response = _b.sent();
816
888
  contentType = response.headers.get("content-type");
817
889
  if (contentType && contentType.indexOf("application/json") !== -1) {
818
890
  return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.StatisticsFromJSON)(jsonValue); })];
@@ -824,12 +896,12 @@ var SearchInventoryApi = /** @class */ (function (_super) {
824
896
  // TODO : Better handling of others application types
825
897
  return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
826
898
  }
827
- return [3 /*break*/, 4];
828
- case 3:
829
- response_9 = _a.sent();
899
+ return [3 /*break*/, 7];
900
+ case 6:
901
+ response_9 = _b.sent();
830
902
  console.debug(response_9);
831
903
  throw response_9;
832
- case 4: return [2 /*return*/];
904
+ case 7: return [2 /*return*/];
833
905
  }
834
906
  });
835
907
  });
@@ -857,9 +929,9 @@ var SearchInventoryApi = /** @class */ (function (_super) {
857
929
  */
858
930
  SearchInventoryApi.prototype.getInventorySynchroneityRaw = function (requestParameters) {
859
931
  return __awaiter(this, void 0, void 0, function () {
860
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_10;
861
- return __generator(this, function (_a) {
862
- switch (_a.label) {
932
+ var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_10;
933
+ return __generator(this, function (_b) {
934
+ switch (_b.label) {
863
935
  case 0:
864
936
  if (requestParameters.inventoryId === null || requestParameters.inventoryId === undefined) {
865
937
  throw new runtime_1.RequiredError('inventoryId', 'Required parameter requestParameters.inventoryId was null or undefined when calling getInventorySynchroneity.');
@@ -869,24 +941,32 @@ var SearchInventoryApi = /** @class */ (function (_super) {
869
941
  if (this.configuration && this.configuration.apiKey) {
870
942
  headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
871
943
  }
872
- if (this.configuration && this.configuration.accessToken) {
873
- token = this.configuration.accessToken;
874
- tokenString = typeof token === 'function' ? token("bearerAuth", []) : token;
875
- if (tokenString) {
876
- headerParameters["Authorization"] = "Bearer ".concat(tokenString);
877
- }
878
- }
879
- _a.label = 1;
944
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
945
+ token = this.configuration.accessToken;
946
+ if (!(typeof token === 'function')) return [3 /*break*/, 2];
947
+ return [4 /*yield*/, token("bearerAuth", [])];
880
948
  case 1:
881
- _a.trys.push([1, 3, , 4]);
949
+ _a = _b.sent();
950
+ return [3 /*break*/, 3];
951
+ case 2:
952
+ _a = token;
953
+ _b.label = 3;
954
+ case 3:
955
+ tokenString = _a;
956
+ if (tokenString) {
957
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
958
+ }
959
+ _b.label = 4;
960
+ case 4:
961
+ _b.trys.push([4, 6, , 7]);
882
962
  return [4 /*yield*/, this.request({
883
963
  path: "/inventories/{inventoryId}/synchroneity".replace("{".concat("inventoryId", "}"), encodeURIComponent(String(requestParameters.inventoryId))),
884
964
  method: 'GET',
885
965
  headers: headerParameters,
886
966
  query: queryParameters,
887
967
  })];
888
- case 2:
889
- response = _a.sent();
968
+ case 5:
969
+ response = _b.sent();
890
970
  contentType = response.headers.get("content-type");
891
971
  if (contentType && contentType.indexOf("application/json") !== -1) {
892
972
  return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.SynchroneityFromJSON)(jsonValue); })];
@@ -898,12 +978,12 @@ var SearchInventoryApi = /** @class */ (function (_super) {
898
978
  // TODO : Better handling of others application types
899
979
  return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
900
980
  }
901
- return [3 /*break*/, 4];
902
- case 3:
903
- response_10 = _a.sent();
981
+ return [3 /*break*/, 7];
982
+ case 6:
983
+ response_10 = _b.sent();
904
984
  console.debug(response_10);
905
985
  throw response_10;
906
- case 4: return [2 /*return*/];
986
+ case 7: return [2 /*return*/];
907
987
  }
908
988
  });
909
989
  });