ob-bms-sdk 0.0.21 → 0.0.22
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 +487 -0
- package/dist/api/api.d.ts +450 -0
- package/dist/api/api.js +64 -1
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -314,6 +314,55 @@ 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
|
+
}
|
|
317
366
|
/**
|
|
318
367
|
*
|
|
319
368
|
* @export
|
|
@@ -346,6 +395,116 @@ export interface LocationData {
|
|
|
346
395
|
*/
|
|
347
396
|
'isDefault': boolean;
|
|
348
397
|
}
|
|
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
|
+
}
|
|
349
508
|
/**
|
|
350
509
|
*
|
|
351
510
|
* @export
|
|
@@ -537,6 +696,105 @@ export interface PersonData {
|
|
|
537
696
|
*/
|
|
538
697
|
'status': string;
|
|
539
698
|
}
|
|
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
|
+
|
|
540
798
|
/**
|
|
541
799
|
*
|
|
542
800
|
* @export
|
|
@@ -730,6 +988,55 @@ export interface TowerData {
|
|
|
730
988
|
*/
|
|
731
989
|
'floors': Array<FloorData>;
|
|
732
990
|
}
|
|
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
|
+
}
|
|
733
1040
|
/**
|
|
734
1041
|
*
|
|
735
1042
|
* @export
|
|
@@ -791,6 +1098,61 @@ export interface VisitorData {
|
|
|
791
1098
|
*/
|
|
792
1099
|
'id': string;
|
|
793
1100
|
}
|
|
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
|
+
}
|
|
794
1156
|
/**
|
|
795
1157
|
*
|
|
796
1158
|
* @export
|
|
@@ -828,6 +1190,55 @@ export interface VisitorSchedule {
|
|
|
828
1190
|
*/
|
|
829
1191
|
'repetition'?: object;
|
|
830
1192
|
}
|
|
1193
|
+
/**
|
|
1194
|
+
*
|
|
1195
|
+
* @export
|
|
1196
|
+
* @interface VisitorSchedulePasses
|
|
1197
|
+
*/
|
|
1198
|
+
export interface VisitorSchedulePasses {
|
|
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;
|
|
1235
|
+
/**
|
|
1236
|
+
*
|
|
1237
|
+
* @type {string}
|
|
1238
|
+
* @memberof VisitorSchedulePasses
|
|
1239
|
+
*/
|
|
1240
|
+
'updated_at': string;
|
|
1241
|
+
}
|
|
831
1242
|
/**
|
|
832
1243
|
*
|
|
833
1244
|
* @export
|
|
@@ -1041,6 +1452,19 @@ export const WrappedResponseNullDataEnum = {
|
|
|
1041
1452
|
|
|
1042
1453
|
export type WrappedResponseNullDataEnum = typeof WrappedResponseNullDataEnum[keyof typeof WrappedResponseNullDataEnum];
|
|
1043
1454
|
|
|
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
|
+
}
|
|
1044
1468
|
/**
|
|
1045
1469
|
*
|
|
1046
1470
|
* @export
|
|
@@ -1287,6 +1711,39 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1287
1711
|
|
|
1288
1712
|
|
|
1289
1713
|
|
|
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
|
+
|
|
1290
1747
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1291
1748
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1292
1749
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1492,6 +1949,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
1492
1949
|
const localVarAxiosArgs = await localVarAxiosParamCreator.membersShow(id, options);
|
|
1493
1950
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1494
1951
|
},
|
|
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
|
+
},
|
|
1495
1962
|
/**
|
|
1496
1963
|
*
|
|
1497
1964
|
* @param {SyncBody} syncBody
|
|
@@ -1587,6 +2054,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
1587
2054
|
membersShow(id: string, options?: any): AxiosPromise<WrappedResponseMembersShowResponse> {
|
|
1588
2055
|
return localVarFp.membersShow(id, options).then((request) => request(axios, basePath));
|
|
1589
2056
|
},
|
|
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
|
+
},
|
|
1590
2066
|
/**
|
|
1591
2067
|
*
|
|
1592
2068
|
* @param {SyncBody} syncBody
|
|
@@ -1688,6 +2164,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
1688
2164
|
return DefaultApiFp(this.configuration).membersShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
1689
2165
|
}
|
|
1690
2166
|
|
|
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
|
+
|
|
1691
2178
|
/**
|
|
1692
2179
|
*
|
|
1693
2180
|
* @param {SyncBody} syncBody
|
package/dist/api/api.d.ts
CHANGED
|
@@ -312,6 +312,55 @@ 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
|
+
}
|
|
315
364
|
/**
|
|
316
365
|
*
|
|
317
366
|
* @export
|
|
@@ -344,6 +393,116 @@ export interface LocationData {
|
|
|
344
393
|
*/
|
|
345
394
|
'isDefault': boolean;
|
|
346
395
|
}
|
|
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
|
+
}
|
|
347
506
|
/**
|
|
348
507
|
*
|
|
349
508
|
* @export
|
|
@@ -532,6 +691,102 @@ export interface PersonData {
|
|
|
532
691
|
*/
|
|
533
692
|
'status': string;
|
|
534
693
|
}
|
|
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];
|
|
535
790
|
/**
|
|
536
791
|
*
|
|
537
792
|
* @export
|
|
@@ -725,6 +980,55 @@ export interface TowerData {
|
|
|
725
980
|
*/
|
|
726
981
|
'floors': Array<FloorData>;
|
|
727
982
|
}
|
|
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
|
+
}
|
|
728
1032
|
/**
|
|
729
1033
|
*
|
|
730
1034
|
* @export
|
|
@@ -786,6 +1090,61 @@ export interface VisitorData {
|
|
|
786
1090
|
*/
|
|
787
1091
|
'id': string;
|
|
788
1092
|
}
|
|
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
|
+
}
|
|
789
1148
|
/**
|
|
790
1149
|
*
|
|
791
1150
|
* @export
|
|
@@ -823,6 +1182,55 @@ export interface VisitorSchedule {
|
|
|
823
1182
|
*/
|
|
824
1183
|
'repetition'?: object;
|
|
825
1184
|
}
|
|
1185
|
+
/**
|
|
1186
|
+
*
|
|
1187
|
+
* @export
|
|
1188
|
+
* @interface VisitorSchedulePasses
|
|
1189
|
+
*/
|
|
1190
|
+
export interface VisitorSchedulePasses {
|
|
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;
|
|
1227
|
+
/**
|
|
1228
|
+
*
|
|
1229
|
+
* @type {string}
|
|
1230
|
+
* @memberof VisitorSchedulePasses
|
|
1231
|
+
*/
|
|
1232
|
+
'updated_at': string;
|
|
1233
|
+
}
|
|
826
1234
|
/**
|
|
827
1235
|
*
|
|
828
1236
|
* @export
|
|
@@ -1033,6 +1441,19 @@ export declare const WrappedResponseNullDataEnum: {
|
|
|
1033
1441
|
readonly NUMBER_null: null;
|
|
1034
1442
|
};
|
|
1035
1443
|
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
|
+
}
|
|
1036
1457
|
/**
|
|
1037
1458
|
*
|
|
1038
1459
|
* @export
|
|
@@ -1147,6 +1568,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1147
1568
|
* @throws {RequiredError}
|
|
1148
1569
|
*/
|
|
1149
1570
|
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>;
|
|
1150
1578
|
/**
|
|
1151
1579
|
*
|
|
1152
1580
|
* @param {SyncBody} syncBody
|
|
@@ -1216,6 +1644,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1216
1644
|
* @throws {RequiredError}
|
|
1217
1645
|
*/
|
|
1218
1646
|
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>>;
|
|
1219
1654
|
/**
|
|
1220
1655
|
*
|
|
1221
1656
|
* @param {SyncBody} syncBody
|
|
@@ -1285,6 +1720,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1285
1720
|
* @throws {RequiredError}
|
|
1286
1721
|
*/
|
|
1287
1722
|
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>;
|
|
1288
1730
|
/**
|
|
1289
1731
|
*
|
|
1290
1732
|
* @param {SyncBody} syncBody
|
|
@@ -1361,6 +1803,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1361
1803
|
* @memberof DefaultApi
|
|
1362
1804
|
*/
|
|
1363
1805
|
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>>;
|
|
1364
1814
|
/**
|
|
1365
1815
|
*
|
|
1366
1816
|
* @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.PassDataStatusEnum = void 0;
|
|
28
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponseNullDataEnum = exports.ShowPassResponseStatusEnum = 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,6 +36,10 @@ exports.PassDataStatusEnum = {
|
|
|
36
36
|
Pending: 'pending',
|
|
37
37
|
Confirmed: 'confirmed'
|
|
38
38
|
};
|
|
39
|
+
exports.ShowPassResponseStatusEnum = {
|
|
40
|
+
Pending: 'pending',
|
|
41
|
+
Confirmed: 'confirmed'
|
|
42
|
+
};
|
|
39
43
|
exports.WrappedResponseNullDataEnum = {
|
|
40
44
|
NUMBER_null: null
|
|
41
45
|
};
|
|
@@ -190,6 +194,34 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
190
194
|
options: localVarRequestOptions,
|
|
191
195
|
};
|
|
192
196
|
}),
|
|
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
|
+
}),
|
|
193
225
|
/**
|
|
194
226
|
*
|
|
195
227
|
* @param {SyncBody} syncBody
|
|
@@ -374,6 +406,18 @@ const DefaultApiFp = function (configuration) {
|
|
|
374
406
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
375
407
|
});
|
|
376
408
|
},
|
|
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
|
+
},
|
|
377
421
|
/**
|
|
378
422
|
*
|
|
379
423
|
* @param {SyncBody} syncBody
|
|
@@ -477,6 +521,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
477
521
|
membersShow(id, options) {
|
|
478
522
|
return localVarFp.membersShow(id, options).then((request) => request(axios, basePath));
|
|
479
523
|
},
|
|
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
|
+
},
|
|
480
533
|
/**
|
|
481
534
|
*
|
|
482
535
|
* @param {SyncBody} syncBody
|
|
@@ -573,6 +626,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
573
626
|
membersShow(id, options) {
|
|
574
627
|
return (0, exports.DefaultApiFp)(this.configuration).membersShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
575
628
|
}
|
|
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
|
+
}
|
|
576
639
|
/**
|
|
577
640
|
*
|
|
578
641
|
* @param {SyncBody} syncBody
|