ob-bms-sdk 0.0.11 → 0.0.13

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 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 | null;
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 | null;
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
  *
@@ -133,10 +211,10 @@ export interface FindMemberResult {
133
211
  export interface FindMemberResultMember {
134
212
  /**
135
213
  *
136
- * @type {object}
214
+ * @type {{ [key: string]: any; }}
137
215
  * @memberof FindMemberResultMember
138
216
  */
139
- 'meta': object;
217
+ 'meta': { [key: string]: any; };
140
218
  /**
141
219
  *
142
220
  * @type {string}
@@ -248,7 +326,7 @@ export interface ShowMemberPass {
248
326
  * @type {string}
249
327
  * @memberof ShowMemberPass
250
328
  */
251
- 'uid': string;
329
+ 'uid': string | null;
252
330
  /**
253
331
  *
254
332
  * @type {string}
@@ -321,7 +399,7 @@ export interface ShowMemberPassVisitor {
321
399
  * @type {string}
322
400
  * @memberof ShowMemberPassVisitor
323
401
  */
324
- 'profile_image_url': string;
402
+ 'profile_image_url': string | null;
325
403
  /**
326
404
  *
327
405
  * @type {string}
@@ -518,6 +596,48 @@ export interface ShowVisitorResponse {
518
596
  * @memberof ShowVisitorResponse
519
597
  */
520
598
  'name': string;
599
+ /**
600
+ *
601
+ * @type {string}
602
+ * @memberof ShowVisitorResponse
603
+ */
604
+ 'profile_image_url': string | null;
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;
521
641
  }
522
642
  /**
523
643
  *
@@ -596,6 +716,50 @@ export interface SyncResultSyncJobErrorInner {
596
716
  */
597
717
  'type': string;
598
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
+ }
599
763
  /**
600
764
  *
601
765
  * @export
@@ -607,7 +771,7 @@ export interface WrappedResponseCreateVisitorResponse {
607
771
  * @type {WrappedResponseCreateVisitorResponseData}
608
772
  * @memberof WrappedResponseCreateVisitorResponse
609
773
  */
610
- 'data': WrappedResponseCreateVisitorResponseData;
774
+ 'data': WrappedResponseCreateVisitorResponseData | null;
611
775
  }
612
776
  /**
613
777
  *
@@ -627,6 +791,48 @@ export interface WrappedResponseCreateVisitorResponseData {
627
791
  * @memberof WrappedResponseCreateVisitorResponseData
628
792
  */
629
793
  'name': string;
794
+ /**
795
+ *
796
+ * @type {string}
797
+ * @memberof WrappedResponseCreateVisitorResponseData
798
+ */
799
+ 'profile_image_url': string | null;
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;
630
836
  }
631
837
  /**
632
838
  *
@@ -733,7 +939,7 @@ export interface WrappedResponseShowVisitorResponse {
733
939
  * @type {WrappedResponseShowVisitorResponseData}
734
940
  * @memberof WrappedResponseShowVisitorResponse
735
941
  */
736
- 'data': WrappedResponseShowVisitorResponseData;
942
+ 'data': WrappedResponseShowVisitorResponseData | null;
737
943
  }
738
944
  /**
739
945
  *
@@ -753,6 +959,48 @@ export interface WrappedResponseShowVisitorResponseData {
753
959
  * @memberof WrappedResponseShowVisitorResponseData
754
960
  */
755
961
  'name': string;
962
+ /**
963
+ *
964
+ * @type {string}
965
+ * @memberof WrappedResponseShowVisitorResponseData
966
+ */
967
+ 'profile_image_url': string | null;
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;
756
1004
  }
757
1005
 
758
1006
  /**
package/dist/api/api.d.ts CHANGED
@@ -63,6 +63,42 @@ export interface CreateVisitorBody {
63
63
  * @memberof CreateVisitorBody
64
64
  */
65
65
  'name': string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof CreateVisitorBody
70
+ */
71
+ 'profile_image_url': string | null;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof CreateVisitorBody
76
+ */
77
+ 'email': string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof CreateVisitorBody
82
+ */
83
+ 'company_name': string;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof CreateVisitorBody
88
+ */
89
+ 'reference': string;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof CreateVisitorBody
94
+ */
95
+ 'inviter_id': string;
96
+ /**
97
+ *
98
+ * @type {VisitorSchedule}
99
+ * @memberof CreateVisitorBody
100
+ */
101
+ 'visitor_schedule': VisitorSchedule;
66
102
  }
67
103
  /**
68
104
  *
@@ -82,6 +118,48 @@ export interface CreateVisitorResponse {
82
118
  * @memberof CreateVisitorResponse
83
119
  */
84
120
  'name': string;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof CreateVisitorResponse
125
+ */
126
+ 'profile_image_url': string | null;
127
+ /**
128
+ *
129
+ * @type {string}
130
+ * @memberof CreateVisitorResponse
131
+ */
132
+ 'email': string;
133
+ /**
134
+ *
135
+ * @type {string}
136
+ * @memberof CreateVisitorResponse
137
+ */
138
+ 'company_name': string;
139
+ /**
140
+ *
141
+ * @type {string}
142
+ * @memberof CreateVisitorResponse
143
+ */
144
+ 'reference': string;
145
+ /**
146
+ *
147
+ * @type {string}
148
+ * @memberof CreateVisitorResponse
149
+ */
150
+ 'inviter_id': string;
151
+ /**
152
+ *
153
+ * @type {string}
154
+ * @memberof CreateVisitorResponse
155
+ */
156
+ 'created_at': string;
157
+ /**
158
+ *
159
+ * @type {string}
160
+ * @memberof CreateVisitorResponse
161
+ */
162
+ 'updated_at': string;
85
163
  }
86
164
  /**
87
165
  *
@@ -123,10 +201,12 @@ export interface FindMemberResult {
123
201
  export interface FindMemberResultMember {
124
202
  /**
125
203
  *
126
- * @type {object}
204
+ * @type {{ [key: string]: any; }}
127
205
  * @memberof FindMemberResultMember
128
206
  */
129
- 'meta': object;
207
+ 'meta': {
208
+ [key: string]: any;
209
+ };
130
210
  /**
131
211
  *
132
212
  * @type {string}
@@ -238,7 +318,7 @@ export interface ShowMemberPass {
238
318
  * @type {string}
239
319
  * @memberof ShowMemberPass
240
320
  */
241
- 'uid': string;
321
+ 'uid': string | null;
242
322
  /**
243
323
  *
244
324
  * @type {string}
@@ -311,7 +391,7 @@ export interface ShowMemberPassVisitor {
311
391
  * @type {string}
312
392
  * @memberof ShowMemberPassVisitor
313
393
  */
314
- 'profile_image_url': string;
394
+ 'profile_image_url': string | null;
315
395
  /**
316
396
  *
317
397
  * @type {string}
@@ -508,6 +588,48 @@ export interface ShowVisitorResponse {
508
588
  * @memberof ShowVisitorResponse
509
589
  */
510
590
  'name': string;
591
+ /**
592
+ *
593
+ * @type {string}
594
+ * @memberof ShowVisitorResponse
595
+ */
596
+ 'profile_image_url': string | null;
597
+ /**
598
+ *
599
+ * @type {string}
600
+ * @memberof ShowVisitorResponse
601
+ */
602
+ 'email': string;
603
+ /**
604
+ *
605
+ * @type {string}
606
+ * @memberof ShowVisitorResponse
607
+ */
608
+ 'company_name': string;
609
+ /**
610
+ *
611
+ * @type {string}
612
+ * @memberof ShowVisitorResponse
613
+ */
614
+ 'reference': string;
615
+ /**
616
+ *
617
+ * @type {string}
618
+ * @memberof ShowVisitorResponse
619
+ */
620
+ 'inviter_id': string;
621
+ /**
622
+ *
623
+ * @type {string}
624
+ * @memberof ShowVisitorResponse
625
+ */
626
+ 'created_at': string;
627
+ /**
628
+ *
629
+ * @type {string}
630
+ * @memberof ShowVisitorResponse
631
+ */
632
+ 'updated_at': string;
511
633
  }
512
634
  /**
513
635
  *
@@ -586,6 +708,50 @@ export interface SyncResultSyncJobErrorInner {
586
708
  */
587
709
  'type': string;
588
710
  }
711
+ /**
712
+ *
713
+ * @export
714
+ * @interface VisitorSchedule
715
+ */
716
+ export interface VisitorSchedule {
717
+ /**
718
+ *
719
+ * @type {string}
720
+ * @memberof VisitorSchedule
721
+ */
722
+ 'tower_id': string;
723
+ /**
724
+ *
725
+ * @type {string}
726
+ * @memberof VisitorSchedule
727
+ */
728
+ 'floor_id': string;
729
+ /**
730
+ *
731
+ * @type {VisitorScheduleFrom}
732
+ * @memberof VisitorSchedule
733
+ */
734
+ 'from': VisitorScheduleFrom;
735
+ /**
736
+ *
737
+ * @type {VisitorScheduleFrom}
738
+ * @memberof VisitorSchedule
739
+ */
740
+ 'to': VisitorScheduleFrom;
741
+ /**
742
+ *
743
+ * @type {object}
744
+ * @memberof VisitorSchedule
745
+ */
746
+ 'repetition'?: object;
747
+ }
748
+ /**
749
+ *
750
+ * @export
751
+ * @interface VisitorScheduleFrom
752
+ */
753
+ export interface VisitorScheduleFrom {
754
+ }
589
755
  /**
590
756
  *
591
757
  * @export
@@ -597,7 +763,7 @@ export interface WrappedResponseCreateVisitorResponse {
597
763
  * @type {WrappedResponseCreateVisitorResponseData}
598
764
  * @memberof WrappedResponseCreateVisitorResponse
599
765
  */
600
- 'data': WrappedResponseCreateVisitorResponseData;
766
+ 'data': WrappedResponseCreateVisitorResponseData | null;
601
767
  }
602
768
  /**
603
769
  *
@@ -617,6 +783,48 @@ export interface WrappedResponseCreateVisitorResponseData {
617
783
  * @memberof WrappedResponseCreateVisitorResponseData
618
784
  */
619
785
  'name': string;
786
+ /**
787
+ *
788
+ * @type {string}
789
+ * @memberof WrappedResponseCreateVisitorResponseData
790
+ */
791
+ 'profile_image_url': string | null;
792
+ /**
793
+ *
794
+ * @type {string}
795
+ * @memberof WrappedResponseCreateVisitorResponseData
796
+ */
797
+ 'email': string;
798
+ /**
799
+ *
800
+ * @type {string}
801
+ * @memberof WrappedResponseCreateVisitorResponseData
802
+ */
803
+ 'company_name': string;
804
+ /**
805
+ *
806
+ * @type {string}
807
+ * @memberof WrappedResponseCreateVisitorResponseData
808
+ */
809
+ 'reference': string;
810
+ /**
811
+ *
812
+ * @type {string}
813
+ * @memberof WrappedResponseCreateVisitorResponseData
814
+ */
815
+ 'inviter_id': string;
816
+ /**
817
+ *
818
+ * @type {string}
819
+ * @memberof WrappedResponseCreateVisitorResponseData
820
+ */
821
+ 'created_at': string;
822
+ /**
823
+ *
824
+ * @type {string}
825
+ * @memberof WrappedResponseCreateVisitorResponseData
826
+ */
827
+ 'updated_at': string;
620
828
  }
621
829
  /**
622
830
  *
@@ -723,7 +931,7 @@ export interface WrappedResponseShowVisitorResponse {
723
931
  * @type {WrappedResponseShowVisitorResponseData}
724
932
  * @memberof WrappedResponseShowVisitorResponse
725
933
  */
726
- 'data': WrappedResponseShowVisitorResponseData;
934
+ 'data': WrappedResponseShowVisitorResponseData | null;
727
935
  }
728
936
  /**
729
937
  *
@@ -743,6 +951,48 @@ export interface WrappedResponseShowVisitorResponseData {
743
951
  * @memberof WrappedResponseShowVisitorResponseData
744
952
  */
745
953
  'name': string;
954
+ /**
955
+ *
956
+ * @type {string}
957
+ * @memberof WrappedResponseShowVisitorResponseData
958
+ */
959
+ 'profile_image_url': string | null;
960
+ /**
961
+ *
962
+ * @type {string}
963
+ * @memberof WrappedResponseShowVisitorResponseData
964
+ */
965
+ 'email': string;
966
+ /**
967
+ *
968
+ * @type {string}
969
+ * @memberof WrappedResponseShowVisitorResponseData
970
+ */
971
+ 'company_name': string;
972
+ /**
973
+ *
974
+ * @type {string}
975
+ * @memberof WrappedResponseShowVisitorResponseData
976
+ */
977
+ 'reference': string;
978
+ /**
979
+ *
980
+ * @type {string}
981
+ * @memberof WrappedResponseShowVisitorResponseData
982
+ */
983
+ 'inviter_id': string;
984
+ /**
985
+ *
986
+ * @type {string}
987
+ * @memberof WrappedResponseShowVisitorResponseData
988
+ */
989
+ 'created_at': string;
990
+ /**
991
+ *
992
+ * @type {string}
993
+ * @memberof WrappedResponseShowVisitorResponseData
994
+ */
995
+ 'updated_at': string;
746
996
  }
747
997
  /**
748
998
  * DefaultApi - axios parameter creator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"