ob-bms-sdk 0.0.74 → 0.0.75
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 +213 -0
- package/dist/api/api.d.ts +151 -0
- package/dist/api/api.js +104 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -2429,6 +2429,67 @@ export interface Tenant {
|
|
|
2429
2429
|
*/
|
|
2430
2430
|
'updated_at'?: string;
|
|
2431
2431
|
}
|
|
2432
|
+
/**
|
|
2433
|
+
*
|
|
2434
|
+
* @export
|
|
2435
|
+
* @interface TenantData
|
|
2436
|
+
*/
|
|
2437
|
+
export interface TenantData {
|
|
2438
|
+
/**
|
|
2439
|
+
*
|
|
2440
|
+
* @type {string}
|
|
2441
|
+
* @memberof TenantData
|
|
2442
|
+
*/
|
|
2443
|
+
'updated_at': string;
|
|
2444
|
+
/**
|
|
2445
|
+
*
|
|
2446
|
+
* @type {string}
|
|
2447
|
+
* @memberof TenantData
|
|
2448
|
+
*/
|
|
2449
|
+
'created_at': string;
|
|
2450
|
+
/**
|
|
2451
|
+
*
|
|
2452
|
+
* @type {string}
|
|
2453
|
+
* @memberof TenantData
|
|
2454
|
+
*/
|
|
2455
|
+
'address': string;
|
|
2456
|
+
/**
|
|
2457
|
+
*
|
|
2458
|
+
* @type {string}
|
|
2459
|
+
* @memberof TenantData
|
|
2460
|
+
*/
|
|
2461
|
+
'phone_number': string;
|
|
2462
|
+
/**
|
|
2463
|
+
*
|
|
2464
|
+
* @type {string}
|
|
2465
|
+
* @memberof TenantData
|
|
2466
|
+
*/
|
|
2467
|
+
'email': string;
|
|
2468
|
+
/**
|
|
2469
|
+
*
|
|
2470
|
+
* @type {PrismaJsonValue}
|
|
2471
|
+
* @memberof TenantData
|
|
2472
|
+
*/
|
|
2473
|
+
'display_name': PrismaJsonValue | null;
|
|
2474
|
+
/**
|
|
2475
|
+
*
|
|
2476
|
+
* @type {string}
|
|
2477
|
+
* @memberof TenantData
|
|
2478
|
+
*/
|
|
2479
|
+
'name': string;
|
|
2480
|
+
/**
|
|
2481
|
+
*
|
|
2482
|
+
* @type {string}
|
|
2483
|
+
* @memberof TenantData
|
|
2484
|
+
*/
|
|
2485
|
+
'uid': string;
|
|
2486
|
+
/**
|
|
2487
|
+
*
|
|
2488
|
+
* @type {string}
|
|
2489
|
+
* @memberof TenantData
|
|
2490
|
+
*/
|
|
2491
|
+
'id': string;
|
|
2492
|
+
}
|
|
2432
2493
|
/**
|
|
2433
2494
|
*
|
|
2434
2495
|
* @export
|
|
@@ -3672,6 +3733,46 @@ export interface WrappedResponseShowVisitorResponseData {
|
|
|
3672
3733
|
*/
|
|
3673
3734
|
'updated_at': string;
|
|
3674
3735
|
}
|
|
3736
|
+
/**
|
|
3737
|
+
*
|
|
3738
|
+
* @export
|
|
3739
|
+
* @interface WrappedResponseTenantIndexResponse
|
|
3740
|
+
*/
|
|
3741
|
+
export interface WrappedResponseTenantIndexResponse {
|
|
3742
|
+
/**
|
|
3743
|
+
*
|
|
3744
|
+
* @type {WrappedResponseTenantIndexResponseData}
|
|
3745
|
+
* @memberof WrappedResponseTenantIndexResponse
|
|
3746
|
+
*/
|
|
3747
|
+
'data': WrappedResponseTenantIndexResponseData | null;
|
|
3748
|
+
}
|
|
3749
|
+
/**
|
|
3750
|
+
*
|
|
3751
|
+
* @export
|
|
3752
|
+
* @interface WrappedResponseTenantIndexResponseData
|
|
3753
|
+
*/
|
|
3754
|
+
export interface WrappedResponseTenantIndexResponseData {
|
|
3755
|
+
}
|
|
3756
|
+
/**
|
|
3757
|
+
*
|
|
3758
|
+
* @export
|
|
3759
|
+
* @interface WrappedResponseTowerIndexResponse
|
|
3760
|
+
*/
|
|
3761
|
+
export interface WrappedResponseTowerIndexResponse {
|
|
3762
|
+
/**
|
|
3763
|
+
*
|
|
3764
|
+
* @type {WrappedResponseTowerIndexResponseData}
|
|
3765
|
+
* @memberof WrappedResponseTowerIndexResponse
|
|
3766
|
+
*/
|
|
3767
|
+
'data': WrappedResponseTowerIndexResponseData | null;
|
|
3768
|
+
}
|
|
3769
|
+
/**
|
|
3770
|
+
*
|
|
3771
|
+
* @export
|
|
3772
|
+
* @interface WrappedResponseTowerIndexResponseData
|
|
3773
|
+
*/
|
|
3774
|
+
export interface WrappedResponseTowerIndexResponseData {
|
|
3775
|
+
}
|
|
3675
3776
|
/**
|
|
3676
3777
|
*
|
|
3677
3778
|
* @export
|
|
@@ -4890,6 +4991,64 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4890
4991
|
options: localVarRequestOptions,
|
|
4891
4992
|
};
|
|
4892
4993
|
},
|
|
4994
|
+
/**
|
|
4995
|
+
*
|
|
4996
|
+
* @param {*} [options] Override http request option.
|
|
4997
|
+
* @throws {RequiredError}
|
|
4998
|
+
*/
|
|
4999
|
+
tenantsIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5000
|
+
const localVarPath = `/tenants`;
|
|
5001
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5002
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5003
|
+
let baseOptions;
|
|
5004
|
+
if (configuration) {
|
|
5005
|
+
baseOptions = configuration.baseOptions;
|
|
5006
|
+
}
|
|
5007
|
+
|
|
5008
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5009
|
+
const localVarHeaderParameter = {} as any;
|
|
5010
|
+
const localVarQueryParameter = {} as any;
|
|
5011
|
+
|
|
5012
|
+
|
|
5013
|
+
|
|
5014
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5015
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5016
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5017
|
+
|
|
5018
|
+
return {
|
|
5019
|
+
url: toPathString(localVarUrlObj),
|
|
5020
|
+
options: localVarRequestOptions,
|
|
5021
|
+
};
|
|
5022
|
+
},
|
|
5023
|
+
/**
|
|
5024
|
+
*
|
|
5025
|
+
* @param {*} [options] Override http request option.
|
|
5026
|
+
* @throws {RequiredError}
|
|
5027
|
+
*/
|
|
5028
|
+
towersIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5029
|
+
const localVarPath = `/towers`;
|
|
5030
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5031
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5032
|
+
let baseOptions;
|
|
5033
|
+
if (configuration) {
|
|
5034
|
+
baseOptions = configuration.baseOptions;
|
|
5035
|
+
}
|
|
5036
|
+
|
|
5037
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5038
|
+
const localVarHeaderParameter = {} as any;
|
|
5039
|
+
const localVarQueryParameter = {} as any;
|
|
5040
|
+
|
|
5041
|
+
|
|
5042
|
+
|
|
5043
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5044
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5045
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5046
|
+
|
|
5047
|
+
return {
|
|
5048
|
+
url: toPathString(localVarUrlObj),
|
|
5049
|
+
options: localVarRequestOptions,
|
|
5050
|
+
};
|
|
5051
|
+
},
|
|
4893
5052
|
/**
|
|
4894
5053
|
*
|
|
4895
5054
|
* @param {string} [tokenId]
|
|
@@ -5362,6 +5521,24 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5362
5521
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sync(syncBody, options);
|
|
5363
5522
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5364
5523
|
},
|
|
5524
|
+
/**
|
|
5525
|
+
*
|
|
5526
|
+
* @param {*} [options] Override http request option.
|
|
5527
|
+
* @throws {RequiredError}
|
|
5528
|
+
*/
|
|
5529
|
+
async tenantsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseTenantIndexResponse>> {
|
|
5530
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tenantsIndex(options);
|
|
5531
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5532
|
+
},
|
|
5533
|
+
/**
|
|
5534
|
+
*
|
|
5535
|
+
* @param {*} [options] Override http request option.
|
|
5536
|
+
* @throws {RequiredError}
|
|
5537
|
+
*/
|
|
5538
|
+
async towersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseTowerIndexResponse>> {
|
|
5539
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.towersIndex(options);
|
|
5540
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5541
|
+
},
|
|
5365
5542
|
/**
|
|
5366
5543
|
*
|
|
5367
5544
|
* @param {string} [tokenId]
|
|
@@ -5709,6 +5886,22 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5709
5886
|
sync(syncBody: SyncBody, options?: any): AxiosPromise<SyncResponse> {
|
|
5710
5887
|
return localVarFp.sync(syncBody, options).then((request) => request(axios, basePath));
|
|
5711
5888
|
},
|
|
5889
|
+
/**
|
|
5890
|
+
*
|
|
5891
|
+
* @param {*} [options] Override http request option.
|
|
5892
|
+
* @throws {RequiredError}
|
|
5893
|
+
*/
|
|
5894
|
+
tenantsIndex(options?: any): AxiosPromise<WrappedResponseTenantIndexResponse> {
|
|
5895
|
+
return localVarFp.tenantsIndex(options).then((request) => request(axios, basePath));
|
|
5896
|
+
},
|
|
5897
|
+
/**
|
|
5898
|
+
*
|
|
5899
|
+
* @param {*} [options] Override http request option.
|
|
5900
|
+
* @throws {RequiredError}
|
|
5901
|
+
*/
|
|
5902
|
+
towersIndex(options?: any): AxiosPromise<WrappedResponseTowerIndexResponse> {
|
|
5903
|
+
return localVarFp.towersIndex(options).then((request) => request(axios, basePath));
|
|
5904
|
+
},
|
|
5712
5905
|
/**
|
|
5713
5906
|
*
|
|
5714
5907
|
* @param {string} [tokenId]
|
|
@@ -6112,6 +6305,26 @@ export class DefaultApi extends BaseAPI {
|
|
|
6112
6305
|
return DefaultApiFp(this.configuration).sync(syncBody, options).then((request) => request(this.axios, this.basePath));
|
|
6113
6306
|
}
|
|
6114
6307
|
|
|
6308
|
+
/**
|
|
6309
|
+
*
|
|
6310
|
+
* @param {*} [options] Override http request option.
|
|
6311
|
+
* @throws {RequiredError}
|
|
6312
|
+
* @memberof DefaultApi
|
|
6313
|
+
*/
|
|
6314
|
+
public tenantsIndex(options?: AxiosRequestConfig) {
|
|
6315
|
+
return DefaultApiFp(this.configuration).tenantsIndex(options).then((request) => request(this.axios, this.basePath));
|
|
6316
|
+
}
|
|
6317
|
+
|
|
6318
|
+
/**
|
|
6319
|
+
*
|
|
6320
|
+
* @param {*} [options] Override http request option.
|
|
6321
|
+
* @throws {RequiredError}
|
|
6322
|
+
* @memberof DefaultApi
|
|
6323
|
+
*/
|
|
6324
|
+
public towersIndex(options?: AxiosRequestConfig) {
|
|
6325
|
+
return DefaultApiFp(this.configuration).towersIndex(options).then((request) => request(this.axios, this.basePath));
|
|
6326
|
+
}
|
|
6327
|
+
|
|
6115
6328
|
/**
|
|
6116
6329
|
*
|
|
6117
6330
|
* @param {string} [tokenId]
|
package/dist/api/api.d.ts
CHANGED
|
@@ -2381,6 +2381,67 @@ export interface Tenant {
|
|
|
2381
2381
|
*/
|
|
2382
2382
|
'updated_at'?: string;
|
|
2383
2383
|
}
|
|
2384
|
+
/**
|
|
2385
|
+
*
|
|
2386
|
+
* @export
|
|
2387
|
+
* @interface TenantData
|
|
2388
|
+
*/
|
|
2389
|
+
export interface TenantData {
|
|
2390
|
+
/**
|
|
2391
|
+
*
|
|
2392
|
+
* @type {string}
|
|
2393
|
+
* @memberof TenantData
|
|
2394
|
+
*/
|
|
2395
|
+
'updated_at': string;
|
|
2396
|
+
/**
|
|
2397
|
+
*
|
|
2398
|
+
* @type {string}
|
|
2399
|
+
* @memberof TenantData
|
|
2400
|
+
*/
|
|
2401
|
+
'created_at': string;
|
|
2402
|
+
/**
|
|
2403
|
+
*
|
|
2404
|
+
* @type {string}
|
|
2405
|
+
* @memberof TenantData
|
|
2406
|
+
*/
|
|
2407
|
+
'address': string;
|
|
2408
|
+
/**
|
|
2409
|
+
*
|
|
2410
|
+
* @type {string}
|
|
2411
|
+
* @memberof TenantData
|
|
2412
|
+
*/
|
|
2413
|
+
'phone_number': string;
|
|
2414
|
+
/**
|
|
2415
|
+
*
|
|
2416
|
+
* @type {string}
|
|
2417
|
+
* @memberof TenantData
|
|
2418
|
+
*/
|
|
2419
|
+
'email': string;
|
|
2420
|
+
/**
|
|
2421
|
+
*
|
|
2422
|
+
* @type {PrismaJsonValue}
|
|
2423
|
+
* @memberof TenantData
|
|
2424
|
+
*/
|
|
2425
|
+
'display_name': PrismaJsonValue | null;
|
|
2426
|
+
/**
|
|
2427
|
+
*
|
|
2428
|
+
* @type {string}
|
|
2429
|
+
* @memberof TenantData
|
|
2430
|
+
*/
|
|
2431
|
+
'name': string;
|
|
2432
|
+
/**
|
|
2433
|
+
*
|
|
2434
|
+
* @type {string}
|
|
2435
|
+
* @memberof TenantData
|
|
2436
|
+
*/
|
|
2437
|
+
'uid': string;
|
|
2438
|
+
/**
|
|
2439
|
+
*
|
|
2440
|
+
* @type {string}
|
|
2441
|
+
* @memberof TenantData
|
|
2442
|
+
*/
|
|
2443
|
+
'id': string;
|
|
2444
|
+
}
|
|
2384
2445
|
/**
|
|
2385
2446
|
*
|
|
2386
2447
|
* @export
|
|
@@ -3618,6 +3679,46 @@ export interface WrappedResponseShowVisitorResponseData {
|
|
|
3618
3679
|
*/
|
|
3619
3680
|
'updated_at': string;
|
|
3620
3681
|
}
|
|
3682
|
+
/**
|
|
3683
|
+
*
|
|
3684
|
+
* @export
|
|
3685
|
+
* @interface WrappedResponseTenantIndexResponse
|
|
3686
|
+
*/
|
|
3687
|
+
export interface WrappedResponseTenantIndexResponse {
|
|
3688
|
+
/**
|
|
3689
|
+
*
|
|
3690
|
+
* @type {WrappedResponseTenantIndexResponseData}
|
|
3691
|
+
* @memberof WrappedResponseTenantIndexResponse
|
|
3692
|
+
*/
|
|
3693
|
+
'data': WrappedResponseTenantIndexResponseData | null;
|
|
3694
|
+
}
|
|
3695
|
+
/**
|
|
3696
|
+
*
|
|
3697
|
+
* @export
|
|
3698
|
+
* @interface WrappedResponseTenantIndexResponseData
|
|
3699
|
+
*/
|
|
3700
|
+
export interface WrappedResponseTenantIndexResponseData {
|
|
3701
|
+
}
|
|
3702
|
+
/**
|
|
3703
|
+
*
|
|
3704
|
+
* @export
|
|
3705
|
+
* @interface WrappedResponseTowerIndexResponse
|
|
3706
|
+
*/
|
|
3707
|
+
export interface WrappedResponseTowerIndexResponse {
|
|
3708
|
+
/**
|
|
3709
|
+
*
|
|
3710
|
+
* @type {WrappedResponseTowerIndexResponseData}
|
|
3711
|
+
* @memberof WrappedResponseTowerIndexResponse
|
|
3712
|
+
*/
|
|
3713
|
+
'data': WrappedResponseTowerIndexResponseData | null;
|
|
3714
|
+
}
|
|
3715
|
+
/**
|
|
3716
|
+
*
|
|
3717
|
+
* @export
|
|
3718
|
+
* @interface WrappedResponseTowerIndexResponseData
|
|
3719
|
+
*/
|
|
3720
|
+
export interface WrappedResponseTowerIndexResponseData {
|
|
3721
|
+
}
|
|
3621
3722
|
/**
|
|
3622
3723
|
*
|
|
3623
3724
|
* @export
|
|
@@ -3906,6 +4007,18 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3906
4007
|
* @throws {RequiredError}
|
|
3907
4008
|
*/
|
|
3908
4009
|
sync: (syncBody: SyncBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4010
|
+
/**
|
|
4011
|
+
*
|
|
4012
|
+
* @param {*} [options] Override http request option.
|
|
4013
|
+
* @throws {RequiredError}
|
|
4014
|
+
*/
|
|
4015
|
+
tenantsIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4016
|
+
/**
|
|
4017
|
+
*
|
|
4018
|
+
* @param {*} [options] Override http request option.
|
|
4019
|
+
* @throws {RequiredError}
|
|
4020
|
+
*/
|
|
4021
|
+
towersIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3909
4022
|
/**
|
|
3910
4023
|
*
|
|
3911
4024
|
* @param {string} [tokenId]
|
|
@@ -4177,6 +4290,18 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4177
4290
|
* @throws {RequiredError}
|
|
4178
4291
|
*/
|
|
4179
4292
|
sync(syncBody: SyncBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncResponse>>;
|
|
4293
|
+
/**
|
|
4294
|
+
*
|
|
4295
|
+
* @param {*} [options] Override http request option.
|
|
4296
|
+
* @throws {RequiredError}
|
|
4297
|
+
*/
|
|
4298
|
+
tenantsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseTenantIndexResponse>>;
|
|
4299
|
+
/**
|
|
4300
|
+
*
|
|
4301
|
+
* @param {*} [options] Override http request option.
|
|
4302
|
+
* @throws {RequiredError}
|
|
4303
|
+
*/
|
|
4304
|
+
towersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseTowerIndexResponse>>;
|
|
4180
4305
|
/**
|
|
4181
4306
|
*
|
|
4182
4307
|
* @param {string} [tokenId]
|
|
@@ -4448,6 +4573,18 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4448
4573
|
* @throws {RequiredError}
|
|
4449
4574
|
*/
|
|
4450
4575
|
sync(syncBody: SyncBody, options?: any): AxiosPromise<SyncResponse>;
|
|
4576
|
+
/**
|
|
4577
|
+
*
|
|
4578
|
+
* @param {*} [options] Override http request option.
|
|
4579
|
+
* @throws {RequiredError}
|
|
4580
|
+
*/
|
|
4581
|
+
tenantsIndex(options?: any): AxiosPromise<WrappedResponseTenantIndexResponse>;
|
|
4582
|
+
/**
|
|
4583
|
+
*
|
|
4584
|
+
* @param {*} [options] Override http request option.
|
|
4585
|
+
* @throws {RequiredError}
|
|
4586
|
+
*/
|
|
4587
|
+
towersIndex(options?: any): AxiosPromise<WrappedResponseTowerIndexResponse>;
|
|
4451
4588
|
/**
|
|
4452
4589
|
*
|
|
4453
4590
|
* @param {string} [tokenId]
|
|
@@ -4751,6 +4888,20 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4751
4888
|
* @memberof DefaultApi
|
|
4752
4889
|
*/
|
|
4753
4890
|
sync(syncBody: SyncBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncResponse, any>>;
|
|
4891
|
+
/**
|
|
4892
|
+
*
|
|
4893
|
+
* @param {*} [options] Override http request option.
|
|
4894
|
+
* @throws {RequiredError}
|
|
4895
|
+
* @memberof DefaultApi
|
|
4896
|
+
*/
|
|
4897
|
+
tenantsIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseTenantIndexResponse, any>>;
|
|
4898
|
+
/**
|
|
4899
|
+
*
|
|
4900
|
+
* @param {*} [options] Override http request option.
|
|
4901
|
+
* @throws {RequiredError}
|
|
4902
|
+
* @memberof DefaultApi
|
|
4903
|
+
*/
|
|
4904
|
+
towersIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseTowerIndexResponse, any>>;
|
|
4754
4905
|
/**
|
|
4755
4906
|
*
|
|
4756
4907
|
* @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]
|