@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 FunctionsCoreApiRequestFactory = (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
  });
@@ -135,13 +142,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
135
142
  _b.sent();
136
143
  _b.label = 2;
137
144
  case 2:
138
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
139
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
140
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
145
+ authMethod = _config.authMethods["bearerAuth"];
146
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
147
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
141
148
  case 3:
142
149
  _b.sent();
143
150
  _b.label = 4;
144
- case 4: return [2, requestContext];
151
+ case 4:
152
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
153
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
154
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
155
+ case 5:
156
+ _b.sent();
157
+ _b.label = 6;
158
+ case 6: return [2, requestContext];
145
159
  }
146
160
  });
147
161
  });
@@ -177,13 +191,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
177
191
  _b.sent();
178
192
  _b.label = 2;
179
193
  case 2:
180
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
181
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
182
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
194
+ authMethod = _config.authMethods["bearerAuth"];
195
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
196
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
183
197
  case 3:
184
198
  _b.sent();
185
199
  _b.label = 4;
186
- case 4: return [2, requestContext];
200
+ case 4:
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, 6];
203
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
204
+ case 5:
205
+ _b.sent();
206
+ _b.label = 6;
207
+ case 6: return [2, requestContext];
187
208
  }
188
209
  });
189
210
  });
@@ -219,13 +240,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
219
240
  _b.sent();
220
241
  _b.label = 2;
221
242
  case 2:
222
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
223
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
224
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
243
+ authMethod = _config.authMethods["bearerAuth"];
244
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
245
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
225
246
  case 3:
226
247
  _b.sent();
227
248
  _b.label = 4;
228
- case 4: return [2, requestContext];
249
+ case 4:
250
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
251
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
252
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
253
+ case 5:
254
+ _b.sent();
255
+ _b.label = 6;
256
+ case 6: return [2, requestContext];
229
257
  }
230
258
  });
231
259
  });
@@ -261,13 +289,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
261
289
  _b.sent();
262
290
  _b.label = 2;
263
291
  case 2:
264
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
265
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
266
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
292
+ authMethod = _config.authMethods["bearerAuth"];
293
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
294
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
267
295
  case 3:
268
296
  _b.sent();
269
297
  _b.label = 4;
270
- case 4: return [2, requestContext];
298
+ case 4:
299
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
300
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
301
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
302
+ case 5:
303
+ _b.sent();
304
+ _b.label = 6;
305
+ case 6: return [2, requestContext];
271
306
  }
272
307
  });
273
308
  });
@@ -299,13 +334,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
299
334
  _b.sent();
300
335
  _b.label = 2;
301
336
  case 2:
302
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
303
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
304
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
337
+ authMethod = _config.authMethods["bearerAuth"];
338
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
339
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
305
340
  case 3:
306
341
  _b.sent();
307
342
  _b.label = 4;
308
- case 4: return [2, requestContext];
343
+ case 4:
344
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
345
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
346
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
347
+ case 5:
348
+ _b.sent();
349
+ _b.label = 6;
350
+ case 6: return [2, requestContext];
309
351
  }
310
352
  });
311
353
  });
@@ -332,13 +374,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
332
374
  _b.sent();
333
375
  _b.label = 2;
334
376
  case 2:
335
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
336
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
337
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
377
+ authMethod = _config.authMethods["bearerAuth"];
378
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
379
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
338
380
  case 3:
339
381
  _b.sent();
340
382
  _b.label = 4;
341
- case 4: return [2, requestContext];
383
+ case 4:
384
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
385
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
386
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
387
+ case 5:
388
+ _b.sent();
389
+ _b.label = 6;
390
+ case 6: return [2, requestContext];
342
391
  }
343
392
  });
344
393
  });
@@ -365,13 +414,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
365
414
  _b.sent();
366
415
  _b.label = 2;
367
416
  case 2:
368
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
369
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
370
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
417
+ authMethod = _config.authMethods["bearerAuth"];
418
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
419
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
371
420
  case 3:
372
421
  _b.sent();
373
422
  _b.label = 4;
374
- case 4: return [2, requestContext];
423
+ case 4:
424
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
425
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
426
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
427
+ case 5:
428
+ _b.sent();
429
+ _b.label = 6;
430
+ case 6: return [2, requestContext];
375
431
  }
376
432
  });
377
433
  });
@@ -416,13 +472,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
416
472
  _b.sent();
417
473
  _b.label = 2;
418
474
  case 2:
419
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
420
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
421
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
475
+ authMethod = _config.authMethods["bearerAuth"];
476
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
477
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
422
478
  case 3:
423
479
  _b.sent();
424
480
  _b.label = 4;
425
- case 4: return [2, requestContext];
481
+ case 4:
482
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
483
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
484
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
485
+ case 5:
486
+ _b.sent();
487
+ _b.label = 6;
488
+ case 6: return [2, requestContext];
426
489
  }
427
490
  });
428
491
  });
@@ -449,13 +512,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
449
512
  _b.sent();
450
513
  _b.label = 2;
451
514
  case 2:
452
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
453
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
454
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
515
+ authMethod = _config.authMethods["bearerAuth"];
516
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
517
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
455
518
  case 3:
456
519
  _b.sent();
457
520
  _b.label = 4;
458
- case 4: return [2, requestContext];
521
+ case 4:
522
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
523
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
524
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
525
+ case 5:
526
+ _b.sent();
527
+ _b.label = 6;
528
+ case 6: return [2, requestContext];
459
529
  }
460
530
  });
461
531
  });
@@ -482,13 +552,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
482
552
  _b.sent();
483
553
  _b.label = 2;
484
554
  case 2:
485
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
486
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
487
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
555
+ authMethod = _config.authMethods["bearerAuth"];
556
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
557
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
488
558
  case 3:
489
559
  _b.sent();
490
560
  _b.label = 4;
491
- case 4: return [2, requestContext];
561
+ case 4:
562
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
563
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
564
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
565
+ case 5:
566
+ _b.sent();
567
+ _b.label = 6;
568
+ case 6: return [2, requestContext];
492
569
  }
493
570
  });
494
571
  });
@@ -515,13 +592,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
515
592
  _b.sent();
516
593
  _b.label = 2;
517
594
  case 2:
518
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
519
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
520
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
595
+ authMethod = _config.authMethods["bearerAuth"];
596
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
597
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
521
598
  case 3:
522
599
  _b.sent();
523
600
  _b.label = 4;
524
- case 4: return [2, requestContext];
601
+ case 4:
602
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
603
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
604
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
605
+ case 5:
606
+ _b.sent();
607
+ _b.label = 6;
608
+ case 6: return [2, requestContext];
525
609
  }
526
610
  });
527
611
  });
@@ -548,13 +632,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
548
632
  _b.sent();
549
633
  _b.label = 2;
550
634
  case 2:
551
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
552
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
553
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
635
+ authMethod = _config.authMethods["bearerAuth"];
636
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
637
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
554
638
  case 3:
555
639
  _b.sent();
556
640
  _b.label = 4;
557
- case 4: return [2, requestContext];
641
+ case 4:
642
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
643
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
644
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
645
+ case 5:
646
+ _b.sent();
647
+ _b.label = 6;
648
+ case 6: return [2, requestContext];
558
649
  }
559
650
  });
560
651
  });
@@ -587,13 +678,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
587
678
  _b.sent();
588
679
  _b.label = 2;
589
680
  case 2:
590
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
591
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
592
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
681
+ authMethod = _config.authMethods["bearerAuth"];
682
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
683
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
593
684
  case 3:
594
685
  _b.sent();
595
686
  _b.label = 4;
596
- case 4: return [2, requestContext];
687
+ case 4:
688
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
689
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
690
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
691
+ case 5:
692
+ _b.sent();
693
+ _b.label = 6;
694
+ case 6: return [2, requestContext];
597
695
  }
598
696
  });
599
697
  });
@@ -620,13 +718,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
620
718
  _b.sent();
621
719
  _b.label = 2;
622
720
  case 2:
623
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
624
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
625
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
721
+ authMethod = _config.authMethods["bearerAuth"];
722
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
723
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
626
724
  case 3:
627
725
  _b.sent();
628
726
  _b.label = 4;
629
- case 4: return [2, requestContext];
727
+ case 4:
728
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
729
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
730
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
731
+ case 5:
732
+ _b.sent();
733
+ _b.label = 6;
734
+ case 6: return [2, requestContext];
630
735
  }
631
736
  });
632
737
  });
@@ -653,13 +758,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
653
758
  _b.sent();
654
759
  _b.label = 2;
655
760
  case 2:
656
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
657
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
658
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
761
+ authMethod = _config.authMethods["bearerAuth"];
762
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
763
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
659
764
  case 3:
660
765
  _b.sent();
661
766
  _b.label = 4;
662
- case 4: return [2, requestContext];
767
+ case 4:
768
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
769
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
770
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
771
+ case 5:
772
+ _b.sent();
773
+ _b.label = 6;
774
+ case 6: return [2, requestContext];
663
775
  }
664
776
  });
665
777
  });
@@ -686,13 +798,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
686
798
  _b.sent();
687
799
  _b.label = 2;
688
800
  case 2:
689
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
690
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
691
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
801
+ authMethod = _config.authMethods["bearerAuth"];
802
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
803
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
692
804
  case 3:
693
805
  _b.sent();
694
806
  _b.label = 4;
695
- case 4: return [2, requestContext];
807
+ case 4:
808
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
809
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
810
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
811
+ case 5:
812
+ _b.sent();
813
+ _b.label = 6;
814
+ case 6: return [2, requestContext];
696
815
  }
697
816
  });
698
817
  });
@@ -719,13 +838,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
719
838
  _b.sent();
720
839
  _b.label = 2;
721
840
  case 2:
722
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
723
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
724
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
841
+ authMethod = _config.authMethods["bearerAuth"];
842
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
843
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
725
844
  case 3:
726
845
  _b.sent();
727
846
  _b.label = 4;
728
- case 4: return [2, requestContext];
847
+ case 4:
848
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
849
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
850
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
851
+ case 5:
852
+ _b.sent();
853
+ _b.label = 6;
854
+ case 6: return [2, requestContext];
729
855
  }
730
856
  });
731
857
  });
@@ -752,13 +878,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
752
878
  _b.sent();
753
879
  _b.label = 2;
754
880
  case 2:
755
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
756
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
757
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
881
+ authMethod = _config.authMethods["bearerAuth"];
882
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
883
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
758
884
  case 3:
759
885
  _b.sent();
760
886
  _b.label = 4;
761
- case 4: return [2, requestContext];
887
+ case 4:
888
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
889
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
890
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
891
+ case 5:
892
+ _b.sent();
893
+ _b.label = 6;
894
+ case 6: return [2, requestContext];
762
895
  }
763
896
  });
764
897
  });
@@ -794,13 +927,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
794
927
  _b.sent();
795
928
  _b.label = 2;
796
929
  case 2:
797
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
798
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
799
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
930
+ authMethod = _config.authMethods["bearerAuth"];
931
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
932
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
800
933
  case 3:
801
934
  _b.sent();
802
935
  _b.label = 4;
803
- case 4: return [2, requestContext];
936
+ case 4:
937
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
938
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
939
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
940
+ case 5:
941
+ _b.sent();
942
+ _b.label = 6;
943
+ case 6: return [2, requestContext];
804
944
  }
805
945
  });
806
946
  });
@@ -836,13 +976,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
836
976
  _b.sent();
837
977
  _b.label = 2;
838
978
  case 2:
839
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
840
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
841
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
979
+ authMethod = _config.authMethods["bearerAuth"];
980
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
981
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
842
982
  case 3:
843
983
  _b.sent();
844
984
  _b.label = 4;
845
- case 4: return [2, requestContext];
985
+ case 4:
986
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
987
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
988
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
989
+ case 5:
990
+ _b.sent();
991
+ _b.label = 6;
992
+ case 6: return [2, requestContext];
846
993
  }
847
994
  });
848
995
  });
@@ -871,13 +1018,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
871
1018
  _b.sent();
872
1019
  _b.label = 2;
873
1020
  case 2:
874
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
875
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
876
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1021
+ authMethod = _config.authMethods["bearerAuth"];
1022
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
1023
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
877
1024
  case 3:
878
1025
  _b.sent();
879
1026
  _b.label = 4;
880
- case 4: return [2, requestContext];
1027
+ case 4:
1028
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1029
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
1030
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1031
+ case 5:
1032
+ _b.sent();
1033
+ _b.label = 6;
1034
+ case 6: return [2, requestContext];
881
1035
  }
882
1036
  });
883
1037
  });
@@ -906,13 +1060,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
906
1060
  _b.sent();
907
1061
  _b.label = 2;
908
1062
  case 2:
909
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
910
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
911
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1063
+ authMethod = _config.authMethods["bearerAuth"];
1064
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
1065
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
912
1066
  case 3:
913
1067
  _b.sent();
914
1068
  _b.label = 4;
915
- case 4: return [2, requestContext];
1069
+ case 4:
1070
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1071
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
1072
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1073
+ case 5:
1074
+ _b.sent();
1075
+ _b.label = 6;
1076
+ case 6: return [2, requestContext];
916
1077
  }
917
1078
  });
918
1079
  });
@@ -941,13 +1102,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
941
1102
  _b.sent();
942
1103
  _b.label = 2;
943
1104
  case 2:
944
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
945
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
946
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1105
+ authMethod = _config.authMethods["bearerAuth"];
1106
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
1107
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
947
1108
  case 3:
948
1109
  _b.sent();
949
1110
  _b.label = 4;
950
- case 4: return [2, requestContext];
1111
+ case 4:
1112
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1113
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
1114
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1115
+ case 5:
1116
+ _b.sent();
1117
+ _b.label = 6;
1118
+ case 6: return [2, requestContext];
951
1119
  }
952
1120
  });
953
1121
  });
@@ -980,13 +1148,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
980
1148
  _b.sent();
981
1149
  _b.label = 2;
982
1150
  case 2:
983
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
984
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
985
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1151
+ authMethod = _config.authMethods["bearerAuth"];
1152
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
1153
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
986
1154
  case 3:
987
1155
  _b.sent();
988
1156
  _b.label = 4;
989
- case 4: return [2, requestContext];
1157
+ case 4:
1158
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1159
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
1160
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1161
+ case 5:
1162
+ _b.sent();
1163
+ _b.label = 6;
1164
+ case 6: return [2, requestContext];
990
1165
  }
991
1166
  });
992
1167
  });
@@ -1018,13 +1193,20 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
1018
1193
  _b.sent();
1019
1194
  _b.label = 2;
1020
1195
  case 2:
1021
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1022
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
1023
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1196
+ authMethod = _config.authMethods["bearerAuth"];
1197
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
1198
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
1024
1199
  case 3:
1025
1200
  _b.sent();
1026
1201
  _b.label = 4;
1027
- case 4: return [2, requestContext];
1202
+ case 4:
1203
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1204
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
1205
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1206
+ case 5:
1207
+ _b.sent();
1208
+ _b.label = 6;
1209
+ case 6: return [2, requestContext];
1028
1210
  }
1029
1211
  });
1030
1212
  });