Skip to content

Commit d85e690

Browse files
committed
PATCH: fix declared auth method in openapi
1 parent 9d50288 commit d85e690

File tree

7 files changed

+3597
-47
lines changed

7 files changed

+3597
-47
lines changed

package/src/apis/BcfApi.ts

Lines changed: 630 additions & 0 deletions
Large diffs are not rendered by default.

package/src/apis/CollaborationApi.ts

Lines changed: 1082 additions & 2 deletions
Large diffs are not rendered by default.

package/src/apis/ModelApi.ts

Lines changed: 1660 additions & 0 deletions
Large diffs are not rendered by default.

package/src/apis/SsoApi.ts

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,16 @@ export class SsoApi extends runtime.BaseAPI {
7575
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
7676
}
7777

78+
if (this.configuration && this.configuration.accessToken) {
79+
// oauth required
80+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
81+
}
82+
83+
if (this.configuration && this.configuration.accessToken) {
84+
// oauth required
85+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
86+
}
87+
7888
if (this.configuration && this.configuration.apiKey) {
7989
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
8090
}
@@ -116,6 +126,16 @@ export class SsoApi extends runtime.BaseAPI {
116126
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
117127
}
118128

129+
if (this.configuration && this.configuration.accessToken) {
130+
// oauth required
131+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
132+
}
133+
134+
if (this.configuration && this.configuration.accessToken) {
135+
// oauth required
136+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
137+
}
138+
119139
if (this.configuration && this.configuration.apiKey) {
120140
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
121141
}
@@ -159,6 +179,16 @@ export class SsoApi extends runtime.BaseAPI {
159179
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
160180
}
161181

182+
if (this.configuration && this.configuration.accessToken) {
183+
// oauth required
184+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
185+
}
186+
187+
if (this.configuration && this.configuration.accessToken) {
188+
// oauth required
189+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
190+
}
191+
162192
if (this.configuration && this.configuration.apiKey) {
163193
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
164194
}
@@ -199,6 +229,16 @@ export class SsoApi extends runtime.BaseAPI {
199229
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
200230
}
201231

232+
if (this.configuration && this.configuration.accessToken) {
233+
// oauth required
234+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
235+
}
236+
237+
if (this.configuration && this.configuration.accessToken) {
238+
// oauth required
239+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
240+
}
241+
202242
if (this.configuration && this.configuration.apiKey) {
203243
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
204244
}
@@ -238,6 +278,16 @@ export class SsoApi extends runtime.BaseAPI {
238278
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
239279
}
240280

281+
if (this.configuration && this.configuration.accessToken) {
282+
// oauth required
283+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
284+
}
285+
286+
if (this.configuration && this.configuration.accessToken) {
287+
// oauth required
288+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
289+
}
290+
241291
if (this.configuration && this.configuration.apiKey) {
242292
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
243293
}
@@ -278,6 +328,16 @@ export class SsoApi extends runtime.BaseAPI {
278328
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
279329
}
280330

331+
if (this.configuration && this.configuration.accessToken) {
332+
// oauth required
333+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
334+
}
335+
336+
if (this.configuration && this.configuration.accessToken) {
337+
// oauth required
338+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
339+
}
340+
281341
if (this.configuration && this.configuration.apiKey) {
282342
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
283343
}

package/src/apis/WebhookApi.ts

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,16 @@ export class WebhookApi extends runtime.BaseAPI {
126126
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
127127
}
128128

129+
if (this.configuration && this.configuration.accessToken) {
130+
// oauth required
131+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
132+
}
133+
134+
if (this.configuration && this.configuration.accessToken) {
135+
// oauth required
136+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
137+
}
138+
129139
if (this.configuration && this.configuration.apiKey) {
130140
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
131141
}
@@ -173,6 +183,16 @@ export class WebhookApi extends runtime.BaseAPI {
173183
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
174184
}
175185

186+
if (this.configuration && this.configuration.accessToken) {
187+
// oauth required
188+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
189+
}
190+
191+
if (this.configuration && this.configuration.accessToken) {
192+
// oauth required
193+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
194+
}
195+
176196
if (this.configuration && this.configuration.apiKey) {
177197
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
178198
}
@@ -222,6 +242,16 @@ export class WebhookApi extends runtime.BaseAPI {
222242
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
223243
}
224244

245+
if (this.configuration && this.configuration.accessToken) {
246+
// oauth required
247+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
248+
}
249+
250+
if (this.configuration && this.configuration.accessToken) {
251+
// oauth required
252+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
253+
}
254+
225255
if (this.configuration && this.configuration.apiKey) {
226256
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
227257
}
@@ -265,6 +295,16 @@ export class WebhookApi extends runtime.BaseAPI {
265295
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
266296
}
267297

298+
if (this.configuration && this.configuration.accessToken) {
299+
// oauth required
300+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
301+
}
302+
303+
if (this.configuration && this.configuration.accessToken) {
304+
// oauth required
305+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
306+
}
307+
268308
if (this.configuration && this.configuration.apiKey) {
269309
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
270310
}
@@ -312,6 +352,16 @@ export class WebhookApi extends runtime.BaseAPI {
312352
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
313353
}
314354

355+
if (this.configuration && this.configuration.accessToken) {
356+
// oauth required
357+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
358+
}
359+
360+
if (this.configuration && this.configuration.accessToken) {
361+
// oauth required
362+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
363+
}
364+
315365
if (this.configuration && this.configuration.apiKey) {
316366
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
317367
}
@@ -356,6 +406,16 @@ export class WebhookApi extends runtime.BaseAPI {
356406
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
357407
}
358408

409+
if (this.configuration && this.configuration.accessToken) {
410+
// oauth required
411+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
412+
}
413+
414+
if (this.configuration && this.configuration.accessToken) {
415+
// oauth required
416+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
417+
}
418+
359419
if (this.configuration && this.configuration.apiKey) {
360420
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
361421
}
@@ -400,6 +460,16 @@ export class WebhookApi extends runtime.BaseAPI {
400460
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
401461
}
402462

463+
if (this.configuration && this.configuration.accessToken) {
464+
// oauth required
465+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
466+
}
467+
468+
if (this.configuration && this.configuration.accessToken) {
469+
// oauth required
470+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
471+
}
472+
403473
if (this.configuration && this.configuration.apiKey) {
404474
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
405475
}
@@ -440,6 +510,16 @@ export class WebhookApi extends runtime.BaseAPI {
440510
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
441511
}
442512

513+
if (this.configuration && this.configuration.accessToken) {
514+
// oauth required
515+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
516+
}
517+
518+
if (this.configuration && this.configuration.accessToken) {
519+
// oauth required
520+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
521+
}
522+
443523
if (this.configuration && this.configuration.apiKey) {
444524
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
445525
}
@@ -494,6 +574,16 @@ export class WebhookApi extends runtime.BaseAPI {
494574
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
495575
}
496576

577+
if (this.configuration && this.configuration.accessToken) {
578+
// oauth required
579+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
580+
}
581+
582+
if (this.configuration && this.configuration.accessToken) {
583+
// oauth required
584+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
585+
}
586+
497587
if (this.configuration && this.configuration.apiKey) {
498588
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
499589
}
@@ -545,6 +635,16 @@ export class WebhookApi extends runtime.BaseAPI {
545635
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
546636
}
547637

638+
if (this.configuration && this.configuration.accessToken) {
639+
// oauth required
640+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
641+
}
642+
643+
if (this.configuration && this.configuration.accessToken) {
644+
// oauth required
645+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
646+
}
647+
548648
if (this.configuration && this.configuration.apiKey) {
549649
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
550650
}
@@ -596,6 +696,16 @@ export class WebhookApi extends runtime.BaseAPI {
596696
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
597697
}
598698

699+
if (this.configuration && this.configuration.accessToken) {
700+
// oauth required
701+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
702+
}
703+
704+
if (this.configuration && this.configuration.accessToken) {
705+
// oauth required
706+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
707+
}
708+
599709
if (this.configuration && this.configuration.apiKey) {
600710
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
601711
}
@@ -643,6 +753,16 @@ export class WebhookApi extends runtime.BaseAPI {
643753
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // ApiKey authentication
644754
}
645755

756+
if (this.configuration && this.configuration.accessToken) {
757+
// oauth required
758+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
759+
}
760+
761+
if (this.configuration && this.configuration.accessToken) {
762+
// oauth required
763+
headerParameters["Authorization"] = await this.configuration.accessToken("BIMData_Connect", []);
764+
}
765+
646766
if (this.configuration && this.configuration.apiKey) {
647767
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // Bearer authentication
648768
}

0 commit comments

Comments
 (0)