ob-bms-sdk 0.0.20 → 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 +352 -302
- package/dist/api/api.d.ts +323 -276
- package/dist/api/api.js +51 -47
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -268,371 +268,274 @@ export interface FindMemberResultCreatedAt {
|
|
|
268
268
|
/**
|
|
269
269
|
*
|
|
270
270
|
* @export
|
|
271
|
-
* @interface
|
|
272
|
-
*/
|
|
273
|
-
export interface JsonValue {
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
*
|
|
277
|
-
* @export
|
|
278
|
-
* @interface LocationData
|
|
271
|
+
* @interface FloorData
|
|
279
272
|
*/
|
|
280
|
-
export interface
|
|
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
|
|
310
|
-
*/
|
|
311
|
-
'personID': string;
|
|
312
|
-
/**
|
|
313
|
-
*
|
|
314
|
-
* @type {Array<number>}
|
|
315
|
-
* @memberof PersonData
|
|
316
|
-
*/
|
|
317
|
-
'tenantIDs': Array<number>;
|
|
318
|
-
/**
|
|
319
|
-
*
|
|
320
|
-
* @type {Array<string>}
|
|
321
|
-
* @memberof PersonData
|
|
283
|
+
* @memberof FloorData
|
|
322
284
|
*/
|
|
323
|
-
'
|
|
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
|
|
423
|
-
/**
|
|
424
|
-
*
|
|
425
|
-
* @type {string}
|
|
426
|
-
* @memberof ShowMemberPassVisitor
|
|
427
|
-
*/
|
|
428
|
-
'created_at': string;
|
|
354
|
+
export interface MembersShowResponse {
|
|
429
355
|
/**
|
|
430
356
|
*
|
|
431
357
|
* @type {string}
|
|
432
|
-
* @memberof
|
|
358
|
+
* @memberof MembersShowResponse
|
|
433
359
|
*/
|
|
434
|
-
'
|
|
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 {string}
|
|
505
|
-
* @memberof ShowMemberResult
|
|
506
|
-
*/
|
|
507
|
-
'account_id': string | null;
|
|
508
|
-
/**
|
|
509
|
-
*
|
|
510
|
-
* @type {Array<ShowMemberTower>}
|
|
511
|
-
* @memberof ShowMemberResult
|
|
512
|
-
*/
|
|
513
|
-
'towers': Array<ShowMemberTower>;
|
|
514
|
-
/**
|
|
515
|
-
*
|
|
516
|
-
* @type {Array<ShowMemberPass>}
|
|
517
|
-
* @memberof ShowMemberResult
|
|
518
|
-
*/
|
|
519
|
-
'passes': Array<ShowMemberPass>;
|
|
421
|
+
'updated_at': string;
|
|
520
422
|
/**
|
|
521
423
|
*
|
|
522
424
|
* @type {string}
|
|
523
|
-
* @memberof
|
|
425
|
+
* @memberof PassData
|
|
524
426
|
*/
|
|
525
427
|
'created_at': string;
|
|
526
428
|
/**
|
|
527
429
|
*
|
|
528
430
|
* @type {string}
|
|
529
|
-
* @memberof
|
|
431
|
+
* @memberof PassData
|
|
530
432
|
*/
|
|
531
|
-
'
|
|
532
|
-
}
|
|
533
|
-
/**
|
|
534
|
-
*
|
|
535
|
-
* @export
|
|
536
|
-
* @interface ShowMemberTower
|
|
537
|
-
*/
|
|
538
|
-
export interface ShowMemberTower {
|
|
433
|
+
'status': PassDataStatusEnum;
|
|
539
434
|
/**
|
|
540
435
|
*
|
|
541
436
|
* @type {string}
|
|
542
|
-
* @memberof
|
|
437
|
+
* @memberof PassData
|
|
543
438
|
*/
|
|
544
|
-
'
|
|
439
|
+
'issuer_id': string;
|
|
545
440
|
/**
|
|
546
441
|
*
|
|
547
442
|
* @type {string}
|
|
548
|
-
* @memberof
|
|
443
|
+
* @memberof PassData
|
|
549
444
|
*/
|
|
550
|
-
'
|
|
445
|
+
'visit_schedule_id': string;
|
|
551
446
|
/**
|
|
552
447
|
*
|
|
553
448
|
* @type {string}
|
|
554
|
-
* @memberof
|
|
449
|
+
* @memberof PassData
|
|
555
450
|
*/
|
|
556
|
-
'
|
|
557
|
-
/**
|
|
558
|
-
*
|
|
559
|
-
* @type {PrismaJsonValue}
|
|
560
|
-
* @memberof ShowMemberTower
|
|
561
|
-
*/
|
|
562
|
-
'display_name': PrismaJsonValue | null;
|
|
451
|
+
'visitor_id': string;
|
|
563
452
|
/**
|
|
564
453
|
*
|
|
565
454
|
* @type {string}
|
|
566
|
-
* @memberof
|
|
455
|
+
* @memberof PassData
|
|
567
456
|
*/
|
|
568
|
-
'
|
|
457
|
+
'to': string;
|
|
569
458
|
/**
|
|
570
459
|
*
|
|
571
|
-
* @type {
|
|
572
|
-
* @memberof
|
|
460
|
+
* @type {string}
|
|
461
|
+
* @memberof PassData
|
|
573
462
|
*/
|
|
574
|
-
'
|
|
463
|
+
'from': string;
|
|
575
464
|
/**
|
|
576
465
|
*
|
|
577
466
|
* @type {string}
|
|
578
|
-
* @memberof
|
|
467
|
+
* @memberof PassData
|
|
579
468
|
*/
|
|
580
|
-
'
|
|
469
|
+
'uid': string | null;
|
|
581
470
|
/**
|
|
582
471
|
*
|
|
583
472
|
* @type {string}
|
|
584
|
-
* @memberof
|
|
473
|
+
* @memberof PassData
|
|
585
474
|
*/
|
|
586
|
-
'
|
|
475
|
+
'id': string;
|
|
587
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
|
+
|
|
588
485
|
/**
|
|
589
486
|
*
|
|
590
487
|
* @export
|
|
591
|
-
* @interface
|
|
488
|
+
* @interface PersonData
|
|
592
489
|
*/
|
|
593
|
-
export interface
|
|
490
|
+
export interface PersonData {
|
|
594
491
|
/**
|
|
595
492
|
*
|
|
596
493
|
* @type {string}
|
|
597
|
-
* @memberof
|
|
494
|
+
* @memberof PersonData
|
|
598
495
|
*/
|
|
599
|
-
'
|
|
496
|
+
'personID': string;
|
|
600
497
|
/**
|
|
601
498
|
*
|
|
602
|
-
* @type {
|
|
603
|
-
* @memberof
|
|
499
|
+
* @type {Array<number>}
|
|
500
|
+
* @memberof PersonData
|
|
604
501
|
*/
|
|
605
|
-
'
|
|
502
|
+
'tenantIDs': Array<number>;
|
|
606
503
|
/**
|
|
607
504
|
*
|
|
608
|
-
* @type {string}
|
|
609
|
-
* @memberof
|
|
505
|
+
* @type {Array<string>}
|
|
506
|
+
* @memberof PersonData
|
|
610
507
|
*/
|
|
611
|
-
'
|
|
508
|
+
'phones': Array<string>;
|
|
612
509
|
/**
|
|
613
510
|
*
|
|
614
|
-
* @type {
|
|
615
|
-
* @memberof
|
|
511
|
+
* @type {Array<string>}
|
|
512
|
+
* @memberof PersonData
|
|
616
513
|
*/
|
|
617
|
-
'
|
|
514
|
+
'emails': Array<string>;
|
|
618
515
|
/**
|
|
619
516
|
*
|
|
620
|
-
* @type {
|
|
621
|
-
* @memberof
|
|
517
|
+
* @type {Array<LocationData>}
|
|
518
|
+
* @memberof PersonData
|
|
622
519
|
*/
|
|
623
|
-
'
|
|
520
|
+
'locations': Array<LocationData>;
|
|
624
521
|
/**
|
|
625
522
|
*
|
|
626
523
|
* @type {string}
|
|
627
|
-
* @memberof
|
|
524
|
+
* @memberof PersonData
|
|
628
525
|
*/
|
|
629
|
-
'
|
|
526
|
+
'updateTime': string;
|
|
527
|
+
/**
|
|
528
|
+
*
|
|
529
|
+
* @type {boolean}
|
|
530
|
+
* @memberof PersonData
|
|
531
|
+
*/
|
|
532
|
+
'active': boolean;
|
|
630
533
|
/**
|
|
631
534
|
*
|
|
632
535
|
* @type {string}
|
|
633
|
-
* @memberof
|
|
536
|
+
* @memberof PersonData
|
|
634
537
|
*/
|
|
635
|
-
'
|
|
538
|
+
'status': string;
|
|
636
539
|
}
|
|
637
540
|
/**
|
|
638
541
|
*
|
|
@@ -772,6 +675,122 @@ export interface SyncResultSyncJobErrorInner {
|
|
|
772
675
|
*/
|
|
773
676
|
'type': string;
|
|
774
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
|
+
}
|
|
775
794
|
/**
|
|
776
795
|
*
|
|
777
796
|
* @export
|
|
@@ -809,6 +828,37 @@ export interface VisitorSchedule {
|
|
|
809
828
|
*/
|
|
810
829
|
'repetition'?: object;
|
|
811
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
|
+
}
|
|
812
862
|
/**
|
|
813
863
|
*
|
|
814
864
|
* @export
|
|
@@ -894,7 +944,7 @@ export interface WrappedResponseFindMemberResultArrayOrNull {
|
|
|
894
944
|
* @type {WrappedResponseFindMemberResultArrayOrNullData}
|
|
895
945
|
* @memberof WrappedResponseFindMemberResultArrayOrNull
|
|
896
946
|
*/
|
|
897
|
-
'data': WrappedResponseFindMemberResultArrayOrNullData;
|
|
947
|
+
'data': WrappedResponseFindMemberResultArrayOrNullData | null;
|
|
898
948
|
}
|
|
899
949
|
/**
|
|
900
950
|
*
|
|
@@ -906,91 +956,91 @@ export interface WrappedResponseFindMemberResultArrayOrNullData {
|
|
|
906
956
|
/**
|
|
907
957
|
*
|
|
908
958
|
* @export
|
|
909
|
-
* @interface
|
|
910
|
-
*/
|
|
911
|
-
export interface WrappedResponseNull {
|
|
912
|
-
/**
|
|
913
|
-
*
|
|
914
|
-
* @type {Array<number>}
|
|
915
|
-
* @memberof WrappedResponseNull
|
|
916
|
-
*/
|
|
917
|
-
'data': Array<WrappedResponseNullDataEnum>;
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
export const WrappedResponseNullDataEnum = {
|
|
921
|
-
NUMBER_null: null
|
|
922
|
-
} as const;
|
|
923
|
-
|
|
924
|
-
export type WrappedResponseNullDataEnum = typeof WrappedResponseNullDataEnum[keyof typeof WrappedResponseNullDataEnum];
|
|
925
|
-
|
|
926
|
-
/**
|
|
927
|
-
*
|
|
928
|
-
* @export
|
|
929
|
-
* @interface WrappedResponseShowMemberResult
|
|
959
|
+
* @interface WrappedResponseMembersShowResponse
|
|
930
960
|
*/
|
|
931
|
-
export interface
|
|
961
|
+
export interface WrappedResponseMembersShowResponse {
|
|
932
962
|
/**
|
|
933
963
|
*
|
|
934
|
-
* @type {
|
|
935
|
-
* @memberof
|
|
964
|
+
* @type {WrappedResponseMembersShowResponseData}
|
|
965
|
+
* @memberof WrappedResponseMembersShowResponse
|
|
936
966
|
*/
|
|
937
|
-
'data':
|
|
967
|
+
'data': WrappedResponseMembersShowResponseData | null;
|
|
938
968
|
}
|
|
939
969
|
/**
|
|
940
970
|
*
|
|
941
971
|
* @export
|
|
942
|
-
* @interface
|
|
972
|
+
* @interface WrappedResponseMembersShowResponseData
|
|
943
973
|
*/
|
|
944
|
-
export interface
|
|
974
|
+
export interface WrappedResponseMembersShowResponseData {
|
|
945
975
|
/**
|
|
946
976
|
*
|
|
947
977
|
* @type {string}
|
|
948
|
-
* @memberof
|
|
978
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
949
979
|
*/
|
|
950
980
|
'id': string;
|
|
951
981
|
/**
|
|
952
982
|
*
|
|
953
983
|
* @type {string}
|
|
954
|
-
* @memberof
|
|
984
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
955
985
|
*/
|
|
956
986
|
'uid': string;
|
|
957
987
|
/**
|
|
958
988
|
*
|
|
959
|
-
* @type {
|
|
960
|
-
* @memberof
|
|
989
|
+
* @type {JsonValue}
|
|
990
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
961
991
|
*/
|
|
962
|
-
'metadata':
|
|
992
|
+
'metadata': JsonValue | null;
|
|
963
993
|
/**
|
|
964
994
|
*
|
|
965
995
|
* @type {string}
|
|
966
|
-
* @memberof
|
|
996
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
967
997
|
*/
|
|
968
998
|
'account_id': string | null;
|
|
969
999
|
/**
|
|
970
1000
|
*
|
|
971
|
-
* @type {
|
|
972
|
-
* @memberof
|
|
1001
|
+
* @type {string}
|
|
1002
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
973
1003
|
*/
|
|
974
|
-
'
|
|
1004
|
+
'created_at': string;
|
|
975
1005
|
/**
|
|
976
1006
|
*
|
|
977
|
-
* @type {
|
|
978
|
-
* @memberof
|
|
1007
|
+
* @type {string}
|
|
1008
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
979
1009
|
*/
|
|
980
|
-
'
|
|
1010
|
+
'updated_at': string;
|
|
981
1011
|
/**
|
|
982
1012
|
*
|
|
983
|
-
* @type {
|
|
984
|
-
* @memberof
|
|
1013
|
+
* @type {Array<PassData>}
|
|
1014
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
985
1015
|
*/
|
|
986
|
-
'
|
|
1016
|
+
'passes': Array<PassData>;
|
|
987
1017
|
/**
|
|
988
1018
|
*
|
|
989
|
-
* @type {
|
|
990
|
-
* @memberof
|
|
1019
|
+
* @type {Array<TowerData>}
|
|
1020
|
+
* @memberof WrappedResponseMembersShowResponseData
|
|
991
1021
|
*/
|
|
992
|
-
'
|
|
1022
|
+
'towers': Array<TowerData>;
|
|
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>;
|
|
993
1036
|
}
|
|
1037
|
+
|
|
1038
|
+
export const WrappedResponseNullDataEnum = {
|
|
1039
|
+
NUMBER_null: null
|
|
1040
|
+
} as const;
|
|
1041
|
+
|
|
1042
|
+
export type WrappedResponseNullDataEnum = typeof WrappedResponseNullDataEnum[keyof typeof WrappedResponseNullDataEnum];
|
|
1043
|
+
|
|
994
1044
|
/**
|
|
995
1045
|
*
|
|
996
1046
|
* @export
|
|
@@ -1074,13 +1124,13 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1074
1124
|
return {
|
|
1075
1125
|
/**
|
|
1076
1126
|
*
|
|
1077
|
-
* @param {
|
|
1127
|
+
* @param {WebhookCreateBody} webhookCreateBody
|
|
1078
1128
|
* @param {*} [options] Override http request option.
|
|
1079
1129
|
* @throws {RequiredError}
|
|
1080
1130
|
*/
|
|
1081
|
-
create: async (
|
|
1082
|
-
// verify required parameter '
|
|
1083
|
-
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)
|
|
1084
1134
|
const localVarPath = `/integrations/fs/webhook`;
|
|
1085
1135
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1086
1136
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1100,7 +1150,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1100
1150
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1101
1151
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1102
1152
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1103
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1153
|
+
localVarRequestOptions.data = serializeDataIfNeeded(webhookCreateBody, localVarRequestOptions, configuration)
|
|
1104
1154
|
|
|
1105
1155
|
return {
|
|
1106
1156
|
url: toPathString(localVarUrlObj),
|
|
@@ -1179,15 +1229,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1179
1229
|
},
|
|
1180
1230
|
/**
|
|
1181
1231
|
*
|
|
1182
|
-
* @param {string}
|
|
1232
|
+
* @param {string} identifier
|
|
1183
1233
|
* @param {*} [options] Override http request option.
|
|
1184
1234
|
* @throws {RequiredError}
|
|
1185
1235
|
*/
|
|
1186
|
-
|
|
1187
|
-
// verify required parameter '
|
|
1188
|
-
assertParamExists('
|
|
1189
|
-
const localVarPath = `/members
|
|
1190
|
-
.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`;
|
|
1191
1240
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1192
1241
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1193
1242
|
let baseOptions;
|
|
@@ -1199,6 +1248,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1199
1248
|
const localVarHeaderParameter = {} as any;
|
|
1200
1249
|
const localVarQueryParameter = {} as any;
|
|
1201
1250
|
|
|
1251
|
+
if (identifier !== undefined) {
|
|
1252
|
+
localVarQueryParameter['identifier'] = identifier;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1202
1255
|
|
|
1203
1256
|
|
|
1204
1257
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1212,14 +1265,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1212
1265
|
},
|
|
1213
1266
|
/**
|
|
1214
1267
|
*
|
|
1215
|
-
* @param {string}
|
|
1268
|
+
* @param {string} id
|
|
1216
1269
|
* @param {*} [options] Override http request option.
|
|
1217
1270
|
* @throws {RequiredError}
|
|
1218
1271
|
*/
|
|
1219
|
-
|
|
1220
|
-
// verify required parameter '
|
|
1221
|
-
assertParamExists('
|
|
1222
|
-
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)));
|
|
1223
1277
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1224
1278
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1225
1279
|
let baseOptions;
|
|
@@ -1231,10 +1285,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1231
1285
|
const localVarHeaderParameter = {} as any;
|
|
1232
1286
|
const localVarQueryParameter = {} as any;
|
|
1233
1287
|
|
|
1234
|
-
if (identifier !== undefined) {
|
|
1235
|
-
localVarQueryParameter['identifier'] = identifier;
|
|
1236
|
-
}
|
|
1237
|
-
|
|
1238
1288
|
|
|
1239
1289
|
|
|
1240
1290
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1394,12 +1444,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
1394
1444
|
return {
|
|
1395
1445
|
/**
|
|
1396
1446
|
*
|
|
1397
|
-
* @param {
|
|
1447
|
+
* @param {WebhookCreateBody} webhookCreateBody
|
|
1398
1448
|
* @param {*} [options] Override http request option.
|
|
1399
1449
|
* @throws {RequiredError}
|
|
1400
1450
|
*/
|
|
1401
|
-
async create(
|
|
1402
|
-
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);
|
|
1403
1453
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1404
1454
|
},
|
|
1405
1455
|
/**
|
|
@@ -1424,22 +1474,22 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
1424
1474
|
},
|
|
1425
1475
|
/**
|
|
1426
1476
|
*
|
|
1427
|
-
* @param {string}
|
|
1477
|
+
* @param {string} identifier
|
|
1428
1478
|
* @param {*} [options] Override http request option.
|
|
1429
1479
|
* @throws {RequiredError}
|
|
1430
1480
|
*/
|
|
1431
|
-
async
|
|
1432
|
-
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);
|
|
1433
1483
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1434
1484
|
},
|
|
1435
1485
|
/**
|
|
1436
1486
|
*
|
|
1437
|
-
* @param {string}
|
|
1487
|
+
* @param {string} id
|
|
1438
1488
|
* @param {*} [options] Override http request option.
|
|
1439
1489
|
* @throws {RequiredError}
|
|
1440
1490
|
*/
|
|
1441
|
-
async
|
|
1442
|
-
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);
|
|
1443
1493
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1444
1494
|
},
|
|
1445
1495
|
/**
|
|
@@ -1494,12 +1544,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
1494
1544
|
return {
|
|
1495
1545
|
/**
|
|
1496
1546
|
*
|
|
1497
|
-
* @param {
|
|
1547
|
+
* @param {WebhookCreateBody} webhookCreateBody
|
|
1498
1548
|
* @param {*} [options] Override http request option.
|
|
1499
1549
|
* @throws {RequiredError}
|
|
1500
1550
|
*/
|
|
1501
|
-
create(
|
|
1502
|
-
return localVarFp.create(
|
|
1551
|
+
create(webhookCreateBody: WebhookCreateBody, options?: any): AxiosPromise<void> {
|
|
1552
|
+
return localVarFp.create(webhookCreateBody, options).then((request) => request(axios, basePath));
|
|
1503
1553
|
},
|
|
1504
1554
|
/**
|
|
1505
1555
|
*
|
|
@@ -1521,21 +1571,21 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
1521
1571
|
},
|
|
1522
1572
|
/**
|
|
1523
1573
|
*
|
|
1524
|
-
* @param {string}
|
|
1574
|
+
* @param {string} identifier
|
|
1525
1575
|
* @param {*} [options] Override http request option.
|
|
1526
1576
|
* @throws {RequiredError}
|
|
1527
1577
|
*/
|
|
1528
|
-
|
|
1529
|
-
return localVarFp.
|
|
1578
|
+
membersIndex(identifier: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
|
|
1579
|
+
return localVarFp.membersIndex(identifier, options).then((request) => request(axios, basePath));
|
|
1530
1580
|
},
|
|
1531
1581
|
/**
|
|
1532
1582
|
*
|
|
1533
|
-
* @param {string}
|
|
1583
|
+
* @param {string} id
|
|
1534
1584
|
* @param {*} [options] Override http request option.
|
|
1535
1585
|
* @throws {RequiredError}
|
|
1536
1586
|
*/
|
|
1537
|
-
|
|
1538
|
-
return localVarFp.
|
|
1587
|
+
membersShow(id: string, options?: any): AxiosPromise<WrappedResponseMembersShowResponse> {
|
|
1588
|
+
return localVarFp.membersShow(id, options).then((request) => request(axios, basePath));
|
|
1539
1589
|
},
|
|
1540
1590
|
/**
|
|
1541
1591
|
*
|
|
@@ -1585,13 +1635,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
1585
1635
|
export class DefaultApi extends BaseAPI {
|
|
1586
1636
|
/**
|
|
1587
1637
|
*
|
|
1588
|
-
* @param {
|
|
1638
|
+
* @param {WebhookCreateBody} webhookCreateBody
|
|
1589
1639
|
* @param {*} [options] Override http request option.
|
|
1590
1640
|
* @throws {RequiredError}
|
|
1591
1641
|
* @memberof DefaultApi
|
|
1592
1642
|
*/
|
|
1593
|
-
public create(
|
|
1594
|
-
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));
|
|
1595
1645
|
}
|
|
1596
1646
|
|
|
1597
1647
|
/**
|
|
@@ -1618,24 +1668,24 @@ export class DefaultApi extends BaseAPI {
|
|
|
1618
1668
|
|
|
1619
1669
|
/**
|
|
1620
1670
|
*
|
|
1621
|
-
* @param {string}
|
|
1671
|
+
* @param {string} identifier
|
|
1622
1672
|
* @param {*} [options] Override http request option.
|
|
1623
1673
|
* @throws {RequiredError}
|
|
1624
1674
|
* @memberof DefaultApi
|
|
1625
1675
|
*/
|
|
1626
|
-
public
|
|
1627
|
-
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));
|
|
1628
1678
|
}
|
|
1629
1679
|
|
|
1630
1680
|
/**
|
|
1631
1681
|
*
|
|
1632
|
-
* @param {string}
|
|
1682
|
+
* @param {string} id
|
|
1633
1683
|
* @param {*} [options] Override http request option.
|
|
1634
1684
|
* @throws {RequiredError}
|
|
1635
1685
|
* @memberof DefaultApi
|
|
1636
1686
|
*/
|
|
1637
|
-
public
|
|
1638
|
-
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));
|
|
1639
1689
|
}
|
|
1640
1690
|
|
|
1641
1691
|
/**
|