ob-bms-sdk 0.0.97 → 0.0.98
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 +73 -170
- package/dist/api/api.d.ts +51 -94
- package/dist/api/api.js +43 -141
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -741,6 +741,21 @@ export interface BuildingAccessLogResult {
|
|
|
741
741
|
*/
|
|
742
742
|
export interface BuildingAccessLogResultCreatedAt {
|
|
743
743
|
}
|
|
744
|
+
/**
|
|
745
|
+
*
|
|
746
|
+
* @export
|
|
747
|
+
* @interface BuildingAccessLogShowQuery
|
|
748
|
+
*/
|
|
749
|
+
export interface BuildingAccessLogShowQuery {
|
|
750
|
+
/**
|
|
751
|
+
*
|
|
752
|
+
* @type {AccessorType}
|
|
753
|
+
* @memberof BuildingAccessLogShowQuery
|
|
754
|
+
*/
|
|
755
|
+
'accessorType': AccessorType;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
|
|
744
759
|
/**
|
|
745
760
|
*
|
|
746
761
|
* @export
|
|
@@ -776,13 +791,7 @@ export interface BuildingAccessgLogQuery {
|
|
|
776
791
|
* @type {AccessorType}
|
|
777
792
|
* @memberof BuildingAccessgLogQuery
|
|
778
793
|
*/
|
|
779
|
-
'
|
|
780
|
-
/**
|
|
781
|
-
*
|
|
782
|
-
* @type {string}
|
|
783
|
-
* @memberof BuildingAccessgLogQuery
|
|
784
|
-
*/
|
|
785
|
-
'name'?: string;
|
|
794
|
+
'accessorType': AccessorType;
|
|
786
795
|
/**
|
|
787
796
|
*
|
|
788
797
|
* @type {string}
|
|
@@ -794,19 +803,13 @@ export interface BuildingAccessgLogQuery {
|
|
|
794
803
|
* @type {string}
|
|
795
804
|
* @memberof BuildingAccessgLogQuery
|
|
796
805
|
*/
|
|
797
|
-
'
|
|
806
|
+
'filter'?: string;
|
|
798
807
|
/**
|
|
799
808
|
*
|
|
800
809
|
* @type {string}
|
|
801
810
|
* @memberof BuildingAccessgLogQuery
|
|
802
811
|
*/
|
|
803
812
|
'id'?: string;
|
|
804
|
-
/**
|
|
805
|
-
*
|
|
806
|
-
* @type {string}
|
|
807
|
-
* @memberof BuildingAccessgLogQuery
|
|
808
|
-
*/
|
|
809
|
-
'filter'?: string;
|
|
810
813
|
/**
|
|
811
814
|
*
|
|
812
815
|
* @type {string}
|
|
@@ -831,6 +834,12 @@ export interface BuildingAccessgLogQuery {
|
|
|
831
834
|
* @memberof BuildingAccessgLogQuery
|
|
832
835
|
*/
|
|
833
836
|
'endDate'?: string;
|
|
837
|
+
/**
|
|
838
|
+
*
|
|
839
|
+
* @type {string}
|
|
840
|
+
* @memberof BuildingAccessgLogQuery
|
|
841
|
+
*/
|
|
842
|
+
'name'?: string;
|
|
834
843
|
}
|
|
835
844
|
|
|
836
845
|
|
|
@@ -4507,6 +4516,12 @@ export interface WrappedArrayResponseBuildingAccessLogResult {
|
|
|
4507
4516
|
* @memberof WrappedArrayResponseBuildingAccessLogResult
|
|
4508
4517
|
*/
|
|
4509
4518
|
'data': Array<BuildingAccessLogResult>;
|
|
4519
|
+
/**
|
|
4520
|
+
*
|
|
4521
|
+
* @type {Pagination}
|
|
4522
|
+
* @memberof WrappedArrayResponseBuildingAccessLogResult
|
|
4523
|
+
*/
|
|
4524
|
+
'pagination'?: Pagination;
|
|
4510
4525
|
}
|
|
4511
4526
|
/**
|
|
4512
4527
|
*
|
|
@@ -5637,26 +5652,25 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5637
5652
|
},
|
|
5638
5653
|
/**
|
|
5639
5654
|
*
|
|
5640
|
-
* @param {AccessorType}
|
|
5655
|
+
* @param {AccessorType} accessorType
|
|
5641
5656
|
* @param {string} [orderBy]
|
|
5642
5657
|
* @param {string} [orderDirection]
|
|
5643
5658
|
* @param {number} [pageNumber]
|
|
5644
5659
|
* @param {number} [pageSize]
|
|
5645
|
-
* @param {string} [name]
|
|
5646
5660
|
* @param {string} [displayTower]
|
|
5647
|
-
* @param {string} [companyName]
|
|
5648
|
-
* @param {string} [id]
|
|
5649
5661
|
* @param {string} [filter]
|
|
5662
|
+
* @param {string} [id]
|
|
5650
5663
|
* @param {string} [building]
|
|
5651
5664
|
* @param {number} [status]
|
|
5652
5665
|
* @param {string} [startDate]
|
|
5653
5666
|
* @param {string} [endDate]
|
|
5667
|
+
* @param {string} [name]
|
|
5654
5668
|
* @param {*} [options] Override http request option.
|
|
5655
5669
|
* @throws {RequiredError}
|
|
5656
5670
|
*/
|
|
5657
|
-
buildingAccessLogsIndex: async (
|
|
5658
|
-
// verify required parameter '
|
|
5659
|
-
assertParamExists('buildingAccessLogsIndex', '
|
|
5671
|
+
buildingAccessLogsIndex: async (accessorType: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, displayTower?: string, filter?: string, id?: string, building?: string, status?: number, startDate?: string, endDate?: string, name?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5672
|
+
// verify required parameter 'accessorType' is not null or undefined
|
|
5673
|
+
assertParamExists('buildingAccessLogsIndex', 'accessorType', accessorType)
|
|
5660
5674
|
const localVarPath = `/building_access`;
|
|
5661
5675
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5662
5676
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5685,30 +5699,22 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5685
5699
|
localVarQueryParameter['page_size'] = pageSize;
|
|
5686
5700
|
}
|
|
5687
5701
|
|
|
5688
|
-
if (
|
|
5689
|
-
localVarQueryParameter['
|
|
5690
|
-
}
|
|
5691
|
-
|
|
5692
|
-
if (name !== undefined) {
|
|
5693
|
-
localVarQueryParameter['name'] = name;
|
|
5702
|
+
if (accessorType !== undefined) {
|
|
5703
|
+
localVarQueryParameter['accessorType'] = accessorType;
|
|
5694
5704
|
}
|
|
5695
5705
|
|
|
5696
5706
|
if (displayTower !== undefined) {
|
|
5697
5707
|
localVarQueryParameter['display_tower'] = displayTower;
|
|
5698
5708
|
}
|
|
5699
5709
|
|
|
5700
|
-
if (
|
|
5701
|
-
localVarQueryParameter['
|
|
5710
|
+
if (filter !== undefined) {
|
|
5711
|
+
localVarQueryParameter['filter'] = filter;
|
|
5702
5712
|
}
|
|
5703
5713
|
|
|
5704
5714
|
if (id !== undefined) {
|
|
5705
5715
|
localVarQueryParameter['id'] = id;
|
|
5706
5716
|
}
|
|
5707
5717
|
|
|
5708
|
-
if (filter !== undefined) {
|
|
5709
|
-
localVarQueryParameter['filter'] = filter;
|
|
5710
|
-
}
|
|
5711
|
-
|
|
5712
5718
|
if (building !== undefined) {
|
|
5713
5719
|
localVarQueryParameter['building'] = building;
|
|
5714
5720
|
}
|
|
@@ -5725,6 +5731,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5725
5731
|
localVarQueryParameter['endDate'] = endDate;
|
|
5726
5732
|
}
|
|
5727
5733
|
|
|
5734
|
+
if (name !== undefined) {
|
|
5735
|
+
localVarQueryParameter['name'] = name;
|
|
5736
|
+
}
|
|
5737
|
+
|
|
5728
5738
|
|
|
5729
5739
|
|
|
5730
5740
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -5739,28 +5749,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5739
5749
|
/**
|
|
5740
5750
|
*
|
|
5741
5751
|
* @param {string} id
|
|
5742
|
-
* @param {AccessorType}
|
|
5743
|
-
* @param {string} [orderBy]
|
|
5744
|
-
* @param {string} [orderDirection]
|
|
5745
|
-
* @param {number} [pageNumber]
|
|
5746
|
-
* @param {number} [pageSize]
|
|
5747
|
-
* @param {string} [name]
|
|
5748
|
-
* @param {string} [displayTower]
|
|
5749
|
-
* @param {string} [companyName]
|
|
5750
|
-
* @param {string} [id2]
|
|
5751
|
-
* @param {string} [filter]
|
|
5752
|
-
* @param {string} [building]
|
|
5753
|
-
* @param {number} [status]
|
|
5754
|
-
* @param {string} [startDate]
|
|
5755
|
-
* @param {string} [endDate]
|
|
5752
|
+
* @param {AccessorType} accessorType
|
|
5756
5753
|
* @param {*} [options] Override http request option.
|
|
5757
5754
|
* @throws {RequiredError}
|
|
5758
5755
|
*/
|
|
5759
|
-
buildingAccessLogsShow: async (id: string,
|
|
5756
|
+
buildingAccessLogsShow: async (id: string, accessorType: AccessorType, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5760
5757
|
// verify required parameter 'id' is not null or undefined
|
|
5761
5758
|
assertParamExists('buildingAccessLogsShow', 'id', id)
|
|
5762
|
-
// verify required parameter '
|
|
5763
|
-
assertParamExists('buildingAccessLogsShow', '
|
|
5759
|
+
// verify required parameter 'accessorType' is not null or undefined
|
|
5760
|
+
assertParamExists('buildingAccessLogsShow', 'accessorType', accessorType)
|
|
5764
5761
|
const localVarPath = `/building_access/{id}`
|
|
5765
5762
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5766
5763
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5774,60 +5771,8 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5774
5771
|
const localVarHeaderParameter = {} as any;
|
|
5775
5772
|
const localVarQueryParameter = {} as any;
|
|
5776
5773
|
|
|
5777
|
-
if (
|
|
5778
|
-
localVarQueryParameter['
|
|
5779
|
-
}
|
|
5780
|
-
|
|
5781
|
-
if (orderDirection !== undefined) {
|
|
5782
|
-
localVarQueryParameter['order_direction'] = orderDirection;
|
|
5783
|
-
}
|
|
5784
|
-
|
|
5785
|
-
if (pageNumber !== undefined) {
|
|
5786
|
-
localVarQueryParameter['page_number'] = pageNumber;
|
|
5787
|
-
}
|
|
5788
|
-
|
|
5789
|
-
if (pageSize !== undefined) {
|
|
5790
|
-
localVarQueryParameter['page_size'] = pageSize;
|
|
5791
|
-
}
|
|
5792
|
-
|
|
5793
|
-
if (type !== undefined) {
|
|
5794
|
-
localVarQueryParameter['type'] = type;
|
|
5795
|
-
}
|
|
5796
|
-
|
|
5797
|
-
if (name !== undefined) {
|
|
5798
|
-
localVarQueryParameter['name'] = name;
|
|
5799
|
-
}
|
|
5800
|
-
|
|
5801
|
-
if (displayTower !== undefined) {
|
|
5802
|
-
localVarQueryParameter['display_tower'] = displayTower;
|
|
5803
|
-
}
|
|
5804
|
-
|
|
5805
|
-
if (companyName !== undefined) {
|
|
5806
|
-
localVarQueryParameter['company_name'] = companyName;
|
|
5807
|
-
}
|
|
5808
|
-
|
|
5809
|
-
if (id2 !== undefined) {
|
|
5810
|
-
localVarQueryParameter['id'] = id2;
|
|
5811
|
-
}
|
|
5812
|
-
|
|
5813
|
-
if (filter !== undefined) {
|
|
5814
|
-
localVarQueryParameter['filter'] = filter;
|
|
5815
|
-
}
|
|
5816
|
-
|
|
5817
|
-
if (building !== undefined) {
|
|
5818
|
-
localVarQueryParameter['building'] = building;
|
|
5819
|
-
}
|
|
5820
|
-
|
|
5821
|
-
if (status !== undefined) {
|
|
5822
|
-
localVarQueryParameter['status'] = status;
|
|
5823
|
-
}
|
|
5824
|
-
|
|
5825
|
-
if (startDate !== undefined) {
|
|
5826
|
-
localVarQueryParameter['startDate'] = startDate;
|
|
5827
|
-
}
|
|
5828
|
-
|
|
5829
|
-
if (endDate !== undefined) {
|
|
5830
|
-
localVarQueryParameter['endDate'] = endDate;
|
|
5774
|
+
if (accessorType !== undefined) {
|
|
5775
|
+
localVarQueryParameter['accessorType'] = accessorType;
|
|
5831
5776
|
}
|
|
5832
5777
|
|
|
5833
5778
|
|
|
@@ -7356,49 +7301,35 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
7356
7301
|
},
|
|
7357
7302
|
/**
|
|
7358
7303
|
*
|
|
7359
|
-
* @param {AccessorType}
|
|
7304
|
+
* @param {AccessorType} accessorType
|
|
7360
7305
|
* @param {string} [orderBy]
|
|
7361
7306
|
* @param {string} [orderDirection]
|
|
7362
7307
|
* @param {number} [pageNumber]
|
|
7363
7308
|
* @param {number} [pageSize]
|
|
7364
|
-
* @param {string} [name]
|
|
7365
7309
|
* @param {string} [displayTower]
|
|
7366
|
-
* @param {string} [companyName]
|
|
7367
|
-
* @param {string} [id]
|
|
7368
7310
|
* @param {string} [filter]
|
|
7311
|
+
* @param {string} [id]
|
|
7369
7312
|
* @param {string} [building]
|
|
7370
7313
|
* @param {number} [status]
|
|
7371
7314
|
* @param {string} [startDate]
|
|
7372
7315
|
* @param {string} [endDate]
|
|
7316
|
+
* @param {string} [name]
|
|
7373
7317
|
* @param {*} [options] Override http request option.
|
|
7374
7318
|
* @throws {RequiredError}
|
|
7375
7319
|
*/
|
|
7376
|
-
async buildingAccessLogsIndex(
|
|
7377
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.buildingAccessLogsIndex(
|
|
7320
|
+
async buildingAccessLogsIndex(accessorType: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, displayTower?: string, filter?: string, id?: string, building?: string, status?: number, startDate?: string, endDate?: string, name?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseBuildingAccessLogResult>> {
|
|
7321
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.buildingAccessLogsIndex(accessorType, orderBy, orderDirection, pageNumber, pageSize, displayTower, filter, id, building, status, startDate, endDate, name, options);
|
|
7378
7322
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7379
7323
|
},
|
|
7380
7324
|
/**
|
|
7381
7325
|
*
|
|
7382
7326
|
* @param {string} id
|
|
7383
|
-
* @param {AccessorType}
|
|
7384
|
-
* @param {string} [orderBy]
|
|
7385
|
-
* @param {string} [orderDirection]
|
|
7386
|
-
* @param {number} [pageNumber]
|
|
7387
|
-
* @param {number} [pageSize]
|
|
7388
|
-
* @param {string} [name]
|
|
7389
|
-
* @param {string} [displayTower]
|
|
7390
|
-
* @param {string} [companyName]
|
|
7391
|
-
* @param {string} [id2]
|
|
7392
|
-
* @param {string} [filter]
|
|
7393
|
-
* @param {string} [building]
|
|
7394
|
-
* @param {number} [status]
|
|
7395
|
-
* @param {string} [startDate]
|
|
7396
|
-
* @param {string} [endDate]
|
|
7327
|
+
* @param {AccessorType} accessorType
|
|
7397
7328
|
* @param {*} [options] Override http request option.
|
|
7398
7329
|
* @throws {RequiredError}
|
|
7399
7330
|
*/
|
|
7400
|
-
async buildingAccessLogsShow(id: string,
|
|
7401
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.buildingAccessLogsShow(id,
|
|
7331
|
+
async buildingAccessLogsShow(id: string, accessorType: AccessorType, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseBuildingAccessLogResult>> {
|
|
7332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.buildingAccessLogsShow(id, accessorType, options);
|
|
7402
7333
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
7403
7334
|
},
|
|
7404
7335
|
/**
|
|
@@ -7881,48 +7812,34 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
7881
7812
|
},
|
|
7882
7813
|
/**
|
|
7883
7814
|
*
|
|
7884
|
-
* @param {AccessorType}
|
|
7815
|
+
* @param {AccessorType} accessorType
|
|
7885
7816
|
* @param {string} [orderBy]
|
|
7886
7817
|
* @param {string} [orderDirection]
|
|
7887
7818
|
* @param {number} [pageNumber]
|
|
7888
7819
|
* @param {number} [pageSize]
|
|
7889
|
-
* @param {string} [name]
|
|
7890
7820
|
* @param {string} [displayTower]
|
|
7891
|
-
* @param {string} [companyName]
|
|
7892
|
-
* @param {string} [id]
|
|
7893
7821
|
* @param {string} [filter]
|
|
7822
|
+
* @param {string} [id]
|
|
7894
7823
|
* @param {string} [building]
|
|
7895
7824
|
* @param {number} [status]
|
|
7896
7825
|
* @param {string} [startDate]
|
|
7897
7826
|
* @param {string} [endDate]
|
|
7827
|
+
* @param {string} [name]
|
|
7898
7828
|
* @param {*} [options] Override http request option.
|
|
7899
7829
|
* @throws {RequiredError}
|
|
7900
7830
|
*/
|
|
7901
|
-
buildingAccessLogsIndex(
|
|
7902
|
-
return localVarFp.buildingAccessLogsIndex(
|
|
7831
|
+
buildingAccessLogsIndex(accessorType: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, displayTower?: string, filter?: string, id?: string, building?: string, status?: number, startDate?: string, endDate?: string, name?: string, options?: any): AxiosPromise<WrappedArrayResponseBuildingAccessLogResult> {
|
|
7832
|
+
return localVarFp.buildingAccessLogsIndex(accessorType, orderBy, orderDirection, pageNumber, pageSize, displayTower, filter, id, building, status, startDate, endDate, name, options).then((request) => request(axios, basePath));
|
|
7903
7833
|
},
|
|
7904
7834
|
/**
|
|
7905
7835
|
*
|
|
7906
7836
|
* @param {string} id
|
|
7907
|
-
* @param {AccessorType}
|
|
7908
|
-
* @param {string} [orderBy]
|
|
7909
|
-
* @param {string} [orderDirection]
|
|
7910
|
-
* @param {number} [pageNumber]
|
|
7911
|
-
* @param {number} [pageSize]
|
|
7912
|
-
* @param {string} [name]
|
|
7913
|
-
* @param {string} [displayTower]
|
|
7914
|
-
* @param {string} [companyName]
|
|
7915
|
-
* @param {string} [id2]
|
|
7916
|
-
* @param {string} [filter]
|
|
7917
|
-
* @param {string} [building]
|
|
7918
|
-
* @param {number} [status]
|
|
7919
|
-
* @param {string} [startDate]
|
|
7920
|
-
* @param {string} [endDate]
|
|
7837
|
+
* @param {AccessorType} accessorType
|
|
7921
7838
|
* @param {*} [options] Override http request option.
|
|
7922
7839
|
* @throws {RequiredError}
|
|
7923
7840
|
*/
|
|
7924
|
-
buildingAccessLogsShow(id: string,
|
|
7925
|
-
return localVarFp.buildingAccessLogsShow(id,
|
|
7841
|
+
buildingAccessLogsShow(id: string, accessorType: AccessorType, options?: any): AxiosPromise<WrappedArrayResponseBuildingAccessLogResult> {
|
|
7842
|
+
return localVarFp.buildingAccessLogsShow(id, accessorType, options).then((request) => request(axios, basePath));
|
|
7926
7843
|
},
|
|
7927
7844
|
/**
|
|
7928
7845
|
*
|
|
@@ -8378,51 +8295,37 @@ export class DefaultApi extends BaseAPI {
|
|
|
8378
8295
|
|
|
8379
8296
|
/**
|
|
8380
8297
|
*
|
|
8381
|
-
* @param {AccessorType}
|
|
8298
|
+
* @param {AccessorType} accessorType
|
|
8382
8299
|
* @param {string} [orderBy]
|
|
8383
8300
|
* @param {string} [orderDirection]
|
|
8384
8301
|
* @param {number} [pageNumber]
|
|
8385
8302
|
* @param {number} [pageSize]
|
|
8386
|
-
* @param {string} [name]
|
|
8387
8303
|
* @param {string} [displayTower]
|
|
8388
|
-
* @param {string} [companyName]
|
|
8389
|
-
* @param {string} [id]
|
|
8390
8304
|
* @param {string} [filter]
|
|
8305
|
+
* @param {string} [id]
|
|
8391
8306
|
* @param {string} [building]
|
|
8392
8307
|
* @param {number} [status]
|
|
8393
8308
|
* @param {string} [startDate]
|
|
8394
8309
|
* @param {string} [endDate]
|
|
8310
|
+
* @param {string} [name]
|
|
8395
8311
|
* @param {*} [options] Override http request option.
|
|
8396
8312
|
* @throws {RequiredError}
|
|
8397
8313
|
* @memberof DefaultApi
|
|
8398
8314
|
*/
|
|
8399
|
-
public buildingAccessLogsIndex(
|
|
8400
|
-
return DefaultApiFp(this.configuration).buildingAccessLogsIndex(
|
|
8315
|
+
public buildingAccessLogsIndex(accessorType: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, displayTower?: string, filter?: string, id?: string, building?: string, status?: number, startDate?: string, endDate?: string, name?: string, options?: AxiosRequestConfig) {
|
|
8316
|
+
return DefaultApiFp(this.configuration).buildingAccessLogsIndex(accessorType, orderBy, orderDirection, pageNumber, pageSize, displayTower, filter, id, building, status, startDate, endDate, name, options).then((request) => request(this.axios, this.basePath));
|
|
8401
8317
|
}
|
|
8402
8318
|
|
|
8403
8319
|
/**
|
|
8404
8320
|
*
|
|
8405
8321
|
* @param {string} id
|
|
8406
|
-
* @param {AccessorType}
|
|
8407
|
-
* @param {string} [orderBy]
|
|
8408
|
-
* @param {string} [orderDirection]
|
|
8409
|
-
* @param {number} [pageNumber]
|
|
8410
|
-
* @param {number} [pageSize]
|
|
8411
|
-
* @param {string} [name]
|
|
8412
|
-
* @param {string} [displayTower]
|
|
8413
|
-
* @param {string} [companyName]
|
|
8414
|
-
* @param {string} [id2]
|
|
8415
|
-
* @param {string} [filter]
|
|
8416
|
-
* @param {string} [building]
|
|
8417
|
-
* @param {number} [status]
|
|
8418
|
-
* @param {string} [startDate]
|
|
8419
|
-
* @param {string} [endDate]
|
|
8322
|
+
* @param {AccessorType} accessorType
|
|
8420
8323
|
* @param {*} [options] Override http request option.
|
|
8421
8324
|
* @throws {RequiredError}
|
|
8422
8325
|
* @memberof DefaultApi
|
|
8423
8326
|
*/
|
|
8424
|
-
public buildingAccessLogsShow(id: string,
|
|
8425
|
-
return DefaultApiFp(this.configuration).buildingAccessLogsShow(id,
|
|
8327
|
+
public buildingAccessLogsShow(id: string, accessorType: AccessorType, options?: AxiosRequestConfig) {
|
|
8328
|
+
return DefaultApiFp(this.configuration).buildingAccessLogsShow(id, accessorType, options).then((request) => request(this.axios, this.basePath));
|
|
8426
8329
|
}
|
|
8427
8330
|
|
|
8428
8331
|
/**
|
package/dist/api/api.d.ts
CHANGED
|
@@ -713,6 +713,19 @@ export interface BuildingAccessLogResult {
|
|
|
713
713
|
*/
|
|
714
714
|
export interface BuildingAccessLogResultCreatedAt {
|
|
715
715
|
}
|
|
716
|
+
/**
|
|
717
|
+
*
|
|
718
|
+
* @export
|
|
719
|
+
* @interface BuildingAccessLogShowQuery
|
|
720
|
+
*/
|
|
721
|
+
export interface BuildingAccessLogShowQuery {
|
|
722
|
+
/**
|
|
723
|
+
*
|
|
724
|
+
* @type {AccessorType}
|
|
725
|
+
* @memberof BuildingAccessLogShowQuery
|
|
726
|
+
*/
|
|
727
|
+
'accessorType': AccessorType;
|
|
728
|
+
}
|
|
716
729
|
/**
|
|
717
730
|
*
|
|
718
731
|
* @export
|
|
@@ -748,13 +761,7 @@ export interface BuildingAccessgLogQuery {
|
|
|
748
761
|
* @type {AccessorType}
|
|
749
762
|
* @memberof BuildingAccessgLogQuery
|
|
750
763
|
*/
|
|
751
|
-
'
|
|
752
|
-
/**
|
|
753
|
-
*
|
|
754
|
-
* @type {string}
|
|
755
|
-
* @memberof BuildingAccessgLogQuery
|
|
756
|
-
*/
|
|
757
|
-
'name'?: string;
|
|
764
|
+
'accessorType': AccessorType;
|
|
758
765
|
/**
|
|
759
766
|
*
|
|
760
767
|
* @type {string}
|
|
@@ -766,19 +773,13 @@ export interface BuildingAccessgLogQuery {
|
|
|
766
773
|
* @type {string}
|
|
767
774
|
* @memberof BuildingAccessgLogQuery
|
|
768
775
|
*/
|
|
769
|
-
'
|
|
776
|
+
'filter'?: string;
|
|
770
777
|
/**
|
|
771
778
|
*
|
|
772
779
|
* @type {string}
|
|
773
780
|
* @memberof BuildingAccessgLogQuery
|
|
774
781
|
*/
|
|
775
782
|
'id'?: string;
|
|
776
|
-
/**
|
|
777
|
-
*
|
|
778
|
-
* @type {string}
|
|
779
|
-
* @memberof BuildingAccessgLogQuery
|
|
780
|
-
*/
|
|
781
|
-
'filter'?: string;
|
|
782
783
|
/**
|
|
783
784
|
*
|
|
784
785
|
* @type {string}
|
|
@@ -803,6 +804,12 @@ export interface BuildingAccessgLogQuery {
|
|
|
803
804
|
* @memberof BuildingAccessgLogQuery
|
|
804
805
|
*/
|
|
805
806
|
'endDate'?: string;
|
|
807
|
+
/**
|
|
808
|
+
*
|
|
809
|
+
* @type {string}
|
|
810
|
+
* @memberof BuildingAccessgLogQuery
|
|
811
|
+
*/
|
|
812
|
+
'name'?: string;
|
|
806
813
|
}
|
|
807
814
|
/**
|
|
808
815
|
*
|
|
@@ -4439,6 +4446,12 @@ export interface WrappedArrayResponseBuildingAccessLogResult {
|
|
|
4439
4446
|
* @memberof WrappedArrayResponseBuildingAccessLogResult
|
|
4440
4447
|
*/
|
|
4441
4448
|
'data': Array<BuildingAccessLogResult>;
|
|
4449
|
+
/**
|
|
4450
|
+
*
|
|
4451
|
+
* @type {Pagination}
|
|
4452
|
+
* @memberof WrappedArrayResponseBuildingAccessLogResult
|
|
4453
|
+
*/
|
|
4454
|
+
'pagination'?: Pagination;
|
|
4442
4455
|
}
|
|
4443
4456
|
/**
|
|
4444
4457
|
*
|
|
@@ -5372,45 +5385,31 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
5372
5385
|
autoSync: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5373
5386
|
/**
|
|
5374
5387
|
*
|
|
5375
|
-
* @param {AccessorType}
|
|
5388
|
+
* @param {AccessorType} accessorType
|
|
5376
5389
|
* @param {string} [orderBy]
|
|
5377
5390
|
* @param {string} [orderDirection]
|
|
5378
5391
|
* @param {number} [pageNumber]
|
|
5379
5392
|
* @param {number} [pageSize]
|
|
5380
|
-
* @param {string} [name]
|
|
5381
5393
|
* @param {string} [displayTower]
|
|
5382
|
-
* @param {string} [companyName]
|
|
5383
|
-
* @param {string} [id]
|
|
5384
5394
|
* @param {string} [filter]
|
|
5395
|
+
* @param {string} [id]
|
|
5385
5396
|
* @param {string} [building]
|
|
5386
5397
|
* @param {number} [status]
|
|
5387
5398
|
* @param {string} [startDate]
|
|
5388
5399
|
* @param {string} [endDate]
|
|
5400
|
+
* @param {string} [name]
|
|
5389
5401
|
* @param {*} [options] Override http request option.
|
|
5390
5402
|
* @throws {RequiredError}
|
|
5391
5403
|
*/
|
|
5392
|
-
buildingAccessLogsIndex: (
|
|
5404
|
+
buildingAccessLogsIndex: (accessorType: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, displayTower?: string, filter?: string, id?: string, building?: string, status?: number, startDate?: string, endDate?: string, name?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5393
5405
|
/**
|
|
5394
5406
|
*
|
|
5395
5407
|
* @param {string} id
|
|
5396
|
-
* @param {AccessorType}
|
|
5397
|
-
* @param {string} [orderBy]
|
|
5398
|
-
* @param {string} [orderDirection]
|
|
5399
|
-
* @param {number} [pageNumber]
|
|
5400
|
-
* @param {number} [pageSize]
|
|
5401
|
-
* @param {string} [name]
|
|
5402
|
-
* @param {string} [displayTower]
|
|
5403
|
-
* @param {string} [companyName]
|
|
5404
|
-
* @param {string} [id2]
|
|
5405
|
-
* @param {string} [filter]
|
|
5406
|
-
* @param {string} [building]
|
|
5407
|
-
* @param {number} [status]
|
|
5408
|
-
* @param {string} [startDate]
|
|
5409
|
-
* @param {string} [endDate]
|
|
5408
|
+
* @param {AccessorType} accessorType
|
|
5410
5409
|
* @param {*} [options] Override http request option.
|
|
5411
5410
|
* @throws {RequiredError}
|
|
5412
5411
|
*/
|
|
5413
|
-
buildingAccessLogsShow: (id: string,
|
|
5412
|
+
buildingAccessLogsShow: (id: string, accessorType: AccessorType, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5414
5413
|
/**
|
|
5415
5414
|
*
|
|
5416
5415
|
* @param {WebhookCreateBody} webhookCreateBody
|
|
@@ -5761,45 +5760,31 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
5761
5760
|
autoSync(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncResponse>>;
|
|
5762
5761
|
/**
|
|
5763
5762
|
*
|
|
5764
|
-
* @param {AccessorType}
|
|
5763
|
+
* @param {AccessorType} accessorType
|
|
5765
5764
|
* @param {string} [orderBy]
|
|
5766
5765
|
* @param {string} [orderDirection]
|
|
5767
5766
|
* @param {number} [pageNumber]
|
|
5768
5767
|
* @param {number} [pageSize]
|
|
5769
|
-
* @param {string} [name]
|
|
5770
5768
|
* @param {string} [displayTower]
|
|
5771
|
-
* @param {string} [companyName]
|
|
5772
|
-
* @param {string} [id]
|
|
5773
5769
|
* @param {string} [filter]
|
|
5770
|
+
* @param {string} [id]
|
|
5774
5771
|
* @param {string} [building]
|
|
5775
5772
|
* @param {number} [status]
|
|
5776
5773
|
* @param {string} [startDate]
|
|
5777
5774
|
* @param {string} [endDate]
|
|
5775
|
+
* @param {string} [name]
|
|
5778
5776
|
* @param {*} [options] Override http request option.
|
|
5779
5777
|
* @throws {RequiredError}
|
|
5780
5778
|
*/
|
|
5781
|
-
buildingAccessLogsIndex(
|
|
5779
|
+
buildingAccessLogsIndex(accessorType: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, displayTower?: string, filter?: string, id?: string, building?: string, status?: number, startDate?: string, endDate?: string, name?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseBuildingAccessLogResult>>;
|
|
5782
5780
|
/**
|
|
5783
5781
|
*
|
|
5784
5782
|
* @param {string} id
|
|
5785
|
-
* @param {AccessorType}
|
|
5786
|
-
* @param {string} [orderBy]
|
|
5787
|
-
* @param {string} [orderDirection]
|
|
5788
|
-
* @param {number} [pageNumber]
|
|
5789
|
-
* @param {number} [pageSize]
|
|
5790
|
-
* @param {string} [name]
|
|
5791
|
-
* @param {string} [displayTower]
|
|
5792
|
-
* @param {string} [companyName]
|
|
5793
|
-
* @param {string} [id2]
|
|
5794
|
-
* @param {string} [filter]
|
|
5795
|
-
* @param {string} [building]
|
|
5796
|
-
* @param {number} [status]
|
|
5797
|
-
* @param {string} [startDate]
|
|
5798
|
-
* @param {string} [endDate]
|
|
5783
|
+
* @param {AccessorType} accessorType
|
|
5799
5784
|
* @param {*} [options] Override http request option.
|
|
5800
5785
|
* @throws {RequiredError}
|
|
5801
5786
|
*/
|
|
5802
|
-
buildingAccessLogsShow(id: string,
|
|
5787
|
+
buildingAccessLogsShow(id: string, accessorType: AccessorType, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseBuildingAccessLogResult>>;
|
|
5803
5788
|
/**
|
|
5804
5789
|
*
|
|
5805
5790
|
* @param {WebhookCreateBody} webhookCreateBody
|
|
@@ -6150,45 +6135,31 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
6150
6135
|
autoSync(options?: any): AxiosPromise<SyncResponse>;
|
|
6151
6136
|
/**
|
|
6152
6137
|
*
|
|
6153
|
-
* @param {AccessorType}
|
|
6138
|
+
* @param {AccessorType} accessorType
|
|
6154
6139
|
* @param {string} [orderBy]
|
|
6155
6140
|
* @param {string} [orderDirection]
|
|
6156
6141
|
* @param {number} [pageNumber]
|
|
6157
6142
|
* @param {number} [pageSize]
|
|
6158
|
-
* @param {string} [name]
|
|
6159
6143
|
* @param {string} [displayTower]
|
|
6160
|
-
* @param {string} [companyName]
|
|
6161
|
-
* @param {string} [id]
|
|
6162
6144
|
* @param {string} [filter]
|
|
6145
|
+
* @param {string} [id]
|
|
6163
6146
|
* @param {string} [building]
|
|
6164
6147
|
* @param {number} [status]
|
|
6165
6148
|
* @param {string} [startDate]
|
|
6166
6149
|
* @param {string} [endDate]
|
|
6150
|
+
* @param {string} [name]
|
|
6167
6151
|
* @param {*} [options] Override http request option.
|
|
6168
6152
|
* @throws {RequiredError}
|
|
6169
6153
|
*/
|
|
6170
|
-
buildingAccessLogsIndex(
|
|
6154
|
+
buildingAccessLogsIndex(accessorType: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, displayTower?: string, filter?: string, id?: string, building?: string, status?: number, startDate?: string, endDate?: string, name?: string, options?: any): AxiosPromise<WrappedArrayResponseBuildingAccessLogResult>;
|
|
6171
6155
|
/**
|
|
6172
6156
|
*
|
|
6173
6157
|
* @param {string} id
|
|
6174
|
-
* @param {AccessorType}
|
|
6175
|
-
* @param {string} [orderBy]
|
|
6176
|
-
* @param {string} [orderDirection]
|
|
6177
|
-
* @param {number} [pageNumber]
|
|
6178
|
-
* @param {number} [pageSize]
|
|
6179
|
-
* @param {string} [name]
|
|
6180
|
-
* @param {string} [displayTower]
|
|
6181
|
-
* @param {string} [companyName]
|
|
6182
|
-
* @param {string} [id2]
|
|
6183
|
-
* @param {string} [filter]
|
|
6184
|
-
* @param {string} [building]
|
|
6185
|
-
* @param {number} [status]
|
|
6186
|
-
* @param {string} [startDate]
|
|
6187
|
-
* @param {string} [endDate]
|
|
6158
|
+
* @param {AccessorType} accessorType
|
|
6188
6159
|
* @param {*} [options] Override http request option.
|
|
6189
6160
|
* @throws {RequiredError}
|
|
6190
6161
|
*/
|
|
6191
|
-
buildingAccessLogsShow(id: string,
|
|
6162
|
+
buildingAccessLogsShow(id: string, accessorType: AccessorType, options?: any): AxiosPromise<WrappedArrayResponseBuildingAccessLogResult>;
|
|
6192
6163
|
/**
|
|
6193
6164
|
*
|
|
6194
6165
|
* @param {WebhookCreateBody} webhookCreateBody
|
|
@@ -6547,47 +6518,33 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
6547
6518
|
autoSync(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncResponse, any>>;
|
|
6548
6519
|
/**
|
|
6549
6520
|
*
|
|
6550
|
-
* @param {AccessorType}
|
|
6521
|
+
* @param {AccessorType} accessorType
|
|
6551
6522
|
* @param {string} [orderBy]
|
|
6552
6523
|
* @param {string} [orderDirection]
|
|
6553
6524
|
* @param {number} [pageNumber]
|
|
6554
6525
|
* @param {number} [pageSize]
|
|
6555
|
-
* @param {string} [name]
|
|
6556
6526
|
* @param {string} [displayTower]
|
|
6557
|
-
* @param {string} [companyName]
|
|
6558
|
-
* @param {string} [id]
|
|
6559
6527
|
* @param {string} [filter]
|
|
6528
|
+
* @param {string} [id]
|
|
6560
6529
|
* @param {string} [building]
|
|
6561
6530
|
* @param {number} [status]
|
|
6562
6531
|
* @param {string} [startDate]
|
|
6563
6532
|
* @param {string} [endDate]
|
|
6533
|
+
* @param {string} [name]
|
|
6564
6534
|
* @param {*} [options] Override http request option.
|
|
6565
6535
|
* @throws {RequiredError}
|
|
6566
6536
|
* @memberof DefaultApi
|
|
6567
6537
|
*/
|
|
6568
|
-
buildingAccessLogsIndex(
|
|
6538
|
+
buildingAccessLogsIndex(accessorType: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, displayTower?: string, filter?: string, id?: string, building?: string, status?: number, startDate?: string, endDate?: string, name?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseBuildingAccessLogResult, any>>;
|
|
6569
6539
|
/**
|
|
6570
6540
|
*
|
|
6571
6541
|
* @param {string} id
|
|
6572
|
-
* @param {AccessorType}
|
|
6573
|
-
* @param {string} [orderBy]
|
|
6574
|
-
* @param {string} [orderDirection]
|
|
6575
|
-
* @param {number} [pageNumber]
|
|
6576
|
-
* @param {number} [pageSize]
|
|
6577
|
-
* @param {string} [name]
|
|
6578
|
-
* @param {string} [displayTower]
|
|
6579
|
-
* @param {string} [companyName]
|
|
6580
|
-
* @param {string} [id2]
|
|
6581
|
-
* @param {string} [filter]
|
|
6582
|
-
* @param {string} [building]
|
|
6583
|
-
* @param {number} [status]
|
|
6584
|
-
* @param {string} [startDate]
|
|
6585
|
-
* @param {string} [endDate]
|
|
6542
|
+
* @param {AccessorType} accessorType
|
|
6586
6543
|
* @param {*} [options] Override http request option.
|
|
6587
6544
|
* @throws {RequiredError}
|
|
6588
6545
|
* @memberof DefaultApi
|
|
6589
6546
|
*/
|
|
6590
|
-
buildingAccessLogsShow(id: string,
|
|
6547
|
+
buildingAccessLogsShow(id: string, accessorType: AccessorType, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseBuildingAccessLogResult, any>>;
|
|
6591
6548
|
/**
|
|
6592
6549
|
*
|
|
6593
6550
|
* @param {WebhookCreateBody} webhookCreateBody
|
package/dist/api/api.js
CHANGED
|
@@ -354,26 +354,25 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
354
354
|
}),
|
|
355
355
|
/**
|
|
356
356
|
*
|
|
357
|
-
* @param {AccessorType}
|
|
357
|
+
* @param {AccessorType} accessorType
|
|
358
358
|
* @param {string} [orderBy]
|
|
359
359
|
* @param {string} [orderDirection]
|
|
360
360
|
* @param {number} [pageNumber]
|
|
361
361
|
* @param {number} [pageSize]
|
|
362
|
-
* @param {string} [name]
|
|
363
362
|
* @param {string} [displayTower]
|
|
364
|
-
* @param {string} [companyName]
|
|
365
|
-
* @param {string} [id]
|
|
366
363
|
* @param {string} [filter]
|
|
364
|
+
* @param {string} [id]
|
|
367
365
|
* @param {string} [building]
|
|
368
366
|
* @param {number} [status]
|
|
369
367
|
* @param {string} [startDate]
|
|
370
368
|
* @param {string} [endDate]
|
|
369
|
+
* @param {string} [name]
|
|
371
370
|
* @param {*} [options] Override http request option.
|
|
372
371
|
* @throws {RequiredError}
|
|
373
372
|
*/
|
|
374
|
-
buildingAccessLogsIndex: (
|
|
375
|
-
// verify required parameter '
|
|
376
|
-
(0, common_1.assertParamExists)('buildingAccessLogsIndex', '
|
|
373
|
+
buildingAccessLogsIndex: (accessorType, orderBy, orderDirection, pageNumber, pageSize, displayTower, filter, id, building, status, startDate, endDate, name, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
374
|
+
// verify required parameter 'accessorType' is not null or undefined
|
|
375
|
+
(0, common_1.assertParamExists)('buildingAccessLogsIndex', 'accessorType', accessorType);
|
|
377
376
|
const localVarPath = `/building_access`;
|
|
378
377
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
379
378
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -396,24 +395,18 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
396
395
|
if (pageSize !== undefined) {
|
|
397
396
|
localVarQueryParameter['page_size'] = pageSize;
|
|
398
397
|
}
|
|
399
|
-
if (
|
|
400
|
-
localVarQueryParameter['
|
|
401
|
-
}
|
|
402
|
-
if (name !== undefined) {
|
|
403
|
-
localVarQueryParameter['name'] = name;
|
|
398
|
+
if (accessorType !== undefined) {
|
|
399
|
+
localVarQueryParameter['accessorType'] = accessorType;
|
|
404
400
|
}
|
|
405
401
|
if (displayTower !== undefined) {
|
|
406
402
|
localVarQueryParameter['display_tower'] = displayTower;
|
|
407
403
|
}
|
|
408
|
-
if (
|
|
409
|
-
localVarQueryParameter['
|
|
404
|
+
if (filter !== undefined) {
|
|
405
|
+
localVarQueryParameter['filter'] = filter;
|
|
410
406
|
}
|
|
411
407
|
if (id !== undefined) {
|
|
412
408
|
localVarQueryParameter['id'] = id;
|
|
413
409
|
}
|
|
414
|
-
if (filter !== undefined) {
|
|
415
|
-
localVarQueryParameter['filter'] = filter;
|
|
416
|
-
}
|
|
417
410
|
if (building !== undefined) {
|
|
418
411
|
localVarQueryParameter['building'] = building;
|
|
419
412
|
}
|
|
@@ -426,6 +419,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
426
419
|
if (endDate !== undefined) {
|
|
427
420
|
localVarQueryParameter['endDate'] = endDate;
|
|
428
421
|
}
|
|
422
|
+
if (name !== undefined) {
|
|
423
|
+
localVarQueryParameter['name'] = name;
|
|
424
|
+
}
|
|
429
425
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
430
426
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
431
427
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -437,28 +433,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
437
433
|
/**
|
|
438
434
|
*
|
|
439
435
|
* @param {string} id
|
|
440
|
-
* @param {AccessorType}
|
|
441
|
-
* @param {string} [orderBy]
|
|
442
|
-
* @param {string} [orderDirection]
|
|
443
|
-
* @param {number} [pageNumber]
|
|
444
|
-
* @param {number} [pageSize]
|
|
445
|
-
* @param {string} [name]
|
|
446
|
-
* @param {string} [displayTower]
|
|
447
|
-
* @param {string} [companyName]
|
|
448
|
-
* @param {string} [id2]
|
|
449
|
-
* @param {string} [filter]
|
|
450
|
-
* @param {string} [building]
|
|
451
|
-
* @param {number} [status]
|
|
452
|
-
* @param {string} [startDate]
|
|
453
|
-
* @param {string} [endDate]
|
|
436
|
+
* @param {AccessorType} accessorType
|
|
454
437
|
* @param {*} [options] Override http request option.
|
|
455
438
|
* @throws {RequiredError}
|
|
456
439
|
*/
|
|
457
|
-
buildingAccessLogsShow: (id,
|
|
440
|
+
buildingAccessLogsShow: (id, accessorType, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
458
441
|
// verify required parameter 'id' is not null or undefined
|
|
459
442
|
(0, common_1.assertParamExists)('buildingAccessLogsShow', 'id', id);
|
|
460
|
-
// verify required parameter '
|
|
461
|
-
(0, common_1.assertParamExists)('buildingAccessLogsShow', '
|
|
443
|
+
// verify required parameter 'accessorType' is not null or undefined
|
|
444
|
+
(0, common_1.assertParamExists)('buildingAccessLogsShow', 'accessorType', accessorType);
|
|
462
445
|
const localVarPath = `/building_access/{id}`
|
|
463
446
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
464
447
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -470,47 +453,8 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
470
453
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
471
454
|
const localVarHeaderParameter = {};
|
|
472
455
|
const localVarQueryParameter = {};
|
|
473
|
-
if (
|
|
474
|
-
localVarQueryParameter['
|
|
475
|
-
}
|
|
476
|
-
if (orderDirection !== undefined) {
|
|
477
|
-
localVarQueryParameter['order_direction'] = orderDirection;
|
|
478
|
-
}
|
|
479
|
-
if (pageNumber !== undefined) {
|
|
480
|
-
localVarQueryParameter['page_number'] = pageNumber;
|
|
481
|
-
}
|
|
482
|
-
if (pageSize !== undefined) {
|
|
483
|
-
localVarQueryParameter['page_size'] = pageSize;
|
|
484
|
-
}
|
|
485
|
-
if (type !== undefined) {
|
|
486
|
-
localVarQueryParameter['type'] = type;
|
|
487
|
-
}
|
|
488
|
-
if (name !== undefined) {
|
|
489
|
-
localVarQueryParameter['name'] = name;
|
|
490
|
-
}
|
|
491
|
-
if (displayTower !== undefined) {
|
|
492
|
-
localVarQueryParameter['display_tower'] = displayTower;
|
|
493
|
-
}
|
|
494
|
-
if (companyName !== undefined) {
|
|
495
|
-
localVarQueryParameter['company_name'] = companyName;
|
|
496
|
-
}
|
|
497
|
-
if (id2 !== undefined) {
|
|
498
|
-
localVarQueryParameter['id'] = id2;
|
|
499
|
-
}
|
|
500
|
-
if (filter !== undefined) {
|
|
501
|
-
localVarQueryParameter['filter'] = filter;
|
|
502
|
-
}
|
|
503
|
-
if (building !== undefined) {
|
|
504
|
-
localVarQueryParameter['building'] = building;
|
|
505
|
-
}
|
|
506
|
-
if (status !== undefined) {
|
|
507
|
-
localVarQueryParameter['status'] = status;
|
|
508
|
-
}
|
|
509
|
-
if (startDate !== undefined) {
|
|
510
|
-
localVarQueryParameter['startDate'] = startDate;
|
|
511
|
-
}
|
|
512
|
-
if (endDate !== undefined) {
|
|
513
|
-
localVarQueryParameter['endDate'] = endDate;
|
|
456
|
+
if (accessorType !== undefined) {
|
|
457
|
+
localVarQueryParameter['accessorType'] = accessorType;
|
|
514
458
|
}
|
|
515
459
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
516
460
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1808,52 +1752,38 @@ const DefaultApiFp = function (configuration) {
|
|
|
1808
1752
|
},
|
|
1809
1753
|
/**
|
|
1810
1754
|
*
|
|
1811
|
-
* @param {AccessorType}
|
|
1755
|
+
* @param {AccessorType} accessorType
|
|
1812
1756
|
* @param {string} [orderBy]
|
|
1813
1757
|
* @param {string} [orderDirection]
|
|
1814
1758
|
* @param {number} [pageNumber]
|
|
1815
1759
|
* @param {number} [pageSize]
|
|
1816
|
-
* @param {string} [name]
|
|
1817
1760
|
* @param {string} [displayTower]
|
|
1818
|
-
* @param {string} [companyName]
|
|
1819
|
-
* @param {string} [id]
|
|
1820
1761
|
* @param {string} [filter]
|
|
1762
|
+
* @param {string} [id]
|
|
1821
1763
|
* @param {string} [building]
|
|
1822
1764
|
* @param {number} [status]
|
|
1823
1765
|
* @param {string} [startDate]
|
|
1824
1766
|
* @param {string} [endDate]
|
|
1767
|
+
* @param {string} [name]
|
|
1825
1768
|
* @param {*} [options] Override http request option.
|
|
1826
1769
|
* @throws {RequiredError}
|
|
1827
1770
|
*/
|
|
1828
|
-
buildingAccessLogsIndex(
|
|
1771
|
+
buildingAccessLogsIndex(accessorType, orderBy, orderDirection, pageNumber, pageSize, displayTower, filter, id, building, status, startDate, endDate, name, options) {
|
|
1829
1772
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1830
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.buildingAccessLogsIndex(
|
|
1773
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.buildingAccessLogsIndex(accessorType, orderBy, orderDirection, pageNumber, pageSize, displayTower, filter, id, building, status, startDate, endDate, name, options);
|
|
1831
1774
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1832
1775
|
});
|
|
1833
1776
|
},
|
|
1834
1777
|
/**
|
|
1835
1778
|
*
|
|
1836
1779
|
* @param {string} id
|
|
1837
|
-
* @param {AccessorType}
|
|
1838
|
-
* @param {string} [orderBy]
|
|
1839
|
-
* @param {string} [orderDirection]
|
|
1840
|
-
* @param {number} [pageNumber]
|
|
1841
|
-
* @param {number} [pageSize]
|
|
1842
|
-
* @param {string} [name]
|
|
1843
|
-
* @param {string} [displayTower]
|
|
1844
|
-
* @param {string} [companyName]
|
|
1845
|
-
* @param {string} [id2]
|
|
1846
|
-
* @param {string} [filter]
|
|
1847
|
-
* @param {string} [building]
|
|
1848
|
-
* @param {number} [status]
|
|
1849
|
-
* @param {string} [startDate]
|
|
1850
|
-
* @param {string} [endDate]
|
|
1780
|
+
* @param {AccessorType} accessorType
|
|
1851
1781
|
* @param {*} [options] Override http request option.
|
|
1852
1782
|
* @throws {RequiredError}
|
|
1853
1783
|
*/
|
|
1854
|
-
buildingAccessLogsShow(id,
|
|
1784
|
+
buildingAccessLogsShow(id, accessorType, options) {
|
|
1855
1785
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1856
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.buildingAccessLogsShow(id,
|
|
1786
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.buildingAccessLogsShow(id, accessorType, options);
|
|
1857
1787
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1858
1788
|
});
|
|
1859
1789
|
},
|
|
@@ -2413,48 +2343,34 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2413
2343
|
},
|
|
2414
2344
|
/**
|
|
2415
2345
|
*
|
|
2416
|
-
* @param {AccessorType}
|
|
2346
|
+
* @param {AccessorType} accessorType
|
|
2417
2347
|
* @param {string} [orderBy]
|
|
2418
2348
|
* @param {string} [orderDirection]
|
|
2419
2349
|
* @param {number} [pageNumber]
|
|
2420
2350
|
* @param {number} [pageSize]
|
|
2421
|
-
* @param {string} [name]
|
|
2422
2351
|
* @param {string} [displayTower]
|
|
2423
|
-
* @param {string} [companyName]
|
|
2424
|
-
* @param {string} [id]
|
|
2425
2352
|
* @param {string} [filter]
|
|
2353
|
+
* @param {string} [id]
|
|
2426
2354
|
* @param {string} [building]
|
|
2427
2355
|
* @param {number} [status]
|
|
2428
2356
|
* @param {string} [startDate]
|
|
2429
2357
|
* @param {string} [endDate]
|
|
2358
|
+
* @param {string} [name]
|
|
2430
2359
|
* @param {*} [options] Override http request option.
|
|
2431
2360
|
* @throws {RequiredError}
|
|
2432
2361
|
*/
|
|
2433
|
-
buildingAccessLogsIndex(
|
|
2434
|
-
return localVarFp.buildingAccessLogsIndex(
|
|
2362
|
+
buildingAccessLogsIndex(accessorType, orderBy, orderDirection, pageNumber, pageSize, displayTower, filter, id, building, status, startDate, endDate, name, options) {
|
|
2363
|
+
return localVarFp.buildingAccessLogsIndex(accessorType, orderBy, orderDirection, pageNumber, pageSize, displayTower, filter, id, building, status, startDate, endDate, name, options).then((request) => request(axios, basePath));
|
|
2435
2364
|
},
|
|
2436
2365
|
/**
|
|
2437
2366
|
*
|
|
2438
2367
|
* @param {string} id
|
|
2439
|
-
* @param {AccessorType}
|
|
2440
|
-
* @param {string} [orderBy]
|
|
2441
|
-
* @param {string} [orderDirection]
|
|
2442
|
-
* @param {number} [pageNumber]
|
|
2443
|
-
* @param {number} [pageSize]
|
|
2444
|
-
* @param {string} [name]
|
|
2445
|
-
* @param {string} [displayTower]
|
|
2446
|
-
* @param {string} [companyName]
|
|
2447
|
-
* @param {string} [id2]
|
|
2448
|
-
* @param {string} [filter]
|
|
2449
|
-
* @param {string} [building]
|
|
2450
|
-
* @param {number} [status]
|
|
2451
|
-
* @param {string} [startDate]
|
|
2452
|
-
* @param {string} [endDate]
|
|
2368
|
+
* @param {AccessorType} accessorType
|
|
2453
2369
|
* @param {*} [options] Override http request option.
|
|
2454
2370
|
* @throws {RequiredError}
|
|
2455
2371
|
*/
|
|
2456
|
-
buildingAccessLogsShow(id,
|
|
2457
|
-
return localVarFp.buildingAccessLogsShow(id,
|
|
2372
|
+
buildingAccessLogsShow(id, accessorType, options) {
|
|
2373
|
+
return localVarFp.buildingAccessLogsShow(id, accessorType, options).then((request) => request(axios, basePath));
|
|
2458
2374
|
},
|
|
2459
2375
|
/**
|
|
2460
2376
|
*
|
|
@@ -2904,50 +2820,36 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2904
2820
|
}
|
|
2905
2821
|
/**
|
|
2906
2822
|
*
|
|
2907
|
-
* @param {AccessorType}
|
|
2823
|
+
* @param {AccessorType} accessorType
|
|
2908
2824
|
* @param {string} [orderBy]
|
|
2909
2825
|
* @param {string} [orderDirection]
|
|
2910
2826
|
* @param {number} [pageNumber]
|
|
2911
2827
|
* @param {number} [pageSize]
|
|
2912
|
-
* @param {string} [name]
|
|
2913
2828
|
* @param {string} [displayTower]
|
|
2914
|
-
* @param {string} [companyName]
|
|
2915
|
-
* @param {string} [id]
|
|
2916
2829
|
* @param {string} [filter]
|
|
2830
|
+
* @param {string} [id]
|
|
2917
2831
|
* @param {string} [building]
|
|
2918
2832
|
* @param {number} [status]
|
|
2919
2833
|
* @param {string} [startDate]
|
|
2920
2834
|
* @param {string} [endDate]
|
|
2835
|
+
* @param {string} [name]
|
|
2921
2836
|
* @param {*} [options] Override http request option.
|
|
2922
2837
|
* @throws {RequiredError}
|
|
2923
2838
|
* @memberof DefaultApi
|
|
2924
2839
|
*/
|
|
2925
|
-
buildingAccessLogsIndex(
|
|
2926
|
-
return (0, exports.DefaultApiFp)(this.configuration).buildingAccessLogsIndex(
|
|
2840
|
+
buildingAccessLogsIndex(accessorType, orderBy, orderDirection, pageNumber, pageSize, displayTower, filter, id, building, status, startDate, endDate, name, options) {
|
|
2841
|
+
return (0, exports.DefaultApiFp)(this.configuration).buildingAccessLogsIndex(accessorType, orderBy, orderDirection, pageNumber, pageSize, displayTower, filter, id, building, status, startDate, endDate, name, options).then((request) => request(this.axios, this.basePath));
|
|
2927
2842
|
}
|
|
2928
2843
|
/**
|
|
2929
2844
|
*
|
|
2930
2845
|
* @param {string} id
|
|
2931
|
-
* @param {AccessorType}
|
|
2932
|
-
* @param {string} [orderBy]
|
|
2933
|
-
* @param {string} [orderDirection]
|
|
2934
|
-
* @param {number} [pageNumber]
|
|
2935
|
-
* @param {number} [pageSize]
|
|
2936
|
-
* @param {string} [name]
|
|
2937
|
-
* @param {string} [displayTower]
|
|
2938
|
-
* @param {string} [companyName]
|
|
2939
|
-
* @param {string} [id2]
|
|
2940
|
-
* @param {string} [filter]
|
|
2941
|
-
* @param {string} [building]
|
|
2942
|
-
* @param {number} [status]
|
|
2943
|
-
* @param {string} [startDate]
|
|
2944
|
-
* @param {string} [endDate]
|
|
2846
|
+
* @param {AccessorType} accessorType
|
|
2945
2847
|
* @param {*} [options] Override http request option.
|
|
2946
2848
|
* @throws {RequiredError}
|
|
2947
2849
|
* @memberof DefaultApi
|
|
2948
2850
|
*/
|
|
2949
|
-
buildingAccessLogsShow(id,
|
|
2950
|
-
return (0, exports.DefaultApiFp)(this.configuration).buildingAccessLogsShow(id,
|
|
2851
|
+
buildingAccessLogsShow(id, accessorType, options) {
|
|
2852
|
+
return (0, exports.DefaultApiFp)(this.configuration).buildingAccessLogsShow(id, accessorType, options).then((request) => request(this.axios, this.basePath));
|
|
2951
2853
|
}
|
|
2952
2854
|
/**
|
|
2953
2855
|
*
|