ob-bms-sdk 0.0.70 → 0.0.71
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 +166 -200
- package/dist/api/api.d.ts +123 -204
- package/dist/api/api.js +84 -1
- package/package.json +1 -1
- package/test.ts +19 -0
package/api/api.ts
CHANGED
|
@@ -241,6 +241,52 @@ export const ACRequestStatus = {
|
|
|
241
241
|
export type ACRequestStatus = typeof ACRequestStatus[keyof typeof ACRequestStatus];
|
|
242
242
|
|
|
243
243
|
|
|
244
|
+
/**
|
|
245
|
+
*
|
|
246
|
+
* @export
|
|
247
|
+
* @enum {string}
|
|
248
|
+
*/
|
|
249
|
+
|
|
250
|
+
export const ACRequestStatusApproved = {
|
|
251
|
+
Approved: 'approved'
|
|
252
|
+
} as const;
|
|
253
|
+
|
|
254
|
+
export type ACRequestStatusApproved = typeof ACRequestStatusApproved[keyof typeof ACRequestStatusApproved];
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
*
|
|
259
|
+
* @export
|
|
260
|
+
* @enum {string}
|
|
261
|
+
*/
|
|
262
|
+
|
|
263
|
+
export const ACRequestStatusRejected = {
|
|
264
|
+
Rejected: 'rejected'
|
|
265
|
+
} as const;
|
|
266
|
+
|
|
267
|
+
export type ACRequestStatusRejected = typeof ACRequestStatusRejected[keyof typeof ACRequestStatusRejected];
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
*
|
|
272
|
+
* @export
|
|
273
|
+
* @interface ACRequestUpdateBody
|
|
274
|
+
*/
|
|
275
|
+
export interface ACRequestUpdateBody {
|
|
276
|
+
/**
|
|
277
|
+
*
|
|
278
|
+
* @type {ACRequestUpdateBodyStatus}
|
|
279
|
+
* @memberof ACRequestUpdateBody
|
|
280
|
+
*/
|
|
281
|
+
'status': ACRequestUpdateBodyStatus;
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
*
|
|
285
|
+
* @export
|
|
286
|
+
* @interface ACRequestUpdateBodyStatus
|
|
287
|
+
*/
|
|
288
|
+
export interface ACRequestUpdateBodyStatus {
|
|
289
|
+
}
|
|
244
290
|
/**
|
|
245
291
|
*
|
|
246
292
|
* @export
|
|
@@ -2855,258 +2901,106 @@ export interface WebhookCreateBodyPayload {
|
|
|
2855
2901
|
/**
|
|
2856
2902
|
*
|
|
2857
2903
|
* @export
|
|
2858
|
-
* @interface
|
|
2904
|
+
* @interface WrappedArrayResponseACRequestResponse
|
|
2859
2905
|
*/
|
|
2860
|
-
export interface
|
|
2906
|
+
export interface WrappedArrayResponseACRequestResponse {
|
|
2861
2907
|
/**
|
|
2862
2908
|
*
|
|
2863
|
-
* @type {Array<
|
|
2864
|
-
* @memberof
|
|
2909
|
+
* @type {Array<ACRequestResponse>}
|
|
2910
|
+
* @memberof WrappedArrayResponseACRequestResponse
|
|
2865
2911
|
*/
|
|
2866
|
-
'data': Array<
|
|
2912
|
+
'data': Array<ACRequestResponse>;
|
|
2867
2913
|
}
|
|
2868
2914
|
/**
|
|
2869
2915
|
*
|
|
2870
2916
|
* @export
|
|
2871
|
-
* @interface
|
|
2917
|
+
* @interface WrappedArrayResponseACZoneData
|
|
2872
2918
|
*/
|
|
2873
|
-
export interface
|
|
2919
|
+
export interface WrappedArrayResponseACZoneData {
|
|
2874
2920
|
/**
|
|
2875
2921
|
*
|
|
2876
|
-
* @type {Array<
|
|
2877
|
-
* @memberof
|
|
2922
|
+
* @type {Array<ACZoneData>}
|
|
2923
|
+
* @memberof WrappedArrayResponseACZoneData
|
|
2878
2924
|
*/
|
|
2879
|
-
'data': Array<
|
|
2925
|
+
'data': Array<ACZoneData>;
|
|
2880
2926
|
}
|
|
2881
2927
|
/**
|
|
2882
2928
|
*
|
|
2883
2929
|
* @export
|
|
2884
|
-
* @interface
|
|
2930
|
+
* @interface WrappedArrayResponseSensorsIndexResponseData
|
|
2885
2931
|
*/
|
|
2886
|
-
export interface
|
|
2932
|
+
export interface WrappedArrayResponseSensorsIndexResponseData {
|
|
2887
2933
|
/**
|
|
2888
2934
|
*
|
|
2889
|
-
* @type {
|
|
2890
|
-
* @memberof
|
|
2935
|
+
* @type {Array<FloorSensorData>}
|
|
2936
|
+
* @memberof WrappedArrayResponseSensorsIndexResponseData
|
|
2891
2937
|
*/
|
|
2892
|
-
'data':
|
|
2938
|
+
'data': Array<FloorSensorData>;
|
|
2893
2939
|
}
|
|
2894
2940
|
/**
|
|
2895
2941
|
*
|
|
2896
2942
|
* @export
|
|
2897
|
-
* @interface
|
|
2943
|
+
* @interface WrappedArrayResponseServiceRequestData
|
|
2898
2944
|
*/
|
|
2899
|
-
export interface
|
|
2945
|
+
export interface WrappedArrayResponseServiceRequestData {
|
|
2900
2946
|
/**
|
|
2901
2947
|
*
|
|
2902
|
-
* @type {ServiceRequestData}
|
|
2903
|
-
* @memberof
|
|
2948
|
+
* @type {Array<ServiceRequestData>}
|
|
2949
|
+
* @memberof WrappedArrayResponseServiceRequestData
|
|
2904
2950
|
*/
|
|
2905
|
-
'data': ServiceRequestData
|
|
2951
|
+
'data': Array<ServiceRequestData>;
|
|
2906
2952
|
}
|
|
2907
2953
|
/**
|
|
2908
2954
|
*
|
|
2909
2955
|
* @export
|
|
2910
|
-
* @interface
|
|
2956
|
+
* @interface WrappedOneResponseACRequestResponse
|
|
2911
2957
|
*/
|
|
2912
|
-
export interface
|
|
2958
|
+
export interface WrappedOneResponseACRequestResponse {
|
|
2913
2959
|
/**
|
|
2914
2960
|
*
|
|
2915
|
-
* @type {
|
|
2916
|
-
* @memberof
|
|
2961
|
+
* @type {ACRequestResponse}
|
|
2962
|
+
* @memberof WrappedOneResponseACRequestResponse
|
|
2917
2963
|
*/
|
|
2918
|
-
'data':
|
|
2964
|
+
'data': ACRequestResponse;
|
|
2919
2965
|
}
|
|
2920
2966
|
/**
|
|
2921
2967
|
*
|
|
2922
2968
|
* @export
|
|
2923
|
-
* @interface
|
|
2969
|
+
* @interface WrappedOneResponseBoolean
|
|
2924
2970
|
*/
|
|
2925
|
-
export interface
|
|
2926
|
-
/**
|
|
2927
|
-
*
|
|
2928
|
-
* @type {string}
|
|
2929
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2930
|
-
*/
|
|
2931
|
-
'id': string;
|
|
2932
|
-
/**
|
|
2933
|
-
*
|
|
2934
|
-
* @type {string}
|
|
2935
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2936
|
-
*/
|
|
2937
|
-
'tower_id': string;
|
|
2971
|
+
export interface WrappedOneResponseBoolean {
|
|
2938
2972
|
/**
|
|
2939
2973
|
*
|
|
2940
|
-
* @type {
|
|
2941
|
-
* @memberof
|
|
2942
|
-
*/
|
|
2943
|
-
'floor_id': string;
|
|
2944
|
-
/**
|
|
2945
|
-
*
|
|
2946
|
-
* @type {string}
|
|
2947
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2948
|
-
*/
|
|
2949
|
-
'ac_zone_id': string;
|
|
2950
|
-
/**
|
|
2951
|
-
*
|
|
2952
|
-
* @type {string}
|
|
2953
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2954
|
-
*/
|
|
2955
|
-
'estimated_cost': string;
|
|
2956
|
-
/**
|
|
2957
|
-
*
|
|
2958
|
-
* @type {string}
|
|
2959
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2960
|
-
*/
|
|
2961
|
-
'rate': string;
|
|
2962
|
-
/**
|
|
2963
|
-
*
|
|
2964
|
-
* @type {string}
|
|
2965
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2966
|
-
*/
|
|
2967
|
-
'from': string;
|
|
2968
|
-
/**
|
|
2969
|
-
*
|
|
2970
|
-
* @type {string}
|
|
2971
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2972
|
-
*/
|
|
2973
|
-
'to': string;
|
|
2974
|
-
/**
|
|
2975
|
-
*
|
|
2976
|
-
* @type {number}
|
|
2977
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2978
|
-
*/
|
|
2979
|
-
'duration_hour': number;
|
|
2980
|
-
/**
|
|
2981
|
-
*
|
|
2982
|
-
* @type {number}
|
|
2983
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2984
|
-
*/
|
|
2985
|
-
'area_size': number;
|
|
2986
|
-
/**
|
|
2987
|
-
*
|
|
2988
|
-
* @type {string}
|
|
2989
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2990
|
-
*/
|
|
2991
|
-
'status': string;
|
|
2992
|
-
/**
|
|
2993
|
-
*
|
|
2994
|
-
* @type {string}
|
|
2995
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2996
|
-
*/
|
|
2997
|
-
'created_at': string;
|
|
2998
|
-
/**
|
|
2999
|
-
*
|
|
3000
|
-
* @type {string}
|
|
3001
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
3002
|
-
*/
|
|
3003
|
-
'updated_at': string;
|
|
3004
|
-
/**
|
|
3005
|
-
*
|
|
3006
|
-
* @type {string}
|
|
3007
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
3008
|
-
*/
|
|
3009
|
-
'requester_id': string;
|
|
3010
|
-
/**
|
|
3011
|
-
*
|
|
3012
|
-
* @type {ACZoneData}
|
|
3013
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
3014
|
-
*/
|
|
3015
|
-
'ac_zone': ACZoneData;
|
|
3016
|
-
/**
|
|
3017
|
-
*
|
|
3018
|
-
* @type {FloorData}
|
|
3019
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
3020
|
-
*/
|
|
3021
|
-
'floor': FloorData;
|
|
3022
|
-
/**
|
|
3023
|
-
*
|
|
3024
|
-
* @type {TowerData}
|
|
3025
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
3026
|
-
*/
|
|
3027
|
-
'tower': TowerData;
|
|
3028
|
-
/**
|
|
3029
|
-
*
|
|
3030
|
-
* @type {RequesterData}
|
|
3031
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
3032
|
-
*/
|
|
3033
|
-
'requester': RequesterData;
|
|
3034
|
-
}
|
|
3035
|
-
/**
|
|
3036
|
-
*
|
|
3037
|
-
* @export
|
|
3038
|
-
* @interface WrappedResponseACZoneData
|
|
3039
|
-
*/
|
|
3040
|
-
export interface WrappedResponseACZoneData {
|
|
3041
|
-
/**
|
|
3042
|
-
*
|
|
3043
|
-
* @type {WrappedResponseACZoneDataData}
|
|
3044
|
-
* @memberof WrappedResponseACZoneData
|
|
2974
|
+
* @type {boolean}
|
|
2975
|
+
* @memberof WrappedOneResponseBoolean
|
|
3045
2976
|
*/
|
|
3046
|
-
'data':
|
|
2977
|
+
'data': boolean;
|
|
3047
2978
|
}
|
|
3048
2979
|
/**
|
|
3049
2980
|
*
|
|
3050
2981
|
* @export
|
|
3051
|
-
* @interface
|
|
2982
|
+
* @interface WrappedOneResponseCreateServiceRequestResponse
|
|
3052
2983
|
*/
|
|
3053
|
-
export interface
|
|
3054
|
-
/**
|
|
3055
|
-
*
|
|
3056
|
-
* @type {string}
|
|
3057
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3058
|
-
*/
|
|
3059
|
-
'id': string;
|
|
3060
|
-
/**
|
|
3061
|
-
*
|
|
3062
|
-
* @type {string}
|
|
3063
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3064
|
-
*/
|
|
3065
|
-
'name': string;
|
|
3066
|
-
/**
|
|
3067
|
-
*
|
|
3068
|
-
* @type {number}
|
|
3069
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3070
|
-
*/
|
|
3071
|
-
'area_size': number;
|
|
3072
|
-
/**
|
|
3073
|
-
*
|
|
3074
|
-
* @type {string}
|
|
3075
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3076
|
-
*/
|
|
3077
|
-
'floor_id': string;
|
|
3078
|
-
/**
|
|
3079
|
-
*
|
|
3080
|
-
* @type {string}
|
|
3081
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3082
|
-
*/
|
|
3083
|
-
'created_at': string;
|
|
2984
|
+
export interface WrappedOneResponseCreateServiceRequestResponse {
|
|
3084
2985
|
/**
|
|
3085
2986
|
*
|
|
3086
|
-
* @type {
|
|
3087
|
-
* @memberof
|
|
2987
|
+
* @type {CreateServiceRequestResponse}
|
|
2988
|
+
* @memberof WrappedOneResponseCreateServiceRequestResponse
|
|
3088
2989
|
*/
|
|
3089
|
-
'
|
|
2990
|
+
'data': CreateServiceRequestResponse;
|
|
3090
2991
|
}
|
|
3091
2992
|
/**
|
|
3092
2993
|
*
|
|
3093
2994
|
* @export
|
|
3094
|
-
* @interface
|
|
2995
|
+
* @interface WrappedOneResponseServiceRequestData
|
|
3095
2996
|
*/
|
|
3096
|
-
export interface
|
|
2997
|
+
export interface WrappedOneResponseServiceRequestData {
|
|
3097
2998
|
/**
|
|
3098
2999
|
*
|
|
3099
|
-
* @type {
|
|
3100
|
-
* @memberof
|
|
3000
|
+
* @type {ServiceRequestData}
|
|
3001
|
+
* @memberof WrappedOneResponseServiceRequestData
|
|
3101
3002
|
*/
|
|
3102
|
-
'data':
|
|
3103
|
-
}
|
|
3104
|
-
/**
|
|
3105
|
-
*
|
|
3106
|
-
* @export
|
|
3107
|
-
* @interface WrappedResponseBooleanData
|
|
3108
|
-
*/
|
|
3109
|
-
export interface WrappedResponseBooleanData {
|
|
3003
|
+
'data': ServiceRequestData;
|
|
3110
3004
|
}
|
|
3111
3005
|
/**
|
|
3112
3006
|
*
|
|
@@ -3890,6 +3784,45 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3890
3784
|
options: localVarRequestOptions,
|
|
3891
3785
|
};
|
|
3892
3786
|
},
|
|
3787
|
+
/**
|
|
3788
|
+
*
|
|
3789
|
+
* @param {string} id
|
|
3790
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
3791
|
+
* @param {*} [options] Override http request option.
|
|
3792
|
+
* @throws {RequiredError}
|
|
3793
|
+
*/
|
|
3794
|
+
acRequestUpdate: async (id: string, aCRequestUpdateBody: ACRequestUpdateBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3795
|
+
// verify required parameter 'id' is not null or undefined
|
|
3796
|
+
assertParamExists('acRequestUpdate', 'id', id)
|
|
3797
|
+
// verify required parameter 'aCRequestUpdateBody' is not null or undefined
|
|
3798
|
+
assertParamExists('acRequestUpdate', 'aCRequestUpdateBody', aCRequestUpdateBody)
|
|
3799
|
+
const localVarPath = `/ac_request/{id}`
|
|
3800
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3801
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3802
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3803
|
+
let baseOptions;
|
|
3804
|
+
if (configuration) {
|
|
3805
|
+
baseOptions = configuration.baseOptions;
|
|
3806
|
+
}
|
|
3807
|
+
|
|
3808
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
3809
|
+
const localVarHeaderParameter = {} as any;
|
|
3810
|
+
const localVarQueryParameter = {} as any;
|
|
3811
|
+
|
|
3812
|
+
|
|
3813
|
+
|
|
3814
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3815
|
+
|
|
3816
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3817
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3818
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3819
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aCRequestUpdateBody, localVarRequestOptions, configuration)
|
|
3820
|
+
|
|
3821
|
+
return {
|
|
3822
|
+
url: toPathString(localVarUrlObj),
|
|
3823
|
+
options: localVarRequestOptions,
|
|
3824
|
+
};
|
|
3825
|
+
},
|
|
3893
3826
|
/**
|
|
3894
3827
|
*
|
|
3895
3828
|
* @param {string} floorId
|
|
@@ -4956,7 +4889,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4956
4889
|
* @param {*} [options] Override http request option.
|
|
4957
4890
|
* @throws {RequiredError}
|
|
4958
4891
|
*/
|
|
4959
|
-
async acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4892
|
+
async acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseBoolean>> {
|
|
4960
4893
|
const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestCreate(aCRequestBody, options);
|
|
4961
4894
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4962
4895
|
},
|
|
@@ -4971,7 +4904,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4971
4904
|
* @param {*} [options] Override http request option.
|
|
4972
4905
|
* @throws {RequiredError}
|
|
4973
4906
|
*/
|
|
4974
|
-
async acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4907
|
+
async acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseACRequestResponse>> {
|
|
4975
4908
|
const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options);
|
|
4976
4909
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4977
4910
|
},
|
|
@@ -4981,17 +4914,28 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4981
4914
|
* @param {*} [options] Override http request option.
|
|
4982
4915
|
* @throws {RequiredError}
|
|
4983
4916
|
*/
|
|
4984
|
-
async acRequestShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4917
|
+
async acRequestShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseACRequestResponse>> {
|
|
4985
4918
|
const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestShow(id, options);
|
|
4986
4919
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4987
4920
|
},
|
|
4921
|
+
/**
|
|
4922
|
+
*
|
|
4923
|
+
* @param {string} id
|
|
4924
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
4925
|
+
* @param {*} [options] Override http request option.
|
|
4926
|
+
* @throws {RequiredError}
|
|
4927
|
+
*/
|
|
4928
|
+
async acRequestUpdate(id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseACRequestResponse>> {
|
|
4929
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestUpdate(id, aCRequestUpdateBody, options);
|
|
4930
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4931
|
+
},
|
|
4988
4932
|
/**
|
|
4989
4933
|
*
|
|
4990
4934
|
* @param {string} floorId
|
|
4991
4935
|
* @param {*} [options] Override http request option.
|
|
4992
4936
|
* @throws {RequiredError}
|
|
4993
4937
|
*/
|
|
4994
|
-
async acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4938
|
+
async acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseACZoneData>> {
|
|
4995
4939
|
const localVarAxiosArgs = await localVarAxiosParamCreator.acZonesShow(floorId, options);
|
|
4996
4940
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4997
4941
|
},
|
|
@@ -5299,7 +5243,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5299
5243
|
* @param {*} [options] Override http request option.
|
|
5300
5244
|
* @throws {RequiredError}
|
|
5301
5245
|
*/
|
|
5302
|
-
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<
|
|
5246
|
+
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedOneResponseBoolean> {
|
|
5303
5247
|
return localVarFp.acRequestCreate(aCRequestBody, options).then((request) => request(axios, basePath));
|
|
5304
5248
|
},
|
|
5305
5249
|
/**
|
|
@@ -5313,7 +5257,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5313
5257
|
* @param {*} [options] Override http request option.
|
|
5314
5258
|
* @throws {RequiredError}
|
|
5315
5259
|
*/
|
|
5316
|
-
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: any): AxiosPromise<
|
|
5260
|
+
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: any): AxiosPromise<WrappedArrayResponseACRequestResponse> {
|
|
5317
5261
|
return localVarFp.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(axios, basePath));
|
|
5318
5262
|
},
|
|
5319
5263
|
/**
|
|
@@ -5322,16 +5266,26 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5322
5266
|
* @param {*} [options] Override http request option.
|
|
5323
5267
|
* @throws {RequiredError}
|
|
5324
5268
|
*/
|
|
5325
|
-
acRequestShow(id: string, options?: any): AxiosPromise<
|
|
5269
|
+
acRequestShow(id: string, options?: any): AxiosPromise<WrappedOneResponseACRequestResponse> {
|
|
5326
5270
|
return localVarFp.acRequestShow(id, options).then((request) => request(axios, basePath));
|
|
5327
5271
|
},
|
|
5272
|
+
/**
|
|
5273
|
+
*
|
|
5274
|
+
* @param {string} id
|
|
5275
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
5276
|
+
* @param {*} [options] Override http request option.
|
|
5277
|
+
* @throws {RequiredError}
|
|
5278
|
+
*/
|
|
5279
|
+
acRequestUpdate(id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: any): AxiosPromise<WrappedOneResponseACRequestResponse> {
|
|
5280
|
+
return localVarFp.acRequestUpdate(id, aCRequestUpdateBody, options).then((request) => request(axios, basePath));
|
|
5281
|
+
},
|
|
5328
5282
|
/**
|
|
5329
5283
|
*
|
|
5330
5284
|
* @param {string} floorId
|
|
5331
5285
|
* @param {*} [options] Override http request option.
|
|
5332
5286
|
* @throws {RequiredError}
|
|
5333
5287
|
*/
|
|
5334
|
-
acZonesShow(floorId: string, options?: any): AxiosPromise<
|
|
5288
|
+
acZonesShow(floorId: string, options?: any): AxiosPromise<WrappedArrayResponseACZoneData> {
|
|
5335
5289
|
return localVarFp.acZonesShow(floorId, options).then((request) => request(axios, basePath));
|
|
5336
5290
|
},
|
|
5337
5291
|
/**
|
|
@@ -5643,6 +5597,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
5643
5597
|
return DefaultApiFp(this.configuration).acRequestShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
5644
5598
|
}
|
|
5645
5599
|
|
|
5600
|
+
/**
|
|
5601
|
+
*
|
|
5602
|
+
* @param {string} id
|
|
5603
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
5604
|
+
* @param {*} [options] Override http request option.
|
|
5605
|
+
* @throws {RequiredError}
|
|
5606
|
+
* @memberof DefaultApi
|
|
5607
|
+
*/
|
|
5608
|
+
public acRequestUpdate(id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: AxiosRequestConfig) {
|
|
5609
|
+
return DefaultApiFp(this.configuration).acRequestUpdate(id, aCRequestUpdateBody, options).then((request) => request(this.axios, this.basePath));
|
|
5610
|
+
}
|
|
5611
|
+
|
|
5646
5612
|
/**
|
|
5647
5613
|
*
|
|
5648
5614
|
* @param {string} floorId
|
package/dist/api/api.d.ts
CHANGED
|
@@ -225,6 +225,44 @@ export declare const ACRequestStatus: {
|
|
|
225
225
|
readonly Approved: "approved";
|
|
226
226
|
};
|
|
227
227
|
export type ACRequestStatus = typeof ACRequestStatus[keyof typeof ACRequestStatus];
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @export
|
|
231
|
+
* @enum {string}
|
|
232
|
+
*/
|
|
233
|
+
export declare const ACRequestStatusApproved: {
|
|
234
|
+
readonly Approved: "approved";
|
|
235
|
+
};
|
|
236
|
+
export type ACRequestStatusApproved = typeof ACRequestStatusApproved[keyof typeof ACRequestStatusApproved];
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @export
|
|
240
|
+
* @enum {string}
|
|
241
|
+
*/
|
|
242
|
+
export declare const ACRequestStatusRejected: {
|
|
243
|
+
readonly Rejected: "rejected";
|
|
244
|
+
};
|
|
245
|
+
export type ACRequestStatusRejected = typeof ACRequestStatusRejected[keyof typeof ACRequestStatusRejected];
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @export
|
|
249
|
+
* @interface ACRequestUpdateBody
|
|
250
|
+
*/
|
|
251
|
+
export interface ACRequestUpdateBody {
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @type {ACRequestUpdateBodyStatus}
|
|
255
|
+
* @memberof ACRequestUpdateBody
|
|
256
|
+
*/
|
|
257
|
+
'status': ACRequestUpdateBodyStatus;
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
* @export
|
|
262
|
+
* @interface ACRequestUpdateBodyStatus
|
|
263
|
+
*/
|
|
264
|
+
export interface ACRequestUpdateBodyStatus {
|
|
265
|
+
}
|
|
228
266
|
/**
|
|
229
267
|
*
|
|
230
268
|
* @export
|
|
@@ -2815,258 +2853,106 @@ export interface WebhookCreateBodyPayload {
|
|
|
2815
2853
|
/**
|
|
2816
2854
|
*
|
|
2817
2855
|
* @export
|
|
2818
|
-
* @interface
|
|
2856
|
+
* @interface WrappedArrayResponseACRequestResponse
|
|
2819
2857
|
*/
|
|
2820
|
-
export interface
|
|
2858
|
+
export interface WrappedArrayResponseACRequestResponse {
|
|
2821
2859
|
/**
|
|
2822
2860
|
*
|
|
2823
|
-
* @type {Array<
|
|
2824
|
-
* @memberof
|
|
2861
|
+
* @type {Array<ACRequestResponse>}
|
|
2862
|
+
* @memberof WrappedArrayResponseACRequestResponse
|
|
2825
2863
|
*/
|
|
2826
|
-
'data': Array<
|
|
2864
|
+
'data': Array<ACRequestResponse>;
|
|
2827
2865
|
}
|
|
2828
2866
|
/**
|
|
2829
2867
|
*
|
|
2830
2868
|
* @export
|
|
2831
|
-
* @interface
|
|
2869
|
+
* @interface WrappedArrayResponseACZoneData
|
|
2832
2870
|
*/
|
|
2833
|
-
export interface
|
|
2871
|
+
export interface WrappedArrayResponseACZoneData {
|
|
2834
2872
|
/**
|
|
2835
2873
|
*
|
|
2836
|
-
* @type {Array<
|
|
2837
|
-
* @memberof
|
|
2874
|
+
* @type {Array<ACZoneData>}
|
|
2875
|
+
* @memberof WrappedArrayResponseACZoneData
|
|
2838
2876
|
*/
|
|
2839
|
-
'data': Array<
|
|
2877
|
+
'data': Array<ACZoneData>;
|
|
2840
2878
|
}
|
|
2841
2879
|
/**
|
|
2842
2880
|
*
|
|
2843
2881
|
* @export
|
|
2844
|
-
* @interface
|
|
2845
|
-
*/
|
|
2846
|
-
export interface WrappedOneResponseCreateServiceRequestResponse {
|
|
2847
|
-
/**
|
|
2848
|
-
*
|
|
2849
|
-
* @type {CreateServiceRequestResponse}
|
|
2850
|
-
* @memberof WrappedOneResponseCreateServiceRequestResponse
|
|
2851
|
-
*/
|
|
2852
|
-
'data': CreateServiceRequestResponse;
|
|
2853
|
-
}
|
|
2854
|
-
/**
|
|
2855
|
-
*
|
|
2856
|
-
* @export
|
|
2857
|
-
* @interface WrappedOneResponseServiceRequestData
|
|
2882
|
+
* @interface WrappedArrayResponseSensorsIndexResponseData
|
|
2858
2883
|
*/
|
|
2859
|
-
export interface
|
|
2884
|
+
export interface WrappedArrayResponseSensorsIndexResponseData {
|
|
2860
2885
|
/**
|
|
2861
2886
|
*
|
|
2862
|
-
* @type {
|
|
2863
|
-
* @memberof
|
|
2887
|
+
* @type {Array<FloorSensorData>}
|
|
2888
|
+
* @memberof WrappedArrayResponseSensorsIndexResponseData
|
|
2864
2889
|
*/
|
|
2865
|
-
'data':
|
|
2890
|
+
'data': Array<FloorSensorData>;
|
|
2866
2891
|
}
|
|
2867
2892
|
/**
|
|
2868
2893
|
*
|
|
2869
2894
|
* @export
|
|
2870
|
-
* @interface
|
|
2895
|
+
* @interface WrappedArrayResponseServiceRequestData
|
|
2871
2896
|
*/
|
|
2872
|
-
export interface
|
|
2897
|
+
export interface WrappedArrayResponseServiceRequestData {
|
|
2873
2898
|
/**
|
|
2874
2899
|
*
|
|
2875
|
-
* @type {
|
|
2876
|
-
* @memberof
|
|
2900
|
+
* @type {Array<ServiceRequestData>}
|
|
2901
|
+
* @memberof WrappedArrayResponseServiceRequestData
|
|
2877
2902
|
*/
|
|
2878
|
-
'data':
|
|
2903
|
+
'data': Array<ServiceRequestData>;
|
|
2879
2904
|
}
|
|
2880
2905
|
/**
|
|
2881
2906
|
*
|
|
2882
2907
|
* @export
|
|
2883
|
-
* @interface
|
|
2908
|
+
* @interface WrappedOneResponseACRequestResponse
|
|
2884
2909
|
*/
|
|
2885
|
-
export interface
|
|
2886
|
-
/**
|
|
2887
|
-
*
|
|
2888
|
-
* @type {string}
|
|
2889
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2890
|
-
*/
|
|
2891
|
-
'id': string;
|
|
2892
|
-
/**
|
|
2893
|
-
*
|
|
2894
|
-
* @type {string}
|
|
2895
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2896
|
-
*/
|
|
2897
|
-
'tower_id': string;
|
|
2898
|
-
/**
|
|
2899
|
-
*
|
|
2900
|
-
* @type {string}
|
|
2901
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2902
|
-
*/
|
|
2903
|
-
'floor_id': string;
|
|
2904
|
-
/**
|
|
2905
|
-
*
|
|
2906
|
-
* @type {string}
|
|
2907
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2908
|
-
*/
|
|
2909
|
-
'ac_zone_id': string;
|
|
2910
|
-
/**
|
|
2911
|
-
*
|
|
2912
|
-
* @type {string}
|
|
2913
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2914
|
-
*/
|
|
2915
|
-
'estimated_cost': string;
|
|
2916
|
-
/**
|
|
2917
|
-
*
|
|
2918
|
-
* @type {string}
|
|
2919
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2920
|
-
*/
|
|
2921
|
-
'rate': string;
|
|
2922
|
-
/**
|
|
2923
|
-
*
|
|
2924
|
-
* @type {string}
|
|
2925
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2926
|
-
*/
|
|
2927
|
-
'from': string;
|
|
2928
|
-
/**
|
|
2929
|
-
*
|
|
2930
|
-
* @type {string}
|
|
2931
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2932
|
-
*/
|
|
2933
|
-
'to': string;
|
|
2934
|
-
/**
|
|
2935
|
-
*
|
|
2936
|
-
* @type {number}
|
|
2937
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2938
|
-
*/
|
|
2939
|
-
'duration_hour': number;
|
|
2910
|
+
export interface WrappedOneResponseACRequestResponse {
|
|
2940
2911
|
/**
|
|
2941
2912
|
*
|
|
2942
|
-
* @type {
|
|
2943
|
-
* @memberof
|
|
2944
|
-
*/
|
|
2945
|
-
'area_size': number;
|
|
2946
|
-
/**
|
|
2947
|
-
*
|
|
2948
|
-
* @type {string}
|
|
2949
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2950
|
-
*/
|
|
2951
|
-
'status': string;
|
|
2952
|
-
/**
|
|
2953
|
-
*
|
|
2954
|
-
* @type {string}
|
|
2955
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2956
|
-
*/
|
|
2957
|
-
'created_at': string;
|
|
2958
|
-
/**
|
|
2959
|
-
*
|
|
2960
|
-
* @type {string}
|
|
2961
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2962
|
-
*/
|
|
2963
|
-
'updated_at': string;
|
|
2964
|
-
/**
|
|
2965
|
-
*
|
|
2966
|
-
* @type {string}
|
|
2967
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2913
|
+
* @type {ACRequestResponse}
|
|
2914
|
+
* @memberof WrappedOneResponseACRequestResponse
|
|
2968
2915
|
*/
|
|
2969
|
-
'
|
|
2970
|
-
/**
|
|
2971
|
-
*
|
|
2972
|
-
* @type {ACZoneData}
|
|
2973
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2974
|
-
*/
|
|
2975
|
-
'ac_zone': ACZoneData;
|
|
2976
|
-
/**
|
|
2977
|
-
*
|
|
2978
|
-
* @type {FloorData}
|
|
2979
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2980
|
-
*/
|
|
2981
|
-
'floor': FloorData;
|
|
2982
|
-
/**
|
|
2983
|
-
*
|
|
2984
|
-
* @type {TowerData}
|
|
2985
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2986
|
-
*/
|
|
2987
|
-
'tower': TowerData;
|
|
2988
|
-
/**
|
|
2989
|
-
*
|
|
2990
|
-
* @type {RequesterData}
|
|
2991
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2992
|
-
*/
|
|
2993
|
-
'requester': RequesterData;
|
|
2916
|
+
'data': ACRequestResponse;
|
|
2994
2917
|
}
|
|
2995
2918
|
/**
|
|
2996
2919
|
*
|
|
2997
2920
|
* @export
|
|
2998
|
-
* @interface
|
|
2921
|
+
* @interface WrappedOneResponseBoolean
|
|
2999
2922
|
*/
|
|
3000
|
-
export interface
|
|
2923
|
+
export interface WrappedOneResponseBoolean {
|
|
3001
2924
|
/**
|
|
3002
2925
|
*
|
|
3003
|
-
* @type {
|
|
3004
|
-
* @memberof
|
|
2926
|
+
* @type {boolean}
|
|
2927
|
+
* @memberof WrappedOneResponseBoolean
|
|
3005
2928
|
*/
|
|
3006
|
-
'data':
|
|
2929
|
+
'data': boolean;
|
|
3007
2930
|
}
|
|
3008
2931
|
/**
|
|
3009
2932
|
*
|
|
3010
2933
|
* @export
|
|
3011
|
-
* @interface
|
|
2934
|
+
* @interface WrappedOneResponseCreateServiceRequestResponse
|
|
3012
2935
|
*/
|
|
3013
|
-
export interface
|
|
3014
|
-
/**
|
|
3015
|
-
*
|
|
3016
|
-
* @type {string}
|
|
3017
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3018
|
-
*/
|
|
3019
|
-
'id': string;
|
|
3020
|
-
/**
|
|
3021
|
-
*
|
|
3022
|
-
* @type {string}
|
|
3023
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3024
|
-
*/
|
|
3025
|
-
'name': string;
|
|
3026
|
-
/**
|
|
3027
|
-
*
|
|
3028
|
-
* @type {number}
|
|
3029
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3030
|
-
*/
|
|
3031
|
-
'area_size': number;
|
|
3032
|
-
/**
|
|
3033
|
-
*
|
|
3034
|
-
* @type {string}
|
|
3035
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3036
|
-
*/
|
|
3037
|
-
'floor_id': string;
|
|
3038
|
-
/**
|
|
3039
|
-
*
|
|
3040
|
-
* @type {string}
|
|
3041
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3042
|
-
*/
|
|
3043
|
-
'created_at': string;
|
|
2936
|
+
export interface WrappedOneResponseCreateServiceRequestResponse {
|
|
3044
2937
|
/**
|
|
3045
2938
|
*
|
|
3046
|
-
* @type {
|
|
3047
|
-
* @memberof
|
|
2939
|
+
* @type {CreateServiceRequestResponse}
|
|
2940
|
+
* @memberof WrappedOneResponseCreateServiceRequestResponse
|
|
3048
2941
|
*/
|
|
3049
|
-
'
|
|
2942
|
+
'data': CreateServiceRequestResponse;
|
|
3050
2943
|
}
|
|
3051
2944
|
/**
|
|
3052
2945
|
*
|
|
3053
2946
|
* @export
|
|
3054
|
-
* @interface
|
|
2947
|
+
* @interface WrappedOneResponseServiceRequestData
|
|
3055
2948
|
*/
|
|
3056
|
-
export interface
|
|
2949
|
+
export interface WrappedOneResponseServiceRequestData {
|
|
3057
2950
|
/**
|
|
3058
2951
|
*
|
|
3059
|
-
* @type {
|
|
3060
|
-
* @memberof
|
|
2952
|
+
* @type {ServiceRequestData}
|
|
2953
|
+
* @memberof WrappedOneResponseServiceRequestData
|
|
3061
2954
|
*/
|
|
3062
|
-
'data':
|
|
3063
|
-
}
|
|
3064
|
-
/**
|
|
3065
|
-
*
|
|
3066
|
-
* @export
|
|
3067
|
-
* @interface WrappedResponseBooleanData
|
|
3068
|
-
*/
|
|
3069
|
-
export interface WrappedResponseBooleanData {
|
|
2955
|
+
'data': ServiceRequestData;
|
|
3070
2956
|
}
|
|
3071
2957
|
/**
|
|
3072
2958
|
*
|
|
@@ -3741,6 +3627,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3741
3627
|
* @throws {RequiredError}
|
|
3742
3628
|
*/
|
|
3743
3629
|
acRequestShow: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3630
|
+
/**
|
|
3631
|
+
*
|
|
3632
|
+
* @param {string} id
|
|
3633
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
3634
|
+
* @param {*} [options] Override http request option.
|
|
3635
|
+
* @throws {RequiredError}
|
|
3636
|
+
*/
|
|
3637
|
+
acRequestUpdate: (id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3744
3638
|
/**
|
|
3745
3639
|
*
|
|
3746
3640
|
* @param {string} floorId
|
|
@@ -3967,7 +3861,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3967
3861
|
* @param {*} [options] Override http request option.
|
|
3968
3862
|
* @throws {RequiredError}
|
|
3969
3863
|
*/
|
|
3970
|
-
acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3864
|
+
acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseBoolean>>;
|
|
3971
3865
|
/**
|
|
3972
3866
|
*
|
|
3973
3867
|
* @param {string} [requesterId]
|
|
@@ -3979,21 +3873,29 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3979
3873
|
* @param {*} [options] Override http request option.
|
|
3980
3874
|
* @throws {RequiredError}
|
|
3981
3875
|
*/
|
|
3982
|
-
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3876
|
+
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseACRequestResponse>>;
|
|
3877
|
+
/**
|
|
3878
|
+
*
|
|
3879
|
+
* @param {string} id
|
|
3880
|
+
* @param {*} [options] Override http request option.
|
|
3881
|
+
* @throws {RequiredError}
|
|
3882
|
+
*/
|
|
3883
|
+
acRequestShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseACRequestResponse>>;
|
|
3983
3884
|
/**
|
|
3984
3885
|
*
|
|
3985
3886
|
* @param {string} id
|
|
3887
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
3986
3888
|
* @param {*} [options] Override http request option.
|
|
3987
3889
|
* @throws {RequiredError}
|
|
3988
3890
|
*/
|
|
3989
|
-
|
|
3891
|
+
acRequestUpdate(id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseACRequestResponse>>;
|
|
3990
3892
|
/**
|
|
3991
3893
|
*
|
|
3992
3894
|
* @param {string} floorId
|
|
3993
3895
|
* @param {*} [options] Override http request option.
|
|
3994
3896
|
* @throws {RequiredError}
|
|
3995
3897
|
*/
|
|
3996
|
-
acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3898
|
+
acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseACZoneData>>;
|
|
3997
3899
|
/**
|
|
3998
3900
|
*
|
|
3999
3901
|
* @param {WebhookCreateBody} webhookCreateBody
|
|
@@ -4213,7 +4115,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4213
4115
|
* @param {*} [options] Override http request option.
|
|
4214
4116
|
* @throws {RequiredError}
|
|
4215
4117
|
*/
|
|
4216
|
-
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<
|
|
4118
|
+
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedOneResponseBoolean>;
|
|
4217
4119
|
/**
|
|
4218
4120
|
*
|
|
4219
4121
|
* @param {string} [requesterId]
|
|
@@ -4225,21 +4127,29 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4225
4127
|
* @param {*} [options] Override http request option.
|
|
4226
4128
|
* @throws {RequiredError}
|
|
4227
4129
|
*/
|
|
4228
|
-
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: any): AxiosPromise<
|
|
4130
|
+
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: any): AxiosPromise<WrappedArrayResponseACRequestResponse>;
|
|
4229
4131
|
/**
|
|
4230
4132
|
*
|
|
4231
4133
|
* @param {string} id
|
|
4232
4134
|
* @param {*} [options] Override http request option.
|
|
4233
4135
|
* @throws {RequiredError}
|
|
4234
4136
|
*/
|
|
4235
|
-
acRequestShow(id: string, options?: any): AxiosPromise<
|
|
4137
|
+
acRequestShow(id: string, options?: any): AxiosPromise<WrappedOneResponseACRequestResponse>;
|
|
4138
|
+
/**
|
|
4139
|
+
*
|
|
4140
|
+
* @param {string} id
|
|
4141
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
4142
|
+
* @param {*} [options] Override http request option.
|
|
4143
|
+
* @throws {RequiredError}
|
|
4144
|
+
*/
|
|
4145
|
+
acRequestUpdate(id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: any): AxiosPromise<WrappedOneResponseACRequestResponse>;
|
|
4236
4146
|
/**
|
|
4237
4147
|
*
|
|
4238
4148
|
* @param {string} floorId
|
|
4239
4149
|
* @param {*} [options] Override http request option.
|
|
4240
4150
|
* @throws {RequiredError}
|
|
4241
4151
|
*/
|
|
4242
|
-
acZonesShow(floorId: string, options?: any): AxiosPromise<
|
|
4152
|
+
acZonesShow(floorId: string, options?: any): AxiosPromise<WrappedArrayResponseACZoneData>;
|
|
4243
4153
|
/**
|
|
4244
4154
|
*
|
|
4245
4155
|
* @param {WebhookCreateBody} webhookCreateBody
|
|
@@ -4462,7 +4372,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4462
4372
|
* @throws {RequiredError}
|
|
4463
4373
|
* @memberof DefaultApi
|
|
4464
4374
|
*/
|
|
4465
|
-
acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4375
|
+
acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseBoolean, any>>;
|
|
4466
4376
|
/**
|
|
4467
4377
|
*
|
|
4468
4378
|
* @param {string} [requesterId]
|
|
@@ -4475,15 +4385,24 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4475
4385
|
* @throws {RequiredError}
|
|
4476
4386
|
* @memberof DefaultApi
|
|
4477
4387
|
*/
|
|
4478
|
-
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4388
|
+
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseACRequestResponse, any>>;
|
|
4389
|
+
/**
|
|
4390
|
+
*
|
|
4391
|
+
* @param {string} id
|
|
4392
|
+
* @param {*} [options] Override http request option.
|
|
4393
|
+
* @throws {RequiredError}
|
|
4394
|
+
* @memberof DefaultApi
|
|
4395
|
+
*/
|
|
4396
|
+
acRequestShow(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseACRequestResponse, any>>;
|
|
4479
4397
|
/**
|
|
4480
4398
|
*
|
|
4481
4399
|
* @param {string} id
|
|
4400
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
4482
4401
|
* @param {*} [options] Override http request option.
|
|
4483
4402
|
* @throws {RequiredError}
|
|
4484
4403
|
* @memberof DefaultApi
|
|
4485
4404
|
*/
|
|
4486
|
-
|
|
4405
|
+
acRequestUpdate(id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseACRequestResponse, any>>;
|
|
4487
4406
|
/**
|
|
4488
4407
|
*
|
|
4489
4408
|
* @param {string} floorId
|
|
@@ -4491,7 +4410,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4491
4410
|
* @throws {RequiredError}
|
|
4492
4411
|
* @memberof DefaultApi
|
|
4493
4412
|
*/
|
|
4494
|
-
acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4413
|
+
acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseACZoneData, any>>;
|
|
4495
4414
|
/**
|
|
4496
4415
|
*
|
|
4497
4416
|
* @param {WebhookCreateBody} webhookCreateBody
|
package/dist/api/api.js
CHANGED
|
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.ParkingTicketsIndexTypeEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.ShowPassResponseStatusEnum = exports.ServiceRequestStatusInProgress = exports.ServiceRequestStatusDone = exports.ServiceRequestStatus = exports.SensorType = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = exports.ParkingTicketsIndexQueryTypeEnum = exports.ACRequestStatus = void 0;
|
|
28
|
+
exports.ParkingTicketsIndexTypeEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.ShowPassResponseStatusEnum = exports.ServiceRequestStatusInProgress = exports.ServiceRequestStatusDone = exports.ServiceRequestStatus = exports.SensorType = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = exports.ParkingTicketsIndexQueryTypeEnum = exports.ACRequestStatusRejected = exports.ACRequestStatusApproved = exports.ACRequestStatus = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -42,6 +42,22 @@ exports.ACRequestStatus = {
|
|
|
42
42
|
Rejected: 'rejected',
|
|
43
43
|
Approved: 'approved'
|
|
44
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @enum {string}
|
|
49
|
+
*/
|
|
50
|
+
exports.ACRequestStatusApproved = {
|
|
51
|
+
Approved: 'approved'
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @export
|
|
56
|
+
* @enum {string}
|
|
57
|
+
*/
|
|
58
|
+
exports.ACRequestStatusRejected = {
|
|
59
|
+
Rejected: 'rejected'
|
|
60
|
+
};
|
|
45
61
|
exports.ParkingTicketsIndexQueryTypeEnum = {
|
|
46
62
|
LogId: 'log_id',
|
|
47
63
|
InviteId: 'invite_id',
|
|
@@ -215,6 +231,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
215
231
|
options: localVarRequestOptions,
|
|
216
232
|
};
|
|
217
233
|
}),
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @param {string} id
|
|
237
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
238
|
+
* @param {*} [options] Override http request option.
|
|
239
|
+
* @throws {RequiredError}
|
|
240
|
+
*/
|
|
241
|
+
acRequestUpdate: (id, aCRequestUpdateBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
242
|
+
// verify required parameter 'id' is not null or undefined
|
|
243
|
+
(0, common_1.assertParamExists)('acRequestUpdate', 'id', id);
|
|
244
|
+
// verify required parameter 'aCRequestUpdateBody' is not null or undefined
|
|
245
|
+
(0, common_1.assertParamExists)('acRequestUpdate', 'aCRequestUpdateBody', aCRequestUpdateBody);
|
|
246
|
+
const localVarPath = `/ac_request/{id}`
|
|
247
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
248
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
249
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
250
|
+
let baseOptions;
|
|
251
|
+
if (configuration) {
|
|
252
|
+
baseOptions = configuration.baseOptions;
|
|
253
|
+
}
|
|
254
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
255
|
+
const localVarHeaderParameter = {};
|
|
256
|
+
const localVarQueryParameter = {};
|
|
257
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
258
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
259
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
260
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
261
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(aCRequestUpdateBody, localVarRequestOptions, configuration);
|
|
262
|
+
return {
|
|
263
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
264
|
+
options: localVarRequestOptions,
|
|
265
|
+
};
|
|
266
|
+
}),
|
|
218
267
|
/**
|
|
219
268
|
*
|
|
220
269
|
* @param {string} floorId
|
|
@@ -1143,6 +1192,19 @@ const DefaultApiFp = function (configuration) {
|
|
|
1143
1192
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1144
1193
|
});
|
|
1145
1194
|
},
|
|
1195
|
+
/**
|
|
1196
|
+
*
|
|
1197
|
+
* @param {string} id
|
|
1198
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
1199
|
+
* @param {*} [options] Override http request option.
|
|
1200
|
+
* @throws {RequiredError}
|
|
1201
|
+
*/
|
|
1202
|
+
acRequestUpdate(id, aCRequestUpdateBody, options) {
|
|
1203
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1204
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.acRequestUpdate(id, aCRequestUpdateBody, options);
|
|
1205
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1206
|
+
});
|
|
1207
|
+
},
|
|
1146
1208
|
/**
|
|
1147
1209
|
*
|
|
1148
1210
|
* @param {string} floorId
|
|
@@ -1539,6 +1601,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1539
1601
|
acRequestShow(id, options) {
|
|
1540
1602
|
return localVarFp.acRequestShow(id, options).then((request) => request(axios, basePath));
|
|
1541
1603
|
},
|
|
1604
|
+
/**
|
|
1605
|
+
*
|
|
1606
|
+
* @param {string} id
|
|
1607
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
1608
|
+
* @param {*} [options] Override http request option.
|
|
1609
|
+
* @throws {RequiredError}
|
|
1610
|
+
*/
|
|
1611
|
+
acRequestUpdate(id, aCRequestUpdateBody, options) {
|
|
1612
|
+
return localVarFp.acRequestUpdate(id, aCRequestUpdateBody, options).then((request) => request(axios, basePath));
|
|
1613
|
+
},
|
|
1542
1614
|
/**
|
|
1543
1615
|
*
|
|
1544
1616
|
* @param {string} floorId
|
|
@@ -1854,6 +1926,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1854
1926
|
acRequestShow(id, options) {
|
|
1855
1927
|
return (0, exports.DefaultApiFp)(this.configuration).acRequestShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
1856
1928
|
}
|
|
1929
|
+
/**
|
|
1930
|
+
*
|
|
1931
|
+
* @param {string} id
|
|
1932
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
1933
|
+
* @param {*} [options] Override http request option.
|
|
1934
|
+
* @throws {RequiredError}
|
|
1935
|
+
* @memberof DefaultApi
|
|
1936
|
+
*/
|
|
1937
|
+
acRequestUpdate(id, aCRequestUpdateBody, options) {
|
|
1938
|
+
return (0, exports.DefaultApiFp)(this.configuration).acRequestUpdate(id, aCRequestUpdateBody, options).then((request) => request(this.axios, this.basePath));
|
|
1939
|
+
}
|
|
1857
1940
|
/**
|
|
1858
1941
|
*
|
|
1859
1942
|
* @param {string} floorId
|
package/package.json
CHANGED
package/test.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as OB_BMS_SDK from './dist';
|
|
2
|
+
|
|
3
|
+
// OB_BMS_SDK.setAcessToken('789');
|
|
4
|
+
OB_BMS_SDK.setBaseUrl('https://ob-bms.glorymtel.xyz');
|
|
5
|
+
OB_BMS_SDK.setAcessToken(
|
|
6
|
+
'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJpYXQiOjE2OTg5MzU2ODcsImV4cCI6MTcwMTUyNzY4NywicGVybWlzc2lvbiI6W3siaWQiOiJmY2Q1NDZmYy1lNThmLTQ2MjctOTU5Yy1jNWFlYTljMGQ0ODMiLCJwZXJtaXR0ZWVfdHlwZSI6ImFjY291bnQiLCJ2YWx1ZSI6eyJuYW1lIjoib2ItaWFtOmFjY291bnQiLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJyZWFkIiwidXBkYXRlIiwiZGVsZXRlIl0sInJlc291cmNlX3R5cGUiOiJhY2NvdW50IiwicmVzb3VyY2UiOnsiaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfSx7ImlkIjoiNWY0MDlmYzYtNDRkMi00YzQyLThhOGYtYzFiNTQ1MWZjODZiIiwicGVybWl0dGVlX3R5cGUiOiJhY2NvdW50IiwidmFsdWUiOnsibmFtZSI6Im9iLWlhbTpwcm9maWxlIiwic2VydmljZSI6Im9iLWlhbSIsImFjdGlvbnMiOlsicmVhZCIsInVwZGF0ZSJdLCJyZXNvdXJjZV90eXBlIjoicHJvZmlsZSIsInJlc291cmNlIjp7ImFjY291bnRfaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfSx7ImlkIjoiMDNlM2MxODctOTY3NC00MTdiLThjOGMtNDBmNGE0MjEyMDlkIiwicGVybWl0dGVlX3R5cGUiOiJhY2NvdW50IiwidmFsdWUiOnsibmFtZSI6Im9iLWlhbTppZGVudGl0eSIsInNlcnZpY2UiOiJvYi1pYW0iLCJhY3Rpb25zIjpbIioiXSwicmVzb3VyY2VfdHlwZSI6ImlkZW50aXR5IiwicmVzb3VyY2UiOnsiYWNjb3VudF9pZCI6InNlbGYifX0sImNyZWF0ZWRfYXQiOiIyMDIzLTExLTAyVDA4OjUxOjQyLjc3MVoiLCJ1cGRhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwiZGVsZXRlZF9hdCI6bnVsbCwiYWNjb3VudF9pZCI6IjgyNDI3MDVmLTM1YjUtNGQ3MS04ZTE5LWM1YTQxYWMyZTBhNCIsImFjY291bnRfZ3JvdXBfaWQiOm51bGx9LHsiaWQiOiIzMjU0MTEyNi00Nzc2LTQ0NzYtOTc5MS1mYjZhNjA2ZWUxNDIiLCJwZXJtaXR0ZWVfdHlwZSI6ImFjY291bnQiLCJ2YWx1ZSI6eyJuYW1lIjoib2ItaWFtOnNldHRpbmciLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJ1cGRhdGUiXSwicmVzb3VyY2VfdHlwZSI6InNldHRpbmciLCJyZXNvdXJjZSI6eyJhY2NvdW50X2lkIjoic2VsZiJ9fSwiY3JlYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsInVwZGF0ZWRfYXQiOiIyMDIzLTExLTAyVDA4OjUxOjQyLjc3MVoiLCJkZWxldGVkX2F0IjpudWxsLCJhY2NvdW50X2lkIjoiODI0MjcwNWYtMzViNS00ZDcxLThlMTktYzVhNDFhYzJlMGE0IiwiYWNjb3VudF9ncm91cF9pZCI6bnVsbH0seyJpZCI6ImZjYzE3MTY4LWRmNTQtNDIyMy04MzYxLTY4NTlkZmNmMzU2NSIsInBlcm1pdHRlZV90eXBlIjoiYWNjb3VudCIsInZhbHVlIjp7Im5hbWUiOiJvYi1pYW06dG9rZW4iLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJjcmVhdGUiLCJyZWFkIl0sInJlc291cmNlX3R5cGUiOiJ0b2tlbiIsInJlc291cmNlIjp7ImFjY291bnRfaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfV19.tfqYJop4iJNlIbBVztf7DFfVhaYAFnUGDhLjik2OGA4',
|
|
7
|
+
);
|
|
8
|
+
(async () => {
|
|
9
|
+
try {
|
|
10
|
+
// const res = await OB_BMS_SDK.client.sensorsIndex(
|
|
11
|
+
// 'f1140a6a-2923-4527-a126-27c8323bf5ee',
|
|
12
|
+
// '72b292b5-e926-48d3-8b43-75f19eed6003',
|
|
13
|
+
// );
|
|
14
|
+
const res = await OB_BMS_SDK.client.serviceRequestsIndex();
|
|
15
|
+
console.log({ data: res.data });
|
|
16
|
+
} catch (err) {
|
|
17
|
+
console.log(err);
|
|
18
|
+
}
|
|
19
|
+
})();
|