hostinger-api-sdk 0.0.13 → 0.0.17

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.
Files changed (43) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.md +36 -0
  2. package/CODEOWNERS +1 -1
  3. package/README.md +2 -2
  4. package/api.ts +701 -9
  5. package/base.ts +1 -1
  6. package/common.ts +1 -1
  7. package/configuration.ts +2 -2
  8. package/dist/api.d.ts +535 -103
  9. package/dist/api.js +488 -12
  10. package/dist/base.d.ts +1 -1
  11. package/dist/base.js +1 -1
  12. package/dist/common.d.ts +1 -1
  13. package/dist/common.js +1 -1
  14. package/dist/configuration.d.ts +1 -1
  15. package/dist/configuration.js +2 -2
  16. package/dist/esm/api.d.ts +535 -103
  17. package/dist/esm/api.js +481 -9
  18. package/dist/esm/base.d.ts +1 -1
  19. package/dist/esm/base.js +1 -1
  20. package/dist/esm/common.d.ts +1 -1
  21. package/dist/esm/common.js +1 -1
  22. package/dist/esm/configuration.d.ts +1 -1
  23. package/dist/esm/configuration.js +2 -2
  24. package/dist/esm/index.d.ts +1 -1
  25. package/dist/esm/index.js +1 -1
  26. package/dist/index.d.ts +1 -1
  27. package/dist/index.js +1 -1
  28. package/docs/BillingSubscriptionsApi.md +108 -0
  29. package/docs/ReachContactsApi.md +224 -0
  30. package/docs/ReachListContactsV1200Response.md +22 -0
  31. package/docs/ReachV1ContactsContactResource.md +34 -0
  32. package/docs/ReachV1ContactsGroupsContactGroupResource.md +22 -0
  33. package/docs/ReachV1ContactsStoreRequest.md +28 -0
  34. package/docs/VPSDockerManagerApi.md +2 -2
  35. package/docs/VPSV1BackupBackupResource.md +4 -0
  36. package/docs/VPSV1DockerManagerContainerResource.md +2 -0
  37. package/docs/VPSV1DockerManagerContentResource.md +2 -0
  38. package/docs/VPSV1DockerManagerProjectResource.md +2 -0
  39. package/docs/VPSV1SnapshotSnapshotResource.md +2 -0
  40. package/docs/VPSV1VirtualMachineDockerManagerUpRequest.md +2 -0
  41. package/docs/VPSV1VirtualMachineVirtualMachineResource.md +2 -0
  42. package/index.ts +1 -1
  43. 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: 0.0.97
7
+ * API Version: 0.1.16
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
@@ -19,9 +19,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
19
19
  });
20
20
  };
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
- 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 = exports.BillingOrdersApi = exports.BillingOrdersApiFactory = exports.BillingOrdersApiFp = exports.BillingOrdersApiAxiosParamCreator = exports.GetCatalogItemListV1CategoryEnum = exports.BillingCatalogApi = exports.BillingCatalogApiFactory = exports.BillingCatalogApiFp = exports.BillingCatalogApiAxiosParamCreator = exports.VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = exports.VPSV1VirtualMachineVirtualMachineResourceStateEnum = exports.VPSV1FirewallRulesStoreRequestSourceEnum = exports.VPSV1FirewallRulesStoreRequestProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceActionEnum = exports.VPSV1DockerManagerProjectResourceStateEnum = exports.VPSV1DockerManagerContainerResourceStateEnum = exports.VPSV1DockerManagerContainerPortResourceProtocolEnum = exports.VPSV1DockerManagerContainerPortResourceTypeEnum = exports.VPSV1ActionActionResourceStateEnum = exports.DomainsV1WHOISStoreRequestEntityTypeEnum = exports.DomainsV1WHOISProfileResourceEntityTypeEnum = exports.DomainsV1ForwardingStoreRequestRedirectTypeEnum = exports.DomainsV1ForwardingForwardingResourceRedirectTypeEnum = exports.DomainsV1DomainDomainResourceStatusEnum = exports.DomainsV1DomainDomainResourceTypeEnum = exports.DomainsV1DomainDomainExtendedResourceStatusEnum = exports.DNSV1ZoneUpdateRequestZoneInnerTypeEnum = exports.DNSV1ZoneRecordResourceTypeEnum = exports.DNSV1ZoneDestroyRequestFiltersInnerTypeEnum = exports.BillingV1SubscriptionSubscriptionResourceStatusEnum = exports.BillingV1SubscriptionCancelRequestCancelOptionEnum = exports.BillingV1SubscriptionCancelRequestReasonCodeEnum = exports.BillingV1OrderOrderResourceStatusEnum = exports.BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum = void 0;
23
- 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.DomainsWHOISApi = exports.DomainsWHOISApiFactory = exports.DomainsWHOISApiFp = exports.DomainsWHOISApiAxiosParamCreator = exports.DomainsPortfolioApi = exports.DomainsPortfolioApiFactory = exports.DomainsPortfolioApiFp = exports.DomainsPortfolioApiAxiosParamCreator = exports.DomainsForwardingApi = exports.DomainsForwardingApiFactory = exports.DomainsForwardingApiFp = exports.DomainsForwardingApiAxiosParamCreator = exports.DomainsAvailabilityApi = exports.DomainsAvailabilityApiFactory = exports.DomainsAvailabilityApiFp = exports.DomainsAvailabilityApiAxiosParamCreator = exports.DNSZoneApi = void 0;
24
- exports.VPSVirtualMachineApi = exports.VPSVirtualMachineApiFactory = exports.VPSVirtualMachineApiFp = exports.VPSVirtualMachineApiAxiosParamCreator = exports.VPSSnapshotsApi = exports.VPSSnapshotsApiFactory = exports.VPSSnapshotsApiFp = exports.VPSSnapshotsApiAxiosParamCreator = exports.VPSRecoveryApi = exports.VPSRecoveryApiFactory = exports.VPSRecoveryApiFp = exports.VPSRecoveryApiAxiosParamCreator = exports.VPSPublicKeysApi = exports.VPSPublicKeysApiFactory = exports.VPSPublicKeysApiFp = exports.VPSPublicKeysApiAxiosParamCreator = exports.VPSPostInstallScriptsApi = exports.VPSPostInstallScriptsApiFactory = exports.VPSPostInstallScriptsApiFp = void 0;
22
+ exports.DNSSnapshotApi = exports.DNSSnapshotApiFactory = exports.DNSSnapshotApiFp = exports.DNSSnapshotApiAxiosParamCreator = exports.BillingSubscriptionsApi = exports.BillingSubscriptionsApiFactory = exports.BillingSubscriptionsApiFp = exports.BillingSubscriptionsApiAxiosParamCreator = exports.BillingPaymentMethodsApi = exports.BillingPaymentMethodsApiFactory = exports.BillingPaymentMethodsApiFp = exports.BillingPaymentMethodsApiAxiosParamCreator = exports.BillingOrdersApi = exports.BillingOrdersApiFactory = exports.BillingOrdersApiFp = exports.BillingOrdersApiAxiosParamCreator = exports.GetCatalogItemListV1CategoryEnum = exports.BillingCatalogApi = exports.BillingCatalogApiFactory = exports.BillingCatalogApiFp = exports.BillingCatalogApiAxiosParamCreator = exports.VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = exports.VPSV1VirtualMachineVirtualMachineResourceStateEnum = exports.VPSV1FirewallRulesStoreRequestSourceEnum = exports.VPSV1FirewallRulesStoreRequestProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceActionEnum = exports.VPSV1DockerManagerProjectResourceStateEnum = exports.VPSV1DockerManagerContainerResourceHealthEnum = exports.VPSV1DockerManagerContainerResourceStateEnum = exports.VPSV1DockerManagerContainerPortResourceProtocolEnum = exports.VPSV1DockerManagerContainerPortResourceTypeEnum = exports.VPSV1ActionActionResourceStateEnum = exports.ReachV1ContactsContactResourceSourceEnum = exports.ReachV1ContactsContactResourceSubscriptionStatusEnum = exports.DomainsV1WHOISStoreRequestEntityTypeEnum = exports.DomainsV1WHOISProfileResourceEntityTypeEnum = exports.DomainsV1ForwardingStoreRequestRedirectTypeEnum = exports.DomainsV1ForwardingForwardingResourceRedirectTypeEnum = exports.DomainsV1DomainDomainResourceStatusEnum = exports.DomainsV1DomainDomainResourceTypeEnum = exports.DomainsV1DomainDomainExtendedResourceStatusEnum = exports.DNSV1ZoneUpdateRequestZoneInnerTypeEnum = exports.DNSV1ZoneRecordResourceTypeEnum = exports.DNSV1ZoneDestroyRequestFiltersInnerTypeEnum = exports.BillingV1SubscriptionSubscriptionResourceStatusEnum = exports.BillingV1SubscriptionCancelRequestCancelOptionEnum = exports.BillingV1SubscriptionCancelRequestReasonCodeEnum = exports.BillingV1OrderOrderResourceStatusEnum = exports.BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum = void 0;
23
+ 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.ListContactsV1SubscriptionStatusEnum = exports.ReachContactsApi = exports.ReachContactsApiFactory = exports.ReachContactsApiFp = exports.ReachContactsApiAxiosParamCreator = exports.DomainsWHOISApi = exports.DomainsWHOISApiFactory = exports.DomainsWHOISApiFp = exports.DomainsWHOISApiAxiosParamCreator = exports.DomainsPortfolioApi = exports.DomainsPortfolioApiFactory = exports.DomainsPortfolioApiFp = exports.DomainsPortfolioApiAxiosParamCreator = exports.DomainsForwardingApi = exports.DomainsForwardingApiFactory = exports.DomainsForwardingApiFp = exports.DomainsForwardingApiAxiosParamCreator = exports.DomainsAvailabilityApi = exports.DomainsAvailabilityApiFactory = exports.DomainsAvailabilityApiFp = exports.DomainsAvailabilityApiAxiosParamCreator = exports.DNSZoneApi = exports.DNSZoneApiFactory = exports.DNSZoneApiFp = exports.DNSZoneApiAxiosParamCreator = void 0;
24
+ exports.VPSVirtualMachineApi = exports.VPSVirtualMachineApiFactory = exports.VPSVirtualMachineApiFp = exports.VPSVirtualMachineApiAxiosParamCreator = exports.VPSSnapshotsApi = exports.VPSSnapshotsApiFactory = exports.VPSSnapshotsApiFp = exports.VPSSnapshotsApiAxiosParamCreator = exports.VPSRecoveryApi = exports.VPSRecoveryApiFactory = exports.VPSRecoveryApiFp = 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 = void 0;
25
25
  const axios_1 = require("axios");
26
26
  // Some imports not used depending on template conditions
27
27
  // @ts-ignore
@@ -139,6 +139,15 @@ exports.DomainsV1WHOISStoreRequestEntityTypeEnum = {
139
139
  Individual: 'individual',
140
140
  Organization: 'organization'
141
141
  };
142
+ exports.ReachV1ContactsContactResourceSubscriptionStatusEnum = {
143
+ Subscribed: 'subscribed',
144
+ Unsubscribed: 'unsubscribed'
145
+ };
146
+ exports.ReachV1ContactsContactResourceSourceEnum = {
147
+ Sync: 'sync',
148
+ Import: 'import',
149
+ Manual: 'manual'
150
+ };
142
151
  exports.VPSV1ActionActionResourceStateEnum = {
143
152
  Success: 'success',
144
153
  Error: 'error',
@@ -165,6 +174,12 @@ exports.VPSV1DockerManagerContainerResourceStateEnum = {
165
174
  Dead: 'dead',
166
175
  Stopping: 'stopping'
167
176
  };
177
+ exports.VPSV1DockerManagerContainerResourceHealthEnum = {
178
+ Starting: 'starting',
179
+ Healthy: 'healthy',
180
+ Unhealthy: 'unhealthy',
181
+ Empty: ''
182
+ };
168
183
  exports.VPSV1DockerManagerProjectResourceStateEnum = {
169
184
  Running: 'running',
170
185
  Stopped: 'stopped',
@@ -741,6 +756,70 @@ const BillingSubscriptionsApiAxiosParamCreator = function (configuration) {
741
756
  options: localVarRequestOptions,
742
757
  };
743
758
  }),
759
+ /**
760
+ * Disable auto-renewal for a subscription. Use this endpoint when disable auto-renewal for a subscription.
761
+ * @summary Disable auto-renewal
762
+ * @param {string} subscriptionId Subscription ID
763
+ * @param {*} [options] Override http request option.
764
+ * @throws {RequiredError}
765
+ */
766
+ disableAutoRenewalV1: (subscriptionId_1, ...args_1) => __awaiter(this, [subscriptionId_1, ...args_1], void 0, function* (subscriptionId, options = {}) {
767
+ // verify required parameter 'subscriptionId' is not null or undefined
768
+ (0, common_1.assertParamExists)('disableAutoRenewalV1', 'subscriptionId', subscriptionId);
769
+ const localVarPath = `/api/billing/v1/subscriptions/{subscriptionId}/auto-renewal/disable`
770
+ .replace(`{${"subscriptionId"}}`, encodeURIComponent(String(subscriptionId)));
771
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
772
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
773
+ let baseOptions;
774
+ if (configuration) {
775
+ baseOptions = configuration.baseOptions;
776
+ }
777
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
778
+ const localVarHeaderParameter = {};
779
+ const localVarQueryParameter = {};
780
+ // authentication apiToken required
781
+ // http bearer authentication required
782
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
783
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
784
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
785
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
786
+ return {
787
+ url: (0, common_1.toPathString)(localVarUrlObj),
788
+ options: localVarRequestOptions,
789
+ };
790
+ }),
791
+ /**
792
+ * Enable auto-renewal for a subscription. Use this endpoint when enable auto-renewal for a subscription.
793
+ * @summary Enable auto-renewal
794
+ * @param {string} subscriptionId Subscription ID
795
+ * @param {*} [options] Override http request option.
796
+ * @throws {RequiredError}
797
+ */
798
+ enableAutoRenewalV1: (subscriptionId_1, ...args_1) => __awaiter(this, [subscriptionId_1, ...args_1], void 0, function* (subscriptionId, options = {}) {
799
+ // verify required parameter 'subscriptionId' is not null or undefined
800
+ (0, common_1.assertParamExists)('enableAutoRenewalV1', 'subscriptionId', subscriptionId);
801
+ const localVarPath = `/api/billing/v1/subscriptions/{subscriptionId}/auto-renewal/enable`
802
+ .replace(`{${"subscriptionId"}}`, encodeURIComponent(String(subscriptionId)));
803
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
804
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
805
+ let baseOptions;
806
+ if (configuration) {
807
+ baseOptions = configuration.baseOptions;
808
+ }
809
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
810
+ const localVarHeaderParameter = {};
811
+ const localVarQueryParameter = {};
812
+ // authentication apiToken required
813
+ // http bearer authentication required
814
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
815
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
816
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
817
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
818
+ return {
819
+ url: (0, common_1.toPathString)(localVarUrlObj),
820
+ options: localVarRequestOptions,
821
+ };
822
+ }),
744
823
  /**
745
824
  * Retrieve a list of all subscriptions associated with your account. Use this endpoint to monitor active services and billing status.
746
825
  * @summary Get subscription list
@@ -795,6 +874,36 @@ const BillingSubscriptionsApiFp = function (configuration) {
795
874
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
796
875
  });
797
876
  },
877
+ /**
878
+ * Disable auto-renewal for a subscription. Use this endpoint when disable auto-renewal for a subscription.
879
+ * @summary Disable auto-renewal
880
+ * @param {string} subscriptionId Subscription ID
881
+ * @param {*} [options] Override http request option.
882
+ * @throws {RequiredError}
883
+ */
884
+ disableAutoRenewalV1(subscriptionId, options) {
885
+ return __awaiter(this, void 0, void 0, function* () {
886
+ var _a, _b;
887
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.disableAutoRenewalV1(subscriptionId, options);
888
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['BillingSubscriptionsApi.disableAutoRenewalV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
889
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
890
+ });
891
+ },
892
+ /**
893
+ * Enable auto-renewal for a subscription. Use this endpoint when enable auto-renewal for a subscription.
894
+ * @summary Enable auto-renewal
895
+ * @param {string} subscriptionId Subscription ID
896
+ * @param {*} [options] Override http request option.
897
+ * @throws {RequiredError}
898
+ */
899
+ enableAutoRenewalV1(subscriptionId, options) {
900
+ return __awaiter(this, void 0, void 0, function* () {
901
+ var _a, _b;
902
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.enableAutoRenewalV1(subscriptionId, options);
903
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['BillingSubscriptionsApi.enableAutoRenewalV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
904
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
905
+ });
906
+ },
798
907
  /**
799
908
  * Retrieve a list of all subscriptions associated with your account. Use this endpoint to monitor active services and billing status.
800
909
  * @summary Get subscription list
@@ -830,6 +939,26 @@ const BillingSubscriptionsApiFactory = function (configuration, basePath, axios)
830
939
  cancelSubscriptionV1(subscriptionId, billingV1SubscriptionCancelRequest, options) {
831
940
  return localVarFp.cancelSubscriptionV1(subscriptionId, billingV1SubscriptionCancelRequest, options).then((request) => request(axios, basePath));
832
941
  },
942
+ /**
943
+ * Disable auto-renewal for a subscription. Use this endpoint when disable auto-renewal for a subscription.
944
+ * @summary Disable auto-renewal
945
+ * @param {string} subscriptionId Subscription ID
946
+ * @param {*} [options] Override http request option.
947
+ * @throws {RequiredError}
948
+ */
949
+ disableAutoRenewalV1(subscriptionId, options) {
950
+ return localVarFp.disableAutoRenewalV1(subscriptionId, options).then((request) => request(axios, basePath));
951
+ },
952
+ /**
953
+ * Enable auto-renewal for a subscription. Use this endpoint when enable auto-renewal for a subscription.
954
+ * @summary Enable auto-renewal
955
+ * @param {string} subscriptionId Subscription ID
956
+ * @param {*} [options] Override http request option.
957
+ * @throws {RequiredError}
958
+ */
959
+ enableAutoRenewalV1(subscriptionId, options) {
960
+ return localVarFp.enableAutoRenewalV1(subscriptionId, options).then((request) => request(axios, basePath));
961
+ },
833
962
  /**
834
963
  * Retrieve a list of all subscriptions associated with your account. Use this endpoint to monitor active services and billing status.
835
964
  * @summary Get subscription list
@@ -861,6 +990,28 @@ class BillingSubscriptionsApi extends base_1.BaseAPI {
861
990
  cancelSubscriptionV1(subscriptionId, billingV1SubscriptionCancelRequest, options) {
862
991
  return (0, exports.BillingSubscriptionsApiFp)(this.configuration).cancelSubscriptionV1(subscriptionId, billingV1SubscriptionCancelRequest, options).then((request) => request(this.axios, this.basePath));
863
992
  }
993
+ /**
994
+ * Disable auto-renewal for a subscription. Use this endpoint when disable auto-renewal for a subscription.
995
+ * @summary Disable auto-renewal
996
+ * @param {string} subscriptionId Subscription ID
997
+ * @param {*} [options] Override http request option.
998
+ * @throws {RequiredError}
999
+ * @memberof BillingSubscriptionsApi
1000
+ */
1001
+ disableAutoRenewalV1(subscriptionId, options) {
1002
+ return (0, exports.BillingSubscriptionsApiFp)(this.configuration).disableAutoRenewalV1(subscriptionId, options).then((request) => request(this.axios, this.basePath));
1003
+ }
1004
+ /**
1005
+ * Enable auto-renewal for a subscription. Use this endpoint when enable auto-renewal for a subscription.
1006
+ * @summary Enable auto-renewal
1007
+ * @param {string} subscriptionId Subscription ID
1008
+ * @param {*} [options] Override http request option.
1009
+ * @throws {RequiredError}
1010
+ * @memberof BillingSubscriptionsApi
1011
+ */
1012
+ enableAutoRenewalV1(subscriptionId, options) {
1013
+ return (0, exports.BillingSubscriptionsApiFp)(this.configuration).enableAutoRenewalV1(subscriptionId, options).then((request) => request(this.axios, this.basePath));
1014
+ }
864
1015
  /**
865
1016
  * Retrieve a list of all subscriptions associated with your account. Use this endpoint to monitor active services and billing status.
866
1017
  * @summary Get subscription list
@@ -2852,6 +3003,331 @@ class DomainsWHOISApi extends base_1.BaseAPI {
2852
3003
  }
2853
3004
  }
2854
3005
  exports.DomainsWHOISApi = DomainsWHOISApi;
3006
+ /**
3007
+ * ReachContactsApi - axios parameter creator
3008
+ * @export
3009
+ */
3010
+ const ReachContactsApiAxiosParamCreator = function (configuration) {
3011
+ return {
3012
+ /**
3013
+ * Create a new contact in the email marketing system. This endpoint allows you to create a new contact with basic information like name, email, and surname. You can optionally assign the contact to specific groups and add notes. The contact will be automatically subscribed to email communications.
3014
+ * @summary Create a new contact
3015
+ * @param {ReachV1ContactsStoreRequest} reachV1ContactsStoreRequest
3016
+ * @param {*} [options] Override http request option.
3017
+ * @throws {RequiredError}
3018
+ */
3019
+ createANewContactV1: (reachV1ContactsStoreRequest_1, ...args_1) => __awaiter(this, [reachV1ContactsStoreRequest_1, ...args_1], void 0, function* (reachV1ContactsStoreRequest, options = {}) {
3020
+ // verify required parameter 'reachV1ContactsStoreRequest' is not null or undefined
3021
+ (0, common_1.assertParamExists)('createANewContactV1', 'reachV1ContactsStoreRequest', reachV1ContactsStoreRequest);
3022
+ const localVarPath = `/api/reach/v1/contacts`;
3023
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3024
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3025
+ let baseOptions;
3026
+ if (configuration) {
3027
+ baseOptions = configuration.baseOptions;
3028
+ }
3029
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3030
+ const localVarHeaderParameter = {};
3031
+ const localVarQueryParameter = {};
3032
+ // authentication apiToken required
3033
+ // http bearer authentication required
3034
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3035
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3036
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3037
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3038
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3039
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(reachV1ContactsStoreRequest, localVarRequestOptions, configuration);
3040
+ return {
3041
+ url: (0, common_1.toPathString)(localVarUrlObj),
3042
+ options: localVarRequestOptions,
3043
+ };
3044
+ }),
3045
+ /**
3046
+ * Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
3047
+ * @summary Delete a contact
3048
+ * @param {string} uuid UUID of the contact to delete
3049
+ * @param {*} [options] Override http request option.
3050
+ * @throws {RequiredError}
3051
+ */
3052
+ deleteAContactV1: (uuid_1, ...args_1) => __awaiter(this, [uuid_1, ...args_1], void 0, function* (uuid, options = {}) {
3053
+ // verify required parameter 'uuid' is not null or undefined
3054
+ (0, common_1.assertParamExists)('deleteAContactV1', 'uuid', uuid);
3055
+ const localVarPath = `/api/reach/v1/contacts/{uuid}`
3056
+ .replace(`{${"uuid"}}`, encodeURIComponent(String(uuid)));
3057
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3058
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3059
+ let baseOptions;
3060
+ if (configuration) {
3061
+ baseOptions = configuration.baseOptions;
3062
+ }
3063
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
3064
+ const localVarHeaderParameter = {};
3065
+ const localVarQueryParameter = {};
3066
+ // authentication apiToken required
3067
+ // http bearer authentication required
3068
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3069
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3070
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3071
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3072
+ return {
3073
+ url: (0, common_1.toPathString)(localVarUrlObj),
3074
+ options: localVarRequestOptions,
3075
+ };
3076
+ }),
3077
+ /**
3078
+ * Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
3079
+ * @summary List contact groups
3080
+ * @param {*} [options] Override http request option.
3081
+ * @throws {RequiredError}
3082
+ */
3083
+ listContactGroupsV1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3084
+ const localVarPath = `/api/reach/v1/contacts/groups`;
3085
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3086
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3087
+ let baseOptions;
3088
+ if (configuration) {
3089
+ baseOptions = configuration.baseOptions;
3090
+ }
3091
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3092
+ const localVarHeaderParameter = {};
3093
+ const localVarQueryParameter = {};
3094
+ // authentication apiToken required
3095
+ // http bearer authentication required
3096
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3097
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3098
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3099
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3100
+ return {
3101
+ url: (0, common_1.toPathString)(localVarUrlObj),
3102
+ options: localVarRequestOptions,
3103
+ };
3104
+ }),
3105
+ /**
3106
+ * Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status.
3107
+ * @summary List contacts
3108
+ * @param {string} [groupUuid] Filter contacts by group UUID
3109
+ * @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
3110
+ * @param {number} [page] Page number
3111
+ * @param {*} [options] Override http request option.
3112
+ * @throws {RequiredError}
3113
+ */
3114
+ listContactsV1: (groupUuid_1, subscriptionStatus_1, page_1, ...args_1) => __awaiter(this, [groupUuid_1, subscriptionStatus_1, page_1, ...args_1], void 0, function* (groupUuid, subscriptionStatus, page, options = {}) {
3115
+ const localVarPath = `/api/reach/v1/contacts`;
3116
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3117
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3118
+ let baseOptions;
3119
+ if (configuration) {
3120
+ baseOptions = configuration.baseOptions;
3121
+ }
3122
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3123
+ const localVarHeaderParameter = {};
3124
+ const localVarQueryParameter = {};
3125
+ // authentication apiToken required
3126
+ // http bearer authentication required
3127
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3128
+ if (groupUuid !== undefined) {
3129
+ localVarQueryParameter['group_uuid'] = groupUuid;
3130
+ }
3131
+ if (subscriptionStatus !== undefined) {
3132
+ localVarQueryParameter['subscription_status'] = subscriptionStatus;
3133
+ }
3134
+ if (page !== undefined) {
3135
+ localVarQueryParameter['page'] = page;
3136
+ }
3137
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3138
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3139
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3140
+ return {
3141
+ url: (0, common_1.toPathString)(localVarUrlObj),
3142
+ options: localVarRequestOptions,
3143
+ };
3144
+ }),
3145
+ };
3146
+ };
3147
+ exports.ReachContactsApiAxiosParamCreator = ReachContactsApiAxiosParamCreator;
3148
+ /**
3149
+ * ReachContactsApi - functional programming interface
3150
+ * @export
3151
+ */
3152
+ const ReachContactsApiFp = function (configuration) {
3153
+ const localVarAxiosParamCreator = (0, exports.ReachContactsApiAxiosParamCreator)(configuration);
3154
+ return {
3155
+ /**
3156
+ * Create a new contact in the email marketing system. This endpoint allows you to create a new contact with basic information like name, email, and surname. You can optionally assign the contact to specific groups and add notes. The contact will be automatically subscribed to email communications.
3157
+ * @summary Create a new contact
3158
+ * @param {ReachV1ContactsStoreRequest} reachV1ContactsStoreRequest
3159
+ * @param {*} [options] Override http request option.
3160
+ * @throws {RequiredError}
3161
+ */
3162
+ createANewContactV1(reachV1ContactsStoreRequest, options) {
3163
+ return __awaiter(this, void 0, void 0, function* () {
3164
+ var _a, _b;
3165
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createANewContactV1(reachV1ContactsStoreRequest, options);
3166
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachContactsApi.createANewContactV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
3167
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3168
+ });
3169
+ },
3170
+ /**
3171
+ * Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
3172
+ * @summary Delete a contact
3173
+ * @param {string} uuid UUID of the contact to delete
3174
+ * @param {*} [options] Override http request option.
3175
+ * @throws {RequiredError}
3176
+ */
3177
+ deleteAContactV1(uuid, options) {
3178
+ return __awaiter(this, void 0, void 0, function* () {
3179
+ var _a, _b;
3180
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAContactV1(uuid, options);
3181
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachContactsApi.deleteAContactV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
3182
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3183
+ });
3184
+ },
3185
+ /**
3186
+ * Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
3187
+ * @summary List contact groups
3188
+ * @param {*} [options] Override http request option.
3189
+ * @throws {RequiredError}
3190
+ */
3191
+ listContactGroupsV1(options) {
3192
+ return __awaiter(this, void 0, void 0, function* () {
3193
+ var _a, _b;
3194
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listContactGroupsV1(options);
3195
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachContactsApi.listContactGroupsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
3196
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3197
+ });
3198
+ },
3199
+ /**
3200
+ * Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status.
3201
+ * @summary List contacts
3202
+ * @param {string} [groupUuid] Filter contacts by group UUID
3203
+ * @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
3204
+ * @param {number} [page] Page number
3205
+ * @param {*} [options] Override http request option.
3206
+ * @throws {RequiredError}
3207
+ */
3208
+ listContactsV1(groupUuid, subscriptionStatus, page, options) {
3209
+ return __awaiter(this, void 0, void 0, function* () {
3210
+ var _a, _b;
3211
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listContactsV1(groupUuid, subscriptionStatus, page, options);
3212
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachContactsApi.listContactsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
3213
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3214
+ });
3215
+ },
3216
+ };
3217
+ };
3218
+ exports.ReachContactsApiFp = ReachContactsApiFp;
3219
+ /**
3220
+ * ReachContactsApi - factory interface
3221
+ * @export
3222
+ */
3223
+ const ReachContactsApiFactory = function (configuration, basePath, axios) {
3224
+ const localVarFp = (0, exports.ReachContactsApiFp)(configuration);
3225
+ return {
3226
+ /**
3227
+ * Create a new contact in the email marketing system. This endpoint allows you to create a new contact with basic information like name, email, and surname. You can optionally assign the contact to specific groups and add notes. The contact will be automatically subscribed to email communications.
3228
+ * @summary Create a new contact
3229
+ * @param {ReachV1ContactsStoreRequest} reachV1ContactsStoreRequest
3230
+ * @param {*} [options] Override http request option.
3231
+ * @throws {RequiredError}
3232
+ */
3233
+ createANewContactV1(reachV1ContactsStoreRequest, options) {
3234
+ return localVarFp.createANewContactV1(reachV1ContactsStoreRequest, options).then((request) => request(axios, basePath));
3235
+ },
3236
+ /**
3237
+ * Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
3238
+ * @summary Delete a contact
3239
+ * @param {string} uuid UUID of the contact to delete
3240
+ * @param {*} [options] Override http request option.
3241
+ * @throws {RequiredError}
3242
+ */
3243
+ deleteAContactV1(uuid, options) {
3244
+ return localVarFp.deleteAContactV1(uuid, options).then((request) => request(axios, basePath));
3245
+ },
3246
+ /**
3247
+ * Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
3248
+ * @summary List contact groups
3249
+ * @param {*} [options] Override http request option.
3250
+ * @throws {RequiredError}
3251
+ */
3252
+ listContactGroupsV1(options) {
3253
+ return localVarFp.listContactGroupsV1(options).then((request) => request(axios, basePath));
3254
+ },
3255
+ /**
3256
+ * Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status.
3257
+ * @summary List contacts
3258
+ * @param {string} [groupUuid] Filter contacts by group UUID
3259
+ * @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
3260
+ * @param {number} [page] Page number
3261
+ * @param {*} [options] Override http request option.
3262
+ * @throws {RequiredError}
3263
+ */
3264
+ listContactsV1(groupUuid, subscriptionStatus, page, options) {
3265
+ return localVarFp.listContactsV1(groupUuid, subscriptionStatus, page, options).then((request) => request(axios, basePath));
3266
+ },
3267
+ };
3268
+ };
3269
+ exports.ReachContactsApiFactory = ReachContactsApiFactory;
3270
+ /**
3271
+ * ReachContactsApi - object-oriented interface
3272
+ * @export
3273
+ * @class ReachContactsApi
3274
+ * @extends {BaseAPI}
3275
+ */
3276
+ class ReachContactsApi extends base_1.BaseAPI {
3277
+ /**
3278
+ * Create a new contact in the email marketing system. This endpoint allows you to create a new contact with basic information like name, email, and surname. You can optionally assign the contact to specific groups and add notes. The contact will be automatically subscribed to email communications.
3279
+ * @summary Create a new contact
3280
+ * @param {ReachV1ContactsStoreRequest} reachV1ContactsStoreRequest
3281
+ * @param {*} [options] Override http request option.
3282
+ * @throws {RequiredError}
3283
+ * @memberof ReachContactsApi
3284
+ */
3285
+ createANewContactV1(reachV1ContactsStoreRequest, options) {
3286
+ return (0, exports.ReachContactsApiFp)(this.configuration).createANewContactV1(reachV1ContactsStoreRequest, options).then((request) => request(this.axios, this.basePath));
3287
+ }
3288
+ /**
3289
+ * Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
3290
+ * @summary Delete a contact
3291
+ * @param {string} uuid UUID of the contact to delete
3292
+ * @param {*} [options] Override http request option.
3293
+ * @throws {RequiredError}
3294
+ * @memberof ReachContactsApi
3295
+ */
3296
+ deleteAContactV1(uuid, options) {
3297
+ return (0, exports.ReachContactsApiFp)(this.configuration).deleteAContactV1(uuid, options).then((request) => request(this.axios, this.basePath));
3298
+ }
3299
+ /**
3300
+ * Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
3301
+ * @summary List contact groups
3302
+ * @param {*} [options] Override http request option.
3303
+ * @throws {RequiredError}
3304
+ * @memberof ReachContactsApi
3305
+ */
3306
+ listContactGroupsV1(options) {
3307
+ return (0, exports.ReachContactsApiFp)(this.configuration).listContactGroupsV1(options).then((request) => request(this.axios, this.basePath));
3308
+ }
3309
+ /**
3310
+ * Get a list of contacts, optionally filtered by group and subscription status. This endpoint returns a paginated list of contacts with their basic information. You can filter contacts by group UUID and subscription status.
3311
+ * @summary List contacts
3312
+ * @param {string} [groupUuid] Filter contacts by group UUID
3313
+ * @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
3314
+ * @param {number} [page] Page number
3315
+ * @param {*} [options] Override http request option.
3316
+ * @throws {RequiredError}
3317
+ * @memberof ReachContactsApi
3318
+ */
3319
+ listContactsV1(groupUuid, subscriptionStatus, page, options) {
3320
+ return (0, exports.ReachContactsApiFp)(this.configuration).listContactsV1(groupUuid, subscriptionStatus, page, options).then((request) => request(this.axios, this.basePath));
3321
+ }
3322
+ }
3323
+ exports.ReachContactsApi = ReachContactsApi;
3324
+ /**
3325
+ * @export
3326
+ */
3327
+ exports.ListContactsV1SubscriptionStatusEnum = {
3328
+ Subscribed: 'subscribed',
3329
+ Unsubscribed: 'unsubscribed'
3330
+ };
2855
3331
  /**
2856
3332
  * VPSActionsApi - axios parameter creator
2857
3333
  * @export
@@ -3334,7 +3810,7 @@ exports.VPSDataCentersApi = VPSDataCentersApi;
3334
3810
  const VPSDockerManagerApiAxiosParamCreator = function (configuration) {
3335
3811
  return {
3336
3812
  /**
3337
- * Deploy new project from docker-compose.yaml contents or download contents from URL. URL can be Github repository url in format https://github.com/[user]/[repo] and it will be automatically resolved to docker-compose.yaml file in master branch. Any other URL provided must return docker-compose.yaml file contents. If project already exists, it will be replaced.
3813
+ * Deploy new project from docker-compose.yaml contents or download contents from URL. URL can be Github repository url in format https://github.com/[user]/[repo] and it will be automatically resolved to docker-compose.yaml file in master branch. Any other URL provided must return docker-compose.yaml file contents. If project with the same name already exists, existing project will be replaced.
3338
3814
  * @summary Create new project
3339
3815
  * @param {number} virtualMachineId Virtual Machine ID
3340
3816
  * @param {VPSV1VirtualMachineDockerManagerUpRequest} vPSV1VirtualMachineDockerManagerUpRequest
@@ -3479,7 +3955,7 @@ const VPSDockerManagerApiAxiosParamCreator = function (configuration) {
3479
3955
  };
3480
3956
  }),
3481
3957
  /**
3482
- * Retrieves a list of all Docker Compose projects currently deployed on the virtual machine. This endpoint returns basic information about each project including name, status, and file path. Use this to get an overview of all Docker projects on your VPS instance.
3958
+ * Retrieves a list of all Docker Compose projects currently deployed on the virtual machine. This endpoint returns basic information about each project including name, status, file path and list of containers with details about their names, image, status, health and ports. Container stats are omitted in this endpoint. If you need to get detailed information about container with stats included, use the `Get project containers` endpoint. Use this to get an overview of all Docker projects on your VPS instance.
3483
3959
  * @summary Get project list
3484
3960
  * @param {number} virtualMachineId Virtual Machine ID
3485
3961
  * @param {*} [options] Override http request option.
@@ -3701,7 +4177,7 @@ const VPSDockerManagerApiFp = function (configuration) {
3701
4177
  const localVarAxiosParamCreator = (0, exports.VPSDockerManagerApiAxiosParamCreator)(configuration);
3702
4178
  return {
3703
4179
  /**
3704
- * Deploy new project from docker-compose.yaml contents or download contents from URL. URL can be Github repository url in format https://github.com/[user]/[repo] and it will be automatically resolved to docker-compose.yaml file in master branch. Any other URL provided must return docker-compose.yaml file contents. If project already exists, it will be replaced.
4180
+ * Deploy new project from docker-compose.yaml contents or download contents from URL. URL can be Github repository url in format https://github.com/[user]/[repo] and it will be automatically resolved to docker-compose.yaml file in master branch. Any other URL provided must return docker-compose.yaml file contents. If project with the same name already exists, existing project will be replaced.
3705
4181
  * @summary Create new project
3706
4182
  * @param {number} virtualMachineId Virtual Machine ID
3707
4183
  * @param {VPSV1VirtualMachineDockerManagerUpRequest} vPSV1VirtualMachineDockerManagerUpRequest
@@ -3765,7 +4241,7 @@ const VPSDockerManagerApiFp = function (configuration) {
3765
4241
  });
3766
4242
  },
3767
4243
  /**
3768
- * Retrieves a list of all Docker Compose projects currently deployed on the virtual machine. This endpoint returns basic information about each project including name, status, and file path. Use this to get an overview of all Docker projects on your VPS instance.
4244
+ * Retrieves a list of all Docker Compose projects currently deployed on the virtual machine. This endpoint returns basic information about each project including name, status, file path and list of containers with details about their names, image, status, health and ports. Container stats are omitted in this endpoint. If you need to get detailed information about container with stats included, use the `Get project containers` endpoint. Use this to get an overview of all Docker projects on your VPS instance.
3769
4245
  * @summary Get project list
3770
4246
  * @param {number} virtualMachineId Virtual Machine ID
3771
4247
  * @param {*} [options] Override http request option.
@@ -3870,7 +4346,7 @@ const VPSDockerManagerApiFactory = function (configuration, basePath, axios) {
3870
4346
  const localVarFp = (0, exports.VPSDockerManagerApiFp)(configuration);
3871
4347
  return {
3872
4348
  /**
3873
- * Deploy new project from docker-compose.yaml contents or download contents from URL. URL can be Github repository url in format https://github.com/[user]/[repo] and it will be automatically resolved to docker-compose.yaml file in master branch. Any other URL provided must return docker-compose.yaml file contents. If project already exists, it will be replaced.
4349
+ * Deploy new project from docker-compose.yaml contents or download contents from URL. URL can be Github repository url in format https://github.com/[user]/[repo] and it will be automatically resolved to docker-compose.yaml file in master branch. Any other URL provided must return docker-compose.yaml file contents. If project with the same name already exists, existing project will be replaced.
3874
4350
  * @summary Create new project
3875
4351
  * @param {number} virtualMachineId Virtual Machine ID
3876
4352
  * @param {VPSV1VirtualMachineDockerManagerUpRequest} vPSV1VirtualMachineDockerManagerUpRequest
@@ -3914,7 +4390,7 @@ const VPSDockerManagerApiFactory = function (configuration, basePath, axios) {
3914
4390
  return localVarFp.getProjectContentsV1(virtualMachineId, projectName, options).then((request) => request(axios, basePath));
3915
4391
  },
3916
4392
  /**
3917
- * Retrieves a list of all Docker Compose projects currently deployed on the virtual machine. This endpoint returns basic information about each project including name, status, and file path. Use this to get an overview of all Docker projects on your VPS instance.
4393
+ * Retrieves a list of all Docker Compose projects currently deployed on the virtual machine. This endpoint returns basic information about each project including name, status, file path and list of containers with details about their names, image, status, health and ports. Container stats are omitted in this endpoint. If you need to get detailed information about container with stats included, use the `Get project containers` endpoint. Use this to get an overview of all Docker projects on your VPS instance.
3918
4394
  * @summary Get project list
3919
4395
  * @param {number} virtualMachineId Virtual Machine ID
3920
4396
  * @param {*} [options] Override http request option.
@@ -3989,7 +4465,7 @@ exports.VPSDockerManagerApiFactory = VPSDockerManagerApiFactory;
3989
4465
  */
3990
4466
  class VPSDockerManagerApi extends base_1.BaseAPI {
3991
4467
  /**
3992
- * Deploy new project from docker-compose.yaml contents or download contents from URL. URL can be Github repository url in format https://github.com/[user]/[repo] and it will be automatically resolved to docker-compose.yaml file in master branch. Any other URL provided must return docker-compose.yaml file contents. If project already exists, it will be replaced.
4468
+ * Deploy new project from docker-compose.yaml contents or download contents from URL. URL can be Github repository url in format https://github.com/[user]/[repo] and it will be automatically resolved to docker-compose.yaml file in master branch. Any other URL provided must return docker-compose.yaml file contents. If project with the same name already exists, existing project will be replaced.
3993
4469
  * @summary Create new project
3994
4470
  * @param {number} virtualMachineId Virtual Machine ID
3995
4471
  * @param {VPSV1VirtualMachineDockerManagerUpRequest} vPSV1VirtualMachineDockerManagerUpRequest
@@ -4037,7 +4513,7 @@ class VPSDockerManagerApi extends base_1.BaseAPI {
4037
4513
  return (0, exports.VPSDockerManagerApiFp)(this.configuration).getProjectContentsV1(virtualMachineId, projectName, options).then((request) => request(this.axios, this.basePath));
4038
4514
  }
4039
4515
  /**
4040
- * Retrieves a list of all Docker Compose projects currently deployed on the virtual machine. This endpoint returns basic information about each project including name, status, and file path. Use this to get an overview of all Docker projects on your VPS instance.
4516
+ * Retrieves a list of all Docker Compose projects currently deployed on the virtual machine. This endpoint returns basic information about each project including name, status, file path and list of containers with details about their names, image, status, health and ports. Container stats are omitted in this endpoint. If you need to get detailed information about container with stats included, use the `Get project containers` endpoint. Use this to get an overview of all Docker projects on your VPS instance.
4041
4517
  * @summary Get project list
4042
4518
  * @param {number} virtualMachineId Virtual Machine ID
4043
4519
  * @param {*} [options] Override http request option.
package/dist/base.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 0.0.97
4
+ * API Version: 0.1.16
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