ob-bms-sdk 0.0.74 → 0.0.76
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 +257 -2
- package/dist/api/api.d.ts +195 -2
- package/dist/api/api.js +104 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -243,6 +243,18 @@ export interface ACRequestResponse {
|
|
|
243
243
|
* @memberof ACRequestResponse
|
|
244
244
|
*/
|
|
245
245
|
'references': string;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @type {string}
|
|
249
|
+
* @memberof ACRequestResponse
|
|
250
|
+
*/
|
|
251
|
+
'reason': string | null;
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @type {string}
|
|
255
|
+
* @memberof ACRequestResponse
|
|
256
|
+
*/
|
|
257
|
+
'internal_remark': string | null;
|
|
246
258
|
}
|
|
247
259
|
/**
|
|
248
260
|
*
|
|
@@ -291,12 +303,24 @@ export type ACRequestStatusRejected = typeof ACRequestStatusRejected[keyof typeo
|
|
|
291
303
|
* @interface ACRequestUpdateBody
|
|
292
304
|
*/
|
|
293
305
|
export interface ACRequestUpdateBody {
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @type {string}
|
|
309
|
+
* @memberof ACRequestUpdateBody
|
|
310
|
+
*/
|
|
311
|
+
'internal_remark'?: string;
|
|
312
|
+
/**
|
|
313
|
+
*
|
|
314
|
+
* @type {string}
|
|
315
|
+
* @memberof ACRequestUpdateBody
|
|
316
|
+
*/
|
|
317
|
+
'reason'?: string;
|
|
294
318
|
/**
|
|
295
319
|
*
|
|
296
320
|
* @type {ACRequestUpdateBodyStatus}
|
|
297
321
|
* @memberof ACRequestUpdateBody
|
|
298
322
|
*/
|
|
299
|
-
'status'
|
|
323
|
+
'status'?: ACRequestUpdateBodyStatus;
|
|
300
324
|
}
|
|
301
325
|
/**
|
|
302
326
|
*
|
|
@@ -875,6 +899,12 @@ export interface IssueTypeRequest {
|
|
|
875
899
|
* @interface IssueTypeUpdate
|
|
876
900
|
*/
|
|
877
901
|
export interface IssueTypeUpdate {
|
|
902
|
+
/**
|
|
903
|
+
*
|
|
904
|
+
* @type {string}
|
|
905
|
+
* @memberof IssueTypeUpdate
|
|
906
|
+
*/
|
|
907
|
+
'deleted_at'?: string;
|
|
878
908
|
/**
|
|
879
909
|
*
|
|
880
910
|
* @type {object}
|
|
@@ -1891,6 +1921,12 @@ export interface ServiceRequestBody {
|
|
|
1891
1921
|
* @interface ServiceRequestData
|
|
1892
1922
|
*/
|
|
1893
1923
|
export interface ServiceRequestData {
|
|
1924
|
+
/**
|
|
1925
|
+
*
|
|
1926
|
+
* @type {string}
|
|
1927
|
+
* @memberof ServiceRequestData
|
|
1928
|
+
*/
|
|
1929
|
+
'internal_remark': string | null;
|
|
1894
1930
|
/**
|
|
1895
1931
|
*
|
|
1896
1932
|
* @type {string}
|
|
@@ -2056,12 +2092,18 @@ export type ServiceRequestStatusInProgress = typeof ServiceRequestStatusInProgre
|
|
|
2056
2092
|
* @interface ServiceRequestsUpdateRequestBody
|
|
2057
2093
|
*/
|
|
2058
2094
|
export interface ServiceRequestsUpdateRequestBody {
|
|
2095
|
+
/**
|
|
2096
|
+
*
|
|
2097
|
+
* @type {string}
|
|
2098
|
+
* @memberof ServiceRequestsUpdateRequestBody
|
|
2099
|
+
*/
|
|
2100
|
+
'internal_remark'?: string;
|
|
2059
2101
|
/**
|
|
2060
2102
|
*
|
|
2061
2103
|
* @type {ServiceRequestsUpdateRequestBodyStatus}
|
|
2062
2104
|
* @memberof ServiceRequestsUpdateRequestBody
|
|
2063
2105
|
*/
|
|
2064
|
-
'status'
|
|
2106
|
+
'status'?: ServiceRequestsUpdateRequestBodyStatus;
|
|
2065
2107
|
}
|
|
2066
2108
|
/**
|
|
2067
2109
|
*
|
|
@@ -2429,6 +2471,67 @@ export interface Tenant {
|
|
|
2429
2471
|
*/
|
|
2430
2472
|
'updated_at'?: string;
|
|
2431
2473
|
}
|
|
2474
|
+
/**
|
|
2475
|
+
*
|
|
2476
|
+
* @export
|
|
2477
|
+
* @interface TenantData
|
|
2478
|
+
*/
|
|
2479
|
+
export interface TenantData {
|
|
2480
|
+
/**
|
|
2481
|
+
*
|
|
2482
|
+
* @type {string}
|
|
2483
|
+
* @memberof TenantData
|
|
2484
|
+
*/
|
|
2485
|
+
'updated_at': string;
|
|
2486
|
+
/**
|
|
2487
|
+
*
|
|
2488
|
+
* @type {string}
|
|
2489
|
+
* @memberof TenantData
|
|
2490
|
+
*/
|
|
2491
|
+
'created_at': string;
|
|
2492
|
+
/**
|
|
2493
|
+
*
|
|
2494
|
+
* @type {string}
|
|
2495
|
+
* @memberof TenantData
|
|
2496
|
+
*/
|
|
2497
|
+
'address': string;
|
|
2498
|
+
/**
|
|
2499
|
+
*
|
|
2500
|
+
* @type {string}
|
|
2501
|
+
* @memberof TenantData
|
|
2502
|
+
*/
|
|
2503
|
+
'phone_number': string;
|
|
2504
|
+
/**
|
|
2505
|
+
*
|
|
2506
|
+
* @type {string}
|
|
2507
|
+
* @memberof TenantData
|
|
2508
|
+
*/
|
|
2509
|
+
'email': string;
|
|
2510
|
+
/**
|
|
2511
|
+
*
|
|
2512
|
+
* @type {PrismaJsonValue}
|
|
2513
|
+
* @memberof TenantData
|
|
2514
|
+
*/
|
|
2515
|
+
'display_name': PrismaJsonValue | null;
|
|
2516
|
+
/**
|
|
2517
|
+
*
|
|
2518
|
+
* @type {string}
|
|
2519
|
+
* @memberof TenantData
|
|
2520
|
+
*/
|
|
2521
|
+
'name': string;
|
|
2522
|
+
/**
|
|
2523
|
+
*
|
|
2524
|
+
* @type {string}
|
|
2525
|
+
* @memberof TenantData
|
|
2526
|
+
*/
|
|
2527
|
+
'uid': string;
|
|
2528
|
+
/**
|
|
2529
|
+
*
|
|
2530
|
+
* @type {string}
|
|
2531
|
+
* @memberof TenantData
|
|
2532
|
+
*/
|
|
2533
|
+
'id': string;
|
|
2534
|
+
}
|
|
2432
2535
|
/**
|
|
2433
2536
|
*
|
|
2434
2537
|
* @export
|
|
@@ -3672,6 +3775,46 @@ export interface WrappedResponseShowVisitorResponseData {
|
|
|
3672
3775
|
*/
|
|
3673
3776
|
'updated_at': string;
|
|
3674
3777
|
}
|
|
3778
|
+
/**
|
|
3779
|
+
*
|
|
3780
|
+
* @export
|
|
3781
|
+
* @interface WrappedResponseTenantIndexResponse
|
|
3782
|
+
*/
|
|
3783
|
+
export interface WrappedResponseTenantIndexResponse {
|
|
3784
|
+
/**
|
|
3785
|
+
*
|
|
3786
|
+
* @type {WrappedResponseTenantIndexResponseData}
|
|
3787
|
+
* @memberof WrappedResponseTenantIndexResponse
|
|
3788
|
+
*/
|
|
3789
|
+
'data': WrappedResponseTenantIndexResponseData | null;
|
|
3790
|
+
}
|
|
3791
|
+
/**
|
|
3792
|
+
*
|
|
3793
|
+
* @export
|
|
3794
|
+
* @interface WrappedResponseTenantIndexResponseData
|
|
3795
|
+
*/
|
|
3796
|
+
export interface WrappedResponseTenantIndexResponseData {
|
|
3797
|
+
}
|
|
3798
|
+
/**
|
|
3799
|
+
*
|
|
3800
|
+
* @export
|
|
3801
|
+
* @interface WrappedResponseTowerIndexResponse
|
|
3802
|
+
*/
|
|
3803
|
+
export interface WrappedResponseTowerIndexResponse {
|
|
3804
|
+
/**
|
|
3805
|
+
*
|
|
3806
|
+
* @type {WrappedResponseTowerIndexResponseData}
|
|
3807
|
+
* @memberof WrappedResponseTowerIndexResponse
|
|
3808
|
+
*/
|
|
3809
|
+
'data': WrappedResponseTowerIndexResponseData | null;
|
|
3810
|
+
}
|
|
3811
|
+
/**
|
|
3812
|
+
*
|
|
3813
|
+
* @export
|
|
3814
|
+
* @interface WrappedResponseTowerIndexResponseData
|
|
3815
|
+
*/
|
|
3816
|
+
export interface WrappedResponseTowerIndexResponseData {
|
|
3817
|
+
}
|
|
3675
3818
|
/**
|
|
3676
3819
|
*
|
|
3677
3820
|
* @export
|
|
@@ -4890,6 +5033,64 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4890
5033
|
options: localVarRequestOptions,
|
|
4891
5034
|
};
|
|
4892
5035
|
},
|
|
5036
|
+
/**
|
|
5037
|
+
*
|
|
5038
|
+
* @param {*} [options] Override http request option.
|
|
5039
|
+
* @throws {RequiredError}
|
|
5040
|
+
*/
|
|
5041
|
+
tenantsIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5042
|
+
const localVarPath = `/tenants`;
|
|
5043
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5044
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5045
|
+
let baseOptions;
|
|
5046
|
+
if (configuration) {
|
|
5047
|
+
baseOptions = configuration.baseOptions;
|
|
5048
|
+
}
|
|
5049
|
+
|
|
5050
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5051
|
+
const localVarHeaderParameter = {} as any;
|
|
5052
|
+
const localVarQueryParameter = {} as any;
|
|
5053
|
+
|
|
5054
|
+
|
|
5055
|
+
|
|
5056
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5057
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5058
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5059
|
+
|
|
5060
|
+
return {
|
|
5061
|
+
url: toPathString(localVarUrlObj),
|
|
5062
|
+
options: localVarRequestOptions,
|
|
5063
|
+
};
|
|
5064
|
+
},
|
|
5065
|
+
/**
|
|
5066
|
+
*
|
|
5067
|
+
* @param {*} [options] Override http request option.
|
|
5068
|
+
* @throws {RequiredError}
|
|
5069
|
+
*/
|
|
5070
|
+
towersIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5071
|
+
const localVarPath = `/towers`;
|
|
5072
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5073
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5074
|
+
let baseOptions;
|
|
5075
|
+
if (configuration) {
|
|
5076
|
+
baseOptions = configuration.baseOptions;
|
|
5077
|
+
}
|
|
5078
|
+
|
|
5079
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5080
|
+
const localVarHeaderParameter = {} as any;
|
|
5081
|
+
const localVarQueryParameter = {} as any;
|
|
5082
|
+
|
|
5083
|
+
|
|
5084
|
+
|
|
5085
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5086
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5087
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5088
|
+
|
|
5089
|
+
return {
|
|
5090
|
+
url: toPathString(localVarUrlObj),
|
|
5091
|
+
options: localVarRequestOptions,
|
|
5092
|
+
};
|
|
5093
|
+
},
|
|
4893
5094
|
/**
|
|
4894
5095
|
*
|
|
4895
5096
|
* @param {string} [tokenId]
|
|
@@ -5362,6 +5563,24 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5362
5563
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sync(syncBody, options);
|
|
5363
5564
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5364
5565
|
},
|
|
5566
|
+
/**
|
|
5567
|
+
*
|
|
5568
|
+
* @param {*} [options] Override http request option.
|
|
5569
|
+
* @throws {RequiredError}
|
|
5570
|
+
*/
|
|
5571
|
+
async tenantsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseTenantIndexResponse>> {
|
|
5572
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tenantsIndex(options);
|
|
5573
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5574
|
+
},
|
|
5575
|
+
/**
|
|
5576
|
+
*
|
|
5577
|
+
* @param {*} [options] Override http request option.
|
|
5578
|
+
* @throws {RequiredError}
|
|
5579
|
+
*/
|
|
5580
|
+
async towersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseTowerIndexResponse>> {
|
|
5581
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.towersIndex(options);
|
|
5582
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5583
|
+
},
|
|
5365
5584
|
/**
|
|
5366
5585
|
*
|
|
5367
5586
|
* @param {string} [tokenId]
|
|
@@ -5709,6 +5928,22 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5709
5928
|
sync(syncBody: SyncBody, options?: any): AxiosPromise<SyncResponse> {
|
|
5710
5929
|
return localVarFp.sync(syncBody, options).then((request) => request(axios, basePath));
|
|
5711
5930
|
},
|
|
5931
|
+
/**
|
|
5932
|
+
*
|
|
5933
|
+
* @param {*} [options] Override http request option.
|
|
5934
|
+
* @throws {RequiredError}
|
|
5935
|
+
*/
|
|
5936
|
+
tenantsIndex(options?: any): AxiosPromise<WrappedResponseTenantIndexResponse> {
|
|
5937
|
+
return localVarFp.tenantsIndex(options).then((request) => request(axios, basePath));
|
|
5938
|
+
},
|
|
5939
|
+
/**
|
|
5940
|
+
*
|
|
5941
|
+
* @param {*} [options] Override http request option.
|
|
5942
|
+
* @throws {RequiredError}
|
|
5943
|
+
*/
|
|
5944
|
+
towersIndex(options?: any): AxiosPromise<WrappedResponseTowerIndexResponse> {
|
|
5945
|
+
return localVarFp.towersIndex(options).then((request) => request(axios, basePath));
|
|
5946
|
+
},
|
|
5712
5947
|
/**
|
|
5713
5948
|
*
|
|
5714
5949
|
* @param {string} [tokenId]
|
|
@@ -6112,6 +6347,26 @@ export class DefaultApi extends BaseAPI {
|
|
|
6112
6347
|
return DefaultApiFp(this.configuration).sync(syncBody, options).then((request) => request(this.axios, this.basePath));
|
|
6113
6348
|
}
|
|
6114
6349
|
|
|
6350
|
+
/**
|
|
6351
|
+
*
|
|
6352
|
+
* @param {*} [options] Override http request option.
|
|
6353
|
+
* @throws {RequiredError}
|
|
6354
|
+
* @memberof DefaultApi
|
|
6355
|
+
*/
|
|
6356
|
+
public tenantsIndex(options?: AxiosRequestConfig) {
|
|
6357
|
+
return DefaultApiFp(this.configuration).tenantsIndex(options).then((request) => request(this.axios, this.basePath));
|
|
6358
|
+
}
|
|
6359
|
+
|
|
6360
|
+
/**
|
|
6361
|
+
*
|
|
6362
|
+
* @param {*} [options] Override http request option.
|
|
6363
|
+
* @throws {RequiredError}
|
|
6364
|
+
* @memberof DefaultApi
|
|
6365
|
+
*/
|
|
6366
|
+
public towersIndex(options?: AxiosRequestConfig) {
|
|
6367
|
+
return DefaultApiFp(this.configuration).towersIndex(options).then((request) => request(this.axios, this.basePath));
|
|
6368
|
+
}
|
|
6369
|
+
|
|
6115
6370
|
/**
|
|
6116
6371
|
*
|
|
6117
6372
|
* @param {string} [tokenId]
|
package/dist/api/api.d.ts
CHANGED
|
@@ -231,6 +231,18 @@ export interface ACRequestResponse {
|
|
|
231
231
|
* @memberof ACRequestResponse
|
|
232
232
|
*/
|
|
233
233
|
'references': string;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @type {string}
|
|
237
|
+
* @memberof ACRequestResponse
|
|
238
|
+
*/
|
|
239
|
+
'reason': string | null;
|
|
240
|
+
/**
|
|
241
|
+
*
|
|
242
|
+
* @type {string}
|
|
243
|
+
* @memberof ACRequestResponse
|
|
244
|
+
*/
|
|
245
|
+
'internal_remark': string | null;
|
|
234
246
|
}
|
|
235
247
|
/**
|
|
236
248
|
*
|
|
@@ -267,12 +279,24 @@ export type ACRequestStatusRejected = typeof ACRequestStatusRejected[keyof typeo
|
|
|
267
279
|
* @interface ACRequestUpdateBody
|
|
268
280
|
*/
|
|
269
281
|
export interface ACRequestUpdateBody {
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* @type {string}
|
|
285
|
+
* @memberof ACRequestUpdateBody
|
|
286
|
+
*/
|
|
287
|
+
'internal_remark'?: string;
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof ACRequestUpdateBody
|
|
292
|
+
*/
|
|
293
|
+
'reason'?: string;
|
|
270
294
|
/**
|
|
271
295
|
*
|
|
272
296
|
* @type {ACRequestUpdateBodyStatus}
|
|
273
297
|
* @memberof ACRequestUpdateBody
|
|
274
298
|
*/
|
|
275
|
-
'status'
|
|
299
|
+
'status'?: ACRequestUpdateBodyStatus;
|
|
276
300
|
}
|
|
277
301
|
/**
|
|
278
302
|
*
|
|
@@ -859,6 +883,12 @@ export interface IssueTypeRequest {
|
|
|
859
883
|
* @interface IssueTypeUpdate
|
|
860
884
|
*/
|
|
861
885
|
export interface IssueTypeUpdate {
|
|
886
|
+
/**
|
|
887
|
+
*
|
|
888
|
+
* @type {string}
|
|
889
|
+
* @memberof IssueTypeUpdate
|
|
890
|
+
*/
|
|
891
|
+
'deleted_at'?: string;
|
|
862
892
|
/**
|
|
863
893
|
*
|
|
864
894
|
* @type {object}
|
|
@@ -1860,6 +1890,12 @@ export interface ServiceRequestBody {
|
|
|
1860
1890
|
* @interface ServiceRequestData
|
|
1861
1891
|
*/
|
|
1862
1892
|
export interface ServiceRequestData {
|
|
1893
|
+
/**
|
|
1894
|
+
*
|
|
1895
|
+
* @type {string}
|
|
1896
|
+
* @memberof ServiceRequestData
|
|
1897
|
+
*/
|
|
1898
|
+
'internal_remark': string | null;
|
|
1863
1899
|
/**
|
|
1864
1900
|
*
|
|
1865
1901
|
* @type {string}
|
|
@@ -2011,12 +2047,18 @@ export type ServiceRequestStatusInProgress = typeof ServiceRequestStatusInProgre
|
|
|
2011
2047
|
* @interface ServiceRequestsUpdateRequestBody
|
|
2012
2048
|
*/
|
|
2013
2049
|
export interface ServiceRequestsUpdateRequestBody {
|
|
2050
|
+
/**
|
|
2051
|
+
*
|
|
2052
|
+
* @type {string}
|
|
2053
|
+
* @memberof ServiceRequestsUpdateRequestBody
|
|
2054
|
+
*/
|
|
2055
|
+
'internal_remark'?: string;
|
|
2014
2056
|
/**
|
|
2015
2057
|
*
|
|
2016
2058
|
* @type {ServiceRequestsUpdateRequestBodyStatus}
|
|
2017
2059
|
* @memberof ServiceRequestsUpdateRequestBody
|
|
2018
2060
|
*/
|
|
2019
|
-
'status'
|
|
2061
|
+
'status'?: ServiceRequestsUpdateRequestBodyStatus;
|
|
2020
2062
|
}
|
|
2021
2063
|
/**
|
|
2022
2064
|
*
|
|
@@ -2381,6 +2423,67 @@ export interface Tenant {
|
|
|
2381
2423
|
*/
|
|
2382
2424
|
'updated_at'?: string;
|
|
2383
2425
|
}
|
|
2426
|
+
/**
|
|
2427
|
+
*
|
|
2428
|
+
* @export
|
|
2429
|
+
* @interface TenantData
|
|
2430
|
+
*/
|
|
2431
|
+
export interface TenantData {
|
|
2432
|
+
/**
|
|
2433
|
+
*
|
|
2434
|
+
* @type {string}
|
|
2435
|
+
* @memberof TenantData
|
|
2436
|
+
*/
|
|
2437
|
+
'updated_at': string;
|
|
2438
|
+
/**
|
|
2439
|
+
*
|
|
2440
|
+
* @type {string}
|
|
2441
|
+
* @memberof TenantData
|
|
2442
|
+
*/
|
|
2443
|
+
'created_at': string;
|
|
2444
|
+
/**
|
|
2445
|
+
*
|
|
2446
|
+
* @type {string}
|
|
2447
|
+
* @memberof TenantData
|
|
2448
|
+
*/
|
|
2449
|
+
'address': string;
|
|
2450
|
+
/**
|
|
2451
|
+
*
|
|
2452
|
+
* @type {string}
|
|
2453
|
+
* @memberof TenantData
|
|
2454
|
+
*/
|
|
2455
|
+
'phone_number': string;
|
|
2456
|
+
/**
|
|
2457
|
+
*
|
|
2458
|
+
* @type {string}
|
|
2459
|
+
* @memberof TenantData
|
|
2460
|
+
*/
|
|
2461
|
+
'email': string;
|
|
2462
|
+
/**
|
|
2463
|
+
*
|
|
2464
|
+
* @type {PrismaJsonValue}
|
|
2465
|
+
* @memberof TenantData
|
|
2466
|
+
*/
|
|
2467
|
+
'display_name': PrismaJsonValue | null;
|
|
2468
|
+
/**
|
|
2469
|
+
*
|
|
2470
|
+
* @type {string}
|
|
2471
|
+
* @memberof TenantData
|
|
2472
|
+
*/
|
|
2473
|
+
'name': string;
|
|
2474
|
+
/**
|
|
2475
|
+
*
|
|
2476
|
+
* @type {string}
|
|
2477
|
+
* @memberof TenantData
|
|
2478
|
+
*/
|
|
2479
|
+
'uid': string;
|
|
2480
|
+
/**
|
|
2481
|
+
*
|
|
2482
|
+
* @type {string}
|
|
2483
|
+
* @memberof TenantData
|
|
2484
|
+
*/
|
|
2485
|
+
'id': string;
|
|
2486
|
+
}
|
|
2384
2487
|
/**
|
|
2385
2488
|
*
|
|
2386
2489
|
* @export
|
|
@@ -3618,6 +3721,46 @@ export interface WrappedResponseShowVisitorResponseData {
|
|
|
3618
3721
|
*/
|
|
3619
3722
|
'updated_at': string;
|
|
3620
3723
|
}
|
|
3724
|
+
/**
|
|
3725
|
+
*
|
|
3726
|
+
* @export
|
|
3727
|
+
* @interface WrappedResponseTenantIndexResponse
|
|
3728
|
+
*/
|
|
3729
|
+
export interface WrappedResponseTenantIndexResponse {
|
|
3730
|
+
/**
|
|
3731
|
+
*
|
|
3732
|
+
* @type {WrappedResponseTenantIndexResponseData}
|
|
3733
|
+
* @memberof WrappedResponseTenantIndexResponse
|
|
3734
|
+
*/
|
|
3735
|
+
'data': WrappedResponseTenantIndexResponseData | null;
|
|
3736
|
+
}
|
|
3737
|
+
/**
|
|
3738
|
+
*
|
|
3739
|
+
* @export
|
|
3740
|
+
* @interface WrappedResponseTenantIndexResponseData
|
|
3741
|
+
*/
|
|
3742
|
+
export interface WrappedResponseTenantIndexResponseData {
|
|
3743
|
+
}
|
|
3744
|
+
/**
|
|
3745
|
+
*
|
|
3746
|
+
* @export
|
|
3747
|
+
* @interface WrappedResponseTowerIndexResponse
|
|
3748
|
+
*/
|
|
3749
|
+
export interface WrappedResponseTowerIndexResponse {
|
|
3750
|
+
/**
|
|
3751
|
+
*
|
|
3752
|
+
* @type {WrappedResponseTowerIndexResponseData}
|
|
3753
|
+
* @memberof WrappedResponseTowerIndexResponse
|
|
3754
|
+
*/
|
|
3755
|
+
'data': WrappedResponseTowerIndexResponseData | null;
|
|
3756
|
+
}
|
|
3757
|
+
/**
|
|
3758
|
+
*
|
|
3759
|
+
* @export
|
|
3760
|
+
* @interface WrappedResponseTowerIndexResponseData
|
|
3761
|
+
*/
|
|
3762
|
+
export interface WrappedResponseTowerIndexResponseData {
|
|
3763
|
+
}
|
|
3621
3764
|
/**
|
|
3622
3765
|
*
|
|
3623
3766
|
* @export
|
|
@@ -3906,6 +4049,18 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3906
4049
|
* @throws {RequiredError}
|
|
3907
4050
|
*/
|
|
3908
4051
|
sync: (syncBody: SyncBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4052
|
+
/**
|
|
4053
|
+
*
|
|
4054
|
+
* @param {*} [options] Override http request option.
|
|
4055
|
+
* @throws {RequiredError}
|
|
4056
|
+
*/
|
|
4057
|
+
tenantsIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4058
|
+
/**
|
|
4059
|
+
*
|
|
4060
|
+
* @param {*} [options] Override http request option.
|
|
4061
|
+
* @throws {RequiredError}
|
|
4062
|
+
*/
|
|
4063
|
+
towersIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3909
4064
|
/**
|
|
3910
4065
|
*
|
|
3911
4066
|
* @param {string} [tokenId]
|
|
@@ -4177,6 +4332,18 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4177
4332
|
* @throws {RequiredError}
|
|
4178
4333
|
*/
|
|
4179
4334
|
sync(syncBody: SyncBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncResponse>>;
|
|
4335
|
+
/**
|
|
4336
|
+
*
|
|
4337
|
+
* @param {*} [options] Override http request option.
|
|
4338
|
+
* @throws {RequiredError}
|
|
4339
|
+
*/
|
|
4340
|
+
tenantsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseTenantIndexResponse>>;
|
|
4341
|
+
/**
|
|
4342
|
+
*
|
|
4343
|
+
* @param {*} [options] Override http request option.
|
|
4344
|
+
* @throws {RequiredError}
|
|
4345
|
+
*/
|
|
4346
|
+
towersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseTowerIndexResponse>>;
|
|
4180
4347
|
/**
|
|
4181
4348
|
*
|
|
4182
4349
|
* @param {string} [tokenId]
|
|
@@ -4448,6 +4615,18 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4448
4615
|
* @throws {RequiredError}
|
|
4449
4616
|
*/
|
|
4450
4617
|
sync(syncBody: SyncBody, options?: any): AxiosPromise<SyncResponse>;
|
|
4618
|
+
/**
|
|
4619
|
+
*
|
|
4620
|
+
* @param {*} [options] Override http request option.
|
|
4621
|
+
* @throws {RequiredError}
|
|
4622
|
+
*/
|
|
4623
|
+
tenantsIndex(options?: any): AxiosPromise<WrappedResponseTenantIndexResponse>;
|
|
4624
|
+
/**
|
|
4625
|
+
*
|
|
4626
|
+
* @param {*} [options] Override http request option.
|
|
4627
|
+
* @throws {RequiredError}
|
|
4628
|
+
*/
|
|
4629
|
+
towersIndex(options?: any): AxiosPromise<WrappedResponseTowerIndexResponse>;
|
|
4451
4630
|
/**
|
|
4452
4631
|
*
|
|
4453
4632
|
* @param {string} [tokenId]
|
|
@@ -4751,6 +4930,20 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4751
4930
|
* @memberof DefaultApi
|
|
4752
4931
|
*/
|
|
4753
4932
|
sync(syncBody: SyncBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncResponse, any>>;
|
|
4933
|
+
/**
|
|
4934
|
+
*
|
|
4935
|
+
* @param {*} [options] Override http request option.
|
|
4936
|
+
* @throws {RequiredError}
|
|
4937
|
+
* @memberof DefaultApi
|
|
4938
|
+
*/
|
|
4939
|
+
tenantsIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseTenantIndexResponse, any>>;
|
|
4940
|
+
/**
|
|
4941
|
+
*
|
|
4942
|
+
* @param {*} [options] Override http request option.
|
|
4943
|
+
* @throws {RequiredError}
|
|
4944
|
+
* @memberof DefaultApi
|
|
4945
|
+
*/
|
|
4946
|
+
towersIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseTowerIndexResponse, any>>;
|
|
4754
4947
|
/**
|
|
4755
4948
|
*
|
|
4756
4949
|
* @param {string} [tokenId]
|
package/dist/api/api.js
CHANGED
|
@@ -1098,6 +1098,54 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1098
1098
|
options: localVarRequestOptions,
|
|
1099
1099
|
};
|
|
1100
1100
|
}),
|
|
1101
|
+
/**
|
|
1102
|
+
*
|
|
1103
|
+
* @param {*} [options] Override http request option.
|
|
1104
|
+
* @throws {RequiredError}
|
|
1105
|
+
*/
|
|
1106
|
+
tenantsIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1107
|
+
const localVarPath = `/tenants`;
|
|
1108
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1109
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1110
|
+
let baseOptions;
|
|
1111
|
+
if (configuration) {
|
|
1112
|
+
baseOptions = configuration.baseOptions;
|
|
1113
|
+
}
|
|
1114
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1115
|
+
const localVarHeaderParameter = {};
|
|
1116
|
+
const localVarQueryParameter = {};
|
|
1117
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1118
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1119
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1120
|
+
return {
|
|
1121
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1122
|
+
options: localVarRequestOptions,
|
|
1123
|
+
};
|
|
1124
|
+
}),
|
|
1125
|
+
/**
|
|
1126
|
+
*
|
|
1127
|
+
* @param {*} [options] Override http request option.
|
|
1128
|
+
* @throws {RequiredError}
|
|
1129
|
+
*/
|
|
1130
|
+
towersIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1131
|
+
const localVarPath = `/towers`;
|
|
1132
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1133
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1134
|
+
let baseOptions;
|
|
1135
|
+
if (configuration) {
|
|
1136
|
+
baseOptions = configuration.baseOptions;
|
|
1137
|
+
}
|
|
1138
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1139
|
+
const localVarHeaderParameter = {};
|
|
1140
|
+
const localVarQueryParameter = {};
|
|
1141
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1142
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1143
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1144
|
+
return {
|
|
1145
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1146
|
+
options: localVarRequestOptions,
|
|
1147
|
+
};
|
|
1148
|
+
}),
|
|
1101
1149
|
/**
|
|
1102
1150
|
*
|
|
1103
1151
|
* @param {string} [tokenId]
|
|
@@ -1608,6 +1656,28 @@ const DefaultApiFp = function (configuration) {
|
|
|
1608
1656
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1609
1657
|
});
|
|
1610
1658
|
},
|
|
1659
|
+
/**
|
|
1660
|
+
*
|
|
1661
|
+
* @param {*} [options] Override http request option.
|
|
1662
|
+
* @throws {RequiredError}
|
|
1663
|
+
*/
|
|
1664
|
+
tenantsIndex(options) {
|
|
1665
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1666
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tenantsIndex(options);
|
|
1667
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1668
|
+
});
|
|
1669
|
+
},
|
|
1670
|
+
/**
|
|
1671
|
+
*
|
|
1672
|
+
* @param {*} [options] Override http request option.
|
|
1673
|
+
* @throws {RequiredError}
|
|
1674
|
+
*/
|
|
1675
|
+
towersIndex(options) {
|
|
1676
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1677
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.towersIndex(options);
|
|
1678
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1679
|
+
});
|
|
1680
|
+
},
|
|
1611
1681
|
/**
|
|
1612
1682
|
*
|
|
1613
1683
|
* @param {string} [tokenId]
|
|
@@ -1963,6 +2033,22 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1963
2033
|
sync(syncBody, options) {
|
|
1964
2034
|
return localVarFp.sync(syncBody, options).then((request) => request(axios, basePath));
|
|
1965
2035
|
},
|
|
2036
|
+
/**
|
|
2037
|
+
*
|
|
2038
|
+
* @param {*} [options] Override http request option.
|
|
2039
|
+
* @throws {RequiredError}
|
|
2040
|
+
*/
|
|
2041
|
+
tenantsIndex(options) {
|
|
2042
|
+
return localVarFp.tenantsIndex(options).then((request) => request(axios, basePath));
|
|
2043
|
+
},
|
|
2044
|
+
/**
|
|
2045
|
+
*
|
|
2046
|
+
* @param {*} [options] Override http request option.
|
|
2047
|
+
* @throws {RequiredError}
|
|
2048
|
+
*/
|
|
2049
|
+
towersIndex(options) {
|
|
2050
|
+
return localVarFp.towersIndex(options).then((request) => request(axios, basePath));
|
|
2051
|
+
},
|
|
1966
2052
|
/**
|
|
1967
2053
|
*
|
|
1968
2054
|
* @param {string} [tokenId]
|
|
@@ -2336,6 +2422,24 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2336
2422
|
sync(syncBody, options) {
|
|
2337
2423
|
return (0, exports.DefaultApiFp)(this.configuration).sync(syncBody, options).then((request) => request(this.axios, this.basePath));
|
|
2338
2424
|
}
|
|
2425
|
+
/**
|
|
2426
|
+
*
|
|
2427
|
+
* @param {*} [options] Override http request option.
|
|
2428
|
+
* @throws {RequiredError}
|
|
2429
|
+
* @memberof DefaultApi
|
|
2430
|
+
*/
|
|
2431
|
+
tenantsIndex(options) {
|
|
2432
|
+
return (0, exports.DefaultApiFp)(this.configuration).tenantsIndex(options).then((request) => request(this.axios, this.basePath));
|
|
2433
|
+
}
|
|
2434
|
+
/**
|
|
2435
|
+
*
|
|
2436
|
+
* @param {*} [options] Override http request option.
|
|
2437
|
+
* @throws {RequiredError}
|
|
2438
|
+
* @memberof DefaultApi
|
|
2439
|
+
*/
|
|
2440
|
+
towersIndex(options) {
|
|
2441
|
+
return (0, exports.DefaultApiFp)(this.configuration).towersIndex(options).then((request) => request(this.axios, this.basePath));
|
|
2442
|
+
}
|
|
2339
2443
|
/**
|
|
2340
2444
|
*
|
|
2341
2445
|
* @param {string} [tokenId]
|