ob-bms-sdk 0.0.22 → 0.0.23
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.
- package/api/api.ts +10 -485
- package/dist/api/api.d.ts +10 -448
- package/dist/api/api.js +1 -64
- package/package.json +1 -1
- package/test.ts +0 -15
package/api/api.ts
CHANGED
|
@@ -314,55 +314,6 @@ export interface FloorData {
|
|
|
314
314
|
*/
|
|
315
315
|
'updated_at': string;
|
|
316
316
|
}
|
|
317
|
-
/**
|
|
318
|
-
*
|
|
319
|
-
* @export
|
|
320
|
-
* @interface FloorDataPasses
|
|
321
|
-
*/
|
|
322
|
-
export interface FloorDataPasses {
|
|
323
|
-
/**
|
|
324
|
-
*
|
|
325
|
-
* @type {string}
|
|
326
|
-
* @memberof FloorDataPasses
|
|
327
|
-
*/
|
|
328
|
-
'id': string;
|
|
329
|
-
/**
|
|
330
|
-
*
|
|
331
|
-
* @type {string}
|
|
332
|
-
* @memberof FloorDataPasses
|
|
333
|
-
*/
|
|
334
|
-
'uid': string;
|
|
335
|
-
/**
|
|
336
|
-
*
|
|
337
|
-
* @type {string}
|
|
338
|
-
* @memberof FloorDataPasses
|
|
339
|
-
*/
|
|
340
|
-
'name': string;
|
|
341
|
-
/**
|
|
342
|
-
*
|
|
343
|
-
* @type {JsonValue}
|
|
344
|
-
* @memberof FloorDataPasses
|
|
345
|
-
*/
|
|
346
|
-
'display_name': JsonValue | null;
|
|
347
|
-
/**
|
|
348
|
-
*
|
|
349
|
-
* @type {string}
|
|
350
|
-
* @memberof FloorDataPasses
|
|
351
|
-
*/
|
|
352
|
-
'tower_id': string;
|
|
353
|
-
/**
|
|
354
|
-
*
|
|
355
|
-
* @type {string}
|
|
356
|
-
* @memberof FloorDataPasses
|
|
357
|
-
*/
|
|
358
|
-
'created_at': string;
|
|
359
|
-
/**
|
|
360
|
-
*
|
|
361
|
-
* @type {string}
|
|
362
|
-
* @memberof FloorDataPasses
|
|
363
|
-
*/
|
|
364
|
-
'updated_at': string;
|
|
365
|
-
}
|
|
366
317
|
/**
|
|
367
318
|
*
|
|
368
319
|
* @export
|
|
@@ -395,116 +346,6 @@ export interface LocationData {
|
|
|
395
346
|
*/
|
|
396
347
|
'isDefault': boolean;
|
|
397
348
|
}
|
|
398
|
-
/**
|
|
399
|
-
*
|
|
400
|
-
* @export
|
|
401
|
-
* @interface LocationPasses
|
|
402
|
-
*/
|
|
403
|
-
export interface LocationPasses {
|
|
404
|
-
/**
|
|
405
|
-
*
|
|
406
|
-
* @type {string}
|
|
407
|
-
* @memberof LocationPasses
|
|
408
|
-
*/
|
|
409
|
-
'id': string;
|
|
410
|
-
/**
|
|
411
|
-
*
|
|
412
|
-
* @type {string}
|
|
413
|
-
* @memberof LocationPasses
|
|
414
|
-
*/
|
|
415
|
-
'uid': string;
|
|
416
|
-
/**
|
|
417
|
-
*
|
|
418
|
-
* @type {string}
|
|
419
|
-
* @memberof LocationPasses
|
|
420
|
-
*/
|
|
421
|
-
'name': string;
|
|
422
|
-
/**
|
|
423
|
-
*
|
|
424
|
-
* @type {string}
|
|
425
|
-
* @memberof LocationPasses
|
|
426
|
-
*/
|
|
427
|
-
'coordinate': string;
|
|
428
|
-
/**
|
|
429
|
-
*
|
|
430
|
-
* @type {string}
|
|
431
|
-
* @memberof LocationPasses
|
|
432
|
-
*/
|
|
433
|
-
'tower_id': string;
|
|
434
|
-
/**
|
|
435
|
-
*
|
|
436
|
-
* @type {string}
|
|
437
|
-
* @memberof LocationPasses
|
|
438
|
-
*/
|
|
439
|
-
'floor_id': string;
|
|
440
|
-
/**
|
|
441
|
-
*
|
|
442
|
-
* @type {string}
|
|
443
|
-
* @memberof LocationPasses
|
|
444
|
-
*/
|
|
445
|
-
'zone_id': string;
|
|
446
|
-
/**
|
|
447
|
-
*
|
|
448
|
-
* @type {TowerDataPasses}
|
|
449
|
-
* @memberof LocationPasses
|
|
450
|
-
*/
|
|
451
|
-
'tower': TowerDataPasses;
|
|
452
|
-
/**
|
|
453
|
-
*
|
|
454
|
-
* @type {FloorDataPasses}
|
|
455
|
-
* @memberof LocationPasses
|
|
456
|
-
*/
|
|
457
|
-
'floor': FloorDataPasses;
|
|
458
|
-
/**
|
|
459
|
-
*
|
|
460
|
-
* @type {string}
|
|
461
|
-
* @memberof LocationPasses
|
|
462
|
-
*/
|
|
463
|
-
'created_at': string;
|
|
464
|
-
/**
|
|
465
|
-
*
|
|
466
|
-
* @type {string}
|
|
467
|
-
* @memberof LocationPasses
|
|
468
|
-
*/
|
|
469
|
-
'updated_at': string;
|
|
470
|
-
}
|
|
471
|
-
/**
|
|
472
|
-
*
|
|
473
|
-
* @export
|
|
474
|
-
* @interface MembersPasses
|
|
475
|
-
*/
|
|
476
|
-
export interface MembersPasses {
|
|
477
|
-
/**
|
|
478
|
-
*
|
|
479
|
-
* @type {string}
|
|
480
|
-
* @memberof MembersPasses
|
|
481
|
-
*/
|
|
482
|
-
'uid': string;
|
|
483
|
-
/**
|
|
484
|
-
*
|
|
485
|
-
* @type {JsonValue}
|
|
486
|
-
* @memberof MembersPasses
|
|
487
|
-
*/
|
|
488
|
-
'metadata': JsonValue | null;
|
|
489
|
-
/**
|
|
490
|
-
*
|
|
491
|
-
* @type {string}
|
|
492
|
-
* @memberof MembersPasses
|
|
493
|
-
*/
|
|
494
|
-
'account_id': string | null;
|
|
495
|
-
/**
|
|
496
|
-
*
|
|
497
|
-
* @type {string}
|
|
498
|
-
* @memberof MembersPasses
|
|
499
|
-
*/
|
|
500
|
-
'created_at': string;
|
|
501
|
-
/**
|
|
502
|
-
*
|
|
503
|
-
* @type {string}
|
|
504
|
-
* @memberof MembersPasses
|
|
505
|
-
*/
|
|
506
|
-
'updated_at': string;
|
|
507
|
-
}
|
|
508
349
|
/**
|
|
509
350
|
*
|
|
510
351
|
* @export
|
|
@@ -696,105 +537,6 @@ export interface PersonData {
|
|
|
696
537
|
*/
|
|
697
538
|
'status': string;
|
|
698
539
|
}
|
|
699
|
-
/**
|
|
700
|
-
*
|
|
701
|
-
* @export
|
|
702
|
-
* @interface ShowPassResponse
|
|
703
|
-
*/
|
|
704
|
-
export interface ShowPassResponse {
|
|
705
|
-
/**
|
|
706
|
-
*
|
|
707
|
-
* @type {LocationPasses}
|
|
708
|
-
* @memberof ShowPassResponse
|
|
709
|
-
*/
|
|
710
|
-
'location': LocationPasses;
|
|
711
|
-
/**
|
|
712
|
-
*
|
|
713
|
-
* @type {MembersPasses}
|
|
714
|
-
* @memberof ShowPassResponse
|
|
715
|
-
*/
|
|
716
|
-
'issuer': MembersPasses;
|
|
717
|
-
/**
|
|
718
|
-
*
|
|
719
|
-
* @type {VisitorPasses}
|
|
720
|
-
* @memberof ShowPassResponse
|
|
721
|
-
*/
|
|
722
|
-
'visitor': VisitorPasses;
|
|
723
|
-
/**
|
|
724
|
-
*
|
|
725
|
-
* @type {VisitorSchedulePasses}
|
|
726
|
-
* @memberof ShowPassResponse
|
|
727
|
-
*/
|
|
728
|
-
'visitor_schedule': VisitorSchedulePasses;
|
|
729
|
-
/**
|
|
730
|
-
*
|
|
731
|
-
* @type {string}
|
|
732
|
-
* @memberof ShowPassResponse
|
|
733
|
-
*/
|
|
734
|
-
'visit_schedule_id': string;
|
|
735
|
-
/**
|
|
736
|
-
*
|
|
737
|
-
* @type {string}
|
|
738
|
-
* @memberof ShowPassResponse
|
|
739
|
-
*/
|
|
740
|
-
'updated_at': string;
|
|
741
|
-
/**
|
|
742
|
-
*
|
|
743
|
-
* @type {string}
|
|
744
|
-
* @memberof ShowPassResponse
|
|
745
|
-
*/
|
|
746
|
-
'created_at': string;
|
|
747
|
-
/**
|
|
748
|
-
*
|
|
749
|
-
* @type {string}
|
|
750
|
-
* @memberof ShowPassResponse
|
|
751
|
-
*/
|
|
752
|
-
'status': ShowPassResponseStatusEnum;
|
|
753
|
-
/**
|
|
754
|
-
*
|
|
755
|
-
* @type {string}
|
|
756
|
-
* @memberof ShowPassResponse
|
|
757
|
-
*/
|
|
758
|
-
'issuer_id': string;
|
|
759
|
-
/**
|
|
760
|
-
*
|
|
761
|
-
* @type {string}
|
|
762
|
-
* @memberof ShowPassResponse
|
|
763
|
-
*/
|
|
764
|
-
'visitor_id': string;
|
|
765
|
-
/**
|
|
766
|
-
*
|
|
767
|
-
* @type {string}
|
|
768
|
-
* @memberof ShowPassResponse
|
|
769
|
-
*/
|
|
770
|
-
'to': string;
|
|
771
|
-
/**
|
|
772
|
-
*
|
|
773
|
-
* @type {string}
|
|
774
|
-
* @memberof ShowPassResponse
|
|
775
|
-
*/
|
|
776
|
-
'from': string;
|
|
777
|
-
/**
|
|
778
|
-
*
|
|
779
|
-
* @type {string}
|
|
780
|
-
* @memberof ShowPassResponse
|
|
781
|
-
*/
|
|
782
|
-
'uid': string | null;
|
|
783
|
-
/**
|
|
784
|
-
*
|
|
785
|
-
* @type {string}
|
|
786
|
-
* @memberof ShowPassResponse
|
|
787
|
-
*/
|
|
788
|
-
'id': string;
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
export const ShowPassResponseStatusEnum = {
|
|
792
|
-
Pending: 'pending',
|
|
793
|
-
Confirmed: 'confirmed'
|
|
794
|
-
} as const;
|
|
795
|
-
|
|
796
|
-
export type ShowPassResponseStatusEnum = typeof ShowPassResponseStatusEnum[keyof typeof ShowPassResponseStatusEnum];
|
|
797
|
-
|
|
798
540
|
/**
|
|
799
541
|
*
|
|
800
542
|
* @export
|
|
@@ -988,55 +730,6 @@ export interface TowerData {
|
|
|
988
730
|
*/
|
|
989
731
|
'floors': Array<FloorData>;
|
|
990
732
|
}
|
|
991
|
-
/**
|
|
992
|
-
*
|
|
993
|
-
* @export
|
|
994
|
-
* @interface TowerDataPasses
|
|
995
|
-
*/
|
|
996
|
-
export interface TowerDataPasses {
|
|
997
|
-
/**
|
|
998
|
-
*
|
|
999
|
-
* @type {string}
|
|
1000
|
-
* @memberof TowerDataPasses
|
|
1001
|
-
*/
|
|
1002
|
-
'id': string;
|
|
1003
|
-
/**
|
|
1004
|
-
*
|
|
1005
|
-
* @type {string}
|
|
1006
|
-
* @memberof TowerDataPasses
|
|
1007
|
-
*/
|
|
1008
|
-
'uid': string;
|
|
1009
|
-
/**
|
|
1010
|
-
*
|
|
1011
|
-
* @type {string}
|
|
1012
|
-
* @memberof TowerDataPasses
|
|
1013
|
-
*/
|
|
1014
|
-
'name': string;
|
|
1015
|
-
/**
|
|
1016
|
-
*
|
|
1017
|
-
* @type {JsonValue}
|
|
1018
|
-
* @memberof TowerDataPasses
|
|
1019
|
-
*/
|
|
1020
|
-
'display_name': JsonValue | null;
|
|
1021
|
-
/**
|
|
1022
|
-
*
|
|
1023
|
-
* @type {string}
|
|
1024
|
-
* @memberof TowerDataPasses
|
|
1025
|
-
*/
|
|
1026
|
-
'project_id': string;
|
|
1027
|
-
/**
|
|
1028
|
-
*
|
|
1029
|
-
* @type {string}
|
|
1030
|
-
* @memberof TowerDataPasses
|
|
1031
|
-
*/
|
|
1032
|
-
'created_at': string;
|
|
1033
|
-
/**
|
|
1034
|
-
*
|
|
1035
|
-
* @type {string}
|
|
1036
|
-
* @memberof TowerDataPasses
|
|
1037
|
-
*/
|
|
1038
|
-
'updated_at': string;
|
|
1039
|
-
}
|
|
1040
733
|
/**
|
|
1041
734
|
*
|
|
1042
735
|
* @export
|
|
@@ -1098,61 +791,6 @@ export interface VisitorData {
|
|
|
1098
791
|
*/
|
|
1099
792
|
'id': string;
|
|
1100
793
|
}
|
|
1101
|
-
/**
|
|
1102
|
-
*
|
|
1103
|
-
* @export
|
|
1104
|
-
* @interface VisitorPasses
|
|
1105
|
-
*/
|
|
1106
|
-
export interface VisitorPasses {
|
|
1107
|
-
/**
|
|
1108
|
-
*
|
|
1109
|
-
* @type {string}
|
|
1110
|
-
* @memberof VisitorPasses
|
|
1111
|
-
*/
|
|
1112
|
-
'name': string;
|
|
1113
|
-
/**
|
|
1114
|
-
*
|
|
1115
|
-
* @type {string}
|
|
1116
|
-
* @memberof VisitorPasses
|
|
1117
|
-
*/
|
|
1118
|
-
'profile_image_url': string | null;
|
|
1119
|
-
/**
|
|
1120
|
-
*
|
|
1121
|
-
* @type {string}
|
|
1122
|
-
* @memberof VisitorPasses
|
|
1123
|
-
*/
|
|
1124
|
-
'email': string;
|
|
1125
|
-
/**
|
|
1126
|
-
*
|
|
1127
|
-
* @type {string}
|
|
1128
|
-
* @memberof VisitorPasses
|
|
1129
|
-
*/
|
|
1130
|
-
'company_name': string;
|
|
1131
|
-
/**
|
|
1132
|
-
*
|
|
1133
|
-
* @type {string}
|
|
1134
|
-
* @memberof VisitorPasses
|
|
1135
|
-
*/
|
|
1136
|
-
'reference': string;
|
|
1137
|
-
/**
|
|
1138
|
-
*
|
|
1139
|
-
* @type {string}
|
|
1140
|
-
* @memberof VisitorPasses
|
|
1141
|
-
*/
|
|
1142
|
-
'inviter_id': string;
|
|
1143
|
-
/**
|
|
1144
|
-
*
|
|
1145
|
-
* @type {string}
|
|
1146
|
-
* @memberof VisitorPasses
|
|
1147
|
-
*/
|
|
1148
|
-
'created_at': string;
|
|
1149
|
-
/**
|
|
1150
|
-
*
|
|
1151
|
-
* @type {string}
|
|
1152
|
-
* @memberof VisitorPasses
|
|
1153
|
-
*/
|
|
1154
|
-
'updated_at': string;
|
|
1155
|
-
}
|
|
1156
794
|
/**
|
|
1157
795
|
*
|
|
1158
796
|
* @export
|
|
@@ -1193,58 +831,15 @@ export interface VisitorSchedule {
|
|
|
1193
831
|
/**
|
|
1194
832
|
*
|
|
1195
833
|
* @export
|
|
1196
|
-
* @interface
|
|
834
|
+
* @interface WebhookCreateBody
|
|
1197
835
|
*/
|
|
1198
|
-
export interface
|
|
1199
|
-
/**
|
|
1200
|
-
*
|
|
1201
|
-
* @type {string}
|
|
1202
|
-
* @memberof VisitorSchedulePasses
|
|
1203
|
-
*/
|
|
1204
|
-
'tower_id': string;
|
|
1205
|
-
/**
|
|
1206
|
-
*
|
|
1207
|
-
* @type {string}
|
|
1208
|
-
* @memberof VisitorSchedulePasses
|
|
1209
|
-
*/
|
|
1210
|
-
'floor_id': string;
|
|
1211
|
-
/**
|
|
1212
|
-
*
|
|
1213
|
-
* @type {string}
|
|
1214
|
-
* @memberof VisitorSchedulePasses
|
|
1215
|
-
*/
|
|
1216
|
-
'from': string;
|
|
1217
|
-
/**
|
|
1218
|
-
*
|
|
1219
|
-
* @type {string}
|
|
1220
|
-
* @memberof VisitorSchedulePasses
|
|
1221
|
-
*/
|
|
1222
|
-
'to': string;
|
|
1223
|
-
/**
|
|
1224
|
-
*
|
|
1225
|
-
* @type {object}
|
|
1226
|
-
* @memberof VisitorSchedulePasses
|
|
1227
|
-
*/
|
|
1228
|
-
'repetition'?: object;
|
|
1229
|
-
/**
|
|
1230
|
-
*
|
|
1231
|
-
* @type {string}
|
|
1232
|
-
* @memberof VisitorSchedulePasses
|
|
1233
|
-
*/
|
|
1234
|
-
'created_at': string;
|
|
836
|
+
export interface WebhookCreateBody {
|
|
1235
837
|
/**
|
|
1236
838
|
*
|
|
1237
839
|
* @type {string}
|
|
1238
|
-
* @memberof
|
|
840
|
+
* @memberof WebhookCreateBody
|
|
1239
841
|
*/
|
|
1240
|
-
'
|
|
1241
|
-
}
|
|
1242
|
-
/**
|
|
1243
|
-
*
|
|
1244
|
-
* @export
|
|
1245
|
-
* @interface WebhookCreateBody
|
|
1246
|
-
*/
|
|
1247
|
-
export interface WebhookCreateBody {
|
|
842
|
+
'type': string;
|
|
1248
843
|
/**
|
|
1249
844
|
*
|
|
1250
845
|
* @type {string}
|
|
@@ -1269,6 +864,12 @@ export interface WebhookCreateBody {
|
|
|
1269
864
|
* @memberof WebhookCreateBody
|
|
1270
865
|
*/
|
|
1271
866
|
'floorID': number;
|
|
867
|
+
/**
|
|
868
|
+
*
|
|
869
|
+
* @type {string}
|
|
870
|
+
* @memberof WebhookCreateBody
|
|
871
|
+
*/
|
|
872
|
+
'visitorPassID': string;
|
|
1272
873
|
}
|
|
1273
874
|
/**
|
|
1274
875
|
*
|
|
@@ -1452,19 +1053,6 @@ export const WrappedResponseNullDataEnum = {
|
|
|
1452
1053
|
|
|
1453
1054
|
export type WrappedResponseNullDataEnum = typeof WrappedResponseNullDataEnum[keyof typeof WrappedResponseNullDataEnum];
|
|
1454
1055
|
|
|
1455
|
-
/**
|
|
1456
|
-
*
|
|
1457
|
-
* @export
|
|
1458
|
-
* @interface WrappedResponseShowPassResponseOrNull
|
|
1459
|
-
*/
|
|
1460
|
-
export interface WrappedResponseShowPassResponseOrNull {
|
|
1461
|
-
/**
|
|
1462
|
-
*
|
|
1463
|
-
* @type {Array<ShowPassResponse>}
|
|
1464
|
-
* @memberof WrappedResponseShowPassResponseOrNull
|
|
1465
|
-
*/
|
|
1466
|
-
'data': Array<ShowPassResponse> | null;
|
|
1467
|
-
}
|
|
1468
1056
|
/**
|
|
1469
1057
|
*
|
|
1470
1058
|
* @export
|
|
@@ -1711,39 +1299,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1711
1299
|
|
|
1712
1300
|
|
|
1713
1301
|
|
|
1714
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1715
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1716
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1717
|
-
|
|
1718
|
-
return {
|
|
1719
|
-
url: toPathString(localVarUrlObj),
|
|
1720
|
-
options: localVarRequestOptions,
|
|
1721
|
-
};
|
|
1722
|
-
},
|
|
1723
|
-
/**
|
|
1724
|
-
*
|
|
1725
|
-
* @param {string} id
|
|
1726
|
-
* @param {*} [options] Override http request option.
|
|
1727
|
-
* @throws {RequiredError}
|
|
1728
|
-
*/
|
|
1729
|
-
passesShow: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1730
|
-
// verify required parameter 'id' is not null or undefined
|
|
1731
|
-
assertParamExists('passesShow', 'id', id)
|
|
1732
|
-
const localVarPath = `/passes/{id}`
|
|
1733
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1734
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1735
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1736
|
-
let baseOptions;
|
|
1737
|
-
if (configuration) {
|
|
1738
|
-
baseOptions = configuration.baseOptions;
|
|
1739
|
-
}
|
|
1740
|
-
|
|
1741
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1742
|
-
const localVarHeaderParameter = {} as any;
|
|
1743
|
-
const localVarQueryParameter = {} as any;
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
1302
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1748
1303
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1749
1304
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1949,16 +1504,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
1949
1504
|
const localVarAxiosArgs = await localVarAxiosParamCreator.membersShow(id, options);
|
|
1950
1505
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1951
1506
|
},
|
|
1952
|
-
/**
|
|
1953
|
-
*
|
|
1954
|
-
* @param {string} id
|
|
1955
|
-
* @param {*} [options] Override http request option.
|
|
1956
|
-
* @throws {RequiredError}
|
|
1957
|
-
*/
|
|
1958
|
-
async passesShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowPassResponseOrNull>> {
|
|
1959
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.passesShow(id, options);
|
|
1960
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1961
|
-
},
|
|
1962
1507
|
/**
|
|
1963
1508
|
*
|
|
1964
1509
|
* @param {SyncBody} syncBody
|
|
@@ -2054,15 +1599,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2054
1599
|
membersShow(id: string, options?: any): AxiosPromise<WrappedResponseMembersShowResponse> {
|
|
2055
1600
|
return localVarFp.membersShow(id, options).then((request) => request(axios, basePath));
|
|
2056
1601
|
},
|
|
2057
|
-
/**
|
|
2058
|
-
*
|
|
2059
|
-
* @param {string} id
|
|
2060
|
-
* @param {*} [options] Override http request option.
|
|
2061
|
-
* @throws {RequiredError}
|
|
2062
|
-
*/
|
|
2063
|
-
passesShow(id: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull> {
|
|
2064
|
-
return localVarFp.passesShow(id, options).then((request) => request(axios, basePath));
|
|
2065
|
-
},
|
|
2066
1602
|
/**
|
|
2067
1603
|
*
|
|
2068
1604
|
* @param {SyncBody} syncBody
|
|
@@ -2164,17 +1700,6 @@ export class DefaultApi extends BaseAPI {
|
|
|
2164
1700
|
return DefaultApiFp(this.configuration).membersShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
2165
1701
|
}
|
|
2166
1702
|
|
|
2167
|
-
/**
|
|
2168
|
-
*
|
|
2169
|
-
* @param {string} id
|
|
2170
|
-
* @param {*} [options] Override http request option.
|
|
2171
|
-
* @throws {RequiredError}
|
|
2172
|
-
* @memberof DefaultApi
|
|
2173
|
-
*/
|
|
2174
|
-
public passesShow(id: string, options?: AxiosRequestConfig) {
|
|
2175
|
-
return DefaultApiFp(this.configuration).passesShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
2176
|
-
}
|
|
2177
|
-
|
|
2178
1703
|
/**
|
|
2179
1704
|
*
|
|
2180
1705
|
* @param {SyncBody} syncBody
|
package/dist/api/api.d.ts
CHANGED
|
@@ -312,55 +312,6 @@ export interface FloorData {
|
|
|
312
312
|
*/
|
|
313
313
|
'updated_at': string;
|
|
314
314
|
}
|
|
315
|
-
/**
|
|
316
|
-
*
|
|
317
|
-
* @export
|
|
318
|
-
* @interface FloorDataPasses
|
|
319
|
-
*/
|
|
320
|
-
export interface FloorDataPasses {
|
|
321
|
-
/**
|
|
322
|
-
*
|
|
323
|
-
* @type {string}
|
|
324
|
-
* @memberof FloorDataPasses
|
|
325
|
-
*/
|
|
326
|
-
'id': string;
|
|
327
|
-
/**
|
|
328
|
-
*
|
|
329
|
-
* @type {string}
|
|
330
|
-
* @memberof FloorDataPasses
|
|
331
|
-
*/
|
|
332
|
-
'uid': string;
|
|
333
|
-
/**
|
|
334
|
-
*
|
|
335
|
-
* @type {string}
|
|
336
|
-
* @memberof FloorDataPasses
|
|
337
|
-
*/
|
|
338
|
-
'name': string;
|
|
339
|
-
/**
|
|
340
|
-
*
|
|
341
|
-
* @type {JsonValue}
|
|
342
|
-
* @memberof FloorDataPasses
|
|
343
|
-
*/
|
|
344
|
-
'display_name': JsonValue | null;
|
|
345
|
-
/**
|
|
346
|
-
*
|
|
347
|
-
* @type {string}
|
|
348
|
-
* @memberof FloorDataPasses
|
|
349
|
-
*/
|
|
350
|
-
'tower_id': string;
|
|
351
|
-
/**
|
|
352
|
-
*
|
|
353
|
-
* @type {string}
|
|
354
|
-
* @memberof FloorDataPasses
|
|
355
|
-
*/
|
|
356
|
-
'created_at': string;
|
|
357
|
-
/**
|
|
358
|
-
*
|
|
359
|
-
* @type {string}
|
|
360
|
-
* @memberof FloorDataPasses
|
|
361
|
-
*/
|
|
362
|
-
'updated_at': string;
|
|
363
|
-
}
|
|
364
315
|
/**
|
|
365
316
|
*
|
|
366
317
|
* @export
|
|
@@ -393,116 +344,6 @@ export interface LocationData {
|
|
|
393
344
|
*/
|
|
394
345
|
'isDefault': boolean;
|
|
395
346
|
}
|
|
396
|
-
/**
|
|
397
|
-
*
|
|
398
|
-
* @export
|
|
399
|
-
* @interface LocationPasses
|
|
400
|
-
*/
|
|
401
|
-
export interface LocationPasses {
|
|
402
|
-
/**
|
|
403
|
-
*
|
|
404
|
-
* @type {string}
|
|
405
|
-
* @memberof LocationPasses
|
|
406
|
-
*/
|
|
407
|
-
'id': string;
|
|
408
|
-
/**
|
|
409
|
-
*
|
|
410
|
-
* @type {string}
|
|
411
|
-
* @memberof LocationPasses
|
|
412
|
-
*/
|
|
413
|
-
'uid': string;
|
|
414
|
-
/**
|
|
415
|
-
*
|
|
416
|
-
* @type {string}
|
|
417
|
-
* @memberof LocationPasses
|
|
418
|
-
*/
|
|
419
|
-
'name': string;
|
|
420
|
-
/**
|
|
421
|
-
*
|
|
422
|
-
* @type {string}
|
|
423
|
-
* @memberof LocationPasses
|
|
424
|
-
*/
|
|
425
|
-
'coordinate': string;
|
|
426
|
-
/**
|
|
427
|
-
*
|
|
428
|
-
* @type {string}
|
|
429
|
-
* @memberof LocationPasses
|
|
430
|
-
*/
|
|
431
|
-
'tower_id': string;
|
|
432
|
-
/**
|
|
433
|
-
*
|
|
434
|
-
* @type {string}
|
|
435
|
-
* @memberof LocationPasses
|
|
436
|
-
*/
|
|
437
|
-
'floor_id': string;
|
|
438
|
-
/**
|
|
439
|
-
*
|
|
440
|
-
* @type {string}
|
|
441
|
-
* @memberof LocationPasses
|
|
442
|
-
*/
|
|
443
|
-
'zone_id': string;
|
|
444
|
-
/**
|
|
445
|
-
*
|
|
446
|
-
* @type {TowerDataPasses}
|
|
447
|
-
* @memberof LocationPasses
|
|
448
|
-
*/
|
|
449
|
-
'tower': TowerDataPasses;
|
|
450
|
-
/**
|
|
451
|
-
*
|
|
452
|
-
* @type {FloorDataPasses}
|
|
453
|
-
* @memberof LocationPasses
|
|
454
|
-
*/
|
|
455
|
-
'floor': FloorDataPasses;
|
|
456
|
-
/**
|
|
457
|
-
*
|
|
458
|
-
* @type {string}
|
|
459
|
-
* @memberof LocationPasses
|
|
460
|
-
*/
|
|
461
|
-
'created_at': string;
|
|
462
|
-
/**
|
|
463
|
-
*
|
|
464
|
-
* @type {string}
|
|
465
|
-
* @memberof LocationPasses
|
|
466
|
-
*/
|
|
467
|
-
'updated_at': string;
|
|
468
|
-
}
|
|
469
|
-
/**
|
|
470
|
-
*
|
|
471
|
-
* @export
|
|
472
|
-
* @interface MembersPasses
|
|
473
|
-
*/
|
|
474
|
-
export interface MembersPasses {
|
|
475
|
-
/**
|
|
476
|
-
*
|
|
477
|
-
* @type {string}
|
|
478
|
-
* @memberof MembersPasses
|
|
479
|
-
*/
|
|
480
|
-
'uid': string;
|
|
481
|
-
/**
|
|
482
|
-
*
|
|
483
|
-
* @type {JsonValue}
|
|
484
|
-
* @memberof MembersPasses
|
|
485
|
-
*/
|
|
486
|
-
'metadata': JsonValue | null;
|
|
487
|
-
/**
|
|
488
|
-
*
|
|
489
|
-
* @type {string}
|
|
490
|
-
* @memberof MembersPasses
|
|
491
|
-
*/
|
|
492
|
-
'account_id': string | null;
|
|
493
|
-
/**
|
|
494
|
-
*
|
|
495
|
-
* @type {string}
|
|
496
|
-
* @memberof MembersPasses
|
|
497
|
-
*/
|
|
498
|
-
'created_at': string;
|
|
499
|
-
/**
|
|
500
|
-
*
|
|
501
|
-
* @type {string}
|
|
502
|
-
* @memberof MembersPasses
|
|
503
|
-
*/
|
|
504
|
-
'updated_at': string;
|
|
505
|
-
}
|
|
506
347
|
/**
|
|
507
348
|
*
|
|
508
349
|
* @export
|
|
@@ -691,102 +532,6 @@ export interface PersonData {
|
|
|
691
532
|
*/
|
|
692
533
|
'status': string;
|
|
693
534
|
}
|
|
694
|
-
/**
|
|
695
|
-
*
|
|
696
|
-
* @export
|
|
697
|
-
* @interface ShowPassResponse
|
|
698
|
-
*/
|
|
699
|
-
export interface ShowPassResponse {
|
|
700
|
-
/**
|
|
701
|
-
*
|
|
702
|
-
* @type {LocationPasses}
|
|
703
|
-
* @memberof ShowPassResponse
|
|
704
|
-
*/
|
|
705
|
-
'location': LocationPasses;
|
|
706
|
-
/**
|
|
707
|
-
*
|
|
708
|
-
* @type {MembersPasses}
|
|
709
|
-
* @memberof ShowPassResponse
|
|
710
|
-
*/
|
|
711
|
-
'issuer': MembersPasses;
|
|
712
|
-
/**
|
|
713
|
-
*
|
|
714
|
-
* @type {VisitorPasses}
|
|
715
|
-
* @memberof ShowPassResponse
|
|
716
|
-
*/
|
|
717
|
-
'visitor': VisitorPasses;
|
|
718
|
-
/**
|
|
719
|
-
*
|
|
720
|
-
* @type {VisitorSchedulePasses}
|
|
721
|
-
* @memberof ShowPassResponse
|
|
722
|
-
*/
|
|
723
|
-
'visitor_schedule': VisitorSchedulePasses;
|
|
724
|
-
/**
|
|
725
|
-
*
|
|
726
|
-
* @type {string}
|
|
727
|
-
* @memberof ShowPassResponse
|
|
728
|
-
*/
|
|
729
|
-
'visit_schedule_id': string;
|
|
730
|
-
/**
|
|
731
|
-
*
|
|
732
|
-
* @type {string}
|
|
733
|
-
* @memberof ShowPassResponse
|
|
734
|
-
*/
|
|
735
|
-
'updated_at': string;
|
|
736
|
-
/**
|
|
737
|
-
*
|
|
738
|
-
* @type {string}
|
|
739
|
-
* @memberof ShowPassResponse
|
|
740
|
-
*/
|
|
741
|
-
'created_at': string;
|
|
742
|
-
/**
|
|
743
|
-
*
|
|
744
|
-
* @type {string}
|
|
745
|
-
* @memberof ShowPassResponse
|
|
746
|
-
*/
|
|
747
|
-
'status': ShowPassResponseStatusEnum;
|
|
748
|
-
/**
|
|
749
|
-
*
|
|
750
|
-
* @type {string}
|
|
751
|
-
* @memberof ShowPassResponse
|
|
752
|
-
*/
|
|
753
|
-
'issuer_id': string;
|
|
754
|
-
/**
|
|
755
|
-
*
|
|
756
|
-
* @type {string}
|
|
757
|
-
* @memberof ShowPassResponse
|
|
758
|
-
*/
|
|
759
|
-
'visitor_id': string;
|
|
760
|
-
/**
|
|
761
|
-
*
|
|
762
|
-
* @type {string}
|
|
763
|
-
* @memberof ShowPassResponse
|
|
764
|
-
*/
|
|
765
|
-
'to': string;
|
|
766
|
-
/**
|
|
767
|
-
*
|
|
768
|
-
* @type {string}
|
|
769
|
-
* @memberof ShowPassResponse
|
|
770
|
-
*/
|
|
771
|
-
'from': string;
|
|
772
|
-
/**
|
|
773
|
-
*
|
|
774
|
-
* @type {string}
|
|
775
|
-
* @memberof ShowPassResponse
|
|
776
|
-
*/
|
|
777
|
-
'uid': string | null;
|
|
778
|
-
/**
|
|
779
|
-
*
|
|
780
|
-
* @type {string}
|
|
781
|
-
* @memberof ShowPassResponse
|
|
782
|
-
*/
|
|
783
|
-
'id': string;
|
|
784
|
-
}
|
|
785
|
-
export declare const ShowPassResponseStatusEnum: {
|
|
786
|
-
readonly Pending: "pending";
|
|
787
|
-
readonly Confirmed: "confirmed";
|
|
788
|
-
};
|
|
789
|
-
export type ShowPassResponseStatusEnum = typeof ShowPassResponseStatusEnum[keyof typeof ShowPassResponseStatusEnum];
|
|
790
535
|
/**
|
|
791
536
|
*
|
|
792
537
|
* @export
|
|
@@ -980,55 +725,6 @@ export interface TowerData {
|
|
|
980
725
|
*/
|
|
981
726
|
'floors': Array<FloorData>;
|
|
982
727
|
}
|
|
983
|
-
/**
|
|
984
|
-
*
|
|
985
|
-
* @export
|
|
986
|
-
* @interface TowerDataPasses
|
|
987
|
-
*/
|
|
988
|
-
export interface TowerDataPasses {
|
|
989
|
-
/**
|
|
990
|
-
*
|
|
991
|
-
* @type {string}
|
|
992
|
-
* @memberof TowerDataPasses
|
|
993
|
-
*/
|
|
994
|
-
'id': string;
|
|
995
|
-
/**
|
|
996
|
-
*
|
|
997
|
-
* @type {string}
|
|
998
|
-
* @memberof TowerDataPasses
|
|
999
|
-
*/
|
|
1000
|
-
'uid': string;
|
|
1001
|
-
/**
|
|
1002
|
-
*
|
|
1003
|
-
* @type {string}
|
|
1004
|
-
* @memberof TowerDataPasses
|
|
1005
|
-
*/
|
|
1006
|
-
'name': string;
|
|
1007
|
-
/**
|
|
1008
|
-
*
|
|
1009
|
-
* @type {JsonValue}
|
|
1010
|
-
* @memberof TowerDataPasses
|
|
1011
|
-
*/
|
|
1012
|
-
'display_name': JsonValue | null;
|
|
1013
|
-
/**
|
|
1014
|
-
*
|
|
1015
|
-
* @type {string}
|
|
1016
|
-
* @memberof TowerDataPasses
|
|
1017
|
-
*/
|
|
1018
|
-
'project_id': string;
|
|
1019
|
-
/**
|
|
1020
|
-
*
|
|
1021
|
-
* @type {string}
|
|
1022
|
-
* @memberof TowerDataPasses
|
|
1023
|
-
*/
|
|
1024
|
-
'created_at': string;
|
|
1025
|
-
/**
|
|
1026
|
-
*
|
|
1027
|
-
* @type {string}
|
|
1028
|
-
* @memberof TowerDataPasses
|
|
1029
|
-
*/
|
|
1030
|
-
'updated_at': string;
|
|
1031
|
-
}
|
|
1032
728
|
/**
|
|
1033
729
|
*
|
|
1034
730
|
* @export
|
|
@@ -1090,61 +786,6 @@ export interface VisitorData {
|
|
|
1090
786
|
*/
|
|
1091
787
|
'id': string;
|
|
1092
788
|
}
|
|
1093
|
-
/**
|
|
1094
|
-
*
|
|
1095
|
-
* @export
|
|
1096
|
-
* @interface VisitorPasses
|
|
1097
|
-
*/
|
|
1098
|
-
export interface VisitorPasses {
|
|
1099
|
-
/**
|
|
1100
|
-
*
|
|
1101
|
-
* @type {string}
|
|
1102
|
-
* @memberof VisitorPasses
|
|
1103
|
-
*/
|
|
1104
|
-
'name': string;
|
|
1105
|
-
/**
|
|
1106
|
-
*
|
|
1107
|
-
* @type {string}
|
|
1108
|
-
* @memberof VisitorPasses
|
|
1109
|
-
*/
|
|
1110
|
-
'profile_image_url': string | null;
|
|
1111
|
-
/**
|
|
1112
|
-
*
|
|
1113
|
-
* @type {string}
|
|
1114
|
-
* @memberof VisitorPasses
|
|
1115
|
-
*/
|
|
1116
|
-
'email': string;
|
|
1117
|
-
/**
|
|
1118
|
-
*
|
|
1119
|
-
* @type {string}
|
|
1120
|
-
* @memberof VisitorPasses
|
|
1121
|
-
*/
|
|
1122
|
-
'company_name': string;
|
|
1123
|
-
/**
|
|
1124
|
-
*
|
|
1125
|
-
* @type {string}
|
|
1126
|
-
* @memberof VisitorPasses
|
|
1127
|
-
*/
|
|
1128
|
-
'reference': string;
|
|
1129
|
-
/**
|
|
1130
|
-
*
|
|
1131
|
-
* @type {string}
|
|
1132
|
-
* @memberof VisitorPasses
|
|
1133
|
-
*/
|
|
1134
|
-
'inviter_id': string;
|
|
1135
|
-
/**
|
|
1136
|
-
*
|
|
1137
|
-
* @type {string}
|
|
1138
|
-
* @memberof VisitorPasses
|
|
1139
|
-
*/
|
|
1140
|
-
'created_at': string;
|
|
1141
|
-
/**
|
|
1142
|
-
*
|
|
1143
|
-
* @type {string}
|
|
1144
|
-
* @memberof VisitorPasses
|
|
1145
|
-
*/
|
|
1146
|
-
'updated_at': string;
|
|
1147
|
-
}
|
|
1148
789
|
/**
|
|
1149
790
|
*
|
|
1150
791
|
* @export
|
|
@@ -1185,58 +826,15 @@ export interface VisitorSchedule {
|
|
|
1185
826
|
/**
|
|
1186
827
|
*
|
|
1187
828
|
* @export
|
|
1188
|
-
* @interface
|
|
829
|
+
* @interface WebhookCreateBody
|
|
1189
830
|
*/
|
|
1190
|
-
export interface
|
|
1191
|
-
/**
|
|
1192
|
-
*
|
|
1193
|
-
* @type {string}
|
|
1194
|
-
* @memberof VisitorSchedulePasses
|
|
1195
|
-
*/
|
|
1196
|
-
'tower_id': string;
|
|
1197
|
-
/**
|
|
1198
|
-
*
|
|
1199
|
-
* @type {string}
|
|
1200
|
-
* @memberof VisitorSchedulePasses
|
|
1201
|
-
*/
|
|
1202
|
-
'floor_id': string;
|
|
1203
|
-
/**
|
|
1204
|
-
*
|
|
1205
|
-
* @type {string}
|
|
1206
|
-
* @memberof VisitorSchedulePasses
|
|
1207
|
-
*/
|
|
1208
|
-
'from': string;
|
|
1209
|
-
/**
|
|
1210
|
-
*
|
|
1211
|
-
* @type {string}
|
|
1212
|
-
* @memberof VisitorSchedulePasses
|
|
1213
|
-
*/
|
|
1214
|
-
'to': string;
|
|
1215
|
-
/**
|
|
1216
|
-
*
|
|
1217
|
-
* @type {object}
|
|
1218
|
-
* @memberof VisitorSchedulePasses
|
|
1219
|
-
*/
|
|
1220
|
-
'repetition'?: object;
|
|
1221
|
-
/**
|
|
1222
|
-
*
|
|
1223
|
-
* @type {string}
|
|
1224
|
-
* @memberof VisitorSchedulePasses
|
|
1225
|
-
*/
|
|
1226
|
-
'created_at': string;
|
|
831
|
+
export interface WebhookCreateBody {
|
|
1227
832
|
/**
|
|
1228
833
|
*
|
|
1229
834
|
* @type {string}
|
|
1230
|
-
* @memberof
|
|
835
|
+
* @memberof WebhookCreateBody
|
|
1231
836
|
*/
|
|
1232
|
-
'
|
|
1233
|
-
}
|
|
1234
|
-
/**
|
|
1235
|
-
*
|
|
1236
|
-
* @export
|
|
1237
|
-
* @interface WebhookCreateBody
|
|
1238
|
-
*/
|
|
1239
|
-
export interface WebhookCreateBody {
|
|
837
|
+
'type': string;
|
|
1240
838
|
/**
|
|
1241
839
|
*
|
|
1242
840
|
* @type {string}
|
|
@@ -1261,6 +859,12 @@ export interface WebhookCreateBody {
|
|
|
1261
859
|
* @memberof WebhookCreateBody
|
|
1262
860
|
*/
|
|
1263
861
|
'floorID': number;
|
|
862
|
+
/**
|
|
863
|
+
*
|
|
864
|
+
* @type {string}
|
|
865
|
+
* @memberof WebhookCreateBody
|
|
866
|
+
*/
|
|
867
|
+
'visitorPassID': string;
|
|
1264
868
|
}
|
|
1265
869
|
/**
|
|
1266
870
|
*
|
|
@@ -1441,19 +1045,6 @@ export declare const WrappedResponseNullDataEnum: {
|
|
|
1441
1045
|
readonly NUMBER_null: null;
|
|
1442
1046
|
};
|
|
1443
1047
|
export type WrappedResponseNullDataEnum = typeof WrappedResponseNullDataEnum[keyof typeof WrappedResponseNullDataEnum];
|
|
1444
|
-
/**
|
|
1445
|
-
*
|
|
1446
|
-
* @export
|
|
1447
|
-
* @interface WrappedResponseShowPassResponseOrNull
|
|
1448
|
-
*/
|
|
1449
|
-
export interface WrappedResponseShowPassResponseOrNull {
|
|
1450
|
-
/**
|
|
1451
|
-
*
|
|
1452
|
-
* @type {Array<ShowPassResponse>}
|
|
1453
|
-
* @memberof WrappedResponseShowPassResponseOrNull
|
|
1454
|
-
*/
|
|
1455
|
-
'data': Array<ShowPassResponse> | null;
|
|
1456
|
-
}
|
|
1457
1048
|
/**
|
|
1458
1049
|
*
|
|
1459
1050
|
* @export
|
|
@@ -1568,13 +1159,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1568
1159
|
* @throws {RequiredError}
|
|
1569
1160
|
*/
|
|
1570
1161
|
membersShow: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1571
|
-
/**
|
|
1572
|
-
*
|
|
1573
|
-
* @param {string} id
|
|
1574
|
-
* @param {*} [options] Override http request option.
|
|
1575
|
-
* @throws {RequiredError}
|
|
1576
|
-
*/
|
|
1577
|
-
passesShow: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1578
1162
|
/**
|
|
1579
1163
|
*
|
|
1580
1164
|
* @param {SyncBody} syncBody
|
|
@@ -1644,13 +1228,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1644
1228
|
* @throws {RequiredError}
|
|
1645
1229
|
*/
|
|
1646
1230
|
membersShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMembersShowResponse>>;
|
|
1647
|
-
/**
|
|
1648
|
-
*
|
|
1649
|
-
* @param {string} id
|
|
1650
|
-
* @param {*} [options] Override http request option.
|
|
1651
|
-
* @throws {RequiredError}
|
|
1652
|
-
*/
|
|
1653
|
-
passesShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowPassResponseOrNull>>;
|
|
1654
1231
|
/**
|
|
1655
1232
|
*
|
|
1656
1233
|
* @param {SyncBody} syncBody
|
|
@@ -1720,13 +1297,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1720
1297
|
* @throws {RequiredError}
|
|
1721
1298
|
*/
|
|
1722
1299
|
membersShow(id: string, options?: any): AxiosPromise<WrappedResponseMembersShowResponse>;
|
|
1723
|
-
/**
|
|
1724
|
-
*
|
|
1725
|
-
* @param {string} id
|
|
1726
|
-
* @param {*} [options] Override http request option.
|
|
1727
|
-
* @throws {RequiredError}
|
|
1728
|
-
*/
|
|
1729
|
-
passesShow(id: string, options?: any): AxiosPromise<WrappedResponseShowPassResponseOrNull>;
|
|
1730
1300
|
/**
|
|
1731
1301
|
*
|
|
1732
1302
|
* @param {SyncBody} syncBody
|
|
@@ -1803,14 +1373,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1803
1373
|
* @memberof DefaultApi
|
|
1804
1374
|
*/
|
|
1805
1375
|
membersShow(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseMembersShowResponse, any>>;
|
|
1806
|
-
/**
|
|
1807
|
-
*
|
|
1808
|
-
* @param {string} id
|
|
1809
|
-
* @param {*} [options] Override http request option.
|
|
1810
|
-
* @throws {RequiredError}
|
|
1811
|
-
* @memberof DefaultApi
|
|
1812
|
-
*/
|
|
1813
|
-
passesShow(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseShowPassResponseOrNull, any>>;
|
|
1814
1376
|
/**
|
|
1815
1377
|
*
|
|
1816
1378
|
* @param {SyncBody} syncBody
|
package/dist/api/api.js
CHANGED
|
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponseNullDataEnum = exports.
|
|
28
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponseNullDataEnum = exports.PassDataStatusEnum = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -36,10 +36,6 @@ exports.PassDataStatusEnum = {
|
|
|
36
36
|
Pending: 'pending',
|
|
37
37
|
Confirmed: 'confirmed'
|
|
38
38
|
};
|
|
39
|
-
exports.ShowPassResponseStatusEnum = {
|
|
40
|
-
Pending: 'pending',
|
|
41
|
-
Confirmed: 'confirmed'
|
|
42
|
-
};
|
|
43
39
|
exports.WrappedResponseNullDataEnum = {
|
|
44
40
|
NUMBER_null: null
|
|
45
41
|
};
|
|
@@ -194,34 +190,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
194
190
|
options: localVarRequestOptions,
|
|
195
191
|
};
|
|
196
192
|
}),
|
|
197
|
-
/**
|
|
198
|
-
*
|
|
199
|
-
* @param {string} id
|
|
200
|
-
* @param {*} [options] Override http request option.
|
|
201
|
-
* @throws {RequiredError}
|
|
202
|
-
*/
|
|
203
|
-
passesShow: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
204
|
-
// verify required parameter 'id' is not null or undefined
|
|
205
|
-
(0, common_1.assertParamExists)('passesShow', 'id', id);
|
|
206
|
-
const localVarPath = `/passes/{id}`
|
|
207
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
208
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
209
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
210
|
-
let baseOptions;
|
|
211
|
-
if (configuration) {
|
|
212
|
-
baseOptions = configuration.baseOptions;
|
|
213
|
-
}
|
|
214
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
215
|
-
const localVarHeaderParameter = {};
|
|
216
|
-
const localVarQueryParameter = {};
|
|
217
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
218
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
219
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
220
|
-
return {
|
|
221
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
222
|
-
options: localVarRequestOptions,
|
|
223
|
-
};
|
|
224
|
-
}),
|
|
225
193
|
/**
|
|
226
194
|
*
|
|
227
195
|
* @param {SyncBody} syncBody
|
|
@@ -406,18 +374,6 @@ const DefaultApiFp = function (configuration) {
|
|
|
406
374
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
407
375
|
});
|
|
408
376
|
},
|
|
409
|
-
/**
|
|
410
|
-
*
|
|
411
|
-
* @param {string} id
|
|
412
|
-
* @param {*} [options] Override http request option.
|
|
413
|
-
* @throws {RequiredError}
|
|
414
|
-
*/
|
|
415
|
-
passesShow(id, options) {
|
|
416
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
417
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.passesShow(id, options);
|
|
418
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
419
|
-
});
|
|
420
|
-
},
|
|
421
377
|
/**
|
|
422
378
|
*
|
|
423
379
|
* @param {SyncBody} syncBody
|
|
@@ -521,15 +477,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
521
477
|
membersShow(id, options) {
|
|
522
478
|
return localVarFp.membersShow(id, options).then((request) => request(axios, basePath));
|
|
523
479
|
},
|
|
524
|
-
/**
|
|
525
|
-
*
|
|
526
|
-
* @param {string} id
|
|
527
|
-
* @param {*} [options] Override http request option.
|
|
528
|
-
* @throws {RequiredError}
|
|
529
|
-
*/
|
|
530
|
-
passesShow(id, options) {
|
|
531
|
-
return localVarFp.passesShow(id, options).then((request) => request(axios, basePath));
|
|
532
|
-
},
|
|
533
480
|
/**
|
|
534
481
|
*
|
|
535
482
|
* @param {SyncBody} syncBody
|
|
@@ -626,16 +573,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
626
573
|
membersShow(id, options) {
|
|
627
574
|
return (0, exports.DefaultApiFp)(this.configuration).membersShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
628
575
|
}
|
|
629
|
-
/**
|
|
630
|
-
*
|
|
631
|
-
* @param {string} id
|
|
632
|
-
* @param {*} [options] Override http request option.
|
|
633
|
-
* @throws {RequiredError}
|
|
634
|
-
* @memberof DefaultApi
|
|
635
|
-
*/
|
|
636
|
-
passesShow(id, options) {
|
|
637
|
-
return (0, exports.DefaultApiFp)(this.configuration).passesShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
638
|
-
}
|
|
639
576
|
/**
|
|
640
577
|
*
|
|
641
578
|
* @param {SyncBody} syncBody
|
package/package.json
CHANGED
package/test.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as OB_BMS_SDK from './dist';
|
|
2
|
-
|
|
3
|
-
// OB_BMS_SDK.setAcessToken('789');
|
|
4
|
-
OB_BMS_SDK.setBaseUrl('http://dev.glorymtel.xyz/ob-bms');
|
|
5
|
-
OB_BMS_SDK.setAcessToken(
|
|
6
|
-
'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJpYXQiOjE2OTg5MzU2ODcsImV4cCI6MTcwMTUyNzY4NywicGVybWlzc2lvbiI6W3siaWQiOiJmY2Q1NDZmYy1lNThmLTQ2MjctOTU5Yy1jNWFlYTljMGQ0ODMiLCJwZXJtaXR0ZWVfdHlwZSI6ImFjY291bnQiLCJ2YWx1ZSI6eyJuYW1lIjoib2ItaWFtOmFjY291bnQiLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJyZWFkIiwidXBkYXRlIiwiZGVsZXRlIl0sInJlc291cmNlX3R5cGUiOiJhY2NvdW50IiwicmVzb3VyY2UiOnsiaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfSx7ImlkIjoiNWY0MDlmYzYtNDRkMi00YzQyLThhOGYtYzFiNTQ1MWZjODZiIiwicGVybWl0dGVlX3R5cGUiOiJhY2NvdW50IiwidmFsdWUiOnsibmFtZSI6Im9iLWlhbTpwcm9maWxlIiwic2VydmljZSI6Im9iLWlhbSIsImFjdGlvbnMiOlsicmVhZCIsInVwZGF0ZSJdLCJyZXNvdXJjZV90eXBlIjoicHJvZmlsZSIsInJlc291cmNlIjp7ImFjY291bnRfaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfSx7ImlkIjoiMDNlM2MxODctOTY3NC00MTdiLThjOGMtNDBmNGE0MjEyMDlkIiwicGVybWl0dGVlX3R5cGUiOiJhY2NvdW50IiwidmFsdWUiOnsibmFtZSI6Im9iLWlhbTppZGVudGl0eSIsInNlcnZpY2UiOiJvYi1pYW0iLCJhY3Rpb25zIjpbIioiXSwicmVzb3VyY2VfdHlwZSI6ImlkZW50aXR5IiwicmVzb3VyY2UiOnsiYWNjb3VudF9pZCI6InNlbGYifX0sImNyZWF0ZWRfYXQiOiIyMDIzLTExLTAyVDA4OjUxOjQyLjc3MVoiLCJ1cGRhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwiZGVsZXRlZF9hdCI6bnVsbCwiYWNjb3VudF9pZCI6IjgyNDI3MDVmLTM1YjUtNGQ3MS04ZTE5LWM1YTQxYWMyZTBhNCIsImFjY291bnRfZ3JvdXBfaWQiOm51bGx9LHsiaWQiOiIzMjU0MTEyNi00Nzc2LTQ0NzYtOTc5MS1mYjZhNjA2ZWUxNDIiLCJwZXJtaXR0ZWVfdHlwZSI6ImFjY291bnQiLCJ2YWx1ZSI6eyJuYW1lIjoib2ItaWFtOnNldHRpbmciLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJ1cGRhdGUiXSwicmVzb3VyY2VfdHlwZSI6InNldHRpbmciLCJyZXNvdXJjZSI6eyJhY2NvdW50X2lkIjoic2VsZiJ9fSwiY3JlYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsInVwZGF0ZWRfYXQiOiIyMDIzLTExLTAyVDA4OjUxOjQyLjc3MVoiLCJkZWxldGVkX2F0IjpudWxsLCJhY2NvdW50X2lkIjoiODI0MjcwNWYtMzViNS00ZDcxLThlMTktYzVhNDFhYzJlMGE0IiwiYWNjb3VudF9ncm91cF9pZCI6bnVsbH0seyJpZCI6ImZjYzE3MTY4LWRmNTQtNDIyMy04MzYxLTY4NTlkZmNmMzU2NSIsInBlcm1pdHRlZV90eXBlIjoiYWNjb3VudCIsInZhbHVlIjp7Im5hbWUiOiJvYi1pYW06dG9rZW4iLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJjcmVhdGUiLCJyZWFkIl0sInJlc291cmNlX3R5cGUiOiJ0b2tlbiIsInJlc291cmNlIjp7ImFjY291bnRfaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfV19.tfqYJop4iJNlIbBVztf7DFfVhaYAFnUGDhLjik2OGA4',
|
|
7
|
-
);
|
|
8
|
-
(async () => {
|
|
9
|
-
try {
|
|
10
|
-
const res = await OB_BMS_SDK.client.membersIndex('t.shin@pjoe.com', {});
|
|
11
|
-
console.dir(res.data, { depth: null });
|
|
12
|
-
} catch (err) {
|
|
13
|
-
console.log(err);
|
|
14
|
-
}
|
|
15
|
-
})();
|