hostinger-api-sdk 2.6.3 → 2.7.0
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/README.md +2 -2
- package/api.ts +593 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +423 -1
- package/dist/api.js +372 -7
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +423 -1
- package/dist/esm/api.js +361 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/GPUCatalogApi.md +219 -0
- package/docs/GPUV1OsTemplateOsTemplateResource.md +30 -0
- package/docs/GPUV1PoolPoolGroupResource.md +30 -0
- package/docs/GPUV1PoolPoolInstanceResource.md +32 -0
- package/docs/GPUV1PoolPoolResource.md +30 -0
- package/docs/GPUV1RegionRegionResource.md +26 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.
|
|
7
|
+
* API Version: 2.7.0
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -25,12 +25,13 @@ exports.ReachV1WebsitesWebsiteResourcePlatformTypeEnum = exports.ReachV1StoresSt
|
|
|
25
25
|
exports.AgencyHostingFilesApiFactory = exports.AgencyHostingFilesApiFp = exports.AgencyHostingFilesApiAxiosParamCreator = exports.AgencyHostingDomainsApi = exports.AgencyHostingDomainsApiFactory = exports.AgencyHostingDomainsApiFp = exports.AgencyHostingDomainsApiAxiosParamCreator = exports.AgencyHostingDatacentersApi = exports.AgencyHostingDatacentersApiFactory = exports.AgencyHostingDatacentersApiFp = exports.AgencyHostingDatacentersApiAxiosParamCreator = exports.AgencyHostingDatabasesApi = exports.AgencyHostingDatabasesApiFactory = exports.AgencyHostingDatabasesApiFp = exports.AgencyHostingDatabasesApiAxiosParamCreator = exports.AgencyHostingCronJobsApi = exports.AgencyHostingCronJobsApiFactory = exports.AgencyHostingCronJobsApiFp = exports.AgencyHostingCronJobsApiAxiosParamCreator = exports.AgencyHostingCacheApi = exports.AgencyHostingCacheApiFactory = exports.AgencyHostingCacheApiFp = exports.AgencyHostingCacheApiAxiosParamCreator = exports.WordPressV1ThemesInstalledThemeResourceStatusEnum = exports.WordPressV1ThemesInstallThemeRequestFontEnum = exports.WordPressV1PluginsUpdateHostingerPluginRequestSlugEnum = exports.WordPressV1PluginsSuggestedPluginGroupResourceWebsiteTypeEnum = exports.WordPressV1PluginsInstalledPluginResourceStatusEnum = exports.WordPressV1MemcachedMemcachedStatusResourceStatusEnum = exports.WordPressV1McpExecuteMcpToolRequestServerEnum = exports.WordPressV1MaintenanceMaintenanceStatusResourceStatusEnum = exports.WordPressV1InstallationsUpdateResourceTypeEnum = exports.WordPressV1InstallationsInstallWordPressRequestAutoUpdatesEnum = exports.WordPressV1InstallationsInstallWordPressRequestTypeEnum = exports.WordPressV1HostingerPluginsUpdateAiOptionStatusRequestOptionEnum = exports.WordPressV1ContentGenerationResourceStatusEnum = exports.WordPressV1ContentGenerationResourceTypeEnum = exports.WordPressV1ContentGenerateImagesRequestImageTypeEnum = exports.VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = exports.VPSV1VirtualMachineVirtualMachineResourceStateEnum = exports.VPSV1FirewallRulesStoreRequestSourceEnum = exports.VPSV1FirewallRulesStoreRequestProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceActionEnum = exports.VPSV1DockerManagerProjectResourceStateEnum = exports.VPSV1DockerManagerContainerResourceHealthEnum = exports.VPSV1DockerManagerContainerResourceStateEnum = exports.VPSV1DockerManagerContainerPortResourceProtocolEnum = exports.VPSV1DockerManagerContainerPortResourceTypeEnum = exports.VPSV1ActionActionResourceStateEnum = void 0;
|
|
26
26
|
exports.BillingOrdersApi = exports.BillingOrdersApiFactory = exports.BillingOrdersApiFp = exports.BillingOrdersApiAxiosParamCreator = exports.GetCatalogItemListV1CategoryEnum = exports.BillingCatalogApi = exports.BillingCatalogApiFactory = exports.BillingCatalogApiFp = exports.BillingCatalogApiAxiosParamCreator = exports.AgentReadinessScansApi = exports.AgentReadinessScansApiFactory = exports.AgentReadinessScansApiFp = exports.AgentReadinessScansApiAxiosParamCreator = exports.AgentReadinessChecksApi = exports.AgentReadinessChecksApiFactory = exports.AgentReadinessChecksApiFp = exports.AgentReadinessChecksApiAxiosParamCreator = exports.AgencyHostingWordPressApi = exports.AgencyHostingWordPressApiFactory = exports.AgencyHostingWordPressApiFp = exports.AgencyHostingWordPressApiAxiosParamCreator = exports.ListAgencyPlanWebsitesV1WebsiteTypesEnum = exports.ListAgencyPlanWebsitesV1StatesEnum = exports.AgencyHostingWebsitesApi = exports.AgencyHostingWebsitesApiFactory = exports.AgencyHostingWebsitesApiFp = exports.AgencyHostingWebsitesApiAxiosParamCreator = exports.AgencyHostingWebsiteSetupsApi = exports.AgencyHostingWebsiteSetupsApiFactory = exports.AgencyHostingWebsiteSetupsApiFp = exports.AgencyHostingWebsiteSetupsApiAxiosParamCreator = exports.AgencyHostingSSLApi = exports.AgencyHostingSSLApiFactory = exports.AgencyHostingSSLApiFp = exports.AgencyHostingSSLApiAxiosParamCreator = exports.AgencyHostingPHPApi = exports.AgencyHostingPHPApiFactory = exports.AgencyHostingPHPApiFp = exports.AgencyHostingPHPApiAxiosParamCreator = exports.AgencyHostingOrdersApi = exports.AgencyHostingOrdersApiFactory = exports.AgencyHostingOrdersApiFp = exports.AgencyHostingOrdersApiAxiosParamCreator = exports.ListOrderResourceUsageMetricsV1TimeFrameHoursEnum = exports.ListAgencyPlanOrderDiskUsageMetricsV1TimeFrameDaysEnum = exports.AgencyHostingMetricsApi = exports.AgencyHostingMetricsApiFactory = exports.AgencyHostingMetricsApiFp = exports.AgencyHostingMetricsApiAxiosParamCreator = exports.AgencyHostingFilesApi = void 0;
|
|
27
27
|
exports.EcommerceMiscellaneousApiAxiosParamCreator = exports.ListDiscountsV1IsDisabledEnum = exports.EcommerceDiscountsApi = exports.EcommerceDiscountsApiFactory = exports.EcommerceDiscountsApiFp = exports.EcommerceDiscountsApiAxiosParamCreator = exports.DomainsWHOISApi = exports.DomainsWHOISApiFactory = exports.DomainsWHOISApiFp = exports.DomainsWHOISApiAxiosParamCreator = exports.DomainsTransferApi = exports.DomainsTransferApiFactory = exports.DomainsTransferApiFp = exports.DomainsTransferApiAxiosParamCreator = exports.DomainsPortfolioApi = exports.DomainsPortfolioApiFactory = exports.DomainsPortfolioApiFp = exports.DomainsPortfolioApiAxiosParamCreator = exports.DomainsMoveApi = exports.DomainsMoveApiFactory = exports.DomainsMoveApiFp = exports.DomainsMoveApiAxiosParamCreator = exports.DomainsForwardingApi = exports.DomainsForwardingApiFactory = exports.DomainsForwardingApiFp = exports.DomainsForwardingApiAxiosParamCreator = exports.DomainsAvailabilityApi = exports.DomainsAvailabilityApiFactory = exports.DomainsAvailabilityApiFp = exports.DomainsAvailabilityApiAxiosParamCreator = exports.DomainAccessVerifierVerificationsApi = exports.DomainAccessVerifierVerificationsApiFactory = exports.DomainAccessVerifierVerificationsApiFp = exports.DomainAccessVerifierVerificationsApiAxiosParamCreator = exports.DNSZoneApi = exports.DNSZoneApiFactory = exports.DNSZoneApiFp = exports.DNSZoneApiAxiosParamCreator = exports.DNSSnapshotApi = exports.DNSSnapshotApiFactory = exports.DNSSnapshotApiFp = exports.DNSSnapshotApiAxiosParamCreator = exports.BillingSubscriptionsApi = exports.BillingSubscriptionsApiFactory = exports.BillingSubscriptionsApiFp = exports.BillingSubscriptionsApiAxiosParamCreator = exports.BillingPaymentMethodsApi = exports.BillingPaymentMethodsApiFactory = exports.BillingPaymentMethodsApiFp = exports.BillingPaymentMethodsApiAxiosParamCreator = void 0;
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
28
|
+
exports.HostingCacheApiAxiosParamCreator = exports.HostingCDNApi = exports.HostingCDNApiFactory = exports.HostingCDNApiFp = exports.HostingCDNApiAxiosParamCreator = exports.HorizonsWebsitesApi = exports.HorizonsWebsitesApiFactory = exports.HorizonsWebsitesApiFp = exports.HorizonsWebsitesApiAxiosParamCreator = exports.GetPoolGroupsV1CurrencyEnum = exports.GPUCatalogApi = exports.GPUCatalogApiFactory = exports.GPUCatalogApiFp = exports.GPUCatalogApiAxiosParamCreator = exports.EcommerceStoresApi = exports.EcommerceStoresApiFactory = exports.EcommerceStoresApiFp = exports.EcommerceStoresApiAxiosParamCreator = exports.EcommerceShippingApi = exports.EcommerceShippingApiFactory = exports.EcommerceShippingApiFp = exports.EcommerceShippingApiAxiosParamCreator = exports.EcommerceSalesChannelsApi = exports.EcommerceSalesChannelsApiFactory = exports.EcommerceSalesChannelsApiFp = exports.EcommerceSalesChannelsApiAxiosParamCreator = exports.ListProductsV1IncludeEnum = exports.ListProductsV1StatusEnum = exports.EcommerceProductsApi = exports.EcommerceProductsApiFactory = exports.EcommerceProductsApiFp = exports.EcommerceProductsApiAxiosParamCreator = exports.EcommerceProductVariantsApi = exports.EcommerceProductVariantsApiFactory = exports.EcommerceProductVariantsApiFp = exports.EcommerceProductVariantsApiAxiosParamCreator = exports.EcommercePaymentsApi = exports.EcommercePaymentsApiFactory = exports.EcommercePaymentsApiFp = exports.EcommercePaymentsApiAxiosParamCreator = exports.ListStoreOrdersV1FulfillmentStatusEnum = exports.ListStoreOrdersV1PaymentStatusEnum = exports.ListStoreOrdersV1StatusEnum = exports.EcommerceOrdersApi = exports.EcommerceOrdersApiFactory = exports.EcommerceOrdersApiFp = exports.EcommerceOrdersApiAxiosParamCreator = exports.EcommerceMiscellaneousApi = exports.EcommerceMiscellaneousApiFactory = exports.EcommerceMiscellaneousApiFp = void 0;
|
|
29
|
+
exports.HostingPHPApiFactory = exports.HostingPHPApiFp = exports.HostingPHPApiAxiosParamCreator = exports.ListOrdersV1StatusesEnum = exports.HostingOrdersApi = exports.HostingOrdersApiFactory = exports.HostingOrdersApiFp = exports.HostingOrdersApiAxiosParamCreator = exports.ListNodeJsVulnerabilitiesV1SeveritiesEnum = exports.ListNodeJSBuildsV1StatesEnum = exports.GetNodeJsRuntimeLogsV1LevelsEnum = exports.GetNodeJsRuntimeLogsV1PeriodEnum = exports.HostingNodeJSApi = exports.HostingNodeJSApiFactory = exports.HostingNodeJSApiFp = exports.HostingNodeJSApiAxiosParamCreator = exports.HostingHeadlessApi = exports.HostingHeadlessApiFactory = exports.HostingHeadlessApiFp = exports.HostingHeadlessApiAxiosParamCreator = exports.ListGitInstallationsV1StatusEnum = exports.ListGitInstallationsV1ProviderEnum = exports.HostingGitApi = exports.HostingGitApiFactory = exports.HostingGitApiFp = exports.HostingGitApiAxiosParamCreator = exports.ListWebsiteFilesAndDirectoriesV1FileTypesEnum = exports.HostingFilesApi = exports.HostingFilesApiFactory = exports.HostingFilesApiFp = exports.HostingFilesApiAxiosParamCreator = exports.HostingDomainsApi = exports.HostingDomainsApiFactory = exports.HostingDomainsApiFp = exports.HostingDomainsApiAxiosParamCreator = exports.HostingDatacentersApi = exports.HostingDatacentersApiFactory = exports.HostingDatacentersApiFp = exports.HostingDatacentersApiAxiosParamCreator = exports.HostingDatabasesApi = exports.HostingDatabasesApiFactory = exports.HostingDatabasesApiFp = exports.HostingDatabasesApiAxiosParamCreator = exports.HostingCronJobsApi = exports.HostingCronJobsApiFactory = exports.HostingCronJobsApiFp = exports.HostingCronJobsApiAxiosParamCreator = exports.HostingCacheApi = exports.HostingCacheApiFactory = exports.HostingCacheApiFp = void 0;
|
|
30
|
+
exports.MailOrdersApiAxiosParamCreator = exports.ListMailboxesV1SortEnum = exports.MailMailboxesApi = exports.MailMailboxesApiFactory = exports.MailMailboxesApiFp = exports.MailMailboxesApiAxiosParamCreator = exports.ListOutboundLogsV1StatusEnum = exports.ListMailboxActionLogsV1EventEnum = exports.ListInboundLogsV1StatusEnum = exports.ListActionLogsV1StatusEnum = exports.ListAccessLogsV1ProtocolEnum = exports.ListAccessLogsV1StatusEnum = exports.MailLogsApi = exports.MailLogsApiFactory = exports.MailLogsApiFp = exports.MailLogsApiAxiosParamCreator = exports.MailForwardersApi = exports.MailForwardersApiFactory = exports.MailForwardersApiFp = exports.MailForwardersApiAxiosParamCreator = exports.MailCatchallsApi = exports.MailCatchallsApiFactory = exports.MailCatchallsApiFp = exports.MailCatchallsApiAxiosParamCreator = exports.MailAutorepliesApi = exports.MailAutorepliesApiFactory = exports.MailAutorepliesApiFp = exports.MailAutorepliesApiAxiosParamCreator = exports.MailAliasesApi = exports.MailAliasesApiFactory = exports.MailAliasesApiFp = exports.MailAliasesApiAxiosParamCreator = exports.MailAPITokensApi = exports.MailAPITokensApiFactory = exports.MailAPITokensApiFp = exports.MailAPITokensApiAxiosParamCreator = exports.ListWebsitesV1WebsiteTypesEnum = exports.HostingWebsitesApi = exports.HostingWebsitesApiFactory = exports.HostingWebsitesApiFp = exports.HostingWebsitesApiAxiosParamCreator = exports.HostingSSLApi = exports.HostingSSLApiFactory = exports.HostingSSLApiFp = exports.HostingSSLApiAxiosParamCreator = exports.HostingRedirectsApi = exports.HostingRedirectsApiFactory = exports.HostingRedirectsApiFp = exports.HostingRedirectsApiAxiosParamCreator = exports.HostingPHPApi = void 0;
|
|
31
|
+
exports.ReachSegmentsApi = exports.ReachSegmentsApiFactory = exports.ReachSegmentsApiFp = exports.ReachSegmentsApiAxiosParamCreator = exports.ReachProfilesApi = exports.ReachProfilesApiFactory = exports.ReachProfilesApiFp = exports.ReachProfilesApiAxiosParamCreator = exports.ReachIntegrationsApi = exports.ReachIntegrationsApiFactory = exports.ReachIntegrationsApiFp = exports.ReachIntegrationsApiAxiosParamCreator = exports.ListFormsV1StatusEnum = exports.ReachFormsApi = exports.ReachFormsApiFactory = exports.ReachFormsApiFp = exports.ReachFormsApiAxiosParamCreator = exports.ListProfileContactsV1SubscriptionStatusEnum = exports.ListContactsV1SubscriptionStatusEnum = exports.ReachContactsApi = exports.ReachContactsApiFactory = exports.ReachContactsApiFp = exports.ReachContactsApiAxiosParamCreator = exports.ReachContactFieldsApi = exports.ReachContactFieldsApiFactory = exports.ReachContactFieldsApiFp = exports.ReachContactFieldsApiAxiosParamCreator = exports.ListCampaignsV1SortDirectionEnum = exports.ListCampaignsV1TypeEnum = exports.ListCampaignsV1StatusEnum = exports.ReachCampaignsApi = exports.ReachCampaignsApiFactory = exports.ReachCampaignsApiFp = exports.ReachCampaignsApiAxiosParamCreator = exports.ListAutomationsV1SortDirectionEnum = exports.ListAutomationsV1StatusEnum = exports.ReachAutomationsApi = exports.ReachAutomationsApiFactory = exports.ReachAutomationsApiFp = exports.ReachAutomationsApiAxiosParamCreator = exports.ListWebhooksV1StatusEnum = exports.MailWebhooksApi = exports.MailWebhooksApiFactory = exports.MailWebhooksApiFp = exports.MailWebhooksApiAxiosParamCreator = exports.ListOrdersV1SortEnum = exports.ListOrdersV1StatusEnum = exports.MailOrdersApi = exports.MailOrdersApiFactory = exports.MailOrdersApiFp = void 0;
|
|
32
|
+
exports.VPSRecoveryApiAxiosParamCreator = exports.VPSPublicKeysApi = exports.VPSPublicKeysApiFactory = exports.VPSPublicKeysApiFp = exports.VPSPublicKeysApiAxiosParamCreator = exports.VPSPostInstallScriptsApi = exports.VPSPostInstallScriptsApiFactory = exports.VPSPostInstallScriptsApiFp = exports.VPSPostInstallScriptsApiAxiosParamCreator = exports.VPSPTRRecordsApi = exports.VPSPTRRecordsApiFactory = exports.VPSPTRRecordsApiFp = exports.VPSPTRRecordsApiAxiosParamCreator = exports.VPSOSTemplatesApi = exports.VPSOSTemplatesApiFactory = exports.VPSOSTemplatesApiFp = exports.VPSOSTemplatesApiAxiosParamCreator = exports.VPSMalwareScannerApi = exports.VPSMalwareScannerApiFactory = exports.VPSMalwareScannerApiFp = exports.VPSMalwareScannerApiAxiosParamCreator = exports.VPSFirewallApi = exports.VPSFirewallApiFactory = exports.VPSFirewallApiFp = exports.VPSFirewallApiAxiosParamCreator = exports.VPSDockerManagerApi = exports.VPSDockerManagerApiFactory = exports.VPSDockerManagerApiFp = exports.VPSDockerManagerApiAxiosParamCreator = exports.VPSDataCentersApi = exports.VPSDataCentersApiFactory = exports.VPSDataCentersApiFp = exports.VPSDataCentersApiAxiosParamCreator = exports.VPSBackupsApi = exports.VPSBackupsApiFactory = exports.VPSBackupsApiFp = exports.VPSBackupsApiAxiosParamCreator = exports.VPSActionsApi = exports.VPSActionsApiFactory = exports.VPSActionsApiFp = exports.VPSActionsApiAxiosParamCreator = exports.ReachTemplatesApi = exports.ReachTemplatesApiFactory = exports.ReachTemplatesApiFp = exports.ReachTemplatesApiAxiosParamCreator = exports.ReachTagsApi = exports.ReachTagsApiFactory = exports.ReachTagsApiFp = exports.ReachTagsApiAxiosParamCreator = exports.ListProfileSegmentsV1CountTypeEnum = void 0;
|
|
33
|
+
exports.WordPressPluginsApi = exports.WordPressPluginsApiFactory = exports.WordPressPluginsApiFp = exports.WordPressPluginsApiAxiosParamCreator = exports.WordPressObjectCacheApi = exports.WordPressObjectCacheApiFactory = exports.WordPressObjectCacheApiFp = exports.WordPressObjectCacheApiAxiosParamCreator = exports.WordPressMaintenanceApi = exports.WordPressMaintenanceApiFactory = exports.WordPressMaintenanceApiFp = exports.WordPressMaintenanceApiAxiosParamCreator = exports.WordPressLoginApi = exports.WordPressLoginApiFactory = exports.WordPressLoginApiFp = exports.WordPressLoginApiAxiosParamCreator = exports.WordPressLiteSpeedCacheApi = exports.WordPressLiteSpeedCacheApiFactory = exports.WordPressLiteSpeedCacheApiFp = exports.WordPressLiteSpeedCacheApiAxiosParamCreator = exports.ListWordPressInstallationsV1OwnershipEnum = exports.WordPressInstallationsApi = exports.WordPressInstallationsApiFactory = exports.WordPressInstallationsApiFp = exports.WordPressInstallationsApiAxiosParamCreator = exports.ShowAIOptionStatusV1OptionEnum = exports.WordPressAIToolsApi = exports.WordPressAIToolsApiFactory = exports.WordPressAIToolsApiFp = exports.WordPressAIToolsApiAxiosParamCreator = exports.GetGenerationResultV1TypeEnum = exports.WordPressAIContentApi = exports.WordPressAIContentApiFactory = exports.WordPressAIContentApiFp = exports.WordPressAIContentApiAxiosParamCreator = exports.VPSVirtualMachineApi = exports.VPSVirtualMachineApiFactory = exports.VPSVirtualMachineApiFp = exports.VPSVirtualMachineApiAxiosParamCreator = exports.VPSSnapshotsApi = exports.VPSSnapshotsApiFactory = exports.VPSSnapshotsApiFp = exports.VPSSnapshotsApiAxiosParamCreator = exports.VPSSSHKeysApi = exports.VPSSSHKeysApiFactory = exports.VPSSSHKeysApiFp = exports.VPSSSHKeysApiAxiosParamCreator = exports.VPSRecoveryApi = exports.VPSRecoveryApiFactory = exports.VPSRecoveryApiFp = void 0;
|
|
34
|
+
exports.WordPressThemesApi = exports.WordPressThemesApiFactory = exports.WordPressThemesApiFp = exports.WordPressThemesApiAxiosParamCreator = exports.ListInstalledWordPressPluginsV1CategoryEnum = void 0;
|
|
34
35
|
const axios_1 = require("axios");
|
|
35
36
|
// Some imports not used depending on template conditions
|
|
36
37
|
// @ts-ignore
|
|
@@ -12360,6 +12361,370 @@ class EcommerceStoresApi extends base_1.BaseAPI {
|
|
|
12360
12361
|
}
|
|
12361
12362
|
}
|
|
12362
12363
|
exports.EcommerceStoresApi = EcommerceStoresApi;
|
|
12364
|
+
/**
|
|
12365
|
+
* GPUCatalogApi - axios parameter creator
|
|
12366
|
+
* @export
|
|
12367
|
+
*/
|
|
12368
|
+
const GPUCatalogApiAxiosParamCreator = function (configuration) {
|
|
12369
|
+
return {
|
|
12370
|
+
/**
|
|
12371
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
12372
|
+
* @summary Get pool groups
|
|
12373
|
+
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
12374
|
+
* @param {*} [options] Override http request option.
|
|
12375
|
+
* @throws {RequiredError}
|
|
12376
|
+
*/
|
|
12377
|
+
getPoolGroupsV1: (currency_1, ...args_1) => __awaiter(this, [currency_1, ...args_1], void 0, function* (currency, options = {}) {
|
|
12378
|
+
const localVarPath = `/api/gpu/v1/pools/groups`;
|
|
12379
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12380
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12381
|
+
let baseOptions;
|
|
12382
|
+
if (configuration) {
|
|
12383
|
+
baseOptions = configuration.baseOptions;
|
|
12384
|
+
}
|
|
12385
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12386
|
+
const localVarHeaderParameter = {};
|
|
12387
|
+
const localVarQueryParameter = {};
|
|
12388
|
+
// authentication apiToken required
|
|
12389
|
+
// http bearer authentication required
|
|
12390
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12391
|
+
if (currency !== undefined) {
|
|
12392
|
+
localVarQueryParameter['currency'] = currency;
|
|
12393
|
+
}
|
|
12394
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12395
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12396
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12397
|
+
return {
|
|
12398
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12399
|
+
options: localVarRequestOptions,
|
|
12400
|
+
};
|
|
12401
|
+
}),
|
|
12402
|
+
/**
|
|
12403
|
+
* Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
|
|
12404
|
+
* @summary Get pool instance types
|
|
12405
|
+
* @param {number} poolId GPU pool ID
|
|
12406
|
+
* @param {*} [options] Override http request option.
|
|
12407
|
+
* @throws {RequiredError}
|
|
12408
|
+
*/
|
|
12409
|
+
getPoolInstanceTypesV1: (poolId_1, ...args_1) => __awaiter(this, [poolId_1, ...args_1], void 0, function* (poolId, options = {}) {
|
|
12410
|
+
// verify required parameter 'poolId' is not null or undefined
|
|
12411
|
+
(0, common_1.assertParamExists)('getPoolInstanceTypesV1', 'poolId', poolId);
|
|
12412
|
+
const localVarPath = `/api/gpu/v1/pools/{poolId}/instances`
|
|
12413
|
+
.replace(`{${"poolId"}}`, (0, common_1.encodePathParam)('poolId', poolId));
|
|
12414
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12415
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12416
|
+
let baseOptions;
|
|
12417
|
+
if (configuration) {
|
|
12418
|
+
baseOptions = configuration.baseOptions;
|
|
12419
|
+
}
|
|
12420
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12421
|
+
const localVarHeaderParameter = {};
|
|
12422
|
+
const localVarQueryParameter = {};
|
|
12423
|
+
// authentication apiToken required
|
|
12424
|
+
// http bearer authentication required
|
|
12425
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12426
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12427
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12428
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12429
|
+
return {
|
|
12430
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12431
|
+
options: localVarRequestOptions,
|
|
12432
|
+
};
|
|
12433
|
+
}),
|
|
12434
|
+
/**
|
|
12435
|
+
* Retrieve all available GPU pools, ordered by name. A pool serves GPU accelerators of one model from a single region. Use this endpoint to choose a pool before listing its instance types.
|
|
12436
|
+
* @summary Get pool list
|
|
12437
|
+
* @param {*} [options] Override http request option.
|
|
12438
|
+
* @throws {RequiredError}
|
|
12439
|
+
*/
|
|
12440
|
+
getPoolListV1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
12441
|
+
const localVarPath = `/api/gpu/v1/pools`;
|
|
12442
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12443
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12444
|
+
let baseOptions;
|
|
12445
|
+
if (configuration) {
|
|
12446
|
+
baseOptions = configuration.baseOptions;
|
|
12447
|
+
}
|
|
12448
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12449
|
+
const localVarHeaderParameter = {};
|
|
12450
|
+
const localVarQueryParameter = {};
|
|
12451
|
+
// authentication apiToken required
|
|
12452
|
+
// http bearer authentication required
|
|
12453
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12454
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12455
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12456
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12457
|
+
return {
|
|
12458
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12459
|
+
options: localVarRequestOptions,
|
|
12460
|
+
};
|
|
12461
|
+
}),
|
|
12462
|
+
/**
|
|
12463
|
+
* Retrieve the OS templates that can be installed on a specified GPU pool instance type. Use this endpoint to choose the `os_template_id` for a new GPU instance.
|
|
12464
|
+
* @summary Get pool OS templates
|
|
12465
|
+
* @param {number} poolId GPU pool ID
|
|
12466
|
+
* @param {number} poolInstanceId GPU pool instance type ID
|
|
12467
|
+
* @param {*} [options] Override http request option.
|
|
12468
|
+
* @throws {RequiredError}
|
|
12469
|
+
*/
|
|
12470
|
+
getPoolOSTemplatesV1: (poolId_1, poolInstanceId_1, ...args_1) => __awaiter(this, [poolId_1, poolInstanceId_1, ...args_1], void 0, function* (poolId, poolInstanceId, options = {}) {
|
|
12471
|
+
// verify required parameter 'poolId' is not null or undefined
|
|
12472
|
+
(0, common_1.assertParamExists)('getPoolOSTemplatesV1', 'poolId', poolId);
|
|
12473
|
+
// verify required parameter 'poolInstanceId' is not null or undefined
|
|
12474
|
+
(0, common_1.assertParamExists)('getPoolOSTemplatesV1', 'poolInstanceId', poolInstanceId);
|
|
12475
|
+
const localVarPath = `/api/gpu/v1/pools/{poolId}/instances/{poolInstanceId}/os-templates`
|
|
12476
|
+
.replace(`{${"poolId"}}`, (0, common_1.encodePathParam)('poolId', poolId))
|
|
12477
|
+
.replace(`{${"poolInstanceId"}}`, (0, common_1.encodePathParam)('poolInstanceId', poolInstanceId));
|
|
12478
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12479
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12480
|
+
let baseOptions;
|
|
12481
|
+
if (configuration) {
|
|
12482
|
+
baseOptions = configuration.baseOptions;
|
|
12483
|
+
}
|
|
12484
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12485
|
+
const localVarHeaderParameter = {};
|
|
12486
|
+
const localVarQueryParameter = {};
|
|
12487
|
+
// authentication apiToken required
|
|
12488
|
+
// http bearer authentication required
|
|
12489
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12490
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12491
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12492
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12493
|
+
return {
|
|
12494
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12495
|
+
options: localVarRequestOptions,
|
|
12496
|
+
};
|
|
12497
|
+
}),
|
|
12498
|
+
};
|
|
12499
|
+
};
|
|
12500
|
+
exports.GPUCatalogApiAxiosParamCreator = GPUCatalogApiAxiosParamCreator;
|
|
12501
|
+
/**
|
|
12502
|
+
* GPUCatalogApi - functional programming interface
|
|
12503
|
+
* @export
|
|
12504
|
+
*/
|
|
12505
|
+
const GPUCatalogApiFp = function (configuration) {
|
|
12506
|
+
const localVarAxiosParamCreator = (0, exports.GPUCatalogApiAxiosParamCreator)(configuration);
|
|
12507
|
+
return {
|
|
12508
|
+
/**
|
|
12509
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
12510
|
+
* @summary Get pool groups
|
|
12511
|
+
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
12512
|
+
* @param {*} [options] Override http request option.
|
|
12513
|
+
* @throws {RequiredError}
|
|
12514
|
+
*/
|
|
12515
|
+
getPoolGroupsV1(currency, options) {
|
|
12516
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12517
|
+
var _a, _b;
|
|
12518
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPoolGroupsV1(currency, options);
|
|
12519
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['GPUCatalogApi.getPoolGroupsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
12520
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12521
|
+
});
|
|
12522
|
+
},
|
|
12523
|
+
/**
|
|
12524
|
+
* Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
|
|
12525
|
+
* @summary Get pool instance types
|
|
12526
|
+
* @param {number} poolId GPU pool ID
|
|
12527
|
+
* @param {*} [options] Override http request option.
|
|
12528
|
+
* @throws {RequiredError}
|
|
12529
|
+
*/
|
|
12530
|
+
getPoolInstanceTypesV1(poolId, options) {
|
|
12531
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12532
|
+
var _a, _b;
|
|
12533
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPoolInstanceTypesV1(poolId, options);
|
|
12534
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['GPUCatalogApi.getPoolInstanceTypesV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
12535
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12536
|
+
});
|
|
12537
|
+
},
|
|
12538
|
+
/**
|
|
12539
|
+
* Retrieve all available GPU pools, ordered by name. A pool serves GPU accelerators of one model from a single region. Use this endpoint to choose a pool before listing its instance types.
|
|
12540
|
+
* @summary Get pool list
|
|
12541
|
+
* @param {*} [options] Override http request option.
|
|
12542
|
+
* @throws {RequiredError}
|
|
12543
|
+
*/
|
|
12544
|
+
getPoolListV1(options) {
|
|
12545
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12546
|
+
var _a, _b;
|
|
12547
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPoolListV1(options);
|
|
12548
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['GPUCatalogApi.getPoolListV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
12549
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12550
|
+
});
|
|
12551
|
+
},
|
|
12552
|
+
/**
|
|
12553
|
+
* Retrieve the OS templates that can be installed on a specified GPU pool instance type. Use this endpoint to choose the `os_template_id` for a new GPU instance.
|
|
12554
|
+
* @summary Get pool OS templates
|
|
12555
|
+
* @param {number} poolId GPU pool ID
|
|
12556
|
+
* @param {number} poolInstanceId GPU pool instance type ID
|
|
12557
|
+
* @param {*} [options] Override http request option.
|
|
12558
|
+
* @throws {RequiredError}
|
|
12559
|
+
*/
|
|
12560
|
+
getPoolOSTemplatesV1(poolId, poolInstanceId, options) {
|
|
12561
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12562
|
+
var _a, _b;
|
|
12563
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPoolOSTemplatesV1(poolId, poolInstanceId, options);
|
|
12564
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['GPUCatalogApi.getPoolOSTemplatesV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
12565
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12566
|
+
});
|
|
12567
|
+
},
|
|
12568
|
+
};
|
|
12569
|
+
};
|
|
12570
|
+
exports.GPUCatalogApiFp = GPUCatalogApiFp;
|
|
12571
|
+
/**
|
|
12572
|
+
* GPUCatalogApi - factory interface
|
|
12573
|
+
* @export
|
|
12574
|
+
*/
|
|
12575
|
+
const GPUCatalogApiFactory = function (configuration, basePath, axios) {
|
|
12576
|
+
const localVarFp = (0, exports.GPUCatalogApiFp)(configuration);
|
|
12577
|
+
return {
|
|
12578
|
+
/**
|
|
12579
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
12580
|
+
* @summary Get pool groups
|
|
12581
|
+
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
12582
|
+
* @param {*} [options] Override http request option.
|
|
12583
|
+
* @throws {RequiredError}
|
|
12584
|
+
*/
|
|
12585
|
+
getPoolGroupsV1(currency, options) {
|
|
12586
|
+
return localVarFp.getPoolGroupsV1(currency, options).then((request) => request(axios, basePath));
|
|
12587
|
+
},
|
|
12588
|
+
/**
|
|
12589
|
+
* Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
|
|
12590
|
+
* @summary Get pool instance types
|
|
12591
|
+
* @param {number} poolId GPU pool ID
|
|
12592
|
+
* @param {*} [options] Override http request option.
|
|
12593
|
+
* @throws {RequiredError}
|
|
12594
|
+
*/
|
|
12595
|
+
getPoolInstanceTypesV1(poolId, options) {
|
|
12596
|
+
return localVarFp.getPoolInstanceTypesV1(poolId, options).then((request) => request(axios, basePath));
|
|
12597
|
+
},
|
|
12598
|
+
/**
|
|
12599
|
+
* Retrieve all available GPU pools, ordered by name. A pool serves GPU accelerators of one model from a single region. Use this endpoint to choose a pool before listing its instance types.
|
|
12600
|
+
* @summary Get pool list
|
|
12601
|
+
* @param {*} [options] Override http request option.
|
|
12602
|
+
* @throws {RequiredError}
|
|
12603
|
+
*/
|
|
12604
|
+
getPoolListV1(options) {
|
|
12605
|
+
return localVarFp.getPoolListV1(options).then((request) => request(axios, basePath));
|
|
12606
|
+
},
|
|
12607
|
+
/**
|
|
12608
|
+
* Retrieve the OS templates that can be installed on a specified GPU pool instance type. Use this endpoint to choose the `os_template_id` for a new GPU instance.
|
|
12609
|
+
* @summary Get pool OS templates
|
|
12610
|
+
* @param {number} poolId GPU pool ID
|
|
12611
|
+
* @param {number} poolInstanceId GPU pool instance type ID
|
|
12612
|
+
* @param {*} [options] Override http request option.
|
|
12613
|
+
* @throws {RequiredError}
|
|
12614
|
+
*/
|
|
12615
|
+
getPoolOSTemplatesV1(poolId, poolInstanceId, options) {
|
|
12616
|
+
return localVarFp.getPoolOSTemplatesV1(poolId, poolInstanceId, options).then((request) => request(axios, basePath));
|
|
12617
|
+
},
|
|
12618
|
+
};
|
|
12619
|
+
};
|
|
12620
|
+
exports.GPUCatalogApiFactory = GPUCatalogApiFactory;
|
|
12621
|
+
/**
|
|
12622
|
+
* GPUCatalogApi - object-oriented interface
|
|
12623
|
+
* @export
|
|
12624
|
+
* @class GPUCatalogApi
|
|
12625
|
+
* @extends {BaseAPI}
|
|
12626
|
+
*/
|
|
12627
|
+
class GPUCatalogApi extends base_1.BaseAPI {
|
|
12628
|
+
/**
|
|
12629
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
12630
|
+
* @summary Get pool groups
|
|
12631
|
+
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
12632
|
+
* @param {*} [options] Override http request option.
|
|
12633
|
+
* @throws {RequiredError}
|
|
12634
|
+
* @memberof GPUCatalogApi
|
|
12635
|
+
*/
|
|
12636
|
+
getPoolGroupsV1(currency, options) {
|
|
12637
|
+
return (0, exports.GPUCatalogApiFp)(this.configuration).getPoolGroupsV1(currency, options).then((request) => request(this.axios, this.basePath));
|
|
12638
|
+
}
|
|
12639
|
+
/**
|
|
12640
|
+
* Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
|
|
12641
|
+
* @summary Get pool instance types
|
|
12642
|
+
* @param {number} poolId GPU pool ID
|
|
12643
|
+
* @param {*} [options] Override http request option.
|
|
12644
|
+
* @throws {RequiredError}
|
|
12645
|
+
* @memberof GPUCatalogApi
|
|
12646
|
+
*/
|
|
12647
|
+
getPoolInstanceTypesV1(poolId, options) {
|
|
12648
|
+
return (0, exports.GPUCatalogApiFp)(this.configuration).getPoolInstanceTypesV1(poolId, options).then((request) => request(this.axios, this.basePath));
|
|
12649
|
+
}
|
|
12650
|
+
/**
|
|
12651
|
+
* Retrieve all available GPU pools, ordered by name. A pool serves GPU accelerators of one model from a single region. Use this endpoint to choose a pool before listing its instance types.
|
|
12652
|
+
* @summary Get pool list
|
|
12653
|
+
* @param {*} [options] Override http request option.
|
|
12654
|
+
* @throws {RequiredError}
|
|
12655
|
+
* @memberof GPUCatalogApi
|
|
12656
|
+
*/
|
|
12657
|
+
getPoolListV1(options) {
|
|
12658
|
+
return (0, exports.GPUCatalogApiFp)(this.configuration).getPoolListV1(options).then((request) => request(this.axios, this.basePath));
|
|
12659
|
+
}
|
|
12660
|
+
/**
|
|
12661
|
+
* Retrieve the OS templates that can be installed on a specified GPU pool instance type. Use this endpoint to choose the `os_template_id` for a new GPU instance.
|
|
12662
|
+
* @summary Get pool OS templates
|
|
12663
|
+
* @param {number} poolId GPU pool ID
|
|
12664
|
+
* @param {number} poolInstanceId GPU pool instance type ID
|
|
12665
|
+
* @param {*} [options] Override http request option.
|
|
12666
|
+
* @throws {RequiredError}
|
|
12667
|
+
* @memberof GPUCatalogApi
|
|
12668
|
+
*/
|
|
12669
|
+
getPoolOSTemplatesV1(poolId, poolInstanceId, options) {
|
|
12670
|
+
return (0, exports.GPUCatalogApiFp)(this.configuration).getPoolOSTemplatesV1(poolId, poolInstanceId, options).then((request) => request(this.axios, this.basePath));
|
|
12671
|
+
}
|
|
12672
|
+
}
|
|
12673
|
+
exports.GPUCatalogApi = GPUCatalogApi;
|
|
12674
|
+
/**
|
|
12675
|
+
* @export
|
|
12676
|
+
*/
|
|
12677
|
+
exports.GetPoolGroupsV1CurrencyEnum = {
|
|
12678
|
+
Usd: 'USD',
|
|
12679
|
+
Ars: 'ARS',
|
|
12680
|
+
Amd: 'AMD',
|
|
12681
|
+
Aud: 'AUD',
|
|
12682
|
+
Azn: 'AZN',
|
|
12683
|
+
Bdt: 'BDT',
|
|
12684
|
+
Brl: 'BRL',
|
|
12685
|
+
Btc: 'BTC',
|
|
12686
|
+
Byn: 'BYN',
|
|
12687
|
+
Cad: 'CAD',
|
|
12688
|
+
Chf: 'CHF',
|
|
12689
|
+
Clp: 'CLP',
|
|
12690
|
+
Cny: 'CNY',
|
|
12691
|
+
Cop: 'COP',
|
|
12692
|
+
Czk: 'CZK',
|
|
12693
|
+
Dkk: 'DKK',
|
|
12694
|
+
Egp: 'EGP',
|
|
12695
|
+
Eur: 'EUR',
|
|
12696
|
+
Gbp: 'GBP',
|
|
12697
|
+
Gel: 'GEL',
|
|
12698
|
+
Hkd: 'HKD',
|
|
12699
|
+
Hrk: 'HRK',
|
|
12700
|
+
Huf: 'HUF',
|
|
12701
|
+
Idr: 'IDR',
|
|
12702
|
+
Ils: 'ILS',
|
|
12703
|
+
Inr: 'INR',
|
|
12704
|
+
Jpy: 'JPY',
|
|
12705
|
+
Kgs: 'KGS',
|
|
12706
|
+
Krw: 'KRW',
|
|
12707
|
+
Kzt: 'KZT',
|
|
12708
|
+
Mad: 'MAD',
|
|
12709
|
+
Mxn: 'MXN',
|
|
12710
|
+
Myr: 'MYR',
|
|
12711
|
+
Ngn: 'NGN',
|
|
12712
|
+
Nok: 'NOK',
|
|
12713
|
+
Nzd: 'NZD',
|
|
12714
|
+
Pen: 'PEN',
|
|
12715
|
+
Php: 'PHP',
|
|
12716
|
+
Pkr: 'PKR',
|
|
12717
|
+
Pln: 'PLN',
|
|
12718
|
+
Sek: 'SEK',
|
|
12719
|
+
Sgd: 'SGD',
|
|
12720
|
+
Thb: 'THB',
|
|
12721
|
+
Tjs: 'TJS',
|
|
12722
|
+
Try: 'TRY',
|
|
12723
|
+
Twd: 'TWD',
|
|
12724
|
+
Uah: 'UAH',
|
|
12725
|
+
Vnd: 'VND',
|
|
12726
|
+
Zar: 'ZAR'
|
|
12727
|
+
};
|
|
12363
12728
|
/**
|
|
12364
12729
|
* HorizonsWebsitesApi - axios parameter creator
|
|
12365
12730
|
* @export
|
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.7.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.
|
|
7
|
+
* API Version: 2.7.0
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.7.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.
|
|
7
|
+
* API Version: 2.7.0
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.7.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.
|
|
7
|
+
* API Version: 2.7.0
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -16,7 +16,7 @@ class Configuration {
|
|
|
16
16
|
var _a;
|
|
17
17
|
this.accessToken = param.accessToken;
|
|
18
18
|
this.basePath = param.basePath;
|
|
19
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.7.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|