@infisale-client/api 1.3.25 → 1.3.26
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/dist/api/api.d.ts +92 -95
- package/dist/api/api.js +59 -0
- package/dist/api/api.mjs +59 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -2069,14 +2069,6 @@ export interface ICompany {
|
|
|
2069
2069
|
'roles': {
|
|
2070
2070
|
[key: string]: PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue;
|
|
2071
2071
|
};
|
|
2072
|
-
/**
|
|
2073
|
-
*
|
|
2074
|
-
* @type {{ [key: string]: string; }}
|
|
2075
|
-
* @memberof ICompany
|
|
2076
|
-
*/
|
|
2077
|
-
'socials'?: {
|
|
2078
|
-
[key: string]: string;
|
|
2079
|
-
};
|
|
2080
2072
|
/**
|
|
2081
2073
|
*
|
|
2082
2074
|
* @type {string}
|
|
@@ -2187,12 +2179,6 @@ export interface ICompany {
|
|
|
2187
2179
|
* @memberof ICompany
|
|
2188
2180
|
*/
|
|
2189
2181
|
'firebaseAdminCredentials'?: ICompanyResponseFirebaseAdminCredentials;
|
|
2190
|
-
/**
|
|
2191
|
-
*
|
|
2192
|
-
* @type {ICompanyResponseAddress}
|
|
2193
|
-
* @memberof ICompany
|
|
2194
|
-
*/
|
|
2195
|
-
'address'?: ICompanyResponseAddress;
|
|
2196
2182
|
/**
|
|
2197
2183
|
*
|
|
2198
2184
|
* @type {Array<ICompanyResponseCustomHostnamesInner>}
|
|
@@ -2376,14 +2362,6 @@ export interface ICompanyAdminResponse {
|
|
|
2376
2362
|
* @memberof ICompanyAdminResponse
|
|
2377
2363
|
*/
|
|
2378
2364
|
'customPaymentMethods': RecordCustomPaymentMethodEnumExtraFeeNumberInfoPartialRecordLanguageEnumStringActiveBoolean;
|
|
2379
|
-
/**
|
|
2380
|
-
*
|
|
2381
|
-
* @type {{ [key: string]: string; }}
|
|
2382
|
-
* @memberof ICompanyAdminResponse
|
|
2383
|
-
*/
|
|
2384
|
-
'socials'?: {
|
|
2385
|
-
[key: string]: string;
|
|
2386
|
-
};
|
|
2387
2365
|
/**
|
|
2388
2366
|
*
|
|
2389
2367
|
* @type {string}
|
|
@@ -2570,12 +2548,6 @@ export interface ICompanyAdminResponse {
|
|
|
2570
2548
|
* @memberof ICompanyAdminResponse
|
|
2571
2549
|
*/
|
|
2572
2550
|
'firebaseAdminCredentials'?: ICompanyResponseFirebaseAdminCredentials;
|
|
2573
|
-
/**
|
|
2574
|
-
*
|
|
2575
|
-
* @type {ICompanyResponseAddress}
|
|
2576
|
-
* @memberof ICompanyAdminResponse
|
|
2577
|
-
*/
|
|
2578
|
-
'address'?: ICompanyResponseAddress;
|
|
2579
2551
|
/**
|
|
2580
2552
|
*
|
|
2581
2553
|
* @type {Array<ICompanyResponseCustomHostnamesInner>}
|
|
@@ -2984,6 +2956,56 @@ export interface ICompanyDashboardResponseOrdersInner {
|
|
|
2984
2956
|
*/
|
|
2985
2957
|
'date': string;
|
|
2986
2958
|
}
|
|
2959
|
+
/**
|
|
2960
|
+
*
|
|
2961
|
+
* @export
|
|
2962
|
+
* @interface ICompanyMonthlyBandwidth
|
|
2963
|
+
*/
|
|
2964
|
+
export interface ICompanyMonthlyBandwidth {
|
|
2965
|
+
/**
|
|
2966
|
+
*
|
|
2967
|
+
* @type {string}
|
|
2968
|
+
* @memberof ICompanyMonthlyBandwidth
|
|
2969
|
+
*/
|
|
2970
|
+
'_id': string;
|
|
2971
|
+
/**
|
|
2972
|
+
*
|
|
2973
|
+
* @type {string}
|
|
2974
|
+
* @memberof ICompanyMonthlyBandwidth
|
|
2975
|
+
*/
|
|
2976
|
+
'company': string;
|
|
2977
|
+
/**
|
|
2978
|
+
*
|
|
2979
|
+
* @type {number}
|
|
2980
|
+
* @memberof ICompanyMonthlyBandwidth
|
|
2981
|
+
*/
|
|
2982
|
+
'year': number;
|
|
2983
|
+
/**
|
|
2984
|
+
*
|
|
2985
|
+
* @type {number}
|
|
2986
|
+
* @memberof ICompanyMonthlyBandwidth
|
|
2987
|
+
*/
|
|
2988
|
+
'month': number;
|
|
2989
|
+
/**
|
|
2990
|
+
*
|
|
2991
|
+
* @type {number}
|
|
2992
|
+
* @memberof ICompanyMonthlyBandwidth
|
|
2993
|
+
*/
|
|
2994
|
+
'bandwidth': number;
|
|
2995
|
+
}
|
|
2996
|
+
/**
|
|
2997
|
+
*
|
|
2998
|
+
* @export
|
|
2999
|
+
* @interface ICompanyMonthlyBandwidthResponse
|
|
3000
|
+
*/
|
|
3001
|
+
export interface ICompanyMonthlyBandwidthResponse {
|
|
3002
|
+
/**
|
|
3003
|
+
*
|
|
3004
|
+
* @type {Array<ICompanyMonthlyBandwidth>}
|
|
3005
|
+
* @memberof ICompanyMonthlyBandwidthResponse
|
|
3006
|
+
*/
|
|
3007
|
+
'data': Array<ICompanyMonthlyBandwidth>;
|
|
3008
|
+
}
|
|
2987
3009
|
/**
|
|
2988
3010
|
*
|
|
2989
3011
|
* @export
|
|
@@ -3058,12 +3080,6 @@ export interface ICompanyPatchRequest {
|
|
|
3058
3080
|
* @memberof ICompanyPatchRequest
|
|
3059
3081
|
*/
|
|
3060
3082
|
'warehouses'?: Array<ICompanyPatchRequestWarehousesInner>;
|
|
3061
|
-
/**
|
|
3062
|
-
*
|
|
3063
|
-
* @type {ICompanyResponseAddress}
|
|
3064
|
-
* @memberof ICompanyPatchRequest
|
|
3065
|
-
*/
|
|
3066
|
-
'address'?: ICompanyResponseAddress;
|
|
3067
3083
|
/**
|
|
3068
3084
|
*
|
|
3069
3085
|
* @type {string}
|
|
@@ -3088,14 +3104,6 @@ export interface ICompanyPatchRequest {
|
|
|
3088
3104
|
* @memberof ICompanyPatchRequest
|
|
3089
3105
|
*/
|
|
3090
3106
|
'customPaymentMethods'?: RecordCustomPaymentMethodEnumExtraFeeNumberInfoPartialRecordLanguageEnumStringActiveBoolean;
|
|
3091
|
-
/**
|
|
3092
|
-
*
|
|
3093
|
-
* @type {{ [key: string]: string; }}
|
|
3094
|
-
* @memberof ICompanyPatchRequest
|
|
3095
|
-
*/
|
|
3096
|
-
'socials'?: {
|
|
3097
|
-
[key: string]: string;
|
|
3098
|
-
};
|
|
3099
3107
|
/**
|
|
3100
3108
|
*
|
|
3101
3109
|
* @type {string}
|
|
@@ -3427,14 +3435,6 @@ export interface ICompanyResponse {
|
|
|
3427
3435
|
* @memberof ICompanyResponse
|
|
3428
3436
|
*/
|
|
3429
3437
|
'customPaymentMethods': RecordCustomPaymentMethodEnumExtraFeeNumberInfoPartialRecordLanguageEnumStringActiveBoolean;
|
|
3430
|
-
/**
|
|
3431
|
-
*
|
|
3432
|
-
* @type {{ [key: string]: string; }}
|
|
3433
|
-
* @memberof ICompanyResponse
|
|
3434
|
-
*/
|
|
3435
|
-
'socials'?: {
|
|
3436
|
-
[key: string]: string;
|
|
3437
|
-
};
|
|
3438
3438
|
/**
|
|
3439
3439
|
*
|
|
3440
3440
|
* @type {string}
|
|
@@ -3601,12 +3601,6 @@ export interface ICompanyResponse {
|
|
|
3601
3601
|
* @memberof ICompanyResponse
|
|
3602
3602
|
*/
|
|
3603
3603
|
'firebaseAdminCredentials'?: ICompanyResponseFirebaseAdminCredentials;
|
|
3604
|
-
/**
|
|
3605
|
-
*
|
|
3606
|
-
* @type {ICompanyResponseAddress}
|
|
3607
|
-
* @memberof ICompanyResponse
|
|
3608
|
-
*/
|
|
3609
|
-
'address'?: ICompanyResponseAddress;
|
|
3610
3604
|
/**
|
|
3611
3605
|
*
|
|
3612
3606
|
* @type {Array<ICompanyResponseCustomHostnamesInner>}
|
|
@@ -3620,37 +3614,6 @@ export interface ICompanyResponse {
|
|
|
3620
3614
|
*/
|
|
3621
3615
|
'totalBandwidth': number;
|
|
3622
3616
|
}
|
|
3623
|
-
/**
|
|
3624
|
-
*
|
|
3625
|
-
* @export
|
|
3626
|
-
* @interface ICompanyResponseAddress
|
|
3627
|
-
*/
|
|
3628
|
-
export interface ICompanyResponseAddress {
|
|
3629
|
-
/**
|
|
3630
|
-
*
|
|
3631
|
-
* @type {string}
|
|
3632
|
-
* @memberof ICompanyResponseAddress
|
|
3633
|
-
*/
|
|
3634
|
-
'description': string;
|
|
3635
|
-
/**
|
|
3636
|
-
*
|
|
3637
|
-
* @type {string}
|
|
3638
|
-
* @memberof ICompanyResponseAddress
|
|
3639
|
-
*/
|
|
3640
|
-
'city': string;
|
|
3641
|
-
/**
|
|
3642
|
-
*
|
|
3643
|
-
* @type {string}
|
|
3644
|
-
* @memberof ICompanyResponseAddress
|
|
3645
|
-
*/
|
|
3646
|
-
'state': string;
|
|
3647
|
-
/**
|
|
3648
|
-
*
|
|
3649
|
-
* @type {string}
|
|
3650
|
-
* @memberof ICompanyResponseAddress
|
|
3651
|
-
*/
|
|
3652
|
-
'country': string;
|
|
3653
|
-
}
|
|
3654
3617
|
/**
|
|
3655
3618
|
*
|
|
3656
3619
|
* @export
|
|
@@ -10202,14 +10165,6 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
10202
10165
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10203
10166
|
*/
|
|
10204
10167
|
'customPaymentMethods': RecordCustomPaymentMethodEnumExtraFeeNumberInfoPartialRecordLanguageEnumStringActiveBoolean;
|
|
10205
|
-
/**
|
|
10206
|
-
*
|
|
10207
|
-
* @type {{ [key: string]: string; }}
|
|
10208
|
-
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
10209
|
-
*/
|
|
10210
|
-
'socials'?: {
|
|
10211
|
-
[key: string]: string;
|
|
10212
|
-
};
|
|
10213
10168
|
/**
|
|
10214
10169
|
*
|
|
10215
10170
|
* @type {string}
|
|
@@ -14998,6 +14953,13 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
14998
14953
|
* @throws {RequiredError}
|
|
14999
14954
|
*/
|
|
15000
14955
|
getCompanyDashboard: (id: string, start?: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14956
|
+
/**
|
|
14957
|
+
*
|
|
14958
|
+
* @param {string} id
|
|
14959
|
+
* @param {*} [options] Override http request option.
|
|
14960
|
+
* @throws {RequiredError}
|
|
14961
|
+
*/
|
|
14962
|
+
getCompanyMonthlyBandwidth: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15001
14963
|
/**
|
|
15002
14964
|
*
|
|
15003
14965
|
* @param {string} id
|
|
@@ -15338,6 +15300,13 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
15338
15300
|
* @throws {RequiredError}
|
|
15339
15301
|
*/
|
|
15340
15302
|
getCompanyDashboard(id: string, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompanyDashboardResponse>>;
|
|
15303
|
+
/**
|
|
15304
|
+
*
|
|
15305
|
+
* @param {string} id
|
|
15306
|
+
* @param {*} [options] Override http request option.
|
|
15307
|
+
* @throws {RequiredError}
|
|
15308
|
+
*/
|
|
15309
|
+
getCompanyMonthlyBandwidth(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICompanyMonthlyBandwidthResponse>>;
|
|
15341
15310
|
/**
|
|
15342
15311
|
*
|
|
15343
15312
|
* @param {string} id
|
|
@@ -15645,6 +15614,13 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
15645
15614
|
* @throws {RequiredError}
|
|
15646
15615
|
*/
|
|
15647
15616
|
getCompanyDashboard(requestParameters: CompanyApiGetCompanyDashboardRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompanyDashboardResponse>;
|
|
15617
|
+
/**
|
|
15618
|
+
*
|
|
15619
|
+
* @param {CompanyApiGetCompanyMonthlyBandwidthRequest} requestParameters Request parameters.
|
|
15620
|
+
* @param {*} [options] Override http request option.
|
|
15621
|
+
* @throws {RequiredError}
|
|
15622
|
+
*/
|
|
15623
|
+
getCompanyMonthlyBandwidth(requestParameters: CompanyApiGetCompanyMonthlyBandwidthRequest, options?: RawAxiosRequestConfig): AxiosPromise<ICompanyMonthlyBandwidthResponse>;
|
|
15648
15624
|
/**
|
|
15649
15625
|
*
|
|
15650
15626
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
|
@@ -16250,6 +16226,19 @@ export interface CompanyApiGetCompanyDashboardRequest {
|
|
|
16250
16226
|
*/
|
|
16251
16227
|
readonly end?: string;
|
|
16252
16228
|
}
|
|
16229
|
+
/**
|
|
16230
|
+
* Request parameters for getCompanyMonthlyBandwidth operation in CompanyApi.
|
|
16231
|
+
* @export
|
|
16232
|
+
* @interface CompanyApiGetCompanyMonthlyBandwidthRequest
|
|
16233
|
+
*/
|
|
16234
|
+
export interface CompanyApiGetCompanyMonthlyBandwidthRequest {
|
|
16235
|
+
/**
|
|
16236
|
+
*
|
|
16237
|
+
* @type {string}
|
|
16238
|
+
* @memberof CompanyApiGetCompanyMonthlyBandwidth
|
|
16239
|
+
*/
|
|
16240
|
+
readonly id: string;
|
|
16241
|
+
}
|
|
16253
16242
|
/**
|
|
16254
16243
|
* Request parameters for getCompanyOnboarding operation in CompanyApi.
|
|
16255
16244
|
* @export
|
|
@@ -16798,6 +16787,14 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
16798
16787
|
* @memberof CompanyApi
|
|
16799
16788
|
*/
|
|
16800
16789
|
getCompanyDashboard(requestParameters: CompanyApiGetCompanyDashboardRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompanyDashboardResponse, any>>;
|
|
16790
|
+
/**
|
|
16791
|
+
*
|
|
16792
|
+
* @param {CompanyApiGetCompanyMonthlyBandwidthRequest} requestParameters Request parameters.
|
|
16793
|
+
* @param {*} [options] Override http request option.
|
|
16794
|
+
* @throws {RequiredError}
|
|
16795
|
+
* @memberof CompanyApi
|
|
16796
|
+
*/
|
|
16797
|
+
getCompanyMonthlyBandwidth(requestParameters: CompanyApiGetCompanyMonthlyBandwidthRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ICompanyMonthlyBandwidthResponse, any>>;
|
|
16801
16798
|
/**
|
|
16802
16799
|
*
|
|
16803
16800
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -4277,6 +4277,34 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4277
4277
|
options: localVarRequestOptions,
|
|
4278
4278
|
};
|
|
4279
4279
|
},
|
|
4280
|
+
/**
|
|
4281
|
+
*
|
|
4282
|
+
* @param {string} id
|
|
4283
|
+
* @param {*} [options] Override http request option.
|
|
4284
|
+
* @throws {RequiredError}
|
|
4285
|
+
*/
|
|
4286
|
+
getCompanyMonthlyBandwidth: async (id, options = {}) => {
|
|
4287
|
+
// verify required parameter 'id' is not null or undefined
|
|
4288
|
+
(0, common_1.assertParamExists)('getCompanyMonthlyBandwidth', 'id', id);
|
|
4289
|
+
const localVarPath = `/api/companies/{id}/monthly-bandwidth`
|
|
4290
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4291
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4292
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4293
|
+
let baseOptions;
|
|
4294
|
+
if (configuration) {
|
|
4295
|
+
baseOptions = configuration.baseOptions;
|
|
4296
|
+
}
|
|
4297
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4298
|
+
const localVarHeaderParameter = {};
|
|
4299
|
+
const localVarQueryParameter = {};
|
|
4300
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4301
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4302
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4303
|
+
return {
|
|
4304
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4305
|
+
options: localVarRequestOptions,
|
|
4306
|
+
};
|
|
4307
|
+
},
|
|
4280
4308
|
/**
|
|
4281
4309
|
*
|
|
4282
4310
|
* @param {string} id
|
|
@@ -5197,6 +5225,18 @@ const CompanyApiFp = function (configuration) {
|
|
|
5197
5225
|
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanyDashboard']?.[localVarOperationServerIndex]?.url;
|
|
5198
5226
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5199
5227
|
},
|
|
5228
|
+
/**
|
|
5229
|
+
*
|
|
5230
|
+
* @param {string} id
|
|
5231
|
+
* @param {*} [options] Override http request option.
|
|
5232
|
+
* @throws {RequiredError}
|
|
5233
|
+
*/
|
|
5234
|
+
async getCompanyMonthlyBandwidth(id, options) {
|
|
5235
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyMonthlyBandwidth(id, options);
|
|
5236
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5237
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanyMonthlyBandwidth']?.[localVarOperationServerIndex]?.url;
|
|
5238
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5239
|
+
},
|
|
5200
5240
|
/**
|
|
5201
5241
|
*
|
|
5202
5242
|
* @param {string} id
|
|
@@ -5645,6 +5685,15 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5645
5685
|
getCompanyDashboard(requestParameters, options) {
|
|
5646
5686
|
return localVarFp.getCompanyDashboard(requestParameters.id, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
5647
5687
|
},
|
|
5688
|
+
/**
|
|
5689
|
+
*
|
|
5690
|
+
* @param {CompanyApiGetCompanyMonthlyBandwidthRequest} requestParameters Request parameters.
|
|
5691
|
+
* @param {*} [options] Override http request option.
|
|
5692
|
+
* @throws {RequiredError}
|
|
5693
|
+
*/
|
|
5694
|
+
getCompanyMonthlyBandwidth(requestParameters, options) {
|
|
5695
|
+
return localVarFp.getCompanyMonthlyBandwidth(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5696
|
+
},
|
|
5648
5697
|
/**
|
|
5649
5698
|
*
|
|
5650
5699
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
|
@@ -6036,6 +6085,16 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
6036
6085
|
getCompanyDashboard(requestParameters, options) {
|
|
6037
6086
|
return (0, exports.CompanyApiFp)(this.configuration).getCompanyDashboard(requestParameters.id, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
6038
6087
|
}
|
|
6088
|
+
/**
|
|
6089
|
+
*
|
|
6090
|
+
* @param {CompanyApiGetCompanyMonthlyBandwidthRequest} requestParameters Request parameters.
|
|
6091
|
+
* @param {*} [options] Override http request option.
|
|
6092
|
+
* @throws {RequiredError}
|
|
6093
|
+
* @memberof CompanyApi
|
|
6094
|
+
*/
|
|
6095
|
+
getCompanyMonthlyBandwidth(requestParameters, options) {
|
|
6096
|
+
return (0, exports.CompanyApiFp)(this.configuration).getCompanyMonthlyBandwidth(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6097
|
+
}
|
|
6039
6098
|
/**
|
|
6040
6099
|
*
|
|
6041
6100
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
package/dist/api/api.mjs
CHANGED
|
@@ -4241,6 +4241,34 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4241
4241
|
options: localVarRequestOptions,
|
|
4242
4242
|
};
|
|
4243
4243
|
},
|
|
4244
|
+
/**
|
|
4245
|
+
*
|
|
4246
|
+
* @param {string} id
|
|
4247
|
+
* @param {*} [options] Override http request option.
|
|
4248
|
+
* @throws {RequiredError}
|
|
4249
|
+
*/
|
|
4250
|
+
getCompanyMonthlyBandwidth: async (id, options = {}) => {
|
|
4251
|
+
// verify required parameter 'id' is not null or undefined
|
|
4252
|
+
assertParamExists('getCompanyMonthlyBandwidth', 'id', id);
|
|
4253
|
+
const localVarPath = `/api/companies/{id}/monthly-bandwidth`
|
|
4254
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4255
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4256
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4257
|
+
let baseOptions;
|
|
4258
|
+
if (configuration) {
|
|
4259
|
+
baseOptions = configuration.baseOptions;
|
|
4260
|
+
}
|
|
4261
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4262
|
+
const localVarHeaderParameter = {};
|
|
4263
|
+
const localVarQueryParameter = {};
|
|
4264
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4265
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4266
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4267
|
+
return {
|
|
4268
|
+
url: toPathString(localVarUrlObj),
|
|
4269
|
+
options: localVarRequestOptions,
|
|
4270
|
+
};
|
|
4271
|
+
},
|
|
4244
4272
|
/**
|
|
4245
4273
|
*
|
|
4246
4274
|
* @param {string} id
|
|
@@ -5160,6 +5188,18 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5160
5188
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyDashboard']?.[localVarOperationServerIndex]?.url;
|
|
5161
5189
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5162
5190
|
},
|
|
5191
|
+
/**
|
|
5192
|
+
*
|
|
5193
|
+
* @param {string} id
|
|
5194
|
+
* @param {*} [options] Override http request option.
|
|
5195
|
+
* @throws {RequiredError}
|
|
5196
|
+
*/
|
|
5197
|
+
async getCompanyMonthlyBandwidth(id, options) {
|
|
5198
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyMonthlyBandwidth(id, options);
|
|
5199
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5200
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyMonthlyBandwidth']?.[localVarOperationServerIndex]?.url;
|
|
5201
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5202
|
+
},
|
|
5163
5203
|
/**
|
|
5164
5204
|
*
|
|
5165
5205
|
* @param {string} id
|
|
@@ -5607,6 +5647,15 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5607
5647
|
getCompanyDashboard(requestParameters, options) {
|
|
5608
5648
|
return localVarFp.getCompanyDashboard(requestParameters.id, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
5609
5649
|
},
|
|
5650
|
+
/**
|
|
5651
|
+
*
|
|
5652
|
+
* @param {CompanyApiGetCompanyMonthlyBandwidthRequest} requestParameters Request parameters.
|
|
5653
|
+
* @param {*} [options] Override http request option.
|
|
5654
|
+
* @throws {RequiredError}
|
|
5655
|
+
*/
|
|
5656
|
+
getCompanyMonthlyBandwidth(requestParameters, options) {
|
|
5657
|
+
return localVarFp.getCompanyMonthlyBandwidth(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5658
|
+
},
|
|
5610
5659
|
/**
|
|
5611
5660
|
*
|
|
5612
5661
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
|
@@ -5997,6 +6046,16 @@ export class CompanyApi extends BaseAPI {
|
|
|
5997
6046
|
getCompanyDashboard(requestParameters, options) {
|
|
5998
6047
|
return CompanyApiFp(this.configuration).getCompanyDashboard(requestParameters.id, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
5999
6048
|
}
|
|
6049
|
+
/**
|
|
6050
|
+
*
|
|
6051
|
+
* @param {CompanyApiGetCompanyMonthlyBandwidthRequest} requestParameters Request parameters.
|
|
6052
|
+
* @param {*} [options] Override http request option.
|
|
6053
|
+
* @throws {RequiredError}
|
|
6054
|
+
* @memberof CompanyApi
|
|
6055
|
+
*/
|
|
6056
|
+
getCompanyMonthlyBandwidth(requestParameters, options) {
|
|
6057
|
+
return CompanyApiFp(this.configuration).getCompanyMonthlyBandwidth(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6058
|
+
}
|
|
6000
6059
|
/**
|
|
6001
6060
|
*
|
|
6002
6061
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.26",
|
|
4
4
|
"description": "api-sdk",
|
|
5
5
|
"author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
|
|
6
6
|
"homepage": "https://github.com/infisale/infisale-client#readme",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"bugs": {
|
|
38
38
|
"url": "https://github.com/infisale/infisale-client/issues"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "aad1d3074b1e8962e88b026acdfa2d08dc9c35cd"
|
|
41
41
|
}
|