ob-bms-sdk 0.0.10 → 0.0.12
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 +651 -2
- package/dist/api/api.d.ts +617 -2
- package/dist/api/api.js +59 -0
- package/package.json +1 -1
- package/test.ts +7 -0
package/api/api.ts
CHANGED
|
@@ -73,6 +73,42 @@ export interface CreateVisitorBody {
|
|
|
73
73
|
* @memberof CreateVisitorBody
|
|
74
74
|
*/
|
|
75
75
|
'name': string;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof CreateVisitorBody
|
|
80
|
+
*/
|
|
81
|
+
'profile_image_url': string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof CreateVisitorBody
|
|
86
|
+
*/
|
|
87
|
+
'email': string;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof CreateVisitorBody
|
|
92
|
+
*/
|
|
93
|
+
'company_name': string;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof CreateVisitorBody
|
|
98
|
+
*/
|
|
99
|
+
'reference': string;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof CreateVisitorBody
|
|
104
|
+
*/
|
|
105
|
+
'inviter_id': string;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {VisitorSchedule}
|
|
109
|
+
* @memberof CreateVisitorBody
|
|
110
|
+
*/
|
|
111
|
+
'visitor_schedule': VisitorSchedule;
|
|
76
112
|
}
|
|
77
113
|
/**
|
|
78
114
|
*
|
|
@@ -92,6 +128,48 @@ export interface CreateVisitorResponse {
|
|
|
92
128
|
* @memberof CreateVisitorResponse
|
|
93
129
|
*/
|
|
94
130
|
'name': string;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof CreateVisitorResponse
|
|
135
|
+
*/
|
|
136
|
+
'profile_image_url': string;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof CreateVisitorResponse
|
|
141
|
+
*/
|
|
142
|
+
'email': string;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {string}
|
|
146
|
+
* @memberof CreateVisitorResponse
|
|
147
|
+
*/
|
|
148
|
+
'company_name': string;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {string}
|
|
152
|
+
* @memberof CreateVisitorResponse
|
|
153
|
+
*/
|
|
154
|
+
'reference': string;
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @type {string}
|
|
158
|
+
* @memberof CreateVisitorResponse
|
|
159
|
+
*/
|
|
160
|
+
'inviter_id': string;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @type {string}
|
|
164
|
+
* @memberof CreateVisitorResponse
|
|
165
|
+
*/
|
|
166
|
+
'created_at': string;
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* @type {string}
|
|
170
|
+
* @memberof CreateVisitorResponse
|
|
171
|
+
*/
|
|
172
|
+
'updated_at': string;
|
|
95
173
|
}
|
|
96
174
|
/**
|
|
97
175
|
*
|
|
@@ -224,6 +302,282 @@ export interface PersonData {
|
|
|
224
302
|
*/
|
|
225
303
|
'status': string;
|
|
226
304
|
}
|
|
305
|
+
/**
|
|
306
|
+
* From https://github.com/sindresorhus/type-fest/ Matches any valid JSON value.
|
|
307
|
+
* @export
|
|
308
|
+
* @interface PrismaJsonValue
|
|
309
|
+
*/
|
|
310
|
+
export interface PrismaJsonValue {
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
*
|
|
314
|
+
* @export
|
|
315
|
+
* @interface ShowMemberPass
|
|
316
|
+
*/
|
|
317
|
+
export interface ShowMemberPass {
|
|
318
|
+
/**
|
|
319
|
+
*
|
|
320
|
+
* @type {string}
|
|
321
|
+
* @memberof ShowMemberPass
|
|
322
|
+
*/
|
|
323
|
+
'id': string;
|
|
324
|
+
/**
|
|
325
|
+
*
|
|
326
|
+
* @type {string}
|
|
327
|
+
* @memberof ShowMemberPass
|
|
328
|
+
*/
|
|
329
|
+
'uid': string | null;
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @type {string}
|
|
333
|
+
* @memberof ShowMemberPass
|
|
334
|
+
*/
|
|
335
|
+
'status': string;
|
|
336
|
+
/**
|
|
337
|
+
*
|
|
338
|
+
* @type {string}
|
|
339
|
+
* @memberof ShowMemberPass
|
|
340
|
+
*/
|
|
341
|
+
'from': string;
|
|
342
|
+
/**
|
|
343
|
+
*
|
|
344
|
+
* @type {string}
|
|
345
|
+
* @memberof ShowMemberPass
|
|
346
|
+
*/
|
|
347
|
+
'to': string;
|
|
348
|
+
/**
|
|
349
|
+
*
|
|
350
|
+
* @type {string}
|
|
351
|
+
* @memberof ShowMemberPass
|
|
352
|
+
*/
|
|
353
|
+
'created_at': string;
|
|
354
|
+
/**
|
|
355
|
+
*
|
|
356
|
+
* @type {string}
|
|
357
|
+
* @memberof ShowMemberPass
|
|
358
|
+
*/
|
|
359
|
+
'updated_at': string;
|
|
360
|
+
/**
|
|
361
|
+
*
|
|
362
|
+
* @type {ShowMemberPassVisitor}
|
|
363
|
+
* @memberof ShowMemberPass
|
|
364
|
+
*/
|
|
365
|
+
'visitor': ShowMemberPassVisitor;
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
*
|
|
369
|
+
* @export
|
|
370
|
+
* @interface ShowMemberPassVisitor
|
|
371
|
+
*/
|
|
372
|
+
export interface ShowMemberPassVisitor {
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @type {string}
|
|
376
|
+
* @memberof ShowMemberPassVisitor
|
|
377
|
+
*/
|
|
378
|
+
'created_at': string;
|
|
379
|
+
/**
|
|
380
|
+
*
|
|
381
|
+
* @type {string}
|
|
382
|
+
* @memberof ShowMemberPassVisitor
|
|
383
|
+
*/
|
|
384
|
+
'updated_at': string;
|
|
385
|
+
/**
|
|
386
|
+
*
|
|
387
|
+
* @type {string}
|
|
388
|
+
* @memberof ShowMemberPassVisitor
|
|
389
|
+
*/
|
|
390
|
+
'id': string;
|
|
391
|
+
/**
|
|
392
|
+
*
|
|
393
|
+
* @type {string}
|
|
394
|
+
* @memberof ShowMemberPassVisitor
|
|
395
|
+
*/
|
|
396
|
+
'name': string;
|
|
397
|
+
/**
|
|
398
|
+
*
|
|
399
|
+
* @type {string}
|
|
400
|
+
* @memberof ShowMemberPassVisitor
|
|
401
|
+
*/
|
|
402
|
+
'profile_image_url': string | null;
|
|
403
|
+
/**
|
|
404
|
+
*
|
|
405
|
+
* @type {string}
|
|
406
|
+
* @memberof ShowMemberPassVisitor
|
|
407
|
+
*/
|
|
408
|
+
'email': string;
|
|
409
|
+
/**
|
|
410
|
+
*
|
|
411
|
+
* @type {string}
|
|
412
|
+
* @memberof ShowMemberPassVisitor
|
|
413
|
+
*/
|
|
414
|
+
'company_name': string;
|
|
415
|
+
/**
|
|
416
|
+
*
|
|
417
|
+
* @type {string}
|
|
418
|
+
* @memberof ShowMemberPassVisitor
|
|
419
|
+
*/
|
|
420
|
+
'reference': string;
|
|
421
|
+
/**
|
|
422
|
+
*
|
|
423
|
+
* @type {string}
|
|
424
|
+
* @memberof ShowMemberPassVisitor
|
|
425
|
+
*/
|
|
426
|
+
'inviter_id': string;
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @export
|
|
431
|
+
* @interface ShowMemberResult
|
|
432
|
+
*/
|
|
433
|
+
export interface ShowMemberResult {
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @type {string}
|
|
437
|
+
* @memberof ShowMemberResult
|
|
438
|
+
*/
|
|
439
|
+
'id': string;
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @type {string}
|
|
443
|
+
* @memberof ShowMemberResult
|
|
444
|
+
*/
|
|
445
|
+
'uid': string;
|
|
446
|
+
/**
|
|
447
|
+
*
|
|
448
|
+
* @type {PrismaJsonValue}
|
|
449
|
+
* @memberof ShowMemberResult
|
|
450
|
+
*/
|
|
451
|
+
'metadata': PrismaJsonValue | null;
|
|
452
|
+
/**
|
|
453
|
+
*
|
|
454
|
+
* @type {Array<ShowMemberTower>}
|
|
455
|
+
* @memberof ShowMemberResult
|
|
456
|
+
*/
|
|
457
|
+
'towers': Array<ShowMemberTower>;
|
|
458
|
+
/**
|
|
459
|
+
*
|
|
460
|
+
* @type {Array<ShowMemberPass>}
|
|
461
|
+
* @memberof ShowMemberResult
|
|
462
|
+
*/
|
|
463
|
+
'passes': Array<ShowMemberPass>;
|
|
464
|
+
/**
|
|
465
|
+
*
|
|
466
|
+
* @type {string}
|
|
467
|
+
* @memberof ShowMemberResult
|
|
468
|
+
*/
|
|
469
|
+
'created_at': string;
|
|
470
|
+
/**
|
|
471
|
+
*
|
|
472
|
+
* @type {string}
|
|
473
|
+
* @memberof ShowMemberResult
|
|
474
|
+
*/
|
|
475
|
+
'updated_at': string;
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
*
|
|
479
|
+
* @export
|
|
480
|
+
* @interface ShowMemberTower
|
|
481
|
+
*/
|
|
482
|
+
export interface ShowMemberTower {
|
|
483
|
+
/**
|
|
484
|
+
*
|
|
485
|
+
* @type {string}
|
|
486
|
+
* @memberof ShowMemberTower
|
|
487
|
+
*/
|
|
488
|
+
'id': string;
|
|
489
|
+
/**
|
|
490
|
+
*
|
|
491
|
+
* @type {string}
|
|
492
|
+
* @memberof ShowMemberTower
|
|
493
|
+
*/
|
|
494
|
+
'uid': string;
|
|
495
|
+
/**
|
|
496
|
+
*
|
|
497
|
+
* @type {string}
|
|
498
|
+
* @memberof ShowMemberTower
|
|
499
|
+
*/
|
|
500
|
+
'name': string;
|
|
501
|
+
/**
|
|
502
|
+
*
|
|
503
|
+
* @type {PrismaJsonValue}
|
|
504
|
+
* @memberof ShowMemberTower
|
|
505
|
+
*/
|
|
506
|
+
'display_name': PrismaJsonValue | null;
|
|
507
|
+
/**
|
|
508
|
+
*
|
|
509
|
+
* @type {string}
|
|
510
|
+
* @memberof ShowMemberTower
|
|
511
|
+
*/
|
|
512
|
+
'project_id': string;
|
|
513
|
+
/**
|
|
514
|
+
*
|
|
515
|
+
* @type {Array<ShowMemberTowerFloor>}
|
|
516
|
+
* @memberof ShowMemberTower
|
|
517
|
+
*/
|
|
518
|
+
'floors': Array<ShowMemberTowerFloor>;
|
|
519
|
+
/**
|
|
520
|
+
*
|
|
521
|
+
* @type {string}
|
|
522
|
+
* @memberof ShowMemberTower
|
|
523
|
+
*/
|
|
524
|
+
'created_at': string;
|
|
525
|
+
/**
|
|
526
|
+
*
|
|
527
|
+
* @type {string}
|
|
528
|
+
* @memberof ShowMemberTower
|
|
529
|
+
*/
|
|
530
|
+
'updated_at': string;
|
|
531
|
+
}
|
|
532
|
+
/**
|
|
533
|
+
*
|
|
534
|
+
* @export
|
|
535
|
+
* @interface ShowMemberTowerFloor
|
|
536
|
+
*/
|
|
537
|
+
export interface ShowMemberTowerFloor {
|
|
538
|
+
/**
|
|
539
|
+
*
|
|
540
|
+
* @type {string}
|
|
541
|
+
* @memberof ShowMemberTowerFloor
|
|
542
|
+
*/
|
|
543
|
+
'id': string;
|
|
544
|
+
/**
|
|
545
|
+
*
|
|
546
|
+
* @type {string}
|
|
547
|
+
* @memberof ShowMemberTowerFloor
|
|
548
|
+
*/
|
|
549
|
+
'uid': string;
|
|
550
|
+
/**
|
|
551
|
+
*
|
|
552
|
+
* @type {string}
|
|
553
|
+
* @memberof ShowMemberTowerFloor
|
|
554
|
+
*/
|
|
555
|
+
'name': string;
|
|
556
|
+
/**
|
|
557
|
+
*
|
|
558
|
+
* @type {PrismaJsonValue}
|
|
559
|
+
* @memberof ShowMemberTowerFloor
|
|
560
|
+
*/
|
|
561
|
+
'display_name': PrismaJsonValue | null;
|
|
562
|
+
/**
|
|
563
|
+
*
|
|
564
|
+
* @type {string}
|
|
565
|
+
* @memberof ShowMemberTowerFloor
|
|
566
|
+
*/
|
|
567
|
+
'tower_id': string;
|
|
568
|
+
/**
|
|
569
|
+
*
|
|
570
|
+
* @type {string}
|
|
571
|
+
* @memberof ShowMemberTowerFloor
|
|
572
|
+
*/
|
|
573
|
+
'created_at': string;
|
|
574
|
+
/**
|
|
575
|
+
*
|
|
576
|
+
* @type {string}
|
|
577
|
+
* @memberof ShowMemberTowerFloor
|
|
578
|
+
*/
|
|
579
|
+
'updated_at': string;
|
|
580
|
+
}
|
|
227
581
|
/**
|
|
228
582
|
*
|
|
229
583
|
* @export
|
|
@@ -242,6 +596,48 @@ export interface ShowVisitorResponse {
|
|
|
242
596
|
* @memberof ShowVisitorResponse
|
|
243
597
|
*/
|
|
244
598
|
'name': string;
|
|
599
|
+
/**
|
|
600
|
+
*
|
|
601
|
+
* @type {string}
|
|
602
|
+
* @memberof ShowVisitorResponse
|
|
603
|
+
*/
|
|
604
|
+
'profile_image_url': string;
|
|
605
|
+
/**
|
|
606
|
+
*
|
|
607
|
+
* @type {string}
|
|
608
|
+
* @memberof ShowVisitorResponse
|
|
609
|
+
*/
|
|
610
|
+
'email': string;
|
|
611
|
+
/**
|
|
612
|
+
*
|
|
613
|
+
* @type {string}
|
|
614
|
+
* @memberof ShowVisitorResponse
|
|
615
|
+
*/
|
|
616
|
+
'company_name': string;
|
|
617
|
+
/**
|
|
618
|
+
*
|
|
619
|
+
* @type {string}
|
|
620
|
+
* @memberof ShowVisitorResponse
|
|
621
|
+
*/
|
|
622
|
+
'reference': string;
|
|
623
|
+
/**
|
|
624
|
+
*
|
|
625
|
+
* @type {string}
|
|
626
|
+
* @memberof ShowVisitorResponse
|
|
627
|
+
*/
|
|
628
|
+
'inviter_id': string;
|
|
629
|
+
/**
|
|
630
|
+
*
|
|
631
|
+
* @type {string}
|
|
632
|
+
* @memberof ShowVisitorResponse
|
|
633
|
+
*/
|
|
634
|
+
'created_at': string;
|
|
635
|
+
/**
|
|
636
|
+
*
|
|
637
|
+
* @type {string}
|
|
638
|
+
* @memberof ShowVisitorResponse
|
|
639
|
+
*/
|
|
640
|
+
'updated_at': string;
|
|
245
641
|
}
|
|
246
642
|
/**
|
|
247
643
|
*
|
|
@@ -320,6 +716,50 @@ export interface SyncResultSyncJobErrorInner {
|
|
|
320
716
|
*/
|
|
321
717
|
'type': string;
|
|
322
718
|
}
|
|
719
|
+
/**
|
|
720
|
+
*
|
|
721
|
+
* @export
|
|
722
|
+
* @interface VisitorSchedule
|
|
723
|
+
*/
|
|
724
|
+
export interface VisitorSchedule {
|
|
725
|
+
/**
|
|
726
|
+
*
|
|
727
|
+
* @type {string}
|
|
728
|
+
* @memberof VisitorSchedule
|
|
729
|
+
*/
|
|
730
|
+
'tower_id': string;
|
|
731
|
+
/**
|
|
732
|
+
*
|
|
733
|
+
* @type {string}
|
|
734
|
+
* @memberof VisitorSchedule
|
|
735
|
+
*/
|
|
736
|
+
'floor_id': string;
|
|
737
|
+
/**
|
|
738
|
+
*
|
|
739
|
+
* @type {VisitorScheduleFrom}
|
|
740
|
+
* @memberof VisitorSchedule
|
|
741
|
+
*/
|
|
742
|
+
'from': VisitorScheduleFrom;
|
|
743
|
+
/**
|
|
744
|
+
*
|
|
745
|
+
* @type {VisitorScheduleFrom}
|
|
746
|
+
* @memberof VisitorSchedule
|
|
747
|
+
*/
|
|
748
|
+
'to': VisitorScheduleFrom;
|
|
749
|
+
/**
|
|
750
|
+
*
|
|
751
|
+
* @type {object}
|
|
752
|
+
* @memberof VisitorSchedule
|
|
753
|
+
*/
|
|
754
|
+
'repetition'?: object;
|
|
755
|
+
}
|
|
756
|
+
/**
|
|
757
|
+
*
|
|
758
|
+
* @export
|
|
759
|
+
* @interface VisitorScheduleFrom
|
|
760
|
+
*/
|
|
761
|
+
export interface VisitorScheduleFrom {
|
|
762
|
+
}
|
|
323
763
|
/**
|
|
324
764
|
*
|
|
325
765
|
* @export
|
|
@@ -331,7 +771,7 @@ export interface WrappedResponseCreateVisitorResponse {
|
|
|
331
771
|
* @type {WrappedResponseCreateVisitorResponseData}
|
|
332
772
|
* @memberof WrappedResponseCreateVisitorResponse
|
|
333
773
|
*/
|
|
334
|
-
'data': WrappedResponseCreateVisitorResponseData;
|
|
774
|
+
'data': WrappedResponseCreateVisitorResponseData | null;
|
|
335
775
|
}
|
|
336
776
|
/**
|
|
337
777
|
*
|
|
@@ -351,6 +791,48 @@ export interface WrappedResponseCreateVisitorResponseData {
|
|
|
351
791
|
* @memberof WrappedResponseCreateVisitorResponseData
|
|
352
792
|
*/
|
|
353
793
|
'name': string;
|
|
794
|
+
/**
|
|
795
|
+
*
|
|
796
|
+
* @type {string}
|
|
797
|
+
* @memberof WrappedResponseCreateVisitorResponseData
|
|
798
|
+
*/
|
|
799
|
+
'profile_image_url': string;
|
|
800
|
+
/**
|
|
801
|
+
*
|
|
802
|
+
* @type {string}
|
|
803
|
+
* @memberof WrappedResponseCreateVisitorResponseData
|
|
804
|
+
*/
|
|
805
|
+
'email': string;
|
|
806
|
+
/**
|
|
807
|
+
*
|
|
808
|
+
* @type {string}
|
|
809
|
+
* @memberof WrappedResponseCreateVisitorResponseData
|
|
810
|
+
*/
|
|
811
|
+
'company_name': string;
|
|
812
|
+
/**
|
|
813
|
+
*
|
|
814
|
+
* @type {string}
|
|
815
|
+
* @memberof WrappedResponseCreateVisitorResponseData
|
|
816
|
+
*/
|
|
817
|
+
'reference': string;
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @type {string}
|
|
821
|
+
* @memberof WrappedResponseCreateVisitorResponseData
|
|
822
|
+
*/
|
|
823
|
+
'inviter_id': string;
|
|
824
|
+
/**
|
|
825
|
+
*
|
|
826
|
+
* @type {string}
|
|
827
|
+
* @memberof WrappedResponseCreateVisitorResponseData
|
|
828
|
+
*/
|
|
829
|
+
'created_at': string;
|
|
830
|
+
/**
|
|
831
|
+
*
|
|
832
|
+
* @type {string}
|
|
833
|
+
* @memberof WrappedResponseCreateVisitorResponseData
|
|
834
|
+
*/
|
|
835
|
+
'updated_at': string;
|
|
354
836
|
}
|
|
355
837
|
/**
|
|
356
838
|
*
|
|
@@ -384,6 +866,68 @@ export interface WrappedResponseFindMemberResultData {
|
|
|
384
866
|
*/
|
|
385
867
|
'member'?: FindMemberResultMember;
|
|
386
868
|
}
|
|
869
|
+
/**
|
|
870
|
+
*
|
|
871
|
+
* @export
|
|
872
|
+
* @interface WrappedResponseShowMemberResult
|
|
873
|
+
*/
|
|
874
|
+
export interface WrappedResponseShowMemberResult {
|
|
875
|
+
/**
|
|
876
|
+
*
|
|
877
|
+
* @type {WrappedResponseShowMemberResultData}
|
|
878
|
+
* @memberof WrappedResponseShowMemberResult
|
|
879
|
+
*/
|
|
880
|
+
'data': WrappedResponseShowMemberResultData;
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
*
|
|
884
|
+
* @export
|
|
885
|
+
* @interface WrappedResponseShowMemberResultData
|
|
886
|
+
*/
|
|
887
|
+
export interface WrappedResponseShowMemberResultData {
|
|
888
|
+
/**
|
|
889
|
+
*
|
|
890
|
+
* @type {string}
|
|
891
|
+
* @memberof WrappedResponseShowMemberResultData
|
|
892
|
+
*/
|
|
893
|
+
'id': string;
|
|
894
|
+
/**
|
|
895
|
+
*
|
|
896
|
+
* @type {string}
|
|
897
|
+
* @memberof WrappedResponseShowMemberResultData
|
|
898
|
+
*/
|
|
899
|
+
'uid': string;
|
|
900
|
+
/**
|
|
901
|
+
*
|
|
902
|
+
* @type {PrismaJsonValue}
|
|
903
|
+
* @memberof WrappedResponseShowMemberResultData
|
|
904
|
+
*/
|
|
905
|
+
'metadata': PrismaJsonValue | null;
|
|
906
|
+
/**
|
|
907
|
+
*
|
|
908
|
+
* @type {Array<ShowMemberTower>}
|
|
909
|
+
* @memberof WrappedResponseShowMemberResultData
|
|
910
|
+
*/
|
|
911
|
+
'towers': Array<ShowMemberTower>;
|
|
912
|
+
/**
|
|
913
|
+
*
|
|
914
|
+
* @type {Array<ShowMemberPass>}
|
|
915
|
+
* @memberof WrappedResponseShowMemberResultData
|
|
916
|
+
*/
|
|
917
|
+
'passes': Array<ShowMemberPass>;
|
|
918
|
+
/**
|
|
919
|
+
*
|
|
920
|
+
* @type {string}
|
|
921
|
+
* @memberof WrappedResponseShowMemberResultData
|
|
922
|
+
*/
|
|
923
|
+
'created_at': string;
|
|
924
|
+
/**
|
|
925
|
+
*
|
|
926
|
+
* @type {string}
|
|
927
|
+
* @memberof WrappedResponseShowMemberResultData
|
|
928
|
+
*/
|
|
929
|
+
'updated_at': string;
|
|
930
|
+
}
|
|
387
931
|
/**
|
|
388
932
|
*
|
|
389
933
|
* @export
|
|
@@ -395,7 +939,7 @@ export interface WrappedResponseShowVisitorResponse {
|
|
|
395
939
|
* @type {WrappedResponseShowVisitorResponseData}
|
|
396
940
|
* @memberof WrappedResponseShowVisitorResponse
|
|
397
941
|
*/
|
|
398
|
-
'data': WrappedResponseShowVisitorResponseData;
|
|
942
|
+
'data': WrappedResponseShowVisitorResponseData | null;
|
|
399
943
|
}
|
|
400
944
|
/**
|
|
401
945
|
*
|
|
@@ -415,6 +959,48 @@ export interface WrappedResponseShowVisitorResponseData {
|
|
|
415
959
|
* @memberof WrappedResponseShowVisitorResponseData
|
|
416
960
|
*/
|
|
417
961
|
'name': string;
|
|
962
|
+
/**
|
|
963
|
+
*
|
|
964
|
+
* @type {string}
|
|
965
|
+
* @memberof WrappedResponseShowVisitorResponseData
|
|
966
|
+
*/
|
|
967
|
+
'profile_image_url': string;
|
|
968
|
+
/**
|
|
969
|
+
*
|
|
970
|
+
* @type {string}
|
|
971
|
+
* @memberof WrappedResponseShowVisitorResponseData
|
|
972
|
+
*/
|
|
973
|
+
'email': string;
|
|
974
|
+
/**
|
|
975
|
+
*
|
|
976
|
+
* @type {string}
|
|
977
|
+
* @memberof WrappedResponseShowVisitorResponseData
|
|
978
|
+
*/
|
|
979
|
+
'company_name': string;
|
|
980
|
+
/**
|
|
981
|
+
*
|
|
982
|
+
* @type {string}
|
|
983
|
+
* @memberof WrappedResponseShowVisitorResponseData
|
|
984
|
+
*/
|
|
985
|
+
'reference': string;
|
|
986
|
+
/**
|
|
987
|
+
*
|
|
988
|
+
* @type {string}
|
|
989
|
+
* @memberof WrappedResponseShowVisitorResponseData
|
|
990
|
+
*/
|
|
991
|
+
'inviter_id': string;
|
|
992
|
+
/**
|
|
993
|
+
*
|
|
994
|
+
* @type {string}
|
|
995
|
+
* @memberof WrappedResponseShowVisitorResponseData
|
|
996
|
+
*/
|
|
997
|
+
'created_at': string;
|
|
998
|
+
/**
|
|
999
|
+
*
|
|
1000
|
+
* @type {string}
|
|
1001
|
+
* @memberof WrappedResponseShowVisitorResponseData
|
|
1002
|
+
*/
|
|
1003
|
+
'updated_at': string;
|
|
418
1004
|
}
|
|
419
1005
|
|
|
420
1006
|
/**
|
|
@@ -528,6 +1114,39 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
528
1114
|
options: localVarRequestOptions,
|
|
529
1115
|
};
|
|
530
1116
|
},
|
|
1117
|
+
/**
|
|
1118
|
+
*
|
|
1119
|
+
* @param {string} id
|
|
1120
|
+
* @param {*} [options] Override http request option.
|
|
1121
|
+
* @throws {RequiredError}
|
|
1122
|
+
*/
|
|
1123
|
+
memberShow: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1124
|
+
// verify required parameter 'id' is not null or undefined
|
|
1125
|
+
assertParamExists('memberShow', 'id', id)
|
|
1126
|
+
const localVarPath = `/members/{id}`
|
|
1127
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1128
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1129
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1130
|
+
let baseOptions;
|
|
1131
|
+
if (configuration) {
|
|
1132
|
+
baseOptions = configuration.baseOptions;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1136
|
+
const localVarHeaderParameter = {} as any;
|
|
1137
|
+
const localVarQueryParameter = {} as any;
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
|
+
|
|
1141
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1142
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1143
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1144
|
+
|
|
1145
|
+
return {
|
|
1146
|
+
url: toPathString(localVarUrlObj),
|
|
1147
|
+
options: localVarRequestOptions,
|
|
1148
|
+
};
|
|
1149
|
+
},
|
|
531
1150
|
/**
|
|
532
1151
|
*
|
|
533
1152
|
* @param {string} identifier
|
|
@@ -707,6 +1326,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
707
1326
|
const localVarAxiosArgs = await localVarAxiosParamCreator.integrationsFsMembersDelete(destroyFSMembers, options);
|
|
708
1327
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
709
1328
|
},
|
|
1329
|
+
/**
|
|
1330
|
+
*
|
|
1331
|
+
* @param {string} id
|
|
1332
|
+
* @param {*} [options] Override http request option.
|
|
1333
|
+
* @throws {RequiredError}
|
|
1334
|
+
*/
|
|
1335
|
+
async memberShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseShowMemberResult>> {
|
|
1336
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.memberShow(id, options);
|
|
1337
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1338
|
+
},
|
|
710
1339
|
/**
|
|
711
1340
|
*
|
|
712
1341
|
* @param {string} identifier
|
|
@@ -784,6 +1413,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
784
1413
|
integrationsFsMembersDelete(destroyFSMembers: DestroyFSMembers, options?: any): AxiosPromise<void> {
|
|
785
1414
|
return localVarFp.integrationsFsMembersDelete(destroyFSMembers, options).then((request) => request(axios, basePath));
|
|
786
1415
|
},
|
|
1416
|
+
/**
|
|
1417
|
+
*
|
|
1418
|
+
* @param {string} id
|
|
1419
|
+
* @param {*} [options] Override http request option.
|
|
1420
|
+
* @throws {RequiredError}
|
|
1421
|
+
*/
|
|
1422
|
+
memberShow(id: string, options?: any): AxiosPromise<WrappedResponseShowMemberResult> {
|
|
1423
|
+
return localVarFp.memberShow(id, options).then((request) => request(axios, basePath));
|
|
1424
|
+
},
|
|
787
1425
|
/**
|
|
788
1426
|
*
|
|
789
1427
|
* @param {string} identifier
|
|
@@ -863,6 +1501,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
863
1501
|
return DefaultApiFp(this.configuration).integrationsFsMembersDelete(destroyFSMembers, options).then((request) => request(this.axios, this.basePath));
|
|
864
1502
|
}
|
|
865
1503
|
|
|
1504
|
+
/**
|
|
1505
|
+
*
|
|
1506
|
+
* @param {string} id
|
|
1507
|
+
* @param {*} [options] Override http request option.
|
|
1508
|
+
* @throws {RequiredError}
|
|
1509
|
+
* @memberof DefaultApi
|
|
1510
|
+
*/
|
|
1511
|
+
public memberShow(id: string, options?: AxiosRequestConfig) {
|
|
1512
|
+
return DefaultApiFp(this.configuration).memberShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
1513
|
+
}
|
|
1514
|
+
|
|
866
1515
|
/**
|
|
867
1516
|
*
|
|
868
1517
|
* @param {string} identifier
|