ob-bms-sdk 0.0.45 → 0.0.46
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 +175 -62
- package/dist/api/api.d.ts +144 -62
- package/dist/api/api.js +52 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -394,6 +394,25 @@ export interface DestroyMembersResponse {
|
|
|
394
394
|
*/
|
|
395
395
|
'error': { [key: string]: any; } | null;
|
|
396
396
|
}
|
|
397
|
+
/**
|
|
398
|
+
*
|
|
399
|
+
* @export
|
|
400
|
+
* @interface FetchParkingResult
|
|
401
|
+
*/
|
|
402
|
+
export interface FetchParkingResult {
|
|
403
|
+
/**
|
|
404
|
+
*
|
|
405
|
+
* @type {boolean}
|
|
406
|
+
* @memberof FetchParkingResult
|
|
407
|
+
*/
|
|
408
|
+
'result': boolean;
|
|
409
|
+
/**
|
|
410
|
+
*
|
|
411
|
+
* @type {Array<SyncResultSyncJobErrorInner>}
|
|
412
|
+
* @memberof FetchParkingResult
|
|
413
|
+
*/
|
|
414
|
+
'error': Array<SyncResultSyncJobErrorInner>;
|
|
415
|
+
}
|
|
397
416
|
/**
|
|
398
417
|
*
|
|
399
418
|
* @export
|
|
@@ -795,6 +814,67 @@ export interface MembersShowResponse {
|
|
|
795
814
|
*/
|
|
796
815
|
'passed_turnstile': boolean;
|
|
797
816
|
}
|
|
817
|
+
/**
|
|
818
|
+
*
|
|
819
|
+
* @export
|
|
820
|
+
* @interface ParkingFloorData
|
|
821
|
+
*/
|
|
822
|
+
export interface ParkingFloorData {
|
|
823
|
+
/**
|
|
824
|
+
*
|
|
825
|
+
* @type {string}
|
|
826
|
+
* @memberof ParkingFloorData
|
|
827
|
+
*/
|
|
828
|
+
'id'?: string;
|
|
829
|
+
/**
|
|
830
|
+
*
|
|
831
|
+
* @type {string}
|
|
832
|
+
* @memberof ParkingFloorData
|
|
833
|
+
*/
|
|
834
|
+
'uid'?: string;
|
|
835
|
+
/**
|
|
836
|
+
*
|
|
837
|
+
* @type {string}
|
|
838
|
+
* @memberof ParkingFloorData
|
|
839
|
+
*/
|
|
840
|
+
'name'?: string;
|
|
841
|
+
/**
|
|
842
|
+
*
|
|
843
|
+
* @type {PrismaJsonValue}
|
|
844
|
+
* @memberof ParkingFloorData
|
|
845
|
+
*/
|
|
846
|
+
'display_name'?: PrismaJsonValue | null;
|
|
847
|
+
/**
|
|
848
|
+
*
|
|
849
|
+
* @type {string}
|
|
850
|
+
* @memberof ParkingFloorData
|
|
851
|
+
*/
|
|
852
|
+
'parking_tower_id'?: string;
|
|
853
|
+
/**
|
|
854
|
+
*
|
|
855
|
+
* @type {string}
|
|
856
|
+
* @memberof ParkingFloorData
|
|
857
|
+
*/
|
|
858
|
+
'created_at'?: string;
|
|
859
|
+
/**
|
|
860
|
+
*
|
|
861
|
+
* @type {string}
|
|
862
|
+
* @memberof ParkingFloorData
|
|
863
|
+
*/
|
|
864
|
+
'updated_at'?: string;
|
|
865
|
+
/**
|
|
866
|
+
*
|
|
867
|
+
* @type {Array<ParkingLotData>}
|
|
868
|
+
* @memberof ParkingFloorData
|
|
869
|
+
*/
|
|
870
|
+
'parking_lots': Array<ParkingLotData>;
|
|
871
|
+
/**
|
|
872
|
+
*
|
|
873
|
+
* @type {number}
|
|
874
|
+
* @memberof ParkingFloorData
|
|
875
|
+
*/
|
|
876
|
+
'total_available_slots': number;
|
|
877
|
+
}
|
|
798
878
|
/**
|
|
799
879
|
*
|
|
800
880
|
* @export
|
|
@@ -807,6 +887,12 @@ export interface ParkingLotData {
|
|
|
807
887
|
* @memberof ParkingLotData
|
|
808
888
|
*/
|
|
809
889
|
'id'?: string;
|
|
890
|
+
/**
|
|
891
|
+
*
|
|
892
|
+
* @type {string}
|
|
893
|
+
* @memberof ParkingLotData
|
|
894
|
+
*/
|
|
895
|
+
'uid'?: string;
|
|
810
896
|
/**
|
|
811
897
|
*
|
|
812
898
|
* @type {string}
|
|
@@ -836,7 +922,7 @@ export interface ParkingLotData {
|
|
|
836
922
|
* @type {string}
|
|
837
923
|
* @memberof ParkingLotData
|
|
838
924
|
*/
|
|
839
|
-
'
|
|
925
|
+
'parking_floor_id'?: string;
|
|
840
926
|
/**
|
|
841
927
|
*
|
|
842
928
|
* @type {Array<SpotTypeData>}
|
|
@@ -849,12 +935,6 @@ export interface ParkingLotData {
|
|
|
849
935
|
* @memberof ParkingLotData
|
|
850
936
|
*/
|
|
851
937
|
'total_available_slots': number;
|
|
852
|
-
/**
|
|
853
|
-
*
|
|
854
|
-
* @type {ZoneData}
|
|
855
|
-
* @memberof ParkingLotData
|
|
856
|
-
*/
|
|
857
|
-
'zone': ZoneData;
|
|
858
938
|
}
|
|
859
939
|
/**
|
|
860
940
|
*
|
|
@@ -2051,6 +2131,38 @@ export interface WrappedResponseCreateVisitorResponseData {
|
|
|
2051
2131
|
*/
|
|
2052
2132
|
'updated_at': string;
|
|
2053
2133
|
}
|
|
2134
|
+
/**
|
|
2135
|
+
*
|
|
2136
|
+
* @export
|
|
2137
|
+
* @interface WrappedResponseFetchParkingResult
|
|
2138
|
+
*/
|
|
2139
|
+
export interface WrappedResponseFetchParkingResult {
|
|
2140
|
+
/**
|
|
2141
|
+
*
|
|
2142
|
+
* @type {WrappedResponseFetchParkingResultData}
|
|
2143
|
+
* @memberof WrappedResponseFetchParkingResult
|
|
2144
|
+
*/
|
|
2145
|
+
'data': WrappedResponseFetchParkingResultData | null;
|
|
2146
|
+
}
|
|
2147
|
+
/**
|
|
2148
|
+
*
|
|
2149
|
+
* @export
|
|
2150
|
+
* @interface WrappedResponseFetchParkingResultData
|
|
2151
|
+
*/
|
|
2152
|
+
export interface WrappedResponseFetchParkingResultData {
|
|
2153
|
+
/**
|
|
2154
|
+
*
|
|
2155
|
+
* @type {boolean}
|
|
2156
|
+
* @memberof WrappedResponseFetchParkingResultData
|
|
2157
|
+
*/
|
|
2158
|
+
'result': boolean;
|
|
2159
|
+
/**
|
|
2160
|
+
*
|
|
2161
|
+
* @type {Array<SyncResultSyncJobErrorInner>}
|
|
2162
|
+
* @memberof WrappedResponseFetchParkingResultData
|
|
2163
|
+
*/
|
|
2164
|
+
'error': Array<SyncResultSyncJobErrorInner>;
|
|
2165
|
+
}
|
|
2054
2166
|
/**
|
|
2055
2167
|
*
|
|
2056
2168
|
* @export
|
|
@@ -2468,61 +2580,6 @@ export interface WrappedResponseUpdateMemberResponseData {
|
|
|
2468
2580
|
*/
|
|
2469
2581
|
'result': boolean | null;
|
|
2470
2582
|
}
|
|
2471
|
-
/**
|
|
2472
|
-
*
|
|
2473
|
-
* @export
|
|
2474
|
-
* @interface ZoneData
|
|
2475
|
-
*/
|
|
2476
|
-
export interface ZoneData {
|
|
2477
|
-
/**
|
|
2478
|
-
*
|
|
2479
|
-
* @type {TowerData}
|
|
2480
|
-
* @memberof ZoneData
|
|
2481
|
-
*/
|
|
2482
|
-
'tower': TowerData;
|
|
2483
|
-
/**
|
|
2484
|
-
*
|
|
2485
|
-
* @type {string}
|
|
2486
|
-
* @memberof ZoneData
|
|
2487
|
-
*/
|
|
2488
|
-
'id'?: string;
|
|
2489
|
-
/**
|
|
2490
|
-
*
|
|
2491
|
-
* @type {string}
|
|
2492
|
-
* @memberof ZoneData
|
|
2493
|
-
*/
|
|
2494
|
-
'uid'?: string;
|
|
2495
|
-
/**
|
|
2496
|
-
*
|
|
2497
|
-
* @type {string}
|
|
2498
|
-
* @memberof ZoneData
|
|
2499
|
-
*/
|
|
2500
|
-
'name'?: string;
|
|
2501
|
-
/**
|
|
2502
|
-
*
|
|
2503
|
-
* @type {PrismaJsonValue}
|
|
2504
|
-
* @memberof ZoneData
|
|
2505
|
-
*/
|
|
2506
|
-
'display_name'?: PrismaJsonValue | null;
|
|
2507
|
-
/**
|
|
2508
|
-
*
|
|
2509
|
-
* @type {string}
|
|
2510
|
-
* @memberof ZoneData
|
|
2511
|
-
*/
|
|
2512
|
-
'tower_id'?: string;
|
|
2513
|
-
/**
|
|
2514
|
-
*
|
|
2515
|
-
* @type {string}
|
|
2516
|
-
* @memberof ZoneData
|
|
2517
|
-
*/
|
|
2518
|
-
'created_at'?: string;
|
|
2519
|
-
/**
|
|
2520
|
-
*
|
|
2521
|
-
* @type {string}
|
|
2522
|
-
* @memberof ZoneData
|
|
2523
|
-
*/
|
|
2524
|
-
'updated_at'?: string;
|
|
2525
|
-
}
|
|
2526
2583
|
|
|
2527
2584
|
/**
|
|
2528
2585
|
* DefaultApi - axios parameter creator
|
|
@@ -2565,6 +2622,35 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2565
2622
|
options: localVarRequestOptions,
|
|
2566
2623
|
};
|
|
2567
2624
|
},
|
|
2625
|
+
/**
|
|
2626
|
+
*
|
|
2627
|
+
* @param {*} [options] Override http request option.
|
|
2628
|
+
* @throws {RequiredError}
|
|
2629
|
+
*/
|
|
2630
|
+
fetch: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2631
|
+
const localVarPath = `/integrations/fs/parking`;
|
|
2632
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2633
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2634
|
+
let baseOptions;
|
|
2635
|
+
if (configuration) {
|
|
2636
|
+
baseOptions = configuration.baseOptions;
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2640
|
+
const localVarHeaderParameter = {} as any;
|
|
2641
|
+
const localVarQueryParameter = {} as any;
|
|
2642
|
+
|
|
2643
|
+
|
|
2644
|
+
|
|
2645
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2646
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2647
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2648
|
+
|
|
2649
|
+
return {
|
|
2650
|
+
url: toPathString(localVarUrlObj),
|
|
2651
|
+
options: localVarRequestOptions,
|
|
2652
|
+
};
|
|
2653
|
+
},
|
|
2568
2654
|
/**
|
|
2569
2655
|
*
|
|
2570
2656
|
* @param {CreateFSMembersBody} createFSMembersBody
|
|
@@ -3157,6 +3243,15 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3157
3243
|
const localVarAxiosArgs = await localVarAxiosParamCreator.create(webhookCreateBody, options);
|
|
3158
3244
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3159
3245
|
},
|
|
3246
|
+
/**
|
|
3247
|
+
*
|
|
3248
|
+
* @param {*} [options] Override http request option.
|
|
3249
|
+
* @throws {RequiredError}
|
|
3250
|
+
*/
|
|
3251
|
+
async fetch(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFetchParkingResult>> {
|
|
3252
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetch(options);
|
|
3253
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3254
|
+
},
|
|
3160
3255
|
/**
|
|
3161
3256
|
*
|
|
3162
3257
|
* @param {CreateFSMembersBody} createFSMembersBody
|
|
@@ -3342,6 +3437,14 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3342
3437
|
create(webhookCreateBody: WebhookCreateBody, options?: any): AxiosPromise<void> {
|
|
3343
3438
|
return localVarFp.create(webhookCreateBody, options).then((request) => request(axios, basePath));
|
|
3344
3439
|
},
|
|
3440
|
+
/**
|
|
3441
|
+
*
|
|
3442
|
+
* @param {*} [options] Override http request option.
|
|
3443
|
+
* @throws {RequiredError}
|
|
3444
|
+
*/
|
|
3445
|
+
fetch(options?: any): AxiosPromise<WrappedResponseFetchParkingResult> {
|
|
3446
|
+
return localVarFp.fetch(options).then((request) => request(axios, basePath));
|
|
3447
|
+
},
|
|
3345
3448
|
/**
|
|
3346
3449
|
*
|
|
3347
3450
|
* @param {CreateFSMembersBody} createFSMembersBody
|
|
@@ -3513,6 +3616,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
3513
3616
|
return DefaultApiFp(this.configuration).create(webhookCreateBody, options).then((request) => request(this.axios, this.basePath));
|
|
3514
3617
|
}
|
|
3515
3618
|
|
|
3619
|
+
/**
|
|
3620
|
+
*
|
|
3621
|
+
* @param {*} [options] Override http request option.
|
|
3622
|
+
* @throws {RequiredError}
|
|
3623
|
+
* @memberof DefaultApi
|
|
3624
|
+
*/
|
|
3625
|
+
public fetch(options?: AxiosRequestConfig) {
|
|
3626
|
+
return DefaultApiFp(this.configuration).fetch(options).then((request) => request(this.axios, this.basePath));
|
|
3627
|
+
}
|
|
3628
|
+
|
|
3516
3629
|
/**
|
|
3517
3630
|
*
|
|
3518
3631
|
* @param {CreateFSMembersBody} createFSMembersBody
|
package/dist/api/api.d.ts
CHANGED
|
@@ -392,6 +392,25 @@ export interface DestroyMembersResponse {
|
|
|
392
392
|
[key: string]: any;
|
|
393
393
|
} | null;
|
|
394
394
|
}
|
|
395
|
+
/**
|
|
396
|
+
*
|
|
397
|
+
* @export
|
|
398
|
+
* @interface FetchParkingResult
|
|
399
|
+
*/
|
|
400
|
+
export interface FetchParkingResult {
|
|
401
|
+
/**
|
|
402
|
+
*
|
|
403
|
+
* @type {boolean}
|
|
404
|
+
* @memberof FetchParkingResult
|
|
405
|
+
*/
|
|
406
|
+
'result': boolean;
|
|
407
|
+
/**
|
|
408
|
+
*
|
|
409
|
+
* @type {Array<SyncResultSyncJobErrorInner>}
|
|
410
|
+
* @memberof FetchParkingResult
|
|
411
|
+
*/
|
|
412
|
+
'error': Array<SyncResultSyncJobErrorInner>;
|
|
413
|
+
}
|
|
395
414
|
/**
|
|
396
415
|
*
|
|
397
416
|
* @export
|
|
@@ -793,6 +812,67 @@ export interface MembersShowResponse {
|
|
|
793
812
|
*/
|
|
794
813
|
'passed_turnstile': boolean;
|
|
795
814
|
}
|
|
815
|
+
/**
|
|
816
|
+
*
|
|
817
|
+
* @export
|
|
818
|
+
* @interface ParkingFloorData
|
|
819
|
+
*/
|
|
820
|
+
export interface ParkingFloorData {
|
|
821
|
+
/**
|
|
822
|
+
*
|
|
823
|
+
* @type {string}
|
|
824
|
+
* @memberof ParkingFloorData
|
|
825
|
+
*/
|
|
826
|
+
'id'?: string;
|
|
827
|
+
/**
|
|
828
|
+
*
|
|
829
|
+
* @type {string}
|
|
830
|
+
* @memberof ParkingFloorData
|
|
831
|
+
*/
|
|
832
|
+
'uid'?: string;
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @type {string}
|
|
836
|
+
* @memberof ParkingFloorData
|
|
837
|
+
*/
|
|
838
|
+
'name'?: string;
|
|
839
|
+
/**
|
|
840
|
+
*
|
|
841
|
+
* @type {PrismaJsonValue}
|
|
842
|
+
* @memberof ParkingFloorData
|
|
843
|
+
*/
|
|
844
|
+
'display_name'?: PrismaJsonValue | null;
|
|
845
|
+
/**
|
|
846
|
+
*
|
|
847
|
+
* @type {string}
|
|
848
|
+
* @memberof ParkingFloorData
|
|
849
|
+
*/
|
|
850
|
+
'parking_tower_id'?: string;
|
|
851
|
+
/**
|
|
852
|
+
*
|
|
853
|
+
* @type {string}
|
|
854
|
+
* @memberof ParkingFloorData
|
|
855
|
+
*/
|
|
856
|
+
'created_at'?: string;
|
|
857
|
+
/**
|
|
858
|
+
*
|
|
859
|
+
* @type {string}
|
|
860
|
+
* @memberof ParkingFloorData
|
|
861
|
+
*/
|
|
862
|
+
'updated_at'?: string;
|
|
863
|
+
/**
|
|
864
|
+
*
|
|
865
|
+
* @type {Array<ParkingLotData>}
|
|
866
|
+
* @memberof ParkingFloorData
|
|
867
|
+
*/
|
|
868
|
+
'parking_lots': Array<ParkingLotData>;
|
|
869
|
+
/**
|
|
870
|
+
*
|
|
871
|
+
* @type {number}
|
|
872
|
+
* @memberof ParkingFloorData
|
|
873
|
+
*/
|
|
874
|
+
'total_available_slots': number;
|
|
875
|
+
}
|
|
796
876
|
/**
|
|
797
877
|
*
|
|
798
878
|
* @export
|
|
@@ -805,6 +885,12 @@ export interface ParkingLotData {
|
|
|
805
885
|
* @memberof ParkingLotData
|
|
806
886
|
*/
|
|
807
887
|
'id'?: string;
|
|
888
|
+
/**
|
|
889
|
+
*
|
|
890
|
+
* @type {string}
|
|
891
|
+
* @memberof ParkingLotData
|
|
892
|
+
*/
|
|
893
|
+
'uid'?: string;
|
|
808
894
|
/**
|
|
809
895
|
*
|
|
810
896
|
* @type {string}
|
|
@@ -834,7 +920,7 @@ export interface ParkingLotData {
|
|
|
834
920
|
* @type {string}
|
|
835
921
|
* @memberof ParkingLotData
|
|
836
922
|
*/
|
|
837
|
-
'
|
|
923
|
+
'parking_floor_id'?: string;
|
|
838
924
|
/**
|
|
839
925
|
*
|
|
840
926
|
* @type {Array<SpotTypeData>}
|
|
@@ -847,12 +933,6 @@ export interface ParkingLotData {
|
|
|
847
933
|
* @memberof ParkingLotData
|
|
848
934
|
*/
|
|
849
935
|
'total_available_slots': number;
|
|
850
|
-
/**
|
|
851
|
-
*
|
|
852
|
-
* @type {ZoneData}
|
|
853
|
-
* @memberof ParkingLotData
|
|
854
|
-
*/
|
|
855
|
-
'zone': ZoneData;
|
|
856
936
|
}
|
|
857
937
|
/**
|
|
858
938
|
*
|
|
@@ -2040,6 +2120,38 @@ export interface WrappedResponseCreateVisitorResponseData {
|
|
|
2040
2120
|
*/
|
|
2041
2121
|
'updated_at': string;
|
|
2042
2122
|
}
|
|
2123
|
+
/**
|
|
2124
|
+
*
|
|
2125
|
+
* @export
|
|
2126
|
+
* @interface WrappedResponseFetchParkingResult
|
|
2127
|
+
*/
|
|
2128
|
+
export interface WrappedResponseFetchParkingResult {
|
|
2129
|
+
/**
|
|
2130
|
+
*
|
|
2131
|
+
* @type {WrappedResponseFetchParkingResultData}
|
|
2132
|
+
* @memberof WrappedResponseFetchParkingResult
|
|
2133
|
+
*/
|
|
2134
|
+
'data': WrappedResponseFetchParkingResultData | null;
|
|
2135
|
+
}
|
|
2136
|
+
/**
|
|
2137
|
+
*
|
|
2138
|
+
* @export
|
|
2139
|
+
* @interface WrappedResponseFetchParkingResultData
|
|
2140
|
+
*/
|
|
2141
|
+
export interface WrappedResponseFetchParkingResultData {
|
|
2142
|
+
/**
|
|
2143
|
+
*
|
|
2144
|
+
* @type {boolean}
|
|
2145
|
+
* @memberof WrappedResponseFetchParkingResultData
|
|
2146
|
+
*/
|
|
2147
|
+
'result': boolean;
|
|
2148
|
+
/**
|
|
2149
|
+
*
|
|
2150
|
+
* @type {Array<SyncResultSyncJobErrorInner>}
|
|
2151
|
+
* @memberof WrappedResponseFetchParkingResultData
|
|
2152
|
+
*/
|
|
2153
|
+
'error': Array<SyncResultSyncJobErrorInner>;
|
|
2154
|
+
}
|
|
2043
2155
|
/**
|
|
2044
2156
|
*
|
|
2045
2157
|
* @export
|
|
@@ -2451,61 +2563,6 @@ export interface WrappedResponseUpdateMemberResponseData {
|
|
|
2451
2563
|
*/
|
|
2452
2564
|
'result': boolean | null;
|
|
2453
2565
|
}
|
|
2454
|
-
/**
|
|
2455
|
-
*
|
|
2456
|
-
* @export
|
|
2457
|
-
* @interface ZoneData
|
|
2458
|
-
*/
|
|
2459
|
-
export interface ZoneData {
|
|
2460
|
-
/**
|
|
2461
|
-
*
|
|
2462
|
-
* @type {TowerData}
|
|
2463
|
-
* @memberof ZoneData
|
|
2464
|
-
*/
|
|
2465
|
-
'tower': TowerData;
|
|
2466
|
-
/**
|
|
2467
|
-
*
|
|
2468
|
-
* @type {string}
|
|
2469
|
-
* @memberof ZoneData
|
|
2470
|
-
*/
|
|
2471
|
-
'id'?: string;
|
|
2472
|
-
/**
|
|
2473
|
-
*
|
|
2474
|
-
* @type {string}
|
|
2475
|
-
* @memberof ZoneData
|
|
2476
|
-
*/
|
|
2477
|
-
'uid'?: string;
|
|
2478
|
-
/**
|
|
2479
|
-
*
|
|
2480
|
-
* @type {string}
|
|
2481
|
-
* @memberof ZoneData
|
|
2482
|
-
*/
|
|
2483
|
-
'name'?: string;
|
|
2484
|
-
/**
|
|
2485
|
-
*
|
|
2486
|
-
* @type {PrismaJsonValue}
|
|
2487
|
-
* @memberof ZoneData
|
|
2488
|
-
*/
|
|
2489
|
-
'display_name'?: PrismaJsonValue | null;
|
|
2490
|
-
/**
|
|
2491
|
-
*
|
|
2492
|
-
* @type {string}
|
|
2493
|
-
* @memberof ZoneData
|
|
2494
|
-
*/
|
|
2495
|
-
'tower_id'?: string;
|
|
2496
|
-
/**
|
|
2497
|
-
*
|
|
2498
|
-
* @type {string}
|
|
2499
|
-
* @memberof ZoneData
|
|
2500
|
-
*/
|
|
2501
|
-
'created_at'?: string;
|
|
2502
|
-
/**
|
|
2503
|
-
*
|
|
2504
|
-
* @type {string}
|
|
2505
|
-
* @memberof ZoneData
|
|
2506
|
-
*/
|
|
2507
|
-
'updated_at'?: string;
|
|
2508
|
-
}
|
|
2509
2566
|
/**
|
|
2510
2567
|
* DefaultApi - axios parameter creator
|
|
2511
2568
|
* @export
|
|
@@ -2518,6 +2575,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2518
2575
|
* @throws {RequiredError}
|
|
2519
2576
|
*/
|
|
2520
2577
|
create: (webhookCreateBody: WebhookCreateBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2578
|
+
/**
|
|
2579
|
+
*
|
|
2580
|
+
* @param {*} [options] Override http request option.
|
|
2581
|
+
* @throws {RequiredError}
|
|
2582
|
+
*/
|
|
2583
|
+
fetch: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2521
2584
|
/**
|
|
2522
2585
|
*
|
|
2523
2586
|
* @param {CreateFSMembersBody} createFSMembersBody
|
|
@@ -2649,6 +2712,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2649
2712
|
* @throws {RequiredError}
|
|
2650
2713
|
*/
|
|
2651
2714
|
create(webhookCreateBody: WebhookCreateBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2715
|
+
/**
|
|
2716
|
+
*
|
|
2717
|
+
* @param {*} [options] Override http request option.
|
|
2718
|
+
* @throws {RequiredError}
|
|
2719
|
+
*/
|
|
2720
|
+
fetch(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFetchParkingResult>>;
|
|
2652
2721
|
/**
|
|
2653
2722
|
*
|
|
2654
2723
|
* @param {CreateFSMembersBody} createFSMembersBody
|
|
@@ -2780,6 +2849,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2780
2849
|
* @throws {RequiredError}
|
|
2781
2850
|
*/
|
|
2782
2851
|
create(webhookCreateBody: WebhookCreateBody, options?: any): AxiosPromise<void>;
|
|
2852
|
+
/**
|
|
2853
|
+
*
|
|
2854
|
+
* @param {*} [options] Override http request option.
|
|
2855
|
+
* @throws {RequiredError}
|
|
2856
|
+
*/
|
|
2857
|
+
fetch(options?: any): AxiosPromise<WrappedResponseFetchParkingResult>;
|
|
2783
2858
|
/**
|
|
2784
2859
|
*
|
|
2785
2860
|
* @param {CreateFSMembersBody} createFSMembersBody
|
|
@@ -2914,6 +2989,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2914
2989
|
* @memberof DefaultApi
|
|
2915
2990
|
*/
|
|
2916
2991
|
create(webhookCreateBody: WebhookCreateBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2992
|
+
/**
|
|
2993
|
+
*
|
|
2994
|
+
* @param {*} [options] Override http request option.
|
|
2995
|
+
* @throws {RequiredError}
|
|
2996
|
+
* @memberof DefaultApi
|
|
2997
|
+
*/
|
|
2998
|
+
fetch(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFetchParkingResult, any>>;
|
|
2917
2999
|
/**
|
|
2918
3000
|
*
|
|
2919
3001
|
* @param {CreateFSMembersBody} createFSMembersBody
|
package/dist/api/api.js
CHANGED
|
@@ -86,6 +86,30 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
86
86
|
options: localVarRequestOptions,
|
|
87
87
|
};
|
|
88
88
|
}),
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
fetch: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
95
|
+
const localVarPath = `/integrations/fs/parking`;
|
|
96
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
97
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
98
|
+
let baseOptions;
|
|
99
|
+
if (configuration) {
|
|
100
|
+
baseOptions = configuration.baseOptions;
|
|
101
|
+
}
|
|
102
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
103
|
+
const localVarHeaderParameter = {};
|
|
104
|
+
const localVarQueryParameter = {};
|
|
105
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
106
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
108
|
+
return {
|
|
109
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
110
|
+
options: localVarRequestOptions,
|
|
111
|
+
};
|
|
112
|
+
}),
|
|
89
113
|
/**
|
|
90
114
|
*
|
|
91
115
|
* @param {CreateFSMembersBody} createFSMembersBody
|
|
@@ -587,6 +611,17 @@ const DefaultApiFp = function (configuration) {
|
|
|
587
611
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
588
612
|
});
|
|
589
613
|
},
|
|
614
|
+
/**
|
|
615
|
+
*
|
|
616
|
+
* @param {*} [options] Override http request option.
|
|
617
|
+
* @throws {RequiredError}
|
|
618
|
+
*/
|
|
619
|
+
fetch(options) {
|
|
620
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
621
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.fetch(options);
|
|
622
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
623
|
+
});
|
|
624
|
+
},
|
|
590
625
|
/**
|
|
591
626
|
*
|
|
592
627
|
* @param {CreateFSMembersBody} createFSMembersBody
|
|
@@ -804,6 +839,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
804
839
|
create(webhookCreateBody, options) {
|
|
805
840
|
return localVarFp.create(webhookCreateBody, options).then((request) => request(axios, basePath));
|
|
806
841
|
},
|
|
842
|
+
/**
|
|
843
|
+
*
|
|
844
|
+
* @param {*} [options] Override http request option.
|
|
845
|
+
* @throws {RequiredError}
|
|
846
|
+
*/
|
|
847
|
+
fetch(options) {
|
|
848
|
+
return localVarFp.fetch(options).then((request) => request(axios, basePath));
|
|
849
|
+
},
|
|
807
850
|
/**
|
|
808
851
|
*
|
|
809
852
|
* @param {CreateFSMembersBody} createFSMembersBody
|
|
@@ -974,6 +1017,15 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
974
1017
|
create(webhookCreateBody, options) {
|
|
975
1018
|
return (0, exports.DefaultApiFp)(this.configuration).create(webhookCreateBody, options).then((request) => request(this.axios, this.basePath));
|
|
976
1019
|
}
|
|
1020
|
+
/**
|
|
1021
|
+
*
|
|
1022
|
+
* @param {*} [options] Override http request option.
|
|
1023
|
+
* @throws {RequiredError}
|
|
1024
|
+
* @memberof DefaultApi
|
|
1025
|
+
*/
|
|
1026
|
+
fetch(options) {
|
|
1027
|
+
return (0, exports.DefaultApiFp)(this.configuration).fetch(options).then((request) => request(this.axios, this.basePath));
|
|
1028
|
+
}
|
|
977
1029
|
/**
|
|
978
1030
|
*
|
|
979
1031
|
* @param {CreateFSMembersBody} createFSMembersBody
|