@infisale-client/api 1.3.67 → 1.3.69
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 +724 -0
- package/dist/api/api.js +402 -4
- package/dist/api/api.mjs +393 -0
- package/package.json +2 -2
package/dist/api/api.mjs
CHANGED
|
@@ -424,6 +424,26 @@ export const ICollectionCollectionsQueryParamsDateFieldEnum = {
|
|
|
424
424
|
CREATED_AT: 'createdAt',
|
|
425
425
|
UPDATED_AT: 'updatedAt'
|
|
426
426
|
};
|
|
427
|
+
export const ICompanyGscVerificationStatusEnum = {
|
|
428
|
+
UNVERIFIED: 'UNVERIFIED',
|
|
429
|
+
PENDING_DNS: 'PENDING_DNS',
|
|
430
|
+
VERIFIED: 'VERIFIED',
|
|
431
|
+
FAILED: 'FAILED'
|
|
432
|
+
};
|
|
433
|
+
export const ICompanyRentalStatusEnum = {
|
|
434
|
+
VACANT: 'VACANT',
|
|
435
|
+
RENTED: 'RENTED'
|
|
436
|
+
};
|
|
437
|
+
export const ICompanyAdminResponseGscVerificationStatusEnum = {
|
|
438
|
+
UNVERIFIED: 'UNVERIFIED',
|
|
439
|
+
PENDING_DNS: 'PENDING_DNS',
|
|
440
|
+
VERIFIED: 'VERIFIED',
|
|
441
|
+
FAILED: 'FAILED'
|
|
442
|
+
};
|
|
443
|
+
export const ICompanyAdminResponseRentalStatusEnum = {
|
|
444
|
+
VACANT: 'VACANT',
|
|
445
|
+
RENTED: 'RENTED'
|
|
446
|
+
};
|
|
427
447
|
export const ICompanyCollectionQueryParamsDateFieldEnum = {
|
|
428
448
|
CREATED_AT: 'createdAt',
|
|
429
449
|
UPDATED_AT: 'updatedAt'
|
|
@@ -434,6 +454,26 @@ export const ICompanyDashboardResponsePeriodEnum = {
|
|
|
434
454
|
WEEK: 'week',
|
|
435
455
|
HOUR: 'hour'
|
|
436
456
|
};
|
|
457
|
+
export const ICompanyPatchRequestGscVerificationStatusEnum = {
|
|
458
|
+
UNVERIFIED: 'UNVERIFIED',
|
|
459
|
+
PENDING_DNS: 'PENDING_DNS',
|
|
460
|
+
VERIFIED: 'VERIFIED',
|
|
461
|
+
FAILED: 'FAILED'
|
|
462
|
+
};
|
|
463
|
+
export const ICompanyPatchRequestRentalStatusEnum = {
|
|
464
|
+
VACANT: 'VACANT',
|
|
465
|
+
RENTED: 'RENTED'
|
|
466
|
+
};
|
|
467
|
+
export const ICompanyResponseGscVerificationStatusEnum = {
|
|
468
|
+
UNVERIFIED: 'UNVERIFIED',
|
|
469
|
+
PENDING_DNS: 'PENDING_DNS',
|
|
470
|
+
VERIFIED: 'VERIFIED',
|
|
471
|
+
FAILED: 'FAILED'
|
|
472
|
+
};
|
|
473
|
+
export const ICompanyResponseRentalStatusEnum = {
|
|
474
|
+
VACANT: 'VACANT',
|
|
475
|
+
RENTED: 'RENTED'
|
|
476
|
+
};
|
|
437
477
|
export const ICompanyUsersCollectionQueryParamsDateFieldEnum = {
|
|
438
478
|
CREATED_AT: 'createdAt',
|
|
439
479
|
UPDATED_AT: 'updatedAt'
|
|
@@ -501,6 +541,11 @@ export const IProductCollectionQueryParamsSortEnum = {
|
|
|
501
541
|
RATING: 'rating',
|
|
502
542
|
REVIEW_COUNT: 'reviewCount'
|
|
503
543
|
};
|
|
544
|
+
export const IServiceAccountPostRequestStatusEnum = {
|
|
545
|
+
ACTIVE: 'ACTIVE',
|
|
546
|
+
SUSPENDED: 'SUSPENDED',
|
|
547
|
+
RATE_LIMITED: 'RATE_LIMITED'
|
|
548
|
+
};
|
|
504
549
|
export const ISubscriptionPostRequestPeriodEnum = {
|
|
505
550
|
MONTHLY: 'monthly',
|
|
506
551
|
YEARLY: 'yearly'
|
|
@@ -655,6 +700,16 @@ export const PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDat
|
|
|
655
700
|
CREATED_AT: 'createdAt',
|
|
656
701
|
UPDATED_AT: 'updatedAt'
|
|
657
702
|
};
|
|
703
|
+
export const PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysGscVerificationStatusEnum = {
|
|
704
|
+
UNVERIFIED: 'UNVERIFIED',
|
|
705
|
+
PENDING_DNS: 'PENDING_DNS',
|
|
706
|
+
VERIFIED: 'VERIFIED',
|
|
707
|
+
FAILED: 'FAILED'
|
|
708
|
+
};
|
|
709
|
+
export const PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysRentalStatusEnum = {
|
|
710
|
+
VACANT: 'VACANT',
|
|
711
|
+
RENTED: 'RENTED'
|
|
712
|
+
};
|
|
658
713
|
/**
|
|
659
714
|
*
|
|
660
715
|
* @export
|
|
@@ -826,6 +881,15 @@ export const TimezoneEnum = {
|
|
|
826
881
|
UTC1300: 'UTC+13:00',
|
|
827
882
|
UTC1400: 'UTC+14:00'
|
|
828
883
|
};
|
|
884
|
+
export const UpdateServiceAccountsCompanyRequestRentalStatusEnum = {
|
|
885
|
+
VACANT: 'VACANT',
|
|
886
|
+
RENTED: 'RENTED'
|
|
887
|
+
};
|
|
888
|
+
export const UpdateServiceAccountsCompanyRequestCloudflareStatusEnum = {
|
|
889
|
+
PENDING_DNS: 'PENDING_DNS',
|
|
890
|
+
ACTIVE: 'ACTIVE',
|
|
891
|
+
ARCHIVED: 'ARCHIVED'
|
|
892
|
+
};
|
|
829
893
|
/**
|
|
830
894
|
*
|
|
831
895
|
* @export
|
|
@@ -4840,6 +4904,34 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4840
4904
|
options: localVarRequestOptions,
|
|
4841
4905
|
};
|
|
4842
4906
|
},
|
|
4907
|
+
/**
|
|
4908
|
+
*
|
|
4909
|
+
* @param {string} id
|
|
4910
|
+
* @param {*} [options] Override http request option.
|
|
4911
|
+
* @throws {RequiredError}
|
|
4912
|
+
*/
|
|
4913
|
+
getCompanyIframeToken: async (id, options = {}) => {
|
|
4914
|
+
// verify required parameter 'id' is not null or undefined
|
|
4915
|
+
assertParamExists('getCompanyIframeToken', 'id', id);
|
|
4916
|
+
const localVarPath = `/api/companies/{id}/iframe-token`
|
|
4917
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4918
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4919
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4920
|
+
let baseOptions;
|
|
4921
|
+
if (configuration) {
|
|
4922
|
+
baseOptions = configuration.baseOptions;
|
|
4923
|
+
}
|
|
4924
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4925
|
+
const localVarHeaderParameter = {};
|
|
4926
|
+
const localVarQueryParameter = {};
|
|
4927
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4928
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4929
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4930
|
+
return {
|
|
4931
|
+
url: toPathString(localVarUrlObj),
|
|
4932
|
+
options: localVarRequestOptions,
|
|
4933
|
+
};
|
|
4934
|
+
},
|
|
4843
4935
|
/**
|
|
4844
4936
|
*
|
|
4845
4937
|
* @param {string} id
|
|
@@ -5845,6 +5937,18 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5845
5937
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyDashboard']?.[localVarOperationServerIndex]?.url;
|
|
5846
5938
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5847
5939
|
},
|
|
5940
|
+
/**
|
|
5941
|
+
*
|
|
5942
|
+
* @param {string} id
|
|
5943
|
+
* @param {*} [options] Override http request option.
|
|
5944
|
+
* @throws {RequiredError}
|
|
5945
|
+
*/
|
|
5946
|
+
async getCompanyIframeToken(id, options) {
|
|
5947
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyIframeToken(id, options);
|
|
5948
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5949
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyIframeToken']?.[localVarOperationServerIndex]?.url;
|
|
5950
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5951
|
+
},
|
|
5848
5952
|
/**
|
|
5849
5953
|
*
|
|
5850
5954
|
* @param {string} id
|
|
@@ -6329,6 +6433,15 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
6329
6433
|
getCompanyDashboard(requestParameters, options) {
|
|
6330
6434
|
return localVarFp.getCompanyDashboard(requestParameters.id, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
6331
6435
|
},
|
|
6436
|
+
/**
|
|
6437
|
+
*
|
|
6438
|
+
* @param {CompanyApiGetCompanyIframeTokenRequest} requestParameters Request parameters.
|
|
6439
|
+
* @param {*} [options] Override http request option.
|
|
6440
|
+
* @throws {RequiredError}
|
|
6441
|
+
*/
|
|
6442
|
+
getCompanyIframeToken(requestParameters, options) {
|
|
6443
|
+
return localVarFp.getCompanyIframeToken(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
6444
|
+
},
|
|
6332
6445
|
/**
|
|
6333
6446
|
*
|
|
6334
6447
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
|
@@ -6747,6 +6860,16 @@ export class CompanyApi extends BaseAPI {
|
|
|
6747
6860
|
getCompanyDashboard(requestParameters, options) {
|
|
6748
6861
|
return CompanyApiFp(this.configuration).getCompanyDashboard(requestParameters.id, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
6749
6862
|
}
|
|
6863
|
+
/**
|
|
6864
|
+
*
|
|
6865
|
+
* @param {CompanyApiGetCompanyIframeTokenRequest} requestParameters Request parameters.
|
|
6866
|
+
* @param {*} [options] Override http request option.
|
|
6867
|
+
* @throws {RequiredError}
|
|
6868
|
+
* @memberof CompanyApi
|
|
6869
|
+
*/
|
|
6870
|
+
getCompanyIframeToken(requestParameters, options) {
|
|
6871
|
+
return CompanyApiFp(this.configuration).getCompanyIframeToken(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6872
|
+
}
|
|
6750
6873
|
/**
|
|
6751
6874
|
*
|
|
6752
6875
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
|
@@ -12506,6 +12629,276 @@ export const GetProductsSortEnum = {
|
|
|
12506
12629
|
RATING: 'rating',
|
|
12507
12630
|
REVIEW_COUNT: 'reviewCount'
|
|
12508
12631
|
};
|
|
12632
|
+
/**
|
|
12633
|
+
* ServiceAccountsApi - axios parameter creator
|
|
12634
|
+
* @export
|
|
12635
|
+
*/
|
|
12636
|
+
export const ServiceAccountsApiAxiosParamCreator = function (configuration) {
|
|
12637
|
+
return {
|
|
12638
|
+
/**
|
|
12639
|
+
*
|
|
12640
|
+
* @param {IServiceAccountPostRequest} iServiceAccountPostRequest
|
|
12641
|
+
* @param {*} [options] Override http request option.
|
|
12642
|
+
* @throws {RequiredError}
|
|
12643
|
+
*/
|
|
12644
|
+
createServiceAccount: async (iServiceAccountPostRequest, options = {}) => {
|
|
12645
|
+
// verify required parameter 'iServiceAccountPostRequest' is not null or undefined
|
|
12646
|
+
assertParamExists('createServiceAccount', 'iServiceAccountPostRequest', iServiceAccountPostRequest);
|
|
12647
|
+
const localVarPath = `/api/service-accounts`;
|
|
12648
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12649
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12650
|
+
let baseOptions;
|
|
12651
|
+
if (configuration) {
|
|
12652
|
+
baseOptions = configuration.baseOptions;
|
|
12653
|
+
}
|
|
12654
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
12655
|
+
const localVarHeaderParameter = {};
|
|
12656
|
+
const localVarQueryParameter = {};
|
|
12657
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12658
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12659
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12660
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
12661
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iServiceAccountPostRequest, localVarRequestOptions, configuration);
|
|
12662
|
+
return {
|
|
12663
|
+
url: toPathString(localVarUrlObj),
|
|
12664
|
+
options: localVarRequestOptions,
|
|
12665
|
+
};
|
|
12666
|
+
},
|
|
12667
|
+
/**
|
|
12668
|
+
*
|
|
12669
|
+
* @param {*} [options] Override http request option.
|
|
12670
|
+
* @throws {RequiredError}
|
|
12671
|
+
*/
|
|
12672
|
+
listServiceAccounts: async (options = {}) => {
|
|
12673
|
+
const localVarPath = `/api/service-accounts`;
|
|
12674
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12675
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12676
|
+
let baseOptions;
|
|
12677
|
+
if (configuration) {
|
|
12678
|
+
baseOptions = configuration.baseOptions;
|
|
12679
|
+
}
|
|
12680
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
12681
|
+
const localVarHeaderParameter = {};
|
|
12682
|
+
const localVarQueryParameter = {};
|
|
12683
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12684
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12685
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
12686
|
+
return {
|
|
12687
|
+
url: toPathString(localVarUrlObj),
|
|
12688
|
+
options: localVarRequestOptions,
|
|
12689
|
+
};
|
|
12690
|
+
},
|
|
12691
|
+
/**
|
|
12692
|
+
*
|
|
12693
|
+
* @param {string} id
|
|
12694
|
+
* @param {*} [options] Override http request option.
|
|
12695
|
+
* @throws {RequiredError}
|
|
12696
|
+
*/
|
|
12697
|
+
provisionCompanyProperty: async (id, options = {}) => {
|
|
12698
|
+
// verify required parameter 'id' is not null or undefined
|
|
12699
|
+
assertParamExists('provisionCompanyProperty', 'id', id);
|
|
12700
|
+
const localVarPath = `/api/service-accounts/companies/{id}/provision`
|
|
12701
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12702
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12703
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12704
|
+
let baseOptions;
|
|
12705
|
+
if (configuration) {
|
|
12706
|
+
baseOptions = configuration.baseOptions;
|
|
12707
|
+
}
|
|
12708
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
12709
|
+
const localVarHeaderParameter = {};
|
|
12710
|
+
const localVarQueryParameter = {};
|
|
12711
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12712
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12713
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
12714
|
+
return {
|
|
12715
|
+
url: toPathString(localVarUrlObj),
|
|
12716
|
+
options: localVarRequestOptions,
|
|
12717
|
+
};
|
|
12718
|
+
},
|
|
12719
|
+
/**
|
|
12720
|
+
*
|
|
12721
|
+
* @param {string} id
|
|
12722
|
+
* @param {UpdateServiceAccountsCompanyRequest} updateServiceAccountsCompanyRequest
|
|
12723
|
+
* @param {*} [options] Override http request option.
|
|
12724
|
+
* @throws {RequiredError}
|
|
12725
|
+
*/
|
|
12726
|
+
updateServiceAccountsCompany: async (id, updateServiceAccountsCompanyRequest, options = {}) => {
|
|
12727
|
+
// verify required parameter 'id' is not null or undefined
|
|
12728
|
+
assertParamExists('updateServiceAccountsCompany', 'id', id);
|
|
12729
|
+
// verify required parameter 'updateServiceAccountsCompanyRequest' is not null or undefined
|
|
12730
|
+
assertParamExists('updateServiceAccountsCompany', 'updateServiceAccountsCompanyRequest', updateServiceAccountsCompanyRequest);
|
|
12731
|
+
const localVarPath = `/api/service-accounts/companies/{id}`
|
|
12732
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12733
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12734
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12735
|
+
let baseOptions;
|
|
12736
|
+
if (configuration) {
|
|
12737
|
+
baseOptions = configuration.baseOptions;
|
|
12738
|
+
}
|
|
12739
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
12740
|
+
const localVarHeaderParameter = {};
|
|
12741
|
+
const localVarQueryParameter = {};
|
|
12742
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12743
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12744
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12745
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
12746
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateServiceAccountsCompanyRequest, localVarRequestOptions, configuration);
|
|
12747
|
+
return {
|
|
12748
|
+
url: toPathString(localVarUrlObj),
|
|
12749
|
+
options: localVarRequestOptions,
|
|
12750
|
+
};
|
|
12751
|
+
},
|
|
12752
|
+
};
|
|
12753
|
+
};
|
|
12754
|
+
/**
|
|
12755
|
+
* ServiceAccountsApi - functional programming interface
|
|
12756
|
+
* @export
|
|
12757
|
+
*/
|
|
12758
|
+
export const ServiceAccountsApiFp = function (configuration) {
|
|
12759
|
+
const localVarAxiosParamCreator = ServiceAccountsApiAxiosParamCreator(configuration);
|
|
12760
|
+
return {
|
|
12761
|
+
/**
|
|
12762
|
+
*
|
|
12763
|
+
* @param {IServiceAccountPostRequest} iServiceAccountPostRequest
|
|
12764
|
+
* @param {*} [options] Override http request option.
|
|
12765
|
+
* @throws {RequiredError}
|
|
12766
|
+
*/
|
|
12767
|
+
async createServiceAccount(iServiceAccountPostRequest, options) {
|
|
12768
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceAccount(iServiceAccountPostRequest, options);
|
|
12769
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12770
|
+
const localVarOperationServerBasePath = operationServerMap['ServiceAccountsApi.createServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
12771
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12772
|
+
},
|
|
12773
|
+
/**
|
|
12774
|
+
*
|
|
12775
|
+
* @param {*} [options] Override http request option.
|
|
12776
|
+
* @throws {RequiredError}
|
|
12777
|
+
*/
|
|
12778
|
+
async listServiceAccounts(options) {
|
|
12779
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceAccounts(options);
|
|
12780
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12781
|
+
const localVarOperationServerBasePath = operationServerMap['ServiceAccountsApi.listServiceAccounts']?.[localVarOperationServerIndex]?.url;
|
|
12782
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12783
|
+
},
|
|
12784
|
+
/**
|
|
12785
|
+
*
|
|
12786
|
+
* @param {string} id
|
|
12787
|
+
* @param {*} [options] Override http request option.
|
|
12788
|
+
* @throws {RequiredError}
|
|
12789
|
+
*/
|
|
12790
|
+
async provisionCompanyProperty(id, options) {
|
|
12791
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.provisionCompanyProperty(id, options);
|
|
12792
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12793
|
+
const localVarOperationServerBasePath = operationServerMap['ServiceAccountsApi.provisionCompanyProperty']?.[localVarOperationServerIndex]?.url;
|
|
12794
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12795
|
+
},
|
|
12796
|
+
/**
|
|
12797
|
+
*
|
|
12798
|
+
* @param {string} id
|
|
12799
|
+
* @param {UpdateServiceAccountsCompanyRequest} updateServiceAccountsCompanyRequest
|
|
12800
|
+
* @param {*} [options] Override http request option.
|
|
12801
|
+
* @throws {RequiredError}
|
|
12802
|
+
*/
|
|
12803
|
+
async updateServiceAccountsCompany(id, updateServiceAccountsCompanyRequest, options) {
|
|
12804
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateServiceAccountsCompany(id, updateServiceAccountsCompanyRequest, options);
|
|
12805
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12806
|
+
const localVarOperationServerBasePath = operationServerMap['ServiceAccountsApi.updateServiceAccountsCompany']?.[localVarOperationServerIndex]?.url;
|
|
12807
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12808
|
+
},
|
|
12809
|
+
};
|
|
12810
|
+
};
|
|
12811
|
+
/**
|
|
12812
|
+
* ServiceAccountsApi - factory interface
|
|
12813
|
+
* @export
|
|
12814
|
+
*/
|
|
12815
|
+
export const ServiceAccountsApiFactory = function (configuration, basePath, axios) {
|
|
12816
|
+
const localVarFp = ServiceAccountsApiFp(configuration);
|
|
12817
|
+
return {
|
|
12818
|
+
/**
|
|
12819
|
+
*
|
|
12820
|
+
* @param {ServiceAccountsApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
12821
|
+
* @param {*} [options] Override http request option.
|
|
12822
|
+
* @throws {RequiredError}
|
|
12823
|
+
*/
|
|
12824
|
+
createServiceAccount(requestParameters, options) {
|
|
12825
|
+
return localVarFp.createServiceAccount(requestParameters.iServiceAccountPostRequest, options).then((request) => request(axios, basePath));
|
|
12826
|
+
},
|
|
12827
|
+
/**
|
|
12828
|
+
*
|
|
12829
|
+
* @param {*} [options] Override http request option.
|
|
12830
|
+
* @throws {RequiredError}
|
|
12831
|
+
*/
|
|
12832
|
+
listServiceAccounts(options) {
|
|
12833
|
+
return localVarFp.listServiceAccounts(options).then((request) => request(axios, basePath));
|
|
12834
|
+
},
|
|
12835
|
+
/**
|
|
12836
|
+
*
|
|
12837
|
+
* @param {ServiceAccountsApiProvisionCompanyPropertyRequest} requestParameters Request parameters.
|
|
12838
|
+
* @param {*} [options] Override http request option.
|
|
12839
|
+
* @throws {RequiredError}
|
|
12840
|
+
*/
|
|
12841
|
+
provisionCompanyProperty(requestParameters, options) {
|
|
12842
|
+
return localVarFp.provisionCompanyProperty(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
12843
|
+
},
|
|
12844
|
+
/**
|
|
12845
|
+
*
|
|
12846
|
+
* @param {ServiceAccountsApiUpdateServiceAccountsCompanyRequest} requestParameters Request parameters.
|
|
12847
|
+
* @param {*} [options] Override http request option.
|
|
12848
|
+
* @throws {RequiredError}
|
|
12849
|
+
*/
|
|
12850
|
+
updateServiceAccountsCompany(requestParameters, options) {
|
|
12851
|
+
return localVarFp.updateServiceAccountsCompany(requestParameters.id, requestParameters.updateServiceAccountsCompanyRequest, options).then((request) => request(axios, basePath));
|
|
12852
|
+
},
|
|
12853
|
+
};
|
|
12854
|
+
};
|
|
12855
|
+
/**
|
|
12856
|
+
* ServiceAccountsApi - object-oriented interface
|
|
12857
|
+
* @export
|
|
12858
|
+
* @class ServiceAccountsApi
|
|
12859
|
+
* @extends {BaseAPI}
|
|
12860
|
+
*/
|
|
12861
|
+
export class ServiceAccountsApi extends BaseAPI {
|
|
12862
|
+
/**
|
|
12863
|
+
*
|
|
12864
|
+
* @param {ServiceAccountsApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
12865
|
+
* @param {*} [options] Override http request option.
|
|
12866
|
+
* @throws {RequiredError}
|
|
12867
|
+
* @memberof ServiceAccountsApi
|
|
12868
|
+
*/
|
|
12869
|
+
createServiceAccount(requestParameters, options) {
|
|
12870
|
+
return ServiceAccountsApiFp(this.configuration).createServiceAccount(requestParameters.iServiceAccountPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12871
|
+
}
|
|
12872
|
+
/**
|
|
12873
|
+
*
|
|
12874
|
+
* @param {*} [options] Override http request option.
|
|
12875
|
+
* @throws {RequiredError}
|
|
12876
|
+
* @memberof ServiceAccountsApi
|
|
12877
|
+
*/
|
|
12878
|
+
listServiceAccounts(options) {
|
|
12879
|
+
return ServiceAccountsApiFp(this.configuration).listServiceAccounts(options).then((request) => request(this.axios, this.basePath));
|
|
12880
|
+
}
|
|
12881
|
+
/**
|
|
12882
|
+
*
|
|
12883
|
+
* @param {ServiceAccountsApiProvisionCompanyPropertyRequest} requestParameters Request parameters.
|
|
12884
|
+
* @param {*} [options] Override http request option.
|
|
12885
|
+
* @throws {RequiredError}
|
|
12886
|
+
* @memberof ServiceAccountsApi
|
|
12887
|
+
*/
|
|
12888
|
+
provisionCompanyProperty(requestParameters, options) {
|
|
12889
|
+
return ServiceAccountsApiFp(this.configuration).provisionCompanyProperty(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
12890
|
+
}
|
|
12891
|
+
/**
|
|
12892
|
+
*
|
|
12893
|
+
* @param {ServiceAccountsApiUpdateServiceAccountsCompanyRequest} requestParameters Request parameters.
|
|
12894
|
+
* @param {*} [options] Override http request option.
|
|
12895
|
+
* @throws {RequiredError}
|
|
12896
|
+
* @memberof ServiceAccountsApi
|
|
12897
|
+
*/
|
|
12898
|
+
updateServiceAccountsCompany(requestParameters, options) {
|
|
12899
|
+
return ServiceAccountsApiFp(this.configuration).updateServiceAccountsCompany(requestParameters.id, requestParameters.updateServiceAccountsCompanyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12900
|
+
}
|
|
12901
|
+
}
|
|
12509
12902
|
/**
|
|
12510
12903
|
* SitemapApi - axios parameter creator
|
|
12511
12904
|
* @export
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.69",
|
|
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": "da285f00f609014d0a34f7df591a974aa0348c98"
|
|
41
41
|
}
|