@revengai/sdk 3.100.0 → 3.102.0

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 (131) hide show
  1. package/README.md +9 -3
  2. package/dist/apis/AgentApi.js +99 -36
  3. package/dist/apis/AgentApi.js.map +1 -1
  4. package/dist/apis/AnalysesBulkActionsApi.js +22 -8
  5. package/dist/apis/AnalysesBulkActionsApi.js.map +1 -1
  6. package/dist/apis/AnalysesCommentsApi.js +44 -16
  7. package/dist/apis/AnalysesCommentsApi.js.map +1 -1
  8. package/dist/apis/AnalysesCoreApi.js +286 -104
  9. package/dist/apis/AnalysesCoreApi.js.map +1 -1
  10. package/dist/apis/AnalysesResultsMetadataApi.js +66 -24
  11. package/dist/apis/AnalysesResultsMetadataApi.js.map +1 -1
  12. package/dist/apis/AnalysesXRefsApi.js +11 -4
  13. package/dist/apis/AnalysesXRefsApi.js.map +1 -1
  14. package/dist/apis/AuthenticationUsersApi.js +33 -12
  15. package/dist/apis/AuthenticationUsersApi.js.map +1 -1
  16. package/dist/apis/BinariesApi.js +110 -40
  17. package/dist/apis/BinariesApi.js.map +1 -1
  18. package/dist/apis/CollectionsApi.js +154 -56
  19. package/dist/apis/CollectionsApi.js.map +1 -1
  20. package/dist/apis/ConfigApi.js +11 -4
  21. package/dist/apis/ConfigApi.js.map +1 -1
  22. package/dist/apis/ConversationsApi.js +77 -28
  23. package/dist/apis/ConversationsApi.js.map +1 -1
  24. package/dist/apis/ExternalSourcesApi.js +33 -12
  25. package/dist/apis/ExternalSourcesApi.js.map +1 -1
  26. package/dist/apis/FirmwareApi.js +22 -8
  27. package/dist/apis/FirmwareApi.js.map +1 -1
  28. package/dist/apis/FunctionsAIDecompilationApi.js +176 -64
  29. package/dist/apis/FunctionsAIDecompilationApi.js.map +1 -1
  30. package/dist/apis/FunctionsCoreApi.js +286 -104
  31. package/dist/apis/FunctionsCoreApi.js.map +1 -1
  32. package/dist/apis/FunctionsDataTypesApi.d.ts +5 -4
  33. package/dist/apis/FunctionsDataTypesApi.js +224 -107
  34. package/dist/apis/FunctionsDataTypesApi.js.map +1 -1
  35. package/dist/apis/FunctionsRenamingHistoryApi.js +88 -32
  36. package/dist/apis/FunctionsRenamingHistoryApi.js.map +1 -1
  37. package/dist/apis/IAMUsersApi.js +2 -2
  38. package/dist/apis/IAMUsersApi.js.map +1 -1
  39. package/dist/apis/ModelsApi.js +11 -4
  40. package/dist/apis/ModelsApi.js.map +1 -1
  41. package/dist/apis/ReportsApi.js +33 -12
  42. package/dist/apis/ReportsApi.js.map +1 -1
  43. package/dist/apis/SearchApi.js +44 -16
  44. package/dist/apis/SearchApi.js.map +1 -1
  45. package/dist/auth/auth.d.ts +8 -0
  46. package/dist/auth/auth.js +67 -1
  47. package/dist/auth/auth.js.map +1 -1
  48. package/dist/models/AnalysisBasicInfoOutputBody.d.ts +1 -1
  49. package/dist/models/DataTypesEntry.d.ts +1 -0
  50. package/dist/models/DataTypesEntry.js +6 -0
  51. package/dist/models/DataTypesEntry.js.map +1 -1
  52. package/dist/models/FunctionArgument.d.ts +4 -4
  53. package/dist/models/FunctionDataTypes.d.ts +2 -2
  54. package/dist/models/FunctionDataTypes.js +1 -1
  55. package/dist/models/FunctionDataTypes.js.map +1 -1
  56. package/dist/models/FunctionDataTypesListItem.d.ts +2 -2
  57. package/dist/models/FunctionDataTypesListItem.js +1 -1
  58. package/dist/models/FunctionDataTypesListItem.js.map +1 -1
  59. package/dist/models/FunctionDependency.d.ts +3 -3
  60. package/dist/models/FunctionDetailsOutputBody.d.ts +1 -0
  61. package/dist/models/FunctionDetailsOutputBody.js +6 -0
  62. package/dist/models/FunctionDetailsOutputBody.js.map +1 -1
  63. package/dist/models/FunctionHeader.d.ts +6 -5
  64. package/dist/models/FunctionHeader.js +15 -9
  65. package/dist/models/FunctionHeader.js.map +1 -1
  66. package/dist/models/FunctionInfo.d.ts +3 -3
  67. package/dist/models/FunctionInfo.js +6 -6
  68. package/dist/models/FunctionInfo.js.map +1 -1
  69. package/dist/models/FunctionMatch.d.ts +2 -2
  70. package/dist/models/FunctionMatch.js +6 -6
  71. package/dist/models/FunctionMatch.js.map +1 -1
  72. package/dist/models/FunctionMatchingResponse.d.ts +2 -2
  73. package/dist/models/FunctionMatchingResponse.js +1 -1
  74. package/dist/models/FunctionMatchingResponse.js.map +1 -1
  75. package/dist/models/FunctionStackVariable.d.ts +4 -4
  76. package/dist/models/FunctionType.d.ts +8 -7
  77. package/dist/models/FunctionType.js +23 -17
  78. package/dist/models/FunctionType.js.map +1 -1
  79. package/dist/models/MatchedFunction.d.ts +6 -6
  80. package/dist/models/MatchedFunction.js +27 -27
  81. package/dist/models/MatchedFunction.js.map +1 -1
  82. package/dist/models/NameConfidence.d.ts +1 -1
  83. package/dist/models/NameConfidence.js +6 -6
  84. package/dist/models/NameConfidence.js.map +1 -1
  85. package/dist/models/ObjectSerializer.d.ts +7 -1
  86. package/dist/models/ObjectSerializer.js +21 -3
  87. package/dist/models/ObjectSerializer.js.map +1 -1
  88. package/dist/models/StartMatchingForFunctionsInputBody.d.ts +1 -0
  89. package/dist/models/StartMatchingForFunctionsInputBody.js +6 -0
  90. package/dist/models/StartMatchingForFunctionsInputBody.js.map +1 -1
  91. package/dist/models/UpdateProfileInputBody.d.ts +1 -0
  92. package/dist/models/UpdateProfileInputBody.js +6 -0
  93. package/dist/models/UpdateProfileInputBody.js.map +1 -1
  94. package/dist/models/UserProfile.d.ts +1 -0
  95. package/dist/models/UserProfile.js +6 -0
  96. package/dist/models/UserProfile.js.map +1 -1
  97. package/dist/models/V2FunctionHeader.d.ts +27 -0
  98. package/dist/models/V2FunctionHeader.js +47 -0
  99. package/dist/models/V2FunctionHeader.js.map +1 -0
  100. package/dist/models/V2FunctionInfo.d.ts +23 -0
  101. package/dist/models/V2FunctionInfo.js +29 -0
  102. package/dist/models/V2FunctionInfo.js.map +1 -0
  103. package/dist/models/{FunctionInfoFuncDepsInner.d.ts → V2FunctionInfoFuncDepsInner.d.ts} +1 -1
  104. package/dist/models/{FunctionInfoFuncDepsInner.js → V2FunctionInfoFuncDepsInner.js} +11 -11
  105. package/dist/models/V2FunctionInfoFuncDepsInner.js.map +1 -0
  106. package/dist/models/V2FunctionMatch.d.ts +24 -0
  107. package/dist/models/V2FunctionMatch.js +35 -0
  108. package/dist/models/V2FunctionMatch.js.map +1 -0
  109. package/dist/models/V2FunctionType.d.ts +31 -0
  110. package/dist/models/V2FunctionType.js +65 -0
  111. package/dist/models/V2FunctionType.js.map +1 -0
  112. package/dist/models/V2MatchedFunction.d.ts +30 -0
  113. package/dist/models/V2MatchedFunction.js +83 -0
  114. package/dist/models/V2MatchedFunction.js.map +1 -0
  115. package/dist/models/V2NameConfidence.d.ts +21 -0
  116. package/dist/models/V2NameConfidence.js +29 -0
  117. package/dist/models/V2NameConfidence.js.map +1 -0
  118. package/dist/models/all.d.ts +7 -1
  119. package/dist/models/all.js +7 -1
  120. package/dist/models/all.js.map +1 -1
  121. package/dist/types/ObjectParamAPI.d.ts +11 -9
  122. package/dist/types/ObjectParamAPI.js +6 -6
  123. package/dist/types/ObjectParamAPI.js.map +1 -1
  124. package/dist/types/ObservableAPI.d.ts +6 -5
  125. package/dist/types/ObservableAPI.js +25 -25
  126. package/dist/types/ObservableAPI.js.map +1 -1
  127. package/dist/types/PromiseAPI.d.ts +6 -5
  128. package/dist/types/PromiseAPI.js +10 -10
  129. package/dist/types/PromiseAPI.js.map +1 -1
  130. package/package.json +1 -1
  131. package/dist/models/FunctionInfoFuncDepsInner.js.map +0 -1
@@ -93,13 +93,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
93
93
  _b.sent();
94
94
  _b.label = 2;
95
95
  case 2:
96
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
97
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
98
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
96
+ authMethod = _config.authMethods["bearerAuth"];
97
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
98
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
99
99
  case 3:
100
100
  _b.sent();
101
101
  _b.label = 4;
102
- case 4: return [2, requestContext];
102
+ case 4:
103
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
104
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
105
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
106
+ case 5:
107
+ _b.sent();
108
+ _b.label = 6;
109
+ case 6: return [2, requestContext];
103
110
  }
104
111
  });
105
112
  });
@@ -132,13 +139,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
132
139
  _b.sent();
133
140
  _b.label = 2;
134
141
  case 2:
135
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
136
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
137
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
142
+ authMethod = _config.authMethods["bearerAuth"];
143
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
144
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
138
145
  case 3:
139
146
  _b.sent();
140
147
  _b.label = 4;
141
- case 4: return [2, requestContext];
148
+ case 4:
149
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
150
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
151
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
152
+ case 5:
153
+ _b.sent();
154
+ _b.label = 6;
155
+ case 6: return [2, requestContext];
142
156
  }
143
157
  });
144
158
  });
@@ -165,13 +179,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
165
179
  _b.sent();
166
180
  _b.label = 2;
167
181
  case 2:
168
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
169
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
170
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
182
+ authMethod = _config.authMethods["bearerAuth"];
183
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
184
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
171
185
  case 3:
172
186
  _b.sent();
173
187
  _b.label = 4;
174
- case 4: return [2, requestContext];
188
+ case 4:
189
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
190
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
191
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
192
+ case 5:
193
+ _b.sent();
194
+ _b.label = 6;
195
+ case 6: return [2, requestContext];
175
196
  }
176
197
  });
177
198
  });
@@ -198,13 +219,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
198
219
  _b.sent();
199
220
  _b.label = 2;
200
221
  case 2:
201
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
202
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
203
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
222
+ authMethod = _config.authMethods["bearerAuth"];
223
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
224
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
204
225
  case 3:
205
226
  _b.sent();
206
227
  _b.label = 4;
207
- case 4: return [2, requestContext];
228
+ case 4:
229
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
230
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
231
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
232
+ case 5:
233
+ _b.sent();
234
+ _b.label = 6;
235
+ case 6: return [2, requestContext];
208
236
  }
209
237
  });
210
238
  });
@@ -231,13 +259,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
231
259
  _b.sent();
232
260
  _b.label = 2;
233
261
  case 2:
234
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
235
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
236
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
262
+ authMethod = _config.authMethods["bearerAuth"];
263
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
264
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
237
265
  case 3:
238
266
  _b.sent();
239
267
  _b.label = 4;
240
- case 4: return [2, requestContext];
268
+ case 4:
269
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
270
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
271
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
272
+ case 5:
273
+ _b.sent();
274
+ _b.label = 6;
275
+ case 6: return [2, requestContext];
241
276
  }
242
277
  });
243
278
  });
@@ -267,13 +302,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
267
302
  _b.sent();
268
303
  _b.label = 2;
269
304
  case 2:
270
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
271
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
272
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
305
+ authMethod = _config.authMethods["bearerAuth"];
306
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
307
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
273
308
  case 3:
274
309
  _b.sent();
275
310
  _b.label = 4;
276
- case 4: return [2, requestContext];
311
+ case 4:
312
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
313
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
314
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
315
+ case 5:
316
+ _b.sent();
317
+ _b.label = 6;
318
+ case 6: return [2, requestContext];
277
319
  }
278
320
  });
279
321
  });
@@ -300,13 +342,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
300
342
  _b.sent();
301
343
  _b.label = 2;
302
344
  case 2:
303
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
304
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
305
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
345
+ authMethod = _config.authMethods["bearerAuth"];
346
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
347
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
306
348
  case 3:
307
349
  _b.sent();
308
350
  _b.label = 4;
309
- case 4: return [2, requestContext];
351
+ case 4:
352
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
353
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
354
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
355
+ case 5:
356
+ _b.sent();
357
+ _b.label = 6;
358
+ case 6: return [2, requestContext];
310
359
  }
311
360
  });
312
361
  });
@@ -333,13 +382,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
333
382
  _b.sent();
334
383
  _b.label = 2;
335
384
  case 2:
336
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
337
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
338
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
385
+ authMethod = _config.authMethods["bearerAuth"];
386
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
387
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
339
388
  case 3:
340
389
  _b.sent();
341
390
  _b.label = 4;
342
- case 4: return [2, requestContext];
391
+ case 4:
392
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
393
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
394
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
395
+ case 5:
396
+ _b.sent();
397
+ _b.label = 6;
398
+ case 6: return [2, requestContext];
343
399
  }
344
400
  });
345
401
  });
@@ -366,13 +422,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
366
422
  _b.sent();
367
423
  _b.label = 2;
368
424
  case 2:
369
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
370
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
371
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
425
+ authMethod = _config.authMethods["bearerAuth"];
426
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
427
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
372
428
  case 3:
373
429
  _b.sent();
374
430
  _b.label = 4;
375
- case 4: return [2, requestContext];
431
+ case 4:
432
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
433
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
434
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
435
+ case 5:
436
+ _b.sent();
437
+ _b.label = 6;
438
+ case 6: return [2, requestContext];
376
439
  }
377
440
  });
378
441
  });
@@ -399,13 +462,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
399
462
  _b.sent();
400
463
  _b.label = 2;
401
464
  case 2:
402
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
403
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
404
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
465
+ authMethod = _config.authMethods["bearerAuth"];
466
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
467
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
405
468
  case 3:
406
469
  _b.sent();
407
470
  _b.label = 4;
408
- case 4: return [2, requestContext];
471
+ case 4:
472
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
473
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
474
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
475
+ case 5:
476
+ _b.sent();
477
+ _b.label = 6;
478
+ case 6: return [2, requestContext];
409
479
  }
410
480
  });
411
481
  });
@@ -432,13 +502,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
432
502
  _b.sent();
433
503
  _b.label = 2;
434
504
  case 2:
435
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
436
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
437
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
505
+ authMethod = _config.authMethods["bearerAuth"];
506
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
507
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
438
508
  case 3:
439
509
  _b.sent();
440
510
  _b.label = 4;
441
- case 4: return [2, requestContext];
511
+ case 4:
512
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
513
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
514
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
515
+ case 5:
516
+ _b.sent();
517
+ _b.label = 6;
518
+ case 6: return [2, requestContext];
442
519
  }
443
520
  });
444
521
  });
@@ -465,13 +542,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
465
542
  _b.sent();
466
543
  _b.label = 2;
467
544
  case 2:
468
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
469
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
470
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
545
+ authMethod = _config.authMethods["bearerAuth"];
546
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
547
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
471
548
  case 3:
472
549
  _b.sent();
473
550
  _b.label = 4;
474
- case 4: return [2, requestContext];
551
+ case 4:
552
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
553
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
554
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
555
+ case 5:
556
+ _b.sent();
557
+ _b.label = 6;
558
+ case 6: return [2, requestContext];
475
559
  }
476
560
  });
477
561
  });
@@ -498,13 +582,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
498
582
  _b.sent();
499
583
  _b.label = 2;
500
584
  case 2:
501
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
502
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
503
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
585
+ authMethod = _config.authMethods["bearerAuth"];
586
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
587
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
504
588
  case 3:
505
589
  _b.sent();
506
590
  _b.label = 4;
507
- case 4: return [2, requestContext];
591
+ case 4:
592
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
593
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
594
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
595
+ case 5:
596
+ _b.sent();
597
+ _b.label = 6;
598
+ case 6: return [2, requestContext];
508
599
  }
509
600
  });
510
601
  });
@@ -531,13 +622,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
531
622
  _b.sent();
532
623
  _b.label = 2;
533
624
  case 2:
534
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
535
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
536
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
625
+ authMethod = _config.authMethods["bearerAuth"];
626
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
627
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
537
628
  case 3:
538
629
  _b.sent();
539
630
  _b.label = 4;
540
- case 4: return [2, requestContext];
631
+ case 4:
632
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
633
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
634
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
635
+ case 5:
636
+ _b.sent();
637
+ _b.label = 6;
638
+ case 6: return [2, requestContext];
541
639
  }
542
640
  });
543
641
  });
@@ -573,13 +671,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
573
671
  _b.sent();
574
672
  _b.label = 2;
575
673
  case 2:
576
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
577
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
578
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
674
+ authMethod = _config.authMethods["bearerAuth"];
675
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
676
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
579
677
  case 3:
580
678
  _b.sent();
581
679
  _b.label = 4;
582
- case 4: return [2, requestContext];
680
+ case 4:
681
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
682
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
683
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
684
+ case 5:
685
+ _b.sent();
686
+ _b.label = 6;
687
+ case 6: return [2, requestContext];
583
688
  }
584
689
  });
585
690
  });
@@ -651,13 +756,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
651
756
  _e.sent();
652
757
  _e.label = 2;
653
758
  case 2:
654
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
655
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
656
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
759
+ authMethod = _config.authMethods["bearerAuth"];
760
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
761
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
657
762
  case 3:
658
763
  _e.sent();
659
764
  _e.label = 4;
660
- case 4: return [2, requestContext];
765
+ case 4:
766
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
767
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
768
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
769
+ case 5:
770
+ _e.sent();
771
+ _e.label = 6;
772
+ case 6: return [2, requestContext];
661
773
  }
662
774
  });
663
775
  });
@@ -684,13 +796,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
684
796
  _b.sent();
685
797
  _b.label = 2;
686
798
  case 2:
687
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
688
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
689
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
799
+ authMethod = _config.authMethods["bearerAuth"];
800
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
801
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
690
802
  case 3:
691
803
  _b.sent();
692
804
  _b.label = 4;
693
- case 4: return [2, requestContext];
805
+ case 4:
806
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
807
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
808
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
809
+ case 5:
810
+ _b.sent();
811
+ _b.label = 6;
812
+ case 6: return [2, requestContext];
694
813
  }
695
814
  });
696
815
  });
@@ -726,13 +845,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
726
845
  _b.sent();
727
846
  _b.label = 2;
728
847
  case 2:
729
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
730
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
731
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
848
+ authMethod = _config.authMethods["bearerAuth"];
849
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
850
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
732
851
  case 3:
733
852
  _b.sent();
734
853
  _b.label = 4;
735
- case 4: return [2, requestContext];
854
+ case 4:
855
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
856
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
857
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
858
+ case 5:
859
+ _b.sent();
860
+ _b.label = 6;
861
+ case 6: return [2, requestContext];
736
862
  }
737
863
  });
738
864
  });
@@ -769,13 +895,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
769
895
  _b.sent();
770
896
  _b.label = 2;
771
897
  case 2:
772
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
773
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
774
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
898
+ authMethod = _config.authMethods["bearerAuth"];
899
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
900
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
775
901
  case 3:
776
902
  _b.sent();
777
903
  _b.label = 4;
778
- case 4: return [2, requestContext];
904
+ case 4:
905
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
906
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
907
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
908
+ case 5:
909
+ _b.sent();
910
+ _b.label = 6;
911
+ case 6: return [2, requestContext];
779
912
  }
780
913
  });
781
914
  });
@@ -811,13 +944,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
811
944
  _b.sent();
812
945
  _b.label = 2;
813
946
  case 2:
814
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
815
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
816
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
947
+ authMethod = _config.authMethods["bearerAuth"];
948
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
949
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
817
950
  case 3:
818
951
  _b.sent();
819
952
  _b.label = 4;
820
- case 4: return [2, requestContext];
953
+ case 4:
954
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
955
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
956
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
957
+ case 5:
958
+ _b.sent();
959
+ _b.label = 6;
960
+ case 6: return [2, requestContext];
821
961
  }
822
962
  });
823
963
  });
@@ -853,13 +993,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
853
993
  _b.sent();
854
994
  _b.label = 2;
855
995
  case 2:
856
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
857
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
858
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
996
+ authMethod = _config.authMethods["bearerAuth"];
997
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
998
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
859
999
  case 3:
860
1000
  _b.sent();
861
1001
  _b.label = 4;
862
- case 4: return [2, requestContext];
1002
+ case 4:
1003
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1004
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
1005
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1006
+ case 5:
1007
+ _b.sent();
1008
+ _b.label = 6;
1009
+ case 6: return [2, requestContext];
863
1010
  }
864
1011
  });
865
1012
  });
@@ -895,13 +1042,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
895
1042
  _b.sent();
896
1043
  _b.label = 2;
897
1044
  case 2:
898
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
899
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
900
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1045
+ authMethod = _config.authMethods["bearerAuth"];
1046
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
1047
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
901
1048
  case 3:
902
1049
  _b.sent();
903
1050
  _b.label = 4;
904
- case 4: return [2, requestContext];
1051
+ case 4:
1052
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1053
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
1054
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1055
+ case 5:
1056
+ _b.sent();
1057
+ _b.label = 6;
1058
+ case 6: return [2, requestContext];
905
1059
  }
906
1060
  });
907
1061
  });
@@ -960,13 +1114,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
960
1114
  _b.sent();
961
1115
  _b.label = 2;
962
1116
  case 2:
963
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
964
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
965
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1117
+ authMethod = _config.authMethods["bearerAuth"];
1118
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
1119
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
966
1120
  case 3:
967
1121
  _b.sent();
968
1122
  _b.label = 4;
969
- case 4: return [2, requestContext];
1123
+ case 4:
1124
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1125
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
1126
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1127
+ case 5:
1128
+ _b.sent();
1129
+ _b.label = 6;
1130
+ case 6: return [2, requestContext];
970
1131
  }
971
1132
  });
972
1133
  });
@@ -1011,13 +1172,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
1011
1172
  _b.sent();
1012
1173
  _b.label = 2;
1013
1174
  case 2:
1014
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1015
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
1016
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1175
+ authMethod = _config.authMethods["bearerAuth"];
1176
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
1177
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
1017
1178
  case 3:
1018
1179
  _b.sent();
1019
1180
  _b.label = 4;
1020
- case 4: return [2, requestContext];
1181
+ case 4:
1182
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1183
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
1184
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1185
+ case 5:
1186
+ _b.sent();
1187
+ _b.label = 6;
1188
+ case 6: return [2, requestContext];
1021
1189
  }
1022
1190
  });
1023
1191
  });
@@ -1044,13 +1212,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
1044
1212
  _b.sent();
1045
1213
  _b.label = 2;
1046
1214
  case 2:
1047
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1048
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
1049
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1215
+ authMethod = _config.authMethods["bearerAuth"];
1216
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
1217
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
1050
1218
  case 3:
1051
1219
  _b.sent();
1052
1220
  _b.label = 4;
1053
- case 4: return [2, requestContext];
1221
+ case 4:
1222
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1223
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
1224
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1225
+ case 5:
1226
+ _b.sent();
1227
+ _b.label = 6;
1228
+ case 6: return [2, requestContext];
1054
1229
  }
1055
1230
  });
1056
1231
  });
@@ -1073,13 +1248,20 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
1073
1248
  _b.sent();
1074
1249
  _b.label = 2;
1075
1250
  case 2:
1076
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1077
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
1078
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1251
+ authMethod = _config.authMethods["bearerAuth"];
1252
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
1253
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
1079
1254
  case 3:
1080
1255
  _b.sent();
1081
1256
  _b.label = 4;
1082
- case 4: return [2, requestContext];
1257
+ case 4:
1258
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1259
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
1260
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1261
+ case 5:
1262
+ _b.sent();
1263
+ _b.label = 6;
1264
+ case 6: return [2, requestContext];
1083
1265
  }
1084
1266
  });
1085
1267
  });