ob-bms-sdk 0.0.19 → 0.0.21
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 +363 -294
- package/dist/api/api.d.ts +334 -268
- package/dist/api/api.js +51 -47
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -238,7 +238,7 @@ export interface FindMemberResult {
|
|
|
238
238
|
* @type {string}
|
|
239
239
|
* @memberof FindMemberResult
|
|
240
240
|
*/
|
|
241
|
-
'account_id'?: string;
|
|
241
|
+
'account_id'?: string | null;
|
|
242
242
|
/**
|
|
243
243
|
*
|
|
244
244
|
* @type {JsonValue}
|
|
@@ -268,365 +268,274 @@ export interface FindMemberResultCreatedAt {
|
|
|
268
268
|
/**
|
|
269
269
|
*
|
|
270
270
|
* @export
|
|
271
|
-
* @interface
|
|
271
|
+
* @interface FloorData
|
|
272
272
|
*/
|
|
273
|
-
export interface
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
*
|
|
277
|
-
* @export
|
|
278
|
-
* @interface LocationData
|
|
279
|
-
*/
|
|
280
|
-
export interface LocationData {
|
|
281
|
-
/**
|
|
282
|
-
*
|
|
283
|
-
* @type {number}
|
|
284
|
-
* @memberof LocationData
|
|
285
|
-
*/
|
|
286
|
-
'locationID': number;
|
|
273
|
+
export interface FloorData {
|
|
287
274
|
/**
|
|
288
275
|
*
|
|
289
276
|
* @type {string}
|
|
290
|
-
* @memberof
|
|
277
|
+
* @memberof FloorData
|
|
291
278
|
*/
|
|
292
|
-
'
|
|
293
|
-
/**
|
|
294
|
-
*
|
|
295
|
-
* @type {boolean}
|
|
296
|
-
* @memberof LocationData
|
|
297
|
-
*/
|
|
298
|
-
'isDefault': boolean;
|
|
299
|
-
}
|
|
300
|
-
/**
|
|
301
|
-
*
|
|
302
|
-
* @export
|
|
303
|
-
* @interface PersonData
|
|
304
|
-
*/
|
|
305
|
-
export interface PersonData {
|
|
279
|
+
'id': string;
|
|
306
280
|
/**
|
|
307
281
|
*
|
|
308
282
|
* @type {string}
|
|
309
|
-
* @memberof
|
|
283
|
+
* @memberof FloorData
|
|
310
284
|
*/
|
|
311
|
-
'
|
|
312
|
-
/**
|
|
313
|
-
*
|
|
314
|
-
* @type {Array<number>}
|
|
315
|
-
* @memberof PersonData
|
|
316
|
-
*/
|
|
317
|
-
'tenantIDs': Array<number>;
|
|
318
|
-
/**
|
|
319
|
-
*
|
|
320
|
-
* @type {Array<string>}
|
|
321
|
-
* @memberof PersonData
|
|
322
|
-
*/
|
|
323
|
-
'phones': Array<string>;
|
|
285
|
+
'uid': string;
|
|
324
286
|
/**
|
|
325
287
|
*
|
|
326
|
-
* @type {
|
|
327
|
-
* @memberof
|
|
288
|
+
* @type {string}
|
|
289
|
+
* @memberof FloorData
|
|
328
290
|
*/
|
|
329
|
-
'
|
|
291
|
+
'name': string;
|
|
330
292
|
/**
|
|
331
293
|
*
|
|
332
|
-
* @type {
|
|
333
|
-
* @memberof
|
|
294
|
+
* @type {JsonValue}
|
|
295
|
+
* @memberof FloorData
|
|
334
296
|
*/
|
|
335
|
-
'
|
|
297
|
+
'display_name': JsonValue | null;
|
|
336
298
|
/**
|
|
337
299
|
*
|
|
338
300
|
* @type {string}
|
|
339
|
-
* @memberof
|
|
301
|
+
* @memberof FloorData
|
|
340
302
|
*/
|
|
341
|
-
'
|
|
303
|
+
'tower_id': string;
|
|
342
304
|
/**
|
|
343
305
|
*
|
|
344
|
-
* @type {
|
|
345
|
-
* @memberof
|
|
306
|
+
* @type {string}
|
|
307
|
+
* @memberof FloorData
|
|
346
308
|
*/
|
|
347
|
-
'
|
|
309
|
+
'created_at': string;
|
|
348
310
|
/**
|
|
349
311
|
*
|
|
350
312
|
* @type {string}
|
|
351
|
-
* @memberof
|
|
313
|
+
* @memberof FloorData
|
|
352
314
|
*/
|
|
353
|
-
'
|
|
315
|
+
'updated_at': string;
|
|
354
316
|
}
|
|
355
317
|
/**
|
|
356
|
-
*
|
|
318
|
+
*
|
|
357
319
|
* @export
|
|
358
|
-
* @interface
|
|
320
|
+
* @interface JsonValue
|
|
359
321
|
*/
|
|
360
|
-
export interface
|
|
322
|
+
export interface JsonValue {
|
|
361
323
|
}
|
|
362
324
|
/**
|
|
363
325
|
*
|
|
364
326
|
* @export
|
|
365
|
-
* @interface
|
|
327
|
+
* @interface LocationData
|
|
366
328
|
*/
|
|
367
|
-
export interface
|
|
368
|
-
/**
|
|
369
|
-
*
|
|
370
|
-
* @type {string}
|
|
371
|
-
* @memberof ShowMemberPass
|
|
372
|
-
*/
|
|
373
|
-
'id': string;
|
|
374
|
-
/**
|
|
375
|
-
*
|
|
376
|
-
* @type {string}
|
|
377
|
-
* @memberof ShowMemberPass
|
|
378
|
-
*/
|
|
379
|
-
'uid': string | null;
|
|
380
|
-
/**
|
|
381
|
-
*
|
|
382
|
-
* @type {string}
|
|
383
|
-
* @memberof ShowMemberPass
|
|
384
|
-
*/
|
|
385
|
-
'status': string;
|
|
386
|
-
/**
|
|
387
|
-
*
|
|
388
|
-
* @type {string}
|
|
389
|
-
* @memberof ShowMemberPass
|
|
390
|
-
*/
|
|
391
|
-
'from': string;
|
|
392
|
-
/**
|
|
393
|
-
*
|
|
394
|
-
* @type {string}
|
|
395
|
-
* @memberof ShowMemberPass
|
|
396
|
-
*/
|
|
397
|
-
'to': string;
|
|
329
|
+
export interface LocationData {
|
|
398
330
|
/**
|
|
399
331
|
*
|
|
400
|
-
* @type {
|
|
401
|
-
* @memberof
|
|
332
|
+
* @type {number}
|
|
333
|
+
* @memberof LocationData
|
|
402
334
|
*/
|
|
403
|
-
'
|
|
335
|
+
'locationID': number;
|
|
404
336
|
/**
|
|
405
337
|
*
|
|
406
338
|
* @type {string}
|
|
407
|
-
* @memberof
|
|
339
|
+
* @memberof LocationData
|
|
408
340
|
*/
|
|
409
|
-
'
|
|
341
|
+
'locationName': string;
|
|
410
342
|
/**
|
|
411
343
|
*
|
|
412
|
-
* @type {
|
|
413
|
-
* @memberof
|
|
344
|
+
* @type {boolean}
|
|
345
|
+
* @memberof LocationData
|
|
414
346
|
*/
|
|
415
|
-
'
|
|
347
|
+
'isDefault': boolean;
|
|
416
348
|
}
|
|
417
349
|
/**
|
|
418
350
|
*
|
|
419
351
|
* @export
|
|
420
|
-
* @interface
|
|
352
|
+
* @interface MembersShowResponse
|
|
421
353
|
*/
|
|
422
|
-
export interface
|
|
354
|
+
export interface MembersShowResponse {
|
|
423
355
|
/**
|
|
424
356
|
*
|
|
425
357
|
* @type {string}
|
|
426
|
-
* @memberof
|
|
358
|
+
* @memberof MembersShowResponse
|
|
427
359
|
*/
|
|
428
|
-
'
|
|
429
|
-
/**
|
|
430
|
-
*
|
|
431
|
-
* @type {string}
|
|
432
|
-
* @memberof ShowMemberPassVisitor
|
|
433
|
-
*/
|
|
434
|
-
'updated_at': string;
|
|
360
|
+
'id': string;
|
|
435
361
|
/**
|
|
436
362
|
*
|
|
437
363
|
* @type {string}
|
|
438
|
-
* @memberof
|
|
364
|
+
* @memberof MembersShowResponse
|
|
439
365
|
*/
|
|
440
|
-
'
|
|
366
|
+
'uid': string;
|
|
441
367
|
/**
|
|
442
368
|
*
|
|
443
|
-
* @type {
|
|
444
|
-
* @memberof
|
|
369
|
+
* @type {JsonValue}
|
|
370
|
+
* @memberof MembersShowResponse
|
|
445
371
|
*/
|
|
446
|
-
'
|
|
372
|
+
'metadata': JsonValue | null;
|
|
447
373
|
/**
|
|
448
374
|
*
|
|
449
375
|
* @type {string}
|
|
450
|
-
* @memberof
|
|
376
|
+
* @memberof MembersShowResponse
|
|
451
377
|
*/
|
|
452
|
-
'
|
|
378
|
+
'account_id': string | null;
|
|
453
379
|
/**
|
|
454
380
|
*
|
|
455
381
|
* @type {string}
|
|
456
|
-
* @memberof
|
|
382
|
+
* @memberof MembersShowResponse
|
|
457
383
|
*/
|
|
458
|
-
'
|
|
384
|
+
'created_at': string;
|
|
459
385
|
/**
|
|
460
386
|
*
|
|
461
387
|
* @type {string}
|
|
462
|
-
* @memberof
|
|
388
|
+
* @memberof MembersShowResponse
|
|
463
389
|
*/
|
|
464
|
-
'
|
|
390
|
+
'updated_at': string;
|
|
465
391
|
/**
|
|
466
392
|
*
|
|
467
|
-
* @type {
|
|
468
|
-
* @memberof
|
|
393
|
+
* @type {Array<PassData>}
|
|
394
|
+
* @memberof MembersShowResponse
|
|
469
395
|
*/
|
|
470
|
-
'
|
|
396
|
+
'passes': Array<PassData>;
|
|
471
397
|
/**
|
|
472
398
|
*
|
|
473
|
-
* @type {
|
|
474
|
-
* @memberof
|
|
399
|
+
* @type {Array<TowerData>}
|
|
400
|
+
* @memberof MembersShowResponse
|
|
475
401
|
*/
|
|
476
|
-
'
|
|
402
|
+
'towers': Array<TowerData>;
|
|
477
403
|
}
|
|
478
404
|
/**
|
|
479
405
|
*
|
|
480
406
|
* @export
|
|
481
|
-
* @interface
|
|
407
|
+
* @interface PassData
|
|
482
408
|
*/
|
|
483
|
-
export interface
|
|
409
|
+
export interface PassData {
|
|
484
410
|
/**
|
|
485
411
|
*
|
|
486
|
-
* @type {
|
|
487
|
-
* @memberof
|
|
412
|
+
* @type {VisitorData}
|
|
413
|
+
* @memberof PassData
|
|
488
414
|
*/
|
|
489
|
-
'
|
|
415
|
+
'visitor': VisitorData;
|
|
490
416
|
/**
|
|
491
417
|
*
|
|
492
418
|
* @type {string}
|
|
493
|
-
* @memberof
|
|
419
|
+
* @memberof PassData
|
|
494
420
|
*/
|
|
495
|
-
'
|
|
496
|
-
/**
|
|
497
|
-
*
|
|
498
|
-
* @type {PrismaJsonValue}
|
|
499
|
-
* @memberof ShowMemberResult
|
|
500
|
-
*/
|
|
501
|
-
'metadata': PrismaJsonValue | null;
|
|
502
|
-
/**
|
|
503
|
-
*
|
|
504
|
-
* @type {Array<ShowMemberTower>}
|
|
505
|
-
* @memberof ShowMemberResult
|
|
506
|
-
*/
|
|
507
|
-
'towers': Array<ShowMemberTower>;
|
|
508
|
-
/**
|
|
509
|
-
*
|
|
510
|
-
* @type {Array<ShowMemberPass>}
|
|
511
|
-
* @memberof ShowMemberResult
|
|
512
|
-
*/
|
|
513
|
-
'passes': Array<ShowMemberPass>;
|
|
421
|
+
'updated_at': string;
|
|
514
422
|
/**
|
|
515
423
|
*
|
|
516
424
|
* @type {string}
|
|
517
|
-
* @memberof
|
|
425
|
+
* @memberof PassData
|
|
518
426
|
*/
|
|
519
427
|
'created_at': string;
|
|
520
428
|
/**
|
|
521
429
|
*
|
|
522
430
|
* @type {string}
|
|
523
|
-
* @memberof
|
|
431
|
+
* @memberof PassData
|
|
524
432
|
*/
|
|
525
|
-
'
|
|
526
|
-
}
|
|
527
|
-
/**
|
|
528
|
-
*
|
|
529
|
-
* @export
|
|
530
|
-
* @interface ShowMemberTower
|
|
531
|
-
*/
|
|
532
|
-
export interface ShowMemberTower {
|
|
433
|
+
'status': PassDataStatusEnum;
|
|
533
434
|
/**
|
|
534
435
|
*
|
|
535
436
|
* @type {string}
|
|
536
|
-
* @memberof
|
|
437
|
+
* @memberof PassData
|
|
537
438
|
*/
|
|
538
|
-
'
|
|
439
|
+
'issuer_id': string;
|
|
539
440
|
/**
|
|
540
441
|
*
|
|
541
442
|
* @type {string}
|
|
542
|
-
* @memberof
|
|
443
|
+
* @memberof PassData
|
|
543
444
|
*/
|
|
544
|
-
'
|
|
445
|
+
'visit_schedule_id': string;
|
|
545
446
|
/**
|
|
546
447
|
*
|
|
547
448
|
* @type {string}
|
|
548
|
-
* @memberof
|
|
549
|
-
*/
|
|
550
|
-
'name': string;
|
|
551
|
-
/**
|
|
552
|
-
*
|
|
553
|
-
* @type {PrismaJsonValue}
|
|
554
|
-
* @memberof ShowMemberTower
|
|
449
|
+
* @memberof PassData
|
|
555
450
|
*/
|
|
556
|
-
'
|
|
451
|
+
'visitor_id': string;
|
|
557
452
|
/**
|
|
558
453
|
*
|
|
559
454
|
* @type {string}
|
|
560
|
-
* @memberof
|
|
455
|
+
* @memberof PassData
|
|
561
456
|
*/
|
|
562
|
-
'
|
|
457
|
+
'to': string;
|
|
563
458
|
/**
|
|
564
459
|
*
|
|
565
|
-
* @type {
|
|
566
|
-
* @memberof
|
|
460
|
+
* @type {string}
|
|
461
|
+
* @memberof PassData
|
|
567
462
|
*/
|
|
568
|
-
'
|
|
463
|
+
'from': string;
|
|
569
464
|
/**
|
|
570
465
|
*
|
|
571
466
|
* @type {string}
|
|
572
|
-
* @memberof
|
|
467
|
+
* @memberof PassData
|
|
573
468
|
*/
|
|
574
|
-
'
|
|
469
|
+
'uid': string | null;
|
|
575
470
|
/**
|
|
576
471
|
*
|
|
577
472
|
* @type {string}
|
|
578
|
-
* @memberof
|
|
473
|
+
* @memberof PassData
|
|
579
474
|
*/
|
|
580
|
-
'
|
|
475
|
+
'id': string;
|
|
581
476
|
}
|
|
477
|
+
|
|
478
|
+
export const PassDataStatusEnum = {
|
|
479
|
+
Pending: 'pending',
|
|
480
|
+
Confirmed: 'confirmed'
|
|
481
|
+
} as const;
|
|
482
|
+
|
|
483
|
+
export type PassDataStatusEnum = typeof PassDataStatusEnum[keyof typeof PassDataStatusEnum];
|
|
484
|
+
|
|
582
485
|
/**
|
|
583
486
|
*
|
|
584
487
|
* @export
|
|
585
|
-
* @interface
|
|
488
|
+
* @interface PersonData
|
|
586
489
|
*/
|
|
587
|
-
export interface
|
|
490
|
+
export interface PersonData {
|
|
588
491
|
/**
|
|
589
492
|
*
|
|
590
493
|
* @type {string}
|
|
591
|
-
* @memberof
|
|
494
|
+
* @memberof PersonData
|
|
592
495
|
*/
|
|
593
|
-
'
|
|
496
|
+
'personID': string;
|
|
594
497
|
/**
|
|
595
498
|
*
|
|
596
|
-
* @type {
|
|
597
|
-
* @memberof
|
|
499
|
+
* @type {Array<number>}
|
|
500
|
+
* @memberof PersonData
|
|
598
501
|
*/
|
|
599
|
-
'
|
|
502
|
+
'tenantIDs': Array<number>;
|
|
600
503
|
/**
|
|
601
504
|
*
|
|
602
|
-
* @type {string}
|
|
603
|
-
* @memberof
|
|
505
|
+
* @type {Array<string>}
|
|
506
|
+
* @memberof PersonData
|
|
604
507
|
*/
|
|
605
|
-
'
|
|
508
|
+
'phones': Array<string>;
|
|
606
509
|
/**
|
|
607
510
|
*
|
|
608
|
-
* @type {
|
|
609
|
-
* @memberof
|
|
511
|
+
* @type {Array<string>}
|
|
512
|
+
* @memberof PersonData
|
|
610
513
|
*/
|
|
611
|
-
'
|
|
514
|
+
'emails': Array<string>;
|
|
612
515
|
/**
|
|
613
516
|
*
|
|
614
|
-
* @type {
|
|
615
|
-
* @memberof
|
|
517
|
+
* @type {Array<LocationData>}
|
|
518
|
+
* @memberof PersonData
|
|
616
519
|
*/
|
|
617
|
-
'
|
|
520
|
+
'locations': Array<LocationData>;
|
|
618
521
|
/**
|
|
619
522
|
*
|
|
620
523
|
* @type {string}
|
|
621
|
-
* @memberof
|
|
524
|
+
* @memberof PersonData
|
|
622
525
|
*/
|
|
623
|
-
'
|
|
526
|
+
'updateTime': string;
|
|
527
|
+
/**
|
|
528
|
+
*
|
|
529
|
+
* @type {boolean}
|
|
530
|
+
* @memberof PersonData
|
|
531
|
+
*/
|
|
532
|
+
'active': boolean;
|
|
624
533
|
/**
|
|
625
534
|
*
|
|
626
535
|
* @type {string}
|
|
627
|
-
* @memberof
|
|
536
|
+
* @memberof PersonData
|
|
628
537
|
*/
|
|
629
|
-
'
|
|
538
|
+
'status': string;
|
|
630
539
|
}
|
|
631
540
|
/**
|
|
632
541
|
*
|
|
@@ -766,6 +675,122 @@ export interface SyncResultSyncJobErrorInner {
|
|
|
766
675
|
*/
|
|
767
676
|
'type': string;
|
|
768
677
|
}
|
|
678
|
+
/**
|
|
679
|
+
*
|
|
680
|
+
* @export
|
|
681
|
+
* @interface TowerData
|
|
682
|
+
*/
|
|
683
|
+
export interface TowerData {
|
|
684
|
+
/**
|
|
685
|
+
*
|
|
686
|
+
* @type {string}
|
|
687
|
+
* @memberof TowerData
|
|
688
|
+
*/
|
|
689
|
+
'id': string;
|
|
690
|
+
/**
|
|
691
|
+
*
|
|
692
|
+
* @type {string}
|
|
693
|
+
* @memberof TowerData
|
|
694
|
+
*/
|
|
695
|
+
'uid': string;
|
|
696
|
+
/**
|
|
697
|
+
*
|
|
698
|
+
* @type {string}
|
|
699
|
+
* @memberof TowerData
|
|
700
|
+
*/
|
|
701
|
+
'name': string;
|
|
702
|
+
/**
|
|
703
|
+
*
|
|
704
|
+
* @type {JsonValue}
|
|
705
|
+
* @memberof TowerData
|
|
706
|
+
*/
|
|
707
|
+
'display_name': JsonValue | null;
|
|
708
|
+
/**
|
|
709
|
+
*
|
|
710
|
+
* @type {string}
|
|
711
|
+
* @memberof TowerData
|
|
712
|
+
*/
|
|
713
|
+
'project_id': string;
|
|
714
|
+
/**
|
|
715
|
+
*
|
|
716
|
+
* @type {string}
|
|
717
|
+
* @memberof TowerData
|
|
718
|
+
*/
|
|
719
|
+
'created_at': string;
|
|
720
|
+
/**
|
|
721
|
+
*
|
|
722
|
+
* @type {string}
|
|
723
|
+
* @memberof TowerData
|
|
724
|
+
*/
|
|
725
|
+
'updated_at': string;
|
|
726
|
+
/**
|
|
727
|
+
*
|
|
728
|
+
* @type {Array<FloorData>}
|
|
729
|
+
* @memberof TowerData
|
|
730
|
+
*/
|
|
731
|
+
'floors': Array<FloorData>;
|
|
732
|
+
}
|
|
733
|
+
/**
|
|
734
|
+
*
|
|
735
|
+
* @export
|
|
736
|
+
* @interface VisitorData
|
|
737
|
+
*/
|
|
738
|
+
export interface VisitorData {
|
|
739
|
+
/**
|
|
740
|
+
*
|
|
741
|
+
* @type {string}
|
|
742
|
+
* @memberof VisitorData
|
|
743
|
+
*/
|
|
744
|
+
'updated_at': string;
|
|
745
|
+
/**
|
|
746
|
+
*
|
|
747
|
+
* @type {string}
|
|
748
|
+
* @memberof VisitorData
|
|
749
|
+
*/
|
|
750
|
+
'created_at': string;
|
|
751
|
+
/**
|
|
752
|
+
*
|
|
753
|
+
* @type {string}
|
|
754
|
+
* @memberof VisitorData
|
|
755
|
+
*/
|
|
756
|
+
'inviter_id': string;
|
|
757
|
+
/**
|
|
758
|
+
*
|
|
759
|
+
* @type {string}
|
|
760
|
+
* @memberof VisitorData
|
|
761
|
+
*/
|
|
762
|
+
'reference': string;
|
|
763
|
+
/**
|
|
764
|
+
*
|
|
765
|
+
* @type {string}
|
|
766
|
+
* @memberof VisitorData
|
|
767
|
+
*/
|
|
768
|
+
'company_name': string;
|
|
769
|
+
/**
|
|
770
|
+
*
|
|
771
|
+
* @type {string}
|
|
772
|
+
* @memberof VisitorData
|
|
773
|
+
*/
|
|
774
|
+
'email': string;
|
|
775
|
+
/**
|
|
776
|
+
*
|
|
777
|
+
* @type {string}
|
|
778
|
+
* @memberof VisitorData
|
|
779
|
+
*/
|
|
780
|
+
'profile_image_url': string | null;
|
|
781
|
+
/**
|
|
782
|
+
*
|
|
783
|
+
* @type {string}
|
|
784
|
+
* @memberof VisitorData
|
|
785
|
+
*/
|
|
786
|
+
'name': string;
|
|
787
|
+
/**
|
|
788
|
+
*
|
|
789
|
+
* @type {string}
|
|
790
|
+
* @memberof VisitorData
|
|
791
|
+
*/
|
|
792
|
+
'id': string;
|
|
793
|
+
}
|
|
769
794
|
/**
|
|
770
795
|
*
|
|
771
796
|
* @export
|
|
@@ -803,6 +828,37 @@ export interface VisitorSchedule {
|
|
|
803
828
|
*/
|
|
804
829
|
'repetition'?: object;
|
|
805
830
|
}
|
|
831
|
+
/**
|
|
832
|
+
*
|
|
833
|
+
* @export
|
|
834
|
+
* @interface WebhookCreateBody
|
|
835
|
+
*/
|
|
836
|
+
export interface WebhookCreateBody {
|
|
837
|
+
/**
|
|
838
|
+
*
|
|
839
|
+
* @type {string}
|
|
840
|
+
* @memberof WebhookCreateBody
|
|
841
|
+
*/
|
|
842
|
+
'personID': string;
|
|
843
|
+
/**
|
|
844
|
+
*
|
|
845
|
+
* @type {string}
|
|
846
|
+
* @memberof WebhookCreateBody
|
|
847
|
+
*/
|
|
848
|
+
'liftName': string;
|
|
849
|
+
/**
|
|
850
|
+
*
|
|
851
|
+
* @type {string}
|
|
852
|
+
* @memberof WebhookCreateBody
|
|
853
|
+
*/
|
|
854
|
+
'floorName': string;
|
|
855
|
+
/**
|
|
856
|
+
*
|
|
857
|
+
* @type {number}
|
|
858
|
+
* @memberof WebhookCreateBody
|
|
859
|
+
*/
|
|
860
|
+
'floorID': number;
|
|
861
|
+
}
|
|
806
862
|
/**
|
|
807
863
|
*
|
|
808
864
|
* @export
|
|
@@ -880,98 +936,111 @@ export interface WrappedResponseCreateVisitorResponseData {
|
|
|
880
936
|
/**
|
|
881
937
|
*
|
|
882
938
|
* @export
|
|
883
|
-
* @interface
|
|
939
|
+
* @interface WrappedResponseFindMemberResultArrayOrNull
|
|
884
940
|
*/
|
|
885
|
-
export interface
|
|
941
|
+
export interface WrappedResponseFindMemberResultArrayOrNull {
|
|
886
942
|
/**
|
|
887
943
|
*
|
|
888
|
-
* @type {
|
|
889
|
-
* @memberof
|
|
944
|
+
* @type {WrappedResponseFindMemberResultArrayOrNullData}
|
|
945
|
+
* @memberof WrappedResponseFindMemberResultArrayOrNull
|
|
890
946
|
*/
|
|
891
|
-
'data':
|
|
947
|
+
'data': WrappedResponseFindMemberResultArrayOrNullData | null;
|
|
892
948
|
}
|
|
893
949
|
/**
|
|
894
950
|
*
|
|
895
951
|
* @export
|
|
896
|
-
* @interface
|
|
952
|
+
* @interface WrappedResponseFindMemberResultArrayOrNullData
|
|
897
953
|
*/
|
|
898
|
-
export interface
|
|
899
|
-
/**
|
|
900
|
-
*
|
|
901
|
-
* @type {Array<number>}
|
|
902
|
-
* @memberof WrappedResponseNull
|
|
903
|
-
*/
|
|
904
|
-
'data': Array<WrappedResponseNullDataEnum>;
|
|
954
|
+
export interface WrappedResponseFindMemberResultArrayOrNullData {
|
|
905
955
|
}
|
|
906
|
-
|
|
907
|
-
export const WrappedResponseNullDataEnum = {
|
|
908
|
-
NUMBER_null: null
|
|
909
|
-
} as const;
|
|
910
|
-
|
|
911
|
-
export type WrappedResponseNullDataEnum = typeof WrappedResponseNullDataEnum[keyof typeof WrappedResponseNullDataEnum];
|
|
912
|
-
|
|
913
956
|
/**
|
|
914
957
|
*
|
|
915
958
|
* @export
|
|
916
|
-
* @interface
|
|
959
|
+
* @interface WrappedResponseMembersShowResponse
|
|
917
960
|
*/
|
|
918
|
-
export interface
|
|
961
|
+
export interface WrappedResponseMembersShowResponse {
|
|
919
962
|
/**
|
|
920
963
|
*
|
|
921
|
-
* @type {
|
|
922
|
-
* @memberof
|
|
964
|
+
* @type {WrappedResponseMembersShowResponseData}
|
|
965
|
+
* @memberof WrappedResponseMembersShowResponse
|
|
923
966
|
*/
|
|
924
|
-
'data':
|
|
967
|
+
'data': WrappedResponseMembersShowResponseData | null;
|
|
925
968
|
}
|
|
926
969
|
/**
|
|
927
970
|
*
|
|
928
971
|
* @export
|
|
929
|
-
* @interface
|
|
972
|
+
* @interface WrappedResponseMembersShowResponseData
|
|
930
973
|
*/
|
|
931
|
-
export interface
|
|
974
|
+
export interface WrappedResponseMembersShowResponseData {
|
|
932
975
|
/**
|
|
933
976
|
*
|
|
934
977
|
* @type {string}
|
|
935
|
-
* @memberof
|
|
978
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
936
979
|
*/
|
|
937
980
|
'id': string;
|
|
938
981
|
/**
|
|
939
982
|
*
|
|
940
983
|
* @type {string}
|
|
941
|
-
* @memberof
|
|
984
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
942
985
|
*/
|
|
943
986
|
'uid': string;
|
|
944
987
|
/**
|
|
945
988
|
*
|
|
946
|
-
* @type {
|
|
947
|
-
* @memberof
|
|
948
|
-
*/
|
|
949
|
-
'metadata': PrismaJsonValue | null;
|
|
950
|
-
/**
|
|
951
|
-
*
|
|
952
|
-
* @type {Array<ShowMemberTower>}
|
|
953
|
-
* @memberof WrappedResponseShowMemberResultData
|
|
989
|
+
* @type {JsonValue}
|
|
990
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
954
991
|
*/
|
|
955
|
-
'
|
|
992
|
+
'metadata': JsonValue | null;
|
|
956
993
|
/**
|
|
957
994
|
*
|
|
958
|
-
* @type {
|
|
959
|
-
* @memberof
|
|
995
|
+
* @type {string}
|
|
996
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
960
997
|
*/
|
|
961
|
-
'
|
|
998
|
+
'account_id': string | null;
|
|
962
999
|
/**
|
|
963
1000
|
*
|
|
964
1001
|
* @type {string}
|
|
965
|
-
* @memberof
|
|
1002
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
966
1003
|
*/
|
|
967
1004
|
'created_at': string;
|
|
968
1005
|
/**
|
|
969
1006
|
*
|
|
970
1007
|
* @type {string}
|
|
971
|
-
* @memberof
|
|
1008
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
972
1009
|
*/
|
|
973
1010
|
'updated_at': string;
|
|
1011
|
+
/**
|
|
1012
|
+
*
|
|
1013
|
+
* @type {Array<PassData>}
|
|
1014
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
1015
|
+
*/
|
|
1016
|
+
'passes': Array<PassData>;
|
|
1017
|
+
/**
|
|
1018
|
+
*
|
|
1019
|
+
* @type {Array<TowerData>}
|
|
1020
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
1021
|
+
*/
|
|
1022
|
+
'towers': Array<TowerData>;
|
|
974
1023
|
}
|
|
1024
|
+
/**
|
|
1025
|
+
*
|
|
1026
|
+
* @export
|
|
1027
|
+
* @interface WrappedResponseNull
|
|
1028
|
+
*/
|
|
1029
|
+
export interface WrappedResponseNull {
|
|
1030
|
+
/**
|
|
1031
|
+
*
|
|
1032
|
+
* @type {Array<number>}
|
|
1033
|
+
* @memberof WrappedResponseNull
|
|
1034
|
+
*/
|
|
1035
|
+
'data': Array<WrappedResponseNullDataEnum>;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
export const WrappedResponseNullDataEnum = {
|
|
1039
|
+
NUMBER_null: null
|
|
1040
|
+
} as const;
|
|
1041
|
+
|
|
1042
|
+
export type WrappedResponseNullDataEnum = typeof WrappedResponseNullDataEnum[keyof typeof WrappedResponseNullDataEnum];
|
|
1043
|
+
|
|
975
1044
|
/**
|
|
976
1045
|
*
|
|
977
1046
|
* @export
|
|
@@ -1055,13 +1124,13 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1055
1124
|
return {
|
|
1056
1125
|
/**
|
|
1057
1126
|
*
|
|
1058
|
-
* @param {
|
|
1127
|
+
* @param {WebhookCreateBody} webhookCreateBody
|
|
1059
1128
|
* @param {*} [options] Override http request option.
|
|
1060
1129
|
* @throws {RequiredError}
|
|
1061
1130
|
*/
|
|
1062
|
-
create: async (
|
|
1063
|
-
// verify required parameter '
|
|
1064
|
-
assertParamExists('create', '
|
|
1131
|
+
create: async (webhookCreateBody: WebhookCreateBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1132
|
+
// verify required parameter 'webhookCreateBody' is not null or undefined
|
|
1133
|
+
assertParamExists('create', 'webhookCreateBody', webhookCreateBody)
|
|
1065
1134
|
const localVarPath = `/integrations/fs/webhook`;
|
|
1066
1135
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1067
1136
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1081,7 +1150,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1081
1150
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1082
1151
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1083
1152
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1084
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1153
|
+
localVarRequestOptions.data = serializeDataIfNeeded(webhookCreateBody, localVarRequestOptions, configuration)
|
|
1085
1154
|
|
|
1086
1155
|
return {
|
|
1087
1156
|
url: toPathString(localVarUrlObj),
|
|
@@ -1160,15 +1229,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1160
1229
|
},
|
|
1161
1230
|
/**
|
|
1162
1231
|
*
|
|
1163
|
-
* @param {string}
|
|
1232
|
+
* @param {string} identifier
|
|
1164
1233
|
* @param {*} [options] Override http request option.
|
|
1165
1234
|
* @throws {RequiredError}
|
|
1166
1235
|
*/
|
|
1167
|
-
|
|
1168
|
-
// verify required parameter '
|
|
1169
|
-
assertParamExists('
|
|
1170
|
-
const localVarPath = `/members
|
|
1171
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1236
|
+
membersIndex: async (identifier: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1237
|
+
// verify required parameter 'identifier' is not null or undefined
|
|
1238
|
+
assertParamExists('membersIndex', 'identifier', identifier)
|
|
1239
|
+
const localVarPath = `/members`;
|
|
1172
1240
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1173
1241
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1174
1242
|
let baseOptions;
|
|
@@ -1180,6 +1248,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1180
1248
|
const localVarHeaderParameter = {} as any;
|
|
1181
1249
|
const localVarQueryParameter = {} as any;
|
|
1182
1250
|
|
|
1251
|
+
if (identifier !== undefined) {
|
|
1252
|
+
localVarQueryParameter['identifier'] = identifier;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1183
1255
|
|
|
1184
1256
|
|
|
1185
1257
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1193,14 +1265,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1193
1265
|
},
|
|
1194
1266
|
/**
|
|
1195
1267
|
*
|
|
1196
|
-
* @param {string}
|
|
1268
|
+
* @param {string} id
|
|
1197
1269
|
* @param {*} [options] Override http request option.
|
|
1198
1270
|
* @throws {RequiredError}
|
|
1199
1271
|
*/
|
|
1200
|
-
|
|
1201
|
-
// verify required parameter '
|
|
1202
|
-
assertParamExists('
|
|
1203
|
-
const localVarPath = `/members
|
|
1272
|
+
membersShow: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1273
|
+
// verify required parameter 'id' is not null or undefined
|
|
1274
|
+
assertParamExists('membersShow', 'id', id)
|
|
1275
|
+
const localVarPath = `/members/{id}`
|
|
1276
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1204
1277
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1205
1278
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1206
1279
|
let baseOptions;
|
|
@@ -1212,10 +1285,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1212
1285
|
const localVarHeaderParameter = {} as any;
|
|
1213
1286
|
const localVarQueryParameter = {} as any;
|
|
1214
1287
|
|
|
1215
|
-
if (identifier !== undefined) {
|
|
1216
|
-
localVarQueryParameter['identifier'] = identifier;
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
1288
|
|
|
1220
1289
|
|
|
1221
1290
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1375,12 +1444,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
1375
1444
|
return {
|
|
1376
1445
|
/**
|
|
1377
1446
|
*
|
|
1378
|
-
* @param {
|
|
1447
|
+
* @param {WebhookCreateBody} webhookCreateBody
|
|
1379
1448
|
* @param {*} [options] Override http request option.
|
|
1380
1449
|
* @throws {RequiredError}
|
|
1381
1450
|
*/
|
|
1382
|
-
async create(
|
|
1383
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.create(
|
|
1451
|
+
async create(webhookCreateBody: WebhookCreateBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1452
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.create(webhookCreateBody, options);
|
|
1384
1453
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1385
1454
|
},
|
|
1386
1455
|
/**
|
|
@@ -1405,22 +1474,22 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
1405
1474
|
},
|
|
1406
1475
|
/**
|
|
1407
1476
|
*
|
|
1408
|
-
* @param {string}
|
|
1477
|
+
* @param {string} identifier
|
|
1409
1478
|
* @param {*} [options] Override http request option.
|
|
1410
1479
|
* @throws {RequiredError}
|
|
1411
1480
|
*/
|
|
1412
|
-
async
|
|
1413
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1481
|
+
async membersIndex(identifier: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
|
|
1482
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, options);
|
|
1414
1483
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1415
1484
|
},
|
|
1416
1485
|
/**
|
|
1417
1486
|
*
|
|
1418
|
-
* @param {string}
|
|
1487
|
+
* @param {string} id
|
|
1419
1488
|
* @param {*} [options] Override http request option.
|
|
1420
1489
|
* @throws {RequiredError}
|
|
1421
1490
|
*/
|
|
1422
|
-
async
|
|
1423
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1491
|
+
async membersShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMembersShowResponse>> {
|
|
1492
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.membersShow(id, options);
|
|
1424
1493
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1425
1494
|
},
|
|
1426
1495
|
/**
|
|
@@ -1475,12 +1544,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
1475
1544
|
return {
|
|
1476
1545
|
/**
|
|
1477
1546
|
*
|
|
1478
|
-
* @param {
|
|
1547
|
+
* @param {WebhookCreateBody} webhookCreateBody
|
|
1479
1548
|
* @param {*} [options] Override http request option.
|
|
1480
1549
|
* @throws {RequiredError}
|
|
1481
1550
|
*/
|
|
1482
|
-
create(
|
|
1483
|
-
return localVarFp.create(
|
|
1551
|
+
create(webhookCreateBody: WebhookCreateBody, options?: any): AxiosPromise<void> {
|
|
1552
|
+
return localVarFp.create(webhookCreateBody, options).then((request) => request(axios, basePath));
|
|
1484
1553
|
},
|
|
1485
1554
|
/**
|
|
1486
1555
|
*
|
|
@@ -1502,21 +1571,21 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
1502
1571
|
},
|
|
1503
1572
|
/**
|
|
1504
1573
|
*
|
|
1505
|
-
* @param {string}
|
|
1574
|
+
* @param {string} identifier
|
|
1506
1575
|
* @param {*} [options] Override http request option.
|
|
1507
1576
|
* @throws {RequiredError}
|
|
1508
1577
|
*/
|
|
1509
|
-
|
|
1510
|
-
return localVarFp.
|
|
1578
|
+
membersIndex(identifier: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
|
|
1579
|
+
return localVarFp.membersIndex(identifier, options).then((request) => request(axios, basePath));
|
|
1511
1580
|
},
|
|
1512
1581
|
/**
|
|
1513
1582
|
*
|
|
1514
|
-
* @param {string}
|
|
1583
|
+
* @param {string} id
|
|
1515
1584
|
* @param {*} [options] Override http request option.
|
|
1516
1585
|
* @throws {RequiredError}
|
|
1517
1586
|
*/
|
|
1518
|
-
|
|
1519
|
-
return localVarFp.
|
|
1587
|
+
membersShow(id: string, options?: any): AxiosPromise<WrappedResponseMembersShowResponse> {
|
|
1588
|
+
return localVarFp.membersShow(id, options).then((request) => request(axios, basePath));
|
|
1520
1589
|
},
|
|
1521
1590
|
/**
|
|
1522
1591
|
*
|
|
@@ -1566,13 +1635,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
1566
1635
|
export class DefaultApi extends BaseAPI {
|
|
1567
1636
|
/**
|
|
1568
1637
|
*
|
|
1569
|
-
* @param {
|
|
1638
|
+
* @param {WebhookCreateBody} webhookCreateBody
|
|
1570
1639
|
* @param {*} [options] Override http request option.
|
|
1571
1640
|
* @throws {RequiredError}
|
|
1572
1641
|
* @memberof DefaultApi
|
|
1573
1642
|
*/
|
|
1574
|
-
public create(
|
|
1575
|
-
return DefaultApiFp(this.configuration).create(
|
|
1643
|
+
public create(webhookCreateBody: WebhookCreateBody, options?: AxiosRequestConfig) {
|
|
1644
|
+
return DefaultApiFp(this.configuration).create(webhookCreateBody, options).then((request) => request(this.axios, this.basePath));
|
|
1576
1645
|
}
|
|
1577
1646
|
|
|
1578
1647
|
/**
|
|
@@ -1599,24 +1668,24 @@ export class DefaultApi extends BaseAPI {
|
|
|
1599
1668
|
|
|
1600
1669
|
/**
|
|
1601
1670
|
*
|
|
1602
|
-
* @param {string}
|
|
1671
|
+
* @param {string} identifier
|
|
1603
1672
|
* @param {*} [options] Override http request option.
|
|
1604
1673
|
* @throws {RequiredError}
|
|
1605
1674
|
* @memberof DefaultApi
|
|
1606
1675
|
*/
|
|
1607
|
-
public
|
|
1608
|
-
return DefaultApiFp(this.configuration).
|
|
1676
|
+
public membersIndex(identifier: string, options?: AxiosRequestConfig) {
|
|
1677
|
+
return DefaultApiFp(this.configuration).membersIndex(identifier, options).then((request) => request(this.axios, this.basePath));
|
|
1609
1678
|
}
|
|
1610
1679
|
|
|
1611
1680
|
/**
|
|
1612
1681
|
*
|
|
1613
|
-
* @param {string}
|
|
1682
|
+
* @param {string} id
|
|
1614
1683
|
* @param {*} [options] Override http request option.
|
|
1615
1684
|
* @throws {RequiredError}
|
|
1616
1685
|
* @memberof DefaultApi
|
|
1617
1686
|
*/
|
|
1618
|
-
public
|
|
1619
|
-
return DefaultApiFp(this.configuration).
|
|
1687
|
+
public membersShow(id: string, options?: AxiosRequestConfig) {
|
|
1688
|
+
return DefaultApiFp(this.configuration).membersShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
1620
1689
|
}
|
|
1621
1690
|
|
|
1622
1691
|
/**
|