@digital8/security-registers-backend-ts-sdk 0.0.55 → 0.0.56

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.
@@ -0,0 +1,50 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UserRelationResource
16
+ */
17
+ export interface UserRelationResource {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof UserRelationResource
22
+ */
23
+ id: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof UserRelationResource
28
+ */
29
+ fullName: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof UserRelationResource
34
+ */
35
+ email: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof UserRelationResource
40
+ */
41
+ phone: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the UserRelationResource interface.
45
+ */
46
+ export declare function instanceOfUserRelationResource(value: object): value is UserRelationResource;
47
+ export declare function UserRelationResourceFromJSON(json: any): UserRelationResource;
48
+ export declare function UserRelationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserRelationResource;
49
+ export declare function UserRelationResourceToJSON(json: any): UserRelationResource;
50
+ export declare function UserRelationResourceToJSONTyped(value?: UserRelationResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfUserRelationResource = instanceOfUserRelationResource;
17
+ exports.UserRelationResourceFromJSON = UserRelationResourceFromJSON;
18
+ exports.UserRelationResourceFromJSONTyped = UserRelationResourceFromJSONTyped;
19
+ exports.UserRelationResourceToJSON = UserRelationResourceToJSON;
20
+ exports.UserRelationResourceToJSONTyped = UserRelationResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UserRelationResource interface.
23
+ */
24
+ function instanceOfUserRelationResource(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('fullName' in value) || value['fullName'] === undefined)
28
+ return false;
29
+ if (!('email' in value) || value['email'] === undefined)
30
+ return false;
31
+ if (!('phone' in value) || value['phone'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function UserRelationResourceFromJSON(json) {
36
+ return UserRelationResourceFromJSONTyped(json, false);
37
+ }
38
+ function UserRelationResourceFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'id': json['id'],
44
+ 'fullName': json['fullName'],
45
+ 'email': json['email'],
46
+ 'phone': json['phone'],
47
+ };
48
+ }
49
+ function UserRelationResourceToJSON(json) {
50
+ return UserRelationResourceToJSONTyped(json, false);
51
+ }
52
+ function UserRelationResourceToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'id': value['id'],
59
+ 'fullName': value['fullName'],
60
+ 'email': value['email'],
61
+ 'phone': value['phone'],
62
+ };
63
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { UserRelationResource } from './UserRelationResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UserRelationResourceArrayResponse
17
+ */
18
+ export interface UserRelationResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<UserRelationResource>}
22
+ * @memberof UserRelationResourceArrayResponse
23
+ */
24
+ data?: Array<UserRelationResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the UserRelationResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfUserRelationResourceArrayResponse(value: object): value is UserRelationResourceArrayResponse;
30
+ export declare function UserRelationResourceArrayResponseFromJSON(json: any): UserRelationResourceArrayResponse;
31
+ export declare function UserRelationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserRelationResourceArrayResponse;
32
+ export declare function UserRelationResourceArrayResponseToJSON(json: any): UserRelationResourceArrayResponse;
33
+ export declare function UserRelationResourceArrayResponseToJSONTyped(value?: UserRelationResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfUserRelationResourceArrayResponse = instanceOfUserRelationResourceArrayResponse;
17
+ exports.UserRelationResourceArrayResponseFromJSON = UserRelationResourceArrayResponseFromJSON;
18
+ exports.UserRelationResourceArrayResponseFromJSONTyped = UserRelationResourceArrayResponseFromJSONTyped;
19
+ exports.UserRelationResourceArrayResponseToJSON = UserRelationResourceArrayResponseToJSON;
20
+ exports.UserRelationResourceArrayResponseToJSONTyped = UserRelationResourceArrayResponseToJSONTyped;
21
+ var UserRelationResource_1 = require("./UserRelationResource");
22
+ /**
23
+ * Check if a given object implements the UserRelationResourceArrayResponse interface.
24
+ */
25
+ function instanceOfUserRelationResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function UserRelationResourceArrayResponseFromJSON(json) {
29
+ return UserRelationResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function UserRelationResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(UserRelationResource_1.UserRelationResourceFromJSON)),
37
+ };
38
+ }
39
+ function UserRelationResourceArrayResponseToJSON(json) {
40
+ return UserRelationResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function UserRelationResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'data': value['data'] == null ? undefined : (value['data'].map(UserRelationResource_1.UserRelationResourceToJSON)),
49
+ };
50
+ }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { AddressResource } from './AddressResource';
13
+ import type { UserRelationResource } from './UserRelationResource';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -52,6 +53,12 @@ export interface VenueResource {
52
53
  * @memberof VenueResource
53
54
  */
54
55
  primaryManagerId?: number | null;
56
+ /**
57
+ *
58
+ * @type {UserRelationResource}
59
+ * @memberof VenueResource
60
+ */
61
+ primaryManager: UserRelationResource | null;
55
62
  /**
56
63
  *
57
64
  * @type {string}
@@ -19,6 +19,7 @@ exports.VenueResourceFromJSONTyped = VenueResourceFromJSONTyped;
19
19
  exports.VenueResourceToJSON = VenueResourceToJSON;
20
20
  exports.VenueResourceToJSONTyped = VenueResourceToJSONTyped;
21
21
  var AddressResource_1 = require("./AddressResource");
22
+ var UserRelationResource_1 = require("./UserRelationResource");
22
23
  /**
23
24
  * Check if a given object implements the VenueResource interface.
24
25
  */
@@ -31,6 +32,8 @@ function instanceOfVenueResource(value) {
31
32
  return false;
32
33
  if (!('venueSignOnCodeRequired' in value) || value['venueSignOnCodeRequired'] === undefined)
33
34
  return false;
35
+ if (!('primaryManager' in value) || value['primaryManager'] === undefined)
36
+ return false;
34
37
  if (!('timezone' in value) || value['timezone'] === undefined)
35
38
  return false;
36
39
  if (!('isEnabled' in value) || value['isEnabled'] === undefined)
@@ -59,6 +62,7 @@ function VenueResourceFromJSONTyped(json, ignoreDiscriminator) {
59
62
  'badgeNumberRequired': json['badgeNumberRequired'],
60
63
  'venueSignOnCodeRequired': json['venueSignOnCodeRequired'],
61
64
  'primaryManagerId': json['primaryManagerId'] == null ? undefined : json['primaryManagerId'],
65
+ 'primaryManager': (0, UserRelationResource_1.UserRelationResourceFromJSON)(json['primaryManager']),
62
66
  'timezone': json['timezone'],
63
67
  'isEnabled': json['isEnabled'],
64
68
  'geofenceRadius': json['geofenceRadius'],
@@ -85,6 +89,7 @@ function VenueResourceToJSONTyped(value, ignoreDiscriminator) {
85
89
  'badgeNumberRequired': value['badgeNumberRequired'],
86
90
  'venueSignOnCodeRequired': value['venueSignOnCodeRequired'],
87
91
  'primaryManagerId': value['primaryManagerId'],
92
+ 'primaryManager': (0, UserRelationResource_1.UserRelationResourceToJSON)(value['primaryManager']),
88
93
  'timezone': value['timezone'],
89
94
  'isEnabled': value['isEnabled'],
90
95
  'geofenceRadius': value['geofenceRadius'],
@@ -26,6 +26,8 @@ export * from './StoreUserRequest';
26
26
  export * from './UpdateUserRequest';
27
27
  export * from './UserAuthTokenResource';
28
28
  export * from './UserAuthTokenResourceArrayResponse';
29
+ export * from './UserRelationResource';
30
+ export * from './UserRelationResourceArrayResponse';
29
31
  export * from './UserResource';
30
32
  export * from './UserResourceArrayResponse';
31
33
  export * from './UsersRegisterVenueManagerRequest';
@@ -44,6 +44,8 @@ __exportStar(require("./StoreUserRequest"), exports);
44
44
  __exportStar(require("./UpdateUserRequest"), exports);
45
45
  __exportStar(require("./UserAuthTokenResource"), exports);
46
46
  __exportStar(require("./UserAuthTokenResourceArrayResponse"), exports);
47
+ __exportStar(require("./UserRelationResource"), exports);
48
+ __exportStar(require("./UserRelationResourceArrayResponse"), exports);
47
49
  __exportStar(require("./UserResource"), exports);
48
50
  __exportStar(require("./UserResourceArrayResponse"), exports);
49
51
  __exportStar(require("./UsersRegisterVenueManagerRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/security-registers-backend-ts-sdk",
3
- "version": "0.0.55",
3
+ "version": "0.0.56",
4
4
  "description": "OpenAPI client for @digital8/security-registers-backend-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -197,14 +197,6 @@ export class GeneralApi extends runtime.BaseAPI {
197
197
 
198
198
  headerParameters['Content-Type'] = 'application/json';
199
199
 
200
- if (this.configuration && this.configuration.accessToken) {
201
- const token = this.configuration.accessToken;
202
- const tokenString = await token("bearerAuth", []);
203
-
204
- if (tokenString) {
205
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
206
- }
207
- }
208
200
 
209
201
  let urlPath = `/api/users/register-admin-user`;
210
202
 
@@ -242,14 +234,6 @@ export class GeneralApi extends runtime.BaseAPI {
242
234
 
243
235
  const headerParameters: runtime.HTTPHeaders = {};
244
236
 
245
- if (this.configuration && this.configuration.accessToken) {
246
- const token = this.configuration.accessToken;
247
- const tokenString = await token("bearerAuth", []);
248
-
249
- if (tokenString) {
250
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
251
- }
252
- }
253
237
 
254
238
  let urlPath = `/api/users/{user}/delete`;
255
239
  urlPath = urlPath.replace(`{${"user"}}`, encodeURIComponent(String(requestParameters['user'])));
@@ -280,14 +264,6 @@ export class GeneralApi extends runtime.BaseAPI {
280
264
 
281
265
  const headerParameters: runtime.HTTPHeaders = {};
282
266
 
283
- if (this.configuration && this.configuration.accessToken) {
284
- const token = this.configuration.accessToken;
285
- const tokenString = await token("bearerAuth", []);
286
-
287
- if (tokenString) {
288
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
289
- }
290
- }
291
267
 
292
268
  let urlPath = `/api/auth/profile`;
293
269
 
@@ -319,14 +295,6 @@ export class GeneralApi extends runtime.BaseAPI {
319
295
 
320
296
  headerParameters['Content-Type'] = 'application/json';
321
297
 
322
- if (this.configuration && this.configuration.accessToken) {
323
- const token = this.configuration.accessToken;
324
- const tokenString = await token("bearerAuth", []);
325
-
326
- if (tokenString) {
327
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
328
- }
329
- }
330
298
 
331
299
  let urlPath = `/api/users/list`;
332
300
 
@@ -359,14 +327,6 @@ export class GeneralApi extends runtime.BaseAPI {
359
327
 
360
328
  headerParameters['Content-Type'] = 'application/json';
361
329
 
362
- if (this.configuration && this.configuration.accessToken) {
363
- const token = this.configuration.accessToken;
364
- const tokenString = await token("bearerAuth", []);
365
-
366
- if (tokenString) {
367
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
368
- }
369
- }
370
330
 
371
331
  let urlPath = `/api/auth/login`;
372
332
 
@@ -397,14 +357,6 @@ export class GeneralApi extends runtime.BaseAPI {
397
357
 
398
358
  const headerParameters: runtime.HTTPHeaders = {};
399
359
 
400
- if (this.configuration && this.configuration.accessToken) {
401
- const token = this.configuration.accessToken;
402
- const tokenString = await token("bearerAuth", []);
403
-
404
- if (tokenString) {
405
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
406
- }
407
- }
408
360
 
409
361
  let urlPath = `/api/auth/logout`;
410
362
 
@@ -436,14 +388,6 @@ export class GeneralApi extends runtime.BaseAPI {
436
388
 
437
389
  headerParameters['Content-Type'] = 'application/json';
438
390
 
439
- if (this.configuration && this.configuration.accessToken) {
440
- const token = this.configuration.accessToken;
441
- const tokenString = await token("bearerAuth", []);
442
-
443
- if (tokenString) {
444
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
445
- }
446
- }
447
391
 
448
392
  let urlPath = `/api/auth/reset-password`;
449
393
 
@@ -481,14 +425,6 @@ export class GeneralApi extends runtime.BaseAPI {
481
425
 
482
426
  const headerParameters: runtime.HTTPHeaders = {};
483
427
 
484
- if (this.configuration && this.configuration.accessToken) {
485
- const token = this.configuration.accessToken;
486
- const tokenString = await token("bearerAuth", []);
487
-
488
- if (tokenString) {
489
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
490
- }
491
- }
492
428
 
493
429
  let urlPath = `/api/security-companies/{securityCompany}/delete`;
494
430
  urlPath = urlPath.replace(`{${"securityCompany"}}`, encodeURIComponent(String(requestParameters['securityCompany'])));
@@ -521,14 +457,6 @@ export class GeneralApi extends runtime.BaseAPI {
521
457
 
522
458
  headerParameters['Content-Type'] = 'application/json';
523
459
 
524
- if (this.configuration && this.configuration.accessToken) {
525
- const token = this.configuration.accessToken;
526
- const tokenString = await token("bearerAuth", []);
527
-
528
- if (tokenString) {
529
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
530
- }
531
- }
532
460
 
533
461
  let urlPath = `/api/security-companies/list`;
534
462
 
@@ -566,14 +494,6 @@ export class GeneralApi extends runtime.BaseAPI {
566
494
 
567
495
  const headerParameters: runtime.HTTPHeaders = {};
568
496
 
569
- if (this.configuration && this.configuration.accessToken) {
570
- const token = this.configuration.accessToken;
571
- const tokenString = await token("bearerAuth", []);
572
-
573
- if (tokenString) {
574
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
575
- }
576
- }
577
497
 
578
498
  let urlPath = `/api/security-companies/{securityCompany}`;
579
499
  urlPath = urlPath.replace(`{${"securityCompany"}}`, encodeURIComponent(String(requestParameters['securityCompany'])));
@@ -606,14 +526,6 @@ export class GeneralApi extends runtime.BaseAPI {
606
526
 
607
527
  headerParameters['Content-Type'] = 'application/json';
608
528
 
609
- if (this.configuration && this.configuration.accessToken) {
610
- const token = this.configuration.accessToken;
611
- const tokenString = await token("bearerAuth", []);
612
-
613
- if (tokenString) {
614
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
615
- }
616
- }
617
529
 
618
530
  let urlPath = `/api/security-companies`;
619
531
 
@@ -653,14 +565,6 @@ export class GeneralApi extends runtime.BaseAPI {
653
565
 
654
566
  headerParameters['Content-Type'] = 'application/json';
655
567
 
656
- if (this.configuration && this.configuration.accessToken) {
657
- const token = this.configuration.accessToken;
658
- const tokenString = await token("bearerAuth", []);
659
-
660
- if (tokenString) {
661
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
662
- }
663
- }
664
568
 
665
569
  let urlPath = `/api/security-companies/{securityCompany}/update`;
666
570
  urlPath = urlPath.replace(`{${"securityCompany"}}`, encodeURIComponent(String(requestParameters['securityCompany'])));
@@ -694,14 +598,6 @@ export class GeneralApi extends runtime.BaseAPI {
694
598
 
695
599
  headerParameters['Content-Type'] = 'application/json';
696
600
 
697
- if (this.configuration && this.configuration.accessToken) {
698
- const token = this.configuration.accessToken;
699
- const tokenString = await token("bearerAuth", []);
700
-
701
- if (tokenString) {
702
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
703
- }
704
- }
705
601
 
706
602
  let urlPath = `/api/auth/forgot-password`;
707
603
 
@@ -734,14 +630,6 @@ export class GeneralApi extends runtime.BaseAPI {
734
630
 
735
631
  headerParameters['Content-Type'] = 'application/json';
736
632
 
737
- if (this.configuration && this.configuration.accessToken) {
738
- const token = this.configuration.accessToken;
739
- const tokenString = await token("bearerAuth", []);
740
-
741
- if (tokenString) {
742
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
743
- }
744
- }
745
633
 
746
634
  let urlPath = `/api/assets/file`;
747
635
 
@@ -774,14 +662,6 @@ export class GeneralApi extends runtime.BaseAPI {
774
662
 
775
663
  headerParameters['Content-Type'] = 'application/json';
776
664
 
777
- if (this.configuration && this.configuration.accessToken) {
778
- const token = this.configuration.accessToken;
779
- const tokenString = await token("bearerAuth", []);
780
-
781
- if (tokenString) {
782
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
783
- }
784
- }
785
665
 
786
666
  let urlPath = `/api/auth/register`;
787
667
 
@@ -821,14 +701,6 @@ export class GeneralApi extends runtime.BaseAPI {
821
701
 
822
702
  headerParameters['Content-Type'] = 'application/json';
823
703
 
824
- if (this.configuration && this.configuration.accessToken) {
825
- const token = this.configuration.accessToken;
826
- const tokenString = await token("bearerAuth", []);
827
-
828
- if (tokenString) {
829
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
830
- }
831
- }
832
704
 
833
705
  let urlPath = `/api/users/{user}/update`;
834
706
  urlPath = urlPath.replace(`{${"user"}}`, encodeURIComponent(String(requestParameters['user'])));
@@ -862,14 +734,6 @@ export class GeneralApi extends runtime.BaseAPI {
862
734
 
863
735
  headerParameters['Content-Type'] = 'application/json';
864
736
 
865
- if (this.configuration && this.configuration.accessToken) {
866
- const token = this.configuration.accessToken;
867
- const tokenString = await token("bearerAuth", []);
868
-
869
- if (tokenString) {
870
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
871
- }
872
- }
873
737
 
874
738
  let urlPath = `/api/users/register-venue-manager`;
875
739
 
@@ -907,14 +771,6 @@ export class GeneralApi extends runtime.BaseAPI {
907
771
 
908
772
  const headerParameters: runtime.HTTPHeaders = {};
909
773
 
910
- if (this.configuration && this.configuration.accessToken) {
911
- const token = this.configuration.accessToken;
912
- const tokenString = await token("bearerAuth", []);
913
-
914
- if (tokenString) {
915
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
916
- }
917
- }
918
774
 
919
775
  let urlPath = `/api/users/{user}`;
920
776
  urlPath = urlPath.replace(`{${"user"}}`, encodeURIComponent(String(requestParameters['user'])));
@@ -952,14 +808,6 @@ export class GeneralApi extends runtime.BaseAPI {
952
808
 
953
809
  const headerParameters: runtime.HTTPHeaders = {};
954
810
 
955
- if (this.configuration && this.configuration.accessToken) {
956
- const token = this.configuration.accessToken;
957
- const tokenString = await token("bearerAuth", []);
958
-
959
- if (tokenString) {
960
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
961
- }
962
- }
963
811
 
964
812
  let urlPath = `/api/venues/{venue}/delete`;
965
813
  urlPath = urlPath.replace(`{${"venue"}}`, encodeURIComponent(String(requestParameters['venue'])));
@@ -992,14 +840,6 @@ export class GeneralApi extends runtime.BaseAPI {
992
840
 
993
841
  headerParameters['Content-Type'] = 'application/json';
994
842
 
995
- if (this.configuration && this.configuration.accessToken) {
996
- const token = this.configuration.accessToken;
997
- const tokenString = await token("bearerAuth", []);
998
-
999
- if (tokenString) {
1000
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
1001
- }
1002
- }
1003
843
 
1004
844
  let urlPath = `/api/venues/list`;
1005
845
 
@@ -1032,14 +872,6 @@ export class GeneralApi extends runtime.BaseAPI {
1032
872
 
1033
873
  headerParameters['Content-Type'] = 'application/json';
1034
874
 
1035
- if (this.configuration && this.configuration.accessToken) {
1036
- const token = this.configuration.accessToken;
1037
- const tokenString = await token("bearerAuth", []);
1038
-
1039
- if (tokenString) {
1040
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
1041
- }
1042
- }
1043
875
 
1044
876
  let urlPath = `/api/venues/public`;
1045
877
 
@@ -1077,14 +909,6 @@ export class GeneralApi extends runtime.BaseAPI {
1077
909
 
1078
910
  const headerParameters: runtime.HTTPHeaders = {};
1079
911
 
1080
- if (this.configuration && this.configuration.accessToken) {
1081
- const token = this.configuration.accessToken;
1082
- const tokenString = await token("bearerAuth", []);
1083
-
1084
- if (tokenString) {
1085
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
1086
- }
1087
- }
1088
912
 
1089
913
  let urlPath = `/api/venues/{venue}`;
1090
914
  urlPath = urlPath.replace(`{${"venue"}}`, encodeURIComponent(String(requestParameters['venue'])));
@@ -1117,14 +941,6 @@ export class GeneralApi extends runtime.BaseAPI {
1117
941
 
1118
942
  headerParameters['Content-Type'] = 'application/json';
1119
943
 
1120
- if (this.configuration && this.configuration.accessToken) {
1121
- const token = this.configuration.accessToken;
1122
- const tokenString = await token("bearerAuth", []);
1123
-
1124
- if (tokenString) {
1125
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
1126
- }
1127
- }
1128
944
 
1129
945
  let urlPath = `/api/venues`;
1130
946
 
@@ -1164,14 +980,6 @@ export class GeneralApi extends runtime.BaseAPI {
1164
980
 
1165
981
  headerParameters['Content-Type'] = 'application/json';
1166
982
 
1167
- if (this.configuration && this.configuration.accessToken) {
1168
- const token = this.configuration.accessToken;
1169
- const tokenString = await token("bearerAuth", []);
1170
-
1171
- if (tokenString) {
1172
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
1173
- }
1174
- }
1175
983
 
1176
984
  let urlPath = `/api/venues/{venue}/update`;
1177
985
  urlPath = urlPath.replace(`{${"venue"}}`, encodeURIComponent(String(requestParameters['venue'])));