ob-bms-sdk 0.0.93 → 0.0.95
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 +698 -24
- package/dist/api/api.d.ts +534 -19
- package/dist/api/api.js +270 -1
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -723,10 +723,10 @@ export interface BuildingAccessLogResult {
|
|
|
723
723
|
'updated_at': BuildingAccessLogResultCreatedAt;
|
|
724
724
|
/**
|
|
725
725
|
*
|
|
726
|
-
* @type {
|
|
726
|
+
* @type {MemberDataResult}
|
|
727
727
|
* @memberof BuildingAccessLogResult
|
|
728
728
|
*/
|
|
729
|
-
'member'?:
|
|
729
|
+
'member'?: MemberDataResult | null;
|
|
730
730
|
/**
|
|
731
731
|
*
|
|
732
732
|
* @type {VisitorResult}
|
|
@@ -1222,16 +1222,16 @@ export interface FetchParkingResult {
|
|
|
1222
1222
|
export interface FindMemberResult {
|
|
1223
1223
|
/**
|
|
1224
1224
|
*
|
|
1225
|
-
* @type {
|
|
1225
|
+
* @type {TenantMemberResultCreatedAt}
|
|
1226
1226
|
* @memberof FindMemberResult
|
|
1227
1227
|
*/
|
|
1228
|
-
'updated_at':
|
|
1228
|
+
'updated_at': TenantMemberResultCreatedAt;
|
|
1229
1229
|
/**
|
|
1230
1230
|
*
|
|
1231
|
-
* @type {
|
|
1231
|
+
* @type {TenantMemberResultCreatedAt}
|
|
1232
1232
|
* @memberof FindMemberResult
|
|
1233
1233
|
*/
|
|
1234
|
-
'created_at':
|
|
1234
|
+
'created_at': TenantMemberResultCreatedAt;
|
|
1235
1235
|
/**
|
|
1236
1236
|
*
|
|
1237
1237
|
* @type {JsonValue}
|
|
@@ -1257,13 +1257,6 @@ export interface FindMemberResult {
|
|
|
1257
1257
|
*/
|
|
1258
1258
|
'id': string;
|
|
1259
1259
|
}
|
|
1260
|
-
/**
|
|
1261
|
-
*
|
|
1262
|
-
* @export
|
|
1263
|
-
* @interface FindMemberResultUpdatedAt
|
|
1264
|
-
*/
|
|
1265
|
-
export interface FindMemberResultUpdatedAt {
|
|
1266
|
-
}
|
|
1267
1260
|
/**
|
|
1268
1261
|
*
|
|
1269
1262
|
* @export
|
|
@@ -1770,6 +1763,55 @@ export interface MemberAccessLog {
|
|
|
1770
1763
|
*/
|
|
1771
1764
|
'terminalPosition': number;
|
|
1772
1765
|
}
|
|
1766
|
+
/**
|
|
1767
|
+
*
|
|
1768
|
+
* @export
|
|
1769
|
+
* @interface MemberDataResult
|
|
1770
|
+
*/
|
|
1771
|
+
export interface MemberDataResult {
|
|
1772
|
+
/**
|
|
1773
|
+
*
|
|
1774
|
+
* @type {string}
|
|
1775
|
+
* @memberof MemberDataResult
|
|
1776
|
+
*/
|
|
1777
|
+
'id': string;
|
|
1778
|
+
/**
|
|
1779
|
+
*
|
|
1780
|
+
* @type {string}
|
|
1781
|
+
* @memberof MemberDataResult
|
|
1782
|
+
*/
|
|
1783
|
+
'uid': string;
|
|
1784
|
+
/**
|
|
1785
|
+
*
|
|
1786
|
+
* @type {string}
|
|
1787
|
+
* @memberof MemberDataResult
|
|
1788
|
+
*/
|
|
1789
|
+
'account_id'?: string | null;
|
|
1790
|
+
/**
|
|
1791
|
+
*
|
|
1792
|
+
* @type {JsonValue}
|
|
1793
|
+
* @memberof MemberDataResult
|
|
1794
|
+
*/
|
|
1795
|
+
'metadata'?: JsonValue | null;
|
|
1796
|
+
/**
|
|
1797
|
+
*
|
|
1798
|
+
* @type {string}
|
|
1799
|
+
* @memberof MemberDataResult
|
|
1800
|
+
*/
|
|
1801
|
+
'created_at': string;
|
|
1802
|
+
/**
|
|
1803
|
+
*
|
|
1804
|
+
* @type {string}
|
|
1805
|
+
* @memberof MemberDataResult
|
|
1806
|
+
*/
|
|
1807
|
+
'updated_at': string;
|
|
1808
|
+
/**
|
|
1809
|
+
*
|
|
1810
|
+
* @type {Array<TenantMemberResult>}
|
|
1811
|
+
* @memberof MemberDataResult
|
|
1812
|
+
*/
|
|
1813
|
+
'tenant_members': Array<TenantMemberResult>;
|
|
1814
|
+
}
|
|
1773
1815
|
/**
|
|
1774
1816
|
*
|
|
1775
1817
|
* @export
|
|
@@ -1837,6 +1879,61 @@ export interface MemberIndexInterface {
|
|
|
1837
1879
|
*/
|
|
1838
1880
|
'can_preregister'?: boolean;
|
|
1839
1881
|
}
|
|
1882
|
+
/**
|
|
1883
|
+
*
|
|
1884
|
+
* @export
|
|
1885
|
+
* @interface MemberResult
|
|
1886
|
+
*/
|
|
1887
|
+
export interface MemberResult {
|
|
1888
|
+
/**
|
|
1889
|
+
*
|
|
1890
|
+
* @type {string}
|
|
1891
|
+
* @memberof MemberResult
|
|
1892
|
+
*/
|
|
1893
|
+
'id': string;
|
|
1894
|
+
/**
|
|
1895
|
+
*
|
|
1896
|
+
* @type {string}
|
|
1897
|
+
* @memberof MemberResult
|
|
1898
|
+
*/
|
|
1899
|
+
'uid': string;
|
|
1900
|
+
/**
|
|
1901
|
+
*
|
|
1902
|
+
* @type {PrismaJsonValue}
|
|
1903
|
+
* @memberof MemberResult
|
|
1904
|
+
*/
|
|
1905
|
+
'metadata': PrismaJsonValue | null;
|
|
1906
|
+
/**
|
|
1907
|
+
*
|
|
1908
|
+
* @type {string}
|
|
1909
|
+
* @memberof MemberResult
|
|
1910
|
+
*/
|
|
1911
|
+
'account_id'?: string | null;
|
|
1912
|
+
/**
|
|
1913
|
+
*
|
|
1914
|
+
* @type {TenantMemberResultCreatedAt}
|
|
1915
|
+
* @memberof MemberResult
|
|
1916
|
+
*/
|
|
1917
|
+
'created_at': TenantMemberResultCreatedAt;
|
|
1918
|
+
/**
|
|
1919
|
+
*
|
|
1920
|
+
* @type {TenantMemberResultCreatedAt}
|
|
1921
|
+
* @memberof MemberResult
|
|
1922
|
+
*/
|
|
1923
|
+
'updated_at': TenantMemberResultCreatedAt;
|
|
1924
|
+
/**
|
|
1925
|
+
*
|
|
1926
|
+
* @type {string}
|
|
1927
|
+
* @memberof MemberResult
|
|
1928
|
+
*/
|
|
1929
|
+
'default_floor': string | null;
|
|
1930
|
+
/**
|
|
1931
|
+
*
|
|
1932
|
+
* @type {Array<TenantMemberResult>}
|
|
1933
|
+
* @memberof MemberResult
|
|
1934
|
+
*/
|
|
1935
|
+
'tenant_members': Array<TenantMemberResult> | null;
|
|
1936
|
+
}
|
|
1840
1937
|
/**
|
|
1841
1938
|
*
|
|
1842
1939
|
* @export
|
|
@@ -2002,6 +2099,186 @@ export interface ParkingFloorData {
|
|
|
2002
2099
|
*/
|
|
2003
2100
|
'total_available_slots': number;
|
|
2004
2101
|
}
|
|
2102
|
+
/**
|
|
2103
|
+
*
|
|
2104
|
+
* @export
|
|
2105
|
+
* @interface ParkingLogQuery
|
|
2106
|
+
*/
|
|
2107
|
+
export interface ParkingLogQuery {
|
|
2108
|
+
/**
|
|
2109
|
+
*
|
|
2110
|
+
* @type {string}
|
|
2111
|
+
* @memberof ParkingLogQuery
|
|
2112
|
+
*/
|
|
2113
|
+
'order_by'?: string;
|
|
2114
|
+
/**
|
|
2115
|
+
*
|
|
2116
|
+
* @type {string}
|
|
2117
|
+
* @memberof ParkingLogQuery
|
|
2118
|
+
*/
|
|
2119
|
+
'order_direction'?: string;
|
|
2120
|
+
/**
|
|
2121
|
+
*
|
|
2122
|
+
* @type {number}
|
|
2123
|
+
* @memberof ParkingLogQuery
|
|
2124
|
+
*/
|
|
2125
|
+
'page_number'?: number;
|
|
2126
|
+
/**
|
|
2127
|
+
*
|
|
2128
|
+
* @type {number}
|
|
2129
|
+
* @memberof ParkingLogQuery
|
|
2130
|
+
*/
|
|
2131
|
+
'page_size'?: number;
|
|
2132
|
+
/**
|
|
2133
|
+
*
|
|
2134
|
+
* @type {AccessorType}
|
|
2135
|
+
* @memberof ParkingLogQuery
|
|
2136
|
+
*/
|
|
2137
|
+
'type'?: AccessorType;
|
|
2138
|
+
/**
|
|
2139
|
+
*
|
|
2140
|
+
* @type {string}
|
|
2141
|
+
* @memberof ParkingLogQuery
|
|
2142
|
+
*/
|
|
2143
|
+
'gate'?: string;
|
|
2144
|
+
/**
|
|
2145
|
+
*
|
|
2146
|
+
* @type {string}
|
|
2147
|
+
* @memberof ParkingLogQuery
|
|
2148
|
+
*/
|
|
2149
|
+
'id'?: string;
|
|
2150
|
+
/**
|
|
2151
|
+
*
|
|
2152
|
+
* @type {string}
|
|
2153
|
+
* @memberof ParkingLogQuery
|
|
2154
|
+
*/
|
|
2155
|
+
'filter'?: string;
|
|
2156
|
+
/**
|
|
2157
|
+
*
|
|
2158
|
+
* @type {string}
|
|
2159
|
+
* @memberof ParkingLogQuery
|
|
2160
|
+
*/
|
|
2161
|
+
'startDate'?: string;
|
|
2162
|
+
/**
|
|
2163
|
+
*
|
|
2164
|
+
* @type {string}
|
|
2165
|
+
* @memberof ParkingLogQuery
|
|
2166
|
+
*/
|
|
2167
|
+
'endDate'?: string;
|
|
2168
|
+
}
|
|
2169
|
+
|
|
2170
|
+
|
|
2171
|
+
/**
|
|
2172
|
+
*
|
|
2173
|
+
* @export
|
|
2174
|
+
* @interface ParkingLogResult
|
|
2175
|
+
*/
|
|
2176
|
+
export interface ParkingLogResult {
|
|
2177
|
+
/**
|
|
2178
|
+
*
|
|
2179
|
+
* @type {string}
|
|
2180
|
+
* @memberof ParkingLogResult
|
|
2181
|
+
*/
|
|
2182
|
+
'id': string;
|
|
2183
|
+
/**
|
|
2184
|
+
*
|
|
2185
|
+
* @type {string}
|
|
2186
|
+
* @memberof ParkingLogResult
|
|
2187
|
+
*/
|
|
2188
|
+
'uid': string;
|
|
2189
|
+
/**
|
|
2190
|
+
*
|
|
2191
|
+
* @type {string}
|
|
2192
|
+
* @memberof ParkingLogResult
|
|
2193
|
+
*/
|
|
2194
|
+
'identifier': string;
|
|
2195
|
+
/**
|
|
2196
|
+
*
|
|
2197
|
+
* @type {AccessorType}
|
|
2198
|
+
* @memberof ParkingLogResult
|
|
2199
|
+
*/
|
|
2200
|
+
'type': AccessorType;
|
|
2201
|
+
/**
|
|
2202
|
+
*
|
|
2203
|
+
* @type {PositionStatus}
|
|
2204
|
+
* @memberof ParkingLogResult
|
|
2205
|
+
*/
|
|
2206
|
+
'status': PositionStatus;
|
|
2207
|
+
/**
|
|
2208
|
+
*
|
|
2209
|
+
* @type {string}
|
|
2210
|
+
* @memberof ParkingLogResult
|
|
2211
|
+
*/
|
|
2212
|
+
'terminal_id': string;
|
|
2213
|
+
/**
|
|
2214
|
+
*
|
|
2215
|
+
* @type {string}
|
|
2216
|
+
* @memberof ParkingLogResult
|
|
2217
|
+
*/
|
|
2218
|
+
'transaction_date': string;
|
|
2219
|
+
/**
|
|
2220
|
+
*
|
|
2221
|
+
* @type {string}
|
|
2222
|
+
* @memberof ParkingLogResult
|
|
2223
|
+
*/
|
|
2224
|
+
'plate_number': string;
|
|
2225
|
+
/**
|
|
2226
|
+
*
|
|
2227
|
+
* @type {PrismaJsonValue}
|
|
2228
|
+
* @memberof ParkingLogResult
|
|
2229
|
+
*/
|
|
2230
|
+
'data': PrismaJsonValue | null;
|
|
2231
|
+
/**
|
|
2232
|
+
*
|
|
2233
|
+
* @type {string}
|
|
2234
|
+
* @memberof ParkingLogResult
|
|
2235
|
+
*/
|
|
2236
|
+
'name': string;
|
|
2237
|
+
/**
|
|
2238
|
+
*
|
|
2239
|
+
* @type {string}
|
|
2240
|
+
* @memberof ParkingLogResult
|
|
2241
|
+
*/
|
|
2242
|
+
'display_status': string | null;
|
|
2243
|
+
/**
|
|
2244
|
+
*
|
|
2245
|
+
* @type {string}
|
|
2246
|
+
* @memberof ParkingLogResult
|
|
2247
|
+
*/
|
|
2248
|
+
'display_termianl': string | null;
|
|
2249
|
+
/**
|
|
2250
|
+
*
|
|
2251
|
+
* @type {TenantMemberResultCreatedAt}
|
|
2252
|
+
* @memberof ParkingLogResult
|
|
2253
|
+
*/
|
|
2254
|
+
'created_at': TenantMemberResultCreatedAt;
|
|
2255
|
+
/**
|
|
2256
|
+
*
|
|
2257
|
+
* @type {TenantMemberResultCreatedAt}
|
|
2258
|
+
* @memberof ParkingLogResult
|
|
2259
|
+
*/
|
|
2260
|
+
'updated_at': TenantMemberResultCreatedAt;
|
|
2261
|
+
/**
|
|
2262
|
+
*
|
|
2263
|
+
* @type {MemberResult}
|
|
2264
|
+
* @memberof ParkingLogResult
|
|
2265
|
+
*/
|
|
2266
|
+
'member': MemberResult;
|
|
2267
|
+
/**
|
|
2268
|
+
*
|
|
2269
|
+
* @type {string}
|
|
2270
|
+
* @memberof ParkingLogResult
|
|
2271
|
+
*/
|
|
2272
|
+
'durationTime'?: string;
|
|
2273
|
+
/**
|
|
2274
|
+
*
|
|
2275
|
+
* @type {string}
|
|
2276
|
+
* @memberof ParkingLogResult
|
|
2277
|
+
*/
|
|
2278
|
+
'accessGate'?: string;
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
|
|
2005
2282
|
/**
|
|
2006
2283
|
*
|
|
2007
2284
|
* @export
|
|
@@ -2499,6 +2776,20 @@ export interface PersonData {
|
|
|
2499
2776
|
*/
|
|
2500
2777
|
'canPreRegister': boolean;
|
|
2501
2778
|
}
|
|
2779
|
+
/**
|
|
2780
|
+
*
|
|
2781
|
+
* @export
|
|
2782
|
+
* @enum {string}
|
|
2783
|
+
*/
|
|
2784
|
+
|
|
2785
|
+
export const PositionStatus = {
|
|
2786
|
+
Onsite: 'onsite',
|
|
2787
|
+
Leave: 'leave'
|
|
2788
|
+
} as const;
|
|
2789
|
+
|
|
2790
|
+
export type PositionStatus = typeof PositionStatus[keyof typeof PositionStatus];
|
|
2791
|
+
|
|
2792
|
+
|
|
2502
2793
|
/**
|
|
2503
2794
|
* From https://github.com/sindresorhus/type-fest/ Matches any valid JSON value.
|
|
2504
2795
|
* @export
|
|
@@ -3396,6 +3687,84 @@ export interface TenantData {
|
|
|
3396
3687
|
*/
|
|
3397
3688
|
'id': string;
|
|
3398
3689
|
}
|
|
3690
|
+
/**
|
|
3691
|
+
*
|
|
3692
|
+
* @export
|
|
3693
|
+
* @interface TenantMemberResult
|
|
3694
|
+
*/
|
|
3695
|
+
export interface TenantMemberResult {
|
|
3696
|
+
/**
|
|
3697
|
+
*
|
|
3698
|
+
* @type {string}
|
|
3699
|
+
* @memberof TenantMemberResult
|
|
3700
|
+
*/
|
|
3701
|
+
'id': string;
|
|
3702
|
+
/**
|
|
3703
|
+
*
|
|
3704
|
+
* @type {string}
|
|
3705
|
+
* @memberof TenantMemberResult
|
|
3706
|
+
*/
|
|
3707
|
+
'tenant_id': string;
|
|
3708
|
+
/**
|
|
3709
|
+
*
|
|
3710
|
+
* @type {string}
|
|
3711
|
+
* @memberof TenantMemberResult
|
|
3712
|
+
*/
|
|
3713
|
+
'member_id': string;
|
|
3714
|
+
/**
|
|
3715
|
+
*
|
|
3716
|
+
* @type {TenantMemberRole}
|
|
3717
|
+
* @memberof TenantMemberResult
|
|
3718
|
+
*/
|
|
3719
|
+
'role': TenantMemberRole;
|
|
3720
|
+
/**
|
|
3721
|
+
*
|
|
3722
|
+
* @type {PrismaJsonValue}
|
|
3723
|
+
* @memberof TenantMemberResult
|
|
3724
|
+
*/
|
|
3725
|
+
'setting': PrismaJsonValue | null;
|
|
3726
|
+
/**
|
|
3727
|
+
*
|
|
3728
|
+
* @type {TenantMemberResultCreatedAt}
|
|
3729
|
+
* @memberof TenantMemberResult
|
|
3730
|
+
*/
|
|
3731
|
+
'created_at': TenantMemberResultCreatedAt;
|
|
3732
|
+
/**
|
|
3733
|
+
*
|
|
3734
|
+
* @type {TenantMemberResultCreatedAt}
|
|
3735
|
+
* @memberof TenantMemberResult
|
|
3736
|
+
*/
|
|
3737
|
+
'updated_at': TenantMemberResultCreatedAt;
|
|
3738
|
+
/**
|
|
3739
|
+
*
|
|
3740
|
+
* @type {Array<TenantData>}
|
|
3741
|
+
* @memberof TenantMemberResult
|
|
3742
|
+
*/
|
|
3743
|
+
'tenant': Array<TenantData> | null;
|
|
3744
|
+
}
|
|
3745
|
+
|
|
3746
|
+
|
|
3747
|
+
/**
|
|
3748
|
+
*
|
|
3749
|
+
* @export
|
|
3750
|
+
* @interface TenantMemberResultCreatedAt
|
|
3751
|
+
*/
|
|
3752
|
+
export interface TenantMemberResultCreatedAt {
|
|
3753
|
+
}
|
|
3754
|
+
/**
|
|
3755
|
+
*
|
|
3756
|
+
* @export
|
|
3757
|
+
* @enum {string}
|
|
3758
|
+
*/
|
|
3759
|
+
|
|
3760
|
+
export const TenantMemberRole = {
|
|
3761
|
+
Manager: 'manager',
|
|
3762
|
+
Staff: 'staff'
|
|
3763
|
+
} as const;
|
|
3764
|
+
|
|
3765
|
+
export type TenantMemberRole = typeof TenantMemberRole[keyof typeof TenantMemberRole];
|
|
3766
|
+
|
|
3767
|
+
|
|
3399
3768
|
/**
|
|
3400
3769
|
*
|
|
3401
3770
|
* @export
|
|
@@ -3528,10 +3897,10 @@ export interface UpdateMemberResponse {
|
|
|
3528
3897
|
export interface UpdateVisitorScheduleBody {
|
|
3529
3898
|
/**
|
|
3530
3899
|
*
|
|
3531
|
-
* @type {
|
|
3900
|
+
* @type {TenantMemberResultCreatedAt}
|
|
3532
3901
|
* @memberof UpdateVisitorScheduleBody
|
|
3533
3902
|
*/
|
|
3534
|
-
'deleted_at':
|
|
3903
|
+
'deleted_at': TenantMemberResultCreatedAt;
|
|
3535
3904
|
}
|
|
3536
3905
|
/**
|
|
3537
3906
|
*
|
|
@@ -3836,16 +4205,16 @@ export interface VisitorSchedule {
|
|
|
3836
4205
|
'floor_id': string;
|
|
3837
4206
|
/**
|
|
3838
4207
|
*
|
|
3839
|
-
* @type {
|
|
4208
|
+
* @type {TenantMemberResultCreatedAt}
|
|
3840
4209
|
* @memberof VisitorSchedule
|
|
3841
4210
|
*/
|
|
3842
|
-
'from':
|
|
4211
|
+
'from': TenantMemberResultCreatedAt;
|
|
3843
4212
|
/**
|
|
3844
4213
|
*
|
|
3845
|
-
* @type {
|
|
4214
|
+
* @type {TenantMemberResultCreatedAt}
|
|
3846
4215
|
* @memberof VisitorSchedule
|
|
3847
4216
|
*/
|
|
3848
|
-
'to':
|
|
4217
|
+
'to': TenantMemberResultCreatedAt;
|
|
3849
4218
|
/**
|
|
3850
4219
|
*
|
|
3851
4220
|
* @type {object}
|
|
@@ -4137,15 +4506,28 @@ export interface WrappedArrayResponseHolidayResponse {
|
|
|
4137
4506
|
/**
|
|
4138
4507
|
*
|
|
4139
4508
|
* @export
|
|
4140
|
-
* @interface WrappedArrayResponseIssueTypeData
|
|
4509
|
+
* @interface WrappedArrayResponseIssueTypeData
|
|
4510
|
+
*/
|
|
4511
|
+
export interface WrappedArrayResponseIssueTypeData {
|
|
4512
|
+
/**
|
|
4513
|
+
*
|
|
4514
|
+
* @type {Array<IssueTypeData>}
|
|
4515
|
+
* @memberof WrappedArrayResponseIssueTypeData
|
|
4516
|
+
*/
|
|
4517
|
+
'data': Array<IssueTypeData>;
|
|
4518
|
+
}
|
|
4519
|
+
/**
|
|
4520
|
+
*
|
|
4521
|
+
* @export
|
|
4522
|
+
* @interface WrappedArrayResponseParkingLogResult
|
|
4141
4523
|
*/
|
|
4142
|
-
export interface
|
|
4524
|
+
export interface WrappedArrayResponseParkingLogResult {
|
|
4143
4525
|
/**
|
|
4144
4526
|
*
|
|
4145
|
-
* @type {Array<
|
|
4146
|
-
* @memberof
|
|
4527
|
+
* @type {Array<ParkingLogResult>}
|
|
4528
|
+
* @memberof WrappedArrayResponseParkingLogResult
|
|
4147
4529
|
*/
|
|
4148
|
-
'data': Array<
|
|
4530
|
+
'data': Array<ParkingLogResult>;
|
|
4149
4531
|
}
|
|
4150
4532
|
/**
|
|
4151
4533
|
*
|
|
@@ -4225,6 +4607,19 @@ export interface WrappedOneResponseIssueTypeData {
|
|
|
4225
4607
|
*/
|
|
4226
4608
|
'data': IssueTypeData;
|
|
4227
4609
|
}
|
|
4610
|
+
/**
|
|
4611
|
+
*
|
|
4612
|
+
* @export
|
|
4613
|
+
* @interface WrappedOneResponseParkingLogResult
|
|
4614
|
+
*/
|
|
4615
|
+
export interface WrappedOneResponseParkingLogResult {
|
|
4616
|
+
/**
|
|
4617
|
+
*
|
|
4618
|
+
* @type {ParkingLogResult}
|
|
4619
|
+
* @memberof WrappedOneResponseParkingLogResult
|
|
4620
|
+
*/
|
|
4621
|
+
'data': ParkingLogResult;
|
|
4622
|
+
}
|
|
4228
4623
|
/**
|
|
4229
4624
|
*
|
|
4230
4625
|
* @export
|
|
@@ -6024,6 +6419,168 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
6024
6419
|
options: localVarRequestOptions,
|
|
6025
6420
|
};
|
|
6026
6421
|
},
|
|
6422
|
+
/**
|
|
6423
|
+
*
|
|
6424
|
+
* @param {string} [orderBy]
|
|
6425
|
+
* @param {string} [orderDirection]
|
|
6426
|
+
* @param {number} [pageNumber]
|
|
6427
|
+
* @param {number} [pageSize]
|
|
6428
|
+
* @param {AccessorType} [type]
|
|
6429
|
+
* @param {string} [gate]
|
|
6430
|
+
* @param {string} [id]
|
|
6431
|
+
* @param {string} [filter]
|
|
6432
|
+
* @param {string} [startDate]
|
|
6433
|
+
* @param {string} [endDate]
|
|
6434
|
+
* @param {*} [options] Override http request option.
|
|
6435
|
+
* @throws {RequiredError}
|
|
6436
|
+
*/
|
|
6437
|
+
parkingAccessLogsIndex: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6438
|
+
const localVarPath = `/parking_access`;
|
|
6439
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6440
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6441
|
+
let baseOptions;
|
|
6442
|
+
if (configuration) {
|
|
6443
|
+
baseOptions = configuration.baseOptions;
|
|
6444
|
+
}
|
|
6445
|
+
|
|
6446
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6447
|
+
const localVarHeaderParameter = {} as any;
|
|
6448
|
+
const localVarQueryParameter = {} as any;
|
|
6449
|
+
|
|
6450
|
+
if (orderBy !== undefined) {
|
|
6451
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
6452
|
+
}
|
|
6453
|
+
|
|
6454
|
+
if (orderDirection !== undefined) {
|
|
6455
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
6456
|
+
}
|
|
6457
|
+
|
|
6458
|
+
if (pageNumber !== undefined) {
|
|
6459
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
6460
|
+
}
|
|
6461
|
+
|
|
6462
|
+
if (pageSize !== undefined) {
|
|
6463
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
6464
|
+
}
|
|
6465
|
+
|
|
6466
|
+
if (type !== undefined) {
|
|
6467
|
+
localVarQueryParameter['type'] = type;
|
|
6468
|
+
}
|
|
6469
|
+
|
|
6470
|
+
if (gate !== undefined) {
|
|
6471
|
+
localVarQueryParameter['gate'] = gate;
|
|
6472
|
+
}
|
|
6473
|
+
|
|
6474
|
+
if (id !== undefined) {
|
|
6475
|
+
localVarQueryParameter['id'] = id;
|
|
6476
|
+
}
|
|
6477
|
+
|
|
6478
|
+
if (filter !== undefined) {
|
|
6479
|
+
localVarQueryParameter['filter'] = filter;
|
|
6480
|
+
}
|
|
6481
|
+
|
|
6482
|
+
if (startDate !== undefined) {
|
|
6483
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
6484
|
+
}
|
|
6485
|
+
|
|
6486
|
+
if (endDate !== undefined) {
|
|
6487
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
6488
|
+
}
|
|
6489
|
+
|
|
6490
|
+
|
|
6491
|
+
|
|
6492
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6493
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6494
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6495
|
+
|
|
6496
|
+
return {
|
|
6497
|
+
url: toPathString(localVarUrlObj),
|
|
6498
|
+
options: localVarRequestOptions,
|
|
6499
|
+
};
|
|
6500
|
+
},
|
|
6501
|
+
/**
|
|
6502
|
+
*
|
|
6503
|
+
* @param {string} id
|
|
6504
|
+
* @param {string} [orderBy]
|
|
6505
|
+
* @param {string} [orderDirection]
|
|
6506
|
+
* @param {number} [pageNumber]
|
|
6507
|
+
* @param {number} [pageSize]
|
|
6508
|
+
* @param {AccessorType} [type]
|
|
6509
|
+
* @param {string} [gate]
|
|
6510
|
+
* @param {string} [id2]
|
|
6511
|
+
* @param {string} [filter]
|
|
6512
|
+
* @param {string} [startDate]
|
|
6513
|
+
* @param {string} [endDate]
|
|
6514
|
+
* @param {*} [options] Override http request option.
|
|
6515
|
+
* @throws {RequiredError}
|
|
6516
|
+
*/
|
|
6517
|
+
parkingAccessLogsShow: async (id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id2?: string, filter?: string, startDate?: string, endDate?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6518
|
+
// verify required parameter 'id' is not null or undefined
|
|
6519
|
+
assertParamExists('parkingAccessLogsShow', 'id', id)
|
|
6520
|
+
const localVarPath = `/parking_access/{id}`
|
|
6521
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6522
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6523
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6524
|
+
let baseOptions;
|
|
6525
|
+
if (configuration) {
|
|
6526
|
+
baseOptions = configuration.baseOptions;
|
|
6527
|
+
}
|
|
6528
|
+
|
|
6529
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6530
|
+
const localVarHeaderParameter = {} as any;
|
|
6531
|
+
const localVarQueryParameter = {} as any;
|
|
6532
|
+
|
|
6533
|
+
if (orderBy !== undefined) {
|
|
6534
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
6535
|
+
}
|
|
6536
|
+
|
|
6537
|
+
if (orderDirection !== undefined) {
|
|
6538
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
6539
|
+
}
|
|
6540
|
+
|
|
6541
|
+
if (pageNumber !== undefined) {
|
|
6542
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
6543
|
+
}
|
|
6544
|
+
|
|
6545
|
+
if (pageSize !== undefined) {
|
|
6546
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
6547
|
+
}
|
|
6548
|
+
|
|
6549
|
+
if (type !== undefined) {
|
|
6550
|
+
localVarQueryParameter['type'] = type;
|
|
6551
|
+
}
|
|
6552
|
+
|
|
6553
|
+
if (gate !== undefined) {
|
|
6554
|
+
localVarQueryParameter['gate'] = gate;
|
|
6555
|
+
}
|
|
6556
|
+
|
|
6557
|
+
if (id2 !== undefined) {
|
|
6558
|
+
localVarQueryParameter['id'] = id2;
|
|
6559
|
+
}
|
|
6560
|
+
|
|
6561
|
+
if (filter !== undefined) {
|
|
6562
|
+
localVarQueryParameter['filter'] = filter;
|
|
6563
|
+
}
|
|
6564
|
+
|
|
6565
|
+
if (startDate !== undefined) {
|
|
6566
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
6567
|
+
}
|
|
6568
|
+
|
|
6569
|
+
if (endDate !== undefined) {
|
|
6570
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
6571
|
+
}
|
|
6572
|
+
|
|
6573
|
+
|
|
6574
|
+
|
|
6575
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6576
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6577
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6578
|
+
|
|
6579
|
+
return {
|
|
6580
|
+
url: toPathString(localVarUrlObj),
|
|
6581
|
+
options: localVarRequestOptions,
|
|
6582
|
+
};
|
|
6583
|
+
},
|
|
6027
6584
|
/**
|
|
6028
6585
|
*
|
|
6029
6586
|
* @param {*} [options] Override http request option.
|
|
@@ -7034,6 +7591,45 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
7034
7591
|
const localVarAxiosArgs = await localVarAxiosParamCreator.membersUpdate(id, updateMemberRequestBody, options);
|
|
7035
7592
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7036
7593
|
},
|
|
7594
|
+
/**
|
|
7595
|
+
*
|
|
7596
|
+
* @param {string} [orderBy]
|
|
7597
|
+
* @param {string} [orderDirection]
|
|
7598
|
+
* @param {number} [pageNumber]
|
|
7599
|
+
* @param {number} [pageSize]
|
|
7600
|
+
* @param {AccessorType} [type]
|
|
7601
|
+
* @param {string} [gate]
|
|
7602
|
+
* @param {string} [id]
|
|
7603
|
+
* @param {string} [filter]
|
|
7604
|
+
* @param {string} [startDate]
|
|
7605
|
+
* @param {string} [endDate]
|
|
7606
|
+
* @param {*} [options] Override http request option.
|
|
7607
|
+
* @throws {RequiredError}
|
|
7608
|
+
*/
|
|
7609
|
+
async parkingAccessLogsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseParkingLogResult>> {
|
|
7610
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, type, gate, id, filter, startDate, endDate, options);
|
|
7611
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7612
|
+
},
|
|
7613
|
+
/**
|
|
7614
|
+
*
|
|
7615
|
+
* @param {string} id
|
|
7616
|
+
* @param {string} [orderBy]
|
|
7617
|
+
* @param {string} [orderDirection]
|
|
7618
|
+
* @param {number} [pageNumber]
|
|
7619
|
+
* @param {number} [pageSize]
|
|
7620
|
+
* @param {AccessorType} [type]
|
|
7621
|
+
* @param {string} [gate]
|
|
7622
|
+
* @param {string} [id2]
|
|
7623
|
+
* @param {string} [filter]
|
|
7624
|
+
* @param {string} [startDate]
|
|
7625
|
+
* @param {string} [endDate]
|
|
7626
|
+
* @param {*} [options] Override http request option.
|
|
7627
|
+
* @throws {RequiredError}
|
|
7628
|
+
*/
|
|
7629
|
+
async parkingAccessLogsShow(id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id2?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseParkingLogResult>> {
|
|
7630
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingAccessLogsShow(id, orderBy, orderDirection, pageNumber, pageSize, type, gate, id2, filter, startDate, endDate, options);
|
|
7631
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7632
|
+
},
|
|
7037
7633
|
/**
|
|
7038
7634
|
*
|
|
7039
7635
|
* @param {*} [options] Override http request option.
|
|
@@ -7511,6 +8107,43 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
7511
8107
|
membersUpdate(id: string, updateMemberRequestBody: UpdateMemberRequestBody, options?: any): AxiosPromise<WrappedResponseUpdateMemberResponse> {
|
|
7512
8108
|
return localVarFp.membersUpdate(id, updateMemberRequestBody, options).then((request) => request(axios, basePath));
|
|
7513
8109
|
},
|
|
8110
|
+
/**
|
|
8111
|
+
*
|
|
8112
|
+
* @param {string} [orderBy]
|
|
8113
|
+
* @param {string} [orderDirection]
|
|
8114
|
+
* @param {number} [pageNumber]
|
|
8115
|
+
* @param {number} [pageSize]
|
|
8116
|
+
* @param {AccessorType} [type]
|
|
8117
|
+
* @param {string} [gate]
|
|
8118
|
+
* @param {string} [id]
|
|
8119
|
+
* @param {string} [filter]
|
|
8120
|
+
* @param {string} [startDate]
|
|
8121
|
+
* @param {string} [endDate]
|
|
8122
|
+
* @param {*} [options] Override http request option.
|
|
8123
|
+
* @throws {RequiredError}
|
|
8124
|
+
*/
|
|
8125
|
+
parkingAccessLogsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: any): AxiosPromise<WrappedArrayResponseParkingLogResult> {
|
|
8126
|
+
return localVarFp.parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, type, gate, id, filter, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
8127
|
+
},
|
|
8128
|
+
/**
|
|
8129
|
+
*
|
|
8130
|
+
* @param {string} id
|
|
8131
|
+
* @param {string} [orderBy]
|
|
8132
|
+
* @param {string} [orderDirection]
|
|
8133
|
+
* @param {number} [pageNumber]
|
|
8134
|
+
* @param {number} [pageSize]
|
|
8135
|
+
* @param {AccessorType} [type]
|
|
8136
|
+
* @param {string} [gate]
|
|
8137
|
+
* @param {string} [id2]
|
|
8138
|
+
* @param {string} [filter]
|
|
8139
|
+
* @param {string} [startDate]
|
|
8140
|
+
* @param {string} [endDate]
|
|
8141
|
+
* @param {*} [options] Override http request option.
|
|
8142
|
+
* @throws {RequiredError}
|
|
8143
|
+
*/
|
|
8144
|
+
parkingAccessLogsShow(id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id2?: string, filter?: string, startDate?: string, endDate?: string, options?: any): AxiosPromise<WrappedOneResponseParkingLogResult> {
|
|
8145
|
+
return localVarFp.parkingAccessLogsShow(id, orderBy, orderDirection, pageNumber, pageSize, type, gate, id2, filter, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
8146
|
+
},
|
|
7514
8147
|
/**
|
|
7515
8148
|
*
|
|
7516
8149
|
* @param {*} [options] Override http request option.
|
|
@@ -8019,6 +8652,47 @@ export class DefaultApi extends BaseAPI {
|
|
|
8019
8652
|
return DefaultApiFp(this.configuration).membersUpdate(id, updateMemberRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
8020
8653
|
}
|
|
8021
8654
|
|
|
8655
|
+
/**
|
|
8656
|
+
*
|
|
8657
|
+
* @param {string} [orderBy]
|
|
8658
|
+
* @param {string} [orderDirection]
|
|
8659
|
+
* @param {number} [pageNumber]
|
|
8660
|
+
* @param {number} [pageSize]
|
|
8661
|
+
* @param {AccessorType} [type]
|
|
8662
|
+
* @param {string} [gate]
|
|
8663
|
+
* @param {string} [id]
|
|
8664
|
+
* @param {string} [filter]
|
|
8665
|
+
* @param {string} [startDate]
|
|
8666
|
+
* @param {string} [endDate]
|
|
8667
|
+
* @param {*} [options] Override http request option.
|
|
8668
|
+
* @throws {RequiredError}
|
|
8669
|
+
* @memberof DefaultApi
|
|
8670
|
+
*/
|
|
8671
|
+
public parkingAccessLogsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig) {
|
|
8672
|
+
return DefaultApiFp(this.configuration).parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, type, gate, id, filter, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
8673
|
+
}
|
|
8674
|
+
|
|
8675
|
+
/**
|
|
8676
|
+
*
|
|
8677
|
+
* @param {string} id
|
|
8678
|
+
* @param {string} [orderBy]
|
|
8679
|
+
* @param {string} [orderDirection]
|
|
8680
|
+
* @param {number} [pageNumber]
|
|
8681
|
+
* @param {number} [pageSize]
|
|
8682
|
+
* @param {AccessorType} [type]
|
|
8683
|
+
* @param {string} [gate]
|
|
8684
|
+
* @param {string} [id2]
|
|
8685
|
+
* @param {string} [filter]
|
|
8686
|
+
* @param {string} [startDate]
|
|
8687
|
+
* @param {string} [endDate]
|
|
8688
|
+
* @param {*} [options] Override http request option.
|
|
8689
|
+
* @throws {RequiredError}
|
|
8690
|
+
* @memberof DefaultApi
|
|
8691
|
+
*/
|
|
8692
|
+
public parkingAccessLogsShow(id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id2?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig) {
|
|
8693
|
+
return DefaultApiFp(this.configuration).parkingAccessLogsShow(id, orderBy, orderDirection, pageNumber, pageSize, type, gate, id2, filter, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
8694
|
+
}
|
|
8695
|
+
|
|
8022
8696
|
/**
|
|
8023
8697
|
*
|
|
8024
8698
|
* @param {*} [options] Override http request option.
|