@infisale-client/api 1.3.68 → 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 +669 -0
- package/dist/api/api.js +343 -4
- package/dist/api/api.mjs +334 -0
- package/package.json +2 -2
package/dist/api/api.js
CHANGED
|
@@ -16,10 +16,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
19
|
+
exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IUrlRedirectCollectionQueryParamsSortEnum = exports.IUrlRedirectCollectionQueryParamsDateFieldEnum = exports.IUniqueCollectionQueryParamsDateFieldEnum = exports.ISubscriptionPostRequestPeriodEnum = exports.IServiceAccountPostRequestStatusEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsCategoryEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.INavigationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContentPlanCollectionQueryParamsDateFieldEnum = exports.IContentPlanAttemptStepEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyResponseRentalStatusEnum = exports.ICompanyResponseGscVerificationStatusEnum = exports.ICompanyPatchRequestRentalStatusEnum = exports.ICompanyPatchRequestGscVerificationStatusEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICompanyAdminResponseRentalStatusEnum = exports.ICompanyAdminResponseGscVerificationStatusEnum = exports.ICompanyRentalStatusEnum = exports.ICompanyGscVerificationStatusEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.IAiChatCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ContentPlanStatusEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = exports.AiChatStatusEnum = exports.AiChatRoleEnum = exports.AiChatPurposeEnum = void 0;
|
|
20
|
+
exports.BrandApiFp = exports.BrandApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.GetAiChatsDateFieldEnum = exports.AiChatApi = exports.AiChatApiFactory = exports.AiChatApiFp = exports.AiChatApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.UpdateServiceAccountsCompanyRequestCloudflareStatusEnum = exports.UpdateServiceAccountsCompanyRequestRentalStatusEnum = exports.TimezoneEnum = exports.ThemeKeywordEnum = exports.SubscriptionStatusEnum = exports.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanAttributeKeyEnum = exports.PlanAttributeGroupEnum = exports.PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysRentalStatusEnum = exports.PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysGscVerificationStatusEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = void 0;
|
|
21
|
+
exports.OperationApiFp = exports.OperationApiAxiosParamCreator = exports.GetNotificationsDateFieldEnum = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.GetNavigationsDateFieldEnum = exports.NavigationApi = exports.NavigationApiFactory = exports.NavigationApiFp = exports.NavigationApiAxiosParamCreator = exports.GetFilesDateFieldEnum = exports.FileApi = exports.FileApiFactory = exports.FileApiFp = exports.FileApiAxiosParamCreator = exports.GetContentPlansDateFieldEnum = exports.ContentPlanApi = exports.ContentPlanApiFactory = exports.ContentPlanApiFp = exports.ContentPlanApiAxiosParamCreator = exports.ContentApi = exports.ContentApiFactory = exports.ContentApiFp = exports.ContentApiAxiosParamCreator = exports.GetContactFormsDateFieldEnum = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.GetCompanyCustomersDateFieldEnum = exports.GetCompaniesDateFieldEnum = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.GetCategoriesDateFieldEnum = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = exports.GetBrandsDateFieldEnum = exports.BrandApi = exports.BrandApiFactory = void 0;
|
|
22
|
+
exports.UrlRedirectApiFactory = exports.UrlRedirectApiFp = exports.UrlRedirectApiAxiosParamCreator = exports.GetUniquePagesDateFieldEnum = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.ThemeApi = exports.ThemeApiFactory = exports.ThemeApiFp = exports.ThemeApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.ServiceAccountsApi = exports.ServiceAccountsApiFactory = exports.ServiceAccountsApiFp = exports.ServiceAccountsApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPlansCategoryEnum = exports.GetPlansDateFieldEnum = exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.GetOperationsDateFieldEnum = exports.OperationApi = exports.OperationApiFactory = void 0;
|
|
23
|
+
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.GetUrlRedirectsSortEnum = exports.GetUrlRedirectsDateFieldEnum = exports.UrlRedirectApi = void 0;
|
|
23
24
|
const axios_1 = __importDefault(require("axios"));
|
|
24
25
|
// Some imports not used depending on template conditions
|
|
25
26
|
// @ts-ignore
|
|
@@ -436,6 +437,26 @@ exports.ICollectionCollectionsQueryParamsDateFieldEnum = {
|
|
|
436
437
|
CREATED_AT: 'createdAt',
|
|
437
438
|
UPDATED_AT: 'updatedAt'
|
|
438
439
|
};
|
|
440
|
+
exports.ICompanyGscVerificationStatusEnum = {
|
|
441
|
+
UNVERIFIED: 'UNVERIFIED',
|
|
442
|
+
PENDING_DNS: 'PENDING_DNS',
|
|
443
|
+
VERIFIED: 'VERIFIED',
|
|
444
|
+
FAILED: 'FAILED'
|
|
445
|
+
};
|
|
446
|
+
exports.ICompanyRentalStatusEnum = {
|
|
447
|
+
VACANT: 'VACANT',
|
|
448
|
+
RENTED: 'RENTED'
|
|
449
|
+
};
|
|
450
|
+
exports.ICompanyAdminResponseGscVerificationStatusEnum = {
|
|
451
|
+
UNVERIFIED: 'UNVERIFIED',
|
|
452
|
+
PENDING_DNS: 'PENDING_DNS',
|
|
453
|
+
VERIFIED: 'VERIFIED',
|
|
454
|
+
FAILED: 'FAILED'
|
|
455
|
+
};
|
|
456
|
+
exports.ICompanyAdminResponseRentalStatusEnum = {
|
|
457
|
+
VACANT: 'VACANT',
|
|
458
|
+
RENTED: 'RENTED'
|
|
459
|
+
};
|
|
439
460
|
exports.ICompanyCollectionQueryParamsDateFieldEnum = {
|
|
440
461
|
CREATED_AT: 'createdAt',
|
|
441
462
|
UPDATED_AT: 'updatedAt'
|
|
@@ -446,6 +467,26 @@ exports.ICompanyDashboardResponsePeriodEnum = {
|
|
|
446
467
|
WEEK: 'week',
|
|
447
468
|
HOUR: 'hour'
|
|
448
469
|
};
|
|
470
|
+
exports.ICompanyPatchRequestGscVerificationStatusEnum = {
|
|
471
|
+
UNVERIFIED: 'UNVERIFIED',
|
|
472
|
+
PENDING_DNS: 'PENDING_DNS',
|
|
473
|
+
VERIFIED: 'VERIFIED',
|
|
474
|
+
FAILED: 'FAILED'
|
|
475
|
+
};
|
|
476
|
+
exports.ICompanyPatchRequestRentalStatusEnum = {
|
|
477
|
+
VACANT: 'VACANT',
|
|
478
|
+
RENTED: 'RENTED'
|
|
479
|
+
};
|
|
480
|
+
exports.ICompanyResponseGscVerificationStatusEnum = {
|
|
481
|
+
UNVERIFIED: 'UNVERIFIED',
|
|
482
|
+
PENDING_DNS: 'PENDING_DNS',
|
|
483
|
+
VERIFIED: 'VERIFIED',
|
|
484
|
+
FAILED: 'FAILED'
|
|
485
|
+
};
|
|
486
|
+
exports.ICompanyResponseRentalStatusEnum = {
|
|
487
|
+
VACANT: 'VACANT',
|
|
488
|
+
RENTED: 'RENTED'
|
|
489
|
+
};
|
|
449
490
|
exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = {
|
|
450
491
|
CREATED_AT: 'createdAt',
|
|
451
492
|
UPDATED_AT: 'updatedAt'
|
|
@@ -513,6 +554,11 @@ exports.IProductCollectionQueryParamsSortEnum = {
|
|
|
513
554
|
RATING: 'rating',
|
|
514
555
|
REVIEW_COUNT: 'reviewCount'
|
|
515
556
|
};
|
|
557
|
+
exports.IServiceAccountPostRequestStatusEnum = {
|
|
558
|
+
ACTIVE: 'ACTIVE',
|
|
559
|
+
SUSPENDED: 'SUSPENDED',
|
|
560
|
+
RATE_LIMITED: 'RATE_LIMITED'
|
|
561
|
+
};
|
|
516
562
|
exports.ISubscriptionPostRequestPeriodEnum = {
|
|
517
563
|
MONTHLY: 'monthly',
|
|
518
564
|
YEARLY: 'yearly'
|
|
@@ -667,6 +713,16 @@ exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFiel
|
|
|
667
713
|
CREATED_AT: 'createdAt',
|
|
668
714
|
UPDATED_AT: 'updatedAt'
|
|
669
715
|
};
|
|
716
|
+
exports.PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysGscVerificationStatusEnum = {
|
|
717
|
+
UNVERIFIED: 'UNVERIFIED',
|
|
718
|
+
PENDING_DNS: 'PENDING_DNS',
|
|
719
|
+
VERIFIED: 'VERIFIED',
|
|
720
|
+
FAILED: 'FAILED'
|
|
721
|
+
};
|
|
722
|
+
exports.PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysRentalStatusEnum = {
|
|
723
|
+
VACANT: 'VACANT',
|
|
724
|
+
RENTED: 'RENTED'
|
|
725
|
+
};
|
|
670
726
|
/**
|
|
671
727
|
*
|
|
672
728
|
* @export
|
|
@@ -838,6 +894,15 @@ exports.TimezoneEnum = {
|
|
|
838
894
|
UTC1300: 'UTC+13:00',
|
|
839
895
|
UTC1400: 'UTC+14:00'
|
|
840
896
|
};
|
|
897
|
+
exports.UpdateServiceAccountsCompanyRequestRentalStatusEnum = {
|
|
898
|
+
VACANT: 'VACANT',
|
|
899
|
+
RENTED: 'RENTED'
|
|
900
|
+
};
|
|
901
|
+
exports.UpdateServiceAccountsCompanyRequestCloudflareStatusEnum = {
|
|
902
|
+
PENDING_DNS: 'PENDING_DNS',
|
|
903
|
+
ACTIVE: 'ACTIVE',
|
|
904
|
+
ARCHIVED: 'ARCHIVED'
|
|
905
|
+
};
|
|
841
906
|
/**
|
|
842
907
|
*
|
|
843
908
|
* @export
|
|
@@ -12653,6 +12718,280 @@ exports.GetProductsSortEnum = {
|
|
|
12653
12718
|
RATING: 'rating',
|
|
12654
12719
|
REVIEW_COUNT: 'reviewCount'
|
|
12655
12720
|
};
|
|
12721
|
+
/**
|
|
12722
|
+
* ServiceAccountsApi - axios parameter creator
|
|
12723
|
+
* @export
|
|
12724
|
+
*/
|
|
12725
|
+
const ServiceAccountsApiAxiosParamCreator = function (configuration) {
|
|
12726
|
+
return {
|
|
12727
|
+
/**
|
|
12728
|
+
*
|
|
12729
|
+
* @param {IServiceAccountPostRequest} iServiceAccountPostRequest
|
|
12730
|
+
* @param {*} [options] Override http request option.
|
|
12731
|
+
* @throws {RequiredError}
|
|
12732
|
+
*/
|
|
12733
|
+
createServiceAccount: async (iServiceAccountPostRequest, options = {}) => {
|
|
12734
|
+
// verify required parameter 'iServiceAccountPostRequest' is not null or undefined
|
|
12735
|
+
(0, common_1.assertParamExists)('createServiceAccount', 'iServiceAccountPostRequest', iServiceAccountPostRequest);
|
|
12736
|
+
const localVarPath = `/api/service-accounts`;
|
|
12737
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12738
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12739
|
+
let baseOptions;
|
|
12740
|
+
if (configuration) {
|
|
12741
|
+
baseOptions = configuration.baseOptions;
|
|
12742
|
+
}
|
|
12743
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
12744
|
+
const localVarHeaderParameter = {};
|
|
12745
|
+
const localVarQueryParameter = {};
|
|
12746
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12747
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12748
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12749
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
12750
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(iServiceAccountPostRequest, localVarRequestOptions, configuration);
|
|
12751
|
+
return {
|
|
12752
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12753
|
+
options: localVarRequestOptions,
|
|
12754
|
+
};
|
|
12755
|
+
},
|
|
12756
|
+
/**
|
|
12757
|
+
*
|
|
12758
|
+
* @param {*} [options] Override http request option.
|
|
12759
|
+
* @throws {RequiredError}
|
|
12760
|
+
*/
|
|
12761
|
+
listServiceAccounts: async (options = {}) => {
|
|
12762
|
+
const localVarPath = `/api/service-accounts`;
|
|
12763
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12764
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12765
|
+
let baseOptions;
|
|
12766
|
+
if (configuration) {
|
|
12767
|
+
baseOptions = configuration.baseOptions;
|
|
12768
|
+
}
|
|
12769
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
12770
|
+
const localVarHeaderParameter = {};
|
|
12771
|
+
const localVarQueryParameter = {};
|
|
12772
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12773
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12774
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
12775
|
+
return {
|
|
12776
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12777
|
+
options: localVarRequestOptions,
|
|
12778
|
+
};
|
|
12779
|
+
},
|
|
12780
|
+
/**
|
|
12781
|
+
*
|
|
12782
|
+
* @param {string} id
|
|
12783
|
+
* @param {*} [options] Override http request option.
|
|
12784
|
+
* @throws {RequiredError}
|
|
12785
|
+
*/
|
|
12786
|
+
provisionCompanyProperty: async (id, options = {}) => {
|
|
12787
|
+
// verify required parameter 'id' is not null or undefined
|
|
12788
|
+
(0, common_1.assertParamExists)('provisionCompanyProperty', 'id', id);
|
|
12789
|
+
const localVarPath = `/api/service-accounts/companies/{id}/provision`
|
|
12790
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12791
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12792
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12793
|
+
let baseOptions;
|
|
12794
|
+
if (configuration) {
|
|
12795
|
+
baseOptions = configuration.baseOptions;
|
|
12796
|
+
}
|
|
12797
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
12798
|
+
const localVarHeaderParameter = {};
|
|
12799
|
+
const localVarQueryParameter = {};
|
|
12800
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12801
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12802
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
12803
|
+
return {
|
|
12804
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12805
|
+
options: localVarRequestOptions,
|
|
12806
|
+
};
|
|
12807
|
+
},
|
|
12808
|
+
/**
|
|
12809
|
+
*
|
|
12810
|
+
* @param {string} id
|
|
12811
|
+
* @param {UpdateServiceAccountsCompanyRequest} updateServiceAccountsCompanyRequest
|
|
12812
|
+
* @param {*} [options] Override http request option.
|
|
12813
|
+
* @throws {RequiredError}
|
|
12814
|
+
*/
|
|
12815
|
+
updateServiceAccountsCompany: async (id, updateServiceAccountsCompanyRequest, options = {}) => {
|
|
12816
|
+
// verify required parameter 'id' is not null or undefined
|
|
12817
|
+
(0, common_1.assertParamExists)('updateServiceAccountsCompany', 'id', id);
|
|
12818
|
+
// verify required parameter 'updateServiceAccountsCompanyRequest' is not null or undefined
|
|
12819
|
+
(0, common_1.assertParamExists)('updateServiceAccountsCompany', 'updateServiceAccountsCompanyRequest', updateServiceAccountsCompanyRequest);
|
|
12820
|
+
const localVarPath = `/api/service-accounts/companies/{id}`
|
|
12821
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12822
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12823
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12824
|
+
let baseOptions;
|
|
12825
|
+
if (configuration) {
|
|
12826
|
+
baseOptions = configuration.baseOptions;
|
|
12827
|
+
}
|
|
12828
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
12829
|
+
const localVarHeaderParameter = {};
|
|
12830
|
+
const localVarQueryParameter = {};
|
|
12831
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12832
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12833
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12834
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
12835
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateServiceAccountsCompanyRequest, localVarRequestOptions, configuration);
|
|
12836
|
+
return {
|
|
12837
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12838
|
+
options: localVarRequestOptions,
|
|
12839
|
+
};
|
|
12840
|
+
},
|
|
12841
|
+
};
|
|
12842
|
+
};
|
|
12843
|
+
exports.ServiceAccountsApiAxiosParamCreator = ServiceAccountsApiAxiosParamCreator;
|
|
12844
|
+
/**
|
|
12845
|
+
* ServiceAccountsApi - functional programming interface
|
|
12846
|
+
* @export
|
|
12847
|
+
*/
|
|
12848
|
+
const ServiceAccountsApiFp = function (configuration) {
|
|
12849
|
+
const localVarAxiosParamCreator = (0, exports.ServiceAccountsApiAxiosParamCreator)(configuration);
|
|
12850
|
+
return {
|
|
12851
|
+
/**
|
|
12852
|
+
*
|
|
12853
|
+
* @param {IServiceAccountPostRequest} iServiceAccountPostRequest
|
|
12854
|
+
* @param {*} [options] Override http request option.
|
|
12855
|
+
* @throws {RequiredError}
|
|
12856
|
+
*/
|
|
12857
|
+
async createServiceAccount(iServiceAccountPostRequest, options) {
|
|
12858
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceAccount(iServiceAccountPostRequest, options);
|
|
12859
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12860
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ServiceAccountsApi.createServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
12861
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12862
|
+
},
|
|
12863
|
+
/**
|
|
12864
|
+
*
|
|
12865
|
+
* @param {*} [options] Override http request option.
|
|
12866
|
+
* @throws {RequiredError}
|
|
12867
|
+
*/
|
|
12868
|
+
async listServiceAccounts(options) {
|
|
12869
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceAccounts(options);
|
|
12870
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12871
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ServiceAccountsApi.listServiceAccounts']?.[localVarOperationServerIndex]?.url;
|
|
12872
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12873
|
+
},
|
|
12874
|
+
/**
|
|
12875
|
+
*
|
|
12876
|
+
* @param {string} id
|
|
12877
|
+
* @param {*} [options] Override http request option.
|
|
12878
|
+
* @throws {RequiredError}
|
|
12879
|
+
*/
|
|
12880
|
+
async provisionCompanyProperty(id, options) {
|
|
12881
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.provisionCompanyProperty(id, options);
|
|
12882
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12883
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ServiceAccountsApi.provisionCompanyProperty']?.[localVarOperationServerIndex]?.url;
|
|
12884
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12885
|
+
},
|
|
12886
|
+
/**
|
|
12887
|
+
*
|
|
12888
|
+
* @param {string} id
|
|
12889
|
+
* @param {UpdateServiceAccountsCompanyRequest} updateServiceAccountsCompanyRequest
|
|
12890
|
+
* @param {*} [options] Override http request option.
|
|
12891
|
+
* @throws {RequiredError}
|
|
12892
|
+
*/
|
|
12893
|
+
async updateServiceAccountsCompany(id, updateServiceAccountsCompanyRequest, options) {
|
|
12894
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateServiceAccountsCompany(id, updateServiceAccountsCompanyRequest, options);
|
|
12895
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12896
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ServiceAccountsApi.updateServiceAccountsCompany']?.[localVarOperationServerIndex]?.url;
|
|
12897
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12898
|
+
},
|
|
12899
|
+
};
|
|
12900
|
+
};
|
|
12901
|
+
exports.ServiceAccountsApiFp = ServiceAccountsApiFp;
|
|
12902
|
+
/**
|
|
12903
|
+
* ServiceAccountsApi - factory interface
|
|
12904
|
+
* @export
|
|
12905
|
+
*/
|
|
12906
|
+
const ServiceAccountsApiFactory = function (configuration, basePath, axios) {
|
|
12907
|
+
const localVarFp = (0, exports.ServiceAccountsApiFp)(configuration);
|
|
12908
|
+
return {
|
|
12909
|
+
/**
|
|
12910
|
+
*
|
|
12911
|
+
* @param {ServiceAccountsApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
12912
|
+
* @param {*} [options] Override http request option.
|
|
12913
|
+
* @throws {RequiredError}
|
|
12914
|
+
*/
|
|
12915
|
+
createServiceAccount(requestParameters, options) {
|
|
12916
|
+
return localVarFp.createServiceAccount(requestParameters.iServiceAccountPostRequest, options).then((request) => request(axios, basePath));
|
|
12917
|
+
},
|
|
12918
|
+
/**
|
|
12919
|
+
*
|
|
12920
|
+
* @param {*} [options] Override http request option.
|
|
12921
|
+
* @throws {RequiredError}
|
|
12922
|
+
*/
|
|
12923
|
+
listServiceAccounts(options) {
|
|
12924
|
+
return localVarFp.listServiceAccounts(options).then((request) => request(axios, basePath));
|
|
12925
|
+
},
|
|
12926
|
+
/**
|
|
12927
|
+
*
|
|
12928
|
+
* @param {ServiceAccountsApiProvisionCompanyPropertyRequest} requestParameters Request parameters.
|
|
12929
|
+
* @param {*} [options] Override http request option.
|
|
12930
|
+
* @throws {RequiredError}
|
|
12931
|
+
*/
|
|
12932
|
+
provisionCompanyProperty(requestParameters, options) {
|
|
12933
|
+
return localVarFp.provisionCompanyProperty(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
12934
|
+
},
|
|
12935
|
+
/**
|
|
12936
|
+
*
|
|
12937
|
+
* @param {ServiceAccountsApiUpdateServiceAccountsCompanyRequest} requestParameters Request parameters.
|
|
12938
|
+
* @param {*} [options] Override http request option.
|
|
12939
|
+
* @throws {RequiredError}
|
|
12940
|
+
*/
|
|
12941
|
+
updateServiceAccountsCompany(requestParameters, options) {
|
|
12942
|
+
return localVarFp.updateServiceAccountsCompany(requestParameters.id, requestParameters.updateServiceAccountsCompanyRequest, options).then((request) => request(axios, basePath));
|
|
12943
|
+
},
|
|
12944
|
+
};
|
|
12945
|
+
};
|
|
12946
|
+
exports.ServiceAccountsApiFactory = ServiceAccountsApiFactory;
|
|
12947
|
+
/**
|
|
12948
|
+
* ServiceAccountsApi - object-oriented interface
|
|
12949
|
+
* @export
|
|
12950
|
+
* @class ServiceAccountsApi
|
|
12951
|
+
* @extends {BaseAPI}
|
|
12952
|
+
*/
|
|
12953
|
+
class ServiceAccountsApi extends base_1.BaseAPI {
|
|
12954
|
+
/**
|
|
12955
|
+
*
|
|
12956
|
+
* @param {ServiceAccountsApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
12957
|
+
* @param {*} [options] Override http request option.
|
|
12958
|
+
* @throws {RequiredError}
|
|
12959
|
+
* @memberof ServiceAccountsApi
|
|
12960
|
+
*/
|
|
12961
|
+
createServiceAccount(requestParameters, options) {
|
|
12962
|
+
return (0, exports.ServiceAccountsApiFp)(this.configuration).createServiceAccount(requestParameters.iServiceAccountPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12963
|
+
}
|
|
12964
|
+
/**
|
|
12965
|
+
*
|
|
12966
|
+
* @param {*} [options] Override http request option.
|
|
12967
|
+
* @throws {RequiredError}
|
|
12968
|
+
* @memberof ServiceAccountsApi
|
|
12969
|
+
*/
|
|
12970
|
+
listServiceAccounts(options) {
|
|
12971
|
+
return (0, exports.ServiceAccountsApiFp)(this.configuration).listServiceAccounts(options).then((request) => request(this.axios, this.basePath));
|
|
12972
|
+
}
|
|
12973
|
+
/**
|
|
12974
|
+
*
|
|
12975
|
+
* @param {ServiceAccountsApiProvisionCompanyPropertyRequest} requestParameters Request parameters.
|
|
12976
|
+
* @param {*} [options] Override http request option.
|
|
12977
|
+
* @throws {RequiredError}
|
|
12978
|
+
* @memberof ServiceAccountsApi
|
|
12979
|
+
*/
|
|
12980
|
+
provisionCompanyProperty(requestParameters, options) {
|
|
12981
|
+
return (0, exports.ServiceAccountsApiFp)(this.configuration).provisionCompanyProperty(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
12982
|
+
}
|
|
12983
|
+
/**
|
|
12984
|
+
*
|
|
12985
|
+
* @param {ServiceAccountsApiUpdateServiceAccountsCompanyRequest} requestParameters Request parameters.
|
|
12986
|
+
* @param {*} [options] Override http request option.
|
|
12987
|
+
* @throws {RequiredError}
|
|
12988
|
+
* @memberof ServiceAccountsApi
|
|
12989
|
+
*/
|
|
12990
|
+
updateServiceAccountsCompany(requestParameters, options) {
|
|
12991
|
+
return (0, exports.ServiceAccountsApiFp)(this.configuration).updateServiceAccountsCompany(requestParameters.id, requestParameters.updateServiceAccountsCompanyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12992
|
+
}
|
|
12993
|
+
}
|
|
12994
|
+
exports.ServiceAccountsApi = ServiceAccountsApi;
|
|
12656
12995
|
/**
|
|
12657
12996
|
* SitemapApi - axios parameter creator
|
|
12658
12997
|
* @export
|