ob-bms-sdk 0.0.77 → 0.0.79
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 +215 -35
- package/dist/api/api.d.ts +177 -36
- package/dist/api/api.js +67 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -37,10 +37,10 @@ export interface ACRequestBody {
|
|
|
37
37
|
'floor_id': string;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
|
-
* @type {string}
|
|
40
|
+
* @type {Array<string>}
|
|
41
41
|
* @memberof ACRequestBody
|
|
42
42
|
*/
|
|
43
|
-
'ac_zone_id': string
|
|
43
|
+
'ac_zone_id': Array<string>;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {string}
|
|
@@ -147,24 +147,12 @@ export interface ACRequestResponse {
|
|
|
147
147
|
* @memberof ACRequestResponse
|
|
148
148
|
*/
|
|
149
149
|
'floor_id': string;
|
|
150
|
-
/**
|
|
151
|
-
*
|
|
152
|
-
* @type {string}
|
|
153
|
-
* @memberof ACRequestResponse
|
|
154
|
-
*/
|
|
155
|
-
'ac_zone_id': string;
|
|
156
150
|
/**
|
|
157
151
|
*
|
|
158
152
|
* @type {string}
|
|
159
153
|
* @memberof ACRequestResponse
|
|
160
154
|
*/
|
|
161
155
|
'estimated_cost': string;
|
|
162
|
-
/**
|
|
163
|
-
*
|
|
164
|
-
* @type {string}
|
|
165
|
-
* @memberof ACRequestResponse
|
|
166
|
-
*/
|
|
167
|
-
'rate': string;
|
|
168
156
|
/**
|
|
169
157
|
*
|
|
170
158
|
* @type {string}
|
|
@@ -188,7 +176,7 @@ export interface ACRequestResponse {
|
|
|
188
176
|
* @type {number}
|
|
189
177
|
* @memberof ACRequestResponse
|
|
190
178
|
*/
|
|
191
|
-
'
|
|
179
|
+
'total_area_size': number;
|
|
192
180
|
/**
|
|
193
181
|
*
|
|
194
182
|
* @type {string}
|
|
@@ -215,10 +203,10 @@ export interface ACRequestResponse {
|
|
|
215
203
|
'requester_id': string;
|
|
216
204
|
/**
|
|
217
205
|
*
|
|
218
|
-
* @type {
|
|
206
|
+
* @type {Array<ACRequestZone>}
|
|
219
207
|
* @memberof ACRequestResponse
|
|
220
208
|
*/
|
|
221
|
-
'ac_zone':
|
|
209
|
+
'ac_zone': Array<ACRequestZone>;
|
|
222
210
|
/**
|
|
223
211
|
*
|
|
224
212
|
* @type {FloorData}
|
|
@@ -329,6 +317,55 @@ export interface ACRequestUpdateBody {
|
|
|
329
317
|
*/
|
|
330
318
|
export interface ACRequestUpdateBodyStatus {
|
|
331
319
|
}
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @export
|
|
323
|
+
* @interface ACRequestZone
|
|
324
|
+
*/
|
|
325
|
+
export interface ACRequestZone {
|
|
326
|
+
/**
|
|
327
|
+
*
|
|
328
|
+
* @type {string}
|
|
329
|
+
* @memberof ACRequestZone
|
|
330
|
+
*/
|
|
331
|
+
'id': string;
|
|
332
|
+
/**
|
|
333
|
+
*
|
|
334
|
+
* @type {ACZoneData}
|
|
335
|
+
* @memberof ACRequestZone
|
|
336
|
+
*/
|
|
337
|
+
'ac_zone': ACZoneData;
|
|
338
|
+
/**
|
|
339
|
+
*
|
|
340
|
+
* @type {string}
|
|
341
|
+
* @memberof ACRequestZone
|
|
342
|
+
*/
|
|
343
|
+
'ac_request_id': string;
|
|
344
|
+
/**
|
|
345
|
+
*
|
|
346
|
+
* @type {string}
|
|
347
|
+
* @memberof ACRequestZone
|
|
348
|
+
*/
|
|
349
|
+
'rate': string;
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @type {number}
|
|
353
|
+
* @memberof ACRequestZone
|
|
354
|
+
*/
|
|
355
|
+
'area_size': number;
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @type {string}
|
|
359
|
+
* @memberof ACRequestZone
|
|
360
|
+
*/
|
|
361
|
+
'created_at': string;
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @type {string}
|
|
365
|
+
* @memberof ACRequestZone
|
|
366
|
+
*/
|
|
367
|
+
'updated_at': string;
|
|
368
|
+
}
|
|
332
369
|
/**
|
|
333
370
|
*
|
|
334
371
|
* @export
|
|
@@ -496,6 +533,19 @@ export interface ConsentRequestBody {
|
|
|
496
533
|
*/
|
|
497
534
|
'consent': boolean;
|
|
498
535
|
}
|
|
536
|
+
/**
|
|
537
|
+
*
|
|
538
|
+
* @export
|
|
539
|
+
* @interface CreateACRequestResponse
|
|
540
|
+
*/
|
|
541
|
+
export interface CreateACRequestResponse {
|
|
542
|
+
/**
|
|
543
|
+
*
|
|
544
|
+
* @type {string}
|
|
545
|
+
* @memberof CreateACRequestResponse
|
|
546
|
+
*/
|
|
547
|
+
'references': string;
|
|
548
|
+
}
|
|
499
549
|
/**
|
|
500
550
|
*
|
|
501
551
|
* @export
|
|
@@ -899,6 +949,12 @@ export interface IssueTypeRequest {
|
|
|
899
949
|
* @interface IssueTypeUpdate
|
|
900
950
|
*/
|
|
901
951
|
export interface IssueTypeUpdate {
|
|
952
|
+
/**
|
|
953
|
+
*
|
|
954
|
+
* @type {string}
|
|
955
|
+
* @memberof IssueTypeUpdate
|
|
956
|
+
*/
|
|
957
|
+
'internal_remark'?: string;
|
|
902
958
|
/**
|
|
903
959
|
*
|
|
904
960
|
* @type {string}
|
|
@@ -1779,6 +1835,19 @@ export interface RequesterData {
|
|
|
1779
1835
|
*/
|
|
1780
1836
|
'id': string;
|
|
1781
1837
|
}
|
|
1838
|
+
/**
|
|
1839
|
+
*
|
|
1840
|
+
* @export
|
|
1841
|
+
* @interface ResultResponseData
|
|
1842
|
+
*/
|
|
1843
|
+
export interface ResultResponseData {
|
|
1844
|
+
/**
|
|
1845
|
+
*
|
|
1846
|
+
* @type {boolean}
|
|
1847
|
+
* @memberof ResultResponseData
|
|
1848
|
+
*/
|
|
1849
|
+
'result': boolean;
|
|
1850
|
+
}
|
|
1782
1851
|
/**
|
|
1783
1852
|
*
|
|
1784
1853
|
* @export
|
|
@@ -2656,6 +2725,26 @@ export interface UpdateMemberResponse {
|
|
|
2656
2725
|
*/
|
|
2657
2726
|
'result': boolean | null;
|
|
2658
2727
|
}
|
|
2728
|
+
/**
|
|
2729
|
+
*
|
|
2730
|
+
* @export
|
|
2731
|
+
* @interface UpdateVisitorScheduleBody
|
|
2732
|
+
*/
|
|
2733
|
+
export interface UpdateVisitorScheduleBody {
|
|
2734
|
+
/**
|
|
2735
|
+
*
|
|
2736
|
+
* @type {UpdateVisitorScheduleBodyDeletedAt}
|
|
2737
|
+
* @memberof UpdateVisitorScheduleBody
|
|
2738
|
+
*/
|
|
2739
|
+
'deleted_at': UpdateVisitorScheduleBodyDeletedAt;
|
|
2740
|
+
}
|
|
2741
|
+
/**
|
|
2742
|
+
*
|
|
2743
|
+
* @export
|
|
2744
|
+
* @interface UpdateVisitorScheduleBodyDeletedAt
|
|
2745
|
+
*/
|
|
2746
|
+
export interface UpdateVisitorScheduleBodyDeletedAt {
|
|
2747
|
+
}
|
|
2659
2748
|
/**
|
|
2660
2749
|
*
|
|
2661
2750
|
* @export
|
|
@@ -2823,16 +2912,16 @@ export interface VisitorSchedule {
|
|
|
2823
2912
|
'floor_id': string;
|
|
2824
2913
|
/**
|
|
2825
2914
|
*
|
|
2826
|
-
* @type {
|
|
2915
|
+
* @type {UpdateVisitorScheduleBodyDeletedAt}
|
|
2827
2916
|
* @memberof VisitorSchedule
|
|
2828
2917
|
*/
|
|
2829
|
-
'from':
|
|
2918
|
+
'from': UpdateVisitorScheduleBodyDeletedAt;
|
|
2830
2919
|
/**
|
|
2831
2920
|
*
|
|
2832
|
-
* @type {
|
|
2921
|
+
* @type {UpdateVisitorScheduleBodyDeletedAt}
|
|
2833
2922
|
* @memberof VisitorSchedule
|
|
2834
2923
|
*/
|
|
2835
|
-
'to':
|
|
2924
|
+
'to': UpdateVisitorScheduleBodyDeletedAt;
|
|
2836
2925
|
/**
|
|
2837
2926
|
*
|
|
2838
2927
|
* @type {object}
|
|
@@ -2840,13 +2929,6 @@ export interface VisitorSchedule {
|
|
|
2840
2929
|
*/
|
|
2841
2930
|
'repetition'?: object;
|
|
2842
2931
|
}
|
|
2843
|
-
/**
|
|
2844
|
-
*
|
|
2845
|
-
* @export
|
|
2846
|
-
* @interface VisitorScheduleFrom
|
|
2847
|
-
*/
|
|
2848
|
-
export interface VisitorScheduleFrom {
|
|
2849
|
-
}
|
|
2850
2932
|
/**
|
|
2851
2933
|
*
|
|
2852
2934
|
* @export
|
|
@@ -3144,15 +3226,15 @@ export interface WrappedOneResponseACRequestResponse {
|
|
|
3144
3226
|
/**
|
|
3145
3227
|
*
|
|
3146
3228
|
* @export
|
|
3147
|
-
* @interface
|
|
3229
|
+
* @interface WrappedOneResponseCreateACRequestResponse
|
|
3148
3230
|
*/
|
|
3149
|
-
export interface
|
|
3231
|
+
export interface WrappedOneResponseCreateACRequestResponse {
|
|
3150
3232
|
/**
|
|
3151
3233
|
*
|
|
3152
|
-
* @type {
|
|
3153
|
-
* @memberof
|
|
3234
|
+
* @type {CreateACRequestResponse}
|
|
3235
|
+
* @memberof WrappedOneResponseCreateACRequestResponse
|
|
3154
3236
|
*/
|
|
3155
|
-
'data':
|
|
3237
|
+
'data': CreateACRequestResponse;
|
|
3156
3238
|
}
|
|
3157
3239
|
/**
|
|
3158
3240
|
*
|
|
@@ -3688,6 +3770,32 @@ export const WrappedResponsePassConsentResponseDataStatusEnum = {
|
|
|
3688
3770
|
|
|
3689
3771
|
export type WrappedResponsePassConsentResponseDataStatusEnum = typeof WrappedResponsePassConsentResponseDataStatusEnum[keyof typeof WrappedResponsePassConsentResponseDataStatusEnum];
|
|
3690
3772
|
|
|
3773
|
+
/**
|
|
3774
|
+
*
|
|
3775
|
+
* @export
|
|
3776
|
+
* @interface WrappedResponseResultResponseData
|
|
3777
|
+
*/
|
|
3778
|
+
export interface WrappedResponseResultResponseData {
|
|
3779
|
+
/**
|
|
3780
|
+
*
|
|
3781
|
+
* @type {WrappedResponseResultResponseDataData}
|
|
3782
|
+
* @memberof WrappedResponseResultResponseData
|
|
3783
|
+
*/
|
|
3784
|
+
'data': WrappedResponseResultResponseDataData | null;
|
|
3785
|
+
}
|
|
3786
|
+
/**
|
|
3787
|
+
*
|
|
3788
|
+
* @export
|
|
3789
|
+
* @interface WrappedResponseResultResponseDataData
|
|
3790
|
+
*/
|
|
3791
|
+
export interface WrappedResponseResultResponseDataData {
|
|
3792
|
+
/**
|
|
3793
|
+
*
|
|
3794
|
+
* @type {boolean}
|
|
3795
|
+
* @memberof WrappedResponseResultResponseDataData
|
|
3796
|
+
*/
|
|
3797
|
+
'result': boolean;
|
|
3798
|
+
}
|
|
3691
3799
|
/**
|
|
3692
3800
|
*
|
|
3693
3801
|
* @export
|
|
@@ -5124,6 +5232,45 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5124
5232
|
options: localVarRequestOptions,
|
|
5125
5233
|
};
|
|
5126
5234
|
},
|
|
5235
|
+
/**
|
|
5236
|
+
*
|
|
5237
|
+
* @param {string} id
|
|
5238
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
5239
|
+
* @param {*} [options] Override http request option.
|
|
5240
|
+
* @throws {RequiredError}
|
|
5241
|
+
*/
|
|
5242
|
+
visitorSchedulesUpdate: async (id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5243
|
+
// verify required parameter 'id' is not null or undefined
|
|
5244
|
+
assertParamExists('visitorSchedulesUpdate', 'id', id)
|
|
5245
|
+
// verify required parameter 'updateVisitorScheduleBody' is not null or undefined
|
|
5246
|
+
assertParamExists('visitorSchedulesUpdate', 'updateVisitorScheduleBody', updateVisitorScheduleBody)
|
|
5247
|
+
const localVarPath = `/visitor_schedules/{id}`
|
|
5248
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5249
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5250
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5251
|
+
let baseOptions;
|
|
5252
|
+
if (configuration) {
|
|
5253
|
+
baseOptions = configuration.baseOptions;
|
|
5254
|
+
}
|
|
5255
|
+
|
|
5256
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
5257
|
+
const localVarHeaderParameter = {} as any;
|
|
5258
|
+
const localVarQueryParameter = {} as any;
|
|
5259
|
+
|
|
5260
|
+
|
|
5261
|
+
|
|
5262
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5263
|
+
|
|
5264
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5265
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5266
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5267
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateVisitorScheduleBody, localVarRequestOptions, configuration)
|
|
5268
|
+
|
|
5269
|
+
return {
|
|
5270
|
+
url: toPathString(localVarUrlObj),
|
|
5271
|
+
options: localVarRequestOptions,
|
|
5272
|
+
};
|
|
5273
|
+
},
|
|
5127
5274
|
/**
|
|
5128
5275
|
*
|
|
5129
5276
|
* @param {string} [tokenId]
|
|
@@ -5275,7 +5422,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5275
5422
|
* @param {*} [options] Override http request option.
|
|
5276
5423
|
* @throws {RequiredError}
|
|
5277
5424
|
*/
|
|
5278
|
-
async acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5425
|
+
async acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseCreateACRequestResponse>> {
|
|
5279
5426
|
const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestCreate(aCRequestBody, options);
|
|
5280
5427
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5281
5428
|
},
|
|
@@ -5624,6 +5771,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5624
5771
|
const localVarAxiosArgs = await localVarAxiosParamCreator.towersIndex(options);
|
|
5625
5772
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5626
5773
|
},
|
|
5774
|
+
/**
|
|
5775
|
+
*
|
|
5776
|
+
* @param {string} id
|
|
5777
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
5778
|
+
* @param {*} [options] Override http request option.
|
|
5779
|
+
* @throws {RequiredError}
|
|
5780
|
+
*/
|
|
5781
|
+
async visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseResultResponseData>> {
|
|
5782
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options);
|
|
5783
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5784
|
+
},
|
|
5627
5785
|
/**
|
|
5628
5786
|
*
|
|
5629
5787
|
* @param {string} [tokenId]
|
|
@@ -5680,7 +5838,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5680
5838
|
* @param {*} [options] Override http request option.
|
|
5681
5839
|
* @throws {RequiredError}
|
|
5682
5840
|
*/
|
|
5683
|
-
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<
|
|
5841
|
+
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedOneResponseCreateACRequestResponse> {
|
|
5684
5842
|
return localVarFp.acRequestCreate(aCRequestBody, options).then((request) => request(axios, basePath));
|
|
5685
5843
|
},
|
|
5686
5844
|
/**
|
|
@@ -5996,6 +6154,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5996
6154
|
towersIndex(options?: any): AxiosPromise<WrappedResponseTowerIndexResponse> {
|
|
5997
6155
|
return localVarFp.towersIndex(options).then((request) => request(axios, basePath));
|
|
5998
6156
|
},
|
|
6157
|
+
/**
|
|
6158
|
+
*
|
|
6159
|
+
* @param {string} id
|
|
6160
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
6161
|
+
* @param {*} [options] Override http request option.
|
|
6162
|
+
* @throws {RequiredError}
|
|
6163
|
+
*/
|
|
6164
|
+
visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: any): AxiosPromise<WrappedResponseResultResponseData> {
|
|
6165
|
+
return localVarFp.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(axios, basePath));
|
|
6166
|
+
},
|
|
5999
6167
|
/**
|
|
6000
6168
|
*
|
|
6001
6169
|
* @param {string} [tokenId]
|
|
@@ -6430,6 +6598,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
6430
6598
|
return DefaultApiFp(this.configuration).towersIndex(options).then((request) => request(this.axios, this.basePath));
|
|
6431
6599
|
}
|
|
6432
6600
|
|
|
6601
|
+
/**
|
|
6602
|
+
*
|
|
6603
|
+
* @param {string} id
|
|
6604
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
6605
|
+
* @param {*} [options] Override http request option.
|
|
6606
|
+
* @throws {RequiredError}
|
|
6607
|
+
* @memberof DefaultApi
|
|
6608
|
+
*/
|
|
6609
|
+
public visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig) {
|
|
6610
|
+
return DefaultApiFp(this.configuration).visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(this.axios, this.basePath));
|
|
6611
|
+
}
|
|
6612
|
+
|
|
6433
6613
|
/**
|
|
6434
6614
|
*
|
|
6435
6615
|
* @param {string} [tokenId]
|
package/dist/api/api.d.ts
CHANGED
|
@@ -27,10 +27,10 @@ export interface ACRequestBody {
|
|
|
27
27
|
'floor_id': string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
|
-
* @type {string}
|
|
30
|
+
* @type {Array<string>}
|
|
31
31
|
* @memberof ACRequestBody
|
|
32
32
|
*/
|
|
33
|
-
'ac_zone_id': string
|
|
33
|
+
'ac_zone_id': Array<string>;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
@@ -135,24 +135,12 @@ export interface ACRequestResponse {
|
|
|
135
135
|
* @memberof ACRequestResponse
|
|
136
136
|
*/
|
|
137
137
|
'floor_id': string;
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @type {string}
|
|
141
|
-
* @memberof ACRequestResponse
|
|
142
|
-
*/
|
|
143
|
-
'ac_zone_id': string;
|
|
144
138
|
/**
|
|
145
139
|
*
|
|
146
140
|
* @type {string}
|
|
147
141
|
* @memberof ACRequestResponse
|
|
148
142
|
*/
|
|
149
143
|
'estimated_cost': string;
|
|
150
|
-
/**
|
|
151
|
-
*
|
|
152
|
-
* @type {string}
|
|
153
|
-
* @memberof ACRequestResponse
|
|
154
|
-
*/
|
|
155
|
-
'rate': string;
|
|
156
144
|
/**
|
|
157
145
|
*
|
|
158
146
|
* @type {string}
|
|
@@ -176,7 +164,7 @@ export interface ACRequestResponse {
|
|
|
176
164
|
* @type {number}
|
|
177
165
|
* @memberof ACRequestResponse
|
|
178
166
|
*/
|
|
179
|
-
'
|
|
167
|
+
'total_area_size': number;
|
|
180
168
|
/**
|
|
181
169
|
*
|
|
182
170
|
* @type {string}
|
|
@@ -203,10 +191,10 @@ export interface ACRequestResponse {
|
|
|
203
191
|
'requester_id': string;
|
|
204
192
|
/**
|
|
205
193
|
*
|
|
206
|
-
* @type {
|
|
194
|
+
* @type {Array<ACRequestZone>}
|
|
207
195
|
* @memberof ACRequestResponse
|
|
208
196
|
*/
|
|
209
|
-
'ac_zone':
|
|
197
|
+
'ac_zone': Array<ACRequestZone>;
|
|
210
198
|
/**
|
|
211
199
|
*
|
|
212
200
|
* @type {FloorData}
|
|
@@ -305,6 +293,55 @@ export interface ACRequestUpdateBody {
|
|
|
305
293
|
*/
|
|
306
294
|
export interface ACRequestUpdateBodyStatus {
|
|
307
295
|
}
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @export
|
|
299
|
+
* @interface ACRequestZone
|
|
300
|
+
*/
|
|
301
|
+
export interface ACRequestZone {
|
|
302
|
+
/**
|
|
303
|
+
*
|
|
304
|
+
* @type {string}
|
|
305
|
+
* @memberof ACRequestZone
|
|
306
|
+
*/
|
|
307
|
+
'id': string;
|
|
308
|
+
/**
|
|
309
|
+
*
|
|
310
|
+
* @type {ACZoneData}
|
|
311
|
+
* @memberof ACRequestZone
|
|
312
|
+
*/
|
|
313
|
+
'ac_zone': ACZoneData;
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @type {string}
|
|
317
|
+
* @memberof ACRequestZone
|
|
318
|
+
*/
|
|
319
|
+
'ac_request_id': string;
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @type {string}
|
|
323
|
+
* @memberof ACRequestZone
|
|
324
|
+
*/
|
|
325
|
+
'rate': string;
|
|
326
|
+
/**
|
|
327
|
+
*
|
|
328
|
+
* @type {number}
|
|
329
|
+
* @memberof ACRequestZone
|
|
330
|
+
*/
|
|
331
|
+
'area_size': number;
|
|
332
|
+
/**
|
|
333
|
+
*
|
|
334
|
+
* @type {string}
|
|
335
|
+
* @memberof ACRequestZone
|
|
336
|
+
*/
|
|
337
|
+
'created_at': string;
|
|
338
|
+
/**
|
|
339
|
+
*
|
|
340
|
+
* @type {string}
|
|
341
|
+
* @memberof ACRequestZone
|
|
342
|
+
*/
|
|
343
|
+
'updated_at': string;
|
|
344
|
+
}
|
|
308
345
|
/**
|
|
309
346
|
*
|
|
310
347
|
* @export
|
|
@@ -472,6 +509,19 @@ export interface ConsentRequestBody {
|
|
|
472
509
|
*/
|
|
473
510
|
'consent': boolean;
|
|
474
511
|
}
|
|
512
|
+
/**
|
|
513
|
+
*
|
|
514
|
+
* @export
|
|
515
|
+
* @interface CreateACRequestResponse
|
|
516
|
+
*/
|
|
517
|
+
export interface CreateACRequestResponse {
|
|
518
|
+
/**
|
|
519
|
+
*
|
|
520
|
+
* @type {string}
|
|
521
|
+
* @memberof CreateACRequestResponse
|
|
522
|
+
*/
|
|
523
|
+
'references': string;
|
|
524
|
+
}
|
|
475
525
|
/**
|
|
476
526
|
*
|
|
477
527
|
* @export
|
|
@@ -883,6 +933,12 @@ export interface IssueTypeRequest {
|
|
|
883
933
|
* @interface IssueTypeUpdate
|
|
884
934
|
*/
|
|
885
935
|
export interface IssueTypeUpdate {
|
|
936
|
+
/**
|
|
937
|
+
*
|
|
938
|
+
* @type {string}
|
|
939
|
+
* @memberof IssueTypeUpdate
|
|
940
|
+
*/
|
|
941
|
+
'internal_remark'?: string;
|
|
886
942
|
/**
|
|
887
943
|
*
|
|
888
944
|
* @type {string}
|
|
@@ -1754,6 +1810,19 @@ export interface RequesterData {
|
|
|
1754
1810
|
*/
|
|
1755
1811
|
'id': string;
|
|
1756
1812
|
}
|
|
1813
|
+
/**
|
|
1814
|
+
*
|
|
1815
|
+
* @export
|
|
1816
|
+
* @interface ResultResponseData
|
|
1817
|
+
*/
|
|
1818
|
+
export interface ResultResponseData {
|
|
1819
|
+
/**
|
|
1820
|
+
*
|
|
1821
|
+
* @type {boolean}
|
|
1822
|
+
* @memberof ResultResponseData
|
|
1823
|
+
*/
|
|
1824
|
+
'result': boolean;
|
|
1825
|
+
}
|
|
1757
1826
|
/**
|
|
1758
1827
|
*
|
|
1759
1828
|
* @export
|
|
@@ -2608,6 +2677,26 @@ export interface UpdateMemberResponse {
|
|
|
2608
2677
|
*/
|
|
2609
2678
|
'result': boolean | null;
|
|
2610
2679
|
}
|
|
2680
|
+
/**
|
|
2681
|
+
*
|
|
2682
|
+
* @export
|
|
2683
|
+
* @interface UpdateVisitorScheduleBody
|
|
2684
|
+
*/
|
|
2685
|
+
export interface UpdateVisitorScheduleBody {
|
|
2686
|
+
/**
|
|
2687
|
+
*
|
|
2688
|
+
* @type {UpdateVisitorScheduleBodyDeletedAt}
|
|
2689
|
+
* @memberof UpdateVisitorScheduleBody
|
|
2690
|
+
*/
|
|
2691
|
+
'deleted_at': UpdateVisitorScheduleBodyDeletedAt;
|
|
2692
|
+
}
|
|
2693
|
+
/**
|
|
2694
|
+
*
|
|
2695
|
+
* @export
|
|
2696
|
+
* @interface UpdateVisitorScheduleBodyDeletedAt
|
|
2697
|
+
*/
|
|
2698
|
+
export interface UpdateVisitorScheduleBodyDeletedAt {
|
|
2699
|
+
}
|
|
2611
2700
|
/**
|
|
2612
2701
|
*
|
|
2613
2702
|
* @export
|
|
@@ -2775,16 +2864,16 @@ export interface VisitorSchedule {
|
|
|
2775
2864
|
'floor_id': string;
|
|
2776
2865
|
/**
|
|
2777
2866
|
*
|
|
2778
|
-
* @type {
|
|
2867
|
+
* @type {UpdateVisitorScheduleBodyDeletedAt}
|
|
2779
2868
|
* @memberof VisitorSchedule
|
|
2780
2869
|
*/
|
|
2781
|
-
'from':
|
|
2870
|
+
'from': UpdateVisitorScheduleBodyDeletedAt;
|
|
2782
2871
|
/**
|
|
2783
2872
|
*
|
|
2784
|
-
* @type {
|
|
2873
|
+
* @type {UpdateVisitorScheduleBodyDeletedAt}
|
|
2785
2874
|
* @memberof VisitorSchedule
|
|
2786
2875
|
*/
|
|
2787
|
-
'to':
|
|
2876
|
+
'to': UpdateVisitorScheduleBodyDeletedAt;
|
|
2788
2877
|
/**
|
|
2789
2878
|
*
|
|
2790
2879
|
* @type {object}
|
|
@@ -2792,13 +2881,6 @@ export interface VisitorSchedule {
|
|
|
2792
2881
|
*/
|
|
2793
2882
|
'repetition'?: object;
|
|
2794
2883
|
}
|
|
2795
|
-
/**
|
|
2796
|
-
*
|
|
2797
|
-
* @export
|
|
2798
|
-
* @interface VisitorScheduleFrom
|
|
2799
|
-
*/
|
|
2800
|
-
export interface VisitorScheduleFrom {
|
|
2801
|
-
}
|
|
2802
2884
|
/**
|
|
2803
2885
|
*
|
|
2804
2886
|
* @export
|
|
@@ -3096,15 +3178,15 @@ export interface WrappedOneResponseACRequestResponse {
|
|
|
3096
3178
|
/**
|
|
3097
3179
|
*
|
|
3098
3180
|
* @export
|
|
3099
|
-
* @interface
|
|
3181
|
+
* @interface WrappedOneResponseCreateACRequestResponse
|
|
3100
3182
|
*/
|
|
3101
|
-
export interface
|
|
3183
|
+
export interface WrappedOneResponseCreateACRequestResponse {
|
|
3102
3184
|
/**
|
|
3103
3185
|
*
|
|
3104
|
-
* @type {
|
|
3105
|
-
* @memberof
|
|
3186
|
+
* @type {CreateACRequestResponse}
|
|
3187
|
+
* @memberof WrappedOneResponseCreateACRequestResponse
|
|
3106
3188
|
*/
|
|
3107
|
-
'data':
|
|
3189
|
+
'data': CreateACRequestResponse;
|
|
3108
3190
|
}
|
|
3109
3191
|
/**
|
|
3110
3192
|
*
|
|
@@ -3634,6 +3716,32 @@ export declare const WrappedResponsePassConsentResponseDataStatusEnum: {
|
|
|
3634
3716
|
readonly Confirmed: "confirmed";
|
|
3635
3717
|
};
|
|
3636
3718
|
export type WrappedResponsePassConsentResponseDataStatusEnum = typeof WrappedResponsePassConsentResponseDataStatusEnum[keyof typeof WrappedResponsePassConsentResponseDataStatusEnum];
|
|
3719
|
+
/**
|
|
3720
|
+
*
|
|
3721
|
+
* @export
|
|
3722
|
+
* @interface WrappedResponseResultResponseData
|
|
3723
|
+
*/
|
|
3724
|
+
export interface WrappedResponseResultResponseData {
|
|
3725
|
+
/**
|
|
3726
|
+
*
|
|
3727
|
+
* @type {WrappedResponseResultResponseDataData}
|
|
3728
|
+
* @memberof WrappedResponseResultResponseData
|
|
3729
|
+
*/
|
|
3730
|
+
'data': WrappedResponseResultResponseDataData | null;
|
|
3731
|
+
}
|
|
3732
|
+
/**
|
|
3733
|
+
*
|
|
3734
|
+
* @export
|
|
3735
|
+
* @interface WrappedResponseResultResponseDataData
|
|
3736
|
+
*/
|
|
3737
|
+
export interface WrappedResponseResultResponseDataData {
|
|
3738
|
+
/**
|
|
3739
|
+
*
|
|
3740
|
+
* @type {boolean}
|
|
3741
|
+
* @memberof WrappedResponseResultResponseDataData
|
|
3742
|
+
*/
|
|
3743
|
+
'result': boolean;
|
|
3744
|
+
}
|
|
3637
3745
|
/**
|
|
3638
3746
|
*
|
|
3639
3747
|
* @export
|
|
@@ -4068,6 +4176,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4068
4176
|
* @throws {RequiredError}
|
|
4069
4177
|
*/
|
|
4070
4178
|
towersIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4179
|
+
/**
|
|
4180
|
+
*
|
|
4181
|
+
* @param {string} id
|
|
4182
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
4183
|
+
* @param {*} [options] Override http request option.
|
|
4184
|
+
* @throws {RequiredError}
|
|
4185
|
+
*/
|
|
4186
|
+
visitorSchedulesUpdate: (id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4071
4187
|
/**
|
|
4072
4188
|
*
|
|
4073
4189
|
* @param {string} [tokenId]
|
|
@@ -4108,7 +4224,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4108
4224
|
* @param {*} [options] Override http request option.
|
|
4109
4225
|
* @throws {RequiredError}
|
|
4110
4226
|
*/
|
|
4111
|
-
acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4227
|
+
acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseCreateACRequestResponse>>;
|
|
4112
4228
|
/**
|
|
4113
4229
|
*
|
|
4114
4230
|
* @param {string} [orderBy]
|
|
@@ -4358,6 +4474,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4358
4474
|
* @throws {RequiredError}
|
|
4359
4475
|
*/
|
|
4360
4476
|
towersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseTowerIndexResponse>>;
|
|
4477
|
+
/**
|
|
4478
|
+
*
|
|
4479
|
+
* @param {string} id
|
|
4480
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
4481
|
+
* @param {*} [options] Override http request option.
|
|
4482
|
+
* @throws {RequiredError}
|
|
4483
|
+
*/
|
|
4484
|
+
visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseResultResponseData>>;
|
|
4361
4485
|
/**
|
|
4362
4486
|
*
|
|
4363
4487
|
* @param {string} [tokenId]
|
|
@@ -4398,7 +4522,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4398
4522
|
* @param {*} [options] Override http request option.
|
|
4399
4523
|
* @throws {RequiredError}
|
|
4400
4524
|
*/
|
|
4401
|
-
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<
|
|
4525
|
+
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedOneResponseCreateACRequestResponse>;
|
|
4402
4526
|
/**
|
|
4403
4527
|
*
|
|
4404
4528
|
* @param {string} [orderBy]
|
|
@@ -4648,6 +4772,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4648
4772
|
* @throws {RequiredError}
|
|
4649
4773
|
*/
|
|
4650
4774
|
towersIndex(options?: any): AxiosPromise<WrappedResponseTowerIndexResponse>;
|
|
4775
|
+
/**
|
|
4776
|
+
*
|
|
4777
|
+
* @param {string} id
|
|
4778
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
4779
|
+
* @param {*} [options] Override http request option.
|
|
4780
|
+
* @throws {RequiredError}
|
|
4781
|
+
*/
|
|
4782
|
+
visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: any): AxiosPromise<WrappedResponseResultResponseData>;
|
|
4651
4783
|
/**
|
|
4652
4784
|
*
|
|
4653
4785
|
* @param {string} [tokenId]
|
|
@@ -4691,7 +4823,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4691
4823
|
* @throws {RequiredError}
|
|
4692
4824
|
* @memberof DefaultApi
|
|
4693
4825
|
*/
|
|
4694
|
-
acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4826
|
+
acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseCreateACRequestResponse, any>>;
|
|
4695
4827
|
/**
|
|
4696
4828
|
*
|
|
4697
4829
|
* @param {string} [orderBy]
|
|
@@ -4973,6 +5105,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4973
5105
|
* @memberof DefaultApi
|
|
4974
5106
|
*/
|
|
4975
5107
|
towersIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseTowerIndexResponse, any>>;
|
|
5108
|
+
/**
|
|
5109
|
+
*
|
|
5110
|
+
* @param {string} id
|
|
5111
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
5112
|
+
* @param {*} [options] Override http request option.
|
|
5113
|
+
* @throws {RequiredError}
|
|
5114
|
+
* @memberof DefaultApi
|
|
5115
|
+
*/
|
|
5116
|
+
visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseResultResponseData, any>>;
|
|
4976
5117
|
/**
|
|
4977
5118
|
*
|
|
4978
5119
|
* @param {string} [tokenId]
|
package/dist/api/api.js
CHANGED
|
@@ -1174,6 +1174,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1174
1174
|
options: localVarRequestOptions,
|
|
1175
1175
|
};
|
|
1176
1176
|
}),
|
|
1177
|
+
/**
|
|
1178
|
+
*
|
|
1179
|
+
* @param {string} id
|
|
1180
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
1181
|
+
* @param {*} [options] Override http request option.
|
|
1182
|
+
* @throws {RequiredError}
|
|
1183
|
+
*/
|
|
1184
|
+
visitorSchedulesUpdate: (id, updateVisitorScheduleBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1185
|
+
// verify required parameter 'id' is not null or undefined
|
|
1186
|
+
(0, common_1.assertParamExists)('visitorSchedulesUpdate', 'id', id);
|
|
1187
|
+
// verify required parameter 'updateVisitorScheduleBody' is not null or undefined
|
|
1188
|
+
(0, common_1.assertParamExists)('visitorSchedulesUpdate', 'updateVisitorScheduleBody', updateVisitorScheduleBody);
|
|
1189
|
+
const localVarPath = `/visitor_schedules/{id}`
|
|
1190
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1191
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1192
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1193
|
+
let baseOptions;
|
|
1194
|
+
if (configuration) {
|
|
1195
|
+
baseOptions = configuration.baseOptions;
|
|
1196
|
+
}
|
|
1197
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
1198
|
+
const localVarHeaderParameter = {};
|
|
1199
|
+
const localVarQueryParameter = {};
|
|
1200
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1201
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1202
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1203
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1204
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateVisitorScheduleBody, localVarRequestOptions, configuration);
|
|
1205
|
+
return {
|
|
1206
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1207
|
+
options: localVarRequestOptions,
|
|
1208
|
+
};
|
|
1209
|
+
}),
|
|
1177
1210
|
/**
|
|
1178
1211
|
*
|
|
1179
1212
|
* @param {string} [tokenId]
|
|
@@ -1718,6 +1751,19 @@ const DefaultApiFp = function (configuration) {
|
|
|
1718
1751
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1719
1752
|
});
|
|
1720
1753
|
},
|
|
1754
|
+
/**
|
|
1755
|
+
*
|
|
1756
|
+
* @param {string} id
|
|
1757
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
1758
|
+
* @param {*} [options] Override http request option.
|
|
1759
|
+
* @throws {RequiredError}
|
|
1760
|
+
*/
|
|
1761
|
+
visitorSchedulesUpdate(id, updateVisitorScheduleBody, options) {
|
|
1762
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1763
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options);
|
|
1764
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1765
|
+
});
|
|
1766
|
+
},
|
|
1721
1767
|
/**
|
|
1722
1768
|
*
|
|
1723
1769
|
* @param {string} [tokenId]
|
|
@@ -2098,6 +2144,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2098
2144
|
towersIndex(options) {
|
|
2099
2145
|
return localVarFp.towersIndex(options).then((request) => request(axios, basePath));
|
|
2100
2146
|
},
|
|
2147
|
+
/**
|
|
2148
|
+
*
|
|
2149
|
+
* @param {string} id
|
|
2150
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
2151
|
+
* @param {*} [options] Override http request option.
|
|
2152
|
+
* @throws {RequiredError}
|
|
2153
|
+
*/
|
|
2154
|
+
visitorSchedulesUpdate(id, updateVisitorScheduleBody, options) {
|
|
2155
|
+
return localVarFp.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(axios, basePath));
|
|
2156
|
+
},
|
|
2101
2157
|
/**
|
|
2102
2158
|
*
|
|
2103
2159
|
* @param {string} [tokenId]
|
|
@@ -2499,6 +2555,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2499
2555
|
towersIndex(options) {
|
|
2500
2556
|
return (0, exports.DefaultApiFp)(this.configuration).towersIndex(options).then((request) => request(this.axios, this.basePath));
|
|
2501
2557
|
}
|
|
2558
|
+
/**
|
|
2559
|
+
*
|
|
2560
|
+
* @param {string} id
|
|
2561
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
2562
|
+
* @param {*} [options] Override http request option.
|
|
2563
|
+
* @throws {RequiredError}
|
|
2564
|
+
* @memberof DefaultApi
|
|
2565
|
+
*/
|
|
2566
|
+
visitorSchedulesUpdate(id, updateVisitorScheduleBody, options) {
|
|
2567
|
+
return (0, exports.DefaultApiFp)(this.configuration).visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(this.axios, this.basePath));
|
|
2568
|
+
}
|
|
2502
2569
|
/**
|
|
2503
2570
|
*
|
|
2504
2571
|
* @param {string} [tokenId]
|